readytech-ui-library-v2 0.0.42 → 0.0.43

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 jt, withCtx as k, createCommentVNode as U, createElementVNode as fe, createTextVNode as L, toDisplayString as R, renderSlot as de, createElementBlock as Z, createVNode as c, computed as _, Fragment as j, renderList as ae, reactive as at, watchEffect as $t, toRefs as fl, capitalize as vl, shallowRef as se, warn as mn, getCurrentInstance as Aa, ref as G, unref as Ve, provide as Ae, inject as ye, defineComponent as Da, h as Wt, camelize as hl, isRef as it, watch as he, onScopeDispose as gl, effectScope as Pa, toRaw as oe, toRef as D, onBeforeUnmount as Ye, onMounted as Gt, onUpdated as Ma, mergeProps as F, Text as Oa, readonly as yl, resolveDynamicComponent as La, nextTick as Te, withDirectives as Re, TransitionGroup as fn, Transition as vn, vShow as ot, onBeforeMount as hn, resolveDirective as Kt, withModifiers as q, createSlots as gn, toHandlers as yn, withKeys as X, onUnmounted as Ea, normalizeProps as bl, guardReactiveProps as pl, createStaticVNode as Na, normalizeStyle as _l } from "vue";
1
+ import { resolveComponent as p, createBlock as S, openBlock as b, normalizeClass as jt, withCtx as k, createCommentVNode as U, createElementVNode as me, createTextVNode as L, toDisplayString as R, renderSlot as de, createElementBlock as Z, createVNode as c, computed as _, Fragment as j, renderList as ae, reactive as at, watchEffect as $t, toRefs as ml, capitalize as vl, shallowRef as se, warn as fn, getCurrentInstance as Aa, ref as G, unref as Ve, provide as Ae, inject as ye, defineComponent as Da, h as Wt, camelize as hl, isRef as it, watch as he, onScopeDispose as gl, effectScope as Pa, toRaw as oe, toRef as D, onBeforeUnmount as Ye, onMounted as Gt, onUpdated as Ma, mergeProps as F, Text as Oa, readonly as yl, resolveDynamicComponent as La, nextTick as Te, withDirectives as Re, TransitionGroup as mn, Transition as vn, vShow as ot, onBeforeMount as hn, resolveDirective as Kt, withModifiers as q, createSlots as gn, toHandlers as yn, withKeys as X, onUnmounted as Ea, normalizeProps as bl, guardReactiveProps as pl, createStaticVNode as Na, normalizeStyle as _l } from "vue";
2
2
  const P = (e, n) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [l, i] of n)
@@ -128,7 +128,7 @@ function ja(e, n, t, l, i, a) {
128
128
  ]),
129
129
  _: 1
130
130
  })) : U("", !0),
131
- fe("span", Ua, [
131
+ me("span", Ua, [
132
132
  de(e.$slots, "default", {}, void 0, !0)
133
133
  ])
134
134
  ]),
@@ -598,9 +598,9 @@ function ri(e, n, t, l, i, a) {
598
598
  ])),
599
599
  _: 1
600
600
  }),
601
- n[4] || (n[4] = fe("br", null, null, -1)),
602
- n[5] || (n[5] = fe("br", null, null, -1)),
603
- n[6] || (n[6] = fe("div", null, " This is a bottom sheet using the controlled by v-model instead of activator ", -1))
601
+ n[4] || (n[4] = me("br", null, null, -1)),
602
+ n[5] || (n[5] = me("br", null, null, -1)),
603
+ n[6] || (n[6] = me("div", null, " This is a bottom sheet using the controlled by v-model instead of activator ", -1))
604
604
  ]),
605
605
  _: 1
606
606
  })
@@ -632,7 +632,7 @@ const ui = /* @__PURE__ */ P(oi, [["render", ri]]), ci = {
632
632
  }
633
633
  }
634
634
  }, di = { key: 1 };
635
- function mi(e, n, t, l, i, a) {
635
+ function fi(e, n, t, l, i, a) {
636
636
  const o = p("RtButton"), s = p("v-breadcrumbs");
637
637
  return b(), S(s, {
638
638
  class: "v-breadcrumbs-wrapper",
@@ -654,7 +654,7 @@ function mi(e, n, t, l, i, a) {
654
654
  _: 1
655
655
  }, 8, ["divider", "items"]);
656
656
  }
657
- const fi = /* @__PURE__ */ P(ci, [["render", mi], ["__scopeId", "data-v-5ccff043"]]), yt = typeof window < "u", bn = yt && "IntersectionObserver" in window;
657
+ const mi = /* @__PURE__ */ P(ci, [["render", fi], ["__scopeId", "data-v-5ccff043"]]), yt = typeof window < "u", bn = yt && "IntersectionObserver" in window;
658
658
  function Sl(e, n, t) {
659
659
  const l = n.length - 1;
660
660
  if (l < 0) return e === void 0 ? t : e;
@@ -838,7 +838,7 @@ function Il(e) {
838
838
  n[l] = t.value[l];
839
839
  }, {
840
840
  flush: "sync"
841
- }), fl(n);
841
+ }), ml(n);
842
842
  }
843
843
  function ln(e, n) {
844
844
  return e.includes(n);
@@ -927,13 +927,13 @@ function jn(e, n) {
927
927
  return m * 100;
928
928
  }
929
929
  function qe(e) {
930
- mn(`Vuetify: ${e}`);
930
+ fn(`Vuetify: ${e}`);
931
931
  }
932
932
  function Hi(e) {
933
- mn(`Vuetify error: ${e}`);
933
+ fn(`Vuetify error: ${e}`);
934
934
  }
935
935
  function Fi(e, n) {
936
- n = Array.isArray(n) ? n.slice(0, -1).map((t) => `'${t}'`).join(", ") + ` or '${n.at(-1)}'` : `'${n}'`, mn(`[Vuetify UPGRADE] '${e}' is deprecated, use ${n} instead.`);
936
+ n = Array.isArray(n) ? n.slice(0, -1).map((t) => `'${t}'`).join(", ") + ` or '${n.at(-1)}'` : `'${n}'`, fn(`[Vuetify UPGRADE] '${e}' is deprecated, use ${n} instead.`);
937
937
  }
938
938
  function an(e) {
939
939
  return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e);
@@ -2030,7 +2030,7 @@ const so = V({
2030
2030
  reset: a,
2031
2031
  root: o,
2032
2032
  scoped: s
2033
- } = fl(e);
2033
+ } = ml(e);
2034
2034
  return rt(l, {
2035
2035
  reset: a,
2036
2036
  root: o,
@@ -2141,7 +2141,7 @@ const co = (e) => {
2141
2141
  };
2142
2142
  })
2143
2143
  };
2144
- }, mo = ["x-small", "small", "default", "large", "x-large"], Bt = V({
2144
+ }, fo = ["x-small", "small", "default", "large", "x-large"], Bt = V({
2145
2145
  size: {
2146
2146
  type: [String, Number],
2147
2147
  default: "default"
@@ -2151,7 +2151,7 @@ function Rt(e) {
2151
2151
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $e();
2152
2152
  return Il(() => {
2153
2153
  let t, l;
2154
- return ln(mo, e.size) ? t = `${n}--size-${e.size}` : e.size && (l = {
2154
+ return ln(fo, e.size) ? t = `${n}--size-${e.size}` : e.size && (l = {
2155
2155
  width: ce(e.size),
2156
2156
  height: ce(e.size)
2157
2157
  }), {
@@ -2160,7 +2160,7 @@ function Rt(e) {
2160
2160
  };
2161
2161
  });
2162
2162
  }
2163
- const fo = V({
2163
+ const mo = V({
2164
2164
  color: String,
2165
2165
  disabled: Boolean,
2166
2166
  start: Boolean,
@@ -2174,7 +2174,7 @@ const fo = V({
2174
2174
  ...ke()
2175
2175
  }, "VIcon"), _e = $()({
2176
2176
  name: "VIcon",
2177
- props: fo(),
2177
+ props: mo(),
2178
2178
  setup(e, n) {
2179
2179
  let {
2180
2180
  attrs: t,
@@ -2679,7 +2679,7 @@ const Xt = {
2679
2679
  colorClasses: M,
2680
2680
  colorStyles: E,
2681
2681
  variantClasses: z
2682
- } = Yt(x), N = _(() => (h == null ? void 0 : h.disabled.value) || e.disabled), ne = _(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), me = _(() => {
2682
+ } = Yt(x), N = _(() => (h == null ? void 0 : h.disabled.value) || e.disabled), ne = _(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), fe = _(() => {
2683
2683
  if (!(e.value === void 0 || typeof e.value == "symbol"))
2684
2684
  return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
2685
2685
  });
@@ -2708,7 +2708,7 @@ const Xt = {
2708
2708
  disabled: N.value || void 0,
2709
2709
  tabindex: e.loading || e.readonly ? -1 : void 0,
2710
2710
  onClick: ue,
2711
- value: me.value
2711
+ value: fe.value
2712
2712
  }, y.linkProps), {
2713
2713
  default: () => {
2714
2714
  var H;
@@ -2887,7 +2887,7 @@ const Xt = {
2887
2887
  group: a,
2888
2888
  ...o
2889
2889
  } = e, {
2890
- component: s = a ? fn : vn,
2890
+ component: s = a ? mn : vn,
2891
2891
  ...r
2892
2892
  } = typeof l == "object" ? l : {};
2893
2893
  return Wt(s, F(typeof l == "string" ? {
@@ -3041,7 +3041,7 @@ function xe(e, n, t) {
3041
3041
  }
3042
3042
  };
3043
3043
  return () => {
3044
- const s = l.group ? fn : vn;
3044
+ const s = l.group ? mn : vn;
3045
3045
  return Wt(s, {
3046
3046
  name: l.disabled ? "" : e,
3047
3047
  css: !l.disabled,
@@ -3070,7 +3070,7 @@ function Zl(e, n) {
3070
3070
  let {
3071
3071
  slots: a
3072
3072
  } = i;
3073
- const o = l.group ? fn : vn;
3073
+ const o = l.group ? mn : vn;
3074
3074
  return () => Wt(o, {
3075
3075
  name: l.disabled ? "" : e,
3076
3076
  css: !l.disabled,
@@ -3379,7 +3379,7 @@ const Po = {
3379
3379
  default: () => [(m.value === "loading" || m.value === "error" && !l.error) && c("div", {
3380
3380
  class: "v-img__placeholder"
3381
3381
  }, [l.placeholder()])]
3382
- }) : null, me = () => l.error ? c(lt, {
3382
+ }) : null, fe = () => l.error ? c(lt, {
3383
3383
  transition: e.transition,
3384
3384
  appear: !0
3385
3385
  }, {
@@ -3416,7 +3416,7 @@ const Po = {
3416
3416
  "aria-label": e.alt,
3417
3417
  role: e.alt ? "img" : void 0
3418
3418
  }), {
3419
- additional: () => c(j, null, [c(z, null, null), c(N, null, null), c(ue, null, null), c(ne, null, null), c(me, null, null)]),
3419
+ additional: () => c(j, null, [c(z, null, null), c(N, null, null), c(ue, null, null), c(ne, null, null), c(fe, null, null)]),
3420
3420
  default: l.default
3421
3421
  }), [[Kt("intersect"), {
3422
3422
  handler: h,
@@ -3771,7 +3771,7 @@ const qo = Symbol.for("vuetify:v-slide-group"), ia = V({
3771
3771
  }
3772
3772
  }
3773
3773
  }
3774
- function me(A) {
3774
+ function fe(A) {
3775
3775
  M.value = !1;
3776
3776
  }
3777
3777
  let ue = !1;
@@ -3886,7 +3886,7 @@ const qo = Symbol.for("vuetify:v-slide-group"), ia = V({
3886
3886
  ref: f,
3887
3887
  class: "v-slide-group__content",
3888
3888
  onFocusin: ne,
3889
- onFocusout: me,
3889
+ onFocusout: fe,
3890
3890
  onKeydown: T
3891
3891
  }, [(O = t.default) == null ? void 0 : O.call(t, ve.value)])]), B.value && c("div", {
3892
3892
  key: "next",
@@ -4083,7 +4083,7 @@ const Jo = V({
4083
4083
  }
4084
4084
  return () => {
4085
4085
  var H;
4086
- const N = C.isLink.value ? "a" : e.tag, ne = !!(e.appendIcon || e.appendAvatar), me = !!(ne || i.append), ue = !!(i.close || e.closable), te = !!(i.filter || e.filter) && y, w = !!(e.prependIcon || e.prependAvatar), T = !!(w || i.prepend), W = !y || y.isSelected.value;
4086
+ const N = C.isLink.value ? "a" : e.tag, ne = !!(e.appendIcon || e.appendAvatar), fe = !!(ne || i.append), ue = !!(i.close || e.closable), te = !!(i.filter || e.filter) && y, w = !!(e.prependIcon || e.prependAvatar), T = !!(w || i.prepend), W = !y || y.isSelected.value;
4087
4087
  return h.value && Re(c(N, F({
4088
4088
  class: ["v-chip", {
4089
4089
  "v-chip--disabled": e.disabled,
@@ -4153,7 +4153,7 @@ const Jo = V({
4153
4153
  toggle: y == null ? void 0 : y.toggle,
4154
4154
  value: y == null ? void 0 : y.value.value,
4155
4155
  disabled: e.disabled
4156
- })) ?? R(e.text)]), me && c("div", {
4156
+ })) ?? R(e.text)]), fe && c("div", {
4157
4157
  key: "append",
4158
4158
  class: "v-chip__append"
4159
4159
  }, [i.append ? c(we, {
@@ -4665,7 +4665,7 @@ const Rn = (e) => {
4665
4665
  in: n.in,
4666
4666
  out: n.out
4667
4667
  };
4668
- }, ms = (e) => {
4668
+ }, fs = (e) => {
4669
4669
  const n = ca(e);
4670
4670
  return {
4671
4671
  activate: (l) => {
@@ -4685,7 +4685,7 @@ const Rn = (e) => {
4685
4685
  in: n.in,
4686
4686
  out: n.out
4687
4687
  };
4688
- }, fs = {
4688
+ }, ms = {
4689
4689
  open: (e) => {
4690
4690
  let {
4691
4691
  id: n,
@@ -4775,7 +4775,7 @@ const Rn = (e) => {
4775
4775
  }
4776
4776
  };
4777
4777
  return n;
4778
- }, ma = (e) => {
4778
+ }, fa = (e) => {
4779
4779
  const n = An(e);
4780
4780
  return {
4781
4781
  select: (l) => {
@@ -4816,7 +4816,7 @@ const Rn = (e) => {
4816
4816
  out: n.out
4817
4817
  };
4818
4818
  }, gs = (e) => {
4819
- const n = ma(e);
4819
+ const n = fa(e);
4820
4820
  return {
4821
4821
  select: (l) => {
4822
4822
  let {
@@ -4881,7 +4881,7 @@ const Rn = (e) => {
4881
4881
  }
4882
4882
  };
4883
4883
  return n;
4884
- }, St = Symbol.for("vuetify:nested"), fa = {
4884
+ }, St = Symbol.for("vuetify:nested"), ma = {
4885
4885
  id: se(),
4886
4886
  root: {
4887
4887
  register: () => null,
@@ -4919,7 +4919,7 @@ const Rn = (e) => {
4919
4919
  case "leaf":
4920
4920
  return ds(e.mandatory);
4921
4921
  case "single-leaf":
4922
- return ms(e.mandatory);
4922
+ return fs(e.mandatory);
4923
4923
  case "independent":
4924
4924
  return Rn(e.mandatory);
4925
4925
  case "single-independent":
@@ -4937,7 +4937,7 @@ const Rn = (e) => {
4937
4937
  case "independent":
4938
4938
  return An(e.mandatory);
4939
4939
  case "single-independent":
4940
- return ma(e.mandatory);
4940
+ return fa(e.mandatory);
4941
4941
  case "classic":
4942
4942
  default:
4943
4943
  return ys(e.mandatory);
@@ -4948,7 +4948,7 @@ const Rn = (e) => {
4948
4948
  case "list":
4949
4949
  return vs;
4950
4950
  case "single":
4951
- return fs;
4951
+ return ms;
4952
4952
  case "multiple":
4953
4953
  default:
4954
4954
  return da;
@@ -5084,7 +5084,7 @@ const Rn = (e) => {
5084
5084
  };
5085
5085
  return Ae(St, g), g.root;
5086
5086
  }, va = (e, n) => {
5087
- const t = ye(St, fa), l = Symbol(wt()), i = _(() => e.value !== void 0 ? e.value : l), a = {
5087
+ const t = ye(St, ma), l = Symbol(wt()), i = _(() => e.value !== void 0 ? e.value : l), a = {
5088
5088
  ...t,
5089
5089
  id: i,
5090
5090
  open: (o, s) => t.root.open(i.value, o, s),
@@ -5105,7 +5105,7 @@ const Rn = (e) => {
5105
5105
  !t.isGroupActivator && t.root.unregister(i.value);
5106
5106
  }), n && Ae(St, a), a;
5107
5107
  }, _s = () => {
5108
- const e = ye(St, fa);
5108
+ const e = ye(St, ma);
5109
5109
  Ae(St, {
5110
5110
  ...e,
5111
5111
  isGroupActivator: !0
@@ -5188,7 +5188,7 @@ const Rn = (e) => {
5188
5188
  } = va(o, !1), I = ua(), x = _(() => {
5189
5189
  var Q;
5190
5190
  return e.active !== !1 && (e.active || ((Q = a.isActive) == null ? void 0 : Q.value) || (f.activatable.value ? r.value : d.value));
5191
- }), M = _(() => e.link !== !1 && a.isLink.value), E = _(() => !!I && (f.selectable.value || f.activatable.value || e.value != null)), z = _(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || E.value)), N = _(() => e.rounded || e.nav), ne = _(() => e.color ?? e.activeColor), me = _(() => ({
5191
+ }), M = _(() => e.link !== !1 && a.isLink.value), E = _(() => !!I && (f.selectable.value || f.activatable.value || e.value != null)), z = _(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || E.value)), N = _(() => e.rounded || e.nav), ne = _(() => e.color ?? e.activeColor), fe = _(() => ({
5192
5192
  color: x.value ? ne.value ?? e.baseColor : e.baseColor,
5193
5193
  variant: e.variant
5194
5194
  }));
@@ -5212,7 +5212,7 @@ const Rn = (e) => {
5212
5212
  colorClasses: T,
5213
5213
  colorStyles: W,
5214
5214
  variantClasses: H
5215
- } = Yt(me), {
5215
+ } = Yt(fe), {
5216
5216
  densityClasses: ie
5217
5217
  } = Ze(e), {
5218
5218
  dimensionStyles: ve
@@ -5236,7 +5236,7 @@ const Rn = (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 = 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), Pe = !!(Dt || l.prepend);
5239
+ const Q = M.value ? "a" : e.tag, Se = l.title || e.title != null, Fe = l.subtitle || e.subtitle != null, ft = !!(e.appendAvatar || e.appendIcon), At = !!(ft || l.append), Dt = !!(e.prependAvatar || e.prependIcon), Pe = !!(Dt || l.prepend);
5240
5240
  return I == null || I.updateHasPrepend(Pe), e.activeColor && Fi("active-color", ["color", "base-color"]), Re(c(Q, F({
5241
5241
  class: ["v-list-item", {
5242
5242
  "v-list-item--active": x.value,
@@ -5254,7 +5254,7 @@ const Rn = (e) => {
5254
5254
  onKeydown: z.value && !M.value && Y
5255
5255
  }, a.linkProps), {
5256
5256
  default: () => {
5257
- var ft;
5257
+ var mt;
5258
5258
  return [qt(z.value || x.value, "v-list-item"), Pe && c("div", {
5259
5259
  key: "prepend",
5260
5260
  class: "v-list-item__prepend"
@@ -5310,12 +5310,12 @@ const Rn = (e) => {
5310
5310
  subtitle: e.subtitle
5311
5311
  })) ?? R(e.subtitle)];
5312
5312
  }
5313
- }), (ft = l.default) == null ? void 0 : ft.call(l, A.value)]), At && c("div", {
5313
+ }), (mt = l.default) == null ? void 0 : mt.call(l, A.value)]), At && c("div", {
5314
5314
  key: "append",
5315
5315
  class: "v-list-item__append"
5316
5316
  }, [l.append ? c(we, {
5317
5317
  key: "append-defaults",
5318
- disabled: !mt,
5318
+ disabled: !ft,
5319
5319
  defaults: {
5320
5320
  VAvatar: {
5321
5321
  density: e.density,
@@ -5506,7 +5506,7 @@ const ws = V({
5506
5506
  function ne(B) {
5507
5507
  return N(B) ? I.value : 1;
5508
5508
  }
5509
- function me(B) {
5509
+ function fe(B) {
5510
5510
  const K = e.rotate * Math.PI / 180;
5511
5511
  return {
5512
5512
  x: Math.sin((B - e.min) * y.value + K) * ne(B),
@@ -5521,7 +5521,7 @@ const ws = V({
5521
5521
  const {
5522
5522
  x: K,
5523
5523
  y: ee
5524
- } = me(B);
5524
+ } = fe(B);
5525
5525
  return {
5526
5526
  left: `${50 + K * 50}%`,
5527
5527
  top: `${50 + ee * 50}%`
@@ -5539,13 +5539,13 @@ const ws = V({
5539
5539
  s.value === null && (s.value = B), r.value = B, M(B);
5540
5540
  }
5541
5541
  function H(B) {
5542
- var ft, pe;
5542
+ var mt, pe;
5543
5543
  if (B.preventDefault(), !o.value && B.type !== "click" || !l.value) return;
5544
5544
  const {
5545
5545
  width: K,
5546
5546
  top: ee,
5547
5547
  left: A
5548
- } = (ft = l.value) == null ? void 0 : ft.getBoundingClientRect(), {
5548
+ } = (mt = l.value) == null ? void 0 : mt.getBoundingClientRect(), {
5549
5549
  width: O
5550
5550
  } = ((pe = i.value) == null ? void 0 : pe.getBoundingClientRect()) ?? {
5551
5551
  width: 0
@@ -5558,10 +5558,10 @@ const ws = V({
5558
5558
  }, Fe = {
5559
5559
  x: Y - A,
5560
5560
  y: ee - Q
5561
- }, mt = Math.round(T(Se, Fe) - e.rotate + 360) % 360, At = e.double && w(Se, Fe) < (O + O * I.value) / 4, Dt = Math.ceil(15 / h.value);
5561
+ }, ft = Math.round(T(Se, Fe) - e.rotate + 360) % 360, At = e.double && w(Se, Fe) < (O + O * I.value) / 4, Dt = Math.ceil(15 / h.value);
5562
5562
  let Pe;
5563
5563
  for (let Pt = 0; Pt < Dt; Pt++)
5564
- if (Pe = ue(mt + Pt * h.value, At), E(Pe) || (Pe = ue(mt - Pt * h.value, At), E(Pe))) return W(Pe);
5564
+ if (Pe = ue(ft + Pt * h.value, At), E(Pe) || (Pe = ue(ft - Pt * h.value, At), E(Pe))) return W(Pe);
5565
5565
  }
5566
5566
  function ie(B) {
5567
5567
  e.disabled || (B.preventDefault(), window.addEventListener("mousemove", H), window.addEventListener("touchmove", H), window.addEventListener("mouseup", ve), window.addEventListener("touchend", ve), s.value = null, r.value = null, o.value = !0, H(B));
@@ -5820,7 +5820,7 @@ const Ts = V({
5820
5820
  const H = I.value ? T < 12 ? ga : Vs : xs;
5821
5821
  return ((H.find((ve) => W((ve + T) % H.length + H[0])) || 0) + T) % H.length + H[0];
5822
5822
  }
5823
- function me(w) {
5823
+ function fe(w) {
5824
5824
  if (d.value = w, a.value != null) {
5825
5825
  const T = a.value + (d.value === "am" ? -12 : 12);
5826
5826
  a.value = ne("hour", T);
@@ -5866,7 +5866,7 @@ const Ts = V({
5866
5866
  period: d.value,
5867
5867
  second: s.value,
5868
5868
  viewMode: v.value,
5869
- "onUpdate:period": (H) => me(H),
5869
+ "onUpdate:period": (H) => fe(H),
5870
5870
  "onUpdate:viewMode": (H) => v.value = H,
5871
5871
  ref: g
5872
5872
  }), null),
@@ -6313,7 +6313,7 @@ const Sa = V({
6313
6313
  function ne(T) {
6314
6314
  E.value = !1;
6315
6315
  }
6316
- function me(T) {
6316
+ function fe(T) {
6317
6317
  var W;
6318
6318
  !E.value && !(T.relatedTarget && ((W = z.value) != null && W.contains(T.relatedTarget))) && w();
6319
6319
  }
@@ -6353,7 +6353,7 @@ const Sa = V({
6353
6353
  "aria-activedescendant": void 0,
6354
6354
  onFocusin: N,
6355
6355
  onFocusout: ne,
6356
- onFocus: me,
6356
+ onFocus: fe,
6357
6357
  onKeydown: ue,
6358
6358
  onMousedown: te
6359
6359
  }, {
@@ -6603,7 +6603,7 @@ function Fs(e) {
6603
6603
  icon: v
6604
6604
  };
6605
6605
  }
6606
- const ml = $()({
6606
+ const fl = $()({
6607
6607
  name: "VSelectionControl",
6608
6608
  directives: {
6609
6609
  Ripple: Xt
@@ -6655,7 +6655,7 @@ const ml = $()({
6655
6655
  props: {
6656
6656
  for: C.value
6657
6657
  }
6658
- }) : e.label, [ne, me] = pi(t), ue = c("input", F({
6658
+ }) : e.label, [ne, fe] = pi(t), ue = c("input", F({
6659
6659
  ref: y,
6660
6660
  checked: s.value,
6661
6661
  disabled: !!e.disabled,
@@ -6669,7 +6669,7 @@ const ml = $()({
6669
6669
  value: v.value,
6670
6670
  name: e.name,
6671
6671
  "aria-checked": e.type === "checkbox" ? s.value : void 0
6672
- }, me), null);
6672
+ }, fe), null);
6673
6673
  return c("div", F({
6674
6674
  class: ["v-selection-control", {
6675
6675
  "v-selection-control--dirty": s.value,
@@ -6743,8 +6743,8 @@ const ml = $()({
6743
6743
  }
6744
6744
  const o = _(() => l.value ? e.indeterminateIcon : e.falseIcon), s = _(() => l.value ? e.indeterminateIcon : e.trueIcon);
6745
6745
  return J(() => {
6746
- const r = je(ml.filterProps(e), ["modelValue"]);
6747
- return c(ml, F(r, {
6746
+ const r = je(fl.filterProps(e), ["modelValue"]);
6747
+ return c(fl, F(r, {
6748
6748
  modelValue: i.value,
6749
6749
  "onUpdate:modelValue": [(u) => i.value = u, a],
6750
6750
  class: ["v-checkbox-btn", e.class],
@@ -7619,7 +7619,7 @@ function dr(e, n, t, l, i, a) {
7619
7619
  } : void 0
7620
7620
  ]), 1040, ["modelValue", "label", "placeholder", "disabled", "error", "error-messages", "prependIcon", "appendIcon", "hint", "autocomplete", "onClick:clear", "onBlur"]);
7621
7621
  }
7622
- const Dn = /* @__PURE__ */ P(cr, [["render", dr], ["__scopeId", "data-v-98ee987d"]]), mr = {
7622
+ const Dn = /* @__PURE__ */ P(cr, [["render", dr], ["__scopeId", "data-v-98ee987d"]]), fr = {
7623
7623
  name: "RtConfirmEdit",
7624
7624
  components: {
7625
7625
  RtInput: Dn,
@@ -7658,7 +7658,7 @@ const Dn = /* @__PURE__ */ P(cr, [["render", dr], ["__scopeId", "data-v-98ee987d
7658
7658
  this.isEditing = !1, this.currentValue = this.value;
7659
7659
  }
7660
7660
  }
7661
- }, fr = { class: "actions" };
7661
+ }, mr = { class: "actions" };
7662
7662
  function vr(e, n, t, l, i, a) {
7663
7663
  const o = p("RtInput"), s = p("RtButton"), r = p("RtIcon"), u = p("v-card-text"), m = p("v-card");
7664
7664
  return b(), S(m, {
@@ -7677,7 +7677,7 @@ function vr(e, n, t, l, i, a) {
7677
7677
  dense: "",
7678
7678
  class: "edit-field"
7679
7679
  }, null, 8, ["modelValue", "label"]),
7680
- fe("div", fr, [
7680
+ me("div", mr, [
7681
7681
  c(s, {
7682
7682
  color: "primary",
7683
7683
  small: "",
@@ -7704,7 +7704,7 @@ function vr(e, n, t, l, i, a) {
7704
7704
  class: "display-field",
7705
7705
  onClick: n[1] || (n[1] = (...d) => a.startEditing && a.startEditing(...d))
7706
7706
  }, [
7707
- fe("span", null, R(t.value), 1),
7707
+ me("span", null, R(t.value), 1),
7708
7708
  c(r, {
7709
7709
  icon: t.icon,
7710
7710
  small: "",
@@ -7718,7 +7718,7 @@ function vr(e, n, t, l, i, a) {
7718
7718
  _: 1
7719
7719
  });
7720
7720
  }
7721
- const hr = /* @__PURE__ */ P(mr, [["render", vr], ["__scopeId", "data-v-98ee24d8"]]), gr = {
7721
+ const hr = /* @__PURE__ */ P(fr, [["render", vr], ["__scopeId", "data-v-98ee24d8"]]), gr = {
7722
7722
  name: "RtDateInput",
7723
7723
  props: {
7724
7724
  prependIcon: {
@@ -7915,34 +7915,38 @@ const kr = /* @__PURE__ */ P(pr, [["render", _r], ["__scopeId", "data-v-ff02002f
7915
7915
  setup() {
7916
7916
  const e = G(!1), n = G(null), t = async () => {
7917
7917
  e.value = !0, await Te();
7918
- const o = document.querySelector("[role='dialog']");
7919
- if (o) {
7920
- const s = o.querySelectorAll(
7918
+ const a = document.querySelector("[role='dialog']");
7919
+ if (a) {
7920
+ const o = a.querySelectorAll(
7921
7921
  'a[href], button, textarea, input, select, [tabindex]:not([tabindex="-1"])'
7922
7922
  );
7923
- s.length && s[0].focus();
7924
- }
7923
+ if (o.length) {
7924
+ const s = o[0];
7925
+ typeof s.focus == "function" ? s.focus() : console.warn("The first focusable element is not focusable:", s);
7926
+ }
7927
+ } else
7928
+ console.warn("Dialog element not found in DOM.");
7925
7929
  }, l = () => {
7926
7930
  e.value = !1, Te(() => {
7927
- var o;
7928
- (o = n.value) == null || o.focus();
7931
+ var a;
7932
+ (a = n.value) == null || a.focus();
7929
7933
  });
7930
- }, i = (o) => o.querySelectorAll(
7931
- 'a[href], button, textarea, input, select, [tabindex]:not([tabindex="-1"])'
7932
- ), a = (o) => {
7933
- const s = document.querySelector("[role='dialog']");
7934
- if (!s) return;
7935
- const r = i(s);
7936
- if (r.length === 0) return;
7937
- const u = r[0], m = r[r.length - 1];
7938
- o.target === m && !o.shiftKey ? (o.preventDefault(), u.focus()) : o.target === u && o.shiftKey && (o.preventDefault(), m.focus());
7934
+ }, i = (a) => {
7935
+ const o = document.querySelector("[role='dialog']");
7936
+ if (!o) return;
7937
+ const s = o.querySelectorAll(
7938
+ 'a[href], button, textarea, input, select, [tabindex]:not([tabindex="-1"])'
7939
+ );
7940
+ if (s.length === 0) return;
7941
+ const r = s[0], u = s[s.length - 1];
7942
+ a.target === u && !a.shiftKey ? (a.preventDefault(), typeof r.focus == "function" && r.focus()) : a.target === r && a.shiftKey && (a.preventDefault(), typeof u.focus == "function" && u.focus());
7939
7943
  };
7940
- return he(e, (o) => {
7941
- o ? document.addEventListener("keydown", a) : document.removeEventListener("keydown", a);
7944
+ return he(e, (a) => {
7945
+ a ? document.addEventListener("keydown", i) : document.removeEventListener("keydown", i);
7942
7946
  }), Gt(() => {
7943
- document.addEventListener("keydown", a);
7947
+ document.addEventListener("keydown", i);
7944
7948
  }), Ea(() => {
7945
- document.removeEventListener("keydown", a);
7949
+ document.removeEventListener("keydown", i);
7946
7950
  }), {
7947
7951
  dialogVisible: e,
7948
7952
  activator: n,
@@ -8029,7 +8033,7 @@ function Cr(e, n, t, l, i, a) {
8029
8033
  _: 1
8030
8034
  }, 8, ["modelValue", "fullscreen", "hide-overlay", "max-width", "persistent", "scrollable", "transition", "onKeydown"]);
8031
8035
  }
8032
- const wr = /* @__PURE__ */ P(Sr, [["render", Cr], ["__scopeId", "data-v-bdce08fc"]]), Ir = {
8036
+ const wr = /* @__PURE__ */ P(Sr, [["render", Cr], ["__scopeId", "data-v-280cfefb"]]), Ir = {
8033
8037
  name: "RtDivider",
8034
8038
  props: {
8035
8039
  color: {
@@ -8159,7 +8163,7 @@ function Br(e, n, t, l, i, a) {
8159
8163
  ]
8160
8164
  }, {
8161
8165
  default: k(() => [
8162
- fe("span", null, R(d.title), 1)
8166
+ me("span", null, R(d.title), 1)
8163
8167
  ]),
8164
8168
  actions: k(() => [
8165
8169
  t.disabled ? U("", !0) : (b(), S(o, {
@@ -8566,7 +8570,7 @@ function $r(e, n, t, l, i, a) {
8566
8570
  class: "pa-3"
8567
8571
  }, {
8568
8572
  default: k(() => [
8569
- fe("div", jr, R(u.label), 1)
8573
+ me("div", jr, R(u.label), 1)
8570
8574
  ]),
8571
8575
  _: 2
8572
8576
  }, 1032, ["cols", "sm", "md", "lg", "xl"]))), 128))
@@ -8597,7 +8601,7 @@ function qr(e, n, t, l, i, a) {
8597
8601
  default: k(() => [
8598
8602
  c(o, null, {
8599
8603
  default: k(() => n[3] || (n[3] = [
8600
- fe("img", {
8604
+ me("img", {
8601
8605
  src: "https://nesa.com.au/wp-content/uploads/2021/05/Readytech-Logo-2021.png",
8602
8606
  height: "32px",
8603
8607
  alt: "ReadyTech Logo"
@@ -8608,7 +8612,7 @@ function qr(e, n, t, l, i, a) {
8608
8612
  c(s),
8609
8613
  t.user ? (b(), Z("span", Kr, [
8610
8614
  n[4] || (n[4] = L("Welcome, ")),
8611
- fe("b", null, R(t.user.name), 1),
8615
+ me("b", null, R(t.user.name), 1),
8612
8616
  n[5] || (n[5] = L("!"))
8613
8617
  ])) : U("", !0),
8614
8618
  t.user ? (b(), S(r, {
@@ -9018,7 +9022,7 @@ const uu = /* @__PURE__ */ P(su, [["render", ru], ["__scopeId", "data-v-0f81fc2c
9018
9022
  }
9019
9023
  }
9020
9024
  }, du = { class: "otp-input" };
9021
- function mu(e, n, t, l, i, a) {
9025
+ function fu(e, n, t, l, i, a) {
9022
9026
  const o = p("v-text-field");
9023
9027
  return b(), Z("div", du, [
9024
9028
  (b(!0), Z(j, null, ae(i.otpValues, (s, r) => (b(), S(o, {
@@ -9034,7 +9038,7 @@ function mu(e, n, t, l, i, a) {
9034
9038
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onInput"]))), 128))
9035
9039
  ]);
9036
9040
  }
9037
- const fu = /* @__PURE__ */ P(cu, [["render", mu], ["__scopeId", "data-v-b9577741"]]), vu = {
9041
+ const mu = /* @__PURE__ */ P(cu, [["render", fu], ["__scopeId", "data-v-b9577741"]]), vu = {
9038
9042
  name: "Overlay",
9039
9043
  props: {
9040
9044
  zIndex: {
@@ -9172,7 +9176,7 @@ function Cu(e, n, t, l, i, a) {
9172
9176
  rounded: t.rounded,
9173
9177
  disabled: t.disabled
9174
9178
  }, null, 8, ["modelValue", "length", "total-visible", "color", "rounded", "disabled"]),
9175
- fe("p", Su, "Current Page: " + R(i.currentPage), 1)
9179
+ me("p", Su, "Current Page: " + R(i.currentPage), 1)
9176
9180
  ]);
9177
9181
  }
9178
9182
  const wu = /* @__PURE__ */ P(_u, [["render", Cu], ["__scopeId", "data-v-7dd1540f"]]), Iu = {
@@ -9185,12 +9189,12 @@ function xu(e, n, t, l, i, a) {
9185
9189
  height: "600"
9186
9190
  }, {
9187
9191
  default: k(({ scrollY: s }) => [
9188
- fe("div", {
9192
+ me("div", {
9189
9193
  class: "parallax-text",
9190
9194
  style: _l({ transform: "translateY(" + s / 3 + "px)" })
9191
9195
  }, n[0] || (n[0] = [
9192
- fe("h1", null, "Vuetify Parallax", -1),
9193
- fe("p", null, " A beautiful parallax scrolling effect on this image. Enjoy the smooth, dynamic background that moves at a slower rate than the content. ", -1)
9196
+ me("h1", null, "Vuetify Parallax", -1),
9197
+ me("p", null, " A beautiful parallax scrolling effect on this image. Enjoy the smooth, dynamic background that moves at a slower rate than the content. ", -1)
9194
9198
  ]), 4)
9195
9199
  ]),
9196
9200
  _: 1
@@ -9221,7 +9225,7 @@ function Bu(e, n, t, l, i, a) {
9221
9225
  }, 1040)
9222
9226
  ]),
9223
9227
  default: k(() => [
9224
- fe("span", null, R(t.tooltipText), 1)
9228
+ me("span", null, R(t.tooltipText), 1)
9225
9229
  ]),
9226
9230
  _: 1
9227
9231
  });
@@ -9983,7 +9987,7 @@ function cc(e, n, t, l, i, a) {
9983
9987
  onChange: n[1] || (n[1] = (s) => e.$emit("update:modelValue", a.currentValue))
9984
9988
  }, null, 8, ["modelValue", "label", "disabled", "color", "hide-details"]);
9985
9989
  }
9986
- const dc = /* @__PURE__ */ P(uc, [["render", cc], ["__scopeId", "data-v-ccbe2ed5"]]), mc = {
9990
+ const dc = /* @__PURE__ */ P(uc, [["render", cc], ["__scopeId", "data-v-ccbe2ed5"]]), fc = {
9987
9991
  name: "RtSystemBar",
9988
9992
  props: {
9989
9993
  color: {
@@ -10007,7 +10011,7 @@ const dc = /* @__PURE__ */ P(uc, [["render", cc], ["__scopeId", "data-v-ccbe2ed5
10007
10011
  // Optional text to display on the system bar
10008
10012
  }
10009
10013
  }
10010
- }, fc = {
10014
+ }, mc = {
10011
10015
  key: 0,
10012
10016
  class: "system-bar-message"
10013
10017
  };
@@ -10020,13 +10024,13 @@ function vc(e, n, t, l, i, a) {
10020
10024
  height: "32"
10021
10025
  }, {
10022
10026
  default: k(() => [
10023
- t.message ? (b(), Z("span", fc, R(t.message), 1)) : U("", !0),
10027
+ t.message ? (b(), Z("span", mc, R(t.message), 1)) : U("", !0),
10024
10028
  de(e.$slots, "default", {}, void 0, !0)
10025
10029
  ]),
10026
10030
  _: 3
10027
10031
  }, 8, ["color", "elevated", "dark"]);
10028
10032
  }
10029
- const hc = /* @__PURE__ */ P(mc, [["render", vc], ["__scopeId", "data-v-4b88fe51"]]), gc = {
10033
+ const hc = /* @__PURE__ */ P(fc, [["render", vc], ["__scopeId", "data-v-4b88fe51"]]), gc = {
10030
10034
  name: "RtTable",
10031
10035
  data() {
10032
10036
  return {
@@ -12294,14 +12298,14 @@ function qc(e, n, t, l, i, a) {
12294
12298
  right: t.position === "end"
12295
12299
  }, {
12296
12300
  activator: k(({ props: s }) => [
12297
- fe("span", bl(pl(s)), [
12301
+ me("span", bl(pl(s)), [
12298
12302
  de(e.$slots, "default", {}, () => [
12299
12303
  n[0] || (n[0] = L("Hover me"))
12300
12304
  ], !0)
12301
12305
  ], 16)
12302
12306
  ]),
12303
12307
  default: k(() => [
12304
- fe("span", null, R(t.text), 1)
12308
+ me("span", null, R(t.text), 1)
12305
12309
  ]),
12306
12310
  _: 3
12307
12311
  }, 8, ["bottom", "top", "left", "right"]);
@@ -12407,7 +12411,7 @@ function td(e, n, t, l, i, a) {
12407
12411
  }
12408
12412
  const nd = /* @__PURE__ */ P(ed, [["render", td]]), ad = {
12409
12413
  install: (e, n) => {
12410
- e.component("RtAlert", $a), e.component("RtAvatar", Xa), e.component("RtBadge", ei), e.component("RtBottomNavigation", ii), e.component("RtBottomSheet", ui), e.component("RtBreadcrumbs", fi), e.component("RtButton", Me), e.component("RtCalendar", Xs), e.component("RtCard", er), e.component("RtCheckbox", lr), e.component("RtColorPicker", or), e.component("RtComboBox", ur), e.component("RtConfirmEdit", hr), e.component("RtDateInput", br), e.component("RtDatePicker", kr), e.component("RtDialog", wr), e.component("RtDivider", Vr), e.component("RtExpansionPanel", Rr), e.component("RtFileInput", Pr), e.component("RtFloatingButton", Lr), e.component("RtForm", zr), e.component("RtGrid", Wr), e.component("RtHeader", Ra), e.component("RtHover", Xr), e.component("RtIcon", st), e.component("RtImage", kl), e.component("RtInfiniteScroll", eu), e.component("RtInput", Dn), e.component("RtList", lu), e.component("RtMenu", ou), e.component("RtNavigationDrawer", uu), e.component("RtOtp", fu), e.component("RtOverlay", gu), e.component("RtPage", pu), e.component("RtPagination", wu), e.component("RtParallax", Vu), e.component("RtPopover", Ru), e.component("RtProgressCircle", Pu), e.component("RtRadioGroup", Lu), e.component("RtRangeSlider", Hu), e.component("RtRatings", Uu), e.component("RtSelect", Ba), e.component("RtSelectAutocomplete", Wu), e.component("RtSheet", qu), e.component("RtSlider", Xu), e.component("RtSnackbar", tc), e.component("RtSpeedDial", ic), e.component("RtStepper", rc), e.component("RtSwitch", dc), e.component("RtSystemBar", hc), e.component("RtTable", bc), e.component("RtTabs", kc), e.component("RtTextArea", Cc), e.component("RtTimeline", xc), e.component("RtTimePicker", Mc), e.component("RtTimePickerUI", Ec), e.component("RtToolBar", Fc), e.component("RtTreeview", jc), e.component("RtContainer", Gc), e.component("RtTooltip", Yc), e.component("RtHorizontalRule", Zc), e.component("RtButtonGroup", nd);
12414
+ e.component("RtAlert", $a), e.component("RtAvatar", Xa), e.component("RtBadge", ei), e.component("RtBottomNavigation", ii), e.component("RtBottomSheet", ui), e.component("RtBreadcrumbs", mi), e.component("RtButton", Me), e.component("RtCalendar", Xs), e.component("RtCard", er), e.component("RtCheckbox", lr), e.component("RtColorPicker", or), e.component("RtComboBox", ur), e.component("RtConfirmEdit", hr), e.component("RtDateInput", br), e.component("RtDatePicker", kr), e.component("RtDialog", wr), e.component("RtDivider", Vr), e.component("RtExpansionPanel", Rr), e.component("RtFileInput", Pr), e.component("RtFloatingButton", Lr), e.component("RtForm", zr), e.component("RtGrid", Wr), e.component("RtHeader", Ra), e.component("RtHover", Xr), e.component("RtIcon", st), e.component("RtImage", kl), e.component("RtInfiniteScroll", eu), e.component("RtInput", Dn), e.component("RtList", lu), e.component("RtMenu", ou), e.component("RtNavigationDrawer", uu), e.component("RtOtp", mu), e.component("RtOverlay", gu), e.component("RtPage", pu), e.component("RtPagination", wu), e.component("RtParallax", Vu), e.component("RtPopover", Ru), e.component("RtProgressCircle", Pu), e.component("RtRadioGroup", Lu), e.component("RtRangeSlider", Hu), e.component("RtRatings", Uu), e.component("RtSelect", Ba), e.component("RtSelectAutocomplete", Wu), e.component("RtSheet", qu), e.component("RtSlider", Xu), e.component("RtSnackbar", tc), e.component("RtSpeedDial", ic), e.component("RtStepper", rc), e.component("RtSwitch", dc), e.component("RtSystemBar", hc), e.component("RtTable", bc), e.component("RtTabs", kc), e.component("RtTextArea", Cc), e.component("RtTimeline", xc), e.component("RtTimePicker", Mc), e.component("RtTimePickerUI", Ec), e.component("RtToolBar", Fc), e.component("RtTreeview", jc), e.component("RtContainer", Gc), e.component("RtTooltip", Yc), e.component("RtHorizontalRule", Zc), e.component("RtButtonGroup", nd);
12411
12415
  }
12412
12416
  };
12413
12417
  export {