@wwtdev/bsds-components-vue3 2.0.9 → 2.1.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,35 +1,35 @@
1
- import { computed as p, ref as k, onMounted as O, onUnmounted as ne, shallowRef as Ne, watch as E, defineAsyncComponent as Oe, openBlock as d, createElementBlock as f, unref as v, createElementVNode as m, renderSlot as I, createBlock as A, resolveDynamicComponent as U, createCommentVNode as $, toDisplayString as T, createVNode as D, normalizeClass as X, useAttrs as N, mergeProps as V, withCtx as C, Fragment as R, renderList as Y, createTextVNode as W, withDirectives as We, Transition as me, vShow as je, inject as te, provide as ae, onDeactivated as Ge, normalizeStyle as Fe, isRef as Ue, nextTick as He, useSlots as Ke } from "vue";
1
+ import { computed as p, ref as I, onMounted as j, onUnmounted as ne, shallowRef as Re, watch as E, defineAsyncComponent as je, openBlock as d, createElementBlock as f, unref as v, createElementVNode as m, renderSlot as k, createBlock as L, resolveDynamicComponent as U, createCommentVNode as S, toDisplayString as T, createVNode as P, normalizeClass as X, useAttrs as N, mergeProps as D, withCtx as V, Fragment as O, renderList as Y, createTextVNode as R, withDirectives as We, Transition as me, vShow as Fe, inject as te, provide as ae, onDeactivated as Ge, isRef as Ue, nextTick as He, useSlots as Ke } from "vue";
2
2
  import { v4 as Ye } from "uuid";
3
- import { BsIconCaretDown as Xe, BsIconWarning as ve, BsIconClose as oe, BsIconSearch as Ze, BsIconCaretLeftDouble as Je, BsIconCaretLeft as Qe, BsIconCaretRight as _e, BsIconCaretRightDouble as et, BsIconActionEllipsis as tt, BsIconCircleExclamation as at, BsIconThumbsUpStroke as nt } from "@wwtdev/bsds-icons-vue3";
4
- import { Chart as fe, BarController as lt, BarElement as ot, CategoryScale as it, LinearScale as rt, Legend as st, Tooltip as dt } from "chart.js";
3
+ import { BsIconCaretDown as we, BsIconWarning as ve, BsIconClose as oe, BsIconSearch as Xe, BsIconCaretLeftDouble as Ze, BsIconCaretLeft as Je, BsIconCaretRight as Qe, BsIconCaretRightDouble as _e, BsIconActionEllipsis as et, BsIconCircleExclamation as tt, BsIconThumbsUpStroke as at } from "@wwtdev/bsds-icons-vue3";
4
+ import { Chart as fe, BarController as nt, BarElement as lt, CategoryScale as ot, LinearScale as it, Legend as rt, Tooltip as st } from "chart.js";
5
5
  const ye = {
6
6
  href: "a",
7
7
  onclick: "button",
8
8
  onClick: "button",
9
9
  type: "button"
10
10
  };
11
- function he(e, a, t = "button") {
12
- const l = ut(e, a, t), n = p(() => {
11
+ function pe(e, a, t = "button") {
12
+ const l = dt(e, a, t), n = p(() => {
13
13
  const o = l.value === "button", u = {};
14
14
  return o ? (u.type = a.type || "button", u.autocomplete = "off", e.disabled && (u.disabled = !0)) : e.disabled && (u["aria-disabled"] = "true", u.tabindex = "-1"), u;
15
15
  });
16
16
  return { rootTag: l, attrsToBind: n };
17
17
  }
18
- function ut(e, a, t) {
19
- const l = Object.keys(ye).find((n) => ct(e, a, n));
20
- return k(ye[l] || t);
18
+ function dt(e, a, t) {
19
+ const l = Object.keys(ye).find((n) => ut(e, a, n));
20
+ return I(ye[l] || t);
21
21
  }
22
- function ct(e, a, t) {
22
+ function ut(e, a, t) {
23
23
  return e[t] || a[t];
24
24
  }
25
- const ft = (e, a) => {
25
+ const ct = (e, a) => {
26
26
  const t = (l) => {
27
27
  e.some((n) => {
28
28
  var o;
29
29
  return (o = n.value) == null ? void 0 : o.contains(l.target);
30
30
  }) || a(l);
31
31
  };
32
- O(() => {
32
+ j(() => {
33
33
  document.addEventListener("click", t);
34
34
  }), ne(() => {
35
35
  document.removeEventListener("click", t);
@@ -61,19 +61,19 @@ const le = (e, a) => {
61
61
  if (!n)
62
62
  return null;
63
63
  const o = n.startsWith("bs-") ? Be(n) : `BsIcon${Be(n)}`;
64
- return Oe(async () => {
64
+ return je(async () => {
65
65
  const { [o]: u } = await import("@wwtdev/bsds-icons-vue3");
66
66
  return u;
67
67
  });
68
68
  }
69
- const l = Ne();
69
+ const l = Re();
70
70
  return l.value = t(e[a]), E(() => e[a], async (n) => l.value = t(n)), { icon: l };
71
71
  };
72
72
  function H(e = 1) {
73
73
  const a = [];
74
74
  for (let t = 0; t < e; t++)
75
- a.push(k(""));
76
- return O(() => {
75
+ a.push(I(""));
76
+ return j(() => {
77
77
  a.forEach((t) => t.value = Ye());
78
78
  }), a;
79
79
  }
@@ -81,14 +81,14 @@ const re = (e, a, t = void 0) => {
81
81
  const l = (n) => {
82
82
  e.includes(n.key) && a(n);
83
83
  };
84
- O(() => {
84
+ j(() => {
85
85
  ((t == null ? void 0 : t.value) ?? document).addEventListener("keydown", l);
86
86
  }), ne(() => {
87
87
  ((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", l);
88
88
  });
89
- }, vt = (e, a, t) => {
89
+ }, ft = (e, a, t) => {
90
90
  let l = null;
91
- O(() => {
91
+ j(() => {
92
92
  l = new MutationObserver(a), l.observe(e.value, t);
93
93
  }), ne(() => {
94
94
  l.disconnect();
@@ -98,7 +98,7 @@ function Z(e, a, t = []) {
98
98
  var i, s;
99
99
  const l = ((s = (i = e.passAttrs) == null ? void 0 : i.split) == null ? void 0 : s.call(i, ",")) || [], n = /* @__PURE__ */ new Set([...l, ...t]);
100
100
  n.delete("");
101
- const o = k({}), u = k({});
101
+ const o = I({}), u = I({});
102
102
  for (let r in a)
103
103
  n.has(r) ? u.value[r] = a[r] : o.value[r] = a[r];
104
104
  return {
@@ -107,8 +107,8 @@ function Z(e, a, t = []) {
107
107
  };
108
108
  }
109
109
  const se = (e) => {
110
- const a = k(!1);
111
- return O(() => {
110
+ const a = I(!1);
111
+ return j(() => {
112
112
  a.value = e.enterControlled || e.preloaded ? e.enterTrigger : e.shown;
113
113
  }), E(() => e.shown, (t) => {
114
114
  a.value = t;
@@ -117,11 +117,11 @@ const se = (e) => {
117
117
  }), E(() => e.leaveTrigger, (t) => {
118
118
  t && (a.value = !1);
119
119
  }), { transition: a };
120
- }, ht = ["id", "data-stacked"], pt = ["data-open"], gt = ["aria-controls", "aria-expanded"], bt = {
120
+ }, vt = ["id", "data-stacked"], pt = ["data-open"], ht = ["aria-controls", "aria-expanded"], gt = {
121
121
  key: 0,
122
122
  "data-position": "start",
123
123
  style: { display: "inline-flex" }
124
- }, mt = ["id", "aria-level"], yt = ["aria-labelledby", "data-open", "id"], Ln = {
124
+ }, bt = ["id", "aria-level"], mt = ["aria-labelledby", "data-open", "id"], Vn = {
125
125
  __name: "BsAccordion",
126
126
  props: {
127
127
  controlled: { type: Boolean, default: !1 },
@@ -137,11 +137,11 @@ const se = (e) => {
137
137
  },
138
138
  emits: ["toggled"],
139
139
  setup(e, { emit: a }) {
140
- const t = e, l = a, n = k(null), o = k(!1), { icon: u } = le(t, "icon"), [i] = H(), s = p(() => i.value + "-content"), r = p(() => i.value + "-title"), c = p(() => t.openItemId && t.openItemId === i.value || t.openItem === !0), b = p(() => t.controlled ? c.value : o.value);
140
+ const t = e, l = a, n = I(null), o = I(!1), { icon: u } = le(t, "icon"), [i] = H(), s = p(() => i.value + "-content"), r = p(() => i.value + "-title"), c = p(() => t.openItemId && t.openItemId === i.value || t.openItem === !0), b = p(() => t.controlled ? c.value : o.value);
141
141
  function g() {
142
142
  l("toggled", i.value), t.controlled || (o.value = !o.value);
143
143
  }
144
- return (y, L) => (d(), f("div", {
144
+ return (B, x) => (d(), f("div", {
145
145
  id: v(i),
146
146
  ref_key: "containerRef",
147
147
  ref: n,
@@ -159,21 +159,21 @@ const se = (e) => {
159
159
  type: "button",
160
160
  onClick: g
161
161
  }, [
162
- e.icon || y.$slots.icon ? (d(), f("span", bt, [
163
- I(y.$slots, "icon", {}, () => [
164
- e.icon ? (d(), A(U(v(u) ? v(u) : "span"), { key: 0 })) : $("", !0)
162
+ e.icon || B.$slots.icon ? (d(), f("span", gt, [
163
+ k(B.$slots, "icon", {}, () => [
164
+ e.icon ? (d(), L(U(v(u) ? v(u) : "span"), { key: 0 })) : S("", !0)
165
165
  ])
166
- ])) : $("", !0),
166
+ ])) : S("", !0),
167
167
  m("span", {
168
168
  id: r.value,
169
169
  "aria-level": e.headingLevel,
170
170
  role: "heading"
171
- }, T(e.headerText), 9, mt),
172
- D(v(Xe), {
171
+ }, T(e.headerText), 9, bt),
172
+ P(v(we), {
173
173
  size: "md",
174
174
  "data-position": "end"
175
175
  })
176
- ], 8, gt)
176
+ ], 8, ht)
177
177
  ], 8, pt),
178
178
  m("div", {
179
179
  "aria-labelledby": r.value,
@@ -184,12 +184,12 @@ const se = (e) => {
184
184
  role: "region"
185
185
  }, [
186
186
  m("div", null, [
187
- I(y.$slots, "default")
187
+ k(B.$slots, "default")
188
188
  ])
189
- ], 8, yt)
190
- ], 8, ht));
189
+ ], 8, mt)
190
+ ], 8, vt));
191
191
  }
192
- }, Bt = ["data-badge-color", "data-count", "data-position", "data-show-zero", "aria-label"], Pn = {
192
+ }, yt = ["data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant", "aria-label"], Bt = {
193
193
  __name: "BsBadge",
194
194
  props: {
195
195
  /** Pass value to set `data-badge-color`. */
@@ -229,16 +229,20 @@ const se = (e) => {
229
229
  showZero: {
230
230
  type: Boolean,
231
231
  default: !1
232
+ },
233
+ variant: {
234
+ type: String,
235
+ validator: (e) => e === "notext"
232
236
  }
233
237
  },
234
238
  setup(e) {
235
- const a = e, t = k(null), l = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = p(() => {
239
+ const a = e, t = I(null), l = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = p(() => {
236
240
  var s, r;
237
241
  const o = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", u = l.value ? l.value + " " : "";
238
242
  if (!u && !a.dot)
239
243
  return o;
240
244
  const i = a.count !== 1 ? "s" : "";
241
- return `${o}, ${u}${a.label}${i}`;
245
+ return `${o ? `${o}, ` : ""}${u}${a.label}${i}`;
242
246
  });
243
247
  return (o, u) => (d(), f("span", {
244
248
  ref_key: "hostRef",
@@ -249,37 +253,38 @@ const se = (e) => {
249
253
  "data-count": l.value,
250
254
  "data-position": e.position,
251
255
  "data-show-zero": e.showZero,
256
+ "data-variant": e.variant,
252
257
  "aria-label": n.value
253
258
  }, [
254
- I(o.$slots, "default")
255
- ], 10, Bt));
259
+ e.variant !== "notext" ? k(o.$slots, "default", { key: 0 }) : S("", !0)
260
+ ], 10, yt));
256
261
  }
257
262
  }, $t = {
258
263
  key: 0,
259
264
  role: "alert",
260
265
  class: "bs-banner"
261
- }, St = { class: "bs-banner-content" }, wt = { class: "bs-banner-warning-icon" }, Dn = {
266
+ }, St = { class: "bs-banner-content" }, wt = { class: "bs-banner-warning-icon" }, Pn = {
262
267
  __name: "BsBanner",
263
268
  emits: ["dismiss"],
264
269
  setup(e, { emit: a }) {
265
- const t = a, l = k(!1);
270
+ const t = a, l = I(!1);
266
271
  function n() {
267
272
  l.value = !0, t("dismiss");
268
273
  }
269
- return (o, u) => l.value ? $("", !0) : (d(), f("div", $t, [
274
+ return (o, u) => l.value ? S("", !0) : (d(), f("div", $t, [
270
275
  m("div", St, [
271
276
  m("div", wt, [
272
- D(v(ve), { size: "lg" })
277
+ P(v(ve), { size: "lg" })
273
278
  ]),
274
279
  m("p", null, [
275
- I(o.$slots, "default")
280
+ k(o.$slots, "default")
276
281
  ]),
277
282
  m("button", {
278
283
  type: "button",
279
284
  title: "Close Banner",
280
285
  onClick: n
281
286
  }, [
282
- D(v(oe))
287
+ P(v(oe))
283
288
  ])
284
289
  ])
285
290
  ]));
@@ -296,8 +301,8 @@ const se = (e) => {
296
301
  size: { type: String, validator: (e) => !e || e === "sm" }
297
302
  },
298
303
  setup(e) {
299
- const a = e, t = N(), { rootTag: l, attrsToBind: n } = he(a, t), { onLinkClick: o } = ie(a);
300
- return (u, i) => (d(), A(U(v(l)), V({
304
+ const a = e, t = N(), { rootTag: l, attrsToBind: n } = pe(a, t), { onLinkClick: o } = ie(a);
305
+ return (u, i) => (d(), L(U(v(l)), D({
301
306
  class: "bs-button",
302
307
  "data-component": "bs-button",
303
308
  "data-ghost": e.ghostBtn,
@@ -306,8 +311,8 @@ const se = (e) => {
306
311
  "data-variant": e.variant,
307
312
  href: e.href
308
313
  }, v(n), { onClick: v(o) }), {
309
- default: C(() => [
310
- I(u.$slots, "default")
314
+ default: V(() => [
315
+ k(u.$slots, "default")
311
316
  ]),
312
317
  _: 3
313
318
  }, 16, ["data-ghost", "data-size", "data-text", "data-variant", "href", "onClick"]));
@@ -341,18 +346,18 @@ const se = (e) => {
341
346
  ]),
342
347
  m("tr", null, [
343
348
  Ct,
344
- (d(!0), f(R, null, Y(e.dataIdxLabels, (n) => (d(), f("th", {
349
+ (d(!0), f(O, null, Y(e.dataIdxLabels, (n) => (d(), f("th", {
345
350
  key: n,
346
351
  scope: "col"
347
352
  }, T(n), 1))), 128))
348
353
  ])
349
354
  ]),
350
355
  m("tbody", null, [
351
- (d(!0), f(R, null, Y(e.data, (n) => (d(), f("tr", {
356
+ (d(!0), f(O, null, Y(e.data, (n) => (d(), f("tr", {
352
357
  key: n.label
353
358
  }, [
354
359
  m("th", At, T(n.label), 1),
355
- (d(!0), f(R, null, Y(n.data, (o, u) => (d(), f("td", {
360
+ (d(!0), f(O, null, Y(n.data, (o, u) => (d(), f("td", {
356
361
  key: `${o}${u}`
357
362
  }, T(o), 1))), 128))
358
363
  ]))), 128))
@@ -361,7 +366,7 @@ const se = (e) => {
361
366
  ]);
362
367
  };
363
368
  }
364
- }, Pt = (e) => ({
369
+ }, Vt = (e) => ({
365
370
  id: "htmlLegend",
366
371
  afterUpdate(a) {
367
372
  e.innerHTML = "", e.style.setProperty("--legend-padding", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((l) => {
@@ -376,7 +381,7 @@ const se = (e) => {
376
381
  i.style.setProperty("--item-text-color", l.fontColor), i.style.setProperty("--item-text-decoration", l.hidden ? "line-through" : "none"), i.appendChild(u), n.appendChild(o), n.appendChild(i), e.appendChild(n);
377
382
  });
378
383
  }
379
- }), Dt = ({ type: e, datasets: a, labels: t, tooltips: l }) => ({
384
+ }), Pt = ({ type: e, datasets: a, labels: t, tooltips: l }) => ({
380
385
  type: e,
381
386
  data: {
382
387
  datasets: a,
@@ -395,7 +400,7 @@ const se = (e) => {
395
400
  responsive: !0
396
401
  }
397
402
  });
398
- function Vt(e) {
403
+ function Dt(e) {
399
404
  const a = [
400
405
  "rgba(209, 26, 111, 1)",
401
406
  "rgba(130, 18, 196, 1)",
@@ -420,7 +425,7 @@ function $e(e, a, t) {
420
425
  const Et = {
421
426
  class: "bs-chart-bar",
422
427
  "data-component": "bs-chart-bar"
423
- }, qt = ["aria-label"], zt = ["data-hidden"], Vn = {
428
+ }, qt = ["aria-label"], zt = ["data-hidden"], Dn = {
424
429
  __name: "BsChartBar",
425
430
  props: {
426
431
  chartTitle: {
@@ -474,7 +479,7 @@ const Et = {
474
479
  }
475
480
  },
476
481
  setup(e) {
477
- const a = e, t = k(null), l = k(null);
482
+ const a = e, t = I(null), l = I(null);
478
483
  let n;
479
484
  const o = p(() => {
480
485
  const c = {
@@ -482,8 +487,8 @@ const Et = {
482
487
  labels: a.dataIdxLabels,
483
488
  type: "bar",
484
489
  tooltips: a.showTooltips
485
- }, b = Dt(c);
486
- return b.plugins = [Pt(l.value)], b.options.scales = {
490
+ }, b = Pt(c);
491
+ return b.plugins = [Vt(l.value)], b.options.scales = {
487
492
  x: {
488
493
  grid: {
489
494
  display: a.showXGrid
@@ -507,15 +512,15 @@ const Et = {
507
512
  }, b;
508
513
  }), u = p(() => a.data.map((c, b) => ({
509
514
  ...c,
510
- backgroundColor: Vt(b),
515
+ backgroundColor: Dt(b),
511
516
  categoryPercentage: a.data.length > 1 ? 0.5 : 0.33
512
517
  }))), i = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`), s = $e(function(c, b) {
513
518
  !n || c === b || (n.options = o.value.options, n.update());
514
519
  }, 100), r = $e(function() {
515
520
  n && (n.data = o.value.data, n.update());
516
521
  }, 100);
517
- return O(() => {
518
- fe.register(lt, ot, it, rt, st, dt), fe.defaults.font.family = "'Roobert', sans-serif", n = new fe(t.value, o.value);
522
+ return j(() => {
523
+ fe.register(nt, lt, ot, it, rt, st), fe.defaults.font.family = "'Roobert', sans-serif", n = new fe(t.value, o.value);
519
524
  }), E(() => a.showLegend, s), E(() => a.showTooltips, s), E(() => a.showXGrid, s), E(() => a.showYGrid, s), E(() => a.stacked, s), E(() => a.xLabel, s), E(() => a.yLabel, s), E(() => a.data, r), E(() => a.dataIdxLabels, r), (c, b) => (d(), f("div", Et, [
520
525
  m("figure", null, [
521
526
  m("div", null, [
@@ -527,7 +532,7 @@ const Et = {
527
532
  }, null, 8, qt)
528
533
  ]),
529
534
  m("div", null, [
530
- D(Lt, {
535
+ P(Lt, {
531
536
  data: e.data,
532
537
  "data-idx-labels": e.dataIdxLabels,
533
538
  "table-title": i.value
@@ -544,7 +549,7 @@ const Et = {
544
549
  ])
545
550
  ]));
546
551
  }
547
- }, Mt = ["data-disabled", "for"], Rt = /* @__PURE__ */ m("span", {
552
+ }, Mt = ["data-disabled", "for"], Ot = /* @__PURE__ */ m("span", {
548
553
  "data-required": "true",
549
554
  "aria-hidden": "true"
550
555
  }, " *", -1), Nt = /* @__PURE__ */ m("span", { class: "visually-hidden" }, "required", -1), _ = {
@@ -563,15 +568,15 @@ const Et = {
563
568
  for: e.for
564
569
  }, [
565
570
  m("span", null, [
566
- I(a.$slots, "default")
571
+ k(a.$slots, "default")
567
572
  ]),
568
- e.required ? (d(), f(R, { key: 0 }, [
569
- Rt,
573
+ e.required ? (d(), f(O, { key: 0 }, [
574
+ Ot,
570
575
  Nt
571
- ], 64)) : $("", !0)
576
+ ], 64)) : S("", !0)
572
577
  ], 10, Mt));
573
578
  }
574
- }, Ot = ["data-size"], Wt = ["checked", "disabled", "id", "required", "data-error"], En = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
579
+ }, Rt = ["data-size"], jt = ["checked", "data-error", "disabled", "id", "required", "value"], En = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
575
580
  __name: "BsCheckbox",
576
581
  props: {
577
582
  /** Sets the label. */
@@ -619,49 +624,64 @@ const Et = {
619
624
  type: String,
620
625
  validator: (e) => e === "sm"
621
626
  },
627
+ value: {
628
+ type: [String, Number, Object]
629
+ },
622
630
  /** Sets the `checked` state - `v-model` directive will use this; do not set explicitly. */
623
631
  modelValue: {
624
- type: Boolean
632
+ type: [Boolean, Array]
625
633
  }
626
634
  },
627
635
  emits: ["update:modelValue"],
628
636
  setup(e, { emit: a }) {
629
- const t = e, l = N(), [n] = H(), { toChild: o, toRoot: u } = Z(t, l, ["name", "value"]), i = k(null), s = p(() => t.inputId || n.value), r = p(() => t.checked || t.modelValue);
630
- function c() {
631
- i.value && (i.value.indeterminate = t.checkedPartially && !r.value);
637
+ const t = e, l = a, n = N(), [o] = H(), { toChild: u, toRoot: i } = Z(t, n, ["aria-label", "name", "value"]), s = I(null), r = p(() => t.inputId || o.value), c = p(() => t.checked || g.value), b = p(() => Array.isArray(t.modelValue) && t.value), g = p(() => b.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
638
+ function B() {
639
+ s.value && (s.value.indeterminate = t.checkedPartially && !c.value);
632
640
  }
633
- return E(r, c), E(() => t.checkedPartially, c), (b, g) => (d(), f("div", V({
641
+ function x($) {
642
+ l("update:modelValue", $);
643
+ }
644
+ function z($) {
645
+ const y = [...t.modelValue];
646
+ $ ? y.push(t.value) : y.splice(y.indexOf(t.value), 1), l("update:modelValue", y);
647
+ }
648
+ function C($) {
649
+ const { checked: y } = $.target;
650
+ b.value ? z(y) : x(y);
651
+ }
652
+ return E(c, B), E(() => t.checkedPartially, B), ($, y) => (d(), f("div", D({
634
653
  class: "bs-boolean",
635
654
  "data-component": "bs-checkbox",
636
655
  "data-size": e.size
637
- }, v(u)), [
638
- m("input", V({
656
+ }, v(i)), [
657
+ m("input", D({
639
658
  ref_key: "inputEl",
640
- ref: i,
641
- checked: r.value,
659
+ ref: s,
660
+ checked: c.value,
661
+ "data-error": e.error,
642
662
  disabled: e.disabled,
643
- id: s.value,
663
+ id: r.value,
644
664
  required: e.required,
665
+ value: e.value || "on",
645
666
  type: "checkbox",
646
- "data-error": e.error,
647
- onChange: g[0] || (g[0] = (y) => b.$emit("update:modelValue", y.target.checked))
648
- }, v(o)), null, 16, Wt),
649
- e.label || b.$slots.label ? (d(), A(_, {
667
+ onChange: C
668
+ }, v(u)), null, 16, jt),
669
+ e.label || $.$slots.label ? (d(), L(_, {
650
670
  key: 0,
651
- for: s.value,
671
+ for: r.value,
652
672
  disabled: e.disabled,
653
673
  required: e.required
654
674
  }, {
655
- default: C(() => [
656
- I(b.$slots, "label", {}, () => [
657
- W(T(e.label), 1)
675
+ default: V(() => [
676
+ k($.$slots, "label", {}, () => [
677
+ R(T(e.label), 1)
658
678
  ])
659
679
  ]),
660
680
  _: 3
661
- }, 8, ["for", "disabled", "required"])) : $("", !0)
662
- ], 16, Ot));
681
+ }, 8, ["for", "disabled", "required"])) : S("", !0)
682
+ ], 16, Rt));
663
683
  }
664
- }), jt = { key: 0 }, Gt = { class: "bs-circle-button-icon" }, Ft = { key: 1 }, qn = {
684
+ }), Wt = { key: 0 }, Ft = { class: "bs-circle-button-icon" }, Gt = { key: 1 }, qn = {
665
685
  __name: "BsCircleButton",
666
686
  props: {
667
687
  disabled: {
@@ -704,11 +724,11 @@ const Et = {
704
724
  }
705
725
  },
706
726
  setup(e) {
707
- const a = e, t = N(), { rootTag: l, attrsToBind: n } = he(a, t), { icon: o } = le(a, "icon"), { onLinkClick: u } = ie(a), i = p(() => a.textBtn ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), s = p(() => {
727
+ const a = e, t = N(), { rootTag: l, attrsToBind: n } = pe(a, t), { icon: o } = le(a, "icon"), { onLinkClick: u } = ie(a), i = p(() => a.textBtn ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), s = p(() => {
708
728
  if (a.hoverEffect)
709
729
  return a.iconPosition;
710
730
  }), r = p(() => a.textBtn && a.iconPosition !== "left"), c = p(() => a.textBtn && a.iconPosition === "left");
711
- return (b, g) => (d(), A(U(v(l)), V({
731
+ return (b, g) => (d(), L(U(v(l)), D({
712
732
  class: "bs-circle-button",
713
733
  "data-disabled": e.disabled,
714
734
  "data-direction": s.value,
@@ -717,14 +737,14 @@ const Et = {
717
737
  "data-text": e.textBtn,
718
738
  href: e.href
719
739
  }, { ...v(n), ...i.value }, { onClick: v(u) }), {
720
- default: C(() => [
721
- r.value ? (d(), f("span", jt, T(e.label), 1)) : $("", !0),
722
- m("span", Gt, [
723
- I(b.$slots, "icon", {}, () => [
724
- (d(), A(U(v(o)), { size: e.size }, null, 8, ["size"]))
740
+ default: V(() => [
741
+ r.value ? (d(), f("span", Wt, T(e.label), 1)) : S("", !0),
742
+ m("span", Ft, [
743
+ k(b.$slots, "icon", {}, () => [
744
+ (d(), L(U(v(o)), { size: e.size }, null, 8, ["size"]))
725
745
  ])
726
746
  ]),
727
- c.value ? (d(), f("span", Ft, T(e.label), 1)) : $("", !0)
747
+ c.value ? (d(), f("span", Gt, T(e.label), 1)) : S("", !0)
728
748
  ]),
729
749
  _: 3
730
750
  }, 16, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", "href", "onClick"]));
@@ -786,10 +806,10 @@ const Et = {
786
806
  duration: c,
787
807
  enterClass: b,
788
808
  enterAttribute: g,
789
- leaveClass: y,
790
- leaveAttribute: L
809
+ leaveClass: B,
810
+ leaveAttribute: x
791
811
  } = t;
792
- s.classList.remove(b), s.removeAttribute(g), y && s.classList.add(y), L && s.setAttribute(L, ""), n.push(setTimeout(() => {
812
+ s.classList.remove(b), s.removeAttribute(g), B && s.classList.add(B), x && s.setAttribute(x, ""), n.push(setTimeout(() => {
793
813
  r();
794
814
  }, c)), l("leave", s);
795
815
  }
@@ -801,7 +821,7 @@ const Et = {
801
821
  n.forEach((s) => {
802
822
  clearTimeout(s);
803
823
  });
804
- }), (s, r) => e.preloaded ? We((d(), A(me, {
824
+ }), (s, r) => e.preloaded ? We((d(), L(me, {
805
825
  key: 0,
806
826
  css: !1,
807
827
  onBeforeEnter: r[0] || (r[0] = (c) => l("before-enter", c)),
@@ -813,13 +833,13 @@ const Et = {
813
833
  onAfterLeave: i,
814
834
  onLeaveCancelled: r[4] || (r[4] = (c) => l("leave-cancelled", c))
815
835
  }, {
816
- default: C(() => [
817
- I(s.$slots, "default")
836
+ default: V(() => [
837
+ k(s.$slots, "default")
818
838
  ]),
819
839
  _: 3
820
840
  }, 512)), [
821
- [je, e.shown]
822
- ]) : (d(), A(me, {
841
+ [Fe, e.shown]
842
+ ]) : (d(), L(me, {
823
843
  key: 1,
824
844
  css: !1,
825
845
  onBeforeEnter: r[5] || (r[5] = (c) => l("before-enter", c)),
@@ -831,8 +851,8 @@ const Et = {
831
851
  onAfterLeave: i,
832
852
  onLeaveCancelled: r[9] || (r[9] = (c) => l("leave-cancelled", c))
833
853
  }, {
834
- default: C(() => [
835
- e.shown ? I(s.$slots, "default", { key: 0 }) : $("", !0)
854
+ default: V(() => [
855
+ e.shown ? k(s.$slots, "default", { key: 0 }) : S("", !0)
836
856
  ]),
837
857
  _: 3
838
858
  }));
@@ -885,31 +905,31 @@ const Et = {
885
905
  "after-leave"
886
906
  ],
887
907
  setup(e, { emit: a }) {
888
- const t = e, l = a, n = k(null);
908
+ const t = e, l = a, n = I(null);
889
909
  let o = !1;
890
- ft([n], () => {
910
+ ct([n], () => {
891
911
  o && l("close");
892
912
  }), re(["Escape"], () => {
893
913
  o && l("close");
894
914
  });
895
915
  function u() {
896
- const y = (t.containerRef || document.getElementById(t.containerId)).getBoundingClientRect(), L = document.getElementById(t.anchorId).getBoundingClientRect(), M = n.value.getBoundingClientRect();
916
+ const B = (t.containerRef || document.getElementById(t.containerId)).getBoundingClientRect(), x = document.getElementById(t.anchorId).getBoundingClientRect(), z = n.value.getBoundingClientRect();
897
917
  if (t.position === "top") {
898
- const w = y.bottom - L.bottom;
899
- n.value.style.setProperty("--dropdown-wscreen-top", "auto"), n.value.style.setProperty("--dropdown-wscreen-bottom", `${w + L.height + 8}px`);
918
+ const $ = B.bottom - x.bottom;
919
+ n.value.style.setProperty("--dropdown-wscreen-top", "auto"), n.value.style.setProperty("--dropdown-wscreen-bottom", `${$ + x.height + 8}px`);
900
920
  } else {
901
- const w = L.top - y.top;
902
- n.value.style.setProperty("--dropdown-wscreen-top", `${w + L.height + 8}px`), n.value.style.setProperty("--dropdown-wscreen-bottom", "auto");
921
+ const $ = x.top - B.top;
922
+ n.value.style.setProperty("--dropdown-wscreen-top", `${$ + x.height + 8}px`), n.value.style.setProperty("--dropdown-wscreen-bottom", "auto");
903
923
  }
904
- const P = L.left - y.left;
924
+ const C = x.left - B.left;
905
925
  if (t.position === "center") {
906
- const w = (L.width - M.width) / 2;
907
- n.value.style.setProperty("--dropdown-wscreen-left", `${P + w}px`);
926
+ const $ = (x.width - z.width) / 2;
927
+ n.value.style.setProperty("--dropdown-wscreen-left", `${C + $}px`);
908
928
  } else if (t.position === "right") {
909
- const w = y.right - L.right;
910
- n.value.style.setProperty("--dropdown-wscreen-left", "auto"), n.value.style.setProperty("--dropdown-wscreen-right", `${w}px`);
929
+ const $ = B.right - x.right;
930
+ n.value.style.setProperty("--dropdown-wscreen-left", "auto"), n.value.style.setProperty("--dropdown-wscreen-right", `${$}px`);
911
931
  } else
912
- n.value.style.setProperty("--dropdown-wscreen-left", `${P}px`);
932
+ n.value.style.setProperty("--dropdown-wscreen-left", `${C}px`);
913
933
  }
914
934
  function i() {
915
935
  if (t.width === "toggle") {
@@ -930,17 +950,17 @@ const Et = {
930
950
  function b() {
931
951
  return t.width === "toggle" ? void 0 : t.width;
932
952
  }
933
- return (g, y) => (d(), A(v(de), {
953
+ return (g, B) => (d(), L(v(de), {
934
954
  shown: e.shown,
935
955
  preloaded: e.preloaded,
936
956
  duration: 75,
937
957
  "enter-attribute": "data-shown",
938
- onAfterEnter: y[1] || (y[1] = (L) => r()),
939
- onEnter: y[2] || (y[2] = (L) => s()),
940
- onAfterLeave: y[3] || (y[3] = (L) => c())
958
+ onAfterEnter: B[1] || (B[1] = (x) => r()),
959
+ onEnter: B[2] || (B[2] = (x) => s()),
960
+ onAfterLeave: B[3] || (B[3] = (x) => c())
941
961
  }, {
942
- default: C(() => [
943
- m("div", V({
962
+ default: V(() => [
963
+ m("div", D({
944
964
  ref_key: "dropdownRef",
945
965
  ref: n,
946
966
  class: "bs-dropdown",
@@ -949,17 +969,17 @@ const Et = {
949
969
  e.helperText ? (d(), f("header", Ht, [
950
970
  m("div", null, [
951
971
  m("h3", null, T(e.helperText), 1),
952
- e.helperDescription ? (d(), f("p", Kt, T(e.helperDescription), 1)) : $("", !0)
972
+ e.helperDescription ? (d(), f("p", Kt, T(e.helperDescription), 1)) : S("", !0)
953
973
  ]),
954
974
  m("button", {
955
975
  type: "button",
956
976
  title: "close",
957
- onClick: y[0] || (y[0] = () => l("close"))
977
+ onClick: B[0] || (B[0] = () => l("close"))
958
978
  }, [
959
- D(v(oe))
979
+ P(v(oe))
960
980
  ])
961
- ])) : $("", !0),
962
- I(g.$slots, "default")
981
+ ])) : S("", !0),
982
+ k(g.$slots, "default")
963
983
  ], 16, Ut)
964
984
  ]),
965
985
  _: 3
@@ -1048,10 +1068,10 @@ const Et = {
1048
1068
  "after-leave"
1049
1069
  ],
1050
1070
  setup(e, { emit: a }) {
1051
- const t = e, l = a, n = k(null), { transition: o } = se(t), u = p(() => t.toggleId ? t.toggleId : t.anchorId), i = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position);
1052
- return (s, r) => (d(), f(R, null, [
1053
- v(o) ? (d(), f("div", Yt)) : $("", !0),
1054
- e.containerId ? (d(), A(v(Se), V({
1071
+ const t = e, l = a, n = I(null), { transition: o } = se(t), u = p(() => t.toggleId ? t.toggleId : t.anchorId), i = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position);
1072
+ return (s, r) => (d(), f(O, null, [
1073
+ v(o) ? (d(), f("div", Yt)) : S("", !0),
1074
+ e.containerId ? (d(), L(v(Se), D({
1055
1075
  key: 1,
1056
1076
  shown: v(o),
1057
1077
  preloaded: e.preloaded,
@@ -1067,8 +1087,8 @@ const Et = {
1067
1087
  onEnter: r[2] || (r[2] = (c) => l("enter")),
1068
1088
  onAfterLeave: r[3] || (r[3] = (c) => l("after-leave"))
1069
1089
  }), {
1070
- default: C(() => [
1071
- I(s.$slots, "default")
1090
+ default: V(() => [
1091
+ k(s.$slots, "default")
1072
1092
  ]),
1073
1093
  _: 3
1074
1094
  }, 16, ["shown", "preloaded", "anchor-id", "container-id", "helper-description", "helper-text", "position", "width"])) : (d(), f("div", {
@@ -1077,7 +1097,7 @@ const Et = {
1077
1097
  ref: n,
1078
1098
  style: { position: "relative" }
1079
1099
  }, [
1080
- D(v(Se), V({
1100
+ P(v(Se), D({
1081
1101
  shown: v(o),
1082
1102
  preloaded: e.preloaded,
1083
1103
  "anchor-id": u.value,
@@ -1092,8 +1112,8 @@ const Et = {
1092
1112
  onEnter: r[6] || (r[6] = (c) => l("enter")),
1093
1113
  onAfterLeave: r[7] || (r[7] = (c) => l("after-leave"))
1094
1114
  }), {
1095
- default: C(() => [
1096
- I(s.$slots, "default")
1115
+ default: V(() => [
1116
+ k(s.$slots, "default")
1097
1117
  ]),
1098
1118
  _: 3
1099
1119
  }, 16, ["shown", "preloaded", "anchor-id", "container-ref", "helper-description", "helper-text", "position", "width"])
@@ -1113,7 +1133,7 @@ const Et = {
1113
1133
  }
1114
1134
  },
1115
1135
  setup(e) {
1116
- const a = e, t = k(null), l = te("optionsId"), n = te("handleSelect"), o = p(() => `${l}-option-${a.value}`);
1136
+ const a = e, t = I(null), l = te("optionsId"), n = te("handleSelect"), o = p(() => `${l}-option-${a.value}`);
1117
1137
  re([" ", "Enter", "NumpadEnter"], (i) => {
1118
1138
  var s;
1119
1139
  u(), (s = t.value.querySelector("a")) == null || s.click(), i.preventDefault();
@@ -1133,7 +1153,7 @@ const Et = {
1133
1153
  tabIndex: -1,
1134
1154
  onClick: u
1135
1155
  }, [
1136
- I(i.$slots, "default")
1156
+ k(i.$slots, "default")
1137
1157
  ], 8, Zt));
1138
1158
  }
1139
1159
  }, Qt = ["aria-activedescendant", "aria-label", "id"], _t = {
@@ -1174,16 +1194,16 @@ const Et = {
1174
1194
  },
1175
1195
  emits: ["optselected", "update:modelValue", "close"],
1176
1196
  setup(e, { emit: a }) {
1177
- const t = e, l = a, n = k(null), o = k(null);
1197
+ const t = e, l = a, n = I(null), o = I(null);
1178
1198
  let u = null, i = -1, s = -1;
1179
- ae("optionsId", t.optionsId), ae("handleSelect", P);
1199
+ ae("optionsId", t.optionsId), ae("handleSelect", C);
1180
1200
  function r() {
1181
1201
  return u || (u = Array.from(n.value.querySelectorAll('[data-component="bs-dropdown-option"]'))), u;
1182
1202
  }
1183
- O(() => {
1184
- g(), document.addEventListener("keydown", L);
1203
+ j(() => {
1204
+ g(), document.addEventListener("keydown", x);
1185
1205
  }), Ge(() => {
1186
- document.removeEventListener("keydown", L);
1206
+ document.removeEventListener("keydown", x);
1187
1207
  }), E(() => t.visible, () => {
1188
1208
  g();
1189
1209
  }), E(() => t.shown, () => {
@@ -1191,67 +1211,67 @@ const Et = {
1191
1211
  });
1192
1212
  const c = p(() => t.visible || t.shown), b = p(() => t.modelValue || t.selectedValue);
1193
1213
  function g() {
1194
- var w, S, q, j, ee;
1214
+ var $, y, q, W, ee;
1195
1215
  c.value ? (s = r().findIndex(
1196
1216
  (J) => J.getAttribute("data-value") === String(b.value)
1197
- ), s > -1 && ((w = r()[s]) == null || w.setAttribute("data-selected", ""), (S = r()[s]) == null || S.setAttribute("aria-selected", "true"), i = s, t.focusDelay > 0 ? setTimeout(() => {
1217
+ ), s > -1 && (($ = r()[s]) == null || $.setAttribute("data-selected", ""), (y = r()[s]) == null || y.setAttribute("aria-selected", "true"), i = s, t.focusDelay > 0 ? setTimeout(() => {
1198
1218
  var J;
1199
1219
  (J = r()[s]) == null || J.focus();
1200
- }, t.focusDelay) : (q = r()[s]) == null || q.focus())) : ((j = r()[s]) == null || j.removeAttribute("data-selected"), (ee = r()[s]) == null || ee.removeAttribute("aria-selected"));
1220
+ }, t.focusDelay) : (q = r()[s]) == null || q.focus())) : ((W = r()[s]) == null || W.removeAttribute("data-selected"), (ee = r()[s]) == null || ee.removeAttribute("aria-selected"));
1201
1221
  }
1202
- vt(
1222
+ ft(
1203
1223
  n,
1204
1224
  () => {
1205
1225
  u = null;
1206
1226
  },
1207
1227
  { childList: !0 }
1208
1228
  );
1209
- function y() {
1210
- var w;
1211
- i > -1 && ((w = r()[i]) == null || w.blur());
1229
+ function B() {
1230
+ var $;
1231
+ i > -1 && (($ = r()[i]) == null || $.blur());
1212
1232
  }
1213
- function L(w) {
1233
+ function x($) {
1214
1234
  if (c.value)
1215
- switch (w.key) {
1235
+ switch ($.key) {
1216
1236
  case "ArrowDown":
1217
- M("down"), w.preventDefault();
1237
+ z("down"), $.preventDefault();
1218
1238
  break;
1219
1239
  case "ArrowUp":
1220
- M("up"), w.preventDefault();
1240
+ z("up"), $.preventDefault();
1221
1241
  break;
1222
1242
  case "Home":
1223
- M("home"), w.preventDefault();
1243
+ z("home"), $.preventDefault();
1224
1244
  break;
1225
1245
  case "End":
1226
- M("end"), w.preventDefault();
1246
+ z("end"), $.preventDefault();
1227
1247
  break;
1228
1248
  case "Tab":
1229
- w.preventDefault();
1249
+ $.preventDefault();
1230
1250
  break;
1231
1251
  }
1232
1252
  }
1233
- function M(w) {
1234
- let S;
1235
- switch (w) {
1253
+ function z($) {
1254
+ let y;
1255
+ switch ($) {
1236
1256
  case "up":
1237
- S = i - 1 < 0 ? r().length - 1 : i - 1;
1257
+ y = i - 1 < 0 ? r().length - 1 : i - 1;
1238
1258
  break;
1239
1259
  case "down":
1240
- S = (i + 1) % r().length;
1260
+ y = (i + 1) % r().length;
1241
1261
  break;
1242
1262
  case "home":
1243
- S = 0;
1263
+ y = 0;
1244
1264
  break;
1245
1265
  case "end":
1246
- S = r().length - 1;
1266
+ y = r().length - 1;
1247
1267
  break;
1248
1268
  }
1249
- y(), r()[S].focus(), i = S;
1269
+ B(), r()[y].focus(), i = y;
1250
1270
  }
1251
- function P(w, S) {
1252
- o.value = w, y(), l("optselected", S), l("update:modelValue", S), l("close");
1271
+ function C($, y) {
1272
+ o.value = $, B(), l("optselected", y), l("update:modelValue", y), l("close");
1253
1273
  }
1254
- return (w, S) => (d(), f("ul", {
1274
+ return ($, y) => (d(), f("ul", {
1255
1275
  ref_key: "optionsRef",
1256
1276
  ref: n,
1257
1277
  "aria-activedescendant": o.value || void 0,
@@ -1260,7 +1280,7 @@ const Et = {
1260
1280
  id: t.optionsId,
1261
1281
  role: "listbox"
1262
1282
  }, [
1263
- I(w.$slots, "default")
1283
+ k($.$slots, "default")
1264
1284
  ], 8, Qt));
1265
1285
  }
1266
1286
  }, ea = {
@@ -1363,7 +1383,7 @@ const Et = {
1363
1383
  "after-leave"
1364
1384
  ],
1365
1385
  setup(e, { emit: a }) {
1366
- const t = a, l = k(!1);
1386
+ const t = a, l = I(!1);
1367
1387
  function n() {
1368
1388
  l.value = !0;
1369
1389
  }
@@ -1373,7 +1393,7 @@ const Et = {
1373
1393
  function u() {
1374
1394
  l.value && (l.value = !1, t("close"));
1375
1395
  }
1376
- return (i, s) => (d(), A(v(Xt), {
1396
+ return (i, s) => (d(), L(v(Xt), {
1377
1397
  shown: e.shown,
1378
1398
  preloaded: e.preloaded,
1379
1399
  "anchor-id": e.anchorId,
@@ -1394,8 +1414,8 @@ const Et = {
1394
1414
  onEnter: n,
1395
1415
  onAfterLeave: s[1] || (s[1] = (r) => t("after-leave"))
1396
1416
  }, {
1397
- default: C(() => [
1398
- D(v(_t), {
1417
+ default: V(() => [
1418
+ P(v(_t), {
1399
1419
  label: e.label,
1400
1420
  "model-value": e.modelValue,
1401
1421
  "options-id": e.optionsId,
@@ -1404,8 +1424,8 @@ const Et = {
1404
1424
  "onUpdate:modelValue": o,
1405
1425
  onClose: u
1406
1426
  }, {
1407
- default: C(() => [
1408
- I(i.$slots, "default")
1427
+ default: V(() => [
1428
+ k(i.$slots, "default")
1409
1429
  ]),
1410
1430
  _: 3
1411
1431
  }, 8, ["label", "model-value", "options-id", "selected-value", "shown"])
@@ -1416,7 +1436,7 @@ const Et = {
1416
1436
  }, ta = {
1417
1437
  class: "bs-field-details",
1418
1438
  "data-component": "bs-field-details"
1419
- }, aa = ["id", "data-error"], na = ["data-error"], pe = {
1439
+ }, aa = ["id", "data-error"], na = ["data-error"], he = {
1420
1440
  __name: "BsFieldDetails",
1421
1441
  props: {
1422
1442
  /** The number of characters that have been entered by the user. */
@@ -1443,34 +1463,88 @@ const Et = {
1443
1463
  id: e.hintId,
1444
1464
  class: "bs-hint",
1445
1465
  "data-error": e.error
1446
- }, T(t.value), 9, aa)) : $("", !0),
1466
+ }, T(t.value), 9, aa)) : S("", !0),
1447
1467
  e.charMax ? (d(), f("span", {
1448
1468
  key: 1,
1449
1469
  "aria-description": "character count over character limit for the preceding text field",
1450
1470
  class: "bs-character-count",
1451
1471
  "data-error": a.charCount > a.charMax
1452
- }, T(a.charCount || "0") + " / " + T(a.charMax), 9, na)) : $("", !0)
1472
+ }, T(a.charCount || "0") + " / " + T(a.charMax), 9, na)) : S("", !0)
1453
1473
  ]));
1454
1474
  }
1455
- }, la = ["view-box"], oa = ["id"], ia = ["offset", "stop-color"], zn = {
1475
+ }, la = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], zn = {
1476
+ __name: "BsFilterButton",
1477
+ props: {
1478
+ badgeCount: {
1479
+ type: Number,
1480
+ default: 0
1481
+ },
1482
+ disabled: {
1483
+ type: Boolean,
1484
+ default: !1
1485
+ },
1486
+ label: {
1487
+ type: String,
1488
+ default: "Filter"
1489
+ },
1490
+ open: {
1491
+ type: Boolean,
1492
+ default: !1
1493
+ },
1494
+ optionsId: {
1495
+ type: String,
1496
+ required: !0
1497
+ },
1498
+ size: {
1499
+ type: String,
1500
+ validator: (e) => ["sm", "xs"].includes(e)
1501
+ }
1502
+ },
1503
+ setup(e) {
1504
+ const a = e, t = p(() => a.badgeCount > 0);
1505
+ return (l, n) => (d(), f("button", {
1506
+ class: "bs-filter-button",
1507
+ "aria-controls": e.optionsId,
1508
+ "aria-expanded": e.open,
1509
+ "aria-haspopup": "listbox",
1510
+ "data-open": e.open,
1511
+ "data-size": e.size,
1512
+ disabled: e.disabled,
1513
+ type: "button"
1514
+ }, [
1515
+ t.value ? (d(), L(Bt, {
1516
+ key: 0,
1517
+ color: "blue",
1518
+ count: e.badgeCount,
1519
+ label: "active filter",
1520
+ position: "left",
1521
+ variant: "notext"
1522
+ }, null, 8, ["count"])) : S("", !0),
1523
+ k(l.$slots, "label", {}, () => [
1524
+ R(T(e.label), 1)
1525
+ ]),
1526
+ P(v(we))
1527
+ ], 8, la));
1528
+ }
1529
+ }, oa = ["view-box"], ia = ["id"], ra = ["offset", "stop-color"], Mn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1456
1530
  __name: "BsIconGradientWrapper",
1457
1531
  setup(e) {
1458
- const a = k(null), t = k(null), l = [
1532
+ const a = I(null), t = I(null), l = [
1459
1533
  { offset: 0.1326, color: "#EE282A" },
1460
1534
  { offset: 0.5466, color: "#1C0087" },
1461
1535
  { offset: 0.9715, color: "#0086EA" }
1462
1536
  ], [n] = H();
1463
- return O(() => {
1537
+ return j(() => {
1464
1538
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
1465
- }), (o, u) => (d(), f(R, null, [
1466
- m("span", {
1539
+ }), (o, u) => (d(), f(O, null, [
1540
+ m("span", D({
1467
1541
  ref_key: "svgWrapperRef",
1468
1542
  ref: a,
1469
1543
  class: "bs-icon-gradient-wrapper",
1470
- style: Fe(`fill: url(#${v(n)});`)
1471
- }, [
1472
- I(o.$slots, "default")
1473
- ], 4),
1544
+ style: `fill: url(#${v(n)});`
1545
+ }, o.$attrs), [
1546
+ k(o.$slots, "default")
1547
+ ], 16),
1474
1548
  (d(), f("svg", {
1475
1549
  xmlns: "http://www.w3.org/2000/svg",
1476
1550
  "view-box": t.value,
@@ -1485,16 +1559,16 @@ const Et = {
1485
1559
  y2: "100%",
1486
1560
  "gradient-units": "userSpaceOnUse"
1487
1561
  }, [
1488
- (d(), f(R, null, Y(l, (i) => m("stop", {
1562
+ (d(), f(O, null, Y(l, (i) => m("stop", {
1489
1563
  key: i.offset,
1490
1564
  offset: i.offset,
1491
1565
  "stop-color": i.color
1492
- }, null, 8, ia)), 64))
1493
- ], 8, oa)
1494
- ], 8, la))
1566
+ }, null, 8, ra)), 64))
1567
+ ], 8, ia)
1568
+ ], 8, oa))
1495
1569
  ], 64));
1496
1570
  }
1497
- }, ra = ["data-error", "id", "value"], we = {
1571
+ }), sa = ["data-error", "id", "value"], ke = {
1498
1572
  __name: "BsInput",
1499
1573
  props: {
1500
1574
  error: {
@@ -1514,16 +1588,16 @@ const Et = {
1514
1588
  const s = n.type === "number" ? parseInt(i.target.value) : i.target.value;
1515
1589
  l("update:modelValue", s);
1516
1590
  }
1517
- return (i, s) => (d(), f("input", V({
1591
+ return (i, s) => (d(), f("input", D({
1518
1592
  class: "bs-input",
1519
1593
  "data-component": "bs-input",
1520
1594
  "data-error": e.error,
1521
1595
  id: i.$attrs.id || e.inputId,
1522
1596
  value: e.value || e.modelValue,
1523
1597
  onInput: u
1524
- }, o.value), null, 16, ra));
1598
+ }, o.value), null, 16, sa));
1525
1599
  }
1526
- }, sa = ["data-disabled", "data-error", "data-variant", "data-multifocus"], da = {
1600
+ }, da = ["data-disabled", "data-error", "data-variant", "data-multifocus"], ua = {
1527
1601
  __name: "BsInputAddon",
1528
1602
  props: {
1529
1603
  disabled: { type: Boolean, default: !1 },
@@ -1540,10 +1614,10 @@ const Et = {
1540
1614
  "data-variant": e.variant,
1541
1615
  "data-multifocus": e.multifocus
1542
1616
  }, [
1543
- I(a.$slots, "default")
1544
- ], 8, sa));
1617
+ k(a.$slots, "default")
1618
+ ], 8, da));
1545
1619
  }
1546
- }, Mn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1620
+ }, On = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1547
1621
  __name: "BsInputField",
1548
1622
  props: {
1549
1623
  /** Sets the disabled state on input, disabled styles on label. */
@@ -1591,6 +1665,7 @@ const Et = {
1591
1665
  emits: ["update:modelValue"],
1592
1666
  setup(e, { emit: a }) {
1593
1667
  const t = e, l = N(), [n, o] = H(2), { toChild: u, toRoot: i } = Z(t, l, [
1668
+ "aria-label",
1594
1669
  "autocomplete",
1595
1670
  "max",
1596
1671
  "maxlength",
@@ -1602,21 +1677,21 @@ const Et = {
1602
1677
  return ((g = (b = t.hints) == null ? void 0 : b.join) == null ? void 0 : g.call(b, `
1603
1678
  `)) || t.hints;
1604
1679
  }), r = p(() => t.error && t.errorMsg || t.hint || s.value || void 0), c = p(() => t.inputId || n.value);
1605
- return (b, g) => (d(), f("div", V({ "data-component": "bs-input-field" }, v(i)), [
1606
- e.label || b.$slots.label ? (d(), A(_, {
1680
+ return (b, g) => (d(), f("div", D({ "data-component": "bs-input-field" }, v(i)), [
1681
+ e.label || b.$slots.label ? (d(), L(_, {
1607
1682
  key: 0,
1608
1683
  for: c.value,
1609
1684
  disabled: e.disabled,
1610
1685
  required: e.required
1611
1686
  }, {
1612
- default: C(() => [
1613
- I(b.$slots, "label", {}, () => [
1614
- W(T(e.label), 1)
1687
+ default: V(() => [
1688
+ k(b.$slots, "label", {}, () => [
1689
+ R(T(e.label), 1)
1615
1690
  ])
1616
1691
  ]),
1617
1692
  _: 3
1618
- }, 8, ["for", "disabled", "required"])) : $("", !0),
1619
- D(we, V({
1693
+ }, 8, ["for", "disabled", "required"])) : S("", !0),
1694
+ P(ke, D({
1620
1695
  disabled: e.disabled,
1621
1696
  error: e.error,
1622
1697
  "hint-id": v(o),
@@ -1625,18 +1700,18 @@ const Et = {
1625
1700
  required: e.required,
1626
1701
  type: e.type,
1627
1702
  value: e.value || e.modelValue,
1628
- "onUpdate:modelValue": g[0] || (g[0] = (y) => b.$emit("update:modelValue", y))
1703
+ "onUpdate:modelValue": g[0] || (g[0] = (B) => b.$emit("update:modelValue", B))
1629
1704
  }, v(u)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
1630
- r.value ? (d(), A(pe, {
1705
+ r.value ? (d(), L(he, {
1631
1706
  key: 1,
1632
1707
  error: e.error,
1633
1708
  "error-msg": e.errorMsg,
1634
1709
  hint: e.hint || s.value,
1635
1710
  "hint-id": v(o)
1636
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : $("", !0)
1711
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : S("", !0)
1637
1712
  ], 16));
1638
1713
  }
1639
- }), Rn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1714
+ }), Nn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1640
1715
  __name: "BsInputSearch",
1641
1716
  props: {
1642
1717
  /** Sets the disabled state on input, disabled styles on label. */
@@ -1665,50 +1740,57 @@ const Et = {
1665
1740
  value: {
1666
1741
  type: String,
1667
1742
  default: ""
1743
+ },
1744
+ variant: {
1745
+ type: String,
1746
+ // we may be getting at least one more variant so we'll validate against arr
1747
+ validator: (e) => ["filter"].includes(e)
1668
1748
  }
1669
1749
  },
1670
1750
  emits: ["clear", "update:modelValue"],
1671
1751
  setup(e, { emit: a }) {
1672
1752
  const t = e, l = N(), { toChild: n, toRoot: o } = Z(t, l, [
1753
+ "aria-label",
1673
1754
  "autocomplete",
1674
1755
  "maxlength",
1675
1756
  "minlength",
1676
1757
  "name"
1677
- ]);
1678
- return (u, i) => (d(), A(da, V({
1758
+ ]), u = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
1759
+ return (i, s) => (d(), L(ua, D({
1679
1760
  class: "bs-input-search",
1680
1761
  "data-component": "bs-input-search",
1762
+ "data-variant": e.variant,
1681
1763
  disabled: e.disabled
1682
1764
  }, v(o)), {
1683
- default: C(() => [
1684
- D(v(Ze)),
1685
- D(we, V({
1765
+ default: V(() => [
1766
+ P(v(Xe)),
1767
+ P(ke, D({
1686
1768
  "data-autowidth": "",
1687
1769
  disabled: e.disabled,
1688
1770
  "input-id": e.inputId,
1689
1771
  placeholder: e.placeholder,
1690
1772
  value: e.value || e.modelValue,
1691
- "onUpdate:modelValue": i[0] || (i[0] = (s) => u.$emit("update:modelValue", s))
1773
+ "onUpdate:modelValue": s[0] || (s[0] = (r) => i.$emit("update:modelValue", r))
1692
1774
  }, v(n)), null, 16, ["disabled", "input-id", "placeholder", "value"]),
1693
- e.disabled || e.hideClear ? $("", !0) : (d(), f("button", {
1775
+ u.value ? (d(), f("button", {
1694
1776
  key: 0,
1695
1777
  title: "Clear",
1696
1778
  type: "button",
1697
- onClick: i[1] || (i[1] = (s) => u.$emit("clear"))
1779
+ onClick: s[1] || (s[1] = (r) => i.$emit("clear"))
1698
1780
  }, [
1699
- D(v(oe), { size: "sm" })
1700
- ]))
1781
+ P(v(oe), { size: "sm" })
1782
+ ])) : S("", !0)
1701
1783
  ]),
1702
1784
  _: 1
1703
- }, 16, ["disabled"]));
1785
+ }, 16, ["data-variant", "disabled"]));
1704
1786
  }
1705
- }), ua = ["data-size", "data-variant"], ca = /* @__PURE__ */ m("span", null, null, -1), fa = /* @__PURE__ */ m("span", null, null, -1), va = /* @__PURE__ */ m("span", null, null, -1), ha = /* @__PURE__ */ m("span", null, null, -1), pa = /* @__PURE__ */ m("span", { class: "visually-hidden" }, "Loading", -1), ga = [
1706
- ca,
1787
+ }), ca = ["data-size", "data-variant"], fa = /* @__PURE__ */ m("span", null, null, -1), va = /* @__PURE__ */ m("span", null, null, -1), pa = /* @__PURE__ */ m("span", null, null, -1), ha = /* @__PURE__ */ m("span", null, null, -1), ga = /* @__PURE__ */ m("span", { class: "visually-hidden" }, "Loading", -1), ba = [
1707
1788
  fa,
1708
1789
  va,
1790
+ pa,
1709
1791
  ha,
1710
- pa
1711
- ], Nn = {
1792
+ ga
1793
+ ], Rn = {
1712
1794
  __name: "BsLoader",
1713
1795
  props: {
1714
1796
  size: {
@@ -1727,9 +1809,9 @@ const Et = {
1727
1809
  "data-size": e.size,
1728
1810
  "data-variant": e.variant,
1729
1811
  role: "status"
1730
- }, ga, 8, ua));
1812
+ }, ba, 8, ca));
1731
1813
  }
1732
- }, ba = /* @__PURE__ */ m("div", { class: "bs-overlay" }, null, -1), ma = {
1814
+ }, ma = /* @__PURE__ */ m("div", { class: "bs-overlay" }, null, -1), ya = {
1733
1815
  __name: "BsOverlay",
1734
1816
  props: {
1735
1817
  shown: {
@@ -1759,7 +1841,7 @@ const Et = {
1759
1841
  emits: ["after-enter", "after-leave"],
1760
1842
  setup(e, { emit: a }) {
1761
1843
  const t = e, l = a, { transition: n } = se(t);
1762
- return (o, u) => (d(), A(v(de), {
1844
+ return (o, u) => (d(), L(v(de), {
1763
1845
  shown: v(n),
1764
1846
  preloaded: e.preloaded,
1765
1847
  duration: 75,
@@ -1767,16 +1849,16 @@ const Et = {
1767
1849
  onAfterEnter: u[0] || (u[0] = (i) => l("after-enter")),
1768
1850
  onAfterLeave: u[1] || (u[1] = (i) => l("after-leave"))
1769
1851
  }, {
1770
- default: C(() => [
1771
- ba
1852
+ default: V(() => [
1853
+ ma
1772
1854
  ]),
1773
1855
  _: 1
1774
1856
  }, 8, ["shown", "preloaded"]));
1775
1857
  }
1776
- }, ya = ["id", "role"], Ba = {
1858
+ }, Ba = ["id", "role"], $a = {
1777
1859
  key: 0,
1778
1860
  class: "close-button-container"
1779
- }, On = {
1861
+ }, jn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1780
1862
  __name: "BsModal",
1781
1863
  props: {
1782
1864
  modalId: {
@@ -1825,15 +1907,15 @@ const Et = {
1825
1907
  let o = !1;
1826
1908
  return re(["Escape"], () => {
1827
1909
  o && l("close", t.modalId);
1828
- }), (u, i) => (d(), f(R, null, [
1829
- D(ma, {
1910
+ }), (u, i) => (d(), f(O, null, [
1911
+ P(ya, {
1830
1912
  shown: v(n),
1831
1913
  preloaded: e.preloaded,
1832
1914
  "enter-controlled": e.enterControlled,
1833
1915
  "enter-trigger": e.enterTrigger,
1834
1916
  "leave-trigger": e.leaveTrigger
1835
1917
  }, null, 8, ["shown", "preloaded", "enter-controlled", "enter-trigger", "leave-trigger"]),
1836
- D(de, {
1918
+ P(de, {
1837
1919
  shown: v(n),
1838
1920
  preloaded: e.preloaded,
1839
1921
  duration: 75,
@@ -1842,40 +1924,40 @@ const Et = {
1842
1924
  onAfterEnter: i[2] || (i[2] = (s) => l("after-enter")),
1843
1925
  onAfterLeave: i[3] || (i[3] = (s) => l("after-leave"))
1844
1926
  }, {
1845
- default: C(() => [
1846
- m("div", {
1927
+ default: V(() => [
1928
+ m("div", D({
1847
1929
  id: t.modalId,
1848
1930
  class: "bs-modal",
1849
1931
  role: e.alert ? "alertdialog" : "dialog",
1850
1932
  "aria-modal": "true"
1851
- }, [
1852
- e.closeButton ? (d(), f("div", Ba, [
1933
+ }, u.$attrs), [
1934
+ e.closeButton ? (d(), f("div", $a, [
1853
1935
  m("button", {
1854
1936
  type: "button",
1855
1937
  title: "Close Modal",
1856
1938
  "aria-label": "Close Modal",
1857
1939
  onClick: i[0] || (i[0] = (s) => l("close", e.modalId))
1858
1940
  }, [
1859
- D(v(oe), { class: "close-button" })
1941
+ P(v(oe), { class: "close-button" })
1860
1942
  ])
1861
- ])) : $("", !0),
1862
- I(u.$slots, "default")
1863
- ], 8, ya)
1943
+ ])) : S("", !0),
1944
+ k(u.$slots, "default")
1945
+ ], 16, Ba)
1864
1946
  ]),
1865
1947
  _: 3
1866
1948
  }, 8, ["shown", "preloaded"])
1867
1949
  ], 64));
1868
1950
  }
1869
- }, $a = ["data-variant", "data-fixed"], Sa = {
1951
+ }), Sa = ["data-variant", "data-fixed"], wa = {
1870
1952
  key: 0,
1871
1953
  class: "bs-pagination-carets"
1872
- }, wa = ["title", "disabled"], ka = { key: 0 }, Ia = ["title", "disabled"], Ta = { key: 0 }, xa = {
1954
+ }, ka = ["title", "disabled"], Ia = { key: 0 }, Ta = ["title", "disabled"], xa = { key: 0 }, Ca = {
1873
1955
  key: 1,
1874
1956
  class: "bs-pagination-page-numbers"
1875
- }, Ca = ["title", "data-selected", "onClick"], Aa = { key: 2 }, La = { key: 3 }, Pa = /* @__PURE__ */ m("span", null, "Results Per Page:", -1), Da = { class: "bs-pagination-results-numbers" }, Va = ["data-selected", "disabled", "onClick"], Ea = {
1957
+ }, Aa = ["title", "data-selected", "onClick"], La = { key: 2 }, Va = { key: 3 }, Pa = /* @__PURE__ */ m("span", null, "Results Per Page:", -1), Da = { class: "bs-pagination-results-numbers" }, Ea = ["data-selected", "disabled", "onClick"], qa = {
1876
1958
  key: 5,
1877
1959
  class: "bs-pagination-carets"
1878
- }, qa = ["title", "disabled"], za = { key: 0 }, Ma = ["title", "disabled"], Ra = { key: 0 }, Wn = {
1960
+ }, za = ["title", "disabled"], Ma = { key: 0 }, Oa = ["title", "disabled"], Na = { key: 0 }, Wn = {
1879
1961
  __name: "BsPagination",
1880
1962
  props: {
1881
1963
  // Used for all
@@ -1961,17 +2043,17 @@ const Et = {
1961
2043
  },
1962
2044
  emits: ["selchange", "update:modelValue"],
1963
2045
  setup(e, { emit: a }) {
1964
- const t = e, l = a, n = k(null);
1965
- O(() => {
1966
- o.value ? n.value = o.value : t.variant === "results" ? n.value = M.value[0] : n.value = 1;
2046
+ const t = e, l = a, n = I(null);
2047
+ j(() => {
2048
+ o.value ? n.value = o.value : t.variant === "results" ? n.value = z.value[0] : n.value = 1;
1967
2049
  });
1968
2050
  const o = p(() => t.modelValue || t.selection);
1969
- E(() => t.selection, (P) => {
1970
- n.value = P;
1971
- }), E(() => t.modelValue, (P) => {
1972
- n.value = P;
1973
- }), E(n, (P, w) => {
1974
- w !== null && (l("selchange", P), l("update:modelValue", P));
2051
+ E(() => t.selection, (C) => {
2052
+ n.value = C;
2053
+ }), E(() => t.modelValue, (C) => {
2054
+ n.value = C;
2055
+ }), E(n, (C, $) => {
2056
+ $ !== null && (l("selchange", C), l("update:modelValue", C));
1975
2057
  });
1976
2058
  const u = p(() => {
1977
2059
  if (t.variant === "group")
@@ -1997,22 +2079,22 @@ const Et = {
1997
2079
  const g = p(() => {
1998
2080
  if (t.pageCount <= t.pageRange)
1999
2081
  return [...Array(t.pageCount + 1).keys()].slice(1);
2000
- const P = [1], w = (t.pageRange - 1) / 2;
2001
- let S = n.value - w, q = n.value + w;
2002
- S < 1 && (q += 1 - S, S = 1), q > t.pageCount && (S -= q - t.pageCount, q = t.pageCount), S = Math.max(S, 2), q = Math.min(q, t.pageCount - 1), S > 2 && P.push(t.breakText);
2003
- for (let j = S; j <= q; j++)
2004
- P.push(j);
2005
- return q < t.pageCount - 1 && P.push(t.breakText), P.push(t.pageCount), P;
2006
- }), y = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${u.value}`), L = p(() => {
2007
- const P = (n.value - 1) * t.itemsPerGroup + 1, w = Math.min(P - 1 + t.itemsPerGroup, t.itemsCount);
2008
- return `${t.centerLabel ?? "Results"} ${P} - ${w} of ${t.itemsCount}`;
2009
- }), M = p(() => t.resultsIncrements.split(",").map((P) => parseInt(P)));
2010
- return (P, w) => (d(), f("div", {
2082
+ const C = [1], $ = (t.pageRange - 1) / 2;
2083
+ let y = n.value - $, q = n.value + $;
2084
+ y < 1 && (q += 1 - y, y = 1), q > t.pageCount && (y -= q - t.pageCount, q = t.pageCount), y = Math.max(y, 2), q = Math.min(q, t.pageCount - 1), y > 2 && C.push(t.breakText);
2085
+ for (let W = y; W <= q; W++)
2086
+ C.push(W);
2087
+ return q < t.pageCount - 1 && C.push(t.breakText), C.push(t.pageCount), C;
2088
+ }), B = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${u.value}`), x = p(() => {
2089
+ const C = (n.value - 1) * t.itemsPerGroup + 1, $ = Math.min(C - 1 + t.itemsPerGroup, t.itemsCount);
2090
+ return `${t.centerLabel ?? "Results"} ${C} - ${$} of ${t.itemsCount}`;
2091
+ }), z = p(() => t.resultsIncrements.split(",").map((C) => parseInt(C)));
2092
+ return (C, $) => (d(), f("div", {
2011
2093
  class: "bs-pagination",
2012
2094
  "data-variant": i.value,
2013
2095
  "data-fixed": t.fixed
2014
2096
  }, [
2015
- e.variant === "base" || e.variant === "group" ? (d(), f("div", Sa, [
2097
+ e.variant === "base" || e.variant === "group" ? (d(), f("div", wa, [
2016
2098
  e.showFirstLastButtons ? (d(), f("button", {
2017
2099
  key: 0,
2018
2100
  type: "button",
@@ -2021,9 +2103,9 @@ const Et = {
2021
2103
  disabled: n.value === 1,
2022
2104
  onClick: s
2023
2105
  }, [
2024
- D(v(Je)),
2025
- e.firstPageText ? (d(), f("span", ka, T(e.firstPageText), 1)) : $("", !0)
2026
- ], 10, wa)) : $("", !0),
2106
+ P(v(Ze)),
2107
+ e.firstPageText ? (d(), f("span", Ia, T(e.firstPageText), 1)) : S("", !0)
2108
+ ], 10, ka)) : S("", !0),
2027
2109
  m("button", {
2028
2110
  type: "button",
2029
2111
  class: X(e.prevPageText ? "bs-pagination-word-caret" : void 0),
@@ -2031,34 +2113,34 @@ const Et = {
2031
2113
  disabled: n.value === 1,
2032
2114
  onClick: r
2033
2115
  }, [
2034
- D(v(Qe)),
2035
- e.prevPageText ? (d(), f("span", Ta, T(e.prevPageText), 1)) : $("", !0)
2036
- ], 10, Ia)
2037
- ])) : $("", !0),
2038
- e.variant === "base" && e.centerDisplay === "numbers" ? (d(), f("div", xa, [
2039
- (d(!0), f(R, null, Y(g.value, (S) => (d(), f("button", {
2040
- key: `page-${S}-button`,
2116
+ P(v(Je)),
2117
+ e.prevPageText ? (d(), f("span", xa, T(e.prevPageText), 1)) : S("", !0)
2118
+ ], 10, Ta)
2119
+ ])) : S("", !0),
2120
+ e.variant === "base" && e.centerDisplay === "numbers" ? (d(), f("div", Ca, [
2121
+ (d(!0), f(O, null, Y(g.value, (y) => (d(), f("button", {
2122
+ key: `page-${y}-button`,
2041
2123
  type: "button",
2042
- title: `Page ${S}`,
2043
- "data-selected": S === n.value,
2044
- onClick: (q) => n.value = S
2045
- }, T(S), 9, Ca))), 128))
2046
- ])) : $("", !0),
2047
- t.variant === "base" && t.centerDisplay === "text" ? (d(), f("span", Aa, T(y.value), 1)) : $("", !0),
2048
- t.variant === "group" ? (d(), f("span", La, T(L.value), 1)) : $("", !0),
2049
- t.variant === "results" ? (d(), f(R, { key: 4 }, [
2124
+ title: `Page ${y}`,
2125
+ "data-selected": y === n.value,
2126
+ onClick: (q) => n.value = y
2127
+ }, T(y), 9, Aa))), 128))
2128
+ ])) : S("", !0),
2129
+ t.variant === "base" && t.centerDisplay === "text" ? (d(), f("span", La, T(B.value), 1)) : S("", !0),
2130
+ t.variant === "group" ? (d(), f("span", Va, T(x.value), 1)) : S("", !0),
2131
+ t.variant === "results" ? (d(), f(O, { key: 4 }, [
2050
2132
  Pa,
2051
2133
  m("div", Da, [
2052
- (d(!0), f(R, null, Y(M.value, (S) => (d(), f("button", {
2134
+ (d(!0), f(O, null, Y(z.value, (y) => (d(), f("button", {
2053
2135
  type: "button",
2054
- key: `results-${S}`,
2055
- "data-selected": S === n.value,
2056
- disabled: n.value === S,
2057
- onClick: (q) => n.value = S
2058
- }, T(S), 9, Va))), 128))
2136
+ key: `results-${y}`,
2137
+ "data-selected": y === n.value,
2138
+ disabled: n.value === y,
2139
+ onClick: (q) => n.value = y
2140
+ }, T(y), 9, Ea))), 128))
2059
2141
  ])
2060
- ], 64)) : $("", !0),
2061
- e.variant === "base" || e.variant === "group" ? (d(), f("div", Ea, [
2142
+ ], 64)) : S("", !0),
2143
+ e.variant === "base" || e.variant === "group" ? (d(), f("div", qa, [
2062
2144
  m("button", {
2063
2145
  type: "button",
2064
2146
  class: X(e.nextPageText ? "bs-pagination-word-caret" : void 0),
@@ -2066,9 +2148,9 @@ const Et = {
2066
2148
  disabled: n.value === u.value,
2067
2149
  onClick: c
2068
2150
  }, [
2069
- e.nextPageText ? (d(), f("span", za, T(e.nextPageText), 1)) : $("", !0),
2070
- D(v(_e))
2071
- ], 10, qa),
2151
+ e.nextPageText ? (d(), f("span", Ma, T(e.nextPageText), 1)) : S("", !0),
2152
+ P(v(Qe))
2153
+ ], 10, za),
2072
2154
  e.showFirstLastButtons ? (d(), f("button", {
2073
2155
  key: 0,
2074
2156
  type: "button",
@@ -2077,13 +2159,13 @@ const Et = {
2077
2159
  disabled: n.value === u.value,
2078
2160
  onClick: b
2079
2161
  }, [
2080
- e.lastPageText ? (d(), f("span", Ra, T(e.lastPageText), 1)) : $("", !0),
2081
- D(v(et))
2082
- ], 10, Ma)) : $("", !0)
2083
- ])) : $("", !0)
2084
- ], 8, $a));
2162
+ e.lastPageText ? (d(), f("span", Na, T(e.lastPageText), 1)) : S("", !0),
2163
+ P(v(_e))
2164
+ ], 10, Oa)) : S("", !0)
2165
+ ])) : S("", !0)
2166
+ ], 8, Sa));
2085
2167
  }
2086
- }, Na = ["data-truncate"], jn = {
2168
+ }, Ra = ["data-truncate"], Fn = {
2087
2169
  __name: "BsPill",
2088
2170
  props: {
2089
2171
  active: { type: Boolean, default: !1 },
@@ -2105,8 +2187,8 @@ const Et = {
2105
2187
  }
2106
2188
  },
2107
2189
  setup(e) {
2108
- const a = e, { onLinkClick: t } = ie(a), l = N(), { rootTag: n, attrsToBind: o } = he(a, l, "span");
2109
- return (u, i) => (d(), A(U(v(n)), V({
2190
+ const a = e, { onLinkClick: t } = ie(a), l = N(), { rootTag: n, attrsToBind: o } = pe(a, l, "span");
2191
+ return (u, i) => (d(), L(U(v(n)), D({
2110
2192
  class: "bs-pill",
2111
2193
  "data-active": e.active,
2112
2194
  "data-component": "bs-pill",
@@ -2115,25 +2197,25 @@ const Et = {
2115
2197
  disabled: e.disabled,
2116
2198
  href: e.href
2117
2199
  }, v(o), { onClick: v(t) }), {
2118
- default: C(() => [
2200
+ default: V(() => [
2119
2201
  m("span", { "data-truncate": e.truncate }, [
2120
- I(u.$slots, "default")
2121
- ], 8, Na)
2202
+ k(u.$slots, "default")
2203
+ ], 8, Ra)
2122
2204
  ]),
2123
2205
  _: 3
2124
2206
  }, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]));
2125
2207
  }
2126
- }, Oa = { class: "bs-profile-details" }, Wa = {
2208
+ }, ja = { class: "bs-profile-details" }, Wa = {
2127
2209
  class: "bs-profile-name",
2128
2210
  "data-size": "sm",
2129
2211
  "data-weight": "bold"
2130
- }, ja = {
2212
+ }, Fa = {
2131
2213
  key: 1,
2132
2214
  "data-weight": "bold"
2133
- }, Ga = { key: 2 }, Fa = { key: 3 }, Ua = {
2215
+ }, Ga = { key: 2 }, Ua = { key: 3 }, Ha = {
2134
2216
  key: 4,
2135
2217
  "data-icon": "true"
2136
- }, Ha = {
2218
+ }, Ka = {
2137
2219
  __name: "BsProfileDetails",
2138
2220
  props: {
2139
2221
  profileName: {
@@ -2154,36 +2236,36 @@ const Et = {
2154
2236
  function u(i) {
2155
2237
  i.target.tagName === "BUTTON" && (i.preventDefault(), i.stopImmediatePropagation(), l("action-toggled"));
2156
2238
  }
2157
- return (i, s) => (d(), f("div", Oa, [
2239
+ return (i, s) => (d(), f("div", ja, [
2158
2240
  e.action || i.$slots.action ? (d(), f("button", {
2159
2241
  key: 0,
2160
2242
  "data-icon": "true",
2161
2243
  onClick: u
2162
2244
  }, [
2163
- I(i.$slots, "action", {}, () => [
2164
- e.actionIcon ? (d(), A(U(v(n) ? v(n) : "span"), {
2245
+ k(i.$slots, "action", {}, () => [
2246
+ e.actionIcon ? (d(), L(U(v(n) ? v(n) : "span"), {
2165
2247
  key: 0,
2166
2248
  class: "bs-icon"
2167
- })) : $("", !0),
2168
- W(" " + T(e.action), 1)
2249
+ })) : S("", !0),
2250
+ R(" " + T(e.action), 1)
2169
2251
  ])
2170
- ])) : $("", !0),
2252
+ ])) : S("", !0),
2171
2253
  m("span", Wa, T(e.profileName), 1),
2172
- e.company ? (d(), f("span", ja, T(e.company), 1)) : $("", !0),
2173
- e.jobTitle ? (d(), f("span", Ga, T(e.jobTitle), 1)) : $("", !0),
2174
- e.email ? (d(), f("span", Fa, T(e.email), 1)) : $("", !0),
2175
- e.miscMeta || i.$slots.misc ? (d(), f("span", Ua, [
2176
- I(i.$slots, "misc", {}, () => [
2177
- e.miscMetaIcon ? (d(), A(U(v(o) ? v(o) : "span"), {
2254
+ e.company ? (d(), f("span", Fa, T(e.company), 1)) : S("", !0),
2255
+ e.jobTitle ? (d(), f("span", Ga, T(e.jobTitle), 1)) : S("", !0),
2256
+ e.email ? (d(), f("span", Ua, T(e.email), 1)) : S("", !0),
2257
+ e.miscMeta || i.$slots.misc ? (d(), f("span", Ha, [
2258
+ k(i.$slots, "misc", {}, () => [
2259
+ e.miscMetaIcon ? (d(), L(U(v(o) ? v(o) : "span"), {
2178
2260
  key: 0,
2179
2261
  class: "bs-icon"
2180
- })) : $("", !0),
2181
- W(" " + T(e.miscMeta), 1)
2262
+ })) : S("", !0),
2263
+ R(" " + T(e.miscMeta), 1)
2182
2264
  ])
2183
- ])) : $("", !0)
2265
+ ])) : S("", !0)
2184
2266
  ]));
2185
2267
  }
2186
- }, Ka = ["data-img-size", "data-initials", "data-no-img"], Ya = ["src", "alt"], Xa = {
2268
+ }, Ya = ["data-img-size", "data-initials", "data-no-img"], Xa = ["src", "alt"], Za = {
2187
2269
  __name: "BsProfileImg",
2188
2270
  props: {
2189
2271
  src: String,
@@ -2198,8 +2280,8 @@ const Et = {
2198
2280
  }
2199
2281
  },
2200
2282
  setup(e) {
2201
- const a = e, t = k(!1), l = k(!!a.src);
2202
- return O(() => t.value = !0), (n, o) => (d(), f("div", {
2283
+ const a = e, t = I(!1), l = I(!!a.src);
2284
+ return j(() => t.value = !0), (n, o) => (d(), f("div", {
2203
2285
  class: "bs-profile-img",
2204
2286
  "data-img-size": e.size,
2205
2287
  "data-initials": e.initials,
@@ -2210,8 +2292,8 @@ const Et = {
2210
2292
  src: e.src,
2211
2293
  alt: e.profileName,
2212
2294
  onError: o[0] || (o[0] = (u) => l.value = !1)
2213
- }, null, 40, Ya)) : $("", !0)
2214
- ], 8, Ka));
2295
+ }, null, 40, Xa)) : S("", !0)
2296
+ ], 8, Ya));
2215
2297
  }
2216
2298
  }, Gn = {
2217
2299
  __name: "BsProfile",
@@ -2242,20 +2324,20 @@ const Et = {
2242
2324
  emits: ["action-toggled"],
2243
2325
  setup(e, { emit: a }) {
2244
2326
  const t = e, l = a, { onLinkClick: n } = ie(t), o = p(() => t.href ? "a" : "div");
2245
- return (u, i) => (d(), A(U(o.value), {
2327
+ return (u, i) => (d(), L(U(o.value), {
2246
2328
  class: "bs-profile",
2247
2329
  href: e.href,
2248
2330
  "data-layout": e.layout,
2249
2331
  onClick: v(n)
2250
2332
  }, {
2251
- default: C(() => [
2252
- D(Xa, {
2333
+ default: V(() => [
2334
+ P(Za, {
2253
2335
  src: e.imageSrc,
2254
2336
  size: e.imageSize,
2255
2337
  initials: e.initials,
2256
2338
  "profile-name": e.profileName
2257
2339
  }, null, 8, ["src", "size", "initials", "profile-name"]),
2258
- D(Ha, {
2340
+ P(Ka, {
2259
2341
  "profile-name": e.profileName,
2260
2342
  company: e.company,
2261
2343
  "job-title": e.jobTitle,
@@ -2266,11 +2348,11 @@ const Et = {
2266
2348
  "misc-meta-icon": e.miscMetaIcon,
2267
2349
  onActionToggled: i[0] || (i[0] = (s) => l("action-toggled"))
2268
2350
  }, {
2269
- action: C(() => [
2270
- I(u.$slots, "action")
2351
+ action: V(() => [
2352
+ k(u.$slots, "action")
2271
2353
  ]),
2272
- misc: C(() => [
2273
- I(u.$slots, "misc")
2354
+ misc: V(() => [
2355
+ k(u.$slots, "misc")
2274
2356
  ]),
2275
2357
  _: 3
2276
2358
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -2278,7 +2360,7 @@ const Et = {
2278
2360
  _: 3
2279
2361
  }, 8, ["href", "data-layout", "onClick"]));
2280
2362
  }
2281
- }, Za = ["data-size"], Ja = ["checked", "disabled", "id", "required", "value", "data-error"], Fn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2363
+ }, Ja = ["data-size"], Qa = ["checked", "disabled", "id", "required", "value", "data-error"], Un = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2282
2364
  __name: "BsRadio",
2283
2365
  props: {
2284
2366
  label: {
@@ -2322,13 +2404,13 @@ const Et = {
2322
2404
  },
2323
2405
  emits: ["update:modelValue"],
2324
2406
  setup(e, { emit: a }) {
2325
- const t = e, l = N(), [n] = H(), { toChild: o, toRoot: u } = Z(t, l, ["name"]), i = p(() => t.inputId || n.value), s = p(() => t.checked || t.modelValue && t.modelValue === t.value);
2326
- return (r, c) => (d(), f("div", V({
2407
+ const t = e, l = N(), [n] = H(), { toChild: o, toRoot: u } = Z(t, l, ["aria-label", "name"]), i = p(() => t.inputId || n.value), s = p(() => t.checked || t.modelValue && t.modelValue === t.value);
2408
+ return (r, c) => (d(), f("div", D({
2327
2409
  class: "bs-boolean",
2328
2410
  "data-component": "bs-radio",
2329
2411
  "data-size": e.size
2330
2412
  }, v(u)), [
2331
- m("input", V({
2413
+ m("input", D({
2332
2414
  checked: s.value,
2333
2415
  disabled: e.disabled,
2334
2416
  id: i.value,
@@ -2338,23 +2420,23 @@ const Et = {
2338
2420
  "data-error": e.error
2339
2421
  }, v(o), {
2340
2422
  onChange: c[0] || (c[0] = (b) => r.$emit("update:modelValue", b.target.value))
2341
- }), null, 16, Ja),
2342
- e.label || r.$slots.label ? (d(), A(_, {
2423
+ }), null, 16, Qa),
2424
+ e.label || r.$slots.label ? (d(), L(_, {
2343
2425
  key: 0,
2344
2426
  for: i.value,
2345
2427
  disabled: e.disabled,
2346
2428
  required: e.required
2347
2429
  }, {
2348
- default: C(() => [
2349
- I(r.$slots, "label", {}, () => [
2350
- W(T(e.label), 1)
2430
+ default: V(() => [
2431
+ k(r.$slots, "label", {}, () => [
2432
+ R(T(e.label), 1)
2351
2433
  ])
2352
2434
  ]),
2353
2435
  _: 3
2354
- }, 8, ["for", "disabled", "required"])) : $("", !0)
2355
- ], 16, Za));
2436
+ }, 8, ["for", "disabled", "required"])) : S("", !0)
2437
+ ], 16, Ja));
2356
2438
  }
2357
- }), Qa = ["id", "disabled", "required", "data-error", "value"], _a = {
2439
+ }), _a = ["id", "disabled", "required", "data-error", "value"], en = {
2358
2440
  __name: "BsSelect",
2359
2441
  props: {
2360
2442
  disabled: { type: Boolean, default: !1 },
@@ -2368,7 +2450,7 @@ const Et = {
2368
2450
  emits: ["update:modelValue"],
2369
2451
  setup(e, { emit: a }) {
2370
2452
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
2371
- return (n, o) => (d(), f("select", V({
2453
+ return (n, o) => (d(), f("select", D({
2372
2454
  id: n.$attrs.id || e.inputId,
2373
2455
  class: "bs-select",
2374
2456
  "data-component": "bs-select",
@@ -2379,10 +2461,10 @@ const Et = {
2379
2461
  }, l.value, {
2380
2462
  onChange: o[0] || (o[0] = (u) => n.$emit("update:modelValue", u.target.value))
2381
2463
  }), [
2382
- I(n.$slots, "default")
2383
- ], 16, Qa));
2464
+ k(n.$slots, "default")
2465
+ ], 16, _a));
2384
2466
  }
2385
- }, en = ["selected", "disabled"], tn = ["disabled", "selected", "value"], Un = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2467
+ }, tn = ["selected", "disabled"], an = ["disabled", "selected", "value"], Hn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2386
2468
  __name: "BsSelectField",
2387
2469
  props: {
2388
2470
  data: {
@@ -2427,6 +2509,7 @@ const Et = {
2427
2509
  },
2428
2510
  setup(e) {
2429
2511
  const a = e, t = N(), [l, n] = H(2), { toChild: o, toRoot: u } = Z(a, t, [
2512
+ "aria-label",
2430
2513
  "autofocus",
2431
2514
  "name"
2432
2515
  ]), i = p(() => {
@@ -2434,55 +2517,55 @@ const Et = {
2434
2517
  return ((g = (b = a.hints) == null ? void 0 : b.join) == null ? void 0 : g.call(b, `
2435
2518
  `)) || a.hints;
2436
2519
  }), s = p(() => a.error && a.errorMsg || a.hint || i.value || void 0), r = p(() => a.inputId || l.value), c = p(() => a.value || a.modelValue);
2437
- return (b, g) => (d(), f("div", V({ "data-component": "bs-select-field" }, v(u)), [
2438
- e.label || b.$slots.label ? (d(), A(_, {
2520
+ return (b, g) => (d(), f("div", D({ "data-component": "bs-select-field" }, v(u)), [
2521
+ e.label || b.$slots.label ? (d(), L(_, {
2439
2522
  key: 0,
2440
2523
  for: r.value,
2441
2524
  disabled: e.disabled,
2442
2525
  required: e.required
2443
2526
  }, {
2444
- default: C(() => [
2445
- I(b.$slots, "label", {}, () => [
2446
- W(T(e.label), 1)
2527
+ default: V(() => [
2528
+ k(b.$slots, "label", {}, () => [
2529
+ R(T(e.label), 1)
2447
2530
  ])
2448
2531
  ]),
2449
2532
  _: 3
2450
- }, 8, ["for", "disabled", "required"])) : $("", !0),
2451
- D(_a, V({
2533
+ }, 8, ["for", "disabled", "required"])) : S("", !0),
2534
+ P(en, D({
2452
2535
  disabled: e.disabled,
2453
2536
  error: e.error,
2454
2537
  "hint-id": v(n),
2455
2538
  "input-id": r.value,
2456
2539
  required: e.required,
2457
2540
  value: c.value,
2458
- "onUpdate:modelValue": g[0] || (g[0] = (y) => b.$emit("update:modelValue", y))
2541
+ "onUpdate:modelValue": g[0] || (g[0] = (B) => b.$emit("update:modelValue", B))
2459
2542
  }, v(o)), {
2460
- default: C(() => [
2543
+ default: V(() => [
2461
2544
  m("option", {
2462
2545
  selected: !c.value,
2463
2546
  value: "",
2464
2547
  disabled: !!c.value
2465
- }, T(e.placeholder), 9, en),
2466
- (d(!0), f(R, null, Y(e.data, (y) => (d(), f("option", {
2467
- key: y.value,
2468
- disabled: y.disabled,
2469
- selected: c.value === y.value,
2470
- value: y.value
2471
- }, T(y.label), 9, tn))), 128))
2548
+ }, T(e.placeholder), 9, tn),
2549
+ (d(!0), f(O, null, Y(e.data, (B) => (d(), f("option", {
2550
+ key: B.value,
2551
+ disabled: B.disabled,
2552
+ selected: c.value === B.value,
2553
+ value: B.value
2554
+ }, T(B.label), 9, an))), 128))
2472
2555
  ]),
2473
2556
  _: 1
2474
2557
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
2475
- s.value ? (d(), A(pe, {
2558
+ s.value ? (d(), L(he, {
2476
2559
  key: 1,
2477
2560
  "data-disabled": e.disabled,
2478
2561
  error: e.error,
2479
2562
  "error-msg": e.errorMsg,
2480
2563
  hint: e.hint || i.value,
2481
2564
  "hint-id": v(n)
2482
- }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : $("", !0)
2565
+ }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : S("", !0)
2483
2566
  ], 16));
2484
2567
  }
2485
- }), an = ["data-size"], nn = ["data-disabled", "data-pending", "data-size"], ln = ["checked", "disabled", "id"], on = ["data-inner-on-label", "data-inner-off-label"], Hn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2568
+ }), nn = ["data-size"], ln = ["data-disabled", "data-pending", "data-size"], on = ["checked", "disabled", "id"], rn = ["data-inner-on-label", "data-inner-off-label"], Kn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2486
2569
  __name: "BsSwitch",
2487
2570
  props: {
2488
2571
  checked: {
@@ -2528,48 +2611,48 @@ const Et = {
2528
2611
  },
2529
2612
  emits: ["update:modelValue"],
2530
2613
  setup(e, { emit: a }) {
2531
- const t = e, l = a, n = N(), [o] = H(), { toChild: u, toRoot: i } = Z(t, n, ["name", "value"]), s = p(() => t.inputId || o.value), r = p(() => t.checked || t.modelValue);
2532
- return (c, b) => (d(), f("div", V({
2614
+ const t = e, l = a, n = N(), [o] = H(), { toChild: u, toRoot: i } = Z(t, n, ["aria-label", "name", "value"]), s = p(() => t.inputId || o.value), r = p(() => t.checked || t.modelValue);
2615
+ return (c, b) => (d(), f("div", D({
2533
2616
  class: "bs-boolean",
2534
2617
  "data-component": "bs-switch",
2535
2618
  "data-size": e.size
2536
2619
  }, v(i)), [
2537
- e.label || c.$slots.label ? (d(), A(_, {
2620
+ e.label || c.$slots.label ? (d(), L(_, {
2538
2621
  key: 0,
2539
2622
  for: s.value,
2540
2623
  disabled: e.disabled,
2541
2624
  hide: e.hideLabel
2542
2625
  }, {
2543
- default: C(() => [
2544
- I(c.$slots, "label", {}, () => [
2545
- W(T(e.label), 1)
2626
+ default: V(() => [
2627
+ k(c.$slots, "label", {}, () => [
2628
+ R(T(e.label), 1)
2546
2629
  ])
2547
2630
  ]),
2548
2631
  _: 3
2549
- }, 8, ["for", "disabled", "hide"])) : $("", !0),
2632
+ }, 8, ["for", "disabled", "hide"])) : S("", !0),
2550
2633
  m("div", {
2551
2634
  class: "bs-switch",
2552
2635
  "data-disabled": e.disabled,
2553
2636
  "data-pending": e.pending,
2554
2637
  "data-size": e.size
2555
2638
  }, [
2556
- m("input", V({
2639
+ m("input", D({
2557
2640
  checked: r.value,
2558
2641
  disabled: e.disabled,
2559
2642
  id: s.value,
2560
2643
  type: "checkbox"
2561
2644
  }, v(u), {
2562
2645
  onChange: b[0] || (b[0] = (g) => l("update:modelValue", g.target.checked))
2563
- }), null, 16, ln),
2646
+ }), null, 16, on),
2564
2647
  m("span", {
2565
2648
  "aria-hidden": "true",
2566
2649
  "data-inner-on-label": e.innerOnLabel,
2567
2650
  "data-inner-off-label": e.innerOffLabel
2568
- }, null, 8, on)
2569
- ], 8, nn)
2570
- ], 16, an));
2651
+ }, null, 8, rn)
2652
+ ], 8, ln)
2653
+ ], 16, nn));
2571
2654
  }
2572
- }), rn = ["aria-controls", "aria-selected", "data-hidden"], Kn = {
2655
+ }), sn = ["aria-controls", "aria-selected", "data-hidden"], Yn = {
2573
2656
  __name: "BsTab",
2574
2657
  props: {
2575
2658
  activeTabId: {
@@ -2586,7 +2669,7 @@ const Et = {
2586
2669
  },
2587
2670
  emits: ["tabClick"],
2588
2671
  setup(e, { emit: a }) {
2589
- const t = e, l = N(), n = k(), o = p(() => t.activeTabId === l.id), u = p(() => t.panelId || `${l.id}-panel`);
2672
+ const t = e, l = N(), n = I(), o = p(() => t.activeTabId === l.id), u = p(() => t.panelId || `${l.id}-panel`);
2590
2673
  function i(r) {
2591
2674
  (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
2592
2675
  }
@@ -2608,10 +2691,10 @@ const Et = {
2608
2691
  onClick: s,
2609
2692
  onKeydown: i
2610
2693
  }, [
2611
- I(r.$slots, "default")
2612
- ], 40, rn));
2694
+ k(r.$slots, "default")
2695
+ ], 40, sn));
2613
2696
  }
2614
- }, sn = ["id", "data-resizing"], dn = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], un = 73, cn = 20, fn = 16, Yn = {
2697
+ }, dn = ["id", "data-resizing"], un = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], cn = 73, fn = 20, vn = 16, Xn = {
2615
2698
  __name: "BsTabList",
2616
2699
  props: {
2617
2700
  activeTabId: { type: String, required: !0 },
@@ -2622,182 +2705,182 @@ const Et = {
2622
2705
  },
2623
2706
  emits: ["tabChange", "update:modelValue"],
2624
2707
  setup(e, { emit: a }) {
2625
- const t = e, l = a, n = k(!1), o = k(!1), u = k([]), i = k(!1), s = k(!1), r = k(), c = k([]), b = k(!1), g = k([]), y = k(), L = k(), M = k(), [P, w] = H(2), S = p(() => t.activeTabId ? g.value.findIndex((h) => h.id === t.activeTabId) : 0), q = p(() => u.value.some((h) => h.id === t.activeTabId)), j = p(() => `${w.value}-options`), ee = p(() => `${w.value}-toggle`), J = p(() => {
2708
+ const t = e, l = a, n = I(!1), o = I(!1), u = I([]), i = I(!1), s = I(!1), r = I(), c = I([]), b = I(!1), g = I([]), B = I(), x = I(), z = I(), [C, $] = H(2), y = p(() => t.activeTabId ? g.value.findIndex((h) => h.id === t.activeTabId) : 0), q = p(() => u.value.some((h) => h.id === t.activeTabId)), W = p(() => `${$.value}-options`), ee = p(() => `${$.value}-toggle`), J = p(() => {
2626
2709
  var h;
2627
- return q.value ? (h = g.value[S.value]) == null ? void 0 : h.textContent : "More";
2628
- }), ke = p(() => q.value ? c.value[S.value] - c.value[S.value - 1] + cn : un), Q = p(() => {
2629
- var B, x;
2710
+ return q.value ? (h = g.value[y.value]) == null ? void 0 : h.textContent : "More";
2711
+ }), Ie = p(() => q.value ? c.value[y.value] - c.value[y.value - 1] + fn : cn), Q = p(() => {
2712
+ var w, A;
2630
2713
  let h = [];
2631
2714
  if (typeof window > "u")
2632
2715
  return h;
2633
- for (let z of g.value) {
2634
- if (((B = z.dataset) == null ? void 0 : B.hidden) === "true" || ((x = z.dataset) == null ? void 0 : x.hidden) === "" || z.getAttribute("tabindex") === "-1")
2716
+ for (let M of g.value) {
2717
+ if (((w = M.dataset) == null ? void 0 : w.hidden) === "true" || ((A = M.dataset) == null ? void 0 : A.hidden) === "" || M.getAttribute("tabindex") === "-1")
2635
2718
  break;
2636
- h.push(z);
2719
+ h.push(M);
2637
2720
  }
2638
2721
  return s.value && h.push(r.value.querySelector(".bs-tab-list-toggle")), h;
2639
2722
  });
2640
2723
  function ue() {
2641
2724
  var K;
2642
- let h = !1, B, x = 0, z = !1, G = [];
2725
+ let h = !1, w, A = 0, M = !1, F = [];
2643
2726
  if ((K = g.value) != null && K.length) {
2644
- for (let F = 0; F < g.value.length; F++) {
2645
- if (B = g.value[F], B.setAttribute("tabindex", "-1"), z && F !== S.value) {
2646
- B.dataset.hidden = "true", G.push(B);
2727
+ for (let G = 0; G < g.value.length; G++) {
2728
+ if (w = g.value[G], w.setAttribute("tabindex", "-1"), M && G !== y.value) {
2729
+ w.dataset.hidden = "true", F.push(w);
2647
2730
  continue;
2648
2731
  }
2649
- if (x = F < g.value.length - 1 ? M.value - ke.value : M.value, c.value[F] > x) {
2650
- B.dataset.hidden = "true", G.push(B), h = !0, z = !0;
2732
+ if (A = G < g.value.length - 1 ? z.value - Ie.value : z.value, c.value[G] > A) {
2733
+ w.dataset.hidden = "true", F.push(w), h = !0, M = !0;
2651
2734
  continue;
2652
2735
  }
2653
- B.dataset.hidden = "false", B.setAttribute("tabindex", "0");
2736
+ w.dataset.hidden = "false", w.setAttribute("tabindex", "0");
2654
2737
  }
2655
- s.value = h, u.value = G, n.value || He(() => n.value = !0), setTimeout(() => {
2656
- Ee(), b.value = !0;
2738
+ s.value = h, u.value = F, n.value || He(() => n.value = !0), setTimeout(() => {
2739
+ qe(), b.value = !0;
2657
2740
  }, b.value ? 0 : 1e3);
2658
2741
  }
2659
2742
  }
2660
2743
  function ce(h) {
2661
2744
  l("tabChange", h), l("update:modelValue", h);
2662
2745
  }
2663
- function Ie(h) {
2664
- var z, G, K;
2665
- const B = (K = (G = (z = g.value[h]) == null ? void 0 : z.getBoundingClientRect) == null ? void 0 : G.call(z)) == null ? void 0 : K.width;
2666
- return B || (h === 0 ? c.value[0] : c.value[h] - c.value[h - 1]) || 0;
2667
- }
2668
- function Te() {
2669
- var h;
2670
- (h = g.value[S.value]) == null || h.setAttribute("aria-selected", "true"), ue();
2746
+ function Te(h) {
2747
+ var M, F, K;
2748
+ const w = (K = (F = (M = g.value[h]) == null ? void 0 : M.getBoundingClientRect) == null ? void 0 : F.call(M)) == null ? void 0 : K.width;
2749
+ return w || (h === 0 ? c.value[0] : c.value[h] - c.value[h - 1]) || 0;
2671
2750
  }
2672
2751
  function xe() {
2673
2752
  var h;
2674
- (h = y.value) == null || h.focus(), i.value = !1;
2753
+ (h = g.value[y.value]) == null || h.setAttribute("aria-selected", "true"), ue();
2675
2754
  }
2676
2755
  function Ce() {
2677
- i.value = !i.value, o.value || (o.value = !0);
2756
+ var h;
2757
+ (h = B.value) == null || h.focus(), i.value = !1;
2678
2758
  }
2679
- function Ae(h) {
2680
- var B;
2681
- i.value = !1, (B = y.value) == null || B.focus(), ce(h);
2759
+ function Ae() {
2760
+ i.value = !i.value, o.value || (o.value = !0);
2682
2761
  }
2683
2762
  function Le(h) {
2763
+ var w;
2764
+ i.value = !1, (w = B.value) == null || w.focus(), ce(h);
2765
+ }
2766
+ function Ve(h) {
2684
2767
  if (t.withBsTabs)
2685
2768
  return;
2686
- const B = h.target.closest('[role="tab"]');
2687
- if (!B || B.getAttribute("aria-selected") === "true")
2769
+ const w = h.target.closest('[role="tab"]');
2770
+ if (!w || w.getAttribute("aria-selected") === "true")
2688
2771
  return;
2689
- const x = B.getAttribute("id");
2690
- ce(x);
2772
+ const A = w.getAttribute("id");
2773
+ ce(A);
2691
2774
  }
2692
2775
  function Pe(h) {
2693
2776
  if (h.key === "ArrowLeft" || h.key === "ArrowRight") {
2694
- const B = Q.value.findIndex((x) => x.id === h.target.id);
2695
- if (B === -1)
2777
+ const w = Q.value.findIndex((A) => A.id === h.target.id);
2778
+ if (w === -1)
2696
2779
  return;
2697
- h.preventDefault(), h.stopPropagation(), h.key === "ArrowLeft" ? Ve(B) : De(B);
2780
+ h.preventDefault(), h.stopPropagation(), h.key === "ArrowLeft" ? Ee(w) : De(w);
2698
2781
  }
2699
2782
  }
2700
2783
  function De(h) {
2701
- var x;
2702
- const B = (h + 1) % Q.value.length;
2703
- (x = Q.value[B]) == null || x.focus();
2784
+ var A;
2785
+ const w = (h + 1) % Q.value.length;
2786
+ (A = Q.value[w]) == null || A.focus();
2704
2787
  }
2705
- function Ve(h) {
2706
- var x;
2707
- const B = h === 0 ? Q.value.length - 1 : h - 1;
2708
- (x = Q.value[B]) == null || x.focus();
2709
- }
2710
- function Ee() {
2711
- var K, F, ge, be;
2712
- const h = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, B = M.value;
2713
- let x = 300, z = ((F = (K = Q.value) == null ? void 0 : K[S.value]) == null ? void 0 : F.offsetLeft) || 0, G = Ie(S.value);
2714
- s.value && q.value && (z = (ge = y.value) == null ? void 0 : ge.offsetLeft, G = (be = y.value) == null ? void 0 : be.offsetWidth), x = Math.max(Math.abs((z - h) / B * 300), 100), r.value.style.setProperty("--active-line-max-width", `${B}px`), r.value.style.setProperty("--active-line-scale", `${G / B}`), r.value.style.setProperty("--active-line-offset", `${z}px`), r.value.style.setProperty("--active-line-transition-duration", `${x}ms`);
2788
+ function Ee(h) {
2789
+ var A;
2790
+ const w = h === 0 ? Q.value.length - 1 : h - 1;
2791
+ (A = Q.value[w]) == null || A.focus();
2715
2792
  }
2716
2793
  function qe() {
2717
- var h, B;
2718
- (B = (h = L.value) == null ? void 0 : h.disconnect) == null || B.call(h), L.value = null;
2794
+ var K, G, ge, be;
2795
+ const h = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, w = z.value;
2796
+ let A = 300, M = ((G = (K = Q.value) == null ? void 0 : K[y.value]) == null ? void 0 : G.offsetLeft) || 0, F = Te(y.value);
2797
+ s.value && q.value && (M = (ge = B.value) == null ? void 0 : ge.offsetLeft, F = (be = B.value) == null ? void 0 : be.offsetWidth), A = Math.max(Math.abs((M - h) / w * 300), 100), r.value.style.setProperty("--active-line-max-width", `${w}px`), r.value.style.setProperty("--active-line-scale", `${F / w}`), r.value.style.setProperty("--active-line-offset", `${M}px`), r.value.style.setProperty("--active-line-transition-duration", `${A}ms`);
2719
2798
  }
2720
2799
  function ze() {
2721
- L.value = new ResizeObserver((h) => {
2722
- for (let B of h)
2723
- M.value = B.contentBoxSize[0].inlineSize;
2724
- ue();
2725
- }), L.value.observe(r.value);
2800
+ var h, w;
2801
+ (w = (h = x.value) == null ? void 0 : h.disconnect) == null || w.call(h), x.value = null;
2726
2802
  }
2727
2803
  function Me() {
2804
+ x.value = new ResizeObserver((h) => {
2805
+ for (let w of h)
2806
+ z.value = w.contentBoxSize[0].inlineSize;
2807
+ ue();
2808
+ }), x.value.observe(r.value);
2809
+ }
2810
+ function Oe() {
2728
2811
  g.value = Array.from(r.value.children).filter((h) => h.role === "tab");
2729
2812
  }
2730
- function Re() {
2813
+ function Ne() {
2731
2814
  let h;
2732
- g.value.forEach((B, x) => {
2733
- h = B.getBoundingClientRect().width + fn, c.value.push(x ? h + c.value[x - 1] : h);
2815
+ g.value.forEach((w, A) => {
2816
+ h = w.getBoundingClientRect().width + vn, c.value.push(A ? h + c.value[A - 1] : h);
2734
2817
  });
2735
2818
  }
2736
- return E(() => t.activeTabId, Te), O(() => {
2819
+ return E(() => t.activeTabId, xe), j(() => {
2737
2820
  var h;
2738
2821
  try {
2739
- Me(), Re(), ze(), M.value = r.value.getBoundingClientRect().width, ue(), t.withBsTabs || (h = g.value[S.value]) == null || h.setAttribute("aria-selected", "true");
2740
- } catch (B) {
2741
- console.log("tab error", B);
2822
+ Oe(), Ne(), Me(), z.value = r.value.getBoundingClientRect().width, ue(), t.withBsTabs || (h = g.value[y.value]) == null || h.setAttribute("aria-selected", "true");
2823
+ } catch (w) {
2824
+ console.log("tab error", w);
2742
2825
  }
2743
- }), ne(qe), (h, B) => (d(), f("div", {
2826
+ }), ne(ze), (h, w) => (d(), f("div", {
2744
2827
  class: "bs-tab-list",
2745
2828
  "data-component": "bs-tab-list",
2746
- id: h.$attrs.id || v(P),
2829
+ id: h.$attrs.id || v(C),
2747
2830
  ref_key: "hostEl",
2748
2831
  ref: r,
2749
2832
  role: "tablist",
2750
2833
  "data-resizing": !n.value || void 0,
2751
- onClick: Le,
2752
- "on:tabClick": B[0] || (B[0] = (x) => ce(x.detail)),
2834
+ onClick: Ve,
2835
+ "on:tabClick": w[0] || (w[0] = (A) => ce(A.detail)),
2753
2836
  onKeydown: Pe
2754
2837
  }, [
2755
- I(h.$slots, "default"),
2838
+ k(h.$slots, "default"),
2756
2839
  m("button", {
2757
- "aria-controls": v(w),
2840
+ "aria-controls": v($),
2758
2841
  "aria-expanded": i.value,
2759
2842
  class: "bs-tab-list-toggle",
2760
2843
  "data-active": q.value || void 0,
2761
2844
  "data-hidden": !s.value,
2762
2845
  id: ee.value,
2763
2846
  ref_key: "dropdownToggle",
2764
- ref: y,
2765
- onClick: Ce
2847
+ ref: B,
2848
+ onClick: Ae
2766
2849
  }, [
2767
- D(v(tt), { size: "sm" }),
2768
- W(" " + T(J.value), 1)
2769
- ], 8, dn),
2770
- D(ea, {
2850
+ P(v(et), { size: "sm" }),
2851
+ R(" " + T(J.value), 1)
2852
+ ], 8, un),
2853
+ P(ea, {
2771
2854
  "anchor-id": ee.value,
2772
- "container-id": h.$attrs.id || v(P),
2855
+ "container-id": h.$attrs.id || v(C),
2773
2856
  "helper-description": e.helperDescription || void 0,
2774
2857
  "helper-text": e.helperText,
2775
- id: v(w),
2776
- "options-id": j.value,
2858
+ id: v($),
2859
+ "options-id": W.value,
2777
2860
  position: "right",
2778
2861
  preloaded: "",
2779
2862
  shown: i.value,
2780
2863
  width: "content",
2781
- onClose: xe,
2782
- "onUpdate:modelValue": Ae
2864
+ onClose: Ce,
2865
+ "onUpdate:modelValue": Le
2783
2866
  }, {
2784
- default: C(() => [
2785
- (d(!0), f(R, null, Y(u.value, (x) => (d(), A(Jt, {
2786
- key: x.id,
2787
- value: x.id,
2788
- "options-id": j.value
2867
+ default: V(() => [
2868
+ (d(!0), f(O, null, Y(u.value, (A) => (d(), L(Jt, {
2869
+ key: A.id,
2870
+ value: A.id,
2871
+ "options-id": W.value
2789
2872
  }, {
2790
- default: C(() => [
2791
- W(T(x.textContent), 1)
2873
+ default: V(() => [
2874
+ R(T(A.textContent), 1)
2792
2875
  ]),
2793
2876
  _: 2
2794
2877
  }, 1032, ["value", "options-id"]))), 128))
2795
2878
  ]),
2796
2879
  _: 1
2797
2880
  }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
2798
- ], 40, sn));
2881
+ ], 40, dn));
2799
2882
  }
2800
- }, vn = ["aria-labelledby", "data-active", "id"], Xn = {
2883
+ }, pn = ["aria-labelledby", "data-active", "id"], Zn = {
2801
2884
  __name: "BsTabPanel",
2802
2885
  props: {
2803
2886
  activeTabId: {
@@ -2818,10 +2901,10 @@ const Et = {
2818
2901
  id: n.value,
2819
2902
  role: "tabpanel"
2820
2903
  }, [
2821
- I(o.$slots, "default")
2822
- ], 8, vn));
2904
+ k(o.$slots, "default")
2905
+ ], 8, pn));
2823
2906
  }
2824
- }, hn = ["data-error", "id", "rows", "value"], pn = {
2907
+ }, hn = ["data-error", "id", "rows", "value"], gn = {
2825
2908
  __name: "BsTextarea",
2826
2909
  props: {
2827
2910
  error: {
@@ -2837,7 +2920,7 @@ const Et = {
2837
2920
  emits: ["update:modelValue"],
2838
2921
  setup(e, { emit: a }) {
2839
2922
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
2840
- return (n, o) => (d(), f("textarea", V({
2923
+ return (n, o) => (d(), f("textarea", D({
2841
2924
  class: "bs-textarea",
2842
2925
  "data-component": "bs-textarea",
2843
2926
  "data-error": e.error,
@@ -2847,7 +2930,7 @@ const Et = {
2847
2930
  onInput: o[0] || (o[0] = (u) => n.$emit("update:modelValue", u.target.value))
2848
2931
  }, l.value), null, 16, hn));
2849
2932
  }
2850
- }, Zn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2933
+ }, Jn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2851
2934
  __name: "BsTextareaField",
2852
2935
  props: {
2853
2936
  /** 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. */
@@ -2897,6 +2980,7 @@ const Et = {
2897
2980
  emits: ["update:modelValue"],
2898
2981
  setup(e, { emit: a }) {
2899
2982
  const t = e, l = N(), [n, o] = H(2), { toChild: u, toRoot: i } = Z(t, l, [
2983
+ "aria-label",
2900
2984
  "autocomplete",
2901
2985
  "cols",
2902
2986
  "maxlength",
@@ -2906,25 +2990,25 @@ const Et = {
2906
2990
  var g;
2907
2991
  return ((g = t.value || t.modelValue) == null ? void 0 : g.length) || 0;
2908
2992
  }), r = p(() => {
2909
- var g, y;
2910
- return ((y = (g = t.hints) == null ? void 0 : g.join) == null ? void 0 : y.call(g, `
2993
+ var g, B;
2994
+ return ((B = (g = t.hints) == null ? void 0 : g.join) == null ? void 0 : B.call(g, `
2911
2995
  `)) || t.hints;
2912
2996
  }), c = p(() => t.error && t.errorMsg || t.hint || r.value || void 0), b = p(() => t.inputId || n.value);
2913
- return (g, y) => (d(), f("div", V({ "data-component": "bs-textarea-field" }, v(i)), [
2914
- e.label || g.$slots.label ? (d(), A(_, {
2997
+ return (g, B) => (d(), f("div", D({ "data-component": "bs-textarea-field" }, v(i)), [
2998
+ e.label || g.$slots.label ? (d(), L(_, {
2915
2999
  key: 0,
2916
3000
  for: b.value,
2917
3001
  disabled: e.disabled,
2918
3002
  required: e.required
2919
3003
  }, {
2920
- default: C(() => [
2921
- I(g.$slots, "label", {}, () => [
2922
- W(T(e.label), 1)
3004
+ default: V(() => [
3005
+ k(g.$slots, "label", {}, () => [
3006
+ R(T(e.label), 1)
2923
3007
  ])
2924
3008
  ]),
2925
3009
  _: 3
2926
- }, 8, ["for", "disabled", "required"])) : $("", !0),
2927
- D(pn, V({
3010
+ }, 8, ["for", "disabled", "required"])) : S("", !0),
3011
+ P(gn, D({
2928
3012
  disabled: e.disabled,
2929
3013
  error: e.error,
2930
3014
  "hint-id": v(o),
@@ -2933,9 +3017,9 @@ const Et = {
2933
3017
  required: e.required,
2934
3018
  rows: e.rows,
2935
3019
  value: e.value || e.modelValue,
2936
- "onUpdate:modelValue": y[0] || (y[0] = (L) => g.$emit("update:modelValue", L))
3020
+ "onUpdate:modelValue": B[0] || (B[0] = (x) => g.$emit("update:modelValue", x))
2937
3021
  }, v(u)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
2938
- c.value || e.charMax ? (d(), A(pe, {
3022
+ c.value || e.charMax ? (d(), L(he, {
2939
3023
  key: 1,
2940
3024
  "char-count": s.value,
2941
3025
  "char-max": e.charMax,
@@ -2944,10 +3028,10 @@ const Et = {
2944
3028
  "error-msg": e.errorMsg,
2945
3029
  hint: e.hint || r.value,
2946
3030
  "hint-id": v(o)
2947
- }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : $("", !0)
3031
+ }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : S("", !0)
2948
3032
  ], 16));
2949
3033
  }
2950
- }), gn = ["data-variant", "data-stacked"], Jn = {
3034
+ }), bn = ["data-variant", "data-stacked"], Qn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2951
3035
  __name: "BsToast",
2952
3036
  props: {
2953
3037
  shown: {
@@ -3005,7 +3089,7 @@ const Et = {
3005
3089
  i();
3006
3090
  }, t.duration)), l("after-enter");
3007
3091
  }
3008
- return (r, c) => (d(), A(v(de), {
3092
+ return (r, c) => (d(), L(v(de), {
3009
3093
  shown: v(n),
3010
3094
  preloaded: e.preloaded,
3011
3095
  duration: 200,
@@ -3013,24 +3097,24 @@ const Et = {
3013
3097
  onAfterEnter: s,
3014
3098
  onAfterLeave: c[0] || (c[0] = (b) => l("after-leave"))
3015
3099
  }, {
3016
- default: C(() => [
3017
- m("div", {
3100
+ default: V(() => [
3101
+ m("div", D({
3018
3102
  class: "bs-toast",
3019
3103
  "data-variant": e.variant,
3020
3104
  "data-stacked": v(u) || void 0,
3021
3105
  "aria-role": "alert"
3022
- }, [
3023
- I(r.$slots, "default")
3024
- ], 8, gn)
3106
+ }, r.$attrs), [
3107
+ k(r.$slots, "default")
3108
+ ], 16, bn)
3025
3109
  ]),
3026
3110
  _: 3
3027
3111
  }, 8, ["shown", "preloaded"]));
3028
3112
  }
3029
- }, bn = ["data-stacked"], Qn = {
3113
+ }), mn = ["data-stacked"], _n = {
3030
3114
  __name: "BsToastActions",
3031
3115
  setup(e) {
3032
- const a = k(!1);
3033
- O(() => {
3116
+ const a = I(!1);
3117
+ j(() => {
3034
3118
  var n;
3035
3119
  const l = Ke();
3036
3120
  ((n = l.default) == null ? void 0 : n.call(l).length) > 2 && (a.value = !0);
@@ -3040,32 +3124,32 @@ const Et = {
3040
3124
  class: "bs-toast-actions",
3041
3125
  "data-stacked": a.value || void 0
3042
3126
  }, [
3043
- I(l.$slots, "default", {}, () => [
3044
- D(kt, {
3127
+ k(l.$slots, "default", {}, () => [
3128
+ P(kt, {
3045
3129
  size: "sm",
3046
3130
  "text-btn": "",
3047
3131
  onClick: v(t)
3048
3132
  }, {
3049
- default: C(() => [
3050
- W(" Dismiss ")
3133
+ default: V(() => [
3134
+ R(" Dismiss ")
3051
3135
  ]),
3052
3136
  _: 1
3053
3137
  }, 8, ["onClick"])
3054
3138
  ])
3055
- ], 8, bn));
3139
+ ], 8, mn));
3056
3140
  }
3057
- }, mn = (e, a) => {
3141
+ }, yn = (e, a) => {
3058
3142
  const t = e.__vccOpts || e;
3059
3143
  for (const [l, n] of a)
3060
3144
  t[l] = n;
3061
3145
  return t;
3062
- }, yn = {}, Bn = { class: "bs-toast-body" };
3063
- function $n(e, a) {
3064
- return d(), f("div", Bn, [
3065
- I(e.$slots, "default")
3146
+ }, Bn = {}, $n = { class: "bs-toast-body" };
3147
+ function Sn(e, a) {
3148
+ return d(), f("div", $n, [
3149
+ k(e.$slots, "default")
3066
3150
  ]);
3067
3151
  }
3068
- const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el = {
3152
+ const el = /* @__PURE__ */ yn(Bn, [["render", Sn]]), wn = ["data-variant"], tl = {
3069
3153
  __name: "BsToastHeader",
3070
3154
  setup(e) {
3071
3155
  const a = te("variant"), t = p(() => {
@@ -3073,31 +3157,31 @@ const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el =
3073
3157
  case "warning":
3074
3158
  return ve;
3075
3159
  case "positive":
3076
- return nt;
3160
+ return at;
3077
3161
  case "negative":
3078
3162
  return ve;
3079
3163
  default:
3080
- return at;
3164
+ return tt;
3081
3165
  }
3082
3166
  });
3083
3167
  return (l, n) => (d(), f("div", {
3084
3168
  class: "bs-toast-header",
3085
3169
  "data-variant": v(a)
3086
3170
  }, [
3087
- (d(), A(U(t.value), { class: "bs-toast-header-icon" })),
3171
+ (d(), L(U(t.value), { class: "bs-toast-header-icon" })),
3088
3172
  m("h5", null, [
3089
- I(l.$slots, "default")
3173
+ k(l.$slots, "default")
3090
3174
  ])
3091
- ], 8, Sn));
3175
+ ], 8, wn));
3092
3176
  }
3093
- }, wn = { class: "bs-toaster" }, tl = {
3177
+ }, kn = { class: "bs-toaster" }, al = {
3094
3178
  __name: "BsToaster",
3095
3179
  setup(e) {
3096
- return ae("stacked", !0), (a, t) => (d(), f("div", wn, [
3097
- I(a.$slots, "default")
3180
+ return ae("stacked", !0), (a, t) => (d(), f("div", kn, [
3181
+ k(a.$slots, "default")
3098
3182
  ]));
3099
3183
  }
3100
- }, kn = ["data-position"], In = ["id"], al = {
3184
+ }, In = ["data-position"], Tn = ["id"], nl = {
3101
3185
  __name: "BsTooltip",
3102
3186
  props: {
3103
3187
  tooltipId: {
@@ -3124,7 +3208,7 @@ const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el =
3124
3208
  }
3125
3209
  },
3126
3210
  setup(e) {
3127
- const a = e, t = k(!1), l = k(!1), n = p(() => {
3211
+ const a = e, t = I(!1), l = I(!1), n = p(() => {
3128
3212
  let i = "bs-tooltip-text";
3129
3213
  return l.value && (a.position === void 0 || a.position === "top" || a.position === "bottom" ? i += " escaped-x" : a.position === "left" || a.position === "right" ? i += " escaped-y" : i += " escaped"), i;
3130
3214
  });
@@ -3146,57 +3230,58 @@ const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el =
3146
3230
  onMouseleave: u,
3147
3231
  onFocusout: u
3148
3232
  }, [
3149
- I(i.$slots, "default"),
3233
+ k(i.$slots, "default"),
3150
3234
  e.content ? (d(), f("div", {
3151
3235
  key: 0,
3152
3236
  class: X(n.value),
3153
3237
  id: e.tooltipId,
3154
3238
  role: "tooltip"
3155
- }, T(e.content), 11, In)) : $("", !0)
3156
- ], 40, kn));
3239
+ }, T(e.content), 11, Tn)) : S("", !0)
3240
+ ], 40, In));
3157
3241
  }
3158
3242
  };
3159
3243
  export {
3160
- Ln as BsAccordion,
3161
- Pn as BsBadge,
3162
- Dn as BsBanner,
3244
+ Vn as BsAccordion,
3245
+ Bt as BsBadge,
3246
+ Pn as BsBanner,
3163
3247
  kt as BsButton,
3164
- Vn as BsChartBar,
3248
+ Dn as BsChartBar,
3165
3249
  En as BsCheckbox,
3166
3250
  qn as BsCircleButton,
3167
3251
  Xt as BsDropdown,
3168
3252
  Jt as BsDropdownOption,
3169
3253
  _t as BsDropdownOptionList,
3170
3254
  ea as BsDropdownWithOptions,
3171
- pe as BsFieldDetails,
3172
- zn as BsIconGradientWrapper,
3173
- we as BsInput,
3174
- da as BsInputAddon,
3175
- Mn as BsInputField,
3176
- Rn as BsInputSearch,
3255
+ he as BsFieldDetails,
3256
+ zn as BsFilterButton,
3257
+ Mn as BsIconGradientWrapper,
3258
+ ke as BsInput,
3259
+ ua as BsInputAddon,
3260
+ On as BsInputField,
3261
+ Nn as BsInputSearch,
3177
3262
  _ as BsLabel,
3178
- Nn as BsLoader,
3179
- On as BsModal,
3180
- ma as BsOverlay,
3263
+ Rn as BsLoader,
3264
+ jn as BsModal,
3265
+ ya as BsOverlay,
3181
3266
  Wn as BsPagination,
3182
- jn as BsPill,
3267
+ Fn as BsPill,
3183
3268
  Gn as BsProfile,
3184
- Ha as BsProfileDetails,
3185
- Xa as BsProfileImg,
3186
- Fn as BsRadio,
3187
- _a as BsSelect,
3188
- Un as BsSelectField,
3189
- Hn as BsSwitch,
3190
- Kn as BsTab,
3191
- Yn as BsTabList,
3192
- Xn as BsTabPanel,
3193
- pn as BsTextarea,
3194
- Zn as BsTextareaField,
3195
- Jn as BsToast,
3196
- Qn as BsToastActions,
3197
- _n as BsToastBody,
3198
- el as BsToastHeader,
3199
- tl as BsToaster,
3200
- al as BsTooltip,
3269
+ Ka as BsProfileDetails,
3270
+ Za as BsProfileImg,
3271
+ Un as BsRadio,
3272
+ en as BsSelect,
3273
+ Hn as BsSelectField,
3274
+ Kn as BsSwitch,
3275
+ Yn as BsTab,
3276
+ Xn as BsTabList,
3277
+ Zn as BsTabPanel,
3278
+ gn as BsTextarea,
3279
+ Jn as BsTextareaField,
3280
+ Qn as BsToast,
3281
+ _n as BsToastActions,
3282
+ el as BsToastBody,
3283
+ tl as BsToastHeader,
3284
+ al as BsToaster,
3285
+ nl as BsTooltip,
3201
3286
  de as BsTransition
3202
3287
  };