@wwtdev/bsds-components-vue3 2.20.0 → 2.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { computed as c, ref as $, onMounted as te, onUnmounted as Ie, shallowRef as ut, watch as Z, defineAsyncComponent as qt, useId as Rt, openBlock as u, createElementBlock as m, unref as f, createElementVNode as B, renderSlot as z, createBlock as E, resolveDynamicComponent as se, createCommentVNode as O, createTextVNode as Y, toDisplayString as P, createVNode as W, normalizeClass as re, useAttrs as ge, mergeProps as K, withCtx as R, Fragment as ee, toHandlers as it, onBeforeUnmount as ct, onBeforeMount as Nt, nextTick as ze, createSlots as rt, useSlots as ft, renderList as ce, Teleport as da, withDirectives as Ae, Transition as Bt, vShow as Oe, provide as ve, withKeys as Ne, withModifiers as he, inject as be, isRef as ua, normalizeStyle as ca, h as ne, useTemplateRef as fa, readonly as It, cloneVNode as pa } from "vue";
1
+ import { computed as c, ref as $, onMounted as te, onUnmounted as Ie, shallowRef as ut, watch as Z, defineAsyncComponent as qt, useId as Rt, openBlock as u, createElementBlock as m, unref as f, createElementVNode as B, renderSlot as V, createBlock as E, resolveDynamicComponent as se, createCommentVNode as O, createTextVNode as Y, toDisplayString as P, createVNode as W, normalizeClass as re, useAttrs as ge, mergeProps as K, withCtx as R, Fragment as ee, toHandlers as it, onBeforeUnmount as ct, onBeforeMount as Nt, nextTick as ze, createSlots as rt, useSlots as ft, renderList as ce, Teleport as da, withDirectives as Ae, Transition as Bt, vShow as Oe, provide as ve, withKeys as Ne, withModifiers as he, inject as be, isRef as ua, normalizeStyle as ca, h as ne, useTemplateRef as fa, readonly as It, cloneVNode as pa } from "vue";
2
2
  import { BsIconCaretDown as Ue, BsIconWarning as st, BsIconClose as Ee, BsIconCalendar as Ft, BsIconCaretRight as Wt, BsIconCaretLeft as Ut, BsIconSmallCaretRight as ba, BsIconSmallCaretLeft as ma, BsIconSearch as va, BsIconCaretSort as jt, BsIconCaretLeftDouble as ha, BsIconCaretRightDouble as ga, BsIconCaretSortUp as ya, BsIconCaretSortDown as wa, BsIconActionEllipsis as Sa, BsIconGraphPieEmpty as Ct, BsIconCircleStop as $a, BsIconCircleCheck as Ba, BsIconCircleX as Ia, BsIconCircleEllipsis as Ca, BsIconCirclePlay as ka, BsIconCirclePause as Ta, BsIconCircleExclamation as Ht, BsIconThumbsUpStroke as xa } from "@wwtdev/bsds-icons-vue3";
3
3
  import { DatePicker as Aa } from "v-calendar";
4
4
  import { Filler as Oa, Chart as Ze, BarController as Va, BarElement as za, CategoryScale as Ea, LinearScale as La, Legend as Pa, TimeScale as Da, Tooltip as Ma } from "chart.js";
@@ -168,12 +168,12 @@ const $e = (e, a, t = void 0) => {
168
168
  onClick: h
169
169
  }, [
170
170
  e.icon || v.$slots.icon ? (u(), m("span", Ka, [
171
- z(v.$slots, "icon", {}, () => [
171
+ V(v.$slots, "icon", {}, () => [
172
172
  e.icon ? (u(), E(se(f(d) ? f(d) : "span"), { key: 0 })) : O("", !0)
173
173
  ])
174
174
  ])) : O("", !0),
175
175
  B("span", { id: r.value }, [
176
- z(v.$slots, "header", {}, () => [
176
+ V(v.$slots, "header", {}, () => [
177
177
  Y(P(e.headerText), 1)
178
178
  ])
179
179
  ], 8, Ga),
@@ -192,7 +192,7 @@ const $e = (e, a, t = void 0) => {
192
192
  role: "region"
193
193
  }, [
194
194
  B("div", null, [
195
- z(v.$slots, "default")
195
+ V(v.$slots, "default")
196
196
  ])
197
197
  ], 8, Xa)
198
198
  ], 8, Ua));
@@ -264,7 +264,7 @@ const $e = (e, a, t = void 0) => {
264
264
  "data-variant": e.variant,
265
265
  role: "status"
266
266
  }, [
267
- e.variant !== "notext" ? z(i.$slots, "default", { key: 0 }) : O("", !0)
267
+ e.variant !== "notext" ? V(i.$slots, "default", { key: 0 }) : O("", !0)
268
268
  ], 10, Ya));
269
269
  }
270
270
  }, Qa = {
@@ -283,12 +283,12 @@ const $e = (e, a, t = void 0) => {
283
283
  return (i, d) => n.value ? O("", !0) : (u(), m("div", Qa, [
284
284
  B("div", Ja, [
285
285
  B("div", _a, [
286
- z(i.$slots, "icon", {}, () => [
286
+ V(i.$slots, "icon", {}, () => [
287
287
  W(f(st), { size: "md" })
288
288
  ])
289
289
  ]),
290
290
  B("p", null, [
291
- z(i.$slots, "default")
291
+ V(i.$slots, "default")
292
292
  ]),
293
293
  B("button", {
294
294
  type: "button",
@@ -342,7 +342,7 @@ const $e = (e, a, t = void 0) => {
342
342
  ".href": f(i)
343
343
  }, f(l), { onClick: f(d) }), {
344
344
  default: R(() => [
345
- z(o.$slots, "default")
345
+ V(o.$slots, "default")
346
346
  ]),
347
347
  _: 3
348
348
  }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
@@ -402,7 +402,7 @@ const $e = (e, a, t = void 0) => {
402
402
  for: e.for
403
403
  }, [
404
404
  B("span", null, [
405
- z(a.$slots, "default")
405
+ V(a.$slots, "default")
406
406
  ]),
407
407
  e.required ? (u(), m(ee, { key: 0 }, [
408
408
  t[0] || (t[0] = B("span", {
@@ -463,7 +463,7 @@ const $e = (e, a, t = void 0) => {
463
463
  "data-variant": e.variant,
464
464
  "data-multifocus": e.multifocus
465
465
  }, [
466
- z(a.$slots, "default")
466
+ V(a.$slots, "default")
467
467
  ], 8, on));
468
468
  }
469
469
  }, rn = {
@@ -826,7 +826,7 @@ const bn = ["data-range"], At = "(min-width: 752px)", pi = /* @__PURE__ */ Objec
826
826
  required: e.required
827
827
  }, {
828
828
  default: R(() => [
829
- z(C.$slots, "label", {}, () => [
829
+ V(C.$slots, "label", {}, () => [
830
830
  Y(P(e.label), 1)
831
831
  ])
832
832
  ]),
@@ -959,17 +959,17 @@ const bn = ["data-range"], At = "(min-width: 752px)", pi = /* @__PURE__ */ Objec
959
959
  }, { ...f(i), ...s.value }, { onClick: f(o) }), {
960
960
  default: R(() => [
961
961
  h.value ? (u(), m("span", mn, [
962
- z(b.$slots, "default", {}, () => [
962
+ V(b.$slots, "default", {}, () => [
963
963
  Y(P(e.label), 1)
964
964
  ])
965
965
  ])) : O("", !0),
966
966
  B("span", vn, [
967
- z(b.$slots, "icon", {}, () => [
967
+ V(b.$slots, "icon", {}, () => [
968
968
  (u(), E(se(f(I))))
969
969
  ])
970
970
  ]),
971
971
  v.value ? (u(), m("span", hn, [
972
- z(b.$slots, "default", {}, () => [
972
+ V(b.$slots, "default", {}, () => [
973
973
  Y(P(e.label), 1)
974
974
  ])
975
975
  ])) : O("", !0)
@@ -1083,7 +1083,7 @@ const bn = ["data-range"], At = "(min-width: 752px)", pi = /* @__PURE__ */ Objec
1083
1083
  e.direction == "right" ? (u(), E(f(ba), { key: 0 })) : (u(), E(f(ma), { key: 1 }))
1084
1084
  ]),
1085
1085
  default: R(() => [
1086
- z(a.$slots, "default", {}, () => [
1086
+ V(a.$slots, "default", {}, () => [
1087
1087
  Y(P(e.label), 1)
1088
1088
  ])
1089
1089
  ]),
@@ -1815,7 +1815,7 @@ const zn = {
1815
1815
  required: e.required
1816
1816
  }, {
1817
1817
  default: R(() => [
1818
- z(b.$slots, "label", {}, () => [
1818
+ V(b.$slots, "label", {}, () => [
1819
1819
  Y(P(e.label), 1)
1820
1820
  ])
1821
1821
  ]),
@@ -1850,16 +1850,16 @@ const zn = {
1850
1850
  key: 0,
1851
1851
  to: e.breakoutStub
1852
1852
  }, [
1853
- z(n.$slots, "default")
1853
+ V(n.$slots, "default")
1854
1854
  ], 8, ["to"])) : O("", !0),
1855
1855
  e.breakout ? O("", !0) : (u(), m(ee, { key: 1 }, [
1856
- e.containerId ? z(n.$slots, "default", { key: 0 }) : (u(), m("div", {
1856
+ e.containerId ? V(n.$slots, "default", { key: 0 }) : (u(), m("div", {
1857
1857
  key: 1,
1858
1858
  ref_key: "internalContainerRef",
1859
1859
  ref: t,
1860
1860
  style: { position: "relative" }
1861
1861
  }, [
1862
- z(n.$slots, "default")
1862
+ V(n.$slots, "default")
1863
1863
  ], 512))
1864
1864
  ], 64))
1865
1865
  ], 64));
@@ -1909,7 +1909,7 @@ const zn = {
1909
1909
  onLeaveCancelled: l[7] || (l[7] = (i) => t("leave-cancelled"))
1910
1910
  }, {
1911
1911
  default: R(() => [
1912
- z(n.$slots, "default")
1912
+ V(n.$slots, "default")
1913
1913
  ]),
1914
1914
  _: 3
1915
1915
  }, 8, ["name"])), [
@@ -1927,7 +1927,7 @@ const zn = {
1927
1927
  onLeaveCancelled: l[15] || (l[15] = (i) => t("leave-cancelled"))
1928
1928
  }, {
1929
1929
  default: R(() => [
1930
- e.shown ? z(n.$slots, "default", { key: 0 }) : O("", !0)
1930
+ e.shown ? V(n.$slots, "default", { key: 0 }) : O("", !0)
1931
1931
  ]),
1932
1932
  _: 3
1933
1933
  }, 8, ["name"]));
@@ -2089,7 +2089,7 @@ const zn = {
2089
2089
  W(f(Ee))
2090
2090
  ])
2091
2091
  ])) : O("", !0),
2092
- z(N.$slots, "default")
2092
+ V(N.$slots, "default")
2093
2093
  ], 16, Nn)
2094
2094
  ]),
2095
2095
  _: 3
@@ -2207,7 +2207,7 @@ const zn = {
2207
2207
  onAfterLeave: r[3] || (r[3] = () => n("after-leave"))
2208
2208
  }, {
2209
2209
  default: R(() => [
2210
- z(s.$slots, "default")
2210
+ V(s.$slots, "default")
2211
2211
  ]),
2212
2212
  _: 3
2213
2213
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
@@ -2379,7 +2379,7 @@ const zn = {
2379
2379
  position: "left",
2380
2380
  variant: "notext"
2381
2381
  }, null, 8, ["count"])) : O("", !0),
2382
- z(n.$slots, "label", {}, () => [
2382
+ V(n.$slots, "label", {}, () => [
2383
2383
  Y(P(e.label), 1)
2384
2384
  ]),
2385
2385
  W(f(Ue))
@@ -2417,7 +2417,7 @@ const zn = {
2417
2417
  role: "option",
2418
2418
  onClick: d
2419
2419
  }, [
2420
- z(o.$slots, "default")
2420
+ V(o.$slots, "default")
2421
2421
  ], 8, Yn));
2422
2422
  }
2423
2423
  }, Zn = ["data-img-size", "data-initials", "data-no-img"], Qn = ["src", "alt"], Yt = {
@@ -2551,7 +2551,7 @@ const zn = {
2551
2551
  _: 2
2552
2552
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
2553
2553
  e.showNoOptions && e.options.length === 0 ? (u(), m("li", nl, [
2554
- z(o.$slots, "no-options", {}, () => [
2554
+ V(o.$slots, "no-options", {}, () => [
2555
2555
  s[0] || (s[0] = Y("No options"))
2556
2556
  ])
2557
2557
  ])) : O("", !0)
@@ -2809,7 +2809,7 @@ const zn = {
2809
2809
  onMousedown: G[2] || (G[2] = he(() => {
2810
2810
  }, ["prevent"]))
2811
2811
  }, [
2812
- z(q.$slots, "default")
2812
+ V(q.$slots, "default")
2813
2813
  ], 40, ll));
2814
2814
  }
2815
2815
  }, ol = { role: "separator" }, il = {
@@ -2925,7 +2925,7 @@ const zn = {
2925
2925
  "show-no-options": !1
2926
2926
  }, null, 8, ["options"])
2927
2927
  ], 64)) : (u(), m("li", il, [
2928
- z(I.$slots, "no-options", {}, () => [
2928
+ V(I.$slots, "no-options", {}, () => [
2929
2929
  b[3] || (b[3] = Y("No options"))
2930
2930
  ])
2931
2931
  ]))
@@ -3089,7 +3089,7 @@ const zn = {
3089
3089
  class: "bs-dropdown-with-toggle",
3090
3090
  id: M.$attrs.id
3091
3091
  }, [
3092
- z(M.$slots, "toggle", {
3092
+ V(M.$slots, "toggle", {
3093
3093
  anchorId: e.anchorId,
3094
3094
  optionsId: g.value,
3095
3095
  toggleId: h.value
@@ -3106,7 +3106,7 @@ const zn = {
3106
3106
  onClick: X[0] || (X[0] = (oe) => M.$emit("toggled"))
3107
3107
  }, {
3108
3108
  label: R(() => [
3109
- z(M.$slots, "toggle-label", {}, () => [
3109
+ V(M.$slots, "toggle-label", {}, () => [
3110
3110
  Y(P(e.toggleLabel), 1)
3111
3111
  ])
3112
3112
  ]),
@@ -3392,7 +3392,7 @@ const zn = {
3392
3392
  required: e.required
3393
3393
  }, {
3394
3394
  default: R(() => [
3395
- z(o.$slots, "label", {}, () => [
3395
+ V(o.$slots, "label", {}, () => [
3396
3396
  Y(P(e.label), 1)
3397
3397
  ])
3398
3398
  ]),
@@ -3539,7 +3539,7 @@ const zn = {
3539
3539
  onClose: d
3540
3540
  }, {
3541
3541
  default: R(() => [
3542
- z(o.$slots, "default")
3542
+ V(o.$slots, "default")
3543
3543
  ]),
3544
3544
  _: 3
3545
3545
  }, 8, ["label", "model-value", "options-id", "prevent-tab", "type-to-focus"])
@@ -3686,7 +3686,7 @@ const zn = {
3686
3686
  "onUpdate:modelValue": r
3687
3687
  }, {
3688
3688
  default: R(() => [
3689
- z(p.$slots, "default")
3689
+ V(p.$slots, "default")
3690
3690
  ]),
3691
3691
  _: 3
3692
3692
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "label", "model-value", "options-id", "position", "preloaded", "prevent-tab", "shown", "use-mobile-style", "width"]));
@@ -3723,18 +3723,18 @@ const zn = {
3723
3723
  "data-size": e.size
3724
3724
  }, [
3725
3725
  B("div", fl, [
3726
- z(n.$slots, "icon", {}, () => [
3726
+ V(n.$slots, "icon", {}, () => [
3727
3727
  (u(), E(se(f(t)), { size: "auto" }))
3728
3728
  ])
3729
3729
  ]),
3730
3730
  B("div", null, [
3731
3731
  B("p", pl, P(e.title), 1),
3732
3732
  e.size !== "xs" ? (u(), m("p", bl, [
3733
- z(n.$slots, "description", {}, () => [
3733
+ V(n.$slots, "description", {}, () => [
3734
3734
  Y(P(e.description), 1)
3735
3735
  ])
3736
3736
  ])) : O("", !0),
3737
- z(n.$slots, "call-to-action")
3737
+ V(n.$slots, "call-to-action")
3738
3738
  ])
3739
3739
  ], 8, cl));
3740
3740
  }
@@ -3807,7 +3807,7 @@ const zn = {
3807
3807
  W(f(Ee))
3808
3808
  ])
3809
3809
  ]),
3810
- z(o.$slots, "default")
3810
+ V(o.$slots, "default")
3811
3811
  ], 16, ml)
3812
3812
  ]),
3813
3813
  _: 3
@@ -3830,7 +3830,7 @@ const zn = {
3830
3830
  class: "bs-icon-gradient-wrapper",
3831
3831
  style: `fill: url(#${f(l)});`
3832
3832
  }, i.$attrs), [
3833
- z(i.$slots, "default")
3833
+ V(i.$slots, "default")
3834
3834
  ], 16),
3835
3835
  (u(), m("svg", {
3836
3836
  xmlns: "http://www.w3.org/2000/svg",
@@ -3915,7 +3915,7 @@ const zn = {
3915
3915
  required: e.required
3916
3916
  }, {
3917
3917
  default: R(() => [
3918
- z(r.$slots, "label", {}, () => [
3918
+ V(r.$slots, "label", {}, () => [
3919
3919
  Y(P(e.label), 1)
3920
3920
  ])
3921
3921
  ]),
@@ -4349,12 +4349,14 @@ const zn = {
4349
4349
  default: void 0
4350
4350
  }
4351
4351
  },
4352
- emits: ["update:inputValue", "update:optionsValue"],
4352
+ emits: ["close", "open", "update:inputValue", "update:optionsValue"],
4353
4353
  setup(e, { emit: a }) {
4354
4354
  const t = e, n = a, l = $(!1), i = $(!1), [d, o] = le(2);
4355
4355
  let s = [];
4356
4356
  Z(() => t.inputValue, () => {
4357
4357
  i.value ? i.value = !1 : x();
4358
+ }), Z(l, () => {
4359
+ l.value ? n("open") : n("close");
4358
4360
  });
4359
4361
  const r = c(() => t.typeaheadId || d.value), p = c(() => t.error && t.errorMsg || t.hint || void 0), g = c(() => `${r.value}-input-container`), h = c(() => `${r.value}-input`), v = c(() => `${r.value}-options`), k = c(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), I = c(() => {
4360
4362
  if (l.value) {
@@ -4404,7 +4406,7 @@ const zn = {
4404
4406
  required: e.required
4405
4407
  }, {
4406
4408
  default: R(() => [
4407
- z(T.$slots, "label", {}, () => [
4409
+ V(T.$slots, "label", {}, () => [
4408
4410
  Y(P(e.label), 1)
4409
4411
  ])
4410
4412
  ]),
@@ -4701,7 +4703,7 @@ const zn = {
4701
4703
  "modal-header": p.value
4702
4704
  })
4703
4705
  }, [
4704
- z(h.$slots, "title", {}, () => [
4706
+ V(h.$slots, "title", {}, () => [
4705
4707
  e.title ? (u(), m("span", {
4706
4708
  key: 0,
4707
4709
  id: f(d),
@@ -4720,10 +4722,10 @@ const zn = {
4720
4722
  ], 2)) : O("", !0)
4721
4723
  ], 2)) : O("", !0),
4722
4724
  B("div", null, [
4723
- z(h.$slots, "default")
4725
+ V(h.$slots, "default")
4724
4726
  ]),
4725
4727
  h.$slots.footer ? (u(), m("footer", Dl, [
4726
- z(h.$slots, "footer")
4728
+ V(h.$slots, "footer")
4727
4729
  ])) : O("", !0)
4728
4730
  ], 16, Ll)
4729
4731
  ]),
@@ -4989,7 +4991,7 @@ const zn = {
4989
4991
  }, f(i), { onClick: f(t) }), {
4990
4992
  default: R(() => [
4991
4993
  B("span", { "data-truncate": e.truncate }, [
4992
- z(o.$slots, "default")
4994
+ V(o.$slots, "default")
4993
4995
  ], 8, eo)
4994
4996
  ]),
4995
4997
  _: 3
@@ -5035,7 +5037,7 @@ const zn = {
5035
5037
  "data-icon": "true",
5036
5038
  onClick: d
5037
5039
  }, [
5038
- z(o.$slots, "action", {}, () => [
5040
+ V(o.$slots, "action", {}, () => [
5039
5041
  e.actionIcon ? (u(), E(se(f(l) ? f(l) : "span"), {
5040
5042
  key: 0,
5041
5043
  class: "bs-icon"
@@ -5048,7 +5050,7 @@ const zn = {
5048
5050
  e.jobTitle ? (u(), m("span", lo, P(e.jobTitle), 1)) : O("", !0),
5049
5051
  e.email ? (u(), m("span", oo, P(e.email), 1)) : O("", !0),
5050
5052
  e.miscMeta || o.$slots.misc ? (u(), m("span", io, [
5051
- z(o.$slots, "misc", {}, () => [
5053
+ V(o.$slots, "misc", {}, () => [
5052
5054
  e.miscMetaIcon ? (u(), E(se(f(i) ? f(i) : "span"), {
5053
5055
  key: 0,
5054
5056
  class: "bs-icon"
@@ -5115,10 +5117,10 @@ const zn = {
5115
5117
  onActionToggled: p[0] || (p[0] = (g) => n("action-toggled"))
5116
5118
  }, {
5117
5119
  action: R(() => [
5118
- z(r.$slots, "action")
5120
+ V(r.$slots, "action")
5119
5121
  ]),
5120
5122
  misc: R(() => [
5121
- z(r.$slots, "misc")
5123
+ V(r.$slots, "misc")
5122
5124
  ]),
5123
5125
  _: 3
5124
5126
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -5270,7 +5272,7 @@ const so = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uo = ["data-sta
5270
5272
  required: e.required
5271
5273
  }, {
5272
5274
  default: R(() => [
5273
- z(o.$slots, "label", {}, () => [
5275
+ V(o.$slots, "label", {}, () => [
5274
5276
  Y(P(e.label), 1)
5275
5277
  ])
5276
5278
  ]),
@@ -5303,7 +5305,7 @@ const so = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uo = ["data-sta
5303
5305
  }, n.value, {
5304
5306
  onChange: i[0] || (i[0] = (d) => l.$emit("update:modelValue", d.target.value))
5305
5307
  }), [
5306
- z(l.$slots, "default")
5308
+ V(l.$slots, "default")
5307
5309
  ], 16, po));
5308
5310
  }
5309
5311
  }, mo = ["selected", "disabled"], vo = ["disabled", "selected", "value"], zi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
@@ -5363,7 +5365,7 @@ const so = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uo = ["data-sta
5363
5365
  required: e.required
5364
5366
  }, {
5365
5367
  default: R(() => [
5366
- z(r.$slots, "label", {}, () => [
5368
+ V(r.$slots, "label", {}, () => [
5367
5369
  Y(P(e.label), 1)
5368
5370
  ])
5369
5371
  ]),
@@ -5553,7 +5555,7 @@ const so = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uo = ["data-sta
5553
5555
  required: e.required
5554
5556
  }, {
5555
5557
  default: R(() => [
5556
- z(h.$slots, "label", {}, () => [
5558
+ V(h.$slots, "label", {}, () => [
5557
5559
  Y(P(e.label), 1)
5558
5560
  ])
5559
5561
  ]),
@@ -5674,7 +5676,7 @@ const so = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uo = ["data-sta
5674
5676
  hide: e.hideLabel
5675
5677
  }, {
5676
5678
  default: R(() => [
5677
- z(s.$slots, "label", {}, () => [
5679
+ V(s.$slots, "label", {}, () => [
5678
5680
  Y(P(e.label), 1)
5679
5681
  ])
5680
5682
  ]),
@@ -5741,7 +5743,7 @@ const so = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uo = ["data-sta
5741
5743
  onClick: s,
5742
5744
  onKeydown: o
5743
5745
  }, [
5744
- z(r.$slots, "default")
5746
+ V(r.$slots, "default")
5745
5747
  ], 40, Io));
5746
5748
  }
5747
5749
  };
@@ -5828,7 +5830,7 @@ const Je = aa, na = Symbol("TableHeaderProvider"), la = Symbol("TableBodyProvide
5828
5830
  role: "rowgroup",
5829
5831
  style: ca(`--bs-table-${e.kind}-row-count: ${n.value}`)
5830
5832
  }, [
5831
- z(d.$slots, "default")
5833
+ V(d.$slots, "default")
5832
5834
  ], 6));
5833
5835
  }
5834
5836
  };
@@ -5850,7 +5852,7 @@ const et = ia, Co = {
5850
5852
  setup(e) {
5851
5853
  const a = be(la, null) || be(na, null) || be(oa);
5852
5854
  return te(() => a.incrementRowCount()), Ie(() => a.decrementRowCount()), (t, n) => (u(), m("div", Co, [
5853
- z(t.$slots, "default")
5855
+ V(t.$slots, "default")
5854
5856
  ]));
5855
5857
  }
5856
5858
  };
@@ -5877,13 +5879,13 @@ const Et = sa, wt = (e, a) => {
5877
5879
  }, ko = {}, To = { class: "bs-table-wrap-header" };
5878
5880
  function xo(e, a) {
5879
5881
  return u(), m("div", To, [
5880
- z(e.$slots, "default")
5882
+ V(e.$slots, "default")
5881
5883
  ]);
5882
5884
  }
5883
5885
  const Ao = /* @__PURE__ */ wt(ko, [["render", xo]]), Oo = {}, Vo = { class: "bs-table-wrap-footer" };
5884
5886
  function zo(e, a) {
5885
5887
  return u(), m("div", Vo, [
5886
- z(e.$slots, "default")
5888
+ V(e.$slots, "default")
5887
5889
  ]);
5888
5890
  }
5889
5891
  const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
@@ -5918,7 +5920,7 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
5918
5920
  type: "button",
5919
5921
  onClick: i
5920
5922
  }, [
5921
- z(d.$slots, "default", {}, () => [
5923
+ V(d.$slots, "default", {}, () => [
5922
5924
  o[0] || (o[0] = B("span", { class: "visually-hidden" }, "sort toggle", -1))
5923
5925
  ]),
5924
5926
  (u(), E(se(l[n.order] || f(jt)), {
@@ -6183,12 +6185,12 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6183
6185
  }
6184
6186
  function N(y = [], A, L = {}) {
6185
6187
  return _(y, [tt]).map(
6186
- (V) => q(V) ? ne(V, null, () => ue(A, L)) : ne(V)
6188
+ (z) => q(z) ? ne(z, null, () => ue(A, L)) : ne(z)
6187
6189
  );
6188
6190
  }
6189
6191
  function H(y = {}) {
6190
- var V;
6191
- const A = (V = y.slots) == null ? void 0 : V.default({}).find((U) => U.type === zt), L = oe(y), w = {
6192
+ var z;
6193
+ const A = (z = y.slots) == null ? void 0 : z.default({}).find((U) => U.type === zt), L = oe(y), w = {
6192
6194
  class: e.truncate && de(y),
6193
6195
  "data-bs-table-col-id": y.props.id,
6194
6196
  // TODO: only added here for col resize reasons, could be on all cells
@@ -6249,8 +6251,8 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6249
6251
  }
6250
6252
  }
6251
6253
  function pe(y = {}, A = {}) {
6252
- var V;
6253
- const L = (V = y.slots) == null ? void 0 : V.default(A).find((U) => U.type === Et), w = { class: e.truncate && de(y) };
6254
+ var z;
6255
+ const L = (z = y.slots) == null ? void 0 : z.default(A).find((U) => U.type === Et), w = { class: e.truncate && de(y) };
6254
6256
  return L ? ne(L, w) : ne(Et, w, () => G(A.row, y));
6255
6257
  }
6256
6258
  function de(y) {
@@ -6259,7 +6261,7 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6259
6261
  }
6260
6262
  function ye(y, A, L) {
6261
6263
  if (!n.value[y].length) return;
6262
- const w = n.value[y].map((V) => A(V, L));
6264
+ const w = n.value[y].map((z) => A(z, L));
6263
6265
  return ne("div", { class: `bs-table-cols-frozen-${y}` }, w);
6264
6266
  }
6265
6267
  function ue(y, A = {}) {
@@ -6284,14 +6286,14 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6284
6286
  ie && (Q.width = `${ie.offsetWidth}px`);
6285
6287
  });
6286
6288
  }
6287
- const V = [{ id: A, width: L ? `${L}px` : void 0 }, ...w];
6288
- V.forEach((U) => l.value[U.id] = U.width), t("resize-col", { target: V[0], updated: [...V] });
6289
+ const z = [{ id: A, width: L ? `${L}px` : void 0 }, ...w];
6290
+ z.forEach((U) => l.value[U.id] = U.width), t("resize-col", { target: z[0], updated: [...z] });
6289
6291
  }
6290
6292
  function q(y) {
6291
6293
  return y.type === tt && !y.children;
6292
6294
  }
6293
6295
  function G(y, A) {
6294
- return (A.props["row-key"] || A.props.rowKey || A.props.id || "").split(".").reduce((V, U) => V && V[U], y);
6296
+ return (A.props["row-key"] || A.props.rowKey || A.props.id || "").split(".").reduce((z, U) => z && z[U], y);
6295
6297
  }
6296
6298
  function j(y, A) {
6297
6299
  const L = y.props[A];
@@ -6319,8 +6321,8 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6319
6321
  });
6320
6322
  return y.reduce((L, w) => {
6321
6323
  if (w.type === et) {
6322
- const { place: V, frozenCols: U } = Te(w);
6323
- return L[V] = L[V].concat(U.map(A)), L;
6324
+ const { place: z, frozenCols: U } = Te(w);
6325
+ return L[z] = L[z].concat(U.map(A)), L;
6324
6326
  }
6325
6327
  return L.center.push(A(w)), L;
6326
6328
  }, { left: [], center: [], right: [] });
@@ -6374,18 +6376,18 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6374
6376
  }), M = c(() => N.value ? p.value[D.value] - p.value[D.value - 1] + qo + at : Mo + at);
6375
6377
  function X() {
6376
6378
  var Se;
6377
- let w = !1, V, U = 0, Q = !1, ie = [];
6379
+ let w = !1, z, U = 0, Q = !1, ie = [];
6378
6380
  if ((Se = h.value) != null && Se.length) {
6379
6381
  for (let me = 0; me < h.value.length; me++) {
6380
- if (V = h.value[me], V.setAttribute("tabindex", "-1"), Q && me !== D.value) {
6381
- V.dataset.hidden = "true", ie.push(V);
6382
+ if (z = h.value[me], z.setAttribute("tabindex", "-1"), Q && me !== D.value) {
6383
+ z.dataset.hidden = "true", ie.push(z);
6382
6384
  continue;
6383
6385
  }
6384
6386
  if (U = me < h.value.length - 1 ? b.value - M.value : b.value, p.value[me] > U) {
6385
- V.dataset.hidden = "true", ie.push(V), w = !0, Q = !0;
6387
+ z.dataset.hidden = "true", ie.push(z), w = !0, Q = !0;
6386
6388
  continue;
6387
6389
  }
6388
- V.dataset.hidden = "false", V.setAttribute("tabindex", "0");
6390
+ z.dataset.hidden = "false", z.setAttribute("tabindex", "0");
6389
6391
  }
6390
6392
  s.value = w, d.value = ie, l.value || ze(() => l.value = !0), C = setTimeout(() => {
6391
6393
  r.value && (L(), Te(), g.value = !0);
@@ -6403,8 +6405,8 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6403
6405
  }
6404
6406
  function ye(w) {
6405
6407
  var Q, ie, Se;
6406
- const V = (Se = (ie = (Q = h.value[w]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : ie.call(Q)) == null ? void 0 : Se.width;
6407
- return V || (w === 0 ? p.value[0] : p.value[w] - p.value[w - 1]) || 0;
6408
+ const z = (Se = (ie = (Q = h.value[w]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : ie.call(Q)) == null ? void 0 : Se.width;
6409
+ return z || (w === 0 ? p.value[0] : p.value[w] - p.value[w - 1]) || 0;
6408
6410
  }
6409
6411
  function ue() {
6410
6412
  var w;
@@ -6418,47 +6420,47 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6418
6420
  o.value = !o.value, i.value || (i.value = !0);
6419
6421
  }
6420
6422
  function q(w) {
6421
- var V;
6422
- o.value = !1, (V = v.value) == null || V.focus(), de(w);
6423
+ var z;
6424
+ o.value = !1, (z = v.value) == null || z.focus(), de(w);
6423
6425
  }
6424
6426
  function G(w) {
6425
6427
  if (t.withBsTabs) return;
6426
- const V = w.target.closest('[role="tab"]');
6427
- if (!V || V.getAttribute("aria-selected") === "true") return;
6428
- const U = V.getAttribute("id");
6428
+ const z = w.target.closest('[role="tab"]');
6429
+ if (!z || z.getAttribute("aria-selected") === "true") return;
6430
+ const U = z.getAttribute("id");
6429
6431
  de(U);
6430
6432
  }
6431
6433
  function j(w) {
6432
6434
  if (w.key === "ArrowLeft" || w.key === "ArrowRight") {
6433
- const V = k.value.findIndex((U) => U.id === w.target.id);
6434
- if (V === -1) return;
6435
- w.preventDefault(), w.stopPropagation(), w.key === "ArrowLeft" ? _(V) : J(V);
6435
+ const z = k.value.findIndex((U) => U.id === w.target.id);
6436
+ if (z === -1) return;
6437
+ w.preventDefault(), w.stopPropagation(), w.key === "ArrowLeft" ? _(z) : J(z);
6436
6438
  }
6437
6439
  }
6438
6440
  function J(w) {
6439
6441
  var U;
6440
- const V = (w + 1) % k.value.length;
6441
- (U = k.value[V]) == null || U.focus();
6442
+ const z = (w + 1) % k.value.length;
6443
+ (U = k.value[z]) == null || U.focus();
6442
6444
  }
6443
6445
  function _(w) {
6444
6446
  var U;
6445
- const V = w === 0 ? k.value.length - 1 : w - 1;
6446
- (U = k.value[V]) == null || U.focus();
6447
+ const z = w === 0 ? k.value.length - 1 : w - 1;
6448
+ (U = k.value[z]) == null || U.focus();
6447
6449
  }
6448
6450
  function Te() {
6449
6451
  var Se, me, St, $t;
6450
- const w = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, V = b.value;
6452
+ const w = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, z = b.value;
6451
6453
  let U = 300, Q = ((me = (Se = k.value) == null ? void 0 : Se[D.value]) == null ? void 0 : me.offsetLeft) || 0, ie = ye(D.value);
6452
- s.value && N.value && (Q = (St = v.value) == null ? void 0 : St.offsetLeft, ie = ($t = v.value) == null ? void 0 : $t.offsetWidth), U = Math.max(Math.abs((Q - w) / V * 300), 100), r.value.style.setProperty("--active-line-max-width", `${V}px`), r.value.style.setProperty("--active-line-scale", `${ie / V}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${U}ms`);
6454
+ s.value && N.value && (Q = (St = v.value) == null ? void 0 : St.offsetLeft, ie = ($t = v.value) == null ? void 0 : $t.offsetWidth), U = Math.max(Math.abs((Q - w) / z * 300), 100), r.value.style.setProperty("--active-line-max-width", `${z}px`), r.value.style.setProperty("--active-line-scale", `${ie / z}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${U}ms`);
6453
6455
  }
6454
6456
  function Xe() {
6455
- var w, V;
6456
- (V = (w = I.value) == null ? void 0 : w.disconnect) == null || V.call(w), I.value = null;
6457
+ var w, z;
6458
+ (z = (w = I.value) == null ? void 0 : w.disconnect) == null || z.call(w), I.value = null;
6457
6459
  }
6458
6460
  function Ye() {
6459
6461
  const w = Fe(() => {
6460
- var V;
6461
- b.value = (V = r == null ? void 0 : r.value) == null ? void 0 : V.clientWidth, X();
6462
+ var z;
6463
+ b.value = (z = r == null ? void 0 : r.value) == null ? void 0 : z.clientWidth, X();
6462
6464
  }, 25);
6463
6465
  I.value = new ResizeObserver(w), I.value.observe(document.body), r.value && I.value.observe(r.value);
6464
6466
  }
@@ -6467,16 +6469,16 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6467
6469
  }
6468
6470
  function A() {
6469
6471
  let w;
6470
- h.value.forEach((V, U) => {
6471
- w = V.getBoundingClientRect().width + at, p.value.push(U ? w + p.value[U - 1] : w);
6472
+ h.value.forEach((z, U) => {
6473
+ w = z.getBoundingClientRect().width + at, p.value.push(U ? w + p.value[U - 1] : w);
6472
6474
  });
6473
6475
  }
6474
6476
  function L() {
6475
- var V, U;
6477
+ var z, U;
6476
6478
  let w = [];
6477
6479
  if (typeof window > "u") return w;
6478
6480
  for (let Q of h.value) {
6479
- if (((V = Q.dataset) == null ? void 0 : V.hidden) === "true" || ((U = Q.dataset) == null ? void 0 : U.hidden) === "" || Q.getAttribute("tabindex") === "-1") break;
6481
+ if (((z = Q.dataset) == null ? void 0 : z.hidden) === "true" || ((U = Q.dataset) == null ? void 0 : U.hidden) === "" || Q.getAttribute("tabindex") === "-1") break;
6480
6482
  w.push(Q);
6481
6483
  }
6482
6484
  s.value && w.push(r.value.querySelector(".bs-tab-list-toggle")), k.value = w;
@@ -6485,10 +6487,10 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6485
6487
  var w;
6486
6488
  try {
6487
6489
  y(), A(), Ye(), b.value = r.value.getBoundingClientRect().width, X(), t.withBsTabs || (w = h.value[D.value]) == null || w.setAttribute("aria-selected", "true");
6488
- } catch (V) {
6489
- console.log("tab error", V);
6490
+ } catch (z) {
6491
+ console.log("tab error", z);
6490
6492
  }
6491
- }), Ie(pe), (w, V) => (u(), m("div", {
6493
+ }), Ie(pe), (w, z) => (u(), m("div", {
6492
6494
  class: "bs-tab-list",
6493
6495
  "data-component": "bs-tab-list",
6494
6496
  id: w.$attrs.id || f(S),
@@ -6497,10 +6499,10 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6497
6499
  role: "tablist",
6498
6500
  "data-resizing": !l.value || void 0,
6499
6501
  onClick: G,
6500
- "on:tabClick": V[0] || (V[0] = (U) => de(U.detail)),
6502
+ "on:tabClick": z[0] || (z[0] = (U) => de(U.detail)),
6501
6503
  onKeydown: j
6502
6504
  }, [
6503
- z(w.$slots, "default"),
6505
+ V(w.$slots, "default"),
6504
6506
  B("button", {
6505
6507
  "aria-controls": f(x),
6506
6508
  "aria-expanded": o.value,
@@ -6566,7 +6568,7 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6566
6568
  id: l.value,
6567
6569
  role: "tabpanel"
6568
6570
  }, [
6569
- z(i.$slots, "default")
6571
+ V(i.$slots, "default")
6570
6572
  ], 8, Ro));
6571
6573
  }
6572
6574
  }, No = ["data-error", "id", "rows", "value"], Fo = {
@@ -6660,7 +6662,7 @@ const Eo = /* @__PURE__ */ wt(Oo, [["render", zo]]), Lt = {
6660
6662
  required: e.required
6661
6663
  }, {
6662
6664
  default: R(() => [
6663
- z(p.$slots, "label", {}, () => [
6665
+ V(p.$slots, "label", {}, () => [
6664
6666
  Y(P(e.label), 1)
6665
6667
  ])
6666
6668
  ]),
@@ -7040,7 +7042,7 @@ const nt = "excluded", lt = "over", Dt = "skip", Mt = "stop", ot = "under", Xo =
7040
7042
  required: e.required
7041
7043
  }, {
7042
7044
  default: R(() => [
7043
- z(v.$slots, "label", {}, () => [
7045
+ V(v.$slots, "label", {}, () => [
7044
7046
  Y(P(e.label), 1)
7045
7047
  ])
7046
7048
  ]),
@@ -7150,7 +7152,7 @@ const nt = "excluded", lt = "over", Dt = "skip", Mt = "stop", ot = "under", Xo =
7150
7152
  "data-stacked": f(d) || void 0,
7151
7153
  role: "alert"
7152
7154
  }, r.$attrs), [
7153
- z(r.$slots, "default")
7155
+ V(r.$slots, "default")
7154
7156
  ], 16, Yo)
7155
7157
  ]),
7156
7158
  _: 3
@@ -7170,7 +7172,7 @@ const nt = "excluded", lt = "over", Dt = "skip", Mt = "stop", ot = "under", Xo =
7170
7172
  "data-component": "bs-toast-actions",
7171
7173
  "data-stacked": t()
7172
7174
  }, [
7173
- z(n.$slots, "default", {}, () => [
7175
+ V(n.$slots, "default", {}, () => [
7174
7176
  W(Kt, {
7175
7177
  size: "sm",
7176
7178
  "text-btn": "",
@@ -7190,7 +7192,7 @@ const nt = "excluded", lt = "over", Dt = "skip", Mt = "stop", ot = "under", Xo =
7190
7192
  };
7191
7193
  function _o(e, a) {
7192
7194
  return u(), m("div", Jo, [
7193
- z(e.$slots, "default")
7195
+ V(e.$slots, "default")
7194
7196
  ]);
7195
7197
  }
7196
7198
  const Hi = /* @__PURE__ */ wt(Qo, [["render", _o]]), ei = {
@@ -7200,7 +7202,7 @@ const Hi = /* @__PURE__ */ wt(Qo, [["render", _o]]), ei = {
7200
7202
  __name: "BsToaster",
7201
7203
  setup(e) {
7202
7204
  return ve("stacked", !0), (a, t) => (u(), m("div", ei, [
7203
- z(a.$slots, "default")
7205
+ V(a.$slots, "default")
7204
7206
  ]));
7205
7207
  }
7206
7208
  }, ti = ["data-variant"], Gi = {
@@ -7225,7 +7227,7 @@ const Hi = /* @__PURE__ */ wt(Qo, [["render", _o]]), ei = {
7225
7227
  }, [
7226
7228
  (u(), E(se(t.value), { class: "bs-toast-header-icon" })),
7227
7229
  B("h5", null, [
7228
- z(n.$slots, "default")
7230
+ V(n.$slots, "default")
7229
7231
  ])
7230
7232
  ], 8, ti));
7231
7233
  }
@@ -7238,7 +7240,7 @@ const Hi = /* @__PURE__ */ wt(Qo, [["render", _o]]), ei = {
7238
7240
  },
7239
7241
  content: {
7240
7242
  type: String,
7241
- required: !0
7243
+ default: ""
7242
7244
  },
7243
7245
  position: {
7244
7246
  type: String,
@@ -7278,12 +7280,16 @@ const Hi = /* @__PURE__ */ wt(Qo, [["render", _o]]), ei = {
7278
7280
  onMouseleave: d,
7279
7281
  onFocusout: d
7280
7282
  }, [
7281
- z(o.$slots, "default"),
7283
+ V(o.$slots, "default"),
7282
7284
  B("div", {
7283
7285
  class: re(l.value),
7284
7286
  id: e.tooltipId,
7285
7287
  role: "tooltip"
7286
- }, P(e.content), 11, ni)
7288
+ }, [
7289
+ V(o.$slots, "content", {}, () => [
7290
+ Y(P(e.content), 1)
7291
+ ])
7292
+ ], 10, ni)
7287
7293
  ], 40, ai));
7288
7294
  }
7289
7295
  };