@wwtdev/bsds-components-vue3 2.0.9 → 2.0.10

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,7 +1,7 @@
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";
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";
1
+ import { computed as p, ref as k, onMounted as N, onUnmounted as ne, shallowRef as Re, watch as E, defineAsyncComponent as Ne, openBlock as u, 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 V, normalizeClass as X, useAttrs as R, mergeProps as D, withCtx as C, Fragment as O, renderList as Y, createTextVNode as j, withDirectives as je, Transition as me, vShow as We, inject as te, provide as ae, onDeactivated as Ge, isRef as Fe, nextTick as Ue, useSlots as He } from "vue";
2
+ import { v4 as Ke } from "uuid";
3
+ import { BsIconCaretDown as Ye, 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",
@@ -9,27 +9,27 @@ const ye = {
9
9
  type: "button"
10
10
  };
11
11
  function he(e, a, t = "button") {
12
- const l = ut(e, a, t), n = p(() => {
13
- const o = l.value === "button", u = {};
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;
12
+ const l = dt(e, a, t), n = p(() => {
13
+ const o = l.value === "button", d = {};
14
+ return o ? (d.type = a.type || "button", d.autocomplete = "off", e.disabled && (d.disabled = !0)) : e.disabled && (d["aria-disabled"] = "true", d.tabindex = "-1"), d;
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));
18
+ function dt(e, a, t) {
19
+ const l = Object.keys(ye).find((n) => ut(e, a, n));
20
20
  return k(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
+ N(() => {
33
33
  document.addEventListener("click", t);
34
34
  }), ne(() => {
35
35
  document.removeEventListener("click", t);
@@ -44,12 +44,12 @@ function ie(e) {
44
44
  return a.value && ((n = e.router) == null ? void 0 : n.navigateTo) || ((o = e.router) == null ? void 0 : o.push) || null;
45
45
  });
46
46
  function l(n) {
47
- var o, u, i, s, r;
47
+ var o, d, i, s, r;
48
48
  if (e.disabled) {
49
49
  n.preventDefault(), n.stopImmediatePropagation();
50
50
  return;
51
51
  }
52
- !e.href || !t.value || ((u = (o = n.target.href) == null ? void 0 : o.endsWith) != null && u.call(o, e.href) || (r = (s = (i = n.target.closest("a")) == null ? void 0 : i.href) == null ? void 0 : s.endsWith) != null && r.call(s, e.href)) && (n.preventDefault(), t.value(e.href));
52
+ !e.href || !t.value || ((d = (o = n.target.href) == null ? void 0 : o.endsWith) != null && d.call(o, e.href) || (r = (s = (i = n.target.closest("a")) == null ? void 0 : i.href) == null ? void 0 : s.endsWith) != null && r.call(s, e.href)) && (n.preventDefault(), t.value(e.href));
53
53
  }
54
54
  return { onLinkClick: l };
55
55
  }
@@ -61,34 +61,34 @@ 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 () => {
65
- const { [o]: u } = await import("@wwtdev/bsds-icons-vue3");
66
- return u;
64
+ return Ne(async () => {
65
+ const { [o]: d } = await import("@wwtdev/bsds-icons-vue3");
66
+ return d;
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
75
  a.push(k(""));
76
- return O(() => {
77
- a.forEach((t) => t.value = Ye());
76
+ return N(() => {
77
+ a.forEach((t) => t.value = Ke());
78
78
  }), a;
79
79
  }
80
80
  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
+ N(() => {
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
+ N(() => {
92
92
  l = new MutationObserver(a), l.observe(e.value, t);
93
93
  }), ne(() => {
94
94
  l.disconnect();
@@ -98,17 +98,17 @@ 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 = k({}), d = k({});
102
102
  for (let r in a)
103
- n.has(r) ? u.value[r] = a[r] : o.value[r] = a[r];
103
+ n.has(r) ? d.value[r] = a[r] : o.value[r] = a[r];
104
104
  return {
105
105
  toRoot: o,
106
- toChild: u
106
+ toChild: d
107
107
  };
108
108
  }
109
109
  const se = (e) => {
110
110
  const a = k(!1);
111
- return O(() => {
111
+ return N(() => {
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"], ht = ["data-open"], pt = ["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"], An = {
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 = k(null), o = k(!1), { icon: d } = 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 (y, L) => (u(), f("div", {
145
145
  id: v(i),
146
146
  ref_key: "containerRef",
147
147
  ref: n,
@@ -159,22 +159,22 @@ const se = (e) => {
159
159
  type: "button",
160
160
  onClick: g
161
161
  }, [
162
- e.icon || y.$slots.icon ? (d(), f("span", bt, [
162
+ e.icon || y.$slots.icon ? (u(), f("span", gt, [
163
163
  I(y.$slots, "icon", {}, () => [
164
- e.icon ? (d(), A(U(v(u) ? v(u) : "span"), { key: 0 })) : $("", !0)
164
+ e.icon ? (u(), A(U(v(d) ? v(d) : "span"), { key: 0 })) : $("", !0)
165
165
  ])
166
166
  ])) : $("", !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
+ V(v(Ye), {
173
173
  size: "md",
174
174
  "data-position": "end"
175
175
  })
176
- ], 8, gt)
177
- ], 8, pt),
176
+ ], 8, pt)
177
+ ], 8, ht),
178
178
  m("div", {
179
179
  "aria-labelledby": r.value,
180
180
  class: "bs-accordion-content",
@@ -186,10 +186,10 @@ const se = (e) => {
186
186
  m("div", null, [
187
187
  I(y.$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", "aria-label"], Ln = {
193
193
  __name: "BsBadge",
194
194
  props: {
195
195
  /** Pass value to set `data-badge-color`. */
@@ -234,13 +234,13 @@ const se = (e) => {
234
234
  setup(e) {
235
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(() => {
236
236
  var s, r;
237
- const o = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", u = l.value ? l.value + " " : "";
238
- if (!u && !a.dot)
237
+ const o = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", d = l.value ? l.value + " " : "";
238
+ if (!d && !a.dot)
239
239
  return o;
240
240
  const i = a.count !== 1 ? "s" : "";
241
- return `${o}, ${u}${a.label}${i}`;
241
+ return `${o}, ${d}${a.label}${i}`;
242
242
  });
243
- return (o, u) => (d(), f("span", {
243
+ return (o, d) => (u(), f("span", {
244
244
  ref_key: "hostRef",
245
245
  ref: t,
246
246
  class: X({ "bs-badge": e.dot || l.value }),
@@ -252,13 +252,13 @@ const se = (e) => {
252
252
  "aria-label": n.value
253
253
  }, [
254
254
  I(o.$slots, "default")
255
- ], 10, Bt));
255
+ ], 10, yt));
256
256
  }
257
- }, $t = {
257
+ }, Bt = {
258
258
  key: 0,
259
259
  role: "alert",
260
260
  class: "bs-banner"
261
- }, St = { class: "bs-banner-content" }, wt = { class: "bs-banner-warning-icon" }, Dn = {
261
+ }, $t = { class: "bs-banner-content" }, St = { class: "bs-banner-warning-icon" }, Pn = {
262
262
  __name: "BsBanner",
263
263
  emits: ["dismiss"],
264
264
  setup(e, { emit: a }) {
@@ -266,10 +266,10 @@ const se = (e) => {
266
266
  function n() {
267
267
  l.value = !0, t("dismiss");
268
268
  }
269
- return (o, u) => l.value ? $("", !0) : (d(), f("div", $t, [
270
- m("div", St, [
271
- m("div", wt, [
272
- D(v(ve), { size: "lg" })
269
+ return (o, d) => l.value ? $("", !0) : (u(), f("div", Bt, [
270
+ m("div", $t, [
271
+ m("div", St, [
272
+ V(v(ve), { size: "lg" })
273
273
  ]),
274
274
  m("p", null, [
275
275
  I(o.$slots, "default")
@@ -279,12 +279,12 @@ const se = (e) => {
279
279
  title: "Close Banner",
280
280
  onClick: n
281
281
  }, [
282
- D(v(oe))
282
+ V(v(oe))
283
283
  ])
284
284
  ])
285
285
  ]));
286
286
  }
287
- }, kt = {
287
+ }, wt = {
288
288
  __name: "BsButton",
289
289
  props: {
290
290
  variant: { type: String },
@@ -296,8 +296,8 @@ const se = (e) => {
296
296
  size: { type: String, validator: (e) => !e || e === "sm" }
297
297
  },
298
298
  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({
299
+ const a = e, t = R(), { rootTag: l, attrsToBind: n } = he(a, t), { onLinkClick: o } = ie(a);
300
+ return (d, i) => (u(), A(U(v(l)), D({
301
301
  class: "bs-button",
302
302
  "data-component": "bs-button",
303
303
  "data-ghost": e.ghostBtn,
@@ -307,12 +307,12 @@ const se = (e) => {
307
307
  href: e.href
308
308
  }, v(n), { onClick: v(o) }), {
309
309
  default: C(() => [
310
- I(u.$slots, "default")
310
+ I(d.$slots, "default")
311
311
  ]),
312
312
  _: 3
313
313
  }, 16, ["data-ghost", "data-size", "data-text", "data-variant", "href", "onClick"]));
314
314
  }
315
- }, It = { "data-component": "bs-chart-table" }, Tt = ["summary"], xt = ["colspan"], Ct = /* @__PURE__ */ m("th", { scope: "col" }, " Dataset ", -1), At = { scope: "row" }, Lt = {
315
+ }, kt = { "data-component": "bs-chart-table" }, It = ["summary"], Tt = ["colspan"], xt = /* @__PURE__ */ m("th", { scope: "col" }, " Dataset ", -1), Ct = { scope: "row" }, At = {
316
316
  __name: "BsChartTable",
317
317
  props: {
318
318
  data: {
@@ -331,37 +331,37 @@ const se = (e) => {
331
331
  setup(e) {
332
332
  return (a, t) => {
333
333
  var l;
334
- return d(), f("div", It, [
334
+ return u(), f("div", kt, [
335
335
  m("table", { summary: e.tableTitle }, [
336
336
  m("thead", null, [
337
337
  m("tr", null, [
338
338
  m("th", {
339
339
  colspan: ((l = e.dataIdxLabels) == null ? void 0 : l.length) + 1
340
- }, T(e.tableTitle), 9, xt)
340
+ }, T(e.tableTitle), 9, Tt)
341
341
  ]),
342
342
  m("tr", null, [
343
- Ct,
344
- (d(!0), f(R, null, Y(e.dataIdxLabels, (n) => (d(), f("th", {
343
+ xt,
344
+ (u(!0), f(O, null, Y(e.dataIdxLabels, (n) => (u(), f("th", {
345
345
  key: n,
346
346
  scope: "col"
347
347
  }, T(n), 1))), 128))
348
348
  ])
349
349
  ]),
350
350
  m("tbody", null, [
351
- (d(!0), f(R, null, Y(e.data, (n) => (d(), f("tr", {
351
+ (u(!0), f(O, null, Y(e.data, (n) => (u(), f("tr", {
352
352
  key: n.label
353
353
  }, [
354
- m("th", At, T(n.label), 1),
355
- (d(!0), f(R, null, Y(n.data, (o, u) => (d(), f("td", {
356
- key: `${o}${u}`
354
+ m("th", Ct, T(n.label), 1),
355
+ (u(!0), f(O, null, Y(n.data, (o, d) => (u(), f("td", {
356
+ key: `${o}${d}`
357
357
  }, T(o), 1))), 128))
358
358
  ]))), 128))
359
359
  ])
360
- ], 8, Tt)
360
+ ], 8, It)
361
361
  ]);
362
362
  };
363
363
  }
364
- }, Pt = (e) => ({
364
+ }, Lt = (e) => ({
365
365
  id: "htmlLegend",
366
366
  afterUpdate(a) {
367
367
  e.innerHTML = "", e.style.setProperty("--legend-padding", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((l) => {
@@ -372,11 +372,11 @@ const se = (e) => {
372
372
  };
373
373
  const o = document.createElement("span");
374
374
  o.style.setProperty("--item-box-fill", l.fillStyle), o.style.setProperty("--item-box-stroke", l.strokeStyle);
375
- const u = document.createTextNode(l.text), i = document.createElement("p");
376
- 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);
375
+ const d = document.createTextNode(l.text), i = document.createElement("p");
376
+ i.style.setProperty("--item-text-color", l.fontColor), i.style.setProperty("--item-text-decoration", l.hidden ? "line-through" : "none"), i.appendChild(d), n.appendChild(o), n.appendChild(i), e.appendChild(n);
377
377
  });
378
378
  }
379
- }), Dt = ({ type: e, datasets: a, labels: t, tooltips: l }) => ({
379
+ }), Pt = ({ type: e, datasets: a, labels: t, tooltips: l }) => ({
380
380
  type: e,
381
381
  data: {
382
382
  datasets: a,
@@ -395,7 +395,7 @@ const se = (e) => {
395
395
  responsive: !0
396
396
  }
397
397
  });
398
- function Vt(e) {
398
+ function Dt(e) {
399
399
  const a = [
400
400
  "rgba(209, 26, 111, 1)",
401
401
  "rgba(130, 18, 196, 1)",
@@ -417,10 +417,10 @@ function $e(e, a, t) {
417
417
  }, a);
418
418
  };
419
419
  }
420
- const Et = {
420
+ const Vt = {
421
421
  class: "bs-chart-bar",
422
422
  "data-component": "bs-chart-bar"
423
- }, qt = ["aria-label"], zt = ["data-hidden"], Vn = {
423
+ }, Et = ["aria-label"], qt = ["data-hidden"], Dn = {
424
424
  __name: "BsChartBar",
425
425
  props: {
426
426
  chartTitle: {
@@ -478,12 +478,12 @@ const Et = {
478
478
  let n;
479
479
  const o = p(() => {
480
480
  const c = {
481
- datasets: u.value,
481
+ datasets: d.value,
482
482
  labels: a.dataIdxLabels,
483
483
  type: "bar",
484
484
  tooltips: a.showTooltips
485
- }, b = Dt(c);
486
- return b.plugins = [Pt(l.value)], b.options.scales = {
485
+ }, b = Pt(c);
486
+ return b.plugins = [Lt(l.value)], b.options.scales = {
487
487
  x: {
488
488
  grid: {
489
489
  display: a.showXGrid
@@ -505,18 +505,18 @@ const Et = {
505
505
  }
506
506
  }
507
507
  }, b;
508
- }), u = p(() => a.data.map((c, b) => ({
508
+ }), d = p(() => a.data.map((c, b) => ({
509
509
  ...c,
510
- backgroundColor: Vt(b),
510
+ backgroundColor: Dt(b),
511
511
  categoryPercentage: a.data.length > 1 ? 0.5 : 0.33
512
512
  }))), i = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`), s = $e(function(c, b) {
513
513
  !n || c === b || (n.options = o.value.options, n.update());
514
514
  }, 100), r = $e(function() {
515
515
  n && (n.data = o.value.data, n.update());
516
516
  }, 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);
519
- }), 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, [
517
+ return N(() => {
518
+ fe.register(nt, lt, ot, it, rt, st), fe.defaults.font.family = "'Roobert', sans-serif", n = new fe(t.value, o.value);
519
+ }), 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) => (u(), f("div", Vt, [
520
520
  m("figure", null, [
521
521
  m("div", null, [
522
522
  m("canvas", {
@@ -524,10 +524,10 @@ const Et = {
524
524
  ref_key: "canvas",
525
525
  ref: t,
526
526
  role: "img"
527
- }, null, 8, qt)
527
+ }, null, 8, Et)
528
528
  ]),
529
529
  m("div", null, [
530
- D(Lt, {
530
+ V(At, {
531
531
  data: e.data,
532
532
  "data-idx-labels": e.dataIdxLabels,
533
533
  "table-title": i.value
@@ -539,15 +539,15 @@ const Et = {
539
539
  ref_key: "legendList",
540
540
  ref: l
541
541
  }, null, 512)
542
- ], 8, zt)
542
+ ], 8, qt)
543
543
  ])
544
544
  ])
545
545
  ]));
546
546
  }
547
- }, Mt = ["data-disabled", "for"], Rt = /* @__PURE__ */ m("span", {
547
+ }, zt = ["data-disabled", "for"], Mt = /* @__PURE__ */ m("span", {
548
548
  "data-required": "true",
549
549
  "aria-hidden": "true"
550
- }, " *", -1), Nt = /* @__PURE__ */ m("span", { class: "visually-hidden" }, "required", -1), _ = {
550
+ }, " *", -1), Ot = /* @__PURE__ */ m("span", { class: "visually-hidden" }, "required", -1), _ = {
551
551
  __name: "BsLabel",
552
552
  props: {
553
553
  disabled: { type: Boolean, default: !1 },
@@ -556,7 +556,7 @@ const Et = {
556
556
  required: { type: Boolean, default: !1 }
557
557
  },
558
558
  setup(e) {
559
- return (a, t) => (d(), f("label", {
559
+ return (a, t) => (u(), f("label", {
560
560
  class: X(["bs-label", e.hide ? "visually-hidden" : ""]),
561
561
  "data-component": "bs-label",
562
562
  "data-disabled": e.disabled,
@@ -565,13 +565,13 @@ const Et = {
565
565
  m("span", null, [
566
566
  I(a.$slots, "default")
567
567
  ]),
568
- e.required ? (d(), f(R, { key: 0 }, [
569
- Rt,
570
- Nt
568
+ e.required ? (u(), f(O, { key: 0 }, [
569
+ Mt,
570
+ Ot
571
571
  ], 64)) : $("", !0)
572
- ], 10, Mt));
572
+ ], 10, zt));
573
573
  }
574
- }, Ot = ["data-size"], Wt = ["checked", "disabled", "id", "required", "data-error"], En = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
574
+ }, Rt = ["data-size"], Nt = ["checked", "disabled", "id", "required", "data-error"], Vn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
575
575
  __name: "BsCheckbox",
576
576
  props: {
577
577
  /** Sets the label. */
@@ -626,16 +626,16 @@ const Et = {
626
626
  },
627
627
  emits: ["update:modelValue"],
628
628
  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);
629
+ const t = e, l = R(), [n] = H(), { toChild: o, toRoot: d } = Z(t, l, ["name", "value"]), i = k(null), s = p(() => t.inputId || n.value), r = p(() => t.checked || t.modelValue);
630
630
  function c() {
631
631
  i.value && (i.value.indeterminate = t.checkedPartially && !r.value);
632
632
  }
633
- return E(r, c), E(() => t.checkedPartially, c), (b, g) => (d(), f("div", V({
633
+ return E(r, c), E(() => t.checkedPartially, c), (b, g) => (u(), f("div", D({
634
634
  class: "bs-boolean",
635
635
  "data-component": "bs-checkbox",
636
636
  "data-size": e.size
637
- }, v(u)), [
638
- m("input", V({
637
+ }, v(d)), [
638
+ m("input", D({
639
639
  ref_key: "inputEl",
640
640
  ref: i,
641
641
  checked: r.value,
@@ -645,8 +645,8 @@ const Et = {
645
645
  type: "checkbox",
646
646
  "data-error": e.error,
647
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(_, {
648
+ }, v(o)), null, 16, Nt),
649
+ e.label || b.$slots.label ? (u(), A(_, {
650
650
  key: 0,
651
651
  for: s.value,
652
652
  disabled: e.disabled,
@@ -654,14 +654,14 @@ const Et = {
654
654
  }, {
655
655
  default: C(() => [
656
656
  I(b.$slots, "label", {}, () => [
657
- W(T(e.label), 1)
657
+ j(T(e.label), 1)
658
658
  ])
659
659
  ]),
660
660
  _: 3
661
661
  }, 8, ["for", "disabled", "required"])) : $("", !0)
662
- ], 16, Ot));
662
+ ], 16, Rt));
663
663
  }
664
- }), jt = { key: 0 }, Gt = { class: "bs-circle-button-icon" }, Ft = { key: 1 }, qn = {
664
+ }), jt = { key: 0 }, Wt = { class: "bs-circle-button-icon" }, Gt = { key: 1 }, En = {
665
665
  __name: "BsCircleButton",
666
666
  props: {
667
667
  disabled: {
@@ -704,11 +704,11 @@ const Et = {
704
704
  }
705
705
  },
706
706
  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(() => {
707
+ const a = e, t = R(), { rootTag: l, attrsToBind: n } = he(a, t), { icon: o } = le(a, "icon"), { onLinkClick: d } = ie(a), i = p(() => a.textBtn ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), s = p(() => {
708
708
  if (a.hoverEffect)
709
709
  return a.iconPosition;
710
710
  }), r = p(() => a.textBtn && a.iconPosition !== "left"), c = p(() => a.textBtn && a.iconPosition === "left");
711
- return (b, g) => (d(), A(U(v(l)), V({
711
+ return (b, g) => (u(), A(U(v(l)), D({
712
712
  class: "bs-circle-button",
713
713
  "data-disabled": e.disabled,
714
714
  "data-direction": s.value,
@@ -716,15 +716,15 @@ const Et = {
716
716
  "data-size": e.size,
717
717
  "data-text": e.textBtn,
718
718
  href: e.href
719
- }, { ...v(n), ...i.value }, { onClick: v(u) }), {
719
+ }, { ...v(n), ...i.value }, { onClick: v(d) }), {
720
720
  default: C(() => [
721
- r.value ? (d(), f("span", jt, T(e.label), 1)) : $("", !0),
722
- m("span", Gt, [
721
+ r.value ? (u(), f("span", jt, T(e.label), 1)) : $("", !0),
722
+ m("span", Wt, [
723
723
  I(b.$slots, "icon", {}, () => [
724
- (d(), A(U(v(o)), { size: e.size }, null, 8, ["size"]))
724
+ (u(), A(U(v(o)), { size: e.size }, null, 8, ["size"]))
725
725
  ])
726
726
  ]),
727
- c.value ? (d(), f("span", Ft, T(e.label), 1)) : $("", !0)
727
+ c.value ? (u(), f("span", Gt, T(e.label), 1)) : $("", !0)
728
728
  ]),
729
729
  _: 3
730
730
  }, 16, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", "href", "onClick"]));
@@ -781,7 +781,7 @@ const Et = {
781
781
  }, c)), l("enter", s);
782
782
  }));
783
783
  }
784
- function u(s, r) {
784
+ function d(s, r) {
785
785
  const {
786
786
  duration: c,
787
787
  enterClass: b,
@@ -801,7 +801,7 @@ const Et = {
801
801
  n.forEach((s) => {
802
802
  clearTimeout(s);
803
803
  });
804
- }), (s, r) => e.preloaded ? We((d(), A(me, {
804
+ }), (s, r) => e.preloaded ? je((u(), A(me, {
805
805
  key: 0,
806
806
  css: !1,
807
807
  onBeforeEnter: r[0] || (r[0] = (c) => l("before-enter", c)),
@@ -809,7 +809,7 @@ const Et = {
809
809
  onAfterEnter: r[1] || (r[1] = (c) => l("after-enter", c)),
810
810
  onEnterCancelled: r[2] || (r[2] = (c) => l("enter-cancelled", c)),
811
811
  onBeforeLeave: r[3] || (r[3] = (c) => l("before-leave", c)),
812
- onLeave: u,
812
+ onLeave: d,
813
813
  onAfterLeave: i,
814
814
  onLeaveCancelled: r[4] || (r[4] = (c) => l("leave-cancelled", c))
815
815
  }, {
@@ -818,8 +818,8 @@ const Et = {
818
818
  ]),
819
819
  _: 3
820
820
  }, 512)), [
821
- [je, e.shown]
822
- ]) : (d(), A(me, {
821
+ [We, e.shown]
822
+ ]) : (u(), A(me, {
823
823
  key: 1,
824
824
  css: !1,
825
825
  onBeforeEnter: r[5] || (r[5] = (c) => l("before-enter", c)),
@@ -827,7 +827,7 @@ const Et = {
827
827
  onAfterEnter: r[6] || (r[6] = (c) => l("after-enter", c)),
828
828
  onEnterCancelled: r[7] || (r[7] = (c) => l("enter-cancelled", c)),
829
829
  onBeforeLeave: r[8] || (r[8] = (c) => l("before-leave", c)),
830
- onLeave: u,
830
+ onLeave: d,
831
831
  onAfterLeave: i,
832
832
  onLeaveCancelled: r[9] || (r[9] = (c) => l("leave-cancelled", c))
833
833
  }, {
@@ -837,7 +837,7 @@ const Et = {
837
837
  _: 3
838
838
  }));
839
839
  }
840
- }, Ut = ["data-width"], Ht = { key: 0 }, Kt = { key: 0 }, Se = {
840
+ }, Ft = ["data-width"], Ut = { key: 0 }, Ht = { key: 0 }, Se = {
841
841
  __name: "BsDropdownInternal",
842
842
  props: {
843
843
  shown: {
@@ -887,12 +887,12 @@ const Et = {
887
887
  setup(e, { emit: a }) {
888
888
  const t = e, l = a, n = k(null);
889
889
  let o = !1;
890
- ft([n], () => {
890
+ ct([n], () => {
891
891
  o && l("close");
892
892
  }), re(["Escape"], () => {
893
893
  o && l("close");
894
894
  });
895
- function u() {
895
+ function d() {
896
896
  const y = (t.containerRef || document.getElementById(t.containerId)).getBoundingClientRect(), L = document.getElementById(t.anchorId).getBoundingClientRect(), M = n.value.getBoundingClientRect();
897
897
  if (t.position === "top") {
898
898
  const w = y.bottom - L.bottom;
@@ -919,7 +919,7 @@ const Et = {
919
919
  n.value.style.setProperty("--dropdown-wscreen-width", "");
920
920
  }
921
921
  function s() {
922
- u(), i(), l("enter");
922
+ d(), i(), l("enter");
923
923
  }
924
924
  function r() {
925
925
  o = !0, l("after-enter");
@@ -930,7 +930,7 @@ const Et = {
930
930
  function b() {
931
931
  return t.width === "toggle" ? void 0 : t.width;
932
932
  }
933
- return (g, y) => (d(), A(v(de), {
933
+ return (g, y) => (u(), A(v(de), {
934
934
  shown: e.shown,
935
935
  preloaded: e.preloaded,
936
936
  duration: 75,
@@ -940,35 +940,35 @@ const Et = {
940
940
  onAfterLeave: y[3] || (y[3] = (L) => c())
941
941
  }, {
942
942
  default: C(() => [
943
- m("div", V({
943
+ m("div", D({
944
944
  ref_key: "dropdownRef",
945
945
  ref: n,
946
946
  class: "bs-dropdown",
947
947
  "data-width": b()
948
948
  }, g.$attrs), [
949
- e.helperText ? (d(), f("header", Ht, [
949
+ e.helperText ? (u(), f("header", Ut, [
950
950
  m("div", null, [
951
951
  m("h3", null, T(e.helperText), 1),
952
- e.helperDescription ? (d(), f("p", Kt, T(e.helperDescription), 1)) : $("", !0)
952
+ e.helperDescription ? (u(), f("p", Ht, T(e.helperDescription), 1)) : $("", !0)
953
953
  ]),
954
954
  m("button", {
955
955
  type: "button",
956
956
  title: "close",
957
957
  onClick: y[0] || (y[0] = () => l("close"))
958
958
  }, [
959
- D(v(oe))
959
+ V(v(oe))
960
960
  ])
961
961
  ])) : $("", !0),
962
962
  I(g.$slots, "default")
963
- ], 16, Ut)
963
+ ], 16, Ft)
964
964
  ]),
965
965
  _: 3
966
966
  }, 8, ["shown", "preloaded"]));
967
967
  }
968
- }, Yt = {
968
+ }, Kt = {
969
969
  key: 0,
970
970
  class: "bs-dropdown-backdrop"
971
- }, Xt = {
971
+ }, Yt = {
972
972
  __name: "BsDropdown",
973
973
  props: {
974
974
  shown: {
@@ -1048,14 +1048,14 @@ const Et = {
1048
1048
  "after-leave"
1049
1049
  ],
1050
1050
  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({
1051
+ const t = e, l = a, n = k(null), { transition: o } = se(t), d = p(() => t.toggleId ? t.toggleId : t.anchorId), i = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position);
1052
+ return (s, r) => (u(), f(O, null, [
1053
+ v(o) ? (u(), f("div", Kt)) : $("", !0),
1054
+ e.containerId ? (u(), A(v(Se), D({
1055
1055
  key: 1,
1056
1056
  shown: v(o),
1057
1057
  preloaded: e.preloaded,
1058
- "anchor-id": u.value,
1058
+ "anchor-id": d.value,
1059
1059
  "container-id": e.containerId,
1060
1060
  "helper-description": e.helperDescription,
1061
1061
  "helper-text": e.helperText,
@@ -1071,16 +1071,16 @@ const Et = {
1071
1071
  I(s.$slots, "default")
1072
1072
  ]),
1073
1073
  _: 3
1074
- }, 16, ["shown", "preloaded", "anchor-id", "container-id", "helper-description", "helper-text", "position", "width"])) : (d(), f("div", {
1074
+ }, 16, ["shown", "preloaded", "anchor-id", "container-id", "helper-description", "helper-text", "position", "width"])) : (u(), f("div", {
1075
1075
  key: 2,
1076
1076
  ref_key: "containerRef",
1077
1077
  ref: n,
1078
1078
  style: { position: "relative" }
1079
1079
  }, [
1080
- D(v(Se), V({
1080
+ V(v(Se), D({
1081
1081
  shown: v(o),
1082
1082
  preloaded: e.preloaded,
1083
- "anchor-id": u.value,
1083
+ "anchor-id": d.value,
1084
1084
  "container-ref": n.value,
1085
1085
  "helper-description": e.helperDescription,
1086
1086
  "helper-text": e.helperText,
@@ -1100,7 +1100,7 @@ const Et = {
1100
1100
  ], 512))
1101
1101
  ], 64));
1102
1102
  }
1103
- }, Zt = ["data-value", "data-variant", "id"], Jt = {
1103
+ }, Xt = ["data-value", "data-variant", "id"], Zt = {
1104
1104
  __name: "BsDropdownOption",
1105
1105
  props: {
1106
1106
  value: {
@@ -1116,13 +1116,13 @@ const Et = {
1116
1116
  const a = e, t = k(null), l = te("optionsId"), n = te("handleSelect"), o = p(() => `${l}-option-${a.value}`);
1117
1117
  re([" ", "Enter", "NumpadEnter"], (i) => {
1118
1118
  var s;
1119
- u(), (s = t.value.querySelector("a")) == null || s.click(), i.preventDefault();
1119
+ d(), (s = t.value.querySelector("a")) == null || s.click(), i.preventDefault();
1120
1120
  }, t);
1121
- function u() {
1121
+ function d() {
1122
1122
  var i;
1123
1123
  n(o.value, a.value), (i = t.value.querySelector("a")) == null || i.click();
1124
1124
  }
1125
- return (i, s) => (d(), f("li", {
1125
+ return (i, s) => (u(), f("li", {
1126
1126
  "data-component": "bs-dropdown-option",
1127
1127
  "data-value": a.value,
1128
1128
  ref_key: "optionRef",
@@ -1131,12 +1131,12 @@ const Et = {
1131
1131
  "data-variant": e.variant || void 0,
1132
1132
  id: o.value,
1133
1133
  tabIndex: -1,
1134
- onClick: u
1134
+ onClick: d
1135
1135
  }, [
1136
1136
  I(i.$slots, "default")
1137
- ], 8, Zt));
1137
+ ], 8, Xt));
1138
1138
  }
1139
- }, Qt = ["aria-activedescendant", "aria-label", "id"], _t = {
1139
+ }, Jt = ["aria-activedescendant", "aria-label", "id"], Qt = {
1140
1140
  __name: "BsDropdownOptionList",
1141
1141
  props: {
1142
1142
  optionsId: {
@@ -1175,12 +1175,12 @@ const Et = {
1175
1175
  emits: ["optselected", "update:modelValue", "close"],
1176
1176
  setup(e, { emit: a }) {
1177
1177
  const t = e, l = a, n = k(null), o = k(null);
1178
- let u = null, i = -1, s = -1;
1178
+ let d = null, i = -1, s = -1;
1179
1179
  ae("optionsId", t.optionsId), ae("handleSelect", P);
1180
1180
  function r() {
1181
- return u || (u = Array.from(n.value.querySelectorAll('[data-component="bs-dropdown-option"]'))), u;
1181
+ return d || (d = Array.from(n.value.querySelectorAll('[data-component="bs-dropdown-option"]'))), d;
1182
1182
  }
1183
- O(() => {
1183
+ N(() => {
1184
1184
  g(), document.addEventListener("keydown", L);
1185
1185
  }), Ge(() => {
1186
1186
  document.removeEventListener("keydown", L);
@@ -1191,18 +1191,18 @@ const Et = {
1191
1191
  });
1192
1192
  const c = p(() => t.visible || t.shown), b = p(() => t.modelValue || t.selectedValue);
1193
1193
  function g() {
1194
- var w, S, q, j, ee;
1194
+ var w, S, q, W, ee;
1195
1195
  c.value ? (s = r().findIndex(
1196
1196
  (J) => J.getAttribute("data-value") === String(b.value)
1197
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(() => {
1198
1198
  var J;
1199
1199
  (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"));
1200
+ }, 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
1201
  }
1202
- vt(
1202
+ ft(
1203
1203
  n,
1204
1204
  () => {
1205
- u = null;
1205
+ d = null;
1206
1206
  },
1207
1207
  { childList: !0 }
1208
1208
  );
@@ -1251,7 +1251,7 @@ const Et = {
1251
1251
  function P(w, S) {
1252
1252
  o.value = w, y(), l("optselected", S), l("update:modelValue", S), l("close");
1253
1253
  }
1254
- return (w, S) => (d(), f("ul", {
1254
+ return (w, S) => (u(), f("ul", {
1255
1255
  ref_key: "optionsRef",
1256
1256
  ref: n,
1257
1257
  "aria-activedescendant": o.value || void 0,
@@ -1261,9 +1261,9 @@ const Et = {
1261
1261
  role: "listbox"
1262
1262
  }, [
1263
1263
  I(w.$slots, "default")
1264
- ], 8, Qt));
1264
+ ], 8, Jt));
1265
1265
  }
1266
- }, ea = {
1266
+ }, _t = {
1267
1267
  __name: "BsDropdownWithOptions",
1268
1268
  props: {
1269
1269
  // OPTION LIST PROPS
@@ -1370,10 +1370,10 @@ const Et = {
1370
1370
  function o(i) {
1371
1371
  l.value = !1, t("optselected", i), t("update:modelValue", i), t("close");
1372
1372
  }
1373
- function u() {
1373
+ function d() {
1374
1374
  l.value && (l.value = !1, t("close"));
1375
1375
  }
1376
- return (i, s) => (d(), A(v(Xt), {
1376
+ return (i, s) => (u(), A(v(Yt), {
1377
1377
  shown: e.shown,
1378
1378
  preloaded: e.preloaded,
1379
1379
  "anchor-id": e.anchorId,
@@ -1389,20 +1389,20 @@ const Et = {
1389
1389
  "toggle-id": e.toggleId,
1390
1390
  top: e.top,
1391
1391
  width: e.width,
1392
- onClose: u,
1392
+ onClose: d,
1393
1393
  onAfterEnter: s[0] || (s[0] = (r) => t("after-enter")),
1394
1394
  onEnter: n,
1395
1395
  onAfterLeave: s[1] || (s[1] = (r) => t("after-leave"))
1396
1396
  }, {
1397
1397
  default: C(() => [
1398
- D(v(_t), {
1398
+ V(v(Qt), {
1399
1399
  label: e.label,
1400
1400
  "model-value": e.modelValue,
1401
1401
  "options-id": e.optionsId,
1402
1402
  "selected-value": e.selectedValue,
1403
1403
  shown: l.value,
1404
1404
  "onUpdate:modelValue": o,
1405
- onClose: u
1405
+ onClose: d
1406
1406
  }, {
1407
1407
  default: C(() => [
1408
1408
  I(i.$slots, "default")
@@ -1413,10 +1413,10 @@ const Et = {
1413
1413
  _: 3
1414
1414
  }, 8, ["shown", "preloaded", "anchor-id", "center", "container-id", "enter-controlled", "enter-trigger", "helper-description", "helper-text", "leave-trigger", "position", "right", "toggle-id", "top", "width"]));
1415
1415
  }
1416
- }, ta = {
1416
+ }, ea = {
1417
1417
  class: "bs-field-details",
1418
1418
  "data-component": "bs-field-details"
1419
- }, aa = ["id", "data-error"], na = ["data-error"], pe = {
1419
+ }, ta = ["id", "data-error"], aa = ["data-error"], pe = {
1420
1420
  __name: "BsFieldDetails",
1421
1421
  props: {
1422
1422
  /** The number of characters that have been entered by the user. */
@@ -1437,22 +1437,22 @@ const Et = {
1437
1437
  },
1438
1438
  setup(e) {
1439
1439
  const a = e, t = p(() => a.error && a.errorMsg || a.hint);
1440
- return (l, n) => (d(), f("div", ta, [
1441
- t.value ? (d(), f("span", {
1440
+ return (l, n) => (u(), f("div", ea, [
1441
+ t.value ? (u(), f("span", {
1442
1442
  key: 0,
1443
1443
  id: e.hintId,
1444
1444
  class: "bs-hint",
1445
1445
  "data-error": e.error
1446
- }, T(t.value), 9, aa)) : $("", !0),
1447
- e.charMax ? (d(), f("span", {
1446
+ }, T(t.value), 9, ta)) : $("", !0),
1447
+ e.charMax ? (u(), f("span", {
1448
1448
  key: 1,
1449
1449
  "aria-description": "character count over character limit for the preceding text field",
1450
1450
  class: "bs-character-count",
1451
1451
  "data-error": a.charCount > a.charMax
1452
- }, T(a.charCount || "0") + " / " + T(a.charMax), 9, na)) : $("", !0)
1452
+ }, T(a.charCount || "0") + " / " + T(a.charMax), 9, aa)) : $("", !0)
1453
1453
  ]));
1454
1454
  }
1455
- }, la = ["view-box"], oa = ["id"], ia = ["offset", "stop-color"], zn = {
1455
+ }, na = ["view-box"], la = ["id"], oa = ["offset", "stop-color"], qn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1456
1456
  __name: "BsIconGradientWrapper",
1457
1457
  setup(e) {
1458
1458
  const a = k(null), t = k(null), l = [
@@ -1460,18 +1460,18 @@ const Et = {
1460
1460
  { offset: 0.5466, color: "#1C0087" },
1461
1461
  { offset: 0.9715, color: "#0086EA" }
1462
1462
  ], [n] = H();
1463
- return O(() => {
1463
+ return N(() => {
1464
1464
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
1465
- }), (o, u) => (d(), f(R, null, [
1466
- m("span", {
1465
+ }), (o, d) => (u(), f(O, null, [
1466
+ m("span", D({
1467
1467
  ref_key: "svgWrapperRef",
1468
1468
  ref: a,
1469
1469
  class: "bs-icon-gradient-wrapper",
1470
- style: Fe(`fill: url(#${v(n)});`)
1471
- }, [
1470
+ style: `fill: url(#${v(n)});`
1471
+ }, o.$attrs), [
1472
1472
  I(o.$slots, "default")
1473
- ], 4),
1474
- (d(), f("svg", {
1473
+ ], 16),
1474
+ (u(), f("svg", {
1475
1475
  xmlns: "http://www.w3.org/2000/svg",
1476
1476
  "view-box": t.value,
1477
1477
  width: "0",
@@ -1485,16 +1485,16 @@ const Et = {
1485
1485
  y2: "100%",
1486
1486
  "gradient-units": "userSpaceOnUse"
1487
1487
  }, [
1488
- (d(), f(R, null, Y(l, (i) => m("stop", {
1488
+ (u(), f(O, null, Y(l, (i) => m("stop", {
1489
1489
  key: i.offset,
1490
1490
  offset: i.offset,
1491
1491
  "stop-color": i.color
1492
- }, null, 8, ia)), 64))
1493
- ], 8, oa)
1494
- ], 8, la))
1492
+ }, null, 8, oa)), 64))
1493
+ ], 8, la)
1494
+ ], 8, na))
1495
1495
  ], 64));
1496
1496
  }
1497
- }, ra = ["data-error", "id", "value"], we = {
1497
+ }), ia = ["data-error", "id", "value"], we = {
1498
1498
  __name: "BsInput",
1499
1499
  props: {
1500
1500
  error: {
@@ -1509,21 +1509,21 @@ const Et = {
1509
1509
  },
1510
1510
  emits: ["update:modelValue"],
1511
1511
  setup(e, { emit: a }) {
1512
- const t = e, l = a, n = N(), o = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
1513
- function u(i) {
1512
+ const t = e, l = a, n = R(), o = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
1513
+ function d(i) {
1514
1514
  const s = n.type === "number" ? parseInt(i.target.value) : i.target.value;
1515
1515
  l("update:modelValue", s);
1516
1516
  }
1517
- return (i, s) => (d(), f("input", V({
1517
+ return (i, s) => (u(), f("input", D({
1518
1518
  class: "bs-input",
1519
1519
  "data-component": "bs-input",
1520
1520
  "data-error": e.error,
1521
1521
  id: i.$attrs.id || e.inputId,
1522
1522
  value: e.value || e.modelValue,
1523
- onInput: u
1524
- }, o.value), null, 16, ra));
1523
+ onInput: d
1524
+ }, o.value), null, 16, ia));
1525
1525
  }
1526
- }, sa = ["data-disabled", "data-error", "data-variant", "data-multifocus"], da = {
1526
+ }, ra = ["data-disabled", "data-error", "data-variant", "data-multifocus"], sa = {
1527
1527
  __name: "BsInputAddon",
1528
1528
  props: {
1529
1529
  disabled: { type: Boolean, default: !1 },
@@ -1532,7 +1532,7 @@ const Et = {
1532
1532
  variant: { type: String, validator: (e) => e === "inner-bordered" }
1533
1533
  },
1534
1534
  setup(e) {
1535
- return (a, t) => (d(), f("div", {
1535
+ return (a, t) => (u(), f("div", {
1536
1536
  class: "bs-input-addon",
1537
1537
  "data-component": "bs-input-addon",
1538
1538
  "data-disabled": e.disabled,
@@ -1541,9 +1541,9 @@ const Et = {
1541
1541
  "data-multifocus": e.multifocus
1542
1542
  }, [
1543
1543
  I(a.$slots, "default")
1544
- ], 8, sa));
1544
+ ], 8, ra));
1545
1545
  }
1546
- }, Mn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1546
+ }, zn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1547
1547
  __name: "BsInputField",
1548
1548
  props: {
1549
1549
  /** Sets the disabled state on input, disabled styles on label. */
@@ -1590,7 +1590,7 @@ const Et = {
1590
1590
  },
1591
1591
  emits: ["update:modelValue"],
1592
1592
  setup(e, { emit: a }) {
1593
- const t = e, l = N(), [n, o] = H(2), { toChild: u, toRoot: i } = Z(t, l, [
1593
+ const t = e, l = R(), [n, o] = H(2), { toChild: d, toRoot: i } = Z(t, l, [
1594
1594
  "autocomplete",
1595
1595
  "max",
1596
1596
  "maxlength",
@@ -1602,8 +1602,8 @@ const Et = {
1602
1602
  return ((g = (b = t.hints) == null ? void 0 : b.join) == null ? void 0 : g.call(b, `
1603
1603
  `)) || t.hints;
1604
1604
  }), 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(_, {
1605
+ return (b, g) => (u(), f("div", D({ "data-component": "bs-input-field" }, v(i)), [
1606
+ e.label || b.$slots.label ? (u(), A(_, {
1607
1607
  key: 0,
1608
1608
  for: c.value,
1609
1609
  disabled: e.disabled,
@@ -1611,12 +1611,12 @@ const Et = {
1611
1611
  }, {
1612
1612
  default: C(() => [
1613
1613
  I(b.$slots, "label", {}, () => [
1614
- W(T(e.label), 1)
1614
+ j(T(e.label), 1)
1615
1615
  ])
1616
1616
  ]),
1617
1617
  _: 3
1618
1618
  }, 8, ["for", "disabled", "required"])) : $("", !0),
1619
- D(we, V({
1619
+ V(we, D({
1620
1620
  disabled: e.disabled,
1621
1621
  error: e.error,
1622
1622
  "hint-id": v(o),
@@ -1626,8 +1626,8 @@ const Et = {
1626
1626
  type: e.type,
1627
1627
  value: e.value || e.modelValue,
1628
1628
  "onUpdate:modelValue": g[0] || (g[0] = (y) => b.$emit("update:modelValue", y))
1629
- }, v(u)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
1630
- r.value ? (d(), A(pe, {
1629
+ }, v(d)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
1630
+ r.value ? (u(), A(pe, {
1631
1631
  key: 1,
1632
1632
  error: e.error,
1633
1633
  "error-msg": e.errorMsg,
@@ -1636,7 +1636,7 @@ const Et = {
1636
1636
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : $("", !0)
1637
1637
  ], 16));
1638
1638
  }
1639
- }), Rn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1639
+ }), Mn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1640
1640
  __name: "BsInputSearch",
1641
1641
  props: {
1642
1642
  /** Sets the disabled state on input, disabled styles on label. */
@@ -1669,46 +1669,46 @@ const Et = {
1669
1669
  },
1670
1670
  emits: ["clear", "update:modelValue"],
1671
1671
  setup(e, { emit: a }) {
1672
- const t = e, l = N(), { toChild: n, toRoot: o } = Z(t, l, [
1672
+ const t = e, l = R(), { toChild: n, toRoot: o } = Z(t, l, [
1673
1673
  "autocomplete",
1674
1674
  "maxlength",
1675
1675
  "minlength",
1676
1676
  "name"
1677
1677
  ]);
1678
- return (u, i) => (d(), A(da, V({
1678
+ return (d, i) => (u(), A(sa, D({
1679
1679
  class: "bs-input-search",
1680
1680
  "data-component": "bs-input-search",
1681
1681
  disabled: e.disabled
1682
1682
  }, v(o)), {
1683
1683
  default: C(() => [
1684
- D(v(Ze)),
1685
- D(we, V({
1684
+ V(v(Xe)),
1685
+ V(we, D({
1686
1686
  "data-autowidth": "",
1687
1687
  disabled: e.disabled,
1688
1688
  "input-id": e.inputId,
1689
1689
  placeholder: e.placeholder,
1690
1690
  value: e.value || e.modelValue,
1691
- "onUpdate:modelValue": i[0] || (i[0] = (s) => u.$emit("update:modelValue", s))
1691
+ "onUpdate:modelValue": i[0] || (i[0] = (s) => d.$emit("update:modelValue", s))
1692
1692
  }, v(n)), null, 16, ["disabled", "input-id", "placeholder", "value"]),
1693
- e.disabled || e.hideClear ? $("", !0) : (d(), f("button", {
1693
+ e.disabled || e.hideClear ? $("", !0) : (u(), f("button", {
1694
1694
  key: 0,
1695
1695
  title: "Clear",
1696
1696
  type: "button",
1697
- onClick: i[1] || (i[1] = (s) => u.$emit("clear"))
1697
+ onClick: i[1] || (i[1] = (s) => d.$emit("clear"))
1698
1698
  }, [
1699
- D(v(oe), { size: "sm" })
1699
+ V(v(oe), { size: "sm" })
1700
1700
  ]))
1701
1701
  ]),
1702
1702
  _: 1
1703
1703
  }, 16, ["disabled"]));
1704
1704
  }
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 = [
1705
+ }), da = ["data-size", "data-variant"], ua = /* @__PURE__ */ m("span", null, null, -1), 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", { class: "visually-hidden" }, "Loading", -1), pa = [
1706
+ ua,
1706
1707
  ca,
1707
1708
  fa,
1708
1709
  va,
1709
- ha,
1710
- pa
1711
- ], Nn = {
1710
+ ha
1711
+ ], On = {
1712
1712
  __name: "BsLoader",
1713
1713
  props: {
1714
1714
  size: {
@@ -1722,14 +1722,14 @@ const Et = {
1722
1722
  }
1723
1723
  },
1724
1724
  setup(e) {
1725
- return (a, t) => (d(), f("span", {
1725
+ return (a, t) => (u(), f("span", {
1726
1726
  class: "bs-loader",
1727
1727
  "data-size": e.size,
1728
1728
  "data-variant": e.variant,
1729
1729
  role: "status"
1730
- }, ga, 8, ua));
1730
+ }, pa, 8, da));
1731
1731
  }
1732
- }, ba = /* @__PURE__ */ m("div", { class: "bs-overlay" }, null, -1), ma = {
1732
+ }, ga = /* @__PURE__ */ m("div", { class: "bs-overlay" }, null, -1), ba = {
1733
1733
  __name: "BsOverlay",
1734
1734
  props: {
1735
1735
  shown: {
@@ -1759,24 +1759,24 @@ const Et = {
1759
1759
  emits: ["after-enter", "after-leave"],
1760
1760
  setup(e, { emit: a }) {
1761
1761
  const t = e, l = a, { transition: n } = se(t);
1762
- return (o, u) => (d(), A(v(de), {
1762
+ return (o, d) => (u(), A(v(de), {
1763
1763
  shown: v(n),
1764
1764
  preloaded: e.preloaded,
1765
1765
  duration: 75,
1766
1766
  "enter-attribute": "data-shown",
1767
- onAfterEnter: u[0] || (u[0] = (i) => l("after-enter")),
1768
- onAfterLeave: u[1] || (u[1] = (i) => l("after-leave"))
1767
+ onAfterEnter: d[0] || (d[0] = (i) => l("after-enter")),
1768
+ onAfterLeave: d[1] || (d[1] = (i) => l("after-leave"))
1769
1769
  }, {
1770
1770
  default: C(() => [
1771
- ba
1771
+ ga
1772
1772
  ]),
1773
1773
  _: 1
1774
1774
  }, 8, ["shown", "preloaded"]));
1775
1775
  }
1776
- }, ya = ["id", "role"], Ba = {
1776
+ }, ma = ["id", "role"], ya = {
1777
1777
  key: 0,
1778
1778
  class: "close-button-container"
1779
- }, On = {
1779
+ }, Rn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1780
1780
  __name: "BsModal",
1781
1781
  props: {
1782
1782
  modalId: {
@@ -1825,57 +1825,57 @@ const Et = {
1825
1825
  let o = !1;
1826
1826
  return re(["Escape"], () => {
1827
1827
  o && l("close", t.modalId);
1828
- }), (u, i) => (d(), f(R, null, [
1829
- D(ma, {
1828
+ }), (d, i) => (u(), f(O, null, [
1829
+ V(ba, {
1830
1830
  shown: v(n),
1831
1831
  preloaded: e.preloaded,
1832
1832
  "enter-controlled": e.enterControlled,
1833
1833
  "enter-trigger": e.enterTrigger,
1834
1834
  "leave-trigger": e.leaveTrigger
1835
1835
  }, null, 8, ["shown", "preloaded", "enter-controlled", "enter-trigger", "leave-trigger"]),
1836
- D(de, {
1836
+ V(de, {
1837
1837
  shown: v(n),
1838
1838
  preloaded: e.preloaded,
1839
1839
  duration: 75,
1840
1840
  "enter-attribute": "data-shown",
1841
- onEnter: i[1] || (i[1] = (s) => Ue(o) ? o.value = !0 : o = !0),
1841
+ onEnter: i[1] || (i[1] = (s) => Fe(o) ? o.value = !0 : o = !0),
1842
1842
  onAfterEnter: i[2] || (i[2] = (s) => l("after-enter")),
1843
1843
  onAfterLeave: i[3] || (i[3] = (s) => l("after-leave"))
1844
1844
  }, {
1845
1845
  default: C(() => [
1846
- m("div", {
1846
+ m("div", D({
1847
1847
  id: t.modalId,
1848
1848
  class: "bs-modal",
1849
1849
  role: e.alert ? "alertdialog" : "dialog",
1850
1850
  "aria-modal": "true"
1851
- }, [
1852
- e.closeButton ? (d(), f("div", Ba, [
1851
+ }, d.$attrs), [
1852
+ e.closeButton ? (u(), f("div", ya, [
1853
1853
  m("button", {
1854
1854
  type: "button",
1855
1855
  title: "Close Modal",
1856
1856
  "aria-label": "Close Modal",
1857
1857
  onClick: i[0] || (i[0] = (s) => l("close", e.modalId))
1858
1858
  }, [
1859
- D(v(oe), { class: "close-button" })
1859
+ V(v(oe), { class: "close-button" })
1860
1860
  ])
1861
1861
  ])) : $("", !0),
1862
- I(u.$slots, "default")
1863
- ], 8, ya)
1862
+ I(d.$slots, "default")
1863
+ ], 16, ma)
1864
1864
  ]),
1865
1865
  _: 3
1866
1866
  }, 8, ["shown", "preloaded"])
1867
1867
  ], 64));
1868
1868
  }
1869
- }, $a = ["data-variant", "data-fixed"], Sa = {
1869
+ }), Ba = ["data-variant", "data-fixed"], $a = {
1870
1870
  key: 0,
1871
1871
  class: "bs-pagination-carets"
1872
- }, wa = ["title", "disabled"], ka = { key: 0 }, Ia = ["title", "disabled"], Ta = { key: 0 }, xa = {
1872
+ }, Sa = ["title", "disabled"], wa = { key: 0 }, ka = ["title", "disabled"], Ia = { key: 0 }, Ta = {
1873
1873
  key: 1,
1874
1874
  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 = {
1875
+ }, xa = ["title", "data-selected", "onClick"], Ca = { key: 2 }, Aa = { key: 3 }, La = /* @__PURE__ */ m("span", null, "Results Per Page:", -1), Pa = { class: "bs-pagination-results-numbers" }, Da = ["data-selected", "disabled", "onClick"], Va = {
1876
1876
  key: 5,
1877
1877
  class: "bs-pagination-carets"
1878
- }, qa = ["title", "disabled"], za = { key: 0 }, Ma = ["title", "disabled"], Ra = { key: 0 }, Wn = {
1878
+ }, Ea = ["title", "disabled"], qa = { key: 0 }, za = ["title", "disabled"], Ma = { key: 0 }, Nn = {
1879
1879
  __name: "BsPagination",
1880
1880
  props: {
1881
1881
  // Used for all
@@ -1962,7 +1962,7 @@ const Et = {
1962
1962
  emits: ["selchange", "update:modelValue"],
1963
1963
  setup(e, { emit: a }) {
1964
1964
  const t = e, l = a, n = k(null);
1965
- O(() => {
1965
+ N(() => {
1966
1966
  o.value ? n.value = o.value : t.variant === "results" ? n.value = M.value[0] : n.value = 1;
1967
1967
  });
1968
1968
  const o = p(() => t.modelValue || t.selection);
@@ -1973,7 +1973,7 @@ const Et = {
1973
1973
  }), E(n, (P, w) => {
1974
1974
  w !== null && (l("selchange", P), l("update:modelValue", P));
1975
1975
  });
1976
- const u = p(() => {
1976
+ const d = p(() => {
1977
1977
  if (t.variant === "group")
1978
1978
  return Math.ceil(t.itemsCount / t.itemsPerGroup);
1979
1979
  if (t.variant === "base")
@@ -1988,11 +1988,11 @@ const Et = {
1988
1988
  function c() {
1989
1989
  n.value = Math.min(
1990
1990
  n.value + 1,
1991
- u.value
1991
+ d.value
1992
1992
  );
1993
1993
  }
1994
1994
  function b() {
1995
- n.value = u.value;
1995
+ n.value = d.value;
1996
1996
  }
1997
1997
  const g = p(() => {
1998
1998
  if (t.pageCount <= t.pageRange)
@@ -2000,20 +2000,20 @@ const Et = {
2000
2000
  const P = [1], w = (t.pageRange - 1) / 2;
2001
2001
  let S = n.value - w, q = n.value + w;
2002
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);
2003
+ for (let W = S; W <= q; W++)
2004
+ P.push(W);
2005
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(() => {
2006
+ }), y = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${d.value}`), L = p(() => {
2007
2007
  const P = (n.value - 1) * t.itemsPerGroup + 1, w = Math.min(P - 1 + t.itemsPerGroup, t.itemsCount);
2008
2008
  return `${t.centerLabel ?? "Results"} ${P} - ${w} of ${t.itemsCount}`;
2009
2009
  }), M = p(() => t.resultsIncrements.split(",").map((P) => parseInt(P)));
2010
- return (P, w) => (d(), f("div", {
2010
+ return (P, w) => (u(), f("div", {
2011
2011
  class: "bs-pagination",
2012
2012
  "data-variant": i.value,
2013
2013
  "data-fixed": t.fixed
2014
2014
  }, [
2015
- e.variant === "base" || e.variant === "group" ? (d(), f("div", Sa, [
2016
- e.showFirstLastButtons ? (d(), f("button", {
2015
+ e.variant === "base" || e.variant === "group" ? (u(), f("div", $a, [
2016
+ e.showFirstLastButtons ? (u(), f("button", {
2017
2017
  key: 0,
2018
2018
  type: "button",
2019
2019
  class: X(e.firstPageText ? "bs-pagination-word-caret" : void 0),
@@ -2021,9 +2021,9 @@ const Et = {
2021
2021
  disabled: n.value === 1,
2022
2022
  onClick: s
2023
2023
  }, [
2024
- D(v(Je)),
2025
- e.firstPageText ? (d(), f("span", ka, T(e.firstPageText), 1)) : $("", !0)
2026
- ], 10, wa)) : $("", !0),
2024
+ V(v(Ze)),
2025
+ e.firstPageText ? (u(), f("span", wa, T(e.firstPageText), 1)) : $("", !0)
2026
+ ], 10, Sa)) : $("", !0),
2027
2027
  m("button", {
2028
2028
  type: "button",
2029
2029
  class: X(e.prevPageText ? "bs-pagination-word-caret" : void 0),
@@ -2031,59 +2031,59 @@ const Et = {
2031
2031
  disabled: n.value === 1,
2032
2032
  onClick: r
2033
2033
  }, [
2034
- D(v(Qe)),
2035
- e.prevPageText ? (d(), f("span", Ta, T(e.prevPageText), 1)) : $("", !0)
2036
- ], 10, Ia)
2034
+ V(v(Je)),
2035
+ e.prevPageText ? (u(), f("span", Ia, T(e.prevPageText), 1)) : $("", !0)
2036
+ ], 10, ka)
2037
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", {
2038
+ e.variant === "base" && e.centerDisplay === "numbers" ? (u(), f("div", Ta, [
2039
+ (u(!0), f(O, null, Y(g.value, (S) => (u(), f("button", {
2040
2040
  key: `page-${S}-button`,
2041
2041
  type: "button",
2042
2042
  title: `Page ${S}`,
2043
2043
  "data-selected": S === n.value,
2044
2044
  onClick: (q) => n.value = S
2045
- }, T(S), 9, Ca))), 128))
2045
+ }, T(S), 9, xa))), 128))
2046
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 }, [
2050
- Pa,
2051
- m("div", Da, [
2052
- (d(!0), f(R, null, Y(M.value, (S) => (d(), f("button", {
2047
+ t.variant === "base" && t.centerDisplay === "text" ? (u(), f("span", Ca, T(y.value), 1)) : $("", !0),
2048
+ t.variant === "group" ? (u(), f("span", Aa, T(L.value), 1)) : $("", !0),
2049
+ t.variant === "results" ? (u(), f(O, { key: 4 }, [
2050
+ La,
2051
+ m("div", Pa, [
2052
+ (u(!0), f(O, null, Y(M.value, (S) => (u(), f("button", {
2053
2053
  type: "button",
2054
2054
  key: `results-${S}`,
2055
2055
  "data-selected": S === n.value,
2056
2056
  disabled: n.value === S,
2057
2057
  onClick: (q) => n.value = S
2058
- }, T(S), 9, Va))), 128))
2058
+ }, T(S), 9, Da))), 128))
2059
2059
  ])
2060
2060
  ], 64)) : $("", !0),
2061
- e.variant === "base" || e.variant === "group" ? (d(), f("div", Ea, [
2061
+ e.variant === "base" || e.variant === "group" ? (u(), f("div", Va, [
2062
2062
  m("button", {
2063
2063
  type: "button",
2064
2064
  class: X(e.nextPageText ? "bs-pagination-word-caret" : void 0),
2065
2065
  title: e.nextPageText,
2066
- disabled: n.value === u.value,
2066
+ disabled: n.value === d.value,
2067
2067
  onClick: c
2068
2068
  }, [
2069
- e.nextPageText ? (d(), f("span", za, T(e.nextPageText), 1)) : $("", !0),
2070
- D(v(_e))
2071
- ], 10, qa),
2072
- e.showFirstLastButtons ? (d(), f("button", {
2069
+ e.nextPageText ? (u(), f("span", qa, T(e.nextPageText), 1)) : $("", !0),
2070
+ V(v(Qe))
2071
+ ], 10, Ea),
2072
+ e.showFirstLastButtons ? (u(), f("button", {
2073
2073
  key: 0,
2074
2074
  type: "button",
2075
2075
  class: X(e.lastPageText ? "bs-pagination-word-caret" : void 0),
2076
2076
  title: e.lastPageText,
2077
- disabled: n.value === u.value,
2077
+ disabled: n.value === d.value,
2078
2078
  onClick: b
2079
2079
  }, [
2080
- e.lastPageText ? (d(), f("span", Ra, T(e.lastPageText), 1)) : $("", !0),
2081
- D(v(et))
2082
- ], 10, Ma)) : $("", !0)
2080
+ e.lastPageText ? (u(), f("span", Ma, T(e.lastPageText), 1)) : $("", !0),
2081
+ V(v(_e))
2082
+ ], 10, za)) : $("", !0)
2083
2083
  ])) : $("", !0)
2084
- ], 8, $a));
2084
+ ], 8, Ba));
2085
2085
  }
2086
- }, Na = ["data-truncate"], jn = {
2086
+ }, Oa = ["data-truncate"], jn = {
2087
2087
  __name: "BsPill",
2088
2088
  props: {
2089
2089
  active: { type: Boolean, default: !1 },
@@ -2105,8 +2105,8 @@ const Et = {
2105
2105
  }
2106
2106
  },
2107
2107
  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({
2108
+ const a = e, { onLinkClick: t } = ie(a), l = R(), { rootTag: n, attrsToBind: o } = he(a, l, "span");
2109
+ return (d, i) => (u(), A(U(v(n)), D({
2110
2110
  class: "bs-pill",
2111
2111
  "data-active": e.active,
2112
2112
  "data-component": "bs-pill",
@@ -2117,23 +2117,23 @@ const Et = {
2117
2117
  }, v(o), { onClick: v(t) }), {
2118
2118
  default: C(() => [
2119
2119
  m("span", { "data-truncate": e.truncate }, [
2120
- I(u.$slots, "default")
2121
- ], 8, Na)
2120
+ I(d.$slots, "default")
2121
+ ], 8, Oa)
2122
2122
  ]),
2123
2123
  _: 3
2124
2124
  }, 16, ["data-active", "data-status", "data-variant", "disabled", "href", "onClick"]));
2125
2125
  }
2126
- }, Oa = { class: "bs-profile-details" }, Wa = {
2126
+ }, Ra = { class: "bs-profile-details" }, Na = {
2127
2127
  class: "bs-profile-name",
2128
2128
  "data-size": "sm",
2129
2129
  "data-weight": "bold"
2130
2130
  }, ja = {
2131
2131
  key: 1,
2132
2132
  "data-weight": "bold"
2133
- }, Ga = { key: 2 }, Fa = { key: 3 }, Ua = {
2133
+ }, Wa = { key: 2 }, Ga = { key: 3 }, Fa = {
2134
2134
  key: 4,
2135
2135
  "data-icon": "true"
2136
- }, Ha = {
2136
+ }, Ua = {
2137
2137
  __name: "BsProfileDetails",
2138
2138
  props: {
2139
2139
  profileName: {
@@ -2151,39 +2151,39 @@ const Et = {
2151
2151
  emits: ["action-toggled"],
2152
2152
  setup(e, { emit: a }) {
2153
2153
  const t = e, l = a, { icon: n } = le(t, "actionIcon"), { icon: o } = le(t, "miscMetaIcon");
2154
- function u(i) {
2154
+ function d(i) {
2155
2155
  i.target.tagName === "BUTTON" && (i.preventDefault(), i.stopImmediatePropagation(), l("action-toggled"));
2156
2156
  }
2157
- return (i, s) => (d(), f("div", Oa, [
2158
- e.action || i.$slots.action ? (d(), f("button", {
2157
+ return (i, s) => (u(), f("div", Ra, [
2158
+ e.action || i.$slots.action ? (u(), f("button", {
2159
2159
  key: 0,
2160
2160
  "data-icon": "true",
2161
- onClick: u
2161
+ onClick: d
2162
2162
  }, [
2163
2163
  I(i.$slots, "action", {}, () => [
2164
- e.actionIcon ? (d(), A(U(v(n) ? v(n) : "span"), {
2164
+ e.actionIcon ? (u(), A(U(v(n) ? v(n) : "span"), {
2165
2165
  key: 0,
2166
2166
  class: "bs-icon"
2167
2167
  })) : $("", !0),
2168
- W(" " + T(e.action), 1)
2168
+ j(" " + T(e.action), 1)
2169
2169
  ])
2170
2170
  ])) : $("", !0),
2171
- 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, [
2171
+ m("span", Na, T(e.profileName), 1),
2172
+ e.company ? (u(), f("span", ja, T(e.company), 1)) : $("", !0),
2173
+ e.jobTitle ? (u(), f("span", Wa, T(e.jobTitle), 1)) : $("", !0),
2174
+ e.email ? (u(), f("span", Ga, T(e.email), 1)) : $("", !0),
2175
+ e.miscMeta || i.$slots.misc ? (u(), f("span", Fa, [
2176
2176
  I(i.$slots, "misc", {}, () => [
2177
- e.miscMetaIcon ? (d(), A(U(v(o) ? v(o) : "span"), {
2177
+ e.miscMetaIcon ? (u(), A(U(v(o) ? v(o) : "span"), {
2178
2178
  key: 0,
2179
2179
  class: "bs-icon"
2180
2180
  })) : $("", !0),
2181
- W(" " + T(e.miscMeta), 1)
2181
+ j(" " + T(e.miscMeta), 1)
2182
2182
  ])
2183
2183
  ])) : $("", !0)
2184
2184
  ]));
2185
2185
  }
2186
- }, Ka = ["data-img-size", "data-initials", "data-no-img"], Ya = ["src", "alt"], Xa = {
2186
+ }, Ha = ["data-img-size", "data-initials", "data-no-img"], Ka = ["src", "alt"], Ya = {
2187
2187
  __name: "BsProfileImg",
2188
2188
  props: {
2189
2189
  src: String,
@@ -2199,21 +2199,21 @@ const Et = {
2199
2199
  },
2200
2200
  setup(e) {
2201
2201
  const a = e, t = k(!1), l = k(!!a.src);
2202
- return O(() => t.value = !0), (n, o) => (d(), f("div", {
2202
+ return N(() => t.value = !0), (n, o) => (u(), f("div", {
2203
2203
  class: "bs-profile-img",
2204
2204
  "data-img-size": e.size,
2205
2205
  "data-initials": e.initials,
2206
2206
  "data-no-img": !l.value
2207
2207
  }, [
2208
- l.value && t.value ? (d(), f("img", {
2208
+ l.value && t.value ? (u(), f("img", {
2209
2209
  key: 0,
2210
2210
  src: e.src,
2211
2211
  alt: e.profileName,
2212
- onError: o[0] || (o[0] = (u) => l.value = !1)
2213
- }, null, 40, Ya)) : $("", !0)
2214
- ], 8, Ka));
2212
+ onError: o[0] || (o[0] = (d) => l.value = !1)
2213
+ }, null, 40, Ka)) : $("", !0)
2214
+ ], 8, Ha));
2215
2215
  }
2216
- }, Gn = {
2216
+ }, Wn = {
2217
2217
  __name: "BsProfile",
2218
2218
  props: {
2219
2219
  layout: {
@@ -2242,20 +2242,20 @@ const Et = {
2242
2242
  emits: ["action-toggled"],
2243
2243
  setup(e, { emit: a }) {
2244
2244
  const t = e, l = a, { onLinkClick: n } = ie(t), o = p(() => t.href ? "a" : "div");
2245
- return (u, i) => (d(), A(U(o.value), {
2245
+ return (d, i) => (u(), A(U(o.value), {
2246
2246
  class: "bs-profile",
2247
2247
  href: e.href,
2248
2248
  "data-layout": e.layout,
2249
2249
  onClick: v(n)
2250
2250
  }, {
2251
2251
  default: C(() => [
2252
- D(Xa, {
2252
+ V(Ya, {
2253
2253
  src: e.imageSrc,
2254
2254
  size: e.imageSize,
2255
2255
  initials: e.initials,
2256
2256
  "profile-name": e.profileName
2257
2257
  }, null, 8, ["src", "size", "initials", "profile-name"]),
2258
- D(Ha, {
2258
+ V(Ua, {
2259
2259
  "profile-name": e.profileName,
2260
2260
  company: e.company,
2261
2261
  "job-title": e.jobTitle,
@@ -2267,10 +2267,10 @@ const Et = {
2267
2267
  onActionToggled: i[0] || (i[0] = (s) => l("action-toggled"))
2268
2268
  }, {
2269
2269
  action: C(() => [
2270
- I(u.$slots, "action")
2270
+ I(d.$slots, "action")
2271
2271
  ]),
2272
2272
  misc: C(() => [
2273
- I(u.$slots, "misc")
2273
+ I(d.$slots, "misc")
2274
2274
  ]),
2275
2275
  _: 3
2276
2276
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -2278,7 +2278,7 @@ const Et = {
2278
2278
  _: 3
2279
2279
  }, 8, ["href", "data-layout", "onClick"]));
2280
2280
  }
2281
- }, Za = ["data-size"], Ja = ["checked", "disabled", "id", "required", "value", "data-error"], Fn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2281
+ }, Xa = ["data-size"], Za = ["checked", "disabled", "id", "required", "value", "data-error"], Gn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2282
2282
  __name: "BsRadio",
2283
2283
  props: {
2284
2284
  label: {
@@ -2322,13 +2322,13 @@ const Et = {
2322
2322
  },
2323
2323
  emits: ["update:modelValue"],
2324
2324
  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({
2325
+ const t = e, l = R(), [n] = H(), { toChild: o, toRoot: d } = Z(t, l, ["name"]), i = p(() => t.inputId || n.value), s = p(() => t.checked || t.modelValue && t.modelValue === t.value);
2326
+ return (r, c) => (u(), f("div", D({
2327
2327
  class: "bs-boolean",
2328
2328
  "data-component": "bs-radio",
2329
2329
  "data-size": e.size
2330
- }, v(u)), [
2331
- m("input", V({
2330
+ }, v(d)), [
2331
+ m("input", D({
2332
2332
  checked: s.value,
2333
2333
  disabled: e.disabled,
2334
2334
  id: i.value,
@@ -2338,8 +2338,8 @@ const Et = {
2338
2338
  "data-error": e.error
2339
2339
  }, v(o), {
2340
2340
  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(_, {
2341
+ }), null, 16, Za),
2342
+ e.label || r.$slots.label ? (u(), A(_, {
2343
2343
  key: 0,
2344
2344
  for: i.value,
2345
2345
  disabled: e.disabled,
@@ -2347,14 +2347,14 @@ const Et = {
2347
2347
  }, {
2348
2348
  default: C(() => [
2349
2349
  I(r.$slots, "label", {}, () => [
2350
- W(T(e.label), 1)
2350
+ j(T(e.label), 1)
2351
2351
  ])
2352
2352
  ]),
2353
2353
  _: 3
2354
2354
  }, 8, ["for", "disabled", "required"])) : $("", !0)
2355
- ], 16, Za));
2355
+ ], 16, Xa));
2356
2356
  }
2357
- }), Qa = ["id", "disabled", "required", "data-error", "value"], _a = {
2357
+ }), Ja = ["id", "disabled", "required", "data-error", "value"], Qa = {
2358
2358
  __name: "BsSelect",
2359
2359
  props: {
2360
2360
  disabled: { type: Boolean, default: !1 },
@@ -2368,7 +2368,7 @@ const Et = {
2368
2368
  emits: ["update:modelValue"],
2369
2369
  setup(e, { emit: a }) {
2370
2370
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
2371
- return (n, o) => (d(), f("select", V({
2371
+ return (n, o) => (u(), f("select", D({
2372
2372
  id: n.$attrs.id || e.inputId,
2373
2373
  class: "bs-select",
2374
2374
  "data-component": "bs-select",
@@ -2377,12 +2377,12 @@ const Et = {
2377
2377
  "data-error": e.error,
2378
2378
  value: e.value || e.modelValue
2379
2379
  }, l.value, {
2380
- onChange: o[0] || (o[0] = (u) => n.$emit("update:modelValue", u.target.value))
2380
+ onChange: o[0] || (o[0] = (d) => n.$emit("update:modelValue", d.target.value))
2381
2381
  }), [
2382
2382
  I(n.$slots, "default")
2383
- ], 16, Qa));
2383
+ ], 16, Ja));
2384
2384
  }
2385
- }, en = ["selected", "disabled"], tn = ["disabled", "selected", "value"], Un = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2385
+ }, _a = ["selected", "disabled"], en = ["disabled", "selected", "value"], Fn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2386
2386
  __name: "BsSelectField",
2387
2387
  props: {
2388
2388
  data: {
@@ -2426,7 +2426,7 @@ const Et = {
2426
2426
  modelValue: [String, Number]
2427
2427
  },
2428
2428
  setup(e) {
2429
- const a = e, t = N(), [l, n] = H(2), { toChild: o, toRoot: u } = Z(a, t, [
2429
+ const a = e, t = R(), [l, n] = H(2), { toChild: o, toRoot: d } = Z(a, t, [
2430
2430
  "autofocus",
2431
2431
  "name"
2432
2432
  ]), i = p(() => {
@@ -2434,8 +2434,8 @@ const Et = {
2434
2434
  return ((g = (b = a.hints) == null ? void 0 : b.join) == null ? void 0 : g.call(b, `
2435
2435
  `)) || a.hints;
2436
2436
  }), 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(_, {
2437
+ return (b, g) => (u(), f("div", D({ "data-component": "bs-select-field" }, v(d)), [
2438
+ e.label || b.$slots.label ? (u(), A(_, {
2439
2439
  key: 0,
2440
2440
  for: r.value,
2441
2441
  disabled: e.disabled,
@@ -2443,12 +2443,12 @@ const Et = {
2443
2443
  }, {
2444
2444
  default: C(() => [
2445
2445
  I(b.$slots, "label", {}, () => [
2446
- W(T(e.label), 1)
2446
+ j(T(e.label), 1)
2447
2447
  ])
2448
2448
  ]),
2449
2449
  _: 3
2450
2450
  }, 8, ["for", "disabled", "required"])) : $("", !0),
2451
- D(_a, V({
2451
+ V(Qa, D({
2452
2452
  disabled: e.disabled,
2453
2453
  error: e.error,
2454
2454
  "hint-id": v(n),
@@ -2462,17 +2462,17 @@ const Et = {
2462
2462
  selected: !c.value,
2463
2463
  value: "",
2464
2464
  disabled: !!c.value
2465
- }, T(e.placeholder), 9, en),
2466
- (d(!0), f(R, null, Y(e.data, (y) => (d(), f("option", {
2465
+ }, T(e.placeholder), 9, _a),
2466
+ (u(!0), f(O, null, Y(e.data, (y) => (u(), f("option", {
2467
2467
  key: y.value,
2468
2468
  disabled: y.disabled,
2469
2469
  selected: c.value === y.value,
2470
2470
  value: y.value
2471
- }, T(y.label), 9, tn))), 128))
2471
+ }, T(y.label), 9, en))), 128))
2472
2472
  ]),
2473
2473
  _: 1
2474
2474
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
2475
- s.value ? (d(), A(pe, {
2475
+ s.value ? (u(), A(pe, {
2476
2476
  key: 1,
2477
2477
  "data-disabled": e.disabled,
2478
2478
  error: e.error,
@@ -2482,7 +2482,7 @@ const Et = {
2482
2482
  }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : $("", !0)
2483
2483
  ], 16));
2484
2484
  }
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 }, {
2485
+ }), tn = ["data-size"], an = ["data-disabled", "data-pending", "data-size"], nn = ["checked", "disabled", "id"], ln = ["data-inner-on-label", "data-inner-off-label"], Un = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2486
2486
  __name: "BsSwitch",
2487
2487
  props: {
2488
2488
  checked: {
@@ -2528,13 +2528,13 @@ const Et = {
2528
2528
  },
2529
2529
  emits: ["update:modelValue"],
2530
2530
  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({
2531
+ const t = e, l = a, n = R(), [o] = H(), { toChild: d, toRoot: i } = Z(t, n, ["name", "value"]), s = p(() => t.inputId || o.value), r = p(() => t.checked || t.modelValue);
2532
+ return (c, b) => (u(), f("div", D({
2533
2533
  class: "bs-boolean",
2534
2534
  "data-component": "bs-switch",
2535
2535
  "data-size": e.size
2536
2536
  }, v(i)), [
2537
- e.label || c.$slots.label ? (d(), A(_, {
2537
+ e.label || c.$slots.label ? (u(), A(_, {
2538
2538
  key: 0,
2539
2539
  for: s.value,
2540
2540
  disabled: e.disabled,
@@ -2542,7 +2542,7 @@ const Et = {
2542
2542
  }, {
2543
2543
  default: C(() => [
2544
2544
  I(c.$slots, "label", {}, () => [
2545
- W(T(e.label), 1)
2545
+ j(T(e.label), 1)
2546
2546
  ])
2547
2547
  ]),
2548
2548
  _: 3
@@ -2553,23 +2553,23 @@ const Et = {
2553
2553
  "data-pending": e.pending,
2554
2554
  "data-size": e.size
2555
2555
  }, [
2556
- m("input", V({
2556
+ m("input", D({
2557
2557
  checked: r.value,
2558
2558
  disabled: e.disabled,
2559
2559
  id: s.value,
2560
2560
  type: "checkbox"
2561
- }, v(u), {
2561
+ }, v(d), {
2562
2562
  onChange: b[0] || (b[0] = (g) => l("update:modelValue", g.target.checked))
2563
- }), null, 16, ln),
2563
+ }), null, 16, nn),
2564
2564
  m("span", {
2565
2565
  "aria-hidden": "true",
2566
2566
  "data-inner-on-label": e.innerOnLabel,
2567
2567
  "data-inner-off-label": e.innerOffLabel
2568
- }, null, 8, on)
2569
- ], 8, nn)
2570
- ], 16, an));
2568
+ }, null, 8, ln)
2569
+ ], 8, an)
2570
+ ], 16, tn));
2571
2571
  }
2572
- }), rn = ["aria-controls", "aria-selected", "data-hidden"], Kn = {
2572
+ }), on = ["aria-controls", "aria-selected", "data-hidden"], Hn = {
2573
2573
  __name: "BsTab",
2574
2574
  props: {
2575
2575
  activeTabId: {
@@ -2586,7 +2586,7 @@ const Et = {
2586
2586
  },
2587
2587
  emits: ["tabClick"],
2588
2588
  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`);
2589
+ const t = e, l = R(), n = k(), o = p(() => t.activeTabId === l.id), d = p(() => t.panelId || `${l.id}-panel`);
2590
2590
  function i(r) {
2591
2591
  (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
2592
2592
  }
@@ -2596,8 +2596,8 @@ const Et = {
2596
2596
  n.value.dispatchEvent(r);
2597
2597
  }
2598
2598
  }
2599
- return (r, c) => (d(), f("div", {
2600
- "aria-controls": u.value,
2599
+ return (r, c) => (u(), f("div", {
2600
+ "aria-controls": d.value,
2601
2601
  "aria-selected": o.value ? "true" : "false",
2602
2602
  "data-hidden": e.hidden || void 0,
2603
2603
  "data-component": "bs-tab",
@@ -2609,9 +2609,9 @@ const Et = {
2609
2609
  onKeydown: i
2610
2610
  }, [
2611
2611
  I(r.$slots, "default")
2612
- ], 40, rn));
2612
+ ], 40, on));
2613
2613
  }
2614
- }, sn = ["id", "data-resizing"], dn = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], un = 73, cn = 20, fn = 16, Yn = {
2614
+ }, rn = ["id", "data-resizing"], sn = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], dn = 73, un = 20, cn = 16, Kn = {
2615
2615
  __name: "BsTabList",
2616
2616
  props: {
2617
2617
  activeTabId: { type: String, required: !0 },
@@ -2622,10 +2622,10 @@ const Et = {
2622
2622
  },
2623
2623
  emits: ["tabChange", "update:modelValue"],
2624
2624
  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(() => {
2625
+ const t = e, l = a, n = k(!1), o = k(!1), d = 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(() => d.value.some((h) => h.id === t.activeTabId)), W = p(() => `${w.value}-options`), ee = p(() => `${w.value}-toggle`), J = p(() => {
2626
2626
  var h;
2627
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(() => {
2628
+ }), ke = p(() => q.value ? c.value[S.value] - c.value[S.value - 1] + un : dn), Q = p(() => {
2629
2629
  var B, x;
2630
2630
  let h = [];
2631
2631
  if (typeof window > "u")
@@ -2652,7 +2652,7 @@ const Et = {
2652
2652
  }
2653
2653
  B.dataset.hidden = "false", B.setAttribute("tabindex", "0");
2654
2654
  }
2655
- s.value = h, u.value = G, n.value || He(() => n.value = !0), setTimeout(() => {
2655
+ s.value = h, d.value = G, n.value || Ue(() => n.value = !0), setTimeout(() => {
2656
2656
  Ee(), b.value = !0;
2657
2657
  }, b.value ? 0 : 1e3);
2658
2658
  }
@@ -2727,20 +2727,20 @@ const Et = {
2727
2727
  function Me() {
2728
2728
  g.value = Array.from(r.value.children).filter((h) => h.role === "tab");
2729
2729
  }
2730
- function Re() {
2730
+ function Oe() {
2731
2731
  let h;
2732
2732
  g.value.forEach((B, x) => {
2733
- h = B.getBoundingClientRect().width + fn, c.value.push(x ? h + c.value[x - 1] : h);
2733
+ h = B.getBoundingClientRect().width + cn, c.value.push(x ? h + c.value[x - 1] : h);
2734
2734
  });
2735
2735
  }
2736
- return E(() => t.activeTabId, Te), O(() => {
2736
+ return E(() => t.activeTabId, Te), N(() => {
2737
2737
  var h;
2738
2738
  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");
2739
+ Me(), Oe(), ze(), M.value = r.value.getBoundingClientRect().width, ue(), t.withBsTabs || (h = g.value[S.value]) == null || h.setAttribute("aria-selected", "true");
2740
2740
  } catch (B) {
2741
2741
  console.log("tab error", B);
2742
2742
  }
2743
- }), ne(qe), (h, B) => (d(), f("div", {
2743
+ }), ne(qe), (h, B) => (u(), f("div", {
2744
2744
  class: "bs-tab-list",
2745
2745
  "data-component": "bs-tab-list",
2746
2746
  id: h.$attrs.id || v(P),
@@ -2764,16 +2764,16 @@ const Et = {
2764
2764
  ref: y,
2765
2765
  onClick: Ce
2766
2766
  }, [
2767
- D(v(tt), { size: "sm" }),
2768
- W(" " + T(J.value), 1)
2769
- ], 8, dn),
2770
- D(ea, {
2767
+ V(v(et), { size: "sm" }),
2768
+ j(" " + T(J.value), 1)
2769
+ ], 8, sn),
2770
+ V(_t, {
2771
2771
  "anchor-id": ee.value,
2772
2772
  "container-id": h.$attrs.id || v(P),
2773
2773
  "helper-description": e.helperDescription || void 0,
2774
2774
  "helper-text": e.helperText,
2775
2775
  id: v(w),
2776
- "options-id": j.value,
2776
+ "options-id": W.value,
2777
2777
  position: "right",
2778
2778
  preloaded: "",
2779
2779
  shown: i.value,
@@ -2782,22 +2782,22 @@ const Et = {
2782
2782
  "onUpdate:modelValue": Ae
2783
2783
  }, {
2784
2784
  default: C(() => [
2785
- (d(!0), f(R, null, Y(u.value, (x) => (d(), A(Jt, {
2785
+ (u(!0), f(O, null, Y(d.value, (x) => (u(), A(Zt, {
2786
2786
  key: x.id,
2787
2787
  value: x.id,
2788
- "options-id": j.value
2788
+ "options-id": W.value
2789
2789
  }, {
2790
2790
  default: C(() => [
2791
- W(T(x.textContent), 1)
2791
+ j(T(x.textContent), 1)
2792
2792
  ]),
2793
2793
  _: 2
2794
2794
  }, 1032, ["value", "options-id"]))), 128))
2795
2795
  ]),
2796
2796
  _: 1
2797
2797
  }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
2798
- ], 40, sn));
2798
+ ], 40, rn));
2799
2799
  }
2800
- }, vn = ["aria-labelledby", "data-active", "id"], Xn = {
2800
+ }, fn = ["aria-labelledby", "data-active", "id"], Yn = {
2801
2801
  __name: "BsTabPanel",
2802
2802
  props: {
2803
2803
  activeTabId: {
@@ -2810,8 +2810,8 @@ const Et = {
2810
2810
  }
2811
2811
  },
2812
2812
  setup(e) {
2813
- const a = e, t = N(), l = p(() => a.activeTabId && a.activeTabId === a.tabId), n = p(() => t.id || `${a.tabId}-panel`);
2814
- return (o, u) => (d(), f("section", {
2813
+ const a = e, t = R(), l = p(() => a.activeTabId && a.activeTabId === a.tabId), n = p(() => t.id || `${a.tabId}-panel`);
2814
+ return (o, d) => (u(), f("section", {
2815
2815
  "aria-labelledby": e.tabId,
2816
2816
  "data-active": l.value,
2817
2817
  "data-component": "bs-tab-panel",
@@ -2819,9 +2819,9 @@ const Et = {
2819
2819
  role: "tabpanel"
2820
2820
  }, [
2821
2821
  I(o.$slots, "default")
2822
- ], 8, vn));
2822
+ ], 8, fn));
2823
2823
  }
2824
- }, hn = ["data-error", "id", "rows", "value"], pn = {
2824
+ }, vn = ["data-error", "id", "rows", "value"], hn = {
2825
2825
  __name: "BsTextarea",
2826
2826
  props: {
2827
2827
  error: {
@@ -2837,17 +2837,17 @@ const Et = {
2837
2837
  emits: ["update:modelValue"],
2838
2838
  setup(e, { emit: a }) {
2839
2839
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
2840
- return (n, o) => (d(), f("textarea", V({
2840
+ return (n, o) => (u(), f("textarea", D({
2841
2841
  class: "bs-textarea",
2842
2842
  "data-component": "bs-textarea",
2843
2843
  "data-error": e.error,
2844
2844
  id: n.$attrs.id || e.inputId,
2845
2845
  rows: n.$attrs.rows || 6,
2846
2846
  value: e.value || e.modelValue,
2847
- onInput: o[0] || (o[0] = (u) => n.$emit("update:modelValue", u.target.value))
2848
- }, l.value), null, 16, hn));
2847
+ onInput: o[0] || (o[0] = (d) => n.$emit("update:modelValue", d.target.value))
2848
+ }, l.value), null, 16, vn));
2849
2849
  }
2850
- }, Zn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2850
+ }, Xn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2851
2851
  __name: "BsTextareaField",
2852
2852
  props: {
2853
2853
  /** 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. */
@@ -2896,7 +2896,7 @@ const Et = {
2896
2896
  },
2897
2897
  emits: ["update:modelValue"],
2898
2898
  setup(e, { emit: a }) {
2899
- const t = e, l = N(), [n, o] = H(2), { toChild: u, toRoot: i } = Z(t, l, [
2899
+ const t = e, l = R(), [n, o] = H(2), { toChild: d, toRoot: i } = Z(t, l, [
2900
2900
  "autocomplete",
2901
2901
  "cols",
2902
2902
  "maxlength",
@@ -2910,8 +2910,8 @@ const Et = {
2910
2910
  return ((y = (g = t.hints) == null ? void 0 : g.join) == null ? void 0 : y.call(g, `
2911
2911
  `)) || t.hints;
2912
2912
  }), 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(_, {
2913
+ return (g, y) => (u(), f("div", D({ "data-component": "bs-textarea-field" }, v(i)), [
2914
+ e.label || g.$slots.label ? (u(), A(_, {
2915
2915
  key: 0,
2916
2916
  for: b.value,
2917
2917
  disabled: e.disabled,
@@ -2919,12 +2919,12 @@ const Et = {
2919
2919
  }, {
2920
2920
  default: C(() => [
2921
2921
  I(g.$slots, "label", {}, () => [
2922
- W(T(e.label), 1)
2922
+ j(T(e.label), 1)
2923
2923
  ])
2924
2924
  ]),
2925
2925
  _: 3
2926
2926
  }, 8, ["for", "disabled", "required"])) : $("", !0),
2927
- D(pn, V({
2927
+ V(hn, D({
2928
2928
  disabled: e.disabled,
2929
2929
  error: e.error,
2930
2930
  "hint-id": v(o),
@@ -2934,8 +2934,8 @@ const Et = {
2934
2934
  rows: e.rows,
2935
2935
  value: e.value || e.modelValue,
2936
2936
  "onUpdate:modelValue": y[0] || (y[0] = (L) => g.$emit("update:modelValue", L))
2937
- }, v(u)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
2938
- c.value || e.charMax ? (d(), A(pe, {
2937
+ }, v(d)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
2938
+ c.value || e.charMax ? (u(), A(pe, {
2939
2939
  key: 1,
2940
2940
  "char-count": s.value,
2941
2941
  "char-max": e.charMax,
@@ -2947,7 +2947,7 @@ const Et = {
2947
2947
  }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : $("", !0)
2948
2948
  ], 16));
2949
2949
  }
2950
- }), gn = ["data-variant", "data-stacked"], Jn = {
2950
+ }), pn = ["data-variant", "data-stacked"], Zn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2951
2951
  __name: "BsToast",
2952
2952
  props: {
2953
2953
  shown: {
@@ -2996,7 +2996,7 @@ const Et = {
2996
2996
  const t = e, l = a, { transition: n } = se(t);
2997
2997
  let o = null;
2998
2998
  ae("variant", t.variant), ae("handleDismiss", i);
2999
- const u = te("stacked", t.stacked);
2999
+ const d = te("stacked", t.stacked);
3000
3000
  function i() {
3001
3001
  o && (clearTimeout(o), o = null), l("dismiss", t.toastId);
3002
3002
  }
@@ -3005,7 +3005,7 @@ const Et = {
3005
3005
  i();
3006
3006
  }, t.duration)), l("after-enter");
3007
3007
  }
3008
- return (r, c) => (d(), A(v(de), {
3008
+ return (r, c) => (u(), A(v(de), {
3009
3009
  shown: v(n),
3010
3010
  preloaded: e.preloaded,
3011
3011
  duration: 200,
@@ -3014,58 +3014,58 @@ const Et = {
3014
3014
  onAfterLeave: c[0] || (c[0] = (b) => l("after-leave"))
3015
3015
  }, {
3016
3016
  default: C(() => [
3017
- m("div", {
3017
+ m("div", D({
3018
3018
  class: "bs-toast",
3019
3019
  "data-variant": e.variant,
3020
- "data-stacked": v(u) || void 0,
3020
+ "data-stacked": v(d) || void 0,
3021
3021
  "aria-role": "alert"
3022
- }, [
3022
+ }, r.$attrs), [
3023
3023
  I(r.$slots, "default")
3024
- ], 8, gn)
3024
+ ], 16, pn)
3025
3025
  ]),
3026
3026
  _: 3
3027
3027
  }, 8, ["shown", "preloaded"]));
3028
3028
  }
3029
- }, bn = ["data-stacked"], Qn = {
3029
+ }), gn = ["data-stacked"], Jn = {
3030
3030
  __name: "BsToastActions",
3031
3031
  setup(e) {
3032
3032
  const a = k(!1);
3033
- O(() => {
3033
+ N(() => {
3034
3034
  var n;
3035
- const l = Ke();
3035
+ const l = He();
3036
3036
  ((n = l.default) == null ? void 0 : n.call(l).length) > 2 && (a.value = !0);
3037
3037
  });
3038
3038
  const t = te("handleDismiss");
3039
- return (l, n) => (d(), f("div", {
3039
+ return (l, n) => (u(), f("div", {
3040
3040
  class: "bs-toast-actions",
3041
3041
  "data-stacked": a.value || void 0
3042
3042
  }, [
3043
3043
  I(l.$slots, "default", {}, () => [
3044
- D(kt, {
3044
+ V(wt, {
3045
3045
  size: "sm",
3046
3046
  "text-btn": "",
3047
3047
  onClick: v(t)
3048
3048
  }, {
3049
3049
  default: C(() => [
3050
- W(" Dismiss ")
3050
+ j(" Dismiss ")
3051
3051
  ]),
3052
3052
  _: 1
3053
3053
  }, 8, ["onClick"])
3054
3054
  ])
3055
- ], 8, bn));
3055
+ ], 8, gn));
3056
3056
  }
3057
- }, mn = (e, a) => {
3057
+ }, bn = (e, a) => {
3058
3058
  const t = e.__vccOpts || e;
3059
3059
  for (const [l, n] of a)
3060
3060
  t[l] = n;
3061
3061
  return t;
3062
- }, yn = {}, Bn = { class: "bs-toast-body" };
3063
- function $n(e, a) {
3064
- return d(), f("div", Bn, [
3062
+ }, mn = {}, yn = { class: "bs-toast-body" };
3063
+ function Bn(e, a) {
3064
+ return u(), f("div", yn, [
3065
3065
  I(e.$slots, "default")
3066
3066
  ]);
3067
3067
  }
3068
- const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el = {
3068
+ const Qn = /* @__PURE__ */ bn(mn, [["render", Bn]]), $n = ["data-variant"], _n = {
3069
3069
  __name: "BsToastHeader",
3070
3070
  setup(e) {
3071
3071
  const a = te("variant"), t = p(() => {
@@ -3073,31 +3073,31 @@ const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el =
3073
3073
  case "warning":
3074
3074
  return ve;
3075
3075
  case "positive":
3076
- return nt;
3076
+ return at;
3077
3077
  case "negative":
3078
3078
  return ve;
3079
3079
  default:
3080
- return at;
3080
+ return tt;
3081
3081
  }
3082
3082
  });
3083
- return (l, n) => (d(), f("div", {
3083
+ return (l, n) => (u(), f("div", {
3084
3084
  class: "bs-toast-header",
3085
3085
  "data-variant": v(a)
3086
3086
  }, [
3087
- (d(), A(U(t.value), { class: "bs-toast-header-icon" })),
3087
+ (u(), A(U(t.value), { class: "bs-toast-header-icon" })),
3088
3088
  m("h5", null, [
3089
3089
  I(l.$slots, "default")
3090
3090
  ])
3091
- ], 8, Sn));
3091
+ ], 8, $n));
3092
3092
  }
3093
- }, wn = { class: "bs-toaster" }, tl = {
3093
+ }, Sn = { class: "bs-toaster" }, el = {
3094
3094
  __name: "BsToaster",
3095
3095
  setup(e) {
3096
- return ae("stacked", !0), (a, t) => (d(), f("div", wn, [
3096
+ return ae("stacked", !0), (a, t) => (u(), f("div", Sn, [
3097
3097
  I(a.$slots, "default")
3098
3098
  ]));
3099
3099
  }
3100
- }, kn = ["data-position"], In = ["id"], al = {
3100
+ }, wn = ["data-position"], kn = ["id"], tl = {
3101
3101
  __name: "BsTooltip",
3102
3102
  props: {
3103
3103
  tooltipId: {
@@ -3134,69 +3134,69 @@ const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el =
3134
3134
  function o() {
3135
3135
  t.value = !0;
3136
3136
  }
3137
- function u() {
3137
+ function d() {
3138
3138
  t.value = !1, l.value = !1;
3139
3139
  }
3140
- return (i, s) => (d(), f("div", {
3140
+ return (i, s) => (u(), f("div", {
3141
3141
  class: "bs-tooltip",
3142
3142
  "data-position": e.position || void 0,
3143
3143
  "data-component": "bs-tooltip",
3144
3144
  onMouseenter: o,
3145
3145
  onFocusin: o,
3146
- onMouseleave: u,
3147
- onFocusout: u
3146
+ onMouseleave: d,
3147
+ onFocusout: d
3148
3148
  }, [
3149
3149
  I(i.$slots, "default"),
3150
- e.content ? (d(), f("div", {
3150
+ e.content ? (u(), f("div", {
3151
3151
  key: 0,
3152
3152
  class: X(n.value),
3153
3153
  id: e.tooltipId,
3154
3154
  role: "tooltip"
3155
- }, T(e.content), 11, In)) : $("", !0)
3156
- ], 40, kn));
3155
+ }, T(e.content), 11, kn)) : $("", !0)
3156
+ ], 40, wn));
3157
3157
  }
3158
3158
  };
3159
3159
  export {
3160
- Ln as BsAccordion,
3161
- Pn as BsBadge,
3162
- Dn as BsBanner,
3163
- kt as BsButton,
3164
- Vn as BsChartBar,
3165
- En as BsCheckbox,
3166
- qn as BsCircleButton,
3167
- Xt as BsDropdown,
3168
- Jt as BsDropdownOption,
3169
- _t as BsDropdownOptionList,
3170
- ea as BsDropdownWithOptions,
3160
+ An as BsAccordion,
3161
+ Ln as BsBadge,
3162
+ Pn as BsBanner,
3163
+ wt as BsButton,
3164
+ Dn as BsChartBar,
3165
+ Vn as BsCheckbox,
3166
+ En as BsCircleButton,
3167
+ Yt as BsDropdown,
3168
+ Zt as BsDropdownOption,
3169
+ Qt as BsDropdownOptionList,
3170
+ _t as BsDropdownWithOptions,
3171
3171
  pe as BsFieldDetails,
3172
- zn as BsIconGradientWrapper,
3172
+ qn as BsIconGradientWrapper,
3173
3173
  we as BsInput,
3174
- da as BsInputAddon,
3175
- Mn as BsInputField,
3176
- Rn as BsInputSearch,
3174
+ sa as BsInputAddon,
3175
+ zn as BsInputField,
3176
+ Mn as BsInputSearch,
3177
3177
  _ as BsLabel,
3178
- Nn as BsLoader,
3179
- On as BsModal,
3180
- ma as BsOverlay,
3181
- Wn as BsPagination,
3178
+ On as BsLoader,
3179
+ Rn as BsModal,
3180
+ ba as BsOverlay,
3181
+ Nn as BsPagination,
3182
3182
  jn as BsPill,
3183
- 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,
3183
+ Wn as BsProfile,
3184
+ Ua as BsProfileDetails,
3185
+ Ya as BsProfileImg,
3186
+ Gn as BsRadio,
3187
+ Qa as BsSelect,
3188
+ Fn as BsSelectField,
3189
+ Un as BsSwitch,
3190
+ Hn as BsTab,
3191
+ Kn as BsTabList,
3192
+ Yn as BsTabPanel,
3193
+ hn as BsTextarea,
3194
+ Xn as BsTextareaField,
3195
+ Zn as BsToast,
3196
+ Jn as BsToastActions,
3197
+ Qn as BsToastBody,
3198
+ _n as BsToastHeader,
3199
+ el as BsToaster,
3200
+ tl as BsTooltip,
3201
3201
  de as BsTransition
3202
3202
  };