@aures5g/vue-component-library 3.56.0 → 3.58.0
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.
|
@@ -3253,9 +3253,9 @@ var Yo = { class: "size-[1.5rem]" }, Xo = { class: "truncate" }, Zo = {
|
|
|
3253
3253
|
"data-cy",
|
|
3254
3254
|
"data-cy-text",
|
|
3255
3255
|
"onMousedown"
|
|
3256
|
-
], $o = { class: "size-[1.5rem]" }, es = { class: "grow" }, ts = {
|
|
3256
|
+
], $o = { class: "size-[1.5rem] shrink-0" }, es = { class: "grow truncate" }, ts = {
|
|
3257
3257
|
key: 0,
|
|
3258
|
-
class: "size-[1.5rem]"
|
|
3258
|
+
class: "size-[1.5rem] shrink-0"
|
|
3259
3259
|
}, ns = /* @__PURE__ */ O({
|
|
3260
3260
|
inheritAttrs: !1,
|
|
3261
3261
|
__name: "UIDropdown",
|
|
@@ -3368,79 +3368,90 @@ var Yo = { class: "size-[1.5rem]" }, Xo = { class: "truncate" }, Zo = {
|
|
|
3368
3368
|
break;
|
|
3369
3369
|
}
|
|
3370
3370
|
}
|
|
3371
|
-
return (t, l) =>
|
|
3372
|
-
"
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3371
|
+
return (t, l) => {
|
|
3372
|
+
let d = Ae("tooltip");
|
|
3373
|
+
return M(), T(x, null, [D(Ma, A({ ref: "formFieldWrapper" }, n, {
|
|
3374
|
+
"trailing-icon": L(Mt),
|
|
3375
|
+
onFocusInput: v
|
|
3376
|
+
}), he({
|
|
3377
|
+
default: B((e) => [Ue(E("input", A({
|
|
3378
|
+
ref: "input",
|
|
3379
|
+
"onUpdate:modelValue": l[0] ||= (e) => g.value = e
|
|
3380
|
+
}, {
|
|
3381
|
+
...e,
|
|
3382
|
+
...L(i)
|
|
3383
|
+
}, {
|
|
3384
|
+
onFocus: v,
|
|
3385
|
+
onBlur: y,
|
|
3386
|
+
onKeydown: l[1] ||= (e) => oe(e)
|
|
3387
|
+
}), null, 16), [[ze, g.value]]), p.value && !f.value ? (M(), T("span", {
|
|
3388
|
+
key: 0,
|
|
3389
|
+
style: Ce({ "position-anchor": te.value?.anchors.WRAPPER }),
|
|
3390
|
+
class: "absolute top-[anchor(top)] left-[anchor(left)] text-on-surface-variant text-body-large"
|
|
3391
|
+
}, I(h.value), 5)) : w("", !0)]),
|
|
3392
|
+
_: 2
|
|
3393
|
+
}, [
|
|
3394
|
+
ee.leadingIcon ? {
|
|
3395
|
+
name: "leadingIcon",
|
|
3396
|
+
fn: B(() => [F(t.$slots, "leadingIcon")]),
|
|
3397
|
+
key: "0"
|
|
3398
|
+
} : void 0,
|
|
3399
|
+
ee.trailingIcon ? {
|
|
3400
|
+
name: "trailingIcon",
|
|
3401
|
+
fn: B(() => [F(t.$slots, "trailingIcon")]),
|
|
3402
|
+
key: "1"
|
|
3403
|
+
} : void 0,
|
|
3404
|
+
ee.tags ? {
|
|
3405
|
+
name: "tags",
|
|
3406
|
+
fn: B(() => [F(t.$slots, "tags")]),
|
|
3407
|
+
key: "2"
|
|
3408
|
+
} : void 0
|
|
3409
|
+
]), 1040, ["trailing-icon"]), (M(), C(pe, { to: "body" }, [p.value ? (M(), T("ul", {
|
|
3386
3410
|
key: 0,
|
|
3387
3411
|
style: Ce({ "position-anchor": te.value?.anchors.WRAPPER }),
|
|
3388
|
-
class: "absolute top-[anchor(
|
|
3389
|
-
},
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
"
|
|
3430
|
-
|
|
3431
|
-
}, [
|
|
3432
|
-
E("span", $o, [s(t) ? (M(), C(L(V), {
|
|
3433
|
-
key: 0,
|
|
3434
|
-
class: "text-[1rem]",
|
|
3435
|
-
icon: s(t)
|
|
3436
|
-
}, null, 8, ["icon"])) : w("", !0)]),
|
|
3437
|
-
E("span", es, I(a(t)), 1),
|
|
3438
|
-
c ? (M(), T("span", ts, [c(t) ? (M(), C(L(V), {
|
|
3439
|
-
key: 0,
|
|
3440
|
-
class: "text-[1rem]",
|
|
3441
|
-
icon: c(t)
|
|
3442
|
-
}, null, 8, ["icon"])) : w("", !0)])) : w("", !0)
|
|
3443
|
-
], 42, Qo))), 128))], 4)) : w("", !0)]))], 64));
|
|
3412
|
+
class: "absolute top-[calc(anchor(bottom)+0.25rem)] left-[anchor(left)] bg-surface-container-low py-[0.5rem] w-[anchor-size(width)] rounded-extra-small shadow-2 max-h-[15rem] overflow-auto z-10"
|
|
3413
|
+
}, [F(t.$slots, "action", {}, () => [e.actionLabel ? (M(), T(x, { key: 0 }, [E("li", {
|
|
3414
|
+
class: "p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8",
|
|
3415
|
+
onMousedown: l[2] ||= Ge((e) => r("action"), ["prevent", "stop"])
|
|
3416
|
+
}, [
|
|
3417
|
+
E("span", Yo, [e.actionLeadingIcon ? (M(), C(L(V), {
|
|
3418
|
+
key: 0,
|
|
3419
|
+
class: "text-[1rem]",
|
|
3420
|
+
icon: e.actionLeadingIcon
|
|
3421
|
+
}, null, 8, ["icon"])) : w("", !0)]),
|
|
3422
|
+
E("span", Xo, I(e.actionLabel), 1),
|
|
3423
|
+
e.actionTrailingIcon ? (M(), T("span", Zo, [D(L(V), {
|
|
3424
|
+
class: "text-[1rem]",
|
|
3425
|
+
icon: e.actionTrailingIcon
|
|
3426
|
+
}, null, 8, ["icon"])])) : w("", !0)
|
|
3427
|
+
], 32), l[3] ||= E("li", { class: "py-[0.5rem]" }, [E("div", { class: "bg-outline/16 w-full h-[0.0625rem]" })], -1)], 64)) : w("", !0)]), (M(!0), T(x, null, P(b.value, (t, n) => (M(), T("li", {
|
|
3428
|
+
key: u(t, n),
|
|
3429
|
+
class: j(["p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8 h-[2.5rem]", { "bg-on-surface/8": re.value === n }]),
|
|
3430
|
+
"data-cy": `${e.cyPrefix}option_${o(t)}`,
|
|
3431
|
+
"data-cy-text": `${e.cyPrefix}option_${a(t)}`,
|
|
3432
|
+
onMousedown: (e) => ne(e, t)
|
|
3433
|
+
}, [
|
|
3434
|
+
E("span", $o, [s(t) ? (M(), C(L(V), {
|
|
3435
|
+
key: 0,
|
|
3436
|
+
class: "text-[1rem]",
|
|
3437
|
+
icon: s(t)
|
|
3438
|
+
}, null, 8, ["icon"])) : w("", !0)]),
|
|
3439
|
+
Ue((M(), T("span", es, [ge(I(a(t)), 1)])), [[
|
|
3440
|
+
d,
|
|
3441
|
+
`${a(t)}`,
|
|
3442
|
+
void 0,
|
|
3443
|
+
{
|
|
3444
|
+
overflow: !0,
|
|
3445
|
+
top: !0
|
|
3446
|
+
}
|
|
3447
|
+
]]),
|
|
3448
|
+
c ? (M(), T("span", ts, [c(t) ? (M(), C(L(V), {
|
|
3449
|
+
key: 0,
|
|
3450
|
+
class: "text-[1rem]",
|
|
3451
|
+
icon: c(t)
|
|
3452
|
+
}, null, 8, ["icon"])) : w("", !0)])) : w("", !0)
|
|
3453
|
+
], 42, Qo))), 128))], 4)) : w("", !0)]))], 64);
|
|
3454
|
+
};
|
|
3444
3455
|
}
|
|
3445
3456
|
}), rs = {
|
|
3446
3457
|
DEFAULT: "default",
|
|
@@ -3976,7 +3987,7 @@ var Yo = { class: "size-[1.5rem]" }, Xo = { class: "truncate" }, Zo = {
|
|
|
3976
3987
|
"sort"
|
|
3977
3988
|
]), r.isResizable ? (M(), T("div", {
|
|
3978
3989
|
key: 0,
|
|
3979
|
-
class: j(["absolute top-0 h-full
|
|
3990
|
+
class: j(["absolute top-0 h-full cursor-col-resize z-99", a === e.fields.length - 1 ? "right-0 w-[1rem]" : "-right-[1rem] w-[2rem]"]),
|
|
3980
3991
|
onMousedown: (t) => e.handleMousedown(t, r.name)
|
|
3981
3992
|
}, null, 42, fc)) : w("", !0)], 12, dc))), 128));
|
|
3982
3993
|
}
|