bootstrap-vue-next 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var Nn = Object.defineProperty;
2
2
  var zn = (e, t, a) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var Pe = (e, t, a) => (zn(e, typeof t != "symbol" ? t + "" : t, a), a);
4
- import { unref as C, computed as i, ref as z, shallowRef as La, watch as ie, getCurrentScope as eo, onScopeDispose as to, shallowReadonly as ct, watchEffect as Lt, readonly as _e, effectScope as ao, isRef as lo, toRef as ke, customRef as Rn, getCurrentInstance as sa, onMounted as We, nextTick as Te, reactive as yt, defineComponent as L, h as de, Teleport as xa, toValue as Na, onActivated as Hn, onBeforeUnmount as oo, openBlock as m, createElementBlock as A, Fragment as ve, createElementVNode as Y, renderSlot as T, normalizeProps as $e, guardReactiveProps as Oe, createVNode as Be, withCtx as M, mergeProps as te, normalizeClass as R, normalizeStyle as De, createTextVNode as ue, toDisplayString as Q, createCommentVNode as Z, createApp as Mn, provide as Ue, createBlock as H, resolveDynamicComponent as oe, inject as Ee, toHandlers as Dn, Transition as jn, useSlots as Ie, resolveComponent as no, withModifiers as it, renderList as we, withKeys as Vt, TransitionGroup as qn, withDirectives as st, vShow as ra, isReactive as Gn, onUnmounted as Wn, useAttrs as so, vModelCheckbox as Un, vModelRadio as Xn, vModelSelect as Kn, createSlots as ro } from "vue";
4
+ import { unref as C, computed as i, ref as z, shallowRef as La, watch as re, getCurrentScope as eo, onScopeDispose as to, shallowReadonly as ct, watchEffect as Lt, readonly as _e, effectScope as ao, isRef as lo, toRef as ke, customRef as Rn, getCurrentInstance as sa, onMounted as We, nextTick as Te, reactive as yt, defineComponent as L, h as de, Teleport as xa, toValue as Na, onActivated as Hn, onBeforeUnmount as oo, openBlock as m, createElementBlock as A, Fragment as ve, createElementVNode as Y, renderSlot as T, normalizeProps as $e, guardReactiveProps as Oe, createVNode as Be, withCtx as M, mergeProps as te, normalizeClass as R, normalizeStyle as De, createTextVNode as ue, toDisplayString as Q, createCommentVNode as Z, createApp as Mn, provide as Ue, createBlock as H, resolveDynamicComponent as oe, inject as Ee, toHandlers as Dn, Transition as jn, useSlots as Ie, resolveComponent as no, withModifiers as it, renderList as we, withKeys as Vt, TransitionGroup as qn, withDirectives as st, vShow as ra, isReactive as Gn, onUnmounted as Wn, useAttrs as so, vModelCheckbox as Un, vModelRadio as Xn, vModelSelect as Kn, createSlots as ro } from "vue";
5
5
  const Jn = (e) => typeof e == "boolean" || e === "" || e === "true" || e === "false", io = (e) => typeof e == "boolean" ? e : e === "" ? !0 : e === "true";
6
6
  class Ye {
7
7
  constructor(t, a = {}) {
@@ -785,11 +785,11 @@ function Do(e, t, a) {
785
785
  function _() {
786
786
  o.value || (w.value = !1);
787
787
  }
788
- return ie([n, r, s], b, {
788
+ return re([n, r, s], b, {
789
789
  flush: "sync"
790
- }), ie([c, v], P, {
790
+ }), re([c, v], P, {
791
791
  flush: "sync"
792
- }), ie(o, _, {
792
+ }), re(o, _, {
793
793
  flush: "sync"
794
794
  }), eo() && to(k), {
795
795
  x: ct(p),
@@ -961,7 +961,7 @@ function Wo(e, t = 1e3, a = {}) {
961
961
  v <= 0 || (r.value = !0, o && e(), s(), n = setInterval(e, v));
962
962
  }
963
963
  if (l && ta && c(), lo(t) || typeof t == "function") {
964
- const v = ie(t, () => {
964
+ const v = re(t, () => {
965
965
  r.value && ta && c();
966
966
  });
967
967
  Ft(v);
@@ -998,7 +998,7 @@ function vr(e, t, a = {}) {
998
998
  } = l, n = fr(l, [
999
999
  "eventFilter"
1000
1000
  ]);
1001
- return ie(
1001
+ return re(
1002
1002
  e,
1003
1003
  sr(
1004
1004
  o,
@@ -1050,7 +1050,7 @@ function Ce(...e) {
1050
1050
  Array.isArray(a) || (a = [a]), Array.isArray(l) || (l = [l]);
1051
1051
  const n = [], r = () => {
1052
1052
  n.forEach((v) => v()), n.length = 0;
1053
- }, s = (v, p, f, g) => (v.addEventListener(p, f, g), () => v.removeEventListener(p, f, g)), u = ie(
1053
+ }, s = (v, p, f, g) => (v.addEventListener(p, f, g), () => v.removeEventListener(p, f, g)), u = re(
1054
1054
  () => [et(t), zt(o)],
1055
1055
  ([v, p]) => {
1056
1056
  r(), v && n.push(
@@ -1311,7 +1311,7 @@ function zr(e = {}) {
1311
1311
  function B(k) {
1312
1312
  e.onChanged ? e.onChanged(k, h) : h(k);
1313
1313
  }
1314
- ie(S, B, { flush: "post", immediate: !0 }), ir(() => B(S.value));
1314
+ re(S, B, { flush: "post", immediate: !0 }), ir(() => B(S.value));
1315
1315
  const b = i({
1316
1316
  get() {
1317
1317
  return c ? y.value : S.value;
@@ -1336,7 +1336,7 @@ function Me(e, t = {}) {
1336
1336
  !r && l.value ? (s = o.value) == null || s.blur() : r && !l.value && ((u = o.value) == null || u.focus());
1337
1337
  }
1338
1338
  });
1339
- return ie(
1339
+ return re(
1340
1340
  o,
1341
1341
  () => {
1342
1342
  n.value = a;
@@ -1383,7 +1383,7 @@ function Pl(e, t = {}) {
1383
1383
  } = t, { x: o, y: n, sourceType: r } = Hr(t), s = z(e ?? (l == null ? void 0 : l.document.body)), u = z(0), c = z(0), v = z(0), p = z(0), f = z(0), g = z(0), y = z(!0);
1384
1384
  let S = () => {
1385
1385
  };
1386
- return l && (S = ie(
1386
+ return l && (S = re(
1387
1387
  [s, o, n],
1388
1388
  () => {
1389
1389
  const w = et(s);
@@ -1490,10 +1490,10 @@ function Ve(e, t, a, l = {}) {
1490
1490
  };
1491
1491
  if (u) {
1492
1492
  const b = h(), k = z(b);
1493
- return ie(
1493
+ return re(
1494
1494
  () => e[t],
1495
1495
  (P) => k.value = w(P)
1496
- ), ie(
1496
+ ), re(
1497
1497
  k,
1498
1498
  (P) => {
1499
1499
  (P !== e[t] || v) && B(P);
@@ -1571,6 +1571,8 @@ const Jo = tr(() => {
1571
1571
  };
1572
1572
  Lt(() => {
1573
1573
  r.value > s.value && (r.value = s.value), r.value === s.value && c();
1574
+ }), re([o, l], () => {
1575
+ g(), f();
1574
1576
  });
1575
1577
  const y = () => {
1576
1578
  p.value !== !1 && (n.value = !0, c());
@@ -1697,7 +1699,7 @@ const Jo = tr(() => {
1697
1699
  var h;
1698
1700
  e.disabled || (h = a.value) == null || h.blur();
1699
1701
  };
1700
- return ie(
1702
+ return re(
1701
1703
  () => e.modelValue,
1702
1704
  (h) => {
1703
1705
  a.value && (a.value.value = l && o ? l : h, l = null, o = !0);
@@ -1752,12 +1754,12 @@ const Jo = tr(() => {
1752
1754
  const s = typeof o == "string" ? window == null ? void 0 : window.document.querySelector(o) : et(o);
1753
1755
  s && (n === "class" ? s.classList.toggle(ga, r === ga) : s.setAttribute(n, r));
1754
1756
  });
1755
- return ie(e, (o) => {
1757
+ return re(e, (o) => {
1756
1758
  l("body", "class", o > 0 ? ga : "");
1757
1759
  }), { inc: t, dec: a };
1758
1760
  }), Wr = (e) => {
1759
1761
  const { inc: t, dec: a } = Gr();
1760
- ie(
1762
+ re(
1761
1763
  e,
1762
1764
  (l, o) => {
1763
1765
  l ? t() : o && !l && a();
@@ -1799,7 +1801,7 @@ const Jo = tr(() => {
1799
1801
  const a = e, l = d(() => a.modelValue), o = z(l.value), n = z(l.value);
1800
1802
  Lt(() => {
1801
1803
  t("update:modelValue", o.value);
1802
- }), ie(l, () => {
1804
+ }), re(l, () => {
1803
1805
  l.value !== o.value && (l.value ? j() : ne(new Event("update:modelValue")));
1804
1806
  });
1805
1807
  const r = Ae(() => a.id, "popover"), s = d(() => a.click), u = d(() => a.manual), c = d(() => a.noShift), v = d(() => a.noFlip), p = d(() => a.noFade), f = d(() => a.noAutoClose), g = d(() => a.hide), y = d(() => a.realtime), S = d(() => a.inline), w = d(() => a.tooltip), h = d(() => a.html), B = z(!1), b = z(null), k = z(null), P = z(null), _ = z(null), E = z(null), F = (K) => {
@@ -1838,7 +1840,7 @@ const Jo = tr(() => {
1838
1840
  strategy: a.strategy,
1839
1841
  whileElementsMounted: (...K) => Hs(...K, { animationFrame: y.value })
1840
1842
  }), me = z({ position: "absolute" });
1841
- ie(fe, () => {
1843
+ re(fe, () => {
1842
1844
  var K;
1843
1845
  if (g.value === !0 && ((K = fe.value.hide) != null && K.referenceHidden ? B.value = !0 : B.value = !1), fe.value.arrow) {
1844
1846
  const { x: ce, y: V } = fe.value.arrow;
@@ -1864,7 +1866,7 @@ const Jo = tr(() => {
1864
1866
  [`bs-${K}-${Yr(be.value)}`]: be.value !== void 0
1865
1867
  }
1866
1868
  ];
1867
- }), { isOutside: G } = Pl(b), { isOutside: J } = Pl(_), re = (K) => {
1869
+ }), { isOutside: G } = Pl(b), { isOutside: J } = Pl(_), ie = (K) => {
1868
1870
  const ce = K ?? new Event("click");
1869
1871
  o.value ? ne(ce) : j();
1870
1872
  }, D = (K, ce = {}) => new xt(K, {
@@ -1924,9 +1926,9 @@ const Jo = tr(() => {
1924
1926
  ce ? k.value = ce : console.warn("Reference element not found", a.reference);
1925
1927
  } else
1926
1928
  k.value = _.value;
1927
- !_.value || u.value || Ha && (s.value && _.value.addEventListener("click", re), !s.value && _.value.addEventListener("pointerenter", j), !s.value && _.value.addEventListener("pointerleave", ne), !s.value && _.value.addEventListener("focus", j), !s.value && _.value.addEventListener("blur", ne));
1929
+ !_.value || u.value || Ha && (s.value && _.value.addEventListener("click", ie), !s.value && _.value.addEventListener("pointerenter", j), !s.value && _.value.addEventListener("pointerleave", ne), !s.value && _.value.addEventListener("focus", j), !s.value && _.value.addEventListener("blur", ne));
1928
1930
  }, Se = () => {
1929
- _.value && (_.value.removeEventListener("click", re), _.value.removeEventListener("pointerenter", j), _.value.removeEventListener("pointerleave", ne), _.value.removeEventListener("focus", j), _.value.removeEventListener("blur", ne));
1931
+ _.value && (_.value.removeEventListener("click", ie), _.value.removeEventListener("pointerenter", j), _.value.removeEventListener("pointerleave", ne), _.value.removeEventListener("focus", j), _.value.removeEventListener("blur", ne));
1930
1932
  };
1931
1933
  return Ko(
1932
1934
  b,
@@ -1934,7 +1936,7 @@ const Jo = tr(() => {
1934
1936
  o.value && s.value && !f.value && !u.value && ne(new Event("clickOutside"));
1935
1937
  },
1936
1938
  { ignore: [_] }
1937
- ), ie(
1939
+ ), re(
1938
1940
  () => [a.click, a.target, a.reference],
1939
1941
  () => {
1940
1942
  Se(), ye();
@@ -1944,7 +1946,7 @@ const Jo = tr(() => {
1944
1946
  ref_key: "placeholder",
1945
1947
  ref: E
1946
1948
  }, null, 512),
1947
- T(K.$slots, "target", $e(Oe({ show: j, hide: ne, toggle: re, showState: o.value }))),
1949
+ T(K.$slots, "target", $e(Oe({ show: j, hide: ne, toggle: ie, showState: o.value }))),
1948
1950
  Be(Xa, {
1949
1951
  tag: "Teleport",
1950
1952
  to: K.container,
@@ -2148,7 +2150,7 @@ const Jo = tr(() => {
2148
2150
  }, ya(f.value)));
2149
2151
  }));
2150
2152
  };
2151
- return ie([n, y], () => {
2153
+ return re([n, y], () => {
2152
2154
  if (r.value === !0) {
2153
2155
  if (y.value)
2154
2156
  return;
@@ -2160,7 +2162,7 @@ const Jo = tr(() => {
2160
2162
  f.value !== null && !r.value && s.value && Te(() => {
2161
2163
  n.value = !0;
2162
2164
  });
2163
- }), v.value && (n.value = !0, y.value = !0), ie(v, (P) => {
2165
+ }), v.value && (n.value = !0, y.value = !0), re(v, (P) => {
2164
2166
  P ? h() : w();
2165
2167
  }), Ce(f, "bv-toggle", () => {
2166
2168
  n.value = !r.value;
@@ -2220,10 +2222,10 @@ const Jo = tr(() => {
2220
2222
  }, o = Ve(a, "modelValue", t, { passive: !0 }), n = Ee(_o, null), r = Ae(() => a.id, "accordion_item");
2221
2223
  return We(() => {
2222
2224
  o.value && !(n != null && n.free.value) && (n == null || n.setOpenItem(r.value)), !o.value && (n == null ? void 0 : n.openItem.value) === r.value && (o.value = !0);
2223
- }), ie(
2225
+ }), re(
2224
2226
  () => n == null ? void 0 : n.openItem.value,
2225
2227
  () => o.value = (n == null ? void 0 : n.openItem.value) === r.value && !(n != null && n.free.value)
2226
- ), ie(o, () => {
2228
+ ), re(o, () => {
2227
2229
  o.value && !(n != null && n.free.value) && (n == null || n.setOpenItem(r.value));
2228
2230
  }), (s, u) => (m(), A("div", ei, [
2229
2231
  Be(sn, te({
@@ -3453,7 +3455,7 @@ const rn = /* @__PURE__ */ Xe(Bi, [["render", Si]]), wi = { "aria-label": "bread
3453
3455
  "pointer-event",
3454
3456
  { "carousel-fade": v.value }
3455
3457
  ]), le = (J) => {
3456
- var re;
3458
+ var ie;
3457
3459
  return new uo(J, {
3458
3460
  componentId: n.value,
3459
3461
  cancelable: !1,
@@ -3461,7 +3463,7 @@ const rn = /* @__PURE__ */ Xe(Bi, [["render", Si]]), wi = { "aria-label": "bread
3461
3463
  direction: B.value ? "right" : "left",
3462
3464
  from: P.value,
3463
3465
  to: r.value,
3464
- relatedTarget: ((re = b.value) == null ? void 0 : re.children[r.value]) ?? null
3466
+ relatedTarget: ((ie = b.value) == null ? void 0 : ie.children[r.value]) ?? null
3465
3467
  });
3466
3468
  }, W = (J) => {
3467
3469
  if (w.value !== !0) {
@@ -3511,7 +3513,7 @@ const rn = /* @__PURE__ */ Xe(Bi, [["render", Si]]), wi = { "aria-label": "bread
3511
3513
  }, G = () => {
3512
3514
  a("slid", le("slid")), w.value = !1;
3513
3515
  };
3514
- return ie(
3516
+ return re(
3515
3517
  () => l.ride,
3516
3518
  () => {
3517
3519
  h.value = !1;
@@ -3520,14 +3522,14 @@ const rn = /* @__PURE__ */ Xe(Bi, [["render", Si]]), wi = { "aria-label": "bread
3520
3522
  background: _e(ke(l, "background")),
3521
3523
  width: _e(ke(l, "imgWidth")),
3522
3524
  height: _e(ke(l, "imgHeight"))
3523
- }), (J, re) => (m(), A("div", {
3525
+ }), (J, ie) => (m(), A("div", {
3524
3526
  id: C(n),
3525
3527
  ref_key: "target",
3526
3528
  ref: k,
3527
3529
  class: R(N.value),
3528
3530
  onKeydown: [
3529
- re[0] || (re[0] = Vt((D) => fe(q), ["left"])),
3530
- re[1] || (re[1] = Vt((D) => fe(ee), ["right"]))
3531
+ ie[0] || (ie[0] = Vt((D) => fe(q), ["left"])),
3532
+ ie[1] || (ie[1] = Vt((D) => fe(ee), ["right"]))
3531
3533
  ],
3532
3534
  onMouseenter: it(be, ["stop"]),
3533
3535
  onMouseleave: it(he, ["stop"])
@@ -3881,7 +3883,7 @@ const Ji = {
3881
3883
  }, P = () => {
3882
3884
  (!o.value || s.value || !S) && (S = y = 0), _();
3883
3885
  };
3884
- ie(u, (x) => {
3886
+ re(u, (x) => {
3885
3887
  x ? b() : B();
3886
3888
  });
3887
3889
  const _ = () => {
@@ -4163,18 +4165,18 @@ const Ji = {
4163
4165
  r.value && (l.autoClose === !0 || l.autoClose === "inside") && (n.value = !r.value);
4164
4166
  }, J = () => {
4165
4167
  n.value = !1;
4166
- }, re = () => {
4168
+ }, ie = () => {
4167
4169
  n.value = !0;
4168
4170
  }, D = () => {
4169
4171
  n.value = !r.value;
4170
4172
  };
4171
- return ie(r, q), t({
4173
+ return re(r, q), t({
4172
4174
  close: J,
4173
- open: re,
4175
+ open: ie,
4174
4176
  toggle: D
4175
4177
  }), Ue(To, {
4176
4178
  id: o,
4177
- open: re,
4179
+ open: ie,
4178
4180
  close: J,
4179
4181
  toggle: D,
4180
4182
  visible: r,
@@ -4612,7 +4614,7 @@ const Ji = {
4612
4614
  });
4613
4615
  }
4614
4616
  });
4615
- ie(o, ($) => {
4617
+ re(o, ($) => {
4616
4618
  if (w !== null) {
4617
4619
  if ($ === !1) {
4618
4620
  w.remove(a.value);
@@ -4852,7 +4854,7 @@ const Ji = {
4852
4854
  }), k = i(
4853
4855
  () => ua(t.ariaInvalid, o.value)
4854
4856
  );
4855
- return ie(
4857
+ return re(
4856
4858
  () => u,
4857
4859
  (_, E) => {
4858
4860
  _ !== E && g(_, E);
@@ -5132,12 +5134,12 @@ const zu = /* @__PURE__ */ Xe(Lu, [["render", Nu]]), Ru = ["id", "checked", "dis
5132
5134
  });
5133
5135
  }
5134
5136
  });
5135
- ie(
5137
+ re(
5136
5138
  () => y == null ? void 0 : y.modelValue.value,
5137
5139
  (F) => {
5138
5140
  JSON.stringify(F) === JSON.stringify(a.value) !== !0 && (h.value = !1);
5139
5141
  }
5140
- ), ie(o, (F) => {
5142
+ ), re(o, (F) => {
5141
5143
  y === null || F === !1 || y.set(a.value);
5142
5144
  });
5143
5145
  const B = i(
@@ -5567,7 +5569,7 @@ const zu = /* @__PURE__ */ Xe(Lu, [["render", Nu]]), Ru = ["id", "checked", "dis
5567
5569
  limit: a.limit,
5568
5570
  noTagRemove: v.value,
5569
5571
  placeholder: a.placeholder,
5570
- removeTag: re,
5572
+ removeTag: ie,
5571
5573
  required: f.value,
5572
5574
  separator: a.separator,
5573
5575
  size: a.size,
@@ -5578,7 +5580,7 @@ const zu = /* @__PURE__ */ Xe(Lu, [["render", Nu]]), Ru = ["id", "checked", "dis
5578
5580
  tagVariant: a.tagVariant,
5579
5581
  tags: B.value
5580
5582
  }));
5581
- ie(l, (D) => {
5583
+ re(l, (D) => {
5582
5584
  B.value = D;
5583
5585
  });
5584
5586
  const q = (D) => {
@@ -5610,7 +5612,7 @@ const zu = /* @__PURE__ */ Xe(Lu, [["render", Nu]]), Ru = ["id", "checked", "dis
5610
5612
  J(b.value);
5611
5613
  return;
5612
5614
  }
5613
- (D.key === "Backspace" || D.key === "Delete") && p.value && b.value === "" && k.value && B.value.length > 0 ? re(B.value[B.value.length - 1]) : k.value = !0;
5615
+ (D.key === "Backspace" || D.key === "Delete") && p.value && b.value === "" && k.value && B.value.length > 0 ? ie(B.value[B.value.length - 1]) : k.value = !0;
5614
5616
  }, ge = i(() => {
5615
5617
  if (a.separator)
5616
5618
  return typeof a.separator == "string" ? a.separator : a.separator.join("");
@@ -5628,7 +5630,7 @@ const zu = /* @__PURE__ */ Xe(Lu, [["render", Nu]]), Ru = ["id", "checked", "dis
5628
5630
  }
5629
5631
  const ye = [...l.value, ...ne];
5630
5632
  b.value = "", k.value = !0, l.value = ye, t("input", ye), w.value = !0;
5631
- }, re = (D) => {
5633
+ }, ie = (D) => {
5632
5634
  const j = B.value.indexOf((D == null ? void 0 : D.toString()) ?? "");
5633
5635
  _.value = B.value.splice(j, 1).toString(), l.value = B.value;
5634
5636
  };
@@ -5660,14 +5662,14 @@ const zu = /* @__PURE__ */ Xe(Lu, [["render", Nu]]), Ru = ["id", "checked", "dis
5660
5662
  id: `${C(o)}tag_list__`,
5661
5663
  class: "b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"
5662
5664
  }, [
5663
- (m(!0), A(ve, null, we(B.value, (ne, ye) => T(D.$slots, "tag", $e(te({ key: ye }, { tag: ne, tagClass: D.tagClass, tagVariant: D.tagVariant, tagPills: C(y), removeTag: re })), () => [
5665
+ (m(!0), A(ve, null, we(B.value, (ne, ye) => T(D.$slots, "tag", $e(te({ key: ye }, { tag: ne, tagClass: D.tagClass, tagVariant: D.tagVariant, tagPills: C(y), removeTag: ie })), () => [
5664
5666
  (m(), H(kn, {
5665
5667
  key: ne,
5666
5668
  class: R(D.tagClass),
5667
5669
  tag: "li",
5668
5670
  variant: D.tagVariant,
5669
5671
  pill: D.tagPills,
5670
- onRemove: re
5672
+ onRemove: ie
5671
5673
  }, {
5672
5674
  default: M(() => [
5673
5675
  ue(Q(ne), 1)
@@ -6056,7 +6058,7 @@ const vd = /* @__PURE__ */ Xe(dd, [["render", fd]]), pd = {
6056
6058
  [`border-${l.headerBorderVariant}`]: l.headerBorderVariant !== null,
6057
6059
  [`text-${l.headerTextVariant}`]: l.headerTextVariant !== null
6058
6060
  }
6059
- ]), re = i(() => [
6061
+ ]), ie = i(() => [
6060
6062
  l.footerClass,
6061
6063
  {
6062
6064
  [`bg-${l.footerBgVariant}`]: l.footerBgVariant !== null,
@@ -6177,7 +6179,7 @@ const vd = /* @__PURE__ */ Xe(dd, [["render", fd]]), pd = {
6177
6179
  ], 10, Cd),
6178
6180
  C(f) ? Z("", !0) : (m(), A("div", {
6179
6181
  key: 1,
6180
- class: R(["modal-footer", re.value])
6182
+ class: R(["modal-footer", ie.value])
6181
6183
  }, [
6182
6184
  T(ae.$slots, "footer", {}, () => [
6183
6185
  T(ae.$slots, "cancel", {}, () => [
@@ -6888,10 +6890,10 @@ const Dd = /* @__PURE__ */ Xe(Hd, [["render", Md]]), jd = /* @__PURE__ */ L({
6888
6890
  });
6889
6891
  t("page-click", I, E), !I.defaultPrevented && (l.value = E);
6890
6892
  }, b = i(() => e.size ? `pagination-${e.size}` : ""), k = i(() => c.value ? "b-pagination-pills" : "");
6891
- ie(l, (_) => {
6893
+ re(l, (_) => {
6892
6894
  const E = ic(_, f.value);
6893
6895
  E !== l.value && (l.value = E);
6894
- }), ie(h, (_, E) => {
6896
+ }), re(h, (_, E) => {
6895
6897
  _ != null && (E.pageSize !== _.pageSize && E.totalRows === _.totalRows || E.numberOfPages !== _.numberOfPages && l.value > E.numberOfPages) && (l.value = 1);
6896
6898
  });
6897
6899
  const P = i(() => {
@@ -6902,7 +6904,7 @@ const Dd = /* @__PURE__ */ Xe(Hd, [["render", Md]]), jd = /* @__PURE__ */ L({
6902
6904
  });
6903
6905
  return () => {
6904
6906
  const _ = [], E = P.value.map((q) => q.number), F = (q) => q === l.value, I = l.value < 1, $ = e.align === "fill", O = (q, ee, fe, be, he, me) => {
6905
- const ge = o.value || F(me) || I || q < 1 || q > f.value, G = q < 1 ? 1 : q > f.value ? f.value : q, J = { disabled: ge, page: G, index: G - 1 }, re = He(fe, J, a) || be || "";
6907
+ const ge = o.value || F(me) || I || q < 1 || q > f.value, G = q < 1 ? 1 : q > f.value ? f.value : q, J = { disabled: ge, page: G, index: G - 1 }, ie = He(fe, J, a) || be || "";
6906
6908
  return de(
6907
6909
  "li",
6908
6910
  {
@@ -6931,7 +6933,7 @@ const Dd = /* @__PURE__ */ Xe(Hd, [["render", Md]]), jd = /* @__PURE__ */ L({
6931
6933
  ge || B(D, G);
6932
6934
  }
6933
6935
  },
6934
- re
6936
+ ie
6935
6937
  )
6936
6938
  );
6937
6939
  }, x = (q) => de(
@@ -7552,8 +7554,8 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
7552
7554
  });
7553
7555
  let u, c, v = !1;
7554
7556
  const p = i(() => Ct(e.step, Xl)), f = i(() => Ct(e.min, Wl)), g = i(() => {
7555
- const G = Ct(e.max, Ul), J = p.value, re = f.value;
7556
- return Math.floor((G - re) / J) * J + re;
7557
+ const G = Ct(e.max, Ul), J = p.value, ie = f.value;
7558
+ return Math.floor((G - ie) / J) * J + ie;
7557
7559
  }), y = i(() => {
7558
7560
  const G = lt(e.repeatDelay, 0);
7559
7561
  return G > 0 ? G : Kl;
@@ -7610,27 +7612,27 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
7610
7612
  })), x = (G) => {
7611
7613
  let { value: J } = s;
7612
7614
  if (!e.disabled && J !== null) {
7613
- const re = p.value * G, D = f.value, j = g.value, ne = b.value, { wrap: ye } = e;
7614
- J = Math.round((J - D) / re) * re + D + re, J = Math.round(J * ne) / ne, s.value = J > j ? ye ? D : j : J < D ? ye ? j : D : J;
7615
+ const ie = p.value * G, D = f.value, j = g.value, ne = b.value, { wrap: ye } = e;
7616
+ J = Math.round((J - D) / ie) * ie + D + ie, J = Math.round(J * ne) / ne, s.value = J > j ? ye ? D : j : J < D ? ye ? j : D : J;
7615
7617
  }
7616
7618
  }, N = (G = 1) => {
7617
7619
  s.value === null ? s.value = f.value : x(1 * G);
7618
7620
  }, le = (G = 1) => {
7619
7621
  s.value === null ? s.value = e.wrap ? g.value : f.value : x(-1 * G);
7620
7622
  }, W = (G) => {
7621
- const { code: J, altKey: re, ctrlKey: D, metaKey: j } = G;
7622
- if (!(e.disabled || e.readonly || re || D || j) && Ql.includes(J)) {
7623
+ const { code: J, altKey: ie, ctrlKey: D, metaKey: j } = G;
7624
+ if (!(e.disabled || e.readonly || ie || D || j) && Ql.includes(J)) {
7623
7625
  if (qt(G, { propagation: !1 }), v)
7624
7626
  return;
7625
7627
  me(), [Ia, Fa].includes(J) ? (v = !0, J === Ia ? ee(G, N) : J === Fa && ee(G, le)) : J === xn ? N(h.value) : J === Ln ? le(h.value) : J === In ? s.value = f.value : J === Fn && (s.value = g.value);
7626
7628
  }
7627
7629
  }, q = (G) => {
7628
- const { code: J, altKey: re, ctrlKey: D, metaKey: j } = G;
7629
- e.disabled || e.readonly || re || D || j || Ql.includes(J) && (qt(G, { propagation: !1 }), me(), v = !1, n());
7630
+ const { code: J, altKey: ie, ctrlKey: D, metaKey: j } = G;
7631
+ e.disabled || e.readonly || ie || D || j || Ql.includes(J) && (qt(G, { propagation: !1 }), me(), v = !1, n());
7630
7632
  }, ee = (G, J) => {
7631
- const { type: re } = G || {};
7633
+ const { type: ie } = G || {};
7632
7634
  if (!e.disabled && !e.readonly) {
7633
- if (fe(G) && re === "mousedown" && G.button)
7635
+ if (fe(G) && ie === "mousedown" && G.button)
7634
7636
  return;
7635
7637
  me(), J(1);
7636
7638
  const D = w.value, j = h.value, ne = y.value, ye = S.value;
@@ -7655,8 +7657,8 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
7655
7657
  }
7656
7658
  }, me = () => {
7657
7659
  clearTimeout(u), clearInterval(c), u = void 0, c = void 0;
7658
- }, ge = (G, J, re, D, j, ne, ye) => {
7659
- const Se = de(re, {
7660
+ }, ge = (G, J, ie, D, j, ne, ye) => {
7661
+ const Se = de(ie, {
7660
7662
  props: { scale: l.value ? 1.5 : 1.25 },
7661
7663
  attrs: { "aria-hidden": !0 }
7662
7664
  }), K = { hasFocus: l.value }, ce = (V) => {
@@ -7721,8 +7723,8 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
7721
7723
  "ArrowDown",
7722
7724
  !1,
7723
7725
  "decrement"
7724
- ), re = [];
7725
- e.name && !e.disabled && re.push(
7726
+ ), ie = [];
7727
+ e.name && !e.disabled && ie.push(
7726
7728
  de("input", {
7727
7729
  type: "hidden",
7728
7730
  name: e.name,
@@ -7781,7 +7783,7 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
7781
7783
  // 'focus': onFocusBlur, //TODO
7782
7784
  // 'blur': onFocusBlur, //TODO
7783
7785
  },
7784
- e.vertical ? [G, re, D, J] : [J, re, D, G]
7786
+ e.vertical ? [G, ie, D, J] : [J, ie, D, G]
7785
7787
  );
7786
7788
  };
7787
7789
  }
@@ -8025,7 +8027,7 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
8025
8027
  }
8026
8028
  }, J = (V) => {
8027
8029
  V._showDetails = !V._showDetails;
8028
- }, re = (V) => [
8030
+ }, ie = (V) => [
8029
8031
  V.class,
8030
8032
  V.thClass,
8031
8033
  {
@@ -8072,30 +8074,30 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
8072
8074
  const X = (rt) => l.noProvider && l.noProvider.includes(rt), ae = !["currentPage", "perPage"].includes(V), se = ["currentPage", "perPage"].includes(V) && (X("paging") || y.value === !0), Qe = ["filter"].includes(V) && (X("filtering") || w.value === !0), va = ["sortBy", "sortDesc"].includes(V) && (X("sorting") || S.value === !0);
8073
8075
  se || Qe || va || (await G(), ae && n.notifyFilteredItems());
8074
8076
  };
8075
- return ie(
8077
+ return re(
8076
8078
  () => l.filter,
8077
8079
  (V, U) => {
8078
8080
  V === U || I.value || V || ha(l.items).then((pe) => a("filtered", pe));
8079
8081
  }
8080
- ), ie(
8082
+ ), re(
8081
8083
  h,
8082
8084
  () => h.value !== f.value && a("update:busy", h.value)
8083
- ), ie(
8085
+ ), re(
8084
8086
  f,
8085
8087
  () => h.value !== f.value && (h.value = f.value)
8086
- ), ie(
8088
+ ), re(
8087
8089
  () => l.filter,
8088
8090
  (V, U) => ce("filter", V, U)
8089
- ), ie(
8091
+ ), re(
8090
8092
  () => l.currentPage,
8091
8093
  (V, U) => ce("currentPage", V, U)
8092
- ), ie(
8094
+ ), re(
8093
8095
  () => l.perPage,
8094
8096
  (V, U) => ce("perPage", V, U)
8095
- ), ie(
8097
+ ), re(
8096
8098
  () => l.sortBy,
8097
8099
  (V, U) => ce("sortBy", V, U)
8098
- ), ie(
8100
+ ), re(
8099
8101
  () => l.sortDesc,
8100
8102
  (V, U) => ce("sortDesc", V, U)
8101
8103
  ), We(() => {
@@ -8126,7 +8128,7 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
8126
8128
  (m(!0), A(ve, null, we(_.value, (X) => (m(), A("th", te({
8127
8129
  key: X.key,
8128
8130
  scope: "col",
8129
- class: re(X),
8131
+ class: ie(X),
8130
8132
  title: X.headerTitle,
8131
8133
  abbr: X.headerAbbr,
8132
8134
  style: X.thStyle
@@ -8417,7 +8419,7 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
8417
8419
  const g = s.value && u.value && r.value;
8418
8420
  return c.value || !s.value || g;
8419
8421
  }), p = z(l.value);
8420
- ie(l, (g) => {
8422
+ re(l, (g) => {
8421
8423
  setTimeout(() => {
8422
8424
  p.value = g;
8423
8425
  }, 0);
@@ -8427,7 +8429,7 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
8427
8429
  show: p.value,
8428
8430
  "card-body": (a == null ? void 0 : a.card.value) && t.noBody === !1
8429
8431
  }));
8430
- return ie(v, (g) => {
8432
+ return re(v, (g) => {
8431
8433
  g && !r.value && (r.value = !0);
8432
8434
  }), (g, y) => (m(), H(oe(g.tag), {
8433
8435
  id: g.id,
@@ -8472,7 +8474,7 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
8472
8474
  S.value = $, b.value.length > 0 && $ >= 0 && $ < b.value.length ? w.value = b.value[$].buttonId : w.value = "", l.value = $;
8473
8475
  }
8474
8476
  }), B = z([]);
8475
- ie(
8477
+ re(
8476
8478
  () => {
8477
8479
  var $;
8478
8480
  return ($ = o.default) == null ? void 0 : $.call(o);
@@ -8544,7 +8546,7 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
8544
8546
  var x;
8545
8547
  F(O), O >= 0 && !b.value[O].disabled && ((x = b.value[O]) != null && x.onClick) && typeof b.value[O].onClick == "function" && b.value[O].onClick($);
8546
8548
  };
8547
- return F(S.value), ie(l, ($, O) => {
8549
+ return F(S.value), re(l, ($, O) => {
8548
8550
  if ($ === O)
8549
8551
  return;
8550
8552
  if ($ = Math.max($, -1), O = Math.max(O, -1), b.value.length <= 0) {
@@ -8565,7 +8567,7 @@ const bc = /* @__PURE__ */ Xe(mc, [["render", gc]]), ql = [
8565
8567
  return;
8566
8568
  }
8567
8569
  F(N);
8568
- }), ie(b, () => {
8570
+ }), re(b, () => {
8569
8571
  let $ = b.value.map((O) => O.active && !O.disabled).lastIndexOf(!0);
8570
8572
  $ < 0 && (h.value >= b.value.length ? $ = b.value.map((O) => !O.disabled).lastIndexOf(!0) : b.value[h.value] && !b.value[h.value].disabled && ($ = h.value)), $ < 0 && ($ = b.value.map((O) => !O.disabled).indexOf(!0)), b.value.forEach((O, x) => O.active = x === $), F($);
8571
8573
  }), We(() => {