@cocoar/vue-ui 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/menu/CoarContextMenu.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarMenu.vue.d.ts.map +1 -1
- package/dist/components/menu/{CoarSubmenuItem.vue.d.ts → CoarSubFlyout.vue.d.ts} +1 -1
- package/dist/components/menu/CoarSubFlyout.vue.d.ts.map +1 -0
- package/dist/components/menu/index.d.ts +3 -1
- package/dist/components/menu/index.d.ts.map +1 -1
- package/dist/components/overlay/CoarOverlayOutlet.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +96 -91
- package/package.json +2 -2
- package/dist/components/menu/CoarSubmenuItem.vue.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ue, useId as Tn, computed as m, provide as ro, openBlock as h, createElementBlock as b, normalizeClass as K, createTextVNode as _e, toDisplayString as J, createCommentVNode as q, renderSlot as me, createBlock as ze, Transition as Fo, withCtx as wt, inject as He, ref as ee, watchEffect as fs, normalizeStyle as qe, unref as $, createVNode as le, createElementVNode as x, Fragment as we, useSlots as Dn, onMounted as Ke, renderList as Fe, useModel as Ve, useTemplateRef as Re, mergeModels as Se, watch as re, onBeforeUnmount as Ye, toRef as We, Teleport as Bt, withDirectives as
|
|
1
|
+
import { defineComponent as ue, useId as Tn, computed as m, provide as ro, openBlock as h, createElementBlock as b, normalizeClass as K, createTextVNode as _e, toDisplayString as J, createCommentVNode as q, renderSlot as me, createBlock as ze, Transition as Fo, withCtx as wt, inject as He, ref as ee, watchEffect as fs, normalizeStyle as qe, unref as $, createVNode as le, createElementVNode as x, Fragment as we, useSlots as Dn, onMounted as Ke, renderList as Fe, useModel as Ve, useTemplateRef as Re, mergeModels as Se, watch as re, onBeforeUnmount as Ye, toRef as We, Teleport as Bt, withDirectives as nt, nextTick as Pe, shallowRef as ps, shallowReactive as vs, markRaw as St, mergeProps as ra, resolveDynamicComponent as $o, normalizeProps as hs, h as ms, withKeys as cn, withModifiers as Mo, readonly as sa, reactive as In, vModelText as gs } from "vue";
|
|
2
2
|
import { useI18n as Ae, useL10n as Oo, useTimezone as bs } from "@cocoar/vue-localization";
|
|
3
3
|
import la from "prismjs";
|
|
4
4
|
import { Temporal as te } from "@js-temporal/polyfill";
|
|
@@ -3065,13 +3065,13 @@ const Je = (e, t) => {
|
|
|
3065
3065
|
return (u || a) && (r = d, l = p), [r, u, l];
|
|
3066
3066
|
};
|
|
3067
3067
|
return [t ? (f) => i(t(r, l), f) : i, (f) => [r, !!f, l]];
|
|
3068
|
-
}, xi = typeof window < "u" && typeof HTMLElement < "u" && !!window.document, Xe = xi ? window : {}, So = Math.max, Ci = Math.min, fn = Math.round, $t = Math.abs, ma = Math.sign, zn = Xe.cancelAnimationFrame, Ro = Xe.requestAnimationFrame, An = Xe.setTimeout, Qa = Xe.clearTimeout, Ho = (e) => typeof Xe[e] < "u" ? Xe[e] : void 0, $i = Ho("MutationObserver"), ga = Ho("IntersectionObserver"), At = Ho("ResizeObserver"), eo = Ho("ScrollTimeline"), Fn = (e) => e === void 0, No = (e) => e === null, Mt = (e) => typeof e == "number", Wt = (e) => typeof e == "string", Vo = (e) => typeof e == "boolean",
|
|
3068
|
+
}, xi = typeof window < "u" && typeof HTMLElement < "u" && !!window.document, Xe = xi ? window : {}, So = Math.max, Ci = Math.min, fn = Math.round, $t = Math.abs, ma = Math.sign, zn = Xe.cancelAnimationFrame, Ro = Xe.requestAnimationFrame, An = Xe.setTimeout, Qa = Xe.clearTimeout, Ho = (e) => typeof Xe[e] < "u" ? Xe[e] : void 0, $i = Ho("MutationObserver"), ga = Ho("IntersectionObserver"), At = Ho("ResizeObserver"), eo = Ho("ScrollTimeline"), Fn = (e) => e === void 0, No = (e) => e === null, Mt = (e) => typeof e == "number", Wt = (e) => typeof e == "string", Vo = (e) => typeof e == "boolean", rt = (e) => typeof e == "function", at = (e) => Array.isArray(e), To = (e) => typeof e == "object" && !at(e) && !No(e), On = (e) => {
|
|
3069
3069
|
const t = !!e && e.length, o = Mt(t) && t > -1 && t % 1 == 0;
|
|
3070
|
-
return
|
|
3070
|
+
return at(e) || !rt(e) && o ? t > 0 && To(e) ? t - 1 in e : !0 : !1;
|
|
3071
3071
|
}, to = (e) => !!e && e.constructor === Object, Do = (e) => e instanceof HTMLElement, jo = (e) => e instanceof Element, ba = () => performance.now(), en = (e, t, o, n, a) => {
|
|
3072
3072
|
let r = 0;
|
|
3073
3073
|
const l = ba(), i = So(0, o), s = (c) => {
|
|
3074
|
-
const f = ba(), p = f - l >= i, d = c ? 1 : 1 - (So(0, l + i - f) / i || 0), u = (t - e) * (
|
|
3074
|
+
const f = ba(), p = f - l >= i, d = c ? 1 : 1 - (So(0, l + i - f) / i || 0), u = (t - e) * (rt(a) ? a(d, d * i, 0, 1, i) : d) + e, g = p || d === 1;
|
|
3075
3075
|
n && n(u, d, g), r = g ? 0 : Ro((() => s()));
|
|
3076
3076
|
};
|
|
3077
3077
|
return s(), (c) => {
|
|
@@ -3085,9 +3085,9 @@ function $e(e, t) {
|
|
|
3085
3085
|
else e && $e(Object.keys(e), ((o) => t(e[o], o, e)));
|
|
3086
3086
|
return e;
|
|
3087
3087
|
}
|
|
3088
|
-
const er = (e, t) => e.indexOf(t) >= 0, Nt = (e, t) => e.concat(t), Be = (e, t, o) => (!Wt(t) && On(t) ? Array.prototype.push.apply(e, t) : e.push(t), e), Tt = (e) => Array.from(e || []), Ln = (e) =>
|
|
3088
|
+
const er = (e, t) => e.indexOf(t) >= 0, Nt = (e, t) => e.concat(t), Be = (e, t, o) => (!Wt(t) && On(t) ? Array.prototype.push.apply(e, t) : e.push(t), e), Tt = (e) => Array.from(e || []), Ln = (e) => at(e) ? e : !Wt(e) && On(e) ? Tt(e) : [e], Io = (e) => !!e && !e.length, Po = (e) => Tt(new Set(e)), et = (e, t, o) => {
|
|
3089
3089
|
$e(e, (a) => a ? a.apply(void 0, t || []) : !0), o || (e.length = 0);
|
|
3090
|
-
}, tr = "paddingTop", or = "paddingRight", nr = "paddingLeft", ar = "paddingBottom", rr = "marginLeft", sr = "marginRight", lr = "marginBottom", Rn = "overflowX", Hn = "overflowY", Yo = "width", Wo = "height", bt = "visible",
|
|
3090
|
+
}, tr = "paddingTop", or = "paddingRight", nr = "paddingLeft", ar = "paddingBottom", rr = "marginLeft", sr = "marginRight", lr = "marginBottom", Rn = "overflowX", Hn = "overflowY", Yo = "width", Wo = "height", bt = "visible", lt = "hidden", Vt = "scroll", Mi = (e) => {
|
|
3091
3091
|
const t = String(e || "");
|
|
3092
3092
|
return t ? t[0].toUpperCase() + t.slice(1) : "";
|
|
3093
3093
|
}, Uo = (e, t, o, n) => {
|
|
@@ -3103,10 +3103,10 @@ const er = (e, t) => e.indexOf(t) >= 0, Nt = (e, t) => e.concat(t), Be = (e, t,
|
|
|
3103
3103
|
let t;
|
|
3104
3104
|
const o = e ? An : Ro, n = e ? Qa : zn;
|
|
3105
3105
|
return [(a) => {
|
|
3106
|
-
n(t), t = o((() => a()),
|
|
3106
|
+
n(t), t = o((() => a()), rt(e) ? e() : e);
|
|
3107
3107
|
}, () => n(t)];
|
|
3108
3108
|
}, ya = (e) => {
|
|
3109
|
-
const t =
|
|
3109
|
+
const t = rt(e) ? e() : e;
|
|
3110
3110
|
if (Mt(t)) {
|
|
3111
3111
|
const o = t ? An : Ro, n = t ? Qa : zn;
|
|
3112
3112
|
return (a) => {
|
|
@@ -3135,16 +3135,16 @@ const er = (e, t) => e.indexOf(t) >= 0, Nt = (e, t) => e.concat(t), Be = (e, t,
|
|
|
3135
3135
|
return d.O = p, d;
|
|
3136
3136
|
}, ur = (e, t) => Object.prototype.hasOwnProperty.call(e, t), Ze = (e) => e ? Object.keys(e) : [], ke = (e, t, o, n, a, r, l) => {
|
|
3137
3137
|
const i = [t, o, n, a, r, l];
|
|
3138
|
-
return (typeof e != "object" || No(e)) && !
|
|
3138
|
+
return (typeof e != "object" || No(e)) && !rt(e) && (e = {}), $e(i, ((s) => {
|
|
3139
3139
|
$e(s, ((c, f) => {
|
|
3140
3140
|
const v = s[f];
|
|
3141
3141
|
if (e === v)
|
|
3142
3142
|
return !0;
|
|
3143
|
-
const p =
|
|
3143
|
+
const p = at(v);
|
|
3144
3144
|
if (v && to(v)) {
|
|
3145
3145
|
const d = e[f];
|
|
3146
3146
|
let u = d;
|
|
3147
|
-
p && !
|
|
3147
|
+
p && !at(d) ? u = [] : !p && !to(d) && (u = {}), e[f] = ke(u, v);
|
|
3148
3148
|
} else
|
|
3149
3149
|
e[f] = p ? v.slice() : v;
|
|
3150
3150
|
}));
|
|
@@ -3152,11 +3152,11 @@ const er = (e, t) => e.indexOf(t) >= 0, Nt = (e, t) => e.concat(t), Be = (e, t,
|
|
|
3152
3152
|
}, dr = (e, t) => $e(ke({}, e), ((o, n, a) => {
|
|
3153
3153
|
o === void 0 ? delete a[n] : o && to(o) && (a[n] = dr(o));
|
|
3154
3154
|
})), Nn = (e) => !Ze(e).length, jt = () => {
|
|
3155
|
-
}, fr = (e, t, o) => So(e, Ci(t, o)), Et = (e) => Po((
|
|
3155
|
+
}, fr = (e, t, o) => So(e, Ci(t, o)), Et = (e) => Po((at(e) ? e : (e || "").split(" ")).filter(((t) => t))), Vn = (e, t) => e && e.getAttribute(t), wa = (e, t) => e && e.hasAttribute(t), mt = (e, t, o) => {
|
|
3156
3156
|
$e(Et(t), ((n) => {
|
|
3157
3157
|
e && e.setAttribute(n, String(o || ""));
|
|
3158
3158
|
}));
|
|
3159
|
-
},
|
|
3159
|
+
}, ct = (e, t) => {
|
|
3160
3160
|
$e(Et(t), ((o) => e && e.removeAttribute(o)));
|
|
3161
3161
|
}, qo = (e, t) => {
|
|
3162
3162
|
const o = Et(Vn(e, t)), n = he(mt, e, t), a = (r, l) => {
|
|
@@ -3214,7 +3214,7 @@ function no(e, t) {
|
|
|
3214
3214
|
}
|
|
3215
3215
|
}));
|
|
3216
3216
|
}
|
|
3217
|
-
function
|
|
3217
|
+
function dt(e, t, o) {
|
|
3218
3218
|
const n = Wt(t);
|
|
3219
3219
|
let a = n ? "" : {};
|
|
3220
3220
|
if (e) {
|
|
@@ -3224,7 +3224,7 @@ function ut(e, t, o) {
|
|
|
3224
3224
|
return a;
|
|
3225
3225
|
}
|
|
3226
3226
|
const xa = (e, t, o) => {
|
|
3227
|
-
const n = t ? `${t}-` : "", a = o ? `-${o}` : "", r = `${n}top${a}`, l = `${n}right${a}`, i = `${n}bottom${a}`, s = `${n}left${a}`, c =
|
|
3227
|
+
const n = t ? `${t}-` : "", a = o ? `-${o}` : "", r = `${n}top${a}`, l = `${n}right${a}`, i = `${n}bottom${a}`, s = `${n}left${a}`, c = dt(e, [r, l, i, s]);
|
|
3228
3228
|
return {
|
|
3229
3229
|
t: ho(c[r]),
|
|
3230
3230
|
r: ho(c[l]),
|
|
@@ -3238,7 +3238,7 @@ const xa = (e, t, o) => {
|
|
|
3238
3238
|
w: t[`${e}Width`],
|
|
3239
3239
|
h: t[`${e}Height`]
|
|
3240
3240
|
} : Ei, Bi = (e) => Ko("inner", e || Xe), Ht = he(Ko, "offset"), xr = he(Ko, "client"), Bo = he(Ko, "scroll"), Un = (e) => {
|
|
3241
|
-
const t = parseFloat(
|
|
3241
|
+
const t = parseFloat(dt(e, Yo)) || 0, o = parseFloat(dt(e, Wo)) || 0;
|
|
3242
3242
|
return {
|
|
3243
3243
|
w: t - fn(t),
|
|
3244
3244
|
h: o - fn(o)
|
|
@@ -3262,7 +3262,7 @@ const xa = (e, t, o) => {
|
|
|
3262
3262
|
} : o;
|
|
3263
3263
|
return e && e.addEventListener(c, f, s), he(Ca, e, c, f, l);
|
|
3264
3264
|
})));
|
|
3265
|
-
}, $r = (e) => e.stopPropagation(), bn = (e) => e.preventDefault(), Mr = (e) => $r(e) || bn(e),
|
|
3265
|
+
}, $r = (e) => e.stopPropagation(), bn = (e) => e.preventDefault(), Mr = (e) => $r(e) || bn(e), ut = (e, t) => {
|
|
3266
3266
|
const { x: o, y: n } = Mt(t) ? {
|
|
3267
3267
|
x: t,
|
|
3268
3268
|
y: t
|
|
@@ -3333,7 +3333,7 @@ const xa = (e, t, o) => {
|
|
|
3333
3333
|
if (Wt(r)) {
|
|
3334
3334
|
const c = t.get(r) || /* @__PURE__ */ new Set();
|
|
3335
3335
|
return t.set(r, c), Ma(((f) => {
|
|
3336
|
-
|
|
3336
|
+
rt(f) && c.add(f);
|
|
3337
3337
|
}), l), he(o, r, l);
|
|
3338
3338
|
}
|
|
3339
3339
|
Vo(l) && l && o();
|
|
@@ -3363,11 +3363,11 @@ const xa = (e, t, o) => {
|
|
|
3363
3363
|
return [n && o.x && o.y, a];
|
|
3364
3364
|
}, Ot = (e) => e.indexOf(bt) === 0, nc = (e) => e.replace(`${bt}-`, ""), Cn = (e, t) => {
|
|
3365
3365
|
if (e === "auto")
|
|
3366
|
-
return t ? Vt :
|
|
3367
|
-
const o = e ||
|
|
3368
|
-
return [
|
|
3366
|
+
return t ? Vt : lt;
|
|
3367
|
+
const o = e || lt;
|
|
3368
|
+
return [lt, Vt, bt].includes(o) ? o : lt;
|
|
3369
3369
|
}, ac = (e, t) => {
|
|
3370
|
-
const { overflowX: o, overflowY: n } =
|
|
3370
|
+
const { overflowX: o, overflowY: n } = dt(e, [Rn, Hn]);
|
|
3371
3371
|
return {
|
|
3372
3372
|
x: Cn(o, t.x),
|
|
3373
3373
|
y: Cn(n, t.y)
|
|
@@ -3393,7 +3393,7 @@ const xa = (e, t, o) => {
|
|
|
3393
3393
|
}
|
|
3394
3394
|
}
|
|
3395
3395
|
}, Ea = (e) => JSON.stringify(e, ((t, o) => {
|
|
3396
|
-
if (
|
|
3396
|
+
if (rt(o))
|
|
3397
3397
|
throw 0;
|
|
3398
3398
|
return o;
|
|
3399
3399
|
})), Ba = (e, t) => e ? `${t}`.split(".").reduce(((o, n) => o && ur(o, n) ? o[n] : void 0), e) : void 0, sc = [0, 33], zr = [33, 99], Ar = [222, 666, !0], lc = {
|
|
@@ -3433,7 +3433,7 @@ const xa = (e, t, o) => {
|
|
|
3433
3433
|
ke(o[a] = {}, Fr(r, l)), Nn(o[a]) && delete o[a];
|
|
3434
3434
|
else if (ur(t, a) && l !== r) {
|
|
3435
3435
|
let i = !0;
|
|
3436
|
-
if (
|
|
3436
|
+
if (at(r) || at(l))
|
|
3437
3437
|
try {
|
|
3438
3438
|
Ea(r) === Ea(l) && (i = !1);
|
|
3439
3439
|
} catch {
|
|
@@ -3459,7 +3459,7 @@ const uc = () => {
|
|
|
3459
3459
|
let _ = !1;
|
|
3460
3460
|
const B = Wn(k, mo);
|
|
3461
3461
|
try {
|
|
3462
|
-
_ =
|
|
3462
|
+
_ = dt(k, "scrollbar-width") === "none" || dt(k, "display", "::-webkit-scrollbar") === "none";
|
|
3463
3463
|
} catch {
|
|
3464
3464
|
}
|
|
3465
3465
|
return B(), _;
|
|
@@ -3498,9 +3498,9 @@ const uc = () => {
|
|
|
3498
3498
|
ot: ke({}, g),
|
|
3499
3499
|
st: ke({}, y)
|
|
3500
3500
|
};
|
|
3501
|
-
if (
|
|
3501
|
+
if (ct(a, "style"), Yt(a), Te(Xe, "resize", (() => {
|
|
3502
3502
|
c("r", []);
|
|
3503
|
-
})),
|
|
3503
|
+
})), rt(Xe.matchMedia) && !d && (!u.x || !u.y)) {
|
|
3504
3504
|
const k = (_) => {
|
|
3505
3505
|
const B = Xe.matchMedia(`(resolution: ${Xe.devicePixelRatio}dppx)`);
|
|
3506
3506
|
Te(B, "change", (() => {
|
|
@@ -3581,7 +3581,7 @@ const Lr = (e, t, o) => {
|
|
|
3581
3581
|
});
|
|
3582
3582
|
return () => {
|
|
3583
3583
|
const l = [], s = yr(`<div class="${qn}"><div class="${Wi}"></div></div>`)[0], c = s.firstChild, f = (v) => {
|
|
3584
|
-
const p =
|
|
3584
|
+
const p = at(v) && !Io(v);
|
|
3585
3585
|
let d = !1, u = !1;
|
|
3586
3586
|
if (p) {
|
|
3587
3587
|
const g = v[0], [y, , M] = r(g.contentRect), z = gn(y);
|
|
@@ -3650,7 +3650,7 @@ const Lr = (e, t, o) => {
|
|
|
3650
3650
|
}, () => o && i(!0, o.takeRecords())];
|
|
3651
3651
|
}, pc = (e, t, o, n) => {
|
|
3652
3652
|
let a, r, l, i, s, c, f, v;
|
|
3653
|
-
const p = `[${_t}]`, d = `[${gt}]`, u = ["id", "class", "style", "open", "wrap", "cols", "rows"], { dt: g, vt: y, L: M, gt: z, ht: w, V: k, bt: _, wt: B, yt: F, St: W } = e, P = (I) =>
|
|
3653
|
+
const p = `[${_t}]`, d = `[${gt}]`, u = ["id", "class", "style", "open", "wrap", "cols", "rows"], { dt: g, vt: y, L: M, gt: z, ht: w, V: k, bt: _, wt: B, yt: F, St: W } = e, P = (I) => dt(I, "direction") === "rtl", D = () => {
|
|
3654
3654
|
let I, H, A;
|
|
3655
3655
|
const O = cr(n, {
|
|
3656
3656
|
p: () => I,
|
|
@@ -3661,7 +3661,7 @@ const Lr = (e, t, o) => {
|
|
|
3661
3661
|
return [Nt(Ze(U), Ze(ge)).reduce(((pe, Me) => (pe[Me] = U[Me] || ge[Me], pe)), {})];
|
|
3662
3662
|
}
|
|
3663
3663
|
}), j = (Z, ae) => {
|
|
3664
|
-
if (
|
|
3664
|
+
if (at(ae)) {
|
|
3665
3665
|
const [U, ge, pe] = ae;
|
|
3666
3666
|
I = U, H = ge, A = pe;
|
|
3667
3667
|
} else Mt(ae) ? (I = ae, H = !1, A = !1) : (I = !1, H = !1, A = !1);
|
|
@@ -3679,7 +3679,7 @@ const Lr = (e, t, o) => {
|
|
|
3679
3679
|
}
|
|
3680
3680
|
}, (() => {
|
|
3681
3681
|
const I = Y && Y.R(e, t, L, S, o).Y, A = !(_ && k) && Yn(y, _t, Co), O = !k && B(Ni), j = O && Qe(z), Z = j && W(), ae = F(Ir, A), U = O && I && I(), ge = Bo(M), pe = Un(M);
|
|
3682
|
-
return U && U(),
|
|
3682
|
+
return U && U(), ut(z, j), Z && Z(), A && ae(), {
|
|
3683
3683
|
w: ge.w + pe.w,
|
|
3684
3684
|
h: ge.h + pe.h
|
|
3685
3685
|
};
|
|
@@ -3739,7 +3739,7 @@ const Lr = (e, t, o) => {
|
|
|
3739
3739
|
C && C.disconnect(), I && I(), H && H(), c && c(), A(), O();
|
|
3740
3740
|
};
|
|
3741
3741
|
}, ({ zt: I, It: H, At: A }) => {
|
|
3742
|
-
const O = {}, [j] = I("update.ignoreMutation"), [Z, ae] = I("update.attributes"), [U, ge] = I("update.elementEvents"), [pe, Me] = I("update.debounce"), Oe = ge || ae, De = H || A, Ie = (Ce) =>
|
|
3742
|
+
const O = {}, [j] = I("update.ignoreMutation"), [Z, ae] = I("update.attributes"), [U, ge] = I("update.elementEvents"), [pe, Me] = I("update.debounce"), Oe = ge || ae, De = H || A, Ie = (Ce) => rt(j) && j(Ce);
|
|
3743
3743
|
if (Oe) {
|
|
3744
3744
|
s && s(), c && c();
|
|
3745
3745
|
const [Ce, xe] = Aa(w || M, !0, oe, {
|
|
@@ -3753,13 +3753,13 @@ const Lr = (e, t, o) => {
|
|
|
3753
3753
|
});
|
|
3754
3754
|
c = Ce(), s = xe;
|
|
3755
3755
|
}
|
|
3756
|
-
if (Me && (de.O(),
|
|
3756
|
+
if (Me && (de.O(), at(pe) || Mt(pe) ? (a = pe, r = !1, l = zr, i = Ar) : to(pe) ? (a = pe.mutation, r = pe.resize, l = pe.event, i = pe.env) : (a = !1, r = !1, l = !1, i = !1)), De) {
|
|
3757
3757
|
const Ce = N(), xe = R && R(), Ee = s && s();
|
|
3758
3758
|
Ce && ke(O, ie(Ce[0], Ce[1], De)), xe && ke(O, Q(xe[0], De)), Ee && ke(O, oe(Ee[0], De));
|
|
3759
3759
|
}
|
|
3760
3760
|
return V(O), O;
|
|
3761
3761
|
}, L];
|
|
3762
|
-
}, Rr = (e, t) =>
|
|
3762
|
+
}, Rr = (e, t) => rt(t) ? t.apply(0, e) : t, vc = (e, t, o, n) => {
|
|
3763
3763
|
const a = Fn(n) ? o : n;
|
|
3764
3764
|
return Rr(e, a) || t.apply(0, e);
|
|
3765
3765
|
}, Hr = (e, t, o, n) => {
|
|
@@ -3872,7 +3872,7 @@ const Lr = (e, t, o) => {
|
|
|
3872
3872
|
}, ie];
|
|
3873
3873
|
}, gc = (e, t, o, n) => (a, r, l) => {
|
|
3874
3874
|
const { vt: i, L: s, V: c, gt: f, Gt: v, St: p } = t, { Lt: d, Ut: u, Mt: g } = a, [y, M] = Pt(333), [z, w] = Pt(444), k = (F) => {
|
|
3875
|
-
|
|
3875
|
+
rt(f.scrollBy) && f.scrollBy({
|
|
3876
3876
|
behavior: "smooth",
|
|
3877
3877
|
left: F.x,
|
|
3878
3878
|
top: F.y
|
|
@@ -3880,7 +3880,7 @@ const Lr = (e, t, o) => {
|
|
|
3880
3880
|
}, _ = () => {
|
|
3881
3881
|
const F = "pointerup pointercancel lostpointercapture", W = `client${l ? "X" : "Y"}`, P = l ? Yo : Wo, D = l ? "left" : "top", L = l ? "w" : "h", S = l ? "x" : "y", Y = (de, V) => (Q) => {
|
|
3882
3882
|
const { Rt: ne } = o, oe = Ht(u)[L] - Ht(g)[L], G = V * Q / oe * ne[S];
|
|
3883
|
-
|
|
3883
|
+
ut(f, {
|
|
3884
3884
|
[S]: de + G
|
|
3885
3885
|
});
|
|
3886
3886
|
}, X = [];
|
|
@@ -3899,7 +3899,7 @@ const Lr = (e, t, o) => {
|
|
|
3899
3899
|
x: Ee.x - xe.x,
|
|
3900
3900
|
y: Ee.y - xe.y
|
|
3901
3901
|
};
|
|
3902
|
-
($t(Ne.x) > 3 || $t(Ne.y) > 3) && (p(),
|
|
3902
|
+
($t(Ne.x) > 3 || $t(Ne.y) > 3) && (p(), ut(f, xe), k(Ne), z(Ie));
|
|
3903
3903
|
})];
|
|
3904
3904
|
if (Q.setPointerCapture(de.pointerId), N)
|
|
3905
3905
|
O(Me);
|
|
@@ -3980,7 +3980,7 @@ const Lr = (e, t, o) => {
|
|
|
3980
3980
|
})), r(E), V();
|
|
3981
3981
|
}))], R = Ut(Zn);
|
|
3982
3982
|
return [() => he(et, Be(G, W())), ({ zt: E, At: T, Qt: N, Zt: C }) => {
|
|
3983
|
-
const { tn: I, nn: H, sn: A, en: O } = C || {}, { Ct: j, ft: Z } = N || {}, { B: ae } = o, { k: U, U: ge } = pt(), { cn: pe, j: Me } = n, [Oe, De] = E("showNativeOverlaidScrollbars"), [Ie, Ce] = E("scrollbars.theme"), [xe, Ee] = E("scrollbars.visibility"), [Ne, vt] = E("scrollbars.autoHide"), [ht, Dt] = E("scrollbars.autoHideSuspend"), [fe] = E("scrollbars.autoHideDelay"), [be, ye] = E("scrollbars.dragScroll"), [se, Le] = E("scrollbars.clickScroll"), [je, Ue] = E("overflow"), ot = Z && !T, lo = Me.x || Me.y, Xo = I || H || O || j || T,
|
|
3983
|
+
const { tn: I, nn: H, sn: A, en: O } = C || {}, { Ct: j, ft: Z } = N || {}, { B: ae } = o, { k: U, U: ge } = pt(), { cn: pe, j: Me } = n, [Oe, De] = E("showNativeOverlaidScrollbars"), [Ie, Ce] = E("scrollbars.theme"), [xe, Ee] = E("scrollbars.visibility"), [Ne, vt] = E("scrollbars.autoHide"), [ht, Dt] = E("scrollbars.autoHideSuspend"), [fe] = E("scrollbars.autoHideDelay"), [be, ye] = E("scrollbars.dragScroll"), [se, Le] = E("scrollbars.clickScroll"), [je, Ue] = E("overflow"), ot = Z && !T, lo = Me.x || Me.y, Xo = I || H || O || j || T, st = A || Ee || Ue, Jo = Oe && U.x && U.y, Gt = !ge && !R, Qo = Jo || Gt, zt = (Xt, Jt, io) => {
|
|
3984
3984
|
const co = Xt.includes(Vt) && (xe === bt || xe === "auto" && Jt === Vt);
|
|
3985
3985
|
return S(Xi, co, io), co;
|
|
3986
3986
|
};
|
|
@@ -3988,7 +3988,7 @@ const Lr = (e, t, o) => {
|
|
|
3988
3988
|
v = Te(D, "scroll", he(oe, !0), {
|
|
3989
3989
|
T: !0
|
|
3990
3990
|
});
|
|
3991
|
-
}))) : oe(!0)), (De || Gt) && S(qi, Qo), Ce && (S(f), S(Ie, !0), f = Ie), Dt && !ht && oe(!0), vt && (i = Ne === "move", s = Ne === "leave", c = Ne === "never", Q(c, !0)), ye && S(ec, be), Le && S(Qi, !!se),
|
|
3991
|
+
}))) : oe(!0)), (De || Gt) && S(qi, Qo), Ce && (S(f), S(Ie, !0), f = Ie), Dt && !ht && oe(!0), vt && (i = Ne === "move", s = Ne === "leave", c = Ne === "never", Q(c, !0)), ye && S(ec, be), Le && S(Qi, !!se), st) {
|
|
3992
3992
|
const Xt = zt(je.x, pe.x, !0), Jt = zt(je.y, pe.y, !1);
|
|
3993
3993
|
S(Ji, !(Xt && Jt));
|
|
3994
3994
|
}
|
|
@@ -3996,7 +3996,7 @@ const Lr = (e, t, o) => {
|
|
|
3996
3996
|
}, {}, F];
|
|
3997
3997
|
}, yc = (e) => {
|
|
3998
3998
|
const t = pt(), { K: o, U: n } = t, { elements: a } = o(), { padding: r, viewport: l, content: i } = a, s = Do(e), c = s ? {} : e, { elements: f } = c, { padding: v, viewport: p, content: d } = f || {}, u = s ? e : c.target, g = gr(u), y = u.ownerDocument, M = y.documentElement, z = () => y.defaultView || Xe, w = he(vc, [u]), k = he(Hr, [u]), _ = he(Rt, ""), B = he(w, _, l), F = he(k, _, i), W = (U) => {
|
|
3999
|
-
const ge = Ht(U), pe = Bo(U), Me =
|
|
3999
|
+
const ge = Ht(U), pe = Bo(U), Me = dt(U, Rn), Oe = dt(U, Hn);
|
|
4000
4000
|
return pe.w - ge.w > 0 && !Ot(Me) || pe.h - ge.h > 0 && !Ot(Oe);
|
|
4001
4001
|
}, P = B(p), D = P === u, L = D && g, S = !D && F(d), Y = !D && P === S, X = L ? M : P, de = L ? X : u, V = !D && k(_, r, v), Q = !Y && S, ne = [Q, X, V, de].map(((U) => Do(U) && !oo(U) && U)), oe = (U) => U && er(ne, U), ie = !oe(X) && W(X) ? X : u, G = L ? M : X, E = {
|
|
4002
4002
|
dt: u,
|
|
@@ -4016,7 +4016,7 @@ const Lr = (e, t, o) => {
|
|
|
4016
4016
|
yt: (U, ge) => Eo(X, gt, U, ge),
|
|
4017
4017
|
St: () => Eo(G, gt, Vi, !0)
|
|
4018
4018
|
}, { dt: T, vt: N, rn: C, L: I, ht: H } = E, A = [() => {
|
|
4019
|
-
|
|
4019
|
+
ct(N, [_t, an]), ct(T, an), g && ct(M, [an, _t]);
|
|
4020
4020
|
}];
|
|
4021
4021
|
let O = vn([H, I, C, N, T].find(((U) => U && !oe(U))));
|
|
4022
4022
|
const j = L ? T : H || I, Z = he(et, A);
|
|
@@ -4029,8 +4029,8 @@ const Lr = (e, t, o) => {
|
|
|
4029
4029
|
}), Oe = "tabindex", De = Vn(I, Oe), Ie = Me(ge);
|
|
4030
4030
|
return mt(N, _t, D ? "" : Li), mt(C, kn, ""), mt(I, gt, ""), mt(H, Sa, ""), D || (mt(I, Oe, De || "-1"), g && mt(M, _a, "")), Ge(j, O), Ge(N, C), Ge(C || N, !D && I), Ge(I, H), Be(A, [Ie, () => {
|
|
4031
4031
|
const Ce = hn(), xe = oe(I), Ee = xe && Ce === I ? T : Ce, Ne = Me(Ee);
|
|
4032
|
-
|
|
4033
|
-
}]), n && !D && (jn(I, gt, Pr), Be(A, he(
|
|
4032
|
+
ct(C, kn), ct(H, Sa), ct(I, gt), g && ct(M, _a), De ? mt(I, Oe, De) : ct(I, Oe), oe(H) && pe(H), xe && pe(I), oe(C) && pe(C), yn(Ee), Ne();
|
|
4033
|
+
}]), n && !D && (jn(I, gt, Pr), Be(A, he(ct, I, gt))), yn(!D && g && ge === T && U.top === U ? I : ge), Ie(), O = 0, Z;
|
|
4034
4034
|
}, Z];
|
|
4035
4035
|
}, wc = ({ ht: e }) => ({ Qt: t, un: o, At: n }) => {
|
|
4036
4036
|
const { $t: a } = t || {}, { Ot: r } = o;
|
|
@@ -4089,7 +4089,7 @@ const Lr = (e, t, o) => {
|
|
|
4089
4089
|
o: {}
|
|
4090
4090
|
}, w = (T) => {
|
|
4091
4091
|
f(Ir, !d && T);
|
|
4092
|
-
}, k = () =>
|
|
4092
|
+
}, k = () => dt(r, y), _ = (T, N) => {
|
|
4093
4093
|
const C = !Ze(T).length, I = !N && y.some(((De) => {
|
|
4094
4094
|
const Ie = T[De];
|
|
4095
4095
|
return Wt(Ie) && g[De](Ie);
|
|
@@ -4113,12 +4113,12 @@ const Lr = (e, t, o) => {
|
|
|
4113
4113
|
A: !0,
|
|
4114
4114
|
T: !0
|
|
4115
4115
|
}), j = f(ji, !0);
|
|
4116
|
-
|
|
4116
|
+
ut(s, {
|
|
4117
4117
|
x: 0,
|
|
4118
4118
|
y: 0
|
|
4119
4119
|
}), j();
|
|
4120
4120
|
const Z = Qe(s), ae = Bo(s);
|
|
4121
|
-
|
|
4121
|
+
ut(s, {
|
|
4122
4122
|
x: ae.w,
|
|
4123
4123
|
y: ae.h
|
|
4124
4124
|
});
|
|
@@ -4126,7 +4126,7 @@ const Lr = (e, t, o) => {
|
|
|
4126
4126
|
x: U.x - Z.x,
|
|
4127
4127
|
y: U.y - Z.y
|
|
4128
4128
|
};
|
|
4129
|
-
|
|
4129
|
+
ut(s, {
|
|
4130
4130
|
x: -ae.w,
|
|
4131
4131
|
y: -ae.h
|
|
4132
4132
|
});
|
|
@@ -4137,7 +4137,7 @@ const Lr = (e, t, o) => {
|
|
|
4137
4137
|
x: $t(ge.x) >= $t(Me.x) ? U.x : pe.x,
|
|
4138
4138
|
y: $t(ge.y) >= $t(Me.y) ? U.y : pe.y
|
|
4139
4139
|
};
|
|
4140
|
-
return
|
|
4140
|
+
return ut(s, A), Ro((() => O())), {
|
|
4141
4141
|
D: Z,
|
|
4142
4142
|
M: Oe
|
|
4143
4143
|
};
|
|
@@ -4152,15 +4152,15 @@ const Lr = (e, t, o) => {
|
|
|
4152
4152
|
};
|
|
4153
4153
|
}, F = (T, N) => {
|
|
4154
4154
|
const C = (I, H, A, O) => {
|
|
4155
|
-
const j = I === bt ?
|
|
4156
|
-
return !H && !O ?
|
|
4155
|
+
const j = I === bt ? lt : nc(I), Z = Ot(I), ae = Ot(A);
|
|
4156
|
+
return !H && !O ? lt : Z && ae ? bt : Z ? H && O ? j : H ? bt : lt : H ? j : ae && O ? bt : lt;
|
|
4157
4157
|
};
|
|
4158
4158
|
return {
|
|
4159
4159
|
x: C(N.x, T.x, N.y, T.y),
|
|
4160
4160
|
y: C(N.y, T.y, N.x, T.x)
|
|
4161
4161
|
};
|
|
4162
4162
|
}, W = (T) => {
|
|
4163
|
-
const N = (I) => [bt,
|
|
4163
|
+
const N = (I) => [bt, lt, Vt].map(((H) => E(Cn(H), I))), C = N(!0).concat(N()).join(" ");
|
|
4164
4164
|
f(C), f(Ze(T).map(((I) => E(T[I], I === "x"))).join(" "), !0);
|
|
4165
4165
|
}, [P, D] = Je(M, he(Un, r)), [L, S] = Je(M, he(Bo, r)), [Y, X] = Je(M), [de] = Je(z), [V, Q] = Je(M), [ne] = Je(z), [oe] = Je({
|
|
4166
4166
|
i: (T, N) => Uo(T, N, Po(Nt(Ze(T), Ze(N)))),
|
|
@@ -4183,12 +4183,12 @@ const Lr = (e, t, o) => {
|
|
|
4183
4183
|
};
|
|
4184
4184
|
na && na(), be = V(aa), fe = Y(B(ds, aa), I);
|
|
4185
4185
|
}
|
|
4186
|
-
const [ye, se] = be, [Le, je] = fe, [Ue, ot] = Dt, [lo, Xo] = ht, [
|
|
4186
|
+
const [ye, se] = be, [Le, je] = fe, [Ue, ot] = Dt, [lo, Xo] = ht, [st, Jo] = de({
|
|
4187
4187
|
x: Le.w > 0,
|
|
4188
4188
|
y: Le.h > 0
|
|
4189
|
-
}), Gt = Ee && Ne && (
|
|
4190
|
-
let Qt = F(
|
|
4191
|
-
w(!1), Qo && (W(Qt), Qt = ac(r,
|
|
4189
|
+
}), Gt = Ee && Ne && (st.x || st.y) || Ee && st.x && !st.y || Ne && st.y && !st.x, Qo = H || Z || U || Xo || ot || se || je || xe || Ie || vt || O && d, [zt] = T("update.flowDirectionStyles"), [Xt, Jt] = oe(zt ? zt(r) : k(), I), io = Z || ae || Jt || Jo || I, [co, is] = io ? ie(_(Xt, !!zt), I) : G();
|
|
4190
|
+
let Qt = F(st, Ce);
|
|
4191
|
+
w(!1), Qo && (W(Qt), Qt = ac(r, st), Oe && pe && (pe(Qt, Ue, lo), no(r, Oe(Qt))));
|
|
4192
4192
|
const [cs, us] = ne(Qt);
|
|
4193
4193
|
return Eo(n, _t, Co, Gt), Eo(a, kn, Co, Gt), ke(t, {
|
|
4194
4194
|
cn: cs,
|
|
@@ -4200,7 +4200,7 @@ const Lr = (e, t, o) => {
|
|
|
4200
4200
|
x: Le.w,
|
|
4201
4201
|
y: Le.h
|
|
4202
4202
|
},
|
|
4203
|
-
j:
|
|
4203
|
+
j: st,
|
|
4204
4204
|
Dt: Ai(co, Le)
|
|
4205
4205
|
}), {
|
|
4206
4206
|
sn: us,
|
|
@@ -4236,8 +4236,8 @@ const Lr = (e, t, o) => {
|
|
|
4236
4236
|
y: 0
|
|
4237
4237
|
},
|
|
4238
4238
|
cn: {
|
|
4239
|
-
x:
|
|
4240
|
-
y:
|
|
4239
|
+
x: lt,
|
|
4240
|
+
y: lt
|
|
4241
4241
|
},
|
|
4242
4242
|
j: {
|
|
4243
4243
|
x: !1,
|
|
@@ -4249,7 +4249,7 @@ const Lr = (e, t, o) => {
|
|
|
4249
4249
|
const u = {}, y = v && Qe(l), M = y && s();
|
|
4250
4250
|
return $e(p, ((z) => {
|
|
4251
4251
|
ke(u, z(d, u) || {});
|
|
4252
|
-
})),
|
|
4252
|
+
})), ut(l, y), M && M(), i || ut(r, 0), u;
|
|
4253
4253
|
}, a, t, n];
|
|
4254
4254
|
}, $c = (e, t, o, n, a) => {
|
|
4255
4255
|
let r = !1;
|
|
@@ -4283,7 +4283,7 @@ const Lr = (e, t, o) => {
|
|
|
4283
4283
|
};
|
|
4284
4284
|
return [() => {
|
|
4285
4285
|
const { ln: k, gt: _, St: B } = f, F = Qe(k), W = [p(), i(), g()], P = B();
|
|
4286
|
-
return
|
|
4286
|
+
return ut(_, F), P(), he(et, W);
|
|
4287
4287
|
}, w, () => ({
|
|
4288
4288
|
vn: u,
|
|
4289
4289
|
gn: c
|
|
@@ -4398,11 +4398,11 @@ const Lr = (e, t, o) => {
|
|
|
4398
4398
|
return l;
|
|
4399
4399
|
};
|
|
4400
4400
|
kt.plugin = (e) => {
|
|
4401
|
-
const t =
|
|
4401
|
+
const t = at(e), o = t ? e : [e], n = o.map(((a) => Dr(a, kt)[0]));
|
|
4402
4402
|
return Fi(o), t ? n : n[0];
|
|
4403
4403
|
};
|
|
4404
4404
|
kt.valid = (e) => {
|
|
4405
|
-
const t = e && e.elements, o =
|
|
4405
|
+
const t = e && e.elements, o = rt(t) && t();
|
|
4406
4406
|
return to(o) && !!Nr(o.target);
|
|
4407
4407
|
};
|
|
4408
4408
|
kt.env = () => {
|
|
@@ -4465,7 +4465,7 @@ function La(e, t) {
|
|
|
4465
4465
|
function Ra(e) {
|
|
4466
4466
|
e.observer?.disconnect(), e.debounceTimer && clearTimeout(e.debounceTimer), e.instance?.destroy(), e.instance = null, e.observer = null, e.debounceTimer = null;
|
|
4467
4467
|
}
|
|
4468
|
-
const Ct = /* @__PURE__ */ new WeakMap(),
|
|
4468
|
+
const Ct = /* @__PURE__ */ new WeakMap(), it = {
|
|
4469
4469
|
mounted(e, t) {
|
|
4470
4470
|
if (t.value === !1) return;
|
|
4471
4471
|
const o = Oa(t);
|
|
@@ -4686,7 +4686,7 @@ const Tc = { class: "coar-select-wrapper" }, Dc = ["id", "aria-expanded", "aria-
|
|
|
4686
4686
|
onKeydown: R
|
|
4687
4687
|
}, null, 40, zc)
|
|
4688
4688
|
])) : q("", !0),
|
|
4689
|
-
|
|
4689
|
+
nt((h(), b("div", {
|
|
4690
4690
|
id: $(g),
|
|
4691
4691
|
class: "coar-select-options",
|
|
4692
4692
|
role: "listbox",
|
|
@@ -4724,7 +4724,7 @@ const Tc = { class: "coar-select-wrapper" }, Dc = ["id", "aria-expanded", "aria-
|
|
|
4724
4724
|
], 42, Fc))), 128)),
|
|
4725
4725
|
$(y).length === 0 ? (h(), b("div", Lc, J($(p) ? $(n)("coar.ui.select.noResults", void 0, "No results found") : $(n)("coar.ui.select.noOptions", void 0, "No options available")), 1)) : q("", !0)
|
|
4726
4726
|
], 8, Ac)), [
|
|
4727
|
-
[$(
|
|
4727
|
+
[$(it), { overflowX: "hidden", defer: !1 }]
|
|
4728
4728
|
])
|
|
4729
4729
|
], 14, Ec)) : q("", !0)
|
|
4730
4730
|
]))
|
|
@@ -4990,7 +4990,7 @@ const Tc = { class: "coar-select-wrapper" }, Dc = ["id", "aria-expanded", "aria-
|
|
|
4990
4990
|
], 2),
|
|
4991
4991
|
x("span", Jc, J(e.selectAllLabel), 1)
|
|
4992
4992
|
], 8, Zc)) : q("", !0),
|
|
4993
|
-
|
|
4993
|
+
nt((h(), b("div", {
|
|
4994
4994
|
id: $(g),
|
|
4995
4995
|
class: "coar-select-options",
|
|
4996
4996
|
role: "listbox",
|
|
@@ -5035,7 +5035,7 @@ const Tc = { class: "coar-select-wrapper" }, Dc = ["id", "aria-expanded", "aria-
|
|
|
5035
5035
|
], 42, eu))), 128)),
|
|
5036
5036
|
$(y).length === 0 ? (h(), b("div", nu, J($(p) ? $(n)("coar.ui.select.noResults", void 0, "No results found") : $(n)("coar.ui.select.noOptions", void 0, "No options available")), 1)) : q("", !0)
|
|
5037
5037
|
], 8, Qc)), [
|
|
5038
|
-
[$(
|
|
5038
|
+
[$(it), { overflowX: "hidden", defer: !1 }]
|
|
5039
5039
|
])
|
|
5040
5040
|
], 14, Uc)) : q("", !0)
|
|
5041
5041
|
]))
|
|
@@ -5222,7 +5222,7 @@ const Tc = { class: "coar-select-wrapper" }, Dc = ["id", "aria-expanded", "aria-
|
|
|
5222
5222
|
zIndex: "calc(var(--coar-z-overlay, 1000) + 50)"
|
|
5223
5223
|
})
|
|
5224
5224
|
}, [
|
|
5225
|
-
|
|
5225
|
+
nt((h(), b("div", {
|
|
5226
5226
|
id: $(z),
|
|
5227
5227
|
class: "coar-select-options",
|
|
5228
5228
|
role: "listbox",
|
|
@@ -5250,7 +5250,7 @@ const Tc = { class: "coar-select-wrapper" }, Dc = ["id", "aria-expanded", "aria-
|
|
|
5250
5250
|
x("span", pu, J(C.label), 1)
|
|
5251
5251
|
], 42, fu))), 128))
|
|
5252
5252
|
], 8, du)), [
|
|
5253
|
-
[$(
|
|
5253
|
+
[$(it), { overflowX: "hidden", defer: !1 }]
|
|
5254
5254
|
])
|
|
5255
5255
|
], 14, uu)) : q("", !0)
|
|
5256
5256
|
]))
|
|
@@ -6353,10 +6353,10 @@ const sd = ["aria-describedby", "aria-haspopup", "aria-expanded"], ld = ["data-p
|
|
|
6353
6353
|
onFocusin: L,
|
|
6354
6354
|
onFocusout: X
|
|
6355
6355
|
}, [
|
|
6356
|
-
|
|
6356
|
+
nt((h(), b("div", id, [
|
|
6357
6357
|
me(ne.$slots, "content", {}, void 0, !0)
|
|
6358
6358
|
])), [
|
|
6359
|
-
[$(
|
|
6359
|
+
[$(it), { overflowX: "hidden", defer: !1 }]
|
|
6360
6360
|
])
|
|
6361
6361
|
], 46, ld)) : q("", !0)
|
|
6362
6362
|
]))
|
|
@@ -6466,10 +6466,10 @@ const sd = ["aria-describedby", "aria-haspopup", "aria-expanded"], ld = ["data-p
|
|
|
6466
6466
|
})
|
|
6467
6467
|
], 8, pd)) : q("", !0)
|
|
6468
6468
|
])) : q("", !0),
|
|
6469
|
-
|
|
6469
|
+
nt((h(), b("div", vd, [
|
|
6470
6470
|
e.confirmMode ? (h(), b("p", hd, J(e.confirmMessage), 1)) : g.value ? (h(), ze($o(g.value), { key: 1 })) : me(y.$slots, "default", { key: 2 }, void 0, !0)
|
|
6471
6471
|
])), [
|
|
6472
|
-
[$(
|
|
6472
|
+
[$(it), { overflowX: "hidden", defer: !1 }]
|
|
6473
6473
|
]),
|
|
6474
6474
|
e.confirmMode ? (h(), b("div", md, [
|
|
6475
6475
|
le(_o, {
|
|
@@ -6801,7 +6801,7 @@ const _d = /* @__PURE__ */ ue({
|
|
|
6801
6801
|
}
|
|
6802
6802
|
return Ye(() => {
|
|
6803
6803
|
n.destroy();
|
|
6804
|
-
}), (v, p) => (h(), b("div", {
|
|
6804
|
+
}), (v, p) => nt((h(), b("div", {
|
|
6805
6805
|
role: "menu",
|
|
6806
6806
|
class: K(["coar-menu", { "coar-menu--borderless": t.borderless }]),
|
|
6807
6807
|
style: qe({
|
|
@@ -6811,9 +6811,11 @@ const _d = /* @__PURE__ */ ue({
|
|
|
6811
6811
|
onKeydown: f
|
|
6812
6812
|
}, [
|
|
6813
6813
|
me(v.$slots, "default", {}, void 0, !0)
|
|
6814
|
-
], 38))
|
|
6814
|
+
], 38)), [
|
|
6815
|
+
[$(it), { overflowX: "hidden", overflowY: "scroll", autoHide: "leave" }]
|
|
6816
|
+
]);
|
|
6815
6817
|
}
|
|
6816
|
-
}), Sd = /* @__PURE__ */ ve(_d, [["__scopeId", "data-v-
|
|
6818
|
+
}), Sd = /* @__PURE__ */ ve(_d, [["__scopeId", "data-v-0d5712d6"]]), Td = ["aria-disabled", "tabindex"], Dd = {
|
|
6817
6819
|
class: "coar-menu-item__icon",
|
|
6818
6820
|
"aria-hidden": "true"
|
|
6819
6821
|
}, Id = { class: "coar-menu-item__label" }, Pd = /* @__PURE__ */ ue({
|
|
@@ -6985,7 +6987,7 @@ const Wh = /* @__PURE__ */ ve(Ed, [["render", zd], ["__scopeId", "data-v-a0d5d1e
|
|
|
6985
6987
|
class: "coar-submenu-item__icon",
|
|
6986
6988
|
"aria-hidden": "true"
|
|
6987
6989
|
}, qd = { class: "coar-submenu-item__label" }, Kd = /* @__PURE__ */ ue({
|
|
6988
|
-
__name: "
|
|
6990
|
+
__name: "CoarSubFlyout",
|
|
6989
6991
|
props: {
|
|
6990
6992
|
label: {},
|
|
6991
6993
|
icon: { default: void 0 },
|
|
@@ -7164,7 +7166,7 @@ const Wh = /* @__PURE__ */ ve(Ed, [["render", zd], ["__scopeId", "data-v-a0d5d1e
|
|
|
7164
7166
|
]))
|
|
7165
7167
|
]));
|
|
7166
7168
|
}
|
|
7167
|
-
}), Kh = /* @__PURE__ */ ve(Kd, [["__scopeId", "data-v-
|
|
7169
|
+
}), Kh = /* @__PURE__ */ ve(Kd, [["__scopeId", "data-v-da19ff9a"]]), Zh = /* @__PURE__ */ ue({
|
|
7168
7170
|
__name: "CoarContextMenu",
|
|
7169
7171
|
props: {
|
|
7170
7172
|
menu: {}
|
|
@@ -7180,7 +7182,9 @@ const Wh = /* @__PURE__ */ ve(Ed, [["render", zd], ["__scopeId", "data-v-a0d5d1e
|
|
|
7180
7182
|
};
|
|
7181
7183
|
}
|
|
7182
7184
|
function l(v) {
|
|
7183
|
-
t.menu.isOpen.value
|
|
7185
|
+
if (!t.menu.isOpen.value) return;
|
|
7186
|
+
const p = v.target;
|
|
7187
|
+
o.value?.contains(p) || p.closest?.(".coar-submenu-panel") || t.menu.close();
|
|
7184
7188
|
}
|
|
7185
7189
|
function i(v) {
|
|
7186
7190
|
v.key === "Escape" && t.menu.isOpen.value && (v.preventDefault(), v.stopPropagation(), t.menu.close());
|
|
@@ -7549,10 +7553,10 @@ const Zd = /* @__PURE__ */ ue({
|
|
|
7549
7553
|
n.$slots.header ? (h(), b("div", yf, [
|
|
7550
7554
|
me(n.$slots, "header", {}, void 0, !0)
|
|
7551
7555
|
])) : q("", !0),
|
|
7552
|
-
|
|
7556
|
+
nt((h(), b("div", wf, [
|
|
7553
7557
|
me(n.$slots, "default", {}, void 0, !0)
|
|
7554
7558
|
])), [
|
|
7555
|
-
[$(
|
|
7559
|
+
[$(it), { overflowX: "hidden", autoHide: "leave", defer: !1 }]
|
|
7556
7560
|
]),
|
|
7557
7561
|
n.$slots.footer ? (h(), b("div", kf, [
|
|
7558
7562
|
me(n.$slots, "footer", {}, void 0, !0)
|
|
@@ -8304,7 +8308,7 @@ const qf = {
|
|
|
8304
8308
|
x("div", {
|
|
8305
8309
|
class: K(["coar-scrollable-calendar__months-wrapper", { "coar-scrollable-calendar__months-wrapper--ready": y.value }])
|
|
8306
8310
|
}, [
|
|
8307
|
-
|
|
8311
|
+
nt((h(), b("div", {
|
|
8308
8312
|
ref_key: "scrollContainerRef",
|
|
8309
8313
|
ref: g,
|
|
8310
8314
|
class: "coar-scrollable-calendar__months"
|
|
@@ -8354,7 +8358,7 @@ const qf = {
|
|
|
8354
8358
|
], 2)
|
|
8355
8359
|
], 8, Kf))), 128))
|
|
8356
8360
|
])), [
|
|
8357
|
-
[$(
|
|
8361
|
+
[$(it), { overflowX: "hidden", autoHide: "leave" }]
|
|
8358
8362
|
])
|
|
8359
8363
|
], 2)
|
|
8360
8364
|
], 32));
|
|
@@ -8445,7 +8449,7 @@ const qf = {
|
|
|
8445
8449
|
})
|
|
8446
8450
|
], 8, lp)
|
|
8447
8451
|
]),
|
|
8448
|
-
|
|
8452
|
+
nt((h(), b("div", {
|
|
8449
8453
|
ref_key: "monthsContainerRef",
|
|
8450
8454
|
ref: y,
|
|
8451
8455
|
class: "coar-month-list__months",
|
|
@@ -8461,7 +8465,7 @@ const qf = {
|
|
|
8461
8465
|
onClick: (_) => g(k.yearMonth)
|
|
8462
8466
|
}, J(k.name), 11, cp))), 128))
|
|
8463
8467
|
], 8, ip)), [
|
|
8464
|
-
[$(
|
|
8468
|
+
[$(it), { overflowX: "hidden", autoHide: "leave" }]
|
|
8465
8469
|
])
|
|
8466
8470
|
])
|
|
8467
8471
|
]));
|
|
@@ -9665,7 +9669,7 @@ const hv = { class: "coar-zdtp-body" }, mv = { class: "coar-zdtp-calendar-column
|
|
|
9665
9669
|
]),
|
|
9666
9670
|
x("div", bv, [
|
|
9667
9671
|
n.value ? (h(), b("div", Cv, [
|
|
9668
|
-
|
|
9672
|
+
nt(x("input", {
|
|
9669
9673
|
ref_key: "tzSearchInputRef",
|
|
9670
9674
|
ref: l,
|
|
9671
9675
|
"onUpdate:modelValue": L[3] || (L[3] = (S) => r.value = S),
|
|
@@ -9716,7 +9720,7 @@ const hv = { class: "coar-zdtp-body" }, mv = { class: "coar-zdtp-calendar-column
|
|
|
9716
9720
|
})
|
|
9717
9721
|
], 8, xv)
|
|
9718
9722
|
])),
|
|
9719
|
-
n.value ?
|
|
9723
|
+
n.value ? nt((h(), b("div", {
|
|
9720
9724
|
key: 2,
|
|
9721
9725
|
ref_key: "tzPickerListRef",
|
|
9722
9726
|
ref: i,
|
|
@@ -9738,7 +9742,7 @@ const hv = { class: "coar-zdtp-body" }, mv = { class: "coar-zdtp-calendar-column
|
|
|
9738
9742
|
], 10, Sv))), 128))
|
|
9739
9743
|
]))), 128))
|
|
9740
9744
|
])), [
|
|
9741
|
-
[$(
|
|
9745
|
+
[$(it), { overflowX: "hidden", autoHide: "leave" }]
|
|
9742
9746
|
]) : q("", !0),
|
|
9743
9747
|
n.value ? q("", !0) : (h(), b(we, { key: 3 }, [
|
|
9744
9748
|
x("div", {
|
|
@@ -9778,13 +9782,13 @@ const hv = { class: "coar-zdtp-body" }, mv = { class: "coar-zdtp-calendar-column
|
|
|
9778
9782
|
size: "xs"
|
|
9779
9783
|
})
|
|
9780
9784
|
]),
|
|
9781
|
-
y.value.length > 0 ?
|
|
9785
|
+
y.value.length > 0 ? nt((h(), b("div", Av, [
|
|
9782
9786
|
(h(!0), b(we, null, Fe(y.value, (S, Y) => (h(), b("div", {
|
|
9783
9787
|
key: Y,
|
|
9784
9788
|
class: K(["coar-zdtp-event-item", S.cssClass])
|
|
9785
9789
|
}, J(S.description), 3))), 128))
|
|
9786
9790
|
])), [
|
|
9787
|
-
[$(
|
|
9791
|
+
[$(it), { overflowX: "hidden", autoHide: "leave" }]
|
|
9788
9792
|
]) : q("", !0)
|
|
9789
9793
|
], 64))
|
|
9790
9794
|
])
|
|
@@ -10304,6 +10308,7 @@ export {
|
|
|
10304
10308
|
sh as CoarSlide,
|
|
10305
10309
|
ph as CoarSpinner,
|
|
10306
10310
|
qh as CoarSubExpand,
|
|
10311
|
+
Kh as CoarSubFlyout,
|
|
10307
10312
|
Kh as CoarSubmenuItem,
|
|
10308
10313
|
Th as CoarSwitch,
|
|
10309
10314
|
Zd as CoarTab,
|
|
@@ -10350,6 +10355,6 @@ export {
|
|
|
10350
10355
|
Md as useMenuClose,
|
|
10351
10356
|
Bh as useOverlay,
|
|
10352
10357
|
Nh as useToast,
|
|
10353
|
-
|
|
10358
|
+
it as vScrollbar,
|
|
10354
10359
|
Rh as vTooltip
|
|
10355
10360
|
};
|