@synopackageland/ui 0.14.6 → 0.14.8

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/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as Ol from "vue";
2
2
  import { inject as Ze, computed as y, defineComponent as q, openBlock as f, createElementBlock as g, normalizeStyle as ke, unref as i, normalizeClass as te, createElementVNode as V, ref as P, provide as Qe, onMounted as qe, onUpdated as ko, createVNode as I, createCommentVNode as M, renderSlot as S, createBlock as $, useAttrs as Co, watch as pe, watchEffect as st, onBeforeUpdate as vf, onBeforeUnmount as He, mergeProps as ne, shallowReactive as Zs, onScopeDispose as Sn, shallowRef as Lt, shallowReadonly as na, toValue as nt, getCurrentScope as Js, customRef as mf, effectScope as Qs, getCurrentInstance as xt, isRef as jt, reactive as ht, toRefs as Ke, nextTick as De, Fragment as ce, toHandlerKey as hf, camelize as eu, triggerRef as yf, toRef as gf, onUnmounted as dt, h as At, Comment as tu, cloneVNode as bf, withCtx as _, withKeys as et, withDirectives as Tt, vShow as ba, withModifiers as $e, Teleport as $n, normalizeProps as Be, guardReactiveProps as Ie, markRaw as wf, renderList as _e, watchSyncEffect as xf, withMemo as yi, watchPostEffect as au, mergeDefaults as nu, resolveDynamicComponent as ze, toHandlers as ou, createTextVNode as he, toDisplayString as U, toRaw as _f, onBeforeMount as kf, useId as yt, useTemplateRef as Me, vModelText as ru, resolveComponent as gi, Text as Cf, useSlots as Ot, vModelSelect as pr, createSlots as eo } from "vue";
3
- import { EyeOff as Sf, Eye as $f, Minus as lo, ChevronDown as rt, Plus as Vr, Check as mt, X as gt, ChevronRight as ut, CalendarDays as Ef, ChevronLeft as bi, CircleAlert as wi, TriangleAlert as So, CircleCheck as xi, Info as za, File as Lr, FileImage as Tf, FileVideo as Af, FileAudio as Pf, FileArchive as qf, FileText as iu, FileCode as Df, FolderOpen as _i, Folder as ki, Ellipsis as Il, ChevronsLeft as Bf, ChevronsRight as Of, RefreshCw as so, Filter as If, Search as Rf, Trash2 as Mf, CircleQuestionMark as Vf, ChevronUp as lu, Columns3 as Lf, GripVertical as Rl, UploadCloud as Ff, Scissors as zf, Copy as Ci, Pencil as Nf, CircleHelp as Kf, Lightbulb as Wf, ChevronsUpDown as Hf, Package as jf, ExternalLink as Uf, PanelLeftOpen as Gf, PanelLeftClose as Yf, Menu as Xf, Download as Zf, ArrowUpRight as Jf } from "@lucide/vue";
4
- import { DateFormatter as Ht, createCalendar as Qf, toCalendar as Ml, CalendarDateTime as su, CalendarDate as uu, getLocalTimeZone as Si, ZonedDateTime as ep, getDayOfWeek as $i, startOfMonth as tp, endOfMonth as Vl, today as ap, isEqualMonth as Ll, isSameMonth as du, isSameDay as Na, isEqualDay as hn, isToday as np, parseDate as op } from "@internationalized/date";
3
+ import { EyeOff as Sf, Eye as $f, Minus as lo, ChevronDown as rt, Plus as Vr, Check as mt, X as gt, ChevronRight as ut, CalendarDays as Ef, ChevronLeft as bi, CircleAlert as wi, TriangleAlert as So, CircleCheck as xi, Info as Fa, File as Lr, FileImage as Tf, FileVideo as Af, FileAudio as Pf, FileArchive as qf, FileText as iu, FileCode as Df, FolderOpen as _i, Folder as ki, Ellipsis as Il, ChevronsLeft as Bf, ChevronsRight as Of, RefreshCw as so, Filter as If, Search as Rf, Trash2 as Mf, CircleQuestionMark as Vf, ChevronUp as lu, Columns3 as Lf, GripVertical as Rl, UploadCloud as Ff, Scissors as zf, Copy as Ci, Pencil as Nf, CircleHelp as Kf, Lightbulb as Wf, ChevronsUpDown as Hf, Package as jf, ExternalLink as Uf, PanelLeftOpen as Gf, PanelLeftClose as Yf, Menu as Xf, Download as Zf, ArrowUpRight as Jf } from "@lucide/vue";
4
+ import { DateFormatter as Ht, createCalendar as Qf, toCalendar as Ml, CalendarDateTime as su, CalendarDate as uu, getLocalTimeZone as Si, ZonedDateTime as ep, getDayOfWeek as $i, startOfMonth as tp, endOfMonth as Vl, today as ap, isEqualMonth as Ll, isSameMonth as du, isSameDay as za, isEqualDay as hn, isToday as np, parseDate as op } from "@internationalized/date";
5
5
  const cu = /* @__PURE__ */ Symbol("syno-pkg-land-ui:locale");
6
- function Ga(e) {
6
+ function Ua(e) {
7
7
  const a = Ze(cu, null);
8
8
  return y(() => e() ?? a?.value ?? "en");
9
9
  }
@@ -1474,7 +1474,7 @@ function Ei(e, a, t = {}) {
1474
1474
  return Ct(ip[e][a], t);
1475
1475
  }
1476
1476
  function Ue() {
1477
- const e = Ga(() => {
1477
+ const e = Ua(() => {
1478
1478
  });
1479
1479
  return (a, t) => Ei(e.value, a, t);
1480
1480
  }
@@ -1487,7 +1487,7 @@ function Xe(e, a) {
1487
1487
  }
1488
1488
  });
1489
1489
  }
1490
- const lp = ["aria-label"], Ya = /* @__PURE__ */ q({
1490
+ const lp = ["aria-label"], Ga = /* @__PURE__ */ q({
1491
1491
  __name: "Spinner",
1492
1492
  props: {
1493
1493
  label: {},
@@ -1545,10 +1545,11 @@ function fu(e) {
1545
1545
  }
1546
1546
  const pu = /* @__PURE__ */ Symbol("syno-pkg-land-ui:button-kind");
1547
1547
  function $o(e) {
1548
- Qe(pu, e);
1548
+ Qe(pu, e === "action" ? { kind: e, buttons: /* @__PURE__ */ new Set(), warned: /* @__PURE__ */ new Set() } : { kind: e });
1549
1549
  }
1550
- function up() {
1551
- return Ze(pu, "tool");
1550
+ function up(e, a, t) {
1551
+ const n = Ze(pu, { kind: "tool" });
1552
+ return y(() => e() ?? n.kind);
1552
1553
  }
1553
1554
  const dp = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "data-variant", "aria-busy"], cp = {
1554
1555
  key: 0,
@@ -1565,19 +1566,19 @@ const dp = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "d
1565
1566
  onClick: {}
1566
1567
  },
1567
1568
  setup(e) {
1568
- const a = e, { pending: t, onClick: n } = fu(() => a.onClick), o = y(() => a.loading || t.value), r = up(), l = y(() => a.kind ?? r), s = { sm: "h-[var(--ui-control-sm)] px-2.5", md: "h-[var(--ui-control-md)] px-[13px]", lg: "h-[var(--ui-control-lg)] px-4" }, u = P(null), d = P(!1);
1569
- function c() {
1570
- const m = u.value, h = !!m && !m.textContent?.trim() && !!m.querySelector(":scope > svg");
1571
- h !== d.value && (d.value = h);
1569
+ const a = e, { pending: t, onClick: n } = fu(() => a.onClick), o = y(() => a.loading || t.value), r = { sm: "h-[var(--ui-control-sm)] px-2.5", md: "h-[var(--ui-control-md)] px-[13px]", lg: "h-[var(--ui-control-lg)] px-4" }, l = P(null), s = P(null), u = P(!1);
1570
+ function d() {
1571
+ const m = l.value, h = !!m && !m.textContent?.trim() && !!m.querySelector(":scope > svg");
1572
+ h !== u.value && (u.value = h);
1572
1573
  }
1573
- qe(c), ko(c);
1574
- const p = y(() => a.variant === "primary" || a.variant === "danger"), v = y(
1574
+ qe(d), ko(d);
1575
+ const c = y(() => a.variant === "primary" || a.variant === "danger"), p = up(() => a.kind), v = y(
1575
1576
  () => Oe(
1576
1577
  "relative inline-flex max-w-full min-w-0 select-none items-center justify-center gap-2 whitespace-nowrap border text-[length:var(--ui-font-size)] font-normal outline-none transition-[background-color,border-color,color,box-shadow,opacity] duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] disabled:pointer-events-none focus-visible:shadow-[var(--ui-shadow-focus)]",
1577
- s[a.size],
1578
- l.value === "tool" && "rounded-[var(--ui-radius-control)]",
1579
- l.value === "action" && "rounded-[var(--ui-radius-pill)]",
1580
- l.value === "action" && (p.value ? "min-w-[var(--ui-action-min-width-primary)]" : "min-w-[var(--ui-action-min-width)]"),
1578
+ r[a.size],
1579
+ p.value === "tool" && "rounded-[var(--ui-radius-control)]",
1580
+ p.value === "action" && "rounded-[var(--ui-radius-pill)]",
1581
+ p.value === "action" && (c.value ? "min-w-[var(--ui-action-min-width-primary)]" : "min-w-[var(--ui-action-min-width)]"),
1581
1582
  a.variant === "primary" && "border-[var(--ui-primary)] bg-[var(--ui-primary)] text-[var(--ui-primary-foreground)] shadow-[var(--ui-shadow-control)] [--ui-spin-color:var(--ui-primary-foreground)] hover:border-[var(--ui-primary-hover)] hover:bg-[var(--ui-primary-hover)] active:border-[var(--ui-primary-active)] active:bg-[var(--ui-primary-active)] active:shadow-[var(--ui-shadow-control-active)] data-[disabled]:shadow-none data-[disabled]:border-[color-mix(in_srgb,var(--ui-primary)_30%,var(--ui-surface))] data-[disabled]:bg-[color-mix(in_srgb,var(--ui-primary)_12%,var(--ui-surface))] data-[disabled]:text-[color-mix(in_srgb,var(--ui-primary)_55%,var(--ui-text))]",
1582
1583
  a.variant === "secondary" && "border-[var(--ui-control-border)] bg-[var(--ui-control-bg)] text-[var(--ui-text)] shadow-[var(--ui-shadow-control)] hover:border-[var(--ui-control-border-hover)] hover:bg-[var(--ui-control-bg-hover)] active:border-[var(--ui-control-border-active)] active:bg-[var(--ui-control-bg-active)] active:shadow-[var(--ui-shadow-control-active)] focus-visible:border-[var(--ui-primary)] data-[disabled]:border-[var(--ui-control-border)] data-[disabled]:bg-[var(--ui-control-bg-disabled)] data-[disabled]:text-[var(--ui-text-disabled)] data-[disabled]:shadow-none",
1583
1584
  a.variant === "ghost" && "border-transparent bg-transparent text-[var(--ui-text)] hover:bg-[var(--ui-surface-hover)] active:bg-[var(--ui-surface-selected)] data-[state=open]:bg-[var(--ui-control-bg-active)] data-[disabled]:text-[var(--ui-text-disabled)]",
@@ -1585,12 +1586,14 @@ const dp = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "d
1585
1586
  )
1586
1587
  );
1587
1588
  return (m, h) => (f(), g("button", {
1589
+ ref_key: "buttonEl",
1590
+ ref: s,
1588
1591
  type: e.type,
1589
1592
  class: te(v.value),
1590
1593
  disabled: e.disabled || o.value,
1591
1594
  "data-disabled": e.disabled || void 0,
1592
1595
  "data-loading": o.value || void 0,
1593
- "data-kind": l.value,
1596
+ "data-kind": i(p),
1594
1597
  "data-variant": e.variant,
1595
1598
  "aria-busy": o.value || void 0,
1596
1599
  "data-syno-pkg-land-ui": "",
@@ -1598,13 +1601,13 @@ const dp = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "d
1598
1601
  (...b) => i(n) && i(n)(...b))
1599
1602
  }, [
1600
1603
  o.value ? (f(), g("span", cp, [
1601
- I(Ya, { size: 16 })
1604
+ I(Ga, { size: 16 })
1602
1605
  ])) : M("", !0),
1603
1606
  V("span", {
1604
1607
  ref_key: "labelEl",
1605
- ref: u,
1606
- class: te(["min-w-0 truncate [&>svg]:inline-block [&>svg]:shrink-0 [&>svg]:align-middle", !d.value && "[&>svg:first-child]:mr-2 [&>svg:not(:first-child)]:ml-2"]),
1607
- "data-icon-only": d.value || void 0
1608
+ ref: l,
1609
+ class: te(["min-w-0 truncate [&>svg]:inline-block [&>svg]:shrink-0 [&>svg]:align-middle", !u.value && "[&>svg:first-child]:mr-2 [&>svg:not(:first-child)]:ml-2"]),
1610
+ "data-icon-only": u.value || void 0
1608
1611
  }, [
1609
1612
  S(m.$slots, "default")
1610
1613
  ], 10, fp)
@@ -1643,7 +1646,7 @@ const dp = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "d
1643
1646
  onClick: l[0] || (l[0] = //@ts-ignore
1644
1647
  (...s) => i(n) && i(n)(...s))
1645
1648
  }, [
1646
- i(t) ? (f(), $(Ya, {
1649
+ i(t) ? (f(), $(Ga, {
1647
1650
  key: 0,
1648
1651
  size: 16
1649
1652
  })) : S(r.$slots, "default", {}, void 0, void 0, 1)
@@ -1987,17 +1990,17 @@ function wa(e, a, t) {
1987
1990
  });
1988
1991
  a && n.addEventListener(e, a, { once: !0 }), n.dispatchEvent(o);
1989
1992
  }
1990
- function Ka(e) {
1993
+ function Na(e) {
1991
1994
  return e == null;
1992
1995
  }
1993
1996
  function co(e, a) {
1994
- return Ka(e) ? !1 : Array.isArray(e) ? e.some((t) => Bt(t, a)) : Bt(e, a);
1997
+ return Na(e) ? !1 : Array.isArray(e) ? e.some((t) => Bt(t, a)) : Bt(e, a);
1995
1998
  }
1996
1999
  function Ca(e, a) {
1997
2000
  return Js() ? (Sn(e, a), !0) : !1;
1998
2001
  }
1999
2002
  // @__NO_SIDE_EFFECTS__
2000
- function Ra() {
2003
+ function Ia() {
2001
2004
  const e = /* @__PURE__ */ new Set(), a = (r) => {
2002
2005
  e.delete(r);
2003
2006
  };
@@ -2409,7 +2412,7 @@ function Yp(e, a) {
2409
2412
  }
2410
2413
  return !1;
2411
2414
  }
2412
- function Ba(e, a = {}) {
2415
+ function Da(e, a = {}) {
2413
2416
  e?.isConnected && !e.closest("[inert]") && e.focus({ preventScroll: !0, ...a });
2414
2417
  }
2415
2418
  class Xp {
@@ -2474,7 +2477,7 @@ class Xp {
2474
2477
  if (!this.canFocus()) return;
2475
2478
  const t = this.closingFocusTarget ?? a;
2476
2479
  De(() => {
2477
- this.canFocus() && (t?.isConnected && this.belongs(t) && !t.closest("[inert]") ? Ba(t) : Ba(this.top?.element ?? this.root.value));
2480
+ this.canFocus() && (t?.isConnected && this.belongs(t) && !t.closest("[inert]") ? Da(t) : Da(this.top?.element ?? this.root.value));
2478
2481
  });
2479
2482
  }
2480
2483
  layer(a, t, n, o) {
@@ -2541,13 +2544,13 @@ class Xp {
2541
2544
  const o = this.scopes.at(-1)?.element ?? this.modal?.element;
2542
2545
  if (!o || !o.contains(a.target)) return;
2543
2546
  const r = yr(o), l = r[0], s = r.at(-1);
2544
- (!l || !a.shiftKey && a.target === s || a.shiftKey && a.target === l) && (a.preventDefault(), Ba((a.shiftKey ? s : l) ?? o));
2547
+ (!l || !a.shiftKey && a.target === s || a.shiftKey && a.target === l) && (a.preventDefault(), Da((a.shiftKey ? s : l) ?? o));
2545
2548
  }
2546
2549
  }
2547
2550
  };
2548
2551
  pointerdown = (a) => {
2549
2552
  const t = a.target, n = t.closest("button,input,select,textarea,a[href],[tabindex]"), o = n?.hasAttribute("data-ui-keyboard-focus");
2550
- n && !o && n.tabIndex >= 0 && (!this.modal || this.allowed(n)) && Ba(n, { focusVisible: !1 }), this.pointerIntent = !0, clearTimeout(this.pointerTimer), this.pointerTimer = setTimeout(() => {
2553
+ n && !o && n.tabIndex >= 0 && (!this.modal || this.allowed(n)) && Da(n, { focusVisible: !1 }), this.pointerIntent = !0, clearTimeout(this.pointerTimer), this.pointerTimer = setTimeout(() => {
2551
2554
  this.pointerIntent = !1;
2552
2555
  }, 0);
2553
2556
  const r = this.top;
@@ -2568,7 +2571,7 @@ class Xp {
2568
2571
  if (!this.modal && !n?.trapped) return;
2569
2572
  this.returningFocus = !0;
2570
2573
  const o = this.modal?.element ?? n.element;
2571
- Ba(this.lastFocused && this.allowed(this.lastFocused) ? this.lastFocused : yr(o)[0] ?? o), this.returningFocus = !1;
2574
+ Da(this.lastFocused && this.allowed(this.lastFocused) ? this.lastFocused : yr(o)[0] ?? o), this.returningFocus = !1;
2572
2575
  };
2573
2576
  focusScope(a, t, n, o) {
2574
2577
  pe([a, t], ([r, l], s, u) => {
@@ -2579,7 +2582,7 @@ class Xp {
2579
2582
  const v = new Event("focusScope.autoFocusOnMount", { cancelable: !0 });
2580
2583
  c || v.preventDefault(), o("mountAutoFocus", v);
2581
2584
  const m = r.ownerDocument.activeElement;
2582
- !v.defaultPrevented && (this.canFocus() || c && m === r.ownerDocument.body) && Ba(yr(r).find((h) => !h.hasAttribute("data-ui-keyboard-focus")) ?? r);
2585
+ !v.defaultPrevented && (this.canFocus() || c && m === r.ownerDocument.body) && Da(yr(r).find((h) => !h.hasAttribute("data-ui-keyboard-focus")) ?? r);
2583
2586
  }), u(() => {
2584
2587
  const v = this.canFocus();
2585
2588
  this.scopes = this.scopes.filter((h) => h !== p);
@@ -2731,7 +2734,7 @@ function Ii(e) {
2731
2734
  function ov(e) {
2732
2735
  return nv(e) || Ii(e);
2733
2736
  }
2734
- function Ma(e) {
2737
+ function Ra(e) {
2735
2738
  if (e instanceof Date) {
2736
2739
  const a = e.getFullYear(), t = e.getMonth() + 1;
2737
2740
  return new Date(a, t, 0).getDate();
@@ -2785,7 +2788,7 @@ function Hl(e, a) {
2785
2788
  return t;
2786
2789
  }
2787
2790
  function wr(e) {
2788
- const { dateObj: a, weekStartsOn: t, fixedWeeks: n, locale: o } = e, r = Ma(a), l = Array.from({ length: r }, (x, w) => a.set({ day: w + 1 })), s = tp(a), u = Vl(a), d = rv(s, t, o), c = iv(u, t, o), p = Hl(d.subtract({ days: 1 }), s), v = Hl(u, c.add({ days: 1 })), m = p.length + l.length + v.length;
2791
+ const { dateObj: a, weekStartsOn: t, fixedWeeks: n, locale: o } = e, r = Ra(a), l = Array.from({ length: r }, (x, w) => a.set({ day: w + 1 })), s = tp(a), u = Vl(a), d = rv(s, t, o), c = iv(u, t, o), p = Hl(d.subtract({ days: 1 }), s), v = Hl(u, c.add({ days: 1 })), m = p.length + l.length + v.length;
2789
2792
  if (n && m < 42) {
2790
2793
  const x = 42 - m;
2791
2794
  let w = v.at(-1);
@@ -3059,7 +3062,7 @@ function vt(e, a) {
3059
3062
  ...n
3060
3063
  }));
3061
3064
  }
3062
- function Xa() {
3065
+ function Ya() {
3063
3066
  const e = xt()?.vnode?.scopeId;
3064
3067
  return e ? { [e]: "" } : {};
3065
3068
  }
@@ -3068,7 +3071,7 @@ function dv(e, a) {
3068
3071
  Ca(() => {
3069
3072
  t.value = !1;
3070
3073
  });
3071
- const n = P(null), o = /* @__PURE__ */ Ra();
3074
+ const n = P(null), o = /* @__PURE__ */ Ia();
3072
3075
  function r() {
3073
3076
  n.value = null, t.value = !1;
3074
3077
  }
@@ -3225,7 +3228,7 @@ var yv = function(e) {
3225
3228
  return null;
3226
3229
  var a = Array.isArray(e) ? e[0] : e;
3227
3230
  return a.ownerDocument.body;
3228
- }, Oa = /* @__PURE__ */ new WeakMap(), Wn = /* @__PURE__ */ new WeakMap(), Hn = {}, _r = 0, Tu = function(e) {
3231
+ }, Ba = /* @__PURE__ */ new WeakMap(), Wn = /* @__PURE__ */ new WeakMap(), Hn = {}, _r = 0, Tu = function(e) {
3229
3232
  return e && (e.host || Tu(e.parentNode));
3230
3233
  }, gv = function(e, a) {
3231
3234
  return a.map(function(t) {
@@ -3249,8 +3252,8 @@ var yv = function(e) {
3249
3252
  c(v);
3250
3253
  else
3251
3254
  try {
3252
- var m = v.getAttribute(n), h = m !== null && m !== "false", b = (Oa.get(v) || 0) + 1, x = (r.get(v) || 0) + 1;
3253
- Oa.set(v, b), r.set(v, x), l.push(v), b === 1 && h && Wn.set(v, !0), x === 1 && v.setAttribute(t, "true"), h || v.setAttribute(n, "true");
3255
+ var m = v.getAttribute(n), h = m !== null && m !== "false", b = (Ba.get(v) || 0) + 1, x = (r.get(v) || 0) + 1;
3256
+ Ba.set(v, b), r.set(v, x), l.push(v), b === 1 && h && Wn.set(v, !0), x === 1 && v.setAttribute(t, "true"), h || v.setAttribute(n, "true");
3254
3257
  } catch (w) {
3255
3258
  console.error("aria-hidden: cannot operate on ", v, w);
3256
3259
  }
@@ -3258,9 +3261,9 @@ var yv = function(e) {
3258
3261
  };
3259
3262
  return c(a), s.clear(), _r++, function() {
3260
3263
  l.forEach(function(p) {
3261
- var v = Oa.get(p) - 1, m = r.get(p) - 1;
3262
- Oa.set(p, v), r.set(p, m), v || (Wn.has(p) || p.removeAttribute(n), Wn.delete(p)), m || p.removeAttribute(t);
3263
- }), _r--, _r || (Oa = /* @__PURE__ */ new WeakMap(), Oa = /* @__PURE__ */ new WeakMap(), Wn = /* @__PURE__ */ new WeakMap(), Hn = {});
3264
+ var v = Ba.get(p) - 1, m = r.get(p) - 1;
3265
+ Ba.set(p, v), r.set(p, m), v || (Wn.has(p) || p.removeAttribute(n), Wn.delete(p)), m || p.removeAttribute(t);
3266
+ }), _r--, _r || (Ba = /* @__PURE__ */ new WeakMap(), Ba = /* @__PURE__ */ new WeakMap(), Wn = /* @__PURE__ */ new WeakMap(), Hn = {});
3264
3267
  };
3265
3268
  }, wv = function(e, a, t) {
3266
3269
  t === void 0 && (t = "data-aria-hidden");
@@ -4265,7 +4268,7 @@ var nm = /* @__PURE__ */ q({
4265
4268
  () => t.present
4266
4269
  ], ([h, b, x], w, C) => {
4267
4270
  !h || !x || b && (at.layersWithOutsidePointerEventsDisabled.size === 0 && (at.originalBodyPointerEventsPriority = s.value.body.style.getPropertyPriority("pointer-events"), at.originalBodyPointerEvents = s.value.body.style.pointerEvents, s.value.body.style.pointerEvents = "none"), at.layersWithOutsidePointerEventsDisabled.add(h), C(() => {
4268
- at.layersWithOutsidePointerEventsDisabled.delete(h), at.layersWithOutsidePointerEventsDisabled.size === 0 && !Ka(at.originalBodyPointerEvents) && s.value.body.style.setProperty("pointer-events", at.originalBodyPointerEvents, at.originalBodyPointerEventsPriority ?? "");
4271
+ at.layersWithOutsidePointerEventsDisabled.delete(h), at.layersWithOutsidePointerEventsDisabled.size === 0 && !Na(at.originalBodyPointerEvents) && s.value.body.style.setProperty("pointer-events", at.originalBodyPointerEvents, at.originalBodyPointerEventsPriority ?? "");
4269
4272
  }));
4270
4273
  }, { immediate: !0 }), pe([r, () => t.present], ([h, b], x, w) => {
4271
4274
  !h || !b || (u.value.add(h), w(() => {
@@ -4296,7 +4299,7 @@ var nm = /* @__PURE__ */ q({
4296
4299
  "onPointerdownCapture"
4297
4300
  ]));
4298
4301
  }
4299
- }), Za = nm, om = /* @__PURE__ */ q({
4302
+ }), Xa = nm, om = /* @__PURE__ */ q({
4300
4303
  __name: "DismissableLayerBranch",
4301
4304
  props: {
4302
4305
  asChild: {
@@ -4550,7 +4553,7 @@ function gm(e, a) {
4550
4553
  };
4551
4554
  return ym(t, a);
4552
4555
  }
4553
- function Wa(e) {
4556
+ function Ka(e) {
4554
4557
  return e.pointerType === "mouse";
4555
4558
  }
4556
4559
  const bm = "DialogTitle", wm = "DialogContent";
@@ -4621,7 +4624,7 @@ var _m = /* @__PURE__ */ q({
4621
4624
  onMountAutoFocus: d[5] || (d[5] = (c) => n("openAutoFocus", c)),
4622
4625
  onUnmountAutoFocus: d[6] || (d[6] = (c) => n("closeAutoFocus", c))
4623
4626
  }, {
4624
- default: _(() => [I(i(Za), ne({
4627
+ default: _(() => [I(i(Xa), ne({
4625
4628
  id: i(o).contentId,
4626
4629
  ref: i(l),
4627
4630
  as: u.as,
@@ -5412,7 +5415,7 @@ var jm = /* @__PURE__ */ q({
5412
5415
  A.value = !1;
5413
5416
  }, 1);
5414
5417
  }
5415
- const B = P(null), L = P(null), R = P(!1), F = P(!1), j = /* @__PURE__ */ Ra(), z = /* @__PURE__ */ Ra(), T = /* @__PURE__ */ Ra();
5418
+ const B = P(null), L = P(null), R = P(!1), F = P(!1), j = /* @__PURE__ */ Ia(), z = /* @__PURE__ */ Ia(), T = /* @__PURE__ */ Ia();
5416
5419
  function W() {
5417
5420
  return p().map((oe) => oe.ref).filter((oe) => oe.dataset.disabled !== "");
5418
5421
  }
@@ -5885,7 +5888,7 @@ var uh = /* @__PURE__ */ q({
5885
5888
  onAnchorChange: (t) => a.value = t
5886
5889
  }), (t, n) => S(t.$slots, "default");
5887
5890
  }
5888
- }), Ja = uh, dh = /* @__PURE__ */ q({
5891
+ }), Za = uh, dh = /* @__PURE__ */ q({
5889
5892
  __name: "PopperAnchor",
5890
5893
  props: {
5891
5894
  reference: {
@@ -5914,7 +5917,7 @@ var uh = /* @__PURE__ */ q({
5914
5917
  _: 3
5915
5918
  }, 8, ["as", "as-child"]));
5916
5919
  }
5917
- }), Qa = dh;
5920
+ }), Ja = dh;
5918
5921
  const ch = {
5919
5922
  key: 0,
5920
5923
  d: "M0 0L6 6L12 0"
@@ -6014,7 +6017,7 @@ function Yt(e, a) {
6014
6017
  function ra(e) {
6015
6018
  return e.split("-")[0];
6016
6019
  }
6017
- function en(e) {
6020
+ function Qa(e) {
6018
6021
  return e.split("-")[1];
6019
6022
  }
6020
6023
  function Fi(e) {
@@ -6032,7 +6035,7 @@ function Ni(e) {
6032
6035
  }
6033
6036
  function bh(e, a, t) {
6034
6037
  t === void 0 && (t = !1);
6035
- const n = en(e), o = Ni(e), r = zi(o);
6038
+ const n = Qa(e), o = Ni(e), r = zi(o);
6036
6039
  let l = o === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
6037
6040
  return a.reference[r] > a.floating[r] && (l = mo(l)), [l, mo(l)];
6038
6041
  }
@@ -6057,7 +6060,7 @@ function kh(e, a, t) {
6057
6060
  }
6058
6061
  }
6059
6062
  function Ch(e, a, t, n) {
6060
- const o = en(e);
6063
+ const o = Qa(e);
6061
6064
  let r = kh(ra(e), t === "start", n);
6062
6065
  return o && (r = r.map((l) => l + "-" + o), a && (r = r.concat(r.map(Ur)))), r;
6063
6066
  }
@@ -6138,7 +6141,7 @@ function es(e, a, t) {
6138
6141
  y: n.y
6139
6142
  };
6140
6143
  }
6141
- const h = en(a);
6144
+ const h = Qa(a);
6142
6145
  return h && (m[l] += v * (h === "end" ? 1 : -1) * (t && d ? -1 : 1)), m;
6143
6146
  }
6144
6147
  async function $h(e, a) {
@@ -6271,7 +6274,7 @@ const Eh = 50, Th = async (e, a, t) => {
6271
6274
  }, m = Ni(o), h = zi(m), b = await l.getDimensions(d), x = m === "y", w = x ? "top" : "left", C = x ? "bottom" : "right", E = x ? "clientHeight" : "clientWidth", k = r.reference[h] + r.reference[m] - v[m] - r.floating[h], A = v[m] - r.reference[m], O = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(d));
6272
6275
  let D = O ? O[E] : 0;
6273
6276
  (!D || !await (l.isElement == null ? void 0 : l.isElement(O))) && (D = s.floating[E] || r.floating[h]);
6274
- const N = k / 2 - A / 2, B = D / 2 - b[h] / 2 - 1, L = oa(p[w], B), R = oa(p[C], B), F = D - b[h] - R, j = D / 2 - b[h] / 2 + N, z = Xu(L, j, F), T = !u.arrow && en(o) != null && j !== z && r.reference[h] / 2 - (j < L ? L : R) - b[h] / 2 < 0, W = T ? j < L ? j - L : j - F : 0;
6277
+ const N = k / 2 - A / 2, B = D / 2 - b[h] / 2 - 1, L = oa(p[w], B), R = oa(p[C], B), F = D - b[h] - R, j = D / 2 - b[h] / 2 + N, z = Xu(L, j, F), T = !u.arrow && Qa(o) != null && j !== z && r.reference[h] / 2 - (j < L ? L : R) - b[h] / 2 < 0, W = T ? j < L ? j - L : j - F : 0;
6275
6278
  return {
6276
6279
  [m]: v[m] + W,
6277
6280
  data: {
@@ -6425,7 +6428,7 @@ async function Dh(e, a) {
6425
6428
  placement: t,
6426
6429
  platform: n,
6427
6430
  elements: o
6428
- } = e, r = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l = ra(t), s = en(t), u = Vt(t) === "y", d = Ju.has(l) ? -1 : 1, c = r && u ? -1 : 1, p = Yt(a, e);
6431
+ } = e, r = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l = ra(t), s = Qa(t), u = Vt(t) === "y", d = Ju.has(l) ? -1 : 1, c = r && u ? -1 : 1, p = Yt(a, e);
6429
6432
  let {
6430
6433
  mainAxis: v,
6431
6434
  crossAxis: m,
@@ -6576,7 +6579,7 @@ const Bh = function(e) {
6576
6579
  apply: l = () => {
6577
6580
  },
6578
6581
  ...s
6579
- } = Yt(e, a), u = await o.detectOverflow(a, s), d = ra(t), c = en(t), p = Vt(t) === "y", {
6582
+ } = Yt(e, a), u = await o.detectOverflow(a, s), d = ra(t), c = Qa(t), p = Vt(t) === "y", {
6580
6583
  width: v,
6581
6584
  height: m
6582
6585
  } = n.floating;
@@ -6725,7 +6728,7 @@ function ed(e) {
6725
6728
  function ji(e) {
6726
6729
  return Nt(e) ? e : e.contextElement;
6727
6730
  }
6728
- function Va(e) {
6731
+ function Ma(e) {
6729
6732
  const a = ji(e);
6730
6733
  if (!sa(a))
6731
6734
  return Gt(1);
@@ -6755,14 +6758,14 @@ function _a(e, a, t, n) {
6755
6758
  a === void 0 && (a = !1), t === void 0 && (t = !1);
6756
6759
  const o = e.getBoundingClientRect(), r = ji(e);
6757
6760
  let l = Gt(1);
6758
- a && (n ? Nt(n) && (l = Va(n)) : l = Va(e));
6761
+ a && (n ? Nt(n) && (l = Ma(n)) : l = Ma(e));
6759
6762
  const s = Nh(r, t, n) ? td(r) : Gt(0);
6760
6763
  let u = (o.left + s.x) / l.x, d = (o.top + s.y) / l.y, c = o.width / l.x, p = o.height / l.y;
6761
6764
  if (r && n) {
6762
6765
  const v = bt(r), m = Nt(n) ? bt(n) : n;
6763
6766
  let h = v, b = Gr(h);
6764
6767
  for (; b && m !== h; ) {
6765
- const x = Va(b), w = b.getBoundingClientRect(), C = Kt(b), E = w.left + (b.clientLeft + parseFloat(C.paddingLeft)) * x.x, k = w.top + (b.clientTop + parseFloat(C.paddingTop)) * x.y;
6768
+ const x = Ma(b), w = b.getBoundingClientRect(), C = Kt(b), E = w.left + (b.clientLeft + parseFloat(C.paddingLeft)) * x.x, k = w.top + (b.clientTop + parseFloat(C.paddingTop)) * x.y;
6766
6769
  u *= x.x, d *= x.y, c *= x.x, p *= x.y, u += E, d += k, h = bt(b), b = Gr(h);
6767
6770
  }
6768
6771
  }
@@ -6801,7 +6804,7 @@ function Kh(e) {
6801
6804
  const c = Gt(0), p = sa(n);
6802
6805
  if ((p || !r) && (($a(n) !== "body" || Do(l)) && (u = Oo(n)), p)) {
6803
6806
  const m = _a(n);
6804
- d = Va(n), c.x = m.x + n.clientLeft, c.y = m.y + n.clientTop;
6807
+ d = Ma(n), c.x = m.x + n.clientLeft, c.y = m.y + n.clientTop;
6805
6808
  }
6806
6809
  const v = l && !p && !r ? ad(l, u) : Gt(0);
6807
6810
  return {
@@ -6846,7 +6849,7 @@ function Uh(e, a, t) {
6846
6849
  };
6847
6850
  }
6848
6851
  function Gh(e, a) {
6849
- const t = _a(e, !0, a === "fixed"), n = t.top + e.clientTop, o = t.left + e.clientLeft, r = Va(e), l = e.clientWidth * r.x, s = e.clientHeight * r.y, u = o * r.x, d = n * r.y;
6852
+ const t = _a(e, !0, a === "fixed"), n = t.top + e.clientTop, o = t.left + e.clientLeft, r = Ma(e), l = e.clientWidth * r.x, s = e.clientHeight * r.y, u = o * r.x, d = n * r.y;
6850
6853
  return {
6851
6854
  width: l,
6852
6855
  height: s,
@@ -6988,7 +6991,7 @@ const ty = {
6988
6991
  getElementRects: Qh,
6989
6992
  getClientRects: Wh,
6990
6993
  getDimensions: Zh,
6991
- getScale: Va,
6994
+ getScale: Ma,
6992
6995
  isElement: Nt,
6993
6996
  isRTL: ey
6994
6997
  };
@@ -7101,7 +7104,7 @@ function Yr(e) {
7101
7104
  }
7102
7105
  return e;
7103
7106
  }
7104
- function Ia(e) {
7107
+ function Oa(e) {
7105
7108
  return typeof e == "function" ? e() : i(e);
7106
7109
  }
7107
7110
  function fy(e) {
@@ -7109,7 +7112,7 @@ function fy(e) {
7109
7112
  name: "arrow",
7110
7113
  options: e,
7111
7114
  fn(a) {
7112
- const t = Yr(Ia(e.element));
7115
+ const t = Yr(Oa(e.element));
7113
7116
  return t == null ? {} : sy({
7114
7117
  element: t,
7115
7118
  padding: e.padding
@@ -7128,16 +7131,16 @@ function py(e, a, t) {
7128
7131
  t === void 0 && (t = {});
7129
7132
  const n = t.whileElementsMounted, o = y(() => {
7130
7133
  var D;
7131
- return (D = Ia(t.open)) != null ? D : !0;
7132
- }), r = y(() => Ia(t.middleware)), l = y(() => {
7134
+ return (D = Oa(t.open)) != null ? D : !0;
7135
+ }), r = y(() => Oa(t.middleware)), l = y(() => {
7133
7136
  var D;
7134
- return (D = Ia(t.placement)) != null ? D : "bottom";
7137
+ return (D = Oa(t.placement)) != null ? D : "bottom";
7135
7138
  }), s = y(() => {
7136
7139
  var D;
7137
- return (D = Ia(t.strategy)) != null ? D : "absolute";
7140
+ return (D = Oa(t.strategy)) != null ? D : "absolute";
7138
7141
  }), u = y(() => {
7139
7142
  var D;
7140
- return (D = Ia(t.transform)) != null ? D : !0;
7143
+ return (D = Oa(t.transform)) != null ? D : !0;
7141
7144
  }), d = y(() => Yr(e.value)), c = y(() => Yr(a.value)), p = P(0), v = P(0), m = P(s.value), h = P(l.value), b = Lt({}), x = P(!1), w = y(() => {
7142
7145
  const D = {
7143
7146
  position: m.value,
@@ -7565,7 +7568,7 @@ function xy(e) {
7565
7568
  onContentUnmount: u
7566
7569
  };
7567
7570
  }
7568
- const [tn, _y] = /* @__PURE__ */ Ve("ComboboxRoot");
7571
+ const [en, _y] = /* @__PURE__ */ Ve("ComboboxRoot");
7569
7572
  var ky = /* @__PURE__ */ q({
7570
7573
  __name: "ComboboxRoot",
7571
7574
  props: {
@@ -7672,7 +7675,7 @@ var ky = /* @__PURE__ */ q({
7672
7675
  !H && n.resetSearchTermOnBlur && k.trigger();
7673
7676
  }, 1));
7674
7677
  }
7675
- const k = /* @__PURE__ */ Ra(), A = P(!1), O = P(!1), D = P(), N = P(), B = y(() => r.value?.highlightedElement ?? void 0), L = xy(C), R = P(/* @__PURE__ */ new Map()), F = P(/* @__PURE__ */ new Map()), { contains: j } = uv({ sensitivity: "base" }), z = P(""), T = y((H) => {
7678
+ const k = /* @__PURE__ */ Ia(), A = P(!1), O = P(!1), D = P(), N = P(), B = y(() => r.value?.highlightedElement ?? void 0), L = xy(C), R = P(/* @__PURE__ */ new Map()), F = P(/* @__PURE__ */ new Map()), { contains: j } = uv({ sensitivity: "base" }), z = P(""), T = y((H) => {
7676
7679
  if (!z.value || n.ignoreFilter || O.value) return {
7677
7680
  count: R.value.size,
7678
7681
  items: H?.items ?? /* @__PURE__ */ new Map(),
@@ -7728,7 +7731,7 @@ var ky = /* @__PURE__ */ q({
7728
7731
  openOnFocus: p,
7729
7732
  openOnClick: v,
7730
7733
  resetModelValueOnClear: h
7731
- }), (H, Z) => (f(), $(i(Ja), null, {
7734
+ }), (H, Z) => (f(), $(i(Za), null, {
7732
7735
  default: _(() => [I(i(Um), ne({
7733
7736
  ref_key: "primitiveElement",
7734
7737
  ref: r
@@ -7786,7 +7789,7 @@ var ky = /* @__PURE__ */ q({
7786
7789
  },
7787
7790
  setup(e) {
7788
7791
  const { forwardRef: a } = ve();
7789
- return (t, n) => (f(), $(i(Qa), {
7792
+ return (t, n) => (f(), $(i(Ja), {
7790
7793
  "as-child": "",
7791
7794
  reference: t.reference
7792
7795
  }, {
@@ -7919,7 +7922,7 @@ var Ty = /* @__PURE__ */ q({
7919
7922
  "interactOutside"
7920
7923
  ],
7921
7924
  setup(e, { emit: a }) {
7922
- const t = e, n = a, { position: o } = Ke(t), r = tn(), l = /* @__PURE__ */ Symbol("ComboboxContent");
7925
+ const t = e, n = a, { position: o } = Ke(t), r = en(), l = /* @__PURE__ */ Symbol("ComboboxContent");
7923
7926
  pe(o, (x) => r.onContentPositionChange(l, x), { immediate: !0 });
7924
7927
  const s = y(() => r.ignoreFilter.value ? r.allItems.value.size === 0 : r.filterState.value.count === 0), { forwardRef: u, currentElement: d } = ve();
7925
7928
  Tn(t.bodyLock), To(), An(r.parentElement);
@@ -7954,7 +7957,7 @@ var Ty = /* @__PURE__ */ q({
7954
7957
  onUnmountAutoFocus: w[6] || (w[6] = $e(() => {
7955
7958
  }, ["prevent"]))
7956
7959
  }, {
7957
- default: _(() => [I(i(Za), {
7960
+ default: _(() => [I(i(Xa), {
7958
7961
  "as-child": "",
7959
7962
  "disable-outside-pointer-events": x.disableOutsidePointerEvents,
7960
7963
  onDismiss: w[0] || (w[0] = (C) => i(r).onOpenChange(!1)),
@@ -8118,7 +8121,7 @@ var Ty = /* @__PURE__ */ q({
8118
8121
  "interactOutside"
8119
8122
  ],
8120
8123
  setup(e, { emit: a }) {
8121
- const o = vt(e, a), { forwardRef: r } = ve(), l = tn();
8124
+ const o = vt(e, a), { forwardRef: r } = ve(), l = en();
8122
8125
  return l.contentId ||= Je(void 0, "reka-combobox-content"), (s, u) => (f(), $(i(_t), { present: s.forceMount || i(l).open.value }, {
8123
8126
  default: _(() => [I(Ay, ne({
8124
8127
  ...i(o),
@@ -8145,7 +8148,7 @@ var By = /* @__PURE__ */ q({
8145
8148
  }
8146
8149
  },
8147
8150
  setup(e) {
8148
- const a = e, t = Je(void 0, "reka-combobox-group"), n = tn(), o = y(() => n.ignoreFilter.value ? !0 : n.filterSearch.value ? n.filterState.value.groups.has(t) : !0), r = Dy({
8151
+ const a = e, t = Je(void 0, "reka-combobox-group"), n = en(), o = y(() => n.ignoreFilter.value ? !0 : n.filterSearch.value ? n.filterState.value.groups.has(t) : !0), r = Dy({
8149
8152
  id: t,
8150
8153
  labelId: ""
8151
8154
  });
@@ -8196,7 +8199,7 @@ var By = /* @__PURE__ */ q({
8196
8199
  },
8197
8200
  emits: ["update:modelValue"],
8198
8201
  setup(e, { emit: a }) {
8199
- const t = e, n = a, o = tn(), r = Po(), { primitiveElement: l, currentElement: s } = zt(), u = /* @__PURE__ */ We(t, "modelValue", n, { passive: t.modelValue === void 0 });
8202
+ const t = e, n = a, o = en(), r = Po(), { primitiveElement: l, currentElement: s } = zt(), u = /* @__PURE__ */ We(t, "modelValue", n, { passive: t.modelValue === void 0 });
8200
8203
  qe(() => {
8201
8204
  s.value && o.onInputElementChange(s.value);
8202
8205
  });
@@ -8311,7 +8314,7 @@ var By = /* @__PURE__ */ q({
8311
8314
  },
8312
8315
  emits: ["select"],
8313
8316
  setup(e, { emit: a }) {
8314
- const t = e, n = a, o = Je(void 0, "reka-combobox-item"), r = tn(), l = ld(null), { primitiveElement: s, currentElement: u } = zt();
8317
+ const t = e, n = a, o = Je(void 0, "reka-combobox-item"), r = en(), l = ld(null), { primitiveElement: s, currentElement: u } = zt();
8315
8318
  if (t.value === "") throw new Error("A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.");
8316
8319
  const d = y(() => {
8317
8320
  if (r.isVirtual.value || r.ignoreFilter.value || !r.filterSearch.value) return !0;
@@ -8446,7 +8449,7 @@ var Hy = /* @__PURE__ */ q({
8446
8449
  }
8447
8450
  },
8448
8451
  setup(e) {
8449
- const a = e, { forwardRef: t } = ve(), { nonce: n } = Ke(a), o = sd(n), r = tn();
8452
+ const a = e, { forwardRef: t } = ve(), { nonce: n } = Ke(a), o = sd(n), r = en();
8450
8453
  return (l, s) => (f(), g(ce, null, [I(i(ge), ne({
8451
8454
  ...l.$attrs,
8452
8455
  ...a
@@ -8474,7 +8477,7 @@ var Hy = /* @__PURE__ */ q({
8474
8477
  }), jy = Hy;
8475
8478
  function Uy(e) {
8476
8479
  function a(r) {
8477
- return Array.isArray(e.date.value) ? e.date.value.some((l) => Na(l, r)) : e.date.value ? Na(e.date.value, r) : !1;
8480
+ return Array.isArray(e.date.value) ? e.date.value.some((l) => za(l, r)) : e.date.value ? za(e.date.value, r) : !1;
8478
8481
  }
8479
8482
  const t = y(() => {
8480
8483
  if (Array.isArray(e.date.value)) {
@@ -8496,11 +8499,11 @@ function Uy(e) {
8496
8499
  }
8497
8500
  function Gy(e, a) {
8498
8501
  const t = a(e), n = t.compare(e), o = {};
8499
- return n >= 7 && (o.day = 1), n >= Ma(e) && (o.month = 1), t.set({ ...o });
8502
+ return n >= 7 && (o.day = 1), n >= Ra(e) && (o.month = 1), t.set({ ...o });
8500
8503
  }
8501
8504
  function Yy(e, a) {
8502
8505
  const t = a(e), n = e.compare(t), o = {};
8503
- return n >= 7 && (o.day = 35), n >= Ma(e) && (o.month = 13), t.set({ ...o });
8506
+ return n >= 7 && (o.day = 35), n >= Ra(e) && (o.month = 13), t.set({ ...o });
8504
8507
  }
8505
8508
  function Xy(e, a) {
8506
8509
  return a(e);
@@ -8570,7 +8573,7 @@ function Jy(e) {
8570
8573
  const A = {};
8571
8574
  if (!w) {
8572
8575
  const O = k[0].value.compare(C);
8573
- O >= Ma(C) && (A.day = 1), O >= 365 && (A.month = 1);
8576
+ O >= Ra(C) && (A.day = 1), O >= 365 && (A.month = 1);
8574
8577
  }
8575
8578
  e.placeholder.value = k[0].value.set({ ...A });
8576
8579
  }, v = (w) => {
@@ -8597,7 +8600,7 @@ function Jy(e) {
8597
8600
  const A = {};
8598
8601
  if (!w) {
8599
8602
  const O = C.compare(k[0].value);
8600
- O >= Ma(C) && (A.day = 1), O >= 365 && (A.month = 1);
8603
+ O >= Ra(C) && (A.day = 1), O >= 365 && (A.month = 1);
8601
8604
  }
8602
8605
  e.placeholder.value = k[0].value.set({ ...A });
8603
8606
  };
@@ -8634,7 +8637,7 @@ function Jy(e) {
8634
8637
  }), h = y(() => `${e.calendarLabel.value ?? "Event Date"}, ${m.value}`), b = y(() => !(u(e.placeholder.value) || d(e.placeholder.value) || r(e.placeholder.value))), x = y(() => {
8635
8638
  for (const w of n.value) {
8636
8639
  if (e.minValue.value && Kn(w.value, e.minValue.value)) continue;
8637
- const C = Ma(w.value), E = e.minValue.value && du(e.minValue.value, w.value) ? e.minValue.value.day : 1;
8640
+ const C = Ra(w.value), E = e.minValue.value && du(e.minValue.value, w.value) ? e.minValue.value.day : 1;
8638
8641
  for (let k = E; k <= C; k++) {
8639
8642
  const A = w.value.set({ day: k });
8640
8643
  if (!(u(A) || d(A)))
@@ -8674,7 +8677,7 @@ const Qy = { style: {
8674
8677
  } }, eg = {
8675
8678
  role: "heading",
8676
8679
  "aria-level": "2"
8677
- }, [an, tg] = /* @__PURE__ */ Ve("CalendarRoot");
8680
+ }, [tn, tg] = /* @__PURE__ */ Ve("CalendarRoot");
8678
8681
  var ag = /* @__PURE__ */ q({
8679
8682
  __name: "CalendarRoot",
8680
8683
  props: {
@@ -8845,9 +8848,9 @@ var ag = /* @__PURE__ */ q({
8845
8848
  if (c.value) {
8846
8849
  if (!j.value) j.value = [Re.copy()];
8847
8850
  else if (Array.isArray(j.value)) {
8848
- if (j.value.findIndex((be) => Na(be, Re)) === -1) j.value = [...j.value, Re];
8851
+ if (j.value.findIndex((be) => za(be, Re)) === -1) j.value = [...j.value, Re];
8849
8852
  else if (!h.value) {
8850
- const be = j.value.filter((Te) => !Na(Te, Re));
8853
+ const be = j.value.filter((Te) => !za(Te, Re));
8851
8854
  if (!be.length) {
8852
8855
  T.value = Re.copy(), j.value = void 0;
8853
8856
  return;
@@ -8953,7 +8956,7 @@ var ag = /* @__PURE__ */ q({
8953
8956
  }
8954
8957
  },
8955
8958
  setup(e) {
8956
- const a = an();
8959
+ const a = tn();
8957
8960
  return (t, n) => (f(), $(i(ge), {
8958
8961
  as: t.as,
8959
8962
  "as-child": t.asChild,
@@ -8994,12 +8997,12 @@ var ag = /* @__PURE__ */ q({
8994
8997
  }
8995
8998
  },
8996
8999
  setup(e) {
8997
- const a = e, t = Au(), n = an(), { primitiveElement: o } = zt(), r = y(() => a.day.day.toLocaleString(n.locale.value)), l = y(() => n.formatter.custom(Mt(a.day), {
9000
+ const a = e, t = Au(), n = tn(), { primitiveElement: o } = zt(), r = y(() => a.day.day.toLocaleString(n.locale.value)), l = y(() => n.formatter.custom(Mt(a.day), {
8998
9001
  weekday: "long",
8999
9002
  month: "long",
9000
9003
  day: "numeric",
9001
9004
  year: "numeric"
9002
- })), s = y(() => n.isDateUnavailable?.(a.day) ?? !1), u = y(() => np(a.day, Si())), d = y(() => !du(a.day, a.month)), c = y(() => n.isOutsideVisibleView(a.day)), p = y(() => n.isDateDisabled(a.day) || n.disableDaysOutsideCurrentView.value && d.value), v = y(() => d.value || p.value ? !1 : !n.disabled.value && n.isPlaceholderFocusable.value && Na(a.day, n.placeholder.value) ? !0 : (!n.hasSelectedDate.value || n.isSelectedDateDisabled.value) && !n.isPlaceholderFocusable.value ? n.firstFocusableDate.value && Na(a.day, n.firstFocusableDate.value) : !1), m = y(() => n.isDateSelected(a.day));
9005
+ })), s = y(() => n.isDateUnavailable?.(a.day) ?? !1), u = y(() => np(a.day, Si())), d = y(() => !du(a.day, a.month)), c = y(() => n.isOutsideVisibleView(a.day)), p = y(() => n.isDateDisabled(a.day) || n.disableDaysOutsideCurrentView.value && d.value), v = y(() => d.value || p.value ? !1 : !n.disabled.value && n.isPlaceholderFocusable.value && za(a.day, n.placeholder.value) ? !0 : (!n.hasSelectedDate.value || n.isSelectedDateDisabled.value) && !n.isPlaceholderFocusable.value ? n.firstFocusableDate.value && za(a.day, n.firstFocusableDate.value) : !1), m = y(() => n.isDateSelected(a.day));
9003
9006
  function h(w) {
9004
9007
  n.readonly.value || n.isDateDisabled(w) || n.isDateUnavailable?.(w) || n.onDateChange(w);
9005
9008
  }
@@ -9116,7 +9119,7 @@ var ag = /* @__PURE__ */ q({
9116
9119
  }
9117
9120
  },
9118
9121
  setup(e) {
9119
- const a = e, t = an(), n = y(() => t.disabled.value ? !0 : void 0), o = y(() => t.readonly.value ? !0 : void 0);
9122
+ const a = e, t = tn(), n = y(() => t.disabled.value ? !0 : void 0), o = y(() => t.readonly.value ? !0 : void 0);
9120
9123
  return (r, l) => (f(), $(i(ge), ne(a, {
9121
9124
  tabindex: "-1",
9122
9125
  role: "application",
@@ -9248,7 +9251,7 @@ var ag = /* @__PURE__ */ q({
9248
9251
  }
9249
9252
  },
9250
9253
  setup(e) {
9251
- const a = e, t = an();
9254
+ const a = e, t = tn();
9252
9255
  return (n, o) => (f(), $(i(ge), ne(a, { "data-disabled": i(t).disabled.value ? "" : void 0 }), {
9253
9256
  default: _(() => [S(n.$slots, "default", { headingValue: i(t).headingValue.value }, () => [he(U(i(t).headingValue.value), 1)])]),
9254
9257
  _: 3
@@ -9272,7 +9275,7 @@ var ag = /* @__PURE__ */ q({
9272
9275
  }
9273
9276
  },
9274
9277
  setup(e) {
9275
- const a = e, t = y(() => n.disabled.value || n.isNextButtonDisabled(a.nextPage)), n = an();
9278
+ const a = e, t = y(() => n.disabled.value || n.isNextButtonDisabled(a.nextPage)), n = tn();
9276
9279
  function o() {
9277
9280
  t.value || n.nextPage(a.nextPage);
9278
9281
  }
@@ -9315,7 +9318,7 @@ var ag = /* @__PURE__ */ q({
9315
9318
  }
9316
9319
  },
9317
9320
  setup(e) {
9318
- const a = e, t = y(() => n.disabled.value || n.isPrevButtonDisabled(a.prevPage)), n = an();
9321
+ const a = e, t = y(() => n.disabled.value || n.isPrevButtonDisabled(a.prevPage)), n = tn();
9319
9322
  function o() {
9320
9323
  t.value || n.prevPage(a.prevPage);
9321
9324
  }
@@ -9604,9 +9607,9 @@ var Bg = /* @__PURE__ */ q({
9604
9607
  const t = e, n = a, { forwardRef: o, currentElement: r } = ve(), l = Pg(null), s = /* @__PURE__ */ We(t, "modelValue", n, {
9605
9608
  defaultValue: t.defaultValue ?? t.falseValue,
9606
9609
  passive: t.modelValue === void 0
9607
- }), u = y(() => l?.disabled.value || t.disabled), d = y(() => Bt(s.value, t.trueValue)), c = y(() => Ka(l?.modelValue.value) ? s.value === "indeterminate" ? "indeterminate" : d.value : co(l.modelValue.value, t.value));
9610
+ }), u = y(() => l?.disabled.value || t.disabled), d = y(() => Bt(s.value, t.trueValue)), c = y(() => Na(l?.modelValue.value) ? s.value === "indeterminate" ? "indeterminate" : d.value : co(l.modelValue.value, t.value));
9608
9611
  function p() {
9609
- if (Ka(l?.modelValue.value))
9612
+ if (Na(l?.modelValue.value))
9610
9613
  s.value === "indeterminate" ? s.value = t.trueValue : s.value = d.value ? t.falseValue : t.trueValue;
9611
9614
  else {
9612
9615
  const x = [...l.modelValue.value || []];
@@ -9617,7 +9620,7 @@ var Bg = /* @__PURE__ */ q({
9617
9620
  l.modelValue.value = x;
9618
9621
  }
9619
9622
  }
9620
- const v = Zt(r), m = Xa(), h = Co(), b = y(() => {
9623
+ const v = Zt(r), m = Ya(), h = Co(), b = y(() => {
9621
9624
  if (!h["aria-label"])
9622
9625
  return t.id && r.value ? document.querySelector(`[for="${t.id}"]`)?.innerText : void 0;
9623
9626
  });
@@ -10037,7 +10040,7 @@ var ub = /* @__PURE__ */ q({
10037
10040
  "stepKeyDown"
10038
10041
  ],
10039
10042
  setup(e, { emit: a }) {
10040
- const t = e, n = a, { max: o, min: r, dir: l, inverted: s } = Ke(t), { forwardRef: u, currentElement: d } = ve(), c = nn(), p = P(), v = P(), m = y(() => l?.value !== "rtl" && !s.value || l?.value !== "ltr" && s.value);
10043
+ const t = e, n = a, { max: o, min: r, dir: l, inverted: s } = Ke(t), { forwardRef: u, currentElement: d } = ve(), c = an(), p = P(), v = P(), m = y(() => l?.value !== "rtl" && !s.value || l?.value !== "ltr" && s.value);
10041
10044
  function h(C, E) {
10042
10045
  const k = v.value || d.value.getBoundingClientRect(), A = [...c.thumbElements.value][c.valueIndexToChangeRef.value], O = c.thumbAlignment.value === "contain" ? A.clientWidth : 0;
10043
10046
  !p.value && !E && c.thumbAlignment.value === "contain" && (p.value = C.clientX - A.getBoundingClientRect().left);
@@ -10104,7 +10107,7 @@ var ub = /* @__PURE__ */ q({
10104
10107
  "stepKeyDown"
10105
10108
  ],
10106
10109
  setup(e, { emit: a }) {
10107
- const t = e, n = a, { max: o, min: r, inverted: l } = Ke(t), s = nn(), { forwardRef: u, currentElement: d } = ve(), c = P(), p = P(), v = y(() => !l.value);
10110
+ const t = e, n = a, { max: o, min: r, inverted: l } = Ke(t), s = an(), { forwardRef: u, currentElement: d } = ve(), c = P(), p = P(), v = y(() => !l.value);
10108
10111
  function m(w, C) {
10109
10112
  const E = p.value || d.value.getBoundingClientRect(), k = [...s.thumbElements.value][s.valueIndexToChangeRef.value], A = s.thumbAlignment.value === "contain" ? k.clientHeight : 0;
10110
10113
  !c.value && !C && s.thumbAlignment.value === "contain" && (c.value = w.clientY - k.getBoundingClientRect().top);
@@ -10144,7 +10147,7 @@ var ub = /* @__PURE__ */ q({
10144
10147
  }, 8, ["style"]));
10145
10148
  }
10146
10149
  }), fb = cb;
10147
- const [nn, pb] = /* @__PURE__ */ Ve("SliderRoot");
10150
+ const [an, pb] = /* @__PURE__ */ Ve("SliderRoot");
10148
10151
  var vb = /* @__PURE__ */ q({
10149
10152
  inheritAttrs: !1,
10150
10153
  __name: "SliderRoot",
@@ -10333,7 +10336,7 @@ var vb = /* @__PURE__ */ q({
10333
10336
  "stepKeyDown"
10334
10337
  ],
10335
10338
  setup(e, { emit: a }) {
10336
- const t = e, n = a, o = nn();
10339
+ const t = e, n = a, o = an();
10337
10340
  return (r, l) => (f(), $(i(ge), ne({ "data-slider-impl": "" }, t, {
10338
10341
  onKeydown: l[0] || (l[0] = (s) => {
10339
10342
  s.key === "Home" ? (n("homeKeyDown", s), s.preventDefault()) : s.key === "End" ? (n("endKeyDown", s), s.preventDefault()) : i(pd).concat(i(vd)).includes(s.key) && (n("stepKeyDown", s), s.preventDefault());
@@ -10368,7 +10371,7 @@ var vb = /* @__PURE__ */ q({
10368
10371
  }
10369
10372
  },
10370
10373
  setup(e) {
10371
- const a = nn(), t = hd();
10374
+ const a = an(), t = hd();
10372
10375
  ve();
10373
10376
  const n = y(() => a.currentModelValue.value.map((l) => fd(l, a.min.value, a.max.value))), o = y(() => a.currentModelValue.value.length > 1 ? Math.min(...n.value) : 0), r = y(() => 100 - Math.max(...n.value, 0));
10374
10377
  return (l, s) => (f(), $(i(ge), {
@@ -10409,7 +10412,7 @@ var vb = /* @__PURE__ */ q({
10409
10412
  }
10410
10413
  },
10411
10414
  setup(e) {
10412
- const a = e, t = nn(), n = hd(), { forwardRef: o, currentElement: r } = ve(), { CollectionItem: l } = lt(), s = y(() => t.modelValue?.value?.[a.index]), u = y(() => s.value === void 0 ? 0 : fd(s.value, t.min.value ?? 0, t.max.value ?? 100)), d = y(() => ab(a.index, t.modelValue?.value?.length ?? 0)), c = qu(r), p = y(() => c[n.size].value), v = y(() => t.thumbAlignment.value === "overflow" || !p.value ? 0 : ob(p.value, u.value, n.direction.value)), m = /* @__PURE__ */ qi();
10415
+ const a = e, t = an(), n = hd(), { forwardRef: o, currentElement: r } = ve(), { CollectionItem: l } = lt(), s = y(() => t.modelValue?.value?.[a.index]), u = y(() => s.value === void 0 ? 0 : fd(s.value, t.min.value ?? 0, t.max.value ?? 100)), d = y(() => ab(a.index, t.modelValue?.value?.length ?? 0)), c = qu(r), p = y(() => c[n.size].value), v = y(() => t.thumbAlignment.value === "overflow" || !p.value ? 0 : ob(p.value, u.value, n.direction.value)), m = /* @__PURE__ */ qi();
10413
10416
  return qe(() => {
10414
10417
  t.thumbElements.value.push(r.value);
10415
10418
  }), dt(() => {
@@ -10491,7 +10494,7 @@ var vb = /* @__PURE__ */ q({
10491
10494
  }
10492
10495
  },
10493
10496
  setup(e) {
10494
- const a = nn();
10497
+ const a = an();
10495
10498
  return ve(), (t, n) => (f(), $(i(ge), {
10496
10499
  "as-child": t.asChild,
10497
10500
  as: t.as,
@@ -10525,7 +10528,7 @@ var vb = /* @__PURE__ */ q({
10525
10528
  },
10526
10529
  setup(e) {
10527
10530
  const a = e;
10528
- return (t, n) => (f(), $(i(Qa), Be(Ie(a)), {
10531
+ return (t, n) => (f(), $(i(Ja), Be(Ie(a)), {
10529
10532
  default: _(() => [S(t.$slots, "default")]),
10530
10533
  _: 3
10531
10534
  }, 16));
@@ -10585,7 +10588,7 @@ var Ab = /* @__PURE__ */ q({
10585
10588
  isUsingKeyboardRef: d,
10586
10589
  dir: l,
10587
10590
  modal: o
10588
- }), (c, p) => (f(), $(i(Ja), null, {
10591
+ }), (c, p) => (f(), $(i(Za), null, {
10589
10592
  default: _(() => [S(c.$slots, "default")]),
10590
10593
  _: 3
10591
10594
  }));
@@ -10761,7 +10764,7 @@ var qb = /* @__PURE__ */ q({
10761
10764
  T?.currentTarget?.contains?.(T.target) || (window.clearTimeout(c.value), d.value = "");
10762
10765
  }
10763
10766
  function j(T) {
10764
- if (!Wa(T)) return;
10767
+ if (!Ka(T)) return;
10765
10768
  const W = T.target, H = h.value !== T.clientX;
10766
10769
  if (T?.currentTarget?.contains(W) && H) {
10767
10770
  const Z = T.clientX > h.value ? "right" : "left";
@@ -10769,7 +10772,7 @@ var qb = /* @__PURE__ */ q({
10769
10772
  }
10770
10773
  }
10771
10774
  function z(T) {
10772
- Wa(T) && D.value && D.value.focus();
10775
+ Ka(T) && D.value && D.value.focus();
10773
10776
  }
10774
10777
  return Pb({
10775
10778
  onItemEnter: (T) => !!B(T),
@@ -10794,7 +10797,7 @@ var qb = /* @__PURE__ */ q({
10794
10797
  onMountAutoFocus: L,
10795
10798
  onUnmountAutoFocus: W[7] || (W[7] = (H) => n("closeAutoFocus", H))
10796
10799
  }, {
10797
- default: _(() => [I(i(Za), {
10800
+ default: _(() => [I(i(Xa), {
10798
10801
  "as-child": "",
10799
10802
  "disable-outside-pointer-events": i(s),
10800
10803
  onEscapeKeyDown: W[2] || (W[2] = (H) => n("escapeKeyDown", H)),
@@ -10901,7 +10904,7 @@ var qb = /* @__PURE__ */ q({
10901
10904
  setup(e) {
10902
10905
  const a = e, t = Mo(), { forwardRef: n, currentElement: o } = ve(), { CollectionItem: r } = lt(), l = P(!1), s = y(() => l.value || o.value != null && t.highlightedElement.value === o.value);
10903
10906
  async function u(c) {
10904
- if (!(c.defaultPrevented || !Wa(c))) {
10907
+ if (!(c.defaultPrevented || !Ka(c))) {
10905
10908
  if (a.disabled) t.onItemLeave(c);
10906
10909
  else if (!t.onItemEnter(c)) {
10907
10910
  const v = c.currentTarget;
@@ -10910,7 +10913,7 @@ var qb = /* @__PURE__ */ q({
10910
10913
  }
10911
10914
  }
10912
10915
  async function d(c) {
10913
- if (await De(), c.defaultPrevented || !Wa(c) || t.highlightedElement.value !== o.value) return;
10916
+ if (await De(), c.defaultPrevented || !Ka(c) || t.highlightedElement.value !== o.value) return;
10914
10917
  !t.onItemLeave(c) && t.highlightedElement.value === o.value && (t.highlightedElement.value = void 0);
10915
10918
  }
10916
10919
  return (c, p) => (f(), $(i(r), { value: { textValue: c.textValue } }, {
@@ -11598,7 +11601,7 @@ var ew = /* @__PURE__ */ q({
11598
11601
  onTriggerChange: (u) => {
11599
11602
  l.value = u;
11600
11603
  }
11601
- }), (u, d) => (f(), $(i(Ja), null, {
11604
+ }), (u, d) => (f(), $(i(Za), null, {
11602
11605
  default: _(() => [S(u.$slots, "default")]),
11603
11606
  _: 3
11604
11607
  }));
@@ -11778,12 +11781,12 @@ var ew = /* @__PURE__ */ q({
11778
11781
  s();
11779
11782
  });
11780
11783
  function u(p) {
11781
- !Wa(p) || r.onItemEnter(p) || !a.disabled && !t.open.value && !l.value && (r.onPointerGraceIntentChange(null), l.value = window.setTimeout(() => {
11784
+ !Ka(p) || r.onItemEnter(p) || !a.disabled && !t.open.value && !l.value && (r.onPointerGraceIntentChange(null), l.value = window.setTimeout(() => {
11782
11785
  t.onOpenChange(!0), s();
11783
11786
  }, 100));
11784
11787
  }
11785
11788
  async function d(p) {
11786
- if (!Wa(p)) return;
11789
+ if (!Ka(p)) return;
11787
11790
  s();
11788
11791
  const v = t.content.value?.getBoundingClientRect();
11789
11792
  if (v?.width) {
@@ -12404,7 +12407,7 @@ var kw = /* @__PURE__ */ q({
12404
12407
  ])], 64));
12405
12408
  }
12406
12409
  }), Cw = kw;
12407
- const [on, Sw] = /* @__PURE__ */ Ve("PopoverRoot");
12410
+ const [nn, Sw] = /* @__PURE__ */ Ve("PopoverRoot");
12408
12411
  var $w = /* @__PURE__ */ q({
12409
12412
  __name: "PopoverRoot",
12410
12413
  props: {
@@ -12443,7 +12446,7 @@ var $w = /* @__PURE__ */ q({
12443
12446
  },
12444
12447
  triggerElement: l,
12445
12448
  hasCustomAnchor: s
12446
- }), (u, d) => (f(), $(i(Ja), null, {
12449
+ }), (u, d) => (f(), $(i(Za), null, {
12447
12450
  default: _(() => [S(u.$slots, "default", {
12448
12451
  open: i(r),
12449
12452
  close: () => r.value = !1
@@ -12470,12 +12473,12 @@ var $w = /* @__PURE__ */ q({
12470
12473
  setup(e) {
12471
12474
  const a = e;
12472
12475
  ve();
12473
- const t = on();
12476
+ const t = nn();
12474
12477
  return kf(() => {
12475
12478
  t.hasCustomAnchor.value = !0;
12476
12479
  }), dt(() => {
12477
12480
  t.hasCustomAnchor.value = !1;
12478
- }), (n, o) => (f(), $(i(Qa), Be(Ie(a)), {
12481
+ }), (n, o) => (f(), $(i(Ja), Be(Ie(a)), {
12479
12482
  default: _(() => [S(n.$slots, "default")]),
12480
12483
  _: 3
12481
12484
  }, 16));
@@ -12902,7 +12905,7 @@ var Pw = /* @__PURE__ */ q({
12902
12905
  "closeAutoFocus"
12903
12906
  ],
12904
12907
  setup(e, { emit: a }) {
12905
- const t = e, n = a, o = Jt(Eo(t, "trapFocus", "disableOutsidePointerEvents")), { forwardRef: r } = ve(), l = on();
12908
+ const t = e, n = a, o = Jt(Eo(t, "trapFocus", "disableOutsidePointerEvents")), { forwardRef: r } = ve(), l = nn();
12906
12909
  return To(), (s, u) => (f(), $(i(qn), {
12907
12910
  "as-child": "",
12908
12911
  loop: "",
@@ -12910,7 +12913,7 @@ var Pw = /* @__PURE__ */ q({
12910
12913
  onMountAutoFocus: u[5] || (u[5] = (d) => n("openAutoFocus", d)),
12911
12914
  onUnmountAutoFocus: u[6] || (u[6] = (d) => n("closeAutoFocus", d))
12912
12915
  }, {
12913
- default: _(() => [I(i(Za), {
12916
+ default: _(() => [I(i(Xa), {
12914
12917
  "as-child": "",
12915
12918
  "disable-outside-pointer-events": s.disableOutsidePointerEvents,
12916
12919
  onPointerDownOutside: u[0] || (u[0] = (d) => n("pointerDownOutside", d)),
@@ -13050,7 +13053,7 @@ var Pw = /* @__PURE__ */ q({
13050
13053
  "closeAutoFocus"
13051
13054
  ],
13052
13055
  setup(e, { emit: a }) {
13053
- const t = e, n = a, o = on(), r = ft(), l = P(!1);
13056
+ const t = e, n = a, o = nn(), r = ft(), l = P(!1);
13054
13057
  Tn(!0);
13055
13058
  const s = vt(t, n), { forwardRef: u, currentElement: d } = ve();
13056
13059
  return An(d), (c, p) => (f(), $(Id, ne(i(s), {
@@ -13177,7 +13180,7 @@ var Pw = /* @__PURE__ */ q({
13177
13180
  "closeAutoFocus"
13178
13181
  ],
13179
13182
  setup(e, { emit: a }) {
13180
- const t = e, n = a, o = on(), r = ft(), l = P(!1), s = P(!1), u = vt(t, n);
13183
+ const t = e, n = a, o = nn(), r = ft(), l = P(!1), s = P(!1), u = vt(t, n);
13181
13184
  return (d, c) => (f(), $(Id, ne(i(u), {
13182
13185
  "trap-focus": !1,
13183
13186
  "disable-outside-pointer-events": !1,
@@ -13303,7 +13306,7 @@ var Pw = /* @__PURE__ */ q({
13303
13306
  "closeAutoFocus"
13304
13307
  ],
13305
13308
  setup(e, { emit: a }) {
13306
- const t = e, n = a, o = on(), r = vt(t, n), { forwardRef: l } = ve();
13309
+ const t = e, n = a, o = nn(), r = vt(t, n), { forwardRef: l } = ve();
13307
13310
  return o.contentId ||= Je(void 0, "reka-popover-content"), (s, u) => (f(), $(i(_t), { present: s.forceMount || i(o).open.value }, {
13308
13311
  default: _(() => [i(o).modal.value ? (f(), $(Fw, ne({ key: 0 }, i(r), { ref: i(l) }), {
13309
13312
  default: _(() => [S(s.$slots, "default")]),
@@ -13665,10 +13668,10 @@ var Pw = /* @__PURE__ */ q({
13665
13668
  }
13666
13669
  },
13667
13670
  setup(e) {
13668
- const a = e, t = on(), { forwardRef: n, currentElement: o } = ve();
13671
+ const a = e, t = nn(), { forwardRef: n, currentElement: o } = ve();
13669
13672
  return t.triggerId ||= Je(void 0, "reka-popover-trigger"), t.contentId ||= Je(void 0, "reka-popover-content"), qe(() => {
13670
13673
  t.triggerElement.value = o.value;
13671
- }), (r, l) => (f(), $(ze(i(t).hasCustomAnchor.value ? i(ge) : i(Qa)), { "as-child": "" }, {
13674
+ }), (r, l) => (f(), $(ze(i(t).hasCustomAnchor.value ? i(ge) : i(Ja)), { "as-child": "" }, {
13672
13675
  default: _(() => [I(i(ge), {
13673
13676
  id: i(t).triggerId,
13674
13677
  ref: i(n),
@@ -14028,7 +14031,7 @@ var hx = /* @__PURE__ */ q({
14028
14031
  _: 3
14029
14032
  }, 16));
14030
14033
  }
14031
- }), Ha = wx, xx = /* @__PURE__ */ q({
14034
+ }), Wa = wx, xx = /* @__PURE__ */ q({
14032
14035
  __name: "DropdownMenuRadioGroup",
14033
14036
  props: {
14034
14037
  modelValue: {
@@ -14385,7 +14388,7 @@ var Dx = /* @__PURE__ */ q({
14385
14388
  },
14386
14389
  emits: ["update:checked", "select"],
14387
14390
  setup(e, { emit: a }) {
14388
- const t = e, n = a, o = /* @__PURE__ */ We(t, "checked", n, { passive: t.checked === void 0 }), { value: r } = Ke(t), { forwardRef: l, currentElement: s } = ve(), u = Zt(s), d = Xa(), c = y(() => t.id && s.value ? document.querySelector(`[for="${t.id}"]`)?.innerText : void 0);
14391
+ const t = e, n = a, o = /* @__PURE__ */ We(t, "checked", n, { passive: t.checked === void 0 }), { value: r } = Ke(t), { forwardRef: l, currentElement: s } = ve(), u = Zt(s), d = Ya(), c = y(() => t.id && s.value ? document.querySelector(`[for="${t.id}"]`)?.innerText : void 0);
14389
14392
  function p(v) {
14390
14393
  t.disabled || qx(v, t.value, (m) => {
14391
14394
  n("select", m), !m?.defaultPrevented && (o.value = !0, u.value && m.stopPropagation());
@@ -14612,7 +14615,7 @@ var Fx = /* @__PURE__ */ q({
14612
14615
  c.value && r.value?.click();
14613
14616
  }, 0);
14614
14617
  }
14615
- const m = Xa();
14618
+ const m = Ya();
14616
14619
  return (h, b) => (f(), $(i(In), {
14617
14620
  checked: d.value,
14618
14621
  disabled: s.value,
@@ -14777,7 +14780,7 @@ var Gx = /* @__PURE__ */ q({
14777
14780
  }), c = P(), p = P(), v = P({
14778
14781
  x: 0,
14779
14782
  y: 0
14780
- }), m = y(() => l.value && Array.isArray(u.value) ? u.value?.length === 0 : Ka(u.value));
14783
+ }), m = y(() => l.value && Array.isArray(u.value) ? u.value?.length === 0 : Na(u.value));
14781
14784
  lt({ isProvider: !0 });
14782
14785
  const h = pt(s), b = Zt(c), x = P(/* @__PURE__ */ new Set()), w = y(() => Array.from(x.value).map((k) => k.value).join(";"));
14783
14786
  function C(k) {
@@ -14821,7 +14824,7 @@ var Gx = /* @__PURE__ */ q({
14821
14824
  const A = E(k.value);
14822
14825
  A && x.value.delete(A);
14823
14826
  }
14824
- }), (k, A) => (f(), $(i(Ja), null, {
14827
+ }), (k, A) => (f(), $(i(Za), null, {
14825
14828
  default: _(() => [S(k.$slots, "default", {
14826
14829
  modelValue: i(u),
14827
14830
  open: i(d)
@@ -14836,7 +14839,7 @@ var Gx = /* @__PURE__ */ q({
14836
14839
  disabled: i(r),
14837
14840
  value: i(u)
14838
14841
  }, {
14839
- default: _(() => [i(Ka)(i(u)) ? (f(), g("option", {
14842
+ default: _(() => [i(Na)(i(u)) ? (f(), g("option", {
14840
14843
  key: 0,
14841
14844
  value: k.nullableValue
14842
14845
  }, null, 8, Ux)) : M("v-if", !0), (f(!0), g(ce, null, _e(Array.from(x.value), (O) => (f(), g("option", ne({ key: O.value ?? "" }, { ref_for: !0 }, O), null, 16))), 128))]),
@@ -15233,7 +15236,7 @@ var t0 = /* @__PURE__ */ q({
15233
15236
  n("closeAutoFocus", B), !B.defaultPrevented && (r ? r.restoreFocus(i(o).triggerElement.value) : i(o).triggerElement.value?.focus({ preventScroll: !0 }), B.preventDefault());
15234
15237
  })
15235
15238
  }, {
15236
- default: _(() => [I(i(Za), {
15239
+ default: _(() => [I(i(Xa), {
15237
15240
  "as-child": "",
15238
15241
  "disable-outside-pointer-events": D.disableOutsidePointerEvents,
15239
15242
  onFocusOutside: N[2] || (N[2] = $e(() => {
@@ -15823,7 +15826,7 @@ var b0 = /* @__PURE__ */ q({
15823
15826
  function x(w) {
15824
15827
  m || w.currentTarget?.focus(), m = !1;
15825
15828
  }
15826
- return (w, C) => (f(), $(i(Qa), {
15829
+ return (w, C) => (f(), $(i(Ja), {
15827
15830
  "as-child": "",
15828
15831
  reference: w.reference
15829
15832
  }, {
@@ -16044,7 +16047,7 @@ var M0 = /* @__PURE__ */ q({
16044
16047
  function s() {
16045
16048
  o.value || (r.value = l.value ? t.falseValue : t.trueValue);
16046
16049
  }
16047
- const { forwardRef: u, currentElement: d } = ve(), c = Zt(d), p = Xa(), v = y(() => t.id && d.value ? document.querySelector(`[for="${t.id}"]`)?.innerText : void 0);
16050
+ const { forwardRef: u, currentElement: d } = ve(), c = Zt(d), p = Ya(), v = y(() => t.id && d.value ? document.querySelector(`[for="${t.id}"]`)?.innerText : void 0);
16048
16051
  return R0({
16049
16052
  checked: l,
16050
16053
  toggleCheck: s,
@@ -17150,7 +17153,7 @@ var $_ = /* @__PURE__ */ q({
17150
17153
  },
17151
17154
  emits: ["update:modelValue"],
17152
17155
  setup(e, { emit: a }) {
17153
- const t = e, n = a, { forwardRef: o, currentElement: r } = ve(), l = Xa(), s = Ji(null), u = /* @__PURE__ */ We(t, "modelValue", n, {
17156
+ const t = e, n = a, { forwardRef: o, currentElement: r } = ve(), l = Ya(), s = Ji(null), u = /* @__PURE__ */ We(t, "modelValue", n, {
17154
17157
  defaultValue: t.defaultValue,
17155
17158
  passive: t.modelValue === void 0
17156
17159
  });
@@ -17220,7 +17223,7 @@ var $_ = /* @__PURE__ */ q({
17220
17223
  }
17221
17224
  },
17222
17225
  setup(e) {
17223
- const a = e, t = Ji(), n = y(() => t.disabled?.value || a.disabled), o = y(() => co(t.modelValue.value, a.value)), { forwardRef: r } = ve(), l = Xa();
17226
+ const a = e, t = Ji(), n = y(() => t.disabled?.value || a.disabled), o = y(() => co(t.modelValue.value, a.value)), { forwardRef: r } = ve(), l = Ya();
17224
17227
  return (s, u) => (f(), $(ze(i(t).rovingFocus.value ? i(In) : i(ge)), ne({ "as-child": "" }, i(t).rovingFocus.value ? {
17225
17228
  focusable: !n.value,
17226
17229
  active: o.value
@@ -17416,7 +17419,7 @@ var R_ = /* @__PURE__ */ q({
17416
17419
  disableClosingTrigger: s,
17417
17420
  disabled: u,
17418
17421
  ignoreNonKeyboardFocus: c
17419
- }), (k, A) => (f(), $(i(Ja), null, {
17422
+ }), (k, A) => (f(), $(i(Za), null, {
17420
17423
  default: _(() => [S(k.$slots, "default", { open: i(p) })]),
17421
17424
  _: 3
17422
17425
  }));
@@ -17508,7 +17511,7 @@ var R_ = /* @__PURE__ */ q({
17508
17511
  Ft(window, "scroll", (p) => {
17509
17512
  p.target?.contains(r.trigger.value) && r.onClose();
17510
17513
  }, { capture: !0 }), Ft(n?.eventTarget ?? document, Ud, r.onClose);
17511
- }), (p, v) => (f(), $(i(Za), {
17514
+ }), (p, v) => (f(), $(i(Xa), {
17512
17515
  "as-child": "",
17513
17516
  "disable-outside-pointer-events": !1,
17514
17517
  onEscapeKeyDown: v[0] || (v[0] = (m) => o("escapeKeyDown", m)),
@@ -17785,7 +17788,7 @@ var R_ = /* @__PURE__ */ q({
17785
17788
  function b() {
17786
17789
  t.disableClosingTrigger.value || t.onClose();
17787
17790
  }
17788
- return (x, w) => (f(), $(i(Qa), {
17791
+ return (x, w) => (f(), $(i(Ja), {
17789
17792
  "as-child": "",
17790
17793
  reference: x.reference ?? i(r)
17791
17794
  }, {
@@ -17883,7 +17886,7 @@ var H_ = /* @__PURE__ */ q({
17883
17886
  },
17884
17887
  emits: ["update:modelValue", "update:expanded"],
17885
17888
  setup(e, { emit: a }) {
17886
- const t = e, n = a, { items: o, multiple: r, disabled: l, propagateSelect: s, dir: u, bubbleSelect: d } = Ke(t), { handleTypeaheadSearch: c } = Pn(), p = pt(u), v = P(), m = P(!1), h = /* @__PURE__ */ Ra(), b = /* @__PURE__ */ We(t, "modelValue", n, {
17889
+ const t = e, n = a, { items: o, multiple: r, disabled: l, propagateSelect: s, dir: u, bubbleSelect: d } = Ke(t), { handleTypeaheadSearch: c } = Pn(), p = pt(u), v = P(), m = P(!1), h = /* @__PURE__ */ Ia(), b = /* @__PURE__ */ We(t, "modelValue", n, {
17887
17890
  defaultValue: t.defaultValue ?? (r.value ? [] : void 0),
17888
17891
  passive: !0,
17889
17892
  deep: !0
@@ -18171,7 +18174,7 @@ function vs(e) {
18171
18174
  function Xd(e, a) {
18172
18175
  return Number(e.toFixed(Math.min(100, Math.max(0, a))));
18173
18176
  }
18174
- function La(e, a) {
18177
+ function Va(e, a) {
18175
18178
  if (!Number.isFinite(e)) return !1;
18176
18179
  let t = e;
18177
18180
  if (a.patchNum) {
@@ -18185,11 +18188,11 @@ function Zd(e, a) {
18185
18188
  const t = e.trim();
18186
18189
  if (t === "") return !1;
18187
18190
  const n = Number(t);
18188
- return Number.isFinite(n) ? La(n, a) : !1;
18191
+ return Number.isFinite(n) ? Va(n, a) : !1;
18189
18192
  }
18190
18193
  function Jd(e, a, t) {
18191
18194
  const n = Yd(t.step), o = Math.max(vs(e), vs(n), t.precision ?? 0);
18192
- return La(Xd(e + a * n, o), t);
18195
+ return Va(Xd(e + a * n, o), t);
18193
18196
  }
18194
18197
  const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }, Q_ = ["value", "name", "placeholder", "disabled", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-disabled", "aria-activedescendant"], e1 = ["disabled", "aria-expanded", "aria-label"], t1 = ["disabled", "aria-label"], a1 = ["disabled", "aria-label"], n1 = ["disabled", "aria-label"], o1 = ["aria-label"], r1 = ["id", "aria-selected", "onMouseenter", "onClick"], l2 = /* @__PURE__ */ q({
18195
18198
  inheritAttrs: !1,
@@ -18258,7 +18261,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
18258
18261
  });
18259
18262
  function R(Z) {
18260
18263
  const G = n.menu[Z];
18261
- b.value = !1, G && k(La(G.value, c.value)), p.value?.focus();
18264
+ b.value = !1, G && k(Va(G.value, c.value)), p.value?.focus();
18262
18265
  }
18263
18266
  function F(Z) {
18264
18267
  if (!n.disabled) {
@@ -18266,7 +18269,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
18266
18269
  Z.key === "ArrowDown" ? (Z.preventDefault(), x.value = (x.value + 1) % n.menu.length) : Z.key === "ArrowUp" ? (Z.preventDefault(), x.value = (x.value - 1 + n.menu.length) % n.menu.length) : Z.key === "Home" ? (Z.preventDefault(), x.value = 0) : Z.key === "End" ? (Z.preventDefault(), x.value = n.menu.length - 1) : Z.key === "Enter" || Z.key === " " ? (Z.preventDefault(), R(x.value)) : Z.key === "Escape" && (Z.preventDefault(), L());
18267
18270
  return;
18268
18271
  }
18269
- Z.key === "ArrowUp" ? (Z.preventDefault(), O(1)) : Z.key === "ArrowDown" ? (Z.preventDefault(), n.menu.length ? B() : O(-1)) : Z.key === "Home" && u.value ? (Z.preventDefault(), k(La(l.value, c.value))) : Z.key === "End" && d.value ? (Z.preventDefault(), k(La(s.value, c.value))) : Z.key === "Enter" && A();
18272
+ Z.key === "ArrowUp" ? (Z.preventDefault(), O(1)) : Z.key === "ArrowDown" ? (Z.preventDefault(), n.menu.length ? B() : O(-1)) : Z.key === "Home" && u.value ? (Z.preventDefault(), k(Va(l.value, c.value))) : Z.key === "End" && d.value ? (Z.preventDefault(), k(Va(s.value, c.value))) : Z.key === "Enter" && A();
18270
18273
  }
18271
18274
  }
18272
18275
  const { controlAttrs: j, wrapperAttrs: z, changed: T } = ct({ value: () => n.modelValue, disabled: () => n.disabled, id: () => n.id, ariaLabel: () => n.ariaLabel, ariaLabelledby: () => n.ariaLabelledby }), W = It(() => v.value?.$el, () => b.value), H = y(() => ({ increase: t("Increase value"), decrease: t("Decrease value"), presets: t("Preset values"), ...n.text }));
@@ -18491,7 +18494,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
18491
18494
  function w(L) {
18492
18495
  const R = L?.[0];
18493
18496
  if (R === void 0) return;
18494
- const F = La(R, v.value);
18497
+ const F = Va(R, v.value);
18495
18498
  F !== !1 && x(F);
18496
18499
  }
18497
18500
  function C() {
@@ -18553,7 +18556,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
18553
18556
  }, 8, ["class"]),
18554
18557
  I(i(_b), ne(i(D)(), {
18555
18558
  class: i(Oe)(
18556
- "block size-4 rounded-full border border-[var(--ui-border-strong)] bg-[var(--ui-surface-raised)] shadow-sm outline-none focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]",
18559
+ "block size-4 rounded-full border border-[var(--ui-border-strong)] bg-[var(--ui-surface-raised)] shadow-[var(--ui-shadow-card)] outline-none focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]",
18557
18560
  i(n).disabled ? "cursor-default opacity-50" : "cursor-pointer hover:border-[var(--ui-control-border-hover)] hover:bg-[var(--ui-surface-hover)] active:bg-[var(--ui-control-bg-active)]"
18558
18561
  ),
18559
18562
  onFocus: R[0] || (R[0] = (F) => p.value = !0),
@@ -18798,7 +18801,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
18798
18801
  onClick: W
18799
18802
  }), [
18800
18803
  V("span", {
18801
- class: "relative block size-4 shrink-0 overflow-hidden rounded-[2px] border border-[var(--ui-border)]",
18804
+ class: "relative block size-4 shrink-0 overflow-hidden rounded-[var(--ui-radius-sm)] border border-[var(--ui-border)]",
18802
18805
  style: ke(C.value < 1 ? { backgroundImage: _1, backgroundSize: "8px 8px" } : void 0),
18803
18806
  "data-testid": "color-picker-preview"
18804
18807
  }, [
@@ -18864,7 +18867,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
18864
18867
  onClick: (de) => R(se.value)
18865
18868
  }, [
18866
18869
  V("span", {
18867
- class: "block size-full rounded-[2px] border border-[var(--ui-border-strong)]",
18870
+ class: "block size-full rounded-[var(--ui-radius-sm)] border border-[var(--ui-border-strong)]",
18868
18871
  style: ke({ backgroundColor: se.value })
18869
18872
  }, null, 4)
18870
18873
  ], 42, g1))), 128))
@@ -19022,7 +19025,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
19022
19025
  })
19023
19026
  }), {
19024
19027
  default: _(() => [
19025
- I(i(F0), { class: "block size-3.5 translate-x-[1px] rounded-full bg-white shadow-sm transition-transform duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] data-[state=checked]:translate-x-[15px]" })
19028
+ I(i(F0), { class: "block size-3.5 translate-x-[1px] rounded-full bg-white shadow-[var(--ui-shadow-card)] transition-transform duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] data-[state=checked]:translate-x-[15px]" })
19026
19029
  ]),
19027
19030
  _: 1
19028
19031
  }, 16, ["model-value", "disabled"]),
@@ -20147,7 +20150,7 @@ const rc = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
20147
20150
  "aria-label": e.text || i(t).label,
20148
20151
  "data-syno-pkg-land-ui": ""
20149
20152
  }, [
20150
- I(Ya, {
20153
+ I(Ga, {
20151
20154
  label: e.text || i(t).label,
20152
20155
  size: 24
20153
20156
  }, null, 8, ["label"]),
@@ -20545,7 +20548,7 @@ const rc = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
20545
20548
  ]),
20546
20549
  _: 2
20547
20550
  }, 1032, ["disabled", "class"]),
20548
- I(i(Ha), null, {
20551
+ I(i(Wa), null, {
20549
20552
  default: _(() => [
20550
20553
  I(i(Vd), {
20551
20554
  "side-offset": 4,
@@ -20714,7 +20717,7 @@ const rc = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
20714
20717
  ]),
20715
20718
  _: 3
20716
20719
  }, 16),
20717
- I(i(Ha), null, {
20720
+ I(i(Wa), null, {
20718
20721
  default: _(() => [
20719
20722
  t.items.length > 0 ? (f(), $(i(go), ne({ key: 0 }, m.$attrs, {
20720
20723
  align: t.align,
@@ -21175,7 +21178,7 @@ const fC = /* @__PURE__ */ q({
21175
21178
  }, 8, ["teleport-to", "dir", "locale", "scroll-body", "nonce", "use-id"])) : S(t.$slots, "default", {}, void 0, void 0, 1)
21176
21179
  ], 8, ["to", "disabled"]));
21177
21180
  }
21178
- }), Ta = /* @__PURE__ */ q({
21181
+ }), on = /* @__PURE__ */ q({
21179
21182
  __name: "ButtonKindScope",
21180
21183
  props: {
21181
21184
  kind: {}
@@ -21323,7 +21326,7 @@ const fC = /* @__PURE__ */ q({
21323
21326
  key: 2,
21324
21327
  class: te(["flex shrink-0 flex-wrap items-center justify-end gap-2", k.value ? ["min-h-12 px-5 py-2.5", E() && "border-t border-[var(--ui-border-subtle)]"] : "px-[30px] pt-7 pb-5"])
21325
21328
  }, [
21326
- I(Ta, { kind: "action" }, {
21329
+ I(on, { kind: "action" }, {
21327
21330
  default: _(() => [
21328
21331
  S(D.$slots, "footer")
21329
21332
  ]),
@@ -21439,7 +21442,7 @@ const fC = /* @__PURE__ */ q({
21439
21442
  S(d.$slots, "default")
21440
21443
  ]),
21441
21444
  d.$slots.footer ? (f(), g("footer", bC, [
21442
- I(Ta, { kind: "action" }, {
21445
+ I(on, { kind: "action" }, {
21443
21446
  default: _(() => [
21444
21447
  S(d.$slots, "footer")
21445
21448
  ]),
@@ -21550,7 +21553,7 @@ const EC = ["disabled", "readonly", "placeholder", "onKeydown"], TC = ["disabled
21550
21553
  },
21551
21554
  emits: ["update:modelValue", "change", "select-date", "invalid"],
21552
21555
  setup(e, { emit: a }) {
21553
- const t = Ga(() => {
21556
+ const t = Ua(() => {
21554
21557
  }), n = Me("root"), o = P(!1), r = It(() => n.value ?? void 0, () => o.value), l = Ue(), s = e, u = y(() => s.locale ?? t.value), d = a, c = y(() => vc(s.modelValue)), p = y(() => c.value?.date), v = y(() => s.editable && !s.showTime), m = y(
21555
21558
  () => s.timeFormat ?? (s.enableHour24 ? "HH:mm" : "h:mm a")
21556
21559
  ), h = ht({ hours: 0, minutes: 0, checked: !1 }), b = y(() => s.timeOptional ? h.checked : !0);
@@ -21943,7 +21946,7 @@ const UC = { class: "min-w-0" }, GC = ["onClick"], E2 = /* @__PURE__ */ q({
21943
21946
  let r = 1;
21944
21947
  function l(m = "info") {
21945
21948
  return {
21946
- info: za,
21949
+ info: Fa,
21947
21950
  success: xi,
21948
21951
  warning: So,
21949
21952
  danger: wi
@@ -23011,9 +23014,9 @@ const F2 = /* @__PURE__ */ rl(TS, [["render", PS]]), z2 = /* @__PURE__ */ q({
23011
23014
  const Ae = ee?.block ?? "nearest", Ne = fe.offsetTop, St = Ne + fe.offsetHeight, Ce = xe.scrollTop, Fe = Ce + xe.clientHeight;
23012
23015
  let tt = Ce;
23013
23016
  Ae === "start" ? tt = Ne : Ae === "end" ? tt = St - xe.clientHeight : Ne < Ce ? tt = Ne : St > Fe && (tt = St - xe.clientHeight);
23014
- const ot = fe.offsetLeft, Mn = ot + fe.offsetWidth, ca = xe.scrollLeft, Aa = ca + xe.clientWidth;
23015
- let Pa = ca;
23016
- ot < ca ? Pa = ot : Mn > Aa && (Pa = Mn - xe.clientWidth), Z({ left: Pa, top: tt, behavior: ee?.behavior });
23017
+ const ot = fe.offsetLeft, Mn = ot + fe.offsetWidth, ca = xe.scrollLeft, Ta = ca + xe.clientWidth;
23018
+ let Aa = ca;
23019
+ ot < ca ? Aa = ot : Mn > Ta && (Aa = Mn - xe.clientWidth), Z({ left: Aa, top: tt, behavior: ee?.behavior });
23017
23020
  }
23018
23021
  function re() {
23019
23022
  p.value = !0;
@@ -23390,7 +23393,7 @@ const GS = {
23390
23393
  ]),
23391
23394
  _: 1
23392
23395
  }),
23393
- I(i(Ha), null, {
23396
+ I(i(Wa), null, {
23394
23397
  default: _(() => [
23395
23398
  I(i(go), {
23396
23399
  align: "start",
@@ -23439,7 +23442,7 @@ const GS = {
23439
23442
  ]),
23440
23443
  _: 2
23441
23444
  }, 1024),
23442
- I(i(Ha), null, {
23445
+ I(i(Wa), null, {
23443
23446
  default: _(() => [
23444
23447
  I(i(go), {
23445
23448
  align: "end",
@@ -23617,7 +23620,7 @@ const s$ = ["aria-label"], u$ = {
23617
23620
  },
23618
23621
  emits: ["update:modelValue", "update:pageSize", "change", "changePage", "refresh"],
23619
23622
  setup(e, { expose: a, emit: t }) {
23620
- const n = Ue(), o = e, r = t, l = Ga(() => {
23623
+ const n = Ue(), o = e, r = t, l = Ua(() => {
23621
23624
  }), s = (T) => o.groupDigits ? new Intl.NumberFormat(l.value).format(T) : String(T), u = y(() => ({ ...o$(n), ...o.labels })), d = (T) => {
23622
23625
  const W = Number(T);
23623
23626
  return Number.isFinite(W) ? W : 0;
@@ -24399,12 +24402,7 @@ const N$ = ["data-collapsible", "aria-busy"], K$ = {
24399
24402
  ])) : M("", !0),
24400
24403
  e.loading ? (f(), $(sc, { key: 1 })) : S(c.$slots, "default", {}, void 0, void 0, 2),
24401
24404
  c.$slots.footer && !e.loading ? (f(), g("div", J$, [
24402
- I(Ta, { kind: "action" }, {
24403
- default: _(() => [
24404
- S(c.$slots, "footer")
24405
- ]),
24406
- _: 3
24407
- })
24405
+ S(c.$slots, "footer")
24408
24406
  ])) : M("", !0)
24409
24407
  ], 10, X$), [
24410
24408
  [ba, s.value]
@@ -24515,7 +24513,7 @@ const eE = {
24515
24513
  },
24516
24514
  emits: ["close"],
24517
24515
  setup(e, { emit: a }) {
24518
- const n = Xe(e, { closeLabel: "Close" }), o = a, r = y(() => ({ info: za, success: xi, warning: So, danger: wi })[n.tone]);
24516
+ const n = Xe(e, { closeLabel: "Close" }), o = a, r = y(() => ({ info: Fa, success: xi, warning: So, danger: wi })[n.tone]);
24519
24517
  return (l, s) => (f(), g("div", {
24520
24518
  class: "ui-callout flex gap-2.5 py-2.5 pl-3.5 pr-3 text-[13px] leading-5",
24521
24519
  "data-tone": e.tone,
@@ -25124,7 +25122,7 @@ const Pc = "-ml-1 flex items-center justify-start gap-1", GE = ["data-ui-data-vi
25124
25122
  "data-ui-cell-primary": "",
25125
25123
  "data-ui-tooltip-hint": e.openLabel,
25126
25124
  disabled: e.openDisabled,
25127
- class: te([o.value, "m-0 -mx-0.5 min-w-0 max-w-full rounded-[2px] border-0 bg-transparent px-0.5 py-0 text-left text-[length:inherit] leading-5 text-[var(--ui-primary)] outline-none hover:underline focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)] disabled:cursor-default disabled:opacity-50 disabled:hover:no-underline"]),
25125
+ class: te([o.value, "m-0 -mx-0.5 min-w-0 max-w-full rounded-[var(--ui-radius-sm)] border-0 bg-transparent px-0.5 py-0 text-left text-[length:inherit] leading-5 text-[var(--ui-primary)] outline-none hover:underline focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)] disabled:cursor-default disabled:opacity-50 disabled:hover:no-underline"]),
25128
25126
  onClick: l[0] || (l[0] = (s) => r.$emit("open"))
25129
25127
  }, [
25130
25128
  S(r.$slots, "default", {}, () => [
@@ -25165,7 +25163,7 @@ const Pc = "-ml-1 flex items-center justify-start gap-1", GE = ["data-ui-data-vi
25165
25163
  }, uT = {
25166
25164
  "data-ui-cell-status-label": "",
25167
25165
  tabindex: "0",
25168
- class: "-mx-0.5 min-w-0 truncate rounded-[2px] px-0.5 outline-none focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)]"
25166
+ class: "-mx-0.5 min-w-0 truncate rounded-[var(--ui-radius-sm)] px-0.5 outline-none focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)]"
25169
25167
  }, dT = {
25170
25168
  key: 1,
25171
25169
  "data-ui-cell-status-label": "",
@@ -25631,7 +25629,7 @@ const IT = {
25631
25629
  function ca(K) {
25632
25630
  Ne(K, !Ae.value.includes(K));
25633
25631
  }
25634
- const Aa = y(() => o.draggable ? typeof o.draggable == "object" ? o.draggable : {} : null), Pa = y(() => !!Aa.value), sn = y(() => Pa.value && !Aa.value?.pivotColumn ? "__drag__" : null), fa = P(null), Vn = P(null);
25632
+ const Ta = y(() => o.draggable ? typeof o.draggable == "object" ? o.draggable : {} : null), Aa = y(() => !!Ta.value), sn = y(() => Aa.value && !Ta.value?.pivotColumn ? "__drag__" : null), fa = P(null), Vn = P(null);
25635
25633
  function hl(K, J) {
25636
25634
  const X = [...v.value];
25637
25635
  if (K === J || K < 0 || J < 0 || K >= X.length || J >= X.length) return;
@@ -25650,7 +25648,7 @@ const IT = {
25650
25648
  }
25651
25649
  function bl(K) {
25652
25650
  const J = v.value.find((X) => c(X) === fa.value);
25653
- return !J || J === K ? !1 : Aa.value?.withinGroup && o.group ? J[o.group.field] === K[o.group.field] : !0;
25651
+ return !J || J === K ? !1 : Ta.value?.withinGroup && o.group ? J[o.group.field] === K[o.group.field] : !0;
25654
25652
  }
25655
25653
  function Wc(K, J, X) {
25656
25654
  bl(J) && (Vn.value = X, K.dataTransfer && (K.dataTransfer.dropEffect = "move"));
@@ -25701,25 +25699,25 @@ const IT = {
25701
25699
  const X = K.key === "ArrowLeft" ? -1 : K.key === "ArrowRight" ? 1 : 0;
25702
25700
  !o.columnReorder || !K.altKey || X === 0 || (K.preventDefault(), Xc(J, X));
25703
25701
  }
25704
- const qa = P(null), lr = P(null);
25702
+ const Pa = P(null), lr = P(null);
25705
25703
  function Jc(K, J) {
25706
- if (Da) {
25704
+ if (qa) {
25707
25705
  K.preventDefault();
25708
25706
  return;
25709
25707
  }
25710
- qa.value = J.key, K.dataTransfer?.setData("text/plain", J.key), K.dataTransfer && (K.dataTransfer.effectAllowed = "move");
25708
+ Pa.value = J.key, K.dataTransfer?.setData("text/plain", J.key), K.dataTransfer && (K.dataTransfer.effectAllowed = "move");
25711
25709
  }
25712
25710
  function Qc(K, J) {
25713
- !qa.value || qa.value === J.key || (K.preventDefault(), lr.value = J.key, K.dataTransfer && (K.dataTransfer.dropEffect = "move"));
25711
+ !Pa.value || Pa.value === J.key || (K.preventDefault(), lr.value = J.key, K.dataTransfer && (K.dataTransfer.dropEffect = "move"));
25714
25712
  }
25715
25713
  function ef(K) {
25716
- const J = qa.value;
25714
+ const J = Pa.value;
25717
25715
  if (Cl(), !J || J === K.key) return;
25718
25716
  const X = un.value.map((ye) => ye.key);
25719
25717
  ir(Es(X, J, X.indexOf(K.key)));
25720
25718
  }
25721
25719
  function Cl() {
25722
- qa.value = null, lr.value = null;
25720
+ Pa.value = null, lr.value = null;
25723
25721
  }
25724
25722
  const tf = y(() => [
25725
25723
  ...un.value.map((K) => ({
@@ -25768,15 +25766,15 @@ const IT = {
25768
25766
  function Al(K, J) {
25769
25767
  pa.value = J, r("update:columnWidths", J), r("columnResize", { key: K.key, width: J[K.key] });
25770
25768
  }
25771
- let Da;
25769
+ let qa;
25772
25770
  function uf(K, J) {
25773
25771
  const X = Tl(), ye = K.clientX, Le = (va) => ({ ...X, [J.key]: qs(X[J.key] + va - ye, cn(J)) }), qt = (va) => {
25774
25772
  pa.value = Le(va.clientX);
25775
25773
  }, Rt = (va) => {
25776
- Da?.(), Al(J, Le(va.clientX));
25774
+ qa?.(), Al(J, Le(va.clientX));
25777
25775
  };
25778
- Da = () => {
25779
- document.removeEventListener("pointermove", qt), document.removeEventListener("pointerup", Rt), document.removeEventListener("pointercancel", Rt), Da = void 0;
25776
+ qa = () => {
25777
+ document.removeEventListener("pointermove", qt), document.removeEventListener("pointerup", Rt), document.removeEventListener("pointercancel", Rt), qa = void 0;
25780
25778
  }, document.addEventListener("pointermove", qt), document.addEventListener("pointerup", Rt), document.addEventListener("pointercancel", Rt);
25781
25779
  }
25782
25780
  function df(K, J) {
@@ -25786,7 +25784,7 @@ const IT = {
25786
25784
  const ye = Tl();
25787
25785
  Al(J, { ...ye, [J.key]: qs(ye[J.key] + X, cn(J)) });
25788
25786
  }
25789
- He(() => Da?.()), oc();
25787
+ He(() => qa?.()), oc();
25790
25788
  const Pl = Me("gridRoot");
25791
25789
  function cf({ scope: K }) {
25792
25790
  const J = kt.value.find((Le) => Le.key === K.dataset.column);
@@ -25800,7 +25798,7 @@ const IT = {
25800
25798
  if (o.stateKey) {
25801
25799
  const K = o.stateKey;
25802
25800
  pe([nr, or, pa, b, B], () => {
25803
- Da || PT(K, {
25801
+ qa || PT(K, {
25804
25802
  columnOrder: un.value.map((J) => J.key),
25805
25803
  hiddenColumns: [...dn.value],
25806
25804
  columnWidths: { ...pa.value },
@@ -25941,7 +25939,7 @@ const IT = {
25941
25939
  class: te(["relative h-[var(--ui-grid-header-height)] select-none overflow-hidden border-b border-r border-[var(--ui-border-subtle)] px-2 font-normal text-ellipsis whitespace-nowrap outline-none focus-visible:shadow-[inset_0_0_0_1px_var(--ui-primary),inset_0_0_0_3px_var(--ui-focus-ring)]", [
25942
25940
  i(ql)(X),
25943
25941
  X.sortable && "cursor-pointer hover:bg-[var(--ui-surface-hover)]",
25944
- qa.value === X.key && "opacity-40",
25942
+ Pa.value === X.key && "opacity-40",
25945
25943
  lr.value === X.key && "shadow-[inset_2px_0_0_0_var(--ui-primary)]"
25946
25944
  ]]),
25947
25945
  onClick: (ye) => D(X),
@@ -26097,7 +26095,7 @@ const IT = {
26097
26095
  ], 8, YT)) : (f(), g("tr", {
26098
26096
  key: 2,
26099
26097
  "data-row-key": c(X.row, X.index),
26100
- draggable: Pa.value || void 0,
26098
+ draggable: Aa.value || void 0,
26101
26099
  tabindex: Bl.value === null ? void 0 : Bl.value === c(X.row, X.index) ? 0 : -1,
26102
26100
  "aria-selected": o.selectable || o.singleSelect ? o.selectedKeys.includes(c(X.row, X.index)) : void 0,
26103
26101
  class: te([
@@ -26176,7 +26174,7 @@ const IT = {
26176
26174
  "data-column-type": ye.type ?? "text",
26177
26175
  class: te(["h-[calc(var(--ui-grid-row-height)+1px)] px-2 text-[var(--ui-text)]", [i(ql)(ye), i(Ac)(ye) && "tabular-nums", ye.type === "actions" ? "" : ye.wrap ? "py-1 [overflow-wrap:anywhere]" : "truncate"]])
26178
26176
  }, [
26179
- Aa.value?.pivotColumn === ye.key ? (f(), g("span", {
26177
+ Ta.value?.pivotColumn === ye.key ? (f(), g("span", {
26180
26178
  key: 0,
26181
26179
  "data-drag-handle": "",
26182
26180
  role: "button",
@@ -26594,7 +26592,7 @@ const bA = ["disabled", "aria-label", "aria-expanded", "onClick"], wA = {
26594
26592
  "aria-expanded": we,
26595
26593
  onClick: $e((Pe) => L(de.value), ["stop"])
26596
26594
  }, [
26597
- D(de.value) ? (f(), $(Ya, {
26595
+ D(de.value) ? (f(), $(Ga, {
26598
26596
  key: 0,
26599
26597
  size: 14
26600
26598
  })) : (f(), $(i(ut), {
@@ -26830,7 +26828,7 @@ const bA = ["disabled", "aria-label", "aria-expanded", "onClick"], wA = {
26830
26828
  },
26831
26829
  emits: ["update:modelValue", "rejected"],
26832
26830
  setup(e, { emit: a }) {
26833
- const t = e, n = a, o = P(), r = P(!1), l = Ga(() => t.locale), s = y(() => ({ ..._A[l.value], ...t.text })), u = y(() => t.directory ? s.value.chooseFolder : t.multiple ? s.value.chooseFiles : s.value.chooseFile), d = y(() => t.title ?? (t.multiple || t.directory ? s.value.title : s.value.titleOne)), c = y(() => t.description ?? (t.multiple || t.directory ? s.value.description : s.value.descriptionOne));
26831
+ const t = e, n = a, o = P(), r = P(!1), l = Ua(() => t.locale), s = y(() => ({ ..._A[l.value], ...t.text })), u = y(() => t.directory ? s.value.chooseFolder : t.multiple ? s.value.chooseFiles : s.value.chooseFile), d = y(() => t.title ?? (t.multiple || t.directory ? s.value.title : s.value.titleOne)), c = y(() => t.description ?? (t.multiple || t.directory ? s.value.description : s.value.descriptionOne));
26834
26832
  function p() {
26835
26833
  !t.disabled && v.value && o.value?.click();
26836
26834
  }
@@ -27971,7 +27969,7 @@ const oP = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, r
27971
27969
  },
27972
27970
  emits: ["update:modelValue", "selected", "edit-option"],
27973
27971
  setup(e, { emit: a }) {
27974
- const t = Ga(() => {
27972
+ const t = Ua(() => {
27975
27973
  }), n = Ue(), o = e, r = a, l = /* @__PURE__ */ new Set();
27976
27974
  function s(me, be) {
27977
27975
  l.has(me) || (l.add(me), console.warn(`[ScheduleTable] ${be}`));
@@ -28163,7 +28161,7 @@ const oP = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, r
28163
28161
  onClick: (fe) => ue(Te)
28164
28162
  }, [
28165
28163
  V("span", {
28166
- class: te(["size-3.5 shrink-0 rounded-[2px] border border-[var(--ui-border)]", L(String(Te.index))]),
28164
+ class: te(["size-3.5 shrink-0 rounded-[var(--ui-radius-sm)] border border-[var(--ui-border)]", L(String(Te.index))]),
28167
28165
  style: ke(R(String(Te.index))),
28168
28166
  "aria-hidden": "true"
28169
28167
  }, null, 6),
@@ -28287,7 +28285,7 @@ const oP = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, r
28287
28285
  }, kP = ["inert", "aria-hidden"], CP = {
28288
28286
  key: 0,
28289
28287
  class: "z-[1] flex [grid-area:1/1] items-center justify-center overflow-auto p-4",
28290
- style: { background: "color-mix(in srgb, var(--ui-bg) 72%, transparent)" }
28288
+ style: { background: "color-mix(in srgb, var(--ui-surface) 72%, transparent)" }
28291
28289
  }, SP = ["aria-label"], II = /* @__PURE__ */ q({
28292
28290
  __name: "InfoMask",
28293
28291
  props: {
@@ -28475,7 +28473,7 @@ const oP = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, r
28475
28473
  onKeydown: Ee
28476
28474
  }), [
28477
28475
  S(Q.$slots, "custom", {}, () => [
28478
- (f(), $(ze(e.icon === "info" ? i(za) : i(Kf)), {
28476
+ (f(), $(ze(e.icon === "info" ? i(Fa) : i(Kf)), {
28479
28477
  class: te(e.size === "small" ? "size-3.5" : "size-4"),
28480
28478
  "aria-hidden": "true"
28481
28479
  }, null, 8, ["class"]))
@@ -28546,7 +28544,7 @@ const oP = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, r
28546
28544
  },
28547
28545
  emits: ["close", "confirm", "cancel"],
28548
28546
  setup(e, { emit: a }) {
28549
- const t = Ue(), o = Xe(e, { closeLabel: "Close" }), r = a, l = Ot(), s = Je(o.id, "notify"), u = y(() => `${s}-title`), d = y(() => `${s}-content`), c = y(() => `${s}-footer`), p = y(() => ({ info: za, suggest: Wf, error: wi })[o.tone]), v = y(() => typeof o.icon == "string" ? o.icon : o.tone), m = y(() => o.icon !== !1), h = y(() => typeof o.title == "string" ? o.title : ""), b = y(() => typeof o.content == "string" ? o.content : "");
28547
+ const t = Ue(), o = Xe(e, { closeLabel: "Close" }), r = a, l = Ot(), s = Je(o.id, "notify"), u = y(() => `${s}-title`), d = y(() => `${s}-content`), c = y(() => `${s}-footer`), p = y(() => ({ info: Fa, suggest: Wf, error: wi })[o.tone]), v = y(() => typeof o.icon == "string" ? o.icon : o.tone), m = y(() => o.icon !== !1), h = y(() => typeof o.title == "string" ? o.title : ""), b = y(() => typeof o.content == "string" ? o.content : "");
28550
28548
  function x(z, T) {
28551
28549
  return z === !1 ? null : z === !0 || z === void 0 ? { text: T, variant: T === t("Cancel") ? "secondary" : "primary" } : typeof z == "string" ? { text: z } : z;
28552
28550
  }
@@ -28622,32 +28620,35 @@ const oP = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, r
28622
28620
  id: c.value,
28623
28621
  class: "mt-3 flex flex-wrap items-center justify-end gap-2"
28624
28622
  }, [
28625
- S(z.$slots, "actions", {}, () => [
28626
- w.value ? (f(), $(it, {
28627
- key: 0,
28628
- size: "sm",
28629
- variant: w.value.variant ?? "secondary",
28630
- disabled: w.value.disabled,
28631
- onClick: T[0] || (T[0] = (W) => r("cancel"))
28632
- }, {
28633
- default: _(() => [
28634
- he(U(w.value.text), 1)
28635
- ]),
28636
- _: 1
28637
- }, 8, ["variant", "disabled"])) : M("", !0),
28638
- C.value ? (f(), $(it, {
28639
- key: 1,
28640
- size: "sm",
28641
- variant: C.value.variant ?? "primary",
28642
- disabled: C.value.disabled,
28643
- onClick: T[1] || (T[1] = (W) => r("confirm"))
28644
- }, {
28645
- default: _(() => [
28646
- he(U(C.value.text), 1)
28647
- ]),
28648
- _: 1
28649
- }, 8, ["variant", "disabled"])) : M("", !0)
28650
- ])
28623
+ I(on, { kind: "action" }, {
28624
+ default: _(() => [
28625
+ S(z.$slots, "actions", {}, () => [
28626
+ w.value ? (f(), $(it, {
28627
+ key: 0,
28628
+ variant: w.value.variant ?? "secondary",
28629
+ disabled: w.value.disabled,
28630
+ onClick: T[0] || (T[0] = (W) => r("cancel"))
28631
+ }, {
28632
+ default: _(() => [
28633
+ he(U(w.value.text), 1)
28634
+ ]),
28635
+ _: 1
28636
+ }, 8, ["variant", "disabled"])) : M("", !0),
28637
+ C.value ? (f(), $(it, {
28638
+ key: 1,
28639
+ variant: C.value.variant ?? "primary",
28640
+ disabled: C.value.disabled,
28641
+ onClick: T[1] || (T[1] = (W) => r("confirm"))
28642
+ }, {
28643
+ default: _(() => [
28644
+ he(U(C.value.text), 1)
28645
+ ]),
28646
+ _: 1
28647
+ }, 8, ["variant", "disabled"])) : M("", !0)
28648
+ ])
28649
+ ]),
28650
+ _: 3
28651
+ })
28651
28652
  ], 8, BP)) : M("", !0),
28652
28653
  l.footer ? (f(), g("div", OP, [
28653
28654
  S(z.$slots, "footer")
@@ -29019,12 +29020,7 @@ const MI = MP, VP = ["aria-label"], LP = ["data-notification-id", "inert", "aria
29019
29020
  key: 1,
29020
29021
  class: te(i(Oe)("flex flex-wrap items-center gap-2 border-t border-[var(--ui-border-subtle)] py-2.5", v.value ? "px-5" : "px-[var(--ui-card-padding,20px)]", o[e.footerAlign]))
29021
29022
  }, [
29022
- I(Ta, { kind: "action" }, {
29023
- default: _(() => [
29024
- S(x.$slots, "footer")
29025
- ]),
29026
- _: 3
29027
- })
29023
+ S(x.$slots, "footer")
29028
29024
  ], 2)) : M("", !0)
29029
29025
  ]),
29030
29026
  _: 3
@@ -29169,7 +29165,7 @@ const zI = /* @__PURE__ */ q({
29169
29165
  ])
29170
29166
  ], 2)),
29171
29167
  d.$slots.fbar ? (f(), g("footer", ZP, [
29172
- I(Ta, { kind: "action" }, {
29168
+ I(on, { kind: "action" }, {
29173
29169
  default: _(() => [
29174
29170
  S(d.$slots, "fbar")
29175
29171
  ]),
@@ -29716,7 +29712,7 @@ const Cq = ["aria-rowcount", "aria-colcount"], Sq = { role: "row" }, $q = ["aria
29716
29712
  }, {
29717
29713
  default: _(() => [
29718
29714
  V("span", Aq, [
29719
- I(i(za), {
29715
+ I(i(Fa), {
29720
29716
  class: "size-3.5",
29721
29717
  "aria-hidden": "true"
29722
29718
  })
@@ -29731,7 +29727,7 @@ const Cq = ["aria-rowcount", "aria-colcount"], Sq = { role: "row" }, $q = ["aria
29731
29727
  title: G.tip,
29732
29728
  "data-header-tip": ""
29733
29729
  }, [
29734
- I(i(za), {
29730
+ I(i(Fa), {
29735
29731
  class: "size-3.5",
29736
29732
  "aria-hidden": "true"
29737
29733
  })
@@ -30021,7 +30017,7 @@ const Cq = ["aria-rowcount", "aria-colcount"], Sq = { role: "row" }, $q = ["aria
30021
30017
  u.value ? (f(), g("p", Fq, U(u.value), 1)) : M("", !0),
30022
30018
  b.value ? (f(), g("div", zq, [
30023
30019
  n.kind === "wait" ? (f(), g("div", Nq, [
30024
- I(Ya, {
30020
+ I(Ga, {
30025
30021
  size: 18,
30026
30022
  label: i(t)("Working")
30027
30023
  }, null, 8, ["label"]),
@@ -30283,7 +30279,7 @@ const eD = ["aria-label"], tD = {
30283
30279
  ]),
30284
30280
  k.value ? (f(), g("footer", iD, [
30285
30281
  A.value ? (f(), g("span", lD, U(A.value), 1)) : M("", !0),
30286
- I(Ta, { kind: "action" }, {
30282
+ I(on, { kind: "action" }, {
30287
30283
  default: _(() => [
30288
30284
  V("div", sD, [
30289
30285
  S(z.$slots, "footer", {
@@ -30478,7 +30474,7 @@ const eD = ["aria-label"], tD = {
30478
30474
  rel: "noopener noreferrer",
30479
30475
  class: "text-[var(--ui-primary)] underline"
30480
30476
  }, U(h.value.privacy), 9, DD)) : M("", !0),
30481
- I(Ta, { kind: "action" }, {
30477
+ I(on, { kind: "action" }, {
30482
30478
  default: _(() => [
30483
30479
  I(it, {
30484
30480
  variant: "secondary",
@@ -30523,7 +30519,7 @@ const eD = ["aria-label"], tD = {
30523
30519
  i(r).fetchVersion && i(r).checkUpdates || b.$slots.default ? (f(), $(uk, { key: 0 })) : M("", !0),
30524
30520
  i(r).fetchVersion && i(r).checkUpdates ? (f(), g("div", wD, [
30525
30521
  d.value === "checking" ? (f(), g("div", xD, [
30526
- I(Ya, {
30522
+ I(Ga, {
30527
30523
  size: 16,
30528
30524
  label: h.value.checking
30529
30525
  }, null, 8, ["label"]),
@@ -31968,26 +31964,26 @@ ${e.detail}` : e.name,
31968
31964
  ], 64));
31969
31965
  }
31970
31966
  }), Mc = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), vl = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
31971
- function ja(e) {
31967
+ function Ha(e) {
31972
31968
  if (typeof e != "object" || e === null || Array.isArray(e)) return !1;
31973
31969
  const a = Object.getPrototypeOf(e);
31974
31970
  return a === Object.prototype || a === null;
31975
31971
  }
31976
- function Ua(e, a) {
31972
+ function ja(e, a) {
31977
31973
  return e[a];
31978
31974
  }
31979
31975
  function Cn(e, a, t) {
31980
31976
  e[a] = t;
31981
31977
  }
31982
31978
  function Vc(e) {
31983
- return Reflect.ownKeys(e).filter((a) => Ua(e, a) !== void 0);
31979
+ return Reflect.ownKeys(e).filter((a) => ja(e, a) !== void 0);
31984
31980
  }
31985
31981
  function Lc(e, a) {
31986
31982
  const t = { ...e };
31987
31983
  if (!a) return t;
31988
31984
  for (const n of Vc(a)) {
31989
- const o = Ua(a, n), r = Ua(t, n);
31990
- ja(r) && ja(o) ? Cn(t, n, Lc(r, o)) : Cn(t, n, r === !1 ? !1 : o);
31985
+ const o = ja(a, n), r = ja(t, n);
31986
+ Ha(r) && Ha(o) ? Cn(t, n, Lc(r, o)) : Cn(t, n, r === !1 ? !1 : o);
31991
31987
  }
31992
31988
  return t;
31993
31989
  }
@@ -32002,15 +31998,15 @@ function dO(e, a) {
32002
31998
  function vi(e, a) {
32003
31999
  const t = { ...e };
32004
32000
  for (const n of Vc(a)) {
32005
- const o = Ua(a, n), r = Ua(t, n);
32006
- ja(r) && ja(o) ? Cn(t, n, vi(r, o)) : Cn(t, n, o);
32001
+ const o = ja(a, n), r = ja(t, n);
32002
+ Ha(r) && Ha(o) ? Cn(t, n, vi(r, o)) : Cn(t, n, o);
32007
32003
  }
32008
32004
  return t;
32009
32005
  }
32010
32006
  function cO(e) {
32011
32007
  const a = {};
32012
32008
  for (const t of Reflect.ownKeys(e)) {
32013
- const n = Ua(e, t);
32009
+ const n = ja(e, t);
32014
32010
  n !== void 0 && Cn(a, t, n);
32015
32011
  }
32016
32012
  return a;
@@ -32041,7 +32037,7 @@ const mR = /* @__PURE__ */ q({
32041
32037
  locale: {}
32042
32038
  },
32043
32039
  setup(e) {
32044
- const a = e, t = Ga(() => a.locale);
32040
+ const a = e, t = Ua(() => a.locale);
32045
32041
  Qe(cu, t);
32046
32042
  const n = fO(), o = y(() => dO(n.value, a.config));
32047
32043
  return pO(o), (r, l) => S(r.$slots, "default");
@@ -32289,7 +32285,7 @@ const SO = ["data-direction", "data-status"], $O = ["id", "for"], EO = {
32289
32285
  if (Object.is(Ce, Fe)) return !0;
32290
32286
  if (Array.isArray(Ce) && Array.isArray(Fe))
32291
32287
  return Ce.length === Fe.length && Ce.every((tt, ot) => Object.is(tt, Fe[ot]));
32292
- if (ja(Ce) && ja(Fe)) {
32288
+ if (Ha(Ce) && Ha(Fe)) {
32293
32289
  const tt = Object.keys(Ce);
32294
32290
  return tt.length === Object.keys(Fe).length && tt.every((ot) => Object.is(Ce[ot], Fe[ot]));
32295
32291
  }
@@ -32524,12 +32520,12 @@ const SO = ["data-direction", "data-status"], $O = ["id", "for"], EO = {
32524
32520
  ], 2)
32525
32521
  ], 46, SO));
32526
32522
  }
32527
- }), Fa = ["xxs", "xs", "sm", "md", "lg", "xl"], hi = { xxs: 0, xs: 480, sm: 768, md: 1024, lg: 1280, xl: 1600 }, DO = /* @__PURE__ */ Symbol("syno-grid-breakpoints");
32523
+ }), La = ["xxs", "xs", "sm", "md", "lg", "xl"], hi = { xxs: 0, xs: 480, sm: 768, md: 1024, lg: 1280, xl: 1600 }, DO = /* @__PURE__ */ Symbol("syno-grid-breakpoints");
32528
32524
  function BO(e) {
32529
- return typeof e == "object" && e !== null && !Array.isArray(e) && Fa.some((a) => a in e);
32525
+ return typeof e == "object" && e !== null && !Array.isArray(e) && La.some((a) => a in e);
32530
32526
  }
32531
32527
  function Hs(e, a = hi) {
32532
- return Fa.reduce(
32528
+ return La.reduce(
32533
32529
  (t, n) => e >= (a[n] ?? hi[n]) ? n : t,
32534
32530
  "xxs"
32535
32531
  );
@@ -32538,14 +32534,14 @@ function $t(e, a) {
32538
32534
  if (e === void 0) return;
32539
32535
  if (!BO(e))
32540
32536
  return typeof e == "object" && e !== null && !Array.isArray(e) && !Object.keys(e).length ? void 0 : e;
32541
- const t = Fa.indexOf(a);
32537
+ const t = La.indexOf(a);
32542
32538
  let n;
32543
- for (const o of Fa.slice(0, t + 1)) {
32539
+ for (const o of La.slice(0, t + 1)) {
32544
32540
  const r = e[o];
32545
32541
  r !== void 0 && (n = r);
32546
32542
  }
32547
32543
  if (n !== void 0) return n;
32548
- for (const o of Fa) {
32544
+ for (const o of La) {
32549
32545
  const r = e[o];
32550
32546
  if (r !== void 0) return r;
32551
32547
  }
@@ -32557,7 +32553,7 @@ function zc(e) {
32557
32553
  return qe(() => {
32558
32554
  if (t) {
32559
32555
  if (typeof window.matchMedia == "function")
32560
- for (const l of Fa) {
32556
+ for (const l of La) {
32561
32557
  if (a[l] <= 0) continue;
32562
32558
  const s = window.matchMedia(`(min-width: ${a[l]}px)`);
32563
32559
  s.addEventListener("change", r), o.push(s);
@@ -33017,7 +33013,7 @@ const KO = {
33017
33013
  ]),
33018
33014
  _: 1
33019
33015
  }),
33020
- I(i(Ha), null, {
33016
+ I(i(Wa), null, {
33021
33017
  default: _(() => [
33022
33018
  I(i(go), {
33023
33019
  align: n.moreMenu.align ?? "end",
@@ -33050,7 +33046,7 @@ const KO = {
33050
33046
  ]),
33051
33047
  _: 2
33052
33048
  }, 1032, ["disabled", "data-overflow-menu-item"]),
33053
- I(i(Ha), null, {
33049
+ I(i(Wa), null, {
33054
33050
  default: _(() => [
33055
33051
  I(i(Vd), {
33056
33052
  "side-offset": 4,
@@ -33321,7 +33317,7 @@ export {
33321
33317
  wk as Skeleton,
33322
33318
  s2 as Slider,
33323
33319
  xR as Space,
33324
- Ya as Spinner,
33320
+ Ga as Spinner,
33325
33321
  w2 as SplitButton,
33326
33322
  dR as SplitPane,
33327
33323
  wI as Statistic,