@imj_media/ui 1.8.10 → 1.8.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/dist/index.esm.js
CHANGED
|
@@ -972,7 +972,7 @@ function Ju(e) {
|
|
|
972
972
|
function Wu(e, n) {
|
|
973
973
|
return typeof e == "string" ? e : typeof n == "string" ? n : "";
|
|
974
974
|
}
|
|
975
|
-
const
|
|
975
|
+
const zt = ({
|
|
976
976
|
children: e,
|
|
977
977
|
title: n,
|
|
978
978
|
className: r = "",
|
|
@@ -2237,7 +2237,7 @@ function jc(e) {
|
|
|
2237
2237
|
delete n[r];
|
|
2238
2238
|
return n;
|
|
2239
2239
|
}
|
|
2240
|
-
const
|
|
2240
|
+
const Bt = (e) => {
|
|
2241
2241
|
const {
|
|
2242
2242
|
label: n = "",
|
|
2243
2243
|
color: r = "accent",
|
|
@@ -2402,7 +2402,7 @@ const zt = (e) => {
|
|
|
2402
2402
|
children: b ? J() : /* @__PURE__ */ C(Xe, { children: [
|
|
2403
2403
|
!L && ue(),
|
|
2404
2404
|
!L && (x ? /* @__PURE__ */ o(
|
|
2405
|
-
|
|
2405
|
+
zt,
|
|
2406
2406
|
{
|
|
2407
2407
|
truncate: !0,
|
|
2408
2408
|
title: N,
|
|
@@ -2432,7 +2432,7 @@ const zt = (e) => {
|
|
|
2432
2432
|
if (!e)
|
|
2433
2433
|
return null;
|
|
2434
2434
|
const h = /* @__PURE__ */ o(
|
|
2435
|
-
|
|
2435
|
+
Bt,
|
|
2436
2436
|
{
|
|
2437
2437
|
color: n || "accent",
|
|
2438
2438
|
label: r,
|
|
@@ -2646,7 +2646,7 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2646
2646
|
badgeIconDuotoneOpacityPrimary: g,
|
|
2647
2647
|
badgeIconDuotoneOpacitySecondary: b,
|
|
2648
2648
|
badgeLoading: x
|
|
2649
|
-
}), wt = i && typeof i == "object" && !Oe.isValidElement(i) && "icon" in i && ("colorIcon" in i || "onClick" in i || "show" in i || "iconDuotonePrimary" in i),
|
|
2649
|
+
}), wt = i && typeof i == "object" && !Oe.isValidElement(i) && "icon" in i && ("colorIcon" in i || "onClick" in i || "show" in i || "iconDuotonePrimary" in i), $t = wt ? i : void 0, rt = a && typeof a == "object" && !Oe.isValidElement(a) && "icon" in a && ("colorIcon" in a || "onClick" in a || "show" in a || "iconDuotonePrimary" in a), Ft = rt ? a : void 0, yt = wt ? void 0 : Vc({
|
|
2650
2650
|
leftSlot: i,
|
|
2651
2651
|
leftSlotDuotonePrimary: ee,
|
|
2652
2652
|
leftSlotDuotoneSecondary: ae,
|
|
@@ -2669,13 +2669,13 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2669
2669
|
tooltipDelay: B,
|
|
2670
2670
|
tooltipAbsolute: he,
|
|
2671
2671
|
classNameTooltip: fe
|
|
2672
|
-
}), pe = Ne || Pe || ht || (L && !dt && !Oe.isValidElement(L) ? { icon: L, show: !0 } : void 0), Ce = Ue || pt, we = ft ||
|
|
2672
|
+
}), pe = Ne || Pe || ht || (L && !dt && !Oe.isValidElement(L) ? { icon: L, show: !0 } : void 0), Ce = Ue || pt, we = ft || $t || yt, He = nt || Ft || un, Ge = it || je || ye, ot = (pe == null ? void 0 : pe.icon) || (dt ? void 0 : Oe.isValidElement(L) || typeof L == "string" || typeof L == "object" && L !== null && "icon" in L ? L : void 0), Ht = (Ce == null ? void 0 : Ce.color) || l, tn = (Ce == null ? void 0 : Ce.label) || u, Jt = (Ce == null ? void 0 : Ce.theme) || c, nn = (Ce == null ? void 0 : Ce.size) || f, Et = (Ce == null ? void 0 : Ce.stroke) ?? d, Ot = (Ce == null ? void 0 : Ce.icon) || p, jt = (Ce == null ? void 0 : Ce.loading) ?? x, Pt = (we == null ? void 0 : we.icon) || (wt ? void 0 : i), X = (He == null ? void 0 : He.icon) || (rt ? void 0 : a), me = (Ge == null ? void 0 : Ge.label) || (Qt ? void 0 : F), Ie = (Ge == null ? void 0 : Ge.position) || Q, Ae = (Ge == null ? void 0 : Ge.alignment) || le, $e = (Ge == null ? void 0 : Ge.delay) ?? B, ce = (Ge == null ? void 0 : Ge.absolute) ?? he, st = (Ge == null ? void 0 : Ge.className) || fe, We = s === "icon", tt = (k == null || k === !1) && !!ot, mt = k != null && k !== !1, Zt = Ia(jt), {
|
|
2673
2673
|
displayText: yn,
|
|
2674
2674
|
textStyle: Fe,
|
|
2675
2675
|
measureRef: Ee,
|
|
2676
2676
|
textRef: an,
|
|
2677
2677
|
handleMouseEnter: gt,
|
|
2678
|
-
handleMouseLeave:
|
|
2678
|
+
handleMouseLeave: At,
|
|
2679
2679
|
measureSpanClassName: et
|
|
2680
2680
|
} = Oa({
|
|
2681
2681
|
children: k,
|
|
@@ -2685,14 +2685,14 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2685
2685
|
textColor: y,
|
|
2686
2686
|
textAlign: Re ?? "center"
|
|
2687
2687
|
}), lt = Va(
|
|
2688
|
-
|
|
2688
|
+
Ht,
|
|
2689
2689
|
tn,
|
|
2690
2690
|
Ot,
|
|
2691
2691
|
nn,
|
|
2692
2692
|
jt
|
|
2693
|
-
),
|
|
2693
|
+
), Rt = Ea(jt, nn), Cn = Ha(
|
|
2694
|
+
Et,
|
|
2694
2695
|
Ht,
|
|
2695
|
-
Ft,
|
|
2696
2696
|
v
|
|
2697
2697
|
), { buttonClasses: bn } = Da({
|
|
2698
2698
|
theme: s,
|
|
@@ -2716,13 +2716,13 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2716
2716
|
className: n,
|
|
2717
2717
|
isIconVariant: We,
|
|
2718
2718
|
defaultSizeIcon: be
|
|
2719
|
-
}), cn = mt && (we == null ? void 0 : we.show) !== !1 && !!
|
|
2719
|
+
}), cn = mt && (we == null ? void 0 : we.show) !== !1 && !!Pt, Ln = mt && (He == null ? void 0 : He.show) !== !1 && !!X, ei = mi(Me) && (cn || Ln) ? cn && Ln ? "both" : cn ? "left-only" : "right-only" : null, vn = S(bn, ei && "!ui-justify-start ui-w-full"), ti = (Rn) => {
|
|
2720
2720
|
ge && Rn.stopPropagation(), Se && Se(Rn);
|
|
2721
2721
|
}, An = () => /* @__PURE__ */ C(Xe, { children: [
|
|
2722
2722
|
(we == null ? void 0 : we.show) !== !1 && /* @__PURE__ */ o(
|
|
2723
2723
|
Za,
|
|
2724
2724
|
{
|
|
2725
|
-
leftSlot:
|
|
2725
|
+
leftSlot: Pt,
|
|
2726
2726
|
size: O,
|
|
2727
2727
|
color: v,
|
|
2728
2728
|
colorIcon: (we == null ? void 0 : we.colorIcon) || H,
|
|
@@ -2742,7 +2742,7 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2742
2742
|
No,
|
|
2743
2743
|
{
|
|
2744
2744
|
displayText: yn,
|
|
2745
|
-
hasSlots: !!(
|
|
2745
|
+
hasSlots: !!(Pt || X),
|
|
2746
2746
|
slotLayout: Me,
|
|
2747
2747
|
spreadSides: ei,
|
|
2748
2748
|
textStyle: Fe,
|
|
@@ -2757,10 +2757,10 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2757
2757
|
Pr,
|
|
2758
2758
|
{
|
|
2759
2759
|
shouldShow: lt,
|
|
2760
|
-
badgeColor:
|
|
2760
|
+
badgeColor: Ht,
|
|
2761
2761
|
badgeLabel: tn,
|
|
2762
2762
|
badgeTheme: Jt,
|
|
2763
|
-
badgeSize:
|
|
2763
|
+
badgeSize: Rt,
|
|
2764
2764
|
badgeStroke: Cn,
|
|
2765
2765
|
badgeIcon: Ot,
|
|
2766
2766
|
badgeIconDuotonePrimary: (Ce == null ? void 0 : Ce.iconDuotonePrimary) || h,
|
|
@@ -2816,10 +2816,10 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2816
2816
|
Pr,
|
|
2817
2817
|
{
|
|
2818
2818
|
shouldShow: lt,
|
|
2819
|
-
badgeColor:
|
|
2819
|
+
badgeColor: Ht,
|
|
2820
2820
|
badgeLabel: tn,
|
|
2821
2821
|
badgeTheme: Jt,
|
|
2822
|
-
badgeSize:
|
|
2822
|
+
badgeSize: Rt,
|
|
2823
2823
|
badgeStroke: Cn,
|
|
2824
2824
|
badgeIcon: Ot,
|
|
2825
2825
|
badgeIconDuotonePrimary: (Ce == null ? void 0 : Ce.iconDuotonePrimary) || h,
|
|
@@ -2840,7 +2840,7 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2840
2840
|
className: S(vn, n),
|
|
2841
2841
|
onClick: ti,
|
|
2842
2842
|
onMouseEnter: gt,
|
|
2843
|
-
onMouseLeave:
|
|
2843
|
+
onMouseLeave: At,
|
|
2844
2844
|
children: [
|
|
2845
2845
|
An(),
|
|
2846
2846
|
Nn()
|
|
@@ -2866,7 +2866,7 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2866
2866
|
"aria-disabled": A,
|
|
2867
2867
|
"aria-label": !mt && L ? me || "Button" : void 0,
|
|
2868
2868
|
onMouseEnter: gt,
|
|
2869
|
-
onMouseLeave:
|
|
2869
|
+
onMouseLeave: At,
|
|
2870
2870
|
...It,
|
|
2871
2871
|
children: [
|
|
2872
2872
|
An(),
|
|
@@ -2895,7 +2895,7 @@ const bt = (e, n, r = "[InnerButton]") => {
|
|
|
2895
2895
|
...It,
|
|
2896
2896
|
onClick: ti,
|
|
2897
2897
|
onMouseEnter: gt,
|
|
2898
|
-
onMouseLeave:
|
|
2898
|
+
onMouseLeave: At,
|
|
2899
2899
|
children: [
|
|
2900
2900
|
An(),
|
|
2901
2901
|
Nn()
|
|
@@ -5115,7 +5115,7 @@ const Rr = ({
|
|
|
5115
5115
|
/* @__PURE__ */ o("div", { className: "ui-flex ui-flex-1 ui-items-center ui-gap-8", children: t ? /* @__PURE__ */ o("h2", { className: "ui-text-heading-h3 ui-font-heading-h3 ui-leading-heading-h3 ui-tracking-heading-h3", children: t }) : e }),
|
|
5116
5116
|
/* @__PURE__ */ C("div", { className: "ui-z-10 ui-flex ui-items-center ui-gap-16", children: [
|
|
5117
5117
|
ge.map((ke, Qe) => /* @__PURE__ */ o(
|
|
5118
|
-
|
|
5118
|
+
Bt,
|
|
5119
5119
|
{
|
|
5120
5120
|
...u2(ke, {
|
|
5121
5121
|
label: ke.label,
|
|
@@ -6130,7 +6130,7 @@ const p2 = ({
|
|
|
6130
6130
|
children: [
|
|
6131
6131
|
n ? /* @__PURE__ */ o(Dt, { type: "people", src: n, size: "xxs", className: "ui-shrink-0" }) : E,
|
|
6132
6132
|
e && /* @__PURE__ */ o(
|
|
6133
|
-
|
|
6133
|
+
zt,
|
|
6134
6134
|
{
|
|
6135
6135
|
truncate: f,
|
|
6136
6136
|
title: e,
|
|
@@ -24829,7 +24829,7 @@ const o6 = {
|
|
|
24829
24829
|
"aria-hidden": !0
|
|
24830
24830
|
}
|
|
24831
24831
|
) : void 0, g = /* @__PURE__ */ o(
|
|
24832
|
-
|
|
24832
|
+
Bt,
|
|
24833
24833
|
{
|
|
24834
24834
|
color: n || "accent",
|
|
24835
24835
|
label: r,
|
|
@@ -25033,7 +25033,7 @@ const a6 = (e) => {
|
|
|
25033
25033
|
badgeIconDuotoneOpacityPrimary: g,
|
|
25034
25034
|
badgeIconDuotoneOpacitySecondary: b,
|
|
25035
25035
|
badgeLoading: x
|
|
25036
|
-
}), ht = i && typeof i == "object" && !Oe.isValidElement(i) && "icon" in i && ("colorIcon" in i || "onClick" in i || "show" in i || "iconDuotonePrimary" in i), pt = ht ? i : void 0, wt = a && typeof a == "object" && !Oe.isValidElement(a) && "icon" in a && ("colorIcon" in a || "onClick" in a || "show" in a || "iconDuotonePrimary" in a),
|
|
25036
|
+
}), ht = i && typeof i == "object" && !Oe.isValidElement(i) && "icon" in i && ("colorIcon" in i || "onClick" in i || "show" in i || "iconDuotonePrimary" in i), pt = ht ? i : void 0, wt = a && typeof a == "object" && !Oe.isValidElement(a) && "icon" in a && ("colorIcon" in a || "onClick" in a || "show" in a || "iconDuotonePrimary" in a), $t = wt ? a : void 0, rt = ht ? void 0 : l6({
|
|
25037
25037
|
leftSlot: i,
|
|
25038
25038
|
leftSlotDuotonePrimary: $,
|
|
25039
25039
|
leftSlotDuotoneSecondary: ee,
|
|
@@ -25041,7 +25041,7 @@ const a6 = (e) => {
|
|
|
25041
25041
|
leftSlotDuotoneOpacitySecondary: Y,
|
|
25042
25042
|
onClickLeftSlot: E,
|
|
25043
25043
|
colorIcon: A
|
|
25044
|
-
}),
|
|
25044
|
+
}), Ft = wt ? void 0 : u6({
|
|
25045
25045
|
rightSlot: a,
|
|
25046
25046
|
rightSlotDuotonePrimary: _,
|
|
25047
25047
|
rightSlotDuotoneSecondary: ue,
|
|
@@ -25056,7 +25056,7 @@ const a6 = (e) => {
|
|
|
25056
25056
|
tooltipDelay: le,
|
|
25057
25057
|
tooltipAbsolute: B,
|
|
25058
25058
|
classNameTooltip: he
|
|
25059
|
-
}), je = ke || qe || dt || (L && !Be && !Oe.isValidElement(L) && typeof L == "string" && !ar(L) ? { icon: L, show: !0 } : void 0), ye = Qe || Pe, pe = Ne || pt || rt, Ce = Ue ||
|
|
25059
|
+
}), je = ke || qe || dt || (L && !Be && !Oe.isValidElement(L) && typeof L == "string" && !ar(L) ? { icon: L, show: !0 } : void 0), ye = Qe || Pe, pe = Ne || pt || rt, Ce = Ue || $t || Ft, we = ft || un || Qt, He = (je == null ? void 0 : je.icon) || (Be ? void 0 : Oe.isValidElement(L) ? L : L ?? void 0), Ge = (ye == null ? void 0 : ye.color) || l, ot = (ye == null ? void 0 : ye.label) || u, Ht = (ye == null ? void 0 : ye.theme) || c, tn = (ye == null ? void 0 : ye.size) || f, Jt = (ye == null ? void 0 : ye.stroke) ?? d, nn = (ye == null ? void 0 : ye.icon) || p, Et = (ye == null ? void 0 : ye.loading) ?? x, Ot = (pe == null ? void 0 : pe.icon) || (ht ? void 0 : i), jt = (Ce == null ? void 0 : Ce.icon) || (wt ? void 0 : a), Pt = (we == null ? void 0 : we.label) || (yt ? void 0 : q), X = (we == null ? void 0 : we.position) || F, me = (we == null ? void 0 : we.alignment) || Q, Ie = (we == null ? void 0 : we.delay) ?? le, Ae = (we == null ? void 0 : we.absolute) ?? B, $e = (we == null ? void 0 : we.className) || he, ce = s === "icon", st = (k == null || k === !1) && !!He, We = k != null && k !== !1, tt = Ia(Et), {
|
|
25060
25060
|
displayText: mt,
|
|
25061
25061
|
textStyle: Zt,
|
|
25062
25062
|
measureRef: yn,
|
|
@@ -25071,17 +25071,17 @@ const a6 = (e) => {
|
|
|
25071
25071
|
size: O,
|
|
25072
25072
|
textColor: y,
|
|
25073
25073
|
textAlign: xe
|
|
25074
|
-
}),
|
|
25074
|
+
}), At = Va(
|
|
25075
25075
|
Ge,
|
|
25076
25076
|
ot,
|
|
25077
25077
|
nn,
|
|
25078
25078
|
tn,
|
|
25079
|
-
|
|
25080
|
-
), et = Ea(
|
|
25079
|
+
Et
|
|
25080
|
+
), et = Ea(Et, tn), lt = Ha(
|
|
25081
25081
|
Jt,
|
|
25082
25082
|
Ge,
|
|
25083
25083
|
v
|
|
25084
|
-
), { buttonClasses:
|
|
25084
|
+
), { buttonClasses: Rt } = Da({
|
|
25085
25085
|
theme: s,
|
|
25086
25086
|
size: O,
|
|
25087
25087
|
color: v,
|
|
@@ -25095,7 +25095,7 @@ const a6 = (e) => {
|
|
|
25095
25095
|
square: T,
|
|
25096
25096
|
icon: !!He,
|
|
25097
25097
|
children: We,
|
|
25098
|
-
shouldShowBadge:
|
|
25098
|
+
shouldShowBadge: At,
|
|
25099
25099
|
showShadow: se,
|
|
25100
25100
|
pointer: ge,
|
|
25101
25101
|
transition: Ke,
|
|
@@ -25137,13 +25137,13 @@ const a6 = (e) => {
|
|
|
25137
25137
|
measureSpanClassName: gt
|
|
25138
25138
|
}
|
|
25139
25139
|
),
|
|
25140
|
-
(ye == null ? void 0 : ye.show) !== !1 &&
|
|
25140
|
+
(ye == null ? void 0 : ye.show) !== !1 && At && We && /* @__PURE__ */ o(
|
|
25141
25141
|
zr,
|
|
25142
25142
|
{
|
|
25143
|
-
shouldShow:
|
|
25143
|
+
shouldShow: At,
|
|
25144
25144
|
badgeColor: Ge,
|
|
25145
25145
|
badgeLabel: ot,
|
|
25146
|
-
badgeTheme:
|
|
25146
|
+
badgeTheme: Ht,
|
|
25147
25147
|
badgeSize: et,
|
|
25148
25148
|
badgeStroke: lt,
|
|
25149
25149
|
badgeIcon: nn,
|
|
@@ -25151,7 +25151,7 @@ const a6 = (e) => {
|
|
|
25151
25151
|
badgeIconDuotoneSecondary: (ye == null ? void 0 : ye.iconDuotoneSecondary) || m,
|
|
25152
25152
|
badgeIconDuotoneOpacityPrimary: (ye == null ? void 0 : ye.iconDuotoneOpacityPrimary) || g,
|
|
25153
25153
|
badgeIconDuotoneOpacitySecondary: (ye == null ? void 0 : ye.iconDuotoneOpacitySecondary) || b,
|
|
25154
|
-
badgeLoading:
|
|
25154
|
+
badgeLoading: Et,
|
|
25155
25155
|
isAbsolute: !1
|
|
25156
25156
|
}
|
|
25157
25157
|
),
|
|
@@ -25190,13 +25190,13 @@ const a6 = (e) => {
|
|
|
25190
25190
|
iconDuotoneOpacitySecondary: (je == null ? void 0 : je.opacityDuotoneSecondary) || (je == null ? void 0 : je.iconDuotoneOpacitySecondary) || te
|
|
25191
25191
|
}
|
|
25192
25192
|
)
|
|
25193
|
-
] }), cn = () => !st || !
|
|
25193
|
+
] }), cn = () => !st || !At || (ye == null ? void 0 : ye.show) === !1 ? null : /* @__PURE__ */ o(
|
|
25194
25194
|
zr,
|
|
25195
25195
|
{
|
|
25196
|
-
shouldShow:
|
|
25196
|
+
shouldShow: At,
|
|
25197
25197
|
badgeColor: Ge,
|
|
25198
25198
|
badgeLabel: ot,
|
|
25199
|
-
badgeTheme:
|
|
25199
|
+
badgeTheme: Ht,
|
|
25200
25200
|
badgeSize: et,
|
|
25201
25201
|
badgeStroke: lt,
|
|
25202
25202
|
badgeIcon: nn,
|
|
@@ -25204,7 +25204,7 @@ const a6 = (e) => {
|
|
|
25204
25204
|
badgeIconDuotoneSecondary: (ye == null ? void 0 : ye.iconDuotoneSecondary) || m,
|
|
25205
25205
|
badgeIconDuotoneOpacityPrimary: (ye == null ? void 0 : ye.iconDuotoneOpacityPrimary) || g,
|
|
25206
25206
|
badgeIconDuotoneOpacitySecondary: (ye == null ? void 0 : ye.iconDuotoneOpacitySecondary) || b,
|
|
25207
|
-
badgeLoading:
|
|
25207
|
+
badgeLoading: Et,
|
|
25208
25208
|
isAbsolute: !0
|
|
25209
25209
|
}
|
|
25210
25210
|
);
|
|
@@ -25214,7 +25214,7 @@ const a6 = (e) => {
|
|
|
25214
25214
|
ref: it,
|
|
25215
25215
|
href: I,
|
|
25216
25216
|
target: j,
|
|
25217
|
-
className: S(
|
|
25217
|
+
className: S(Rt, n),
|
|
25218
25218
|
onMouseEnter: Ee,
|
|
25219
25219
|
onMouseLeave: an,
|
|
25220
25220
|
children: [
|
|
@@ -25225,7 +25225,7 @@ const a6 = (e) => {
|
|
|
25225
25225
|
) : be === "div" ? /* @__PURE__ */ o(
|
|
25226
25226
|
St,
|
|
25227
25227
|
{
|
|
25228
|
-
label:
|
|
25228
|
+
label: Pt || "",
|
|
25229
25229
|
position: X,
|
|
25230
25230
|
alignment: me,
|
|
25231
25231
|
absolute: Ae,
|
|
@@ -25236,11 +25236,11 @@ const a6 = (e) => {
|
|
|
25236
25236
|
"div",
|
|
25237
25237
|
{
|
|
25238
25238
|
ref: it,
|
|
25239
|
-
className: S(
|
|
25239
|
+
className: S(Rt, n),
|
|
25240
25240
|
role: M && !R ? "button" : void 0,
|
|
25241
25241
|
tabIndex: M && !R ? 0 : void 0,
|
|
25242
25242
|
"aria-disabled": R,
|
|
25243
|
-
"aria-label": !We && L ?
|
|
25243
|
+
"aria-label": !We && L ? Pt || "Button" : void 0,
|
|
25244
25244
|
onMouseEnter: Ee,
|
|
25245
25245
|
onMouseLeave: an,
|
|
25246
25246
|
...nt,
|
|
@@ -25254,7 +25254,7 @@ const a6 = (e) => {
|
|
|
25254
25254
|
) : /* @__PURE__ */ o(
|
|
25255
25255
|
St,
|
|
25256
25256
|
{
|
|
25257
|
-
label:
|
|
25257
|
+
label: Pt || "",
|
|
25258
25258
|
position: X,
|
|
25259
25259
|
alignment: me,
|
|
25260
25260
|
delay: Ie,
|
|
@@ -25264,8 +25264,8 @@ const a6 = (e) => {
|
|
|
25264
25264
|
"button",
|
|
25265
25265
|
{
|
|
25266
25266
|
ref: it,
|
|
25267
|
-
className: S(
|
|
25268
|
-
"aria-label": !We && L ?
|
|
25267
|
+
className: S(Rt, n),
|
|
25268
|
+
"aria-label": !We && L ? Pt || "Button" : void 0,
|
|
25269
25269
|
"aria-disabled": R,
|
|
25270
25270
|
...It,
|
|
25271
25271
|
...nt,
|
|
@@ -26319,9 +26319,9 @@ const ln = en(
|
|
|
26319
26319
|
showShadow: ht = !1,
|
|
26320
26320
|
strokeWidth: pt = 2,
|
|
26321
26321
|
classNameId: wt = "imj-ui-inner-button",
|
|
26322
|
-
onClickIcon:
|
|
26322
|
+
onClickIcon: $t,
|
|
26323
26323
|
onClickLeftSlot: rt,
|
|
26324
|
-
onClickRightSlot:
|
|
26324
|
+
onClickRightSlot: Ft,
|
|
26325
26325
|
iconDuotonePrimary: yt,
|
|
26326
26326
|
iconDuotoneSecondary: un,
|
|
26327
26327
|
iconDuotoneOpacityPrimary: Qt,
|
|
@@ -26333,14 +26333,14 @@ const ln = en(
|
|
|
26333
26333
|
rightSlotDuotonePrimary: He,
|
|
26334
26334
|
rightSlotDuotoneSecondary: Ge,
|
|
26335
26335
|
rightSlotDuotoneOpacityPrimary: ot,
|
|
26336
|
-
rightSlotDuotoneOpacitySecondary:
|
|
26336
|
+
rightSlotDuotoneOpacitySecondary: Ht,
|
|
26337
26337
|
badgeColor: tn,
|
|
26338
26338
|
badgeLabel: Jt,
|
|
26339
26339
|
badgeTheme: nn = "solid",
|
|
26340
|
-
badgeSize:
|
|
26340
|
+
badgeSize: Et = "sm",
|
|
26341
26341
|
badgeStroke: Ot,
|
|
26342
26342
|
badgeIcon: jt,
|
|
26343
|
-
badgeIconDuotonePrimary:
|
|
26343
|
+
badgeIconDuotonePrimary: Pt,
|
|
26344
26344
|
badgeIconDuotoneSecondary: X,
|
|
26345
26345
|
badgeIconDuotoneOpacityPrimary: me,
|
|
26346
26346
|
badgeIconDuotoneOpacitySecondary: Ie,
|
|
@@ -26357,10 +26357,10 @@ const ln = en(
|
|
|
26357
26357
|
arrowPlacement: Ee,
|
|
26358
26358
|
containerRef: an,
|
|
26359
26359
|
popupUniqueId: gt,
|
|
26360
|
-
togglePopup:
|
|
26360
|
+
togglePopup: At,
|
|
26361
26361
|
closePopup: et,
|
|
26362
26362
|
openPopup: lt,
|
|
26363
|
-
openOnHoverTriggerProps:
|
|
26363
|
+
openOnHoverTriggerProps: Rt,
|
|
26364
26364
|
openOnHoverPopupProps: Cn
|
|
26365
26365
|
} = gs({
|
|
26366
26366
|
position: r,
|
|
@@ -26392,7 +26392,7 @@ const ln = en(
|
|
|
26392
26392
|
[d, lt, et, We]
|
|
26393
26393
|
);
|
|
26394
26394
|
const bn = (_t) => {
|
|
26395
|
-
te && te(_t), !_t.defaultPrevented && !d &&
|
|
26395
|
+
te && te(_t), !_t.defaultPrevented && !d && At();
|
|
26396
26396
|
}, cn = b ?? (mi(xe) ? void 0 : "center"), Ln = () => {
|
|
26397
26397
|
if (!We)
|
|
26398
26398
|
return null;
|
|
@@ -26467,7 +26467,7 @@ const ln = en(
|
|
|
26467
26467
|
icon: k,
|
|
26468
26468
|
show: !0
|
|
26469
26469
|
};
|
|
26470
|
-
return y && (_t.color = y), Pe && (_t.className = Pe),
|
|
26470
|
+
return y && (_t.color = y), Pe && (_t.className = Pe), $t && (_t.onClick = $t), yt && (_t.colorDuotonePrimary = yt), un && (_t.colorDuotoneSecondary = un), Qt !== void 0 && (_t.opacityDuotonePrimary = Qt), je !== void 0 && (_t.opacityDuotoneSecondary = je), _t;
|
|
26471
26471
|
})(), ti = Re != null ? { ...y ? { color: y } : {}, ...Re } : vn, An = Me != null ? { ...y ? { colorIcon: y } : {}, ...Me } : w && y ? { colorIcon: y } : void 0, Nn = Ke != null ? { ...y ? { colorIcon: y } : {}, ...Ke } : N && y ? { colorIcon: y } : void 0, Rn = L && typeof L == "object" && ("label" in L || "position" in L || "alignment" in L || "delay" in L || "absolute" in L || "className" in L), Cr = Rn ? L : void 0, br = Rn ? void 0 : Ua({
|
|
26472
26472
|
tooltip: L,
|
|
26473
26473
|
tooltipPosition: I,
|
|
@@ -26488,7 +26488,7 @@ const ln = en(
|
|
|
26488
26488
|
{
|
|
26489
26489
|
ref: Zt,
|
|
26490
26490
|
className: S(ve ? "ui-w-full" : "ui-w-fit", A),
|
|
26491
|
-
...
|
|
26491
|
+
...Rt,
|
|
26492
26492
|
children: /* @__PURE__ */ o(
|
|
26493
26493
|
De,
|
|
26494
26494
|
{
|
|
@@ -26524,7 +26524,7 @@ const ln = en(
|
|
|
26524
26524
|
strokeWidth: pt,
|
|
26525
26525
|
classNameId: wt,
|
|
26526
26526
|
onClickLeftSlot: rt,
|
|
26527
|
-
onClickRightSlot:
|
|
26527
|
+
onClickRightSlot: Ft,
|
|
26528
26528
|
leftSlotDuotonePrimary: ye,
|
|
26529
26529
|
leftSlotDuotoneSecondary: pe,
|
|
26530
26530
|
leftSlotDuotoneOpacityPrimary: Ce,
|
|
@@ -26532,7 +26532,7 @@ const ln = en(
|
|
|
26532
26532
|
rightSlotDuotonePrimary: He,
|
|
26533
26533
|
rightSlotDuotoneSecondary: Ge,
|
|
26534
26534
|
rightSlotDuotoneOpacityPrimary: ot,
|
|
26535
|
-
rightSlotDuotoneOpacitySecondary:
|
|
26535
|
+
rightSlotDuotoneOpacitySecondary: Ht,
|
|
26536
26536
|
textAlign: cn,
|
|
26537
26537
|
textColor: g,
|
|
26538
26538
|
tooltipProps: vr,
|
|
@@ -26541,10 +26541,10 @@ const ln = en(
|
|
|
26541
26541
|
badgeColor: tn,
|
|
26542
26542
|
badgeLabel: Jt,
|
|
26543
26543
|
badgeTheme: nn,
|
|
26544
|
-
badgeSize:
|
|
26544
|
+
badgeSize: Et,
|
|
26545
26545
|
badgeStroke: Ot,
|
|
26546
26546
|
badgeIcon: jt,
|
|
26547
|
-
badgeIconDuotonePrimary:
|
|
26547
|
+
badgeIconDuotonePrimary: Pt,
|
|
26548
26548
|
badgeIconDuotoneSecondary: X,
|
|
26549
26549
|
badgeIconDuotoneOpacityPrimary: me,
|
|
26550
26550
|
badgeIconDuotoneOpacitySecondary: Ie,
|
|
@@ -27553,7 +27553,7 @@ const hC = {
|
|
|
27553
27553
|
}
|
|
27554
27554
|
)
|
|
27555
27555
|
] }),
|
|
27556
|
-
t && /* @__PURE__ */ o(
|
|
27556
|
+
t && /* @__PURE__ */ o(Bt, { label: t, color: i, theme: "soft", stroke: !0, size: "md" })
|
|
27557
27557
|
]
|
|
27558
27558
|
}
|
|
27559
27559
|
);
|
|
@@ -28790,7 +28790,7 @@ function Ni({
|
|
|
28790
28790
|
),
|
|
28791
28791
|
children: hi(
|
|
28792
28792
|
/* @__PURE__ */ o(
|
|
28793
|
-
|
|
28793
|
+
Bt,
|
|
28794
28794
|
{
|
|
28795
28795
|
...i(e.color),
|
|
28796
28796
|
hover: !r,
|
|
@@ -28817,7 +28817,7 @@ function c5({
|
|
|
28817
28817
|
const t = zo(n);
|
|
28818
28818
|
return /* @__PURE__ */ o("div", { className: S("ui-relative ui-w-full ui-min-w-0 ui-pt-8", r), children: /* @__PURE__ */ o("div", { className: "ui-flex ui-w-full ui-min-w-0", children: hi(
|
|
28819
28819
|
/* @__PURE__ */ o(
|
|
28820
|
-
|
|
28820
|
+
Bt,
|
|
28821
28821
|
{
|
|
28822
28822
|
...t(e.color),
|
|
28823
28823
|
hover: !0,
|
|
@@ -28905,7 +28905,7 @@ function d5({
|
|
|
28905
28905
|
className: "ui-inline-flex ui-max-w-none ui-shrink-0",
|
|
28906
28906
|
children: hi(
|
|
28907
28907
|
/* @__PURE__ */ o(
|
|
28908
|
-
|
|
28908
|
+
Bt,
|
|
28909
28909
|
{
|
|
28910
28910
|
...f(m.color),
|
|
28911
28911
|
hover: di,
|
|
@@ -28930,7 +28930,7 @@ function d5({
|
|
|
28930
28930
|
"data-hidden-count": b,
|
|
28931
28931
|
className: "ui-inline-flex ui-max-w-none ui-shrink-0",
|
|
28932
28932
|
children: /* @__PURE__ */ o(
|
|
28933
|
-
|
|
28933
|
+
Bt,
|
|
28934
28934
|
{
|
|
28935
28935
|
...f("accent"),
|
|
28936
28936
|
hover: di,
|
|
@@ -28959,7 +28959,7 @@ function d5({
|
|
|
28959
28959
|
children: [
|
|
28960
28960
|
e.slice(0, l).map((m, g) => /* @__PURE__ */ o(jr, { children: hi(
|
|
28961
28961
|
/* @__PURE__ */ o(
|
|
28962
|
-
|
|
28962
|
+
Bt,
|
|
28963
28963
|
{
|
|
28964
28964
|
...f(m.color),
|
|
28965
28965
|
hover: di,
|
|
@@ -28973,7 +28973,7 @@ function d5({
|
|
|
28973
28973
|
m
|
|
28974
28974
|
) }, `${m.label}-${g}`)),
|
|
28975
28975
|
p > 0 ? r ? /* @__PURE__ */ o("span", { className: "ui-inline-flex ui-shrink-0", children: /* @__PURE__ */ o(
|
|
28976
|
-
|
|
28976
|
+
Bt,
|
|
28977
28977
|
{
|
|
28978
28978
|
...f("accent"),
|
|
28979
28979
|
hover: di,
|
|
@@ -28994,7 +28994,7 @@ function d5({
|
|
|
28994
28994
|
"aria-haspopup": "dialog",
|
|
28995
28995
|
onClick: gn,
|
|
28996
28996
|
children: /* @__PURE__ */ o(
|
|
28997
|
-
|
|
28997
|
+
Bt,
|
|
28998
28998
|
{
|
|
28999
28999
|
...f("accent"),
|
|
29000
29000
|
hover: di,
|
|
@@ -29034,7 +29034,7 @@ function d5({
|
|
|
29034
29034
|
className: "ui-w-fit ui-self-start",
|
|
29035
29035
|
children: hi(
|
|
29036
29036
|
/* @__PURE__ */ o(
|
|
29037
|
-
|
|
29037
|
+
Bt,
|
|
29038
29038
|
{
|
|
29039
29039
|
...d(m.color),
|
|
29040
29040
|
hover: l5,
|
|
@@ -29204,7 +29204,7 @@ const ks = en(
|
|
|
29204
29204
|
p && (Fe.stopPropagation(), p(xe));
|
|
29205
29205
|
}, dt = (Fe) => {
|
|
29206
29206
|
p && (Fe.key === "Enter" || Fe.key === " ") && (Fe.preventDefault(), p(xe));
|
|
29207
|
-
}, Pe = (c ?? f ?? "").trim(), ht = Pe.length > 0, pt = !!(ht && !a), wt = !!(p && !pt),
|
|
29207
|
+
}, Pe = (c ?? f ?? "").trim(), ht = Pe.length > 0, pt = !!(ht && !a), wt = !!(p && !pt), $t = !!(v != null && v.trim()), rt = (N ?? "").trim(), Ft = Ss(rt), yt = rt.length > 0, un = $t || yt, Qt = !!(y != null && y.trim()), je = re === void 0 ? m5 : re, ye = J === void 0 ? g5 : J, pe = je.trim().length > 0 ? je : void 0, Ce = ye.trim().length > 0 ? ye : void 0, we = (Fe) => {
|
|
29208
29208
|
const Ee = Fe === "horizontalIcon", an = Ee ? {
|
|
29209
29209
|
label: typeof Je == "string" ? Je : String(Me),
|
|
29210
29210
|
position: "top"
|
|
@@ -29380,7 +29380,7 @@ const ks = en(
|
|
|
29380
29380
|
gn(Fe), ee == null || ee(xe);
|
|
29381
29381
|
}
|
|
29382
29382
|
}
|
|
29383
|
-
),
|
|
29383
|
+
), Ht = !ie && !de && !be && (!!ot || !!He), tn = S(
|
|
29384
29384
|
"ui-imj",
|
|
29385
29385
|
!a && "ui-group",
|
|
29386
29386
|
"ui-relative ui-flex ui-flex-col ui-gap-16 ui-rounded-surface-card ui-border-1",
|
|
@@ -29397,22 +29397,22 @@ const ks = en(
|
|
|
29397
29397
|
), nn = S(
|
|
29398
29398
|
"ui-block ui-min-w-0 ui-w-full ui-text-inherit ui-no-underline",
|
|
29399
29399
|
"focus-visible:ui-outline focus-visible:ui-outline-2 focus-visible:ui-outline-offset-2 focus-visible:ui-outline-brand"
|
|
29400
|
-
),
|
|
29400
|
+
), Et = /* @__PURE__ */ C("div", { className: "ui-flex ui-min-w-0 ui-shrink-0 ui-items-center ui-gap-4", children: [
|
|
29401
29401
|
/* @__PURE__ */ o(Le, { name: yo, size: "xs", color: yt ? "yellow" : "disabled" }),
|
|
29402
29402
|
/* @__PURE__ */ o(
|
|
29403
|
-
|
|
29403
|
+
zt,
|
|
29404
29404
|
{
|
|
29405
|
-
title:
|
|
29405
|
+
title: Ft,
|
|
29406
29406
|
position: "top",
|
|
29407
29407
|
maxVisibleChars: 5,
|
|
29408
29408
|
className: S(
|
|
29409
29409
|
"ui-text-[10px] ui-font-body-xs-regular ui-leading-body-xs-regular ui-tracking-[2px]",
|
|
29410
29410
|
t ? "ui-text-brand" : "ui-text-tertiary"
|
|
29411
29411
|
),
|
|
29412
|
-
children:
|
|
29412
|
+
children: Ft
|
|
29413
29413
|
}
|
|
29414
29414
|
)
|
|
29415
|
-
] }), Ot =
|
|
29415
|
+
] }), Ot = $t || yt ? Ce ? /* @__PURE__ */ o(St, { label: Ce, position: "top", preserveLayout: !0, children: Et }) : Et : null, jt = (Fe) => {
|
|
29416
29416
|
const Ee = S(
|
|
29417
29417
|
"ui-pointer-events-none ui-absolute ui-z-10",
|
|
29418
29418
|
Fe === "thumb" ? "ui-top-4 ui-left-4" : Fe === "horizontal" ? "ui-top-8 ui-right-8" : "ui-top-8 ui-left-8"
|
|
@@ -29435,7 +29435,7 @@ const ks = en(
|
|
|
29435
29435
|
backgroundColor: "white"
|
|
29436
29436
|
}
|
|
29437
29437
|
) }) : null,
|
|
29438
|
-
Be.length > 0 ? /* @__PURE__ */ o("div", { className: an, children: Be.map((gt,
|
|
29438
|
+
Be.length > 0 ? /* @__PURE__ */ o("div", { className: an, children: Be.map((gt, At) => {
|
|
29439
29439
|
if (p5(gt)) {
|
|
29440
29440
|
const {
|
|
29441
29441
|
id: Ln,
|
|
@@ -29448,8 +29448,8 @@ const ks = en(
|
|
|
29448
29448
|
size: Cr = "lg",
|
|
29449
29449
|
stroke: br = !1,
|
|
29450
29450
|
disabled: vr = !1
|
|
29451
|
-
} = gt, _t = Ln ?? `media-indicator-text-${
|
|
29452
|
-
|
|
29451
|
+
} = gt, _t = Ln ?? `media-indicator-text-${At}`, Mi = /* @__PURE__ */ o("span", { className: "ui-pointer-events-auto ui-inline-flex ui-shrink-0", children: /* @__PURE__ */ o(
|
|
29452
|
+
Bt,
|
|
29453
29453
|
{
|
|
29454
29454
|
label: ei,
|
|
29455
29455
|
color: Nn,
|
|
@@ -29479,21 +29479,21 @@ const ks = en(
|
|
|
29479
29479
|
_t
|
|
29480
29480
|
) : /* @__PURE__ */ o(jr, { children: Mi }, _t);
|
|
29481
29481
|
}
|
|
29482
|
-
const { id: et, tooltip: lt, tooltipProps:
|
|
29482
|
+
const { id: et, tooltip: lt, tooltipProps: Rt, ...Cn } = gt, bn = et ?? `media-indicator-${At}`, cn = /* @__PURE__ */ o("span", { className: "ui-pointer-events-auto ui-inline-flex ui-shrink-0", children: /* @__PURE__ */ o(Le, { ...Cn, size: "xs", padding: "xs" }) });
|
|
29483
29483
|
return lt != null && String(lt).length > 0 ? /* @__PURE__ */ o(
|
|
29484
29484
|
St,
|
|
29485
29485
|
{
|
|
29486
29486
|
label: lt,
|
|
29487
29487
|
position: "top",
|
|
29488
29488
|
preserveLayout: !0,
|
|
29489
|
-
...
|
|
29489
|
+
...Rt,
|
|
29490
29490
|
children: cn
|
|
29491
29491
|
},
|
|
29492
29492
|
bn
|
|
29493
29493
|
) : /* @__PURE__ */ o(jr, { children: cn }, bn);
|
|
29494
29494
|
}) }) : null
|
|
29495
29495
|
] });
|
|
29496
|
-
},
|
|
29496
|
+
}, Pt = S(
|
|
29497
29497
|
"ui-relative ui-overflow-hidden",
|
|
29498
29498
|
ie ? "ui-h-full ui-min-h-[120px] ui-w-full ui-max-w-[200px] ui-rounded-l-[var(--ui-radius-surface-card)]" : "ui-h-[141px] ui-w-full ui-shrink-0 ui-rounded-t-[var(--ui-radius-surface-card)]"
|
|
29499
29499
|
), X = S(
|
|
@@ -29501,13 +29501,15 @@ const ks = en(
|
|
|
29501
29501
|
ie && !g && "ui-min-h-0 ui-py-12 ui-pr-16",
|
|
29502
29502
|
!(ie && !g) && "ui-px-16",
|
|
29503
29503
|
g && "ui-pt-16",
|
|
29504
|
+
// No footer row: preserve bottom inset that `catalogFooter` would add (vertical layout).
|
|
29505
|
+
!Ht && !ie && !de && !be && "ui-pb-16",
|
|
29504
29506
|
ie && g && "ui-pb-12"
|
|
29505
29507
|
), me = S(
|
|
29506
29508
|
"ui-flex ui-min-w-0 ui-w-full ui-flex-1 ui-flex-col ui-gap-4 ui-text-inherit ui-no-underline",
|
|
29507
29509
|
"focus-visible:ui-outline focus-visible:ui-outline-2 focus-visible:ui-outline-offset-2 focus-visible:ui-outline-brand"
|
|
29508
29510
|
), Ie = /* @__PURE__ */ C(Xe, { children: [
|
|
29509
|
-
|
|
29510
|
-
|
|
29511
|
+
$t ? /* @__PURE__ */ o("div", { className: "ui-w-full ui-min-w-0 ui-overflow-hidden", children: /* @__PURE__ */ o(
|
|
29512
|
+
zt,
|
|
29511
29513
|
{
|
|
29512
29514
|
title: v,
|
|
29513
29515
|
position: "top",
|
|
@@ -29519,7 +29521,7 @@ const ks = en(
|
|
|
29519
29521
|
}
|
|
29520
29522
|
) }) : null,
|
|
29521
29523
|
/* @__PURE__ */ o("div", { className: "ui-w-full ui-min-w-0", children: /* @__PURE__ */ o(
|
|
29522
|
-
|
|
29524
|
+
zt,
|
|
29523
29525
|
{
|
|
29524
29526
|
title: k,
|
|
29525
29527
|
position: "top",
|
|
@@ -29542,7 +29544,7 @@ const ks = en(
|
|
|
29542
29544
|
}
|
|
29543
29545
|
),
|
|
29544
29546
|
/* @__PURE__ */ o("div", { className: "ui-min-w-0 ui-flex-1 ui-overflow-hidden", children: /* @__PURE__ */ o(
|
|
29545
|
-
|
|
29547
|
+
zt,
|
|
29546
29548
|
{
|
|
29547
29549
|
title: y,
|
|
29548
29550
|
position: "top",
|
|
@@ -29573,11 +29575,11 @@ const ks = en(
|
|
|
29573
29575
|
{
|
|
29574
29576
|
className: S(
|
|
29575
29577
|
"ui-flex ui-w-full ui-items-center ui-gap-8",
|
|
29576
|
-
|
|
29578
|
+
$t ? "ui-justify-between" : "ui-justify-end"
|
|
29577
29579
|
),
|
|
29578
29580
|
children: [
|
|
29579
29581
|
v != null && v.trim() ? /* @__PURE__ */ o("div", { className: "ui-min-w-0 ui-flex-1 ui-overflow-hidden", children: /* @__PURE__ */ o(
|
|
29580
|
-
|
|
29582
|
+
zt,
|
|
29581
29583
|
{
|
|
29582
29584
|
title: v,
|
|
29583
29585
|
position: "top",
|
|
@@ -29593,7 +29595,7 @@ const ks = en(
|
|
|
29593
29595
|
}
|
|
29594
29596
|
) : null,
|
|
29595
29597
|
/* @__PURE__ */ o("div", { className: "ui-w-full ui-min-w-0", children: /* @__PURE__ */ o(
|
|
29596
|
-
|
|
29598
|
+
zt,
|
|
29597
29599
|
{
|
|
29598
29600
|
title: k,
|
|
29599
29601
|
position: "top",
|
|
@@ -29616,7 +29618,7 @@ const ks = en(
|
|
|
29616
29618
|
}
|
|
29617
29619
|
),
|
|
29618
29620
|
/* @__PURE__ */ o("div", { className: "ui-min-w-0 ui-flex-1 ui-overflow-hidden", children: /* @__PURE__ */ o(
|
|
29619
|
-
|
|
29621
|
+
zt,
|
|
29620
29622
|
{
|
|
29621
29623
|
title: y,
|
|
29622
29624
|
position: "top",
|
|
@@ -29640,7 +29642,7 @@ const ks = en(
|
|
|
29640
29642
|
ot ? /* @__PURE__ */ o("div", { className: "ui-flex ui-shrink-0 ui-items-center", children: ot }) : null,
|
|
29641
29643
|
/* @__PURE__ */ o("div", { className: "ui-flex ui-shrink-0 ui-items-center", children: Ge })
|
|
29642
29644
|
] }), st = /* @__PURE__ */ C("div", { className: Jt, children: [
|
|
29643
|
-
g ? null : /* @__PURE__ */ C("div", { className:
|
|
29645
|
+
g ? null : /* @__PURE__ */ C("div", { className: Pt, children: [
|
|
29644
29646
|
/* @__PURE__ */ o("div", { className: "ui-absolute ui-inset-0", children: /* @__PURE__ */ o(
|
|
29645
29647
|
Lr,
|
|
29646
29648
|
{
|
|
@@ -29818,7 +29820,7 @@ const ks = en(
|
|
|
29818
29820
|
children: Zt
|
|
29819
29821
|
}
|
|
29820
29822
|
) : Zt,
|
|
29821
|
-
|
|
29823
|
+
Ht ? /* @__PURE__ */ C("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-items-center ui-gap-12 ui-px-16 ui-pb-16", children: [
|
|
29822
29824
|
ot,
|
|
29823
29825
|
!ie && He ? /* @__PURE__ */ o("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-flex-1", children: He }) : null
|
|
29824
29826
|
] }) : null
|
|
@@ -29931,7 +29933,7 @@ const R1 = { label: "Más opciones", position: "top" }, C5 = "Evaluación", b5 =
|
|
|
29931
29933
|
!l && G ? /* @__PURE__ */ o(St, { label: C5, position: "top", preserveLayout: !0, children: /* @__PURE__ */ C("div", { className: "ui-flex ui-min-w-0 ui-items-center ui-gap-4", children: [
|
|
29932
29934
|
/* @__PURE__ */ o(Le, { name: yo, size: "xs", color: z ? "yellow" : "disabled" }),
|
|
29933
29935
|
/* @__PURE__ */ o(
|
|
29934
|
-
|
|
29936
|
+
zt,
|
|
29935
29937
|
{
|
|
29936
29938
|
title: H,
|
|
29937
29939
|
position: "top",
|
|
@@ -29942,7 +29944,7 @@ const R1 = { label: "Más opciones", position: "top" }, C5 = "Evaluación", b5 =
|
|
|
29942
29944
|
)
|
|
29943
29945
|
] }) }) : null,
|
|
29944
29946
|
R ? /* @__PURE__ */ o(St, { label: b5, position: "top", preserveLayout: !0, children: /* @__PURE__ */ o("span", { className: "ui-inline-flex", children: /* @__PURE__ */ o(
|
|
29945
|
-
|
|
29947
|
+
Bt,
|
|
29946
29948
|
{
|
|
29947
29949
|
label: P,
|
|
29948
29950
|
color: O ? "gray" : "success",
|
|
@@ -33395,10 +33397,10 @@ const c7 = ({
|
|
|
33395
33397
|
// Referencias
|
|
33396
33398
|
inputRef: pt,
|
|
33397
33399
|
dropdownRef: wt,
|
|
33398
|
-
containerRef:
|
|
33400
|
+
containerRef: $t,
|
|
33399
33401
|
dropdownUniqueId: rt,
|
|
33400
33402
|
// Funciones
|
|
33401
|
-
toggleDropdown:
|
|
33403
|
+
toggleDropdown: Ft,
|
|
33402
33404
|
closeDropdown: yt,
|
|
33403
33405
|
handleOptionSelect: un,
|
|
33404
33406
|
handleSearchChange: Qt,
|
|
@@ -33448,7 +33450,7 @@ const c7 = ({
|
|
|
33448
33450
|
if (X === me || String(X) === String(me)) return !0;
|
|
33449
33451
|
const Ie = Number(X), Ae = Number(me);
|
|
33450
33452
|
return !isNaN(Ie) && !isNaN(Ae) && Ie === Ae;
|
|
33451
|
-
}, []),
|
|
33453
|
+
}, []), Ht = ne(() => ve ? a7({
|
|
33452
33454
|
filteredOptions: dt,
|
|
33453
33455
|
multiple: P,
|
|
33454
33456
|
withCheckbox: Ue,
|
|
@@ -33510,7 +33512,7 @@ const c7 = ({
|
|
|
33510
33512
|
},
|
|
33511
33513
|
open: () => {
|
|
33512
33514
|
N || (pe(), setTimeout(() => {
|
|
33513
|
-
|
|
33515
|
+
Ft();
|
|
33514
33516
|
}, 50));
|
|
33515
33517
|
},
|
|
33516
33518
|
close: () => {
|
|
@@ -33526,7 +33528,7 @@ const c7 = ({
|
|
|
33526
33528
|
yt,
|
|
33527
33529
|
P,
|
|
33528
33530
|
we,
|
|
33529
|
-
|
|
33531
|
+
Ft,
|
|
33530
33532
|
pt,
|
|
33531
33533
|
A
|
|
33532
33534
|
]
|
|
@@ -33578,7 +33580,7 @@ const c7 = ({
|
|
|
33578
33580
|
return qe.length > 0;
|
|
33579
33581
|
const X = qe[0];
|
|
33580
33582
|
return !(!X || X[L] === -1 || X[M] === -1 || X[M] === "-1");
|
|
33581
|
-
}, [N, fe, P, qe, L, M]),
|
|
33583
|
+
}, [N, fe, P, qe, L, M]), Et = D(
|
|
33582
33584
|
(X) => {
|
|
33583
33585
|
X.stopPropagation(), X.preventDefault(), P ? (Jt(), ye()) : (je(X), Me(p ?? null), ze(null));
|
|
33584
33586
|
},
|
|
@@ -33624,9 +33626,9 @@ const c7 = ({
|
|
|
33624
33626
|
we([]);
|
|
33625
33627
|
return;
|
|
33626
33628
|
}
|
|
33627
|
-
const lt = Zt.filter((
|
|
33629
|
+
const lt = Zt.filter((Rt) => !Rt.disabled).map((Rt) => Rt[L]);
|
|
33628
33630
|
R != null && lt.length > R ? we(lt.slice(0, R)) : we(lt);
|
|
33629
|
-
},
|
|
33631
|
+
}, At = /* @__PURE__ */ C(
|
|
33630
33632
|
"div",
|
|
33631
33633
|
{
|
|
33632
33634
|
ref: wt,
|
|
@@ -33661,8 +33663,8 @@ const c7 = ({
|
|
|
33661
33663
|
events: {
|
|
33662
33664
|
onHeaderCheckboxChange: gt,
|
|
33663
33665
|
onItemCheckboxChange: (et, lt) => {
|
|
33664
|
-
const
|
|
33665
|
-
|
|
33666
|
+
const Rt = Zt.find((Cn) => String(Cn[L]) === String(et));
|
|
33667
|
+
Rt && Ge(Rt, lt);
|
|
33666
33668
|
}
|
|
33667
33669
|
},
|
|
33668
33670
|
className: "ui-max-h-[176px] ui-min-h-0 ui-rounded-none ui-border-0 ui-bg-transparent ui-shadow-none"
|
|
@@ -33701,7 +33703,7 @@ const c7 = ({
|
|
|
33701
33703
|
]
|
|
33702
33704
|
}
|
|
33703
33705
|
);
|
|
33704
|
-
return H ?
|
|
33706
|
+
return H ? At : hn(At, document.body);
|
|
33705
33707
|
}
|
|
33706
33708
|
const me = (ce, st) => {
|
|
33707
33709
|
un(ce, st), ce.icon && Me(ce.icon), ce.iconColor && ze(ce.iconColor), re === "user" && Me(ce.avatarUrl ? ce.avatarUrl : p);
|
|
@@ -33747,7 +33749,7 @@ const c7 = ({
|
|
|
33747
33749
|
),
|
|
33748
33750
|
children: [
|
|
33749
33751
|
re === "filters" && be && /* @__PURE__ */ o("div", { className: "ui-text-body-sm-regular ui-font-body-sm-bold ui-leading-body-sm-bold ui-tracking-body-sm ui-text-primary", children: be }),
|
|
33750
|
-
|
|
33752
|
+
Ht.length > 0 ? Ht.map((ce) => {
|
|
33751
33753
|
const st = P ? qe.some(
|
|
33752
33754
|
(tt) => tt && ot(
|
|
33753
33755
|
tt[L],
|
|
@@ -33937,10 +33939,10 @@ const c7 = ({
|
|
|
33937
33939
|
oe(() => {
|
|
33938
33940
|
p && Me(p);
|
|
33939
33941
|
}, [p]);
|
|
33940
|
-
const
|
|
33942
|
+
const Pt = /* @__PURE__ */ C(
|
|
33941
33943
|
"div",
|
|
33942
33944
|
{
|
|
33943
|
-
ref:
|
|
33945
|
+
ref: $t,
|
|
33944
33946
|
className: S("ui-imj ui-relative", Se ? "ui-w-full" : "ui-w-fit"),
|
|
33945
33947
|
"data-dropdown-container-id": rt,
|
|
33946
33948
|
children: [
|
|
@@ -33953,7 +33955,7 @@ const c7 = ({
|
|
|
33953
33955
|
placeholder: k,
|
|
33954
33956
|
selectedOptions: qe,
|
|
33955
33957
|
handleRemoveSelected: tn,
|
|
33956
|
-
toggleDropdown:
|
|
33958
|
+
toggleDropdown: Ft,
|
|
33957
33959
|
isOpen: nt,
|
|
33958
33960
|
isOpening: Je,
|
|
33959
33961
|
setIsOpening: ke,
|
|
@@ -33972,7 +33974,7 @@ const c7 = ({
|
|
|
33972
33974
|
overflowPopoverZIndex: le ?? (z !== void 0 ? z + 50 : 1150),
|
|
33973
33975
|
tagsOverflowPopoverTitle: B,
|
|
33974
33976
|
showClearButton: fe,
|
|
33975
|
-
onClearAll:
|
|
33977
|
+
onClearAll: Et
|
|
33976
33978
|
}
|
|
33977
33979
|
) : (
|
|
33978
33980
|
// Input normal para otros modos
|
|
@@ -33999,14 +34001,14 @@ const c7 = ({
|
|
|
33999
34001
|
placeholder: k,
|
|
34000
34002
|
value: Ot(),
|
|
34001
34003
|
readOnly: !0,
|
|
34002
|
-
onClick: (X) =>
|
|
34003
|
-
onClickExtraSlot: () =>
|
|
34004
|
+
onClick: (X) => Ft(X),
|
|
34005
|
+
onClickExtraSlot: () => Ft(),
|
|
34004
34006
|
name: a,
|
|
34005
34007
|
pill: ue,
|
|
34006
34008
|
autosize: !0,
|
|
34007
34009
|
extraSlot: nt ? Wi : yi,
|
|
34008
34010
|
clearable: nn,
|
|
34009
|
-
onClear:
|
|
34011
|
+
onClear: Et
|
|
34010
34012
|
}
|
|
34011
34013
|
)
|
|
34012
34014
|
),
|
|
@@ -34025,9 +34027,9 @@ const c7 = ({
|
|
|
34025
34027
|
className: W.className,
|
|
34026
34028
|
absolute: W.absolute,
|
|
34027
34029
|
fullWidth: !0,
|
|
34028
|
-
children:
|
|
34030
|
+
children: Pt
|
|
34029
34031
|
}
|
|
34030
|
-
) :
|
|
34032
|
+
) : Pt;
|
|
34031
34033
|
});
|
|
34032
34034
|
sn.displayName = "Dropdown";
|
|
34033
34035
|
const d7 = {
|
|
@@ -40873,7 +40875,7 @@ const Un = ({
|
|
|
40873
40875
|
);
|
|
40874
40876
|
}
|
|
40875
40877
|
return u ? /* @__PURE__ */ o(
|
|
40876
|
-
|
|
40878
|
+
zt,
|
|
40877
40879
|
{
|
|
40878
40880
|
truncate: u,
|
|
40879
40881
|
title: f ?? (typeof t == "string" ? t : void 0),
|
|
@@ -41000,7 +41002,7 @@ const Gs = ct(
|
|
|
41000
41002
|
),
|
|
41001
41003
|
children: [
|
|
41002
41004
|
/* @__PURE__ */ o(
|
|
41003
|
-
|
|
41005
|
+
zt,
|
|
41004
41006
|
{
|
|
41005
41007
|
truncate: p,
|
|
41006
41008
|
title: typeof y == "string" ? y : void 0,
|
|
@@ -41014,7 +41016,7 @@ const Gs = ct(
|
|
|
41014
41016
|
}
|
|
41015
41017
|
),
|
|
41016
41018
|
M && /* @__PURE__ */ o(
|
|
41017
|
-
|
|
41019
|
+
zt,
|
|
41018
41020
|
{
|
|
41019
41021
|
truncate: p,
|
|
41020
41022
|
title: typeof M == "string" ? M : void 0,
|
|
@@ -41150,7 +41152,7 @@ const qs = ct(
|
|
|
41150
41152
|
children: [
|
|
41151
41153
|
/* @__PURE__ */ o(Le, { name: hu, size: "xs", className: S("ui-shrink-0", x.text) }),
|
|
41152
41154
|
/* @__PURE__ */ o(
|
|
41153
|
-
|
|
41155
|
+
zt,
|
|
41154
41156
|
{
|
|
41155
41157
|
truncate: v,
|
|
41156
41158
|
title: p,
|
|
@@ -41308,7 +41310,7 @@ const ah = ({
|
|
|
41308
41310
|
h && "ui-min-w-0 ui-overflow-hidden"
|
|
41309
41311
|
),
|
|
41310
41312
|
children: /* @__PURE__ */ o("a", { href: x, className: m, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ o(
|
|
41311
|
-
|
|
41313
|
+
zt,
|
|
41312
41314
|
{
|
|
41313
41315
|
truncate: h,
|
|
41314
41316
|
title: typeof w == "string" ? w : String(w),
|
|
@@ -42057,7 +42059,7 @@ const vh = ({
|
|
|
42057
42059
|
}
|
|
42058
42060
|
),
|
|
42059
42061
|
/* @__PURE__ */ o(
|
|
42060
|
-
|
|
42062
|
+
zt,
|
|
42061
42063
|
{
|
|
42062
42064
|
truncate: h,
|
|
42063
42065
|
title: d.toFixed(1),
|
|
@@ -42247,7 +42249,7 @@ const vh = ({
|
|
|
42247
42249
|
w && "ui-min-w-0 ui-overflow-hidden"
|
|
42248
42250
|
),
|
|
42249
42251
|
children: /* @__PURE__ */ o(
|
|
42250
|
-
|
|
42252
|
+
zt,
|
|
42251
42253
|
{
|
|
42252
42254
|
truncate: w,
|
|
42253
42255
|
title: x,
|
|
@@ -45232,10 +45234,10 @@ const Ep = ({
|
|
|
45232
45234
|
l == null ? void 0 : l.internalSearch,
|
|
45233
45235
|
l == null ? void 0 : l.internalFilters
|
|
45234
45236
|
]
|
|
45235
|
-
),
|
|
45237
|
+
), $t = ze(wt), rt = ne(() => nt($t).map((me) => ({
|
|
45236
45238
|
...me,
|
|
45237
45239
|
_toggleEdit: () => ft(me.id)
|
|
45238
|
-
})), [
|
|
45240
|
+
})), [$t, nt, ft]), Ft = ne(() => {
|
|
45239
45241
|
var Ie, Ae, $e;
|
|
45240
45242
|
if (s != null && s.enabled) {
|
|
45241
45243
|
const ce = ((Ie = rt[0]) == null ? void 0 : Ie.id) ?? "";
|
|
@@ -45304,7 +45306,7 @@ const Ep = ({
|
|
|
45304
45306
|
}, ot = (X) => {
|
|
45305
45307
|
const me = X.map((Ie) => Ie.id);
|
|
45306
45308
|
Q(me), E == null || E(X), M && y && re.updateColumnOrder(X);
|
|
45307
|
-
},
|
|
45309
|
+
}, Ht = (X) => {
|
|
45308
45310
|
Ke(X), A == null || A(X);
|
|
45309
45311
|
}, tn = (X, me, Ie) => {
|
|
45310
45312
|
_.current.add(X);
|
|
@@ -45330,14 +45332,14 @@ const Ep = ({
|
|
|
45330
45332
|
}, nn = (X) => {
|
|
45331
45333
|
var me;
|
|
45332
45334
|
(me = s == null ? void 0 : s.onPageSizeChange) == null || me.call(s, X);
|
|
45333
|
-
},
|
|
45335
|
+
}, Et = S(
|
|
45334
45336
|
"ui-imj ui-relative ui-flex ui-h-full ui-w-full ui-max-w-full ui-flex-col ui-overflow-hidden ui-bg-fill ui-rounded-surface-sheet ui-p-16",
|
|
45335
45337
|
g && "ui-border ui-border-default",
|
|
45336
45338
|
O
|
|
45337
45339
|
), Ot = (X) => {
|
|
45338
45340
|
Ue(X), !((l == null ? void 0 : l.internalFilters) ?? !1) && j && j(X);
|
|
45339
|
-
}, jt = (i == null ? void 0 : i.selectionBarPlacement) ?? "inline",
|
|
45340
|
-
return /* @__PURE__ */ C("div", { ref: ee, className:
|
|
45341
|
+
}, jt = (i == null ? void 0 : i.selectionBarPlacement) ?? "inline", Pt = !!(i != null && i.showSelectionBar && ge > 0);
|
|
45342
|
+
return /* @__PURE__ */ C("div", { ref: ee, className: Et, children: [
|
|
45341
45343
|
l && /* @__PURE__ */ o(
|
|
45342
45344
|
nh,
|
|
45343
45345
|
{
|
|
@@ -45390,14 +45392,14 @@ const Ep = ({
|
|
|
45390
45392
|
onResizeDoubleClick: pe,
|
|
45391
45393
|
onResizeHover: Ce,
|
|
45392
45394
|
onRowClick: R,
|
|
45393
|
-
onRowExpand:
|
|
45395
|
+
onRowExpand: Ht,
|
|
45394
45396
|
onCellFocus: Je,
|
|
45395
45397
|
isCellFocused: Qe,
|
|
45396
45398
|
onCellChange: tn,
|
|
45397
|
-
rowsDataKey:
|
|
45399
|
+
rowsDataKey: Ft
|
|
45398
45400
|
}
|
|
45399
45401
|
) }),
|
|
45400
|
-
|
|
45402
|
+
Pt && i && (jt === "inline" ? /* @__PURE__ */ o("div", { className: "ui-flex ui-shrink-0 ui-justify-center ui-border-t ui-border-default ui-px-8 ui-pb-4 ui-pt-12", children: /* @__PURE__ */ o(
|
|
45401
45403
|
J1,
|
|
45402
45404
|
{
|
|
45403
45405
|
selectedCount: ge,
|
|
@@ -47410,7 +47412,7 @@ const Cb = () => {
|
|
|
47410
47412
|
children: [
|
|
47411
47413
|
/* @__PURE__ */ o("span", { className: "ui-flex-1 ui-truncate ui-font-body-sm-medium", children: n }),
|
|
47412
47414
|
t && /* @__PURE__ */ o(
|
|
47413
|
-
|
|
47415
|
+
Bt,
|
|
47414
47416
|
{
|
|
47415
47417
|
label: String(t.label),
|
|
47416
47418
|
color: t.color || "accent",
|
|
@@ -47724,7 +47726,7 @@ function dm({ summary: e, menu: n, onRequestClose: r }) {
|
|
|
47724
47726
|
u ? /* @__PURE__ */ o("div", { className: "ui-truncate ui-text-body-xs-regular ui-text-secondary", children: u }) : null
|
|
47725
47727
|
] }),
|
|
47726
47728
|
e.presence ? /* @__PURE__ */ o(
|
|
47727
|
-
|
|
47729
|
+
Bt,
|
|
47728
47730
|
{
|
|
47729
47731
|
label: e.presence.label,
|
|
47730
47732
|
color: "success",
|
|
@@ -47923,7 +47925,7 @@ const sa = ({
|
|
|
47923
47925
|
) : null
|
|
47924
47926
|
] }) }) }),
|
|
47925
47927
|
t ? /* @__PURE__ */ o("div", { className: "ui-inline-flex ui-shrink-0 ui-items-center ui-justify-center", children: /* @__PURE__ */ o(
|
|
47926
|
-
|
|
47928
|
+
Bt,
|
|
47927
47929
|
{
|
|
47928
47930
|
label: String(t.label),
|
|
47929
47931
|
color: t.color || "accent",
|
|
@@ -51193,7 +51195,7 @@ export {
|
|
|
51193
51195
|
Dt as Avatar,
|
|
51194
51196
|
uh as AvatarsCell,
|
|
51195
51197
|
Mo as BUTTON_SLOT_SPREAD_CENTER,
|
|
51196
|
-
|
|
51198
|
+
Bt as Badge,
|
|
51197
51199
|
b2 as Badges,
|
|
51198
51200
|
Bi as BarProgress,
|
|
51199
51201
|
gi as Body,
|
|
@@ -51397,7 +51399,7 @@ export {
|
|
|
51397
51399
|
sr as Toggle,
|
|
51398
51400
|
yb as Toolbar,
|
|
51399
51401
|
St as Tooltip,
|
|
51400
|
-
|
|
51402
|
+
zt as TruncatedWithTooltip,
|
|
51401
51403
|
wn as Visual,
|
|
51402
51404
|
z5 as WeekDay,
|
|
51403
51405
|
kC as Wysiwyg,
|