bootstrap-vue-next 0.14.5 → 0.14.6

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 zn = Object.defineProperty;
2
2
  var Hn = (e, t, l) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
3
3
  var Fe = (e, t, l) => (Hn(e, typeof t != "symbol" ? t + "" : t, l), l);
4
- import { unref as g, computed as C, ref as M, shallowRef as Pa, watch as se, getCurrentScope as Xl, onScopeDispose as Kl, shallowReadonly as St, watchEffect as Ot, readonly as He, effectScope as Jl, isRef as La, toRef as P, customRef as Rn, getCurrentInstance as Ft, onMounted as Ye, nextTick as Te, reactive as It, defineComponent as R, h as ye, Teleport as sa, toValue as nt, onActivated as xn, onBeforeUnmount as Ia, openBlock as p, createElementBlock as E, Fragment as fe, createElementVNode as Z, renderSlot as A, createVNode as be, withCtx as D, mergeProps as ae, normalizeClass as H, normalizeStyle as Re, createTextVNode as re, toDisplayString as J, createCommentVNode as K, createApp as Mn, provide as We, createBlock as x, resolveDynamicComponent as oe, inject as Pe, Transition as Dn, normalizeProps as _e, guardReactiveProps as Ee, useSlots as Oe, useAttrs as Yl, renderList as he, TransitionGroup as jn, withDirectives as ft, vShow as ra, withModifiers as za, vModelCheckbox as qn, vModelRadio as Gn, vModelSelect as Wn, createSlots as Ha } from "vue";
4
+ import { unref as g, computed as C, ref as M, shallowRef as Pa, watch as ne, getCurrentScope as Xl, onScopeDispose as Kl, shallowReadonly as St, watchEffect as Ot, readonly as He, effectScope as Jl, isRef as La, toRef as P, customRef as Rn, getCurrentInstance as Ft, onMounted as Ye, nextTick as Te, reactive as It, defineComponent as R, h as ye, Teleport as sa, toValue as nt, onActivated as xn, onBeforeUnmount as Ia, openBlock as p, createElementBlock as E, Fragment as fe, createElementVNode as Z, renderSlot as A, createVNode as be, withCtx as D, mergeProps as ae, normalizeClass as H, normalizeStyle as Re, createTextVNode as re, toDisplayString as J, createCommentVNode as K, createApp as Mn, provide as We, createBlock as x, resolveDynamicComponent as oe, inject as Pe, Transition as Dn, normalizeProps as _e, guardReactiveProps as Ee, useSlots as Oe, useAttrs as Yl, renderList as he, TransitionGroup as jn, withDirectives as ft, vShow as ra, withModifiers as za, vModelCheckbox as qn, vModelRadio as Gn, vModelSelect as Wn, createSlots as Ha } from "vue";
5
5
  const Zl = (e) => typeof e == "boolean" || e === "" || e === "true" || e === "false", ia = (e) => typeof e == "boolean" ? e : e === "" || e === "true";
6
6
  class at {
7
7
  constructor(t, l = {}) {
@@ -1376,11 +1376,11 @@ function Lo(e, t, l) {
1376
1376
  function k() {
1377
1377
  o.value || (F.value = !1);
1378
1378
  }
1379
- return se([n, s, r], T, {
1379
+ return ne([n, s, r], T, {
1380
1380
  flush: "sync"
1381
- }), se([d, y], m, {
1381
+ }), ne([d, y], m, {
1382
1382
  flush: "sync"
1383
- }), se(o, k, {
1383
+ }), ne(o, k, {
1384
1384
  flush: "sync"
1385
1385
  }), Xl() && Kl($), {
1386
1386
  x: St(b),
@@ -1544,7 +1544,7 @@ function hr(e, t, l = {}) {
1544
1544
  eventFilter: a = Ro,
1545
1545
  ...o
1546
1546
  } = l;
1547
- return se(
1547
+ return ne(
1548
1548
  e,
1549
1549
  Ho(
1550
1550
  a,
@@ -1588,7 +1588,7 @@ function Mo(e, t = 1e3, l = {}) {
1588
1588
  y <= 0 || (s.value = !0, o && e(), r(), n = setInterval(e, y));
1589
1589
  }
1590
1590
  if (a && aa && d(), La(t) || typeof t == "function") {
1591
- const y = se(t, () => {
1591
+ const y = ne(t, () => {
1592
1592
  s.value && aa && d();
1593
1593
  });
1594
1594
  yt(y);
@@ -1623,7 +1623,7 @@ function we(...e) {
1623
1623
  Array.isArray(l) || (l = [l]), Array.isArray(a) || (a = [a]);
1624
1624
  const n = [], s = () => {
1625
1625
  n.forEach((y) => y()), n.length = 0;
1626
- }, r = (y, b, c, h) => (y.addEventListener(b, c, h), () => y.removeEventListener(b, c, h)), i = se(
1626
+ }, r = (y, b, c, h) => (y.addEventListener(b, c, h), () => y.removeEventListener(b, c, h)), i = ne(
1627
1627
  () => [tt(t), xe(o)],
1628
1628
  ([y, b]) => {
1629
1629
  if (s(), !y)
@@ -1899,7 +1899,7 @@ function Nr(e = {}) {
1899
1899
  function V($) {
1900
1900
  e.onChanged ? e.onChanged($, w) : w($);
1901
1901
  }
1902
- se(B, V, { flush: "post", immediate: !0 }), Sr(() => V(B.value));
1902
+ ne(B, V, { flush: "post", immediate: !0 }), Sr(() => V(B.value));
1903
1903
  const T = C({
1904
1904
  get() {
1905
1905
  return d ? S.value : B.value;
@@ -1940,7 +1940,7 @@ function Ne(e, t = {}) {
1940
1940
  !r && o.value ? (i = n.value) == null || i.blur() : r && !o.value && ((d = n.value) == null || d.focus());
1941
1941
  }
1942
1942
  });
1943
- return se(
1943
+ return ne(
1944
1944
  n,
1945
1945
  () => {
1946
1946
  s.value = l;
@@ -2002,7 +2002,7 @@ function $l(e, t = {}) {
2002
2002
  } = t, { x: o, y: n, sourceType: s } = Lr(t), r = M(e ?? (a == null ? void 0 : a.document.body)), i = M(0), d = M(0), y = M(0), b = M(0), c = M(0), h = M(0), S = M(!0);
2003
2003
  let B = () => {
2004
2004
  };
2005
- return a && (B = se(
2005
+ return a && (B = ne(
2006
2006
  [r, o, n],
2007
2007
  () => {
2008
2008
  const F = tt(r);
@@ -2051,7 +2051,7 @@ function Ir(e) {
2051
2051
  function zr(e, t = !1) {
2052
2052
  const l = M(t);
2053
2053
  let a = null, o;
2054
- se(xo(e), (r) => {
2054
+ ne(xo(e), (r) => {
2055
2055
  const i = ba(xe(r));
2056
2056
  if (i) {
2057
2057
  const d = i;
@@ -2157,12 +2157,12 @@ function Se(e, t, l, a = {}) {
2157
2157
  if (i) {
2158
2158
  const T = w(), $ = M(T);
2159
2159
  let m = !1;
2160
- return se(
2160
+ return ne(
2161
2161
  () => e[t],
2162
2162
  (k) => {
2163
2163
  m || (m = !0, $.value = F(k), Te(() => m = !1));
2164
2164
  }
2165
- ), se(
2165
+ ), ne(
2166
2166
  $,
2167
2167
  (k) => {
2168
2168
  !m && (k !== e[t] || y) && V(k);
@@ -2274,7 +2274,7 @@ const qo = zo(() => {
2274
2274
  };
2275
2275
  Ot(() => {
2276
2276
  s.value > r.value && (s.value = r.value), s.value === r.value && d();
2277
- }), se([o, a], () => {
2277
+ }), ne([o, a], () => {
2278
2278
  h(), c();
2279
2279
  });
2280
2280
  const S = () => {
@@ -2386,7 +2386,7 @@ const qo = zo(() => {
2386
2386
  }, z = () => {
2387
2387
  i.value || ($.value = !1);
2388
2388
  };
2389
- return se(n, (O) => {
2389
+ return ne(n, (O) => {
2390
2390
  l.value && (l.value.value = a && o ? a : O, a = null, o = !0);
2391
2391
  }), {
2392
2392
  input: l,
@@ -2445,14 +2445,14 @@ const qo = zo(() => {
2445
2445
  });
2446
2446
  return yt(() => {
2447
2447
  i("body", "class", "");
2448
- }), se(l, (d) => {
2448
+ }), ne(l, (d) => {
2449
2449
  i("body", "class", d > 0 ? Ba : "");
2450
2450
  }), { registry: e, stack: t, last: a, count: l, push: o, pop: n, remove: s, find: r };
2451
2451
  }), Mr = (e) => {
2452
2452
  const { registry: t, push: l, remove: a } = el(), o = Ft();
2453
2453
  if (!o || o.type.__name !== "BModal")
2454
2454
  throw new Error("useModalManager must only use in BModal component");
2455
- t.value.push(o), se(
2455
+ t.value.push(o), ne(
2456
2456
  e,
2457
2457
  (n, s) => {
2458
2458
  n ? l(o) : s && !n && a(o);
@@ -2497,7 +2497,7 @@ const qo = zo(() => {
2497
2497
  document.body,
2498
2498
  l.value && o.value
2499
2499
  );
2500
- se([l, o], ([s, r]) => {
2500
+ ne([l, o], ([s, r]) => {
2501
2501
  n.value = s && r;
2502
2502
  });
2503
2503
  });
@@ -2603,7 +2603,7 @@ const qo = zo(() => {
2603
2603
  const a = e, o = u(() => a.modelValue), n = M(o.value), s = M(o.value);
2604
2604
  Ot(() => {
2605
2605
  l("update:modelValue", n.value);
2606
- }), se(o, () => {
2606
+ }), ne(o, () => {
2607
2607
  o.value !== n.value && (o.value ? le() : N(new Event("update:modelValue")));
2608
2608
  });
2609
2609
  const r = ke(() => a.id, "popover"), i = u(() => a.click), d = u(() => a.manual), y = u(() => a.noShift), b = u(() => a.noFlip), c = u(() => a.noFade), h = u(() => a.noAutoClose), S = u(() => a.hide), B = u(() => a.realtime), F = u(() => a.inline), w = u(() => a.tooltip), V = u(() => a.noninteractive), T = u(() => a.html), $ = M(!1), m = M(null), k = M(null), f = M(null), _ = M(null), L = M(null), v = C(
@@ -2613,12 +2613,12 @@ const qo = zo(() => {
2613
2613
  ), z = P(() => a.placement.startsWith("auto")), O = Be(P(() => a.offset ?? NaN)), q = C(() => {
2614
2614
  if (a.floatingMiddleware !== void 0)
2615
2615
  return a.floatingMiddleware;
2616
- const Q = a.offset !== null ? O.value : w.value ? 0 : 10, ne = [ko(Q)];
2617
- return b.value === !1 && !z.value && ne.push(wo()), z.value && ne.push(
2616
+ const Q = a.offset !== null ? O.value : w.value ? 0 : 10, se = [ko(Q)];
2617
+ return b.value === !1 && !z.value && se.push(wo()), z.value && se.push(
2618
2618
  Is({
2619
2619
  alignment: a.placement.split("-")[1] || void 0
2620
2620
  })
2621
- ), y.value === !1 && ne.push($o()), S.value === !0 && ne.push(zs({ padding: 10 })), F.value === !0 && ne.push(Rs()), ne.push(nr({ element: f, padding: 10 })), ne;
2621
+ ), y.value === !1 && se.push($o()), S.value === !0 && se.push(zs({ padding: 10 })), F.value === !0 && se.push(Rs()), se.push(nr({ element: f, padding: 10 })), se;
2622
2622
  }), Y = P(
2623
2623
  () => z.value ? void 0 : a.placement
2624
2624
  ), { floatingStyles: U, middlewareData: ue, placement: ee, update: pe } = Lo(k, m, {
@@ -2627,14 +2627,14 @@ const qo = zo(() => {
2627
2627
  strategy: He(P(a, "strategy")),
2628
2628
  whileElementsMounted: (...Q) => No(...Q, { animationFrame: B.value })
2629
2629
  }), te = M({ position: "absolute" });
2630
- se(ue, () => {
2630
+ ne(ue, () => {
2631
2631
  var Q;
2632
2632
  if (S.value === !0 && ((Q = ue.value.hide) != null && Q.referenceHidden ? $.value = !0 : $.value = !1), ue.value.arrow) {
2633
- const { x: ne, y: Ae } = ue.value.arrow;
2633
+ const { x: se, y: Ae } = ue.value.arrow;
2634
2634
  te.value = {
2635
2635
  position: "absolute",
2636
2636
  top: Ae ? `${Ae}px` : "",
2637
- left: ne ? `${ne}px` : ""
2637
+ left: se ? `${se}px` : ""
2638
2638
  };
2639
2639
  }
2640
2640
  });
@@ -2654,14 +2654,14 @@ const qo = zo(() => {
2654
2654
  }
2655
2655
  ];
2656
2656
  }), { isOutside: me } = $l(m), { isOutside: G } = $l(_), W = (Q) => {
2657
- const ne = Q ?? new Event("click");
2658
- n.value ? N(ne) : le();
2659
- }, de = (Q, ne = {}) => new Et(Q, {
2657
+ const se = Q ?? new Event("click");
2658
+ n.value ? N(se) : le();
2659
+ }, de = (Q, se = {}) => new Et(Q, {
2660
2660
  cancelable: !1,
2661
2661
  target: m.value || null,
2662
2662
  relatedTarget: null,
2663
2663
  trigger: null,
2664
- ...ne,
2664
+ ...se,
2665
2665
  componentId: r.value
2666
2666
  });
2667
2667
  let ge;
@@ -2672,20 +2672,20 @@ const qo = zo(() => {
2672
2672
  return;
2673
2673
  }
2674
2674
  s.value = !0, Te(() => {
2675
- var ne;
2675
+ var se;
2676
2676
  pe(), ge = setTimeout(
2677
2677
  () => {
2678
2678
  pe(), n.value = !0, Te(() => {
2679
2679
  l("shown", de("shown"));
2680
2680
  });
2681
2681
  },
2682
- typeof a.delay == "number" ? a.delay : ((ne = a.delay) == null ? void 0 : ne.show) || 0
2682
+ typeof a.delay == "number" ? a.delay : ((se = a.delay) == null ? void 0 : se.show) || 0
2683
2683
  );
2684
2684
  });
2685
2685
  }, N = (Q) => {
2686
2686
  var rt;
2687
- const ne = de("hide", { cancelable: !0 });
2688
- if (l("hide", ne), ne.defaultPrevented) {
2687
+ const se = de("hide", { cancelable: !0 });
2688
+ if (l("hide", se), se.defaultPrevented) {
2689
2689
  l("hide-prevented");
2690
2690
  return;
2691
2691
  }
@@ -2714,24 +2714,24 @@ const qo = zo(() => {
2714
2714
  toggle: W
2715
2715
  });
2716
2716
  const j = (Q) => {
2717
- const ne = g(Q);
2718
- if (ne) {
2719
- if (typeof ne == "string") {
2720
- const Ae = document.getElementById(ne);
2717
+ const se = g(Q);
2718
+ if (se) {
2719
+ if (typeof se == "string") {
2720
+ const Ae = document.getElementById(se);
2721
2721
  return Ae || void 0;
2722
2722
  }
2723
- return ne.$el ? ne.$el : ne;
2723
+ return se.$el ? se.$el : se;
2724
2724
  }
2725
2725
  }, X = () => {
2726
2726
  var Q;
2727
2727
  if (a.target) {
2728
- const ne = j(a.target);
2729
- ne ? _.value = ne : console.warn("Target element not found", a.target);
2728
+ const se = j(a.target);
2729
+ se ? _.value = se : console.warn("Target element not found", a.target);
2730
2730
  } else
2731
2731
  _.value = (Q = L.value) == null ? void 0 : Q.nextElementSibling;
2732
2732
  if (a.reference) {
2733
- const ne = j(a.reference);
2734
- ne ? k.value = ne : console.warn("Reference element not found", a.reference);
2733
+ const se = j(a.reference);
2734
+ se ? k.value = se : console.warn("Reference element not found", a.reference);
2735
2735
  } else
2736
2736
  k.value = _.value;
2737
2737
  !_.value || d.value || xa && (i.value && _.value.addEventListener("click", W), !i.value && _.value.addEventListener("pointerenter", le), !i.value && _.value.addEventListener("pointerleave", N), !i.value && _.value.addEventListener("focus", le), !i.value && _.value.addEventListener("blur", N));
@@ -2744,9 +2744,9 @@ const qo = zo(() => {
2744
2744
  n.value && i.value && !h.value && !d.value && N(new Event("clickOutside"));
2745
2745
  },
2746
2746
  { ignore: [_] }
2747
- ), se([() => a.click, () => a.target, () => a.reference], () => {
2747
+ ), ne([() => a.click, () => a.target, () => a.reference], () => {
2748
2748
  ce(), X();
2749
- }), Ye(X), Ia(ce), (Q, ne) => (p(), E(fe, null, [
2749
+ }), Ye(X), Ia(ce), (Q, se) => (p(), E(fe, null, [
2750
2750
  Z("span", {
2751
2751
  ref_key: "placeholder",
2752
2752
  ref: L
@@ -2960,7 +2960,7 @@ const qo = zo(() => {
2960
2960
  }, wa(c.value)));
2961
2961
  }));
2962
2962
  };
2963
- return se([n, S], () => {
2963
+ return ne([n, S], () => {
2964
2964
  if (s.value === !0) {
2965
2965
  if (S.value)
2966
2966
  return;
@@ -2972,7 +2972,7 @@ const qo = zo(() => {
2972
2972
  c.value !== null && !s.value && r.value && Te(() => {
2973
2973
  n.value = !0;
2974
2974
  });
2975
- }), y.value && (n.value = !0, S.value = !0), se(y, (m) => {
2975
+ }), y.value && (n.value = !0, S.value = !0), ne(y, (m) => {
2976
2976
  m ? w() : F();
2977
2977
  }), we(c, "bv-toggle", () => {
2978
2978
  n.value = !s.value;
@@ -3042,10 +3042,10 @@ const qo = zo(() => {
3042
3042
  const l = e, a = Se(l, "modelValue", t, { passive: !0 }), o = Pe(mo, null), n = ke(() => l.id, "accordion_item");
3043
3043
  return Ye(() => {
3044
3044
  a.value && !(o != null && o.free.value) && (o == null || o.setOpenItem(n.value)), !a.value && (o == null ? void 0 : o.openItem.value) === n.value && (a.value = !0);
3045
- }), se(
3045
+ }), ne(
3046
3046
  () => o == null ? void 0 : o.openItem.value,
3047
3047
  () => a.value = (o == null ? void 0 : o.openItem.value) === n.value && !(o != null && o.free.value)
3048
- ), se(a, () => {
3048
+ ), ne(a, () => {
3049
3049
  a.value && !(o != null && o.free.value) && (o == null || o.setOpenItem(n.value));
3050
3050
  }), (s, r) => (p(), E("div", ai, [
3051
3051
  be(an, ae({
@@ -3435,7 +3435,7 @@ const si = ["type", "disabled", "aria-label"], Pt = /* @__PURE__ */ R({
3435
3435
  }, z = () => {
3436
3436
  c.value || T();
3437
3437
  };
3438
- return se(r, (O) => {
3438
+ return ne(r, (O) => {
3439
3439
  if (O) {
3440
3440
  z();
3441
3441
  return;
@@ -4422,12 +4422,12 @@ const ma = (e, t) => {
4422
4422
  te(pe);
4423
4423
  },
4424
4424
  { target: m }
4425
- ), se(
4425
+ ), ne(
4426
4426
  () => a.ride,
4427
4427
  () => {
4428
4428
  V.value = !1;
4429
4429
  }
4430
- ), se(f, (le) => {
4430
+ ), ne(f, (le) => {
4431
4431
  if (le) {
4432
4432
  ie();
4433
4433
  return;
@@ -4794,7 +4794,7 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
4794
4794
  }
4795
4795
  n.value = !W, l(W ? "hidden" : "shown");
4796
4796
  };
4797
- return se(s, q), t({
4797
+ return ne(s, q), t({
4798
4798
  close: ie,
4799
4799
  open: me,
4800
4800
  toggle: G
@@ -5259,7 +5259,7 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
5259
5259
  });
5260
5260
  }
5261
5261
  });
5262
- se(n, (O) => {
5262
+ ne(n, (O) => {
5263
5263
  if (m) {
5264
5264
  m = !1;
5265
5265
  return;
@@ -5487,7 +5487,7 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
5487
5487
  }, f = () => {
5488
5488
  n.value = null;
5489
5489
  };
5490
- return se(n, (_) => {
5490
+ return ne(n, (_) => {
5491
5491
  _ === null && B.value !== null && (B.value.value = "");
5492
5492
  }), t({
5493
5493
  element: B,
@@ -5587,7 +5587,7 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
5587
5587
  ), V = ht(o), T = C(
5588
5588
  () => da(t.ariaInvalid, o.value)
5589
5589
  );
5590
- return se(
5590
+ return ne(
5591
5591
  () => i,
5592
5592
  (m, k) => {
5593
5593
  m !== k && h(m, k);
@@ -5849,7 +5849,7 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
5849
5849
  }), B !== null && B.set(a.value);
5850
5850
  }
5851
5851
  });
5852
- se(n, (v) => {
5852
+ ne(n, (v) => {
5853
5853
  B === null || v === !1 || B.set(a.value);
5854
5854
  });
5855
5855
  const $ = C(
@@ -6335,8 +6335,8 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
6335
6335
  const X = ye(de, {
6336
6336
  props: { scale: a.value ? 1.5 : 1.25 },
6337
6337
  attrs: { "aria-hidden": !0 }
6338
- }), ce = { hasFocus: a.value }, Q = (ne) => {
6339
- !e.disabled && !e.readonly && (Wt(ne, { propagation: !1 }), te(!0), ue(ne, G));
6338
+ }), ce = { hasFocus: a.value }, Q = (se) => {
6339
+ !e.disabled && !e.readonly && (Wt(se, { propagation: !1 }), te(!0), ue(se, G));
6340
6340
  };
6341
6341
  return ye(
6342
6342
  "button",
@@ -6619,7 +6619,7 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
6619
6619
  tagVariant: a.tagVariant,
6620
6620
  tags: m.value
6621
6621
  }));
6622
- se(o, (N) => {
6622
+ ne(o, (N) => {
6623
6623
  m.value = N;
6624
6624
  });
6625
6625
  const ee = (N) => {
@@ -7263,7 +7263,7 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
7263
7263
  {
7264
7264
  [`border-${a.footerBorderVariant}`]: a.footerBorderVariant !== null
7265
7265
  }
7266
- ]), ne = C(() => [
7266
+ ]), se = C(() => [
7267
7267
  a.titleClass,
7268
7268
  {
7269
7269
  "visually-hidden": f.value
@@ -7349,7 +7349,7 @@ const Lt = /* @__PURE__ */ ma(Mi, [["render", Di]]), ji = /* @__PURE__ */ R({
7349
7349
  A(ve.$slots, "header", _e(Ee(Bt)), () => [
7350
7350
  (p(), x(oe(ve.titleTag), {
7351
7351
  id: `${g(n)}-label`,
7352
- class: H(["modal-title", ne.value])
7352
+ class: H(["modal-title", se.value])
7353
7353
  }, {
7354
7354
  default: D(() => [
7355
7355
  A(ve.$slots, "title", _e(Ee(Bt)), () => [
@@ -8195,10 +8195,10 @@ const $d = /* @__PURE__ */ ma(kd, [["__scopeId", "data-v-079b865c"]]), _d = /* @
8195
8195
  });
8196
8196
  t("page-click", L, f), !L.defaultPrevented && (a.value = f);
8197
8197
  }, T = P(() => e.size ? `pagination-${e.size}` : ""), $ = P(() => d.value ? "b-pagination-pills" : "");
8198
- se(a, (k) => {
8198
+ ne(a, (k) => {
8199
8199
  const f = ac(k, c.value);
8200
8200
  f !== a.value && (a.value = f);
8201
- }), se(w, (k, f) => {
8201
+ }), ne(w, (k, f) => {
8202
8202
  k != null && (f.pageSize !== k.pageSize && f.totalRows === k.totalRows || f.numberOfPages !== k.numberOfPages && a.value > f.numberOfPages) && (a.value = 1);
8203
8203
  });
8204
8204
  const m = C(() => {
@@ -9117,7 +9117,10 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9117
9117
  m,
9118
9118
  o
9119
9119
  );
9120
- z.value = async (N) => {
9120
+ ne(
9121
+ () => a.items,
9122
+ (N) => I(N)
9123
+ ), z.value = async (N) => {
9121
9124
  if (m.value) {
9122
9125
  await ue();
9123
9126
  return;
@@ -9192,15 +9195,15 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9192
9195
  }, me = (N, j, X = !1, ce = !1, Q = !1) => {
9193
9196
  if (B.value) {
9194
9197
  if (X && a.selectMode === "range" && V.value.size > 0) {
9195
- const ne = Array.from(V.value).pop(), Ae = a.items.findIndex((Ce) => Ce === ne), rt = Math.min(Ae, j), De = Math.max(Ae, j);
9198
+ const se = Array.from(V.value).pop(), Ae = a.items.findIndex((Ce) => Ce === se), rt = Math.min(Ae, j), De = Math.max(Ae, j);
9196
9199
  a.items.slice(rt, De + 1).forEach((Ce) => {
9197
9200
  V.value.has(Ce) || (V.value.add(Ce), l("row-selected", Ce));
9198
9201
  });
9199
9202
  } else
9200
- ce || Q ? V.value.has(N) ? (V.value.delete(N), l("row-unselected", N)) : a.selectMode === "range" || a.selectMode === "multi" ? (V.value.add(N), l("row-selected", N)) : (V.value.forEach((ne) => {
9201
- l("row-unselected", ne);
9202
- }), V.value.clear(), V.value.add(N), l("row-selected", N)) : (V.value.forEach((ne) => {
9203
- l("row-unselected", ne);
9203
+ ce || Q ? V.value.has(N) ? (V.value.delete(N), l("row-unselected", N)) : a.selectMode === "range" || a.selectMode === "multi" ? (V.value.add(N), l("row-selected", N)) : (V.value.forEach((se) => {
9204
+ l("row-unselected", se);
9205
+ }), V.value.clear(), V.value.add(N), l("row-selected", N)) : (V.value.forEach((se) => {
9206
+ l("row-unselected", se);
9204
9207
  }), V.value.clear(), V.value.add(N), l("row-selected", N));
9205
9208
  ie();
9206
9209
  }
@@ -9228,27 +9231,27 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9228
9231
  }, le = async (N, j, X) => {
9229
9232
  if (j === X)
9230
9233
  return;
9231
- const ce = (De) => a.noProvider && a.noProvider.includes(De), Q = !["currentPage", "perPage"].includes(N), ne = ["currentPage", "perPage"].includes(N) && (ce("paging") || c.value === !0), Ae = ["filter"].includes(N) && (ce("filtering") || S.value === !0), rt = ["sortBy", "sortDesc"].includes(N) && (ce("sorting") || h.value === !0);
9232
- ne || Ae || rt || (await ue(), Q && O());
9234
+ const ce = (De) => a.noProvider && a.noProvider.includes(De), Q = !["currentPage", "perPage"].includes(N), se = ["currentPage", "perPage"].includes(N) && (ce("paging") || c.value === !0), Ae = ["filter"].includes(N) && (ce("filtering") || S.value === !0), rt = ["sortBy", "sortDesc"].includes(N) && (ce("sorting") || h.value === !0);
9235
+ se || Ae || rt || (await ue(), Q && O());
9233
9236
  };
9234
- return se(
9237
+ return ne(
9235
9238
  () => a.filter,
9236
9239
  (N, j) => {
9237
9240
  N === j || m.value || N || l("filtered", L.value);
9238
9241
  }
9239
- ), se(
9242
+ ), ne(
9240
9243
  () => a.filter,
9241
9244
  (N, j) => le("filter", N, j)
9242
- ), se(
9245
+ ), ne(
9243
9246
  () => a.currentPage,
9244
9247
  (N, j) => le("currentPage", N, j)
9245
- ), se(
9248
+ ), ne(
9246
9249
  () => a.perPage,
9247
9250
  (N, j) => le("perPage", N, j)
9248
- ), se(
9251
+ ), ne(
9249
9252
  () => a.sortBy,
9250
9253
  (N, j) => le("sortBy", N, j)
9251
- ), se(
9254
+ ), ne(
9252
9255
  () => a.sortDesc,
9253
9256
  (N, j) => le("sortDesc", N, j)
9254
9257
  ), Ye(ue), t({
@@ -9478,7 +9481,7 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9478
9481
  const h = r.value && i.value && s.value;
9479
9482
  return d.value || !r.value || h;
9480
9483
  }), b = M(a.value);
9481
- se(a, (h) => {
9484
+ ne(a, (h) => {
9482
9485
  setTimeout(() => {
9483
9486
  b.value = h;
9484
9487
  }, 0);
@@ -9488,7 +9491,7 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9488
9491
  show: b.value,
9489
9492
  "card-body": (l == null ? void 0 : l.card.value) && t.noBody === !1
9490
9493
  }));
9491
- return se(y, (h) => {
9494
+ return ne(y, (h) => {
9492
9495
  h && !s.value && (s.value = !0);
9493
9496
  }), (h, S) => (p(), x(oe(h.tag), {
9494
9497
  id: h.id,
@@ -9533,7 +9536,7 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9533
9536
  B.value = v, T.value.length > 0 && v >= 0 && v < T.value.length ? F.value = T.value[v].buttonId : F.value = "", a.value = v;
9534
9537
  }
9535
9538
  }), V = M([]);
9536
- se(
9539
+ ne(
9537
9540
  () => {
9538
9541
  var v;
9539
9542
  return (v = o.default) == null ? void 0 : v.call(o);
@@ -9605,7 +9608,7 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9605
9608
  var z;
9606
9609
  _(I), I >= 0 && !T.value[I].disabled && ((z = T.value[I]) != null && z.onClick) && typeof T.value[I].onClick == "function" && T.value[I].onClick(v);
9607
9610
  };
9608
- return _(B.value), se(a, (v, I) => {
9611
+ return _(B.value), ne(a, (v, I) => {
9609
9612
  if (v === I)
9610
9613
  return;
9611
9614
  if (v = Math.max(v, -1), I = Math.max(I, -1), T.value.length <= 0) {
@@ -9626,7 +9629,7 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9626
9629
  return;
9627
9630
  }
9628
9631
  _(O);
9629
- }), se(T, () => {
9632
+ }), ne(T, () => {
9630
9633
  let v = T.value.map((I) => I.active && !I.disabled).lastIndexOf(!0);
9631
9634
  v < 0 && (w.value >= T.value.length ? v = T.value.map((I) => !I.disabled).lastIndexOf(!0) : T.value[w.value] && !T.value[w.value].disabled && (v = w.value)), v < 0 && (v = T.value.map((I) => !I.disabled).indexOf(!0)), T.value.forEach((I, z) => {
9632
9635
  I.active = z === v;
@@ -9787,7 +9790,7 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9787
9790
  const _ = P(() => r.value ? Qe : "div"), L = P(
9788
9791
  () => typeof s.value == "boolean" ? s.value : w.value || h.value && k.value
9789
9792
  );
9790
- se(w, (O) => {
9793
+ ne(w, (O) => {
9791
9794
  O === !1 && k.value === !1 && l("destroyed");
9792
9795
  });
9793
9796
  const v = C(() => [
@@ -9800,7 +9803,7 @@ const dc = /* @__PURE__ */ ma(ic, [["render", uc]]), cc = ["TD", "TH", "TR"], fc
9800
9803
  }, z = () => {
9801
9804
  c.value || V();
9802
9805
  };
9803
- return se(n, (O) => {
9806
+ return ne(n, (O) => {
9804
9807
  if (O) {
9805
9808
  z();
9806
9809
  return;