@wwtdev/bsds-components-vue3 2.3.6 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
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
- import { v4 as nt } from "uuid";
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";
1
+ import { computed as v, ref as B, onMounted as Y, onUnmounted as re, shallowRef as pt, watch as R, defineAsyncComponent as Re, openBlock as d, createElementBlock as p, unref as f, createElementVNode as b, renderSlot as L, createBlock as O, resolveDynamicComponent as Z, createCommentVNode as w, toDisplayString as T, createVNode as V, normalizeClass as ae, useAttrs as se, mergeProps as N, withCtx as D, Fragment as U, toHandlers as Me, onBeforeUnmount as at, onBeforeMount as nt, nextTick as ce, createTextVNode as G, createSlots as lt, renderList as J, Teleport as vt, withDirectives as Be, Transition as Ke, vShow as Se, provide as oe, inject as ie, isRef as ht, useSlots as bt } from "vue";
2
+ import { v4 as ot } from "uuid";
3
+ import { BsIconCaretDown as it, BsIconWarning as ze, BsIconClose as $e, BsIconCalendar as rt, BsIconCaretSort as gt, BsIconSearch as mt, BsIconCaretLeftDouble as yt, BsIconCaretLeft as Bt, BsIconCaretRight as St, BsIconCaretRightDouble as $t, BsIconActionEllipsis as wt, BsIconGraphPieEmpty as Ye, BsIconCircleStop as kt, BsIconCircleCheck as It, BsIconCircleX as Ct, BsIconCircleEllipsis as Tt, BsIconCirclePlay as xt, BsIconCirclePause as At, BsIconCircleExclamation as st, BsIconThumbsUpStroke as Lt } from "@wwtdev/bsds-icons-vue3";
4
+ import { DatePicker as Vt } from "v-calendar";
5
+ import { Chart as Pe, BarController as Et, BarElement as Dt, CategoryScale as Ot, LinearScale as Pt, Legend as qt, Tooltip as Mt } from "chart.js";
6
+ import { getSupportedCallingCodes as zt, getRegionCodeForCountryCode as Nt, parsePhoneNumber as Xe } from "awesome-phonenumber";
7
7
  const Qe = {
8
8
  href: "a",
9
9
  linkTo: "a",
@@ -12,23 +12,23 @@ const Qe = {
12
12
  type: "button"
13
13
  };
14
14
  function we(e, a, t = "button") {
15
- const n = Et(e, a, t), l = p(() => {
15
+ const n = Rt(e, a, t), l = v(() => {
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
- }), i = p(() => {
18
+ }), i = v(() => {
19
19
  const o = { ...a, ...l.value };
20
20
  return delete o.href, o;
21
- }), u = p(() => e.linkTo || e.href);
21
+ }), u = v(() => e.linkTo || e.href);
22
22
  return { rootTag: n, attrsToBind: i, hrefUrl: u };
23
23
  }
24
- function Et(e, a, t) {
25
- const n = Object.keys(Qe).find((l) => Dt(e, a, l));
26
- return y(Qe[n] || t);
24
+ function Rt(e, a, t) {
25
+ const n = Object.keys(Qe).find((l) => jt(e, a, l));
26
+ return B(Qe[n] || t);
27
27
  }
28
- function Dt(e, a, t) {
28
+ function jt(e, a, t) {
29
29
  return e[t] || a[t];
30
30
  }
31
- const Ot = (e, a) => {
31
+ const Ft = (e, a) => {
32
32
  const t = (n) => {
33
33
  e.some((l) => {
34
34
  var i;
@@ -42,10 +42,10 @@ const Ot = (e, a) => {
42
42
  });
43
43
  };
44
44
  function ke(e) {
45
- const a = p(() => e.linkTo || e.href || ""), t = p(() => {
45
+ const a = v(() => e.linkTo || e.href || ""), t = v(() => {
46
46
  var i, u;
47
47
  return ((u = (i = a.value) == null ? void 0 : i.startsWith) == null ? void 0 : u.call(i, "/")) || !1;
48
- }), n = p(() => {
48
+ }), n = v(() => {
49
49
  var i, u;
50
50
  return t.value && ((i = e.router) == null ? void 0 : i.navigateTo) || ((u = e.router) == null ? void 0 : u.push) || null;
51
51
  });
@@ -60,28 +60,28 @@ function ke(e) {
60
60
  }
61
61
  return { onLinkClick: l };
62
62
  }
63
- function Xe(e) {
63
+ function Je(e) {
64
64
  return e.split("-").map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join("");
65
65
  }
66
- const me = (e, a) => {
66
+ const ge = (e, a) => {
67
67
  function t(l) {
68
68
  if (!l)
69
69
  return null;
70
- const i = l.startsWith("bs-") ? Xe(l) : `BsIcon${Xe(l)}`;
70
+ const i = l.startsWith("bs-") ? Je(l) : `BsIcon${Je(l)}`;
71
71
  return Re(async () => {
72
72
  const { [i]: u } = await import("@wwtdev/bsds-icons-vue3");
73
73
  return u;
74
74
  });
75
75
  }
76
- const n = dt();
76
+ const n = pt();
77
77
  return n.value = t(e[a]), R(() => e[a], async (l) => n.value = t(l)), { icon: n };
78
78
  };
79
- function X(e = 1) {
79
+ function Q(e = 1) {
80
80
  const a = [];
81
81
  for (let t = 0; t < e; t++)
82
- a.push(y(""));
82
+ a.push(B(""));
83
83
  return Y(() => {
84
- a.forEach((t) => t.value = `id-${nt()}`);
84
+ a.forEach((t) => t.value = `id-${ot()}`);
85
85
  }), a;
86
86
  }
87
87
  const Ie = (e, a, t = void 0) => {
@@ -93,7 +93,7 @@ const Ie = (e, a, t = void 0) => {
93
93
  }), re(() => {
94
94
  ((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", n);
95
95
  });
96
- }, qt = (e, a, t) => {
96
+ }, Ut = (e, a, t) => {
97
97
  let n = null;
98
98
  Y(() => {
99
99
  n = new MutationObserver(a), n.observe(e.value, t);
@@ -101,7 +101,7 @@ const Ie = (e, a, t = void 0) => {
101
101
  n.disconnect();
102
102
  });
103
103
  }, fe = (e) => {
104
- const a = y(!1);
104
+ const a = B(!1);
105
105
  return Y(() => {
106
106
  e.enterControlled ? a.value = e.enterTrigger : a.value = e.shown;
107
107
  }), R(() => e.shown, (t) => {
@@ -111,11 +111,11 @@ const Ie = (e, a, t = void 0) => {
111
111
  }), R(() => e.leaveTrigger, (t) => {
112
112
  t && (a.value = !1);
113
113
  }), { transition: a };
114
- }, Pt = ["id", "data-stacked"], Mt = ["data-open"], zt = ["aria-controls", "aria-expanded"], Nt = {
114
+ }, Wt = ["id", "data-stacked"], Gt = ["data-open"], Ht = ["aria-controls", "aria-expanded"], Kt = {
115
115
  key: 0,
116
116
  "data-position": "start",
117
117
  style: { display: "inline-flex" }
118
- }, Rt = ["id"], jt = ["aria-labelledby", "data-open", "id"], Vl = {
118
+ }, Yt = ["id"], Xt = ["aria-labelledby", "data-open", "id"], Xl = {
119
119
  __name: "BsAccordion",
120
120
  props: {
121
121
  controlled: { type: Boolean, default: !1 },
@@ -132,11 +132,11 @@ const Ie = (e, a, t = void 0) => {
132
132
  },
133
133
  emits: ["toggled"],
134
134
  setup(e, { emit: a }) {
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() {
135
+ const t = e, n = a, l = B(null), i = B(!1), { icon: u } = ge(t, "icon"), [o] = Q(), s = v(() => o.value + "-content"), r = v(() => o.value + "-title"), c = v(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), h = v(() => t.controlled ? c.value : i.value);
136
+ function k() {
137
137
  n("toggled", o.value), t.controlled || (i.value = !i.value);
138
138
  }
139
- return (m, x) => (d(), h("div", {
139
+ return (g, x) => (d(), p("div", {
140
140
  id: f(o),
141
141
  ref_key: "containerRef",
142
142
  ref: l,
@@ -144,43 +144,43 @@ const Ie = (e, a, t = void 0) => {
144
144
  "data-component": "bs-accordion",
145
145
  "data-stacked": e.stacked
146
146
  }, [
147
- B("header", {
147
+ b("header", {
148
148
  part: "header",
149
- "data-open": v.value
149
+ "data-open": h.value
150
150
  }, [
151
- B("button", {
151
+ b("button", {
152
152
  "aria-controls": s.value,
153
- "aria-expanded": v.value,
153
+ "aria-expanded": h.value,
154
154
  type: "button",
155
- onClick: w
155
+ onClick: k
156
156
  }, [
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)
157
+ e.icon || g.$slots.icon ? (d(), p("span", Kt, [
158
+ L(g.$slots, "icon", {}, () => [
159
+ e.icon ? (d(), O(Z(f(u) ? f(u) : "span"), { key: 0 })) : w("", !0)
160
160
  ])
161
- ])) : k("", !0),
162
- B("span", { id: r.value }, T(e.headerText), 9, Rt),
163
- V(f(lt), {
161
+ ])) : w("", !0),
162
+ b("span", { id: r.value }, T(e.headerText), 9, Yt),
163
+ V(f(it), {
164
164
  size: "md",
165
165
  "data-position": "end"
166
166
  })
167
- ], 8, zt)
168
- ], 8, Mt),
169
- B("div", {
167
+ ], 8, Ht)
168
+ ], 8, Gt),
169
+ b("div", {
170
170
  "aria-labelledby": r.value,
171
171
  class: "bs-accordion-content",
172
- "data-open": v.value,
172
+ "data-open": h.value,
173
173
  id: s.value,
174
174
  part: "content",
175
175
  role: "region"
176
176
  }, [
177
- B("div", null, [
178
- L(m.$slots, "default")
177
+ b("div", null, [
178
+ L(g.$slots, "default")
179
179
  ])
180
- ], 8, jt)
181
- ], 8, Pt));
180
+ ], 8, Xt)
181
+ ], 8, Wt));
182
182
  }
183
- }, Ft = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], Ut = {
183
+ }, Qt = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], Jt = {
184
184
  __name: "BsBadge",
185
185
  props: {
186
186
  /** Pass value to set `data-badge-color`. */
@@ -227,7 +227,7 @@ const Ie = (e, a, t = void 0) => {
227
227
  }
228
228
  },
229
229
  setup(e) {
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(() => {
230
+ const a = e, t = B(null), n = v(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), l = v(() => {
231
231
  var s, r;
232
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)
@@ -235,7 +235,7 @@ const Ie = (e, a, t = void 0) => {
235
235
  const o = a.count !== 1 ? "s" : "";
236
236
  return `${i ? `${i}, ` : ""}${u}${a.label}${o}`;
237
237
  });
238
- return (i, u) => (d(), h("span", {
238
+ return (i, u) => (d(), p("span", {
239
239
  ref_key: "hostRef",
240
240
  ref: t,
241
241
  "aria-label": l.value,
@@ -248,43 +248,73 @@ const Ie = (e, a, t = void 0) => {
248
248
  "data-variant": e.variant,
249
249
  role: "status"
250
250
  }, [
251
- e.variant !== "notext" ? L(i.$slots, "default", { key: 0 }) : k("", !0)
252
- ], 10, Ft));
251
+ e.variant !== "notext" ? L(i.$slots, "default", { key: 0 }) : w("", !0)
252
+ ], 10, Qt));
253
253
  }
254
- }, Wt = {
254
+ }, Zt = {
255
255
  key: 0,
256
256
  role: "alert",
257
257
  class: "bs-banner"
258
- }, Gt = { class: "bs-banner-content" }, Ht = { class: "bs-banner-warning-icon" }, El = {
258
+ }, _t = { class: "bs-banner-content" }, ea = { class: "bs-banner-warning-icon" }, Ql = {
259
259
  __name: "BsBanner",
260
260
  emits: ["dismiss"],
261
261
  setup(e, { emit: a }) {
262
- const t = a, n = y(!1);
262
+ const t = a, n = B(!1);
263
263
  function l() {
264
264
  n.value = !0, t("dismiss");
265
265
  }
266
- return (i, u) => n.value ? k("", !0) : (d(), h("div", Wt, [
267
- B("div", Gt, [
268
- B("div", Ht, [
266
+ return (i, u) => n.value ? w("", !0) : (d(), p("div", Zt, [
267
+ b("div", _t, [
268
+ b("div", ea, [
269
269
  V(f(ze), { size: "lg" })
270
270
  ]),
271
- B("p", null, [
271
+ b("p", null, [
272
272
  L(i.$slots, "default")
273
273
  ]),
274
- B("button", {
274
+ b("button", {
275
275
  type: "button",
276
276
  title: "Close Banner",
277
277
  onClick: l
278
278
  }, [
279
- V(f(Se))
279
+ V(f($e))
280
280
  ])
281
281
  ])
282
282
  ]));
283
283
  }
284
- }, Kt = {
284
+ }, ta = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
285
+ __name: "BsButton",
286
+ props: {
287
+ variant: { type: String },
288
+ disabled: { type: Boolean, default: !1 },
289
+ ghostBtn: { type: Boolean, default: !1 },
290
+ /** @DEPRECATED in favor of linkTo */
291
+ href: { type: String },
292
+ linkTo: { type: String },
293
+ router: {},
294
+ textBtn: { type: Boolean, default: !1 },
295
+ size: { type: String, validator: (e) => ["sm", "xs", "xxs"].includes(e) }
296
+ },
297
+ setup(e) {
298
+ const a = e, t = se(), { rootTag: n, attrsToBind: l, hrefUrl: i } = we(a, t), { onLinkClick: u } = ke(a);
299
+ return (o, s) => (d(), O(Z(f(n)), N({
300
+ class: "bs-button",
301
+ "data-component": "bs-button",
302
+ "data-ghost": e.ghostBtn,
303
+ "data-size": e.size,
304
+ "data-text": e.textBtn,
305
+ "data-variant": e.variant,
306
+ ".href": f(i)
307
+ }, f(l), { onClick: f(u) }), {
308
+ default: D(() => [
309
+ L(o.$slots, "default")
310
+ ]),
311
+ _: 3
312
+ }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
313
+ }
314
+ }), aa = {
285
315
  class: "bs-field-details",
286
316
  "data-component": "bs-field-details"
287
- }, Yt = ["id", "data-error"], Qt = ["data-error"], pe = {
317
+ }, na = ["id", "data-error"], la = ["data-error"], pe = {
288
318
  __name: "BsFieldDetails",
289
319
  props: {
290
320
  /** The number of characters that have been entered by the user. */
@@ -304,26 +334,26 @@ const Ie = (e, a, t = void 0) => {
304
334
  hintId: String
305
335
  },
306
336
  setup(e) {
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", {
337
+ const a = e, t = v(() => a.error && a.errorMsg || a.hint);
338
+ return (n, l) => (d(), p("div", aa, [
339
+ t.value ? (d(), p("span", {
310
340
  key: 0,
311
341
  id: e.hintId,
312
342
  class: "bs-hint",
313
343
  "data-error": e.error
314
- }, T(t.value), 9, Yt)) : k("", !0),
315
- e.charMax ? (d(), h("span", {
344
+ }, T(t.value), 9, na)) : w("", !0),
345
+ e.charMax ? (d(), p("span", {
316
346
  key: 1,
317
347
  "aria-description": "character count over character limit for the preceding text field",
318
348
  class: "bs-character-count",
319
349
  "data-error": a.charCount > a.charMax
320
- }, T(a.charCount || "0") + " / " + T(a.charMax), 9, Qt)) : k("", !0)
350
+ }, T(a.charCount || "0") + " / " + T(a.charMax), 9, la)) : w("", !0)
321
351
  ]));
322
352
  }
323
- }, Xt = ["data-disabled", "for"], Zt = /* @__PURE__ */ B("span", {
353
+ }, oa = ["data-disabled", "for"], ia = /* @__PURE__ */ b("span", {
324
354
  "data-required": "true",
325
355
  "aria-hidden": "true"
326
- }, " *", -1), Jt = /* @__PURE__ */ B("span", { class: "visually-hidden" }, "required", -1), ne = {
356
+ }, " *", -1), ra = /* @__PURE__ */ b("span", { class: "visually-hidden" }, "required", -1), ne = {
327
357
  __name: "BsLabel",
328
358
  props: {
329
359
  disabled: { type: Boolean, default: !1 },
@@ -332,22 +362,22 @@ const Ie = (e, a, t = void 0) => {
332
362
  required: { type: Boolean, default: !1 }
333
363
  },
334
364
  setup(e) {
335
- return (a, t) => (d(), h("label", {
365
+ return (a, t) => (d(), p("label", {
336
366
  class: ae(["bs-label", e.hide ? "visually-hidden" : ""]),
337
367
  "data-component": "bs-label",
338
368
  "data-disabled": e.disabled,
339
369
  for: e.for
340
370
  }, [
341
- B("span", null, [
371
+ b("span", null, [
342
372
  L(a.$slots, "default")
343
373
  ]),
344
- e.required ? (d(), h(W, { key: 0 }, [
345
- Zt,
346
- Jt
347
- ], 64)) : k("", !0)
348
- ], 10, Xt));
374
+ e.required ? (d(), p(U, { key: 0 }, [
375
+ ia,
376
+ ra
377
+ ], 64)) : w("", !0)
378
+ ], 10, oa));
349
379
  }
350
- }, _t = ["data-error", "id", "value"], ve = {
380
+ }, sa = ["data-error", "id", "value"], ve = {
351
381
  __name: "BsInput",
352
382
  props: {
353
383
  error: {
@@ -362,21 +392,21 @@ const Ie = (e, a, t = void 0) => {
362
392
  },
363
393
  emits: ["update:modelValue"],
364
394
  setup(e, { emit: a }) {
365
- const t = e, n = a, l = se(), i = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
395
+ const t = e, n = a, l = se(), i = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
366
396
  function u(o) {
367
397
  const s = l.type === "number" ? parseInt(o.target.value) : o.target.value;
368
398
  n("update:modelValue", s);
369
399
  }
370
- return (o, s) => (d(), h("input", N({
400
+ return (o, s) => (d(), p("input", N({
371
401
  class: "bs-input",
372
402
  "data-component": "bs-input",
373
403
  "data-error": e.error,
374
404
  id: o.$attrs.id || e.inputId,
375
405
  value: e.value || e.modelValue,
376
406
  onInput: u
377
- }, i.value), null, 16, _t));
407
+ }, i.value), null, 16, sa));
378
408
  }
379
- }, ea = ["data-disabled", "data-error", "data-variant", "data-multifocus"], Ce = {
409
+ }, da = ["data-disabled", "data-error", "data-variant", "data-multifocus"], Ce = {
380
410
  __name: "BsInputAddon",
381
411
  props: {
382
412
  disabled: { type: Boolean, default: !1 },
@@ -385,7 +415,7 @@ const Ie = (e, a, t = void 0) => {
385
415
  variant: { type: String, validator: (e) => e === "inner-bordered" }
386
416
  },
387
417
  setup(e) {
388
- return (a, t) => (d(), h("div", {
418
+ return (a, t) => (d(), p("div", {
389
419
  class: "bs-input-addon",
390
420
  "data-component": "bs-input-addon",
391
421
  "data-disabled": e.disabled,
@@ -394,9 +424,9 @@ const Ie = (e, a, t = void 0) => {
394
424
  "data-multifocus": e.multifocus
395
425
  }, [
396
426
  L(a.$slots, "default")
397
- ], 8, ea));
427
+ ], 8, da));
398
428
  }
399
- }, ta = {
429
+ }, ua = {
400
430
  __name: "BsInputDateSingle",
401
431
  props: {
402
432
  disabled: {
@@ -434,7 +464,7 @@ const Ie = (e, a, t = void 0) => {
434
464
  error: e.error
435
465
  }, {
436
466
  default: D(() => [
437
- V(f(ot)),
467
+ V(f(rt)),
438
468
  V(ve, N({
439
469
  "data-autowidth": "",
440
470
  disabled: e.disabled,
@@ -457,7 +487,7 @@ function Ne(e, a, t) {
457
487
  }, a);
458
488
  };
459
489
  }
460
- const aa = ["disabled", "id", "model-value"], na = ["disabled", "id", "model-value"], la = {
490
+ const ca = ["disabled", "id", "model-value"], fa = ["disabled", "id", "model-value"], pa = {
461
491
  __name: "BsInputDateRange",
462
492
  props: {
463
493
  disabled: {
@@ -494,14 +524,14 @@ const aa = ["disabled", "id", "model-value"], na = ["disabled", "id", "model-val
494
524
  },
495
525
  emits: ["ui-focusin", "ui-input"],
496
526
  setup(e, { emit: a }) {
497
- const t = a, n = y(null), l = y(null);
527
+ const t = a, n = B(null), l = B(null);
498
528
  function i(r) {
499
529
  const c = new Event("change", { bubbles: !0, cancelable: !0 });
500
530
  r.dispatchEvent(c);
501
531
  }
502
532
  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);
533
+ const { value: c } = r.target, [h, k] = c.split(/ to | - /);
534
+ n.value.value = h || "", l.value.value = k || "", i(n.value), i(l.value);
505
535
  }
506
536
  const o = Ne(u, 1e3);
507
537
  function s(r) {
@@ -512,7 +542,7 @@ const aa = ["disabled", "id", "model-value"], na = ["disabled", "id", "model-val
512
542
  error: e.error
513
543
  }, {
514
544
  default: D(() => [
515
- V(f(ot)),
545
+ V(f(rt)),
516
546
  V(ve, {
517
547
  "data-autowidth": "",
518
548
  disabled: e.disabled,
@@ -520,56 +550,56 @@ const aa = ["disabled", "id", "model-value"], na = ["disabled", "id", "model-val
520
550
  "model-value": e.inputValueFmt,
521
551
  placeholder: e.placeholder,
522
552
  required: e.required,
523
- onFocusin: c[0] || (c[0] = (v) => r.$emit("ui-focusin")),
553
+ onFocusin: c[0] || (c[0] = (h) => r.$emit("ui-focusin")),
524
554
  onInput: s,
525
555
  onChange: u
526
556
  }, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
527
- B("input", N({
557
+ b("input", N({
528
558
  ref_key: "hiddenStart",
529
559
  ref: n,
530
560
  type: "hidden",
531
561
  disabled: e.disabled,
532
562
  id: `${e.inputId}-start`,
533
563
  "model-value": e.inputValue.start
534
- }, Me(e.listeners.start, !0)), null, 16, aa),
535
- B("input", N({
564
+ }, Me(e.listeners.start, !0)), null, 16, ca),
565
+ b("input", N({
536
566
  ref_key: "hiddenEnd",
537
567
  ref: l,
538
568
  type: "hidden",
539
569
  disabled: e.disabled,
540
570
  id: `${e.inputId}-end`,
541
571
  "model-value": e.inputValue.end
542
- }, Me(e.listeners.end, !0)), null, 16, na)
572
+ }, Me(e.listeners.end, !0)), null, 16, fa)
543
573
  ]),
544
574
  _: 1
545
575
  }, 8, ["disabled", "error"]));
546
576
  }
547
577
  };
548
- function oa(e) {
578
+ function va(e) {
549
579
  var a, t;
550
580
  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
581
  }
552
- function ia(e) {
582
+ function ha(e) {
553
583
  return e === " " || e === "Spacebar" || e === "Enter";
554
584
  }
555
585
  function Ze(e) {
556
- oa(e == null ? void 0 : e.target) && ia(e == null ? void 0 : e.key) && e.preventDefault();
586
+ va(e == null ? void 0 : e.target) && ha(e == null ? void 0 : e.key) && e.preventDefault();
557
587
  }
558
- function ra(e) {
588
+ function ba(e) {
559
589
  let a;
560
590
  Y(() => {
561
591
  var t, n, l;
562
592
  a = (t = e == null ? void 0 : e.value) == null ? void 0 : t.popoverRef, (l = (n = a == null ? void 0 : a.$el) == null ? void 0 : n.addEventListener) == null || l.call(n, "keydown", Ze);
563
- }), tt(() => {
593
+ }), at(() => {
564
594
  var t, n;
565
595
  (n = (t = a == null ? void 0 : a.$el) == null ? void 0 : t.removeEventListener) == null || n.call(t, "keydown", Ze), a = null;
566
596
  });
567
597
  }
568
- function Je(e, a, t = []) {
598
+ function _e(e, a, t = []) {
569
599
  let n;
570
- at(() => {
600
+ nt(() => {
571
601
  n = window.matchMedia(e), n.addEventListener("change", a), a(n);
572
- }), tt(() => {
602
+ }), at(() => {
573
603
  n.removeEventListener("change", a), n = null;
574
604
  }), t.length && R(t, () => a(n));
575
605
  }
@@ -579,7 +609,7 @@ const je = [
579
609
  "form",
580
610
  "id",
581
611
  "name"
582
- ], sa = [
612
+ ], ga = [
583
613
  "aria-describedby",
584
614
  "aria-label",
585
615
  "autocomplete",
@@ -589,7 +619,7 @@ const je = [
589
619
  "multiple",
590
620
  "name",
591
621
  "size"
592
- ], da = [
622
+ ], ma = [
593
623
  "aria-describedby",
594
624
  "aria-label",
595
625
  "autocapitalize",
@@ -607,7 +637,7 @@ const je = [
607
637
  "rows",
608
638
  "spellcheck",
609
639
  "wrap"
610
- ], ge = [
640
+ ], me = [
611
641
  "aria-describedby",
612
642
  "aria-label",
613
643
  "autocapitalize",
@@ -634,7 +664,7 @@ function K(e, a = []) {
634
664
  a.includes(l) ? t[l] = e[l] : n[l] = e[l];
635
665
  }), { filtered: t, remaining: n };
636
666
  }
637
- const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
667
+ const ya = ["data-range"], et = "(min-width: 752px)", Jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
638
668
  __name: "BsCalendar",
639
669
  props: {
640
670
  disabled: {
@@ -659,6 +689,10 @@ const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Objec
659
689
  inputId: {
660
690
  type: String
661
691
  },
692
+ inputMode: {
693
+ type: Boolean,
694
+ default: !0
695
+ },
662
696
  isRange: {
663
697
  type: Boolean,
664
698
  default: !1
@@ -697,7 +731,7 @@ const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Objec
697
731
  },
698
732
  emits: ["update:modelValue"],
699
733
  setup(e, { emit: a }) {
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(), [
734
+ const t = e, n = B(null), l = B(1), i = B(null), [u, o] = Q(2), s = B(1), { filtered: r, remaining: c } = K(se(), [
701
735
  "attributes",
702
736
  "expanded",
703
737
  "first-day-of-week",
@@ -705,52 +739,52 @@ const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Objec
705
739
  "masks",
706
740
  "rows",
707
741
  "trim-weeks"
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
- _e,
711
- (b) => l.value = b != null && b.matches && S.value == "2-col" ? 2 : 1,
712
- [S]
713
- ), Je(
714
- _e,
715
- (b) => s.value = b != null && b.matches && S.value == "2-col" ? x.value : 1,
716
- [x, S]
742
+ ]), h = v(() => t.inputId || u.value), k = v(() => ({ range: t.isRange })), g = v(() => !!(t.error && t.errorMsg || t.hint)), x = v(() => t.step), $ = v(() => t.variant);
743
+ ba(n), _e(
744
+ et,
745
+ (m) => l.value = m != null && m.matches && $.value == "2-col" ? 2 : 1,
746
+ [$]
747
+ ), _e(
748
+ et,
749
+ (m) => s.value = m != null && m.matches && $.value == "2-col" ? x.value : 1,
750
+ [x, $]
717
751
  ), 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);
752
+ var m, z;
753
+ return (z = (m = n.value) == null ? void 0 : m.popoverRef) == null ? void 0 : z.isVisible;
754
+ }, (m) => {
755
+ m && ce(y);
722
756
  });
723
- function C(b) {
724
- return t.isRange && b.start && b.end ? `${b.start} to ${b.end}` : !t.isRange && b ? b : "";
757
+ function C(m) {
758
+ return t.isRange && m.start && m.end ? `${m.start} to ${m.end}` : !t.isRange && m ? m : "";
725
759
  }
726
- function P(b) {
727
- !t.isRange || i.value.contains(b.relatedTarget) || n.value.hidePopover();
760
+ function q(m) {
761
+ !t.isRange || i.value.contains(m.relatedTarget) || n.value.hidePopover();
728
762
  }
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");
763
+ function y() {
764
+ const m = i.value.querySelector("button.vc-prev"), z = i.value.querySelector("button.vc-next");
765
+ m && m.setAttribute("aria-label", "Previous month"), z && z.setAttribute("aria-label", "Next month");
732
766
  }
733
- return (b, z) => (d(), h("div", N({
767
+ return (m, z) => (d(), p("div", N({
734
768
  ref_key: "container",
735
769
  ref: i,
736
770
  class: "bs-calendar",
737
771
  "data-range": e.isRange,
738
- onFocusout: P
772
+ onFocusout: q
739
773
  }, f(c)), [
740
- e.label || b.$slots.label ? (d(), O(ne, {
774
+ e.label || m.$slots.label ? (d(), O(ne, {
741
775
  key: 0,
742
- for: v.value,
776
+ for: h.value,
743
777
  disabled: e.disabled,
744
778
  required: e.required
745
779
  }, {
746
780
  default: D(() => [
747
- L(b.$slots, "label", {}, () => [
748
- H(T(e.label), 1)
781
+ L(m.$slots, "label", {}, () => [
782
+ G(T(e.label), 1)
749
783
  ])
750
784
  ]),
751
785
  _: 3
752
- }, 8, ["for", "disabled", "required"])) : k("", !0),
753
- V(f(wt), N({
786
+ }, 8, ["for", "disabled", "required"])) : w("", !0),
787
+ V(f(Vt), N({
754
788
  ref_key: "calendar",
755
789
  ref: n,
756
790
  columns: l.value,
@@ -759,80 +793,51 @@ const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Objec
759
793
  "min-date": e.minDate,
760
794
  mode: "date",
761
795
  "model-value": e.modelValue,
762
- "model-modifiers": w.value,
796
+ "model-modifiers": k.value,
763
797
  popover: { visibility: "focus" },
764
798
  rows: 1,
765
799
  step: s.value,
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
- key: 1,
771
- disabled: e.disabled,
772
- error: e.error,
773
- "hidden-end-ref": b.inputEnd,
774
- "hidden-start-ref": b.inputStart,
775
- "input-id": v.value,
776
- "input-value": I,
777
- "input-value-fmt": C(I),
778
- listeners: A,
779
- placeholder: e.placeholder,
780
- required: e.required,
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
- key: 0,
785
- disabled: e.disabled,
786
- error: e.error,
787
- "input-id": v.value,
788
- listeners: A,
789
- "model-value": C(I),
790
- placeholder: e.placeholder,
791
- required: e.required
792
- }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
793
- ]),
794
- _: 1
795
- }, 16, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
796
- m.value ? (d(), O(pe, {
800
+ "onUpdate:modelValue": z[0] || (z[0] = (I) => m.$emit("update:modelValue", I))
801
+ }, f(r)), lt({ _: 2 }, [
802
+ e.inputMode ? {
803
+ name: "default",
804
+ fn: D(({ inputValue: I, inputEvents: A, showPopover: P }) => [
805
+ e.isRange ? (d(), O(pa, {
806
+ key: 1,
807
+ disabled: e.disabled,
808
+ error: e.error,
809
+ "input-id": h.value,
810
+ "input-value": I,
811
+ "input-value-fmt": C(I),
812
+ listeners: A,
813
+ placeholder: e.placeholder,
814
+ required: e.required,
815
+ onUiFocusin: P,
816
+ onUiInput: P
817
+ }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (d(), O(ua, {
818
+ key: 0,
819
+ disabled: e.disabled,
820
+ error: e.error,
821
+ "input-id": h.value,
822
+ listeners: A,
823
+ "model-value": C(I),
824
+ placeholder: e.placeholder,
825
+ required: e.required
826
+ }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
827
+ ]),
828
+ key: "0"
829
+ } : void 0
830
+ ]), 1040, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
831
+ g.value ? (d(), O(pe, {
797
832
  key: 1,
798
833
  error: e.error,
799
834
  "error-msg": e.errorMsg,
800
835
  hint: e.hint,
801
836
  "hint-id": f(o)
802
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : k("", !0)
803
- ], 16, ua));
837
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : w("", !0)
838
+ ], 16, ya));
804
839
  }
805
- }), ca = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
806
- __name: "BsButton",
807
- props: {
808
- variant: { type: String },
809
- disabled: { type: Boolean, default: !1 },
810
- ghostBtn: { type: Boolean, default: !1 },
811
- /** @DEPRECATED in favor of linkTo */
812
- href: { type: String },
813
- linkTo: { type: String },
814
- router: {},
815
- textBtn: { type: Boolean, default: !1 },
816
- size: { type: String, validator: (e) => ["sm", "xs", "xxs"].includes(e) }
817
- },
818
- setup(e) {
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
- class: "bs-button",
822
- "data-component": "bs-button",
823
- "data-ghost": e.ghostBtn,
824
- "data-size": e.size,
825
- "data-text": e.textBtn,
826
- "data-variant": e.variant,
827
- ".href": f(i)
828
- }, f(l), { onClick: f(u) }), {
829
- default: D(() => [
830
- L(o.$slots, "default")
831
- ]),
832
- _: 3
833
- }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
834
- }
835
- }), fa = { "data-component": "bs-chart-table" }, pa = ["summary"], va = ["colspan"], ha = /* @__PURE__ */ B("th", { scope: "col" }, " Dataset ", -1), ba = { scope: "row" }, ma = {
840
+ }), Ba = { "data-component": "bs-chart-table" }, Sa = ["summary"], $a = ["colspan"], wa = /* @__PURE__ */ b("th", { scope: "col" }, " Dataset ", -1), ka = { scope: "row" }, Ia = {
836
841
  __name: "BsChartTable",
837
842
  props: {
838
843
  data: {
@@ -851,37 +856,37 @@ const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Objec
851
856
  setup(e) {
852
857
  return (a, t) => {
853
858
  var n;
854
- return d(), h("div", fa, [
855
- B("table", { summary: e.tableTitle }, [
856
- B("thead", null, [
857
- B("tr", null, [
858
- B("th", {
859
+ return d(), p("div", Ba, [
860
+ b("table", { summary: e.tableTitle }, [
861
+ b("thead", null, [
862
+ b("tr", null, [
863
+ b("th", {
859
864
  colspan: ((n = e.dataIdxLabels) == null ? void 0 : n.length) + 1
860
- }, T(e.tableTitle), 9, va)
865
+ }, T(e.tableTitle), 9, $a)
861
866
  ]),
862
- B("tr", null, [
863
- ha,
864
- (d(!0), h(W, null, Z(e.dataIdxLabels, (l) => (d(), h("th", {
867
+ b("tr", null, [
868
+ wa,
869
+ (d(!0), p(U, null, J(e.dataIdxLabels, (l) => (d(), p("th", {
865
870
  key: l,
866
871
  scope: "col"
867
872
  }, T(l), 1))), 128))
868
873
  ])
869
874
  ]),
870
- B("tbody", null, [
871
- (d(!0), h(W, null, Z(e.data, (l) => (d(), h("tr", {
875
+ b("tbody", null, [
876
+ (d(!0), p(U, null, J(e.data, (l) => (d(), p("tr", {
872
877
  key: l.label
873
878
  }, [
874
- B("th", ba, T(l.label), 1),
875
- (d(!0), h(W, null, Z(l.data, (i, u) => (d(), h("td", {
879
+ b("th", ka, T(l.label), 1),
880
+ (d(!0), p(U, null, J(l.data, (i, u) => (d(), p("td", {
876
881
  key: `${i}${u}`
877
882
  }, T(i), 1))), 128))
878
883
  ]))), 128))
879
884
  ])
880
- ], 8, pa)
885
+ ], 8, Sa)
881
886
  ]);
882
887
  };
883
888
  }
884
- }, ga = (e) => ({
889
+ }, Ca = (e) => ({
885
890
  id: "htmlLegend",
886
891
  afterUpdate(a) {
887
892
  e.innerHTML = "", e.style.setProperty("--legend-padding", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((n) => {
@@ -896,7 +901,7 @@ const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Objec
896
901
  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
902
  });
898
903
  }
899
- }), ya = ({ type: e, datasets: a, labels: t, tooltips: n }) => ({
904
+ }), Ta = ({ type: e, datasets: a, labels: t, tooltips: n }) => ({
900
905
  type: e,
901
906
  data: {
902
907
  datasets: a,
@@ -915,7 +920,7 @@ const ua = ["data-range"], _e = "(min-width: 752px)", Dl = /* @__PURE__ */ Objec
915
920
  responsive: !0
916
921
  }
917
922
  });
918
- function Ba(e) {
923
+ function xa(e) {
919
924
  const a = [
920
925
  "rgba(209, 26, 111, 1)",
921
926
  "rgba(130, 18, 196, 1)",
@@ -928,10 +933,10 @@ function Ba(e) {
928
933
  ], t = a[e % a.length];
929
934
  return e >= a.length ? t.replace("1)", "0.5)") : t;
930
935
  }
931
- const $a = {
936
+ const Aa = {
932
937
  class: "bs-chart-bar",
933
938
  "data-component": "bs-chart-bar"
934
- }, Sa = ["aria-label"], wa = ["data-hidden"], Ol = {
939
+ }, La = ["aria-label"], Va = ["data-hidden"], Zl = {
935
940
  __name: "BsChartBar",
936
941
  props: {
937
942
  chartTitle: {
@@ -985,16 +990,16 @@ const $a = {
985
990
  }
986
991
  },
987
992
  setup(e) {
988
- const a = e, t = y(null), n = y(null);
993
+ const a = e, t = B(null), n = B(null);
989
994
  let l;
990
- const i = p(() => {
995
+ const i = v(() => {
991
996
  const c = {
992
997
  datasets: u.value,
993
998
  labels: a.dataIdxLabels,
994
999
  type: "bar",
995
1000
  tooltips: a.showTooltips
996
- }, v = ya(c);
997
- return v.plugins = [ga(n.value)], v.options.scales = {
1001
+ }, h = Ta(c);
1002
+ return h.plugins = [Ca(n.value)], h.options.scales = {
998
1003
  x: {
999
1004
  grid: {
1000
1005
  display: a.showXGrid
@@ -1015,47 +1020,47 @@ const $a = {
1015
1020
  text: a.yLabel
1016
1021
  }
1017
1022
  }
1018
- }, v;
1019
- }), u = p(() => a.data.map((c, v) => ({
1023
+ }, h;
1024
+ }), u = v(() => a.data.map((c, h) => ({
1020
1025
  ...c,
1021
- backgroundColor: Ba(v),
1026
+ backgroundColor: xa(h),
1022
1027
  categoryPercentage: a.data.length > 1 ? 0.5 : 0.33
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());
1028
+ }))), o = v(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`), s = Ne(function(c, h) {
1029
+ !l || c === h || (l.options = i.value.options, l.update());
1025
1030
  }, 100), r = Ne(function() {
1026
1031
  l && (l.data = i.value.data, l.update());
1027
1032
  }, 100);
1028
1033
  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
+ Pe.register(Et, Dt, Ot, Pt, qt, Mt), Pe.defaults.font.family = "'Roobert', sans-serif", l = new Pe(t.value, i.value);
1035
+ }), 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, h) => (d(), p("div", Aa, [
1036
+ b("figure", null, [
1037
+ b("div", null, [
1038
+ b("canvas", {
1034
1039
  "aria-label": o.value,
1035
1040
  ref_key: "canvas",
1036
1041
  ref: t,
1037
1042
  role: "img"
1038
- }, null, 8, Sa)
1043
+ }, null, 8, La)
1039
1044
  ]),
1040
- B("div", null, [
1041
- V(ma, {
1045
+ b("div", null, [
1046
+ V(Ia, {
1042
1047
  data: e.data,
1043
1048
  "data-idx-labels": e.dataIdxLabels,
1044
1049
  "table-title": o.value
1045
1050
  }, null, 8, ["data", "data-idx-labels", "table-title"]),
1046
- B("figcaption", {
1051
+ b("figcaption", {
1047
1052
  "data-hidden": !e.showLegend
1048
1053
  }, [
1049
- B("ul", {
1054
+ b("ul", {
1050
1055
  ref_key: "legendList",
1051
1056
  ref: n
1052
1057
  }, null, 512)
1053
- ], 8, wa)
1058
+ ], 8, Va)
1054
1059
  ])
1055
1060
  ])
1056
1061
  ]));
1057
1062
  }
1058
- }, ka = ["data-size"], Ia = ["checked", "data-error", "disabled", "id", "required", "value"], ql = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1063
+ }, Ea = ["data-size"], Da = ["checked", "data-error", "disabled", "id", "required", "value"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1059
1064
  __name: "BsCheckbox",
1060
1065
  props: {
1061
1066
  /** Sets the label. */
@@ -1118,27 +1123,27 @@ const $a = {
1118
1123
  },
1119
1124
  emits: ["update:modelValue"],
1120
1125
  setup(e, { emit: a }) {
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() {
1126
+ const t = e, n = a, [l] = Q(), i = v(() => je.concat(t.passAttrs.split(","))), u = B(null), o = v(() => t.inputId || l.value), s = v(() => t.checked || h.value), r = v(() => t.indeterminate || t.checkedPartially), c = v(() => Array.isArray(t.modelValue) && t.value), h = v(() => c.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1127
+ function k() {
1123
1128
  u.value && (u.value.indeterminate = r.value && !s.value);
1124
1129
  }
1125
- function m(C) {
1130
+ function g(C) {
1126
1131
  n("update:modelValue", C);
1127
1132
  }
1128
1133
  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);
1134
+ const q = [...t.modelValue];
1135
+ C ? q.push(t.value) : q.splice(q.indexOf(t.value), 1), n("update:modelValue", q);
1131
1136
  }
1132
- function S(C) {
1133
- const { checked: P } = C.target;
1134
- c.value ? x(P) : m(P);
1137
+ function $(C) {
1138
+ const { checked: q } = C.target;
1139
+ c.value ? x(q) : g(q);
1135
1140
  }
1136
- return R(s, w), R(r, w), Y(w), (C, P) => (d(), h("div", N({
1141
+ return R(s, k), R(r, k), Y(k), (C, q) => (d(), p("div", N({
1137
1142
  class: "bs-boolean",
1138
1143
  "data-component": "bs-checkbox",
1139
1144
  "data-size": e.size
1140
1145
  }, f(K)(C.$attrs, i.value).remaining), [
1141
- B("input", N({
1146
+ b("input", N({
1142
1147
  ref_key: "inputEl",
1143
1148
  ref: u,
1144
1149
  checked: s.value,
@@ -1148,8 +1153,8 @@ const $a = {
1148
1153
  required: e.required,
1149
1154
  value: e.value || "on",
1150
1155
  type: "checkbox",
1151
- onChange: S
1152
- }, f(K)(C.$attrs, i.value).filtered), null, 16, Ia),
1156
+ onChange: $
1157
+ }, f(K)(C.$attrs, i.value).filtered), null, 16, Da),
1153
1158
  e.label || C.$slots.label ? (d(), O(ne, {
1154
1159
  key: 0,
1155
1160
  for: C.$attrs.id || o.value,
@@ -1158,14 +1163,14 @@ const $a = {
1158
1163
  }, {
1159
1164
  default: D(() => [
1160
1165
  L(C.$slots, "label", {}, () => [
1161
- H(T(e.label), 1)
1166
+ G(T(e.label), 1)
1162
1167
  ])
1163
1168
  ]),
1164
1169
  _: 3
1165
- }, 8, ["for", "disabled", "required"])) : k("", !0)
1166
- ], 16, ka));
1170
+ }, 8, ["for", "disabled", "required"])) : w("", !0)
1171
+ ], 16, Ea));
1167
1172
  }
1168
- }), Ca = { key: 0 }, Ta = { class: "bs-circle-button-icon" }, xa = { key: 1 }, Pl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1173
+ }), Oa = { key: 0 }, Pa = { class: "bs-circle-button-icon" }, qa = { key: 1 }, eo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1169
1174
  __name: "BsCircleButton",
1170
1175
  props: {
1171
1176
  disabled: {
@@ -1211,11 +1216,11 @@ const $a = {
1211
1216
  }
1212
1217
  },
1213
1218
  setup(e) {
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(() => {
1219
+ const a = e, t = se(), { rootTag: n, attrsToBind: l, hrefUrl: i } = we(a, t), { icon: u } = ge(a, "icon"), { onLinkClick: o } = ke(a), s = v(() => a.textBtn ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = v(() => {
1215
1220
  if (a.hoverEffect)
1216
1221
  return a.iconPosition;
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({
1222
+ }), c = v(() => a.textBtn && a.iconPosition !== "left"), h = v(() => a.textBtn && a.iconPosition === "left");
1223
+ return (k, g) => (d(), O(Z(f(n)), N({
1219
1224
  class: "bs-circle-button",
1220
1225
  "data-disabled": e.disabled,
1221
1226
  "data-direction": r.value,
@@ -1225,18 +1230,18 @@ const $a = {
1225
1230
  ".href": f(i)
1226
1231
  }, { ...f(l), ...s.value }, { onClick: f(o) }), {
1227
1232
  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"]))
1233
+ c.value ? (d(), p("span", Oa, T(e.label), 1)) : w("", !0),
1234
+ b("span", Pa, [
1235
+ L(k.$slots, "icon", {}, () => [
1236
+ (d(), O(Z(f(u)), { size: e.size }, null, 8, ["size"]))
1232
1237
  ])
1233
1238
  ]),
1234
- v.value ? (d(), h("span", xa, T(e.label), 1)) : k("", !0)
1239
+ h.value ? (d(), p("span", qa, T(e.label), 1)) : w("", !0)
1235
1240
  ]),
1236
1241
  _: 3
1237
1242
  }, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", ".href", "onClick"]));
1238
1243
  }
1239
- }), Aa = {
1244
+ }), Ma = {
1240
1245
  __name: "BsDropdownContainer",
1241
1246
  props: {
1242
1247
  breakout: {
@@ -1257,16 +1262,16 @@ const $a = {
1257
1262
  }
1258
1263
  },
1259
1264
  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, {
1265
+ const t = B(null);
1266
+ return a({ internalContainerRef: t }), (n, l) => (d(), p(U, null, [
1267
+ e.breakout && e.breakoutMounted ? (d(), O(vt, {
1263
1268
  key: 0,
1264
1269
  to: e.breakoutStub
1265
1270
  }, [
1266
1271
  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", {
1272
+ ], 8, ["to"])) : w("", !0),
1273
+ e.breakout ? w("", !0) : (d(), p(U, { key: 1 }, [
1274
+ e.containerId ? L(n.$slots, "default", { key: 0 }) : (d(), p("div", {
1270
1275
  key: 1,
1271
1276
  ref_key: "internalContainerRef",
1272
1277
  ref: t,
@@ -1322,28 +1327,28 @@ const $a = {
1322
1327
  setup(e, { emit: a }) {
1323
1328
  const t = e, n = a, l = [], i = t.preloaded && t.shown;
1324
1329
  function u(r, c) {
1325
- const { duration: v, enterClass: w, enterAttribute: m } = t;
1330
+ const { duration: h, enterClass: k, enterAttribute: g } = t;
1326
1331
  l.push(setTimeout(() => {
1327
- w && r.classList.add(w), m && r.setAttribute(m, ""), l.push(setTimeout(() => {
1332
+ k && r.classList.add(k), g && r.setAttribute(g, ""), l.push(setTimeout(() => {
1328
1333
  c();
1329
- }, v)), n("enter", r);
1334
+ }, h)), n("enter", r);
1330
1335
  }));
1331
1336
  }
1332
1337
  function o(r, c) {
1333
1338
  const {
1334
- duration: v,
1335
- enterClass: w,
1336
- enterAttribute: m,
1339
+ duration: h,
1340
+ enterClass: k,
1341
+ enterAttribute: g,
1337
1342
  leaveClass: x,
1338
- leaveAttribute: S
1343
+ leaveAttribute: $
1339
1344
  } = t;
1340
- r.classList.remove(w), r.removeAttribute(m), x && r.classList.add(x), S && r.setAttribute(S, ""), l.push(setTimeout(() => {
1345
+ r.classList.remove(k), r.removeAttribute(g), x && r.classList.add(x), $ && r.setAttribute($, ""), l.push(setTimeout(() => {
1341
1346
  c();
1342
- }, v)), n("leave", r);
1347
+ }, h)), n("leave", r);
1343
1348
  }
1344
1349
  function s(r) {
1345
- const { leaveClass: c, leaveAttribute: v } = t;
1346
- r.classList.remove(c), r.removeAttribute(v), n("after-leave", r);
1350
+ const { leaveClass: c, leaveAttribute: h } = t;
1351
+ r.classList.remove(c), r.removeAttribute(h), n("after-leave", r);
1347
1352
  }
1348
1353
  return re(() => {
1349
1354
  l.forEach((r) => {
@@ -1353,53 +1358,53 @@ const $a = {
1353
1358
  key: 0,
1354
1359
  appear: f(i),
1355
1360
  css: !1,
1356
- onBeforeEnter: c[0] || (c[0] = (v) => n("before-enter", v)),
1361
+ onBeforeEnter: c[0] || (c[0] = (h) => n("before-enter", h)),
1357
1362
  onEnter: u,
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)),
1363
+ onAfterEnter: c[1] || (c[1] = (h) => n("after-enter", h)),
1364
+ onEnterCancelled: c[2] || (c[2] = (h) => n("enter-cancelled", h)),
1365
+ onBeforeLeave: c[3] || (c[3] = (h) => n("before-leave", h)),
1361
1366
  onLeave: o,
1362
1367
  onAfterLeave: s,
1363
- onLeaveCancelled: c[4] || (c[4] = (v) => n("leave-cancelled", v))
1368
+ onLeaveCancelled: c[4] || (c[4] = (h) => n("leave-cancelled", h))
1364
1369
  }, {
1365
1370
  default: D(() => [
1366
1371
  L(r.$slots, "default")
1367
1372
  ]),
1368
1373
  _: 3
1369
1374
  }, 8, ["appear"])), [
1370
- [$e, e.shown]
1375
+ [Se, e.shown]
1371
1376
  ]) : (d(), O(Ke, {
1372
1377
  key: 1,
1373
1378
  appear: !0,
1374
1379
  css: !1,
1375
- onBeforeEnter: c[5] || (c[5] = (v) => n("before-enter", v)),
1380
+ onBeforeEnter: c[5] || (c[5] = (h) => n("before-enter", h)),
1376
1381
  onEnter: u,
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)),
1382
+ onAfterEnter: c[6] || (c[6] = (h) => n("after-enter", h)),
1383
+ onEnterCancelled: c[7] || (c[7] = (h) => n("enter-cancelled", h)),
1384
+ onBeforeLeave: c[8] || (c[8] = (h) => n("before-leave", h)),
1380
1385
  onLeave: o,
1381
1386
  onAfterLeave: s,
1382
- onLeaveCancelled: c[9] || (c[9] = (v) => n("leave-cancelled", v))
1387
+ onLeaveCancelled: c[9] || (c[9] = (h) => n("leave-cancelled", h))
1383
1388
  }, {
1384
1389
  default: D(() => [
1385
- e.shown ? L(r.$slots, "default", { key: 0 }) : k("", !0)
1390
+ e.shown ? L(r.$slots, "default", { key: 0 }) : w("", !0)
1386
1391
  ]),
1387
1392
  _: 3
1388
1393
  }));
1389
1394
  }
1390
- }, La = (e, a = void 0, t = "relative") => {
1391
- const n = y(null), l = y(null), i = y(!1);
1395
+ }, za = (e, a = void 0, t = "relative") => {
1396
+ const n = B(null), l = B(null), i = B(!1);
1392
1397
  let u = !1;
1393
1398
  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);
1399
+ e && (n.value = a || ot(), 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
1400
  }), re(() => {
1396
1401
  var o;
1397
1402
  e && !u && ((o = document.getElementById(n.value)) == null || o.remove());
1398
1403
  }), { breakoutId: n, breakoutStub: l, breakoutMounted: i };
1399
- }, Va = {
1404
+ }, Na = {
1400
1405
  key: 0,
1401
1406
  class: "bs-dropdown-backdrop"
1402
- }, Ea = ["data-width", "data-no-mobile"], Da = { key: 0 }, Oa = { key: 0 }, qa = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1407
+ }, Ra = ["data-width", "data-no-mobile"], ja = { key: 0 }, Fa = { key: 0 }, Ua = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1403
1408
  __name: "BsDropdownNew",
1404
1409
  props: {
1405
1410
  anchorId: {
@@ -1452,67 +1457,67 @@ const $a = {
1452
1457
  "after-leave"
1453
1458
  ],
1454
1459
  setup(e, { emit: a }) {
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], () => {
1460
+ const t = e, n = a, l = B(null), i = B(null), u = B(!1), o = B(!1), s = v(() => document.getElementById(t.anchorId)), r = v(() => t.breakout ? h.value : t.containerId ? document.getElementById(t.containerId) : l.value.internalContainerRef), c = v(() => t.width === "anchor" ? void 0 : t.width);
1461
+ Ft([i, s], () => {
1457
1462
  o.value && n("close");
1458
1463
  }), Ie(["Escape"], () => {
1459
1464
  o.value && n("close");
1460
1465
  });
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) => {
1466
+ const { breakoutStub: h, breakoutMounted: k } = za(t.breakout, t.containerId);
1467
+ oe("dropdownEnter", u), oe("dropdownAfterEnter", o), oe("dropdownShown", v(() => t.shown));
1468
+ const g = (I, A) => {
1464
1469
  i.value.style.setProperty(I, A);
1465
1470
  };
1466
1471
  function x() {
1467
- const I = r.value.getBoundingClientRect(), A = s.value.getBoundingClientRect(), q = i.value.getBoundingClientRect();
1468
- S(I, A), C(I, A, q);
1472
+ const I = r.value.getBoundingClientRect(), A = s.value.getBoundingClientRect(), P = i.value.getBoundingClientRect();
1473
+ $(I, A), C(I, A, P);
1469
1474
  }
1470
- function S(I, A) {
1475
+ function $(I, A) {
1471
1476
  if (t.position === "top") {
1472
- const q = I.bottom - A.bottom;
1473
- m("--dropdown-wscreen-top", "auto"), m("--dropdown-wscreen-bottom", `${q + A.height + 8}px`);
1477
+ const P = I.bottom - A.bottom;
1478
+ g("--dropdown-wscreen-top", "auto"), g("--dropdown-wscreen-bottom", `${P + A.height + 8}px`);
1474
1479
  } else {
1475
- const q = A.top - I.top;
1476
- m("--dropdown-wscreen-top", `${q + A.height + 8}px`), m("--dropdown-wscreen-bottom", "auto");
1480
+ const P = A.top - I.top;
1481
+ g("--dropdown-wscreen-top", `${P + A.height + 8}px`), g("--dropdown-wscreen-bottom", "auto");
1477
1482
  }
1478
1483
  }
1479
- function C(I, A, q) {
1484
+ function C(I, A, P) {
1480
1485
  if (t.width !== "anchor") {
1481
1486
  const F = A.left - I.left;
1482
1487
  if (t.position === "center") {
1483
- const _ = (A.width - q.width) / 2;
1484
- m("--dropdown-wscreen-left", `${F + _}px`), m("--dropdown-wscreen-right", "auto");
1488
+ const _ = (A.width - P.width) / 2;
1489
+ g("--dropdown-wscreen-left", `${F + _}px`), g("--dropdown-wscreen-right", "auto");
1485
1490
  } else if (t.position === "right") {
1486
1491
  const _ = I.right - A.right;
1487
- m("--dropdown-wscreen-left", "auto"), m("--dropdown-wscreen-right", `${_}px`);
1492
+ g("--dropdown-wscreen-left", "auto"), g("--dropdown-wscreen-right", `${_}px`);
1488
1493
  } else
1489
- m("--dropdown-wscreen-left", `${F}px`), m("--dropdown-wscreen-right", "auto");
1494
+ g("--dropdown-wscreen-left", `${F}px`), g("--dropdown-wscreen-right", "auto");
1490
1495
  }
1491
1496
  }
1492
- function P() {
1497
+ function q() {
1493
1498
  if (t.width === "anchor") {
1494
1499
  const I = s.value.getBoundingClientRect();
1495
- m("--dropdown-wscreen-width", `${I.width}px`);
1500
+ g("--dropdown-wscreen-width", `${I.width}px`);
1496
1501
  } else
1497
- m("--dropdown-wscreen-width", "");
1502
+ g("--dropdown-wscreen-width", "");
1498
1503
  }
1499
- function g() {
1500
- u.value = !0, x(), P(), n("enter");
1504
+ function y() {
1505
+ u.value = !0, x(), q(), n("enter");
1501
1506
  }
1502
- function b() {
1507
+ function m() {
1503
1508
  o.value = !0, n("after-enter");
1504
1509
  }
1505
1510
  function z() {
1506
1511
  u.value = !1, o.value = !1, n("after-leave");
1507
1512
  }
1508
- return (I, A) => (d(), h(W, null, [
1509
- e.useMobileStyle && e.shown ? (d(), h("div", Va)) : k("", !0),
1510
- V(Aa, {
1513
+ return (I, A) => (d(), p(U, null, [
1514
+ e.useMobileStyle && e.shown ? (d(), p("div", Na)) : w("", !0),
1515
+ V(Ma, {
1511
1516
  ref_key: "dropdownContainerRef",
1512
1517
  ref: l,
1513
1518
  breakout: e.breakout,
1514
- breakoutMounted: f(w),
1515
- breakoutStub: f(v),
1519
+ breakoutMounted: f(k),
1520
+ breakoutStub: f(h),
1516
1521
  containerId: e.containerId
1517
1522
  }, {
1518
1523
  default: D(() => [
@@ -1521,33 +1526,33 @@ const $a = {
1521
1526
  preloaded: e.preloaded,
1522
1527
  duration: 75,
1523
1528
  "enter-attribute": "data-shown",
1524
- onAfterEnter: b,
1525
- onEnter: g,
1529
+ onAfterEnter: m,
1530
+ onEnter: y,
1526
1531
  onAfterLeave: z
1527
1532
  }, {
1528
1533
  default: D(() => [
1529
- B("div", N({
1534
+ b("div", N({
1530
1535
  ref_key: "dropdownRef",
1531
1536
  ref: i,
1532
1537
  class: "bs-dropdown",
1533
1538
  "data-width": c.value,
1534
1539
  "data-no-mobile": !e.useMobileStyle
1535
1540
  }, I.$attrs), [
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)
1541
+ e.helperText ? (d(), p("header", ja, [
1542
+ b("div", null, [
1543
+ b("h3", null, T(e.helperText), 1),
1544
+ e.helperDescription ? (d(), p("p", Fa, T(e.helperDescription), 1)) : w("", !0)
1540
1545
  ]),
1541
- B("button", {
1546
+ b("button", {
1542
1547
  type: "button",
1543
1548
  title: "close",
1544
1549
  onClick: A[0] || (A[0] = () => n("close"))
1545
1550
  }, [
1546
- V(f(Se))
1551
+ V(f($e))
1547
1552
  ])
1548
- ])) : k("", !0),
1553
+ ])) : w("", !0),
1549
1554
  L(I.$slots, "default")
1550
- ], 16, Ea)
1555
+ ], 16, Ra)
1551
1556
  ]),
1552
1557
  _: 3
1553
1558
  }, 8, ["shown", "preloaded"])
@@ -1556,7 +1561,7 @@ const $a = {
1556
1561
  }, 8, ["breakout", "breakoutMounted", "breakoutStub", "containerId"])
1557
1562
  ], 64));
1558
1563
  }
1559
- }), it = {
1564
+ }), dt = {
1560
1565
  __name: "BsDropdown",
1561
1566
  props: {
1562
1567
  anchorId: {
@@ -1646,8 +1651,8 @@ const $a = {
1646
1651
  "after-leave"
1647
1652
  ],
1648
1653
  setup(e, { emit: a }) {
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, {
1654
+ const t = e, n = a, { transition: l } = fe(t), i = 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);
1655
+ return (s, r) => (d(), O(Ua, {
1651
1656
  "anchor-id": o.value,
1652
1657
  breakout: e.breakout,
1653
1658
  "container-id": e.containerId,
@@ -1669,7 +1674,7 @@ const $a = {
1669
1674
  _: 3
1670
1675
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
1671
1676
  }
1672
- }, Pa = ["aria-activedescendant", "aria-label", "data-overflow", "id"], Fe = {
1677
+ }, Wa = ["aria-activedescendant", "aria-label", "data-overflow", "id"], Fe = {
1673
1678
  __name: "BsDropdownOptionList",
1674
1679
  props: {
1675
1680
  optionsId: {
@@ -1705,12 +1710,12 @@ const $a = {
1705
1710
  },
1706
1711
  emits: ["optselected", "update:modelValue", "close"],
1707
1712
  setup(e, { expose: a, emit: t }) {
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);
1713
+ const n = e, l = t, i = B(null), u = B(null), o = B(-1), s = B(null), r = B(!1), c = ie("dropdownEnter", !1), h = ie("dropdownAfterEnter", !1), k = ie("dropdownShown", !1);
1714
+ let g = -1;
1715
+ oe("handleSelect", z), oe("optionsId", v(() => n.optionsId)), Y(() => {
1716
+ $(), C(), document.addEventListener("keydown", y);
1712
1717
  }), re(() => {
1713
- document.removeEventListener("keydown", g);
1718
+ document.removeEventListener("keydown", y);
1714
1719
  }), R(
1715
1720
  [c, () => {
1716
1721
  var I;
@@ -1719,63 +1724,63 @@ const $a = {
1719
1724
  ([I, A]) => {
1720
1725
  (I || A > 0) && (r.value = i.value.scrollHeight > i.value.clientHeight);
1721
1726
  }
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() {
1727
+ ), R(h, (I) => {
1728
+ var A, P;
1729
+ I && g > -1 && (n.focusOnShow ? (A = s.value[g]) == null || A.focus() : (P = s.value[g]) == null || P.scrollIntoView({ block: "nearest" }));
1730
+ }), R(k, C);
1731
+ const x = v(() => n.modelValue || n.selectedValue);
1732
+ function $() {
1728
1733
  s.value = Array.from(
1729
1734
  i.value.querySelectorAll('[data-component="bs-dropdown-option"]')
1730
1735
  );
1731
1736
  }
1732
1737
  function C() {
1733
1738
  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) => {
1739
+ k.value && !n.multiselect ? (g = s.value.findIndex(
1740
+ (P) => P.getAttribute("data-value") === String(x.value)
1741
+ ), s.value.forEach((P) => {
1737
1742
  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) => {
1743
+ return (F = P == null ? void 0 : P.setAttribute) == null ? void 0 : F.call(P, "aria-selected", "false");
1744
+ }), g > -1 && ((I = s.value[g]) == null || I.setAttribute("data-selected", ""), (A = s.value[g]) == null || A.setAttribute("aria-selected", "true"), o.value = g)) : (s.value.forEach((P) => {
1740
1745
  var F;
1741
- return (F = q == null ? void 0 : q.removeAttribute) == null ? void 0 : F.call(q, "data-selected");
1742
- }), s.value.forEach((q) => {
1746
+ return (F = P == null ? void 0 : P.removeAttribute) == null ? void 0 : F.call(P, "data-selected");
1747
+ }), s.value.forEach((P) => {
1743
1748
  var F;
1744
- return (F = q == null ? void 0 : q.removeAttribute) == null ? void 0 : F.call(q, "aria-selected");
1749
+ return (F = P == null ? void 0 : P.removeAttribute) == null ? void 0 : F.call(P, "aria-selected");
1745
1750
  }));
1746
1751
  }
1747
- qt(
1752
+ Ut(
1748
1753
  i,
1749
1754
  () => {
1750
- S();
1755
+ $();
1751
1756
  },
1752
1757
  { childList: !0 }
1753
1758
  );
1754
- function P() {
1759
+ function q() {
1755
1760
  var I;
1756
1761
  o.value > -1 && ((I = s.value[o.value]) == null || I.blur());
1757
1762
  }
1758
- function g(I) {
1759
- if (w.value)
1763
+ function y(I) {
1764
+ if (k.value)
1760
1765
  switch (I.key) {
1761
1766
  case "ArrowDown":
1762
- b("down"), I.preventDefault();
1767
+ m("down"), I.preventDefault();
1763
1768
  break;
1764
1769
  case "ArrowUp":
1765
- b("up"), I.preventDefault();
1770
+ m("up"), I.preventDefault();
1766
1771
  break;
1767
1772
  case "Home":
1768
- b("home"), I.preventDefault();
1773
+ m("home"), I.preventDefault();
1769
1774
  break;
1770
1775
  case "End":
1771
- b("end"), I.preventDefault();
1776
+ m("end"), I.preventDefault();
1772
1777
  break;
1773
1778
  case "Tab":
1774
- o.value = m, n.preventTab && I.preventDefault();
1779
+ o.value = g, n.preventTab && I.preventDefault();
1775
1780
  break;
1776
1781
  }
1777
1782
  }
1778
- function b(I) {
1783
+ function m(I) {
1779
1784
  let A;
1780
1785
  switch (I) {
1781
1786
  case "up":
@@ -1791,17 +1796,17 @@ const $a = {
1791
1796
  A = s.value.length - 1;
1792
1797
  break;
1793
1798
  }
1794
- P(), s.value[A].focus(), u.value = s.value[A].id, o.value = A;
1799
+ q(), s.value[A].focus(), u.value = s.value[A].id, o.value = A;
1795
1800
  }
1796
1801
  function z(I, A) {
1797
- u.value = I, P(), l("optselected", A), l("update:modelValue", A), l("close");
1802
+ u.value = I, q(), l("optselected", A), l("update:modelValue", A), l("close");
1798
1803
  }
1799
1804
  return a({
1800
1805
  activeDescendantId: u,
1801
1806
  focusedIndex: o,
1802
1807
  optionEls: s,
1803
- refreshOptions: S
1804
- }), (I, A) => (d(), h("ul", {
1808
+ refreshOptions: $
1809
+ }), (I, A) => (d(), p("ul", {
1805
1810
  ref_key: "optionsRef",
1806
1811
  ref: i,
1807
1812
  "aria-activedescendant": u.value || void 0,
@@ -1812,12 +1817,12 @@ const $a = {
1812
1817
  role: "listbox"
1813
1818
  }, [
1814
1819
  L(I.$slots, "default")
1815
- ], 8, Pa));
1820
+ ], 8, Wa));
1816
1821
  }
1817
- }, Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1822
+ }, Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1818
1823
  __proto__: null,
1819
1824
  default: Fe
1820
- }, Symbol.toStringTag, { value: "Module" })), za = ["data-value", "data-variant", "id"], Ue = {
1825
+ }, Symbol.toStringTag, { value: "Module" })), Ha = ["data-value", "data-variant", "id"], Ue = {
1821
1826
  __name: "BsDropdownOption",
1822
1827
  props: {
1823
1828
  value: {
@@ -1830,8 +1835,8 @@ const $a = {
1830
1835
  }
1831
1836
  },
1832
1837
  setup(e) {
1833
- const a = e, t = y(null), n = ie("optionsId", ""), l = ie("handleSelect", () => {
1834
- }), i = p(() => `${n.value}-option-${a.value}`);
1838
+ const a = e, t = B(null), n = ie("optionsId", ""), l = ie("handleSelect", () => {
1839
+ }), i = v(() => `${n.value}-option-${a.value}`);
1835
1840
  Ie([" ", "Enter", "NumpadEnter"], (o) => {
1836
1841
  u(), o.preventDefault();
1837
1842
  }, t);
@@ -1839,7 +1844,7 @@ const $a = {
1839
1844
  var s, r;
1840
1845
  l(i.value, a.value), (s = t.value.querySelector("a")) == null || s.click(), (r = o == null ? void 0 : o.stopPropagation) == null || r.call(o);
1841
1846
  }
1842
- return (o, s) => (d(), h("li", {
1847
+ return (o, s) => (d(), p("li", {
1843
1848
  ref_key: "optionRef",
1844
1849
  ref: t,
1845
1850
  "data-component": "bs-dropdown-option",
@@ -1851,9 +1856,9 @@ const $a = {
1851
1856
  onClick: u
1852
1857
  }, [
1853
1858
  L(o.$slots, "default")
1854
- ], 8, za));
1859
+ ], 8, Ha));
1855
1860
  }
1856
- }, Na = ["data-img-size", "data-initials", "data-no-img"], Ra = ["src", "alt"], rt = {
1861
+ }, Ka = ["data-img-size", "data-initials", "data-no-img"], Ya = ["src", "alt"], ut = {
1857
1862
  __name: "BsProfileImg",
1858
1863
  props: {
1859
1864
  src: String,
@@ -1872,22 +1877,22 @@ const $a = {
1872
1877
  }
1873
1878
  },
1874
1879
  setup(e) {
1875
- const a = e, t = y(!1), n = y(!!a.src);
1876
- return Y(() => t.value = !0), (l, i) => (d(), h("div", {
1880
+ const a = e, t = B(!1), n = B(!!a.src);
1881
+ return Y(() => t.value = !0), (l, i) => (d(), p("div", {
1877
1882
  class: "bs-profile-img",
1878
1883
  "data-img-size": e.size,
1879
1884
  "data-initials": e.initials,
1880
1885
  "data-no-img": !n.value
1881
1886
  }, [
1882
- n.value && t.value ? (d(), h("img", {
1887
+ n.value && t.value ? (d(), p("img", {
1883
1888
  key: 0,
1884
1889
  src: e.src,
1885
1890
  alt: e.useAltText ? e.profileName : "",
1886
1891
  onError: i[0] || (i[0] = (u) => n.value = !1)
1887
- }, null, 40, Ra)) : k("", !0)
1888
- ], 8, Na));
1892
+ }, null, 40, Ya)) : w("", !0)
1893
+ ], 8, Ka));
1889
1894
  }
1890
- }, ja = ["id", "data-checked"], Fa = { key: 1 }, Ua = ["innerHTML"], Wa = { key: 4 }, Ga = { key: 5 }, Ha = {
1895
+ }, Xa = ["id", "data-checked"], Qa = { key: 1 }, Ja = ["innerHTML"], Za = { key: 4 }, _a = { key: 5 }, en = {
1891
1896
  key: 0,
1892
1897
  role: "option",
1893
1898
  "data-no-hover": ""
@@ -1924,7 +1929,7 @@ const $a = {
1924
1929
  },
1925
1930
  setup(e) {
1926
1931
  const a = e, t = {};
1927
- at(() => {
1932
+ nt(() => {
1928
1933
  n();
1929
1934
  }), R(() => a.options, () => {
1930
1935
  n();
@@ -1948,50 +1953,50 @@ const $a = {
1948
1953
  function u(o, s) {
1949
1954
  return !!o && o !== s;
1950
1955
  }
1951
- return (o, s) => (d(), h(W, null, [
1952
- (d(!0), h(W, null, Z(e.options, (r) => (d(), O(Ue, {
1956
+ return (o, s) => (d(), p(U, null, [
1957
+ (d(!0), p(U, null, J(e.options, (r) => (d(), O(Ue, {
1953
1958
  "aria-checked": r.checkbox ? r.checkbox.checked : void 0,
1954
1959
  key: r.value,
1955
1960
  value: r.value,
1956
1961
  variant: l(r)
1957
1962
  }, {
1958
1963
  default: D(() => [
1959
- r.checkbox ? (d(), h("span", {
1964
+ r.checkbox ? (d(), p("span", {
1960
1965
  key: 0,
1961
1966
  id: r.checkbox.inputId,
1962
1967
  "aria-hidden": "true",
1963
1968
  class: "bs-checkbox",
1964
1969
  "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, {
1970
+ }, null, 8, Xa)) : w("", !0),
1971
+ r.icon ? (d(), p("span", Qa, [
1972
+ (d(), O(Z(t[r.icon])))
1973
+ ])) : w("", !0),
1974
+ r.profileImg ? (d(), O(ut, {
1970
1975
  key: 2,
1971
1976
  src: r.profileImg.src,
1972
1977
  size: "xs",
1973
1978
  initials: r.profileImg.initials,
1974
1979
  "profile-name": r.profileImg.profileName,
1975
1980
  "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", {
1981
+ }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : w("", !0),
1982
+ r.labelHtml ? (d(), p("span", {
1978
1983
  key: 3,
1979
1984
  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)
1985
+ }, null, 8, Ja)) : (d(), p("span", Za, T(r.label), 1)),
1986
+ r.description ? (d(), p("span", _a, T(r.description), 1)) : w("", !0)
1982
1987
  ]),
1983
1988
  _: 2
1984
1989
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
1985
- e.showNoOptions && e.options.length === 0 ? (d(), h("li", Ha, [
1990
+ e.showNoOptions && e.options.length === 0 ? (d(), p("li", en, [
1986
1991
  L(o.$slots, "no-options", {}, () => [
1987
- H("No options")
1992
+ G("No options")
1988
1993
  ])
1989
- ])) : k("", !0)
1994
+ ])) : w("", !0)
1990
1995
  ], 64));
1991
1996
  }
1992
- }, Ka = { role: "separator" }, Ya = /* @__PURE__ */ B("hr", null, null, -1), Qa = [
1993
- Ya
1994
- ], Xa = {
1997
+ }, tn = { role: "separator" }, an = /* @__PURE__ */ b("hr", null, null, -1), nn = [
1998
+ an
1999
+ ], ln = {
1995
2000
  __name: "BsDropdownMultiselect",
1996
2001
  props: {
1997
2002
  label: {
@@ -2017,51 +2022,51 @@ const $a = {
2017
2022
  },
2018
2023
  emits: ["update:selectedOptions"],
2019
2024
  setup(e, { emit: a }) {
2020
- const t = e, n = a, l = y(null), i = y([]), u = y([]);
2025
+ const t = e, n = a, l = B(null), i = B([]), u = B([]);
2021
2026
  let o = !1;
2022
2027
  R(
2023
2028
  () => t.selectedOptions,
2024
2029
  c,
2025
2030
  { immediate: !0 }
2026
- ), R(() => t.shown, (m) => {
2027
- m && ce(s);
2031
+ ), R(() => t.shown, (g) => {
2032
+ g && ce(s);
2028
2033
  });
2029
2034
  function s() {
2030
- var x, S;
2035
+ var x, $;
2031
2036
  l.value && (l.value.refreshOptions(), l.value.activeDescendantId = (x = l.value.optionEls[0]) == null ? void 0 : x.id, l.value.focusedIndex = 0);
2032
- const m = document.querySelector(`#${t.optionsId} [data-component="bs-dropdown-option"]`);
2033
- (S = m == null ? void 0 : m.focus) == null || S.call(m, { preventScroll: !0 });
2037
+ const g = document.querySelector(`#${t.optionsId} [data-component="bs-dropdown-option"]`);
2038
+ ($ = g == null ? void 0 : g.focus) == null || $.call(g, { preventScroll: !0 });
2034
2039
  }
2035
2040
  function r() {
2036
- var m;
2041
+ var g;
2037
2042
  if (l.value) {
2038
2043
  l.value.refreshOptions();
2039
- const x = l.value.focusedIndex, S = l.value.optionEls[x];
2040
- (m = S == null ? void 0 : S.focus) == null || m.call(S), l.value.activeDescendantId = S == null ? void 0 : S.id;
2044
+ const x = l.value.focusedIndex, $ = l.value.optionEls[x];
2045
+ (g = $ == null ? void 0 : $.focus) == null || g.call($), l.value.activeDescendantId = $ == null ? void 0 : $.id;
2041
2046
  }
2042
2047
  }
2043
- function c(m = []) {
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(() => {
2048
+ function c(g = []) {
2049
+ const x = new Set(g), $ = [], C = [];
2050
+ t.options.forEach((q) => {
2051
+ const y = { ...q }, m = `${t.optionsId}-${q.value}-cb`;
2052
+ x.has(q.value) ? (y.checkbox = { inputId: m, checked: !0 }, $.push(y)) : (y.checkbox = { inputId: m, checked: !1 }, C.push(y));
2053
+ }), i.value = $, ce(() => {
2049
2054
  u.value = C, ce(() => {
2050
2055
  o && r(), o = !1;
2051
2056
  });
2052
2057
  });
2053
2058
  }
2054
- function v(m = []) {
2055
- const x = new Set(m), S = [];
2059
+ function h(g = []) {
2060
+ const x = new Set(g), $ = [];
2056
2061
  return t.options.forEach((C) => {
2057
- x.has(C.value) && S.push(C.value);
2058
- }), S;
2062
+ x.has(C.value) && $.push(C.value);
2063
+ }), $;
2059
2064
  }
2060
- function w(m) {
2061
- const x = t.selectedOptions.includes(m) ? t.selectedOptions.filter((S) => S !== m) : v([...t.selectedOptions, m]);
2065
+ function k(g) {
2066
+ const x = t.selectedOptions.includes(g) ? t.selectedOptions.filter(($) => $ !== g) : h([...t.selectedOptions, g]);
2062
2067
  o = !0, n("update:selectedOptions", x);
2063
2068
  }
2064
- return (m, x) => (d(), O(Fe, {
2069
+ return (g, x) => (d(), O(Fe, {
2065
2070
  ref_key: "optlist",
2066
2071
  ref: l,
2067
2072
  "aria-multiselectable": "true",
@@ -2070,17 +2075,17 @@ const $a = {
2070
2075
  multiselect: "",
2071
2076
  "options-id": e.optionsId,
2072
2077
  shown: e.shown,
2073
- "onUpdate:modelValue": w
2078
+ "onUpdate:modelValue": k
2074
2079
  }, {
2075
2080
  default: D(() => {
2076
- var S;
2081
+ var $;
2077
2082
  return [
2078
2083
  V(ye, {
2079
2084
  options: i.value,
2080
2085
  "show-no-options": !1
2081
2086
  }, null, 8, ["options"]),
2082
- Be(B("li", Ka, Qa, 512), [
2083
- [$e, (S = i.value) == null ? void 0 : S.length]
2087
+ Be(b("li", tn, nn, 512), [
2088
+ [Se, ($ = i.value) == null ? void 0 : $.length]
2084
2089
  ]),
2085
2090
  V(ye, {
2086
2091
  options: u.value,
@@ -2091,10 +2096,10 @@ const $a = {
2091
2096
  _: 1
2092
2097
  }, 8, ["label", "options-id", "shown"]));
2093
2098
  }
2094
- }, Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2099
+ }, on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2095
2100
  __proto__: null,
2096
- default: Xa
2097
- }, Symbol.toStringTag, { value: "Module" })), Ja = {
2101
+ default: ln
2102
+ }, Symbol.toStringTag, { value: "Module" })), rn = {
2098
2103
  __name: "BsDropdownWithOptionsNew",
2099
2104
  props: {
2100
2105
  // DROPDOWN PROPS
@@ -2169,7 +2174,7 @@ const $a = {
2169
2174
  "after-leave"
2170
2175
  ],
2171
2176
  setup(e, { emit: a }) {
2172
- const t = a, n = y(!1);
2177
+ const t = a, n = B(!1);
2173
2178
  function l() {
2174
2179
  n.value = !0;
2175
2180
  }
@@ -2179,7 +2184,7 @@ const $a = {
2179
2184
  function u() {
2180
2185
  n.value && (n.value = !1, t("close"));
2181
2186
  }
2182
- return (o, s) => (d(), O(f(it), {
2187
+ return (o, s) => (d(), O(f(dt), {
2183
2188
  "anchor-id": e.anchorId,
2184
2189
  breakout: e.breakout,
2185
2190
  "container-id": e.containerId,
@@ -2332,11 +2337,11 @@ const $a = {
2332
2337
  "after-leave"
2333
2338
  ],
2334
2339
  setup(e, { emit: a }) {
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);
2340
+ const t = e, n = a, { transition: l } = fe(t), i = 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);
2336
2341
  function r(c) {
2337
2342
  n("optselected", c), n("update:modelValue", c);
2338
2343
  }
2339
- return (c, v) => (d(), O(Ja, {
2344
+ return (c, h) => (d(), O(rn, {
2340
2345
  "anchor-id": o.value,
2341
2346
  breakout: e.breakout,
2342
2347
  "container-id": e.containerId,
@@ -2352,9 +2357,9 @@ const $a = {
2352
2357
  shown: f(l),
2353
2358
  "use-mobile-style": e.useMobileStyle,
2354
2359
  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")),
2360
+ onClose: h[0] || (h[0] = (k) => n("close")),
2361
+ onAfterEnter: h[1] || (h[1] = (k) => n("after-enter")),
2362
+ onAfterLeave: h[2] || (h[2] = (k) => n("after-leave")),
2358
2363
  "onUpdate:modelValue": r
2359
2364
  }, {
2360
2365
  default: D(() => [
@@ -2363,7 +2368,7 @@ const $a = {
2363
2368
  _: 3
2364
2369
  }, 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"]));
2365
2370
  }
2366
- }, _a = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], en = {
2371
+ }, sn = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], dn = {
2367
2372
  __name: "BsFilterButton",
2368
2373
  props: {
2369
2374
  badgeCount: {
@@ -2392,8 +2397,8 @@ const $a = {
2392
2397
  }
2393
2398
  },
2394
2399
  setup(e) {
2395
- const a = e, t = p(() => a.badgeCount > 0);
2396
- return (n, l) => (d(), h("button", {
2400
+ const a = e, t = v(() => a.badgeCount > 0);
2401
+ return (n, l) => (d(), p("button", {
2397
2402
  class: "bs-filter-button",
2398
2403
  "aria-controls": e.optionsId,
2399
2404
  "aria-expanded": e.open,
@@ -2403,21 +2408,21 @@ const $a = {
2403
2408
  disabled: e.disabled,
2404
2409
  type: "button"
2405
2410
  }, [
2406
- t.value ? (d(), O(Ut, {
2411
+ t.value ? (d(), O(Jt, {
2407
2412
  key: 0,
2408
2413
  color: "blue",
2409
2414
  count: e.badgeCount,
2410
2415
  label: "active filter",
2411
2416
  position: "left",
2412
2417
  variant: "notext"
2413
- }, null, 8, ["count"])) : k("", !0),
2418
+ }, null, 8, ["count"])) : w("", !0),
2414
2419
  L(n.$slots, "label", {}, () => [
2415
- H(T(e.label), 1)
2420
+ G(T(e.label), 1)
2416
2421
  ]),
2417
- V(f(lt))
2418
- ], 8, _a));
2422
+ V(f(it))
2423
+ ], 8, sn));
2419
2424
  }
2420
- }, tn = ["id"], Ml = {
2425
+ }, un = ["id"], to = {
2421
2426
  __name: "BsDropdownWithToggle",
2422
2427
  props: {
2423
2428
  breakout: {
@@ -2480,7 +2485,7 @@ const $a = {
2480
2485
  },
2481
2486
  emits: ["update:selectedOptions", "update:selectedOption", "toggled", "close"],
2482
2487
  setup(e, { emit: a }) {
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);
2488
+ const t = e, n = a, l = B(!1), i = B(null), u = v(() => Re(async () => await (t.multiselect ? Promise.resolve().then(() => on) : Promise.resolve().then(() => Ga)))), [o, s] = Q(2);
2484
2489
  R(l, (x) => {
2485
2490
  x && i.value.$el.blur();
2486
2491
  });
@@ -2490,20 +2495,20 @@ const $a = {
2490
2495
  function c() {
2491
2496
  l.value && r();
2492
2497
  }
2493
- function v() {
2498
+ function h() {
2494
2499
  l.value = !0;
2495
2500
  }
2496
- function w(x) {
2501
+ function k(x) {
2497
2502
  n("update:selectedOptions", x);
2498
2503
  }
2499
- function m(x) {
2504
+ function g(x) {
2500
2505
  t.multiselect || (n("update:selectedOption", x), r());
2501
2506
  }
2502
- return (x, S) => (d(), h("div", {
2507
+ return (x, $) => (d(), p("div", {
2503
2508
  class: "bs-dropdown-with-toggle",
2504
2509
  id: x.$attrs.id
2505
2510
  }, [
2506
- V(en, {
2511
+ V(dn, {
2507
2512
  ref_key: "toggleRef",
2508
2513
  ref: i,
2509
2514
  "aria-controls": f(s),
@@ -2513,16 +2518,16 @@ const $a = {
2513
2518
  open: e.open,
2514
2519
  "options-id": f(s),
2515
2520
  size: e.toggleSize,
2516
- onClick: S[0] || (S[0] = (C) => x.$emit("toggled"))
2521
+ onClick: $[0] || ($[0] = (C) => x.$emit("toggled"))
2517
2522
  }, {
2518
2523
  label: D(() => [
2519
2524
  L(x.$slots, "toggle-label", {}, () => [
2520
- H(T(e.toggleLabel), 1)
2525
+ G(T(e.toggleLabel), 1)
2521
2526
  ])
2522
2527
  ]),
2523
2528
  _: 3
2524
2529
  }, 8, ["aria-controls", "aria-expanded", "disabled", "id", "open", "options-id", "size"]),
2525
- V(it, {
2530
+ V(dt, {
2526
2531
  shown: e.open,
2527
2532
  "anchor-id": f(o),
2528
2533
  breakout: e.breakout,
@@ -2533,7 +2538,7 @@ const $a = {
2533
2538
  "use-mobile-style": e.useMobileStyle,
2534
2539
  width: e.dropdownWidth,
2535
2540
  onClose: c,
2536
- onEnter: v
2541
+ onEnter: h
2537
2542
  }, {
2538
2543
  default: D(() => [
2539
2544
  V(f(u), {
@@ -2543,12 +2548,12 @@ const $a = {
2543
2548
  "options-id": f(s),
2544
2549
  "selected-options": e.selectedOptions,
2545
2550
  shown: e.open,
2546
- "onUpdate:modelValue": m,
2547
- "onUpdate:selectedOptions": w,
2548
- onClose: S[1] || (S[1] = (C) => e.multiselect ? void 0 : c())
2551
+ "onUpdate:modelValue": g,
2552
+ "onUpdate:selectedOptions": k,
2553
+ onClose: $[1] || ($[1] = (C) => e.multiselect ? void 0 : c())
2549
2554
  }, {
2550
2555
  default: D(() => [
2551
- e.multiselect ? k("", !0) : (d(), O(ye, {
2556
+ e.multiselect ? w("", !0) : (d(), O(ye, {
2552
2557
  key: 0,
2553
2558
  options: e.options
2554
2559
  }, null, 8, ["options"]))
@@ -2558,20 +2563,20 @@ const $a = {
2558
2563
  ]),
2559
2564
  _: 1
2560
2565
  }, 8, ["shown", "anchor-id", "breakout", "helper-text", "helper-description", "position", "use-mobile-style", "width"])
2561
- ], 8, tn));
2566
+ ], 8, un));
2562
2567
  }
2563
- }, an = ["view-box"], nn = ["id"], ln = ["offset", "stop-color"], zl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2568
+ }, cn = ["view-box"], fn = ["id"], pn = ["offset", "stop-color"], ao = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2564
2569
  __name: "BsIconGradientWrapper",
2565
2570
  setup(e) {
2566
- const a = y(null), t = y(null), n = [
2571
+ const a = B(null), t = B(null), n = [
2567
2572
  { offset: 0.1326, color: "#EE282A" },
2568
2573
  { offset: 0.5466, color: "#1C0087" },
2569
2574
  { offset: 0.9715, color: "#0086EA" }
2570
- ], [l] = X();
2575
+ ], [l] = Q();
2571
2576
  return Y(() => {
2572
2577
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
2573
- }), (i, u) => (d(), h(W, null, [
2574
- B("span", N({
2578
+ }), (i, u) => (d(), p(U, null, [
2579
+ b("span", N({
2575
2580
  ref_key: "svgWrapperRef",
2576
2581
  ref: a,
2577
2582
  class: "bs-icon-gradient-wrapper",
@@ -2579,13 +2584,13 @@ const $a = {
2579
2584
  }, i.$attrs), [
2580
2585
  L(i.$slots, "default")
2581
2586
  ], 16),
2582
- (d(), h("svg", {
2587
+ (d(), p("svg", {
2583
2588
  xmlns: "http://www.w3.org/2000/svg",
2584
2589
  "view-box": t.value,
2585
2590
  width: "0",
2586
2591
  height: "0"
2587
2592
  }, [
2588
- B("linearGradient", {
2593
+ b("linearGradient", {
2589
2594
  id: f(l),
2590
2595
  x1: "0",
2591
2596
  y1: "0",
@@ -2593,16 +2598,16 @@ const $a = {
2593
2598
  y2: "100%",
2594
2599
  "gradient-units": "userSpaceOnUse"
2595
2600
  }, [
2596
- (d(), h(W, null, Z(n, (o) => B("stop", {
2601
+ (d(), p(U, null, J(n, (o) => b("stop", {
2597
2602
  key: o.offset,
2598
2603
  offset: o.offset,
2599
2604
  "stop-color": o.color
2600
- }, null, 8, ln)), 64))
2601
- ], 8, nn)
2602
- ], 8, an))
2605
+ }, null, 8, pn)), 64))
2606
+ ], 8, fn)
2607
+ ], 8, cn))
2603
2608
  ], 64));
2604
2609
  }
2605
- }), Nl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2610
+ }), no = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2606
2611
  __name: "BsInputField",
2607
2612
  props: {
2608
2613
  /** Sets the disabled state on input, disabled styles on label. */
@@ -2649,12 +2654,12 @@ const $a = {
2649
2654
  },
2650
2655
  emits: ["update:modelValue"],
2651
2656
  setup(e, { emit: a }) {
2652
- const t = e, [n, l] = X(2), i = p(() => ge.concat(t.passAttrs.split(",")).concat("type")), u = p(() => {
2657
+ const t = e, [n, l] = Q(2), i = v(() => me.concat(t.passAttrs.split(",")).concat("type")), u = v(() => {
2653
2658
  var r, c;
2654
2659
  return ((c = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : c.call(r, `
2655
2660
  `)) || t.hints;
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), [
2661
+ }), o = v(() => t.error && t.errorMsg || t.hint || u.value || void 0), s = v(() => t.inputId || n.value);
2662
+ return (r, c) => (d(), p("div", N({ "data-component": "bs-input-field" }, f(K)(r.$attrs, i.value).remaining), [
2658
2663
  e.label || r.$slots.label ? (d(), O(ne, {
2659
2664
  key: 0,
2660
2665
  for: r.$attrs.id || s.value,
@@ -2663,11 +2668,11 @@ const $a = {
2663
2668
  }, {
2664
2669
  default: D(() => [
2665
2670
  L(r.$slots, "label", {}, () => [
2666
- H(T(e.label), 1)
2671
+ G(T(e.label), 1)
2667
2672
  ])
2668
2673
  ]),
2669
2674
  _: 3
2670
- }, 8, ["for", "disabled", "required"])) : k("", !0),
2675
+ }, 8, ["for", "disabled", "required"])) : w("", !0),
2671
2676
  V(ve, N({
2672
2677
  disabled: e.disabled,
2673
2678
  error: e.error,
@@ -2677,7 +2682,7 @@ const $a = {
2677
2682
  required: e.required,
2678
2683
  type: e.type,
2679
2684
  value: e.value || e.modelValue,
2680
- "onUpdate:modelValue": c[0] || (c[0] = (v) => r.$emit("update:modelValue", v))
2685
+ "onUpdate:modelValue": c[0] || (c[0] = (h) => r.$emit("update:modelValue", h))
2681
2686
  }, f(K)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
2682
2687
  o.value ? (d(), O(pe, {
2683
2688
  key: 1,
@@ -2685,10 +2690,10 @@ const $a = {
2685
2690
  "error-msg": e.errorMsg,
2686
2691
  hint: e.hint || u.value,
2687
2692
  "hint-id": f(l)
2688
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : k("", !0)
2693
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : w("", !0)
2689
2694
  ], 16));
2690
2695
  }
2691
- }), et = {
2696
+ }), tt = {
2692
2697
  A: "🇦",
2693
2698
  B: "🇧",
2694
2699
  C: "🇨",
@@ -2715,7 +2720,7 @@ const $a = {
2715
2720
  X: "🇽",
2716
2721
  Y: "🇾",
2717
2722
  Z: "🇿"
2718
- }, Pe = {
2723
+ }, qe = {
2719
2724
  data: {
2720
2725
  allCountries: null,
2721
2726
  byCountryCode: null,
@@ -2741,8 +2746,8 @@ const $a = {
2741
2746
  * @returns {Country[]} an array of country objects
2742
2747
  */
2743
2748
  initSourceData() {
2744
- return this.data.allCountries || (this.data.allCountries = Lt().map((e) => {
2745
- const a = Vt(e), t = et[a[0]] + et[a[1]] || "";
2749
+ return this.data.allCountries || (this.data.allCountries = zt().map((e) => {
2750
+ const a = Nt(e), t = tt[a[0]] + tt[a[1]] || "";
2746
2751
  return {
2747
2752
  label: `+${e}`,
2748
2753
  flag: t,
@@ -2756,10 +2761,10 @@ const $a = {
2756
2761
  this.data[e][t[a]] = t;
2757
2762
  }));
2758
2763
  }
2759
- }, on = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], rn = { key: 0 }, sn = {
2764
+ }, vn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], hn = { key: 0 }, bn = {
2760
2765
  "aria-hidden": "true",
2761
2766
  style: { width: "1.25rem" }
2762
- }, dn = { "aria-hidden": "true" }, Rl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2767
+ }, gn = { "aria-hidden": "true" }, lo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2763
2768
  __name: "BsInputPhone",
2764
2769
  props: {
2765
2770
  deferValidation: {
@@ -2821,69 +2826,69 @@ const $a = {
2821
2826
  "Escape",
2822
2827
  "Home",
2823
2828
  "Tab"
2824
- ], u = y(null), o = y(1), s = y([]), r = y(null), [
2829
+ ], u = B(null), o = B(1), s = B([]), r = B(null), [
2825
2830
  c,
2826
- v,
2827
- w,
2828
- m
2829
- ] = X(4), x = y(!1), S = y(""), C = y(""), P = y(!1), g = y(!1), b = y(!0);
2831
+ h,
2832
+ k,
2833
+ g
2834
+ ] = Q(4), x = B(!1), $ = B(""), C = B(""), q = B(!1), y = B(!1), m = B(!0);
2830
2835
  a({
2831
- validationErr: P,
2836
+ validationErr: q,
2832
2837
  validationErrMsg: C
2833
2838
  });
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);
2839
+ const z = v(() => $.value ? `+${o.value}${$.value}` : ""), I = v(() => `Country code: ${o.value}. Click to change.`), A = v(() => m.value ? n.errorMsg || C.value : ""), P = v(() => n.error || q.value), F = v(() => n.hint || P.value && A.value), _ = v(() => m.value && P.value);
2835
2840
  R(z, (M) => {
2836
2841
  l("update:modelValue", M), be(M);
2837
2842
  }), R(() => n.modelValue, de), De(), Y(() => x.value = !0);
2838
- function de(M, U) {
2839
- M === "" && M !== U && (S.value = "");
2843
+ function de(M, W) {
2844
+ M === "" && M !== W && ($.value = "");
2840
2845
  }
2841
2846
  function xe() {
2842
2847
  var M;
2843
- g.value && (g.value = !1, (M = u.value) == null || M.focus());
2848
+ y.value && (y.value = !1, (M = u.value) == null || M.focus());
2844
2849
  }
2845
2850
  function Ae(M) {
2846
- var U;
2847
- o.value = M, g.value = !1, (U = u.value) == null || U.focus(), he(M);
2851
+ var W;
2852
+ o.value = M, y.value = !1, (W = u.value) == null || W.focus(), he(M);
2848
2853
  }
2849
2854
  function Le() {
2850
- n.deferValidation && (b.value = !0), l("input-blur");
2855
+ n.deferValidation && (m.value = !0), l("input-blur");
2851
2856
  }
2852
2857
  function Ve(M) {
2853
- S.value = M.target.value, n.deferValidation && (b.value = !1);
2858
+ $.value = M.target.value, n.deferValidation && (m.value = !1);
2854
2859
  }
2855
2860
  function Ee(M) {
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();
2861
+ var W, H;
2862
+ !((H = (W = M.key) == null ? void 0 : W.match) != null && H.call(W, /[0-9]/)) && !i.includes(M.key) && !M.ctrlKey && !M.metaKey && M.preventDefault();
2858
2863
  }
2859
2864
  function De() {
2860
- Pe.initSourceData(), Oe(), he(o.value), be(z.value);
2865
+ qe.initSourceData(), Oe(), he(o.value), be(z.value);
2861
2866
  }
2862
2867
  function Oe() {
2863
- var U, G;
2864
- let M = Ye(n.modelValue);
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) => ({
2868
+ var W, H;
2869
+ let M = Xe(n.modelValue);
2870
+ M.valid || M.countryCode && ((H = (W = n.modelValue) == null ? void 0 : W.startsWith) != null && H.call(W, "+")) ? (o.value = M.countryCode, $.value = M.number.significant) : $.value = n.modelValue, s.value = qe.data.allCountries.map((ue) => ({
2866
2871
  ...ue,
2867
2872
  isSelected: o.value === ue
2868
2873
  }));
2869
2874
  }
2870
2875
  function he(M) {
2871
- r.value = Pe.getCountryByCountryCode(M);
2876
+ r.value = qe.getCountryByCountryCode(M);
2872
2877
  }
2873
2878
  function be(M) {
2874
- P.value = M ? !Ye(M).valid : !1, C.value = P.value ? "Invalid phone number" : "";
2879
+ q.value = M ? !Xe(M).valid : !1, C.value = q.value ? "Invalid phone number" : "";
2875
2880
  }
2876
- return (M, U) => (d(), h("div", N({
2881
+ return (M, W) => (d(), p("div", N({
2877
2882
  class: "bs-input-phone",
2878
2883
  "data-component": "bs-input-phone"
2879
- }, f(K)(M.$attrs, f(ge)).remaining), [
2884
+ }, f(K)(M.$attrs, f(me)).remaining), [
2880
2885
  V(ne, {
2881
- for: M.$attrs.id || e.inputId || f(m),
2886
+ for: M.$attrs.id || e.inputId || f(g),
2882
2887
  required: e.required,
2883
2888
  class: ae({ "visually-hidden": e.hideLabel })
2884
2889
  }, {
2885
2890
  default: D(() => [
2886
- H(T(e.label), 1)
2891
+ G(T(e.label), 1)
2887
2892
  ]),
2888
2893
  _: 1
2889
2894
  }, 8, ["for", "required", "class"]),
@@ -2894,33 +2899,33 @@ const $a = {
2894
2899
  variant: "inner-bordered"
2895
2900
  }, {
2896
2901
  default: D(() => {
2897
- var G;
2902
+ var H;
2898
2903
  return [
2899
- B("button", {
2904
+ b("button", {
2900
2905
  id: f(c),
2901
2906
  ref_key: "countryCodesToggle",
2902
2907
  ref: u,
2903
- "aria-controls": f(v),
2904
- "aria-expanded": g.value,
2908
+ "aria-controls": f(h),
2909
+ "aria-expanded": y.value,
2905
2910
  "aria-haspopup": "listbox",
2906
2911
  "aria-label": I.value,
2907
2912
  disabled: e.disabled,
2908
2913
  type: "button",
2909
- onClick: U[0] || (U[0] = (ue) => g.value = !g.value)
2914
+ onClick: W[0] || (W[0] = (ue) => y.value = !y.value)
2910
2915
  }, [
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" })
2914
- ], 8, on),
2916
+ b("span", null, T((H = r.value) == null ? void 0 : H.flag), 1),
2917
+ b("span", null, "+" + T(o.value), 1),
2918
+ V(f(gt), { size: "sm" })
2919
+ ], 8, vn),
2915
2920
  V(ve, N({
2916
- "input-id": M.$attrs.id || e.inputId || f(m),
2921
+ "input-id": M.$attrs.id || e.inputId || f(g),
2917
2922
  disabled: e.disabled,
2918
- "hint-id": f(w),
2923
+ "hint-id": f(k),
2919
2924
  placeholder: e.placeholder,
2920
- value: S.value,
2925
+ value: $.value,
2921
2926
  "data-autowidth": "",
2922
2927
  type: "tel"
2923
- }, f(K)(M.$attrs, f(ge)).filtered, {
2928
+ }, f(K)(M.$attrs, f(me)).filtered, {
2924
2929
  onInput: Ve,
2925
2930
  onFocusout: Le,
2926
2931
  onKeydown: Ee
@@ -2930,46 +2935,46 @@ const $a = {
2930
2935
  _: 1
2931
2936
  }, 8, ["disabled", "error"]),
2932
2937
  Be(V(pe, {
2933
- error: q.value,
2938
+ error: P.value,
2934
2939
  "error-msg": A.value,
2935
2940
  hint: e.hint,
2936
- "hint-id": f(w)
2941
+ "hint-id": f(k)
2937
2942
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
2938
- [$e, F.value]
2943
+ [Se, F.value]
2939
2944
  ]),
2940
- x.value ? (d(), h("div", rn, [
2945
+ x.value ? (d(), p("div", hn, [
2941
2946
  V(We, {
2942
2947
  "anchor-id": f(c),
2943
2948
  "helper-text": "Country Code",
2944
2949
  label: "Country Code",
2945
2950
  "model-value": o.value,
2946
- "options-id": f(v),
2951
+ "options-id": f(h),
2947
2952
  preloaded: "",
2948
- shown: g.value,
2953
+ shown: y.value,
2949
2954
  width: "content",
2950
2955
  onClose: xe,
2951
2956
  "onUpdate:modelValue": Ae
2952
2957
  }, {
2953
2958
  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}`,
2959
+ x.value ? (d(!0), p(U, { key: 0 }, J(s.value, (H) => (d(), O(Ue, {
2960
+ "aria-label": H.value,
2961
+ key: H.value,
2962
+ value: `${H.value}`,
2958
2963
  variant: "2-col"
2959
2964
  }, {
2960
2965
  default: D(() => [
2961
- B("span", sn, T(G == null ? void 0 : G.flag), 1),
2962
- B("span", dn, T(G.label), 1)
2966
+ b("span", bn, T(H == null ? void 0 : H.flag), 1),
2967
+ b("span", gn, T(H.label), 1)
2963
2968
  ]),
2964
2969
  _: 2
2965
- }, 1032, ["aria-label", "value"]))), 128)) : k("", !0)
2970
+ }, 1032, ["aria-label", "value"]))), 128)) : w("", !0)
2966
2971
  ]),
2967
2972
  _: 1
2968
2973
  }, 8, ["anchor-id", "model-value", "options-id", "shown"])
2969
- ])) : k("", !0)
2974
+ ])) : w("", !0)
2970
2975
  ], 16));
2971
2976
  }
2972
- }), un = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2977
+ }), mn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2973
2978
  __name: "BsInputSearch",
2974
2979
  props: {
2975
2980
  /** Sets the disabled state on input, disabled styles on label. */
@@ -3014,7 +3019,7 @@ const $a = {
3014
3019
  },
3015
3020
  emits: ["clear", "update:modelValue"],
3016
3021
  setup(e, { emit: a }) {
3017
- const t = e, n = p(() => ge.concat(t.passAttrs.split(","))), l = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
3022
+ const t = e, n = v(() => me.concat(t.passAttrs.split(","))), l = v(() => !t.disabled && !t.hideClear && t.variant !== "filter");
3018
3023
  return (i, u) => (d(), O(Ce, N({
3019
3024
  class: "bs-input-search",
3020
3025
  "data-component": "bs-input-search",
@@ -3022,7 +3027,7 @@ const $a = {
3022
3027
  disabled: e.disabled
3023
3028
  }, f(K)(i.$attrs, n.value).remaining), {
3024
3029
  default: D(() => [
3025
- e.hideSearchIcon ? k("", !0) : (d(), O(f(ht), { key: 0 })),
3030
+ e.hideSearchIcon ? w("", !0) : (d(), O(f(mt), { key: 0 })),
3026
3031
  V(ve, N({
3027
3032
  "data-autowidth": "",
3028
3033
  disabled: e.disabled,
@@ -3032,26 +3037,26 @@ const $a = {
3032
3037
  }, f(K)(i.$attrs, n.value).filtered, {
3033
3038
  "onUpdate:modelValue": u[0] || (u[0] = (o) => i.$emit("update:modelValue", o))
3034
3039
  }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
3035
- Be(B("button", {
3040
+ Be(b("button", {
3036
3041
  title: "Clear",
3037
3042
  type: "button",
3038
3043
  onClick: u[1] || (u[1] = (o) => i.$emit("clear"))
3039
3044
  }, [
3040
- V(f(Se), { size: "sm" })
3045
+ V(f($e), { size: "sm" })
3041
3046
  ], 512), [
3042
- [$e, l.value]
3047
+ [Se, l.value]
3043
3048
  ])
3044
3049
  ]),
3045
3050
  _: 1
3046
3051
  }, 16, ["data-variant", "disabled"]));
3047
3052
  }
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 = {
3053
+ }), yn = ["data-size", "data-variant"], Bn = /* @__PURE__ */ b("span", null, null, -1), Sn = /* @__PURE__ */ b("span", null, null, -1), $n = /* @__PURE__ */ b("span", null, null, -1), wn = /* @__PURE__ */ b("span", null, null, -1), kn = /* @__PURE__ */ b("span", { class: "visually-hidden" }, "Loading", -1), In = [
3054
+ Bn,
3055
+ Sn,
3056
+ $n,
3057
+ wn,
3058
+ kn
3059
+ ], Cn = {
3055
3060
  __name: "BsLoader",
3056
3061
  props: {
3057
3062
  size: {
@@ -3065,14 +3070,14 @@ const $a = {
3065
3070
  }
3066
3071
  },
3067
3072
  setup(e) {
3068
- return (a, t) => (d(), h("span", {
3073
+ return (a, t) => (d(), p("span", {
3069
3074
  class: "bs-loader",
3070
3075
  "data-size": e.size,
3071
3076
  "data-variant": e.variant,
3072
3077
  role: "status"
3073
- }, mn, 8, cn));
3078
+ }, In, 8, yn));
3074
3079
  }
3075
- }, yn = ["id"], jl = {
3080
+ }, Tn = ["id"], oo = {
3076
3081
  __name: "BsInputTypeahead",
3077
3082
  props: {
3078
3083
  characterThreshold: {
@@ -3136,60 +3141,60 @@ const $a = {
3136
3141
  },
3137
3142
  emits: ["update:inputValue", "update:optionsValue"],
3138
3143
  setup(e, { emit: a }) {
3139
- const t = e, n = a, l = y(!1), i = y(!1), [u] = X();
3144
+ const t = e, n = a, l = B(!1), i = B(!1), [u] = Q();
3140
3145
  let o = [];
3141
3146
  R(() => t.inputValue, () => {
3142
- i.value ? i.value = !1 : S();
3147
+ i.value ? i.value = !1 : $();
3143
3148
  });
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(() => {
3149
+ const s = v(() => t.typeaheadId || u.value), r = v(() => `${s.value}-input-container`), c = v(() => `${s.value}-input`), h = v(() => `${s.value}-options`), k = v(() => {
3145
3150
  if (l.value) {
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;
3151
+ let y = t.options;
3152
+ const m = t.inputValue.toLowerCase(), z = t.filterType === "includes" ? "includes" : "startsWith";
3153
+ return y = g(y, m, z), y = y.slice(0, t.maxOptions), y = x(y, m, z), o = y, y;
3149
3154
  } else
3150
3155
  return o;
3151
3156
  });
3152
- function m(g, b, z) {
3153
- return t.internalFiltering ? g.filter((I) => I.label.toLowerCase()[z](b)) : g;
3157
+ function g(y, m, z) {
3158
+ return t.internalFiltering ? y.filter((I) => I.label.toLowerCase()[z](m)) : y;
3154
3159
  }
3155
- function x(g, b, z) {
3156
- return g.map((I) => {
3160
+ function x(y, m, z) {
3161
+ return y.map((I) => {
3157
3162
  let A = I.label;
3158
- if (b !== "") {
3159
- const q = z === "includes" ? "gi" : "i", F = new RegExp(`(${b})`, q);
3163
+ if (m !== "") {
3164
+ const P = z === "includes" ? "gi" : "i", F = new RegExp(`(${m})`, P);
3160
3165
  A = I.label.replace(F, '<span style="color: var(--bs-blue-base)">$1</span>');
3161
3166
  }
3162
3167
  return { ...I, labelHtml: A };
3163
3168
  });
3164
3169
  }
3165
- function S() {
3170
+ function $() {
3166
3171
  t.inputValue.length >= t.characterThreshold ? l.value = !0 : l.value = !1;
3167
3172
  }
3168
3173
  function C() {
3169
3174
  n("update:inputValue", ""), n("update:optionsValue", ""), document.getElementById(c.value).focus();
3170
3175
  }
3171
- function P(g) {
3176
+ function q(y) {
3172
3177
  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);
3178
+ const m = k.value.find((z) => z.value === y);
3179
+ n("update:inputValue", m.label), n("update:optionsValue", y);
3175
3180
  }
3176
- return (g, b) => (d(), h(W, null, [
3177
- e.label || g.$slots.label ? (d(), O(ne, {
3181
+ return (y, m) => (d(), p(U, null, [
3182
+ e.label || y.$slots.label ? (d(), O(ne, {
3178
3183
  key: 0,
3179
3184
  for: c.value,
3180
3185
  disabled: e.disabled,
3181
3186
  required: e.required
3182
3187
  }, {
3183
3188
  default: D(() => [
3184
- L(g.$slots, "label", {}, () => [
3185
- H(T(e.label), 1)
3189
+ L(y.$slots, "label", {}, () => [
3190
+ G(T(e.label), 1)
3186
3191
  ])
3187
3192
  ]),
3188
3193
  _: 3
3189
- }, 8, ["for", "disabled", "required"])) : k("", !0),
3190
- B("div", { id: r.value }, [
3191
- V(un, N({
3192
- "aria-controls": v.value,
3194
+ }, 8, ["for", "disabled", "required"])) : w("", !0),
3195
+ b("div", { id: r.value }, [
3196
+ V(mn, N({
3197
+ "aria-controls": h.value,
3193
3198
  "aria-expanded": l.value,
3194
3199
  "aria-haspopup": "listbox",
3195
3200
  autocomplete: "off",
@@ -3201,37 +3206,37 @@ const $a = {
3201
3206
  placeholder: e.placeholder,
3202
3207
  role: "combobox",
3203
3208
  value: e.inputValue
3204
- }, g.$attrs, {
3209
+ }, y.$attrs, {
3205
3210
  onClear: C,
3206
- onFocusin: S,
3207
- "onUpdate:modelValue": b[0] || (b[0] = (z) => n("update:inputValue", z))
3211
+ onFocusin: $,
3212
+ "onUpdate:modelValue": m[0] || (m[0] = (z) => n("update:inputValue", z))
3208
3213
  }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
3209
- ], 8, yn),
3214
+ ], 8, Tn),
3210
3215
  V(We, {
3211
3216
  "anchor-id": r.value,
3212
3217
  "focus-on-show": !1,
3213
3218
  "model-value": e.optionsValue,
3214
- "options-id": v.value,
3219
+ "options-id": h.value,
3215
3220
  preloaded: !0,
3216
3221
  "prevent-tab": !1,
3217
3222
  shown: l.value,
3218
3223
  "use-mobile-style": !1,
3219
3224
  width: "toggle",
3220
- onClose: b[1] || (b[1] = (z) => l.value = !1),
3221
- "onUpdate:modelValue": P
3225
+ onClose: m[1] || (m[1] = (z) => l.value = !1),
3226
+ "onUpdate:modelValue": q
3222
3227
  }, {
3223
3228
  default: D(() => [
3224
- V(ye, { options: w.value }, ct({ _: 2 }, [
3229
+ V(ye, { options: k.value }, lt({ _: 2 }, [
3225
3230
  e.loading ? {
3226
3231
  name: "no-options",
3227
3232
  fn: D(() => [
3228
- V(gn, { size: "xs" })
3233
+ V(Cn, { size: "xs" })
3229
3234
  ]),
3230
3235
  key: "0"
3231
3236
  } : {
3232
3237
  name: "no-options",
3233
3238
  fn: D(() => [
3234
- H("No results found")
3239
+ G("No results found")
3235
3240
  ]),
3236
3241
  key: "1"
3237
3242
  }
@@ -3241,7 +3246,7 @@ const $a = {
3241
3246
  }, 8, ["anchor-id", "model-value", "options-id", "shown"])
3242
3247
  ], 64));
3243
3248
  }
3244
- }, Bn = /* @__PURE__ */ B("div", { class: "bs-overlay" }, null, -1), $n = {
3249
+ }, xn = /* @__PURE__ */ b("div", { class: "bs-overlay" }, null, -1), An = {
3245
3250
  __name: "BsOverlay",
3246
3251
  props: {
3247
3252
  shown: {
@@ -3282,12 +3287,12 @@ const $a = {
3282
3287
  onAfterLeave: u[1] || (u[1] = (o) => n("after-leave"))
3283
3288
  }, {
3284
3289
  default: D(() => [
3285
- Bn
3290
+ xn
3286
3291
  ]),
3287
3292
  _: 1
3288
3293
  }, 8, ["shown", "preloaded"]));
3289
3294
  }
3290
- }, Sn = ["id", "role", "aria-labelledby"], wn = ["id"], Fl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3295
+ }, Ln = ["id", "role", "aria-labelledby"], Vn = ["id"], io = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3291
3296
  __name: "BsModal",
3292
3297
  props: {
3293
3298
  modalId: {
@@ -3332,10 +3337,10 @@ const $a = {
3332
3337
  },
3333
3338
  emits: ["close", "after-enter", "after-leave"],
3334
3339
  setup(e, { emit: a }) {
3335
- const t = e, n = a, { transition: l } = fe(t), [i] = X();
3340
+ const t = e, n = a, { transition: l } = fe(t), [i] = Q();
3336
3341
  let u = !1;
3337
- const o = y(null), s = (v) => {
3338
- o.value && v.target.closest(".bs-overlay") && n("close", t.modalId);
3342
+ const o = B(null), s = (h) => {
3343
+ o.value && h.target.closest(".bs-overlay") && n("close", t.modalId);
3339
3344
  };
3340
3345
  Y(() => {
3341
3346
  document.addEventListener("click", s);
@@ -3345,8 +3350,8 @@ const $a = {
3345
3350
  u && n("close", t.modalId);
3346
3351
  });
3347
3352
  const r = () => !t.title && t.closeButton, c = () => t.title && t.closeButton;
3348
- return (v, w) => (d(), h(W, null, [
3349
- V($n, {
3353
+ return (h, k) => (d(), p(U, null, [
3354
+ V(An, {
3350
3355
  shown: f(l),
3351
3356
  preloaded: e.preloaded,
3352
3357
  "enter-controlled": e.enterControlled,
@@ -3358,60 +3363,60 @@ const $a = {
3358
3363
  preloaded: e.preloaded,
3359
3364
  duration: 75,
3360
3365
  "enter-attribute": "data-shown",
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"))
3366
+ onEnter: k[1] || (k[1] = (g) => ht(u) ? u.value = !0 : u = !0),
3367
+ onAfterEnter: k[2] || (k[2] = (g) => n("after-enter")),
3368
+ onAfterLeave: k[3] || (k[3] = (g) => n("after-leave"))
3364
3369
  }, {
3365
3370
  default: D(() => [
3366
- B("div", N({
3371
+ b("div", N({
3367
3372
  id: e.modalId,
3368
3373
  class: "bs-modal",
3369
3374
  role: e.alert ? "alertdialog" : "dialog",
3370
- "aria-labelledby": e.title && !v.$attrs["aria-label"] ? f(i) : void 0,
3375
+ "aria-labelledby": e.title && !h.$attrs["aria-label"] ? f(i) : void 0,
3371
3376
  "aria-modal": "true"
3372
- }, v.$attrs, {
3377
+ }, h.$attrs, {
3373
3378
  ref_key: "modalRef",
3374
3379
  ref: o
3375
3380
  }), [
3376
- e.title || e.closeButton ? (d(), h("header", {
3381
+ e.title || e.closeButton ? (d(), p("header", {
3377
3382
  key: 0,
3378
3383
  class: ae({
3379
3384
  "only-close-button-modal-header": r,
3380
3385
  "modal-header": c
3381
3386
  })
3382
3387
  }, [
3383
- e.title ? (d(), h("h5", {
3388
+ e.title ? (d(), p("h5", {
3384
3389
  key: 0,
3385
3390
  id: f(i),
3386
3391
  class: "modal-title"
3387
- }, T(e.title), 9, wn)) : k("", !0),
3388
- e.closeButton ? (d(), h("button", {
3392
+ }, T(e.title), 9, Vn)) : w("", !0),
3393
+ e.closeButton ? (d(), p("button", {
3389
3394
  key: 1,
3390
3395
  type: "button",
3391
3396
  title: "Close Modal",
3392
3397
  "aria-label": "Close Modal",
3393
- onClick: w[0] || (w[0] = (m) => n("close", e.modalId))
3398
+ onClick: k[0] || (k[0] = (g) => n("close", e.modalId))
3394
3399
  }, [
3395
- V(f(Se), { class: "close-button" })
3396
- ])) : k("", !0)
3397
- ], 2)) : k("", !0),
3398
- L(v.$slots, "default")
3399
- ], 16, Sn)
3400
+ V(f($e), { class: "close-button" })
3401
+ ])) : w("", !0)
3402
+ ], 2)) : w("", !0),
3403
+ L(h.$slots, "default")
3404
+ ], 16, Ln)
3400
3405
  ]),
3401
3406
  _: 3
3402
3407
  }, 8, ["shown", "preloaded"])
3403
3408
  ], 64));
3404
3409
  }
3405
- }), kn = ["data-variant", "data-fixed"], In = {
3410
+ }), En = ["data-variant", "data-fixed"], Dn = {
3406
3411
  key: 0,
3407
3412
  class: "bs-pagination-carets"
3408
- }, Cn = ["aria-label", "title", "disabled"], Tn = { key: 0 }, xn = ["aria-label", "title", "disabled"], An = { key: 0 }, Ln = {
3413
+ }, On = ["aria-label", "title", "disabled"], Pn = { key: 0 }, qn = ["aria-label", "title", "disabled"], Mn = { key: 0 }, zn = {
3409
3414
  key: 1,
3410
3415
  class: "bs-pagination-page-numbers"
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 = {
3416
+ }, Nn = ["title", "data-selected", "onClick"], Rn = { key: 2 }, jn = { key: 3 }, Fn = /* @__PURE__ */ b("span", null, "Results Per Page:", -1), Un = { class: "bs-pagination-results-numbers" }, Wn = ["data-selected", "disabled", "onClick"], Gn = {
3412
3417
  key: 5,
3413
3418
  class: "bs-pagination-carets"
3414
- }, zn = ["aria-label", "title", "disabled"], Nn = { key: 0 }, Rn = ["aria-label", "title", "disabled"], jn = { key: 0 }, Ul = {
3419
+ }, Hn = ["aria-label", "title", "disabled"], Kn = { key: 0 }, Yn = ["aria-label", "title", "disabled"], Xn = { key: 0 }, ro = {
3415
3420
  __name: "BsPagination",
3416
3421
  props: {
3417
3422
  // Used for all
@@ -3497,24 +3502,24 @@ const $a = {
3497
3502
  },
3498
3503
  emits: ["selchange", "update:modelValue"],
3499
3504
  setup(e, { emit: a }) {
3500
- const t = e, n = a, l = y(null);
3505
+ const t = e, n = a, l = B(null);
3501
3506
  Y(() => {
3502
- i.value ? l.value = i.value : t.variant === "results" ? l.value = S.value[0] : l.value = 1;
3507
+ i.value ? l.value = i.value : t.variant === "results" ? l.value = $.value[0] : l.value = 1;
3503
3508
  });
3504
- const i = p(() => t.modelValue || t.selection);
3509
+ const i = v(() => t.modelValue || t.selection);
3505
3510
  R(() => t.selection, (C) => {
3506
3511
  l.value = C;
3507
3512
  }), R(() => t.modelValue, (C) => {
3508
3513
  l.value = C;
3509
- }), R(l, (C, P) => {
3510
- P !== null && (n("selchange", C), n("update:modelValue", C));
3514
+ }), R(l, (C, q) => {
3515
+ q !== null && (n("selchange", C), n("update:modelValue", C));
3511
3516
  });
3512
- const u = p(() => {
3517
+ const u = v(() => {
3513
3518
  if (t.variant === "group")
3514
3519
  return Math.ceil(t.itemsCount / t.itemsPerGroup);
3515
3520
  if (t.variant === "base")
3516
3521
  return t.pageCount;
3517
- }), o = p(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
3522
+ }), o = v(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
3518
3523
  function s() {
3519
3524
  l.value = 1;
3520
3525
  }
@@ -3527,29 +3532,29 @@ const $a = {
3527
3532
  u.value
3528
3533
  );
3529
3534
  }
3530
- function v() {
3535
+ function h() {
3531
3536
  l.value = u.value;
3532
3537
  }
3533
- const w = p(() => {
3538
+ const k = v(() => {
3534
3539
  if (t.pageCount <= t.pageRange)
3535
3540
  return [...Array(t.pageCount + 1).keys()].slice(1);
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++)
3541
+ const C = [1], q = (t.pageRange - 1) / 2;
3542
+ let y = l.value - q, m = l.value + q;
3543
+ y < 1 && (m += 1 - y, y = 1), m > t.pageCount && (y -= m - t.pageCount, m = t.pageCount), y = Math.max(y, 2), m = Math.min(m, t.pageCount - 1), y > 2 && C.push(t.breakText);
3544
+ for (let z = y; z <= m; z++)
3540
3545
  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", {
3546
+ return m < t.pageCount - 1 && C.push(t.breakText), C.push(t.pageCount), C;
3547
+ }), g = v(() => `${t.centerLabel ?? "Page"} ${l.value} of ${u.value}`), x = v(() => {
3548
+ const C = (l.value - 1) * t.itemsPerGroup + 1, q = Math.min(C - 1 + t.itemsPerGroup, t.itemsCount);
3549
+ return `${t.centerLabel ?? "Results"} ${C} - ${q} of ${t.itemsCount}`;
3550
+ }), $ = v(() => t.resultsIncrements.split(",").map((C) => parseInt(C)));
3551
+ return (C, q) => (d(), p("div", {
3547
3552
  class: "bs-pagination",
3548
3553
  "data-variant": o.value,
3549
3554
  "data-fixed": t.fixed
3550
3555
  }, [
3551
- e.variant === "base" || e.variant === "group" ? (d(), h("div", In, [
3552
- e.showFirstLastButtons ? (d(), h("button", {
3556
+ e.variant === "base" || e.variant === "group" ? (d(), p("div", Dn, [
3557
+ e.showFirstLastButtons ? (d(), p("button", {
3553
3558
  key: 0,
3554
3559
  type: "button",
3555
3560
  class: ae(e.firstPageText ? "bs-pagination-word-caret" : void 0),
@@ -3558,10 +3563,10 @@ const $a = {
3558
3563
  disabled: l.value === 1,
3559
3564
  onClick: s
3560
3565
  }, [
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", {
3566
+ V(f(yt)),
3567
+ e.firstPageText ? (d(), p("span", Pn, T(e.firstPageText), 1)) : w("", !0)
3568
+ ], 10, On)) : w("", !0),
3569
+ b("button", {
3565
3570
  type: "button",
3566
3571
  class: ae(e.prevPageText ? "bs-pagination-word-caret" : void 0),
3567
3572
  "aria-label": e.prevPageText ? void 0 : "Previous Page",
@@ -3569,35 +3574,35 @@ const $a = {
3569
3574
  disabled: l.value === 1,
3570
3575
  onClick: r
3571
3576
  }, [
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`,
3577
+ V(f(Bt)),
3578
+ e.prevPageText ? (d(), p("span", Mn, T(e.prevPageText), 1)) : w("", !0)
3579
+ ], 10, qn)
3580
+ ])) : w("", !0),
3581
+ e.variant === "base" && e.centerDisplay === "numbers" ? (d(), p("div", zn, [
3582
+ (d(!0), p(U, null, J(k.value, (y) => (d(), p("button", {
3583
+ key: `page-${y}-button`,
3579
3584
  type: "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", {
3585
+ title: `Page ${y}`,
3586
+ "data-selected": y === l.value,
3587
+ onClick: (m) => l.value = y
3588
+ }, T(y), 9, Nn))), 128))
3589
+ ])) : w("", !0),
3590
+ t.variant === "base" && t.centerDisplay === "text" ? (d(), p("span", Rn, T(g.value), 1)) : w("", !0),
3591
+ t.variant === "group" ? (d(), p("span", jn, T(x.value), 1)) : w("", !0),
3592
+ t.variant === "results" ? (d(), p(U, { key: 4 }, [
3593
+ Fn,
3594
+ b("div", Un, [
3595
+ (d(!0), p(U, null, J($.value, (y) => (d(), p("button", {
3591
3596
  type: "button",
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))
3597
+ key: `results-${y}`,
3598
+ "data-selected": y === l.value,
3599
+ disabled: l.value === y,
3600
+ onClick: (m) => l.value = y
3601
+ }, T(y), 9, Wn))), 128))
3597
3602
  ])
3598
- ], 64)) : k("", !0),
3599
- e.variant === "base" || e.variant === "group" ? (d(), h("div", Mn, [
3600
- B("button", {
3603
+ ], 64)) : w("", !0),
3604
+ e.variant === "base" || e.variant === "group" ? (d(), p("div", Gn, [
3605
+ b("button", {
3601
3606
  type: "button",
3602
3607
  class: ae(e.nextPageText ? "bs-pagination-word-caret" : void 0),
3603
3608
  "aria-label": e.nextPageText ? void 0 : "Next Page",
@@ -3605,25 +3610,25 @@ const $a = {
3605
3610
  disabled: l.value === u.value,
3606
3611
  onClick: c
3607
3612
  }, [
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", {
3613
+ e.nextPageText ? (d(), p("span", Kn, T(e.nextPageText), 1)) : w("", !0),
3614
+ V(f(St))
3615
+ ], 10, Hn),
3616
+ e.showFirstLastButtons ? (d(), p("button", {
3612
3617
  key: 0,
3613
3618
  type: "button",
3614
3619
  class: ae(e.lastPageText ? "bs-pagination-word-caret" : void 0),
3615
3620
  "aria-label": e.lastPageText ? void 0 : "Last Page",
3616
3621
  title: e.lastPageText,
3617
3622
  disabled: l.value === u.value,
3618
- onClick: v
3623
+ onClick: h
3619
3624
  }, [
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));
3625
+ e.lastPageText ? (d(), p("span", Xn, T(e.lastPageText), 1)) : w("", !0),
3626
+ V(f($t))
3627
+ ], 10, Yn)) : w("", !0)
3628
+ ])) : w("", !0)
3629
+ ], 8, En));
3625
3630
  }
3626
- }, Fn = ["data-truncate"], Wl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3631
+ }, Qn = ["data-truncate"], so = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3627
3632
  __name: "BsPill",
3628
3633
  props: {
3629
3634
  active: { type: Boolean, default: !1 },
@@ -3648,7 +3653,7 @@ const $a = {
3648
3653
  },
3649
3654
  setup(e) {
3650
3655
  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({
3656
+ return (o, s) => (d(), O(Z(f(l)), N({
3652
3657
  class: "bs-pill",
3653
3658
  "data-active": e.active,
3654
3659
  "data-component": "bs-pill",
@@ -3658,24 +3663,24 @@ const $a = {
3658
3663
  ".href": f(u)
3659
3664
  }, f(i), { onClick: f(t) }), {
3660
3665
  default: D(() => [
3661
- B("span", { "data-truncate": e.truncate }, [
3666
+ b("span", { "data-truncate": e.truncate }, [
3662
3667
  L(o.$slots, "default")
3663
- ], 8, Fn)
3668
+ ], 8, Qn)
3664
3669
  ]),
3665
3670
  _: 3
3666
3671
  }, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
3667
3672
  }
3668
- }), Un = { class: "bs-profile-details" }, Wn = {
3673
+ }), Jn = { class: "bs-profile-details" }, Zn = {
3669
3674
  class: "bs-profile-name",
3670
3675
  "data-size": "sm",
3671
3676
  "data-weight": "bold"
3672
- }, Gn = {
3677
+ }, _n = {
3673
3678
  key: 1,
3674
3679
  "data-weight": "bold"
3675
- }, Hn = { key: 2 }, Kn = { key: 3 }, Yn = {
3680
+ }, el = { key: 2 }, tl = { key: 3 }, al = {
3676
3681
  key: 4,
3677
3682
  "data-icon": "true"
3678
- }, Qn = {
3683
+ }, nl = {
3679
3684
  __name: "BsProfileDetails",
3680
3685
  props: {
3681
3686
  profileName: {
@@ -3692,40 +3697,40 @@ const $a = {
3692
3697
  },
3693
3698
  emits: ["action-toggled"],
3694
3699
  setup(e, { emit: a }) {
3695
- const t = e, n = a, { icon: l } = me(t, "actionIcon"), { icon: i } = me(t, "miscMetaIcon");
3700
+ const t = e, n = a, { icon: l } = ge(t, "actionIcon"), { icon: i } = ge(t, "miscMetaIcon");
3696
3701
  function u(o) {
3697
3702
  o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), n("action-toggled"));
3698
3703
  }
3699
- return (o, s) => (d(), h("div", Un, [
3700
- e.action || o.$slots.action ? (d(), h("button", {
3704
+ return (o, s) => (d(), p("div", Jn, [
3705
+ e.action || o.$slots.action ? (d(), p("button", {
3701
3706
  key: 0,
3702
3707
  "data-icon": "true",
3703
3708
  onClick: u
3704
3709
  }, [
3705
3710
  L(o.$slots, "action", {}, () => [
3706
- e.actionIcon ? (d(), O(J(f(l) ? f(l) : "span"), {
3711
+ e.actionIcon ? (d(), O(Z(f(l) ? f(l) : "span"), {
3707
3712
  key: 0,
3708
3713
  class: "bs-icon"
3709
- })) : k("", !0),
3710
- H(" " + T(e.action), 1)
3714
+ })) : w("", !0),
3715
+ G(" " + T(e.action), 1)
3711
3716
  ])
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, [
3717
+ ])) : w("", !0),
3718
+ b("span", Zn, T(e.profileName), 1),
3719
+ e.company ? (d(), p("span", _n, T(e.company), 1)) : w("", !0),
3720
+ e.jobTitle ? (d(), p("span", el, T(e.jobTitle), 1)) : w("", !0),
3721
+ e.email ? (d(), p("span", tl, T(e.email), 1)) : w("", !0),
3722
+ e.miscMeta || o.$slots.misc ? (d(), p("span", al, [
3718
3723
  L(o.$slots, "misc", {}, () => [
3719
- e.miscMetaIcon ? (d(), O(J(f(i) ? f(i) : "span"), {
3724
+ e.miscMetaIcon ? (d(), O(Z(f(i) ? f(i) : "span"), {
3720
3725
  key: 0,
3721
3726
  class: "bs-icon"
3722
- })) : k("", !0),
3723
- H(" " + T(e.miscMeta), 1)
3727
+ })) : w("", !0),
3728
+ G(" " + T(e.miscMeta), 1)
3724
3729
  ])
3725
- ])) : k("", !0)
3730
+ ])) : w("", !0)
3726
3731
  ]));
3727
3732
  }
3728
- }, Gl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3733
+ }, uo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3729
3734
  __name: "BsProfile",
3730
3735
  props: {
3731
3736
  layout: {
@@ -3756,20 +3761,20 @@ const $a = {
3756
3761
  emits: ["action-toggled"],
3757
3762
  setup(e, { emit: a }) {
3758
3763
  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({
3764
+ return (r, c) => (d(), O(Z(f(u)), N({
3760
3765
  class: "bs-profile",
3761
3766
  ".href": f(s),
3762
3767
  "data-layout": e.layout
3763
3768
  }, f(o), { onClick: f(i) }), {
3764
3769
  default: D(() => [
3765
- V(rt, {
3770
+ V(ut, {
3766
3771
  src: e.imageSrc,
3767
3772
  size: e.imageSize,
3768
3773
  initials: e.initials,
3769
3774
  "profile-name": e.profileName,
3770
3775
  "use-alt-text": !1
3771
3776
  }, null, 8, ["src", "size", "initials", "profile-name"]),
3772
- V(Qn, {
3777
+ V(nl, {
3773
3778
  "profile-name": e.profileName,
3774
3779
  company: e.company,
3775
3780
  "job-title": e.jobTitle,
@@ -3778,7 +3783,7 @@ const $a = {
3778
3783
  "action-icon": e.actionIcon,
3779
3784
  "misc-meta": e.miscMeta,
3780
3785
  "misc-meta-icon": e.miscMetaIcon,
3781
- onActionToggled: c[0] || (c[0] = (v) => n("action-toggled"))
3786
+ onActionToggled: c[0] || (c[0] = (h) => n("action-toggled"))
3782
3787
  }, {
3783
3788
  action: D(() => [
3784
3789
  L(r.$slots, "action")
@@ -3792,7 +3797,80 @@ const $a = {
3792
3797
  _: 3
3793
3798
  }, 48, [".href", "data-layout", "onClick"]));
3794
3799
  }
3795
- }), Xn = ["data-size"], Zn = ["checked", "disabled", "id", "required", "value", "data-error"], Hl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3800
+ });
3801
+ function ct(e) {
3802
+ const a = v(() => {
3803
+ var l;
3804
+ switch (e.currentStatus) {
3805
+ case void 0:
3806
+ case null:
3807
+ case "":
3808
+ return (l = e.steps.filter((i) => i.status === "complete")) == null ? void 0 : l.length;
3809
+ case "complete":
3810
+ return e.steps.length;
3811
+ case "in-progress":
3812
+ return e.currentStep;
3813
+ default:
3814
+ return e.currentStep;
3815
+ }
3816
+ }), t = v(() => `${a.value} of ${e.steps.length} completed.`);
3817
+ function n(l, i) {
3818
+ return l || (e.currentStatus ? i < e.currentStep ? "complete" : i === e.currentStep ? e.currentStatus : "not-started" : "not-started");
3819
+ }
3820
+ return {
3821
+ progressStep: a,
3822
+ progressText: t,
3823
+ getStatus: n
3824
+ };
3825
+ }
3826
+ const ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], ol = ["data-status"], co = {
3827
+ __name: "BsProgressBar",
3828
+ props: {
3829
+ /** @type {Status} */
3830
+ currentStatus: {
3831
+ type: String,
3832
+ validator: (e) => [
3833
+ "cancelled",
3834
+ "complete",
3835
+ "error",
3836
+ "in-progress",
3837
+ "not-started",
3838
+ "ongoing",
3839
+ "paused",
3840
+ "warning"
3841
+ ].includes(e)
3842
+ },
3843
+ currentStep: {
3844
+ type: Number,
3845
+ default: 0
3846
+ },
3847
+ /** @type {Array<Step|string>} */
3848
+ steps: {
3849
+ type: Array,
3850
+ required: !0
3851
+ }
3852
+ },
3853
+ setup(e) {
3854
+ const a = e, { progressStep: t, progressText: n, getStatus: l } = ct(a);
3855
+ return (i, u) => (d(), p("div", {
3856
+ "aria-valuemax": e.steps.length,
3857
+ "aria-valuenow": f(t),
3858
+ "aria-valuetext": f(n),
3859
+ class: "bs-progress-bar",
3860
+ role: "progressbar"
3861
+ }, [
3862
+ (d(!0), p(U, null, J(e.steps, (o, s) => (d(), p("div", {
3863
+ class: "bs-step-item",
3864
+ "data-status": f(l)(o.status, s),
3865
+ "data-variant": "progress",
3866
+ key: o.id || o.label,
3867
+ role: "status"
3868
+ }, [
3869
+ b("span", null, T(o.label || o) + " : " + T(f(l)(o.status, s) || "not started"), 1)
3870
+ ], 8, ol))), 128))
3871
+ ], 8, ll));
3872
+ }
3873
+ }, il = ["data-size"], rl = ["checked", "disabled", "id", "required", "value", "data-error"], fo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3796
3874
  __name: "BsRadio",
3797
3875
  props: {
3798
3876
  label: {
@@ -3836,13 +3914,13 @@ const $a = {
3836
3914
  },
3837
3915
  emits: ["update:modelValue"],
3838
3916
  setup(e, { emit: a }) {
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({
3917
+ const t = e, [n] = Q(), l = v(() => je.concat(t.passAttrs.split(","))), i = v(() => t.inputId || n.value), u = v(() => t.checked || t.modelValue && t.modelValue === t.value);
3918
+ return (o, s) => (d(), p("div", N({
3841
3919
  class: "bs-boolean",
3842
3920
  "data-component": "bs-radio",
3843
3921
  "data-size": e.size
3844
3922
  }, f(K)(o.$attrs, l.value).remaining), [
3845
- B("input", N({
3923
+ b("input", N({
3846
3924
  checked: u.value,
3847
3925
  disabled: e.disabled,
3848
3926
  id: o.$attrs.id || i.value,
@@ -3852,7 +3930,7 @@ const $a = {
3852
3930
  "data-error": e.error
3853
3931
  }, f(K)(o.$attrs, l.value).filtered, {
3854
3932
  onChange: s[0] || (s[0] = (r) => o.$emit("update:modelValue", r.target.value))
3855
- }), null, 16, Zn),
3933
+ }), null, 16, rl),
3856
3934
  e.label || o.$slots.label ? (d(), O(ne, {
3857
3935
  key: 0,
3858
3936
  for: o.$attrs.id || i.value,
@@ -3861,14 +3939,14 @@ const $a = {
3861
3939
  }, {
3862
3940
  default: D(() => [
3863
3941
  L(o.$slots, "label", {}, () => [
3864
- H(T(e.label), 1)
3942
+ G(T(e.label), 1)
3865
3943
  ])
3866
3944
  ]),
3867
3945
  _: 3
3868
- }, 8, ["for", "disabled", "required"])) : k("", !0)
3869
- ], 16, Xn));
3946
+ }, 8, ["for", "disabled", "required"])) : w("", !0)
3947
+ ], 16, il));
3870
3948
  }
3871
- }), Jn = ["id", "disabled", "required", "data-error", "value"], _n = {
3949
+ }), sl = ["id", "disabled", "required", "data-error", "value"], dl = {
3872
3950
  __name: "BsSelect",
3873
3951
  props: {
3874
3952
  disabled: { type: Boolean, default: !1 },
@@ -3881,8 +3959,8 @@ const $a = {
3881
3959
  },
3882
3960
  emits: ["update:modelValue"],
3883
3961
  setup(e, { emit: a }) {
3884
- const t = e, n = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
3885
- return (l, i) => (d(), h("select", N({
3962
+ const t = e, n = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
3963
+ return (l, i) => (d(), p("select", N({
3886
3964
  id: l.$attrs.id || e.inputId,
3887
3965
  class: "bs-select",
3888
3966
  "data-component": "bs-select",
@@ -3894,9 +3972,9 @@ const $a = {
3894
3972
  onChange: i[0] || (i[0] = (u) => l.$emit("update:modelValue", u.target.value))
3895
3973
  }), [
3896
3974
  L(l.$slots, "default")
3897
- ], 16, Jn));
3975
+ ], 16, sl));
3898
3976
  }
3899
- }, el = ["selected", "disabled"], tl = ["disabled", "selected", "value"], Kl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3977
+ }, ul = ["selected", "disabled"], cl = ["disabled", "selected", "value"], po = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3900
3978
  __name: "BsSelectField",
3901
3979
  props: {
3902
3980
  data: {
@@ -3940,12 +4018,12 @@ const $a = {
3940
4018
  modelValue: [String, Number]
3941
4019
  },
3942
4020
  setup(e) {
3943
- const a = e, [t, n] = X(2), l = p(() => sa.concat(a.passAttrs.split(","))), i = p(() => {
4021
+ const a = e, [t, n] = Q(2), l = v(() => ga.concat(a.passAttrs.split(","))), i = v(() => {
3944
4022
  var r, c;
3945
4023
  return ((c = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : c.call(r, `
3946
4024
  `)) || a.hints;
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), [
4025
+ }), u = v(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = v(() => a.inputId || t.value), s = v(() => a.value || a.modelValue);
4026
+ return (r, c) => (d(), p("div", N({ "data-component": "bs-select-field" }, f(K)(r.$attrs, l.value).remaining), [
3949
4027
  e.label || r.$slots.label ? (d(), O(ne, {
3950
4028
  key: 0,
3951
4029
  for: r.$attrs.id || o.value,
@@ -3954,32 +4032,32 @@ const $a = {
3954
4032
  }, {
3955
4033
  default: D(() => [
3956
4034
  L(r.$slots, "label", {}, () => [
3957
- H(T(e.label), 1)
4035
+ G(T(e.label), 1)
3958
4036
  ])
3959
4037
  ]),
3960
4038
  _: 3
3961
- }, 8, ["for", "disabled", "required"])) : k("", !0),
3962
- V(_n, N({
4039
+ }, 8, ["for", "disabled", "required"])) : w("", !0),
4040
+ V(dl, N({
3963
4041
  disabled: e.disabled,
3964
4042
  error: e.error,
3965
4043
  "hint-id": f(n),
3966
4044
  "input-id": r.$attrs.id || o.value,
3967
4045
  required: e.required,
3968
4046
  value: s.value,
3969
- "onUpdate:modelValue": c[0] || (c[0] = (v) => r.$emit("update:modelValue", v))
4047
+ "onUpdate:modelValue": c[0] || (c[0] = (h) => r.$emit("update:modelValue", h))
3970
4048
  }, f(K)(r.$attrs, l.value).filtered), {
3971
4049
  default: D(() => [
3972
- B("option", {
4050
+ b("option", {
3973
4051
  selected: !s.value,
3974
4052
  value: "",
3975
4053
  disabled: !!s.value
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))
4054
+ }, T(e.disabled ? "" : e.placeholder), 9, ul),
4055
+ (d(!0), p(U, null, J(e.data, (h) => (d(), p("option", {
4056
+ key: h.value,
4057
+ disabled: h.disabled,
4058
+ selected: s.value === h.value,
4059
+ value: h.value
4060
+ }, T(h.label), 9, cl))), 128))
3983
4061
  ]),
3984
4062
  _: 1
3985
4063
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
@@ -3990,10 +4068,53 @@ const $a = {
3990
4068
  "error-msg": e.errorMsg,
3991
4069
  hint: e.hint || i.value,
3992
4070
  "hint-id": f(n)
3993
- }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : k("", !0)
4071
+ }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : w("", !0)
3994
4072
  ], 16));
3995
4073
  }
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 }, {
4074
+ }), fl = ["data-size", "data-variant"], pl = ["stroke"], vl = { key: 0 }, hl = /* @__PURE__ */ b("linearGradient", { id: "bs-spinner-gradient" }, [
4075
+ /* @__PURE__ */ b("stop", { offset: "0%" }),
4076
+ /* @__PURE__ */ b("stop", { offset: "49%" }),
4077
+ /* @__PURE__ */ b("stop", { offset: "100%" })
4078
+ ], -1), bl = [
4079
+ hl
4080
+ ], vo = {
4081
+ __name: "BsSpinner",
4082
+ props: {
4083
+ label: {
4084
+ type: String,
4085
+ default: "Loading..."
4086
+ },
4087
+ size: {
4088
+ type: String,
4089
+ validator: (e) => ["sm", "md", "lg"].includes(e)
4090
+ },
4091
+ variant: {
4092
+ type: String,
4093
+ validator: (e) => ["blue", "white", "gradient"].includes(e)
4094
+ }
4095
+ },
4096
+ setup(e) {
4097
+ return (a, t) => (d(), p("svg", {
4098
+ class: "bs-spinner",
4099
+ "data-size": e.size,
4100
+ "data-variant": e.variant,
4101
+ fill: "none",
4102
+ ref: "spinnerRef",
4103
+ viewBox: "0 0 100 100",
4104
+ xmlns: "http://www.w3.org/2000/svg"
4105
+ }, [
4106
+ b("title", null, T(e.label), 1),
4107
+ b("circle", {
4108
+ cx: "50",
4109
+ cy: "50",
4110
+ pathLength: "100",
4111
+ r: "45",
4112
+ stroke: e.variant === "gradient" ? "url(#bs-spinner-gradient)" : void 0
4113
+ }, null, 8, pl),
4114
+ e.variant === "gradient" ? (d(), p("defs", vl, bl)) : w("", !0)
4115
+ ], 8, fl));
4116
+ }
4117
+ }, gl = ["data-size"], ml = ["data-disabled", "data-pending", "data-size"], yl = ["checked", "disabled", "id"], Bl = ["data-inner-on-label", "data-inner-off-label"], ho = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3997
4118
  __name: "BsSwitch",
3998
4119
  props: {
3999
4120
  checked: {
@@ -4039,8 +4160,8 @@ const $a = {
4039
4160
  },
4040
4161
  emits: ["update:modelValue"],
4041
4162
  setup(e, { emit: a }) {
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({
4163
+ const t = e, n = a, [l] = Q(), i = v(() => je.concat(t.passAttrs.split(","))), u = v(() => t.inputId || l.value), o = v(() => t.checked || t.modelValue);
4164
+ return (s, r) => (d(), p("div", N({
4044
4165
  class: "bs-boolean",
4045
4166
  "data-component": "bs-switch",
4046
4167
  "data-size": e.size
@@ -4053,34 +4174,34 @@ const $a = {
4053
4174
  }, {
4054
4175
  default: D(() => [
4055
4176
  L(s.$slots, "label", {}, () => [
4056
- H(T(e.label), 1)
4177
+ G(T(e.label), 1)
4057
4178
  ])
4058
4179
  ]),
4059
4180
  _: 3
4060
- }, 8, ["for", "disabled", "hide"])) : k("", !0),
4061
- B("div", {
4181
+ }, 8, ["for", "disabled", "hide"])) : w("", !0),
4182
+ b("div", {
4062
4183
  class: "bs-switch",
4063
4184
  "data-disabled": e.disabled,
4064
4185
  "data-pending": e.pending,
4065
4186
  "data-size": e.size
4066
4187
  }, [
4067
- B("input", N({
4188
+ b("input", N({
4068
4189
  checked: o.value,
4069
4190
  disabled: e.disabled,
4070
4191
  id: s.$attrs.id || u.value,
4071
4192
  type: "checkbox"
4072
4193
  }, f(K)(s.$attrs, i.value).filtered, {
4073
4194
  onChange: r[0] || (r[0] = (c) => n("update:modelValue", c.target.checked))
4074
- }), null, 16, ll),
4075
- B("span", {
4195
+ }), null, 16, yl),
4196
+ b("span", {
4076
4197
  "aria-hidden": "true",
4077
4198
  "data-inner-on-label": e.innerOnLabel,
4078
4199
  "data-inner-off-label": e.innerOffLabel
4079
- }, null, 8, ol)
4080
- ], 8, nl)
4081
- ], 16, al));
4200
+ }, null, 8, Bl)
4201
+ ], 8, ml)
4202
+ ], 16, gl));
4082
4203
  }
4083
- }), il = ["aria-controls", "aria-selected", "data-hidden"], Ql = {
4204
+ }), Sl = ["aria-controls", "aria-selected", "data-hidden"], bo = {
4084
4205
  __name: "BsTab",
4085
4206
  props: {
4086
4207
  activeTabId: {
@@ -4097,7 +4218,7 @@ const $a = {
4097
4218
  },
4098
4219
  emits: ["tabClick"],
4099
4220
  setup(e, { emit: a }) {
4100
- const t = e, n = se(), l = y(), i = p(() => t.activeTabId === n.id), u = p(() => t.panelId || `${n.id}-panel`);
4221
+ const t = e, n = se(), l = B(), i = v(() => t.activeTabId === n.id), u = v(() => t.panelId || `${n.id}-panel`);
4101
4222
  function o(r) {
4102
4223
  (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
4103
4224
  }
@@ -4107,7 +4228,7 @@ const $a = {
4107
4228
  l.value.dispatchEvent(r);
4108
4229
  }
4109
4230
  }
4110
- return (r, c) => (d(), h("div", {
4231
+ return (r, c) => (d(), p("div", {
4111
4232
  "aria-controls": u.value,
4112
4233
  "aria-selected": i.value ? "true" : "false",
4113
4234
  "data-hidden": e.hidden || void 0,
@@ -4120,9 +4241,9 @@ const $a = {
4120
4241
  onKeydown: o
4121
4242
  }, [
4122
4243
  L(r.$slots, "default")
4123
- ], 40, il));
4244
+ ], 40, Sl));
4124
4245
  }
4125
- }, rl = ["id", "data-resizing"], sl = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], dl = 73, ul = 20, cl = 16, Xl = {
4246
+ }, $l = ["id", "data-resizing"], wl = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], kl = 73, Il = 20, Cl = 16, go = {
4126
4247
  __name: "BsTabList",
4127
4248
  props: {
4128
4249
  activeTabId: { type: String, required: !0 },
@@ -4133,128 +4254,128 @@ const $a = {
4133
4254
  },
4134
4255
  emits: ["tabChange", "update:modelValue"],
4135
4256
  setup(e, { emit: a }) {
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(() => {
4257
+ const t = e, n = a, l = B(!1), i = B(!1), u = B([]), o = B(!1), s = B(!1), r = B(), c = B([]), h = B(!1), k = B([]), g = B(), x = B(), $ = B(), [C, q] = Q(2), y = v(() => t.activeTabId ? k.value.findIndex((S) => S.id === t.activeTabId) : 0), m = v(() => u.value.some((S) => S.id === t.activeTabId)), z = v(() => `${q.value}-options`), I = v(() => `${q.value}-toggle`), A = v(() => {
4258
+ var S;
4259
+ return m.value ? (S = k.value[y.value]) == null ? void 0 : S.textContent : "More";
4260
+ }), P = v(() => m.value ? c.value[y.value] - c.value[y.value - 1] + Il : kl), F = v(() => {
4140
4261
  var E, j;
4141
- let $ = [];
4262
+ let S = [];
4142
4263
  if (typeof window > "u")
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")
4264
+ return S;
4265
+ for (let X of k.value) {
4266
+ if (((E = X.dataset) == null ? void 0 : E.hidden) === "true" || ((j = X.dataset) == null ? void 0 : j.hidden) === "" || X.getAttribute("tabindex") === "-1")
4146
4267
  break;
4147
- $.push(Q);
4268
+ S.push(X);
4148
4269
  }
4149
- return s.value && $.push(r.value.querySelector(".bs-tab-list-toggle")), $;
4270
+ return s.value && S.push(r.value.querySelector(".bs-tab-list-toggle")), S;
4150
4271
  });
4151
4272
  function _() {
4152
4273
  var le;
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) {
4274
+ let S = !1, E, j = 0, X = !1, ee = [];
4275
+ if ((le = k.value) != null && le.length) {
4276
+ for (let te = 0; te < k.value.length; te++) {
4277
+ if (E = k.value[te], E.setAttribute("tabindex", "-1"), X && te !== y.value) {
4157
4278
  E.dataset.hidden = "true", ee.push(E);
4158
4279
  continue;
4159
4280
  }
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;
4281
+ if (j = te < k.value.length - 1 ? $.value - P.value : $.value, c.value[te] > j) {
4282
+ E.dataset.hidden = "true", ee.push(E), S = !0, X = !0;
4162
4283
  continue;
4163
4284
  }
4164
4285
  E.dataset.hidden = "false", E.setAttribute("tabindex", "0");
4165
4286
  }
4166
- s.value = $, u.value = ee, l.value || ce(() => l.value = !0), setTimeout(() => {
4167
- M(), v.value = !0;
4168
- }, v.value ? 0 : 1e3);
4287
+ s.value = S, u.value = ee, l.value || ce(() => l.value = !0), setTimeout(() => {
4288
+ M(), h.value = !0;
4289
+ }, h.value ? 0 : 1e3);
4169
4290
  }
4170
4291
  }
4171
- function de($) {
4172
- n("tabChange", $), n("update:modelValue", $);
4292
+ function de(S) {
4293
+ n("tabChange", S), n("update:modelValue", S);
4173
4294
  }
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;
4295
+ function xe(S) {
4296
+ var X, ee, le;
4297
+ const E = (le = (ee = (X = k.value[S]) == null ? void 0 : X.getBoundingClientRect) == null ? void 0 : ee.call(X)) == null ? void 0 : le.width;
4298
+ return E || (S === 0 ? c.value[0] : c.value[S] - c.value[S - 1]) || 0;
4178
4299
  }
4179
4300
  function Ae() {
4180
- var $;
4181
- ($ = w.value[g.value]) == null || $.setAttribute("aria-selected", "true"), _();
4301
+ var S;
4302
+ (S = k.value[y.value]) == null || S.setAttribute("aria-selected", "true"), _();
4182
4303
  }
4183
4304
  function Le() {
4184
- var $;
4185
- ($ = m.value) == null || $.focus(), o.value = !1;
4305
+ var S;
4306
+ (S = g.value) == null || S.focus(), o.value = !1;
4186
4307
  }
4187
4308
  function Ve() {
4188
4309
  o.value = !o.value, i.value || (i.value = !0);
4189
4310
  }
4190
- function Ee($) {
4311
+ function Ee(S) {
4191
4312
  var E;
4192
- o.value = !1, (E = m.value) == null || E.focus(), de($);
4313
+ o.value = !1, (E = g.value) == null || E.focus(), de(S);
4193
4314
  }
4194
- function De($) {
4315
+ function De(S) {
4195
4316
  if (t.withBsTabs)
4196
4317
  return;
4197
- const E = $.target.closest('[role="tab"]');
4318
+ const E = S.target.closest('[role="tab"]');
4198
4319
  if (!E || E.getAttribute("aria-selected") === "true")
4199
4320
  return;
4200
4321
  const j = E.getAttribute("id");
4201
4322
  de(j);
4202
4323
  }
4203
- function Oe($) {
4204
- if ($.key === "ArrowLeft" || $.key === "ArrowRight") {
4205
- const E = F.value.findIndex((j) => j.id === $.target.id);
4324
+ function Oe(S) {
4325
+ if (S.key === "ArrowLeft" || S.key === "ArrowRight") {
4326
+ const E = F.value.findIndex((j) => j.id === S.target.id);
4206
4327
  if (E === -1)
4207
4328
  return;
4208
- $.preventDefault(), $.stopPropagation(), $.key === "ArrowLeft" ? be(E) : he(E);
4329
+ S.preventDefault(), S.stopPropagation(), S.key === "ArrowLeft" ? be(E) : he(E);
4209
4330
  }
4210
4331
  }
4211
- function he($) {
4332
+ function he(S) {
4212
4333
  var j;
4213
- const E = ($ + 1) % F.value.length;
4334
+ const E = (S + 1) % F.value.length;
4214
4335
  (j = F.value[E]) == null || j.focus();
4215
4336
  }
4216
- function be($) {
4337
+ function be(S) {
4217
4338
  var j;
4218
- const E = $ === 0 ? F.value.length - 1 : $ - 1;
4339
+ const E = S === 0 ? F.value.length - 1 : S - 1;
4219
4340
  (j = F.value[E]) == null || j.focus();
4220
4341
  }
4221
4342
  function M() {
4222
4343
  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`);
4226
- }
4227
- function U() {
4228
- var $, E;
4229
- (E = ($ = x.value) == null ? void 0 : $.disconnect) == null || E.call($), x.value = null;
4230
- }
4231
- function G() {
4232
- x.value = new ResizeObserver(($) => {
4233
- for (let E of $)
4234
- S.value = E.contentBoxSize[0].inlineSize;
4344
+ const S = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, E = $.value;
4345
+ let j = 300, X = ((te = (le = F.value) == null ? void 0 : le[y.value]) == null ? void 0 : te.offsetLeft) || 0, ee = xe(y.value);
4346
+ s.value && m.value && (X = (Ge = g.value) == null ? void 0 : Ge.offsetLeft, ee = (He = g.value) == null ? void 0 : He.offsetWidth), j = Math.max(Math.abs((X - S) / 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", `${X}px`), r.value.style.setProperty("--active-line-transition-duration", `${j}ms`);
4347
+ }
4348
+ function W() {
4349
+ var S, E;
4350
+ (E = (S = x.value) == null ? void 0 : S.disconnect) == null || E.call(S), x.value = null;
4351
+ }
4352
+ function H() {
4353
+ x.value = new ResizeObserver((S) => {
4354
+ for (let E of S)
4355
+ $.value = E.contentBoxSize[0].inlineSize;
4235
4356
  _();
4236
4357
  }), x.value.observe(r.value);
4237
4358
  }
4238
4359
  function ue() {
4239
- w.value = Array.from(r.value.children).filter(($) => $.role === "tab");
4360
+ k.value = Array.from(r.value.children).filter((S) => S.role === "tab");
4240
4361
  }
4241
- function st() {
4242
- let $;
4243
- w.value.forEach((E, j) => {
4244
- $ = E.getBoundingClientRect().width + cl, c.value.push(j ? $ + c.value[j - 1] : $);
4362
+ function ft() {
4363
+ let S;
4364
+ k.value.forEach((E, j) => {
4365
+ S = E.getBoundingClientRect().width + Cl, c.value.push(j ? S + c.value[j - 1] : S);
4245
4366
  });
4246
4367
  }
4247
4368
  return R(() => t.activeTabId, Ae), Y(() => {
4248
- var $;
4369
+ var S;
4249
4370
  try {
4250
- ue(), st(), G(), S.value = r.value.getBoundingClientRect().width, _(), t.withBsTabs || ($ = w.value[g.value]) == null || $.setAttribute("aria-selected", "true");
4371
+ ue(), ft(), H(), $.value = r.value.getBoundingClientRect().width, _(), t.withBsTabs || (S = k.value[y.value]) == null || S.setAttribute("aria-selected", "true");
4251
4372
  } catch (E) {
4252
4373
  console.log("tab error", E);
4253
4374
  }
4254
- }), re(U), ($, E) => (d(), h("div", {
4375
+ }), re(W), (S, E) => (d(), p("div", {
4255
4376
  class: "bs-tab-list",
4256
4377
  "data-component": "bs-tab-list",
4257
- id: $.$attrs.id || f(C),
4378
+ id: S.$attrs.id || f(C),
4258
4379
  ref_key: "hostEl",
4259
4380
  ref: r,
4260
4381
  role: "tablist",
@@ -4263,27 +4384,27 @@ const $a = {
4263
4384
  "on:tabClick": E[0] || (E[0] = (j) => de(j.detail)),
4264
4385
  onKeydown: Oe
4265
4386
  }, [
4266
- L($.$slots, "default"),
4267
- B("button", {
4268
- "aria-controls": f(P),
4387
+ L(S.$slots, "default"),
4388
+ b("button", {
4389
+ "aria-controls": f(q),
4269
4390
  "aria-expanded": o.value,
4270
4391
  class: "bs-tab-list-toggle",
4271
- "data-active": b.value || void 0,
4392
+ "data-active": m.value || void 0,
4272
4393
  "data-hidden": !s.value,
4273
4394
  id: I.value,
4274
4395
  ref_key: "dropdownToggle",
4275
- ref: m,
4396
+ ref: g,
4276
4397
  onClick: Ve
4277
4398
  }, [
4278
- V(f(Bt), { size: "sm" }),
4279
- H(" " + T(A.value), 1)
4280
- ], 8, sl),
4399
+ V(f(wt), { size: "sm" }),
4400
+ G(" " + T(A.value), 1)
4401
+ ], 8, wl),
4281
4402
  V(We, {
4282
4403
  "anchor-id": I.value,
4283
- "container-id": $.$attrs.id || f(C),
4404
+ "container-id": S.$attrs.id || f(C),
4284
4405
  "helper-description": e.helperDescription || void 0,
4285
4406
  "helper-text": e.helperText,
4286
- id: f(P),
4407
+ id: f(q),
4287
4408
  "options-id": z.value,
4288
4409
  position: "right",
4289
4410
  preloaded: "",
@@ -4293,22 +4414,22 @@ const $a = {
4293
4414
  "onUpdate:modelValue": Ee
4294
4415
  }, {
4295
4416
  default: D(() => [
4296
- (d(!0), h(W, null, Z(u.value, (j) => (d(), O(Ue, {
4417
+ (d(!0), p(U, null, J(u.value, (j) => (d(), O(Ue, {
4297
4418
  key: j.id,
4298
4419
  value: j.id,
4299
4420
  "options-id": z.value
4300
4421
  }, {
4301
4422
  default: D(() => [
4302
- H(T(j.textContent), 1)
4423
+ G(T(j.textContent), 1)
4303
4424
  ]),
4304
4425
  _: 2
4305
4426
  }, 1032, ["value", "options-id"]))), 128))
4306
4427
  ]),
4307
4428
  _: 1
4308
4429
  }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
4309
- ], 40, rl));
4430
+ ], 40, $l));
4310
4431
  }
4311
- }, fl = ["aria-labelledby", "data-active", "id"], Zl = {
4432
+ }, Tl = ["aria-labelledby", "data-active", "id"], mo = {
4312
4433
  __name: "BsTabPanel",
4313
4434
  props: {
4314
4435
  activeTabId: {
@@ -4321,8 +4442,8 @@ const $a = {
4321
4442
  }
4322
4443
  },
4323
4444
  setup(e) {
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", {
4445
+ const a = e, t = se(), n = v(() => a.activeTabId && a.activeTabId === a.tabId), l = v(() => t.id || `${a.tabId}-panel`);
4446
+ return (i, u) => (d(), p("section", {
4326
4447
  "aria-labelledby": e.tabId,
4327
4448
  "data-active": n.value,
4328
4449
  "data-component": "bs-tab-panel",
@@ -4330,9 +4451,9 @@ const $a = {
4330
4451
  role: "tabpanel"
4331
4452
  }, [
4332
4453
  L(i.$slots, "default")
4333
- ], 8, fl));
4454
+ ], 8, Tl));
4334
4455
  }
4335
- }, pl = ["data-error", "id", "rows", "value"], vl = {
4456
+ }, xl = ["data-error", "id", "rows", "value"], Al = {
4336
4457
  __name: "BsTextarea",
4337
4458
  props: {
4338
4459
  error: {
@@ -4347,8 +4468,8 @@ const $a = {
4347
4468
  },
4348
4469
  emits: ["update:modelValue"],
4349
4470
  setup(e, { emit: a }) {
4350
- const t = e, n = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
4351
- return (l, i) => (d(), h("textarea", N({
4471
+ const t = e, n = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
4472
+ return (l, i) => (d(), p("textarea", N({
4352
4473
  class: "bs-textarea",
4353
4474
  "data-component": "bs-textarea",
4354
4475
  "data-error": e.error,
@@ -4356,9 +4477,9 @@ const $a = {
4356
4477
  rows: l.$attrs.rows || 6,
4357
4478
  value: e.value || e.modelValue,
4358
4479
  onInput: i[0] || (i[0] = (u) => l.$emit("update:modelValue", u.target.value))
4359
- }, n.value), null, 16, pl));
4480
+ }, n.value), null, 16, xl));
4360
4481
  }
4361
- }, Jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4482
+ }, yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4362
4483
  __name: "BsTextareaField",
4363
4484
  props: {
4364
4485
  /** 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. */
@@ -4407,15 +4528,15 @@ const $a = {
4407
4528
  },
4408
4529
  emits: ["update:modelValue"],
4409
4530
  setup(e, { emit: a }) {
4410
- const t = e, [n, l] = X(2), i = p(() => da.concat(t.passAttrs.split(","))), u = p(() => {
4531
+ const t = e, [n, l] = Q(2), i = v(() => ma.concat(t.passAttrs.split(","))), u = v(() => {
4411
4532
  var c;
4412
4533
  return ((c = t.value || t.modelValue) == null ? void 0 : c.length) || 0;
4413
- }), o = p(() => {
4414
- var c, v;
4415
- return ((v = (c = t.hints) == null ? void 0 : c.join) == null ? void 0 : v.call(c, `
4534
+ }), o = v(() => {
4535
+ var c, h;
4536
+ return ((h = (c = t.hints) == null ? void 0 : c.join) == null ? void 0 : h.call(c, `
4416
4537
  `)) || t.hints;
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), [
4538
+ }), s = v(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = v(() => t.inputId || n.value);
4539
+ return (c, h) => (d(), p("div", N({ "data-component": "bs-textarea-field" }, f(K)(c.$attrs, i.value).remaining), [
4419
4540
  e.label || c.$slots.label ? (d(), O(ne, {
4420
4541
  key: 0,
4421
4542
  for: c.$attrs.id || r.value,
@@ -4424,12 +4545,12 @@ const $a = {
4424
4545
  }, {
4425
4546
  default: D(() => [
4426
4547
  L(c.$slots, "label", {}, () => [
4427
- H(T(e.label), 1)
4548
+ G(T(e.label), 1)
4428
4549
  ])
4429
4550
  ]),
4430
4551
  _: 3
4431
- }, 8, ["for", "disabled", "required"])) : k("", !0),
4432
- V(vl, N({
4552
+ }, 8, ["for", "disabled", "required"])) : w("", !0),
4553
+ V(Al, N({
4433
4554
  disabled: e.disabled,
4434
4555
  error: e.error,
4435
4556
  "hint-id": f(l),
@@ -4438,7 +4559,7 @@ const $a = {
4438
4559
  required: e.required,
4439
4560
  rows: e.rows,
4440
4561
  value: e.value || e.modelValue,
4441
- "onUpdate:modelValue": v[0] || (v[0] = (w) => c.$emit("update:modelValue", w))
4562
+ "onUpdate:modelValue": h[0] || (h[0] = (k) => c.$emit("update:modelValue", k))
4442
4563
  }, f(K)(c.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
4443
4564
  s.value || e.charMax ? (d(), O(pe, {
4444
4565
  key: 1,
@@ -4449,10 +4570,75 @@ const $a = {
4449
4570
  "error-msg": e.errorMsg,
4450
4571
  hint: e.hint || o.value,
4451
4572
  "hint-id": f(l)
4452
- }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : k("", !0)
4573
+ }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : w("", !0)
4453
4574
  ], 16));
4454
4575
  }
4455
- }), hl = ["data-variant", "data-stacked"], _l = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4576
+ }), Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Vl = ["data-status"], El = { class: "visually-hidden" }, Bo = {
4577
+ __name: "BsTimeline",
4578
+ props: {
4579
+ /** @type {Status} */
4580
+ currentStatus: {
4581
+ type: String,
4582
+ validator: (e) => [
4583
+ "cancelled",
4584
+ "complete",
4585
+ "error",
4586
+ "in-progress",
4587
+ "not-started",
4588
+ "ongoing",
4589
+ "paused",
4590
+ "warning"
4591
+ ].includes(e)
4592
+ },
4593
+ currentStep: {
4594
+ type: Number,
4595
+ default: 0
4596
+ },
4597
+ /** @type {Array<Step|string>} */
4598
+ steps: {
4599
+ type: Array,
4600
+ required: !0
4601
+ }
4602
+ },
4603
+ setup(e) {
4604
+ const a = e, t = {
4605
+ cancelled: kt,
4606
+ complete: It,
4607
+ error: Ct,
4608
+ "in-progress": Tt,
4609
+ "not-started": Ye,
4610
+ ongoing: xt,
4611
+ paused: At,
4612
+ warning: st
4613
+ }, { progressStep: n, progressText: l, getStatus: i } = ct(a);
4614
+ function u(o, s) {
4615
+ return o = i(o, s), t[o] || Ye;
4616
+ }
4617
+ return (o, s) => (d(), p("div", {
4618
+ "aria-valuemax": e.steps.length,
4619
+ "aria-valuenow": f(n),
4620
+ "aria-valuetext": f(l),
4621
+ class: "bs-timeline",
4622
+ role: "progressbar"
4623
+ }, [
4624
+ (d(!0), p(U, null, J(e.steps, (r, c) => (d(), p("div", {
4625
+ class: "bs-step-item",
4626
+ "data-status": f(i)(r.status, c),
4627
+ key: r.id || r.label,
4628
+ role: "status"
4629
+ }, [
4630
+ (d(), O(Z(u(r.status, c)), {
4631
+ class: "bs-step-icon",
4632
+ role: "presentation"
4633
+ })),
4634
+ b("p", null, [
4635
+ G(T(r.label || r) + " ", 1),
4636
+ b("span", El, " : " + T(f(i)(r.status, c) || "not started"), 1)
4637
+ ])
4638
+ ], 8, Vl))), 128))
4639
+ ], 8, Ll));
4640
+ }
4641
+ }, Dl = ["data-variant", "data-stacked"], So = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4456
4642
  __name: "BsToast",
4457
4643
  props: {
4458
4644
  shown: {
@@ -4516,93 +4702,93 @@ const $a = {
4516
4702
  duration: 200,
4517
4703
  "enter-attribute": "data-shown",
4518
4704
  onAfterEnter: s,
4519
- onAfterLeave: c[0] || (c[0] = (v) => n("after-leave"))
4705
+ onAfterLeave: c[0] || (c[0] = (h) => n("after-leave"))
4520
4706
  }, {
4521
4707
  default: D(() => [
4522
- B("div", N({
4708
+ b("div", N({
4523
4709
  class: "bs-toast",
4524
4710
  "data-variant": e.variant,
4525
4711
  "data-stacked": f(u) || void 0,
4526
4712
  role: "alert"
4527
4713
  }, r.$attrs), [
4528
4714
  L(r.$slots, "default")
4529
- ], 16, hl)
4715
+ ], 16, Dl)
4530
4716
  ]),
4531
4717
  _: 3
4532
4718
  }, 8, ["shown", "preloaded"]));
4533
4719
  }
4534
- }), bl = ["data-stacked"], eo = {
4720
+ }), Ol = ["data-stacked"], $o = {
4535
4721
  __name: "BsToastActions",
4536
4722
  setup(e) {
4537
- const a = y(!1);
4723
+ const a = B(!1);
4538
4724
  Y(() => {
4539
4725
  var l;
4540
- const n = pt();
4726
+ const n = bt();
4541
4727
  ((l = n.default) == null ? void 0 : l.call(n).length) > 2 && (a.value = !0);
4542
4728
  });
4543
4729
  const t = ie("handleDismiss");
4544
- return (n, l) => (d(), h("div", {
4730
+ return (n, l) => (d(), p("div", {
4545
4731
  class: "bs-toast-actions",
4546
4732
  "data-stacked": a.value || void 0
4547
4733
  }, [
4548
4734
  L(n.$slots, "default", {}, () => [
4549
- V(ca, {
4735
+ V(ta, {
4550
4736
  size: "sm",
4551
4737
  "text-btn": "",
4552
4738
  onClick: f(t)
4553
4739
  }, {
4554
4740
  default: D(() => [
4555
- H(" Dismiss ")
4741
+ G(" Dismiss ")
4556
4742
  ]),
4557
4743
  _: 1
4558
4744
  }, 8, ["onClick"])
4559
4745
  ])
4560
- ], 8, bl));
4746
+ ], 8, Ol));
4561
4747
  }
4562
- }, ml = (e, a) => {
4748
+ }, Pl = (e, a) => {
4563
4749
  const t = e.__vccOpts || e;
4564
4750
  for (const [n, l] of a)
4565
4751
  t[n] = l;
4566
4752
  return t;
4567
- }, gl = {}, yl = { class: "bs-toast-body" };
4568
- function Bl(e, a) {
4569
- return d(), h("div", yl, [
4753
+ }, ql = {}, Ml = { class: "bs-toast-body" };
4754
+ function zl(e, a) {
4755
+ return d(), p("div", Ml, [
4570
4756
  L(e.$slots, "default")
4571
4757
  ]);
4572
4758
  }
4573
- const to = /* @__PURE__ */ ml(gl, [["render", Bl]]), $l = ["data-variant"], ao = {
4759
+ const wo = /* @__PURE__ */ Pl(ql, [["render", zl]]), Nl = ["data-variant"], ko = {
4574
4760
  __name: "BsToastHeader",
4575
4761
  setup(e) {
4576
- const a = ie("variant"), t = p(() => {
4762
+ const a = ie("variant"), t = v(() => {
4577
4763
  switch (a) {
4578
4764
  case "warning":
4579
4765
  return ze;
4580
4766
  case "positive":
4581
- return St;
4767
+ return Lt;
4582
4768
  case "negative":
4583
4769
  return ze;
4584
4770
  default:
4585
- return $t;
4771
+ return st;
4586
4772
  }
4587
4773
  });
4588
- return (n, l) => (d(), h("div", {
4774
+ return (n, l) => (d(), p("div", {
4589
4775
  class: "bs-toast-header",
4590
4776
  "data-variant": f(a)
4591
4777
  }, [
4592
- (d(), O(J(t.value), { class: "bs-toast-header-icon" })),
4593
- B("h5", null, [
4778
+ (d(), O(Z(t.value), { class: "bs-toast-header-icon" })),
4779
+ b("h5", null, [
4594
4780
  L(n.$slots, "default")
4595
4781
  ])
4596
- ], 8, $l));
4782
+ ], 8, Nl));
4597
4783
  }
4598
- }, Sl = { class: "bs-toaster" }, no = {
4784
+ }, Rl = { class: "bs-toaster" }, Io = {
4599
4785
  __name: "BsToaster",
4600
4786
  setup(e) {
4601
- return oe("stacked", !0), (a, t) => (d(), h("div", Sl, [
4787
+ return oe("stacked", !0), (a, t) => (d(), p("div", Rl, [
4602
4788
  L(a.$slots, "default")
4603
4789
  ]));
4604
4790
  }
4605
- }, wl = ["data-position"], kl = ["id"], lo = {
4791
+ }, jl = ["data-position"], Fl = ["id"], Co = {
4606
4792
  __name: "BsTooltip",
4607
4793
  props: {
4608
4794
  tooltipId: {
@@ -4629,7 +4815,7 @@ const to = /* @__PURE__ */ ml(gl, [["render", Bl]]), $l = ["data-variant"], ao =
4629
4815
  }
4630
4816
  },
4631
4817
  setup(e) {
4632
- const a = e, t = y(!1), n = y(!1), l = p(() => {
4818
+ const a = e, t = B(!1), n = B(!1), l = v(() => {
4633
4819
  let o = "bs-tooltip-text";
4634
4820
  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;
4635
4821
  });
@@ -4642,7 +4828,7 @@ const to = /* @__PURE__ */ ml(gl, [["render", Bl]]), $l = ["data-variant"], ao =
4642
4828
  function u() {
4643
4829
  t.value = !1, n.value = !1;
4644
4830
  }
4645
- return (o, s) => (d(), h("div", {
4831
+ return (o, s) => (d(), p("div", {
4646
4832
  class: "bs-tooltip",
4647
4833
  "data-position": e.position || void 0,
4648
4834
  "data-component": "bs-tooltip",
@@ -4652,63 +4838,66 @@ const to = /* @__PURE__ */ ml(gl, [["render", Bl]]), $l = ["data-variant"], ao =
4652
4838
  onFocusout: u
4653
4839
  }, [
4654
4840
  L(o.$slots, "default"),
4655
- e.content ? (d(), h("div", {
4841
+ e.content ? (d(), p("div", {
4656
4842
  key: 0,
4657
4843
  class: ae(l.value),
4658
4844
  id: e.tooltipId,
4659
4845
  role: "tooltip"
4660
- }, T(e.content), 11, kl)) : k("", !0)
4661
- ], 40, wl));
4846
+ }, T(e.content), 11, Fl)) : w("", !0)
4847
+ ], 40, jl));
4662
4848
  }
4663
4849
  };
4664
4850
  export {
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,
4673
- it as BsDropdown,
4674
- Xa as BsDropdownMultiselect,
4851
+ Xl as BsAccordion,
4852
+ Jt as BsBadge,
4853
+ Ql as BsBanner,
4854
+ ta as BsButton,
4855
+ Jl as BsCalendar,
4856
+ Zl as BsChartBar,
4857
+ _l as BsCheckbox,
4858
+ eo as BsCircleButton,
4859
+ dt as BsDropdown,
4860
+ ln as BsDropdownMultiselect,
4675
4861
  Ue as BsDropdownOption,
4676
4862
  ye as BsDropdownOptionBuilder,
4677
4863
  Fe as BsDropdownOptionList,
4678
4864
  We as BsDropdownWithOptions,
4679
- Ml as BsDropdownWithToggle,
4865
+ to as BsDropdownWithToggle,
4680
4866
  pe as BsFieldDetails,
4681
- en as BsFilterButton,
4682
- zl as BsIconGradientWrapper,
4867
+ dn as BsFilterButton,
4868
+ ao as BsIconGradientWrapper,
4683
4869
  ve as BsInput,
4684
4870
  Ce as BsInputAddon,
4685
- Nl as BsInputField,
4686
- Rl as BsInputPhone,
4687
- un as BsInputSearch,
4688
- jl as BsInputTypeahead,
4871
+ no as BsInputField,
4872
+ lo as BsInputPhone,
4873
+ mn as BsInputSearch,
4874
+ oo as BsInputTypeahead,
4689
4875
  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,
4697
- rt as BsProfileImg,
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,
4876
+ Cn as BsLoader,
4877
+ io as BsModal,
4878
+ An as BsOverlay,
4879
+ ro as BsPagination,
4880
+ so as BsPill,
4881
+ uo as BsProfile,
4882
+ nl as BsProfileDetails,
4883
+ ut as BsProfileImg,
4884
+ co as BsProgressBar,
4885
+ fo as BsRadio,
4886
+ dl as BsSelect,
4887
+ po as BsSelectField,
4888
+ vo as BsSpinner,
4889
+ ho as BsSwitch,
4890
+ bo as BsTab,
4891
+ go as BsTabList,
4892
+ mo as BsTabPanel,
4893
+ Al as BsTextarea,
4894
+ yo as BsTextareaField,
4895
+ Bo as BsTimeline,
4896
+ So as BsToast,
4897
+ $o as BsToastActions,
4898
+ wo as BsToastBody,
4899
+ ko as BsToastHeader,
4900
+ Io as BsToaster,
4901
+ Co as BsTooltip,
4713
4902
  Te as BsTransition
4714
4903
  };