@c3labsbr/vuetify-elements 1.8.4 → 1.10.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.
@@ -1279,8 +1279,8 @@ function pl(e, t) {
1279
1279
  return e.multiple ? v : v[0];
1280
1280
  }), o = Ie("useGroup");
1281
1281
  function i(f, v) {
1282
- const g = f, m = Symbol.for(`${t.description}:id`), S = Sn(m, o?.vnode).indexOf(v);
1283
- fe(g.value) === void 0 && (g.value = S, g.useIndexAsValue = !0), S > -1 ? a.splice(S, 0, g) : a.push(g);
1282
+ const g = f, m = Symbol.for(`${t.description}:id`), p = Sn(m, o?.vnode).indexOf(v);
1283
+ fe(g.value) === void 0 && (g.value = p, g.useIndexAsValue = !0), p > -1 ? a.splice(p, 0, g) : a.push(g);
1284
1284
  }
1285
1285
  function r(f) {
1286
1286
  if (n) return;
@@ -1304,8 +1304,8 @@ function pl(e, t) {
1304
1304
  const g = a.find((m) => m.id === f);
1305
1305
  if (!(v && g?.disabled))
1306
1306
  if (e.multiple) {
1307
- const m = l.value.slice(), h = m.findIndex((b) => b === f), S = ~h;
1308
- if (v = v ?? !S, S && e.mandatory && m.length <= 1 || !S && e.max != null && m.length + 1 > e.max) return;
1307
+ const m = l.value.slice(), h = m.findIndex((b) => b === f), p = ~h;
1308
+ if (v = v ?? !p, p && e.mandatory && m.length <= 1 || !p && e.max != null && m.length + 1 > e.max) return;
1309
1309
  h < 0 && v ? m.push(f) : h >= 0 && !v && m.splice(h, 1), l.value = m;
1310
1310
  } else {
1311
1311
  const m = l.value.includes(f);
@@ -1315,7 +1315,7 @@ function pl(e, t) {
1315
1315
  }
1316
1316
  function u(f) {
1317
1317
  if (e.multiple && It('This method is not supported when using "multiple" prop'), l.value.length) {
1318
- const v = l.value[0], g = a.findIndex((S) => S.id === v);
1318
+ const v = l.value[0], g = a.findIndex((p) => p.id === v);
1319
1319
  let m = (g + f) % a.length, h = a[m];
1320
1320
  for (; h.disabled && m !== g; )
1321
1321
  m = (m + f) % a.length, h = a[m];
@@ -1694,9 +1694,9 @@ const Fu = F({
1694
1694
  } = ci(), {
1695
1695
  resizeRef: m,
1696
1696
  contentRect: h
1697
- } = qt(), S = V(() => Ue(parseFloat(e.modelValue), 0, 100)), b = V(() => Number(e.width)), p = V(() => s.value ? Number(e.size) : h.value ? h.value.width : Math.max(b.value, 32)), k = V(() => a / (1 - b.value / p.value) * 2), P = V(() => b.value / p.value * k.value), A = V(() => {
1698
- const C = (100 - S.value) / 100 * l;
1699
- return e.rounded && S.value > 0 && S.value < 100 ? U(Math.min(l - 0.01, C + P.value)) : U(C);
1697
+ } = qt(), p = V(() => Ue(parseFloat(e.modelValue), 0, 100)), b = V(() => Number(e.width)), S = V(() => s.value ? Number(e.size) : h.value ? h.value.width : Math.max(b.value, 32)), k = V(() => a / (1 - b.value / S.value) * 2), P = V(() => b.value / S.value * k.value), A = V(() => {
1698
+ const C = (100 - p.value) / 100 * l;
1699
+ return e.rounded && p.value > 0 && p.value < 100 ? U(Math.min(l - 0.01, C + P.value)) : U(C);
1700
1700
  }), T = x(() => {
1701
1701
  const C = Number(e.rotate);
1702
1702
  return e.rounded ? C + P.value / 2 / l * 360 : C;
@@ -1714,7 +1714,7 @@ const Fu = F({
1714
1714
  role: "progressbar",
1715
1715
  "aria-valuemin": "0",
1716
1716
  "aria-valuemax": "100",
1717
- "aria-valuenow": e.indeterminate ? void 0 : S.value
1717
+ "aria-valuenow": e.indeterminate ? void 0 : p.value
1718
1718
  }, {
1719
1719
  default: () => [w("svg", {
1720
1720
  style: {
@@ -1745,7 +1745,7 @@ const Fu = F({
1745
1745
  }, null)]), n.default && w("div", {
1746
1746
  class: "v-progress-circular__content"
1747
1747
  }, [n.default({
1748
- value: S.value
1748
+ value: p.value
1749
1749
  })])]
1750
1750
  })), {};
1751
1751
  }
@@ -1937,10 +1937,10 @@ const Nu = F({
1937
1937
  backgroundColorClasses: m,
1938
1938
  backgroundColorStyles: h
1939
1939
  } = bt(() => e.color), {
1940
- roundedClasses: S
1940
+ roundedClasses: p
1941
1941
  } = mt(e), {
1942
1942
  intersectionRef: b,
1943
- isIntersecting: p
1943
+ isIntersecting: S
1944
1944
  } = ci(), k = x(() => parseFloat(e.max)), P = x(() => parseFloat(e.height)), A = x(() => Ue(parseFloat(e.bufferValue) / k.value * 100, 0, 100)), T = x(() => Ue(parseFloat(l.value) / k.value * 100, 0, 100)), C = x(() => o.value !== e.reverse), E = x(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), I = Q(0), {
1945
1945
  hasChunks: N,
1946
1946
  chunksMaskStyles: $,
@@ -1968,13 +1968,13 @@ const Nu = F({
1968
1968
  ref: a,
1969
1969
  class: X(["v-progress-linear", {
1970
1970
  "v-progress-linear--absolute": e.absolute,
1971
- "v-progress-linear--active": e.active && p.value,
1971
+ "v-progress-linear--active": e.active && S.value,
1972
1972
  "v-progress-linear--reverse": C.value,
1973
1973
  "v-progress-linear--rounded": e.rounded,
1974
1974
  "v-progress-linear--rounded-bar": e.roundedBar,
1975
1975
  "v-progress-linear--striped": e.striped,
1976
1976
  "v-progress-linear--clickable": e.clickable
1977
- }, S.value, r.value, i.value, e.class]),
1977
+ }, p.value, r.value, i.value, e.class]),
1978
1978
  style: ue([{
1979
1979
  bottom: e.location === "bottom" ? 0 : void 0,
1980
1980
  top: e.location === "top" ? 0 : void 0,
@@ -2393,14 +2393,14 @@ const wt = {
2393
2393
  } = mt(e), {
2394
2394
  sizeClasses: v,
2395
2395
  sizeStyles: g
2396
- } = Ln(e), m = ja(e, e.symbol, !1), h = ca(e, n), S = x(() => e.active !== void 0 ? e.active : h.isRouterLink.value ? h.isActive?.value : m?.isSelected.value), b = V(() => S.value ? e.activeColor ?? e.color : e.color), p = x(() => ({
2396
+ } = Ln(e), m = ja(e, e.symbol, !1), h = ca(e, n), p = x(() => e.active !== void 0 ? e.active : h.isRouterLink.value ? h.isActive?.value : m?.isSelected.value), b = V(() => p.value ? e.activeColor ?? e.color : e.color), S = x(() => ({
2397
2397
  color: m?.isSelected.value && (!h.isLink.value || h.isActive?.value) || !m || h.isActive?.value ? b.value ?? e.baseColor : e.baseColor,
2398
2398
  variant: e.variant
2399
2399
  })), {
2400
2400
  colorClasses: k,
2401
2401
  colorStyles: P,
2402
2402
  variantClasses: A
2403
- } = Nn(p), T = x(() => m?.disabled.value || e.disabled), C = V(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), E = x(() => {
2403
+ } = Nn(S), T = x(() => m?.disabled.value || e.disabled), C = V(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), E = x(() => {
2404
2404
  if (!(e.value === void 0 || typeof e.value == "symbol"))
2405
2405
  return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
2406
2406
  });
@@ -2412,7 +2412,7 @@ const wt = {
2412
2412
  return He(y(N, W(h.linkProps, {
2413
2413
  type: N === "a" ? void 0 : "button",
2414
2414
  class: ["v-btn", m?.selectedClass.value, {
2415
- "v-btn--active": S.value,
2415
+ "v-btn--active": p.value,
2416
2416
  "v-btn--block": e.block,
2417
2417
  "v-btn--disabled": T.value,
2418
2418
  "v-btn--elevated": C.value,
@@ -2596,23 +2596,23 @@ function Ju(e, t, n) {
2596
2596
  preferredAnchor: l,
2597
2597
  preferredOrigin: o
2598
2598
  } = dl(() => {
2599
- const S = _a(t.location, e.isRtl.value), b = t.origin === "overlap" ? S : t.origin === "auto" ? Va(S) : _a(t.origin, e.isRtl.value);
2600
- return S.side === b.side && S.align === Ia(b).align ? {
2601
- preferredAnchor: ql(S),
2599
+ const p = _a(t.location, e.isRtl.value), b = t.origin === "overlap" ? p : t.origin === "auto" ? Va(p) : _a(t.origin, e.isRtl.value);
2600
+ return p.side === b.side && p.align === Ia(b).align ? {
2601
+ preferredAnchor: ql(p),
2602
2602
  preferredOrigin: ql(b)
2603
2603
  } : {
2604
- preferredAnchor: S,
2604
+ preferredAnchor: p,
2605
2605
  preferredOrigin: b
2606
2606
  };
2607
- }), [i, r, s, c] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((S) => x(() => {
2608
- const b = parseFloat(t[S]);
2607
+ }), [i, r, s, c] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((p) => x(() => {
2608
+ const b = parseFloat(t[p]);
2609
2609
  return isNaN(b) ? 1 / 0 : b;
2610
2610
  })), u = x(() => {
2611
2611
  if (Array.isArray(t.offset))
2612
2612
  return t.offset;
2613
2613
  if (typeof t.offset == "string") {
2614
- const S = t.offset.split(" ").map(parseFloat);
2615
- return S.length < 2 && S.push(0), S;
2614
+ const p = t.offset.split(" ").map(parseFloat);
2615
+ return p.length < 2 && p.push(0), p;
2616
2616
  }
2617
2617
  return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
2618
2618
  });
@@ -2620,16 +2620,16 @@ function Ju(e, t, n) {
2620
2620
  const v = new zs(4), g = new ResizeObserver(() => {
2621
2621
  if (!d) return;
2622
2622
  if (requestAnimationFrame((b) => {
2623
- b !== f && v.clear(), requestAnimationFrame((p) => {
2624
- f = p;
2623
+ b !== f && v.clear(), requestAnimationFrame((S) => {
2624
+ f = S;
2625
2625
  });
2626
2626
  }), v.isFull) {
2627
2627
  const b = v.values();
2628
2628
  if (Ke(b.at(-1), b.at(-3)) && !Ke(b.at(-1), b.at(-2)))
2629
2629
  return;
2630
2630
  }
2631
- const S = h();
2632
- S && v.push(S.flipped);
2631
+ const p = h();
2632
+ p && v.push(p.flipped);
2633
2633
  });
2634
2634
  let m = new at({
2635
2635
  x: 0,
@@ -2637,12 +2637,12 @@ function Ju(e, t, n) {
2637
2637
  width: 0,
2638
2638
  height: 0
2639
2639
  });
2640
- Z(e.target, (S, b) => {
2641
- b && !Array.isArray(b) && g.unobserve(b), Array.isArray(S) ? Ke(S, b) || h() : S && g.observe(S);
2640
+ Z(e.target, (p, b) => {
2641
+ b && !Array.isArray(b) && g.unobserve(b), Array.isArray(p) ? Ke(p, b) || h() : p && g.observe(p);
2642
2642
  }, {
2643
2643
  immediate: !0
2644
- }), Z(e.contentEl, (S, b) => {
2645
- b && g.unobserve(b), S && g.observe(S);
2644
+ }), Z(e.contentEl, (p, b) => {
2645
+ b && g.unobserve(b), p && g.observe(p);
2646
2646
  }, {
2647
2647
  immediate: !0
2648
2648
  }), qe(() => {
@@ -2651,8 +2651,8 @@ function Ju(e, t, n) {
2651
2651
  function h() {
2652
2652
  if (d = !1, requestAnimationFrame(() => d = !0), !e.target.value || !e.contentEl.value) return;
2653
2653
  (Array.isArray(e.target.value) || e.target.value.offsetParent || e.target.value.getClientRects().length) && (m = ni(e.target.value));
2654
- const S = Qu(e.contentEl.value, e.isRtl.value), b = Qn(e.contentEl.value), p = Number(t.viewportMargin);
2655
- b.length || (b.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (S.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), S.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
2654
+ const p = Qu(e.contentEl.value, e.isRtl.value), b = Qn(e.contentEl.value), S = Number(t.viewportMargin);
2655
+ b.length || (b.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (p.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), p.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
2656
2656
  const k = b.reduce((_, R) => {
2657
2657
  const G = Ks(R);
2658
2658
  return _ ? new at({
@@ -2662,13 +2662,13 @@ function Ju(e, t, n) {
2662
2662
  height: Math.min(_.bottom, G.bottom) - Math.max(_.top, G.top)
2663
2663
  }) : G;
2664
2664
  }, void 0);
2665
- t.stickToTarget ? (k.x += Math.min(p, m.x), k.y += Math.min(p, m.y), k.width = Math.max(k.width - p * 2, m.x + m.width - p), k.height = Math.max(k.height - p * 2, m.y + m.height - p)) : (k.x += p, k.y += p, k.width -= p * 2, k.height -= p * 2);
2665
+ t.stickToTarget ? (k.x += Math.min(S, m.x), k.y += Math.min(S, m.y), k.width = Math.max(k.width - S * 2, m.x + m.width - S), k.height = Math.max(k.height - S * 2, m.y + m.height - S)) : (k.x += S, k.y += S, k.width -= S * 2, k.height -= S * 2);
2666
2666
  let P = {
2667
2667
  anchor: l.value,
2668
2668
  origin: o.value
2669
2669
  };
2670
2670
  function A(_) {
2671
- const R = new at(S), G = mo(_.anchor, m), Y = mo(_.origin, R);
2671
+ const R = new at(p), G = mo(_.anchor, m), Y = mo(_.origin, R);
2672
2672
  let {
2673
2673
  x: ee,
2674
2674
  y: ae
@@ -2726,7 +2726,7 @@ function Ju(e, t, n) {
2726
2726
  y: R,
2727
2727
  overflows: G
2728
2728
  } = A(P);
2729
- T += _, C += R, S.x += _, S.y += R;
2729
+ T += _, C += R, p.x += _, p.y += R;
2730
2730
  {
2731
2731
  const Y = Gl(P.anchor), ee = G.x.before || G.x.after, ae = G.y.before || G.y.after;
2732
2732
  let me = !1;
@@ -2748,10 +2748,10 @@ function Ju(e, t, n) {
2748
2748
  }
2749
2749
  }), me) continue;
2750
2750
  }
2751
- G.x.before && (T += G.x.before, S.x += G.x.before), G.x.after && (T -= G.x.after, S.x -= G.x.after), G.y.before && (C += G.y.before, S.y += G.y.before), G.y.after && (C -= G.y.after, S.y -= G.y.after);
2751
+ G.x.before && (T += G.x.before, p.x += G.x.before), G.x.after && (T -= G.x.after, p.x -= G.x.after), G.y.before && (C += G.y.before, p.y += G.y.before), G.y.after && (C -= G.y.after, p.y -= G.y.after);
2752
2752
  {
2753
- const Y = Ul(S, k);
2754
- E.x = k.width - Y.x.before - Y.x.after, E.y = k.height - Y.y.before - Y.y.after, T += Y.x.before, S.x += Y.x.before, C += Y.y.before, S.y += Y.y.before;
2753
+ const Y = Ul(p, k);
2754
+ E.x = k.width - Y.x.before - Y.x.after, E.y = k.height - Y.y.before - Y.y.after, T += Y.x.before, p.x += Y.x.before, C += Y.y.before, p.y += Y.y.before;
2755
2755
  }
2756
2756
  break;
2757
2757
  }
@@ -2768,18 +2768,18 @@ function Ju(e, t, n) {
2768
2768
  maxHeight: U(go(Ue(E.y, r.value === 1 / 0 ? 0 : r.value, c.value)))
2769
2769
  }), {
2770
2770
  available: E,
2771
- contentBox: S,
2771
+ contentBox: p,
2772
2772
  flipped: I
2773
2773
  };
2774
2774
  }
2775
2775
  return Z(() => [l.value, o.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => h()), Se(() => {
2776
- const S = h();
2777
- if (!S) return;
2776
+ const p = h();
2777
+ if (!p) return;
2778
2778
  const {
2779
2779
  available: b,
2780
- contentBox: p
2781
- } = S;
2782
- p.height > b.y && requestAnimationFrame(() => {
2780
+ contentBox: S
2781
+ } = p;
2782
+ S.height > b.y && requestAnimationFrame(() => {
2783
2783
  h(), requestAnimationFrame(() => {
2784
2784
  h();
2785
2785
  });
@@ -2964,7 +2964,7 @@ function rc(e, t) {
2964
2964
  }, h = x(() => {
2965
2965
  const C = {};
2966
2966
  return d.value && (C.onClick = m.onClick), e.openOnHover && (C.onMouseenter = m.onMouseenter, C.onMouseleave = m.onMouseleave), u.value && (C.onFocus = m.onFocus, C.onBlur = m.onBlur), C;
2967
- }), S = x(() => {
2967
+ }), p = x(() => {
2968
2968
  const C = {};
2969
2969
  if (e.openOnHover && (C.onMouseenter = () => {
2970
2970
  r = !0, f();
@@ -3000,10 +3000,10 @@ function rc(e, t) {
3000
3000
  }, {
3001
3001
  flush: "post"
3002
3002
  });
3003
- const p = Ma();
3003
+ const S = Ma();
3004
3004
  Je(() => {
3005
- p.value && Se(() => {
3006
- i.value = p.el;
3005
+ S.value && Se(() => {
3006
+ i.value = S.el;
3007
3007
  });
3008
3008
  });
3009
3009
  const k = Ma(), P = x(() => e.target === "cursor" && g.value ? g.value : k.value ? k.el : Ii(e.target, o) || i.value), A = x(() => Array.isArray(P.value) ? void 0 : P.value);
@@ -3022,12 +3022,12 @@ function rc(e, t) {
3022
3022
  T?.stop();
3023
3023
  }), {
3024
3024
  activatorEl: i,
3025
- activatorRef: p,
3025
+ activatorRef: S,
3026
3026
  target: P,
3027
3027
  targetEl: A,
3028
3028
  targetRef: k,
3029
3029
  activatorEvents: h,
3030
- contentEvents: S,
3030
+ contentEvents: p,
3031
3031
  scrimEvents: b
3032
3032
  };
3033
3033
  }
@@ -3426,9 +3426,9 @@ const ga = F({
3426
3426
  hasContent: g,
3427
3427
  onAfterLeave: m
3428
3428
  } = gc(e, u), h = bt(() => typeof e.scrim == "string" ? e.scrim : null), {
3429
- globalTop: S,
3429
+ globalTop: p,
3430
3430
  localTop: b,
3431
- stackStyles: p
3431
+ stackStyles: S
3432
3432
  } = yc(u, () => e.zIndex, e._disableGlobalStack), {
3433
3433
  activatorEl: k,
3434
3434
  activatorRef: P,
@@ -3493,15 +3493,15 @@ const ga = F({
3493
3493
  Ee && window.removeEventListener("keydown", M);
3494
3494
  });
3495
3495
  function M(z) {
3496
- z.key === "Escape" && S.value && (s.value?.contains(document.activeElement) || l("keydown", z), e.persistent ? B() : (u.value = !1, s.value?.contains(document.activeElement) && k.value?.focus()));
3496
+ z.key === "Escape" && p.value && (s.value?.contains(document.activeElement) || l("keydown", z), e.persistent ? B() : (u.value = !1, s.value?.contains(document.activeElement) && k.value?.focus()));
3497
3497
  }
3498
3498
  function J(z) {
3499
- z.key === "Escape" && !S.value || l("keydown", z);
3499
+ z.key === "Escape" && !p.value || l("keydown", z);
3500
3500
  }
3501
3501
  const L = Mu();
3502
3502
  Et(() => e.closeOnBack, () => {
3503
3503
  _u(L, (z) => {
3504
- S.value && u.value ? (z(!1), e.persistent ? B() : u.value = !1) : z();
3504
+ p.value && u.value ? (z(!1), e.persistent ? B() : u.value = !1) : z();
3505
3505
  });
3506
3506
  });
3507
3507
  const H = j();
@@ -3545,7 +3545,7 @@ const ga = F({
3545
3545
  "v-overlay--active": u.value,
3546
3546
  "v-overlay--contained": e.contained
3547
3547
  }, d.value, f.value, e.class],
3548
- style: [p.value, {
3548
+ style: [S.value, {
3549
3549
  "--v-overlay-opacity": e.opacity,
3550
3550
  top: U(H.value)
3551
3551
  }, e.style],
@@ -3582,7 +3582,7 @@ const ga = F({
3582
3582
  animateClick: B,
3583
3583
  contentEl: s,
3584
3584
  rootEl: i,
3585
- globalTop: S,
3585
+ globalTop: p,
3586
3586
  localTop: b,
3587
3587
  updateLocation: ee
3588
3588
  };
@@ -3819,13 +3819,28 @@ function xc(e, t) {
3819
3819
  );
3820
3820
  });
3821
3821
  for (const c of e) {
3822
- const u = t.filter((f) => f.isVisible && f.value !== "actions").map((f) => Ti(c, f));
3823
- a.addRow(u).eachCell((f) => {
3824
- f.border = {
3822
+ const u = t.filter(
3823
+ (v) => v.isVisible && v.value !== "actions"
3824
+ ), d = u.map((v) => Ti(c, v));
3825
+ a.addRow(d).eachCell((v, g) => {
3826
+ const m = g - 1;
3827
+ v.border = {
3825
3828
  left: { style: "thin", color: { argb: "FF000000" } },
3826
3829
  bottom: { style: "thin", color: { argb: "FF000000" } },
3827
3830
  right: { style: "thin", color: { argb: "FF000000" } }
3828
3831
  };
3832
+ const h = u[m]?.type;
3833
+ if (h == "date")
3834
+ v.numFmt = "dd/mm/yyyy";
3835
+ else if (h == "currency") {
3836
+ const p = d[m];
3837
+ if (!p || p == " ") {
3838
+ v.value = "-";
3839
+ return;
3840
+ }
3841
+ const [b, S] = p.split(" ");
3842
+ v.value = Number(S.replace(/\./g, "").replace(",", ".")), v.numFmt = `[$${b}]#,##0.00_);([$${b}]#,##0.00);[$${b}]0.00;@`;
3843
+ }
3829
3844
  });
3830
3845
  }
3831
3846
  const s = a.addRow([`Exportado em: ${o}`]);
@@ -3833,7 +3848,7 @@ function xc(e, t) {
3833
3848
  italic: !0,
3834
3849
  color: { argb: "FF555555" },
3835
3850
  size: 10
3836
- }, s.getCell(1).alignment = { horizontal: "center" }, n.xlsx.writeBuffer().then((c) => {
3851
+ }, s.getCell(1).alignment = { horizontal: "center" }, n.xlsx.writeBuffer({ useStyles: !0 }).then((c) => {
3837
3852
  const u = new Blob([c], {
3838
3853
  type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
3839
3854
  }), d = document.createElement("a");
@@ -3841,6 +3856,8 @@ function xc(e, t) {
3841
3856
  });
3842
3857
  }
3843
3858
  function Ti(e, t) {
3859
+ if (t?.type == "date" && e[t.value])
3860
+ return new Date(e[t.value]);
3844
3861
  if (t.displayValue) {
3845
3862
  const a = t.displayValue(e);
3846
3863
  return a == null || a === "" ? "-" : a;
@@ -4346,7 +4363,7 @@ function Co(e) {
4346
4363
  return t && [...t];
4347
4364
  }
4348
4365
  function xo(e, t) {
4349
- const n = ni(e), a = vl(t), [l, o] = getComputedStyle(t).transformOrigin.split(" ").map((S) => parseFloat(S)), [i, r] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");
4366
+ const n = ni(e), a = vl(t), [l, o] = getComputedStyle(t).transformOrigin.split(" ").map((p) => parseFloat(p)), [i, r] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");
4350
4367
  let s = n.left + n.width / 2;
4351
4368
  i === "left" || r === "left" ? s -= n.width / 2 : (i === "right" || r === "right") && (s += n.width / 2);
4352
4369
  let c = n.top + n.height / 2;
@@ -4747,7 +4764,7 @@ const Dl = (e) => {
4747
4764
  }
4748
4765
  }, "nested"), Kc = (e, t, n) => {
4749
4766
  let a = !1;
4750
- const l = Q(/* @__PURE__ */ new Map()), o = Q(/* @__PURE__ */ new Map()), i = Q(/* @__PURE__ */ new Set()), r = ge(e, "opened", e.opened, (p) => new Set(Array.isArray(p) ? p.map((k) => we(k)) : p), (p) => [...p.values()]), s = x(() => {
4767
+ const l = Q(/* @__PURE__ */ new Map()), o = Q(/* @__PURE__ */ new Map()), i = Q(/* @__PURE__ */ new Set()), r = ge(e, "opened", e.opened, (S) => new Set(Array.isArray(S) ? S.map((k) => we(k)) : S), (S) => [...S.values()]), s = x(() => {
4751
4768
  if (typeof e.activeStrategy == "object") return e.activeStrategy;
4752
4769
  if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
4753
4770
  switch (e.activeStrategy) {
@@ -4790,13 +4807,13 @@ const Dl = (e) => {
4790
4807
  default:
4791
4808
  return Zi;
4792
4809
  }
4793
- }), d = ge(e, "activated", e.activated, (p) => s.value.in(p, l.value, o.value), (p) => s.value.out(p, l.value, o.value)), f = ge(e, "selected", e.selected, (p) => c.value.in(p, l.value, o.value, i.value), (p) => c.value.out(p, l.value, o.value));
4810
+ }), d = ge(e, "activated", e.activated, (S) => s.value.in(S, l.value, o.value), (S) => s.value.out(S, l.value, o.value)), f = ge(e, "selected", e.selected, (S) => c.value.in(S, l.value, o.value, i.value), (S) => c.value.out(S, l.value, o.value));
4794
4811
  lt(() => {
4795
4812
  a = !0;
4796
4813
  });
4797
- function v(p) {
4814
+ function v(S) {
4798
4815
  const k = [];
4799
- let P = we(p);
4816
+ let P = we(S);
4800
4817
  for (; P !== void 0; )
4801
4818
  k.unshift(P), P = o.value.get(P);
4802
4819
  return k;
@@ -4807,12 +4824,12 @@ const Dl = (e) => {
4807
4824
  });
4808
4825
  }, 100);
4809
4826
  Z(() => [t.value, Ae(n)], () => {
4810
- e.itemsRegistration === "props" && S();
4827
+ e.itemsRegistration === "props" && p();
4811
4828
  }, {
4812
4829
  immediate: !0
4813
4830
  });
4814
- function S() {
4815
- const p = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Set(), A = Ae(n) ? (E) => we(E.raw) : (E) => E.value, T = [...t.value];
4831
+ function p() {
4832
+ const S = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Set(), A = Ae(n) ? (E) => we(E.raw) : (E) => E.value, T = [...t.value];
4816
4833
  let C = 0;
4817
4834
  for (; C < T.length; ) {
4818
4835
  const E = T[C++], I = A(E);
@@ -4820,13 +4837,13 @@ const Dl = (e) => {
4820
4837
  const N = [];
4821
4838
  for (const $ of E.children) {
4822
4839
  const _ = A($);
4823
- p.set(_, I), N.push(_), T.push($);
4840
+ S.set(_, I), N.push(_), T.push($);
4824
4841
  }
4825
4842
  k.set(I, N);
4826
4843
  }
4827
4844
  E.props.disabled && P.add(I);
4828
4845
  }
4829
- l.value = k, o.value = p, i.value = P;
4846
+ l.value = k, o.value = S, i.value = P;
4830
4847
  }
4831
4848
  const b = {
4832
4849
  id: Q(),
@@ -4837,42 +4854,42 @@ const Dl = (e) => {
4837
4854
  activated: d,
4838
4855
  selected: f,
4839
4856
  selectedValues: x(() => {
4840
- const p = [];
4857
+ const S = [];
4841
4858
  for (const [k, P] of f.value.entries())
4842
- P === "on" && p.push(k);
4843
- return p;
4859
+ P === "on" && S.push(k);
4860
+ return S;
4844
4861
  }),
4845
4862
  itemsRegistration: V(() => e.itemsRegistration),
4846
- register: (p, k, P, A) => {
4847
- if (m.has(p)) {
4848
- const T = v(p).map(String).join(" -> "), C = v(k).concat(p).map(String).join(" -> ");
4863
+ register: (S, k, P, A) => {
4864
+ if (m.has(S)) {
4865
+ const T = v(S).map(String).join(" -> "), C = v(k).concat(S).map(String).join(" -> ");
4849
4866
  ia(`Multiple nodes with the same ID
4850
4867
  ${T}
4851
4868
  ${C}`);
4852
4869
  return;
4853
4870
  } else
4854
- m.add(p);
4855
- k && p !== k && o.value.set(p, k), P && i.value.add(p), A && l.value.set(p, []), k != null && l.value.set(k, [...l.value.get(k) || [], p]), h();
4871
+ m.add(S);
4872
+ k && S !== k && o.value.set(S, k), P && i.value.add(S), A && l.value.set(S, []), k != null && l.value.set(k, [...l.value.get(k) || [], S]), h();
4856
4873
  },
4857
- unregister: (p) => {
4874
+ unregister: (S) => {
4858
4875
  if (a) return;
4859
- m.delete(p), l.value.delete(p), i.value.delete(p);
4860
- const k = o.value.get(p);
4876
+ m.delete(S), l.value.delete(S), i.value.delete(S);
4877
+ const k = o.value.get(S);
4861
4878
  if (k) {
4862
4879
  const P = l.value.get(k) ?? [];
4863
- l.value.set(k, P.filter((A) => A !== p));
4880
+ l.value.set(k, P.filter((A) => A !== S));
4864
4881
  }
4865
- o.value.delete(p), h();
4882
+ o.value.delete(S), h();
4866
4883
  },
4867
- open: (p, k, P) => {
4884
+ open: (S, k, P) => {
4868
4885
  g.emit("click:open", {
4869
- id: p,
4886
+ id: S,
4870
4887
  value: k,
4871
- path: v(p),
4888
+ path: v(S),
4872
4889
  event: P
4873
4890
  });
4874
4891
  const A = u.value.open({
4875
- id: p,
4892
+ id: S,
4876
4893
  value: k,
4877
4894
  opened: new Set(r.value),
4878
4895
  children: l.value,
@@ -4881,9 +4898,9 @@ const Dl = (e) => {
4881
4898
  });
4882
4899
  A && (r.value = A);
4883
4900
  },
4884
- openOnSelect: (p, k, P) => {
4901
+ openOnSelect: (S, k, P) => {
4885
4902
  const A = u.value.select({
4886
- id: p,
4903
+ id: S,
4887
4904
  value: k,
4888
4905
  selected: new Map(f.value),
4889
4906
  opened: new Set(r.value),
@@ -4893,15 +4910,15 @@ const Dl = (e) => {
4893
4910
  });
4894
4911
  A && (r.value = A);
4895
4912
  },
4896
- select: (p, k, P) => {
4913
+ select: (S, k, P) => {
4897
4914
  g.emit("click:select", {
4898
- id: p,
4915
+ id: S,
4899
4916
  value: k,
4900
- path: v(p),
4917
+ path: v(S),
4901
4918
  event: P
4902
4919
  });
4903
4920
  const A = c.value.select({
4904
- id: p,
4921
+ id: S,
4905
4922
  value: k,
4906
4923
  selected: new Map(f.value),
4907
4924
  children: l.value,
@@ -4909,19 +4926,19 @@ const Dl = (e) => {
4909
4926
  disabled: i.value,
4910
4927
  event: P
4911
4928
  });
4912
- A && (f.value = A), b.root.openOnSelect(p, k, P);
4929
+ A && (f.value = A), b.root.openOnSelect(S, k, P);
4913
4930
  },
4914
- activate: (p, k, P) => {
4931
+ activate: (S, k, P) => {
4915
4932
  if (!e.activatable)
4916
- return b.root.select(p, !0, P);
4933
+ return b.root.select(S, !0, P);
4917
4934
  g.emit("click:activate", {
4918
- id: p,
4935
+ id: S,
4919
4936
  value: k,
4920
- path: v(p),
4937
+ path: v(S),
4921
4938
  event: P
4922
4939
  });
4923
4940
  const A = s.value.activate({
4924
- id: p,
4941
+ id: S,
4925
4942
  value: k,
4926
4943
  activated: new Set(d.value),
4927
4944
  children: l.value,
@@ -5270,7 +5287,7 @@ const ta = {
5270
5287
  n("loadstart", c.value?.currentSrc || v.value.src), setTimeout(() => {
5271
5288
  if (!r.isUnmounted)
5272
5289
  if (c.value?.complete) {
5273
- if (c.value.naturalWidth || S(), u.value === "error") return;
5290
+ if (c.value.naturalWidth || p(), u.value === "error") return;
5274
5291
  g.value || k(c.value, null), u.value === "loading" && h();
5275
5292
  } else
5276
5293
  g.value || k(c.value), b();
@@ -5281,26 +5298,26 @@ const ta = {
5281
5298
  function h() {
5282
5299
  r.isUnmounted || (b(), k(c.value), u.value = "loaded", n("load", c.value?.currentSrc || v.value.src));
5283
5300
  }
5284
- function S() {
5301
+ function p() {
5285
5302
  r.isUnmounted || (u.value = "error", n("error", c.value?.currentSrc || v.value.src));
5286
5303
  }
5287
5304
  function b() {
5288
5305
  const $ = c.value;
5289
5306
  $ && (s.value = $.currentSrc || $.src);
5290
5307
  }
5291
- let p = -1;
5308
+ let S = -1;
5292
5309
  lt(() => {
5293
- clearTimeout(p);
5310
+ clearTimeout(S);
5294
5311
  });
5295
5312
  function k($) {
5296
5313
  let _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
5297
5314
  const R = () => {
5298
- if (clearTimeout(p), r.isUnmounted) return;
5315
+ if (clearTimeout(S), r.isUnmounted) return;
5299
5316
  const {
5300
5317
  naturalHeight: G,
5301
5318
  naturalWidth: Y
5302
5319
  } = $;
5303
- G || Y ? (d.value = Y, f.value = G) : !$.complete && u.value === "loading" && _ != null ? p = window.setTimeout(R, _) : ($.currentSrc.endsWith(".svg") || $.currentSrc.startsWith("data:image/svg+xml")) && (d.value = 1, f.value = 1);
5320
+ G || Y ? (d.value = Y, f.value = G) : !$.complete && u.value === "loading" && _ != null ? S = window.setTimeout(R, _) : ($.currentSrc.endsWith(".svg") || $.currentSrc.startsWith("data:image/svg+xml")) && (d.value = 1, f.value = 1);
5304
5321
  };
5305
5322
  R();
5306
5323
  }
@@ -5323,7 +5340,7 @@ const ta = {
5323
5340
  sizes: e.sizes,
5324
5341
  ref: c,
5325
5342
  onLoad: h,
5326
- onError: S
5343
+ onError: p
5327
5344
  }, null), _ = a.sources?.();
5328
5345
  return y(Vt, {
5329
5346
  transition: e.transition,
@@ -5552,12 +5569,12 @@ const ta = {
5552
5569
  root: g,
5553
5570
  parent: m,
5554
5571
  openOnSelect: h,
5555
- id: S
5556
- } = tr(i, () => e.disabled, !1), b = Xi(), p = x(() => e.active !== !1 && (e.active || o.isActive?.value || (g.activatable.value ? s.value : d.value))), k = V(() => e.link !== !1 && o.isLink.value), P = x(() => !!b && (g.selectable.value || g.activatable.value || e.value != null)), A = x(() => !e.disabled && e.link !== !1 && (e.link || o.isClickable.value || P.value)), T = x(() => b ? k.value ? "link" : P.value ? "option" : "listitem" : void 0), C = x(() => {
5572
+ id: p
5573
+ } = tr(i, () => e.disabled, !1), b = Xi(), S = x(() => e.active !== !1 && (e.active || o.isActive?.value || (g.activatable.value ? s.value : d.value))), k = V(() => e.link !== !1 && o.isLink.value), P = x(() => !!b && (g.selectable.value || g.activatable.value || e.value != null)), A = x(() => !e.disabled && e.link !== !1 && (e.link || o.isClickable.value || P.value)), T = x(() => b ? k.value ? "link" : P.value ? "option" : "listitem" : void 0), C = x(() => {
5557
5574
  if (P.value)
5558
- return g.activatable.value ? s.value : g.selectable.value ? d.value : p.value;
5575
+ return g.activatable.value ? s.value : g.selectable.value ? d.value : S.value;
5559
5576
  }), E = V(() => e.rounded || e.nav), I = V(() => e.color ?? e.activeColor), N = V(() => ({
5560
- color: p.value ? I.value ?? e.baseColor : e.baseColor,
5577
+ color: S.value ? I.value ?? e.baseColor : e.baseColor,
5561
5578
  variant: e.variant
5562
5579
  }));
5563
5580
  Z(() => o.isActive?.value, (z) => {
@@ -5587,7 +5604,7 @@ const ta = {
5587
5604
  } = mt(E), L = V(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), H = V(() => e.ripple !== void 0 && e.ripple && b?.filterable ? {
5588
5605
  keys: ["Enter"]
5589
5606
  } : e.ripple), B = x(() => ({
5590
- isActive: p.value,
5607
+ isActive: S.value,
5591
5608
  select: c,
5592
5609
  isOpen: u.value,
5593
5610
  isSelected: d.value,
@@ -5604,12 +5621,12 @@ const ta = {
5604
5621
  const z = k.value ? "a" : e.tag, ve = a.title || e.title != null, se = a.subtitle || e.subtitle != null, ye = !!(e.appendAvatar || e.appendIcon), De = !!(ye || a.append), it = !!(e.prependAvatar || e.prependIcon), be = !!(it || a.prepend);
5605
5622
  return b?.updateHasPrepend(be), e.activeColor && Ls("active-color", ["color", "base-color"]), He(y(z, W(o.linkProps, {
5606
5623
  class: ["v-list-item", {
5607
- "v-list-item--active": p.value,
5624
+ "v-list-item--active": S.value,
5608
5625
  "v-list-item--disabled": e.disabled,
5609
5626
  "v-list-item--link": A.value,
5610
5627
  "v-list-item--nav": e.nav,
5611
5628
  "v-list-item--slim": e.slim,
5612
- [`${e.activeClass}`]: e.activeClass && p.value
5629
+ [`${e.activeClass}`]: e.activeClass && S.value
5613
5630
  }, _.value, R.value, G.value, ae.value, M.value, L.value, J.value, ee.value, e.class],
5614
5631
  style: [{
5615
5632
  "--v-list-prepend-gap": U(e.prependGap)
@@ -5620,7 +5637,7 @@ const ta = {
5620
5637
  onClick: oe,
5621
5638
  onKeydown: A.value && !k.value && de
5622
5639
  }), {
5623
- default: () => [$n(A.value || p.value, "v-list-item"), be && w("div", {
5640
+ default: () => [$n(A.value || S.value, "v-list-item"), be && w("div", {
5624
5641
  key: "prepend",
5625
5642
  class: "v-list-item__prepend"
5626
5643
  }, [a.prepend ? y(Be, {
@@ -5707,7 +5724,7 @@ const ta = {
5707
5724
  list: b,
5708
5725
  select: c,
5709
5726
  root: g,
5710
- id: S,
5727
+ id: p,
5711
5728
  link: o
5712
5729
  };
5713
5730
  }
@@ -5884,20 +5901,20 @@ function ud(e) {
5884
5901
  });
5885
5902
  function o(r) {
5886
5903
  const s = a.value, c = t.value, u = l.value, d = n.value, f = e.returnObject, v = !!e.valueComparator, g = e.valueComparator || Ke, m = Wt(e, ln.neededProps), h = [];
5887
- e: for (const S of r) {
5888
- if (!d && S === null) continue;
5889
- if (f && typeof S == "string") {
5890
- h.push(ln(m, S));
5904
+ e: for (const p of r) {
5905
+ if (!d && p === null) continue;
5906
+ if (f && typeof p == "string") {
5907
+ h.push(ln(m, p));
5891
5908
  continue;
5892
5909
  }
5893
- const b = s.get(S);
5910
+ const b = s.get(p);
5894
5911
  if (v || !b) {
5895
- for (const p of v ? c : u)
5896
- if (g(S, p.value)) {
5897
- h.push(p);
5912
+ for (const S of v ? c : u)
5913
+ if (g(p, S.value)) {
5914
+ h.push(S);
5898
5915
  continue e;
5899
5916
  }
5900
- h.push(ln(m, S));
5917
+ h.push(ln(m, p));
5901
5918
  continue;
5902
5919
  }
5903
5920
  h.push(...b);
@@ -6028,13 +6045,13 @@ const vd = F({
6028
6045
  parents: g,
6029
6046
  select: m,
6030
6047
  getPath: h
6031
- } = Kc(e, a, () => e.returnObject), S = V(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = V(() => e.activeColor), p = V(() => e.baseColor), k = V(() => e.color), P = V(() => e.selectable || e.activatable);
6048
+ } = Kc(e, a, () => e.returnObject), p = V(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = V(() => e.activeColor), S = V(() => e.baseColor), k = V(() => e.color), P = V(() => e.selectable || e.activatable);
6032
6049
  Ki({
6033
6050
  filterable: e.filterable
6034
6051
  }), pt({
6035
6052
  VListGroup: {
6036
6053
  activeColor: b,
6037
- baseColor: p,
6054
+ baseColor: S,
6038
6055
  color: k,
6039
6056
  expandIcon: V(() => e.expandIcon),
6040
6057
  collapseIcon: V(() => e.collapseIcon)
@@ -6042,7 +6059,7 @@ const vd = F({
6042
6059
  VListItem: {
6043
6060
  activeClass: V(() => e.activeClass),
6044
6061
  activeColor: b,
6045
- baseColor: p,
6062
+ baseColor: S,
6046
6063
  color: k,
6047
6064
  density: V(() => e.density),
6048
6065
  disabled: V(() => e.disabled),
@@ -6093,7 +6110,7 @@ const vd = F({
6093
6110
  "v-list--disabled": e.disabled,
6094
6111
  "v-list--nav": e.nav,
6095
6112
  "v-list--slim": e.slim
6096
- }, l.value, o.value, r.value, s.value, u.value, S.value, d.value, e.class]),
6113
+ }, l.value, o.value, r.value, s.value, u.value, p.value, d.value, e.class]),
6097
6114
  style: ue([{
6098
6115
  "--v-list-indent": U(R),
6099
6116
  "--v-list-group-prepend": R ? "0px" : void 0,
@@ -6179,7 +6196,7 @@ const vd = F({
6179
6196
  if (!e.disabled)
6180
6197
  if (m.key === "Tab" || m.key === "Enter" && !e.closeOnContentClick) {
6181
6198
  if (m.key === "Enter" && (m.target instanceof HTMLTextAreaElement || m.target instanceof HTMLInputElement && m.target.closest("form"))) return;
6182
- m.key === "Enter" && m.preventDefault(), !Jo(_t(s.value?.contentEl, !1), m.shiftKey ? "prev" : "next", (S) => S.tabIndex >= 0) && !e.retainFocus && (a.value = !1, s.value?.activatorEl?.focus());
6199
+ m.key === "Enter" && m.preventDefault(), !Jo(_t(s.value?.contentEl, !1), m.shiftKey ? "prev" : "next", (p) => p.tabIndex >= 0) && !e.retainFocus && (a.value = !1, s.value?.activatorEl?.focus());
6183
6200
  } else e.submenu && m.key === (o.value ? "ArrowRight" : "ArrowLeft") && (a.value = !1, s.value?.activatorEl?.focus());
6184
6201
  }
6185
6202
  function v(m) {
@@ -6212,12 +6229,12 @@ const vd = F({
6212
6229
  }, l), {
6213
6230
  activator: n.activator,
6214
6231
  default: function() {
6215
- for (var h = arguments.length, S = new Array(h), b = 0; b < h; b++)
6216
- S[b] = arguments[b];
6232
+ for (var h = arguments.length, p = new Array(h), b = 0; b < h; b++)
6233
+ p[b] = arguments[b];
6217
6234
  return y(Be, {
6218
6235
  root: "VMenu"
6219
6236
  }, {
6220
- default: () => [n.default?.(...S)]
6237
+ default: () => [n.default?.(...p)]
6221
6238
  });
6222
6239
  }
6223
6240
  });
@@ -6265,10 +6282,10 @@ async function Io(e, t, n, a) {
6265
6282
  if (u === d) return Promise.resolve(u);
6266
6283
  const f = performance.now();
6267
6284
  return new Promise((v) => requestAnimationFrame(function g(m) {
6268
- const S = (m - f) / o.duration, b = Math.floor(d + (u - d) * c(Ue(S, 0, 1)));
6269
- if (s[l] = b, S >= 1 && Math.abs(b - s[l]) < 10)
6285
+ const p = (m - f) / o.duration, b = Math.floor(d + (u - d) * c(Ue(p, 0, 1)));
6286
+ if (s[l] = b, p >= 1 && Math.abs(b - s[l]) < 10)
6270
6287
  return v(u);
6271
- if (S > 2)
6288
+ if (p > 2)
6272
6289
  return It("Scroll target is not reachable"), v(s[l]);
6273
6290
  requestAnimationFrame(g);
6274
6291
  }));
@@ -6451,12 +6468,12 @@ const wd = F({
6451
6468
  return [v.value, e.ellipsis, ...Mn($, _), e.ellipsis, f.value];
6452
6469
  }
6453
6470
  });
6454
- function S(C, E, I) {
6471
+ function p(C, E, I) {
6455
6472
  C.preventDefault(), l.value = E, I && a(I, E);
6456
6473
  }
6457
6474
  const {
6458
6475
  refs: b,
6459
- updateRef: p
6476
+ updateRef: S
6460
6477
  } = Sd();
6461
6478
  pt({
6462
6479
  VPaginationBtn: {
@@ -6470,7 +6487,7 @@ const wd = F({
6470
6487
  }
6471
6488
  });
6472
6489
  const k = x(() => h.value.map((C, E) => {
6473
- const I = (N) => p(N, E);
6490
+ const I = (N) => S(N, E);
6474
6491
  if (typeof C == "string")
6475
6492
  return {
6476
6493
  isActive: !1,
@@ -6497,7 +6514,7 @@ const wd = F({
6497
6514
  color: N ? e.activeColor : e.color,
6498
6515
  "aria-current": N,
6499
6516
  "aria-label": o(N ? e.currentPageAriaLabel : e.pageAriaLabel, C),
6500
- onClick: ($) => S($, C)
6517
+ onClick: ($) => p($, C)
6501
6518
  }
6502
6519
  };
6503
6520
  }
@@ -6506,28 +6523,28 @@ const wd = F({
6506
6523
  return {
6507
6524
  first: e.showFirstLastPage ? {
6508
6525
  icon: r.value ? e.lastIcon : e.firstIcon,
6509
- onClick: (I) => S(I, v.value, "first"),
6526
+ onClick: (I) => p(I, v.value, "first"),
6510
6527
  disabled: C,
6511
6528
  "aria-label": o(e.firstAriaLabel),
6512
6529
  "aria-disabled": C
6513
6530
  } : void 0,
6514
6531
  prev: {
6515
6532
  icon: r.value ? e.nextIcon : e.prevIcon,
6516
- onClick: (I) => S(I, l.value - 1, "prev"),
6533
+ onClick: (I) => p(I, l.value - 1, "prev"),
6517
6534
  disabled: C,
6518
6535
  "aria-label": o(e.previousAriaLabel),
6519
6536
  "aria-disabled": C
6520
6537
  },
6521
6538
  next: {
6522
6539
  icon: r.value ? e.prevIcon : e.nextIcon,
6523
- onClick: (I) => S(I, l.value + 1, "next"),
6540
+ onClick: (I) => p(I, l.value + 1, "next"),
6524
6541
  disabled: E,
6525
6542
  "aria-label": o(e.nextAriaLabel),
6526
6543
  "aria-disabled": E
6527
6544
  },
6528
6545
  last: e.showFirstLastPage ? {
6529
6546
  icon: r.value ? e.firstIcon : e.lastIcon,
6530
- onClick: (I) => S(I, v.value + f.value - 1, "last"),
6547
+ onClick: (I) => p(I, v.value + f.value - 1, "last"),
6531
6548
  disabled: E,
6532
6549
  "aria-label": o(e.lastAriaLabel),
6533
6550
  "aria-disabled": E
@@ -6766,11 +6783,11 @@ const Do = K()({
6766
6783
  backgroundColorClasses: u,
6767
6784
  backgroundColorStyles: d,
6768
6785
  trueValue: f
6769
- } = kd(e), v = dt(), g = Q(!1), m = Q(!1), h = j(), S = V(() => e.id || `input-${v}`), b = V(() => !e.disabled && !e.readonly);
6786
+ } = kd(e), v = dt(), g = Q(!1), m = Q(!1), h = j(), p = V(() => e.id || `input-${v}`), b = V(() => !e.disabled && !e.readonly);
6770
6787
  l?.onForceUpdate(() => {
6771
6788
  h.value && (h.value.checked = r.value);
6772
6789
  });
6773
- function p(T) {
6790
+ function S(T) {
6774
6791
  b.value && (g.value = !0, Xn(T.target, ":focus-visible") !== !1 && (m.value = !0));
6775
6792
  }
6776
6793
  function k() {
@@ -6790,15 +6807,15 @@ const Do = K()({
6790
6807
  const T = a.label ? a.label({
6791
6808
  label: e.label,
6792
6809
  props: {
6793
- for: S.value
6810
+ for: p.value
6794
6811
  }
6795
6812
  }) : e.label, [C, E] = Yo(n), I = w("input", W({
6796
6813
  ref: h,
6797
6814
  checked: r.value,
6798
6815
  disabled: !!e.disabled,
6799
- id: S.value,
6816
+ id: p.value,
6800
6817
  onBlur: k,
6801
- onFocus: p,
6818
+ onFocus: S,
6802
6819
  onInput: A,
6803
6820
  "aria-disabled": !!e.disabled,
6804
6821
  "aria-label": e.label,
@@ -6835,9 +6852,9 @@ const Do = K()({
6835
6852
  inputNode: I,
6836
6853
  icon: i.value,
6837
6854
  props: {
6838
- onFocus: p,
6855
+ onFocus: S,
6839
6856
  onBlur: k,
6840
- id: S.value
6857
+ id: p.value
6841
6858
  }
6842
6859
  }) ?? w(re, null, [i.value && y(ce, {
6843
6860
  key: "icon",
@@ -6846,7 +6863,7 @@ const Do = K()({
6846
6863
  center: !0,
6847
6864
  circle: !0
6848
6865
  }]])]), T && y(dr, {
6849
- for: S.value,
6866
+ for: p.value,
6850
6867
  onClick: P
6851
6868
  }, {
6852
6869
  default: () => [T]
@@ -7155,38 +7172,38 @@ function Bd(e) {
7155
7172
  o.register?.({
7156
7173
  id: h.value,
7157
7174
  vm: m,
7158
- validate: p,
7159
- reset: S,
7175
+ validate: S,
7176
+ reset: p,
7160
7177
  resetValidation: b
7161
7178
  });
7162
7179
  }), lt(() => {
7163
7180
  o.unregister?.(h.value);
7164
7181
  }), Bt(async () => {
7165
- d.value.lazy || await p(!d.value.eager), o.update?.(h.value, f.value, u.value);
7182
+ d.value.lazy || await S(!d.value.eager), o.update?.(h.value, f.value, u.value);
7166
7183
  }), Et(() => d.value.input || d.value.invalidInput && f.value === !1, () => {
7167
7184
  Z(l, () => {
7168
7185
  if (l.value != null)
7169
- p();
7186
+ S();
7170
7187
  else if (e.focused) {
7171
7188
  const k = Z(() => e.focused, (P) => {
7172
- P || p(), k();
7189
+ P || S(), k();
7173
7190
  });
7174
7191
  }
7175
7192
  });
7176
7193
  }), Et(() => d.value.blur, () => {
7177
7194
  Z(() => e.focused, (k) => {
7178
- k || p();
7195
+ k || S();
7179
7196
  });
7180
7197
  }), Z([f, u], () => {
7181
7198
  o.update?.(h.value, f.value, u.value);
7182
7199
  });
7183
- async function S() {
7200
+ async function p() {
7184
7201
  a.value = null, await Se(), await b();
7185
7202
  }
7186
7203
  async function b() {
7187
- s.value = !0, d.value.lazy ? r.value = [] : await p(!d.value.eager);
7204
+ s.value = !0, d.value.lazy ? r.value = [] : await S(!d.value.eager);
7188
7205
  }
7189
- async function p() {
7206
+ async function S() {
7190
7207
  let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
7191
7208
  const P = [];
7192
7209
  v.value = !0;
@@ -7212,9 +7229,9 @@ function Bd(e) {
7212
7229
  isPristine: s,
7213
7230
  isValid: f,
7214
7231
  isValidating: v,
7215
- reset: S,
7232
+ reset: p,
7216
7233
  resetValidation: b,
7217
- validate: p,
7234
+ validate: S,
7218
7235
  validationClasses: g
7219
7236
  };
7220
7237
  }
@@ -7280,9 +7297,9 @@ const Sr = F({
7280
7297
  isDisabled: g,
7281
7298
  isReadonly: m,
7282
7299
  isPristine: h,
7283
- isValid: S,
7300
+ isValid: p,
7284
7301
  isValidating: b,
7285
- reset: p,
7302
+ reset: S,
7286
7303
  resetValidation: k,
7287
7304
  validate: P,
7288
7305
  validationClasses: A
@@ -7293,10 +7310,10 @@ const Sr = F({
7293
7310
  isDisabled: g,
7294
7311
  isReadonly: m,
7295
7312
  isPristine: h,
7296
- isValid: S,
7313
+ isValid: p,
7297
7314
  isValidating: b,
7298
7315
  hasDetails: E,
7299
- reset: p,
7316
+ reset: S,
7300
7317
  resetValidation: k,
7301
7318
  validate: P
7302
7319
  })), $ = V(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), _ = V(() => {
@@ -7341,10 +7358,10 @@ const Sr = F({
7341
7358
  message: a.message
7342
7359
  }), a.details?.(N.value)])]);
7343
7360
  }), {
7344
- reset: p,
7361
+ reset: S,
7345
7362
  resetValidation: k,
7346
7363
  validate: P,
7347
- isValid: S,
7364
+ isValid: p,
7348
7365
  errorMessages: f
7349
7366
  };
7350
7367
  }
@@ -7446,11 +7463,11 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
7446
7463
  } = qt(), {
7447
7464
  resizeRef: g,
7448
7465
  contentRect: m
7449
- } = qt(), h = bd(), S = x(() => ({
7466
+ } = qt(), h = bd(), p = x(() => ({
7450
7467
  container: f.el,
7451
7468
  duration: 200,
7452
7469
  easing: "easeOutQuart"
7453
- })), b = x(() => i.selected.value.length ? i.items.value.findIndex((L) => L.id === i.selected.value[0]) : -1), p = x(() => i.selected.value.length ? i.items.value.findIndex((L) => L.id === i.selected.value[i.selected.value.length - 1]) : -1);
7470
+ })), b = x(() => i.selected.value.length ? i.items.value.findIndex((L) => L.id === i.selected.value[0]) : -1), S = x(() => i.selected.value.length ? i.items.value.findIndex((L) => L.id === i.selected.value[i.selected.value.length - 1]) : -1);
7454
7471
  if (Ee) {
7455
7472
  let L = -1;
7456
7473
  Z(() => [i.selected.value, v.value, m.value, d.value], () => {
@@ -7460,7 +7477,7 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
7460
7477
  c.value = v.value[H], u.value = m.value[H], r.value = c.value + 1 < u.value;
7461
7478
  }
7462
7479
  if (e.scrollToActive && b.value >= 0 && g.el) {
7463
- const H = g.el.children[p.value];
7480
+ const H = g.el.children[S.value];
7464
7481
  P(H, e.centerActive);
7465
7482
  }
7466
7483
  });
@@ -7492,7 +7509,7 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
7492
7509
  } = f.el;
7493
7510
  L = de - z - L;
7494
7511
  }
7495
- d.value ? h.horizontal(L, S.value) : h(L, S.value);
7512
+ d.value ? h.horizontal(L, p.value) : h(L, p.value);
7496
7513
  }
7497
7514
  }
7498
7515
  function T(L) {
@@ -7803,7 +7820,7 @@ const Rd = F({
7803
7820
  sizeClasses: u
7804
7821
  } = Ln(e), {
7805
7822
  themeClasses: d
7806
- } = je(e), f = ge(e, "modelValue"), v = ja(e, Pr, !1), g = ja(e, xr, !1), m = ca(e, n), h = V(() => e.link !== !1 && m.isLink.value), S = x(() => !e.disabled && e.link !== !1 && (!!v || e.link || m.isClickable.value)), b = V(() => ({
7823
+ } = je(e), f = ge(e, "modelValue"), v = ja(e, Pr, !1), g = ja(e, xr, !1), m = ca(e, n), h = V(() => e.link !== !1 && m.isLink.value), p = x(() => !e.disabled && e.link !== !1 && (!!v || e.link || m.isClickable.value)), b = V(() => ({
7807
7824
  "aria-label": o(e.closeLabel),
7808
7825
  disabled: e.disabled,
7809
7826
  onClick(C) {
@@ -7814,7 +7831,7 @@ const Rd = F({
7814
7831
  C ? (v?.register(), g?.register()) : (v?.unregister(), g?.unregister());
7815
7832
  });
7816
7833
  const {
7817
- colorClasses: p,
7834
+ colorClasses: S,
7818
7835
  colorStyles: k,
7819
7836
  variantClasses: P
7820
7837
  } = Nn(() => ({
@@ -7822,7 +7839,7 @@ const Rd = F({
7822
7839
  variant: e.variant
7823
7840
  }));
7824
7841
  function A(C) {
7825
- a("click", C), S.value && (m.navigate?.(C), v?.toggle());
7842
+ a("click", C), p.value && (m.navigate?.(C), v?.toggle());
7826
7843
  }
7827
7844
  function T(C) {
7828
7845
  (C.key === "Enter" || C.key === " ") && (C.preventDefault(), A(C));
@@ -7833,19 +7850,19 @@ const Rd = F({
7833
7850
  class: ["v-chip", {
7834
7851
  "v-chip--disabled": e.disabled,
7835
7852
  "v-chip--label": e.label,
7836
- "v-chip--link": S.value,
7853
+ "v-chip--link": p.value,
7837
7854
  "v-chip--filter": $,
7838
7855
  "v-chip--pill": e.pill,
7839
7856
  [`${e.activeClass}`]: e.activeClass && m.isActive?.value
7840
- }, d.value, i.value, p.value, r.value, s.value, c.value, u.value, P.value, v?.selectedClass.value, e.class],
7857
+ }, d.value, i.value, S.value, r.value, s.value, c.value, u.value, P.value, v?.selectedClass.value, e.class],
7841
7858
  style: [k.value, e.style],
7842
7859
  disabled: e.disabled || void 0,
7843
7860
  draggable: e.draggable,
7844
- tabindex: S.value ? 0 : void 0,
7861
+ tabindex: p.value ? 0 : void 0,
7845
7862
  onClick: A,
7846
- onKeydown: S.value && !h.value && T
7863
+ onKeydown: p.value && !h.value && T
7847
7864
  }), {
7848
- default: () => [$n(S.value, "v-chip"), $ && y(Ui, {
7865
+ default: () => [$n(p.value, "v-chip"), $ && y(Ui, {
7849
7866
  key: "filter"
7850
7867
  }, {
7851
7868
  default: () => [He(w("div", {
@@ -7938,7 +7955,7 @@ const Rd = F({
7938
7955
  icon: e.closeIcon,
7939
7956
  size: "x-small"
7940
7957
  }, null)])]
7941
- }), [[wt, S.value && e.ripple, null]]);
7958
+ }), [[wt, p.value && e.ripple, null]]);
7942
7959
  };
7943
7960
  }
7944
7961
  }), Md = F({
@@ -8071,7 +8088,7 @@ const Rd = F({
8071
8088
  roundedClasses: f
8072
8089
  } = mt(e), {
8073
8090
  rtlClasses: v
8074
- } = kt(), g = V(() => e.dirty || e.active), m = V(() => !!(e.label || l.label)), h = V(() => !e.singleLine && m.value), S = dt(), b = x(() => e.id || `input-${S}`), p = V(() => e.details ? `${b.value}-messages` : void 0), k = j(), P = j(), A = j(), T = x(() => ["plain", "underlined"].includes(e.variant)), C = x(() => e.error || e.disabled ? void 0 : g.value && s.value ? e.color : e.baseColor), E = x(() => {
8091
+ } = kt(), g = V(() => e.dirty || e.active), m = V(() => !!(e.label || l.label)), h = V(() => !e.singleLine && m.value), p = dt(), b = x(() => e.id || `input-${p}`), S = V(() => e.details ? `${b.value}-messages` : void 0), k = j(), P = j(), A = j(), T = x(() => ["plain", "underlined"].includes(e.variant)), C = x(() => e.error || e.disabled ? void 0 : g.value && s.value ? e.color : e.baseColor), E = x(() => {
8075
8092
  if (!(!e.iconColor || e.glow && !s.value))
8076
8093
  return e.iconColor === !0 ? C.value : e.iconColor;
8077
8094
  }), {
@@ -8181,14 +8198,14 @@ const Rd = F({
8181
8198
  props: {
8182
8199
  id: b.value,
8183
8200
  class: "v-field__input",
8184
- "aria-describedby": p.value
8201
+ "aria-describedby": S.value
8185
8202
  },
8186
8203
  focus: c,
8187
8204
  blur: u
8188
8205
  }) ?? w("div", {
8189
8206
  id: b.value,
8190
8207
  class: "v-field__input",
8191
- "aria-describedby": p.value
8208
+ "aria-describedby": S.value
8192
8209
  }, null)]), ae && y(Ui, {
8193
8210
  key: "clear"
8194
8211
  }, {
@@ -8325,13 +8342,13 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
8325
8342
  if (n.maxlength) return n.maxlength;
8326
8343
  if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
8327
8344
  return e.counter;
8328
- }), f = x(() => ["plain", "underlined"].includes(e.variant)), v = j(), g = j(), m = j(), h = Ir(e), S = x(() => qd.includes(e.type) || e.persistentPlaceholder || i.value || e.active);
8345
+ }), f = x(() => ["plain", "underlined"].includes(e.variant)), v = j(), g = j(), m = j(), h = Ir(e), p = x(() => qd.includes(e.type) || e.persistentPlaceholder || i.value || e.active);
8329
8346
  function b() {
8330
8347
  h.isSuppressing.value && h.update(), i.value || r(), Se(() => {
8331
8348
  m.value !== document.activeElement && m.value?.focus();
8332
8349
  });
8333
8350
  }
8334
- function p(T) {
8351
+ function S(T) {
8335
8352
  a("mousedown:control", T), T.target !== m.value && (b(), T.preventDefault());
8336
8353
  }
8337
8354
  function k(T) {
@@ -8386,13 +8403,13 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
8386
8403
  } = R;
8387
8404
  return y(Fo, W({
8388
8405
  ref: g,
8389
- onMousedown: p,
8406
+ onMousedown: S,
8390
8407
  onClick: k,
8391
8408
  "onClick:clear": (L) => P(L, J),
8392
8409
  role: e.role
8393
8410
  }, tt(_, ["onClick:clear"]), {
8394
8411
  id: G.value,
8395
- active: S.value || ee.value,
8412
+ active: p.value || ee.value,
8396
8413
  dirty: ee.value || e.dirty,
8397
8414
  disabled: Y.value,
8398
8415
  focused: i.value,
@@ -8521,9 +8538,9 @@ function Zd(e, t) {
8521
8538
  }), h = Array.from({
8522
8539
  length: t.value.length
8523
8540
  });
8524
- const S = Q(0);
8541
+ const p = Q(0);
8525
8542
  let b = -1;
8526
- function p(M) {
8543
+ function S(M) {
8527
8544
  return m[M] || a.value;
8528
8545
  }
8529
8546
  const k = _s(() => {
@@ -8531,9 +8548,9 @@ function Zd(e, t) {
8531
8548
  h[0] = 0;
8532
8549
  const J = t.value.length;
8533
8550
  for (let L = 1; L <= J; L++)
8534
- h[L] = (h[L - 1] || 0) + p(L - 1);
8535
- S.value = Math.max(S.value, performance.now() - M);
8536
- }, S), P = Z(g, (M) => {
8551
+ h[L] = (h[L - 1] || 0) + S(L - 1);
8552
+ p.value = Math.max(p.value, performance.now() - M);
8553
+ }, p), P = Z(g, (M) => {
8537
8554
  M && (P(), u = c.value.offsetTop, k.immediate(), Y(), ~b && Se(() => {
8538
8555
  Ee && window.requestAnimationFrame(() => {
8539
8556
  ae(b), b = -1;
@@ -8664,12 +8681,12 @@ const Jd = F({
8664
8681
  } = Zd(e, V(() => e.items));
8665
8682
  return Et(() => e.renderless, () => {
8666
8683
  function m() {
8667
- const S = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
8668
- i.value === document.documentElement ? (document[S]("scroll", s, {
8684
+ const p = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
8685
+ i.value === document.documentElement ? (document[p]("scroll", s, {
8669
8686
  passive: !0
8670
- }), document[S]("scrollend", c)) : (i.value?.[S]("scroll", s, {
8687
+ }), document[p]("scrollend", c)) : (i.value?.[p]("scroll", s, {
8671
8688
  passive: !0
8672
- }), i.value?.[S]("scrollend", c));
8689
+ }), i.value?.[p]("scrollend", c));
8673
8690
  }
8674
8691
  Bt(() => {
8675
8692
  i.value = oi(a.vnode.el, !0), m(!0);
@@ -8678,12 +8695,12 @@ const Jd = F({
8678
8695
  const m = g.value.map((h) => y(Ud, {
8679
8696
  key: h.key,
8680
8697
  renderless: e.renderless,
8681
- "onUpdate:height": (S) => u(h.index, S)
8698
+ "onUpdate:height": (p) => u(h.index, p)
8682
8699
  }, {
8683
- default: (S) => n.default?.({
8700
+ default: (p) => n.default?.({
8684
8701
  item: h.raw,
8685
8702
  index: h.index,
8686
- ...S
8703
+ ...p
8687
8704
  })
8688
8705
  }));
8689
8706
  return e.renderless ? w(re, null, [w("div", {
@@ -8849,8 +8866,8 @@ const lf = F({
8849
8866
  const oe = c(B);
8850
8867
  return e.multiple ? oe : oe[0] ?? null;
8851
8868
  }), d = x(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : typeof e.counterValue == "number" ? e.counterValue : u.value.length), f = pr(e), v = Ir(e), g = x(() => u.value.map((B) => B.value)), m = Q(!1);
8852
- let h = "", S = -1, b;
8853
- const p = x(() => e.hideSelected ? r.value.filter((B) => !u.value.some((oe) => (e.valueComparator || Ke)(oe, B))) : r.value), k = x(() => e.hideNoData && !p.value.length || f.isReadonly.value || f.isDisabled.value), P = ge(e, "menu"), A = x({
8869
+ let h = "", p = -1, b;
8870
+ const S = x(() => e.hideSelected ? r.value.filter((B) => !u.value.some((oe) => (e.valueComparator || Ke)(oe, B))) : r.value), k = x(() => e.hideNoData && !S.value.length || f.isReadonly.value || f.isDisabled.value), P = ge(e, "menu"), A = x({
8854
8871
  get: () => P.value,
8855
8872
  set: (B) => {
8856
8873
  P.value && !B && o.value?.ΨopenChildren.size || B && k.value || (P.value = B);
@@ -8883,14 +8900,14 @@ const lf = F({
8883
8900
  const oe = 1e3;
8884
8901
  if (!jl(B)) return;
8885
8902
  const de = performance.now();
8886
- de - b > oe && (h = "", S = -1), h += B.key.toLowerCase(), b = de;
8887
- const z = p.value;
8903
+ de - b > oe && (h = "", p = -1), h += B.key.toLowerCase(), b = de;
8904
+ const z = S.value;
8888
8905
  function ve() {
8889
8906
  let be = se();
8890
- return be || h.at(-1) === h.at(-2) && (h = h.slice(0, -1), be = se(), be) || (S = -1, be = se(), be) ? be : (h = B.key.toLowerCase(), se());
8907
+ return be || h.at(-1) === h.at(-2) && (h = h.slice(0, -1), be = se(), be) || (p = -1, be = se(), be) ? be : (h = B.key.toLowerCase(), se());
8891
8908
  }
8892
8909
  function se() {
8893
- for (let be = S + 1; be < z.length; be++) {
8910
+ for (let be = p + 1; be < z.length; be++) {
8894
8911
  const gt = z[be];
8895
8912
  if (gt.title.toLowerCase().startsWith(h))
8896
8913
  return [gt, be];
@@ -8899,7 +8916,7 @@ const lf = F({
8899
8916
  const ye = ve();
8900
8917
  if (!ye) return;
8901
8918
  const [De, it] = ye;
8902
- S = it, $.value?.focus(it), e.multiple || (u.value = [De]);
8919
+ p = it, $.value?.focus(it), e.multiple || (u.value = [De]);
8903
8920
  }
8904
8921
  function ae(B) {
8905
8922
  let oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
@@ -8938,7 +8955,7 @@ const lf = F({
8938
8955
  }
8939
8956
  return Z(A, () => {
8940
8957
  if (!e.hideSelected && A.value && u.value.length) {
8941
- const B = p.value.findIndex((oe) => u.value.some((de) => (e.valueComparator || Ke)(de.value, oe.value)));
8958
+ const B = S.value.findIndex((oe) => u.value.some((de) => (e.valueComparator || Ke)(de.value, oe.value)));
8942
8959
  Ee && !e.noAutoScroll && window.requestAnimationFrame(() => {
8943
8960
  B >= 0 && i.value?.scrollToIndex(B);
8944
8961
  });
@@ -8946,7 +8963,7 @@ const lf = F({
8946
8963
  }), Z(r, (B, oe) => {
8947
8964
  A.value || m.value && e.hideNoData && !oe.length && B.length && (A.value = !0);
8948
8965
  }), te(() => {
8949
- const B = !!(e.chips || n.chip), oe = !!(!e.hideNoData || p.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), de = u.value.length > 0, z = An.filterProps(e), ve = de || !m.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
8966
+ const B = !!(e.chips || n.chip), oe = !!(!e.hideNoData || S.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), de = u.value.length > 0, z = An.filterProps(e), ve = de || !m.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
8950
8967
  return y(An, W({
8951
8968
  ref: l
8952
8969
  }, z, {
@@ -9015,13 +9032,13 @@ const lf = F({
9015
9032
  "aria-label": `${e.label}-list`,
9016
9033
  color: e.itemColor ?? e.color
9017
9034
  }, _, e.listProps), {
9018
- default: () => [n["prepend-item"]?.(), !p.value.length && !e.hideNoData && (n["no-data"]?.() ?? y(st, {
9035
+ default: () => [n["prepend-item"]?.(), !S.value.length && !e.hideNoData && (n["no-data"]?.() ?? y(st, {
9019
9036
  key: "no-data",
9020
9037
  title: a(e.noDataText)
9021
9038
  }, null)), y(ef, {
9022
9039
  ref: i,
9023
9040
  renderless: !0,
9024
- items: p.value,
9041
+ items: S.value,
9025
9042
  itemKey: "value"
9026
9043
  }, {
9027
9044
  default: (se) => {
@@ -9330,11 +9347,11 @@ function ff(e, t, n) {
9330
9347
  };
9331
9348
  continue;
9332
9349
  }
9333
- const S = o || Object.keys(u);
9334
- g = S.length === i;
9335
- for (const b of S) {
9336
- const p = _e(u, b), k = n?.customKeyFilter?.[b];
9337
- if (v = k ? k(p, t, c) : l(p, t, c), v !== -1 && v !== !1)
9350
+ const p = o || Object.keys(u);
9351
+ g = p.length === i;
9352
+ for (const b of p) {
9353
+ const S = _e(u, b), k = n?.customKeyFilter?.[b];
9354
+ if (v = k ? k(S, t, c) : l(S, t, c), v !== -1 && v !== !1)
9338
9355
  k ? d[b] = La(v, t) : f[b] = La(v, t);
9339
9356
  else if (n?.filterMode === "every")
9340
9357
  continue e;
@@ -9372,8 +9389,8 @@ function vf(e, t, n, a) {
9372
9389
  index: m,
9373
9390
  matches: h
9374
9391
  } = g;
9375
- const S = d[m];
9376
- f.push(S), v.set(S.value, h);
9392
+ const p = d[m];
9393
+ f.push(p), v.set(p.value, h);
9377
9394
  }), l.value = f, o.value = v;
9378
9395
  });
9379
9396
  function r(s) {
@@ -9690,22 +9707,22 @@ const mf = F({
9690
9707
  positionClasses: g
9691
9708
  } = mi(e), {
9692
9709
  roundedClasses: m
9693
- } = mt(e), h = ca(e, n), S = Q(void 0);
9694
- return Z(() => e.loading, (b, p) => {
9695
- S.value = !b && typeof p == "string" ? p : typeof b == "boolean" ? void 0 : b;
9710
+ } = mt(e), h = ca(e, n), p = Q(void 0);
9711
+ return Z(() => e.loading, (b, S) => {
9712
+ p.value = !b && typeof S == "string" ? S : typeof b == "boolean" ? void 0 : b;
9696
9713
  }, {
9697
9714
  immediate: !0
9698
9715
  }), te(() => {
9699
- const b = e.link !== !1 && h.isLink.value, p = !e.disabled && e.link !== !1 && (e.link || h.isClickable.value), k = b ? "a" : e.tag, P = !!(a.title || e.title != null), A = !!(a.subtitle || e.subtitle != null), T = P || A, C = !!(a.append || e.appendAvatar || e.appendIcon), E = !!(a.prepend || e.prependAvatar || e.prependIcon), I = !!(a.image || e.image), N = T || E || C, $ = !!(a.text || e.text != null);
9716
+ const b = e.link !== !1 && h.isLink.value, S = !e.disabled && e.link !== !1 && (e.link || h.isClickable.value), k = b ? "a" : e.tag, P = !!(a.title || e.title != null), A = !!(a.subtitle || e.subtitle != null), T = P || A, C = !!(a.append || e.appendAvatar || e.appendIcon), E = !!(a.prepend || e.prependAvatar || e.prependIcon), I = !!(a.image || e.image), N = T || E || C, $ = !!(a.text || e.text != null);
9700
9717
  return He(y(k, W(h.linkProps, {
9701
9718
  class: ["v-card", {
9702
9719
  "v-card--disabled": e.disabled,
9703
9720
  "v-card--flat": e.flat,
9704
9721
  "v-card--hover": e.hover && !(e.disabled || e.flat),
9705
- "v-card--link": p
9722
+ "v-card--link": S
9706
9723
  }, l.value, o.value, i.value, c.value, d.value, f.value, g.value, m.value, s.value, e.class],
9707
9724
  style: [r.value, u.value, v.value, e.style],
9708
- onClick: p && h.navigate,
9725
+ onClick: S && h.navigate,
9709
9726
  tabindex: e.disabled ? -1 : void 0
9710
9727
  }), {
9711
9728
  default: () => [I && w("div", {
@@ -9727,7 +9744,7 @@ const mf = F({
9727
9744
  }, null)]), y(Cl, {
9728
9745
  name: "v-card",
9729
9746
  active: !!e.loading,
9730
- color: S.value
9747
+ color: p.value
9731
9748
  }, {
9732
9749
  default: a.loader
9733
9750
  }), N && y(Sf, {
@@ -9750,8 +9767,8 @@ const mf = F({
9750
9767
  default: () => [a.text?.() ?? e.text]
9751
9768
  }), a.default?.(), a.actions && y(yf, null, {
9752
9769
  default: a.actions
9753
- }), $n(p, "v-card")]
9754
- }), [[wt, p && e.ripple]]);
9770
+ }), $n(S, "v-card")]
9771
+ }), [[wt, S && e.ripple]]);
9755
9772
  }), {};
9756
9773
  }
9757
9774
  }), xf = F({
@@ -10075,8 +10092,8 @@ function Mf(e, t) {
10075
10092
  currentPage: a
10076
10093
  } = t;
10077
10094
  const l = ge(e, "modelValue", e.modelValue, (b) => {
10078
- const p = e.valueComparator;
10079
- return p ? new Set(Oe(b).map((k) => n.value.find((P) => p(k, P.value))?.value ?? k)) : new Set(Oe(b).map((k) => At(k) ? n.value.find((P) => k === P.value)?.value ?? k : n.value.find((P) => Ke(k, P.value))?.value ?? k));
10095
+ const S = e.valueComparator;
10096
+ return S ? new Set(Oe(b).map((k) => n.value.find((P) => S(k, P.value))?.value ?? k)) : new Set(Oe(b).map((k) => At(k) ? n.value.find((P) => k === P.value)?.value ?? k : n.value.find((P) => Ke(k, P.value))?.value ?? k));
10080
10097
  }, (b) => [...b.values()]), o = x(() => n.value.filter((b) => b.selectable)), i = x(() => a.value.filter((b) => b.selectable)), r = x(() => {
10081
10098
  if (typeof e.selectStrategy == "object") return e.selectStrategy;
10082
10099
  switch (e.selectStrategy) {
@@ -10090,36 +10107,36 @@ function Mf(e, t) {
10090
10107
  }
10091
10108
  }), s = Q(null);
10092
10109
  function c(b) {
10093
- return Oe(b).every((p) => l.value.has(p.value));
10110
+ return Oe(b).every((S) => l.value.has(S.value));
10094
10111
  }
10095
10112
  function u(b) {
10096
- return Oe(b).some((p) => l.value.has(p.value));
10113
+ return Oe(b).some((S) => l.value.has(S.value));
10097
10114
  }
10098
- function d(b, p) {
10115
+ function d(b, S) {
10099
10116
  const k = r.value.select({
10100
10117
  items: b,
10101
- value: p,
10118
+ value: S,
10102
10119
  selected: new Set(l.value)
10103
10120
  });
10104
10121
  l.value = k;
10105
10122
  }
10106
- function f(b, p, k) {
10123
+ function f(b, S, k) {
10107
10124
  const P = [];
10108
- if (p = p ?? a.value.findIndex((A) => A.value === b.value), e.selectStrategy !== "single" && k?.shiftKey && s.value !== null) {
10109
- const [A, T] = [s.value, p].sort((C, E) => C - E);
10125
+ if (S = S ?? a.value.findIndex((A) => A.value === b.value), e.selectStrategy !== "single" && k?.shiftKey && s.value !== null) {
10126
+ const [A, T] = [s.value, S].sort((C, E) => C - E);
10110
10127
  P.push(...a.value.slice(A, T + 1).filter((C) => C.selectable));
10111
10128
  } else
10112
- P.push(b), s.value = p;
10129
+ P.push(b), s.value = S;
10113
10130
  d(P, !c([b]));
10114
10131
  }
10115
10132
  function v(b) {
10116
- const p = r.value.selectAll({
10133
+ const S = r.value.selectAll({
10117
10134
  value: b,
10118
10135
  allItems: o.value,
10119
10136
  currentPage: i.value,
10120
10137
  selected: new Set(l.value)
10121
10138
  });
10122
- l.value = p;
10139
+ l.value = S;
10123
10140
  }
10124
10141
  const g = x(() => l.value.size > 0), m = x(() => {
10125
10142
  const b = r.value.allSelected({
@@ -10127,7 +10144,7 @@ function Mf(e, t) {
10127
10144
  currentPage: i.value
10128
10145
  });
10129
10146
  return !!b.length && c(b);
10130
- }), h = V(() => r.value.showSelectAll), S = {
10147
+ }), h = V(() => r.value.showSelectAll), p = {
10131
10148
  toggleSelect: f,
10132
10149
  select: d,
10133
10150
  selectAll: v,
@@ -10139,7 +10156,7 @@ function Mf(e, t) {
10139
10156
  lastSelectedIndex: s,
10140
10157
  selectStrategy: r
10141
10158
  };
10142
- return Te(Mr, S), S;
10159
+ return Te(Mr, p), p;
10143
10160
  }
10144
10161
  function ba() {
10145
10162
  const e = he(Mr);
@@ -10718,10 +10735,10 @@ const Xr = F({
10718
10735
  return I ? I.order === "asc" ? e.sortAscIcon : e.sortDescIcon : e.sortAscIcon;
10719
10736
  }
10720
10737
  const {
10721
- backgroundColorClasses: S,
10738
+ backgroundColorClasses: p,
10722
10739
  backgroundColorStyles: b
10723
10740
  } = bt(() => e.color), {
10724
- displayClasses: p,
10741
+ displayClasses: S,
10725
10742
  mobile: k
10726
10743
  } = Qt(e), P = x(() => ({
10727
10744
  headers: f.value,
@@ -10735,7 +10752,7 @@ const Xr = F({
10735
10752
  getSortIcon: h
10736
10753
  })), A = x(() => ["v-data-table__th", {
10737
10754
  "v-data-table__th--sticky": e.sticky || e.fixedHeader
10738
- }, p.value, v.value]), T = (E) => {
10755
+ }, S.value, v.value]), T = (E) => {
10739
10756
  let {
10740
10757
  column: I,
10741
10758
  x: N,
@@ -10793,7 +10810,7 @@ const Xr = F({
10793
10810
  icon: h(I)
10794
10811
  }, null), e.multiSort && i(I) && w("div", {
10795
10812
  key: "badge",
10796
- class: X(["v-data-table-header__sort-badge", ...S.value]),
10813
+ class: X(["v-data-table-header__sort-badge", ...p.value]),
10797
10814
  style: ue(b.value)
10798
10815
  }, [o.value.findIndex((ae) => ae.key === I.key) + 1])]);
10799
10816
  }
@@ -10992,8 +11009,8 @@ const Xr = F({
10992
11009
  onClick: e.onClick,
10993
11010
  onContextmenu: e.onContextmenu,
10994
11011
  onDblclick: e.onDblclick
10995
- }, [e.item && m.value.map((h, S) => {
10996
- const b = e.item, p = `item.${h.key}`, k = `header.${h.key}`, P = {
11012
+ }, [e.item && m.value.map((h, p) => {
11013
+ const b = e.item, S = `item.${h.key}`, k = `header.${h.key}`, P = {
10997
11014
  index: e.index,
10998
11015
  item: b.raw,
10999
11016
  internalItem: b,
@@ -11074,13 +11091,13 @@ const Xr = F({
11074
11091
  variant: "text",
11075
11092
  onClick: an(() => d(b), ["stop"])
11076
11093
  }, null);
11077
- if (n[p] && !l.value) return n[p](P);
11094
+ if (n[S] && !l.value) return n[S](P);
11078
11095
  const N = pe(P.value);
11079
11096
  return l.value ? w(re, null, [w("div", {
11080
11097
  class: "v-data-table__td-title"
11081
11098
  }, [n[k]?.(A) ?? h.title]), w("div", {
11082
11099
  class: "v-data-table__td-value"
11083
- }, [n[p]?.(P) ?? N])]) : N;
11100
+ }, [n[S]?.(P) ?? N])]) : N;
11084
11101
  }
11085
11102
  });
11086
11103
  })]));
@@ -11146,7 +11163,7 @@ const Xr = F({
11146
11163
  colspan: l.value.length
11147
11164
  }, [a["no-data"]?.() ?? f(e.noDataText)])]) : w(re, null, [e.items.map((m, h) => {
11148
11165
  if (m.type === "group") {
11149
- const p = {
11166
+ const S = {
11150
11167
  index: h,
11151
11168
  item: m,
11152
11169
  columns: l.value,
@@ -11157,21 +11174,21 @@ const Xr = F({
11157
11174
  toggleGroup: u,
11158
11175
  isGroupOpen: d
11159
11176
  };
11160
- return a["group-header"] ? a["group-header"](p) : y(Jf, W({
11177
+ return a["group-header"] ? a["group-header"](S) : y(Jf, W({
11161
11178
  key: `group-header_${m.id}`,
11162
11179
  item: m
11163
- }, io(n, ":groupHeader", () => p), g), a);
11180
+ }, io(n, ":groupHeader", () => S), g), a);
11164
11181
  }
11165
11182
  if (m.type === "group-summary") {
11166
- const p = {
11183
+ const S = {
11167
11184
  index: h,
11168
11185
  item: m,
11169
11186
  columns: l.value,
11170
11187
  toggleGroup: u
11171
11188
  };
11172
- return a["group-summary"]?.(p) ?? "";
11189
+ return a["group-summary"]?.(S) ?? "";
11173
11190
  }
11174
- const S = {
11191
+ const p = {
11175
11192
  index: h,
11176
11193
  item: m.raw,
11177
11194
  internalItem: m,
@@ -11181,7 +11198,7 @@ const Xr = F({
11181
11198
  isSelected: s,
11182
11199
  toggleSelect: c
11183
11200
  }, b = {
11184
- ...S,
11201
+ ...p,
11185
11202
  props: W({
11186
11203
  key: `item_${m.key ?? m.index}`,
11187
11204
  onClick: o.value ? () => {
@@ -11195,15 +11212,15 @@ const Xr = F({
11195
11212
  expandIcon: e.expandIcon,
11196
11213
  density: e.density,
11197
11214
  mobile: v.value
11198
- }, io(n, ":row", () => S), typeof e.rowProps == "function" ? e.rowProps({
11199
- item: S.item,
11200
- index: S.index,
11201
- internalItem: S.internalItem
11215
+ }, io(n, ":row", () => p), typeof e.rowProps == "function" ? e.rowProps({
11216
+ item: p.item,
11217
+ index: p.index,
11218
+ internalItem: p.internalItem
11202
11219
  }) : e.rowProps)
11203
11220
  };
11204
11221
  return w(re, {
11205
11222
  key: b.props.key
11206
- }, [a.item ? a.item(b) : y(ev, b.props, a), r(m) && a["expanded-row"]?.(S)]);
11223
+ }, [a.item ? a.item(b) : y(ev, b.props, a), r(m) && a["expanded-row"]?.(p)]);
11207
11224
  })]);
11208
11225
  }), {};
11209
11226
  }
@@ -11353,10 +11370,10 @@ const ov = F({
11353
11370
  showSelect: V(() => e.showSelect),
11354
11371
  showExpand: V(() => e.showExpand)
11355
11372
  }), {
11356
- items: S
11373
+ items: p
11357
11374
  } = lv(e, f), b = V(() => e.search), {
11358
- filteredItems: p
11359
- } = vf(e, S, b, {
11375
+ filteredItems: S
11376
+ } = vf(e, p, b, {
11360
11377
  transform: (ve) => ve.columns,
11361
11378
  customKeyFilter: h
11362
11379
  }), {
@@ -11379,7 +11396,7 @@ const ov = F({
11379
11396
  disableSort: d
11380
11397
  }), {
11381
11398
  sortedItems: I
11382
- } = Wf(e, p, P, {
11399
+ } = Wf(e, S, P, {
11383
11400
  transform: (ve) => ({
11384
11401
  ...ve.raw,
11385
11402
  ...ve.columns
@@ -11412,7 +11429,7 @@ const ov = F({
11412
11429
  someSelected: H,
11413
11430
  allSelected: B
11414
11431
  } = Mf(e, {
11415
- allItems: S,
11432
+ allItems: p,
11416
11433
  currentPage: ae
11417
11434
  }), {
11418
11435
  isExpanded: oe,
@@ -12691,8 +12708,8 @@ function tm(e, t, n, a, l, o) {
12691
12708
  "overflow"
12692
12709
  ], u = (g, m) => {
12693
12710
  const h = window.getComputedStyle(g);
12694
- c.forEach((S) => {
12695
- m.style[S] = h[S];
12711
+ c.forEach((p) => {
12712
+ m.style[p] = h[p];
12696
12713
  });
12697
12714
  }, d = (g, m = {}) => {
12698
12715
  Object.assign(g.style, {
@@ -12985,23 +13002,23 @@ function Dt(e, t) {
12985
13002
  function Mo(e, t, n, a, l) {
12986
13003
  const i = l.axis === "x", r = e === document.scrollingElement, s = i ? "scrollLeft" : "scrollTop", c = i ? "clientWidth" : "clientHeight", u = i ? "offsetWidth" : "offsetHeight", d = i ? "scrollWidth" : "scrollHeight", f = i ? t.clientX : t.clientY, v = i ? a.left : a.top, g = i ? n.overflowX : n.overflowY;
12987
13004
  if (r) {
12988
- const m = e[s], h = e[c], S = m > 0, b = m + h < (i ? l.state.rootScrollWidth || 0 : e[d]);
13005
+ const m = e[s], h = e[c], p = m > 0, b = m + h < (i ? l.state.rootScrollWidth || 0 : e[d]);
12989
13006
  return i ? {
12990
- left: S && f < h * 0.075,
13007
+ left: p && f < h * 0.075,
12991
13008
  right: b && f > h * (1 - 0.075)
12992
13009
  } : {
12993
- up: S && f < h * 0.075,
13010
+ up: p && f < h * 0.075,
12994
13011
  down: b && f > h * (1 - 0.075)
12995
13012
  };
12996
13013
  }
12997
13014
  if ((g === "auto" || g === "scroll") && e !== document.body && e !== document.documentElement) {
12998
- const m = e[d], h = e[u], S = e[s], b = S > 0, p = S < m - h;
13015
+ const m = e[d], h = e[u], p = e[s], b = p > 0, S = p < m - h;
12999
13016
  return i ? {
13000
13017
  left: b && f < v + h * 0.075,
13001
- right: p && f > v + h * (1 - 0.075)
13018
+ right: S && f > v + h * (1 - 0.075)
13002
13019
  } : {
13003
13020
  up: b && f < v + h * 0.075,
13004
- down: p && f > v + h * (1 - 0.075)
13021
+ down: S && f > v + h * (1 - 0.075)
13005
13022
  };
13006
13023
  }
13007
13024
  return i ? { left: !1, right: !1 } : { up: !1, down: !1 };
@@ -13163,38 +13180,43 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
13163
13180
  }),
13164
13181
  emits: /* @__PURE__ */ Ve(["update:showAdjustColumns"], ["update:sortedHeaders"]),
13165
13182
  setup(e, { emit: t }) {
13166
- const n = Jt(), a = t, l = e, o = Ne(e, "sortedHeaders"), i = j(), r = (u) => {
13167
- a("update:showAdjustColumns", u);
13168
- }, s = j(o.value);
13183
+ const n = Jt(), a = t, l = e, o = Ne(e, "sortedHeaders"), i = j(), r = (d) => {
13184
+ a("update:showAdjustColumns", d);
13185
+ }, s = j(o.value), c = (d) => {
13186
+ o.value[d].isVisible = !o.value[d].isVisible;
13187
+ };
13169
13188
  Z(
13189
+ () => o.value,
13190
+ (d) => s.value = d
13191
+ ), Z(
13170
13192
  () => l.showAdjustColumns,
13171
- (u) => {
13172
- u && setTimeout(() => {
13193
+ (d) => {
13194
+ d && setTimeout(() => {
13173
13195
  ym({
13174
13196
  parent: i,
13175
13197
  values: s,
13176
- draggable: (d) => d.classList.contains("kanban-card"),
13198
+ draggable: (f) => f.classList.contains("kanban-card"),
13177
13199
  plugins: [bv()],
13178
- handleEnd: (d) => {
13179
- us(d), c(d);
13200
+ handleEnd: (f) => {
13201
+ us(f), u(f);
13180
13202
  }
13181
13203
  });
13182
13204
  }, 100);
13183
13205
  }
13184
13206
  );
13185
- const c = (u) => {
13186
- const d = o.value.find(
13187
- (f) => f.sequence === u.initialIndex
13207
+ const u = (d) => {
13208
+ const f = o.value.find(
13209
+ (v) => v.sequence === d.initialIndex
13188
13210
  );
13189
- if (u.initialIndex < u.targetIndex)
13190
- for (const f of o.value)
13191
- f.sequence > u.initialIndex && f.sequence <= u.targetIndex && f.sequence--;
13211
+ if (d.initialIndex < d.targetIndex)
13212
+ for (const v of o.value)
13213
+ v.sequence > d.initialIndex && v.sequence <= d.targetIndex && v.sequence--;
13192
13214
  else
13193
- for (const f of o.value)
13194
- f.sequence < u.initialIndex && f.sequence >= u.targetIndex && f.sequence++;
13195
- d && (d.sequence = u.targetIndex);
13215
+ for (const v of o.value)
13216
+ v.sequence < d.initialIndex && v.sequence >= d.targetIndex && v.sequence++;
13217
+ f && (f.sequence = d.targetIndex);
13196
13218
  };
13197
- return (u, d) => (q(), le(Ar, {
13219
+ return (d, f) => (q(), le(Ar, {
13198
13220
  "model-value": l.showAdjustColumns,
13199
13221
  "onUpdate:modelValue": r,
13200
13222
  width: "500"
@@ -13211,10 +13233,10 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
13211
13233
  ref: i,
13212
13234
  class: "kanban-board-drop-zone mb-4 rounded d-flex flex-column gap-4"
13213
13235
  }, [
13214
- (q(!0), Pe(re, null, Xt(s.value, (f) => (q(), Pe(re, {
13215
- key: f.sequence
13236
+ (q(!0), Pe(re, null, Xt(s.value, (v, g) => (q(), Pe(re, {
13237
+ key: v.sequence
13216
13238
  }, [
13217
- f ? (q(), le(Tt, {
13239
+ v ? (q(), le(Tt, {
13218
13240
  key: 0,
13219
13241
  variant: "outlined",
13220
13242
  ripple: !1,
@@ -13232,13 +13254,13 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
13232
13254
  size: "20",
13233
13255
  icon: "ri-draggable"
13234
13256
  }),
13235
- $e(" " + pe(f.title), 1)
13257
+ $e(" " + pe(v.title), 1)
13236
13258
  ]),
13237
13259
  y(ce, {
13238
- onClick: (v) => f.isVisible = !f.isVisible,
13260
+ onClick: (m) => c(g),
13239
13261
  class: "drag-handler",
13240
13262
  size: "18",
13241
- icon: f.isVisible ? "ri-eye-fill" : "ri-eye-off-fill"
13263
+ icon: v.isVisible ? "ri-eye-fill" : "ri-eye-off-fill"
13242
13264
  }, null, 8, ["onClick", "icon"])
13243
13265
  ])
13244
13266
  ])
@@ -13260,7 +13282,7 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
13260
13282
  _: 1
13261
13283
  }, 8, ["model-value"]));
13262
13284
  }
13263
- }), Cm = /* @__PURE__ */ hn(wm, [["__scopeId", "data-v-922cacda"]]);
13285
+ }), Cm = /* @__PURE__ */ hn(wm, [["__scopeId", "data-v-209af8cf"]]);
13264
13286
  function xm({
13265
13287
  tableRef: e,
13266
13288
  props: t,
@@ -13272,7 +13294,7 @@ function xm({
13272
13294
  let d = null, f = null, v = null;
13273
13295
  const g = () => {
13274
13296
  s.value = e.value?.$el ?? e.value ?? null, c.value = s.value?.querySelector(".v-table__wrapper") ?? null, u.value = c.value?.querySelector(".v-table__wrapper tbody") ?? c.value?.querySelector(".v-table__wrapper table") ?? s.value?.querySelector("tbody") ?? null;
13275
- }, m = () => u.value?.getBoundingClientRect().height ?? null, h = () => window.innerHeight * (a / 100), S = (k) => {
13297
+ }, m = () => u.value?.getBoundingClientRect().height ?? null, h = () => window.innerHeight * (a / 100), p = (k) => {
13276
13298
  i.value = !k, r.value = !0, o.value = k ? `${a}vh` : void 0, requestAnimationFrame(() => r.value = !1);
13277
13299
  }, b = () => {
13278
13300
  if (r.value) return;
@@ -13283,8 +13305,8 @@ function xm({
13283
13305
  const k = m();
13284
13306
  if (k == null) return;
13285
13307
  const P = h(), A = o.value !== null, T = k > P + l, C = k < P - l;
13286
- A && T ? S(!0) : A && C && S(!1);
13287
- }, p = () => {
13308
+ A && T ? p(!0) : A && C && p(!1);
13309
+ }, S = () => {
13288
13310
  v == null && !t.disableScroll && (v = requestAnimationFrame(() => {
13289
13311
  v = null, b();
13290
13312
  }));
@@ -13293,25 +13315,25 @@ function xm({
13293
13315
  await Se(), g();
13294
13316
  const k = c.value;
13295
13317
  if (!k) return;
13296
- d = new ResizeObserver(() => p()), d.observe(k);
13318
+ d = new ResizeObserver(() => S()), d.observe(k);
13297
13319
  const P = u.value;
13298
- P && (f = new MutationObserver(() => p()), f.observe(P, { childList: !0, subtree: !0 })), window.addEventListener("resize", p, { passive: !0 }), Z(
13320
+ P && (f = new MutationObserver(() => S()), f.observe(P, { childList: !0, subtree: !0 })), window.addEventListener("resize", S, { passive: !0 }), Z(
13299
13321
  [
13300
13322
  () => t.items.length,
13301
13323
  () => n.value.pageSize,
13302
13324
  () => n.value.page
13303
13325
  ],
13304
13326
  async () => {
13305
- await Se(), p();
13327
+ await Se(), S();
13306
13328
  },
13307
13329
  { flush: "post" }
13308
13330
  ), Z(
13309
13331
  () => t.headers.map((A) => ({ v: A.value, vis: A.isVisible })),
13310
- p,
13332
+ S,
13311
13333
  { deep: !0, flush: "post" }
13312
- ), p();
13334
+ ), S();
13313
13335
  }), lt(() => {
13314
- d?.disconnect(), f?.disconnect(), v != null && cancelAnimationFrame(v), window.removeEventListener("resize", p), d = f = null, v = null;
13336
+ d?.disconnect(), f?.disconnect(), v != null && cancelAnimationFrame(v), window.removeEventListener("resize", S), d = f = null, v = null;
13315
13337
  }), { tableHeight: o, tableHideOverflow: i };
13316
13338
  }
13317
13339
  const km = /* @__PURE__ */ xe({
@@ -13649,19 +13671,19 @@ const Xm = /* @__PURE__ */ xe({
13649
13671
  try {
13650
13672
  if (n.header.displayValue)
13651
13673
  return n.header.displayValue(n.item);
13652
- const S = n.header.value, b = S.split(".");
13674
+ const p = n.header.value, b = p.split(".");
13653
13675
  if (b.length == 1)
13654
- return al(n.header.mask, n.item[S]);
13676
+ return al(n.header.mask, n.item[p]);
13655
13677
  {
13656
- let p = n.item;
13678
+ let S = n.item;
13657
13679
  for (let k of b)
13658
- p = p[k];
13659
- return al(n.header.mask, p);
13680
+ S = S[k];
13681
+ return al(n.header.mask, S);
13660
13682
  }
13661
- } catch (S) {
13683
+ } catch (p) {
13662
13684
  return console.error(
13663
13685
  `${t("errorGettingHeaderValue")} ${n.header.value}:`,
13664
- S
13686
+ p
13665
13687
  ), "";
13666
13688
  }
13667
13689
  }, v = () => l.value, g = () => {
@@ -13671,8 +13693,8 @@ const Xm = /* @__PURE__ */ xe({
13671
13693
  }, m = () => !(n.disableEdit || !n.header.editable), h = () => {
13672
13694
  console.warn(t("editFnNotDefined"));
13673
13695
  };
13674
- return (S, b) => (q(), le(dv, null, {
13675
- default: O(({ isHovering: p, props: k }) => [
13696
+ return (p, b) => (q(), le(dv, null, {
13697
+ default: O(({ isHovering: S, props: k }) => [
13676
13698
  y(un, W({ class: "d-flex justify-space-between position-relative align-center" }, k), {
13677
13699
  default: O(() => [
13678
13700
  y(Qe, {
@@ -13707,7 +13729,7 @@ const Xm = /* @__PURE__ */ xe({
13707
13729
  ]),
13708
13730
  _: 1
13709
13731
  }, 8, ["cols"]),
13710
- p && m() && !v() ? (q(), le(ce, {
13732
+ S && m() && !v() ? (q(), le(ce, {
13711
13733
  key: 0,
13712
13734
  class: "cursor-pointer position-absolute right-0",
13713
13735
  onClick: b[4] || (b[4] = (P) => g()),
@@ -13806,7 +13828,7 @@ const Xm = /* @__PURE__ */ xe({
13806
13828
  toggleSort: h,
13807
13829
  filterFn: e.filterFn,
13808
13830
  sortedHeaders: a.value,
13809
- "onUpdate:sortedHeaders": f[0] || (f[0] = (S) => a.value = S)
13831
+ "onUpdate:sortedHeaders": f[0] || (f[0] = (p) => a.value = p)
13810
13832
  }, null, 8, ["columns", "isSorted", "getSortIcon", "toggleSort", "filterFn", "sortedHeaders"])
13811
13833
  ]),
13812
13834
  "item.actions": O(({ item: v }) => [