yuyeon 0.1.0-rc.10 → 0.1.0-rc.12

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.
package/dist/yuyeon.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var vl = Object.defineProperty;
2
2
  var ml = (e, t, n) => t in e ? vl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ze = (e, t, n) => (ml(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { defineComponent as $, h as he, getCurrentInstance as se, watch as R, onScopeDispose as un, effectScope as ti, ref as N, computed as x, toRaw as gl, provide as ve, inject as ye, toRef as Ee, onBeforeUnmount as Yt, reactive as mt, onMounted as _a, nextTick as et, watchEffect as gt, toRefs as yl, resolveDynamicComponent as pl, createVNode as c, withDirectives as yt, mergeProps as W, resolveDirective as Sn, unref as dt, readonly as qn, shallowRef as _e, onBeforeMount as ni, Fragment as J, createTextVNode as xn, Transition as Cn, withKeys as bl, withModifiers as wa, Teleport as _l, vShow as ai, watchPostEffect as wl, resolveComponent as Sl, onBeforeUpdate as xl, isVNode as Sa } from "vue";
4
+ import { defineComponent as $, h as he, getCurrentInstance as se, watch as R, onScopeDispose as un, effectScope as ti, ref as N, computed as x, toRaw as gl, provide as ve, inject as ye, toRef as Ee, onBeforeUnmount as Yt, reactive as mt, onMounted as _a, nextTick as et, watchEffect as gt, toRefs as yl, resolveDynamicComponent as pl, createVNode as c, withDirectives as yt, mergeProps as W, resolveDirective as Sn, unref as dt, readonly as Gn, shallowRef as _e, onBeforeMount as ni, Fragment as J, createTextVNode as xn, Transition as Cn, withKeys as bl, withModifiers as wa, Teleport as _l, vShow as ai, watchPostEffect as wl, resolveComponent as Sl, onBeforeUpdate as xl, isVNode as Sa } from "vue";
5
5
  const Cl = $({
6
6
  name: "YApp",
7
7
  setup(e, { slots: t }) {
@@ -52,7 +52,7 @@ function Q(e, t, n) {
52
52
  let a = t;
53
53
  return e == null || !a || typeof a != "string" ? n : e[a] !== void 0 ? e[a] : (a = a.replace(/\[(\w+)\]/g, ".$1"), a = a.replace(/^\./, ""), ri(e, a.split("."), n));
54
54
  }
55
- function Ge(e, t, n) {
55
+ function qe(e, t, n) {
56
56
  if (t == null)
57
57
  return e === void 0 ? n : e;
58
58
  if (e !== Object(e)) {
@@ -169,7 +169,7 @@ let Rl;
169
169
  function Ll(e, t = Rl) {
170
170
  t && t.active && t.effects.push(e);
171
171
  }
172
- let qe;
172
+ let Ge;
173
173
  class si {
174
174
  constructor(t, n, a, r) {
175
175
  this.fn = t, this.trigger = n, this.scheduler = a, this.active = !0, this.deps = [], this._dirtyLevel = 4, this._trackId = 0, this._runnings = 0, this._shouldSchedule = !1, this._depsLength = 0, Ll(this, r);
@@ -192,11 +192,11 @@ class si {
192
192
  run() {
193
193
  if (this._dirtyLevel = 0, !this.active)
194
194
  return this.fn();
195
- let t = Le, n = qe;
195
+ let t = Le, n = Ge;
196
196
  try {
197
- return Le = !0, qe = this, this._runnings++, dr(this), this.fn();
197
+ return Le = !0, Ge = this, this._runnings++, dr(this), this.fn();
198
198
  } finally {
199
- fr(this), this._runnings--, qe = n, Le = t;
199
+ fr(this), this._runnings--, Ge = n, Le = t;
200
200
  }
201
201
  }
202
202
  stop() {
@@ -259,12 +259,12 @@ const hi = (e, t) => {
259
259
  return n.cleanup = e, n.computed = t, n;
260
260
  }, cn = /* @__PURE__ */ new WeakMap(), Xe = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Jn = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
261
261
  function ue(e, t, n) {
262
- if (Le && qe) {
262
+ if (Le && Ge) {
263
263
  let a = cn.get(e);
264
264
  a || cn.set(e, a = /* @__PURE__ */ new Map());
265
265
  let r = a.get(n);
266
266
  r || a.set(n, r = hi(() => a.delete(n))), di(
267
- qe,
267
+ Ge,
268
268
  r,
269
269
  process.env.NODE_ENV !== "production" ? {
270
270
  target: e,
@@ -325,23 +325,23 @@ function Wl() {
325
325
  const e = {};
326
326
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
327
327
  e[t] = function(...n) {
328
- const a = q(this);
328
+ const a = G(this);
329
329
  for (let i = 0, o = this.length; i < o; i++)
330
330
  ue(a, "get", i + "");
331
331
  const r = a[t](...n);
332
- return r === -1 || r === !1 ? a[t](...n.map(q)) : r;
332
+ return r === -1 || r === !1 ? a[t](...n.map(G)) : r;
333
333
  };
334
334
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
335
335
  e[t] = function(...n) {
336
336
  On(), Oa();
337
- const a = q(this)[t].apply(this, n);
337
+ const a = G(this)[t].apply(this, n);
338
338
  return Ta(), Tn(), a;
339
339
  };
340
340
  }), e;
341
341
  }
342
342
  function Kl(e) {
343
343
  Bt(e) || (e = String(e));
344
- const t = q(this);
344
+ const t = G(this);
345
345
  return ue(t, "has", e), t.hasOwnProperty(e);
346
346
  }
347
347
  class mi {
@@ -379,11 +379,11 @@ class zl extends mi {
379
379
  let i = t[n];
380
380
  if (!this._isShallow) {
381
381
  const s = Nt(i);
382
- if (!dn(a) && !Nt(a) && (i = q(i), a = q(a)), !ee(t) && de(i) && !de(a))
382
+ if (!dn(a) && !Nt(a) && (i = G(i), a = G(a)), !ee(t) && de(i) && !de(a))
383
383
  return s ? !1 : (i.value = a, !0);
384
384
  }
385
385
  const o = ee(t) && xa(n) ? Number(n) < t.length : ae(t, n), l = Reflect.set(t, n, a, r);
386
- return t === q(r) && (o ? He(a, i) && Fe(t, "set", n, a, i) : Fe(t, "add", n, a)), l;
386
+ return t === G(r) && (o ? He(a, i) && Fe(t, "set", n, a, i) : Fe(t, "add", n, a)), l;
387
387
  }
388
388
  deleteProperty(t, n) {
389
389
  const a = ae(t, n), r = t[n], i = Reflect.deleteProperty(t, n);
@@ -418,10 +418,10 @@ class gi extends mi {
418
418
  ), !0;
419
419
  }
420
420
  }
421
- const Ul = /* @__PURE__ */ new zl(), Gl = /* @__PURE__ */ new gi(), ql = /* @__PURE__ */ new gi(!0), Da = (e) => e, Dn = (e) => Reflect.getPrototypeOf(e);
421
+ const Ul = /* @__PURE__ */ new zl(), ql = /* @__PURE__ */ new gi(), Gl = /* @__PURE__ */ new gi(!0), Da = (e) => e, Dn = (e) => Reflect.getPrototypeOf(e);
422
422
  function Wt(e, t, n = !1, a = !1) {
423
423
  e = e.__v_raw;
424
- const r = q(e), i = q(t);
424
+ const r = G(e), i = G(t);
425
425
  n || (He(t, i) && ue(r, "get", t), ue(r, "get", i));
426
426
  const { has: o } = Dn(r), l = a ? Da : n ? Na : It;
427
427
  if (o.call(r, t))
@@ -431,45 +431,45 @@ function Wt(e, t, n = !1, a = !1) {
431
431
  e !== r && e.get(t);
432
432
  }
433
433
  function Kt(e, t = !1) {
434
- const n = this.__v_raw, a = q(n), r = q(e);
434
+ const n = this.__v_raw, a = G(n), r = G(e);
435
435
  return t || (He(e, r) && ue(a, "has", e), ue(a, "has", r)), e === r ? n.has(e) : n.has(e) || n.has(r);
436
436
  }
437
437
  function zt(e, t = !1) {
438
- return e = e.__v_raw, !t && ue(q(e), "iterate", Xe), Reflect.get(e, "size", e);
438
+ return e = e.__v_raw, !t && ue(G(e), "iterate", Xe), Reflect.get(e, "size", e);
439
439
  }
440
440
  function vr(e) {
441
- e = q(e);
442
- const t = q(this);
441
+ e = G(e);
442
+ const t = G(this);
443
443
  return Dn(t).has.call(t, e) || (t.add(e), Fe(t, "add", e, e)), this;
444
444
  }
445
445
  function mr(e, t) {
446
- t = q(t);
447
- const n = q(this), { has: a, get: r } = Dn(n);
446
+ t = G(t);
447
+ const n = G(this), { has: a, get: r } = Dn(n);
448
448
  let i = a.call(n, e);
449
- i ? process.env.NODE_ENV !== "production" && yi(n, a, e) : (e = q(e), i = a.call(n, e));
449
+ i ? process.env.NODE_ENV !== "production" && yi(n, a, e) : (e = G(e), i = a.call(n, e));
450
450
  const o = r.call(n, e);
451
451
  return n.set(e, t), i ? He(t, o) && Fe(n, "set", e, t, o) : Fe(n, "add", e, t), this;
452
452
  }
453
453
  function gr(e) {
454
- const t = q(this), { has: n, get: a } = Dn(t);
454
+ const t = G(this), { has: n, get: a } = Dn(t);
455
455
  let r = n.call(t, e);
456
- r ? process.env.NODE_ENV !== "production" && yi(t, n, e) : (e = q(e), r = n.call(t, e));
456
+ r ? process.env.NODE_ENV !== "production" && yi(t, n, e) : (e = G(e), r = n.call(t, e));
457
457
  const i = a ? a.call(t, e) : void 0, o = t.delete(e);
458
458
  return r && Fe(t, "delete", e, void 0, i), o;
459
459
  }
460
460
  function yr() {
461
- const e = q(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? lt(e) ? new Map(e) : new Set(e) : void 0, a = e.clear();
461
+ const e = G(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? lt(e) ? new Map(e) : new Set(e) : void 0, a = e.clear();
462
462
  return t && Fe(e, "clear", void 0, void 0, n), a;
463
463
  }
464
464
  function Ut(e, t) {
465
465
  return function(a, r) {
466
- const i = this, o = i.__v_raw, l = q(o), s = t ? Da : e ? Na : It;
466
+ const i = this, o = i.__v_raw, l = G(o), s = t ? Da : e ? Na : It;
467
467
  return !e && ue(l, "iterate", Xe), o.forEach((u, d) => a.call(r, s(u), s(d), i));
468
468
  };
469
469
  }
470
- function Gt(e, t, n) {
470
+ function qt(e, t, n) {
471
471
  return function(...a) {
472
- const r = this.__v_raw, i = q(r), o = lt(i), l = e === "entries" || e === Symbol.iterator && o, s = e === "keys" && o, u = r[e](...a), d = n ? Da : t ? Na : It;
472
+ const r = this.__v_raw, i = G(r), o = lt(i), l = e === "entries" || e === Symbol.iterator && o, s = e === "keys" && o, u = r[e](...a), d = n ? Da : t ? Na : It;
473
473
  return !t && ue(
474
474
  i,
475
475
  "iterate",
@@ -496,7 +496,7 @@ function Pe(e) {
496
496
  const n = t[0] ? `on key "${t[0]}" ` : "";
497
497
  ft(
498
498
  `${oi(e)} operation ${n}failed: target is readonly.`,
499
- q(this)
499
+ G(this)
500
500
  );
501
501
  }
502
502
  return e === "delete" ? !1 : e === "clear" ? void 0 : this;
@@ -566,7 +566,7 @@ function Xl() {
566
566
  "entries",
567
567
  Symbol.iterator
568
568
  ].forEach((i) => {
569
- e[i] = Gt(i, !1, !1), n[i] = Gt(i, !0, !1), t[i] = Gt(i, !1, !0), a[i] = Gt(
569
+ e[i] = qt(i, !1, !1), n[i] = qt(i, !0, !1), t[i] = qt(i, !1, !0), a[i] = qt(
570
570
  i,
571
571
  !0,
572
572
  !0
@@ -600,7 +600,7 @@ const ts = {
600
600
  get: /* @__PURE__ */ ka(!0, !0)
601
601
  };
602
602
  function yi(e, t, n) {
603
- const a = q(n);
603
+ const a = G(n);
604
604
  if (a !== n && t.call(e, a)) {
605
605
  const r = ii(e);
606
606
  ft(
@@ -639,16 +639,16 @@ function Si(e) {
639
639
  return Aa(
640
640
  e,
641
641
  !0,
642
- Gl,
642
+ ql,
643
643
  ns,
644
644
  bi
645
645
  );
646
646
  }
647
- function qt(e) {
647
+ function Gt(e) {
648
648
  return Aa(
649
649
  e,
650
650
  !0,
651
- ql,
651
+ Gl,
652
652
  as,
653
653
  _i
654
654
  );
@@ -682,9 +682,9 @@ function dn(e) {
682
682
  function Qn(e) {
683
683
  return e ? !!e.__v_raw : !1;
684
684
  }
685
- function q(e) {
685
+ function G(e) {
686
686
  const t = e && e.__v_raw;
687
- return t ? q(t) : e;
687
+ return t ? G(t) : e;
688
688
  }
689
689
  function ls(e) {
690
690
  return Object.isExtensible(e) && Pl(e, "__v_skip", !0), e;
@@ -701,7 +701,7 @@ class us {
701
701
  ), this.effect.computed = this, this.effect.active = this._cacheable = !r, this.__v_isReadonly = a;
702
702
  }
703
703
  get value() {
704
- const t = q(this);
704
+ const t = G(this);
705
705
  return (!t._cacheable || t.effect.dirty) && He(t._value, t._value = t.effect.run()) && an(t, 4), xi(t), t.effect._dirtyLevel >= 2 && (process.env.NODE_ENV !== "production" && this._warnRecursive && ft(ss, `
706
706
 
707
707
  getter: `, this.getter), an(t, 2)), t._value;
@@ -720,8 +720,8 @@ getter: `, this.getter), an(t, 2)), t._value;
720
720
  }
721
721
  function xi(e) {
722
722
  var t;
723
- Le && qe && (e = q(e), di(
724
- qe,
723
+ Le && Ge && (e = G(e), di(
724
+ Ge,
725
725
  (t = e.dep) != null ? t : e.dep = hi(
726
726
  () => e.dep = void 0,
727
727
  e instanceof us ? e : void 0
@@ -734,7 +734,7 @@ function xi(e) {
734
734
  ));
735
735
  }
736
736
  function an(e, t = 4, n) {
737
- e = q(e);
737
+ e = G(e);
738
738
  const a = e.dep;
739
739
  a && fi(
740
740
  a,
@@ -761,14 +761,14 @@ function Ei(e, t) {
761
761
  }
762
762
  class ds {
763
763
  constructor(t, n) {
764
- this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? t : q(t), this._value = n ? t : It(t);
764
+ this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? t : G(t), this._value = n ? t : It(t);
765
765
  }
766
766
  get value() {
767
767
  return xi(this), this._value;
768
768
  }
769
769
  set value(t) {
770
770
  const n = this.__v_isShallow || dn(t) || Nt(t);
771
- t = n ? t : q(t), He(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : It(t), an(this, 4, t));
771
+ t = n ? t : G(t), He(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : It(t), an(this, 4, t));
772
772
  }
773
773
  }
774
774
  function fs(e) {
@@ -796,7 +796,7 @@ class ms {
796
796
  this._object[this._key] = t;
797
797
  }
798
798
  get dep() {
799
- return jl(q(this._object), this._key);
799
+ return jl(G(this._object), this._key);
800
800
  }
801
801
  }
802
802
  class gs {
@@ -892,7 +892,7 @@ function xs(e) {
892
892
  }), n.length > 3 && t.push(" ..."), t;
893
893
  }
894
894
  function Oi(e, t, n) {
895
- return we(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : de(t) ? (t = Oi(e, q(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : le(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = q(t), n ? t : [`${e}=`, t]);
895
+ return we(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : de(t) ? (t = Oi(e, G(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : le(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = G(t), n ? t : [`${e}=`, t]);
896
896
  }
897
897
  const Ti = {
898
898
  sp: "serverPrefetch hook",
@@ -1288,10 +1288,10 @@ const ta = (e) => e ? ou(e) ? lu(e) || e.proxy : ta(e.parent) : null, Et = (
1288
1288
  $: (e) => e,
1289
1289
  $el: (e) => e.vnode.el,
1290
1290
  $data: (e) => e.data,
1291
- $props: (e) => process.env.NODE_ENV !== "production" ? qt(e.props) : e.props,
1292
- $attrs: (e) => process.env.NODE_ENV !== "production" ? qt(e.attrs) : e.attrs,
1293
- $slots: (e) => process.env.NODE_ENV !== "production" ? qt(e.slots) : e.slots,
1294
- $refs: (e) => process.env.NODE_ENV !== "production" ? qt(e.refs) : e.refs,
1291
+ $props: (e) => process.env.NODE_ENV !== "production" ? Gt(e.props) : e.props,
1292
+ $attrs: (e) => process.env.NODE_ENV !== "production" ? Gt(e.attrs) : e.attrs,
1293
+ $slots: (e) => process.env.NODE_ENV !== "production" ? Gt(e.slots) : e.slots,
1294
+ $refs: (e) => process.env.NODE_ENV !== "production" ? Gt(e.refs) : e.refs,
1295
1295
  $parent: (e) => ta(e.parent),
1296
1296
  $root: (e) => ta(e.root),
1297
1297
  $emit: (e) => e.emit,
@@ -1508,7 +1508,7 @@ function Pi(e, t, n = !1) {
1508
1508
  } else
1509
1509
  process.env.NODE_ENV !== "production" && te("inject() can only be used inside setup() or functional components.");
1510
1510
  }
1511
- const Gs = {}, $i = (e) => Object.getPrototypeOf(e) === Gs, Cr = Vs, qs = (e) => e.__isTeleport, Vi = Symbol.for("v-fgt"), Xs = Symbol.for("v-txt"), Zs = Symbol.for("v-cmt");
1511
+ const qs = {}, $i = (e) => Object.getPrototypeOf(e) === qs, Cr = Vs, Gs = (e) => e.__isTeleport, Vi = Symbol.for("v-fgt"), Xs = Symbol.for("v-txt"), Zs = Symbol.for("v-cmt");
1512
1512
  let it = null;
1513
1513
  function Js(e) {
1514
1514
  return e ? e.__v_isVNode === !0 : !1;
@@ -1575,8 +1575,8 @@ function Bi(e, t = null, n = null, a = 0, r = null, i = !1) {
1575
1575
  let { class: l, style: s } = t;
1576
1576
  l && !we(l) && (t.class = Ea(l)), ge(s) && (Qn(s) && !ee(s) && (s = Oe({}, s)), t.style = Ca(s));
1577
1577
  }
1578
- const o = we(e) ? 1 : $s(e) ? 128 : qs(e) ? 64 : ge(e) ? 4 : le(e) ? 2 : 0;
1579
- return process.env.NODE_ENV !== "production" && o & 4 && Qn(e) && (e = q(e), te(
1578
+ const o = we(e) ? 1 : $s(e) ? 128 : Gs(e) ? 64 : ge(e) ? 4 : le(e) ? 2 : 0;
1579
+ return process.env.NODE_ENV !== "production" && o & 4 && Qn(e) && (e = G(e), te(
1580
1580
  "Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
1581
1581
  `
1582
1582
  Component that was made reactive: `,
@@ -2783,17 +2783,17 @@ function Au(e, t) {
2783
2783
  href: x(() => e.to ? i == null ? void 0 : i.route.value.href : e.href)
2784
2784
  };
2785
2785
  }
2786
- const Gi = "y-plate-wave__animation";
2787
- function qi(e) {
2786
+ const qi = "y-plate-wave__animation";
2787
+ function Gi(e) {
2788
2788
  if (!e)
2789
2789
  return;
2790
2790
  const t = document.createElement("span");
2791
- t.className = Gi, e.appendChild(t), t.dataset.activated = String(performance.now());
2791
+ t.className = qi, e.appendChild(t), t.dataset.activated = String(performance.now());
2792
2792
  }
2793
2793
  function La(e) {
2794
2794
  if (!e)
2795
2795
  return;
2796
- const t = e.getElementsByClassName(Gi);
2796
+ const t = e.getElementsByClassName(qi);
2797
2797
  if (t.length === 0)
2798
2798
  return;
2799
2799
  const n = t[t.length - 1];
@@ -2807,7 +2807,7 @@ function La(e) {
2807
2807
  }
2808
2808
  let oa = !1;
2809
2809
  function Xi(e) {
2810
- qi(e.currentTarget);
2810
+ Gi(e.currentTarget);
2811
2811
  }
2812
2812
  function Ot(e) {
2813
2813
  La(e.currentTarget);
@@ -2815,7 +2815,7 @@ function Ot(e) {
2815
2815
  function Nu(e) {
2816
2816
  }
2817
2817
  function Zi(e) {
2818
- !oa && (e.key === "Enter" || e.key === "Space") && (oa = !0, qi(e.currentTarget));
2818
+ !oa && (e.key === "Enter" || e.key === "Space") && (oa = !0, Gi(e.currentTarget));
2819
2819
  }
2820
2820
  function Ji(e) {
2821
2821
  oa = !1, La(e.currentTarget);
@@ -3343,8 +3343,8 @@ function Fu(e) {
3343
3343
  themeClasses: p,
3344
3344
  computedThemes: b,
3345
3345
  computedPalette: m,
3346
- supportedAutoMode: qn(l),
3347
- preferColorScheme: qn(s)
3346
+ supportedAutoMode: Gn(l),
3347
+ preferColorScheme: Gn(s)
3348
3348
  }
3349
3349
  };
3350
3350
  }
@@ -4075,7 +4075,9 @@ const Se = "y-input", An = L({
4075
4075
  value: u.value,
4076
4076
  id: `y-input--${i}`,
4077
4077
  disabled: e.disabled,
4078
- placeholder: e.placeholder
4078
+ placeholder: e.placeholder,
4079
+ readonly: e.readonly,
4080
+ required: e.required
4079
4081
  }, t, {
4080
4082
  onInput: S,
4081
4083
  onFocus: f,
@@ -4099,7 +4101,7 @@ const Se = "y-input", An = L({
4099
4101
  input$: l
4100
4102
  };
4101
4103
  }
4102
- }), Gu = {
4104
+ }), qu = {
4103
4105
  search: "search",
4104
4106
  noItems: "No Options",
4105
4107
  noData: "No Data"
@@ -4147,9 +4149,9 @@ function io(e, t, n) {
4147
4149
  getContext: i
4148
4150
  };
4149
4151
  }
4150
- function qu(e) {
4152
+ function Gu(e) {
4151
4153
  const t = _e((e == null ? void 0 : e.locale) ?? "en"), n = _e((e == null ? void 0 : e.fallbackLocale) ?? "en"), a = N({
4152
- en: Gu,
4154
+ en: qu,
4153
4155
  ...e == null ? void 0 : e.messages
4154
4156
  }), r = io(t, n, a);
4155
4157
  return {
@@ -4164,7 +4166,7 @@ function qu(e) {
4164
4166
  }
4165
4167
  function Xu(e) {
4166
4168
  var t;
4167
- return e != null && e.adapter && ((t = e.adapter) != null && t.name) ? e.adapter : qu(e);
4169
+ return e != null && e.adapter && ((t = e.adapter) != null && t.name) ? e.adapter : Gu(e);
4168
4170
  }
4169
4171
  const Zu = {
4170
4172
  af: "af-ZA",
@@ -4322,7 +4324,7 @@ function Ne(e) {
4322
4324
  }
4323
4325
  return {
4324
4326
  resizeObservedRef: t,
4325
- contentRect: qn(n)
4327
+ contentRect: Gn(n)
4326
4328
  };
4327
4329
  }
4328
4330
  function rc(e, t) {
@@ -4966,13 +4968,13 @@ function yc(e, t, n, a) {
4966
4968
  };
4967
4969
  function z(D) {
4968
4970
  const P = new Jt(E), V = Fr(D.anchor, _), Y = Fr(D.origin, P);
4969
- let { x: X, y: G } = gc(V, Y);
4971
+ let { x: X, y: q } = gc(V, Y);
4970
4972
  switch (D.anchor.side) {
4971
4973
  case "top":
4972
- G -= m.value[0];
4974
+ q -= m.value[0];
4973
4975
  break;
4974
4976
  case "bottom":
4975
- G += m.value[0];
4977
+ q += m.value[0];
4976
4978
  break;
4977
4979
  case "left":
4978
4980
  X -= m.value[0];
@@ -4983,10 +4985,10 @@ function yc(e, t, n, a) {
4983
4985
  }
4984
4986
  switch (D.anchor.align) {
4985
4987
  case "top":
4986
- G -= m.value[1];
4988
+ q -= m.value[1];
4987
4989
  break;
4988
4990
  case "bottom":
4989
- G += m.value[1];
4991
+ q += m.value[1];
4990
4992
  break;
4991
4993
  case "left":
4992
4994
  X -= m.value[1];
@@ -4995,7 +4997,7 @@ function yc(e, t, n, a) {
4995
4997
  X += m.value[1];
4996
4998
  break;
4997
4999
  }
4998
- return P.x += X, P.y += G, P.width = Math.min(P.width, d.value), P.height = Math.min(P.height, g.value), { overflows: Tr(P, C), x: X, y: G };
5000
+ return P.x += X, P.y += q, P.width = Math.min(P.width, d.value), P.height = Math.min(P.height, g.value), { overflows: Tr(P, C), x: X, y: q };
4999
5001
  }
5000
5002
  let k = 0, T = 0;
5001
5003
  const M = { x: 0, y: 0 }, F = { x: !1, y: !1 };
@@ -5004,10 +5006,10 @@ function yc(e, t, n, a) {
5004
5006
  const { x: D, y: P, overflows: V } = z(A);
5005
5007
  k += D, T += P, E.x += D, E.y += P;
5006
5008
  {
5007
- const Y = Nr(A.anchor), X = V.x.before || V.x.after, G = V.y.before || V.y.after;
5009
+ const Y = Nr(A.anchor), X = V.x.before || V.x.after, q = V.y.before || V.y.after;
5008
5010
  let fe = !1;
5009
5011
  if (["x", "y"].forEach((oe) => {
5010
- if (oe === "x" && X && !F.x || oe === "y" && G && !F.y) {
5012
+ if (oe === "x" && X && !F.x || oe === "y" && q && !F.y) {
5011
5013
  const Me = {
5012
5014
  anchor: { ...A.anchor },
5013
5015
  origin: { ...A.origin }
@@ -5408,8 +5410,8 @@ const jt = L({
5408
5410
  dimensionStyles: p
5409
5411
  } = Sc(e), v = x({
5410
5412
  get: () => !!e.modelValue,
5411
- set: (G) => {
5412
- t("update:modelValue", G);
5413
+ set: (q) => {
5414
+ t("update:modelValue", q);
5413
5415
  }
5414
5416
  }), _ = _e(!1), E = N(!1), h = Ee(e, "disabled"), {
5415
5417
  lazyValue: C,
@@ -5422,8 +5424,8 @@ const jt = L({
5422
5424
  base: s,
5423
5425
  active: v
5424
5426
  });
5425
- function k(G) {
5426
- t("click:complement", G), e.modal || o.value !== null && o.value === G.target && e.closeClickScrim && (v.value = !1);
5427
+ function k(q) {
5428
+ t("click:complement", q), e.modal || o.value !== null && o.value === q.target && e.closeClickScrim && (v.value = !1);
5427
5429
  }
5428
5430
  function T() {
5429
5431
  return (!e.openOnHover || e.openOnHover && !E.value) && v.value && _.value;
@@ -5442,20 +5444,20 @@ const jt = L({
5442
5444
  function O() {
5443
5445
  e.closeClickScrim && (v.value = !1);
5444
5446
  }
5445
- function D(G) {
5447
+ function D(q) {
5446
5448
  E.value = !0;
5447
5449
  }
5448
- function P(G) {
5450
+ function P(q) {
5449
5451
  E.value = !1;
5450
5452
  }
5451
5453
  const V = x(() => ({
5452
5454
  zIndex: (e.zIndex ?? "2000").toString()
5453
5455
  })), Y = x(() => {
5454
5456
  const {
5455
- classes: G
5457
+ classes: q
5456
5458
  } = e;
5457
5459
  return {
5458
- ...We(G),
5460
+ ...We(q),
5459
5461
  "y-layer--active": !!v.value
5460
5462
  };
5461
5463
  }), X = x(() => ({
@@ -5473,10 +5475,10 @@ const jt = L({
5473
5475
  finish: _,
5474
5476
  modal: x(() => e.modal),
5475
5477
  getActiveLayers: y,
5476
- isMe: (G) => G === i
5478
+ isMe: (q) => q === i
5477
5479
  }), j(() => {
5478
5480
  var fe;
5479
- const G = (fe = r.base) == null ? void 0 : fe.call(r, {
5481
+ const q = (fe = r.base) == null ? void 0 : fe.call(r, {
5480
5482
  active: v.value,
5481
5483
  props: W({
5482
5484
  ref: u,
@@ -5486,7 +5488,7 @@ const jt = L({
5486
5488
  }
5487
5489
  })
5488
5490
  });
5489
- return g.value = G, c(J, null, [G, c(_l, {
5491
+ return g.value = q, c(J, null, [q, c(_l, {
5490
5492
  disabled: !w.value,
5491
5493
  to: w.value
5492
5494
  }, {
@@ -5922,14 +5924,14 @@ Kc.forEach((e) => {
5922
5924
  wn.push(e + t), $t.set(Ua(e + t), zc[e]);
5923
5925
  });
5924
5926
  });
5925
- const Uc = (e, t) => wn.indexOf(e) - wn.indexOf(t), Gc = new Set(wn), xo = (e) => Gc.has(e), qc = (e, t) => {
5927
+ const Uc = (e, t) => wn.indexOf(e) - wn.indexOf(t), qc = new Set(wn), xo = (e) => qc.has(e), Gc = (e, t) => {
5926
5928
  _n[t] && (t = _n[t]);
5927
5929
  const { transforms: n } = So(e);
5928
5930
  Nc(n, t), e.style.transform = Xc(n);
5929
- }, Xc = (e) => e.sort(Uc).reduce(Zc, "").trim(), Zc = (e, t) => `${e} ${t}(var(${Ua(t)}))`, ca = (e) => e.startsWith("--"), Gr = /* @__PURE__ */ new Set();
5931
+ }, Xc = (e) => e.sort(Uc).reduce(Zc, "").trim(), Zc = (e, t) => `${e} ${t}(var(${Ua(t)}))`, ca = (e) => e.startsWith("--"), qr = /* @__PURE__ */ new Set();
5930
5932
  function Jc(e) {
5931
- if (!Gr.has(e)) {
5932
- Gr.add(e);
5933
+ if (!qr.has(e)) {
5934
+ qr.add(e);
5933
5935
  try {
5934
5936
  const { syntax: t, initialValue: n } = $t.has(e) ? $t.get(e) : {};
5935
5937
  CSS.registerProperty({
@@ -5942,7 +5944,7 @@ function Jc(e) {
5942
5944
  }
5943
5945
  }
5944
5946
  }
5945
- const zn = (e, t) => document.createElement("div").animate(e, t), qr = {
5947
+ const zn = (e, t) => document.createElement("div").animate(e, t), Gr = {
5946
5948
  cssRegisterProperty: () => typeof CSS < "u" && Object.hasOwnProperty.call(CSS, "registerProperty"),
5947
5949
  waapi: () => Object.hasOwnProperty.call(Element.prototype, "animate"),
5948
5950
  partialKeyframes: () => {
@@ -5963,8 +5965,8 @@ const zn = (e, t) => document.createElement("div").animate(e, t), qr = {
5963
5965
  return !0;
5964
5966
  }
5965
5967
  }, Un = {}, ot = {};
5966
- for (const e in qr)
5967
- ot[e] = () => (Un[e] === void 0 && (Un[e] = qr[e]()), Un[e]);
5968
+ for (const e in Gr)
5969
+ ot[e] = () => (Un[e] === void 0 && (Un[e] = Gr[e]()), Un[e]);
5968
5970
  const Qc = 0.015, ed = (e, t) => {
5969
5971
  let n = "";
5970
5972
  const a = Math.round(t / Qc);
@@ -6020,7 +6022,7 @@ function od(e, t, n, a = {}, r) {
6020
6022
  let l, { duration: s = me.duration, delay: u = me.delay, endDelay: d = me.endDelay, repeat: g = me.repeat, easing: m = me.easing, persist: b = !1, direction: w, offset: S, allowWebkitAcceleration: y = !1 } = a;
6021
6023
  const f = So(e), p = xo(t);
6022
6024
  let v = ot.waapi();
6023
- p && qc(e, t);
6025
+ p && Gc(e, t);
6024
6026
  const _ = da(t), E = Hc(f.values, _), h = $t.get(_);
6025
6027
  return Co(E.animation, !(sa(m) && E.generator) && a.record !== !1), () => {
6026
6028
  const C = () => {
@@ -6591,7 +6593,7 @@ const Do = To(!1), Sd = To(!0), xd = /* @__PURE__ */ $({
6591
6593
  activeSecondary: i
6592
6594
  };
6593
6595
  }
6594
- }), Ga = L(
6596
+ }), qa = L(
6595
6597
  {
6596
6598
  items: {
6597
6599
  type: Array,
@@ -6681,7 +6683,7 @@ const Do = To(!1), Sd = To(!0), xd = /* @__PURE__ */ $({
6681
6683
  "stroke-width": "3"
6682
6684
  }, null)]);
6683
6685
  }
6684
- }), qa = /* @__PURE__ */ $({
6686
+ }), Ga = /* @__PURE__ */ $({
6685
6687
  name: "YIconSort",
6686
6688
  props: {
6687
6689
  direction: {
@@ -6751,7 +6753,7 @@ const Do = To(!1), Sd = To(!0), xd = /* @__PURE__ */ $({
6751
6753
  type: "prev"
6752
6754
  }
6753
6755
  },
6754
- sort: qa
6756
+ sort: Ga
6755
6757
  }, Ed = $({
6756
6758
  name: "YTextHighlighter",
6757
6759
  props: {
@@ -6833,7 +6835,7 @@ const Do = To(!1), Sd = To(!0), xd = /* @__PURE__ */ $({
6833
6835
  default: "primary"
6834
6836
  },
6835
6837
  enableSelect: Boolean,
6836
- ...Ga({
6838
+ ...qa({
6837
6839
  itemKey: "id"
6838
6840
  })
6839
6841
  }, "YTreeViewNode"), Ao = /* @__PURE__ */ $({
@@ -7164,8 +7166,8 @@ const Jr = Xa(), Dd = /* @__PURE__ */ $({
7164
7166
  l.value = e.returnItem ? O.map((D) => r.value[D].item) : O;
7165
7167
  }
7166
7168
  function A(O, D, P, V) {
7167
- const Y = e.returnItem ? O.map((G) => Q(G, e.itemKey)) : O, X = [...D.value];
7168
- xe(X, Y) || (X.forEach((G) => P(G, !1)), Y.forEach((G) => P(G, !0)), V());
7169
+ const Y = e.returnItem ? O.map((q) => Q(q, e.itemKey)) : O, X = [...D.value];
7170
+ xe(X, Y) || (X.forEach((q) => P(q, !1)), Y.forEach((q) => P(q, !0)), V());
7169
7171
  }
7170
7172
  R(i, (O) => {
7171
7173
  A(O, s, v, C);
@@ -7174,10 +7176,10 @@ const Jr = Xa(), Dd = /* @__PURE__ */ $({
7174
7176
  }), R(l, (O) => {
7175
7177
  A(O, u, h, B);
7176
7178
  }), R(() => e.items, (O) => {
7177
- const D = Object.keys(r.value).map((G) => Q(r.value[G].item, e.itemKey)), P = Od(O, e.itemKey, e.itemChildren), V = ur(D, P);
7179
+ const D = Object.keys(r.value).map((q) => Q(r.value[q].item, e.itemKey)), P = Od(O, e.itemKey, e.itemChildren), V = ur(D, P);
7178
7180
  if (V.length < 1 && P.length < D.length)
7179
7181
  return;
7180
- V.forEach((G) => delete r.value[G]);
7182
+ V.forEach((q) => delete r.value[q]);
7181
7183
  const Y = [...u.value], X = [...d.value];
7182
7184
  u.value.clear(), s.value.clear(), d.value.clear(), p(O), xe(Y, [...u.value]) || B(), xe(X, [...d.value]) || I();
7183
7185
  }, {
@@ -7697,7 +7699,7 @@ const Id = L({
7697
7699
  item: e.item.raw,
7698
7700
  internalItem: e.item,
7699
7701
  columns: i.value,
7700
- value: Ge(s.columns, o.key),
7702
+ value: qe(s.columns, o.key),
7701
7703
  selected: x(() => a(s)).value,
7702
7704
  toggleSelect: r
7703
7705
  }, d = typeof e.cellProps == "function" ? e.cellProps({
@@ -7787,7 +7789,7 @@ const Id = L({
7787
7789
  }, g = {
7788
7790
  ...d,
7789
7791
  props: W({
7790
- key: `item__${s.value ?? s.index}`,
7792
+ key: `item__${s.key ?? s.index}`,
7791
7793
  item: s,
7792
7794
  onClick: e["onClick:row"] ? (m) => {
7793
7795
  var b;
@@ -8295,7 +8297,7 @@ const Ko = L({
8295
8297
  onClick: y.sortable ? (C) => {
8296
8298
  C.stopPropagation(), n(y);
8297
8299
  } : void 0
8298
- }, [c(qa, {
8300
+ }, [c(Ga, {
8299
8301
  disabled: !y.sortable,
8300
8302
  direction: w(y)
8301
8303
  }, null)])]);
@@ -8351,12 +8353,13 @@ const Ko = L({
8351
8353
  "YDataTable--items"
8352
8354
  );
8353
8355
  function Fd(e, t, n, a) {
8354
- const r = e.returnItem ? t : Ge(t, e.itemKey), i = Ge(t, e.itemSelectable, !0), o = a.reduce((l, s) => (l[s.key] = Ge(t, s.value ?? s.key), l), {});
8356
+ const r = qe(t, e.itemKey), i = e.returnItem ? t : r, o = qe(t, e.itemSelectable, !0), l = a.reduce((s, u) => (s[u.key] = qe(t, u.value ?? u.key), s), {});
8355
8357
  return {
8356
8358
  index: n,
8357
- value: r,
8358
- selectable: i,
8359
- columns: o,
8359
+ key: r,
8360
+ value: i,
8361
+ selectable: o,
8362
+ columns: l,
8360
8363
  raw: t
8361
8364
  };
8362
8365
  }
@@ -8539,7 +8542,7 @@ const ar = L({
8539
8542
  paginatedItems: f
8540
8543
  };
8541
8544
  }
8542
- }), Go = L({
8545
+ }), qo = L({
8543
8546
  total: {
8544
8547
  type: [Number, String],
8545
8548
  required: !0
@@ -8556,7 +8559,7 @@ const ar = L({
8556
8559
  YDataTableControl: ma
8557
8560
  },
8558
8561
  props: {
8559
- ...Go()
8562
+ ...qo()
8560
8563
  },
8561
8564
  emits: {
8562
8565
  "update:modelValue": (e) => !0,
@@ -8678,8 +8681,8 @@ const ar = L({
8678
8681
  });
8679
8682
  });
8680
8683
  }
8681
- }), qo = "YMenu";
8682
- Va(qo);
8684
+ }), Go = "YMenu";
8685
+ Va(Go);
8683
8686
  const rr = {
8684
8687
  menuClasses: {
8685
8688
  type: [Array, String, Object]
@@ -8701,7 +8704,7 @@ const rr = {
8701
8704
  }),
8702
8705
  preventCloseBubble: Boolean
8703
8706
  }, At = /* @__PURE__ */ $({
8704
- name: qo,
8707
+ name: Go,
8705
8708
  props: {
8706
8709
  ...rr,
8707
8710
  transition: {
@@ -9042,7 +9045,7 @@ const rr = {
9042
9045
  type: String,
9043
9046
  required: !0
9044
9047
  }
9045
- }, "icon"), Gn = /* @__PURE__ */ $({
9048
+ }, "icon"), qn = /* @__PURE__ */ $({
9046
9049
  name: "YComponentIcon",
9047
9050
  props: Xo(),
9048
9051
  setup(e, {
@@ -9107,7 +9110,7 @@ function Ud(e) {
9107
9110
  const a = dt(e);
9108
9111
  if (!a)
9109
9112
  return {
9110
- component: Gn
9113
+ component: qn
9111
9114
  };
9112
9115
  let r = a;
9113
9116
  if (typeof r == "object" && "alias" in r && typeof r.alias == "string" && (r = r.alias), typeof r == "string" && (r = r.trim(), r.startsWith("$") && (r = (s = t.aliases) == null ? void 0 : s[r.slice(1)])), !r)
@@ -9123,7 +9126,7 @@ function Ud(e) {
9123
9126
  component: "component" in r ? r.component : r,
9124
9127
  props: "props" in r ? Be(r.props, (u == null ? void 0 : u.iconProps) ?? {}) : u.iconProps
9125
9128
  }), {
9126
- component: Gn,
9129
+ component: qn,
9127
9130
  icon: r
9128
9131
  };
9129
9132
  }
@@ -9132,7 +9135,7 @@ function Ud(e) {
9132
9135
  const d = new DOMParser().parseFromString(r, "text/xml").querySelector("svg");
9133
9136
  if (d)
9134
9137
  return {
9135
- component: Gn,
9138
+ component: qn,
9136
9139
  icon: {
9137
9140
  mounted() {
9138
9141
  d.childNodes.forEach((g) => {
@@ -9161,7 +9164,7 @@ function Ud(e) {
9161
9164
  })
9162
9165
  };
9163
9166
  }
9164
- function Gd(e) {
9167
+ function qd(e) {
9165
9168
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Sa(e);
9166
9169
  }
9167
9170
  const Qo = L({
@@ -9205,13 +9208,13 @@ const Qo = L({
9205
9208
  },
9206
9209
  role: t.onClick ? "button" : void 0,
9207
9210
  "aria-hidden": !t.onClick
9208
- }, Gd(o) ? o : {
9211
+ }, qd(o) ? o : {
9209
9212
  default: () => [o]
9210
9213
  });
9211
9214
  });
9212
9215
  }
9213
9216
  });
9214
- function qd(e) {
9217
+ function Gd(e) {
9215
9218
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Sa(e);
9216
9219
  }
9217
9220
  const el = L({
@@ -9226,7 +9229,7 @@ const el = L({
9226
9229
  type: [String, Array, Object],
9227
9230
  default: "$dropdown"
9228
9231
  },
9229
- ...Ga(),
9232
+ ...qa(),
9230
9233
  transition: {
9231
9234
  ...Mn.transition,
9232
9235
  default: "fade"
@@ -9281,7 +9284,7 @@ const el = L({
9281
9284
  default: () => {
9282
9285
  let s;
9283
9286
  return t.menu ? t.menu() : c(Pn, null, {
9284
- default: () => [Array.isArray(e.items) && e.items.length > 0 ? c(Ja, null, qd(s = e.items.map((u) => {
9287
+ default: () => [Array.isArray(e.items) && e.items.length > 0 ? c(Ja, null, Gd(s = e.items.map((u) => {
9285
9288
  const d = Q(u, e.itemText);
9286
9289
  return c(Za, {
9287
9290
  onClick: (g) => i(u)
@@ -9302,7 +9305,7 @@ const el = L({
9302
9305
  });
9303
9306
  }
9304
9307
  }), Zd = {
9305
- ...Ga({
9308
+ ...qa({
9306
9309
  itemKey: "value",
9307
9310
  itemChildren: !1
9308
9311
  }),
@@ -9318,7 +9321,7 @@ function tl(e, t) {
9318
9321
  return n;
9319
9322
  }
9320
9323
  function nl(e, t) {
9321
- const n = Ge(t, e.itemText, t), a = e.returnItem ? t : Ge(t, e.itemKey, n), r = Ge(t, e.itemChildren);
9324
+ const n = qe(t, e.itemText, t), a = e.returnItem ? t : qe(t, e.itemKey, n), r = qe(t, e.itemChildren);
9322
9325
  return {
9323
9326
  value: a,
9324
9327
  text: n,
@@ -10346,7 +10349,7 @@ const al = L({
10346
10349
  YIconClear: Ha,
10347
10350
  YIconExpand: Vt,
10348
10351
  YIconPageControl: Ae,
10349
- YIconSort: qa,
10352
+ YIconSort: Ga,
10350
10353
  YInput: Pt,
10351
10354
  YInputCheckbox: pa,
10352
10355
  YLayer: Ce,
@@ -10372,7 +10375,7 @@ const al = L({
10372
10375
  Y_TABS_KEY: or,
10373
10376
  builtSet: ko,
10374
10377
  pressDataTableProps: ar,
10375
- pressDataTableServerProps: Go,
10378
+ pressDataTableServerProps: qo,
10376
10379
  pressSelectPropsOptions: al,
10377
10380
  pressYBadgePropsOptions: hl,
10378
10381
  pressYButtonProps: Fa,