@synopackageland/ui 0.19.9 → 0.19.11
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 +9 -0
- package/README.md +8 -0
- package/dist/components/composite/connection-topology/ConnectionTopology.vue.d.ts +6 -0
- package/dist/components/primitives/progress/Progress.vue.d.ts +3 -0
- package/dist/index.js +4614 -4569
- package/dist/json/catalog.d.ts +2 -0
- package/dist/json/registry.d.ts +34 -0
- package/dist/json-ai-prompt.md +1 -1
- package/dist/json-catalog.schema.json +11 -1
- package/dist/json-preview/preview.js +230 -217
- package/dist/json.js +3 -2
- 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/package.json +1 -1
|
@@ -2186,10 +2186,10 @@ function xg(e) {
|
|
|
2186
2186
|
});
|
|
2187
2187
|
}
|
|
2188
2188
|
u && Hu(u, e, "c");
|
|
2189
|
-
function
|
|
2189
|
+
function ne(ae, ve) {
|
|
2190
2190
|
we(ve) ? ve.forEach((Re) => ae(Re.bind(n))) : ve && ae(ve.bind(n));
|
|
2191
2191
|
}
|
|
2192
|
-
if (
|
|
2192
|
+
if (ne(gg, d), ne(Qe, p), ne(Xf, h), ne(Nl, m), ne(hg, v), ne(mg, g), ne(Qf, O), ne(wg, k), ne(bg, P), ne(xt, _), ne(sn, w), ne(yg, D), we(I))
|
|
2193
2193
|
if (I.length) {
|
|
2194
2194
|
const ae = e.exposed || (e.exposed = {});
|
|
2195
2195
|
I.forEach((ve) => {
|
|
@@ -2862,7 +2862,7 @@ function Ug(e, t) {
|
|
|
2862
2862
|
nextSibling: p,
|
|
2863
2863
|
setScopeId: h = gn,
|
|
2864
2864
|
insertStaticContent: m
|
|
2865
|
-
} = e, v = (x, $, q, X = null, Z = null, K = null,
|
|
2865
|
+
} = e, v = (x, $, q, X = null, Z = null, K = null, oe = void 0, ie = null, te = !!$.dynamicChildren) => {
|
|
2866
2866
|
if (x === $)
|
|
2867
2867
|
return;
|
|
2868
2868
|
x && !vr(x, $) && (X = rt(x), Ne(x, Z, K, !0), x = null), $.patchFlag === -2 && (te = !1, $.dynamicChildren = null), $.dynamicChildren && x && x.dynamicChildren && x.dynamicChildren.hasOnce && ($.dynamicChildren === _o && ($.dynamicChildren = []), $.dynamicChildren.hasOnce = !0);
|
|
@@ -2875,7 +2875,7 @@ function Ug(e, t) {
|
|
|
2875
2875
|
b(x, $, q, X);
|
|
2876
2876
|
break;
|
|
2877
2877
|
case Qa:
|
|
2878
|
-
x == null && _($, q, X,
|
|
2878
|
+
x == null && _($, q, X, oe);
|
|
2879
2879
|
break;
|
|
2880
2880
|
case xe:
|
|
2881
2881
|
B(
|
|
@@ -2885,7 +2885,7 @@ function Ug(e, t) {
|
|
|
2885
2885
|
X,
|
|
2886
2886
|
Z,
|
|
2887
2887
|
K,
|
|
2888
|
-
|
|
2888
|
+
oe,
|
|
2889
2889
|
ie,
|
|
2890
2890
|
te
|
|
2891
2891
|
);
|
|
@@ -2898,7 +2898,7 @@ function Ug(e, t) {
|
|
|
2898
2898
|
X,
|
|
2899
2899
|
Z,
|
|
2900
2900
|
K,
|
|
2901
|
-
|
|
2901
|
+
oe,
|
|
2902
2902
|
ie,
|
|
2903
2903
|
te
|
|
2904
2904
|
) : ue & 6 ? G(
|
|
@@ -2908,7 +2908,7 @@ function Ug(e, t) {
|
|
|
2908
2908
|
X,
|
|
2909
2909
|
Z,
|
|
2910
2910
|
K,
|
|
2911
|
-
|
|
2911
|
+
oe,
|
|
2912
2912
|
ie,
|
|
2913
2913
|
te
|
|
2914
2914
|
) : (ue & 64 || ue & 128) && H.process(
|
|
@@ -2918,7 +2918,7 @@ function Ug(e, t) {
|
|
|
2918
2918
|
X,
|
|
2919
2919
|
Z,
|
|
2920
2920
|
K,
|
|
2921
|
-
|
|
2921
|
+
oe,
|
|
2922
2922
|
ie,
|
|
2923
2923
|
te,
|
|
2924
2924
|
Oe
|
|
@@ -2961,15 +2961,15 @@ function Ug(e, t) {
|
|
|
2961
2961
|
for (; x && x !== $; )
|
|
2962
2962
|
q = p(x), r(x), x = q;
|
|
2963
2963
|
r($);
|
|
2964
|
-
}, S = (x, $, q, X, Z, K,
|
|
2965
|
-
if ($.type === "svg" ?
|
|
2964
|
+
}, S = (x, $, q, X, Z, K, oe, ie, te) => {
|
|
2965
|
+
if ($.type === "svg" ? oe = "svg" : $.type === "math" && (oe = "mathml"), x == null)
|
|
2966
2966
|
k(
|
|
2967
2967
|
$,
|
|
2968
2968
|
q,
|
|
2969
2969
|
X,
|
|
2970
2970
|
Z,
|
|
2971
2971
|
K,
|
|
2972
|
-
|
|
2972
|
+
oe,
|
|
2973
2973
|
ie,
|
|
2974
2974
|
te
|
|
2975
2975
|
);
|
|
@@ -2981,7 +2981,7 @@ function Ug(e, t) {
|
|
|
2981
2981
|
$,
|
|
2982
2982
|
Z,
|
|
2983
2983
|
K,
|
|
2984
|
-
|
|
2984
|
+
oe,
|
|
2985
2985
|
ie,
|
|
2986
2986
|
te
|
|
2987
2987
|
);
|
|
@@ -2989,7 +2989,7 @@ function Ug(e, t) {
|
|
|
2989
2989
|
H && H._endPatch();
|
|
2990
2990
|
}
|
|
2991
2991
|
}
|
|
2992
|
-
}, k = (x, $, q, X, Z, K,
|
|
2992
|
+
}, k = (x, $, q, X, Z, K, oe, ie) => {
|
|
2993
2993
|
let te, H;
|
|
2994
2994
|
const { props: ye, shapeFlag: ue, transition: ge, dirs: Se } = x;
|
|
2995
2995
|
if (te = x.el = a(
|
|
@@ -3004,9 +3004,9 @@ function Ug(e, t) {
|
|
|
3004
3004
|
X,
|
|
3005
3005
|
Z,
|
|
3006
3006
|
Xa(x, K),
|
|
3007
|
-
|
|
3007
|
+
oe,
|
|
3008
3008
|
ie
|
|
3009
|
-
), Se && ho(x, null, X, "created"), P(te, x, x.scopeId,
|
|
3009
|
+
), Se && ho(x, null, X, "created"), P(te, x, x.scopeId, oe, X), ye) {
|
|
3010
3010
|
for (const Y in ye)
|
|
3011
3011
|
Y !== "value" && !Cr(Y) && i(te, Y, null, ye[Y], K, X);
|
|
3012
3012
|
"value" in ye && i(te, "value", null, ye.value, K), (H = ye.onVnodeBeforeMount) && dn(H, X, x);
|
|
@@ -3023,17 +3023,17 @@ function Ug(e, t) {
|
|
|
3023
3023
|
if (Z) {
|
|
3024
3024
|
let K = Z.subTree;
|
|
3025
3025
|
if ($ === K || xp(K.type) && (K.ssContent === $ || K.ssFallback === $)) {
|
|
3026
|
-
const
|
|
3026
|
+
const oe = Z.vnode;
|
|
3027
3027
|
P(
|
|
3028
3028
|
x,
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3029
|
+
oe,
|
|
3030
|
+
oe.scopeId,
|
|
3031
|
+
oe.slotScopeIds,
|
|
3032
3032
|
Z.parent
|
|
3033
3033
|
);
|
|
3034
3034
|
}
|
|
3035
3035
|
}
|
|
3036
|
-
}, O = (x, $, q, X, Z, K,
|
|
3036
|
+
}, O = (x, $, q, X, Z, K, oe, ie, te = 0) => {
|
|
3037
3037
|
for (let H = te; H < x.length; H++) {
|
|
3038
3038
|
const ye = x[H] = ie ? An(x[H]) : mn(x[H]);
|
|
3039
3039
|
v(
|
|
@@ -3044,11 +3044,11 @@ function Ug(e, t) {
|
|
|
3044
3044
|
X,
|
|
3045
3045
|
Z,
|
|
3046
3046
|
K,
|
|
3047
|
-
|
|
3047
|
+
oe,
|
|
3048
3048
|
ie
|
|
3049
3049
|
);
|
|
3050
3050
|
}
|
|
3051
|
-
}, D = (x, $, q, X, Z, K,
|
|
3051
|
+
}, D = (x, $, q, X, Z, K, oe) => {
|
|
3052
3052
|
const ie = $.el = x.el;
|
|
3053
3053
|
let { patchFlag: te, dynamicChildren: H, dirs: ye } = $;
|
|
3054
3054
|
te |= x.patchFlag & 16;
|
|
@@ -3056,7 +3056,7 @@ function Ug(e, t) {
|
|
|
3056
3056
|
let Se;
|
|
3057
3057
|
if (q && mo(q, !1), (Se = ge.onVnodeBeforeUpdate) && dn(Se, q, $, x), ye && ho($, x, q, "beforeUpdate"), q && mo(q, !0), // #6385 the old vnode may be a user-wrapped non-isomorphic block
|
|
3058
3058
|
// Force full diff when block metadata is unstable.
|
|
3059
|
-
H && (!x.dynamicChildren || x.dynamicChildren.length !== H.length) && (te = 0,
|
|
3059
|
+
H && (!x.dynamicChildren || x.dynamicChildren.length !== H.length) && (te = 0, oe = !1, H = null), (ue.innerHTML && ge.innerHTML == null || ue.textContent && ge.textContent == null) && u(ie, ""), H ? I(
|
|
3060
3060
|
x.dynamicChildren,
|
|
3061
3061
|
H,
|
|
3062
3062
|
ie,
|
|
@@ -3064,7 +3064,7 @@ function Ug(e, t) {
|
|
|
3064
3064
|
X,
|
|
3065
3065
|
Xa($, Z),
|
|
3066
3066
|
K
|
|
3067
|
-
) :
|
|
3067
|
+
) : oe || ve(
|
|
3068
3068
|
x,
|
|
3069
3069
|
$,
|
|
3070
3070
|
ie,
|
|
@@ -3085,11 +3085,11 @@ function Ug(e, t) {
|
|
|
3085
3085
|
}
|
|
3086
3086
|
}
|
|
3087
3087
|
te & 1 && x.children !== $.children && u(ie, $.children);
|
|
3088
|
-
} else !
|
|
3088
|
+
} else !oe && H == null && L(ie, ue, ge, q, Z);
|
|
3089
3089
|
((Se = ge.onVnodeUpdated) || ye) && Tt(() => {
|
|
3090
3090
|
Se && dn(Se, q, $, x), ye && ho($, x, q, "updated");
|
|
3091
3091
|
}, X);
|
|
3092
|
-
}, I = (x, $, q, X, Z, K,
|
|
3092
|
+
}, I = (x, $, q, X, Z, K, oe) => {
|
|
3093
3093
|
for (let ie = 0; ie < $.length; ie++) {
|
|
3094
3094
|
const te = x[ie], H = $[ie], ye = (
|
|
3095
3095
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
@@ -3113,7 +3113,7 @@ function Ug(e, t) {
|
|
|
3113
3113
|
X,
|
|
3114
3114
|
Z,
|
|
3115
3115
|
K,
|
|
3116
|
-
|
|
3116
|
+
oe,
|
|
3117
3117
|
!0
|
|
3118
3118
|
);
|
|
3119
3119
|
}
|
|
@@ -3131,12 +3131,12 @@ function Ug(e, t) {
|
|
|
3131
3131
|
);
|
|
3132
3132
|
for (const K in q) {
|
|
3133
3133
|
if (Cr(K)) continue;
|
|
3134
|
-
const
|
|
3135
|
-
|
|
3134
|
+
const oe = q[K], ie = $[K];
|
|
3135
|
+
oe !== ie && K !== "value" && i(x, K, ie, oe, Z, X);
|
|
3136
3136
|
}
|
|
3137
3137
|
"value" in q && i(x, "value", $.value, q.value, Z);
|
|
3138
3138
|
}
|
|
3139
|
-
}, B = (x, $, q, X, Z, K,
|
|
3139
|
+
}, B = (x, $, q, X, Z, K, oe, ie, te) => {
|
|
3140
3140
|
const H = $.el = x ? x.el : s(""), ye = $.anchor = x ? x.anchor : s("");
|
|
3141
3141
|
let { patchFlag: ue, dynamicChildren: ge, slotScopeIds: Se } = $;
|
|
3142
3142
|
Se && (ie = ie ? ie.concat(Se) : Se), x == null ? (o(H, q, X), o(ye, q, X), O(
|
|
@@ -3149,7 +3149,7 @@ function Ug(e, t) {
|
|
|
3149
3149
|
ye,
|
|
3150
3150
|
Z,
|
|
3151
3151
|
K,
|
|
3152
|
-
|
|
3152
|
+
oe,
|
|
3153
3153
|
ie,
|
|
3154
3154
|
te
|
|
3155
3155
|
)) : ue > 0 && ue & 64 && ge && // #2715 the previous fragment could've been a BAILed one as a result
|
|
@@ -3160,7 +3160,7 @@ function Ug(e, t) {
|
|
|
3160
3160
|
q,
|
|
3161
3161
|
Z,
|
|
3162
3162
|
K,
|
|
3163
|
-
|
|
3163
|
+
oe,
|
|
3164
3164
|
ie
|
|
3165
3165
|
), // #2080 if the stable fragment has a key, it's a <template v-for> that may
|
|
3166
3166
|
// get moved around. Make sure all root level vnodes inherit el.
|
|
@@ -3178,16 +3178,16 @@ function Ug(e, t) {
|
|
|
3178
3178
|
ye,
|
|
3179
3179
|
Z,
|
|
3180
3180
|
K,
|
|
3181
|
-
|
|
3181
|
+
oe,
|
|
3182
3182
|
ie,
|
|
3183
3183
|
te
|
|
3184
3184
|
);
|
|
3185
|
-
}, G = (x, $, q, X, Z, K,
|
|
3185
|
+
}, G = (x, $, q, X, Z, K, oe, ie, te) => {
|
|
3186
3186
|
$.slotScopeIds = ie, x == null ? $.shapeFlag & 512 ? Z.ctx.activate(
|
|
3187
3187
|
$,
|
|
3188
3188
|
q,
|
|
3189
3189
|
X,
|
|
3190
|
-
|
|
3190
|
+
oe,
|
|
3191
3191
|
te
|
|
3192
3192
|
) : J(
|
|
3193
3193
|
$,
|
|
@@ -3195,29 +3195,29 @@ function Ug(e, t) {
|
|
|
3195
3195
|
X,
|
|
3196
3196
|
Z,
|
|
3197
3197
|
K,
|
|
3198
|
-
|
|
3198
|
+
oe,
|
|
3199
3199
|
te
|
|
3200
3200
|
) : W(x, $, te);
|
|
3201
|
-
}, J = (x, $, q, X, Z, K,
|
|
3201
|
+
}, J = (x, $, q, X, Z, K, oe) => {
|
|
3202
3202
|
const ie = x.component = Yg(
|
|
3203
3203
|
x,
|
|
3204
3204
|
X,
|
|
3205
3205
|
Z
|
|
3206
3206
|
);
|
|
3207
|
-
if (Dl(x) && (ie.ctx.renderer = Oe), Xg(ie, !1,
|
|
3208
|
-
if (Z && Z.registerDep(ie,
|
|
3207
|
+
if (Dl(x) && (ie.ctx.renderer = Oe), Xg(ie, !1, oe), ie.asyncDep) {
|
|
3208
|
+
if (Z && Z.registerDep(ie, ne, oe), !x.el) {
|
|
3209
3209
|
const te = ie.subTree = j(Zt);
|
|
3210
3210
|
b(null, te, $, q), x.placeholder = te.el;
|
|
3211
3211
|
}
|
|
3212
3212
|
} else
|
|
3213
|
-
|
|
3213
|
+
ne(
|
|
3214
3214
|
ie,
|
|
3215
3215
|
x,
|
|
3216
3216
|
$,
|
|
3217
3217
|
q,
|
|
3218
3218
|
Z,
|
|
3219
3219
|
K,
|
|
3220
|
-
|
|
3220
|
+
oe
|
|
3221
3221
|
);
|
|
3222
3222
|
}, W = (x, $, q) => {
|
|
3223
3223
|
const X = $.component = x.component;
|
|
@@ -3229,14 +3229,14 @@ function Ug(e, t) {
|
|
|
3229
3229
|
X.next = $, X.update();
|
|
3230
3230
|
else
|
|
3231
3231
|
$.el = x.el, X.vnode = $;
|
|
3232
|
-
},
|
|
3232
|
+
}, ne = (x, $, q, X, Z, K, oe) => {
|
|
3233
3233
|
const ie = () => {
|
|
3234
3234
|
if (x.isMounted) {
|
|
3235
3235
|
let { next: ue, bu: ge, u: Se, parent: Te, vnode: Y } = x;
|
|
3236
3236
|
{
|
|
3237
3237
|
const un = _p(x);
|
|
3238
3238
|
if (un) {
|
|
3239
|
-
ue && (ue.el = Y.el, ae(x, ue,
|
|
3239
|
+
ue && (ue.el = Y.el, ae(x, ue, oe)), un.asyncDep.then(() => {
|
|
3240
3240
|
Tt(() => {
|
|
3241
3241
|
x.isUnmounted || H();
|
|
3242
3242
|
}, Z);
|
|
@@ -3245,7 +3245,7 @@ function Ug(e, t) {
|
|
|
3245
3245
|
}
|
|
3246
3246
|
}
|
|
3247
3247
|
let fe = ue, Ee;
|
|
3248
|
-
mo(x, !1), ue ? (ue.el = Y.el, ae(x, ue,
|
|
3248
|
+
mo(x, !1), ue ? (ue.el = Y.el, ae(x, ue, oe)) : ue = Y, ge && xi(ge), (Ee = ue.props && ue.props.onVnodeBeforeUpdate) && dn(Ee, Te, ue, Y), mo(x, !0);
|
|
3249
3249
|
const Fe = Yu(x), ln = x.subTree;
|
|
3250
3250
|
x.subTree = Fe, v(
|
|
3251
3251
|
ln,
|
|
@@ -3300,7 +3300,7 @@ function Ug(e, t) {
|
|
|
3300
3300
|
$.component = x;
|
|
3301
3301
|
const X = x.vnode.props;
|
|
3302
3302
|
x.vnode = $, x.next = null, Fg(x, $.props, X, q), Vg(x, $.children, q), Nn(), Bu(x), Mn();
|
|
3303
|
-
}, ve = (x, $, q, X, Z, K,
|
|
3303
|
+
}, ve = (x, $, q, X, Z, K, oe, ie, te = !1) => {
|
|
3304
3304
|
const H = x && x.children, ye = x ? x.shapeFlag : 0, ue = $.children, { patchFlag: ge, shapeFlag: Se } = $;
|
|
3305
3305
|
if (ge > 0) {
|
|
3306
3306
|
if (ge & 128) {
|
|
@@ -3311,7 +3311,7 @@ function Ug(e, t) {
|
|
|
3311
3311
|
X,
|
|
3312
3312
|
Z,
|
|
3313
3313
|
K,
|
|
3314
|
-
|
|
3314
|
+
oe,
|
|
3315
3315
|
ie,
|
|
3316
3316
|
te
|
|
3317
3317
|
);
|
|
@@ -3324,7 +3324,7 @@ function Ug(e, t) {
|
|
|
3324
3324
|
X,
|
|
3325
3325
|
Z,
|
|
3326
3326
|
K,
|
|
3327
|
-
|
|
3327
|
+
oe,
|
|
3328
3328
|
ie,
|
|
3329
3329
|
te
|
|
3330
3330
|
);
|
|
@@ -3338,7 +3338,7 @@ function Ug(e, t) {
|
|
|
3338
3338
|
X,
|
|
3339
3339
|
Z,
|
|
3340
3340
|
K,
|
|
3341
|
-
|
|
3341
|
+
oe,
|
|
3342
3342
|
ie,
|
|
3343
3343
|
te
|
|
3344
3344
|
) : Ct(H, Z, K, !0) : (ye & 8 && u(q, ""), Se & 16 && O(
|
|
@@ -3347,11 +3347,11 @@ function Ug(e, t) {
|
|
|
3347
3347
|
X,
|
|
3348
3348
|
Z,
|
|
3349
3349
|
K,
|
|
3350
|
-
|
|
3350
|
+
oe,
|
|
3351
3351
|
ie,
|
|
3352
3352
|
te
|
|
3353
3353
|
));
|
|
3354
|
-
}, Re = (x, $, q, X, Z, K,
|
|
3354
|
+
}, Re = (x, $, q, X, Z, K, oe, ie, te) => {
|
|
3355
3355
|
x = x || _o, $ = $ || _o;
|
|
3356
3356
|
const H = x.length, ye = $.length, ue = Math.min(H, ye);
|
|
3357
3357
|
let ge;
|
|
@@ -3364,7 +3364,7 @@ function Ug(e, t) {
|
|
|
3364
3364
|
null,
|
|
3365
3365
|
Z,
|
|
3366
3366
|
K,
|
|
3367
|
-
|
|
3367
|
+
oe,
|
|
3368
3368
|
ie,
|
|
3369
3369
|
te
|
|
3370
3370
|
);
|
|
@@ -3382,12 +3382,12 @@ function Ug(e, t) {
|
|
|
3382
3382
|
X,
|
|
3383
3383
|
Z,
|
|
3384
3384
|
K,
|
|
3385
|
-
|
|
3385
|
+
oe,
|
|
3386
3386
|
ie,
|
|
3387
3387
|
te,
|
|
3388
3388
|
ue
|
|
3389
3389
|
);
|
|
3390
|
-
}, be = (x, $, q, X, Z, K,
|
|
3390
|
+
}, be = (x, $, q, X, Z, K, oe, ie, te) => {
|
|
3391
3391
|
let H = 0;
|
|
3392
3392
|
const ye = $.length;
|
|
3393
3393
|
let ue = x.length - 1, ge = ye - 1;
|
|
@@ -3401,7 +3401,7 @@ function Ug(e, t) {
|
|
|
3401
3401
|
null,
|
|
3402
3402
|
Z,
|
|
3403
3403
|
K,
|
|
3404
|
-
|
|
3404
|
+
oe,
|
|
3405
3405
|
ie,
|
|
3406
3406
|
te
|
|
3407
3407
|
);
|
|
@@ -3419,7 +3419,7 @@ function Ug(e, t) {
|
|
|
3419
3419
|
null,
|
|
3420
3420
|
Z,
|
|
3421
3421
|
K,
|
|
3422
|
-
|
|
3422
|
+
oe,
|
|
3423
3423
|
ie,
|
|
3424
3424
|
te
|
|
3425
3425
|
);
|
|
@@ -3438,7 +3438,7 @@ function Ug(e, t) {
|
|
|
3438
3438
|
Te,
|
|
3439
3439
|
Z,
|
|
3440
3440
|
K,
|
|
3441
|
-
|
|
3441
|
+
oe,
|
|
3442
3442
|
ie,
|
|
3443
3443
|
te
|
|
3444
3444
|
), H++;
|
|
@@ -3479,7 +3479,7 @@ function Ug(e, t) {
|
|
|
3479
3479
|
null,
|
|
3480
3480
|
Z,
|
|
3481
3481
|
K,
|
|
3482
|
-
|
|
3482
|
+
oe,
|
|
3483
3483
|
ie,
|
|
3484
3484
|
te
|
|
3485
3485
|
), Ee++);
|
|
@@ -3497,14 +3497,14 @@ function Ug(e, t) {
|
|
|
3497
3497
|
Du,
|
|
3498
3498
|
Z,
|
|
3499
3499
|
K,
|
|
3500
|
-
|
|
3500
|
+
oe,
|
|
3501
3501
|
ie,
|
|
3502
3502
|
te
|
|
3503
3503
|
) : ln && (fe < 0 || H !== Iu[fe] ? Ce(cn, q, Du, 2) : fe--);
|
|
3504
3504
|
}
|
|
3505
3505
|
}
|
|
3506
3506
|
}, Ce = (x, $, q, X, Z = null) => {
|
|
3507
|
-
const { el: K, type:
|
|
3507
|
+
const { el: K, type: oe, transition: ie, children: te, shapeFlag: H } = x;
|
|
3508
3508
|
if (H & 6) {
|
|
3509
3509
|
Ce(x.component.subTree, $, q, X);
|
|
3510
3510
|
return;
|
|
@@ -3514,17 +3514,17 @@ function Ug(e, t) {
|
|
|
3514
3514
|
return;
|
|
3515
3515
|
}
|
|
3516
3516
|
if (H & 64) {
|
|
3517
|
-
|
|
3517
|
+
oe.move(x, $, q, Oe);
|
|
3518
3518
|
return;
|
|
3519
3519
|
}
|
|
3520
|
-
if (
|
|
3520
|
+
if (oe === xe) {
|
|
3521
3521
|
o(K, $, q);
|
|
3522
3522
|
for (let ue = 0; ue < te.length; ue++)
|
|
3523
3523
|
Ce(te[ue], $, q, X);
|
|
3524
3524
|
o(x.anchor, $, q);
|
|
3525
3525
|
return;
|
|
3526
3526
|
}
|
|
3527
|
-
if (
|
|
3527
|
+
if (oe === Qa) {
|
|
3528
3528
|
A(x, $, q);
|
|
3529
3529
|
return;
|
|
3530
3530
|
}
|
|
@@ -3550,7 +3550,7 @@ function Ug(e, t) {
|
|
|
3550
3550
|
}, Ne = (x, $, q, X = !1, Z = !1) => {
|
|
3551
3551
|
const {
|
|
3552
3552
|
type: K,
|
|
3553
|
-
props:
|
|
3553
|
+
props: oe,
|
|
3554
3554
|
ref: ie,
|
|
3555
3555
|
children: te,
|
|
3556
3556
|
dynamicChildren: H,
|
|
@@ -3566,7 +3566,7 @@ function Ug(e, t) {
|
|
|
3566
3566
|
}
|
|
3567
3567
|
const Y = ye & 1 && ge, fe = !Wo(x);
|
|
3568
3568
|
let Ee;
|
|
3569
|
-
if (fe && (Ee =
|
|
3569
|
+
if (fe && (Ee = oe && oe.onVnodeBeforeUnmount) && dn(Ee, $, x), ye & 6)
|
|
3570
3570
|
Nt(x.component, q, X);
|
|
3571
3571
|
else {
|
|
3572
3572
|
if (ye & 128) {
|
|
@@ -3594,7 +3594,7 @@ function Ug(e, t) {
|
|
|
3594
3594
|
) : (K === xe && ue & 384 || !Z && ye & 16) && Ct(te, $, q), X && Ye(x);
|
|
3595
3595
|
}
|
|
3596
3596
|
const Fe = Te != null && Se == null;
|
|
3597
|
-
(fe && (Ee =
|
|
3597
|
+
(fe && (Ee = oe && oe.onVnodeUnmounted) || Y || Fe) && Tt(() => {
|
|
3598
3598
|
Ee && dn(Ee, $, x), Y && ho(x, null, $, "unmounted"), Fe && (x.el = null);
|
|
3599
3599
|
}, q);
|
|
3600
3600
|
}, Ye = (x) => {
|
|
@@ -3611,7 +3611,7 @@ function Ug(e, t) {
|
|
|
3611
3611
|
r(q), Z && !Z.persisted && Z.afterLeave && Z.afterLeave();
|
|
3612
3612
|
};
|
|
3613
3613
|
if (x.shapeFlag & 1 && Z && !Z.persisted) {
|
|
3614
|
-
const { leave:
|
|
3614
|
+
const { leave: oe, delayLeave: ie } = Z, te = () => oe(q, K);
|
|
3615
3615
|
ie ? ie(x.el, K, te) : te();
|
|
3616
3616
|
} else
|
|
3617
3617
|
K();
|
|
@@ -3621,13 +3621,13 @@ function Ug(e, t) {
|
|
|
3621
3621
|
q = p(x), r(x), x = q;
|
|
3622
3622
|
r($);
|
|
3623
3623
|
}, Nt = (x, $, q) => {
|
|
3624
|
-
const { bum: X, scope: Z, job: K, subTree:
|
|
3625
|
-
ec(te), ec(H), X && xi(X), Z.stop(), K ? (K.flags |= 8, Ne(
|
|
3624
|
+
const { bum: X, scope: Z, job: K, subTree: oe, um: ie, m: te, a: H } = x;
|
|
3625
|
+
ec(te), ec(H), X && xi(X), Z.stop(), K ? (K.flags |= 8, Ne(oe, x, $, q)) : x.vnode.el && oe && (oe.transition = x.vnode.transition, Ne(oe, x, $, q)), ie && Tt(ie, $), Tt(() => {
|
|
3626
3626
|
x.isUnmounted = !0;
|
|
3627
3627
|
}, $);
|
|
3628
3628
|
}, Ct = (x, $, q, X = !1, Z = !1, K = 0) => {
|
|
3629
|
-
for (let
|
|
3630
|
-
Ne(x[
|
|
3629
|
+
for (let oe = K; oe < x.length; oe++)
|
|
3630
|
+
Ne(x[oe], $, q, X, Z);
|
|
3631
3631
|
}, rt = (x) => {
|
|
3632
3632
|
if (x.shapeFlag & 6)
|
|
3633
3633
|
return rt(x.component.subTree);
|
|
@@ -3741,7 +3741,7 @@ function kp(e) {
|
|
|
3741
3741
|
}
|
|
3742
3742
|
function E(e, t, n, o, r, i) {
|
|
3743
3743
|
return kp(
|
|
3744
|
-
|
|
3744
|
+
re(
|
|
3745
3745
|
e,
|
|
3746
3746
|
t,
|
|
3747
3747
|
n,
|
|
@@ -3775,7 +3775,7 @@ const Cp = ({ key: e }) => e ?? null, ki = ({
|
|
|
3775
3775
|
ref_key: t,
|
|
3776
3776
|
ref_for: n
|
|
3777
3777
|
}) => (typeof e == "number" && (e = "" + e), e != null ? Ge(e) || /* @__PURE__ */ Xe(e) || ke(e) ? { i: wt, r: e, k: t, f: !!n } : e : null);
|
|
3778
|
-
function
|
|
3778
|
+
function re(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,
|
|
3781
3781
|
__v_skip: !0,
|
|
@@ -3832,7 +3832,7 @@ function Hg(e, t = null, n = null, o = 0, r = null, i = !1) {
|
|
|
3832
3832
|
s && !Ge(s) && (t.class = ee(s)), je(l) && (/* @__PURE__ */ ha(l) && !we(l) && (l = ht({}, l)), t.style = Le(l));
|
|
3833
3833
|
}
|
|
3834
3834
|
const a = Ge(e) ? 1 : xp(e) ? 128 : va(e) ? 64 : je(e) ? 4 : ke(e) ? 2 : 0;
|
|
3835
|
-
return
|
|
3835
|
+
return re(
|
|
3836
3836
|
e,
|
|
3837
3837
|
t,
|
|
3838
3838
|
n,
|
|
@@ -9994,8 +9994,8 @@ Note: state patches appear right after the elements that use them, so the UI fil
|
|
|
9994
9994
|
), a.push(
|
|
9995
9995
|
"IMPORTANT: `watch` is a top-level field on the element (sibling of type/props/children), NOT inside props. Watchers only fire when the value changes, not on initial render."
|
|
9996
9996
|
), a.push(""));
|
|
9997
|
-
const
|
|
9998
|
-
|
|
9997
|
+
const ne = t.editModes;
|
|
9998
|
+
ne && ne.length > 0 && a.push(dk({ modes: ne })), a.push("RULES:");
|
|
9999
9999
|
const ae = i === "inline" ? [
|
|
10000
10000
|
"When generating UI, wrap all JSONL patches in a ```spec code fence - one JSON object per line inside the fence",
|
|
10001
10001
|
"Write a brief conversational response before any JSONL output",
|
|
@@ -13654,13 +13654,13 @@ const Hk = ["aria-label"], Jh = /* @__PURE__ */ z({
|
|
|
13654
13654
|
style: Le(o.value),
|
|
13655
13655
|
"data-syno-pkg-land-ui": ""
|
|
13656
13656
|
}, [...i[0] || (i[0] = [
|
|
13657
|
-
|
|
13657
|
+
re("svg", {
|
|
13658
13658
|
class: "ui-spin-ring",
|
|
13659
13659
|
viewBox: "0 0 16 16",
|
|
13660
13660
|
"aria-hidden": "true",
|
|
13661
13661
|
focusable: "false"
|
|
13662
13662
|
}, [
|
|
13663
|
-
|
|
13663
|
+
re("circle", {
|
|
13664
13664
|
class: "ui-spin-arc",
|
|
13665
13665
|
cx: "8",
|
|
13666
13666
|
cy: "8",
|
|
@@ -13761,7 +13761,7 @@ const eC = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "d
|
|
|
13761
13761
|
i.value ? (y(), E("span", tC, [
|
|
13762
13762
|
j(Jh, { size: 16 })
|
|
13763
13763
|
])) : F("", !0),
|
|
13764
|
-
|
|
13764
|
+
re("span", {
|
|
13765
13765
|
ref_key: "labelEl",
|
|
13766
13766
|
ref: s,
|
|
13767
13767
|
class: ee(["min-w-0 truncate [&>svg]:inline-block [&>svg]:shrink-0 [&>svg]:align-middle", u.value && "[&>:first-child]:mr-2", d.value && "[&>:last-child]:ml-2"]),
|
|
@@ -14145,10 +14145,10 @@ const jC = {
|
|
|
14145
14145
|
class: ["flex min-w-0 items-center gap-2", n.type === "number" ? "max-w-full" : "w-full"],
|
|
14146
14146
|
"data-syno-pkg-land-ui": ""
|
|
14147
14147
|
}), [
|
|
14148
|
-
|
|
14148
|
+
re("span", {
|
|
14149
14149
|
class: ee(["relative inline-flex min-w-0 items-center", n.type === "number" ? "shrink-0" : "flex-1"])
|
|
14150
14150
|
}, [
|
|
14151
|
-
|
|
14151
|
+
re("input", le(f(p)(), {
|
|
14152
14152
|
value: e.modelValue,
|
|
14153
14153
|
type: u.value,
|
|
14154
14154
|
name: n.name,
|
|
@@ -17108,14 +17108,14 @@ const nA = 50, oA = async (e, t, n) => {
|
|
|
17108
17108
|
}, h = vu(r), m = mu(h), v = await a.getDimensions(c), g = h === "y", b = g ? "top" : "left", _ = g ? "bottom" : "right", A = g ? "clientHeight" : "clientWidth", w = i.reference[m] + i.reference[h] - p[h] - i.floating[m], S = p[h] - i.reference[h], k = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
|
|
17109
17109
|
let P = k ? k[A] : 0;
|
|
17110
17110
|
(!P || !await (a.isElement == null ? void 0 : a.isElement(k))) && (P = s.floating[A] || i.floating[m]);
|
|
17111
|
-
const O = w / 2 - S / 2, D = P / 2 - v[m] / 2 - 1, I = io(d[b], D), L = io(d[_], D), B = P - v[m] - L, G = P / 2 - v[m] / 2 + O, J = bm(I, G, B), W = !l.arrow && fr(r) != null && G !== J && i.reference[m] / 2 - (G < I ? I : L) - v[m] / 2 < 0,
|
|
17111
|
+
const O = w / 2 - S / 2, D = P / 2 - v[m] / 2 - 1, I = io(d[b], D), L = io(d[_], D), B = P - v[m] - L, G = P / 2 - v[m] / 2 + O, J = bm(I, G, B), W = !l.arrow && fr(r) != null && G !== J && i.reference[m] / 2 - (G < I ? I : L) - v[m] / 2 < 0, ne = W ? G < I ? G - I : G - B : 0;
|
|
17112
17112
|
return {
|
|
17113
|
-
[h]: p[h] +
|
|
17113
|
+
[h]: p[h] + ne,
|
|
17114
17114
|
data: {
|
|
17115
17115
|
[h]: J,
|
|
17116
|
-
centerOffset: G - J -
|
|
17116
|
+
centerOffset: G - J - ne,
|
|
17117
17117
|
...W && {
|
|
17118
|
-
alignmentOffset:
|
|
17118
|
+
alignmentOffset: ne
|
|
17119
17119
|
}
|
|
17120
17120
|
},
|
|
17121
17121
|
reset: W
|
|
@@ -17171,8 +17171,8 @@ const nA = 50, oA = async (e, t, n) => {
|
|
|
17171
17171
|
placement: W
|
|
17172
17172
|
}
|
|
17173
17173
|
};
|
|
17174
|
-
let
|
|
17175
|
-
if (!
|
|
17174
|
+
let ne = (B = I.filter((ae) => ae.overflows[0] <= 0).sort((ae, ve) => ae.overflows[1] - ve.overflows[1])[0]) == null ? void 0 : B.placement;
|
|
17175
|
+
if (!ne)
|
|
17176
17176
|
switch (h) {
|
|
17177
17177
|
case "bestFit": {
|
|
17178
17178
|
var G;
|
|
@@ -17185,17 +17185,17 @@ const nA = 50, oA = async (e, t, n) => {
|
|
|
17185
17185
|
}
|
|
17186
17186
|
return !0;
|
|
17187
17187
|
}).map((ve) => [ve.placement, ve.overflows.filter((Re) => Re > 0).reduce((Re, be) => Re + be, 0)]).sort((ve, Re) => ve[1] - Re[1])[0]) == null ? void 0 : G[0];
|
|
17188
|
-
ae && (
|
|
17188
|
+
ae && (ne = ae);
|
|
17189
17189
|
break;
|
|
17190
17190
|
}
|
|
17191
17191
|
case "initialPlacement":
|
|
17192
|
-
|
|
17192
|
+
ne = s;
|
|
17193
17193
|
break;
|
|
17194
17194
|
}
|
|
17195
|
-
if (r !==
|
|
17195
|
+
if (r !== ne)
|
|
17196
17196
|
return {
|
|
17197
17197
|
reset: {
|
|
17198
|
-
placement:
|
|
17198
|
+
placement: ne
|
|
17199
17199
|
}
|
|
17200
17200
|
};
|
|
17201
17201
|
}
|
|
@@ -18189,9 +18189,9 @@ var WA = /* @__PURE__ */ z({
|
|
|
18189
18189
|
}),
|
|
18190
18190
|
NA({
|
|
18191
18191
|
...g.value,
|
|
18192
|
-
apply: ({ elements: J, rects: W, availableWidth:
|
|
18192
|
+
apply: ({ elements: J, rects: W, availableWidth: ne, availableHeight: ae }) => {
|
|
18193
18193
|
const { width: ve, height: Re } = W.reference, be = J.floating.style;
|
|
18194
|
-
be.setProperty("--reka-popper-available-width", `${
|
|
18194
|
+
be.setProperty("--reka-popper-available-width", `${ne}px`), be.setProperty("--reka-popper-available-height", `${ae}px`), be.setProperty("--reka-popper-anchor-width", `${ve}px`), be.setProperty("--reka-popper-anchor-height", `${Re}px`);
|
|
18195
18195
|
}
|
|
18196
18196
|
}),
|
|
18197
18197
|
u.value && BA({
|
|
@@ -18883,14 +18883,14 @@ var dE = /* @__PURE__ */ z({
|
|
|
18883
18883
|
dm(), au(s.value);
|
|
18884
18884
|
const c = /* @__PURE__ */ M(""), u = /* @__PURE__ */ M(0), d = /* @__PURE__ */ M(0), p = /* @__PURE__ */ M(null), h = /* @__PURE__ */ M("right"), m = /* @__PURE__ */ M(0), v = /* @__PURE__ */ M(null), g = /* @__PURE__ */ M(), { forwardRef: b, currentElement: _ } = _e(), { handleTypeaheadSearch: A } = lu(), w = /* @__PURE__ */ M();
|
|
18885
18885
|
function S(W) {
|
|
18886
|
-
const
|
|
18886
|
+
const ne = wd(W, w.value || lt(), _.value, {
|
|
18887
18887
|
loop: l.value,
|
|
18888
18888
|
arrowKeyOptions: "vertical",
|
|
18889
18889
|
dir: i?.dir.value,
|
|
18890
18890
|
focus: !1,
|
|
18891
18891
|
attributeName: "[data-reka-collection-item]:not([data-disabled])"
|
|
18892
18892
|
});
|
|
18893
|
-
|
|
18893
|
+
ne && (w.value = ne, ne.scrollIntoView({ block: "nearest" }));
|
|
18894
18894
|
}
|
|
18895
18895
|
function k() {
|
|
18896
18896
|
w.value && w.value.click();
|
|
@@ -18914,7 +18914,7 @@ var dE = /* @__PURE__ */ z({
|
|
|
18914
18914
|
}
|
|
18915
18915
|
function L(W) {
|
|
18916
18916
|
if (W.defaultPrevented) return;
|
|
18917
|
-
const
|
|
18917
|
+
const ne = W.target, ae = ne.closest("[data-reka-menu-content]") === W.currentTarget, ve = ["input", "textarea"].includes(ne.tagName.toLowerCase()), Re = W.ctrlKey || W.altKey || W.metaKey, be = W.key.length === 1, Ce = wd(W, lt(), _.value, {
|
|
18918
18918
|
loop: l.value,
|
|
18919
18919
|
arrowKeyOptions: "vertical",
|
|
18920
18920
|
dir: i?.dir.value,
|
|
@@ -18934,8 +18934,8 @@ var dE = /* @__PURE__ */ z({
|
|
|
18934
18934
|
}
|
|
18935
18935
|
function G(W) {
|
|
18936
18936
|
if (!rr(W)) return;
|
|
18937
|
-
const
|
|
18938
|
-
if (W?.currentTarget?.contains(
|
|
18937
|
+
const ne = W.target, ae = m.value !== W.clientX;
|
|
18938
|
+
if (W?.currentTarget?.contains(ne) && ae) {
|
|
18939
18939
|
const ve = W.clientX > m.value ? "right" : "left";
|
|
18940
18940
|
h.value = ve, m.value = W.clientX;
|
|
18941
18941
|
}
|
|
@@ -18960,31 +18960,31 @@ var dE = /* @__PURE__ */ z({
|
|
|
18960
18960
|
onPointerGraceIntentChange: (W) => {
|
|
18961
18961
|
p.value = W;
|
|
18962
18962
|
}
|
|
18963
|
-
}), (W,
|
|
18963
|
+
}), (W, ne) => (y(), N(f(uu), {
|
|
18964
18964
|
"as-child": "",
|
|
18965
18965
|
trapped: f(a),
|
|
18966
18966
|
onMountAutoFocus: I,
|
|
18967
|
-
onUnmountAutoFocus:
|
|
18967
|
+
onUnmountAutoFocus: ne[7] || (ne[7] = (ae) => o("closeAutoFocus", ae))
|
|
18968
18968
|
}, {
|
|
18969
18969
|
default: T(() => [j(f(Ia), {
|
|
18970
18970
|
"as-child": "",
|
|
18971
18971
|
"disable-outside-pointer-events": f(s),
|
|
18972
|
-
onEscapeKeyDown:
|
|
18973
|
-
onPointerDownOutside:
|
|
18974
|
-
onFocusOutside:
|
|
18975
|
-
onInteractOutside:
|
|
18976
|
-
onDismiss:
|
|
18972
|
+
onEscapeKeyDown: ne[2] || (ne[2] = (ae) => o("escapeKeyDown", ae)),
|
|
18973
|
+
onPointerDownOutside: ne[3] || (ne[3] = (ae) => o("pointerDownOutside", ae)),
|
|
18974
|
+
onFocusOutside: ne[4] || (ne[4] = (ae) => o("focusOutside", ae)),
|
|
18975
|
+
onInteractOutside: ne[5] || (ne[5] = (ae) => o("interactOutside", ae)),
|
|
18976
|
+
onDismiss: ne[6] || (ne[6] = (ae) => o("dismiss"))
|
|
18977
18977
|
}, {
|
|
18978
18978
|
default: T(() => [j(f(Om), {
|
|
18979
18979
|
ref_key: "rovingFocusGroupRef",
|
|
18980
18980
|
ref: g,
|
|
18981
18981
|
"current-tab-stop-id": v.value,
|
|
18982
|
-
"onUpdate:currentTabStopId":
|
|
18982
|
+
"onUpdate:currentTabStopId": ne[0] || (ne[0] = (ae) => v.value = ae),
|
|
18983
18983
|
"as-child": "",
|
|
18984
18984
|
orientation: "vertical",
|
|
18985
18985
|
dir: f(i).dir.value,
|
|
18986
18986
|
loop: f(l),
|
|
18987
|
-
onEntryFocus:
|
|
18987
|
+
onEntryFocus: ne[1] || (ne[1] = (ae) => {
|
|
18988
18988
|
o("entryFocus", ae), f(i).isUsingKeyboardRef.value || ae.preventDefault();
|
|
18989
18989
|
})
|
|
18990
18990
|
}, {
|
|
@@ -21207,7 +21207,7 @@ var D$ = /* @__PURE__ */ z({
|
|
|
21207
21207
|
o.onValueChange(i.target.value);
|
|
21208
21208
|
}
|
|
21209
21209
|
return (i, a) => (y(), N(f(fu), { "as-child": "" }, {
|
|
21210
|
-
default: T(() => [
|
|
21210
|
+
default: T(() => [re("select", le({
|
|
21211
21211
|
ref_key: "selectElement",
|
|
21212
21212
|
ref: n
|
|
21213
21213
|
}, t, { onInput: r }), [R(i.$slots, "default")], 16)]),
|
|
@@ -21610,7 +21610,7 @@ var W$ = /* @__PURE__ */ z({
|
|
|
21610
21610
|
const rt = w.right - k.right, me = window.innerWidth - S.right - rt, se = window.innerWidth - A.right - me, Oe = A.width + se, Pt = Math.max(Oe, w.width), x = window.innerWidth - Jt, $ = gd(me, Jt, Math.max(Jt, x - Pt));
|
|
21611
21611
|
c.value.style.minWidth = `${Oe}px`, c.value.style.right = `${$}px`;
|
|
21612
21612
|
}
|
|
21613
|
-
const P = r().map((rt) => rt.ref), O = window.innerHeight - Jt * 2, D = p.value.scrollHeight, I = window.getComputedStyle(d.value), L = Number.parseInt(I.borderTopWidth, 10), B = Number.parseInt(I.paddingTop, 10), G = Number.parseInt(I.borderBottomWidth, 10), J = Number.parseInt(I.paddingBottom, 10), W = L + B + D + J + G,
|
|
21613
|
+
const P = r().map((rt) => rt.ref), O = window.innerHeight - Jt * 2, D = p.value.scrollHeight, I = window.getComputedStyle(d.value), L = Number.parseInt(I.borderTopWidth, 10), B = Number.parseInt(I.paddingTop, 10), G = Number.parseInt(I.borderBottomWidth, 10), J = Number.parseInt(I.paddingBottom, 10), W = L + B + D + J + G, ne = Math.min(h.value.offsetHeight * 5, W), ae = window.getComputedStyle(p.value), ve = Number.parseInt(ae.paddingTop, 10), Re = Number.parseInt(ae.paddingBottom, 10), be = A.top + A.height / 2 - Jt, Ce = O - be, Ne = h.value.offsetHeight / 2, Ye = h.value.offsetTop + Ne, ot = L + B + Ye, Nt = W - ot;
|
|
21614
21614
|
if (ot <= be) {
|
|
21615
21615
|
const rt = h.value === P.at(-1);
|
|
21616
21616
|
c.value.style.bottom = "0px";
|
|
@@ -21622,7 +21622,7 @@ var W$ = /* @__PURE__ */ z({
|
|
|
21622
21622
|
const se = Math.max(be, L + p.value.offsetTop + (rt ? ve : 0) + Ne) + Nt;
|
|
21623
21623
|
c.value.style.height = `${se}px`, p.value.scrollTop = ot - be + p.value.offsetTop;
|
|
21624
21624
|
}
|
|
21625
|
-
c.value.style.margin = `${Jt}px 0`, c.value.style.minHeight = `${
|
|
21625
|
+
c.value.style.margin = `${Jt}px 0`, c.value.style.minHeight = `${ne}px`, c.value.style.maxHeight = `${O}px`, o("placed"), requestAnimationFrame(() => s.value = !0);
|
|
21626
21626
|
}
|
|
21627
21627
|
}
|
|
21628
21628
|
const b = /* @__PURE__ */ M("");
|
|
@@ -23147,11 +23147,11 @@ const zO = ["for"], FO = {
|
|
|
23147
23147
|
]),
|
|
23148
23148
|
_: 1
|
|
23149
23149
|
}, 8, ["value", "disabled"]),
|
|
23150
|
-
|
|
23150
|
+
re("span", UO, [
|
|
23151
23151
|
n.variant === "card" && u.icon ? (y(), E("span", WO, [
|
|
23152
23152
|
(y(), N(ut(u.icon), { class: "size-[18px]" }))
|
|
23153
23153
|
])) : F("", !0),
|
|
23154
|
-
|
|
23154
|
+
re("span", {
|
|
23155
23155
|
class: ee(["block leading-[var(--ui-line-height)]", n.variant === "card" ? "font-semibold" : ""])
|
|
23156
23156
|
}, Q(u.label), 3),
|
|
23157
23157
|
u.description ? (y(), E("span", {
|
|
@@ -23342,7 +23342,7 @@ const YO = { key: 0 }, XO = { key: 1 }, QO = { key: 2 }, eT = {
|
|
|
23342
23342
|
}, {
|
|
23343
23343
|
default: T(() => [
|
|
23344
23344
|
d.value ? (y(), E("div", eT, [
|
|
23345
|
-
Go(
|
|
23345
|
+
Go(re("input", {
|
|
23346
23346
|
ref_key: "searchInput",
|
|
23347
23347
|
ref: l,
|
|
23348
23348
|
"onUpdate:modelValue": D[0] || (D[0] = (I) => a.value = I),
|
|
@@ -23383,7 +23383,7 @@ const YO = { key: 0 }, XO = { key: 1 }, QO = { key: 2 }, eT = {
|
|
|
23383
23383
|
class: ee(["relative flex h-8 select-none items-center rounded-[var(--ui-radius-sm)] py-1 pr-8 text-[13px] text-[var(--ui-text)] outline-none data-[highlighted]:bg-[var(--ui-neutral-soft)] data-[state=checked]:bg-[var(--ui-surface-selected)] data-[disabled]:opacity-40", I.label && I.indent ? "pl-5" : "pl-2.5"])
|
|
23384
23384
|
}, {
|
|
23385
23385
|
default: T(() => [
|
|
23386
|
-
|
|
23386
|
+
re("span", oT, [
|
|
23387
23387
|
j(f(cO), null, {
|
|
23388
23388
|
default: T(() => [
|
|
23389
23389
|
$e(Q(L.label), 1)
|
|
@@ -23691,9 +23691,10 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23691
23691
|
key: 0,
|
|
23692
23692
|
class: "mb-1.5 flex justify-between gap-3 text-[12px] text-[var(--ui-text-secondary)]"
|
|
23693
23693
|
}, CT = {
|
|
23694
|
+
key: 0,
|
|
23694
23695
|
"data-ui-progress-value": "",
|
|
23695
23696
|
class: "tabular-nums"
|
|
23696
|
-
}, PT = ["aria-valuenow", "aria-valuemax", "aria-label", "data-tone"], Ym = /* @__PURE__ */ z({
|
|
23697
|
+
}, PT = ["aria-valuenow", "aria-valuemax", "aria-label", "data-tone", "data-indeterminate"], Ym = /* @__PURE__ */ z({
|
|
23697
23698
|
inheritAttrs: !1,
|
|
23698
23699
|
__name: "Progress",
|
|
23699
23700
|
props: {
|
|
@@ -23702,37 +23703,48 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23702
23703
|
label: {},
|
|
23703
23704
|
valueLabel: {},
|
|
23704
23705
|
tone: { default: "primary" },
|
|
23705
|
-
size: { default: "md" }
|
|
23706
|
+
size: { default: "md" },
|
|
23707
|
+
indeterminate: { type: Boolean, default: !1 }
|
|
23706
23708
|
},
|
|
23707
23709
|
setup(e) {
|
|
23708
|
-
const t = ya(), n = () => Object.fromEntries(Object.entries(t).filter(([
|
|
23710
|
+
const t = ya(), n = () => Object.fromEntries(Object.entries(t).filter(([s]) => s !== "class" && s !== "style")), o = e, r = {
|
|
23709
23711
|
primary: "bg-[var(--ui-primary)]",
|
|
23710
23712
|
success: "bg-[var(--ui-success)]",
|
|
23711
23713
|
warning: "bg-[var(--ui-warning)]",
|
|
23712
23714
|
danger: "bg-[var(--ui-danger)]"
|
|
23713
|
-
}, i =
|
|
23714
|
-
|
|
23715
|
+
}, i = {
|
|
23716
|
+
primary: "bg-[var(--ui-primary-soft)]",
|
|
23717
|
+
success: "bg-[var(--ui-success-soft)]",
|
|
23718
|
+
warning: "bg-[var(--ui-warning-soft)]",
|
|
23719
|
+
danger: "bg-[var(--ui-danger-soft)]"
|
|
23720
|
+
}, a = C(() => o.max <= 0 ? 0 : Math.min(100, Math.max(0, o.value / o.max * 100)));
|
|
23721
|
+
return (s, l) => (y(), E("div", {
|
|
23715
23722
|
class: ee(f(t).class),
|
|
23716
23723
|
style: Le(f(t).style),
|
|
23717
23724
|
"data-syno-pkg-land-ui": ""
|
|
23718
23725
|
}, [
|
|
23719
23726
|
e.label || e.valueLabel ? (y(), E("div", kT, [
|
|
23720
|
-
|
|
23721
|
-
|
|
23727
|
+
re("span", null, Q(e.label), 1),
|
|
23728
|
+
e.valueLabel !== void 0 || !e.indeterminate ? (y(), E("span", CT, Q(e.valueLabel ?? `${Math.round(a.value)}%`), 1)) : F("", !0)
|
|
23722
23729
|
])) : F("", !0),
|
|
23723
|
-
|
|
23724
|
-
class: ["overflow-hidden rounded-full
|
|
23730
|
+
re("div", le({
|
|
23731
|
+
class: ["overflow-hidden rounded-full", i[e.tone], e.size === "sm" ? "h-1" : "h-1.5"],
|
|
23725
23732
|
role: "progressbar",
|
|
23726
|
-
"aria-valuenow": o.value,
|
|
23733
|
+
"aria-valuenow": e.indeterminate ? void 0 : o.value,
|
|
23727
23734
|
"aria-valuemin": 0,
|
|
23728
23735
|
"aria-valuemax": o.max,
|
|
23729
23736
|
"aria-label": e.label,
|
|
23730
|
-
"data-tone": e.tone
|
|
23737
|
+
"data-tone": e.tone,
|
|
23738
|
+
"data-indeterminate": e.indeterminate ? "" : void 0
|
|
23731
23739
|
}, n()), [
|
|
23732
|
-
|
|
23740
|
+
e.indeterminate ? (y(), E("div", {
|
|
23741
|
+
key: 0,
|
|
23742
|
+
class: ee(["ui-progress-indeterminate h-full rounded-full", r[e.tone]])
|
|
23743
|
+
}, null, 2)) : (y(), E("div", {
|
|
23744
|
+
key: 1,
|
|
23733
23745
|
class: ee(["h-full rounded-full transition-[width] duration-[var(--ui-motion-normal)]", r[e.tone]]),
|
|
23734
|
-
style: Le({ width: `${
|
|
23735
|
-
}, null, 6)
|
|
23746
|
+
style: Le({ width: `${a.value}%` })
|
|
23747
|
+
}, null, 6))
|
|
23736
23748
|
], 16, PT)
|
|
23737
23749
|
], 6));
|
|
23738
23750
|
}
|
|
@@ -23778,7 +23790,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23778
23790
|
setup(e) {
|
|
23779
23791
|
const t = xn();
|
|
23780
23792
|
return (n, o) => e.variant === "figures" ? (y(), E("div", AT, [
|
|
23781
|
-
|
|
23793
|
+
re("span", ET, Q(f(t)("Loading…")), 1),
|
|
23782
23794
|
(y(!0), E(xe, null, tt(e.count, (r) => (y(), E("span", {
|
|
23783
23795
|
key: r,
|
|
23784
23796
|
"data-ui-skeleton-figure": "",
|
|
@@ -23794,7 +23806,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23794
23806
|
})
|
|
23795
23807
|
]))), 128))
|
|
23796
23808
|
])) : e.variant === "rows" ? (y(), E("div", $T, [
|
|
23797
|
-
|
|
23809
|
+
re("span", OT, Q(f(t)("Loading…")), 1),
|
|
23798
23810
|
(y(!0), E(xe, null, tt(e.count, (r) => (y(), E("span", {
|
|
23799
23811
|
key: r,
|
|
23800
23812
|
"data-ui-skeleton-row": "",
|
|
@@ -23805,7 +23817,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23805
23817
|
height: "28px",
|
|
23806
23818
|
radius: "var(--ui-radius-pill)"
|
|
23807
23819
|
}),
|
|
23808
|
-
|
|
23820
|
+
re("span", TT, [
|
|
23809
23821
|
j(Zn, {
|
|
23810
23822
|
width: r % 2 ? "60%" : "45%",
|
|
23811
23823
|
height: "12px"
|
|
@@ -23826,7 +23838,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
23826
23838
|
})
|
|
23827
23839
|
]))), 128))
|
|
23828
23840
|
])) : (y(), E("div", IT, [
|
|
23829
|
-
|
|
23841
|
+
re("span", RT, Q(f(t)("Loading…")), 1),
|
|
23830
23842
|
(y(!0), E(xe, null, tt(e.lines, (r) => (y(), N(Zn, {
|
|
23831
23843
|
key: r,
|
|
23832
23844
|
"data-ui-skeleton-line": "",
|
|
@@ -24016,7 +24028,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
24016
24028
|
"aria-hidden": "true"
|
|
24017
24029
|
})) : F("", !0)
|
|
24018
24030
|
], 2)) : F("", !0),
|
|
24019
|
-
|
|
24031
|
+
re("span", NT, [
|
|
24020
24032
|
$e(Q(u.item.label), 1),
|
|
24021
24033
|
u.item.description ? (y(), E("span", MT, Q(u.item.description), 1)) : F("", !0)
|
|
24022
24034
|
]),
|
|
@@ -24070,7 +24082,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
24070
24082
|
onSelect: pt((d) => o("select", u.item.key), ["prevent"])
|
|
24071
24083
|
}, {
|
|
24072
24084
|
default: T(() => [
|
|
24073
|
-
|
|
24085
|
+
re("span", FT, [
|
|
24074
24086
|
j(f(Ld), null, {
|
|
24075
24087
|
default: T(() => [
|
|
24076
24088
|
j(f(jo), {
|
|
@@ -24081,7 +24093,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
24081
24093
|
_: 1
|
|
24082
24094
|
})
|
|
24083
24095
|
]),
|
|
24084
|
-
|
|
24096
|
+
re("span", qT, [
|
|
24085
24097
|
$e(Q(u.item.label), 1),
|
|
24086
24098
|
u.item.description ? (y(), E("span", LT, Q(u.item.description), 1)) : F("", !0)
|
|
24087
24099
|
]),
|
|
@@ -24105,7 +24117,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
24105
24117
|
onSelect: (p) => o("radio", d.value, d.key, u.group)
|
|
24106
24118
|
}, {
|
|
24107
24119
|
default: T(() => [
|
|
24108
|
-
|
|
24120
|
+
re("span", jT, [
|
|
24109
24121
|
j(f(Ld), null, {
|
|
24110
24122
|
default: T(() => [
|
|
24111
24123
|
e.radioIndicator === "check" ? (y(), N(f(jo), {
|
|
@@ -24117,7 +24129,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
24117
24129
|
_: 1
|
|
24118
24130
|
})
|
|
24119
24131
|
]),
|
|
24120
|
-
|
|
24132
|
+
re("span", WT, [
|
|
24121
24133
|
$e(Q(d.label), 1),
|
|
24122
24134
|
d.description ? (y(), E("span", KT, Q(d.description), 1)) : F("", !0)
|
|
24123
24135
|
]),
|
|
@@ -24151,7 +24163,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
|
|
|
24151
24163
|
"aria-hidden": "true"
|
|
24152
24164
|
})) : F("", !0)
|
|
24153
24165
|
], 2)) : F("", !0),
|
|
24154
|
-
|
|
24166
|
+
re("span", HT, [
|
|
24155
24167
|
$e(Q(u.item.label), 1),
|
|
24156
24168
|
u.item.description ? (y(), E("span", GT, Q(u.item.description), 1)) : F("", !0)
|
|
24157
24169
|
]),
|
|
@@ -24493,7 +24505,7 @@ const hI = /* @__PURE__ */ z({
|
|
|
24493
24505
|
const J = G instanceof HTMLElement ? G : null;
|
|
24494
24506
|
if (!J) return;
|
|
24495
24507
|
B.preventDefault();
|
|
24496
|
-
const W = Array.from(J.querySelectorAll(yI)).find((
|
|
24508
|
+
const W = Array.from(J.querySelectorAll(yI)).find((ne) => !ne.matches("[data-dialog-close], [data-ui-keyboard-focus], :disabled") && i(ne));
|
|
24497
24509
|
W && Wd(W), (!W || document.activeElement !== W) && (J.tabIndex = -1, Wd(J));
|
|
24498
24510
|
}
|
|
24499
24511
|
function l(B, G) {
|
|
@@ -24571,7 +24583,7 @@ const hI = /* @__PURE__ */ z({
|
|
|
24571
24583
|
onPointerdown: G[1] || (G[1] = //@ts-ignore
|
|
24572
24584
|
(...J) => f(m) && f(m)(...J))
|
|
24573
24585
|
}, [
|
|
24574
|
-
|
|
24586
|
+
re("div", {
|
|
24575
24587
|
class: ee(["min-w-0", B.$slots.header && "flex-1"])
|
|
24576
24588
|
}, [
|
|
24577
24589
|
f(o).title ? (y(), N(f($P), le({
|
|
@@ -24766,7 +24778,7 @@ const TI = ["disabled", "aria-label", "value", "placeholder"], II = ["disabled",
|
|
|
24766
24778
|
class: "pointer-events-none absolute top-1/2 left-2.5 size-4 -translate-y-1/2 text-[var(--ui-text-muted)]",
|
|
24767
24779
|
"aria-hidden": "true"
|
|
24768
24780
|
})),
|
|
24769
|
-
|
|
24781
|
+
re("input", le(f(a)(), {
|
|
24770
24782
|
disabled: f(o),
|
|
24771
24783
|
"aria-label": f(a)()["aria-label"] || (f(a)()["aria-labelledby"] ? void 0 : f(r).placeholder),
|
|
24772
24784
|
value: f(r).modelValue,
|
|
@@ -24845,15 +24857,15 @@ const NI = ["data-direction"], MI = {
|
|
|
24845
24857
|
]),
|
|
24846
24858
|
"data-syno-pkg-land-ui": ""
|
|
24847
24859
|
}, [
|
|
24848
|
-
|
|
24860
|
+
re("div", {
|
|
24849
24861
|
"data-settings-label": "",
|
|
24850
24862
|
class: ee(["min-w-0 break-words [word-break:keep-all] text-left text-[13px] text-[var(--ui-text)]", n.value === "start" && "pt-1"])
|
|
24851
24863
|
}, [
|
|
24852
24864
|
$e(Q(e.label), 1),
|
|
24853
24865
|
e.required ? (y(), E("span", MI, "*")) : F("", !0)
|
|
24854
24866
|
], 2),
|
|
24855
|
-
|
|
24856
|
-
|
|
24867
|
+
re("div", zI, [
|
|
24868
|
+
re("div", {
|
|
24857
24869
|
"data-field-control": "",
|
|
24858
24870
|
style: Le(o.value)
|
|
24859
24871
|
}, [
|
|
@@ -24901,7 +24913,7 @@ const NI = ["data-direction"], MI = {
|
|
|
24901
24913
|
inert: !t.open || void 0,
|
|
24902
24914
|
onTransitionend: c
|
|
24903
24915
|
}, [
|
|
24904
|
-
|
|
24916
|
+
re("div", BI, [
|
|
24905
24917
|
R(u.$slots, "default")
|
|
24906
24918
|
])
|
|
24907
24919
|
], 40, LI)), [
|
|
@@ -24962,7 +24974,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
24962
24974
|
"aria-busy": e.loading || void 0
|
|
24963
24975
|
}, [
|
|
24964
24976
|
e.collapsible ? (y(), E("div", jI, [
|
|
24965
|
-
|
|
24977
|
+
re("button", {
|
|
24966
24978
|
type: "button",
|
|
24967
24979
|
class: "group m-0 flex h-full min-w-0 flex-1 border-0 bg-transparent p-0 items-center gap-2 text-left text-[length:inherit] font-semibold text-[var(--ui-text)] outline-none enabled:hover:bg-[var(--ui-surface-hover)] focus-visible:shadow-[inset_0_0_0_2px_var(--ui-focus-ring)]",
|
|
24968
24980
|
"aria-expanded": f(i),
|
|
@@ -24974,7 +24986,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
24974
24986
|
class: ee(["size-4 shrink-0 transition-transform", !f(i) && "-rotate-90"]),
|
|
24975
24987
|
"aria-hidden": "true"
|
|
24976
24988
|
}, null, 8, ["class"]),
|
|
24977
|
-
|
|
24989
|
+
re("span", WI, [
|
|
24978
24990
|
R(u.$slots, "title", {}, () => [
|
|
24979
24991
|
$e(Q(e.title), 1)
|
|
24980
24992
|
])
|
|
@@ -24984,7 +24996,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
24984
24996
|
R(u.$slots, "actions")
|
|
24985
24997
|
])) : F("", !0)
|
|
24986
24998
|
])) : c.value ? (y(), E("div", ZI, [
|
|
24987
|
-
|
|
24999
|
+
re("span", HI, [
|
|
24988
25000
|
R(u.$slots, "title", {}, () => [
|
|
24989
25001
|
$e(Q(e.title), 1)
|
|
24990
25002
|
])
|
|
@@ -24995,7 +25007,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
24995
25007
|
])) : F("", !0),
|
|
24996
25008
|
j(Tu, { open: s.value }, {
|
|
24997
25009
|
default: T(() => [
|
|
24998
|
-
|
|
25010
|
+
re("div", {
|
|
24999
25011
|
id: f(r),
|
|
25000
25012
|
class: ee(["ui-settings-section-body", c.value && "pt-3"])
|
|
25001
25013
|
}, [
|
|
@@ -25074,7 +25086,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25074
25086
|
function W(me) {
|
|
25075
25087
|
return !!me && (!!s.value?.contains(me) || !!l.value?.contains(me));
|
|
25076
25088
|
}
|
|
25077
|
-
function
|
|
25089
|
+
function ne(me) {
|
|
25078
25090
|
if (!(!m.value || u.value || h.value !== "hover")) {
|
|
25079
25091
|
if (clearTimeout(S), c.value || W(me.relatedTarget)) {
|
|
25080
25092
|
I();
|
|
@@ -25153,7 +25165,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25153
25165
|
default: T(() => [
|
|
25154
25166
|
j(f($u), { "as-child": "" }, {
|
|
25155
25167
|
default: T(() => [
|
|
25156
|
-
|
|
25168
|
+
re("button", le({
|
|
25157
25169
|
ref_key: "trigger",
|
|
25158
25170
|
ref: s
|
|
25159
25171
|
}, me.$attrs, {
|
|
@@ -25168,7 +25180,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25168
25180
|
e.type === "white" ? "text-[var(--ui-primary-foreground)]" : "text-[var(--ui-primary)]",
|
|
25169
25181
|
e.size === "small" ? "size-3.5 before:-inset-2.5" : "size-4 before:-inset-2"
|
|
25170
25182
|
]],
|
|
25171
|
-
onPointerenter:
|
|
25183
|
+
onPointerenter: ne,
|
|
25172
25184
|
onPointerleave: ae,
|
|
25173
25185
|
onPointerdown: Ce,
|
|
25174
25186
|
onFocus: ve,
|
|
@@ -25198,13 +25210,13 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25198
25210
|
onPointerDownOutside: Ne
|
|
25199
25211
|
}, {
|
|
25200
25212
|
default: T(() => [
|
|
25201
|
-
|
|
25213
|
+
re("div", {
|
|
25202
25214
|
ref_key: "contentEl",
|
|
25203
25215
|
ref: l,
|
|
25204
25216
|
role: "tooltip",
|
|
25205
25217
|
class: ee(["z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip-bg)] text-[12px] leading-4 text-[var(--ui-tooltip-fg)] [overflow-wrap:anywhere] shadow-[var(--ui-shadow-menu)] outline-none [&_a]:underline [&_a]:text-inherit", b.value]),
|
|
25206
25218
|
"data-syno-pkg-land-ui": "",
|
|
25207
|
-
onPointerenter:
|
|
25219
|
+
onPointerenter: ne,
|
|
25208
25220
|
onPointerleave: ae,
|
|
25209
25221
|
onKeydown: rt
|
|
25210
25222
|
}, [
|
|
@@ -25310,7 +25322,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25310
25322
|
class: "ui-callout-icon",
|
|
25311
25323
|
"aria-hidden": "true"
|
|
25312
25324
|
})),
|
|
25313
|
-
|
|
25325
|
+
re("span", {
|
|
25314
25326
|
ref_key: "content",
|
|
25315
25327
|
ref: l,
|
|
25316
25328
|
class: "ui-callout-hint-text"
|
|
@@ -25337,7 +25349,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25337
25349
|
class: "ui-callout-icon",
|
|
25338
25350
|
"aria-hidden": "true"
|
|
25339
25351
|
})),
|
|
25340
|
-
|
|
25352
|
+
re("span", {
|
|
25341
25353
|
ref_key: "content",
|
|
25342
25354
|
ref: l,
|
|
25343
25355
|
class: "ui-callout-hint-text"
|
|
@@ -25362,8 +25374,8 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25362
25374
|
class: "ui-callout-icon",
|
|
25363
25375
|
"aria-hidden": "true"
|
|
25364
25376
|
})),
|
|
25365
|
-
|
|
25366
|
-
|
|
25377
|
+
re("div", uR, [
|
|
25378
|
+
re("div", {
|
|
25367
25379
|
ref_key: "content",
|
|
25368
25380
|
ref: l,
|
|
25369
25381
|
class: "ui-callout-content [overflow-wrap:anywhere]"
|
|
@@ -25394,7 +25406,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25394
25406
|
class: "basis-full"
|
|
25395
25407
|
}, {
|
|
25396
25408
|
default: T(() => [
|
|
25397
|
-
|
|
25409
|
+
re("div", {
|
|
25398
25410
|
id: f(s),
|
|
25399
25411
|
"data-ui-callout-details": "",
|
|
25400
25412
|
class: "ui-callout-details"
|
|
@@ -25451,7 +25463,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
|
|
|
25451
25463
|
"aria-hidden": "true"
|
|
25452
25464
|
}))
|
|
25453
25465
|
])) : F("", !0),
|
|
25454
|
-
|
|
25466
|
+
re("h3", wR, Q(e.title), 1),
|
|
25455
25467
|
e.description ? (y(), E("p", _R, Q(e.description), 1)) : F("", !0),
|
|
25456
25468
|
t.$slots.actions ? (y(), E("div", SR, [
|
|
25457
25469
|
R(t.$slots, "actions")
|
|
@@ -25498,7 +25510,7 @@ const ER = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-
|
|
|
25498
25510
|
"data-edge-top": f(a) ? "" : void 0,
|
|
25499
25511
|
"data-edge-bottom": f(s) ? "" : void 0
|
|
25500
25512
|
}, [
|
|
25501
|
-
|
|
25513
|
+
re("div", {
|
|
25502
25514
|
ref_key: "viewport",
|
|
25503
25515
|
ref: o,
|
|
25504
25516
|
"data-ui-scroll-edges-viewport": "",
|
|
@@ -25625,12 +25637,12 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
25625
25637
|
function S(I, L) {
|
|
25626
25638
|
const B = _(), G = I.clientX, J = (ae) => ({ ...B, [L.key]: Yd(B[L.key] + ae - G, g(L)) }), W = (ae) => {
|
|
25627
25639
|
u.value = J(ae.clientX);
|
|
25628
|
-
},
|
|
25640
|
+
}, ne = (ae) => {
|
|
25629
25641
|
w?.(), A(J(ae.clientX));
|
|
25630
25642
|
};
|
|
25631
25643
|
w = () => {
|
|
25632
|
-
document.removeEventListener("pointermove", W), document.removeEventListener("pointerup",
|
|
25633
|
-
}, document.addEventListener("pointermove", W), document.addEventListener("pointerup",
|
|
25644
|
+
document.removeEventListener("pointermove", W), document.removeEventListener("pointerup", ne), document.removeEventListener("pointercancel", ne), w = void 0;
|
|
25645
|
+
}, document.addEventListener("pointermove", W), document.addEventListener("pointerup", ne), document.addEventListener("pointercancel", ne);
|
|
25634
25646
|
}
|
|
25635
25647
|
function k(I, L) {
|
|
25636
25648
|
const B = I.key === "ArrowRight" ? Gd : I.key === "ArrowLeft" ? -Gd : 0;
|
|
@@ -25663,13 +25675,13 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
25663
25675
|
class: "min-w-0 rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] bg-[var(--ui-surface)] px-3 py-2.5",
|
|
25664
25676
|
role: "listitem"
|
|
25665
25677
|
}, [
|
|
25666
|
-
|
|
25678
|
+
re("dl", VR, [
|
|
25667
25679
|
(y(!0), E(xe, null, tt(f(r).columns, (J) => (y(), E("div", {
|
|
25668
25680
|
key: J.key,
|
|
25669
25681
|
class: "grid min-w-0 grid-cols-[minmax(100px,35%)_minmax(0,1fr)] items-start gap-2"
|
|
25670
25682
|
}, [
|
|
25671
|
-
|
|
25672
|
-
|
|
25683
|
+
re("dt", jR, Q(J.label), 1),
|
|
25684
|
+
re("dd", UR, [
|
|
25673
25685
|
R(I.$slots, `cell-${J.key}`, {
|
|
25674
25686
|
row: B,
|
|
25675
25687
|
value: B[J.key],
|
|
@@ -25687,7 +25699,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
25687
25699
|
"viewport-class": f(r).fill ? "h-full overflow-auto border-y border-[var(--ui-border)]" : "overflow-auto border-y border-[var(--ui-border)]"
|
|
25688
25700
|
}, {
|
|
25689
25701
|
default: T(() => [
|
|
25690
|
-
|
|
25702
|
+
re("table", {
|
|
25691
25703
|
class: ee(["w-full border-collapse text-[13px]", h.value && "table-fixed"]),
|
|
25692
25704
|
style: Le(d.value ? { minWidth: `${p.value}px` } : void 0)
|
|
25693
25705
|
}, [
|
|
@@ -25698,8 +25710,8 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
25698
25710
|
}, null, 4))), 128)),
|
|
25699
25711
|
d.value ? (y(), E("col", KR)) : F("", !0)
|
|
25700
25712
|
])) : F("", !0),
|
|
25701
|
-
|
|
25702
|
-
|
|
25713
|
+
re("thead", ZR, [
|
|
25714
|
+
re("tr", null, [
|
|
25703
25715
|
(y(!0), E(xe, null, tt(f(r).columns, (B) => (y(), E("th", {
|
|
25704
25716
|
key: B.key,
|
|
25705
25717
|
ref_for: !0,
|
|
@@ -25727,9 +25739,9 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
25727
25739
|
d.value ? (y(), E("th", JR)) : F("", !0)
|
|
25728
25740
|
])
|
|
25729
25741
|
]),
|
|
25730
|
-
|
|
25742
|
+
re("tbody", null, [
|
|
25731
25743
|
f(r).rows.length === 0 ? (y(), E("tr", YR, [
|
|
25732
|
-
|
|
25744
|
+
re("td", {
|
|
25733
25745
|
colspan: f(r).columns.length + (d.value ? 1 : 0),
|
|
25734
25746
|
class: "px-3 py-10 text-center text-[var(--ui-text-secondary)]"
|
|
25735
25747
|
}, Q(f(r).emptyText), 9, XR)
|
|
@@ -25806,7 +25818,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
25806
25818
|
class: ee(["size-4 shrink-0 text-[var(--ui-text-secondary)]", e.wrap && "mt-0.5"]),
|
|
25807
25819
|
"aria-hidden": "true"
|
|
25808
25820
|
}, null, 8, ["class"])) : F("", !0),
|
|
25809
|
-
|
|
25821
|
+
re("div", {
|
|
25810
25822
|
"data-ui-cell-lines": "",
|
|
25811
25823
|
class: ee([
|
|
25812
25824
|
"min-w-0 flex-1",
|
|
@@ -25888,14 +25900,14 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
25888
25900
|
class: ee(["flex min-w-0 flex-col gap-0.5", r.value && !(e.detail || i.$slots.detail) && "relative"]),
|
|
25889
25901
|
"data-syno-pkg-land-ui": ""
|
|
25890
25902
|
}, [
|
|
25891
|
-
|
|
25903
|
+
re("span", iD, [
|
|
25892
25904
|
j(yT, { tone: e.tone }, null, 8, ["tone"]),
|
|
25893
25905
|
e.description ? (y(), N(ev, {
|
|
25894
25906
|
key: 0,
|
|
25895
25907
|
content: e.description
|
|
25896
25908
|
}, {
|
|
25897
25909
|
default: T(() => [
|
|
25898
|
-
|
|
25910
|
+
re("span", aD, Q(e.label), 1)
|
|
25899
25911
|
]),
|
|
25900
25912
|
_: 1
|
|
25901
25913
|
}, 8, ["content"])) : (y(), E("span", sD, Q(e.label), 1))
|
|
@@ -25952,13 +25964,13 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
25952
25964
|
},
|
|
25953
25965
|
setup(e) {
|
|
25954
25966
|
return (t, n) => (y(), E("div", cD, [
|
|
25955
|
-
|
|
25967
|
+
re("div", dD, [
|
|
25956
25968
|
t.$slots.leading ? (y(), E("div", fD, [
|
|
25957
25969
|
R(t.$slots, "leading")
|
|
25958
25970
|
])) : F("", !0),
|
|
25959
|
-
|
|
25960
|
-
|
|
25961
|
-
|
|
25971
|
+
re("div", pD, [
|
|
25972
|
+
re("div", hD, [
|
|
25973
|
+
re("span", mD, [
|
|
25962
25974
|
R(t.$slots, "title", {}, () => [
|
|
25963
25975
|
$e(Q(e.title), 1)
|
|
25964
25976
|
])
|
|
@@ -26061,7 +26073,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
|
|
|
26061
26073
|
class: "flex-1"
|
|
26062
26074
|
}, {
|
|
26063
26075
|
default: T(() => [
|
|
26064
|
-
|
|
26076
|
+
re("div", {
|
|
26065
26077
|
id: f(l),
|
|
26066
26078
|
class: ee(v.value),
|
|
26067
26079
|
role: e.expandable ? "region" : void 0,
|
|
@@ -26192,7 +26204,7 @@ const qD = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
|
|
|
26192
26204
|
}, {
|
|
26193
26205
|
default: T(() => [
|
|
26194
26206
|
f(d) === "app" ? (y(), E(xe, { key: 0 }, [
|
|
26195
|
-
|
|
26207
|
+
re("div", {
|
|
26196
26208
|
ref_key: "background",
|
|
26197
26209
|
ref: c,
|
|
26198
26210
|
"data-ui-background": "",
|
|
@@ -26200,7 +26212,7 @@ const qD = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
|
|
|
26200
26212
|
}, [
|
|
26201
26213
|
R(g.$slots, "default")
|
|
26202
26214
|
], 512),
|
|
26203
|
-
|
|
26215
|
+
re("div", {
|
|
26204
26216
|
ref_key: "portal",
|
|
26205
26217
|
ref: u,
|
|
26206
26218
|
"data-ui-portals": ""
|
|
@@ -26330,7 +26342,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26330
26342
|
};
|
|
26331
26343
|
});
|
|
26332
26344
|
const B = C(() => ({ name: n.brandName ?? L.value.name, icon: n.brandIcon ?? L.value.icon })), G = C(() => !!(s.brand || B.value.name || B.value.icon)), J = C(() => G.value && !v.value && n.wideLayout === "web"), W = C(() => w.value ? !!s["sidebar-footer"] : A.value || v.value && !!s["sidebar-footer"]);
|
|
26333
|
-
function
|
|
26345
|
+
function ne() {
|
|
26334
26346
|
S.collapsed.value = !S.collapsed.value;
|
|
26335
26347
|
}
|
|
26336
26348
|
function ae(se) {
|
|
@@ -26444,7 +26456,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26444
26456
|
}, null, 8, ["interactive", "name", "icon"])
|
|
26445
26457
|
])
|
|
26446
26458
|
])) : (y(), E("span", HD, Q(f(l)("Application navigation")), 1)),
|
|
26447
|
-
|
|
26459
|
+
re("button", {
|
|
26448
26460
|
"data-ui-close-navigation": "",
|
|
26449
26461
|
type: "button",
|
|
26450
26462
|
"aria-label": f(l)("Close"),
|
|
@@ -26467,7 +26479,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26467
26479
|
}, null, 8, ["interactive", "name", "icon", "collapsed"])
|
|
26468
26480
|
])
|
|
26469
26481
|
])) : F("", !0),
|
|
26470
|
-
|
|
26482
|
+
re("div", YD, [
|
|
26471
26483
|
R(se.$slots, "sidebar")
|
|
26472
26484
|
]),
|
|
26473
26485
|
W.value ? (y(), E("div", XD, [
|
|
@@ -26480,7 +26492,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26480
26492
|
title: k.value ? f(l)("Expand navigation") : f(l)("Collapse navigation"),
|
|
26481
26493
|
"aria-expanded": !k.value,
|
|
26482
26494
|
"aria-controls": f(b),
|
|
26483
|
-
onClick:
|
|
26495
|
+
onClick: ne
|
|
26484
26496
|
}, [
|
|
26485
26497
|
(y(), N(ut(k.value ? f(FC) : f(MC)), {
|
|
26486
26498
|
size: 18,
|
|
@@ -26503,7 +26515,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26503
26515
|
onPointerdown: Ne
|
|
26504
26516
|
}, null, 40, eN)) : F("", !0)
|
|
26505
26517
|
], 8, WD)) : F("", !0),
|
|
26506
|
-
|
|
26518
|
+
re("div", {
|
|
26507
26519
|
"data-ui-layout-main": "",
|
|
26508
26520
|
class: "flex min-h-0 min-w-0 flex-col bg-[var(--ui-surface)]",
|
|
26509
26521
|
inert: v.value && g.value
|
|
@@ -26537,7 +26549,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26537
26549
|
])) : (y(), E("span", iN, Q(f(l)("Application navigation")), 1))
|
|
26538
26550
|
])) : F("", !0),
|
|
26539
26551
|
R(se.$slots, "toolbar"),
|
|
26540
|
-
|
|
26552
|
+
re("main", {
|
|
26541
26553
|
ref_key: "main",
|
|
26542
26554
|
ref: P,
|
|
26543
26555
|
"data-ui-swap": "",
|
|
@@ -26647,7 +26659,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26647
26659
|
class: "size-[var(--ui-icon-size,22px)] shrink-0",
|
|
26648
26660
|
"aria-hidden": "true"
|
|
26649
26661
|
})) : F("", !0),
|
|
26650
|
-
|
|
26662
|
+
re("span", {
|
|
26651
26663
|
"data-nav-label": "",
|
|
26652
26664
|
class: ee(n.collapsed ? "sr-only" : of)
|
|
26653
26665
|
}, Q(m.label), 3),
|
|
@@ -26669,7 +26681,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26669
26681
|
class: "size-[var(--ui-icon-size,22px)] shrink-0",
|
|
26670
26682
|
"aria-hidden": "true"
|
|
26671
26683
|
})) : F("", !0),
|
|
26672
|
-
|
|
26684
|
+
re("span", {
|
|
26673
26685
|
"data-nav-label": "",
|
|
26674
26686
|
class: ee(n.collapsed ? "sr-only" : of)
|
|
26675
26687
|
}, Q(m.label), 3),
|
|
@@ -26743,7 +26755,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26743
26755
|
onSelect: (p) => s(d, p)
|
|
26744
26756
|
}, {
|
|
26745
26757
|
trigger: T(() => [
|
|
26746
|
-
|
|
26758
|
+
re("button", {
|
|
26747
26759
|
type: "button",
|
|
26748
26760
|
"data-ui-top-nav-more": n.overflow ? "" : void 0,
|
|
26749
26761
|
"data-ui-selected": n.overflow && r(d, n.modelValue) ? "true" : void 0,
|
|
@@ -26761,7 +26773,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26761
26773
|
class: ee(rf),
|
|
26762
26774
|
"aria-hidden": "true"
|
|
26763
26775
|
})) : F("", !0),
|
|
26764
|
-
|
|
26776
|
+
re("span", gN, Q(d.label), 1),
|
|
26765
26777
|
d.badge !== void 0 ? (y(), E("span", {
|
|
26766
26778
|
key: 1,
|
|
26767
26779
|
"data-nav-badge": "",
|
|
@@ -26790,7 +26802,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26790
26802
|
class: ee(rf),
|
|
26791
26803
|
"aria-hidden": "true"
|
|
26792
26804
|
})) : F("", !0),
|
|
26793
|
-
|
|
26805
|
+
re("span", bN, Q(d.label), 1),
|
|
26794
26806
|
d.badge !== void 0 ? (y(), E("span", {
|
|
26795
26807
|
key: 1,
|
|
26796
26808
|
"data-nav-badge": "",
|
|
@@ -26826,8 +26838,8 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26826
26838
|
if (_.querySelectorAll("[data-nav-group]").forEach((L, B) => {
|
|
26827
26839
|
const G = getComputedStyle(L);
|
|
26828
26840
|
L.querySelectorAll("[data-ui-top-nav-item]").forEach((J, W) => {
|
|
26829
|
-
const
|
|
26830
|
-
k.push(J.getBoundingClientRect().width +
|
|
26841
|
+
const ne = W === 0 ? v(G.marginLeft) + v(G.marginRight) + v(G.paddingLeft) + v(G.paddingRight) + v(G.borderLeftWidth) + v(G.borderRightWidth) + (B ? S : 0) : v(G.columnGap);
|
|
26842
|
+
k.push(J.getBoundingClientRect().width + ne);
|
|
26831
26843
|
});
|
|
26832
26844
|
}), !k.length || k.every((L) => L === 0)) return;
|
|
26833
26845
|
let P = k.length;
|
|
@@ -26886,7 +26898,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
26886
26898
|
}, null, 8, ["items", "model-value"]))
|
|
26887
26899
|
], 12, SN))), 128))
|
|
26888
26900
|
], 14, _N))), 128)),
|
|
26889
|
-
|
|
26901
|
+
re("div", {
|
|
26890
26902
|
ref_key: "more",
|
|
26891
26903
|
ref: a,
|
|
26892
26904
|
"data-ui-top-nav-more-wrapper": "",
|
|
@@ -27048,7 +27060,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
27048
27060
|
t.$slots.leading ? (y(), E("div", $N, [
|
|
27049
27061
|
R(t.$slots, "leading")
|
|
27050
27062
|
])) : F("", !0),
|
|
27051
|
-
|
|
27063
|
+
re("div", ON, [
|
|
27052
27064
|
R(t.$slots, "default")
|
|
27053
27065
|
]),
|
|
27054
27066
|
t.$slots.actions ? (y(), E("div", TN, [
|
|
@@ -27080,9 +27092,9 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
27080
27092
|
class: ee([e.sticky && "sticky top-0 z-[2] bg-[var(--ui-page-header-bg,var(--ui-surface))]", "flex flex-wrap items-start gap-x-[var(--ui-space-6)] gap-y-[var(--ui-space-2)] px-[var(--ui-page-padding-x)] pt-[var(--ui-page-padding-y)] pb-[var(--ui-space-3)]"]),
|
|
27081
27093
|
"data-syno-pkg-land-ui": ""
|
|
27082
27094
|
}, [
|
|
27083
|
-
|
|
27084
|
-
|
|
27085
|
-
|
|
27095
|
+
re("div", RN, [
|
|
27096
|
+
re("div", DN, [
|
|
27097
|
+
re("h1", {
|
|
27086
27098
|
class: "m-0 min-w-0 truncate text-[length:var(--ui-font-size-title)] [font-weight:var(--ui-heading-weight,600)] tracking-[-0.01em] text-[var(--ui-text)]",
|
|
27087
27099
|
title: e.title
|
|
27088
27100
|
}, Q(e.title), 9, NN),
|
|
@@ -27120,7 +27132,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
27120
27132
|
style: Le(e.surface !== "none" ? { "--ui-page-gutter-x": "var(--ui-page-padding-x)" } : void 0),
|
|
27121
27133
|
"data-syno-pkg-land-ui": ""
|
|
27122
27134
|
}, [
|
|
27123
|
-
|
|
27135
|
+
re("div", {
|
|
27124
27136
|
"data-page-content-body": "",
|
|
27125
27137
|
class: ee(["flex min-w-0 flex-col gap-[var(--ui-section-gap)] [&>[data-ui-page-header]]:mb-[calc(var(--ui-section-gap)*-1)]", n.value && "min-h-0 flex-1 [&>:last-child]:min-h-0 [&>:last-child]:flex-1"]),
|
|
27126
27138
|
style: Le({ "--ui-page-padding-x": "0px", maxWidth: o.value })
|
|
@@ -27159,7 +27171,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
27159
27171
|
default: T(() => [
|
|
27160
27172
|
(y(), N(ut(h.$slots.actions ? "div" : n), ct(mt(h.$slots.actions ? { class: "ui-section-tabs-row", "data-ui-section-tabs-row": "", "data-syno-pkg-land-ui": "" } : {})), {
|
|
27161
27173
|
default: T(() => [
|
|
27162
|
-
|
|
27174
|
+
re("nav", le({
|
|
27163
27175
|
ref_key: "bar",
|
|
27164
27176
|
ref: a,
|
|
27165
27177
|
class: ["ui-tab-strip relative flex min-w-0 h-[30px] [@media(pointer:coarse)]:h-9 items-end", h.$slots.actions ? "flex-[1_1_auto]" : "w-full"],
|
|
@@ -27180,7 +27192,7 @@ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
|
|
|
27180
27192
|
]),
|
|
27181
27193
|
onClick: (g) => i("update:modelValue", v.value)
|
|
27182
27194
|
}, Q(v.label), 11, jN))), 128)),
|
|
27183
|
-
|
|
27195
|
+
re("span", {
|
|
27184
27196
|
class: "ui-tab-indicator",
|
|
27185
27197
|
style: Le(f(s)),
|
|
27186
27198
|
"aria-hidden": "true"
|
|
@@ -27528,7 +27540,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
27528
27540
|
function O() {
|
|
27529
27541
|
w.value = _.value;
|
|
27530
27542
|
}
|
|
27531
|
-
const D = /* @__PURE__ */ M(""), I = /* @__PURE__ */ M(""), L = /* @__PURE__ */ M(""), B = /* @__PURE__ */ M(""), G = /* @__PURE__ */ M(!1), J = /* @__PURE__ */ M(!1), W = C(() => r.disabled === !0 || G.value || c?.disabled === !0),
|
|
27543
|
+
const D = /* @__PURE__ */ M(""), I = /* @__PURE__ */ M(""), L = /* @__PURE__ */ M(""), B = /* @__PURE__ */ M(""), G = /* @__PURE__ */ M(!1), J = /* @__PURE__ */ M(!1), W = C(() => r.disabled === !0 || G.value || c?.disabled === !0), ne = C(() => B.value || s.value.validateStatus || D.value), ae = C(() => ne.value === "error"), ve = C(() => L.value || I.value || s.value.help), Re = C(() => L.value ? L.value : ae.value && !s.value.hideValidateMessage && I.value || s.value.help), be = pr(d), Ce = C(() => {
|
|
27532
27544
|
const Y = s.value.direction ?? l?.direction ?? "auto";
|
|
27533
27545
|
return Y === "auto" ? be.value > 0 && be.value < nu ? "vertical" : "horizontal" : Y;
|
|
27534
27546
|
}), Ne = C(() => {
|
|
@@ -27551,7 +27563,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
27551
27563
|
const Y = s.value.labelWidth ?? "var(--ui-label-column)";
|
|
27552
27564
|
return { width: c ? `max(0px, calc(${Y} - ${c.indent}))` : Y };
|
|
27553
27565
|
}), se = C(() => {
|
|
27554
|
-
const Y = ae.value ? "text-[var(--ui-danger)]" :
|
|
27566
|
+
const Y = ae.value ? "text-[var(--ui-danger)]" : ne.value === "warning" ? "text-[var(--ui-warning)]" : ne.value === "success" ? "text-[var(--ui-success)]" : "text-[var(--ui-text-secondary)]";
|
|
27555
27567
|
return Ne.value === "text" ? Tn("mt-1 text-[12px] leading-4", Y) : Tn(
|
|
27556
27568
|
"absolute left-0 top-full z-[1100] mt-1 max-w-[min(100%,20rem)] rounded-[var(--ui-radius-md)] px-2.5 py-1.5 text-[12px] leading-4 shadow-[var(--ui-shadow-menu)]",
|
|
27557
27569
|
ae.value ? "bg-[var(--ui-danger-hover)] text-[var(--ui-danger-foreground)]" : "bg-[var(--ui-tooltip-bg)] text-[var(--ui-tooltip-fg)]",
|
|
@@ -27589,7 +27601,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
27589
27601
|
function K(Y) {
|
|
27590
27602
|
Y !== void 0 && (L.value = Y), J.value = !0;
|
|
27591
27603
|
}
|
|
27592
|
-
function
|
|
27604
|
+
function oe() {
|
|
27593
27605
|
J.value = !1;
|
|
27594
27606
|
}
|
|
27595
27607
|
function ie(Y, fe = "error") {
|
|
@@ -27637,11 +27649,11 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
27637
27649
|
required: C(() => s.value.requiredMark === !0),
|
|
27638
27650
|
disabled: W,
|
|
27639
27651
|
invalid: ae,
|
|
27640
|
-
status:
|
|
27652
|
+
status: ne,
|
|
27641
27653
|
message: ve,
|
|
27642
27654
|
validate: q,
|
|
27643
27655
|
showPopup: K,
|
|
27644
|
-
hidePopup:
|
|
27656
|
+
hidePopup: oe,
|
|
27645
27657
|
setValue: k,
|
|
27646
27658
|
setDisabled: H,
|
|
27647
27659
|
onBlur: X,
|
|
@@ -27671,7 +27683,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
27671
27683
|
setInvalid: ie,
|
|
27672
27684
|
resetInvalid: te,
|
|
27673
27685
|
showPopup: K,
|
|
27674
|
-
hidePopup:
|
|
27686
|
+
hidePopup: oe,
|
|
27675
27687
|
setFieldValue: k,
|
|
27676
27688
|
setInitValue: P,
|
|
27677
27689
|
setFieldDisabled: H,
|
|
@@ -27684,12 +27696,12 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
27684
27696
|
"data-inset": f(s).inset ? "" : void 0,
|
|
27685
27697
|
style: Le(Ct.value),
|
|
27686
27698
|
class: ee(f(Tn)("min-w-0", ae.value && !f(s).hideValidateStatusCls && "has-error")),
|
|
27687
|
-
"data-status":
|
|
27699
|
+
"data-status": ne.value || void 0,
|
|
27688
27700
|
"data-syno-pkg-land-ui": "",
|
|
27689
27701
|
onMouseenter: fe[1] || (fe[1] = (Ee) => Ne.value === "popup" && K()),
|
|
27690
|
-
onMouseleave: fe[2] || (fe[2] = (Ee) => Ne.value === "popup" &&
|
|
27702
|
+
onMouseleave: fe[2] || (fe[2] = (Ee) => Ne.value === "popup" && oe()),
|
|
27691
27703
|
onFocusin: fe[3] || (fe[3] = (Ee) => Ne.value === "popup" && K()),
|
|
27692
|
-
onFocusout: fe[4] || (fe[4] = (Ee) => Ne.value === "popup" &&
|
|
27704
|
+
onFocusout: fe[4] || (fe[4] = (Ee) => Ne.value === "popup" && oe())
|
|
27693
27705
|
}, [
|
|
27694
27706
|
Ye.value ? (y(), E("div", {
|
|
27695
27707
|
key: 0,
|
|
@@ -27702,7 +27714,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
27702
27714
|
]),
|
|
27703
27715
|
onClick: fe[0] || (fe[0] = (Ee) => Ne.value === "popup" && ae.value && K())
|
|
27704
27716
|
}, [
|
|
27705
|
-
|
|
27717
|
+
re("label", {
|
|
27706
27718
|
id: h.label,
|
|
27707
27719
|
for: f(s).textOnly ? void 0 : m.value,
|
|
27708
27720
|
onClick: Te
|
|
@@ -27713,12 +27725,12 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
27713
27725
|
f(s).requiredMark ? (y(), E("span", fM, "*")) : F("", !0)
|
|
27714
27726
|
], 8, dM)
|
|
27715
27727
|
], 6)) : F("", !0),
|
|
27716
|
-
|
|
27728
|
+
re("div", {
|
|
27717
27729
|
class: ee(["relative min-w-0 flex-1", f(s).disableControl ? "opacity-40" : void 0])
|
|
27718
27730
|
}, [
|
|
27719
|
-
|
|
27731
|
+
re("div", pM, [
|
|
27720
27732
|
R(Y.$slots, "before"),
|
|
27721
|
-
|
|
27733
|
+
re("div", {
|
|
27722
27734
|
class: ee(["min-w-0 flex-1", f(s).textOnly && "py-1 break-words text-[13px] leading-5 text-[var(--ui-text)]"]),
|
|
27723
27735
|
"data-field-control": "",
|
|
27724
27736
|
style: Le(rt.value)
|
|
@@ -28019,9 +28031,10 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
|
|
|
28019
28031
|
max: Qt().optional(),
|
|
28020
28032
|
label: U().optional(),
|
|
28021
28033
|
valueLabel: U().optional(),
|
|
28022
|
-
tone: Ie(["primary", "success", "warning", "danger"]).optional()
|
|
28034
|
+
tone: Ie(["primary", "success", "warning", "danger"]).optional(),
|
|
28035
|
+
indeterminate: Pe().optional()
|
|
28023
28036
|
}),
|
|
28024
|
-
description: "Linear
|
|
28037
|
+
description: "Linear progress on a track tinted in its tone. indeterminate shows a moving segment while the total is unknown. Domain-specific progress visualizations should be custom components."
|
|
28025
28038
|
},
|
|
28026
28039
|
Badge: {
|
|
28027
28040
|
props: pe({
|