@wwtdev/bsds-components-vue3 2.33.0 → 2.34.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,9 +1,9 @@
1
- import { ref as C, useId as wt, onMounted as te, watch as X, computed as h, createElementBlock as b, openBlock as r, unref as p, createElementVNode as g, createCommentVNode as x, createVNode as q, renderSlot as z, createBlock as O, resolveDynamicComponent as oe, createTextVNode as J, toDisplayString as L, useAttrs as ke, useSlots as _e, mergeProps as K, withCtx as R, Fragment as Q, normalizeClass as he, withDirectives as pe, toHandlers as vt, vShow as fe, onBeforeUnmount as et, onBeforeMount as kt, createSlots as mt, renderList as se, onUnmounted as Ce, Teleport as qn, Transition as yt, provide as ve, withKeys as Ye, withModifiers as Te, inject as de, nextTick as Re, toRaw as jn, resolveComponent as _t, mergeModels as Fn, useModel as Wn, isRef as Un, normalizeStyle as Kn, h as le, useTemplateRef as Hn, shallowRef as en, readonly as qt, cloneVNode as Gn } from "vue";
1
+ import { ref as C, useId as wt, onMounted as te, watch as X, computed as h, createElementBlock as b, openBlock as r, unref as p, createElementVNode as g, createCommentVNode as x, createVNode as q, renderSlot as z, createBlock as O, resolveDynamicComponent as oe, createTextVNode as J, toDisplayString as L, useAttrs as ke, useSlots as Je, mergeProps as K, withCtx as R, Fragment as Q, normalizeClass as he, withDirectives as pe, toHandlers as vt, vShow as fe, onBeforeUnmount as _e, onBeforeMount as kt, createSlots as mt, renderList as se, onUnmounted as Ce, Teleport as qn, Transition as yt, provide as ve, withKeys as Ge, withModifiers as Te, inject as de, nextTick as Re, toRaw as jn, resolveComponent as _t, mergeModels as Fn, useModel as Wn, isRef as Un, normalizeStyle as Kn, h as le, useTemplateRef as Hn, shallowRef as en, readonly as qt, cloneVNode as Gn } from "vue";
2
2
  import { BsIcon as ue, BsIconCaretDown as Le, BsIconSmallCaretLeft as tn, BsIconCaretLeft as St, BsIconSmallCaretRight as nn, BsIconCaretRight as $t, BsIconCircleExclamation as It, BsIconClose as we, BsIconWarning as gt, BsIconCalendar as an, BsIconSearch as Yn, BsIconCaretSort as on, BsIconCaretLeftDouble as Xn, BsIconCaretRightDouble as Zn, BsIconActionEllipsis as Qn, BsIconCaretSortDown as Jn, BsIconCaretSortUp as _n, BsIconCirclePause as ea, BsIconCirclePlay as ta, BsIconGraphPieEmpty as jt, BsIconCircleEllipsis as na, BsIconCircleX as aa, BsIconCircleCheck as oa, BsIconCircleStop as ia, BsIconThumbsUpStroke as la, BsIconCaretUp as ra } from "@wwtdev/bsds-icons-vue3";
3
3
  import { DatePicker as sa } from "v-calendar";
4
4
  import { Filler as da, Chart as lt, BarController as ua, BarElement as ca, CategoryScale as pa, LinearScale as fa, Legend as ba, TimeScale as ha, Tooltip as va } from "chart.js";
5
5
  import "chartjs-adapter-date-fns";
6
- import tt from "lodash.merge";
6
+ import et from "lodash.merge";
7
7
  import { getSupportedCallingCodes as ma, getRegionCodeForCountryCode as ya, parsePhoneNumber as Ft } from "awesome-phonenumber";
8
8
  const ga = {
9
9
  accordion: "[data-component=bs-accordion]",
@@ -388,7 +388,7 @@ const ga = {
388
388
  emitDefinitions: Ba,
389
389
  propDefinitions: Dt,
390
390
  slotDefinitions: Ta
391
- }, Symbol.toStringTag, { value: "Module" })), Xe = {
391
+ }, Symbol.toStringTag, { value: "Module" })), Ye = {
392
392
  disabled: {
393
393
  default: !1,
394
394
  description: "Set to `true` to disable the calendar input.",
@@ -493,7 +493,7 @@ const ga = {
493
493
  typeDef: "1 | 2",
494
494
  typeOptions: [1, 2],
495
495
  validator(e) {
496
- return Xe.step.typeOptions.includes(e);
496
+ return Ye.step.typeOptions.includes(e);
497
497
  }
498
498
  },
499
499
  variant: {
@@ -503,7 +503,7 @@ const ga = {
503
503
  typeDef: "'2-col'",
504
504
  typeOptions: ["", "2-col"],
505
505
  validator(e) {
506
- return Xe.variant.typeOptions.includes(e);
506
+ return Ye.variant.typeOptions.includes(e);
507
507
  }
508
508
  }
509
509
  }, un = {
@@ -520,7 +520,7 @@ const ga = {
520
520
  }, ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
521
521
  __proto__: null,
522
522
  emitDefinitions: un,
523
- propDefinitions: Xe,
523
+ propDefinitions: Ye,
524
524
  slotDefinitions: Ca
525
525
  }, Symbol.toStringTag, { value: "Module" })), qe = {
526
526
  // REQUIRED
@@ -1036,7 +1036,7 @@ const ga = {
1036
1036
  emitDefinitions: vn,
1037
1037
  propDefinitions: hn,
1038
1038
  slotDefinitions: Ma
1039
- }, Symbol.toStringTag, { value: "Module" })), Ze = {
1039
+ }, Symbol.toStringTag, { value: "Module" })), Xe = {
1040
1040
  // REQUIRED
1041
1041
  // none
1042
1042
  // OPTIONAL
@@ -1071,7 +1071,7 @@ const ga = {
1071
1071
  typeDef: "xs|sm|md|lg|xl",
1072
1072
  typeOptions: ["xs", "sm", "md", "lg", "xl"],
1073
1073
  validator(e) {
1074
- return Ze.imageSize.typeOptions.includes(e);
1074
+ return Xe.imageSize.typeOptions.includes(e);
1075
1075
  }
1076
1076
  },
1077
1077
  imageSrc: {
@@ -1099,7 +1099,7 @@ const ga = {
1099
1099
  typeDef: "horizontal|vertical",
1100
1100
  typeOptions: ["horizontal", "vertical"],
1101
1101
  validator(e) {
1102
- return Ze.layout.typeOptions.includes(e);
1102
+ return Xe.layout.typeOptions.includes(e);
1103
1103
  }
1104
1104
  },
1105
1105
  linkTo: {
@@ -1155,7 +1155,7 @@ const ga = {
1155
1155
  }, fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1156
1156
  __proto__: null,
1157
1157
  emitDefinitions: mn,
1158
- propDefinitions: Ze,
1158
+ propDefinitions: Xe,
1159
1159
  slotDefinitions: Na
1160
1160
  }, Symbol.toStringTag, { value: "Module" })), yn = {
1161
1161
  mobileOpen: {
@@ -1370,7 +1370,7 @@ function Ha(e, n, t) {
1370
1370
  function Ga(e, n, t) {
1371
1371
  return e[t] || n[t];
1372
1372
  }
1373
- function Ke(e) {
1373
+ function tt(e) {
1374
1374
  const n = h(() => {
1375
1375
  const i = p(e);
1376
1376
  return i.linkTo || i.href || "";
@@ -1401,10 +1401,10 @@ const Ya = { key: 0 }, Xa = {
1401
1401
  setup(e) {
1402
1402
  const n = e;
1403
1403
  Z(n, "href", "linkTo");
1404
- const t = ke(), a = _e(), { rootTag: o, attrsToBind: i, btnRef: u } = Ue(n, t), { onLinkClick: l } = Ke(n), d = h(() => m.value ? {} : n.href ? { title: n.label } : { "aria-label": n.label }), s = h(() => {
1404
+ const t = ke(), a = Je(), { rootTag: o, attrsToBind: i, btnRef: u } = Ue(n, t), { onLinkClick: l } = tt(n), d = h(() => m.value ? {} : n.href ? { title: n.label } : { "aria-label": n.label }), s = h(() => {
1405
1405
  if (n.hoverEffect)
1406
1406
  return n.iconPosition;
1407
- }), c = h(() => n.icon ? n.icon : n.iconPosition === "left" ? n.textBtn || n.size === "sm" ? tn : St : n.textBtn || n.size === "sm" ? nn : $t), m = h(() => n.textBtn || !!(a != null && a.default)), y = h(() => m.value && n.iconPosition !== "left"), w = h(() => m.value && n.iconPosition === "left"), B = h(() => n.variant ? `color-${n.variant}` : void 0);
1407
+ }), c = h(() => n.icon ? n.icon : n.iconPosition === "left" ? n.textBtn || n.size === "sm" ? tn : St : n.textBtn || n.size === "sm" ? nn : $t), m = h(() => n.textBtn || !!(a != null && a.default)), y = h(() => m.value && n.iconPosition !== "left"), w = h(() => m.value && n.iconPosition === "left"), T = h(() => n.variant ? `color-${n.variant}` : void 0);
1408
1408
  return ($, f) => (r(), O(oe(p(o)), K({
1409
1409
  ref_key: "btnRef",
1410
1410
  ref: u,
@@ -1414,7 +1414,7 @@ const Ya = { key: 0 }, Xa = {
1414
1414
  "data-ghost": $.ghostBtn,
1415
1415
  "data-size": $.size,
1416
1416
  "data-text": m.value,
1417
- "data-variant": B.value,
1417
+ "data-variant": T.value,
1418
1418
  "data-component": "bs-circle-button"
1419
1419
  }, { ...p(i), ...d.value }, { onClick: p(l) }), {
1420
1420
  default: R(() => [
@@ -1657,7 +1657,7 @@ const Ya = { key: 0 }, Xa = {
1657
1657
  setup(e) {
1658
1658
  const n = e;
1659
1659
  Z(n, "href", "linkTo");
1660
- const t = ke(), { rootTag: a, attrsToBind: o, btnRef: i } = Ue(n, t), { onLinkClick: u } = Ke(n);
1660
+ const t = ke(), { rootTag: a, attrsToBind: o, btnRef: i } = Ue(n, t), { onLinkClick: u } = tt(n);
1661
1661
  return (l, d) => (r(), O(oe(p(a)), K({
1662
1662
  ref_key: "btnRef",
1663
1663
  ref: i,
@@ -1771,7 +1771,7 @@ const Ya = { key: 0 }, Xa = {
1771
1771
  onInput: u
1772
1772
  }, i.value), null, 16, po));
1773
1773
  }
1774
- }, fo = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], He = {
1774
+ }, fo = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], Ke = {
1775
1775
  __name: "BsInputAddon",
1776
1776
  props: {
1777
1777
  autopad: { type: Boolean, default: !1 },
@@ -1833,7 +1833,7 @@ const Ya = { key: 0 }, Xa = {
1833
1833
  },
1834
1834
  emits: ["clear"],
1835
1835
  setup(e, { emit: n }) {
1836
- return (t, a) => (r(), O(He, {
1836
+ return (t, a) => (r(), O(Ke, {
1837
1837
  disabled: e.disabled,
1838
1838
  error: e.error
1839
1839
  }, {
@@ -1865,7 +1865,7 @@ const Ya = { key: 0 }, Xa = {
1865
1865
  }, 8, ["disabled", "error"]));
1866
1866
  }
1867
1867
  };
1868
- function Qe(e, n, t) {
1868
+ function Ze(e, n, t) {
1869
1869
  let a;
1870
1870
  return function() {
1871
1871
  let o = this, i = arguments;
@@ -1921,15 +1921,15 @@ const ho = ["disabled", "id", "model-value"], vo = ["disabled", "id", "model-val
1921
1921
  y.dispatchEvent(w);
1922
1922
  }
1923
1923
  function l(y) {
1924
- const { value: w } = y.target, [B, $] = w.split(/ to | - /);
1925
- o.value.value = B || "", i.value.value = $ || "", u(o.value), u(i.value);
1924
+ const { value: w } = y.target, [T, $] = w.split(/ to | - /);
1925
+ o.value.value = T || "", i.value.value = $ || "", u(o.value), u(i.value);
1926
1926
  }
1927
- const d = Qe(l, 1e3);
1927
+ const d = Ze(l, 1e3);
1928
1928
  function s(y) {
1929
1929
  a("ui-input"), d(y);
1930
1930
  }
1931
1931
  const c = h(() => t.listeners.start ? t.listeners.start : {}), m = h(() => t.listeners.end ? t.listeners.end : {});
1932
- return (y, w) => (r(), O(He, {
1932
+ return (y, w) => (r(), O(Ke, {
1933
1933
  disabled: e.disabled,
1934
1934
  error: e.error
1935
1935
  }, {
@@ -1942,7 +1942,7 @@ const ho = ["disabled", "id", "model-value"], vo = ["disabled", "id", "model-val
1942
1942
  "model-value": e.inputValueFmt,
1943
1943
  placeholder: e.placeholder,
1944
1944
  required: e.required,
1945
- onFocusin: w[0] || (w[0] = (B) => y.$emit("ui-focusin")),
1945
+ onFocusin: w[0] || (w[0] = (T) => y.$emit("ui-focusin")),
1946
1946
  onInput: s,
1947
1947
  onChange: l
1948
1948
  }, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
@@ -1966,7 +1966,7 @@ const ho = ["disabled", "id", "model-value"], vo = ["disabled", "id", "model-val
1966
1966
  "aria-label": "Clear",
1967
1967
  type: "button",
1968
1968
  class: "bs-calendar-clear-btn",
1969
- onClick: w[1] || (w[1] = (B) => y.$emit("clear"))
1969
+ onClick: w[1] || (w[1] = (T) => y.$emit("clear"))
1970
1970
  }, [
1971
1971
  q(p(we), {
1972
1972
  size: "sm",
@@ -1994,7 +1994,7 @@ function yo(e) {
1994
1994
  te(() => {
1995
1995
  var o, i;
1996
1996
  (i = (o = e.value) == null ? void 0 : o.addEventListener) == null || i.call(o, "keydown", a);
1997
- }), et(() => {
1997
+ }), _e(() => {
1998
1998
  var o, i;
1999
1999
  (i = (o = e.value) == null ? void 0 : o.removeEventListener) == null || i.call(o, "keydown", a);
2000
2000
  });
@@ -2003,7 +2003,7 @@ function je(e, n, t = []) {
2003
2003
  let a;
2004
2004
  kt(() => {
2005
2005
  a = window.matchMedia(e), a.addEventListener("change", n), n(a);
2006
- }), et(() => {
2006
+ }), _e(() => {
2007
2007
  a.removeEventListener("change", n), a = null;
2008
2008
  }), t.length && X(t, () => n(a));
2009
2009
  }
@@ -2074,7 +2074,7 @@ function ie(e, n = []) {
2074
2074
  }
2075
2075
  const ko = ["data-range"], Ut = "(min-width: 752px)", ys = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2076
2076
  __name: "BsCalendar",
2077
- props: Xe,
2077
+ props: Ye,
2078
2078
  emits: Object.keys(un),
2079
2079
  setup(e, { emit: n }) {
2080
2080
  const t = e, a = C(null), o = C(1), i = C(null), [u, l] = re(2), d = C(1), { filtered: s, remaining: c } = ie(ke(), [
@@ -2091,7 +2091,7 @@ const ko = ["data-range"], Ut = "(min-width: 752px)", ys = /* @__PURE__ */ Objec
2091
2091
  var S;
2092
2092
  return (S = t.exclusiveDates) != null && S.length ? V(t.exclusiveDates) : t.disabledDates;
2093
2093
  }
2094
- ), y = h(() => t.inputId || u.value), w = h(() => ({ range: t.isRange })), B = h(() => t.showClear && t.modelValue && !t.disabled), $ = h(() => !!(t.error && t.errorMsg || t.hint)), f = h(() => t.step), k = h(() => t.variant);
2094
+ ), y = h(() => t.inputId || u.value), w = h(() => ({ range: t.isRange })), T = h(() => t.showClear && t.modelValue && !t.disabled), $ = h(() => !!(t.error && t.errorMsg || t.hint)), f = h(() => t.step), k = h(() => t.variant);
2095
2095
  yo(i), je(
2096
2096
  Ut,
2097
2097
  (S) => o.value = S != null && S.matches && k.value == "2-col" ? 2 : 1,
@@ -2177,7 +2177,7 @@ const ko = ["data-range"], Ut = "(min-width: 752px)", ys = /* @__PURE__ */ Objec
2177
2177
  "input-value-fmt": v(E),
2178
2178
  listeners: M,
2179
2179
  placeholder: S.placeholder,
2180
- "show-clear": B.value,
2180
+ "show-clear": T.value,
2181
2181
  required: S.required,
2182
2182
  onUiFocusin: H,
2183
2183
  onUiInput: H,
@@ -2190,7 +2190,7 @@ const ko = ["data-range"], Ut = "(min-width: 752px)", ys = /* @__PURE__ */ Objec
2190
2190
  listeners: M,
2191
2191
  "model-value": v(E),
2192
2192
  placeholder: S.placeholder,
2193
- "show-clear": B.value,
2193
+ "show-clear": T.value,
2194
2194
  required: S.required,
2195
2195
  onClear: I[0] || (I[0] = (ae) => S.$emit("clear"))
2196
2196
  }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "show-clear", "required"]))
@@ -2307,11 +2307,11 @@ const ko = ["data-range"], Ut = "(min-width: 752px)", ys = /* @__PURE__ */ Objec
2307
2307
  return c.map((m) => {
2308
2308
  const y = m.label;
2309
2309
  let w = [];
2310
- if (m.data.some((B) => (B == null ? void 0 : B.x) && (B == null ? void 0 : B.y))) {
2311
- const B = m.data.reduce(($, f) => ($[f.x] = f.y, $), {});
2312
- w = n.dataIdxLabels.map(($) => ({ value: B[$] ?? null }));
2310
+ if (m.data.some((T) => (T == null ? void 0 : T.x) && (T == null ? void 0 : T.y))) {
2311
+ const T = m.data.reduce(($, f) => ($[f.x] = f.y, $), {});
2312
+ w = n.dataIdxLabels.map(($) => ({ value: T[$] ?? null }));
2313
2313
  } else
2314
- w = m.data.map((B) => ({ value: B }));
2314
+ w = m.data.map((T) => ({ value: T }));
2315
2315
  return { rowLabel: y, dataCells: w };
2316
2316
  });
2317
2317
  } catch {
@@ -2320,16 +2320,16 @@ const ko = ["data-range"], Ut = "(min-width: 752px)", ys = /* @__PURE__ */ Objec
2320
2320
  }
2321
2321
  function u(c) {
2322
2322
  try {
2323
- const m = c.reduce((B, $) => {
2323
+ const m = c.reduce((T, $) => {
2324
2324
  const f = $.data.map((k) => k == null ? void 0 : k.x);
2325
- return [...B, ...f];
2325
+ return [...T, ...f];
2326
2326
  }, []), y = Array.from(new Set(m));
2327
- return (n.xAxisType === "time" || n.xAxisType === "linear") && y.sort((B, $) => (typeof B == "string" && typeof $ == "string" && (B = B.toLowerCase(), $ = $.toLowerCase()), B < $ ? -1 : B > $ ? 1 : 0)), y.map((B) => {
2328
- const $ = { rowLabel: B }, f = [];
2327
+ return (n.xAxisType === "time" || n.xAxisType === "linear") && y.sort((T, $) => (typeof T == "string" && typeof $ == "string" && (T = T.toLowerCase(), $ = $.toLowerCase()), T < $ ? -1 : T > $ ? 1 : 0)), y.map((T) => {
2328
+ const $ = { rowLabel: T }, f = [];
2329
2329
  return c.forEach((k) => {
2330
- const v = { datasetLabel: k.label }, V = k.data.find((U) => U.x === B);
2330
+ const v = { datasetLabel: k.label }, V = k.data.find((U) => U.x === T);
2331
2331
  v.value = V ? V.y : null, f.push(v);
2332
- }), $.dataCells = f, n.xAxisType === "time" && ($.rowLabelFmt = a(B)), $;
2332
+ }), $.dataCells = f, n.xAxisType === "time" && ($.rowLabelFmt = a(T)), $;
2333
2333
  });
2334
2334
  } catch {
2335
2335
  return [];
@@ -2426,9 +2426,9 @@ function Oo(e, n) {
2426
2426
  function w(...f) {
2427
2427
  !s || !t.value || (lt.register(...f), lt.defaults.font.family = "'Roobert', sans-serif", d = new lt(t.value, s));
2428
2428
  }
2429
- const B = Qe(function(f) {
2429
+ const T = Ze(function(f) {
2430
2430
  s && (s.updateOptions(f), d.options = s.options, d.update());
2431
- }, 100), $ = Qe(function(f) {
2431
+ }, 100), $ = Ze(function(f) {
2432
2432
  s && (s.updateData(f), d.data = s.data, d.update());
2433
2433
  }, 100);
2434
2434
  return je(
@@ -2442,7 +2442,7 @@ function Oo(e, n) {
2442
2442
  } catch (k) {
2443
2443
  console.error("Error creating chart config", k), s = null;
2444
2444
  }
2445
- }), Oe([" ", "Enter"], m, o), et(() => {
2445
+ }), Oe([" ", "Enter"], m, o), _e(() => {
2446
2446
  var f;
2447
2447
  (f = o.value) == null || f.removeEventListener("click", m), d == null || d.destroy();
2448
2448
  }), X([
@@ -2455,9 +2455,9 @@ function Oo(e, n) {
2455
2455
  () => n.yLabel,
2456
2456
  () => n.yMin,
2457
2457
  () => n.yMax
2458
- ], () => B(n)), X(
2458
+ ], () => T(n)), X(
2459
2459
  a,
2460
- (f) => B(tt(
2460
+ (f) => T(et(
2461
2461
  {},
2462
2462
  n,
2463
2463
  f ? l : u
@@ -2566,7 +2566,7 @@ function zt() {
2566
2566
  };
2567
2567
  }
2568
2568
  function Et(e) {
2569
- var w, B;
2569
+ var w, T;
2570
2570
  const {
2571
2571
  dataIdxLabels: n,
2572
2572
  showXGrid: t,
@@ -2617,7 +2617,7 @@ function Et(e) {
2617
2617
  }
2618
2618
  }
2619
2619
  };
2620
- return (i === "time" || ((B = (w = c == null ? void 0 : c.scales) == null ? void 0 : w.x) == null ? void 0 : B.type) === "time") && (y.x.ticks.source = n != null && n.length ? "labels" : "auto", y.x.time = {
2620
+ return (i === "time" || ((T = (w = c == null ? void 0 : c.scales) == null ? void 0 : w.x) == null ? void 0 : T.type) === "time") && (y.x.ticks.source = n != null && n.length ? "labels" : "auto", y.x.time = {
2621
2621
  tooltipFormat: "dd MMM yyyy : h:mm bbb"
2622
2622
  }), y;
2623
2623
  }
@@ -2664,7 +2664,7 @@ class Eo extends $n {
2664
2664
  }
2665
2665
  updateOptions(n) {
2666
2666
  super.updateOptions(n);
2667
- const t = Et(n), a = { x: { ticks: { font: t.x.ticks.font } }, y: { ticks: { font: t.y.ticks.font } } }, o = tt(
2667
+ const t = Et(n), a = { x: { ticks: { font: t.x.ticks.font } }, y: { ticks: { font: t.y.ticks.font } } }, o = et(
2668
2668
  {},
2669
2669
  this.options,
2670
2670
  { scales: t },
@@ -2689,7 +2689,7 @@ class Po extends $n {
2689
2689
  }
2690
2690
  updateOptions(n) {
2691
2691
  super.updateOptions(n);
2692
- const t = Et(n), a = { x: { ticks: { font: t.x.ticks.font } }, y: { ticks: { font: t.y.ticks.font } } }, o = tt(
2692
+ const t = Et(n), a = { x: { ticks: { font: t.x.ticks.font } }, y: { ticks: { font: t.y.ticks.font } } }, o = et(
2693
2693
  {},
2694
2694
  this.options,
2695
2695
  { scales: t },
@@ -2754,7 +2754,7 @@ class Lo {
2754
2754
  labels: this.dataIdxLabels
2755
2755
  // TODO: || this.pieSliceLabels (or something)
2756
2756
  },
2757
- options: tt(
2757
+ options: et(
2758
2758
  {},
2759
2759
  this.commonOptionsBasic,
2760
2760
  {
@@ -2963,13 +2963,13 @@ const Vo = {
2963
2963
  function w(f) {
2964
2964
  a("update:modelValue", f);
2965
2965
  }
2966
- function B(f) {
2966
+ function T(f) {
2967
2967
  const k = [...t.modelValue];
2968
2968
  f ? k.push(t.value) : k.splice(k.indexOf(t.value), 1), a("update:modelValue", k);
2969
2969
  }
2970
2970
  function $(f) {
2971
2971
  const { checked: k } = f.target;
2972
- c.value ? B(k) : w(k);
2972
+ c.value ? T(k) : w(k);
2973
2973
  }
2974
2974
  return X(d, y), X(s, y), te(y), (f, k) => (r(), b("div", K({
2975
2975
  class: "bs-boolean",
@@ -3046,7 +3046,7 @@ const Vo = {
3046
3046
  ], 64))
3047
3047
  ], 64));
3048
3048
  }
3049
- }, Ge = {
3049
+ }, He = {
3050
3050
  __name: "BsEnhancedTransition",
3051
3051
  props: {
3052
3052
  // Transition Name
@@ -3202,7 +3202,7 @@ const Vo = {
3202
3202
  const w = (D, S) => {
3203
3203
  i.value.style.setProperty(D, S);
3204
3204
  };
3205
- function B() {
3205
+ function T() {
3206
3206
  const D = s.value.getBoundingClientRect(), S = d.value.getBoundingClientRect(), I = i.value.getBoundingClientRect();
3207
3207
  $(D, S), f(D, S, I);
3208
3208
  }
@@ -3234,7 +3234,7 @@ const Vo = {
3234
3234
  w("--dropdown-wscreen-width", "");
3235
3235
  }
3236
3236
  function v() {
3237
- u.value = !0, d.value = document.getElementById(t.anchorId), B(), k(), a("enter");
3237
+ u.value = !0, d.value = document.getElementById(t.anchorId), T(), k(), a("enter");
3238
3238
  }
3239
3239
  function V() {
3240
3240
  l.value = !0, a("after-enter");
@@ -3253,7 +3253,7 @@ const Vo = {
3253
3253
  containerId: e.containerId
3254
3254
  }, {
3255
3255
  default: R(() => [
3256
- q(Ge, {
3256
+ q(He, {
3257
3257
  name: "bs-dropdown",
3258
3258
  preloaded: e.preloaded,
3259
3259
  shown: e.shown,
@@ -3450,7 +3450,7 @@ const Vo = {
3450
3450
  function d() {
3451
3451
  l.value ? a("clear") : a("toggled");
3452
3452
  }
3453
- return (s, c) => (r(), O(He, {
3453
+ return (s, c) => (r(), O(Ke, {
3454
3454
  "aria-live": "polite",
3455
3455
  disabled: e.disabled,
3456
3456
  error: e.error,
@@ -3477,8 +3477,8 @@ const Vo = {
3477
3477
  onFocus: c[0] || (c[0] = (m) => s.$emit("input-focus")),
3478
3478
  onInput: c[1] || (c[1] = (m) => s.$emit("update:modelValue", m.target.value)),
3479
3479
  onKeydown: [
3480
- c[2] || (c[2] = Ye(Te((m) => s.$emit("input-shift-tab"), ["shift"]), ["tab"])),
3481
- c[3] || (c[3] = Ye(Te((m) => s.$emit("input-tab"), ["exact"]), ["tab"]))
3480
+ c[2] || (c[2] = Ge(Te((m) => s.$emit("input-shift-tab"), ["shift"]), ["tab"])),
3481
+ c[3] || (c[3] = Ge(Te((m) => s.$emit("input-tab"), ["exact"]), ["tab"]))
3482
3482
  ],
3483
3483
  onMousedown: c[4] || (c[4] = (m) => s.$emit("input-mousedown")),
3484
3484
  onMouseup: c[5] || (c[5] = (m) => s.$emit("input-mouseup"))
@@ -3649,7 +3649,7 @@ const Vo = {
3649
3649
  key: 0,
3650
3650
  role: "option",
3651
3651
  "data-no-hover": ""
3652
- }, Je = {
3652
+ }, Qe = {
3653
3653
  __name: "BsDropdownOptionBuilder",
3654
3654
  props: cn,
3655
3655
  setup(e) {
@@ -3751,7 +3751,7 @@ const Vo = {
3751
3751
  emits: ["clear", "update:modelValue"],
3752
3752
  setup(e, { emit: n }) {
3753
3753
  const t = e, a = h(() => xe.concat(t.passAttrs.split(","))), o = h(() => !t.disabled && !t.hideClear && t.variant !== "filter");
3754
- return (i, u) => (r(), O(He, K({
3754
+ return (i, u) => (r(), O(Ke, K({
3755
3755
  class: "bs-input-search",
3756
3756
  "data-component": "bs-input-search",
3757
3757
  "data-variant": e.variant,
@@ -3828,7 +3828,7 @@ const Vo = {
3828
3828
  Z(a, "selectedValue", void 0, "Use 'modelValue' (or 'v-model') instead");
3829
3829
  const o = wn(a, "selectedValue", "modelValue"), i = t, u = C(null), l = C(null), d = C(-1), s = C(-1), c = C(null), m = C(!1);
3830
3830
  let y = {};
3831
- const w = de("dropdownEnter", C(!1)), B = de("dropdownAfterEnter", C(!1)), $ = de("dropdownShown", C(!1));
3831
+ const w = de("dropdownEnter", C(!1)), T = de("dropdownAfterEnter", C(!1)), $ = de("dropdownShown", C(!1));
3832
3832
  ve("optionsId", h(() => a.optionsId)), ve("handleOptionSelect", be), ve("registerOptionById", ({ id: F, val: N }) => {
3833
3833
  y[F] = N;
3834
3834
  }), si(u, U, { childList: !0 }), Oe([" ", "Enter", "NumpadEnter"], ye, u), Oe(["ArrowDown", "ArrowUp", "Home", "End"], Se);
@@ -3848,7 +3848,7 @@ const Vo = {
3848
3848
  ([F, N]) => {
3849
3849
  F && N > 0 && (m.value = u.value.scrollHeight > u.value.clientHeight);
3850
3850
  }
3851
- ), X(B, (F) => {
3851
+ ), X(T, (F) => {
3852
3852
  F && (D(), S());
3853
3853
  }), X($, (F) => H(F));
3854
3854
  function U() {
@@ -3964,8 +3964,8 @@ const Vo = {
3964
3964
  onBlur: E,
3965
3965
  onFocus: M,
3966
3966
  onKeydown: [
3967
- N[0] || (N[0] = Ye(Te((_) => i("options-list-shift-tab"), ["shift"]), ["tab"])),
3968
- N[1] || (N[1] = Ye(Te((_) => i("options-list-tab"), ["exact"]), ["tab"]))
3967
+ N[0] || (N[0] = Ge(Te((_) => i("options-list-shift-tab"), ["shift"]), ["tab"])),
3968
+ N[1] || (N[1] = Ge(Te((_) => i("options-list-tab"), ["exact"]), ["tab"]))
3969
3969
  ],
3970
3970
  onMousedown: N[2] || (N[2] = Te(() => {
3971
3971
  }, ["prevent"]))
@@ -4063,7 +4063,7 @@ const Vo = {
4063
4063
  f.has(v.value) && k.push(v.value);
4064
4064
  }), k;
4065
4065
  }
4066
- function B($) {
4066
+ function T($) {
4067
4067
  let f = [];
4068
4068
  t.selectedOptions.includes($) ? (f = t.selectedOptions.filter((k) => k !== $), a("uncheck-option", $)) : (f = w([...t.selectedOptions, $]), a("check-option", $)), s = !0, a("update:selectedOptions", f);
4069
4069
  }
@@ -4078,11 +4078,11 @@ const Vo = {
4078
4078
  shown: e.shown,
4079
4079
  onOptionsListShiftTab: f[0] || (f[0] = (k) => a("options-list-shift-tab")),
4080
4080
  onOptionsListTab: f[1] || (f[1] = (k) => a("options-list-tab")),
4081
- "onUpdate:modelValue": B
4081
+ "onUpdate:modelValue": T
4082
4082
  }, {
4083
4083
  default: R(() => [
4084
4084
  d.value ? (r(), b(Q, { key: 0 }, [
4085
- q(Je, {
4085
+ q(Qe, {
4086
4086
  options: i.value,
4087
4087
  "show-no-options": !1,
4088
4088
  "value-id-key": e.valueIdKey
@@ -4092,7 +4092,7 @@ const Vo = {
4092
4092
  ]), 512), [
4093
4093
  [fe, l.value]
4094
4094
  ]),
4095
- q(Je, {
4095
+ q(Qe, {
4096
4096
  options: u.value,
4097
4097
  "show-no-options": !1,
4098
4098
  "value-id-key": e.valueIdKey
@@ -4232,7 +4232,7 @@ const Vo = {
4232
4232
  () => t.multiselect ? Cn : at
4233
4233
  ), m = h(() => t.optionsId || u.value), y = h(() => t.toggleId || i.value), w = h(() => d.value ? t.options.filter(
4234
4234
  (M) => M.label.toLowerCase().startsWith(d.value.toLowerCase())
4235
- ) : t.options), B = h(() => t.filter ? w.value : t.options), $ = () => o || (o = document.getElementById(y.value));
4235
+ ) : t.options), T = h(() => t.filter ? w.value : t.options), $ = () => o || (o = document.getElementById(y.value));
4236
4236
  function f() {
4237
4237
  const M = document.activeElement;
4238
4238
  return !M || M.tagName === "BODY" || M.id === m.value;
@@ -4320,7 +4320,7 @@ const Vo = {
4320
4320
  class: he({ "filterable-options": e.filter }),
4321
4321
  label: e.dropdownLabel,
4322
4322
  "model-value": e.selectedOption,
4323
- options: e.multiselect ? B.value : void 0,
4323
+ options: e.multiselect ? T.value : void 0,
4324
4324
  "options-id": m.value,
4325
4325
  "selected-options": e.selectedOptions,
4326
4326
  shown: e.open,
@@ -4333,9 +4333,9 @@ const Vo = {
4333
4333
  "onUpdate:modelValue": S
4334
4334
  }, {
4335
4335
  default: R(() => [
4336
- e.multiselect ? x("", !0) : (r(), O(Je, {
4336
+ e.multiselect ? x("", !0) : (r(), O(Qe, {
4337
4337
  key: 0,
4338
- options: B.value,
4338
+ options: T.value,
4339
4339
  "value-id-key": e.valueIdKey
4340
4340
  }, null, 8, ["options", "value-id-key"]))
4341
4341
  ]),
@@ -4433,7 +4433,7 @@ const Vo = {
4433
4433
  function w(U) {
4434
4434
  a("combobox:change", U.target.value), a("update:modelValue", U.target.value);
4435
4435
  }
4436
- function B() {
4436
+ function T() {
4437
4437
  y().focus(), a("combobox:change", ""), a("update:modelValue", "");
4438
4438
  }
4439
4439
  function $(U) {
@@ -4485,7 +4485,7 @@ const Vo = {
4485
4485
  placeholder: e.placeholder,
4486
4486
  required: e.required,
4487
4487
  onChange: w,
4488
- onClear: B,
4488
+ onClear: T,
4489
4489
  onInput: $,
4490
4490
  onInputFocus: V,
4491
4491
  onInputMousedown: k,
@@ -4872,7 +4872,7 @@ const Vo = {
4872
4872
  __name: "BsEmptyState",
4873
4873
  props: Ot,
4874
4874
  setup(e) {
4875
- const n = e, t = _e(), a = C(!1), o = h(() => n.iconName || n.icon), i = h(() => !t.icon && typeof o.value == "string" ? a.value : !0);
4875
+ const n = e, t = Je(), a = C(!1), o = h(() => n.iconName || n.icon), i = h(() => !t.icon && typeof o.value == "string" ? a.value : !0);
4876
4876
  return (u, l) => pe((r(), b("div", {
4877
4877
  class: "bs-empty-state",
4878
4878
  "data-component": "bs-empty-state",
@@ -4948,7 +4948,7 @@ const Vo = {
4948
4948
  const l = ((d = o.value) == null ? void 0 : d.querySelector('[data-shown="true"]')) !== null;
4949
4949
  t.shown && !l && a("close");
4950
4950
  }
4951
- return (l, d) => (r(), O(Ge, {
4951
+ return (l, d) => (r(), O(He, {
4952
4952
  name: "bs-flyout",
4953
4953
  preloaded: e.preloaded,
4954
4954
  shown: e.shown
@@ -5021,15 +5021,15 @@ const Vo = {
5021
5021
  });
5022
5022
  te(() => {
5023
5023
  t.active && window.addEventListener("keydown", l);
5024
- }), et(() => {
5024
+ }), _e(() => {
5025
5025
  window.removeEventListener("keydown", l);
5026
5026
  }), X(() => t.active, (m) => {
5027
5027
  m ? window.addEventListener("keydown", l) : window.removeEventListener("keydown", l);
5028
5028
  });
5029
5029
  function l(m) {
5030
5030
  if (m.key === "Tab") {
5031
- const y = o.value.querySelectorAll(u.value), w = y[0], B = y[y.length - 1];
5032
- document.activeElement === w && m.shiftKey ? d(m, B) : document.activeElement === B && !m.shiftKey ? s(m, w) : o.value.contains(document.activeElement) || c(m, w);
5031
+ const y = o.value.querySelectorAll(u.value), w = y[0], T = y[y.length - 1];
5032
+ document.activeElement === w && m.shiftKey ? d(m, T) : document.activeElement === T && !m.shiftKey ? s(m, w) : o.value.contains(document.activeElement) || c(m, w);
5033
5033
  }
5034
5034
  }
5035
5035
  function d(m, y) {
@@ -5238,7 +5238,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5238
5238
  V !== v && (o.value[V] = !0);
5239
5239
  });
5240
5240
  }
5241
- function B() {
5241
+ function T() {
5242
5242
  return y.value ? "Close Menu" : "Open Menu";
5243
5243
  }
5244
5244
  function $(v) {
@@ -5266,7 +5266,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5266
5266
  class: "bs-horizontal-nav-mobile-toggle",
5267
5267
  "aria-expanded": v.mobileOpen,
5268
5268
  "aria-controls": `horizontal-nav-mobile-${p(c)}`,
5269
- title: B(),
5269
+ title: T(),
5270
5270
  onClick: V[0] || (V[0] = (D) => y.value = !y.value)
5271
5271
  }, [
5272
5272
  g("div", Vi, [
@@ -5500,10 +5500,6 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5500
5500
  type: String,
5501
5501
  default: void 0
5502
5502
  },
5503
- router: {
5504
- type: Object,
5505
- default: void 0
5506
- },
5507
5503
  selected: {
5508
5504
  type: Boolean,
5509
5505
  default: !1
@@ -5521,25 +5517,24 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5521
5517
  setup(e) {
5522
5518
  const n = e, t = de(An, null), a = h(() => (t == null ? void 0 : t.isSelected(n.value)) || n.selected), o = h(() => (t == null ? void 0 : t.props.disabled) || n.disabled), i = h(() => (t == null ? void 0 : t.props.variant) || n.variant), u = h(() => ({
5523
5519
  ...n,
5524
- disabled: o.value,
5525
- router: (t == null ? void 0 : t.props.router) || n.router
5526
- })), { rootTag: l, attrsToBind: d, btnRef: s } = Ue(u, ke(), "button"), { onLinkClick: c } = Ke(u);
5527
- function m(w) {
5528
- y(), c(w);
5520
+ disabled: o.value
5521
+ })), { rootTag: l, attrsToBind: d, btnRef: s } = Ue(u, ke(), "button");
5522
+ function c(y) {
5523
+ m();
5529
5524
  }
5530
- function y() {
5525
+ function m() {
5531
5526
  t && (a.value && !t.props.multiple || t.setModel(n.value));
5532
5527
  }
5533
- return (w, B) => (r(), O(oe(p(l)), K({
5528
+ return (y, w) => (r(), O(oe(p(l)), K({
5534
5529
  ref_key: "btnRef",
5535
5530
  ref: s,
5536
5531
  class: "bs-inline-tab",
5537
5532
  "data-variant": i.value,
5538
5533
  "data-selected": a.value || void 0,
5539
5534
  "aria-pressed": p(l) === "button" ? a.value : void 0
5540
- }, p(d), { onClick: m }), {
5535
+ }, p(d), { onClick: c }), {
5541
5536
  default: R(() => [
5542
- z(w.$slots, "default", { isSelected: a.value })
5537
+ z(y.$slots, "default", { isSelected: a.value })
5543
5538
  ]),
5544
5539
  _: 3
5545
5540
  }, 16, ["data-variant", "data-selected", "aria-pressed"]));
@@ -5563,10 +5558,6 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5563
5558
  type: Boolean,
5564
5559
  default: !1
5565
5560
  },
5566
- router: {
5567
- type: Object,
5568
- default: void 0
5569
- },
5570
5561
  variant: {
5571
5562
  type: String,
5572
5563
  default: void 0,
@@ -5842,7 +5833,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5842
5833
  m,
5843
5834
  y,
5844
5835
  w
5845
- ] = re(4), B = C(!1), $ = C(""), f = C(""), k = C(!1), v = C(!1), V = C(!0);
5836
+ ] = re(4), T = C(!1), $ = C(""), f = C(""), k = C(!1), v = C(!1), V = C(!0);
5846
5837
  n({
5847
5838
  validationErr: k,
5848
5839
  validationErrMsg: f
@@ -5850,7 +5841,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5850
5841
  const U = h(() => $.value ? `+${l.value}${$.value}` : ""), D = h(() => `Country code: ${l.value}. Click to change.`), S = h(() => V.value ? a.errorMsg || f.value : ""), I = h(() => a.error || k.value), E = h(() => a.hint || I.value && S.value), M = h(() => V.value && I.value);
5851
5842
  X(U, (N) => {
5852
5843
  o("update:modelValue", N), F(N);
5853
- }), X(() => a.modelValue, H), ge(), te(() => B.value = !0);
5844
+ }), X(() => a.modelValue, H), ge(), te(() => T.value = !0);
5854
5845
  function H(N, _) {
5855
5846
  N === "" && N !== _ && ($.value = "");
5856
5847
  }
@@ -5904,7 +5895,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5904
5895
  ]),
5905
5896
  _: 1
5906
5897
  }, 8, ["for", "required", "disabled", "class"]),
5907
- q(He, {
5898
+ q(Ke, {
5908
5899
  disabled: e.disabled,
5909
5900
  error: M.value,
5910
5901
  multifocus: !0,
@@ -5957,7 +5948,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5957
5948
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
5958
5949
  [fe, E.value]
5959
5950
  ]),
5960
- B.value ? (r(), b("div", el, [
5951
+ T.value ? (r(), b("div", el, [
5961
5952
  q(xn, {
5962
5953
  "anchor-id": p(c),
5963
5954
  "helper-text": "Country Code",
@@ -5971,7 +5962,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
5971
5962
  "onUpdate:modelValue": me
5972
5963
  }, {
5973
5964
  default: R(() => [
5974
- B.value ? (r(!0), b(Q, { key: 0 }, se(d.value, (ee) => (r(), O(Lt, {
5965
+ T.value ? (r(!0), b(Q, { key: 0 }, se(d.value, (ee) => (r(), O(Lt, {
5975
5966
  "aria-label": ee.value,
5976
5967
  key: ee.value,
5977
5968
  value: `${ee.value}`,
@@ -6132,7 +6123,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6132
6123
  }), X(o, () => {
6133
6124
  o.value ? a("open") : a("close");
6134
6125
  });
6135
- const s = h(() => t.typeaheadId || u.value), c = h(() => t.error && t.errorMsg || t.hint || void 0), m = h(() => `${s.value}-input-container`), y = h(() => `${s.value}-input`), w = h(() => `${s.value}-options`), B = h(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), $ = h(() => {
6126
+ const s = h(() => t.typeaheadId || u.value), c = h(() => t.error && t.errorMsg || t.hint || void 0), m = h(() => `${s.value}-input-container`), y = h(() => `${s.value}-input`), w = h(() => `${s.value}-options`), T = h(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), $ = h(() => {
6136
6127
  if (o.value) {
6137
6128
  let I = t.options;
6138
6129
  const E = t.inputValue.toLowerCase(), M = t.filterType === "includes" ? "includes" : "startsWith";
@@ -6165,11 +6156,11 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6165
6156
  a("update:inputValue", E.label), a("update:optionsValue", I);
6166
6157
  }
6167
6158
  function D(I) {
6168
- const E = [...B.value, I];
6159
+ const E = [...T.value, I];
6169
6160
  a("update:optionsValue", E);
6170
6161
  }
6171
6162
  function S(I) {
6172
- const E = B.value.filter((M) => M !== I);
6163
+ const E = T.value.filter((M) => M !== I);
6173
6164
  a("update:optionsValue", E);
6174
6165
  }
6175
6166
  return (I, E) => (r(), b(Q, null, [
@@ -6227,7 +6218,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6227
6218
  label: e.label,
6228
6219
  options: $.value,
6229
6220
  "options-id": w.value,
6230
- "selected-options": B.value,
6221
+ "selected-options": T.value,
6231
6222
  shown: o.value,
6232
6223
  "value-id-key": e.valueIdKey,
6233
6224
  onCheckOption: D,
@@ -6251,14 +6242,14 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6251
6242
  ]), 1032, ["label", "options", "options-id", "selected-options", "shown", "value-id-key"])) : (r(), O(at, {
6252
6243
  key: 1,
6253
6244
  label: e.label,
6254
- "model-value": B.value,
6245
+ "model-value": T.value,
6255
6246
  "options-id": w.value,
6256
6247
  shown: o.value,
6257
6248
  "onUpdate:modelValue": U,
6258
6249
  onClose: E[1] || (E[1] = (M) => o.value = !1)
6259
6250
  }, {
6260
6251
  default: R(() => [
6261
- q(Je, {
6252
+ q(Qe, {
6262
6253
  options: $.value,
6263
6254
  "value-id-key": e.valueIdKey
6264
6255
  }, mt({ _: 2 }, [
@@ -6359,7 +6350,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6359
6350
  function i() {
6360
6351
  o.value ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
6361
6352
  }
6362
- return (u, l) => (r(), O(Ge, {
6353
+ return (u, l) => (r(), O(He, {
6363
6354
  name: "bs-overlay",
6364
6355
  shown: p(o),
6365
6356
  preloaded: e.preloaded,
@@ -6396,9 +6387,9 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6396
6387
  Z(t, "enterControlled", "preloaded"), Z(t, "enterTrigger", "shown"), Z(t, "leaveTrigger", "shown");
6397
6388
  const a = n, o = C(null);
6398
6389
  let i = !1;
6399
- const { transition: u } = We(t), [l] = re(), [d] = re(), s = _e();
6390
+ const { transition: u } = We(t), [l] = re(), [d] = re(), s = Je();
6400
6391
  Pt([o], () => $("backdrop-clicked-close")), Oe(["Escape"], () => $("escape-pressed-close"));
6401
- const c = h(() => !!(t.title || s.title)), m = h(() => !!(t.subtitle || s.subtitle)), y = h(() => !!s.progress), w = h(() => !t.fullHeight && c.value), B = h(() => !t.fullHeight && !!s.footer);
6392
+ const c = h(() => !!(t.title || s.title)), m = h(() => !!(t.subtitle || s.subtitle)), y = h(() => !!s.progress), w = h(() => !t.fullHeight && c.value), T = h(() => !t.fullHeight && !!s.footer);
6402
6393
  function $(f, k = !0) {
6403
6394
  var V;
6404
6395
  const v = k && ((V = o.value) == null ? void 0 : V.querySelector('[data-shown="true"]')) !== null;
@@ -6412,7 +6403,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6412
6403
  preloaded: f.preloaded,
6413
6404
  shown: p(u)
6414
6405
  }, null, 8, ["enter-controlled", "enter-trigger", "leave-trigger", "preloaded", "shown"]),
6415
- q(Ge, {
6406
+ q(He, {
6416
6407
  name: "bs-modal",
6417
6408
  preloaded: f.preloaded,
6418
6409
  shown: p(u),
@@ -6482,7 +6473,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6482
6473
  g("div", wl, [
6483
6474
  z(f.$slots, "default")
6484
6475
  ]),
6485
- B.value ? (r(), b("footer", kl, [
6476
+ T.value ? (r(), b("footer", kl, [
6486
6477
  z(f.$slots, "footer")
6487
6478
  ])) : x("", !0)
6488
6479
  ]),
@@ -6630,7 +6621,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6630
6621
  for (let U = v; U <= V; U++)
6631
6622
  f.push(U);
6632
6623
  return V < t.pageCount - 1 && f.push(t.breakText), f.push(t.pageCount), f;
6633
- }), w = h(() => `${t.centerLabel ?? "Page"} ${i.value} of ${u.value}`), B = h(() => {
6624
+ }), w = h(() => `${t.centerLabel ?? "Page"} ${i.value} of ${u.value}`), T = h(() => {
6634
6625
  const f = (i.value - 1) * t.itemsPerGroup + 1, k = Math.min(f - 1 + t.itemsPerGroup, t.itemsCount);
6635
6626
  return `${t.centerLabel ?? "Results"} ${f} - ${k} of ${t.itemsCount}`;
6636
6627
  }), $ = h(() => t.resultsIncrements.split(",").map((f) => parseInt(f)));
@@ -6676,7 +6667,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6676
6667
  }, L(v), 9, Ol))), 128))
6677
6668
  ])) : x("", !0),
6678
6669
  t.variant === "base" && t.centerDisplay === "text" ? (r(), b("span", xl, L(w.value), 1)) : x("", !0),
6679
- t.variant === "group" ? (r(), b("span", Al, L(B.value), 1)) : x("", !0),
6670
+ t.variant === "group" ? (r(), b("span", Al, L(T.value), 1)) : x("", !0),
6680
6671
  t.variant === "results" ? (r(), b(Q, { key: 4 }, [
6681
6672
  k[0] || (k[0] = g("span", null, "Results Per Page:", -1)),
6682
6673
  g("div", zl, [
@@ -6741,7 +6732,7 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6741
6732
  setup(e) {
6742
6733
  const n = e;
6743
6734
  Z(n, "href", "linkTo");
6744
- const { onLinkClick: t } = Ke(n), a = ke(), { rootTag: o, attrsToBind: i, btnRef: u } = Ue(n, a, "span");
6735
+ const { onLinkClick: t } = tt(n), a = ke(), { rootTag: o, attrsToBind: i, btnRef: u } = Ue(n, a, "span");
6745
6736
  return (l, d) => (r(), O(oe(p(o)), K({
6746
6737
  ref_key: "btnRef",
6747
6738
  ref: u,
@@ -6837,12 +6828,12 @@ const Ei = ["aria-current", "data-active", "href"], Ve = {
6837
6828
  }
6838
6829
  }, Ms = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6839
6830
  __name: "BsProfile",
6840
- props: Ze,
6831
+ props: Xe,
6841
6832
  emits: Object.keys(mn),
6842
6833
  setup(e, { emit: n }) {
6843
6834
  const t = e;
6844
6835
  Z(t, "href", "linkTo");
6845
- const a = n, o = ke(), { onLinkClick: i } = Ke(t), { rootTag: u, attrsToBind: l, btnRef: d } = Ue(t, o, "div");
6836
+ const a = n, o = ke(), { onLinkClick: i } = tt(t), { rootTag: u, attrsToBind: l, btnRef: d } = Ue(t, o, "div");
6846
6837
  return (s, c) => (r(), O(oe(p(u)), K({
6847
6838
  ref_key: "btnRef",
6848
6839
  ref: d,
@@ -7243,8 +7234,8 @@ const Gl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Yl = ["data-sta
7243
7234
  const t = e, a = n, [o, i] = re(2), u = ke(), l = C(!1), d = h(() => t.selectId || u.id || o.value), s = h(() => t.optionsId || i.value), c = h(() => {
7244
7235
  if (t.modelValue) {
7245
7236
  const y = t.options.find((w) => {
7246
- var B, $;
7247
- return (B = w.value) != null && B[t.valueIdKey] ? w.value[t.valueIdKey] === (($ = t.modelValue) == null ? void 0 : $[t.valueIdKey]) : w.value === t.modelValue;
7237
+ var T, $;
7238
+ return (T = w.value) != null && T[t.valueIdKey] ? w.value[t.valueIdKey] === (($ = t.modelValue) == null ? void 0 : $[t.valueIdKey]) : w.value === t.modelValue;
7248
7239
  });
7249
7240
  if (y)
7250
7241
  return y.label;
@@ -7286,8 +7277,8 @@ const Gl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Yl = ["data-sta
7286
7277
  "selected-option": e.modelValue,
7287
7278
  "toggle-id": d.value,
7288
7279
  "value-id-key": e.valueIdKey,
7289
- onClose: w[1] || (w[1] = (B) => l.value = !1),
7290
- "onUpdate:selectedOption": w[2] || (w[2] = (B) => a("update:model-value", B))
7280
+ onClose: w[1] || (w[1] = (T) => l.value = !1),
7281
+ "onUpdate:selectedOption": w[2] || (w[2] = (T) => a("update:model-value", T))
7291
7282
  }, {
7292
7283
  toggle: R(() => [
7293
7284
  g("button", K({
@@ -7308,7 +7299,7 @@ const Gl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Yl = ["data-sta
7308
7299
  id: d.value,
7309
7300
  role: "combobox"
7310
7301
  }, y.$attrs, {
7311
- onClick: w[0] || (w[0] = Te((B) => l.value = !l.value, ["prevent"]))
7302
+ onClick: w[0] || (w[0] = Te((T) => l.value = !l.value, ["prevent"]))
7312
7303
  }), [
7313
7304
  g("span", null, L(c.value), 1),
7314
7305
  e.disabled ? x("", !0) : (r(), O(p(Le), {
@@ -7457,7 +7448,7 @@ const Gl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Yl = ["data-sta
7457
7448
  },
7458
7449
  emits: ["tabChange", "update:modelValue"],
7459
7450
  setup(e, { emit: n }) {
7460
- const t = e, a = n, o = C(!1), i = C(!1), u = C([]), l = C(!1), d = C(!1), s = C(), c = C(), m = C([]), y = C(!1), w = C([]), B = C(), $ = C([]), f = C(), k = C(), [v, V] = re(2);
7451
+ const t = e, a = n, o = C(!1), i = C(!1), u = C([]), l = C(!1), d = C(!1), s = C(), c = C(), m = C([]), y = C(!1), w = C([]), T = C(), $ = C([]), f = C(), k = C(), [v, V] = re(2);
7461
7452
  let U;
7462
7453
  const D = h(() => t.activeTabId ? w.value.findIndex((A) => A.id === t.activeTabId) : 0), S = h(() => u.value.some((A) => A.id === t.activeTabId)), I = h(() => `${V.value}-options`), E = h(() => `${V.value}-toggle`), M = h(() => {
7463
7454
  var A;
@@ -7503,14 +7494,14 @@ const Gl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Yl = ["data-sta
7503
7494
  }
7504
7495
  function ze() {
7505
7496
  var A;
7506
- (A = B.value) == null || A.focus(), l.value = !1;
7497
+ (A = T.value) == null || A.focus(), l.value = !1;
7507
7498
  }
7508
7499
  function $e() {
7509
7500
  l.value = !l.value, i.value || (i.value = !0);
7510
7501
  }
7511
7502
  function F(A) {
7512
7503
  var j;
7513
- l.value = !1, (j = B.value) == null || j.focus(), ye(A);
7504
+ l.value = !1, (j = T.value) == null || j.focus(), ye(A);
7514
7505
  }
7515
7506
  function N(A) {
7516
7507
  if (t.withBsTabs) return;
@@ -7540,14 +7531,14 @@ const Gl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Yl = ["data-sta
7540
7531
  var De, Be, Nt, Rt;
7541
7532
  const A = parseInt(s.value.style.getPropertyValue("--active-line-offset")) || 0, j = k.value;
7542
7533
  let G = 300, ne = ((Be = (De = $.value) == null ? void 0 : De[D.value]) == null ? void 0 : Be.offsetLeft) || 0, Ie = Se(D.value);
7543
- d.value && S.value && (ne = (Nt = B.value) == null ? void 0 : Nt.offsetLeft, Ie = (Rt = B.value) == null ? void 0 : Rt.offsetWidth), G = Math.max(Math.abs((ne - A) / j * 300), 100), s.value.style.setProperty("--active-line-max-width", `${j}px`), s.value.style.setProperty("--active-line-scale", `${Ie / j}`), s.value.style.setProperty("--active-line-offset", `${ne}px`), s.value.style.setProperty("--active-line-transition-duration", `${G}ms`);
7534
+ d.value && S.value && (ne = (Nt = T.value) == null ? void 0 : Nt.offsetLeft, Ie = (Rt = T.value) == null ? void 0 : Rt.offsetWidth), G = Math.max(Math.abs((ne - A) / j * 300), 100), s.value.style.setProperty("--active-line-max-width", `${j}px`), s.value.style.setProperty("--active-line-scale", `${Ie / j}`), s.value.style.setProperty("--active-line-offset", `${ne}px`), s.value.style.setProperty("--active-line-transition-duration", `${G}ms`);
7544
7535
  }
7545
7536
  function it() {
7546
7537
  var A, j;
7547
7538
  (j = (A = f.value) == null ? void 0 : A.disconnect) == null || j.call(A), f.value = null;
7548
7539
  }
7549
- function T() {
7550
- const A = Qe(() => {
7540
+ function B() {
7541
+ const A = Ze(() => {
7551
7542
  var j;
7552
7543
  k.value = (j = s == null ? void 0 : s.value) == null ? void 0 : j.clientWidth, ae();
7553
7544
  }, 25);
@@ -7575,7 +7566,7 @@ const Gl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Yl = ["data-sta
7575
7566
  return X(() => t.activeTabId, ge), te(() => {
7576
7567
  var A;
7577
7568
  try {
7578
- P(), W(), T(), k.value = s.value.getBoundingClientRect().width, ae(), t.withBsTabs || (A = w.value[D.value]) == null || A.setAttribute("aria-selected", "true");
7569
+ P(), W(), B(), k.value = s.value.getBoundingClientRect().width, ae(), t.withBsTabs || (A = w.value[D.value]) == null || A.setAttribute("aria-selected", "true");
7579
7570
  } catch (j) {
7580
7571
  console.log("tab error", j);
7581
7572
  }
@@ -7606,7 +7597,7 @@ const Gl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Yl = ["data-sta
7606
7597
  "data-hidden": !d.value,
7607
7598
  id: E.value,
7608
7599
  ref_key: "dropdownToggle",
7609
- ref: B,
7600
+ ref: T,
7610
7601
  onClick: $e
7611
7602
  }, [
7612
7603
  q(p(Qn), { size: "sm" }),
@@ -7869,7 +7860,7 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
7869
7860
  const E = I.clientX <= l.value.rect.left + Zt, M = I.clientX >= l.value.rect.right - Zt;
7870
7861
  if (!(E && I.target.dataset.ouiTableColResize === "right") && (E || M)) {
7871
7862
  if (i = E ? l.value.rect.left : l.value.rect.right, E && y(m()), !l.value.el) return;
7872
- B();
7863
+ T();
7873
7864
  }
7874
7865
  }
7875
7866
  function m() {
@@ -7887,7 +7878,7 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
7887
7878
  if (E)
7888
7879
  return parseInt(E, 10);
7889
7880
  }
7890
- function B() {
7881
+ function T() {
7891
7882
  V(), a.value.style.setProperty("--bs-table-col-resizer-y", `${l.value.rect.top}px`), a.value.style.setProperty("--bs-table-col-resizer-handle-height", `${l.value.rect.height}px`), d.value = !0;
7892
7883
  }
7893
7884
  function $() {
@@ -8020,11 +8011,11 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
8020
8011
  left: [],
8021
8012
  center: [],
8022
8013
  right: []
8023
- }), o = C({}), i = h(() => Object.values(a.value).flat().map((T) => {
8024
- const P = E(T);
8025
- return o.value[P] ?? _(T);
8014
+ }), o = C({}), i = h(() => Object.values(a.value).flat().map((B) => {
8015
+ const P = E(B);
8016
+ return o.value[P] ?? _(B);
8026
8017
  }).join(" ")), u = h(() => `--bs-table-cell-padding: ${["xs", "sm", "md", "lg", "xl", "none"].includes(e.cellPadding) ? `var(--bs-table-cell-padding-${e.cellPadding})` : e.cellPadding}`), l = h(() => typeof e.rowHover != "string" || e.rowHover === "true" ? "" : `--bs-table-row-hover: ${e.rowHover}`), d = h(() => Object.values(a.value).flat().some(E));
8027
- function s(T = []) {
8018
+ function s(B = []) {
8028
8019
  const P = [
8029
8020
  "bs-table-wrap",
8030
8021
  `bs-table-border-${e.borders}`,
@@ -8034,9 +8025,9 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
8034
8025
  return le("div", {
8035
8026
  class: P,
8036
8027
  style: [u.value, l.value]
8037
- }, T);
8028
+ }, B);
8038
8029
  }
8039
- function c(T = []) {
8030
+ function c(B = []) {
8040
8031
  const P = [
8041
8032
  `--bs-table-col-widths: ${i.value}`,
8042
8033
  `--bs-table-frozen-left-count: ${a.value.left.length}`,
@@ -8048,16 +8039,16 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
8048
8039
  role: e.role,
8049
8040
  ariaLabel: e.ariaLabel,
8050
8041
  ariaDescribedby: e.ariaDescribedby
8051
- }, T);
8042
+ }, B);
8052
8043
  }
8053
- function m(T = []) {
8054
- return le("div", { class: "bs-table-scroll-wrap" }, T);
8044
+ function m(B = []) {
8045
+ return le("div", { class: "bs-table-scroll-wrap" }, B);
8055
8046
  }
8056
- function y(T = []) {
8047
+ function y(B = []) {
8057
8048
  return le(ut, {
8058
8049
  kind: "header",
8059
8050
  class: e.freezeHeader && "bs-table-header-rowgroup-freeze"
8060
- }, () => T);
8051
+ }, () => B);
8061
8052
  }
8062
8053
  function w() {
8063
8054
  return y(
@@ -8066,141 +8057,141 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
8066
8057
  )
8067
8058
  );
8068
8059
  }
8069
- function B() {
8070
- const T = n.header({ cols: qt(a.value) });
8060
+ function T() {
8061
+ const B = n.header({ cols: qt(a.value) });
8071
8062
  return y(
8072
- D(T, S)
8063
+ D(B, S)
8073
8064
  );
8074
8065
  }
8075
- function $(T = []) {
8076
- return le(ut, { kind: "body" }, () => T);
8066
+ function $(B = []) {
8067
+ return le(ut, { kind: "body" }, () => B);
8077
8068
  }
8078
8069
  function f() {
8079
- const T = e.rows.map((P, W) => U(
8070
+ const B = e.rows.map((P, W) => U(
8080
8071
  Se(me, { row: P, rowIndex: W })
8081
8072
  ));
8082
- return $(T);
8073
+ return $(B);
8083
8074
  }
8084
8075
  function k() {
8085
- const T = e.rows.map((P, W) => {
8076
+ const B = e.rows.map((P, W) => {
8086
8077
  const Y = n.body({ row: P, rowIndex: W });
8087
8078
  return D(Y, me, { row: P, rowIndex: W });
8088
8079
  });
8089
- return $(T);
8080
+ return $(B);
8090
8081
  }
8091
- function v(T = []) {
8082
+ function v(B = []) {
8092
8083
  return le(ut, {
8093
8084
  kind: "footer",
8094
8085
  class: e.freezeFooter && "bs-table-footer-rowgroup-freeze"
8095
- }, () => T);
8086
+ }, () => B);
8096
8087
  }
8097
8088
  function V() {
8098
- const T = n.footer({ cols: qt(a.value) });
8089
+ const B = n.footer({ cols: qt(a.value) });
8099
8090
  return v(
8100
- D(T, S)
8091
+ D(B, S)
8101
8092
  );
8102
8093
  }
8103
- function U(T = []) {
8104
- return le(pt, null, () => T);
8094
+ function U(B = []) {
8095
+ return le(pt, null, () => B);
8105
8096
  }
8106
- function D(T = [], P, W = {}) {
8107
- return ee(T, [pt]).map(
8097
+ function D(B = [], P, W = {}) {
8098
+ return ee(B, [pt]).map(
8108
8099
  (A) => $e(A) ? le(A, null, () => Se(P, W)) : le(A)
8109
8100
  );
8110
8101
  }
8111
- function S(T = {}) {
8102
+ function S(B = {}) {
8112
8103
  var A;
8113
- const P = (A = T.slots) == null ? void 0 : A.default({}).find((j) => j.type === Gt), W = ae(T), Y = {
8114
- class: e.truncate && be(T),
8115
- "data-bs-table-col-id": T.props.id,
8104
+ const P = (A = B.slots) == null ? void 0 : A.default({}).find((j) => j.type === Gt), W = ae(B), Y = {
8105
+ class: e.truncate && be(B),
8106
+ "data-bs-table-col-id": B.props.id,
8116
8107
  // TODO: only added here for col resize reasons, could be on all cells
8117
- ...I(T),
8108
+ ...I(B),
8118
8109
  ...W && W === e.sortKey && { "aria-sort": `${e.sortOrder}ending` }
8119
8110
  };
8120
8111
  if (W && (P != null && P.children)) {
8121
- const j = P.children.default().map((G) => G.type === Xt ? Gn(G, { ...M(T) }) : le(G));
8112
+ const j = P.children.default().map((G) => G.type === Xt ? Gn(G, { ...M(B) }) : le(G));
8122
8113
  return le(P, Y, () => j);
8123
8114
  }
8124
8115
  return P ? le(P, Y) : le(Gt, Y, () => {
8125
8116
  var j;
8126
- return H(T) || ((j = T.props) == null ? void 0 : j.name);
8117
+ return H(B) || ((j = B.props) == null ? void 0 : j.name);
8127
8118
  });
8128
8119
  }
8129
- function I(T) {
8130
- const P = E(T);
8120
+ function I(B) {
8121
+ const P = E(B);
8131
8122
  if (!P) return {};
8132
- const W = T.props["resize-min"] || T.props.resizeMin, Y = T.props["resize-max"] || T.props.resizeMax;
8123
+ const W = B.props["resize-min"] || B.props.resizeMin, Y = B.props["resize-max"] || B.props.resizeMax;
8133
8124
  return {
8134
8125
  "data-bs-table-col-resize-id": P,
8135
- "data-bs-table-col-resize": ["right", "left"].includes(T.props.resize) ? T.props.resize : void 0,
8126
+ "data-bs-table-col-resize": ["right", "left"].includes(B.props.resize) ? B.props.resize : void 0,
8136
8127
  "data-bs-table-col-resize-min": W === void 0 ? e.resizeColsMin : W,
8137
8128
  "data-bs-table-col-resize-max": Y === void 0 ? e.resizeColsMax : Y
8138
8129
  };
8139
8130
  }
8140
- function E(T) {
8141
- const P = T.props["resize-id"] || T.props.resizeId;
8131
+ function E(B) {
8132
+ const P = B.props["resize-id"] || B.props.resizeId;
8142
8133
  if (P) return P;
8143
- const W = T.props["resize-key"] || T.props.resizeKey;
8134
+ const W = B.props["resize-key"] || B.props.resizeKey;
8144
8135
  if (W)
8145
8136
  throw new Error(`[OUI Table] TableCol does not have a "resize-key" prop. Instead, use: resize-id="${W}".`);
8146
- if (N(T, "resize")) {
8147
- if (!T.props.id) throw new Error(`[OUI Table] TableCol "resize" prop is missing identifier. Must use either approach...single prop: 'resize-id="myUniqueResizeId"', or both props: 'resize id="myTableColId"'`);
8148
- return T.props.id;
8137
+ if (N(B, "resize")) {
8138
+ if (!B.props.id) throw new Error(`[OUI Table] TableCol "resize" prop is missing identifier. Must use either approach...single prop: 'resize-id="myUniqueResizeId"', or both props: 'resize id="myTableColId"'`);
8139
+ return B.props.id;
8149
8140
  }
8150
8141
  }
8151
- function M(T = {}) {
8152
- const P = ae(T);
8142
+ function M(B = {}) {
8143
+ const P = ae(B);
8153
8144
  return {
8154
8145
  order: e.sortKey === P ? e.sortOrder : null,
8155
8146
  onToggle: (W) => t("sort", { sortKey: P, sortOrder: W })
8156
8147
  };
8157
8148
  }
8158
- function H(T = {}) {
8159
- if (ae(T))
8160
- return le(Xt, { ...M(T) }, () => {
8149
+ function H(B = {}) {
8150
+ if (ae(B))
8151
+ return le(Xt, { ...M(B) }, () => {
8161
8152
  var W;
8162
- return (W = T.props) == null ? void 0 : W.name;
8153
+ return (W = B.props) == null ? void 0 : W.name;
8163
8154
  });
8164
8155
  }
8165
- function ae(T) {
8166
- const P = T.props["sort-key"] || T.props.sortKey;
8156
+ function ae(B) {
8157
+ const P = B.props["sort-key"] || B.props.sortKey;
8167
8158
  if (P) return P;
8168
- if (N(T, "sort")) {
8169
- if (!T.props.id) throw new Error(`[OUI Table] TableCol "sort" prop is missing key identifier. Must use either approach...single prop: 'sort-key="mySortKey"', or both props: 'sort id="myTableColId"'`);
8170
- return T.props.id;
8159
+ if (N(B, "sort")) {
8160
+ if (!B.props.id) throw new Error(`[OUI Table] TableCol "sort" prop is missing key identifier. Must use either approach...single prop: 'sort-key="mySortKey"', or both props: 'sort id="myTableColId"'`);
8161
+ return B.props.id;
8171
8162
  }
8172
8163
  }
8173
- function me(T = {}, P = {}) {
8164
+ function me(B = {}, P = {}) {
8174
8165
  var A;
8175
- const W = (A = T.slots) == null ? void 0 : A.default(P).find((j) => j.type === Yt), Y = { class: e.truncate && be(T) };
8176
- return W ? le(W, Y) : le(Yt, Y, () => F(P.row, T));
8166
+ const W = (A = B.slots) == null ? void 0 : A.default(P).find((j) => j.type === Yt), Y = { class: e.truncate && be(B) };
8167
+ return W ? le(W, Y) : le(Yt, Y, () => F(P.row, B));
8177
8168
  }
8178
- function be(T) {
8179
- const P = T.props.truncate === void 0 ? e.truncate : T.props.truncate === "" || T.props.truncate;
8180
- return T.props.truncate !== "false" && P && "bs-table-truncate";
8169
+ function be(B) {
8170
+ const P = B.props.truncate === void 0 ? e.truncate : B.props.truncate === "" || B.props.truncate;
8171
+ return B.props.truncate !== "false" && P && "bs-table-truncate";
8181
8172
  }
8182
- function ye(T, P, W) {
8183
- if (!a.value[T].length) return;
8184
- const Y = a.value[T].map((A) => P(A, W));
8185
- return le("div", { class: `bs-table-cols-frozen-${T}` }, Y);
8173
+ function ye(B, P, W) {
8174
+ if (!a.value[B].length) return;
8175
+ const Y = a.value[B].map((A) => P(A, W));
8176
+ return le("div", { class: `bs-table-cols-frozen-${B}` }, Y);
8186
8177
  }
8187
- function Se(T, P = {}) {
8178
+ function Se(B, P = {}) {
8188
8179
  return [
8189
- ye("left", T, P),
8190
- a.value.center.map((W) => T(W, P)),
8191
- ye("right", T, P)
8180
+ ye("left", B, P),
8181
+ a.value.center.map((W) => B(W, P)),
8182
+ ye("right", B, P)
8192
8183
  ];
8193
8184
  }
8194
8185
  function ge() {
8195
8186
  return le(Sr, { onResize: ze });
8196
8187
  }
8197
- function ze({ el: T, id: P, width: W }) {
8188
+ function ze({ el: B, id: P, width: W }) {
8198
8189
  const Y = Object.values(a.value).flat().reduce((j, G) => {
8199
8190
  const ne = E(G) || G.props.id;
8200
8191
  return ne === P || o.value[ne] || _(G).endsWith("px") || j.push({ id: ne, width: null }), j;
8201
8192
  }, []);
8202
8193
  if (Y.length) {
8203
- const j = T.closest(".bs-table-row");
8194
+ const j = B.closest(".bs-table-row");
8204
8195
  Y.forEach((G) => {
8205
8196
  const ne = j.querySelector(`:where([data-bs-table-col-resize-id="${G.id}"], [data-bs-table-col-id="${G.id}"])`);
8206
8197
  ne && (G.width = `${ne.offsetWidth}px`);
@@ -8209,37 +8200,37 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
8209
8200
  const A = [{ id: P, width: W ? `${W}px` : void 0 }, ...Y];
8210
8201
  A.forEach((j) => o.value[j.id] = j.width), t("resize-col", { target: A[0], updated: [...A] });
8211
8202
  }
8212
- function $e(T) {
8213
- return T.type === pt && !T.children;
8203
+ function $e(B) {
8204
+ return B.type === pt && !B.children;
8214
8205
  }
8215
- function F(T, P) {
8216
- return (P.props["row-key"] || P.props.rowKey || P.props.id || "").split(".").reduce((A, j) => A && A[j], T);
8206
+ function F(B, P) {
8207
+ return (P.props["row-key"] || P.props.rowKey || P.props.id || "").split(".").reduce((A, j) => A && A[j], B);
8217
8208
  }
8218
- function N(T, P) {
8219
- const W = T.props[P];
8209
+ function N(B, P) {
8210
+ const W = B.props[P];
8220
8211
  return W === "" || W && W !== "false";
8221
8212
  }
8222
- function _(T) {
8213
+ function _(B) {
8223
8214
  var P;
8224
- return ((P = T.props) == null ? void 0 : P.width) ?? e.colWidth;
8215
+ return ((P = B.props) == null ? void 0 : P.width) ?? e.colWidth;
8225
8216
  }
8226
- function ee(T, P = []) {
8227
- return T.reduce((W, Y) => P.includes(Y.type) ? [...W, Y] : Array.isArray(Y.children) ? [...W, ...ee(Y.children, P)] : W, []);
8217
+ function ee(B, P = []) {
8218
+ return B.reduce((W, Y) => P.includes(Y.type) ? [...W, Y] : Array.isArray(Y.children) ? [...W, ...ee(Y.children, P)] : W, []);
8228
8219
  }
8229
- function Ee(T) {
8220
+ function Ee(B) {
8230
8221
  var W;
8231
- const P = ((W = T.props) == null ? void 0 : W.place) || T.type.props.place.default;
8232
- return T.type.props.place.validator(P) || console.warn(`[OUI Table warn] Invalid prop: FrozenCols prop "place" must be set to "left" or "right". Yours: "${P}".`), {
8222
+ const P = ((W = B.props) == null ? void 0 : W.place) || B.type.props.place.default;
8223
+ return B.type.props.place.validator(P) || console.warn(`[OUI Table warn] Invalid prop: FrozenCols prop "place" must be set to "left" or "right". Yours: "${P}".`), {
8233
8224
  place: P,
8234
- frozenCols: ee(T.children.default(), [dt])
8225
+ frozenCols: ee(B.children.default(), [dt])
8235
8226
  };
8236
8227
  }
8237
- function ot(T = []) {
8228
+ function ot(B = []) {
8238
8229
  const P = (W) => ({
8239
8230
  props: W.props || { name: "" },
8240
8231
  slots: W.children
8241
8232
  });
8242
- return T.reduce((W, Y) => {
8233
+ return B.reduce((W, Y) => {
8243
8234
  if (Y.type === ct) {
8244
8235
  const { place: A, frozenCols: j } = Ee(Y);
8245
8236
  return W[A] = W[A].concat(j.map(P)), W;
@@ -8247,8 +8238,8 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
8247
8238
  return W.center.push(P(Y)), W;
8248
8239
  }, { left: [], center: [], right: [] });
8249
8240
  }
8250
- function it(T) {
8251
- return T.reduce((P, W) => {
8241
+ function it(B) {
8242
+ return B.reduce((P, W) => {
8252
8243
  if (W.type === mr)
8253
8244
  return P.header = W, P;
8254
8245
  if (W.type === kr)
@@ -8260,12 +8251,12 @@ const kr = /* @__PURE__ */ Mt(yr, [["render", wr]]), Xt = {
8260
8251
  }, { columns: [], header: null, footer: null, other: [] });
8261
8252
  }
8262
8253
  return () => {
8263
- const { columns: T, header: P, footer: W, other: Y } = it(n.default());
8264
- return a.value = ot(T), s([
8254
+ const { columns: B, header: P, footer: W, other: Y } = it(n.default());
8255
+ return a.value = ot(B), s([
8265
8256
  P,
8266
8257
  m([
8267
8258
  c([
8268
- n.header ? B() : w(),
8259
+ n.header ? T() : w(),
8269
8260
  n.body ? k() : f(),
8270
8261
  n.footer && V()
8271
8262
  ]),
@@ -8540,7 +8531,7 @@ const ft = "excluded", bt = "over", Qt = "skip", Jt = "stop", ht = "under", Dr =
8540
8531
  const v = Cr(k);
8541
8532
  v === a.modelValue && (i.value = Pe(a.modelValue)), $(v);
8542
8533
  }
8543
- function B() {
8534
+ function T() {
8544
8535
  u.value = s();
8545
8536
  }
8546
8537
  function $(k) {
@@ -8561,12 +8552,12 @@ const ft = "excluded", bt = "over", Qt = "skip", Jt = "stop", ht = "under", Dr =
8561
8552
  l.value = "", d.value = !1;
8562
8553
  }
8563
8554
  }
8564
- return te(B), X([
8555
+ return te(T), X([
8565
8556
  () => a.disabledTimes,
8566
8557
  () => a.maxTime,
8567
8558
  () => a.minTime,
8568
8559
  () => a.step
8569
- ], B), X([
8560
+ ], T), X([
8570
8561
  () => a.disabledTimes,
8571
8562
  () => a.maxTime,
8572
8563
  () => a.minTime,
@@ -8673,7 +8664,7 @@ const ft = "excluded", bt = "over", Qt = "skip", Jt = "stop", ht = "under", Dr =
8673
8664
  return n({
8674
8665
  validationErr: y,
8675
8666
  validationErrMsg: m
8676
- }), (w, B) => (r(), b("div", K({
8667
+ }), (w, T) => (r(), b("div", K({
8677
8668
  "aria-live": "polite",
8678
8669
  "data-component": "bs-time-picker-field"
8679
8670
  }, p(ie)(w.$attrs, p(xe)).remaining), [
@@ -8708,7 +8699,7 @@ const ft = "excluded", bt = "over", Qt = "skip", Jt = "stop", ht = "under", Dr =
8708
8699
  placeholder: e.placeholder,
8709
8700
  required: e.required,
8710
8701
  step: e.step,
8711
- "onUpdate:modelValue": B[0] || (B[0] = ($) => w.$emit("update:modelValue", $))
8702
+ "onUpdate:modelValue": T[0] || (T[0] = ($) => w.$emit("update:modelValue", $))
8712
8703
  }, p(ie)(w.$attrs, p(xe)).filtered), null, 16, ["disabled", "disabled-times", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
8713
8704
  pe(q(Ae, {
8714
8705
  error: d.value,
@@ -8841,7 +8832,7 @@ const ft = "excluded", bt = "over", Qt = "skip", Jt = "stop", ht = "under", Dr =
8841
8832
  l();
8842
8833
  }, t.duration)), a("after-enter");
8843
8834
  }
8844
- return (s, c) => (r(), O(Ge, {
8835
+ return (s, c) => (r(), O(He, {
8845
8836
  name: "bs-toast",
8846
8837
  shown: p(o),
8847
8838
  preloaded: e.preloaded,
@@ -8870,7 +8861,7 @@ const ft = "excluded", bt = "over", Qt = "skip", Jt = "stop", ht = "under", Dr =
8870
8861
  });
8871
8862
  function t() {
8872
8863
  var a, o;
8873
- return ((o = (a = _e()).default) == null ? void 0 : o.call(a).length) > 2 || void 0;
8864
+ return ((o = (a = Je()).default) == null ? void 0 : o.call(a).length) > 2 || void 0;
8874
8865
  }
8875
8866
  return (a, o) => (r(), b("div", {
8876
8867
  class: "bs-toast-actions",
@@ -9012,8 +9003,8 @@ const Js = /* @__PURE__ */ Mt(Pr, [["render", Vr]]), Mr = ["data-variant"], _s =
9012
9003
  isExpanded: l,
9013
9004
  rawNavData: d
9014
9005
  } = Vt(t);
9015
- je("(max-width: 1165px)", (B) => {
9016
- c.value = B.matches;
9006
+ je("(max-width: 1165px)", (T) => {
9007
+ c.value = T.matches;
9017
9008
  });
9018
9009
  const s = C(null), c = C(!1), m = C(!1), y = h(() => !t.width && t.variant === "narrow");
9019
9010
  kt(() => {
@@ -9022,19 +9013,19 @@ const Js = /* @__PURE__ */ Mt(Pr, [["render", Vr]]), Mr = ["data-variant"], _s =
9022
9013
  m.value = !0, t.width && s.value.style.setProperty("--bs-vertical-nav-width", t.width);
9023
9014
  }), X(() => t.navData, () => {
9024
9015
  u(!1);
9025
- }), X(() => t.width, (B) => {
9026
- B ? s.value.style.setProperty("--bs-vertical-nav-width", B) : s.value.style.removeProperty("--bs-vertical-nav-width");
9027
- }), X(() => t.mobileOpen, (B) => {
9028
- B ? (document.body.style.overflow = "hidden", s.value.style.setProperty("visibility", "visible"), setTimeout(() => {
9016
+ }), X(() => t.width, (T) => {
9017
+ T ? s.value.style.setProperty("--bs-vertical-nav-width", T) : s.value.style.removeProperty("--bs-vertical-nav-width");
9018
+ }), X(() => t.mobileOpen, (T) => {
9019
+ T ? (document.body.style.overflow = "hidden", s.value.style.setProperty("visibility", "visible"), setTimeout(() => {
9029
9020
  s.value.style.setProperty("opacity", "1");
9030
9021
  }, 0)) : (document.body.style.overflow = "", s.value.style.removeProperty("opacity"), setTimeout(() => {
9031
9022
  s.value.style.removeProperty("visibility");
9032
9023
  }, 200));
9033
9024
  });
9034
- function w(B) {
9035
- o.value[B] = !o.value[B];
9025
+ function w(T) {
9026
+ o.value[T] = !o.value[T];
9036
9027
  }
9037
- return (B, $) => (r(), b("nav", {
9028
+ return (T, $) => (r(), b("nav", {
9038
9029
  class: "bs-vertical-nav",
9039
9030
  ref_key: "verticalNav",
9040
9031
  ref: s,
@@ -9071,7 +9062,7 @@ const Js = /* @__PURE__ */ Mt(Pr, [["render", Vr]]), Mr = ["data-variant"], _s =
9071
9062
  }, [
9072
9063
  q(Ve, {
9073
9064
  item: v,
9074
- router: B.router,
9065
+ router: T.router,
9075
9066
  onNavLinkClicked: (V) => a("nav-link-clicked", { ev: V, payload: v })
9076
9067
  }, {
9077
9068
  default: R(() => [
@@ -9094,7 +9085,7 @@ const Js = /* @__PURE__ */ Mt(Pr, [["render", Vr]]), Mr = ["data-variant"], _s =
9094
9085
  ], 8, Fr)) : (r(), b("li", Kr, [
9095
9086
  q(Ve, {
9096
9087
  item: f,
9097
- router: B.router,
9088
+ router: T.router,
9098
9089
  onNavLinkClicked: (v) => a("nav-link-clicked", { ev: v, payload: f })
9099
9090
  }, {
9100
9091
  default: R(() => [
@@ -9114,8 +9105,8 @@ const Js = /* @__PURE__ */ Mt(Pr, [["render", Vr]]), Mr = ["data-variant"], _s =
9114
9105
  ], 64);
9115
9106
  }), 128))
9116
9107
  ]),
9117
- B.$slots["end-items"] ? (r(), b("div", Hr, [
9118
- z(B.$slots, "end-items")
9108
+ T.$slots["end-items"] ? (r(), b("div", Hr, [
9109
+ z(T.$slots, "end-items")
9119
9110
  ])) : x("", !0)
9120
9111
  ], 8, jr));
9121
9112
  }
@@ -9144,7 +9135,7 @@ export {
9144
9135
  Ss as BsDropdownComboboxField,
9145
9136
  Cn as BsDropdownMultiselect,
9146
9137
  Lt as BsDropdownOption,
9147
- Je as BsDropdownOptionBuilder,
9138
+ Qe as BsDropdownOptionBuilder,
9148
9139
  ss as BsDropdownOptionBuilderDefinitions,
9149
9140
  at as BsDropdownOptionList,
9150
9141
  xn as BsDropdownWithOptions,
@@ -9163,7 +9154,7 @@ export {
9163
9154
  Ds as BsInlineTab,
9164
9155
  Os as BsInlineTabs,
9165
9156
  Ne as BsInput,
9166
- He as BsInputAddon,
9157
+ Ke as BsInputAddon,
9167
9158
  xs as BsInputField,
9168
9159
  As as BsInputPhone,
9169
9160
  Tn as BsInputSearch,