@synopackageland/ui 0.25.3 → 0.25.4
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 +26 -0
- package/dist/cli.js +0 -0
- package/dist/index.js +13 -5
- package/dist/json-preview/preview.js +178 -170
- package/dist/reka-runtime.json +1 -1
- package/dist/rich-text.js +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/dist/virtual/galleryColumns.d.ts +5 -2
- package/docs/app-local-modal.md +11 -4
- package/package.json +91 -3
|
@@ -9,7 +9,7 @@ const ot = {}, na = [], qn = () => {
|
|
|
9
9
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Ks = (e) => e.startsWith("onUpdate:"), At = Object.assign, Hc = (e, t) => {
|
|
10
10
|
const n = e.indexOf(t);
|
|
11
11
|
n > -1 && e.splice(n, 1);
|
|
12
|
-
}, x0 = Object.prototype.hasOwnProperty, ut = (e, t) => x0.call(e, t), $e = Array.isArray, Po = (e) => ai(e) === "[object Map]", cs = (e) => ai(e) === "[object Set]", kf = (e) => ai(e) === "[object Date]",
|
|
12
|
+
}, x0 = Object.prototype.hasOwnProperty, ut = (e, t) => x0.call(e, t), $e = Array.isArray, Po = (e) => ai(e) === "[object Map]", cs = (e) => ai(e) === "[object Set]", kf = (e) => ai(e) === "[object Date]", je = (e) => typeof e == "function", ft = (e) => typeof e == "string", pn = (e) => typeof e == "symbol", st = (e) => e !== null && typeof e == "object", Lv = (e) => (st(e) || je(e)) && je(e.then) && je(e.catch), Fv = Object.prototype.toString, ai = (e) => Fv.call(e), S0 = (e) => ai(e).slice(8, -1), zv = (e) => ai(e) === "[object Object]", Hs = (e) => ft(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Er = /* @__PURE__ */ Kc(
|
|
13
13
|
// the leading comma is intentional so empty string "" is also included
|
|
14
14
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
15
15
|
), Zs = (e) => {
|
|
@@ -136,7 +136,7 @@ function Js(e, t, n) {
|
|
|
136
136
|
let o = kf(e), a = kf(t);
|
|
137
137
|
return o || a ? o && a ? e.getTime() === t.getTime() : !1 : (o = pn(e), a = pn(t), o || a ? e === t : (o = $e(e), a = $e(t), o || a ? o && a ? Af(e, t, n, D0) : !1 : (o = st(e), a = st(t), o || a ? !o || !a ? !1 : Af(e, t, n, R0) : String(e) === String(t))));
|
|
138
138
|
}
|
|
139
|
-
const Vv = (e) => !!(e && e.__v_isRef === !0), oe = (e) => ft(e) ? e : e == null ? "" : $e(e) || st(e) && (e.toString === Fv || !
|
|
139
|
+
const Vv = (e) => !!(e && e.__v_isRef === !0), oe = (e) => ft(e) ? e : e == null ? "" : $e(e) || st(e) && (e.toString === Fv || !je(e.toString)) ? Vv(e) ? oe(e.value) : JSON.stringify(e, jv, 2) : String(e), jv = (e, t) => Vv(t) ? jv(e, t.value) : Po(t) ? {
|
|
140
140
|
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
141
141
|
(n, [o, a], r) => (n[Xl(o, r) + " =>"] = a, n),
|
|
142
142
|
{}
|
|
@@ -1025,7 +1025,7 @@ function d(e) {
|
|
|
1025
1025
|
return /* @__PURE__ */ yt(e) ? e.value : e;
|
|
1026
1026
|
}
|
|
1027
1027
|
function Ie(e) {
|
|
1028
|
-
return
|
|
1028
|
+
return je(e) ? e() : d(e);
|
|
1029
1029
|
}
|
|
1030
1030
|
const t_ = {
|
|
1031
1031
|
get: (e, t, n) => t === "__v_raw" ? e : d(Reflect.get(e, t, n)),
|
|
@@ -1098,7 +1098,7 @@ class a_ {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
// @__NO_SIDE_EFFECTS__
|
|
1100
1100
|
function r_(e, t, n) {
|
|
1101
|
-
return /* @__PURE__ */ yt(e) ? e :
|
|
1101
|
+
return /* @__PURE__ */ yt(e) ? e : je(e) ? new a_(e) : st(e) && arguments.length > 1 ? dm(e, t, n) : /* @__PURE__ */ N(e);
|
|
1102
1102
|
}
|
|
1103
1103
|
function dm(e, t, n) {
|
|
1104
1104
|
return new o_(e, t, n);
|
|
@@ -1126,7 +1126,7 @@ class i_ {
|
|
|
1126
1126
|
// @__NO_SIDE_EFFECTS__
|
|
1127
1127
|
function s_(e, t, n = !1) {
|
|
1128
1128
|
let o, a;
|
|
1129
|
-
return
|
|
1129
|
+
return je(e) ? o = e : (o = e.get, a = e.set), new i_(o, a, n);
|
|
1130
1130
|
}
|
|
1131
1131
|
const Pi = {}, fs = /* @__PURE__ */ new WeakMap();
|
|
1132
1132
|
let Xo;
|
|
@@ -1144,9 +1144,9 @@ function u_(e, t, n = ot) {
|
|
|
1144
1144
|
return w.value;
|
|
1145
1145
|
if (/* @__PURE__ */ Oo(w))
|
|
1146
1146
|
return c(w);
|
|
1147
|
-
if (
|
|
1147
|
+
if (je(w))
|
|
1148
1148
|
return l ? l(w, 2) : w();
|
|
1149
|
-
})) :
|
|
1149
|
+
})) : je(e) ? t ? f = l ? () => l(e, 2) : e : f = () => {
|
|
1150
1150
|
if (p) {
|
|
1151
1151
|
uo();
|
|
1152
1152
|
try {
|
|
@@ -1242,7 +1242,7 @@ function ri(e, t, n, o) {
|
|
|
1242
1242
|
}
|
|
1243
1243
|
}
|
|
1244
1244
|
function bn(e, t, n, o) {
|
|
1245
|
-
if (
|
|
1245
|
+
if (je(e)) {
|
|
1246
1246
|
const a = ri(e, t, n, o);
|
|
1247
1247
|
return a && Lv(a) && a.catch((r) => {
|
|
1248
1248
|
ol(r, t, n);
|
|
@@ -1291,7 +1291,7 @@ const $a = [];
|
|
|
1291
1291
|
let Ao = null, Ca = 0;
|
|
1292
1292
|
const fm = /* @__PURE__ */ Promise.resolve();
|
|
1293
1293
|
let ps = null;
|
|
1294
|
-
function
|
|
1294
|
+
function Be(e) {
|
|
1295
1295
|
const t = ps || fm;
|
|
1296
1296
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1297
1297
|
}
|
|
@@ -1395,7 +1395,7 @@ function $o(e, t) {
|
|
|
1395
1395
|
const n = ll(Ut), o = e.dirs || (e.dirs = []);
|
|
1396
1396
|
for (let a = 0; a < t.length; a++) {
|
|
1397
1397
|
let [r, i, s, l = ot] = t[a];
|
|
1398
|
-
r && (
|
|
1398
|
+
r && (je(r) && (r = {
|
|
1399
1399
|
mounted: r,
|
|
1400
1400
|
updated: r
|
|
1401
1401
|
}), r.deep && no(i), o.push({
|
|
@@ -1437,7 +1437,7 @@ function Fe(e, t, n = !1) {
|
|
|
1437
1437
|
if (a && e in a)
|
|
1438
1438
|
return a[e];
|
|
1439
1439
|
if (arguments.length > 1)
|
|
1440
|
-
return n &&
|
|
1440
|
+
return n && je(t) ? t.call(o && o.proxy) : t;
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
1443
|
function gm() {
|
|
@@ -1493,7 +1493,7 @@ function ii(e, t, n = ot) {
|
|
|
1493
1493
|
function v_(e, t, n) {
|
|
1494
1494
|
const o = this.proxy, a = ft(e) ? e.includes(".") ? wm(o, e) : () => o[e] : e.bind(o, o);
|
|
1495
1495
|
let r;
|
|
1496
|
-
|
|
1496
|
+
je(t) ? r = t : (r = t.handler, n = t);
|
|
1497
1497
|
const i = ci(this), s = ii(a, r.bind(o), n);
|
|
1498
1498
|
return i(), s;
|
|
1499
1499
|
}
|
|
@@ -1922,7 +1922,7 @@ function vs(e) {
|
|
|
1922
1922
|
if (n) {
|
|
1923
1923
|
if (t & 16)
|
|
1924
1924
|
return n[0];
|
|
1925
|
-
if (t & 32 &&
|
|
1925
|
+
if (t & 32 && je(n.default))
|
|
1926
1926
|
return n.default();
|
|
1927
1927
|
}
|
|
1928
1928
|
}
|
|
@@ -1952,7 +1952,7 @@ function Em(e, t = !1, n) {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
// @__NO_SIDE_EFFECTS__
|
|
1954
1954
|
function j(e, t) {
|
|
1955
|
-
return
|
|
1955
|
+
return je(e) ? (
|
|
1956
1956
|
// #8236: extend call and options.name access are considered side-effects
|
|
1957
1957
|
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
1958
1958
|
At({ name: e.name }, t, { setup: e })
|
|
@@ -1965,7 +1965,7 @@ function Tn() {
|
|
|
1965
1965
|
function Am(e) {
|
|
1966
1966
|
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1967
1967
|
}
|
|
1968
|
-
function
|
|
1968
|
+
function Ve(e) {
|
|
1969
1969
|
const t = Ht(), n = /* @__PURE__ */ Ct(null);
|
|
1970
1970
|
if (t) {
|
|
1971
1971
|
const a = t.refs === ot ? t.refs = {} : t.refs;
|
|
@@ -2008,7 +2008,7 @@ function Tr(e, t, n, o, a = !1) {
|
|
|
2008
2008
|
v(c, m.k) && (c.value = null), m.k && (u[m.k] = null);
|
|
2009
2009
|
}
|
|
2010
2010
|
}
|
|
2011
|
-
if (
|
|
2011
|
+
if (je(l))
|
|
2012
2012
|
ri(l, s, 12, [i, u]);
|
|
2013
2013
|
else {
|
|
2014
2014
|
const m = ft(l), y = /* @__PURE__ */ yt(l);
|
|
@@ -2246,7 +2246,7 @@ const Xu = (e) => e ? og(e) ? ll(e) : Xu(e.parent) : null, $r = (
|
|
|
2246
2246
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
2247
2247
|
Qc(e.update);
|
|
2248
2248
|
}),
|
|
2249
|
-
$nextTick: (e) => e.n || (e.n =
|
|
2249
|
+
$nextTick: (e) => e.n || (e.n = Be.bind(e.proxy)),
|
|
2250
2250
|
$watch: (e) => v_.bind(e)
|
|
2251
2251
|
})
|
|
2252
2252
|
), ou = (e, t) => e !== ot && !e.__isScriptSetup && ut(e, t), T_ = {
|
|
@@ -2331,7 +2331,7 @@ function Lm(e, t) {
|
|
|
2331
2331
|
for (const o in t) {
|
|
2332
2332
|
if (o.startsWith("__skip")) continue;
|
|
2333
2333
|
let a = n[o];
|
|
2334
|
-
a ? $e(a) ||
|
|
2334
|
+
a ? $e(a) || je(a) ? a = n[o] = { type: a, default: t[o] } : a.default = t[o] : a === null && (a = n[o] = { default: t[o] }), a && t[`__skip_${o}`] && (a.skipFactory = !0);
|
|
2335
2335
|
}
|
|
2336
2336
|
return n;
|
|
2337
2337
|
}
|
|
@@ -2378,7 +2378,7 @@ function $_(e) {
|
|
|
2378
2378
|
if (c && I_(c, o, null), i)
|
|
2379
2379
|
for (const U in i) {
|
|
2380
2380
|
const ie = i[U];
|
|
2381
|
-
|
|
2381
|
+
je(ie) && (o[U] = ie.bind(n));
|
|
2382
2382
|
}
|
|
2383
2383
|
if (a) {
|
|
2384
2384
|
const U = a.call(n, n);
|
|
@@ -2386,7 +2386,7 @@ function $_(e) {
|
|
|
2386
2386
|
}
|
|
2387
2387
|
if (Qu = !0, r)
|
|
2388
2388
|
for (const U in r) {
|
|
2389
|
-
const ie = r[U], ge =
|
|
2389
|
+
const ie = r[U], ge = je(ie) ? ie.bind(n, n) : je(ie.get) ? ie.get.bind(n, n) : qn, be = !je(ie) && je(ie.set) ? ie.set.bind(n) : qn, Ee = S({
|
|
2390
2390
|
get: ge,
|
|
2391
2391
|
set: be
|
|
2392
2392
|
});
|
|
@@ -2401,7 +2401,7 @@ function $_(e) {
|
|
|
2401
2401
|
for (const U in s)
|
|
2402
2402
|
Fm(s[U], o, n, U);
|
|
2403
2403
|
if (l) {
|
|
2404
|
-
const U =
|
|
2404
|
+
const U = je(l) ? l.call(n) : l;
|
|
2405
2405
|
Reflect.ownKeys(U).forEach((ie) => {
|
|
2406
2406
|
Ye(ie, U[ie]);
|
|
2407
2407
|
});
|
|
@@ -2451,15 +2451,15 @@ function Fm(e, t, n, o) {
|
|
|
2451
2451
|
let a = o.includes(".") ? wm(n, o) : () => n[o];
|
|
2452
2452
|
if (ft(e)) {
|
|
2453
2453
|
const r = t[e];
|
|
2454
|
-
|
|
2455
|
-
} else if (
|
|
2454
|
+
je(r) && Q(a, r);
|
|
2455
|
+
} else if (je(e))
|
|
2456
2456
|
Q(a, e.bind(n));
|
|
2457
2457
|
else if (st(e))
|
|
2458
2458
|
if ($e(e))
|
|
2459
2459
|
e.forEach((r) => Fm(r, t, n, o));
|
|
2460
2460
|
else {
|
|
2461
|
-
const r =
|
|
2462
|
-
|
|
2461
|
+
const r = je(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
2462
|
+
je(r) && Q(a, r, e);
|
|
2463
2463
|
}
|
|
2464
2464
|
}
|
|
2465
2465
|
function zm(e) {
|
|
@@ -2519,8 +2519,8 @@ const D_ = {
|
|
|
2519
2519
|
function Lf(e, t) {
|
|
2520
2520
|
return t ? e ? function() {
|
|
2521
2521
|
return At(
|
|
2522
|
-
|
|
2523
|
-
|
|
2522
|
+
je(e) ? e.call(this, this) : e,
|
|
2523
|
+
je(t) ? t.call(this, this) : t
|
|
2524
2524
|
);
|
|
2525
2525
|
} : t : e;
|
|
2526
2526
|
}
|
|
@@ -2581,7 +2581,7 @@ function Bm() {
|
|
|
2581
2581
|
let N_ = 0;
|
|
2582
2582
|
function L_(e, t) {
|
|
2583
2583
|
return function(o, a = null) {
|
|
2584
|
-
|
|
2584
|
+
je(o) || (o = At({}, o)), a != null && !st(a) && (a = null);
|
|
2585
2585
|
const r = Bm(), i = /* @__PURE__ */ new WeakSet(), s = [];
|
|
2586
2586
|
let l = !1;
|
|
2587
2587
|
const c = r.app = {
|
|
@@ -2598,7 +2598,7 @@ function L_(e, t) {
|
|
|
2598
2598
|
set config(u) {
|
|
2599
2599
|
},
|
|
2600
2600
|
use(u, ...f) {
|
|
2601
|
-
return i.has(u) || (u &&
|
|
2601
|
+
return i.has(u) || (u && je(u.install) ? (i.add(u), u.install(c, ...f)) : je(u) && (i.add(u), u(c, ...f))), c;
|
|
2602
2602
|
},
|
|
2603
2603
|
mixin(u) {
|
|
2604
2604
|
return r.mixins.includes(u) || r.mixins.push(u), c;
|
|
@@ -2713,7 +2713,7 @@ function Vm(e, t, n = !1) {
|
|
|
2713
2713
|
return a;
|
|
2714
2714
|
const r = e.emits;
|
|
2715
2715
|
let i = {}, s = !1;
|
|
2716
|
-
if (!
|
|
2716
|
+
if (!je(e)) {
|
|
2717
2717
|
const l = (c) => {
|
|
2718
2718
|
const u = Vm(c, t, !0);
|
|
2719
2719
|
u && (s = !0, At(i, u));
|
|
@@ -2946,7 +2946,7 @@ function tc(e, t, n, o, a, r) {
|
|
|
2946
2946
|
const s = ut(i, "default");
|
|
2947
2947
|
if (s && o === void 0) {
|
|
2948
2948
|
const l = i.default;
|
|
2949
|
-
if (i.type !== Function && !i.skipFactory &&
|
|
2949
|
+
if (i.type !== Function && !i.skipFactory && je(l)) {
|
|
2950
2950
|
const { propsDefaults: c } = a;
|
|
2951
2951
|
if (n in c)
|
|
2952
2952
|
o = c[n];
|
|
@@ -2978,7 +2978,7 @@ function Zm(e, t, n = !1) {
|
|
|
2978
2978
|
return a;
|
|
2979
2979
|
const r = e.props, i = {}, s = [];
|
|
2980
2980
|
let l = !1;
|
|
2981
|
-
if (!
|
|
2981
|
+
if (!je(e)) {
|
|
2982
2982
|
const u = (f) => {
|
|
2983
2983
|
l = !0;
|
|
2984
2984
|
const [p, h] = Zm(f, t, !0);
|
|
@@ -2997,18 +2997,18 @@ function Zm(e, t, n = !1) {
|
|
|
2997
2997
|
for (const u in r) {
|
|
2998
2998
|
const f = Ft(u);
|
|
2999
2999
|
if (qf(f)) {
|
|
3000
|
-
const p = r[u], h = i[f] = $e(p) ||
|
|
3000
|
+
const p = r[u], h = i[f] = $e(p) || je(p) ? { type: p } : At({}, p), v = h.type;
|
|
3001
3001
|
let m = !1, y = !0;
|
|
3002
3002
|
if ($e(v))
|
|
3003
3003
|
for (let b = 0; b < v.length; ++b) {
|
|
3004
|
-
const C = v[b], k =
|
|
3004
|
+
const C = v[b], k = je(C) && C.name;
|
|
3005
3005
|
if (k === "Boolean") {
|
|
3006
3006
|
m = !0;
|
|
3007
3007
|
break;
|
|
3008
3008
|
} else k === "String" && (y = !1);
|
|
3009
3009
|
}
|
|
3010
3010
|
else
|
|
3011
|
-
m =
|
|
3011
|
+
m = je(v) && v.name === "Boolean";
|
|
3012
3012
|
h[
|
|
3013
3013
|
0
|
|
3014
3014
|
/* shouldCast */
|
|
@@ -3034,7 +3034,7 @@ const td = (e) => e === "_" || e === "_ctx" || e === "$stable", nd = (e) => $e(e
|
|
|
3034
3034
|
for (const a in e) {
|
|
3035
3035
|
if (td(a)) continue;
|
|
3036
3036
|
const r = e[a];
|
|
3037
|
-
if (
|
|
3037
|
+
if (je(r))
|
|
3038
3038
|
t[a] = H_(a, r, o);
|
|
3039
3039
|
else if (r != null) {
|
|
3040
3040
|
const i = nd(r);
|
|
@@ -3821,7 +3821,7 @@ function J_(e, t) {
|
|
|
3821
3821
|
}, Ne = (E) => {
|
|
3822
3822
|
const { type: $, el: L, anchor: G, transition: H } = E;
|
|
3823
3823
|
if ($ === xe) {
|
|
3824
|
-
|
|
3824
|
+
qe(L, G);
|
|
3825
3825
|
return;
|
|
3826
3826
|
}
|
|
3827
3827
|
if ($ === ru) {
|
|
@@ -3836,7 +3836,7 @@ function J_(e, t) {
|
|
|
3836
3836
|
ve ? ve(E.el, J, he) : he();
|
|
3837
3837
|
} else
|
|
3838
3838
|
J();
|
|
3839
|
-
},
|
|
3839
|
+
}, qe = (E, $) => {
|
|
3840
3840
|
let L;
|
|
3841
3841
|
for (; E !== $; )
|
|
3842
3842
|
L = p(E), a(E), E = L;
|
|
@@ -3995,7 +3995,7 @@ const ng = ({ key: e }) => e ?? null, ns = ({
|
|
|
3995
3995
|
ref: e,
|
|
3996
3996
|
ref_key: t,
|
|
3997
3997
|
ref_for: n
|
|
3998
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? ft(e) || /* @__PURE__ */ yt(e) ||
|
|
3998
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? ft(e) || /* @__PURE__ */ yt(e) || je(e) ? { i: Ut, r: e, k: t, f: !!n } : e : null);
|
|
3999
3999
|
function se(e, t = null, n = null, o = 0, a = null, r = e === xe ? 0 : 1, i = !1, s = !1) {
|
|
4000
4000
|
const l = {
|
|
4001
4001
|
__v_isVNode: !0,
|
|
@@ -4052,7 +4052,7 @@ function tx(e, t = null, n = null, o = 0, a = null, r = !1) {
|
|
|
4052
4052
|
let { class: s, style: l } = t;
|
|
4053
4053
|
s && !ft(s) && (t.class = fe(s)), st(l) && (/* @__PURE__ */ nl(l) && !$e(l) && (l = At({}, l)), t.style = Ge(l));
|
|
4054
4054
|
}
|
|
4055
|
-
const i = ft(e) ? 1 : eg(e) ? 128 : al(e) ? 64 : st(e) ? 4 :
|
|
4055
|
+
const i = ft(e) ? 1 : eg(e) ? 128 : al(e) ? 64 : st(e) ? 4 : je(e) ? 2 : 0;
|
|
4056
4056
|
return se(
|
|
4057
4057
|
e,
|
|
4058
4058
|
t,
|
|
@@ -4152,7 +4152,7 @@ function ws(e, t) {
|
|
|
4152
4152
|
const a = t._;
|
|
4153
4153
|
!a && !Km(t) ? t._ctx = Ut : a === 3 && Ut && (Ut.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
4154
4154
|
}
|
|
4155
|
-
else if (
|
|
4155
|
+
else if (je(t)) {
|
|
4156
4156
|
if (o & 65) {
|
|
4157
4157
|
ws(e, { default: t });
|
|
4158
4158
|
return;
|
|
@@ -4338,7 +4338,7 @@ function ix(e, t) {
|
|
|
4338
4338
|
ag(e);
|
|
4339
4339
|
}
|
|
4340
4340
|
function Wf(e, t, n) {
|
|
4341
|
-
|
|
4341
|
+
je(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : st(t) && (e.setupState = um(t)), ag(e);
|
|
4342
4342
|
}
|
|
4343
4343
|
function ag(e, t, n) {
|
|
4344
4344
|
const o = e.type;
|
|
@@ -4383,10 +4383,10 @@ function ll(e) {
|
|
|
4383
4383
|
})) : e.proxy;
|
|
4384
4384
|
}
|
|
4385
4385
|
function lx(e, t = !0) {
|
|
4386
|
-
return
|
|
4386
|
+
return je(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
4387
4387
|
}
|
|
4388
4388
|
function ux(e) {
|
|
4389
|
-
return
|
|
4389
|
+
return je(e) && "__vccOpts" in e;
|
|
4390
4390
|
}
|
|
4391
4391
|
const S = (e, t) => /* @__PURE__ */ s_(e, t, Kr);
|
|
4392
4392
|
function _e(e, t, n) {
|
|
@@ -4839,7 +4839,7 @@ e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Nx = (e, t, n, o, a, r) => {
|
|
|
4839
4839
|
};
|
|
4840
4840
|
function Lx(e, t, n, o) {
|
|
4841
4841
|
if (o)
|
|
4842
|
-
return !!(t === "innerHTML" || t === "textContent" || t in e && ap(t) &&
|
|
4842
|
+
return !!(t === "innerHTML" || t === "textContent" || t in e && ap(t) && je(n));
|
|
4843
4843
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "sandbox" && e.tagName === "IFRAME" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
4844
4844
|
return !1;
|
|
4845
4845
|
if (t === "width" || t === "height") {
|
|
@@ -4950,7 +4950,7 @@ const Kx = ((...e) => {
|
|
|
4950
4950
|
const a = Zx(o);
|
|
4951
4951
|
if (!a) return;
|
|
4952
4952
|
const r = t._component;
|
|
4953
|
-
!
|
|
4953
|
+
!je(r) && !r.render && !r.template && (r.template = a.innerHTML), a.nodeType === 1 && (a.textContent = "");
|
|
4954
4954
|
const i = n(a, !1, Hx(a));
|
|
4955
4955
|
return a instanceof Element && (a.removeAttribute("v-cloak"), a.setAttribute("data-v-app", "")), i;
|
|
4956
4956
|
}, t;
|
|
@@ -10241,9 +10241,9 @@ Note: state patches appear right after the elements that use them, so the UI fil
|
|
|
10241
10241
|
if (P) {
|
|
10242
10242
|
i.push(`AVAILABLE COMPONENTS (${e.componentNames.length}):`), i.push("");
|
|
10243
10243
|
for (const [be, Ee] of Object.entries(P)) {
|
|
10244
|
-
const ze = Ee.props ? Cn(Ee.props) : "{}", Ne = Ee.slots ?? [],
|
|
10244
|
+
const ze = Ee.props ? Cn(Ee.props) : "{}", Ne = Ee.slots ?? [], qe = Ne.filter((Le) => Le !== "default"), et = Ne.includes("default"), ue = h ? [
|
|
10245
10245
|
et ? "accepts children" : "",
|
|
10246
|
-
|
|
10246
|
+
qe.length > 0 ? `slots: ${qe.join(", ")}` : ""
|
|
10247
10247
|
].filter(Boolean).join("; ") : Ne.length > 0 ? "accepts children" : "", ae = ue ? ` [${ue}]` : "", pe = Ee.events && Ee.events.length > 0 ? ` [events: ${Ee.events.join(", ")}]` : "", ne = Ee.description ? ` - ${Ee.description}` : "";
|
|
10248
10248
|
i.push(`- ${be}: ${ze}${ne}${ae}${pe}`);
|
|
10249
10249
|
}
|
|
@@ -14969,7 +14969,7 @@ function qt(e, t, n, o = {}) {
|
|
|
14969
14969
|
const C = /* @__PURE__ */ N(y());
|
|
14970
14970
|
let k = !1;
|
|
14971
14971
|
return Q(() => e[t], (w) => {
|
|
14972
|
-
k || (k = !0, C.value = m(w),
|
|
14972
|
+
k || (k = !0, C.value = m(w), Be(() => k = !1));
|
|
14973
14973
|
}), Q(C, (w) => {
|
|
14974
14974
|
!k && (w !== e[t] || c) && b(w);
|
|
14975
14975
|
}, { deep: c }), C;
|
|
@@ -15186,7 +15186,7 @@ const RT = ["value", "type", "name", "placeholder", "disabled", "readonly"], MT
|
|
|
15186
15186
|
)
|
|
15187
15187
|
);
|
|
15188
15188
|
DT(() => u.value ? void 0 : "sm");
|
|
15189
|
-
const h =
|
|
15189
|
+
const h = Ve("control"), { controlAttrs: v, wrapperAttrs: m, changed: y, invalid: b } = Xa({
|
|
15190
15190
|
value: () => n.modelValue,
|
|
15191
15191
|
disabled: () => o.value,
|
|
15192
15192
|
id: () => n.id,
|
|
@@ -15666,7 +15666,7 @@ class YT {
|
|
|
15666
15666
|
restoreFocus(t) {
|
|
15667
15667
|
if (!this.canFocus()) return;
|
|
15668
15668
|
const n = this.closingFocusTarget ?? t;
|
|
15669
|
-
|
|
15669
|
+
Be(() => {
|
|
15670
15670
|
this.canFocus() && (n?.isConnected && this.belongs(n) && !n.closest("[inert]") ? Sa(n) : Sa(this.top?.element ?? this.root.value));
|
|
15671
15671
|
});
|
|
15672
15672
|
}
|
|
@@ -15718,10 +15718,18 @@ class YT {
|
|
|
15718
15718
|
o.has(a) || (r(), this.hidden.delete(a));
|
|
15719
15719
|
for (const a of o) {
|
|
15720
15720
|
if (this.hidden.has(a)) continue;
|
|
15721
|
-
const r = yh(a, "
|
|
15722
|
-
|
|
15723
|
-
r
|
|
15724
|
-
|
|
15721
|
+
const r = yh(a, "aria-hidden", "true");
|
|
15722
|
+
if (a === n)
|
|
15723
|
+
this.hidden.set(a, r), Be(() => {
|
|
15724
|
+
const i = a.ownerDocument.activeElement;
|
|
15725
|
+
this.hidden.has(a) && i && a.contains(i) && i.blur();
|
|
15726
|
+
});
|
|
15727
|
+
else {
|
|
15728
|
+
const i = yh(a, "inert", "");
|
|
15729
|
+
this.hidden.set(a, () => {
|
|
15730
|
+
i(), r();
|
|
15731
|
+
});
|
|
15732
|
+
}
|
|
15725
15733
|
}
|
|
15726
15734
|
}
|
|
15727
15735
|
keydown = (t) => {
|
|
@@ -15746,7 +15754,7 @@ class YT {
|
|
|
15746
15754
|
const r = this.top;
|
|
15747
15755
|
if (!r || r.element.contains(n) || [...this.branches].some((s) => s.contains(n))) return;
|
|
15748
15756
|
const i = new CustomEvent("dismissableLayer.pointerDownOutside", { cancelable: !0, detail: { originalEvent: t } });
|
|
15749
|
-
Object.defineProperty(i, "target", { value: n }), r.emits("pointerDownOutside", i), r.emits("interactOutside", i),
|
|
15757
|
+
Object.defineProperty(i, "target", { value: n }), r.emits("pointerDownOutside", i), r.emits("interactOutside", i), Be(() => {
|
|
15750
15758
|
!i.defaultPrevented && this.top === r && r.emits("dismiss");
|
|
15751
15759
|
});
|
|
15752
15760
|
};
|
|
@@ -15767,7 +15775,7 @@ class YT {
|
|
|
15767
15775
|
Q([t, n], ([r, i], s, l) => {
|
|
15768
15776
|
if (!r || !i || this.disposed) return;
|
|
15769
15777
|
const c = r.ownerDocument.activeElement, u = this.belongs(c) || this.pointerIntent, f = { element: r, trapped: o(), requestedEpoch: u ? this.focusEpoch : void 0 };
|
|
15770
|
-
this.scopes.push(f),
|
|
15778
|
+
this.scopes.push(f), Be(() => {
|
|
15771
15779
|
if (this.disposed || !this.scopes.includes(f)) return;
|
|
15772
15780
|
const p = new Event("focusScope.autoFocusOnMount", { cancelable: !0 });
|
|
15773
15781
|
u || p.preventDefault(), a("mountAutoFocus", p);
|
|
@@ -15777,7 +15785,7 @@ class YT {
|
|
|
15777
15785
|
const p = this.canFocus();
|
|
15778
15786
|
this.scopes = this.scopes.filter((v) => v !== f);
|
|
15779
15787
|
const h = new Event("focusScope.autoFocusOnUnmount", { cancelable: !0 });
|
|
15780
|
-
(!p || this.disposed) && h.preventDefault(), this.closingFocusTarget = c, a("unmountAutoFocus", h), this.closingFocusTarget = void 0,
|
|
15788
|
+
(!p || this.disposed) && h.preventDefault(), this.closingFocusTarget = c, a("unmountAutoFocus", h), this.closingFocusTarget = void 0, Be(() => {
|
|
15781
15789
|
!h.defaultPrevented && p && !this.disposed && this.restoreFocus(c);
|
|
15782
15790
|
});
|
|
15783
15791
|
});
|
|
@@ -15852,7 +15860,7 @@ const Xy = JT(), bh = /* @__PURE__ */ Symbol("useBodyScrollLock"), XT = /* @__PU
|
|
|
15852
15860
|
padding: 0,
|
|
15853
15861
|
margin: 0
|
|
15854
15862
|
};
|
|
15855
|
-
v > 0 && (document.body.style.paddingRight = typeof y.padding == "number" ? `${y.padding}px` : String(y.padding), document.body.style.marginRight = typeof y.margin == "number" ? `${y.margin}px` : String(y.margin), document.documentElement.style.setProperty("--scrollbar-width", `${v}px`), document.body.style.overflow = "hidden"), ch && (r = ct(document, "touchmove", (b) => QT(b), { passive: !1 })),
|
|
15863
|
+
v > 0 && (document.body.style.paddingRight = typeof y.padding == "number" ? `${y.padding}px` : String(y.padding), document.body.style.marginRight = typeof y.margin == "number" ? `${y.margin}px` : String(y.margin), document.documentElement.style.setProperty("--scrollbar-width", `${v}px`), document.body.style.overflow = "hidden"), ch && (r = ct(document, "touchmove", (b) => QT(b), { passive: !1 })), Be(() => {
|
|
15856
15864
|
o.value && (Gy(document, bh), document.body.style.overflow = "hidden");
|
|
15857
15865
|
});
|
|
15858
15866
|
}, {
|
|
@@ -15900,7 +15908,7 @@ function o$(e) {
|
|
|
15900
15908
|
l.data && (e$.test(l.data) ? (n.value = !0, o.value = !0) : n$() && !o.value && (n.value = !1));
|
|
15901
15909
|
}
|
|
15902
15910
|
function s(l) {
|
|
15903
|
-
|
|
15911
|
+
Be(() => {
|
|
15904
15912
|
t.value = !1, e?.(l);
|
|
15905
15913
|
});
|
|
15906
15914
|
}
|
|
@@ -16367,7 +16375,7 @@ function b$(e, t) {
|
|
|
16367
16375
|
};
|
|
16368
16376
|
Q(e, async (y, b) => {
|
|
16369
16377
|
const C = b !== y;
|
|
16370
|
-
if (await
|
|
16378
|
+
if (await Be(), C) {
|
|
16371
16379
|
const k = o.value, w = ji(t.value);
|
|
16372
16380
|
y ? (c("MOUNT"), u("enter"), w === "none" && u("after-enter")) : w === "none" || w === "undefined" || n.value?.display === "none" ? (c("UNMOUNT"), u("leave"), u("after-leave")) : b && k !== w ? (c("ANIMATION_OUT"), u("leave")) : (c("UNMOUNT"), u("after-leave"));
|
|
16373
16381
|
}
|
|
@@ -16608,7 +16616,7 @@ function T$(e, t, n = !0) {
|
|
|
16608
16616
|
if (!wn || !Ie(n)) return;
|
|
16609
16617
|
const r = t?.value?.ownerDocument ?? globalThis.document, i = async (s) => {
|
|
16610
16618
|
if (!t?.value) return;
|
|
16611
|
-
await
|
|
16619
|
+
await Be(), await Be();
|
|
16612
16620
|
const l = s.target;
|
|
16613
16621
|
!t.value || !l || ob(t.value, l) || s.target && !o.value && vi(A$, e, { originalEvent: s });
|
|
16614
16622
|
};
|
|
@@ -16666,7 +16674,7 @@ var $$ = /* @__PURE__ */ j({
|
|
|
16666
16674
|
return c.value >= y;
|
|
16667
16675
|
}), p = O$(async (v) => {
|
|
16668
16676
|
const m = [...So.branches].some((y) => y?.contains(v.target));
|
|
16669
|
-
!n.present || !f.value || m || (o("pointerDownOutside", v), o("interactOutside", v), await
|
|
16677
|
+
!n.present || !f.value || m || (o("pointerDownOutside", v), o("interactOutside", v), await Be(), v.defaultPrevented || o("dismiss"));
|
|
16670
16678
|
}, r, () => n.present), h = T$((v) => {
|
|
16671
16679
|
const m = [...So.branches].some((y) => y?.contains(v.target));
|
|
16672
16680
|
!n.present || m || (o("focusOutside", v), o("interactOutside", v), v.defaultPrevented || o("dismiss"));
|
|
@@ -16864,7 +16872,7 @@ var z$ = /* @__PURE__ */ j({
|
|
|
16864
16872
|
}
|
|
16865
16873
|
Bt(async (p) => {
|
|
16866
16874
|
const h = r.value;
|
|
16867
|
-
if (await
|
|
16875
|
+
if (await Be(), !h) return;
|
|
16868
16876
|
n.present !== !1 && l.add(c);
|
|
16869
16877
|
const v = vt();
|
|
16870
16878
|
!h.contains(v) && n.present !== !1 && u(h, v), p(() => {
|
|
@@ -16882,7 +16890,7 @@ var z$ = /* @__PURE__ */ j({
|
|
|
16882
16890
|
return;
|
|
16883
16891
|
}
|
|
16884
16892
|
if (p !== !0 || h !== !1) return;
|
|
16885
|
-
l.add(c), await
|
|
16893
|
+
l.add(c), await Be();
|
|
16886
16894
|
const v = r.value;
|
|
16887
16895
|
if (!v) return;
|
|
16888
16896
|
const m = vt();
|
|
@@ -17854,12 +17862,12 @@ var EI = /* @__PURE__ */ j({
|
|
|
17854
17862
|
B.value = !0;
|
|
17855
17863
|
}
|
|
17856
17864
|
function Ne() {
|
|
17857
|
-
|
|
17865
|
+
Be(() => {
|
|
17858
17866
|
B.value = !1;
|
|
17859
17867
|
});
|
|
17860
17868
|
}
|
|
17861
|
-
function
|
|
17862
|
-
|
|
17869
|
+
function qe() {
|
|
17870
|
+
Be(() => {
|
|
17863
17871
|
const E = new KeyboardEvent("keydown", { key: "PageUp" });
|
|
17864
17872
|
pe(E);
|
|
17865
17873
|
});
|
|
@@ -17925,7 +17933,7 @@ var EI = /* @__PURE__ */ j({
|
|
|
17925
17933
|
}
|
|
17926
17934
|
async function Le(E, $ = !0) {
|
|
17927
17935
|
if (wn)
|
|
17928
|
-
if (await
|
|
17936
|
+
if (await Be(), M.value) W.trigger({
|
|
17929
17937
|
event: E,
|
|
17930
17938
|
scroll: $
|
|
17931
17939
|
});
|
|
@@ -17938,7 +17946,7 @@ var EI = /* @__PURE__ */ j({
|
|
|
17938
17946
|
return Q(P, () => {
|
|
17939
17947
|
if (!T.value) {
|
|
17940
17948
|
const E = nt;
|
|
17941
|
-
nt = !0,
|
|
17949
|
+
nt = !0, Be(() => {
|
|
17942
17950
|
Le(void 0, E);
|
|
17943
17951
|
});
|
|
17944
17952
|
}
|
|
@@ -17948,7 +17956,7 @@ var EI = /* @__PURE__ */ j({
|
|
|
17948
17956
|
}), t({
|
|
17949
17957
|
highlightedElement: _,
|
|
17950
17958
|
highlightItem: ge,
|
|
17951
|
-
highlightFirstItem:
|
|
17959
|
+
highlightFirstItem: qe,
|
|
17952
17960
|
highlightSelected: Le,
|
|
17953
17961
|
getItems: p
|
|
17954
17962
|
}), SI({
|
|
@@ -17977,7 +17985,7 @@ var EI = /* @__PURE__ */ j({
|
|
|
17977
17985
|
onKeydownTypeAhead: Ee,
|
|
17978
17986
|
onCompositionStart: ze,
|
|
17979
17987
|
onCompositionEnd: Ne,
|
|
17980
|
-
highlightFirstItem:
|
|
17988
|
+
highlightFirstItem: qe
|
|
17981
17989
|
}), (E, $) => (g(), F(d(Re), {
|
|
17982
17990
|
ref_key: "primitiveElement",
|
|
17983
17991
|
ref: m,
|
|
@@ -17988,7 +17996,7 @@ var EI = /* @__PURE__ */ j({
|
|
|
17988
17996
|
onPointerleave: et,
|
|
17989
17997
|
onFocusout: $[0] || ($[0] = async (L) => {
|
|
17990
17998
|
const G = L.relatedTarget || L.target;
|
|
17991
|
-
await
|
|
17999
|
+
await Be(), _.value && d(y) && !d(y).contains(G) && et(L);
|
|
17992
18000
|
})
|
|
17993
18001
|
}, {
|
|
17994
18002
|
default: R(() => [z(E.$slots, "default", { modelValue: d(P) }), d(w) && e.name ? (g(), F(d(bi), {
|
|
@@ -20018,7 +20026,7 @@ var XD = /* @__PURE__ */ j({
|
|
|
20018
20026
|
const y = m.indexOf(h.currentTarget);
|
|
20019
20027
|
m = n.loop.value ? xI(m, y + 1) : m.slice(y + 1);
|
|
20020
20028
|
}
|
|
20021
|
-
|
|
20029
|
+
Be(() => lb(m));
|
|
20022
20030
|
}
|
|
20023
20031
|
}
|
|
20024
20032
|
const { forwardRef: c, currentElement: u } = Ce(), f = /* @__PURE__ */ Ct();
|
|
@@ -20531,7 +20539,7 @@ var hR = /* @__PURE__ */ j({
|
|
|
20531
20539
|
const ze = y.value?.getItems() ?? [];
|
|
20532
20540
|
if (U && (q.key === "Tab" && r.modal.value && q.preventDefault(), !ge && be && !ie && k(q.key, ze)), q.target !== C.value || !V$.includes(q.key)) return;
|
|
20533
20541
|
q.preventDefault();
|
|
20534
|
-
const Ne = [...ze.map((
|
|
20542
|
+
const Ne = [...ze.map((qe) => qe.ref)];
|
|
20535
20543
|
rb.includes(q.key) && Ne.reverse(), Sc(Ne);
|
|
20536
20544
|
}
|
|
20537
20545
|
function M(q) {
|
|
@@ -20687,7 +20695,7 @@ var hR = /* @__PURE__ */ j({
|
|
|
20687
20695
|
}
|
|
20688
20696
|
}
|
|
20689
20697
|
async function c(u) {
|
|
20690
|
-
if (await
|
|
20698
|
+
if (await Be(), u.defaultPrevented || !Ka(u) || n.highlightedElement.value !== a.value) return;
|
|
20691
20699
|
!n.onItemLeave(u) && n.highlightedElement.value === a.value && (n.highlightedElement.value = void 0);
|
|
20692
20700
|
}
|
|
20693
20701
|
return (u, f) => (g(), F(d(r), { value: { textValue: e.textValue } }, {
|
|
@@ -20705,10 +20713,10 @@ var hR = /* @__PURE__ */ j({
|
|
|
20705
20713
|
onPointerleave: c,
|
|
20706
20714
|
onFocus: f[0] || (f[0] = async (p) => {
|
|
20707
20715
|
const h = p.currentTarget;
|
|
20708
|
-
await
|
|
20716
|
+
await Be(), !(p.defaultPrevented || e.disabled) && (i.value = !0, d(n).highlightedElement.value = h);
|
|
20709
20717
|
}),
|
|
20710
20718
|
onBlur: f[1] || (f[1] = async (p) => {
|
|
20711
|
-
await
|
|
20719
|
+
await Be(), !p.defaultPrevented && (i.value = !1);
|
|
20712
20720
|
})
|
|
20713
20721
|
}), {
|
|
20714
20722
|
default: R(() => [z(u.$slots, "default")]),
|
|
@@ -20753,7 +20761,7 @@ var hR = /* @__PURE__ */ j({
|
|
|
20753
20761
|
bubbles: !0,
|
|
20754
20762
|
cancelable: !0
|
|
20755
20763
|
});
|
|
20756
|
-
o("select", f), await
|
|
20764
|
+
o("select", f), await Be(), f.defaultPrevented ? l.value = !1 : i.onClose();
|
|
20757
20765
|
}
|
|
20758
20766
|
}
|
|
20759
20767
|
return (u, f) => (g(), F(kb, de(n, {
|
|
@@ -20763,7 +20771,7 @@ var hR = /* @__PURE__ */ j({
|
|
|
20763
20771
|
l.value = !0;
|
|
20764
20772
|
}),
|
|
20765
20773
|
onPointerup: f[1] || (f[1] = async (p) => {
|
|
20766
|
-
await
|
|
20774
|
+
await Be(), !p.defaultPrevented && (l.value || p.currentTarget?.click());
|
|
20767
20775
|
}),
|
|
20768
20776
|
onKeydown: f[2] || (f[2] = async (p) => {
|
|
20769
20777
|
const h = d(s).searchRef.value !== "";
|
|
@@ -21605,7 +21613,7 @@ var VR = /* @__PURE__ */ j({
|
|
|
21605
21613
|
}
|
|
21606
21614
|
async function f(p) {
|
|
21607
21615
|
const h = i.searchRef.value !== "";
|
|
21608
|
-
t.disabled || h && p.key === " " || j$[a.dir.value].includes(p.key) && (o.onOpenChange(!0), await
|
|
21616
|
+
t.disabled || h && p.key === " " || j$[a.dir.value].includes(p.key) && (o.onOpenChange(!0), await Be(), o.content.value?.focus(), p.preventDefault());
|
|
21609
21617
|
}
|
|
21610
21618
|
return (p, h) => (g(), F(xb, { "as-child": "" }, {
|
|
21611
21619
|
default: R(() => [K(kb, de(d(n), {
|
|
@@ -22027,7 +22035,7 @@ function mM(e) {
|
|
|
22027
22035
|
}, be = 0, Ee = null, ze = {
|
|
22028
22036
|
x: 0,
|
|
22029
22037
|
y: 0
|
|
22030
|
-
}, Ne = null,
|
|
22038
|
+
}, Ne = null, qe = null, et = !1;
|
|
22031
22039
|
function ue(ee, Y) {
|
|
22032
22040
|
return typeof a == "function" ? Math.max(0, a({
|
|
22033
22041
|
element: ee,
|
|
@@ -22073,7 +22081,7 @@ function mM(e) {
|
|
|
22073
22081
|
}, Ne = null;
|
|
22074
22082
|
}
|
|
22075
22083
|
function E() {
|
|
22076
|
-
nt(), W = !1, q = null, Z = null, U = !1, ie = !1,
|
|
22084
|
+
nt(), W = !1, q = null, Z = null, U = !1, ie = !1, qe = null, et = !1;
|
|
22077
22085
|
}
|
|
22078
22086
|
function $(ee, Y) {
|
|
22079
22087
|
nt(), QR(ee), A = Y, B = Y, ge = {
|
|
@@ -22156,7 +22164,7 @@ function mM(e) {
|
|
|
22156
22164
|
$(me, {
|
|
22157
22165
|
x: ee.clientX,
|
|
22158
22166
|
y: ee.clientY
|
|
22159
|
-
}),
|
|
22167
|
+
}), qe = ee.pointerId, et = !0;
|
|
22160
22168
|
try {
|
|
22161
22169
|
me.setPointerCapture(ee.pointerId);
|
|
22162
22170
|
} catch {
|
|
@@ -22164,7 +22172,7 @@ function mM(e) {
|
|
|
22164
22172
|
}
|
|
22165
22173
|
}
|
|
22166
22174
|
function ve(ee) {
|
|
22167
|
-
if (!et || ee.pointerId !==
|
|
22175
|
+
if (!et || ee.pointerId !== qe) return;
|
|
22168
22176
|
const Y = t.value;
|
|
22169
22177
|
if (Y) {
|
|
22170
22178
|
if ((ee.buttons & 1) === 0) {
|
|
@@ -22178,7 +22186,7 @@ function mM(e) {
|
|
|
22178
22186
|
}
|
|
22179
22187
|
}
|
|
22180
22188
|
function he(ee) {
|
|
22181
|
-
if (!et || ee.pointerId !==
|
|
22189
|
+
if (!et || ee.pointerId !== qe) return;
|
|
22182
22190
|
const Y = t.value;
|
|
22183
22191
|
if (!Y) {
|
|
22184
22192
|
E();
|
|
@@ -22360,7 +22368,7 @@ var gM = /* @__PURE__ */ j({
|
|
|
22360
22368
|
onDismiss() {
|
|
22361
22369
|
if (!u.value) {
|
|
22362
22370
|
if (!a.onOpenChange(!1, "swipe")) return !1;
|
|
22363
|
-
|
|
22371
|
+
Be(() => {
|
|
22364
22372
|
a.open.value && v();
|
|
22365
22373
|
});
|
|
22366
22374
|
}
|
|
@@ -23067,7 +23075,7 @@ function zM(e) {
|
|
|
23067
23075
|
function Ne($) {
|
|
23068
23076
|
B && r && r === $.target && r.focus({ preventScroll: !0 });
|
|
23069
23077
|
}
|
|
23070
|
-
function
|
|
23078
|
+
function qe($) {
|
|
23071
23079
|
if (c = !1, q(), !ge($.target)) {
|
|
23072
23080
|
ie();
|
|
23073
23081
|
return;
|
|
@@ -23143,8 +23151,8 @@ function zM(e) {
|
|
|
23143
23151
|
}
|
|
23144
23152
|
NM(H.clickTarget, L), H.clickTarget !== H.focusTarget && vt() === H.focusTarget && H.focusTarget.focus({ preventScroll: !0 }), ne();
|
|
23145
23153
|
}
|
|
23146
|
-
C.addEventListener("focus", Ne, !0), C.addEventListener("focusin",
|
|
23147
|
-
C.removeEventListener("focus", Ne, !0), C.removeEventListener("focusin",
|
|
23154
|
+
C.addEventListener("focus", Ne, !0), C.addEventListener("focusin", qe, !0), C.addEventListener("focusout", et, !0), C.addEventListener("pointerdown", pe, !0), k.addEventListener("scroll", ae), k.visualViewport?.addEventListener("resize", ue), k.visualViewport?.addEventListener("scroll", ue), k.visualViewport && k.addEventListener("resize", ue), b.addEventListener("touchstart", Le, { passive: !0 }), b.addEventListener("touchmove", nt, { passive: !0 }), b.addEventListener("touchend", E), b.addEventListener("touchcancel", ne), ge(vt()) && Ee(), y(() => {
|
|
23155
|
+
C.removeEventListener("focus", Ne, !0), C.removeEventListener("focusin", qe, !0), C.removeEventListener("focusout", et, !0), C.removeEventListener("pointerdown", pe, !0), k.removeEventListener("scroll", ae), k.visualViewport?.removeEventListener("resize", ue), k.visualViewport?.removeEventListener("scroll", ue), k.removeEventListener("resize", ue), b.removeEventListener("touchstart", Le), b.removeEventListener("touchmove", nt), b.removeEventListener("touchend", E), b.removeEventListener("touchcancel", ne), q(), ne(), ie(), O?.remove(), b.style.removeProperty(xt.keyboardInset);
|
|
23148
23156
|
});
|
|
23149
23157
|
});
|
|
23150
23158
|
}
|
|
@@ -23754,7 +23762,7 @@ var UM = /* @__PURE__ */ j({
|
|
|
23754
23762
|
disabled: e.disabled,
|
|
23755
23763
|
"data-state": d(n).open.value ? "open" : "closed",
|
|
23756
23764
|
onClick: i[0] || (i[0] = async (s) => {
|
|
23757
|
-
s.defaultPrevented || !e.disabled && s.button === 0 && s.ctrlKey === !1 && (d(n)?.onOpenToggle(), await
|
|
23765
|
+
s.defaultPrevented || !e.disabled && s.button === 0 && s.ctrlKey === !1 && (d(n)?.onOpenToggle(), await Be(), d(n).open.value && s.preventDefault());
|
|
23758
23766
|
}),
|
|
23759
23767
|
onKeydown: i[1] || (i[1] = jn((s) => {
|
|
23760
23768
|
e.disabled || s.defaultPrevented || (["Enter", " "].includes(s.key) && d(n).onOpenToggle(), s.key === "ArrowDown" && d(n).onOpenChange(!0), [
|
|
@@ -24765,24 +24773,24 @@ var VN = /* @__PURE__ */ j({
|
|
|
24765
24773
|
const ae = w.right - T.right, pe = window.innerWidth - x.right - ae, ne = window.innerWidth - k.right - pe, Le = k.width + ne, nt = Math.max(Le, w.width), E = window.innerWidth - kn, $ = hh(pe, kn, Math.max(kn, E - nt));
|
|
24766
24774
|
c.value.style.minWidth = `${Le}px`, c.value.style.right = `${$}px`;
|
|
24767
24775
|
}
|
|
24768
|
-
const A = a().map((ae) => ae.ref), P = window.innerHeight - kn * 2, O = p.value.scrollHeight, _ = window.getComputedStyle(f.value), D = Number.parseInt(_.borderTopWidth, 10), M = Number.parseInt(_.paddingTop, 10), B = Number.parseInt(_.borderBottomWidth, 10), W = Number.parseInt(_.paddingBottom, 10), q = D + M + O + W + B, Z = Math.min(h.value.offsetHeight * 5, q), U = window.getComputedStyle(p.value), ie = Number.parseInt(U.paddingTop, 10), ge = Number.parseInt(U.paddingBottom, 10), be = k.top + k.height / 2 - kn, Ee = P - be, ze = h.value.offsetHeight / 2, Ne = h.value.offsetTop + ze,
|
|
24769
|
-
if (
|
|
24776
|
+
const A = a().map((ae) => ae.ref), P = window.innerHeight - kn * 2, O = p.value.scrollHeight, _ = window.getComputedStyle(f.value), D = Number.parseInt(_.borderTopWidth, 10), M = Number.parseInt(_.paddingTop, 10), B = Number.parseInt(_.borderBottomWidth, 10), W = Number.parseInt(_.paddingBottom, 10), q = D + M + O + W + B, Z = Math.min(h.value.offsetHeight * 5, q), U = window.getComputedStyle(p.value), ie = Number.parseInt(U.paddingTop, 10), ge = Number.parseInt(U.paddingBottom, 10), be = k.top + k.height / 2 - kn, Ee = P - be, ze = h.value.offsetHeight / 2, Ne = h.value.offsetTop + ze, qe = D + M + Ne, et = q - qe;
|
|
24777
|
+
if (qe <= be) {
|
|
24770
24778
|
const ae = h.value === A.at(-1);
|
|
24771
24779
|
c.value.style.bottom = "0px";
|
|
24772
|
-
const pe = f.value.clientHeight - p.value.offsetTop - p.value.offsetHeight, ne = Math.max(Ee, ze + (ae ? ge : 0) + pe + B), Le =
|
|
24780
|
+
const pe = f.value.clientHeight - p.value.offsetTop - p.value.offsetHeight, ne = Math.max(Ee, ze + (ae ? ge : 0) + pe + B), Le = qe + ne;
|
|
24773
24781
|
c.value.style.height = `${Le}px`;
|
|
24774
24782
|
} else {
|
|
24775
24783
|
const ae = h.value === A[0];
|
|
24776
24784
|
c.value.style.top = "0px";
|
|
24777
24785
|
const ne = Math.max(be, D + p.value.offsetTop + (ae ? ie : 0) + ze) + et;
|
|
24778
|
-
c.value.style.height = `${ne}px`, p.value.scrollTop =
|
|
24786
|
+
c.value.style.height = `${ne}px`, p.value.scrollTop = qe - be + p.value.offsetTop;
|
|
24779
24787
|
}
|
|
24780
24788
|
c.value.style.margin = `${kn}px 0`, c.value.style.minHeight = `${Z}px`, c.value.style.maxHeight = `${P}px`, o("placed"), requestAnimationFrame(() => s.value = !0);
|
|
24781
24789
|
}
|
|
24782
24790
|
}
|
|
24783
24791
|
const b = /* @__PURE__ */ N("");
|
|
24784
24792
|
We(async () => {
|
|
24785
|
-
await
|
|
24793
|
+
await Be(), y(), f.value && (b.value = window.getComputedStyle(f.value).zIndex);
|
|
24786
24794
|
});
|
|
24787
24795
|
function C(k) {
|
|
24788
24796
|
k && l.value === !0 && (y(), m?.(), l.value = !1);
|
|
@@ -25061,16 +25069,16 @@ var nL = /* @__PURE__ */ j({
|
|
|
25061
25069
|
vi(v, y, x);
|
|
25062
25070
|
}
|
|
25063
25071
|
async function y(w) {
|
|
25064
|
-
await
|
|
25072
|
+
await Be(), o("select", w), !w.defaultPrevented && (a.value || (r.onValueChange(n.value), r.multiple.value || r.onOpenChange(!1)));
|
|
25065
25073
|
}
|
|
25066
25074
|
async function b(w) {
|
|
25067
|
-
await
|
|
25075
|
+
await Be(), !w.defaultPrevented && (a.value ? i.onItemLeave?.() : w.currentTarget?.focus({ preventScroll: !0 }));
|
|
25068
25076
|
}
|
|
25069
25077
|
async function C(w) {
|
|
25070
|
-
await
|
|
25078
|
+
await Be(), !w.defaultPrevented && w.currentTarget === vt() && i.onItemLeave?.();
|
|
25071
25079
|
}
|
|
25072
25080
|
async function k(w) {
|
|
25073
|
-
await
|
|
25081
|
+
await Be(), !(w.defaultPrevented || i.searchRef?.value !== "" && w.key === " ") && (PN.includes(w.key) && m(w), w.key === " " && w.preventDefault());
|
|
25074
25082
|
}
|
|
25075
25083
|
if (n.value === "") throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");
|
|
25076
25084
|
return We(() => {
|
|
@@ -26495,7 +26503,7 @@ function Qd(e, t = {}) {
|
|
|
26495
26503
|
const h = document.activeElement;
|
|
26496
26504
|
h !== s && (h instanceof HTMLElement && h !== document.body && h.isConnected && !u?.contains(h) || (!u?.isConnected && !s.closest("[inert]") && s.focus({ preventScroll: !0 }), !(document.activeElement === s || f++ >= uF) && fF(p)));
|
|
26497
26505
|
};
|
|
26498
|
-
|
|
26506
|
+
Be(p);
|
|
26499
26507
|
};
|
|
26500
26508
|
}
|
|
26501
26509
|
function aw(e) {
|
|
@@ -26737,7 +26745,7 @@ const ef = /* @__PURE__ */ j({
|
|
|
26737
26745
|
},
|
|
26738
26746
|
{ enabled: () => o.backDismiss ?? s.value }
|
|
26739
26747
|
);
|
|
26740
|
-
const k = S(() => ["auto", "large", "full"].includes(o.height) ? o.height : "custom"), w = S(() => k.value === "custom" ? { "--ui-bottom-sheet-height": o.height } : void 0), x = S(() => !!(o.title || o.description || i.header) || o.showClose), T = () => rw(i.default), A =
|
|
26748
|
+
const k = S(() => ["auto", "large", "full"].includes(o.height) ? o.height : "custom"), w = S(() => k.value === "custom" ? { "--ui-bottom-sheet-height": o.height } : void 0), x = S(() => !!(o.title || o.description || i.header) || o.showClose), T = () => rw(i.default), A = Ve("anchor");
|
|
26741
26749
|
function P(D) {
|
|
26742
26750
|
if (a("openAutoFocus", D), D.defaultPrevented) return;
|
|
26743
26751
|
const M = A.value?.closest("[data-ui-bottom-sheet]");
|
|
@@ -27364,7 +27372,7 @@ const UF = {
|
|
|
27364
27372
|
},
|
|
27365
27373
|
emits: ["update:modelValue"],
|
|
27366
27374
|
setup(e, { emit: t }) {
|
|
27367
|
-
const n = e, o = ha(() => a.disabled), a = Zn(n, { placeholder: "Select…", searchPlaceholder: "Search…", notFoundText: "No results", loadingText: "Loading…" }), r = t, i = /* @__PURE__ */ N(""), s = /* @__PURE__ */ N(!1), l =
|
|
27375
|
+
const n = e, o = ha(() => a.disabled), a = Zn(n, { placeholder: "Select…", searchPlaceholder: "Search…", notFoundText: "No results", loadingText: "Loading…" }), r = t, i = /* @__PURE__ */ N(""), s = /* @__PURE__ */ N(!1), l = Ve("searchInput"), c = Ve("trigger"), u = Ve("viewport"), f = S(() => a.search !== !1), p = /* @__PURE__ */ N(!1), { groups: h, searching: v } = WF({
|
|
27368
27376
|
options: () => a.options,
|
|
27369
27377
|
search: () => a.search,
|
|
27370
27378
|
query: i,
|
|
@@ -27650,7 +27658,7 @@ const ww = /* @__PURE__ */ j({
|
|
|
27650
27658
|
setup(e) {
|
|
27651
27659
|
const t = e;
|
|
27652
27660
|
hz();
|
|
27653
|
-
const n =
|
|
27661
|
+
const n = Ve("wrapper"), o = S(() => t.target ?? n.value ?? null), a = /* @__PURE__ */ Ct(null), r = /* @__PURE__ */ N(""), i = /* @__PURE__ */ N(!1), s = _i(a, () => i.value);
|
|
27654
27662
|
let l;
|
|
27655
27663
|
Q(i, (w) => {
|
|
27656
27664
|
w ? bw() : Vs();
|
|
@@ -27938,7 +27946,7 @@ function lo(e, t = {}) {
|
|
|
27938
27946
|
function l() {
|
|
27939
27947
|
if (!i) {
|
|
27940
27948
|
if (!e.value) return t.onMeasured?.();
|
|
27941
|
-
n.value = e.value.getBoundingClientRect().width, r = n.value,
|
|
27949
|
+
n.value = e.value.getBoundingClientRect().width, r = n.value, Be(() => {
|
|
27942
27950
|
i || t.onMeasured?.();
|
|
27943
27951
|
}), !(typeof ResizeObserver > "u") && (o = new ResizeObserver((c) => {
|
|
27944
27952
|
const u = c[0]?.contentRect.width;
|
|
@@ -27972,7 +27980,7 @@ const $z = /* @__PURE__ */ j({
|
|
|
27972
27980
|
fit: { default: "stretch" }
|
|
27973
27981
|
},
|
|
27974
27982
|
setup(e) {
|
|
27975
|
-
const t = e, n =
|
|
27983
|
+
const t = e, n = Ve("root"), o = lo(n), a = /* @__PURE__ */ N(0), r = /* @__PURE__ */ N(0), i = () => {
|
|
27976
27984
|
const u = n.value;
|
|
27977
27985
|
if (!u) return;
|
|
27978
27986
|
a.value !== u.childElementCount && (a.value = u.childElementCount);
|
|
@@ -28218,7 +28226,7 @@ const Dz = ["data-ui-skeleton", "data-pending"], Rz = { class: "sr-only" }, Mz =
|
|
|
28218
28226
|
openOnTap: { type: Boolean, default: void 0 }
|
|
28219
28227
|
},
|
|
28220
28228
|
setup(e) {
|
|
28221
|
-
const t = e, n = S(() => t.openOnTap ?? $l()), o = /* @__PURE__ */ N(!1), a =
|
|
28229
|
+
const t = e, n = S(() => t.openOnTap ?? $l()), o = /* @__PURE__ */ N(!1), a = Ve("trigger"), r = _i(() => a.value?.$el, () => o.value);
|
|
28222
28230
|
let i = !1;
|
|
28223
28231
|
function s(f) {
|
|
28224
28232
|
o.value = f, f !== i && (i = f, f ? bw() : Vs());
|
|
@@ -28468,7 +28476,7 @@ const Zz = {
|
|
|
28468
28476
|
},
|
|
28469
28477
|
emits: ["pop"],
|
|
28470
28478
|
setup(e, { emit: t }) {
|
|
28471
|
-
const n = e, o = t, a = _n(), r = Vt(), i =
|
|
28479
|
+
const n = e, o = t, a = _n(), r = Vt(), i = Ve("page"), s = Lo.slop, l = () => n.show && n.enabled, c = Pw(i, () => n.title ?? "", {
|
|
28472
28480
|
when: () => l() && n.title !== void 0,
|
|
28473
28481
|
back: () => () => o("pop")
|
|
28474
28482
|
}), { target: u } = af(() => c.value && !!a["header-actions"], () => n.phoneActions);
|
|
@@ -29042,7 +29050,7 @@ const Zz = {
|
|
|
29042
29050
|
set: (O) => {
|
|
29043
29051
|
n.open === void 0 && (i.value = O), o("update:open", O);
|
|
29044
29052
|
}
|
|
29045
|
-
}), l =
|
|
29053
|
+
}), l = Ve("trigger"), c = Fe(Zb, null), u = /* @__PURE__ */ Symbol("bar-menu");
|
|
29046
29054
|
let f;
|
|
29047
29055
|
We(() => {
|
|
29048
29056
|
f = c?.register(u, () => l.value?.$el);
|
|
@@ -29251,7 +29259,7 @@ const $B = ["data-ui-dialog-header-divider", "data-ui-drag-handle"], IB = ["data
|
|
|
29251
29259
|
},
|
|
29252
29260
|
emits: ["update:open", "escapeKeyDown", "pointerDownOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
29253
29261
|
setup(e, { emit: t }) {
|
|
29254
|
-
const o = Zn(e, { closeLabel: "Close" }), a = t, r = (ae) => typeof ae.checkVisibility != "function" || ae.checkVisibility({ visibilityProperty: !0 }), i =
|
|
29262
|
+
const o = Zn(e, { closeLabel: "Close" }), a = t, r = (ae) => typeof ae.checkVisibility != "function" || ae.checkVisibility({ visibilityProperty: !0 }), i = Ve("content");
|
|
29255
29263
|
function s(ae) {
|
|
29256
29264
|
if (a("openAutoFocus", ae), ae.defaultPrevented) return;
|
|
29257
29265
|
let pe = ae.target ?? i.value?.$el;
|
|
@@ -29268,7 +29276,7 @@ const $B = ["data-ui-dialog-header-divider", "data-ui-drag-handle"], IB = ["data
|
|
|
29268
29276
|
function c(ae, pe) {
|
|
29269
29277
|
dw(pe), a(ae === "pointerDownOutside" ? "pointerDownOutside" : "interactOutside", pe), o.closeOnOutside || pe.preventDefault();
|
|
29270
29278
|
}
|
|
29271
|
-
const u = { dim: "bg-[var(--ui-overlay)]", light: "bg-[var(--ui-overlay-light)]", none: "bg-transparent" }, f = Dl(), p = S(() => f?.element.value ?? null), { position: h, draggable: v, onPointerdown: m, onKeydown: y } = TB(
|
|
29279
|
+
const u = { dim: "bg-[var(--ui-overlay)]", light: "bg-[var(--ui-overlay-light)]", none: "bg-transparent" }, f = Dl(), p = S(() => f?.element.value ?? null), { position: h, draggable: v, onPointerdown: m, onKeydown: y } = TB(Ve("handle"), f), b = S(() => o.width ? void 0 : o.size), C = S(() => o.width ?? (b.value && `var(--ui-dialog-width-${b.value})`)), k = S(() => !!C.value), w = IT(), x = S(() => k.value ? void 0 : w.value), T = S(() => ({
|
|
29272
29280
|
left: h.value && `${h.value.x}px`,
|
|
29273
29281
|
top: h.value && `${h.value.y}px`,
|
|
29274
29282
|
maxWidth: C.value,
|
|
@@ -29280,22 +29288,22 @@ const $B = ["data-ui-dialog-header-divider", "data-ui-drag-handle"], IB = ["data
|
|
|
29280
29288
|
height: _.value ? void 0 : o.height && `min(${o.height}, 100%)`,
|
|
29281
29289
|
minHeight: o.minHeight && `min(${o.minHeight}, 100%)`,
|
|
29282
29290
|
maxHeight: _.value ? `min(${o.maxHeight ?? o.height ?? "100%"}, ${MB})` : o.maxHeight && `min(${o.maxHeight}, 100%)`
|
|
29283
|
-
})), A = Jd(), P = S(() => f ? !f.draggable.value : A.value), O = S(() => P.value && o.presentation !== "modal"), _ = S(() => P.value && o.presentation === "modal" && o.fullscreen !== !0), D = S(() => P.value && o.scrim === "light" ? "dim" : o.scrim), M =
|
|
29291
|
+
})), A = Jd(), P = S(() => f ? !f.draggable.value : A.value), O = S(() => P.value && o.presentation !== "modal"), _ = S(() => P.value && o.presentation === "modal" && o.fullscreen !== !0), D = S(() => P.value && o.scrim === "light" ? "dim" : o.scrim), M = Ve("bodyScroller"), B = Tw(M, () => "y"), W = S(() => o.flush || B.top.value), q = S(() => o.flush || B.bottom.value), Z = /* @__PURE__ */ N(!1), U = S(() => o.fullscreen || Z.value ? "full" : "auto"), ie = Ve("sheetFields");
|
|
29284
29292
|
function ge(ae) {
|
|
29285
29293
|
Z.value = (ie.value?.querySelectorAll(NB).length ?? 0) > 3, a("openAutoFocus", ae);
|
|
29286
29294
|
}
|
|
29287
|
-
const be = _n(), Ee = () => rw(be.default), ze = S(() => !!(o.title || o.description) || o.showClose || !!be.header), Ne = /* @__PURE__ */ N(o.defaultOpen),
|
|
29295
|
+
const be = _n(), Ee = () => rw(be.default), ze = S(() => !!(o.title || o.description) || o.showClose || !!be.header), Ne = /* @__PURE__ */ N(o.defaultOpen), qe = S({
|
|
29288
29296
|
get: () => o.open ?? Ne.value,
|
|
29289
29297
|
set: (ae) => {
|
|
29290
29298
|
o.open === void 0 && (Ne.value = ae), a("update:open", ae);
|
|
29291
29299
|
}
|
|
29292
|
-
}), et = Qd(() =>
|
|
29300
|
+
}), et = Qd(() => qe.value && !O.value);
|
|
29293
29301
|
function ue(ae) {
|
|
29294
29302
|
a("closeAutoFocus", ae), et(ae);
|
|
29295
29303
|
}
|
|
29296
29304
|
return (ae, pe) => O.value ? (g(), F(tf, de({ key: 0 }, ae.$attrs, {
|
|
29297
|
-
open:
|
|
29298
|
-
"onUpdate:open": pe[0] || (pe[0] = (ne) =>
|
|
29305
|
+
open: qe.value,
|
|
29306
|
+
"onUpdate:open": pe[0] || (pe[0] = (ne) => qe.value = ne),
|
|
29299
29307
|
height: U.value,
|
|
29300
29308
|
title: d(o).title,
|
|
29301
29309
|
description: d(o).description,
|
|
@@ -29346,11 +29354,11 @@ const $B = ["data-ui-dialog-header-divider", "data-ui-drag-handle"], IB = ["data
|
|
|
29346
29354
|
} : void 0
|
|
29347
29355
|
]), 1040, ["open", "height", "title", "description", "close-label", "show-close", "close-on-outside", "scrim", "flush"])) : (g(), F(d(S$), {
|
|
29348
29356
|
key: 1,
|
|
29349
|
-
open:
|
|
29350
|
-
"onUpdate:open": pe[9] || (pe[9] = (ne) =>
|
|
29357
|
+
open: qe.value,
|
|
29358
|
+
"onUpdate:open": pe[9] || (pe[9] = (ne) => qe.value = ne)
|
|
29351
29359
|
}, {
|
|
29352
29360
|
default: R(() => [
|
|
29353
|
-
ae.$slots.trigger ? (g(), F(d(pI), de({ key: 0 }, ae.$attrs.id ? { "aria-controls":
|
|
29361
|
+
ae.$slots.trigger ? (g(), F(d(pI), de({ key: 0 }, ae.$attrs.id ? { "aria-controls": qe.value ? ae.$attrs.id : void 0 } : {}, { "as-child": "" }), {
|
|
29354
29362
|
default: R(() => [
|
|
29355
29363
|
z(ae.$slots, "trigger")
|
|
29356
29364
|
]),
|
|
@@ -29589,7 +29597,7 @@ const VB = ["aria-label", "aria-labelledby", "data-ui-segment-control", "data-ov
|
|
|
29589
29597
|
moveFocus: c
|
|
29590
29598
|
};
|
|
29591
29599
|
Ye(Dw, u);
|
|
29592
|
-
const f =
|
|
29600
|
+
const f = Ve("root"), { overflowStart: p, overflowEnd: h } = Iw(f, () => n.modelValue), v = Ve("thumb");
|
|
29593
29601
|
let m = null, y;
|
|
29594
29602
|
function b(A) {
|
|
29595
29603
|
return a.find((P) => P.value === A)?.element();
|
|
@@ -29875,7 +29883,7 @@ const tq = ["data-direction"], nq = {
|
|
|
29875
29883
|
fieldWidth: { default: void 0 }
|
|
29876
29884
|
},
|
|
29877
29885
|
setup(e) {
|
|
29878
|
-
const t = e, n = S(() => t.align ?? (t.description ? "start" : "center")), o =
|
|
29886
|
+
const t = e, n = S(() => t.align ?? (t.description ? "start" : "center")), o = Ve("root"), a = lo(o), r = S(() => a.value > 0 && a.value < xd), i = S(() => ({ maxWidth: Rw(t.fieldWidth, r.value) })), s = S(() => ({
|
|
29879
29887
|
gridTemplateColumns: r.value ? "minmax(0, 1fr)" : "minmax(0, var(--ui-label-column)) minmax(0, 1fr)",
|
|
29880
29888
|
columnGap: "var(--ui-label-gap)"
|
|
29881
29889
|
}));
|
|
@@ -29914,7 +29922,7 @@ const tq = ["data-direction"], nq = {
|
|
|
29914
29922
|
open: { type: Boolean }
|
|
29915
29923
|
},
|
|
29916
29924
|
setup(e) {
|
|
29917
|
-
const t = e, n =
|
|
29925
|
+
const t = e, n = Ve("root"), o = /* @__PURE__ */ N(t.open), a = /* @__PURE__ */ N(t.open), r = /* @__PURE__ */ N(!1);
|
|
29918
29926
|
let i, s = 0;
|
|
29919
29927
|
function l(u) {
|
|
29920
29928
|
u === s && (clearTimeout(i), r.value = !1, t.open || (o.value = !1));
|
|
@@ -29928,11 +29936,11 @@ const tq = ["data-direction"], nq = {
|
|
|
29928
29936
|
return;
|
|
29929
29937
|
}
|
|
29930
29938
|
if (u) {
|
|
29931
|
-
if (o.value = !0, await
|
|
29939
|
+
if (o.value = !0, await Be(), f !== s) return;
|
|
29932
29940
|
p.offsetHeight, a.value = !0;
|
|
29933
29941
|
} else
|
|
29934
29942
|
a.value = !1;
|
|
29935
|
-
r.value = !0, await
|
|
29943
|
+
r.value = !0, await Be(), f === s && (i = setTimeout(() => l(f), ni(p) + 50));
|
|
29936
29944
|
});
|
|
29937
29945
|
function c(u) {
|
|
29938
29946
|
u.target === n.value && u.propertyName === "grid-template-rows" && l(s);
|
|
@@ -30182,7 +30190,7 @@ const Eq = {
|
|
|
30182
30190
|
},
|
|
30183
30191
|
emits: ["activate", "deactivate"],
|
|
30184
30192
|
setup(e, { expose: t, emit: n }) {
|
|
30185
|
-
const o = e, a = Zn(o, { ariaLabel: "More information" }), r = n, i = _n(), s =
|
|
30193
|
+
const o = e, a = Zn(o, { ariaLabel: "More information" }), r = n, i = _n(), s = Ve("trigger"), l = Ve("contentEl"), c = /* @__PURE__ */ N(!1), u = /* @__PURE__ */ N(!1), f = /* @__PURE__ */ N(!1);
|
|
30186
30194
|
function p() {
|
|
30187
30195
|
typeof window > "u" || typeof window.matchMedia != "function" || (f.value = window.matchMedia("(hover: none)").matches);
|
|
30188
30196
|
}
|
|
@@ -30254,7 +30262,7 @@ const Eq = {
|
|
|
30254
30262
|
clearTimeout(O), !(u.value || h.value === "click") && (ie(E.relatedTarget) || W());
|
|
30255
30263
|
}
|
|
30256
30264
|
let Ne = !1;
|
|
30257
|
-
function
|
|
30265
|
+
function qe() {
|
|
30258
30266
|
if (h.value !== "click") return;
|
|
30259
30267
|
Ne = !0;
|
|
30260
30268
|
const E = () => setTimeout(() => {
|
|
@@ -30326,7 +30334,7 @@ const Eq = {
|
|
|
30326
30334
|
]],
|
|
30327
30335
|
onPointerenter: ge,
|
|
30328
30336
|
onPointerleave: be,
|
|
30329
|
-
onPointerdown:
|
|
30337
|
+
onPointerdown: qe,
|
|
30330
30338
|
onFocus: Ee,
|
|
30331
30339
|
onBlur: ze,
|
|
30332
30340
|
onClick: ue,
|
|
@@ -30432,7 +30440,7 @@ const Eq = {
|
|
|
30432
30440
|
}),
|
|
30433
30441
|
emits: /* @__PURE__ */ jr(["close"], ["update:expanded"]),
|
|
30434
30442
|
setup(e, { emit: t }) {
|
|
30435
|
-
const o = Zn(e, { closeLabel: "Close", moreLabel: "Learn more", lessLabel: "Show less" }), a = t, r = ys(e, "expanded"), i = S(() => ({ info: Ey, success: vO, warning: BO, danger: pO })[o.tone]), s = Tn(), l =
|
|
30443
|
+
const o = Zn(e, { closeLabel: "Close", moreLabel: "Learn more", lessLabel: "Show less" }), a = t, r = ys(e, "expanded"), i = S(() => ({ info: Ey, success: vO, warning: BO, danger: pO })[o.tone]), s = Tn(), l = Ve("content"), c = /* @__PURE__ */ N(""), u = /* @__PURE__ */ N(!1), f = S(() => Nw([o.tone, o.title, o.code, c.value].join("\0"))), p = S(() => _q(o.dismissKey, o.tone, [o.title, o.code, c.value].join("\0"))), h = S(() => o.variant === "hint"), v = S(() => u.value && !h.value && o.dismissible && xq(p.value, f.value));
|
|
30436
30444
|
let m;
|
|
30437
30445
|
function y() {
|
|
30438
30446
|
c.value = l.value?.textContent?.replace(/\s+/g, " ").trim() ?? "";
|
|
@@ -30639,7 +30647,7 @@ const Eq = {
|
|
|
30639
30647
|
axis: { default: "x" }
|
|
30640
30648
|
},
|
|
30641
30649
|
setup(e, { expose: t }) {
|
|
30642
|
-
const n = e, o =
|
|
30650
|
+
const n = e, o = Ve("viewport"), { start: a, end: r, top: i, bottom: s } = Tw(o, () => n.axis);
|
|
30643
30651
|
return t({ viewport: o }), (l, c) => (g(), I("div", {
|
|
30644
30652
|
"data-ui-scroll-edges": "",
|
|
30645
30653
|
"data-axis": n.axis === "x" ? void 0 : n.axis,
|
|
@@ -30785,7 +30793,7 @@ const hV = ["data-ui-data-view", "data-fill"], vV = {
|
|
|
30785
30793
|
},
|
|
30786
30794
|
emits: ["update:columnWidths"],
|
|
30787
30795
|
setup(e, { emit: t }) {
|
|
30788
|
-
const n = e, o = t, a = Zn(n, { emptyText: "No data" }), r =
|
|
30796
|
+
const n = e, o = t, a = Zn(n, { emptyText: "No data" }), r = Ve("root"), i = lo(r), s = Fe(wo, void 0), l = Vt(), c = (B) => dV(l).resizeColumn(B), u = /* @__PURE__ */ N(a.stateKey ? Cv(a.stateKey).columnWidths ?? {} : {});
|
|
30789
30797
|
Q(() => a.columnWidths, () => {
|
|
30790
30798
|
u.value = {};
|
|
30791
30799
|
});
|
|
@@ -31025,7 +31033,7 @@ const hV = ["data-ui-data-view", "data-fill"], vV = {
|
|
|
31025
31033
|
},
|
|
31026
31034
|
emits: ["open"],
|
|
31027
31035
|
setup(e) {
|
|
31028
|
-
const t = e, n = !vw(), o =
|
|
31036
|
+
const t = e, n = !vw(), o = Ve("root"), a = S(() => t.wrap ? "whitespace-normal [overflow-wrap:anywhere]" : "truncate");
|
|
31029
31037
|
return (r, i) => (g(), I("div", {
|
|
31030
31038
|
ref_key: "root",
|
|
31031
31039
|
ref: o,
|
|
@@ -31112,7 +31120,7 @@ const hV = ["data-ui-data-view", "data-fill"], vV = {
|
|
|
31112
31120
|
description: {}
|
|
31113
31121
|
},
|
|
31114
31122
|
setup(e) {
|
|
31115
|
-
const t = e, n = !vw(), o =
|
|
31123
|
+
const t = e, n = !vw(), o = Ve("root"), a = S(
|
|
31116
31124
|
() => t.progress !== void 0 && t.progress < 100 && t.tone !== "success" && t.tone !== "danger"
|
|
31117
31125
|
);
|
|
31118
31126
|
return (r, i) => (g(), I("div", {
|
|
@@ -31470,7 +31478,7 @@ const A2 = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
|
|
|
31470
31478
|
Ye(mh, n.modalScope);
|
|
31471
31479
|
const r = li();
|
|
31472
31480
|
Ye(Ay, Py(() => n.locale ?? gc(typeof r.lang == "string" ? r.lang : void 0)));
|
|
31473
|
-
const i =
|
|
31481
|
+
const i = Ve("root");
|
|
31474
31482
|
Ye(ow, i);
|
|
31475
31483
|
const s = lo(i), l = /* @__PURE__ */ sa(/* @__PURE__ */ new Set());
|
|
31476
31484
|
Ye(Ub, (x) => (l.add(x), () => {
|
|
@@ -31478,7 +31486,7 @@ const A2 = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
|
|
|
31478
31486
|
}));
|
|
31479
31487
|
const c = S(() => n.fullPage || [...l].some((x) => x.value === "web") ? "web" : "window"), u = S(() => Wb(s.value, c.value));
|
|
31480
31488
|
Ye(wo, u);
|
|
31481
|
-
const f =
|
|
31489
|
+
const f = Ve("background"), p = Ve("portal"), h = n.modalScope, v = h === "app" ? new YT(i, f) : null;
|
|
31482
31490
|
Ye(Jy, v);
|
|
31483
31491
|
const m = iF(i, h === "app" && n.dialogBounds === "viewport", () => o("activate"));
|
|
31484
31492
|
m && v?.region(m.element), Ye(nw, m);
|
|
@@ -31655,10 +31663,10 @@ const I2 = ["data-state", "data-count", "data-hidden"], D2 = ["data-state"], R2
|
|
|
31655
31663
|
function m(k = !0) {
|
|
31656
31664
|
if (!o.value || (o.value = !1, !k)) return;
|
|
31657
31665
|
const w = document.activeElement;
|
|
31658
|
-
(!w || w === document.body || i.value?.contains(w)) &&
|
|
31666
|
+
(!w || w === document.body || i.value?.contains(w)) && Be(() => s.value?.focus({ preventScroll: !0 }));
|
|
31659
31667
|
}
|
|
31660
31668
|
Q(o, (k) => {
|
|
31661
|
-
k &&
|
|
31669
|
+
k && Be(() => {
|
|
31662
31670
|
(i.value ? u(i.value)[0] : void 0)?.focus({ preventScroll: !0 });
|
|
31663
31671
|
});
|
|
31664
31672
|
}), Il(() => o.value, () => m());
|
|
@@ -31866,7 +31874,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
31866
31874
|
function l(X) {
|
|
31867
31875
|
ba(), o("brand", X);
|
|
31868
31876
|
}
|
|
31869
|
-
const c = _n(), u = Vt(), f =
|
|
31877
|
+
const c = _n(), u = Vt(), f = Ve("root"), p = Ve("column"), h = Ve("closeButton"), v = Ve("menuTrigger"), m = /* @__PURE__ */ N(!1);
|
|
31870
31878
|
Ye(tv, m);
|
|
31871
31879
|
const y = lo(f, { after: Fe(tv, void 0), onMeasured: () => {
|
|
31872
31880
|
m.value = !0;
|
|
@@ -31902,11 +31910,11 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
31902
31910
|
});
|
|
31903
31911
|
const q = S(() => _.value && !D.value && (B.value ? !W.value : M.collapsed.value));
|
|
31904
31912
|
Ye(Kb, q);
|
|
31905
|
-
const Z =
|
|
31913
|
+
const Z = Ve("main"), U = /* @__PURE__ */ N(0);
|
|
31906
31914
|
Ye(Gb, () => {
|
|
31907
31915
|
U.value++;
|
|
31908
31916
|
}), jz(Z, () => U.value);
|
|
31909
|
-
const ie = S(() => _.value && !D.value && !q.value && n.sidebarWidth === void 0), ge = S(() => n.sidebarWidth !== void 0 ? n.sidebarWidth : _.value ? `${M.width.value}px` : "var(--ui-sidebar-width)"), be = S(() => q.value ? `var(--ui-web-sidebar-collapsed-width, ${Lu}px)` : ge.value), Ee = S(() => !!c.sidebar && !k.value && !D.value), ze = S(() => Ee.value ? q.value ? Lu : Number.parseFloat(ge.value) || 0 : 0), Ne = S(() => !!c.aside),
|
|
31917
|
+
const ie = S(() => _.value && !D.value && !q.value && n.sidebarWidth === void 0), ge = S(() => n.sidebarWidth !== void 0 ? n.sidebarWidth : _.value ? `${M.width.value}px` : "var(--ui-sidebar-width)"), be = S(() => q.value ? `var(--ui-web-sidebar-collapsed-width, ${Lu}px)` : ge.value), Ee = S(() => !!c.sidebar && !k.value && !D.value), ze = S(() => Ee.value ? q.value ? Lu : Number.parseFloat(ge.value) || 0 : 0), Ne = S(() => !!c.aside), qe = S(() => Math.round(Math.min(Yi, Math.max(Gi, r.value)))), et = S(() => a.value === "open" && !k.value && (!_.value || y.value - ze.value - qe.value < VL)), ue = S(() => Ne.value && !k.value && a.value === "expanded"), ae = S(() => k.value ? "0px" : ue.value ? Ee.value ? `calc(${y.value}px - var(--ui-app-sidebar-width))` : `${y.value}px` : a.value === "open" && !et.value ? `${qe.value}px` : `${Lu}px`);
|
|
31910
31918
|
Ye(jL, { state: a, overlay: et, presentation: b, regionWidth: ae });
|
|
31911
31919
|
const pe = S(() => Ne.value && k.value && a.value !== "collapsed"), ne = S(() => Ne.value && _.value && a.value === "open" && !et.value), Le = S(() => k.value ? "minmax(0, 1fr)" : [Ee.value && "auto", "minmax(0, 1fr)", Ne.value && "auto"].filter(Boolean).join(" ")), nt = /* @__PURE__ */ N(!1);
|
|
31912
31920
|
Ye(WL, nt);
|
|
@@ -31936,7 +31944,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
31936
31944
|
icon: document.head.querySelector('link[rel~="icon"]')?.href || void 0
|
|
31937
31945
|
};
|
|
31938
31946
|
});
|
|
31939
|
-
const ce = S(() => ({ name: n.brandName ?? J.value.name, icon: n.brandIcon ?? J.value.icon })), ve = S(() => !!(c.brand || ce.value.name || ce.value.icon)), he = S(() => ve.value && !k.value && n.wideLayout === "web"), le = S(() => he.value || _.value && !D.value), Ae = S(() => !!c["sidebar-footer"] && (D.value || _.value)), ye =
|
|
31947
|
+
const ce = S(() => ({ name: n.brandName ?? J.value.name, icon: n.brandIcon ?? J.value.icon })), ve = S(() => !!(c.brand || ce.value.name || ce.value.icon)), he = S(() => ve.value && !k.value && n.wideLayout === "web"), le = S(() => he.value || _.value && !D.value), Ae = S(() => !!c["sidebar-footer"] && (D.value || _.value)), ye = Ve("pageActions"), we = /* @__PURE__ */ N(0), Pe = /* @__PURE__ */ N(!0), Ke = zy("(pointer: coarse)"), ee = S(() => k.value && Ke.value && n.responsive !== !1), Y = /* @__PURE__ */ N(0), me = /* @__PURE__ */ N(0), Oe = Ve("fab"), He = S(() => Oe.value?.actions ?? null), Je = /* @__PURE__ */ N(!1), it = S(() => ee.value && Y.value === 0);
|
|
31940
31948
|
function jt(X) {
|
|
31941
31949
|
const Se = X ?? n.phoneActions;
|
|
31942
31950
|
return Se === "inline" || !k.value ? "inline" : it.value && me.value === 0 && (Se === "fab" || !Pe.value) ? "fab" : Pe.value ? "bar" : "inline";
|
|
@@ -31985,17 +31993,17 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
31985
31993
|
let xi;
|
|
31986
31994
|
Q(ye, (X) => {
|
|
31987
31995
|
xi?.disconnect(), !(!X || typeof MutationObserver > "u") && (xi = new MutationObserver(rr), xi.observe(X, { childList: !0, subtree: !0 }));
|
|
31988
|
-
}, { flush: "post" }), Q(k, () =>
|
|
31996
|
+
}, { flush: "post" }), Q(k, () => Be(rr)), Me(() => xi?.disconnect()), Ye(Zb, {
|
|
31989
31997
|
owner: ar,
|
|
31990
31998
|
entries: cf,
|
|
31991
31999
|
select: (X) => o("headerAction", X),
|
|
31992
32000
|
register(X, Se) {
|
|
31993
|
-
return Fl.set(X, Se),
|
|
32001
|
+
return Fl.set(X, Se), Be(rr), () => {
|
|
31994
32002
|
Fl.delete(X), rr();
|
|
31995
32003
|
};
|
|
31996
32004
|
}
|
|
31997
32005
|
});
|
|
31998
|
-
const ir = S(() => ar.value ? [] : cf.value), sr = S(() => !!c.sidebar && !Rt.value && !v0.value), zl = S(() => ee.value && !_o.value && !Rt.value && !sr.value && Dt.value !== void 0 && !c.brand ? ce.value.icon : void 0), t0 = S(() => _o.value && !sr.value && !cn.value && !ir.value.length && we.value === 0), n0 = S(() => k.value && (!!c.sidebar || Rt.value || Dt.value !== void 0 || n.headerActions.length > 0) && (sr.value || Rt.value || Dt.value !== void 0 || ve.value || n.headerActions.length > 0)), Si =
|
|
32006
|
+
const ir = S(() => ar.value ? [] : cf.value), sr = S(() => !!c.sidebar && !Rt.value && !v0.value), zl = S(() => ee.value && !_o.value && !Rt.value && !sr.value && Dt.value !== void 0 && !c.brand ? ce.value.icon : void 0), t0 = S(() => _o.value && !sr.value && !cn.value && !ir.value.length && we.value === 0), n0 = S(() => k.value && (!!c.sidebar || Rt.value || Dt.value !== void 0 || n.headerActions.length > 0) && (sr.value || Rt.value || Dt.value !== void 0 || ve.value || n.headerActions.length > 0)), Si = Ve("phoneTitle"), df = Ve("phoneTitleText"), ff = lo(Si), pf = /* @__PURE__ */ N(!0);
|
|
31999
32007
|
function hf() {
|
|
32000
32008
|
const X = Si.value, Se = df.value;
|
|
32001
32009
|
if (!X?.clientWidth || !Se) return;
|
|
@@ -32045,8 +32053,8 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32045
32053
|
const mf = (X) => Math.round(Math.min(Yi, Math.max(Gi, X)));
|
|
32046
32054
|
function u0(X) {
|
|
32047
32055
|
const Se = {
|
|
32048
|
-
ArrowLeft:
|
|
32049
|
-
ArrowRight:
|
|
32056
|
+
ArrowLeft: qe.value + es,
|
|
32057
|
+
ArrowRight: qe.value - es,
|
|
32050
32058
|
Home: Gi,
|
|
32051
32059
|
End: Yi
|
|
32052
32060
|
}[X.key];
|
|
@@ -32058,12 +32066,12 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32058
32066
|
Wo.value = mf(ql.width - (X.clientX - ql.x));
|
|
32059
32067
|
}
|
|
32060
32068
|
function ur() {
|
|
32061
|
-
document.removeEventListener("pointermove", gf), document.removeEventListener("pointerup", ur), document.removeEventListener("pointercancel", ur), Yn.value && (r.value = Wo.value,
|
|
32069
|
+
document.removeEventListener("pointermove", gf), document.removeEventListener("pointerup", ur), document.removeEventListener("pointercancel", ur), Yn.value && (r.value = Wo.value, Be(() => {
|
|
32062
32070
|
Yn.value = !1;
|
|
32063
32071
|
}));
|
|
32064
32072
|
}
|
|
32065
32073
|
function c0(X) {
|
|
32066
|
-
X.button === 0 && (X.preventDefault(), ql = { x: X.clientX, width:
|
|
32074
|
+
X.button === 0 && (X.preventDefault(), ql = { x: X.clientX, width: qe.value }, Wo.value = qe.value, Yn.value = !0, document.addEventListener("pointermove", gf), document.addEventListener("pointerup", ur), document.addEventListener("pointercancel", ur));
|
|
32067
32075
|
}
|
|
32068
32076
|
Me(ur);
|
|
32069
32077
|
const d0 = S(() => Yn.value ? `${Wo.value}px` : ae.value);
|
|
@@ -32106,7 +32114,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32106
32114
|
X || (X = !0, Wl.value--);
|
|
32107
32115
|
};
|
|
32108
32116
|
});
|
|
32109
|
-
const wa =
|
|
32117
|
+
const wa = Ve("phoneBar"), Ul = kT(), bf = () => ee.value && n.hideOnScroll && Wl.value === 0, wf = /* @__PURE__ */ N(!1), _f = /* @__PURE__ */ N(!1);
|
|
32110
32118
|
function Kl() {
|
|
32111
32119
|
const X = Z.value, Se = X && typeof getComputedStyle == "function" ? getComputedStyle(X).overflowY : "visible";
|
|
32112
32120
|
wf.value = n.height === "fill" || Se !== "visible", _f.value = /auto|scroll|overlay/.test(Se);
|
|
@@ -32121,7 +32129,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32121
32129
|
if (Kl(), !X || !Se || typeof MutationObserver > "u") return;
|
|
32122
32130
|
const Gt = new MutationObserver(m0);
|
|
32123
32131
|
Gt.observe(X, { childList: !0, subtree: !0 }), Zt(() => Gt.disconnect());
|
|
32124
|
-
}, { flush: "post", immediate: !0 }), Q(() => n.height, () =>
|
|
32132
|
+
}, { flush: "post", immediate: !0 }), Q(() => n.height, () => Be(Kl)), Me(() => {
|
|
32125
32133
|
cr && cancelAnimationFrame(cr);
|
|
32126
32134
|
});
|
|
32127
32135
|
const Hl = S(() => bf() && wf.value);
|
|
@@ -32165,7 +32173,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32165
32173
|
"--ui-bars-bottom-box": `${dr.value.bottom}px`
|
|
32166
32174
|
}, Se = mv("--ui-motion-bars", f.value), Xe = Aw(y0.value, Se);
|
|
32167
32175
|
return Xe !== Se && (X["--ui-bars-motion"] = `${Xe}ms`), X;
|
|
32168
|
-
}), Yl =
|
|
32176
|
+
}), Yl = Ve("accessory"), Ci = /* @__PURE__ */ N(0);
|
|
32169
32177
|
let fr = null;
|
|
32170
32178
|
function Jl() {
|
|
32171
32179
|
const X = Yl.value, Se = X && typeof getComputedStyle == "function" ? Math.max(0, Math.round(X.offsetHeight - (parseFloat(getComputedStyle(X).paddingBottom) || 0))) : 0;
|
|
@@ -32178,7 +32186,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32178
32186
|
if (Jl(), !X || typeof ResizeObserver != "function") return;
|
|
32179
32187
|
const Zt = new ResizeObserver(Jl);
|
|
32180
32188
|
Zt.observe(X), Xe(() => Zt.disconnect());
|
|
32181
|
-
}, { flush: "post" }), Q(() => ee.value && Ul.value, () =>
|
|
32189
|
+
}, { flush: "post" }), Q(() => ee.value && Ul.value, () => Be(Jl)), Me(() => fr?.style.removeProperty("--ui-bottom-accessory-height"));
|
|
32182
32190
|
function w0(X) {
|
|
32183
32191
|
!k.value || !T.value || X.target instanceof Element && X.target.closest("[data-nav-item],a[href]") && ba();
|
|
32184
32192
|
}
|
|
@@ -32511,13 +32519,13 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32511
32519
|
key: 3,
|
|
32512
32520
|
"data-ui-layout-aside": "",
|
|
32513
32521
|
"data-ui-aside-state": a.value,
|
|
32514
|
-
style: Ge({ width: d0.value, "--ui-aside-open-width": `${Yn.value ? Wo.value :
|
|
32522
|
+
style: Ge({ width: d0.value, "--ui-aside-open-width": `${Yn.value ? Wo.value : qe.value}px` }),
|
|
32515
32523
|
onTransitionend: L
|
|
32516
32524
|
}, [
|
|
32517
32525
|
z(X.$slots, "aside", {
|
|
32518
32526
|
state: a.value,
|
|
32519
32527
|
overlay: et.value,
|
|
32520
|
-
width: Yn.value ? Wo.value :
|
|
32528
|
+
width: Yn.value ? Wo.value : qe.value,
|
|
32521
32529
|
presentation: b.value
|
|
32522
32530
|
}),
|
|
32523
32531
|
ne.value ? (g(), I("div", {
|
|
@@ -32529,7 +32537,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32529
32537
|
"aria-label": d(u)("Resize panes"),
|
|
32530
32538
|
"aria-valuemin": d(Gi),
|
|
32531
32539
|
"aria-valuemax": d(Yi),
|
|
32532
|
-
"aria-valuenow": Yn.value ? Wo.value :
|
|
32540
|
+
"aria-valuenow": Yn.value ? Wo.value : qe.value,
|
|
32533
32541
|
onKeydown: u0,
|
|
32534
32542
|
onPointerdown: c0
|
|
32535
32543
|
}, null, 40, _j)) : V("", !0)
|
|
@@ -32794,7 +32802,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32794
32802
|
},
|
|
32795
32803
|
emits: ["select"],
|
|
32796
32804
|
setup(e, { emit: t }) {
|
|
32797
|
-
const n = e, o = t, a = Vt(), r =
|
|
32805
|
+
const n = e, o = t, a = Vt(), r = Ve("root"), i = Ve("more"), s = Tn(), l = /* @__PURE__ */ N(1 / 0), c = S(() => n.groups.flatMap((C) => C.items)), u = S(() => c.value.slice(l.value)), f = S(() => ({ key: s, label: a("More"), children: u.value })), p = S(() => {
|
|
32798
32806
|
let C = 0;
|
|
32799
32807
|
return n.groups.map((k) => {
|
|
32800
32808
|
const w = k.items.map((x) => ({ item: x, index: C++ }));
|
|
@@ -32828,12 +32836,12 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
32828
32836
|
}
|
|
32829
32837
|
if (l.value === A) return;
|
|
32830
32838
|
const P = document.activeElement, O = P instanceof Element && [...C.querySelectorAll("[data-ui-top-nav-item]")].some((D, M) => M >= A && D.contains(P)), _ = i.value.contains(P);
|
|
32831
|
-
l.value = A,
|
|
32839
|
+
l.value = A, Be(() => {
|
|
32832
32840
|
O ? i.value?.querySelector("button")?.focus() : _ && !u.value.length && C.querySelector("[data-ui-top-nav-item] button")?.focus();
|
|
32833
32841
|
});
|
|
32834
32842
|
}
|
|
32835
32843
|
async function b() {
|
|
32836
|
-
await
|
|
32844
|
+
await Be(), v?.disconnect(), r.value && (v?.observe(r.value), r.value.querySelectorAll("[data-ui-top-nav-item], [data-ui-top-nav-more-wrapper]").forEach((C) => v?.observe(C)), y());
|
|
32837
32845
|
}
|
|
32838
32846
|
return We(() => {
|
|
32839
32847
|
typeof ResizeObserver < "u" && (v = new ResizeObserver(y)), b();
|
|
@@ -33044,7 +33052,7 @@ const W2 = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
33044
33052
|
phoneActions: { default: void 0 }
|
|
33045
33053
|
},
|
|
33046
33054
|
setup(e) {
|
|
33047
|
-
const t = e, n = _n(), o = qw(), a =
|
|
33055
|
+
const t = e, n = _n(), o = qw(), a = Ve("root"), r = Fe(wo, void 0), i = /* @__PURE__ */ N(!1);
|
|
33048
33056
|
We(() => {
|
|
33049
33057
|
i.value = !!a.value?.closest("[data-ui-layout-bar]");
|
|
33050
33058
|
});
|
|
@@ -33125,7 +33133,7 @@ const e3 = ["data-ui-title-in-bar"], t3 = { class: "min-w-0 flex-auto" }, n3 = {
|
|
|
33125
33133
|
},
|
|
33126
33134
|
emits: ["back"],
|
|
33127
33135
|
setup(e, { emit: t }) {
|
|
33128
|
-
const n = e, o = t, a = Vt(), r = qw(), i = _n(), s =
|
|
33136
|
+
const n = e, o = t, a = Vt(), r = qw(), i = _n(), s = Ve("root"), l = Pw(s, () => n.title, { back: () => n.back ? () => o("back") : void 0 }), c = Fe(wo, void 0), { target: u } = af(() => l.value && c?.value === "mobile" && !!i.actions, () => n.phoneActions), f = Fe(Yb, void 0), p = S(() => n.sticky && !f?.value), h = S(() => l.value && !n.description && !i.meta && !r.value && (!i.actions || !!u.value));
|
|
33129
33137
|
return Qj(s, () => p.value && !h.value), (v, m) => (g(), I("div", {
|
|
33130
33138
|
ref_key: "root",
|
|
33131
33139
|
ref: s,
|
|
@@ -33195,7 +33203,7 @@ const e3 = ["data-ui-title-in-bar"], t3 = { class: "min-w-0 flex-auto" }, n3 = {
|
|
|
33195
33203
|
Q(() => t.hideOnScroll, (ue) => {
|
|
33196
33204
|
ue ? (o?.(), o = void 0) : o ??= n?.();
|
|
33197
33205
|
}, { immediate: !0 }), Me(() => o?.());
|
|
33198
|
-
const a = S(() => t.height === "fill"), r = Xj(), i =
|
|
33206
|
+
const a = S(() => t.height === "fill"), r = Xj(), i = Ve("root"), s = /* @__PURE__ */ N(0), l = /* @__PURE__ */ N(!1), c = /* @__PURE__ */ N(!1), u = /* @__PURE__ */ N(0);
|
|
33199
33207
|
let f = null;
|
|
33200
33208
|
function p() {
|
|
33201
33209
|
const ue = i.value?.querySelector(":scope > [data-page-content-body] > [data-ui-section-tabs-strip]") ?? null;
|
|
@@ -33265,7 +33273,7 @@ const e3 = ["data-ui-title-in-bar"], t3 = { class: "min-w-0 flex-auto" }, n3 = {
|
|
|
33265
33273
|
;
|
|
33266
33274
|
return Le;
|
|
33267
33275
|
}
|
|
33268
|
-
const D =
|
|
33276
|
+
const D = Ve("endProbe");
|
|
33269
33277
|
function M() {
|
|
33270
33278
|
const ue = D.value;
|
|
33271
33279
|
return ue && parseFloat(getComputedStyle(ue).marginTop) || 0;
|
|
@@ -33334,7 +33342,7 @@ const e3 = ["data-ui-title-in-bar"], t3 = { class: "min-w-0 flex-auto" }, n3 = {
|
|
|
33334
33342
|
ne.style.setProperty("--ui-sticky-top-offset", `${Le ? nt + Le : 0}px`), ne.style.setProperty("--ui-page-sticky-top", `${ae.get(ne) ?? 0}px`), b.add(ne);
|
|
33335
33343
|
}
|
|
33336
33344
|
}, { flush: "post" });
|
|
33337
|
-
const
|
|
33345
|
+
const qe = S(() => {
|
|
33338
33346
|
const ue = {};
|
|
33339
33347
|
t.surface !== "none" && (ue["--ui-page-gutter-x"] = "var(--ui-page-padding-x)"), ue["--ui-page-bleed"] = t.surface === "none" ? "0px" : "var(--ui-page-padding-x)", ge.value && (ue["--ui-page-sticky-top"] = `${ge.value}px`);
|
|
33340
33348
|
const ae = Ne.value;
|
|
@@ -33362,7 +33370,7 @@ const e3 = ["data-ui-title-in-bar"], t3 = { class: "min-w-0 flex-auto" }, n3 = {
|
|
|
33362
33370
|
"data-ui-page-fills": c.value ? "" : void 0,
|
|
33363
33371
|
"data-ui-page-scrolls": l.value && !c.value ? "" : void 0,
|
|
33364
33372
|
"data-ui-page-scroller-room": P.value ? "" : void 0,
|
|
33365
|
-
style: Ge(
|
|
33373
|
+
style: Ge(qe.value),
|
|
33366
33374
|
"data-syno-pkg-land-ui": ""
|
|
33367
33375
|
}, [
|
|
33368
33376
|
s.value ? (g(), I("div", u3)) : V("", !0),
|
|
@@ -33646,7 +33654,7 @@ const P3 = ["data-layout-direction"], O3 = "16px", T3 = /* @__PURE__ */ j({
|
|
|
33646
33654
|
spacing: "auto",
|
|
33647
33655
|
fieldWidth: Nc,
|
|
33648
33656
|
validateMessageDisplayMode: "popup"
|
|
33649
|
-
}), s =
|
|
33657
|
+
}), s = Ve("root"), l = lo(s), c = S(() => i.value.direction === "vertical" || i.value.direction === "auto" && l.value > 0 && l.value < xd ? "vertical" : "horizontal"), u = { none: 0, dense: 4, compact: 6, regular: 8, relaxed: 12 }, f = $w(), p = S(() => {
|
|
33650
33658
|
const W = i.value.spacing ?? "auto";
|
|
33651
33659
|
return typeof W == "number" ? `${W}px` : W === "auto" && f.value ? O3 : W === "auto" ? c.value === "horizontal" ? "var(--ui-field-gap)" : "calc(var(--ui-field-gap) + 2px)" : `${u[W]}px`;
|
|
33652
33660
|
}), h = S(() => ({
|
|
@@ -33896,7 +33904,7 @@ const q3 = ["data-direction", "data-inset", "data-status"], V3 = ["id", "for"],
|
|
|
33896
33904
|
indent: 0,
|
|
33897
33905
|
inset: !1,
|
|
33898
33906
|
labelWidth: "var(--ui-label-column)"
|
|
33899
|
-
}), l = Ry(), c = Iy(), u = _n(), f =
|
|
33907
|
+
}), l = Ry(), c = Iy(), u = _n(), f = Ve("root"), p = Tn(), h = {
|
|
33900
33908
|
control: `form-item-${p}-control`,
|
|
33901
33909
|
label: `form-item-${p}-label`,
|
|
33902
33910
|
description: `form-item-${p}-description`,
|
|
@@ -33930,12 +33938,12 @@ const q3 = ["data-direction", "data-inset", "data-status"], V3 = ["id", "for"],
|
|
|
33930
33938
|
}), Ne = S(() => {
|
|
33931
33939
|
const Y = s.value.validateMessageDisplayMode ?? "form";
|
|
33932
33940
|
return Y === "form" ? l?.validateMessageDisplayMode ?? "popup" : Y;
|
|
33933
|
-
}),
|
|
33941
|
+
}), qe = S(() => s.value.label !== !1 && (!!s.value.label || !!u.label)), et = S(() => !!s.value.description || !!u.description), ue = S(() => {
|
|
33934
33942
|
const Y = [];
|
|
33935
33943
|
return et.value && Y.push(h.description), ge.value && Y.push(h.message), Y.length ? Y.join(" ") : void 0;
|
|
33936
33944
|
}), ae = S(() => {
|
|
33937
33945
|
const Y = ze.value === "vertical" ? { display: "flex", flexDirection: "column", gap: "var(--ui-space-1)" } : { display: "flex", alignItems: "flex-start", columnGap: "var(--ui-label-gap)" }, me = s.value.indent ?? 0;
|
|
33938
|
-
if (me && (Y.paddingLeft = typeof me == "number" ? `${me * 28}px` : me), s.value.inset && !
|
|
33946
|
+
if (me && (Y.paddingLeft = typeof me == "number" ? `${me * 28}px` : me), s.value.inset && !qe.value && ze.value === "horizontal") {
|
|
33939
33947
|
const Oe = `calc(${s.value.labelWidth ?? "var(--ui-label-column)"} + var(--ui-label-gap))`;
|
|
33940
33948
|
Y.paddingLeft = c ? `max(0px, calc(${Oe} - ${c.indent}))` : Oe;
|
|
33941
33949
|
}
|
|
@@ -34023,7 +34031,7 @@ const q3 = ["data-direction", "data-inset", "data-status"], V3 = ["id", "for"],
|
|
|
34023
34031
|
releaseControl: (Y) => {
|
|
34024
34032
|
m.value[0] === Y && (v.value = h.control), m.value = m.value.filter((me) => me !== Y);
|
|
34025
34033
|
},
|
|
34026
|
-
labelId: S(() =>
|
|
34034
|
+
labelId: S(() => qe.value ? h.label : void 0),
|
|
34027
34035
|
setControlId: (Y) => {
|
|
34028
34036
|
v.value = Y;
|
|
34029
34037
|
},
|
|
@@ -34087,7 +34095,7 @@ const q3 = ["data-direction", "data-inset", "data-status"], V3 = ["id", "for"],
|
|
|
34087
34095
|
onFocusin: me[3] || (me[3] = (Oe) => Ne.value === "popup" && ce()),
|
|
34088
34096
|
onFocusout: me[4] || (me[4] = (Oe) => Ne.value === "popup" && ve())
|
|
34089
34097
|
}, [
|
|
34090
|
-
|
|
34098
|
+
qe.value ? (g(), I("div", {
|
|
34091
34099
|
key: 0,
|
|
34092
34100
|
"data-form-label": "",
|
|
34093
34101
|
style: Ge(ne.value),
|
|
@@ -34827,6 +34835,6 @@ async function c4() {
|
|
|
34827
34835
|
const t = document.getElementById("app"), n = ({ key: o }) => l4(e.messages ?? {}, String(o));
|
|
34828
34836
|
return Kx({
|
|
34829
34837
|
render: () => _e(a4, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
|
|
34830
|
-
}).mount(t), await
|
|
34838
|
+
}).mount(t), await Be(), await document.fonts.ready, await u4(), { issues: () => s4(t, innerWidth) };
|
|
34831
34839
|
}
|
|
34832
34840
|
window.synoPreview = c4();
|