@wwtdev/bsds-components-vue3 2.12.0 → 2.13.1

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 I, onMounted as H, onUnmounted as $e, shallowRef as Mt, watch as j, defineAsyncComponent as Je, openBlock as u, createElementBlock as h, unref as c, createElementVNode as S, renderSlot as L, createBlock as O, resolveDynamicComponent as te, createCommentVNode as C, toDisplayString as V, createVNode as P, normalizeClass as ie, useAttrs as re, mergeProps as z, withCtx as D, Fragment as G, toHandlers as Ye, onBeforeUnmount as _e, onBeforeMount as gt, nextTick as Ae, createTextVNode as U, createSlots as Ze, useSlots as yt, renderList as ee, Teleport as Nt, withDirectives as ue, Transition as st, vShow as ce, provide as fe, inject as pe, withModifiers as St, isRef as zt } from "vue";
1
+ import { computed as p, ref as I, onMounted as H, onUnmounted as $e, shallowRef as Mt, watch as j, defineAsyncComponent as Je, openBlock as u, createElementBlock as h, unref as c, createElementVNode as S, renderSlot as E, createBlock as O, resolveDynamicComponent as te, createCommentVNode as C, createTextVNode as W, toDisplayString as V, createVNode as P, normalizeClass as ie, useAttrs as re, mergeProps as z, withCtx as D, Fragment as G, toHandlers as Ye, onBeforeUnmount as _e, onBeforeMount as gt, nextTick as Ae, createSlots as Ze, useSlots as yt, renderList as ee, Teleport as Nt, withDirectives as ue, Transition as st, vShow as ce, provide as fe, inject as pe, withModifiers as St, isRef as zt } from "vue";
2
2
  import { v4 as wt } from "uuid";
3
3
  import { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as Be, BsIconCalendar as $t, BsIconCaretRight as Bt, BsIconCaretLeft as It, BsIconSmallCaretRight as Ft, BsIconSmallCaretLeft as Rt, BsIconCaretSort as jt, BsIconSearch as Wt, BsIconCaretLeftDouble as Ut, BsIconCaretRightDouble as Gt, BsIconActionEllipsis as Ht, BsIconGraphPieEmpty as dt, BsIconCircleStop as Kt, BsIconCircleCheck as Yt, BsIconCircleX as Zt, BsIconCircleEllipsis as Xt, BsIconCirclePlay as Qt, BsIconCirclePause as Jt, BsIconCircleExclamation as kt, BsIconThumbsUpStroke as _t } from "@wwtdev/bsds-icons-vue3";
4
4
  import { DatePicker as ea } from "v-calendar";
@@ -136,7 +136,7 @@ const me = (e, a, t = void 0) => {
136
136
  props: {
137
137
  controlled: { type: Boolean, default: !1 },
138
138
  icon: { type: String },
139
- headerText: { type: String, required: !0 },
139
+ headerText: { type: String, default: "" },
140
140
  /** @Deprecated */
141
141
  headingLevel: {
142
142
  type: Number,
@@ -171,11 +171,15 @@ const me = (e, a, t = void 0) => {
171
171
  onClick: v
172
172
  }, [
173
173
  e.icon || g.$slots.icon ? (u(), h("span", va, [
174
- L(g.$slots, "icon", {}, () => [
174
+ E(g.$slots, "icon", {}, () => [
175
175
  e.icon ? (u(), O(te(c(d) ? c(d) : "span"), { key: 0 })) : C("", !0)
176
176
  ])
177
177
  ])) : C("", !0),
178
- S("span", { id: r.value }, V(e.headerText), 9, ga),
178
+ S("span", { id: r.value }, [
179
+ E(g.$slots, "header", {}, () => [
180
+ W(V(e.headerText), 1)
181
+ ])
182
+ ], 8, ga),
179
183
  P(c(Me), {
180
184
  size: "md",
181
185
  "data-position": "end"
@@ -191,7 +195,7 @@ const me = (e, a, t = void 0) => {
191
195
  role: "region"
192
196
  }, [
193
197
  S("div", null, [
194
- L(g.$slots, "default")
198
+ E(g.$slots, "default")
195
199
  ])
196
200
  ], 8, ya)
197
201
  ], 8, ma));
@@ -264,7 +268,7 @@ const me = (e, a, t = void 0) => {
264
268
  "data-variant": e.variant,
265
269
  role: "status"
266
270
  }, [
267
- e.variant !== "notext" ? L(i.$slots, "default", { key: 0 }) : C("", !0)
271
+ e.variant !== "notext" ? E(i.$slots, "default", { key: 0 }) : C("", !0)
268
272
  ], 10, Sa));
269
273
  }
270
274
  }, $a = {
@@ -286,7 +290,7 @@ const me = (e, a, t = void 0) => {
286
290
  P(c(Xe), { size: "lg" })
287
291
  ]),
288
292
  S("p", null, [
289
- L(i.$slots, "default")
293
+ E(i.$slots, "default")
290
294
  ]),
291
295
  S("button", {
292
296
  type: "button",
@@ -340,7 +344,7 @@ const me = (e, a, t = void 0) => {
340
344
  ".href": c(i)
341
345
  }, c(n), { onClick: c(d) }), {
342
346
  default: D(() => [
343
- L(o.$slots, "default")
347
+ E(o.$slots, "default")
344
348
  ]),
345
349
  _: 3
346
350
  }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
@@ -403,7 +407,7 @@ const me = (e, a, t = void 0) => {
403
407
  for: e.for
404
408
  }, [
405
409
  S("span", null, [
406
- L(a.$slots, "default")
410
+ E(a.$slots, "default")
407
411
  ]),
408
412
  e.required ? (u(), h(G, { key: 0 }, [
409
413
  Va,
@@ -461,7 +465,7 @@ const me = (e, a, t = void 0) => {
461
465
  "data-variant": e.variant,
462
466
  "data-multifocus": e.multifocus
463
467
  }, [
464
- L(a.$slots, "default")
468
+ E(a.$slots, "default")
465
469
  ], 8, La));
466
470
  }
467
471
  }, Da = {
@@ -823,8 +827,8 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
823
827
  required: e.required
824
828
  }, {
825
829
  default: D(() => [
826
- L($.$slots, "label", {}, () => [
827
- U(V(e.label), 1)
830
+ E($.$slots, "label", {}, () => [
831
+ W(V(e.label), 1)
828
832
  ])
829
833
  ]),
830
834
  _: 3
@@ -956,18 +960,18 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
956
960
  }, { ...c(i), ...s.value }, { onClick: c(o) }), {
957
961
  default: D(() => [
958
962
  v.value ? (u(), h("span", ja, [
959
- L(m.$slots, "default", {}, () => [
960
- U(V(e.label), 1)
963
+ E(m.$slots, "default", {}, () => [
964
+ W(V(e.label), 1)
961
965
  ])
962
966
  ])) : C("", !0),
963
967
  S("span", Wa, [
964
- L(m.$slots, "icon", {}, () => [
968
+ E(m.$slots, "icon", {}, () => [
965
969
  (u(), O(te(c(B))))
966
970
  ])
967
971
  ]),
968
972
  g.value ? (u(), h("span", Ua, [
969
- L(m.$slots, "default", {}, () => [
970
- U(V(e.label), 1)
973
+ E(m.$slots, "default", {}, () => [
974
+ W(V(e.label), 1)
971
975
  ])
972
976
  ])) : C("", !0)
973
977
  ]),
@@ -1080,8 +1084,8 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
1080
1084
  e.direction == "right" ? (u(), O(c(Ft), { key: 0 })) : (u(), O(c(Rt), { key: 1 }))
1081
1085
  ]),
1082
1086
  default: D(() => [
1083
- L(a.$slots, "default", {}, () => [
1084
- U(V(e.label), 1)
1087
+ E(a.$slots, "default", {}, () => [
1088
+ W(V(e.label), 1)
1085
1089
  ])
1086
1090
  ]),
1087
1091
  _: 3
@@ -1812,8 +1816,8 @@ const on = {
1812
1816
  required: e.required
1813
1817
  }, {
1814
1818
  default: D(() => [
1815
- L(m.$slots, "label", {}, () => [
1816
- U(V(e.label), 1)
1819
+ E(m.$slots, "label", {}, () => [
1820
+ W(V(e.label), 1)
1817
1821
  ])
1818
1822
  ]),
1819
1823
  _: 3
@@ -1847,16 +1851,16 @@ const on = {
1847
1851
  key: 0,
1848
1852
  to: e.breakoutStub
1849
1853
  }, [
1850
- L(l.$slots, "default")
1854
+ E(l.$slots, "default")
1851
1855
  ], 8, ["to"])) : C("", !0),
1852
1856
  e.breakout ? C("", !0) : (u(), h(G, { key: 1 }, [
1853
- e.containerId ? L(l.$slots, "default", { key: 0 }) : (u(), h("div", {
1857
+ e.containerId ? E(l.$slots, "default", { key: 0 }) : (u(), h("div", {
1854
1858
  key: 1,
1855
1859
  ref_key: "internalContainerRef",
1856
1860
  ref: t,
1857
1861
  style: { position: "relative" }
1858
1862
  }, [
1859
- L(l.$slots, "default")
1863
+ E(l.$slots, "default")
1860
1864
  ], 512))
1861
1865
  ], 64))
1862
1866
  ], 64));
@@ -1906,7 +1910,7 @@ const on = {
1906
1910
  onLeaveCancelled: n[7] || (n[7] = (i) => t("leave-cancelled"))
1907
1911
  }, {
1908
1912
  default: D(() => [
1909
- L(l.$slots, "default")
1913
+ E(l.$slots, "default")
1910
1914
  ]),
1911
1915
  _: 3
1912
1916
  }, 8, ["name"])), [
@@ -1924,7 +1928,7 @@ const on = {
1924
1928
  onLeaveCancelled: n[15] || (n[15] = (i) => t("leave-cancelled"))
1925
1929
  }, {
1926
1930
  default: D(() => [
1927
- e.shown ? L(l.$slots, "default", { key: 0 }) : C("", !0)
1931
+ e.shown ? E(l.$slots, "default", { key: 0 }) : C("", !0)
1928
1932
  ]),
1929
1933
  _: 3
1930
1934
  }, 8, ["name"]));
@@ -2086,7 +2090,7 @@ const on = {
2086
2090
  P(c(Be))
2087
2091
  ])
2088
2092
  ])) : C("", !0),
2089
- L(x.$slots, "default")
2093
+ E(x.$slots, "default")
2090
2094
  ], 16, mn)
2091
2095
  ]),
2092
2096
  _: 3
@@ -2204,7 +2208,7 @@ const on = {
2204
2208
  onAfterLeave: r[3] || (r[3] = () => l("after-leave"))
2205
2209
  }, {
2206
2210
  default: D(() => [
2207
- L(s.$slots, "default")
2211
+ E(s.$slots, "default")
2208
2212
  ]),
2209
2213
  _: 3
2210
2214
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
@@ -2373,8 +2377,8 @@ const on = {
2373
2377
  position: "left",
2374
2378
  variant: "notext"
2375
2379
  }, null, 8, ["count"])) : C("", !0),
2376
- L(l.$slots, "label", {}, () => [
2377
- U(V(e.label), 1)
2380
+ E(l.$slots, "label", {}, () => [
2381
+ W(V(e.label), 1)
2378
2382
  ]),
2379
2383
  P(c(Me))
2380
2384
  ], 8, wn));
@@ -2408,7 +2412,7 @@ const on = {
2408
2412
  role: "option",
2409
2413
  onClick: d
2410
2414
  }, [
2411
- L(o.$slots, "default")
2415
+ E(o.$slots, "default")
2412
2416
  ], 8, Bn));
2413
2417
  }
2414
2418
  }, In = ["data-img-size", "data-initials", "data-no-img"], kn = ["src", "alt"], At = {
@@ -2542,8 +2546,8 @@ const on = {
2542
2546
  _: 2
2543
2547
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
2544
2548
  e.showNoOptions && e.options.length === 0 ? (u(), h("li", On, [
2545
- L(o.$slots, "no-options", {}, () => [
2546
- U("No options")
2549
+ E(o.$slots, "no-options", {}, () => [
2550
+ W("No options")
2547
2551
  ])
2548
2552
  ])) : C("", !0)
2549
2553
  ], 64));
@@ -2653,7 +2657,7 @@ const on = {
2653
2657
  class: "bs-dropdown-with-toggle",
2654
2658
  id: A.$attrs.id
2655
2659
  }, [
2656
- L(A.$slots, "toggle", {
2660
+ E(A.$slots, "toggle", {
2657
2661
  anchorId: e.anchorId,
2658
2662
  optionsId: f.value,
2659
2663
  toggleId: b.value
@@ -2669,8 +2673,8 @@ const on = {
2669
2673
  onClick: x[0] || (x[0] = (q) => A.$emit("toggled"))
2670
2674
  }, {
2671
2675
  label: D(() => [
2672
- L(A.$slots, "toggle-label", {}, () => [
2673
- U(V(e.toggleLabel), 1)
2676
+ E(A.$slots, "toggle-label", {}, () => [
2677
+ W(V(e.toggleLabel), 1)
2674
2678
  ])
2675
2679
  ]),
2676
2680
  _: 3
@@ -2907,8 +2911,8 @@ const on = {
2907
2911
  required: e.required
2908
2912
  }, {
2909
2913
  default: D(() => [
2910
- L(o.$slots, "label", {}, () => [
2911
- U(V(e.label), 1)
2914
+ E(o.$slots, "label", {}, () => [
2915
+ W(V(e.label), 1)
2912
2916
  ])
2913
2917
  ]),
2914
2918
  _: 3
@@ -2983,19 +2987,19 @@ const on = {
2983
2987
  keys: "",
2984
2988
  lastTyped: 0
2985
2989
  };
2986
- me(m, (E) => xe(E, w)), H(() => {
2990
+ me(m, (L) => xe(L, w)), H(() => {
2987
2991
  $(), J(g.value);
2988
2992
  }), j(
2989
2993
  [b, () => {
2990
- var E;
2991
- return (E = r.value) == null ? void 0 : E.length;
2994
+ var L;
2995
+ return (L = r.value) == null ? void 0 : L.length;
2992
2996
  }],
2993
- ([E, R]) => {
2994
- (E || R > 0) && (f.value = i.value.scrollHeight > i.value.clientHeight);
2997
+ ([L, R]) => {
2998
+ (L || R > 0) && (f.value = i.value.scrollHeight > i.value.clientHeight);
2995
2999
  }
2996
- ), j(v, (E) => {
2997
- E && (A(), x());
2998
- }), j(g, (E) => J(E));
3000
+ ), j(v, (L) => {
3001
+ L && (A(), x());
3002
+ }), j(g, (L) => J(L));
2999
3003
  const k = p(() => l.modelValue || l.selectedValue);
3000
3004
  function $() {
3001
3005
  r.value = Array.from(
@@ -3006,64 +3010,64 @@ const on = {
3006
3010
  i.value.getBoundingClientRect().bottom > window.innerHeight && i.value.scrollIntoView({ block: "nearest" });
3007
3011
  }
3008
3012
  function x() {
3009
- var E;
3010
- o.value > -1 && (A(), (E = r.value[o.value]) == null || E.scrollIntoView({ block: "nearest" }));
3013
+ var L;
3014
+ o.value > -1 && (A(), (L = r.value[o.value]) == null || L.scrollIntoView({ block: "nearest" }));
3011
3015
  }
3012
3016
  function q() {
3013
- var E, R;
3014
- o.value > -1 && ((E = r.value[o.value]) == null || E.setAttribute("data-active", ""), d.value = (R = r.value[o.value]) == null ? void 0 : R.id, x());
3017
+ var L, R;
3018
+ o.value > -1 && ((L = r.value[o.value]) == null || L.setAttribute("data-active", ""), d.value = (R = r.value[o.value]) == null ? void 0 : R.id, x());
3015
3019
  }
3016
3020
  function F() {
3017
- var E;
3018
- o.value > -1 && ((E = r.value[o.value]) == null || E.removeAttribute("data-active"));
3021
+ var L;
3022
+ o.value > -1 && ((L = r.value[o.value]) == null || L.removeAttribute("data-active"));
3019
3023
  }
3020
3024
  function _() {
3021
- var E;
3022
- o.value < 0 && (o.value = 0, d.value = (E = r.value[0]) == null ? void 0 : E.id), q();
3025
+ var L;
3026
+ o.value < 0 && (o.value = 0, d.value = (L = r.value[0]) == null ? void 0 : L.id), q();
3023
3027
  }
3024
- function J(E) {
3025
- E ? ne() : be();
3028
+ function J(L) {
3029
+ L ? ne() : be();
3026
3030
  }
3027
3031
  function ne() {
3028
- var E, R;
3032
+ var L, R;
3029
3033
  l.multiselect || (s.value = r.value.findIndex(
3030
3034
  (M) => M.getAttribute("data-value") === String(k.value)
3031
- ), !l.multiselect && s.value > -1 && ((E = r.value[s.value]) == null || E.setAttribute("data-selected", ""), (R = r.value[s.value]) == null || R.setAttribute("aria-selected", "true")), o.value = s.value);
3035
+ ), !l.multiselect && s.value > -1 && ((L = r.value[s.value]) == null || L.setAttribute("data-selected", ""), (R = r.value[s.value]) == null || R.setAttribute("aria-selected", "true")), o.value = s.value);
3032
3036
  }
3033
3037
  function be() {
3034
- r.value.forEach((E) => {
3035
- E.removeAttribute("data-selected"), E.setAttribute("aria-selected", "false");
3038
+ r.value.forEach((L) => {
3039
+ L.removeAttribute("data-selected"), L.setAttribute("aria-selected", "false");
3036
3040
  }), F(), s.value = -1, o.value = -1, d.value = null;
3037
3041
  }
3038
- function ye(E) {
3042
+ function ye(L) {
3039
3043
  var M;
3040
- (M = E.querySelector("a")) == null || M.click();
3041
- let R = E.getAttribute("data-value");
3042
- E.getAttribute("data-value-type") === "number" && (R = Number(R)), d.value = E.id, F(), n("optselected", R), n("update:modelValue", R), n("close");
3044
+ (M = L.querySelector("a")) == null || M.click();
3045
+ let R = L.getAttribute("data-value");
3046
+ L.getAttribute("data-value-type") === "number" && (R = Number(R)), d.value = L.id, F(), n("optselected", R), n("update:modelValue", R), n("close");
3043
3047
  }
3044
- function ke(E) {
3045
- ye(r.value[o.value]), E.preventDefault();
3048
+ function ke(L) {
3049
+ ye(r.value[o.value]), L.preventDefault();
3046
3050
  }
3047
- function Ce(E) {
3051
+ function Ce(L) {
3048
3052
  if (g.value)
3049
- switch (E.key) {
3053
+ switch (L.key) {
3050
3054
  case "ArrowDown":
3051
- se("down"), E.preventDefault();
3055
+ se("down"), L.preventDefault();
3052
3056
  break;
3053
3057
  case "ArrowUp":
3054
- se("up"), E.preventDefault();
3058
+ se("up"), L.preventDefault();
3055
3059
  break;
3056
3060
  case "Home":
3057
- se("home"), E.preventDefault();
3061
+ se("home"), L.preventDefault();
3058
3062
  break;
3059
3063
  case "End":
3060
- se("end"), E.preventDefault();
3064
+ se("end"), L.preventDefault();
3061
3065
  break;
3062
3066
  }
3063
3067
  }
3064
- function se(E) {
3068
+ function se(L) {
3065
3069
  let R;
3066
- switch (E) {
3070
+ switch (L) {
3067
3071
  case "up":
3068
3072
  R = o.value - 1 < 0 ? r.value.length - 1 : o.value - 1;
3069
3073
  break;
@@ -3079,15 +3083,15 @@ const on = {
3079
3083
  }
3080
3084
  Se(R);
3081
3085
  }
3082
- function xe(E, R) {
3086
+ function xe(L, R) {
3083
3087
  if (!g.value)
3084
3088
  return;
3085
- R.keys = E.timeStamp - R.lastTyped > 500 ? E.key : R.keys + E.key, R.lastTyped = E.timeStamp;
3089
+ R.keys = L.timeStamp - R.lastTyped > 500 ? L.key : R.keys + L.key, R.lastTyped = L.timeStamp;
3086
3090
  const M = r.value.findIndex((K) => K.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(R.keys));
3087
3091
  M > -1 && Se(M, !1);
3088
3092
  }
3089
- function Se(E, R = !0) {
3090
- F(), o.value = E, document.activeElement !== i.value && R ? i.value.focus() : q();
3093
+ function Se(L, R = !0) {
3094
+ F(), o.value = L, document.activeElement !== i.value && R ? i.value.focus() : q();
3091
3095
  }
3092
3096
  return a({
3093
3097
  activeIndex: o,
@@ -3095,7 +3099,7 @@ const on = {
3095
3099
  optionsRef: i,
3096
3100
  refreshOptions: $,
3097
3101
  setCurrentActive: q
3098
- }), (E, R) => (u(), h("ul", {
3102
+ }), (L, R) => (u(), h("ul", {
3099
3103
  ref_key: "optionsRef",
3100
3104
  ref: i,
3101
3105
  "aria-activedescendant": d.value || void 0,
@@ -3112,7 +3116,7 @@ const on = {
3112
3116
  onMousedown: R[0] || (R[0] = St(() => {
3113
3117
  }, ["prevent"]))
3114
3118
  }, [
3115
- L(E.$slots, "default")
3119
+ E(L.$slots, "default")
3116
3120
  ], 40, Ln));
3117
3121
  }
3118
3122
  }, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3227,8 +3231,8 @@ const on = {
3227
3231
  "show-no-options": !1
3228
3232
  }, null, 8, ["options"])
3229
3233
  ], 64)) : (u(), h("li", Nn, [
3230
- L(B.$slots, "no-options", {}, () => [
3231
- U("No options")
3234
+ E(B.$slots, "no-options", {}, () => [
3235
+ W("No options")
3232
3236
  ])
3233
3237
  ]))
3234
3238
  ]),
@@ -3350,7 +3354,7 @@ const on = {
3350
3354
  onClose: d
3351
3355
  }, {
3352
3356
  default: D(() => [
3353
- L(o.$slots, "default")
3357
+ E(o.$slots, "default")
3354
3358
  ]),
3355
3359
  _: 3
3356
3360
  }, 8, ["label", "model-value", "options-id", "prevent-tab", "type-to-focus"])
@@ -3497,7 +3501,7 @@ const on = {
3497
3501
  "onUpdate:modelValue": r
3498
3502
  }, {
3499
3503
  default: D(() => [
3500
- L(f.$slots, "default")
3504
+ E(f.$slots, "default")
3501
3505
  ]),
3502
3506
  _: 3
3503
3507
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "label", "model-value", "options-id", "position", "preloaded", "prevent-tab", "shown", "use-mobile-style", "width"]));
@@ -3534,18 +3538,18 @@ const on = {
3534
3538
  "data-size": e.size
3535
3539
  }, [
3536
3540
  S("div", jn, [
3537
- L(l.$slots, "icon", {}, () => [
3541
+ E(l.$slots, "icon", {}, () => [
3538
3542
  (u(), O(te(c(t)), { size: "" }))
3539
3543
  ])
3540
3544
  ]),
3541
3545
  S("div", null, [
3542
3546
  S("p", Wn, V(e.title), 1),
3543
3547
  e.size !== "xs" ? (u(), h("p", Un, [
3544
- L(l.$slots, "description", {}, () => [
3545
- U(V(e.description), 1)
3548
+ E(l.$slots, "description", {}, () => [
3549
+ W(V(e.description), 1)
3546
3550
  ])
3547
3551
  ])) : C("", !0),
3548
- L(l.$slots, "call-to-action")
3552
+ E(l.$slots, "call-to-action")
3549
3553
  ])
3550
3554
  ], 8, Rn));
3551
3555
  }
@@ -3616,7 +3620,7 @@ const on = {
3616
3620
  P(c(Be))
3617
3621
  ])
3618
3622
  ]),
3619
- L(o.$slots, "default")
3623
+ E(o.$slots, "default")
3620
3624
  ], 16, Gn)
3621
3625
  ]),
3622
3626
  _: 3
@@ -3639,7 +3643,7 @@ const on = {
3639
3643
  class: "bs-icon-gradient-wrapper",
3640
3644
  style: `fill: url(#${c(n)});`
3641
3645
  }, i.$attrs), [
3642
- L(i.$slots, "default")
3646
+ E(i.$slots, "default")
3643
3647
  ], 16),
3644
3648
  (u(), h("svg", {
3645
3649
  xmlns: "http://www.w3.org/2000/svg",
@@ -3724,8 +3728,8 @@ const on = {
3724
3728
  required: e.required
3725
3729
  }, {
3726
3730
  default: D(() => [
3727
- L(r.$slots, "label", {}, () => [
3728
- U(V(e.label), 1)
3731
+ E(r.$slots, "label", {}, () => [
3732
+ W(V(e.label), 1)
3729
3733
  ])
3730
3734
  ]),
3731
3735
  _: 3
@@ -3906,7 +3910,7 @@ const on = {
3906
3910
  }
3907
3911
  function ye(M) {
3908
3912
  var K;
3909
- o.value = M, k.value = !1, (K = d.value) == null || K.focus(), E(M);
3913
+ o.value = M, k.value = !1, (K = d.value) == null || K.focus(), L(M);
3910
3914
  }
3911
3915
  function ke() {
3912
3916
  l.deferValidation && ($.value = !0), n("input-blur");
@@ -3919,7 +3923,7 @@ const on = {
3919
3923
  !((X = (K = M.key) == null ? void 0 : K.match) != null && X.call(K, /[0-9]/)) && !i.includes(M.key) && !M.ctrlKey && !M.metaKey && M.preventDefault();
3920
3924
  }
3921
3925
  function xe() {
3922
- We.initSourceData(), Se(), E(o.value), R(A.value);
3926
+ We.initSourceData(), Se(), L(o.value), R(A.value);
3923
3927
  }
3924
3928
  function Se() {
3925
3929
  var K, X;
@@ -3929,7 +3933,7 @@ const on = {
3929
3933
  isSelected: o.value === Te
3930
3934
  }));
3931
3935
  }
3932
- function E(M) {
3936
+ function L(M) {
3933
3937
  r.value = We.getCountryByCountryCode(M);
3934
3938
  }
3935
3939
  function R(M) {
@@ -3946,7 +3950,7 @@ const on = {
3946
3950
  class: ie({ "visually-hidden": e.hideLabel })
3947
3951
  }, {
3948
3952
  default: D(() => [
3949
- U(V(e.label), 1)
3953
+ W(V(e.label), 1)
3950
3954
  ]),
3951
3955
  _: 1
3952
3956
  }, 8, ["for", "required", "disabled", "class"]),
@@ -4277,8 +4281,8 @@ const on = {
4277
4281
  required: e.required
4278
4282
  }, {
4279
4283
  default: D(() => [
4280
- L(x.$slots, "label", {}, () => [
4281
- U(V(e.label), 1)
4284
+ E(x.$slots, "label", {}, () => [
4285
+ W(V(e.label), 1)
4282
4286
  ])
4283
4287
  ]),
4284
4288
  _: 3
@@ -4337,7 +4341,7 @@ const on = {
4337
4341
  } : {
4338
4342
  name: "no-options",
4339
4343
  fn: D(() => [
4340
- U("No results found")
4344
+ W("No results found")
4341
4345
  ]),
4342
4346
  key: "1"
4343
4347
  }
@@ -4363,7 +4367,7 @@ const on = {
4363
4367
  } : {
4364
4368
  name: "no-options",
4365
4369
  fn: D(() => [
4366
- U("No results found")
4370
+ W("No results found")
4367
4371
  ]),
4368
4372
  key: "1"
4369
4373
  }
@@ -4566,7 +4570,7 @@ const on = {
4566
4570
  P(c(Be), { class: "close-button" })
4567
4571
  ])) : C("", !0)
4568
4572
  ], 2)) : C("", !0),
4569
- L(b.$slots, "default")
4573
+ E(b.$slots, "default")
4570
4574
  ], 16, gl)
4571
4575
  ]),
4572
4576
  _: 3
@@ -4831,7 +4835,7 @@ const on = {
4831
4835
  }, c(i), { onClick: c(t) }), {
4832
4836
  default: D(() => [
4833
4837
  S("span", { "data-truncate": e.truncate }, [
4834
- L(o.$slots, "default")
4838
+ E(o.$slots, "default")
4835
4839
  ], 8, Nl)
4836
4840
  ]),
4837
4841
  _: 3
@@ -4877,12 +4881,12 @@ const on = {
4877
4881
  "data-icon": "true",
4878
4882
  onClick: d
4879
4883
  }, [
4880
- L(o.$slots, "action", {}, () => [
4884
+ E(o.$slots, "action", {}, () => [
4881
4885
  e.actionIcon ? (u(), O(te(c(n) ? c(n) : "span"), {
4882
4886
  key: 0,
4883
4887
  class: "bs-icon"
4884
4888
  })) : C("", !0),
4885
- U(" " + V(e.action), 1)
4889
+ W(" " + V(e.action), 1)
4886
4890
  ])
4887
4891
  ])) : C("", !0),
4888
4892
  S("span", Fl, V(e.profileName), 1),
@@ -4890,12 +4894,12 @@ const on = {
4890
4894
  e.jobTitle ? (u(), h("span", jl, V(e.jobTitle), 1)) : C("", !0),
4891
4895
  e.email ? (u(), h("span", Wl, V(e.email), 1)) : C("", !0),
4892
4896
  e.miscMeta || o.$slots.misc ? (u(), h("span", Ul, [
4893
- L(o.$slots, "misc", {}, () => [
4897
+ E(o.$slots, "misc", {}, () => [
4894
4898
  e.miscMetaIcon ? (u(), O(te(c(i) ? c(i) : "span"), {
4895
4899
  key: 0,
4896
4900
  class: "bs-icon"
4897
4901
  })) : C("", !0),
4898
- U(" " + V(e.miscMeta), 1)
4902
+ W(" " + V(e.miscMeta), 1)
4899
4903
  ])
4900
4904
  ])) : C("", !0)
4901
4905
  ]));
@@ -4957,10 +4961,10 @@ const on = {
4957
4961
  onActionToggled: f[0] || (f[0] = (b) => l("action-toggled"))
4958
4962
  }, {
4959
4963
  action: D(() => [
4960
- L(r.$slots, "action")
4964
+ E(r.$slots, "action")
4961
4965
  ]),
4962
4966
  misc: D(() => [
4963
- L(r.$slots, "misc")
4967
+ E(r.$slots, "misc")
4964
4968
  ]),
4965
4969
  _: 3
4966
4970
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -5112,8 +5116,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5112
5116
  required: e.required
5113
5117
  }, {
5114
5118
  default: D(() => [
5115
- L(o.$slots, "label", {}, () => [
5116
- U(V(e.label), 1)
5119
+ E(o.$slots, "label", {}, () => [
5120
+ W(V(e.label), 1)
5117
5121
  ])
5118
5122
  ]),
5119
5123
  _: 3
@@ -5145,7 +5149,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5145
5149
  }, l.value, {
5146
5150
  onChange: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5147
5151
  }), [
5148
- L(n.$slots, "default")
5152
+ E(n.$slots, "default")
5149
5153
  ], 16, Xl));
5150
5154
  }
5151
5155
  }, Jl = ["selected", "disabled"], _l = ["disabled", "selected", "value"], si = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
@@ -5205,8 +5209,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5205
5209
  required: e.required
5206
5210
  }, {
5207
5211
  default: D(() => [
5208
- L(r.$slots, "label", {}, () => [
5209
- U(V(e.label), 1)
5212
+ E(r.$slots, "label", {}, () => [
5213
+ W(V(e.label), 1)
5210
5214
  ])
5211
5215
  ]),
5212
5216
  _: 3
@@ -5336,8 +5340,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5336
5340
  required: e.required
5337
5341
  }, {
5338
5342
  default: D(() => [
5339
- L(v.$slots, "label", {}, () => [
5340
- U(V(e.label), 1)
5343
+ E(v.$slots, "label", {}, () => [
5344
+ W(V(e.label), 1)
5341
5345
  ])
5342
5346
  ]),
5343
5347
  _: 3
@@ -5457,8 +5461,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5457
5461
  hide: e.hideLabel
5458
5462
  }, {
5459
5463
  default: D(() => [
5460
- L(s.$slots, "label", {}, () => [
5461
- U(V(e.label), 1)
5464
+ E(s.$slots, "label", {}, () => [
5465
+ W(V(e.label), 1)
5462
5466
  ])
5463
5467
  ]),
5464
5468
  _: 3
@@ -5524,7 +5528,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5524
5528
  onClick: s,
5525
5529
  onKeydown: o
5526
5530
  }, [
5527
- L(r.$slots, "default")
5531
+ E(r.$slots, "default")
5528
5532
  ], 40, io));
5529
5533
  }
5530
5534
  }, ro = ["id", "data-resizing"], so = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], uo = 73, co = 20, Ue = 16, fi = {
@@ -5544,14 +5548,14 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5544
5548
  }), _ = p(() => A.value ? f.value[$.value] - f.value[$.value - 1] + co + Ue : uo + Ue);
5545
5549
  function J() {
5546
5550
  var de;
5547
- let T = !1, N, W = 0, Q = !1, le = [];
5551
+ let T = !1, N, U = 0, Q = !1, le = [];
5548
5552
  if ((de = v.value) != null && de.length) {
5549
5553
  for (let oe = 0; oe < v.value.length; oe++) {
5550
5554
  if (N = v.value[oe], N.setAttribute("tabindex", "-1"), Q && oe !== $.value) {
5551
5555
  N.dataset.hidden = "true", le.push(N);
5552
5556
  continue;
5553
5557
  }
5554
- if (W = oe < v.value.length - 1 ? m.value - _.value : m.value, f.value[oe] > W) {
5558
+ if (U = oe < v.value.length - 1 ? m.value - _.value : m.value, f.value[oe] > U) {
5555
5559
  N.dataset.hidden = "true", le.push(N), T = !0, Q = !0;
5556
5560
  continue;
5557
5561
  }
@@ -5591,32 +5595,32 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5591
5595
  const N = T.target.closest('[role="tab"]');
5592
5596
  if (!N || N.getAttribute("aria-selected") === "true")
5593
5597
  return;
5594
- const W = N.getAttribute("id");
5595
- ne(W);
5598
+ const U = N.getAttribute("id");
5599
+ ne(U);
5596
5600
  }
5597
5601
  function Se(T) {
5598
5602
  if (T.key === "ArrowLeft" || T.key === "ArrowRight") {
5599
- const N = y.value.findIndex((W) => W.id === T.target.id);
5603
+ const N = y.value.findIndex((U) => U.id === T.target.id);
5600
5604
  if (N === -1)
5601
5605
  return;
5602
- T.preventDefault(), T.stopPropagation(), T.key === "ArrowLeft" ? R(N) : E(N);
5606
+ T.preventDefault(), T.stopPropagation(), T.key === "ArrowLeft" ? R(N) : L(N);
5603
5607
  }
5604
5608
  }
5605
- function E(T) {
5606
- var W;
5609
+ function L(T) {
5610
+ var U;
5607
5611
  const N = (T + 1) % y.value.length;
5608
- (W = y.value[N]) == null || W.focus();
5612
+ (U = y.value[N]) == null || U.focus();
5609
5613
  }
5610
5614
  function R(T) {
5611
- var W;
5615
+ var U;
5612
5616
  const N = T === 0 ? y.value.length - 1 : T - 1;
5613
- (W = y.value[N]) == null || W.focus();
5617
+ (U = y.value[N]) == null || U.focus();
5614
5618
  }
5615
5619
  function M() {
5616
5620
  var de, oe, it, rt;
5617
5621
  const T = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, N = m.value;
5618
- let W = 300, Q = ((oe = (de = y.value) == null ? void 0 : de[$.value]) == null ? void 0 : oe.offsetLeft) || 0, le = be($.value);
5619
- s.value && A.value && (Q = (it = g.value) == null ? void 0 : it.offsetLeft, le = (rt = g.value) == null ? void 0 : rt.offsetWidth), W = Math.max(Math.abs((Q - T) / N * 300), 100), r.value.style.setProperty("--active-line-max-width", `${N}px`), r.value.style.setProperty("--active-line-scale", `${le / N}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${W}ms`);
5622
+ let U = 300, Q = ((oe = (de = y.value) == null ? void 0 : de[$.value]) == null ? void 0 : oe.offsetLeft) || 0, le = be($.value);
5623
+ s.value && A.value && (Q = (it = g.value) == null ? void 0 : it.offsetLeft, le = (rt = g.value) == null ? void 0 : rt.offsetWidth), U = Math.max(Math.abs((Q - T) / N * 300), 100), r.value.style.setProperty("--active-line-max-width", `${N}px`), r.value.style.setProperty("--active-line-scale", `${le / N}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${U}ms`);
5620
5624
  }
5621
5625
  function K() {
5622
5626
  var T, N;
@@ -5633,17 +5637,17 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5633
5637
  }
5634
5638
  function Pt() {
5635
5639
  let T;
5636
- v.value.forEach((N, W) => {
5637
- T = N.getBoundingClientRect().width + Ue, f.value.push(W ? T + f.value[W - 1] : T);
5640
+ v.value.forEach((N, U) => {
5641
+ T = N.getBoundingClientRect().width + Ue, f.value.push(U ? T + f.value[U - 1] : T);
5638
5642
  });
5639
5643
  }
5640
5644
  function qt() {
5641
- var N, W;
5645
+ var N, U;
5642
5646
  let T = [];
5643
5647
  if (typeof window > "u")
5644
5648
  return T;
5645
5649
  for (let Q of v.value) {
5646
- if (((N = Q.dataset) == null ? void 0 : N.hidden) === "true" || ((W = Q.dataset) == null ? void 0 : W.hidden) === "" || Q.getAttribute("tabindex") === "-1")
5650
+ if (((N = Q.dataset) == null ? void 0 : N.hidden) === "true" || ((U = Q.dataset) == null ? void 0 : U.hidden) === "" || Q.getAttribute("tabindex") === "-1")
5647
5651
  break;
5648
5652
  T.push(Q);
5649
5653
  }
@@ -5665,10 +5669,10 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5665
5669
  role: "tablist",
5666
5670
  "data-resizing": !n.value || void 0,
5667
5671
  onClick: xe,
5668
- "on:tabClick": N[0] || (N[0] = (W) => ne(W.detail)),
5672
+ "on:tabClick": N[0] || (N[0] = (U) => ne(U.detail)),
5669
5673
  onKeydown: Se
5670
5674
  }, [
5671
- L(T.$slots, "default"),
5675
+ E(T.$slots, "default"),
5672
5676
  S("button", {
5673
5677
  "aria-controls": c(k),
5674
5678
  "aria-expanded": o.value,
@@ -5681,7 +5685,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5681
5685
  onClick: Ce
5682
5686
  }, [
5683
5687
  P(c(Ht), { size: "sm" }),
5684
- U(" " + V(F.value), 1)
5688
+ W(" " + V(F.value), 1)
5685
5689
  ], 8, so),
5686
5690
  P(Lt, {
5687
5691
  "anchor-id": q.value,
@@ -5699,13 +5703,13 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5699
5703
  "onUpdate:modelValue": se
5700
5704
  }, {
5701
5705
  default: D(() => [
5702
- (u(!0), h(G, null, ee(d.value, (W) => (u(), O(ot, {
5703
- key: W.id,
5704
- value: W.id,
5706
+ (u(!0), h(G, null, ee(d.value, (U) => (u(), O(ot, {
5707
+ key: U.id,
5708
+ value: U.id,
5705
5709
  "options-id": x.value
5706
5710
  }, {
5707
5711
  default: D(() => [
5708
- U(V(W.textContent), 1)
5712
+ W(V(U.textContent), 1)
5709
5713
  ]),
5710
5714
  _: 2
5711
5715
  }, 1032, ["value", "options-id"]))), 128))
@@ -5735,7 +5739,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5735
5739
  id: n.value,
5736
5740
  role: "tabpanel"
5737
5741
  }, [
5738
- L(i.$slots, "default")
5742
+ E(i.$slots, "default")
5739
5743
  ], 8, fo));
5740
5744
  }
5741
5745
  }, po = ["data-error", "id", "rows", "value"], mo = {
@@ -5829,8 +5833,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5829
5833
  required: e.required
5830
5834
  }, {
5831
5835
  default: D(() => [
5832
- L(f.$slots, "label", {}, () => [
5833
- U(V(e.label), 1)
5836
+ E(f.$slots, "label", {}, () => [
5837
+ W(V(e.label), 1)
5834
5838
  ])
5835
5839
  ]),
5836
5840
  _: 3
@@ -6144,8 +6148,8 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6144
6148
  required: e.required
6145
6149
  }, {
6146
6150
  default: D(() => [
6147
- L(g.$slots, "label", {}, () => [
6148
- U(V(e.label), 1)
6151
+ E(g.$slots, "label", {}, () => [
6152
+ W(V(e.label), 1)
6149
6153
  ])
6150
6154
  ]),
6151
6155
  _: 3
@@ -6240,7 +6244,7 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6240
6244
  role: "presentation"
6241
6245
  })),
6242
6246
  S("p", null, [
6243
- U(V(r.label || r) + " ", 1),
6247
+ W(V(r.label || r) + " ", 1),
6244
6248
  S("span", wo, " : " + V(c(i)(r.status, f) || "not started"), 1)
6245
6249
  ])
6246
6250
  ], 8, So))), 128))
@@ -6320,7 +6324,7 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6320
6324
  "data-stacked": c(d) || void 0,
6321
6325
  role: "alert"
6322
6326
  }, r.$attrs), [
6323
- L(r.$slots, "default")
6327
+ E(r.$slots, "default")
6324
6328
  ], 16, $o)
6325
6329
  ]),
6326
6330
  _: 3
@@ -6341,14 +6345,14 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6341
6345
  "data-component": "bs-toast-actions",
6342
6346
  "data-stacked": a.value || void 0
6343
6347
  }, [
6344
- L(l.$slots, "default", {}, () => [
6348
+ E(l.$slots, "default", {}, () => [
6345
6349
  P(ka, {
6346
6350
  size: "sm",
6347
6351
  "text-btn": "",
6348
6352
  onClick: c(t)
6349
6353
  }, {
6350
6354
  default: D(() => [
6351
- U(" Dismiss ")
6355
+ W(" Dismiss ")
6352
6356
  ]),
6353
6357
  _: 1
6354
6358
  }, 8, ["onClick"])
@@ -6366,7 +6370,7 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6366
6370
  };
6367
6371
  function xo(e, a) {
6368
6372
  return u(), h("div", Co, [
6369
- L(e.$slots, "default")
6373
+ E(e.$slots, "default")
6370
6374
  ]);
6371
6375
  }
6372
6376
  const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si = {
@@ -6391,7 +6395,7 @@ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si =
6391
6395
  }, [
6392
6396
  (u(), O(te(t.value), { class: "bs-toast-header-icon" })),
6393
6397
  S("h5", null, [
6394
- L(l.$slots, "default")
6398
+ E(l.$slots, "default")
6395
6399
  ])
6396
6400
  ], 8, To));
6397
6401
  }
@@ -6402,7 +6406,7 @@ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si =
6402
6406
  __name: "BsToaster",
6403
6407
  setup(e) {
6404
6408
  return fe("stacked", !0), (a, t) => (u(), h("div", Ao, [
6405
- L(a.$slots, "default")
6409
+ E(a.$slots, "default")
6406
6410
  ]));
6407
6411
  }
6408
6412
  }, Vo = ["data-position"], Oo = ["id"], $i = {
@@ -6454,7 +6458,7 @@ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si =
6454
6458
  onMouseleave: d,
6455
6459
  onFocusout: d
6456
6460
  }, [
6457
- L(o.$slots, "default"),
6461
+ E(o.$slots, "default"),
6458
6462
  e.content ? (u(), h("div", {
6459
6463
  key: 0,
6460
6464
  class: ie(n.value),