@synopackageland/ui 0.17.4 → 0.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +42 -1
- package/dist/components/app/section-tabs/SectionTabs.vue.d.ts +4 -2
- package/dist/components/composite/stacked-bar/StackedBar.vue.d.ts +31 -0
- package/dist/components/composite/stat-tile/StatTile.vue.d.ts +42 -0
- package/dist/components/composite/stat-tile/StatTileGroup.vue.d.ts +30 -0
- package/dist/i18n/text.d.ts +2 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +6913 -6698
- package/dist/json-preview/preview.js +672 -642
- package/dist/reka-runtime.json +1 -1
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/button-policy.md +1 -0
- package/docs/layout-rules.md +2 -0
- package/docs/size-and-split.md +45 -4
- package/docs/theme-hooks.md +5 -0
- package/package.json +2 -2
|
@@ -15,13 +15,13 @@ const Te = {}, bo = [], mn = () => {
|
|
|
15
15
|
), oa = (e) => {
|
|
16
16
|
const t = /* @__PURE__ */ Object.create(null);
|
|
17
17
|
return ((n) => t[n] || (t[n] = e(n)));
|
|
18
|
-
}, Xm = /-\w/g,
|
|
18
|
+
}, Xm = /-\w/g, dt = oa(
|
|
19
19
|
(e) => e.replace(Xm, (t) => t.slice(1).toUpperCase())
|
|
20
20
|
), Qm = /\B([A-Z])/g, Fn = oa(
|
|
21
21
|
(e) => e.replace(Qm, "-$1").toLowerCase()
|
|
22
22
|
), ra = oa((e) => e.charAt(0).toUpperCase() + e.slice(1)), Cr = oa(
|
|
23
23
|
(e) => e ? `on${ra(e)}` : ""
|
|
24
|
-
),
|
|
24
|
+
), ut = (e, t) => !Object.is(e, t), _i = (e, ...t) => {
|
|
25
25
|
for (let n = 0; n < e.length; n++)
|
|
26
26
|
e[n](...t);
|
|
27
27
|
}, Zd = (e, t, n, o = !1) => {
|
|
@@ -74,7 +74,7 @@ function oe(e) {
|
|
|
74
74
|
e[n] && (t += n + " ");
|
|
75
75
|
return t.trim();
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function lt(e) {
|
|
78
78
|
if (!e) return null;
|
|
79
79
|
let { class: t, style: n } = e;
|
|
80
80
|
return t && !Ue(t) && (e.class = oe(t)), n && (e.style = ze(n)), e;
|
|
@@ -372,7 +372,7 @@ function rf(e) {
|
|
|
372
372
|
try {
|
|
373
373
|
nf(e);
|
|
374
374
|
const r = e.fn(e._value);
|
|
375
|
-
(t.version === 0 ||
|
|
375
|
+
(t.version === 0 || ut(r, e._value)) && (e.flags |= 128, e._value = r, t.version++);
|
|
376
376
|
} catch (r) {
|
|
377
377
|
throw t.version++, r;
|
|
378
378
|
} finally {
|
|
@@ -746,7 +746,7 @@ class cf extends uf {
|
|
|
746
746
|
o,
|
|
747
747
|
/* @__PURE__ */ Ke(t) ? t : r
|
|
748
748
|
);
|
|
749
|
-
return t === /* @__PURE__ */ Ie(r) && l && (s ?
|
|
749
|
+
return t === /* @__PURE__ */ Ie(r) && l && (s ? ut(o, i) && An(t, "set", n, o) : An(t, "add", n, o)), l;
|
|
750
750
|
}
|
|
751
751
|
deleteProperty(t, n) {
|
|
752
752
|
const o = De(t, n);
|
|
@@ -810,7 +810,7 @@ function wv(e, t) {
|
|
|
810
810
|
const n = {
|
|
811
811
|
get(r) {
|
|
812
812
|
const i = this.__v_raw, a = /* @__PURE__ */ Ie(i), s = /* @__PURE__ */ Ie(r);
|
|
813
|
-
e || (
|
|
813
|
+
e || (ut(r, s) && St(a, "get", r), St(a, "get", s));
|
|
814
814
|
const { has: l } = Qr(a), c = t ? xs : e ? Qn : Ut;
|
|
815
815
|
if (l.call(a, r))
|
|
816
816
|
return c(i.get(r));
|
|
@@ -824,7 +824,7 @@ function wv(e, t) {
|
|
|
824
824
|
},
|
|
825
825
|
has(r) {
|
|
826
826
|
const i = this.__v_raw, a = /* @__PURE__ */ Ie(i), s = /* @__PURE__ */ Ie(r);
|
|
827
|
-
return e || (
|
|
827
|
+
return e || (ut(r, s) && St(a, "has", r), St(a, "has", s)), r === s ? i.has(r) : i.has(r) || i.has(s);
|
|
828
828
|
},
|
|
829
829
|
forEach(r, i) {
|
|
830
830
|
const a = this, s = a.__v_raw, l = /* @__PURE__ */ Ie(s), c = t ? xs : e ? Qn : Ut;
|
|
@@ -841,7 +841,7 @@ function wv(e, t) {
|
|
|
841
841
|
} : {
|
|
842
842
|
add(r) {
|
|
843
843
|
const i = /* @__PURE__ */ Ie(this), a = Qr(i), s = /* @__PURE__ */ Ie(r), l = !t && !/* @__PURE__ */ Vt(r) && !/* @__PURE__ */ gn(r) ? s : r;
|
|
844
|
-
return a.has.call(i, l) ||
|
|
844
|
+
return a.has.call(i, l) || ut(r, l) && a.has.call(i, r) || ut(s, l) && a.has.call(i, s) || (i.add(l), An(i, "add", l, l)), this;
|
|
845
845
|
},
|
|
846
846
|
set(r, i) {
|
|
847
847
|
!t && !/* @__PURE__ */ Vt(i) && !/* @__PURE__ */ gn(i) && (i = /* @__PURE__ */ Ie(i));
|
|
@@ -849,7 +849,7 @@ function wv(e, t) {
|
|
|
849
849
|
let c = s.call(a, r);
|
|
850
850
|
c || (r = /* @__PURE__ */ Ie(r), c = s.call(a, r));
|
|
851
851
|
const u = l.call(a, r);
|
|
852
|
-
return a.set(r, i), c ?
|
|
852
|
+
return a.set(r, i), c ? ut(i, u) && An(a, "set", r, i) : An(a, "add", r, i), this;
|
|
853
853
|
},
|
|
854
854
|
delete(r) {
|
|
855
855
|
const i = /* @__PURE__ */ Ie(this), { has: a, get: s } = Qr(i);
|
|
@@ -1012,7 +1012,7 @@ class Av {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
set value(t) {
|
|
1014
1014
|
const n = this._rawValue, o = this.__v_isShallow || /* @__PURE__ */ Vt(t) || /* @__PURE__ */ gn(t);
|
|
1015
|
-
t = o ? t : /* @__PURE__ */ Ie(t),
|
|
1015
|
+
t = o ? t : /* @__PURE__ */ Ie(t), ut(t, n) && (this._rawValue = t, this._value = o ? t : Ut(t), this.dep.trigger());
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
function Ov(e) {
|
|
@@ -1021,7 +1021,7 @@ function Ov(e) {
|
|
|
1021
1021
|
function p(e) {
|
|
1022
1022
|
return /* @__PURE__ */ Ke(e) ? e.value : e;
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function bt(e) {
|
|
1025
1025
|
return Se(e) ? e() : p(e);
|
|
1026
1026
|
}
|
|
1027
1027
|
const $v = {
|
|
@@ -1051,7 +1051,7 @@ function bf(e) {
|
|
|
1051
1051
|
return new Ev(e);
|
|
1052
1052
|
}
|
|
1053
1053
|
// @__NO_SIDE_EFFECTS__
|
|
1054
|
-
function
|
|
1054
|
+
function wt(e) {
|
|
1055
1055
|
const t = be(e) ? new Array(e.length) : {};
|
|
1056
1056
|
for (const n in e)
|
|
1057
1057
|
t[n] = wf(e, n);
|
|
@@ -1178,7 +1178,7 @@ function Mv(e, t, n = Te) {
|
|
|
1178
1178
|
if (!(!(u.flags & 1) || !u.dirty && !b))
|
|
1179
1179
|
if (t) {
|
|
1180
1180
|
const k = u.run();
|
|
1181
|
-
if (b || r || m || (v ? k.some((A, x) =>
|
|
1181
|
+
if (b || r || m || (v ? k.some((A, x) => ut(A, _[x])) : ut(k, _))) {
|
|
1182
1182
|
f && f();
|
|
1183
1183
|
const A = go;
|
|
1184
1184
|
go = u;
|
|
@@ -1364,12 +1364,12 @@ function kf(e) {
|
|
|
1364
1364
|
dn = -1, Et.length = 0, xf(), Ii = null, (Et.length || Bo.length) && kf();
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|
|
1367
|
-
let
|
|
1367
|
+
let yt = null, Cf = null;
|
|
1368
1368
|
function Ri(e) {
|
|
1369
|
-
const t =
|
|
1370
|
-
return
|
|
1369
|
+
const t = yt;
|
|
1370
|
+
return yt = e, Cf = e && e.type.__scopeId || null, t;
|
|
1371
1371
|
}
|
|
1372
|
-
function P(e, t =
|
|
1372
|
+
function P(e, t = yt, n) {
|
|
1373
1373
|
if (!t || e._n)
|
|
1374
1374
|
return e;
|
|
1375
1375
|
const o = (...r) => {
|
|
@@ -1387,9 +1387,9 @@ function P(e, t = gt, n) {
|
|
|
1387
1387
|
return o._n = !0, o._c = !0, o._d = !0, o;
|
|
1388
1388
|
}
|
|
1389
1389
|
function xo(e, t) {
|
|
1390
|
-
if (
|
|
1390
|
+
if (yt === null)
|
|
1391
1391
|
return e;
|
|
1392
|
-
const n = ga(
|
|
1392
|
+
const n = ga(yt), o = e.dirs || (e.dirs = []);
|
|
1393
1393
|
for (let r = 0; r < t.length; r++) {
|
|
1394
1394
|
let [i, a, s, l = Te] = t[r];
|
|
1395
1395
|
i && (Se(i) && (i = {
|
|
@@ -1438,7 +1438,7 @@ function qe(e, t, n = !1) {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
1440
|
const Lv = /* @__PURE__ */ Symbol.for("v-scx"), Vv = () => qe(Lv);
|
|
1441
|
-
function
|
|
1441
|
+
function Nt(e, t) {
|
|
1442
1442
|
return Zr(e, null, t);
|
|
1443
1443
|
}
|
|
1444
1444
|
function Af(e, t) {
|
|
@@ -1743,7 +1743,7 @@ function $l(e, t) {
|
|
|
1743
1743
|
} else e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1744
1744
|
}
|
|
1745
1745
|
// @__NO_SIDE_EFFECTS__
|
|
1746
|
-
function
|
|
1746
|
+
function N(e, t) {
|
|
1747
1747
|
return Se(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.
|
|
@@ -1898,11 +1898,11 @@ function Nf(e, t) {
|
|
|
1898
1898
|
return zf(Df, e, !0, t) || e;
|
|
1899
1899
|
}
|
|
1900
1900
|
const Mf = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
1901
|
-
function
|
|
1901
|
+
function Tt(e) {
|
|
1902
1902
|
return Ue(e) ? zf(Df, e, !1) || e : e || Mf;
|
|
1903
1903
|
}
|
|
1904
1904
|
function zf(e, t, n = !0, o = !1) {
|
|
1905
|
-
const r =
|
|
1905
|
+
const r = yt || xt;
|
|
1906
1906
|
if (r) {
|
|
1907
1907
|
const i = r.type;
|
|
1908
1908
|
{
|
|
@@ -1910,7 +1910,7 @@ function zf(e, t, n = !0, o = !1) {
|
|
|
1910
1910
|
i,
|
|
1911
1911
|
!1
|
|
1912
1912
|
);
|
|
1913
|
-
if (s && (s === t || s ===
|
|
1913
|
+
if (s && (s === t || s === dt(t) || s === ra(dt(t))))
|
|
1914
1914
|
return i;
|
|
1915
1915
|
}
|
|
1916
1916
|
const a = (
|
|
@@ -1923,7 +1923,7 @@ function zf(e, t, n = !0, o = !1) {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
}
|
|
1925
1925
|
function Nu(e, t) {
|
|
1926
|
-
return e && (e[t] || e[
|
|
1926
|
+
return e && (e[t] || e[dt(t)] || e[ra(dt(t))]);
|
|
1927
1927
|
}
|
|
1928
1928
|
function nt(e, t, n, o) {
|
|
1929
1929
|
let r;
|
|
@@ -1962,9 +1962,9 @@ function nt(e, t, n, o) {
|
|
|
1962
1962
|
return r;
|
|
1963
1963
|
}
|
|
1964
1964
|
function R(e, t, n, o, r, i) {
|
|
1965
|
-
if (n == null && (n = {}),
|
|
1965
|
+
if (n == null && (n = {}), yt.ce || yt.parent && jo(yt.parent) && yt.parent.ce) {
|
|
1966
1966
|
const c = i != null && n.key == null ? st({}, n, { key: i }) : n, u = Object.keys(c).length > 0;
|
|
1967
|
-
return t !== "default" && (c.name = t), y(),
|
|
1967
|
+
return t !== "default" && (c.name = t), y(), D(
|
|
1968
1968
|
xe,
|
|
1969
1969
|
null,
|
|
1970
1970
|
[Z("slot", c, o && o())],
|
|
@@ -1980,7 +1980,7 @@ function R(e, t, n, o, r, i) {
|
|
|
1980
1980
|
const c = a && qf(a(n)), u = n.key || i || // slot content array of a dynamic conditional slot may have a branch
|
|
1981
1981
|
// key attached in the `createSlots` helper, respect that
|
|
1982
1982
|
c && c.key;
|
|
1983
|
-
l =
|
|
1983
|
+
l = D(
|
|
1984
1984
|
xe,
|
|
1985
1985
|
{
|
|
1986
1986
|
key: (u && !Bt(u) ? u : `_${t}`) + // #7256 force differentiate fallback content from actual content
|
|
@@ -2422,28 +2422,28 @@ function ug(e, t) {
|
|
|
2422
2422
|
}
|
|
2423
2423
|
let Uo = null;
|
|
2424
2424
|
function cg(e, t, n = Te) {
|
|
2425
|
-
const o = Mt(), r =
|
|
2425
|
+
const o = Mt(), r = dt(t), i = Fn(t), a = Uf(e, r), s = bf((l, c) => {
|
|
2426
2426
|
let u, d = Te, f;
|
|
2427
2427
|
return Bv(() => {
|
|
2428
2428
|
const h = e[r];
|
|
2429
|
-
|
|
2429
|
+
ut(u, h) && (u = h, c());
|
|
2430
2430
|
}), {
|
|
2431
2431
|
get() {
|
|
2432
2432
|
return l(), n.get ? n.get(u) : u;
|
|
2433
2433
|
},
|
|
2434
2434
|
set(h) {
|
|
2435
2435
|
const m = n.set ? n.set(h) : h;
|
|
2436
|
-
if (!
|
|
2436
|
+
if (!ut(m, u) && !(d !== Te && ut(h, d)))
|
|
2437
2437
|
return;
|
|
2438
2438
|
const v = o.vnode.props, g = !!(v && // check if parent has passed v-model
|
|
2439
2439
|
(t in v || r in v || i in v) && (`onUpdate:${t}` in v || `onUpdate:${r}` in v || `onUpdate:${i}` in v));
|
|
2440
|
-
g || (u = h, c()), o.emit(`update:${t}`, m),
|
|
2440
|
+
g || (u = h, c()), o.emit(`update:${t}`, m), ut(h, d) && (ut(h, m) && !ut(m, f) || // #13524: browsers differ in when they flush microtasks between
|
|
2441
2441
|
// event listeners. If a v-model listener emits an intermediate value
|
|
2442
2442
|
// and a following listener restores the model to its previous prop
|
|
2443
2443
|
// value before parent updates are flushed, the parent render can be
|
|
2444
2444
|
// deduped as having no prop change. Force a local update so DOM state
|
|
2445
2445
|
// such as an input's value is synchronized back to the current model.
|
|
2446
|
-
g && d !== Te && !
|
|
2446
|
+
g && d !== Te && !ut(m, u)) && c(), d = h, f = m;
|
|
2447
2447
|
}
|
|
2448
2448
|
};
|
|
2449
2449
|
});
|
|
@@ -2456,7 +2456,7 @@ function cg(e, t, n = Te) {
|
|
|
2456
2456
|
};
|
|
2457
2457
|
}, s;
|
|
2458
2458
|
}
|
|
2459
|
-
const Uf = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${
|
|
2459
|
+
const Uf = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${dt(t)}Modifiers`] || e[`${Fn(t)}Modifiers`];
|
|
2460
2460
|
function dg(e, t, ...n) {
|
|
2461
2461
|
if (e.isUnmounted) return;
|
|
2462
2462
|
const o = e.vnode.props || Te;
|
|
@@ -2464,7 +2464,7 @@ function dg(e, t, ...n) {
|
|
|
2464
2464
|
const i = t.startsWith("update:"), a = i && Uf(o, t.slice(7));
|
|
2465
2465
|
a && (a.trim && (r = n.map((u) => Ue(u) ? u.trim() : u)), a.number && (r = r.map(wl)));
|
|
2466
2466
|
let s, l = o[s = Cr(t)] || // also try camelCase event handler (#2249)
|
|
2467
|
-
o[s = Cr(
|
|
2467
|
+
o[s = Cr(dt(t))];
|
|
2468
2468
|
!l && i && (l = o[s = Cr(Fn(t))]), l && tn(
|
|
2469
2469
|
l,
|
|
2470
2470
|
e,
|
|
@@ -2655,7 +2655,7 @@ function yg(e, t, n, o) {
|
|
|
2655
2655
|
if (De(i, f))
|
|
2656
2656
|
h !== i[f] && (i[f] = h, c = !0);
|
|
2657
2657
|
else {
|
|
2658
|
-
const m =
|
|
2658
|
+
const m = dt(f);
|
|
2659
2659
|
r[m] = Ps(
|
|
2660
2660
|
l,
|
|
2661
2661
|
s,
|
|
@@ -2701,7 +2701,7 @@ function Jf(e, t, n, o) {
|
|
|
2701
2701
|
continue;
|
|
2702
2702
|
const c = t[l];
|
|
2703
2703
|
let u;
|
|
2704
|
-
r && De(r, u =
|
|
2704
|
+
r && De(r, u = dt(l)) ? !i || !i.includes(u) ? n[u] = c : (s || (s = {}))[u] = c : va(e.emitsOptions, l) || (!(l in o) || c !== o[l]) && (o[l] = c, a = !0);
|
|
2705
2705
|
}
|
|
2706
2706
|
if (i) {
|
|
2707
2707
|
const l = /* @__PURE__ */ Ie(n), c = s || Te;
|
|
@@ -2769,12 +2769,12 @@ function Yf(e, t, n = !1) {
|
|
|
2769
2769
|
return Me(e) && o.set(e, bo), bo;
|
|
2770
2770
|
if (be(i))
|
|
2771
2771
|
for (let u = 0; u < i.length; u++) {
|
|
2772
|
-
const d =
|
|
2772
|
+
const d = dt(i[u]);
|
|
2773
2773
|
Bu(d) && (a[d] = Te);
|
|
2774
2774
|
}
|
|
2775
2775
|
else if (i)
|
|
2776
2776
|
for (const u in i) {
|
|
2777
|
-
const d =
|
|
2777
|
+
const d = dt(u);
|
|
2778
2778
|
if (Bu(d)) {
|
|
2779
2779
|
const f = i[u], h = a[d] = be(f) || Se(f) ? { type: f } : st({}, f), m = h.type;
|
|
2780
2780
|
let v = !1, g = !0;
|
|
@@ -2921,7 +2921,7 @@ function kg(e, t) {
|
|
|
2921
2921
|
Q,
|
|
2922
2922
|
Y,
|
|
2923
2923
|
J,
|
|
2924
|
-
|
|
2924
|
+
mt
|
|
2925
2925
|
);
|
|
2926
2926
|
}
|
|
2927
2927
|
ge != null && B ? $r(ge, S && S.ref, j, $ || S, !$) : ge == null && S && S.ref != null && $r(S.ref, null, j, S, !0);
|
|
@@ -3080,8 +3080,8 @@ function kg(e, t) {
|
|
|
3080
3080
|
else if (J & 2 && ae.class !== me.class && i(Y, "class", null, me.class, B), J & 4 && i(Y, "style", ae.style, me.style, B), J & 8) {
|
|
3081
3081
|
const H = $.dynamicProps;
|
|
3082
3082
|
for (let ue = 0; ue < H.length; ue++) {
|
|
3083
|
-
const ke = H[ue], Ee = ae[ke],
|
|
3084
|
-
(
|
|
3083
|
+
const ke = H[ue], Ee = ae[ke], vt = me[ke];
|
|
3084
|
+
(vt !== Ee || ke === "value") && i(Y, ke, Ee, vt, B, z);
|
|
3085
3085
|
}
|
|
3086
3086
|
}
|
|
3087
3087
|
J & 1 && S.children !== $.children && u(Y, $.children);
|
|
@@ -3204,7 +3204,7 @@ function kg(e, t) {
|
|
|
3204
3204
|
G,
|
|
3205
3205
|
B
|
|
3206
3206
|
);
|
|
3207
|
-
if (El(S) && (Y.ctx.renderer =
|
|
3207
|
+
if (El(S) && (Y.ctx.renderer = mt), Ig(Y, !1, Q), Y.asyncDep) {
|
|
3208
3208
|
if (B && B.registerDep(Y, re, Q), !S.el) {
|
|
3209
3209
|
const J = Y.subTree = Z(Wt);
|
|
3210
3210
|
w(null, J, $, z), S.placeholder = J.el;
|
|
@@ -3246,10 +3246,10 @@ function kg(e, t) {
|
|
|
3246
3246
|
}
|
|
3247
3247
|
let ke = ae, Ee;
|
|
3248
3248
|
po(S, !1), ae ? (ae.el = ue.el, ce(S, ae, Q)) : ae = ue, me && _i(me), (Ee = ae.props && ae.props.onVnodeBeforeUpdate) && un(Ee, H, ae, ue), po(S, !0);
|
|
3249
|
-
const
|
|
3250
|
-
S.subTree =
|
|
3249
|
+
const vt = Lu(S), an = S.subTree;
|
|
3250
|
+
S.subTree = vt, v(
|
|
3251
3251
|
an,
|
|
3252
|
-
|
|
3252
|
+
vt,
|
|
3253
3253
|
// parent may have changed if it's in a teleport
|
|
3254
3254
|
d(an.el),
|
|
3255
3255
|
// anchor may have changed if it's in a fragment
|
|
@@ -3257,17 +3257,17 @@ function kg(e, t) {
|
|
|
3257
3257
|
S,
|
|
3258
3258
|
B,
|
|
3259
3259
|
j
|
|
3260
|
-
), ae.el =
|
|
3260
|
+
), ae.el = vt.el, ke === null && vg(S, vt.el), _e && $t(_e, B), (Ee = ae.props && ae.props.onVnodeUpdated) && $t(
|
|
3261
3261
|
() => un(Ee, H, ae, ue),
|
|
3262
3262
|
B
|
|
3263
3263
|
);
|
|
3264
3264
|
} else {
|
|
3265
3265
|
let ae;
|
|
3266
|
-
const { el: me, props: _e } = $, { bm: H, m: ue, parent: ke, root: Ee, type:
|
|
3266
|
+
const { el: me, props: _e } = $, { bm: H, m: ue, parent: ke, root: Ee, type: vt } = S, an = jo($);
|
|
3267
3267
|
po(S, !1), H && _i(H), !an && (ae = _e && _e.onVnodeBeforeMount) && un(ae, ke, $), po(S, !0);
|
|
3268
3268
|
{
|
|
3269
3269
|
Ee.ce && Ee.ce._hasShadowRoot() && Ee.ce._injectChildStyle(
|
|
3270
|
-
|
|
3270
|
+
vt,
|
|
3271
3271
|
S.parent ? S.parent.type : void 0
|
|
3272
3272
|
);
|
|
3273
3273
|
const sn = S.subTree = Lu(S);
|
|
@@ -3331,7 +3331,7 @@ function kg(e, t) {
|
|
|
3331
3331
|
return;
|
|
3332
3332
|
}
|
|
3333
3333
|
}
|
|
3334
|
-
_e & 8 ? (ge & 16 &&
|
|
3334
|
+
_e & 8 ? (ge & 16 && ht(U, B, j), ae !== U && u(z, ae)) : ge & 16 ? _e & 16 ? ye(
|
|
3335
3335
|
U,
|
|
3336
3336
|
ae,
|
|
3337
3337
|
z,
|
|
@@ -3341,7 +3341,7 @@ function kg(e, t) {
|
|
|
3341
3341
|
Q,
|
|
3342
3342
|
Y,
|
|
3343
3343
|
J
|
|
3344
|
-
) :
|
|
3344
|
+
) : ht(U, B, j, !0) : (ge & 8 && u(z, ""), _e & 16 && T(
|
|
3345
3345
|
ae,
|
|
3346
3346
|
z,
|
|
3347
3347
|
G,
|
|
@@ -3369,7 +3369,7 @@ function kg(e, t) {
|
|
|
3369
3369
|
J
|
|
3370
3370
|
);
|
|
3371
3371
|
}
|
|
3372
|
-
U > ge ?
|
|
3372
|
+
U > ge ? ht(
|
|
3373
3373
|
S,
|
|
3374
3374
|
B,
|
|
3375
3375
|
j,
|
|
@@ -3453,13 +3453,13 @@ function kg(e, t) {
|
|
|
3453
3453
|
Ft.key != null && ue.set(Ft.key, U);
|
|
3454
3454
|
}
|
|
3455
3455
|
let ke, Ee = 0;
|
|
3456
|
-
const
|
|
3456
|
+
const vt = me - H + 1;
|
|
3457
3457
|
let an = !1, sn = 0;
|
|
3458
|
-
const pr = new Array(
|
|
3459
|
-
for (U = 0; U <
|
|
3458
|
+
const pr = new Array(vt);
|
|
3459
|
+
for (U = 0; U < vt; U++) pr[U] = 0;
|
|
3460
3460
|
for (U = _e; U <= ae; U++) {
|
|
3461
3461
|
const Ft = S[U];
|
|
3462
|
-
if (Ee >=
|
|
3462
|
+
if (Ee >= vt) {
|
|
3463
3463
|
je(Ft, B, j, !0);
|
|
3464
3464
|
continue;
|
|
3465
3465
|
}
|
|
@@ -3485,7 +3485,7 @@ function kg(e, t) {
|
|
|
3485
3485
|
), Ee++);
|
|
3486
3486
|
}
|
|
3487
3487
|
const _u = an ? Ag(pr) : bo;
|
|
3488
|
-
for (ke = _u.length - 1, U =
|
|
3488
|
+
for (ke = _u.length - 1, U = vt - 1; U >= 0; U--) {
|
|
3489
3489
|
const Ft = H + U, ln = $[Ft], Su = $[Ft + 1], xu = Ft + 1 < ge ? (
|
|
3490
3490
|
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
3491
3491
|
Su.el || np(Su)
|
|
@@ -3514,7 +3514,7 @@ function kg(e, t) {
|
|
|
3514
3514
|
return;
|
|
3515
3515
|
}
|
|
3516
3516
|
if (U & 64) {
|
|
3517
|
-
Q.move(S, $, z,
|
|
3517
|
+
Q.move(S, $, z, mt);
|
|
3518
3518
|
return;
|
|
3519
3519
|
}
|
|
3520
3520
|
if (Q === xe) {
|
|
@@ -3577,7 +3577,7 @@ function kg(e, t) {
|
|
|
3577
3577
|
S,
|
|
3578
3578
|
$,
|
|
3579
3579
|
z,
|
|
3580
|
-
|
|
3580
|
+
mt,
|
|
3581
3581
|
G
|
|
3582
3582
|
) : U && // #5154
|
|
3583
3583
|
// when v-once is used inside a block, setBlockTracking(-1) marks the
|
|
@@ -3585,19 +3585,19 @@ function kg(e, t) {
|
|
|
3585
3585
|
// so that it doesn't take the fast path during unmount - otherwise
|
|
3586
3586
|
// components nested in v-once are never unmounted.
|
|
3587
3587
|
!U.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
3588
|
-
(j !== xe || ae > 0 && ae & 64) ?
|
|
3588
|
+
(j !== xe || ae > 0 && ae & 64) ? ht(
|
|
3589
3589
|
U,
|
|
3590
3590
|
$,
|
|
3591
3591
|
z,
|
|
3592
3592
|
!1,
|
|
3593
3593
|
!0
|
|
3594
|
-
) : (j === xe && ae & 384 || !B && ge & 16) &&
|
|
3594
|
+
) : (j === xe && ae & 384 || !B && ge & 16) && ht(J, $, z), G && pt(S);
|
|
3595
3595
|
}
|
|
3596
|
-
const
|
|
3597
|
-
(ke && (Ee = Q && Q.onVnodeUnmounted) || ue ||
|
|
3598
|
-
Ee && un(Ee, $, S), ue && fo(S, null, $, "unmounted"),
|
|
3596
|
+
const vt = H != null && _e == null;
|
|
3597
|
+
(ke && (Ee = Q && Q.onVnodeUnmounted) || ue || vt) && $t(() => {
|
|
3598
|
+
Ee && un(Ee, $, S), ue && fo(S, null, $, "unmounted"), vt && (S.el = null);
|
|
3599
3599
|
}, z);
|
|
3600
|
-
},
|
|
3600
|
+
}, pt = (S) => {
|
|
3601
3601
|
const { type: $, el: z, anchor: G, transition: B } = S;
|
|
3602
3602
|
if ($ === xe) {
|
|
3603
3603
|
ve(z, G);
|
|
@@ -3625,7 +3625,7 @@ function kg(e, t) {
|
|
|
3625
3625
|
ju(J), ju(U), G && _i(G), B.stop(), j ? (j.flags |= 8, je(Q, S, $, z)) : S.vnode.el && Q && (Q.transition = S.vnode.transition, je(Q, S, $, z)), Y && $t(Y, $), $t(() => {
|
|
3626
3626
|
S.isUnmounted = !0;
|
|
3627
3627
|
}, $);
|
|
3628
|
-
},
|
|
3628
|
+
}, ht = (S, $, z, G = !1, B = !1, j = 0) => {
|
|
3629
3629
|
for (let Q = j; Q < S.length; Q++)
|
|
3630
3630
|
je(S[Q], $, z, G, B);
|
|
3631
3631
|
}, Ye = (S) => {
|
|
@@ -3637,7 +3637,7 @@ function kg(e, t) {
|
|
|
3637
3637
|
return z ? f(z) : $;
|
|
3638
3638
|
};
|
|
3639
3639
|
let _t = !1;
|
|
3640
|
-
const
|
|
3640
|
+
const Rt = (S, $, z) => {
|
|
3641
3641
|
let G;
|
|
3642
3642
|
S == null ? $._vnode && (je($._vnode, null, null, !0), G = $._vnode.component) : v(
|
|
3643
3643
|
$._vnode || null,
|
|
@@ -3648,11 +3648,11 @@ function kg(e, t) {
|
|
|
3648
3648
|
null,
|
|
3649
3649
|
z
|
|
3650
3650
|
), $._vnode = S, _t || (_t = !0, Pu(G), xf(), _t = !1);
|
|
3651
|
-
},
|
|
3651
|
+
}, mt = {
|
|
3652
3652
|
p: v,
|
|
3653
3653
|
um: je,
|
|
3654
3654
|
m: Ae,
|
|
3655
|
-
r:
|
|
3655
|
+
r: pt,
|
|
3656
3656
|
mt: fe,
|
|
3657
3657
|
mc: T,
|
|
3658
3658
|
pc: pe,
|
|
@@ -3661,9 +3661,9 @@ function kg(e, t) {
|
|
|
3661
3661
|
o: e
|
|
3662
3662
|
};
|
|
3663
3663
|
return {
|
|
3664
|
-
render:
|
|
3664
|
+
render: Rt,
|
|
3665
3665
|
hydrate: void 0,
|
|
3666
|
-
createApp: ug(
|
|
3666
|
+
createApp: ug(Rt)
|
|
3667
3667
|
};
|
|
3668
3668
|
}
|
|
3669
3669
|
function Ha({ type: e, props: t }, n) {
|
|
@@ -3752,7 +3752,7 @@ function E(e, t, n, o, r, i) {
|
|
|
3752
3752
|
)
|
|
3753
3753
|
);
|
|
3754
3754
|
}
|
|
3755
|
-
function
|
|
3755
|
+
function D(e, t, n, o, r) {
|
|
3756
3756
|
return rp(
|
|
3757
3757
|
Z(
|
|
3758
3758
|
e,
|
|
@@ -3774,7 +3774,7 @@ const ip = ({ key: e }) => e ?? null, Si = ({
|
|
|
3774
3774
|
ref: e,
|
|
3775
3775
|
ref_key: t,
|
|
3776
3776
|
ref_for: n
|
|
3777
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? Ue(e) || /* @__PURE__ */ Ke(e) || Se(e) ? { i:
|
|
3777
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? Ue(e) || /* @__PURE__ */ Ke(e) || Se(e) ? { i: yt, r: e, k: t, f: !!n } : e : null);
|
|
3778
3778
|
function ne(e, t = null, n = null, o = 0, r = null, i = e === xe ? 0 : 1, a = !1, s = !1) {
|
|
3779
3779
|
const l = {
|
|
3780
3780
|
__v_isVNode: !0,
|
|
@@ -3803,7 +3803,7 @@ function ne(e, t = null, n = null, o = 0, r = null, i = e === xe ? 0 : 1, a = !1
|
|
|
3803
3803
|
dynamicProps: r,
|
|
3804
3804
|
dynamicChildren: null,
|
|
3805
3805
|
appContext: null,
|
|
3806
|
-
ctx:
|
|
3806
|
+
ctx: yt
|
|
3807
3807
|
};
|
|
3808
3808
|
return s ? (zi(l, n), i & 128 && e.normalize(l)) : n && (l.shapeFlag |= Ue(n) ? 8 : 16), Zo > 0 && // avoid a block node from tracking itself
|
|
3809
3809
|
!a && // has current parent block
|
|
@@ -3827,7 +3827,7 @@ function $g(e, t = null, n = null, o = 0, r = null, i = !1) {
|
|
|
3827
3827
|
return n && zi(s, n), Zo > 0 && !i && Pt && (s.shapeFlag & 6 ? Pt[Pt.indexOf(e)] = s : Pt.push(s)), s.patchFlag = -2, s;
|
|
3828
3828
|
}
|
|
3829
3829
|
if (Mg(e) && (e = e.__vccOpts), t) {
|
|
3830
|
-
t =
|
|
3830
|
+
t = ft(t);
|
|
3831
3831
|
let { class: s, style: l } = t;
|
|
3832
3832
|
s && !Ue(s) && (t.class = oe(s)), Me(l) && (/* @__PURE__ */ fa(l) && !be(l) && (l = st({}, l)), t.style = ze(l));
|
|
3833
3833
|
}
|
|
@@ -3843,7 +3843,7 @@ function $g(e, t = null, n = null, o = 0, r = null, i = !1) {
|
|
|
3843
3843
|
!0
|
|
3844
3844
|
);
|
|
3845
3845
|
}
|
|
3846
|
-
function
|
|
3846
|
+
function ft(e) {
|
|
3847
3847
|
return e ? /* @__PURE__ */ fa(e) || Gf(e) ? st({}, e) : e : null;
|
|
3848
3848
|
}
|
|
3849
3849
|
function ko(e, t, n = !1, o = !1) {
|
|
@@ -3901,7 +3901,7 @@ function Ne(e = " ", t = 0) {
|
|
|
3901
3901
|
return Z(Hr, null, e, t);
|
|
3902
3902
|
}
|
|
3903
3903
|
function V(e = "", t = !1) {
|
|
3904
|
-
return t ? (y(),
|
|
3904
|
+
return t ? (y(), D(Wt, null, e)) : Z(Wt, null, e);
|
|
3905
3905
|
}
|
|
3906
3906
|
function pn(e) {
|
|
3907
3907
|
return e == null || typeof e == "boolean" ? Z(Wt) : be(e) ? Z(
|
|
@@ -3929,14 +3929,14 @@ function zi(e, t) {
|
|
|
3929
3929
|
} else {
|
|
3930
3930
|
n = 32;
|
|
3931
3931
|
const r = t._;
|
|
3932
|
-
!r && !Gf(t) ? t._ctx =
|
|
3932
|
+
!r && !Gf(t) ? t._ctx = yt : r === 3 && yt && (yt.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
3933
3933
|
}
|
|
3934
3934
|
else if (Se(t)) {
|
|
3935
3935
|
if (o & 65) {
|
|
3936
3936
|
zi(e, { default: t });
|
|
3937
3937
|
return;
|
|
3938
3938
|
}
|
|
3939
|
-
t = { default: t, _ctx:
|
|
3939
|
+
t = { default: t, _ctx: yt }, n = 32;
|
|
3940
3940
|
} else
|
|
3941
3941
|
t = String(t), o & 64 ? (n = 16, t = [Ne(t)]) : n = 8;
|
|
3942
3942
|
e.children = t, e.shapeFlag |= n;
|
|
@@ -4047,7 +4047,7 @@ function Tg(e, t, n) {
|
|
|
4047
4047
|
return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = dg.bind(null, i), e.ce && e.ce(i), i;
|
|
4048
4048
|
}
|
|
4049
4049
|
let xt = null;
|
|
4050
|
-
const Mt = () => xt ||
|
|
4050
|
+
const Mt = () => xt || yt;
|
|
4051
4051
|
let qi, qr;
|
|
4052
4052
|
{
|
|
4053
4053
|
const e = ia(), t = (n, o) => {
|
|
@@ -4189,7 +4189,7 @@ function qg(e, t) {
|
|
|
4189
4189
|
if (n.length != t.length)
|
|
4190
4190
|
return !1;
|
|
4191
4191
|
for (let o = 0; o < n.length; o++)
|
|
4192
|
-
if (
|
|
4192
|
+
if (ut(n[o], t[o]))
|
|
4193
4193
|
return !1;
|
|
4194
4194
|
return Zo > 0 && Pt && Pt.push(e), !0;
|
|
4195
4195
|
}
|
|
@@ -4336,7 +4336,7 @@ function Hg(e, t) {
|
|
|
4336
4336
|
const n = Ja[t];
|
|
4337
4337
|
if (n)
|
|
4338
4338
|
return n;
|
|
4339
|
-
let o =
|
|
4339
|
+
let o = dt(t);
|
|
4340
4340
|
if (o !== "filter" && o in e)
|
|
4341
4341
|
return Ja[t] = o;
|
|
4342
4342
|
o = ra(o);
|
|
@@ -4452,7 +4452,7 @@ e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, ry = (e, t, n, o, r, i) => {
|
|
|
4452
4452
|
const a = r === "svg";
|
|
4453
4453
|
t === "class" ? Ug(e, o, a) : t === "style" ? Zg(e, n, o) : ea(t) ? ta(t) || Yg(e, t, n, o, i) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : iy(e, t, o, a)) ? (Yu(e, t, o), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && Ju(e, t, o, a, i, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && // #12408 check if it's declared prop or it's async custom element
|
|
4454
4454
|
(ay(e, t) || // @ts-expect-error _def is private
|
|
4455
|
-
e._def.__asyncLoader && (/[A-Z]/.test(t) || !Ue(o))) ? Yu(e,
|
|
4455
|
+
e._def.__asyncLoader && (/[A-Z]/.test(t) || !Ue(o))) ? Yu(e, dt(t), o, i, t) : (t === "true-value" ? e._trueValue = o : t === "false-value" && (e._falseValue = o), Ju(e, t, o, a));
|
|
4456
4456
|
};
|
|
4457
4457
|
function iy(e, t, n, o) {
|
|
4458
4458
|
if (o)
|
|
@@ -4473,8 +4473,8 @@ function ay(e, t) {
|
|
|
4473
4473
|
);
|
|
4474
4474
|
if (!n)
|
|
4475
4475
|
return !1;
|
|
4476
|
-
const o =
|
|
4477
|
-
return Array.isArray(n) ? n.some((r) =>
|
|
4476
|
+
const o = dt(t);
|
|
4477
|
+
return Array.isArray(n) ? n.some((r) => dt(r) === o) : Object.keys(n).some((r) => dt(r) === o);
|
|
4478
4478
|
}
|
|
4479
4479
|
const ec = (e) => {
|
|
4480
4480
|
const t = e.props["onUpdate:modelValue"] || !1;
|
|
@@ -8575,7 +8575,7 @@ function PS() {
|
|
|
8575
8575
|
const TS = /* @__PURE__ */ q("ZodUnknown", (e, t) => {
|
|
8576
8576
|
Fw.init(e, t), Be.init(e, t), e._zod.processJSONSchema = (n, o, r) => x0();
|
|
8577
8577
|
});
|
|
8578
|
-
function
|
|
8578
|
+
function ct() {
|
|
8579
8579
|
return /* @__PURE__ */ G_(TS);
|
|
8580
8580
|
}
|
|
8581
8581
|
const IS = /* @__PURE__ */ q("ZodNever", (e, t) => {
|
|
@@ -8616,10 +8616,10 @@ const oh = /* @__PURE__ */ q("ZodObject", (e, t) => {
|
|
|
8616
8616
|
return this.clone(Lt(this._zod.def, { catchall: e }));
|
|
8617
8617
|
},
|
|
8618
8618
|
passthrough() {
|
|
8619
|
-
return this.clone(Lt(this._zod.def, { catchall:
|
|
8619
|
+
return this.clone(Lt(this._zod.def, { catchall: ct() }));
|
|
8620
8620
|
},
|
|
8621
8621
|
loose() {
|
|
8622
|
-
return this.clone(Lt(this._zod.def, { catchall:
|
|
8622
|
+
return this.clone(Lt(this._zod.def, { catchall: ct() }));
|
|
8623
8623
|
},
|
|
8624
8624
|
strict() {
|
|
8625
8625
|
return this.clone(Lt(this._zod.def, { catchall: nh() }));
|
|
@@ -8911,7 +8911,7 @@ qt([
|
|
|
8911
8911
|
]);
|
|
8912
8912
|
function sh(e, t) {
|
|
8913
8913
|
if (e != null)
|
|
8914
|
-
return typeof e == "object" && "$state" in e ?
|
|
8914
|
+
return typeof e == "object" && "$state" in e ? gt(t, e.$state) : e;
|
|
8915
8915
|
}
|
|
8916
8916
|
function nx(e) {
|
|
8917
8917
|
return e.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
@@ -8919,7 +8919,7 @@ function nx(e) {
|
|
|
8919
8919
|
function lh(e) {
|
|
8920
8920
|
return (e.startsWith("/") ? e.slice(1).split("/") : e.split("/")).map(nx);
|
|
8921
8921
|
}
|
|
8922
|
-
function
|
|
8922
|
+
function gt(e, t) {
|
|
8923
8923
|
if (!t || t === "/")
|
|
8924
8924
|
return e;
|
|
8925
8925
|
const n = lh(t);
|
|
@@ -8979,15 +8979,15 @@ function ix(e = {}) {
|
|
|
8979
8979
|
}
|
|
8980
8980
|
return {
|
|
8981
8981
|
get(r) {
|
|
8982
|
-
return
|
|
8982
|
+
return gt(t, r);
|
|
8983
8983
|
},
|
|
8984
8984
|
set(r, i) {
|
|
8985
|
-
|
|
8985
|
+
gt(t, r) !== i && (t = Fc(t, r, i), o());
|
|
8986
8986
|
},
|
|
8987
8987
|
update(r) {
|
|
8988
8988
|
let i = !1, a = t;
|
|
8989
8989
|
for (const [s, l] of Object.entries(r))
|
|
8990
|
-
|
|
8990
|
+
gt(a, s) !== l && (a = Fc(a, s, l), i = !0);
|
|
8991
8991
|
i && (t = a, o());
|
|
8992
8992
|
},
|
|
8993
8993
|
getSnapshot() {
|
|
@@ -9024,8 +9024,8 @@ var di = qt([
|
|
|
9024
9024
|
Xt(),
|
|
9025
9025
|
le({ $state: L() })
|
|
9026
9026
|
]), Wo = {
|
|
9027
|
-
eq:
|
|
9028
|
-
neq:
|
|
9027
|
+
eq: ct().optional(),
|
|
9028
|
+
neq: ct().optional(),
|
|
9029
9029
|
gt: di.optional(),
|
|
9030
9030
|
gte: di.optional(),
|
|
9031
9031
|
lt: di.optional(),
|
|
@@ -9066,7 +9066,7 @@ var di = qt([
|
|
|
9066
9066
|
])
|
|
9067
9067
|
);
|
|
9068
9068
|
function Do(e, t) {
|
|
9069
|
-
return typeof e == "object" && e !== null && "$state" in e && typeof e.$state == "string" ?
|
|
9069
|
+
return typeof e == "object" && e !== null && "$state" in e && typeof e.$state == "string" ? gt(t.stateModel, e.$state) : e;
|
|
9070
9070
|
}
|
|
9071
9071
|
function cx(e) {
|
|
9072
9072
|
return "$item" in e;
|
|
@@ -9075,7 +9075,7 @@ function dx(e) {
|
|
|
9075
9075
|
return "$index" in e;
|
|
9076
9076
|
}
|
|
9077
9077
|
function fx(e, t) {
|
|
9078
|
-
return dx(e) ? t.repeatIndex : cx(e) ? t.repeatItem === void 0 ? void 0 : e.$item === "" ? t.repeatItem :
|
|
9078
|
+
return dx(e) ? t.repeatIndex : cx(e) ? t.repeatItem === void 0 ? void 0 : e.$item === "" ? t.repeatItem : gt(t.repeatItem, e.$item) : gt(t.stateModel, e.$state);
|
|
9079
9079
|
}
|
|
9080
9080
|
function jc(e, t) {
|
|
9081
9081
|
const n = fx(e, t);
|
|
@@ -9166,16 +9166,16 @@ function wo(e, t) {
|
|
|
9166
9166
|
if (e == null)
|
|
9167
9167
|
return e;
|
|
9168
9168
|
if (gx(e))
|
|
9169
|
-
return
|
|
9169
|
+
return gt(t.stateModel, e.$state);
|
|
9170
9170
|
if (ch(e))
|
|
9171
|
-
return t.repeatItem === void 0 ? void 0 : e.$item === "" ? t.repeatItem :
|
|
9171
|
+
return t.repeatItem === void 0 ? void 0 : e.$item === "" ? t.repeatItem : gt(t.repeatItem, e.$item);
|
|
9172
9172
|
if (dh(e))
|
|
9173
9173
|
return t.repeatIndex;
|
|
9174
9174
|
if (fh(e))
|
|
9175
|
-
return
|
|
9175
|
+
return gt(t.stateModel, e.$bindState);
|
|
9176
9176
|
if (ph(e)) {
|
|
9177
9177
|
const n = Jl(e.$bindItem, t);
|
|
9178
|
-
return n === void 0 ? void 0 :
|
|
9178
|
+
return n === void 0 ? void 0 : gt(t.stateModel, n);
|
|
9179
9179
|
}
|
|
9180
9180
|
if (yx(e)) {
|
|
9181
9181
|
const n = Qo(e.$cond, t);
|
|
@@ -9198,14 +9198,14 @@ function wo(e, t) {
|
|
|
9198
9198
|
/\$\{([^}]+)\}/g,
|
|
9199
9199
|
(n, o) => {
|
|
9200
9200
|
if (o.startsWith("/")) {
|
|
9201
|
-
const i =
|
|
9201
|
+
const i = gt(t.stateModel, o);
|
|
9202
9202
|
return i != null ? String(i) : "";
|
|
9203
9203
|
}
|
|
9204
9204
|
if (t.repeatItem !== void 0) {
|
|
9205
|
-
const i =
|
|
9205
|
+
const i = gt(t.repeatItem, o);
|
|
9206
9206
|
if (i != null) return String(i);
|
|
9207
9207
|
}
|
|
9208
|
-
const r =
|
|
9208
|
+
const r = gt(t.stateModel, "/" + o);
|
|
9209
9209
|
return r != null ? String(r) : "";
|
|
9210
9210
|
}
|
|
9211
9211
|
);
|
|
@@ -9301,13 +9301,13 @@ var Px = le({
|
|
|
9301
9301
|
variant: $e(["default", "danger"]).optional()
|
|
9302
9302
|
}), Tx = qt([
|
|
9303
9303
|
le({ navigate: L() }),
|
|
9304
|
-
le({ set: at(L(),
|
|
9304
|
+
le({ set: at(L(), ct()) }),
|
|
9305
9305
|
le({
|
|
9306
9306
|
action: L(),
|
|
9307
9307
|
params: at(L(), xa).optional()
|
|
9308
9308
|
})
|
|
9309
9309
|
]), Ix = qt([
|
|
9310
|
-
le({ set: at(L(),
|
|
9310
|
+
le({ set: at(L(), ct()) }),
|
|
9311
9311
|
le({
|
|
9312
9312
|
action: L(),
|
|
9313
9313
|
params: at(L(), xa).optional()
|
|
@@ -9702,10 +9702,10 @@ function Ai(e, t) {
|
|
|
9702
9702
|
}
|
|
9703
9703
|
case "propsOf": {
|
|
9704
9704
|
const n = e.inner, o = Yx(n, t);
|
|
9705
|
-
return o.length === 0 ? at(L(),
|
|
9705
|
+
return o.length === 0 ? at(L(), ct()) : o.length === 1 ? o[0] : at(L(), ct());
|
|
9706
9706
|
}
|
|
9707
9707
|
default:
|
|
9708
|
-
return
|
|
9708
|
+
return ct();
|
|
9709
9709
|
}
|
|
9710
9710
|
}
|
|
9711
9711
|
function Jx(e, t) {
|
|
@@ -9858,11 +9858,11 @@ Note: state patches appear right after the elements that use them, so the UI fil
|
|
|
9858
9858
|
if (T) {
|
|
9859
9859
|
a.push(`AVAILABLE COMPONENTS (${e.componentNames.length}):`), a.push("");
|
|
9860
9860
|
for (const [ye, Ae] of Object.entries(T)) {
|
|
9861
|
-
const je = Ae.props ? Jt(Ae.props) : "{}",
|
|
9861
|
+
const je = Ae.props ? Jt(Ae.props) : "{}", pt = Ae.slots ?? [], ve = pt.filter((mt) => mt !== "default"), rt = pt.includes("default"), ht = h ? [
|
|
9862
9862
|
rt ? "accepts children" : "",
|
|
9863
9863
|
ve.length > 0 ? `slots: ${ve.join(", ")}` : ""
|
|
9864
|
-
].filter(Boolean).join("; ") :
|
|
9865
|
-
a.push(`- ${ye}: ${je}${
|
|
9864
|
+
].filter(Boolean).join("; ") : pt.length > 0 ? "accepts children" : "", Ye = ht ? ` [${ht}]` : "", _t = Ae.events && Ae.events.length > 0 ? ` [events: ${Ae.events.join(", ")}]` : "", Rt = Ae.description ? ` - ${Ae.description}` : "";
|
|
9865
|
+
a.push(`- ${ye}: ${je}${Rt}${Ye}${_t}`);
|
|
9866
9866
|
}
|
|
9867
9867
|
a.push("");
|
|
9868
9868
|
}
|
|
@@ -10271,19 +10271,19 @@ le({
|
|
|
10271
10271
|
L(),
|
|
10272
10272
|
le({
|
|
10273
10273
|
type: L(),
|
|
10274
|
-
props: at(L(),
|
|
10274
|
+
props: at(L(), ct()),
|
|
10275
10275
|
children: Qe(L()).optional(),
|
|
10276
10276
|
slots: at(L(), Qe(L())).optional(),
|
|
10277
|
-
on: at(L(),
|
|
10278
|
-
visible:
|
|
10277
|
+
on: at(L(), ct()).optional(),
|
|
10278
|
+
visible: ct().optional()
|
|
10279
10279
|
}).strict()
|
|
10280
10280
|
),
|
|
10281
|
-
state: at(L(),
|
|
10281
|
+
state: at(L(), ct()).optional()
|
|
10282
10282
|
}).strict();
|
|
10283
10283
|
Rx.extend({
|
|
10284
|
-
params: at(L(),
|
|
10285
|
-
onSuccess:
|
|
10286
|
-
onError:
|
|
10284
|
+
params: at(L(), ct()).optional(),
|
|
10285
|
+
onSuccess: ct().optional(),
|
|
10286
|
+
onError: ct().optional()
|
|
10287
10287
|
}).strict();
|
|
10288
10288
|
var tk = Xt().min(0).max(1);
|
|
10289
10289
|
le({
|
|
@@ -10379,7 +10379,7 @@ var nk = Zx(
|
|
|
10379
10379
|
"Always include realistic, professional-looking sample data. For blogs include 3-4 posts with varied titles, authors, dates, categories. For products include names, prices, images. Never leave data empty."
|
|
10380
10380
|
]
|
|
10381
10381
|
}
|
|
10382
|
-
), vh = /* @__PURE__ */ Symbol("json-render:state"), ok = /* @__PURE__ */
|
|
10382
|
+
), vh = /* @__PURE__ */ Symbol("json-render:state"), ok = /* @__PURE__ */ N({
|
|
10383
10383
|
name: "StateProvider",
|
|
10384
10384
|
props: {
|
|
10385
10385
|
store: {
|
|
@@ -10433,7 +10433,7 @@ var nk = Zx(
|
|
|
10433
10433
|
if (r.update(f), !n && r.getSnapshot() !== h) {
|
|
10434
10434
|
const m = [];
|
|
10435
10435
|
for (const [v, g] of Object.entries(f))
|
|
10436
|
-
|
|
10436
|
+
gt(h, v) !== g && m.push({ path: v, value: g });
|
|
10437
10437
|
m.length > 0 && s.value?.(m);
|
|
10438
10438
|
}
|
|
10439
10439
|
},
|
|
@@ -10447,7 +10447,7 @@ function ir() {
|
|
|
10447
10447
|
throw new Error("useStateStore must be used within a StateProvider");
|
|
10448
10448
|
return e;
|
|
10449
10449
|
}
|
|
10450
|
-
var gh = /* @__PURE__ */ Symbol("json-render:visibility"), rk = /* @__PURE__ */
|
|
10450
|
+
var gh = /* @__PURE__ */ Symbol("json-render:visibility"), rk = /* @__PURE__ */ N({
|
|
10451
10451
|
name: "VisibilityProvider",
|
|
10452
10452
|
setup(e, { slots: t }) {
|
|
10453
10453
|
const { state: n } = ir(), o = O(() => ({
|
|
@@ -10491,7 +10491,7 @@ function sk(e, t) {
|
|
|
10491
10491
|
}
|
|
10492
10492
|
return !0;
|
|
10493
10493
|
}
|
|
10494
|
-
var lk = /* @__PURE__ */
|
|
10494
|
+
var lk = /* @__PURE__ */ N({
|
|
10495
10495
|
name: "ValidationProvider",
|
|
10496
10496
|
props: {
|
|
10497
10497
|
customFunctions: {
|
|
@@ -10591,7 +10591,7 @@ function Ws(e, t) {
|
|
|
10591
10591
|
}
|
|
10592
10592
|
return e;
|
|
10593
10593
|
}
|
|
10594
|
-
var bh = /* @__PURE__ */ Symbol("json-render:actions"), ck = /* @__PURE__ */
|
|
10594
|
+
var bh = /* @__PURE__ */ Symbol("json-render:actions"), ck = /* @__PURE__ */ N({
|
|
10595
10595
|
name: "ActionProvider",
|
|
10596
10596
|
props: {
|
|
10597
10597
|
handlers: {
|
|
@@ -10769,7 +10769,7 @@ function wh() {
|
|
|
10769
10769
|
throw new Error("useActions must be used within an ActionProvider");
|
|
10770
10770
|
return e;
|
|
10771
10771
|
}
|
|
10772
|
-
var dk = /* @__PURE__ */
|
|
10772
|
+
var dk = /* @__PURE__ */ N({
|
|
10773
10773
|
name: "ConfirmDialog",
|
|
10774
10774
|
props: {
|
|
10775
10775
|
confirm: {
|
|
@@ -10882,7 +10882,7 @@ var dk = /* @__PURE__ */ D({
|
|
|
10882
10882
|
);
|
|
10883
10883
|
};
|
|
10884
10884
|
}
|
|
10885
|
-
}), _h = /* @__PURE__ */ Symbol("json-render:repeat-scope"), fk = /* @__PURE__ */
|
|
10885
|
+
}), _h = /* @__PURE__ */ Symbol("json-render:repeat-scope"), fk = /* @__PURE__ */ N({
|
|
10886
10886
|
name: "RepeatScopeProvider",
|
|
10887
10887
|
props: {
|
|
10888
10888
|
item: {
|
|
@@ -10916,7 +10916,7 @@ function cn(e, t) {
|
|
|
10916
10916
|
}
|
|
10917
10917
|
];
|
|
10918
10918
|
}
|
|
10919
|
-
var xh = /* @__PURE__ */ new WeakMap(), kh = {}, Ch = /* @__PURE__ */ Symbol("json-render:functions"), pk = /* @__PURE__ */
|
|
10919
|
+
var xh = /* @__PURE__ */ new WeakMap(), kh = {}, Ch = /* @__PURE__ */ Symbol("json-render:functions"), pk = /* @__PURE__ */ N({
|
|
10920
10920
|
name: "FunctionsProvider",
|
|
10921
10921
|
props: {
|
|
10922
10922
|
functions: {
|
|
@@ -10935,7 +10935,7 @@ function hk() {
|
|
|
10935
10935
|
O(() => kh)
|
|
10936
10936
|
);
|
|
10937
10937
|
}
|
|
10938
|
-
var Ah = /* @__PURE__ */ Symbol("json-render:directives"), mk = /* @__PURE__ */
|
|
10938
|
+
var Ah = /* @__PURE__ */ Symbol("json-render:directives"), mk = /* @__PURE__ */ N({
|
|
10939
10939
|
name: "DirectivesProvider",
|
|
10940
10940
|
props: {
|
|
10941
10941
|
directives: {
|
|
@@ -10957,7 +10957,7 @@ function vk() {
|
|
|
10957
10957
|
})
|
|
10958
10958
|
);
|
|
10959
10959
|
}
|
|
10960
|
-
var gk = /* @__PURE__ */
|
|
10960
|
+
var gk = /* @__PURE__ */ N({
|
|
10961
10961
|
name: "ElementErrorBoundary",
|
|
10962
10962
|
props: {
|
|
10963
10963
|
elementType: {
|
|
@@ -10995,7 +10995,7 @@ function yk() {
|
|
|
10995
10995
|
});
|
|
10996
10996
|
return Kt(t), e;
|
|
10997
10997
|
}
|
|
10998
|
-
var Yl = /* @__PURE__ */
|
|
10998
|
+
var Yl = /* @__PURE__ */ N({
|
|
10999
10999
|
name: "JsonRenderElement",
|
|
11000
11000
|
props: {
|
|
11001
11001
|
element: {
|
|
@@ -11060,7 +11060,7 @@ var Yl = /* @__PURE__ */ D({
|
|
|
11060
11060
|
if (!h) return;
|
|
11061
11061
|
const m = {};
|
|
11062
11062
|
for (const v of Object.keys(h))
|
|
11063
|
-
m[v] =
|
|
11063
|
+
m[v] = gt(a.value, v);
|
|
11064
11064
|
return m;
|
|
11065
11065
|
});
|
|
11066
11066
|
return de(
|
|
@@ -11162,7 +11162,7 @@ var Yl = /* @__PURE__ */ D({
|
|
|
11162
11162
|
);
|
|
11163
11163
|
};
|
|
11164
11164
|
}
|
|
11165
|
-
}), bk = /* @__PURE__ */
|
|
11165
|
+
}), bk = /* @__PURE__ */ N({
|
|
11166
11166
|
name: "JsonRenderRepeatChildren",
|
|
11167
11167
|
props: {
|
|
11168
11168
|
element: {
|
|
@@ -11199,7 +11199,7 @@ var Yl = /* @__PURE__ */ D({
|
|
|
11199
11199
|
return console.warn(
|
|
11200
11200
|
"[json-render/vue] $item in repeat.statePath used outside of a repeat scope"
|
|
11201
11201
|
), null;
|
|
11202
|
-
const i =
|
|
11202
|
+
const i = gt(t.value, r);
|
|
11203
11203
|
return (Array.isArray(i) ? i : []).map((s, l) => {
|
|
11204
11204
|
const c = o.key && typeof s == "object" && s !== null ? String(
|
|
11205
11205
|
s[o.key] ?? l
|
|
@@ -11232,7 +11232,7 @@ var Yl = /* @__PURE__ */ D({
|
|
|
11232
11232
|
});
|
|
11233
11233
|
};
|
|
11234
11234
|
}
|
|
11235
|
-
}), wk = /* @__PURE__ */
|
|
11235
|
+
}), wk = /* @__PURE__ */ N({
|
|
11236
11236
|
name: "JsonRenderer",
|
|
11237
11237
|
props: {
|
|
11238
11238
|
spec: {
|
|
@@ -11266,7 +11266,7 @@ var Yl = /* @__PURE__ */ D({
|
|
|
11266
11266
|
}) : null;
|
|
11267
11267
|
};
|
|
11268
11268
|
}
|
|
11269
|
-
}), _k = /* @__PURE__ */
|
|
11269
|
+
}), _k = /* @__PURE__ */ N({
|
|
11270
11270
|
name: "ConfirmationDialogManager",
|
|
11271
11271
|
setup() {
|
|
11272
11272
|
const { pendingConfirmation: e, confirm: t, cancel: n } = wh();
|
|
@@ -11276,7 +11276,7 @@ var Yl = /* @__PURE__ */ D({
|
|
|
11276
11276
|
onCancel: n
|
|
11277
11277
|
}) : null;
|
|
11278
11278
|
}
|
|
11279
|
-
}), Sk = /* @__PURE__ */
|
|
11279
|
+
}), Sk = /* @__PURE__ */ N({
|
|
11280
11280
|
name: "JSONUIProvider",
|
|
11281
11281
|
props: {
|
|
11282
11282
|
registry: {
|
|
@@ -11363,7 +11363,7 @@ function xk(e, t) {
|
|
|
11363
11363
|
const n = {};
|
|
11364
11364
|
if (t.components)
|
|
11365
11365
|
for (const [s, l] of Object.entries(t.components))
|
|
11366
|
-
n[s] = /* @__PURE__ */
|
|
11366
|
+
n[s] = /* @__PURE__ */ N({
|
|
11367
11367
|
name: `JsonRenderRegistry_${s}`,
|
|
11368
11368
|
props: {
|
|
11369
11369
|
element: {
|
|
@@ -11463,6 +11463,8 @@ const Ok = {
|
|
|
11463
11463
|
"Resize panes": "Resize panes",
|
|
11464
11464
|
"Free now": "Free now",
|
|
11465
11465
|
"Free after": "Free after",
|
|
11466
|
+
Free: "Free",
|
|
11467
|
+
"Total {size}": "Total {size}",
|
|
11466
11468
|
"At least {size}": "At least {size}",
|
|
11467
11469
|
"Free now {now}, free after {after}": "Free now {now}, free after {after}",
|
|
11468
11470
|
Sections: "Sections",
|
|
@@ -11632,6 +11634,8 @@ const Ok = {
|
|
|
11632
11634
|
"Resize panes": "調整窗格大小",
|
|
11633
11635
|
"Free now": "目前可用",
|
|
11634
11636
|
"Free after": "清理後可用",
|
|
11637
|
+
Free: "可用",
|
|
11638
|
+
"Total {size}": "總計 {size}",
|
|
11635
11639
|
"At least {size}": "至少 {size}",
|
|
11636
11640
|
"Free now {now}, free after {after}": "目前可用 {now},清理後可用 {after}",
|
|
11637
11641
|
Sections: "區段",
|
|
@@ -11800,6 +11804,8 @@ const Ok = {
|
|
|
11800
11804
|
"Resize panes": "调整窗格大小",
|
|
11801
11805
|
"Free now": "当前可用",
|
|
11802
11806
|
"Free after": "清理后可用",
|
|
11807
|
+
Free: "可用",
|
|
11808
|
+
"Total {size}": "总计 {size}",
|
|
11803
11809
|
"At least {size}": "至少 {size}",
|
|
11804
11810
|
"Free now {now}, free after {after}": "当前可用 {now},清理后可用 {after}",
|
|
11805
11811
|
Sections: "区段",
|
|
@@ -11968,6 +11974,8 @@ const Ok = {
|
|
|
11968
11974
|
"Resize panes": "ペインのサイズを変更",
|
|
11969
11975
|
"Free now": "現在の空き",
|
|
11970
11976
|
"Free after": "解放後の空き",
|
|
11977
|
+
Free: "空き",
|
|
11978
|
+
"Total {size}": "合計 {size}",
|
|
11971
11979
|
"At least {size}": "{size} 以上",
|
|
11972
11980
|
"Free now {now}, free after {after}": "現在の空き {now}、解放後の空き {after}",
|
|
11973
11981
|
Sections: "セクション",
|
|
@@ -12136,6 +12144,8 @@ const Ok = {
|
|
|
12136
12144
|
"Resize panes": "창 크기 조정",
|
|
12137
12145
|
"Free now": "현재 여유 공간",
|
|
12138
12146
|
"Free after": "정리 후 여유 공간",
|
|
12147
|
+
Free: "여유 공간",
|
|
12148
|
+
"Total {size}": "합계 {size}",
|
|
12139
12149
|
"At least {size}": "최소 {size}",
|
|
12140
12150
|
"Free now {now}, free after {after}": "현재 여유 공간 {now}, 정리 후 여유 공간 {after}",
|
|
12141
12151
|
Sections: "섹션",
|
|
@@ -12304,6 +12314,8 @@ const Ok = {
|
|
|
12304
12314
|
"Resize panes": "Bereiche anpassen",
|
|
12305
12315
|
"Free now": "Jetzt frei",
|
|
12306
12316
|
"Free after": "Danach frei",
|
|
12317
|
+
Free: "Frei",
|
|
12318
|
+
"Total {size}": "Gesamt {size}",
|
|
12307
12319
|
"At least {size}": "Mindestens {size}",
|
|
12308
12320
|
"Free now {now}, free after {after}": "Jetzt frei {now}, danach frei {after}",
|
|
12309
12321
|
Sections: "Abschnitte",
|
|
@@ -12472,6 +12484,8 @@ const Ok = {
|
|
|
12472
12484
|
"Resize panes": "Redimensionner les volets",
|
|
12473
12485
|
"Free now": "Libre maintenant",
|
|
12474
12486
|
"Free after": "Libre ensuite",
|
|
12487
|
+
Free: "Libre",
|
|
12488
|
+
"Total {size}": "Total {size}",
|
|
12475
12489
|
"At least {size}": "Au moins {size}",
|
|
12476
12490
|
"Free now {now}, free after {after}": "Libre maintenant {now}, libre ensuite {after}",
|
|
12477
12491
|
Sections: "Sections",
|
|
@@ -12640,6 +12654,8 @@ const Ok = {
|
|
|
12640
12654
|
"Resize panes": "Cambiar el tamaño de los paneles",
|
|
12641
12655
|
"Free now": "Libre ahora",
|
|
12642
12656
|
"Free after": "Libre después",
|
|
12657
|
+
Free: "Libre",
|
|
12658
|
+
"Total {size}": "Total {size}",
|
|
12643
12659
|
"At least {size}": "Al menos {size}",
|
|
12644
12660
|
"Free now {now}, free after {after}": "Libre ahora {now}, libre después {after}",
|
|
12645
12661
|
Sections: "Secciones",
|
|
@@ -12808,6 +12824,8 @@ const Ok = {
|
|
|
12808
12824
|
"Resize panes": "Ridimensiona i riquadri",
|
|
12809
12825
|
"Free now": "Libero ora",
|
|
12810
12826
|
"Free after": "Libero dopo",
|
|
12827
|
+
Free: "Libero",
|
|
12828
|
+
"Total {size}": "Totale {size}",
|
|
12811
12829
|
"At least {size}": "Almeno {size}",
|
|
12812
12830
|
"Free now {now}, free after {after}": "Libero ora {now}, libero dopo {after}",
|
|
12813
12831
|
Sections: "Sezioni",
|
|
@@ -12954,7 +12972,7 @@ function so(e, t) {
|
|
|
12954
12972
|
}
|
|
12955
12973
|
});
|
|
12956
12974
|
}
|
|
12957
|
-
const Ek = ["aria-label"], $h = /* @__PURE__ */
|
|
12975
|
+
const Ek = ["aria-label"], $h = /* @__PURE__ */ N({
|
|
12958
12976
|
__name: "Spinner",
|
|
12959
12977
|
props: {
|
|
12960
12978
|
label: {},
|
|
@@ -13021,7 +13039,7 @@ function Rk(e, t, n) {
|
|
|
13021
13039
|
const Dk = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "data-variant", "aria-busy"], Nk = {
|
|
13022
13040
|
key: 0,
|
|
13023
13041
|
class: "inline-flex shrink-0 items-center justify-center"
|
|
13024
|
-
}, Mk = ["data-icon-only"], zk = /* @__PURE__ */
|
|
13042
|
+
}, Mk = ["data-icon-only"], zk = /* @__PURE__ */ N({
|
|
13025
13043
|
__name: "Button",
|
|
13026
13044
|
props: {
|
|
13027
13045
|
variant: { default: "secondary" },
|
|
@@ -13094,7 +13112,7 @@ function ar(e) {
|
|
|
13094
13112
|
const f = e.id?.() ?? t.id;
|
|
13095
13113
|
i.value?.setControlId?.(typeof f == "string" ? f : a);
|
|
13096
13114
|
};
|
|
13097
|
-
|
|
13115
|
+
Nt(s), If(s), Kt(() => {
|
|
13098
13116
|
i.value?.setDisabled(!1), n?.releaseControl?.(o);
|
|
13099
13117
|
});
|
|
13100
13118
|
const l = () => ({ class: t.class, style: t.style }), c = () => {
|
|
@@ -13406,7 +13424,7 @@ const SC = {
|
|
|
13406
13424
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
13407
13425
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
13408
13426
|
]
|
|
13409
|
-
}, ka = Ct(SC), xC = ["value", "type", "name", "placeholder", "disabled", "readonly"], kC = ["disabled", "aria-label", "aria-pressed"], CC = ["value", "type", "name", "placeholder", "disabled", "readonly"], AC = /* @__PURE__ */
|
|
13427
|
+
}, ka = Ct(SC), xC = ["value", "type", "name", "placeholder", "disabled", "readonly"], kC = ["disabled", "aria-label", "aria-pressed"], CC = ["value", "type", "name", "placeholder", "disabled", "readonly"], AC = /* @__PURE__ */ N({
|
|
13410
13428
|
inheritAttrs: !1,
|
|
13411
13429
|
__name: "Input",
|
|
13412
13430
|
props: {
|
|
@@ -13462,11 +13480,11 @@ const SC = {
|
|
|
13462
13480
|
class: "absolute right-1 flex size-6 items-center justify-center rounded-[var(--ui-radius-sm)] border-0 bg-transparent p-0 text-[var(--ui-text-secondary)] outline-none hover:text-[var(--ui-text)] focus-visible:shadow-[0_0_0_2px_var(--ui-focus-ring)] disabled:opacity-40 [@media(pointer:coarse)]:after:absolute [@media(pointer:coarse)]:after:-inset-1.5",
|
|
13463
13481
|
onClick: m[1] || (m[1] = (v) => i.value = !i.value)
|
|
13464
13482
|
}, [
|
|
13465
|
-
i.value ? (y(),
|
|
13483
|
+
i.value ? (y(), D(p(oC), {
|
|
13466
13484
|
key: 0,
|
|
13467
13485
|
class: "size-4",
|
|
13468
13486
|
"aria-hidden": "true"
|
|
13469
|
-
})) : (y(),
|
|
13487
|
+
})) : (y(), D(p(iC), {
|
|
13470
13488
|
key: 1,
|
|
13471
13489
|
class: "size-4",
|
|
13472
13490
|
"aria-hidden": "true"
|
|
@@ -13489,7 +13507,7 @@ const SC = {
|
|
|
13489
13507
|
}), OC = {
|
|
13490
13508
|
class: "flex min-w-0 items-center gap-2 [&>:first-child]:min-w-[6rem] [&>:first-child]:flex-1",
|
|
13491
13509
|
"data-syno-pkg-land-ui": ""
|
|
13492
|
-
}, $C = /* @__PURE__ */
|
|
13510
|
+
}, $C = /* @__PURE__ */ N({
|
|
13493
13511
|
__name: "InputGroup",
|
|
13494
13512
|
setup(e) {
|
|
13495
13513
|
return (t, n) => (y(), E("div", OC, [
|
|
@@ -13741,14 +13759,14 @@ function FC(e) {
|
|
|
13741
13759
|
}
|
|
13742
13760
|
function Ql(e, ...t) {
|
|
13743
13761
|
const n = t.flat(), o = n[0];
|
|
13744
|
-
return FC(() => Object.fromEntries(typeof o == "function" ? Object.entries(/* @__PURE__ */
|
|
13762
|
+
return FC(() => Object.fromEntries(typeof o == "function" ? Object.entries(/* @__PURE__ */ wt(e)).filter(([r, i]) => !o(bt(i), r)) : Object.entries(/* @__PURE__ */ wt(e)).filter((r) => !n.includes(r[0]))));
|
|
13745
13763
|
}
|
|
13746
13764
|
function Rh(e, t = 1e4) {
|
|
13747
13765
|
return bf((n, o) => {
|
|
13748
|
-
let r =
|
|
13766
|
+
let r = bt(e), i;
|
|
13749
13767
|
const a = () => setTimeout(() => {
|
|
13750
|
-
r =
|
|
13751
|
-
},
|
|
13768
|
+
r = bt(e), o();
|
|
13769
|
+
}, bt(t));
|
|
13752
13770
|
return lr(() => {
|
|
13753
13771
|
clearTimeout(i);
|
|
13754
13772
|
}), {
|
|
@@ -13776,7 +13794,7 @@ function Dh(e, t, n = {}) {
|
|
|
13776
13794
|
function c(...u) {
|
|
13777
13795
|
r && e(), s(), i.value = !0, a = setTimeout(() => {
|
|
13778
13796
|
i.value = !1, a = void 0, e(...u);
|
|
13779
|
-
},
|
|
13797
|
+
}, bt(t));
|
|
13780
13798
|
}
|
|
13781
13799
|
return o && (i.value = !0, on && c()), lr(l), {
|
|
13782
13800
|
isPending: /* @__PURE__ */ vo(i),
|
|
@@ -13793,21 +13811,21 @@ function VC(e, t, n) {
|
|
|
13793
13811
|
const Aa = on ? window : void 0;
|
|
13794
13812
|
function bn(e) {
|
|
13795
13813
|
var t;
|
|
13796
|
-
const n =
|
|
13814
|
+
const n = bt(e);
|
|
13797
13815
|
return (t = n?.$el) !== null && t !== void 0 ? t : n;
|
|
13798
13816
|
}
|
|
13799
13817
|
function zn(...e) {
|
|
13800
13818
|
const t = (o, r, i, a) => (o.addEventListener(r, i, a), () => o.removeEventListener(r, i, a)), n = O(() => {
|
|
13801
|
-
const o = ls(
|
|
13819
|
+
const o = ls(bt(e[0])).filter((r) => r != null);
|
|
13802
13820
|
return o.every((r) => typeof r != "string") ? o : void 0;
|
|
13803
13821
|
});
|
|
13804
13822
|
return VC(() => {
|
|
13805
13823
|
var o, r;
|
|
13806
13824
|
return [
|
|
13807
13825
|
(o = (r = n.value) === null || r === void 0 ? void 0 : r.map((i) => bn(i))) !== null && o !== void 0 ? o : [Aa].filter((i) => i != null),
|
|
13808
|
-
ls(
|
|
13826
|
+
ls(bt(n.value ? e[1] : e[0])),
|
|
13809
13827
|
ls(p(n.value ? e[2] : e[1])),
|
|
13810
|
-
|
|
13828
|
+
bt(n.value ? e[3] : e[2])
|
|
13811
13829
|
];
|
|
13812
13830
|
}, ([o, r, i, a], s, l) => {
|
|
13813
13831
|
if (!o?.length || !r?.length || !i?.length) return;
|
|
@@ -13837,7 +13855,7 @@ function UC(...e) {
|
|
|
13837
13855
|
e.length === 3 ? (t = e[0], n = e[1], o = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], o = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
|
|
13838
13856
|
const { target: r = Aa, eventName: i = "keydown", passive: a = !1, dedupe: s = !1 } = o, l = jC(t);
|
|
13839
13857
|
return zn(r, i, (u) => {
|
|
13840
|
-
u.repeat &&
|
|
13858
|
+
u.repeat && bt(s) || l(u) && n(u);
|
|
13841
13859
|
}, a);
|
|
13842
13860
|
}
|
|
13843
13861
|
function WC(e) {
|
|
@@ -13849,7 +13867,7 @@ function KC(e, t, n = {}) {
|
|
|
13849
13867
|
const a = /* @__PURE__ */ BC(() => o && "ResizeObserver" in o), s = () => {
|
|
13850
13868
|
i && (i.disconnect(), i = void 0);
|
|
13851
13869
|
}, l = de(O(() => {
|
|
13852
|
-
const u =
|
|
13870
|
+
const u = bt(e);
|
|
13853
13871
|
return Array.isArray(u) ? u.map((d) => bn(d)) : [bn(u)];
|
|
13854
13872
|
}), (u) => {
|
|
13855
13873
|
if (s(), a.value && o) {
|
|
@@ -13868,7 +13886,7 @@ function KC(e, t, n = {}) {
|
|
|
13868
13886
|
};
|
|
13869
13887
|
}
|
|
13870
13888
|
// @__NO_SIDE_EFFECTS__
|
|
13871
|
-
function
|
|
13889
|
+
function It(e, t, n, o = {}) {
|
|
13872
13890
|
var r, i;
|
|
13873
13891
|
const { clone: a = !1, passive: s = !1, eventName: l, deep: c = !1, defaultValue: u, shouldEmit: d } = o, f = Mt(), h = n || f?.emit || (f == null || (r = f.$emit) === null || r === void 0 ? void 0 : r.bind(f)) || (f == null || (i = f.proxy) === null || i === void 0 || (i = i.$emit) === null || i === void 0 ? void 0 : i.bind(f?.proxy));
|
|
13874
13892
|
let m = l;
|
|
@@ -13926,7 +13944,7 @@ function Mh(e, t, n, o = e.includes(t) ? e.length : e.length + 1) {
|
|
|
13926
13944
|
return s ? s.hasAttribute("disabled") && s.getAttribute("disabled") !== "false" ? Mh(e, s, n, o) : s : null;
|
|
13927
13945
|
}
|
|
13928
13946
|
const [ur, HC] = /* @__PURE__ */ We("ConfigProvider");
|
|
13929
|
-
var GC = /* @__PURE__ */
|
|
13947
|
+
var GC = /* @__PURE__ */ N({
|
|
13930
13948
|
inheritAttrs: !1,
|
|
13931
13949
|
__name: "ConfigProvider",
|
|
13932
13950
|
props: {
|
|
@@ -13962,7 +13980,7 @@ var GC = /* @__PURE__ */ D({
|
|
|
13962
13980
|
}
|
|
13963
13981
|
},
|
|
13964
13982
|
setup(e) {
|
|
13965
|
-
const t = e, { dir: n, locale: o, scrollBody: r, nonce: i, teleportTo: a } = /* @__PURE__ */
|
|
13983
|
+
const t = e, { dir: n, locale: o, scrollBody: r, nonce: i, teleportTo: a } = /* @__PURE__ */ wt(t);
|
|
13966
13984
|
return HC({
|
|
13967
13985
|
dir: n,
|
|
13968
13986
|
locale: o,
|
|
@@ -14327,12 +14345,12 @@ function cr(e) {
|
|
|
14327
14345
|
function Eo(e) {
|
|
14328
14346
|
const t = Mt(), n = t?.type.emits, o = {};
|
|
14329
14347
|
return n?.length || console.warn(`No emitted event found. Please check component: ${t?.type.__name}`), n?.forEach((r) => {
|
|
14330
|
-
o[Cr(
|
|
14348
|
+
o[Cr(dt(r))] = (...i) => e(r, ...i);
|
|
14331
14349
|
}), o;
|
|
14332
14350
|
}
|
|
14333
14351
|
let fs = 0;
|
|
14334
14352
|
function Vh() {
|
|
14335
|
-
Ht() ||
|
|
14353
|
+
Ht() || Nt((e) => {
|
|
14336
14354
|
if (!on) return;
|
|
14337
14355
|
const t = document.querySelectorAll("[data-reka-focus-guard]");
|
|
14338
14356
|
document.body.insertAdjacentElement("afterbegin", t[0] ?? dd()), document.body.insertAdjacentElement("beforeend", t[1] ?? dd()), fs++, e(() => {
|
|
@@ -14345,7 +14363,7 @@ function dd() {
|
|
|
14345
14363
|
return e.setAttribute("data-reka-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
14346
14364
|
}
|
|
14347
14365
|
function Yr(e) {
|
|
14348
|
-
return O(() =>
|
|
14366
|
+
return O(() => bt(e) ? !!bn(e)?.closest("form") : !0);
|
|
14349
14367
|
}
|
|
14350
14368
|
function we() {
|
|
14351
14369
|
const e = Mt(), t = /* @__PURE__ */ M(), n = O(() => o());
|
|
@@ -14400,7 +14418,7 @@ function Po(e) {
|
|
|
14400
14418
|
return O(() => {
|
|
14401
14419
|
const r = {}, i = t?.vnode.props ?? {};
|
|
14402
14420
|
return Object.keys(i).forEach((a) => {
|
|
14403
|
-
r[
|
|
14421
|
+
r[dt(a)] = i[a];
|
|
14404
14422
|
}), Object.keys({
|
|
14405
14423
|
...n,
|
|
14406
14424
|
...r
|
|
@@ -14435,14 +14453,14 @@ function r1(e, t) {
|
|
|
14435
14453
|
}, d = i1(u, c.getBoundingClientRect()), f = a1(u, d, 1), h = s1(l.getBoundingClientRect()), m = u1([...f, ...h]);
|
|
14436
14454
|
o.value = m, n.value = !0;
|
|
14437
14455
|
}
|
|
14438
|
-
return
|
|
14456
|
+
return Nt((s) => {
|
|
14439
14457
|
if (e.value && t.value) {
|
|
14440
14458
|
const l = e.value, c = t.value, u = (f) => a(f, c), d = (f) => a(f, l);
|
|
14441
14459
|
l.addEventListener("pointerleave", u), c.addEventListener("pointerleave", d), s(() => {
|
|
14442
14460
|
l.removeEventListener("pointerleave", u), c.removeEventListener("pointerleave", d);
|
|
14443
14461
|
});
|
|
14444
14462
|
}
|
|
14445
|
-
}),
|
|
14463
|
+
}), Nt((s) => {
|
|
14446
14464
|
if (o.value) {
|
|
14447
14465
|
const l = (u) => {
|
|
14448
14466
|
if (!o.value || !(u.target instanceof Element)) return;
|
|
@@ -14767,7 +14785,7 @@ function b1(e, t) {
|
|
|
14767
14785
|
function vi(e) {
|
|
14768
14786
|
return e && getComputedStyle(e).animationName || "none";
|
|
14769
14787
|
}
|
|
14770
|
-
var jn = /* @__PURE__ */
|
|
14788
|
+
var jn = /* @__PURE__ */ N({
|
|
14771
14789
|
name: "Presence",
|
|
14772
14790
|
props: {
|
|
14773
14791
|
present: {
|
|
@@ -14778,7 +14796,7 @@ var jn = /* @__PURE__ */ D({
|
|
|
14778
14796
|
},
|
|
14779
14797
|
slots: {},
|
|
14780
14798
|
setup(e, { slots: t, expose: n }) {
|
|
14781
|
-
const { present: o, forceMount: r } = /* @__PURE__ */
|
|
14799
|
+
const { present: o, forceMount: r } = /* @__PURE__ */ wt(e), i = /* @__PURE__ */ M(), { isPresent: a } = b1(o, i);
|
|
14782
14800
|
n({ present: a });
|
|
14783
14801
|
let s = t.default({ present: a.value });
|
|
14784
14802
|
s = eu(s || []);
|
|
@@ -14801,7 +14819,7 @@ var jn = /* @__PURE__ */ D({
|
|
|
14801
14819
|
} }) : null;
|
|
14802
14820
|
}
|
|
14803
14821
|
});
|
|
14804
|
-
const Hs = /* @__PURE__ */
|
|
14822
|
+
const Hs = /* @__PURE__ */ N({
|
|
14805
14823
|
name: "PrimitiveSlot",
|
|
14806
14824
|
inheritAttrs: !1,
|
|
14807
14825
|
setup(e, { attrs: t, slots: n }) {
|
|
@@ -14822,7 +14840,7 @@ const Hs = /* @__PURE__ */ D({
|
|
|
14822
14840
|
"area",
|
|
14823
14841
|
"img",
|
|
14824
14842
|
"input"
|
|
14825
|
-
], Oe = /* @__PURE__ */
|
|
14843
|
+
], Oe = /* @__PURE__ */ N({
|
|
14826
14844
|
name: "Primitive",
|
|
14827
14845
|
inheritAttrs: !1,
|
|
14828
14846
|
props: {
|
|
@@ -14848,7 +14866,7 @@ function Gs() {
|
|
|
14848
14866
|
};
|
|
14849
14867
|
}
|
|
14850
14868
|
const [Sn, _1] = /* @__PURE__ */ We("DialogRoot");
|
|
14851
|
-
var S1 = /* @__PURE__ */
|
|
14869
|
+
var S1 = /* @__PURE__ */ N({
|
|
14852
14870
|
inheritAttrs: !1,
|
|
14853
14871
|
__name: "DialogRoot",
|
|
14854
14872
|
props: {
|
|
@@ -14875,10 +14893,10 @@ var S1 = /* @__PURE__ */ D({
|
|
|
14875
14893
|
},
|
|
14876
14894
|
emits: ["update:open"],
|
|
14877
14895
|
setup(e, { emit: t }) {
|
|
14878
|
-
const n = e, r = /* @__PURE__ */
|
|
14896
|
+
const n = e, r = /* @__PURE__ */ It(n, "open", t, {
|
|
14879
14897
|
defaultValue: n.defaultOpen,
|
|
14880
14898
|
passive: n.open === void 0
|
|
14881
|
-
}), i = /* @__PURE__ */ M(), a = /* @__PURE__ */ M(), { modal: s, unmountOnHide: l } = /* @__PURE__ */
|
|
14899
|
+
}), i = /* @__PURE__ */ M(), a = /* @__PURE__ */ M(), { modal: s, unmountOnHide: l } = /* @__PURE__ */ wt(n);
|
|
14882
14900
|
return _1({
|
|
14883
14901
|
open: r,
|
|
14884
14902
|
modal: s,
|
|
@@ -14902,7 +14920,7 @@ var S1 = /* @__PURE__ */ D({
|
|
|
14902
14920
|
close: () => r.value = !1
|
|
14903
14921
|
});
|
|
14904
14922
|
}
|
|
14905
|
-
}), x1 = S1, k1 = /* @__PURE__ */
|
|
14923
|
+
}), x1 = S1, k1 = /* @__PURE__ */ N({
|
|
14906
14924
|
__name: "DialogClose",
|
|
14907
14925
|
props: {
|
|
14908
14926
|
asChild: {
|
|
@@ -14919,7 +14937,7 @@ var S1 = /* @__PURE__ */ D({
|
|
|
14919
14937
|
const t = e;
|
|
14920
14938
|
we();
|
|
14921
14939
|
const n = Sn();
|
|
14922
|
-
return (o, r) => (y(),
|
|
14940
|
+
return (o, r) => (y(), D(p(Oe), ie(t, {
|
|
14923
14941
|
type: o.as === "button" ? "button" : void 0,
|
|
14924
14942
|
onClick: r[0] || (r[0] = (i) => p(n).onOpenChange(!1))
|
|
14925
14943
|
}), {
|
|
@@ -14938,8 +14956,8 @@ function jh(e, t) {
|
|
|
14938
14956
|
function $1(e, t, n = !0) {
|
|
14939
14957
|
const o = t?.value?.ownerDocument ?? globalThis?.document, r = /* @__PURE__ */ M(!1), i = /* @__PURE__ */ M(() => {
|
|
14940
14958
|
});
|
|
14941
|
-
return
|
|
14942
|
-
if (!on || !
|
|
14959
|
+
return Nt((a) => {
|
|
14960
|
+
if (!on || !bt(n)) return;
|
|
14943
14961
|
const s = async (c) => {
|
|
14944
14962
|
const u = c.target;
|
|
14945
14963
|
if (!(!t?.value || !u)) {
|
|
@@ -14964,13 +14982,13 @@ function $1(e, t, n = !0) {
|
|
|
14964
14982
|
window.clearTimeout(l), o.removeEventListener("pointerdown", s), o.removeEventListener("click", i.value);
|
|
14965
14983
|
});
|
|
14966
14984
|
}), { onPointerDownCapture: () => {
|
|
14967
|
-
|
|
14985
|
+
bt(n) && (r.value = !0);
|
|
14968
14986
|
} };
|
|
14969
14987
|
}
|
|
14970
14988
|
function E1(e, t, n = !0) {
|
|
14971
14989
|
const o = t?.value?.ownerDocument ?? globalThis?.document, r = /* @__PURE__ */ M(!1);
|
|
14972
|
-
return
|
|
14973
|
-
if (!on || !
|
|
14990
|
+
return Nt((i) => {
|
|
14991
|
+
if (!on || !bt(n)) return;
|
|
14974
14992
|
const a = async (s) => {
|
|
14975
14993
|
if (!t?.value) return;
|
|
14976
14994
|
await Re(), await Re();
|
|
@@ -14980,14 +14998,14 @@ function E1(e, t, n = !0) {
|
|
|
14980
14998
|
o.addEventListener("focusin", a), i(() => o.removeEventListener("focusin", a));
|
|
14981
14999
|
}), {
|
|
14982
15000
|
onFocusCapture: () => {
|
|
14983
|
-
|
|
15001
|
+
bt(n) && (r.value = !0);
|
|
14984
15002
|
},
|
|
14985
15003
|
onBlurCapture: () => {
|
|
14986
|
-
|
|
15004
|
+
bt(n) && (r.value = !1);
|
|
14987
15005
|
}
|
|
14988
15006
|
};
|
|
14989
15007
|
}
|
|
14990
|
-
var P1 = /* @__PURE__ */
|
|
15008
|
+
var P1 = /* @__PURE__ */ N({
|
|
14991
15009
|
__name: "DismissableLayer",
|
|
14992
15010
|
props: {
|
|
14993
15011
|
disableOutsidePointerEvents: {
|
|
@@ -15045,11 +15063,11 @@ var P1 = /* @__PURE__ */ D({
|
|
|
15045
15063
|
!m || !v || (l.value.add(m), w(() => {
|
|
15046
15064
|
l.value.delete(m);
|
|
15047
15065
|
}));
|
|
15048
|
-
}, { immediate: !0 }),
|
|
15066
|
+
}, { immediate: !0 }), Nt((m) => {
|
|
15049
15067
|
m(() => {
|
|
15050
15068
|
i.value && (l.value.delete(i.value), tt.layersWithOutsidePointerEventsDisabled.delete(i.value));
|
|
15051
15069
|
});
|
|
15052
|
-
}), (m, v) => (y(),
|
|
15070
|
+
}), (m, v) => (y(), D(p(Oe), {
|
|
15053
15071
|
ref: p(r),
|
|
15054
15072
|
"as-child": m.asChild,
|
|
15055
15073
|
as: m.as,
|
|
@@ -15130,7 +15148,7 @@ function Gn(e, { select: t = !1 } = {}) {
|
|
|
15130
15148
|
e.focus({ preventScroll: !0 }), e !== n && M1(e) && t && e.select();
|
|
15131
15149
|
}
|
|
15132
15150
|
}
|
|
15133
|
-
var z1 = /* @__PURE__ */
|
|
15151
|
+
var z1 = /* @__PURE__ */ N({
|
|
15134
15152
|
__name: "FocusScope",
|
|
15135
15153
|
props: {
|
|
15136
15154
|
loop: {
|
|
@@ -15171,7 +15189,7 @@ var z1 = /* @__PURE__ */ D({
|
|
|
15171
15189
|
this.paused = !1;
|
|
15172
15190
|
}
|
|
15173
15191
|
});
|
|
15174
|
-
|
|
15192
|
+
Nt((f) => {
|
|
15175
15193
|
if (!on) return;
|
|
15176
15194
|
const h = i.value;
|
|
15177
15195
|
if (!n.trapped) return;
|
|
@@ -15205,7 +15223,7 @@ var z1 = /* @__PURE__ */ D({
|
|
|
15205
15223
|
const m = new CustomEvent(hs, pd), v = (g) => o("mountAutoFocus", g);
|
|
15206
15224
|
f.addEventListener(hs, v), f.dispatchEvent(m), f.removeEventListener(hs, v), m.defaultPrevented || (R1(Uh(f), { select: !0 }), ot() === h && Gn(f));
|
|
15207
15225
|
}
|
|
15208
|
-
|
|
15226
|
+
Nt(async (f) => {
|
|
15209
15227
|
const h = i.value;
|
|
15210
15228
|
if (await Re(), !h) return;
|
|
15211
15229
|
n.present !== !1 && l.add(c);
|
|
@@ -15239,7 +15257,7 @@ var z1 = /* @__PURE__ */ D({
|
|
|
15239
15257
|
g && w ? !f.shiftKey && m === w ? (f.preventDefault(), n.loop && Gn(g, { select: !0 })) : f.shiftKey && m === g && (f.preventDefault(), n.loop && Gn(w, { select: !0 })) : m === v && f.preventDefault();
|
|
15240
15258
|
}
|
|
15241
15259
|
}
|
|
15242
|
-
return (f, h) => (y(),
|
|
15260
|
+
return (f, h) => (y(), D(p(Oe), {
|
|
15243
15261
|
ref_key: "currentRef",
|
|
15244
15262
|
ref: r,
|
|
15245
15263
|
tabindex: "-1",
|
|
@@ -15301,7 +15319,7 @@ function U1(e, t) {
|
|
|
15301
15319
|
function nr(e) {
|
|
15302
15320
|
return e.pointerType === "mouse";
|
|
15303
15321
|
}
|
|
15304
|
-
var W1 = /* @__PURE__ */
|
|
15322
|
+
var W1 = /* @__PURE__ */ N({
|
|
15305
15323
|
__name: "DialogContentImpl",
|
|
15306
15324
|
props: {
|
|
15307
15325
|
forceMount: {
|
|
@@ -15341,7 +15359,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15341
15359
|
const n = e, o = t, r = Sn(), i = Ht(), { forwardRef: a, currentElement: s } = we();
|
|
15342
15360
|
return r.titleId ||= jt(void 0, "reka-dialog-title"), r.descriptionId ||= jt(void 0, "reka-dialog-description"), Ge(() => {
|
|
15343
15361
|
r.contentElement = s, ot() !== document.body && (!i || i.canFocus()) && (r.triggerElement.value = ot());
|
|
15344
|
-
}), (l, c) => (y(),
|
|
15362
|
+
}), (l, c) => (y(), D(p(iu), {
|
|
15345
15363
|
"as-child": "",
|
|
15346
15364
|
loop: "",
|
|
15347
15365
|
trapped: n.trapFocus,
|
|
@@ -15382,7 +15400,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15382
15400
|
_: 3
|
|
15383
15401
|
}, 8, ["trapped", "present"]));
|
|
15384
15402
|
}
|
|
15385
|
-
}), Kh = W1, K1 = /* @__PURE__ */
|
|
15403
|
+
}), Kh = W1, K1 = /* @__PURE__ */ N({
|
|
15386
15404
|
__name: "DialogContentModal",
|
|
15387
15405
|
props: {
|
|
15388
15406
|
forceMount: {
|
|
@@ -15428,7 +15446,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15428
15446
|
});
|
|
15429
15447
|
return de(() => n.present, (d, f) => {
|
|
15430
15448
|
!d && f && (i ? i.restoreFocus(r.triggerElement.value) : r.triggerElement.value?.focus());
|
|
15431
|
-
}), (d, f) => (y(),
|
|
15449
|
+
}), (d, f) => (y(), D(Kh, ie({
|
|
15432
15450
|
...u.value,
|
|
15433
15451
|
...p(a)
|
|
15434
15452
|
}, {
|
|
@@ -15455,7 +15473,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15455
15473
|
"disable-outside-pointer-events"
|
|
15456
15474
|
]));
|
|
15457
15475
|
}
|
|
15458
|
-
}), Z1 = K1, H1 = /* @__PURE__ */
|
|
15476
|
+
}), Z1 = K1, H1 = /* @__PURE__ */ N({
|
|
15459
15477
|
__name: "DialogContentNonModal",
|
|
15460
15478
|
props: {
|
|
15461
15479
|
forceMount: {
|
|
@@ -15500,7 +15518,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15500
15518
|
});
|
|
15501
15519
|
return de(() => n.present, (c, u) => {
|
|
15502
15520
|
!c && u && (a.value || i.triggerElement.value?.focus(), a.value = !1, s.value = !1);
|
|
15503
|
-
}), (c, u) => (y(),
|
|
15521
|
+
}), (c, u) => (y(), D(Kh, ie({
|
|
15504
15522
|
...l.value,
|
|
15505
15523
|
...p(r)
|
|
15506
15524
|
}, {
|
|
@@ -15520,7 +15538,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15520
15538
|
_: 3
|
|
15521
15539
|
}, 16, ["present"]));
|
|
15522
15540
|
}
|
|
15523
|
-
}), G1 = H1, J1 = /* @__PURE__ */
|
|
15541
|
+
}), G1 = H1, J1 = /* @__PURE__ */ N({
|
|
15524
15542
|
__name: "DialogContent",
|
|
15525
15543
|
props: {
|
|
15526
15544
|
forceMount: {
|
|
@@ -15551,11 +15569,11 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15551
15569
|
],
|
|
15552
15570
|
setup(e, { emit: t }) {
|
|
15553
15571
|
const n = e, o = t, r = Sn(), i = Eo(o), { forwardRef: a } = we(), s = O(() => n.forceMount || !r.unmountOnHide.value);
|
|
15554
|
-
return (l, c) => (y(),
|
|
15572
|
+
return (l, c) => (y(), D(p(jn), {
|
|
15555
15573
|
present: p(r).open.value,
|
|
15556
15574
|
"force-mount": s.value
|
|
15557
15575
|
}, {
|
|
15558
|
-
default: P(({ present: u }) => [p(r).modal.value ? xo((y(),
|
|
15576
|
+
default: P(({ present: u }) => [p(r).modal.value ? xo((y(), D(Z1, ie({
|
|
15559
15577
|
key: 0,
|
|
15560
15578
|
ref: p(a),
|
|
15561
15579
|
present: s.value ? u : !0
|
|
@@ -15566,7 +15584,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15566
15584
|
}), {
|
|
15567
15585
|
default: P(() => [R(l.$slots, "default")]),
|
|
15568
15586
|
_: 2
|
|
15569
|
-
}, 1040, ["present"])), [[Ho, l.forceMount || p(r).unmountOnHide.value || u]]) : xo((y(),
|
|
15587
|
+
}, 1040, ["present"])), [[Ho, l.forceMount || p(r).unmountOnHide.value || u]]) : xo((y(), D(G1, ie({
|
|
15570
15588
|
key: 1,
|
|
15571
15589
|
ref: p(a),
|
|
15572
15590
|
present: s.value ? u : !0
|
|
@@ -15581,7 +15599,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15581
15599
|
_: 3
|
|
15582
15600
|
}, 8, ["present", "force-mount"]));
|
|
15583
15601
|
}
|
|
15584
|
-
}), Y1 = J1, X1 = /* @__PURE__ */
|
|
15602
|
+
}), Y1 = J1, X1 = /* @__PURE__ */ N({
|
|
15585
15603
|
__name: "DialogDescription",
|
|
15586
15604
|
props: {
|
|
15587
15605
|
asChild: {
|
|
@@ -15598,12 +15616,12 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15598
15616
|
const t = e;
|
|
15599
15617
|
we();
|
|
15600
15618
|
const n = Sn();
|
|
15601
|
-
return (o, r) => (y(),
|
|
15619
|
+
return (o, r) => (y(), D(p(Oe), ie(t, { id: p(n).descriptionId }), {
|
|
15602
15620
|
default: P(() => [R(o.$slots, "default")]),
|
|
15603
15621
|
_: 3
|
|
15604
15622
|
}, 16, ["id"]));
|
|
15605
15623
|
}
|
|
15606
|
-
}), Q1 = X1, eA = /* @__PURE__ */
|
|
15624
|
+
}), Q1 = X1, eA = /* @__PURE__ */ N({
|
|
15607
15625
|
__name: "DialogOverlayImpl",
|
|
15608
15626
|
props: {
|
|
15609
15627
|
asChild: {
|
|
@@ -15622,7 +15640,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15622
15640
|
},
|
|
15623
15641
|
setup(e) {
|
|
15624
15642
|
const t = e, n = Sn(), o = nu(t.present);
|
|
15625
|
-
return de(() => t.present, (r) => o.value = r), we(), (r, i) => (y(),
|
|
15643
|
+
return de(() => t.present, (r) => o.value = r), we(), (r, i) => (y(), D(p(Oe), {
|
|
15626
15644
|
as: r.as,
|
|
15627
15645
|
"as-child": r.asChild,
|
|
15628
15646
|
"data-state": p(n).open.value ? "open" : "closed",
|
|
@@ -15642,7 +15660,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15642
15660
|
"data-state"
|
|
15643
15661
|
]));
|
|
15644
15662
|
}
|
|
15645
|
-
}), tA = eA, nA = /* @__PURE__ */
|
|
15663
|
+
}), tA = eA, nA = /* @__PURE__ */ N({
|
|
15646
15664
|
__name: "DialogOverlay",
|
|
15647
15665
|
props: {
|
|
15648
15666
|
forceMount: {
|
|
@@ -15660,7 +15678,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15660
15678
|
},
|
|
15661
15679
|
setup(e) {
|
|
15662
15680
|
const t = e, n = Sn(), { forwardRef: o } = we(), r = O(() => t.forceMount || !n.unmountOnHide.value);
|
|
15663
|
-
return (i, a) => p(n)?.modal.value ? (y(),
|
|
15681
|
+
return (i, a) => p(n)?.modal.value ? (y(), D(p(jn), {
|
|
15664
15682
|
key: 0,
|
|
15665
15683
|
present: p(n).open.value,
|
|
15666
15684
|
"force-mount": r.value
|
|
@@ -15681,7 +15699,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15681
15699
|
_: 3
|
|
15682
15700
|
}, 8, ["present", "force-mount"])) : V("v-if", !0);
|
|
15683
15701
|
}
|
|
15684
|
-
}), oA = nA, rA = /* @__PURE__ */
|
|
15702
|
+
}), oA = nA, rA = /* @__PURE__ */ N({
|
|
15685
15703
|
__name: "Teleport",
|
|
15686
15704
|
props: {
|
|
15687
15705
|
to: {
|
|
@@ -15703,7 +15721,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15703
15721
|
},
|
|
15704
15722
|
setup(e) {
|
|
15705
15723
|
const t = e, n = ur({}), o = O(() => t.to ?? n.teleportTo?.value ?? "body"), r = /* @__PURE__ */ Nh();
|
|
15706
|
-
return (i, a) => p(r) || i.forceMount ? (y(),
|
|
15724
|
+
return (i, a) => p(r) || i.forceMount ? (y(), D(Ol, {
|
|
15707
15725
|
key: 0,
|
|
15708
15726
|
to: o.value,
|
|
15709
15727
|
disabled: i.disabled,
|
|
@@ -15714,7 +15732,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15714
15732
|
"defer"
|
|
15715
15733
|
])) : V("v-if", !0);
|
|
15716
15734
|
}
|
|
15717
|
-
}), Ea = rA, iA = /* @__PURE__ */
|
|
15735
|
+
}), Ea = rA, iA = /* @__PURE__ */ N({
|
|
15718
15736
|
__name: "DialogPortal",
|
|
15719
15737
|
props: {
|
|
15720
15738
|
to: {
|
|
@@ -15736,12 +15754,12 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15736
15754
|
},
|
|
15737
15755
|
setup(e) {
|
|
15738
15756
|
const t = e;
|
|
15739
|
-
return (n, o) => (y(),
|
|
15757
|
+
return (n, o) => (y(), D(p(Ea), lt(ft(t)), {
|
|
15740
15758
|
default: P(() => [R(n.$slots, "default")]),
|
|
15741
15759
|
_: 3
|
|
15742
15760
|
}, 16));
|
|
15743
15761
|
}
|
|
15744
|
-
}), aA = iA, sA = /* @__PURE__ */
|
|
15762
|
+
}), aA = iA, sA = /* @__PURE__ */ N({
|
|
15745
15763
|
__name: "DialogTitle",
|
|
15746
15764
|
props: {
|
|
15747
15765
|
asChild: {
|
|
@@ -15756,12 +15774,12 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15756
15774
|
},
|
|
15757
15775
|
setup(e) {
|
|
15758
15776
|
const t = e, n = Sn();
|
|
15759
|
-
return we(), (o, r) => (y(),
|
|
15777
|
+
return we(), (o, r) => (y(), D(p(Oe), ie(t, { id: p(n).titleId }), {
|
|
15760
15778
|
default: P(() => [R(o.$slots, "default")]),
|
|
15761
15779
|
_: 3
|
|
15762
15780
|
}, 16, ["id"]));
|
|
15763
15781
|
}
|
|
15764
|
-
}), lA = sA, uA = /* @__PURE__ */
|
|
15782
|
+
}), lA = sA, uA = /* @__PURE__ */ N({
|
|
15765
15783
|
__name: "DialogTrigger",
|
|
15766
15784
|
props: {
|
|
15767
15785
|
asChild: {
|
|
@@ -15778,7 +15796,7 @@ var W1 = /* @__PURE__ */ D({
|
|
|
15778
15796
|
const t = e, n = Sn(), { forwardRef: o, currentElement: r } = we();
|
|
15779
15797
|
return n.contentId ||= jt(void 0, "reka-dialog-content"), Ge(() => {
|
|
15780
15798
|
n.triggerElement.value = r.value;
|
|
15781
|
-
}), (i, a) => (y(),
|
|
15799
|
+
}), (i, a) => (y(), D(p(Oe), ie(t, {
|
|
15782
15800
|
ref: p(o),
|
|
15783
15801
|
type: i.as === "button" ? "button" : void 0,
|
|
15784
15802
|
"aria-haspopup": "dialog",
|
|
@@ -15815,7 +15833,7 @@ function lo(e = {}) {
|
|
|
15815
15833
|
if (!f) return [];
|
|
15816
15834
|
const h = Array.from(f.querySelectorAll(`[${md}]`)), m = new Map(h.map((w, _) => [w, _])), g = Array.from(r.itemMap.value.values()).sort((w, _) => (m.get(w.ref) ?? -1) - (m.get(_.ref) ?? -1));
|
|
15817
15835
|
return d ? g : g.filter((w) => w.ref.dataset.disabled !== "");
|
|
15818
|
-
}, s = /* @__PURE__ */
|
|
15836
|
+
}, s = /* @__PURE__ */ N({
|
|
15819
15837
|
name: "CollectionSlot",
|
|
15820
15838
|
inheritAttrs: !1,
|
|
15821
15839
|
setup(d, { slots: f, attrs: h }) {
|
|
@@ -15827,13 +15845,13 @@ function lo(e = {}) {
|
|
|
15827
15845
|
...h
|
|
15828
15846
|
}, f);
|
|
15829
15847
|
}
|
|
15830
|
-
}), l = /* @__PURE__ */
|
|
15848
|
+
}), l = /* @__PURE__ */ N({
|
|
15831
15849
|
name: "CollectionItem",
|
|
15832
15850
|
inheritAttrs: !1,
|
|
15833
15851
|
props: { value: { validator: () => !0 } },
|
|
15834
15852
|
setup(d, { slots: f, attrs: h }) {
|
|
15835
15853
|
const { primitiveElement: m, currentElement: v } = Gs();
|
|
15836
|
-
return
|
|
15854
|
+
return Nt((g) => {
|
|
15837
15855
|
if (v.value) {
|
|
15838
15856
|
const w = vf(v.value);
|
|
15839
15857
|
r.itemMap.value.set(w, {
|
|
@@ -15857,7 +15875,7 @@ function lo(e = {}) {
|
|
|
15857
15875
|
CollectionItem: l
|
|
15858
15876
|
};
|
|
15859
15877
|
}
|
|
15860
|
-
var dA = /* @__PURE__ */
|
|
15878
|
+
var dA = /* @__PURE__ */ N({
|
|
15861
15879
|
__name: "VisuallyHidden",
|
|
15862
15880
|
props: {
|
|
15863
15881
|
feature: {
|
|
@@ -15876,7 +15894,7 @@ var dA = /* @__PURE__ */ D({
|
|
|
15876
15894
|
}
|
|
15877
15895
|
},
|
|
15878
15896
|
setup(e) {
|
|
15879
|
-
return (t, n) => (y(),
|
|
15897
|
+
return (t, n) => (y(), D(p(Oe), {
|
|
15880
15898
|
as: t.as,
|
|
15881
15899
|
"as-child": t.asChild,
|
|
15882
15900
|
"aria-hidden": t.feature === "focusable" || t.feature === "fully-hidden" ? "true" : void 0,
|
|
@@ -15908,7 +15926,7 @@ var dA = /* @__PURE__ */ D({
|
|
|
15908
15926
|
"tabindex"
|
|
15909
15927
|
]));
|
|
15910
15928
|
}
|
|
15911
|
-
}), lu = dA, fA = /* @__PURE__ */
|
|
15929
|
+
}), lu = dA, fA = /* @__PURE__ */ N({
|
|
15912
15930
|
inheritAttrs: !1,
|
|
15913
15931
|
__name: "VisuallyHiddenInputBubble",
|
|
15914
15932
|
props: {
|
|
@@ -15948,7 +15966,7 @@ var dA = /* @__PURE__ */ D({
|
|
|
15948
15966
|
const d = new Event("input", { bubbles: !0 }), f = new Event("change", { bubbles: !0 });
|
|
15949
15967
|
u.call(s, i), s.dispatchEvent(d), s.dispatchEvent(f);
|
|
15950
15968
|
}
|
|
15951
|
-
}), (i, a) => (y(),
|
|
15969
|
+
}), (i, a) => (y(), D(lu, ie({
|
|
15952
15970
|
ref_key: "primitiveElement",
|
|
15953
15971
|
ref: n
|
|
15954
15972
|
}, {
|
|
@@ -15956,7 +15974,7 @@ var dA = /* @__PURE__ */ D({
|
|
|
15956
15974
|
...i.$attrs
|
|
15957
15975
|
}, { as: "input" }), null, 16));
|
|
15958
15976
|
}
|
|
15959
|
-
}), vd = fA, pA = /* @__PURE__ */
|
|
15977
|
+
}), vd = fA, pA = /* @__PURE__ */ N({
|
|
15960
15978
|
inheritAttrs: !1,
|
|
15961
15979
|
__name: "VisuallyHiddenInput",
|
|
15962
15980
|
props: {
|
|
@@ -16001,13 +16019,13 @@ var dA = /* @__PURE__ */ D({
|
|
|
16001
16019
|
name: `${t.name}[${r}]`,
|
|
16002
16020
|
value: i
|
|
16003
16021
|
})) : []);
|
|
16004
|
-
return (r, i) => (y(), E(xe, null, [V(" We render single input if it's required "), n.value ? (y(),
|
|
16022
|
+
return (r, i) => (y(), E(xe, null, [V(" We render single input if it's required "), n.value ? (y(), D(vd, ie({ key: r.name }, {
|
|
16005
16023
|
...t,
|
|
16006
16024
|
...r.$attrs
|
|
16007
16025
|
}, {
|
|
16008
16026
|
name: r.name,
|
|
16009
16027
|
value: r.value
|
|
16010
|
-
}), null, 16, ["name", "value"])) : (y(!0), E(xe, { key: 1 }, nt(o.value, (a) => (y(),
|
|
16028
|
+
}), null, 16, ["name", "value"])) : (y(!0), E(xe, { key: 1 }, nt(o.value, (a) => (y(), D(vd, ie({ key: a.name }, { ref_for: !0 }, {
|
|
16011
16029
|
...t,
|
|
16012
16030
|
...r.$attrs
|
|
16013
16031
|
}, {
|
|
@@ -16046,7 +16064,7 @@ function bA(e, t) {
|
|
|
16046
16064
|
return e.map((n, o) => e[(t + o) % e.length]);
|
|
16047
16065
|
}
|
|
16048
16066
|
const [Hh, wA] = /* @__PURE__ */ We("PopperRoot");
|
|
16049
|
-
var _A = /* @__PURE__ */
|
|
16067
|
+
var _A = /* @__PURE__ */ N({
|
|
16050
16068
|
inheritAttrs: !1,
|
|
16051
16069
|
__name: "PopperRoot",
|
|
16052
16070
|
setup(e) {
|
|
@@ -16056,7 +16074,7 @@ var _A = /* @__PURE__ */ D({
|
|
|
16056
16074
|
onAnchorChange: (n) => t.value = n
|
|
16057
16075
|
}), (n, o) => R(n.$slots, "default");
|
|
16058
16076
|
}
|
|
16059
|
-
}), Ta = _A, SA = /* @__PURE__ */
|
|
16077
|
+
}), Ta = _A, SA = /* @__PURE__ */ N({
|
|
16060
16078
|
__name: "PopperAnchor",
|
|
16061
16079
|
props: {
|
|
16062
16080
|
reference: {
|
|
@@ -16076,7 +16094,7 @@ var _A = /* @__PURE__ */ D({
|
|
|
16076
16094
|
const t = e, { forwardRef: n, currentElement: o } = we(), r = Hh();
|
|
16077
16095
|
return Af(() => {
|
|
16078
16096
|
r.onAnchorChange(t.reference ?? o.value);
|
|
16079
|
-
}), (i, a) => (y(),
|
|
16097
|
+
}), (i, a) => (y(), D(p(Oe), {
|
|
16080
16098
|
ref: p(n),
|
|
16081
16099
|
as: i.as,
|
|
16082
16100
|
"as-child": i.asChild
|
|
@@ -16723,7 +16741,7 @@ function Ia() {
|
|
|
16723
16741
|
function To(e) {
|
|
16724
16742
|
return pu(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
16725
16743
|
}
|
|
16726
|
-
function
|
|
16744
|
+
function Dt(e) {
|
|
16727
16745
|
var t;
|
|
16728
16746
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
16729
16747
|
}
|
|
@@ -16732,16 +16750,16 @@ function Un(e) {
|
|
|
16732
16750
|
return (t = (pu(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
16733
16751
|
}
|
|
16734
16752
|
function pu(e) {
|
|
16735
|
-
return Ia() ? e instanceof Node || e instanceof
|
|
16753
|
+
return Ia() ? e instanceof Node || e instanceof Dt(e).Node : !1;
|
|
16736
16754
|
}
|
|
16737
16755
|
function wn(e) {
|
|
16738
|
-
return Ia() ? e instanceof Element || e instanceof
|
|
16756
|
+
return Ia() ? e instanceof Element || e instanceof Dt(e).Element : !1;
|
|
16739
16757
|
}
|
|
16740
16758
|
function uo(e) {
|
|
16741
|
-
return Ia() ? e instanceof HTMLElement || e instanceof
|
|
16759
|
+
return Ia() ? e instanceof HTMLElement || e instanceof Dt(e).HTMLElement : !1;
|
|
16742
16760
|
}
|
|
16743
16761
|
function Sd(e) {
|
|
16744
|
-
return !Ia() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof
|
|
16762
|
+
return !Ia() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Dt(e).ShadowRoot;
|
|
16745
16763
|
}
|
|
16746
16764
|
function Ra(e) {
|
|
16747
16765
|
const {
|
|
@@ -16791,7 +16809,7 @@ function Br(e) {
|
|
|
16791
16809
|
return /^(html|body|#document)$/.test(To(e));
|
|
16792
16810
|
}
|
|
16793
16811
|
function _n(e) {
|
|
16794
|
-
return
|
|
16812
|
+
return Dt(e).getComputedStyle(e);
|
|
16795
16813
|
}
|
|
16796
16814
|
function Na(e) {
|
|
16797
16815
|
return wn(e) ? {
|
|
@@ -16821,7 +16839,7 @@ function Xh(e) {
|
|
|
16821
16839
|
function jr(e, t, n) {
|
|
16822
16840
|
var o;
|
|
16823
16841
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
16824
|
-
const r = Xh(e), i = r === ((o = e.ownerDocument) == null ? void 0 : o.body), a =
|
|
16842
|
+
const r = Xh(e), i = r === ((o = e.ownerDocument) == null ? void 0 : o.body), a = Dt(r);
|
|
16825
16843
|
if (i) {
|
|
16826
16844
|
const s = el(a);
|
|
16827
16845
|
return t.concat(a, a.visualViewport || [], Ra(r) ? r : [], s && n ? jr(s) : []);
|
|
@@ -16861,14 +16879,14 @@ function Ko(e) {
|
|
|
16861
16879
|
}
|
|
16862
16880
|
const GA = /* @__PURE__ */ In(0);
|
|
16863
16881
|
function em(e) {
|
|
16864
|
-
const t =
|
|
16882
|
+
const t = Dt(e);
|
|
16865
16883
|
return !mu() || !t.visualViewport ? GA : {
|
|
16866
16884
|
x: t.visualViewport.offsetLeft,
|
|
16867
16885
|
y: t.visualViewport.offsetTop
|
|
16868
16886
|
};
|
|
16869
16887
|
}
|
|
16870
16888
|
function JA(e, t, n) {
|
|
16871
|
-
return t === void 0 && (t = !1), !!n && t && n ===
|
|
16889
|
+
return t === void 0 && (t = !1), !!n && t && n === Dt(e);
|
|
16872
16890
|
}
|
|
16873
16891
|
function $o(e, t, n, o) {
|
|
16874
16892
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
@@ -16878,11 +16896,11 @@ function $o(e, t, n, o) {
|
|
|
16878
16896
|
const s = JA(i, n, o) ? em(i) : In(0);
|
|
16879
16897
|
let l = (r.left + s.x) / a.x, c = (r.top + s.y) / a.y, u = r.width / a.x, d = r.height / a.y;
|
|
16880
16898
|
if (i && o) {
|
|
16881
|
-
const f =
|
|
16899
|
+
const f = Dt(i), h = wn(o) ? Dt(o) : o;
|
|
16882
16900
|
let m = f, v = el(m);
|
|
16883
16901
|
for (; v && h !== m; ) {
|
|
16884
16902
|
const g = Ko(v), w = v.getBoundingClientRect(), _ = _n(v), C = w.left + (v.clientLeft + parseFloat(_.paddingLeft)) * g.x, b = w.top + (v.clientTop + parseFloat(_.paddingTop)) * g.y;
|
|
16885
|
-
l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += C, c += b, m =
|
|
16903
|
+
l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += C, c += b, m = Dt(v), v = el(m);
|
|
16886
16904
|
}
|
|
16887
16905
|
}
|
|
16888
16906
|
return Yi({
|
|
@@ -16947,7 +16965,7 @@ function QA(e) {
|
|
|
16947
16965
|
const eO = 25;
|
|
16948
16966
|
function tO(e, t, n) {
|
|
16949
16967
|
n === void 0 && (n = "viewport");
|
|
16950
|
-
const o = n === "layoutViewport", r =
|
|
16968
|
+
const o = n === "layoutViewport", r = Dt(e), i = Un(e), a = r.visualViewport;
|
|
16951
16969
|
let s = i.clientWidth, l = i.clientHeight, c = 0, u = 0;
|
|
16952
16970
|
if (a) {
|
|
16953
16971
|
const f = !mu() || t === "fixed";
|
|
@@ -17067,7 +17085,7 @@ function kd(e, t) {
|
|
|
17067
17085
|
return Un(e) === n && (n = n.ownerDocument.body), n;
|
|
17068
17086
|
}
|
|
17069
17087
|
function nm(e, t) {
|
|
17070
|
-
const n =
|
|
17088
|
+
const n = Dt(e);
|
|
17071
17089
|
if (Da(e))
|
|
17072
17090
|
return n;
|
|
17073
17091
|
if (!uo(e)) {
|
|
@@ -17160,7 +17178,7 @@ function cO(e, t, n) {
|
|
|
17160
17178
|
}
|
|
17161
17179
|
o.observe(e);
|
|
17162
17180
|
}
|
|
17163
|
-
const l =
|
|
17181
|
+
const l = Dt(e), c = () => s(n);
|
|
17164
17182
|
return l.addEventListener("resize", c), s(!0), () => {
|
|
17165
17183
|
l.removeEventListener("resize", c), a();
|
|
17166
17184
|
};
|
|
@@ -17341,8 +17359,8 @@ const SO = ["dir"], im = {
|
|
|
17341
17359
|
positionStrategy: "fixed",
|
|
17342
17360
|
updatePositionStrategy: "optimized",
|
|
17343
17361
|
prioritizePosition: !1
|
|
17344
|
-
}, [
|
|
17345
|
-
var kO = /* @__PURE__ */
|
|
17362
|
+
}, [ON, xO] = /* @__PURE__ */ We("PopperContent");
|
|
17363
|
+
var kO = /* @__PURE__ */ N({
|
|
17346
17364
|
inheritAttrs: !1,
|
|
17347
17365
|
__name: "PopperContent",
|
|
17348
17366
|
props: /* @__PURE__ */ Lf({
|
|
@@ -17505,7 +17523,7 @@ var kO = /* @__PURE__ */ D({
|
|
|
17505
17523
|
const fe = x.value.arrow?.centerOffset !== 0;
|
|
17506
17524
|
return n.hideShiftedArrow && fe;
|
|
17507
17525
|
}), W = /* @__PURE__ */ M("");
|
|
17508
|
-
|
|
17526
|
+
Nt(() => {
|
|
17509
17527
|
s.value && (W.value = window.getComputedStyle(s.value).zIndex);
|
|
17510
17528
|
});
|
|
17511
17529
|
const X = O(() => x.value.arrow?.x ?? 0), te = O(() => x.value.arrow?.y ?? 0);
|
|
@@ -17539,7 +17557,7 @@ var kO = /* @__PURE__ */ D({
|
|
|
17539
17557
|
p(A),
|
|
17540
17558
|
...Object.values(fe.$attrs),
|
|
17541
17559
|
...n.memoDependencies
|
|
17542
|
-
], () => (y(),
|
|
17560
|
+
], () => (y(), D(p(Oe), ie({
|
|
17543
17561
|
key: 0,
|
|
17544
17562
|
ref: p(a)
|
|
17545
17563
|
}, fe.$attrs, {
|
|
@@ -17557,7 +17575,7 @@ var kO = /* @__PURE__ */ D({
|
|
|
17557
17575
|
"data-side",
|
|
17558
17576
|
"data-align",
|
|
17559
17577
|
"style"
|
|
17560
|
-
])), K, 0) : (y(),
|
|
17578
|
+
])), K, 0) : (y(), D(p(Oe), ie({
|
|
17561
17579
|
key: 1,
|
|
17562
17580
|
ref: p(a)
|
|
17563
17581
|
}, fe.$attrs, {
|
|
@@ -17585,7 +17603,7 @@ function CO(e) {
|
|
|
17585
17603
|
return O(() => e?.value || t.nonce?.value);
|
|
17586
17604
|
}
|
|
17587
17605
|
const [AO, OO] = /* @__PURE__ */ We("RovingFocusGroup");
|
|
17588
|
-
var $O = /* @__PURE__ */
|
|
17606
|
+
var $O = /* @__PURE__ */ N({
|
|
17589
17607
|
__name: "RovingFocusGroup",
|
|
17590
17608
|
props: {
|
|
17591
17609
|
orientation: {
|
|
@@ -17626,7 +17644,7 @@ var $O = /* @__PURE__ */ D({
|
|
|
17626
17644
|
},
|
|
17627
17645
|
emits: ["entryFocus", "update:currentTabStopId"],
|
|
17628
17646
|
setup(e, { expose: t, emit: n }) {
|
|
17629
|
-
const o = e, r = n, { loop: i, orientation: a, dir: s } = /* @__PURE__ */
|
|
17647
|
+
const o = e, r = n, { loop: i, orientation: a, dir: s } = /* @__PURE__ */ wt(o), l = cr(s), c = /* @__PURE__ */ It(o, "currentTabStopId", r, {
|
|
17630
17648
|
defaultValue: o.defaultCurrentTabStopId,
|
|
17631
17649
|
passive: o.currentTabStopId === void 0
|
|
17632
17650
|
}), u = /* @__PURE__ */ M(!1), d = /* @__PURE__ */ M(!1), f = /* @__PURE__ */ M(0), { getItems: h, CollectionSlot: m } = lo({ isProvider: !0 });
|
|
@@ -17668,7 +17686,7 @@ var $O = /* @__PURE__ */ D({
|
|
|
17668
17686
|
onFocusableItemRemove: () => {
|
|
17669
17687
|
f.value--;
|
|
17670
17688
|
}
|
|
17671
|
-
}), (w, _) => (y(),
|
|
17689
|
+
}), (w, _) => (y(), D(p(m), null, {
|
|
17672
17690
|
default: P(() => [Z(p(Oe), {
|
|
17673
17691
|
tabindex: u.value || f.value === 0 ? -1 : 0,
|
|
17674
17692
|
"data-orientation": p(a),
|
|
@@ -17693,7 +17711,7 @@ var $O = /* @__PURE__ */ D({
|
|
|
17693
17711
|
_: 3
|
|
17694
17712
|
}));
|
|
17695
17713
|
}
|
|
17696
|
-
}), am = $O, EO = /* @__PURE__ */
|
|
17714
|
+
}), am = $O, EO = /* @__PURE__ */ N({
|
|
17697
17715
|
__name: "RovingFocusItem",
|
|
17698
17716
|
props: {
|
|
17699
17717
|
tabStopId: {
|
|
@@ -17752,7 +17770,7 @@ var $O = /* @__PURE__ */ D({
|
|
|
17752
17770
|
Re(() => Zh(d));
|
|
17753
17771
|
}
|
|
17754
17772
|
}
|
|
17755
|
-
return (c, u) => (y(),
|
|
17773
|
+
return (c, u) => (y(), D(p(s), null, {
|
|
17756
17774
|
default: P(() => [Z(p(Oe), {
|
|
17757
17775
|
tabindex: i.value ? 0 : -1,
|
|
17758
17776
|
"data-orientation": p(n).orientation.value,
|
|
@@ -17788,7 +17806,7 @@ function lm(e) {
|
|
|
17788
17806
|
return yu(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
17789
17807
|
}
|
|
17790
17808
|
const [TO, IO] = /* @__PURE__ */ We("CheckboxRoot");
|
|
17791
|
-
var RO = /* @__PURE__ */
|
|
17809
|
+
var RO = /* @__PURE__ */ N({
|
|
17792
17810
|
inheritAttrs: !1,
|
|
17793
17811
|
__name: "CheckboxRoot",
|
|
17794
17812
|
props: {
|
|
@@ -17844,7 +17862,7 @@ var RO = /* @__PURE__ */ D({
|
|
|
17844
17862
|
},
|
|
17845
17863
|
emits: ["update:modelValue"],
|
|
17846
17864
|
setup(e, { emit: t }) {
|
|
17847
|
-
const n = e, o = t, { forwardRef: r, currentElement: i } = we(), a = PO(null), s = /* @__PURE__ */
|
|
17865
|
+
const n = e, o = t, { forwardRef: r, currentElement: i } = we(), a = PO(null), s = /* @__PURE__ */ It(n, "modelValue", o, {
|
|
17848
17866
|
defaultValue: n.defaultValue ?? n.falseValue,
|
|
17849
17867
|
passive: n.modelValue === void 0
|
|
17850
17868
|
}), l = O(() => a?.disabled.value || n.disabled), c = O(() => er(s.value, n.trueValue)), u = O(() => tr(a?.modelValue.value) ? s.value === "indeterminate" ? "indeterminate" : c.value : id(a.modelValue.value, n.value));
|
|
@@ -17867,7 +17885,7 @@ var RO = /* @__PURE__ */ D({
|
|
|
17867
17885
|
return IO({
|
|
17868
17886
|
disabled: l,
|
|
17869
17887
|
state: u
|
|
17870
|
-
}), (g, w) => (y(), E(xe, null, [(y(),
|
|
17888
|
+
}), (g, w) => (y(), E(xe, null, [(y(), D(Tt(p(a)?.rovingFocus.value ? p(sm) : p(Oe)), ie({
|
|
17871
17889
|
...g.$attrs,
|
|
17872
17890
|
...p(h)
|
|
17873
17891
|
}, {
|
|
@@ -17906,7 +17924,7 @@ var RO = /* @__PURE__ */ D({
|
|
|
17906
17924
|
"disabled",
|
|
17907
17925
|
"focusable",
|
|
17908
17926
|
"onKeydown"
|
|
17909
|
-
])), p(f) && g.name && !p(a) ? (y(),
|
|
17927
|
+
])), p(f) && g.name && !p(a) ? (y(), D(p(Pa), ie({
|
|
17910
17928
|
key: 0,
|
|
17911
17929
|
type: "checkbox",
|
|
17912
17930
|
checked: !!u.value,
|
|
@@ -17922,7 +17940,7 @@ var RO = /* @__PURE__ */ D({
|
|
|
17922
17940
|
"required"
|
|
17923
17941
|
])) : V("v-if", !0)], 64));
|
|
17924
17942
|
}
|
|
17925
|
-
}), DO = RO, NO = /* @__PURE__ */
|
|
17943
|
+
}), DO = RO, NO = /* @__PURE__ */ N({
|
|
17926
17944
|
__name: "CheckboxIndicator",
|
|
17927
17945
|
props: {
|
|
17928
17946
|
forceMount: {
|
|
@@ -17941,7 +17959,7 @@ var RO = /* @__PURE__ */ D({
|
|
|
17941
17959
|
},
|
|
17942
17960
|
setup(e) {
|
|
17943
17961
|
const { forwardRef: t } = we(), n = TO();
|
|
17944
|
-
return (o, r) => (y(),
|
|
17962
|
+
return (o, r) => (y(), D(p(jn), { present: o.forceMount || p(yu)(p(n).state.value) || p(n).state.value === !0 }, {
|
|
17945
17963
|
default: P(() => [Z(p(Oe), ie({
|
|
17946
17964
|
ref: p(t),
|
|
17947
17965
|
"data-state": p(lm)(p(n).state.value),
|
|
@@ -17961,7 +17979,7 @@ var RO = /* @__PURE__ */ D({
|
|
|
17961
17979
|
_: 3
|
|
17962
17980
|
}, 8, ["present"]));
|
|
17963
17981
|
}
|
|
17964
|
-
}), MO = NO, zO = /* @__PURE__ */
|
|
17982
|
+
}), MO = NO, zO = /* @__PURE__ */ N({
|
|
17965
17983
|
__name: "MenuAnchor",
|
|
17966
17984
|
props: {
|
|
17967
17985
|
reference: {
|
|
@@ -17979,7 +17997,7 @@ var RO = /* @__PURE__ */ D({
|
|
|
17979
17997
|
},
|
|
17980
17998
|
setup(e) {
|
|
17981
17999
|
const t = e;
|
|
17982
|
-
return (n, o) => (y(),
|
|
18000
|
+
return (n, o) => (y(), D(p(uu), lt(ft(t)), {
|
|
17983
18001
|
default: P(() => [R(n.$slots, "default")]),
|
|
17984
18002
|
_: 3
|
|
17985
18003
|
}, 16));
|
|
@@ -18002,7 +18020,7 @@ function qO() {
|
|
|
18002
18020
|
}), e;
|
|
18003
18021
|
}
|
|
18004
18022
|
const FO = /* @__PURE__ */ Ih(qO), [Io, cm] = /* @__PURE__ */ We(["MenuRoot", "MenuSub"], "MenuContext"), [Xr, LO] = /* @__PURE__ */ We("MenuRoot");
|
|
18005
|
-
var VO = /* @__PURE__ */
|
|
18023
|
+
var VO = /* @__PURE__ */ N({
|
|
18006
18024
|
__name: "MenuRoot",
|
|
18007
18025
|
props: {
|
|
18008
18026
|
open: {
|
|
@@ -18022,7 +18040,7 @@ var VO = /* @__PURE__ */ D({
|
|
|
18022
18040
|
},
|
|
18023
18041
|
emits: ["update:open"],
|
|
18024
18042
|
setup(e, { emit: t }) {
|
|
18025
|
-
const n = e, o = t, { modal: r, dir: i } = /* @__PURE__ */
|
|
18043
|
+
const n = e, o = t, { modal: r, dir: i } = /* @__PURE__ */ wt(n), a = cr(i), s = /* @__PURE__ */ It(n, "open", o), l = /* @__PURE__ */ M(), c = FO();
|
|
18026
18044
|
return cm({
|
|
18027
18045
|
open: s,
|
|
18028
18046
|
onOpenChange: (u) => {
|
|
@@ -18039,14 +18057,14 @@ var VO = /* @__PURE__ */ D({
|
|
|
18039
18057
|
isUsingKeyboardRef: c,
|
|
18040
18058
|
dir: a,
|
|
18041
18059
|
modal: r
|
|
18042
|
-
}), (u, d) => (y(),
|
|
18060
|
+
}), (u, d) => (y(), D(p(Ta), null, {
|
|
18043
18061
|
default: P(() => [R(u.$slots, "default")]),
|
|
18044
18062
|
_: 3
|
|
18045
18063
|
}));
|
|
18046
18064
|
}
|
|
18047
18065
|
}), BO = VO;
|
|
18048
18066
|
const [za, jO] = /* @__PURE__ */ We("MenuContent");
|
|
18049
|
-
var UO = /* @__PURE__ */
|
|
18067
|
+
var UO = /* @__PURE__ */ N({
|
|
18050
18068
|
__name: "MenuContentImpl",
|
|
18051
18069
|
props: /* @__PURE__ */ Lf({
|
|
18052
18070
|
loop: {
|
|
@@ -18161,7 +18179,7 @@ var UO = /* @__PURE__ */ D({
|
|
|
18161
18179
|
"dismiss"
|
|
18162
18180
|
],
|
|
18163
18181
|
setup(e, { emit: t }) {
|
|
18164
|
-
const n = e, o = t, r = Io(), i = Xr(), { trapFocus: a, disableOutsidePointerEvents: s, loop: l } = /* @__PURE__ */
|
|
18182
|
+
const n = e, o = t, r = Io(), i = Xr(), { trapFocus: a, disableOutsidePointerEvents: s, loop: l } = /* @__PURE__ */ wt(n);
|
|
18165
18183
|
Vh(), nu(s.value);
|
|
18166
18184
|
const c = /* @__PURE__ */ M(""), u = /* @__PURE__ */ M(0), d = /* @__PURE__ */ M(0), f = /* @__PURE__ */ M(null), h = /* @__PURE__ */ M("right"), m = /* @__PURE__ */ M(0), v = /* @__PURE__ */ M(null), g = /* @__PURE__ */ M(), { forwardRef: w, currentElement: _ } = we(), { handleTypeaheadSearch: C } = ru(), b = /* @__PURE__ */ M();
|
|
18167
18185
|
function k(K) {
|
|
@@ -18208,8 +18226,8 @@ var UO = /* @__PURE__ */ D({
|
|
|
18208
18226
|
const je = g.value?.getItems() ?? [];
|
|
18209
18227
|
if (ce && (K.key === "Tab" && i.modal.value && K.preventDefault(), !Fe && ye && !pe && C(K.key, je)), K.target !== _.value || !L1.includes(K.key)) return;
|
|
18210
18228
|
K.preventDefault();
|
|
18211
|
-
const
|
|
18212
|
-
Wh.includes(K.key) &&
|
|
18229
|
+
const pt = [...je.map((ve) => ve.ref)];
|
|
18230
|
+
Wh.includes(K.key) && pt.reverse(), Ys(pt);
|
|
18213
18231
|
}
|
|
18214
18232
|
function X(K) {
|
|
18215
18233
|
K?.currentTarget?.contains?.(K.target) || (window.clearTimeout(u.value), c.value = "");
|
|
@@ -18242,7 +18260,7 @@ var UO = /* @__PURE__ */ D({
|
|
|
18242
18260
|
onPointerGraceIntentChange: (K) => {
|
|
18243
18261
|
f.value = K;
|
|
18244
18262
|
}
|
|
18245
|
-
}), (K, re) => (y(),
|
|
18263
|
+
}), (K, re) => (y(), D(p(iu), {
|
|
18246
18264
|
"as-child": "",
|
|
18247
18265
|
trapped: p(a),
|
|
18248
18266
|
onMountAutoFocus: F,
|
|
@@ -18331,7 +18349,7 @@ var UO = /* @__PURE__ */ D({
|
|
|
18331
18349
|
_: 3
|
|
18332
18350
|
}, 8, ["trapped"]));
|
|
18333
18351
|
}
|
|
18334
|
-
}), bu = UO, WO = /* @__PURE__ */
|
|
18352
|
+
}), bu = UO, WO = /* @__PURE__ */ N({
|
|
18335
18353
|
inheritAttrs: !1,
|
|
18336
18354
|
__name: "MenuItemImpl",
|
|
18337
18355
|
props: {
|
|
@@ -18367,7 +18385,7 @@ var UO = /* @__PURE__ */ D({
|
|
|
18367
18385
|
if (await Re(), u.defaultPrevented || !nr(u) || n.highlightedElement.value !== r.value) return;
|
|
18368
18386
|
!n.onItemLeave(u) && n.highlightedElement.value === r.value && (n.highlightedElement.value = void 0);
|
|
18369
18387
|
}
|
|
18370
|
-
return (u, d) => (y(),
|
|
18388
|
+
return (u, d) => (y(), D(p(i), { value: { textValue: u.textValue } }, {
|
|
18371
18389
|
default: P(() => [Z(p(Oe), ie({
|
|
18372
18390
|
ref: p(o),
|
|
18373
18391
|
role: "menuitem",
|
|
@@ -18400,7 +18418,7 @@ var UO = /* @__PURE__ */ D({
|
|
|
18400
18418
|
_: 3
|
|
18401
18419
|
}, 8, ["value"]));
|
|
18402
18420
|
}
|
|
18403
|
-
}), dm = WO, KO = /* @__PURE__ */
|
|
18421
|
+
}), dm = WO, KO = /* @__PURE__ */ N({
|
|
18404
18422
|
__name: "MenuItem",
|
|
18405
18423
|
props: {
|
|
18406
18424
|
disabled: {
|
|
@@ -18433,7 +18451,7 @@ var UO = /* @__PURE__ */ D({
|
|
|
18433
18451
|
o("select", d), await Re(), d.defaultPrevented ? l.value = !1 : a.onClose();
|
|
18434
18452
|
}
|
|
18435
18453
|
}
|
|
18436
|
-
return (u, d) => (y(),
|
|
18454
|
+
return (u, d) => (y(), D(dm, ie(n, {
|
|
18437
18455
|
ref: p(r),
|
|
18438
18456
|
onClick: c,
|
|
18439
18457
|
onPointerdown: d[0] || (d[0] = () => {
|
|
@@ -18453,7 +18471,7 @@ var UO = /* @__PURE__ */ D({
|
|
|
18453
18471
|
}
|
|
18454
18472
|
}), wu = KO;
|
|
18455
18473
|
const [ZO, fm] = /* @__PURE__ */ We(["MenuCheckboxItem", "MenuRadioItem"], "MenuItemIndicatorContext");
|
|
18456
|
-
var HO = /* @__PURE__ */
|
|
18474
|
+
var HO = /* @__PURE__ */ N({
|
|
18457
18475
|
__name: "MenuItemIndicator",
|
|
18458
18476
|
props: {
|
|
18459
18477
|
forceMount: {
|
|
@@ -18472,7 +18490,7 @@ var HO = /* @__PURE__ */ D({
|
|
|
18472
18490
|
},
|
|
18473
18491
|
setup(e) {
|
|
18474
18492
|
const t = ZO({ modelValue: /* @__PURE__ */ M(!1) });
|
|
18475
|
-
return (n, o) => (y(),
|
|
18493
|
+
return (n, o) => (y(), D(p(jn), { present: n.forceMount || p(Hi)(p(t).modelValue.value) || p(t).modelValue.value === !0 }, {
|
|
18476
18494
|
default: P(() => [Z(p(Oe), {
|
|
18477
18495
|
as: n.as,
|
|
18478
18496
|
"as-child": n.asChild,
|
|
@@ -18488,7 +18506,7 @@ var HO = /* @__PURE__ */ D({
|
|
|
18488
18506
|
_: 3
|
|
18489
18507
|
}, 8, ["present"]));
|
|
18490
18508
|
}
|
|
18491
|
-
}), GO = HO, JO = /* @__PURE__ */
|
|
18509
|
+
}), GO = HO, JO = /* @__PURE__ */ N({
|
|
18492
18510
|
__name: "MenuCheckboxItem",
|
|
18493
18511
|
props: {
|
|
18494
18512
|
modelValue: {
|
|
@@ -18515,8 +18533,8 @@ var HO = /* @__PURE__ */ D({
|
|
|
18515
18533
|
},
|
|
18516
18534
|
emits: ["select", "update:modelValue"],
|
|
18517
18535
|
setup(e, { emit: t }) {
|
|
18518
|
-
const n = e, o = t, r = Ql(n, ["modelValue"]), i = Po(r), a = /* @__PURE__ */
|
|
18519
|
-
return fm({ modelValue: a }), (s, l) => (y(),
|
|
18536
|
+
const n = e, o = t, r = Ql(n, ["modelValue"]), i = Po(r), a = /* @__PURE__ */ It(n, "modelValue", o);
|
|
18537
|
+
return fm({ modelValue: a }), (s, l) => (y(), D(wu, ie({ role: "menuitemcheckbox" }, p(i), {
|
|
18520
18538
|
"aria-checked": p(Hi)(p(a)) ? "mixed" : p(a),
|
|
18521
18539
|
"data-state": p(su)(p(a)),
|
|
18522
18540
|
onSelect: l[0] || (l[0] = async (c) => {
|
|
@@ -18527,7 +18545,7 @@ var HO = /* @__PURE__ */ D({
|
|
|
18527
18545
|
_: 3
|
|
18528
18546
|
}, 16, ["aria-checked", "data-state"]));
|
|
18529
18547
|
}
|
|
18530
|
-
}), YO = JO, XO = /* @__PURE__ */
|
|
18548
|
+
}), YO = JO, XO = /* @__PURE__ */ N({
|
|
18531
18549
|
__name: "MenuRootContentModal",
|
|
18532
18550
|
props: {
|
|
18533
18551
|
loop: {
|
|
@@ -18630,7 +18648,7 @@ var HO = /* @__PURE__ */ D({
|
|
|
18630
18648
|
],
|
|
18631
18649
|
setup(e, { emit: t }) {
|
|
18632
18650
|
const n = e, o = t, r = Bn(n, o), i = Io(), { forwardRef: a, currentElement: s } = we();
|
|
18633
|
-
return ou(s), (l, c) => (y(),
|
|
18651
|
+
return ou(s), (l, c) => (y(), D(bu, ie(p(r), {
|
|
18634
18652
|
ref: p(a),
|
|
18635
18653
|
"trap-focus": p(i).open.value,
|
|
18636
18654
|
"disable-outside-pointer-events": p(i).open.value,
|
|
@@ -18642,7 +18660,7 @@ var HO = /* @__PURE__ */ D({
|
|
|
18642
18660
|
_: 3
|
|
18643
18661
|
}, 16, ["trap-focus", "disable-outside-pointer-events"]));
|
|
18644
18662
|
}
|
|
18645
|
-
}), QO = XO, e$ = /* @__PURE__ */
|
|
18663
|
+
}), QO = XO, e$ = /* @__PURE__ */ N({
|
|
18646
18664
|
__name: "MenuRootContentNonModal",
|
|
18647
18665
|
props: {
|
|
18648
18666
|
loop: {
|
|
@@ -18745,7 +18763,7 @@ var HO = /* @__PURE__ */ D({
|
|
|
18745
18763
|
],
|
|
18746
18764
|
setup(e, { emit: t }) {
|
|
18747
18765
|
const r = Bn(e, t), i = Io();
|
|
18748
|
-
return (a, s) => (y(),
|
|
18766
|
+
return (a, s) => (y(), D(bu, ie(p(r), {
|
|
18749
18767
|
"trap-focus": !1,
|
|
18750
18768
|
"disable-outside-pointer-events": !1,
|
|
18751
18769
|
"disable-outside-scroll": !1,
|
|
@@ -18755,7 +18773,7 @@ var HO = /* @__PURE__ */ D({
|
|
|
18755
18773
|
_: 3
|
|
18756
18774
|
}, 16));
|
|
18757
18775
|
}
|
|
18758
|
-
}), t$ = e$, n$ = /* @__PURE__ */
|
|
18776
|
+
}), t$ = e$, n$ = /* @__PURE__ */ N({
|
|
18759
18777
|
__name: "MenuContent",
|
|
18760
18778
|
props: {
|
|
18761
18779
|
forceMount: {
|
|
@@ -18862,14 +18880,14 @@ var HO = /* @__PURE__ */ D({
|
|
|
18862
18880
|
],
|
|
18863
18881
|
setup(e, { emit: t }) {
|
|
18864
18882
|
const r = Bn(e, t), i = Io(), a = Xr();
|
|
18865
|
-
return (s, l) => (y(),
|
|
18866
|
-
default: P(() => [p(a).modal.value ? (y(),
|
|
18883
|
+
return (s, l) => (y(), D(p(jn), { present: s.forceMount || p(i).open.value }, {
|
|
18884
|
+
default: P(() => [p(a).modal.value ? (y(), D(QO, lt(ie({ key: 0 }, {
|
|
18867
18885
|
...s.$attrs,
|
|
18868
18886
|
...p(r)
|
|
18869
18887
|
})), {
|
|
18870
18888
|
default: P(() => [R(s.$slots, "default")]),
|
|
18871
18889
|
_: 3
|
|
18872
|
-
}, 16)) : (y(),
|
|
18890
|
+
}, 16)) : (y(), D(t$, lt(ie({ key: 1 }, {
|
|
18873
18891
|
...s.$attrs,
|
|
18874
18892
|
...p(r)
|
|
18875
18893
|
})), {
|
|
@@ -18880,8 +18898,8 @@ var HO = /* @__PURE__ */ D({
|
|
|
18880
18898
|
}, 8, ["present"]));
|
|
18881
18899
|
}
|
|
18882
18900
|
}), o$ = n$;
|
|
18883
|
-
const [
|
|
18884
|
-
var i$ = /* @__PURE__ */
|
|
18901
|
+
const [$N, r$] = /* @__PURE__ */ We("MenuGroup");
|
|
18902
|
+
var i$ = /* @__PURE__ */ N({
|
|
18885
18903
|
__name: "MenuGroup",
|
|
18886
18904
|
props: {
|
|
18887
18905
|
asChild: {
|
|
@@ -18895,12 +18913,12 @@ var i$ = /* @__PURE__ */ D({
|
|
|
18895
18913
|
},
|
|
18896
18914
|
setup(e) {
|
|
18897
18915
|
const t = e, n = jt(void 0, "reka-menu-group");
|
|
18898
|
-
return r$({ id: n }), (o, r) => (y(),
|
|
18916
|
+
return r$({ id: n }), (o, r) => (y(), D(p(Oe), ie({ role: "group" }, t, { "aria-labelledby": p(n) }), {
|
|
18899
18917
|
default: P(() => [R(o.$slots, "default")]),
|
|
18900
18918
|
_: 3
|
|
18901
18919
|
}, 16, ["aria-labelledby"]));
|
|
18902
18920
|
}
|
|
18903
|
-
}), a$ = i$, s$ = /* @__PURE__ */
|
|
18921
|
+
}), a$ = i$, s$ = /* @__PURE__ */ N({
|
|
18904
18922
|
__name: "MenuPortal",
|
|
18905
18923
|
props: {
|
|
18906
18924
|
to: {
|
|
@@ -18922,14 +18940,14 @@ var i$ = /* @__PURE__ */ D({
|
|
|
18922
18940
|
},
|
|
18923
18941
|
setup(e) {
|
|
18924
18942
|
const t = e;
|
|
18925
|
-
return (n, o) => (y(),
|
|
18943
|
+
return (n, o) => (y(), D(p(Ea), lt(ft(t)), {
|
|
18926
18944
|
default: P(() => [R(n.$slots, "default")]),
|
|
18927
18945
|
_: 3
|
|
18928
18946
|
}, 16));
|
|
18929
18947
|
}
|
|
18930
18948
|
}), l$ = s$;
|
|
18931
18949
|
const [u$, c$] = /* @__PURE__ */ We("MenuRadioGroup");
|
|
18932
|
-
var d$ = /* @__PURE__ */
|
|
18950
|
+
var d$ = /* @__PURE__ */ N({
|
|
18933
18951
|
__name: "MenuRadioGroup",
|
|
18934
18952
|
props: {
|
|
18935
18953
|
modelValue: {
|
|
@@ -18948,18 +18966,18 @@ var d$ = /* @__PURE__ */ D({
|
|
|
18948
18966
|
},
|
|
18949
18967
|
emits: ["update:modelValue"],
|
|
18950
18968
|
setup(e, { emit: t }) {
|
|
18951
|
-
const n = e, o = t, r = Ql(n, ["modelValue"]), i = Po(r), a = /* @__PURE__ */
|
|
18969
|
+
const n = e, o = t, r = Ql(n, ["modelValue"]), i = Po(r), a = /* @__PURE__ */ It(n, "modelValue", o);
|
|
18952
18970
|
return c$({
|
|
18953
18971
|
modelValue: a,
|
|
18954
18972
|
onValueChange: (s) => {
|
|
18955
18973
|
a.value = s;
|
|
18956
18974
|
}
|
|
18957
|
-
}), (s, l) => (y(),
|
|
18975
|
+
}), (s, l) => (y(), D(a$, lt(ft(p(i))), {
|
|
18958
18976
|
default: P(() => [R(s.$slots, "default", { modelValue: p(a) })]),
|
|
18959
18977
|
_: 3
|
|
18960
18978
|
}, 16));
|
|
18961
18979
|
}
|
|
18962
|
-
}), f$ = d$, p$ = /* @__PURE__ */
|
|
18980
|
+
}), f$ = d$, p$ = /* @__PURE__ */ N({
|
|
18963
18981
|
__name: "MenuRadioItem",
|
|
18964
18982
|
props: {
|
|
18965
18983
|
value: {
|
|
@@ -18985,8 +19003,8 @@ var d$ = /* @__PURE__ */ D({
|
|
|
18985
19003
|
},
|
|
18986
19004
|
emits: ["select"],
|
|
18987
19005
|
setup(e, { emit: t }) {
|
|
18988
|
-
const n = e, o = t, r = Ql(n, ["value"]), i = Po(r), { value: a } = /* @__PURE__ */
|
|
18989
|
-
return fm({ modelValue: l }), (c, u) => (y(),
|
|
19006
|
+
const n = e, o = t, r = Ql(n, ["value"]), i = Po(r), { value: a } = /* @__PURE__ */ wt(n), s = u$(), l = O(() => s.modelValue.value === a?.value);
|
|
19007
|
+
return fm({ modelValue: l }), (c, u) => (y(), D(wu, ie({ role: "menuitemradio" }, p(i), {
|
|
18990
19008
|
"aria-checked": l.value,
|
|
18991
19009
|
"data-state": p(su)(l.value),
|
|
18992
19010
|
onSelect: u[0] || (u[0] = async (d) => {
|
|
@@ -18997,7 +19015,7 @@ var d$ = /* @__PURE__ */ D({
|
|
|
18997
19015
|
_: 3
|
|
18998
19016
|
}, 16, ["aria-checked", "data-state"]));
|
|
18999
19017
|
}
|
|
19000
|
-
}), h$ = p$, m$ = /* @__PURE__ */
|
|
19018
|
+
}), h$ = p$, m$ = /* @__PURE__ */ N({
|
|
19001
19019
|
__name: "MenuSeparator",
|
|
19002
19020
|
props: {
|
|
19003
19021
|
asChild: {
|
|
@@ -19011,7 +19029,7 @@ var d$ = /* @__PURE__ */ D({
|
|
|
19011
19029
|
},
|
|
19012
19030
|
setup(e) {
|
|
19013
19031
|
const t = e;
|
|
19014
|
-
return (n, o) => (y(),
|
|
19032
|
+
return (n, o) => (y(), D(p(Oe), ie(t, {
|
|
19015
19033
|
role: "separator",
|
|
19016
19034
|
"aria-orientation": "horizontal"
|
|
19017
19035
|
}), {
|
|
@@ -19021,7 +19039,7 @@ var d$ = /* @__PURE__ */ D({
|
|
|
19021
19039
|
}
|
|
19022
19040
|
}), v$ = m$;
|
|
19023
19041
|
const [pm, g$] = /* @__PURE__ */ We("MenuSub");
|
|
19024
|
-
var y$ = /* @__PURE__ */
|
|
19042
|
+
var y$ = /* @__PURE__ */ N({
|
|
19025
19043
|
__name: "MenuSub",
|
|
19026
19044
|
props: { open: {
|
|
19027
19045
|
type: Boolean,
|
|
@@ -19030,11 +19048,11 @@ var y$ = /* @__PURE__ */ D({
|
|
|
19030
19048
|
} },
|
|
19031
19049
|
emits: ["update:open"],
|
|
19032
19050
|
setup(e, { emit: t }) {
|
|
19033
|
-
const n = e, r = /* @__PURE__ */
|
|
19051
|
+
const n = e, r = /* @__PURE__ */ It(n, "open", t, {
|
|
19034
19052
|
defaultValue: !1,
|
|
19035
19053
|
passive: n.open === void 0
|
|
19036
19054
|
}), i = Io(), a = /* @__PURE__ */ M(), s = /* @__PURE__ */ M();
|
|
19037
|
-
return
|
|
19055
|
+
return Nt((l) => {
|
|
19038
19056
|
i?.open.value === !1 && (r.value = !1), l(() => r.value = !1);
|
|
19039
19057
|
}), cm({
|
|
19040
19058
|
open: r,
|
|
@@ -19052,12 +19070,12 @@ var y$ = /* @__PURE__ */ D({
|
|
|
19052
19070
|
onTriggerChange: (l) => {
|
|
19053
19071
|
a.value = l;
|
|
19054
19072
|
}
|
|
19055
|
-
}), (l, c) => (y(),
|
|
19073
|
+
}), (l, c) => (y(), D(p(Ta), null, {
|
|
19056
19074
|
default: P(() => [R(l.$slots, "default")]),
|
|
19057
19075
|
_: 3
|
|
19058
19076
|
}));
|
|
19059
19077
|
}
|
|
19060
|
-
}), b$ = y$, w$ = /* @__PURE__ */
|
|
19078
|
+
}), b$ = y$, w$ = /* @__PURE__ */ N({
|
|
19061
19079
|
__name: "MenuSubContent",
|
|
19062
19080
|
props: {
|
|
19063
19081
|
forceMount: {
|
|
@@ -19157,7 +19175,7 @@ var y$ = /* @__PURE__ */ D({
|
|
|
19157
19175
|
],
|
|
19158
19176
|
setup(e, { emit: t }) {
|
|
19159
19177
|
const r = Bn(e, t), i = Io(), a = Xr(), s = pm(), l = za(), { forwardRef: c, currentElement: u } = we();
|
|
19160
|
-
return s.contentId ||= jt(void 0, "reka-menu-sub-content"), (d, f) => (y(),
|
|
19178
|
+
return s.contentId ||= jt(void 0, "reka-menu-sub-content"), (d, f) => (y(), D(p(jn), { present: d.forceMount || p(i).open.value }, {
|
|
19161
19179
|
default: P(() => [Z(bu, ie(p(r), {
|
|
19162
19180
|
id: p(s).contentId,
|
|
19163
19181
|
ref: p(c),
|
|
@@ -19195,7 +19213,7 @@ var y$ = /* @__PURE__ */ D({
|
|
|
19195
19213
|
_: 3
|
|
19196
19214
|
}, 8, ["present"]));
|
|
19197
19215
|
}
|
|
19198
|
-
}), _$ = w$, S$ = /* @__PURE__ */
|
|
19216
|
+
}), _$ = w$, S$ = /* @__PURE__ */ N({
|
|
19199
19217
|
__name: "MenuSubTrigger",
|
|
19200
19218
|
props: {
|
|
19201
19219
|
disabled: {
|
|
@@ -19276,7 +19294,7 @@ var y$ = /* @__PURE__ */ D({
|
|
|
19276
19294
|
const f = i.searchRef.value !== "";
|
|
19277
19295
|
t.disabled || f && d.key === " " || V1[o.dir.value].includes(d.key) && (n.onOpenChange(!0), await Re(), n.content.value?.focus(), d.preventDefault());
|
|
19278
19296
|
}
|
|
19279
|
-
return (d, f) => (y(),
|
|
19297
|
+
return (d, f) => (y(), D(um, { "as-child": "" }, {
|
|
19280
19298
|
default: P(() => [Z(dm, ie(t, {
|
|
19281
19299
|
id: p(r).triggerId,
|
|
19282
19300
|
ref: (h) => {
|
|
@@ -19304,7 +19322,7 @@ var y$ = /* @__PURE__ */ D({
|
|
|
19304
19322
|
_: 3
|
|
19305
19323
|
}));
|
|
19306
19324
|
}
|
|
19307
|
-
}), x$ = S$, k$ = /* @__PURE__ */
|
|
19325
|
+
}), x$ = S$, k$ = /* @__PURE__ */ N({
|
|
19308
19326
|
__name: "DropdownMenuCheckboxItem",
|
|
19309
19327
|
props: {
|
|
19310
19328
|
modelValue: {
|
|
@@ -19331,7 +19349,7 @@ var y$ = /* @__PURE__ */ D({
|
|
|
19331
19349
|
emits: ["select", "update:modelValue"],
|
|
19332
19350
|
setup(e, { emit: t }) {
|
|
19333
19351
|
const n = e, r = Eo(t);
|
|
19334
|
-
return we(), (i, a) => (y(),
|
|
19352
|
+
return we(), (i, a) => (y(), D(p(YO), lt(ft({
|
|
19335
19353
|
...n,
|
|
19336
19354
|
...p(r)
|
|
19337
19355
|
})), {
|
|
@@ -19341,7 +19359,7 @@ var y$ = /* @__PURE__ */ D({
|
|
|
19341
19359
|
}
|
|
19342
19360
|
}), C$ = k$;
|
|
19343
19361
|
const [hm, A$] = /* @__PURE__ */ We("DropdownMenuRoot");
|
|
19344
|
-
var O$ = /* @__PURE__ */
|
|
19362
|
+
var O$ = /* @__PURE__ */ N({
|
|
19345
19363
|
__name: "DropdownMenuRoot",
|
|
19346
19364
|
props: {
|
|
19347
19365
|
defaultOpen: {
|
|
@@ -19367,10 +19385,10 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19367
19385
|
setup(e, { emit: t }) {
|
|
19368
19386
|
const n = e, o = t;
|
|
19369
19387
|
we();
|
|
19370
|
-
const r = /* @__PURE__ */
|
|
19388
|
+
const r = /* @__PURE__ */ It(n, "open", o, {
|
|
19371
19389
|
defaultValue: n.defaultOpen,
|
|
19372
19390
|
passive: n.open === void 0
|
|
19373
|
-
}), i = /* @__PURE__ */ M(), { modal: a, dir: s } = /* @__PURE__ */
|
|
19391
|
+
}), i = /* @__PURE__ */ M(), { modal: a, dir: s } = /* @__PURE__ */ wt(n), l = cr(s);
|
|
19374
19392
|
return A$({
|
|
19375
19393
|
open: r,
|
|
19376
19394
|
onOpenChange: (c) => {
|
|
@@ -19384,7 +19402,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19384
19402
|
contentId: "",
|
|
19385
19403
|
modal: a,
|
|
19386
19404
|
dir: l
|
|
19387
|
-
}), (c, u) => (y(),
|
|
19405
|
+
}), (c, u) => (y(), D(p(BO), {
|
|
19388
19406
|
open: p(r),
|
|
19389
19407
|
"onUpdate:open": u[0] || (u[0] = (d) => /* @__PURE__ */ Ke(r) ? r.value = d : null),
|
|
19390
19408
|
dir: p(l),
|
|
@@ -19398,7 +19416,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19398
19416
|
"modal"
|
|
19399
19417
|
]));
|
|
19400
19418
|
}
|
|
19401
|
-
}), $$ = O$, E$ = /* @__PURE__ */
|
|
19419
|
+
}), $$ = O$, E$ = /* @__PURE__ */ N({
|
|
19402
19420
|
__name: "DropdownMenuContent",
|
|
19403
19421
|
props: {
|
|
19404
19422
|
forceMount: {
|
|
@@ -19510,7 +19528,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19510
19528
|
a ? a.restoreFocus(i.triggerElement.value) : i.triggerElement.value?.focus();
|
|
19511
19529
|
}, 0), s.value = !1, c.preventDefault());
|
|
19512
19530
|
}
|
|
19513
|
-
return i.contentId ||= jt(void 0, "reka-dropdown-menu-content"), (c, u) => (y(),
|
|
19531
|
+
return i.contentId ||= jt(void 0, "reka-dropdown-menu-content"), (c, u) => (y(), D(p(o$), ie(p(r), {
|
|
19514
19532
|
id: p(i).contentId,
|
|
19515
19533
|
"aria-labelledby": p(i)?.triggerId,
|
|
19516
19534
|
style: {
|
|
@@ -19531,7 +19549,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19531
19549
|
_: 3
|
|
19532
19550
|
}, 16, ["id", "aria-labelledby"]));
|
|
19533
19551
|
}
|
|
19534
|
-
}), P$ = E$, T$ = /* @__PURE__ */
|
|
19552
|
+
}), P$ = E$, T$ = /* @__PURE__ */ N({
|
|
19535
19553
|
__name: "DropdownMenuItem",
|
|
19536
19554
|
props: {
|
|
19537
19555
|
disabled: {
|
|
@@ -19554,7 +19572,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19554
19572
|
emits: ["select"],
|
|
19555
19573
|
setup(e, { emit: t }) {
|
|
19556
19574
|
const n = e, r = Eo(t);
|
|
19557
|
-
return we(), (i, a) => (y(),
|
|
19575
|
+
return we(), (i, a) => (y(), D(p(wu), lt(ft({
|
|
19558
19576
|
...n,
|
|
19559
19577
|
...p(r)
|
|
19560
19578
|
})), {
|
|
@@ -19562,7 +19580,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19562
19580
|
_: 3
|
|
19563
19581
|
}, 16));
|
|
19564
19582
|
}
|
|
19565
|
-
}), I$ = T$, R$ = /* @__PURE__ */
|
|
19583
|
+
}), I$ = T$, R$ = /* @__PURE__ */ N({
|
|
19566
19584
|
__name: "DropdownMenuItemIndicator",
|
|
19567
19585
|
props: {
|
|
19568
19586
|
forceMount: {
|
|
@@ -19580,12 +19598,12 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19580
19598
|
},
|
|
19581
19599
|
setup(e) {
|
|
19582
19600
|
const t = e;
|
|
19583
|
-
return we(), (n, o) => (y(),
|
|
19601
|
+
return we(), (n, o) => (y(), D(p(GO), lt(ft(t)), {
|
|
19584
19602
|
default: P(() => [R(n.$slots, "default")]),
|
|
19585
19603
|
_: 3
|
|
19586
19604
|
}, 16));
|
|
19587
19605
|
}
|
|
19588
|
-
}), Od = R$, D$ = /* @__PURE__ */
|
|
19606
|
+
}), Od = R$, D$ = /* @__PURE__ */ N({
|
|
19589
19607
|
__name: "DropdownMenuPortal",
|
|
19590
19608
|
props: {
|
|
19591
19609
|
to: {
|
|
@@ -19607,12 +19625,12 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19607
19625
|
},
|
|
19608
19626
|
setup(e) {
|
|
19609
19627
|
const t = e;
|
|
19610
|
-
return (n, o) => (y(),
|
|
19628
|
+
return (n, o) => (y(), D(p(l$), lt(ft(t)), {
|
|
19611
19629
|
default: P(() => [R(n.$slots, "default")]),
|
|
19612
19630
|
_: 3
|
|
19613
19631
|
}, 16));
|
|
19614
19632
|
}
|
|
19615
|
-
}), mm = D$, N$ = /* @__PURE__ */
|
|
19633
|
+
}), mm = D$, N$ = /* @__PURE__ */ N({
|
|
19616
19634
|
__name: "DropdownMenuRadioGroup",
|
|
19617
19635
|
props: {
|
|
19618
19636
|
modelValue: {
|
|
@@ -19631,7 +19649,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19631
19649
|
emits: ["update:modelValue"],
|
|
19632
19650
|
setup(e, { emit: t }) {
|
|
19633
19651
|
const n = e, r = Eo(t);
|
|
19634
|
-
return we(), (i, a) => (y(),
|
|
19652
|
+
return we(), (i, a) => (y(), D(p(f$), lt(ft({
|
|
19635
19653
|
...n,
|
|
19636
19654
|
...p(r)
|
|
19637
19655
|
})), {
|
|
@@ -19639,7 +19657,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19639
19657
|
_: 3
|
|
19640
19658
|
}, 16));
|
|
19641
19659
|
}
|
|
19642
|
-
}), M$ = N$, z$ = /* @__PURE__ */
|
|
19660
|
+
}), M$ = N$, z$ = /* @__PURE__ */ N({
|
|
19643
19661
|
__name: "DropdownMenuRadioItem",
|
|
19644
19662
|
props: {
|
|
19645
19663
|
value: {
|
|
@@ -19666,12 +19684,12 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19666
19684
|
emits: ["select"],
|
|
19667
19685
|
setup(e, { emit: t }) {
|
|
19668
19686
|
const r = Bn(e, t);
|
|
19669
|
-
return we(), (i, a) => (y(),
|
|
19687
|
+
return we(), (i, a) => (y(), D(p(h$), lt(ft(p(r))), {
|
|
19670
19688
|
default: P(() => [R(i.$slots, "default")]),
|
|
19671
19689
|
_: 3
|
|
19672
19690
|
}, 16));
|
|
19673
19691
|
}
|
|
19674
|
-
}), q$ = z$, F$ = /* @__PURE__ */
|
|
19692
|
+
}), q$ = z$, F$ = /* @__PURE__ */ N({
|
|
19675
19693
|
__name: "DropdownMenuSeparator",
|
|
19676
19694
|
props: {
|
|
19677
19695
|
asChild: {
|
|
@@ -19685,12 +19703,12 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19685
19703
|
},
|
|
19686
19704
|
setup(e) {
|
|
19687
19705
|
const t = e;
|
|
19688
|
-
return we(), (n, o) => (y(),
|
|
19706
|
+
return we(), (n, o) => (y(), D(p(v$), lt(ft(t)), {
|
|
19689
19707
|
default: P(() => [R(n.$slots, "default")]),
|
|
19690
19708
|
_: 3
|
|
19691
19709
|
}, 16));
|
|
19692
19710
|
}
|
|
19693
|
-
}), L$ = F$, V$ = /* @__PURE__ */
|
|
19711
|
+
}), L$ = F$, V$ = /* @__PURE__ */ N({
|
|
19694
19712
|
__name: "DropdownMenuSub",
|
|
19695
19713
|
props: {
|
|
19696
19714
|
defaultOpen: {
|
|
@@ -19705,11 +19723,11 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19705
19723
|
},
|
|
19706
19724
|
emits: ["update:open"],
|
|
19707
19725
|
setup(e, { emit: t }) {
|
|
19708
|
-
const n = e, r = /* @__PURE__ */
|
|
19726
|
+
const n = e, r = /* @__PURE__ */ It(n, "open", t, {
|
|
19709
19727
|
passive: n.open === void 0,
|
|
19710
19728
|
defaultValue: n.defaultOpen ?? !1
|
|
19711
19729
|
});
|
|
19712
|
-
return we(), (i, a) => (y(),
|
|
19730
|
+
return we(), (i, a) => (y(), D(p(b$), {
|
|
19713
19731
|
open: p(r),
|
|
19714
19732
|
"onUpdate:open": a[0] || (a[0] = (s) => /* @__PURE__ */ Ke(r) ? r.value = s : null)
|
|
19715
19733
|
}, {
|
|
@@ -19717,7 +19735,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19717
19735
|
_: 3
|
|
19718
19736
|
}, 8, ["open"]));
|
|
19719
19737
|
}
|
|
19720
|
-
}), B$ = V$, j$ = /* @__PURE__ */
|
|
19738
|
+
}), B$ = V$, j$ = /* @__PURE__ */ N({
|
|
19721
19739
|
__name: "DropdownMenuSubContent",
|
|
19722
19740
|
props: {
|
|
19723
19741
|
forceMount: {
|
|
@@ -19816,7 +19834,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19816
19834
|
],
|
|
19817
19835
|
setup(e, { emit: t }) {
|
|
19818
19836
|
const r = Bn(e, t);
|
|
19819
|
-
return we(), (i, a) => (y(),
|
|
19837
|
+
return we(), (i, a) => (y(), D(p(_$), ie(p(r), { style: {
|
|
19820
19838
|
"--reka-dropdown-menu-content-transform-origin": "var(--reka-popper-transform-origin)",
|
|
19821
19839
|
"--reka-dropdown-menu-content-available-width": "var(--reka-popper-available-width)",
|
|
19822
19840
|
"--reka-dropdown-menu-content-available-height": "var(--reka-popper-available-height)",
|
|
@@ -19827,7 +19845,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19827
19845
|
_: 3
|
|
19828
19846
|
}, 16));
|
|
19829
19847
|
}
|
|
19830
|
-
}), U$ = j$, W$ = /* @__PURE__ */
|
|
19848
|
+
}), U$ = j$, W$ = /* @__PURE__ */ N({
|
|
19831
19849
|
__name: "DropdownMenuSubTrigger",
|
|
19832
19850
|
props: {
|
|
19833
19851
|
disabled: {
|
|
@@ -19849,12 +19867,12 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19849
19867
|
},
|
|
19850
19868
|
setup(e) {
|
|
19851
19869
|
const t = e;
|
|
19852
|
-
return we(), (n, o) => (y(),
|
|
19870
|
+
return we(), (n, o) => (y(), D(p(x$), lt(ft(t)), {
|
|
19853
19871
|
default: P(() => [R(n.$slots, "default")]),
|
|
19854
19872
|
_: 3
|
|
19855
19873
|
}, 16));
|
|
19856
19874
|
}
|
|
19857
|
-
}), K$ = W$, Z$ = /* @__PURE__ */
|
|
19875
|
+
}), K$ = W$, Z$ = /* @__PURE__ */ N({
|
|
19858
19876
|
__name: "DropdownMenuTrigger",
|
|
19859
19877
|
props: {
|
|
19860
19878
|
disabled: {
|
|
@@ -19875,7 +19893,7 @@ var O$ = /* @__PURE__ */ D({
|
|
|
19875
19893
|
const t = e, n = hm(), { forwardRef: o, currentElement: r } = we();
|
|
19876
19894
|
return Ge(() => {
|
|
19877
19895
|
n.triggerElement = r;
|
|
19878
|
-
}), n.triggerId ||= jt(void 0, "reka-dropdown-menu-trigger"), (i, a) => (y(),
|
|
19896
|
+
}), n.triggerId ||= jt(void 0, "reka-dropdown-menu-trigger"), (i, a) => (y(), D(p(um), { "as-child": "" }, {
|
|
19879
19897
|
default: P(() => [Z(p(Oe), {
|
|
19880
19898
|
id: p(n).triggerId,
|
|
19881
19899
|
ref: p(o),
|
|
@@ -19927,7 +19945,7 @@ function J$(e, t, n) {
|
|
|
19927
19945
|
value: t
|
|
19928
19946
|
});
|
|
19929
19947
|
}
|
|
19930
|
-
var Y$ = /* @__PURE__ */
|
|
19948
|
+
var Y$ = /* @__PURE__ */ N({
|
|
19931
19949
|
inheritAttrs: !1,
|
|
19932
19950
|
__name: "Radio",
|
|
19933
19951
|
props: {
|
|
@@ -19969,7 +19987,7 @@ var Y$ = /* @__PURE__ */ D({
|
|
|
19969
19987
|
},
|
|
19970
19988
|
emits: ["update:checked", "select"],
|
|
19971
19989
|
setup(e, { emit: t }) {
|
|
19972
|
-
const n = e, o = t, r = /* @__PURE__ */
|
|
19990
|
+
const n = e, o = t, r = /* @__PURE__ */ It(n, "checked", o, { passive: n.checked === void 0 }), { value: i } = /* @__PURE__ */ wt(n), { forwardRef: a, currentElement: s } = we(), l = Yr(s), c = Oa(), u = O(() => n.id && s.value ? document.querySelector(`[for="${n.id}"]`)?.innerText : void 0);
|
|
19973
19991
|
function d(f) {
|
|
19974
19992
|
n.disabled || J$(f, n.value, (h) => {
|
|
19975
19993
|
o("select", h), !h?.defaultPrevented && (r.value = !0, l.value && h.stopPropagation());
|
|
@@ -20009,7 +20027,7 @@ var Y$ = /* @__PURE__ */ D({
|
|
|
20009
20027
|
"value",
|
|
20010
20028
|
"required",
|
|
20011
20029
|
"name"
|
|
20012
|
-
]), p(l) && f.name ? (y(),
|
|
20030
|
+
]), p(l) && f.name ? (y(), D(p(Pa), ie({
|
|
20013
20031
|
key: 0,
|
|
20014
20032
|
type: "radio",
|
|
20015
20033
|
tabindex: "-1",
|
|
@@ -20028,7 +20046,7 @@ var Y$ = /* @__PURE__ */ D({
|
|
|
20028
20046
|
}
|
|
20029
20047
|
}), X$ = Y$;
|
|
20030
20048
|
const [Q$, eE] = /* @__PURE__ */ We("RadioGroupRoot");
|
|
20031
|
-
var tE = /* @__PURE__ */
|
|
20049
|
+
var tE = /* @__PURE__ */ N({
|
|
20032
20050
|
__name: "RadioGroupRoot",
|
|
20033
20051
|
props: {
|
|
20034
20052
|
modelValue: {
|
|
@@ -20078,10 +20096,10 @@ var tE = /* @__PURE__ */ D({
|
|
|
20078
20096
|
},
|
|
20079
20097
|
emits: ["update:modelValue"],
|
|
20080
20098
|
setup(e, { emit: t }) {
|
|
20081
|
-
const n = e, o = t, { forwardRef: r, currentElement: i } = we(), a = /* @__PURE__ */
|
|
20099
|
+
const n = e, o = t, { forwardRef: r, currentElement: i } = we(), a = /* @__PURE__ */ It(n, "modelValue", o, {
|
|
20082
20100
|
defaultValue: n.defaultValue,
|
|
20083
20101
|
passive: n.modelValue === void 0
|
|
20084
|
-
}), { disabled: s, loop: l, orientation: c, name: u, required: d, dir: f } = /* @__PURE__ */
|
|
20102
|
+
}), { disabled: s, loop: l, orientation: c, name: u, required: d, dir: f } = /* @__PURE__ */ wt(n), h = cr(f), m = Yr(i);
|
|
20085
20103
|
return eE({
|
|
20086
20104
|
modelValue: a,
|
|
20087
20105
|
changeModelValue: (v) => {
|
|
@@ -20092,7 +20110,7 @@ var tE = /* @__PURE__ */ D({
|
|
|
20092
20110
|
orientation: c,
|
|
20093
20111
|
name: u?.value,
|
|
20094
20112
|
required: d
|
|
20095
|
-
}), (v, g) => (y(),
|
|
20113
|
+
}), (v, g) => (y(), D(p(am), {
|
|
20096
20114
|
"as-child": "",
|
|
20097
20115
|
orientation: p(c),
|
|
20098
20116
|
dir: p(h),
|
|
@@ -20108,7 +20126,7 @@ var tE = /* @__PURE__ */ D({
|
|
|
20108
20126
|
"aria-required": p(d),
|
|
20109
20127
|
dir: p(h)
|
|
20110
20128
|
}, {
|
|
20111
|
-
default: P(() => [R(v.$slots, "default", { modelValue: p(a) }), p(m) && p(u) ? (y(),
|
|
20129
|
+
default: P(() => [R(v.$slots, "default", { modelValue: p(a) }), p(m) && p(u) ? (y(), D(p(Pa), {
|
|
20112
20130
|
key: 0,
|
|
20113
20131
|
required: p(d),
|
|
20114
20132
|
disabled: p(s),
|
|
@@ -20138,7 +20156,7 @@ var tE = /* @__PURE__ */ D({
|
|
|
20138
20156
|
}
|
|
20139
20157
|
}), nE = tE;
|
|
20140
20158
|
const [oE, rE] = /* @__PURE__ */ We("RadioGroupItem");
|
|
20141
|
-
var iE = /* @__PURE__ */
|
|
20159
|
+
var iE = /* @__PURE__ */ N({
|
|
20142
20160
|
inheritAttrs: !1,
|
|
20143
20161
|
__name: "RadioGroupItem",
|
|
20144
20162
|
props: {
|
|
@@ -20197,7 +20215,7 @@ var iE = /* @__PURE__ */ D({
|
|
|
20197
20215
|
}, 0);
|
|
20198
20216
|
}
|
|
20199
20217
|
const h = Oa();
|
|
20200
|
-
return (m, v) => (y(),
|
|
20218
|
+
return (m, v) => (y(), D(p(sm), {
|
|
20201
20219
|
checked: c.value,
|
|
20202
20220
|
disabled: s.value,
|
|
20203
20221
|
"as-child": "",
|
|
@@ -20238,7 +20256,7 @@ var iE = /* @__PURE__ */ D({
|
|
|
20238
20256
|
"active"
|
|
20239
20257
|
]));
|
|
20240
20258
|
}
|
|
20241
|
-
}), aE = iE, sE = /* @__PURE__ */
|
|
20259
|
+
}), aE = iE, sE = /* @__PURE__ */ N({
|
|
20242
20260
|
__name: "RadioGroupIndicator",
|
|
20243
20261
|
props: {
|
|
20244
20262
|
forceMount: {
|
|
@@ -20257,7 +20275,7 @@ var iE = /* @__PURE__ */ D({
|
|
|
20257
20275
|
},
|
|
20258
20276
|
setup(e) {
|
|
20259
20277
|
const { forwardRef: t } = we(), n = oE();
|
|
20260
|
-
return (o, r) => (y(),
|
|
20278
|
+
return (o, r) => (y(), D(p(jn), { present: o.forceMount || p(n).checked.value }, {
|
|
20261
20279
|
default: P(() => [Z(p(Oe), ie({
|
|
20262
20280
|
ref: p(t),
|
|
20263
20281
|
"data-state": p(n).checked.value ? "checked" : "unchecked",
|
|
@@ -20293,7 +20311,7 @@ function dE(e) {
|
|
|
20293
20311
|
return e == null || e === "" || Array.isArray(e) && e.length === 0;
|
|
20294
20312
|
}
|
|
20295
20313
|
const fE = ["value"], [co, vm] = /* @__PURE__ */ We("SelectRoot");
|
|
20296
|
-
var pE = /* @__PURE__ */
|
|
20314
|
+
var pE = /* @__PURE__ */ N({
|
|
20297
20315
|
inheritAttrs: !1,
|
|
20298
20316
|
__name: "SelectRoot",
|
|
20299
20317
|
props: {
|
|
@@ -20351,11 +20369,11 @@ var pE = /* @__PURE__ */ D({
|
|
|
20351
20369
|
},
|
|
20352
20370
|
emits: ["update:modelValue", "update:open"],
|
|
20353
20371
|
setup(e, { emit: t }) {
|
|
20354
|
-
const n = e, o = t, { required: r, disabled: i, multiple: a, dir: s } = /* @__PURE__ */
|
|
20372
|
+
const n = e, o = t, { required: r, disabled: i, multiple: a, dir: s } = /* @__PURE__ */ wt(n), l = /* @__PURE__ */ It(n, "modelValue", o, {
|
|
20355
20373
|
defaultValue: n.defaultValue ?? (a.value ? [] : void 0),
|
|
20356
20374
|
passive: n.modelValue === void 0,
|
|
20357
20375
|
deep: !0
|
|
20358
|
-
}), c = /* @__PURE__ */
|
|
20376
|
+
}), c = /* @__PURE__ */ It(n, "open", o, {
|
|
20359
20377
|
defaultValue: n.defaultOpen,
|
|
20360
20378
|
passive: n.open === void 0
|
|
20361
20379
|
}), u = /* @__PURE__ */ M(), d = /* @__PURE__ */ M(), f = /* @__PURE__ */ M({
|
|
@@ -20405,11 +20423,11 @@ var pE = /* @__PURE__ */ D({
|
|
|
20405
20423
|
const k = C(b.value);
|
|
20406
20424
|
k && g.value.delete(k);
|
|
20407
20425
|
}
|
|
20408
|
-
}), (b, k) => (y(),
|
|
20426
|
+
}), (b, k) => (y(), D(p(Ta), null, {
|
|
20409
20427
|
default: P(() => [R(b.$slots, "default", {
|
|
20410
20428
|
modelValue: p(l),
|
|
20411
20429
|
open: p(c)
|
|
20412
|
-
}), p(v) && b.name ? (y(),
|
|
20430
|
+
}), p(v) && b.name ? (y(), D(vE, {
|
|
20413
20431
|
key: w.value,
|
|
20414
20432
|
"aria-hidden": "true",
|
|
20415
20433
|
tabindex: "-1",
|
|
@@ -20436,7 +20454,7 @@ var pE = /* @__PURE__ */ D({
|
|
|
20436
20454
|
_: 3
|
|
20437
20455
|
}));
|
|
20438
20456
|
}
|
|
20439
|
-
}), hE = pE, mE = /* @__PURE__ */
|
|
20457
|
+
}), hE = pE, mE = /* @__PURE__ */ N({
|
|
20440
20458
|
__name: "BubbleSelect",
|
|
20441
20459
|
props: {
|
|
20442
20460
|
autocomplete: {
|
|
@@ -20488,7 +20506,7 @@ var pE = /* @__PURE__ */ D({
|
|
|
20488
20506
|
function r(i) {
|
|
20489
20507
|
o.onValueChange(i.target.value);
|
|
20490
20508
|
}
|
|
20491
|
-
return (i, a) => (y(),
|
|
20509
|
+
return (i, a) => (y(), D(p(lu), { "as-child": "" }, {
|
|
20492
20510
|
default: P(() => [ne("select", ie({
|
|
20493
20511
|
ref_key: "selectElement",
|
|
20494
20512
|
ref: n
|
|
@@ -20496,7 +20514,7 @@ var pE = /* @__PURE__ */ D({
|
|
|
20496
20514
|
_: 3
|
|
20497
20515
|
}));
|
|
20498
20516
|
}
|
|
20499
|
-
}), vE = mE, gE = /* @__PURE__ */
|
|
20517
|
+
}), vE = mE, gE = /* @__PURE__ */ N({
|
|
20500
20518
|
__name: "SelectPopperPosition",
|
|
20501
20519
|
props: {
|
|
20502
20520
|
memoDependencies: {
|
|
@@ -20592,7 +20610,7 @@ var pE = /* @__PURE__ */ D({
|
|
|
20592
20610
|
},
|
|
20593
20611
|
setup(e) {
|
|
20594
20612
|
const n = Po(e);
|
|
20595
|
-
return (o, r) => (y(),
|
|
20613
|
+
return (o, r) => (y(), D(p(gu), ie(p(n), { style: {
|
|
20596
20614
|
boxSizing: "border-box",
|
|
20597
20615
|
"--reka-select-content-transform-origin": "var(--reka-popper-transform-origin)",
|
|
20598
20616
|
"--reka-select-content-available-width": "var(--reka-popper-available-width)",
|
|
@@ -20613,7 +20631,7 @@ const bE = {
|
|
|
20613
20631
|
itemRefCallback: () => {
|
|
20614
20632
|
}
|
|
20615
20633
|
}, [qa, gm] = /* @__PURE__ */ We("SelectContent");
|
|
20616
|
-
var wE = /* @__PURE__ */
|
|
20634
|
+
var wE = /* @__PURE__ */ N({
|
|
20617
20635
|
__name: "SelectContentImpl",
|
|
20618
20636
|
props: {
|
|
20619
20637
|
position: {
|
|
@@ -20739,7 +20757,7 @@ var wE = /* @__PURE__ */ D({
|
|
|
20739
20757
|
(!i || i.canFocus()) && w();
|
|
20740
20758
|
});
|
|
20741
20759
|
const { onOpenChange: _, triggerPointerDownPosRef: C } = r;
|
|
20742
|
-
|
|
20760
|
+
Nt((x) => {
|
|
20743
20761
|
if (!l.value) return;
|
|
20744
20762
|
let T = {
|
|
20745
20763
|
x: 0,
|
|
@@ -20808,7 +20826,7 @@ var wE = /* @__PURE__ */ D({
|
|
|
20808
20826
|
position: n.position,
|
|
20809
20827
|
isPositioned: m,
|
|
20810
20828
|
searchRef: c
|
|
20811
|
-
}), (x, T) => (y(),
|
|
20829
|
+
}), (x, T) => (y(), D(p(a), null, {
|
|
20812
20830
|
default: P(() => [Z(p(iu), {
|
|
20813
20831
|
"as-child": "",
|
|
20814
20832
|
onMountAutoFocus: T[6] || (T[6] = kt(() => {
|
|
@@ -20826,7 +20844,7 @@ var wE = /* @__PURE__ */ D({
|
|
|
20826
20844
|
onEscapeKeyDown: T[4] || (T[4] = (I) => o("escapeKeyDown", I)),
|
|
20827
20845
|
onPointerDownOutside: T[5] || (T[5] = (I) => o("pointerDownOutside", I))
|
|
20828
20846
|
}, {
|
|
20829
|
-
default: P(() => [(y(),
|
|
20847
|
+
default: P(() => [(y(), D(Tt(x.position === "popper" ? yE : CE), ie({
|
|
20830
20848
|
...x.$attrs,
|
|
20831
20849
|
...p(A)
|
|
20832
20850
|
}, {
|
|
@@ -20866,7 +20884,7 @@ var wE = /* @__PURE__ */ D({
|
|
|
20866
20884
|
}
|
|
20867
20885
|
}), _E = wE;
|
|
20868
20886
|
const [SE, xE] = /* @__PURE__ */ We("SelectItemAlignedPosition");
|
|
20869
|
-
var kE = /* @__PURE__ */
|
|
20887
|
+
var kE = /* @__PURE__ */ N({
|
|
20870
20888
|
inheritAttrs: !1,
|
|
20871
20889
|
__name: "SelectItemAlignedPosition",
|
|
20872
20890
|
props: {
|
|
@@ -20886,23 +20904,23 @@ var kE = /* @__PURE__ */ D({
|
|
|
20886
20904
|
if (i.triggerElement.value && i.valueElement.value && c.value && d.value && f?.value && h?.value && m?.value) {
|
|
20887
20905
|
const C = i.triggerElement.value.getBoundingClientRect(), b = d.value.getBoundingClientRect(), k = i.valueElement.value.getBoundingClientRect(), A = m.value.getBoundingClientRect();
|
|
20888
20906
|
if (i.dir.value !== "rtl") {
|
|
20889
|
-
const Ye = A.left - b.left, _t = k.left - Ye,
|
|
20890
|
-
c.value.style.minWidth = `${
|
|
20907
|
+
const Ye = A.left - b.left, _t = k.left - Ye, Rt = C.left - _t, mt = C.width + Rt, Wn = Math.max(mt, b.width), S = window.innerWidth - Gt, $ = rd(_t, Gt, Math.max(Gt, S - Wn));
|
|
20908
|
+
c.value.style.minWidth = `${mt}px`, c.value.style.left = `${$}px`;
|
|
20891
20909
|
} else {
|
|
20892
|
-
const Ye = b.right - A.right, _t = window.innerWidth - k.right - Ye,
|
|
20893
|
-
c.value.style.minWidth = `${
|
|
20910
|
+
const Ye = b.right - A.right, _t = window.innerWidth - k.right - Ye, Rt = window.innerWidth - C.right - _t, mt = C.width + Rt, Wn = Math.max(mt, b.width), S = window.innerWidth - Gt, $ = rd(_t, Gt, Math.max(Gt, S - Wn));
|
|
20911
|
+
c.value.style.minWidth = `${mt}px`, c.value.style.right = `${$}px`;
|
|
20894
20912
|
}
|
|
20895
|
-
const x = r().map((Ye) => Ye.ref), T = window.innerHeight - Gt * 2, I = f.value.scrollHeight, F = window.getComputedStyle(d.value), W = Number.parseInt(F.borderTopWidth, 10), X = Number.parseInt(F.paddingTop, 10), te = Number.parseInt(F.borderBottomWidth, 10), fe = Number.parseInt(F.paddingBottom, 10), K = W + X + I + fe + te, re = Math.min(h.value.offsetHeight * 5, K), ce = window.getComputedStyle(f.value), pe = Number.parseInt(ce.paddingTop, 10), Fe = Number.parseInt(ce.paddingBottom, 10), ye = C.top + C.height / 2 - Gt, Ae = T - ye, je = h.value.offsetHeight / 2,
|
|
20913
|
+
const x = r().map((Ye) => Ye.ref), T = window.innerHeight - Gt * 2, I = f.value.scrollHeight, F = window.getComputedStyle(d.value), W = Number.parseInt(F.borderTopWidth, 10), X = Number.parseInt(F.paddingTop, 10), te = Number.parseInt(F.borderBottomWidth, 10), fe = Number.parseInt(F.paddingBottom, 10), K = W + X + I + fe + te, re = Math.min(h.value.offsetHeight * 5, K), ce = window.getComputedStyle(f.value), pe = Number.parseInt(ce.paddingTop, 10), Fe = Number.parseInt(ce.paddingBottom, 10), ye = C.top + C.height / 2 - Gt, Ae = T - ye, je = h.value.offsetHeight / 2, pt = h.value.offsetTop + je, ve = W + X + pt, rt = K - ve;
|
|
20896
20914
|
if (ve <= ye) {
|
|
20897
20915
|
const Ye = h.value === x.at(-1);
|
|
20898
20916
|
c.value.style.bottom = "0px";
|
|
20899
|
-
const _t = d.value.clientHeight - f.value.offsetTop - f.value.offsetHeight,
|
|
20900
|
-
c.value.style.height = `${
|
|
20917
|
+
const _t = d.value.clientHeight - f.value.offsetTop - f.value.offsetHeight, Rt = Math.max(Ae, je + (Ye ? Fe : 0) + _t + te), mt = ve + Rt;
|
|
20918
|
+
c.value.style.height = `${mt}px`;
|
|
20901
20919
|
} else {
|
|
20902
20920
|
const Ye = h.value === x[0];
|
|
20903
20921
|
c.value.style.top = "0px";
|
|
20904
|
-
const
|
|
20905
|
-
c.value.style.height = `${
|
|
20922
|
+
const Rt = Math.max(ye, W + f.value.offsetTop + (Ye ? pe : 0) + je) + rt;
|
|
20923
|
+
c.value.style.height = `${Rt}px`, f.value.scrollTop = ve - ye + f.value.offsetTop;
|
|
20906
20924
|
}
|
|
20907
20925
|
c.value.style.margin = `${Gt}px 0`, c.value.style.minHeight = `${re}px`, c.value.style.maxHeight = `${T}px`, o("placed"), requestAnimationFrame(() => s.value = !0);
|
|
20908
20926
|
}
|
|
@@ -20943,7 +20961,7 @@ var kE = /* @__PURE__ */ D({
|
|
|
20943
20961
|
_: 3
|
|
20944
20962
|
}, 16)], 4));
|
|
20945
20963
|
}
|
|
20946
|
-
}), CE = kE, AE = /* @__PURE__ */
|
|
20964
|
+
}), CE = kE, AE = /* @__PURE__ */ N({
|
|
20947
20965
|
inheritAttrs: !1,
|
|
20948
20966
|
__name: "SelectProvider",
|
|
20949
20967
|
props: { context: {
|
|
@@ -20955,7 +20973,7 @@ var kE = /* @__PURE__ */ D({
|
|
|
20955
20973
|
}
|
|
20956
20974
|
}), OE = AE;
|
|
20957
20975
|
const $E = { key: 1 };
|
|
20958
|
-
var EE = /* @__PURE__ */
|
|
20976
|
+
var EE = /* @__PURE__ */ N({
|
|
20959
20977
|
inheritAttrs: !1,
|
|
20960
20978
|
__name: "SelectContent",
|
|
20961
20979
|
props: {
|
|
@@ -21083,13 +21101,13 @@ var EE = /* @__PURE__ */ D({
|
|
|
21083
21101
|
d(), u = setTimeout(() => {
|
|
21084
21102
|
c.value = l.value, u = void 0;
|
|
21085
21103
|
}), m(d);
|
|
21086
|
-
}), rn(d), (f, h) => l.value || c.value || s.value?.present ? (y(),
|
|
21104
|
+
}), rn(d), (f, h) => l.value || c.value || s.value?.present ? (y(), D(p(jn), {
|
|
21087
21105
|
key: 0,
|
|
21088
21106
|
ref_key: "presenceRef",
|
|
21089
21107
|
ref: s,
|
|
21090
21108
|
present: l.value
|
|
21091
21109
|
}, {
|
|
21092
|
-
default: P(() => [Z(_E,
|
|
21110
|
+
default: P(() => [Z(_E, lt(ft({
|
|
21093
21111
|
...p(r),
|
|
21094
21112
|
...f.$attrs
|
|
21095
21113
|
})), {
|
|
@@ -21097,14 +21115,14 @@ var EE = /* @__PURE__ */ D({
|
|
|
21097
21115
|
_: 3
|
|
21098
21116
|
}, 16)]),
|
|
21099
21117
|
_: 3
|
|
21100
|
-
}, 8, ["present"])) : a.value ? (y(), E("div", $E, [(y(),
|
|
21118
|
+
}, 8, ["present"])) : a.value ? (y(), E("div", $E, [(y(), D(Ol, { to: a.value }, [Z(OE, { context: p(i) }, {
|
|
21101
21119
|
default: P(() => [R(f.$slots, "default")]),
|
|
21102
21120
|
_: 3
|
|
21103
21121
|
}, 8, ["context"])], 8, ["to"]))])) : V("v-if", !0);
|
|
21104
21122
|
}
|
|
21105
21123
|
}), PE = EE;
|
|
21106
21124
|
const [TE, IE] = /* @__PURE__ */ We("SelectGroup");
|
|
21107
|
-
var RE = /* @__PURE__ */
|
|
21125
|
+
var RE = /* @__PURE__ */ N({
|
|
21108
21126
|
__name: "SelectGroup",
|
|
21109
21127
|
props: {
|
|
21110
21128
|
asChild: {
|
|
@@ -21118,12 +21136,12 @@ var RE = /* @__PURE__ */ D({
|
|
|
21118
21136
|
},
|
|
21119
21137
|
setup(e) {
|
|
21120
21138
|
const t = e, n = jt(void 0, "reka-select-group");
|
|
21121
|
-
return IE({ id: n }), (o, r) => (y(),
|
|
21139
|
+
return IE({ id: n }), (o, r) => (y(), D(p(Oe), ie({ role: "group" }, t, { "aria-labelledby": p(n) }), {
|
|
21122
21140
|
default: P(() => [R(o.$slots, "default")]),
|
|
21123
21141
|
_: 3
|
|
21124
21142
|
}, 16, ["aria-labelledby"]));
|
|
21125
21143
|
}
|
|
21126
|
-
}), DE = RE, NE = /* @__PURE__ */
|
|
21144
|
+
}), DE = RE, NE = /* @__PURE__ */ N({
|
|
21127
21145
|
__name: "SelectIcon",
|
|
21128
21146
|
props: {
|
|
21129
21147
|
asChild: {
|
|
@@ -21137,7 +21155,7 @@ var RE = /* @__PURE__ */ D({
|
|
|
21137
21155
|
}
|
|
21138
21156
|
},
|
|
21139
21157
|
setup(e) {
|
|
21140
|
-
return (t, n) => (y(),
|
|
21158
|
+
return (t, n) => (y(), D(p(Oe), {
|
|
21141
21159
|
"aria-hidden": "true",
|
|
21142
21160
|
as: t.as,
|
|
21143
21161
|
"as-child": t.asChild
|
|
@@ -21148,7 +21166,7 @@ var RE = /* @__PURE__ */ D({
|
|
|
21148
21166
|
}
|
|
21149
21167
|
}), ME = NE;
|
|
21150
21168
|
const [ym, zE] = /* @__PURE__ */ We("SelectItem");
|
|
21151
|
-
var qE = /* @__PURE__ */
|
|
21169
|
+
var qE = /* @__PURE__ */ N({
|
|
21152
21170
|
__name: "SelectItem",
|
|
21153
21171
|
props: {
|
|
21154
21172
|
value: {
|
|
@@ -21174,7 +21192,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21174
21192
|
},
|
|
21175
21193
|
emits: ["select"],
|
|
21176
21194
|
setup(e, { emit: t }) {
|
|
21177
|
-
const n = e, o = t, { disabled: r } = /* @__PURE__ */
|
|
21195
|
+
const n = e, o = t, { disabled: r } = /* @__PURE__ */ wt(n), i = co(), a = qa(), { forwardRef: s, currentElement: l } = we(), { CollectionItem: c } = lo(), u = O(() => Ur(i.modelValue?.value, n.value, i.by)), d = /* @__PURE__ */ M(!1), f = /* @__PURE__ */ M(n.textValue ?? ""), h = jt(void 0, "reka-select-item-text"), m = "select.select";
|
|
21178
21196
|
async function v(b) {
|
|
21179
21197
|
if (b.defaultPrevented) return;
|
|
21180
21198
|
const k = {
|
|
@@ -21206,7 +21224,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21206
21224
|
onItemTextChange: (b) => {
|
|
21207
21225
|
f.value = ((f.value || b?.textContent) ?? "").trim();
|
|
21208
21226
|
}
|
|
21209
|
-
}), (b, k) => (y(),
|
|
21227
|
+
}), (b, k) => (y(), D(p(c), { value: { textValue: f.value } }, {
|
|
21210
21228
|
default: P(() => [Z(p(Oe), {
|
|
21211
21229
|
ref: p(s),
|
|
21212
21230
|
role: "option",
|
|
@@ -21247,7 +21265,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21247
21265
|
_: 3
|
|
21248
21266
|
}, 8, ["value"]));
|
|
21249
21267
|
}
|
|
21250
|
-
}), FE = qE, LE = /* @__PURE__ */
|
|
21268
|
+
}), FE = qE, LE = /* @__PURE__ */ N({
|
|
21251
21269
|
__name: "SelectItemIndicator",
|
|
21252
21270
|
props: {
|
|
21253
21271
|
asChild: {
|
|
@@ -21262,7 +21280,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21262
21280
|
},
|
|
21263
21281
|
setup(e) {
|
|
21264
21282
|
const t = e, n = ym();
|
|
21265
|
-
return (o, r) => p(n).isSelected.value ? (y(),
|
|
21283
|
+
return (o, r) => p(n).isSelected.value ? (y(), D(p(Oe), ie({
|
|
21266
21284
|
key: 0,
|
|
21267
21285
|
"aria-hidden": "true"
|
|
21268
21286
|
}, t), {
|
|
@@ -21270,7 +21288,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21270
21288
|
_: 3
|
|
21271
21289
|
}, 16)) : V("v-if", !0);
|
|
21272
21290
|
}
|
|
21273
|
-
}), VE = LE, BE = /* @__PURE__ */
|
|
21291
|
+
}), VE = LE, BE = /* @__PURE__ */ N({
|
|
21274
21292
|
inheritAttrs: !1,
|
|
21275
21293
|
__name: "SelectItemText",
|
|
21276
21294
|
props: {
|
|
@@ -21294,7 +21312,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21294
21312
|
a.value && (r.onItemTextChange(a.value), o.itemTextRefCallback(a.value, r.value, r.disabled.value), n.onOptionAdd(s.value));
|
|
21295
21313
|
}), rn(() => {
|
|
21296
21314
|
n.onOptionRemove(s.value);
|
|
21297
|
-
}), (l, c) => (y(),
|
|
21315
|
+
}), (l, c) => (y(), D(p(Oe), ie({
|
|
21298
21316
|
id: p(r).textId,
|
|
21299
21317
|
ref: p(i)
|
|
21300
21318
|
}, {
|
|
@@ -21305,7 +21323,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21305
21323
|
_: 3
|
|
21306
21324
|
}, 16, ["id"]));
|
|
21307
21325
|
}
|
|
21308
|
-
}), jE = BE, UE = /* @__PURE__ */
|
|
21326
|
+
}), jE = BE, UE = /* @__PURE__ */ N({
|
|
21309
21327
|
__name: "SelectLabel",
|
|
21310
21328
|
props: {
|
|
21311
21329
|
for: {
|
|
@@ -21324,12 +21342,12 @@ var qE = /* @__PURE__ */ D({
|
|
|
21324
21342
|
},
|
|
21325
21343
|
setup(e) {
|
|
21326
21344
|
const t = e, n = TE({ id: "" });
|
|
21327
|
-
return (o, r) => (y(),
|
|
21345
|
+
return (o, r) => (y(), D(p(Oe), ie(t, { id: p(n).id }), {
|
|
21328
21346
|
default: P(() => [R(o.$slots, "default")]),
|
|
21329
21347
|
_: 3
|
|
21330
21348
|
}, 16, ["id"]));
|
|
21331
21349
|
}
|
|
21332
|
-
}), WE = UE, KE = /* @__PURE__ */
|
|
21350
|
+
}), WE = UE, KE = /* @__PURE__ */ N({
|
|
21333
21351
|
__name: "SelectPortal",
|
|
21334
21352
|
props: {
|
|
21335
21353
|
to: {
|
|
@@ -21351,12 +21369,12 @@ var qE = /* @__PURE__ */ D({
|
|
|
21351
21369
|
},
|
|
21352
21370
|
setup(e) {
|
|
21353
21371
|
const t = e;
|
|
21354
|
-
return (n, o) => (y(),
|
|
21372
|
+
return (n, o) => (y(), D(p(Ea), lt(ft(t)), {
|
|
21355
21373
|
default: P(() => [R(n.$slots, "default")]),
|
|
21356
21374
|
_: 3
|
|
21357
21375
|
}, 16));
|
|
21358
21376
|
}
|
|
21359
|
-
}), ZE = KE, HE = /* @__PURE__ */
|
|
21377
|
+
}), ZE = KE, HE = /* @__PURE__ */ N({
|
|
21360
21378
|
__name: "SelectTrigger",
|
|
21361
21379
|
props: {
|
|
21362
21380
|
disabled: {
|
|
@@ -21407,7 +21425,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21407
21425
|
function g(w) {
|
|
21408
21426
|
h || w.currentTarget?.focus(), h = !1;
|
|
21409
21427
|
}
|
|
21410
|
-
return (w, _) => (y(),
|
|
21428
|
+
return (w, _) => (y(), D(p(uu), {
|
|
21411
21429
|
"as-child": "",
|
|
21412
21430
|
reference: w.reference
|
|
21413
21431
|
}, {
|
|
@@ -21455,7 +21473,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21455
21473
|
_: 3
|
|
21456
21474
|
}, 8, ["reference"]));
|
|
21457
21475
|
}
|
|
21458
|
-
}), GE = HE, JE = /* @__PURE__ */
|
|
21476
|
+
}), GE = HE, JE = /* @__PURE__ */ N({
|
|
21459
21477
|
__name: "SelectValue",
|
|
21460
21478
|
props: {
|
|
21461
21479
|
placeholder: {
|
|
@@ -21483,7 +21501,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21483
21501
|
const l = Array.from(r.optionsSet.value), c = (u) => l.find((d) => Ur(u, d.value, r.by));
|
|
21484
21502
|
return Array.isArray(r.modelValue.value) ? s = r.modelValue.value.map((u) => c(u)?.textContent ?? "") : s = [c(r.modelValue.value)?.textContent ?? ""], s.filter(Boolean);
|
|
21485
21503
|
}), a = O(() => i.value.length ? i.value.join(", ") : t.placeholder);
|
|
21486
|
-
return (s, l) => (y(),
|
|
21504
|
+
return (s, l) => (y(), D(p(Oe), {
|
|
21487
21505
|
ref: p(n),
|
|
21488
21506
|
as: s.as,
|
|
21489
21507
|
"as-child": s.asChild,
|
|
@@ -21501,7 +21519,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21501
21519
|
"data-placeholder"
|
|
21502
21520
|
]));
|
|
21503
21521
|
}
|
|
21504
|
-
}), YE = JE, XE = /* @__PURE__ */
|
|
21522
|
+
}), YE = JE, XE = /* @__PURE__ */ N({
|
|
21505
21523
|
__name: "SelectViewport",
|
|
21506
21524
|
props: {
|
|
21507
21525
|
nonce: {
|
|
@@ -21518,7 +21536,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21518
21536
|
}
|
|
21519
21537
|
},
|
|
21520
21538
|
setup(e) {
|
|
21521
|
-
const t = e, { nonce: n } = /* @__PURE__ */
|
|
21539
|
+
const t = e, { nonce: n } = /* @__PURE__ */ wt(t), o = CO(n), r = qa(), i = r.position === "item-aligned" ? SE() : void 0, { forwardRef: a, currentElement: s } = we();
|
|
21522
21540
|
Ge(() => {
|
|
21523
21541
|
r?.onViewportChange(s.value);
|
|
21524
21542
|
});
|
|
@@ -21565,7 +21583,7 @@ var qE = /* @__PURE__ */ D({
|
|
|
21565
21583
|
}
|
|
21566
21584
|
}), QE = XE;
|
|
21567
21585
|
const [eP, tP] = /* @__PURE__ */ We("SwitchRoot");
|
|
21568
|
-
var nP = /* @__PURE__ */
|
|
21586
|
+
var nP = /* @__PURE__ */ N({
|
|
21569
21587
|
inheritAttrs: !1,
|
|
21570
21588
|
__name: "SwitchRoot",
|
|
21571
21589
|
props: {
|
|
@@ -21621,7 +21639,7 @@ var nP = /* @__PURE__ */ D({
|
|
|
21621
21639
|
},
|
|
21622
21640
|
emits: ["update:modelValue"],
|
|
21623
21641
|
setup(e, { emit: t }) {
|
|
21624
|
-
const n = e, o = t, { disabled: r } = /* @__PURE__ */
|
|
21642
|
+
const n = e, o = t, { disabled: r } = /* @__PURE__ */ wt(n), i = /* @__PURE__ */ It(n, "modelValue", o, {
|
|
21625
21643
|
defaultValue: n.defaultValue ?? n.falseValue,
|
|
21626
21644
|
passive: n.modelValue === void 0
|
|
21627
21645
|
}), a = O(() => i.value === n.trueValue);
|
|
@@ -21672,7 +21690,7 @@ var nP = /* @__PURE__ */ D({
|
|
|
21672
21690
|
"as",
|
|
21673
21691
|
"disabled",
|
|
21674
21692
|
"onKeydown"
|
|
21675
|
-
]), p(u) && h.name ? (y(),
|
|
21693
|
+
]), p(u) && h.name ? (y(), D(p(Pa), ie({
|
|
21676
21694
|
key: 0,
|
|
21677
21695
|
type: "checkbox",
|
|
21678
21696
|
name: h.name,
|
|
@@ -21688,7 +21706,7 @@ var nP = /* @__PURE__ */ D({
|
|
|
21688
21706
|
"checked"
|
|
21689
21707
|
])) : V("v-if", !0)], 64));
|
|
21690
21708
|
}
|
|
21691
|
-
}), oP = nP, rP = /* @__PURE__ */
|
|
21709
|
+
}), oP = nP, rP = /* @__PURE__ */ N({
|
|
21692
21710
|
__name: "SwitchThumb",
|
|
21693
21711
|
props: {
|
|
21694
21712
|
asChild: {
|
|
@@ -21703,7 +21721,7 @@ var nP = /* @__PURE__ */ D({
|
|
|
21703
21721
|
},
|
|
21704
21722
|
setup(e) {
|
|
21705
21723
|
const t = eP();
|
|
21706
|
-
return we(), (n, o) => (y(),
|
|
21724
|
+
return we(), (n, o) => (y(), D(p(Oe), {
|
|
21707
21725
|
"data-state": p(t).checked.value ? "checked" : "unchecked",
|
|
21708
21726
|
"data-disabled": p(t).disabled.value ? "" : void 0,
|
|
21709
21727
|
"as-child": n.asChild,
|
|
@@ -21720,7 +21738,7 @@ var nP = /* @__PURE__ */ D({
|
|
|
21720
21738
|
}
|
|
21721
21739
|
}), iP = rP;
|
|
21722
21740
|
const [Fa, aP] = /* @__PURE__ */ We("TooltipProvider");
|
|
21723
|
-
var sP = /* @__PURE__ */
|
|
21741
|
+
var sP = /* @__PURE__ */ N({
|
|
21724
21742
|
inheritAttrs: !1,
|
|
21725
21743
|
__name: "TooltipProvider",
|
|
21726
21744
|
props: {
|
|
@@ -21758,7 +21776,7 @@ var sP = /* @__PURE__ */ D({
|
|
|
21758
21776
|
}
|
|
21759
21777
|
},
|
|
21760
21778
|
setup(e) {
|
|
21761
|
-
const t = e, { delayDuration: n, skipDelayDuration: o, disableHoverableContent: r, disableClosingTrigger: i, ignoreNonKeyboardFocus: a, disabled: s, content: l } = /* @__PURE__ */
|
|
21779
|
+
const t = e, { delayDuration: n, skipDelayDuration: o, disableHoverableContent: r, disableClosingTrigger: i, ignoreNonKeyboardFocus: a, disabled: s, content: l } = /* @__PURE__ */ wt(t);
|
|
21762
21780
|
we();
|
|
21763
21781
|
const c = /* @__PURE__ */ M(!0), u = /* @__PURE__ */ M(!1), { start: d, stop: f } = Dh(() => {
|
|
21764
21782
|
c.value = !0;
|
|
@@ -21782,7 +21800,7 @@ var sP = /* @__PURE__ */ D({
|
|
|
21782
21800
|
}
|
|
21783
21801
|
}), bm = sP;
|
|
21784
21802
|
const wm = "tooltip.open", [La, lP] = /* @__PURE__ */ We("TooltipRoot");
|
|
21785
|
-
var uP = /* @__PURE__ */
|
|
21803
|
+
var uP = /* @__PURE__ */ N({
|
|
21786
21804
|
__name: "TooltipRoot",
|
|
21787
21805
|
props: {
|
|
21788
21806
|
defaultOpen: {
|
|
@@ -21825,7 +21843,7 @@ var uP = /* @__PURE__ */ D({
|
|
|
21825
21843
|
setup(e, { emit: t }) {
|
|
21826
21844
|
const n = e, o = Ht(), r = t;
|
|
21827
21845
|
we();
|
|
21828
|
-
const i = Fa(), a = O(() => n.disableHoverableContent ?? i.disableHoverableContent.value), s = O(() => n.disableClosingTrigger ?? i.disableClosingTrigger.value), l = O(() => n.disabled ?? i.disabled.value), c = O(() => n.delayDuration ?? i.delayDuration.value), u = O(() => n.ignoreNonKeyboardFocus ?? i.ignoreNonKeyboardFocus.value), d = /* @__PURE__ */
|
|
21846
|
+
const i = Fa(), a = O(() => n.disableHoverableContent ?? i.disableHoverableContent.value), s = O(() => n.disableClosingTrigger ?? i.disableClosingTrigger.value), l = O(() => n.disabled ?? i.disabled.value), c = O(() => n.delayDuration ?? i.delayDuration.value), u = O(() => n.ignoreNonKeyboardFocus ?? i.ignoreNonKeyboardFocus.value), d = /* @__PURE__ */ It(n, "open", r, {
|
|
21829
21847
|
defaultValue: n.defaultOpen,
|
|
21830
21848
|
passive: n.open === void 0
|
|
21831
21849
|
});
|
|
@@ -21864,12 +21882,12 @@ var uP = /* @__PURE__ */ D({
|
|
|
21864
21882
|
disableClosingTrigger: s,
|
|
21865
21883
|
disabled: l,
|
|
21866
21884
|
ignoreNonKeyboardFocus: u
|
|
21867
|
-
}), (b, k) => (y(),
|
|
21885
|
+
}), (b, k) => (y(), D(p(Ta), null, {
|
|
21868
21886
|
default: P(() => [R(b.$slots, "default", { open: p(d) })]),
|
|
21869
21887
|
_: 3
|
|
21870
21888
|
}));
|
|
21871
21889
|
}
|
|
21872
|
-
}), _m = uP, cP = /* @__PURE__ */
|
|
21890
|
+
}), _m = uP, cP = /* @__PURE__ */ N({
|
|
21873
21891
|
__name: "TooltipContentImpl",
|
|
21874
21892
|
props: {
|
|
21875
21893
|
ariaLabel: {
|
|
@@ -21956,7 +21974,7 @@ var uP = /* @__PURE__ */ D({
|
|
|
21956
21974
|
zn(window, "scroll", (d) => {
|
|
21957
21975
|
d.target?.contains(i.trigger.value) && i.onClose();
|
|
21958
21976
|
}, { capture: !0 }), zn(o?.eventTarget ?? document, wm, i.onClose);
|
|
21959
|
-
}), (d, f) => (y(),
|
|
21977
|
+
}), (d, f) => (y(), D(p($a), {
|
|
21960
21978
|
"as-child": "",
|
|
21961
21979
|
"disable-outside-pointer-events": !1,
|
|
21962
21980
|
onEscapeKeyDown: f[0] || (f[0] = (h) => r("escapeKeyDown", h)),
|
|
@@ -21992,7 +22010,7 @@ var uP = /* @__PURE__ */ D({
|
|
|
21992
22010
|
_: 3
|
|
21993
22011
|
}));
|
|
21994
22012
|
}
|
|
21995
|
-
}), Sm = cP, dP = /* @__PURE__ */
|
|
22013
|
+
}), Sm = cP, dP = /* @__PURE__ */ N({
|
|
21996
22014
|
__name: "TooltipContentHoverable",
|
|
21997
22015
|
props: {
|
|
21998
22016
|
ariaLabel: {
|
|
@@ -22068,12 +22086,12 @@ var uP = /* @__PURE__ */ D({
|
|
|
22068
22086
|
const m = h.closest("[data-grace-area-trigger]");
|
|
22069
22087
|
return !!m && m !== i.value;
|
|
22070
22088
|
}) && a();
|
|
22071
|
-
}), (u, d) => (y(),
|
|
22089
|
+
}), (u, d) => (y(), D(Sm, ie({ ref: p(o) }, p(n)), {
|
|
22072
22090
|
default: P(() => [R(u.$slots, "default")]),
|
|
22073
22091
|
_: 3
|
|
22074
22092
|
}, 16));
|
|
22075
22093
|
}
|
|
22076
|
-
}), fP = dP, pP = /* @__PURE__ */
|
|
22094
|
+
}), fP = dP, pP = /* @__PURE__ */ N({
|
|
22077
22095
|
__name: "TooltipContent",
|
|
22078
22096
|
props: {
|
|
22079
22097
|
forceMount: {
|
|
@@ -22144,15 +22162,15 @@ var uP = /* @__PURE__ */ D({
|
|
|
22144
22162
|
emits: ["escapeKeyDown", "pointerDownOutside"],
|
|
22145
22163
|
setup(e, { emit: t }) {
|
|
22146
22164
|
const n = e, o = t, r = La(), i = Bn(n, o), { forwardRef: a } = we();
|
|
22147
|
-
return (s, l) => (y(),
|
|
22148
|
-
default: P(() => [(y(),
|
|
22165
|
+
return (s, l) => (y(), D(p(jn), { present: s.forceMount || p(r).open.value }, {
|
|
22166
|
+
default: P(() => [(y(), D(Tt(p(r).disableHoverableContent.value ? Sm : fP), ie({ ref: p(a) }, p(i)), {
|
|
22149
22167
|
default: P(() => [R(s.$slots, "default")]),
|
|
22150
22168
|
_: 3
|
|
22151
22169
|
}, 16))]),
|
|
22152
22170
|
_: 3
|
|
22153
22171
|
}, 8, ["present"]));
|
|
22154
22172
|
}
|
|
22155
|
-
}), xm = pP, hP = /* @__PURE__ */
|
|
22173
|
+
}), xm = pP, hP = /* @__PURE__ */ N({
|
|
22156
22174
|
__name: "TooltipPortal",
|
|
22157
22175
|
props: {
|
|
22158
22176
|
to: {
|
|
@@ -22174,12 +22192,12 @@ var uP = /* @__PURE__ */ D({
|
|
|
22174
22192
|
},
|
|
22175
22193
|
setup(e) {
|
|
22176
22194
|
const t = e;
|
|
22177
|
-
return (n, o) => (y(),
|
|
22195
|
+
return (n, o) => (y(), D(p(Ea), lt(ft(t)), {
|
|
22178
22196
|
default: P(() => [R(n.$slots, "default")]),
|
|
22179
22197
|
_: 3
|
|
22180
22198
|
}, 16));
|
|
22181
22199
|
}
|
|
22182
|
-
}), km = hP, mP = /* @__PURE__ */
|
|
22200
|
+
}), km = hP, mP = /* @__PURE__ */ N({
|
|
22183
22201
|
__name: "TooltipTrigger",
|
|
22184
22202
|
props: {
|
|
22185
22203
|
reference: {
|
|
@@ -22233,7 +22251,7 @@ var uP = /* @__PURE__ */ D({
|
|
|
22233
22251
|
function v() {
|
|
22234
22252
|
n.disableClosingTrigger.value || n.onClose();
|
|
22235
22253
|
}
|
|
22236
|
-
return (g, w) => (y(),
|
|
22254
|
+
return (g, w) => (y(), D(p(uu), {
|
|
22237
22255
|
"as-child": "",
|
|
22238
22256
|
reference: g.reference ?? p(i)
|
|
22239
22257
|
}, {
|
|
@@ -22266,7 +22284,7 @@ function Am(e, t) {
|
|
|
22266
22284
|
const vP = ["for"], gP = {
|
|
22267
22285
|
key: 0,
|
|
22268
22286
|
class: "block leading-[var(--ui-line-height)]"
|
|
22269
|
-
}, yP = /* @__PURE__ */
|
|
22287
|
+
}, yP = /* @__PURE__ */ N({
|
|
22270
22288
|
inheritAttrs: !1,
|
|
22271
22289
|
__name: "Checkbox",
|
|
22272
22290
|
props: {
|
|
@@ -22298,12 +22316,12 @@ const vP = ["for"], gP = {
|
|
|
22298
22316
|
default: P(() => [
|
|
22299
22317
|
Z(p(MO), { class: "flex items-center justify-center" }, {
|
|
22300
22318
|
default: P(() => [
|
|
22301
|
-
n.indeterminate ? (y(),
|
|
22319
|
+
n.indeterminate ? (y(), D(p(pC), {
|
|
22302
22320
|
key: 0,
|
|
22303
22321
|
"data-ui-checkbox-dash": "",
|
|
22304
22322
|
class: "size-[calc(var(--ui-choice-box-size)*0.75)] stroke-[2.5]",
|
|
22305
22323
|
"aria-hidden": "true"
|
|
22306
|
-
})) : (y(),
|
|
22324
|
+
})) : (y(), D(p(Vo), {
|
|
22307
22325
|
key: 1,
|
|
22308
22326
|
class: "size-[calc(var(--ui-choice-box-size)*0.75)] stroke-[2.5]",
|
|
22309
22327
|
"aria-hidden": "true"
|
|
@@ -22330,7 +22348,7 @@ const vP = ["for"], gP = {
|
|
|
22330
22348
|
}), bP = {
|
|
22331
22349
|
key: 0,
|
|
22332
22350
|
class: "min-w-0 break-words"
|
|
22333
|
-
}, wP = /* @__PURE__ */
|
|
22351
|
+
}, wP = /* @__PURE__ */ N({
|
|
22334
22352
|
inheritAttrs: !1,
|
|
22335
22353
|
__name: "Switch",
|
|
22336
22354
|
props: {
|
|
@@ -22361,7 +22379,7 @@ const vP = ["for"], gP = {
|
|
|
22361
22379
|
n.label ? (y(), E("span", bP, ee(n.label), 1)) : V("", !0)
|
|
22362
22380
|
], 16));
|
|
22363
22381
|
}
|
|
22364
|
-
}), _P = { class: "min-w-0 break-words" }, SP = { class: "block leading-[var(--ui-line-height)]" }, xP = /* @__PURE__ */
|
|
22382
|
+
}), _P = { class: "min-w-0 break-words" }, SP = { class: "block leading-[var(--ui-line-height)]" }, xP = /* @__PURE__ */ N({
|
|
22365
22383
|
inheritAttrs: !1,
|
|
22366
22384
|
__name: "RadioGroup",
|
|
22367
22385
|
props: {
|
|
@@ -22373,7 +22391,7 @@ const vP = ["for"], gP = {
|
|
|
22373
22391
|
emits: ["update:modelValue"],
|
|
22374
22392
|
setup(e, { emit: t }) {
|
|
22375
22393
|
const n = e, o = t, { controlAttrs: r, wrapperAttrs: i, changed: a } = ar({ value: () => n.modelValue, disabled: () => n.disabled });
|
|
22376
|
-
return (s, l) => (y(),
|
|
22394
|
+
return (s, l) => (y(), D(p(nE), ie({
|
|
22377
22395
|
required: p(r)()["aria-required"] === !0
|
|
22378
22396
|
}, { ...p(i)(), ...p(r)() }, {
|
|
22379
22397
|
"model-value": n.modelValue,
|
|
@@ -22479,7 +22497,7 @@ const $P = { key: 0 }, EP = { key: 1 }, PP = { key: 2 }, TP = {
|
|
|
22479
22497
|
key: 0,
|
|
22480
22498
|
class: "px-2.5 py-2 text-[13px] text-[var(--ui-text-muted)]",
|
|
22481
22499
|
"aria-live": "polite"
|
|
22482
|
-
}, MP = /* @__PURE__ */
|
|
22500
|
+
}, MP = /* @__PURE__ */ N({
|
|
22483
22501
|
inheritAttrs: !1,
|
|
22484
22502
|
__name: "Select",
|
|
22485
22503
|
props: {
|
|
@@ -22503,7 +22521,7 @@ const $P = { key: 0 }, EP = { key: 1 }, PP = { key: 2 }, TP = {
|
|
|
22503
22521
|
minSearchChar: () => o.minSearchChar,
|
|
22504
22522
|
caseSensitive: () => o.caseSensitive
|
|
22505
22523
|
}), m = /* @__PURE__ */ en(/* @__PURE__ */ new Map());
|
|
22506
|
-
|
|
22524
|
+
Nt(() => {
|
|
22507
22525
|
for (const x of $d(ol(o.options))) m.set(x.value, x.label);
|
|
22508
22526
|
for (const x of $d(f.value)) m.set(x.value, x.label);
|
|
22509
22527
|
});
|
|
@@ -22603,17 +22621,17 @@ const $P = { key: 0 }, EP = { key: 1 }, PP = { key: 2 }, TP = {
|
|
|
22603
22621
|
[ly, i.value]
|
|
22604
22622
|
])
|
|
22605
22623
|
])) : V("", !0),
|
|
22606
|
-
p(h) ? (y(), E("div", RP, ee(p(o).loadingText), 1)) : (y(),
|
|
22624
|
+
p(h) ? (y(), E("div", RP, ee(p(o).loadingText), 1)) : (y(), D(p(QE), {
|
|
22607
22625
|
key: 2,
|
|
22608
22626
|
ref_key: "viewport",
|
|
22609
22627
|
ref: c
|
|
22610
22628
|
}, {
|
|
22611
22629
|
default: P(() => [
|
|
22612
|
-
(y(!0), E(xe, null, nt(p(f), (I) => (y(),
|
|
22630
|
+
(y(!0), E(xe, null, nt(p(f), (I) => (y(), D(p(DE), {
|
|
22613
22631
|
key: I.key
|
|
22614
22632
|
}, {
|
|
22615
22633
|
default: P(() => [
|
|
22616
|
-
I.label ? (y(),
|
|
22634
|
+
I.label ? (y(), D(p(WE), {
|
|
22617
22635
|
key: 0,
|
|
22618
22636
|
class: "px-2.5 py-1 text-[length:var(--ui-font-size-sm)] font-semibold text-[var(--ui-text-muted)]"
|
|
22619
22637
|
}, {
|
|
@@ -22622,7 +22640,7 @@ const $P = { key: 0 }, EP = { key: 1 }, PP = { key: 2 }, TP = {
|
|
|
22622
22640
|
]),
|
|
22623
22641
|
_: 2
|
|
22624
22642
|
}, 1024)) : V("", !0),
|
|
22625
|
-
(y(!0), E(xe, null, nt(I.options, (F) => (y(),
|
|
22643
|
+
(y(!0), E(xe, null, nt(I.options, (F) => (y(), D(p(FE), {
|
|
22626
22644
|
key: F.value,
|
|
22627
22645
|
value: F.value,
|
|
22628
22646
|
"text-value": F.label,
|
|
@@ -22723,7 +22741,7 @@ function UP() {
|
|
|
22723
22741
|
function Pm() {
|
|
22724
22742
|
return qe(Em, !1);
|
|
22725
22743
|
}
|
|
22726
|
-
const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip-bg)] px-2.5 py-1.5 text-[12px] leading-4 text-[var(--ui-tooltip-fg)] whitespace-pre-line shadow-[var(--ui-shadow-menu)] [overflow-wrap:anywhere] animate-[ui-fade-in_var(--ui-motion-fast)_var(--ui-motion-ease)]", WP = 300, Im = /* @__PURE__ */
|
|
22744
|
+
const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip-bg)] px-2.5 py-1.5 text-[12px] leading-4 text-[var(--ui-tooltip-fg)] whitespace-pre-line shadow-[var(--ui-shadow-menu)] [overflow-wrap:anywhere] animate-[ui-fade-in_var(--ui-motion-fast)_var(--ui-motion-ease)]", WP = 300, Im = /* @__PURE__ */ N({
|
|
22727
22745
|
__name: "OverflowTooltip",
|
|
22728
22746
|
props: {
|
|
22729
22747
|
target: { default: void 0 },
|
|
@@ -22808,7 +22826,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
22808
22826
|
}, [
|
|
22809
22827
|
R(b.$slots, "default")
|
|
22810
22828
|
], 512)) : V("", !0),
|
|
22811
|
-
r.value ? (y(),
|
|
22829
|
+
r.value ? (y(), D(p(bm), {
|
|
22812
22830
|
key: 1,
|
|
22813
22831
|
"delay-duration": 0
|
|
22814
22832
|
}, {
|
|
@@ -22859,7 +22877,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
22859
22877
|
"data-ui-badge-dot": "",
|
|
22860
22878
|
class: "size-1.5 shrink-0 rounded-full bg-current",
|
|
22861
22879
|
"aria-hidden": "true"
|
|
22862
|
-
}, ZP = /* @__PURE__ */
|
|
22880
|
+
}, ZP = /* @__PURE__ */ N({
|
|
22863
22881
|
__name: "Badge",
|
|
22864
22882
|
props: {
|
|
22865
22883
|
tone: { default: "neutral" }
|
|
@@ -22880,7 +22898,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
22880
22898
|
R(t.$slots, "default")
|
|
22881
22899
|
], 2));
|
|
22882
22900
|
}
|
|
22883
|
-
}), HP = ["data-tone", "data-pulse", "role", "aria-label", "aria-hidden"], GP = /* @__PURE__ */
|
|
22901
|
+
}), HP = ["data-tone", "data-pulse", "role", "aria-label", "aria-hidden"], GP = /* @__PURE__ */ N({
|
|
22884
22902
|
__name: "StatusDot",
|
|
22885
22903
|
props: {
|
|
22886
22904
|
tone: { default: "neutral" },
|
|
@@ -22898,7 +22916,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
22898
22916
|
"data-syno-pkg-land-ui": ""
|
|
22899
22917
|
}, null, 8, HP));
|
|
22900
22918
|
}
|
|
22901
|
-
}), JP = ["aria-label"], YP = { key: 0 }, XP = /* @__PURE__ */
|
|
22919
|
+
}), JP = ["aria-label"], YP = { key: 0 }, XP = /* @__PURE__ */ N({
|
|
22902
22920
|
__name: "LoadingIndicator",
|
|
22903
22921
|
props: {
|
|
22904
22922
|
text: { default: "" },
|
|
@@ -22922,7 +22940,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
22922
22940
|
}), QP = {
|
|
22923
22941
|
class: "flex h-full min-h-12 w-full items-center justify-center",
|
|
22924
22942
|
"data-syno-pkg-land-ui": ""
|
|
22925
|
-
}, eT = /* @__PURE__ */
|
|
22943
|
+
}, eT = /* @__PURE__ */ N({
|
|
22926
22944
|
__name: "LoadingArea",
|
|
22927
22945
|
props: {
|
|
22928
22946
|
text: { default: "" }
|
|
@@ -22938,7 +22956,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
22938
22956
|
}, nT = {
|
|
22939
22957
|
"data-ui-progress-value": "",
|
|
22940
22958
|
class: "tabular-nums"
|
|
22941
|
-
}, oT = ["aria-valuenow", "aria-valuemax", "aria-label", "data-tone"], Rm = /* @__PURE__ */
|
|
22959
|
+
}, oT = ["aria-valuenow", "aria-valuemax", "aria-label", "data-tone"], Rm = /* @__PURE__ */ N({
|
|
22942
22960
|
inheritAttrs: !1,
|
|
22943
22961
|
__name: "Progress",
|
|
22944
22962
|
props: {
|
|
@@ -22981,7 +22999,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
22981
22999
|
], 16, oT)
|
|
22982
23000
|
], 6));
|
|
22983
23001
|
}
|
|
22984
|
-
}), rT = /* @__PURE__ */
|
|
23002
|
+
}), rT = /* @__PURE__ */ N({
|
|
22985
23003
|
__name: "Skeleton",
|
|
22986
23004
|
props: {
|
|
22987
23005
|
width: { default: "100%" },
|
|
@@ -22999,7 +23017,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
22999
23017
|
role: "status",
|
|
23000
23018
|
"aria-busy": "true",
|
|
23001
23019
|
class: "flex flex-col gap-2.5 py-1"
|
|
23002
|
-
}, aT = { class: "sr-only" }, Dm = /* @__PURE__ */
|
|
23020
|
+
}, aT = { class: "sr-only" }, Dm = /* @__PURE__ */ N({
|
|
23003
23021
|
__name: "SectionSkeleton",
|
|
23004
23022
|
props: {
|
|
23005
23023
|
lines: { default: 3 }
|
|
@@ -23008,14 +23026,14 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23008
23026
|
const t = Vn();
|
|
23009
23027
|
return (n, o) => (y(), E("div", iT, [
|
|
23010
23028
|
ne("span", aT, ee(p(t)("Loading…")), 1),
|
|
23011
|
-
(y(!0), E(xe, null, nt(e.lines, (r) => (y(),
|
|
23029
|
+
(y(!0), E(xe, null, nt(e.lines, (r) => (y(), D(rT, {
|
|
23012
23030
|
key: r,
|
|
23013
23031
|
"data-ui-skeleton-line": "",
|
|
23014
23032
|
width: r === e.lines && e.lines > 1 ? "60%" : "100%"
|
|
23015
23033
|
}, null, 8, ["width"]))), 128))
|
|
23016
23034
|
]));
|
|
23017
23035
|
}
|
|
23018
|
-
}), sT = ["data-variant"], Nm = /* @__PURE__ */
|
|
23036
|
+
}), sT = ["data-variant"], Nm = /* @__PURE__ */ N({
|
|
23019
23037
|
__name: "Surface",
|
|
23020
23038
|
props: {
|
|
23021
23039
|
variant: { default: "default" },
|
|
@@ -23040,7 +23058,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23040
23058
|
R(i.$slots, "default")
|
|
23041
23059
|
], 10, sT));
|
|
23042
23060
|
}
|
|
23043
|
-
}), Mm = /* @__PURE__ */
|
|
23061
|
+
}), Mm = /* @__PURE__ */ N({
|
|
23044
23062
|
inheritAttrs: !1,
|
|
23045
23063
|
__name: "Tooltip",
|
|
23046
23064
|
props: {
|
|
@@ -23059,7 +23077,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23059
23077
|
function i(a) {
|
|
23060
23078
|
!t.openOnTap || t.disabled || a.pointerType !== "touch" && a.pointerType !== "pen" || (n.value = !o);
|
|
23061
23079
|
}
|
|
23062
|
-
return (a, s) => (y(),
|
|
23080
|
+
return (a, s) => (y(), D(p(bm), { "delay-duration": e.delay }, {
|
|
23063
23081
|
default: P(() => [
|
|
23064
23082
|
Z(p(_m), {
|
|
23065
23083
|
disabled: e.disabled,
|
|
@@ -23125,7 +23143,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23125
23143
|
}, yT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, bT = {
|
|
23126
23144
|
key: 1,
|
|
23127
23145
|
class: "shrink-0 text-[12px] text-[var(--ui-text-muted)]"
|
|
23128
|
-
}, yi = "flex min-h-7 select-none items-center gap-2 rounded-[var(--ui-radius-sm)] px-2.5 py-1 text-left [@media(pointer:coarse)]:min-h-9 text-[length:var(--ui-font-size)] outline-none data-[highlighted]:bg-[var(--ui-primary-soft)] data-[disabled]:opacity-40", wT = /* @__PURE__ */
|
|
23146
|
+
}, yi = "flex min-h-7 select-none items-center gap-2 rounded-[var(--ui-radius-sm)] px-2.5 py-1 text-left [@media(pointer:coarse)]:min-h-9 text-[length:var(--ui-font-size)] outline-none data-[highlighted]:bg-[var(--ui-primary-soft)] data-[disabled]:opacity-40", wT = /* @__PURE__ */ N({
|
|
23129
23147
|
name: "DropdownMenuItems",
|
|
23130
23148
|
__name: "DropdownMenuItems",
|
|
23131
23149
|
props: {
|
|
@@ -23153,10 +23171,10 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23153
23171
|
return y(!0), E(xe, null, nt(a.value, (u) => (y(), E(xe, {
|
|
23154
23172
|
key: u.key
|
|
23155
23173
|
}, [
|
|
23156
|
-
u.kind === "separator" ? (y(),
|
|
23174
|
+
u.kind === "separator" ? (y(), D(p(L$), {
|
|
23157
23175
|
key: 0,
|
|
23158
23176
|
class: "my-1 h-[var(--ui-hairline)] bg-[var(--ui-border-subtle)]"
|
|
23159
|
-
})) : u.kind === "submenu" ? (y(),
|
|
23177
|
+
})) : u.kind === "submenu" ? (y(), D(p(B$), { key: 1 }, {
|
|
23160
23178
|
default: P(() => [
|
|
23161
23179
|
Z(p(K$), {
|
|
23162
23180
|
disabled: u.item.disabled,
|
|
@@ -23171,11 +23189,11 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23171
23189
|
key: 0,
|
|
23172
23190
|
class: oe(["flex size-4 shrink-0 items-center justify-center", u.item.checked ? "text-[var(--ui-primary)]" : u.item.danger ? "" : "text-[var(--ui-text-secondary)]"])
|
|
23173
23191
|
}, [
|
|
23174
|
-
u.item.checked ? (y(),
|
|
23192
|
+
u.item.checked ? (y(), D(p(Vo), {
|
|
23175
23193
|
key: 0,
|
|
23176
23194
|
class: "size-3.5",
|
|
23177
23195
|
"aria-hidden": "true"
|
|
23178
|
-
})) : u.item.icon ? (y(),
|
|
23196
|
+
})) : u.item.icon ? (y(), D(Tt(u.item.icon), {
|
|
23179
23197
|
key: 1,
|
|
23180
23198
|
class: "size-4",
|
|
23181
23199
|
"aria-hidden": "true"
|
|
@@ -23219,7 +23237,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23219
23237
|
}, 1024)
|
|
23220
23238
|
]),
|
|
23221
23239
|
_: 2
|
|
23222
|
-
}, 1024)) : u.kind === "checkbox" ? (y(),
|
|
23240
|
+
}, 1024)) : u.kind === "checkbox" ? (y(), D(p(C$), {
|
|
23223
23241
|
key: 2,
|
|
23224
23242
|
"model-value": e.checkedKeys.includes(u.item.key),
|
|
23225
23243
|
disabled: u.item.disabled,
|
|
@@ -23247,12 +23265,12 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23247
23265
|
u.item.shortcut ? (y(), E("span", pT, ee(u.item.shortcut), 1)) : V("", !0)
|
|
23248
23266
|
]),
|
|
23249
23267
|
_: 2
|
|
23250
|
-
}, 1032, ["model-value", "disabled", "class", "onUpdate:modelValue", "onSelect"])) : u.kind === "radio" ? (y(),
|
|
23268
|
+
}, 1032, ["model-value", "disabled", "class", "onUpdate:modelValue", "onSelect"])) : u.kind === "radio" ? (y(), D(p(M$), {
|
|
23251
23269
|
key: 3,
|
|
23252
23270
|
"model-value": e.radioValues[u.group]
|
|
23253
23271
|
}, {
|
|
23254
23272
|
default: P(() => [
|
|
23255
|
-
(y(!0), E(xe, null, nt(u.items, (d) => (y(),
|
|
23273
|
+
(y(!0), E(xe, null, nt(u.items, (d) => (y(), D(p(q$), {
|
|
23256
23274
|
key: d.key,
|
|
23257
23275
|
value: d.value,
|
|
23258
23276
|
disabled: d.disabled,
|
|
@@ -23266,7 +23284,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23266
23284
|
ne("span", hT, [
|
|
23267
23285
|
Z(p(Od), null, {
|
|
23268
23286
|
default: P(() => [
|
|
23269
|
-
e.radioIndicator === "check" ? (y(),
|
|
23287
|
+
e.radioIndicator === "check" ? (y(), D(p(Vo), {
|
|
23270
23288
|
key: 0,
|
|
23271
23289
|
class: "size-3.5",
|
|
23272
23290
|
"aria-hidden": "true"
|
|
@@ -23282,7 +23300,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23282
23300
|
}, 1032, ["value", "disabled", "class", "onSelect"]))), 128))
|
|
23283
23301
|
]),
|
|
23284
23302
|
_: 2
|
|
23285
|
-
}, 1032, ["model-value"])) : (y(),
|
|
23303
|
+
}, 1032, ["model-value"])) : (y(), D(p(I$), {
|
|
23286
23304
|
key: 4,
|
|
23287
23305
|
disabled: u.item.disabled,
|
|
23288
23306
|
class: oe([
|
|
@@ -23296,11 +23314,11 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23296
23314
|
key: 0,
|
|
23297
23315
|
class: oe(["flex size-4 shrink-0 items-center justify-center", u.item.checked ? "text-[var(--ui-primary)]" : u.item.danger ? "" : "text-[var(--ui-text-secondary)]"])
|
|
23298
23316
|
}, [
|
|
23299
|
-
u.item.checked ? (y(),
|
|
23317
|
+
u.item.checked ? (y(), D(p(Vo), {
|
|
23300
23318
|
key: 0,
|
|
23301
23319
|
class: "size-3.5",
|
|
23302
23320
|
"aria-hidden": "true"
|
|
23303
|
-
})) : u.item.icon ? (y(),
|
|
23321
|
+
})) : u.item.icon ? (y(), D(Tt(u.item.icon), {
|
|
23304
23322
|
key: 1,
|
|
23305
23323
|
class: "size-4",
|
|
23306
23324
|
"aria-hidden": "true"
|
|
@@ -23308,7 +23326,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23308
23326
|
], 2)) : V("", !0),
|
|
23309
23327
|
ne("span", yT, ee(u.item.label), 1),
|
|
23310
23328
|
u.item.shortcut ? (y(), E("span", bT, ee(u.item.shortcut), 1)) : V("", !0),
|
|
23311
|
-
u.item.submenu ? (y(),
|
|
23329
|
+
u.item.submenu ? (y(), D(p(Ks), {
|
|
23312
23330
|
key: 2,
|
|
23313
23331
|
class: "size-3.5 shrink-0 text-[var(--ui-text-muted)]",
|
|
23314
23332
|
"aria-hidden": "true"
|
|
@@ -23319,7 +23337,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23319
23337
|
], 64))), 128);
|
|
23320
23338
|
};
|
|
23321
23339
|
}
|
|
23322
|
-
}), _T = /* @__PURE__ */
|
|
23340
|
+
}), _T = /* @__PURE__ */ N({
|
|
23323
23341
|
inheritAttrs: !1,
|
|
23324
23342
|
__name: "DropdownMenu",
|
|
23325
23343
|
props: {
|
|
@@ -23345,7 +23363,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23345
23363
|
const g = { ...u.value, [v]: h };
|
|
23346
23364
|
i.value = g, v === "" && o("update:radioValue", h), o("update:radioValues", g), o("radioSelect", h, m, v);
|
|
23347
23365
|
}
|
|
23348
|
-
return (h, m) => (y(),
|
|
23366
|
+
return (h, m) => (y(), D(p($$), {
|
|
23349
23367
|
open: a.value,
|
|
23350
23368
|
"onUpdate:open": m[1] || (m[1] = (v) => a.value = v)
|
|
23351
23369
|
}, {
|
|
@@ -23361,7 +23379,7 @@ const Tm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23361
23379
|
}, 16),
|
|
23362
23380
|
Z(p(mm), null, {
|
|
23363
23381
|
default: P(() => [
|
|
23364
|
-
n.items.length > 0 ? (y(),
|
|
23382
|
+
n.items.length > 0 ? (y(), D(p(P$), ie({ key: 0 }, h.$attrs, {
|
|
23365
23383
|
align: n.align,
|
|
23366
23384
|
"side-offset": 4,
|
|
23367
23385
|
"collision-boundary": p(l),
|
|
@@ -23569,18 +23587,18 @@ function Fm(e) {
|
|
|
23569
23587
|
function MT(e) {
|
|
23570
23588
|
return !!e && e().some(Fm);
|
|
23571
23589
|
}
|
|
23572
|
-
const zT = /* @__PURE__ */
|
|
23590
|
+
const zT = /* @__PURE__ */ N({
|
|
23573
23591
|
__name: "FloatingLayer",
|
|
23574
23592
|
props: {
|
|
23575
23593
|
host: {}
|
|
23576
23594
|
},
|
|
23577
23595
|
setup(e) {
|
|
23578
23596
|
const t = ur(null);
|
|
23579
|
-
return (n, o) => (y(),
|
|
23597
|
+
return (n, o) => (y(), D(Ol, {
|
|
23580
23598
|
to: e.host ?? "body",
|
|
23581
23599
|
disabled: !e.host
|
|
23582
23600
|
}, [
|
|
23583
|
-
e.host ? (y(),
|
|
23601
|
+
e.host ? (y(), D(p(zh), {
|
|
23584
23602
|
key: 0,
|
|
23585
23603
|
"teleport-to": e.host,
|
|
23586
23604
|
dir: p(t)?.dir?.value,
|
|
@@ -23596,7 +23614,7 @@ const zT = /* @__PURE__ */ D({
|
|
|
23596
23614
|
}, 8, ["teleport-to", "dir", "locale", "scroll-body", "nonce", "use-id"])) : R(n.$slots, "default", {}, void 0, void 0, 1)
|
|
23597
23615
|
], 8, ["to", "disabled"]));
|
|
23598
23616
|
}
|
|
23599
|
-
}), qT = /* @__PURE__ */
|
|
23617
|
+
}), qT = /* @__PURE__ */ N({
|
|
23600
23618
|
__name: "ButtonKindScope",
|
|
23601
23619
|
props: {
|
|
23602
23620
|
kind: {}
|
|
@@ -23604,7 +23622,7 @@ const zT = /* @__PURE__ */ D({
|
|
|
23604
23622
|
setup(e) {
|
|
23605
23623
|
return Ik(e.kind), (n, o) => R(n.$slots, "default");
|
|
23606
23624
|
}
|
|
23607
|
-
}), FT = ["data-ui-dialog-header-divider", "data-ui-drag-handle"], LT = { class: "min-w-0" }, VT = ["data-ui-dialog-flush"], BT = 'a[href],button,input,select,textarea,[tabindex]:not([tabindex="-1"])', jT = /* @__PURE__ */
|
|
23625
|
+
}), FT = ["data-ui-dialog-header-divider", "data-ui-drag-handle"], LT = { class: "min-w-0" }, VT = ["data-ui-dialog-flush"], BT = 'a[href],button,input,select,textarea,[tabindex]:not([tabindex="-1"])', jT = /* @__PURE__ */ N({
|
|
23608
23626
|
inheritAttrs: !1,
|
|
23609
23627
|
__name: "Dialog",
|
|
23610
23628
|
props: {
|
|
@@ -23655,12 +23673,12 @@ const zT = /* @__PURE__ */ D({
|
|
|
23655
23673
|
o.open === void 0 && (I.value = W), r("update:open", W);
|
|
23656
23674
|
}
|
|
23657
23675
|
});
|
|
23658
|
-
return (W, X) => (y(),
|
|
23676
|
+
return (W, X) => (y(), D(p(x1), {
|
|
23659
23677
|
open: F.value,
|
|
23660
23678
|
"onUpdate:open": X[6] || (X[6] = (te) => F.value = te)
|
|
23661
23679
|
}, {
|
|
23662
23680
|
default: P(() => [
|
|
23663
|
-
W.$slots.trigger ? (y(),
|
|
23681
|
+
W.$slots.trigger ? (y(), D(p(cA), ie({ key: 0 }, W.$attrs.id ? { "aria-controls": F.value ? W.$attrs.id : void 0 } : {}, { "as-child": "" }), {
|
|
23664
23682
|
default: P(() => [
|
|
23665
23683
|
R(W.$slots, "trigger")
|
|
23666
23684
|
]),
|
|
@@ -23710,7 +23728,7 @@ const zT = /* @__PURE__ */ D({
|
|
|
23710
23728
|
(...te) => p(m) && p(m)(...te))
|
|
23711
23729
|
}, [
|
|
23712
23730
|
ne("div", LT, [
|
|
23713
|
-
p(o).title ? (y(),
|
|
23731
|
+
p(o).title ? (y(), D(p(lA), ie({
|
|
23714
23732
|
key: 0,
|
|
23715
23733
|
class: "text-[length:var(--ui-font-size)] leading-5 font-bold text-[var(--ui-text)] [overflow-wrap:anywhere] outline-none focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]"
|
|
23716
23734
|
}, p(h) ? { tabindex: 0, "aria-keyshortcuts": "ArrowUp ArrowDown ArrowLeft ArrowRight", "data-ui-keyboard-focus": "" } : {}, {
|
|
@@ -23722,7 +23740,7 @@ const zT = /* @__PURE__ */ D({
|
|
|
23722
23740
|
]),
|
|
23723
23741
|
_: 1
|
|
23724
23742
|
}, 16, ["onKeydown"])) : V("", !0),
|
|
23725
|
-
p(o).description ? (y(),
|
|
23743
|
+
p(o).description ? (y(), D(p(Q1), {
|
|
23726
23744
|
key: 1,
|
|
23727
23745
|
class: "mt-0.5 whitespace-pre-line text-[12px] text-[var(--ui-text-secondary)]"
|
|
23728
23746
|
}, {
|
|
@@ -23732,7 +23750,7 @@ const zT = /* @__PURE__ */ D({
|
|
|
23732
23750
|
_: 1
|
|
23733
23751
|
})) : V("", !0)
|
|
23734
23752
|
]),
|
|
23735
|
-
p(o).showClose ? (y(),
|
|
23753
|
+
p(o).showClose ? (y(), D(p(C1), {
|
|
23736
23754
|
key: 0,
|
|
23737
23755
|
"data-dialog-close": "",
|
|
23738
23756
|
class: "-my-1 flex size-7 shrink-0 items-center justify-center rounded-[var(--ui-radius-sm)] text-[var(--ui-text-muted)] outline-none hover:bg-[var(--ui-surface-hover)] hover:text-[var(--ui-text)] focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]",
|
|
@@ -23834,7 +23852,7 @@ const KT = /* @__PURE__ */ en(/* @__PURE__ */ new Map());
|
|
|
23834
23852
|
function ZT(e) {
|
|
23835
23853
|
return KT.get(e);
|
|
23836
23854
|
}
|
|
23837
|
-
const HT = ["disabled", "aria-label", "value", "placeholder"], GT = ["disabled", "aria-label"], JT = /* @__PURE__ */
|
|
23855
|
+
const HT = ["disabled", "aria-label", "value", "placeholder"], GT = ["disabled", "aria-label"], JT = /* @__PURE__ */ N({
|
|
23838
23856
|
inheritAttrs: !1,
|
|
23839
23857
|
__name: "SearchField",
|
|
23840
23858
|
props: {
|
|
@@ -23851,11 +23869,11 @@ const HT = ["disabled", "aria-label", "value", "placeholder"], GT = ["disabled",
|
|
|
23851
23869
|
class: "relative block min-w-0",
|
|
23852
23870
|
"data-syno-pkg-land-ui": ""
|
|
23853
23871
|
}), [
|
|
23854
|
-
p(o).variant === "filter" ? (y(),
|
|
23872
|
+
p(o).variant === "filter" ? (y(), D(p(sC), {
|
|
23855
23873
|
key: 0,
|
|
23856
23874
|
class: "pointer-events-none absolute top-1/2 left-2.5 size-4 -translate-y-1/2 text-[var(--ui-text)]",
|
|
23857
23875
|
"aria-hidden": "true"
|
|
23858
|
-
})) : (y(),
|
|
23876
|
+
})) : (y(), D(p(bC), {
|
|
23859
23877
|
key: 1,
|
|
23860
23878
|
class: "pointer-events-none absolute top-1/2 left-2.5 size-4 -translate-y-1/2 text-[var(--ui-text-muted)]",
|
|
23861
23879
|
"aria-hidden": "true"
|
|
@@ -23914,7 +23932,7 @@ const XT = ["data-direction"], QT = {
|
|
|
23914
23932
|
}, eI = { class: "min-w-0" }, tI = {
|
|
23915
23933
|
key: 0,
|
|
23916
23934
|
class: "mt-1 text-[12px] leading-4 text-[var(--ui-text-secondary)]"
|
|
23917
|
-
}, nI = /* @__PURE__ */
|
|
23935
|
+
}, nI = /* @__PURE__ */ N({
|
|
23918
23936
|
__name: "SettingsRow",
|
|
23919
23937
|
props: {
|
|
23920
23938
|
label: {},
|
|
@@ -23987,7 +24005,7 @@ const oI = ["data-collapsible", "aria-busy"], rI = {
|
|
|
23987
24005
|
key: 3,
|
|
23988
24006
|
"data-ui-settings-footer": "",
|
|
23989
24007
|
class: "mt-4 flex flex-wrap items-center gap-2"
|
|
23990
|
-
}, hI = /* @__PURE__ */
|
|
24008
|
+
}, hI = /* @__PURE__ */ N({
|
|
23991
24009
|
__name: "SettingsSection",
|
|
23992
24010
|
props: {
|
|
23993
24011
|
title: {},
|
|
@@ -24051,7 +24069,7 @@ const oI = ["data-collapsible", "aria-busy"], rI = {
|
|
|
24051
24069
|
Ne(ee(e.description), 1)
|
|
24052
24070
|
])
|
|
24053
24071
|
])) : V("", !0),
|
|
24054
|
-
e.loading ? (y(),
|
|
24072
|
+
e.loading ? (y(), D(Dm, { key: 1 })) : R(u.$slots, "default", {}, void 0, void 0, 2),
|
|
24055
24073
|
u.$slots.footer && !e.loading ? (y(), E("div", pI, [
|
|
24056
24074
|
R(u.$slots, "footer")
|
|
24057
24075
|
])) : V("", !0)
|
|
@@ -24076,7 +24094,7 @@ const oI = ["data-collapsible", "aria-busy"], rI = {
|
|
|
24076
24094
|
key: 0,
|
|
24077
24095
|
"data-ui-callout-actions": "",
|
|
24078
24096
|
class: "ui-callout-actions"
|
|
24079
|
-
}, kI = ["aria-label"], CI = /* @__PURE__ */
|
|
24097
|
+
}, kI = ["aria-label"], CI = /* @__PURE__ */ N({
|
|
24080
24098
|
__name: "Callout",
|
|
24081
24099
|
props: /* @__PURE__ */ Mu({
|
|
24082
24100
|
tone: { default: "info" },
|
|
@@ -24102,7 +24120,7 @@ const oI = ["data-collapsible", "aria-busy"], rI = {
|
|
|
24102
24120
|
"data-fill": e.fill || void 0,
|
|
24103
24121
|
"data-syno-pkg-land-ui": ""
|
|
24104
24122
|
}, [
|
|
24105
|
-
(y(),
|
|
24123
|
+
(y(), D(Tt(a.value), {
|
|
24106
24124
|
class: "ui-callout-icon",
|
|
24107
24125
|
"aria-hidden": "true"
|
|
24108
24126
|
})),
|
|
@@ -24169,7 +24187,7 @@ const oI = ["data-collapsible", "aria-busy"], rI = {
|
|
|
24169
24187
|
}, PI = {
|
|
24170
24188
|
key: 2,
|
|
24171
24189
|
class: "mt-4 flex items-center gap-2"
|
|
24172
|
-
}, TI = /* @__PURE__ */
|
|
24190
|
+
}, TI = /* @__PURE__ */ N({
|
|
24173
24191
|
__name: "EmptyState",
|
|
24174
24192
|
props: {
|
|
24175
24193
|
title: {},
|
|
@@ -24179,7 +24197,7 @@ const oI = ["data-collapsible", "aria-busy"], rI = {
|
|
|
24179
24197
|
setup(e) {
|
|
24180
24198
|
return (t, n) => (y(), E("div", AI, [
|
|
24181
24199
|
e.icon ? (y(), E("div", OI, [
|
|
24182
|
-
(y(),
|
|
24200
|
+
(y(), D(Tt(e.icon), {
|
|
24183
24201
|
class: "size-6",
|
|
24184
24202
|
"aria-hidden": "true"
|
|
24185
24203
|
}))
|
|
@@ -24214,7 +24232,7 @@ function DI(e, t = () => "x") {
|
|
|
24214
24232
|
e.value?.removeEventListener("scroll", s), a?.disconnect();
|
|
24215
24233
|
}), { start: n, end: o, top: r, bottom: i };
|
|
24216
24234
|
}
|
|
24217
|
-
const NI = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-top", "data-edge-bottom"], MI = /* @__PURE__ */
|
|
24235
|
+
const NI = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-top", "data-edge-bottom"], MI = /* @__PURE__ */ N({
|
|
24218
24236
|
__name: "ScrollEdges",
|
|
24219
24237
|
props: {
|
|
24220
24238
|
viewportClass: { default: void 0 },
|
|
@@ -24258,7 +24276,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24258
24276
|
"data-ui-mobile-cards": "",
|
|
24259
24277
|
class: "grid gap-3",
|
|
24260
24278
|
role: "list"
|
|
24261
|
-
}, BI = { class: "m-0 grid gap-2" }, jI = { class: "flex min-h-[var(--ui-control-md)] items-center break-words text-[12px] leading-5 text-[var(--ui-text-secondary)]" }, UI = { 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)]" }, WI = { key: 0 }, KI = { class: "bg-[var(--ui-surface-subtle)] text-[var(--ui-text-secondary)]" }, ZI = ["data-column-type"], HI = { key: 0 }, GI = ["colspan"], JI = ["data-column-type"], Dd = /* @__PURE__ */
|
|
24279
|
+
}, BI = { class: "m-0 grid gap-2" }, jI = { class: "flex min-h-[var(--ui-control-md)] items-center break-words text-[12px] leading-5 text-[var(--ui-text-secondary)]" }, UI = { 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)]" }, WI = { key: 0 }, KI = { class: "bg-[var(--ui-surface-subtle)] text-[var(--ui-text-secondary)]" }, ZI = ["data-column-type"], HI = { key: 0 }, GI = ["colspan"], JI = ["data-column-type"], Dd = /* @__PURE__ */ N({
|
|
24262
24280
|
__name: "DataTable",
|
|
24263
24281
|
props: {
|
|
24264
24282
|
columns: {},
|
|
@@ -24308,7 +24326,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24308
24326
|
]))), 128))
|
|
24309
24327
|
])
|
|
24310
24328
|
]))), 128))
|
|
24311
|
-
])) : (y(),
|
|
24329
|
+
])) : (y(), D(MI, {
|
|
24312
24330
|
key: 2,
|
|
24313
24331
|
"viewport-class": "overflow-auto border-y border-[var(--ui-border)]"
|
|
24314
24332
|
}, {
|
|
@@ -24381,7 +24399,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24381
24399
|
}))
|
|
24382
24400
|
], 8, FI));
|
|
24383
24401
|
}
|
|
24384
|
-
}), YI = ["data-layout", "data-wrap"], XI = ["data-ui-tooltip-hint", "disabled"], QI = /* @__PURE__ */
|
|
24402
|
+
}), YI = ["data-layout", "data-wrap"], XI = ["data-ui-tooltip-hint", "disabled"], QI = /* @__PURE__ */ N({
|
|
24385
24403
|
__name: "CellText",
|
|
24386
24404
|
props: {
|
|
24387
24405
|
text: {},
|
|
@@ -24403,7 +24421,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24403
24421
|
"data-wrap": e.wrap ? "" : void 0,
|
|
24404
24422
|
"data-syno-pkg-land-ui": ""
|
|
24405
24423
|
}, [
|
|
24406
|
-
e.icon ? (y(),
|
|
24424
|
+
e.icon ? (y(), D(Tt(e.icon), {
|
|
24407
24425
|
key: 0,
|
|
24408
24426
|
class: oe(["size-4 shrink-0 text-[var(--ui-text-secondary)]", e.wrap && "mt-0.5"]),
|
|
24409
24427
|
"aria-hidden": "true"
|
|
@@ -24450,7 +24468,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24450
24468
|
])
|
|
24451
24469
|
], 2)) : V("", !0)
|
|
24452
24470
|
], 2),
|
|
24453
|
-
n ? (y(),
|
|
24471
|
+
n ? (y(), D(Im, {
|
|
24454
24472
|
key: 1,
|
|
24455
24473
|
target: o.value
|
|
24456
24474
|
}, null, 8, ["target"])) : V("", !0)
|
|
@@ -24471,7 +24489,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24471
24489
|
key: 1,
|
|
24472
24490
|
"data-ui-cell-secondary": "",
|
|
24473
24491
|
class: "min-w-0 text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-text-secondary)] tabular-nums [overflow-wrap:anywhere]"
|
|
24474
|
-
}, rR = /* @__PURE__ */
|
|
24492
|
+
}, rR = /* @__PURE__ */ N({
|
|
24475
24493
|
__name: "CellStatus",
|
|
24476
24494
|
props: {
|
|
24477
24495
|
label: {},
|
|
@@ -24492,7 +24510,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24492
24510
|
}, [
|
|
24493
24511
|
ne("span", eR, [
|
|
24494
24512
|
Z(GP, { tone: e.tone }, null, 8, ["tone"]),
|
|
24495
|
-
e.description ? (y(),
|
|
24513
|
+
e.description ? (y(), D(Mm, {
|
|
24496
24514
|
key: 0,
|
|
24497
24515
|
content: e.description
|
|
24498
24516
|
}, {
|
|
@@ -24502,7 +24520,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24502
24520
|
_: 1
|
|
24503
24521
|
}, 8, ["content"])) : (y(), E("span", nR, ee(e.label), 1))
|
|
24504
24522
|
]),
|
|
24505
|
-
r.value ? (y(),
|
|
24523
|
+
r.value ? (y(), D(Rm, {
|
|
24506
24524
|
key: 0,
|
|
24507
24525
|
value: e.progress,
|
|
24508
24526
|
"aria-label": e.label,
|
|
@@ -24514,7 +24532,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24514
24532
|
Ne(ee(e.detail), 1)
|
|
24515
24533
|
])
|
|
24516
24534
|
])) : V("", !0),
|
|
24517
|
-
n ? (y(),
|
|
24535
|
+
n ? (y(), D(Im, {
|
|
24518
24536
|
key: 2,
|
|
24519
24537
|
target: o.value
|
|
24520
24538
|
}, null, 8, ["target"])) : V("", !0)
|
|
@@ -24546,7 +24564,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24546
24564
|
key: 0,
|
|
24547
24565
|
"data-ui-list-item-actions": "",
|
|
24548
24566
|
class: "flex shrink-0 flex-wrap items-center gap-[var(--ui-space-2)]"
|
|
24549
|
-
}, mR = /* @__PURE__ */
|
|
24567
|
+
}, mR = /* @__PURE__ */ N({
|
|
24550
24568
|
__name: "ListItem",
|
|
24551
24569
|
props: {
|
|
24552
24570
|
title: {},
|
|
@@ -24587,7 +24605,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24587
24605
|
}), vR = ["id"], gR = {
|
|
24588
24606
|
key: 1,
|
|
24589
24607
|
class: "ml-auto flex shrink-0 items-center gap-1.5"
|
|
24590
|
-
}, yR = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], bR = ["id", "role", "aria-labelledby"], wR = /* @__PURE__ */
|
|
24608
|
+
}, yR = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], bR = ["id", "role", "aria-labelledby"], wR = /* @__PURE__ */ N({
|
|
24591
24609
|
__name: "Card",
|
|
24592
24610
|
props: {
|
|
24593
24611
|
title: {},
|
|
@@ -24617,7 +24635,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24617
24635
|
f.value ? "px-4 py-3" : "px-[var(--ui-card-padding,20px)] py-[calc(var(--ui-card-padding,20px)*0.8)]"
|
|
24618
24636
|
)
|
|
24619
24637
|
);
|
|
24620
|
-
return (g, w) => (y(),
|
|
24638
|
+
return (g, w) => (y(), D(Nm, {
|
|
24621
24639
|
padding: "none",
|
|
24622
24640
|
class: "flex flex-col overflow-hidden",
|
|
24623
24641
|
"data-layout": e.layoutType,
|
|
@@ -24664,7 +24682,7 @@ const qI = "-ml-1 flex items-center justify-start gap-1", FI = ["data-ui-data-vi
|
|
|
24664
24682
|
role: e.expandable ? "region" : void 0,
|
|
24665
24683
|
"aria-labelledby": e.expandable && d.value ? p(s) : void 0
|
|
24666
24684
|
}, [
|
|
24667
|
-
e.loading ? (y(),
|
|
24685
|
+
e.loading ? (y(), D(Dm, { key: 0 })) : R(g.$slots, "body", {}, () => [
|
|
24668
24686
|
R(g.$slots, "default")
|
|
24669
24687
|
], void 0, 1)
|
|
24670
24688
|
], 10, bR), [
|
|
@@ -24742,7 +24760,7 @@ function RR(e, t = {}) {
|
|
|
24742
24760
|
["--ui-accent-contrast", r]
|
|
24743
24761
|
]);
|
|
24744
24762
|
}
|
|
24745
|
-
const DR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "data-ui-color-scheme", "tabindex"], NR = /* @__PURE__ */
|
|
24763
|
+
const DR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "data-ui-color-scheme", "tabindex"], NR = /* @__PURE__ */ N({
|
|
24746
24764
|
__name: "AppRoot",
|
|
24747
24765
|
props: {
|
|
24748
24766
|
modalScope: { default: "app" },
|
|
@@ -24804,7 +24822,7 @@ const DR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
|
|
|
24804
24822
|
}, 8, ["teleport-to"])
|
|
24805
24823
|
], 12, DR));
|
|
24806
24824
|
}
|
|
24807
|
-
}), MR = ["src"], ws = /* @__PURE__ */
|
|
24825
|
+
}), MR = ["src"], ws = /* @__PURE__ */ N({
|
|
24808
24826
|
__name: "AppBrand",
|
|
24809
24827
|
props: {
|
|
24810
24828
|
name: {},
|
|
@@ -24815,7 +24833,7 @@ const DR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
|
|
|
24815
24833
|
emits: ["activate"],
|
|
24816
24834
|
setup(e, { emit: t }) {
|
|
24817
24835
|
const n = t, o = Vn(), r = (i, { slots: a }) => a.default?.();
|
|
24818
|
-
return (i, a) => (y(),
|
|
24836
|
+
return (i, a) => (y(), D(Tt(e.interactive ? "button" : r), lt(ft(e.interactive ? {
|
|
24819
24837
|
type: "button",
|
|
24820
24838
|
"data-ui-brand-action": "",
|
|
24821
24839
|
"aria-label": p(o)("Go to home"),
|
|
@@ -24875,7 +24893,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
24875
24893
|
}, XR = ["aria-label", "aria-expanded", "aria-controls"], QR = {
|
|
24876
24894
|
key: 0,
|
|
24877
24895
|
"data-ui-sidebar-brand": ""
|
|
24878
|
-
}, eD = { key: 1 }, Md = 16, tD = /* @__PURE__ */
|
|
24896
|
+
}, eD = { key: 1 }, Md = 16, tD = /* @__PURE__ */ N({
|
|
24879
24897
|
__name: "AppLayout",
|
|
24880
24898
|
props: {
|
|
24881
24899
|
sidebarWidth: { default: void 0 },
|
|
@@ -24953,16 +24971,16 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
24953
24971
|
function je(ve) {
|
|
24954
24972
|
!m.value || !v.value || ve.target instanceof Element && ve.target.closest("[data-nav-item],a[href]") && ye();
|
|
24955
24973
|
}
|
|
24956
|
-
function
|
|
24974
|
+
function pt(ve) {
|
|
24957
24975
|
if (!(!m.value || !v.value)) {
|
|
24958
24976
|
if (ve.key === "Escape")
|
|
24959
24977
|
ve.preventDefault(), ye(!0);
|
|
24960
24978
|
else if (ve.key === "Tab" && u.value) {
|
|
24961
24979
|
const rt = Array.from(u.value.querySelectorAll(
|
|
24962
24980
|
'button:not([disabled]),a[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])'
|
|
24963
|
-
)),
|
|
24964
|
-
if (!
|
|
24965
|
-
ve.shiftKey && document.activeElement ===
|
|
24981
|
+
)), ht = rt[0], Ye = rt[rt.length - 1];
|
|
24982
|
+
if (!ht || !Ye) return;
|
|
24983
|
+
ve.shiftKey && document.activeElement === ht ? (ve.preventDefault(), Ye.focus()) : !ve.shiftKey && document.activeElement === Ye && (ve.preventDefault(), ht.focus());
|
|
24966
24984
|
}
|
|
24967
24985
|
}
|
|
24968
24986
|
}
|
|
@@ -24982,13 +25000,13 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
24982
25000
|
"data-ui-sidebar-collapsed": k.value ? "true" : void 0,
|
|
24983
25001
|
"data-ui-sidebar-resizing": K.value ? "true" : void 0,
|
|
24984
25002
|
"data-syno-pkg-land-ui": "",
|
|
24985
|
-
onKeydown:
|
|
25003
|
+
onKeydown: pt
|
|
24986
25004
|
}, [
|
|
24987
25005
|
m.value && v.value && ve.$slots.sidebar ? (y(), E("div", {
|
|
24988
25006
|
key: 0,
|
|
24989
25007
|
"data-ui-mobile-backdrop": "",
|
|
24990
25008
|
"aria-hidden": "true",
|
|
24991
|
-
onClick: rt[0] || (rt[0] = (
|
|
25009
|
+
onClick: rt[0] || (rt[0] = (ht) => ye())
|
|
24992
25010
|
})) : V("", !0),
|
|
24993
25011
|
ve.$slots.sidebar ? (y(), E("aside", {
|
|
24994
25012
|
key: 1,
|
|
@@ -25019,7 +25037,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25019
25037
|
"data-ui-close-navigation": "",
|
|
25020
25038
|
type: "button",
|
|
25021
25039
|
"aria-label": p(l)("Close"),
|
|
25022
|
-
onClick: rt[1] || (rt[1] = (
|
|
25040
|
+
onClick: rt[1] || (rt[1] = (ht) => ye(!0))
|
|
25023
25041
|
}, [
|
|
25024
25042
|
Z(p(ka), {
|
|
25025
25043
|
size: 20,
|
|
@@ -25053,7 +25071,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25053
25071
|
"aria-controls": p(g),
|
|
25054
25072
|
onClick: te
|
|
25055
25073
|
}, [
|
|
25056
|
-
(y(),
|
|
25074
|
+
(y(), D(Tt(k.value ? p(gC) : p(mC)), {
|
|
25057
25075
|
size: 18,
|
|
25058
25076
|
"aria-hidden": "true"
|
|
25059
25077
|
}))
|
|
@@ -25116,7 +25134,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25116
25134
|
], 8, JR)
|
|
25117
25135
|
], 46, FR));
|
|
25118
25136
|
}
|
|
25119
|
-
}), nD = /* @__PURE__ */
|
|
25137
|
+
}), nD = /* @__PURE__ */ N({
|
|
25120
25138
|
__name: "ResponsiveView",
|
|
25121
25139
|
props: {
|
|
25122
25140
|
mode: { default: "auto" }
|
|
@@ -25128,14 +25146,14 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25128
25146
|
});
|
|
25129
25147
|
return (i, a) => R(i.$slots, r.value);
|
|
25130
25148
|
}
|
|
25131
|
-
}), oD = /* @__PURE__ */
|
|
25149
|
+
}), oD = /* @__PURE__ */ N({
|
|
25132
25150
|
__name: "AppSidebarTip",
|
|
25133
25151
|
props: {
|
|
25134
25152
|
label: {},
|
|
25135
25153
|
enabled: { type: Boolean }
|
|
25136
25154
|
},
|
|
25137
25155
|
setup(e) {
|
|
25138
|
-
return (t, n) => e.enabled ? (y(),
|
|
25156
|
+
return (t, n) => e.enabled ? (y(), D(Mm, {
|
|
25139
25157
|
key: 0,
|
|
25140
25158
|
content: e.label,
|
|
25141
25159
|
side: "right"
|
|
@@ -25159,7 +25177,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25159
25177
|
key: 2,
|
|
25160
25178
|
"data-nav-badge": "",
|
|
25161
25179
|
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)]"
|
|
25162
|
-
}, uD = ["aria-label"], zd = "min-w-0 flex-1 [overflow-wrap:anywhere] [text-wrap:pretty]", cD = /* @__PURE__ */
|
|
25180
|
+
}, uD = ["aria-label"], zd = "min-w-0 flex-1 [overflow-wrap:anywhere] [text-wrap:pretty]", cD = /* @__PURE__ */ N({
|
|
25163
25181
|
name: "AppSidebarItems",
|
|
25164
25182
|
__name: "AppSidebarItems",
|
|
25165
25183
|
props: {
|
|
@@ -25181,7 +25199,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25181
25199
|
return y(!0), E(xe, null, nt(e.items, (m) => (y(), E(xe, {
|
|
25182
25200
|
key: m.key
|
|
25183
25201
|
}, [
|
|
25184
|
-
a(m) ? V("", !0) : (y(),
|
|
25202
|
+
a(m) ? V("", !0) : (y(), D(oD, {
|
|
25185
25203
|
key: 0,
|
|
25186
25204
|
label: m.label,
|
|
25187
25205
|
enabled: !!n.collapsed
|
|
@@ -25207,7 +25225,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25207
25225
|
class: oe(["size-3.5 shrink-0 text-[var(--ui-text-muted)] transition-transform", r(m) && "rotate-90"]),
|
|
25208
25226
|
"aria-hidden": "true"
|
|
25209
25227
|
}, null, 8, ["class"]),
|
|
25210
|
-
m.icon ? (y(),
|
|
25228
|
+
m.icon ? (y(), D(Tt(m.icon), {
|
|
25211
25229
|
key: 0,
|
|
25212
25230
|
class: "size-[var(--ui-icon-size,22px)] shrink-0",
|
|
25213
25231
|
"aria-hidden": "true"
|
|
@@ -25228,7 +25246,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25228
25246
|
onClick: (v) => o("select", m)
|
|
25229
25247
|
}, [
|
|
25230
25248
|
c.value ? (y(), E("span", sD)) : V("", !0),
|
|
25231
|
-
m.icon ? (y(),
|
|
25249
|
+
m.icon ? (y(), D(Tt(m.icon), {
|
|
25232
25250
|
key: 1,
|
|
25233
25251
|
class: "size-[var(--ui-icon-size,22px)] shrink-0",
|
|
25234
25252
|
"aria-hidden": "true"
|
|
@@ -25262,7 +25280,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25262
25280
|
], 64))), 128);
|
|
25263
25281
|
};
|
|
25264
25282
|
}
|
|
25265
|
-
}), dD = ["data-ui-top-nav-more", "data-ui-selected", "data-nav-toggle", "data-nav-item", "data-nav-contains-current", "disabled", "aria-current"], fD = { "data-nav-label": "" }, pD = ["disabled", "aria-current", "onClick"], hD = { "data-nav-label": "" }, qd = "size-[var(--ui-icon-size,18px)] shrink-0", Fd = "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)]", Ld = /* @__PURE__ */
|
|
25283
|
+
}), dD = ["data-ui-top-nav-more", "data-ui-selected", "data-nav-toggle", "data-nav-item", "data-nav-contains-current", "disabled", "aria-current"], fD = { "data-nav-label": "" }, pD = ["disabled", "aria-current", "onClick"], hD = { "data-nav-label": "" }, qd = "size-[var(--ui-icon-size,18px)] shrink-0", Fd = "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)]", Ld = /* @__PURE__ */ N({
|
|
25266
25284
|
__name: "AppTopNavItems",
|
|
25267
25285
|
props: {
|
|
25268
25286
|
items: {},
|
|
@@ -25300,7 +25318,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25300
25318
|
return (c, u) => (y(!0), E(xe, null, nt(n.items, (d) => (y(), E(xe, {
|
|
25301
25319
|
key: d.key
|
|
25302
25320
|
}, [
|
|
25303
|
-
d.children?.length || n.overflow ? (y(),
|
|
25321
|
+
d.children?.length || n.overflow ? (y(), D(_T, {
|
|
25304
25322
|
key: 0,
|
|
25305
25323
|
items: i(d),
|
|
25306
25324
|
"data-ui-top-nav-overflow-menu": n.overflow ? "" : void 0,
|
|
@@ -25319,7 +25337,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25319
25337
|
"aria-current": !n.overflow && d.selectable && n.modelValue === d.key ? "page" : void 0,
|
|
25320
25338
|
class: oe(l(!n.overflow && n.modelValue === d.key || r(d, n.modelValue)))
|
|
25321
25339
|
}, [
|
|
25322
|
-
d.icon ? (y(),
|
|
25340
|
+
d.icon ? (y(), D(Tt(d.icon), {
|
|
25323
25341
|
key: 0,
|
|
25324
25342
|
class: oe(qd),
|
|
25325
25343
|
"aria-hidden": "true"
|
|
@@ -25347,7 +25365,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25347
25365
|
class: oe(l(n.modelValue === d.key)),
|
|
25348
25366
|
onClick: (f) => o("select", d)
|
|
25349
25367
|
}, [
|
|
25350
|
-
d.icon ? (y(),
|
|
25368
|
+
d.icon ? (y(), D(Tt(d.icon), {
|
|
25351
25369
|
key: 0,
|
|
25352
25370
|
class: oe(qd),
|
|
25353
25371
|
"aria-hidden": "true"
|
|
@@ -25361,7 +25379,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25361
25379
|
], 10, pD))
|
|
25362
25380
|
], 64))), 128));
|
|
25363
25381
|
}
|
|
25364
|
-
}), mD = ["aria-label"], vD = ["aria-label", "aria-hidden", "inert"], gD = ["data-ui-overflowed", "aria-hidden", "inert"], yD = ["aria-hidden", "inert"], bD = /* @__PURE__ */
|
|
25382
|
+
}), mD = ["aria-label"], vD = ["aria-label", "aria-hidden", "inert"], gD = ["data-ui-overflowed", "aria-hidden", "inert"], yD = ["aria-hidden", "inert"], bD = /* @__PURE__ */ N({
|
|
25365
25383
|
__name: "AppTopNav",
|
|
25366
25384
|
props: {
|
|
25367
25385
|
groups: {},
|
|
@@ -25440,7 +25458,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25440
25458
|
"aria-hidden": T >= l.value || void 0,
|
|
25441
25459
|
inert: T >= l.value
|
|
25442
25460
|
}, [
|
|
25443
|
-
(y(),
|
|
25461
|
+
(y(), D(Ld, {
|
|
25444
25462
|
key: String(T >= l.value),
|
|
25445
25463
|
items: [x],
|
|
25446
25464
|
"model-value": n.modelValue,
|
|
@@ -25457,7 +25475,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25457
25475
|
"aria-hidden": !u.value.length || void 0,
|
|
25458
25476
|
inert: !u.value.length
|
|
25459
25477
|
}, [
|
|
25460
|
-
(y(),
|
|
25478
|
+
(y(), D(Ld, {
|
|
25461
25479
|
key: String(!!u.value.length),
|
|
25462
25480
|
items: [d.value],
|
|
25463
25481
|
"model-value": n.modelValue,
|
|
@@ -25471,7 +25489,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25471
25489
|
key: 1,
|
|
25472
25490
|
"data-nav-group-label": "",
|
|
25473
25491
|
class: "flex h-6 items-center px-[11px] text-[12px] font-bold text-[var(--ui-text-secondary)]"
|
|
25474
|
-
}, xD = /* @__PURE__ */
|
|
25492
|
+
}, xD = /* @__PURE__ */ N({
|
|
25475
25493
|
__name: "AppSidebar",
|
|
25476
25494
|
props: {
|
|
25477
25495
|
modelValue: {},
|
|
@@ -25530,7 +25548,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25530
25548
|
function C(b) {
|
|
25531
25549
|
b.disabled || (r("update:modelValue", b.key), r("select", b), w(b.key));
|
|
25532
25550
|
}
|
|
25533
|
-
return (b, k) => p(a) ? (y(),
|
|
25551
|
+
return (b, k) => p(a) ? (y(), D(bD, {
|
|
25534
25552
|
key: 0,
|
|
25535
25553
|
groups: p(o).groups,
|
|
25536
25554
|
"model-value": p(o).modelValue,
|
|
@@ -25543,7 +25561,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25543
25561
|
"data-ui-sidebar-collapsed": p(i) ? "true" : void 0,
|
|
25544
25562
|
"data-syno-pkg-land-ui": ""
|
|
25545
25563
|
}, [
|
|
25546
|
-
p(o).searchable && !p(i) ? (y(),
|
|
25564
|
+
p(o).searchable && !p(i) ? (y(), D(JT, {
|
|
25547
25565
|
key: 0,
|
|
25548
25566
|
modelValue: s.value,
|
|
25549
25567
|
"onUpdate:modelValue": k[0] || (k[0] = (A) => s.value = A),
|
|
@@ -25570,7 +25588,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25570
25588
|
}, null, 8, ["class"]),
|
|
25571
25589
|
Ne(" " + ee(A.label), 1)
|
|
25572
25590
|
], 8, _D)) : A.label && !p(i) ? (y(), E("div", SD, ee(A.label), 1)) : V("", !0),
|
|
25573
|
-
h(x) ? (y(),
|
|
25591
|
+
h(x) ? (y(), D(cD, {
|
|
25574
25592
|
key: 2,
|
|
25575
25593
|
items: T,
|
|
25576
25594
|
"model-value": p(o).modelValue,
|
|
@@ -25590,7 +25608,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25590
25608
|
}, CD = { class: "min-w-0 flex-1" }, AD = {
|
|
25591
25609
|
key: 1,
|
|
25592
25610
|
class: "ml-auto flex shrink-0 items-center gap-2"
|
|
25593
|
-
}, OD = /* @__PURE__ */
|
|
25611
|
+
}, OD = /* @__PURE__ */ N({
|
|
25594
25612
|
__name: "AppToolbar",
|
|
25595
25613
|
props: {
|
|
25596
25614
|
height: { default: "var(--ui-toolbar-height)" }
|
|
@@ -25624,7 +25642,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25624
25642
|
key: 0,
|
|
25625
25643
|
"data-ui-page-header-actions": "",
|
|
25626
25644
|
class: "ml-auto flex max-w-full shrink-0 flex-wrap items-center justify-end gap-2 [&>*]:w-auto [&>*]:shrink-0"
|
|
25627
|
-
}, DD = /* @__PURE__ */
|
|
25645
|
+
}, DD = /* @__PURE__ */ N({
|
|
25628
25646
|
__name: "PageHeader",
|
|
25629
25647
|
props: {
|
|
25630
25648
|
title: {},
|
|
@@ -25654,7 +25672,7 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25654
25672
|
])) : V("", !0)
|
|
25655
25673
|
], 2));
|
|
25656
25674
|
}
|
|
25657
|
-
}), ND = ["data-width", "data-height", "data-page-surface"], MD = /* @__PURE__ */
|
|
25675
|
+
}), ND = ["data-width", "data-height", "data-page-surface"], MD = /* @__PURE__ */ N({
|
|
25658
25676
|
__name: "PageContent",
|
|
25659
25677
|
props: {
|
|
25660
25678
|
width: { default: "fill" },
|
|
@@ -25685,7 +25703,11 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25685
25703
|
], 6)
|
|
25686
25704
|
], 10, ND));
|
|
25687
25705
|
}
|
|
25688
|
-
}), zD = ["aria-label", "data-overflow-start", "data-overflow-end"], qD = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], FD =
|
|
25706
|
+
}), zD = ["aria-label", "data-overflow-start", "data-overflow-end"], qD = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], FD = {
|
|
25707
|
+
key: 0,
|
|
25708
|
+
class: "ui-section-tabs-actions",
|
|
25709
|
+
"data-ui-section-tabs-actions": ""
|
|
25710
|
+
}, LD = /* @__PURE__ */ N({
|
|
25689
25711
|
inheritAttrs: !1,
|
|
25690
25712
|
__name: "SectionTabs",
|
|
25691
25713
|
props: {
|
|
@@ -25695,54 +25717,62 @@ const FR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
25695
25717
|
},
|
|
25696
25718
|
emits: ["update:modelValue"],
|
|
25697
25719
|
setup(e, { emit: t }) {
|
|
25698
|
-
const n =
|
|
25699
|
-
ArrowRight: (
|
|
25700
|
-
ArrowLeft: (
|
|
25720
|
+
const n = (f, { slots: h }) => h.default?.() ?? null, o = Vn(), r = e, i = t, a = /* @__PURE__ */ M(null), s = UT(a, () => r.items, () => r.modelValue), { overflowStart: l, overflowEnd: c } = WT(a, () => r.modelValue), u = {
|
|
25721
|
+
ArrowRight: (f, h) => (f + 1) % h,
|
|
25722
|
+
ArrowLeft: (f, h) => (f - 1 + h) % h,
|
|
25701
25723
|
Home: () => 0,
|
|
25702
|
-
End: (
|
|
25724
|
+
End: (f, h) => h - 1
|
|
25703
25725
|
};
|
|
25704
|
-
function
|
|
25705
|
-
const
|
|
25706
|
-
!
|
|
25707
|
-
}
|
|
25708
|
-
return (
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25726
|
+
function d(f) {
|
|
25727
|
+
const h = u[f.key], m = Array.from(a.value?.querySelectorAll("[data-ui-tab-value]:not(:disabled)") ?? []), v = m.indexOf(f.target);
|
|
25728
|
+
!h || v < 0 || (f.preventDefault(), m[h(v, m.length)]?.focus());
|
|
25729
|
+
}
|
|
25730
|
+
return (f, h) => (y(), E(xe, null, [
|
|
25731
|
+
(y(), D(Tt(f.$slots.actions ? "div" : n), lt(ft(f.$slots.actions ? { class: "ui-section-tabs-row", "data-ui-section-tabs-row": "", "data-syno-pkg-land-ui": "" } : {})), {
|
|
25732
|
+
default: P(() => [
|
|
25733
|
+
ne("nav", ie({
|
|
25734
|
+
ref_key: "bar",
|
|
25735
|
+
ref: a,
|
|
25736
|
+
class: ["ui-tab-strip relative flex min-w-0 h-[30px] [@media(pointer:coarse)]:h-9 items-end", f.$slots.actions ? "flex-[1_1_auto]" : "w-full"],
|
|
25737
|
+
"aria-label": r.ariaLabel ?? p(o)("Sections"),
|
|
25738
|
+
"data-overflow-start": p(l) ? "" : void 0,
|
|
25739
|
+
"data-overflow-end": p(c) ? "" : void 0,
|
|
25740
|
+
"data-syno-pkg-land-ui": ""
|
|
25741
|
+
}, f.$attrs, { onKeydown: d }), [
|
|
25742
|
+
(y(!0), E(xe, null, nt(r.items, (m) => (y(), E("button", {
|
|
25743
|
+
key: m.value,
|
|
25744
|
+
type: "button",
|
|
25745
|
+
disabled: m.disabled,
|
|
25746
|
+
"data-ui-tab-value": m.value,
|
|
25747
|
+
"aria-current": r.modelValue === m.value ? "page" : void 0,
|
|
25748
|
+
class: oe([
|
|
25749
|
+
"relative h-[30px] [@media(pointer:coarse)]:h-9 shrink-0 border-0 bg-transparent px-2 first:pl-0 text-[length:var(--ui-font-size)] font-bold outline-none transition-colors duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] focus-visible:shadow-[inset_0_0_0_2px_var(--ui-focus-ring)] disabled:opacity-40",
|
|
25750
|
+
r.modelValue === m.value ? "text-[var(--ui-primary)]" : "text-[var(--ui-text)] enabled:hover:bg-[var(--ui-surface-hover)] enabled:hover:text-[var(--ui-text)]"
|
|
25751
|
+
]),
|
|
25752
|
+
onClick: (v) => i("update:modelValue", m.value)
|
|
25753
|
+
}, ee(m.label), 11, qD))), 128)),
|
|
25754
|
+
ne("span", {
|
|
25755
|
+
class: "ui-tab-indicator",
|
|
25756
|
+
style: ze(p(s)),
|
|
25757
|
+
"aria-hidden": "true"
|
|
25758
|
+
}, null, 4)
|
|
25759
|
+
], 16, zD),
|
|
25760
|
+
f.$slots.actions ? (y(), E("div", FD, [
|
|
25761
|
+
R(f.$slots, "actions")
|
|
25762
|
+
])) : V("", !0)
|
|
25763
|
+
]),
|
|
25764
|
+
_: 3
|
|
25765
|
+
}, 16)),
|
|
25766
|
+
f.$slots[`panel-${r.modelValue}`] ? (y(), E("div", {
|
|
25767
|
+
key: r.modelValue,
|
|
25738
25768
|
class: "ui-tab-panel",
|
|
25739
25769
|
"data-syno-pkg-land-ui": ""
|
|
25740
25770
|
}, [
|
|
25741
|
-
R(
|
|
25771
|
+
R(f.$slots, `panel-${r.modelValue}`)
|
|
25742
25772
|
])) : V("", !0)
|
|
25743
25773
|
], 64));
|
|
25744
25774
|
}
|
|
25745
|
-
}),
|
|
25775
|
+
}), VD = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), BD = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
|
|
25746
25776
|
function Xi(e) {
|
|
25747
25777
|
if (typeof e != "object" || e === null || Array.isArray(e)) return !1;
|
|
25748
25778
|
const t = Object.getPrototypeOf(e);
|
|
@@ -25754,18 +25784,18 @@ function Qi(e, t) {
|
|
|
25754
25784
|
function pl(e, t, n) {
|
|
25755
25785
|
e[t] = n;
|
|
25756
25786
|
}
|
|
25757
|
-
function
|
|
25787
|
+
function jD(e) {
|
|
25758
25788
|
return Reflect.ownKeys(e).filter((t) => Qi(e, t) !== void 0);
|
|
25759
25789
|
}
|
|
25760
25790
|
function hl(e, t) {
|
|
25761
25791
|
const n = { ...e };
|
|
25762
|
-
for (const o of
|
|
25792
|
+
for (const o of jD(t)) {
|
|
25763
25793
|
const r = Qi(t, o), i = Qi(n, o);
|
|
25764
25794
|
Xi(i) && Xi(r) ? pl(n, o, hl(i, r)) : pl(n, o, r);
|
|
25765
25795
|
}
|
|
25766
25796
|
return n;
|
|
25767
25797
|
}
|
|
25768
|
-
function
|
|
25798
|
+
function UD(e) {
|
|
25769
25799
|
const t = {};
|
|
25770
25800
|
for (const n of Reflect.ownKeys(e)) {
|
|
25771
25801
|
const o = Qi(e, n);
|
|
@@ -25774,15 +25804,15 @@ function jD(e) {
|
|
|
25774
25804
|
return t;
|
|
25775
25805
|
}
|
|
25776
25806
|
function Km(e, t, n = {}) {
|
|
25777
|
-
const o = qe(
|
|
25807
|
+
const o = qe(BD, null), r = qe(VD, null);
|
|
25778
25808
|
return O(() => {
|
|
25779
25809
|
const i = [n, r?.value?.[e], o?.value?.[e]];
|
|
25780
25810
|
let a = {};
|
|
25781
25811
|
for (const s of i) s && (a = hl(a, s));
|
|
25782
|
-
return hl(a,
|
|
25812
|
+
return hl(a, UD(t));
|
|
25783
25813
|
});
|
|
25784
25814
|
}
|
|
25785
|
-
const
|
|
25815
|
+
const WD = ["data-layout-direction"], KD = /* @__PURE__ */ N({
|
|
25786
25816
|
__name: "Form",
|
|
25787
25817
|
props: {
|
|
25788
25818
|
rules: {},
|
|
@@ -25858,9 +25888,9 @@ const UD = ["data-layout-direction"], WD = /* @__PURE__ */ D({
|
|
|
25858
25888
|
onSubmit: kt(k, ["prevent"])
|
|
25859
25889
|
}, [
|
|
25860
25890
|
R(A.$slots, "default")
|
|
25861
|
-
], 44,
|
|
25891
|
+
], 44, WD));
|
|
25862
25892
|
}
|
|
25863
|
-
}),
|
|
25893
|
+
}), ZD = "blur", HD = {
|
|
25864
25894
|
string: "Value must be a string",
|
|
25865
25895
|
number: "Value must be a number",
|
|
25866
25896
|
integer: "Value must be an integer",
|
|
@@ -25873,15 +25903,15 @@ const UD = ["data-layout-direction"], WD = /* @__PURE__ */ D({
|
|
|
25873
25903
|
function ml(e) {
|
|
25874
25904
|
return e ? Array.isArray(e) ? [...e] : [e] : [];
|
|
25875
25905
|
}
|
|
25876
|
-
function
|
|
25906
|
+
function GD(e, t) {
|
|
25877
25907
|
return e == null ? !0 : t === "array" || Array.isArray(e) ? Array.isArray(e) && e.length === 0 : typeof e == "string" ? e.trim() === "" : !1;
|
|
25878
25908
|
}
|
|
25879
|
-
function
|
|
25909
|
+
function JD(e) {
|
|
25880
25910
|
if (typeof e == "string" || Array.isArray(e)) return e.length;
|
|
25881
25911
|
if (typeof e == "number") return e;
|
|
25882
25912
|
if (e instanceof Date) return e.getTime();
|
|
25883
25913
|
}
|
|
25884
|
-
function
|
|
25914
|
+
function YD(e, t) {
|
|
25885
25915
|
switch (t) {
|
|
25886
25916
|
case "string":
|
|
25887
25917
|
return typeof e == "string";
|
|
@@ -25906,13 +25936,13 @@ function JD(e, t) {
|
|
|
25906
25936
|
return e instanceof Date && !Number.isNaN(e.getTime());
|
|
25907
25937
|
}
|
|
25908
25938
|
}
|
|
25909
|
-
function
|
|
25939
|
+
function XD(e) {
|
|
25910
25940
|
return typeof e == "object" && e !== null && typeof e.then == "function";
|
|
25911
25941
|
}
|
|
25912
25942
|
function yr(e, t) {
|
|
25913
25943
|
return e instanceof Error ? e.message : typeof e == "string" ? e : t("Value does not match the expected format");
|
|
25914
25944
|
}
|
|
25915
|
-
async function
|
|
25945
|
+
async function QD(e, t, n) {
|
|
25916
25946
|
const o = e.validator ?? e.asyncValidator;
|
|
25917
25947
|
if (!o) return null;
|
|
25918
25948
|
let r = null, i = !1;
|
|
@@ -25925,7 +25955,7 @@ async function XD(e, t, n) {
|
|
|
25925
25955
|
} catch (l) {
|
|
25926
25956
|
return i ? r : yr(l, n);
|
|
25927
25957
|
}
|
|
25928
|
-
if (
|
|
25958
|
+
if (XD(s))
|
|
25929
25959
|
try {
|
|
25930
25960
|
const l = await s;
|
|
25931
25961
|
i || (r = l === !0 || l === void 0 || l === null ? null : yr(l, n));
|
|
@@ -25935,35 +25965,35 @@ async function XD(e, t, n) {
|
|
|
25935
25965
|
else !i && s !== void 0 && s !== !0 && (r = s === !1 ? e.message ?? n("Value does not match the expected format") : yr(s, n));
|
|
25936
25966
|
return r;
|
|
25937
25967
|
}
|
|
25938
|
-
async function
|
|
25968
|
+
async function eN(e, t, n) {
|
|
25939
25969
|
const o = e.transform ? e.transform(t) : t;
|
|
25940
|
-
if (
|
|
25970
|
+
if (GD(o, e.type))
|
|
25941
25971
|
return e.required ? e.message ?? n("Value is required") : null;
|
|
25942
|
-
if (e.type && !
|
|
25943
|
-
const r =
|
|
25944
|
-
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") :
|
|
25972
|
+
if (e.type && !YD(o, e.type)) return e.message ?? n(HD[e.type]);
|
|
25973
|
+
const r = JD(o);
|
|
25974
|
+
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") : QD(e, o, n);
|
|
25945
25975
|
}
|
|
25946
|
-
function
|
|
25976
|
+
function tN(e, t) {
|
|
25947
25977
|
return e.trigger ? Array.isArray(e.trigger) ? e.trigger : [e.trigger] : [t];
|
|
25948
25978
|
}
|
|
25949
|
-
async function
|
|
25950
|
-
const o = n.defaultTrigger ??
|
|
25979
|
+
async function nN(e, t, n = {}) {
|
|
25980
|
+
const o = n.defaultTrigger ?? ZD, r = n.trigger ?? null, i = n.text ?? ((a, s) => Oh("en", a, s));
|
|
25951
25981
|
for (const a of ml(t)) {
|
|
25952
|
-
if (r !== null && !
|
|
25953
|
-
const s = await
|
|
25982
|
+
if (r !== null && !tN(a, o).includes(r)) continue;
|
|
25983
|
+
const s = await eN(a, e, i);
|
|
25954
25984
|
if (s) return s;
|
|
25955
25985
|
}
|
|
25956
25986
|
return null;
|
|
25957
25987
|
}
|
|
25958
|
-
const
|
|
25988
|
+
const oN = ["data-direction", "data-status"], rN = ["id", "for"], iN = {
|
|
25959
25989
|
key: 0,
|
|
25960
25990
|
class: "ml-0.5 text-[var(--ui-danger)]",
|
|
25961
25991
|
"aria-hidden": "true"
|
|
25962
|
-
},
|
|
25992
|
+
}, aN = { class: "flex items-start gap-2" }, sN = {
|
|
25963
25993
|
key: 0,
|
|
25964
25994
|
class: "flex min-h-[var(--ui-control-md)] shrink-0 items-center",
|
|
25965
25995
|
"data-field-after": ""
|
|
25966
|
-
},
|
|
25996
|
+
}, lN = ["id"], uN = ["id"], cN = /* @__PURE__ */ N({
|
|
25967
25997
|
__name: "FormItem",
|
|
25968
25998
|
props: {
|
|
25969
25999
|
modelValue: {},
|
|
@@ -26049,13 +26079,13 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26049
26079
|
}), Ae = O(() => {
|
|
26050
26080
|
const H = s.value.validateMessageDisplayMode ?? "form";
|
|
26051
26081
|
return H === "form" ? l?.validateMessageDisplayMode ?? "popup" : H;
|
|
26052
|
-
}), je = O(() => s.value.label !== !1 && (!!s.value.label || !!c.label)),
|
|
26082
|
+
}), je = O(() => s.value.label !== !1 && (!!s.value.label || !!c.label)), pt = O(() => !!s.value.description || !!c.description), ve = O(() => {
|
|
26053
26083
|
const H = [];
|
|
26054
|
-
return
|
|
26084
|
+
return pt.value && H.push(f.description), pe.value && H.push(f.message), H.length ? H.join(" ") : void 0;
|
|
26055
26085
|
}), rt = O(() => {
|
|
26056
26086
|
const H = ye.value === "vertical" ? { display: "flex", flexDirection: "column", gap: "var(--ui-space-1)" } : { display: "flex", alignItems: "flex-start", columnGap: "var(--ui-label-gap)" }, ue = s.value.indent ?? 0;
|
|
26057
26087
|
return ue && (H.paddingLeft = typeof ue == "number" ? `${ue * 28}px` : ue), H;
|
|
26058
|
-
}),
|
|
26088
|
+
}), ht = O(() => ({
|
|
26059
26089
|
maxWidth: Lm(r.fieldWidth ?? l?.fieldWidth)
|
|
26060
26090
|
})), Ye = O(() => ye.value === "vertical" ? void 0 : { width: s.value.labelWidth ?? "var(--ui-label-column)" }), _t = O(() => {
|
|
26061
26091
|
const H = re.value ? "text-[var(--ui-danger)]" : K.value === "warning" ? "text-[var(--ui-warning)]" : K.value === "success" ? "text-[var(--ui-success)]" : "text-[var(--ui-text-secondary)]";
|
|
@@ -26065,19 +26095,19 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26065
26095
|
"transition-opacity duration-[var(--ui-motion-fast)]",
|
|
26066
26096
|
te.value ? "opacity-100" : "pointer-events-none opacity-0"
|
|
26067
26097
|
);
|
|
26068
|
-
}),
|
|
26069
|
-
function
|
|
26098
|
+
}), Rt = { afterItem: "shrink-0 self-center" };
|
|
26099
|
+
function mt() {
|
|
26070
26100
|
const H = ml(s.value.rules), ue = r.prop, ke = ue ? ml(l?.rules?.[ue]) : [];
|
|
26071
26101
|
return [...H, ...ke];
|
|
26072
26102
|
}
|
|
26073
26103
|
let Wn = 0;
|
|
26074
26104
|
async function S(H = null) {
|
|
26075
26105
|
if (s.value.disableValidation || fe.value && !s.value.validateDisabledField) return null;
|
|
26076
|
-
const ue =
|
|
26106
|
+
const ue = mt();
|
|
26077
26107
|
if (!ue.length) return null;
|
|
26078
26108
|
const ke = ++Wn;
|
|
26079
26109
|
T.value = "validating", i("validating");
|
|
26080
|
-
const Ee = await
|
|
26110
|
+
const Ee = await nN(w.value, ue, {
|
|
26081
26111
|
trigger: H,
|
|
26082
26112
|
defaultTrigger: s.value.defaultValidateTrigger,
|
|
26083
26113
|
text: o
|
|
@@ -26138,7 +26168,7 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26138
26168
|
setControlId: (H) => {
|
|
26139
26169
|
h.value = H;
|
|
26140
26170
|
},
|
|
26141
|
-
descriptionId: O(() =>
|
|
26171
|
+
descriptionId: O(() => pt.value ? f.description : void 0),
|
|
26142
26172
|
messageId: O(() => pe.value ? f.message : void 0),
|
|
26143
26173
|
describedBy: ve,
|
|
26144
26174
|
required: O(() => s.value.requiredMark === !0),
|
|
@@ -26216,26 +26246,26 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26216
26246
|
R(H.$slots, "label", {}, () => [
|
|
26217
26247
|
Ne(ee(p(s).label), 1)
|
|
26218
26248
|
]),
|
|
26219
|
-
p(s).requiredMark ? (y(), E("span",
|
|
26220
|
-
], 8,
|
|
26249
|
+
p(s).requiredMark ? (y(), E("span", iN, "*")) : V("", !0)
|
|
26250
|
+
], 8, rN)
|
|
26221
26251
|
], 6)) : V("", !0),
|
|
26222
26252
|
ne("div", {
|
|
26223
26253
|
class: oe(["relative min-w-0 flex-1", p(s).disableControl ? "opacity-40" : void 0])
|
|
26224
26254
|
}, [
|
|
26225
|
-
ne("div",
|
|
26255
|
+
ne("div", aN, [
|
|
26226
26256
|
R(H.$slots, "before"),
|
|
26227
26257
|
ne("div", {
|
|
26228
26258
|
class: "min-w-0 flex-1",
|
|
26229
26259
|
"data-field-control": "",
|
|
26230
|
-
style: ze(
|
|
26260
|
+
style: ze(ht.value)
|
|
26231
26261
|
}, [
|
|
26232
26262
|
R(H.$slots, "default", { field: me })
|
|
26233
26263
|
], 4),
|
|
26234
|
-
H.$slots.after ? (y(), E("div",
|
|
26235
|
-
R(H.$slots, "after", { classes:
|
|
26264
|
+
H.$slots.after ? (y(), E("div", sN, [
|
|
26265
|
+
R(H.$slots, "after", { classes: Rt })
|
|
26236
26266
|
])) : V("", !0)
|
|
26237
26267
|
]),
|
|
26238
|
-
|
|
26268
|
+
pt.value ? (y(), E("div", {
|
|
26239
26269
|
key: 0,
|
|
26240
26270
|
id: f.description,
|
|
26241
26271
|
class: oe([
|
|
@@ -26246,7 +26276,7 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26246
26276
|
R(H.$slots, "description", {}, () => [
|
|
26247
26277
|
Ne(ee(p(s).description), 1)
|
|
26248
26278
|
])
|
|
26249
|
-
], 10,
|
|
26279
|
+
], 10, lN)) : V("", !0),
|
|
26250
26280
|
pe.value ? (y(), E("div", {
|
|
26251
26281
|
key: 1,
|
|
26252
26282
|
id: f.message,
|
|
@@ -26256,9 +26286,9 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26256
26286
|
R(H.$slots, "status", { field: me }, () => [
|
|
26257
26287
|
Ne(ee(pe.value), 1)
|
|
26258
26288
|
])
|
|
26259
|
-
], 10,
|
|
26289
|
+
], 10, uN)) : V("", !0)
|
|
26260
26290
|
], 2)
|
|
26261
|
-
], 46,
|
|
26291
|
+
], 46, oN));
|
|
26262
26292
|
}
|
|
26263
26293
|
}), Zm = Gl(() => le({
|
|
26264
26294
|
key: L(),
|
|
@@ -26272,7 +26302,7 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26272
26302
|
label: L(),
|
|
26273
26303
|
value: L(),
|
|
26274
26304
|
disabled: Ce().optional()
|
|
26275
|
-
}),
|
|
26305
|
+
}), dN = vl.extend({
|
|
26276
26306
|
description: L().optional()
|
|
26277
26307
|
}), Vd = le({
|
|
26278
26308
|
key: L(),
|
|
@@ -26281,7 +26311,7 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26281
26311
|
/** Sets the alignment: DSM keeps every column left; number and date digits get one width. */
|
|
26282
26312
|
type: $e(["text", "number", "date", "actions"]).optional(),
|
|
26283
26313
|
align: $e(["left", "center", "right"]).optional()
|
|
26284
|
-
}),
|
|
26314
|
+
}), fN = {
|
|
26285
26315
|
AppRoot: {
|
|
26286
26316
|
props: le({
|
|
26287
26317
|
modalScope: $e(["document", "app"]).optional()
|
|
@@ -26426,7 +26456,7 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26426
26456
|
RadioGroup: {
|
|
26427
26457
|
props: le({
|
|
26428
26458
|
value: L().optional(),
|
|
26429
|
-
options: Qe(
|
|
26459
|
+
options: Qe(dN),
|
|
26430
26460
|
orientation: $e(["vertical", "horizontal"]).optional(),
|
|
26431
26461
|
disabled: Ce().optional()
|
|
26432
26462
|
}),
|
|
@@ -26551,7 +26581,7 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26551
26581
|
DataTable: {
|
|
26552
26582
|
props: le({
|
|
26553
26583
|
columns: Qe(Vd),
|
|
26554
|
-
rows: Qe(at(L(),
|
|
26584
|
+
rows: Qe(at(L(), ct())),
|
|
26555
26585
|
rowKey: L().optional(),
|
|
26556
26586
|
emptyText: L().optional(),
|
|
26557
26587
|
compact: Ce().optional(),
|
|
@@ -26562,7 +26592,7 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26562
26592
|
ResourceList: {
|
|
26563
26593
|
props: le({
|
|
26564
26594
|
columns: Qe(Vd),
|
|
26565
|
-
rows: Qe(at(L(),
|
|
26595
|
+
rows: Qe(at(L(), ct())),
|
|
26566
26596
|
rowKey: L().optional(),
|
|
26567
26597
|
emptyText: L().optional(),
|
|
26568
26598
|
compact: Ce().optional(),
|
|
@@ -26610,17 +26640,17 @@ const nN = ["data-direction", "data-status"], oN = ["id", "for"], rN = {
|
|
|
26610
26640
|
props: le({ text: L().optional() }),
|
|
26611
26641
|
description: "Centered loading state for a page or bounded region."
|
|
26612
26642
|
}
|
|
26613
|
-
},
|
|
26614
|
-
components:
|
|
26643
|
+
}, pN = ek(nk, {
|
|
26644
|
+
components: fN,
|
|
26615
26645
|
actions: {}
|
|
26616
|
-
}),
|
|
26646
|
+
}), hN = {
|
|
26617
26647
|
none: "0",
|
|
26618
26648
|
xs: "var(--ui-space-1)",
|
|
26619
26649
|
sm: "var(--ui-space-2)",
|
|
26620
26650
|
md: "var(--ui-space-3)",
|
|
26621
26651
|
lg: "var(--ui-space-4)"
|
|
26622
|
-
},
|
|
26623
|
-
function
|
|
26652
|
+
}, mN = { start: "flex-start", center: "center", end: "flex-end", stretch: "stretch" }, vN = { start: "flex-start", center: "center", end: "flex-end", between: "space-between" };
|
|
26653
|
+
function gN(e) {
|
|
26624
26654
|
return { default: () => e };
|
|
26625
26655
|
}
|
|
26626
26656
|
function gl(e) {
|
|
@@ -26633,10 +26663,10 @@ function Hm(e) {
|
|
|
26633
26663
|
children: e.children?.map(Hm)
|
|
26634
26664
|
};
|
|
26635
26665
|
}
|
|
26636
|
-
function
|
|
26666
|
+
function yN(e) {
|
|
26637
26667
|
return e.map((t) => ({ ...t, items: t.items.map(Hm) }));
|
|
26638
26668
|
}
|
|
26639
|
-
const
|
|
26669
|
+
const bN = {
|
|
26640
26670
|
AppRoot: ({ props: e, slots: t }) => se(NR, { modalScope: e.modalScope }, t),
|
|
26641
26671
|
AppShell: ({ props: e, slots: t }) => se(tD, {
|
|
26642
26672
|
sidebarWidth: e.sidebarWidth,
|
|
@@ -26653,7 +26683,7 @@ const yN = {
|
|
|
26653
26683
|
const [o, r] = cn(e.value, t?.value);
|
|
26654
26684
|
return se(xD, {
|
|
26655
26685
|
modelValue: o,
|
|
26656
|
-
groups:
|
|
26686
|
+
groups: yN(e.groups),
|
|
26657
26687
|
searchable: e.searchable,
|
|
26658
26688
|
collapsible: e.collapsible,
|
|
26659
26689
|
searchPlaceholder: e.searchPlaceholder,
|
|
@@ -26664,7 +26694,7 @@ const yN = {
|
|
|
26664
26694
|
},
|
|
26665
26695
|
Tabs: ({ props: e, bindings: t, emit: n }) => {
|
|
26666
26696
|
const [o, r] = cn(e.value, t?.value);
|
|
26667
|
-
return se(
|
|
26697
|
+
return se(LD, {
|
|
26668
26698
|
modelValue: o ?? "",
|
|
26669
26699
|
items: e.items,
|
|
26670
26700
|
ariaLabel: e.ariaLabel,
|
|
@@ -26678,9 +26708,9 @@ const yN = {
|
|
|
26678
26708
|
style: {
|
|
26679
26709
|
display: "flex",
|
|
26680
26710
|
flexDirection: e.direction ?? "column",
|
|
26681
|
-
gap:
|
|
26682
|
-
alignItems:
|
|
26683
|
-
justifyContent:
|
|
26711
|
+
gap: hN[e.gap ?? "md"],
|
|
26712
|
+
alignItems: mN[e.align ?? "stretch"],
|
|
26713
|
+
justifyContent: vN[e.justify ?? "start"],
|
|
26684
26714
|
flexWrap: e.wrap ? "wrap" : "nowrap"
|
|
26685
26715
|
}
|
|
26686
26716
|
}, t),
|
|
@@ -26764,12 +26794,12 @@ const yN = {
|
|
|
26764
26794
|
}
|
|
26765
26795
|
});
|
|
26766
26796
|
},
|
|
26767
|
-
Form: ({ props: e, slots: t, emit: n }) => se(
|
|
26797
|
+
Form: ({ props: e, slots: t, emit: n }) => se(KD, {
|
|
26768
26798
|
direction: e.direction,
|
|
26769
26799
|
fieldWidth: e.fieldWidth,
|
|
26770
26800
|
onSubmit: () => n("submit")
|
|
26771
26801
|
}, t),
|
|
26772
|
-
Field: ({ props: e, slots: t }) => se(
|
|
26802
|
+
Field: ({ props: e, slots: t }) => se(cN, {
|
|
26773
26803
|
label: e.label,
|
|
26774
26804
|
description: e.description,
|
|
26775
26805
|
help: e.help,
|
|
@@ -26824,7 +26854,7 @@ const yN = {
|
|
|
26824
26854
|
icon: gl(e.icon)
|
|
26825
26855
|
}, t),
|
|
26826
26856
|
Progress: ({ props: e }) => se(Rm, e),
|
|
26827
|
-
Badge: ({ props: e }) => se(ZP, { tone: e.tone },
|
|
26857
|
+
Badge: ({ props: e }) => se(ZP, { tone: e.tone }, gN(e.text)),
|
|
26828
26858
|
Dialog: ({ props: e, bindings: t, slots: n, emit: o }) => {
|
|
26829
26859
|
const [r, i] = cn(e.open, t?.open);
|
|
26830
26860
|
return se(jT, {
|
|
@@ -26849,9 +26879,9 @@ const yN = {
|
|
|
26849
26879
|
ListItem: ({ props: e, slots: t }) => se(mR, e, t),
|
|
26850
26880
|
InputGroup: ({ slots: e }) => se($C, null, e),
|
|
26851
26881
|
Loading: ({ props: e }) => se(eT, { text: e.text })
|
|
26852
|
-
}, { registry: Bd } = xk(
|
|
26853
|
-
components:
|
|
26854
|
-
}),
|
|
26882
|
+
}, { registry: Bd } = xk(pN, {
|
|
26883
|
+
components: bN
|
|
26884
|
+
}), wN = /* @__PURE__ */ N({
|
|
26855
26885
|
__name: "SynoJsonRenderer",
|
|
26856
26886
|
props: {
|
|
26857
26887
|
spec: {},
|
|
@@ -26867,7 +26897,7 @@ const yN = {
|
|
|
26867
26897
|
fallback: {}
|
|
26868
26898
|
},
|
|
26869
26899
|
setup(e) {
|
|
26870
|
-
return (t, n) => (y(),
|
|
26900
|
+
return (t, n) => (y(), D(p(Sk), {
|
|
26871
26901
|
registry: p(Bd),
|
|
26872
26902
|
store: e.store,
|
|
26873
26903
|
"initial-state": e.state ?? e.spec?.state ?? {},
|
|
@@ -26895,18 +26925,18 @@ function $i(e) {
|
|
|
26895
26925
|
return t.overflowX && t.overflowX !== "visible" ? t.overflowX : t.overflow.split(" ")[0] || "visible";
|
|
26896
26926
|
}
|
|
26897
26927
|
const Gm = (e) => e.closest("[data-jr-key]")?.getAttribute("data-jr-key") ?? void 0;
|
|
26898
|
-
function
|
|
26928
|
+
function _N(e, t) {
|
|
26899
26929
|
for (let n = e.parentElement; n && t.contains(n); n = n.parentElement)
|
|
26900
26930
|
if ($i(n) !== "visible") return n;
|
|
26901
26931
|
}
|
|
26902
|
-
function
|
|
26932
|
+
function SN(e, t, n) {
|
|
26903
26933
|
if (e.closest("[inert]")) return;
|
|
26904
26934
|
const o = e.getBoundingClientRect();
|
|
26905
26935
|
if (o.width <= 1) return;
|
|
26906
26936
|
const r = $i(e);
|
|
26907
26937
|
if ((r === "hidden" || r === "clip") && e.scrollWidth > e.clientWidth + 1 && getComputedStyle(e).textOverflow !== "ellipsis")
|
|
26908
26938
|
return { kind: "clipped_content", detail: `content is ${e.scrollWidth - e.clientWidth}px wider than its box and is cut off` };
|
|
26909
|
-
const i =
|
|
26939
|
+
const i = _N(e, t);
|
|
26910
26940
|
if (i) {
|
|
26911
26941
|
if ($i(i) === "auto" || $i(i) === "scroll") return;
|
|
26912
26942
|
const s = i.getBoundingClientRect(), l = Math.max(o.right - s.right, s.left - o.left), c = Gm(i);
|
|
@@ -26915,25 +26945,25 @@ function _N(e, t, n) {
|
|
|
26915
26945
|
const a = Math.max(o.right - n, -o.left);
|
|
26916
26946
|
return a > 1 ? { kind: "outside_viewport", detail: `extends ${Math.round(a)}px past the ${n}px viewport` } : void 0;
|
|
26917
26947
|
}
|
|
26918
|
-
function
|
|
26919
|
-
const n = [...e.querySelectorAll("*")].map((i) => ({ element: i, finding:
|
|
26948
|
+
function xN(e, t) {
|
|
26949
|
+
const n = [...e.querySelectorAll("*")].map((i) => ({ element: i, finding: SN(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();
|
|
26920
26950
|
for (const { element: i, finding: a } of o) {
|
|
26921
26951
|
const s = Gm(i), l = `${a.kind}:${s ?? ""}`;
|
|
26922
26952
|
r.has(l) || r.set(l, { ...a, key: s });
|
|
26923
26953
|
}
|
|
26924
26954
|
return [...r.values()];
|
|
26925
26955
|
}
|
|
26926
|
-
function
|
|
26956
|
+
function kN(e, t) {
|
|
26927
26957
|
const n = Object.hasOwn(e, t) ? e[t] : t.split(".").reduce((o, r) => o?.[r], e);
|
|
26928
26958
|
return typeof n == "string" ? n : t;
|
|
26929
26959
|
}
|
|
26930
|
-
const
|
|
26931
|
-
async function
|
|
26960
|
+
const CN = () => new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e)));
|
|
26961
|
+
async function AN() {
|
|
26932
26962
|
const e = await (await fetch("/config.json")).json();
|
|
26933
26963
|
$x();
|
|
26934
|
-
const t = document.getElementById("app"), n = ({ key: o }) =>
|
|
26964
|
+
const t = document.getElementById("app"), n = ({ key: o }) => kN(e.messages ?? {}, String(o));
|
|
26935
26965
|
return hy({
|
|
26936
|
-
render: () => se(
|
|
26937
|
-
}).mount(t), await Re(), await document.fonts.ready, await
|
|
26966
|
+
render: () => se(wN, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
|
|
26967
|
+
}).mount(t), await Re(), await document.fonts.ready, await CN(), { issues: () => xN(t, innerWidth) };
|
|
26938
26968
|
}
|
|
26939
|
-
window.synoPreview =
|
|
26969
|
+
window.synoPreview = AN();
|