@synopackageland/ui 0.19.6 → 0.19.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.
@@ -6,7 +6,7 @@ function xl(e) {
6
6
  }
7
7
  const Me = {}, _o = [], gn = () => {
8
8
  }, cf = () => !1, na = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
9
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), oa = (e) => e.startsWith("onUpdate:"), pt = Object.assign, kl = (e, t) => {
9
+ (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), oa = (e) => e.startsWith("onUpdate:"), ht = Object.assign, kl = (e, t) => {
10
10
  const n = e.indexOf(t);
11
11
  n > -1 && e.splice(n, 1);
12
12
  }, vv = Object.prototype.hasOwnProperty, Ve = (e, t) => vv.call(e, t), we = Array.isArray, Qn = (e) => Zr(e) === "[object Map]", Ti = (e) => Zr(e) === "[object Set]", Du = (e) => Zr(e) === "[object Date]", ke = (e) => typeof e == "function", Ge = (e) => typeof e == "string", Ut = (e) => typeof e == "symbol", je = (e) => e !== null && typeof e == "object", df = (e) => (je(e) || ke(e)) && ke(e.then) && ke(e.catch), ff = Object.prototype.toString, Zr = (e) => ff.call(e), gv = (e) => Zr(e).slice(8, -1), pf = (e) => Zr(e) === "[object Object]", ra = (e) => Ge(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Cr = /* @__PURE__ */ xl(
@@ -74,7 +74,7 @@ function ee(e) {
74
74
  e[n] && (t += n + " ");
75
75
  return t.trim();
76
76
  }
77
- function ut(e) {
77
+ function ct(e) {
78
78
  if (!e) return null;
79
79
  let { class: t, style: n } = e;
80
80
  return t && !Ge(t) && (e.class = ee(t)), n && (e.style = Le(n)), e;
@@ -148,11 +148,11 @@ const vf = (e) => !!(e && e.__v_isRef === !0), Q = (e) => Ge(e) ? e : e == null
148
148
  Ut(e) ? `Symbol(${(n = e.description) != null ? n : t})` : e
149
149
  );
150
150
  };
151
- let ct;
151
+ let dt;
152
152
  class yf {
153
153
  // TODO isolatedDeclarations "__v_skip"
154
154
  constructor(t = !1) {
155
- this.detached = t, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this._warnOnRun = !0, this.__v_skip = !0, !t && ct && (ct.active ? (this.parent = ct, this.index = (ct.scopes || (ct.scopes = [])).push(
155
+ this.detached = t, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this._warnOnRun = !0, this.__v_skip = !0, !t && dt && (dt.active ? (this.parent = dt, this.index = (dt.scopes || (dt.scopes = [])).push(
156
156
  this
157
157
  ) - 1) : (this._active = !1, this._warnOnRun = !1));
158
158
  }
@@ -191,11 +191,11 @@ class yf {
191
191
  }
192
192
  run(t) {
193
193
  if (this._active) {
194
- const n = ct;
194
+ const n = dt;
195
195
  try {
196
- return ct = this, t();
196
+ return dt = this, t();
197
197
  } finally {
198
- ct = n;
198
+ dt = n;
199
199
  }
200
200
  }
201
201
  }
@@ -204,7 +204,7 @@ class yf {
204
204
  * @internal
205
205
  */
206
206
  on() {
207
- ++this._on === 1 && (this.prevScope = ct, ct = this);
207
+ ++this._on === 1 && (this.prevScope = dt, dt = this);
208
208
  }
209
209
  /**
210
210
  * This should only be called on non-detached scopes
@@ -212,10 +212,10 @@ class yf {
212
212
  */
213
213
  off() {
214
214
  if (this._on > 0 && --this._on === 0) {
215
- if (ct === this)
216
- ct = this.prevScope;
215
+ if (dt === this)
216
+ dt = this.prevScope;
217
217
  else {
218
- let t = ct;
218
+ let t = dt;
219
219
  for (; t; ) {
220
220
  if (t.prevScope === this) {
221
221
  t.prevScope = this.prevScope;
@@ -253,16 +253,16 @@ function bf(e) {
253
253
  return new yf(e);
254
254
  }
255
255
  function Pl() {
256
- return ct;
256
+ return dt;
257
257
  }
258
258
  function ua(e, t = !1) {
259
- ct && ct.cleanups.push(e);
259
+ dt && dt.cleanups.push(e);
260
260
  }
261
261
  let Ke;
262
262
  const Za = /* @__PURE__ */ new WeakSet();
263
263
  class wf {
264
264
  constructor(t) {
265
- this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, ct && (ct.active ? ct.effects.push(this) : this.flags &= -2);
265
+ this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, dt && (dt.active ? dt.effects.push(this) : this.flags &= -2);
266
266
  }
267
267
  pause() {
268
268
  this.flags |= 64;
@@ -785,7 +785,7 @@ function qv(e, t, n) {
785
785
  i,
786
786
  "iterate",
787
787
  l ? Ps : xo
788
- ), pt(
788
+ ), ht(
789
789
  // inheriting all iterator properties
790
790
  Object.create(c),
791
791
  {
@@ -831,7 +831,7 @@ function Lv(e, t) {
831
831
  return !e && At(l, "iterate", xo), s.forEach((u, d) => r.call(i, c(u), c(d), a));
832
832
  }
833
833
  };
834
- return pt(
834
+ return ht(
835
835
  n,
836
836
  e ? {
837
837
  add: ni("add"),
@@ -1459,7 +1459,7 @@ function de(e, t, n) {
1459
1459
  return Gr(e, t, n);
1460
1460
  }
1461
1461
  function Gr(e, t, n = Me) {
1462
- const { immediate: o, deep: r, flush: i, once: a } = n, s = pt({}, n), l = t && o || !t && i !== "post";
1462
+ const { immediate: o, deep: r, flush: i, once: a } = n, s = ht({}, n), l = t && o || !t && i !== "post";
1463
1463
  let c;
1464
1464
  if (Lr) {
1465
1465
  if (i === "sync") {
@@ -1747,7 +1747,7 @@ function z(e, t) {
1747
1747
  return ke(e) ? (
1748
1748
  // #8236: extend call and options.name access are considered side-effects
1749
1749
  // by Rollup, so we have to wrap it in a pure-annotated IIFE.
1750
- pt({ name: e.name }, t, { setup: e })
1750
+ ht({ name: e.name }, t, { setup: e })
1751
1751
  ) : e;
1752
1752
  }
1753
1753
  function zn() {
@@ -1898,7 +1898,7 @@ function tp(e, t) {
1898
1898
  return op(ep, e, !0, t) || e;
1899
1899
  }
1900
1900
  const np = /* @__PURE__ */ Symbol.for("v-ndc");
1901
- function ht(e) {
1901
+ function ut(e) {
1902
1902
  return Ge(e) ? op(ep, e, !1) || e : e || np;
1903
1903
  }
1904
1904
  function op(e, t, n = !0, o = !1) {
@@ -1963,7 +1963,7 @@ function tt(e, t, n, o) {
1963
1963
  }
1964
1964
  function R(e, t, n, o, r, i) {
1965
1965
  if (n == null && (n = {}), wt.ce || wt.parent && Wo(wt.parent) && wt.parent.ce) {
1966
- const c = i != null && n.key == null ? pt({}, n, { key: i }) : n, u = Object.keys(c).length > 0;
1966
+ const c = i != null && n.key == null ? ht({}, n, { key: i }) : n, u = Object.keys(c).length > 0;
1967
1967
  return t !== "default" && (c.name = t), y(), D(
1968
1968
  xe,
1969
1969
  null,
@@ -2009,7 +2009,7 @@ function _g(e, t) {
2009
2009
  const Ts = (e) => e ? Pp(e) ? wa(e) : Ts(e.parent) : null, Or = (
2010
2010
  // Move PURE marker to new line to workaround compiler discarding it
2011
2011
  // due to type annotation
2012
- /* @__PURE__ */ pt(/* @__PURE__ */ Object.create(null), {
2012
+ /* @__PURE__ */ ht(/* @__PURE__ */ Object.create(null), {
2013
2013
  $: (e) => e,
2014
2014
  $el: (e) => e.vnode.el,
2015
2015
  $data: (e) => e.data,
@@ -2115,7 +2115,7 @@ function ap(e, t) {
2115
2115
  return n;
2116
2116
  }
2117
2117
  function Zu(e, t) {
2118
- return !e || !t ? e || t : we(e) && we(t) ? e.concat(t) : pt({}, zr(e), zr(t));
2118
+ return !e || !t ? e || t : we(e) && we(t) ? e.concat(t) : ht({}, zr(e), zr(t));
2119
2119
  }
2120
2120
  let Is = !0;
2121
2121
  function xg(e) {
@@ -2297,7 +2297,7 @@ const Cg = {
2297
2297
  };
2298
2298
  function Gu(e, t) {
2299
2299
  return t ? e ? function() {
2300
- return pt(
2300
+ return ht(
2301
2301
  ke(e) ? e.call(this, this) : e,
2302
2302
  ke(t) ? t.call(this, this) : t
2303
2303
  );
@@ -2319,10 +2319,10 @@ function $t(e, t) {
2319
2319
  return e ? [...new Set([].concat(e, t))] : t;
2320
2320
  }
2321
2321
  function _r(e, t) {
2322
- return e ? pt(/* @__PURE__ */ Object.create(null), e, t) : t;
2322
+ return e ? ht(/* @__PURE__ */ Object.create(null), e, t) : t;
2323
2323
  }
2324
2324
  function Ju(e, t) {
2325
- return e ? we(e) && we(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : pt(
2325
+ return e ? we(e) && we(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : ht(
2326
2326
  /* @__PURE__ */ Object.create(null),
2327
2327
  zr(e),
2328
2328
  zr(t ?? {})
@@ -2331,7 +2331,7 @@ function Ju(e, t) {
2331
2331
  function Ag(e, t) {
2332
2332
  if (!e) return t;
2333
2333
  if (!t) return e;
2334
- const n = pt(/* @__PURE__ */ Object.create(null), e);
2334
+ const n = ht(/* @__PURE__ */ Object.create(null), e);
2335
2335
  for (const o in t)
2336
2336
  n[o] = $t(e[o], t[o]);
2337
2337
  return n;
@@ -2360,7 +2360,7 @@ function up() {
2360
2360
  let Eg = 0;
2361
2361
  function $g(e, t) {
2362
2362
  return function(o, r = null) {
2363
- ke(o) || (o = pt({}, o)), r != null && !je(r) && (r = null);
2363
+ ke(o) || (o = ht({}, o)), r != null && !je(r) && (r = null);
2364
2364
  const i = up(), a = /* @__PURE__ */ new WeakSet(), s = [];
2365
2365
  let l = !1;
2366
2366
  const c = i.app = {
@@ -2495,11 +2495,11 @@ function dp(e, t, n = !1) {
2495
2495
  if (!ke(e)) {
2496
2496
  const l = (c) => {
2497
2497
  const u = dp(c, t, !0);
2498
- u && (s = !0, pt(a, u));
2498
+ u && (s = !0, ht(a, u));
2499
2499
  };
2500
2500
  !n && t.mixins.length && t.mixins.forEach(l), e.extends && l(e.extends), e.mixins && e.mixins.forEach(l);
2501
2501
  }
2502
- return !i && !s ? (je(e) && o.set(e, null), null) : (we(i) ? i.forEach((l) => a[l] = null) : pt(a, i), je(e) && o.set(e, a), a);
2502
+ return !i && !s ? (je(e) && o.set(e, null), null) : (we(i) ? i.forEach((l) => a[l] = null) : ht(a, i), je(e) && o.set(e, a), a);
2503
2503
  }
2504
2504
  function ba(e, t) {
2505
2505
  return !e || !na(t) ? !1 : (t = t.slice(2), t = t === "Once" ? t : t.replace(/Once$/, ""), Ve(e, t[0].toLowerCase() + t.slice(1)) || Ve(e, Bn(t)) || Ve(e, t));
@@ -2761,7 +2761,7 @@ function gp(e, t, n = !1) {
2761
2761
  const u = (d) => {
2762
2762
  l = !0;
2763
2763
  const [p, h] = gp(d, t, !0);
2764
- pt(a, p), h && s.push(...h);
2764
+ ht(a, p), h && s.push(...h);
2765
2765
  };
2766
2766
  !n && t.mixins.length && t.mixins.forEach(u), e.extends && u(e.extends), e.mixins && e.mixins.forEach(u);
2767
2767
  }
@@ -2776,7 +2776,7 @@ function gp(e, t, n = !1) {
2776
2776
  for (const u in i) {
2777
2777
  const d = yt(u);
2778
2778
  if (Qu(d)) {
2779
- const p = i[u], h = a[d] = we(p) || ke(p) ? { type: p } : pt({}, p), m = h.type;
2779
+ const p = i[u], h = a[d] = we(p) || ke(p) ? { type: p } : ht({}, p), m = h.type;
2780
2780
  let v = !1, g = !0;
2781
2781
  if (we(m))
2782
2782
  for (let b = 0; b < m.length; ++b) {
@@ -3829,7 +3829,7 @@ function Hg(e, t = null, n = null, o = 0, r = null, i = !1) {
3829
3829
  if (ny(e) && (e = e.__vccOpts), t) {
3830
3830
  t = mt(t);
3831
3831
  let { class: s, style: l } = t;
3832
- s && !Ge(s) && (t.class = ee(s)), je(l) && (/* @__PURE__ */ ha(l) && !we(l) && (l = pt({}, l)), t.style = Le(l));
3832
+ s && !Ge(s) && (t.class = ee(s)), je(l) && (/* @__PURE__ */ ha(l) && !we(l) && (l = ht({}, l)), t.style = Le(l));
3833
3833
  }
3834
3834
  const a = Ge(e) ? 1 : xp(e) ? 128 : va(e) ? 64 : je(e) ? 4 : ke(e) ? 2 : 0;
3835
3835
  return ne(
@@ -3844,7 +3844,7 @@ function Hg(e, t = null, n = null, o = 0, r = null, i = !1) {
3844
3844
  );
3845
3845
  }
3846
3846
  function mt(e) {
3847
- return e ? /* @__PURE__ */ ha(e) || mp(e) ? pt({}, e) : e : null;
3847
+ return e ? /* @__PURE__ */ ha(e) || mp(e) ? ht({}, e) : e : null;
3848
3848
  }
3849
3849
  function Co(e, t, n = !1, o = !1) {
3850
3850
  const { props: r, ref: i, patchFlag: a, children: s, transition: l } = e, c = t ? le(r || {}, t) : r, u = {
@@ -4527,7 +4527,7 @@ const Ey = {
4527
4527
  middle: (e) => "button" in e && e.button !== 1,
4528
4528
  right: (e) => "button" in e && e.button !== 2,
4529
4529
  exact: (e, t) => $y.some((n) => e[`${n}Key`] && !t.includes(n))
4530
- }, ft = (e, t) => {
4530
+ }, pt = (e, t) => {
4531
4531
  if (!e) return e;
4532
4532
  const n = e._withMods || (e._withMods = {}), o = t.join(".");
4533
4533
  return n[o] || (n[o] = ((r, ...i) => {
@@ -4556,7 +4556,7 @@ const Ey = {
4556
4556
  ))
4557
4557
  return e(r);
4558
4558
  }));
4559
- }, Iy = /* @__PURE__ */ pt({ patchProp: ky }, ly);
4559
+ }, Iy = /* @__PURE__ */ ht({ patchProp: ky }, ly);
4560
4560
  let pc;
4561
4561
  function Ry() {
4562
4562
  return pc || (pc = jg(Iy));
@@ -8691,7 +8691,7 @@ function nx(e, t) {
8691
8691
  const Kc = /* @__PURE__ */ V("ZodRecord", (e, t) => {
8692
8692
  Ca(), p_.init(e, t), He.init(e, t), e._zod.processJSONSchema = (n, o, r) => Q0(e, n, o, r), e.keyType = t.keyType, e.valueType = t.valueType;
8693
8693
  });
8694
- function dt(e, t, n) {
8694
+ function ft(e, t, n) {
8695
8695
  return !t || !t._zod ? new Kc({
8696
8696
  type: "record",
8697
8697
  keyType: U(),
@@ -9301,20 +9301,20 @@ var Jx = pe({
9301
9301
  variant: Ie(["default", "danger"]).optional()
9302
9302
  }), Yx = Lt([
9303
9303
  pe({ navigate: U() }),
9304
- pe({ set: dt(U(), gt()) }),
9304
+ pe({ set: ft(U(), gt()) }),
9305
9305
  pe({
9306
9306
  action: U(),
9307
- params: dt(U(), Pa).optional()
9307
+ params: ft(U(), Pa).optional()
9308
9308
  })
9309
9309
  ]), Xx = Lt([
9310
- pe({ set: dt(U(), gt()) }),
9310
+ pe({ set: ft(U(), gt()) }),
9311
9311
  pe({
9312
9312
  action: U(),
9313
- params: dt(U(), Pa).optional()
9313
+ params: ft(U(), Pa).optional()
9314
9314
  })
9315
9315
  ]), Qx = pe({
9316
9316
  action: U(),
9317
- params: dt(U(), Pa).optional(),
9317
+ params: ft(U(), Pa).optional(),
9318
9318
  confirm: Jx.optional(),
9319
9319
  onSuccess: Yx.optional(),
9320
9320
  onError: Xx.optional(),
@@ -9368,7 +9368,7 @@ async function id(e) {
9368
9368
  }
9369
9369
  var tk = pe({
9370
9370
  type: U(),
9371
- args: dt(U(), Pa).optional(),
9371
+ args: ft(U(), Pa).optional(),
9372
9372
  message: U()
9373
9373
  });
9374
9374
  pe({
@@ -9694,7 +9694,7 @@ function Ei(e, t) {
9694
9694
  }
9695
9695
  case "record": {
9696
9696
  const n = Ei(e.inner, t);
9697
- return dt(U(), n);
9697
+ return ft(U(), n);
9698
9698
  }
9699
9699
  case "ref": {
9700
9700
  const n = e.inner, o = vk(n, t);
@@ -9702,7 +9702,7 @@ function Ei(e, t) {
9702
9702
  }
9703
9703
  case "propsOf": {
9704
9704
  const n = e.inner, o = gk(n, t);
9705
- return o.length === 0 ? dt(U(), gt()) : o.length === 1 ? o[0] : dt(U(), gt());
9705
+ return o.length === 0 ? ft(U(), gt()) : o.length === 1 ? o[0] : ft(U(), gt());
9706
9706
  }
9707
9707
  default:
9708
9708
  return gt();
@@ -10267,32 +10267,32 @@ function wk(e, t) {
10267
10267
  }
10268
10268
  pe({
10269
10269
  root: U().min(1),
10270
- elements: dt(
10270
+ elements: ft(
10271
10271
  U(),
10272
10272
  pe({
10273
10273
  type: U(),
10274
- props: dt(U(), gt()),
10274
+ props: ft(U(), gt()),
10275
10275
  children: it(U()).optional(),
10276
- slots: dt(U(), it(U())).optional(),
10277
- on: dt(U(), gt()).optional(),
10276
+ slots: ft(U(), it(U())).optional(),
10277
+ on: ft(U(), gt()).optional(),
10278
10278
  visible: gt().optional()
10279
10279
  }).strict()
10280
10280
  ),
10281
- state: dt(U(), gt()).optional()
10281
+ state: ft(U(), gt()).optional()
10282
10282
  }).strict();
10283
10283
  Qx.extend({
10284
- params: dt(U(), gt()).optional(),
10284
+ params: ft(U(), gt()).optional(),
10285
10285
  onSuccess: gt().optional(),
10286
10286
  onError: gt().optional()
10287
10287
  }).strict();
10288
10288
  var _k = Qt().min(0).max(1);
10289
10289
  pe({
10290
- answers: dt(
10290
+ answers: ft(
10291
10291
  U(),
10292
10292
  pe({ type: Xr("choice"), choice: U() })
10293
10293
  ),
10294
10294
  providerMetadata: pe({
10295
- typesafe: pe({ confidence: dt(U(), _k) }).optional()
10295
+ typesafe: pe({ confidence: ft(U(), _k) }).optional()
10296
10296
  }).optional(),
10297
10297
  usage: pe({ inputTokens: Qt().int().nonnegative().optional() }).optional()
10298
10298
  });
@@ -16309,7 +16309,7 @@ var fP = /* @__PURE__ */ z({
16309
16309
  "as-child": r.asChild,
16310
16310
  "data-state": f(n).open.value ? "open" : "closed",
16311
16311
  style: { "pointer-events": "auto" },
16312
- onPointerdown: i[0] || (i[0] = ft(() => {
16312
+ onPointerdown: i[0] || (i[0] = pt(() => {
16313
16313
  }, [
16314
16314
  "left",
16315
16315
  "self",
@@ -16418,7 +16418,7 @@ var fP = /* @__PURE__ */ z({
16418
16418
  },
16419
16419
  setup(e) {
16420
16420
  const t = e;
16421
- return (n, o) => (y(), D(f(Ra), ut(mt(t)), {
16421
+ return (n, o) => (y(), D(f(Ra), ct(mt(t)), {
16422
16422
  default: T(() => [R(n.$slots, "default")]),
16423
16423
  _: 3
16424
16424
  }, 16));
@@ -18023,7 +18023,7 @@ const jA = ["dir"], $m = {
18023
18023
  positionStrategy: "fixed",
18024
18024
  updatePositionStrategy: "optimized",
18025
18025
  prioritizePosition: !1
18026
- }, [TM, UA] = /* @__PURE__ */ Je("PopperContent");
18026
+ }, [NM, UA] = /* @__PURE__ */ Je("PopperContent");
18027
18027
  var WA = /* @__PURE__ */ z({
18028
18028
  inheritAttrs: !1,
18029
18029
  __name: "PopperContent",
@@ -18549,7 +18549,7 @@ var eE = /* @__PURE__ */ z({
18549
18549
  return QA({
18550
18550
  disabled: l,
18551
18551
  state: u
18552
- }), (g, b) => (y(), E(xe, null, [(y(), D(ht(f(a)?.rovingFocus.value ? f(Tm) : f(Ae)), le({
18552
+ }), (g, b) => (y(), E(xe, null, [(y(), D(ut(f(a)?.rovingFocus.value ? f(Tm) : f(Ae)), le({
18553
18553
  ...g.$attrs,
18554
18554
  ...f(h)
18555
18555
  }, {
@@ -18566,7 +18566,7 @@ var eE = /* @__PURE__ */ z({
18566
18566
  "data-disabled": l.value ? "" : void 0,
18567
18567
  disabled: l.value,
18568
18568
  focusable: f(a)?.rovingFocus.value ? !l.value : void 0,
18569
- onKeydown: _a(ft(() => {
18569
+ onKeydown: _a(pt(() => {
18570
18570
  }, ["prevent"]), ["enter"]),
18571
18571
  onClick: d
18572
18572
  }), {
@@ -18661,7 +18661,7 @@ var eE = /* @__PURE__ */ z({
18661
18661
  },
18662
18662
  setup(e) {
18663
18663
  const t = e;
18664
- return (n, o) => (y(), D(f(pu), ut(mt(t)), {
18664
+ return (n, o) => (y(), D(f(pu), ct(mt(t)), {
18665
18665
  default: T(() => [R(n.$slots, "default")]),
18666
18666
  _: 3
18667
18667
  }, 16));
@@ -19318,7 +19318,7 @@ var mE = /* @__PURE__ */ z({
19318
19318
  "disable-outside-pointer-events": f(i).open.value,
19319
19319
  "disable-outside-scroll": !0,
19320
19320
  onDismiss: c[0] || (c[0] = (u) => f(i).onOpenChange(!1)),
19321
- onFocusOutside: c[1] || (c[1] = ft((u) => o("focusOutside", u), ["prevent"]))
19321
+ onFocusOutside: c[1] || (c[1] = pt((u) => o("focusOutside", u), ["prevent"]))
19322
19322
  }), {
19323
19323
  default: T(() => [R(l.$slots, "default")]),
19324
19324
  _: 3
@@ -19545,13 +19545,13 @@ var mE = /* @__PURE__ */ z({
19545
19545
  setup(e, { emit: t }) {
19546
19546
  const r = Un(e, t), i = No(), a = ei();
19547
19547
  return (s, l) => (y(), D(f(Wn), { present: s.forceMount || f(i).open.value }, {
19548
- default: T(() => [f(a).modal.value ? (y(), D(wE, ut(le({ key: 0 }, {
19548
+ default: T(() => [f(a).modal.value ? (y(), D(wE, ct(le({ key: 0 }, {
19549
19549
  ...s.$attrs,
19550
19550
  ...f(r)
19551
19551
  })), {
19552
19552
  default: T(() => [R(s.$slots, "default")]),
19553
19553
  _: 3
19554
- }, 16)) : (y(), D(SE, ut(le({ key: 1 }, {
19554
+ }, 16)) : (y(), D(SE, ct(le({ key: 1 }, {
19555
19555
  ...s.$attrs,
19556
19556
  ...f(r)
19557
19557
  })), {
@@ -19562,7 +19562,7 @@ var mE = /* @__PURE__ */ z({
19562
19562
  }, 8, ["present"]));
19563
19563
  }
19564
19564
  }), kE = xE;
19565
- const [IM, CE] = /* @__PURE__ */ Je("MenuGroup");
19565
+ const [DM, CE] = /* @__PURE__ */ Je("MenuGroup");
19566
19566
  var PE = /* @__PURE__ */ z({
19567
19567
  __name: "MenuGroup",
19568
19568
  props: {
@@ -19604,7 +19604,7 @@ var PE = /* @__PURE__ */ z({
19604
19604
  },
19605
19605
  setup(e) {
19606
19606
  const t = e;
19607
- return (n, o) => (y(), D(f(Ra), ut(mt(t)), {
19607
+ return (n, o) => (y(), D(f(Ra), ct(mt(t)), {
19608
19608
  default: T(() => [R(n.$slots, "default")]),
19609
19609
  _: 3
19610
19610
  }, 16));
@@ -19636,7 +19636,7 @@ var IE = /* @__PURE__ */ z({
19636
19636
  onValueChange: (s) => {
19637
19637
  a.value = s;
19638
19638
  }
19639
- }), (s, l) => (y(), D(AE, ut(mt(f(i))), {
19639
+ }), (s, l) => (y(), D(AE, ct(mt(f(i))), {
19640
19640
  default: T(() => [R(s.$slots, "default", { modelValue: f(a) })]),
19641
19641
  _: 3
19642
19642
  }, 16));
@@ -19849,10 +19849,10 @@ var qE = /* @__PURE__ */ z({
19849
19849
  "disable-outside-pointer-events": !1,
19850
19850
  "disable-outside-scroll": !1,
19851
19851
  "trap-focus": !1,
19852
- onOpenAutoFocus: p[0] || (p[0] = ft((h) => {
19852
+ onOpenAutoFocus: p[0] || (p[0] = pt((h) => {
19853
19853
  f(a).isUsingKeyboardRef.value && f(u)?.focus();
19854
19854
  }, ["prevent"])),
19855
- onCloseAutoFocus: p[1] || (p[1] = ft(() => {
19855
+ onCloseAutoFocus: p[1] || (p[1] = pt(() => {
19856
19856
  }, ["prevent"])),
19857
19857
  onFocusOutside: p[2] || (p[2] = (h) => {
19858
19858
  if (h.defaultPrevented) return;
@@ -20013,7 +20013,7 @@ var qE = /* @__PURE__ */ z({
20013
20013
  emits: ["select", "update:modelValue"],
20014
20014
  setup(e, { emit: t }) {
20015
20015
  const n = e, r = To(t);
20016
- return _e(), (i, a) => (y(), D(f(yE), ut(mt({
20016
+ return _e(), (i, a) => (y(), D(f(yE), ct(mt({
20017
20017
  ...n,
20018
20018
  ...f(r)
20019
20019
  })), {
@@ -20236,7 +20236,7 @@ var HE = /* @__PURE__ */ z({
20236
20236
  emits: ["select"],
20237
20237
  setup(e, { emit: t }) {
20238
20238
  const n = e, r = To(t);
20239
- return _e(), (i, a) => (y(), D(f(ku), ut(mt({
20239
+ return _e(), (i, a) => (y(), D(f(ku), ct(mt({
20240
20240
  ...n,
20241
20241
  ...f(r)
20242
20242
  })), {
@@ -20262,7 +20262,7 @@ var HE = /* @__PURE__ */ z({
20262
20262
  },
20263
20263
  setup(e) {
20264
20264
  const t = e;
20265
- return _e(), (n, o) => (y(), D(f(vE), ut(mt(t)), {
20265
+ return _e(), (n, o) => (y(), D(f(vE), ct(mt(t)), {
20266
20266
  default: T(() => [R(n.$slots, "default")]),
20267
20267
  _: 3
20268
20268
  }, 16));
@@ -20289,7 +20289,7 @@ var HE = /* @__PURE__ */ z({
20289
20289
  },
20290
20290
  setup(e) {
20291
20291
  const t = e;
20292
- return (n, o) => (y(), D(f($E), ut(mt(t)), {
20292
+ return (n, o) => (y(), D(f($E), ct(mt(t)), {
20293
20293
  default: T(() => [R(n.$slots, "default")]),
20294
20294
  _: 3
20295
20295
  }, 16));
@@ -20313,7 +20313,7 @@ var HE = /* @__PURE__ */ z({
20313
20313
  emits: ["update:modelValue"],
20314
20314
  setup(e, { emit: t }) {
20315
20315
  const n = e, r = To(t);
20316
- return _e(), (i, a) => (y(), D(f(RE), ut(mt({
20316
+ return _e(), (i, a) => (y(), D(f(RE), ct(mt({
20317
20317
  ...n,
20318
20318
  ...f(r)
20319
20319
  })), {
@@ -20348,7 +20348,7 @@ var HE = /* @__PURE__ */ z({
20348
20348
  emits: ["select"],
20349
20349
  setup(e, { emit: t }) {
20350
20350
  const r = Un(e, t);
20351
- return _e(), (i, a) => (y(), D(f(DE), ut(mt(f(r))), {
20351
+ return _e(), (i, a) => (y(), D(f(DE), ct(mt(f(r))), {
20352
20352
  default: T(() => [R(i.$slots, "default")]),
20353
20353
  _: 3
20354
20354
  }, 16));
@@ -20367,7 +20367,7 @@ var HE = /* @__PURE__ */ z({
20367
20367
  },
20368
20368
  setup(e) {
20369
20369
  const t = e;
20370
- return _e(), (n, o) => (y(), D(f(zE), ut(mt(t)), {
20370
+ return _e(), (n, o) => (y(), D(f(zE), ct(mt(t)), {
20371
20371
  default: T(() => [R(n.$slots, "default")]),
20372
20372
  _: 3
20373
20373
  }, 16));
@@ -20531,7 +20531,7 @@ var HE = /* @__PURE__ */ z({
20531
20531
  },
20532
20532
  setup(e) {
20533
20533
  const t = e;
20534
- return _e(), (n, o) => (y(), D(f(UE), ut(mt(t)), {
20534
+ return _e(), (n, o) => (y(), D(f(UE), ct(mt(t)), {
20535
20535
  default: T(() => [R(n.$slots, "default")]),
20536
20536
  _: 3
20537
20537
  }, 16));
@@ -20675,7 +20675,7 @@ var y$ = /* @__PURE__ */ z({
20675
20675
  }, {
20676
20676
  ...f(c),
20677
20677
  ...p.$attrs
20678
- }, { onClick: ft(d, ["stop"]) }), {
20678
+ }, { onClick: pt(d, ["stop"]) }), {
20679
20679
  default: T(() => [R(p.$slots, "default", { checked: f(r) })]),
20680
20680
  _: 3
20681
20681
  }, 16, [
@@ -20897,7 +20897,7 @@ var P$ = /* @__PURE__ */ z({
20897
20897
  disabled: s.value,
20898
20898
  "onUpdate:checked": v[0] || (v[0] = (g) => f(a).changeModelValue(m.value)),
20899
20899
  onSelect: v[1] || (v[1] = (g) => o("select", g)),
20900
- onKeydown: v[2] || (v[2] = _a(ft(() => {
20900
+ onKeydown: v[2] || (v[2] = _a(pt(() => {
20901
20901
  }, ["prevent"]), ["enter"])),
20902
20902
  onFocus: p
20903
20903
  }), {
@@ -21493,7 +21493,7 @@ var B$ = /* @__PURE__ */ z({
21493
21493
  }), (P, O) => (y(), D(f(a), null, {
21494
21494
  default: T(() => [j(f(uu), {
21495
21495
  "as-child": "",
21496
- onMountAutoFocus: O[6] || (O[6] = ft(() => {
21496
+ onMountAutoFocus: O[6] || (O[6] = pt(() => {
21497
21497
  }, ["prevent"])),
21498
21498
  onUnmountAutoFocus: O[7] || (O[7] = (N) => {
21499
21499
  o("closeAutoFocus", N), !N.defaultPrevented && (i ? i.restoreFocus(f(r).triggerElement.value) : f(r).triggerElement.value?.focus({ preventScroll: !0 }), N.preventDefault());
@@ -21502,13 +21502,13 @@ var B$ = /* @__PURE__ */ z({
21502
21502
  default: T(() => [j(f(Ia), {
21503
21503
  "as-child": "",
21504
21504
  "disable-outside-pointer-events": P.disableOutsidePointerEvents,
21505
- onFocusOutside: O[2] || (O[2] = ft(() => {
21505
+ onFocusOutside: O[2] || (O[2] = pt(() => {
21506
21506
  }, ["prevent"])),
21507
21507
  onDismiss: O[3] || (O[3] = (N) => f(r).onOpenChange(!1)),
21508
21508
  onEscapeKeyDown: O[4] || (O[4] = (N) => o("escapeKeyDown", N)),
21509
21509
  onPointerDownOutside: O[5] || (O[5] = (N) => o("pointerDownOutside", N))
21510
21510
  }, {
21511
- default: T(() => [(y(), D(ht(P.position === "popper" ? q$ : K$), le({
21511
+ default: T(() => [(y(), D(ut(P.position === "popper" ? q$ : K$), le({
21512
21512
  ...P.$attrs,
21513
21513
  ...f(k)
21514
21514
  }, {
@@ -21526,7 +21526,7 @@ var B$ = /* @__PURE__ */ z({
21526
21526
  flexDirection: "column",
21527
21527
  outline: "none"
21528
21528
  },
21529
- onContextmenu: O[0] || (O[0] = ft(() => {
21529
+ onContextmenu: O[0] || (O[0] = pt(() => {
21530
21530
  }, ["prevent"])),
21531
21531
  onPlaced: O[1] || (O[1] = (N) => m.value = !0),
21532
21532
  onKeydown: w
@@ -21771,7 +21771,7 @@ var J$ = /* @__PURE__ */ z({
21771
21771
  ref: s,
21772
21772
  present: l.value
21773
21773
  }, {
21774
- default: T(() => [j(V$, ut(mt({
21774
+ default: T(() => [j(V$, ct(mt({
21775
21775
  ...f(r),
21776
21776
  ...p.$attrs
21777
21777
  })), {
@@ -21907,7 +21907,7 @@ var iO = /* @__PURE__ */ z({
21907
21907
  onPointerdown: S[2] || (S[2] = (k) => {
21908
21908
  k.currentTarget.focus({ preventScroll: !0 });
21909
21909
  }),
21910
- onTouchend: S[3] || (S[3] = ft(() => {
21910
+ onTouchend: S[3] || (S[3] = pt(() => {
21911
21911
  }, ["prevent", "stop"])),
21912
21912
  onPointermove: b,
21913
21913
  onPointerleave: _,
@@ -22033,7 +22033,7 @@ var iO = /* @__PURE__ */ z({
22033
22033
  },
22034
22034
  setup(e) {
22035
22035
  const t = e;
22036
- return (n, o) => (y(), D(f(Ra), ut(mt(t)), {
22036
+ return (n, o) => (y(), D(f(Ra), ct(mt(t)), {
22037
22037
  default: T(() => [R(n.$slots, "default")]),
22038
22038
  _: 3
22039
22039
  }, 16));
@@ -22111,7 +22111,7 @@ var iO = /* @__PURE__ */ z({
22111
22111
  onClick: g,
22112
22112
  onPointerdown: m,
22113
22113
  onMousedown: v,
22114
- onPointerup: _[0] || (_[0] = ft((A) => {
22114
+ onPointerup: _[0] || (_[0] = pt((A) => {
22115
22115
  A.pointerType === "touch" && d(A);
22116
22116
  }, ["prevent"])),
22117
22117
  onKeydown: _[1] || (_[1] = (A) => {
@@ -22334,7 +22334,7 @@ var xO = /* @__PURE__ */ z({
22334
22334
  ...h.$attrs
22335
22335
  }, {
22336
22336
  onClick: s,
22337
- onKeydown: _a(ft(s, ["prevent"]), ["enter"])
22337
+ onKeydown: _a(pt(s, ["prevent"]), ["enter"])
22338
22338
  }), {
22339
22339
  default: T(() => [R(h.$slots, "default", {
22340
22340
  modelValue: f(i),
@@ -22645,7 +22645,7 @@ var OO = /* @__PURE__ */ z({
22645
22645
  onPointerDownOutside: p[1] || (p[1] = (h) => {
22646
22646
  f(i).disableClosingTrigger.value && f(i).trigger.value?.contains(h.target) && h.preventDefault(), r("pointerDownOutside", h);
22647
22647
  }),
22648
- onFocusOutside: p[2] || (p[2] = ft(() => {
22648
+ onFocusOutside: p[2] || (p[2] = pt(() => {
22649
22649
  }, ["prevent"])),
22650
22650
  onDismiss: p[3] || (p[3] = (h) => f(i).onClose())
22651
22651
  }, {
@@ -22827,7 +22827,7 @@ var OO = /* @__PURE__ */ z({
22827
22827
  setup(e, { emit: t }) {
22828
22828
  const n = e, o = t, r = Ua(), i = Un(n, o), { forwardRef: a } = _e();
22829
22829
  return (s, l) => (y(), D(f(Wn), { present: s.forceMount || f(r).open.value }, {
22830
- default: T(() => [(y(), D(ht(f(r).disableHoverableContent.value ? Um : RO), le({ ref: f(a) }, f(i)), {
22830
+ default: T(() => [(y(), D(ut(f(r).disableHoverableContent.value ? Um : RO), le({ ref: f(a) }, f(i)), {
22831
22831
  default: T(() => [R(s.$slots, "default")]),
22832
22832
  _: 3
22833
22833
  }, 16))]),
@@ -22856,7 +22856,7 @@ var OO = /* @__PURE__ */ z({
22856
22856
  },
22857
22857
  setup(e) {
22858
22858
  const t = e;
22859
- return (n, o) => (y(), D(f(Ra), ut(mt(t)), {
22859
+ return (n, o) => (y(), D(f(Ra), ct(mt(t)), {
22860
22860
  default: T(() => [R(n.$slots, "default")]),
22861
22861
  _: 3
22862
22862
  }, 16));
@@ -23113,7 +23113,7 @@ const zO = ["for"], FO = {
23113
23113
  }, 8, ["value", "disabled"]),
23114
23114
  ne("span", UO, [
23115
23115
  n.variant === "card" && u.icon ? (y(), E("span", WO, [
23116
- (y(), D(ht(u.icon), { class: "size-[18px]" }))
23116
+ (y(), D(ut(u.icon), { class: "size-[18px]" }))
23117
23117
  ])) : F("", !0),
23118
23118
  ne("span", {
23119
23119
  class: ee(["block leading-[var(--ui-line-height)]", n.variant === "card" ? "font-semibold" : ""])
@@ -23974,7 +23974,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23974
23974
  key: 0,
23975
23975
  class: "size-3.5",
23976
23976
  "aria-hidden": "true"
23977
- })) : u.item.icon ? (y(), D(ht(u.item.icon), {
23977
+ })) : u.item.icon ? (y(), D(ut(u.item.icon), {
23978
23978
  key: 1,
23979
23979
  class: "size-4",
23980
23980
  "aria-hidden": "true"
@@ -24031,7 +24031,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24031
24031
  u.item.danger ? "text-[var(--ui-danger)]" : "text-[var(--ui-text)]"
24032
24032
  ]),
24033
24033
  "onUpdate:modelValue": (d) => o("toggle", u.item.key, !!d),
24034
- onSelect: ft((d) => o("select", u.item.key), ["prevent"])
24034
+ onSelect: pt((d) => o("select", u.item.key), ["prevent"])
24035
24035
  }, {
24036
24036
  default: T(() => [
24037
24037
  ne("span", FT, [
@@ -24109,7 +24109,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24109
24109
  key: 0,
24110
24110
  class: "size-3.5",
24111
24111
  "aria-hidden": "true"
24112
- })) : u.item.icon ? (y(), D(ht(u.item.icon), {
24112
+ })) : u.item.icon ? (y(), D(ut(u.item.icon), {
24113
24113
  key: 1,
24114
24114
  class: "size-4",
24115
24115
  "aria-hidden": "true"
@@ -24978,7 +24978,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
24978
24978
  }, 8, ["open"])
24979
24979
  ], 8, VI));
24980
24980
  }
24981
- }), eR = ["aria-label", "aria-expanded", "data-disabled"], tR = /* @__PURE__ */ z({
24981
+ }), eR = ["aria-label", "aria-expanded", "data-disabled", "data-ui-infotip-wrap"], tR = /* @__PURE__ */ z({
24982
24982
  inheritAttrs: !1,
24983
24983
  __name: "InfoTip",
24984
24984
  props: {
@@ -24995,11 +24995,12 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
24995
24995
  side: { default: "top" },
24996
24996
  align: { default: "center" },
24997
24997
  icon: { default: "help" },
24998
+ wrap: { type: Boolean },
24998
24999
  tipContainer: {}
24999
25000
  },
25000
25001
  emits: ["activate", "deactivate"],
25001
25002
  setup(e, { expose: t, emit: n }) {
25002
- const r = jn(e, { ariaLabel: "More information" }), i = n, a = so(), s = We("trigger"), l = We("contentEl"), c = /* @__PURE__ */ M(!1), u = /* @__PURE__ */ M(!1), d = /* @__PURE__ */ M(!1);
25003
+ const o = e, r = jn(o, { ariaLabel: "More information" }), i = n, a = so(), s = We("trigger"), l = We("contentEl"), c = /* @__PURE__ */ M(!1), u = /* @__PURE__ */ M(!1), d = /* @__PURE__ */ M(!1);
25003
25004
  function p() {
25004
25005
  typeof window > "u" || typeof window.matchMedia != "function" || (d.value = window.matchMedia("(hover: none)").matches);
25005
25006
  }
@@ -25122,10 +25123,12 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25122
25123
  }, me.$attrs, {
25123
25124
  type: "button",
25124
25125
  role: "button",
25125
- "aria-label": f(r).ariaLabel,
25126
+ "aria-label": e.wrap ? o.ariaLabel : f(r).ariaLabel,
25126
25127
  "aria-expanded": c.value,
25127
25128
  "data-disabled": e.disabled || void 0,
25128
- class: ["relative inline-flex shrink-0 items-center justify-center rounded-full align-middle outline-none before:absolute before:content-[''] transition-colors duration-[var(--ui-motion-fast)] focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)] data-[disabled]:opacity-40", [
25129
+ "data-ui-infotip-wrap": e.wrap || void 0,
25130
+ class: ["relative inline-flex items-center outline-none transition-colors duration-[var(--ui-motion-fast)] focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)] data-[disabled]:opacity-40", e.wrap ? "min-w-0 max-w-full gap-[inherit] rounded-[var(--ui-radius-sm)] text-start text-inherit" : [
25131
+ "shrink-0 justify-center rounded-full align-middle before:absolute before:content-['']",
25129
25132
  e.type === "white" ? "text-[var(--ui-primary-foreground)]" : "text-[var(--ui-primary)]",
25130
25133
  e.size === "small" ? "size-3.5 before:-inset-2.5" : "size-4 before:-inset-2"
25131
25134
  ]],
@@ -25138,7 +25141,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25138
25141
  onKeydown: Ct
25139
25142
  }), [
25140
25143
  R(me.$slots, "custom", {}, () => [
25141
- (y(), D(ht(e.icon === "info" ? f(tm) : f(xC)), {
25144
+ (y(), D(ut(e.icon === "info" ? f(tm) : f(xC)), {
25142
25145
  class: ee(e.size === "small" ? "size-3.5" : "size-4"),
25143
25146
  "aria-hidden": "true"
25144
25147
  }, null, 8, ["class"]))
@@ -25193,23 +25196,30 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25193
25196
  }, rR = {
25194
25197
  key: 1,
25195
25198
  "data-ui-callout-body": ""
25196
- }, iR = ["data-tone", "data-variant", "data-fill", "data-dismissible", "hidden"], aR = { class: "ui-callout-main" }, sR = {
25199
+ }, iR = ["id"], aR = {
25197
25200
  key: 0,
25198
25201
  "data-ui-callout-title": "",
25199
25202
  class: "ui-callout-title"
25200
- }, lR = {
25203
+ }, sR = {
25204
+ key: 1,
25205
+ "data-ui-callout-body": ""
25206
+ }, lR = ["data-tone", "data-variant", "data-fill", "data-dismissible", "hidden"], uR = { class: "ui-callout-main" }, cR = {
25207
+ key: 0,
25208
+ "data-ui-callout-title": "",
25209
+ class: "ui-callout-title"
25210
+ }, dR = {
25201
25211
  key: 1,
25202
25212
  "data-ui-callout-body": "",
25203
25213
  class: "ui-callout-body"
25204
- }, uR = {
25214
+ }, fR = {
25205
25215
  key: 2,
25206
25216
  "data-ui-callout-code": "",
25207
25217
  class: "font-[family-name:var(--ui-font-mono)] text-[12px] text-[var(--ui-text-secondary)]"
25208
- }, cR = ["aria-expanded", "aria-controls"], dR = ["id"], fR = {
25218
+ }, pR = ["aria-expanded", "aria-controls"], hR = ["id"], mR = {
25209
25219
  key: 0,
25210
25220
  "data-ui-callout-actions": "",
25211
25221
  class: "ui-callout-actions"
25212
- }, pR = ["aria-label"], hR = /* @__PURE__ */ z({
25222
+ }, vR = ["aria-label"], gR = /* @__PURE__ */ z({
25213
25223
  __name: "Callout",
25214
25224
  props: /* @__PURE__ */ Zu({
25215
25225
  tone: { default: "info" },
@@ -25248,33 +25258,60 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25248
25258
  "data-variant": "hint",
25249
25259
  "data-syno-pkg-land-ui": ""
25250
25260
  }, [
25251
- (y(), D(ht(a.value), {
25252
- class: "ui-callout-icon",
25253
- "aria-hidden": "true"
25254
- })),
25255
- ne("span", {
25256
- ref_key: "content",
25257
- ref: l,
25258
- class: "ui-callout-hint-text"
25259
- }, [
25260
- e.title ? (y(), E("span", oR, Q(e.title), 1)) : F("", !0),
25261
- b.$slots.default ? (y(), E("span", rR, [
25262
- R(b.$slots, "default")
25263
- ])) : F("", !0)
25264
- ], 512),
25265
25261
  b.$slots.details ? (y(), D(tR, {
25266
25262
  key: 0,
25267
- icon: "info",
25268
- "aria-label": f(o).moreLabel,
25263
+ wrap: "",
25264
+ "show-delay": 0,
25265
+ "hide-delay": 0,
25269
25266
  side: "bottom",
25270
25267
  align: "start",
25271
- "data-ui-callout-more": ""
25268
+ "aria-describedby": f(s),
25269
+ "data-ui-callout-more": "",
25270
+ class: "ui-callout-hint-line"
25272
25271
  }, {
25272
+ custom: T(() => [
25273
+ (y(), D(ut(a.value), {
25274
+ class: "ui-callout-icon",
25275
+ "aria-hidden": "true"
25276
+ })),
25277
+ ne("span", {
25278
+ ref_key: "content",
25279
+ ref: l,
25280
+ class: "ui-callout-hint-text"
25281
+ }, [
25282
+ e.title ? (y(), E("span", oR, Q(e.title), 1)) : F("", !0),
25283
+ b.$slots.default ? (y(), E("span", rR, [
25284
+ R(b.$slots, "default")
25285
+ ])) : F("", !0)
25286
+ ], 512)
25287
+ ]),
25273
25288
  default: T(() => [
25274
25289
  R(b.$slots, "details")
25275
25290
  ]),
25276
25291
  _: 3
25277
- }, 8, ["aria-label"])) : F("", !0)
25292
+ }, 8, ["aria-describedby"])) : F("", !0),
25293
+ b.$slots.details ? (y(), E("span", {
25294
+ key: 1,
25295
+ id: f(s),
25296
+ hidden: ""
25297
+ }, [
25298
+ R(b.$slots, "details")
25299
+ ], 8, iR)) : (y(), E(xe, { key: 2 }, [
25300
+ (y(), D(ut(a.value), {
25301
+ class: "ui-callout-icon",
25302
+ "aria-hidden": "true"
25303
+ })),
25304
+ ne("span", {
25305
+ ref_key: "content",
25306
+ ref: l,
25307
+ class: "ui-callout-hint-text"
25308
+ }, [
25309
+ e.title ? (y(), E("span", aR, Q(e.title), 1)) : F("", !0),
25310
+ b.$slots.default ? (y(), E("span", sR, [
25311
+ R(b.$slots, "default")
25312
+ ])) : F("", !0)
25313
+ ], 512)
25314
+ ], 64))
25278
25315
  ], 8, nR)) : (y(), E("div", {
25279
25316
  key: 1,
25280
25317
  class: "ui-callout",
@@ -25285,21 +25322,21 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25285
25322
  hidden: h.value || void 0,
25286
25323
  "data-syno-pkg-land-ui": ""
25287
25324
  }, [
25288
- (y(), D(ht(a.value), {
25325
+ (y(), D(ut(a.value), {
25289
25326
  class: "ui-callout-icon",
25290
25327
  "aria-hidden": "true"
25291
25328
  })),
25292
- ne("div", aR, [
25329
+ ne("div", uR, [
25293
25330
  ne("div", {
25294
25331
  ref_key: "content",
25295
25332
  ref: l,
25296
25333
  class: "ui-callout-content [overflow-wrap:anywhere]"
25297
25334
  }, [
25298
- e.title ? (y(), E("div", sR, Q(e.title), 1)) : F("", !0),
25299
- b.$slots.default ? (y(), E("div", lR, [
25335
+ e.title ? (y(), E("div", cR, Q(e.title), 1)) : F("", !0),
25336
+ b.$slots.default ? (y(), E("div", dR, [
25300
25337
  R(b.$slots, "default")
25301
25338
  ])) : F("", !0),
25302
- e.code ? (y(), E("code", uR, Q(e.code), 1)) : F("", !0),
25339
+ e.code ? (y(), E("code", fR, Q(e.code), 1)) : F("", !0),
25303
25340
  b.$slots.details ? (y(), E("button", {
25304
25341
  key: 3,
25305
25342
  type: "button",
@@ -25314,7 +25351,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25314
25351
  class: ee(["size-3.5 transition-transform duration-[var(--ui-motion-fast)]", i.value && "rotate-180"]),
25315
25352
  "aria-hidden": "true"
25316
25353
  }, null, 8, ["class"])
25317
- ], 8, cR)) : F("", !0),
25354
+ ], 8, pR)) : F("", !0),
25318
25355
  b.$slots.details ? (y(), D(Tu, {
25319
25356
  key: 4,
25320
25357
  open: i.value,
@@ -25327,12 +25364,12 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25327
25364
  class: "ui-callout-details"
25328
25365
  }, [
25329
25366
  R(b.$slots, "details")
25330
- ], 8, dR)
25367
+ ], 8, hR)
25331
25368
  ]),
25332
25369
  _: 3
25333
25370
  }, 8, ["open"])) : F("", !0)
25334
25371
  ], 512),
25335
- b.$slots.actions ? (y(), E("div", fR, [
25372
+ b.$slots.actions ? (y(), E("div", mR, [
25336
25373
  R(b.$slots, "actions")
25337
25374
  ])) : F("", !0)
25338
25375
  ]),
@@ -25348,22 +25385,22 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25348
25385
  class: "size-3.5",
25349
25386
  "aria-hidden": "true"
25350
25387
  })
25351
- ], 8, pR)) : F("", !0)
25352
- ], 8, iR));
25388
+ ], 8, vR)) : F("", !0)
25389
+ ], 8, lR));
25353
25390
  }
25354
- }), mR = {
25391
+ }), yR = {
25355
25392
  class: "flex min-h-28 flex-1 flex-col items-center justify-center px-6 py-5 text-center",
25356
25393
  "data-syno-pkg-land-ui": ""
25357
- }, vR = {
25394
+ }, bR = {
25358
25395
  key: 0,
25359
25396
  class: "mb-3 flex size-12 items-center justify-center rounded-full bg-[var(--ui-surface-subtle)] text-[var(--ui-text-muted)]"
25360
- }, gR = { class: "m-0 text-[14px] font-semibold text-[var(--ui-text)]" }, yR = {
25397
+ }, wR = { class: "m-0 text-[14px] font-semibold text-[var(--ui-text)]" }, _R = {
25361
25398
  key: 1,
25362
25399
  class: "mt-1 max-w-md text-[13px] leading-5 text-[var(--ui-text-secondary)]"
25363
- }, bR = {
25400
+ }, SR = {
25364
25401
  key: 2,
25365
25402
  class: "mt-4 flex items-center gap-2"
25366
- }, wR = /* @__PURE__ */ z({
25403
+ }, xR = /* @__PURE__ */ z({
25367
25404
  __name: "EmptyState",
25368
25405
  props: {
25369
25406
  title: {},
@@ -25371,26 +25408,26 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25371
25408
  icon: {}
25372
25409
  },
25373
25410
  setup(e) {
25374
- return (t, n) => (y(), E("div", mR, [
25375
- e.icon ? (y(), E("div", vR, [
25376
- (y(), D(ht(e.icon), {
25411
+ return (t, n) => (y(), E("div", yR, [
25412
+ e.icon ? (y(), E("div", bR, [
25413
+ (y(), D(ut(e.icon), {
25377
25414
  class: "size-6",
25378
25415
  "aria-hidden": "true"
25379
25416
  }))
25380
25417
  ])) : F("", !0),
25381
- ne("h3", gR, Q(e.title), 1),
25382
- e.description ? (y(), E("p", yR, Q(e.description), 1)) : F("", !0),
25383
- t.$slots.actions ? (y(), E("div", bR, [
25418
+ ne("h3", wR, Q(e.title), 1),
25419
+ e.description ? (y(), E("p", _R, Q(e.description), 1)) : F("", !0),
25420
+ t.$slots.actions ? (y(), E("div", SR, [
25384
25421
  R(t.$slots, "actions")
25385
25422
  ])) : F("", !0)
25386
25423
  ]));
25387
25424
  }
25388
- }), av = 640, _R = 1200;
25425
+ }), av = 640, kR = 1200;
25389
25426
  function sv(e, t = "web") {
25390
- return e <= 0 ? "window" : e <= av ? "mobile" : e >= _R && t === "web" ? "web" : "window";
25427
+ return e <= 0 ? "window" : e <= av ? "mobile" : e >= kR && t === "web" ? "web" : "window";
25391
25428
  }
25392
- const Wa = /* @__PURE__ */ Symbol("syno-app-presentation"), SR = 248, fl = 200, pl = 360, lv = /* @__PURE__ */ Symbol("syno-app-sidebar-collapsed"), uv = /* @__PURE__ */ Symbol("syno-app-top-navigation"), xR = /* @__PURE__ */ Symbol("syno-app-navigation-drawer"), cv = /* @__PURE__ */ Symbol("syno-app-page-change");
25393
- function kR(e, t = () => "x") {
25429
+ const Wa = /* @__PURE__ */ Symbol("syno-app-presentation"), CR = 248, fl = 200, pl = 360, lv = /* @__PURE__ */ Symbol("syno-app-sidebar-collapsed"), uv = /* @__PURE__ */ Symbol("syno-app-top-navigation"), PR = /* @__PURE__ */ Symbol("syno-app-navigation-drawer"), cv = /* @__PURE__ */ Symbol("syno-app-page-change");
25430
+ function AR(e, t = () => "x") {
25394
25431
  const n = /* @__PURE__ */ M(!1), o = /* @__PURE__ */ M(!1), r = /* @__PURE__ */ M(!1), i = /* @__PURE__ */ M(!1);
25395
25432
  let a;
25396
25433
  const s = () => {
@@ -25408,7 +25445,7 @@ function kR(e, t = () => "x") {
25408
25445
  e.value?.removeEventListener("scroll", s), a?.disconnect();
25409
25446
  }), { start: n, end: o, top: r, bottom: i };
25410
25447
  }
25411
- const CR = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-top", "data-edge-bottom"], PR = /* @__PURE__ */ z({
25448
+ const ER = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-top", "data-edge-bottom"], $R = /* @__PURE__ */ z({
25412
25449
  __name: "ScrollEdges",
25413
25450
  props: {
25414
25451
  viewportClass: { default: void 0 },
@@ -25416,7 +25453,7 @@ const CR = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-
25416
25453
  axis: { default: "x" }
25417
25454
  },
25418
25455
  setup(e, { expose: t }) {
25419
- const n = e, o = We("viewport"), { start: r, end: i, top: a, bottom: s } = kR(o, () => n.axis);
25456
+ const n = e, o = We("viewport"), { start: r, end: i, top: a, bottom: s } = AR(o, () => n.axis);
25420
25457
  return t({ viewport: o }), (l, c) => (y(), E("div", {
25421
25458
  "data-ui-scroll-edges": "",
25422
25459
  "data-axis": n.axis === "x" ? void 0 : n.axis,
@@ -25434,16 +25471,16 @@ const CR = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-
25434
25471
  }, [
25435
25472
  R(l.$slots, "default")
25436
25473
  ], 6)
25437
- ], 8, CR));
25474
+ ], 8, ER));
25438
25475
  }
25439
25476
  });
25440
25477
  function Hd(e) {
25441
25478
  return e.align === "right" ? "text-right" : e.align === "center" ? "text-center" : "text-left";
25442
25479
  }
25443
- function AR(e) {
25480
+ function OR(e) {
25444
25481
  return e.type === "number" || e.type === "date" || e.align === "right";
25445
25482
  }
25446
- const ER = "-ml-1 flex items-center justify-start gap-1", $R = 40, OR = 80, Gd = 10;
25483
+ const TR = "-ml-1 flex items-center justify-start gap-1", IR = 40, RR = 80, Gd = 10;
25447
25484
  function Jd(e) {
25448
25485
  if (typeof e == "number") return e;
25449
25486
  if (!(e === void 0 || !/^\s*\d+(\.\d+)?(px)?\s*$/.test(e)))
@@ -25452,7 +25489,7 @@ function Jd(e) {
25452
25489
  function Yd(e, t) {
25453
25490
  return Math.max(t, Math.round(e));
25454
25491
  }
25455
- const dv = (e) => `syno-pkg-land-ui:data-grid:${e}`, Xd = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), TR = (e) => !!e && typeof e == "object" && !Array.isArray(e) && Object.values(e).every((t) => typeof t == "number" && t > 0), IR = (e) => e === null || !!e && typeof e == "object" && typeof e.key == "string" && ["asc", "desc"].includes(e.direction);
25492
+ const dv = (e) => `syno-pkg-land-ui:data-grid:${e}`, Xd = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), NR = (e) => !!e && typeof e == "object" && !Array.isArray(e) && Object.values(e).every((t) => typeof t == "number" && t > 0), DR = (e) => e === null || !!e && typeof e == "object" && typeof e.key == "string" && ["asc", "desc"].includes(e.direction);
25456
25493
  function Qd(e) {
25457
25494
  let t;
25458
25495
  try {
@@ -25462,15 +25499,15 @@ function Qd(e) {
25462
25499
  }
25463
25500
  if (!t || typeof t != "object") return {};
25464
25501
  const n = {};
25465
- return Xd(t.columnOrder) && (n.columnOrder = t.columnOrder), Xd(t.hiddenColumns) && (n.hiddenColumns = t.hiddenColumns), TR(t.columnWidths) && (n.columnWidths = t.columnWidths), "sort" in t && IR(t.sort) && (n.sort = t.sort), typeof t.pageSize == "number" && Number.isInteger(t.pageSize) && t.pageSize > 0 && (n.pageSize = t.pageSize), n;
25502
+ return Xd(t.columnOrder) && (n.columnOrder = t.columnOrder), Xd(t.hiddenColumns) && (n.hiddenColumns = t.hiddenColumns), NR(t.columnWidths) && (n.columnWidths = t.columnWidths), "sort" in t && DR(t.sort) && (n.sort = t.sort), typeof t.pageSize == "number" && Number.isInteger(t.pageSize) && t.pageSize > 0 && (n.pageSize = t.pageSize), n;
25466
25503
  }
25467
- function RR(e, t) {
25504
+ function MR(e, t) {
25468
25505
  try {
25469
25506
  localStorage.setItem(dv(e), JSON.stringify(t));
25470
25507
  } catch {
25471
25508
  }
25472
25509
  }
25473
- function NR(e) {
25510
+ function zR(e) {
25474
25511
  return {
25475
25512
  empty: e("No data"),
25476
25513
  items: (t) => e(t === 1 ? "{count} item" : "{count} items", { count: t }),
@@ -25492,24 +25529,24 @@ function NR(e) {
25492
25529
  hiddenByWidth: e("Too narrow")
25493
25530
  };
25494
25531
  }
25495
- const DR = ["data-ui-data-view", "data-fill"], MR = {
25532
+ const FR = ["data-ui-data-view", "data-fill"], qR = {
25496
25533
  key: 0,
25497
25534
  "data-ui-mobile-cards": "",
25498
25535
  class: "px-3 py-10 text-center text-[var(--ui-text-secondary)]"
25499
- }, zR = {
25536
+ }, LR = {
25500
25537
  key: 1,
25501
25538
  "data-ui-mobile-cards": "",
25502
25539
  class: "grid gap-3",
25503
25540
  role: "list"
25504
- }, FR = ["data-ui-row-new"], qR = { class: "m-0 grid gap-2" }, LR = { class: "flex min-h-[var(--ui-control-md)] items-center break-words text-[12px] leading-5 text-[var(--ui-text-secondary)]" }, BR = { class: "m-0 flex min-h-[var(--ui-control-md)] min-w-0 flex-wrap items-center gap-1 break-words text-[13px] leading-5 text-[var(--ui-text)]" }, VR = { key: 0 }, jR = {
25541
+ }, BR = ["data-ui-row-new"], VR = { class: "m-0 grid gap-2" }, jR = { class: "flex min-h-[var(--ui-control-md)] items-center break-words text-[12px] leading-5 text-[var(--ui-text-secondary)]" }, UR = { class: "m-0 flex min-h-[var(--ui-control-md)] min-w-0 flex-wrap items-center gap-1 break-words text-[13px] leading-5 text-[var(--ui-text)]" }, WR = { key: 0 }, KR = {
25505
25542
  key: 0,
25506
25543
  "data-table-filler": ""
25507
- }, UR = { class: "sticky top-0 z-[1] bg-[var(--ui-surface-subtle)] text-[var(--ui-text-secondary)]" }, WR = ["data-column-type"], KR = ["aria-label", "onPointerdown", "onKeydown"], ZR = {
25544
+ }, ZR = { class: "sticky top-0 z-[1] bg-[var(--ui-surface-subtle)] text-[var(--ui-text-secondary)]" }, HR = ["data-column-type"], GR = ["aria-label", "onPointerdown", "onKeydown"], JR = {
25508
25545
  key: 0,
25509
25546
  "data-table-filler": "",
25510
25547
  "aria-hidden": "true",
25511
25548
  class: "border-b border-[var(--ui-border)] p-0"
25512
- }, HR = { key: 0 }, GR = ["colspan"], JR = ["data-ui-row-new"], YR = ["data-column-type"], XR = {
25549
+ }, YR = { key: 0 }, XR = ["colspan"], QR = ["data-ui-row-new"], eN = ["data-column-type"], tN = {
25513
25550
  key: 0,
25514
25551
  "data-table-filler": "",
25515
25552
  "aria-hidden": "true",
@@ -25531,14 +25568,14 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25531
25568
  },
25532
25569
  emits: ["update:columnWidths"],
25533
25570
  setup(e, { emit: t }) {
25534
- const n = e, o = t, r = jn(n, { emptyText: "No data" }), i = We("root"), a = pr(i), s = Be(Wa, void 0), l = xn(), c = (I) => NR(l).resizeColumn(I), u = /* @__PURE__ */ M(r.stateKey ? Qd(r.stateKey).columnWidths ?? {} : {});
25571
+ const n = e, o = t, r = jn(n, { emptyText: "No data" }), i = We("root"), a = pr(i), s = Be(Wa, void 0), l = xn(), c = (I) => zR(l).resizeColumn(I), u = /* @__PURE__ */ M(r.stateKey ? Qd(r.stateKey).columnWidths ?? {} : {});
25535
25572
  de(() => r.columnWidths, () => {
25536
25573
  u.value = {};
25537
25574
  });
25538
25575
  const d = C(() => {
25539
25576
  const I = { ...r.columnWidths, ...u.value };
25540
25577
  return r.columns.every((L) => I[L.key] !== void 0) ? I : void 0;
25541
- }), p = C(() => d.value ? r.columns.reduce((I, L) => I + d.value[L.key], 0) : 0), h = C(() => !!d.value || r.columns.some((I) => !!I.width)), m = (I) => d.value ? `${d.value[I.key]}px` : I.width, v = (I) => I.resizable ?? r.resizable, g = (I) => Jd(I.minWidth) ?? (I.width ? $R : OR), b = {};
25578
+ }), p = C(() => d.value ? r.columns.reduce((I, L) => I + d.value[L.key], 0) : 0), h = C(() => !!d.value || r.columns.some((I) => !!I.width)), m = (I) => d.value ? `${d.value[I.key]}px` : I.width, v = (I) => I.resizable ?? r.resizable, g = (I) => Jd(I.minWidth) ?? (I.width ? IR : RR), b = {};
25542
25579
  function _() {
25543
25580
  return Object.fromEntries(r.columns.map((I) => {
25544
25581
  const L = Math.round(b[I.key]?.getBoundingClientRect().width ?? 0);
@@ -25546,7 +25583,7 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25546
25583
  }));
25547
25584
  }
25548
25585
  function A(I) {
25549
- u.value = I, o("update:columnWidths", I), r.stateKey && RR(r.stateKey, { ...Qd(r.stateKey), columnWidths: I });
25586
+ u.value = I, o("update:columnWidths", I), r.stateKey && MR(r.stateKey, { ...Qd(r.stateKey), columnWidths: I });
25550
25587
  }
25551
25588
  let w;
25552
25589
  function S(I, L) {
@@ -25583,20 +25620,20 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25583
25620
  class: ee(["min-w-0", f(r).fill && "flex min-h-0 flex-1 flex-col"]),
25584
25621
  "data-syno-pkg-land-ui": ""
25585
25622
  }, [
25586
- P.value && !f(r).rows.length ? (y(), E("p", MR, Q(f(r).emptyText), 1)) : P.value ? (y(), E("div", zR, [
25623
+ P.value && !f(r).rows.length ? (y(), E("p", qR, Q(f(r).emptyText), 1)) : P.value ? (y(), E("div", LR, [
25587
25624
  (y(!0), E(xe, null, tt(f(r).rows, (B, G) => (y(), E("article", {
25588
25625
  key: O(B, G),
25589
25626
  "data-ui-row-new": f(N).has(O(B, G)) ? "" : void 0,
25590
25627
  class: "min-w-0 rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] bg-[var(--ui-surface)] px-3 py-2.5",
25591
25628
  role: "listitem"
25592
25629
  }, [
25593
- ne("dl", qR, [
25630
+ ne("dl", VR, [
25594
25631
  (y(!0), E(xe, null, tt(f(r).columns, (J) => (y(), E("div", {
25595
25632
  key: J.key,
25596
25633
  class: "grid min-w-0 grid-cols-[minmax(100px,35%)_minmax(0,1fr)] items-start gap-2"
25597
25634
  }, [
25598
- ne("dt", LR, Q(J.label), 1),
25599
- ne("dd", BR, [
25635
+ ne("dt", jR, Q(J.label), 1),
25636
+ ne("dd", UR, [
25600
25637
  R(I.$slots, `cell-${J.key}`, {
25601
25638
  row: B,
25602
25639
  value: B[J.key],
@@ -25607,8 +25644,8 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25607
25644
  ])
25608
25645
  ]))), 128))
25609
25646
  ])
25610
- ], 8, FR))), 128))
25611
- ])) : (y(), D(PR, {
25647
+ ], 8, BR))), 128))
25648
+ ])) : (y(), D($R, {
25612
25649
  key: 2,
25613
25650
  class: ee(f(r).fill && "min-h-0 flex-1"),
25614
25651
  "viewport-class": f(r).fill ? "h-full overflow-auto border-y border-[var(--ui-border)]" : "overflow-auto border-y border-[var(--ui-border)]"
@@ -25618,14 +25655,14 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25618
25655
  class: ee(["w-full border-collapse text-[13px]", h.value && "table-fixed"]),
25619
25656
  style: Le(d.value ? { minWidth: `${p.value}px` } : void 0)
25620
25657
  }, [
25621
- h.value ? (y(), E("colgroup", VR, [
25658
+ h.value ? (y(), E("colgroup", WR, [
25622
25659
  (y(!0), E(xe, null, tt(f(r).columns, (B) => (y(), E("col", {
25623
25660
  key: B.key,
25624
25661
  style: Le(m(B) ? { width: m(B) } : void 0)
25625
25662
  }, null, 4))), 128)),
25626
- d.value ? (y(), E("col", jR)) : F("", !0)
25663
+ d.value ? (y(), E("col", KR)) : F("", !0)
25627
25664
  ])) : F("", !0),
25628
- ne("thead", UR, [
25665
+ ne("thead", ZR, [
25629
25666
  ne("tr", null, [
25630
25667
  (y(!0), E(xe, null, tt(f(r).columns, (B) => (y(), E("th", {
25631
25668
  key: B.key,
@@ -25645,21 +25682,21 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25645
25682
  tabindex: "0",
25646
25683
  "aria-label": c(B.label),
25647
25684
  class: "absolute top-0 right-0 z-10 h-full w-2 cursor-col-resize touch-none outline-none hover:bg-[var(--ui-primary-soft)] focus-visible:bg-[var(--ui-primary-soft)]",
25648
- onPointerdown: ft((G) => S(G, B), ["stop", "prevent"]),
25649
- onClick: L[0] || (L[0] = ft(() => {
25685
+ onPointerdown: pt((G) => S(G, B), ["stop", "prevent"]),
25686
+ onClick: L[0] || (L[0] = pt(() => {
25650
25687
  }, ["stop"])),
25651
- onKeydown: ft((G) => k(G, B), ["stop"])
25652
- }, null, 40, KR)) : F("", !0)
25653
- ], 10, WR))), 128)),
25654
- d.value ? (y(), E("th", ZR)) : F("", !0)
25688
+ onKeydown: pt((G) => k(G, B), ["stop"])
25689
+ }, null, 40, GR)) : F("", !0)
25690
+ ], 10, HR))), 128)),
25691
+ d.value ? (y(), E("th", JR)) : F("", !0)
25655
25692
  ])
25656
25693
  ]),
25657
25694
  ne("tbody", null, [
25658
- f(r).rows.length === 0 ? (y(), E("tr", HR, [
25695
+ f(r).rows.length === 0 ? (y(), E("tr", YR, [
25659
25696
  ne("td", {
25660
25697
  colspan: f(r).columns.length + (d.value ? 1 : 0),
25661
25698
  class: "px-3 py-10 text-center text-[var(--ui-text-secondary)]"
25662
- }, Q(f(r).emptyText), 9, GR)
25699
+ }, Q(f(r).emptyText), 9, XR)
25663
25700
  ])) : (y(!0), E(xe, { key: 1 }, tt(f(r).rows, (B, G) => (y(), E("tr", {
25664
25701
  key: O(B, G),
25665
25702
  "data-ui-row-new": f(N).has(O(B, G)) ? "" : void 0,
@@ -25673,14 +25710,14 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25673
25710
  h.value && "[overflow-wrap:anywhere]",
25674
25711
  f(r).compact ? "h-9" : "h-11",
25675
25712
  f(Hd)(J),
25676
- f(AR)(J) && "tabular-nums whitespace-nowrap"
25713
+ f(OR)(J) && "tabular-nums whitespace-nowrap"
25677
25714
  ]),
25678
25715
  "data-column-type": J.type ?? "text"
25679
25716
  }, [
25680
25717
  J.type === "actions" ? (y(), E("div", {
25681
25718
  key: 0,
25682
25719
  "data-grid-actions": "",
25683
- class: ee(f(ER))
25720
+ class: ee(f(TR))
25684
25721
  }, [
25685
25722
  R(I.$slots, `cell-${J.key}`, {
25686
25723
  row: B,
@@ -25696,17 +25733,17 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25696
25733
  }, () => [
25697
25734
  $e(Q(B[J.key]), 1)
25698
25735
  ], void 0, 1)
25699
- ], 10, YR))), 128)),
25700
- d.value ? (y(), E("td", XR)) : F("", !0)
25701
- ], 8, JR))), 128))
25736
+ ], 10, eN))), 128)),
25737
+ d.value ? (y(), E("td", tN)) : F("", !0)
25738
+ ], 8, QR))), 128))
25702
25739
  ])
25703
25740
  ], 6)
25704
25741
  ]),
25705
25742
  _: 3
25706
25743
  }, 8, ["class", "viewport-class"]))
25707
- ], 10, DR));
25744
+ ], 10, FR));
25708
25745
  }
25709
- }), QR = ["data-layout", "data-wrap"], eN = ["data-ui-tooltip-hint", "disabled"], tN = /* @__PURE__ */ z({
25746
+ }), nN = ["data-layout", "data-wrap"], oN = ["data-ui-tooltip-hint", "disabled"], rN = /* @__PURE__ */ z({
25710
25747
  __name: "CellText",
25711
25748
  props: {
25712
25749
  text: {},
@@ -25728,7 +25765,7 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25728
25765
  "data-wrap": e.wrap ? "" : void 0,
25729
25766
  "data-syno-pkg-land-ui": ""
25730
25767
  }, [
25731
- e.icon ? (y(), D(ht(e.icon), {
25768
+ e.icon ? (y(), D(ut(e.icon), {
25732
25769
  key: 0,
25733
25770
  class: ee(["size-4 shrink-0 text-[var(--ui-text-secondary)]", e.wrap && "mt-0.5"]),
25734
25771
  "aria-hidden": "true"
@@ -25752,7 +25789,7 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25752
25789
  R(i.$slots, "default", {}, () => [
25753
25790
  $e(Q(e.text), 1)
25754
25791
  ])
25755
- ], 10, eN)) : (y(), E("span", {
25792
+ ], 10, oN)) : (y(), E("span", {
25756
25793
  key: 1,
25757
25794
  "data-ui-cell-primary": "",
25758
25795
  class: ee([r.value, "min-w-0 leading-5 text-[var(--ui-text)]"])
@@ -25779,24 +25816,24 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25779
25816
  key: 1,
25780
25817
  target: o.value
25781
25818
  }, null, 8, ["target"])) : F("", !0)
25782
- ], 10, QR));
25819
+ ], 10, nN));
25783
25820
  }
25784
- }), nN = {
25821
+ }), iN = {
25785
25822
  "data-ui-cell-status": "",
25786
25823
  class: "flex min-w-0 items-center gap-[var(--ui-space-2)] leading-4 text-[var(--ui-text)]"
25787
- }, oN = {
25824
+ }, aN = {
25788
25825
  "data-ui-cell-status-label": "",
25789
25826
  tabindex: "0",
25790
25827
  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)]"
25791
- }, rN = {
25828
+ }, sN = {
25792
25829
  key: 1,
25793
25830
  "data-ui-cell-status-label": "",
25794
25831
  class: "min-w-0 truncate"
25795
- }, iN = {
25832
+ }, lN = {
25796
25833
  key: 1,
25797
25834
  "data-ui-cell-secondary": "",
25798
25835
  class: "min-w-0 text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-text-secondary)] tabular-nums [overflow-wrap:anywhere]"
25799
- }, aN = /* @__PURE__ */ z({
25836
+ }, uN = /* @__PURE__ */ z({
25800
25837
  __name: "CellStatus",
25801
25838
  props: {
25802
25839
  label: {},
@@ -25815,17 +25852,17 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25815
25852
  class: ee(["flex min-w-0 flex-col gap-0.5", r.value && !(e.detail || i.$slots.detail) && "relative"]),
25816
25853
  "data-syno-pkg-land-ui": ""
25817
25854
  }, [
25818
- ne("span", nN, [
25855
+ ne("span", iN, [
25819
25856
  j(yT, { tone: e.tone }, null, 8, ["tone"]),
25820
25857
  e.description ? (y(), D(ev, {
25821
25858
  key: 0,
25822
25859
  content: e.description
25823
25860
  }, {
25824
25861
  default: T(() => [
25825
- ne("span", oN, Q(e.label), 1)
25862
+ ne("span", aN, Q(e.label), 1)
25826
25863
  ]),
25827
25864
  _: 1
25828
- }, 8, ["content"])) : (y(), E("span", rN, Q(e.label), 1))
25865
+ }, 8, ["content"])) : (y(), E("span", sN, Q(e.label), 1))
25829
25866
  ]),
25830
25867
  r.value ? (y(), D(Ym, {
25831
25868
  key: 0,
@@ -25834,7 +25871,7 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25834
25871
  size: "sm",
25835
25872
  class: ee(["max-w-40", !(e.detail || i.$slots.detail) && "absolute inset-x-0 top-full mt-0.5"])
25836
25873
  }, null, 8, ["value", "aria-label", "class"])) : F("", !0),
25837
- e.detail || i.$slots.detail ? (y(), E("span", iN, [
25874
+ e.detail || i.$slots.detail ? (y(), E("span", lN, [
25838
25875
  R(i.$slots, "detail", {}, () => [
25839
25876
  $e(Q(e.detail), 1)
25840
25877
  ])
@@ -25845,74 +25882,74 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25845
25882
  }, null, 8, ["target"])) : F("", !0)
25846
25883
  ], 2));
25847
25884
  }
25848
- }), sN = {
25885
+ }), cN = {
25849
25886
  role: "listitem",
25850
25887
  class: "ui-list-item flex flex-wrap items-start gap-x-[var(--ui-space-4)] gap-y-[var(--ui-space-2)] py-[var(--ui-space-3)]",
25851
25888
  "data-syno-pkg-land-ui": ""
25852
- }, lN = { class: "flex min-w-60 flex-1 items-start gap-[var(--ui-space-3)]" }, uN = {
25889
+ }, dN = { class: "flex min-w-60 flex-1 items-start gap-[var(--ui-space-3)]" }, fN = {
25853
25890
  key: 0,
25854
25891
  "data-ui-list-item-leading": "",
25855
25892
  class: "flex shrink-0 items-center"
25856
- }, cN = { class: "min-w-0 flex-1" }, dN = { class: "flex flex-wrap items-center gap-x-[var(--ui-space-2)] gap-y-1" }, fN = {
25893
+ }, pN = { class: "min-w-0 flex-1" }, hN = { class: "flex flex-wrap items-center gap-x-[var(--ui-space-2)] gap-y-1" }, mN = {
25857
25894
  "data-ui-list-item-title": "",
25858
25895
  class: "font-semibold leading-5 text-[var(--ui-text)]"
25859
- }, pN = {
25896
+ }, vN = {
25860
25897
  key: 0,
25861
25898
  "data-ui-list-item-meta": "",
25862
25899
  class: "flex flex-wrap items-center gap-[var(--ui-space-1)]"
25863
- }, hN = {
25900
+ }, gN = {
25864
25901
  key: 0,
25865
25902
  "data-ui-list-item-description": "",
25866
25903
  class: "mt-1 leading-5 text-[var(--ui-text-secondary)]"
25867
- }, mN = {
25904
+ }, yN = {
25868
25905
  key: 1,
25869
25906
  class: "mt-1 leading-5"
25870
- }, vN = {
25907
+ }, bN = {
25871
25908
  key: 0,
25872
25909
  "data-ui-list-item-actions": "",
25873
25910
  class: "flex shrink-0 flex-wrap items-center gap-[var(--ui-space-2)]"
25874
- }, gN = /* @__PURE__ */ z({
25911
+ }, wN = /* @__PURE__ */ z({
25875
25912
  __name: "ListItem",
25876
25913
  props: {
25877
25914
  title: {},
25878
25915
  description: {}
25879
25916
  },
25880
25917
  setup(e) {
25881
- return (t, n) => (y(), E("div", sN, [
25882
- ne("div", lN, [
25883
- t.$slots.leading ? (y(), E("div", uN, [
25918
+ return (t, n) => (y(), E("div", cN, [
25919
+ ne("div", dN, [
25920
+ t.$slots.leading ? (y(), E("div", fN, [
25884
25921
  R(t.$slots, "leading")
25885
25922
  ])) : F("", !0),
25886
- ne("div", cN, [
25887
- ne("div", dN, [
25888
- ne("span", fN, [
25923
+ ne("div", pN, [
25924
+ ne("div", hN, [
25925
+ ne("span", mN, [
25889
25926
  R(t.$slots, "title", {}, () => [
25890
25927
  $e(Q(e.title), 1)
25891
25928
  ])
25892
25929
  ]),
25893
- t.$slots.meta ? (y(), E("span", pN, [
25930
+ t.$slots.meta ? (y(), E("span", vN, [
25894
25931
  R(t.$slots, "meta")
25895
25932
  ])) : F("", !0)
25896
25933
  ]),
25897
- e.description || t.$slots.description ? (y(), E("div", hN, [
25934
+ e.description || t.$slots.description ? (y(), E("div", gN, [
25898
25935
  R(t.$slots, "description", {}, () => [
25899
25936
  $e(Q(e.description), 1)
25900
25937
  ])
25901
25938
  ])) : F("", !0),
25902
- t.$slots.default ? (y(), E("div", mN, [
25939
+ t.$slots.default ? (y(), E("div", yN, [
25903
25940
  R(t.$slots, "default")
25904
25941
  ])) : F("", !0)
25905
25942
  ])
25906
25943
  ]),
25907
- t.$slots.actions ? (y(), E("div", vN, [
25944
+ t.$slots.actions ? (y(), E("div", bN, [
25908
25945
  R(t.$slots, "actions")
25909
25946
  ])) : F("", !0)
25910
25947
  ]));
25911
25948
  }
25912
- }), yN = ["id"], bN = {
25949
+ }), _N = ["id"], SN = {
25913
25950
  key: 1,
25914
25951
  class: "ml-auto flex shrink-0 items-center gap-1.5"
25915
- }, wN = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], _N = ["id", "role", "aria-labelledby"], SN = /* @__PURE__ */ z({
25952
+ }, xN = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], kN = ["id", "role", "aria-labelledby"], CN = /* @__PURE__ */ z({
25916
25953
  __name: "Card",
25917
25954
  props: {
25918
25955
  title: {},
@@ -25961,8 +25998,8 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25961
25998
  R(g.$slots, "title", {}, () => [
25962
25999
  $e(Q(e.title), 1)
25963
26000
  ])
25964
- ], 8, yN)) : F("", !0),
25965
- g.$slots["header-actions"] || e.expandable ? (y(), E("div", bN, [
26001
+ ], 8, _N)) : F("", !0),
26002
+ g.$slots["header-actions"] || e.expandable ? (y(), E("div", SN, [
25966
26003
  R(g.$slots, "header-actions"),
25967
26004
  e.expandable ? (y(), E("button", {
25968
26005
  key: 0,
@@ -25980,7 +26017,7 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25980
26017
  class: ee(f(Tn)("size-4 transition-transform duration-[var(--ui-motion-fast)]", !f(c) && "-rotate-90")),
25981
26018
  "aria-hidden": "true"
25982
26019
  }, null, 8, ["class"])
25983
- ], 8, wN)) : F("", !0)
26020
+ ], 8, xN)) : F("", !0)
25984
26021
  ])) : F("", !0)
25985
26022
  ], 2)) : F("", !0),
25986
26023
  j(Tu, {
@@ -25997,7 +26034,7 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
25997
26034
  e.loading ? (y(), D(Xm, { key: 0 })) : R(g.$slots, "body", {}, () => [
25998
26035
  R(g.$slots, "default")
25999
26036
  ], void 0, 1)
26000
- ], 10, _N)
26037
+ ], 10, kN)
26001
26038
  ]),
26002
26039
  _: 3
26003
26040
  }, 8, ["open"]),
@@ -26011,16 +26048,16 @@ const DR = ["data-ui-data-view", "data-fill"], MR = {
26011
26048
  _: 3
26012
26049
  }, 8, ["data-layout", "aria-busy"]));
26013
26050
  }
26014
- }), xN = /^#([\da-f]{3}|[\da-f]{6})$/i, kN = /^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)(?:\s*[,/]\s*([\d.]+)(%?))?\s*\)$/i;
26051
+ }), PN = /^#([\da-f]{3}|[\da-f]{6})$/i, AN = /^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)(?:\s*[,/]\s*([\d.]+)(%?))?\s*\)$/i;
26015
26052
  function hl(e) {
26016
26053
  const t = e.trim();
26017
26054
  if (t === "transparent") return [0, 0, 0, 0];
26018
- const n = xN.exec(t)?.[1];
26055
+ const n = PN.exec(t)?.[1];
26019
26056
  if (n) {
26020
26057
  const r = n.length === 3 ? [...n].map((i) => i + i).join("") : n;
26021
26058
  return [0, 2, 4].map((i) => parseInt(r.slice(i, i + 2), 16)).concat(1);
26022
26059
  }
26023
- const o = kN.exec(t);
26060
+ const o = AN.exec(t);
26024
26061
  if (o) {
26025
26062
  const r = o[4] === void 0 ? 1 : Number(o[4]) / (o[5] ? 100 : 1);
26026
26063
  return [Number(o[1]), Number(o[2]), Number(o[3]), r];
@@ -26037,43 +26074,43 @@ function ml(e, t) {
26037
26074
  function Ss([e, t, n, o], r) {
26038
26075
  return [e * (1 - r), t * (1 - r), n * (1 - r), o];
26039
26076
  }
26040
- function CN([e, t, n, o], r) {
26077
+ function EN([e, t, n, o], r) {
26041
26078
  return [e + (255 - e) * r, t + (255 - t) * r, n + (255 - n) * r, o];
26042
26079
  }
26043
- function PN([e, t, n]) {
26080
+ function $N([e, t, n]) {
26044
26081
  const o = (r) => {
26045
26082
  const i = r / 255;
26046
26083
  return i <= 0.04045 ? i / 12.92 : ((i + 0.055) / 1.055) ** 2.4;
26047
26084
  };
26048
26085
  return 0.2126 * o(e) + 0.7152 * o(t) + 0.0722 * o(n);
26049
26086
  }
26050
- function AN(e, t) {
26051
- const n = ml(t, [255, 255, 255, 1]), [o, r] = [ml(e, n), n].map(PN).sort((i, a) => a - i);
26087
+ function ON(e, t) {
26088
+ const n = ml(t, [255, 255, 255, 1]), [o, r] = [ml(e, n), n].map($N).sort((i, a) => a - i);
26052
26089
  return (o + 0.05) / (r + 0.05);
26053
26090
  }
26054
- const xs = [255, 255, 255, 1], EN = "#1b1f1c", $N = [0.02, 0.04, 0.1, 0.15, 0.2, 0.3, 0.5, 0.7], ON = [0.04, 0.08, 0.16, 0.22, 0.28, 0.36, 0.5, 0.7], TN = 0.075, IN = 0.22, RN = 0.55, vl = (e) => hl($i(e));
26091
+ const xs = [255, 255, 255, 1], TN = "#1b1f1c", IN = [0.02, 0.04, 0.1, 0.15, 0.2, 0.3, 0.5, 0.7], RN = [0.04, 0.08, 0.16, 0.22, 0.28, 0.36, 0.5, 0.7], NN = 0.075, DN = 0.22, MN = 0.55, vl = (e) => hl($i(e));
26055
26092
  function tf(e, t, n, o, r) {
26056
26093
  for (let i = n; i < 1; i += 0.01) {
26057
26094
  const a = vl(t(e, i));
26058
- if (AN(...r(a)) >= o) return a;
26095
+ if (ON(...r(a)) >= o) return a;
26059
26096
  }
26060
26097
  return t(e, 1);
26061
26098
  }
26062
- function NN(e, { dark: t = !1 } = {}) {
26099
+ function zN(e, { dark: t = !1 } = {}) {
26063
26100
  const n = hl(e);
26064
26101
  if (n[3] !== 1) throw new Error(`An accent must be opaque: "${e}"`);
26065
- const o = tf(n, Ss, 0, 4.5, (u) => [xs, u]), r = t ? hl(EN) : xs, i = (t ? ON : $N).map((u) => [o[0], o[1], o[2], u]), a = i.map((u) => vl(ml(u, r))), s = (u, d) => tf(o, t ? CN : Ss, d, u, (p) => [p, a[2]]), l = t ? [s(4.5, 0), s(7, 0)] : [s(4.5, IN), s(7, RN)];
26066
- return { steps: [...a, o, vl(Ss(o, TN)), ...l].map($i), alpha: i.map($i), contrast: $i(xs) };
26102
+ const o = tf(n, Ss, 0, 4.5, (u) => [xs, u]), r = t ? hl(TN) : xs, i = (t ? RN : IN).map((u) => [o[0], o[1], o[2], u]), a = i.map((u) => vl(ml(u, r))), s = (u, d) => tf(o, t ? EN : Ss, d, u, (p) => [p, a[2]]), l = t ? [s(4.5, 0), s(7, 0)] : [s(4.5, DN), s(7, MN)];
26103
+ return { steps: [...a, o, vl(Ss(o, NN)), ...l].map($i), alpha: i.map($i), contrast: $i(xs) };
26067
26104
  }
26068
- function DN(e, t = {}) {
26069
- const { steps: n, alpha: o, contrast: r } = NN(e, t);
26105
+ function FN(e, t = {}) {
26106
+ const { steps: n, alpha: o, contrast: r } = zN(e, t);
26070
26107
  return Object.fromEntries([
26071
26108
  ...n.map((i, a) => [`--ui-accent-${a + 1}`, i]),
26072
26109
  ...o.map((i, a) => [`--ui-accent-a${a + 1}`, i]),
26073
26110
  ["--ui-accent-contrast", r]
26074
26111
  ]);
26075
26112
  }
26076
- const MN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "data-ui-color-scheme", "tabindex"], zN = /* @__PURE__ */ z({
26113
+ const qN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "data-ui-color-scheme", "tabindex"], LN = /* @__PURE__ */ z({
26077
26114
  __name: "AppRoot",
26078
26115
  props: {
26079
26116
  modalScope: { default: "app" },
@@ -26097,7 +26134,7 @@ const MN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26097
26134
  h && p?.region(h.element), Ue(nv, h);
26098
26135
  const m = { position: "relative", isolation: "isolate", overflow: "hidden" }, v = C(() => ({
26099
26136
  ...d === "app" ? m : {},
26100
- ...n.accent ? DN(n.accent, { dark: n.colorScheme === "dark" }) : {}
26137
+ ...n.accent ? FN(n.accent, { dark: n.colorScheme === "dark" }) : {}
26101
26138
  }));
26102
26139
  return de(() => n.modalScope, (g) => {
26103
26140
  if (g !== d) throw new Error("AppRoot modal-scope is fixed for the mounted root; remount to change it");
@@ -26136,9 +26173,9 @@ const MN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26136
26173
  ]),
26137
26174
  _: 3
26138
26175
  }, 8, ["teleport-to"])
26139
- ], 12, MN));
26176
+ ], 12, qN));
26140
26177
  }
26141
- }), FN = ["src"], ks = /* @__PURE__ */ z({
26178
+ }), BN = ["src"], ks = /* @__PURE__ */ z({
26142
26179
  __name: "AppBrand",
26143
26180
  props: {
26144
26181
  name: {},
@@ -26149,7 +26186,7 @@ const MN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26149
26186
  emits: ["activate"],
26150
26187
  setup(e, { emit: t }) {
26151
26188
  const n = t, o = xn(), r = (i, { slots: a }) => a.default?.();
26152
- return (i, a) => (y(), D(ht(e.interactive ? "button" : r), ut(mt(e.interactive ? {
26189
+ return (i, a) => (y(), D(ut(e.interactive ? "button" : r), ct(mt(e.interactive ? {
26153
26190
  type: "button",
26154
26191
  "data-ui-brand-action": "",
26155
26192
  "aria-label": f(o)("Go to home"),
@@ -26163,7 +26200,7 @@ const MN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26163
26200
  alt: "",
26164
26201
  width: "28",
26165
26202
  height: "28"
26166
- }, null, 8, FN)) : F("", !0),
26203
+ }, null, 8, BN)) : F("", !0),
26167
26204
  e.name ? (y(), E("span", {
26168
26205
  key: 1,
26169
26206
  "data-ui-brand-name": "",
@@ -26174,7 +26211,7 @@ const MN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26174
26211
  }, 16));
26175
26212
  }
26176
26213
  }), gl = (e) => Math.round(Math.min(pl, Math.max(fl, e)));
26177
- function qN(e) {
26214
+ function VN(e) {
26178
26215
  try {
26179
26216
  const t = JSON.parse(localStorage.getItem(e) ?? "null");
26180
26217
  return t && typeof t == "object" ? t : {};
@@ -26182,8 +26219,8 @@ function qN(e) {
26182
26219
  return {};
26183
26220
  }
26184
26221
  }
26185
- function LN(e) {
26186
- const t = e ? `${e}:app-sidebar` : void 0, n = t ? qN(t) : {}, o = /* @__PURE__ */ M(typeof n.width == "number" && Number.isFinite(n.width) ? gl(n.width) : SR), r = /* @__PURE__ */ M(n.collapsed === !0);
26222
+ function jN(e) {
26223
+ const t = e ? `${e}:app-sidebar` : void 0, n = t ? VN(t) : {}, o = /* @__PURE__ */ M(typeof n.width == "number" && Number.isFinite(n.width) ? gl(n.width) : CR), r = /* @__PURE__ */ M(n.collapsed === !0);
26187
26224
  return t && de([o, r], () => {
26188
26225
  try {
26189
26226
  localStorage.setItem(t, JSON.stringify({ width: o.value, collapsed: r.value }));
@@ -26191,25 +26228,25 @@ function LN(e) {
26191
26228
  }
26192
26229
  }), { width: o, collapsed: r };
26193
26230
  }
26194
- const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height", "data-ui-mobile-open", "data-ui-motion-ready", "data-ui-sidebar-collapsed", "data-ui-sidebar-resizing"], VN = ["id", "role", "aria-modal", "aria-label", "aria-hidden", "inert"], jN = {
26231
+ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height", "data-ui-mobile-open", "data-ui-motion-ready", "data-ui-sidebar-collapsed", "data-ui-sidebar-resizing"], WN = ["id", "role", "aria-modal", "aria-label", "aria-hidden", "inert"], KN = {
26195
26232
  key: 0,
26196
26233
  "data-ui-mobile-sidebar-header": ""
26197
- }, UN = {
26234
+ }, ZN = {
26198
26235
  key: 0,
26199
26236
  "data-ui-sidebar-brand": ""
26200
- }, WN = { key: 1 }, KN = ["aria-label"], ZN = {
26237
+ }, HN = { key: 1 }, GN = ["aria-label"], JN = {
26201
26238
  key: 1,
26202
26239
  "data-ui-sidebar-brand": ""
26203
- }, HN = { "data-ui-sidebar-body": "" }, GN = {
26240
+ }, YN = { "data-ui-sidebar-body": "" }, XN = {
26204
26241
  key: 2,
26205
26242
  "data-ui-sidebar-footer": ""
26206
- }, JN = ["aria-label", "title", "aria-expanded", "aria-controls"], YN = ["aria-label", "aria-controls", "aria-valuemin", "aria-valuemax", "aria-valuenow"], XN = ["inert"], QN = {
26243
+ }, QN = ["aria-label", "title", "aria-expanded", "aria-controls"], eD = ["aria-label", "aria-controls", "aria-valuemin", "aria-valuemax", "aria-valuenow"], tD = ["inert"], nD = {
26207
26244
  key: 0,
26208
26245
  "data-ui-mobile-navigation": ""
26209
- }, eD = ["aria-label", "aria-expanded", "aria-controls"], tD = {
26246
+ }, oD = ["aria-label", "aria-expanded", "aria-controls"], rD = {
26210
26247
  key: 1,
26211
26248
  "data-ui-sidebar-brand": ""
26212
- }, nD = { key: 2 }, nf = 16, oD = /* @__PURE__ */ z({
26249
+ }, iD = { key: 2 }, nf = 16, aD = /* @__PURE__ */ z({
26213
26250
  __name: "AppLayout",
26214
26251
  props: {
26215
26252
  sidebarWidth: { default: void 0 },
@@ -26243,7 +26280,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26243
26280
  });
26244
26281
  const A = C(() => m.value === "web"), w = C(() => n.navigation === "top" && !v.value);
26245
26282
  Ue(uv, w);
26246
- const S = LN(n.sidebarStorageKey), k = C(() => A.value && !w.value && S.collapsed.value);
26283
+ const S = jN(n.sidebarStorageKey), k = C(() => A.value && !w.value && S.collapsed.value);
26247
26284
  Ue(lv, k);
26248
26285
  const P = We("main"), O = /* @__PURE__ */ M(0);
26249
26286
  Ue(cv, () => {
@@ -26291,7 +26328,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26291
26328
  p = document.activeElement instanceof HTMLElement && document.activeElement !== document.body ? document.activeElement : null, g.value = !0, ze(() => u.value?.querySelector("[data-ui-close-navigation]")?.focus());
26292
26329
  }
26293
26330
  const Dt = /* @__PURE__ */ M(0), Ct = C(() => v.value && !!s.tabbar && Dt.value > 0);
26294
- Ue(xR, {
26331
+ Ue(PR, {
26295
26332
  available: C(() => !!s.sidebar),
26296
26333
  open: C(() => g.value),
26297
26334
  id: b,
@@ -26360,8 +26397,8 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26360
26397
  inert: v.value && !g.value,
26361
26398
  onClick: rt
26362
26399
  }, [
26363
- v.value ? (y(), E("div", jN, [
26364
- G.value ? (y(), E("div", UN, [
26400
+ v.value ? (y(), E("div", KN, [
26401
+ G.value ? (y(), E("div", ZN, [
26365
26402
  R(se.$slots, "brand", {}, () => [
26366
26403
  j(ks, {
26367
26404
  interactive: i(),
@@ -26370,7 +26407,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26370
26407
  icon: B.value.icon
26371
26408
  }, null, 8, ["interactive", "name", "icon"])
26372
26409
  ])
26373
- ])) : (y(), E("span", WN, Q(f(l)("Application navigation")), 1)),
26410
+ ])) : (y(), E("span", HN, Q(f(l)("Application navigation")), 1)),
26374
26411
  ne("button", {
26375
26412
  "data-ui-close-navigation": "",
26376
26413
  type: "button",
@@ -26381,9 +26418,9 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26381
26418
  size: 20,
26382
26419
  "aria-hidden": "true"
26383
26420
  })
26384
- ], 8, KN)
26421
+ ], 8, GN)
26385
26422
  ])) : F("", !0),
26386
- J.value ? (y(), E("div", ZN, [
26423
+ J.value ? (y(), E("div", JN, [
26387
26424
  R(se.$slots, "brand", {}, () => [
26388
26425
  j(ks, {
26389
26426
  interactive: i(),
@@ -26394,10 +26431,10 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26394
26431
  }, null, 8, ["interactive", "name", "icon", "collapsed"])
26395
26432
  ])
26396
26433
  ])) : F("", !0),
26397
- ne("div", HN, [
26434
+ ne("div", YN, [
26398
26435
  R(se.$slots, "sidebar")
26399
26436
  ]),
26400
- W.value ? (y(), E("div", GN, [
26437
+ W.value ? (y(), E("div", XN, [
26401
26438
  R(se.$slots, "sidebar-footer"),
26402
26439
  A.value && !w.value ? (y(), E("button", {
26403
26440
  key: 0,
@@ -26409,11 +26446,11 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26409
26446
  "aria-controls": f(b),
26410
26447
  onClick: oe
26411
26448
  }, [
26412
- (y(), D(ht(k.value ? f(FC) : f(MC)), {
26449
+ (y(), D(ut(k.value ? f(FC) : f(MC)), {
26413
26450
  size: 18,
26414
26451
  "aria-hidden": "true"
26415
26452
  }))
26416
- ], 8, JN)) : F("", !0)
26453
+ ], 8, QN)) : F("", !0)
26417
26454
  ])) : F("", !0),
26418
26455
  N.value ? (y(), E("div", {
26419
26456
  key: 3,
@@ -26428,14 +26465,14 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26428
26465
  "aria-valuenow": f(S).width.value,
26429
26466
  onKeydown: ae,
26430
26467
  onPointerdown: De
26431
- }, null, 40, YN)) : F("", !0)
26432
- ], 8, VN)) : F("", !0),
26468
+ }, null, 40, eD)) : F("", !0)
26469
+ ], 8, WN)) : F("", !0),
26433
26470
  ne("div", {
26434
26471
  "data-ui-layout-main": "",
26435
26472
  class: "flex min-h-0 min-w-0 flex-col bg-[var(--ui-surface)]",
26436
26473
  inert: v.value && g.value
26437
26474
  }, [
26438
- v.value && se.$slots.sidebar && !(Ct.value && !G.value) ? (y(), E("div", QN, [
26475
+ v.value && se.$slots.sidebar && !(Ct.value && !G.value) ? (y(), E("div", nD, [
26439
26476
  Ct.value ? F("", !0) : (y(), E("button", {
26440
26477
  key: 0,
26441
26478
  ref_key: "menuTrigger",
@@ -26451,8 +26488,8 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26451
26488
  size: 20,
26452
26489
  "aria-hidden": "true"
26453
26490
  })
26454
- ], 8, eD)),
26455
- G.value ? (y(), E("div", tD, [
26491
+ ], 8, oD)),
26492
+ G.value ? (y(), E("div", rD, [
26456
26493
  R(se.$slots, "brand", {}, () => [
26457
26494
  j(ks, {
26458
26495
  interactive: i(),
@@ -26461,7 +26498,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26461
26498
  icon: B.value.icon
26462
26499
  }, null, 8, ["interactive", "name", "icon"])
26463
26500
  ])
26464
- ])) : (y(), E("span", nD, Q(f(l)("Application navigation")), 1))
26501
+ ])) : (y(), E("span", iD, Q(f(l)("Application navigation")), 1))
26465
26502
  ])) : F("", !0),
26466
26503
  R(se.$slots, "toolbar"),
26467
26504
  ne("main", {
@@ -26474,10 +26511,10 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26474
26511
  ], 2),
26475
26512
  R(se.$slots, "footer"),
26476
26513
  v.value ? R(se.$slots, "tabbar", {}, void 0, void 0, 1) : F("", !0)
26477
- ], 8, XN)
26478
- ], 46, BN));
26514
+ ], 8, tD)
26515
+ ], 46, UN));
26479
26516
  }
26480
- }), rD = /* @__PURE__ */ z({
26517
+ }), sD = /* @__PURE__ */ z({
26481
26518
  __name: "ResponsiveView",
26482
26519
  props: {
26483
26520
  mode: { default: "auto" }
@@ -26489,7 +26526,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26489
26526
  });
26490
26527
  return (i, a) => R(i.$slots, r.value);
26491
26528
  }
26492
- }), iD = /* @__PURE__ */ z({
26529
+ }), lD = /* @__PURE__ */ z({
26493
26530
  __name: "AppSidebarTip",
26494
26531
  props: {
26495
26532
  label: {},
@@ -26507,20 +26544,20 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26507
26544
  _: 3
26508
26545
  }, 8, ["content"])) : R(t.$slots, "default", {}, void 0, void 0, 1);
26509
26546
  }
26510
- }), aD = ["data-nav-toggle", "data-nav-item", "disabled", "aria-current", "aria-expanded", "onClick"], sD = {
26547
+ }), uD = ["data-nav-toggle", "data-nav-item", "disabled", "aria-current", "aria-expanded", "onClick"], cD = {
26511
26548
  key: 1,
26512
26549
  "data-nav-badge": "",
26513
26550
  class: "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[length:var(--ui-font-size-sm)] font-semibold leading-none text-[var(--ui-primary-foreground)]"
26514
- }, lD = ["disabled", "aria-current", "onClick"], uD = {
26551
+ }, dD = ["disabled", "aria-current", "onClick"], fD = {
26515
26552
  key: 0,
26516
26553
  "data-nav-chevron-spacer": "",
26517
26554
  class: "size-3.5 shrink-0",
26518
26555
  "aria-hidden": "true"
26519
- }, cD = {
26556
+ }, pD = {
26520
26557
  key: 2,
26521
26558
  "data-nav-badge": "",
26522
26559
  class: "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[length:var(--ui-font-size-sm)] font-semibold leading-none text-[var(--ui-primary-foreground)]"
26523
- }, dD = ["aria-label"], of = "min-w-0 flex-1 [overflow-wrap:anywhere] [text-wrap:pretty]", fD = /* @__PURE__ */ z({
26560
+ }, hD = ["aria-label"], of = "min-w-0 flex-1 [overflow-wrap:anywhere] [text-wrap:pretty]", mD = /* @__PURE__ */ z({
26524
26561
  name: "AppSidebarItems",
26525
26562
  __name: "AppSidebarItems",
26526
26563
  props: {
@@ -26542,7 +26579,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26542
26579
  return y(!0), E(xe, null, tt(e.items, (m) => (y(), E(xe, {
26543
26580
  key: m.key
26544
26581
  }, [
26545
- a(m) ? F("", !0) : (y(), D(iD, {
26582
+ a(m) ? F("", !0) : (y(), D(lD, {
26546
26583
  key: 0,
26547
26584
  label: m.label,
26548
26585
  enabled: !!n.collapsed
@@ -26569,7 +26606,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26569
26606
  class: ee(["size-3.5 shrink-0 text-[var(--ui-text-muted)] transition-transform", r(m) && "rotate-90"]),
26570
26607
  "aria-hidden": "true"
26571
26608
  }, null, 8, ["class"]),
26572
- m.icon ? (y(), D(ht(m.icon), {
26609
+ m.icon ? (y(), D(ut(m.icon), {
26573
26610
  key: 0,
26574
26611
  class: "size-[var(--ui-icon-size,22px)] shrink-0",
26575
26612
  "aria-hidden": "true"
@@ -26578,8 +26615,8 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26578
26615
  "data-nav-label": "",
26579
26616
  class: ee(n.collapsed ? "sr-only" : of)
26580
26617
  }, Q(m.label), 3),
26581
- m.badge !== void 0 ? (y(), E("span", sD, Q(m.badge), 1)) : F("", !0)
26582
- ], 14, aD)) : (y(), E("button", {
26618
+ m.badge !== void 0 ? (y(), E("span", cD, Q(m.badge), 1)) : F("", !0)
26619
+ ], 14, uD)) : (y(), E("button", {
26583
26620
  key: 1,
26584
26621
  type: "button",
26585
26622
  "data-nav-item": "",
@@ -26590,8 +26627,8 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26590
26627
  style: Le(i(n.depth)),
26591
26628
  onClick: (v) => o("select", m)
26592
26629
  }, [
26593
- c.value ? (y(), E("span", uD)) : F("", !0),
26594
- m.icon ? (y(), D(ht(m.icon), {
26630
+ c.value ? (y(), E("span", fD)) : F("", !0),
26631
+ m.icon ? (y(), D(ut(m.icon), {
26595
26632
  key: 1,
26596
26633
  class: "size-[var(--ui-icon-size,22px)] shrink-0",
26597
26634
  "aria-hidden": "true"
@@ -26600,8 +26637,8 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26600
26637
  "data-nav-label": "",
26601
26638
  class: ee(n.collapsed ? "sr-only" : of)
26602
26639
  }, Q(m.label), 3),
26603
- m.badge !== void 0 ? (y(), E("span", cD, Q(m.badge), 1)) : F("", !0)
26604
- ], 14, lD))
26640
+ m.badge !== void 0 ? (y(), E("span", pD, Q(m.badge), 1)) : F("", !0)
26641
+ ], 14, dD))
26605
26642
  ]),
26606
26643
  _: 2
26607
26644
  }, 1032, ["label", "enabled"])),
@@ -26621,11 +26658,11 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26621
26658
  onSelect: p[0] || (p[0] = (v) => o("select", v)),
26622
26659
  onToggle: p[1] || (p[1] = (v) => o("toggle", v))
26623
26660
  }, null, 8, ["items", "model-value", "expanded-keys", "depth", "searching", "collapsed"])
26624
- ], 8, dD)) : F("", !0)
26661
+ ], 8, hD)) : F("", !0)
26625
26662
  ], 64))), 128);
26626
26663
  };
26627
26664
  }
26628
- }), pD = ["data-ui-top-nav-more", "data-ui-selected", "data-nav-toggle", "data-nav-item", "data-nav-contains-current", "disabled", "aria-current"], hD = { "data-nav-label": "" }, mD = ["disabled", "aria-current", "onClick"], vD = { "data-nav-label": "" }, rf = "size-[var(--ui-icon-size,18px)] shrink-0", af = "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[length:var(--ui-font-size-sm)] font-semibold leading-none text-[var(--ui-primary-foreground)]", sf = /* @__PURE__ */ z({
26665
+ }), vD = ["data-ui-top-nav-more", "data-ui-selected", "data-nav-toggle", "data-nav-item", "data-nav-contains-current", "disabled", "aria-current"], gD = { "data-nav-label": "" }, yD = ["disabled", "aria-current", "onClick"], bD = { "data-nav-label": "" }, rf = "size-[var(--ui-icon-size,18px)] shrink-0", af = "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[length:var(--ui-font-size-sm)] font-semibold leading-none text-[var(--ui-primary-foreground)]", sf = /* @__PURE__ */ z({
26629
26666
  __name: "AppTopNavItems",
26630
26667
  props: {
26631
26668
  items: {},
@@ -26683,12 +26720,12 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26683
26720
  "aria-current": !n.overflow && d.selectable && n.modelValue === d.key ? "page" : void 0,
26684
26721
  class: ee(l(!n.overflow && n.modelValue === d.key || r(d, n.modelValue)))
26685
26722
  }, [
26686
- d.icon ? (y(), D(ht(d.icon), {
26723
+ d.icon ? (y(), D(ut(d.icon), {
26687
26724
  key: 0,
26688
26725
  class: ee(rf),
26689
26726
  "aria-hidden": "true"
26690
26727
  })) : F("", !0),
26691
- ne("span", hD, Q(d.label), 1),
26728
+ ne("span", gD, Q(d.label), 1),
26692
26729
  d.badge !== void 0 ? (y(), E("span", {
26693
26730
  key: 1,
26694
26731
  "data-nav-badge": "",
@@ -26699,7 +26736,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26699
26736
  class: "size-3.5 shrink-0 text-[var(--ui-text-muted)]",
26700
26737
  "aria-hidden": "true"
26701
26738
  })
26702
- ], 10, pD)
26739
+ ], 10, vD)
26703
26740
  ]),
26704
26741
  _: 2
26705
26742
  }, 1032, ["items", "data-ui-top-nav-overflow-menu", "onSelect"])) : (y(), E("button", {
@@ -26712,21 +26749,21 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26712
26749
  class: ee(l(n.modelValue === d.key)),
26713
26750
  onClick: (p) => o("select", d)
26714
26751
  }, [
26715
- d.icon ? (y(), D(ht(d.icon), {
26752
+ d.icon ? (y(), D(ut(d.icon), {
26716
26753
  key: 0,
26717
26754
  class: ee(rf),
26718
26755
  "aria-hidden": "true"
26719
26756
  })) : F("", !0),
26720
- ne("span", vD, Q(d.label), 1),
26757
+ ne("span", bD, Q(d.label), 1),
26721
26758
  d.badge !== void 0 ? (y(), E("span", {
26722
26759
  key: 1,
26723
26760
  "data-nav-badge": "",
26724
26761
  class: ee(af)
26725
26762
  }, Q(d.badge), 1)) : F("", !0)
26726
- ], 10, mD))
26763
+ ], 10, yD))
26727
26764
  ], 64))), 128));
26728
26765
  }
26729
- }), gD = ["aria-label"], yD = ["aria-label", "aria-hidden", "inert"], bD = ["data-ui-overflowed", "aria-hidden", "inert"], wD = ["aria-hidden", "inert"], _D = /* @__PURE__ */ z({
26766
+ }), wD = ["aria-label"], _D = ["aria-label", "aria-hidden", "inert"], SD = ["data-ui-overflowed", "aria-hidden", "inert"], xD = ["aria-hidden", "inert"], kD = /* @__PURE__ */ z({
26730
26767
  __name: "AppTopNav",
26731
26768
  props: {
26732
26769
  groups: {},
@@ -26811,8 +26848,8 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26811
26848
  "model-value": n.modelValue,
26812
26849
  onSelect: A[0] || (A[0] = (N) => o("select", N))
26813
26850
  }, null, 8, ["items", "model-value"]))
26814
- ], 12, bD))), 128))
26815
- ], 14, yD))), 128)),
26851
+ ], 12, SD))), 128))
26852
+ ], 14, _D))), 128)),
26816
26853
  ne("div", {
26817
26854
  ref_key: "more",
26818
26855
  ref: a,
@@ -26829,14 +26866,14 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26829
26866
  overflow: "",
26830
26867
  onSelect: A[1] || (A[1] = (w) => o("select", w))
26831
26868
  }, null, 8, ["items", "model-value"]))
26832
- ], 12, wD)
26833
- ], 8, gD));
26869
+ ], 12, xD)
26870
+ ], 8, wD));
26834
26871
  }
26835
- }), SD = ["aria-label", "data-ui-sidebar-collapsed"], xD = ["aria-expanded", "onClick"], kD = {
26872
+ }), CD = ["aria-label", "data-ui-sidebar-collapsed"], PD = ["aria-expanded", "onClick"], AD = {
26836
26873
  key: 1,
26837
26874
  "data-nav-group-label": "",
26838
26875
  class: "flex h-6 items-center px-[11px] text-[12px] font-bold text-[var(--ui-text-secondary)]"
26839
- }, CD = /* @__PURE__ */ z({
26876
+ }, ED = /* @__PURE__ */ z({
26840
26877
  __name: "AppSidebar",
26841
26878
  props: {
26842
26879
  modelValue: {},
@@ -26899,7 +26936,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26899
26936
  function w(S) {
26900
26937
  S.disabled || (r("update:modelValue", S.key), r("select", S), b(S.key));
26901
26938
  }
26902
- return (S, k) => f(a) ? (y(), D(_D, {
26939
+ return (S, k) => f(a) ? (y(), D(kD, {
26903
26940
  key: 0,
26904
26941
  groups: f(o).groups,
26905
26942
  "model-value": f(o).modelValue,
@@ -26939,8 +26976,8 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26939
26976
  "aria-hidden": "true"
26940
26977
  }, null, 8, ["class"]),
26941
26978
  $e(" " + Q(P.label), 1)
26942
- ], 8, xD)) : P.label && !f(i) ? (y(), E("div", kD, Q(P.label), 1)) : F("", !0),
26943
- h(O) ? (y(), D(fD, {
26979
+ ], 8, PD)) : P.label && !f(i) ? (y(), E("div", AD, Q(P.label), 1)) : F("", !0),
26980
+ h(O) ? (y(), D(mD, {
26944
26981
  key: 2,
26945
26982
  items: N,
26946
26983
  "model-value": f(o).modelValue,
@@ -26952,15 +26989,15 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26952
26989
  onToggle: A
26953
26990
  }, null, 8, ["items", "model-value", "expanded-keys", "searching", "collapsed"])) : F("", !0)
26954
26991
  ], 2))), 128))
26955
- ], 8, SD));
26992
+ ], 8, CD));
26956
26993
  }
26957
- }), PD = {
26994
+ }), $D = {
26958
26995
  key: 0,
26959
26996
  class: "flex shrink-0 items-center gap-1.5"
26960
- }, AD = { class: "min-w-0 flex-1" }, ED = {
26997
+ }, OD = { class: "min-w-0 flex-1" }, TD = {
26961
26998
  key: 1,
26962
26999
  class: "ml-auto flex shrink-0 items-center gap-2"
26963
- }, $D = /* @__PURE__ */ z({
27000
+ }, ID = /* @__PURE__ */ z({
26964
27001
  __name: "AppToolbar",
26965
27002
  props: {
26966
27003
  height: { default: "var(--ui-toolbar-height)" }
@@ -26972,29 +27009,29 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26972
27009
  style: Le({ minHeight: e.height }),
26973
27010
  "data-syno-pkg-land-ui": ""
26974
27011
  }, [
26975
- t.$slots.leading ? (y(), E("div", PD, [
27012
+ t.$slots.leading ? (y(), E("div", $D, [
26976
27013
  R(t.$slots, "leading")
26977
27014
  ])) : F("", !0),
26978
- ne("div", AD, [
27015
+ ne("div", OD, [
26979
27016
  R(t.$slots, "default")
26980
27017
  ]),
26981
- t.$slots.actions ? (y(), E("div", ED, [
27018
+ t.$slots.actions ? (y(), E("div", TD, [
26982
27019
  R(t.$slots, "actions")
26983
27020
  ])) : F("", !0)
26984
27021
  ], 4));
26985
27022
  }
26986
- }), OD = { class: "min-w-0 flex-auto" }, TD = { class: "flex min-w-0 items-center gap-x-[var(--ui-space-3)]" }, ID = ["title"], RD = {
27023
+ }), RD = { class: "min-w-0 flex-auto" }, ND = { class: "flex min-w-0 items-center gap-x-[var(--ui-space-3)]" }, DD = ["title"], MD = {
26987
27024
  key: 0,
26988
27025
  "data-ui-page-header-meta": "",
26989
27026
  class: "flex shrink-0 items-center gap-2 whitespace-nowrap"
26990
- }, ND = {
27027
+ }, zD = {
26991
27028
  key: 0,
26992
27029
  class: "mt-1 max-w-3xl [contain:inline-size] text-[13px] leading-5 text-[var(--ui-text-secondary)]"
26993
- }, DD = {
27030
+ }, FD = {
26994
27031
  key: 0,
26995
27032
  "data-ui-page-header-actions": "",
26996
27033
  class: "ml-auto flex max-w-full shrink-0 flex-wrap items-center justify-end gap-2 [&>*]:w-auto [&>*]:shrink-0"
26997
- }, MD = /* @__PURE__ */ z({
27034
+ }, qD = /* @__PURE__ */ z({
26998
27035
  __name: "PageHeader",
26999
27036
  props: {
27000
27037
  title: {},
@@ -27007,24 +27044,24 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27007
27044
  class: ee([e.sticky && "sticky top-0 z-[2] bg-[var(--ui-page-header-bg,var(--ui-surface))]", "flex flex-wrap items-start gap-x-[var(--ui-space-6)] gap-y-[var(--ui-space-2)] px-[var(--ui-page-padding-x)] pt-[var(--ui-page-padding-y)] pb-[var(--ui-space-3)]"]),
27008
27045
  "data-syno-pkg-land-ui": ""
27009
27046
  }, [
27010
- ne("div", OD, [
27011
- ne("div", TD, [
27047
+ ne("div", RD, [
27048
+ ne("div", ND, [
27012
27049
  ne("h1", {
27013
27050
  class: "m-0 min-w-0 truncate text-[length:var(--ui-font-size-title)] [font-weight:var(--ui-heading-weight,600)] tracking-[-0.01em] text-[var(--ui-text)]",
27014
27051
  title: e.title
27015
- }, Q(e.title), 9, ID),
27016
- t.$slots.meta ? (y(), E("div", RD, [
27052
+ }, Q(e.title), 9, DD),
27053
+ t.$slots.meta ? (y(), E("div", MD, [
27017
27054
  R(t.$slots, "meta")
27018
27055
  ])) : F("", !0)
27019
27056
  ]),
27020
- e.description ? (y(), E("p", ND, Q(e.description), 1)) : F("", !0)
27057
+ e.description ? (y(), E("p", zD, Q(e.description), 1)) : F("", !0)
27021
27058
  ]),
27022
- t.$slots.actions ? (y(), E("div", DD, [
27059
+ t.$slots.actions ? (y(), E("div", FD, [
27023
27060
  R(t.$slots, "actions")
27024
27061
  ])) : F("", !0)
27025
27062
  ], 2));
27026
27063
  }
27027
- }), zD = ["data-width", "data-height", "data-page-surface"], FD = /* @__PURE__ */ z({
27064
+ }), LD = ["data-width", "data-height", "data-page-surface"], BD = /* @__PURE__ */ z({
27028
27065
  __name: "PageContent",
27029
27066
  props: {
27030
27067
  width: { default: "fill" },
@@ -27054,13 +27091,13 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27054
27091
  }, [
27055
27092
  R(r.$slots, "default")
27056
27093
  ], 6)
27057
- ], 14, zD));
27094
+ ], 14, LD));
27058
27095
  }
27059
- }), qD = ["aria-label", "data-overflow-start", "data-overflow-end"], LD = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], BD = {
27096
+ }), VD = ["aria-label", "data-overflow-start", "data-overflow-end"], jD = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], UD = {
27060
27097
  key: 0,
27061
27098
  class: "ui-section-tabs-actions",
27062
27099
  "data-ui-section-tabs-actions": ""
27063
- }, VD = ["data-state", "data-ui-swapped"], jD = ["data-ui-swapped"], UD = /* @__PURE__ */ z({
27100
+ }, WD = ["data-state", "data-ui-swapped"], KD = ["data-ui-swapped"], ZD = /* @__PURE__ */ z({
27064
27101
  inheritAttrs: !1,
27065
27102
  __name: "SectionTabs",
27066
27103
  props: {
@@ -27082,9 +27119,9 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27082
27119
  const m = d[h.key], v = Array.from(a.value?.querySelectorAll("[data-ui-tab-value]:not(:disabled)") ?? []), g = v.indexOf(h.target);
27083
27120
  !m || g < 0 || (h.preventDefault(), v[m(g, v.length)]?.focus());
27084
27121
  }
27085
- return (h, m) => (y(), D(ht(r.fill ? "div" : n), ut(mt(r.fill ? { class: "ui-section-tabs-fill", "data-ui-section-tabs-fill": "", "data-syno-pkg-land-ui": "" } : {})), {
27122
+ return (h, m) => (y(), D(ut(r.fill ? "div" : n), ct(mt(r.fill ? { class: "ui-section-tabs-fill", "data-ui-section-tabs-fill": "", "data-syno-pkg-land-ui": "" } : {})), {
27086
27123
  default: T(() => [
27087
- (y(), D(ht(h.$slots.actions ? "div" : n), ut(mt(h.$slots.actions ? { class: "ui-section-tabs-row", "data-ui-section-tabs-row": "", "data-syno-pkg-land-ui": "" } : {})), {
27124
+ (y(), D(ut(h.$slots.actions ? "div" : n), ct(mt(h.$slots.actions ? { class: "ui-section-tabs-row", "data-ui-section-tabs-row": "", "data-syno-pkg-land-ui": "" } : {})), {
27088
27125
  default: T(() => [
27089
27126
  ne("nav", le({
27090
27127
  ref_key: "bar",
@@ -27106,14 +27143,14 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27106
27143
  r.modelValue === v.value ? "text-[var(--ui-primary)]" : "text-[var(--ui-text)] enabled:hover:bg-[var(--ui-surface-hover)] enabled:hover:text-[var(--ui-text)]"
27107
27144
  ]),
27108
27145
  onClick: (g) => i("update:modelValue", v.value)
27109
- }, Q(v.label), 11, LD))), 128)),
27146
+ }, Q(v.label), 11, jD))), 128)),
27110
27147
  ne("span", {
27111
27148
  class: "ui-tab-indicator",
27112
27149
  style: Le(f(s)),
27113
27150
  "aria-hidden": "true"
27114
27151
  }, null, 4)
27115
- ], 16, qD),
27116
- h.$slots.actions ? (y(), E("div", BD, [
27152
+ ], 16, VD),
27153
+ h.$slots.actions ? (y(), E("div", UD, [
27117
27154
  R(h.$slots, "actions")
27118
27155
  ])) : F("", !0)
27119
27156
  ]),
@@ -27130,7 +27167,7 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27130
27167
  "data-syno-pkg-land-ui": ""
27131
27168
  }, [
27132
27169
  R(h.$slots, `panel-${v.value}`)
27133
- ], 8, VD)), [
27170
+ ], 8, WD)), [
27134
27171
  [Br, r.modelValue === v.value]
27135
27172
  ]) : F("", !0)
27136
27173
  ], 64))), 128)) : h.$slots[`panel-${r.modelValue}`] ? (y(), E("div", {
@@ -27140,12 +27177,12 @@ const BN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27140
27177
  "data-syno-pkg-land-ui": ""
27141
27178
  }, [
27142
27179
  R(h.$slots, `panel-${r.modelValue}`)
27143
- ], 8, jD)) : F("", !0)
27180
+ ], 8, KD)) : F("", !0)
27144
27181
  ]),
27145
27182
  _: 3
27146
27183
  }, 16));
27147
27184
  }
27148
- }), WD = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), KD = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
27185
+ }), HD = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), GD = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
27149
27186
  function ea(e) {
27150
27187
  if (typeof e != "object" || e === null || Array.isArray(e)) return !1;
27151
27188
  const t = Object.getPrototypeOf(e);
@@ -27157,18 +27194,18 @@ function ta(e, t) {
27157
27194
  function yl(e, t, n) {
27158
27195
  e[t] = n;
27159
27196
  }
27160
- function ZD(e) {
27197
+ function JD(e) {
27161
27198
  return Reflect.ownKeys(e).filter((t) => ta(e, t) !== void 0);
27162
27199
  }
27163
27200
  function bl(e, t) {
27164
27201
  const n = { ...e };
27165
- for (const o of ZD(t)) {
27202
+ for (const o of JD(t)) {
27166
27203
  const r = ta(t, o), i = ta(n, o);
27167
27204
  ea(i) && ea(r) ? yl(n, o, bl(i, r)) : yl(n, o, r);
27168
27205
  }
27169
27206
  return n;
27170
27207
  }
27171
- function HD(e) {
27208
+ function YD(e) {
27172
27209
  const t = {};
27173
27210
  for (const n of Reflect.ownKeys(e)) {
27174
27211
  const o = ta(e, n);
@@ -27177,15 +27214,15 @@ function HD(e) {
27177
27214
  return t;
27178
27215
  }
27179
27216
  function fv(e, t, n = {}) {
27180
- const o = Be(KD, null), r = Be(WD, null);
27217
+ const o = Be(GD, null), r = Be(HD, null);
27181
27218
  return C(() => {
27182
27219
  const i = [n, r?.value?.[e], o?.value?.[e]];
27183
27220
  let a = {};
27184
27221
  for (const s of i) s && (a = bl(a, s));
27185
- return bl(a, HD(t));
27222
+ return bl(a, YD(t));
27186
27223
  });
27187
27224
  }
27188
- const GD = ["data-layout-direction"], JD = /* @__PURE__ */ z({
27225
+ const XD = ["data-layout-direction"], QD = /* @__PURE__ */ z({
27189
27226
  __name: "Form",
27190
27227
  props: {
27191
27228
  rules: {},
@@ -27265,12 +27302,12 @@ const GD = ["data-layout-direction"], JD = /* @__PURE__ */ z({
27265
27302
  "data-ui-form": "",
27266
27303
  "data-layout-direction": c.value,
27267
27304
  "data-syno-pkg-land-ui": "",
27268
- onSubmit: ft(S, ["prevent"])
27305
+ onSubmit: pt(S, ["prevent"])
27269
27306
  }, [
27270
27307
  R(k.$slots, "default")
27271
- ], 44, GD));
27308
+ ], 44, XD));
27272
27309
  }
27273
- }), YD = "blur", XD = {
27310
+ }), eM = "blur", tM = {
27274
27311
  string: "Value must be a string",
27275
27312
  number: "Value must be a number",
27276
27313
  integer: "Value must be an integer",
@@ -27283,15 +27320,15 @@ const GD = ["data-layout-direction"], JD = /* @__PURE__ */ z({
27283
27320
  function wl(e) {
27284
27321
  return e ? Array.isArray(e) ? [...e] : [e] : [];
27285
27322
  }
27286
- function QD(e, t) {
27323
+ function nM(e, t) {
27287
27324
  return e == null ? !0 : t === "array" || Array.isArray(e) ? Array.isArray(e) && e.length === 0 : typeof e == "string" ? e.trim() === "" : !1;
27288
27325
  }
27289
- function eM(e) {
27326
+ function oM(e) {
27290
27327
  if (typeof e == "string" || Array.isArray(e)) return e.length;
27291
27328
  if (typeof e == "number") return e;
27292
27329
  if (e instanceof Date) return e.getTime();
27293
27330
  }
27294
- function tM(e, t) {
27331
+ function rM(e, t) {
27295
27332
  switch (t) {
27296
27333
  case "string":
27297
27334
  return typeof e == "string";
@@ -27316,13 +27353,13 @@ function tM(e, t) {
27316
27353
  return e instanceof Date && !Number.isNaN(e.getTime());
27317
27354
  }
27318
27355
  }
27319
- function nM(e) {
27356
+ function iM(e) {
27320
27357
  return typeof e == "object" && e !== null && typeof e.then == "function";
27321
27358
  }
27322
27359
  function br(e, t) {
27323
27360
  return e instanceof Error ? e.message : typeof e == "string" ? e : t("Value does not match the expected format");
27324
27361
  }
27325
- async function oM(e, t, n) {
27362
+ async function aM(e, t, n) {
27326
27363
  const o = e.validator ?? e.asyncValidator;
27327
27364
  if (!o) return null;
27328
27365
  let r = null, i = !1;
@@ -27335,7 +27372,7 @@ async function oM(e, t, n) {
27335
27372
  } catch (l) {
27336
27373
  return i ? r : br(l, n);
27337
27374
  }
27338
- if (nM(s))
27375
+ if (iM(s))
27339
27376
  try {
27340
27377
  const l = await s;
27341
27378
  i || (r = l === !0 || l === void 0 || l === null ? null : br(l, n));
@@ -27345,35 +27382,35 @@ async function oM(e, t, n) {
27345
27382
  else !i && s !== void 0 && s !== !0 && (r = s === !1 ? e.message ?? n("Value does not match the expected format") : br(s, n));
27346
27383
  return r;
27347
27384
  }
27348
- async function rM(e, t, n) {
27385
+ async function sM(e, t, n) {
27349
27386
  const o = e.transform ? e.transform(t) : t;
27350
- if (QD(o, e.type))
27387
+ if (nM(o, e.type))
27351
27388
  return e.required ? e.message ?? n("Value is required") : null;
27352
- if (e.type && !tM(o, e.type)) return e.message ?? n(XD[e.type]);
27353
- const r = eM(o);
27354
- return e.len !== void 0 && r !== e.len ? e.message ?? n("Value must be exactly {len} characters", { len: e.len }) : e.min !== void 0 && r !== void 0 && r < e.min ? e.message ?? n("Value must be at least {min}", { min: e.min }) : e.max !== void 0 && r !== void 0 && r > e.max ? e.message ?? n("Value must be at most {max}", { max: e.max }) : e.pattern && (e.pattern.lastIndex = 0, !e.pattern.test(String(o))) ? e.message ?? n("Value does not match the expected format") : e.enum && !e.enum.includes(o) ? e.message ?? n("Value is not one of the allowed options") : oM(e, o, n);
27389
+ if (e.type && !rM(o, e.type)) return e.message ?? n(tM[e.type]);
27390
+ const r = oM(o);
27391
+ return e.len !== void 0 && r !== e.len ? e.message ?? n("Value must be exactly {len} characters", { len: e.len }) : e.min !== void 0 && r !== void 0 && r < e.min ? e.message ?? n("Value must be at least {min}", { min: e.min }) : e.max !== void 0 && r !== void 0 && r > e.max ? e.message ?? n("Value must be at most {max}", { max: e.max }) : e.pattern && (e.pattern.lastIndex = 0, !e.pattern.test(String(o))) ? e.message ?? n("Value does not match the expected format") : e.enum && !e.enum.includes(o) ? e.message ?? n("Value is not one of the allowed options") : aM(e, o, n);
27355
27392
  }
27356
- function iM(e, t) {
27393
+ function lM(e, t) {
27357
27394
  return e.trigger ? Array.isArray(e.trigger) ? e.trigger : [e.trigger] : [t];
27358
27395
  }
27359
- async function aM(e, t, n = {}) {
27360
- const o = n.defaultTrigger ?? YD, r = n.trigger ?? null, i = n.text ?? ((a, s) => Gh("en", a, s));
27396
+ async function uM(e, t, n = {}) {
27397
+ const o = n.defaultTrigger ?? eM, r = n.trigger ?? null, i = n.text ?? ((a, s) => Gh("en", a, s));
27361
27398
  for (const a of wl(t)) {
27362
- if (r !== null && !iM(a, o).includes(r)) continue;
27363
- const s = await rM(a, e, i);
27399
+ if (r !== null && !lM(a, o).includes(r)) continue;
27400
+ const s = await sM(a, e, i);
27364
27401
  if (s) return s;
27365
27402
  }
27366
27403
  return null;
27367
27404
  }
27368
- const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"], uM = {
27405
+ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"], fM = {
27369
27406
  key: 0,
27370
27407
  class: "ml-0.5 text-[var(--ui-danger)]",
27371
27408
  "aria-hidden": "true"
27372
- }, cM = { class: "flex items-start gap-2" }, dM = {
27409
+ }, pM = { class: "flex items-start gap-2" }, hM = {
27373
27410
  key: 0,
27374
27411
  class: "flex min-h-[var(--ui-control-md)] shrink-0 items-center",
27375
27412
  "data-field-after": ""
27376
- }, fM = ["id"], pM = ["id"], hM = /* @__PURE__ */ z({
27413
+ }, mM = ["id"], vM = ["id"], gM = /* @__PURE__ */ z({
27377
27414
  __name: "FormItem",
27378
27415
  props: {
27379
27416
  modelValue: {},
@@ -27497,7 +27534,7 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27497
27534
  if (!fe.length) return null;
27498
27535
  const Ee = ++x;
27499
27536
  N.value = "validating", i("validating");
27500
- const Fe = await aM(_.value, fe, {
27537
+ const Fe = await uM(_.value, fe, {
27501
27538
  trigger: Y,
27502
27539
  defaultTrigger: s.value.defaultValidateTrigger,
27503
27540
  text: o
@@ -27637,13 +27674,13 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27637
27674
  R(Y.$slots, "label", {}, () => [
27638
27675
  $e(Q(f(s).label), 1)
27639
27676
  ]),
27640
- f(s).requiredMark ? (y(), E("span", uM, "*")) : F("", !0)
27641
- ], 8, lM)
27677
+ f(s).requiredMark ? (y(), E("span", fM, "*")) : F("", !0)
27678
+ ], 8, dM)
27642
27679
  ], 6)) : F("", !0),
27643
27680
  ne("div", {
27644
27681
  class: ee(["relative min-w-0 flex-1", f(s).disableControl ? "opacity-40" : void 0])
27645
27682
  }, [
27646
- ne("div", cM, [
27683
+ ne("div", pM, [
27647
27684
  R(Y.$slots, "before"),
27648
27685
  ne("div", {
27649
27686
  class: ee(["min-w-0 flex-1", f(s).textOnly && "py-1 break-words text-[13px] leading-5 text-[var(--ui-text)]"]),
@@ -27652,7 +27689,7 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27652
27689
  }, [
27653
27690
  R(Y.$slots, "default", { field: Se })
27654
27691
  ], 6),
27655
- Y.$slots.after ? (y(), E("div", dM, [
27692
+ Y.$slots.after ? (y(), E("div", hM, [
27656
27693
  R(Y.$slots, "after", { classes: Oe })
27657
27694
  ])) : F("", !0)
27658
27695
  ]),
@@ -27667,7 +27704,7 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27667
27704
  R(Y.$slots, "description", {}, () => [
27668
27705
  $e(Q(f(s).description), 1)
27669
27706
  ])
27670
- ], 10, fM)) : F("", !0),
27707
+ ], 10, mM)) : F("", !0),
27671
27708
  Re.value ? (y(), E("div", {
27672
27709
  key: 1,
27673
27710
  id: h.message,
@@ -27677,9 +27714,9 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27677
27714
  R(Y.$slots, "status", { field: Se }, () => [
27678
27715
  $e(Q(Re.value), 1)
27679
27716
  ])
27680
- ], 10, pM)) : F("", !0)
27717
+ ], 10, vM)) : F("", !0)
27681
27718
  ], 2)
27682
- ], 46, sM));
27719
+ ], 46, cM));
27683
27720
  }
27684
27721
  }), pv = Ql(() => pe({
27685
27722
  key: U(),
@@ -27693,7 +27730,7 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27693
27730
  label: U(),
27694
27731
  value: U(),
27695
27732
  disabled: Pe().optional()
27696
- }), mM = _l.extend({
27733
+ }), yM = _l.extend({
27697
27734
  description: U().optional()
27698
27735
  }), lf = pe({
27699
27736
  key: U(),
@@ -27702,7 +27739,7 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27702
27739
  /** Sets the alignment: DSM keeps every column left; number and date digits get one width. */
27703
27740
  type: Ie(["text", "number", "date", "actions"]).optional(),
27704
27741
  align: Ie(["left", "center", "right"]).optional()
27705
- }), vM = {
27742
+ }), bM = {
27706
27743
  AppRoot: {
27707
27744
  props: pe({
27708
27745
  modalScope: Ie(["document", "app"]).optional()
@@ -27847,7 +27884,7 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27847
27884
  RadioGroup: {
27848
27885
  props: pe({
27849
27886
  value: U().optional(),
27850
- options: it(mM),
27887
+ options: it(yM),
27851
27888
  orientation: Ie(["vertical", "horizontal"]).optional(),
27852
27889
  disabled: Pe().optional()
27853
27890
  }),
@@ -27973,7 +28010,7 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27973
28010
  DataTable: {
27974
28011
  props: pe({
27975
28012
  columns: it(lf),
27976
- rows: it(dt(U(), gt())),
28013
+ rows: it(ft(U(), gt())),
27977
28014
  rowKey: U().optional(),
27978
28015
  emptyText: U().optional(),
27979
28016
  compact: Pe().optional(),
@@ -27984,7 +28021,7 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
27984
28021
  ResourceList: {
27985
28022
  props: pe({
27986
28023
  columns: it(lf),
27987
- rows: it(dt(U(), gt())),
28024
+ rows: it(ft(U(), gt())),
27988
28025
  rowKey: U().optional(),
27989
28026
  emptyText: U().optional(),
27990
28027
  compact: Pe().optional(),
@@ -28032,17 +28069,17 @@ const sM = ["data-direction", "data-inset", "data-status"], lM = ["id", "for"],
28032
28069
  props: pe({ text: U().optional() }),
28033
28070
  description: "Centered loading state for a page or bounded region."
28034
28071
  }
28035
- }, gM = wk(Sk, {
28036
- components: vM,
28072
+ }, wM = wk(Sk, {
28073
+ components: bM,
28037
28074
  actions: {}
28038
- }), yM = {
28075
+ }), _M = {
28039
28076
  none: "0",
28040
28077
  xs: "var(--ui-space-1)",
28041
28078
  sm: "var(--ui-space-2)",
28042
28079
  md: "var(--ui-space-3)",
28043
28080
  lg: "var(--ui-space-4)"
28044
- }, bM = { start: "flex-start", center: "center", end: "flex-end", stretch: "stretch" }, wM = { start: "flex-start", center: "center", end: "flex-end", between: "space-between" };
28045
- function _M(e) {
28081
+ }, SM = { start: "flex-start", center: "center", end: "flex-end", stretch: "stretch" }, xM = { start: "flex-start", center: "center", end: "flex-end", between: "space-between" };
28082
+ function kM(e) {
28046
28083
  return { default: () => e };
28047
28084
  }
28048
28085
  function Sl(e) {
@@ -28055,27 +28092,27 @@ function hv(e) {
28055
28092
  children: e.children?.map(hv)
28056
28093
  };
28057
28094
  }
28058
- function SM(e) {
28095
+ function CM(e) {
28059
28096
  return e.map((t) => ({ ...t, items: t.items.map(hv) }));
28060
28097
  }
28061
- const xM = {
28062
- AppRoot: ({ props: e, slots: t }) => ce(zN, { modalScope: e.modalScope }, t),
28063
- AppShell: ({ props: e, slots: t }) => ce(oD, {
28098
+ const PM = {
28099
+ AppRoot: ({ props: e, slots: t }) => ce(LN, { modalScope: e.modalScope }, t),
28100
+ AppShell: ({ props: e, slots: t }) => ce(aD, {
28064
28101
  sidebarWidth: e.sidebarWidth,
28065
28102
  minHeight: e.minHeight,
28066
28103
  responsive: e.responsive,
28067
28104
  wideLayout: e.wideLayout,
28068
28105
  navigation: e.navigation
28069
28106
  }, t),
28070
- ResponsiveView: ({ props: e, slots: t }) => ce(rD, { mode: e.mode }, t),
28071
- Page: ({ props: e, slots: t }) => ce(FD, { width: e.width ?? "fill", surface: e.surface }, t),
28072
- PageHeader: ({ props: e, slots: t }) => ce(MD, e, t),
28073
- Toolbar: ({ props: e, slots: t }) => ce($D, e, t),
28107
+ ResponsiveView: ({ props: e, slots: t }) => ce(sD, { mode: e.mode }, t),
28108
+ Page: ({ props: e, slots: t }) => ce(BD, { width: e.width ?? "fill", surface: e.surface }, t),
28109
+ PageHeader: ({ props: e, slots: t }) => ce(qD, e, t),
28110
+ Toolbar: ({ props: e, slots: t }) => ce(ID, e, t),
28074
28111
  SidebarNav: ({ props: e, bindings: t, emit: n }) => {
28075
28112
  const [o, r] = fn(e.value, t?.value);
28076
- return ce(CD, {
28113
+ return ce(ED, {
28077
28114
  modelValue: o,
28078
- groups: SM(e.groups),
28115
+ groups: CM(e.groups),
28079
28116
  searchable: e.searchable,
28080
28117
  collapsible: e.collapsible,
28081
28118
  searchPlaceholder: e.searchPlaceholder,
@@ -28086,7 +28123,7 @@ const xM = {
28086
28123
  },
28087
28124
  Tabs: ({ props: e, bindings: t, emit: n }) => {
28088
28125
  const [o, r] = fn(e.value, t?.value);
28089
- return ce(UD, {
28126
+ return ce(ZD, {
28090
28127
  modelValue: o ?? "",
28091
28128
  items: e.items,
28092
28129
  ariaLabel: e.ariaLabel,
@@ -28100,9 +28137,9 @@ const xM = {
28100
28137
  style: {
28101
28138
  display: "flex",
28102
28139
  flexDirection: e.direction ?? "column",
28103
- gap: yM[e.gap ?? "md"],
28104
- alignItems: bM[e.align ?? "stretch"],
28105
- justifyContent: wM[e.justify ?? "start"],
28140
+ gap: _M[e.gap ?? "md"],
28141
+ alignItems: SM[e.align ?? "stretch"],
28142
+ justifyContent: xM[e.justify ?? "start"],
28106
28143
  flexWrap: e.wrap ? "wrap" : "nowrap"
28107
28144
  }
28108
28145
  }, t),
@@ -28186,12 +28223,12 @@ const xM = {
28186
28223
  }
28187
28224
  });
28188
28225
  },
28189
- Form: ({ props: e, slots: t, emit: n }) => ce(JD, {
28226
+ Form: ({ props: e, slots: t, emit: n }) => ce(QD, {
28190
28227
  direction: e.direction,
28191
28228
  fieldWidth: e.fieldWidth,
28192
28229
  onSubmit: () => n("submit")
28193
28230
  }, t),
28194
- Field: ({ props: e, slots: t }) => ce(hM, {
28231
+ Field: ({ props: e, slots: t }) => ce(gM, {
28195
28232
  label: e.label,
28196
28233
  description: e.description,
28197
28234
  help: e.help,
@@ -28220,7 +28257,7 @@ const xM = {
28220
28257
  Surface: ({ props: e, slots: t }) => ce(Qm, e, t),
28221
28258
  Card: ({ props: e, bindings: t, slots: n, emit: o }) => {
28222
28259
  const [r, i] = fn(e.expanded, t?.expanded);
28223
- return ce(SN, {
28260
+ return ce(CN, {
28224
28261
  title: e.title,
28225
28262
  layoutType: e.layoutType,
28226
28263
  expandable: e.expandable,
@@ -28231,7 +28268,7 @@ const xM = {
28231
28268
  }
28232
28269
  }, n);
28233
28270
  },
28234
- Callout: ({ props: e, slots: t, emit: n }) => ce(hR, {
28271
+ Callout: ({ props: e, slots: t, emit: n }) => ce(gR, {
28235
28272
  tone: e.tone,
28236
28273
  variant: e.variant,
28237
28274
  title: e.title,
@@ -28241,13 +28278,13 @@ const xM = {
28241
28278
  fill: e.fill,
28242
28279
  onClose: () => n("close")
28243
28280
  }, t),
28244
- EmptyState: ({ props: e, slots: t }) => ce(wR, {
28281
+ EmptyState: ({ props: e, slots: t }) => ce(xR, {
28245
28282
  title: e.title,
28246
28283
  description: e.description,
28247
28284
  icon: Sl(e.icon)
28248
28285
  }, t),
28249
28286
  Progress: ({ props: e }) => ce(Ym, e),
28250
- Badge: ({ props: e }) => ce(vT, { tone: e.tone }, _M(e.text)),
28287
+ Badge: ({ props: e }) => ce(vT, { tone: e.tone }, kM(e.text)),
28251
28288
  Dialog: ({ props: e, bindings: t, slots: n, emit: o }) => {
28252
28289
  const [r, i] = fn(e.open, t?.open);
28253
28290
  return ce(_I, {
@@ -28267,14 +28304,14 @@ const xM = {
28267
28304
  t.toolbar ? ce("div", { class: "mb-3 flex flex-wrap items-center gap-2" }, t.toolbar()) : null,
28268
28305
  ce(ef, e)
28269
28306
  ]),
28270
- CellText: ({ props: e, emit: t }) => ce(tN, { ...e, onOpen: () => t("open") }),
28271
- CellStatus: ({ props: e }) => ce(aN, e),
28272
- ListItem: ({ props: e, slots: t }) => ce(gN, e, t),
28307
+ CellText: ({ props: e, emit: t }) => ce(rN, { ...e, onOpen: () => t("open") }),
28308
+ CellStatus: ({ props: e }) => ce(uN, e),
28309
+ ListItem: ({ props: e, slots: t }) => ce(wN, e, t),
28273
28310
  InputGroup: ({ slots: e }) => ce(GC, null, e),
28274
28311
  Loading: ({ props: e }) => ce(xT, { text: e.text })
28275
- }, { registry: uf } = jk(gM, {
28276
- components: xM
28277
- }), kM = /* @__PURE__ */ z({
28312
+ }, { registry: uf } = jk(wM, {
28313
+ components: PM
28314
+ }), AM = /* @__PURE__ */ z({
28278
28315
  __name: "SynoJsonRenderer",
28279
28316
  props: {
28280
28317
  spec: {},
@@ -28318,18 +28355,18 @@ function Oi(e) {
28318
28355
  return t.overflowX && t.overflowX !== "visible" ? t.overflowX : t.overflow.split(" ")[0] || "visible";
28319
28356
  }
28320
28357
  const mv = (e) => e.closest("[data-jr-key]")?.getAttribute("data-jr-key") ?? void 0;
28321
- function CM(e, t) {
28358
+ function EM(e, t) {
28322
28359
  for (let n = e.parentElement; n && t.contains(n); n = n.parentElement)
28323
28360
  if (Oi(n) !== "visible") return n;
28324
28361
  }
28325
- function PM(e, t, n) {
28362
+ function $M(e, t, n) {
28326
28363
  if (e.closest("[inert]")) return;
28327
28364
  const o = e.getBoundingClientRect();
28328
28365
  if (o.width <= 1) return;
28329
28366
  const r = Oi(e);
28330
28367
  if ((r === "hidden" || r === "clip") && e.scrollWidth > e.clientWidth + 1 && getComputedStyle(e).textOverflow !== "ellipsis")
28331
28368
  return { kind: "clipped_content", detail: `content is ${e.scrollWidth - e.clientWidth}px wider than its box and is cut off` };
28332
- const i = CM(e, t);
28369
+ const i = EM(e, t);
28333
28370
  if (i) {
28334
28371
  if (Oi(i) === "auto" || Oi(i) === "scroll") return;
28335
28372
  const s = i.getBoundingClientRect(), l = Math.max(o.right - s.right, s.left - o.left), c = mv(i);
@@ -28338,25 +28375,25 @@ function PM(e, t, n) {
28338
28375
  const a = Math.max(o.right - n, -o.left);
28339
28376
  return a > 1 ? { kind: "outside_viewport", detail: `extends ${Math.round(a)}px past the ${n}px viewport` } : void 0;
28340
28377
  }
28341
- function AM(e, t) {
28342
- const n = [...e.querySelectorAll("*")].map((i) => ({ element: i, finding: PM(i, e, t) })).filter((i) => !!i.finding), o = n.filter((i) => !n.some((a) => a !== i && a.finding.kind === i.finding.kind && i.element.contains(a.element))), r = /* @__PURE__ */ new Map();
28378
+ function OM(e, t) {
28379
+ const n = [...e.querySelectorAll("*")].map((i) => ({ element: i, finding: $M(i, e, t) })).filter((i) => !!i.finding), o = n.filter((i) => !n.some((a) => a !== i && a.finding.kind === i.finding.kind && i.element.contains(a.element))), r = /* @__PURE__ */ new Map();
28343
28380
  for (const { element: i, finding: a } of o) {
28344
28381
  const s = mv(i), l = `${a.kind}:${s ?? ""}`;
28345
28382
  r.has(l) || r.set(l, { ...a, key: s });
28346
28383
  }
28347
28384
  return [...r.values()];
28348
28385
  }
28349
- function EM(e, t) {
28386
+ function TM(e, t) {
28350
28387
  const n = Object.hasOwn(e, t) ? e[t] : t.split(".").reduce((o, r) => o?.[r], e);
28351
28388
  return typeof n == "string" ? n : t;
28352
28389
  }
28353
- const $M = () => new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e)));
28354
- async function OM() {
28390
+ const IM = () => new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e)));
28391
+ async function RM() {
28355
28392
  const e = await (await fetch("/config.json")).json();
28356
28393
  Hx();
28357
- const t = document.getElementById("app"), n = ({ key: o }) => EM(e.messages ?? {}, String(o));
28394
+ const t = document.getElementById("app"), n = ({ key: o }) => TM(e.messages ?? {}, String(o));
28358
28395
  return Ny({
28359
- render: () => ce(kM, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
28360
- }).mount(t), await ze(), await document.fonts.ready, await $M(), { issues: () => AM(t, innerWidth) };
28396
+ render: () => ce(AM, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
28397
+ }).mount(t), await ze(), await document.fonts.ready, await IM(), { issues: () => OM(t, innerWidth) };
28361
28398
  }
28362
- window.synoPreview = OM();
28399
+ window.synoPreview = RM();