@imj_media/ui 1.2.12 → 1.2.13
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 +53 -0
- package/dist/index.css +1 -1
- package/dist/index.esm.js +873 -774
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/modules/Avatar/components/AvatarStack.d.ts +34 -0
- package/dist/modules/Avatar/components/AvatarStack.d.ts.map +1 -0
- package/dist/modules/Avatar/components/index.d.ts +1 -0
- package/dist/modules/Avatar/components/index.d.ts.map +1 -1
- package/dist/modules/Avatar/constants/index.d.ts +11 -0
- package/dist/modules/Avatar/constants/index.d.ts.map +1 -1
- package/dist/modules/Avatar/index.d.ts +28 -3
- package/dist/modules/Avatar/index.d.ts.map +1 -1
- package/dist/modules/Avatar/stories/avatar.stories.d.ts +2 -1
- package/dist/modules/Avatar/stories/avatar.stories.d.ts.map +1 -1
- package/dist/modules/Avatar/stories/stories/stack.story.d.ts +4 -0
- package/dist/modules/Avatar/stories/stories/stack.story.d.ts.map +1 -0
- package/dist/modules/Avatar/types/index.d.ts +48 -0
- package/dist/modules/Avatar/types/index.d.ts.map +1 -1
- package/dist/modules/Modal/Modal.d.ts.map +1 -1
- package/dist/modules/Modal/components/molecules/ModalBody.d.ts.map +1 -1
- package/dist/modules/Modal/components/molecules/ModalFooter.d.ts.map +1 -1
- package/dist/modules/Modal/context/ModalContext.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as C, jsx as t, Fragment as B1 } from "react/jsx-runtime";
|
|
2
|
-
import T1, { useState as E, useRef as n1, useEffect as K, useCallback as I, useMemo as c1, useImperativeHandle as Te, forwardRef as he, createContext as q0, useContext as U0, useId as
|
|
2
|
+
import T1, { useState as E, useRef as n1, useEffect as K, useCallback as I, useMemo as c1, useImperativeHandle as Te, forwardRef as he, createContext as q0, useContext as U0, useId as tn, memo as W1 } from "react";
|
|
3
3
|
import { clsx as Y0 } from "clsx";
|
|
4
4
|
import { twMerge as G0 } from "tailwind-merge";
|
|
5
|
-
import { FontAwesomeIcon as
|
|
5
|
+
import { FontAwesomeIcon as Ln } from "@fortawesome/react-fontawesome";
|
|
6
6
|
import { cva as k1 } from "class-variance-authority";
|
|
7
|
-
import
|
|
8
|
-
import { faChevronUp as
|
|
7
|
+
import Bn, { createPortal as xe } from "react-dom";
|
|
8
|
+
import { faChevronUp as An, faChevronDown as rn, faXmark as fe, faInfoCircle as Q0, faAngleLeft as on, faAngleRight as an, faAngleDown as Pn, faCalendar as $n, faGripDotsVertical as J0, faFile as X0, faAngleDoubleLeft as K0, faAngleDoubleRight as W0, faListUl as et, faHashtag as nt, faText as tt, faFilter as we, faPlus as it, faBroomWide as rt, faCheck as ot, faGears as at, faEllipsis as ut, faTrash as En, faEdit as Ue, faLock as lt, faUnlock as st, faArrowDownArrowUp as wn, faArrowUp as ct, faArrowDown as dt, faChevronRight as pt, faEmptySet as Ct, faSearch as ht, faSave as bn } from "@fortawesome/pro-regular-svg-icons";
|
|
9
9
|
import { faGripDotsVertical as ft, faTrash as gt, faEye as mt, faUser as Lt } from "@fortawesome/pro-solid-svg-icons";
|
|
10
10
|
import wt from "lottie-react";
|
|
11
11
|
import { Prism as bt } from "react-syntax-highlighter";
|
|
12
12
|
import { dark as xt, prism as vt, materialLight as yt, materialDark as Mt, atomDark as jt, oneLight as Vt, oneDark as Ht, tomorrow as kt, dracula as Ot } from "react-syntax-highlighter/dist/esm/styles/prism";
|
|
13
|
-
import { useQuery as
|
|
13
|
+
import { useQuery as un, useQueryClient as Be, keepPreviousData as St, useMutation as zn, QueryClient as Fn, QueryClientProvider as Nt } from "@tanstack/react-query";
|
|
14
14
|
function N(...i) {
|
|
15
15
|
return G0(Y0(i));
|
|
16
16
|
}
|
|
@@ -39,7 +39,7 @@ const Me = {
|
|
|
39
39
|
md: 20,
|
|
40
40
|
lg: 24,
|
|
41
41
|
xl: 32
|
|
42
|
-
},
|
|
42
|
+
}, Ye = {
|
|
43
43
|
xs: "ui-p-6",
|
|
44
44
|
sm: "ui-p-4",
|
|
45
45
|
md: "ui-p-8",
|
|
@@ -17642,7 +17642,7 @@ function u4({
|
|
|
17642
17642
|
}
|
|
17643
17643
|
);
|
|
17644
17644
|
}
|
|
17645
|
-
const
|
|
17645
|
+
const Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17646
17646
|
__proto__: null,
|
|
17647
17647
|
AaeeOutlined: cr,
|
|
17648
17648
|
AaeeSlashOutlined: Io,
|
|
@@ -18292,7 +18292,7 @@ function f4({ width: i = 24, height: r = 24, fill: o, stroke: e }) {
|
|
|
18292
18292
|
}
|
|
18293
18293
|
);
|
|
18294
18294
|
}
|
|
18295
|
-
const
|
|
18295
|
+
const Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18296
18296
|
__proto__: null,
|
|
18297
18297
|
FacebookFill: p4,
|
|
18298
18298
|
InstagramFill: s4,
|
|
@@ -18336,10 +18336,10 @@ function g4({
|
|
|
18336
18336
|
SquareOutlined: "SquareTextOutlined"
|
|
18337
18337
|
// Usar SquareText como Square
|
|
18338
18338
|
}, h = typeof i == "string" ? i : "", f = c[h] || h;
|
|
18339
|
-
let g =
|
|
18340
|
-
if (g || (g =
|
|
18339
|
+
let g = Ge[f];
|
|
18340
|
+
if (g || (g = Rn[f]), !g)
|
|
18341
18341
|
return console.warn(`Icono legacy "${i}" no encontrado en ninguna variante`), null;
|
|
18342
|
-
const v = g ===
|
|
18342
|
+
const v = g === Ge[f] ? "outline" : "fill", L = It[r], j = Me[o === "current" && v === "fill" ? "white" : o] || Me.blue, V = Me[e] || Me.black, m = /* @__PURE__ */ t(
|
|
18343
18343
|
g,
|
|
18344
18344
|
{
|
|
18345
18345
|
width: L,
|
|
@@ -18360,7 +18360,7 @@ function g4({
|
|
|
18360
18360
|
className: N(
|
|
18361
18361
|
n,
|
|
18362
18362
|
"ui-inline-block ui-cursor-pointer ui-rounded-control-pill ui-p-1 ui-transition-all ui-duration-200",
|
|
18363
|
-
a ? `ui-rounded-control-pill ui-bg-surface-all-colors-blue ${
|
|
18363
|
+
a ? `ui-rounded-control-pill ui-bg-surface-all-colors-blue ${Ye[u]}` : "",
|
|
18364
18364
|
"hover:ui-bg-[rgba(0,0,0,0.15)] hover:ui-shadow-[0_4px_12px_rgba(0,0,0,0.15)]",
|
|
18365
18365
|
be[d]
|
|
18366
18366
|
),
|
|
@@ -18375,14 +18375,14 @@ function g4({
|
|
|
18375
18375
|
className: N(
|
|
18376
18376
|
n,
|
|
18377
18377
|
"ui-inline-block",
|
|
18378
|
-
a ? `ui-rounded-control-pill ui-bg-surface-all-colors-blue ${
|
|
18378
|
+
a ? `ui-rounded-control-pill ui-bg-surface-all-colors-blue ${Ye[u]}` : "",
|
|
18379
18379
|
be[d]
|
|
18380
18380
|
),
|
|
18381
18381
|
children: m
|
|
18382
18382
|
}
|
|
18383
18383
|
);
|
|
18384
18384
|
}
|
|
18385
|
-
const
|
|
18385
|
+
const xn = {
|
|
18386
18386
|
// Colores base
|
|
18387
18387
|
current: "currentColor",
|
|
18388
18388
|
default: "var(--ui-color-icon-default)",
|
|
@@ -18413,7 +18413,7 @@ const Ln = {
|
|
|
18413
18413
|
}, c = {
|
|
18414
18414
|
...a
|
|
18415
18415
|
};
|
|
18416
|
-
u && (c["--fa-primary-color"] =
|
|
18416
|
+
u && (c["--fa-primary-color"] = xn[u]), l && (c["--fa-secondary-color"] = xn[l]), s !== void 0 && (c["--fa-primary-opacity"] = s.toString()), p !== void 0 && (c["--fa-secondary-opacity"] = p.toString());
|
|
18417
18417
|
const h = k1("ui-transition-all ui-duration-200 ui-ease-in-out group-disabled:ui-text-disabled", {
|
|
18418
18418
|
variants: {
|
|
18419
18419
|
size: {
|
|
@@ -18461,9 +18461,9 @@ const Ln = {
|
|
|
18461
18461
|
"ui-inline-block ui-cursor-pointer ui-rounded-control-pill ui-p-1 ui-transition-all ui-duration-200",
|
|
18462
18462
|
"hover:ui-bg-[rgba(0,0,0,0.15)] hover:ui-shadow-[0_4px_12px_rgba(0,0,0,0.15)]"
|
|
18463
18463
|
),
|
|
18464
|
-
children: /* @__PURE__ */ t(
|
|
18464
|
+
children: /* @__PURE__ */ t(Ln, { icon: r, className: f, style: c })
|
|
18465
18465
|
}
|
|
18466
|
-
) : /* @__PURE__ */ t(
|
|
18466
|
+
) : /* @__PURE__ */ t(Ln, { icon: r, className: f, style: c });
|
|
18467
18467
|
};
|
|
18468
18468
|
function p1({
|
|
18469
18469
|
name: i,
|
|
@@ -18487,7 +18487,7 @@ function p1({
|
|
|
18487
18487
|
return console.log(p, be[p]), L(i) ? /* @__PURE__ */ t("div", { className: N(
|
|
18488
18488
|
"ui-w-fit ui-leading-[0]",
|
|
18489
18489
|
be[p],
|
|
18490
|
-
a ? `ui-rounded-control-pill ui-bg-surface-all-colors-blue ${p !== "none" ? be[p] :
|
|
18490
|
+
a ? `ui-rounded-control-pill ui-bg-surface-all-colors-blue ${p !== "none" ? be[p] : Ye[r]}` : ""
|
|
18491
18491
|
), children: /* @__PURE__ */ t(
|
|
18492
18492
|
m4,
|
|
18493
18493
|
{
|
|
@@ -18518,7 +18518,7 @@ function p1({
|
|
|
18518
18518
|
}
|
|
18519
18519
|
);
|
|
18520
18520
|
}
|
|
18521
|
-
const
|
|
18521
|
+
const _n = ({
|
|
18522
18522
|
label: i = "",
|
|
18523
18523
|
color: r = "accent",
|
|
18524
18524
|
theme: o = "solid",
|
|
@@ -18643,7 +18643,7 @@ const zn = ({
|
|
|
18643
18643
|
]
|
|
18644
18644
|
}
|
|
18645
18645
|
);
|
|
18646
|
-
},
|
|
18646
|
+
}, qn = "UserOutlined", ln = "blue", sn = "solid", Ae = "md", L4 = {
|
|
18647
18647
|
blue: "ui-bg-fill-all-colors-blue ui-text-on-color",
|
|
18648
18648
|
red: "ui-bg-fill-all-colors-red ui-text-on-color",
|
|
18649
18649
|
orange: "ui-bg-fill-all-colors-orange ui-text-on-color",
|
|
@@ -18655,7 +18655,7 @@ const zn = ({
|
|
|
18655
18655
|
violet: "ui-bg-fill-all-colors-violet ui-text-on-color",
|
|
18656
18656
|
magenta: "ui-bg-fill-all-colors-magenta ui-text-on-color",
|
|
18657
18657
|
rose: "ui-bg-fill-all-colors-rose ui-text-on-color"
|
|
18658
|
-
},
|
|
18658
|
+
}, Qe = {
|
|
18659
18659
|
blue: "ui-bg-surface-all-colors-blue ui-text-icon-allColors-blue",
|
|
18660
18660
|
red: "ui-bg-surface-all-colors-red ui-text-icon-allColors-red",
|
|
18661
18661
|
orange: "ui-bg-surface-all-colors-orange ui-text-icon-allColors-orange",
|
|
@@ -18667,8 +18667,8 @@ const zn = ({
|
|
|
18667
18667
|
violet: "ui-bg-surface-all-colors-violet ui-text-icon-allColors-violet",
|
|
18668
18668
|
magenta: "ui-bg-surface-all-colors-magenta ui-text-icon-allColors-magenta",
|
|
18669
18669
|
rose: "ui-bg-surface-all-colors-rose ui-text-icon-allColors-rose"
|
|
18670
|
-
},
|
|
18671
|
-
...
|
|
18670
|
+
}, vn = {
|
|
18671
|
+
...Qe,
|
|
18672
18672
|
// Marca temporal para resaltar letras en tema soft
|
|
18673
18673
|
blue: "ui-bg-surface-all-colors-blue ui-text-icon-allColors-blue",
|
|
18674
18674
|
red: "ui-bg-surface-all-colors-red ui-text-icon-allColors-red",
|
|
@@ -18688,14 +18688,14 @@ const zn = ({
|
|
|
18688
18688
|
md: "ui-w-40 ui-h-40 ui-text-body-md-regular ui-font-body-md-regular",
|
|
18689
18689
|
lg: "ui-w-48 ui-h-48 ui-text-body-lg-regular ui-font-body-lg-regular",
|
|
18690
18690
|
xl: "ui-w-64 ui-h-64 ui-text-heading-h2 ui-font-heading-h1"
|
|
18691
|
-
},
|
|
18691
|
+
}, Un = {
|
|
18692
18692
|
xxs: "xs",
|
|
18693
18693
|
xs: "sm",
|
|
18694
18694
|
sm: "md",
|
|
18695
18695
|
md: "lg",
|
|
18696
18696
|
lg: "xl",
|
|
18697
18697
|
xl: "2xl"
|
|
18698
|
-
}, je = "ui-border-1",
|
|
18698
|
+
}, je = "ui-border-1", yn = "ui-border", Mn = {
|
|
18699
18699
|
blue: "ui-border-all-colors-blue",
|
|
18700
18700
|
red: "ui-border-all-colors-red",
|
|
18701
18701
|
orange: "ui-border-all-colors-orange",
|
|
@@ -18719,21 +18719,21 @@ const zn = ({
|
|
|
18719
18719
|
violet: "ui-border-fill-all-colors-violet",
|
|
18720
18720
|
magenta: "ui-border-fill-all-colors-magenta",
|
|
18721
18721
|
rose: "ui-border-fill-all-colors-rose"
|
|
18722
|
-
}, x4 = "ui-rounded-control-pill",
|
|
18722
|
+
}, x4 = "ui-rounded-control-pill", jn = "ui-rounded-[10px]", v4 = {
|
|
18723
18723
|
xxs: "ui-rounded-[6px]",
|
|
18724
18724
|
xs: "ui-rounded-[8px]"
|
|
18725
|
-
}, y4 = 3, M4 = "ui-opacity-50 ui-cursor-not-allowed", j4 = "ui-grayscale",
|
|
18725
|
+
}, y4 = 3, M4 = "ui-opacity-50 ui-cursor-not-allowed", j4 = "ui-grayscale", Vn = "ui-bg-fill-disabled", V4 = "ui-mix-blend-luminosity", Yn = (i, r, o, e = !1) => e ? o === "letter" ? vn[i] : Qe[i] : r === "solid" ? L4[i] : o === "letter" ? vn[i] : Qe[i], H4 = (i) => w4[i], k4 = (i, r, o, e, n = !1) => {
|
|
18726
18726
|
if (!i) return "";
|
|
18727
18727
|
if (r === "people")
|
|
18728
|
-
return N(je,
|
|
18728
|
+
return N(je, yn);
|
|
18729
18729
|
if ((r === "icon" || r === "letter") && o) {
|
|
18730
18730
|
if (n)
|
|
18731
|
-
return N(je,
|
|
18732
|
-
const a = e === "soft" ?
|
|
18731
|
+
return N(je, Mn[o]);
|
|
18732
|
+
const a = e === "soft" ? Mn[o] : b4[o];
|
|
18733
18733
|
return N(je, a);
|
|
18734
18734
|
}
|
|
18735
|
-
return N(je,
|
|
18736
|
-
},
|
|
18735
|
+
return N(je, yn);
|
|
18736
|
+
}, Gn = (i, r) => i ? x4 : r ? v4[r] ?? jn : jn, Se = (i, r, o, e, n, a, u, l, s) => N(
|
|
18737
18737
|
// Layout base
|
|
18738
18738
|
"ui-flex ui-items-center ui-justify-center",
|
|
18739
18739
|
// Tipografía
|
|
@@ -18743,7 +18743,7 @@ const zn = ({
|
|
|
18743
18743
|
// Borde
|
|
18744
18744
|
k4(r, u, l, s, e),
|
|
18745
18745
|
// Forma (con overflow-hidden para que funcione correctamente en imágenes)
|
|
18746
|
-
|
|
18746
|
+
Gn(o, i),
|
|
18747
18747
|
!o && "ui-overflow-hidden",
|
|
18748
18748
|
// Overflow hidden solo cuando no es pill para que el border-radius funcione
|
|
18749
18749
|
// Estado disabled
|
|
@@ -18751,7 +18751,7 @@ const zn = ({
|
|
|
18751
18751
|
e && n && j4,
|
|
18752
18752
|
// Clases personalizadas
|
|
18753
18753
|
a
|
|
18754
|
-
), O4 = (i, r = y4) => i.slice(0, r).toUpperCase(),
|
|
18754
|
+
), O4 = (i, r = y4) => i.slice(0, r).toUpperCase(), Pe = (i) => {
|
|
18755
18755
|
try {
|
|
18756
18756
|
return new URL(i), !0;
|
|
18757
18757
|
} catch {
|
|
@@ -18760,7 +18760,7 @@ const zn = ({
|
|
|
18760
18760
|
}, S4 = ({
|
|
18761
18761
|
src: i,
|
|
18762
18762
|
alt: r = "Avatar",
|
|
18763
|
-
size: o =
|
|
18763
|
+
size: o = Ae,
|
|
18764
18764
|
stroke: e = !1,
|
|
18765
18765
|
pill: n = !0,
|
|
18766
18766
|
disabled: a = !1,
|
|
@@ -18773,7 +18773,7 @@ const zn = ({
|
|
|
18773
18773
|
c(!0), p(!1), h.current && clearTimeout(h.current);
|
|
18774
18774
|
};
|
|
18775
18775
|
if (K(() => {
|
|
18776
|
-
if (h.current && clearTimeout(h.current), !i || !
|
|
18776
|
+
if (h.current && clearTimeout(h.current), !i || !Pe(i)) {
|
|
18777
18777
|
p(!0), c(!1);
|
|
18778
18778
|
return;
|
|
18779
18779
|
}
|
|
@@ -18791,14 +18791,14 @@ const zn = ({
|
|
|
18791
18791
|
}, [i]), !!!(i && !s && d)) {
|
|
18792
18792
|
const w = N(
|
|
18793
18793
|
Se(o, e, n, a, u, l, "people"),
|
|
18794
|
-
a ?
|
|
18794
|
+
a ? Vn : "ui-bg-surface-disabled",
|
|
18795
18795
|
"ui-text-disabled"
|
|
18796
|
-
), j =
|
|
18797
|
-
return /* @__PURE__ */ t("div", { className: w, children: /* @__PURE__ */ t(p1, { name:
|
|
18796
|
+
), j = Un[o];
|
|
18797
|
+
return /* @__PURE__ */ t("div", { className: w, children: /* @__PURE__ */ t(p1, { name: qn, size: j, color: "current" }) });
|
|
18798
18798
|
}
|
|
18799
18799
|
const L = N(
|
|
18800
18800
|
Se(o, e, n, a, u, l, "people"),
|
|
18801
|
-
a &&
|
|
18801
|
+
a && Vn
|
|
18802
18802
|
);
|
|
18803
18803
|
return /* @__PURE__ */ t("div", { className: L, children: /* @__PURE__ */ t(
|
|
18804
18804
|
"img",
|
|
@@ -18807,7 +18807,7 @@ const zn = ({
|
|
|
18807
18807
|
alt: r,
|
|
18808
18808
|
className: N(
|
|
18809
18809
|
"ui-w-full ui-h-full ui-object-cover",
|
|
18810
|
-
|
|
18810
|
+
Gn(n, o),
|
|
18811
18811
|
// Aplicar border-radius también a la imagen según tamaño
|
|
18812
18812
|
!n && "ui-overflow-hidden",
|
|
18813
18813
|
a && u && V4
|
|
@@ -18818,16 +18818,16 @@ const zn = ({
|
|
|
18818
18818
|
}
|
|
18819
18819
|
) });
|
|
18820
18820
|
}, N4 = ({
|
|
18821
|
-
theme: i =
|
|
18822
|
-
color: r =
|
|
18823
|
-
size: o =
|
|
18821
|
+
theme: i = sn,
|
|
18822
|
+
color: r = ln,
|
|
18823
|
+
size: o = Ae,
|
|
18824
18824
|
stroke: e = !1,
|
|
18825
18825
|
pill: n = !0,
|
|
18826
18826
|
disabled: a = !1,
|
|
18827
18827
|
grayscaleWhenDisabled: u = !0,
|
|
18828
18828
|
className: l
|
|
18829
18829
|
}) => {
|
|
18830
|
-
const s =
|
|
18830
|
+
const s = Yn(r, i, "icon", a), p = Un[o];
|
|
18831
18831
|
return /* @__PURE__ */ t(
|
|
18832
18832
|
"div",
|
|
18833
18833
|
{
|
|
@@ -18835,21 +18835,21 @@ const zn = ({
|
|
|
18835
18835
|
Se(o, e, n, a, u, l, "icon", r, i),
|
|
18836
18836
|
s
|
|
18837
18837
|
),
|
|
18838
|
-
children: /* @__PURE__ */ t(p1, { name:
|
|
18838
|
+
children: /* @__PURE__ */ t(p1, { name: qn, size: p, color: "current" })
|
|
18839
18839
|
}
|
|
18840
18840
|
);
|
|
18841
18841
|
}, I4 = ({
|
|
18842
18842
|
text: i,
|
|
18843
|
-
theme: r =
|
|
18844
|
-
color: o =
|
|
18845
|
-
size: e =
|
|
18843
|
+
theme: r = sn,
|
|
18844
|
+
color: o = ln,
|
|
18845
|
+
size: e = Ae,
|
|
18846
18846
|
stroke: n = !1,
|
|
18847
18847
|
pill: a = !0,
|
|
18848
18848
|
disabled: u = !1,
|
|
18849
18849
|
grayscaleWhenDisabled: l = !0,
|
|
18850
18850
|
className: s
|
|
18851
18851
|
}) => {
|
|
18852
|
-
const p =
|
|
18852
|
+
const p = Yn(o, r, "letter", u), d = O4(i);
|
|
18853
18853
|
return /* @__PURE__ */ t(
|
|
18854
18854
|
"div",
|
|
18855
18855
|
{
|
|
@@ -18860,18 +18860,97 @@ const zn = ({
|
|
|
18860
18860
|
children: d
|
|
18861
18861
|
}
|
|
18862
18862
|
);
|
|
18863
|
-
},
|
|
18864
|
-
|
|
18863
|
+
}, Z4 = ({
|
|
18864
|
+
stack: i,
|
|
18865
|
+
size: r = Ae,
|
|
18866
|
+
className: o,
|
|
18867
|
+
maxVisible: e,
|
|
18868
|
+
counterColor: n = ln,
|
|
18869
|
+
counterTheme: a = sn,
|
|
18870
|
+
stroke: u = !1
|
|
18871
|
+
}) => {
|
|
18872
|
+
if (!i || i.length === 0)
|
|
18873
|
+
return null;
|
|
18874
|
+
let l = i, s = 0;
|
|
18875
|
+
e !== void 0 && e > 0 && i.length > e && (l = i.slice(0, e), s = i.length - e);
|
|
18876
|
+
const p = {
|
|
18877
|
+
xxs: -8,
|
|
18878
|
+
xs: -12,
|
|
18879
|
+
sm: -16,
|
|
18880
|
+
md: -20,
|
|
18881
|
+
lg: -24,
|
|
18882
|
+
xl: -32
|
|
18883
|
+
}, d = {
|
|
18884
|
+
xxs: 8,
|
|
18885
|
+
xs: 12,
|
|
18886
|
+
sm: 16,
|
|
18887
|
+
md: 20,
|
|
18888
|
+
lg: 24,
|
|
18889
|
+
xl: 32
|
|
18890
|
+
};
|
|
18891
|
+
return /* @__PURE__ */ C(
|
|
18892
|
+
"div",
|
|
18893
|
+
{
|
|
18894
|
+
className: N(
|
|
18895
|
+
"ui-flex ui-items-center",
|
|
18896
|
+
o
|
|
18897
|
+
),
|
|
18898
|
+
style: { paddingRight: `${d[r]}px` },
|
|
18899
|
+
children: [
|
|
18900
|
+
l.map((c, h) => {
|
|
18901
|
+
const f = c.size || r;
|
|
18902
|
+
let g = c;
|
|
18903
|
+
return "src" in c && c.src && (g = {
|
|
18904
|
+
...c,
|
|
18905
|
+
type: "people"
|
|
18906
|
+
}), u && (g = {
|
|
18907
|
+
...g,
|
|
18908
|
+
stroke: !0
|
|
18909
|
+
}), /* @__PURE__ */ t(
|
|
18910
|
+
"div",
|
|
18911
|
+
{
|
|
18912
|
+
className: "ui-shrink-0",
|
|
18913
|
+
style: h < l.length - 1 || s > 0 ? { marginRight: `${p[r]}px` } : void 0,
|
|
18914
|
+
children: /* @__PURE__ */ t(oe, { ...g, size: f })
|
|
18915
|
+
},
|
|
18916
|
+
h
|
|
18917
|
+
);
|
|
18918
|
+
}),
|
|
18919
|
+
s > 0 && /* @__PURE__ */ t(
|
|
18920
|
+
"div",
|
|
18921
|
+
{
|
|
18922
|
+
className: "ui-shrink-0",
|
|
18923
|
+
children: /* @__PURE__ */ t(
|
|
18924
|
+
oe,
|
|
18925
|
+
{
|
|
18926
|
+
type: "letter",
|
|
18927
|
+
text: `+${s}`,
|
|
18928
|
+
size: r,
|
|
18929
|
+
theme: a,
|
|
18930
|
+
color: n,
|
|
18931
|
+
stroke: u
|
|
18932
|
+
}
|
|
18933
|
+
)
|
|
18934
|
+
}
|
|
18935
|
+
)
|
|
18936
|
+
]
|
|
18937
|
+
}
|
|
18938
|
+
);
|
|
18939
|
+
}, oe = (i) => {
|
|
18940
|
+
if ("stack" in i && i.stack)
|
|
18941
|
+
return /* @__PURE__ */ t(Z4, { ...i });
|
|
18942
|
+
const r = i;
|
|
18943
|
+
switch (r.type) {
|
|
18865
18944
|
case "people":
|
|
18866
|
-
return /* @__PURE__ */ t(S4, { ...
|
|
18945
|
+
return /* @__PURE__ */ t(S4, { ...r });
|
|
18867
18946
|
case "icon":
|
|
18868
|
-
return /* @__PURE__ */ t(N4, { ...
|
|
18947
|
+
return /* @__PURE__ */ t(N4, { ...r });
|
|
18869
18948
|
case "letter":
|
|
18870
|
-
return /* @__PURE__ */ t(I4, { ...
|
|
18949
|
+
return /* @__PURE__ */ t(I4, { ...r });
|
|
18871
18950
|
default:
|
|
18872
18951
|
return null;
|
|
18873
18952
|
}
|
|
18874
|
-
},
|
|
18953
|
+
}, Qn = {
|
|
18875
18954
|
// Emociones
|
|
18876
18955
|
feliz: "😊",
|
|
18877
18956
|
triste: "😢",
|
|
@@ -19144,8 +19223,8 @@ const zn = ({
|
|
|
19144
19223
|
tiro: "🎯",
|
|
19145
19224
|
esgrima: "🤺",
|
|
19146
19225
|
boxeo: "🥊"
|
|
19147
|
-
},
|
|
19148
|
-
const e =
|
|
19226
|
+
}, D4 = ({ name: i, size: r, className: o }) => {
|
|
19227
|
+
const e = Qn[i], n = k1(`ui-inline-block ui-leading-none ${o}`, {
|
|
19149
19228
|
variants: {
|
|
19150
19229
|
size: {
|
|
19151
19230
|
xxs: "ui-text-body-xs-regular",
|
|
@@ -19160,11 +19239,11 @@ const zn = ({
|
|
|
19160
19239
|
}
|
|
19161
19240
|
});
|
|
19162
19241
|
return /* @__PURE__ */ t("span", { className: n({ size: r }), role: "img", "aria-label": i, children: e });
|
|
19163
|
-
},
|
|
19242
|
+
}, cn = (i, r, o) => {
|
|
19164
19243
|
const e = Array.from(i), [n] = e.splice(r, 1);
|
|
19165
19244
|
return e.splice(o, 0, n), e;
|
|
19166
|
-
},
|
|
19167
|
-
function
|
|
19245
|
+
}, cl = (i, r, o) => r === o || r < 0 || r >= i.length || o < 0 || o >= i.length ? i : cn(i, r, o), dl = (i, r, o = "id") => i.findIndex((e) => e[o] === r);
|
|
19246
|
+
function pl(i, r) {
|
|
19168
19247
|
let o = !1, e;
|
|
19169
19248
|
return function(...n) {
|
|
19170
19249
|
return o || (o = !0, e = i.apply(this, n), setTimeout(() => {
|
|
@@ -19172,7 +19251,7 @@ function dl(i, r) {
|
|
|
19172
19251
|
}, r)), e;
|
|
19173
19252
|
};
|
|
19174
19253
|
}
|
|
19175
|
-
function
|
|
19254
|
+
function Cl(i, r) {
|
|
19176
19255
|
let o = !1, e = null;
|
|
19177
19256
|
return function(...n) {
|
|
19178
19257
|
e = n, o || (i.apply(this, n), o = !0, e = null, setTimeout(() => {
|
|
@@ -19180,7 +19259,7 @@ function pl(i, r) {
|
|
|
19180
19259
|
}, r));
|
|
19181
19260
|
};
|
|
19182
19261
|
}
|
|
19183
|
-
const
|
|
19262
|
+
const T4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
19184
19263
|
const [a, u] = E(!1), [l, s] = E({ top: 0, left: 0 }), [p, d] = E({ width: 0, height: 0 }), [c, h] = E(i), f = n1(null), g = n1(null), v = n1(null), L = n1(null), w = n1(null), j = n1(null), V = n1(null), S = n1({ top: 0, left: 0 }), m = n1({ count: 0, lastTime: 0 }), x = I(() => {
|
|
19185
19264
|
u(!1), s({ top: 0, left: 0 }), h(i), V.current = null, m.current.count = 0, m.current.lastTime = 0, S.current = { top: 0, left: 0 };
|
|
19186
19265
|
}, [i]), H = I(() => {
|
|
@@ -19425,7 +19504,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19425
19504
|
handleMouseLeave: O,
|
|
19426
19505
|
calculatePosition: y
|
|
19427
19506
|
};
|
|
19428
|
-
},
|
|
19507
|
+
}, B4 = (i) => c1(() => {
|
|
19429
19508
|
const u = {
|
|
19430
19509
|
position: "absolute",
|
|
19431
19510
|
width: "8px",
|
|
@@ -19521,7 +19600,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19521
19600
|
default:
|
|
19522
19601
|
return {};
|
|
19523
19602
|
}
|
|
19524
|
-
}, [i]),
|
|
19603
|
+
}, [i]), A4 = (i = !1) => c1(() => `${i ? "ui-absolute" : "ui-fixed"} ui-z-[9999] ui-px-8 ui-py-4 ui-rounded-control-sm ui-text-body-xs-regular ui-leading-relaxed ui-max-w-[300px] ui-break-words ui-shadow-lg ui-transition-opacity ui-duration-150 ui-ease-in-out ui-text-on-color ui-bg-primary`, [i]), P4 = ({
|
|
19525
19604
|
children: i,
|
|
19526
19605
|
label: r,
|
|
19527
19606
|
position: o = "top",
|
|
@@ -19545,7 +19624,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19545
19624
|
containerRef: j,
|
|
19546
19625
|
handleMouseEnter: V,
|
|
19547
19626
|
handleMouseLeave: S
|
|
19548
|
-
} =
|
|
19627
|
+
} = T4(o, e, c, a, u), m = A4(c), x = B4(v);
|
|
19549
19628
|
return /* @__PURE__ */ C("div", { ref: j, className: c ? "ui-relative" : "ui-contents", children: [
|
|
19550
19629
|
/* @__PURE__ */ t(
|
|
19551
19630
|
"div",
|
|
@@ -19612,7 +19691,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19612
19691
|
document.body
|
|
19613
19692
|
))
|
|
19614
19693
|
] });
|
|
19615
|
-
},
|
|
19694
|
+
}, Je = ({
|
|
19616
19695
|
children: i,
|
|
19617
19696
|
label: r,
|
|
19618
19697
|
position: o = "top",
|
|
@@ -19626,7 +19705,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19626
19705
|
absolute: d = !1,
|
|
19627
19706
|
...c
|
|
19628
19707
|
}) => u || !r ? i : /* @__PURE__ */ t(
|
|
19629
|
-
|
|
19708
|
+
P4,
|
|
19630
19709
|
{
|
|
19631
19710
|
...c,
|
|
19632
19711
|
label: r,
|
|
@@ -19641,7 +19720,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19641
19720
|
arrowClassName: p,
|
|
19642
19721
|
absolute: d
|
|
19643
19722
|
}
|
|
19644
|
-
),
|
|
19723
|
+
), $4 = (i) => i ? i.startsWith("data:") || i.startsWith("blob:") ? !0 : Pe(i) : !1, K1 = ({
|
|
19645
19724
|
slot: i,
|
|
19646
19725
|
className: r,
|
|
19647
19726
|
colorIcon: o,
|
|
@@ -19660,7 +19739,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19660
19739
|
tooltipDelay: v = 0,
|
|
19661
19740
|
tooltipDisabled: L = !1
|
|
19662
19741
|
}) => {
|
|
19663
|
-
const w = typeof i == "string" && i in
|
|
19742
|
+
const w = typeof i == "string" && i in Qn, j = typeof i == "string" && (i in Ge || i in Rn), V = n ? "xxs" : e ?? "xxs", S = (x) => typeof x == "object" && "icon" in x, m = () => {
|
|
19664
19743
|
if (j || S(i))
|
|
19665
19744
|
return /* @__PURE__ */ t(
|
|
19666
19745
|
p1,
|
|
@@ -19678,11 +19757,11 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19678
19757
|
}
|
|
19679
19758
|
);
|
|
19680
19759
|
if (w)
|
|
19681
|
-
return /* @__PURE__ */ t(
|
|
19760
|
+
return /* @__PURE__ */ t(D4, { name: i, size: n ? "sm" : e, className: r });
|
|
19682
19761
|
if (typeof i == "string") {
|
|
19683
|
-
if (
|
|
19762
|
+
if ($4(i))
|
|
19684
19763
|
return /* @__PURE__ */ t(
|
|
19685
|
-
|
|
19764
|
+
oe,
|
|
19686
19765
|
{
|
|
19687
19766
|
type: "people",
|
|
19688
19767
|
src: i,
|
|
@@ -19692,7 +19771,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19692
19771
|
);
|
|
19693
19772
|
const x = (l || i || "?").toString();
|
|
19694
19773
|
return /* @__PURE__ */ t(
|
|
19695
|
-
|
|
19774
|
+
oe,
|
|
19696
19775
|
{
|
|
19697
19776
|
type: "letter",
|
|
19698
19777
|
text: x,
|
|
@@ -19704,7 +19783,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19704
19783
|
return null;
|
|
19705
19784
|
};
|
|
19706
19785
|
return h ? /* @__PURE__ */ t(
|
|
19707
|
-
|
|
19786
|
+
Je,
|
|
19708
19787
|
{
|
|
19709
19788
|
label: h,
|
|
19710
19789
|
position: f,
|
|
@@ -19714,7 +19793,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19714
19793
|
children: m()
|
|
19715
19794
|
}
|
|
19716
19795
|
) : m();
|
|
19717
|
-
},
|
|
19796
|
+
}, E4 = (i) => typeof i == "object" && i !== null && "icon" in i, Le = (i, r, o, e, n = !1) => {
|
|
19718
19797
|
const a = i !== "button", u = (s, p) => n ? p : s, l = {
|
|
19719
19798
|
solid: {
|
|
19720
19799
|
primary: `${u("ui-bg-fill-brand", "ui-bg-fill-brand-selected")} ui-text-on-color ${o ?? a ? "ui-border-brand" : "ui-border-transparent"} ${r ? "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
|
|
@@ -19860,8 +19939,8 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19860
19939
|
]
|
|
19861
19940
|
}
|
|
19862
19941
|
),
|
|
19863
|
-
u && d && /* @__PURE__ */ t(
|
|
19864
|
-
!d && f && (typeof f == "string" ||
|
|
19942
|
+
u && d && /* @__PURE__ */ t(_n, { color: u, label: l }),
|
|
19943
|
+
!d && f && (typeof f == "string" || E4(f) ? /* @__PURE__ */ t(
|
|
19865
19944
|
p1,
|
|
19866
19945
|
{
|
|
19867
19946
|
className: I1,
|
|
@@ -19957,7 +20036,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19957
20036
|
children: D1()
|
|
19958
20037
|
}
|
|
19959
20038
|
) : F === "div" ? /* @__PURE__ */ t(
|
|
19960
|
-
|
|
20039
|
+
Je,
|
|
19961
20040
|
{
|
|
19962
20041
|
label: $,
|
|
19963
20042
|
position: Y,
|
|
@@ -19977,7 +20056,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19977
20056
|
)
|
|
19978
20057
|
}
|
|
19979
20058
|
) : /* @__PURE__ */ t(
|
|
19980
|
-
|
|
20059
|
+
Je,
|
|
19981
20060
|
{
|
|
19982
20061
|
label: $,
|
|
19983
20062
|
position: Y,
|
|
@@ -19998,7 +20077,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19998
20077
|
)
|
|
19999
20078
|
}
|
|
20000
20079
|
);
|
|
20001
|
-
},
|
|
20080
|
+
}, z4 = ({
|
|
20002
20081
|
title: i,
|
|
20003
20082
|
subtitle: r,
|
|
20004
20083
|
open: o,
|
|
@@ -20020,11 +20099,11 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20020
20099
|
color: "tertiary",
|
|
20021
20100
|
pill: "pill",
|
|
20022
20101
|
onClick: () => e(!o),
|
|
20023
|
-
icon: o ?
|
|
20102
|
+
icon: o ? An : rn,
|
|
20024
20103
|
className: "!ui-w-icon-md !ui-h-icon-md"
|
|
20025
20104
|
}
|
|
20026
20105
|
) })
|
|
20027
|
-
] }),
|
|
20106
|
+
] }), F4 = ({ children: i, open: r }) => {
|
|
20028
20107
|
if (r)
|
|
20029
20108
|
return /* @__PURE__ */ t(
|
|
20030
20109
|
"div",
|
|
@@ -20034,7 +20113,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20034
20113
|
children: i
|
|
20035
20114
|
}
|
|
20036
20115
|
);
|
|
20037
|
-
},
|
|
20116
|
+
}, R4 = ({
|
|
20038
20117
|
title: i,
|
|
20039
20118
|
subtitle: r,
|
|
20040
20119
|
children: o,
|
|
@@ -20051,7 +20130,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20051
20130
|
className: `ui-w-full ui-overflow-hidden ui-rounded-control-sm ui-border-1 ui-box-border ui-flex ui-flex-col ui-gap-12 ui-items-start ui-p-12 ${l || !o ? "ui-bg-surface-disabled ui-border-disabled" : "ui-bg-surface ui-border"} ${n}`,
|
|
20052
20131
|
children: [
|
|
20053
20132
|
/* @__PURE__ */ t(
|
|
20054
|
-
|
|
20133
|
+
z4,
|
|
20055
20134
|
{
|
|
20056
20135
|
open: s,
|
|
20057
20136
|
title: i,
|
|
@@ -20062,12 +20141,12 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20062
20141
|
disabled: l
|
|
20063
20142
|
}
|
|
20064
20143
|
),
|
|
20065
|
-
/* @__PURE__ */ t(
|
|
20144
|
+
/* @__PURE__ */ t(F4, { open: s, children: o && o })
|
|
20066
20145
|
]
|
|
20067
20146
|
},
|
|
20068
20147
|
e
|
|
20069
20148
|
);
|
|
20070
|
-
},
|
|
20149
|
+
}, hl = (i) => /* @__PURE__ */ t(R4, { ...i }), _4 = () => ({
|
|
20071
20150
|
getAlertClassName: (n, a, u = "contained") => `ui-rounded-2xl ui-p-2 ui-shadow-md ui-transform ui-transition-all ui-duration-300 ui-ease-in-out ${a ? "ui-opacity-0 ui-translate-x-4" : "ui-opacity-100 ui-translate-x-0"} ${{
|
|
20072
20151
|
success: {
|
|
20073
20152
|
contained: "ui-bg-success-500",
|
|
@@ -20117,8 +20196,8 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20117
20196
|
warning: "ui-bg-warning-500",
|
|
20118
20197
|
info: "ui-bg-info-500"
|
|
20119
20198
|
}[n]
|
|
20120
|
-
}),
|
|
20121
|
-
const { getIconForType: r } =
|
|
20199
|
+
}), q4 = (i) => {
|
|
20200
|
+
const { getIconForType: r } = _4(), o = i.variant === "contained", e = (u) => {
|
|
20122
20201
|
u.stopPropagation(), i.onClose && i.onClose(u);
|
|
20123
20202
|
}, n = () => {
|
|
20124
20203
|
i.onPrimaryClick && i.onPrimaryClick();
|
|
@@ -20198,7 +20277,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20198
20277
|
]
|
|
20199
20278
|
}
|
|
20200
20279
|
);
|
|
20201
|
-
},
|
|
20280
|
+
}, U4 = ({
|
|
20202
20281
|
color: i = "danger",
|
|
20203
20282
|
variant: r = "contained",
|
|
20204
20283
|
isLeaving: o = !1,
|
|
@@ -20277,7 +20356,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20277
20356
|
}
|
|
20278
20357
|
}, s = l[i] || l.danger;
|
|
20279
20358
|
return `${n} ${u} ${s[r]}`;
|
|
20280
|
-
},
|
|
20359
|
+
}, Y4 = ({ open: i, externalIsLeaving: r }) => {
|
|
20281
20360
|
const [o, e] = E(!1), [n, a] = E(!1), u = r !== void 0 ? r : n;
|
|
20282
20361
|
return K(() => {
|
|
20283
20362
|
i ? (e(!0), a(!1)) : (a(!0), r === void 0 && setTimeout(() => {
|
|
@@ -20291,7 +20370,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20291
20370
|
isVisible: o,
|
|
20292
20371
|
isLeaving: u
|
|
20293
20372
|
};
|
|
20294
|
-
},
|
|
20373
|
+
}, G4 = ({
|
|
20295
20374
|
open: i = !1,
|
|
20296
20375
|
color: r = "success",
|
|
20297
20376
|
variant: o = "contained",
|
|
@@ -20309,7 +20388,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20309
20388
|
isLeaving: g,
|
|
20310
20389
|
size: v = "sm"
|
|
20311
20390
|
}) => {
|
|
20312
|
-
const { isVisible: L, isLeaving: w } =
|
|
20391
|
+
const { isVisible: L, isLeaving: w } = Y4({ open: i, externalIsLeaving: g });
|
|
20313
20392
|
if (!L)
|
|
20314
20393
|
return null;
|
|
20315
20394
|
const j = !!s, V = (m) => {
|
|
@@ -20334,12 +20413,12 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20334
20413
|
}[v],
|
|
20335
20414
|
// Padding en contenedor principal según Figma
|
|
20336
20415
|
e,
|
|
20337
|
-
|
|
20416
|
+
U4({ color: r, variant: o, isLeaving: w, animation: f }),
|
|
20338
20417
|
j && "hover:ui-brightness-110 ui-cursor-pointer ui-transition-all ui-duration-300 ui-ease-in-out"
|
|
20339
20418
|
),
|
|
20340
20419
|
onClick: V,
|
|
20341
20420
|
children: /* @__PURE__ */ t("div", { className: "ui-flex-1 ui-min-w-0", children: /* @__PURE__ */ t(
|
|
20342
|
-
|
|
20421
|
+
q4,
|
|
20343
20422
|
{
|
|
20344
20423
|
message: n,
|
|
20345
20424
|
title: a,
|
|
@@ -20355,7 +20434,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20355
20434
|
) })
|
|
20356
20435
|
}
|
|
20357
20436
|
);
|
|
20358
|
-
},
|
|
20437
|
+
}, Q4 = (i) => {
|
|
20359
20438
|
const { value: r, defaultValue: o, onChange: e, initialValue: n } = i, a = r !== void 0, u = o !== void 0 ? o : n, [l, s] = E(u), p = a ? r : l, d = I(
|
|
20360
20439
|
(h) => {
|
|
20361
20440
|
a || s(h), e == null || e(h);
|
|
@@ -20373,7 +20452,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20373
20452
|
setValue: d,
|
|
20374
20453
|
reset: c
|
|
20375
20454
|
};
|
|
20376
|
-
},
|
|
20455
|
+
}, J4 = (i) => Q4(i), X4 = ({
|
|
20377
20456
|
size: i = "md",
|
|
20378
20457
|
leftSlot: r,
|
|
20379
20458
|
rightSlot: o,
|
|
@@ -20428,7 +20507,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20428
20507
|
paddingClasses: s,
|
|
20429
20508
|
getIconPosition: p
|
|
20430
20509
|
};
|
|
20431
|
-
},
|
|
20510
|
+
}, K4 = ({
|
|
20432
20511
|
ref: i,
|
|
20433
20512
|
currentValue: r,
|
|
20434
20513
|
setValue: o,
|
|
@@ -20480,7 +20559,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20480
20559
|
getValue: p,
|
|
20481
20560
|
setValueFromRef: d
|
|
20482
20561
|
};
|
|
20483
|
-
},
|
|
20562
|
+
}, W4 = ({
|
|
20484
20563
|
size: i = "sm",
|
|
20485
20564
|
error: r = "",
|
|
20486
20565
|
disabled: o = !1,
|
|
@@ -20634,20 +20713,20 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20634
20713
|
value: F,
|
|
20635
20714
|
setValue: z,
|
|
20636
20715
|
isControlled: $
|
|
20637
|
-
} =
|
|
20716
|
+
} = J4({
|
|
20638
20717
|
value: p,
|
|
20639
20718
|
defaultValue: c,
|
|
20640
20719
|
onChange: f
|
|
20641
20720
|
}), Y = (U) => {
|
|
20642
20721
|
const e1 = U.target.value;
|
|
20643
20722
|
z(e1), g == null || g(U);
|
|
20644
|
-
}, { paddingClasses: d1, getIconPosition: o1 } =
|
|
20723
|
+
}, { paddingClasses: d1, getIconPosition: o1 } = X4({
|
|
20645
20724
|
size: e,
|
|
20646
20725
|
leftSlot: a,
|
|
20647
20726
|
rightSlot: u,
|
|
20648
20727
|
extraSlot: l,
|
|
20649
20728
|
value: p
|
|
20650
|
-
}), { baseClasses: C1, containerClasses: h1, labelClasses: g1 } =
|
|
20729
|
+
}), { baseClasses: C1, containerClasses: h1, labelClasses: g1 } = W4({
|
|
20651
20730
|
size: e,
|
|
20652
20731
|
error: r,
|
|
20653
20732
|
disabled: h,
|
|
@@ -20657,14 +20736,14 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20657
20736
|
autosize: V,
|
|
20658
20737
|
pill: q
|
|
20659
20738
|
});
|
|
20660
|
-
|
|
20739
|
+
K4({
|
|
20661
20740
|
ref: _,
|
|
20662
20741
|
currentValue: F,
|
|
20663
20742
|
setValue: z,
|
|
20664
20743
|
isControlled: $,
|
|
20665
20744
|
inputId: R.id
|
|
20666
20745
|
});
|
|
20667
|
-
const Q = ((U) => !U || typeof U != "string" ? !1 : U.startsWith("data:") || U.startsWith("blob:") ? !0 :
|
|
20746
|
+
const Q = ((U) => !U || typeof U != "string" ? !1 : U.startsWith("data:") || U.startsWith("blob:") ? !0 : Pe(U))(a);
|
|
20668
20747
|
return /* @__PURE__ */ C(
|
|
20669
20748
|
"div",
|
|
20670
20749
|
{
|
|
@@ -20797,7 +20876,7 @@ const D4 = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20797
20876
|
}
|
|
20798
20877
|
);
|
|
20799
20878
|
z1.displayName = "Input";
|
|
20800
|
-
const
|
|
20879
|
+
const Jn = (i, r = {}) => {
|
|
20801
20880
|
const { enterDelay: o = 10, exitDelay: e = 300 } = r, [n, a] = E(!1), [u, l] = E(!1);
|
|
20802
20881
|
return K(() => {
|
|
20803
20882
|
if (i) {
|
|
@@ -20812,7 +20891,7 @@ const Qn = (i, r = {}) => {
|
|
|
20812
20891
|
return () => clearTimeout(s);
|
|
20813
20892
|
}
|
|
20814
20893
|
}, [i, o, e]), { isVisible: n, isAnimating: u };
|
|
20815
|
-
},
|
|
20894
|
+
}, Xn = (i) => {
|
|
20816
20895
|
const r = typeof window < "u";
|
|
20817
20896
|
K(() => {
|
|
20818
20897
|
if (r)
|
|
@@ -20820,7 +20899,7 @@ const Qn = (i, r = {}) => {
|
|
|
20820
20899
|
document.body.style.overflow = "";
|
|
20821
20900
|
};
|
|
20822
20901
|
}, [i, r]);
|
|
20823
|
-
},
|
|
20902
|
+
}, ea = (i, r, o, e = !1) => {
|
|
20824
20903
|
K(() => {
|
|
20825
20904
|
if (!i || e) return;
|
|
20826
20905
|
const n = (a) => {
|
|
@@ -20832,7 +20911,7 @@ const Qn = (i, r = {}) => {
|
|
|
20832
20911
|
document.removeEventListener("click", n);
|
|
20833
20912
|
};
|
|
20834
20913
|
}, [i, e, o, r]);
|
|
20835
|
-
},
|
|
20914
|
+
}, Kn = ({
|
|
20836
20915
|
isActive: i = !0,
|
|
20837
20916
|
disabled: r = !1,
|
|
20838
20917
|
elementRef: o,
|
|
@@ -20897,7 +20976,7 @@ const Qn = (i, r = {}) => {
|
|
|
20897
20976
|
s,
|
|
20898
20977
|
p
|
|
20899
20978
|
]);
|
|
20900
|
-
},
|
|
20979
|
+
}, Wn = (i) => {
|
|
20901
20980
|
const { onReorder: r, liveReorder: o = !1, throttleMs: e = 50 } = i || {}, [n, a] = E({
|
|
20902
20981
|
isDragging: !1,
|
|
20903
20982
|
draggedItemId: null,
|
|
@@ -20976,7 +21055,7 @@ const Qn = (i, r = {}) => {
|
|
|
20976
21055
|
draggedItemId: n.draggedItemId,
|
|
20977
21056
|
dragOverItemId: n.dragOverItemId
|
|
20978
21057
|
};
|
|
20979
|
-
},
|
|
21058
|
+
}, dn = (i, r, o = !1) => {
|
|
20980
21059
|
K(() => {
|
|
20981
21060
|
if (!i || o) return;
|
|
20982
21061
|
const e = (n) => {
|
|
@@ -20984,7 +21063,7 @@ const Qn = (i, r = {}) => {
|
|
|
20984
21063
|
};
|
|
20985
21064
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
20986
21065
|
}, [i, r, o]);
|
|
20987
|
-
},
|
|
21066
|
+
}, e0 = (i, r, o = !1) => {
|
|
20988
21067
|
K(() => {
|
|
20989
21068
|
if (!i || o || !r.current) return;
|
|
20990
21069
|
const e = [
|
|
@@ -21001,14 +21080,14 @@ const Qn = (i, r = {}) => {
|
|
|
21001
21080
|
};
|
|
21002
21081
|
return window.addEventListener("keydown", s), () => window.removeEventListener("keydown", s);
|
|
21003
21082
|
}, [i, o, r]);
|
|
21004
|
-
},
|
|
21083
|
+
}, na = (i, r) => {
|
|
21005
21084
|
K(() => {
|
|
21006
21085
|
i && r.current && requestAnimationFrame(() => {
|
|
21007
21086
|
var o;
|
|
21008
21087
|
(o = r.current) == null || o.focus();
|
|
21009
21088
|
});
|
|
21010
21089
|
}, [i, r]);
|
|
21011
|
-
},
|
|
21090
|
+
}, n0 = () => {
|
|
21012
21091
|
const i = typeof window < "u", [r] = E(() => i ? document.createElement("div") : null);
|
|
21013
21092
|
return K(() => {
|
|
21014
21093
|
if (!(!r || !i))
|
|
@@ -21016,21 +21095,21 @@ const Qn = (i, r = {}) => {
|
|
|
21016
21095
|
document.body.contains(r) && document.body.removeChild(r);
|
|
21017
21096
|
};
|
|
21018
21097
|
}, [r, i]), r;
|
|
21019
|
-
},
|
|
21098
|
+
}, ta = ({
|
|
21020
21099
|
isOpen: i,
|
|
21021
21100
|
onClose: r,
|
|
21022
21101
|
disableEscapeClose: o = !1,
|
|
21023
21102
|
disableOutsideTab: e = !1,
|
|
21024
21103
|
disableOutsideClick: n = !1
|
|
21025
21104
|
}) => {
|
|
21026
|
-
const a =
|
|
21027
|
-
return
|
|
21105
|
+
const a = n0(), { isVisible: u, isAnimating: l } = Jn(i, { exitDelay: 200 }), s = n1(null);
|
|
21106
|
+
return Xn(i), dn(i, r, o), na(i, s), e0(i, s, !e), ea(i, s, r, n), {
|
|
21028
21107
|
isVisible: u,
|
|
21029
21108
|
animateIn: l,
|
|
21030
21109
|
container: a,
|
|
21031
21110
|
modalRef: s
|
|
21032
21111
|
};
|
|
21033
|
-
},
|
|
21112
|
+
}, t0 = q0(null), ia = ({
|
|
21034
21113
|
children: i,
|
|
21035
21114
|
onClose: r,
|
|
21036
21115
|
onSuccess: o,
|
|
@@ -21074,9 +21153,10 @@ const Qn = (i, r = {}) => {
|
|
|
21074
21153
|
badgeIconDuotoneSecondary: z,
|
|
21075
21154
|
badgeIconDuotoneOpacityPrimary: $,
|
|
21076
21155
|
badgeIconDuotoneOpacitySecondary: Y,
|
|
21077
|
-
badgeLabel: d1
|
|
21156
|
+
badgeLabel: d1,
|
|
21157
|
+
hideFooter: o1 = !1
|
|
21078
21158
|
}) => {
|
|
21079
|
-
const
|
|
21159
|
+
const C1 = {
|
|
21080
21160
|
onClose: r,
|
|
21081
21161
|
showCloseButton: v,
|
|
21082
21162
|
closeAtCorner: L,
|
|
@@ -21119,15 +21199,16 @@ const Qn = (i, r = {}) => {
|
|
|
21119
21199
|
badgeIconDuotoneSecondary: z,
|
|
21120
21200
|
badgeIconDuotoneOpacityPrimary: $,
|
|
21121
21201
|
badgeIconDuotoneOpacitySecondary: Y,
|
|
21122
|
-
badgeLabel: d1
|
|
21202
|
+
badgeLabel: d1,
|
|
21203
|
+
hideFooter: o1
|
|
21123
21204
|
};
|
|
21124
|
-
return /* @__PURE__ */ t(
|
|
21125
|
-
},
|
|
21126
|
-
const i = U0(
|
|
21205
|
+
return /* @__PURE__ */ t(t0.Provider, { value: C1, children: i });
|
|
21206
|
+
}, pn = () => {
|
|
21207
|
+
const i = U0(t0);
|
|
21127
21208
|
if (!i)
|
|
21128
21209
|
throw new Error("Modal components must be used within a Modal");
|
|
21129
21210
|
return i;
|
|
21130
|
-
},
|
|
21211
|
+
}, ra = ({
|
|
21131
21212
|
options: i,
|
|
21132
21213
|
defaultValue: r,
|
|
21133
21214
|
onChange: o,
|
|
@@ -21171,7 +21252,7 @@ const Qn = (i, r = {}) => {
|
|
|
21171
21252
|
},
|
|
21172
21253
|
h.value
|
|
21173
21254
|
)) });
|
|
21174
|
-
},
|
|
21255
|
+
}, $e = ({
|
|
21175
21256
|
children: i,
|
|
21176
21257
|
showCloseButton: r,
|
|
21177
21258
|
title: o,
|
|
@@ -21214,7 +21295,7 @@ const Qn = (i, r = {}) => {
|
|
|
21214
21295
|
badgeIconDuotoneOpacityPrimary: R,
|
|
21215
21296
|
badgeIconDuotoneOpacitySecondary: _,
|
|
21216
21297
|
badgeLabel: F
|
|
21217
|
-
} =
|
|
21298
|
+
} = pn(), z = r ?? V, $ = u ?? M, Y = c ?? P, d1 = h ?? X, o1 = w ?? F, C1 = (e == null ? void 0 : e.length) > 0 ? e : k, h1 = (C1 == null ? void 0 : C1.length) ?? !1, g1 = a ?? b, A = n ?? O, Q = (U) => {
|
|
21218
21299
|
g1 && g1(U);
|
|
21219
21300
|
};
|
|
21220
21301
|
return /* @__PURE__ */ C("div", { className: "ui-relative ui-flex ui-flex-wrap ui-items-center ui-justify-between ui-gap-x-md ui-border-b ui-border-default ui-p-16", children: [
|
|
@@ -21234,7 +21315,7 @@ const Qn = (i, r = {}) => {
|
|
|
21234
21315
|
/* @__PURE__ */ t("div", { className: "ui-flex ui-flex-1 ui-items-center ui-gap-8", children: o ? /* @__PURE__ */ t("h2", { className: "ui-text-heading-h3 ui-font-heading-h3 ui-leading-heading-h3", children: o }) : i }),
|
|
21235
21316
|
/* @__PURE__ */ C("div", { className: "ui-z-10 ui-flex ui-items-center ui-gap-16", children: [
|
|
21236
21317
|
o1 && /* @__PURE__ */ t(
|
|
21237
|
-
|
|
21318
|
+
_n,
|
|
21238
21319
|
{
|
|
21239
21320
|
label: o1,
|
|
21240
21321
|
icon: d1,
|
|
@@ -21276,7 +21357,7 @@ const Qn = (i, r = {}) => {
|
|
|
21276
21357
|
)
|
|
21277
21358
|
] }),
|
|
21278
21359
|
h1 ? /* @__PURE__ */ t("div", { className: "ui-z-0 ui-mt-2 ui-flex ui-w-full ui-justify-center ui-overflow-x-auto sm:ui-absolute", children: /* @__PURE__ */ t(
|
|
21279
|
-
|
|
21360
|
+
ra,
|
|
21280
21361
|
{
|
|
21281
21362
|
options: C1 ?? [],
|
|
21282
21363
|
defaultValue: A,
|
|
@@ -21288,8 +21369,21 @@ const Qn = (i, r = {}) => {
|
|
|
21288
21369
|
) }) : null
|
|
21289
21370
|
] });
|
|
21290
21371
|
};
|
|
21291
|
-
|
|
21292
|
-
const
|
|
21372
|
+
$e.displayName = "Modal.Header";
|
|
21373
|
+
const oa = ({ children: i, withPadding: r = !0 }) => {
|
|
21374
|
+
const { hideFooter: o } = pn();
|
|
21375
|
+
return /* @__PURE__ */ t(
|
|
21376
|
+
"div",
|
|
21377
|
+
{
|
|
21378
|
+
className: N(
|
|
21379
|
+
r && "ui-p-16",
|
|
21380
|
+
o && "ui-rounded-b-lg"
|
|
21381
|
+
// Aplicar border-radius inferior cuando el footer está oculto
|
|
21382
|
+
),
|
|
21383
|
+
children: i
|
|
21384
|
+
}
|
|
21385
|
+
);
|
|
21386
|
+
}, Cn = ({
|
|
21293
21387
|
children: i,
|
|
21294
21388
|
footerButtonIcon: r,
|
|
21295
21389
|
footerButtonIconDuotonePrimary: o,
|
|
@@ -21322,15 +21416,19 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21322
21416
|
successButtonColor: b,
|
|
21323
21417
|
disableCancelButton: M,
|
|
21324
21418
|
disableSuccessButton: T
|
|
21325
|
-
} =
|
|
21419
|
+
} = pn(), D = () => {
|
|
21326
21420
|
f && f(), j && d();
|
|
21327
21421
|
}, Z = () => {
|
|
21328
21422
|
g && g(), w && d();
|
|
21329
|
-
}, B = r ?? V, P = u ?? y;
|
|
21423
|
+
}, B = r ?? V, P = u ?? y, X = p ?? b;
|
|
21330
21424
|
return /* @__PURE__ */ C(
|
|
21331
21425
|
"div",
|
|
21332
21426
|
{
|
|
21333
|
-
className:
|
|
21427
|
+
className: N(
|
|
21428
|
+
"ui-flex ui-border-t ui-border-default ui-p-16 ui-rounded-b-lg",
|
|
21429
|
+
P ? "ui-justify-between" : "ui-justify-end",
|
|
21430
|
+
"ui-items-center ui-gap-2"
|
|
21431
|
+
),
|
|
21334
21432
|
children: [
|
|
21335
21433
|
P && /* @__PURE__ */ t(
|
|
21336
21434
|
u1,
|
|
@@ -21370,7 +21468,7 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21370
21468
|
pill: "sm",
|
|
21371
21469
|
onClick: Z,
|
|
21372
21470
|
disabled: T,
|
|
21373
|
-
color:
|
|
21471
|
+
color: X ?? "primary",
|
|
21374
21472
|
children: h
|
|
21375
21473
|
}
|
|
21376
21474
|
)
|
|
@@ -21378,7 +21476,7 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21378
21476
|
]
|
|
21379
21477
|
}
|
|
21380
21478
|
);
|
|
21381
|
-
},
|
|
21479
|
+
}, aa = {
|
|
21382
21480
|
full: "ui-max-w-full",
|
|
21383
21481
|
xs: "ui-max-w-[320px]",
|
|
21384
21482
|
sm: "ui-max-w-[500px]",
|
|
@@ -21386,11 +21484,11 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21386
21484
|
lg: "ui-max-w-[896px]",
|
|
21387
21485
|
xl: "ui-max-w-[1100px]",
|
|
21388
21486
|
"2xl": "ui-max-w-[1350px]"
|
|
21389
|
-
},
|
|
21487
|
+
}, ua = (i) => hn({ children: i, component: $e, componentName: "Modal.Header" }), la = (i) => hn({ children: i, component: Cn, componentName: "Modal.Footer" }), hn = ({
|
|
21390
21488
|
children: i,
|
|
21391
21489
|
component: r,
|
|
21392
21490
|
componentName: o
|
|
21393
|
-
}) => T1.Children.toArray(i).some((e) => T1.isValidElement(e) ? e.type === r || e.type.displayName === o || e.type.name === o ? !0 : e.type === T1.Fragment || e.props.children ?
|
|
21491
|
+
}) => T1.Children.toArray(i).some((e) => T1.isValidElement(e) ? e.type === r || e.type.displayName === o || e.type.name === o ? !0 : e.type === T1.Fragment || e.props.children ? hn({ children: e.props.children, component: r, componentName: o }) : !1 : !1), sa = ({
|
|
21394
21492
|
isOpen: i,
|
|
21395
21493
|
onClose: r,
|
|
21396
21494
|
icon: o,
|
|
@@ -21442,7 +21540,7 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21442
21540
|
badgeLabel: A,
|
|
21443
21541
|
hideFooter: Q = !1
|
|
21444
21542
|
}) => {
|
|
21445
|
-
const { isVisible: U, animateIn: e1, container: r1, modalRef: l1 } =
|
|
21543
|
+
const { isVisible: U, animateIn: e1, container: r1, modalRef: l1 } = ta({
|
|
21446
21544
|
isOpen: i,
|
|
21447
21545
|
onClose: r,
|
|
21448
21546
|
disableEscapeClose: u,
|
|
@@ -21450,7 +21548,7 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21450
21548
|
disableOutsideClick: s
|
|
21451
21549
|
});
|
|
21452
21550
|
if (!r1 || !i && !U) return null;
|
|
21453
|
-
const m1 =
|
|
21551
|
+
const m1 = ua(n), a1 = la(n), I1 = /* @__PURE__ */ C(
|
|
21454
21552
|
"div",
|
|
21455
21553
|
{
|
|
21456
21554
|
"aria-modal": "true",
|
|
@@ -21475,12 +21573,12 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21475
21573
|
tabIndex: -1,
|
|
21476
21574
|
className: N(
|
|
21477
21575
|
"ui-relative ui-z-10 ui-my-auto ui-flex ui-w-full ui-transform ui-flex-col ui-rounded-lg ui-bg-fill ui-shadow-md ui-outline-none ui-transition-all ui-duration-200",
|
|
21478
|
-
|
|
21576
|
+
aa[e],
|
|
21479
21577
|
e1 ? "ui-translate-y-0 ui-scale-100 ui-opacity-100" : "ui-translate-y-4 ui-scale-95 ui-opacity-0"
|
|
21480
21578
|
),
|
|
21481
21579
|
onClick: (M1) => M1.stopPropagation(),
|
|
21482
21580
|
children: /* @__PURE__ */ C(
|
|
21483
|
-
|
|
21581
|
+
ia,
|
|
21484
21582
|
{
|
|
21485
21583
|
isOpen: i,
|
|
21486
21584
|
onClose: r,
|
|
@@ -21526,10 +21624,11 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21526
21624
|
badgeIconDuotoneOpacityPrimary: h1,
|
|
21527
21625
|
badgeIconDuotoneOpacitySecondary: g1,
|
|
21528
21626
|
badgeLabel: A,
|
|
21627
|
+
hideFooter: Q,
|
|
21529
21628
|
children: [
|
|
21530
|
-
!m1 && (a || g ? /* @__PURE__ */ t(
|
|
21629
|
+
!m1 && (a || g ? /* @__PURE__ */ t($e, { title: g }) : null),
|
|
21531
21630
|
n && n,
|
|
21532
|
-
!a1 && !Q && /* @__PURE__ */ t(
|
|
21631
|
+
!a1 && !Q && /* @__PURE__ */ t(Cn, {})
|
|
21533
21632
|
]
|
|
21534
21633
|
}
|
|
21535
21634
|
)
|
|
@@ -21538,12 +21637,12 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21538
21637
|
]
|
|
21539
21638
|
}
|
|
21540
21639
|
);
|
|
21541
|
-
return
|
|
21542
|
-
},
|
|
21543
|
-
Header:
|
|
21544
|
-
Body:
|
|
21545
|
-
Footer:
|
|
21546
|
-
}),
|
|
21640
|
+
return Bn.createPortal(I1, r1);
|
|
21641
|
+
}, Hn = Object.assign(sa, {
|
|
21642
|
+
Header: $e,
|
|
21643
|
+
Body: oa,
|
|
21644
|
+
Footer: Cn
|
|
21645
|
+
}), fl = ({
|
|
21547
21646
|
isOpen: i,
|
|
21548
21647
|
onClose: r,
|
|
21549
21648
|
label: o = "",
|
|
@@ -21568,7 +21667,7 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21568
21667
|
}) => {
|
|
21569
21668
|
const [m, x] = E("");
|
|
21570
21669
|
return /* @__PURE__ */ t(
|
|
21571
|
-
|
|
21670
|
+
Hn,
|
|
21572
21671
|
{
|
|
21573
21672
|
isOpen: i,
|
|
21574
21673
|
onClose: r,
|
|
@@ -21583,7 +21682,7 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21583
21682
|
title: j,
|
|
21584
21683
|
successButtonColor: V,
|
|
21585
21684
|
successButtonText: S,
|
|
21586
|
-
children: /* @__PURE__ */ t(
|
|
21685
|
+
children: /* @__PURE__ */ t(Hn.Body, { children: /* @__PURE__ */ C("div", { className: "ui-flex ui-items-center ui-flex-col ui-gap-4 ui-p-4", children: [
|
|
21587
21686
|
h && /* @__PURE__ */ t(
|
|
21588
21687
|
p1,
|
|
21589
21688
|
{
|
|
@@ -21604,7 +21703,7 @@ const ra = ({ children: i, withPadding: r = !0 }) => /* @__PURE__ */ t("div", {
|
|
|
21604
21703
|
] }) })
|
|
21605
21704
|
}
|
|
21606
21705
|
);
|
|
21607
|
-
},
|
|
21706
|
+
}, gl = ({
|
|
21608
21707
|
children: i,
|
|
21609
21708
|
className: r,
|
|
21610
21709
|
theme: o = "solid",
|
|
@@ -21684,7 +21783,7 @@ J1.Body = ({ children: i, className: r, fullHeight: o = !1, scrollable: e = !0 }
|
|
|
21684
21783
|
);
|
|
21685
21784
|
J1.Footer = ({ children: i, className: r }) => /* @__PURE__ */ t("div", { className: r, children: i });
|
|
21686
21785
|
J1.Separator = ({ className: i, vertical: r = !1, padding: o = !0 }) => /* @__PURE__ */ t(q1, { vertical: r, padding: o, className: i });
|
|
21687
|
-
const
|
|
21786
|
+
const ca = (i) => {
|
|
21688
21787
|
const {
|
|
21689
21788
|
mode: r = "single",
|
|
21690
21789
|
selectedDate: o = null,
|
|
@@ -21901,7 +22000,7 @@ const sa = (i) => {
|
|
|
21901
22000
|
handleRangeSelection: p,
|
|
21902
22001
|
getRangeState: d
|
|
21903
22002
|
};
|
|
21904
|
-
},
|
|
22003
|
+
}, Ee = (i, r, o) => {
|
|
21905
22004
|
const e = I(
|
|
21906
22005
|
(d) => {
|
|
21907
22006
|
const c = new Date(i);
|
|
@@ -21957,7 +22056,7 @@ const sa = (i) => {
|
|
|
21957
22056
|
isToday: s,
|
|
21958
22057
|
formatDate: p
|
|
21959
22058
|
};
|
|
21960
|
-
},
|
|
22059
|
+
}, ml = (i = "", r = "dd/MM/yyyy", o = "es-ES") => {
|
|
21961
22060
|
const [e, n] = E({
|
|
21962
22061
|
isFocused: !1,
|
|
21963
22062
|
inputValue: i
|
|
@@ -21999,7 +22098,7 @@ const sa = (i) => {
|
|
|
21999
22098
|
handleInputFocus: c,
|
|
22000
22099
|
handleInputBlur: h
|
|
22001
22100
|
};
|
|
22002
|
-
},
|
|
22101
|
+
}, da = (i, r, o, e = 1e3) => {
|
|
22003
22102
|
const n = n1(null), a = I(
|
|
22004
22103
|
(s) => {
|
|
22005
22104
|
n.current && !n.current.contains(s.target) && r();
|
|
@@ -22041,7 +22140,7 @@ const sa = (i) => {
|
|
|
22041
22140
|
portalRef: n,
|
|
22042
22141
|
renderPortal: l
|
|
22043
22142
|
};
|
|
22044
|
-
},
|
|
22143
|
+
}, pa = ({
|
|
22045
22144
|
day: i,
|
|
22046
22145
|
date: r,
|
|
22047
22146
|
isSelected: o,
|
|
@@ -22102,7 +22201,7 @@ const sa = (i) => {
|
|
|
22102
22201
|
children: i
|
|
22103
22202
|
}
|
|
22104
22203
|
);
|
|
22105
|
-
},
|
|
22204
|
+
}, Ca = ({
|
|
22106
22205
|
monthIndex: i,
|
|
22107
22206
|
monthName: r,
|
|
22108
22207
|
isSelected: o,
|
|
@@ -22129,7 +22228,7 @@ const sa = (i) => {
|
|
|
22129
22228
|
children: r.slice(0, 3).charAt(0).toUpperCase() + r.slice(1, 3)
|
|
22130
22229
|
}
|
|
22131
22230
|
);
|
|
22132
|
-
},
|
|
22231
|
+
}, ha = ({
|
|
22133
22232
|
year: i,
|
|
22134
22233
|
isSelected: r,
|
|
22135
22234
|
isDisabled: o,
|
|
@@ -22155,7 +22254,7 @@ const sa = (i) => {
|
|
|
22155
22254
|
children: i
|
|
22156
22255
|
}
|
|
22157
22256
|
);
|
|
22158
|
-
},
|
|
22257
|
+
}, fa = ({ day: i, className: r = "" }) => /* @__PURE__ */ t(
|
|
22159
22258
|
"div",
|
|
22160
22259
|
{
|
|
22161
22260
|
className: `ui-flex ui-h-control-xs ui-w-control-xs ui-select-none ui-items-center ui-justify-center ui-text-body-xs-medium ui-text-tertiary ${r}`,
|
|
@@ -22178,9 +22277,9 @@ const sa = (i) => {
|
|
|
22178
22277
|
onClick: r,
|
|
22179
22278
|
className: "ui-z-10",
|
|
22180
22279
|
disabled: o,
|
|
22181
|
-
icon: i === "prev" ?
|
|
22280
|
+
icon: i === "prev" ? on : an
|
|
22182
22281
|
}
|
|
22183
|
-
) }),
|
|
22282
|
+
) }), ga = ({
|
|
22184
22283
|
currentDate: i,
|
|
22185
22284
|
viewMode: r,
|
|
22186
22285
|
onNavigate: o,
|
|
@@ -22245,7 +22344,7 @@ const sa = (i) => {
|
|
|
22245
22344
|
pill: "xs",
|
|
22246
22345
|
clickable: !1,
|
|
22247
22346
|
color: "tertiary",
|
|
22248
|
-
slotRight:
|
|
22347
|
+
slotRight: Pn,
|
|
22249
22348
|
defaultSizeIcon: !1,
|
|
22250
22349
|
iconSizeExtended: "lg",
|
|
22251
22350
|
"aria-label": `Cambiar vista a ${r === "days" ? "meses" : r === "months" ? "años" : "días"}`,
|
|
@@ -22271,7 +22370,7 @@ const sa = (i) => {
|
|
|
22271
22370
|
hoverDate: d,
|
|
22272
22371
|
renderDay: c
|
|
22273
22372
|
}) => {
|
|
22274
|
-
const { getCalendarDays: h, isToday: f } =
|
|
22373
|
+
const { getCalendarDays: h, isToday: f } = Ee(
|
|
22275
22374
|
i,
|
|
22276
22375
|
() => {
|
|
22277
22376
|
}
|
|
@@ -22283,7 +22382,7 @@ const sa = (i) => {
|
|
|
22283
22382
|
u
|
|
22284
22383
|
), v = (j) => r ? j.getTime() === r.getTime() : !1, L = (j) => !!(a && j < a || u && j > u), w = h(i, s);
|
|
22285
22384
|
return /* @__PURE__ */ C("div", { className: "ui-mx-auto ui-grid ui-w-fit ui-grid-cols-7 ui-gap-y-0.5", children: [
|
|
22286
|
-
l.map((j, V) => /* @__PURE__ */ t(
|
|
22385
|
+
l.map((j, V) => /* @__PURE__ */ t(fa, { day: j }, V)),
|
|
22287
22386
|
w.map((j, V) => {
|
|
22288
22387
|
if (j === null)
|
|
22289
22388
|
return /* @__PURE__ */ t("div", { className: "ui-h-control-xs ui-w-control-xs" }, V);
|
|
@@ -22298,7 +22397,7 @@ const sa = (i) => {
|
|
|
22298
22397
|
isHovered: !1
|
|
22299
22398
|
};
|
|
22300
22399
|
return /* @__PURE__ */ t(
|
|
22301
|
-
|
|
22400
|
+
pa,
|
|
22302
22401
|
{
|
|
22303
22402
|
day: j,
|
|
22304
22403
|
date: S,
|
|
@@ -22341,13 +22440,13 @@ const sa = (i) => {
|
|
|
22341
22440
|
],
|
|
22342
22441
|
className: n = ""
|
|
22343
22442
|
}) => {
|
|
22344
|
-
const { getMonthNames: a } =
|
|
22443
|
+
const { getMonthNames: a } = Ee(
|
|
22345
22444
|
i,
|
|
22346
22445
|
() => {
|
|
22347
22446
|
}
|
|
22348
22447
|
), u = a();
|
|
22349
22448
|
return /* @__PURE__ */ t("div", { className: `ui-mx-auto ui-grid ui-w-fit ui-grid-cols-3 ${n}`, children: u.map((l, s) => /* @__PURE__ */ t(
|
|
22350
|
-
|
|
22449
|
+
Ca,
|
|
22351
22450
|
{
|
|
22352
22451
|
monthIndex: s,
|
|
22353
22452
|
monthName: l,
|
|
@@ -22364,13 +22463,13 @@ const sa = (i) => {
|
|
|
22364
22463
|
yearRange: e = 12,
|
|
22365
22464
|
className: n = ""
|
|
22366
22465
|
}) => {
|
|
22367
|
-
const { getYearRange: a } =
|
|
22466
|
+
const { getYearRange: a } = Ee(
|
|
22368
22467
|
i,
|
|
22369
22468
|
() => {
|
|
22370
22469
|
}
|
|
22371
22470
|
), u = a(i.getFullYear(), e);
|
|
22372
22471
|
return /* @__PURE__ */ t("div", { className: `ui-mx-auto ui-grid ui-w-fit ui-grid-cols-3 ${n}`, children: u.map((l) => /* @__PURE__ */ t(
|
|
22373
|
-
|
|
22472
|
+
ha,
|
|
22374
22473
|
{
|
|
22375
22474
|
year: l,
|
|
22376
22475
|
isSelected: r === l,
|
|
@@ -22379,7 +22478,7 @@ const sa = (i) => {
|
|
|
22379
22478
|
},
|
|
22380
22479
|
l
|
|
22381
22480
|
)) });
|
|
22382
|
-
},
|
|
22481
|
+
}, ma = he(
|
|
22383
22482
|
({
|
|
22384
22483
|
value: i,
|
|
22385
22484
|
placeholder: r = "Seleccionar fecha",
|
|
@@ -22395,7 +22494,7 @@ const sa = (i) => {
|
|
|
22395
22494
|
label: c = "",
|
|
22396
22495
|
size: h = "sm"
|
|
22397
22496
|
}, f) => {
|
|
22398
|
-
const g =
|
|
22497
|
+
const g = tn(), v = () => {
|
|
22399
22498
|
s || e();
|
|
22400
22499
|
}, L = (V) => {
|
|
22401
22500
|
!s && n && n(V.target.value);
|
|
@@ -22415,7 +22514,7 @@ const sa = (i) => {
|
|
|
22415
22514
|
placeholder: r,
|
|
22416
22515
|
"aria-expanded": o,
|
|
22417
22516
|
onClickExtraSlot: v,
|
|
22418
|
-
extraSlot:
|
|
22517
|
+
extraSlot: $n,
|
|
22419
22518
|
onChange: L,
|
|
22420
22519
|
onFocus: w,
|
|
22421
22520
|
onBlur: j,
|
|
@@ -22426,7 +22525,7 @@ const sa = (i) => {
|
|
|
22426
22525
|
}
|
|
22427
22526
|
);
|
|
22428
22527
|
}
|
|
22429
|
-
),
|
|
22528
|
+
), La = ({
|
|
22430
22529
|
calendarDates: i,
|
|
22431
22530
|
viewModes: r,
|
|
22432
22531
|
onNavigate: o,
|
|
@@ -22449,7 +22548,7 @@ const sa = (i) => {
|
|
|
22449
22548
|
yearRange: u = 12,
|
|
22450
22549
|
renderHeader: l
|
|
22451
22550
|
}) => {
|
|
22452
|
-
const { getYearRange: s } =
|
|
22551
|
+
const { getYearRange: s } = Ee(
|
|
22453
22552
|
i[0],
|
|
22454
22553
|
() => {
|
|
22455
22554
|
}
|
|
@@ -22487,7 +22586,7 @@ const sa = (i) => {
|
|
|
22487
22586
|
size: "md",
|
|
22488
22587
|
clickable: !1,
|
|
22489
22588
|
color: "secondary",
|
|
22490
|
-
slotRight:
|
|
22589
|
+
slotRight: Pn,
|
|
22491
22590
|
defaultSizeIcon: !1,
|
|
22492
22591
|
iconSizeExtended: "lg",
|
|
22493
22592
|
colorIcon: "blue",
|
|
@@ -22500,7 +22599,7 @@ const sa = (i) => {
|
|
|
22500
22599
|
)) }),
|
|
22501
22600
|
/* @__PURE__ */ t(Ne, { direction: "next", onClick: () => o("next") })
|
|
22502
22601
|
] }) });
|
|
22503
|
-
},
|
|
22602
|
+
}, wa = ({
|
|
22504
22603
|
currentDate: i,
|
|
22505
22604
|
selectedDate: r,
|
|
22506
22605
|
selectedRange: o,
|
|
@@ -22581,7 +22680,7 @@ const sa = (i) => {
|
|
|
22581
22680
|
return null;
|
|
22582
22681
|
}
|
|
22583
22682
|
})() });
|
|
22584
|
-
},
|
|
22683
|
+
}, ba = ({
|
|
22585
22684
|
currentDate: i,
|
|
22586
22685
|
selectedDate: r,
|
|
22587
22686
|
selectedRange: o,
|
|
@@ -22691,7 +22790,7 @@ const sa = (i) => {
|
|
|
22691
22790
|
),
|
|
22692
22791
|
children: [
|
|
22693
22792
|
/* @__PURE__ */ t(
|
|
22694
|
-
|
|
22793
|
+
ga,
|
|
22695
22794
|
{
|
|
22696
22795
|
currentDate: i,
|
|
22697
22796
|
viewMode: l,
|
|
@@ -22710,7 +22809,7 @@ const sa = (i) => {
|
|
|
22710
22809
|
]
|
|
22711
22810
|
}
|
|
22712
22811
|
);
|
|
22713
|
-
},
|
|
22812
|
+
}, xa = ({
|
|
22714
22813
|
isOpen: i,
|
|
22715
22814
|
onClose: r,
|
|
22716
22815
|
portalPosition: o,
|
|
@@ -22749,7 +22848,7 @@ const sa = (i) => {
|
|
|
22749
22848
|
$.setMonth($.getMonth() + z), F.push($);
|
|
22750
22849
|
}
|
|
22751
22850
|
return F;
|
|
22752
|
-
}), { renderPortal: X } =
|
|
22851
|
+
}), { renderPortal: X } = da(i, r, o, 1100);
|
|
22753
22852
|
K(() => {
|
|
22754
22853
|
Z(Array(k).fill(f));
|
|
22755
22854
|
}, [f, k]), K(() => {
|
|
@@ -22813,7 +22912,7 @@ const sa = (i) => {
|
|
|
22813
22912
|
return X(
|
|
22814
22913
|
/* @__PURE__ */ t("div", { className: "ui-relative", children: O === "range" && k > 1 ? /* @__PURE__ */ C("div", { className: "ui-overflow-hidden ui-rounded-lg ui-bg-fill ui-shadow-lg", children: [
|
|
22815
22914
|
/* @__PURE__ */ t(
|
|
22816
|
-
|
|
22915
|
+
La,
|
|
22817
22916
|
{
|
|
22818
22917
|
calendarDates: B,
|
|
22819
22918
|
viewModes: D,
|
|
@@ -22826,7 +22925,7 @@ const sa = (i) => {
|
|
|
22826
22925
|
}
|
|
22827
22926
|
),
|
|
22828
22927
|
/* @__PURE__ */ t("div", { className: "ui-flex ui-flex-col ui-flex-wrap ui-gap-4 ui-p-4 md:ui-flex-row", children: B.map((F, z) => /* @__PURE__ */ t("div", { className: "ui-flex-shrink-0", children: /* @__PURE__ */ t("div", { className: "ui-w-full ui-overflow-hidden ui-rounded-lg ui-bg-fill", children: /* @__PURE__ */ t(
|
|
22829
|
-
|
|
22928
|
+
wa,
|
|
22830
22929
|
{
|
|
22831
22930
|
currentDate: F,
|
|
22832
22931
|
selectedDate: n,
|
|
@@ -22852,7 +22951,7 @@ const sa = (i) => {
|
|
|
22852
22951
|
/* @__PURE__ */ t(u1, { size: "md", children: "Aceptar" })
|
|
22853
22952
|
] })
|
|
22854
22953
|
] }) : /* @__PURE__ */ t(
|
|
22855
|
-
|
|
22954
|
+
ba,
|
|
22856
22955
|
{
|
|
22857
22956
|
currentDate: e,
|
|
22858
22957
|
selectedDate: n,
|
|
@@ -22920,7 +23019,7 @@ const sa = (i) => {
|
|
|
22920
23019
|
renderHeader: x,
|
|
22921
23020
|
renderDay: H,
|
|
22922
23021
|
size: y = "sm"
|
|
22923
|
-
} = i, { state: k, selectedDate: O, selectedRange: b, inputRef: M, isPortalReady: T, actions: D } =
|
|
23022
|
+
} = i, { state: k, selectedDate: O, selectedRange: b, inputRef: M, isPortalReady: T, actions: D } = ca(i), { handleRangeSelection: Z } = i0(
|
|
22924
23023
|
b,
|
|
22925
23024
|
D.setSelectedRange,
|
|
22926
23025
|
u,
|
|
@@ -22950,7 +23049,7 @@ const sa = (i) => {
|
|
|
22950
23049
|
}, q = () => r === "single" ? B(O) : P(b);
|
|
22951
23050
|
return /* @__PURE__ */ C("div", { className: `relative ${f}`, children: [
|
|
22952
23051
|
/* @__PURE__ */ t(
|
|
22953
|
-
|
|
23052
|
+
ma,
|
|
22954
23053
|
{
|
|
22955
23054
|
ref: M,
|
|
22956
23055
|
value: q(),
|
|
@@ -22964,7 +23063,7 @@ const sa = (i) => {
|
|
|
22964
23063
|
}
|
|
22965
23064
|
),
|
|
22966
23065
|
/* @__PURE__ */ t(
|
|
22967
|
-
|
|
23066
|
+
xa,
|
|
22968
23067
|
{
|
|
22969
23068
|
isOpen: k.isOpen && T,
|
|
22970
23069
|
onClose: D.closePicker,
|
|
@@ -22998,7 +23097,7 @@ const sa = (i) => {
|
|
|
22998
23097
|
}
|
|
22999
23098
|
)
|
|
23000
23099
|
] });
|
|
23001
|
-
},
|
|
23100
|
+
}, fn = ({ title: i, className: r, icon: o, iconDuotonePrimary: e, iconDuotoneSecondary: n, iconDuotoneOpacityPrimary: a, iconDuotoneOpacitySecondary: u }) => /* @__PURE__ */ C("div", { className: "ui-flex ui-w-full ui-items-center ui-gap-x-8", children: [
|
|
23002
23101
|
o && /* @__PURE__ */ t(
|
|
23003
23102
|
p1,
|
|
23004
23103
|
{
|
|
@@ -23012,11 +23111,11 @@ const sa = (i) => {
|
|
|
23012
23111
|
}
|
|
23013
23112
|
),
|
|
23014
23113
|
/* @__PURE__ */ t("h1", { className: N("ui-text-heading-h3 ui-font-heading-h3 ui-leading-tracking-h3", r), children: i })
|
|
23015
|
-
] }),
|
|
23114
|
+
] }), va = {
|
|
23016
23115
|
sm: "ui-w-616",
|
|
23017
23116
|
md: "ui-w-[300px]",
|
|
23018
23117
|
lg: "ui-w-96"
|
|
23019
|
-
},
|
|
23118
|
+
}, Ll = ({
|
|
23020
23119
|
isOpen: i,
|
|
23021
23120
|
onClose: r,
|
|
23022
23121
|
title: o,
|
|
@@ -23046,8 +23145,8 @@ const sa = (i) => {
|
|
|
23046
23145
|
disabledSuccessButton: y = !1,
|
|
23047
23146
|
disabledCancelButton: k = !1
|
|
23048
23147
|
}) => {
|
|
23049
|
-
const O =
|
|
23050
|
-
|
|
23148
|
+
const O = n0(), { isVisible: b, isAnimating: M } = Jn(i), T = n1(null);
|
|
23149
|
+
Xn(i), dn(i, r, c), e0(i, T, !h);
|
|
23051
23150
|
const D = () => {
|
|
23052
23151
|
j && j(), H && r();
|
|
23053
23152
|
}, Z = () => {
|
|
@@ -23079,7 +23178,7 @@ const sa = (i) => {
|
|
|
23079
23178
|
onClick: (P) => P.stopPropagation(),
|
|
23080
23179
|
className: N(
|
|
23081
23180
|
"ui-relative ui-z-10 ui-flex ui-flex-col ui-bg-on-color ui-shadow-xl ui-outline-none ui-transition-transform ui-duration-300 ui-ease-in-out",
|
|
23082
|
-
|
|
23181
|
+
va[e],
|
|
23083
23182
|
f === "right" ? "ui-ml-auto" : "ui-mr-auto"
|
|
23084
23183
|
),
|
|
23085
23184
|
style: {
|
|
@@ -23087,7 +23186,7 @@ const sa = (i) => {
|
|
|
23087
23186
|
},
|
|
23088
23187
|
children: /* @__PURE__ */ C(J1, { rounded: !1, padding: !1, gap: !1, className: N(g), children: [
|
|
23089
23188
|
/* @__PURE__ */ t(J1.Header, { children: /* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-justify-between ui-p-16", children: o && /* @__PURE__ */ t(
|
|
23090
|
-
|
|
23189
|
+
fn,
|
|
23091
23190
|
{
|
|
23092
23191
|
title: o,
|
|
23093
23192
|
icon: a,
|
|
@@ -23120,7 +23219,7 @@ const sa = (i) => {
|
|
|
23120
23219
|
]
|
|
23121
23220
|
}
|
|
23122
23221
|
);
|
|
23123
|
-
return
|
|
23222
|
+
return Bn.createPortal(B, O);
|
|
23124
23223
|
}, u0 = ({
|
|
23125
23224
|
children: i,
|
|
23126
23225
|
icon: r,
|
|
@@ -23269,7 +23368,7 @@ const sa = (i) => {
|
|
|
23269
23368
|
]
|
|
23270
23369
|
}
|
|
23271
23370
|
);
|
|
23272
|
-
},
|
|
23371
|
+
}, wl = ({
|
|
23273
23372
|
items: i = [],
|
|
23274
23373
|
icon: r,
|
|
23275
23374
|
onClick: o,
|
|
@@ -23327,7 +23426,7 @@ const sa = (i) => {
|
|
|
23327
23426
|
))
|
|
23328
23427
|
}
|
|
23329
23428
|
);
|
|
23330
|
-
},
|
|
23429
|
+
}, ce = ({
|
|
23331
23430
|
children: i,
|
|
23332
23431
|
icon: r,
|
|
23333
23432
|
iconColor: o,
|
|
@@ -23379,7 +23478,7 @@ const sa = (i) => {
|
|
|
23379
23478
|
]
|
|
23380
23479
|
}
|
|
23381
23480
|
);
|
|
23382
|
-
},
|
|
23481
|
+
}, bl = ({
|
|
23383
23482
|
items: i,
|
|
23384
23483
|
currentValue: r,
|
|
23385
23484
|
onItemClick: o,
|
|
@@ -23393,7 +23492,7 @@ const sa = (i) => {
|
|
|
23393
23492
|
e
|
|
23394
23493
|
),
|
|
23395
23494
|
children: /* @__PURE__ */ t("ul", { className: "ui-list-none ui-m-0 ui-p-0 ui-flex ui-flex-col ui-gap-8", children: i.map((n) => /* @__PURE__ */ t(
|
|
23396
|
-
|
|
23495
|
+
ce,
|
|
23397
23496
|
{
|
|
23398
23497
|
icon: n.icon,
|
|
23399
23498
|
iconColor: n.iconColor,
|
|
@@ -23411,7 +23510,7 @@ const sa = (i) => {
|
|
|
23411
23510
|
{
|
|
23412
23511
|
className: N("ui-my-8 ui-h-px ui-w-full ui-bg-border", i)
|
|
23413
23512
|
}
|
|
23414
|
-
),
|
|
23513
|
+
), xl = ({
|
|
23415
23514
|
groups: i,
|
|
23416
23515
|
currentValue: r,
|
|
23417
23516
|
onItemClick: o,
|
|
@@ -23427,7 +23526,7 @@ const sa = (i) => {
|
|
|
23427
23526
|
children: /* @__PURE__ */ t("ul", { className: "ui-list-none ui-m-0 ui-p-0 ui-flex ui-flex-col ui-gap-8", children: i.map((n, a) => /* @__PURE__ */ C(T1.Fragment, { children: [
|
|
23428
23527
|
a > 0 && /* @__PURE__ */ t(X1, {}),
|
|
23429
23528
|
n.items.map((u) => /* @__PURE__ */ t(
|
|
23430
|
-
|
|
23529
|
+
ce,
|
|
23431
23530
|
{
|
|
23432
23531
|
icon: u.icon,
|
|
23433
23532
|
disabled: u.disabled,
|
|
@@ -23475,7 +23574,7 @@ const sa = (i) => {
|
|
|
23475
23574
|
] })
|
|
23476
23575
|
]
|
|
23477
23576
|
}
|
|
23478
|
-
),
|
|
23577
|
+
), vl = ({
|
|
23479
23578
|
items: i,
|
|
23480
23579
|
selectedValue: r,
|
|
23481
23580
|
onSelectionChange: o,
|
|
@@ -23517,7 +23616,7 @@ const sa = (i) => {
|
|
|
23517
23616
|
className: "ui-w-full ui-h-32 ui-pl-32 ui-pr-8 ui-py-4 ui-border ui-border-default ui-rounded-lg ui-text-body-sm-regular ui-text-primary placeholder:ui-text-tertiary focus:ui-outline-none focus:ui-border-brand focus:ui-ring-1 focus:ui-ring-brand ui-transition-all"
|
|
23518
23617
|
}
|
|
23519
23618
|
)
|
|
23520
|
-
] }),
|
|
23619
|
+
] }), yl = ({
|
|
23521
23620
|
users: i,
|
|
23522
23621
|
onUserToggle: r,
|
|
23523
23622
|
onDelete: o,
|
|
@@ -23586,7 +23685,7 @@ const sa = (i) => {
|
|
|
23586
23685
|
]
|
|
23587
23686
|
}
|
|
23588
23687
|
);
|
|
23589
|
-
},
|
|
23688
|
+
}, ya = (i) => {
|
|
23590
23689
|
const { checked: r, defaultChecked: o = !1, onChange: e, disabled: n } = i, a = r !== void 0, [u, l] = E(o);
|
|
23591
23690
|
K(() => {
|
|
23592
23691
|
a && r !== void 0 && l(r);
|
|
@@ -23625,7 +23724,7 @@ const sa = (i) => {
|
|
|
23625
23724
|
ariaLabel: f,
|
|
23626
23725
|
...g
|
|
23627
23726
|
}, v) => {
|
|
23628
|
-
const { isChecked: L, toggle: w } =
|
|
23727
|
+
const { isChecked: L, toggle: w } = ya({
|
|
23629
23728
|
...g,
|
|
23630
23729
|
disabled: i
|
|
23631
23730
|
}), j = N(
|
|
@@ -23720,7 +23819,7 @@ const sa = (i) => {
|
|
|
23720
23819
|
}
|
|
23721
23820
|
);
|
|
23722
23821
|
d0.displayName = "Toggle";
|
|
23723
|
-
const
|
|
23822
|
+
const Ml = {
|
|
23724
23823
|
// Clases semánticas de color (background)
|
|
23725
23824
|
colors: {
|
|
23726
23825
|
active: "ui-bg-fill-brand",
|
|
@@ -23836,7 +23935,7 @@ const yl = {
|
|
|
23836
23935
|
]
|
|
23837
23936
|
}
|
|
23838
23937
|
);
|
|
23839
|
-
},
|
|
23938
|
+
}, jl = ({
|
|
23840
23939
|
items: i,
|
|
23841
23940
|
onToggleChange: r,
|
|
23842
23941
|
onItemsReorder: o,
|
|
@@ -23849,12 +23948,12 @@ const yl = {
|
|
|
23849
23948
|
}, [i]);
|
|
23850
23949
|
const l = I((h, f) => {
|
|
23851
23950
|
u((g) => {
|
|
23852
|
-
const v =
|
|
23951
|
+
const v = cn(g, h, f);
|
|
23853
23952
|
return requestAnimationFrame(() => {
|
|
23854
23953
|
o == null || o(v);
|
|
23855
23954
|
}), v;
|
|
23856
23955
|
});
|
|
23857
|
-
}, [o]), { handlers: s, draggedItemId: p, dragOverItemId: d } =
|
|
23956
|
+
}, [o]), { handlers: s, draggedItemId: p, dragOverItemId: d } = Wn({
|
|
23858
23957
|
onReorder: l,
|
|
23859
23958
|
liveReorder: !0,
|
|
23860
23959
|
throttleMs: 50
|
|
@@ -23894,7 +23993,7 @@ const yl = {
|
|
|
23894
23993
|
})
|
|
23895
23994
|
}
|
|
23896
23995
|
);
|
|
23897
|
-
},
|
|
23996
|
+
}, Ma = {
|
|
23898
23997
|
success: "ui-bg-surface-success ui-text-success ui-border-green-200",
|
|
23899
23998
|
warning: "ui-bg-surface-warning ui-text-warning ui-border-yellow-200",
|
|
23900
23999
|
error: "ui-bg-surface-danger ui-text-danger ui-border-red-200",
|
|
@@ -23933,7 +24032,7 @@ const yl = {
|
|
|
23933
24032
|
{
|
|
23934
24033
|
className: N(
|
|
23935
24034
|
"ui-px-8 ui-py-2 ui-text-body-xs-regular ui-font-body-xs-medium ui-rounded ui-border ui-shrink-0",
|
|
23936
|
-
|
|
24035
|
+
Ma[n]
|
|
23937
24036
|
),
|
|
23938
24037
|
children: e
|
|
23939
24038
|
}
|
|
@@ -23941,7 +24040,7 @@ const yl = {
|
|
|
23941
24040
|
]
|
|
23942
24041
|
}
|
|
23943
24042
|
);
|
|
23944
|
-
},
|
|
24043
|
+
}, Vl = ({
|
|
23945
24044
|
users: i,
|
|
23946
24045
|
selectedUserId: r,
|
|
23947
24046
|
onUserClick: o,
|
|
@@ -24008,7 +24107,7 @@ const yl = {
|
|
|
24008
24107
|
]
|
|
24009
24108
|
}
|
|
24010
24109
|
);
|
|
24011
|
-
},
|
|
24110
|
+
}, Hl = ({
|
|
24012
24111
|
items: i,
|
|
24013
24112
|
onCheckboxChange: r,
|
|
24014
24113
|
className: o
|
|
@@ -24032,7 +24131,7 @@ const yl = {
|
|
|
24032
24131
|
e.id
|
|
24033
24132
|
))
|
|
24034
24133
|
}
|
|
24035
|
-
),
|
|
24134
|
+
), kl = ({
|
|
24036
24135
|
user: i,
|
|
24037
24136
|
menuItems: r,
|
|
24038
24137
|
selectedItemId: o,
|
|
@@ -24086,7 +24185,7 @@ const yl = {
|
|
|
24086
24185
|
},
|
|
24087
24186
|
s.id
|
|
24088
24187
|
) : /* @__PURE__ */ t(
|
|
24089
|
-
|
|
24188
|
+
ce,
|
|
24090
24189
|
{
|
|
24091
24190
|
icon: s.icon,
|
|
24092
24191
|
iconColor: s.iconColor,
|
|
@@ -24100,7 +24199,7 @@ const yl = {
|
|
|
24100
24199
|
]
|
|
24101
24200
|
}
|
|
24102
24201
|
);
|
|
24103
|
-
},
|
|
24202
|
+
}, Ol = ({
|
|
24104
24203
|
groups: i,
|
|
24105
24204
|
selectedItem: r,
|
|
24106
24205
|
onItemClick: o,
|
|
@@ -24131,7 +24230,7 @@ const yl = {
|
|
|
24131
24230
|
)) })
|
|
24132
24231
|
] }, n.letter))
|
|
24133
24232
|
}
|
|
24134
|
-
),
|
|
24233
|
+
), Sl = ({
|
|
24135
24234
|
title: i = "Filtrar Por",
|
|
24136
24235
|
items: r,
|
|
24137
24236
|
selectedItemId: o,
|
|
@@ -24180,7 +24279,7 @@ const yl = {
|
|
|
24180
24279
|
}
|
|
24181
24280
|
),
|
|
24182
24281
|
/* @__PURE__ */ t("h3", { className: "ui-text-body-sm-regular ui-font-body-sm-bold ui-text-primary", children: i })
|
|
24183
|
-
] }),
|
|
24282
|
+
] }), Nl = ({
|
|
24184
24283
|
title: i = "Headline",
|
|
24185
24284
|
items: r,
|
|
24186
24285
|
onItemToggle: o,
|
|
@@ -24251,7 +24350,7 @@ const yl = {
|
|
|
24251
24350
|
]
|
|
24252
24351
|
}
|
|
24253
24352
|
);
|
|
24254
|
-
},
|
|
24353
|
+
}, ja = ({
|
|
24255
24354
|
title: i = "Aun no hay nada aquí",
|
|
24256
24355
|
description: r = `No hay elementos aun en esta lista.
|
|
24257
24356
|
Vuelve más tarde para ver las actualizaciones.`,
|
|
@@ -24272,7 +24371,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24272
24371
|
] })
|
|
24273
24372
|
]
|
|
24274
24373
|
}
|
|
24275
|
-
),
|
|
24374
|
+
), Va = (i) => {
|
|
24276
24375
|
const { variant: r, className: o } = i, e = N(
|
|
24277
24376
|
"ui-max-h-[300px] custom-scrollbar ui-overflow-y-auto",
|
|
24278
24377
|
o
|
|
@@ -24280,7 +24379,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24280
24379
|
if (r === "default") {
|
|
24281
24380
|
const { items: n, currentValue: a, onItemClick: u } = i;
|
|
24282
24381
|
return /* @__PURE__ */ t("div", { className: N(e, "ui-min-w-[208px]"), children: /* @__PURE__ */ t("ul", { className: "ui-list-none ui-m-0 ui-p-0 ui-flex ui-flex-col ui-gap-8", children: n.map((l) => /* @__PURE__ */ t(
|
|
24283
|
-
|
|
24382
|
+
ce,
|
|
24284
24383
|
{
|
|
24285
24384
|
icon: l.icon,
|
|
24286
24385
|
iconColor: l.iconColor,
|
|
@@ -24298,7 +24397,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24298
24397
|
return /* @__PURE__ */ t("div", { className: N(e, "ui-min-w-[208px]"), children: /* @__PURE__ */ t("ul", { className: "ui-list-none ui-m-0 ui-p-0 ui-flex ui-flex-col ui-gap-8", children: n.map((l, s) => /* @__PURE__ */ C(T1.Fragment, { children: [
|
|
24299
24398
|
s > 0 && /* @__PURE__ */ t(X1, {}),
|
|
24300
24399
|
l.items.map((p) => /* @__PURE__ */ t(
|
|
24301
|
-
|
|
24400
|
+
ce,
|
|
24302
24401
|
{
|
|
24303
24402
|
icon: p.icon,
|
|
24304
24403
|
disabled: p.disabled,
|
|
@@ -24390,12 +24489,12 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24390
24489
|
}, [n]);
|
|
24391
24490
|
const d = I((g, v) => {
|
|
24392
24491
|
p((L) => {
|
|
24393
|
-
const w =
|
|
24492
|
+
const w = cn(L, g, v);
|
|
24394
24493
|
return requestAnimationFrame(() => {
|
|
24395
24494
|
u == null || u(w);
|
|
24396
24495
|
}), w;
|
|
24397
24496
|
});
|
|
24398
|
-
}, [u]), { handlers: c, draggedItemId: h, dragOverItemId: f } =
|
|
24497
|
+
}, [u]), { handlers: c, draggedItemId: h, dragOverItemId: f } = Wn({
|
|
24399
24498
|
onReorder: d,
|
|
24400
24499
|
liveReorder: !0,
|
|
24401
24500
|
throttleMs: 50
|
|
@@ -24475,7 +24574,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24475
24574
|
{
|
|
24476
24575
|
className: "ui-flex ui-items-center ui-justify-between ui-px-8 ui-py-6 ui-rounded-lg",
|
|
24477
24576
|
children: [
|
|
24478
|
-
/* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-gap-8", children: c.icon && /* @__PURE__ */ t("div", { className: "ui-text-secondary", children: /* @__PURE__ */ t(
|
|
24577
|
+
/* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-gap-8", children: c.icon && /* @__PURE__ */ t("div", { className: "ui-text-secondary", children: /* @__PURE__ */ t(ce, { icon: c.icon, onClick: () => {
|
|
24479
24578
|
}, children: c.label }) }) }),
|
|
24480
24579
|
/* @__PURE__ */ t(
|
|
24481
24580
|
"div",
|
|
@@ -24495,7 +24594,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24495
24594
|
},
|
|
24496
24595
|
c.id
|
|
24497
24596
|
) : /* @__PURE__ */ t(
|
|
24498
|
-
|
|
24597
|
+
ce,
|
|
24499
24598
|
{
|
|
24500
24599
|
icon: c.icon,
|
|
24501
24600
|
iconColor: c.iconColor,
|
|
@@ -24612,17 +24711,17 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24612
24711
|
}
|
|
24613
24712
|
if (r === "empty") {
|
|
24614
24713
|
const { title: n, description: a, icon: u } = i;
|
|
24615
|
-
return /* @__PURE__ */ t("div", { className: N(e, "ui-min-w-[313px]"), children: /* @__PURE__ */ t(
|
|
24714
|
+
return /* @__PURE__ */ t("div", { className: N(e, "ui-min-w-[313px]"), children: /* @__PURE__ */ t(ja, { title: n, description: a, icon: u }) });
|
|
24616
24715
|
}
|
|
24617
24716
|
return null;
|
|
24618
|
-
},
|
|
24619
|
-
|
|
24717
|
+
}, Xe = /* @__PURE__ */ new Set(), Ha = (i) => {
|
|
24718
|
+
Xe.forEach((r) => {
|
|
24620
24719
|
if (r !== i) {
|
|
24621
24720
|
const o = new CustomEvent("close-dropdown", { detail: { id: r } });
|
|
24622
24721
|
document.dispatchEvent(o);
|
|
24623
24722
|
}
|
|
24624
24723
|
});
|
|
24625
|
-
},
|
|
24724
|
+
}, ka = ({
|
|
24626
24725
|
value: i,
|
|
24627
24726
|
defaultValue: r,
|
|
24628
24727
|
options: o,
|
|
@@ -24640,7 +24739,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24640
24739
|
onOpenChange: g,
|
|
24641
24740
|
withCheckbox: v = !1
|
|
24642
24741
|
}) => {
|
|
24643
|
-
const L =
|
|
24742
|
+
const L = tn(), w = p || `dropdown-${L}`, [j, V] = E(!1), [S, m] = E(!1), [x, H] = E(""), [y, k] = E("bottom"), [O, b] = E({}), M = n1(null), T = n1(null), D = n1(null), Z = I(
|
|
24644
24743
|
(A) => A == null ? [] : Array.isArray(A) ? A : [A],
|
|
24645
24744
|
[]
|
|
24646
24745
|
), B = I(
|
|
@@ -24736,8 +24835,8 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24736
24835
|
behavior: "smooth"
|
|
24737
24836
|
});
|
|
24738
24837
|
}, [_, e]), d1 = (A) => {
|
|
24739
|
-
A && A.stopPropagation(), !d && (j ? o1() : (
|
|
24740
|
-
V(!0),
|
|
24838
|
+
A && A.stopPropagation(), !d && (j ? o1() : (Ha(w), H(""), m(!1), $(), setTimeout(() => {
|
|
24839
|
+
V(!0), Xe.add(w), setTimeout(() => {
|
|
24741
24840
|
$(), setTimeout(() => {
|
|
24742
24841
|
Y();
|
|
24743
24842
|
}, 50);
|
|
@@ -24745,7 +24844,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24745
24844
|
}, 50)));
|
|
24746
24845
|
}, o1 = () => {
|
|
24747
24846
|
m(!0), setTimeout(() => {
|
|
24748
|
-
V(!1), m(!1),
|
|
24847
|
+
V(!1), m(!1), Xe.delete(w);
|
|
24749
24848
|
}, 150);
|
|
24750
24849
|
}, C1 = (A, Q) => {
|
|
24751
24850
|
if (Q.stopPropagation(), !A.disabled) {
|
|
@@ -24768,7 +24867,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24768
24867
|
};
|
|
24769
24868
|
return K(() => {
|
|
24770
24869
|
g == null || g(j);
|
|
24771
|
-
}, [j, g]),
|
|
24870
|
+
}, [j, g]), Kn({
|
|
24772
24871
|
isActive: j,
|
|
24773
24872
|
// Simplificar condición para mejorar detección
|
|
24774
24873
|
disabled: d,
|
|
@@ -24993,7 +25092,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
24993
25092
|
...d,
|
|
24994
25093
|
children: [
|
|
24995
25094
|
r ? /* @__PURE__ */ t(
|
|
24996
|
-
|
|
25095
|
+
oe,
|
|
24997
25096
|
{
|
|
24998
25097
|
type: "people",
|
|
24999
25098
|
src: r,
|
|
@@ -25035,7 +25134,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25035
25134
|
]
|
|
25036
25135
|
}
|
|
25037
25136
|
);
|
|
25038
|
-
},
|
|
25137
|
+
}, Oa = ({
|
|
25039
25138
|
label: i,
|
|
25040
25139
|
placeholder: r,
|
|
25041
25140
|
selectedOptions: o,
|
|
@@ -25206,7 +25305,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25206
25305
|
scrollToSelectedOption: ge,
|
|
25207
25306
|
setValue: P1,
|
|
25208
25307
|
normalizeToArray: Y1
|
|
25209
|
-
} =
|
|
25308
|
+
} = ka({
|
|
25210
25309
|
value: h,
|
|
25211
25310
|
defaultValue: A,
|
|
25212
25311
|
options: g1,
|
|
@@ -25227,7 +25326,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25227
25326
|
o1(!1);
|
|
25228
25327
|
}, 200);
|
|
25229
25328
|
}
|
|
25230
|
-
}),
|
|
25329
|
+
}), ae = (W, b1) => {
|
|
25231
25330
|
if (O) {
|
|
25232
25331
|
const $1 = Y1(r1), i1 = W[j];
|
|
25233
25332
|
if (b1) {
|
|
@@ -25324,12 +25423,12 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25324
25423
|
const ye = (W) => {
|
|
25325
25424
|
if (O) {
|
|
25326
25425
|
const $1 = Y1(r1).filter((i1) => i1 !== W);
|
|
25327
|
-
if (P1($1), P &&
|
|
25426
|
+
if (P1($1), P && ae) {
|
|
25328
25427
|
const i1 = L.find((E1) => E1[j] === W);
|
|
25329
|
-
i1 &&
|
|
25428
|
+
i1 && ae(i1, !1);
|
|
25330
25429
|
}
|
|
25331
25430
|
}
|
|
25332
|
-
},
|
|
25431
|
+
}, Re = () => {
|
|
25333
25432
|
if (O) {
|
|
25334
25433
|
if (l1.length === 0) return "";
|
|
25335
25434
|
switch (M) {
|
|
@@ -25345,7 +25444,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25345
25444
|
const W = l1[0];
|
|
25346
25445
|
return W ? W[j] === -1 || W[w] === -1 || W[w] === "-1" ? v : W[w] || "" : "";
|
|
25347
25446
|
}
|
|
25348
|
-
},
|
|
25447
|
+
}, _e = () => {
|
|
25349
25448
|
if (!Q || !a1.top) return null;
|
|
25350
25449
|
const W = U ? "animate-dropdown-exit" : "animate-dropdown-enter", b1 = (i1, E1) => {
|
|
25351
25450
|
A1(i1, E1), i1.icon && z(i1.icon), i1.iconColor && Y(i1.iconColor);
|
|
@@ -25394,7 +25493,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25394
25493
|
iconColor: i1.iconColor,
|
|
25395
25494
|
checkboxProps: {
|
|
25396
25495
|
checked: E1,
|
|
25397
|
-
onChange: (G1) =>
|
|
25496
|
+
onChange: (G1) => ae == null ? void 0 : ae(i1, G1),
|
|
25398
25497
|
disabled: i1.disabled
|
|
25399
25498
|
},
|
|
25400
25499
|
isGroupTitle: i1.isGroupTitle,
|
|
@@ -25459,7 +25558,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25459
25558
|
"data-dropdown-container-id": ne,
|
|
25460
25559
|
children: [
|
|
25461
25560
|
O && M === "tags" ? /* @__PURE__ */ t(
|
|
25462
|
-
|
|
25561
|
+
Oa,
|
|
25463
25562
|
{
|
|
25464
25563
|
label: r,
|
|
25465
25564
|
size: n,
|
|
@@ -25496,11 +25595,11 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25496
25595
|
caret: c,
|
|
25497
25596
|
disabled: g,
|
|
25498
25597
|
placeholder: v,
|
|
25499
|
-
value:
|
|
25598
|
+
value: Re(),
|
|
25500
25599
|
readOnly: !0,
|
|
25501
25600
|
onClick: (W) => _1(W),
|
|
25502
25601
|
onClickExtraSlot: () => _1(),
|
|
25503
|
-
extraSlot: Q ?
|
|
25602
|
+
extraSlot: Q ? An : rn,
|
|
25504
25603
|
name: i,
|
|
25505
25604
|
pill: J,
|
|
25506
25605
|
autosize: !0,
|
|
@@ -25517,21 +25616,21 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
25517
25616
|
},
|
|
25518
25617
|
W[w]
|
|
25519
25618
|
) : null) }),
|
|
25520
|
-
|
|
25619
|
+
_e()
|
|
25521
25620
|
]
|
|
25522
25621
|
}
|
|
25523
25622
|
);
|
|
25524
25623
|
}
|
|
25525
25624
|
);
|
|
25526
25625
|
F1.displayName = "Dropdown";
|
|
25527
|
-
const
|
|
25528
|
-
|
|
25626
|
+
const Ke = /* @__PURE__ */ new Set(), Sa = (i) => {
|
|
25627
|
+
Ke.forEach((r) => {
|
|
25529
25628
|
if (r !== i) {
|
|
25530
25629
|
const o = new CustomEvent("close-popup", { detail: { id: r } });
|
|
25531
25630
|
document.dispatchEvent(o);
|
|
25532
25631
|
}
|
|
25533
25632
|
});
|
|
25534
|
-
},
|
|
25633
|
+
}, Na = ({
|
|
25535
25634
|
position: i = "bottom-right",
|
|
25536
25635
|
offset: r = 4,
|
|
25537
25636
|
closeOnClickOutside: o = !0,
|
|
@@ -25542,7 +25641,7 @@ const Xe = /* @__PURE__ */ new Set(), Oa = (i) => {
|
|
|
25542
25641
|
disabled: l = !1,
|
|
25543
25642
|
absolute: s = !1
|
|
25544
25643
|
}) => {
|
|
25545
|
-
const p =
|
|
25644
|
+
const p = tn(), d = n || `popup-${p}`, [c, h] = E(!1), [f, g] = E({}), [v, L] = E(!1), w = n1(null), j = n1(null), V = n1(null), S = I(() => {
|
|
25546
25645
|
const H = w.current, y = j.current;
|
|
25547
25646
|
if (!H || !y) return;
|
|
25548
25647
|
const k = H.getBoundingClientRect(), O = y.getBoundingClientRect();
|
|
@@ -25605,9 +25704,9 @@ const Xe = /* @__PURE__ */ new Set(), Oa = (i) => {
|
|
|
25605
25704
|
};
|
|
25606
25705
|
g(B), L(!0);
|
|
25607
25706
|
}, [i, r, d, s]), m = (H) => {
|
|
25608
|
-
H && H.stopPropagation(), !l && (c ? x() : (
|
|
25707
|
+
H && H.stopPropagation(), !l && (c ? x() : (Sa(d), g({}), L(!1), h(!0), Ke.add(d), a == null || a()));
|
|
25609
25708
|
}, x = () => {
|
|
25610
|
-
h(!1), L(!1),
|
|
25709
|
+
h(!1), L(!1), Ke.delete(d), u == null || u();
|
|
25611
25710
|
};
|
|
25612
25711
|
return K(() => {
|
|
25613
25712
|
if (c) {
|
|
@@ -25635,7 +25734,7 @@ const Xe = /* @__PURE__ */ new Set(), Oa = (i) => {
|
|
|
25635
25734
|
return window.addEventListener("scroll", y, { passive: !0 }), window.addEventListener("resize", y, { passive: !0 }), () => {
|
|
25636
25735
|
window.removeEventListener("scroll", y), window.removeEventListener("resize", y);
|
|
25637
25736
|
};
|
|
25638
|
-
}, [c, v, s, S]),
|
|
25737
|
+
}, [c, v, s, S]), Kn({
|
|
25639
25738
|
isActive: c,
|
|
25640
25739
|
disabled: l,
|
|
25641
25740
|
elementRef: j,
|
|
@@ -25644,7 +25743,7 @@ const Xe = /* @__PURE__ */ new Set(), Oa = (i) => {
|
|
|
25644
25743
|
elementType: "popup",
|
|
25645
25744
|
closeOnClickOutside: o,
|
|
25646
25745
|
onOutsideClick: x
|
|
25647
|
-
}),
|
|
25746
|
+
}), dn(c, x, !e), {
|
|
25648
25747
|
isOpen: c,
|
|
25649
25748
|
popupStyle: f,
|
|
25650
25749
|
isPositioned: v,
|
|
@@ -25703,7 +25802,7 @@ const Xe = /* @__PURE__ */ new Set(), Oa = (i) => {
|
|
|
25703
25802
|
popupUniqueId: Y,
|
|
25704
25803
|
togglePopup: d1,
|
|
25705
25804
|
closePopup: o1
|
|
25706
|
-
} =
|
|
25805
|
+
} = Na({
|
|
25707
25806
|
position: o,
|
|
25708
25807
|
offset: e,
|
|
25709
25808
|
closeOnClickOutside: n,
|
|
@@ -27185,7 +27284,7 @@ const Ve = [
|
|
|
27185
27284
|
"🏴"
|
|
27186
27285
|
]
|
|
27187
27286
|
}
|
|
27188
|
-
],
|
|
27287
|
+
], Ia = {
|
|
27189
27288
|
// Sonrisas y personas
|
|
27190
27289
|
"😀": ["sonrisa", "feliz", "contento", "alegre", "smile", "happy", "grin"],
|
|
27191
27290
|
"😃": ["sonrisa", "feliz", "alegre", "cara", "smile", "happy", "face", "smiley"],
|
|
@@ -27348,15 +27447,15 @@ const Ve = [
|
|
|
27348
27447
|
"🇨🇴": ["colombia", "bandera"],
|
|
27349
27448
|
"🇵🇪": ["peru", "bandera"]
|
|
27350
27449
|
};
|
|
27351
|
-
function
|
|
27450
|
+
function Za(i, r) {
|
|
27352
27451
|
if (!i || i.trim() === "") return r;
|
|
27353
27452
|
const o = i.toLowerCase().trim();
|
|
27354
27453
|
return r.filter((e) => {
|
|
27355
|
-
const n =
|
|
27454
|
+
const n = Ia[e];
|
|
27356
27455
|
return n ? n.some((a) => a.includes(o)) : !1;
|
|
27357
27456
|
});
|
|
27358
27457
|
}
|
|
27359
|
-
const
|
|
27458
|
+
const kn = "emoji-picker-recent", Da = ({
|
|
27360
27459
|
onEmojiSelect: i,
|
|
27361
27460
|
maxRecentEmojis: r = 16,
|
|
27362
27461
|
className: o = "",
|
|
@@ -27387,7 +27486,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27387
27486
|
O(a);
|
|
27388
27487
|
else
|
|
27389
27488
|
try {
|
|
27390
|
-
const _ = localStorage.getItem(
|
|
27489
|
+
const _ = localStorage.getItem(kn);
|
|
27391
27490
|
_ && O(JSON.parse(_));
|
|
27392
27491
|
} catch (_) {
|
|
27393
27492
|
console.error("Error loading recent emojis:", _);
|
|
@@ -27395,7 +27494,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27395
27494
|
}, []);
|
|
27396
27495
|
const P = (_) => {
|
|
27397
27496
|
try {
|
|
27398
|
-
localStorage.setItem(
|
|
27497
|
+
localStorage.setItem(kn, JSON.stringify(_));
|
|
27399
27498
|
} catch (F) {
|
|
27400
27499
|
console.error("Error saving recent emojis:", F);
|
|
27401
27500
|
}
|
|
@@ -27413,7 +27512,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27413
27512
|
...Ve.slice(1)
|
|
27414
27513
|
] : Ve.slice(1).map((z) => ({
|
|
27415
27514
|
...z,
|
|
27416
|
-
emojis:
|
|
27515
|
+
emojis: Za(H, z.emojis)
|
|
27417
27516
|
})).filter((z) => z.emojis.length > 0), [H, k]), q = (_) => {
|
|
27418
27517
|
const F = D.current[_];
|
|
27419
27518
|
if (F && T.current) {
|
|
@@ -27522,7 +27621,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27522
27621
|
)
|
|
27523
27622
|
}
|
|
27524
27623
|
);
|
|
27525
|
-
},
|
|
27624
|
+
}, Ta = ({ maxLength: i = 0, onChange: r, value: o }) => {
|
|
27526
27625
|
const [e, n] = E(!1), [a, u] = E(() => (o || "").length);
|
|
27527
27626
|
return K(() => {
|
|
27528
27627
|
const p = (o || "").length;
|
|
@@ -27548,7 +27647,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27548
27647
|
}
|
|
27549
27648
|
}
|
|
27550
27649
|
} };
|
|
27551
|
-
},
|
|
27650
|
+
}, Ba = ({
|
|
27552
27651
|
value: i,
|
|
27553
27652
|
onChange: r,
|
|
27554
27653
|
placeholder: o = "",
|
|
@@ -27563,7 +27662,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27563
27662
|
label: c = "",
|
|
27564
27663
|
fullWidth: h = !0
|
|
27565
27664
|
}) => {
|
|
27566
|
-
const { isFocused: f, setIsFocused: g, count: v, handleChange: L, handlePaste: w } =
|
|
27665
|
+
const { isFocused: f, setIsFocused: g, count: v, handleChange: L, handlePaste: w } = Ta({
|
|
27567
27666
|
maxLength: d,
|
|
27568
27667
|
onChange: r,
|
|
27569
27668
|
value: i
|
|
@@ -27641,7 +27740,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27641
27740
|
}
|
|
27642
27741
|
)
|
|
27643
27742
|
] });
|
|
27644
|
-
},
|
|
27743
|
+
}, le = {
|
|
27645
27744
|
DROPDOWN: "dropdown",
|
|
27646
27745
|
MULTIPLE: "multiple",
|
|
27647
27746
|
INPUT: "input",
|
|
@@ -27649,19 +27748,19 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27649
27748
|
DATE_RANGE: "dateRange",
|
|
27650
27749
|
TEXTAREA: "textarea",
|
|
27651
27750
|
GROUP: "group"
|
|
27652
|
-
},
|
|
27751
|
+
}, Aa = ({ filters: i, onClear: r, onApply: o }) => {
|
|
27653
27752
|
const e = I((f) => {
|
|
27654
27753
|
switch (f) {
|
|
27655
|
-
case
|
|
27656
|
-
case
|
|
27754
|
+
case le.MULTIPLE:
|
|
27755
|
+
case le.GROUP:
|
|
27657
27756
|
return [];
|
|
27658
|
-
case
|
|
27757
|
+
case le.DATE:
|
|
27659
27758
|
return null;
|
|
27660
|
-
case
|
|
27759
|
+
case le.DATE_RANGE:
|
|
27661
27760
|
return { start: null, end: null };
|
|
27662
|
-
case
|
|
27663
|
-
case
|
|
27664
|
-
case
|
|
27761
|
+
case le.DROPDOWN:
|
|
27762
|
+
case le.INPUT:
|
|
27763
|
+
case le.TEXTAREA:
|
|
27665
27764
|
default:
|
|
27666
27765
|
return "";
|
|
27667
27766
|
}
|
|
@@ -27725,7 +27824,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27725
27824
|
}),
|
|
27726
27825
|
[u, d, p, c]
|
|
27727
27826
|
);
|
|
27728
|
-
},
|
|
27827
|
+
}, Il = ({
|
|
27729
27828
|
filters: i = [],
|
|
27730
27829
|
clearText: r = "Limpiar",
|
|
27731
27830
|
title: o = "Filtros",
|
|
@@ -27743,7 +27842,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27743
27842
|
handleFilterChange: f,
|
|
27744
27843
|
handleClear: g,
|
|
27745
27844
|
handleApply: v
|
|
27746
|
-
} =
|
|
27845
|
+
} = Aa({
|
|
27747
27846
|
filters: i,
|
|
27748
27847
|
onClear: a,
|
|
27749
27848
|
onApply: u
|
|
@@ -27772,7 +27871,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27772
27871
|
},
|
|
27773
27872
|
children: [
|
|
27774
27873
|
/* @__PURE__ */ C("div", { className: "ui-flex ui-items-center ui-justify-between ui-p-16 ui-pb-12", children: [
|
|
27775
|
-
/* @__PURE__ */ t(
|
|
27874
|
+
/* @__PURE__ */ t(fn, { title: o, icon: e }),
|
|
27776
27875
|
/* @__PURE__ */ t(O1, { theme: "solid", color: "secondary", pill: "sm", size: "xxs", onClick: g, children: r })
|
|
27777
27876
|
] }),
|
|
27778
27877
|
/* @__PURE__ */ t(q1, {}),
|
|
@@ -27855,7 +27954,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27855
27954
|
},
|
|
27856
27955
|
x
|
|
27857
27956
|
) : V.type === "textarea" ? /* @__PURE__ */ t(
|
|
27858
|
-
|
|
27957
|
+
Ba,
|
|
27859
27958
|
{
|
|
27860
27959
|
value: h[m] || "",
|
|
27861
27960
|
onChange: (H) => f(V.label, H, V)
|
|
@@ -27868,7 +27967,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
27868
27967
|
]
|
|
27869
27968
|
}
|
|
27870
27969
|
);
|
|
27871
|
-
},
|
|
27970
|
+
}, Pa = () => {
|
|
27872
27971
|
const i = n1(null), [r, o] = E(!1), [e, n] = E(/* @__PURE__ */ new Set()), a = I(() => {
|
|
27873
27972
|
const x = /* @__PURE__ */ new Set(), H = window.getSelection();
|
|
27874
27973
|
if (!H || H.rangeCount === 0) {
|
|
@@ -28075,7 +28174,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28075
28174
|
clear: S,
|
|
28076
28175
|
isEmpty: m
|
|
28077
28176
|
};
|
|
28078
|
-
},
|
|
28177
|
+
}, se = ({ isActive: i, onClick: r, disabled: o, children: e, tooltip: n }) => /* @__PURE__ */ t(
|
|
28079
28178
|
"button",
|
|
28080
28179
|
{
|
|
28081
28180
|
type: "button",
|
|
@@ -28090,7 +28189,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28090
28189
|
"aria-label": n,
|
|
28091
28190
|
children: e
|
|
28092
28191
|
}
|
|
28093
|
-
),
|
|
28192
|
+
), Zl = ({
|
|
28094
28193
|
value: i,
|
|
28095
28194
|
defaultValue: r = "",
|
|
28096
28195
|
onChange: o,
|
|
@@ -28120,7 +28219,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28120
28219
|
getHTML: y,
|
|
28121
28220
|
setHTML: k,
|
|
28122
28221
|
isEmpty: O
|
|
28123
|
-
} =
|
|
28222
|
+
} = Pa(), [b, M] = E(!0);
|
|
28124
28223
|
K(() => {
|
|
28125
28224
|
i !== void 0 && w.current && y() !== i && k(i);
|
|
28126
28225
|
}, [i, y, k]), K(() => {
|
|
@@ -28153,7 +28252,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28153
28252
|
children: /* @__PURE__ */ C("div", { className: "ui-flex ui-w-full ui-flex-col ui-gap-1 ui-px-2 ui-py-1.5", children: [
|
|
28154
28253
|
a && /* @__PURE__ */ C("div", { className: "ui-flex ui-w-full ui-items-center ui-gap-1 ui-rounded ui-bg-neutral-50 ui-p-1", children: [
|
|
28155
28254
|
/* @__PURE__ */ t(
|
|
28156
|
-
|
|
28255
|
+
se,
|
|
28157
28256
|
{
|
|
28158
28257
|
isActive: B("bold"),
|
|
28159
28258
|
onClick: () => m("bold"),
|
|
@@ -28163,7 +28262,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28163
28262
|
}
|
|
28164
28263
|
),
|
|
28165
28264
|
/* @__PURE__ */ t(
|
|
28166
|
-
|
|
28265
|
+
se,
|
|
28167
28266
|
{
|
|
28168
28267
|
isActive: B("italic"),
|
|
28169
28268
|
onClick: () => m("italic"),
|
|
@@ -28173,7 +28272,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28173
28272
|
}
|
|
28174
28273
|
),
|
|
28175
28274
|
/* @__PURE__ */ t(
|
|
28176
|
-
|
|
28275
|
+
se,
|
|
28177
28276
|
{
|
|
28178
28277
|
isActive: B("underline"),
|
|
28179
28278
|
onClick: () => m("underline"),
|
|
@@ -28186,7 +28285,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28186
28285
|
}
|
|
28187
28286
|
),
|
|
28188
28287
|
/* @__PURE__ */ t(
|
|
28189
|
-
|
|
28288
|
+
se,
|
|
28190
28289
|
{
|
|
28191
28290
|
isActive: B("strikethrough"),
|
|
28192
28291
|
onClick: () => m("strikeThrough"),
|
|
@@ -28197,7 +28296,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28197
28296
|
),
|
|
28198
28297
|
/* @__PURE__ */ t("div", { className: "ui-mx-0.5 ui-h-3 ui-w-px ui-bg-neutral-200" }),
|
|
28199
28298
|
/* @__PURE__ */ t(
|
|
28200
|
-
|
|
28299
|
+
se,
|
|
28201
28300
|
{
|
|
28202
28301
|
isActive: B("ul"),
|
|
28203
28302
|
onClick: () => m("insertUnorderedList"),
|
|
@@ -28207,7 +28306,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28207
28306
|
}
|
|
28208
28307
|
),
|
|
28209
28308
|
/* @__PURE__ */ t(
|
|
28210
|
-
|
|
28309
|
+
se,
|
|
28211
28310
|
{
|
|
28212
28311
|
isActive: B("ol"),
|
|
28213
28312
|
onClick: () => m("insertOrderedList"),
|
|
@@ -28218,7 +28317,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28218
28317
|
),
|
|
28219
28318
|
/* @__PURE__ */ t("div", { className: "ui-mx-0.5 ui-h-3 ui-w-px ui-bg-neutral-200" }),
|
|
28220
28319
|
/* @__PURE__ */ t(
|
|
28221
|
-
|
|
28320
|
+
se,
|
|
28222
28321
|
{
|
|
28223
28322
|
isActive: !1,
|
|
28224
28323
|
onClick: () => {
|
|
@@ -28273,7 +28372,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28273
28372
|
/* @__PURE__ */ t("div", { className: "ui-mx-0.5 ui-h-3 ui-w-px ui-bg-neutral-200" })
|
|
28274
28373
|
] }),
|
|
28275
28374
|
/* @__PURE__ */ t(
|
|
28276
|
-
|
|
28375
|
+
Da,
|
|
28277
28376
|
{
|
|
28278
28377
|
variant: "icon",
|
|
28279
28378
|
color: "secondary",
|
|
@@ -28321,7 +28420,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28321
28420
|
] })
|
|
28322
28421
|
}
|
|
28323
28422
|
);
|
|
28324
|
-
},
|
|
28423
|
+
}, $a = ({ images: i, initialIndex: r, onClose: o }) => {
|
|
28325
28424
|
const [e, n] = E(r);
|
|
28326
28425
|
K(() => {
|
|
28327
28426
|
n(r);
|
|
@@ -28359,7 +28458,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28359
28458
|
hasPrevious: p,
|
|
28360
28459
|
hasNext: d
|
|
28361
28460
|
};
|
|
28362
|
-
},
|
|
28461
|
+
}, Ea = ({
|
|
28363
28462
|
images: i,
|
|
28364
28463
|
initialIndex: r = 0,
|
|
28365
28464
|
isOpen: o,
|
|
@@ -28380,7 +28479,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28380
28479
|
goToImage: v,
|
|
28381
28480
|
hasPrevious: L,
|
|
28382
28481
|
hasNext: w
|
|
28383
|
-
} =
|
|
28482
|
+
} = $a({ images: i, initialIndex: r, onClose: e });
|
|
28384
28483
|
if (K(() => (o ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
|
|
28385
28484
|
document.body.style.overflow = "";
|
|
28386
28485
|
}), [o]), !o || !h) return null;
|
|
@@ -28406,7 +28505,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28406
28505
|
color: "secondary",
|
|
28407
28506
|
size: "sm",
|
|
28408
28507
|
pill: "pill",
|
|
28409
|
-
icon:
|
|
28508
|
+
icon: on,
|
|
28410
28509
|
onClick: f,
|
|
28411
28510
|
tooltip: "Anterior",
|
|
28412
28511
|
tooltipPosition: "right",
|
|
@@ -28444,7 +28543,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28444
28543
|
color: "secondary",
|
|
28445
28544
|
size: "sm",
|
|
28446
28545
|
pill: "pill",
|
|
28447
|
-
icon:
|
|
28546
|
+
icon: an,
|
|
28448
28547
|
onClick: g,
|
|
28449
28548
|
tooltip: "Siguiente",
|
|
28450
28549
|
tooltipPosition: "left",
|
|
@@ -28474,24 +28573,24 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28474
28573
|
]
|
|
28475
28574
|
}
|
|
28476
28575
|
);
|
|
28477
|
-
},
|
|
28576
|
+
}, za = {
|
|
28478
28577
|
sm: "3xl",
|
|
28479
28578
|
md: "4xl",
|
|
28480
28579
|
lg: "5xl"
|
|
28481
|
-
},
|
|
28580
|
+
}, Dl = ({ size: i = "md" }) => /* @__PURE__ */ t(p1, { name: "LogoFill", size: za[i] }), Fa = [
|
|
28482
28581
|
{ label: "5", id: 5 },
|
|
28483
28582
|
{ label: "10", id: 10 },
|
|
28484
28583
|
{ label: "25", id: 25 },
|
|
28485
28584
|
{ label: "50", id: 50 },
|
|
28486
28585
|
{ label: "100", id: 100 }
|
|
28487
|
-
],
|
|
28586
|
+
], Ra = ({
|
|
28488
28587
|
currentPage: i,
|
|
28489
28588
|
pageCount: r,
|
|
28490
28589
|
pageSize: o = 10,
|
|
28491
28590
|
total: e,
|
|
28492
28591
|
pageSizeText: n = "",
|
|
28493
28592
|
showingPagesText: a = "Mostrando página",
|
|
28494
|
-
optionsSize: u =
|
|
28593
|
+
optionsSize: u = Fa,
|
|
28495
28594
|
onPageChange: l,
|
|
28496
28595
|
handlePageSize: s = () => {
|
|
28497
28596
|
},
|
|
@@ -28564,7 +28663,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28564
28663
|
size: "xs",
|
|
28565
28664
|
pill: "pill",
|
|
28566
28665
|
color: "secondary",
|
|
28567
|
-
icon:
|
|
28666
|
+
icon: on,
|
|
28568
28667
|
onClick: () => f(i - 1),
|
|
28569
28668
|
disabled: i === 1,
|
|
28570
28669
|
"aria-label": "Ir a la página anterior"
|
|
@@ -28595,7 +28694,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28595
28694
|
size: "xs",
|
|
28596
28695
|
pill: "pill",
|
|
28597
28696
|
color: "secondary",
|
|
28598
|
-
icon:
|
|
28697
|
+
icon: an,
|
|
28599
28698
|
onClick: () => f(i + 1),
|
|
28600
28699
|
disabled: i === r,
|
|
28601
28700
|
"aria-label": "Ir a la página siguiente"
|
|
@@ -28641,20 +28740,20 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28641
28740
|
] })
|
|
28642
28741
|
}
|
|
28643
28742
|
);
|
|
28644
|
-
}, Ra = "Main Scene", _a = 0, qa = 500, Ua = 500, Ya = { g: "@lottiefiles/creator 1.47.1" }, Ga = [{ ty: 0, nm: "logo", sr: 1, st: 0, op: 150, ip: 0, hd: !1, ddd: 0, bm: 0, hasMask: !1, ao: 0, ks: { a: { a: 0, k: [114.99567413289333, 115.01750945812091] }, s: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [157.8679, 157.8679], t: 0 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [157.8679, 157.8679], t: 127 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [204.8103, 204.8103], t: 130 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [192.6056, 192.6056], t: 132 }, { s: [184.5605, 184.5605], t: 135 }] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [250, 250] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }, w: 500, h: 500, refId: "precomp_Shape Layer - SVG_29362cac-4bba-4dc9-85b7-4d7b9600fad1", ind: 1 }, { ty: 4, nm: "Shape Layer - SVG", sr: 1, st: 0, op: 500, ip: 0, hd: !1, ddd: 0, bm: 0, hasMask: !1, ao: 0, ks: { a: { a: 0, k: [150, 150] }, s: { a: 0, k: [157.6023, 157.6023] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [250, 250] }, r: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0], t: 0 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [90], t: 6 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [180], t: 12 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [280], t: 18 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [360], t: 24 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [450], t: 30 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [540], t: 36 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [630], t: 42 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [720], t: 48 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [810], t: 54 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [900], t: 59.7 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [990], t: 66 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1080], t: 72 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1170], t: 78 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1260], t: 84 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1350], t: 90 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1440], t: 96 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1530], t: 102 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1620], t: 108 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1710], t: 114 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1800], t: 120 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1890], t: 125.7 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1980], t: 132 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [2070], t: 138 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [2160], t: 144 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [2238.9474], t: 149 }, { s: [2250], t: 149.7 }] }, sa: { a: 0, k: 0 }, o: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [100], t: 130 }, { s: [0], t: 132 }] } }, shapes: [{ ty: "gr", bm: 0, hd: !1, nm: "Group 1", it: [{ ty: "sh", bm: 0, hd: !1, nm: "Path 1", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [0.5729999999999791, -6.873000000000019], [5.942000000000007, -14.34699999999998], [13.92900000000003, -13.928999999999974], [18.199000000000012, -7.538000000000011], [15.424999999999983, -1.288000000000011], [0, 6.896000000000015], [0, 0], [-6.862000000000023, 0.6879999999999882], [-11.314999999999998, 4.687000000000012], [-11.610000000000014, 11.609999999999985], [-6.282999999999959, 15.169000000000011], [-1.2169999999999845, 12.141999999999996], [-6.896999999999991, 0], [0, 0]], o: [[6.896000000000015, 0], [-1.288000000000011, 15.424999999999983], [-7.538000000000011, 18.198000000000008], [-13.928999999999974, 13.92900000000003], [-14.345999999999975, 5.942000000000007], [-6.873000000000019, 0.5729999999999791], [0, 0], [0, -6.896999999999991], [12.141999999999996, -1.2169999999999845], [15.169000000000011, -6.282999999999959], [11.609999999999985, -11.610000000000014], [4.687000000000012, -11.314999999999998], [0.6879999999999882, -6.862000000000023], [0, 0], [0, 0]], v: [[287.513, 150], [299.481, 162.473], [288.582, 207.403], [256.066, 256.066], [207.402, 288.582], [162.473, 299.481], [150, 287.513], [150, 287.513], [162.467, 274.402], [197.845, 265.508], [238.406, 238.406], [265.508, 197.845], [274.402, 162.467], [287.513, 150], [287.513, 150]] } } }, { ty: "fl", bm: 0, hd: !1, nm: "Fill", c: { a: 0, k: [0.4706, 0.5608, 0.8353] }, r: 1, o: { a: 0, k: 100 } }, { ty: "tr", a: { a: 0, k: [224.74049377441406, 224.74049377441412] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [224.74049377441406, 224.74049377441412] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }, { ty: "gr", bm: 0, hd: !1, nm: "Group 2", it: [{ ty: "sh", bm: 0, hd: !1, nm: "Path 2", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [82.84299999999999, 0], [0, 82.84299999999999], [-82.8427, 0], [0, -82.8427]], o: [[0, 82.84299999999999], [-82.8427, 0], [0, -82.8427], [82.84299999999999, 0], [0, 0]], v: [[300, 150], [150, 300], [0, 150], [150, 0], [300, 150]] } } }, { ty: "sh", bm: 0, hd: !1, nm: "Path 3", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [-69.0494, 0], [0, 69.049], [69.049, 0], [0, -69.0494]], o: [[0, 69.049], [69.049, 0], [0, -69.0494], [-69.0494, 0], [0, 0]], v: [[24.975, 150], [150, 275.025], [275.025, 150], [150, 24.975], [24.975, 150]] } } }, { ty: "fl", bm: 0, hd: !1, nm: "Fill", c: { a: 0, k: [0.9216, 0.9333, 0.9765] }, r: 1, o: { a: 0, k: 100 } }, { ty: "tr", a: { a: 0, k: [150.00000000000009, 150] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [150.00000000000009, 150] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }], ind: 2 }], Qa = "5.7.0", Ja = 30, Xa = 150, Ka = 0, Wa = /* @__PURE__ */ JSON.parse('[{"nm":"Nested Scene 2","id":"precomp_Shape Layer - SVG_29362cac-4bba-4dc9-85b7-4d7b9600fad1","layers":[{"ty":4,"nm":"Shape Layer 1","sr":1,"st":0,"op":150,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}},"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","d":1,"ks":{"a":0,"k":{"c":true,"i":[[5.426000000000016,0.08419999999999561],[3.875,-3.8752000000000066],[0.002999999999985903,-5.480000000000004],[0,0],[0,0],[-3.806999999999988,3.866000000000014],[0,5.425999999999988],[3.8060000000000116,3.8658000000000072]],"o":[[-5.478999999999985,0.003900000000001569],[-3.8740000000000236,3.8755999999999915],[0,0],[0,0],[5.426000000000016,-0.08499999999997954],[3.8060000000000116,-3.8669999999999902],[0,-5.425000000000011],[-3.806999999999988,-3.8662999999999954]],"v":[[191.265,93.7444],[176.657,99.8024],[170.603,114.412],[170.603,135.075],[191.265,135.075],[205.672,128.91],[211.612,114.409],[205.672,99.9092]]}}},{"ty":"sh","bm":0,"hd":false,"nm":"Path 2","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[1.4680000000000177,0.9789999999999992],[0.6759999999999877,1.6299999999999955],[-0.34300000000001774,1.7309999999999945],[-1.2480000000000189,1.2489999999999952],[-1.7309999999999945,0.3439999999999941],[-1.6310000000000002,-0.6760000000000019],[-0.9799999999999898,-1.4669999999999987],[0,-1.7650000000000006],[0.4480000000000075,-1.0819999999999936],[0.828000000000003,-0.828000000000003],[1.0829999999999984,-0.4490000000000123],[1.1720000000000255,0]],"o":[[-1.7649999999999864,0.0010000000000047748],[-1.4679999999999893,-0.980000000000004],[-0.6759999999999877,-1.6299999999999955],[0.3439999999999941,-1.7310000000000088],[1.2479999999999905,-1.2480000000000047],[1.7309999999999945,-0.34499999999999886],[1.6310000000000002,0.6749999999999972],[0.9809999999999945,1.4680000000000035],[0,1.1709999999999923],[-0.4480000000000075,1.0830000000000126],[-0.828000000000003,0.8289999999999935],[-1.0819999999999936,0.4479999999999933],[0,0]],"v":[[191.265,123.335],[186.307,121.834],[183.018,117.83],[182.508,112.674],[184.949,108.104],[189.518,105.661],[194.674,106.168],[198.679,109.454],[200.184,114.412],[199.506,117.826],[197.573,120.721],[194.679,122.656],[191.265,123.335]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[1,0.9137,0.0275]},"r":1,"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":89},{"s":[100],"t":90}]}},{"ty":"tr","a":{"a":0,"k":[191.1074981689453,114.43174743652344]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[191.1074981689453,114.43174743652344]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]},{"ty":"gr","bm":0,"hd":false,"nm":"Group 3","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 5","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,0],[0,0],[-5.3489999999999895,3.5700000000000216],[-2.462999999999994,5.9410000000000025],[1.2520000000000095,6.308000000000007],[4.546999999999997,4.548599999999993],[6.306999999999988,1.2554999999999978],[5.942000000000007,-2.4609000000000094],[3.5730000000000075,-5.347699999999989],[-0.0010000000000047748,-6.430999999999997],[0,0],[-4.169000000000011,2.350999999999999]],"o":[[0,0],[0,0],[6.430999999999983,0.004000000000019099],[5.349999999999994,-3.570999999999998],[2.4639999999999986,-5.939999999999998],[-1.2530000000000143,-6.3089999999999975],[-4.545999999999992,-4.548700000000011],[-6.307999999999993,-1.2556000000000012],[-5.941999999999979,2.4609999999999985],[-3.5730000000000075,5.347100000000012],[0,0],[4.460000000000008,-1.73599999999999],[0,0]],"v":[[170.608,215.691],[170.608,147.004],[190.139,147.004],[208.207,141.534],[220.19,126.946],[222.048,108.16],[213.153,91.5079],[196.506,82.6057],[177.718,84.4544],[163.125,96.4309],[157.647,114.497],[157.647,221.828],[170.608,215.691]]}}},{"ty":"sh","bm":0,"hd":false,"nm":"Path 6","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[1.4680000000000177,0.9799999999999898],[0.6759999999999877,1.6310000000000002],[-0.3440000000000225,1.7319999999999993],[-1.2480000000000189,1.2489999999999952],[-1.7309999999999945,0.34499999999999886],[-1.6310000000000002,-0.6750000000000114],[-0.9799999999999898,-1.4669999999999987],[0,-1.7650000000000006],[1.671999999999997,-1.6730000000000018],[2.366000000000014,-0.000999999999990564]],"o":[[-1.7649999999999864,0.0010000000000047748],[-1.4679999999999893,-0.980000000000004],[-0.6759999999999877,-1.6299999999999955],[0.3439999999999941,-1.7310000000000088],[1.2479999999999905,-1.2480000000000047],[1.7309999999999945,-0.34499999999999886],[1.6310000000000002,0.6749999999999972],[0.9809999999999945,1.4680000000000035],[0,2.3659999999999997],[-1.6730000000000018,1.6730000000000018],[0,0]],"v":[[191.265,123.335],[186.307,121.834],[183.018,117.83],[182.508,112.674],[184.949,108.104],[189.518,105.661],[194.674,106.168],[198.679,109.454],[200.183,114.412],[197.572,120.72],[191.265,123.335]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[1,1,1]},"r":1,"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":89},{"s":[100],"t":90}]}},{"ty":"tr","a":{"a":0,"k":[190.15575408935547,151.90709686279297]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[190.15575408935547,151.90709686279297]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]},{"ty":"gr","bm":0,"hd":false,"nm":"Group 2","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 3","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,0],[-3.575400000000002,-5.344999999999985],[-5.9428999999999945,-2.4569999999999936],[-6.304999999999993,1.259999999999991],[-4.543000000000006,4.550999999999988],[-1.2489999999999952,6.308000000000007],[2.4669999999999845,5.938000000000002],[5.350999999999999,3.5664000000000016],[6.429999999999993,-0.007900000000006457],[0,0],[0,0],[4.2513000000000005,-1.2714599999999998]],"o":[[0,0],[0.0030000000000001137,6.430000000000007],[3.575499999999991,5.3440000000000225],[5.942000000000007,2.4560000000000173],[6.306000000000012,-1.2590000000000146],[4.543000000000006,-4.550000000000011],[1.2479999999999905,-6.307999999999993],[-2.467000000000013,-5.9380999999999915],[-5.350999999999999,-3.566500000000005],[0,0],[0,0],[-4.380099999999999,0.71045],[0,0]],"v":[[82.594,4.61346],[82.594,114.616],[88.0824,132.676],[102.681,144.642],[121.466,146.478],[138.106,137.567],[146.989,120.913],[145.12,102.13],[133.13,87.5523],[115.061,82.0943],[95.5548,82.0943],[95.5548,1.63745],[82.594,4.61346]]}}},{"ty":"sh","bm":0,"hd":false,"nm":"Path 4","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[3.875,3.8739999999999952],[0.0040000000000048885,5.478999999999999],[0,0],[0,0],[-3.875,-3.874600000000001],[0,-5.480000000000004],[3.875,-3.875],[5.480000000000004,0]],"o":[[-5.478999999999999,-0.003999999999990678],[-3.8736999999999995,-3.8740000000000094],[0,0],[0,0],[5.480000000000004,0],[3.875,3.875],[0,5.480000000000004],[-3.875,3.875],[0,0]],"v":[[115.789,135.279],[101.182,129.222],[95.1261,114.616],[95.1261,93.9535],[115.789,93.9535],[130.399,100.005],[136.451,114.616],[130.399,129.227],[115.789,135.279]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[1,1,1]},"r":1,"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":59},{"s":[100],"t":60}]}},{"ty":"tr","a":{"a":0,"k":[115.09796524047852,74.36936128139496]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[115.09796524047852,74.36936128139496]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]},{"ty":"gr","bm":0,"hd":false,"nm":"Group 4","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 7","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[5.3384,-3.566999999999993],[2.4569800000000015,-5.9313999999999965],[-1.2525399999999998,-6.296999999999997],[-4.539899999999999,-4.539999999999992],[-6.296999999999997,-1.2530000000000143],[-5.931599999999996,2.4569999999999936],[-3.5670000000000073,5.337999999999994],[0,6.420000000000002],[6.087499999999999,6.087500000000006],[8.608999999999995,0.001300000000000523]],"o":[[-6.420300000000005,0],[-5.3383,3.5670000000000073],[-2.4569599999999987,5.932000000000002],[1.2525500000000003,6.296999999999997],[4.539899999999999,4.539999999999992],[6.297000000000004,1.252999999999986],[5.931699999999999,-2.4569999999999936],[3.566999999999993,-5.339000000000013],[-0.001300000000000523,-8.609000000000009],[-6.087499999999999,-6.0874999999999915],[0,0]],"v":[[39.7882,82.095],[21.7533,87.5658],[9.79732,102.134],[7.95005,120.89],[16.8342,137.511],[33.4552,146.395],[52.2108,144.548],[66.7793,132.592],[72.2501,114.557],[62.7408,91.6043],[39.7882,82.095]]}}},{"ty":"sh","bm":0,"hd":false,"nm":"Path 8","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[3.368400000000001,2.2510000000000048],[1.5503,3.743000000000009],[-0.7903999999999982,3.972999999999999],[-2.8645999999999994,2.865000000000009],[-3.9734000000000016,0.790300000000002],[-3.7428000000000026,-1.5503999999999962],[-2.250699999999995,-3.368300000000005],[0,-4.051000000000002],[3.8408999999999978,-3.838000000000008],[5.429899999999996,0],[0,0]],"o":[[-4.0512000000000015,0],[-3.368400000000001,-2.2510000000000048],[-1.5503,-3.7419999999999902],[0.790300000000002,-3.9740000000000038],[2.8645999999999994,-2.8644999999999925],[3.973300000000002,-0.7903999999999911],[3.7427999999999955,1.5503000000000071],[2.250700000000002,3.3689999999999998],[-0.0038999999999944635,5.429999999999993],[-3.8408999999999978,3.837999999999994],[0,0],[0,0]],"v":[[39.7882,135.04],[28.4084,131.588],[20.8643,122.395],[19.6987,110.561],[25.3045,100.073],[35.7922,94.4674],[47.6268,95.633],[56.8193,103.177],[60.2713,114.557],[54.2667,129.031],[39.7882,135.025],[39.7882,135.04]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[1,1,1],"sid":"LetraO"},"r":1,"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":29},{"s":[100],"t":30}]}},{"ty":"tr","a":{"a":0,"k":[39.7912118434906,114.55400085449219]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[39.7912118434906,114.55400085449219]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]},{"ty":"gr","bm":0,"hd":false,"nm":"Group 5","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 9","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,63.512],[63.51100000000001,0],[0,-63.51090000000001],[-63.5115,0]],"o":[[63.51100000000001,0],[0,-63.51090000000001],[-63.5115,0],[0,63.512],[0,0]],"v":[[114.996,229.993],[229.993,114.995],[114.996,-0.0020752],[-0.00164795,114.995],[114.996,229.993]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[0.2392,0.349,0.6471]},"r":1,"o":{"a":0,"k":100}},{"ty":"tr","a":{"a":0,"k":[114.99567413289333,115.01750945812091]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[114.99567413289333,115.01750945812091]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]}],"ind":1}]}]'), eu = { LetraO: { p: { a: 0, k: [1, 1, 1] } } }, nu = {
|
|
28645
|
-
nm:
|
|
28646
|
-
ddd:
|
|
28647
|
-
h:
|
|
28648
|
-
w:
|
|
28649
|
-
meta:
|
|
28650
|
-
layers:
|
|
28651
|
-
v:
|
|
28652
|
-
fr:
|
|
28653
|
-
op:
|
|
28654
|
-
ip:
|
|
28655
|
-
assets:
|
|
28656
|
-
slots:
|
|
28657
|
-
},
|
|
28743
|
+
}, _a = "Main Scene", qa = 0, Ua = 500, Ya = 500, Ga = { g: "@lottiefiles/creator 1.47.1" }, Qa = [{ ty: 0, nm: "logo", sr: 1, st: 0, op: 150, ip: 0, hd: !1, ddd: 0, bm: 0, hasMask: !1, ao: 0, ks: { a: { a: 0, k: [114.99567413289333, 115.01750945812091] }, s: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [157.8679, 157.8679], t: 0 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [157.8679, 157.8679], t: 127 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [204.8103, 204.8103], t: 130 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [192.6056, 192.6056], t: 132 }, { s: [184.5605, 184.5605], t: 135 }] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [250, 250] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }, w: 500, h: 500, refId: "precomp_Shape Layer - SVG_29362cac-4bba-4dc9-85b7-4d7b9600fad1", ind: 1 }, { ty: 4, nm: "Shape Layer - SVG", sr: 1, st: 0, op: 500, ip: 0, hd: !1, ddd: 0, bm: 0, hasMask: !1, ao: 0, ks: { a: { a: 0, k: [150, 150] }, s: { a: 0, k: [157.6023, 157.6023] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [250, 250] }, r: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0], t: 0 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [90], t: 6 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [180], t: 12 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [280], t: 18 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [360], t: 24 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [450], t: 30 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [540], t: 36 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [630], t: 42 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [720], t: 48 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [810], t: 54 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [900], t: 59.7 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [990], t: 66 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1080], t: 72 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1170], t: 78 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1260], t: 84 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1350], t: 90 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1440], t: 96 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1530], t: 102 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1620], t: 108 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1710], t: 114 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1800], t: 120 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1890], t: 125.7 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [1980], t: 132 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [2070], t: 138 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [2160], t: 144 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [2238.9474], t: 149 }, { s: [2250], t: 149.7 }] }, sa: { a: 0, k: 0 }, o: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [100], t: 130 }, { s: [0], t: 132 }] } }, shapes: [{ ty: "gr", bm: 0, hd: !1, nm: "Group 1", it: [{ ty: "sh", bm: 0, hd: !1, nm: "Path 1", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [0.5729999999999791, -6.873000000000019], [5.942000000000007, -14.34699999999998], [13.92900000000003, -13.928999999999974], [18.199000000000012, -7.538000000000011], [15.424999999999983, -1.288000000000011], [0, 6.896000000000015], [0, 0], [-6.862000000000023, 0.6879999999999882], [-11.314999999999998, 4.687000000000012], [-11.610000000000014, 11.609999999999985], [-6.282999999999959, 15.169000000000011], [-1.2169999999999845, 12.141999999999996], [-6.896999999999991, 0], [0, 0]], o: [[6.896000000000015, 0], [-1.288000000000011, 15.424999999999983], [-7.538000000000011, 18.198000000000008], [-13.928999999999974, 13.92900000000003], [-14.345999999999975, 5.942000000000007], [-6.873000000000019, 0.5729999999999791], [0, 0], [0, -6.896999999999991], [12.141999999999996, -1.2169999999999845], [15.169000000000011, -6.282999999999959], [11.609999999999985, -11.610000000000014], [4.687000000000012, -11.314999999999998], [0.6879999999999882, -6.862000000000023], [0, 0], [0, 0]], v: [[287.513, 150], [299.481, 162.473], [288.582, 207.403], [256.066, 256.066], [207.402, 288.582], [162.473, 299.481], [150, 287.513], [150, 287.513], [162.467, 274.402], [197.845, 265.508], [238.406, 238.406], [265.508, 197.845], [274.402, 162.467], [287.513, 150], [287.513, 150]] } } }, { ty: "fl", bm: 0, hd: !1, nm: "Fill", c: { a: 0, k: [0.4706, 0.5608, 0.8353] }, r: 1, o: { a: 0, k: 100 } }, { ty: "tr", a: { a: 0, k: [224.74049377441406, 224.74049377441412] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [224.74049377441406, 224.74049377441412] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }, { ty: "gr", bm: 0, hd: !1, nm: "Group 2", it: [{ ty: "sh", bm: 0, hd: !1, nm: "Path 2", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [82.84299999999999, 0], [0, 82.84299999999999], [-82.8427, 0], [0, -82.8427]], o: [[0, 82.84299999999999], [-82.8427, 0], [0, -82.8427], [82.84299999999999, 0], [0, 0]], v: [[300, 150], [150, 300], [0, 150], [150, 0], [300, 150]] } } }, { ty: "sh", bm: 0, hd: !1, nm: "Path 3", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [-69.0494, 0], [0, 69.049], [69.049, 0], [0, -69.0494]], o: [[0, 69.049], [69.049, 0], [0, -69.0494], [-69.0494, 0], [0, 0]], v: [[24.975, 150], [150, 275.025], [275.025, 150], [150, 24.975], [24.975, 150]] } } }, { ty: "fl", bm: 0, hd: !1, nm: "Fill", c: { a: 0, k: [0.9216, 0.9333, 0.9765] }, r: 1, o: { a: 0, k: 100 } }, { ty: "tr", a: { a: 0, k: [150.00000000000009, 150] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [150.00000000000009, 150] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }], ind: 2 }], Ja = "5.7.0", Xa = 30, Ka = 150, Wa = 0, eu = /* @__PURE__ */ JSON.parse('[{"nm":"Nested Scene 2","id":"precomp_Shape Layer - SVG_29362cac-4bba-4dc9-85b7-4d7b9600fad1","layers":[{"ty":4,"nm":"Shape Layer 1","sr":1,"st":0,"op":150,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}},"shapes":[{"ty":"gr","bm":0,"hd":false,"nm":"Group 1","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 1","d":1,"ks":{"a":0,"k":{"c":true,"i":[[5.426000000000016,0.08419999999999561],[3.875,-3.8752000000000066],[0.002999999999985903,-5.480000000000004],[0,0],[0,0],[-3.806999999999988,3.866000000000014],[0,5.425999999999988],[3.8060000000000116,3.8658000000000072]],"o":[[-5.478999999999985,0.003900000000001569],[-3.8740000000000236,3.8755999999999915],[0,0],[0,0],[5.426000000000016,-0.08499999999997954],[3.8060000000000116,-3.8669999999999902],[0,-5.425000000000011],[-3.806999999999988,-3.8662999999999954]],"v":[[191.265,93.7444],[176.657,99.8024],[170.603,114.412],[170.603,135.075],[191.265,135.075],[205.672,128.91],[211.612,114.409],[205.672,99.9092]]}}},{"ty":"sh","bm":0,"hd":false,"nm":"Path 2","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[1.4680000000000177,0.9789999999999992],[0.6759999999999877,1.6299999999999955],[-0.34300000000001774,1.7309999999999945],[-1.2480000000000189,1.2489999999999952],[-1.7309999999999945,0.3439999999999941],[-1.6310000000000002,-0.6760000000000019],[-0.9799999999999898,-1.4669999999999987],[0,-1.7650000000000006],[0.4480000000000075,-1.0819999999999936],[0.828000000000003,-0.828000000000003],[1.0829999999999984,-0.4490000000000123],[1.1720000000000255,0]],"o":[[-1.7649999999999864,0.0010000000000047748],[-1.4679999999999893,-0.980000000000004],[-0.6759999999999877,-1.6299999999999955],[0.3439999999999941,-1.7310000000000088],[1.2479999999999905,-1.2480000000000047],[1.7309999999999945,-0.34499999999999886],[1.6310000000000002,0.6749999999999972],[0.9809999999999945,1.4680000000000035],[0,1.1709999999999923],[-0.4480000000000075,1.0830000000000126],[-0.828000000000003,0.8289999999999935],[-1.0819999999999936,0.4479999999999933],[0,0]],"v":[[191.265,123.335],[186.307,121.834],[183.018,117.83],[182.508,112.674],[184.949,108.104],[189.518,105.661],[194.674,106.168],[198.679,109.454],[200.184,114.412],[199.506,117.826],[197.573,120.721],[194.679,122.656],[191.265,123.335]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[1,0.9137,0.0275]},"r":1,"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":89},{"s":[100],"t":90}]}},{"ty":"tr","a":{"a":0,"k":[191.1074981689453,114.43174743652344]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[191.1074981689453,114.43174743652344]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]},{"ty":"gr","bm":0,"hd":false,"nm":"Group 3","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 5","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,0],[0,0],[-5.3489999999999895,3.5700000000000216],[-2.462999999999994,5.9410000000000025],[1.2520000000000095,6.308000000000007],[4.546999999999997,4.548599999999993],[6.306999999999988,1.2554999999999978],[5.942000000000007,-2.4609000000000094],[3.5730000000000075,-5.347699999999989],[-0.0010000000000047748,-6.430999999999997],[0,0],[-4.169000000000011,2.350999999999999]],"o":[[0,0],[0,0],[6.430999999999983,0.004000000000019099],[5.349999999999994,-3.570999999999998],[2.4639999999999986,-5.939999999999998],[-1.2530000000000143,-6.3089999999999975],[-4.545999999999992,-4.548700000000011],[-6.307999999999993,-1.2556000000000012],[-5.941999999999979,2.4609999999999985],[-3.5730000000000075,5.347100000000012],[0,0],[4.460000000000008,-1.73599999999999],[0,0]],"v":[[170.608,215.691],[170.608,147.004],[190.139,147.004],[208.207,141.534],[220.19,126.946],[222.048,108.16],[213.153,91.5079],[196.506,82.6057],[177.718,84.4544],[163.125,96.4309],[157.647,114.497],[157.647,221.828],[170.608,215.691]]}}},{"ty":"sh","bm":0,"hd":false,"nm":"Path 6","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[1.4680000000000177,0.9799999999999898],[0.6759999999999877,1.6310000000000002],[-0.3440000000000225,1.7319999999999993],[-1.2480000000000189,1.2489999999999952],[-1.7309999999999945,0.34499999999999886],[-1.6310000000000002,-0.6750000000000114],[-0.9799999999999898,-1.4669999999999987],[0,-1.7650000000000006],[1.671999999999997,-1.6730000000000018],[2.366000000000014,-0.000999999999990564]],"o":[[-1.7649999999999864,0.0010000000000047748],[-1.4679999999999893,-0.980000000000004],[-0.6759999999999877,-1.6299999999999955],[0.3439999999999941,-1.7310000000000088],[1.2479999999999905,-1.2480000000000047],[1.7309999999999945,-0.34499999999999886],[1.6310000000000002,0.6749999999999972],[0.9809999999999945,1.4680000000000035],[0,2.3659999999999997],[-1.6730000000000018,1.6730000000000018],[0,0]],"v":[[191.265,123.335],[186.307,121.834],[183.018,117.83],[182.508,112.674],[184.949,108.104],[189.518,105.661],[194.674,106.168],[198.679,109.454],[200.183,114.412],[197.572,120.72],[191.265,123.335]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[1,1,1]},"r":1,"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":89},{"s":[100],"t":90}]}},{"ty":"tr","a":{"a":0,"k":[190.15575408935547,151.90709686279297]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[190.15575408935547,151.90709686279297]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]},{"ty":"gr","bm":0,"hd":false,"nm":"Group 2","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 3","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,0],[-3.575400000000002,-5.344999999999985],[-5.9428999999999945,-2.4569999999999936],[-6.304999999999993,1.259999999999991],[-4.543000000000006,4.550999999999988],[-1.2489999999999952,6.308000000000007],[2.4669999999999845,5.938000000000002],[5.350999999999999,3.5664000000000016],[6.429999999999993,-0.007900000000006457],[0,0],[0,0],[4.2513000000000005,-1.2714599999999998]],"o":[[0,0],[0.0030000000000001137,6.430000000000007],[3.575499999999991,5.3440000000000225],[5.942000000000007,2.4560000000000173],[6.306000000000012,-1.2590000000000146],[4.543000000000006,-4.550000000000011],[1.2479999999999905,-6.307999999999993],[-2.467000000000013,-5.9380999999999915],[-5.350999999999999,-3.566500000000005],[0,0],[0,0],[-4.380099999999999,0.71045],[0,0]],"v":[[82.594,4.61346],[82.594,114.616],[88.0824,132.676],[102.681,144.642],[121.466,146.478],[138.106,137.567],[146.989,120.913],[145.12,102.13],[133.13,87.5523],[115.061,82.0943],[95.5548,82.0943],[95.5548,1.63745],[82.594,4.61346]]}}},{"ty":"sh","bm":0,"hd":false,"nm":"Path 4","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[3.875,3.8739999999999952],[0.0040000000000048885,5.478999999999999],[0,0],[0,0],[-3.875,-3.874600000000001],[0,-5.480000000000004],[3.875,-3.875],[5.480000000000004,0]],"o":[[-5.478999999999999,-0.003999999999990678],[-3.8736999999999995,-3.8740000000000094],[0,0],[0,0],[5.480000000000004,0],[3.875,3.875],[0,5.480000000000004],[-3.875,3.875],[0,0]],"v":[[115.789,135.279],[101.182,129.222],[95.1261,114.616],[95.1261,93.9535],[115.789,93.9535],[130.399,100.005],[136.451,114.616],[130.399,129.227],[115.789,135.279]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[1,1,1]},"r":1,"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":59},{"s":[100],"t":60}]}},{"ty":"tr","a":{"a":0,"k":[115.09796524047852,74.36936128139496]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[115.09796524047852,74.36936128139496]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]},{"ty":"gr","bm":0,"hd":false,"nm":"Group 4","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 7","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[5.3384,-3.566999999999993],[2.4569800000000015,-5.9313999999999965],[-1.2525399999999998,-6.296999999999997],[-4.539899999999999,-4.539999999999992],[-6.296999999999997,-1.2530000000000143],[-5.931599999999996,2.4569999999999936],[-3.5670000000000073,5.337999999999994],[0,6.420000000000002],[6.087499999999999,6.087500000000006],[8.608999999999995,0.001300000000000523]],"o":[[-6.420300000000005,0],[-5.3383,3.5670000000000073],[-2.4569599999999987,5.932000000000002],[1.2525500000000003,6.296999999999997],[4.539899999999999,4.539999999999992],[6.297000000000004,1.252999999999986],[5.931699999999999,-2.4569999999999936],[3.566999999999993,-5.339000000000013],[-0.001300000000000523,-8.609000000000009],[-6.087499999999999,-6.0874999999999915],[0,0]],"v":[[39.7882,82.095],[21.7533,87.5658],[9.79732,102.134],[7.95005,120.89],[16.8342,137.511],[33.4552,146.395],[52.2108,144.548],[66.7793,132.592],[72.2501,114.557],[62.7408,91.6043],[39.7882,82.095]]}}},{"ty":"sh","bm":0,"hd":false,"nm":"Path 8","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[3.368400000000001,2.2510000000000048],[1.5503,3.743000000000009],[-0.7903999999999982,3.972999999999999],[-2.8645999999999994,2.865000000000009],[-3.9734000000000016,0.790300000000002],[-3.7428000000000026,-1.5503999999999962],[-2.250699999999995,-3.368300000000005],[0,-4.051000000000002],[3.8408999999999978,-3.838000000000008],[5.429899999999996,0],[0,0]],"o":[[-4.0512000000000015,0],[-3.368400000000001,-2.2510000000000048],[-1.5503,-3.7419999999999902],[0.790300000000002,-3.9740000000000038],[2.8645999999999994,-2.8644999999999925],[3.973300000000002,-0.7903999999999911],[3.7427999999999955,1.5503000000000071],[2.250700000000002,3.3689999999999998],[-0.0038999999999944635,5.429999999999993],[-3.8408999999999978,3.837999999999994],[0,0],[0,0]],"v":[[39.7882,135.04],[28.4084,131.588],[20.8643,122.395],[19.6987,110.561],[25.3045,100.073],[35.7922,94.4674],[47.6268,95.633],[56.8193,103.177],[60.2713,114.557],[54.2667,129.031],[39.7882,135.025],[39.7882,135.04]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[1,1,1],"sid":"LetraO"},"r":1,"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":29},{"s":[100],"t":30}]}},{"ty":"tr","a":{"a":0,"k":[39.7912118434906,114.55400085449219]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[39.7912118434906,114.55400085449219]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]},{"ty":"gr","bm":0,"hd":false,"nm":"Group 5","it":[{"ty":"sh","bm":0,"hd":false,"nm":"Path 9","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,0],[0,63.512],[63.51100000000001,0],[0,-63.51090000000001],[-63.5115,0]],"o":[[63.51100000000001,0],[0,-63.51090000000001],[-63.5115,0],[0,63.512],[0,0]],"v":[[114.996,229.993],[229.993,114.995],[114.996,-0.0020752],[-0.00164795,114.995],[114.996,229.993]]}}},{"ty":"fl","bm":0,"hd":false,"nm":"Fill","c":{"a":0,"k":[0.2392,0.349,0.6471]},"r":1,"o":{"a":0,"k":100}},{"ty":"tr","a":{"a":0,"k":[114.99567413289333,115.01750945812091]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[114.99567413289333,115.01750945812091]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}}]}],"ind":1}]}]'), nu = { LetraO: { p: { a: 0, k: [1, 1, 1] } } }, tu = {
|
|
28744
|
+
nm: _a,
|
|
28745
|
+
ddd: qa,
|
|
28746
|
+
h: Ua,
|
|
28747
|
+
w: Ya,
|
|
28748
|
+
meta: Ga,
|
|
28749
|
+
layers: Qa,
|
|
28750
|
+
v: Ja,
|
|
28751
|
+
fr: Xa,
|
|
28752
|
+
op: Ka,
|
|
28753
|
+
ip: Wa,
|
|
28754
|
+
assets: eu,
|
|
28755
|
+
slots: nu
|
|
28756
|
+
}, Tl = ({ size: i = 96, loop: r = !0, style: o, className: e }) => /* @__PURE__ */ t(
|
|
28658
28757
|
"div",
|
|
28659
28758
|
{
|
|
28660
28759
|
className: e,
|
|
@@ -28663,9 +28762,9 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28663
28762
|
height: i,
|
|
28664
28763
|
...o
|
|
28665
28764
|
},
|
|
28666
|
-
children: /* @__PURE__ */ t(wt, { animationData:
|
|
28765
|
+
children: /* @__PURE__ */ t(wt, { animationData: tu, loop: r })
|
|
28667
28766
|
}
|
|
28668
|
-
),
|
|
28767
|
+
), iu = {
|
|
28669
28768
|
blue: "brand",
|
|
28670
28769
|
green: "success",
|
|
28671
28770
|
red: "danger",
|
|
@@ -28677,7 +28776,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28677
28776
|
white: "neutral",
|
|
28678
28777
|
black: "neutral",
|
|
28679
28778
|
transparent: "neutral"
|
|
28680
|
-
},
|
|
28779
|
+
}, ru = {
|
|
28681
28780
|
xxs: "ui-h-8",
|
|
28682
28781
|
// 8px → var(--ui-Positive-space_8)
|
|
28683
28782
|
xs: "ui-h-10",
|
|
@@ -28688,12 +28787,12 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28688
28787
|
// 16px → var(--ui-Positive-space_16)
|
|
28689
28788
|
lg: "ui-h-20"
|
|
28690
28789
|
// 20px → var(--ui-Positive-space_20)
|
|
28691
|
-
},
|
|
28790
|
+
}, ou = {
|
|
28692
28791
|
brand: "ui-bg-fill-brand",
|
|
28693
28792
|
success: "ui-bg-fill-success",
|
|
28694
28793
|
danger: "ui-bg-fill-danger",
|
|
28695
28794
|
neutral: "ui-bg-tertiary"
|
|
28696
|
-
},
|
|
28795
|
+
}, au = {
|
|
28697
28796
|
brand: "ui-bg-fill-brand-selected",
|
|
28698
28797
|
success: "ui-bg-fill-success-selected",
|
|
28699
28798
|
danger: "ui-bg-fill-danger-selected",
|
|
@@ -28709,13 +28808,13 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28709
28808
|
}) => {
|
|
28710
28809
|
const l = Math.min(Math.max(i, 0), 100), s = N(
|
|
28711
28810
|
"ui-w-full ui-overflow-hidden ui-rounded-control-pill",
|
|
28712
|
-
|
|
28811
|
+
ru[r],
|
|
28713
28812
|
n && (a ? "ui-bg-fill-tertiary-selected" : "ui-bg-fill-tertiary"),
|
|
28714
28813
|
!n && "ui-bg-transparent",
|
|
28715
28814
|
u
|
|
28716
28815
|
), p = N(
|
|
28717
28816
|
"ui-h-full ui-rounded-control-pill ui-transition-all",
|
|
28718
|
-
a ?
|
|
28817
|
+
a ? au[o] : ou[o]
|
|
28719
28818
|
), d = {
|
|
28720
28819
|
width: `${l}%`,
|
|
28721
28820
|
...e > 0 && {
|
|
@@ -28735,7 +28834,7 @@ const jn = "emoji-picker-recent", Za = ({
|
|
|
28735
28834
|
) });
|
|
28736
28835
|
});
|
|
28737
28836
|
Ze.displayName = "BarProgress";
|
|
28738
|
-
const
|
|
28837
|
+
const We = W1(({
|
|
28739
28838
|
label: i,
|
|
28740
28839
|
value: r,
|
|
28741
28840
|
suffix: o = "",
|
|
@@ -28764,7 +28863,7 @@ const Ke = W1(({
|
|
|
28764
28863
|
children: i
|
|
28765
28864
|
}
|
|
28766
28865
|
) : null);
|
|
28767
|
-
|
|
28866
|
+
We.displayName = "LabelProgress";
|
|
28768
28867
|
const g0 = W1(({ children: i, type: r = "custom", className: o }) => {
|
|
28769
28868
|
const e = N(
|
|
28770
28869
|
"ui-text-caption-xs",
|
|
@@ -28775,7 +28874,7 @@ const g0 = W1(({ children: i, type: r = "custom", className: o }) => {
|
|
|
28775
28874
|
return /* @__PURE__ */ t("p", { className: e, children: i });
|
|
28776
28875
|
});
|
|
28777
28876
|
g0.displayName = "HelperText";
|
|
28778
|
-
const
|
|
28877
|
+
const uu = ["xxs", "xs", "sm", "md", "lg"], lu = (i) => c1(() => {
|
|
28779
28878
|
const {
|
|
28780
28879
|
color: r = "brand",
|
|
28781
28880
|
size: o = "xxs",
|
|
@@ -28785,7 +28884,7 @@ const au = ["xxs", "xs", "sm", "md", "lg"], uu = (i) => c1(() => {
|
|
|
28785
28884
|
helperText: u,
|
|
28786
28885
|
helperTextType: l,
|
|
28787
28886
|
...s
|
|
28788
|
-
} = i, p = ["brand", "success", "danger", "neutral"].includes(r) ? r :
|
|
28887
|
+
} = i, p = ["brand", "success", "danger", "neutral"].includes(r) ? r : iu[r] || "brand", d = uu.includes(o) ? o : "lg";
|
|
28789
28888
|
return {
|
|
28790
28889
|
...s,
|
|
28791
28890
|
color: p,
|
|
@@ -28794,7 +28893,7 @@ const au = ["xxs", "xs", "sm", "md", "lg"], uu = (i) => c1(() => {
|
|
|
28794
28893
|
helperText: u || a,
|
|
28795
28894
|
helperTextType: l || (p === "danger" ? "error" : "custom")
|
|
28796
28895
|
};
|
|
28797
|
-
}, [i]),
|
|
28896
|
+
}, [i]), su = W1(({
|
|
28798
28897
|
className: i,
|
|
28799
28898
|
progress: r = 0,
|
|
28800
28899
|
label: o,
|
|
@@ -28820,7 +28919,7 @@ const au = ["xxs", "xs", "sm", "md", "lg"], uu = (i) => c1(() => {
|
|
|
28820
28919
|
progressSuffix: V,
|
|
28821
28920
|
helperText: S,
|
|
28822
28921
|
helperTextType: m
|
|
28823
|
-
} =
|
|
28922
|
+
} = lu({
|
|
28824
28923
|
...L,
|
|
28825
28924
|
progress: r,
|
|
28826
28925
|
label: o
|
|
@@ -28862,7 +28961,7 @@ const au = ["xxs", "xs", "sm", "md", "lg"], uu = (i) => c1(() => {
|
|
|
28862
28961
|
] });
|
|
28863
28962
|
return /* @__PURE__ */ C("div", { className: H, children: [
|
|
28864
28963
|
d ? /* @__PURE__ */ C("div", { className: "ui-flex ui-items-center ui-gap-8 ui-w-full", children: [
|
|
28865
|
-
e && o && /* @__PURE__ */ t(
|
|
28964
|
+
e && o && /* @__PURE__ */ t(We, { label: o, className: "ui-shrink-0" }),
|
|
28866
28965
|
/* @__PURE__ */ t(
|
|
28867
28966
|
Ze,
|
|
28868
28967
|
{
|
|
@@ -28879,7 +28978,7 @@ const au = ["xxs", "xs", "sm", "md", "lg"], uu = (i) => c1(() => {
|
|
|
28879
28978
|
/* ===== MODO NORMAL: Header arriba, barra abajo ===== */
|
|
28880
28979
|
/* @__PURE__ */ C(B1, { children: [
|
|
28881
28980
|
/* @__PURE__ */ C("div", { className: "ui-flex ui-items-center ui-justify-between ui-w-full", children: [
|
|
28882
|
-
e && o && /* @__PURE__ */ t(
|
|
28981
|
+
e && o && /* @__PURE__ */ t(We, { label: o }),
|
|
28883
28982
|
/* @__PURE__ */ t("div", { className: "ui-flex-1 ui-min-h-px" }),
|
|
28884
28983
|
y()
|
|
28885
28984
|
] }),
|
|
@@ -28898,8 +28997,8 @@ const au = ["xxs", "xs", "sm", "md", "lg"], uu = (i) => c1(() => {
|
|
|
28898
28997
|
S && /* @__PURE__ */ t(g0, { type: m, children: S })
|
|
28899
28998
|
] });
|
|
28900
28999
|
});
|
|
28901
|
-
|
|
28902
|
-
const
|
|
29000
|
+
su.displayName = "ProgressBar";
|
|
29001
|
+
const cu = [
|
|
28903
29002
|
// ==================== BLUE VARIANTS ====================
|
|
28904
29003
|
{
|
|
28905
29004
|
color: "blue",
|
|
@@ -29005,7 +29104,7 @@ const su = [
|
|
|
29005
29104
|
state: "disabledChecked",
|
|
29006
29105
|
class: "ui-border-4 ui-border-neutral-300 ui-bg-fill"
|
|
29007
29106
|
}
|
|
29008
|
-
],
|
|
29107
|
+
], du = k1(
|
|
29009
29108
|
[
|
|
29010
29109
|
"ui-relative",
|
|
29011
29110
|
"ui-rounded-control-pill",
|
|
@@ -29045,14 +29144,14 @@ const su = [
|
|
|
29045
29144
|
disabledChecked: "ui-cursor-not-allowed ui-opacity-60"
|
|
29046
29145
|
}
|
|
29047
29146
|
},
|
|
29048
|
-
compoundVariants:
|
|
29147
|
+
compoundVariants: cu,
|
|
29049
29148
|
defaultVariants: {
|
|
29050
29149
|
size: "md",
|
|
29051
29150
|
color: "blue",
|
|
29052
29151
|
state: "unchecked"
|
|
29053
29152
|
}
|
|
29054
29153
|
}
|
|
29055
|
-
),
|
|
29154
|
+
), pu = k1(
|
|
29056
29155
|
["ui-ml-2", "ui-select-none", "ui-text-primary", "ui-transition-colors", "ui-duration-100"],
|
|
29057
29156
|
{
|
|
29058
29157
|
variants: {
|
|
@@ -29069,7 +29168,7 @@ const su = [
|
|
|
29069
29168
|
disabled: !1
|
|
29070
29169
|
}
|
|
29071
29170
|
}
|
|
29072
|
-
),
|
|
29171
|
+
), Cu = ({
|
|
29073
29172
|
checked: i,
|
|
29074
29173
|
defaultChecked: r,
|
|
29075
29174
|
disabled: o = !1,
|
|
@@ -29112,7 +29211,7 @@ const su = [
|
|
|
29112
29211
|
handleClick: V
|
|
29113
29212
|
}
|
|
29114
29213
|
};
|
|
29115
|
-
},
|
|
29214
|
+
}, hu = ({
|
|
29116
29215
|
label: i,
|
|
29117
29216
|
size: r = "xs",
|
|
29118
29217
|
color: o = "blue",
|
|
@@ -29125,7 +29224,7 @@ const su = [
|
|
|
29125
29224
|
defaultChecked: p,
|
|
29126
29225
|
...d
|
|
29127
29226
|
}) => {
|
|
29128
|
-
const c = l !== void 0, { state: h, radioId: f, handlers: g } =
|
|
29227
|
+
const c = l !== void 0, { state: h, radioId: f, handlers: g } = Cu({
|
|
29129
29228
|
checked: l,
|
|
29130
29229
|
defaultChecked: p,
|
|
29131
29230
|
disabled: e,
|
|
@@ -29182,7 +29281,7 @@ const su = [
|
|
|
29182
29281
|
"div",
|
|
29183
29282
|
{
|
|
29184
29283
|
className: N(
|
|
29185
|
-
|
|
29284
|
+
du({
|
|
29186
29285
|
size: r,
|
|
29187
29286
|
color: o,
|
|
29188
29287
|
state: h
|
|
@@ -29191,14 +29290,14 @@ const su = [
|
|
|
29191
29290
|
)
|
|
29192
29291
|
}
|
|
29193
29292
|
),
|
|
29194
|
-
i && /* @__PURE__ */ t("span", { className: N(
|
|
29293
|
+
i && /* @__PURE__ */ t("span", { className: N(pu({ size: r, disabled: e }), a), children: i })
|
|
29195
29294
|
]
|
|
29196
29295
|
}
|
|
29197
29296
|
)
|
|
29198
29297
|
]
|
|
29199
29298
|
}
|
|
29200
29299
|
);
|
|
29201
|
-
},
|
|
29300
|
+
}, fu = ({
|
|
29202
29301
|
value: i,
|
|
29203
29302
|
onChange: r,
|
|
29204
29303
|
options: o
|
|
@@ -29213,7 +29312,7 @@ const su = [
|
|
|
29213
29312
|
selectedValue: a,
|
|
29214
29313
|
handleChange: u
|
|
29215
29314
|
};
|
|
29216
|
-
},
|
|
29315
|
+
}, Bl = ({
|
|
29217
29316
|
options: i,
|
|
29218
29317
|
value: r,
|
|
29219
29318
|
onChange: o,
|
|
@@ -29224,7 +29323,7 @@ const su = [
|
|
|
29224
29323
|
className: l,
|
|
29225
29324
|
name: s
|
|
29226
29325
|
}) => {
|
|
29227
|
-
const { selectedValue: p, handleChange: d } =
|
|
29326
|
+
const { selectedValue: p, handleChange: d } = fu({
|
|
29228
29327
|
value: r,
|
|
29229
29328
|
onChange: o,
|
|
29230
29329
|
options: i
|
|
@@ -29242,7 +29341,7 @@ const su = [
|
|
|
29242
29341
|
role: "radiogroup",
|
|
29243
29342
|
"aria-label": s,
|
|
29244
29343
|
children: i.map((h) => /* @__PURE__ */ t(
|
|
29245
|
-
|
|
29344
|
+
hu,
|
|
29246
29345
|
{
|
|
29247
29346
|
value: h.value,
|
|
29248
29347
|
label: h.label,
|
|
@@ -29257,7 +29356,7 @@ const su = [
|
|
|
29257
29356
|
))
|
|
29258
29357
|
}
|
|
29259
29358
|
);
|
|
29260
|
-
},
|
|
29359
|
+
}, Al = ({
|
|
29261
29360
|
value: i = 0,
|
|
29262
29361
|
max: r = 5,
|
|
29263
29362
|
size: o = "md",
|
|
@@ -29301,7 +29400,7 @@ const su = [
|
|
|
29301
29400
|
h
|
|
29302
29401
|
);
|
|
29303
29402
|
}) });
|
|
29304
|
-
},
|
|
29403
|
+
}, Pl = ({ width: i, height: r = 20, circle: o = !1, className: e }) => {
|
|
29305
29404
|
const n = N(
|
|
29306
29405
|
"ui-animate-pulse ui-bg-neutral-200",
|
|
29307
29406
|
o ? "ui-rounded-control-pill" : "ui-rounded",
|
|
@@ -29311,7 +29410,7 @@ const su = [
|
|
|
29311
29410
|
height: typeof r == "number" ? `${r}px` : r
|
|
29312
29411
|
};
|
|
29313
29412
|
return /* @__PURE__ */ t("div", { className: n, style: a });
|
|
29314
|
-
},
|
|
29413
|
+
}, gu = ({
|
|
29315
29414
|
steps: i,
|
|
29316
29415
|
currentStep: r,
|
|
29317
29416
|
onClickStep: o,
|
|
@@ -29396,7 +29495,7 @@ const su = [
|
|
|
29396
29495
|
},
|
|
29397
29496
|
getStepStatus: (d) => d < u ? "completed" : d === u ? "active" : "pending"
|
|
29398
29497
|
};
|
|
29399
|
-
},
|
|
29498
|
+
}, mu = ({
|
|
29400
29499
|
stepIndex: i,
|
|
29401
29500
|
status: r,
|
|
29402
29501
|
colorClasses: o,
|
|
@@ -29410,7 +29509,7 @@ const su = [
|
|
|
29410
29509
|
className: "ui-h-[14px] ui-w-[14px] ui-rounded-control-pill ui-bg-fill"
|
|
29411
29510
|
}
|
|
29412
29511
|
) }) : r === "pending" ? /* @__PURE__ */ t("div", { className: `${a} ui-bg-fill ${o.secondary} ${e}`, children: /* @__PURE__ */ t("span", { className: `${o.text} ui-text-2xl ui-font-medium ${n}`, children: i + 1 }) }) : null;
|
|
29413
|
-
},
|
|
29512
|
+
}, Lu = ({
|
|
29414
29513
|
step: i,
|
|
29415
29514
|
stepIndex: r,
|
|
29416
29515
|
className: o = "",
|
|
@@ -29418,7 +29517,7 @@ const su = [
|
|
|
29418
29517
|
}) => i.title ? /* @__PURE__ */ C("div", { className: `${e ? "" : "ui-mt-2 ui-text-center"} ui-w-full ${o}`, children: [
|
|
29419
29518
|
/* @__PURE__ */ t("div", { className: "ui-typography-body-xs-regular ui-text-tertiary", children: /* @__PURE__ */ t("p", { className: "ui-line-clamp-1 ui-break-words", children: i.title || `Paso ${r + 1}` }) }),
|
|
29420
29519
|
i.description && /* @__PURE__ */ t("div", { className: "ui-mt-1 ui-typography-body-sm-bold ui-text-primary", children: /* @__PURE__ */ t("p", { className: "ui-line-clamp-1 ui-whitespace-normal ui-break-words", children: i.description }) })
|
|
29421
|
-
] }) : null,
|
|
29520
|
+
] }) : null, wu = ({ colorClasses: i, vertical: r = !1 }) => r ? /* @__PURE__ */ t(
|
|
29422
29521
|
"div",
|
|
29423
29522
|
{
|
|
29424
29523
|
className: `ui-absolute ui-left-[19px] ui-top-[49px] ui-h-[22px] ui-w-0.5 ${i.line}`
|
|
@@ -29428,7 +29527,7 @@ const su = [
|
|
|
29428
29527
|
{
|
|
29429
29528
|
className: `ui-absolute ui-left-[84px] ui-top-[19px] ui-h-0.5 ui-w-[92px] ${i.line}`
|
|
29430
29529
|
}
|
|
29431
|
-
),
|
|
29530
|
+
), bu = ({
|
|
29432
29531
|
step: i,
|
|
29433
29532
|
stepIndex: r,
|
|
29434
29533
|
status: o,
|
|
@@ -29448,7 +29547,7 @@ const su = [
|
|
|
29448
29547
|
onClick: () => c && a(r),
|
|
29449
29548
|
children: [
|
|
29450
29549
|
/* @__PURE__ */ t(
|
|
29451
|
-
|
|
29550
|
+
mu,
|
|
29452
29551
|
{
|
|
29453
29552
|
stepIndex: r,
|
|
29454
29553
|
status: o,
|
|
@@ -29458,7 +29557,7 @@ const su = [
|
|
|
29458
29557
|
}
|
|
29459
29558
|
),
|
|
29460
29559
|
/* @__PURE__ */ t(
|
|
29461
|
-
|
|
29560
|
+
Lu,
|
|
29462
29561
|
{
|
|
29463
29562
|
step: i,
|
|
29464
29563
|
stepIndex: r,
|
|
@@ -29466,10 +29565,10 @@ const su = [
|
|
|
29466
29565
|
vertical: d
|
|
29467
29566
|
}
|
|
29468
29567
|
),
|
|
29469
|
-
!n && /* @__PURE__ */ t(
|
|
29568
|
+
!n && /* @__PURE__ */ t(wu, { colorClasses: e, vertical: d })
|
|
29470
29569
|
]
|
|
29471
29570
|
}
|
|
29472
|
-
) }),
|
|
29571
|
+
) }), xu = k1("", {
|
|
29473
29572
|
variants: {
|
|
29474
29573
|
color: {
|
|
29475
29574
|
blue: "",
|
|
@@ -29495,7 +29594,7 @@ const su = [
|
|
|
29495
29594
|
color: "blue",
|
|
29496
29595
|
size: "md"
|
|
29497
29596
|
}
|
|
29498
|
-
}),
|
|
29597
|
+
}), $l = ({
|
|
29499
29598
|
steps: i,
|
|
29500
29599
|
color: r,
|
|
29501
29600
|
size: o,
|
|
@@ -29511,7 +29610,7 @@ const su = [
|
|
|
29511
29610
|
vertical: h = !1,
|
|
29512
29611
|
stepClickable: f = !1
|
|
29513
29612
|
}) => {
|
|
29514
|
-
const { currentStep: g, getColorClasses: v, handleStepClick: L, getStepStatus: w } =
|
|
29613
|
+
const { currentStep: g, getColorClasses: v, handleStepClick: L, getStepStatus: w } = gu({
|
|
29515
29614
|
steps: i,
|
|
29516
29615
|
currentStep: s,
|
|
29517
29616
|
onClickStep: p,
|
|
@@ -29530,10 +29629,10 @@ const su = [
|
|
|
29530
29629
|
"ui-relative",
|
|
29531
29630
|
c && "ui-overflow-x-auto ui-overflow-y-hidden"
|
|
29532
29631
|
].filter(Boolean).join(" ");
|
|
29533
|
-
return /* @__PURE__ */ t("div", { className: `${V} ${
|
|
29632
|
+
return /* @__PURE__ */ t("div", { className: `${V} ${xu({ color: r, size: o, className: e })}`, children: i.map((S, m) => {
|
|
29534
29633
|
const x = w(m), H = m === i.length - 1;
|
|
29535
29634
|
return /* @__PURE__ */ t(
|
|
29536
|
-
|
|
29635
|
+
bu,
|
|
29537
29636
|
{
|
|
29538
29637
|
step: S,
|
|
29539
29638
|
stepIndex: m,
|
|
@@ -29551,7 +29650,7 @@ const su = [
|
|
|
29551
29650
|
m
|
|
29552
29651
|
);
|
|
29553
29652
|
}) });
|
|
29554
|
-
},
|
|
29653
|
+
}, On = {
|
|
29555
29654
|
dracula: Ot,
|
|
29556
29655
|
tomorrow: kt,
|
|
29557
29656
|
oneDark: Ht,
|
|
@@ -29604,7 +29703,7 @@ ${s}
|
|
|
29604
29703
|
}
|
|
29605
29704
|
return Array.isArray(i) ? i.map((r) => Oe(r)).join(`
|
|
29606
29705
|
`) : String(i);
|
|
29607
|
-
},
|
|
29706
|
+
}, vu = ({ children: i }) => /* @__PURE__ */ t("h2", { className: "ui-text-lg ui-font-semibold ui-text-gray-900", children: i }), yu = ({ children: i }) => /* @__PURE__ */ t("p", { className: "ui-text-body-xs-regular ui-text-gray-tertiary", children: i }), Mu = ({ children: i, className: r = "" }) => /* @__PURE__ */ t("div", { className: `ui-flex ui-w-full ui-items-center ui-gap-2 ${r}`, children: i }), ju = ({
|
|
29608
29707
|
children: i,
|
|
29609
29708
|
language: r = "jsx",
|
|
29610
29709
|
showLineNumbers: o = !1,
|
|
@@ -29626,7 +29725,7 @@ ${s}
|
|
|
29626
29725
|
borderRadius: "0.375rem",
|
|
29627
29726
|
overflow: "hidden"
|
|
29628
29727
|
};
|
|
29629
|
-
}, l =
|
|
29728
|
+
}, l = On[n] || On.dracula;
|
|
29630
29729
|
return /* @__PURE__ */ t("div", { className: "w-full", style: u(), children: /* @__PURE__ */ t(
|
|
29631
29730
|
bt,
|
|
29632
29731
|
{
|
|
@@ -29650,17 +29749,17 @@ ${s}
|
|
|
29650
29749
|
children: a
|
|
29651
29750
|
}
|
|
29652
29751
|
) });
|
|
29653
|
-
},
|
|
29752
|
+
}, ze = ({ children: i, className: r = "", fullHeight: o = !1 }) => /* @__PURE__ */ t(
|
|
29654
29753
|
"div",
|
|
29655
29754
|
{
|
|
29656
29755
|
className: `ui-flex ui-flex-col ui-gap-2 ui-rounded-md ui-bg-surface ui-p-16 ${r} ${o ? "ui-h-full" : ""}`,
|
|
29657
29756
|
children: i
|
|
29658
29757
|
}
|
|
29659
29758
|
);
|
|
29660
|
-
|
|
29661
|
-
|
|
29662
|
-
|
|
29663
|
-
|
|
29759
|
+
ze.Title = vu;
|
|
29760
|
+
ze.Description = yu;
|
|
29761
|
+
ze.Content = Mu;
|
|
29762
|
+
ze.Code = ju;
|
|
29664
29763
|
const re = [
|
|
29665
29764
|
{
|
|
29666
29765
|
value: "equals",
|
|
@@ -29790,15 +29889,15 @@ const re = [
|
|
|
29790
29889
|
requiresValue: !1,
|
|
29791
29890
|
dataTypes: ["date"]
|
|
29792
29891
|
}
|
|
29793
|
-
],
|
|
29892
|
+
], Vu = {
|
|
29794
29893
|
text: tt,
|
|
29795
29894
|
number: nt,
|
|
29796
29895
|
list: et,
|
|
29797
|
-
date:
|
|
29798
|
-
},
|
|
29799
|
-
const r =
|
|
29896
|
+
date: $n
|
|
29897
|
+
}, Hu = ({ type: i }) => {
|
|
29898
|
+
const r = Vu[i];
|
|
29800
29899
|
return r ? /* @__PURE__ */ t(p1, { name: r, color: "blue", size: "sm" }) : null;
|
|
29801
|
-
},
|
|
29900
|
+
}, ku = {
|
|
29802
29901
|
equals: "=",
|
|
29803
29902
|
notEquals: "≠",
|
|
29804
29903
|
contains: "contiene",
|
|
@@ -29819,7 +29918,7 @@ const re = [
|
|
|
29819
29918
|
lastMonth: "es mes pasado",
|
|
29820
29919
|
thisYear: "es este año",
|
|
29821
29920
|
lastYear: "es año pasado"
|
|
29822
|
-
},
|
|
29921
|
+
}, Ou = ({ filter: i, columnData: r, onUpdate: o, onRemove: e, className: n }) => {
|
|
29823
29922
|
const [a, u] = E(i.operator || ""), [l, s] = E(i.value || ""), [p, d] = E(i.value2 || ""), [c, h] = E(() => Array.isArray(i.value) && r.options ? r.options.filter((w) => i.value.includes(w.value)) : []), f = re.filter((w) => w.dataTypes.includes(r.dataType)).map((w) => ({
|
|
29824
29923
|
value: w.value,
|
|
29825
29924
|
label: w.label
|
|
@@ -29850,7 +29949,7 @@ const re = [
|
|
|
29850
29949
|
}, [a]);
|
|
29851
29950
|
const L = c1(() => {
|
|
29852
29951
|
if (!a) return null;
|
|
29853
|
-
const w =
|
|
29952
|
+
const w = ku[a] || a, j = `"${r.label}"`;
|
|
29854
29953
|
if (!(g != null && g.requiresValue))
|
|
29855
29954
|
return `${j} ${w}`;
|
|
29856
29955
|
if (a === "in") {
|
|
@@ -29877,7 +29976,7 @@ const re = [
|
|
|
29877
29976
|
children: [
|
|
29878
29977
|
/* @__PURE__ */ C("div", { className: "ui-flex ui-items-center ui-justify-between", children: [
|
|
29879
29978
|
/* @__PURE__ */ C("div", { className: "ui-flex ui-items-center ui-gap-8", children: [
|
|
29880
|
-
/* @__PURE__ */ t(
|
|
29979
|
+
/* @__PURE__ */ t(Hu, { type: r.dataType }),
|
|
29881
29980
|
/* @__PURE__ */ t("p", { className: "ui-text-body-md-regular ui-font-body-md-bold ui-text-primary", children: r.label })
|
|
29882
29981
|
] }),
|
|
29883
29982
|
/* @__PURE__ */ t(
|
|
@@ -30001,13 +30100,13 @@ const re = [
|
|
|
30001
30100
|
]
|
|
30002
30101
|
}
|
|
30003
30102
|
);
|
|
30004
|
-
},
|
|
30103
|
+
}, Su = [
|
|
30005
30104
|
{ value: "and", label: "AND" },
|
|
30006
30105
|
{ value: "or", label: "OR" }
|
|
30007
|
-
],
|
|
30106
|
+
], Nu = ({ value: i, onChange: r }) => /* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-justify-center ui-py-12", children: /* @__PURE__ */ t("div", { className: "ui-w-[140px]", children: /* @__PURE__ */ t(
|
|
30008
30107
|
F1,
|
|
30009
30108
|
{
|
|
30010
|
-
options:
|
|
30109
|
+
options: Su,
|
|
30011
30110
|
value: i,
|
|
30012
30111
|
onValueChange: (o) => r(o),
|
|
30013
30112
|
valueName: "label",
|
|
@@ -30170,7 +30269,7 @@ const re = [
|
|
|
30170
30269
|
absolute: !0,
|
|
30171
30270
|
pill: "sm",
|
|
30172
30271
|
children: [
|
|
30173
|
-
/* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-justify-between ui-p-16", children: /* @__PURE__ */ t(
|
|
30272
|
+
/* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-justify-between ui-p-16", children: /* @__PURE__ */ t(fn, { title: "Filtros Avanzados", icon: we }) }),
|
|
30174
30273
|
/* @__PURE__ */ t(q1, {}),
|
|
30175
30274
|
/* @__PURE__ */ C("div", { className: "ui-flex ui-flex-col ui-gap-0", children: [
|
|
30176
30275
|
/* @__PURE__ */ t("div", { className: "ui-p-16", children: /* @__PURE__ */ C("div", { className: "ui-flex ui-items-end ui-gap-8", children: [
|
|
@@ -30217,7 +30316,7 @@ const re = [
|
|
|
30217
30316
|
const b = k === p.length - 1;
|
|
30218
30317
|
return /* @__PURE__ */ C("div", { children: [
|
|
30219
30318
|
/* @__PURE__ */ t(
|
|
30220
|
-
|
|
30319
|
+
Ou,
|
|
30221
30320
|
{
|
|
30222
30321
|
filter: y,
|
|
30223
30322
|
columnData: O,
|
|
@@ -30226,7 +30325,7 @@ const re = [
|
|
|
30226
30325
|
}
|
|
30227
30326
|
),
|
|
30228
30327
|
!b && /* @__PURE__ */ t(
|
|
30229
|
-
|
|
30328
|
+
Nu,
|
|
30230
30329
|
{
|
|
30231
30330
|
value: y.logicOperator || "and",
|
|
30232
30331
|
onChange: (M) => x(y.id, M)
|
|
@@ -30283,7 +30382,7 @@ const re = [
|
|
|
30283
30382
|
}
|
|
30284
30383
|
);
|
|
30285
30384
|
m0.displayName = "FilterPopup";
|
|
30286
|
-
const
|
|
30385
|
+
const Iu = ({
|
|
30287
30386
|
showSearch: i = !0,
|
|
30288
30387
|
searchPlaceholder: r = "Buscar...",
|
|
30289
30388
|
showColumnConfig: o = !0,
|
|
@@ -30428,7 +30527,7 @@ const Nu = ({
|
|
|
30428
30527
|
/* @__PURE__ */ t("h1", { className: "ui-text-body-sm-regular ui-font-body-sm-bold", children: "Configuración de columnas" }),
|
|
30429
30528
|
/* @__PURE__ */ t(q1, { className: "ui-w-full" }),
|
|
30430
30529
|
/* @__PURE__ */ t(
|
|
30431
|
-
|
|
30530
|
+
Va,
|
|
30432
30531
|
{
|
|
30433
30532
|
variant: "toggle",
|
|
30434
30533
|
items: b,
|
|
@@ -30653,7 +30752,7 @@ const w0 = W1(({
|
|
|
30653
30752
|
const s = S1(e, N("", n), o.locked, l), p = N1(o, u), d = R1(o.contentAlign), c = N("ui-flex ui-items-center ui-gap-8 ui-min-w-max ui-h-full", d), h = e === "selected" ? "ui-text-brand-selected" : "ui-text-primary", f = e === "selected" ? "ui-text-brand-selected" : "ui-text-primary", g = typeof i == "object" && i !== null, v = g ? i.avatar : r.avatar, L = g ? i.name : i, w = g ? i.subtitle : r.subtitle;
|
|
30654
30753
|
return /* @__PURE__ */ t("td", { className: s, ...p, onClick: (j) => V1(j, a), children: /* @__PURE__ */ C("div", { className: c, children: [
|
|
30655
30754
|
v && /* @__PURE__ */ t(
|
|
30656
|
-
|
|
30755
|
+
oe,
|
|
30657
30756
|
{
|
|
30658
30757
|
type: "people",
|
|
30659
30758
|
size: "sm",
|
|
@@ -30758,15 +30857,15 @@ const b0 = W1(({
|
|
|
30758
30857
|
) }) });
|
|
30759
30858
|
});
|
|
30760
30859
|
b0.displayName = "StatusCell";
|
|
30761
|
-
const
|
|
30860
|
+
const Zu = {
|
|
30762
30861
|
edit: {
|
|
30763
30862
|
type: "edit",
|
|
30764
|
-
icon:
|
|
30863
|
+
icon: Ue,
|
|
30765
30864
|
tooltip: "Editar"
|
|
30766
30865
|
},
|
|
30767
30866
|
delete: {
|
|
30768
30867
|
type: "delete",
|
|
30769
|
-
icon:
|
|
30868
|
+
icon: En,
|
|
30770
30869
|
tooltip: "Eliminar"
|
|
30771
30870
|
},
|
|
30772
30871
|
view: {
|
|
@@ -30793,7 +30892,7 @@ const Iu = {
|
|
|
30793
30892
|
let c = [];
|
|
30794
30893
|
if (d) {
|
|
30795
30894
|
const h = [];
|
|
30796
|
-
Object.entries(
|
|
30895
|
+
Object.entries(Zu).forEach(([g, v]) => {
|
|
30797
30896
|
const L = g;
|
|
30798
30897
|
i[L] && typeof i[L] == "function" && h.push({
|
|
30799
30898
|
type: L,
|
|
@@ -30826,7 +30925,7 @@ const Iu = {
|
|
|
30826
30925
|
)) }) });
|
|
30827
30926
|
});
|
|
30828
30927
|
x0.displayName = "ActionsCell";
|
|
30829
|
-
const
|
|
30928
|
+
const Du = ({
|
|
30830
30929
|
value: i,
|
|
30831
30930
|
row: r,
|
|
30832
30931
|
column: o,
|
|
@@ -30852,7 +30951,7 @@ const Zu = ({
|
|
|
30852
30951
|
children: f
|
|
30853
30952
|
}
|
|
30854
30953
|
) }) });
|
|
30855
|
-
},
|
|
30954
|
+
}, Sn = "sm", Tu = (i) => i ? i.startsWith("data:") || i.startsWith("blob:") ? !0 : Pe(i) : !1, Bu = (i) => typeof i == "string" && i.trim().length > 0 ? i.trim() : "?", Au = ({
|
|
30856
30955
|
value: i,
|
|
30857
30956
|
column: r,
|
|
30858
30957
|
state: o = "default",
|
|
@@ -30865,24 +30964,24 @@ const Zu = ({
|
|
|
30865
30964
|
return /* @__PURE__ */ t("td", { className: l, ...s, onClick: (h) => V1(h, n), children: /* @__PURE__ */ C("div", { className: "ui-flex ui-items-center ui--space-x-4 ui-pr-4", children: [
|
|
30866
30965
|
p.slice(0, d).map((h, f) => {
|
|
30867
30966
|
const g = typeof h == "object" && h !== null ? h.src : h, v = typeof h == "object" && h !== null ? h.name : h;
|
|
30868
|
-
if (typeof g == "string" &&
|
|
30967
|
+
if (typeof g == "string" && Tu(g))
|
|
30869
30968
|
return /* @__PURE__ */ t(
|
|
30870
|
-
|
|
30969
|
+
oe,
|
|
30871
30970
|
{
|
|
30872
30971
|
type: "people",
|
|
30873
30972
|
src: g,
|
|
30874
|
-
size:
|
|
30973
|
+
size: Sn,
|
|
30875
30974
|
className: "ui-border ui-border-default ui-flex-shrink-0"
|
|
30876
30975
|
},
|
|
30877
30976
|
f
|
|
30878
30977
|
);
|
|
30879
|
-
const L =
|
|
30978
|
+
const L = Bu(v).slice(0, 3);
|
|
30880
30979
|
return /* @__PURE__ */ t(
|
|
30881
|
-
|
|
30980
|
+
oe,
|
|
30882
30981
|
{
|
|
30883
30982
|
type: "letter",
|
|
30884
30983
|
text: L,
|
|
30885
|
-
size:
|
|
30984
|
+
size: Sn,
|
|
30886
30985
|
className: "ui-border ui-border-default ui-flex-shrink-0"
|
|
30887
30986
|
},
|
|
30888
30987
|
f
|
|
@@ -30893,7 +30992,7 @@ const Zu = ({
|
|
|
30893
30992
|
c
|
|
30894
30993
|
] })
|
|
30895
30994
|
] }) });
|
|
30896
|
-
},
|
|
30995
|
+
}, Pu = ({
|
|
30897
30996
|
value: i,
|
|
30898
30997
|
column: r,
|
|
30899
30998
|
state: o = "default",
|
|
@@ -30932,7 +31031,7 @@ const Zu = ({
|
|
|
30932
31031
|
fullWidth: !0
|
|
30933
31032
|
}
|
|
30934
31033
|
) }) });
|
|
30935
|
-
},
|
|
31034
|
+
}, $u = ({
|
|
30936
31035
|
value: i,
|
|
30937
31036
|
state: r = "default",
|
|
30938
31037
|
onChange: o,
|
|
@@ -30953,7 +31052,7 @@ const Zu = ({
|
|
|
30953
31052
|
disabled: r === "disabled"
|
|
30954
31053
|
}
|
|
30955
31054
|
) }) });
|
|
30956
|
-
},
|
|
31055
|
+
}, Eu = ({
|
|
30957
31056
|
value: i,
|
|
30958
31057
|
row: r,
|
|
30959
31058
|
column: o,
|
|
@@ -30978,7 +31077,7 @@ const Zu = ({
|
|
|
30978
31077
|
children: c.label
|
|
30979
31078
|
}
|
|
30980
31079
|
) }) });
|
|
30981
|
-
},
|
|
31080
|
+
}, zu = ({
|
|
30982
31081
|
value: i,
|
|
30983
31082
|
column: r,
|
|
30984
31083
|
state: o = "default",
|
|
@@ -31028,14 +31127,14 @@ const Zu = ({
|
|
|
31028
31127
|
}
|
|
31029
31128
|
}
|
|
31030
31129
|
) }) });
|
|
31031
|
-
},
|
|
31130
|
+
}, Fu = (i) => {
|
|
31032
31131
|
let r = 0;
|
|
31033
31132
|
for (let o = 0; o < i.length; o++) {
|
|
31034
31133
|
const e = i.charCodeAt(o);
|
|
31035
31134
|
r = (r << 5) - r + e, r = r & r;
|
|
31036
31135
|
}
|
|
31037
31136
|
return Math.abs(r);
|
|
31038
|
-
},
|
|
31137
|
+
}, Ru = (i, r) => {
|
|
31039
31138
|
const o = [...i];
|
|
31040
31139
|
let e = r;
|
|
31041
31140
|
for (let n = o.length - 1; n > 0; n--) {
|
|
@@ -31055,8 +31154,8 @@ const Zu = ({
|
|
|
31055
31154
|
}) => {
|
|
31056
31155
|
const l = S1(o, e, r.locked, u), s = N1(r, a), p = Array.isArray(i) ? i : [i], d = r.tagLabelAccessor || "label", c = r.tagColorAccessor || "color", h = r.randomColors || !1, f = ["accent", "success", "warning", "danger", "info", "gray"], g = c1(() => {
|
|
31057
31156
|
if (!h) return [];
|
|
31058
|
-
const L =
|
|
31059
|
-
return
|
|
31157
|
+
const L = Fu(r.id);
|
|
31158
|
+
return Ru(f, L);
|
|
31060
31159
|
}, [r.id, h]), v = R1(r.contentAlign);
|
|
31061
31160
|
return /* @__PURE__ */ t("td", { className: l, ...s, onClick: (L) => V1(L, n), children: /* @__PURE__ */ t("div", { className: N("ui-flex ui-items-center ui-h-full", v), children: /* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-gap-1", children: p.map((L, w) => {
|
|
31062
31161
|
let j = typeof L == "object" ? {
|
|
@@ -31103,7 +31202,7 @@ const M0 = ({
|
|
|
31103
31202
|
className: a
|
|
31104
31203
|
}
|
|
31105
31204
|
);
|
|
31106
|
-
},
|
|
31205
|
+
}, _u = ({
|
|
31107
31206
|
value: i,
|
|
31108
31207
|
column: r,
|
|
31109
31208
|
state: o = "default",
|
|
@@ -31123,7 +31222,7 @@ const M0 = ({
|
|
|
31123
31222
|
disabled: o === "disabled"
|
|
31124
31223
|
}
|
|
31125
31224
|
) }) });
|
|
31126
|
-
},
|
|
31225
|
+
}, qu = ({
|
|
31127
31226
|
value: i,
|
|
31128
31227
|
row: r,
|
|
31129
31228
|
column: o,
|
|
@@ -31187,7 +31286,7 @@ const M0 = ({
|
|
|
31187
31286
|
}
|
|
31188
31287
|
) }),
|
|
31189
31288
|
L && g && /* @__PURE__ */ t(
|
|
31190
|
-
|
|
31289
|
+
Ea,
|
|
31191
31290
|
{
|
|
31192
31291
|
images: g,
|
|
31193
31292
|
isOpen: s,
|
|
@@ -31203,7 +31302,7 @@ const M0 = ({
|
|
|
31203
31302
|
]
|
|
31204
31303
|
}
|
|
31205
31304
|
);
|
|
31206
|
-
},
|
|
31305
|
+
}, Uu = ({
|
|
31207
31306
|
value: i,
|
|
31208
31307
|
column: r,
|
|
31209
31308
|
state: o = "default",
|
|
@@ -31228,7 +31327,7 @@ const M0 = ({
|
|
|
31228
31327
|
o === "selected" ? "ui-text-brand-selected" : "ui-text-primary"
|
|
31229
31328
|
), children: p.toFixed(1) })
|
|
31230
31329
|
] }) });
|
|
31231
|
-
},
|
|
31330
|
+
}, Yu = (i) => {
|
|
31232
31331
|
if (i == null || i === "")
|
|
31233
31332
|
return null;
|
|
31234
31333
|
if (i instanceof Date)
|
|
@@ -31260,7 +31359,7 @@ const M0 = ({
|
|
|
31260
31359
|
return null;
|
|
31261
31360
|
}
|
|
31262
31361
|
return null;
|
|
31263
|
-
},
|
|
31362
|
+
}, Gu = (i, r = "short", o = "es-ES") => {
|
|
31264
31363
|
const e = i.getDate(), n = i.getMonth(), a = i.getFullYear(), u = i.getHours().toString().padStart(2, "0"), l = i.getMinutes().toString().padStart(2, "0");
|
|
31265
31364
|
switch (r) {
|
|
31266
31365
|
case "short":
|
|
@@ -31292,7 +31391,7 @@ const M0 = ({
|
|
|
31292
31391
|
case "time":
|
|
31293
31392
|
return `${u}:${l}`;
|
|
31294
31393
|
case "relative":
|
|
31295
|
-
return
|
|
31394
|
+
return Qu(i, o);
|
|
31296
31395
|
case "month-year":
|
|
31297
31396
|
return i.toLocaleDateString(o, {
|
|
31298
31397
|
month: "long",
|
|
@@ -31306,7 +31405,7 @@ const M0 = ({
|
|
|
31306
31405
|
default:
|
|
31307
31406
|
return `${e.toString().padStart(2, "0")}/${(n + 1).toString().padStart(2, "0")}/${a}`;
|
|
31308
31407
|
}
|
|
31309
|
-
},
|
|
31408
|
+
}, Qu = (i, r = "es-ES") => {
|
|
31310
31409
|
const o = /* @__PURE__ */ new Date(), e = new Date(o.getFullYear(), o.getMonth(), o.getDate()), a = new Date(i.getFullYear(), i.getMonth(), i.getDate()).getTime() - e.getTime(), u = Math.round(a / (1e3 * 60 * 60 * 24)), l = {
|
|
31311
31410
|
"es-ES": {
|
|
31312
31411
|
today: "Hoy",
|
|
@@ -31364,8 +31463,8 @@ const M0 = ({
|
|
|
31364
31463
|
fallback: p = "-"
|
|
31365
31464
|
}) => {
|
|
31366
31465
|
const d = S1(o, e, r.locked, u), c = N1(r, a), h = r.dateFormat || l, f = r.locale || s, g = r.dateFallback || p, v = c1(() => {
|
|
31367
|
-
const w =
|
|
31368
|
-
return w ?
|
|
31466
|
+
const w = Yu(i);
|
|
31467
|
+
return w ? Gu(w, h, f) : g;
|
|
31369
31468
|
}, [i, h, f, g]), L = R1(r.contentAlign);
|
|
31370
31469
|
return r.render ? /* @__PURE__ */ t(
|
|
31371
31470
|
"td",
|
|
@@ -31386,7 +31485,7 @@ const M0 = ({
|
|
|
31386
31485
|
);
|
|
31387
31486
|
});
|
|
31388
31487
|
j0.displayName = "DateCell";
|
|
31389
|
-
const
|
|
31488
|
+
const Ju = ({
|
|
31390
31489
|
column: i,
|
|
31391
31490
|
row: r,
|
|
31392
31491
|
value: o,
|
|
@@ -31428,33 +31527,33 @@ const Qu = ({
|
|
|
31428
31527
|
case "actions":
|
|
31429
31528
|
return /* @__PURE__ */ t(x0, { ...m });
|
|
31430
31529
|
case "link":
|
|
31431
|
-
return /* @__PURE__ */ t(
|
|
31530
|
+
return /* @__PURE__ */ t(Du, { ...m });
|
|
31432
31531
|
case "avatars":
|
|
31433
|
-
return /* @__PURE__ */ t(Bu, { ...m });
|
|
31434
|
-
case "textfield":
|
|
31435
31532
|
return /* @__PURE__ */ t(Au, { ...m });
|
|
31436
|
-
case "
|
|
31533
|
+
case "textfield":
|
|
31437
31534
|
return /* @__PURE__ */ t(Pu, { ...m });
|
|
31438
|
-
case "
|
|
31535
|
+
case "dropdown":
|
|
31439
31536
|
return /* @__PURE__ */ t($u, { ...m });
|
|
31440
|
-
case "
|
|
31537
|
+
case "button":
|
|
31441
31538
|
return /* @__PURE__ */ t(Eu, { ...m });
|
|
31539
|
+
case "progressbar":
|
|
31540
|
+
return /* @__PURE__ */ t(zu, { ...m });
|
|
31442
31541
|
case "skeleton":
|
|
31443
31542
|
return /* @__PURE__ */ t(v0, { ...m });
|
|
31444
31543
|
case "tags":
|
|
31445
31544
|
return /* @__PURE__ */ t(y0, { ...m });
|
|
31446
31545
|
case "checkbox":
|
|
31447
|
-
return /* @__PURE__ */ t(Ru, { ...m });
|
|
31448
|
-
case "icon":
|
|
31449
31546
|
return /* @__PURE__ */ t(_u, { ...m });
|
|
31450
|
-
case "
|
|
31547
|
+
case "icon":
|
|
31451
31548
|
return /* @__PURE__ */ t(qu, { ...m });
|
|
31549
|
+
case "stars":
|
|
31550
|
+
return /* @__PURE__ */ t(Uu, { ...m });
|
|
31452
31551
|
case "date":
|
|
31453
31552
|
return /* @__PURE__ */ t(j0, { ...m });
|
|
31454
31553
|
default:
|
|
31455
31554
|
return /* @__PURE__ */ t(L0, { ...m });
|
|
31456
31555
|
}
|
|
31457
|
-
},
|
|
31556
|
+
}, Xu = ({
|
|
31458
31557
|
column: i,
|
|
31459
31558
|
sortable: r = !0,
|
|
31460
31559
|
filterable: o = !0,
|
|
@@ -31484,7 +31583,7 @@ const Qu = ({
|
|
|
31484
31583
|
l && "ui-sticky ui-z-[40] ui-isolate",
|
|
31485
31584
|
s && "ui-border-r-2 ui-border-r-default",
|
|
31486
31585
|
L
|
|
31487
|
-
), D = () => a === "asc" ? ct : a === "desc" ? dt :
|
|
31586
|
+
), D = () => a === "asc" ? ct : a === "desc" ? dt : wn;
|
|
31488
31587
|
N(
|
|
31489
31588
|
"ui-flex ui-items-center ui-gap-1",
|
|
31490
31589
|
"ui-transition-opacity ui-duration-200",
|
|
@@ -31646,7 +31745,7 @@ const Qu = ({
|
|
|
31646
31745
|
onDoubleClick: J,
|
|
31647
31746
|
onClick: (F) => F.preventDefault(),
|
|
31648
31747
|
title: "Doble click para ajustar al contenido",
|
|
31649
|
-
children: /* @__PURE__ */ t(p1, { name:
|
|
31748
|
+
children: /* @__PURE__ */ t(p1, { name: wn, color: "default", size: "sm" })
|
|
31650
31749
|
}
|
|
31651
31750
|
)
|
|
31652
31751
|
}
|
|
@@ -31721,7 +31820,7 @@ const Qu = ({
|
|
|
31721
31820
|
theme: "solid",
|
|
31722
31821
|
size: "xs",
|
|
31723
31822
|
color: "tertiary",
|
|
31724
|
-
icon: i.expanded ?
|
|
31823
|
+
icon: i.expanded ? rn : pt,
|
|
31725
31824
|
onClick: () => u == null ? void 0 : u(i)
|
|
31726
31825
|
}
|
|
31727
31826
|
),
|
|
@@ -31763,7 +31862,7 @@ const Qu = ({
|
|
|
31763
31862
|
}
|
|
31764
31863
|
}
|
|
31765
31864
|
return /* @__PURE__ */ t(
|
|
31766
|
-
|
|
31865
|
+
Ju,
|
|
31767
31866
|
{
|
|
31768
31867
|
column: m,
|
|
31769
31868
|
row: i,
|
|
@@ -31800,7 +31899,7 @@ const Qu = ({
|
|
|
31800
31899
|
j.id
|
|
31801
31900
|
)) })
|
|
31802
31901
|
] });
|
|
31803
|
-
},
|
|
31902
|
+
}, El = ({ columns: i, onAddFilter: r, className: o }) => {
|
|
31804
31903
|
const [e, n] = E(""), [a, u] = E(""), [l, s] = E(""), [p, d] = E(""), c = c1(
|
|
31805
31904
|
() => i.find((L) => L.value === e),
|
|
31806
31905
|
[i, e]
|
|
@@ -31902,7 +32001,7 @@ const Qu = ({
|
|
|
31902
32001
|
)
|
|
31903
32002
|
] })
|
|
31904
32003
|
] });
|
|
31905
|
-
},
|
|
32004
|
+
}, zl = ({ filters: i, onRemoveFilter: r, className: o }) => {
|
|
31906
32005
|
if (i.length === 0)
|
|
31907
32006
|
return /* @__PURE__ */ C("div", { className: N("ui-flex ui-flex-col ui-items-center ui-justify-center ui-gap-2 ui-py-8 ui-px-4", o), children: [
|
|
31908
32007
|
/* @__PURE__ */ t("div", { className: "ui-flex ui-size-16 ui-items-center ui-justify-center ui-rounded-control-pill ui-bg-blue-100", children: /* @__PURE__ */ t(p1, { name: "FilterOutlined", size: "lg", color: "blue" }) }),
|
|
@@ -31934,7 +32033,7 @@ const Qu = ({
|
|
|
31934
32033
|
theme: "solid",
|
|
31935
32034
|
color: "secondary",
|
|
31936
32035
|
size: "xxs",
|
|
31937
|
-
icon:
|
|
32036
|
+
icon: En,
|
|
31938
32037
|
onClick: () => r(a.id),
|
|
31939
32038
|
tooltip: "Eliminar filtro",
|
|
31940
32039
|
tooltipPosition: "left",
|
|
@@ -31946,7 +32045,7 @@ const Qu = ({
|
|
|
31946
32045
|
a.id
|
|
31947
32046
|
)) })
|
|
31948
32047
|
] });
|
|
31949
|
-
},
|
|
32048
|
+
}, Ku = ({
|
|
31950
32049
|
columns: i,
|
|
31951
32050
|
sortConfig: r,
|
|
31952
32051
|
filters: o = [],
|
|
@@ -32039,7 +32138,7 @@ const Qu = ({
|
|
|
32039
32138
|
header: T.header
|
|
32040
32139
|
}))
|
|
32041
32140
|
}), /* @__PURE__ */ t(
|
|
32042
|
-
|
|
32141
|
+
Xu,
|
|
32043
32142
|
{
|
|
32044
32143
|
column: m,
|
|
32045
32144
|
sortDirection: H ? r == null ? void 0 : r.direction : null,
|
|
@@ -32060,7 +32159,7 @@ const Qu = ({
|
|
|
32060
32159
|
);
|
|
32061
32160
|
})
|
|
32062
32161
|
] }) });
|
|
32063
|
-
},
|
|
32162
|
+
}, Wu = ({
|
|
32064
32163
|
columns: i,
|
|
32065
32164
|
showSelection: r = !1,
|
|
32066
32165
|
showExpand: o = !1
|
|
@@ -32068,7 +32167,7 @@ const Qu = ({
|
|
|
32068
32167
|
o && /* @__PURE__ */ t("td", { className: "ui-w-12 ui-border-b ui-border-default ui-bg-fill ui-px-4 ui-py-3" }),
|
|
32069
32168
|
r && /* @__PURE__ */ t("td", { className: "ui-w-12 ui-border-b ui-border-default ui-bg-fill ui-px-4 ui-py-3" }),
|
|
32070
32169
|
i.map((e) => /* @__PURE__ */ t(v0, { value: null, row: null, column: e }, e.id))
|
|
32071
|
-
] }),
|
|
32170
|
+
] }), Nn = {
|
|
32072
32171
|
empty: {
|
|
32073
32172
|
title: "Aún no hay nada aquí...",
|
|
32074
32173
|
description: "Aún no hay contenido disponible por aquí para mostrar."
|
|
@@ -32081,7 +32180,7 @@ const Qu = ({
|
|
|
32081
32180
|
title: "No hay nada aquí...",
|
|
32082
32181
|
description: "Puede probar ajustar los filtros."
|
|
32083
32182
|
}
|
|
32084
|
-
},
|
|
32183
|
+
}, e8 = ({
|
|
32085
32184
|
type: i = "empty",
|
|
32086
32185
|
icon: r,
|
|
32087
32186
|
title: o,
|
|
@@ -32097,7 +32196,7 @@ const Qu = ({
|
|
|
32097
32196
|
default:
|
|
32098
32197
|
return Ct;
|
|
32099
32198
|
}
|
|
32100
|
-
}, u =
|
|
32199
|
+
}, u = Nn[i] || Nn.empty, l = o || u.title, s = e ?? u.description, p = N(
|
|
32101
32200
|
"ui-flex ui-min-h-[400px] ui-flex-col ui-items-center ui-justify-center ui-gap-12 ui-p-12"
|
|
32102
32201
|
);
|
|
32103
32202
|
return /* @__PURE__ */ C("div", { className: p, children: [
|
|
@@ -32125,7 +32224,7 @@ const Qu = ({
|
|
|
32125
32224
|
}
|
|
32126
32225
|
)
|
|
32127
32226
|
] });
|
|
32128
|
-
},
|
|
32227
|
+
}, n8 = ({
|
|
32129
32228
|
rows: i,
|
|
32130
32229
|
columns: r,
|
|
32131
32230
|
loading: o = !1,
|
|
@@ -32143,14 +32242,14 @@ const Qu = ({
|
|
|
32143
32242
|
}) => {
|
|
32144
32243
|
const g = r.filter((L) => L.visible !== !1), v = g.length + (u ? 1 : 0) + (l ? 1 : 0);
|
|
32145
32244
|
return o ? /* @__PURE__ */ t("tbody", { children: Array.from({ length: 10 }).map((L, w) => /* @__PURE__ */ t(
|
|
32146
|
-
|
|
32245
|
+
Wu,
|
|
32147
32246
|
{
|
|
32148
32247
|
columns: g,
|
|
32149
32248
|
showSelection: u,
|
|
32150
32249
|
showExpand: l
|
|
32151
32250
|
},
|
|
32152
32251
|
w
|
|
32153
|
-
)) }) : i.length === 0 && e ? /* @__PURE__ */ t("tbody", { children: /* @__PURE__ */ t("tr", { children: /* @__PURE__ */ t("td", { colSpan: v, className: "ui-p-0", children: /* @__PURE__ */ t(
|
|
32252
|
+
)) }) : i.length === 0 && e ? /* @__PURE__ */ t("tbody", { children: /* @__PURE__ */ t("tr", { children: /* @__PURE__ */ t("td", { colSpan: v, className: "ui-p-0", children: /* @__PURE__ */ t(e8, { ...e }) }) }) }) : /* @__PURE__ */ t("tbody", { children: i.map((L) => /* @__PURE__ */ t(
|
|
32154
32253
|
V0,
|
|
32155
32254
|
{
|
|
32156
32255
|
row: L,
|
|
@@ -32169,7 +32268,7 @@ const Qu = ({
|
|
|
32169
32268
|
},
|
|
32170
32269
|
L.id
|
|
32171
32270
|
)) });
|
|
32172
|
-
},
|
|
32271
|
+
}, t8 = ({
|
|
32173
32272
|
columns: i,
|
|
32174
32273
|
rows: r,
|
|
32175
32274
|
loading: o = !1,
|
|
@@ -32218,7 +32317,7 @@ const Qu = ({
|
|
|
32218
32317
|
` }),
|
|
32219
32318
|
/* @__PURE__ */ C("table", { className: D, children: [
|
|
32220
32319
|
/* @__PURE__ */ t(
|
|
32221
|
-
|
|
32320
|
+
Ku,
|
|
32222
32321
|
{
|
|
32223
32322
|
columns: i,
|
|
32224
32323
|
sortConfig: a,
|
|
@@ -32238,7 +32337,7 @@ const Qu = ({
|
|
|
32238
32337
|
}
|
|
32239
32338
|
),
|
|
32240
32339
|
/* @__PURE__ */ t(
|
|
32241
|
-
|
|
32340
|
+
n8,
|
|
32242
32341
|
{
|
|
32243
32342
|
rows: r,
|
|
32244
32343
|
columns: i,
|
|
@@ -32258,7 +32357,7 @@ const Qu = ({
|
|
|
32258
32357
|
)
|
|
32259
32358
|
] })
|
|
32260
32359
|
] });
|
|
32261
|
-
},
|
|
32360
|
+
}, i8 = ({
|
|
32262
32361
|
selectedCount: i,
|
|
32263
32362
|
selectedIds: r,
|
|
32264
32363
|
actions: o = [],
|
|
@@ -32310,7 +32409,7 @@ const Qu = ({
|
|
|
32310
32409
|
)
|
|
32311
32410
|
] })
|
|
32312
32411
|
] });
|
|
32313
|
-
},
|
|
32412
|
+
}, r8 = (i, r, o, e) => {
|
|
32314
32413
|
if (!o) return i;
|
|
32315
32414
|
const n = e.find((u) => u.id === r);
|
|
32316
32415
|
return n ? [...i].sort((u, l) => {
|
|
@@ -32320,11 +32419,11 @@ const Qu = ({
|
|
|
32320
32419
|
let d = 0;
|
|
32321
32420
|
return typeof s == "string" && typeof p == "string" ? d = s.localeCompare(p) : typeof s == "number" && typeof p == "number" ? d = s - p : s instanceof Date && p instanceof Date ? d = s.getTime() - p.getTime() : d = String(s).localeCompare(String(p)), o === "asc" ? d : -d;
|
|
32322
32421
|
}) : i;
|
|
32323
|
-
},
|
|
32422
|
+
}, o8 = (i) => i === null ? "asc" : i === "asc" ? "desc" : null, a8 = (i) => {
|
|
32324
32423
|
const [r, o] = E(i), e = I((u) => {
|
|
32325
32424
|
o((l) => {
|
|
32326
32425
|
if ((l == null ? void 0 : l.columnId) === u) {
|
|
32327
|
-
const s =
|
|
32426
|
+
const s = o8(l.direction);
|
|
32328
32427
|
return s ? { columnId: u, direction: s } : void 0;
|
|
32329
32428
|
}
|
|
32330
32429
|
return { columnId: u, direction: "asc" };
|
|
@@ -32340,17 +32439,17 @@ const Qu = ({
|
|
|
32340
32439
|
clearSort: n,
|
|
32341
32440
|
setSort: a
|
|
32342
32441
|
};
|
|
32343
|
-
},
|
|
32442
|
+
}, u8 = (i, r) => i.includes(r) ? i.filter((e) => e !== r) : [...i, r], Fl = (i, r) => {
|
|
32344
32443
|
const o = i.map((n) => n.id);
|
|
32345
32444
|
return o.every((n) => r.includes(n)) ? [] : o;
|
|
32346
|
-
},
|
|
32445
|
+
}, Rl = (i, r, o, e) => {
|
|
32347
32446
|
const n = r.indexOf(o), a = r.indexOf(e);
|
|
32348
32447
|
if (n === -1 || a === -1) return i;
|
|
32349
32448
|
const u = Math.min(n, a), l = Math.max(n, a), s = r.slice(u, l + 1), p = /* @__PURE__ */ new Set([...i, ...s]);
|
|
32350
32449
|
return Array.from(p);
|
|
32351
|
-
}, H0 = (i, r) => i.length === 0 ? !1 : i.every((o) => r.includes(o.id)),
|
|
32450
|
+
}, H0 = (i, r) => i.length === 0 ? !1 : i.every((o) => r.includes(o.id)), l8 = (i, r) => r.length === 0 ? !1 : i.some((o) => r.includes(o.id)) && !H0(i, r), s8 = (i, r = !0) => {
|
|
32352
32451
|
const [o, e] = E([]), n = c1(() => H0(i, o), [i, o]), a = c1(
|
|
32353
|
-
() =>
|
|
32452
|
+
() => l8(i, o),
|
|
32354
32453
|
[i, o]
|
|
32355
32454
|
), u = I(
|
|
32356
32455
|
(c) => {
|
|
@@ -32358,7 +32457,7 @@ const Qu = ({
|
|
|
32358
32457
|
e([c.id]);
|
|
32359
32458
|
return;
|
|
32360
32459
|
}
|
|
32361
|
-
e((h) =>
|
|
32460
|
+
e((h) => u8(h, c.id));
|
|
32362
32461
|
},
|
|
32363
32462
|
[r]
|
|
32364
32463
|
), l = I(
|
|
@@ -32385,31 +32484,31 @@ const Qu = ({
|
|
|
32385
32484
|
selectRows: p,
|
|
32386
32485
|
isSelected: d
|
|
32387
32486
|
};
|
|
32388
|
-
},
|
|
32487
|
+
}, c8 = (i, r, o) => {
|
|
32389
32488
|
const e = [...i], [n] = e.splice(r, 1);
|
|
32390
32489
|
return e.splice(o, 0, n), e;
|
|
32391
|
-
},
|
|
32490
|
+
}, d8 = (i, r) => i.map(
|
|
32392
32491
|
(o) => o.id === r ? { ...o, visible: !o.visible } : o
|
|
32393
|
-
),
|
|
32492
|
+
), p8 = (i, r, o) => i.map(
|
|
32394
32493
|
(e) => e.id === r ? { ...e, visible: o } : e
|
|
32395
|
-
),
|
|
32494
|
+
), C8 = (i, r) => i.map(
|
|
32396
32495
|
(o) => o.id === r ? { ...o, locked: !o.locked } : o
|
|
32397
|
-
),
|
|
32496
|
+
), h8 = (i, r, o) => i.map((e) => e.id === r ? { ...e, width: o } : e), _l = (i) => i.map((r) => ({
|
|
32398
32497
|
...r,
|
|
32399
32498
|
visible: !0,
|
|
32400
32499
|
locked: !1,
|
|
32401
32500
|
width: r.width
|
|
32402
|
-
})),
|
|
32501
|
+
})), ql = (i) => i.filter((r) => r.visible !== !1), Ul = (i) => i.filter((r) => r.locked === !0), f8 = (i) => {
|
|
32403
32502
|
const [r, o] = E(i), e = I((d) => {
|
|
32404
|
-
o((c) =>
|
|
32503
|
+
o((c) => d8(c, d));
|
|
32405
32504
|
}, []), n = I((d, c) => {
|
|
32406
|
-
o((h) =>
|
|
32505
|
+
o((h) => p8(h, d, c));
|
|
32407
32506
|
}, []), a = I((d) => {
|
|
32408
|
-
o((c) =>
|
|
32507
|
+
o((c) => C8(c, d));
|
|
32409
32508
|
}, []), u = I((d, c) => {
|
|
32410
|
-
o((h) =>
|
|
32509
|
+
o((h) => h8(h, d, c));
|
|
32411
32510
|
}, []), l = I((d, c) => {
|
|
32412
|
-
o((h) =>
|
|
32511
|
+
o((h) => c8(h, d, c));
|
|
32413
32512
|
}, []), s = I((d) => {
|
|
32414
32513
|
o((c) => {
|
|
32415
32514
|
const h = new Map(c.map((L) => [L.id, L])), f = d.map((L) => h.get(L)).filter((L) => L !== void 0), g = new Set(d), v = c.filter((L) => !g.has(L.id));
|
|
@@ -32428,7 +32527,7 @@ const Qu = ({
|
|
|
32428
32527
|
setColumnsOrder: s,
|
|
32429
32528
|
resetColumns: p
|
|
32430
32529
|
};
|
|
32431
|
-
},
|
|
32530
|
+
}, g8 = (i = []) => {
|
|
32432
32531
|
const [r, o] = E(
|
|
32433
32532
|
new Set(i)
|
|
32434
32533
|
), e = I((c) => {
|
|
@@ -32475,7 +32574,7 @@ const Qu = ({
|
|
|
32475
32574
|
isExpanded: p,
|
|
32476
32575
|
applyExpandedState: d
|
|
32477
32576
|
};
|
|
32478
|
-
},
|
|
32577
|
+
}, m8 = () => {
|
|
32479
32578
|
const [i, r] = E(null), o = I((a, u) => {
|
|
32480
32579
|
r({ rowId: a, columnId: u });
|
|
32481
32580
|
}, []), e = I(() => {
|
|
@@ -32495,7 +32594,7 @@ const Qu = ({
|
|
|
32495
32594
|
operator: i.operator,
|
|
32496
32595
|
value: i.value,
|
|
32497
32596
|
value2: i.value2
|
|
32498
|
-
}),
|
|
32597
|
+
}), L8 = ({ initialFilters: i = [], onFiltersChange: r } = {}) => {
|
|
32499
32598
|
const [o, e] = E(
|
|
32500
32599
|
() => i.map((p, d) => ({
|
|
32501
32600
|
id: `filter-${d}`,
|
|
@@ -32539,7 +32638,7 @@ const Qu = ({
|
|
|
32539
32638
|
clearFilters: l,
|
|
32540
32639
|
setAllFilters: s
|
|
32541
32640
|
};
|
|
32542
|
-
},
|
|
32641
|
+
}, w8 = () => {
|
|
32543
32642
|
const [i, r] = E(/* @__PURE__ */ new Set()), o = I((s) => {
|
|
32544
32643
|
r((p) => {
|
|
32545
32644
|
const d = new Set(p);
|
|
@@ -32573,7 +32672,7 @@ const Qu = ({
|
|
|
32573
32672
|
isRowEditing: u,
|
|
32574
32673
|
applyEditState: l
|
|
32575
32674
|
};
|
|
32576
|
-
},
|
|
32675
|
+
}, In = 1, b8 = "table-config-", x8 = ({
|
|
32577
32676
|
configKey: i,
|
|
32578
32677
|
persistConfig: r = !1,
|
|
32579
32678
|
initialColumns: o,
|
|
@@ -32581,8 +32680,8 @@ const Qu = ({
|
|
|
32581
32680
|
initialFilters: n = [],
|
|
32582
32681
|
onConfigChange: a
|
|
32583
32682
|
}) => {
|
|
32584
|
-
const u = i ? `${
|
|
32585
|
-
version:
|
|
32683
|
+
const u = i ? `${b8}${i}` : null, l = I(() => ({
|
|
32684
|
+
version: In,
|
|
32586
32685
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
32587
32686
|
columns: o.map((m, x) => ({
|
|
32588
32687
|
id: m.id,
|
|
@@ -32599,7 +32698,7 @@ const Qu = ({
|
|
|
32599
32698
|
const m = localStorage.getItem(u);
|
|
32600
32699
|
if (!m) return null;
|
|
32601
32700
|
const x = JSON.parse(m);
|
|
32602
|
-
return x.version !==
|
|
32701
|
+
return x.version !== In ? (console.warn(`[useTableConfig] Config version mismatch, resetting config for ${i}`), null) : x;
|
|
32603
32702
|
} catch (m) {
|
|
32604
32703
|
return console.error(`[useTableConfig] Error loading config for ${i}:`, m), null;
|
|
32605
32704
|
}
|
|
@@ -32691,11 +32790,11 @@ const Qu = ({
|
|
|
32691
32790
|
resetConfig: S,
|
|
32692
32791
|
currentConfig: d
|
|
32693
32792
|
};
|
|
32694
|
-
}, v1 = (i) => !i || typeof i != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(i),
|
|
32793
|
+
}, v1 = (i) => !i || typeof i != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(i), pe = (i) => {
|
|
32695
32794
|
const [r, o, e] = i.split("T")[0].split("-").map(Number);
|
|
32696
32795
|
return new Date(r, o - 1, e);
|
|
32697
32796
|
}, ie = (i, r, o) => {
|
|
32698
|
-
const e =
|
|
32797
|
+
const e = pe(String(i)), n = pe(String(r)), a = e.getTime(), u = n.getTime();
|
|
32699
32798
|
switch (o) {
|
|
32700
32799
|
case "equals":
|
|
32701
32800
|
return a === u;
|
|
@@ -32714,7 +32813,7 @@ const Qu = ({
|
|
|
32714
32813
|
default:
|
|
32715
32814
|
return !1;
|
|
32716
32815
|
}
|
|
32717
|
-
},
|
|
32816
|
+
}, v8 = (i) => {
|
|
32718
32817
|
const r = /* @__PURE__ */ new Date(), o = new Date(r.getFullYear(), r.getMonth(), r.getDate());
|
|
32719
32818
|
switch (i) {
|
|
32720
32819
|
case "thisMonth": {
|
|
@@ -32736,11 +32835,11 @@ const Qu = ({
|
|
|
32736
32835
|
default:
|
|
32737
32836
|
return { start: o, end: o };
|
|
32738
32837
|
}
|
|
32739
|
-
},
|
|
32838
|
+
}, y8 = (i, r) => {
|
|
32740
32839
|
if (!v1(i)) return !1;
|
|
32741
|
-
const o =
|
|
32840
|
+
const o = pe(String(i)), { start: e, end: n } = v8(r), a = o.getTime(), u = e.getTime(), l = n.getTime();
|
|
32742
32841
|
return a >= u && a <= l;
|
|
32743
|
-
},
|
|
32842
|
+
}, Zn = (i, r, o, e) => {
|
|
32744
32843
|
const n = i == null || i === "";
|
|
32745
32844
|
switch (r) {
|
|
32746
32845
|
case "isEmpty":
|
|
@@ -32782,7 +32881,7 @@ const Qu = ({
|
|
|
32782
32881
|
case "between":
|
|
32783
32882
|
if (n) return !1;
|
|
32784
32883
|
if (v1(i) && v1(o) && v1(e)) {
|
|
32785
|
-
const s =
|
|
32884
|
+
const s = pe(String(i)), p = pe(String(o)), d = pe(String(e)), c = s.getTime(), h = Math.min(p.getTime(), d.getTime()), f = Math.max(p.getTime(), d.getTime());
|
|
32786
32885
|
return c >= h && c <= f;
|
|
32787
32886
|
}
|
|
32788
32887
|
const a = Number(i), u = Math.min(Number(o), Number(e)), l = Math.max(Number(o), Number(e));
|
|
@@ -32797,22 +32896,22 @@ const Qu = ({
|
|
|
32797
32896
|
case "lastMonth":
|
|
32798
32897
|
case "thisYear":
|
|
32799
32898
|
case "lastYear":
|
|
32800
|
-
return n ? !1 :
|
|
32899
|
+
return n ? !1 : y8(i, r);
|
|
32801
32900
|
default:
|
|
32802
32901
|
return !0;
|
|
32803
32902
|
}
|
|
32804
|
-
},
|
|
32903
|
+
}, Dn = (i, r, o) => {
|
|
32805
32904
|
const e = o.find((n) => n.id === r);
|
|
32806
32905
|
if (e)
|
|
32807
32906
|
return e.accessor ? typeof e.accessor == "function" ? e.accessor(i) : i[e.accessor] : i[r];
|
|
32808
|
-
},
|
|
32907
|
+
}, M8 = (i, r, o) => r.length === 0 ? i : i.filter((e) => {
|
|
32809
32908
|
if (r.length === 1) {
|
|
32810
|
-
const a =
|
|
32811
|
-
return
|
|
32909
|
+
const a = Dn(e, r[0].columnId, o);
|
|
32910
|
+
return Zn(a, r[0].operator, r[0].value, r[0].value2);
|
|
32812
32911
|
}
|
|
32813
32912
|
let n = !1;
|
|
32814
32913
|
for (let a = 0; a < r.length; a++) {
|
|
32815
|
-
const u = r[a], l =
|
|
32914
|
+
const u = r[a], l = Dn(e, u.columnId, o), s = Zn(l, u.operator, u.value, u.value2);
|
|
32816
32915
|
if (a === 0)
|
|
32817
32916
|
n = s;
|
|
32818
32917
|
else {
|
|
@@ -32821,7 +32920,7 @@ const Qu = ({
|
|
|
32821
32920
|
}
|
|
32822
32921
|
}
|
|
32823
32922
|
return n;
|
|
32824
|
-
}),
|
|
32923
|
+
}), Yl = ({
|
|
32825
32924
|
columns: i,
|
|
32826
32925
|
rows: r,
|
|
32827
32926
|
loading: o = !1,
|
|
@@ -32854,7 +32953,7 @@ const Qu = ({
|
|
|
32854
32953
|
onRowExpand: O,
|
|
32855
32954
|
onHandleChange: b
|
|
32856
32955
|
}) => {
|
|
32857
|
-
const M = n1(null), [T, D] = E(null), Z =
|
|
32956
|
+
const M = n1(null), [T, D] = E(null), Z = x8({
|
|
32858
32957
|
configKey: L,
|
|
32859
32958
|
persistConfig: w,
|
|
32860
32959
|
initialColumns: i,
|
|
@@ -32868,18 +32967,18 @@ const Qu = ({
|
|
|
32868
32967
|
if (G !== -1) {
|
|
32869
32968
|
const s1 = B[G], f1 = s1.render, H1 = {
|
|
32870
32969
|
...s1,
|
|
32871
|
-
render: (
|
|
32872
|
-
const
|
|
32970
|
+
render: (de, me, R0) => {
|
|
32971
|
+
const mn = f1 ? f1(de, me, R0) : [], _0 = Array.isArray(mn) ? mn : [];
|
|
32873
32972
|
return [{
|
|
32874
|
-
icon: me._isEditing ?
|
|
32973
|
+
icon: me._isEditing ? bn : Ue,
|
|
32875
32974
|
tooltip: me._isEditing ? "Guardar" : "Editar",
|
|
32876
32975
|
onClick: () => {
|
|
32877
32976
|
me._toggleEdit && me._toggleEdit();
|
|
32878
32977
|
}
|
|
32879
32978
|
}, ..._0];
|
|
32880
32979
|
}
|
|
32881
|
-
},
|
|
32882
|
-
return
|
|
32980
|
+
}, ue = [...B];
|
|
32981
|
+
return ue[G] = H1, ue;
|
|
32883
32982
|
}
|
|
32884
32983
|
const t1 = {
|
|
32885
32984
|
id: "_editActions",
|
|
@@ -32893,7 +32992,7 @@ const Qu = ({
|
|
|
32893
32992
|
editable: "none",
|
|
32894
32993
|
render: (s1, f1) => [
|
|
32895
32994
|
{
|
|
32896
|
-
icon: f1._isEditing ?
|
|
32995
|
+
icon: f1._isEditing ? bn : Ue,
|
|
32897
32996
|
tooltip: f1._isEditing ? "Guardar " : "Editar",
|
|
32898
32997
|
onClick: () => {
|
|
32899
32998
|
f1._toggleEdit && f1._toggleEdit();
|
|
@@ -32902,10 +33001,10 @@ const Qu = ({
|
|
|
32902
33001
|
]
|
|
32903
33002
|
};
|
|
32904
33003
|
return [...B, t1];
|
|
32905
|
-
}, [B, P, v]), J = c1(() => X.map((G) => G.width === void 0 && G.resizable !== !1 ? { ...G, resizable: !0 } : G), [X]), { columns: q, handleSetVisibility: R, handleToggleLock: _, handleResize: F, setColumnsOrder: z } =
|
|
33004
|
+
}, [B, P, v]), J = c1(() => X.map((G) => G.width === void 0 && G.resizable !== !1 ? { ...G, resizable: !0 } : G), [X]), { columns: q, handleSetVisibility: R, handleToggleLock: _, handleResize: F, setColumnsOrder: z } = f8(J), { sortConfig: $, handleSort: Y } = a8(l), { selectedIds: d1, selectedCount: o1, allSelected: C1, someSelected: h1, handleRowSelect: g1, handleSelectAll: A, clearSelection: Q } = s8(r, n == null ? void 0 : n.multiple), { handleRowExpand: U, applyExpandedState: e1 } = g8(), { handleCellFocus: r1, handleCellBlur: l1, isCellFocused: m1 } = m8(), { filters: a1, setAllFilters: I1 } = L8({
|
|
32906
33005
|
initialFilters: s,
|
|
32907
33006
|
onFiltersChange: m
|
|
32908
|
-
}), { toggleRowEdit: M1, applyEditState: ee } =
|
|
33007
|
+
}), { toggleRowEdit: M1, applyEditState: ee } = w8(), [j1, ne] = E("");
|
|
32909
33008
|
K(() => {
|
|
32910
33009
|
const G = (t1) => {
|
|
32911
33010
|
M.current && !M.current.contains(t1.target) && l1();
|
|
@@ -32928,8 +33027,8 @@ const Qu = ({
|
|
|
32928
33027
|
let f1;
|
|
32929
33028
|
return typeof s1.accessor == "function" ? f1 = s1.accessor(t1) : s1.accessor && (f1 = t1[s1.accessor]), f1 != null ? String(f1).toLowerCase().includes(G) : !1;
|
|
32930
33029
|
}));
|
|
32931
|
-
}, [r, j1, q]), Z1 = c1(() => a1.length === 0 || !((u == null ? void 0 : u.internalFilters) ?? !1) ? A1 :
|
|
32932
|
-
const s1 = q.find((
|
|
33030
|
+
}, [r, j1, q]), Z1 = c1(() => a1.length === 0 || !((u == null ? void 0 : u.internalFilters) ?? !1) ? A1 : M8(A1, a1, q), [A1, a1, q, u == null ? void 0 : u.internalFilters]), D1 = c1(() => !$ || !$.direction ? Z1 : [...Z1].sort((G, t1) => {
|
|
33031
|
+
const s1 = q.find((ue) => ue.id === $.columnId);
|
|
32933
33032
|
if (!s1) return 0;
|
|
32934
33033
|
let f1, H1;
|
|
32935
33034
|
if (typeof s1.accessor == "function")
|
|
@@ -32950,7 +33049,7 @@ const Qu = ({
|
|
|
32950
33049
|
}, [D1, a, w1, a1.length, j1]), P1 = e1(ge), Y1 = c1(() => ee(P1).map((t1) => ({
|
|
32951
33050
|
...t1,
|
|
32952
33051
|
_toggleEdit: () => M1(t1.id)
|
|
32953
|
-
})), [P1, ee, M1]),
|
|
33052
|
+
})), [P1, ee, M1]), ae = c1(() => {
|
|
32954
33053
|
if (Y1.length > 0) return e;
|
|
32955
33054
|
const G = j1.trim().length > 0, t1 = a1.length > 0;
|
|
32956
33055
|
return r.length === 0 && !G && !t1 ? {
|
|
@@ -32972,9 +33071,9 @@ const Qu = ({
|
|
|
32972
33071
|
} : e;
|
|
32973
33072
|
}, [e, Y1.length, j1, a1.length, r.length, A1.length, Z1.length]), ye = (G) => {
|
|
32974
33073
|
Y(G), S == null || S($), w && L && $ && Z.updateSort($);
|
|
32975
|
-
}, Fe = (G) => {
|
|
32976
|
-
console.log("Filter column:", G);
|
|
32977
33074
|
}, Re = (G) => {
|
|
33075
|
+
console.log("Filter column:", G);
|
|
33076
|
+
}, _e = (G) => {
|
|
32978
33077
|
_(G);
|
|
32979
33078
|
const t1 = q.find((s1) => s1.id === G);
|
|
32980
33079
|
w && L && t1 && Z.updateColumnLock(G, !t1.locked);
|
|
@@ -32986,14 +33085,14 @@ const Qu = ({
|
|
|
32986
33085
|
if (s1 || f1.length > 0) {
|
|
32987
33086
|
let H1 = 0;
|
|
32988
33087
|
if (s1) {
|
|
32989
|
-
const
|
|
32990
|
-
|
|
33088
|
+
const de = s1.querySelector(".ui-truncate");
|
|
33089
|
+
de && (H1 = Math.max(H1, de.scrollWidth + 80));
|
|
32991
33090
|
}
|
|
32992
|
-
f1.forEach((
|
|
32993
|
-
H1 = Math.max(H1,
|
|
33091
|
+
f1.forEach((de) => {
|
|
33092
|
+
H1 = Math.max(H1, de.scrollWidth + 32);
|
|
32994
33093
|
});
|
|
32995
|
-
const
|
|
32996
|
-
F(G,
|
|
33094
|
+
const ue = Math.min(Math.max(H1, 100), 500);
|
|
33095
|
+
F(G, ue), x == null || x(G, ue);
|
|
32997
33096
|
}
|
|
32998
33097
|
}
|
|
32999
33098
|
}, $1 = (G, t1) => {
|
|
@@ -33031,7 +33130,7 @@ const Qu = ({
|
|
|
33031
33130
|
};
|
|
33032
33131
|
return /* @__PURE__ */ C("div", { ref: M, className: z0, children: [
|
|
33033
33132
|
u && /* @__PURE__ */ t(
|
|
33034
|
-
|
|
33133
|
+
Iu,
|
|
33035
33134
|
{
|
|
33036
33135
|
...u,
|
|
33037
33136
|
showFilters: u.showFilters ?? !0,
|
|
@@ -33046,12 +33145,12 @@ const Qu = ({
|
|
|
33046
33145
|
}
|
|
33047
33146
|
),
|
|
33048
33147
|
/* @__PURE__ */ t("div", { className: "ui-flex-1 ui-overflow-auto", children: /* @__PURE__ */ t(
|
|
33049
|
-
|
|
33148
|
+
t8,
|
|
33050
33149
|
{
|
|
33051
33150
|
columns: q,
|
|
33052
33151
|
rows: Y1,
|
|
33053
33152
|
loading: o,
|
|
33054
|
-
empty:
|
|
33153
|
+
empty: ae,
|
|
33055
33154
|
selection: n,
|
|
33056
33155
|
sort: $,
|
|
33057
33156
|
filters: a1,
|
|
@@ -33068,8 +33167,8 @@ const Qu = ({
|
|
|
33068
33167
|
onSelectAll: A,
|
|
33069
33168
|
onRowSelect: g1,
|
|
33070
33169
|
onSort: ye,
|
|
33071
|
-
onFilter:
|
|
33072
|
-
onLock:
|
|
33170
|
+
onFilter: Re,
|
|
33171
|
+
onLock: _e,
|
|
33073
33172
|
onResize: W,
|
|
33074
33173
|
onResizeDoubleClick: b1,
|
|
33075
33174
|
onResizeHover: $1,
|
|
@@ -33084,7 +33183,7 @@ const Qu = ({
|
|
|
33084
33183
|
"ui-absolute ui-left-0 ui-right-0 ui-z-50 ui-flex ui-justify-center ui-pointer-events-none",
|
|
33085
33184
|
a != null && a.enabled ? "ui-bottom-20" : "ui-bottom-8"
|
|
33086
33185
|
), children: /* @__PURE__ */ t(
|
|
33087
|
-
|
|
33186
|
+
i8,
|
|
33088
33187
|
{
|
|
33089
33188
|
selectedCount: o1,
|
|
33090
33189
|
selectedIds: d1,
|
|
@@ -33095,7 +33194,7 @@ const Qu = ({
|
|
|
33095
33194
|
}
|
|
33096
33195
|
) }),
|
|
33097
33196
|
(a == null ? void 0 : a.enabled) && /* @__PURE__ */ t(
|
|
33098
|
-
|
|
33197
|
+
Ra,
|
|
33099
33198
|
{
|
|
33100
33199
|
currentPage: a.currentPage || 1,
|
|
33101
33200
|
pageCount: Math.ceil(
|
|
@@ -33111,7 +33210,7 @@ const Qu = ({
|
|
|
33111
33210
|
}
|
|
33112
33211
|
)
|
|
33113
33212
|
] });
|
|
33114
|
-
},
|
|
33213
|
+
}, Gl = (i = []) => {
|
|
33115
33214
|
const [r, o] = E(i), [e, n] = E(""), a = I((d) => {
|
|
33116
33215
|
o((c) => {
|
|
33117
33216
|
const h = c.findIndex((f) => f.columnId === d.columnId);
|
|
@@ -33140,7 +33239,7 @@ const Qu = ({
|
|
|
33140
33239
|
updateFilter: s,
|
|
33141
33240
|
hasActiveFilters: p
|
|
33142
33241
|
};
|
|
33143
|
-
},
|
|
33242
|
+
}, Ql = (i, r = 10, o = 1) => {
|
|
33144
33243
|
const [e, n] = E(o), [a, u] = E(r), l = c1(() => Math.ceil(i / a), [i, a]), s = I(
|
|
33145
33244
|
(L) => {
|
|
33146
33245
|
L >= 1 && L <= l && n(L);
|
|
@@ -33175,7 +33274,7 @@ const Qu = ({
|
|
|
33175
33274
|
}, x1 = (i) => !i || typeof i != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(i), L1 = (i) => {
|
|
33176
33275
|
const [r, o, e] = i.split("T")[0].split("-").map(Number);
|
|
33177
33276
|
return new Date(r, o - 1, e);
|
|
33178
|
-
},
|
|
33277
|
+
}, j8 = (i) => {
|
|
33179
33278
|
const r = /* @__PURE__ */ new Date(), o = new Date(r.getFullYear(), r.getMonth(), r.getDate());
|
|
33180
33279
|
switch (i) {
|
|
33181
33280
|
case "thisMonth": {
|
|
@@ -33197,12 +33296,12 @@ const Qu = ({
|
|
|
33197
33296
|
default:
|
|
33198
33297
|
return { start: o, end: o };
|
|
33199
33298
|
}
|
|
33200
|
-
},
|
|
33299
|
+
}, V8 = (i, r, o) => r.length === 0 ? i : i.filter((e) => r.every((n) => {
|
|
33201
33300
|
const a = o.find((l) => l.id === n.columnId);
|
|
33202
33301
|
if (!a) return !0;
|
|
33203
33302
|
const u = a.accessor ? typeof a.accessor == "function" ? a.accessor(e) : e[a.accessor] : null;
|
|
33204
|
-
return
|
|
33205
|
-
})),
|
|
33303
|
+
return H8(u, n);
|
|
33304
|
+
})), H8 = (i, r) => {
|
|
33206
33305
|
const o = r.value, e = i == null || i === "";
|
|
33207
33306
|
switch (r.operator) {
|
|
33208
33307
|
case "isEmpty":
|
|
@@ -33254,20 +33353,20 @@ const Qu = ({
|
|
|
33254
33353
|
case "thisYear":
|
|
33255
33354
|
case "lastYear": {
|
|
33256
33355
|
if (!x1(i)) return !1;
|
|
33257
|
-
const p = L1(i), { start: d, end: c } =
|
|
33356
|
+
const p = L1(i), { start: d, end: c } = j8(r.operator), h = p.getTime();
|
|
33258
33357
|
return h >= d.getTime() && h <= c.getTime();
|
|
33259
33358
|
}
|
|
33260
33359
|
default:
|
|
33261
33360
|
return !0;
|
|
33262
33361
|
}
|
|
33263
|
-
},
|
|
33362
|
+
}, k8 = (i, r, o) => {
|
|
33264
33363
|
if (!r.trim()) return i;
|
|
33265
33364
|
const e = r.toLowerCase();
|
|
33266
33365
|
return i.filter((n) => o.some((a) => {
|
|
33267
33366
|
const u = a.accessor ? typeof a.accessor == "function" ? a.accessor(n) : n[a.accessor] : null;
|
|
33268
33367
|
return u == null ? !1 : String(u).toLowerCase().includes(e);
|
|
33269
33368
|
}));
|
|
33270
|
-
},
|
|
33369
|
+
}, Jl = ({
|
|
33271
33370
|
rows: i,
|
|
33272
33371
|
columns: r,
|
|
33273
33372
|
sortConfig: o,
|
|
@@ -33278,7 +33377,7 @@ const Qu = ({
|
|
|
33278
33377
|
}) => {
|
|
33279
33378
|
const l = c1(() => {
|
|
33280
33379
|
let p = [...i];
|
|
33281
|
-
return n && (p =
|
|
33380
|
+
return n && (p = k8(p, n, r)), e.length > 0 && (p = V8(p, e, r)), o && (p = r8(p, o.columnId, o.direction, r)), p;
|
|
33282
33381
|
}, [i, r, o, e, n]), s = c1(() => {
|
|
33283
33382
|
if (!u) return l;
|
|
33284
33383
|
const p = (a - 1) * u, d = p + u;
|
|
@@ -33290,11 +33389,11 @@ const Qu = ({
|
|
|
33290
33389
|
totalRows: l.length
|
|
33291
33390
|
};
|
|
33292
33391
|
};
|
|
33293
|
-
function
|
|
33392
|
+
function O8(i, r) {
|
|
33294
33393
|
return r(i.id, i.attributes);
|
|
33295
33394
|
}
|
|
33296
33395
|
function k0(i, r) {
|
|
33297
|
-
return i.data.map((o) =>
|
|
33396
|
+
return i.data.map((o) => O8(o, r));
|
|
33298
33397
|
}
|
|
33299
33398
|
function O0(i, r) {
|
|
33300
33399
|
return {
|
|
@@ -33316,7 +33415,7 @@ function S0(i) {
|
|
|
33316
33415
|
}
|
|
33317
33416
|
};
|
|
33318
33417
|
}
|
|
33319
|
-
function
|
|
33418
|
+
function Xl(i) {
|
|
33320
33419
|
return (r) => ({
|
|
33321
33420
|
data: k0(r, i),
|
|
33322
33421
|
pagination: {
|
|
@@ -33327,7 +33426,7 @@ function Jl(i) {
|
|
|
33327
33426
|
}
|
|
33328
33427
|
});
|
|
33329
33428
|
}
|
|
33330
|
-
const
|
|
33429
|
+
const S8 = {
|
|
33331
33430
|
equals: "$eq",
|
|
33332
33431
|
notEquals: "$ne",
|
|
33333
33432
|
contains: "$containsi",
|
|
@@ -33354,38 +33453,38 @@ const O8 = {
|
|
|
33354
33453
|
lastYear: "$gte"
|
|
33355
33454
|
// Se manejará con valor calculado
|
|
33356
33455
|
};
|
|
33357
|
-
function
|
|
33456
|
+
function N8() {
|
|
33358
33457
|
const i = /* @__PURE__ */ new Date(), r = new Date(i.getFullYear(), i.getMonth(), 1), o = new Date(i.getFullYear(), i.getMonth() + 1, 0);
|
|
33359
33458
|
return {
|
|
33360
33459
|
start: r.toISOString().split("T")[0],
|
|
33361
33460
|
end: o.toISOString().split("T")[0]
|
|
33362
33461
|
};
|
|
33363
33462
|
}
|
|
33364
|
-
function
|
|
33463
|
+
function I8() {
|
|
33365
33464
|
const i = /* @__PURE__ */ new Date(), r = new Date(i.getFullYear(), i.getMonth() - 1, 1), o = new Date(i.getFullYear(), i.getMonth(), 0);
|
|
33366
33465
|
return {
|
|
33367
33466
|
start: r.toISOString().split("T")[0],
|
|
33368
33467
|
end: o.toISOString().split("T")[0]
|
|
33369
33468
|
};
|
|
33370
33469
|
}
|
|
33371
|
-
function
|
|
33470
|
+
function Z8() {
|
|
33372
33471
|
const i = /* @__PURE__ */ new Date();
|
|
33373
33472
|
return {
|
|
33374
33473
|
start: `${i.getFullYear()}-01-01`,
|
|
33375
33474
|
end: `${i.getFullYear()}-12-31`
|
|
33376
33475
|
};
|
|
33377
33476
|
}
|
|
33378
|
-
function
|
|
33477
|
+
function D8() {
|
|
33379
33478
|
const r = (/* @__PURE__ */ new Date()).getFullYear() - 1;
|
|
33380
33479
|
return {
|
|
33381
33480
|
start: `${r}-01-01`,
|
|
33382
33481
|
end: `${r}-12-31`
|
|
33383
33482
|
};
|
|
33384
33483
|
}
|
|
33385
|
-
function
|
|
33386
|
-
const { field: r, operator: o, value: e, value2: n } = i, a =
|
|
33484
|
+
function Tn(i) {
|
|
33485
|
+
const { field: r, operator: o, value: e, value2: n } = i, a = S8[o];
|
|
33387
33486
|
if (o === "thisMonth") {
|
|
33388
|
-
const u =
|
|
33487
|
+
const u = N8();
|
|
33389
33488
|
return {
|
|
33390
33489
|
[r]: {
|
|
33391
33490
|
$gte: u.start,
|
|
@@ -33394,7 +33493,7 @@ function In(i) {
|
|
|
33394
33493
|
};
|
|
33395
33494
|
}
|
|
33396
33495
|
if (o === "lastMonth") {
|
|
33397
|
-
const u =
|
|
33496
|
+
const u = I8();
|
|
33398
33497
|
return {
|
|
33399
33498
|
[r]: {
|
|
33400
33499
|
$gte: u.start,
|
|
@@ -33403,7 +33502,7 @@ function In(i) {
|
|
|
33403
33502
|
};
|
|
33404
33503
|
}
|
|
33405
33504
|
if (o === "thisYear") {
|
|
33406
|
-
const u =
|
|
33505
|
+
const u = Z8();
|
|
33407
33506
|
return {
|
|
33408
33507
|
[r]: {
|
|
33409
33508
|
$gte: u.start,
|
|
@@ -33412,7 +33511,7 @@ function In(i) {
|
|
|
33412
33511
|
};
|
|
33413
33512
|
}
|
|
33414
33513
|
if (o === "lastYear") {
|
|
33415
|
-
const u =
|
|
33514
|
+
const u = D8();
|
|
33416
33515
|
return {
|
|
33417
33516
|
[r]: {
|
|
33418
33517
|
$gte: u.start,
|
|
@@ -33439,7 +33538,7 @@ function In(i) {
|
|
|
33439
33538
|
}
|
|
33440
33539
|
};
|
|
33441
33540
|
}
|
|
33442
|
-
function
|
|
33541
|
+
function T8(i) {
|
|
33443
33542
|
return {
|
|
33444
33543
|
field: i.columnId,
|
|
33445
33544
|
operator: i.operator,
|
|
@@ -33452,18 +33551,18 @@ function N0(i) {
|
|
|
33452
33551
|
if (i.length === 0)
|
|
33453
33552
|
return {};
|
|
33454
33553
|
if (i.length === 1)
|
|
33455
|
-
return
|
|
33554
|
+
return Tn(i[0]);
|
|
33456
33555
|
const r = [];
|
|
33457
33556
|
let o = [];
|
|
33458
33557
|
return i.forEach((e, n) => {
|
|
33459
|
-
const a =
|
|
33558
|
+
const a = Tn(e);
|
|
33460
33559
|
o.push(a), e.logicOperator === "or" && n < i.length - 1 && (r.push([...o]), o = []);
|
|
33461
33560
|
}), o.length > 0 && r.push(o), r.length === 1 ? Object.assign({}, ...r[0]) : {
|
|
33462
33561
|
$or: r.map((e) => e.length === 1 ? e[0] : { $and: e })
|
|
33463
33562
|
};
|
|
33464
33563
|
}
|
|
33465
|
-
function
|
|
33466
|
-
const r = i.map(
|
|
33564
|
+
function B8(i) {
|
|
33565
|
+
const r = i.map(T8);
|
|
33467
33566
|
return N0(r);
|
|
33468
33567
|
}
|
|
33469
33568
|
function I0(i) {
|
|
@@ -33483,26 +33582,26 @@ function Z0(i, r, o) {
|
|
|
33483
33582
|
});
|
|
33484
33583
|
}
|
|
33485
33584
|
let De = null;
|
|
33486
|
-
class
|
|
33585
|
+
class A8 extends Error {
|
|
33487
33586
|
constructor(r, o, e, n) {
|
|
33488
33587
|
super(r), this.status = o, this.statusText = e, this.data = n, this.name = "StrapiApiError";
|
|
33489
33588
|
}
|
|
33490
33589
|
}
|
|
33491
|
-
function
|
|
33590
|
+
function Kl(i) {
|
|
33492
33591
|
De = i;
|
|
33493
33592
|
}
|
|
33494
|
-
function
|
|
33593
|
+
function P8() {
|
|
33495
33594
|
if (!De)
|
|
33496
33595
|
throw new Error(
|
|
33497
33596
|
"Strapi client not configured. Call configureStrapiClient() first."
|
|
33498
33597
|
);
|
|
33499
33598
|
return De;
|
|
33500
33599
|
}
|
|
33501
|
-
function
|
|
33600
|
+
function Wl() {
|
|
33502
33601
|
return De !== null;
|
|
33503
33602
|
}
|
|
33504
|
-
async function
|
|
33505
|
-
const o =
|
|
33603
|
+
async function Fe(i, r = {}) {
|
|
33604
|
+
const o = P8(), e = i.startsWith("http") ? i : `${o.baseUrl}${i.startsWith("/") ? i : `/${i}`}`, n = {
|
|
33506
33605
|
"Content-Type": "application/json",
|
|
33507
33606
|
Authorization: `Bearer ${o.token}`,
|
|
33508
33607
|
...r.headers
|
|
@@ -33517,7 +33616,7 @@ async function ze(i, r = {}) {
|
|
|
33517
33616
|
} catch {
|
|
33518
33617
|
u = await a.text();
|
|
33519
33618
|
}
|
|
33520
|
-
throw new
|
|
33619
|
+
throw new A8(
|
|
33521
33620
|
`API Error: ${a.status} ${a.statusText}`,
|
|
33522
33621
|
a.status,
|
|
33523
33622
|
a.statusText,
|
|
@@ -33528,43 +33627,43 @@ async function ze(i, r = {}) {
|
|
|
33528
33627
|
}
|
|
33529
33628
|
async function D0(i, r) {
|
|
33530
33629
|
const o = r ? `${i}?${r}` : i;
|
|
33531
|
-
return
|
|
33630
|
+
return Fe(o, { method: "GET" });
|
|
33532
33631
|
}
|
|
33533
|
-
async function
|
|
33534
|
-
return
|
|
33632
|
+
async function es(i, r) {
|
|
33633
|
+
return Fe(i, {
|
|
33535
33634
|
method: "POST",
|
|
33536
33635
|
body: JSON.stringify(r)
|
|
33537
33636
|
});
|
|
33538
33637
|
}
|
|
33539
|
-
async function
|
|
33540
|
-
return
|
|
33638
|
+
async function $8(i, r) {
|
|
33639
|
+
return Fe(i, {
|
|
33541
33640
|
method: "PUT",
|
|
33542
33641
|
body: JSON.stringify(r)
|
|
33543
33642
|
});
|
|
33544
33643
|
}
|
|
33545
|
-
async function
|
|
33546
|
-
return
|
|
33644
|
+
async function ns(i) {
|
|
33645
|
+
return Fe(i, { method: "DELETE" });
|
|
33547
33646
|
}
|
|
33548
|
-
const
|
|
33549
|
-
async function
|
|
33550
|
-
const r =
|
|
33551
|
-
return D0(
|
|
33647
|
+
const gn = "/api/equipos";
|
|
33648
|
+
async function E8(i) {
|
|
33649
|
+
const r = z8(i);
|
|
33650
|
+
return D0(gn, r);
|
|
33552
33651
|
}
|
|
33553
|
-
async function
|
|
33554
|
-
const r = await
|
|
33652
|
+
async function en(i) {
|
|
33653
|
+
const r = await E8(i);
|
|
33555
33654
|
return S0(r);
|
|
33556
33655
|
}
|
|
33557
|
-
async function
|
|
33558
|
-
const o =
|
|
33656
|
+
async function nn(i, r) {
|
|
33657
|
+
const o = B8(i), e = I0({
|
|
33559
33658
|
filters: o,
|
|
33560
33659
|
sort: r == null ? void 0 : r.sortField,
|
|
33561
33660
|
sortDirection: r == null ? void 0 : r.sortDirection,
|
|
33562
33661
|
page: r == null ? void 0 : r.page,
|
|
33563
33662
|
pageSize: r == null ? void 0 : r.pageSize
|
|
33564
|
-
}), n = await D0(
|
|
33663
|
+
}), n = await D0(gn, e);
|
|
33565
33664
|
return S0(n);
|
|
33566
33665
|
}
|
|
33567
|
-
function
|
|
33666
|
+
function z8(i) {
|
|
33568
33667
|
if (!i)
|
|
33569
33668
|
return "";
|
|
33570
33669
|
const { page: r, pageSize: o, sortField: e, sortDirection: n, filters: a, search: u } = i;
|
|
@@ -33583,13 +33682,13 @@ function E8(i) {
|
|
|
33583
33682
|
});
|
|
33584
33683
|
}
|
|
33585
33684
|
async function T0(i, r) {
|
|
33586
|
-
const o = await
|
|
33587
|
-
`${
|
|
33685
|
+
const o = await $8(
|
|
33686
|
+
`${gn}/${i}`,
|
|
33588
33687
|
{ data: r }
|
|
33589
33688
|
);
|
|
33590
33689
|
return O0(o.data.id, o.data.attributes);
|
|
33591
33690
|
}
|
|
33592
|
-
async function
|
|
33691
|
+
async function F8(i, r) {
|
|
33593
33692
|
return T0(i, { nombre: r });
|
|
33594
33693
|
}
|
|
33595
33694
|
const y1 = {
|
|
@@ -33599,25 +33698,25 @@ const y1 = {
|
|
|
33599
33698
|
details: () => [...y1.all, "detail"],
|
|
33600
33699
|
detail: (i) => [...y1.details(), i]
|
|
33601
33700
|
};
|
|
33602
|
-
function
|
|
33603
|
-
return
|
|
33701
|
+
function ts(i, r) {
|
|
33702
|
+
return un({
|
|
33604
33703
|
queryKey: y1.list(i),
|
|
33605
|
-
queryFn: () =>
|
|
33704
|
+
queryFn: () => en(i),
|
|
33606
33705
|
staleTime: 1e3 * 60 * 5,
|
|
33607
33706
|
// 5 minutos
|
|
33608
33707
|
...r
|
|
33609
33708
|
});
|
|
33610
33709
|
}
|
|
33611
|
-
function
|
|
33612
|
-
return
|
|
33710
|
+
function is(i, r, o) {
|
|
33711
|
+
return un({
|
|
33613
33712
|
queryKey: [...y1.lists(), "filtered", { advancedFilters: i, params: r }],
|
|
33614
|
-
queryFn: () =>
|
|
33713
|
+
queryFn: () => nn(i, r),
|
|
33615
33714
|
staleTime: 1e3 * 60 * 5,
|
|
33616
33715
|
// 5 minutos
|
|
33617
33716
|
...o
|
|
33618
33717
|
});
|
|
33619
33718
|
}
|
|
33620
|
-
function
|
|
33719
|
+
function rs(i = {}) {
|
|
33621
33720
|
var f, g;
|
|
33622
33721
|
const {
|
|
33623
33722
|
page: r = 1,
|
|
@@ -33627,18 +33726,18 @@ function is(i = {}) {
|
|
|
33627
33726
|
filters: a = [],
|
|
33628
33727
|
search: u,
|
|
33629
33728
|
enabled: l = !0
|
|
33630
|
-
} = i, s = Be(), p =
|
|
33729
|
+
} = i, s = Be(), p = un({
|
|
33631
33730
|
queryKey: [
|
|
33632
33731
|
...y1.lists(),
|
|
33633
33732
|
"table",
|
|
33634
33733
|
{ page: r, pageSize: o, sortField: e, sortDirection: n, filters: a, search: u }
|
|
33635
33734
|
],
|
|
33636
|
-
queryFn: async () => a.length > 0 ?
|
|
33735
|
+
queryFn: async () => a.length > 0 ? nn(a, {
|
|
33637
33736
|
page: r,
|
|
33638
33737
|
pageSize: o,
|
|
33639
33738
|
sortField: e,
|
|
33640
33739
|
sortDirection: n
|
|
33641
|
-
}) :
|
|
33740
|
+
}) : en({
|
|
33642
33741
|
page: r,
|
|
33643
33742
|
pageSize: o,
|
|
33644
33743
|
sortField: e,
|
|
@@ -33657,12 +33756,12 @@ function is(i = {}) {
|
|
|
33657
33756
|
"table",
|
|
33658
33757
|
{ page: r + 1, pageSize: o, sortField: e, sortDirection: n, filters: a, search: u }
|
|
33659
33758
|
],
|
|
33660
|
-
queryFn: () => a.length > 0 ?
|
|
33759
|
+
queryFn: () => a.length > 0 ? nn(a, {
|
|
33661
33760
|
page: r + 1,
|
|
33662
33761
|
pageSize: o,
|
|
33663
33762
|
sortField: e,
|
|
33664
33763
|
sortDirection: n
|
|
33665
|
-
}) :
|
|
33764
|
+
}) : en({
|
|
33666
33765
|
page: r + 1,
|
|
33667
33766
|
pageSize: o,
|
|
33668
33767
|
sortField: e,
|
|
@@ -33693,16 +33792,16 @@ function is(i = {}) {
|
|
|
33693
33792
|
query: p
|
|
33694
33793
|
};
|
|
33695
33794
|
}
|
|
33696
|
-
function
|
|
33795
|
+
function os() {
|
|
33697
33796
|
const i = Be();
|
|
33698
33797
|
return {
|
|
33699
33798
|
invalidateAll: () => i.invalidateQueries({ queryKey: y1.all }),
|
|
33700
33799
|
invalidateLists: () => i.invalidateQueries({ queryKey: y1.lists() })
|
|
33701
33800
|
};
|
|
33702
33801
|
}
|
|
33703
|
-
function
|
|
33802
|
+
function as() {
|
|
33704
33803
|
const i = Be();
|
|
33705
|
-
return
|
|
33804
|
+
return zn({
|
|
33706
33805
|
mutationFn: ({ id: r, data: o }) => T0(r, o),
|
|
33707
33806
|
// Optimistic update: actualizar la UI antes de que el servidor responda
|
|
33708
33807
|
onMutate: async ({ id: r, data: o }) => {
|
|
@@ -33730,10 +33829,10 @@ function os() {
|
|
|
33730
33829
|
}
|
|
33731
33830
|
});
|
|
33732
33831
|
}
|
|
33733
|
-
function
|
|
33832
|
+
function us() {
|
|
33734
33833
|
const i = Be();
|
|
33735
|
-
return
|
|
33736
|
-
mutationFn: ({ id: r, nombre: o }) =>
|
|
33834
|
+
return zn({
|
|
33835
|
+
mutationFn: ({ id: r, nombre: o }) => F8(r, o),
|
|
33737
33836
|
// Optimistic update: actualizar la UI antes de que el servidor responda
|
|
33738
33837
|
onMutate: async ({ id: r, nombre: o }) => {
|
|
33739
33838
|
await i.cancelQueries({ queryKey: y1.all });
|
|
@@ -33760,7 +33859,7 @@ function as() {
|
|
|
33760
33859
|
}
|
|
33761
33860
|
});
|
|
33762
33861
|
}
|
|
33763
|
-
function
|
|
33862
|
+
function ls(i = {}) {
|
|
33764
33863
|
const {
|
|
33765
33864
|
initialPage: r = 1,
|
|
33766
33865
|
initialPageSize: o = 10,
|
|
@@ -33807,7 +33906,7 @@ function us(i = {}) {
|
|
|
33807
33906
|
reset: b
|
|
33808
33907
|
};
|
|
33809
33908
|
}
|
|
33810
|
-
function
|
|
33909
|
+
function ss(i, r) {
|
|
33811
33910
|
return c1(() => i.map((o) => {
|
|
33812
33911
|
const e = r.sortField === o.id, n = r.filters.some((a) => a.columnId === o.id);
|
|
33813
33912
|
return {
|
|
@@ -33817,7 +33916,7 @@ function ls(i, r) {
|
|
|
33817
33916
|
};
|
|
33818
33917
|
}), [i, r.sortField, r.sortDirection, r.filters]);
|
|
33819
33918
|
}
|
|
33820
|
-
function
|
|
33919
|
+
function cs(i, r = 300) {
|
|
33821
33920
|
const [o, e] = E(i);
|
|
33822
33921
|
return K(() => {
|
|
33823
33922
|
const n = setTimeout(() => {
|
|
@@ -33828,7 +33927,7 @@ function ss(i, r = 300) {
|
|
|
33828
33927
|
};
|
|
33829
33928
|
}, [i, r]), o;
|
|
33830
33929
|
}
|
|
33831
|
-
function
|
|
33930
|
+
function ds(i, r = 300) {
|
|
33832
33931
|
const [o, e] = E(null), n = ((...a) => {
|
|
33833
33932
|
o && clearTimeout(o);
|
|
33834
33933
|
const u = setTimeout(() => {
|
|
@@ -33840,7 +33939,7 @@ function cs(i, r = 300) {
|
|
|
33840
33939
|
o && clearTimeout(o);
|
|
33841
33940
|
}, [o]), n;
|
|
33842
33941
|
}
|
|
33843
|
-
function
|
|
33942
|
+
function ps({
|
|
33844
33943
|
children: i,
|
|
33845
33944
|
staleTime: r = 1e3 * 60 * 5,
|
|
33846
33945
|
// 5 minutos
|
|
@@ -33850,7 +33949,7 @@ function ds({
|
|
|
33850
33949
|
refetchOnWindowFocus: n = !0
|
|
33851
33950
|
}) {
|
|
33852
33951
|
const [a] = E(
|
|
33853
|
-
() => new
|
|
33952
|
+
() => new Fn({
|
|
33854
33953
|
defaultOptions: {
|
|
33855
33954
|
queries: {
|
|
33856
33955
|
staleTime: r,
|
|
@@ -33863,14 +33962,14 @@ function ds({
|
|
|
33863
33962
|
);
|
|
33864
33963
|
return /* @__PURE__ */ t(Nt, { client: a, children: i });
|
|
33865
33964
|
}
|
|
33866
|
-
function
|
|
33965
|
+
function Cs(i = {}) {
|
|
33867
33966
|
const {
|
|
33868
33967
|
staleTime: r = 1e3 * 60 * 5,
|
|
33869
33968
|
gcTime: o = 1e3 * 60 * 30,
|
|
33870
33969
|
retry: e = 3,
|
|
33871
33970
|
refetchOnWindowFocus: n = !0
|
|
33872
33971
|
} = i;
|
|
33873
|
-
return new
|
|
33972
|
+
return new Fn({
|
|
33874
33973
|
defaultOptions: {
|
|
33875
33974
|
queries: {
|
|
33876
33975
|
staleTime: r,
|
|
@@ -33881,7 +33980,7 @@ function ps(i = {}) {
|
|
|
33881
33980
|
}
|
|
33882
33981
|
});
|
|
33883
33982
|
}
|
|
33884
|
-
const
|
|
33983
|
+
const R8 = {
|
|
33885
33984
|
duration: 5e3,
|
|
33886
33985
|
maxToasts: 5,
|
|
33887
33986
|
position: "bottom-right",
|
|
@@ -33892,12 +33991,12 @@ const F8 = {
|
|
|
33892
33991
|
animationDuration: 300,
|
|
33893
33992
|
size: "sm"
|
|
33894
33993
|
};
|
|
33895
|
-
let Q1 = { ...
|
|
33896
|
-
const
|
|
33897
|
-
let
|
|
33994
|
+
let Q1 = { ...R8 };
|
|
33995
|
+
const qe = [];
|
|
33996
|
+
let _8 = 0;
|
|
33898
33997
|
const ke = /* @__PURE__ */ new Map(), B0 = {
|
|
33899
33998
|
show(i, r = "success", o = {}) {
|
|
33900
|
-
const e = Date.now() + ++
|
|
33999
|
+
const e = Date.now() + ++_8;
|
|
33901
34000
|
let n, a;
|
|
33902
34001
|
typeof i == "string" ? (n = i, a = o) : (n = i.message, a = { ...o, ...i });
|
|
33903
34002
|
const u = `${n}-${r}`, l = Date.now(), s = ke.get(u);
|
|
@@ -33923,7 +34022,7 @@ const ke = /* @__PURE__ */ new Map(), B0 = {
|
|
|
33923
34022
|
secondaryButtonText: a.secondaryButtonText ?? Q1.secondaryButtonText,
|
|
33924
34023
|
size: a.size ?? Q1.size
|
|
33925
34024
|
};
|
|
33926
|
-
return
|
|
34025
|
+
return qe.forEach((d) => d(p)), e;
|
|
33927
34026
|
},
|
|
33928
34027
|
success(i, r) {
|
|
33929
34028
|
return this.show(i, "success", r);
|
|
@@ -33938,7 +34037,7 @@ const ke = /* @__PURE__ */ new Map(), B0 = {
|
|
|
33938
34037
|
return this.show(i, "warning", r);
|
|
33939
34038
|
},
|
|
33940
34039
|
dismiss(i) {
|
|
33941
|
-
|
|
34040
|
+
qe.forEach(
|
|
33942
34041
|
(r) => r({
|
|
33943
34042
|
id: i,
|
|
33944
34043
|
message: "",
|
|
@@ -33955,9 +34054,9 @@ const ke = /* @__PURE__ */ new Map(), B0 = {
|
|
|
33955
34054
|
Object.assign(Q1, i);
|
|
33956
34055
|
},
|
|
33957
34056
|
getListeners() {
|
|
33958
|
-
return
|
|
34057
|
+
return qe;
|
|
33959
34058
|
}
|
|
33960
|
-
},
|
|
34059
|
+
}, q8 = () => {
|
|
33961
34060
|
const [i, r] = E([]), o = n1(/* @__PURE__ */ new Map()), e = n1(null);
|
|
33962
34061
|
return K(() => {
|
|
33963
34062
|
const a = B0.getListeners();
|
|
@@ -33991,7 +34090,7 @@ const ke = /* @__PURE__ */ new Map(), B0 = {
|
|
|
33991
34090
|
}, {}),
|
|
33992
34091
|
[i]
|
|
33993
34092
|
), toasts: i };
|
|
33994
|
-
},
|
|
34093
|
+
}, U8 = () => ({
|
|
33995
34094
|
getPositionClasses: (r) => ({
|
|
33996
34095
|
"top-left": "ui-fixed ui-top-5 ui-left-5",
|
|
33997
34096
|
"top-center": "ui-fixed ui-top-5 ui-left-1/2 ui--translate-x-1/2",
|
|
@@ -34003,7 +34102,7 @@ const ke = /* @__PURE__ */ new Map(), B0 = {
|
|
|
34003
34102
|
"bottom-center": "ui-fixed ui-bottom-5 ui-left-1/2 ui--translate-x-1/2",
|
|
34004
34103
|
"bottom-right": "ui-fixed ui-bottom-5 ui-right-5"
|
|
34005
34104
|
})[r]
|
|
34006
|
-
}),
|
|
34105
|
+
}), Y8 = ({ toastItem: i }) => {
|
|
34007
34106
|
const [r, o] = E(!0);
|
|
34008
34107
|
K(() => {
|
|
34009
34108
|
i.isLeaving && setTimeout(() => {
|
|
@@ -34011,10 +34110,10 @@ const ke = /* @__PURE__ */ new Map(), B0 = {
|
|
|
34011
34110
|
}, 300);
|
|
34012
34111
|
}, [i.isLeaving]);
|
|
34013
34112
|
const e = (n) => {
|
|
34014
|
-
n.stopPropagation(),
|
|
34113
|
+
n.stopPropagation(), Q8.dismiss(i.id || 0), i.onClose && i.onClose();
|
|
34015
34114
|
};
|
|
34016
34115
|
return r ? /* @__PURE__ */ t(
|
|
34017
|
-
|
|
34116
|
+
G4,
|
|
34018
34117
|
{
|
|
34019
34118
|
color: i.color || "success",
|
|
34020
34119
|
variant: i.variant || "accent",
|
|
@@ -34033,225 +34132,225 @@ const ke = /* @__PURE__ */ new Map(), B0 = {
|
|
|
34033
34132
|
size: i.size || "sm"
|
|
34034
34133
|
}
|
|
34035
34134
|
) : null;
|
|
34036
|
-
},
|
|
34037
|
-
const { getPositionClasses: r } =
|
|
34135
|
+
}, G8 = ({ toasts: i }) => {
|
|
34136
|
+
const { getPositionClasses: r } = U8();
|
|
34038
34137
|
return /* @__PURE__ */ t(B1, { children: Object.entries(i).map(([o, e]) => /* @__PURE__ */ t(
|
|
34039
34138
|
"div",
|
|
34040
34139
|
{
|
|
34041
34140
|
className: `${r(o)} ui-z-50 ui-max-w-[350px] ui-space-y-2`,
|
|
34042
|
-
children: e.map((n) => /* @__PURE__ */ t(
|
|
34141
|
+
children: e.map((n) => /* @__PURE__ */ t(Y8, { toastItem: n }, n.id))
|
|
34043
34142
|
},
|
|
34044
34143
|
o
|
|
34045
34144
|
)) });
|
|
34046
|
-
},
|
|
34047
|
-
const { toastsByPosition: i } =
|
|
34048
|
-
return xe(/* @__PURE__ */ t(
|
|
34145
|
+
}, Q8 = B0, hs = () => {
|
|
34146
|
+
const { toastsByPosition: i } = q8();
|
|
34147
|
+
return xe(/* @__PURE__ */ t(G8, { toasts: i }), document.body);
|
|
34049
34148
|
};
|
|
34050
34149
|
export {
|
|
34051
|
-
|
|
34150
|
+
hl as Accordion,
|
|
34052
34151
|
x0 as ActionsCell,
|
|
34053
|
-
|
|
34054
|
-
|
|
34055
|
-
|
|
34056
|
-
|
|
34057
|
-
|
|
34152
|
+
G4 as Alert,
|
|
34153
|
+
fl as AlertDialog,
|
|
34154
|
+
oe as Avatar,
|
|
34155
|
+
Au as AvatarsCell,
|
|
34156
|
+
_n as Badge,
|
|
34058
34157
|
Ze as BarProgress,
|
|
34059
34158
|
O1 as Button,
|
|
34060
|
-
|
|
34061
|
-
|
|
34062
|
-
|
|
34063
|
-
|
|
34159
|
+
Eu as ButtonCell,
|
|
34160
|
+
gl as ButtonGroup,
|
|
34161
|
+
ba as Calendar,
|
|
34162
|
+
wa as CalendarContent,
|
|
34064
34163
|
r0 as CalendarGrid,
|
|
34065
|
-
|
|
34164
|
+
ga as CalendarHeader,
|
|
34066
34165
|
J1 as Card,
|
|
34067
|
-
|
|
34068
|
-
|
|
34166
|
+
Ju as CellRenderer,
|
|
34167
|
+
_u as CheckboxCell,
|
|
34069
34168
|
j0 as DateCell,
|
|
34070
|
-
|
|
34169
|
+
ma as DateInput,
|
|
34071
34170
|
Ie as DatePicker,
|
|
34072
|
-
|
|
34073
|
-
|
|
34074
|
-
|
|
34171
|
+
xa as DatePickerPortal,
|
|
34172
|
+
pa as Day,
|
|
34173
|
+
Ll as Drawer,
|
|
34075
34174
|
F1 as Dropdown,
|
|
34076
|
-
|
|
34077
|
-
|
|
34078
|
-
|
|
34079
|
-
|
|
34080
|
-
|
|
34081
|
-
|
|
34082
|
-
|
|
34083
|
-
|
|
34084
|
-
|
|
34175
|
+
$u as DropdownCell,
|
|
34176
|
+
D4 as Emoji,
|
|
34177
|
+
Da as EmojiPicker,
|
|
34178
|
+
e8 as EmptyTableState,
|
|
34179
|
+
Ou as FilterCard,
|
|
34180
|
+
El as FilterForm,
|
|
34181
|
+
zl as FilterList,
|
|
34182
|
+
Il as Filters,
|
|
34183
|
+
Xu as HeaderCell,
|
|
34085
34184
|
g0 as HelperText,
|
|
34086
34185
|
p1 as Icon,
|
|
34087
|
-
|
|
34186
|
+
qu as IconCell,
|
|
34088
34187
|
u1 as InnerButton,
|
|
34089
34188
|
z1 as Input,
|
|
34090
|
-
|
|
34091
|
-
|
|
34092
|
-
|
|
34093
|
-
|
|
34094
|
-
|
|
34095
|
-
|
|
34096
|
-
|
|
34097
|
-
|
|
34098
|
-
|
|
34099
|
-
|
|
34189
|
+
We as LabelProgress,
|
|
34190
|
+
Ea as Lightbox,
|
|
34191
|
+
Du as LinkCell,
|
|
34192
|
+
wl as List,
|
|
34193
|
+
Ol as ListAlphabetic,
|
|
34194
|
+
Va as ListBase,
|
|
34195
|
+
bl as ListDefault,
|
|
34196
|
+
ja as ListEmpty,
|
|
34197
|
+
Sl as ListFilters,
|
|
34198
|
+
Nl as ListFiltersCheckbox,
|
|
34100
34199
|
f0 as ListHeader,
|
|
34101
34200
|
u0 as ListItem,
|
|
34102
34201
|
h0 as ListItemCheckbox,
|
|
34103
|
-
|
|
34202
|
+
ce as ListItemDefault,
|
|
34104
34203
|
s0 as ListItemRadio,
|
|
34105
34204
|
p0 as ListItemToggle,
|
|
34106
34205
|
C0 as ListItemUser,
|
|
34107
34206
|
l0 as ListItemWithCheckbox,
|
|
34108
34207
|
c0 as ListSearchInput,
|
|
34109
34208
|
X1 as ListSeparator,
|
|
34110
|
-
|
|
34111
|
-
|
|
34112
|
-
|
|
34113
|
-
|
|
34114
|
-
|
|
34115
|
-
|
|
34116
|
-
|
|
34117
|
-
|
|
34118
|
-
|
|
34119
|
-
|
|
34120
|
-
|
|
34209
|
+
Vl as ListUserList,
|
|
34210
|
+
kl as ListUserProfile,
|
|
34211
|
+
yl as ListUsersSelect,
|
|
34212
|
+
Hl as ListWithCheckbox,
|
|
34213
|
+
vl as ListWithRadio,
|
|
34214
|
+
xl as ListWithSeparator,
|
|
34215
|
+
jl as ListWithToggle,
|
|
34216
|
+
Dl as Logo,
|
|
34217
|
+
Hn as Modal,
|
|
34218
|
+
ia as ModalProvider,
|
|
34219
|
+
Ca as Month,
|
|
34121
34220
|
o0 as MonthGrid,
|
|
34122
|
-
|
|
34221
|
+
La as MultipleCalendarsHeader,
|
|
34123
34222
|
Ne as NavigationButton,
|
|
34124
|
-
|
|
34125
|
-
|
|
34223
|
+
iu as PROGRESS_COLOR_MAP,
|
|
34224
|
+
Ra as Pagination,
|
|
34126
34225
|
ve as Popup,
|
|
34127
34226
|
w0 as PrimaryCell,
|
|
34128
|
-
|
|
34129
|
-
|
|
34130
|
-
|
|
34131
|
-
|
|
34132
|
-
|
|
34227
|
+
su as ProgressBar,
|
|
34228
|
+
zu as ProgressBarCell,
|
|
34229
|
+
hu as RadioButton,
|
|
34230
|
+
Bl as RadioButtonGroup,
|
|
34231
|
+
Al as Rating,
|
|
34133
34232
|
M0 as SelectionCheckbox,
|
|
34134
34233
|
q1 as Separator,
|
|
34135
|
-
|
|
34234
|
+
Pl as Skeleton,
|
|
34136
34235
|
v0 as SkeletonCell,
|
|
34137
|
-
|
|
34138
|
-
|
|
34139
|
-
|
|
34236
|
+
Wu as SkeletonRow,
|
|
34237
|
+
Tl as Spinner,
|
|
34238
|
+
Uu as StarsCell,
|
|
34140
34239
|
b0 as StatusCell,
|
|
34141
|
-
|
|
34142
|
-
|
|
34143
|
-
|
|
34144
|
-
|
|
34145
|
-
|
|
34146
|
-
|
|
34147
|
-
|
|
34148
|
-
|
|
34149
|
-
|
|
34150
|
-
|
|
34151
|
-
|
|
34240
|
+
wu as StepConnector,
|
|
34241
|
+
mu as StepIcon,
|
|
34242
|
+
bu as StepItem,
|
|
34243
|
+
Lu as StepLabel,
|
|
34244
|
+
$l as Stepper,
|
|
34245
|
+
ze as StoryBox,
|
|
34246
|
+
A8 as StrapiApiError,
|
|
34247
|
+
ra as Switch,
|
|
34248
|
+
Ml as TOGGLE_DESIGN_TOKENS,
|
|
34249
|
+
Yl as Table,
|
|
34250
|
+
n8 as TableBody,
|
|
34152
34251
|
L0 as TableCell,
|
|
34153
|
-
|
|
34154
|
-
|
|
34155
|
-
|
|
34252
|
+
t8 as TableContent,
|
|
34253
|
+
Ku as TableHeader,
|
|
34254
|
+
ps as TableQueryProvider,
|
|
34156
34255
|
V0 as TableRow,
|
|
34157
|
-
|
|
34158
|
-
|
|
34256
|
+
i8 as TableSelectionBar,
|
|
34257
|
+
Iu as TableToolbar,
|
|
34159
34258
|
Ce as Tag,
|
|
34160
34259
|
y0 as TagsCell,
|
|
34161
|
-
|
|
34162
|
-
|
|
34163
|
-
|
|
34164
|
-
|
|
34260
|
+
Pu as TextFieldCell,
|
|
34261
|
+
Ba as Textarea,
|
|
34262
|
+
fn as Title,
|
|
34263
|
+
hs as Toaster,
|
|
34165
34264
|
d0 as Toggle,
|
|
34166
|
-
|
|
34265
|
+
Je as Tooltip,
|
|
34167
34266
|
K1 as Visual,
|
|
34168
|
-
|
|
34169
|
-
|
|
34170
|
-
|
|
34267
|
+
fa as WeekDay,
|
|
34268
|
+
Zl as Wysiwyg,
|
|
34269
|
+
ha as Year,
|
|
34171
34270
|
a0 as YearGrid,
|
|
34172
|
-
|
|
34271
|
+
T8 as advancedFilterToTeamFilter,
|
|
34173
34272
|
I0 as buildStrapiQueryString,
|
|
34174
34273
|
N as cn,
|
|
34175
|
-
|
|
34176
|
-
|
|
34177
|
-
|
|
34274
|
+
Kl as configureStrapiClient,
|
|
34275
|
+
B8 as convertAdvancedFiltersToStrapi,
|
|
34276
|
+
Tn as convertFilterToStrapi,
|
|
34178
34277
|
N0 as convertFiltersToStrapiQuery,
|
|
34179
|
-
|
|
34180
|
-
|
|
34181
|
-
|
|
34182
|
-
|
|
34183
|
-
|
|
34184
|
-
|
|
34185
|
-
|
|
34186
|
-
|
|
34187
|
-
|
|
34188
|
-
|
|
34189
|
-
|
|
34278
|
+
Xl as createNormalizer,
|
|
34279
|
+
Cs as createTableQueryClient,
|
|
34280
|
+
en as fetchTeams,
|
|
34281
|
+
E8 as fetchTeamsRaw,
|
|
34282
|
+
nn as fetchTeamsWithAdvancedFilters,
|
|
34283
|
+
V8 as filterRows,
|
|
34284
|
+
dl as findItemIndex,
|
|
34285
|
+
Gu as formatDate,
|
|
34286
|
+
Ul as getLockedColumns,
|
|
34287
|
+
P8 as getStrapiConfig,
|
|
34288
|
+
ql as getVisibleColumns,
|
|
34190
34289
|
H0 as isAllSelected,
|
|
34191
|
-
|
|
34192
|
-
|
|
34193
|
-
|
|
34194
|
-
|
|
34290
|
+
l8 as isSomeSelected,
|
|
34291
|
+
Wl as isStrapiConfigured,
|
|
34292
|
+
pu as labelVariants,
|
|
34293
|
+
cl as moveItem,
|
|
34195
34294
|
k0 as normalizeStrapiList,
|
|
34196
|
-
|
|
34295
|
+
O8 as normalizeStrаpiItem,
|
|
34197
34296
|
S0 as normalizeTeamsResponse,
|
|
34198
|
-
|
|
34199
|
-
|
|
34200
|
-
|
|
34201
|
-
|
|
34202
|
-
|
|
34203
|
-
|
|
34204
|
-
|
|
34205
|
-
|
|
34206
|
-
|
|
34207
|
-
|
|
34208
|
-
|
|
34209
|
-
|
|
34210
|
-
|
|
34297
|
+
Yu as parseDate,
|
|
34298
|
+
du as radioButtonVariants,
|
|
34299
|
+
cn as reorder,
|
|
34300
|
+
c8 as reorderColumns,
|
|
34301
|
+
_l as resetColumns,
|
|
34302
|
+
h8 as resizeColumn,
|
|
34303
|
+
k8 as searchRows,
|
|
34304
|
+
Fl as selectAllRows,
|
|
34305
|
+
Rl as selectRange,
|
|
34306
|
+
p8 as setColumnVisibility,
|
|
34307
|
+
r8 as sortRows,
|
|
34308
|
+
Fe as strapiClient,
|
|
34309
|
+
ns as strapiDelete,
|
|
34211
34310
|
D0 as strapiGet,
|
|
34212
|
-
|
|
34213
|
-
|
|
34311
|
+
es as strapiPost,
|
|
34312
|
+
$8 as strapiPut,
|
|
34214
34313
|
y1 as teamsQueryKeys,
|
|
34215
|
-
|
|
34216
|
-
|
|
34217
|
-
|
|
34218
|
-
|
|
34219
|
-
|
|
34220
|
-
|
|
34221
|
-
|
|
34314
|
+
pl as throttle,
|
|
34315
|
+
Cl as throttleWithTrailing,
|
|
34316
|
+
Q8 as toast,
|
|
34317
|
+
C8 as toggleColumnLock,
|
|
34318
|
+
d8 as toggleColumnVisibility,
|
|
34319
|
+
u8 as toggleRowSelection,
|
|
34320
|
+
o8 as toggleSortDirection,
|
|
34222
34321
|
O0 as transformTeamAttributes,
|
|
34223
34322
|
T0 as updateTeam,
|
|
34224
|
-
|
|
34225
|
-
|
|
34226
|
-
|
|
34227
|
-
|
|
34228
|
-
|
|
34323
|
+
F8 as updateTeamName,
|
|
34324
|
+
Ee as useCalendar,
|
|
34325
|
+
ss as useColumnsWithQueryState,
|
|
34326
|
+
ml as useDateInput,
|
|
34327
|
+
ca as useDatePicker,
|
|
34229
34328
|
i0 as useDateRange,
|
|
34230
|
-
|
|
34231
|
-
|
|
34232
|
-
|
|
34233
|
-
|
|
34234
|
-
|
|
34235
|
-
|
|
34236
|
-
|
|
34237
|
-
|
|
34238
|
-
|
|
34239
|
-
|
|
34240
|
-
|
|
34241
|
-
|
|
34242
|
-
|
|
34243
|
-
|
|
34244
|
-
|
|
34245
|
-
|
|
34246
|
-
|
|
34247
|
-
|
|
34248
|
-
|
|
34249
|
-
|
|
34250
|
-
|
|
34251
|
-
|
|
34252
|
-
|
|
34253
|
-
|
|
34254
|
-
|
|
34255
|
-
|
|
34329
|
+
ds as useDebouncedCallback,
|
|
34330
|
+
cs as useDebouncedValue,
|
|
34331
|
+
os as useInvalidateTeams,
|
|
34332
|
+
$a as useLightbox,
|
|
34333
|
+
pn as useModalContext,
|
|
34334
|
+
da as usePortal,
|
|
34335
|
+
Cu as useRadioButton,
|
|
34336
|
+
fu as useRadioButtonGroup,
|
|
34337
|
+
gu as useStepper,
|
|
34338
|
+
f8 as useTableColumns,
|
|
34339
|
+
Jl as useTableData,
|
|
34340
|
+
w8 as useTableEdit,
|
|
34341
|
+
g8 as useTableExpand,
|
|
34342
|
+
Gl as useTableFilter,
|
|
34343
|
+
m8 as useTableFocus,
|
|
34344
|
+
Ql as useTablePagination,
|
|
34345
|
+
ls as useTableQueryState,
|
|
34346
|
+
s8 as useTableSelection,
|
|
34347
|
+
a8 as useTableSort,
|
|
34348
|
+
ts as useTeams,
|
|
34349
|
+
rs as useTeamsTable,
|
|
34350
|
+
is as useTeamsWithFilters,
|
|
34351
|
+
ya as useToggle,
|
|
34352
|
+
as as useUpdateTeam,
|
|
34353
|
+
us as useUpdateTeamName,
|
|
34354
|
+
Pa as useWysiwyg
|
|
34256
34355
|
};
|
|
34257
34356
|
//# sourceMappingURL=index.esm.js.map
|