@wwtdev/bsds-components-vue3 2.0.7 → 2.0.9

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,4 +1,4 @@
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 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 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 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
2
  import { v4 as Ye } from "uuid";
3
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
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";
@@ -10,8 +10,8 @@ const ye = {
10
10
  };
11
11
  function he(e, a, t = "button") {
12
12
  const l = ut(e, a, t), n = p(() => {
13
- const o = l.value === "button", s = {};
14
- return o ? (s.type = a.type || "button", s.autocomplete = "off", e.disabled && (s.disabled = !0)) : e.disabled && (s["aria-disabled"] = "true", s.tabindex = "-1"), s;
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;
15
15
  });
16
16
  return { rootTag: l, attrsToBind: n };
17
17
  }
@@ -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, s, i, d, r;
47
+ var o, u, i, s, r;
48
48
  if (e.disabled) {
49
49
  n.preventDefault(), n.stopImmediatePropagation();
50
50
  return;
51
51
  }
52
- !e.href || !t.value || ((s = (o = n.target.href) == null ? void 0 : o.endsWith) != null && s.call(o, e.href) || (r = (d = (i = n.target.closest("a")) == null ? void 0 : i.href) == null ? void 0 : d.endsWith) != null && r.call(d, e.href)) && (n.preventDefault(), t.value(e.href));
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));
53
53
  }
54
54
  return { onLinkClick: l };
55
55
  }
@@ -62,8 +62,8 @@ const le = (e, a) => {
62
62
  return null;
63
63
  const o = n.startsWith("bs-") ? Be(n) : `BsIcon${Be(n)}`;
64
64
  return Oe(async () => {
65
- const { [o]: s } = await import("@wwtdev/bsds-icons-vue3");
66
- return s;
65
+ const { [o]: u } = await import("@wwtdev/bsds-icons-vue3");
66
+ return u;
67
67
  });
68
68
  }
69
69
  const l = Ne();
@@ -94,16 +94,16 @@ const re = (e, a, t = void 0) => {
94
94
  l.disconnect();
95
95
  });
96
96
  };
97
- function Z(e, a) {
98
- var o;
99
- const t = new Set(((o = e.passAttrs) == null ? void 0 : o.split(",")) || "");
100
- t.delete("");
101
- const l = k({}), n = k({});
102
- for (let s in a)
103
- t.has(s) ? n.value[s] = a[s] : l.value[s] = a[s];
97
+ function Z(e, a, t = []) {
98
+ var i, s;
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
+ n.delete("");
101
+ const o = k({}), u = k({});
102
+ for (let r in a)
103
+ n.has(r) ? u.value[r] = a[r] : o.value[r] = a[r];
104
104
  return {
105
- toRoot: l,
106
- toChild: n
105
+ toRoot: o,
106
+ toChild: u
107
107
  };
108
108
  }
109
109
  const se = (e) => {
@@ -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: s } = le(t, "icon"), [i] = H(), d = 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: 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) => (u(), f("div", {
144
+ return (y, L) => (d(), f("div", {
145
145
  id: v(i),
146
146
  ref_key: "containerRef",
147
147
  ref: n,
@@ -154,14 +154,14 @@ const se = (e) => {
154
154
  "data-open": b.value
155
155
  }, [
156
156
  m("button", {
157
- "aria-controls": d.value,
157
+ "aria-controls": s.value,
158
158
  "aria-expanded": b.value,
159
159
  type: "button",
160
160
  onClick: g
161
161
  }, [
162
- e.icon || y.$slots.icon ? (u(), f("span", bt, [
162
+ e.icon || y.$slots.icon ? (d(), f("span", bt, [
163
163
  I(y.$slots, "icon", {}, () => [
164
- e.icon ? (u(), A(U(v(s) ? v(s) : "span"), { key: 0 })) : $("", !0)
164
+ e.icon ? (d(), A(U(v(u) ? v(u) : "span"), { key: 0 })) : $("", !0)
165
165
  ])
166
166
  ])) : $("", !0),
167
167
  m("span", {
@@ -179,7 +179,7 @@ const se = (e) => {
179
179
  "aria-labelledby": r.value,
180
180
  class: "bs-accordion-content",
181
181
  "data-open": b.value,
182
- id: d.value,
182
+ id: s.value,
183
183
  part: "content",
184
184
  role: "region"
185
185
  }, [
@@ -233,14 +233,14 @@ const se = (e) => {
233
233
  },
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
- var d, r;
237
- const o = ((r = (d = t.value) == null ? void 0 : d.textContent) == null ? void 0 : r.trim()) || "", s = l.value ? l.value + " " : "";
238
- if (!s && !a.dot)
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)
239
239
  return o;
240
240
  const i = a.count !== 1 ? "s" : "";
241
- return `${o}, ${s}${a.label}${i}`;
241
+ return `${o}, ${u}${a.label}${i}`;
242
242
  });
243
- return (o, s) => (u(), f("span", {
243
+ return (o, u) => (d(), f("span", {
244
244
  ref_key: "hostRef",
245
245
  ref: t,
246
246
  class: X({ "bs-badge": e.dot || l.value }),
@@ -266,7 +266,7 @@ const se = (e) => {
266
266
  function n() {
267
267
  l.value = !0, t("dismiss");
268
268
  }
269
- return (o, s) => l.value ? $("", !0) : (u(), f("div", $t, [
269
+ return (o, u) => l.value ? $("", !0) : (d(), f("div", $t, [
270
270
  m("div", St, [
271
271
  m("div", wt, [
272
272
  D(v(ve), { size: "lg" })
@@ -297,7 +297,7 @@ const se = (e) => {
297
297
  },
298
298
  setup(e) {
299
299
  const a = e, t = N(), { rootTag: l, attrsToBind: n } = he(a, t), { onLinkClick: o } = ie(a);
300
- return (s, i) => (u(), A(U(v(l)), V({
300
+ return (u, i) => (d(), A(U(v(l)), V({
301
301
  class: "bs-button",
302
302
  "data-component": "bs-button",
303
303
  "data-ghost": e.ghostBtn,
@@ -307,7 +307,7 @@ const se = (e) => {
307
307
  href: e.href
308
308
  }, v(n), { onClick: v(o) }), {
309
309
  default: C(() => [
310
- I(s.$slots, "default")
310
+ I(u.$slots, "default")
311
311
  ]),
312
312
  _: 3
313
313
  }, 16, ["data-ghost", "data-size", "data-text", "data-variant", "href", "onClick"]));
@@ -331,7 +331,7 @@ const se = (e) => {
331
331
  setup(e) {
332
332
  return (a, t) => {
333
333
  var l;
334
- return u(), f("div", It, [
334
+ return d(), f("div", It, [
335
335
  m("table", { summary: e.tableTitle }, [
336
336
  m("thead", null, [
337
337
  m("tr", null, [
@@ -341,19 +341,19 @@ const se = (e) => {
341
341
  ]),
342
342
  m("tr", null, [
343
343
  Ct,
344
- (u(!0), f(R, null, Y(e.dataIdxLabels, (n) => (u(), f("th", {
344
+ (d(!0), f(R, null, Y(e.dataIdxLabels, (n) => (d(), 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
- (u(!0), f(R, null, Y(e.data, (n) => (u(), f("tr", {
351
+ (d(!0), f(R, null, Y(e.data, (n) => (d(), f("tr", {
352
352
  key: n.label
353
353
  }, [
354
354
  m("th", At, T(n.label), 1),
355
- (u(!0), f(R, null, Y(n.data, (o, s) => (u(), f("td", {
356
- key: `${o}${s}`
355
+ (d(!0), f(R, null, Y(n.data, (o, u) => (d(), f("td", {
356
+ key: `${o}${u}`
357
357
  }, T(o), 1))), 128))
358
358
  ]))), 128))
359
359
  ])
@@ -367,13 +367,13 @@ const se = (e) => {
367
367
  e.innerHTML = "", e.style.setProperty("--legend-padding", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((l) => {
368
368
  const n = document.createElement("li");
369
369
  n.onclick = () => {
370
- const { type: d } = a.config._config;
371
- d === "pie" || d === "doughnut" ? a.toggleDataVisibility(l.index) : a.setDatasetVisibility(l.datasetIndex, !a.isDatasetVisible(l.datasetIndex)), a.update();
370
+ const { type: s } = a.config._config;
371
+ s === "pie" || s === "doughnut" ? a.toggleDataVisibility(l.index) : a.setDatasetVisibility(l.datasetIndex, !a.isDatasetVisible(l.datasetIndex)), a.update();
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 s = 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(s), n.appendChild(o), n.appendChild(i), e.appendChild(n);
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);
377
377
  });
378
378
  }
379
379
  }), Dt = ({ type: e, datasets: a, labels: t, tooltips: l }) => ({
@@ -478,7 +478,7 @@ const Et = {
478
478
  let n;
479
479
  const o = p(() => {
480
480
  const c = {
481
- datasets: s.value,
481
+ datasets: u.value,
482
482
  labels: a.dataIdxLabels,
483
483
  type: "bar",
484
484
  tooltips: a.showTooltips
@@ -505,18 +505,18 @@ const Et = {
505
505
  }
506
506
  }
507
507
  }, b;
508
- }), s = p(() => a.data.map((c, b) => ({
508
+ }), u = p(() => a.data.map((c, b) => ({
509
509
  ...c,
510
510
  backgroundColor: Vt(b),
511
511
  categoryPercentage: a.data.length > 1 ? 0.5 : 0.33
512
- }))), i = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`), d = $e(function(c, b) {
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
517
  return O(() => {
518
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, d), E(() => a.showTooltips, d), E(() => a.showXGrid, d), E(() => a.showYGrid, d), E(() => a.stacked, d), E(() => a.xLabel, d), E(() => a.yLabel, d), E(() => a.data, r), E(() => a.dataIdxLabels, r), (c, b) => (u(), f("div", Et, [
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, [
520
520
  m("figure", null, [
521
521
  m("div", null, [
522
522
  m("canvas", {
@@ -556,7 +556,7 @@ const Et = {
556
556
  required: { type: Boolean, default: !1 }
557
557
  },
558
558
  setup(e) {
559
- return (a, t) => (u(), f("label", {
559
+ return (a, t) => (d(), 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,7 +565,7 @@ const Et = {
565
565
  m("span", null, [
566
566
  I(a.$slots, "default")
567
567
  ]),
568
- e.required ? (u(), f(R, { key: 0 }, [
568
+ e.required ? (d(), f(R, { key: 0 }, [
569
569
  Rt,
570
570
  Nt
571
571
  ], 64)) : $("", !0)
@@ -626,29 +626,29 @@ 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: s } = Z(t, l), i = k(null), d = p(() => t.inputId || n.value), r = p(() => t.checked || t.modelValue);
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
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) => (u(), f("div", V({
633
+ return E(r, c), E(() => t.checkedPartially, c), (b, g) => (d(), f("div", V({
634
634
  class: "bs-boolean",
635
635
  "data-component": "bs-checkbox",
636
636
  "data-size": e.size
637
- }, v(s)), [
637
+ }, v(u)), [
638
638
  m("input", V({
639
639
  ref_key: "inputEl",
640
640
  ref: i,
641
641
  checked: r.value,
642
642
  disabled: e.disabled,
643
- id: d.value,
643
+ id: s.value,
644
644
  required: e.required,
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
648
  }, v(o)), null, 16, Wt),
649
- e.label || b.$slots.label ? (u(), A(_, {
649
+ e.label || b.$slots.label ? (d(), A(_, {
650
650
  key: 0,
651
- for: d.value,
651
+ for: s.value,
652
652
  disabled: e.disabled,
653
653
  required: e.required
654
654
  }, {
@@ -704,27 +704,27 @@ 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: s } = ie(a), i = p(() => a.textBtn ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), d = p(() => {
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(() => {
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) => (u(), A(U(v(l)), V({
711
+ return (b, g) => (d(), A(U(v(l)), V({
712
712
  class: "bs-circle-button",
713
713
  "data-disabled": e.disabled,
714
- "data-direction": d.value,
714
+ "data-direction": s.value,
715
715
  "data-ghost": e.ghostBtn,
716
716
  "data-size": e.size,
717
717
  "data-text": e.textBtn,
718
718
  href: e.href
719
- }, { ...v(n), ...i.value }, { onClick: v(s) }), {
719
+ }, { ...v(n), ...i.value }, { onClick: v(u) }), {
720
720
  default: C(() => [
721
- r.value ? (u(), f("span", jt, T(e.label), 1)) : $("", !0),
721
+ r.value ? (d(), f("span", jt, T(e.label), 1)) : $("", !0),
722
722
  m("span", Gt, [
723
723
  I(b.$slots, "icon", {}, () => [
724
- (u(), A(U(v(o)), { size: e.size }, null, 8, ["size"]))
724
+ (d(), A(U(v(o)), { size: e.size }, null, 8, ["size"]))
725
725
  ])
726
726
  ]),
727
- c.value ? (u(), f("span", Ft, T(e.label), 1)) : $("", !0)
727
+ c.value ? (d(), f("span", Ft, 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"]));
@@ -773,15 +773,15 @@ const Et = {
773
773
  ],
774
774
  setup(e, { emit: a }) {
775
775
  const t = e, l = a, n = [];
776
- function o(d, r) {
776
+ function o(s, r) {
777
777
  const { duration: c, enterClass: b, enterAttribute: g } = t;
778
778
  n.push(setTimeout(() => {
779
- b && d.classList.add(b), g && d.setAttribute(g, ""), n.push(setTimeout(() => {
779
+ b && s.classList.add(b), g && s.setAttribute(g, ""), n.push(setTimeout(() => {
780
780
  r();
781
- }, c)), l("enter", d);
781
+ }, c)), l("enter", s);
782
782
  }));
783
783
  }
784
- function s(d, r) {
784
+ function u(s, r) {
785
785
  const {
786
786
  duration: c,
787
787
  enterClass: b,
@@ -789,19 +789,19 @@ const Et = {
789
789
  leaveClass: y,
790
790
  leaveAttribute: L
791
791
  } = t;
792
- d.classList.remove(b), d.removeAttribute(g), y && d.classList.add(y), L && d.setAttribute(L, ""), n.push(setTimeout(() => {
792
+ s.classList.remove(b), s.removeAttribute(g), y && s.classList.add(y), L && s.setAttribute(L, ""), n.push(setTimeout(() => {
793
793
  r();
794
- }, c)), l("leave", d);
794
+ }, c)), l("leave", s);
795
795
  }
796
- function i(d) {
796
+ function i(s) {
797
797
  const { leaveClass: r, leaveAttribute: c } = t;
798
- d.classList.remove(r), d.removeAttribute(c), l("after-leave", d);
798
+ s.classList.remove(r), s.removeAttribute(c), l("after-leave", s);
799
799
  }
800
800
  return ne(() => {
801
- n.forEach((d) => {
802
- clearTimeout(d);
801
+ n.forEach((s) => {
802
+ clearTimeout(s);
803
803
  });
804
- }), (d, r) => e.preloaded ? We((u(), A(me, {
804
+ }), (s, r) => e.preloaded ? We((d(), A(me, {
805
805
  key: 0,
806
806
  css: !1,
807
807
  onBeforeEnter: r[0] || (r[0] = (c) => l("before-enter", c)),
@@ -809,17 +809,17 @@ 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: s,
812
+ onLeave: u,
813
813
  onAfterLeave: i,
814
814
  onLeaveCancelled: r[4] || (r[4] = (c) => l("leave-cancelled", c))
815
815
  }, {
816
816
  default: C(() => [
817
- I(d.$slots, "default")
817
+ I(s.$slots, "default")
818
818
  ]),
819
819
  _: 3
820
820
  }, 512)), [
821
821
  [je, e.shown]
822
- ]) : (u(), A(me, {
822
+ ]) : (d(), A(me, {
823
823
  key: 1,
824
824
  css: !1,
825
825
  onBeforeEnter: r[5] || (r[5] = (c) => l("before-enter", c)),
@@ -827,12 +827,12 @@ 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: s,
830
+ onLeave: u,
831
831
  onAfterLeave: i,
832
832
  onLeaveCancelled: r[9] || (r[9] = (c) => l("leave-cancelled", c))
833
833
  }, {
834
834
  default: C(() => [
835
- e.shown ? I(d.$slots, "default", { key: 0 }) : $("", !0)
835
+ e.shown ? I(s.$slots, "default", { key: 0 }) : $("", !0)
836
836
  ]),
837
837
  _: 3
838
838
  }));
@@ -856,7 +856,7 @@ const Et = {
856
856
  position: {
857
857
  type: String,
858
858
  default: void 0,
859
- validator: (e) => ["top", "bottom", "right"].includes(e)
859
+ validator: (e) => ["top", "center", "right"].includes(e)
860
860
  },
861
861
  anchorId: {
862
862
  required: !0
@@ -892,7 +892,7 @@ const Et = {
892
892
  }), re(["Escape"], () => {
893
893
  o && l("close");
894
894
  });
895
- function s() {
895
+ function u() {
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;
@@ -918,8 +918,8 @@ const Et = {
918
918
  } else
919
919
  n.value.style.setProperty("--dropdown-wscreen-width", "");
920
920
  }
921
- function d() {
922
- s(), i(), l("enter");
921
+ function s() {
922
+ u(), i(), l("enter");
923
923
  }
924
924
  function r() {
925
925
  o = !0, l("after-enter");
@@ -930,13 +930,13 @@ const Et = {
930
930
  function b() {
931
931
  return t.width === "toggle" ? void 0 : t.width;
932
932
  }
933
- return (g, y) => (u(), A(v(de), {
933
+ return (g, y) => (d(), A(v(de), {
934
934
  shown: e.shown,
935
935
  preloaded: e.preloaded,
936
936
  duration: 75,
937
937
  "enter-attribute": "data-shown",
938
938
  onAfterEnter: y[1] || (y[1] = (L) => r()),
939
- onEnter: y[2] || (y[2] = (L) => d()),
939
+ onEnter: y[2] || (y[2] = (L) => s()),
940
940
  onAfterLeave: y[3] || (y[3] = (L) => c())
941
941
  }, {
942
942
  default: C(() => [
@@ -946,10 +946,10 @@ const Et = {
946
946
  class: "bs-dropdown",
947
947
  "data-width": b()
948
948
  }, g.$attrs), [
949
- e.helperText ? (u(), f("header", Ht, [
949
+ e.helperText ? (d(), f("header", Ht, [
950
950
  m("div", null, [
951
951
  m("h3", null, T(e.helperText), 1),
952
- e.helperDescription ? (u(), f("p", Kt, T(e.helperDescription), 1)) : $("", !0)
952
+ e.helperDescription ? (d(), f("p", Kt, T(e.helperDescription), 1)) : $("", !0)
953
953
  ]),
954
954
  m("button", {
955
955
  type: "button",
@@ -1048,30 +1048,30 @@ 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), s = p(() => t.toggleId ? t.toggleId : t.anchorId), i = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position);
1052
- return (d, r) => (u(), f(R, null, [
1053
- v(o) ? (u(), f("div", Yt)) : $("", !0),
1054
- e.containerId ? (u(), A(v(Se), V({
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({
1055
1055
  key: 1,
1056
1056
  shown: v(o),
1057
1057
  preloaded: e.preloaded,
1058
- "anchor-id": s.value,
1058
+ "anchor-id": u.value,
1059
1059
  "container-id": e.containerId,
1060
1060
  "helper-description": e.helperDescription,
1061
1061
  "helper-text": e.helperText,
1062
1062
  position: i.value,
1063
1063
  width: e.width
1064
- }, d.$attrs, {
1064
+ }, s.$attrs, {
1065
1065
  onClose: r[0] || (r[0] = (c) => l("close")),
1066
1066
  onAfterEnter: r[1] || (r[1] = (c) => l("after-enter")),
1067
1067
  onEnter: r[2] || (r[2] = (c) => l("enter")),
1068
1068
  onAfterLeave: r[3] || (r[3] = (c) => l("after-leave"))
1069
1069
  }), {
1070
1070
  default: C(() => [
1071
- I(d.$slots, "default")
1071
+ I(s.$slots, "default")
1072
1072
  ]),
1073
1073
  _: 3
1074
- }, 16, ["shown", "preloaded", "anchor-id", "container-id", "helper-description", "helper-text", "position", "width"])) : (u(), f("div", {
1074
+ }, 16, ["shown", "preloaded", "anchor-id", "container-id", "helper-description", "helper-text", "position", "width"])) : (d(), f("div", {
1075
1075
  key: 2,
1076
1076
  ref_key: "containerRef",
1077
1077
  ref: n,
@@ -1080,20 +1080,20 @@ const Et = {
1080
1080
  D(v(Se), V({
1081
1081
  shown: v(o),
1082
1082
  preloaded: e.preloaded,
1083
- "anchor-id": s.value,
1083
+ "anchor-id": u.value,
1084
1084
  "container-ref": n.value,
1085
1085
  "helper-description": e.helperDescription,
1086
1086
  "helper-text": e.helperText,
1087
1087
  position: i.value,
1088
1088
  width: e.width
1089
- }, d.$attrs, {
1089
+ }, s.$attrs, {
1090
1090
  onClose: r[4] || (r[4] = (c) => l("close")),
1091
1091
  onAfterEnter: r[5] || (r[5] = (c) => l("after-enter")),
1092
1092
  onEnter: r[6] || (r[6] = (c) => l("enter")),
1093
1093
  onAfterLeave: r[7] || (r[7] = (c) => l("after-leave"))
1094
1094
  }), {
1095
1095
  default: C(() => [
1096
- I(d.$slots, "default")
1096
+ I(s.$slots, "default")
1097
1097
  ]),
1098
1098
  _: 3
1099
1099
  }, 16, ["shown", "preloaded", "anchor-id", "container-ref", "helper-description", "helper-text", "position", "width"])
@@ -1115,14 +1115,14 @@ const Et = {
1115
1115
  setup(e) {
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
- var d;
1119
- s(), (d = t.value.querySelector("a")) == null || d.click(), i.preventDefault();
1118
+ var s;
1119
+ u(), (s = t.value.querySelector("a")) == null || s.click(), i.preventDefault();
1120
1120
  }, t);
1121
- function s() {
1121
+ function u() {
1122
1122
  var i;
1123
1123
  n(o.value, a.value), (i = t.value.querySelector("a")) == null || i.click();
1124
1124
  }
1125
- return (i, d) => (u(), f("li", {
1125
+ return (i, s) => (d(), f("li", {
1126
1126
  "data-component": "bs-dropdown-option",
1127
1127
  "data-value": a.value,
1128
1128
  ref_key: "optionRef",
@@ -1131,7 +1131,7 @@ const Et = {
1131
1131
  "data-variant": e.variant || void 0,
1132
1132
  id: o.value,
1133
1133
  tabIndex: -1,
1134
- onClick: s
1134
+ onClick: u
1135
1135
  }, [
1136
1136
  I(i.$slots, "default")
1137
1137
  ], 8, Zt));
@@ -1175,10 +1175,10 @@ 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 s = null, i = -1, d = -1;
1178
+ let u = null, i = -1, s = -1;
1179
1179
  ae("optionsId", t.optionsId), ae("handleSelect", P);
1180
1180
  function r() {
1181
- return s || (s = Array.from(n.value.querySelectorAll('[data-component="bs-dropdown-option"]'))), s;
1181
+ return u || (u = Array.from(n.value.querySelectorAll('[data-component="bs-dropdown-option"]'))), u;
1182
1182
  }
1183
1183
  O(() => {
1184
1184
  g(), document.addEventListener("keydown", L);
@@ -1192,17 +1192,17 @@ const Et = {
1192
1192
  const c = p(() => t.visible || t.shown), b = p(() => t.modelValue || t.selectedValue);
1193
1193
  function g() {
1194
1194
  var w, S, q, j, ee;
1195
- c.value ? (d = r().findIndex(
1195
+ c.value ? (s = r().findIndex(
1196
1196
  (J) => J.getAttribute("data-value") === String(b.value)
1197
- ), d > -1 && ((w = r()[d]) == null || w.setAttribute("data-selected", ""), (S = r()[d]) == null || S.setAttribute("aria-selected", "true"), i = d, t.focusDelay > 0 ? setTimeout(() => {
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
- (J = r()[d]) == null || J.focus();
1200
- }, t.focusDelay) : (q = r()[d]) == null || q.focus())) : ((j = r()[d]) == null || j.removeAttribute("data-selected"), (ee = r()[d]) == null || ee.removeAttribute("aria-selected"));
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"));
1201
1201
  }
1202
1202
  vt(
1203
1203
  n,
1204
1204
  () => {
1205
- s = null;
1205
+ u = 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) => (u(), f("ul", {
1254
+ return (w, S) => (d(), f("ul", {
1255
1255
  ref_key: "optionsRef",
1256
1256
  ref: n,
1257
1257
  "aria-activedescendant": o.value || void 0,
@@ -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 s() {
1373
+ function u() {
1374
1374
  l.value && (l.value = !1, t("close"));
1375
1375
  }
1376
- return (i, d) => (u(), A(v(Xt), {
1376
+ return (i, s) => (d(), A(v(Xt), {
1377
1377
  shown: e.shown,
1378
1378
  preloaded: e.preloaded,
1379
1379
  "anchor-id": e.anchorId,
@@ -1389,10 +1389,10 @@ const Et = {
1389
1389
  "toggle-id": e.toggleId,
1390
1390
  top: e.top,
1391
1391
  width: e.width,
1392
- onClose: s,
1393
- onAfterEnter: d[0] || (d[0] = (r) => t("after-enter")),
1392
+ onClose: u,
1393
+ onAfterEnter: s[0] || (s[0] = (r) => t("after-enter")),
1394
1394
  onEnter: n,
1395
- onAfterLeave: d[1] || (d[1] = (r) => t("after-leave"))
1395
+ onAfterLeave: s[1] || (s[1] = (r) => t("after-leave"))
1396
1396
  }, {
1397
1397
  default: C(() => [
1398
1398
  D(v(_t), {
@@ -1402,7 +1402,7 @@ const Et = {
1402
1402
  "selected-value": e.selectedValue,
1403
1403
  shown: l.value,
1404
1404
  "onUpdate:modelValue": o,
1405
- onClose: s
1405
+ onClose: u
1406
1406
  }, {
1407
1407
  default: C(() => [
1408
1408
  I(i.$slots, "default")
@@ -1437,14 +1437,14 @@ 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) => (u(), f("div", ta, [
1441
- t.value ? (u(), f("span", {
1440
+ return (l, n) => (d(), f("div", ta, [
1441
+ t.value ? (d(), f("span", {
1442
1442
  key: 0,
1443
1443
  id: e.hintId,
1444
1444
  class: "bs-hint",
1445
1445
  "data-error": e.error
1446
1446
  }, T(t.value), 9, aa)) : $("", !0),
1447
- e.charMax ? (u(), f("span", {
1447
+ e.charMax ? (d(), 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",
@@ -1462,7 +1462,7 @@ const Et = {
1462
1462
  ], [n] = H();
1463
1463
  return O(() => {
1464
1464
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
1465
- }), (o, s) => (u(), f(R, null, [
1465
+ }), (o, u) => (d(), f(R, null, [
1466
1466
  m("span", {
1467
1467
  ref_key: "svgWrapperRef",
1468
1468
  ref: a,
@@ -1471,7 +1471,7 @@ const Et = {
1471
1471
  }, [
1472
1472
  I(o.$slots, "default")
1473
1473
  ], 4),
1474
- (u(), f("svg", {
1474
+ (d(), f("svg", {
1475
1475
  xmlns: "http://www.w3.org/2000/svg",
1476
1476
  "view-box": t.value,
1477
1477
  width: "0",
@@ -1485,7 +1485,7 @@ const Et = {
1485
1485
  y2: "100%",
1486
1486
  "gradient-units": "userSpaceOnUse"
1487
1487
  }, [
1488
- (u(), f(R, null, Y(l, (i) => m("stop", {
1488
+ (d(), f(R, null, Y(l, (i) => m("stop", {
1489
1489
  key: i.offset,
1490
1490
  offset: i.offset,
1491
1491
  "stop-color": i.color
@@ -1510,17 +1510,17 @@ const Et = {
1510
1510
  emits: ["update:modelValue"],
1511
1511
  setup(e, { emit: a }) {
1512
1512
  const t = e, l = a, n = N(), o = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
1513
- function s(i) {
1514
- const d = n.type === "number" ? parseInt(i.target.value) : i.target.value;
1515
- l("update:modelValue", d);
1513
+ function u(i) {
1514
+ const s = n.type === "number" ? parseInt(i.target.value) : i.target.value;
1515
+ l("update:modelValue", s);
1516
1516
  }
1517
- return (i, d) => (u(), f("input", V({
1517
+ return (i, s) => (d(), f("input", V({
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: s
1523
+ onInput: u
1524
1524
  }, o.value), null, 16, ra));
1525
1525
  }
1526
1526
  }, sa = ["data-disabled", "data-error", "data-variant", "data-multifocus"], da = {
@@ -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) => (u(), f("div", {
1535
+ return (a, t) => (d(), f("div", {
1536
1536
  class: "bs-input-addon",
1537
1537
  "data-component": "bs-input-addon",
1538
1538
  "data-disabled": e.disabled,
@@ -1590,13 +1590,20 @@ 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: s, toRoot: i } = Z(t, l), d = p(() => {
1593
+ const t = e, l = N(), [n, o] = H(2), { toChild: u, toRoot: i } = Z(t, l, [
1594
+ "autocomplete",
1595
+ "max",
1596
+ "maxlength",
1597
+ "min",
1598
+ "minlength",
1599
+ "name"
1600
+ ]), s = p(() => {
1594
1601
  var b, g;
1595
1602
  return ((g = (b = t.hints) == null ? void 0 : b.join) == null ? void 0 : g.call(b, `
1596
1603
  `)) || t.hints;
1597
- }), r = p(() => t.error && t.errorMsg || t.hint || d.value || void 0), c = p(() => t.inputId || n.value);
1598
- return (b, g) => (u(), f("div", V({ "data-component": "bs-input-field" }, v(i)), [
1599
- e.label || b.$slots.label ? (u(), A(_, {
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(_, {
1600
1607
  key: 0,
1601
1608
  for: c.value,
1602
1609
  disabled: e.disabled,
@@ -1619,12 +1626,12 @@ const Et = {
1619
1626
  type: e.type,
1620
1627
  value: e.value || e.modelValue,
1621
1628
  "onUpdate:modelValue": g[0] || (g[0] = (y) => b.$emit("update:modelValue", y))
1622
- }, v(s)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
1623
- r.value ? (u(), A(pe, {
1629
+ }, v(u)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
1630
+ r.value ? (d(), A(pe, {
1624
1631
  key: 1,
1625
1632
  error: e.error,
1626
1633
  "error-msg": e.errorMsg,
1627
- hint: e.hint || d.value,
1634
+ hint: e.hint || s.value,
1628
1635
  "hint-id": v(o)
1629
1636
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : $("", !0)
1630
1637
  ], 16));
@@ -1662,8 +1669,13 @@ const Et = {
1662
1669
  },
1663
1670
  emits: ["clear", "update:modelValue"],
1664
1671
  setup(e, { emit: a }) {
1665
- const t = e, l = N(), { toChild: n, toRoot: o } = Z(t, l);
1666
- return (s, i) => (u(), A(da, V({
1672
+ const t = e, l = N(), { toChild: n, toRoot: o } = Z(t, l, [
1673
+ "autocomplete",
1674
+ "maxlength",
1675
+ "minlength",
1676
+ "name"
1677
+ ]);
1678
+ return (u, i) => (d(), A(da, V({
1667
1679
  class: "bs-input-search",
1668
1680
  "data-component": "bs-input-search",
1669
1681
  disabled: e.disabled
@@ -1676,13 +1688,13 @@ const Et = {
1676
1688
  "input-id": e.inputId,
1677
1689
  placeholder: e.placeholder,
1678
1690
  value: e.value || e.modelValue,
1679
- "onUpdate:modelValue": i[0] || (i[0] = (d) => s.$emit("update:modelValue", d))
1691
+ "onUpdate:modelValue": i[0] || (i[0] = (s) => u.$emit("update:modelValue", s))
1680
1692
  }, v(n)), null, 16, ["disabled", "input-id", "placeholder", "value"]),
1681
- e.disabled || e.hideClear ? $("", !0) : (u(), f("button", {
1693
+ e.disabled || e.hideClear ? $("", !0) : (d(), f("button", {
1682
1694
  key: 0,
1683
1695
  title: "Clear",
1684
1696
  type: "button",
1685
- onClick: i[1] || (i[1] = (d) => s.$emit("clear"))
1697
+ onClick: i[1] || (i[1] = (s) => u.$emit("clear"))
1686
1698
  }, [
1687
1699
  D(v(oe), { size: "sm" })
1688
1700
  ]))
@@ -1710,7 +1722,7 @@ const Et = {
1710
1722
  }
1711
1723
  },
1712
1724
  setup(e) {
1713
- return (a, t) => (u(), f("span", {
1725
+ return (a, t) => (d(), f("span", {
1714
1726
  class: "bs-loader",
1715
1727
  "data-size": e.size,
1716
1728
  "data-variant": e.variant,
@@ -1747,13 +1759,13 @@ const Et = {
1747
1759
  emits: ["after-enter", "after-leave"],
1748
1760
  setup(e, { emit: a }) {
1749
1761
  const t = e, l = a, { transition: n } = se(t);
1750
- return (o, s) => (u(), A(v(de), {
1762
+ return (o, u) => (d(), A(v(de), {
1751
1763
  shown: v(n),
1752
1764
  preloaded: e.preloaded,
1753
1765
  duration: 75,
1754
1766
  "enter-attribute": "data-shown",
1755
- onAfterEnter: s[0] || (s[0] = (i) => l("after-enter")),
1756
- onAfterLeave: s[1] || (s[1] = (i) => l("after-leave"))
1767
+ onAfterEnter: u[0] || (u[0] = (i) => l("after-enter")),
1768
+ onAfterLeave: u[1] || (u[1] = (i) => l("after-leave"))
1757
1769
  }, {
1758
1770
  default: C(() => [
1759
1771
  ba
@@ -1813,7 +1825,7 @@ const Et = {
1813
1825
  let o = !1;
1814
1826
  return re(["Escape"], () => {
1815
1827
  o && l("close", t.modalId);
1816
- }), (s, i) => (u(), f(R, null, [
1828
+ }), (u, i) => (d(), f(R, null, [
1817
1829
  D(ma, {
1818
1830
  shown: v(n),
1819
1831
  preloaded: e.preloaded,
@@ -1826,9 +1838,9 @@ const Et = {
1826
1838
  preloaded: e.preloaded,
1827
1839
  duration: 75,
1828
1840
  "enter-attribute": "data-shown",
1829
- onEnter: i[1] || (i[1] = (d) => Ue(o) ? o.value = !0 : o = !0),
1830
- onAfterEnter: i[2] || (i[2] = (d) => l("after-enter")),
1831
- onAfterLeave: i[3] || (i[3] = (d) => l("after-leave"))
1841
+ onEnter: i[1] || (i[1] = (s) => Ue(o) ? o.value = !0 : o = !0),
1842
+ onAfterEnter: i[2] || (i[2] = (s) => l("after-enter")),
1843
+ onAfterLeave: i[3] || (i[3] = (s) => l("after-leave"))
1832
1844
  }, {
1833
1845
  default: C(() => [
1834
1846
  m("div", {
@@ -1837,17 +1849,17 @@ const Et = {
1837
1849
  role: e.alert ? "alertdialog" : "dialog",
1838
1850
  "aria-modal": "true"
1839
1851
  }, [
1840
- e.closeButton ? (u(), f("div", Ba, [
1852
+ e.closeButton ? (d(), f("div", Ba, [
1841
1853
  m("button", {
1842
1854
  type: "button",
1843
1855
  title: "Close Modal",
1844
1856
  "aria-label": "Close Modal",
1845
- onClick: i[0] || (i[0] = (d) => l("close", e.modalId))
1857
+ onClick: i[0] || (i[0] = (s) => l("close", e.modalId))
1846
1858
  }, [
1847
1859
  D(v(oe), { class: "close-button" })
1848
1860
  ])
1849
1861
  ])) : $("", !0),
1850
- I(s.$slots, "default")
1862
+ I(u.$slots, "default")
1851
1863
  ], 8, ya)
1852
1864
  ]),
1853
1865
  _: 3
@@ -1961,13 +1973,13 @@ const Et = {
1961
1973
  }), E(n, (P, w) => {
1962
1974
  w !== null && (l("selchange", P), l("update:modelValue", P));
1963
1975
  });
1964
- const s = p(() => {
1976
+ const u = p(() => {
1965
1977
  if (t.variant === "group")
1966
1978
  return Math.ceil(t.itemsCount / t.itemsPerGroup);
1967
1979
  if (t.variant === "base")
1968
1980
  return t.pageCount;
1969
1981
  }), i = p(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
1970
- function d() {
1982
+ function s() {
1971
1983
  n.value = 1;
1972
1984
  }
1973
1985
  function r() {
@@ -1976,11 +1988,11 @@ const Et = {
1976
1988
  function c() {
1977
1989
  n.value = Math.min(
1978
1990
  n.value + 1,
1979
- s.value
1991
+ u.value
1980
1992
  );
1981
1993
  }
1982
1994
  function b() {
1983
- n.value = s.value;
1995
+ n.value = u.value;
1984
1996
  }
1985
1997
  const g = p(() => {
1986
1998
  if (t.pageCount <= t.pageRange)
@@ -1991,26 +2003,26 @@ const Et = {
1991
2003
  for (let j = S; j <= q; j++)
1992
2004
  P.push(j);
1993
2005
  return q < t.pageCount - 1 && P.push(t.breakText), P.push(t.pageCount), P;
1994
- }), y = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${s.value}`), L = p(() => {
2006
+ }), y = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${u.value}`), L = p(() => {
1995
2007
  const P = (n.value - 1) * t.itemsPerGroup + 1, w = Math.min(P - 1 + t.itemsPerGroup, t.itemsCount);
1996
2008
  return `${t.centerLabel ?? "Results"} ${P} - ${w} of ${t.itemsCount}`;
1997
2009
  }), M = p(() => t.resultsIncrements.split(",").map((P) => parseInt(P)));
1998
- return (P, w) => (u(), f("div", {
2010
+ return (P, w) => (d(), f("div", {
1999
2011
  class: "bs-pagination",
2000
2012
  "data-variant": i.value,
2001
2013
  "data-fixed": t.fixed
2002
2014
  }, [
2003
- e.variant === "base" || e.variant === "group" ? (u(), f("div", Sa, [
2004
- e.showFirstLastButtons ? (u(), f("button", {
2015
+ e.variant === "base" || e.variant === "group" ? (d(), f("div", Sa, [
2016
+ e.showFirstLastButtons ? (d(), f("button", {
2005
2017
  key: 0,
2006
2018
  type: "button",
2007
2019
  class: X(e.firstPageText ? "bs-pagination-word-caret" : void 0),
2008
2020
  title: e.firstPageText,
2009
2021
  disabled: n.value === 1,
2010
- onClick: d
2022
+ onClick: s
2011
2023
  }, [
2012
2024
  D(v(Je)),
2013
- e.firstPageText ? (u(), f("span", ka, T(e.firstPageText), 1)) : $("", !0)
2025
+ e.firstPageText ? (d(), f("span", ka, T(e.firstPageText), 1)) : $("", !0)
2014
2026
  ], 10, wa)) : $("", !0),
2015
2027
  m("button", {
2016
2028
  type: "button",
@@ -2020,11 +2032,11 @@ const Et = {
2020
2032
  onClick: r
2021
2033
  }, [
2022
2034
  D(v(Qe)),
2023
- e.prevPageText ? (u(), f("span", Ta, T(e.prevPageText), 1)) : $("", !0)
2035
+ e.prevPageText ? (d(), f("span", Ta, T(e.prevPageText), 1)) : $("", !0)
2024
2036
  ], 10, Ia)
2025
2037
  ])) : $("", !0),
2026
- e.variant === "base" && e.centerDisplay === "numbers" ? (u(), f("div", xa, [
2027
- (u(!0), f(R, null, Y(g.value, (S) => (u(), f("button", {
2038
+ e.variant === "base" && e.centerDisplay === "numbers" ? (d(), f("div", xa, [
2039
+ (d(!0), f(R, null, Y(g.value, (S) => (d(), f("button", {
2028
2040
  key: `page-${S}-button`,
2029
2041
  type: "button",
2030
2042
  title: `Page ${S}`,
@@ -2032,12 +2044,12 @@ const Et = {
2032
2044
  onClick: (q) => n.value = S
2033
2045
  }, T(S), 9, Ca))), 128))
2034
2046
  ])) : $("", !0),
2035
- t.variant === "base" && t.centerDisplay === "text" ? (u(), f("span", Aa, T(y.value), 1)) : $("", !0),
2036
- t.variant === "group" ? (u(), f("span", La, T(L.value), 1)) : $("", !0),
2037
- t.variant === "results" ? (u(), f(R, { key: 4 }, [
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 }, [
2038
2050
  Pa,
2039
2051
  m("div", Da, [
2040
- (u(!0), f(R, null, Y(M.value, (S) => (u(), f("button", {
2052
+ (d(!0), f(R, null, Y(M.value, (S) => (d(), f("button", {
2041
2053
  type: "button",
2042
2054
  key: `results-${S}`,
2043
2055
  "data-selected": S === n.value,
@@ -2046,26 +2058,26 @@ const Et = {
2046
2058
  }, T(S), 9, Va))), 128))
2047
2059
  ])
2048
2060
  ], 64)) : $("", !0),
2049
- e.variant === "base" || e.variant === "group" ? (u(), f("div", Ea, [
2061
+ e.variant === "base" || e.variant === "group" ? (d(), f("div", Ea, [
2050
2062
  m("button", {
2051
2063
  type: "button",
2052
2064
  class: X(e.nextPageText ? "bs-pagination-word-caret" : void 0),
2053
2065
  title: e.nextPageText,
2054
- disabled: n.value === s.value,
2066
+ disabled: n.value === u.value,
2055
2067
  onClick: c
2056
2068
  }, [
2057
- e.nextPageText ? (u(), f("span", za, T(e.nextPageText), 1)) : $("", !0),
2069
+ e.nextPageText ? (d(), f("span", za, T(e.nextPageText), 1)) : $("", !0),
2058
2070
  D(v(_e))
2059
2071
  ], 10, qa),
2060
- e.showFirstLastButtons ? (u(), f("button", {
2072
+ e.showFirstLastButtons ? (d(), f("button", {
2061
2073
  key: 0,
2062
2074
  type: "button",
2063
2075
  class: X(e.lastPageText ? "bs-pagination-word-caret" : void 0),
2064
2076
  title: e.lastPageText,
2065
- disabled: n.value === s.value,
2077
+ disabled: n.value === u.value,
2066
2078
  onClick: b
2067
2079
  }, [
2068
- e.lastPageText ? (u(), f("span", Ra, T(e.lastPageText), 1)) : $("", !0),
2080
+ e.lastPageText ? (d(), f("span", Ra, T(e.lastPageText), 1)) : $("", !0),
2069
2081
  D(v(et))
2070
2082
  ], 10, Ma)) : $("", !0)
2071
2083
  ])) : $("", !0)
@@ -2080,7 +2092,8 @@ const Et = {
2080
2092
  router: {},
2081
2093
  status: {
2082
2094
  type: String,
2083
- validator: (e) => ["active", "complete", "inactive", "error", "warning", "positive"].includes(e)
2095
+ /** option 'inactive' is DEPRECATED */
2096
+ validator: (e) => ["active", "complete", "disabled", "inactive", "error", "warning", "positive"].includes(e)
2084
2097
  },
2085
2098
  truncate: {
2086
2099
  type: Boolean,
@@ -2088,12 +2101,12 @@ const Et = {
2088
2101
  },
2089
2102
  variant: {
2090
2103
  type: String,
2091
- validator: (e) => ["filter", "filter-add", "filter-remove", "live"].includes(e)
2104
+ validator: (e) => ["filter", "filter-add", "filter-remove", "inactive", "live"].includes(e)
2092
2105
  }
2093
2106
  },
2094
2107
  setup(e) {
2095
2108
  const a = e, { onLinkClick: t } = ie(a), l = N(), { rootTag: n, attrsToBind: o } = he(a, l, "span");
2096
- return (s, i) => (u(), A(U(v(n)), V({
2109
+ return (u, i) => (d(), A(U(v(n)), V({
2097
2110
  class: "bs-pill",
2098
2111
  "data-active": e.active,
2099
2112
  "data-component": "bs-pill",
@@ -2104,7 +2117,7 @@ const Et = {
2104
2117
  }, v(o), { onClick: v(t) }), {
2105
2118
  default: C(() => [
2106
2119
  m("span", { "data-truncate": e.truncate }, [
2107
- I(s.$slots, "default")
2120
+ I(u.$slots, "default")
2108
2121
  ], 8, Na)
2109
2122
  ]),
2110
2123
  _: 3
@@ -2138,17 +2151,17 @@ const Et = {
2138
2151
  emits: ["action-toggled"],
2139
2152
  setup(e, { emit: a }) {
2140
2153
  const t = e, l = a, { icon: n } = le(t, "actionIcon"), { icon: o } = le(t, "miscMetaIcon");
2141
- function s(i) {
2154
+ function u(i) {
2142
2155
  i.target.tagName === "BUTTON" && (i.preventDefault(), i.stopImmediatePropagation(), l("action-toggled"));
2143
2156
  }
2144
- return (i, d) => (u(), f("div", Oa, [
2145
- e.action || i.$slots.action ? (u(), f("button", {
2157
+ return (i, s) => (d(), f("div", Oa, [
2158
+ e.action || i.$slots.action ? (d(), f("button", {
2146
2159
  key: 0,
2147
2160
  "data-icon": "true",
2148
- onClick: s
2161
+ onClick: u
2149
2162
  }, [
2150
2163
  I(i.$slots, "action", {}, () => [
2151
- e.actionIcon ? (u(), A(U(v(n) ? v(n) : "span"), {
2164
+ e.actionIcon ? (d(), A(U(v(n) ? v(n) : "span"), {
2152
2165
  key: 0,
2153
2166
  class: "bs-icon"
2154
2167
  })) : $("", !0),
@@ -2156,12 +2169,12 @@ const Et = {
2156
2169
  ])
2157
2170
  ])) : $("", !0),
2158
2171
  m("span", Wa, T(e.profileName), 1),
2159
- e.company ? (u(), f("span", ja, T(e.company), 1)) : $("", !0),
2160
- e.jobTitle ? (u(), f("span", Ga, T(e.jobTitle), 1)) : $("", !0),
2161
- e.email ? (u(), f("span", Fa, T(e.email), 1)) : $("", !0),
2162
- e.miscMeta || i.$slots.misc ? (u(), f("span", Ua, [
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, [
2163
2176
  I(i.$slots, "misc", {}, () => [
2164
- e.miscMetaIcon ? (u(), A(U(v(o) ? v(o) : "span"), {
2177
+ e.miscMetaIcon ? (d(), A(U(v(o) ? v(o) : "span"), {
2165
2178
  key: 0,
2166
2179
  class: "bs-icon"
2167
2180
  })) : $("", !0),
@@ -2186,17 +2199,17 @@ const Et = {
2186
2199
  },
2187
2200
  setup(e) {
2188
2201
  const a = e, t = k(!1), l = k(!!a.src);
2189
- return O(() => t.value = !0), (n, o) => (u(), f("div", {
2202
+ return O(() => t.value = !0), (n, o) => (d(), f("div", {
2190
2203
  class: "bs-profile-img",
2191
2204
  "data-img-size": e.size,
2192
2205
  "data-initials": e.initials,
2193
2206
  "data-no-img": !l.value
2194
2207
  }, [
2195
- l.value && t.value ? (u(), f("img", {
2208
+ l.value && t.value ? (d(), f("img", {
2196
2209
  key: 0,
2197
2210
  src: e.src,
2198
2211
  alt: e.profileName,
2199
- onError: o[0] || (o[0] = (s) => l.value = !1)
2212
+ onError: o[0] || (o[0] = (u) => l.value = !1)
2200
2213
  }, null, 40, Ya)) : $("", !0)
2201
2214
  ], 8, Ka));
2202
2215
  }
@@ -2229,7 +2242,7 @@ const Et = {
2229
2242
  emits: ["action-toggled"],
2230
2243
  setup(e, { emit: a }) {
2231
2244
  const t = e, l = a, { onLinkClick: n } = ie(t), o = p(() => t.href ? "a" : "div");
2232
- return (s, i) => (u(), A(U(o.value), {
2245
+ return (u, i) => (d(), A(U(o.value), {
2233
2246
  class: "bs-profile",
2234
2247
  href: e.href,
2235
2248
  "data-layout": e.layout,
@@ -2251,13 +2264,13 @@ const Et = {
2251
2264
  "action-icon": e.actionIcon,
2252
2265
  "misc-meta": e.miscMeta,
2253
2266
  "misc-meta-icon": e.miscMetaIcon,
2254
- onActionToggled: i[0] || (i[0] = (d) => l("action-toggled"))
2267
+ onActionToggled: i[0] || (i[0] = (s) => l("action-toggled"))
2255
2268
  }, {
2256
2269
  action: C(() => [
2257
- I(s.$slots, "action")
2270
+ I(u.$slots, "action")
2258
2271
  ]),
2259
2272
  misc: C(() => [
2260
- I(s.$slots, "misc")
2273
+ I(u.$slots, "misc")
2261
2274
  ]),
2262
2275
  _: 3
2263
2276
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -2309,14 +2322,14 @@ const Et = {
2309
2322
  },
2310
2323
  emits: ["update:modelValue"],
2311
2324
  setup(e, { emit: a }) {
2312
- const t = e, l = N(), [n] = H(), { toChild: o, toRoot: s } = Z(t, l), i = p(() => t.inputId || n.value), d = p(() => t.checked || t.modelValue && t.modelValue === t.value);
2313
- return (r, c) => (u(), f("div", V({
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({
2314
2327
  class: "bs-boolean",
2315
2328
  "data-component": "bs-radio",
2316
2329
  "data-size": e.size
2317
- }, v(s)), [
2330
+ }, v(u)), [
2318
2331
  m("input", V({
2319
- checked: d.value,
2332
+ checked: s.value,
2320
2333
  disabled: e.disabled,
2321
2334
  id: i.value,
2322
2335
  required: e.required,
@@ -2326,7 +2339,7 @@ const Et = {
2326
2339
  }, v(o), {
2327
2340
  onChange: c[0] || (c[0] = (b) => r.$emit("update:modelValue", b.target.value))
2328
2341
  }), null, 16, Ja),
2329
- e.label || r.$slots.label ? (u(), A(_, {
2342
+ e.label || r.$slots.label ? (d(), A(_, {
2330
2343
  key: 0,
2331
2344
  for: i.value,
2332
2345
  disabled: e.disabled,
@@ -2355,7 +2368,7 @@ const Et = {
2355
2368
  emits: ["update:modelValue"],
2356
2369
  setup(e, { emit: a }) {
2357
2370
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
2358
- return (n, o) => (u(), f("select", V({
2371
+ return (n, o) => (d(), f("select", V({
2359
2372
  id: n.$attrs.id || e.inputId,
2360
2373
  class: "bs-select",
2361
2374
  "data-component": "bs-select",
@@ -2364,7 +2377,7 @@ const Et = {
2364
2377
  "data-error": e.error,
2365
2378
  value: e.value || e.modelValue
2366
2379
  }, l.value, {
2367
- onChange: o[0] || (o[0] = (s) => n.$emit("update:modelValue", s.target.value))
2380
+ onChange: o[0] || (o[0] = (u) => n.$emit("update:modelValue", u.target.value))
2368
2381
  }), [
2369
2382
  I(n.$slots, "default")
2370
2383
  ], 16, Qa));
@@ -2396,6 +2409,10 @@ const Et = {
2396
2409
  inputId: String,
2397
2410
  /** Pass label text. */
2398
2411
  label: { type: String },
2412
+ passAttrs: {
2413
+ type: String,
2414
+ default: ""
2415
+ },
2399
2416
  /** Placeholder attribute for `<input>`. */
2400
2417
  placeholder: String,
2401
2418
  /** Sets the required state on the input, append required* indicator to label. */
@@ -2409,13 +2426,16 @@ const Et = {
2409
2426
  modelValue: [String, Number]
2410
2427
  },
2411
2428
  setup(e) {
2412
- const a = e, t = N(), [l, n] = H(2), { toChild: o, toRoot: s } = Z(a, t), i = p(() => {
2429
+ const a = e, t = N(), [l, n] = H(2), { toChild: o, toRoot: u } = Z(a, t, [
2430
+ "autofocus",
2431
+ "name"
2432
+ ]), i = p(() => {
2413
2433
  var b, g;
2414
2434
  return ((g = (b = a.hints) == null ? void 0 : b.join) == null ? void 0 : g.call(b, `
2415
2435
  `)) || a.hints;
2416
- }), d = p(() => a.error && a.errorMsg || a.hint || i.value || void 0), r = p(() => a.inputId || l.value), c = p(() => a.value || a.modelValue);
2417
- return (b, g) => (u(), f("div", V({ "data-component": "bs-select-field" }, v(s)), [
2418
- e.label || b.$slots.label ? (u(), A(_, {
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(_, {
2419
2439
  key: 0,
2420
2440
  for: r.value,
2421
2441
  disabled: e.disabled,
@@ -2443,7 +2463,7 @@ const Et = {
2443
2463
  value: "",
2444
2464
  disabled: !!c.value
2445
2465
  }, T(e.placeholder), 9, en),
2446
- (u(!0), f(R, null, Y(e.data, (y) => (u(), f("option", {
2466
+ (d(!0), f(R, null, Y(e.data, (y) => (d(), f("option", {
2447
2467
  key: y.value,
2448
2468
  disabled: y.disabled,
2449
2469
  selected: c.value === y.value,
@@ -2452,7 +2472,7 @@ const Et = {
2452
2472
  ]),
2453
2473
  _: 1
2454
2474
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
2455
- d.value ? (u(), A(pe, {
2475
+ s.value ? (d(), A(pe, {
2456
2476
  key: 1,
2457
2477
  "data-disabled": e.disabled,
2458
2478
  error: e.error,
@@ -2508,15 +2528,15 @@ const Et = {
2508
2528
  },
2509
2529
  emits: ["update:modelValue"],
2510
2530
  setup(e, { emit: a }) {
2511
- const t = e, l = a, n = N(), [o] = H(), { toChild: s, toRoot: i } = Z(t, n), d = p(() => t.inputId || o.value), r = p(() => t.checked || t.modelValue);
2512
- return (c, b) => (u(), f("div", V({
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({
2513
2533
  class: "bs-boolean",
2514
2534
  "data-component": "bs-switch",
2515
2535
  "data-size": e.size
2516
2536
  }, v(i)), [
2517
- e.label || c.$slots.label ? (u(), A(_, {
2537
+ e.label || c.$slots.label ? (d(), A(_, {
2518
2538
  key: 0,
2519
- for: d.value,
2539
+ for: s.value,
2520
2540
  disabled: e.disabled,
2521
2541
  hide: e.hideLabel
2522
2542
  }, {
@@ -2536,9 +2556,9 @@ const Et = {
2536
2556
  m("input", V({
2537
2557
  checked: r.value,
2538
2558
  disabled: e.disabled,
2539
- id: d.value,
2559
+ id: s.value,
2540
2560
  type: "checkbox"
2541
- }, v(s), {
2561
+ }, v(u), {
2542
2562
  onChange: b[0] || (b[0] = (g) => l("update:modelValue", g.target.checked))
2543
2563
  }), null, 16, ln),
2544
2564
  m("span", {
@@ -2566,18 +2586,18 @@ const Et = {
2566
2586
  },
2567
2587
  emits: ["tabClick"],
2568
2588
  setup(e, { emit: a }) {
2569
- const t = e, l = N(), n = k(), o = p(() => t.activeTabId === l.id), s = p(() => t.panelId || `${l.id}-panel`);
2589
+ const t = e, l = N(), n = k(), o = p(() => t.activeTabId === l.id), u = p(() => t.panelId || `${l.id}-panel`);
2570
2590
  function i(r) {
2571
- (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), d());
2591
+ (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
2572
2592
  }
2573
- function d() {
2593
+ function s() {
2574
2594
  if (t.activeTabId !== l.id) {
2575
2595
  const r = new CustomEvent("tabClick", { detail: l.id, bubbles: !0 });
2576
2596
  n.value.dispatchEvent(r);
2577
2597
  }
2578
2598
  }
2579
- return (r, c) => (u(), f("div", {
2580
- "aria-controls": s.value,
2599
+ return (r, c) => (d(), f("div", {
2600
+ "aria-controls": u.value,
2581
2601
  "aria-selected": o.value ? "true" : "false",
2582
2602
  "data-hidden": e.hidden || void 0,
2583
2603
  "data-component": "bs-tab",
@@ -2585,7 +2605,7 @@ const Et = {
2585
2605
  tabindex: "0",
2586
2606
  ref_key: "hostEl",
2587
2607
  ref: n,
2588
- onClick: d,
2608
+ onClick: s,
2589
2609
  onKeydown: i
2590
2610
  }, [
2591
2611
  I(r.$slots, "default")
@@ -2602,7 +2622,7 @@ const Et = {
2602
2622
  },
2603
2623
  emits: ["tabChange", "update:modelValue"],
2604
2624
  setup(e, { emit: a }) {
2605
- const t = e, l = a, n = k(!1), o = k(!1), s = k([]), i = k(!1), d = 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(() => s.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), 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(() => {
2606
2626
  var h;
2607
2627
  return q.value ? (h = g.value[S.value]) == null ? void 0 : h.textContent : "More";
2608
2628
  }), ke = p(() => q.value ? c.value[S.value] - c.value[S.value - 1] + cn : un), Q = p(() => {
@@ -2615,7 +2635,7 @@ const Et = {
2615
2635
  break;
2616
2636
  h.push(z);
2617
2637
  }
2618
- return d.value && h.push(r.value.querySelector(".bs-tab-list-toggle")), h;
2638
+ return s.value && h.push(r.value.querySelector(".bs-tab-list-toggle")), h;
2619
2639
  });
2620
2640
  function ue() {
2621
2641
  var K;
@@ -2632,7 +2652,7 @@ const Et = {
2632
2652
  }
2633
2653
  B.dataset.hidden = "false", B.setAttribute("tabindex", "0");
2634
2654
  }
2635
- d.value = h, s.value = G, n.value || He(() => n.value = !0), setTimeout(() => {
2655
+ s.value = h, u.value = G, n.value || He(() => n.value = !0), setTimeout(() => {
2636
2656
  Ee(), b.value = !0;
2637
2657
  }, b.value ? 0 : 1e3);
2638
2658
  }
@@ -2691,7 +2711,7 @@ const Et = {
2691
2711
  var K, F, ge, be;
2692
2712
  const h = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, B = M.value;
2693
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);
2694
- d.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`);
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`);
2695
2715
  }
2696
2716
  function qe() {
2697
2717
  var h, B;
@@ -2720,7 +2740,7 @@ const Et = {
2720
2740
  } catch (B) {
2721
2741
  console.log("tab error", B);
2722
2742
  }
2723
- }), ne(qe), (h, B) => (u(), f("div", {
2743
+ }), ne(qe), (h, B) => (d(), f("div", {
2724
2744
  class: "bs-tab-list",
2725
2745
  "data-component": "bs-tab-list",
2726
2746
  id: h.$attrs.id || v(P),
@@ -2738,7 +2758,7 @@ const Et = {
2738
2758
  "aria-expanded": i.value,
2739
2759
  class: "bs-tab-list-toggle",
2740
2760
  "data-active": q.value || void 0,
2741
- "data-hidden": !d.value,
2761
+ "data-hidden": !s.value,
2742
2762
  id: ee.value,
2743
2763
  ref_key: "dropdownToggle",
2744
2764
  ref: y,
@@ -2762,7 +2782,7 @@ const Et = {
2762
2782
  "onUpdate:modelValue": Ae
2763
2783
  }, {
2764
2784
  default: C(() => [
2765
- (u(!0), f(R, null, Y(s.value, (x) => (u(), A(Jt, {
2785
+ (d(!0), f(R, null, Y(u.value, (x) => (d(), A(Jt, {
2766
2786
  key: x.id,
2767
2787
  value: x.id,
2768
2788
  "options-id": j.value
@@ -2791,7 +2811,7 @@ const Et = {
2791
2811
  },
2792
2812
  setup(e) {
2793
2813
  const a = e, t = N(), l = p(() => a.activeTabId && a.activeTabId === a.tabId), n = p(() => t.id || `${a.tabId}-panel`);
2794
- return (o, s) => (u(), f("section", {
2814
+ return (o, u) => (d(), f("section", {
2795
2815
  "aria-labelledby": e.tabId,
2796
2816
  "data-active": l.value,
2797
2817
  "data-component": "bs-tab-panel",
@@ -2817,14 +2837,14 @@ const Et = {
2817
2837
  emits: ["update:modelValue"],
2818
2838
  setup(e, { emit: a }) {
2819
2839
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
2820
- return (n, o) => (u(), f("textarea", V({
2840
+ return (n, o) => (d(), f("textarea", V({
2821
2841
  class: "bs-textarea",
2822
2842
  "data-component": "bs-textarea",
2823
2843
  "data-error": e.error,
2824
2844
  id: n.$attrs.id || e.inputId,
2825
2845
  rows: n.$attrs.rows || 6,
2826
2846
  value: e.value || e.modelValue,
2827
- onInput: o[0] || (o[0] = (s) => n.$emit("update:modelValue", s.target.value))
2847
+ onInput: o[0] || (o[0] = (u) => n.$emit("update:modelValue", u.target.value))
2828
2848
  }, l.value), null, 16, hn));
2829
2849
  }
2830
2850
  }, Zn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
@@ -2876,7 +2896,13 @@ const Et = {
2876
2896
  },
2877
2897
  emits: ["update:modelValue"],
2878
2898
  setup(e, { emit: a }) {
2879
- const t = e, l = N(), [n, o] = H(2), { toChild: s, toRoot: i } = Z(t, l), d = p(() => {
2899
+ const t = e, l = N(), [n, o] = H(2), { toChild: u, toRoot: i } = Z(t, l, [
2900
+ "autocomplete",
2901
+ "cols",
2902
+ "maxlength",
2903
+ "minlength",
2904
+ "name"
2905
+ ]), s = p(() => {
2880
2906
  var g;
2881
2907
  return ((g = t.value || t.modelValue) == null ? void 0 : g.length) || 0;
2882
2908
  }), r = p(() => {
@@ -2884,8 +2910,8 @@ const Et = {
2884
2910
  return ((y = (g = t.hints) == null ? void 0 : g.join) == null ? void 0 : y.call(g, `
2885
2911
  `)) || t.hints;
2886
2912
  }), c = p(() => t.error && t.errorMsg || t.hint || r.value || void 0), b = p(() => t.inputId || n.value);
2887
- return (g, y) => (u(), f("div", V({ "data-component": "bs-textarea-field" }, v(i)), [
2888
- e.label || g.$slots.label ? (u(), A(_, {
2913
+ return (g, y) => (d(), f("div", V({ "data-component": "bs-textarea-field" }, v(i)), [
2914
+ e.label || g.$slots.label ? (d(), A(_, {
2889
2915
  key: 0,
2890
2916
  for: b.value,
2891
2917
  disabled: e.disabled,
@@ -2908,10 +2934,10 @@ const Et = {
2908
2934
  rows: e.rows,
2909
2935
  value: e.value || e.modelValue,
2910
2936
  "onUpdate:modelValue": y[0] || (y[0] = (L) => g.$emit("update:modelValue", L))
2911
- }, v(s)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
2912
- c.value || e.charMax ? (u(), A(pe, {
2937
+ }, v(u)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
2938
+ c.value || e.charMax ? (d(), A(pe, {
2913
2939
  key: 1,
2914
- "char-count": d.value,
2940
+ "char-count": s.value,
2915
2941
  "char-max": e.charMax,
2916
2942
  "data-disabled": e.disabled,
2917
2943
  error: e.error,
@@ -2970,28 +2996,28 @@ const Et = {
2970
2996
  const t = e, l = a, { transition: n } = se(t);
2971
2997
  let o = null;
2972
2998
  ae("variant", t.variant), ae("handleDismiss", i);
2973
- const s = te("stacked", t.stacked);
2999
+ const u = te("stacked", t.stacked);
2974
3000
  function i() {
2975
3001
  o && (clearTimeout(o), o = null), l("dismiss", t.toastId);
2976
3002
  }
2977
- function d() {
3003
+ function s() {
2978
3004
  t.duration > 0 && (o = setTimeout(() => {
2979
3005
  i();
2980
3006
  }, t.duration)), l("after-enter");
2981
3007
  }
2982
- return (r, c) => (u(), A(v(de), {
3008
+ return (r, c) => (d(), A(v(de), {
2983
3009
  shown: v(n),
2984
3010
  preloaded: e.preloaded,
2985
3011
  duration: 200,
2986
3012
  "enter-attribute": "data-shown",
2987
- onAfterEnter: d,
3013
+ onAfterEnter: s,
2988
3014
  onAfterLeave: c[0] || (c[0] = (b) => l("after-leave"))
2989
3015
  }, {
2990
3016
  default: C(() => [
2991
3017
  m("div", {
2992
3018
  class: "bs-toast",
2993
3019
  "data-variant": e.variant,
2994
- "data-stacked": v(s) || void 0,
3020
+ "data-stacked": v(u) || void 0,
2995
3021
  "aria-role": "alert"
2996
3022
  }, [
2997
3023
  I(r.$slots, "default")
@@ -3010,7 +3036,7 @@ const Et = {
3010
3036
  ((n = l.default) == null ? void 0 : n.call(l).length) > 2 && (a.value = !0);
3011
3037
  });
3012
3038
  const t = te("handleDismiss");
3013
- return (l, n) => (u(), f("div", {
3039
+ return (l, n) => (d(), f("div", {
3014
3040
  class: "bs-toast-actions",
3015
3041
  "data-stacked": a.value || void 0
3016
3042
  }, [
@@ -3035,7 +3061,7 @@ const Et = {
3035
3061
  return t;
3036
3062
  }, yn = {}, Bn = { class: "bs-toast-body" };
3037
3063
  function $n(e, a) {
3038
- return u(), f("div", Bn, [
3064
+ return d(), f("div", Bn, [
3039
3065
  I(e.$slots, "default")
3040
3066
  ]);
3041
3067
  }
@@ -3054,11 +3080,11 @@ const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el =
3054
3080
  return at;
3055
3081
  }
3056
3082
  });
3057
- return (l, n) => (u(), f("div", {
3083
+ return (l, n) => (d(), f("div", {
3058
3084
  class: "bs-toast-header",
3059
3085
  "data-variant": v(a)
3060
3086
  }, [
3061
- (u(), A(U(t.value), { class: "bs-toast-header-icon" })),
3087
+ (d(), A(U(t.value), { class: "bs-toast-header-icon" })),
3062
3088
  m("h5", null, [
3063
3089
  I(l.$slots, "default")
3064
3090
  ])
@@ -3067,7 +3093,7 @@ const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el =
3067
3093
  }, wn = { class: "bs-toaster" }, tl = {
3068
3094
  __name: "BsToaster",
3069
3095
  setup(e) {
3070
- return ae("stacked", !0), (a, t) => (u(), f("div", wn, [
3096
+ return ae("stacked", !0), (a, t) => (d(), f("div", wn, [
3071
3097
  I(a.$slots, "default")
3072
3098
  ]));
3073
3099
  }
@@ -3108,20 +3134,20 @@ const _n = /* @__PURE__ */ mn(yn, [["render", $n]]), Sn = ["data-variant"], el =
3108
3134
  function o() {
3109
3135
  t.value = !0;
3110
3136
  }
3111
- function s() {
3137
+ function u() {
3112
3138
  t.value = !1, l.value = !1;
3113
3139
  }
3114
- return (i, d) => (u(), f("div", {
3140
+ return (i, s) => (d(), f("div", {
3115
3141
  class: "bs-tooltip",
3116
3142
  "data-position": e.position || void 0,
3117
3143
  "data-component": "bs-tooltip",
3118
3144
  onMouseenter: o,
3119
3145
  onFocusin: o,
3120
- onMouseleave: s,
3121
- onFocusout: s
3146
+ onMouseleave: u,
3147
+ onFocusout: u
3122
3148
  }, [
3123
3149
  I(i.$slots, "default"),
3124
- e.content ? (u(), f("div", {
3150
+ e.content ? (d(), f("div", {
3125
3151
  key: 0,
3126
3152
  class: X(n.value),
3127
3153
  id: e.tooltipId,