@imj_media/ui 1.2.55 → 1.2.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +2 -0
- package/dist/index.css +1 -1
- package/dist/index.esm.js +464 -453
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/modules/Modal/stories/ModalTable.stories.d.ts +8 -0
- package/dist/modules/Modal/stories/ModalTable.stories.d.ts.map +1 -0
- package/dist/modules/Table/components/molecules/HeaderCell.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableHeader.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableColumns.d.ts.map +1 -1
- package/dist/modules/Table/stories/TableResizableScenarios.stories.d.ts +24 -0
- package/dist/modules/Table/stories/TableResizableScenarios.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/TableWithQuery.stories.d.ts.map +1 -1
- package/dist/shared/types/table.d.ts +2 -0
- package/dist/shared/types/table.d.ts.map +1 -1
- package/package.json +5 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as s, jsxs as P, Fragment as
|
|
2
|
-
import Te, { useState as B, useRef as J, useCallback as L, useEffect as Y, useMemo as te, memo as Ge, useImperativeHandle as Kt, forwardRef as
|
|
1
|
+
import { jsx as s, jsxs as P, Fragment as Fe } from "react/jsx-runtime";
|
|
2
|
+
import Te, { useState as B, useRef as J, useCallback as L, useEffect as Y, useMemo as te, memo as Ge, useImperativeHandle as Kt, forwardRef as Lt, useId as wi, createContext as Mo, useContext as Oo, Children as Ao, isValidElement as zo } from "react";
|
|
3
3
|
import { clsx as jo } from "clsx";
|
|
4
4
|
import { twMerge as Ro } from "tailwind-merge";
|
|
5
5
|
import mi, { createPortal as wt } from "react-dom";
|
|
6
|
-
import { cva as
|
|
6
|
+
import { cva as Qe } from "class-variance-authority";
|
|
7
7
|
import { FontAwesomeIcon as Dr } from "@fortawesome/react-fontawesome";
|
|
8
|
-
import { faUser as Fo, faChevronUp as rr, faChevronDown as Ni, faCircleInfo as Tr, faShapes as Ur, faExclamationTriangle as Bo, faLightEmergencyOn as Vo, faCircleCheck as Wo, faXmark as vt, faInfoCircle as _o, faArrowUpRightAndArrowDownLeftFromCenter as Vi, faEllipsis as _i, faAngleLeft as nr, faAngleRight as or, faAngleDown as Gr, faCalendar as sr, faSearch as
|
|
8
|
+
import { faUser as Fo, faChevronUp as rr, faChevronDown as Ni, faCircleInfo as Tr, faShapes as Ur, faExclamationTriangle as Bo, faLightEmergencyOn as Vo, faCircleCheck as Wo, faXmark as vt, faInfoCircle as _o, faArrowUpRightAndArrowDownLeftFromCenter as Vi, faEllipsis as _i, faAngleLeft as nr, faAngleRight as or, faAngleDown as Gr, faCalendar as sr, faSearch as Vt, faGripDotsVertical as qo, faArrowLeft as Ho, faCircleNotch as Yo, faClock as Uo, faFaceSmile as Kr, faDog as Go, faLemon as Ko, faFutbol as Qo, faCarSide as Jo, faLightbulb as Xo, faHeart as Zo, faFlag as es, faFile as ts, faFilter as Wt, faBold as is, faItalic as rs, faUnderline as ns, faStrikethrough as os, faListUl as ar, faListOl as ss, faLink as as, faAt as ls, faPaperPlane as Qr, faGraduationCap as us, faPalette as cs, faAngleDoubleLeft as ds, faAngleDoubleRight as fs, faStar as qi, faCheck as ei, faHashtag as Jr, faText as Xr, faFilterList as ms, faPlus as hs, faBroomWide as gs, faGears as ps, faTrash as Zr, faPen as Hi, faUnlock as bs, faArrowsFromLine as ys, faArrowUp as xs, faArrowDown as vs, faArrowDownArrowUp as ws, faChevronRight as en, faEmptySet as Ns, faArrowTurnLeft as Ss, faArrowRightToBracket as ks, faTableLayout as Cs, faFolderOpen as Ds, faChevronLeft as Ts } from "@fortawesome/pro-regular-svg-icons";
|
|
9
9
|
import { faBell as Es, faGripDotsVertical as Is, faTrash as $s, faCheck as Ps, faEyeDropper as Ls, faEye as Ms, faLock as Os, faFilter as As, faArrowUp as zs, faArrowDown as js, faUser as Rs, faArrowUpRight as ai } from "@fortawesome/pro-solid-svg-icons";
|
|
10
10
|
import Fs from "lottie-react";
|
|
11
11
|
import { Prism as Bs } from "react-syntax-highlighter";
|
|
@@ -511,7 +511,7 @@ const Xs = (e = "top", t = "center", i = !1, r = 0, o = !1) => {
|
|
|
511
511
|
document.body
|
|
512
512
|
))
|
|
513
513
|
] });
|
|
514
|
-
},
|
|
514
|
+
}, _t = ({
|
|
515
515
|
children: e,
|
|
516
516
|
label: t,
|
|
517
517
|
position: i = "top",
|
|
@@ -623,7 +623,7 @@ const ia = (e) => {
|
|
|
623
623
|
}, [e]), Y(() => {
|
|
624
624
|
e === !0 && i(!1);
|
|
625
625
|
}, [e]), t;
|
|
626
|
-
}, ra =
|
|
626
|
+
}, ra = Qe("", {
|
|
627
627
|
variants: {
|
|
628
628
|
color: {
|
|
629
629
|
primary: "",
|
|
@@ -688,7 +688,7 @@ const ia = (e) => {
|
|
|
688
688
|
handleMouseLeave: v,
|
|
689
689
|
measureSpanClassName: w
|
|
690
690
|
};
|
|
691
|
-
},
|
|
691
|
+
}, Rt = (e, t, i, r, o = !1) => {
|
|
692
692
|
const a = ["solid", "icon"].includes(e) ? e : "solid", l = a !== "button", u = (d, c) => o ? c : d, m = {
|
|
693
693
|
solid: {
|
|
694
694
|
primary: `${u("ui-bg-fill-brand", "ui-bg-fill-brand-selected")} ui-text-on-color ${i ?? l ? "!ui-border-brand" : "ui-border-transparent"} ${t ? "enabled:hover:ui-bg-fill-brand-hover enabled:hover:ui-border-brand-hover active:enabled:ui-bg-fill-brand-pressed active:enabled:ui-border-brand-pressed" : ""} disabled:ui-bg-fill-brand-disabled disabled:!ui-border-transparent disabled:ui-cursor-not-allowed`,
|
|
@@ -725,7 +725,7 @@ const ia = (e) => {
|
|
|
725
725
|
transform: "translate(50%, -50%)"
|
|
726
726
|
}, sa = "ui-absolute ui-z-10 ui-pointer-events-none", aa = (e, t, i, r, o, n, a, l, u, m, d, c, f) => {
|
|
727
727
|
const h = n ? "!ui-p-0 ui-flex ui-justify-center ui-items-center" : "";
|
|
728
|
-
return
|
|
728
|
+
return Qe(
|
|
729
729
|
`ui-imj ${f} ui-relative ui-justify-center ui-flex ui-items-center ui-box-border ui-border-solid ui-gap-x-4 ui-border-[1px] ui-border-default ui-cursor-default ${m && e !== "icon" ? "ui-shadow-button" : ""} ${!l && !!a && u ? "ui-overflow-visible" : "ui-overflow-hidden"} ${d ? "enabled:!ui-cursor-pointer" : ""} ${c ? "ui-transition-all ui-duration-300" : ""} ui-group`,
|
|
730
730
|
{
|
|
731
731
|
variants: {
|
|
@@ -742,13 +742,13 @@ const ia = (e) => {
|
|
|
742
742
|
lg: `ui-max-h-control-lg ui-min-h-control-lg ui-min-w-control-lg ui-font-body-sm-bold ui-leading-body-sm-bold ui-tracking-body-sm ${l ? "ui-px-24 ui-py-12" : "ui-p-12 ui-w-control-lg ui-flex ui-justify-center ui-items-center"} ui-h-control-lg ui-text-body-sm-bold ${n ? ` ui-max-w-control-lg ui-min-h-control-lg ${h}` : ""}`
|
|
743
743
|
},
|
|
744
744
|
color: {
|
|
745
|
-
primary:
|
|
746
|
-
secondary:
|
|
747
|
-
tertiary:
|
|
748
|
-
destructive:
|
|
749
|
-
link:
|
|
750
|
-
ghost:
|
|
751
|
-
soft:
|
|
745
|
+
primary: Rt(e, t, i, r, o).primary,
|
|
746
|
+
secondary: Rt(e, t, i, r, o).secondary,
|
|
747
|
+
tertiary: Rt(e, t, i, r, o).tertiary,
|
|
748
|
+
destructive: Rt(e, t, i, r, o).destructive,
|
|
749
|
+
link: Rt(e, t, i, r, o).link,
|
|
750
|
+
ghost: Rt(e, t, i, r, o).ghost,
|
|
751
|
+
soft: Rt(e, t, i, r, o).soft
|
|
752
752
|
},
|
|
753
753
|
pill: {
|
|
754
754
|
none: "",
|
|
@@ -853,7 +853,7 @@ const ia = (e) => {
|
|
|
853
853
|
return !1;
|
|
854
854
|
const r = i || "primary";
|
|
855
855
|
return t === "accent" ? r === "primary" : t === "gray" ? r === "secondary" || r === "tertiary" : !1;
|
|
856
|
-
}, da = (e, t) => e && !t ? "sm" : t || "sm", fa =
|
|
856
|
+
}, da = (e, t) => e && !t ? "sm" : t || "sm", fa = Qe("", {
|
|
857
857
|
variants: {
|
|
858
858
|
color: {
|
|
859
859
|
primary: "",
|
|
@@ -883,7 +883,7 @@ const ia = (e) => {
|
|
|
883
883
|
measureRef: n,
|
|
884
884
|
textRef: a,
|
|
885
885
|
measureSpanClassName: l
|
|
886
|
-
}) => /* @__PURE__ */ P(
|
|
886
|
+
}) => /* @__PURE__ */ P(Fe, { children: [
|
|
887
887
|
/* @__PURE__ */ s(
|
|
888
888
|
"span",
|
|
889
889
|
{
|
|
@@ -974,7 +974,7 @@ const ma = {
|
|
|
974
974
|
...n
|
|
975
975
|
};
|
|
976
976
|
a && (y["--fa-primary-color"] = Er[a]), l && (y["--fa-secondary-color"] = Er[l]), u !== void 0 && (y["--fa-primary-opacity"] = u.toString()), m !== void 0 && (y["--fa-secondary-opacity"] = m.toString());
|
|
977
|
-
const w =
|
|
977
|
+
const w = Qe(
|
|
978
978
|
"ui-transition-all ui-duration-200 ui-ease-in-out",
|
|
979
979
|
{
|
|
980
980
|
variants: {
|
|
@@ -1122,7 +1122,7 @@ const pa = (e) => {
|
|
|
1122
1122
|
opacityDuotonePrimary: c,
|
|
1123
1123
|
opacityDuotoneSecondary: f
|
|
1124
1124
|
}
|
|
1125
|
-
) : Te.isValidElement(e) ? /* @__PURE__ */ s(
|
|
1125
|
+
) : Te.isValidElement(e) ? /* @__PURE__ */ s(Fe, { children: e }) : null;
|
|
1126
1126
|
on.displayName = "ButtonIcon";
|
|
1127
1127
|
const sn = Fo, dr = "blue", fr = "solid", ki = "md", ya = {
|
|
1128
1128
|
blue: "ui-bg-fill-all-colors-blue ui-text-on-color",
|
|
@@ -1206,14 +1206,14 @@ const sn = Fo, dr = "blue", fr = "solid", ki = "md", ya = {
|
|
|
1206
1206
|
}, Sa = 3, ka = "ui-opacity-50 ui-cursor-not-allowed", Ca = "ui-grayscale", Mr = "ui-bg-fill-disabled", Da = "ui-mix-blend-luminosity", ln = (e, t, i, r = !1) => r ? i === "letter" ? Ir[e] : Yi[e] : t === "solid" ? ya[e] : i === "letter" ? Ir[e] : Yi[e], Ta = (e) => xa[e], Ea = (e, t, i, r, o = !1) => {
|
|
1207
1207
|
if (!e) return "";
|
|
1208
1208
|
if (t === "people")
|
|
1209
|
-
return $(li, $r);
|
|
1209
|
+
return $(li, $r, "ui-border-default");
|
|
1210
1210
|
if ((t === "icon" || t === "letter") && i) {
|
|
1211
1211
|
if (o)
|
|
1212
1212
|
return $(li, Pr[i]);
|
|
1213
1213
|
const n = r === "soft" ? Pr[i] : va[i];
|
|
1214
|
-
return $(li, n);
|
|
1214
|
+
return $(li, n, "ui-border-default");
|
|
1215
1215
|
}
|
|
1216
|
-
return $(li, $r);
|
|
1216
|
+
return $(li, $r, "ui-border-default");
|
|
1217
1217
|
}, un = (e, t) => e ? wa : t ? Na[t] ?? Lr : Lr, gi = (e, t, i, r, o, n, a, l, u) => $(
|
|
1218
1218
|
// Layout base
|
|
1219
1219
|
"ui-flex ui-items-center ui-justify-center",
|
|
@@ -1552,7 +1552,7 @@ const sn = Fo, dr = "blue", fr = "solid", ki = "md", ya = {
|
|
|
1552
1552
|
default:
|
|
1553
1553
|
return null;
|
|
1554
1554
|
}
|
|
1555
|
-
}, Ra = (e) => e ? e.startsWith("data:") || e.startsWith("blob:") ? !0 : Ci(e) : !1,
|
|
1555
|
+
}, Ra = (e) => e ? e.startsWith("data:") || e.startsWith("blob:") ? !0 : Ci(e) : !1, Mt = ({
|
|
1556
1556
|
slot: e,
|
|
1557
1557
|
className: t,
|
|
1558
1558
|
colorIcon: i,
|
|
@@ -1595,7 +1595,7 @@ const sn = Fo, dr = "blue", fr = "solid", ki = "md", ya = {
|
|
|
1595
1595
|
return null;
|
|
1596
1596
|
};
|
|
1597
1597
|
return c ? /* @__PURE__ */ s(
|
|
1598
|
-
|
|
1598
|
+
_t,
|
|
1599
1599
|
{
|
|
1600
1600
|
label: c,
|
|
1601
1601
|
position: f,
|
|
@@ -1624,7 +1624,7 @@ const sn = Fo, dr = "blue", fr = "solid", ki = "md", ya = {
|
|
|
1624
1624
|
return null;
|
|
1625
1625
|
const h = hi(i, r);
|
|
1626
1626
|
return /* @__PURE__ */ s(
|
|
1627
|
-
|
|
1627
|
+
Mt,
|
|
1628
1628
|
{
|
|
1629
1629
|
slot: e,
|
|
1630
1630
|
size: t === "xxs" ? "xs" : "sm",
|
|
@@ -1659,7 +1659,7 @@ const dn = ({
|
|
|
1659
1659
|
return null;
|
|
1660
1660
|
const h = hi(i, r);
|
|
1661
1661
|
return /* @__PURE__ */ s(
|
|
1662
|
-
|
|
1662
|
+
Mt,
|
|
1663
1663
|
{
|
|
1664
1664
|
slot: e,
|
|
1665
1665
|
size: t === "xxs" ? "xs" : "sm",
|
|
@@ -1695,7 +1695,7 @@ const ii = ({
|
|
|
1695
1695
|
const b = e !== null ? String(e) : "", v = b !== "", y = !!l && r !== "dot";
|
|
1696
1696
|
if (r !== "dot" && !v && !y && !h)
|
|
1697
1697
|
return null;
|
|
1698
|
-
const w = b.length, g = r === "dot", D = r === "sm", C = D && w === 1, S = D && w > 1, k =
|
|
1698
|
+
const w = b.length, g = r === "dot", D = r === "sm", C = D && w === 1, S = D && w > 1, k = Qe(
|
|
1699
1699
|
"ui-inline-flex ui-items-center ui-justify-center ui-font-semibold ui-leading-none ui-overflow-hidden ui-text-body-xs-regular ui-tracking-body-xs",
|
|
1700
1700
|
{
|
|
1701
1701
|
variants: {
|
|
@@ -1833,7 +1833,7 @@ const ii = ({
|
|
|
1833
1833
|
),
|
|
1834
1834
|
style: A,
|
|
1835
1835
|
...p,
|
|
1836
|
-
children: h ? ie() : /* @__PURE__ */ P(
|
|
1836
|
+
children: h ? ie() : /* @__PURE__ */ P(Fe, { children: [
|
|
1837
1837
|
!g && ee(),
|
|
1838
1838
|
!g && b
|
|
1839
1839
|
] })
|
|
@@ -2028,17 +2028,17 @@ const ri = (e, t) => {
|
|
|
2028
2028
|
ref: ge,
|
|
2029
2029
|
onClick: Pe,
|
|
2030
2030
|
pill: Ce = "sm",
|
|
2031
|
-
textAlign:
|
|
2031
|
+
textAlign: je = "center",
|
|
2032
2032
|
whiteBackground: De = !0,
|
|
2033
|
-
strokeWidth:
|
|
2034
|
-
transition:
|
|
2033
|
+
strokeWidth: Re = 2,
|
|
2034
|
+
transition: ze = !0,
|
|
2035
2035
|
classNameIcon: He = "",
|
|
2036
2036
|
active: Ee = !1,
|
|
2037
2037
|
// Nuevo sistema de configuraciones
|
|
2038
|
-
iconProps:
|
|
2039
|
-
badge:
|
|
2040
|
-
leftSlotProps:
|
|
2041
|
-
rightSlotProps:
|
|
2038
|
+
iconProps: ot,
|
|
2039
|
+
badge: Le,
|
|
2040
|
+
leftSlotProps: Ot,
|
|
2041
|
+
rightSlotProps: Dt,
|
|
2042
2042
|
tooltipProps: pt,
|
|
2043
2043
|
...dt
|
|
2044
2044
|
}) => {
|
|
@@ -2053,9 +2053,9 @@ const ri = (e, t) => {
|
|
|
2053
2053
|
iconDuotoneOpacitySecondary: _,
|
|
2054
2054
|
colorIcon: V,
|
|
2055
2055
|
classNameIcon: He,
|
|
2056
|
-
strokeWidth:
|
|
2056
|
+
strokeWidth: Re,
|
|
2057
2057
|
onClickIcon: I
|
|
2058
|
-
}),
|
|
2058
|
+
}), At = Fa({
|
|
2059
2059
|
badgeColor: a,
|
|
2060
2060
|
badgeLabel: l,
|
|
2061
2061
|
badgeTheme: u,
|
|
@@ -2067,7 +2067,7 @@ const ri = (e, t) => {
|
|
|
2067
2067
|
badgeIconDuotoneOpacityPrimary: p,
|
|
2068
2068
|
badgeIconDuotoneOpacitySecondary: b,
|
|
2069
2069
|
badgeLoading: v
|
|
2070
|
-
}), bt = r && typeof r == "object" && !Te.isValidElement(r) && "icon" in r && ("colorIcon" in r || "onClick" in r || "show" in r || "iconDuotonePrimary" in r), Jt = bt ? r : void 0,
|
|
2070
|
+
}), bt = r && typeof r == "object" && !Te.isValidElement(r) && "icon" in r && ("colorIcon" in r || "onClick" in r || "show" in r || "iconDuotonePrimary" in r), Jt = bt ? r : void 0, Tt = o && typeof o == "object" && !Te.isValidElement(o) && "icon" in o && ("colorIcon" in o || "onClick" in o || "show" in o || "iconDuotonePrimary" in o), ce = Tt ? o : void 0, ke = bt ? void 0 : Ba({
|
|
2071
2071
|
leftSlot: r,
|
|
2072
2072
|
leftSlotDuotonePrimary: H,
|
|
2073
2073
|
leftSlotDuotoneSecondary: ee,
|
|
@@ -2075,7 +2075,7 @@ const ri = (e, t) => {
|
|
|
2075
2075
|
leftSlotDuotoneOpacitySecondary: ie,
|
|
2076
2076
|
onClickLeftSlot: O,
|
|
2077
2077
|
colorIcon: V
|
|
2078
|
-
}), Ve =
|
|
2078
|
+
}), Ve = Tt ? void 0 : Va({
|
|
2079
2079
|
rightSlot: o,
|
|
2080
2080
|
rightSlotDuotonePrimary: A,
|
|
2081
2081
|
rightSlotDuotoneSecondary: F,
|
|
@@ -2083,14 +2083,14 @@ const ri = (e, t) => {
|
|
|
2083
2083
|
rightSlotDuotoneOpacitySecondary: ae,
|
|
2084
2084
|
onClickRightSlot: M,
|
|
2085
2085
|
colorIcon: V
|
|
2086
|
-
}), K = G && typeof G == "object" && ("label" in G || "position" in G || "alignment" in G || "delay" in G || "absolute" in G || "className" in G),
|
|
2086
|
+
}), K = G && typeof G == "object" && ("label" in G || "position" in G || "alignment" in G || "delay" in G || "absolute" in G || "className" in G), Me = K ? G : void 0, ct = K ? void 0 : mn({
|
|
2087
2087
|
tooltip: G,
|
|
2088
2088
|
tooltipPosition: X,
|
|
2089
2089
|
tooltipAlignment: oe,
|
|
2090
2090
|
tooltipDelay: q,
|
|
2091
2091
|
tooltipAbsolute: re,
|
|
2092
2092
|
classNameTooltip: ne
|
|
2093
|
-
}), me =
|
|
2093
|
+
}), me = ot || ft || Ct || (k && !ut && !Te.isValidElement(k) ? { icon: k, show: !0 } : void 0), pe = Le || At, Oe = Ot || Jt || ke, Ae = Dt || ce || Ve, We = pt || Me || ct, Ht = (me == null ? void 0 : me.icon) || (ut ? void 0 : Te.isValidElement(k) || typeof k == "string" || typeof k == "object" && k !== null && "icon" in k ? k : void 0), Yt = (pe == null ? void 0 : pe.color) || a, Xt = (pe == null ? void 0 : pe.label) || l, si = (pe == null ? void 0 : pe.theme) || u, Z = (pe == null ? void 0 : pe.size) || m, de = (pe == null ? void 0 : pe.stroke) ?? d, ve = (pe == null ? void 0 : pe.icon) || c, Ne = (pe == null ? void 0 : pe.loading) ?? v, $e = (Oe == null ? void 0 : Oe.icon) || (bt ? void 0 : r), st = (Ae == null ? void 0 : Ae.icon) || (Tt ? void 0 : o), Ze = (We == null ? void 0 : We.label) || (K ? void 0 : G), mt = (We == null ? void 0 : We.position) || X, zt = (We == null ? void 0 : We.alignment) || oe, jt = (We == null ? void 0 : We.delay) ?? q, Oi = (We == null ? void 0 : We.absolute) ?? re, Ai = (We == null ? void 0 : We.className) || ne, ko = n === "icon", Co = (D == null || D === !1) && !!Ht, Et = D != null && D !== !1, Do = ia(Ne), {
|
|
2094
2094
|
displayText: To,
|
|
2095
2095
|
textStyle: Eo,
|
|
2096
2096
|
measureRef: Io,
|
|
@@ -2104,7 +2104,7 @@ const ri = (e, t) => {
|
|
|
2104
2104
|
badgeFinishedLoading: Do,
|
|
2105
2105
|
size: E,
|
|
2106
2106
|
textColor: C,
|
|
2107
|
-
textAlign:
|
|
2107
|
+
textAlign: je
|
|
2108
2108
|
}), Zt = ua(
|
|
2109
2109
|
Yt,
|
|
2110
2110
|
Xt,
|
|
@@ -2128,50 +2128,50 @@ const ri = (e, t) => {
|
|
|
2128
2128
|
active: Ee,
|
|
2129
2129
|
square: T,
|
|
2130
2130
|
icon: !!Ht,
|
|
2131
|
-
children:
|
|
2131
|
+
children: Et,
|
|
2132
2132
|
shouldShowBadge: Zt,
|
|
2133
2133
|
showShadow: he,
|
|
2134
2134
|
pointer: le,
|
|
2135
|
-
transition:
|
|
2135
|
+
transition: ze,
|
|
2136
2136
|
classNameId: Q,
|
|
2137
2137
|
className: e,
|
|
2138
2138
|
isIconVariant: ko,
|
|
2139
2139
|
defaultSizeIcon: xe
|
|
2140
2140
|
}), Lo = (Cr) => {
|
|
2141
2141
|
ue && Cr.stopPropagation(), Pe && Pe(Cr);
|
|
2142
|
-
}, Fi = () => /* @__PURE__ */ P(
|
|
2143
|
-
(
|
|
2142
|
+
}, Fi = () => /* @__PURE__ */ P(Fe, { children: [
|
|
2143
|
+
(Oe == null ? void 0 : Oe.show) !== !1 && /* @__PURE__ */ s(
|
|
2144
2144
|
cn,
|
|
2145
2145
|
{
|
|
2146
2146
|
leftSlot: $e,
|
|
2147
2147
|
size: E,
|
|
2148
2148
|
color: w,
|
|
2149
|
-
colorIcon: (
|
|
2149
|
+
colorIcon: (Oe == null ? void 0 : Oe.colorIcon) || V,
|
|
2150
2150
|
className: e,
|
|
2151
2151
|
disabled: R,
|
|
2152
|
-
strokeWidth:
|
|
2153
|
-
onClickLeftSlot: (
|
|
2154
|
-
leftSlotDuotonePrimary: (
|
|
2155
|
-
leftSlotDuotoneSecondary: (
|
|
2156
|
-
leftSlotDuotoneOpacityPrimary: (
|
|
2157
|
-
leftSlotDuotoneOpacitySecondary: (
|
|
2158
|
-
hasChildren:
|
|
2152
|
+
strokeWidth: Re,
|
|
2153
|
+
onClickLeftSlot: (Oe == null ? void 0 : Oe.onClick) || O,
|
|
2154
|
+
leftSlotDuotonePrimary: (Oe == null ? void 0 : Oe.iconDuotonePrimary) || H,
|
|
2155
|
+
leftSlotDuotoneSecondary: (Oe == null ? void 0 : Oe.iconDuotoneSecondary) || ee,
|
|
2156
|
+
leftSlotDuotoneOpacityPrimary: (Oe == null ? void 0 : Oe.iconDuotoneOpacityPrimary) || se,
|
|
2157
|
+
leftSlotDuotoneOpacitySecondary: (Oe == null ? void 0 : Oe.iconDuotoneOpacitySecondary) || ie,
|
|
2158
|
+
hasChildren: Et
|
|
2159
2159
|
}
|
|
2160
2160
|
),
|
|
2161
|
-
|
|
2161
|
+
Et && /* @__PURE__ */ s(
|
|
2162
2162
|
nn,
|
|
2163
2163
|
{
|
|
2164
2164
|
displayText: To,
|
|
2165
2165
|
hasSlots: !!($e || st),
|
|
2166
2166
|
textStyle: Eo,
|
|
2167
2167
|
textColor: C,
|
|
2168
|
-
textAlign:
|
|
2168
|
+
textAlign: je,
|
|
2169
2169
|
measureRef: Io,
|
|
2170
2170
|
textRef: $o,
|
|
2171
2171
|
measureSpanClassName: Po
|
|
2172
2172
|
}
|
|
2173
2173
|
),
|
|
2174
|
-
(pe == null ? void 0 : pe.show) !== !1 && Zt &&
|
|
2174
|
+
(pe == null ? void 0 : pe.show) !== !1 && Zt && Et && /* @__PURE__ */ s(
|
|
2175
2175
|
Ui,
|
|
2176
2176
|
{
|
|
2177
2177
|
shouldShow: Zt,
|
|
@@ -2189,25 +2189,25 @@ const ri = (e, t) => {
|
|
|
2189
2189
|
isAbsolute: !1
|
|
2190
2190
|
}
|
|
2191
2191
|
),
|
|
2192
|
-
(
|
|
2192
|
+
(Ae == null ? void 0 : Ae.show) !== !1 && /* @__PURE__ */ s(
|
|
2193
2193
|
dn,
|
|
2194
2194
|
{
|
|
2195
2195
|
rightSlot: st,
|
|
2196
2196
|
size: E,
|
|
2197
2197
|
color: w,
|
|
2198
|
-
colorIcon: (
|
|
2198
|
+
colorIcon: (Ae == null ? void 0 : Ae.colorIcon) || V,
|
|
2199
2199
|
className: e,
|
|
2200
2200
|
disabled: R,
|
|
2201
|
-
strokeWidth:
|
|
2202
|
-
onClickRightSlot: (
|
|
2203
|
-
rightSlotDuotonePrimary: (
|
|
2204
|
-
rightSlotDuotoneSecondary: (
|
|
2205
|
-
rightSlotDuotoneOpacityPrimary: (
|
|
2206
|
-
rightSlotDuotoneOpacitySecondary: (
|
|
2207
|
-
hasChildren:
|
|
2201
|
+
strokeWidth: Re,
|
|
2202
|
+
onClickRightSlot: (Ae == null ? void 0 : Ae.onClick) || M,
|
|
2203
|
+
rightSlotDuotonePrimary: (Ae == null ? void 0 : Ae.iconDuotonePrimary) || A,
|
|
2204
|
+
rightSlotDuotoneSecondary: (Ae == null ? void 0 : Ae.iconDuotoneSecondary) || F,
|
|
2205
|
+
rightSlotDuotoneOpacityPrimary: (Ae == null ? void 0 : Ae.iconDuotoneOpacityPrimary) || U,
|
|
2206
|
+
rightSlotDuotoneOpacitySecondary: (Ae == null ? void 0 : Ae.iconDuotoneOpacitySecondary) || ae,
|
|
2207
|
+
hasChildren: Et
|
|
2208
2208
|
}
|
|
2209
2209
|
),
|
|
2210
|
-
(me == null ? void 0 : me.show) !== !1 && !
|
|
2210
|
+
(me == null ? void 0 : me.show) !== !1 && !Et && Ht && /* @__PURE__ */ s(
|
|
2211
2211
|
on,
|
|
2212
2212
|
{
|
|
2213
2213
|
icon: Ht,
|
|
@@ -2257,13 +2257,13 @@ const ri = (e, t) => {
|
|
|
2257
2257
|
]
|
|
2258
2258
|
}
|
|
2259
2259
|
) : Se === "div" ? /* @__PURE__ */ s(
|
|
2260
|
-
|
|
2260
|
+
_t,
|
|
2261
2261
|
{
|
|
2262
|
-
label:
|
|
2262
|
+
label: Ze || "",
|
|
2263
2263
|
position: mt,
|
|
2264
|
-
alignment:
|
|
2264
|
+
alignment: zt,
|
|
2265
2265
|
absolute: Oi,
|
|
2266
|
-
delay:
|
|
2266
|
+
delay: jt,
|
|
2267
2267
|
className: Ai,
|
|
2268
2268
|
fullWidth: i,
|
|
2269
2269
|
children: /* @__PURE__ */ P(
|
|
@@ -2274,7 +2274,7 @@ const ri = (e, t) => {
|
|
|
2274
2274
|
role: S && !R ? "button" : void 0,
|
|
2275
2275
|
tabIndex: S && !R ? 0 : void 0,
|
|
2276
2276
|
"aria-disabled": R,
|
|
2277
|
-
"aria-label": !
|
|
2277
|
+
"aria-label": !Et && k ? Ze || "Button" : void 0,
|
|
2278
2278
|
onMouseEnter: zi,
|
|
2279
2279
|
onMouseLeave: ji,
|
|
2280
2280
|
...dt,
|
|
@@ -2286,12 +2286,12 @@ const ri = (e, t) => {
|
|
|
2286
2286
|
)
|
|
2287
2287
|
}
|
|
2288
2288
|
) : /* @__PURE__ */ s(
|
|
2289
|
-
|
|
2289
|
+
_t,
|
|
2290
2290
|
{
|
|
2291
|
-
label:
|
|
2291
|
+
label: Ze || "",
|
|
2292
2292
|
position: mt,
|
|
2293
|
-
alignment:
|
|
2294
|
-
delay:
|
|
2293
|
+
alignment: zt,
|
|
2294
|
+
delay: jt,
|
|
2295
2295
|
className: Ai,
|
|
2296
2296
|
fullWidth: i,
|
|
2297
2297
|
children: /* @__PURE__ */ P(
|
|
@@ -2299,7 +2299,7 @@ const ri = (e, t) => {
|
|
|
2299
2299
|
{
|
|
2300
2300
|
ref: ge,
|
|
2301
2301
|
className: $(Ri, e),
|
|
2302
|
-
"aria-label": !
|
|
2302
|
+
"aria-label": !Et && k ? Ze || "Button" : void 0,
|
|
2303
2303
|
"aria-disabled": R,
|
|
2304
2304
|
...lt,
|
|
2305
2305
|
...dt,
|
|
@@ -3042,7 +3042,7 @@ const Ie = ({
|
|
|
3042
3042
|
O()
|
|
3043
3043
|
] }) : (
|
|
3044
3044
|
/* ===== MODO NORMAL: Header arriba, barra abajo ===== */
|
|
3045
|
-
/* @__PURE__ */ P(
|
|
3045
|
+
/* @__PURE__ */ P(Fe, { children: [
|
|
3046
3046
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-w-full ui-items-center ui-justify-between", children: [
|
|
3047
3047
|
r && i && /* @__PURE__ */ s(Gi, { label: i }),
|
|
3048
3048
|
/* @__PURE__ */ s("div", { className: "ui-min-h-px ui-flex-1" }),
|
|
@@ -3355,7 +3355,7 @@ const xn = ({
|
|
|
3355
3355
|
containerClasses: f,
|
|
3356
3356
|
labelClasses: h
|
|
3357
3357
|
};
|
|
3358
|
-
},
|
|
3358
|
+
}, it = Lt(
|
|
3359
3359
|
({
|
|
3360
3360
|
label: e = "",
|
|
3361
3361
|
error: t = "",
|
|
@@ -3470,7 +3470,7 @@ const xn = ({
|
|
|
3470
3470
|
S ? "" : p ? "ui-text-disabled" : t ? "ui-text-danger" : "ui-text-tertiary group-focus-within:ui-text-brand"
|
|
3471
3471
|
),
|
|
3472
3472
|
children: G ? /* @__PURE__ */ s(
|
|
3473
|
-
|
|
3473
|
+
Mt,
|
|
3474
3474
|
{
|
|
3475
3475
|
slot: n,
|
|
3476
3476
|
size: "xxs",
|
|
@@ -3571,7 +3571,7 @@ const xn = ({
|
|
|
3571
3571
|
);
|
|
3572
3572
|
}
|
|
3573
3573
|
);
|
|
3574
|
-
|
|
3574
|
+
it.displayName = "Input";
|
|
3575
3575
|
const wn = (e, t = {}) => {
|
|
3576
3576
|
const { enterDelay: i = 10, exitDelay: r = 300 } = t, [o, n] = B(!1), [a, l] = B(!1);
|
|
3577
3577
|
return Y(() => {
|
|
@@ -4043,7 +4043,7 @@ const wn = (e, t = {}) => {
|
|
|
4043
4043
|
v
|
|
4044
4044
|
]), le = te(() => {
|
|
4045
4045
|
if (o && o.length > 0)
|
|
4046
|
-
return o.filter((
|
|
4046
|
+
return o.filter((Re) => Re.show !== !1);
|
|
4047
4047
|
if (r && r.show !== !1)
|
|
4048
4048
|
return [{ ...r, id: r.id || "header-button" }];
|
|
4049
4049
|
const De = ul({
|
|
@@ -4066,7 +4066,7 @@ const wn = (e, t = {}) => {
|
|
|
4066
4066
|
j
|
|
4067
4067
|
]), ge = te(() => {
|
|
4068
4068
|
if (a && a.length > 0)
|
|
4069
|
-
return a.filter((
|
|
4069
|
+
return a.filter((Re) => Re.show !== !1);
|
|
4070
4070
|
if (n && n.show !== !1)
|
|
4071
4071
|
return [{ ...n, id: n.id || "badge" }];
|
|
4072
4072
|
const De = cl({
|
|
@@ -4104,7 +4104,7 @@ const wn = (e, t = {}) => {
|
|
|
4104
4104
|
A
|
|
4105
4105
|
]), Ce = te(() => {
|
|
4106
4106
|
if (d && d.length > 0)
|
|
4107
|
-
return d.filter((
|
|
4107
|
+
return d.filter((Re) => Re.show !== !1);
|
|
4108
4108
|
const De = al(u, m);
|
|
4109
4109
|
return De.length > 0 ? De : fl({
|
|
4110
4110
|
cancelButtonText: C,
|
|
@@ -4138,7 +4138,7 @@ const wn = (e, t = {}) => {
|
|
|
4138
4138
|
ae,
|
|
4139
4139
|
he,
|
|
4140
4140
|
fe
|
|
4141
|
-
]),
|
|
4141
|
+
]), je = {
|
|
4142
4142
|
// Nuevo sistema (modelo cerrado)
|
|
4143
4143
|
iconConfig: i,
|
|
4144
4144
|
headerButton: r,
|
|
@@ -4202,7 +4202,7 @@ const wn = (e, t = {}) => {
|
|
|
4202
4202
|
badgeLabel: X,
|
|
4203
4203
|
hideFooter: oe
|
|
4204
4204
|
};
|
|
4205
|
-
return /* @__PURE__ */ s(Tn.Provider, { value:
|
|
4205
|
+
return /* @__PURE__ */ s(Tn.Provider, { value: je, children: e });
|
|
4206
4206
|
}, Di = () => {
|
|
4207
4207
|
const e = Oo(Tn);
|
|
4208
4208
|
if (!e)
|
|
@@ -4217,7 +4217,7 @@ const wn = (e, t = {}) => {
|
|
|
4217
4217
|
fullWidth: n = !1
|
|
4218
4218
|
}) => {
|
|
4219
4219
|
var f;
|
|
4220
|
-
const a =
|
|
4220
|
+
const a = Qe("", {
|
|
4221
4221
|
variants: {
|
|
4222
4222
|
size: {
|
|
4223
4223
|
sm: "ui-p-6 ui-gap-2",
|
|
@@ -4955,15 +4955,15 @@ const Nl = ({
|
|
|
4955
4955
|
footerSecondaryButton: le,
|
|
4956
4956
|
footerButtons: ge
|
|
4957
4957
|
}) => {
|
|
4958
|
-
const { isVisible: Pe, animateIn: Ce, container:
|
|
4958
|
+
const { isVisible: Pe, animateIn: Ce, container: je, modalRef: De } = sl({
|
|
4959
4959
|
isOpen: e,
|
|
4960
4960
|
onClose: t,
|
|
4961
4961
|
disableEscapeClose: a,
|
|
4962
4962
|
disableOutsideTab: l,
|
|
4963
4963
|
disableOutsideClick: u
|
|
4964
4964
|
});
|
|
4965
|
-
if (!
|
|
4966
|
-
const
|
|
4965
|
+
if (!je || !e && !Pe) return null;
|
|
4966
|
+
const Re = xl(o), ze = vl(o), He = /* @__PURE__ */ P(
|
|
4967
4967
|
"div",
|
|
4968
4968
|
{
|
|
4969
4969
|
"aria-modal": "true",
|
|
@@ -5054,9 +5054,9 @@ const Nl = ({
|
|
|
5054
5054
|
footerSecondaryButton: le,
|
|
5055
5055
|
footerButtons: ge,
|
|
5056
5056
|
children: [
|
|
5057
|
-
!
|
|
5057
|
+
!Re && (n || p ? /* @__PURE__ */ s(Ti, { title: p }) : null),
|
|
5058
5058
|
o && o,
|
|
5059
|
-
!
|
|
5059
|
+
!ze && !Q && /* @__PURE__ */ s(hr, {})
|
|
5060
5060
|
]
|
|
5061
5061
|
}
|
|
5062
5062
|
)
|
|
@@ -5065,7 +5065,7 @@ const Nl = ({
|
|
|
5065
5065
|
]
|
|
5066
5066
|
}
|
|
5067
5067
|
);
|
|
5068
|
-
return mi.createPortal(He,
|
|
5068
|
+
return mi.createPortal(He, je);
|
|
5069
5069
|
}, zr = wl(Nl), Zd = ({
|
|
5070
5070
|
isOpen: e,
|
|
5071
5071
|
onClose: t,
|
|
@@ -5126,7 +5126,7 @@ const Nl = ({
|
|
|
5126
5126
|
r && /* @__PURE__ */ s("h2", { className: "ui-text-3xl ui-font-semibold ui-text-neutral-700", children: r }),
|
|
5127
5127
|
o && /* @__PURE__ */ s("h3", { className: "ui-text-center ui-text-neutral-500", children: o }),
|
|
5128
5128
|
n && /* @__PURE__ */ s(
|
|
5129
|
-
|
|
5129
|
+
it,
|
|
5130
5130
|
{
|
|
5131
5131
|
fullWidth: !0,
|
|
5132
5132
|
label: i,
|
|
@@ -5151,7 +5151,7 @@ const Nl = ({
|
|
|
5151
5151
|
infoIcon: m = void 0,
|
|
5152
5152
|
...d
|
|
5153
5153
|
}) => {
|
|
5154
|
-
const [c, f] = B(!1), h =
|
|
5154
|
+
const [c, f] = B(!1), h = Qe("", {
|
|
5155
5155
|
variants: {
|
|
5156
5156
|
color: {
|
|
5157
5157
|
accent: "ui-bg-surface-brand ui-text-brand ui-border-brand",
|
|
@@ -5198,7 +5198,7 @@ const Nl = ({
|
|
|
5198
5198
|
M && "ui-bg-surface-info-selected"
|
|
5199
5199
|
),
|
|
5200
5200
|
disabled: ""
|
|
5201
|
-
})[I] || "", b =
|
|
5201
|
+
})[I] || "", b = Qe("", {
|
|
5202
5202
|
variants: {
|
|
5203
5203
|
color: {
|
|
5204
5204
|
accent: p("accent", c, u),
|
|
@@ -5210,7 +5210,7 @@ const Nl = ({
|
|
|
5210
5210
|
disabled: ""
|
|
5211
5211
|
}
|
|
5212
5212
|
}
|
|
5213
|
-
}), v =
|
|
5213
|
+
}), v = Qe("", {
|
|
5214
5214
|
variants: {
|
|
5215
5215
|
color: {
|
|
5216
5216
|
accent: $(r && "ui-text-brand"),
|
|
@@ -5222,7 +5222,7 @@ const Nl = ({
|
|
|
5222
5222
|
disabled: ""
|
|
5223
5223
|
}
|
|
5224
5224
|
}
|
|
5225
|
-
}), y =
|
|
5225
|
+
}), y = Qe("ui-shrink-0 ui-flex ui-items-center", {
|
|
5226
5226
|
variants: {
|
|
5227
5227
|
color: {
|
|
5228
5228
|
accent: "",
|
|
@@ -5234,7 +5234,7 @@ const Nl = ({
|
|
|
5234
5234
|
disabled: ""
|
|
5235
5235
|
}
|
|
5236
5236
|
}
|
|
5237
|
-
}), w =
|
|
5237
|
+
}), w = Qe(
|
|
5238
5238
|
"ui-flex ui-items-center ui-justify-center ui-shrink-0 ui-rounded-control-xs ui-transition-colors ui-p-2",
|
|
5239
5239
|
{
|
|
5240
5240
|
variants: {
|
|
@@ -5249,7 +5249,7 @@ const Nl = ({
|
|
|
5249
5249
|
}
|
|
5250
5250
|
}
|
|
5251
5251
|
}
|
|
5252
|
-
), g =
|
|
5252
|
+
), g = Qe("", {
|
|
5253
5253
|
variants: {
|
|
5254
5254
|
color: {
|
|
5255
5255
|
accent: p("accent", c, u),
|
|
@@ -5500,7 +5500,7 @@ const Nl = ({
|
|
|
5500
5500
|
] });
|
|
5501
5501
|
};
|
|
5502
5502
|
Dl.displayName = "Badges";
|
|
5503
|
-
const
|
|
5503
|
+
const qt = ({
|
|
5504
5504
|
checked: e,
|
|
5505
5505
|
indeterminate: t = !1,
|
|
5506
5506
|
onChange: i,
|
|
@@ -5652,7 +5652,7 @@ const _t = ({
|
|
|
5652
5652
|
});
|
|
5653
5653
|
});
|
|
5654
5654
|
return /* @__PURE__ */ s("div", { className: $("ui-imj ui-flex ui-items-center ui-gap-0", t), children: a });
|
|
5655
|
-
},
|
|
5655
|
+
}, Xe = ({ className: e, vertical: t = !1, padding: i = !0 }) => /* @__PURE__ */ s(
|
|
5656
5656
|
"div",
|
|
5657
5657
|
{
|
|
5658
5658
|
className: $(
|
|
@@ -5712,7 +5712,7 @@ xt.Body = ({ children: e, className: t, fullHeight: i = !1, scrollable: r = !0 }
|
|
|
5712
5712
|
}
|
|
5713
5713
|
);
|
|
5714
5714
|
xt.Footer = ({ children: e, className: t }) => /* @__PURE__ */ s("div", { className: t, children: e });
|
|
5715
|
-
xt.Separator = ({ className: e, vertical: t = !1, padding: i = !0 }) => /* @__PURE__ */ s(
|
|
5715
|
+
xt.Separator = ({ className: e, vertical: t = !1, padding: i = !0 }) => /* @__PURE__ */ s(Xe, { vertical: t, padding: i, className: e });
|
|
5716
5716
|
const Qi = /* @__PURE__ */ new Set(), Tl = (e) => {
|
|
5717
5717
|
Qi.forEach((t) => {
|
|
5718
5718
|
if (t !== e) {
|
|
@@ -5844,7 +5844,7 @@ const Qi = /* @__PURE__ */ new Set(), Tl = (e) => {
|
|
|
5844
5844
|
togglePopup: C,
|
|
5845
5845
|
closePopup: S
|
|
5846
5846
|
};
|
|
5847
|
-
}, Qt =
|
|
5847
|
+
}, Qt = Lt(
|
|
5848
5848
|
({
|
|
5849
5849
|
children: e,
|
|
5850
5850
|
label: t,
|
|
@@ -6107,7 +6107,7 @@ const El = ({
|
|
|
6107
6107
|
className: "ui-relative ui-z-10 ui-h-full ui-w-11 ui-min-w-11 ui-bg-fill",
|
|
6108
6108
|
style: { zIndex: 10 },
|
|
6109
6109
|
children: /* @__PURE__ */ P("div", { className: "no-scrollbar ui-mb-auto ui-flex ui-h-[calc(100%)] ui-flex-col ui-items-center ui-justify-between ui-gap-8 ui-overflow-y-auto ui-py-8", children: [
|
|
6110
|
-
o && /* @__PURE__ */ s(
|
|
6110
|
+
o && /* @__PURE__ */ s(Fe, { children: a ? /* @__PURE__ */ s(
|
|
6111
6111
|
Qt,
|
|
6112
6112
|
{
|
|
6113
6113
|
position: "left",
|
|
@@ -6122,7 +6122,7 @@ const El = ({
|
|
|
6122
6122
|
children: a
|
|
6123
6123
|
}
|
|
6124
6124
|
) : /* @__PURE__ */ s(
|
|
6125
|
-
|
|
6125
|
+
_t,
|
|
6126
6126
|
{
|
|
6127
6127
|
label: "Más opciones",
|
|
6128
6128
|
position: d,
|
|
@@ -6145,7 +6145,7 @@ const El = ({
|
|
|
6145
6145
|
{
|
|
6146
6146
|
const D = c === g.id, C = g.icon, S = g.tooltipPosition || d;
|
|
6147
6147
|
return /* @__PURE__ */ s(
|
|
6148
|
-
|
|
6148
|
+
_t,
|
|
6149
6149
|
{
|
|
6150
6150
|
label: g.tooltip || "",
|
|
6151
6151
|
position: S,
|
|
@@ -6387,13 +6387,13 @@ const $l = (e) => {
|
|
|
6387
6387
|
setPendingRange: M
|
|
6388
6388
|
}
|
|
6389
6389
|
};
|
|
6390
|
-
},
|
|
6391
|
-
const n = L((c, f) => !f.start || !f.end || !
|
|
6392
|
-
(c) => !!(!
|
|
6390
|
+
}, It = (e) => e != null && e instanceof Date && !isNaN(e.getTime()), Pn = (e, t, i, r, o) => {
|
|
6391
|
+
const n = L((c, f) => !f.start || !f.end || !It(f.start) || !It(f.end) ? !1 : c >= f.start && c <= f.end, []), a = L((c, f) => !f.start || !It(f.start) ? !1 : c.getTime() === f.start.getTime(), []), l = L((c, f) => !f.end || !It(f.end) ? !1 : c.getTime() === f.end.getTime(), []), u = L(
|
|
6392
|
+
(c) => !!(!It(c) || i && It(i) && c < i || r && It(r) && c > r),
|
|
6393
6393
|
[i, r]
|
|
6394
6394
|
), m = L(
|
|
6395
6395
|
(c, f) => {
|
|
6396
|
-
if (!
|
|
6396
|
+
if (!It(c)) {
|
|
6397
6397
|
process.env.NODE_ENV !== "production" && console.warn("useDateRange: Se recibió una fecha inválida:", c);
|
|
6398
6398
|
return;
|
|
6399
6399
|
}
|
|
@@ -6687,7 +6687,7 @@ const $l = (e) => {
|
|
|
6687
6687
|
direction: e,
|
|
6688
6688
|
onClick: t,
|
|
6689
6689
|
disabled: i = !1
|
|
6690
|
-
}) => /* @__PURE__ */ s(
|
|
6690
|
+
}) => /* @__PURE__ */ s(Fe, { children: /* @__PURE__ */ s(
|
|
6691
6691
|
be,
|
|
6692
6692
|
{
|
|
6693
6693
|
theme: "solid",
|
|
@@ -6897,7 +6897,7 @@ const $l = (e) => {
|
|
|
6897
6897
|
},
|
|
6898
6898
|
l
|
|
6899
6899
|
)) });
|
|
6900
|
-
}, zl =
|
|
6900
|
+
}, zl = Lt(
|
|
6901
6901
|
({
|
|
6902
6902
|
value: e,
|
|
6903
6903
|
placeholder: t = "Seleccionar fecha",
|
|
@@ -6923,7 +6923,7 @@ const $l = (e) => {
|
|
|
6923
6923
|
!u && a && a();
|
|
6924
6924
|
};
|
|
6925
6925
|
return /* @__PURE__ */ s(
|
|
6926
|
-
|
|
6926
|
+
it,
|
|
6927
6927
|
{
|
|
6928
6928
|
id: `date-picker-input-${p}`,
|
|
6929
6929
|
label: c,
|
|
@@ -7774,10 +7774,10 @@ const Wl = (e) => {
|
|
|
7774
7774
|
children: z
|
|
7775
7775
|
}
|
|
7776
7776
|
),
|
|
7777
|
-
j ? /* @__PURE__ */ P(
|
|
7777
|
+
j ? /* @__PURE__ */ P(Fe, { children: [
|
|
7778
7778
|
/* @__PURE__ */ s(xt.Separator, { padding: !1 }),
|
|
7779
7779
|
j
|
|
7780
|
-
] }) : (D || C) && /* @__PURE__ */ P(
|
|
7780
|
+
] }) : (D || C) && /* @__PURE__ */ P(Fe, { children: [
|
|
7781
7781
|
/* @__PURE__ */ s(xt.Separator, { padding: !1 }),
|
|
7782
7782
|
/* @__PURE__ */ P(xt.Footer, { className: "ui-flex ui-items-center ui-justify-end ui-gap-x-16 ui-p-16", children: [
|
|
7783
7783
|
D && /* @__PURE__ */ s(
|
|
@@ -7830,7 +7830,7 @@ const zn = ({
|
|
|
7830
7830
|
}) => {
|
|
7831
7831
|
const m = (f) => {
|
|
7832
7832
|
r || i == null || i(f);
|
|
7833
|
-
}, d =
|
|
7833
|
+
}, d = Qe(
|
|
7834
7834
|
"ui-group ui-flex ui-items-start ui-gap-x-8 ui-transition-all duration-300 ui-px-8 ui-py-6 ui-rounded-control-sm ui-flex ui-items-center",
|
|
7835
7835
|
{
|
|
7836
7836
|
variants: {
|
|
@@ -7895,7 +7895,7 @@ const zn = ({
|
|
|
7895
7895
|
"data-option-value": l,
|
|
7896
7896
|
children: [
|
|
7897
7897
|
t && /* @__PURE__ */ s("div", { className: "ui-flex-shrink-0", children: /* @__PURE__ */ s(
|
|
7898
|
-
|
|
7898
|
+
Mt,
|
|
7899
7899
|
{
|
|
7900
7900
|
slot: t,
|
|
7901
7901
|
colorIcon: u || (o ? "white" : "current"),
|
|
@@ -7922,7 +7922,7 @@ const zn = ({
|
|
|
7922
7922
|
hasCurrent: d = !0,
|
|
7923
7923
|
groupTitle: c
|
|
7924
7924
|
}) => {
|
|
7925
|
-
const f =
|
|
7925
|
+
const f = Qe(
|
|
7926
7926
|
"ui-group ui-flex ui-items-start ui-gap-x-8 ui-text-body-sm-regular ui-transition-all duration-300 ui-font-body-sm-semibold ui-leading-body-sm-semibold ui-tracking-body-sm ui-px-8 ui-py-6 ui-rounded-control-sm ui-flex ui-items-center",
|
|
7927
7927
|
{
|
|
7928
7928
|
variants: {
|
|
@@ -7972,7 +7972,7 @@ const zn = ({
|
|
|
7972
7972
|
"data-option-value": a,
|
|
7973
7973
|
children: [
|
|
7974
7974
|
/* @__PURE__ */ s("div", { onClick: h, className: "ui-flex ui-flex-shrink-0 ui-cursor-pointer", children: /* @__PURE__ */ s(
|
|
7975
|
-
|
|
7975
|
+
qt,
|
|
7976
7976
|
{
|
|
7977
7977
|
checked: u.checked,
|
|
7978
7978
|
onChange: (p) => u.onChange(p),
|
|
@@ -8081,7 +8081,7 @@ const zn = ({
|
|
|
8081
8081
|
), v = i || (u && m === "blue" ? "white" : "secondary");
|
|
8082
8082
|
return /* @__PURE__ */ P("li", { className: $(h, p, c), onClick: f, children: [
|
|
8083
8083
|
t && /* @__PURE__ */ s("span", { className: b, children: /* @__PURE__ */ s(
|
|
8084
|
-
|
|
8084
|
+
Mt,
|
|
8085
8085
|
{
|
|
8086
8086
|
slot: t,
|
|
8087
8087
|
colorIcon: v,
|
|
@@ -8238,7 +8238,7 @@ const zn = ({
|
|
|
8238
8238
|
placeholder: i = "Buscar...",
|
|
8239
8239
|
className: r
|
|
8240
8240
|
}) => /* @__PURE__ */ P("div", { className: $("ui-relative", r), children: [
|
|
8241
|
-
/* @__PURE__ */ s("div", { className: "ui-absolute ui-left-8 ui-top-1/2 ui--translate-y-1/2 ui-text-tertiary", children: /* @__PURE__ */ s(we, { name:
|
|
8241
|
+
/* @__PURE__ */ s("div", { className: "ui-absolute ui-left-8 ui-top-1/2 ui--translate-y-1/2 ui-text-tertiary", children: /* @__PURE__ */ s(we, { name: Vt, className: "ui-text-16" }) }),
|
|
8242
8242
|
/* @__PURE__ */ s(
|
|
8243
8243
|
"input",
|
|
8244
8244
|
{
|
|
@@ -8294,7 +8294,7 @@ const zn = ({
|
|
|
8294
8294
|
/* @__PURE__ */ s("div", { className: "ui-flex ui-h-16 ui-w-16 ui-shrink-0 ui-items-center ui-justify-center ui-rounded-control-pill ui-bg-surface-secondary ui-text-body-xs-regular", children: c.avatar || c.name.substring(0, 1).toUpperCase() }),
|
|
8295
8295
|
/* @__PURE__ */ s("span", { className: "ui-flex-1 ui-text-body-sm-regular ui-font-body-sm-medium ui-text-primary", children: c.name }),
|
|
8296
8296
|
/* @__PURE__ */ s(
|
|
8297
|
-
|
|
8297
|
+
qt,
|
|
8298
8298
|
{
|
|
8299
8299
|
checked: c.selected || !1,
|
|
8300
8300
|
onChange: () => t == null ? void 0 : t(c.id),
|
|
@@ -8337,7 +8337,7 @@ const zn = ({
|
|
|
8337
8337
|
setChecked: d,
|
|
8338
8338
|
isControlled: n
|
|
8339
8339
|
};
|
|
8340
|
-
}, br =
|
|
8340
|
+
}, br = Lt(
|
|
8341
8341
|
({
|
|
8342
8342
|
disabled: e = !1,
|
|
8343
8343
|
label: t,
|
|
@@ -8757,7 +8757,7 @@ const lf = {
|
|
|
8757
8757
|
),
|
|
8758
8758
|
children: [
|
|
8759
8759
|
/* @__PURE__ */ s("div", { onClick: a, className: "ui-flex ui-cursor-pointer ui-items-center", children: /* @__PURE__ */ s(
|
|
8760
|
-
|
|
8760
|
+
qt,
|
|
8761
8761
|
{
|
|
8762
8762
|
checked: i,
|
|
8763
8763
|
onChange: (l) => o == null ? void 0 : o(l),
|
|
@@ -8830,7 +8830,7 @@ const lf = {
|
|
|
8830
8830
|
children: [
|
|
8831
8831
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-items-center ui-gap-8", children: [
|
|
8832
8832
|
u.icon && /* @__PURE__ */ s("span", { className: "ui-flex ui-items-center ui-justify-center ui-text-tertiary", children: /* @__PURE__ */ s(
|
|
8833
|
-
|
|
8833
|
+
Mt,
|
|
8834
8834
|
{
|
|
8835
8835
|
slot: u.icon,
|
|
8836
8836
|
colorIcon: "tertiary",
|
|
@@ -8993,7 +8993,7 @@ const lf = {
|
|
|
8993
8993
|
),
|
|
8994
8994
|
children: [
|
|
8995
8995
|
/* @__PURE__ */ s(
|
|
8996
|
-
|
|
8996
|
+
qt,
|
|
8997
8997
|
{
|
|
8998
8998
|
checked: d.checked || !1,
|
|
8999
8999
|
onChange: () => i == null ? void 0 : i(d.id),
|
|
@@ -9031,7 +9031,7 @@ const lf = {
|
|
|
9031
9031
|
title: e = "Aun no hay nada aquí",
|
|
9032
9032
|
description: t = `No hay elementos aun en esta lista.
|
|
9033
9033
|
Vuelve más tarde para ver las actualizaciones.`,
|
|
9034
|
-
icon: i =
|
|
9034
|
+
icon: i = Vt,
|
|
9035
9035
|
className: r
|
|
9036
9036
|
}) => /* @__PURE__ */ P(
|
|
9037
9037
|
"div",
|
|
@@ -9155,7 +9155,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9155
9155
|
/* @__PURE__ */ s("div", { className: "ui-flex ui-h-16 ui-w-16 ui-shrink-0 ui-items-center ui-justify-center ui-rounded-control-pill ui-bg-surface-secondary ui-text-body-xs-regular", children: S.avatar || S.name.substring(0, 1).toUpperCase() }),
|
|
9156
9156
|
/* @__PURE__ */ s("span", { className: "ui-flex-1 ui-text-body-sm-regular ui-font-body-sm-medium ui-text-primary", children: S.name }),
|
|
9157
9157
|
/* @__PURE__ */ s(
|
|
9158
|
-
|
|
9158
|
+
qt,
|
|
9159
9159
|
{
|
|
9160
9160
|
checked: S.selected || !1,
|
|
9161
9161
|
onChange: () => w == null ? void 0 : w(S.id),
|
|
@@ -9391,7 +9391,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9391
9391
|
),
|
|
9392
9392
|
children: [
|
|
9393
9393
|
/* @__PURE__ */ s(
|
|
9394
|
-
|
|
9394
|
+
qt,
|
|
9395
9395
|
{
|
|
9396
9396
|
checked: N.checked || !1,
|
|
9397
9397
|
onChange: () => g == null ? void 0 : g(N.id),
|
|
@@ -9526,7 +9526,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9526
9526
|
}, []), U = L(() => {
|
|
9527
9527
|
const Q = F();
|
|
9528
9528
|
Q && requestAnimationFrame(() => {
|
|
9529
|
-
var
|
|
9529
|
+
var ze;
|
|
9530
9530
|
const G = Q.getBoundingClientRect(), X = window.innerHeight;
|
|
9531
9531
|
let oe = 0;
|
|
9532
9532
|
M.current && (oe = M.current.offsetHeight), oe === 0 && (oe = Math.min(200, A.length * 40));
|
|
@@ -9537,19 +9537,19 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9537
9537
|
if (!h)
|
|
9538
9538
|
ne === "bottom" ? ue = G.bottom + 4 : ue = G.top - oe - 4, le = G.left;
|
|
9539
9539
|
else {
|
|
9540
|
-
const He = (
|
|
9540
|
+
const He = (ze = R.current) == null ? void 0 : ze.getBoundingClientRect();
|
|
9541
9541
|
if (!He) return;
|
|
9542
|
-
const Ee = G.top - He.top,
|
|
9543
|
-
ne === "bottom" ? ue = Ee + G.height + 4 : ue = Ee - oe - 4, le =
|
|
9542
|
+
const Ee = G.top - He.top, ot = G.left - He.left;
|
|
9543
|
+
ne === "bottom" ? ue = Ee + G.height + 4 : ue = Ee - oe - 4, le = ot;
|
|
9544
9544
|
}
|
|
9545
|
-
const Pe = p !== void 0 ? p : h ? 9999 : 1100, Ce = p !== void 0 ? 0 : parseInt(w.replace(/\D/g, "")) || 0,
|
|
9545
|
+
const Pe = p !== void 0 ? p : h ? 9999 : 1100, Ce = p !== void 0 ? 0 : parseInt(w.replace(/\D/g, "")) || 0, je = Pe + Ce % 100, Re = {
|
|
9546
9546
|
position: h ? "absolute" : "fixed",
|
|
9547
9547
|
top: `${ue}px`,
|
|
9548
9548
|
left: `${le}px`,
|
|
9549
9549
|
width: `${ge}px`,
|
|
9550
|
-
zIndex:
|
|
9550
|
+
zIndex: je
|
|
9551
9551
|
};
|
|
9552
|
-
I(
|
|
9552
|
+
I(Re);
|
|
9553
9553
|
});
|
|
9554
9554
|
}, [F, A.length, w, h, p]), ae = L(() => {
|
|
9555
9555
|
if (!M.current || !ie.length)
|
|
@@ -9762,7 +9762,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9762
9762
|
d && /* @__PURE__ */ s("p", { className: "ui-mt-1 ui-text-body-xs-regular ui-text-danger", children: d }),
|
|
9763
9763
|
c && /* @__PURE__ */ s("p", { className: "ui-mt-1 ui-text-body-xs-regular ui-text-tertiary", children: c })
|
|
9764
9764
|
] });
|
|
9765
|
-
}, ht =
|
|
9765
|
+
}, ht = Lt(
|
|
9766
9766
|
({
|
|
9767
9767
|
name: e,
|
|
9768
9768
|
label: t = "",
|
|
@@ -9825,18 +9825,18 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9825
9825
|
selectedOptions: ge,
|
|
9826
9826
|
filteredOptions: Pe,
|
|
9827
9827
|
dropdownStyle: Ce,
|
|
9828
|
-
isControlled:
|
|
9828
|
+
isControlled: je,
|
|
9829
9829
|
// Referencias
|
|
9830
9830
|
inputRef: De,
|
|
9831
|
-
dropdownRef:
|
|
9832
|
-
containerRef:
|
|
9831
|
+
dropdownRef: Re,
|
|
9832
|
+
containerRef: ze,
|
|
9833
9833
|
dropdownUniqueId: He,
|
|
9834
9834
|
// Funciones
|
|
9835
9835
|
toggleDropdown: Ee,
|
|
9836
|
-
closeDropdown:
|
|
9837
|
-
handleOptionSelect:
|
|
9838
|
-
handleSearchChange:
|
|
9839
|
-
handleClear:
|
|
9836
|
+
closeDropdown: ot,
|
|
9837
|
+
handleOptionSelect: Le,
|
|
9838
|
+
handleSearchChange: Ot,
|
|
9839
|
+
handleClear: Dt,
|
|
9840
9840
|
calculatePosition: pt,
|
|
9841
9841
|
scrollToSelectedOption: dt,
|
|
9842
9842
|
setValue: lt,
|
|
@@ -9868,12 +9868,12 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9868
9868
|
const Ve = ut(le), K = ce[g];
|
|
9869
9869
|
if (ke) {
|
|
9870
9870
|
if (!Ve.includes(K)) {
|
|
9871
|
-
const
|
|
9872
|
-
lt(
|
|
9871
|
+
const Me = [...Ve, K];
|
|
9872
|
+
lt(Me);
|
|
9873
9873
|
}
|
|
9874
9874
|
} else {
|
|
9875
|
-
const
|
|
9876
|
-
lt(
|
|
9875
|
+
const Me = Ve.filter((ct) => ct !== K);
|
|
9876
|
+
lt(Me);
|
|
9877
9877
|
}
|
|
9878
9878
|
}
|
|
9879
9879
|
}, Ct = L((ce, ke) => {
|
|
@@ -9882,22 +9882,22 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9882
9882
|
return !isNaN(Ve) && !isNaN(K) && Ve === K;
|
|
9883
9883
|
}, []);
|
|
9884
9884
|
Y(() => {
|
|
9885
|
-
if (
|
|
9885
|
+
if (je && h !== void 0)
|
|
9886
9886
|
if (h === "" || h === -1 || h === "-1")
|
|
9887
9887
|
ye((ce) => ce !== l ? l : ce), Se((ce) => ce !== null ? null : ce);
|
|
9888
9888
|
else {
|
|
9889
9889
|
const ce = Array.isArray(h) ? h[0] : h, ke = oe.find((Ve) => ce == null ? !1 : Ct(Ve[w], ce) || Ct(Ve[g], ce));
|
|
9890
9890
|
if (ke) {
|
|
9891
9891
|
const Ve = ke.icon || l, K = ke.iconColor || null;
|
|
9892
|
-
ye((
|
|
9892
|
+
ye((Me) => Me !== Ve ? Ve : Me), Se((Me) => Me !== K ? K : Me), ee === "user" && ye(ke.avatarUrl ? ke.avatarUrl : l);
|
|
9893
9893
|
}
|
|
9894
9894
|
}
|
|
9895
|
-
}, [h,
|
|
9895
|
+
}, [h, je, oe, w, g, l, Ct, ee]), Kt(
|
|
9896
9896
|
ae,
|
|
9897
9897
|
() => ({
|
|
9898
9898
|
getValue: () => le,
|
|
9899
9899
|
setValue: (ce) => {
|
|
9900
|
-
|
|
9900
|
+
je || lt(ce), D == null || D(ce);
|
|
9901
9901
|
},
|
|
9902
9902
|
focus: () => {
|
|
9903
9903
|
var ce, ke;
|
|
@@ -9908,7 +9908,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9908
9908
|
x && O === "tags" ? (ce = he.current) == null || ce.blur() : (ke = De.current) == null || ke.blur();
|
|
9909
9909
|
},
|
|
9910
9910
|
clear: () => {
|
|
9911
|
-
|
|
9911
|
+
je || lt(x ? [] : ""), D == null || D(x ? [] : "");
|
|
9912
9912
|
},
|
|
9913
9913
|
open: () => {
|
|
9914
9914
|
b || (pt(), setTimeout(() => {
|
|
@@ -9916,16 +9916,16 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9916
9916
|
}, 50));
|
|
9917
9917
|
},
|
|
9918
9918
|
close: () => {
|
|
9919
|
-
|
|
9919
|
+
ot();
|
|
9920
9920
|
}
|
|
9921
9921
|
}),
|
|
9922
9922
|
[
|
|
9923
9923
|
le,
|
|
9924
|
-
|
|
9924
|
+
je,
|
|
9925
9925
|
b,
|
|
9926
9926
|
pt,
|
|
9927
9927
|
D,
|
|
9928
|
-
|
|
9928
|
+
ot,
|
|
9929
9929
|
x,
|
|
9930
9930
|
lt,
|
|
9931
9931
|
Ee,
|
|
@@ -9960,11 +9960,11 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9960
9960
|
return () => clearTimeout(ce);
|
|
9961
9961
|
}
|
|
9962
9962
|
}, [ge, re, x, O, pt]);
|
|
9963
|
-
const
|
|
9963
|
+
const At = (ce) => {
|
|
9964
9964
|
if (x) {
|
|
9965
9965
|
const Ve = ut(le).filter((K) => K !== ce);
|
|
9966
9966
|
if (lt(Ve), j && ft) {
|
|
9967
|
-
const K = y.find((
|
|
9967
|
+
const K = y.find((Me) => Me[g] === ce);
|
|
9968
9968
|
K && ft(K, !1);
|
|
9969
9969
|
}
|
|
9970
9970
|
}
|
|
@@ -9986,12 +9986,12 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
9986
9986
|
}
|
|
9987
9987
|
}, Jt = () => {
|
|
9988
9988
|
if (!re || !Ce.top) return null;
|
|
9989
|
-
const ce = ne ? "animate-dropdown-exit" : "animate-dropdown-enter", ke = (K,
|
|
9990
|
-
|
|
9989
|
+
const ce = ne ? "animate-dropdown-exit" : "animate-dropdown-enter", ke = (K, Me) => {
|
|
9990
|
+
Le(K, Me), K.icon && ye(K.icon), K.iconColor && Se(K.iconColor), ee === "user" && ye(K.avatarUrl ? K.avatarUrl : l);
|
|
9991
9991
|
}, Ve = /* @__PURE__ */ P(
|
|
9992
9992
|
"div",
|
|
9993
9993
|
{
|
|
9994
|
-
ref:
|
|
9994
|
+
ref: Re,
|
|
9995
9995
|
id: He,
|
|
9996
9996
|
"data-dropdown-id": He,
|
|
9997
9997
|
"data-dropdown-portal": "true",
|
|
@@ -10007,25 +10007,25 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10007
10007
|
onClick: (K) => K.stopPropagation(),
|
|
10008
10008
|
children: [
|
|
10009
10009
|
/* @__PURE__ */ s("div", { className: "ui-w-full", children: k && /* @__PURE__ */ s("div", { className: "ui-p-2", onClick: (K) => K.stopPropagation(), children: /* @__PURE__ */ s(
|
|
10010
|
-
|
|
10010
|
+
it,
|
|
10011
10011
|
{
|
|
10012
10012
|
value: ue,
|
|
10013
|
-
onChange:
|
|
10013
|
+
onChange: Ot,
|
|
10014
10014
|
placeholder: m,
|
|
10015
|
-
leftSlot:
|
|
10015
|
+
leftSlot: Vt,
|
|
10016
10016
|
autoFocus: !0,
|
|
10017
10017
|
fullWidth: !0,
|
|
10018
10018
|
size: "sm"
|
|
10019
10019
|
}
|
|
10020
10020
|
) }) }),
|
|
10021
|
-
k && /* @__PURE__ */ s(
|
|
10021
|
+
k && /* @__PURE__ */ s(Xe, {}),
|
|
10022
10022
|
/* @__PURE__ */ P("div", { className: "custom-scrollbar ui-max-h-[200px] ui-w-full ui-overflow-y-auto ui-flex ui-flex-col ui-gap-8 ui-p-8 ui-will-change-transform", children: [
|
|
10023
|
-
ee === "filters" && ie && /* @__PURE__ */ P(
|
|
10023
|
+
ee === "filters" && ie && /* @__PURE__ */ P(Fe, { children: [
|
|
10024
10024
|
/* @__PURE__ */ s("div", { className: "ui-text-body-sm-regular ui-font-body-sm-bold ui-text-primary ui-leading-body-sm-bold ui-tracking-body-sm", children: ie }),
|
|
10025
10025
|
/* @__PURE__ */ s("div", { className: "ui-w-full ui-border-t-1 ui-border-default" })
|
|
10026
10026
|
] }),
|
|
10027
10027
|
Pe.length > 0 ? Pe.map((K) => {
|
|
10028
|
-
const
|
|
10028
|
+
const Me = x ? ge.some(
|
|
10029
10029
|
(me) => me && Ct(me[g], K[g])
|
|
10030
10030
|
) : K[g] === -1 && (le === -1 || le === "-1") || (Array.isArray(le) ? !1 : Ct(K[g], le));
|
|
10031
10031
|
if (j)
|
|
@@ -10033,12 +10033,12 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10033
10033
|
jn,
|
|
10034
10034
|
{
|
|
10035
10035
|
disabled: K.disabled,
|
|
10036
|
-
current:
|
|
10036
|
+
current: Me ? "blue" : !1,
|
|
10037
10037
|
"data-option-value": String(K[g]),
|
|
10038
10038
|
icon: K.icon,
|
|
10039
10039
|
iconColor: K.iconColor,
|
|
10040
10040
|
checkboxProps: {
|
|
10041
|
-
checked:
|
|
10041
|
+
checked: Me,
|
|
10042
10042
|
onChange: (me) => ft == null ? void 0 : ft(K, me),
|
|
10043
10043
|
disabled: K.disabled
|
|
10044
10044
|
},
|
|
@@ -10057,7 +10057,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10057
10057
|
{
|
|
10058
10058
|
onClick: (me) => ke(K, me),
|
|
10059
10059
|
disabled: K.disabled,
|
|
10060
|
-
current:
|
|
10060
|
+
current: Me,
|
|
10061
10061
|
color: K.color || "blue",
|
|
10062
10062
|
icon: K.icon,
|
|
10063
10063
|
iconColor: K.iconColor,
|
|
@@ -10071,7 +10071,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10071
10071
|
{
|
|
10072
10072
|
onClick: () => ke(K, {}),
|
|
10073
10073
|
disabled: K.disabled,
|
|
10074
|
-
selected:
|
|
10074
|
+
selected: Me,
|
|
10075
10075
|
rightContent: K.rightContent,
|
|
10076
10076
|
children: String(K[w] || "")
|
|
10077
10077
|
},
|
|
@@ -10105,7 +10105,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10105
10105
|
) : K.avatar,
|
|
10106
10106
|
badge: K.badge,
|
|
10107
10107
|
badgeVariant: K.badgeVariant,
|
|
10108
|
-
selected:
|
|
10108
|
+
selected: Me,
|
|
10109
10109
|
onClick: () => ke(K, {})
|
|
10110
10110
|
},
|
|
10111
10111
|
ct
|
|
@@ -10116,7 +10116,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10116
10116
|
{
|
|
10117
10117
|
title: String(K[w] || ""),
|
|
10118
10118
|
description: K.description,
|
|
10119
|
-
checked: K.checked ??
|
|
10119
|
+
checked: K.checked ?? Me,
|
|
10120
10120
|
disabled: K.disabled,
|
|
10121
10121
|
onChange: (me) => se == null ? void 0 : se(K, me)
|
|
10122
10122
|
},
|
|
@@ -10128,7 +10128,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10128
10128
|
{
|
|
10129
10129
|
onClick: (me) => ke(K, me),
|
|
10130
10130
|
disabled: K.disabled,
|
|
10131
|
-
current:
|
|
10131
|
+
current: Me,
|
|
10132
10132
|
color: K.color || "blue",
|
|
10133
10133
|
icon: K.icon,
|
|
10134
10134
|
iconColor: K.iconColor,
|
|
@@ -10143,7 +10143,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10143
10143
|
{
|
|
10144
10144
|
onClick: (me) => ke(K, me),
|
|
10145
10145
|
disabled: K.disabled,
|
|
10146
|
-
current:
|
|
10146
|
+
current: Me ? "blue" : !1,
|
|
10147
10147
|
"data-option-value": String(K[g]),
|
|
10148
10148
|
icon: K.icon,
|
|
10149
10149
|
iconColor: K.iconColor,
|
|
@@ -10153,7 +10153,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10153
10153
|
);
|
|
10154
10154
|
}
|
|
10155
10155
|
}) : ue ? /* @__PURE__ */ P("div", { className: "ui-mx-auto ui-max-w-[300px] ui-break-words ui-px-16 ui-py-8 ui-text-center ui-text-sm ui-text-neutral-500", children: [
|
|
10156
|
-
/* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(we, { name:
|
|
10156
|
+
/* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(we, { name: Vt, size: "sm", color: "tertiary" }) }),
|
|
10157
10157
|
/* @__PURE__ */ P("p", { className: "ui-font-semibold ui-text-primary", children: [
|
|
10158
10158
|
d,
|
|
10159
10159
|
' "',
|
|
@@ -10163,8 +10163,8 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10163
10163
|
/* @__PURE__ */ s("p", { className: "ui-mt-2 ui-text-body-xs-regular ui-text-tertiary", children: c })
|
|
10164
10164
|
] }) : /* @__PURE__ */ s("div", { className: "ui-px-3 ui-text-center ui-text-sm ui-text-tertiary", children: "Sin opciones" })
|
|
10165
10165
|
] }),
|
|
10166
|
-
W && /* @__PURE__ */ P(
|
|
10167
|
-
/* @__PURE__ */ s(
|
|
10166
|
+
W && /* @__PURE__ */ P(Fe, { children: [
|
|
10167
|
+
/* @__PURE__ */ s(Xe, {}),
|
|
10168
10168
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-min-w-[200px] ui-gap-x-2 ui-px-4 ui-py-2", children: [
|
|
10169
10169
|
/* @__PURE__ */ s(
|
|
10170
10170
|
Ie,
|
|
@@ -10174,11 +10174,11 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10174
10174
|
variant: "outlined",
|
|
10175
10175
|
size: "xs",
|
|
10176
10176
|
fullWidth: !0,
|
|
10177
|
-
onClick:
|
|
10177
|
+
onClick: Dt,
|
|
10178
10178
|
children: "Limpiar"
|
|
10179
10179
|
}
|
|
10180
10180
|
),
|
|
10181
|
-
/* @__PURE__ */ s(Ie, { color: "primary", size: "xs", fullWidth: !0, onClick: () =>
|
|
10181
|
+
/* @__PURE__ */ s(Ie, { color: "primary", size: "xs", fullWidth: !0, onClick: () => ot(), children: "OK" })
|
|
10182
10182
|
] })
|
|
10183
10183
|
] })
|
|
10184
10184
|
]
|
|
@@ -10189,10 +10189,10 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10189
10189
|
Y(() => {
|
|
10190
10190
|
l && ye(l);
|
|
10191
10191
|
}, [l]);
|
|
10192
|
-
const
|
|
10192
|
+
const Tt = /* @__PURE__ */ P(
|
|
10193
10193
|
"div",
|
|
10194
10194
|
{
|
|
10195
|
-
ref:
|
|
10195
|
+
ref: ze,
|
|
10196
10196
|
className: "ui-imj ui-relative ui-w-full",
|
|
10197
10197
|
"data-dropdown-container-id": He,
|
|
10198
10198
|
children: [
|
|
@@ -10203,7 +10203,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10203
10203
|
size: n,
|
|
10204
10204
|
placeholder: v,
|
|
10205
10205
|
selectedOptions: ge,
|
|
10206
|
-
handleRemoveSelected:
|
|
10206
|
+
handleRemoveSelected: At,
|
|
10207
10207
|
toggleDropdown: Ee,
|
|
10208
10208
|
isOpen: re,
|
|
10209
10209
|
isOpening: Q,
|
|
@@ -10219,7 +10219,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10219
10219
|
) : (
|
|
10220
10220
|
// Input normal para otros modos
|
|
10221
10221
|
/* @__PURE__ */ s(
|
|
10222
|
-
|
|
10222
|
+
it,
|
|
10223
10223
|
{
|
|
10224
10224
|
ref: De,
|
|
10225
10225
|
label: t,
|
|
@@ -10253,7 +10253,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10253
10253
|
{
|
|
10254
10254
|
label: ce[w],
|
|
10255
10255
|
color: "accent",
|
|
10256
|
-
onClose: () =>
|
|
10256
|
+
onClose: () => At(ce[g])
|
|
10257
10257
|
},
|
|
10258
10258
|
ce[w]
|
|
10259
10259
|
) : null) }),
|
|
@@ -10262,7 +10262,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10262
10262
|
}
|
|
10263
10263
|
);
|
|
10264
10264
|
return A != null && A.label ? /* @__PURE__ */ s(
|
|
10265
|
-
|
|
10265
|
+
_t,
|
|
10266
10266
|
{
|
|
10267
10267
|
label: A.label,
|
|
10268
10268
|
position: A.position,
|
|
@@ -10272,9 +10272,9 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
10272
10272
|
className: A.className,
|
|
10273
10273
|
absolute: A.absolute,
|
|
10274
10274
|
fullWidth: !0,
|
|
10275
|
-
children:
|
|
10275
|
+
children: Tt
|
|
10276
10276
|
}
|
|
10277
|
-
) :
|
|
10277
|
+
) : Tt;
|
|
10278
10278
|
}
|
|
10279
10279
|
);
|
|
10280
10280
|
ht.displayName = "Dropdown";
|
|
@@ -10552,7 +10552,7 @@ const Xl = {
|
|
|
10552
10552
|
esgrima: "🤺",
|
|
10553
10553
|
boxeo: "🥊"
|
|
10554
10554
|
}, pf = ({ name: e, size: t, className: i }) => {
|
|
10555
|
-
const r = Xl[e], o =
|
|
10555
|
+
const r = Xl[e], o = Qe(`ui-inline-block ui-leading-none ${i}`, {
|
|
10556
10556
|
variants: {
|
|
10557
10557
|
size: {
|
|
10558
10558
|
xxs: "ui-text-body-xs-regular",
|
|
@@ -12238,9 +12238,9 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12238
12238
|
)) }) }),
|
|
12239
12239
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-flex-col ui-gap-y-8 ui-p-16", children: [
|
|
12240
12240
|
a && /* @__PURE__ */ s("div", { className: "ui-bg-surface", children: /* @__PURE__ */ s(
|
|
12241
|
-
|
|
12241
|
+
it,
|
|
12242
12242
|
{
|
|
12243
|
-
leftSlot:
|
|
12243
|
+
leftSlot: Vt,
|
|
12244
12244
|
placeholder: l,
|
|
12245
12245
|
value: D,
|
|
12246
12246
|
onValueChange: C,
|
|
@@ -12428,7 +12428,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12428
12428
|
]
|
|
12429
12429
|
}
|
|
12430
12430
|
);
|
|
12431
|
-
},
|
|
12431
|
+
}, Ft = {
|
|
12432
12432
|
DROPDOWN: "dropdown",
|
|
12433
12433
|
MULTIPLE: "multiple",
|
|
12434
12434
|
INPUT: "input",
|
|
@@ -12439,16 +12439,16 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12439
12439
|
}, nu = ({ filters: e, onClear: t, onApply: i }) => {
|
|
12440
12440
|
const r = L((h) => {
|
|
12441
12441
|
switch (h) {
|
|
12442
|
-
case
|
|
12443
|
-
case
|
|
12442
|
+
case Ft.MULTIPLE:
|
|
12443
|
+
case Ft.GROUP:
|
|
12444
12444
|
return [];
|
|
12445
|
-
case
|
|
12445
|
+
case Ft.DATE:
|
|
12446
12446
|
return null;
|
|
12447
|
-
case
|
|
12447
|
+
case Ft.DATE_RANGE:
|
|
12448
12448
|
return { start: null, end: null };
|
|
12449
|
-
case
|
|
12450
|
-
case
|
|
12451
|
-
case
|
|
12449
|
+
case Ft.DROPDOWN:
|
|
12450
|
+
case Ft.INPUT:
|
|
12451
|
+
case Ft.TEXTAREA:
|
|
12452
12452
|
default:
|
|
12453
12453
|
return "";
|
|
12454
12454
|
}
|
|
@@ -12516,7 +12516,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12516
12516
|
filters: e = [],
|
|
12517
12517
|
clearText: t = "Limpiar",
|
|
12518
12518
|
title: i = "Filtros",
|
|
12519
|
-
icon: r =
|
|
12519
|
+
icon: r = Wt,
|
|
12520
12520
|
label: o = "Filtros",
|
|
12521
12521
|
onClear: n,
|
|
12522
12522
|
onApply: a,
|
|
@@ -12548,7 +12548,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12548
12548
|
absolute: !1,
|
|
12549
12549
|
color: m,
|
|
12550
12550
|
label: o,
|
|
12551
|
-
leftSlot:
|
|
12551
|
+
leftSlot: Wt,
|
|
12552
12552
|
size: l,
|
|
12553
12553
|
closeOnClick: !1,
|
|
12554
12554
|
closeOnClickOutside: !0,
|
|
@@ -12562,7 +12562,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12562
12562
|
/* @__PURE__ */ s(Ii, { title: i, icon: r }),
|
|
12563
12563
|
/* @__PURE__ */ s(Ie, { theme: "solid", color: "secondary", pill: "sm", size: "xxs", onClick: p, children: t })
|
|
12564
12564
|
] }),
|
|
12565
|
-
/* @__PURE__ */ s(
|
|
12565
|
+
/* @__PURE__ */ s(Xe, {}),
|
|
12566
12566
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-flex-col ui-gap-y-8 ui-p-16 ui-pt-12", children: [
|
|
12567
12567
|
e.map((g, D) => {
|
|
12568
12568
|
const C = g.keyName || g.label.toLowerCase(), S = `filter-${D}-${g.type}-${g.label}`;
|
|
@@ -12611,7 +12611,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12611
12611
|
},
|
|
12612
12612
|
S
|
|
12613
12613
|
) : g.type === "input" ? /* @__PURE__ */ s(
|
|
12614
|
-
|
|
12614
|
+
it,
|
|
12615
12615
|
{
|
|
12616
12616
|
label: g.label,
|
|
12617
12617
|
value: typeof f[C] == "string" ? f[C] : "",
|
|
@@ -12886,7 +12886,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12886
12886
|
clear: D,
|
|
12887
12887
|
isEmpty: C
|
|
12888
12888
|
};
|
|
12889
|
-
},
|
|
12889
|
+
}, Bt = ({ isActive: e, onClick: t, disabled: i, icon: r, tooltip: o }) => /* @__PURE__ */ s(
|
|
12890
12890
|
Ie,
|
|
12891
12891
|
{
|
|
12892
12892
|
color: e ? "primary" : "secondary",
|
|
@@ -12969,7 +12969,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12969
12969
|
onMouseDown: (z) => z.preventDefault(),
|
|
12970
12970
|
children: [
|
|
12971
12971
|
/* @__PURE__ */ s(
|
|
12972
|
-
|
|
12972
|
+
Bt,
|
|
12973
12973
|
{
|
|
12974
12974
|
isActive: W("bold"),
|
|
12975
12975
|
onClick: () => C("bold"),
|
|
@@ -12979,7 +12979,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12979
12979
|
}
|
|
12980
12980
|
),
|
|
12981
12981
|
/* @__PURE__ */ s(
|
|
12982
|
-
|
|
12982
|
+
Bt,
|
|
12983
12983
|
{
|
|
12984
12984
|
isActive: W("italic"),
|
|
12985
12985
|
onClick: () => C("italic"),
|
|
@@ -12989,7 +12989,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12989
12989
|
}
|
|
12990
12990
|
),
|
|
12991
12991
|
/* @__PURE__ */ s(
|
|
12992
|
-
|
|
12992
|
+
Bt,
|
|
12993
12993
|
{
|
|
12994
12994
|
isActive: W("underline"),
|
|
12995
12995
|
onClick: () => C("underline"),
|
|
@@ -12999,7 +12999,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
12999
12999
|
}
|
|
13000
13000
|
),
|
|
13001
13001
|
/* @__PURE__ */ s(
|
|
13002
|
-
|
|
13002
|
+
Bt,
|
|
13003
13003
|
{
|
|
13004
13004
|
isActive: W("strikethrough"),
|
|
13005
13005
|
onClick: () => C("strikeThrough"),
|
|
@@ -13008,9 +13008,9 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
13008
13008
|
tooltip: "Tachado"
|
|
13009
13009
|
}
|
|
13010
13010
|
),
|
|
13011
|
-
/* @__PURE__ */ s(
|
|
13011
|
+
/* @__PURE__ */ s(Xe, { vertical: !0, className: "ui-h-12" }),
|
|
13012
13012
|
/* @__PURE__ */ s(
|
|
13013
|
-
|
|
13013
|
+
Bt,
|
|
13014
13014
|
{
|
|
13015
13015
|
isActive: W("ul"),
|
|
13016
13016
|
onClick: () => C("insertUnorderedList"),
|
|
@@ -13020,7 +13020,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
13020
13020
|
}
|
|
13021
13021
|
),
|
|
13022
13022
|
/* @__PURE__ */ s(
|
|
13023
|
-
|
|
13023
|
+
Bt,
|
|
13024
13024
|
{
|
|
13025
13025
|
isActive: W("ol"),
|
|
13026
13026
|
onClick: () => C("insertOrderedList"),
|
|
@@ -13029,9 +13029,9 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
13029
13029
|
tooltip: "Lista ordenada"
|
|
13030
13030
|
}
|
|
13031
13031
|
),
|
|
13032
|
-
/* @__PURE__ */ s(
|
|
13032
|
+
/* @__PURE__ */ s(Xe, { vertical: !0, className: "ui-h-12" }),
|
|
13033
13033
|
/* @__PURE__ */ s(
|
|
13034
|
-
|
|
13034
|
+
Bt,
|
|
13035
13035
|
{
|
|
13036
13036
|
isActive: !1,
|
|
13037
13037
|
onClick: () => {
|
|
@@ -13082,7 +13082,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
13082
13082
|
onMouseDown: (z) => z.preventDefault(),
|
|
13083
13083
|
children: [
|
|
13084
13084
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-items-center ui-gap-8", children: [
|
|
13085
|
-
a && /* @__PURE__ */ P(
|
|
13085
|
+
a && /* @__PURE__ */ P(Fe, { children: [
|
|
13086
13086
|
/* @__PURE__ */ s(
|
|
13087
13087
|
Ie,
|
|
13088
13088
|
{
|
|
@@ -13094,7 +13094,7 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
13094
13094
|
tooltip: "Adjuntar archivo"
|
|
13095
13095
|
}
|
|
13096
13096
|
),
|
|
13097
|
-
/* @__PURE__ */ s(
|
|
13097
|
+
/* @__PURE__ */ s(Xe, { vertical: !0, className: "ui-h-12" })
|
|
13098
13098
|
] }),
|
|
13099
13099
|
/* @__PURE__ */ s(
|
|
13100
13100
|
tu,
|
|
@@ -13343,13 +13343,13 @@ const jr = "emoji-picker-recent", tu = ({
|
|
|
13343
13343
|
}
|
|
13344
13344
|
) })
|
|
13345
13345
|
}
|
|
13346
|
-
),
|
|
13346
|
+
), tt = (e) => e ? /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e) : !1, Ke = (e) => {
|
|
13347
13347
|
if (!e) return "";
|
|
13348
13348
|
const t = e.trim();
|
|
13349
13349
|
return (t.startsWith("#") ? t : `#${t}`).toUpperCase();
|
|
13350
13350
|
}, Bn = (e) => {
|
|
13351
|
-
const t =
|
|
13352
|
-
if (!
|
|
13351
|
+
const t = Ke(e);
|
|
13352
|
+
if (!tt(t)) return null;
|
|
13353
13353
|
const i = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
|
|
13354
13354
|
return i ? {
|
|
13355
13355
|
r: parseInt(i[1], 16),
|
|
@@ -13418,14 +13418,14 @@ const hu = (e, t, i) => {
|
|
|
13418
13418
|
}, gu = (e) => {
|
|
13419
13419
|
const t = Bn(e);
|
|
13420
13420
|
return t ? hu(t.r, t.g, t.b) > 0.5 ? "#000000" : "#FFFFFF" : "#000000";
|
|
13421
|
-
}, Wn =
|
|
13421
|
+
}, Wn = Lt(
|
|
13422
13422
|
({ color: e = "", label: t, error: i, helperText: r, disabled: o = !1, onColorChange: n, onClick: a, className: l }, u) => {
|
|
13423
|
-
const m = J(null), d = e ?
|
|
13423
|
+
const m = J(null), d = e ? Ke(e) : "", c = d ? tt(d) : !1, f = c ? d : "#000000", h = te(() => {
|
|
13424
13424
|
if (!(!c || o))
|
|
13425
13425
|
return gu(f);
|
|
13426
13426
|
}, [f, c, o]), p = (y) => {
|
|
13427
|
-
const w =
|
|
13428
|
-
|
|
13427
|
+
const w = Ke(y);
|
|
13428
|
+
tt(w) ? n == null || n(w) : (y === "" || y === "#") && (n == null || n(y));
|
|
13429
13429
|
};
|
|
13430
13430
|
Kt(u, () => ({
|
|
13431
13431
|
getValue: () => {
|
|
@@ -13466,7 +13466,7 @@ const hu = (e, t, i) => {
|
|
|
13466
13466
|
color: var(--color-input-text) !important;
|
|
13467
13467
|
}` }),
|
|
13468
13468
|
/* @__PURE__ */ s(
|
|
13469
|
-
|
|
13469
|
+
it,
|
|
13470
13470
|
{
|
|
13471
13471
|
ref: m,
|
|
13472
13472
|
label: t,
|
|
@@ -13626,13 +13626,13 @@ const pu = ({ color: e, onColorChange: t, className: i }) => {
|
|
|
13626
13626
|
const [r, o] = B([]), n = J(null);
|
|
13627
13627
|
Y(() => {
|
|
13628
13628
|
if (t.length > 0) {
|
|
13629
|
-
const f = t.map((h) =>
|
|
13629
|
+
const f = t.map((h) => Ke(h)).filter((h) => tt(h));
|
|
13630
13630
|
o(f.slice(0, e));
|
|
13631
13631
|
} else
|
|
13632
13632
|
try {
|
|
13633
13633
|
const f = localStorage.getItem(Wi);
|
|
13634
13634
|
if (f) {
|
|
13635
|
-
const p = JSON.parse(f).map((b) =>
|
|
13635
|
+
const p = JSON.parse(f).map((b) => Ke(b)).filter((b) => tt(b));
|
|
13636
13636
|
o(p.slice(0, e));
|
|
13637
13637
|
}
|
|
13638
13638
|
} catch (f) {
|
|
@@ -13647,8 +13647,8 @@ const pu = ({ color: e, onColorChange: t, className: i }) => {
|
|
|
13647
13647
|
}
|
|
13648
13648
|
}, []), l = L(
|
|
13649
13649
|
(f) => {
|
|
13650
|
-
const h =
|
|
13651
|
-
|
|
13650
|
+
const h = Ke(f);
|
|
13651
|
+
tt(h) && (o((p) => {
|
|
13652
13652
|
const b = [h, ...p.filter((v) => v !== h)].slice(
|
|
13653
13653
|
0,
|
|
13654
13654
|
e
|
|
@@ -13665,8 +13665,8 @@ const pu = ({ color: e, onColorChange: t, className: i }) => {
|
|
|
13665
13665
|
u.current && (u.current = null);
|
|
13666
13666
|
}), [i, l]);
|
|
13667
13667
|
const m = L((f) => {
|
|
13668
|
-
const h =
|
|
13669
|
-
|
|
13668
|
+
const h = Ke(f);
|
|
13669
|
+
tt(h) && (n.current = h, u.current && u.current(h));
|
|
13670
13670
|
}, []), d = L(
|
|
13671
13671
|
(f) => {
|
|
13672
13672
|
l(f);
|
|
@@ -13759,15 +13759,15 @@ const wu = ({
|
|
|
13759
13759
|
}) => {
|
|
13760
13760
|
const [n, a] = B(e || ""), [l, u] = B(""), { isSupported: m, isActive: d, pickColor: c } = xu(), f = te(() => {
|
|
13761
13761
|
if (!e) return "#000000";
|
|
13762
|
-
const g =
|
|
13763
|
-
return
|
|
13762
|
+
const g = Ke(e);
|
|
13763
|
+
return tt(g) ? g : "#000000";
|
|
13764
13764
|
}, [e]), h = te(() => t.length > 0 ? t : bu, [t]), p = (g) => {
|
|
13765
13765
|
a(g), u("");
|
|
13766
|
-
const D =
|
|
13767
|
-
|
|
13766
|
+
const D = Ke(g);
|
|
13767
|
+
tt(D) && i(D);
|
|
13768
13768
|
}, b = () => {
|
|
13769
|
-
const g =
|
|
13770
|
-
|
|
13769
|
+
const g = Ke(n);
|
|
13770
|
+
tt(g) ? (i(g), u("")) : u("Color hexadecimal inválido");
|
|
13771
13771
|
}, v = (g) => {
|
|
13772
13772
|
i(g), a(g), u("");
|
|
13773
13773
|
}, y = (g) => {
|
|
@@ -13775,8 +13775,8 @@ const wu = ({
|
|
|
13775
13775
|
}, w = async () => {
|
|
13776
13776
|
const g = await c();
|
|
13777
13777
|
if (g) {
|
|
13778
|
-
const D =
|
|
13779
|
-
|
|
13778
|
+
const D = Ke(g);
|
|
13779
|
+
tt(D) && (i(D), a(D), u(""));
|
|
13780
13780
|
}
|
|
13781
13781
|
};
|
|
13782
13782
|
return Y(() => {
|
|
@@ -13785,7 +13785,7 @@ const wu = ({
|
|
|
13785
13785
|
/* @__PURE__ */ s(pu, { color: f, onColorChange: y }),
|
|
13786
13786
|
r && /* @__PURE__ */ s("div", { className: "ui-flex ui-flex-col ui-gap-2", children: /* @__PURE__ */ P("div", { className: "ui-flex ui-items-end ui-gap-2", children: [
|
|
13787
13787
|
/* @__PURE__ */ s("div", { className: "ui-flex-1", children: /* @__PURE__ */ s(
|
|
13788
|
-
|
|
13788
|
+
it,
|
|
13789
13789
|
{
|
|
13790
13790
|
label: "Color hexadecimal",
|
|
13791
13791
|
value: n,
|
|
@@ -13827,7 +13827,7 @@ const wu = ({
|
|
|
13827
13827
|
)) })
|
|
13828
13828
|
] })
|
|
13829
13829
|
] });
|
|
13830
|
-
}, Nu =
|
|
13830
|
+
}, Nu = Lt(
|
|
13831
13831
|
({
|
|
13832
13832
|
value: e,
|
|
13833
13833
|
defaultValue: t = "",
|
|
@@ -13865,26 +13865,26 @@ const wu = ({
|
|
|
13865
13865
|
disabled: f,
|
|
13866
13866
|
absolute: u.absolute || !1
|
|
13867
13867
|
}), { value: N, setValue: E } = vn({
|
|
13868
|
-
value: e ?
|
|
13869
|
-
defaultValue: t ?
|
|
13868
|
+
value: e ? Ke(e) : void 0,
|
|
13869
|
+
defaultValue: t ? Ke(t) : "",
|
|
13870
13870
|
onChange: (z) => {
|
|
13871
|
-
const j =
|
|
13872
|
-
|
|
13871
|
+
const j = Ke(z);
|
|
13872
|
+
tt(j) && (i == null || i(j));
|
|
13873
13873
|
}
|
|
13874
13874
|
}), { recentColors: T, addRecentColor: x, addRecentColorImmediate: I } = yu({
|
|
13875
13875
|
maxRecentColors: r,
|
|
13876
13876
|
initialRecentColors: o
|
|
13877
13877
|
}), O = (z) => {
|
|
13878
|
-
const j =
|
|
13879
|
-
|
|
13878
|
+
const j = Ke(z);
|
|
13879
|
+
tt(j) && (E(j), x(j), n && k());
|
|
13880
13880
|
};
|
|
13881
13881
|
Kt(
|
|
13882
13882
|
b,
|
|
13883
13883
|
() => ({
|
|
13884
13884
|
getValue: () => N || "",
|
|
13885
13885
|
setValue: (z) => {
|
|
13886
|
-
const j =
|
|
13887
|
-
|
|
13886
|
+
const j = Ke(z);
|
|
13887
|
+
tt(j) && E(j);
|
|
13888
13888
|
},
|
|
13889
13889
|
open: () => {
|
|
13890
13890
|
f || S();
|
|
@@ -13899,12 +13899,12 @@ const wu = ({
|
|
|
13899
13899
|
const M = (z) => {
|
|
13900
13900
|
f || (z.stopPropagation(), S());
|
|
13901
13901
|
}, R = (z) => {
|
|
13902
|
-
const j =
|
|
13903
|
-
|
|
13902
|
+
const j = Ke(z);
|
|
13903
|
+
tt(j) ? (E(j), I(j)) : (z === "" || z === "#") && E(z);
|
|
13904
13904
|
}, V = te(() => {
|
|
13905
13905
|
if (!N) return "";
|
|
13906
|
-
const z =
|
|
13907
|
-
return
|
|
13906
|
+
const z = Ke(N);
|
|
13907
|
+
return tt(z) ? z : N;
|
|
13908
13908
|
}, [N]), W = () => {
|
|
13909
13909
|
if (!v) return null;
|
|
13910
13910
|
const z = u.absolute ? "absolute" : "fixed", j = w ? "visible" : "hidden", _ = {
|
|
@@ -14111,7 +14111,7 @@ const Su = [
|
|
|
14111
14111
|
]
|
|
14112
14112
|
}
|
|
14113
14113
|
) : /* @__PURE__ */ s("div", {}),
|
|
14114
|
-
/* @__PURE__ */ s("div", { className: "ui-flex ui-w-fit ui-items-center ui-justify-center md:ui-justify-end", children: f && r && r > w && /* @__PURE__ */ P(
|
|
14114
|
+
/* @__PURE__ */ s("div", { className: "ui-flex ui-w-fit ui-items-center ui-justify-center md:ui-justify-end", children: f && r && r > w && /* @__PURE__ */ P(Fe, { children: [
|
|
14115
14115
|
/* @__PURE__ */ s(
|
|
14116
14116
|
"label",
|
|
14117
14117
|
{
|
|
@@ -14266,7 +14266,7 @@ const Su = [
|
|
|
14266
14266
|
state: "disabledChecked",
|
|
14267
14267
|
class: "ui-border-4 ui-border-neutral-300 ui-bg-fill"
|
|
14268
14268
|
}
|
|
14269
|
-
], Fu =
|
|
14269
|
+
], Fu = Qe(
|
|
14270
14270
|
[
|
|
14271
14271
|
"ui-relative",
|
|
14272
14272
|
"ui-rounded-control-pill",
|
|
@@ -14313,7 +14313,7 @@ const Su = [
|
|
|
14313
14313
|
state: "unchecked"
|
|
14314
14314
|
}
|
|
14315
14315
|
}
|
|
14316
|
-
), Bu =
|
|
14316
|
+
), Bu = Qe(
|
|
14317
14317
|
["ui-ml-2", "ui-select-none", "ui-text-primary", "ui-transition-colors", "ui-duration-100"],
|
|
14318
14318
|
{
|
|
14319
14319
|
variants: {
|
|
@@ -14551,7 +14551,7 @@ const Su = [
|
|
|
14551
14551
|
r && "ui-cursor-default"
|
|
14552
14552
|
),
|
|
14553
14553
|
children: /* @__PURE__ */ s(
|
|
14554
|
-
|
|
14554
|
+
Mt,
|
|
14555
14555
|
{
|
|
14556
14556
|
slot: p ? qi : qi,
|
|
14557
14557
|
className: $(
|
|
@@ -14734,7 +14734,7 @@ const Su = [
|
|
|
14734
14734
|
!o && /* @__PURE__ */ s(Uu, { colorClasses: r, vertical: d })
|
|
14735
14735
|
]
|
|
14736
14736
|
}
|
|
14737
|
-
) }), Ku =
|
|
14737
|
+
) }), Ku = Qe("", {
|
|
14738
14738
|
variants: {
|
|
14739
14739
|
color: {
|
|
14740
14740
|
blue: "",
|
|
@@ -14924,7 +14924,7 @@ Pi.Title = Qu;
|
|
|
14924
14924
|
Pi.Description = Ju;
|
|
14925
14925
|
Pi.Content = Xu;
|
|
14926
14926
|
Pi.Code = Zu;
|
|
14927
|
-
const
|
|
14927
|
+
const Pt = [
|
|
14928
14928
|
{
|
|
14929
14929
|
value: "equals",
|
|
14930
14930
|
label: "Es igual a",
|
|
@@ -15108,12 +15108,12 @@ const $t = [
|
|
|
15108
15108
|
return t.options.filter((D) => g.includes(D.value));
|
|
15109
15109
|
}
|
|
15110
15110
|
return [];
|
|
15111
|
-
}), v =
|
|
15111
|
+
}), v = Pt.filter(
|
|
15112
15112
|
(g) => g.dataTypes.includes(t.dataType)
|
|
15113
15113
|
).map((g) => ({
|
|
15114
15114
|
value: g.value,
|
|
15115
15115
|
label: g.label
|
|
15116
|
-
})), y =
|
|
15116
|
+
})), y = Pt.find((g) => g.value === n), w = (g) => {
|
|
15117
15117
|
if (Array.isArray(g) && t.options) {
|
|
15118
15118
|
const D = t.options.filter((C) => g.includes(C.value));
|
|
15119
15119
|
b(D);
|
|
@@ -15213,7 +15213,7 @@ const $t = [
|
|
|
15213
15213
|
defaultOptionSelected: !1,
|
|
15214
15214
|
selectedItemsDisplay: "tags"
|
|
15215
15215
|
}
|
|
15216
|
-
) : /* @__PURE__ */ s(
|
|
15216
|
+
) : /* @__PURE__ */ s(Fe, { children: t.dataType === "date" ? /* @__PURE__ */ P("div", { className: "ui-flex ui-flex-col ui-gap-8", children: [
|
|
15217
15217
|
/* @__PURE__ */ s("div", { className: "ui-flex ui-flex-col ui-gap-4", children: /* @__PURE__ */ s(
|
|
15218
15218
|
ti,
|
|
15219
15219
|
{
|
|
@@ -15248,9 +15248,9 @@ const $t = [
|
|
|
15248
15248
|
closeOnSelect: !0
|
|
15249
15249
|
}
|
|
15250
15250
|
) })
|
|
15251
|
-
] }) : /* @__PURE__ */ P(
|
|
15251
|
+
] }) : /* @__PURE__ */ P(Fe, { children: [
|
|
15252
15252
|
/* @__PURE__ */ s(
|
|
15253
|
-
|
|
15253
|
+
it,
|
|
15254
15254
|
{
|
|
15255
15255
|
placeholder: "Ingresa el valor",
|
|
15256
15256
|
value: typeof l == "string" || typeof l == "number" ? String(l) : "",
|
|
@@ -15261,7 +15261,7 @@ const $t = [
|
|
|
15261
15261
|
}
|
|
15262
15262
|
),
|
|
15263
15263
|
y.requiresSecondValue && /* @__PURE__ */ s(
|
|
15264
|
-
|
|
15264
|
+
it,
|
|
15265
15265
|
{
|
|
15266
15266
|
placeholder: "Ingresa el segundo valor",
|
|
15267
15267
|
value: typeof m == "string" || typeof m == "number" ? String(m) : "",
|
|
@@ -15289,7 +15289,7 @@ const $t = [
|
|
|
15289
15289
|
size: "xs",
|
|
15290
15290
|
defaultOptionSelected: !1
|
|
15291
15291
|
}
|
|
15292
|
-
) }) }), _n =
|
|
15292
|
+
) }) }), _n = Lt(
|
|
15293
15293
|
({ columns: e, rows: t, filters: i, onFiltersApply: r, className: o }, n) => {
|
|
15294
15294
|
const a = J(null), [l, u] = B(!1), [m, d] = B([]), [c, f] = B(""), h = L(
|
|
15295
15295
|
(N) => {
|
|
@@ -15374,7 +15374,7 @@ const $t = [
|
|
|
15374
15374
|
}, [i]), y = L(() => {
|
|
15375
15375
|
var E;
|
|
15376
15376
|
const N = m.filter((T) => {
|
|
15377
|
-
const x =
|
|
15377
|
+
const x = Pt.find((I) => I.value === T.operator);
|
|
15378
15378
|
return x ? x.requiresValue ? T.operator === "in" ? Array.isArray(T.value) && T.value.length > 0 : x.requiresSecondValue ? T.value && T.value.toString().trim() !== "" && T.value2 && T.value2.toString().trim() !== "" : T.value && T.value.toString().trim() !== "" : !0 : !1;
|
|
15379
15379
|
});
|
|
15380
15380
|
r(N), u(!1), (E = a.current) == null || E.close();
|
|
@@ -15453,8 +15453,8 @@ const $t = [
|
|
|
15453
15453
|
absolute: !0,
|
|
15454
15454
|
pill: "sm",
|
|
15455
15455
|
children: [
|
|
15456
|
-
/* @__PURE__ */ s("div", { className: "ui-flex ui-items-center ui-justify-between ui-p-16", children: /* @__PURE__ */ s(Ii, { title: "Filtros Avanzados", icon:
|
|
15457
|
-
/* @__PURE__ */ s(
|
|
15456
|
+
/* @__PURE__ */ s("div", { className: "ui-flex ui-items-center ui-justify-between ui-p-16", children: /* @__PURE__ */ s(Ii, { title: "Filtros Avanzados", icon: Wt }) }),
|
|
15457
|
+
/* @__PURE__ */ s(Xe, {}),
|
|
15458
15458
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-flex-col ui-gap-0", children: [
|
|
15459
15459
|
/* @__PURE__ */ s("div", { className: "ui-p-16 ui-bg-surface-secondary-default", children: /* @__PURE__ */ P("div", { className: "ui-flex ui-items-end ui-gap-8", children: [
|
|
15460
15460
|
/* @__PURE__ */ s("div", { className: "ui-flex ui-w-full ui-flex-col ui-gap-4", children: /* @__PURE__ */ s(
|
|
@@ -15492,9 +15492,9 @@ const $t = [
|
|
|
15492
15492
|
}
|
|
15493
15493
|
)
|
|
15494
15494
|
] }) }),
|
|
15495
|
-
/* @__PURE__ */ s(
|
|
15495
|
+
/* @__PURE__ */ s(Xe, {}),
|
|
15496
15496
|
/* @__PURE__ */ s("div", { className: "custom-scrollbar ui-max-h-[270px] ui-overflow-y-auto ui-px-16 ui-py-32", children: m.length === 0 ? /* @__PURE__ */ P("div", { className: "ui-flex ui-flex-col ui-items-center ui-justify-center ui-gap-y-8", children: [
|
|
15497
|
-
/* @__PURE__ */ s(we, { name:
|
|
15497
|
+
/* @__PURE__ */ s(we, { name: Wt, size: "xl", color: "blue", background: !0, padding: "lg" }),
|
|
15498
15498
|
/* @__PURE__ */ s("p", { className: "ui-leading-tracking-body-md ui-text-body-md-regular ui-font-body-md-semibold ui-tracking-body-md ui-leading-body-md-bold", children: "No hay Filtros configurados" }),
|
|
15499
15499
|
/* @__PURE__ */ s("p", { className: "ui-leading-tracking-body-xs ui-text-center ui-text-body-xs-regular ui-font-body-xs-regular ui-text-tertiary ui-tracking-body-xs ui-leading-body-xs-regular", children: "Agrega un filtro seleccionando una columna" })
|
|
15500
15500
|
] }) : /* @__PURE__ */ s("div", { className: "ui-flex ui-flex-col ui-gap-0", children: m.map((N, E) => {
|
|
@@ -15521,7 +15521,7 @@ const $t = [
|
|
|
15521
15521
|
] }, N.id);
|
|
15522
15522
|
}) }) })
|
|
15523
15523
|
] }),
|
|
15524
|
-
/* @__PURE__ */ s(
|
|
15524
|
+
/* @__PURE__ */ s(Xe, {}),
|
|
15525
15525
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-items-center ui-justify-between ui-p-16", children: [
|
|
15526
15526
|
m.length > 0 && /* @__PURE__ */ s(
|
|
15527
15527
|
be,
|
|
@@ -15634,8 +15634,8 @@ const sc = ({
|
|
|
15634
15634
|
}
|
|
15635
15635
|
)) {
|
|
15636
15636
|
const ue = new Map(V.map((ge, Pe) => [ge.id, Pe])), le = [...g].sort((ge, Pe) => {
|
|
15637
|
-
const Ce = ue.get(ge.id) ?? 999,
|
|
15638
|
-
return Ce -
|
|
15637
|
+
const Ce = ue.get(ge.id) ?? 999, je = ue.get(Pe.id) ?? 999;
|
|
15638
|
+
return Ce - je;
|
|
15639
15639
|
});
|
|
15640
15640
|
E == null || E(le);
|
|
15641
15641
|
}
|
|
@@ -15700,7 +15700,7 @@ const sc = ({
|
|
|
15700
15700
|
),
|
|
15701
15701
|
children: [
|
|
15702
15702
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-items-center ui-gap-8", children: [
|
|
15703
|
-
i && /* @__PURE__ */ P(
|
|
15703
|
+
i && /* @__PURE__ */ P(Fe, { children: [
|
|
15704
15704
|
/* @__PURE__ */ P(
|
|
15705
15705
|
Qt,
|
|
15706
15706
|
{
|
|
@@ -15718,7 +15718,7 @@ const sc = ({
|
|
|
15718
15718
|
tooltipProps: { label: "Configuración de tabla", position: "top-left" },
|
|
15719
15719
|
children: [
|
|
15720
15720
|
/* @__PURE__ */ s("h1", { className: "ui-text-body-sm-regular ui-font-body-sm-bold ui-tracking-body-sm ui-leading-body-sm-bold", children: "Configuración de tabla" }),
|
|
15721
|
-
/* @__PURE__ */ s(
|
|
15721
|
+
/* @__PURE__ */ s(Xe, { className: "ui-w-full" }),
|
|
15722
15722
|
/* @__PURE__ */ s(
|
|
15723
15723
|
Gl,
|
|
15724
15724
|
{
|
|
@@ -15729,7 +15729,7 @@ const sc = ({
|
|
|
15729
15729
|
enableReordering: !0
|
|
15730
15730
|
}
|
|
15731
15731
|
),
|
|
15732
|
-
/* @__PURE__ */ s(
|
|
15732
|
+
/* @__PURE__ */ s(Xe, { className: "ui-w-full" }),
|
|
15733
15733
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-justify-center ui-gap-x-8", children: [
|
|
15734
15734
|
/* @__PURE__ */ s(
|
|
15735
15735
|
be,
|
|
@@ -15763,12 +15763,12 @@ const sc = ({
|
|
|
15763
15763
|
/* @__PURE__ */ s("div", { className: "ui-h-control-xs ui-border-1 ui-border-default" })
|
|
15764
15764
|
] }),
|
|
15765
15765
|
e && /* @__PURE__ */ s("div", { className: "ui-w-[223px]", children: /* @__PURE__ */ s(
|
|
15766
|
-
|
|
15766
|
+
it,
|
|
15767
15767
|
{
|
|
15768
15768
|
placeholder: t,
|
|
15769
15769
|
value: I,
|
|
15770
15770
|
onValueChange: se,
|
|
15771
|
-
leftSlot:
|
|
15771
|
+
leftSlot: Vt,
|
|
15772
15772
|
size: "xs",
|
|
15773
15773
|
fullWidth: !0
|
|
15774
15774
|
}
|
|
@@ -15886,7 +15886,7 @@ const sc = ({
|
|
|
15886
15886
|
] })
|
|
15887
15887
|
] })
|
|
15888
15888
|
] });
|
|
15889
|
-
},
|
|
15889
|
+
}, rt = (e = "default", t, i, r, o, n, a) => $(
|
|
15890
15890
|
// Clases base (siempre aplicadas)
|
|
15891
15891
|
"ui-px-4 ui-py-0 ui-text-sm ui-cursor-pointer",
|
|
15892
15892
|
"ui-transition-colors ui-duration-150",
|
|
@@ -15906,13 +15906,13 @@ const sc = ({
|
|
|
15906
15906
|
n && "[box-shadow:inset_0_1px_0_0_var(--ui-color-border-brand),inset_0_-1px_0_0_var(--ui-color-border-brand)]",
|
|
15907
15907
|
// Celdas bloqueadas son sticky; z-45 para quedar por encima del dropdown en celdas (popoverZIndex 35)
|
|
15908
15908
|
i && "ui-sticky ui-z-[45] ui-isolate",
|
|
15909
|
-
// Celdas de acciones
|
|
15910
|
-
a && "ui-sticky ui-z-[
|
|
15909
|
+
// Celdas de acciones sticky a la derecha: z-50 para que SIEMPRE queden por encima del resto de celdas del body al hacer scroll
|
|
15910
|
+
a && "ui-sticky ui-z-[50] ui-isolate ui-border-l ui-border-l-default",
|
|
15911
15911
|
// Borde derecho para la última columna bloqueada
|
|
15912
15912
|
r && "ui-border-r-2 ui-border-r-default",
|
|
15913
15913
|
// Clases adicionales
|
|
15914
15914
|
t
|
|
15915
|
-
),
|
|
15915
|
+
), nt = (e, t = 0, i, r) => {
|
|
15916
15916
|
const o = e.width !== void 0;
|
|
15917
15917
|
return {
|
|
15918
15918
|
"data-column-id": e.id,
|
|
@@ -15934,7 +15934,7 @@ const sc = ({
|
|
|
15934
15934
|
default:
|
|
15935
15935
|
return "ui-justify-start";
|
|
15936
15936
|
}
|
|
15937
|
-
},
|
|
15937
|
+
}, Je = (e, t) => {
|
|
15938
15938
|
t == null || t();
|
|
15939
15939
|
}, qn = Ge(
|
|
15940
15940
|
({
|
|
@@ -15949,8 +15949,8 @@ const sc = ({
|
|
|
15949
15949
|
isLastLocked: u = !1,
|
|
15950
15950
|
isRowEditing: m
|
|
15951
15951
|
}) => {
|
|
15952
|
-
const d =
|
|
15953
|
-
return i.render ? /* @__PURE__ */ s("td", { className: d, ...c, onClick: (p) =>
|
|
15952
|
+
const d = rt(r, n, i.locked, u, void 0, m), c = nt(i, l), f = (r === "selected" || r === "focused") && !m ? "ui-text-brand-selected" : "", h = gt(i.contentAlign);
|
|
15953
|
+
return i.render ? /* @__PURE__ */ s("td", { className: d, ...c, onClick: (p) => Je(p, a), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", h, f), children: /* @__PURE__ */ s("span", { className: "ui-text-body-sm-regular ui-font-body-sm-regular ui-leading-body-sm-regular ui-tracking-body-sm", children: i.render(e, t, i) }) }) }) : /* @__PURE__ */ s("td", { className: d, ...c, onClick: (p) => Je(p, a), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", h, f), children: /* @__PURE__ */ s("span", { className: "ui-text-body-sm-regular ui-font-body-sm-regular ui-leading-body-sm-regular ui-tracking-body-sm", children: e ? String(e) : "-" }) }) });
|
|
15954
15954
|
}
|
|
15955
15955
|
);
|
|
15956
15956
|
qn.displayName = "TableCell";
|
|
@@ -15966,11 +15966,11 @@ const Hn = Ge(
|
|
|
15966
15966
|
isLastLocked: l = !1,
|
|
15967
15967
|
isRowEditing: u
|
|
15968
15968
|
}) => {
|
|
15969
|
-
const m =
|
|
15969
|
+
const m = rt(r, $("", o), i.locked, l, void 0, u), d = nt(i, a), c = gt(i.contentAlign), f = $(
|
|
15970
15970
|
"ui-flex ui-items-center ui-gap-8 ui-min-w-max ui-h-full",
|
|
15971
15971
|
c
|
|
15972
15972
|
), h = (r === "selected" || r === "focused") && !u, p = h ? "ui-text-brand-selected" : "ui-text-primary", b = h ? "ui-text-brand-selected" : "ui-text-primary", y = typeof e == "object" && e !== null && !Array.isArray(e) ? e : null, w = t && typeof t == "object" && "avatar" in t ? t : null, g = (y == null ? void 0 : y.avatar) ?? (w == null ? void 0 : w.avatar), D = (y == null ? void 0 : y.name) ?? e, C = (y == null ? void 0 : y.subtitle) ?? (w == null ? void 0 : w.subtitle);
|
|
15973
|
-
return /* @__PURE__ */ s("td", { className: m, ...d, onClick: (S) =>
|
|
15973
|
+
return /* @__PURE__ */ s("td", { className: m, ...d, onClick: (S) => Je(S, n), children: /* @__PURE__ */ P("div", { className: f, children: [
|
|
15974
15974
|
g && /* @__PURE__ */ s(kt, { type: "people", size: "sm", src: g }),
|
|
15975
15975
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-flex-col ui-justify-center", children: [
|
|
15976
15976
|
/* @__PURE__ */ s(
|
|
@@ -16011,7 +16011,7 @@ const Yn = Ge(
|
|
|
16011
16011
|
isLastLocked: a = !1,
|
|
16012
16012
|
isRowEditing: l
|
|
16013
16013
|
}) => {
|
|
16014
|
-
const u =
|
|
16014
|
+
const u = rt(i, r, t.locked, a, void 0, l), m = nt(t, n), d = e && typeof e == "object" && "text" in e && "type" in e, c = d ? e.text : String(e || ""), h = (() => {
|
|
16015
16015
|
if (d)
|
|
16016
16016
|
return e.type;
|
|
16017
16017
|
const w = t.statusMap;
|
|
@@ -16081,7 +16081,7 @@ const Yn = Ge(
|
|
|
16081
16081
|
}
|
|
16082
16082
|
}
|
|
16083
16083
|
}, v = p ? b[h].selected : b[h].default, y = gt(t.contentAlign);
|
|
16084
|
-
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (w) =>
|
|
16084
|
+
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (w) => Je(w, o), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", y), children: /* @__PURE__ */ s(
|
|
16085
16085
|
"div",
|
|
16086
16086
|
{
|
|
16087
16087
|
className: $(
|
|
@@ -16140,7 +16140,7 @@ const ac = {
|
|
|
16140
16140
|
isActionsColumn: m = !1,
|
|
16141
16141
|
isRowEditing: d
|
|
16142
16142
|
}) => {
|
|
16143
|
-
const c =
|
|
16143
|
+
const c = rt(r, o, i.locked, u, void 0, d, m), f = nt(i, a, l, m), h = e && typeof e == "object" && !Array.isArray(e);
|
|
16144
16144
|
let p = [];
|
|
16145
16145
|
if (h) {
|
|
16146
16146
|
const b = e, v = [];
|
|
@@ -16160,7 +16160,7 @@ const ac = {
|
|
|
16160
16160
|
const y = b.custom || b.actions || [];
|
|
16161
16161
|
p = [...v, ...y];
|
|
16162
16162
|
} else Array.isArray(e) ? p = e : i.actions && Array.isArray(i.actions) && (p = i.actions);
|
|
16163
|
-
return /* @__PURE__ */ s("td", { className: c, ...f, onClick: (b) =>
|
|
16163
|
+
return /* @__PURE__ */ s("td", { className: c, ...f, onClick: (b) => Je(b, n), children: /* @__PURE__ */ s("div", { className: "ui-flex ui-items-center ui-gap-2", children: p.map((b, v) => /* @__PURE__ */ s(
|
|
16164
16164
|
be,
|
|
16165
16165
|
{
|
|
16166
16166
|
theme: "solid",
|
|
@@ -16191,13 +16191,13 @@ const lc = ({
|
|
|
16191
16191
|
isLastLocked: l = !1,
|
|
16192
16192
|
isRowEditing: u
|
|
16193
16193
|
}) => {
|
|
16194
|
-
const m =
|
|
16194
|
+
const m = rt(r, o, i.locked, l, void 0, u), d = nt(i, a), c = gt(i.contentAlign), f = $(
|
|
16195
16195
|
"ui-text-link hover:ui-text-link-hover ui-underline ui-cursor-pointer",
|
|
16196
16196
|
"ui-text-sm",
|
|
16197
16197
|
"ui-transition-colors ui-duration-150",
|
|
16198
16198
|
r === "disabled" && "ui-pointer-events-none ui-opacity-50"
|
|
16199
16199
|
), p = e && typeof e == "object" && !Array.isArray(e) ? e : null, b = (p == null ? void 0 : p.href) ?? "#", v = (p == null ? void 0 : p.label) ?? e;
|
|
16200
|
-
return /* @__PURE__ */ s("td", { className: m, ...d, onClick: (y) =>
|
|
16200
|
+
return /* @__PURE__ */ s("td", { className: m, ...d, onClick: (y) => Je(y, n), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", c), children: /* @__PURE__ */ s("a", { href: b, className: f, target: "_blank", rel: "noopener noreferrer", children: v }) }) });
|
|
16201
16201
|
}, Br = "sm", uc = (e) => e ? e.startsWith("data:") || e.startsWith("blob:") ? !0 : Ci(e) : !1, cc = (e) => typeof e == "string" && e.trim().length > 0 ? e.trim() : "?", dc = ({
|
|
16202
16202
|
value: e,
|
|
16203
16203
|
column: t,
|
|
@@ -16208,8 +16208,8 @@ const lc = ({
|
|
|
16208
16208
|
isLastLocked: a = !1,
|
|
16209
16209
|
isRowEditing: l
|
|
16210
16210
|
}) => {
|
|
16211
|
-
const u =
|
|
16212
|
-
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (h) =>
|
|
16211
|
+
const u = rt(i, r, t.locked, a, void 0, l), m = nt(t, n), d = Array.isArray(e) ? e : [e], c = 5, f = Math.max(0, d.length - c);
|
|
16212
|
+
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (h) => Je(h, o), children: /* @__PURE__ */ P("div", { className: "ui-flex ui-items-center ui--space-x-4 ui-pr-4", children: [
|
|
16213
16213
|
d.slice(0, c).map((h, p) => {
|
|
16214
16214
|
const b = typeof h == "object" && h !== null ? h : null, v = b ? b.src : h, y = b ? b.name : h;
|
|
16215
16215
|
if (typeof v == "string" && uc(v))
|
|
@@ -16251,7 +16251,7 @@ const lc = ({
|
|
|
16251
16251
|
isLastLocked: l = !1,
|
|
16252
16252
|
isRowEditing: u
|
|
16253
16253
|
}) => {
|
|
16254
|
-
const [m, d] = B(e), [c, f] = B(""), h = J(e), p = J(!1), b = i === "selected" && t.editable && t.editable !== "none", v =
|
|
16254
|
+
const [m, d] = B(e), [c, f] = B(""), h = J(e), p = J(!1), b = i === "selected" && t.editable && t.editable !== "none", v = rt(i, o, t.locked, l, b, u), y = nt(t, a), w = gt(t.contentAlign), g = (T) => {
|
|
16255
16255
|
const x = t.type;
|
|
16256
16256
|
return (x === "number" || x === "numeric") && T !== "" && T !== "-" && T !== "+" && T !== "." && !/^-?\d*\.?\d*$/.test(T) ? "Debe ser un número válido" : "";
|
|
16257
16257
|
};
|
|
@@ -16297,8 +16297,8 @@ const lc = ({
|
|
|
16297
16297
|
}, k = () => {
|
|
16298
16298
|
p.current && m !== h.current && (r == null || r(m), h.current = m), p.current = !1;
|
|
16299
16299
|
}, E = c !== "";
|
|
16300
|
-
return /* @__PURE__ */ s("td", { className: v, ...y, onClick: (T) =>
|
|
16301
|
-
|
|
16300
|
+
return /* @__PURE__ */ s("td", { className: v, ...y, onClick: (T) => Je(T, n), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", w), children: /* @__PURE__ */ s(
|
|
16301
|
+
it,
|
|
16302
16302
|
{
|
|
16303
16303
|
value: m ? String(m) : "",
|
|
16304
16304
|
onValueChange: S,
|
|
@@ -16322,8 +16322,8 @@ const lc = ({
|
|
|
16322
16322
|
isLastLocked: l = !1,
|
|
16323
16323
|
isRowEditing: u
|
|
16324
16324
|
}) => {
|
|
16325
|
-
const m = t === "selected" && o.editable && o.editable !== "none", d =
|
|
16326
|
-
return /* @__PURE__ */ s("td", { className: d, ...c, onClick: (v) =>
|
|
16325
|
+
const m = t === "selected" && o.editable && o.editable !== "none", d = rt(t, r, o.locked, l, m, u), c = nt(o, a), f = gt(o.contentAlign), h = o.columnOptions || [], p = o.columnOptionsLoading === !0, b = e == null ? void 0 : typeof e == "string" || typeof e == "number" || Array.isArray(e) && e.every((v) => typeof v == "string" || typeof v == "number") ? e : void 0;
|
|
16326
|
+
return /* @__PURE__ */ s("td", { className: d, ...c, onClick: (v) => Je(v, n), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", f), children: /* @__PURE__ */ s(
|
|
16327
16327
|
ht,
|
|
16328
16328
|
{
|
|
16329
16329
|
options: h,
|
|
@@ -16347,8 +16347,8 @@ const lc = ({
|
|
|
16347
16347
|
isLastLocked: l = !1,
|
|
16348
16348
|
isRowEditing: u
|
|
16349
16349
|
}) => {
|
|
16350
|
-
const m =
|
|
16351
|
-
return /* @__PURE__ */ s("td", { className: m, ...d, onClick: (h) =>
|
|
16350
|
+
const m = rt(r, o, i.locked, l, void 0, u), d = nt(i, a), c = gt(i.contentAlign), f = e && typeof e == "object" && !Array.isArray(e) ? e : e != null ? { label: e } : null;
|
|
16351
|
+
return /* @__PURE__ */ s("td", { className: m, ...d, onClick: (h) => Je(h, n), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", c), children: f && /* @__PURE__ */ s(
|
|
16352
16352
|
Ie,
|
|
16353
16353
|
{
|
|
16354
16354
|
theme: f.theme || "solid",
|
|
@@ -16372,8 +16372,8 @@ const lc = ({
|
|
|
16372
16372
|
isLastLocked: a = !1,
|
|
16373
16373
|
isRowEditing: l
|
|
16374
16374
|
}) => {
|
|
16375
|
-
const u =
|
|
16376
|
-
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (y) =>
|
|
16375
|
+
const u = rt(i, r, t.locked, a, void 0, l), m = nt(t, n), d = gt(t.contentAlign), f = e && typeof e == "object" && !Array.isArray(e) ? e : null, h = (f == null ? void 0 : f.value) ?? (typeof e == "number" ? e : 0), p = f == null ? void 0 : f.label, b = typeof h == "number" ? Math.min(Math.max(h, 0), 100) : 0, v = "ui-text-secondary";
|
|
16376
|
+
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (y) => Je(y, o), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", d), children: /* @__PURE__ */ P("div", { className: "ui-flex ui-items-center ui-gap-2 ui-w-full", children: [
|
|
16377
16377
|
/* @__PURE__ */ s(
|
|
16378
16378
|
bi,
|
|
16379
16379
|
{
|
|
@@ -16398,8 +16398,8 @@ const lc = ({
|
|
|
16398
16398
|
isLastLocked: n = !1,
|
|
16399
16399
|
isRowEditing: a
|
|
16400
16400
|
}) => {
|
|
16401
|
-
const l =
|
|
16402
|
-
return /* @__PURE__ */ s("td", { className: l, ...u, onClick: (d) =>
|
|
16401
|
+
const l = rt(i, t, e.locked, n, void 0, a), u = nt(e, o), m = gt(e.contentAlign);
|
|
16402
|
+
return /* @__PURE__ */ s("td", { className: l, ...u, onClick: (d) => Je(d, r), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", m), children: /* @__PURE__ */ s(
|
|
16403
16403
|
"div",
|
|
16404
16404
|
{
|
|
16405
16405
|
className: "ui-h-[14px] ui-w-full ui-animate-pulse ui-rounded-control-pill",
|
|
@@ -16435,7 +16435,7 @@ const lc = ({
|
|
|
16435
16435
|
isLastLocked: a = !1,
|
|
16436
16436
|
isRowEditing: l
|
|
16437
16437
|
}) => {
|
|
16438
|
-
const u =
|
|
16438
|
+
const u = rt(i, r, t.locked, a, void 0, l), m = nt(t, n), d = Array.isArray(e) ? e : [e], c = t.tagLabelAccessor || "label", f = t.tagColorAccessor || "color", h = t.randomColors || !1, p = te(
|
|
16439
16439
|
() => ["accent", "success", "warning", "danger", "info", "gray"],
|
|
16440
16440
|
[]
|
|
16441
16441
|
), b = te(() => {
|
|
@@ -16443,7 +16443,7 @@ const lc = ({
|
|
|
16443
16443
|
const y = pc(t.id);
|
|
16444
16444
|
return bc(p, y);
|
|
16445
16445
|
}, [t.id, h, p]), v = gt(t.contentAlign);
|
|
16446
|
-
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (y) =>
|
|
16446
|
+
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (y) => Je(y, o), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", v), children: /* @__PURE__ */ s("div", { className: "ui-flex ui-items-center ui-gap-1", children: d.map((y, w) => {
|
|
16447
16447
|
const g = typeof y == "object" && y !== null ? {
|
|
16448
16448
|
label: y[c] || y.label || String(y),
|
|
16449
16449
|
color: y[f] || y.color || "gray",
|
|
@@ -16465,7 +16465,7 @@ const lc = ({
|
|
|
16465
16465
|
}
|
|
16466
16466
|
);
|
|
16467
16467
|
Kn.displayName = "TagsCell";
|
|
16468
|
-
const xi = (e) => /* @__PURE__ */ s(
|
|
16468
|
+
const xi = (e) => /* @__PURE__ */ s(qt, { ...e }), yc = ({
|
|
16469
16469
|
value: e,
|
|
16470
16470
|
column: t,
|
|
16471
16471
|
state: i = "default",
|
|
@@ -16476,8 +16476,8 @@ const xi = (e) => /* @__PURE__ */ s(_t, { ...e }), yc = ({
|
|
|
16476
16476
|
isLastLocked: l = !1,
|
|
16477
16477
|
isRowEditing: u
|
|
16478
16478
|
}) => {
|
|
16479
|
-
const m =
|
|
16480
|
-
return /* @__PURE__ */ s("td", { className: m, ...d, onClick: (c) =>
|
|
16479
|
+
const m = rt(i, o, t.locked, l, void 0, u), d = nt(t, a);
|
|
16480
|
+
return /* @__PURE__ */ s("td", { className: m, ...d, onClick: (c) => Je(c, n), children: /* @__PURE__ */ s("div", { className: "ui-flex ui-h-full ui-items-center ui-justify-center", children: /* @__PURE__ */ s(
|
|
16481
16481
|
xi,
|
|
16482
16482
|
{
|
|
16483
16483
|
checked: !!e,
|
|
@@ -16498,7 +16498,7 @@ const xi = (e) => /* @__PURE__ */ s(_t, { ...e }), yc = ({
|
|
|
16498
16498
|
isRowEditing: u
|
|
16499
16499
|
}) => {
|
|
16500
16500
|
var g, D;
|
|
16501
|
-
const [m, d] = B(!1), c =
|
|
16501
|
+
const [m, d] = B(!1), c = rt(r, o, i.locked, l, void 0, u), f = nt(i, a), h = gt(i.contentAlign), p = e && typeof e == "object" && !Array.isArray(e) ? e : e != null ? { icon: e } : null;
|
|
16502
16502
|
let b;
|
|
16503
16503
|
const v = (C) => ({
|
|
16504
16504
|
id: 0,
|
|
@@ -16530,7 +16530,7 @@ const xi = (e) => /* @__PURE__ */ s(_t, { ...e }), yc = ({
|
|
|
16530
16530
|
}
|
|
16531
16531
|
const y = b && b.length > 0;
|
|
16532
16532
|
return /* @__PURE__ */ P("td", { className: c, ...f, onClick: (C) => {
|
|
16533
|
-
y ? (C.stopPropagation(), d(!0)) :
|
|
16533
|
+
y ? (C.stopPropagation(), d(!0)) : Je(C, n);
|
|
16534
16534
|
}, children: [
|
|
16535
16535
|
/* @__PURE__ */ s(
|
|
16536
16536
|
"div",
|
|
@@ -16541,7 +16541,7 @@ const xi = (e) => /* @__PURE__ */ s(_t, { ...e }), yc = ({
|
|
|
16541
16541
|
y && "ui-cursor-pointer"
|
|
16542
16542
|
),
|
|
16543
16543
|
children: /* @__PURE__ */ s(
|
|
16544
|
-
|
|
16544
|
+
Mt,
|
|
16545
16545
|
{
|
|
16546
16546
|
slot: p == null ? void 0 : p.icon,
|
|
16547
16547
|
colorIcon: (p == null ? void 0 : p.color) || "tertiary",
|
|
@@ -16575,8 +16575,8 @@ const xi = (e) => /* @__PURE__ */ s(_t, { ...e }), yc = ({
|
|
|
16575
16575
|
isLastLocked: a = !1,
|
|
16576
16576
|
isRowEditing: l
|
|
16577
16577
|
}) => {
|
|
16578
|
-
const u =
|
|
16579
|
-
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (f) =>
|
|
16578
|
+
const u = rt(i, r, t.locked, a, void 0, l), m = nt(t, n), d = typeof e == "number" ? e : typeof e == "string" && parseFloat(e) || 0;
|
|
16579
|
+
return /* @__PURE__ */ s("td", { className: u, ...m, onClick: (f) => Je(f, o), children: /* @__PURE__ */ P("div", { className: "ui-flex ui-items-center ui-gap-2", children: [
|
|
16580
16580
|
/* @__PURE__ */ s(we, { name: qi, size: "md", color: (i === "selected" || i === "focused") && !l ? "brand" : "yellow" }),
|
|
16581
16581
|
/* @__PURE__ */ s(
|
|
16582
16582
|
"span",
|
|
@@ -16723,11 +16723,11 @@ const xi = (e) => /* @__PURE__ */ s(_t, { ...e }), yc = ({
|
|
|
16723
16723
|
fallback: m = "-",
|
|
16724
16724
|
isRowEditing: d
|
|
16725
16725
|
}) => {
|
|
16726
|
-
const c =
|
|
16726
|
+
const c = rt(i, r, t.locked, a, void 0, d), f = nt(t, n), h = t.dateFormat || l, p = t.locale || u, b = t.dateFallback || m, v = te(() => {
|
|
16727
16727
|
const w = wc(e);
|
|
16728
16728
|
return w ? Sc(w, h, p) : b;
|
|
16729
16729
|
}, [e, h, p, b]), y = gt(t.contentAlign);
|
|
16730
|
-
return t.render ? /* @__PURE__ */ s("td", { className: c, ...f, onClick: (w) =>
|
|
16730
|
+
return t.render ? /* @__PURE__ */ s("td", { className: c, ...f, onClick: (w) => Je(w, o), children: /* @__PURE__ */ s("div", { className: $("ui-flex ui-h-full ui-items-center", y), children: t.render(e, null, t) }) }) : /* @__PURE__ */ s("td", { className: c, ...f, onClick: (w) => Je(w, o), children: /* @__PURE__ */ s(
|
|
16731
16731
|
"div",
|
|
16732
16732
|
{
|
|
16733
16733
|
className: $("ui-flex ui-h-full ui-items-center ui-text-body-sm-regular", y),
|
|
@@ -16849,16 +16849,16 @@ const kc = ({
|
|
|
16849
16849
|
ue && ue.offsetWidth > 0 && (q += ue.offsetWidth + 8);
|
|
16850
16850
|
const le = re == null ? void 0 : re.lastElementChild, ge = (le == null ? void 0 : le.offsetWidth) || 0;
|
|
16851
16851
|
let Ce = q + ge + 48;
|
|
16852
|
-
const
|
|
16852
|
+
const je = D.current.closest("table");
|
|
16853
16853
|
let De = 0;
|
|
16854
|
-
|
|
16855
|
-
const
|
|
16856
|
-
De = Math.max(De,
|
|
16854
|
+
je && je.querySelectorAll(`td[data-column-id="${e.id}"]`).forEach((ot) => {
|
|
16855
|
+
const Le = ot.scrollWidth;
|
|
16856
|
+
De = Math.max(De, Le);
|
|
16857
16857
|
});
|
|
16858
|
-
const
|
|
16859
|
-
Ce = Math.max(Ce,
|
|
16860
|
-
const
|
|
16861
|
-
Ce >
|
|
16858
|
+
const Re = De > 0 ? De + 32 : 0;
|
|
16859
|
+
Ce = Math.max(Ce, Re);
|
|
16860
|
+
const ze = D.current.offsetWidth;
|
|
16861
|
+
Ce > ze ? v(Ce) : e.width === void 0 && v(ze);
|
|
16862
16862
|
}, 50);
|
|
16863
16863
|
return () => clearTimeout(X);
|
|
16864
16864
|
}, []);
|
|
@@ -16869,9 +16869,9 @@ const kc = ({
|
|
|
16869
16869
|
"ui-border-b ui-border-default",
|
|
16870
16870
|
// Fondo para todas las celdas
|
|
16871
16871
|
"ui-bg-surface",
|
|
16872
|
-
l && "ui-sticky ui-z-[
|
|
16872
|
+
l && "ui-sticky ui-z-[51] ui-isolate",
|
|
16873
16873
|
l && c && "ui-top-0",
|
|
16874
|
-
f && "ui-sticky ui-z-[
|
|
16874
|
+
f && "ui-sticky ui-z-[51] ui-isolate ui-border-l ui-border-l-default",
|
|
16875
16875
|
f && c && "ui-top-0",
|
|
16876
16876
|
u && "ui-border-r-2 ui-border-r-default",
|
|
16877
16877
|
g
|
|
@@ -16882,7 +16882,7 @@ const kc = ({
|
|
|
16882
16882
|
!(n !== null || a || l) && "ui-opacity-0 group-hover:ui-opacity-100"
|
|
16883
16883
|
);
|
|
16884
16884
|
const F = (X) => {
|
|
16885
|
-
var
|
|
16885
|
+
var ot;
|
|
16886
16886
|
if (X.preventDefault(), X.stopPropagation(), !D.current || !v) return;
|
|
16887
16887
|
S(!0), N(!1), j.current = !1, x.current = X.clientX, I.current = X.clientX;
|
|
16888
16888
|
const oe = typeof e.width == "number" ? e.width : D.current.offsetWidth;
|
|
@@ -16890,24 +16890,28 @@ const kc = ({
|
|
|
16890
16890
|
let q = 0;
|
|
16891
16891
|
const re = D.current.querySelector(".ui-truncate");
|
|
16892
16892
|
let ne = 0;
|
|
16893
|
-
if ((
|
|
16894
|
-
const
|
|
16895
|
-
|
|
16893
|
+
if ((ot = re == null ? void 0 : re.textContent) != null && ot.trim()) {
|
|
16894
|
+
const Le = document.createElement("span");
|
|
16895
|
+
Le.style.position = "absolute", Le.style.visibility = "hidden", Le.style.whiteSpace = "nowrap", Le.style.font = window.getComputedStyle(re).font, Le.textContent = re.textContent, document.body.appendChild(Le), ne = Le.offsetWidth, document.body.removeChild(Le);
|
|
16896
16896
|
}
|
|
16897
16897
|
const ue = D.current.querySelector(".ui-justify-between"), le = ue == null ? void 0 : ue.firstElementChild, ge = e.headerIcon ? le == null ? void 0 : le.querySelector(".ui-flex-shrink-0") : null;
|
|
16898
16898
|
ge && ge.offsetWidth > 0 && (ne += ge.offsetWidth + 8);
|
|
16899
|
-
const Pe = ue == null ? void 0 : ue.lastElementChild, Ce = Pe ? Pe.offsetWidth : 0,
|
|
16900
|
-
(ne > 0 || Ce > 0) && (q = Math.max(q,
|
|
16899
|
+
const Pe = ue == null ? void 0 : ue.lastElementChild, Ce = Pe ? Pe.offsetWidth : 0, je = ne + Ce + 48;
|
|
16900
|
+
(ne > 0 || Ce > 0) && (q = Math.max(q, je));
|
|
16901
16901
|
const De = D.current.closest("table");
|
|
16902
|
-
let
|
|
16903
|
-
De && De.querySelectorAll(`td[data-column-id="${e.id}"]`).forEach((
|
|
16904
|
-
const
|
|
16905
|
-
|
|
16902
|
+
let Re = 0;
|
|
16903
|
+
De && De.querySelectorAll(`td[data-column-id="${e.id}"]`).forEach((Ot) => {
|
|
16904
|
+
const Dt = Ot.scrollWidth;
|
|
16905
|
+
Re = Math.max(Re, Dt);
|
|
16906
16906
|
});
|
|
16907
|
-
const
|
|
16908
|
-
q = Math.max(q,
|
|
16909
|
-
const He = Math.max(80, q || 80);
|
|
16910
|
-
M.current = Math.min(
|
|
16907
|
+
const ze = Re > 0 ? Re + 32 : 0;
|
|
16908
|
+
q = Math.max(q, ze);
|
|
16909
|
+
const He = Math.max(80, q || 80), Ee = typeof e.originalWidth == "number" ? e.originalWidth : void 0;
|
|
16910
|
+
M.current = Math.min(
|
|
16911
|
+
O.current,
|
|
16912
|
+
He,
|
|
16913
|
+
Ee ?? 1 / 0
|
|
16914
|
+
);
|
|
16911
16915
|
}, U = L((X) => {
|
|
16912
16916
|
if (!W.current) return;
|
|
16913
16917
|
const oe = X.clientX - x.current, q = Math.abs(oe), re = j.current;
|
|
@@ -17013,7 +17017,7 @@ const kc = ({
|
|
|
17013
17017
|
a ? "ui-opacity-100" : "ui-opacity-0 group-hover:ui-opacity-100",
|
|
17014
17018
|
"ui-transition-opacity ui-duration-200"
|
|
17015
17019
|
),
|
|
17016
|
-
children: /* @__PURE__ */ s(
|
|
17020
|
+
children: /* @__PURE__ */ s(_t, { label: a ? '"Filtros aplicados"' : "", children: /* @__PURE__ */ s(we, { size: "xs", name: a ? As : Wt, color: a ? "blue" : "default" }) })
|
|
17017
17021
|
}
|
|
17018
17022
|
),
|
|
17019
17023
|
t && e.sortable !== !1 && /* @__PURE__ */ s(
|
|
@@ -17045,7 +17049,7 @@ const kc = ({
|
|
|
17045
17049
|
o && e.resizable !== !1 && !l && /* @__PURE__ */ s(
|
|
17046
17050
|
"div",
|
|
17047
17051
|
{
|
|
17048
|
-
className: "ui-absolute ui-right-
|
|
17052
|
+
className: "ui-absolute ui-right-[-9px] ui-top-0 ui-z-10 ui-h-full ui-w-[18px] ui-cursor-col-resize",
|
|
17049
17053
|
onMouseDown: F,
|
|
17050
17054
|
onMouseEnter: ye,
|
|
17051
17055
|
onMouseLeave: xe
|
|
@@ -17109,7 +17113,7 @@ const kc = ({
|
|
|
17109
17113
|
), g = (C) => {
|
|
17110
17114
|
e.disabled || C.target.closest("button") || l == null || l(e);
|
|
17111
17115
|
}, D = !e.isParent && "_isChild" in e && e._isChild;
|
|
17112
|
-
return /* @__PURE__ */ P(
|
|
17116
|
+
return /* @__PURE__ */ P(Fe, { children: [
|
|
17113
17117
|
/* @__PURE__ */ P("tr", { className: w, onClick: g, "data-editing": y ? "true" : void 0, children: [
|
|
17114
17118
|
u && /* @__PURE__ */ s(
|
|
17115
17119
|
"td",
|
|
@@ -17118,7 +17122,7 @@ const kc = ({
|
|
|
17118
17122
|
"ui-border-b ui-border-b-default ui-px-4 ui-py-3 ui-transition-colors ui-duration-150",
|
|
17119
17123
|
v || y ? "ui-bg-surface-brand" : "ui-bg-surface group-hover:ui-bg-surface-hover",
|
|
17120
17124
|
y && "[box-shadow:inset_0_1px_0_0_var(--ui-color-border-brand),inset_0_-1px_0_0_var(--ui-color-border-brand)]",
|
|
17121
|
-
(d || b) && "ui-sticky ui-isolate ui-z-[45]
|
|
17125
|
+
(d || b) && "ui-sticky ui-isolate ui-z-[45]"
|
|
17122
17126
|
),
|
|
17123
17127
|
style: {
|
|
17124
17128
|
width: 48,
|
|
@@ -17239,7 +17243,7 @@ const kc = ({
|
|
|
17239
17243
|
});
|
|
17240
17244
|
})()
|
|
17241
17245
|
] }),
|
|
17242
|
-
e.expanded && e.children && e.children.length > 0 && /* @__PURE__ */ s(
|
|
17246
|
+
e.expanded && e.children && e.children.length > 0 && /* @__PURE__ */ s(Fe, { children: e.children.map((C) => /* @__PURE__ */ s(
|
|
17243
17247
|
Jn,
|
|
17244
17248
|
{
|
|
17245
17249
|
row: { ...C, _isChild: !0 },
|
|
@@ -17262,7 +17266,7 @@ const kc = ({
|
|
|
17262
17266
|
const [r, o] = B(""), [n, a] = B(""), [l, u] = B(""), [m, d] = B(""), c = te(
|
|
17263
17267
|
() => e.find((v) => v.value === r),
|
|
17264
17268
|
[e, r]
|
|
17265
|
-
), f = te(() => c ?
|
|
17269
|
+
), f = te(() => c ? Pt.filter((v) => v.dataTypes.includes(c.dataType)).map(
|
|
17266
17270
|
(v) => ({
|
|
17267
17271
|
value: v.value,
|
|
17268
17272
|
label: v.label
|
|
@@ -17275,7 +17279,7 @@ const kc = ({
|
|
|
17275
17279
|
}, [n]);
|
|
17276
17280
|
const h = te(() => {
|
|
17277
17281
|
if (!r || !n) return !1;
|
|
17278
|
-
const v =
|
|
17282
|
+
const v = Pt.find((y) => y.value === n);
|
|
17279
17283
|
return v ? v.requiresValue ? v.requiresSecondValue ? l.trim() !== "" && m.trim() !== "" : l.trim() !== "" : !0 : !1;
|
|
17280
17284
|
}, [r, n, l, m]), p = () => {
|
|
17281
17285
|
!h || !c || (t({
|
|
@@ -17286,7 +17290,7 @@ const kc = ({
|
|
|
17286
17290
|
value2: m || void 0,
|
|
17287
17291
|
dataType: c.dataType
|
|
17288
17292
|
}), o(""), a(""), u(""), d(""));
|
|
17289
|
-
}, b =
|
|
17293
|
+
}, b = Pt.find((v) => v.value === n);
|
|
17290
17294
|
return /* @__PURE__ */ P("div", { className: $("ui-flex ui-flex-col ui-gap-4", i), children: [
|
|
17291
17295
|
/* @__PURE__ */ P("div", { className: "ui-flex ui-items-end ui-gap-2", children: [
|
|
17292
17296
|
/* @__PURE__ */ s(
|
|
@@ -17334,7 +17338,7 @@ const kc = ({
|
|
|
17334
17338
|
),
|
|
17335
17339
|
n && (b == null ? void 0 : b.requiresValue) && /* @__PURE__ */ P("div", { className: "ui-flex ui-gap-2", children: [
|
|
17336
17340
|
/* @__PURE__ */ s(
|
|
17337
|
-
|
|
17341
|
+
it,
|
|
17338
17342
|
{
|
|
17339
17343
|
label: "Valor",
|
|
17340
17344
|
placeholder: "Ingresa el valor",
|
|
@@ -17346,7 +17350,7 @@ const kc = ({
|
|
|
17346
17350
|
}
|
|
17347
17351
|
),
|
|
17348
17352
|
b.requiresSecondValue && /* @__PURE__ */ s(
|
|
17349
|
-
|
|
17353
|
+
it,
|
|
17350
17354
|
{
|
|
17351
17355
|
label: "Valor 2",
|
|
17352
17356
|
placeholder: "Ingresa el segundo valor",
|
|
@@ -17369,17 +17373,17 @@ const kc = ({
|
|
|
17369
17373
|
i
|
|
17370
17374
|
),
|
|
17371
17375
|
children: [
|
|
17372
|
-
/* @__PURE__ */ s("div", { className: "ui-flex ui-size-16 ui-items-center ui-justify-center ui-rounded-control-pill ui-bg-blue-100", children: /* @__PURE__ */ s(we, { name:
|
|
17376
|
+
/* @__PURE__ */ s("div", { className: "ui-flex ui-size-16 ui-items-center ui-justify-center ui-rounded-control-pill ui-bg-blue-100", children: /* @__PURE__ */ s(we, { name: Wt, size: "lg", color: "blue" }) }),
|
|
17373
17377
|
/* @__PURE__ */ s("p", { className: "ui-text-base ui-font-semibold ui-text-primary", children: "No hay Filtros configurados" }),
|
|
17374
17378
|
/* @__PURE__ */ s("p", { className: "ui-max-w-[280px] ui-text-center ui-text-body-xs-regular ui-text-neutral-500", children: "Agrega un filtro seleccionando una columna" })
|
|
17375
17379
|
]
|
|
17376
17380
|
}
|
|
17377
17381
|
);
|
|
17378
17382
|
const r = (n) => {
|
|
17379
|
-
const a =
|
|
17383
|
+
const a = Pt.find((l) => l.value === n);
|
|
17380
17384
|
return (a == null ? void 0 : a.label) || n;
|
|
17381
17385
|
}, o = (n) => {
|
|
17382
|
-
const a = r(n.operator), l =
|
|
17386
|
+
const a = r(n.operator), l = Pt.find((u) => u.value === n.operator);
|
|
17383
17387
|
return l != null && l.requiresValue ? l.requiresSecondValue && n.value2 ? `${n.columnLabel} ${a.toLowerCase()} ${n.value} y ${n.value2}` : `${n.columnLabel} ${a.toLowerCase()} "${n.value}"` : `${n.columnLabel} ${a.toLowerCase()}`;
|
|
17384
17388
|
};
|
|
17385
17389
|
return /* @__PURE__ */ P("div", { className: $("ui-flex ui-flex-col ui-gap-2", i), children: [
|
|
@@ -17457,7 +17461,7 @@ const kc = ({
|
|
|
17457
17461
|
{
|
|
17458
17462
|
className: $(
|
|
17459
17463
|
"ui-border-b ui-border-default ui-bg-surface ui-px-4 ui-py-3",
|
|
17460
|
-
m || k ? "ui-sticky ui-isolate ui-z-[
|
|
17464
|
+
m || k ? "ui-sticky ui-isolate ui-z-[51]" : u ? "ui-sticky ui-z-[30]" : "",
|
|
17461
17465
|
u && "ui-top-0"
|
|
17462
17466
|
),
|
|
17463
17467
|
style: {
|
|
@@ -17481,7 +17485,7 @@ const kc = ({
|
|
|
17481
17485
|
{
|
|
17482
17486
|
className: $(
|
|
17483
17487
|
"ui-border-b ui-border-default ui-bg-surface",
|
|
17484
|
-
m || k ? "ui-sticky ui-isolate ui-z-[
|
|
17488
|
+
m || k ? "ui-sticky ui-isolate ui-z-[51]" : u ? "ui-sticky ui-z-[30]" : "",
|
|
17485
17489
|
u && "ui-top-0"
|
|
17486
17490
|
),
|
|
17487
17491
|
style: {
|
|
@@ -17533,8 +17537,7 @@ const kc = ({
|
|
|
17533
17537
|
column: N,
|
|
17534
17538
|
sortDirection: T ? t == null ? void 0 : t.direction : null,
|
|
17535
17539
|
filterActive: x,
|
|
17536
|
-
locked:
|
|
17537
|
-
lockable: M ? !1 : N.lockable !== !1,
|
|
17540
|
+
locked: N.locked,
|
|
17538
17541
|
isLastLocked: O,
|
|
17539
17542
|
resizable: l,
|
|
17540
17543
|
stickyLeft: R,
|
|
@@ -17586,9 +17589,9 @@ const kc = ({
|
|
|
17586
17589
|
const n = () => {
|
|
17587
17590
|
switch (e) {
|
|
17588
17591
|
case "no-results":
|
|
17589
|
-
return Bt;
|
|
17590
|
-
case "no-filters":
|
|
17591
17592
|
return Vt;
|
|
17593
|
+
case "no-filters":
|
|
17594
|
+
return Wt;
|
|
17592
17595
|
default:
|
|
17593
17596
|
return Ns;
|
|
17594
17597
|
}
|
|
@@ -17802,7 +17805,7 @@ const kc = ({
|
|
|
17802
17805
|
") ",
|
|
17803
17806
|
o
|
|
17804
17807
|
] }),
|
|
17805
|
-
i.length > 0 && /* @__PURE__ */ s(
|
|
17808
|
+
i.length > 0 && /* @__PURE__ */ s(Xe, { vertical: !0, className: "ui-h-8 ui-border-on-color ui-opacity-30" }),
|
|
17806
17809
|
/* @__PURE__ */ s("div", { className: "ui-flex ui-items-center ui-gap-16", children: i.map((l, u) => /* @__PURE__ */ s(
|
|
17807
17810
|
Ie,
|
|
17808
17811
|
{
|
|
@@ -17817,8 +17820,8 @@ const kc = ({
|
|
|
17817
17820
|
},
|
|
17818
17821
|
`action-${u}-${l.label || l.icon}`
|
|
17819
17822
|
)) }),
|
|
17820
|
-
r && /* @__PURE__ */ P(
|
|
17821
|
-
/* @__PURE__ */ s(
|
|
17823
|
+
r && /* @__PURE__ */ P(Fe, { children: [
|
|
17824
|
+
/* @__PURE__ */ s(Xe, { vertical: !0, className: "ui-h-8 ui-border-on-color ui-opacity-30" }),
|
|
17822
17825
|
/* @__PURE__ */ s(
|
|
17823
17826
|
be,
|
|
17824
17827
|
{
|
|
@@ -17922,19 +17925,27 @@ const kc = ({
|
|
|
17922
17925
|
const [t, i] = B(e);
|
|
17923
17926
|
Y(() => {
|
|
17924
17927
|
i((d) => {
|
|
17925
|
-
const c = new Map(e.map((y) => [y.id, y])), f = new Set(d.map((y) => y.id)), h = new Set(e.map((y) => y.id)), p = f.size === h.size && [...f].every((y) => h.has(y)), b = (y, w) =>
|
|
17926
|
-
|
|
17927
|
-
|
|
17928
|
-
|
|
17929
|
-
|
|
17930
|
-
|
|
17928
|
+
const c = new Map(e.map((y) => [y.id, y])), f = new Set(d.map((y) => y.id)), h = new Set(e.map((y) => y.id)), p = f.size === h.size && [...f].every((y) => h.has(y)), b = (y, w) => {
|
|
17929
|
+
if (!w) {
|
|
17930
|
+
const C = typeof y.width == "number" ? y.width : void 0;
|
|
17931
|
+
return { ...y, originalWidth: C ?? y.originalWidth };
|
|
17932
|
+
}
|
|
17933
|
+
const g = w.width ?? y.width, D = w.originalWidth ?? (typeof y.width == "number" ? y.width : y.originalWidth);
|
|
17934
|
+
return {
|
|
17935
|
+
...y,
|
|
17936
|
+
width: g,
|
|
17937
|
+
originalWidth: D,
|
|
17938
|
+
visible: w.visible !== void 0 ? w.visible : y.visible,
|
|
17939
|
+
locked: w.locked ?? y.locked
|
|
17940
|
+
};
|
|
17941
|
+
};
|
|
17931
17942
|
let v;
|
|
17932
17943
|
return p ? v = d.map((y) => {
|
|
17933
17944
|
const w = c.get(y.id);
|
|
17934
17945
|
return w ? b(w, y) : y;
|
|
17935
17946
|
}) : v = e.map((y) => b(y, d.find((w) => w.id === y.id))), v.length === d.length && v.every((y, w) => {
|
|
17936
17947
|
const g = d[w];
|
|
17937
|
-
return y.id === g.id && y.width === g.width && y.visible === g.visible && y.locked === g.locked && y.columnOptions === g.columnOptions && y.columnOptionsLoading === g.columnOptionsLoading && y.editable === g.editable && y.header === g.header;
|
|
17948
|
+
return y.id === g.id && y.width === g.width && y.originalWidth === g.originalWidth && y.visible === g.visible && y.locked === g.locked && y.columnOptions === g.columnOptions && y.columnOptionsLoading === g.columnOptionsLoading && y.editable === g.editable && y.header === g.header;
|
|
17938
17949
|
}) ? d : v;
|
|
17939
17950
|
});
|
|
17940
17951
|
}, [e]);
|
|
@@ -18293,7 +18304,7 @@ const kc = ({
|
|
|
18293
18304
|
}, qe = (e) => !e || typeof e != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(e), Ut = (e) => {
|
|
18294
18305
|
const [t, i, r] = e.split("T")[0].split("-").map(Number);
|
|
18295
18306
|
return new Date(t, i - 1, r);
|
|
18296
|
-
},
|
|
18307
|
+
}, $t = (e, t, i) => {
|
|
18297
18308
|
const r = Ut(String(e)), o = Ut(String(t)), n = r.getTime(), a = o.getTime();
|
|
18298
18309
|
switch (i) {
|
|
18299
18310
|
case "equals":
|
|
@@ -18347,9 +18358,9 @@ const kc = ({
|
|
|
18347
18358
|
case "isNotEmpty":
|
|
18348
18359
|
return !o;
|
|
18349
18360
|
case "equals":
|
|
18350
|
-
return o && (i == null || i === "") ? !0 : qe(e) && qe(i) ?
|
|
18361
|
+
return o && (i == null || i === "") ? !0 : qe(e) && qe(i) ? $t(e, i, "equals") : String(e).toLowerCase() === String(i).toLowerCase();
|
|
18351
18362
|
case "notEquals":
|
|
18352
|
-
return o && (i == null || i === "") ? !1 : qe(e) && qe(i) ?
|
|
18363
|
+
return o && (i == null || i === "") ? !1 : qe(e) && qe(i) ? $t(e, i, "notEquals") : String(e).toLowerCase() !== String(i).toLowerCase();
|
|
18353
18364
|
case "in":
|
|
18354
18365
|
if (o || !Array.isArray(i)) return !1;
|
|
18355
18366
|
if (Array.isArray(e))
|
|
@@ -18375,13 +18386,13 @@ const kc = ({
|
|
|
18375
18386
|
case "endsWith":
|
|
18376
18387
|
return o ? !1 : String(e).toLowerCase().endsWith(String(i).toLowerCase());
|
|
18377
18388
|
case "gt":
|
|
18378
|
-
return o ? !1 : qe(e) && qe(i) ?
|
|
18389
|
+
return o ? !1 : qe(e) && qe(i) ? $t(e, i, "gt") : Number(e) > Number(i);
|
|
18379
18390
|
case "gte":
|
|
18380
|
-
return o ? !1 : qe(e) && qe(i) ?
|
|
18391
|
+
return o ? !1 : qe(e) && qe(i) ? $t(e, i, "gte") : Number(e) >= Number(i);
|
|
18381
18392
|
case "lt":
|
|
18382
|
-
return o ? !1 : qe(e) && qe(i) ?
|
|
18393
|
+
return o ? !1 : qe(e) && qe(i) ? $t(e, i, "lt") : Number(e) < Number(i);
|
|
18383
18394
|
case "lte":
|
|
18384
|
-
return o ? !1 : qe(e) && qe(i) ?
|
|
18395
|
+
return o ? !1 : qe(e) && qe(i) ? $t(e, i, "lte") : Number(e) <= Number(i);
|
|
18385
18396
|
case "between":
|
|
18386
18397
|
if (o) return !1;
|
|
18387
18398
|
if (qe(e) && qe(i) && qe(r)) {
|
|
@@ -18392,9 +18403,9 @@ const kc = ({
|
|
|
18392
18403
|
return n >= a && n <= l;
|
|
18393
18404
|
// Operadores específicos de fecha
|
|
18394
18405
|
case "afterDate":
|
|
18395
|
-
return o || !qe(e) || !qe(i) ? !1 :
|
|
18406
|
+
return o || !qe(e) || !qe(i) ? !1 : $t(e, i, "afterDate");
|
|
18396
18407
|
case "beforeDate":
|
|
18397
|
-
return o || !qe(e) || !qe(i) ? !1 :
|
|
18408
|
+
return o || !qe(e) || !qe(i) ? !1 : $t(e, i, "beforeDate");
|
|
18398
18409
|
// Operadores de fechas relativas
|
|
18399
18410
|
case "thisMonth":
|
|
18400
18411
|
case "lastMonth":
|
|
@@ -18481,8 +18492,8 @@ const kc = ({
|
|
|
18481
18492
|
if (Z !== -1) {
|
|
18482
18493
|
const ve = F[Z], Ne = ve.render, $e = {
|
|
18483
18494
|
...ve,
|
|
18484
|
-
render: (
|
|
18485
|
-
const
|
|
18495
|
+
render: (Ze, mt, zt) => {
|
|
18496
|
+
const jt = Ne ? Ne(Ze, mt, zt) : [], Oi = Array.isArray(jt) ? jt : [];
|
|
18486
18497
|
return [{
|
|
18487
18498
|
icon: mt._isEditing ? ei : Hi,
|
|
18488
18499
|
tooltip: mt._isEditing ? "Guardar" : "Editar",
|
|
@@ -18524,14 +18535,14 @@ const kc = ({
|
|
|
18524
18535
|
handleRowSelect: ue,
|
|
18525
18536
|
handleSelectAll: le,
|
|
18526
18537
|
clearSelection: ge
|
|
18527
|
-
} = zc(t, o == null ? void 0 : o.multiple), { handleRowExpand: Pe, applyExpandedState: Ce } = _c(), { handleCellFocus:
|
|
18538
|
+
} = zc(t, o == null ? void 0 : o.multiple), { handleRowExpand: Pe, applyExpandedState: Ce } = _c(), { handleCellFocus: je, handleCellBlur: De, isCellFocused: Re } = qc(), { filters: ze, setAllFilters: He } = Hc({
|
|
18528
18539
|
initialFilters: u,
|
|
18529
18540
|
onFiltersChange: E
|
|
18530
|
-
}), { toggleRowEdit: Ee, applyEditState:
|
|
18541
|
+
}), { toggleRowEdit: Ee, applyEditState: ot } = Yc({
|
|
18531
18542
|
externalEditingRowIds: V,
|
|
18532
18543
|
onEditingRowIdsChange: W,
|
|
18533
18544
|
onEditModeChange: z
|
|
18534
|
-
}), [
|
|
18545
|
+
}), [Le, Ot] = B("");
|
|
18535
18546
|
Y(() => {
|
|
18536
18547
|
const Z = (de) => {
|
|
18537
18548
|
_.current && !_.current.contains(de.target) && De();
|
|
@@ -18540,23 +18551,23 @@ const kc = ({
|
|
|
18540
18551
|
document.removeEventListener("mousedown", Z);
|
|
18541
18552
|
};
|
|
18542
18553
|
}, [De]);
|
|
18543
|
-
const
|
|
18554
|
+
const Dt = J(ze.length), pt = J(Le);
|
|
18544
18555
|
Y(() => {
|
|
18545
18556
|
var ve;
|
|
18546
|
-
const Z =
|
|
18547
|
-
n != null && n.enabled && (Z || de) && n.currentPage !== 1 && ((ve = n == null ? void 0 : n.onPageChange) == null || ve.call(n, 1)),
|
|
18548
|
-
}, [
|
|
18557
|
+
const Z = Dt.current !== ze.length, de = pt.current !== Le;
|
|
18558
|
+
n != null && n.enabled && (Z || de) && n.currentPage !== 1 && ((ve = n == null ? void 0 : n.onPageChange) == null || ve.call(n, 1)), Dt.current = ze.length, pt.current = Le;
|
|
18559
|
+
}, [ze.length, Le, n]);
|
|
18549
18560
|
const dt = te(() => {
|
|
18550
|
-
if (!
|
|
18561
|
+
if (!Le.trim() || !((a == null ? void 0 : a.internalSearch) ?? !1))
|
|
18551
18562
|
return t;
|
|
18552
|
-
const de =
|
|
18563
|
+
const de = Le.toLowerCase().trim();
|
|
18553
18564
|
return t.filter((ve) => fe.some((Ne) => {
|
|
18554
18565
|
if (Ne.visible === !1) return !1;
|
|
18555
18566
|
let $e;
|
|
18556
18567
|
return typeof Ne.accessor == "function" ? $e = Ne.accessor(ve) : Ne.accessor && ($e = ve[Ne.accessor]), $e !== null ? String($e).toLowerCase().includes(de) : !1;
|
|
18557
18568
|
}));
|
|
18558
|
-
}, [t,
|
|
18559
|
-
const ve = fe.find((
|
|
18569
|
+
}, [t, Le, fe, a == null ? void 0 : a.internalSearch]), lt = te(() => ze.length === 0 || !((a == null ? void 0 : a.internalFilters) ?? !1) ? dt : Jc(dt, ze, fe), [dt, ze, fe, a == null ? void 0 : a.internalFilters]), ut = te(() => !G || !G.direction ? lt : [...lt].sort((Z, de) => {
|
|
18570
|
+
const ve = fe.find((jt) => jt.id === G.columnId);
|
|
18560
18571
|
if (!ve) return 0;
|
|
18561
18572
|
let Ne, $e;
|
|
18562
18573
|
if (typeof ve.accessor == "function")
|
|
@@ -18565,39 +18576,39 @@ const kc = ({
|
|
|
18565
18576
|
Ne = Z[ve.accessor], $e = de[ve.accessor];
|
|
18566
18577
|
else
|
|
18567
18578
|
return 0;
|
|
18568
|
-
const st = Ne == null,
|
|
18569
|
-
if (st &&
|
|
18579
|
+
const st = Ne == null, Ze = $e == null;
|
|
18580
|
+
if (st && Ze) return 0;
|
|
18570
18581
|
if (st) return G.direction === "asc" ? 1 : -1;
|
|
18571
|
-
if (
|
|
18572
|
-
const mt = Ne,
|
|
18573
|
-
return mt <
|
|
18582
|
+
if (Ze) return G.direction === "asc" ? -1 : 1;
|
|
18583
|
+
const mt = Ne, zt = $e;
|
|
18584
|
+
return mt < zt ? G.direction === "asc" ? -1 : 1 : mt > zt ? G.direction === "asc" ? 1 : -1 : 0;
|
|
18574
18585
|
}), [lt, G, fe]), ft = ut.length, Ct = te(() => {
|
|
18575
18586
|
if (!(n != null && n.enabled))
|
|
18576
18587
|
return ut;
|
|
18577
18588
|
const Z = n.currentPage || 1, de = n.pageSize || 10, ve = !((a == null ? void 0 : a.internalSearch) ?? !1), Ne = !((a == null ? void 0 : a.internalFilters) ?? !1);
|
|
18578
18589
|
if (n.total !== void 0 && n.total !== ft || ve && Ne)
|
|
18579
18590
|
return ut;
|
|
18580
|
-
const st = (Z - 1) * de,
|
|
18581
|
-
return ut.slice(st,
|
|
18591
|
+
const st = (Z - 1) * de, Ze = st + de;
|
|
18592
|
+
return ut.slice(st, Ze);
|
|
18582
18593
|
}, [
|
|
18583
18594
|
ut,
|
|
18584
18595
|
n,
|
|
18585
18596
|
ft,
|
|
18586
18597
|
a == null ? void 0 : a.internalSearch,
|
|
18587
18598
|
a == null ? void 0 : a.internalFilters
|
|
18588
|
-
]),
|
|
18599
|
+
]), At = Ce(Ct), bt = te(() => ot(At).map((de) => ({
|
|
18589
18600
|
...de,
|
|
18590
18601
|
_toggleEdit: () => Ee(de.id)
|
|
18591
|
-
})), [
|
|
18602
|
+
})), [At, ot, Ee]), Jt = te(() => {
|
|
18592
18603
|
if (bt.length > 0) return r;
|
|
18593
|
-
const Z =
|
|
18604
|
+
const Z = Le.trim().length > 0, de = ze.length > 0;
|
|
18594
18605
|
return t.length === 0 && !Z && !de ? {
|
|
18595
18606
|
...r,
|
|
18596
18607
|
type: r.type || "empty"
|
|
18597
18608
|
} : Z && (dt.length === 0 || bt.length === 0) ? {
|
|
18598
18609
|
type: "no-results",
|
|
18599
18610
|
// Título dinámico con el término de búsqueda
|
|
18600
|
-
title: `No hay resultados para "${
|
|
18611
|
+
title: `No hay resultados para "${Le}"`,
|
|
18601
18612
|
// Descripción por defecto (se usa la del componente si no se pasa)
|
|
18602
18613
|
description: void 0,
|
|
18603
18614
|
action: r.action
|
|
@@ -18611,12 +18622,12 @@ const kc = ({
|
|
|
18611
18622
|
}, [
|
|
18612
18623
|
r,
|
|
18613
18624
|
bt.length,
|
|
18614
|
-
|
|
18615
|
-
|
|
18625
|
+
Le,
|
|
18626
|
+
ze.length,
|
|
18616
18627
|
t.length,
|
|
18617
18628
|
dt.length,
|
|
18618
18629
|
lt.length
|
|
18619
|
-
]),
|
|
18630
|
+
]), Tt = (Z) => {
|
|
18620
18631
|
const de = Lc(G, Z);
|
|
18621
18632
|
X(Z), N == null || N(de), C && D && de && A.updateSort(de);
|
|
18622
18633
|
}, ce = (Z) => {
|
|
@@ -18632,31 +18643,31 @@ const kc = ({
|
|
|
18632
18643
|
if (ve || Ne.length > 0) {
|
|
18633
18644
|
let $e = 0;
|
|
18634
18645
|
if (ve) {
|
|
18635
|
-
const
|
|
18636
|
-
|
|
18646
|
+
const Ze = ve.querySelector(".ui-truncate");
|
|
18647
|
+
Ze && ($e = Math.max($e, Ze.scrollWidth + 80));
|
|
18637
18648
|
}
|
|
18638
|
-
Ne.forEach((
|
|
18639
|
-
$e = Math.max($e,
|
|
18649
|
+
Ne.forEach((Ze) => {
|
|
18650
|
+
$e = Math.max($e, Ze.scrollWidth + 32);
|
|
18640
18651
|
});
|
|
18641
18652
|
const st = Math.min(Math.max($e, 100), 500);
|
|
18642
18653
|
Se(Z, st), T == null || T(Z, st);
|
|
18643
18654
|
}
|
|
18644
18655
|
}
|
|
18645
|
-
},
|
|
18656
|
+
}, Me = (Z, de) => {
|
|
18646
18657
|
ee(de ? Z : null);
|
|
18647
18658
|
}, ct = (Z) => {
|
|
18648
18659
|
var de;
|
|
18649
|
-
|
|
18660
|
+
Ot(Z), (de = a == null ? void 0 : a.onSearch) == null || de.call(a, Z);
|
|
18650
18661
|
}, me = (Z, de) => {
|
|
18651
18662
|
ye(Z, de), I == null || I(Z, de), C && D && A.updateColumnVisibility(Z, de);
|
|
18652
18663
|
}, pe = (Z) => {
|
|
18653
18664
|
Z.forEach(({ columnId: de, visible: ve }) => {
|
|
18654
18665
|
ye(de, ve), I == null || I(de, ve);
|
|
18655
18666
|
}), C && D && A.updateMultipleColumnVisibility(Z);
|
|
18656
|
-
},
|
|
18667
|
+
}, Oe = (Z) => {
|
|
18657
18668
|
const de = Z.map((ve) => ve.id);
|
|
18658
18669
|
Q(de), x == null || x(Z), C && D && A.updateColumnOrder(Z);
|
|
18659
|
-
},
|
|
18670
|
+
}, Ae = (Z) => {
|
|
18660
18671
|
Pe(Z), M == null || M(Z);
|
|
18661
18672
|
}, We = (Z, de, ve) => {
|
|
18662
18673
|
se.current.add(Z);
|
|
@@ -18683,7 +18694,7 @@ const kc = ({
|
|
|
18683
18694
|
var de;
|
|
18684
18695
|
(de = n == null ? void 0 : n.onPageSizeChange) == null || de.call(n, Z);
|
|
18685
18696
|
}, Xt = $(
|
|
18686
|
-
"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-
|
|
18697
|
+
"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",
|
|
18687
18698
|
h && "ui-border ui-border-default",
|
|
18688
18699
|
k
|
|
18689
18700
|
), si = (Z) => {
|
|
@@ -18699,11 +18710,11 @@ const kc = ({
|
|
|
18699
18710
|
selectedIds: oe,
|
|
18700
18711
|
columns: fe,
|
|
18701
18712
|
rows: t,
|
|
18702
|
-
filters:
|
|
18713
|
+
filters: ze,
|
|
18703
18714
|
onSearch: ct,
|
|
18704
18715
|
onColumnVisibilityChange: me,
|
|
18705
18716
|
onMultipleColumnVisibilityChange: pe,
|
|
18706
|
-
onColumnReorder:
|
|
18717
|
+
onColumnReorder: Oe,
|
|
18707
18718
|
onFiltersApply: si
|
|
18708
18719
|
}
|
|
18709
18720
|
),
|
|
@@ -18716,7 +18727,7 @@ const kc = ({
|
|
|
18716
18727
|
empty: Jt,
|
|
18717
18728
|
selection: o,
|
|
18718
18729
|
sort: G,
|
|
18719
|
-
filters:
|
|
18730
|
+
filters: ze,
|
|
18720
18731
|
expandable: m,
|
|
18721
18732
|
resizable: d,
|
|
18722
18733
|
resizeHoverColumnId: H,
|
|
@@ -18732,16 +18743,16 @@ const kc = ({
|
|
|
18732
18743
|
someSelected: ne,
|
|
18733
18744
|
onSelectAll: le,
|
|
18734
18745
|
onRowSelect: ue,
|
|
18735
|
-
onSort:
|
|
18746
|
+
onSort: Tt,
|
|
18736
18747
|
onFilter: ce,
|
|
18737
18748
|
onLock: ke,
|
|
18738
18749
|
onResize: Ve,
|
|
18739
18750
|
onResizeDoubleClick: K,
|
|
18740
|
-
onResizeHover:
|
|
18751
|
+
onResizeHover: Me,
|
|
18741
18752
|
onRowClick: O,
|
|
18742
|
-
onRowExpand:
|
|
18743
|
-
onCellFocus:
|
|
18744
|
-
isCellFocused:
|
|
18753
|
+
onRowExpand: Ae,
|
|
18754
|
+
onCellFocus: je,
|
|
18755
|
+
isCellFocused: Re,
|
|
18745
18756
|
onCellChange: We
|
|
18746
18757
|
}
|
|
18747
18758
|
) }),
|
|
@@ -19834,9 +19845,9 @@ const pd = {
|
|
|
19834
19845
|
animationDuration: 300,
|
|
19835
19846
|
size: "sm"
|
|
19836
19847
|
};
|
|
19837
|
-
let
|
|
19848
|
+
let et = { ...pd };
|
|
19838
19849
|
const Zf = (e) => {
|
|
19839
|
-
|
|
19850
|
+
et = { ...et, ...e };
|
|
19840
19851
|
};
|
|
19841
19852
|
class bd {
|
|
19842
19853
|
constructor() {
|
|
@@ -19867,15 +19878,15 @@ class bd {
|
|
|
19867
19878
|
onSecondaryClick: a.onSecondaryClick,
|
|
19868
19879
|
showCloseButton: a.showCloseButton ?? !0,
|
|
19869
19880
|
isLeaving: !1,
|
|
19870
|
-
position: a.position ??
|
|
19871
|
-
variant: a.variant ??
|
|
19872
|
-
primaryButtonText: a.primaryButtonText ??
|
|
19873
|
-
secondaryButtonText: a.secondaryButtonText ??
|
|
19874
|
-
size: a.size ??
|
|
19875
|
-
duration: a.duration !== void 0 ? a.duration :
|
|
19881
|
+
position: a.position ?? et.position,
|
|
19882
|
+
variant: a.variant ?? et.variant,
|
|
19883
|
+
primaryButtonText: a.primaryButtonText ?? et.primaryButtonText,
|
|
19884
|
+
secondaryButtonText: a.secondaryButtonText ?? et.secondaryButtonText,
|
|
19885
|
+
size: a.size ?? et.size,
|
|
19886
|
+
duration: a.duration !== void 0 ? a.duration : et.duration,
|
|
19876
19887
|
animation: a.animation
|
|
19877
19888
|
};
|
|
19878
|
-
return process.env.NODE_ENV !== "production" && (d.duration !== void 0 && (isNaN(d.duration) || !isFinite(d.duration) || d.duration < 0) && (console.warn(`[MessageService] Invalid duration "${d.duration}". Using default.`), d.duration =
|
|
19889
|
+
return process.env.NODE_ENV !== "production" && (d.duration !== void 0 && (isNaN(d.duration) || !isFinite(d.duration) || d.duration < 0) && (console.warn(`[MessageService] Invalid duration "${d.duration}". Using default.`), d.duration = et.duration), d.position && ![
|
|
19879
19890
|
"top-left",
|
|
19880
19891
|
"top-center",
|
|
19881
19892
|
"top-right",
|
|
@@ -19885,7 +19896,7 @@ class bd {
|
|
|
19885
19896
|
"bottom-left",
|
|
19886
19897
|
"bottom-center",
|
|
19887
19898
|
"bottom-right"
|
|
19888
|
-
].includes(d.position) && (console.warn(`[MessageService] Invalid position "${d.position}". Using default.`), d.position =
|
|
19899
|
+
].includes(d.position) && (console.warn(`[MessageService] Invalid position "${d.position}". Using default.`), d.position = et.position), d.color && !["success", "danger", "info", "warning", "neutral", "brand"].includes(d.color) && console.warn(`[MessageService] Invalid color "${d.color}".`)), this.listeners.forEach((c) => c(d)), o;
|
|
19889
19900
|
}
|
|
19890
19901
|
/**
|
|
19891
19902
|
* Muestra un mensaje de éxito
|
|
@@ -19933,10 +19944,10 @@ class bd {
|
|
|
19933
19944
|
message: "",
|
|
19934
19945
|
title: "",
|
|
19935
19946
|
color: "success",
|
|
19936
|
-
position:
|
|
19947
|
+
position: et.position,
|
|
19937
19948
|
showCloseButton: !0,
|
|
19938
19949
|
isLeaving: !0,
|
|
19939
|
-
variant:
|
|
19950
|
+
variant: et.variant
|
|
19940
19951
|
})
|
|
19941
19952
|
);
|
|
19942
19953
|
}
|
|
@@ -19944,7 +19955,7 @@ class bd {
|
|
|
19944
19955
|
* Configura las opciones por defecto del servicio
|
|
19945
19956
|
*/
|
|
19946
19957
|
configure(t) {
|
|
19947
|
-
Object.assign(
|
|
19958
|
+
Object.assign(et, t);
|
|
19948
19959
|
}
|
|
19949
19960
|
/**
|
|
19950
19961
|
* Obtiene los listeners registrados
|
|
@@ -19979,20 +19990,20 @@ const Ye = new bd(), e0 = () => Ye, go = () => {
|
|
|
19979
19990
|
u && (clearTimeout(u), i.current.delete(l.id));
|
|
19980
19991
|
const m = setTimeout(() => {
|
|
19981
19992
|
t((d) => d.filter((c) => c.id !== l.id));
|
|
19982
|
-
},
|
|
19993
|
+
}, et.animationDuration);
|
|
19983
19994
|
i.current.set(l.id, m);
|
|
19984
19995
|
return;
|
|
19985
19996
|
}
|
|
19986
19997
|
t((u) => {
|
|
19987
19998
|
if (u.some((p) => p.id === l.id)) return u;
|
|
19988
|
-
const d = { ...l, isLeaving: !1 }, c = [...u, d], f = d.duration !== void 0 ? d.duration :
|
|
19999
|
+
const d = { ...l, isLeaving: !1 }, c = [...u, d], f = d.duration !== void 0 ? d.duration : et.duration, h = f > 0 && isFinite(f) && !isNaN(f) ? f : 0;
|
|
19989
20000
|
if (h > 0) {
|
|
19990
20001
|
const p = setTimeout(() => {
|
|
19991
20002
|
Ye.dismiss(d.id);
|
|
19992
20003
|
}, h);
|
|
19993
20004
|
i.current.set(d.id, p);
|
|
19994
20005
|
}
|
|
19995
|
-
return c.slice(-
|
|
20006
|
+
return c.slice(-et.maxMessages);
|
|
19996
20007
|
});
|
|
19997
20008
|
};
|
|
19998
20009
|
return r.current = a, n.push(a), () => {
|
|
@@ -20285,7 +20296,7 @@ const at = new xd(), t0 = () => at, bo = () => {
|
|
|
20285
20296
|
yo.displayName = "MessageItem";
|
|
20286
20297
|
const wr = Te.memo(({ messages: e }) => {
|
|
20287
20298
|
const { getPositionClasses: t } = po();
|
|
20288
|
-
return Object.keys(e).length === 0 ? null : /* @__PURE__ */ s(
|
|
20299
|
+
return Object.keys(e).length === 0 ? null : /* @__PURE__ */ s(Fe, { children: Object.entries(e).map(([i, r]) => {
|
|
20289
20300
|
const o = i;
|
|
20290
20301
|
return process.env.NODE_ENV !== "production" && ![
|
|
20291
20302
|
"top-left",
|
|
@@ -20389,7 +20400,7 @@ const r0 = () => {
|
|
|
20389
20400
|
}, n0 = () => {
|
|
20390
20401
|
const { messagesByPosition: e } = go(), { groups: t } = bo();
|
|
20391
20402
|
return wt(
|
|
20392
|
-
/* @__PURE__ */ P(
|
|
20403
|
+
/* @__PURE__ */ P(Fe, { children: [
|
|
20393
20404
|
/* @__PURE__ */ s(wr, { messages: e }),
|
|
20394
20405
|
/* @__PURE__ */ s(Nr, { groups: t })
|
|
20395
20406
|
] }),
|
|
@@ -20474,12 +20485,12 @@ const r0 = () => {
|
|
|
20474
20485
|
t !== void 0 ? `(${t}) ` : "",
|
|
20475
20486
|
e
|
|
20476
20487
|
] }),
|
|
20477
|
-
v.length > 0 && /* @__PURE__ */ s(
|
|
20488
|
+
v.length > 0 && /* @__PURE__ */ s(Xe, { vertical: !0, className: "ui-h-8 ui-border-on-color ui-opacity-30" }),
|
|
20478
20489
|
/* @__PURE__ */ s("div", { className: "ui-flex ui-min-w-max ui-items-center ui-gap-16", children: v.map((x, I) => {
|
|
20479
20490
|
var O, M, R, V, W;
|
|
20480
20491
|
if (x.type === "input")
|
|
20481
20492
|
return /* @__PURE__ */ s("div", { className: "ui-w-[160px]", children: /* @__PURE__ */ s(
|
|
20482
|
-
|
|
20493
|
+
it,
|
|
20483
20494
|
{
|
|
20484
20495
|
size: "xs",
|
|
20485
20496
|
leftSlot: x.leftSlot,
|
|
@@ -20540,8 +20551,8 @@ const r0 = () => {
|
|
|
20540
20551
|
}
|
|
20541
20552
|
return null;
|
|
20542
20553
|
}) }),
|
|
20543
|
-
r && /* @__PURE__ */ P(
|
|
20544
|
-
/* @__PURE__ */ s(
|
|
20554
|
+
r && /* @__PURE__ */ P(Fe, { children: [
|
|
20555
|
+
/* @__PURE__ */ s(Xe, { vertical: !0, className: "ui-h-8 ui-border-on-color ui-opacity-30" }),
|
|
20545
20556
|
/* @__PURE__ */ s(Ie, { color: "secondary", size: "xs", pill: "pill", icon: vt, onClick: r })
|
|
20546
20557
|
] })
|
|
20547
20558
|
] }), k = () => /* @__PURE__ */ P("div", { className: y, children: [
|
|
@@ -20566,8 +20577,8 @@ const r0 = () => {
|
|
|
20566
20577
|
`button-${I}-${x.label || x.icon}`
|
|
20567
20578
|
);
|
|
20568
20579
|
}) }),
|
|
20569
|
-
r && /* @__PURE__ */ P(
|
|
20570
|
-
/* @__PURE__ */ s(
|
|
20580
|
+
r && /* @__PURE__ */ P(Fe, { children: [
|
|
20581
|
+
/* @__PURE__ */ s(Xe, { vertical: !0, className: "ui-h-8 ui-border-on-color ui-opacity-30" }),
|
|
20571
20582
|
/* @__PURE__ */ s(Ie, { color: "secondary", size: "xs", pill: "pill", icon: vt, onClick: r })
|
|
20572
20583
|
] })
|
|
20573
20584
|
] }), E = (m ? a !== null && b !== null && v.length > 0 : d >= 0 && b !== null && v.length > 0) ? S() : k();
|
|
@@ -21194,7 +21205,7 @@ export {
|
|
|
21194
21205
|
xt as Card,
|
|
21195
21206
|
El as CardsWithAside,
|
|
21196
21207
|
kc as CellRenderer,
|
|
21197
|
-
|
|
21208
|
+
qt as Checkbox,
|
|
21198
21209
|
yc as CheckboxCell,
|
|
21199
21210
|
fo as Code,
|
|
21200
21211
|
Wn as ColorInput,
|
|
@@ -21224,7 +21235,7 @@ export {
|
|
|
21224
21235
|
xc as IconCell,
|
|
21225
21236
|
cr as InlineTooltip,
|
|
21226
21237
|
be as InnerButton,
|
|
21227
|
-
|
|
21238
|
+
it as Input,
|
|
21228
21239
|
Gi as LabelProgress,
|
|
21229
21240
|
au as Lightbox,
|
|
21230
21241
|
$d as LinearGraphic,
|
|
@@ -21279,7 +21290,7 @@ export {
|
|
|
21279
21290
|
wf as RadioButtonGroup,
|
|
21280
21291
|
Nf as Rating,
|
|
21281
21292
|
xi as SelectionCheckbox,
|
|
21282
|
-
|
|
21293
|
+
Xe as Separator,
|
|
21283
21294
|
c0 as Sidebar,
|
|
21284
21295
|
Mi as SidebarDivider,
|
|
21285
21296
|
wd as SidebarMenuGroup,
|
|
@@ -21324,8 +21335,8 @@ export {
|
|
|
21324
21335
|
i0 as Toaster,
|
|
21325
21336
|
br as Toggle,
|
|
21326
21337
|
l0 as Toolbar,
|
|
21327
|
-
|
|
21328
|
-
|
|
21338
|
+
_t as Tooltip,
|
|
21339
|
+
Mt as Visual,
|
|
21329
21340
|
Ol as WeekDay,
|
|
21330
21341
|
yf as Wysiwyg,
|
|
21331
21342
|
Ml as Year,
|