@wwtdev/bsds-components-vue3 2.3.4 → 2.3.6

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,9 +1,9 @@
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";
1
+ import { computed as p, ref as y, onMounted as Y, onUnmounted as re, shallowRef as dt, watch as R, defineAsyncComponent as Re, openBlock as d, createElementBlock as h, unref as f, createElementVNode as B, renderSlot as L, createBlock as O, resolveDynamicComponent as J, createCommentVNode as k, toDisplayString as T, createVNode as V, normalizeClass as ae, Fragment as W, useAttrs as se, mergeProps as N, withCtx as D, toHandlers as Me, onBeforeUnmount as tt, onBeforeMount as at, nextTick as ce, createTextVNode as H, renderList as Z, Teleport as ut, withDirectives as Be, Transition as Ke, vShow as $e, provide as oe, inject as ie, createSlots as ct, isRef as ft, useSlots as pt } from "vue";
2
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
- import { DatePicker as kt } from "v-calendar";
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 Ye } from "awesome-phonenumber";
3
+ import { BsIconCaretDown as lt, BsIconWarning as ze, BsIconClose as Se, BsIconCalendar as ot, BsIconCaretSort as vt, BsIconSearch as ht, BsIconCaretLeftDouble as bt, BsIconCaretLeft as mt, BsIconCaretRight as gt, BsIconCaretRightDouble as yt, BsIconActionEllipsis as Bt, BsIconCircleExclamation as $t, BsIconThumbsUpStroke as St } from "@wwtdev/bsds-icons-vue3";
4
+ import { DatePicker as wt } from "v-calendar";
5
+ import { Chart as qe, BarController as kt, BarElement as It, CategoryScale as Ct, LinearScale as Tt, Legend as xt, Tooltip as At } from "chart.js";
6
+ import { getSupportedCallingCodes as Lt, getRegionCodeForCountryCode as Vt, parsePhoneNumber as Ye } from "awesome-phonenumber";
7
7
  const Qe = {
8
8
  href: "a",
9
9
  linkTo: "a",
@@ -11,111 +11,111 @@ const Qe = {
11
11
  onClick: "button",
12
12
  type: "button"
13
13
  };
14
- function ke(e, a, t = "button") {
15
- const n = Dt(e, a, t), l = v(() => {
14
+ function we(e, a, t = "button") {
15
+ const n = Et(e, a, t), l = p(() => {
16
16
  const o = n.value === "button", s = {};
17
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(() => {
18
+ }), i = p(() => {
19
19
  const o = { ...a, ...l.value };
20
20
  return delete o.href, o;
21
- }), u = v(() => e.linkTo || e.href);
22
- return { rootTag: n, attrsToBind: r, hrefUrl: u };
21
+ }), u = p(() => e.linkTo || e.href);
22
+ return { rootTag: n, attrsToBind: i, hrefUrl: u };
23
23
  }
24
- function Dt(e, a, t) {
25
- const n = Object.keys(Qe).find((l) => Ot(e, a, l));
26
- return g(Qe[n] || t);
24
+ function Et(e, a, t) {
25
+ const n = Object.keys(Qe).find((l) => Dt(e, a, l));
26
+ return y(Qe[n] || t);
27
27
  }
28
- function Ot(e, a, t) {
28
+ function Dt(e, a, t) {
29
29
  return e[t] || a[t];
30
30
  }
31
- const qt = (e, a) => {
31
+ const Ot = (e, a) => {
32
32
  const t = (n) => {
33
33
  e.some((l) => {
34
- var r;
35
- return (r = l.value) == null ? void 0 : r.contains(n.target);
34
+ var i;
35
+ return (i = l.value) == null ? void 0 : i.contains(n.target);
36
36
  }) || a(n);
37
37
  };
38
- K(() => {
38
+ Y(() => {
39
39
  document.addEventListener("click", t);
40
- }), oe(() => {
40
+ }), re(() => {
41
41
  document.removeEventListener("click", t);
42
42
  });
43
43
  };
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;
44
+ function ke(e) {
45
+ const a = p(() => e.linkTo || e.href || ""), t = p(() => {
46
+ var i, u;
47
+ return ((u = (i = a.value) == null ? void 0 : i.startsWith) == null ? void 0 : u.call(i, "/")) || !1;
48
+ }), n = p(() => {
49
+ var i, u;
50
+ return t.value && ((i = e.router) == null ? void 0 : i.navigateTo) || ((u = e.router) == null ? void 0 : u.push) || null;
51
51
  });
52
- function l(r) {
52
+ function l(i) {
53
53
  if (e.disabled) {
54
- r.preventDefault(), r.stopImmediatePropagation();
54
+ i.preventDefault(), i.stopImmediatePropagation();
55
55
  return;
56
56
  }
57
57
  if (!a.value || !n.value)
58
58
  return;
59
- r.target.closest("a").href === `${window.location.origin}${a.value}` && (r.preventDefault(), n.value(a.value));
59
+ i.target.closest("a").href === `${window.location.origin}${a.value}` && (i.preventDefault(), n.value(a.value));
60
60
  }
61
61
  return { onLinkClick: l };
62
62
  }
63
63
  function Xe(e) {
64
64
  return e.split("-").map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join("");
65
65
  }
66
- const ye = (e, a) => {
66
+ const me = (e, a) => {
67
67
  function t(l) {
68
68
  if (!l)
69
69
  return null;
70
- const r = l.startsWith("bs-") ? Xe(l) : `BsIcon${Xe(l)}`;
70
+ const i = l.startsWith("bs-") ? Xe(l) : `BsIcon${Xe(l)}`;
71
71
  return Re(async () => {
72
- const { [r]: u } = await import("@wwtdev/bsds-icons-vue3");
72
+ const { [i]: u } = await import("@wwtdev/bsds-icons-vue3");
73
73
  return u;
74
74
  });
75
75
  }
76
- const n = ut();
77
- return n.value = t(e[a]), N(() => e[a], async (l) => n.value = t(l)), { icon: n };
76
+ const n = dt();
77
+ return n.value = t(e[a]), R(() => e[a], async (l) => n.value = t(l)), { icon: n };
78
78
  };
79
- function Q(e = 1) {
79
+ function X(e = 1) {
80
80
  const a = [];
81
81
  for (let t = 0; t < e; t++)
82
- a.push(g(""));
83
- return K(() => {
82
+ a.push(y(""));
83
+ return Y(() => {
84
84
  a.forEach((t) => t.value = `id-${nt()}`);
85
85
  }), a;
86
86
  }
87
- const Ce = (e, a, t = void 0) => {
87
+ const Ie = (e, a, t = void 0) => {
88
88
  const n = (l) => {
89
89
  e.includes(l.key) && a(l);
90
90
  };
91
- K(() => {
91
+ Y(() => {
92
92
  ((t == null ? void 0 : t.value) ?? document).addEventListener("keydown", n);
93
- }), oe(() => {
93
+ }), re(() => {
94
94
  ((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", n);
95
95
  });
96
- }, Pt = (e, a, t) => {
96
+ }, qt = (e, a, t) => {
97
97
  let n = null;
98
- K(() => {
98
+ Y(() => {
99
99
  n = new MutationObserver(a), n.observe(e.value, t);
100
- }), oe(() => {
100
+ }), re(() => {
101
101
  n.disconnect();
102
102
  });
103
- }, ve = (e) => {
104
- const a = g(!1);
105
- return K(() => {
103
+ }, fe = (e) => {
104
+ const a = y(!1);
105
+ return Y(() => {
106
106
  e.enterControlled ? a.value = e.enterTrigger : a.value = e.shown;
107
- }), N(() => e.shown, (t) => {
107
+ }), R(() => e.shown, (t) => {
108
108
  a.value = t;
109
- }), N(() => e.enterTrigger, (t) => {
109
+ }), R(() => e.enterTrigger, (t) => {
110
110
  a.value = t;
111
- }), N(() => e.leaveTrigger, (t) => {
111
+ }), R(() => e.leaveTrigger, (t) => {
112
112
  t && (a.value = !1);
113
113
  }), { transition: a };
114
- }, Mt = ["id", "data-stacked"], zt = ["data-open"], Nt = ["aria-controls", "aria-expanded"], Rt = {
114
+ }, Pt = ["id", "data-stacked"], Mt = ["data-open"], zt = ["aria-controls", "aria-expanded"], Nt = {
115
115
  key: 0,
116
116
  "data-position": "start",
117
117
  style: { display: "inline-flex" }
118
- }, jt = ["id"], Ft = ["aria-labelledby", "data-open", "id"], Al = {
118
+ }, Rt = ["id"], jt = ["aria-labelledby", "data-open", "id"], Vl = {
119
119
  __name: "BsAccordion",
120
120
  props: {
121
121
  controlled: { type: Boolean, default: !1 },
@@ -132,55 +132,55 @@ const Ce = (e, a, t = void 0) => {
132
132
  },
133
133
  emits: ["toggled"],
134
134
  setup(e, { emit: a }) {
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);
135
+ const t = e, n = a, l = y(null), i = y(!1), { icon: u } = me(t, "icon"), [o] = X(), s = p(() => o.value + "-content"), r = p(() => o.value + "-title"), c = p(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), v = p(() => t.controlled ? c.value : i.value);
136
+ function w() {
137
+ n("toggled", o.value), t.controlled || (i.value = !i.value);
138
138
  }
139
- return (m, T) => (d(), b("div", {
140
- id: p(o),
139
+ return (m, x) => (d(), h("div", {
140
+ id: f(o),
141
141
  ref_key: "containerRef",
142
142
  ref: l,
143
143
  class: "bs-accordion",
144
144
  "data-component": "bs-accordion",
145
145
  "data-stacked": e.stacked
146
146
  }, [
147
- y("header", {
147
+ B("header", {
148
148
  part: "header",
149
- "data-open": f.value
149
+ "data-open": v.value
150
150
  }, [
151
- y("button", {
151
+ B("button", {
152
152
  "aria-controls": s.value,
153
- "aria-expanded": f.value,
153
+ "aria-expanded": v.value,
154
154
  type: "button",
155
- onClick: x
155
+ onClick: w
156
156
  }, [
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)
157
+ e.icon || m.$slots.icon ? (d(), h("span", Nt, [
158
+ L(m.$slots, "icon", {}, () => [
159
+ e.icon ? (d(), O(J(f(u) ? f(u) : "span"), { key: 0 })) : k("", !0)
160
160
  ])
161
- ])) : w("", !0),
162
- y("span", { id: i.value }, A(e.headerText), 9, jt),
163
- D(p(lt), {
161
+ ])) : k("", !0),
162
+ B("span", { id: r.value }, T(e.headerText), 9, Rt),
163
+ V(f(lt), {
164
164
  size: "md",
165
165
  "data-position": "end"
166
166
  })
167
- ], 8, Nt)
168
- ], 8, zt),
169
- y("div", {
170
- "aria-labelledby": i.value,
167
+ ], 8, zt)
168
+ ], 8, Mt),
169
+ B("div", {
170
+ "aria-labelledby": r.value,
171
171
  class: "bs-accordion-content",
172
- "data-open": f.value,
172
+ "data-open": v.value,
173
173
  id: s.value,
174
174
  part: "content",
175
175
  role: "region"
176
176
  }, [
177
- y("div", null, [
178
- E(m.$slots, "default")
177
+ B("div", null, [
178
+ L(m.$slots, "default")
179
179
  ])
180
- ], 8, Ft)
181
- ], 8, Mt));
180
+ ], 8, jt)
181
+ ], 8, Pt));
182
182
  }
183
- }, Ut = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], Wt = {
183
+ }, Ft = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], Ut = {
184
184
  __name: "BsBadge",
185
185
  props: {
186
186
  /** Pass value to set `data-badge-color`. */
@@ -227,19 +227,19 @@ const Ce = (e, a, t = void 0) => {
227
227
  }
228
228
  },
229
229
  setup(e) {
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 + " " : "";
230
+ const a = e, t = y(null), n = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), l = p(() => {
231
+ var s, r;
232
+ const i = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", u = n.value ? n.value + " " : "";
233
233
  if (!u && !a.dot)
234
- return r;
234
+ return i;
235
235
  const o = a.count !== 1 ? "s" : "";
236
- return `${r ? `${r}, ` : ""}${u}${a.label}${o}`;
236
+ return `${i ? `${i}, ` : ""}${u}${a.label}${o}`;
237
237
  });
238
- return (r, u) => (d(), b("span", {
238
+ return (i, u) => (d(), h("span", {
239
239
  ref_key: "hostRef",
240
240
  ref: t,
241
241
  "aria-label": l.value,
242
- class: te({ "bs-badge": e.dot || n.value }),
242
+ class: ae({ "bs-badge": e.dot || n.value }),
243
243
  "data-badge-color": e.color,
244
244
  "data-component": "bs-badge",
245
245
  "data-count": n.value,
@@ -248,43 +248,43 @@ const Ce = (e, a, t = void 0) => {
248
248
  "data-variant": e.variant,
249
249
  role: "status"
250
250
  }, [
251
- e.variant !== "notext" ? E(r.$slots, "default", { key: 0 }) : w("", !0)
252
- ], 10, Ut));
251
+ e.variant !== "notext" ? L(i.$slots, "default", { key: 0 }) : k("", !0)
252
+ ], 10, Ft));
253
253
  }
254
- }, Gt = {
254
+ }, Wt = {
255
255
  key: 0,
256
256
  role: "alert",
257
257
  class: "bs-banner"
258
- }, Ht = { class: "bs-banner-content" }, Kt = { class: "bs-banner-warning-icon" }, Ll = {
258
+ }, Gt = { class: "bs-banner-content" }, Ht = { class: "bs-banner-warning-icon" }, El = {
259
259
  __name: "BsBanner",
260
260
  emits: ["dismiss"],
261
261
  setup(e, { emit: a }) {
262
- const t = a, n = g(!1);
262
+ const t = a, n = y(!1);
263
263
  function l() {
264
264
  n.value = !0, t("dismiss");
265
265
  }
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" })
266
+ return (i, u) => n.value ? k("", !0) : (d(), h("div", Wt, [
267
+ B("div", Gt, [
268
+ B("div", Ht, [
269
+ V(f(ze), { size: "lg" })
270
270
  ]),
271
- y("p", null, [
272
- E(r.$slots, "default")
271
+ B("p", null, [
272
+ L(i.$slots, "default")
273
273
  ]),
274
- y("button", {
274
+ B("button", {
275
275
  type: "button",
276
276
  title: "Close Banner",
277
277
  onClick: l
278
278
  }, [
279
- D(p(we))
279
+ V(f(Se))
280
280
  ])
281
281
  ])
282
282
  ]));
283
283
  }
284
- }, Yt = {
284
+ }, Kt = {
285
285
  class: "bs-field-details",
286
286
  "data-component": "bs-field-details"
287
- }, Qt = ["id", "data-error"], Xt = ["data-error"], he = {
287
+ }, Yt = ["id", "data-error"], Qt = ["data-error"], pe = {
288
288
  __name: "BsFieldDetails",
289
289
  props: {
290
290
  /** The number of characters that have been entered by the user. */
@@ -304,26 +304,26 @@ const Ce = (e, a, t = void 0) => {
304
304
  hintId: String
305
305
  },
306
306
  setup(e) {
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", {
307
+ const a = e, t = p(() => a.error && a.errorMsg || a.hint);
308
+ return (n, l) => (d(), h("div", Kt, [
309
+ t.value ? (d(), h("span", {
310
310
  key: 0,
311
311
  id: e.hintId,
312
312
  class: "bs-hint",
313
313
  "data-error": e.error
314
- }, A(t.value), 9, Qt)) : w("", !0),
315
- e.charMax ? (d(), b("span", {
314
+ }, T(t.value), 9, Yt)) : k("", !0),
315
+ e.charMax ? (d(), h("span", {
316
316
  key: 1,
317
317
  "aria-description": "character count over character limit for the preceding text field",
318
318
  class: "bs-character-count",
319
319
  "data-error": a.charCount > a.charMax
320
- }, A(a.charCount || "0") + " / " + A(a.charMax), 9, Xt)) : w("", !0)
320
+ }, T(a.charCount || "0") + " / " + T(a.charMax), 9, Qt)) : k("", !0)
321
321
  ]));
322
322
  }
323
- }, Zt = ["data-disabled", "for"], Jt = /* @__PURE__ */ y("span", {
323
+ }, Xt = ["data-disabled", "for"], Zt = /* @__PURE__ */ B("span", {
324
324
  "data-required": "true",
325
325
  "aria-hidden": "true"
326
- }, " *", -1), _t = /* @__PURE__ */ y("span", { class: "visually-hidden" }, "required", -1), ae = {
326
+ }, " *", -1), Jt = /* @__PURE__ */ B("span", { class: "visually-hidden" }, "required", -1), ne = {
327
327
  __name: "BsLabel",
328
328
  props: {
329
329
  disabled: { type: Boolean, default: !1 },
@@ -332,22 +332,22 @@ const Ce = (e, a, t = void 0) => {
332
332
  required: { type: Boolean, default: !1 }
333
333
  },
334
334
  setup(e) {
335
- return (a, t) => (d(), b("label", {
336
- class: te(["bs-label", e.hide ? "visually-hidden" : ""]),
335
+ return (a, t) => (d(), h("label", {
336
+ class: ae(["bs-label", e.hide ? "visually-hidden" : ""]),
337
337
  "data-component": "bs-label",
338
338
  "data-disabled": e.disabled,
339
339
  for: e.for
340
340
  }, [
341
- y("span", null, [
342
- E(a.$slots, "default")
341
+ B("span", null, [
342
+ L(a.$slots, "default")
343
343
  ]),
344
- e.required ? (d(), b(G, { key: 0 }, [
345
- Jt,
346
- _t
347
- ], 64)) : w("", !0)
348
- ], 10, Zt));
344
+ e.required ? (d(), h(W, { key: 0 }, [
345
+ Zt,
346
+ Jt
347
+ ], 64)) : k("", !0)
348
+ ], 10, Xt));
349
349
  }
350
- }, ea = ["data-error", "id", "value"], be = {
350
+ }, _t = ["data-error", "id", "value"], ve = {
351
351
  __name: "BsInput",
352
352
  props: {
353
353
  error: {
@@ -362,21 +362,21 @@ const Ce = (e, a, t = void 0) => {
362
362
  },
363
363
  emits: ["update:modelValue"],
364
364
  setup(e, { emit: a }) {
365
- const t = e, n = a, l = ie(), r = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
365
+ const t = e, n = a, l = se(), i = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
366
366
  function u(o) {
367
367
  const s = l.type === "number" ? parseInt(o.target.value) : o.target.value;
368
368
  n("update:modelValue", s);
369
369
  }
370
- return (o, s) => (d(), b("input", z({
370
+ return (o, s) => (d(), h("input", N({
371
371
  class: "bs-input",
372
372
  "data-component": "bs-input",
373
373
  "data-error": e.error,
374
374
  id: o.$attrs.id || e.inputId,
375
375
  value: e.value || e.modelValue,
376
376
  onInput: u
377
- }, r.value), null, 16, ea));
377
+ }, i.value), null, 16, _t));
378
378
  }
379
- }, ta = ["data-disabled", "data-error", "data-variant", "data-multifocus"], Te = {
379
+ }, ea = ["data-disabled", "data-error", "data-variant", "data-multifocus"], Ce = {
380
380
  __name: "BsInputAddon",
381
381
  props: {
382
382
  disabled: { type: Boolean, default: !1 },
@@ -385,7 +385,7 @@ const Ce = (e, a, t = void 0) => {
385
385
  variant: { type: String, validator: (e) => e === "inner-bordered" }
386
386
  },
387
387
  setup(e) {
388
- return (a, t) => (d(), b("div", {
388
+ return (a, t) => (d(), h("div", {
389
389
  class: "bs-input-addon",
390
390
  "data-component": "bs-input-addon",
391
391
  "data-disabled": e.disabled,
@@ -393,10 +393,10 @@ const Ce = (e, a, t = void 0) => {
393
393
  "data-variant": e.variant,
394
394
  "data-multifocus": e.multifocus
395
395
  }, [
396
- E(a.$slots, "default")
397
- ], 8, ta));
396
+ L(a.$slots, "default")
397
+ ], 8, ea));
398
398
  }
399
- }, aa = {
399
+ }, ta = {
400
400
  __name: "BsInputDateSingle",
401
401
  props: {
402
402
  disabled: {
@@ -429,13 +429,13 @@ const Ce = (e, a, t = void 0) => {
429
429
  }
430
430
  },
431
431
  setup(e) {
432
- return (a, t) => (d(), V(Te, {
432
+ return (a, t) => (d(), O(Ce, {
433
433
  disabled: e.disabled,
434
434
  error: e.error
435
435
  }, {
436
- default: O(() => [
437
- D(p(ot)),
438
- D(be, z({
436
+ default: D(() => [
437
+ V(f(ot)),
438
+ V(ve, N({
439
439
  "data-autowidth": "",
440
440
  disabled: e.disabled,
441
441
  id: e.inputId,
@@ -451,13 +451,13 @@ const Ce = (e, a, t = void 0) => {
451
451
  function Ne(e, a, t) {
452
452
  let n;
453
453
  return function() {
454
- let l = this, r = arguments;
455
- clearTimeout(n), t && !n && e.apply(l, r), n = setTimeout(function() {
456
- n = null, t || e.apply(l, r);
454
+ let l = this, i = arguments;
455
+ clearTimeout(n), t && !n && e.apply(l, i), n = setTimeout(function() {
456
+ n = null, t || e.apply(l, i);
457
457
  }, a);
458
458
  };
459
459
  }
460
- const na = ["disabled", "id", "model-value"], la = ["disabled", "id", "model-value"], oa = {
460
+ const aa = ["disabled", "id", "model-value"], na = ["disabled", "id", "model-value"], la = {
461
461
  __name: "BsInputDateRange",
462
462
  props: {
463
463
  disabled: {
@@ -494,70 +494,70 @@ const na = ["disabled", "id", "model-value"], la = ["disabled", "id", "model-val
494
494
  },
495
495
  emits: ["ui-focusin", "ui-input"],
496
496
  setup(e, { emit: a }) {
497
- const t = a, n = g(null), l = g(null);
498
- function r(i) {
497
+ const t = a, n = y(null), l = y(null);
498
+ function i(r) {
499
499
  const c = new Event("change", { bubbles: !0, cancelable: !0 });
500
- i.dispatchEvent(c);
500
+ r.dispatchEvent(c);
501
501
  }
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);
502
+ function u(r) {
503
+ const { value: c } = r.target, [v, w] = c.split(/ to | - /);
504
+ n.value.value = v || "", l.value.value = w || "", i(n.value), i(l.value);
505
505
  }
506
506
  const o = Ne(u, 1e3);
507
- function s(i) {
508
- t("ui-input"), o(i);
507
+ function s(r) {
508
+ t("ui-input"), o(r);
509
509
  }
510
- return (i, c) => (d(), V(Te, {
510
+ return (r, c) => (d(), O(Ce, {
511
511
  disabled: e.disabled,
512
512
  error: e.error
513
513
  }, {
514
- default: O(() => [
515
- D(p(ot)),
516
- D(be, {
514
+ default: D(() => [
515
+ V(f(ot)),
516
+ V(ve, {
517
517
  "data-autowidth": "",
518
518
  disabled: e.disabled,
519
519
  id: e.inputId,
520
520
  "model-value": e.inputValueFmt,
521
521
  placeholder: e.placeholder,
522
522
  required: e.required,
523
- onFocusin: c[0] || (c[0] = (f) => i.$emit("ui-focusin")),
523
+ onFocusin: c[0] || (c[0] = (v) => r.$emit("ui-focusin")),
524
524
  onInput: s,
525
525
  onChange: u
526
526
  }, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
527
- y("input", z({
527
+ B("input", N({
528
528
  ref_key: "hiddenStart",
529
529
  ref: n,
530
530
  type: "hidden",
531
531
  disabled: e.disabled,
532
532
  id: `${e.inputId}-start`,
533
533
  "model-value": e.inputValue.start
534
- }, Me(e.listeners.start, !0)), null, 16, na),
535
- y("input", z({
534
+ }, Me(e.listeners.start, !0)), null, 16, aa),
535
+ B("input", N({
536
536
  ref_key: "hiddenEnd",
537
537
  ref: l,
538
538
  type: "hidden",
539
539
  disabled: e.disabled,
540
540
  id: `${e.inputId}-end`,
541
541
  "model-value": e.inputValue.end
542
- }, Me(e.listeners.end, !0)), null, 16, la)
542
+ }, Me(e.listeners.end, !0)), null, 16, na)
543
543
  ]),
544
544
  _: 1
545
545
  }, 8, ["disabled", "error"]));
546
546
  }
547
547
  };
548
- function ia(e) {
548
+ function oa(e) {
549
549
  var a, t;
550
550
  return ((t = (a = e == null ? void 0 : e.classList) == null ? void 0 : a.contains) == null ? void 0 : t.call(a, "vc-arrow")) && (e.classList.contains("vc-prev") || e.classList.contains("vc-next"));
551
551
  }
552
- function ra(e) {
552
+ function ia(e) {
553
553
  return e === " " || e === "Spacebar" || e === "Enter";
554
554
  }
555
555
  function Ze(e) {
556
- ia(e == null ? void 0 : e.target) && ra(e == null ? void 0 : e.key) && e.preventDefault();
556
+ oa(e == null ? void 0 : e.target) && ia(e == null ? void 0 : e.key) && e.preventDefault();
557
557
  }
558
- function sa(e) {
558
+ function ra(e) {
559
559
  let a;
560
- K(() => {
560
+ Y(() => {
561
561
  var t, n, l;
562
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
563
  }), tt(() => {
@@ -571,7 +571,7 @@ function Je(e, a, t = []) {
571
571
  n = window.matchMedia(e), n.addEventListener("change", a), a(n);
572
572
  }), tt(() => {
573
573
  n.removeEventListener("change", a), n = null;
574
- }), t.length && N(t, () => a(n));
574
+ }), t.length && R(t, () => a(n));
575
575
  }
576
576
  const je = [
577
577
  "aria-describedby",
@@ -579,7 +579,7 @@ const je = [
579
579
  "form",
580
580
  "id",
581
581
  "name"
582
- ], da = [
582
+ ], sa = [
583
583
  "aria-describedby",
584
584
  "aria-label",
585
585
  "autocomplete",
@@ -589,7 +589,7 @@ const je = [
589
589
  "multiple",
590
590
  "name",
591
591
  "size"
592
- ], ua = [
592
+ ], da = [
593
593
  "aria-describedby",
594
594
  "aria-label",
595
595
  "autocapitalize",
@@ -607,7 +607,7 @@ const je = [
607
607
  "rows",
608
608
  "spellcheck",
609
609
  "wrap"
610
- ], pe = [
610
+ ], ge = [
611
611
  "aria-describedby",
612
612
  "aria-label",
613
613
  "autocapitalize",
@@ -628,13 +628,13 @@ const je = [
628
628
  "size",
629
629
  "step"
630
630
  ];
631
- function H(e, a = []) {
631
+ function K(e, a = []) {
632
632
  const t = {}, n = {};
633
633
  return Object.keys(e).forEach((l) => {
634
634
  a.includes(l) ? t[l] = e[l] : n[l] = e[l];
635
635
  }), { filtered: t, remaining: n };
636
636
  }
637
- const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
637
+ const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
638
638
  __name: "BsCalendar",
639
639
  props: {
640
640
  disabled: {
@@ -697,7 +697,7 @@ const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Objec
697
697
  },
698
698
  emits: ["update:modelValue"],
699
699
  setup(e, { emit: a }) {
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(), [
700
+ const t = e, n = y(null), l = y(1), i = y(null), [u, o] = X(2), s = y(1), { filtered: r, remaining: c } = K(se(), [
701
701
  "attributes",
702
702
  "expanded",
703
703
  "first-day-of-week",
@@ -705,52 +705,52 @@ const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Objec
705
705
  "masks",
706
706
  "rows",
707
707
  "trim-weeks"
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(
708
+ ]), v = p(() => t.inputId || u.value), w = p(() => ({ range: t.isRange })), m = p(() => !!(t.error && t.errorMsg || t.hint)), x = p(() => t.step), S = p(() => t.variant);
709
+ ra(n), Je(
710
710
  _e,
711
- (h) => l.value = h != null && h.matches && S.value == "2-col" ? 2 : 1,
711
+ (b) => l.value = b != null && b.matches && S.value == "2-col" ? 2 : 1,
712
712
  [S]
713
713
  ), Je(
714
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($);
715
+ (b) => s.value = b != null && b.matches && S.value == "2-col" ? x.value : 1,
716
+ [x, S]
717
+ ), R(() => {
718
+ var b, z;
719
+ return (z = (b = n.value) == null ? void 0 : b.popoverRef) == null ? void 0 : z.isVisible;
720
+ }, (b) => {
721
+ b && ce(g);
722
722
  });
723
- function k(h) {
724
- return t.isRange && h.start && h.end ? `${h.start} to ${h.end}` : !t.isRange && h ? h : "";
723
+ function C(b) {
724
+ return t.isRange && b.start && b.end ? `${b.start} to ${b.end}` : !t.isRange && b ? b : "";
725
725
  }
726
- function q(h) {
727
- !t.isRange || r.value.contains(h.relatedTarget) || n.value.hidePopover();
726
+ function P(b) {
727
+ !t.isRange || i.value.contains(b.relatedTarget) || n.value.hidePopover();
728
728
  }
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");
729
+ function g() {
730
+ const b = i.value.querySelector("button.vc-prev"), z = i.value.querySelector("button.vc-next");
731
+ b && b.setAttribute("aria-label", "Previous month"), z && z.setAttribute("aria-label", "Next month");
732
732
  }
733
- return (h, C) => (d(), b("div", z({
733
+ return (b, z) => (d(), h("div", N({
734
734
  ref_key: "container",
735
- ref: r,
735
+ ref: i,
736
736
  class: "bs-calendar",
737
737
  "data-range": e.isRange,
738
- onFocusout: q
739
- }, p(c)), [
740
- e.label || h.$slots.label ? (d(), V(ae, {
738
+ onFocusout: P
739
+ }, f(c)), [
740
+ e.label || b.$slots.label ? (d(), O(ne, {
741
741
  key: 0,
742
- for: f.value,
742
+ for: v.value,
743
743
  disabled: e.disabled,
744
744
  required: e.required
745
745
  }, {
746
- default: O(() => [
747
- E(h.$slots, "label", {}, () => [
748
- W(A(e.label), 1)
746
+ default: D(() => [
747
+ L(b.$slots, "label", {}, () => [
748
+ H(T(e.label), 1)
749
749
  ])
750
750
  ]),
751
751
  _: 3
752
- }, 8, ["for", "disabled", "required"])) : w("", !0),
753
- D(p(kt), z({
752
+ }, 8, ["for", "disabled", "required"])) : k("", !0),
753
+ V(f(wt), N({
754
754
  ref_key: "calendar",
755
755
  ref: n,
756
756
  columns: l.value,
@@ -759,50 +759,50 @@ const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Objec
759
759
  "min-date": e.minDate,
760
760
  mode: "date",
761
761
  "model-value": e.modelValue,
762
- "model-modifiers": x.value,
762
+ "model-modifiers": w.value,
763
763
  popover: { visibility: "focus" },
764
764
  rows: 1,
765
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, {
766
+ "onUpdate:modelValue": z[0] || (z[0] = (I) => b.$emit("update:modelValue", I))
767
+ }, f(r)), {
768
+ default: D(({ inputValue: I, inputEvents: A, showPopover: q }) => [
769
+ e.isRange ? (d(), O(la, {
770
770
  key: 1,
771
771
  disabled: e.disabled,
772
772
  error: e.error,
773
- "hidden-end-ref": h.inputEnd,
774
- "hidden-start-ref": h.inputStart,
775
- "input-id": f.value,
773
+ "hidden-end-ref": b.inputEnd,
774
+ "hidden-start-ref": b.inputStart,
775
+ "input-id": v.value,
776
776
  "input-value": I,
777
- "input-value-fmt": k(I),
778
- listeners: P,
777
+ "input-value-fmt": C(I),
778
+ listeners: A,
779
779
  placeholder: e.placeholder,
780
780
  required: e.required,
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, {
781
+ onUiFocusin: q,
782
+ onUiInput: q
783
+ }, null, 8, ["disabled", "error", "hidden-end-ref", "hidden-start-ref", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (d(), O(ta, {
784
784
  key: 0,
785
785
  disabled: e.disabled,
786
786
  error: e.error,
787
- "input-id": f.value,
788
- listeners: P,
789
- "model-value": k(I),
787
+ "input-id": v.value,
788
+ listeners: A,
789
+ "model-value": C(I),
790
790
  placeholder: e.placeholder,
791
791
  required: e.required
792
792
  }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
793
793
  ]),
794
794
  _: 1
795
795
  }, 16, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
796
- m.value ? (d(), V(he, {
796
+ m.value ? (d(), O(pe, {
797
797
  key: 1,
798
798
  error: e.error,
799
799
  "error-msg": e.errorMsg,
800
800
  hint: e.hint,
801
- "hint-id": p(o)
802
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : w("", !0)
803
- ], 16, ca));
801
+ "hint-id": f(o)
802
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : k("", !0)
803
+ ], 16, ua));
804
804
  }
805
- }), fa = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
805
+ }), ca = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
806
806
  __name: "BsButton",
807
807
  props: {
808
808
  variant: { type: String },
@@ -816,23 +816,23 @@ const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Objec
816
816
  size: { type: String, validator: (e) => ["sm", "xs", "xxs"].includes(e) }
817
817
  },
818
818
  setup(e) {
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({
819
+ const a = e, t = se(), { rootTag: n, attrsToBind: l, hrefUrl: i } = we(a, t), { onLinkClick: u } = ke(a);
820
+ return (o, s) => (d(), O(J(f(n)), N({
821
821
  class: "bs-button",
822
822
  "data-component": "bs-button",
823
823
  "data-ghost": e.ghostBtn,
824
824
  "data-size": e.size,
825
825
  "data-text": e.textBtn,
826
826
  "data-variant": e.variant,
827
- ".href": p(r)
828
- }, p(l), { onClick: p(u) }), {
829
- default: O(() => [
830
- E(o.$slots, "default")
827
+ ".href": f(i)
828
+ }, f(l), { onClick: f(u) }), {
829
+ default: D(() => [
830
+ L(o.$slots, "default")
831
831
  ]),
832
832
  _: 3
833
833
  }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
834
834
  }
835
- }), pa = { "data-component": "bs-chart-table" }, va = ["summary"], ha = ["colspan"], ba = /* @__PURE__ */ y("th", { scope: "col" }, " Dataset ", -1), ma = { scope: "row" }, ga = {
835
+ }), fa = { "data-component": "bs-chart-table" }, pa = ["summary"], va = ["colspan"], ha = /* @__PURE__ */ B("th", { scope: "col" }, " Dataset ", -1), ba = { scope: "row" }, ma = {
836
836
  __name: "BsChartTable",
837
837
  props: {
838
838
  data: {
@@ -851,37 +851,37 @@ const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Objec
851
851
  setup(e) {
852
852
  return (a, t) => {
853
853
  var n;
854
- return d(), b("div", pa, [
855
- y("table", { summary: e.tableTitle }, [
856
- y("thead", null, [
857
- y("tr", null, [
858
- y("th", {
854
+ return d(), h("div", fa, [
855
+ B("table", { summary: e.tableTitle }, [
856
+ B("thead", null, [
857
+ B("tr", null, [
858
+ B("th", {
859
859
  colspan: ((n = e.dataIdxLabels) == null ? void 0 : n.length) + 1
860
- }, A(e.tableTitle), 9, ha)
860
+ }, T(e.tableTitle), 9, va)
861
861
  ]),
862
- y("tr", null, [
863
- ba,
864
- (d(!0), b(G, null, Z(e.dataIdxLabels, (l) => (d(), b("th", {
862
+ B("tr", null, [
863
+ ha,
864
+ (d(!0), h(W, null, Z(e.dataIdxLabels, (l) => (d(), h("th", {
865
865
  key: l,
866
866
  scope: "col"
867
- }, A(l), 1))), 128))
867
+ }, T(l), 1))), 128))
868
868
  ])
869
869
  ]),
870
- y("tbody", null, [
871
- (d(!0), b(G, null, Z(e.data, (l) => (d(), b("tr", {
870
+ B("tbody", null, [
871
+ (d(!0), h(W, null, Z(e.data, (l) => (d(), h("tr", {
872
872
  key: l.label
873
873
  }, [
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))
874
+ B("th", ba, T(l.label), 1),
875
+ (d(!0), h(W, null, Z(l.data, (i, u) => (d(), h("td", {
876
+ key: `${i}${u}`
877
+ }, T(i), 1))), 128))
878
878
  ]))), 128))
879
879
  ])
880
- ], 8, va)
880
+ ], 8, pa)
881
881
  ]);
882
882
  };
883
883
  }
884
- }, ya = (e) => ({
884
+ }, ga = (e) => ({
885
885
  id: "htmlLegend",
886
886
  afterUpdate(a) {
887
887
  e.innerHTML = "", e.style.setProperty("--legend-padding", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((n) => {
@@ -890,13 +890,13 @@ const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Objec
890
890
  const { type: s } = a.config._config;
891
891
  s === "pie" || s === "doughnut" ? a.toggleDataVisibility(n.index) : a.setDatasetVisibility(n.datasetIndex, !a.isDatasetVisible(n.datasetIndex)), a.update();
892
892
  };
893
- const r = document.createElement("span");
894
- r.style.setProperty("--item-box-fill", n.fillStyle), r.style.setProperty("--item-box-stroke", n.strokeStyle);
893
+ const i = document.createElement("span");
894
+ i.style.setProperty("--item-box-fill", n.fillStyle), i.style.setProperty("--item-box-stroke", n.strokeStyle);
895
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);
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(i), l.appendChild(o), e.appendChild(l);
897
897
  });
898
898
  }
899
- }), Ba = ({ type: e, datasets: a, labels: t, tooltips: n }) => ({
899
+ }), ya = ({ type: e, datasets: a, labels: t, tooltips: n }) => ({
900
900
  type: e,
901
901
  data: {
902
902
  datasets: a,
@@ -915,7 +915,7 @@ const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Objec
915
915
  responsive: !0
916
916
  }
917
917
  });
918
- function $a(e) {
918
+ function Ba(e) {
919
919
  const a = [
920
920
  "rgba(209, 26, 111, 1)",
921
921
  "rgba(130, 18, 196, 1)",
@@ -928,10 +928,10 @@ function $a(e) {
928
928
  ], t = a[e % a.length];
929
929
  return e >= a.length ? t.replace("1)", "0.5)") : t;
930
930
  }
931
- const Sa = {
931
+ const $a = {
932
932
  class: "bs-chart-bar",
933
933
  "data-component": "bs-chart-bar"
934
- }, wa = ["aria-label"], ka = ["data-hidden"], El = {
934
+ }, Sa = ["aria-label"], wa = ["data-hidden"], Ol = {
935
935
  __name: "BsChartBar",
936
936
  props: {
937
937
  chartTitle: {
@@ -985,16 +985,16 @@ const Sa = {
985
985
  }
986
986
  },
987
987
  setup(e) {
988
- const a = e, t = g(null), n = g(null);
988
+ const a = e, t = y(null), n = y(null);
989
989
  let l;
990
- const r = v(() => {
990
+ const i = p(() => {
991
991
  const c = {
992
992
  datasets: u.value,
993
993
  labels: a.dataIdxLabels,
994
994
  type: "bar",
995
995
  tooltips: a.showTooltips
996
- }, f = Ba(c);
997
- return f.plugins = [ya(n.value)], f.options.scales = {
996
+ }, v = ya(c);
997
+ return v.plugins = [ga(n.value)], v.options.scales = {
998
998
  x: {
999
999
  grid: {
1000
1000
  display: a.showXGrid
@@ -1015,47 +1015,47 @@ const Sa = {
1015
1015
  text: a.yLabel
1016
1016
  }
1017
1017
  }
1018
- }, f;
1019
- }), u = v(() => a.data.map((c, f) => ({
1018
+ }, v;
1019
+ }), u = p(() => a.data.map((c, v) => ({
1020
1020
  ...c,
1021
- backgroundColor: $a(f),
1021
+ backgroundColor: Ba(v),
1022
1022
  categoryPercentage: a.data.length > 1 ? 0.5 : 0.33
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() {
1026
- l && (l.data = r.value.data, l.update());
1023
+ }))), o = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`), s = Ne(function(c, v) {
1024
+ !l || c === v || (l.options = i.value.options, l.update());
1025
+ }, 100), r = Ne(function() {
1026
+ l && (l.data = i.value.data, l.update());
1027
1027
  }, 100);
1028
- return K(() => {
1029
- qe.register(It, Ct, Tt, xt, At, Lt), qe.defaults.font.family = "'Roobert', sans-serif", l = new qe(t.value, r.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", {
1028
+ return Y(() => {
1029
+ qe.register(kt, It, Ct, Tt, xt, At), qe.defaults.font.family = "'Roobert', sans-serif", l = new qe(t.value, i.value);
1030
+ }), R(() => a.showLegend, s), R(() => a.showTooltips, s), R(() => a.showXGrid, s), R(() => a.showYGrid, s), R(() => a.stacked, s), R(() => a.xLabel, s), R(() => a.yLabel, s), R(() => a.data, r), R(() => a.dataIdxLabels, r), (c, v) => (d(), h("div", $a, [
1031
+ B("figure", null, [
1032
+ B("div", null, [
1033
+ B("canvas", {
1034
1034
  "aria-label": o.value,
1035
1035
  ref_key: "canvas",
1036
1036
  ref: t,
1037
1037
  role: "img"
1038
- }, null, 8, wa)
1038
+ }, null, 8, Sa)
1039
1039
  ]),
1040
- y("div", null, [
1041
- D(ga, {
1040
+ B("div", null, [
1041
+ V(ma, {
1042
1042
  data: e.data,
1043
1043
  "data-idx-labels": e.dataIdxLabels,
1044
1044
  "table-title": o.value
1045
1045
  }, null, 8, ["data", "data-idx-labels", "table-title"]),
1046
- y("figcaption", {
1046
+ B("figcaption", {
1047
1047
  "data-hidden": !e.showLegend
1048
1048
  }, [
1049
- y("ul", {
1049
+ B("ul", {
1050
1050
  ref_key: "legendList",
1051
1051
  ref: n
1052
1052
  }, null, 512)
1053
- ], 8, ka)
1053
+ ], 8, wa)
1054
1054
  ])
1055
1055
  ])
1056
1056
  ]));
1057
1057
  }
1058
- }, Ia = ["data-size"], Ca = ["checked", "data-error", "disabled", "id", "required", "value"], Dl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1058
+ }, ka = ["data-size"], Ia = ["checked", "data-error", "disabled", "id", "required", "value"], ql = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1059
1059
  __name: "BsCheckbox",
1060
1060
  props: {
1061
1061
  /** Sets the label. */
@@ -1118,54 +1118,54 @@ const Sa = {
1118
1118
  },
1119
1119
  emits: ["update:modelValue"],
1120
1120
  setup(e, { emit: a }) {
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);
1121
+ const t = e, n = a, [l] = X(), i = p(() => je.concat(t.passAttrs.split(","))), u = y(null), o = p(() => t.inputId || l.value), s = p(() => t.checked || v.value), r = p(() => t.indeterminate || t.checkedPartially), c = p(() => Array.isArray(t.modelValue) && t.value), v = p(() => c.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1122
+ function w() {
1123
+ u.value && (u.value.indeterminate = r.value && !s.value);
1124
1124
  }
1125
- function m(k) {
1126
- n("update:modelValue", k);
1125
+ function m(C) {
1126
+ n("update:modelValue", C);
1127
1127
  }
1128
- function T(k) {
1129
- const q = [...t.modelValue];
1130
- k ? q.push(t.value) : q.splice(q.indexOf(t.value), 1), n("update:modelValue", q);
1128
+ function x(C) {
1129
+ const P = [...t.modelValue];
1130
+ C ? P.push(t.value) : P.splice(P.indexOf(t.value), 1), n("update:modelValue", P);
1131
1131
  }
1132
- function S(k) {
1133
- const { checked: q } = k.target;
1134
- c.value ? T(q) : m(q);
1132
+ function S(C) {
1133
+ const { checked: P } = C.target;
1134
+ c.value ? x(P) : m(P);
1135
1135
  }
1136
- return N(s, x), N(i, x), K(x), (k, q) => (d(), b("div", z({
1136
+ return R(s, w), R(r, w), Y(w), (C, P) => (d(), h("div", N({
1137
1137
  class: "bs-boolean",
1138
1138
  "data-component": "bs-checkbox",
1139
1139
  "data-size": e.size
1140
- }, p(H)(k.$attrs, r.value).remaining), [
1141
- y("input", z({
1140
+ }, f(K)(C.$attrs, i.value).remaining), [
1141
+ B("input", N({
1142
1142
  ref_key: "inputEl",
1143
1143
  ref: u,
1144
1144
  checked: s.value,
1145
1145
  "data-error": e.error,
1146
1146
  disabled: e.disabled,
1147
- id: k.$attrs.id || o.value,
1147
+ id: C.$attrs.id || o.value,
1148
1148
  required: e.required,
1149
1149
  value: e.value || "on",
1150
1150
  type: "checkbox",
1151
1151
  onChange: S
1152
- }, p(H)(k.$attrs, r.value).filtered), null, 16, Ca),
1153
- e.label || k.$slots.label ? (d(), V(ae, {
1152
+ }, f(K)(C.$attrs, i.value).filtered), null, 16, Ia),
1153
+ e.label || C.$slots.label ? (d(), O(ne, {
1154
1154
  key: 0,
1155
- for: k.$attrs.id || o.value,
1155
+ for: C.$attrs.id || o.value,
1156
1156
  disabled: e.disabled,
1157
1157
  required: e.required
1158
1158
  }, {
1159
- default: O(() => [
1160
- E(k.$slots, "label", {}, () => [
1161
- W(A(e.label), 1)
1159
+ default: D(() => [
1160
+ L(C.$slots, "label", {}, () => [
1161
+ H(T(e.label), 1)
1162
1162
  ])
1163
1163
  ]),
1164
1164
  _: 3
1165
- }, 8, ["for", "disabled", "required"])) : w("", !0)
1166
- ], 16, Ia));
1165
+ }, 8, ["for", "disabled", "required"])) : k("", !0)
1166
+ ], 16, ka));
1167
1167
  }
1168
- }), Ta = { key: 0 }, xa = { class: "bs-circle-button-icon" }, Aa = { key: 1 }, Ol = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1168
+ }), Ca = { key: 0 }, Ta = { class: "bs-circle-button-icon" }, xa = { key: 1 }, Pl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1169
1169
  __name: "BsCircleButton",
1170
1170
  props: {
1171
1171
  disabled: {
@@ -1211,32 +1211,73 @@ const Sa = {
1211
1211
  }
1212
1212
  },
1213
1213
  setup(e) {
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(() => {
1214
+ const a = e, t = se(), { rootTag: n, attrsToBind: l, hrefUrl: i } = we(a, t), { icon: u } = me(a, "icon"), { onLinkClick: o } = ke(a), s = p(() => a.textBtn ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = p(() => {
1215
1215
  if (a.hoverEffect)
1216
1216
  return a.iconPosition;
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({
1217
+ }), c = p(() => a.textBtn && a.iconPosition !== "left"), v = p(() => a.textBtn && a.iconPosition === "left");
1218
+ return (w, m) => (d(), O(J(f(n)), N({
1219
1219
  class: "bs-circle-button",
1220
1220
  "data-disabled": e.disabled,
1221
- "data-direction": i.value,
1221
+ "data-direction": r.value,
1222
1222
  "data-ghost": e.ghostBtn,
1223
1223
  "data-size": e.size,
1224
1224
  "data-text": e.textBtn,
1225
- ".href": p(r)
1226
- }, { ...p(l), ...s.value }, { onClick: p(o) }), {
1227
- default: O(() => [
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
+ ".href": f(i)
1226
+ }, { ...f(l), ...s.value }, { onClick: f(o) }), {
1227
+ default: D(() => [
1228
+ c.value ? (d(), h("span", Ca, T(e.label), 1)) : k("", !0),
1229
+ B("span", Ta, [
1230
+ L(w.$slots, "icon", {}, () => [
1231
+ (d(), O(J(f(u)), { size: e.size }, null, 8, ["size"]))
1232
1232
  ])
1233
1233
  ]),
1234
- f.value ? (d(), b("span", Aa, A(e.label), 1)) : w("", !0)
1234
+ v.value ? (d(), h("span", xa, T(e.label), 1)) : k("", !0)
1235
1235
  ]),
1236
1236
  _: 3
1237
1237
  }, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", ".href", "onClick"]));
1238
1238
  }
1239
- }), xe = {
1239
+ }), Aa = {
1240
+ __name: "BsDropdownContainer",
1241
+ props: {
1242
+ breakout: {
1243
+ type: Boolean,
1244
+ default: !1
1245
+ },
1246
+ breakoutMounted: {
1247
+ type: Boolean,
1248
+ default: !1
1249
+ },
1250
+ breakoutStub: {
1251
+ type: Object,
1252
+ default: null
1253
+ },
1254
+ containerId: {
1255
+ type: String,
1256
+ default: void 0
1257
+ }
1258
+ },
1259
+ setup(e, { expose: a }) {
1260
+ const t = y(null);
1261
+ return a({ internalContainerRef: t }), (n, l) => (d(), h(W, null, [
1262
+ e.breakout && e.breakoutMounted ? (d(), O(ut, {
1263
+ key: 0,
1264
+ to: e.breakoutStub
1265
+ }, [
1266
+ L(n.$slots, "default")
1267
+ ], 8, ["to"])) : k("", !0),
1268
+ e.breakout ? k("", !0) : (d(), h(W, { key: 1 }, [
1269
+ e.containerId ? L(n.$slots, "default", { key: 0 }) : (d(), h("div", {
1270
+ key: 1,
1271
+ ref_key: "internalContainerRef",
1272
+ ref: t,
1273
+ style: { position: "relative" }
1274
+ }, [
1275
+ L(n.$slots, "default")
1276
+ ], 512))
1277
+ ], 64))
1278
+ ], 64));
1279
+ }
1280
+ }, Te = {
1240
1281
  __name: "BsTransition",
1241
1282
  props: {
1242
1283
  shown: {
@@ -1279,82 +1320,82 @@ const Sa = {
1279
1320
  "leave-cancelled"
1280
1321
  ],
1281
1322
  setup(e, { emit: a }) {
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;
1323
+ const t = e, n = a, l = [], i = t.preloaded && t.shown;
1324
+ function u(r, c) {
1325
+ const { duration: v, enterClass: w, enterAttribute: m } = t;
1285
1326
  l.push(setTimeout(() => {
1286
- x && i.classList.add(x), m && i.setAttribute(m, ""), l.push(setTimeout(() => {
1327
+ w && r.classList.add(w), m && r.setAttribute(m, ""), l.push(setTimeout(() => {
1287
1328
  c();
1288
- }, f)), n("enter", i);
1329
+ }, v)), n("enter", r);
1289
1330
  }));
1290
1331
  }
1291
- function o(i, c) {
1332
+ function o(r, c) {
1292
1333
  const {
1293
- duration: f,
1294
- enterClass: x,
1334
+ duration: v,
1335
+ enterClass: w,
1295
1336
  enterAttribute: m,
1296
- leaveClass: T,
1337
+ leaveClass: x,
1297
1338
  leaveAttribute: S
1298
1339
  } = t;
1299
- i.classList.remove(x), i.removeAttribute(m), T && i.classList.add(T), S && i.setAttribute(S, ""), l.push(setTimeout(() => {
1340
+ r.classList.remove(w), r.removeAttribute(m), x && r.classList.add(x), S && r.setAttribute(S, ""), l.push(setTimeout(() => {
1300
1341
  c();
1301
- }, f)), n("leave", i);
1342
+ }, v)), n("leave", r);
1302
1343
  }
1303
- function s(i) {
1304
- const { leaveClass: c, leaveAttribute: f } = t;
1305
- i.classList.remove(c), i.removeAttribute(f), n("after-leave", i);
1344
+ function s(r) {
1345
+ const { leaveClass: c, leaveAttribute: v } = t;
1346
+ r.classList.remove(c), r.removeAttribute(v), n("after-leave", r);
1306
1347
  }
1307
- return oe(() => {
1308
- l.forEach((i) => {
1309
- clearTimeout(i);
1348
+ return re(() => {
1349
+ l.forEach((r) => {
1350
+ clearTimeout(r);
1310
1351
  });
1311
- }), (i, c) => e.preloaded ? $e((d(), V(Ke, {
1352
+ }), (r, c) => e.preloaded ? Be((d(), O(Ke, {
1312
1353
  key: 0,
1313
- appear: p(r),
1354
+ appear: f(i),
1314
1355
  css: !1,
1315
- onBeforeEnter: c[0] || (c[0] = (f) => n("before-enter", f)),
1356
+ onBeforeEnter: c[0] || (c[0] = (v) => n("before-enter", v)),
1316
1357
  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)),
1358
+ onAfterEnter: c[1] || (c[1] = (v) => n("after-enter", v)),
1359
+ onEnterCancelled: c[2] || (c[2] = (v) => n("enter-cancelled", v)),
1360
+ onBeforeLeave: c[3] || (c[3] = (v) => n("before-leave", v)),
1320
1361
  onLeave: o,
1321
1362
  onAfterLeave: s,
1322
- onLeaveCancelled: c[4] || (c[4] = (f) => n("leave-cancelled", f))
1363
+ onLeaveCancelled: c[4] || (c[4] = (v) => n("leave-cancelled", v))
1323
1364
  }, {
1324
- default: O(() => [
1325
- E(i.$slots, "default")
1365
+ default: D(() => [
1366
+ L(r.$slots, "default")
1326
1367
  ]),
1327
1368
  _: 3
1328
1369
  }, 8, ["appear"])), [
1329
- [Se, e.shown]
1330
- ]) : (d(), V(Ke, {
1370
+ [$e, e.shown]
1371
+ ]) : (d(), O(Ke, {
1331
1372
  key: 1,
1332
1373
  appear: !0,
1333
1374
  css: !1,
1334
- onBeforeEnter: c[5] || (c[5] = (f) => n("before-enter", f)),
1375
+ onBeforeEnter: c[5] || (c[5] = (v) => n("before-enter", v)),
1335
1376
  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)),
1377
+ onAfterEnter: c[6] || (c[6] = (v) => n("after-enter", v)),
1378
+ onEnterCancelled: c[7] || (c[7] = (v) => n("enter-cancelled", v)),
1379
+ onBeforeLeave: c[8] || (c[8] = (v) => n("before-leave", v)),
1339
1380
  onLeave: o,
1340
1381
  onAfterLeave: s,
1341
- onLeaveCancelled: c[9] || (c[9] = (f) => n("leave-cancelled", f))
1382
+ onLeaveCancelled: c[9] || (c[9] = (v) => n("leave-cancelled", v))
1342
1383
  }, {
1343
- default: O(() => [
1344
- e.shown ? E(i.$slots, "default", { key: 0 }) : w("", !0)
1384
+ default: D(() => [
1385
+ e.shown ? L(r.$slots, "default", { key: 0 }) : k("", !0)
1345
1386
  ]),
1346
1387
  _: 3
1347
1388
  }));
1348
1389
  }
1349
1390
  }, La = (e, a = void 0, t = "relative") => {
1350
- const n = g(null), l = g(null), r = g(!1);
1391
+ const n = y(null), l = y(null), i = y(!1);
1351
1392
  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);
1354
- }), oe(() => {
1393
+ return Y(() => {
1394
+ 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)), i.value = !0);
1395
+ }), re(() => {
1355
1396
  var o;
1356
1397
  e && !u && ((o = document.getElementById(n.value)) == null || o.remove());
1357
- }), { breakoutId: n, breakoutStub: l, breakoutMounted: r };
1398
+ }), { breakoutId: n, breakoutStub: l, breakoutMounted: i };
1358
1399
  }, Va = {
1359
1400
  key: 0,
1360
1401
  class: "bs-dropdown-backdrop"
@@ -1411,106 +1452,108 @@ const Sa = {
1411
1452
  "after-leave"
1412
1453
  ],
1413
1454
  setup(e, { emit: a }) {
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);
1455
+ const t = e, n = a, l = y(null), i = y(null), u = y(!1), o = y(!1), s = p(() => document.getElementById(t.anchorId)), r = p(() => t.breakout ? v.value : t.containerId ? document.getElementById(t.containerId) : l.value.internalContainerRef), c = p(() => t.width === "anchor" ? void 0 : t.width);
1456
+ Ot([i, s], () => {
1457
+ o.value && n("close");
1458
+ }), Ie(["Escape"], () => {
1459
+ o.value && n("close");
1460
+ });
1461
+ const { breakoutStub: v, breakoutMounted: w } = La(t.breakout, t.containerId);
1462
+ oe("dropdownEnter", u), oe("dropdownAfterEnter", o), oe("dropdownShown", p(() => t.shown));
1463
+ const m = (I, A) => {
1464
+ i.value.style.setProperty(I, A);
1422
1465
  };
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);
1466
+ function x() {
1467
+ const I = r.value.getBoundingClientRect(), A = s.value.getBoundingClientRect(), q = i.value.getBoundingClientRect();
1468
+ S(I, A), C(I, A, q);
1426
1469
  }
1427
- function S(I, P) {
1470
+ function S(I, A) {
1428
1471
  if (t.position === "top") {
1429
- const F = I.bottom - P.bottom;
1430
- m("--dropdown-wscreen-top", "auto"), m("--dropdown-wscreen-bottom", `${F + P.height + 8}px`);
1472
+ const q = I.bottom - A.bottom;
1473
+ m("--dropdown-wscreen-top", "auto"), m("--dropdown-wscreen-bottom", `${q + A.height + 8}px`);
1431
1474
  } else {
1432
- const F = P.top - I.top;
1433
- m("--dropdown-wscreen-top", `${F + P.height + 8}px`), m("--dropdown-wscreen-bottom", "auto");
1475
+ const q = A.top - I.top;
1476
+ m("--dropdown-wscreen-top", `${q + A.height + 8}px`), m("--dropdown-wscreen-bottom", "auto");
1434
1477
  }
1435
1478
  }
1436
- function k(I, P, F) {
1479
+ function C(I, A, q) {
1437
1480
  if (t.width !== "anchor") {
1438
- const ne = P.left - I.left;
1481
+ const F = A.left - I.left;
1439
1482
  if (t.position === "center") {
1440
- const X = (P.width - F.width) / 2;
1441
- m("--dropdown-wscreen-left", `${ne + X}px`), m("--dropdown-wscreen-right", "auto");
1483
+ const _ = (A.width - q.width) / 2;
1484
+ m("--dropdown-wscreen-left", `${F + _}px`), m("--dropdown-wscreen-right", "auto");
1442
1485
  } else if (t.position === "right") {
1443
- const X = I.right - P.right;
1444
- m("--dropdown-wscreen-left", "auto"), m("--dropdown-wscreen-right", `${X}px`);
1486
+ const _ = I.right - A.right;
1487
+ m("--dropdown-wscreen-left", "auto"), m("--dropdown-wscreen-right", `${_}px`);
1445
1488
  } else
1446
- m("--dropdown-wscreen-left", `${ne}px`), m("--dropdown-wscreen-right", "auto");
1489
+ m("--dropdown-wscreen-left", `${F}px`), m("--dropdown-wscreen-right", "auto");
1447
1490
  }
1448
1491
  }
1449
- function q() {
1492
+ function P() {
1450
1493
  if (t.width === "anchor") {
1451
- const I = o.value.getBoundingClientRect();
1494
+ const I = s.value.getBoundingClientRect();
1452
1495
  m("--dropdown-wscreen-width", `${I.width}px`);
1453
1496
  } else
1454
1497
  m("--dropdown-wscreen-width", "");
1455
1498
  }
1456
- function $() {
1457
- T(), q(), n("enter");
1499
+ function g() {
1500
+ u.value = !0, x(), P(), n("enter");
1458
1501
  }
1459
- function h() {
1460
- u.value = !0, n("after-enter");
1502
+ function b() {
1503
+ o.value = !0, n("after-enter");
1461
1504
  }
1462
- function C() {
1463
- u.value = !1, n("after-leave");
1505
+ function z() {
1506
+ u.value = !1, o.value = !1, n("after-leave");
1464
1507
  }
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, {
1468
- key: 1,
1469
- disabled: !e.breakout,
1470
- to: e.breakout ? p(f) : void 0
1471
- }, [
1472
- y("div", {
1473
- ref_key: "containerRef",
1474
- ref: l,
1475
- style: ft(e.breakout || e.containerId ? void 0 : { position: "relative" })
1476
- }, [
1477
- D(xe, {
1508
+ return (I, A) => (d(), h(W, null, [
1509
+ e.useMobileStyle && e.shown ? (d(), h("div", Va)) : k("", !0),
1510
+ V(Aa, {
1511
+ ref_key: "dropdownContainerRef",
1512
+ ref: l,
1513
+ breakout: e.breakout,
1514
+ breakoutMounted: f(w),
1515
+ breakoutStub: f(v),
1516
+ containerId: e.containerId
1517
+ }, {
1518
+ default: D(() => [
1519
+ V(Te, {
1478
1520
  shown: e.shown,
1479
1521
  preloaded: e.preloaded,
1480
1522
  duration: 75,
1481
1523
  "enter-attribute": "data-shown",
1482
- onAfterEnter: h,
1483
- onEnter: $,
1484
- onAfterLeave: C
1524
+ onAfterEnter: b,
1525
+ onEnter: g,
1526
+ onAfterLeave: z
1485
1527
  }, {
1486
- default: O(() => [
1487
- y("div", z({
1528
+ default: D(() => [
1529
+ B("div", N({
1488
1530
  ref_key: "dropdownRef",
1489
- ref: r,
1531
+ ref: i,
1490
1532
  class: "bs-dropdown",
1491
1533
  "data-width": c.value,
1492
1534
  "data-no-mobile": !e.useMobileStyle
1493
1535
  }, 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)
1536
+ e.helperText ? (d(), h("header", Da, [
1537
+ B("div", null, [
1538
+ B("h3", null, T(e.helperText), 1),
1539
+ e.helperDescription ? (d(), h("p", Oa, T(e.helperDescription), 1)) : k("", !0)
1498
1540
  ]),
1499
- y("button", {
1541
+ B("button", {
1500
1542
  type: "button",
1501
1543
  title: "close",
1502
- onClick: P[0] || (P[0] = () => n("close"))
1544
+ onClick: A[0] || (A[0] = () => n("close"))
1503
1545
  }, [
1504
- D(p(we))
1546
+ V(f(Se))
1505
1547
  ])
1506
- ])) : w("", !0),
1507
- E(I.$slots, "default")
1548
+ ])) : k("", !0),
1549
+ L(I.$slots, "default")
1508
1550
  ], 16, Ea)
1509
1551
  ]),
1510
1552
  _: 3
1511
1553
  }, 8, ["shown", "preloaded"])
1512
- ], 4)
1513
- ], 8, ["disabled", "to"])) : w("", !0)
1554
+ ]),
1555
+ _: 3
1556
+ }, 8, ["breakout", "breakoutMounted", "breakoutStub", "containerId"])
1514
1557
  ], 64));
1515
1558
  }
1516
1559
  }), it = {
@@ -1603,8 +1646,8 @@ const Sa = {
1603
1646
  "after-leave"
1604
1647
  ],
1605
1648
  setup(e, { emit: a }) {
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, {
1649
+ const t = e, n = a, { transition: l } = fe(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), u = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId);
1650
+ return (s, r) => (d(), O(qa, {
1608
1651
  "anchor-id": o.value,
1609
1652
  breakout: e.breakout,
1610
1653
  "container-id": e.containerId,
@@ -1612,21 +1655,21 @@ const Sa = {
1612
1655
  "helper-text": e.helperText,
1613
1656
  position: u.value,
1614
1657
  preloaded: e.preloaded,
1615
- shown: p(l),
1658
+ shown: f(l),
1616
1659
  "use-mobile-style": e.useMobileStyle,
1617
- width: r.value,
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"))
1660
+ width: i.value,
1661
+ onClose: r[0] || (r[0] = () => n("close")),
1662
+ onEnter: r[1] || (r[1] = () => n("enter")),
1663
+ onAfterEnter: r[2] || (r[2] = () => n("after-enter")),
1664
+ onAfterLeave: r[3] || (r[3] = () => n("after-leave"))
1622
1665
  }, {
1623
- default: O(() => [
1624
- E(s.$slots, "default")
1666
+ default: D(() => [
1667
+ L(s.$slots, "default")
1625
1668
  ]),
1626
1669
  _: 3
1627
1670
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
1628
1671
  }
1629
- }, Pa = ["aria-activedescendant", "aria-label", "id"], Fe = {
1672
+ }, Pa = ["aria-activedescendant", "aria-label", "data-overflow", "id"], Fe = {
1630
1673
  __name: "BsDropdownOptionList",
1631
1674
  props: {
1632
1675
  optionsId: {
@@ -1662,104 +1705,113 @@ const Sa = {
1662
1705
  },
1663
1706
  emits: ["optselected", "update:modelValue", "close"],
1664
1707
  setup(e, { expose: a, emit: t }) {
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);
1669
- }), oe(() => {
1670
- document.removeEventListener("keydown", k);
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() {
1708
+ const n = e, l = t, i = y(null), u = y(null), o = y(-1), s = y(null), r = y(!1), c = ie("dropdownEnter", !1), v = ie("dropdownAfterEnter", !1), w = ie("dropdownShown", !1);
1709
+ let m = -1;
1710
+ oe("handleSelect", z), oe("optionsId", p(() => n.optionsId)), Y(() => {
1711
+ S(), C(), document.addEventListener("keydown", g);
1712
+ }), re(() => {
1713
+ document.removeEventListener("keydown", g);
1714
+ }), R(
1715
+ [c, () => {
1716
+ var I;
1717
+ return (I = s.value) == null ? void 0 : I.length;
1718
+ }],
1719
+ ([I, A]) => {
1720
+ (I || A > 0) && (r.value = i.value.scrollHeight > i.value.clientHeight);
1721
+ }
1722
+ ), R(v, (I) => {
1723
+ var A, q;
1724
+ I && m > -1 && (n.focusOnShow ? (A = s.value[m]) == null || A.focus() : (q = s.value[m]) == null || q.scrollIntoView({ block: "nearest" }));
1725
+ }), R(w, C);
1726
+ const x = p(() => n.modelValue || n.selectedValue);
1727
+ function S() {
1677
1728
  s.value = Array.from(
1678
- r.value.querySelectorAll('[data-component="bs-dropdown-option"]')
1729
+ i.value.querySelectorAll('[data-component="bs-dropdown-option"]')
1679
1730
  );
1680
1731
  }
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");
1732
+ function C() {
1733
+ var I, A;
1734
+ w.value && !n.multiselect ? (m = s.value.findIndex(
1735
+ (q) => q.getAttribute("data-value") === String(x.value)
1736
+ ), s.value.forEach((q) => {
1737
+ var F;
1738
+ return (F = q == null ? void 0 : q.setAttribute) == null ? void 0 : F.call(q, "aria-selected", "false");
1739
+ }), m > -1 && ((I = s.value[m]) == null || I.setAttribute("data-selected", ""), (A = s.value[m]) == null || A.setAttribute("aria-selected", "true"), o.value = m)) : (s.value.forEach((q) => {
1740
+ var F;
1741
+ return (F = q == null ? void 0 : q.removeAttribute) == null ? void 0 : F.call(q, "data-selected");
1742
+ }), s.value.forEach((q) => {
1743
+ var F;
1744
+ return (F = q == null ? void 0 : q.removeAttribute) == null ? void 0 : F.call(q, "aria-selected");
1694
1745
  }));
1695
1746
  }
1696
- Pt(
1697
- r,
1747
+ qt(
1748
+ i,
1698
1749
  () => {
1699
- m();
1750
+ S();
1700
1751
  },
1701
1752
  { childList: !0 }
1702
1753
  );
1703
- function S() {
1704
- var h;
1705
- o.value > -1 && ((h = s.value[o.value]) == null || h.blur());
1754
+ function P() {
1755
+ var I;
1756
+ o.value > -1 && ((I = s.value[o.value]) == null || I.blur());
1706
1757
  }
1707
- function k(h) {
1708
- if (c.value)
1709
- switch (h.key) {
1758
+ function g(I) {
1759
+ if (w.value)
1760
+ switch (I.key) {
1710
1761
  case "ArrowDown":
1711
- q("down"), h.preventDefault();
1762
+ b("down"), I.preventDefault();
1712
1763
  break;
1713
1764
  case "ArrowUp":
1714
- q("up"), h.preventDefault();
1765
+ b("up"), I.preventDefault();
1715
1766
  break;
1716
1767
  case "Home":
1717
- q("home"), h.preventDefault();
1768
+ b("home"), I.preventDefault();
1718
1769
  break;
1719
1770
  case "End":
1720
- q("end"), h.preventDefault();
1771
+ b("end"), I.preventDefault();
1721
1772
  break;
1722
1773
  case "Tab":
1723
- o.value = f, n.preventTab && h.preventDefault();
1774
+ o.value = m, n.preventTab && I.preventDefault();
1724
1775
  break;
1725
1776
  }
1726
1777
  }
1727
- function q(h) {
1728
- let C;
1729
- switch (h) {
1778
+ function b(I) {
1779
+ let A;
1780
+ switch (I) {
1730
1781
  case "up":
1731
- C = o.value - 1 < 0 ? s.value.length - 1 : o.value - 1;
1782
+ A = o.value - 1 < 0 ? s.value.length - 1 : o.value - 1;
1732
1783
  break;
1733
1784
  case "down":
1734
- C = (o.value + 1) % s.value.length;
1785
+ A = (o.value + 1) % s.value.length;
1735
1786
  break;
1736
1787
  case "home":
1737
- C = 0;
1788
+ A = 0;
1738
1789
  break;
1739
1790
  case "end":
1740
- C = s.value.length - 1;
1791
+ A = s.value.length - 1;
1741
1792
  break;
1742
1793
  }
1743
- S(), s.value[C].focus(), u.value = s.value[C].id, o.value = C;
1794
+ P(), s.value[A].focus(), u.value = s.value[A].id, o.value = A;
1744
1795
  }
1745
- function $(h, C) {
1746
- u.value = h, S(), l("optselected", C), l("update:modelValue", C), l("close");
1796
+ function z(I, A) {
1797
+ u.value = I, P(), l("optselected", A), l("update:modelValue", A), l("close");
1747
1798
  }
1748
1799
  return a({
1749
1800
  activeDescendantId: u,
1750
1801
  focusedIndex: o,
1751
1802
  optionEls: s,
1752
- refreshOptions: m
1753
- }), (h, C) => (d(), b("ul", {
1803
+ refreshOptions: S
1804
+ }), (I, A) => (d(), h("ul", {
1754
1805
  ref_key: "optionsRef",
1755
- ref: r,
1806
+ ref: i,
1756
1807
  "aria-activedescendant": u.value || void 0,
1757
1808
  "aria-label": e.label,
1758
1809
  class: "bs-dropdown-options",
1810
+ "data-overflow": r.value,
1759
1811
  id: e.optionsId,
1760
1812
  role: "listbox"
1761
1813
  }, [
1762
- E(h.$slots, "default")
1814
+ L(I.$slots, "default")
1763
1815
  ], 8, Pa));
1764
1816
  }
1765
1817
  }, Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1778,27 +1830,27 @@ const Sa = {
1778
1830
  }
1779
1831
  },
1780
1832
  setup(e) {
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) => {
1833
+ const a = e, t = y(null), n = ie("optionsId", ""), l = ie("handleSelect", () => {
1834
+ }), i = p(() => `${n.value}-option-${a.value}`);
1835
+ Ie([" ", "Enter", "NumpadEnter"], (o) => {
1784
1836
  u(), o.preventDefault();
1785
1837
  }, t);
1786
1838
  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);
1839
+ var s, r;
1840
+ l(i.value, a.value), (s = t.value.querySelector("a")) == null || s.click(), (r = o == null ? void 0 : o.stopPropagation) == null || r.call(o);
1789
1841
  }
1790
- return (o, s) => (d(), b("li", {
1842
+ return (o, s) => (d(), h("li", {
1791
1843
  ref_key: "optionRef",
1792
1844
  ref: t,
1793
1845
  "data-component": "bs-dropdown-option",
1794
1846
  "data-value": a.value,
1795
1847
  "data-variant": e.variant || void 0,
1796
- id: r.value,
1848
+ id: i.value,
1797
1849
  role: "option",
1798
1850
  tabIndex: -1,
1799
1851
  onClick: u
1800
1852
  }, [
1801
- E(o.$slots, "default")
1853
+ L(o.$slots, "default")
1802
1854
  ], 8, za));
1803
1855
  }
1804
1856
  }, Na = ["data-img-size", "data-initials", "data-no-img"], Ra = ["src", "alt"], rt = {
@@ -1820,25 +1872,26 @@ const Sa = {
1820
1872
  }
1821
1873
  },
1822
1874
  setup(e) {
1823
- const a = e, t = g(!1), n = g(!!a.src);
1824
- return K(() => t.value = !0), (l, r) => (d(), b("div", {
1875
+ const a = e, t = y(!1), n = y(!!a.src);
1876
+ return Y(() => t.value = !0), (l, i) => (d(), h("div", {
1825
1877
  class: "bs-profile-img",
1826
1878
  "data-img-size": e.size,
1827
1879
  "data-initials": e.initials,
1828
1880
  "data-no-img": !n.value
1829
1881
  }, [
1830
- n.value && t.value ? (d(), b("img", {
1882
+ n.value && t.value ? (d(), h("img", {
1831
1883
  key: 0,
1832
1884
  src: e.src,
1833
1885
  alt: e.useAltText ? e.profileName : "",
1834
- onError: r[0] || (r[0] = (u) => n.value = !1)
1835
- }, null, 40, Ra)) : w("", !0)
1886
+ onError: i[0] || (i[0] = (u) => n.value = !1)
1887
+ }, null, 40, Ra)) : k("", !0)
1836
1888
  ], 8, Na));
1837
1889
  }
1838
1890
  }, ja = ["id", "data-checked"], Fa = { key: 1 }, Ua = ["innerHTML"], Wa = { key: 4 }, Ga = { key: 5 }, Ha = {
1839
1891
  key: 0,
1892
+ role: "option",
1840
1893
  "data-no-hover": ""
1841
- }, Be = {
1894
+ }, ye = {
1842
1895
  __name: "BsDropdownOptionBuilder",
1843
1896
  props: {
1844
1897
  // Array of objects with the following properties (either label or labelHtml
@@ -1873,20 +1926,20 @@ const Sa = {
1873
1926
  const a = e, t = {};
1874
1927
  at(() => {
1875
1928
  n();
1876
- }), N(() => a.options, () => {
1929
+ }), R(() => a.options, () => {
1877
1930
  n();
1878
1931
  });
1879
1932
  function n() {
1880
1933
  a.options.forEach((o) => {
1881
1934
  const { icon: s } = o;
1882
- s && !t[s] && (t[s] = r(s));
1935
+ s && !t[s] && (t[s] = i(s));
1883
1936
  });
1884
1937
  }
1885
1938
  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;
1939
+ let s = "", r = 1;
1940
+ return r += o.checkbox ? 1 : 0, r += o.icon ? 1 : 0, r += o.profileImg ? 1 : 0, r > 1 && (s += ` ${r}-col`), o.checkbox && (s += " checkbox"), o.description && (s += " description"), o.negative && (s += " negative"), s;
1888
1941
  }
1889
- function r(o) {
1942
+ function i(o) {
1890
1943
  return Re(async () => {
1891
1944
  const { [`BsIcon${o}`]: s } = await import("@wwtdev/bsds-icons-vue3");
1892
1945
  return s;
@@ -1895,48 +1948,48 @@ const Sa = {
1895
1948
  function u(o, s) {
1896
1949
  return !!o && o !== s;
1897
1950
  }
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)
1951
+ return (o, s) => (d(), h(W, null, [
1952
+ (d(!0), h(W, null, Z(e.options, (r) => (d(), O(Ue, {
1953
+ "aria-checked": r.checkbox ? r.checkbox.checked : void 0,
1954
+ key: r.value,
1955
+ value: r.value,
1956
+ variant: l(r)
1904
1957
  }, {
1905
- default: O(() => [
1906
- i.checkbox ? (d(), b("span", {
1958
+ default: D(() => [
1959
+ r.checkbox ? (d(), h("span", {
1907
1960
  key: 0,
1908
- id: i.checkbox.inputId,
1961
+ id: r.checkbox.inputId,
1909
1962
  "aria-hidden": "true",
1910
1963
  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])))
1915
- ])) : w("", !0),
1916
- i.profileImg ? (d(), V(rt, {
1964
+ "data-checked": r.checkbox.checked
1965
+ }, null, 8, ja)) : k("", !0),
1966
+ r.icon ? (d(), h("span", Fa, [
1967
+ (d(), O(J(t[r.icon])))
1968
+ ])) : k("", !0),
1969
+ r.profileImg ? (d(), O(rt, {
1917
1970
  key: 2,
1918
- src: i.profileImg.src,
1971
+ src: r.profileImg.src,
1919
1972
  size: "xs",
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", {
1973
+ initials: r.profileImg.initials,
1974
+ "profile-name": r.profileImg.profileName,
1975
+ "use-alt-text": u(r.profileImg.profileName, r.label)
1976
+ }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : k("", !0),
1977
+ r.labelHtml ? (d(), h("span", {
1925
1978
  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)
1979
+ innerHTML: r.labelHtml
1980
+ }, null, 8, Ua)) : (d(), h("span", Wa, T(r.label), 1)),
1981
+ r.description ? (d(), h("span", Ga, T(r.description), 1)) : k("", !0)
1929
1982
  ]),
1930
1983
  _: 2
1931
1984
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
1932
- e.showNoOptions && e.options.length === 0 ? (d(), b("li", Ha, [
1933
- E(o.$slots, "no-options", {}, () => [
1934
- W("No options")
1985
+ e.showNoOptions && e.options.length === 0 ? (d(), h("li", Ha, [
1986
+ L(o.$slots, "no-options", {}, () => [
1987
+ H("No options")
1935
1988
  ])
1936
- ])) : w("", !0)
1989
+ ])) : k("", !0)
1937
1990
  ], 64));
1938
1991
  }
1939
- }, Ka = { role: "separator" }, Ya = /* @__PURE__ */ y("hr", null, null, -1), Qa = [
1992
+ }, Ka = { role: "separator" }, Ya = /* @__PURE__ */ B("hr", null, null, -1), Qa = [
1940
1993
  Ya
1941
1994
  ], Xa = {
1942
1995
  __name: "BsDropdownMultiselect",
@@ -1964,51 +2017,51 @@ const Sa = {
1964
2017
  },
1965
2018
  emits: ["update:selectedOptions"],
1966
2019
  setup(e, { emit: a }) {
1967
- const t = e, n = a, l = g(null), r = g([]), u = g([]);
2020
+ const t = e, n = a, l = y(null), i = y([]), u = y([]);
1968
2021
  let o = !1;
1969
- N(
2022
+ R(
1970
2023
  () => t.selectedOptions,
1971
2024
  c,
1972
2025
  { immediate: !0 }
1973
- ), N(() => t.shown, (m) => {
1974
- m && fe(s);
2026
+ ), R(() => t.shown, (m) => {
2027
+ m && ce(s);
1975
2028
  });
1976
2029
  function s() {
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);
2030
+ var x, S;
2031
+ l.value && (l.value.refreshOptions(), l.value.activeDescendantId = (x = l.value.optionEls[0]) == null ? void 0 : x.id, l.value.focusedIndex = 0);
1979
2032
  const m = document.querySelector(`#${t.optionsId} [data-component="bs-dropdown-option"]`);
1980
2033
  (S = m == null ? void 0 : m.focus) == null || S.call(m, { preventScroll: !0 });
1981
2034
  }
1982
- function i() {
2035
+ function r() {
1983
2036
  var m;
1984
2037
  if (l.value) {
1985
2038
  l.value.refreshOptions();
1986
- const T = l.value.focusedIndex, S = l.value.optionEls[T];
2039
+ const x = l.value.focusedIndex, S = l.value.optionEls[x];
1987
2040
  (m = S == null ? void 0 : S.focus) == null || m.call(S), l.value.activeDescendantId = S == null ? void 0 : S.id;
1988
2041
  }
1989
2042
  }
1990
2043
  function c(m = []) {
1991
- const T = new Set(m), S = [], k = [];
1992
- t.options.forEach((q) => {
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;
2044
+ const x = new Set(m), S = [], C = [];
2045
+ t.options.forEach((P) => {
2046
+ const g = { ...P }, b = `${t.optionsId}-${P.value}-cb`;
2047
+ x.has(P.value) ? (g.checkbox = { inputId: b, checked: !0 }, S.push(g)) : (g.checkbox = { inputId: b, checked: !1 }, C.push(g));
2048
+ }), i.value = S, ce(() => {
2049
+ u.value = C, ce(() => {
2050
+ o && r(), o = !1;
1998
2051
  });
1999
2052
  });
2000
2053
  }
2001
- function f(m = []) {
2002
- const T = new Set(m), S = [];
2003
- return t.options.forEach((k) => {
2004
- T.has(k.value) && S.push(k.value);
2054
+ function v(m = []) {
2055
+ const x = new Set(m), S = [];
2056
+ return t.options.forEach((C) => {
2057
+ x.has(C.value) && S.push(C.value);
2005
2058
  }), S;
2006
2059
  }
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);
2060
+ function w(m) {
2061
+ const x = t.selectedOptions.includes(m) ? t.selectedOptions.filter((S) => S !== m) : v([...t.selectedOptions, m]);
2062
+ o = !0, n("update:selectedOptions", x);
2010
2063
  }
2011
- return (m, T) => (d(), V(Fe, {
2064
+ return (m, x) => (d(), O(Fe, {
2012
2065
  ref_key: "optlist",
2013
2066
  ref: l,
2014
2067
  "aria-multiselectable": "true",
@@ -2017,19 +2070,19 @@ const Sa = {
2017
2070
  multiselect: "",
2018
2071
  "options-id": e.optionsId,
2019
2072
  shown: e.shown,
2020
- "onUpdate:modelValue": x
2073
+ "onUpdate:modelValue": w
2021
2074
  }, {
2022
- default: O(() => {
2075
+ default: D(() => {
2023
2076
  var S;
2024
2077
  return [
2025
- D(Be, {
2026
- options: r.value,
2078
+ V(ye, {
2079
+ options: i.value,
2027
2080
  "show-no-options": !1
2028
2081
  }, null, 8, ["options"]),
2029
- $e(y("li", Ka, Qa, 512), [
2030
- [Se, (S = r.value) == null ? void 0 : S.length]
2082
+ Be(B("li", Ka, Qa, 512), [
2083
+ [$e, (S = i.value) == null ? void 0 : S.length]
2031
2084
  ]),
2032
- D(Be, {
2085
+ V(ye, {
2033
2086
  options: u.value,
2034
2087
  "show-no-options": !1
2035
2088
  }, null, 8, ["options"])
@@ -2116,17 +2169,17 @@ const Sa = {
2116
2169
  "after-leave"
2117
2170
  ],
2118
2171
  setup(e, { emit: a }) {
2119
- const t = a, n = g(!1);
2172
+ const t = a, n = y(!1);
2120
2173
  function l() {
2121
2174
  n.value = !0;
2122
2175
  }
2123
- function r(o) {
2176
+ function i(o) {
2124
2177
  n.value = !1, t("update:modelValue", o), t("close");
2125
2178
  }
2126
2179
  function u() {
2127
2180
  n.value && (n.value = !1, t("close"));
2128
2181
  }
2129
- return (o, s) => (d(), V(p(it), {
2182
+ return (o, s) => (d(), O(f(it), {
2130
2183
  "anchor-id": e.anchorId,
2131
2184
  breakout: e.breakout,
2132
2185
  "container-id": e.containerId,
@@ -2138,22 +2191,22 @@ const Sa = {
2138
2191
  "use-mobile-style": e.useMobileStyle,
2139
2192
  width: e.width,
2140
2193
  onClose: u,
2141
- onAfterEnter: s[0] || (s[0] = (i) => t("after-enter")),
2194
+ onAfterEnter: s[0] || (s[0] = (r) => t("after-enter")),
2142
2195
  onEnter: l,
2143
- onAfterLeave: s[1] || (s[1] = (i) => t("after-leave"))
2196
+ onAfterLeave: s[1] || (s[1] = (r) => t("after-leave"))
2144
2197
  }, {
2145
- default: O(() => [
2146
- D(p(Fe), {
2198
+ default: D(() => [
2199
+ V(f(Fe), {
2147
2200
  "focus-on-show": e.focusOnShow,
2148
2201
  label: e.label,
2149
2202
  "model-value": e.modelValue,
2150
2203
  "options-id": e.optionsId,
2151
2204
  "prevent-tab": e.preventTab,
2152
- "onUpdate:modelValue": r,
2205
+ "onUpdate:modelValue": i,
2153
2206
  onClose: u
2154
2207
  }, {
2155
- default: O(() => [
2156
- E(o.$slots, "default")
2208
+ default: D(() => [
2209
+ L(o.$slots, "default")
2157
2210
  ]),
2158
2211
  _: 3
2159
2212
  }, 8, ["focus-on-show", "label", "model-value", "options-id", "prevent-tab"])
@@ -2279,11 +2332,11 @@ const Sa = {
2279
2332
  "after-leave"
2280
2333
  ],
2281
2334
  setup(e, { emit: a }) {
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) {
2335
+ const t = e, n = a, { transition: l } = fe(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), u = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId), s = p(() => t.selectedValue || t.modelValue);
2336
+ function r(c) {
2284
2337
  n("optselected", c), n("update:modelValue", c);
2285
2338
  }
2286
- return (c, f) => (d(), V(Ja, {
2339
+ return (c, v) => (d(), O(Ja, {
2287
2340
  "anchor-id": o.value,
2288
2341
  breakout: e.breakout,
2289
2342
  "container-id": e.containerId,
@@ -2296,16 +2349,16 @@ const Sa = {
2296
2349
  position: u.value,
2297
2350
  preloaded: e.preloaded,
2298
2351
  "prevent-tab": e.preventTab,
2299
- shown: p(l),
2352
+ shown: f(l),
2300
2353
  "use-mobile-style": e.useMobileStyle,
2301
- width: r.value,
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
2354
+ width: i.value,
2355
+ onClose: v[0] || (v[0] = (w) => n("close")),
2356
+ onAfterEnter: v[1] || (v[1] = (w) => n("after-enter")),
2357
+ onAfterLeave: v[2] || (v[2] = (w) => n("after-leave")),
2358
+ "onUpdate:modelValue": r
2306
2359
  }, {
2307
- default: O(() => [
2308
- E(c.$slots, "default")
2360
+ default: D(() => [
2361
+ L(c.$slots, "default")
2309
2362
  ]),
2310
2363
  _: 3
2311
2364
  }, 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"]));
@@ -2339,8 +2392,8 @@ const Sa = {
2339
2392
  }
2340
2393
  },
2341
2394
  setup(e) {
2342
- const a = e, t = v(() => a.badgeCount > 0);
2343
- return (n, l) => (d(), b("button", {
2395
+ const a = e, t = p(() => a.badgeCount > 0);
2396
+ return (n, l) => (d(), h("button", {
2344
2397
  class: "bs-filter-button",
2345
2398
  "aria-controls": e.optionsId,
2346
2399
  "aria-expanded": e.open,
@@ -2350,21 +2403,21 @@ const Sa = {
2350
2403
  disabled: e.disabled,
2351
2404
  type: "button"
2352
2405
  }, [
2353
- t.value ? (d(), V(Wt, {
2406
+ t.value ? (d(), O(Ut, {
2354
2407
  key: 0,
2355
2408
  color: "blue",
2356
2409
  count: e.badgeCount,
2357
2410
  label: "active filter",
2358
2411
  position: "left",
2359
2412
  variant: "notext"
2360
- }, null, 8, ["count"])) : w("", !0),
2361
- E(n.$slots, "label", {}, () => [
2362
- W(A(e.label), 1)
2413
+ }, null, 8, ["count"])) : k("", !0),
2414
+ L(n.$slots, "label", {}, () => [
2415
+ H(T(e.label), 1)
2363
2416
  ]),
2364
- D(p(lt))
2417
+ V(f(lt))
2365
2418
  ], 8, _a));
2366
2419
  }
2367
- }, tn = ["id"], ql = {
2420
+ }, tn = ["id"], Ml = {
2368
2421
  __name: "BsDropdownWithToggle",
2369
2422
  props: {
2370
2423
  breakout: {
@@ -2427,51 +2480,51 @@ const Sa = {
2427
2480
  },
2428
2481
  emits: ["update:selectedOptions", "update:selectedOption", "toggled", "close"],
2429
2482
  setup(e, { emit: a }) {
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();
2483
+ const t = e, n = a, l = y(!1), i = y(null), u = p(() => Re(async () => await (t.multiselect ? Promise.resolve().then(() => Za) : Promise.resolve().then(() => Ma)))), [o, s] = X(2);
2484
+ R(l, (x) => {
2485
+ x && i.value.$el.blur();
2433
2486
  });
2434
- function i() {
2435
- l.value = !1, n("close"), r.value.$el.focus();
2487
+ function r() {
2488
+ l.value = !1, n("close"), i.value.$el.focus();
2436
2489
  }
2437
2490
  function c() {
2438
- l.value && i();
2491
+ l.value && r();
2439
2492
  }
2440
- function f() {
2493
+ function v() {
2441
2494
  l.value = !0;
2442
2495
  }
2443
- function x(T) {
2444
- n("update:selectedOptions", T);
2496
+ function w(x) {
2497
+ n("update:selectedOptions", x);
2445
2498
  }
2446
- function m(T) {
2447
- t.multiselect || (n("update:selectedOption", T), i());
2499
+ function m(x) {
2500
+ t.multiselect || (n("update:selectedOption", x), r());
2448
2501
  }
2449
- return (T, S) => (d(), b("div", {
2502
+ return (x, S) => (d(), h("div", {
2450
2503
  class: "bs-dropdown-with-toggle",
2451
- id: T.$attrs.id
2504
+ id: x.$attrs.id
2452
2505
  }, [
2453
- D(en, {
2506
+ V(en, {
2454
2507
  ref_key: "toggleRef",
2455
- ref: r,
2456
- "aria-controls": p(s),
2508
+ ref: i,
2509
+ "aria-controls": f(s),
2457
2510
  "aria-expanded": e.open,
2458
2511
  disabled: e.disabled,
2459
- id: p(o),
2512
+ id: f(o),
2460
2513
  open: e.open,
2461
- "options-id": p(s),
2514
+ "options-id": f(s),
2462
2515
  size: e.toggleSize,
2463
- onClick: S[0] || (S[0] = (k) => T.$emit("toggled"))
2516
+ onClick: S[0] || (S[0] = (C) => x.$emit("toggled"))
2464
2517
  }, {
2465
- label: O(() => [
2466
- E(T.$slots, "toggle-label", {}, () => [
2467
- W(A(e.toggleLabel), 1)
2518
+ label: D(() => [
2519
+ L(x.$slots, "toggle-label", {}, () => [
2520
+ H(T(e.toggleLabel), 1)
2468
2521
  ])
2469
2522
  ]),
2470
2523
  _: 3
2471
2524
  }, 8, ["aria-controls", "aria-expanded", "disabled", "id", "open", "options-id", "size"]),
2472
- D(it, {
2525
+ V(it, {
2473
2526
  shown: e.open,
2474
- "anchor-id": p(o),
2527
+ "anchor-id": f(o),
2475
2528
  breakout: e.breakout,
2476
2529
  "helper-text": e.helperText,
2477
2530
  "helper-description": e.helperDescription,
@@ -2480,22 +2533,22 @@ const Sa = {
2480
2533
  "use-mobile-style": e.useMobileStyle,
2481
2534
  width: e.dropdownWidth,
2482
2535
  onClose: c,
2483
- onEnter: f
2536
+ onEnter: v
2484
2537
  }, {
2485
- default: O(() => [
2486
- D(p(u), {
2538
+ default: D(() => [
2539
+ V(f(u), {
2487
2540
  label: e.dropdownLabel,
2488
2541
  "model-value": e.selectedOption,
2489
2542
  options: e.options,
2490
- "options-id": p(s),
2543
+ "options-id": f(s),
2491
2544
  "selected-options": e.selectedOptions,
2492
2545
  shown: e.open,
2493
2546
  "onUpdate:modelValue": m,
2494
- "onUpdate:selectedOptions": x,
2495
- onClose: S[1] || (S[1] = (k) => e.multiselect ? void 0 : c())
2547
+ "onUpdate:selectedOptions": w,
2548
+ onClose: S[1] || (S[1] = (C) => e.multiselect ? void 0 : c())
2496
2549
  }, {
2497
- default: O(() => [
2498
- e.multiselect ? w("", !0) : (d(), V(Be, {
2550
+ default: D(() => [
2551
+ e.multiselect ? k("", !0) : (d(), O(ye, {
2499
2552
  key: 0,
2500
2553
  options: e.options
2501
2554
  }, null, 8, ["options"]))
@@ -2507,40 +2560,40 @@ const Sa = {
2507
2560
  }, 8, ["shown", "anchor-id", "breakout", "helper-text", "helper-description", "position", "use-mobile-style", "width"])
2508
2561
  ], 8, tn));
2509
2562
  }
2510
- }, an = ["view-box"], nn = ["id"], ln = ["offset", "stop-color"], Pl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2563
+ }, an = ["view-box"], nn = ["id"], ln = ["offset", "stop-color"], zl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2511
2564
  __name: "BsIconGradientWrapper",
2512
2565
  setup(e) {
2513
- const a = g(null), t = g(null), n = [
2566
+ const a = y(null), t = y(null), n = [
2514
2567
  { offset: 0.1326, color: "#EE282A" },
2515
2568
  { offset: 0.5466, color: "#1C0087" },
2516
2569
  { offset: 0.9715, color: "#0086EA" }
2517
- ], [l] = Q();
2518
- return K(() => {
2570
+ ], [l] = X();
2571
+ return Y(() => {
2519
2572
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
2520
- }), (r, u) => (d(), b(G, null, [
2521
- y("span", z({
2573
+ }), (i, u) => (d(), h(W, null, [
2574
+ B("span", N({
2522
2575
  ref_key: "svgWrapperRef",
2523
2576
  ref: a,
2524
2577
  class: "bs-icon-gradient-wrapper",
2525
- style: `fill: url(#${p(l)});`
2526
- }, r.$attrs), [
2527
- E(r.$slots, "default")
2578
+ style: `fill: url(#${f(l)});`
2579
+ }, i.$attrs), [
2580
+ L(i.$slots, "default")
2528
2581
  ], 16),
2529
- (d(), b("svg", {
2582
+ (d(), h("svg", {
2530
2583
  xmlns: "http://www.w3.org/2000/svg",
2531
2584
  "view-box": t.value,
2532
2585
  width: "0",
2533
2586
  height: "0"
2534
2587
  }, [
2535
- y("linearGradient", {
2536
- id: p(l),
2588
+ B("linearGradient", {
2589
+ id: f(l),
2537
2590
  x1: "0",
2538
2591
  y1: "0",
2539
2592
  x2: "100%",
2540
2593
  y2: "100%",
2541
2594
  "gradient-units": "userSpaceOnUse"
2542
2595
  }, [
2543
- (d(), b(G, null, Z(n, (o) => y("stop", {
2596
+ (d(), h(W, null, Z(n, (o) => B("stop", {
2544
2597
  key: o.offset,
2545
2598
  offset: o.offset,
2546
2599
  "stop-color": o.color
@@ -2549,7 +2602,7 @@ const Sa = {
2549
2602
  ], 8, an))
2550
2603
  ], 64));
2551
2604
  }
2552
- }), Ml = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2605
+ }), Nl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2553
2606
  __name: "BsInputField",
2554
2607
  props: {
2555
2608
  /** Sets the disabled state on input, disabled styles on label. */
@@ -2596,43 +2649,43 @@ const Sa = {
2596
2649
  },
2597
2650
  emits: ["update:modelValue"],
2598
2651
  setup(e, { emit: a }) {
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, `
2652
+ const t = e, [n, l] = X(2), i = p(() => ge.concat(t.passAttrs.split(",")).concat("type")), u = p(() => {
2653
+ var r, c;
2654
+ return ((c = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : c.call(r, `
2602
2655
  `)) || t.hints;
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, {
2656
+ }), o = p(() => t.error && t.errorMsg || t.hint || u.value || void 0), s = p(() => t.inputId || n.value);
2657
+ return (r, c) => (d(), h("div", N({ "data-component": "bs-input-field" }, f(K)(r.$attrs, i.value).remaining), [
2658
+ e.label || r.$slots.label ? (d(), O(ne, {
2606
2659
  key: 0,
2607
- for: i.$attrs.id || s.value,
2660
+ for: r.$attrs.id || s.value,
2608
2661
  disabled: e.disabled,
2609
2662
  required: e.required
2610
2663
  }, {
2611
- default: O(() => [
2612
- E(i.$slots, "label", {}, () => [
2613
- W(A(e.label), 1)
2664
+ default: D(() => [
2665
+ L(r.$slots, "label", {}, () => [
2666
+ H(T(e.label), 1)
2614
2667
  ])
2615
2668
  ]),
2616
2669
  _: 3
2617
- }, 8, ["for", "disabled", "required"])) : w("", !0),
2618
- D(be, z({
2670
+ }, 8, ["for", "disabled", "required"])) : k("", !0),
2671
+ V(ve, N({
2619
2672
  disabled: e.disabled,
2620
2673
  error: e.error,
2621
- "hint-id": p(l),
2622
- id: i.$attrs.id || s.value,
2674
+ "hint-id": f(l),
2675
+ id: r.$attrs.id || s.value,
2623
2676
  placeholder: e.placeholder,
2624
2677
  required: e.required,
2625
2678
  type: e.type,
2626
2679
  value: e.value || e.modelValue,
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, {
2680
+ "onUpdate:modelValue": c[0] || (c[0] = (v) => r.$emit("update:modelValue", v))
2681
+ }, f(K)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
2682
+ o.value ? (d(), O(pe, {
2630
2683
  key: 1,
2631
2684
  error: e.error,
2632
2685
  "error-msg": e.errorMsg,
2633
2686
  hint: e.hint || u.value,
2634
- "hint-id": p(l)
2635
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : w("", !0)
2687
+ "hint-id": f(l)
2688
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : k("", !0)
2636
2689
  ], 16));
2637
2690
  }
2638
2691
  }), et = {
@@ -2688,8 +2741,8 @@ const Sa = {
2688
2741
  * @returns {Country[]} an array of country objects
2689
2742
  */
2690
2743
  initSourceData() {
2691
- return this.data.allCountries || (this.data.allCountries = Vt().map((e) => {
2692
- const a = Et(e), t = et[a[0]] + et[a[1]] || "";
2744
+ return this.data.allCountries || (this.data.allCountries = Lt().map((e) => {
2745
+ const a = Vt(e), t = et[a[0]] + et[a[1]] || "";
2693
2746
  return {
2694
2747
  label: `+${e}`,
2695
2748
  flag: t,
@@ -2706,7 +2759,7 @@ const Sa = {
2706
2759
  }, on = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], rn = { key: 0 }, sn = {
2707
2760
  "aria-hidden": "true",
2708
2761
  style: { width: "1.25rem" }
2709
- }, dn = { "aria-hidden": "true" }, zl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2762
+ }, dn = { "aria-hidden": "true" }, Rl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2710
2763
  __name: "BsInputPhone",
2711
2764
  props: {
2712
2765
  deferValidation: {
@@ -2756,7 +2809,7 @@ const Sa = {
2756
2809
  },
2757
2810
  emits: ["update:modelValue", "input-blur"],
2758
2811
  setup(e, { expose: a, emit: t }) {
2759
- const n = e, l = t, r = [
2812
+ const n = e, l = t, i = [
2760
2813
  "ArrowDown",
2761
2814
  "ArrowLeft",
2762
2815
  "ArrowRight",
@@ -2768,106 +2821,106 @@ const Sa = {
2768
2821
  "Escape",
2769
2822
  "Home",
2770
2823
  "Tab"
2771
- ], u = g(null), o = g(1), s = g([]), i = g(null), [
2824
+ ], u = y(null), o = y(1), s = y([]), r = y(null), [
2772
2825
  c,
2773
- f,
2774
- x,
2826
+ v,
2827
+ w,
2775
2828
  m
2776
- ] = Q(4), T = g(!1), S = g(""), k = g(""), q = g(!1), $ = g(!1), h = g(!0);
2829
+ ] = X(4), x = y(!1), S = y(""), C = y(""), P = y(!1), g = y(!1), b = y(!0);
2777
2830
  a({
2778
- validationErr: q,
2779
- validationErrMsg: k
2831
+ validationErr: P,
2832
+ validationErrMsg: C
2780
2833
  });
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 = "");
2834
+ const z = p(() => S.value ? `+${o.value}${S.value}` : ""), I = p(() => `Country code: ${o.value}. Click to change.`), A = p(() => b.value ? n.errorMsg || C.value : ""), q = p(() => n.error || P.value), F = p(() => n.hint || q.value && A.value), _ = p(() => b.value && q.value);
2835
+ R(z, (M) => {
2836
+ l("update:modelValue", M), be(M);
2837
+ }), R(() => n.modelValue, de), De(), Y(() => x.value = !0);
2838
+ function de(M, U) {
2839
+ M === "" && M !== U && (S.value = "");
2787
2840
  }
2788
- function ue() {
2841
+ function xe() {
2789
2842
  var M;
2790
- $.value && ($.value = !1, (M = u.value) == null || M.focus());
2843
+ g.value && (g.value = !1, (M = u.value) == null || M.focus());
2791
2844
  }
2792
2845
  function Ae(M) {
2793
- var j;
2794
- o.value = M, $.value = !1, (j = u.value) == null || j.focus(), me(M);
2846
+ var U;
2847
+ o.value = M, g.value = !1, (U = u.value) == null || U.focus(), he(M);
2795
2848
  }
2796
2849
  function Le() {
2797
- n.deferValidation && (h.value = !0), l("input-blur");
2850
+ n.deferValidation && (b.value = !0), l("input-blur");
2798
2851
  }
2799
2852
  function Ve(M) {
2800
- S.value = M.target.value, n.deferValidation && (h.value = !1);
2853
+ S.value = M.target.value, n.deferValidation && (b.value = !1);
2801
2854
  }
2802
2855
  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();
2856
+ var U, G;
2857
+ !((G = (U = M.key) == null ? void 0 : U.match) != null && G.call(U, /[0-9]/)) && !i.includes(M.key) && !M.ctrlKey && !M.metaKey && M.preventDefault();
2805
2858
  }
2806
2859
  function De() {
2807
- Pe.initSourceData(), Oe(), me(o.value), ge(C.value);
2860
+ Pe.initSourceData(), Oe(), he(o.value), be(z.value);
2808
2861
  }
2809
2862
  function Oe() {
2810
- var j, U;
2863
+ var U, G;
2811
2864
  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
2865
+ M.valid || M.countryCode && ((G = (U = n.modelValue) == null ? void 0 : U.startsWith) != null && G.call(U, "+")) ? (o.value = M.countryCode, S.value = M.number.significant) : S.value = n.modelValue, s.value = Pe.data.allCountries.map((ue) => ({
2866
+ ...ue,
2867
+ isSelected: o.value === ue
2815
2868
  }));
2816
2869
  }
2817
- function me(M) {
2818
- i.value = Pe.getCountryByCountryCode(M);
2870
+ function he(M) {
2871
+ r.value = Pe.getCountryByCountryCode(M);
2819
2872
  }
2820
- function ge(M) {
2821
- q.value = M ? !Ye(M).valid : !1, k.value = q.value ? "Invalid phone number" : "";
2873
+ function be(M) {
2874
+ P.value = M ? !Ye(M).valid : !1, C.value = P.value ? "Invalid phone number" : "";
2822
2875
  }
2823
- return (M, j) => (d(), b("div", z({
2876
+ return (M, U) => (d(), h("div", N({
2824
2877
  class: "bs-input-phone",
2825
2878
  "data-component": "bs-input-phone"
2826
- }, p(H)(M.$attrs, p(pe)).remaining), [
2827
- D(ae, {
2828
- for: M.$attrs.id || e.inputId || p(m),
2879
+ }, f(K)(M.$attrs, f(ge)).remaining), [
2880
+ V(ne, {
2881
+ for: M.$attrs.id || e.inputId || f(m),
2829
2882
  required: e.required,
2830
- class: te({ "visually-hidden": e.hideLabel })
2883
+ class: ae({ "visually-hidden": e.hideLabel })
2831
2884
  }, {
2832
- default: O(() => [
2833
- W(A(e.label), 1)
2885
+ default: D(() => [
2886
+ H(T(e.label), 1)
2834
2887
  ]),
2835
2888
  _: 1
2836
2889
  }, 8, ["for", "required", "class"]),
2837
- D(Te, {
2890
+ V(Ce, {
2838
2891
  disabled: e.disabled,
2839
- error: X.value,
2892
+ error: _.value,
2840
2893
  multifocus: !0,
2841
2894
  variant: "inner-bordered"
2842
2895
  }, {
2843
- default: O(() => {
2844
- var U;
2896
+ default: D(() => {
2897
+ var G;
2845
2898
  return [
2846
- y("button", {
2847
- id: p(c),
2899
+ B("button", {
2900
+ id: f(c),
2848
2901
  ref_key: "countryCodesToggle",
2849
2902
  ref: u,
2850
- "aria-controls": p(f),
2851
- "aria-expanded": $.value,
2903
+ "aria-controls": f(v),
2904
+ "aria-expanded": g.value,
2852
2905
  "aria-haspopup": "listbox",
2853
2906
  "aria-label": I.value,
2854
2907
  disabled: e.disabled,
2855
2908
  type: "button",
2856
- onClick: j[0] || (j[0] = (ce) => $.value = !$.value)
2909
+ onClick: U[0] || (U[0] = (ue) => g.value = !g.value)
2857
2910
  }, [
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" })
2911
+ B("span", null, T((G = r.value) == null ? void 0 : G.flag), 1),
2912
+ B("span", null, "+" + T(o.value), 1),
2913
+ V(f(vt), { size: "sm" })
2861
2914
  ], 8, on),
2862
- D(be, z({
2863
- "input-id": M.$attrs.id || e.inputId || p(m),
2915
+ V(ve, N({
2916
+ "input-id": M.$attrs.id || e.inputId || f(m),
2864
2917
  disabled: e.disabled,
2865
- "hint-id": p(x),
2918
+ "hint-id": f(w),
2866
2919
  placeholder: e.placeholder,
2867
2920
  value: S.value,
2868
2921
  "data-autowidth": "",
2869
2922
  type: "tel"
2870
- }, p(H)(M.$attrs, p(pe)).filtered, {
2923
+ }, f(K)(M.$attrs, f(ge)).filtered, {
2871
2924
  onInput: Ve,
2872
2925
  onFocusout: Le,
2873
2926
  onKeydown: Ee
@@ -2876,44 +2929,44 @@ const Sa = {
2876
2929
  }),
2877
2930
  _: 1
2878
2931
  }, 8, ["disabled", "error"]),
2879
- $e(D(he, {
2880
- error: F.value,
2881
- "error-msg": P.value,
2932
+ Be(V(pe, {
2933
+ error: q.value,
2934
+ "error-msg": A.value,
2882
2935
  hint: e.hint,
2883
- "hint-id": p(x)
2936
+ "hint-id": f(w)
2884
2937
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
2885
- [Se, ne.value]
2938
+ [$e, F.value]
2886
2939
  ]),
2887
- T.value ? (d(), b("div", rn, [
2888
- D(We, {
2889
- "anchor-id": p(c),
2940
+ x.value ? (d(), h("div", rn, [
2941
+ V(We, {
2942
+ "anchor-id": f(c),
2890
2943
  "helper-text": "Country Code",
2891
2944
  label: "Country Code",
2892
2945
  "model-value": o.value,
2893
- "options-id": p(f),
2946
+ "options-id": f(v),
2894
2947
  preloaded: "",
2895
- shown: $.value,
2948
+ shown: g.value,
2896
2949
  width: "content",
2897
- onClose: ue,
2950
+ onClose: xe,
2898
2951
  "onUpdate:modelValue": Ae
2899
2952
  }, {
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}`,
2953
+ default: D(() => [
2954
+ x.value ? (d(!0), h(W, { key: 0 }, Z(s.value, (G) => (d(), O(Ue, {
2955
+ "aria-label": G.value,
2956
+ key: G.value,
2957
+ value: `${G.value}`,
2905
2958
  variant: "2-col"
2906
2959
  }, {
2907
- default: O(() => [
2908
- y("span", sn, A(U == null ? void 0 : U.flag), 1),
2909
- y("span", dn, A(U.label), 1)
2960
+ default: D(() => [
2961
+ B("span", sn, T(G == null ? void 0 : G.flag), 1),
2962
+ B("span", dn, T(G.label), 1)
2910
2963
  ]),
2911
2964
  _: 2
2912
- }, 1032, ["aria-label", "value"]))), 128)) : w("", !0)
2965
+ }, 1032, ["aria-label", "value"]))), 128)) : k("", !0)
2913
2966
  ]),
2914
2967
  _: 1
2915
2968
  }, 8, ["anchor-id", "model-value", "options-id", "shown"])
2916
- ])) : w("", !0)
2969
+ ])) : k("", !0)
2917
2970
  ], 16));
2918
2971
  }
2919
2972
  }), un = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
@@ -2961,38 +3014,65 @@ const Sa = {
2961
3014
  },
2962
3015
  emits: ["clear", "update:modelValue"],
2963
3016
  setup(e, { emit: a }) {
2964
- const t = e, n = v(() => !t.disabled && !t.hideClear && t.variant !== "filter");
2965
- return (l, r) => (d(), V(Te, z({
3017
+ const t = e, n = p(() => ge.concat(t.passAttrs.split(","))), l = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
3018
+ return (i, u) => (d(), O(Ce, N({
2966
3019
  class: "bs-input-search",
2967
3020
  "data-component": "bs-input-search",
2968
3021
  "data-variant": e.variant,
2969
3022
  disabled: e.disabled
2970
- }, p(H)(l.$attrs, p(pe)).remaining), {
2971
- default: O(() => [
2972
- e.hideSearchIcon ? w("", !0) : (d(), V(p(bt), { key: 0 })),
2973
- D(be, z({
3023
+ }, f(K)(i.$attrs, n.value).remaining), {
3024
+ default: D(() => [
3025
+ e.hideSearchIcon ? k("", !0) : (d(), O(f(ht), { key: 0 })),
3026
+ V(ve, N({
2974
3027
  "data-autowidth": "",
2975
3028
  disabled: e.disabled,
2976
- "input-id": l.$attrs.id || e.inputId,
3029
+ "input-id": i.$attrs.id || e.inputId,
2977
3030
  placeholder: e.placeholder,
2978
3031
  value: e.value || e.modelValue
2979
- }, p(H)(l.$attrs, p(pe)).filtered, {
2980
- "onUpdate:modelValue": r[0] || (r[0] = (u) => l.$emit("update:modelValue", u))
3032
+ }, f(K)(i.$attrs, n.value).filtered, {
3033
+ "onUpdate:modelValue": u[0] || (u[0] = (o) => i.$emit("update:modelValue", o))
2981
3034
  }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
2982
- $e(y("button", {
3035
+ Be(B("button", {
2983
3036
  title: "Clear",
2984
3037
  type: "button",
2985
- onClick: r[1] || (r[1] = (u) => l.$emit("clear"))
3038
+ onClick: u[1] || (u[1] = (o) => i.$emit("clear"))
2986
3039
  }, [
2987
- D(p(we), { size: "sm" })
3040
+ V(f(Se), { size: "sm" })
2988
3041
  ], 512), [
2989
- [Se, n.value]
3042
+ [$e, l.value]
2990
3043
  ])
2991
3044
  ]),
2992
3045
  _: 1
2993
3046
  }, 16, ["data-variant", "disabled"]));
2994
3047
  }
2995
- }), Nl = {
3048
+ }), cn = ["data-size", "data-variant"], fn = /* @__PURE__ */ B("span", null, null, -1), pn = /* @__PURE__ */ B("span", null, null, -1), vn = /* @__PURE__ */ B("span", null, null, -1), hn = /* @__PURE__ */ B("span", null, null, -1), bn = /* @__PURE__ */ B("span", { class: "visually-hidden" }, "Loading", -1), mn = [
3049
+ fn,
3050
+ pn,
3051
+ vn,
3052
+ hn,
3053
+ bn
3054
+ ], gn = {
3055
+ __name: "BsLoader",
3056
+ props: {
3057
+ size: {
3058
+ type: String,
3059
+ default: "md",
3060
+ validator: (e) => ["xs", "sm", "md", "lg"].includes(e)
3061
+ },
3062
+ variant: {
3063
+ type: String,
3064
+ validator: (e) => ["black", "white", "gray"].includes(e)
3065
+ }
3066
+ },
3067
+ setup(e) {
3068
+ return (a, t) => (d(), h("span", {
3069
+ class: "bs-loader",
3070
+ "data-size": e.size,
3071
+ "data-variant": e.variant,
3072
+ role: "status"
3073
+ }, mn, 8, cn));
3074
+ }
3075
+ }, yn = ["id"], jl = {
2996
3076
  __name: "BsInputTypeahead",
2997
3077
  props: {
2998
3078
  characterThreshold: {
@@ -3024,6 +3104,10 @@ const Sa = {
3024
3104
  type: String,
3025
3105
  default: ""
3026
3106
  },
3107
+ loading: {
3108
+ type: Boolean,
3109
+ default: !1
3110
+ },
3027
3111
  maxOptions: {
3028
3112
  type: Number,
3029
3113
  default: void 0
@@ -3052,127 +3136,112 @@ const Sa = {
3052
3136
  },
3053
3137
  emits: ["update:inputValue", "update:optionsValue"],
3054
3138
  setup(e, { emit: a }) {
3055
- const t = e, n = a, l = g(!1), r = g(!1), [u] = Q();
3139
+ const t = e, n = a, l = y(!1), i = y(!1), [u] = X();
3056
3140
  let o = [];
3057
- N(() => t.inputValue, () => {
3058
- r.value ? r.value = !1 : S();
3141
+ R(() => t.inputValue, () => {
3142
+ i.value ? i.value = !1 : S();
3059
3143
  });
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(() => {
3144
+ const s = p(() => t.typeaheadId || u.value), r = p(() => `${s.value}-input-container`), c = p(() => `${s.value}-input`), v = p(() => `${s.value}-options`), w = p(() => {
3061
3145
  if (l.value) {
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 = $, $;
3146
+ let g = t.options;
3147
+ const b = t.inputValue.toLowerCase(), z = t.filterType === "includes" ? "includes" : "startsWith";
3148
+ return g = m(g, b, z), g = g.slice(0, t.maxOptions), g = x(g, b, z), o = g, g;
3065
3149
  } else
3066
3150
  return o;
3067
3151
  });
3068
- function m($, h, C) {
3069
- return t.internalFiltering ? $.filter((I) => I.label.toLowerCase()[C](h)) : $;
3152
+ function m(g, b, z) {
3153
+ return t.internalFiltering ? g.filter((I) => I.label.toLowerCase()[z](b)) : g;
3070
3154
  }
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>');
3155
+ function x(g, b, z) {
3156
+ return g.map((I) => {
3157
+ let A = I.label;
3158
+ if (b !== "") {
3159
+ const q = z === "includes" ? "gi" : "i", F = new RegExp(`(${b})`, q);
3160
+ A = I.label.replace(F, '<span style="color: var(--bs-blue-base)">$1</span>');
3077
3161
  }
3078
- return { ...I, labelHtml: P };
3162
+ return { ...I, labelHtml: A };
3079
3163
  });
3080
3164
  }
3081
3165
  function S() {
3082
3166
  t.inputValue.length >= t.characterThreshold ? l.value = !0 : l.value = !1;
3083
3167
  }
3084
- function k() {
3168
+ function C() {
3085
3169
  n("update:inputValue", ""), n("update:optionsValue", ""), document.getElementById(c.value).focus();
3086
3170
  }
3087
- function q($) {
3088
- r.value = !0, l.value = !1;
3089
- const h = x.value.find((C) => C.value === $);
3090
- n("update:inputValue", h.label), n("update:optionsValue", $);
3171
+ function P(g) {
3172
+ i.value = !0, l.value = !1;
3173
+ const b = w.value.find((z) => z.value === g);
3174
+ n("update:inputValue", b.label), n("update:optionsValue", g);
3091
3175
  }
3092
- return ($, h) => (d(), b(G, null, [
3093
- e.label || $.$slots.label ? (d(), V(ae, {
3176
+ return (g, b) => (d(), h(W, null, [
3177
+ e.label || g.$slots.label ? (d(), O(ne, {
3094
3178
  key: 0,
3095
3179
  for: c.value,
3096
3180
  disabled: e.disabled,
3097
3181
  required: e.required
3098
3182
  }, {
3099
- default: O(() => [
3100
- E($.$slots, "label", {}, () => [
3101
- W(A(e.label), 1)
3183
+ default: D(() => [
3184
+ L(g.$slots, "label", {}, () => [
3185
+ H(T(e.label), 1)
3102
3186
  ])
3103
3187
  ]),
3104
3188
  _: 3
3105
- }, 8, ["for", "disabled", "required"])) : w("", !0),
3106
- D(un, z({
3107
- "aria-controls": f.value,
3108
- "aria-expanded": l.value,
3109
- "aria-haspopup": "listbox",
3110
- autocomplete: "off",
3111
- disabled: e.disabled,
3112
- "hide-clear": e.inputValue === "",
3113
- "hide-search-icon": e.hideSearchIcon,
3114
- id: i.value,
3115
- "input-id": c.value,
3116
- placeholder: e.placeholder,
3117
- value: e.inputValue
3118
- }, $.$attrs, {
3119
- onClear: k,
3120
- onFocusin: S,
3121
- "onUpdate:modelValue": h[0] || (h[0] = (C) => n("update:inputValue", C))
3122
- }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "id", "input-id", "placeholder", "value"]),
3123
- D(We, {
3124
- "anchor-id": i.value,
3189
+ }, 8, ["for", "disabled", "required"])) : k("", !0),
3190
+ B("div", { id: r.value }, [
3191
+ V(un, N({
3192
+ "aria-controls": v.value,
3193
+ "aria-expanded": l.value,
3194
+ "aria-haspopup": "listbox",
3195
+ autocomplete: "off",
3196
+ disabled: e.disabled,
3197
+ "hide-clear": e.inputValue === "",
3198
+ "hide-search-icon": e.hideSearchIcon,
3199
+ "input-id": c.value,
3200
+ "pass-attrs": "aria-controls,aria-expanded,role",
3201
+ placeholder: e.placeholder,
3202
+ role: "combobox",
3203
+ value: e.inputValue
3204
+ }, g.$attrs, {
3205
+ onClear: C,
3206
+ onFocusin: S,
3207
+ "onUpdate:modelValue": b[0] || (b[0] = (z) => n("update:inputValue", z))
3208
+ }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
3209
+ ], 8, yn),
3210
+ V(We, {
3211
+ "anchor-id": r.value,
3125
3212
  "focus-on-show": !1,
3126
3213
  "model-value": e.optionsValue,
3127
- "options-id": f.value,
3214
+ "options-id": v.value,
3128
3215
  preloaded: !0,
3129
3216
  "prevent-tab": !1,
3130
3217
  shown: l.value,
3131
3218
  "use-mobile-style": !1,
3132
3219
  width: "toggle",
3133
- onClose: h[1] || (h[1] = (C) => l.value = !1),
3134
- "onUpdate:modelValue": q
3220
+ onClose: b[1] || (b[1] = (z) => l.value = !1),
3221
+ "onUpdate:modelValue": P
3135
3222
  }, {
3136
- default: O(() => [
3137
- D(Be, { options: x.value }, {
3138
- "no-options": O(() => [
3139
- W("No results found")
3140
- ]),
3141
- _: 1
3142
- }, 8, ["options"])
3223
+ default: D(() => [
3224
+ V(ye, { options: w.value }, ct({ _: 2 }, [
3225
+ e.loading ? {
3226
+ name: "no-options",
3227
+ fn: D(() => [
3228
+ V(gn, { size: "xs" })
3229
+ ]),
3230
+ key: "0"
3231
+ } : {
3232
+ name: "no-options",
3233
+ fn: D(() => [
3234
+ H("No results found")
3235
+ ]),
3236
+ key: "1"
3237
+ }
3238
+ ]), 1032, ["options"])
3143
3239
  ]),
3144
3240
  _: 1
3145
3241
  }, 8, ["anchor-id", "model-value", "options-id", "shown"])
3146
3242
  ], 64));
3147
3243
  }
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,
3150
- pn,
3151
- vn,
3152
- hn,
3153
- bn
3154
- ], Rl = {
3155
- __name: "BsLoader",
3156
- props: {
3157
- size: {
3158
- type: String,
3159
- default: "md",
3160
- validator: (e) => ["xs", "sm", "md", "lg"].includes(e)
3161
- },
3162
- variant: {
3163
- type: String,
3164
- validator: (e) => ["black", "white", "gray"].includes(e)
3165
- }
3166
- },
3167
- setup(e) {
3168
- return (a, t) => (d(), b("span", {
3169
- class: "bs-loader",
3170
- "data-size": e.size,
3171
- "data-variant": e.variant,
3172
- role: "status"
3173
- }, mn, 8, cn));
3174
- }
3175
- }, gn = /* @__PURE__ */ y("div", { class: "bs-overlay" }, null, -1), yn = {
3244
+ }, Bn = /* @__PURE__ */ B("div", { class: "bs-overlay" }, null, -1), $n = {
3176
3245
  __name: "BsOverlay",
3177
3246
  props: {
3178
3247
  shown: {
@@ -3201,24 +3270,24 @@ const Sa = {
3201
3270
  },
3202
3271
  emits: ["after-enter", "after-leave"],
3203
3272
  setup(e, { emit: a }) {
3204
- const t = e, n = a, { transition: l } = ve(t);
3205
- return N(l, (r) => {
3206
- r ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
3207
- }), (r, u) => (d(), V(p(xe), {
3208
- shown: p(l),
3273
+ const t = e, n = a, { transition: l } = fe(t);
3274
+ return R(l, (i) => {
3275
+ i ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
3276
+ }), (i, u) => (d(), O(f(Te), {
3277
+ shown: f(l),
3209
3278
  preloaded: e.preloaded,
3210
3279
  duration: 75,
3211
3280
  "enter-attribute": "data-shown",
3212
3281
  onAfterEnter: u[0] || (u[0] = (o) => n("after-enter")),
3213
3282
  onAfterLeave: u[1] || (u[1] = (o) => n("after-leave"))
3214
3283
  }, {
3215
- default: O(() => [
3216
- gn
3284
+ default: D(() => [
3285
+ Bn
3217
3286
  ]),
3218
3287
  _: 1
3219
3288
  }, 8, ["shown", "preloaded"]));
3220
3289
  }
3221
- }, Bn = ["id", "role", "aria-labelledby"], $n = ["id"], jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3290
+ }, Sn = ["id", "role", "aria-labelledby"], wn = ["id"], Fl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3222
3291
  __name: "BsModal",
3223
3292
  props: {
3224
3293
  modalId: {
@@ -3263,86 +3332,86 @@ const Sa = {
3263
3332
  },
3264
3333
  emits: ["close", "after-enter", "after-leave"],
3265
3334
  setup(e, { emit: a }) {
3266
- const t = e, n = a, { transition: l } = ve(t), [r] = Q();
3335
+ const t = e, n = a, { transition: l } = fe(t), [i] = X();
3267
3336
  let u = !1;
3268
- const o = g(null), s = (f) => {
3269
- o.value && f.target.closest(".bs-overlay") && n("close", t.modalId);
3337
+ const o = y(null), s = (v) => {
3338
+ o.value && v.target.closest(".bs-overlay") && n("close", t.modalId);
3270
3339
  };
3271
- K(() => {
3340
+ Y(() => {
3272
3341
  document.addEventListener("click", s);
3273
- }), oe(() => {
3342
+ }), re(() => {
3274
3343
  document.removeEventListener("click", s);
3275
- }), Ce(["Escape"], () => {
3344
+ }), Ie(["Escape"], () => {
3276
3345
  u && n("close", t.modalId);
3277
3346
  });
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),
3347
+ const r = () => !t.title && t.closeButton, c = () => t.title && t.closeButton;
3348
+ return (v, w) => (d(), h(W, null, [
3349
+ V($n, {
3350
+ shown: f(l),
3282
3351
  preloaded: e.preloaded,
3283
3352
  "enter-controlled": e.enterControlled,
3284
3353
  "enter-trigger": e.enterTrigger,
3285
3354
  "leave-trigger": e.leaveTrigger
3286
3355
  }, null, 8, ["shown", "preloaded", "enter-controlled", "enter-trigger", "leave-trigger"]),
3287
- D(xe, {
3288
- shown: p(l),
3356
+ V(Te, {
3357
+ shown: f(l),
3289
3358
  preloaded: e.preloaded,
3290
3359
  duration: 75,
3291
3360
  "enter-attribute": "data-shown",
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"))
3361
+ onEnter: w[1] || (w[1] = (m) => ft(u) ? u.value = !0 : u = !0),
3362
+ onAfterEnter: w[2] || (w[2] = (m) => n("after-enter")),
3363
+ onAfterLeave: w[3] || (w[3] = (m) => n("after-leave"))
3295
3364
  }, {
3296
- default: O(() => [
3297
- y("div", z({
3365
+ default: D(() => [
3366
+ B("div", N({
3298
3367
  id: e.modalId,
3299
3368
  class: "bs-modal",
3300
3369
  role: e.alert ? "alertdialog" : "dialog",
3301
- "aria-labelledby": e.title && !f.$attrs["aria-label"] ? p(r) : void 0,
3370
+ "aria-labelledby": e.title && !v.$attrs["aria-label"] ? f(i) : void 0,
3302
3371
  "aria-modal": "true"
3303
- }, f.$attrs, {
3372
+ }, v.$attrs, {
3304
3373
  ref_key: "modalRef",
3305
3374
  ref: o
3306
3375
  }), [
3307
- e.title || e.closeButton ? (d(), b("header", {
3376
+ e.title || e.closeButton ? (d(), h("header", {
3308
3377
  key: 0,
3309
- class: te({
3310
- "only-close-button-modal-header": i,
3378
+ class: ae({
3379
+ "only-close-button-modal-header": r,
3311
3380
  "modal-header": c
3312
3381
  })
3313
3382
  }, [
3314
- e.title ? (d(), b("h5", {
3383
+ e.title ? (d(), h("h5", {
3315
3384
  key: 0,
3316
- id: p(r),
3385
+ id: f(i),
3317
3386
  class: "modal-title"
3318
- }, A(e.title), 9, $n)) : w("", !0),
3319
- e.closeButton ? (d(), b("button", {
3387
+ }, T(e.title), 9, wn)) : k("", !0),
3388
+ e.closeButton ? (d(), h("button", {
3320
3389
  key: 1,
3321
3390
  type: "button",
3322
3391
  title: "Close Modal",
3323
3392
  "aria-label": "Close Modal",
3324
- onClick: x[0] || (x[0] = (m) => n("close", e.modalId))
3393
+ onClick: w[0] || (w[0] = (m) => n("close", e.modalId))
3325
3394
  }, [
3326
- D(p(we), { class: "close-button" })
3327
- ])) : w("", !0)
3328
- ], 2)) : w("", !0),
3329
- E(f.$slots, "default")
3330
- ], 16, Bn)
3395
+ V(f(Se), { class: "close-button" })
3396
+ ])) : k("", !0)
3397
+ ], 2)) : k("", !0),
3398
+ L(v.$slots, "default")
3399
+ ], 16, Sn)
3331
3400
  ]),
3332
3401
  _: 3
3333
3402
  }, 8, ["shown", "preloaded"])
3334
3403
  ], 64));
3335
3404
  }
3336
- }), Sn = ["data-variant", "data-fixed"], wn = {
3405
+ }), kn = ["data-variant", "data-fixed"], In = {
3337
3406
  key: 0,
3338
3407
  class: "bs-pagination-carets"
3339
- }, kn = ["aria-label", "title", "disabled"], In = { key: 0 }, Cn = ["aria-label", "title", "disabled"], Tn = { key: 0 }, xn = {
3408
+ }, Cn = ["aria-label", "title", "disabled"], Tn = { key: 0 }, xn = ["aria-label", "title", "disabled"], An = { key: 0 }, Ln = {
3340
3409
  key: 1,
3341
3410
  class: "bs-pagination-page-numbers"
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 = {
3411
+ }, Vn = ["title", "data-selected", "onClick"], En = { key: 2 }, Dn = { key: 3 }, On = /* @__PURE__ */ B("span", null, "Results Per Page:", -1), qn = { class: "bs-pagination-results-numbers" }, Pn = ["data-selected", "disabled", "onClick"], Mn = {
3343
3412
  key: 5,
3344
3413
  class: "bs-pagination-carets"
3345
- }, Pn = ["aria-label", "title", "disabled"], Mn = { key: 0 }, zn = ["aria-label", "title", "disabled"], Nn = { key: 0 }, Fl = {
3414
+ }, zn = ["aria-label", "title", "disabled"], Nn = { key: 0 }, Rn = ["aria-label", "title", "disabled"], jn = { key: 0 }, Ul = {
3346
3415
  __name: "BsPagination",
3347
3416
  props: {
3348
3417
  // Used for all
@@ -3428,28 +3497,28 @@ const Sa = {
3428
3497
  },
3429
3498
  emits: ["selchange", "update:modelValue"],
3430
3499
  setup(e, { emit: a }) {
3431
- const t = e, n = a, l = g(null);
3432
- K(() => {
3433
- r.value ? l.value = r.value : t.variant === "results" ? l.value = S.value[0] : l.value = 1;
3500
+ const t = e, n = a, l = y(null);
3501
+ Y(() => {
3502
+ i.value ? l.value = i.value : t.variant === "results" ? l.value = S.value[0] : l.value = 1;
3434
3503
  });
3435
- const r = v(() => t.modelValue || t.selection);
3436
- N(() => t.selection, (k) => {
3437
- l.value = k;
3438
- }), N(() => t.modelValue, (k) => {
3439
- l.value = k;
3440
- }), N(l, (k, q) => {
3441
- q !== null && (n("selchange", k), n("update:modelValue", k));
3504
+ const i = p(() => t.modelValue || t.selection);
3505
+ R(() => t.selection, (C) => {
3506
+ l.value = C;
3507
+ }), R(() => t.modelValue, (C) => {
3508
+ l.value = C;
3509
+ }), R(l, (C, P) => {
3510
+ P !== null && (n("selchange", C), n("update:modelValue", C));
3442
3511
  });
3443
- const u = v(() => {
3512
+ const u = p(() => {
3444
3513
  if (t.variant === "group")
3445
3514
  return Math.ceil(t.itemsCount / t.itemsPerGroup);
3446
3515
  if (t.variant === "base")
3447
3516
  return t.pageCount;
3448
- }), o = v(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
3517
+ }), o = p(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
3449
3518
  function s() {
3450
3519
  l.value = 1;
3451
3520
  }
3452
- function i() {
3521
+ function r() {
3453
3522
  l.value = Math.max(l.value - 1, 1);
3454
3523
  }
3455
3524
  function c() {
@@ -3458,103 +3527,103 @@ const Sa = {
3458
3527
  u.value
3459
3528
  );
3460
3529
  }
3461
- function f() {
3530
+ function v() {
3462
3531
  l.value = u.value;
3463
3532
  }
3464
- const x = v(() => {
3533
+ const w = p(() => {
3465
3534
  if (t.pageCount <= t.pageRange)
3466
3535
  return [...Array(t.pageCount + 1).keys()].slice(1);
3467
- const k = [1], q = (t.pageRange - 1) / 2;
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(() => {
3474
- const k = (l.value - 1) * t.itemsPerGroup + 1, q = Math.min(k - 1 + t.itemsPerGroup, t.itemsCount);
3475
- return `${t.centerLabel ?? "Results"} ${k} - ${q} of ${t.itemsCount}`;
3476
- }), S = v(() => t.resultsIncrements.split(",").map((k) => parseInt(k)));
3477
- return (k, q) => (d(), b("div", {
3536
+ const C = [1], P = (t.pageRange - 1) / 2;
3537
+ let g = l.value - P, b = l.value + P;
3538
+ g < 1 && (b += 1 - g, g = 1), b > t.pageCount && (g -= b - t.pageCount, b = t.pageCount), g = Math.max(g, 2), b = Math.min(b, t.pageCount - 1), g > 2 && C.push(t.breakText);
3539
+ for (let z = g; z <= b; z++)
3540
+ C.push(z);
3541
+ return b < t.pageCount - 1 && C.push(t.breakText), C.push(t.pageCount), C;
3542
+ }), m = p(() => `${t.centerLabel ?? "Page"} ${l.value} of ${u.value}`), x = p(() => {
3543
+ const C = (l.value - 1) * t.itemsPerGroup + 1, P = Math.min(C - 1 + t.itemsPerGroup, t.itemsCount);
3544
+ return `${t.centerLabel ?? "Results"} ${C} - ${P} of ${t.itemsCount}`;
3545
+ }), S = p(() => t.resultsIncrements.split(",").map((C) => parseInt(C)));
3546
+ return (C, P) => (d(), h("div", {
3478
3547
  class: "bs-pagination",
3479
3548
  "data-variant": o.value,
3480
3549
  "data-fixed": t.fixed
3481
3550
  }, [
3482
- e.variant === "base" || e.variant === "group" ? (d(), b("div", wn, [
3483
- e.showFirstLastButtons ? (d(), b("button", {
3551
+ e.variant === "base" || e.variant === "group" ? (d(), h("div", In, [
3552
+ e.showFirstLastButtons ? (d(), h("button", {
3484
3553
  key: 0,
3485
3554
  type: "button",
3486
- class: te(e.firstPageText ? "bs-pagination-word-caret" : void 0),
3555
+ class: ae(e.firstPageText ? "bs-pagination-word-caret" : void 0),
3487
3556
  "aria-label": e.firstPageText ? void 0 : "First Page",
3488
3557
  title: e.firstPageText,
3489
3558
  disabled: l.value === 1,
3490
3559
  onClick: s
3491
3560
  }, [
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", {
3561
+ V(f(bt)),
3562
+ e.firstPageText ? (d(), h("span", Tn, T(e.firstPageText), 1)) : k("", !0)
3563
+ ], 10, Cn)) : k("", !0),
3564
+ B("button", {
3496
3565
  type: "button",
3497
- class: te(e.prevPageText ? "bs-pagination-word-caret" : void 0),
3566
+ class: ae(e.prevPageText ? "bs-pagination-word-caret" : void 0),
3498
3567
  "aria-label": e.prevPageText ? void 0 : "Previous Page",
3499
3568
  title: e.prevPageText,
3500
3569
  disabled: l.value === 1,
3501
- onClick: i
3570
+ onClick: r
3502
3571
  }, [
3503
- D(p(gt)),
3504
- e.prevPageText ? (d(), b("span", Tn, A(e.prevPageText), 1)) : w("", !0)
3505
- ], 10, Cn)
3506
- ])) : w("", !0),
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`,
3572
+ V(f(mt)),
3573
+ e.prevPageText ? (d(), h("span", An, T(e.prevPageText), 1)) : k("", !0)
3574
+ ], 10, xn)
3575
+ ])) : k("", !0),
3576
+ e.variant === "base" && e.centerDisplay === "numbers" ? (d(), h("div", Ln, [
3577
+ (d(!0), h(W, null, Z(w.value, (g) => (d(), h("button", {
3578
+ key: `page-${g}-button`,
3510
3579
  type: "button",
3511
- title: `Page ${$}`,
3512
- "data-selected": $ === l.value,
3513
- onClick: (h) => l.value = $
3514
- }, A($), 9, An))), 128))
3515
- ])) : w("", !0),
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", {
3580
+ title: `Page ${g}`,
3581
+ "data-selected": g === l.value,
3582
+ onClick: (b) => l.value = g
3583
+ }, T(g), 9, Vn))), 128))
3584
+ ])) : k("", !0),
3585
+ t.variant === "base" && t.centerDisplay === "text" ? (d(), h("span", En, T(m.value), 1)) : k("", !0),
3586
+ t.variant === "group" ? (d(), h("span", Dn, T(x.value), 1)) : k("", !0),
3587
+ t.variant === "results" ? (d(), h(W, { key: 4 }, [
3588
+ On,
3589
+ B("div", qn, [
3590
+ (d(!0), h(W, null, Z(S.value, (g) => (d(), h("button", {
3522
3591
  type: "button",
3523
- key: `results-${$}`,
3524
- "data-selected": $ === l.value,
3525
- disabled: l.value === $,
3526
- onClick: (h) => l.value = $
3527
- }, A($), 9, On))), 128))
3592
+ key: `results-${g}`,
3593
+ "data-selected": g === l.value,
3594
+ disabled: l.value === g,
3595
+ onClick: (b) => l.value = g
3596
+ }, T(g), 9, Pn))), 128))
3528
3597
  ])
3529
- ], 64)) : w("", !0),
3530
- e.variant === "base" || e.variant === "group" ? (d(), b("div", qn, [
3531
- y("button", {
3598
+ ], 64)) : k("", !0),
3599
+ e.variant === "base" || e.variant === "group" ? (d(), h("div", Mn, [
3600
+ B("button", {
3532
3601
  type: "button",
3533
- class: te(e.nextPageText ? "bs-pagination-word-caret" : void 0),
3602
+ class: ae(e.nextPageText ? "bs-pagination-word-caret" : void 0),
3534
3603
  "aria-label": e.nextPageText ? void 0 : "Next Page",
3535
3604
  title: e.nextPageText,
3536
3605
  disabled: l.value === u.value,
3537
3606
  onClick: c
3538
3607
  }, [
3539
- e.nextPageText ? (d(), b("span", Mn, A(e.nextPageText), 1)) : w("", !0),
3540
- D(p(yt))
3541
- ], 10, Pn),
3542
- e.showFirstLastButtons ? (d(), b("button", {
3608
+ e.nextPageText ? (d(), h("span", Nn, T(e.nextPageText), 1)) : k("", !0),
3609
+ V(f(gt))
3610
+ ], 10, zn),
3611
+ e.showFirstLastButtons ? (d(), h("button", {
3543
3612
  key: 0,
3544
3613
  type: "button",
3545
- class: te(e.lastPageText ? "bs-pagination-word-caret" : void 0),
3614
+ class: ae(e.lastPageText ? "bs-pagination-word-caret" : void 0),
3546
3615
  "aria-label": e.lastPageText ? void 0 : "Last Page",
3547
3616
  title: e.lastPageText,
3548
3617
  disabled: l.value === u.value,
3549
- onClick: f
3618
+ onClick: v
3550
3619
  }, [
3551
- e.lastPageText ? (d(), b("span", Nn, A(e.lastPageText), 1)) : w("", !0),
3552
- D(p(Bt))
3553
- ], 10, zn)) : w("", !0)
3554
- ])) : w("", !0)
3555
- ], 8, Sn));
3620
+ e.lastPageText ? (d(), h("span", jn, T(e.lastPageText), 1)) : k("", !0),
3621
+ V(f(yt))
3622
+ ], 10, Rn)) : k("", !0)
3623
+ ])) : k("", !0)
3624
+ ], 8, kn));
3556
3625
  }
3557
- }, Rn = ["data-truncate"], Ul = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3626
+ }, Fn = ["data-truncate"], Wl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3558
3627
  __name: "BsPill",
3559
3628
  props: {
3560
3629
  active: { type: Boolean, default: !1 },
@@ -3578,35 +3647,35 @@ const Sa = {
3578
3647
  }
3579
3648
  },
3580
3649
  setup(e) {
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({
3650
+ const a = e, { onLinkClick: t } = ke(a), n = se(), { rootTag: l, attrsToBind: i, hrefUrl: u } = we(a, n, "span");
3651
+ return (o, s) => (d(), O(J(f(l)), N({
3583
3652
  class: "bs-pill",
3584
3653
  "data-active": e.active,
3585
3654
  "data-component": "bs-pill",
3586
3655
  "data-status": e.status || void 0,
3587
3656
  "data-variant": e.variant || void 0,
3588
3657
  disabled: e.disabled,
3589
- ".href": p(u)
3590
- }, p(r), { onClick: p(t) }), {
3591
- default: O(() => [
3592
- y("span", { "data-truncate": e.truncate }, [
3593
- E(o.$slots, "default")
3594
- ], 8, Rn)
3658
+ ".href": f(u)
3659
+ }, f(i), { onClick: f(t) }), {
3660
+ default: D(() => [
3661
+ B("span", { "data-truncate": e.truncate }, [
3662
+ L(o.$slots, "default")
3663
+ ], 8, Fn)
3595
3664
  ]),
3596
3665
  _: 3
3597
3666
  }, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
3598
3667
  }
3599
- }), jn = { class: "bs-profile-details" }, Fn = {
3668
+ }), Un = { class: "bs-profile-details" }, Wn = {
3600
3669
  class: "bs-profile-name",
3601
3670
  "data-size": "sm",
3602
3671
  "data-weight": "bold"
3603
- }, Un = {
3672
+ }, Gn = {
3604
3673
  key: 1,
3605
3674
  "data-weight": "bold"
3606
- }, Wn = { key: 2 }, Gn = { key: 3 }, Hn = {
3675
+ }, Hn = { key: 2 }, Kn = { key: 3 }, Yn = {
3607
3676
  key: 4,
3608
3677
  "data-icon": "true"
3609
- }, Kn = {
3678
+ }, Qn = {
3610
3679
  __name: "BsProfileDetails",
3611
3680
  props: {
3612
3681
  profileName: {
@@ -3623,40 +3692,40 @@ const Sa = {
3623
3692
  },
3624
3693
  emits: ["action-toggled"],
3625
3694
  setup(e, { emit: a }) {
3626
- const t = e, n = a, { icon: l } = ye(t, "actionIcon"), { icon: r } = ye(t, "miscMetaIcon");
3695
+ const t = e, n = a, { icon: l } = me(t, "actionIcon"), { icon: i } = me(t, "miscMetaIcon");
3627
3696
  function u(o) {
3628
3697
  o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), n("action-toggled"));
3629
3698
  }
3630
- return (o, s) => (d(), b("div", jn, [
3631
- e.action || o.$slots.action ? (d(), b("button", {
3699
+ return (o, s) => (d(), h("div", Un, [
3700
+ e.action || o.$slots.action ? (d(), h("button", {
3632
3701
  key: 0,
3633
3702
  "data-icon": "true",
3634
3703
  onClick: u
3635
3704
  }, [
3636
- E(o.$slots, "action", {}, () => [
3637
- e.actionIcon ? (d(), V(J(p(l) ? p(l) : "span"), {
3705
+ L(o.$slots, "action", {}, () => [
3706
+ e.actionIcon ? (d(), O(J(f(l) ? f(l) : "span"), {
3638
3707
  key: 0,
3639
3708
  class: "bs-icon"
3640
- })) : w("", !0),
3641
- W(" " + A(e.action), 1)
3709
+ })) : k("", !0),
3710
+ H(" " + T(e.action), 1)
3642
3711
  ])
3643
- ])) : w("", !0),
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"), {
3712
+ ])) : k("", !0),
3713
+ B("span", Wn, T(e.profileName), 1),
3714
+ e.company ? (d(), h("span", Gn, T(e.company), 1)) : k("", !0),
3715
+ e.jobTitle ? (d(), h("span", Hn, T(e.jobTitle), 1)) : k("", !0),
3716
+ e.email ? (d(), h("span", Kn, T(e.email), 1)) : k("", !0),
3717
+ e.miscMeta || o.$slots.misc ? (d(), h("span", Yn, [
3718
+ L(o.$slots, "misc", {}, () => [
3719
+ e.miscMetaIcon ? (d(), O(J(f(i) ? f(i) : "span"), {
3651
3720
  key: 0,
3652
3721
  class: "bs-icon"
3653
- })) : w("", !0),
3654
- W(" " + A(e.miscMeta), 1)
3722
+ })) : k("", !0),
3723
+ H(" " + T(e.miscMeta), 1)
3655
3724
  ])
3656
- ])) : w("", !0)
3725
+ ])) : k("", !0)
3657
3726
  ]));
3658
3727
  }
3659
- }, Wl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3728
+ }, Gl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3660
3729
  __name: "BsProfile",
3661
3730
  props: {
3662
3731
  layout: {
@@ -3686,21 +3755,21 @@ const Sa = {
3686
3755
  },
3687
3756
  emits: ["action-toggled"],
3688
3757
  setup(e, { emit: a }) {
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({
3758
+ const t = e, n = a, l = se(), { onLinkClick: i } = ke(t), { rootTag: u, attrsToBind: o, hrefUrl: s } = we(t, l, "div");
3759
+ return (r, c) => (d(), O(J(f(u)), N({
3691
3760
  class: "bs-profile",
3692
- ".href": p(s),
3761
+ ".href": f(s),
3693
3762
  "data-layout": e.layout
3694
- }, p(o), { onClick: p(r) }), {
3695
- default: O(() => [
3696
- D(rt, {
3763
+ }, f(o), { onClick: f(i) }), {
3764
+ default: D(() => [
3765
+ V(rt, {
3697
3766
  src: e.imageSrc,
3698
3767
  size: e.imageSize,
3699
3768
  initials: e.initials,
3700
3769
  "profile-name": e.profileName,
3701
3770
  "use-alt-text": !1
3702
3771
  }, null, 8, ["src", "size", "initials", "profile-name"]),
3703
- D(Kn, {
3772
+ V(Qn, {
3704
3773
  "profile-name": e.profileName,
3705
3774
  company: e.company,
3706
3775
  "job-title": e.jobTitle,
@@ -3709,13 +3778,13 @@ const Sa = {
3709
3778
  "action-icon": e.actionIcon,
3710
3779
  "misc-meta": e.miscMeta,
3711
3780
  "misc-meta-icon": e.miscMetaIcon,
3712
- onActionToggled: c[0] || (c[0] = (f) => n("action-toggled"))
3781
+ onActionToggled: c[0] || (c[0] = (v) => n("action-toggled"))
3713
3782
  }, {
3714
- action: O(() => [
3715
- E(i.$slots, "action")
3783
+ action: D(() => [
3784
+ L(r.$slots, "action")
3716
3785
  ]),
3717
- misc: O(() => [
3718
- E(i.$slots, "misc")
3786
+ misc: D(() => [
3787
+ L(r.$slots, "misc")
3719
3788
  ]),
3720
3789
  _: 3
3721
3790
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -3723,7 +3792,7 @@ const Sa = {
3723
3792
  _: 3
3724
3793
  }, 48, [".href", "data-layout", "onClick"]));
3725
3794
  }
3726
- }), Yn = ["data-size"], Qn = ["checked", "disabled", "id", "required", "value", "data-error"], Gl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3795
+ }), Xn = ["data-size"], Zn = ["checked", "disabled", "id", "required", "value", "data-error"], Hl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3727
3796
  __name: "BsRadio",
3728
3797
  props: {
3729
3798
  label: {
@@ -3767,39 +3836,39 @@ const Sa = {
3767
3836
  },
3768
3837
  emits: ["update:modelValue"],
3769
3838
  setup(e, { emit: a }) {
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({
3839
+ const t = e, [n] = X(), l = p(() => je.concat(t.passAttrs.split(","))), i = p(() => t.inputId || n.value), u = p(() => t.checked || t.modelValue && t.modelValue === t.value);
3840
+ return (o, s) => (d(), h("div", N({
3772
3841
  class: "bs-boolean",
3773
3842
  "data-component": "bs-radio",
3774
3843
  "data-size": e.size
3775
- }, p(H)(o.$attrs, l.value).remaining), [
3776
- y("input", z({
3844
+ }, f(K)(o.$attrs, l.value).remaining), [
3845
+ B("input", N({
3777
3846
  checked: u.value,
3778
3847
  disabled: e.disabled,
3779
- id: o.$attrs.id || r.value,
3848
+ id: o.$attrs.id || i.value,
3780
3849
  required: e.required,
3781
3850
  type: "radio",
3782
3851
  value: e.value,
3783
3852
  "data-error": e.error
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, {
3853
+ }, f(K)(o.$attrs, l.value).filtered, {
3854
+ onChange: s[0] || (s[0] = (r) => o.$emit("update:modelValue", r.target.value))
3855
+ }), null, 16, Zn),
3856
+ e.label || o.$slots.label ? (d(), O(ne, {
3788
3857
  key: 0,
3789
- for: o.$attrs.id || r.value,
3858
+ for: o.$attrs.id || i.value,
3790
3859
  disabled: e.disabled,
3791
3860
  required: e.required
3792
3861
  }, {
3793
- default: O(() => [
3794
- E(o.$slots, "label", {}, () => [
3795
- W(A(e.label), 1)
3862
+ default: D(() => [
3863
+ L(o.$slots, "label", {}, () => [
3864
+ H(T(e.label), 1)
3796
3865
  ])
3797
3866
  ]),
3798
3867
  _: 3
3799
- }, 8, ["for", "disabled", "required"])) : w("", !0)
3800
- ], 16, Yn));
3868
+ }, 8, ["for", "disabled", "required"])) : k("", !0)
3869
+ ], 16, Xn));
3801
3870
  }
3802
- }), Xn = ["id", "disabled", "required", "data-error", "value"], Zn = {
3871
+ }), Jn = ["id", "disabled", "required", "data-error", "value"], _n = {
3803
3872
  __name: "BsSelect",
3804
3873
  props: {
3805
3874
  disabled: { type: Boolean, default: !1 },
@@ -3812,8 +3881,8 @@ const Sa = {
3812
3881
  },
3813
3882
  emits: ["update:modelValue"],
3814
3883
  setup(e, { emit: a }) {
3815
- const t = e, n = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
3816
- return (l, r) => (d(), b("select", z({
3884
+ const t = e, n = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
3885
+ return (l, i) => (d(), h("select", N({
3817
3886
  id: l.$attrs.id || e.inputId,
3818
3887
  class: "bs-select",
3819
3888
  "data-component": "bs-select",
@@ -3822,12 +3891,12 @@ const Sa = {
3822
3891
  "data-error": e.error,
3823
3892
  value: e.value || e.modelValue
3824
3893
  }, n.value, {
3825
- onChange: r[0] || (r[0] = (u) => l.$emit("update:modelValue", u.target.value))
3894
+ onChange: i[0] || (i[0] = (u) => l.$emit("update:modelValue", u.target.value))
3826
3895
  }), [
3827
- E(l.$slots, "default")
3828
- ], 16, Xn));
3896
+ L(l.$slots, "default")
3897
+ ], 16, Jn));
3829
3898
  }
3830
- }, Jn = ["selected", "disabled"], _n = ["disabled", "selected", "value"], Hl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3899
+ }, el = ["selected", "disabled"], tl = ["disabled", "selected", "value"], Kl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3831
3900
  __name: "BsSelectField",
3832
3901
  props: {
3833
3902
  data: {
@@ -3871,60 +3940,60 @@ const Sa = {
3871
3940
  modelValue: [String, Number]
3872
3941
  },
3873
3942
  setup(e) {
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, `
3943
+ const a = e, [t, n] = X(2), l = p(() => sa.concat(a.passAttrs.split(","))), i = p(() => {
3944
+ var r, c;
3945
+ return ((c = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : c.call(r, `
3877
3946
  `)) || a.hints;
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, {
3947
+ }), u = p(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = p(() => a.inputId || t.value), s = p(() => a.value || a.modelValue);
3948
+ return (r, c) => (d(), h("div", N({ "data-component": "bs-select-field" }, f(K)(r.$attrs, l.value).remaining), [
3949
+ e.label || r.$slots.label ? (d(), O(ne, {
3881
3950
  key: 0,
3882
- for: i.$attrs.id || o.value,
3951
+ for: r.$attrs.id || o.value,
3883
3952
  disabled: e.disabled,
3884
3953
  required: e.required
3885
3954
  }, {
3886
- default: O(() => [
3887
- E(i.$slots, "label", {}, () => [
3888
- W(A(e.label), 1)
3955
+ default: D(() => [
3956
+ L(r.$slots, "label", {}, () => [
3957
+ H(T(e.label), 1)
3889
3958
  ])
3890
3959
  ]),
3891
3960
  _: 3
3892
- }, 8, ["for", "disabled", "required"])) : w("", !0),
3893
- D(Zn, z({
3961
+ }, 8, ["for", "disabled", "required"])) : k("", !0),
3962
+ V(_n, N({
3894
3963
  disabled: e.disabled,
3895
3964
  error: e.error,
3896
- "hint-id": p(n),
3897
- "input-id": i.$attrs.id || o.value,
3965
+ "hint-id": f(n),
3966
+ "input-id": r.$attrs.id || o.value,
3898
3967
  required: e.required,
3899
3968
  value: s.value,
3900
- "onUpdate:modelValue": c[0] || (c[0] = (f) => i.$emit("update:modelValue", f))
3901
- }, p(H)(i.$attrs, l.value).filtered), {
3902
- default: O(() => [
3903
- y("option", {
3969
+ "onUpdate:modelValue": c[0] || (c[0] = (v) => r.$emit("update:modelValue", v))
3970
+ }, f(K)(r.$attrs, l.value).filtered), {
3971
+ default: D(() => [
3972
+ B("option", {
3904
3973
  selected: !s.value,
3905
3974
  value: "",
3906
3975
  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))
3976
+ }, T(e.disabled ? "" : e.placeholder), 9, el),
3977
+ (d(!0), h(W, null, Z(e.data, (v) => (d(), h("option", {
3978
+ key: v.value,
3979
+ disabled: v.disabled,
3980
+ selected: s.value === v.value,
3981
+ value: v.value
3982
+ }, T(v.label), 9, tl))), 128))
3914
3983
  ]),
3915
3984
  _: 1
3916
3985
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
3917
- u.value ? (d(), V(he, {
3986
+ u.value ? (d(), O(pe, {
3918
3987
  key: 1,
3919
3988
  "data-disabled": e.disabled,
3920
3989
  error: e.error,
3921
3990
  "error-msg": e.errorMsg,
3922
- hint: e.hint || r.value,
3923
- "hint-id": p(n)
3924
- }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : w("", !0)
3991
+ hint: e.hint || i.value,
3992
+ "hint-id": f(n)
3993
+ }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : k("", !0)
3925
3994
  ], 16));
3926
3995
  }
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 }, {
3996
+ }), al = ["data-size"], nl = ["data-disabled", "data-pending", "data-size"], ll = ["checked", "disabled", "id"], ol = ["data-inner-on-label", "data-inner-off-label"], Yl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3928
3997
  __name: "BsSwitch",
3929
3998
  props: {
3930
3999
  checked: {
@@ -3970,48 +4039,48 @@ const Sa = {
3970
4039
  },
3971
4040
  emits: ["update:modelValue"],
3972
4041
  setup(e, { emit: a }) {
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({
4042
+ const t = e, n = a, [l] = X(), i = p(() => je.concat(t.passAttrs.split(","))), u = p(() => t.inputId || l.value), o = p(() => t.checked || t.modelValue);
4043
+ return (s, r) => (d(), h("div", N({
3975
4044
  class: "bs-boolean",
3976
4045
  "data-component": "bs-switch",
3977
4046
  "data-size": e.size
3978
- }, p(H)(s.$attrs, r.value).remaining), [
3979
- e.label || s.$slots.label ? (d(), V(ae, {
4047
+ }, f(K)(s.$attrs, i.value).remaining), [
4048
+ e.label || s.$slots.label ? (d(), O(ne, {
3980
4049
  key: 0,
3981
4050
  for: s.$attrs.id || u.value,
3982
4051
  disabled: e.disabled,
3983
4052
  hide: e.hideLabel
3984
4053
  }, {
3985
- default: O(() => [
3986
- E(s.$slots, "label", {}, () => [
3987
- W(A(e.label), 1)
4054
+ default: D(() => [
4055
+ L(s.$slots, "label", {}, () => [
4056
+ H(T(e.label), 1)
3988
4057
  ])
3989
4058
  ]),
3990
4059
  _: 3
3991
- }, 8, ["for", "disabled", "hide"])) : w("", !0),
3992
- y("div", {
4060
+ }, 8, ["for", "disabled", "hide"])) : k("", !0),
4061
+ B("div", {
3993
4062
  class: "bs-switch",
3994
4063
  "data-disabled": e.disabled,
3995
4064
  "data-pending": e.pending,
3996
4065
  "data-size": e.size
3997
4066
  }, [
3998
- y("input", z({
4067
+ B("input", N({
3999
4068
  checked: o.value,
4000
4069
  disabled: e.disabled,
4001
4070
  id: s.$attrs.id || u.value,
4002
4071
  type: "checkbox"
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", {
4072
+ }, f(K)(s.$attrs, i.value).filtered, {
4073
+ onChange: r[0] || (r[0] = (c) => n("update:modelValue", c.target.checked))
4074
+ }), null, 16, ll),
4075
+ B("span", {
4007
4076
  "aria-hidden": "true",
4008
4077
  "data-inner-on-label": e.innerOnLabel,
4009
4078
  "data-inner-off-label": e.innerOffLabel
4010
- }, null, 8, nl)
4011
- ], 8, tl)
4012
- ], 16, el));
4079
+ }, null, 8, ol)
4080
+ ], 8, nl)
4081
+ ], 16, al));
4013
4082
  }
4014
- }), ll = ["aria-controls", "aria-selected", "data-hidden"], Yl = {
4083
+ }), il = ["aria-controls", "aria-selected", "data-hidden"], Ql = {
4015
4084
  __name: "BsTab",
4016
4085
  props: {
4017
4086
  activeTabId: {
@@ -4028,19 +4097,19 @@ const Sa = {
4028
4097
  },
4029
4098
  emits: ["tabClick"],
4030
4099
  setup(e, { emit: a }) {
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());
4100
+ const t = e, n = se(), l = y(), i = p(() => t.activeTabId === n.id), u = p(() => t.panelId || `${n.id}-panel`);
4101
+ function o(r) {
4102
+ (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
4034
4103
  }
4035
4104
  function s() {
4036
4105
  if (t.activeTabId !== n.id) {
4037
- const i = new CustomEvent("tabClick", { detail: n.id, bubbles: !0 });
4038
- l.value.dispatchEvent(i);
4106
+ const r = new CustomEvent("tabClick", { detail: n.id, bubbles: !0 });
4107
+ l.value.dispatchEvent(r);
4039
4108
  }
4040
4109
  }
4041
- return (i, c) => (d(), b("div", {
4110
+ return (r, c) => (d(), h("div", {
4042
4111
  "aria-controls": u.value,
4043
- "aria-selected": r.value ? "true" : "false",
4112
+ "aria-selected": i.value ? "true" : "false",
4044
4113
  "data-hidden": e.hidden || void 0,
4045
4114
  "data-component": "bs-tab",
4046
4115
  role: "tab",
@@ -4050,10 +4119,10 @@ const Sa = {
4050
4119
  onClick: s,
4051
4120
  onKeydown: o
4052
4121
  }, [
4053
- E(i.$slots, "default")
4054
- ], 40, ll));
4122
+ L(r.$slots, "default")
4123
+ ], 40, il));
4055
4124
  }
4056
- }, ol = ["id", "data-resizing"], il = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], rl = 73, sl = 20, dl = 16, Ql = {
4125
+ }, rl = ["id", "data-resizing"], sl = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], dl = 73, ul = 20, cl = 16, Xl = {
4057
4126
  __name: "BsTabList",
4058
4127
  props: {
4059
4128
  activeTabId: { type: String, required: !0 },
@@ -4064,183 +4133,182 @@ const Sa = {
4064
4133
  },
4065
4134
  emits: ["tabChange", "update:modelValue"],
4066
4135
  setup(e, { emit: a }) {
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(() => {
4071
- var L, R;
4072
- let B = [];
4136
+ const t = e, n = a, l = y(!1), i = y(!1), u = y([]), o = y(!1), s = y(!1), r = y(), c = y([]), v = y(!1), w = y([]), m = y(), x = y(), S = y(), [C, P] = X(2), g = p(() => t.activeTabId ? w.value.findIndex(($) => $.id === t.activeTabId) : 0), b = p(() => u.value.some(($) => $.id === t.activeTabId)), z = p(() => `${P.value}-options`), I = p(() => `${P.value}-toggle`), A = p(() => {
4137
+ var $;
4138
+ return b.value ? ($ = w.value[g.value]) == null ? void 0 : $.textContent : "More";
4139
+ }), q = p(() => b.value ? c.value[g.value] - c.value[g.value - 1] + ul : dl), F = p(() => {
4140
+ var E, j;
4141
+ let $ = [];
4073
4142
  if (typeof window > "u")
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")
4143
+ return $;
4144
+ for (let Q of w.value) {
4145
+ if (((E = Q.dataset) == null ? void 0 : E.hidden) === "true" || ((j = Q.dataset) == null ? void 0 : j.hidden) === "" || Q.getAttribute("tabindex") === "-1")
4077
4146
  break;
4078
- B.push(Y);
4147
+ $.push(Q);
4079
4148
  }
4080
- return s.value && B.push(i.value.querySelector(".bs-tab-list-toggle")), B;
4149
+ return s.value && $.push(r.value.querySelector(".bs-tab-list-toggle")), $;
4081
4150
  });
4082
- function de() {
4151
+ function _() {
4083
4152
  var le;
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);
4153
+ let $ = !1, E, j = 0, Q = !1, ee = [];
4154
+ if ((le = w.value) != null && le.length) {
4155
+ for (let te = 0; te < w.value.length; te++) {
4156
+ if (E = w.value[te], E.setAttribute("tabindex", "-1"), Q && te !== g.value) {
4157
+ E.dataset.hidden = "true", ee.push(E);
4089
4158
  continue;
4090
4159
  }
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;
4160
+ if (j = te < w.value.length - 1 ? S.value - q.value : S.value, c.value[te] > j) {
4161
+ E.dataset.hidden = "true", ee.push(E), $ = !0, Q = !0;
4093
4162
  continue;
4094
4163
  }
4095
- L.dataset.hidden = "false", L.setAttribute("tabindex", "0");
4164
+ E.dataset.hidden = "false", E.setAttribute("tabindex", "0");
4096
4165
  }
4097
- s.value = B, u.value = _, l.value || fe(() => l.value = !0), setTimeout(() => {
4098
- j(), x.value = !0;
4099
- }, x.value ? 0 : 1e3);
4166
+ s.value = $, u.value = ee, l.value || ce(() => l.value = !0), setTimeout(() => {
4167
+ M(), v.value = !0;
4168
+ }, v.value ? 0 : 1e3);
4100
4169
  }
4101
4170
  }
4102
- function ue(B) {
4103
- n("tabChange", B), n("update:modelValue", B);
4171
+ function de($) {
4172
+ n("tabChange", $), n("update:modelValue", $);
4104
4173
  }
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;
4174
+ function xe($) {
4175
+ var Q, ee, le;
4176
+ const E = (le = (ee = (Q = w.value[$]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : ee.call(Q)) == null ? void 0 : le.width;
4177
+ return E || ($ === 0 ? c.value[0] : c.value[$] - c.value[$ - 1]) || 0;
4178
+ }
4179
+ function Ae() {
4180
+ var $;
4181
+ ($ = w.value[g.value]) == null || $.setAttribute("aria-selected", "true"), _();
4109
4182
  }
4110
4183
  function Le() {
4111
- var B;
4112
- (B = m.value[h.value]) == null || B.setAttribute("aria-selected", "true"), de();
4184
+ var $;
4185
+ ($ = m.value) == null || $.focus(), o.value = !1;
4113
4186
  }
4114
4187
  function Ve() {
4115
- var B;
4116
- (B = T.value) == null || B.focus(), o.value = !1;
4117
- }
4118
- function Ee() {
4119
- o.value = !o.value, r.value || (r.value = !0);
4188
+ o.value = !o.value, i.value || (i.value = !0);
4120
4189
  }
4121
- function De(B) {
4122
- var L;
4123
- o.value = !1, (L = T.value) == null || L.focus(), ue(B);
4190
+ function Ee($) {
4191
+ var E;
4192
+ o.value = !1, (E = m.value) == null || E.focus(), de($);
4124
4193
  }
4125
- function Oe(B) {
4194
+ function De($) {
4126
4195
  if (t.withBsTabs)
4127
4196
  return;
4128
- const L = B.target.closest('[role="tab"]');
4129
- if (!L || L.getAttribute("aria-selected") === "true")
4197
+ const E = $.target.closest('[role="tab"]');
4198
+ if (!E || E.getAttribute("aria-selected") === "true")
4130
4199
  return;
4131
- const R = L.getAttribute("id");
4132
- ue(R);
4200
+ const j = E.getAttribute("id");
4201
+ de(j);
4133
4202
  }
4134
- function me(B) {
4135
- if (B.key === "ArrowLeft" || B.key === "ArrowRight") {
4136
- const L = X.value.findIndex((R) => R.id === B.target.id);
4137
- if (L === -1)
4203
+ function Oe($) {
4204
+ if ($.key === "ArrowLeft" || $.key === "ArrowRight") {
4205
+ const E = F.value.findIndex((j) => j.id === $.target.id);
4206
+ if (E === -1)
4138
4207
  return;
4139
- B.preventDefault(), B.stopPropagation(), B.key === "ArrowLeft" ? M(L) : ge(L);
4208
+ $.preventDefault(), $.stopPropagation(), $.key === "ArrowLeft" ? be(E) : he(E);
4140
4209
  }
4141
4210
  }
4142
- function ge(B) {
4143
- var R;
4144
- const L = (B + 1) % X.value.length;
4145
- (R = X.value[L]) == null || R.focus();
4211
+ function he($) {
4212
+ var j;
4213
+ const E = ($ + 1) % F.value.length;
4214
+ (j = F.value[E]) == null || j.focus();
4146
4215
  }
4147
- function M(B) {
4148
- var R;
4149
- const L = B === 0 ? X.value.length - 1 : B - 1;
4150
- (R = X.value[L]) == null || R.focus();
4216
+ function be($) {
4217
+ var j;
4218
+ const E = $ === 0 ? F.value.length - 1 : $ - 1;
4219
+ (j = F.value[E]) == null || j.focus();
4151
4220
  }
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`);
4221
+ function M() {
4222
+ var le, te, Ge, He;
4223
+ const $ = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, E = S.value;
4224
+ let j = 300, Q = ((te = (le = F.value) == null ? void 0 : le[g.value]) == null ? void 0 : te.offsetLeft) || 0, ee = xe(g.value);
4225
+ s.value && b.value && (Q = (Ge = m.value) == null ? void 0 : Ge.offsetLeft, ee = (He = m.value) == null ? void 0 : He.offsetWidth), j = Math.max(Math.abs((Q - $) / E * 300), 100), r.value.style.setProperty("--active-line-max-width", `${E}px`), r.value.style.setProperty("--active-line-scale", `${ee / E}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${j}ms`);
4157
4226
  }
4158
4227
  function U() {
4159
- var B, L;
4160
- (L = (B = S.value) == null ? void 0 : B.disconnect) == null || L.call(B), S.value = null;
4228
+ var $, E;
4229
+ (E = ($ = x.value) == null ? void 0 : $.disconnect) == null || E.call($), x.value = null;
4161
4230
  }
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);
4231
+ function G() {
4232
+ x.value = new ResizeObserver(($) => {
4233
+ for (let E of $)
4234
+ S.value = E.contentBoxSize[0].inlineSize;
4235
+ _();
4236
+ }), x.value.observe(r.value);
4168
4237
  }
4169
- function st() {
4170
- m.value = Array.from(i.value.children).filter((B) => B.role === "tab");
4238
+ function ue() {
4239
+ w.value = Array.from(r.value.children).filter(($) => $.role === "tab");
4171
4240
  }
4172
- function dt() {
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);
4241
+ function st() {
4242
+ let $;
4243
+ w.value.forEach((E, j) => {
4244
+ $ = E.getBoundingClientRect().width + cl, c.value.push(j ? $ + c.value[j - 1] : $);
4176
4245
  });
4177
4246
  }
4178
- return N(() => t.activeTabId, Le), K(() => {
4179
- var B;
4247
+ return R(() => t.activeTabId, Ae), Y(() => {
4248
+ var $;
4180
4249
  try {
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;
4182
- } catch (L) {
4183
- console.log("tab error", L);
4250
+ ue(), st(), G(), S.value = r.value.getBoundingClientRect().width, _(), t.withBsTabs || ($ = w.value[g.value]) == null || $.setAttribute("aria-selected", "true");
4251
+ } catch (E) {
4252
+ console.log("tab error", E);
4184
4253
  }
4185
- }), oe(U), (B, L) => (d(), b("div", {
4254
+ }), re(U), ($, E) => (d(), h("div", {
4186
4255
  class: "bs-tab-list",
4187
4256
  "data-component": "bs-tab-list",
4188
- id: B.$attrs.id || p(q),
4257
+ id: $.$attrs.id || f(C),
4189
4258
  ref_key: "hostEl",
4190
- ref: i,
4259
+ ref: r,
4191
4260
  role: "tablist",
4192
4261
  "data-resizing": !l.value || void 0,
4193
- onClick: Oe,
4194
- "on:tabClick": L[0] || (L[0] = (R) => ue(R.detail)),
4195
- onKeydown: me
4262
+ onClick: De,
4263
+ "on:tabClick": E[0] || (E[0] = (j) => de(j.detail)),
4264
+ onKeydown: Oe
4196
4265
  }, [
4197
- E(B.$slots, "default"),
4198
- y("button", {
4199
- "aria-controls": p($),
4266
+ L($.$slots, "default"),
4267
+ B("button", {
4268
+ "aria-controls": f(P),
4200
4269
  "aria-expanded": o.value,
4201
4270
  class: "bs-tab-list-toggle",
4202
- "data-active": C.value || void 0,
4271
+ "data-active": b.value || void 0,
4203
4272
  "data-hidden": !s.value,
4204
- id: P.value,
4273
+ id: I.value,
4205
4274
  ref_key: "dropdownToggle",
4206
- ref: T,
4207
- onClick: Ee
4275
+ ref: m,
4276
+ onClick: Ve
4208
4277
  }, [
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),
4278
+ V(f(Bt), { size: "sm" }),
4279
+ H(" " + T(A.value), 1)
4280
+ ], 8, sl),
4281
+ V(We, {
4282
+ "anchor-id": I.value,
4283
+ "container-id": $.$attrs.id || f(C),
4216
4284
  "helper-description": e.helperDescription || void 0,
4217
4285
  "helper-text": e.helperText,
4218
- id: p($),
4219
- "options-id": I.value,
4286
+ id: f(P),
4287
+ "options-id": z.value,
4220
4288
  position: "right",
4221
4289
  preloaded: "",
4222
4290
  shown: o.value,
4223
4291
  width: "content",
4224
- onClose: Ve,
4225
- "onUpdate:modelValue": De
4292
+ onClose: Le,
4293
+ "onUpdate:modelValue": Ee
4226
4294
  }, {
4227
- default: O(() => [
4228
- (d(!0), b(G, null, Z(u.value, (R) => (d(), V(Ue, {
4229
- key: R.id,
4230
- value: R.id,
4231
- "options-id": I.value
4295
+ default: D(() => [
4296
+ (d(!0), h(W, null, Z(u.value, (j) => (d(), O(Ue, {
4297
+ key: j.id,
4298
+ value: j.id,
4299
+ "options-id": z.value
4232
4300
  }, {
4233
- default: O(() => [
4234
- W(A(R.textContent), 1)
4301
+ default: D(() => [
4302
+ H(T(j.textContent), 1)
4235
4303
  ]),
4236
4304
  _: 2
4237
4305
  }, 1032, ["value", "options-id"]))), 128))
4238
4306
  ]),
4239
4307
  _: 1
4240
- }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])) : w("", !0)
4241
- ], 40, ol));
4308
+ }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
4309
+ ], 40, rl));
4242
4310
  }
4243
- }, ul = ["aria-labelledby", "data-active", "id"], Xl = {
4311
+ }, fl = ["aria-labelledby", "data-active", "id"], Zl = {
4244
4312
  __name: "BsTabPanel",
4245
4313
  props: {
4246
4314
  activeTabId: {
@@ -4253,18 +4321,18 @@ const Sa = {
4253
4321
  }
4254
4322
  },
4255
4323
  setup(e) {
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", {
4324
+ const a = e, t = se(), n = p(() => a.activeTabId && a.activeTabId === a.tabId), l = p(() => t.id || `${a.tabId}-panel`);
4325
+ return (i, u) => (d(), h("section", {
4258
4326
  "aria-labelledby": e.tabId,
4259
4327
  "data-active": n.value,
4260
4328
  "data-component": "bs-tab-panel",
4261
4329
  id: l.value,
4262
4330
  role: "tabpanel"
4263
4331
  }, [
4264
- E(r.$slots, "default")
4265
- ], 8, ul));
4332
+ L(i.$slots, "default")
4333
+ ], 8, fl));
4266
4334
  }
4267
- }, cl = ["data-error", "id", "rows", "value"], fl = {
4335
+ }, pl = ["data-error", "id", "rows", "value"], vl = {
4268
4336
  __name: "BsTextarea",
4269
4337
  props: {
4270
4338
  error: {
@@ -4279,18 +4347,18 @@ const Sa = {
4279
4347
  },
4280
4348
  emits: ["update:modelValue"],
4281
4349
  setup(e, { emit: a }) {
4282
- const t = e, n = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
4283
- return (l, r) => (d(), b("textarea", z({
4350
+ const t = e, n = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
4351
+ return (l, i) => (d(), h("textarea", N({
4284
4352
  class: "bs-textarea",
4285
4353
  "data-component": "bs-textarea",
4286
4354
  "data-error": e.error,
4287
4355
  id: l.$attrs.id || e.inputId,
4288
4356
  rows: l.$attrs.rows || 6,
4289
4357
  value: e.value || e.modelValue,
4290
- onInput: r[0] || (r[0] = (u) => l.$emit("update:modelValue", u.target.value))
4291
- }, n.value), null, 16, cl));
4358
+ onInput: i[0] || (i[0] = (u) => l.$emit("update:modelValue", u.target.value))
4359
+ }, n.value), null, 16, pl));
4292
4360
  }
4293
- }, Zl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4361
+ }, Jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4294
4362
  __name: "BsTextareaField",
4295
4363
  props: {
4296
4364
  /** Sets the maximum value this textarea will allow. Will also display character count if present. This does not set maxlength, so users are able to enter text that is longer and edit it down. Enforcement of length must be by the developer. */
@@ -4339,40 +4407,40 @@ const Sa = {
4339
4407
  },
4340
4408
  emits: ["update:modelValue"],
4341
4409
  setup(e, { emit: a }) {
4342
- const t = e, [n, l] = Q(2), r = v(() => ua.concat(t.passAttrs.split(","))), u = v(() => {
4410
+ const t = e, [n, l] = X(2), i = p(() => da.concat(t.passAttrs.split(","))), u = p(() => {
4343
4411
  var c;
4344
4412
  return ((c = t.value || t.modelValue) == null ? void 0 : c.length) || 0;
4345
- }), o = v(() => {
4346
- var c, f;
4347
- return ((f = (c = t.hints) == null ? void 0 : c.join) == null ? void 0 : f.call(c, `
4413
+ }), o = p(() => {
4414
+ var c, v;
4415
+ return ((v = (c = t.hints) == null ? void 0 : c.join) == null ? void 0 : v.call(c, `
4348
4416
  `)) || t.hints;
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, {
4417
+ }), s = p(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = p(() => t.inputId || n.value);
4418
+ return (c, v) => (d(), h("div", N({ "data-component": "bs-textarea-field" }, f(K)(c.$attrs, i.value).remaining), [
4419
+ e.label || c.$slots.label ? (d(), O(ne, {
4352
4420
  key: 0,
4353
- for: c.$attrs.id || i.value,
4421
+ for: c.$attrs.id || r.value,
4354
4422
  disabled: e.disabled,
4355
4423
  required: e.required
4356
4424
  }, {
4357
- default: O(() => [
4358
- E(c.$slots, "label", {}, () => [
4359
- W(A(e.label), 1)
4425
+ default: D(() => [
4426
+ L(c.$slots, "label", {}, () => [
4427
+ H(T(e.label), 1)
4360
4428
  ])
4361
4429
  ]),
4362
4430
  _: 3
4363
- }, 8, ["for", "disabled", "required"])) : w("", !0),
4364
- D(fl, z({
4431
+ }, 8, ["for", "disabled", "required"])) : k("", !0),
4432
+ V(vl, N({
4365
4433
  disabled: e.disabled,
4366
4434
  error: e.error,
4367
- "hint-id": p(l),
4368
- id: c.$attrs.id || i.value,
4435
+ "hint-id": f(l),
4436
+ id: c.$attrs.id || r.value,
4369
4437
  placeholder: e.placeholder,
4370
4438
  required: e.required,
4371
4439
  rows: e.rows,
4372
4440
  value: e.value || e.modelValue,
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, {
4441
+ "onUpdate:modelValue": v[0] || (v[0] = (w) => c.$emit("update:modelValue", w))
4442
+ }, f(K)(c.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
4443
+ s.value || e.charMax ? (d(), O(pe, {
4376
4444
  key: 1,
4377
4445
  "char-count": u.value,
4378
4446
  "char-max": e.charMax,
@@ -4380,11 +4448,11 @@ const Sa = {
4380
4448
  error: e.error,
4381
4449
  "error-msg": e.errorMsg,
4382
4450
  hint: e.hint || o.value,
4383
- "hint-id": p(l)
4384
- }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : w("", !0)
4451
+ "hint-id": f(l)
4452
+ }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : k("", !0)
4385
4453
  ], 16));
4386
4454
  }
4387
- }), pl = ["data-variant", "data-stacked"], Jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4455
+ }), hl = ["data-variant", "data-stacked"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4388
4456
  __name: "BsToast",
4389
4457
  props: {
4390
4458
  shown: {
@@ -4430,111 +4498,111 @@ const Sa = {
4430
4498
  },
4431
4499
  emits: ["dismiss", "after-enter", "after-leave"],
4432
4500
  setup(e, { emit: a }) {
4433
- const t = e, n = a, { transition: l } = ve(t);
4434
- let r = null;
4435
- re("variant", t.variant), re("handleDismiss", o);
4436
- const u = se("stacked", t.stacked);
4501
+ const t = e, n = a, { transition: l } = fe(t);
4502
+ let i = null;
4503
+ oe("variant", t.variant), oe("handleDismiss", o);
4504
+ const u = ie("stacked", t.stacked);
4437
4505
  function o() {
4438
- r && (clearTimeout(r), r = null), n("dismiss", t.toastId);
4506
+ i && (clearTimeout(i), i = null), n("dismiss", t.toastId);
4439
4507
  }
4440
4508
  function s() {
4441
- t.duration > 0 && (r = setTimeout(() => {
4509
+ t.duration > 0 && (i = setTimeout(() => {
4442
4510
  o();
4443
4511
  }, t.duration)), n("after-enter");
4444
4512
  }
4445
- return (i, c) => (d(), V(p(xe), {
4446
- shown: p(l),
4513
+ return (r, c) => (d(), O(f(Te), {
4514
+ shown: f(l),
4447
4515
  preloaded: e.preloaded,
4448
4516
  duration: 200,
4449
4517
  "enter-attribute": "data-shown",
4450
4518
  onAfterEnter: s,
4451
- onAfterLeave: c[0] || (c[0] = (f) => n("after-leave"))
4519
+ onAfterLeave: c[0] || (c[0] = (v) => n("after-leave"))
4452
4520
  }, {
4453
- default: O(() => [
4454
- y("div", z({
4521
+ default: D(() => [
4522
+ B("div", N({
4455
4523
  class: "bs-toast",
4456
4524
  "data-variant": e.variant,
4457
- "data-stacked": p(u) || void 0,
4525
+ "data-stacked": f(u) || void 0,
4458
4526
  role: "alert"
4459
- }, i.$attrs), [
4460
- E(i.$slots, "default")
4461
- ], 16, pl)
4527
+ }, r.$attrs), [
4528
+ L(r.$slots, "default")
4529
+ ], 16, hl)
4462
4530
  ]),
4463
4531
  _: 3
4464
4532
  }, 8, ["shown", "preloaded"]));
4465
4533
  }
4466
- }), vl = ["data-stacked"], _l = {
4534
+ }), bl = ["data-stacked"], eo = {
4467
4535
  __name: "BsToastActions",
4468
4536
  setup(e) {
4469
- const a = g(!1);
4470
- K(() => {
4537
+ const a = y(!1);
4538
+ Y(() => {
4471
4539
  var l;
4472
- const n = vt();
4540
+ const n = pt();
4473
4541
  ((l = n.default) == null ? void 0 : l.call(n).length) > 2 && (a.value = !0);
4474
4542
  });
4475
- const t = se("handleDismiss");
4476
- return (n, l) => (d(), b("div", {
4543
+ const t = ie("handleDismiss");
4544
+ return (n, l) => (d(), h("div", {
4477
4545
  class: "bs-toast-actions",
4478
4546
  "data-stacked": a.value || void 0
4479
4547
  }, [
4480
- E(n.$slots, "default", {}, () => [
4481
- D(fa, {
4548
+ L(n.$slots, "default", {}, () => [
4549
+ V(ca, {
4482
4550
  size: "sm",
4483
4551
  "text-btn": "",
4484
- onClick: p(t)
4552
+ onClick: f(t)
4485
4553
  }, {
4486
- default: O(() => [
4487
- W(" Dismiss ")
4554
+ default: D(() => [
4555
+ H(" Dismiss ")
4488
4556
  ]),
4489
4557
  _: 1
4490
4558
  }, 8, ["onClick"])
4491
4559
  ])
4492
- ], 8, vl));
4560
+ ], 8, bl));
4493
4561
  }
4494
- }, hl = (e, a) => {
4562
+ }, ml = (e, a) => {
4495
4563
  const t = e.__vccOpts || e;
4496
4564
  for (const [n, l] of a)
4497
4565
  t[n] = l;
4498
4566
  return t;
4499
- }, bl = {}, ml = { class: "bs-toast-body" };
4500
- function gl(e, a) {
4501
- return d(), b("div", ml, [
4502
- E(e.$slots, "default")
4567
+ }, gl = {}, yl = { class: "bs-toast-body" };
4568
+ function Bl(e, a) {
4569
+ return d(), h("div", yl, [
4570
+ L(e.$slots, "default")
4503
4571
  ]);
4504
4572
  }
4505
- const eo = /* @__PURE__ */ hl(bl, [["render", gl]]), yl = ["data-variant"], to = {
4573
+ const to = /* @__PURE__ */ ml(gl, [["render", Bl]]), $l = ["data-variant"], ao = {
4506
4574
  __name: "BsToastHeader",
4507
4575
  setup(e) {
4508
- const a = se("variant"), t = v(() => {
4576
+ const a = ie("variant"), t = p(() => {
4509
4577
  switch (a) {
4510
4578
  case "warning":
4511
4579
  return ze;
4512
4580
  case "positive":
4513
- return wt;
4581
+ return St;
4514
4582
  case "negative":
4515
4583
  return ze;
4516
4584
  default:
4517
- return St;
4585
+ return $t;
4518
4586
  }
4519
4587
  });
4520
- return (n, l) => (d(), b("div", {
4588
+ return (n, l) => (d(), h("div", {
4521
4589
  class: "bs-toast-header",
4522
- "data-variant": p(a)
4590
+ "data-variant": f(a)
4523
4591
  }, [
4524
- (d(), V(J(t.value), { class: "bs-toast-header-icon" })),
4525
- y("h5", null, [
4526
- E(n.$slots, "default")
4592
+ (d(), O(J(t.value), { class: "bs-toast-header-icon" })),
4593
+ B("h5", null, [
4594
+ L(n.$slots, "default")
4527
4595
  ])
4528
- ], 8, yl));
4596
+ ], 8, $l));
4529
4597
  }
4530
- }, Bl = { class: "bs-toaster" }, ao = {
4598
+ }, Sl = { class: "bs-toaster" }, no = {
4531
4599
  __name: "BsToaster",
4532
4600
  setup(e) {
4533
- return re("stacked", !0), (a, t) => (d(), b("div", Bl, [
4534
- E(a.$slots, "default")
4601
+ return oe("stacked", !0), (a, t) => (d(), h("div", Sl, [
4602
+ L(a.$slots, "default")
4535
4603
  ]));
4536
4604
  }
4537
- }, $l = ["data-position"], Sl = ["id"], no = {
4605
+ }, wl = ["data-position"], kl = ["id"], lo = {
4538
4606
  __name: "BsTooltip",
4539
4607
  props: {
4540
4608
  tooltipId: {
@@ -4561,86 +4629,86 @@ const eo = /* @__PURE__ */ hl(bl, [["render", gl]]), yl = ["data-variant"], to =
4561
4629
  }
4562
4630
  },
4563
4631
  setup(e) {
4564
- const a = e, t = g(!1), n = g(!1), l = v(() => {
4632
+ const a = e, t = y(!1), n = y(!1), l = p(() => {
4565
4633
  let o = "bs-tooltip-text";
4566
4634
  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;
4567
4635
  });
4568
- Ce(["Escape"], () => {
4636
+ Ie(["Escape"], () => {
4569
4637
  t.value && (t.value = !1, n.value = !0);
4570
4638
  });
4571
- function r() {
4639
+ function i() {
4572
4640
  t.value = !0;
4573
4641
  }
4574
4642
  function u() {
4575
4643
  t.value = !1, n.value = !1;
4576
4644
  }
4577
- return (o, s) => (d(), b("div", {
4645
+ return (o, s) => (d(), h("div", {
4578
4646
  class: "bs-tooltip",
4579
4647
  "data-position": e.position || void 0,
4580
4648
  "data-component": "bs-tooltip",
4581
- onMouseenter: r,
4582
- onFocusin: r,
4649
+ onMouseenter: i,
4650
+ onFocusin: i,
4583
4651
  onMouseleave: u,
4584
4652
  onFocusout: u
4585
4653
  }, [
4586
- E(o.$slots, "default"),
4587
- e.content ? (d(), b("div", {
4654
+ L(o.$slots, "default"),
4655
+ e.content ? (d(), h("div", {
4588
4656
  key: 0,
4589
- class: te(l.value),
4657
+ class: ae(l.value),
4590
4658
  id: e.tooltipId,
4591
4659
  role: "tooltip"
4592
- }, A(e.content), 11, Sl)) : w("", !0)
4593
- ], 40, $l));
4660
+ }, T(e.content), 11, kl)) : k("", !0)
4661
+ ], 40, wl));
4594
4662
  }
4595
4663
  };
4596
4664
  export {
4597
- Al as BsAccordion,
4598
- Wt as BsBadge,
4599
- Ll as BsBanner,
4600
- fa as BsButton,
4601
- Vl as BsCalendar,
4602
- El as BsChartBar,
4603
- Dl as BsCheckbox,
4604
- Ol as BsCircleButton,
4665
+ Vl as BsAccordion,
4666
+ Ut as BsBadge,
4667
+ El as BsBanner,
4668
+ ca as BsButton,
4669
+ Dl as BsCalendar,
4670
+ Ol as BsChartBar,
4671
+ ql as BsCheckbox,
4672
+ Pl as BsCircleButton,
4605
4673
  it as BsDropdown,
4606
4674
  Xa as BsDropdownMultiselect,
4607
4675
  Ue as BsDropdownOption,
4608
- Be as BsDropdownOptionBuilder,
4676
+ ye as BsDropdownOptionBuilder,
4609
4677
  Fe as BsDropdownOptionList,
4610
4678
  We as BsDropdownWithOptions,
4611
- ql as BsDropdownWithToggle,
4612
- he as BsFieldDetails,
4679
+ Ml as BsDropdownWithToggle,
4680
+ pe as BsFieldDetails,
4613
4681
  en as BsFilterButton,
4614
- Pl as BsIconGradientWrapper,
4615
- be as BsInput,
4616
- Te as BsInputAddon,
4617
- Ml as BsInputField,
4618
- zl as BsInputPhone,
4682
+ zl as BsIconGradientWrapper,
4683
+ ve as BsInput,
4684
+ Ce as BsInputAddon,
4685
+ Nl as BsInputField,
4686
+ Rl as BsInputPhone,
4619
4687
  un as BsInputSearch,
4620
- Nl as BsInputTypeahead,
4621
- ae as BsLabel,
4622
- Rl as BsLoader,
4623
- jl as BsModal,
4624
- yn as BsOverlay,
4625
- Fl as BsPagination,
4626
- Ul as BsPill,
4627
- Wl as BsProfile,
4628
- Kn as BsProfileDetails,
4688
+ jl as BsInputTypeahead,
4689
+ ne as BsLabel,
4690
+ gn as BsLoader,
4691
+ Fl as BsModal,
4692
+ $n as BsOverlay,
4693
+ Ul as BsPagination,
4694
+ Wl as BsPill,
4695
+ Gl as BsProfile,
4696
+ Qn as BsProfileDetails,
4629
4697
  rt as BsProfileImg,
4630
- Gl as BsRadio,
4631
- Zn as BsSelect,
4632
- Hl as BsSelectField,
4633
- Kl as BsSwitch,
4634
- Yl as BsTab,
4635
- Ql as BsTabList,
4636
- Xl as BsTabPanel,
4637
- fl as BsTextarea,
4638
- Zl as BsTextareaField,
4639
- Jl as BsToast,
4640
- _l as BsToastActions,
4641
- eo as BsToastBody,
4642
- to as BsToastHeader,
4643
- ao as BsToaster,
4644
- no as BsTooltip,
4645
- xe as BsTransition
4698
+ Hl as BsRadio,
4699
+ _n as BsSelect,
4700
+ Kl as BsSelectField,
4701
+ Yl as BsSwitch,
4702
+ Ql as BsTab,
4703
+ Xl as BsTabList,
4704
+ Zl as BsTabPanel,
4705
+ vl as BsTextarea,
4706
+ Jl as BsTextareaField,
4707
+ _l as BsToast,
4708
+ eo as BsToastActions,
4709
+ to as BsToastBody,
4710
+ ao as BsToastHeader,
4711
+ no as BsToaster,
4712
+ lo as BsTooltip,
4713
+ Te as BsTransition
4646
4714
  };