readytech-ui-library-v2 0.0.35 → 0.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { resolveComponent as p, createBlock as S, openBlock as b, normalizeClass as $t, withCtx as k, createCommentVNode as U, createElementVNode as fe, createTextVNode as E, toDisplayString as A, renderSlot as de, createElementBlock as Z, createVNode as c, computed as _, Fragment as $, renderList as ae, reactive as at, watchEffect as jt, toRefs as ml, capitalize as fl, shallowRef as se, warn as dn, getCurrentInstance as Ra, ref as G, unref as Ve, provide as Re, inject as ge, defineComponent as Aa, h as Wt, camelize as vl, isRef as it, watch as be, onScopeDispose as hl, effectScope as Da, toRaw as oe, toRef as D, onBeforeUnmount as Ye, onMounted as mn, onUpdated as Pa, mergeProps as F, Text as Oa, readonly as gl, resolveDynamicComponent as Ma, nextTick as Me, withDirectives as Be, TransitionGroup as fn, Transition as vn, vShow as ot, onBeforeMount as hn, resolveDirective as Gt, withModifiers as q, toHandlers as gn, withKeys as X, normalizeProps as yl, guardReactiveProps as bl, createStaticVNode as La, normalizeStyle as pl } from "vue";
1
+ import { resolveComponent as p, createBlock as S, openBlock as b, normalizeClass as $t, withCtx as k, createCommentVNode as U, createElementVNode as fe, createTextVNode as E, toDisplayString as A, renderSlot as de, createElementBlock as Z, createVNode as c, computed as _, Fragment as $, renderList as ae, reactive as at, watchEffect as jt, toRefs as ml, capitalize as fl, shallowRef as se, warn as dn, getCurrentInstance as Ra, ref as G, unref as Ve, provide as Re, inject as ge, defineComponent as Aa, h as Wt, camelize as vl, isRef as it, watch as be, onScopeDispose as hl, effectScope as Da, toRaw as oe, toRef as D, onBeforeUnmount as Ye, onMounted as mn, onUpdated as Pa, mergeProps as F, Text as Ma, readonly as gl, resolveDynamicComponent as Oa, nextTick as Oe, withDirectives as Be, TransitionGroup as fn, Transition as vn, vShow as ot, onBeforeMount as hn, resolveDirective as Gt, withModifiers as q, toHandlers as gn, withKeys as X, normalizeProps as yl, guardReactiveProps as bl, createStaticVNode as La, normalizeStyle as pl } from "vue";
2
2
  const P = (e, n) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [l, i] of n)
@@ -768,7 +768,7 @@ function bi(e) {
768
768
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1;
769
769
  return Math.max(n, Math.min(t, e));
770
770
  }
771
- function On(e, n) {
771
+ function Mn(e, n) {
772
772
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0";
773
773
  return e + t.repeat(Math.max(0, n - e.length));
774
774
  }
@@ -844,7 +844,7 @@ function nn(e, n) {
844
844
  return e.includes(n);
845
845
  }
846
846
  const ze = () => [Function, Array];
847
- function Mn(e, n) {
847
+ function On(e, n) {
848
848
  return n = "on" + fl(n), !!(e[n] || e[`${n}Once`] || e[`${n}Capture`] || e[`${n}OnceCapture`] || e[`${n}CaptureOnce`]);
849
849
  }
850
850
  function xl(e) {
@@ -911,18 +911,18 @@ function Vi(e, n) {
911
911
  function Ln(e, n) {
912
912
  return e === "start" ? n ? "right" : "left" : e === "end" ? n ? "left" : "right" : e;
913
913
  }
914
- const tt = 2.4, En = 0.2126729, Nn = 0.7151522, Hn = 0.072175, Ti = 0.55, Bi = 0.58, Ri = 0.57, Ai = 0.62, Ot = 0.03, Fn = 1.45, Di = 5e-4, Pi = 1.25, Oi = 1.25, Mi = 0.078, zn = 12.82051282051282, Mt = 0.06, Li = 1e-3;
914
+ const tt = 2.4, En = 0.2126729, Nn = 0.7151522, Hn = 0.072175, Ti = 0.55, Bi = 0.58, Ri = 0.57, Ai = 0.62, Mt = 0.03, Fn = 1.45, Di = 5e-4, Pi = 1.25, Mi = 1.25, Oi = 0.078, zn = 12.82051282051282, Ot = 0.06, Li = 1e-3;
915
915
  function Un(e, n) {
916
916
  const t = (e.r / 255) ** tt, l = (e.g / 255) ** tt, i = (e.b / 255) ** tt, a = (n.r / 255) ** tt, o = (n.g / 255) ** tt, s = (n.b / 255) ** tt;
917
917
  let r = t * En + l * Nn + i * Hn, u = a * En + o * Nn + s * Hn;
918
- if (r <= Ot && (r += (Ot - r) ** Fn), u <= Ot && (u += (Ot - u) ** Fn), Math.abs(u - r) < Di) return 0;
918
+ if (r <= Mt && (r += (Mt - r) ** Fn), u <= Mt && (u += (Mt - u) ** Fn), Math.abs(u - r) < Di) return 0;
919
919
  let v;
920
920
  if (u > r) {
921
921
  const d = (u ** Ti - r ** Bi) * Pi;
922
- v = d < Li ? 0 : d < Mi ? d - d * zn * Mt : d - Mt;
922
+ v = d < Li ? 0 : d < Oi ? d - d * zn * Ot : d - Ot;
923
923
  } else {
924
- const d = (u ** Ai - r ** Ri) * Oi;
925
- v = d > -1e-3 ? 0 : d > -0.078 ? d - d * zn * Mt : d + Mt;
924
+ const d = (u ** Ai - r ** Ri) * Mi;
925
+ v = d > -1e-3 ? 0 : d > -0.078 ? d - d * zn * Ot : d + Ot;
926
926
  }
927
927
  return v * 100;
928
928
  }
@@ -1055,7 +1055,7 @@ function zi(e) {
1055
1055
  };
1056
1056
  }
1057
1057
  function Ui(e) {
1058
- return e.startsWith("#") && (e = e.slice(1)), e = e.replace(/([^0-9a-f])/gi, "F"), (e.length === 3 || e.length === 4) && (e = e.split("").map((n) => n + n).join("")), e.length !== 6 && (e = On(On(e, 6), 8, "F")), e;
1058
+ return e.startsWith("#") && (e = e.slice(1)), e = e.replace(/([^0-9a-f])/gi, "F"), (e.length === 3 || e.length === 4) && (e = e.split("").map((n) => n + n).join("")), e.length !== 6 && (e = Mn(Mn(e, 6), 8, "F")), e;
1059
1059
  }
1060
1060
  function $i(e) {
1061
1061
  const n = Math.abs(Un(gt(0), gt(e)));
@@ -1622,7 +1622,7 @@ const Zi = V({
1622
1622
  });
1623
1623
  }), {};
1624
1624
  }
1625
- }), Ol = V({
1625
+ }), Ml = V({
1626
1626
  day: {
1627
1627
  type: Object,
1628
1628
  default: () => ({})
@@ -1656,7 +1656,7 @@ const Zi = V({
1656
1656
  type: Number,
1657
1657
  required: !0
1658
1658
  },
1659
- ...Ol()
1659
+ ...Ml()
1660
1660
  },
1661
1661
  setup(e, n) {
1662
1662
  let {
@@ -1775,7 +1775,7 @@ function qt(e) {
1775
1775
  variantClasses: t
1776
1776
  };
1777
1777
  }
1778
- const Ml = V({
1778
+ const Ol = V({
1779
1779
  baseColor: String,
1780
1780
  divided: Boolean,
1781
1781
  ...Je(),
@@ -1788,7 +1788,7 @@ const Ml = V({
1788
1788
  ...et()
1789
1789
  }, "VBtnGroup"), qn = j()({
1790
1790
  name: "VBtnGroup",
1791
- props: Ml(),
1791
+ props: Ol(),
1792
1792
  setup(e, n) {
1793
1793
  let {
1794
1794
  slots: t
@@ -1966,7 +1966,7 @@ function lo(e, n) {
1966
1966
  }), t;
1967
1967
  }
1968
1968
  const Hl = Symbol.for("vuetify:v-btn-toggle"), ao = V({
1969
- ...Ml(),
1969
+ ...Ol(),
1970
1970
  ...wn()
1971
1971
  }, "VBtnToggle");
1972
1972
  j()({
@@ -2193,7 +2193,7 @@ const co = V({
2193
2193
  return J(() => {
2194
2194
  var f, g;
2195
2195
  const v = (f = l.default) == null ? void 0 : f.call(l);
2196
- v && (i.value = (g = Cl(v).filter((m) => m.type === Oa && m.children && typeof m.children == "string")[0]) == null ? void 0 : g.children);
2196
+ v && (i.value = (g = Cl(v).filter((m) => m.type === Ma && m.children && typeof m.children == "string")[0]) == null ? void 0 : g.children);
2197
2197
  const d = !!(t.onClick || t.onClickOnce);
2198
2198
  return c(o.value.component, {
2199
2199
  tag: e.tag,
@@ -2303,7 +2303,7 @@ const fo = V({
2303
2303
  } = mo(), {
2304
2304
  resizeRef: h,
2305
2305
  contentRect: y
2306
- } = sn(), C = _(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), x = _(() => Number(e.width)), I = _(() => r.value ? Number(e.size) : y.value ? y.value.width : Math.max(x.value, 32)), O = _(() => l / (1 - x.value / I.value) * 2), L = _(() => x.value / I.value * O.value), z = _(() => ce((100 - C.value) / 100 * i));
2306
+ } = sn(), C = _(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), x = _(() => Number(e.width)), I = _(() => r.value ? Number(e.size) : y.value ? y.value.width : Math.max(x.value, 32)), M = _(() => l / (1 - x.value / I.value) * 2), L = _(() => x.value / I.value * M.value), z = _(() => ce((100 - C.value) / 100 * i));
2307
2307
  return jt(() => {
2308
2308
  g.value = a.value, h.value = a.value;
2309
2309
  }), J(() => c(e.tag, {
@@ -2324,7 +2324,7 @@ const fo = V({
2324
2324
  transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))`
2325
2325
  },
2326
2326
  xmlns: "http://www.w3.org/2000/svg",
2327
- viewBox: `0 0 ${O.value} ${O.value}`
2327
+ viewBox: `0 0 ${M.value} ${M.value}`
2328
2328
  }, [c("circle", {
2329
2329
  class: ["v-progress-circular__underlay", d.value],
2330
2330
  style: f.value,
@@ -2371,7 +2371,7 @@ function go() {
2371
2371
  }
2372
2372
  function In(e, n) {
2373
2373
  var d, f;
2374
- const t = Ma("RouterLink"), l = _(() => !!(e.href || e.to)), i = _(() => (l == null ? void 0 : l.value) || Mn(n, "click") || Mn(e, "click"));
2374
+ const t = Oa("RouterLink"), l = _(() => !!(e.href || e.to)), i = _(() => (l == null ? void 0 : l.value) || On(n, "click") || On(e, "click"));
2375
2375
  if (typeof t == "string" || !("useLink" in t)) {
2376
2376
  const g = D(e, "href");
2377
2377
  return {
@@ -2417,7 +2417,7 @@ function yo(e, n) {
2417
2417
  var t;
2418
2418
  return (t = e.isActive) == null ? void 0 : t.value;
2419
2419
  }, (t) => {
2420
- e.isLink.value && t && n && Me(() => {
2420
+ e.isLink.value && t && n && Oe(() => {
2421
2421
  n(!0);
2422
2422
  });
2423
2423
  }, {
@@ -2676,7 +2676,7 @@ const Jt = {
2676
2676
  variant: e.variant
2677
2677
  };
2678
2678
  }), {
2679
- colorClasses: O,
2679
+ colorClasses: M,
2680
2680
  colorStyles: L,
2681
2681
  variantClasses: z
2682
2682
  } = qt(I), N = _(() => (h == null ? void 0 : h.disabled.value) || e.disabled), ne = _(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), me = _(() => {
@@ -2702,7 +2702,7 @@ const Jt = {
2702
2702
  "v-btn--readonly": e.readonly,
2703
2703
  "v-btn--slim": e.slim,
2704
2704
  "v-btn--stacked": e.stacked
2705
- }, i.value, a.value, O.value, o.value, r.value, u.value, d.value, f.value, g.value, z.value, e.class],
2705
+ }, i.value, a.value, M.value, o.value, r.value, u.value, d.value, f.value, g.value, z.value, e.class],
2706
2706
  style: [L.value, s.value, v.value, m.value, e.style],
2707
2707
  "aria-busy": e.loading ? !0 : void 0,
2708
2708
  disabled: N.value || void 0,
@@ -2781,7 +2781,7 @@ const Jt = {
2781
2781
  type: Number,
2782
2782
  default: 24
2783
2783
  },
2784
- ...Ol()
2784
+ ...Ml()
2785
2785
  }, "VCalendarDay"), Zt = j()({
2786
2786
  name: "VCalendarDay",
2787
2787
  props: Yl(),
@@ -3278,31 +3278,31 @@ const Ao = {
3278
3278
  be(() => e.src, () => {
3279
3279
  h(v.value !== "idle");
3280
3280
  }), be(m, (w, T) => {
3281
- !w && T && u.value && O(u.value);
3281
+ !w && T && u.value && M(u.value);
3282
3282
  }), hn(() => h());
3283
3283
  function h(w) {
3284
3284
  if (!(e.eager && w) && !(yn && !w && !e.eager)) {
3285
3285
  if (v.value = "loading", g.value.lazySrc) {
3286
3286
  const T = new Image();
3287
- T.src = g.value.lazySrc, O(T, null);
3287
+ T.src = g.value.lazySrc, M(T, null);
3288
3288
  }
3289
- g.value.src && Me(() => {
3289
+ g.value.src && Oe(() => {
3290
3290
  var T;
3291
3291
  t("loadstart", ((T = u.value) == null ? void 0 : T.currentSrc) || g.value.src), setTimeout(() => {
3292
3292
  var W;
3293
3293
  if (!s.isUnmounted)
3294
3294
  if ((W = u.value) != null && W.complete) {
3295
3295
  if (u.value.naturalWidth || C(), v.value === "error") return;
3296
- m.value || O(u.value, null), v.value === "loading" && y();
3296
+ m.value || M(u.value, null), v.value === "loading" && y();
3297
3297
  } else
3298
- m.value || O(u.value), x();
3298
+ m.value || M(u.value), x();
3299
3299
  });
3300
3300
  });
3301
3301
  }
3302
3302
  }
3303
3303
  function y() {
3304
3304
  var w;
3305
- s.isUnmounted || (x(), O(u.value), v.value = "loaded", t("load", ((w = u.value) == null ? void 0 : w.currentSrc) || g.value.src));
3305
+ s.isUnmounted || (x(), M(u.value), v.value = "loaded", t("load", ((w = u.value) == null ? void 0 : w.currentSrc) || g.value.src));
3306
3306
  }
3307
3307
  function C() {
3308
3308
  var w;
@@ -3316,7 +3316,7 @@ const Ao = {
3316
3316
  Ye(() => {
3317
3317
  clearTimeout(I);
3318
3318
  });
3319
- function O(w) {
3319
+ function M(w) {
3320
3320
  let T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
3321
3321
  const W = () => {
3322
3322
  if (clearTimeout(I), s.isUnmounted) return;
@@ -3432,7 +3432,7 @@ const Ao = {
3432
3432
  naturalHeight: f
3433
3433
  };
3434
3434
  }
3435
- }), Oo = V({
3435
+ }), Mo = V({
3436
3436
  start: Boolean,
3437
3437
  end: Boolean,
3438
3438
  icon: le,
@@ -3450,7 +3450,7 @@ const Ao = {
3450
3450
  })
3451
3451
  }, "VAvatar"), Ht = j()({
3452
3452
  name: "VAvatar",
3453
- props: Oo(),
3453
+ props: Mo(),
3454
3454
  setup(e, n) {
3455
3455
  let {
3456
3456
  slots: t
@@ -3502,7 +3502,7 @@ const Ao = {
3502
3502
  }, null) : e.text, Kt(!1, "v-avatar")]
3503
3503
  })), {};
3504
3504
  }
3505
- }), Mo = Symbol.for("vuetify:display"), Lo = V({
3505
+ }), Oo = Symbol.for("vuetify:display"), Lo = V({
3506
3506
  mobile: {
3507
3507
  type: Boolean,
3508
3508
  default: !1
@@ -3513,7 +3513,7 @@ function Eo() {
3513
3513
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
3514
3514
  mobile: null
3515
3515
  }, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : je();
3516
- const t = ge(Mo);
3516
+ const t = ge(Oo);
3517
3517
  if (!t) throw new Error("Could not find Vuetify display injection");
3518
3518
  const l = _(() => e.mobile ? !0 : typeof e.mobileBreakpoint == "number" ? t.width.value < e.mobileBreakpoint : e.mobileBreakpoint ? t.width.value < t.thresholds.value[e.mobileBreakpoint] : e.mobile === null ? t.mobile.value : !1), i = _(() => n ? {
3519
3519
  [`${n}--mobile`]: l.value
@@ -3715,20 +3715,20 @@ const Go = Symbol.for("vuetify:v-slide-group"), aa = V({
3715
3715
  be(() => [o.selected.value, g.value, h.value, d.value], () => {
3716
3716
  cancelAnimationFrame(R), R = requestAnimationFrame(() => {
3717
3717
  if (g.value && h.value) {
3718
- const M = d.value ? "width" : "height";
3719
- u.value = g.value[M], v.value = h.value[M], s.value = u.value + 1 < v.value;
3718
+ const O = d.value ? "width" : "height";
3719
+ u.value = g.value[O], v.value = h.value[O], s.value = u.value + 1 < v.value;
3720
3720
  }
3721
3721
  if (x.value >= 0 && m.el) {
3722
- const M = m.el.children[I.value];
3723
- L(M, e.centerActive);
3722
+ const O = m.el.children[I.value];
3723
+ L(O, e.centerActive);
3724
3724
  }
3725
3725
  });
3726
3726
  });
3727
3727
  }
3728
- const O = se(!1);
3729
- function L(R, M) {
3728
+ const M = se(!1);
3729
+ function L(R, O) {
3730
3730
  let Y = 0;
3731
- M ? Y = jo({
3731
+ O ? Y = jo({
3732
3732
  containerElement: f.el,
3733
3733
  isHorizontal: d.value,
3734
3734
  selectedElement: R
@@ -3741,8 +3741,8 @@ const Go = Symbol.for("vuetify:v-slide-group"), aa = V({
3741
3741
  }
3742
3742
  function z(R) {
3743
3743
  if (!yt || !f.el) return;
3744
- const M = kt(d.value, f.el), Y = na(d.value, l.value, f.el);
3745
- if (!(nl(d.value, f.el) <= M || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
3744
+ const O = kt(d.value, f.el), Y = na(d.value, l.value, f.el);
3745
+ if (!(nl(d.value, f.el) <= O || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
3746
3746
  Math.abs(R - Y) < 16)) {
3747
3747
  if (d.value && l.value && f.el) {
3748
3748
  const {
@@ -3756,63 +3756,63 @@ const Go = Symbol.for("vuetify:v-slide-group"), aa = V({
3756
3756
  }
3757
3757
  function N(R) {
3758
3758
  const {
3759
- scrollTop: M,
3759
+ scrollTop: O,
3760
3760
  scrollLeft: Y
3761
3761
  } = R.target;
3762
- r.value = d.value ? Y : M;
3762
+ r.value = d.value ? Y : O;
3763
3763
  }
3764
3764
  function ne(R) {
3765
- if (O.value = !0, !(!s.value || !m.el)) {
3766
- for (const M of R.composedPath())
3765
+ if (M.value = !0, !(!s.value || !m.el)) {
3766
+ for (const O of R.composedPath())
3767
3767
  for (const Y of m.el.children)
3768
- if (Y === M) {
3768
+ if (Y === O) {
3769
3769
  L(Y);
3770
3770
  return;
3771
3771
  }
3772
3772
  }
3773
3773
  }
3774
3774
  function me(R) {
3775
- O.value = !1;
3775
+ M.value = !1;
3776
3776
  }
3777
3777
  let ue = !1;
3778
3778
  function te(R) {
3779
- var M;
3780
- !ue && !O.value && !(R.relatedTarget && ((M = m.el) != null && M.contains(R.relatedTarget))) && H(), ue = !1;
3779
+ var O;
3780
+ !ue && !M.value && !(R.relatedTarget && ((O = m.el) != null && O.contains(R.relatedTarget))) && H(), ue = !1;
3781
3781
  }
3782
3782
  function w() {
3783
3783
  ue = !0;
3784
3784
  }
3785
3785
  function T(R) {
3786
3786
  if (!m.el) return;
3787
- function M(Y) {
3787
+ function O(Y) {
3788
3788
  R.preventDefault(), H(Y);
3789
3789
  }
3790
- d.value ? R.key === "ArrowRight" ? M(l.value ? "prev" : "next") : R.key === "ArrowLeft" && M(l.value ? "next" : "prev") : R.key === "ArrowDown" ? M("next") : R.key === "ArrowUp" && M("prev"), R.key === "Home" ? M("first") : R.key === "End" && M("last");
3790
+ d.value ? R.key === "ArrowRight" ? O(l.value ? "prev" : "next") : R.key === "ArrowLeft" && O(l.value ? "next" : "prev") : R.key === "ArrowDown" ? O("next") : R.key === "ArrowUp" && O("prev"), R.key === "Home" ? O("first") : R.key === "End" && O("last");
3791
3791
  }
3792
- function W(R, M) {
3792
+ function W(R, O) {
3793
3793
  if (!R) return;
3794
3794
  let Y = R;
3795
3795
  do
3796
- Y = Y == null ? void 0 : Y[M === "next" ? "nextElementSibling" : "previousElementSibling"];
3796
+ Y = Y == null ? void 0 : Y[O === "next" ? "nextElementSibling" : "previousElementSibling"];
3797
3797
  while (Y != null && Y.hasAttribute("disabled"));
3798
3798
  return Y;
3799
3799
  }
3800
3800
  function H(R) {
3801
3801
  if (!m.el) return;
3802
- let M;
3802
+ let O;
3803
3803
  if (!R)
3804
- M = xl(m.el)[0];
3804
+ O = xl(m.el)[0];
3805
3805
  else if (R === "next") {
3806
- if (M = W(m.el.querySelector(":focus"), R), !M) return H("first");
3806
+ if (O = W(m.el.querySelector(":focus"), R), !O) return H("first");
3807
3807
  } else if (R === "prev") {
3808
- if (M = W(m.el.querySelector(":focus"), R), !M) return H("last");
3809
- } else R === "first" ? (M = m.el.firstElementChild, M != null && M.hasAttribute("disabled") && (M = W(M, "next"))) : R === "last" && (M = m.el.lastElementChild, M != null && M.hasAttribute("disabled") && (M = W(M, "prev")));
3810
- M && M.focus({
3808
+ if (O = W(m.el.querySelector(":focus"), R), !O) return H("last");
3809
+ } else R === "first" ? (O = m.el.firstElementChild, O != null && O.hasAttribute("disabled") && (O = W(O, "next"))) : R === "last" && (O = m.el.lastElementChild, O != null && O.hasAttribute("disabled") && (O = W(O, "prev")));
3810
+ O && O.focus({
3811
3811
  preventScroll: !0
3812
3812
  });
3813
3813
  }
3814
3814
  function ie(R) {
3815
- const M = d.value && l.value ? -1 : 1, Y = (R === "prev" ? -M : M) * u.value;
3815
+ const O = d.value && l.value ? -1 : 1, Y = (R === "prev" ? -O : O) * u.value;
3816
3816
  let Q = r.value + Y;
3817
3817
  if (d.value && l.value && f.el) {
3818
3818
  const {
@@ -3851,8 +3851,8 @@ const Go = Symbol.for("vuetify:v-slide-group"), aa = V({
3851
3851
  }
3852
3852
  }), K = _(() => Math.abs(r.value) > 1), ee = _(() => {
3853
3853
  if (!f.value) return !1;
3854
- const R = nl(d.value, f.el), M = Wo(d.value, f.el);
3855
- return R - M - Math.abs(r.value) > 1;
3854
+ const R = nl(d.value, f.el), O = Wo(d.value, f.el);
3855
+ return R - O - Math.abs(r.value) > 1;
3856
3856
  });
3857
3857
  return J(() => c(e.tag, {
3858
3858
  class: ["v-slide-group", {
@@ -3861,11 +3861,11 @@ const Go = Symbol.for("vuetify:v-slide-group"), aa = V({
3861
3861
  "v-slide-group--is-overflowing": s.value
3862
3862
  }, i.value, e.class],
3863
3863
  style: e.style,
3864
- tabindex: O.value || o.selected.value.length ? -1 : 0,
3864
+ tabindex: M.value || o.selected.value.length ? -1 : 0,
3865
3865
  onFocus: te
3866
3866
  }, {
3867
3867
  default: () => {
3868
- var R, M, Y;
3868
+ var R, O, Y;
3869
3869
  return [B.value && c("div", {
3870
3870
  key: "prev",
3871
3871
  class: ["v-slide-group__prev", {
@@ -3888,7 +3888,7 @@ const Go = Symbol.for("vuetify:v-slide-group"), aa = V({
3888
3888
  onFocusin: ne,
3889
3889
  onFocusout: me,
3890
3890
  onKeydown: T
3891
- }, [(M = t.default) == null ? void 0 : M.call(t, ve.value)])]), B.value && c("div", {
3891
+ }, [(O = t.default) == null ? void 0 : O.call(t, ve.value)])]), B.value && c("div", {
3892
3892
  key: "next",
3893
3893
  class: ["v-slide-group__next", {
3894
3894
  "v-slide-group__next--disabled": !ee.value
@@ -4068,7 +4068,7 @@ const qo = V({
4068
4068
  sizeClasses: g
4069
4069
  } = Rt(e), {
4070
4070
  themeClasses: m
4071
- } = Ae(e), h = he(e, "modelValue"), y = El(e, ia, !1), C = In(e, t), x = _(() => e.link !== !1 && C.isLink.value), I = _(() => !e.disabled && e.link !== !1 && (!!y || e.link || C.isClickable.value)), O = _(() => ({
4071
+ } = Ae(e), h = he(e, "modelValue"), y = El(e, ia, !1), C = In(e, t), x = _(() => e.link !== !1 && C.isLink.value), I = _(() => !e.disabled && e.link !== !1 && (!!y || e.link || C.isClickable.value)), M = _(() => ({
4072
4072
  "aria-label": a(e.closeLabel),
4073
4073
  onClick(N) {
4074
4074
  N.preventDefault(), N.stopPropagation(), h.value = !1, l("click:close", N);
@@ -4182,7 +4182,7 @@ const qo = V({
4182
4182
  class: "v-chip__close",
4183
4183
  type: "button",
4184
4184
  "data-testid": "close-chip"
4185
- }, O.value), [i.close ? c(we, {
4185
+ }, M.value), [i.close ? c(we, {
4186
4186
  key: "close-defaults",
4187
4187
  defaults: {
4188
4188
  VIcon: {
@@ -4329,7 +4329,7 @@ function es(e) {
4329
4329
  });
4330
4330
  function u(m, h) {
4331
4331
  return m.filter((y) => s.value.includes(n.toJsDate(y).getDay())).map((y, C) => {
4332
- const x = n.toISO(y), I = !n.isSameMonth(y, a.value), O = n.isSameDay(y, n.startOfMonth(a.value)), L = n.isSameDay(y, n.endOfMonth(a.value)), z = n.isSameDay(y, a.value);
4332
+ const x = n.toISO(y), I = !n.isSameMonth(y, a.value), M = n.isSameDay(y, n.startOfMonth(a.value)), L = n.isSameDay(y, n.endOfMonth(a.value)), z = n.isSameDay(y, a.value);
4333
4333
  return {
4334
4334
  date: y,
4335
4335
  isoDate: x,
@@ -4342,7 +4342,7 @@ function es(e) {
4342
4342
  isToday: n.isSameDay(y, h),
4343
4343
  isAdjacent: I,
4344
4344
  isHidden: I && !e.showAdjacentMonths,
4345
- isStart: O,
4345
+ isStart: M,
4346
4346
  isSelected: t.value.some((N) => n.isSameDay(y, N)),
4347
4347
  isEnd: L,
4348
4348
  isSame: z,
@@ -4440,14 +4440,14 @@ const ts = V({
4440
4440
  }, [e.hideWeekNumber ? "" : c("div", {
4441
4441
  key: "weekNumber0",
4442
4442
  class: "v-calendar-weekly__head-weeknumber"
4443
- }, null), d.value.map((O) => c("div", {
4443
+ }, null), d.value.map((M) => c("div", {
4444
4444
  class: `v-calendar-weekly__head-weekday${e.hideWeekNumber ? "" : "-with-weeknumber"}`
4445
- }, [f[O]]))]), e.viewMode === "month" && c("div", {
4445
+ }, [f[M]]))]), e.viewMode === "month" && c("div", {
4446
4446
  key: "VCalendarMonth",
4447
4447
  class: ["v-calendar-month__days", `days${e.hideWeekNumber ? "" : "-with-weeknumbers"}__${d.value.length}`, ...e.hideWeekNumber ? [] : ["v-calendar-month__weeknumbers"]]
4448
- }, [_i(a.value, d.value.length).map((O, L) => [e.hideWeekNumber ? "" : c("div", {
4448
+ }, [_i(a.value, d.value.length).map((M, L) => [e.hideWeekNumber ? "" : c("div", {
4449
4449
  class: "v-calendar-month__weeknumber"
4450
- }, [v.value[L]]), O.map((z) => {
4450
+ }, [v.value[L]]), M.map((z) => {
4451
4451
  var N;
4452
4452
  return c(Qo, {
4453
4453
  color: i.isSameDay(i.date(), z.date) ? "primary" : void 0,
@@ -4457,17 +4457,17 @@ const ts = V({
4457
4457
  }, {
4458
4458
  event: l.event
4459
4459
  });
4460
- })])]), e.viewMode === "week" && o.value.map((O, L) => {
4460
+ })])]), e.viewMode === "week" && o.value.map((M, L) => {
4461
4461
  var z;
4462
4462
  return c(Zt, F(C, {
4463
- day: O,
4463
+ day: M,
4464
4464
  dayIndex: L,
4465
- events: (z = e.events) == null ? void 0 : z.filter((N) => i.isSameDay(N.start, O.date) || i.isSameDay(N.end, O.date))
4465
+ events: (z = e.events) == null ? void 0 : z.filter((N) => i.isSameDay(N.start, M.date) || i.isSameDay(N.end, M.date))
4466
4466
  }), null);
4467
4467
  }), e.viewMode === "day" && c(Zt, F(C, {
4468
4468
  day: s([u.value], i.date())[0],
4469
4469
  dayIndex: 0,
4470
- events: (I = e.events) == null ? void 0 : I.filter((O) => i.isSameDay(O.start, s([u.value], i.date())[0].date) || i.isSameDay(O.end, s([u.value], i.date())[0].date))
4470
+ events: (I = e.events) == null ? void 0 : I.filter((M) => i.isSameDay(M.start, s([u.value], i.date())[0].date) || i.isSameDay(M.end, s([u.value], i.date())[0].date))
4471
4471
  }), null)])]);
4472
4472
  }), {
4473
4473
  daysInMonth: a,
@@ -5188,7 +5188,7 @@ const Bn = (e) => {
5188
5188
  } = fa(o, !1), x = ra(), I = _(() => {
5189
5189
  var Q;
5190
5190
  return e.active !== !1 && (e.active || ((Q = a.isActive) == null ? void 0 : Q.value) || (m.activatable.value ? r.value : d.value));
5191
- }), O = _(() => e.link !== !1 && a.isLink.value), L = _(() => !!x && (m.selectable.value || m.activatable.value || e.value != null)), z = _(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || L.value)), N = _(() => e.rounded || e.nav), ne = _(() => e.color ?? e.activeColor), me = _(() => ({
5191
+ }), M = _(() => e.link !== !1 && a.isLink.value), L = _(() => !!x && (m.selectable.value || m.activatable.value || e.value != null)), z = _(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || L.value)), N = _(() => e.rounded || e.nav), ne = _(() => e.color ?? e.activeColor), me = _(() => ({
5192
5192
  color: I.value ? ne.value ?? e.baseColor : e.baseColor,
5193
5193
  variant: e.variant
5194
5194
  }));
@@ -5227,7 +5227,7 @@ const Bn = (e) => {
5227
5227
  isSelected: d.value,
5228
5228
  isIndeterminate: f.value
5229
5229
  }));
5230
- function M(Q) {
5230
+ function O(Q) {
5231
5231
  var Se;
5232
5232
  i("click", Q), z.value && ((Se = a.navigate) == null || Se.call(a, Q), !g && (m.activatable.value ? s(!r.value, Q) : (m.selectable.value || e.value != null) && u(!d.value, Q)));
5233
5233
  }
@@ -5236,7 +5236,7 @@ const Bn = (e) => {
5236
5236
  ["INPUT", "TEXTAREA"].includes(Se.tagName) || (Q.key === "Enter" || Q.key === " ") && (Q.preventDefault(), Q.target.dispatchEvent(new MouseEvent("click", Q)));
5237
5237
  }
5238
5238
  return J(() => {
5239
- const Q = O.value ? "a" : e.tag, Se = l.title || e.title != null, Fe = l.subtitle || e.subtitle != null, mt = !!(e.appendAvatar || e.appendIcon), At = !!(mt || l.append), Dt = !!(e.prependAvatar || e.prependIcon), De = !!(Dt || l.prepend);
5239
+ const Q = M.value ? "a" : e.tag, Se = l.title || e.title != null, Fe = l.subtitle || e.subtitle != null, mt = !!(e.appendAvatar || e.appendIcon), At = !!(mt || l.append), Dt = !!(e.prependAvatar || e.prependIcon), De = !!(Dt || l.prepend);
5240
5240
  return x == null || x.updateHasPrepend(De), e.activeColor && Ni("active-color", ["color", "base-color"]), Be(c(Q, F({
5241
5241
  class: ["v-list-item", {
5242
5242
  "v-list-item--active": I.value,
@@ -5250,8 +5250,8 @@ const Bn = (e) => {
5250
5250
  style: [W.value, ve.value, e.style],
5251
5251
  tabindex: z.value ? x ? -2 : 0 : void 0,
5252
5252
  "aria-selected": L.value ? m.activatable.value ? r.value : m.selectable.value ? d.value : I.value : void 0,
5253
- onClick: M,
5254
- onKeydown: z.value && !O.value && Y
5253
+ onClick: O,
5254
+ onKeydown: z.value && !M.value && Y
5255
5255
  }, a.linkProps), {
5256
5256
  default: () => {
5257
5257
  var ft;
@@ -5484,7 +5484,7 @@ const Ss = V({
5484
5484
  be(() => e.modelValue, (B) => {
5485
5485
  a.value = B;
5486
5486
  });
5487
- function O(B) {
5487
+ function M(B) {
5488
5488
  a.value !== B && (a.value = B), t("input", B);
5489
5489
  }
5490
5490
  function L(B) {
@@ -5498,7 +5498,7 @@ const Ss = V({
5498
5498
  do
5499
5499
  ee = ee + K, ee = (ee - e.min + g.value) % g.value + e.min;
5500
5500
  while (!L(ee) && ee !== C.value);
5501
- ee !== e.displayedValue && O(ee);
5501
+ ee !== e.displayedValue && M(ee);
5502
5502
  }
5503
5503
  function N(B) {
5504
5504
  return e.double && B - e.min >= m.value;
@@ -5536,7 +5536,7 @@ const Ss = V({
5536
5536
  return Math.abs(ee * 180 / Math.PI);
5537
5537
  }
5538
5538
  function W(B) {
5539
- s.value === null && (s.value = B), r.value = B, O(B);
5539
+ s.value === null && (s.value = B), r.value = B, M(B);
5540
5540
  }
5541
5541
  function H(B) {
5542
5542
  var ft, pe;
@@ -5546,7 +5546,7 @@ const Ss = V({
5546
5546
  top: ee,
5547
5547
  left: R
5548
5548
  } = (ft = l.value) == null ? void 0 : ft.getBoundingClientRect(), {
5549
- width: M
5549
+ width: O
5550
5550
  } = ((pe = i.value) == null ? void 0 : pe.getBoundingClientRect()) ?? {
5551
5551
  width: 0
5552
5552
  }, {
@@ -5558,7 +5558,7 @@ const Ss = V({
5558
5558
  }, Fe = {
5559
5559
  x: Y - R,
5560
5560
  y: ee - Q
5561
- }, mt = Math.round(T(Se, Fe) - e.rotate + 360) % 360, At = e.double && w(Se, Fe) < (M + M * x.value) / 4, Dt = Math.ceil(15 / h.value);
5561
+ }, mt = Math.round(T(Se, Fe) - e.rotate + 360) % 360, At = e.double && w(Se, Fe) < (O + O * x.value) / 4, Dt = Math.ceil(15 / h.value);
5562
5562
  let De;
5563
5563
  for (let Pt = 0; Pt < Dt; Pt++)
5564
5564
  if (De = ue(mt + Pt * h.value, At), L(De) || (De = ue(mt - Pt * h.value, At), L(De))) return W(De);
@@ -5781,10 +5781,10 @@ const Is = V({
5781
5781
  const W = (!h.value || a.value === null || h.value(a.value)) && (!y.value || o.value === null || y.value(o.value));
5782
5782
  if (e.allowedSeconds instanceof Array ? w = (Y) => e.allowedSeconds.includes(Y) : w = e.allowedSeconds, !e.min && !e.max)
5783
5783
  return W ? w : () => !1;
5784
- const [H, ie, ve] = e.min ? e.min.split(":").map(Number) : [0, 0, 0], [B, K, ee] = e.max ? e.max.split(":").map(Number) : [23, 59, 59], R = H * 3600 + ie * 60 + Number(ve || 0), M = B * 3600 + K * 60 + Number(ee || 0);
5784
+ const [H, ie, ve] = e.min ? e.min.split(":").map(Number) : [0, 0, 0], [B, K, ee] = e.max ? e.max.split(":").map(Number) : [23, 59, 59], R = H * 3600 + ie * 60 + Number(ve || 0), O = B * 3600 + K * 60 + Number(ee || 0);
5785
5785
  return (Y) => {
5786
5786
  const Q = 3600 * a.value + 60 * o.value + Y;
5787
- return Q >= R && Q <= M && W && (!w || w(Y));
5787
+ return Q >= R && Q <= O && W && (!w || w(Y));
5788
5788
  };
5789
5789
  }), x = _(() => e.format === "ampm");
5790
5790
  be(() => e.modelValue, (w) => N(w)), mn(() => {
@@ -5793,7 +5793,7 @@ const Is = V({
5793
5793
  function I() {
5794
5794
  return a.value != null && o.value != null && (!e.useSeconds || s.value != null) ? `${Ge(a.value)}:${Ge(o.value)}` + (e.useSeconds ? `:${Ge(s.value)}` : "") : null;
5795
5795
  }
5796
- function O() {
5796
+ function M() {
5797
5797
  const w = I();
5798
5798
  w !== null && t("update:modelValue", w);
5799
5799
  }
@@ -5825,7 +5825,7 @@ const Is = V({
5825
5825
  const T = a.value + (d.value === "am" ? -12 : 12);
5826
5826
  a.value = ne("hour", T);
5827
5827
  }
5828
- return t("update:period", w), O(), !0;
5828
+ return t("update:period", w), M(), !0;
5829
5829
  }
5830
5830
  function ue(w) {
5831
5831
  f.value === "hour" ? a.value = x.value ? z(w, d.value) : w : f.value === "minute" ? o.value = w : s.value = w;
@@ -5843,7 +5843,7 @@ const Is = V({
5843
5843
  break;
5844
5844
  }
5845
5845
  const T = a.value !== null && o.value !== null && (e.useSeconds ? s.value !== null : !0);
5846
- f.value === "hour" ? f.value = "minute" : e.useSeconds && f.value === "minute" && (f.value = "second"), !(a.value === r.value && o.value === u.value && (!e.useSeconds || s.value === v.value) || I() === null) && (r.value = a.value, u.value = o.value, e.useSeconds && (v.value = s.value), T && O());
5846
+ f.value === "hour" ? f.value = "minute" : e.useSeconds && f.value === "minute" && (f.value = "second"), !(a.value === r.value && o.value === u.value && (!e.useSeconds || s.value === v.value) || I() === null) && (r.value = a.value, u.value = o.value, e.useSeconds && (v.value = s.value), T && M());
5847
5847
  }
5848
5848
  J(() => {
5849
5849
  const w = il.filterProps(e), T = sl.filterProps(e), W = ol.filterProps($e(e, ["format", "modelValue", "min", "max"]));
@@ -6284,12 +6284,12 @@ const ka = V({
6284
6284
  parents: m,
6285
6285
  select: h,
6286
6286
  getPath: y
6287
- } = ys(e), C = _(() => e.lines ? `v-list--${e.lines}-line` : void 0), x = D(e, "activeColor"), I = D(e, "baseColor"), O = D(e, "color");
6287
+ } = ys(e), C = _(() => e.lines ? `v-list--${e.lines}-line` : void 0), x = D(e, "activeColor"), I = D(e, "baseColor"), M = D(e, "color");
6288
6288
  sa(), rt({
6289
6289
  VListGroup: {
6290
6290
  activeColor: x,
6291
6291
  baseColor: I,
6292
- color: O,
6292
+ color: M,
6293
6293
  expandIcon: D(e, "expandIcon"),
6294
6294
  collapseIcon: D(e, "collapseIcon")
6295
6295
  },
@@ -6297,7 +6297,7 @@ const ka = V({
6297
6297
  activeClass: D(e, "activeClass"),
6298
6298
  activeColor: x,
6299
6299
  baseColor: I,
6300
- color: O,
6300
+ color: M,
6301
6301
  density: D(e, "density"),
6302
6302
  disabled: D(e, "disabled"),
6303
6303
  lines: D(e, "lines"),
@@ -6370,14 +6370,14 @@ const ka = V({
6370
6370
  getPath: y
6371
6371
  };
6372
6372
  }
6373
- }), Os = V({
6373
+ }), Ms = V({
6374
6374
  start: Boolean,
6375
6375
  end: Boolean,
6376
6376
  ...re(),
6377
6377
  ...ye()
6378
- }, "VListItemAction"), Ms = j()({
6378
+ }, "VListItemAction"), Os = j()({
6379
6379
  name: "VListItemAction",
6380
- props: Os(),
6380
+ props: Ms(),
6381
6381
  setup(e, n) {
6382
6382
  let {
6383
6383
  slots: t
@@ -6443,7 +6443,7 @@ const ka = V({
6443
6443
  ...t,
6444
6444
  prepend: g ? (h) => {
6445
6445
  var y;
6446
- return c($, null, [c(Ms, {
6446
+ return c($, null, [c(Os, {
6447
6447
  start: !1
6448
6448
  }, {
6449
6449
  default: () => [e.toggleIcon ? c(Te, {
@@ -6635,7 +6635,7 @@ const dl = j()({
6635
6635
  function I(N) {
6636
6636
  x.value && (m.value = !0, Si(N.target, ":focus-visible") !== !1 && (h.value = !0));
6637
6637
  }
6638
- function O() {
6638
+ function M() {
6639
6639
  m.value = !1, h.value = !1;
6640
6640
  }
6641
6641
  function L(N) {
@@ -6646,7 +6646,7 @@ const dl = j()({
6646
6646
  y.value && (y.value.checked = s.value);
6647
6647
  return;
6648
6648
  }
6649
- e.readonly && i && Me(() => i.forceUpdate()), s.value = N.target.checked;
6649
+ e.readonly && i && Oe(() => i.forceUpdate()), s.value = N.target.checked;
6650
6650
  }
6651
6651
  return J(() => {
6652
6652
  var te, w;
@@ -6660,7 +6660,7 @@ const dl = j()({
6660
6660
  checked: s.value,
6661
6661
  disabled: !!e.disabled,
6662
6662
  id: C.value,
6663
- onBlur: O,
6663
+ onBlur: M,
6664
6664
  onFocus: I,
6665
6665
  onInput: z,
6666
6666
  "aria-disabled": !!e.disabled,
@@ -6699,7 +6699,7 @@ const dl = j()({
6699
6699
  icon: o.value,
6700
6700
  props: {
6701
6701
  onFocus: I,
6702
- onBlur: O,
6702
+ onBlur: M,
6703
6703
  id: C.value
6704
6704
  }
6705
6705
  })) ?? c($, null, [o.value && c(_e, {
@@ -7009,9 +7009,9 @@ const Ws = V({
7009
7009
  }), d = G(), f = _(() => e.openAll ? x(l.value) : e.opened), g = _(() => Va(l.value)), m = D(e, "search"), {
7010
7010
  filteredItems: h
7011
7011
  } = js(e, g, m), y = _(() => {
7012
- var O;
7012
+ var M;
7013
7013
  if (!m.value) return null;
7014
- const I = (O = d.value) == null ? void 0 : O.getPath;
7014
+ const I = (M = d.value) == null ? void 0 : M.getPath;
7015
7015
  return I ? new Set(h.value.flatMap((L) => {
7016
7016
  const z = e.returnObject ? L.raw : L.props.value;
7017
7017
  return [...I(z), ...C(z)].map(oe);
@@ -7019,18 +7019,18 @@ const Ws = V({
7019
7019
  });
7020
7020
  function C(I) {
7021
7021
  var z, N;
7022
- const O = [], L = (((z = d.value) == null ? void 0 : z.children.get(I)) ?? []).slice();
7022
+ const M = [], L = (((z = d.value) == null ? void 0 : z.children.get(I)) ?? []).slice();
7023
7023
  for (; L.length; ) {
7024
7024
  const ne = L.shift();
7025
- ne && (O.push(ne), L.push(...(((N = d.value) == null ? void 0 : N.children.get(ne)) ?? []).slice()));
7025
+ ne && (M.push(ne), L.push(...(((N = d.value) == null ? void 0 : N.children.get(ne)) ?? []).slice()));
7026
7026
  }
7027
- return O;
7027
+ return M;
7028
7028
  }
7029
7029
  function x(I) {
7030
- let O = [];
7030
+ let M = [];
7031
7031
  for (const L of I)
7032
- L.children && (O.push(e.returnObject ? oe(L.raw) : L.value), L.children && (O = O.concat(x(L.children))));
7033
- return O;
7032
+ L.children && (M.push(e.returnObject ? oe(L.raw) : L.value), L.children && (M = M.concat(x(L.children))));
7033
+ return M;
7034
7034
  }
7035
7035
  return Re(Sa, {
7036
7036
  visibleIds: y
@@ -7053,7 +7053,7 @@ const Ws = V({
7053
7053
  variant: D(e, "variant")
7054
7054
  }
7055
7055
  }), J(() => {
7056
- const I = ul.filterProps(e), O = Ut.filterProps(e);
7056
+ const I = ul.filterProps(e), M = Ut.filterProps(e);
7057
7057
  return c(ul, F({
7058
7058
  ref: d
7059
7059
  }, I, {
@@ -7068,7 +7068,7 @@ const Ws = V({
7068
7068
  selected: v.value,
7069
7069
  "onUpdate:selected": (L) => v.value = L
7070
7070
  }), {
7071
- default: () => [c(Ut, F(O, {
7071
+ default: () => [c(Ut, F(M, {
7072
7072
  density: e.density,
7073
7073
  returnObject: e.returnObject,
7074
7074
  items: l.value
@@ -7531,38 +7531,49 @@ const sr = /* @__PURE__ */ P(ir, [["render", or], ["__scopeId", "data-v-61d3c998
7531
7531
  type: [String, Array],
7532
7532
  default: () => []
7533
7533
  },
7534
- prependIcon: {
7535
- type: String,
7536
- default: ""
7537
- // Default to no icon
7538
- },
7539
7534
  clearable: {
7540
7535
  type: Boolean,
7541
7536
  default: !1
7542
- // Default is not clearable
7543
7537
  },
7544
7538
  autocomplete: {
7545
7539
  type: String,
7546
7540
  default: "off"
7547
- // Default is 'off'
7541
+ },
7542
+ rules: {
7543
+ type: Array,
7544
+ default: () => []
7548
7545
  }
7549
7546
  },
7547
+ data() {
7548
+ return {
7549
+ localErrorMessages: []
7550
+ };
7551
+ },
7550
7552
  computed: {
7551
7553
  inputValue: {
7552
7554
  get() {
7553
7555
  return this.modelValue;
7554
7556
  },
7555
7557
  set(e) {
7556
- this.$emit("update:modelValue", e);
7558
+ this.$emit("update:modelValue", e), this.validate();
7557
7559
  }
7558
7560
  },
7559
7561
  inputProps() {
7560
7562
  return { ...this.$props };
7563
+ },
7564
+ computedErrorMessages() {
7565
+ return this.localErrorMessages.length ? this.localErrorMessages : this.errorMessages;
7566
+ },
7567
+ hasError() {
7568
+ return this.computedErrorMessages.length > 0;
7561
7569
  }
7562
7570
  },
7563
7571
  methods: {
7564
7572
  handleClear() {
7565
- this.$emit("clear");
7573
+ this.$emit("clear"), this.localErrorMessages = [];
7574
+ },
7575
+ validate() {
7576
+ this.localErrorMessages = this.rules.map((e) => typeof e == "function" ? e(this.modelValue) : !0).filter((e) => e !== !0);
7566
7577
  }
7567
7578
  }
7568
7579
  };
@@ -7574,16 +7585,21 @@ function ur(e, n, t, l, i, a) {
7574
7585
  label: t.label,
7575
7586
  placeholder: t.placeholder,
7576
7587
  disabled: t.disabled,
7577
- error: t.error,
7578
- "error-messages": t.errorMessages,
7579
- "prepend-icon": t.prependIcon,
7588
+ error: a.hasError,
7589
+ "error-messages": a.computedErrorMessages,
7580
7590
  clearable: "",
7581
7591
  hint: t.hint,
7582
7592
  autocomplete: t.autocomplete,
7583
- "onClick:clear": a.handleClear
7584
- }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-messages", "prepend-icon", "hint", "autocomplete", "onClick:clear"]);
7593
+ "onClick:clear": a.handleClear,
7594
+ onBlur: a.validate
7595
+ }), {
7596
+ "prepend-inner": k(() => [
7597
+ de(e.$slots, "prepend-inner", {}, void 0, !0)
7598
+ ]),
7599
+ _: 3
7600
+ }, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-messages", "hint", "autocomplete", "onClick:clear", "onBlur"]);
7585
7601
  }
7586
- const An = /* @__PURE__ */ P(rr, [["render", ur], ["__scopeId", "data-v-33b97f38"]]), cr = {
7602
+ const An = /* @__PURE__ */ P(rr, [["render", ur], ["__scopeId", "data-v-d3875807"]]), cr = {
7587
7603
  name: "RtConfirmEdit",
7588
7604
  components: {
7589
7605
  RtInput: An,
@@ -8330,7 +8346,7 @@ function Pr(e, n, t, l, i, a) {
8330
8346
  _: 3
8331
8347
  });
8332
8348
  }
8333
- const Or = /* @__PURE__ */ P(Dr, [["render", Pr], ["__scopeId", "data-v-d31f9958"]]), Mr = {
8349
+ const Mr = /* @__PURE__ */ P(Dr, [["render", Pr], ["__scopeId", "data-v-d31f9958"]]), Or = {
8334
8350
  name: "RtSelect",
8335
8351
  props: {
8336
8352
  items: {
@@ -8400,7 +8416,7 @@ function Lr(e, n, t, l, i, a) {
8400
8416
  "menu-props": e.menuProps
8401
8417
  }), null, 16, ["items", "modelValue", "label", "density", "outlined", "chips", "multiple", "placeholder", "disabled", "error", "error-messages", "menu-props", "onUpdate:modelValue"]);
8402
8418
  }
8403
- const Ta = /* @__PURE__ */ P(Mr, [["render", Lr], ["__scopeId", "data-v-06f1f73d"]]), Er = {
8419
+ const Ta = /* @__PURE__ */ P(Or, [["render", Lr], ["__scopeId", "data-v-06f1f73d"]]), Er = {
8404
8420
  name: "RtForm",
8405
8421
  components: {
8406
8422
  RtButton: Pe,
@@ -9289,7 +9305,7 @@ function Pu(e, n, t, l, i, a) {
9289
9305
  _: 1
9290
9306
  }, 8, ["modelValue", "label", "aria-labelledby", "row", "color"]);
9291
9307
  }
9292
- const Ou = /* @__PURE__ */ P(Du, [["render", Pu], ["__scopeId", "data-v-7a941099"]]), Mu = {
9308
+ const Mu = /* @__PURE__ */ P(Du, [["render", Pu], ["__scopeId", "data-v-7a941099"]]), Ou = {
9293
9309
  name: "RtRangeSlider",
9294
9310
  props: {
9295
9311
  modelValue: {
@@ -9379,7 +9395,7 @@ function Lu(e, n, t, l, i, a) {
9379
9395
  "aria-label": t.label
9380
9396
  }), null, 16, ["modelValue", "label", "min", "max", "step", "thumb-label", "tick-size", "show-ticks", "track-fill-color", "track-color", "disabled", "error", "aria-label"]);
9381
9397
  }
9382
- const Eu = /* @__PURE__ */ P(Mu, [["render", Lu], ["__scopeId", "data-v-769bd5d3"]]), Nu = {
9398
+ const Eu = /* @__PURE__ */ P(Ou, [["render", Lu], ["__scopeId", "data-v-769bd5d3"]]), Nu = {
9383
9399
  name: "RtRatings",
9384
9400
  props: {
9385
9401
  modelValue: {
@@ -10268,7 +10284,7 @@ function Cc(e, n, t, l, i, a) {
10268
10284
  _: 1
10269
10285
  }, 8, ["dense", "align-top", "side", "reverse"]);
10270
10286
  }
10271
- const wc = /* @__PURE__ */ P(Sc, [["render", Cc], ["__scopeId", "data-v-920f27f0"]]), Oe = {
10287
+ const wc = /* @__PURE__ */ P(Sc, [["render", Cc], ["__scopeId", "data-v-920f27f0"]]), Me = {
10272
10288
  HOUR_TOKENS: ["HH", "H", "hh", "h", "kk", "k"],
10273
10289
  MINUTE_TOKENS: ["mm", "m"],
10274
10290
  SECOND_TOKENS: ["ss", "s"],
@@ -10376,7 +10392,7 @@ var Xt = {
10376
10392
  return this.opts.format || vt.format;
10377
10393
  },
10378
10394
  inUse() {
10379
- const e = Oe.BASIC_TYPES.filter((t) => this.getTokenByType(t));
10395
+ const e = Me.BASIC_TYPES.filter((t) => this.getTokenByType(t));
10380
10396
  e.sort((t, l) => this.formatString.indexOf(this.getTokenByType(t) || null) - this.formatString.indexOf(this.getTokenByType(l) || null));
10381
10397
  const n = e.map((t) => this.getTokenByType(t));
10382
10398
  return {
@@ -10615,8 +10631,8 @@ var Xt = {
10615
10631
  },
10616
10632
  renderFormat(e) {
10617
10633
  e = e || this.opts.format || vt.format;
10618
- let n = this.checkAcceptingType(Oe.HOUR_TOKENS, e), t = this.checkAcceptingType(Oe.MINUTE_TOKENS, e);
10619
- this.secondType = this.checkAcceptingType(Oe.SECOND_TOKENS, e), this.apmType = this.checkAcceptingType(Oe.APM_TOKENS, e), !n && !t && !this.secondType && !this.apmType && (this.debugMode && this.format && this.debugLog(`No valid tokens found in your defined "format" string "${this.format}". Fallback to the default "HH:mm" format.`), n = "HH", t = "mm"), this.hourType = n, this.minuteType = t, this.hourType ? this.renderHoursList() : this.hours = [], this.minuteType ? this.renderList("minute") : this.minutes = [], this.secondType ? this.renderList("second") : this.seconds = [], this.apmType ? this.renderApmList() : this.apms = [], Me(() => {
10634
+ let n = this.checkAcceptingType(Me.HOUR_TOKENS, e), t = this.checkAcceptingType(Me.MINUTE_TOKENS, e);
10635
+ this.secondType = this.checkAcceptingType(Me.SECOND_TOKENS, e), this.apmType = this.checkAcceptingType(Me.APM_TOKENS, e), !n && !t && !this.secondType && !this.apmType && (this.debugMode && this.format && this.debugLog(`No valid tokens found in your defined "format" string "${this.format}". Fallback to the default "HH:mm" format.`), n = "HH", t = "mm"), this.hourType = n, this.minuteType = t, this.hourType ? this.renderHoursList() : this.hours = [], this.minuteType ? this.renderList("minute") : this.minutes = [], this.secondType ? this.renderList("second") : this.seconds = [], this.apmType ? this.renderApmList() : this.apms = [], Oe(() => {
10620
10636
  this.readValues();
10621
10637
  });
10622
10638
  },
@@ -10648,7 +10664,7 @@ var Xt = {
10648
10664
  this.addFallbackValues();
10649
10665
  return;
10650
10666
  }
10651
- Oe.BASIC_TYPES.forEach((l) => {
10667
+ Me.BASIC_TYPES.forEach((l) => {
10652
10668
  const i = this.getTokenByType(l);
10653
10669
  if (t.indexOf(i) > -1) {
10654
10670
  const a = this.sanitizedValue(i, n[i]);
@@ -10747,10 +10763,10 @@ v-model: ${e}`);
10747
10763
  const n = {}, t = this.hour, l = this.hourType;
10748
10764
  let i;
10749
10765
  if (!l || !this.isNumber(t))
10750
- Oe.HOUR_TOKENS.forEach((a) => n[a] = ""), i = this.lowerCasedApm(this.apm || ""), n.a = i, n.A = i.toUpperCase();
10766
+ Me.HOUR_TOKENS.forEach((a) => n[a] = ""), i = this.lowerCasedApm(this.apm || ""), n.a = i, n.A = i.toUpperCase();
10751
10767
  else {
10752
10768
  const a = +t, o = this.baseOn12Hours && this.apm ? this.lowerCasedApm(this.apm) : !1;
10753
- Oe.HOUR_TOKENS.forEach((s) => {
10769
+ Me.HOUR_TOKENS.forEach((s) => {
10754
10770
  if (s === l) {
10755
10771
  n[s] = t;
10756
10772
  return;
@@ -10869,7 +10885,7 @@ second-interval: ${this.opts.secondInterval}`));
10869
10885
  return this.amText && this.lowerCasedApm(e) === "am" ? this.amText : this.pmText && this.lowerCasedApm(e) === "pm" ? this.pmText : e;
10870
10886
  },
10871
10887
  toggleActive() {
10872
- this.disabled || (this.isActive = !this.isActive, this.isActive ? (this.isFocusing = !0, this.manualInput && this.$emit("focus"), this.opts.hideDropdown || this.setDropdownState(!0), this.lazy && (this.bakDisplayTime = String(this.displayTime || "")), this.manualInput && !this.inputIsEmpty && Me(() => {
10888
+ this.disabled || (this.isActive = !this.isActive, this.isActive ? (this.isFocusing = !0, this.manualInput && this.$emit("focus"), this.opts.hideDropdown || this.setDropdownState(!0), this.lazy && (this.bakDisplayTime = String(this.displayTime || "")), this.manualInput && !this.inputIsEmpty && Oe(() => {
10873
10889
  this.$refs.input && this.$refs.input.selectionStart === 0 && this.$refs.input.selectionEnd === this.displayTime.length && this.selectFirstSlot();
10874
10890
  })) : (this.showDropdown ? this.setDropdownState(!1) : this.manualInput && this.$emit("blur"), this.isFocusing = !1, this.lazy && (this.fillValues(!0), this.bakDisplayTime = void 0)), this.restrictedHourRange && this.baseOn12Hours && (this.showDropdown ? this.forceApmSelection() : this.emptyApmSelection()), this.showDropdown && this.checkForAutoScroll());
10875
10891
  },
@@ -10889,9 +10905,9 @@ second-interval: ${this.opts.secondInterval}`));
10889
10905
  // Auto-Scroll
10890
10906
  //
10891
10907
  checkForAutoScroll() {
10892
- this.inputIsEmpty || (this.autoScroll ? Me(() => {
10908
+ this.inputIsEmpty || (this.autoScroll ? Oe(() => {
10893
10909
  this.scrollToSelectedValues();
10894
- }) : this.advancedKeyboard && Me(() => {
10910
+ }) : this.advancedKeyboard && Oe(() => {
10895
10911
  const e = this.inUse.types[0];
10896
10912
  this.scrollToSelected(e, !0);
10897
10913
  }));
@@ -11012,7 +11028,7 @@ second-interval: ${this.opts.secondInterval}`));
11012
11028
  e.preventDefault(), e.stopPropagation();
11013
11029
  const n = e.data;
11014
11030
  let t = !1;
11015
- return this.has.customApmText && (t = this.isCustomApmText(n)), t && this.setSanitizedValueToSection("apm", t), this.$refs.input.value = this.has.customApmText ? this.customDisplayTime : this.displayTime, Me(() => {
11031
+ return this.has.customApmText && (t = this.isCustomApmText(n)), t && this.setSanitizedValueToSection("apm", t), this.$refs.input.value = this.has.customApmText ? this.customDisplayTime : this.displayTime, Oe(() => {
11016
11032
  if (this.bakCurrentPos) {
11017
11033
  const l = JSON.parse(JSON.stringify(this.bakCurrentPos));
11018
11034
  t && (l.end = l.start + n.length), this.debounceSetInputSelection(l), this.bakCurrentPos = null;
@@ -11161,7 +11177,7 @@ hour-range: ${JSON.stringify(this.hourRange)}`);
11161
11177
  this.setSanitizedValueToSection("hour", e);
11162
11178
  },
11163
11179
  debounceSetInputSelection({ start: e = 0, end: n = 0 }) {
11164
- Me(() => {
11180
+ Oe(() => {
11165
11181
  this.setInputSelectionRange(e, n);
11166
11182
  }), window.clearTimeout(this.selectionTimer), this.selectionTimer = window.setTimeout(() => {
11167
11183
  window.clearTimeout(this.selectionTimer), this.$refs.input && (this.$refs.input.selectionStart !== e || this.$refs.input.selectionEnd !== n) && this.setInputSelectionRange(e, n);
@@ -11219,7 +11235,7 @@ hour-range: ${JSON.stringify(this.hourRange)}`);
11219
11235
  return !isNaN(parseFloat(e)) && isFinite(e);
11220
11236
  },
11221
11237
  isBasicType(e) {
11222
- return Oe.BASIC_TYPES.includes(e);
11238
+ return Me.BASIC_TYPES.includes(e);
11223
11239
  },
11224
11240
  lowerCasedApm(e) {
11225
11241
  return (e || "").toLowerCase();
@@ -11925,7 +11941,7 @@ const Dc = /* @__PURE__ */ P(Rc, [["render", Ac], ["__scopeId", "data-v-cfedfaf7
11925
11941
  }
11926
11942
  }
11927
11943
  };
11928
- function Oc(e, n, t, l, i, a) {
11944
+ function Mc(e, n, t, l, i, a) {
11929
11945
  const o = p("v-time-picker");
11930
11946
  return b(), S(o, {
11931
11947
  modelValue: i.time,
@@ -11934,7 +11950,7 @@ function Oc(e, n, t, l, i, a) {
11934
11950
  max: t.maxTime
11935
11951
  }, null, 8, ["modelValue", "min", "max"]);
11936
11952
  }
11937
- const Mc = /* @__PURE__ */ P(Pc, [["render", Oc], ["__scopeId", "data-v-b1b16095"]]), Lc = {
11953
+ const Oc = /* @__PURE__ */ P(Pc, [["render", Mc], ["__scopeId", "data-v-b1b16095"]]), Lc = {
11938
11954
  data() {
11939
11955
  return {};
11940
11956
  },
@@ -12345,7 +12361,7 @@ function Zc(e, n, t, l, i, a) {
12345
12361
  }
12346
12362
  const ed = /* @__PURE__ */ P(Qc, [["render", Zc]]), nd = {
12347
12363
  install: (e, n) => {
12348
- e.component("RtAlert", Ua), e.component("RtAvatar", Ya), e.component("RtBadge", Qa), e.component("RtBottomNavigation", li), e.component("RtBottomSheet", si), e.component("RtBreadcrumbs", di), e.component("RtButton", Pe), e.component("RtCalendar", Ys), e.component("RtCard", Qs), e.component("RtCheckbox", tr), e.component("RtColorPicker", ar), e.component("RtComboBox", sr), e.component("RtConfirmEdit", fr), e.component("RtDateInput", gr), e.component("RtDatePicker", pr), e.component("RtDialog", Sr), e.component("RtDivider", xr), e.component("RtExpansionPanel", Tr), e.component("RtFileInput", Ar), e.component("RtFloatingButton", Or), e.component("RtForm", Hr), e.component("RtGrid", $r), e.component("RtHeader", Ba), e.component("RtHover", Yr), e.component("RtIcon", st), e.component("RtImage", _l), e.component("RtInfiniteScroll", Qr), e.component("RtInput", An), e.component("RtList", tu), e.component("RtMenu", au), e.component("RtNavigationDrawer", su), e.component("RtOtp", du), e.component("RtOverlay", vu), e.component("RtPage", yu), e.component("RtPagination", Su), e.component("RtParallax", xu), e.component("RtPopover", Tu), e.component("RtProgressCircle", Au), e.component("RtRadioGroup", Ou), e.component("RtRangeSlider", Eu), e.component("RtRatings", Fu), e.component("RtSelect", Ta), e.component("RtSelectAutocomplete", $u), e.component("RtSheet", Gu), e.component("RtSlider", Yu), e.component("RtSnackbar", Zu), e.component("RtSpeedDial", lc), e.component("RtStepper", oc), e.component("RtSwitch", uc), e.component("RtSystemBar", fc), e.component("RtTable", gc), e.component("RtTabs", pc), e.component("RtTextArea", kc), e.component("RtTimeline", wc), e.component("RtTimePicker", Dc), e.component("RtTimePickerUI", Mc), e.component("RtToolBar", Nc), e.component("RtTreeview", zc), e.component("RtContainer", jc), e.component("RtTooltip", Kc), e.component("RtHorizontalRule", Xc), e.component("RtButtonGroup", ed);
12364
+ e.component("RtAlert", Ua), e.component("RtAvatar", Ya), e.component("RtBadge", Qa), e.component("RtBottomNavigation", li), e.component("RtBottomSheet", si), e.component("RtBreadcrumbs", di), e.component("RtButton", Pe), e.component("RtCalendar", Ys), e.component("RtCard", Qs), e.component("RtCheckbox", tr), e.component("RtColorPicker", ar), e.component("RtComboBox", sr), e.component("RtConfirmEdit", fr), e.component("RtDateInput", gr), e.component("RtDatePicker", pr), e.component("RtDialog", Sr), e.component("RtDivider", xr), e.component("RtExpansionPanel", Tr), e.component("RtFileInput", Ar), e.component("RtFloatingButton", Mr), e.component("RtForm", Hr), e.component("RtGrid", $r), e.component("RtHeader", Ba), e.component("RtHover", Yr), e.component("RtIcon", st), e.component("RtImage", _l), e.component("RtInfiniteScroll", Qr), e.component("RtInput", An), e.component("RtList", tu), e.component("RtMenu", au), e.component("RtNavigationDrawer", su), e.component("RtOtp", du), e.component("RtOverlay", vu), e.component("RtPage", yu), e.component("RtPagination", Su), e.component("RtParallax", xu), e.component("RtPopover", Tu), e.component("RtProgressCircle", Au), e.component("RtRadioGroup", Mu), e.component("RtRangeSlider", Eu), e.component("RtRatings", Fu), e.component("RtSelect", Ta), e.component("RtSelectAutocomplete", $u), e.component("RtSheet", Gu), e.component("RtSlider", Yu), e.component("RtSnackbar", Zu), e.component("RtSpeedDial", lc), e.component("RtStepper", oc), e.component("RtSwitch", uc), e.component("RtSystemBar", fc), e.component("RtTable", gc), e.component("RtTabs", pc), e.component("RtTextArea", kc), e.component("RtTimeline", wc), e.component("RtTimePicker", Dc), e.component("RtTimePickerUI", Oc), e.component("RtToolBar", Nc), e.component("RtTreeview", zc), e.component("RtContainer", jc), e.component("RtTooltip", Kc), e.component("RtHorizontalRule", Xc), e.component("RtButtonGroup", ed);
12349
12365
  }
12350
12366
  };
12351
12367
  export {