@imj_media/ui 1.2.27 → 1.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.esm.js +918 -921
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/modules/Alert/components/atoms/AlertHeader.d.ts.map +1 -1
- package/dist/modules/Alert/utils/alert.d.ts.map +1 -1
- package/dist/modules/Toast/stories/toast.stories.d.ts +1 -0
- package/dist/modules/Toast/stories/toast.stories.d.ts.map +1 -1
- package/dist/modules/Toolbar/components/organisms/Toolbar.d.ts.map +1 -1
- package/dist/modules/Toolbar/stories/Toolbar.stories.d.ts +4 -0
- package/dist/modules/Toolbar/stories/Toolbar.stories.d.ts.map +1 -1
- package/dist/modules/Toolbar/types/index.d.ts +32 -8
- package/dist/modules/Toolbar/types/index.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -6,15 +6,15 @@ import { FontAwesomeIcon as Tn } from "@fortawesome/react-fontawesome";
|
|
|
6
6
|
import { cva as Te } from "class-variance-authority";
|
|
7
7
|
import { faBell as Si, faGripDotsVertical as Ni, faTrash as Ii, faEye as Di, faUser as Ti, faArrowUpRight as E1 } from "@fortawesome/pro-solid-svg-icons";
|
|
8
8
|
import _1, { createPortal as d1 } from "react-dom";
|
|
9
|
-
import { faChevronUp as nt, faChevronDown as wn, faCircleInfo as Bn, faShapes as Bi, faExclamationTriangle as Zi, faLightEmergencyOn as Ei, faCircleCheck as
|
|
10
|
-
import
|
|
11
|
-
import { Prism as
|
|
12
|
-
import { dark as
|
|
13
|
-
import { useQuery as yn, useQueryClient as Q1, keepPreviousData as
|
|
9
|
+
import { faChevronUp as nt, faChevronDown as wn, faCircleInfo as Bn, faShapes as Bi, faExclamationTriangle as Zi, faLightEmergencyOn as Ei, faCircleCheck as Pi, faXmark as c1, faInfoCircle as $i, faArrowUpRightAndArrowDownLeftFromCenter as un, faAngleLeft as xn, faAngleRight as vn, faAngleDown as tt, faCalendar as it, faGripDotsVertical as Ai, faClock as zi, faFaceSmile as Fi, faDog as Ri, faLemon as _i, faFutbol as qi, faCarSide as Ui, faLightbulb as Yi, faHeart as Gi, faFlag as Ki, faFile as Ji, faAngleDoubleLeft as Qi, faAngleDoubleRight as Xi, faListUl as Wi, faHashtag as er, faText as nr, faFilter as D1, faPlus as tr, faBroomWide as ir, faCheck as rr, faGears as or, faEllipsis as ar, faTrash as rt, faEdit as ln, faLock as ur, faUnlock as sr, faArrowDownArrowUp as Zn, faArrowUp as lr, faArrowDown as cr, faChevronRight as ot, faEmptySet as dr, faSearch as pr, faSave as En, faPaperPlane as fr, faArrowLeft as hr, faArrowRightToBracket as gr, faTableLayout as Cr, faFolderOpen as mr, faChevronLeft as Lr } from "@fortawesome/pro-regular-svg-icons";
|
|
10
|
+
import br from "lottie-react";
|
|
11
|
+
import { Prism as wr } from "react-syntax-highlighter";
|
|
12
|
+
import { dark as xr, prism as vr, materialLight as yr, materialDark as Mr, atomDark as jr, oneLight as kr, oneDark as Vr, tomorrow as Hr, dracula as Or } from "react-syntax-highlighter/dist/esm/styles/prism";
|
|
13
|
+
import { useQuery as yn, useQueryClient as Q1, keepPreviousData as Sr, useMutation as at, QueryClient as ut, QueryClientProvider as Nr } from "@tanstack/react-query";
|
|
14
14
|
function S(...i) {
|
|
15
15
|
return Oi(Hi(i));
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const P1 = {
|
|
18
18
|
tertiary: "var(--ui-color-icon-tertiary-default)",
|
|
19
19
|
blue_soft: "var(--ui-color-icon-all-colors-blue)",
|
|
20
20
|
blue: "var(--ui-color-icon-all-colors-blue)",
|
|
@@ -35,7 +35,7 @@ const $1 = {
|
|
|
35
35
|
success: "var(--ui-color-icon-success-default)",
|
|
36
36
|
warning: "var(--ui-color-icon-warning-default)",
|
|
37
37
|
info: "var(--ui-color-icon-info-default)"
|
|
38
|
-
},
|
|
38
|
+
}, Ir = {
|
|
39
39
|
none: 0,
|
|
40
40
|
xs: 10,
|
|
41
41
|
sm: 16,
|
|
@@ -57,7 +57,7 @@ const $1 = {
|
|
|
57
57
|
xl: "ui-p-20",
|
|
58
58
|
"2xl": "ui-p-24"
|
|
59
59
|
};
|
|
60
|
-
function
|
|
60
|
+
function Dr({
|
|
61
61
|
width: i = 24,
|
|
62
62
|
height: r = 24,
|
|
63
63
|
fill: o = "none",
|
|
@@ -145,7 +145,7 @@ function D0({
|
|
|
145
145
|
}
|
|
146
146
|
);
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Tr({
|
|
149
149
|
width: i = 24,
|
|
150
150
|
height: r = 24,
|
|
151
151
|
fill: o = "none",
|
|
@@ -173,7 +173,7 @@ function T0({
|
|
|
173
173
|
}
|
|
174
174
|
);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function Br({
|
|
177
177
|
width: i = 24,
|
|
178
178
|
height: r = 24,
|
|
179
179
|
fill: o = "none",
|
|
@@ -233,7 +233,7 @@ function B0({
|
|
|
233
233
|
}
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Zr({
|
|
237
237
|
width: i = 24,
|
|
238
238
|
height: r = 24,
|
|
239
239
|
fill: o = "none",
|
|
@@ -314,7 +314,7 @@ function Z0({
|
|
|
314
314
|
}
|
|
315
315
|
);
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function Er({
|
|
318
318
|
width: i = 24,
|
|
319
319
|
height: r = 24,
|
|
320
320
|
fill: o = "none",
|
|
@@ -364,7 +364,7 @@ function E0({
|
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function Pr({
|
|
368
368
|
width: i = 24,
|
|
369
369
|
height: r = 24,
|
|
370
370
|
fill: o = "none",
|
|
@@ -392,7 +392,7 @@ function $0({
|
|
|
392
392
|
}
|
|
393
393
|
);
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function $r({
|
|
396
396
|
width: i = 24,
|
|
397
397
|
height: r = 24,
|
|
398
398
|
fill: o = "none",
|
|
@@ -431,7 +431,7 @@ function P0({
|
|
|
431
431
|
}
|
|
432
432
|
);
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function Ar({
|
|
435
435
|
width: i = 24,
|
|
436
436
|
height: r = 24,
|
|
437
437
|
fill: o = "none",
|
|
@@ -491,7 +491,7 @@ function A0({
|
|
|
491
491
|
}
|
|
492
492
|
);
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function zr({
|
|
495
495
|
width: i = 24,
|
|
496
496
|
height: r = 24,
|
|
497
497
|
fill: o = "none",
|
|
@@ -531,7 +531,7 @@ function z0({
|
|
|
531
531
|
}
|
|
532
532
|
);
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function Fr({
|
|
535
535
|
width: i = 24,
|
|
536
536
|
height: r = 24,
|
|
537
537
|
fill: o = "none",
|
|
@@ -571,7 +571,7 @@ function F0({
|
|
|
571
571
|
}
|
|
572
572
|
);
|
|
573
573
|
}
|
|
574
|
-
function
|
|
574
|
+
function Rr({
|
|
575
575
|
width: i = 24,
|
|
576
576
|
height: r = 24,
|
|
577
577
|
fill: o = "none",
|
|
@@ -611,7 +611,7 @@ function R0({
|
|
|
611
611
|
}
|
|
612
612
|
);
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function _r({
|
|
615
615
|
width: i = 24,
|
|
616
616
|
height: r = 24,
|
|
617
617
|
fill: o = "none",
|
|
@@ -639,7 +639,7 @@ function _0({
|
|
|
639
639
|
}
|
|
640
640
|
);
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function qr({
|
|
643
643
|
width: i = 24,
|
|
644
644
|
height: r = 24,
|
|
645
645
|
fill: o = "none",
|
|
@@ -694,7 +694,7 @@ function q0({
|
|
|
694
694
|
}
|
|
695
695
|
);
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function Ur({
|
|
698
698
|
width: i = 24,
|
|
699
699
|
height: r = 24,
|
|
700
700
|
fill: o = "none",
|
|
@@ -732,7 +732,7 @@ function U0({
|
|
|
732
732
|
}
|
|
733
733
|
);
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Yr({
|
|
736
736
|
width: i = 24,
|
|
737
737
|
height: r = 24,
|
|
738
738
|
fill: o = "none",
|
|
@@ -870,7 +870,7 @@ function Y0({
|
|
|
870
870
|
}
|
|
871
871
|
);
|
|
872
872
|
}
|
|
873
|
-
function
|
|
873
|
+
function Gr({
|
|
874
874
|
width: i = 24,
|
|
875
875
|
height: r = 24,
|
|
876
876
|
fill: o = "none",
|
|
@@ -919,7 +919,7 @@ function G0({
|
|
|
919
919
|
}
|
|
920
920
|
);
|
|
921
921
|
}
|
|
922
|
-
function
|
|
922
|
+
function Kr({
|
|
923
923
|
width: i = 24,
|
|
924
924
|
height: r = 24,
|
|
925
925
|
fill: o = "none",
|
|
@@ -950,7 +950,7 @@ function K0({
|
|
|
950
950
|
}
|
|
951
951
|
);
|
|
952
952
|
}
|
|
953
|
-
function
|
|
953
|
+
function Jr({
|
|
954
954
|
width: i = 24,
|
|
955
955
|
height: r = 24,
|
|
956
956
|
fill: o = "none",
|
|
@@ -1032,7 +1032,7 @@ function J0({
|
|
|
1032
1032
|
}
|
|
1033
1033
|
);
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1035
|
+
function Qr({
|
|
1036
1036
|
width: i = 24,
|
|
1037
1037
|
height: r = 24,
|
|
1038
1038
|
fill: o = "none",
|
|
@@ -1081,7 +1081,7 @@ function Q0({
|
|
|
1081
1081
|
}
|
|
1082
1082
|
);
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function Xr({
|
|
1085
1085
|
width: i = 24,
|
|
1086
1086
|
height: r = 24,
|
|
1087
1087
|
fill: o = "none",
|
|
@@ -1121,7 +1121,7 @@ function X0({
|
|
|
1121
1121
|
}
|
|
1122
1122
|
);
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function Wr({
|
|
1125
1125
|
width: i = 24,
|
|
1126
1126
|
height: r = 24,
|
|
1127
1127
|
fill: o = "none",
|
|
@@ -1191,7 +1191,7 @@ function W0({
|
|
|
1191
1191
|
}
|
|
1192
1192
|
);
|
|
1193
1193
|
}
|
|
1194
|
-
function
|
|
1194
|
+
function e0({
|
|
1195
1195
|
width: i = 24,
|
|
1196
1196
|
height: r = 24,
|
|
1197
1197
|
fill: o = "none",
|
|
@@ -1245,7 +1245,7 @@ function er({
|
|
|
1245
1245
|
}
|
|
1246
1246
|
);
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1248
|
+
function n0({
|
|
1249
1249
|
width: i = 24,
|
|
1250
1250
|
height: r = 24,
|
|
1251
1251
|
fill: o = "none",
|
|
@@ -1325,7 +1325,7 @@ function nr({
|
|
|
1325
1325
|
}
|
|
1326
1326
|
);
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function t0({
|
|
1329
1329
|
width: i = 24,
|
|
1330
1330
|
height: r = 24,
|
|
1331
1331
|
fill: o = "none",
|
|
@@ -1353,7 +1353,7 @@ function tr({
|
|
|
1353
1353
|
}
|
|
1354
1354
|
);
|
|
1355
1355
|
}
|
|
1356
|
-
function
|
|
1356
|
+
function i0({
|
|
1357
1357
|
width: i = 24,
|
|
1358
1358
|
height: r = 24,
|
|
1359
1359
|
fill: o = "none",
|
|
@@ -1493,7 +1493,7 @@ function ir({
|
|
|
1493
1493
|
}
|
|
1494
1494
|
);
|
|
1495
1495
|
}
|
|
1496
|
-
function
|
|
1496
|
+
function r0({
|
|
1497
1497
|
width: i = 24,
|
|
1498
1498
|
height: r = 24,
|
|
1499
1499
|
fill: o = "none",
|
|
@@ -1533,7 +1533,7 @@ function rr({
|
|
|
1533
1533
|
}
|
|
1534
1534
|
);
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1536
|
+
function o0({
|
|
1537
1537
|
width: i = 24,
|
|
1538
1538
|
height: r = 24,
|
|
1539
1539
|
fill: o = "none",
|
|
@@ -1633,7 +1633,7 @@ function or({
|
|
|
1633
1633
|
}
|
|
1634
1634
|
);
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1636
|
+
function a0({
|
|
1637
1637
|
width: i = 24,
|
|
1638
1638
|
height: r = 24,
|
|
1639
1639
|
fill: o = "none",
|
|
@@ -1660,7 +1660,7 @@ function ar({
|
|
|
1660
1660
|
}
|
|
1661
1661
|
);
|
|
1662
1662
|
}
|
|
1663
|
-
function
|
|
1663
|
+
function u0({
|
|
1664
1664
|
width: i = 24,
|
|
1665
1665
|
height: r = 24,
|
|
1666
1666
|
fill: o = "none",
|
|
@@ -1688,7 +1688,7 @@ function ur({
|
|
|
1688
1688
|
}
|
|
1689
1689
|
);
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1691
|
+
function s0({
|
|
1692
1692
|
width: i = 24,
|
|
1693
1693
|
height: r = 24,
|
|
1694
1694
|
fill: o = "none",
|
|
@@ -1758,7 +1758,7 @@ function sr({
|
|
|
1758
1758
|
}
|
|
1759
1759
|
);
|
|
1760
1760
|
}
|
|
1761
|
-
function
|
|
1761
|
+
function l0({
|
|
1762
1762
|
width: i = 24,
|
|
1763
1763
|
height: r = 24,
|
|
1764
1764
|
fill: o = "none",
|
|
@@ -1847,7 +1847,7 @@ function lr({
|
|
|
1847
1847
|
}
|
|
1848
1848
|
);
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function c0({
|
|
1851
1851
|
width: i = 24,
|
|
1852
1852
|
height: r = 24,
|
|
1853
1853
|
fill: o = "none",
|
|
@@ -1887,7 +1887,7 @@ function cr({
|
|
|
1887
1887
|
}
|
|
1888
1888
|
);
|
|
1889
1889
|
}
|
|
1890
|
-
function
|
|
1890
|
+
function d0({
|
|
1891
1891
|
width: i = 24,
|
|
1892
1892
|
height: r = 24,
|
|
1893
1893
|
fill: o = "none",
|
|
@@ -1975,7 +1975,7 @@ function dr({
|
|
|
1975
1975
|
}
|
|
1976
1976
|
);
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function p0({
|
|
1979
1979
|
width: i = 24,
|
|
1980
1980
|
height: r = 24,
|
|
1981
1981
|
fill: o = "none",
|
|
@@ -2070,7 +2070,7 @@ function pr({
|
|
|
2070
2070
|
}
|
|
2071
2071
|
);
|
|
2072
2072
|
}
|
|
2073
|
-
function
|
|
2073
|
+
function f0({
|
|
2074
2074
|
width: i = 24,
|
|
2075
2075
|
height: r = 24,
|
|
2076
2076
|
fill: o = "none",
|
|
@@ -2139,7 +2139,7 @@ function fr({
|
|
|
2139
2139
|
}
|
|
2140
2140
|
);
|
|
2141
2141
|
}
|
|
2142
|
-
function
|
|
2142
|
+
function h0({
|
|
2143
2143
|
width: i = 24,
|
|
2144
2144
|
height: r = 24,
|
|
2145
2145
|
fill: o = "none",
|
|
@@ -2189,7 +2189,7 @@ function hr({
|
|
|
2189
2189
|
}
|
|
2190
2190
|
);
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2192
|
+
function g0({
|
|
2193
2193
|
width: i = 24,
|
|
2194
2194
|
height: r = 24,
|
|
2195
2195
|
fill: o = "none",
|
|
@@ -2269,7 +2269,7 @@ function gr({
|
|
|
2269
2269
|
}
|
|
2270
2270
|
);
|
|
2271
2271
|
}
|
|
2272
|
-
function
|
|
2272
|
+
function C0({
|
|
2273
2273
|
width: i = 24,
|
|
2274
2274
|
height: r = 24,
|
|
2275
2275
|
fill: o = "none",
|
|
@@ -2329,7 +2329,7 @@ function Cr({
|
|
|
2329
2329
|
}
|
|
2330
2330
|
);
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2332
|
+
function m0({
|
|
2333
2333
|
width: i = 24,
|
|
2334
2334
|
height: r = 24,
|
|
2335
2335
|
fill: o = "none",
|
|
@@ -2369,7 +2369,7 @@ function mr({
|
|
|
2369
2369
|
}
|
|
2370
2370
|
);
|
|
2371
2371
|
}
|
|
2372
|
-
function
|
|
2372
|
+
function L0({
|
|
2373
2373
|
width: i = 24,
|
|
2374
2374
|
height: r = 24,
|
|
2375
2375
|
fill: o = "none",
|
|
@@ -2409,7 +2409,7 @@ function Lr({
|
|
|
2409
2409
|
}
|
|
2410
2410
|
);
|
|
2411
2411
|
}
|
|
2412
|
-
function
|
|
2412
|
+
function b0({
|
|
2413
2413
|
width: i = 24,
|
|
2414
2414
|
height: r = 24,
|
|
2415
2415
|
fill: o = "none",
|
|
@@ -2479,7 +2479,7 @@ function br({
|
|
|
2479
2479
|
}
|
|
2480
2480
|
);
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2482
|
+
function w0({
|
|
2483
2483
|
width: i = 24,
|
|
2484
2484
|
height: r = 24,
|
|
2485
2485
|
fill: o = "none",
|
|
@@ -2519,7 +2519,7 @@ function wr({
|
|
|
2519
2519
|
}
|
|
2520
2520
|
);
|
|
2521
2521
|
}
|
|
2522
|
-
function
|
|
2522
|
+
function x0({
|
|
2523
2523
|
width: i = 24,
|
|
2524
2524
|
height: r = 24,
|
|
2525
2525
|
fill: o = "none",
|
|
@@ -2589,7 +2589,7 @@ function xr({
|
|
|
2589
2589
|
}
|
|
2590
2590
|
);
|
|
2591
2591
|
}
|
|
2592
|
-
function
|
|
2592
|
+
function v0({
|
|
2593
2593
|
width: i = 24,
|
|
2594
2594
|
height: r = 24,
|
|
2595
2595
|
fill: o = "none",
|
|
@@ -2659,7 +2659,7 @@ function vr({
|
|
|
2659
2659
|
}
|
|
2660
2660
|
);
|
|
2661
2661
|
}
|
|
2662
|
-
function
|
|
2662
|
+
function y0({
|
|
2663
2663
|
width: i = 24,
|
|
2664
2664
|
height: r = 24,
|
|
2665
2665
|
fill: o = "none",
|
|
@@ -2729,7 +2729,7 @@ function yr({
|
|
|
2729
2729
|
}
|
|
2730
2730
|
);
|
|
2731
2731
|
}
|
|
2732
|
-
function
|
|
2732
|
+
function M0({
|
|
2733
2733
|
width: i = 24,
|
|
2734
2734
|
height: r = 24,
|
|
2735
2735
|
fill: o = "none",
|
|
@@ -2769,7 +2769,7 @@ function Mr({
|
|
|
2769
2769
|
}
|
|
2770
2770
|
);
|
|
2771
2771
|
}
|
|
2772
|
-
function
|
|
2772
|
+
function j0({
|
|
2773
2773
|
width: i = 24,
|
|
2774
2774
|
height: r = 24,
|
|
2775
2775
|
fill: o = "none",
|
|
@@ -2797,7 +2797,7 @@ function jr({
|
|
|
2797
2797
|
}
|
|
2798
2798
|
);
|
|
2799
2799
|
}
|
|
2800
|
-
function
|
|
2800
|
+
function k0({
|
|
2801
2801
|
width: i = 24,
|
|
2802
2802
|
height: r = 24,
|
|
2803
2803
|
fill: o = "none",
|
|
@@ -2837,7 +2837,7 @@ function kr({
|
|
|
2837
2837
|
}
|
|
2838
2838
|
);
|
|
2839
2839
|
}
|
|
2840
|
-
function
|
|
2840
|
+
function V0({
|
|
2841
2841
|
width: i = 24,
|
|
2842
2842
|
height: r = 24,
|
|
2843
2843
|
fill: o = "none",
|
|
@@ -2906,7 +2906,7 @@ function Vr({
|
|
|
2906
2906
|
}
|
|
2907
2907
|
);
|
|
2908
2908
|
}
|
|
2909
|
-
function
|
|
2909
|
+
function H0({
|
|
2910
2910
|
width: i = 24,
|
|
2911
2911
|
height: r = 24,
|
|
2912
2912
|
fill: o = "none",
|
|
@@ -2986,7 +2986,7 @@ function Hr({
|
|
|
2986
2986
|
}
|
|
2987
2987
|
);
|
|
2988
2988
|
}
|
|
2989
|
-
function
|
|
2989
|
+
function O0({
|
|
2990
2990
|
width: i = 24,
|
|
2991
2991
|
height: r = 24,
|
|
2992
2992
|
fill: o = "none",
|
|
@@ -3064,7 +3064,7 @@ function Or({
|
|
|
3064
3064
|
}
|
|
3065
3065
|
);
|
|
3066
3066
|
}
|
|
3067
|
-
function
|
|
3067
|
+
function S0({
|
|
3068
3068
|
width: i = 24,
|
|
3069
3069
|
height: r = 24,
|
|
3070
3070
|
fill: o = "none",
|
|
@@ -3144,7 +3144,7 @@ function Sr({
|
|
|
3144
3144
|
}
|
|
3145
3145
|
);
|
|
3146
3146
|
}
|
|
3147
|
-
function
|
|
3147
|
+
function N0({
|
|
3148
3148
|
width: i = 24,
|
|
3149
3149
|
height: r = 24,
|
|
3150
3150
|
fill: o = "none",
|
|
@@ -3194,7 +3194,7 @@ function Nr({
|
|
|
3194
3194
|
}
|
|
3195
3195
|
);
|
|
3196
3196
|
}
|
|
3197
|
-
function
|
|
3197
|
+
function I0({
|
|
3198
3198
|
width: i = 24,
|
|
3199
3199
|
height: r = 24,
|
|
3200
3200
|
fill: o = "none",
|
|
@@ -3244,7 +3244,7 @@ function Ir({
|
|
|
3244
3244
|
}
|
|
3245
3245
|
);
|
|
3246
3246
|
}
|
|
3247
|
-
function
|
|
3247
|
+
function D0({
|
|
3248
3248
|
width: i = 24,
|
|
3249
3249
|
height: r = 24,
|
|
3250
3250
|
fill: o = "none",
|
|
@@ -3304,7 +3304,7 @@ function Dr({
|
|
|
3304
3304
|
}
|
|
3305
3305
|
);
|
|
3306
3306
|
}
|
|
3307
|
-
function
|
|
3307
|
+
function T0({
|
|
3308
3308
|
width: i = 24,
|
|
3309
3309
|
height: r = 24,
|
|
3310
3310
|
fill: o = "none",
|
|
@@ -3344,7 +3344,7 @@ function Tr({
|
|
|
3344
3344
|
}
|
|
3345
3345
|
);
|
|
3346
3346
|
}
|
|
3347
|
-
function
|
|
3347
|
+
function B0({
|
|
3348
3348
|
width: i = 24,
|
|
3349
3349
|
height: r = 24,
|
|
3350
3350
|
fill: o = "none",
|
|
@@ -3414,7 +3414,7 @@ function Br({
|
|
|
3414
3414
|
}
|
|
3415
3415
|
);
|
|
3416
3416
|
}
|
|
3417
|
-
function
|
|
3417
|
+
function Z0({
|
|
3418
3418
|
width: i = 24,
|
|
3419
3419
|
height: r = 24,
|
|
3420
3420
|
fill: o = "none",
|
|
@@ -3524,7 +3524,7 @@ function Zr({
|
|
|
3524
3524
|
}
|
|
3525
3525
|
);
|
|
3526
3526
|
}
|
|
3527
|
-
function
|
|
3527
|
+
function E0({
|
|
3528
3528
|
width: i = 24,
|
|
3529
3529
|
height: r = 24,
|
|
3530
3530
|
fill: o = "none",
|
|
@@ -3614,7 +3614,7 @@ function Er({
|
|
|
3614
3614
|
}
|
|
3615
3615
|
);
|
|
3616
3616
|
}
|
|
3617
|
-
function
|
|
3617
|
+
function P0({
|
|
3618
3618
|
width: i = 24,
|
|
3619
3619
|
height: r = 24,
|
|
3620
3620
|
fill: o = "none",
|
|
@@ -3674,7 +3674,7 @@ function $r({
|
|
|
3674
3674
|
}
|
|
3675
3675
|
);
|
|
3676
3676
|
}
|
|
3677
|
-
function
|
|
3677
|
+
function $0({
|
|
3678
3678
|
width: i = 24,
|
|
3679
3679
|
height: r = 24,
|
|
3680
3680
|
fill: o = "none",
|
|
@@ -3714,7 +3714,7 @@ function Pr({
|
|
|
3714
3714
|
}
|
|
3715
3715
|
);
|
|
3716
3716
|
}
|
|
3717
|
-
function
|
|
3717
|
+
function A0({
|
|
3718
3718
|
width: i = 24,
|
|
3719
3719
|
height: r = 24,
|
|
3720
3720
|
fill: o = "none",
|
|
@@ -3765,7 +3765,7 @@ function Ar({
|
|
|
3765
3765
|
}
|
|
3766
3766
|
);
|
|
3767
3767
|
}
|
|
3768
|
-
function
|
|
3768
|
+
function z0({
|
|
3769
3769
|
width: i = 24,
|
|
3770
3770
|
height: r = 24,
|
|
3771
3771
|
fill: o = "none",
|
|
@@ -3825,7 +3825,7 @@ function zr({
|
|
|
3825
3825
|
}
|
|
3826
3826
|
);
|
|
3827
3827
|
}
|
|
3828
|
-
function
|
|
3828
|
+
function F0({
|
|
3829
3829
|
width: i = 24,
|
|
3830
3830
|
height: r = 24,
|
|
3831
3831
|
fill: o = "none",
|
|
@@ -3853,7 +3853,7 @@ function Fr({
|
|
|
3853
3853
|
}
|
|
3854
3854
|
);
|
|
3855
3855
|
}
|
|
3856
|
-
function
|
|
3856
|
+
function R0({
|
|
3857
3857
|
width: i = 24,
|
|
3858
3858
|
height: r = 24,
|
|
3859
3859
|
fill: o = "none",
|
|
@@ -3881,7 +3881,7 @@ function Rr({
|
|
|
3881
3881
|
}
|
|
3882
3882
|
);
|
|
3883
3883
|
}
|
|
3884
|
-
function
|
|
3884
|
+
function _0({
|
|
3885
3885
|
width: i = 24,
|
|
3886
3886
|
height: r = 24,
|
|
3887
3887
|
fill: o = "none",
|
|
@@ -3941,7 +3941,7 @@ function _r({
|
|
|
3941
3941
|
}
|
|
3942
3942
|
);
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3944
|
+
function q0({
|
|
3945
3945
|
width: i = 24,
|
|
3946
3946
|
height: r = 24,
|
|
3947
3947
|
fill: o = "none",
|
|
@@ -4001,7 +4001,7 @@ function qr({
|
|
|
4001
4001
|
}
|
|
4002
4002
|
);
|
|
4003
4003
|
}
|
|
4004
|
-
function
|
|
4004
|
+
function U0({
|
|
4005
4005
|
width: i = 24,
|
|
4006
4006
|
height: r = 24,
|
|
4007
4007
|
fill: o = "none",
|
|
@@ -4051,7 +4051,7 @@ function Ur({
|
|
|
4051
4051
|
}
|
|
4052
4052
|
);
|
|
4053
4053
|
}
|
|
4054
|
-
function
|
|
4054
|
+
function Y0({
|
|
4055
4055
|
width: i = 24,
|
|
4056
4056
|
height: r = 24,
|
|
4057
4057
|
fill: o = "none",
|
|
@@ -4091,7 +4091,7 @@ function Yr({
|
|
|
4091
4091
|
}
|
|
4092
4092
|
);
|
|
4093
4093
|
}
|
|
4094
|
-
function
|
|
4094
|
+
function G0({
|
|
4095
4095
|
width: i = 24,
|
|
4096
4096
|
height: r = 24,
|
|
4097
4097
|
fill: o = "none",
|
|
@@ -4181,7 +4181,7 @@ function Gr({
|
|
|
4181
4181
|
}
|
|
4182
4182
|
);
|
|
4183
4183
|
}
|
|
4184
|
-
function
|
|
4184
|
+
function K0({
|
|
4185
4185
|
width: i = 24,
|
|
4186
4186
|
height: r = 24,
|
|
4187
4187
|
fill: o = "none",
|
|
@@ -4221,7 +4221,7 @@ function Kr({
|
|
|
4221
4221
|
}
|
|
4222
4222
|
);
|
|
4223
4223
|
}
|
|
4224
|
-
function
|
|
4224
|
+
function J0({
|
|
4225
4225
|
width: i = 24,
|
|
4226
4226
|
height: r = 24,
|
|
4227
4227
|
fill: o = "none",
|
|
@@ -4276,7 +4276,7 @@ function Jr({
|
|
|
4276
4276
|
}
|
|
4277
4277
|
);
|
|
4278
4278
|
}
|
|
4279
|
-
function
|
|
4279
|
+
function Q0({
|
|
4280
4280
|
width: i = 24,
|
|
4281
4281
|
height: r = 24,
|
|
4282
4282
|
fill: o = "none",
|
|
@@ -4325,7 +4325,7 @@ function Qr({
|
|
|
4325
4325
|
}
|
|
4326
4326
|
);
|
|
4327
4327
|
}
|
|
4328
|
-
function
|
|
4328
|
+
function X0({
|
|
4329
4329
|
width: i = 24,
|
|
4330
4330
|
height: r = 24,
|
|
4331
4331
|
fill: o = "none",
|
|
@@ -4375,7 +4375,7 @@ function Xr({
|
|
|
4375
4375
|
}
|
|
4376
4376
|
);
|
|
4377
4377
|
}
|
|
4378
|
-
function
|
|
4378
|
+
function W0({
|
|
4379
4379
|
width: i = 24,
|
|
4380
4380
|
height: r = 24,
|
|
4381
4381
|
fill: o = "none",
|
|
@@ -6535,7 +6535,7 @@ function Eo({
|
|
|
6535
6535
|
}
|
|
6536
6536
|
);
|
|
6537
6537
|
}
|
|
6538
|
-
function
|
|
6538
|
+
function Po({
|
|
6539
6539
|
width: i = 24,
|
|
6540
6540
|
height: r = 24,
|
|
6541
6541
|
fill: o = "none",
|
|
@@ -6615,7 +6615,7 @@ function $o({
|
|
|
6615
6615
|
}
|
|
6616
6616
|
);
|
|
6617
6617
|
}
|
|
6618
|
-
function
|
|
6618
|
+
function $o({
|
|
6619
6619
|
width: i = 24,
|
|
6620
6620
|
height: r = 24,
|
|
6621
6621
|
fill: o = "none",
|
|
@@ -9748,7 +9748,7 @@ function E9({
|
|
|
9748
9748
|
}
|
|
9749
9749
|
);
|
|
9750
9750
|
}
|
|
9751
|
-
function
|
|
9751
|
+
function P9({
|
|
9752
9752
|
width: i = 24,
|
|
9753
9753
|
height: r = 24,
|
|
9754
9754
|
fill: o = "none",
|
|
@@ -9798,7 +9798,7 @@ function $9({
|
|
|
9798
9798
|
}
|
|
9799
9799
|
);
|
|
9800
9800
|
}
|
|
9801
|
-
function
|
|
9801
|
+
function $9({
|
|
9802
9802
|
width: i = 24,
|
|
9803
9803
|
height: r = 24,
|
|
9804
9804
|
fill: o = "none",
|
|
@@ -13156,7 +13156,7 @@ function E2({
|
|
|
13156
13156
|
}
|
|
13157
13157
|
);
|
|
13158
13158
|
}
|
|
13159
|
-
function
|
|
13159
|
+
function P2({
|
|
13160
13160
|
width: i = 24,
|
|
13161
13161
|
height: r = 24,
|
|
13162
13162
|
fill: o = "none",
|
|
@@ -13196,7 +13196,7 @@ function $2({
|
|
|
13196
13196
|
}
|
|
13197
13197
|
);
|
|
13198
13198
|
}
|
|
13199
|
-
function
|
|
13199
|
+
function $2({
|
|
13200
13200
|
width: i = 24,
|
|
13201
13201
|
height: r = 24,
|
|
13202
13202
|
fill: o = "none",
|
|
@@ -16184,7 +16184,7 @@ function Ea({
|
|
|
16184
16184
|
}
|
|
16185
16185
|
);
|
|
16186
16186
|
}
|
|
16187
|
-
function
|
|
16187
|
+
function Pa({
|
|
16188
16188
|
width: i = 24,
|
|
16189
16189
|
height: r = 24,
|
|
16190
16190
|
fill: o = "none",
|
|
@@ -16212,7 +16212,7 @@ function $a({
|
|
|
16212
16212
|
}
|
|
16213
16213
|
);
|
|
16214
16214
|
}
|
|
16215
|
-
function
|
|
16215
|
+
function $a({
|
|
16216
16216
|
width: i = 24,
|
|
16217
16217
|
height: r = 24,
|
|
16218
16218
|
fill: o = "none",
|
|
@@ -17650,40 +17650,40 @@ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17650
17650
|
AaeeOutlined: co,
|
|
17651
17651
|
AaeeSlashOutlined: I2,
|
|
17652
17652
|
AeropuertosOutlined: a9,
|
|
17653
|
-
AjsuteDeCostosOutlined:
|
|
17653
|
+
AjsuteDeCostosOutlined: v0,
|
|
17654
17654
|
AlignCenterOutlined: ca,
|
|
17655
17655
|
AlignJustifyOutlined: to,
|
|
17656
|
-
AlignLeftOutlined:
|
|
17657
|
-
AlignRightOutlined:
|
|
17656
|
+
AlignLeftOutlined: _0,
|
|
17657
|
+
AlignRightOutlined: C0,
|
|
17658
17658
|
AngleDoubleDownOutlined: vo,
|
|
17659
17659
|
AngleDoubleLeftOutlined: O9,
|
|
17660
17660
|
AngleDoubleRightOutlined: ra,
|
|
17661
17661
|
AngleDoubleUpOutlined: Ya,
|
|
17662
17662
|
AngleDownOutlined: Ja,
|
|
17663
|
-
AngleLeftOutlined:
|
|
17664
|
-
AngleRightOutlined:
|
|
17663
|
+
AngleLeftOutlined: j0,
|
|
17664
|
+
AngleRightOutlined: Pa,
|
|
17665
17665
|
AngleUpOutlined: ru,
|
|
17666
17666
|
ArchivarOutlined: ha,
|
|
17667
17667
|
AreaOutlined: j2,
|
|
17668
|
-
ArrowCircleDownOutlined:
|
|
17668
|
+
ArrowCircleDownOutlined: U0,
|
|
17669
17669
|
ArrowCircleLeftOutlined: ba,
|
|
17670
17670
|
ArrowCircleRightOutlined: K2,
|
|
17671
|
-
ArrowCircleUpOutlined:
|
|
17671
|
+
ArrowCircleUpOutlined: h0,
|
|
17672
17672
|
ArrowDownLeftOutlined: d9,
|
|
17673
17673
|
ArrowDownOutlined: U2,
|
|
17674
17674
|
ArrowDownRightOutlined: pa,
|
|
17675
17675
|
ArrowHorizontalOutlined: qo,
|
|
17676
|
-
ArrowLeftOutlined:
|
|
17676
|
+
ArrowLeftOutlined: Xr,
|
|
17677
17677
|
ArrowRightOutlined: la,
|
|
17678
17678
|
ArrowUpLeftOutlined: D9,
|
|
17679
17679
|
ArrowUpOutlined: _o,
|
|
17680
|
-
ArrowUpRightOutlined:
|
|
17680
|
+
ArrowUpRightOutlined: M0,
|
|
17681
17681
|
ArrowVerticalOutlined: Go,
|
|
17682
17682
|
Backward1Outlined: m9,
|
|
17683
17683
|
Backward2Outlined: Uo,
|
|
17684
17684
|
BanOutlined: N9,
|
|
17685
|
-
BannerOutlined:
|
|
17686
|
-
BarsOutlined:
|
|
17685
|
+
BannerOutlined: r0,
|
|
17686
|
+
BarsOutlined: N0,
|
|
17687
17687
|
BellOutlined: d2,
|
|
17688
17688
|
Bill1Outlined: Lo,
|
|
17689
17689
|
BillOutlined: yo,
|
|
@@ -17700,14 +17700,14 @@ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17700
17700
|
CalendarioDeCampanasOutlined: eo,
|
|
17701
17701
|
CampanasUrbanosOutlined: so,
|
|
17702
17702
|
CaretDownOutlined: z2,
|
|
17703
|
-
CaretLeftOutlined:
|
|
17703
|
+
CaretLeftOutlined: t0,
|
|
17704
17704
|
CaretRightOutlined: ma,
|
|
17705
17705
|
CaretUpOutlined: Ia,
|
|
17706
17706
|
CatalogoOutlined: E2,
|
|
17707
17707
|
CentrosComercialesOutlined: Xo,
|
|
17708
17708
|
Check2Outlined: oa,
|
|
17709
17709
|
CheckOutlined: Q9,
|
|
17710
|
-
ChevronCircleDownOutlined:
|
|
17710
|
+
ChevronCircleDownOutlined: L0,
|
|
17711
17711
|
ChevronCircleLeftOutlined: iu,
|
|
17712
17712
|
ChevronCircleRightOutlined: H9,
|
|
17713
17713
|
ChevronCircleUpOutlined: mo,
|
|
@@ -17715,25 +17715,25 @@ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17715
17715
|
ChevronDownOutlined: Ea,
|
|
17716
17716
|
ChevronHorizontalOutlined: l9,
|
|
17717
17717
|
ChevronLeft1Outlined: _9,
|
|
17718
|
-
ChevronLeftOutlined:
|
|
17718
|
+
ChevronLeftOutlined: F0,
|
|
17719
17719
|
ChevronRight1Outlined: v9,
|
|
17720
17720
|
ChevronRightOutlined: So,
|
|
17721
17721
|
ChevronUp1Outlined: ea,
|
|
17722
17722
|
ChevronUpOutlined: M9,
|
|
17723
|
-
ChevronVerticalOutlined:
|
|
17724
|
-
CircleCheckOutlined:
|
|
17725
|
-
CircleOutlined:
|
|
17726
|
-
CirclePlusOutlined:
|
|
17723
|
+
ChevronVerticalOutlined: zr,
|
|
17724
|
+
CircleCheckOutlined: Rr,
|
|
17725
|
+
CircleOutlined: _r,
|
|
17726
|
+
CirclePlusOutlined: P9,
|
|
17727
17727
|
CircleXOutlined: eu,
|
|
17728
17728
|
CityOutlined: za,
|
|
17729
|
-
ClockOutlined:
|
|
17729
|
+
ClockOutlined: k0,
|
|
17730
17730
|
CloneOutlined: Sa,
|
|
17731
17731
|
CoinOutlined: xo,
|
|
17732
17732
|
CoinsOutlined: Fo,
|
|
17733
|
-
ColorOutlined:
|
|
17733
|
+
ColorOutlined: P0,
|
|
17734
17734
|
CommentOutlined: Jo,
|
|
17735
|
-
CommentsOutlined:
|
|
17736
|
-
CompassOutlined:
|
|
17735
|
+
CommentsOutlined: w0,
|
|
17736
|
+
CompassOutlined: $r,
|
|
17737
17737
|
CopyOutlined: uo,
|
|
17738
17738
|
CostoClienteOutlined: ua,
|
|
17739
17739
|
CostoImjOutlined: _2,
|
|
@@ -17741,45 +17741,45 @@ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17741
17741
|
CotizadorOutlined: L9,
|
|
17742
17742
|
CotizadorUrbanosOutlined: i9,
|
|
17743
17743
|
CotizadorVallasOutlined: Aa,
|
|
17744
|
-
DashboardOutlined:
|
|
17745
|
-
DiamanteOutlined:
|
|
17744
|
+
DashboardOutlined: e0,
|
|
17745
|
+
DiamanteOutlined: Po,
|
|
17746
17746
|
DisponibilidadOutlined: h9,
|
|
17747
17747
|
DocumentOutlined: Bo,
|
|
17748
17748
|
DownloadOutlined: fo,
|
|
17749
17749
|
DummiesOutlined: ao,
|
|
17750
|
-
EasyOutlined:
|
|
17750
|
+
EasyOutlined: Pr,
|
|
17751
17751
|
EditOutlined: g9,
|
|
17752
17752
|
ElevatorOutlined: ou,
|
|
17753
|
-
ElipsisOutlined:
|
|
17753
|
+
ElipsisOutlined: I0,
|
|
17754
17754
|
ElipsisVerticalOutlined: Ua,
|
|
17755
17755
|
EmojiOutlined: v2,
|
|
17756
17756
|
EmojiSadOutlined: po,
|
|
17757
17757
|
EspectacularOutlined: W9,
|
|
17758
|
-
EstatusCampanaOutlined:
|
|
17758
|
+
EstatusCampanaOutlined: Gr,
|
|
17759
17759
|
EstatusProyectoOutlined: Z9,
|
|
17760
17760
|
ExclamationCircleOutlined: i2,
|
|
17761
17761
|
ExclamationTriangleOutlined: g2,
|
|
17762
|
-
EyeOutlined:
|
|
17762
|
+
EyeOutlined: Br,
|
|
17763
17763
|
EyeSlashOutlined: F9,
|
|
17764
17764
|
FaceSmileOutlined: ka,
|
|
17765
17765
|
FastBackward1Outlined: Z2,
|
|
17766
17766
|
FastBackward2Outlined: ia,
|
|
17767
17767
|
FemaleOutlined: u2,
|
|
17768
|
-
FileKmlOutlined:
|
|
17769
|
-
FileOkOutlined:
|
|
17768
|
+
FileKmlOutlined: d0,
|
|
17769
|
+
FileOkOutlined: Qr,
|
|
17770
17770
|
FileOutlined: Ka,
|
|
17771
17771
|
FilePdfOutlined: C9,
|
|
17772
|
-
FileXlsOutlined:
|
|
17772
|
+
FileXlsOutlined: O0,
|
|
17773
17773
|
FilterOutlined: T9,
|
|
17774
17774
|
FilterSlashOutlined: Ta,
|
|
17775
17775
|
FlagOutlined: r2,
|
|
17776
17776
|
FocusOutlined: K9,
|
|
17777
17777
|
Folder2Outlined: z9,
|
|
17778
17778
|
FolderOutlined: p2,
|
|
17779
|
-
GanttOutlined:
|
|
17779
|
+
GanttOutlined: x0,
|
|
17780
17780
|
GaugeOutlined: ko,
|
|
17781
17781
|
GearOutlined: y2,
|
|
17782
|
-
GestionOutlined:
|
|
17782
|
+
GestionOutlined: Fr,
|
|
17783
17783
|
GlassOutlined: go,
|
|
17784
17784
|
GridOutlined: G2,
|
|
17785
17785
|
GroupFilesOutlined: S9,
|
|
@@ -17789,33 +17789,33 @@ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17789
17789
|
HistoryOutlined: lo,
|
|
17790
17790
|
HomeOutlined: X2,
|
|
17791
17791
|
IconsboxOutlined: l2,
|
|
17792
|
-
IdOutlined:
|
|
17792
|
+
IdOutlined: f0,
|
|
17793
17793
|
ImageOutlined: Do,
|
|
17794
17794
|
ImagesOutlined: W2,
|
|
17795
17795
|
ImjLogoOutlined: uu,
|
|
17796
|
-
ImplementacionOutlined:
|
|
17796
|
+
ImplementacionOutlined: Jr,
|
|
17797
17797
|
IndoorOutlined: tu,
|
|
17798
|
-
InfoCardOutlined:
|
|
17798
|
+
InfoCardOutlined: V0,
|
|
17799
17799
|
InfoCircleOutlined: r9,
|
|
17800
17800
|
InfoOutlined: L2,
|
|
17801
17801
|
InstallOutlined: ja,
|
|
17802
17802
|
InventarioOutlined: Qa,
|
|
17803
|
-
JoyasOutlined:
|
|
17804
|
-
KanbanOutlined:
|
|
17803
|
+
JoyasOutlined: i0,
|
|
17804
|
+
KanbanOutlined: Er,
|
|
17805
17805
|
KeyOutlined: j9,
|
|
17806
17806
|
LatitudeOutlined: zo,
|
|
17807
17807
|
LegalFileOutlined: nu,
|
|
17808
17808
|
LightbulbIndifferentOutlined: ya,
|
|
17809
17809
|
LightbulbOutlined: au,
|
|
17810
17810
|
LightbulbSlashOutlined: Fa,
|
|
17811
|
-
LikeOutlined:
|
|
17811
|
+
LikeOutlined: P2,
|
|
17812
17812
|
LinkOutlined: V9,
|
|
17813
17813
|
ListOutlined: F2,
|
|
17814
17814
|
ListaCampanas1Outlined: o9,
|
|
17815
17815
|
ListaCampanas2Outlined: Zo,
|
|
17816
|
-
ListaCampanasOutlined:
|
|
17816
|
+
ListaCampanasOutlined: H0,
|
|
17817
17817
|
LocationpinOutlined: No,
|
|
17818
|
-
LockOpenOutlined:
|
|
17818
|
+
LockOpenOutlined: X0,
|
|
17819
17819
|
LockOutlined: B9,
|
|
17820
17820
|
LogoutOutlined: w9,
|
|
17821
17821
|
LongitudeOutlined: Za,
|
|
@@ -17823,48 +17823,48 @@ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17823
17823
|
MailOutlined: Y9,
|
|
17824
17824
|
MaintenanceOutlined: X9,
|
|
17825
17825
|
MaleOutlined: Wa,
|
|
17826
|
-
MallOutlined:
|
|
17826
|
+
MallOutlined: Y0,
|
|
17827
17827
|
MapOutlined: Xa,
|
|
17828
|
-
MaximizeOutlined:
|
|
17828
|
+
MaximizeOutlined: S0,
|
|
17829
17829
|
MediumOutlined: Ho,
|
|
17830
17830
|
MinimizeOutlined: io,
|
|
17831
|
-
Minus1Outlined:
|
|
17832
|
-
Minus2Outlined:
|
|
17833
|
-
MinusOutlined:
|
|
17834
|
-
MoonOutlined:
|
|
17831
|
+
Minus1Outlined: K0,
|
|
17832
|
+
Minus2Outlined: Tr,
|
|
17833
|
+
MinusOutlined: u0,
|
|
17834
|
+
MoonOutlined: R0,
|
|
17835
17835
|
MupisOutlined: f2,
|
|
17836
17836
|
MuroOutlined: Ba,
|
|
17837
17837
|
NumberListOutlined: qa,
|
|
17838
17838
|
ObpByImjOutlined: a2,
|
|
17839
|
-
ObpLogoOutlined:
|
|
17840
|
-
OrientationOutlined:
|
|
17841
|
-
OutdoorOutlined:
|
|
17839
|
+
ObpLogoOutlined: qr,
|
|
17840
|
+
OrientationOutlined: $0,
|
|
17841
|
+
OutdoorOutlined: Yr,
|
|
17842
17842
|
PaletteOutlined: B2,
|
|
17843
|
-
PantallaDigitalOutlined:
|
|
17843
|
+
PantallaDigitalOutlined: D0,
|
|
17844
17844
|
PaperclipOutlined: La,
|
|
17845
17845
|
ParkingOutlined: bo,
|
|
17846
|
-
PauseOutlined:
|
|
17846
|
+
PauseOutlined: Ur,
|
|
17847
17847
|
PautaInteligenteOutlined: Io,
|
|
17848
|
-
PautaTradicionalOutlined:
|
|
17848
|
+
PautaTradicionalOutlined: Wr,
|
|
17849
17849
|
PencilOutlined: Va,
|
|
17850
17850
|
PercentageOutlined: jo,
|
|
17851
17851
|
PerifoneoOutlined: f9,
|
|
17852
|
-
PerifoneoSlashOutlined:
|
|
17852
|
+
PerifoneoSlashOutlined: G0,
|
|
17853
17853
|
PermisionarioOutlined: Eo,
|
|
17854
17854
|
PlaningOutlined: b9,
|
|
17855
17855
|
PlanningOutlined: q9,
|
|
17856
|
-
PlantillaOutlined:
|
|
17856
|
+
PlantillaOutlined: J0,
|
|
17857
17857
|
PlayOutlined: Oo,
|
|
17858
17858
|
Plus1Outlined: ho,
|
|
17859
17859
|
PlusOutlined: k2,
|
|
17860
|
-
PostventaOutlined:
|
|
17860
|
+
PostventaOutlined: Zr,
|
|
17861
17861
|
PowerOutlined: aa,
|
|
17862
|
-
PreferenciasDeUbicacionOutlined:
|
|
17863
|
-
PrintOutlined:
|
|
17862
|
+
PreferenciasDeUbicacionOutlined: a0,
|
|
17863
|
+
PrintOutlined: n0,
|
|
17864
17864
|
PropuestaComercialOutlined: Ro,
|
|
17865
|
-
Proveedor1Outlined:
|
|
17865
|
+
Proveedor1Outlined: W0,
|
|
17866
17866
|
ProveedorOutlined: u9,
|
|
17867
|
-
ProyectoOutlined:
|
|
17867
|
+
ProyectoOutlined: E0,
|
|
17868
17868
|
PuentePeatonalOutlined: fa,
|
|
17869
17869
|
PuntoOutlined: O2,
|
|
17870
17870
|
PuzzleOutlined: Ko,
|
|
@@ -17872,13 +17872,13 @@ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17872
17872
|
QuestionOutlined: wo,
|
|
17873
17873
|
ReceiveOutlined: q2,
|
|
17874
17874
|
Refresh1Outlined: U9,
|
|
17875
|
-
RefreshOutlined:
|
|
17875
|
+
RefreshOutlined: T0,
|
|
17876
17876
|
RegresarVistaCardsOutlined: Ga,
|
|
17877
|
-
RouteOutlined:
|
|
17877
|
+
RouteOutlined: A0,
|
|
17878
17878
|
RouteSlashOutlined: t2,
|
|
17879
17879
|
SackDollarOutlined: J2,
|
|
17880
|
-
SaveOutlined:
|
|
17881
|
-
ScissorsOutlined:
|
|
17880
|
+
SaveOutlined: Q0,
|
|
17881
|
+
ScissorsOutlined: o0,
|
|
17882
17882
|
ScreenOutlined: w2,
|
|
17883
17883
|
SearchCompanyOutlined: Co,
|
|
17884
17884
|
SearchMinusOutlined: Ao,
|
|
@@ -17887,56 +17887,56 @@ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17887
17887
|
SeguimientoOutlined: N2,
|
|
17888
17888
|
SelectOutlined: Oa,
|
|
17889
17889
|
SelectSlashOutlined: E9,
|
|
17890
|
-
ShapesOutlined:
|
|
17891
|
-
ShareOutlined:
|
|
17890
|
+
ShapesOutlined: q0,
|
|
17891
|
+
ShareOutlined: y0,
|
|
17892
17892
|
ShoppingCartOutlined: Mo,
|
|
17893
17893
|
ShoppingCartSlashOutlined: I9,
|
|
17894
17894
|
SignoMoneyOutlined: o2,
|
|
17895
|
-
SlidersHorizontalOutlined:
|
|
17896
|
-
SlidersVerticalOutlined:
|
|
17895
|
+
SlidersHorizontalOutlined: p0,
|
|
17896
|
+
SlidersVerticalOutlined: $9,
|
|
17897
17897
|
SortAlphaAltDownOutlined: A9,
|
|
17898
17898
|
SortAlphaAltUpOutlined: s9,
|
|
17899
|
-
SortAlphaDownOutlined:
|
|
17900
|
-
SortAlphaUpOutlined:
|
|
17901
|
-
SortAltOutlined:
|
|
17899
|
+
SortAlphaDownOutlined: b0,
|
|
17900
|
+
SortAlphaUpOutlined: s0,
|
|
17901
|
+
SortAltOutlined: Ar,
|
|
17902
17902
|
SortAmountDownAltOutlined: A2,
|
|
17903
17903
|
SortAmountDownOutlined: Ha,
|
|
17904
17904
|
SortAmountUpAltOutlined: Na,
|
|
17905
17905
|
SortAmountUpOutlined: ro,
|
|
17906
17906
|
SortDownOutlined: oo,
|
|
17907
|
-
SortOutlined:
|
|
17907
|
+
SortOutlined: c0,
|
|
17908
17908
|
SortUpOutlined: Da,
|
|
17909
17909
|
SplitOutlined: n9,
|
|
17910
17910
|
SquareDashedOutlined: G9,
|
|
17911
17911
|
SquareMoneyOutlined: J9,
|
|
17912
|
-
SquareTextOutlined:
|
|
17912
|
+
SquareTextOutlined: Kr,
|
|
17913
17913
|
StarOutlined: To,
|
|
17914
17914
|
StatusOutlined: S2,
|
|
17915
17915
|
StopOutlined: e2,
|
|
17916
|
-
SunOutlined:
|
|
17916
|
+
SunOutlined: $o,
|
|
17917
17917
|
TableOutlined: t9,
|
|
17918
17918
|
TagOutlined: Ma,
|
|
17919
|
-
TaskListOutlined:
|
|
17919
|
+
TaskListOutlined: l0,
|
|
17920
17920
|
TaskOutlined: Q2,
|
|
17921
17921
|
TelegramOutlined: y9,
|
|
17922
|
-
ThumbtackOutlined:
|
|
17922
|
+
ThumbtackOutlined: $a,
|
|
17923
17923
|
TimelineOutlined: D2,
|
|
17924
17924
|
ToolsOutlined: xa,
|
|
17925
17925
|
TraficoOutlined: Yo,
|
|
17926
17926
|
TrashOutlined: no,
|
|
17927
|
-
TrashSlashOutlined:
|
|
17927
|
+
TrashSlashOutlined: Z0,
|
|
17928
17928
|
TreeDiagramOutlined: x2,
|
|
17929
17929
|
UbicacionesOutlined: k9,
|
|
17930
|
-
UndoOutlined:
|
|
17930
|
+
UndoOutlined: m0,
|
|
17931
17931
|
UnlockOutlined: Ca,
|
|
17932
|
-
UpdateOutlined:
|
|
17932
|
+
UpdateOutlined: z0,
|
|
17933
17933
|
UploadOutlined: H2,
|
|
17934
|
-
UrbanosOutlined:
|
|
17935
|
-
UserComercialOutlined:
|
|
17936
|
-
UserEditOutlined:
|
|
17934
|
+
UrbanosOutlined: Dr,
|
|
17935
|
+
UserComercialOutlined: $2,
|
|
17936
|
+
UserEditOutlined: B0,
|
|
17937
17937
|
UserOutlined: na,
|
|
17938
17938
|
UserPlusOutlined: Ra,
|
|
17939
|
-
UsersOutlined:
|
|
17939
|
+
UsersOutlined: g0,
|
|
17940
17940
|
VallasMovilesOutlined: m2,
|
|
17941
17941
|
VistaDerechaOutlined: Wo,
|
|
17942
17942
|
VistaIndefinidaOutlined: c9,
|
|
@@ -18343,7 +18343,7 @@ function Cu({
|
|
|
18343
18343
|
let b = dn[C];
|
|
18344
18344
|
if (b || (b = lt[C]), !b)
|
|
18345
18345
|
return console.warn(`Icono legacy "${i}" no encontrado en ninguna variante`), null;
|
|
18346
|
-
const x = b === dn[C] ? "outline" : "fill", w =
|
|
18346
|
+
const x = b === dn[C] ? "outline" : "fill", w = Ir[r], v = P1[o === "current" && x === "fill" ? "white" : o] || P1.blue, O = P1[e] || P1.black, m = /* @__PURE__ */ t(
|
|
18347
18347
|
b,
|
|
18348
18348
|
{
|
|
18349
18349
|
width: w,
|
|
@@ -18352,7 +18352,7 @@ function Cu({
|
|
|
18352
18352
|
...l,
|
|
18353
18353
|
strokeWidth: f
|
|
18354
18354
|
}
|
|
18355
|
-
),
|
|
18355
|
+
), j = () => a ? u ? u.startsWith("ui-") ? `ui-rounded-control-pill ${u}` : u === "neutral" ? "ui-rounded-control-pill ui-bg-surface-tertiary-default" : `ui-rounded-control-pill ui-bg-surface-${u}` : "ui-rounded-control-pill ui-bg-surface-tertiary-default" : "", k = () => c !== "none" ? st[c] : a ? cn[s === "xxs" ? "xs" : s] || cn.md : "", L = (y) => {
|
|
18356
18356
|
d && (y.stopPropagation(), d(y));
|
|
18357
18357
|
}, N = a ? "ui-flex ui-items-center ui-justify-center ui-shrink-0 ui-w-fit ui-h-fit" : "ui-inline-block";
|
|
18358
18358
|
return d ? /* @__PURE__ */ t(
|
|
@@ -18365,8 +18365,8 @@ function Cu({
|
|
|
18365
18365
|
n,
|
|
18366
18366
|
N,
|
|
18367
18367
|
"ui-cursor-pointer ui-transition-all ui-duration-200",
|
|
18368
|
-
k(),
|
|
18369
18368
|
j(),
|
|
18369
|
+
k(),
|
|
18370
18370
|
"hover:ui-bg-[rgba(0,0,0,0.15)] hover:ui-shadow-[0_4px_12px_rgba(0,0,0,0.15)]"
|
|
18371
18371
|
),
|
|
18372
18372
|
style: {
|
|
@@ -18380,14 +18380,14 @@ function Cu({
|
|
|
18380
18380
|
className: S(
|
|
18381
18381
|
n,
|
|
18382
18382
|
N,
|
|
18383
|
-
|
|
18384
|
-
|
|
18383
|
+
j(),
|
|
18384
|
+
k()
|
|
18385
18385
|
),
|
|
18386
18386
|
children: m
|
|
18387
18387
|
}
|
|
18388
18388
|
);
|
|
18389
18389
|
}
|
|
18390
|
-
const
|
|
18390
|
+
const Pn = {
|
|
18391
18391
|
// Colores base
|
|
18392
18392
|
current: "currentColor",
|
|
18393
18393
|
default: "var(--ui-color-icon-default)",
|
|
@@ -18433,7 +18433,7 @@ const $n = {
|
|
|
18433
18433
|
}, b = () => d ? c ? c.startsWith("ui-") ? `ui-rounded-control-pill ${c}` : c === "neutral" ? "ui-rounded-control-pill ui-bg-surface-tertiary-default" : `ui-rounded-control-pill ui-bg-surface-${c}` : "ui-rounded-control-pill ui-bg-surface-tertiary-default" : "", x = () => g !== "none" ? st[g] : d ? cn[p] : "", w = {
|
|
18434
18434
|
...a
|
|
18435
18435
|
};
|
|
18436
|
-
u && (w["--fa-primary-color"] =
|
|
18436
|
+
u && (w["--fa-primary-color"] = Pn[u]), s && (w["--fa-secondary-color"] = Pn[s]), l !== void 0 && (w["--fa-primary-opacity"] = l.toString()), f !== void 0 && (w["--fa-secondary-opacity"] = f.toString());
|
|
18437
18437
|
const V = Te("ui-transition-all ui-duration-200 ui-ease-in-out group-disabled:ui-text-disabled", {
|
|
18438
18438
|
variants: {
|
|
18439
18439
|
size: {
|
|
@@ -18595,21 +18595,21 @@ const k1 = ({
|
|
|
18595
18595
|
size: "dot"
|
|
18596
18596
|
}
|
|
18597
18597
|
}
|
|
18598
|
-
),
|
|
18598
|
+
), j = {
|
|
18599
18599
|
accent: "ui-bg-fill-brand ui-text-on-color ui-fill-on-color",
|
|
18600
18600
|
gray: "ui-bg-surface-tertiary ui-text-primary ui-fill",
|
|
18601
18601
|
success: "ui-bg-fill-success ui-text-on-color ui-fill-on-color",
|
|
18602
18602
|
warning: "ui-bg-fill-warning ui-text-on-color ui-fill-on-color",
|
|
18603
18603
|
danger: "ui-bg-fill-danger ui-text-on-color ui-fill-on-color",
|
|
18604
18604
|
info: "ui-bg-fill-info ui-text-on-color ui-fill-on-color"
|
|
18605
|
-
},
|
|
18605
|
+
}, k = {
|
|
18606
18606
|
accent: "ui-bg-surface-brand-hover ui-text-brand ui-fill-brand",
|
|
18607
18607
|
gray: "ui-bg-fill-tertiary ui-text-primary ui-fill-secondary",
|
|
18608
18608
|
success: "ui-bg-surface-success-hover ui-text-success ui-fill-success",
|
|
18609
18609
|
warning: "ui-bg-surface-warning-hover ui-text-warning ui-fill-warning",
|
|
18610
18610
|
danger: "ui-bg-surface-danger ui-text-danger ui-fill-brand",
|
|
18611
18611
|
info: "ui-bg-surface-info-hover ui-text-info ui-fill-danger-hover"
|
|
18612
|
-
}, L = "ui-bg-fill-disabled ui-text-disabled ui-fill-disabled", N = "ui-bg-surface-disabled ui-text-disabled ui-fill-disabled", y = "ui-border-disabled", H = a ? o === "soft" ? N : L : o === "soft" ?
|
|
18612
|
+
}, L = "ui-bg-fill-disabled ui-text-disabled ui-fill-disabled", N = "ui-bg-surface-disabled ui-text-disabled ui-fill-disabled", y = "ui-border-disabled", H = a ? o === "soft" ? N : L : o === "soft" ? k[r] : j[r], E = a ? n ? y : "" : n ? o === "soft" ? {
|
|
18613
18613
|
accent: "ui-border-brand",
|
|
18614
18614
|
gray: "ui-border",
|
|
18615
18615
|
success: "ui-border-success",
|
|
@@ -18632,7 +18632,7 @@ const k1 = ({
|
|
|
18632
18632
|
"ui-rounded-control-xs ui-h-16",
|
|
18633
18633
|
"ui-px-8 ui-py-2",
|
|
18634
18634
|
x ? "ui-gap-4 ui-pr-8" : ""
|
|
18635
|
-
].join(" ") : "",
|
|
18635
|
+
].join(" ") : "", P = V ? "ui-rounded-control-pill" : "", U = {
|
|
18636
18636
|
sm: "xs",
|
|
18637
18637
|
md: "xs",
|
|
18638
18638
|
lg: "sm",
|
|
@@ -18661,7 +18661,7 @@ const k1 = ({
|
|
|
18661
18661
|
H,
|
|
18662
18662
|
n ? "ui-border-1" : "",
|
|
18663
18663
|
E,
|
|
18664
|
-
|
|
18664
|
+
P,
|
|
18665
18665
|
F,
|
|
18666
18666
|
z,
|
|
18667
18667
|
Y,
|
|
@@ -18699,7 +18699,7 @@ const k1 = ({
|
|
|
18699
18699
|
violet: "ui-bg-surface-all-colors-violet ui-text-icon-allColors-violet",
|
|
18700
18700
|
magenta: "ui-bg-surface-all-colors-magenta ui-text-icon-allColors-magenta",
|
|
18701
18701
|
rose: "ui-bg-surface-all-colors-rose ui-text-icon-allColors-rose"
|
|
18702
|
-
},
|
|
18702
|
+
}, $n = {
|
|
18703
18703
|
...pn,
|
|
18704
18704
|
// Marca temporal para resaltar letras en tema soft
|
|
18705
18705
|
blue: "ui-bg-surface-all-colors-blue ui-text-icon-allColors-blue",
|
|
@@ -18727,7 +18727,7 @@ const k1 = ({
|
|
|
18727
18727
|
md: "lg",
|
|
18728
18728
|
lg: "xl",
|
|
18729
18729
|
xl: "2xl"
|
|
18730
|
-
},
|
|
18730
|
+
}, $1 = "ui-border-1", An = "ui-border", zn = {
|
|
18731
18731
|
blue: "ui-border-all-colors-blue",
|
|
18732
18732
|
red: "ui-border-all-colors-red",
|
|
18733
18733
|
orange: "ui-border-all-colors-orange",
|
|
@@ -18754,17 +18754,17 @@ const k1 = ({
|
|
|
18754
18754
|
}, xu = "ui-rounded-control-pill", Fn = "ui-rounded-[10px]", vu = {
|
|
18755
18755
|
xxs: "ui-rounded-[6px]",
|
|
18756
18756
|
xs: "ui-rounded-[8px]"
|
|
18757
|
-
}, yu = 3, Mu = "ui-opacity-50 ui-cursor-not-allowed", ju = "ui-grayscale", Rn = "ui-bg-fill-disabled", ku = "ui-mix-blend-luminosity", pt = (i, r, o, e = !1) => e ? o === "letter" ?
|
|
18757
|
+
}, yu = 3, Mu = "ui-opacity-50 ui-cursor-not-allowed", ju = "ui-grayscale", Rn = "ui-bg-fill-disabled", ku = "ui-mix-blend-luminosity", pt = (i, r, o, e = !1) => e ? o === "letter" ? $n[i] : pn[i] : r === "solid" ? Lu[i] : o === "letter" ? $n[i] : pn[i], Vu = (i) => bu[i], Hu = (i, r, o, e, n = !1) => {
|
|
18758
18758
|
if (!i) return "";
|
|
18759
18759
|
if (r === "people")
|
|
18760
|
-
return S(
|
|
18760
|
+
return S($1, An);
|
|
18761
18761
|
if ((r === "icon" || r === "letter") && o) {
|
|
18762
18762
|
if (n)
|
|
18763
|
-
return S(
|
|
18763
|
+
return S($1, zn[o]);
|
|
18764
18764
|
const a = e === "soft" ? zn[o] : wu[o];
|
|
18765
|
-
return S(
|
|
18765
|
+
return S($1, a);
|
|
18766
18766
|
}
|
|
18767
|
-
return S(
|
|
18767
|
+
return S($1, An);
|
|
18768
18768
|
}, ft = (i, r) => i ? xu : r ? vu[r] ?? Fn : Fn, q1 = (i, r, o, e, n, a, u, s, l) => S(
|
|
18769
18769
|
// Layout base
|
|
18770
18770
|
"ui-flex ui-items-center ui-justify-center",
|
|
@@ -19372,7 +19372,7 @@ const k1 = ({
|
|
|
19372
19372
|
tiro: "🎯",
|
|
19373
19373
|
esgrima: "🤺",
|
|
19374
19374
|
boxeo: "🥊"
|
|
19375
|
-
},
|
|
19375
|
+
}, Pu = ({ name: i, size: r, className: o }) => {
|
|
19376
19376
|
const e = ht[i], n = Te(`ui-inline-block ui-leading-none ${o}`, {
|
|
19377
19377
|
variants: {
|
|
19378
19378
|
size: {
|
|
@@ -19408,10 +19408,10 @@ function Z8(i, r) {
|
|
|
19408
19408
|
}, r));
|
|
19409
19409
|
};
|
|
19410
19410
|
}
|
|
19411
|
-
const
|
|
19411
|
+
const $u = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
19412
19412
|
const [a, u] = A(!1), [s, l] = A({ top: 0, left: 0 }), [f, d] = A({ width: 0, height: 0 }), [c, p] = A(i), g = ee(null), C = ee(null), b = ee(null), x = ee(null), w = ee(null), V = ee(null), v = ee(null), O = ee({ top: 0, left: 0 }), M = ee({ count: 0, lastTime: 0 }), m = I(() => {
|
|
19413
19413
|
u(!1), l({ top: 0, left: 0 }), p(i), v.current = null, M.current.count = 0, M.current.lastTime = 0, O.current = { top: 0, left: 0 };
|
|
19414
|
-
}, [i]),
|
|
19414
|
+
}, [i]), j = I(() => {
|
|
19415
19415
|
if (!g.current || !a) return;
|
|
19416
19416
|
const y = g.current.getBoundingClientRect(), H = { top: y.top, left: y.left };
|
|
19417
19417
|
if (v.current) {
|
|
@@ -19422,13 +19422,13 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19422
19422
|
}
|
|
19423
19423
|
}
|
|
19424
19424
|
v.current = H;
|
|
19425
|
-
}, [a, m]),
|
|
19426
|
-
var
|
|
19425
|
+
}, [a, m]), k = I(() => {
|
|
19426
|
+
var P, U, Y, te, _, X;
|
|
19427
19427
|
if (!g.current || !C.current) return;
|
|
19428
19428
|
const y = g.current.getBoundingClientRect(), H = C.current.getBoundingClientRect(), D = 8;
|
|
19429
19429
|
let B = 0, E = 0;
|
|
19430
19430
|
if (o) {
|
|
19431
|
-
const G = (
|
|
19431
|
+
const G = (P = b.current) == null ? void 0 : P.getBoundingClientRect();
|
|
19432
19432
|
if (!G) return;
|
|
19433
19433
|
const T = y.top - G.top, Z = y.left - G.left;
|
|
19434
19434
|
switch (i) {
|
|
@@ -19600,13 +19600,13 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19600
19600
|
M.current.lastTime = F, O.current = { top: B, left: E }, l({ top: B, left: E });
|
|
19601
19601
|
}, [i, r, o, m]);
|
|
19602
19602
|
J(() => (a && C.current ? (requestAnimationFrame(() => {
|
|
19603
|
-
if (
|
|
19603
|
+
if (k(), g.current) {
|
|
19604
19604
|
const y = g.current.getBoundingClientRect();
|
|
19605
19605
|
v.current = { top: y.top, left: y.left };
|
|
19606
19606
|
}
|
|
19607
|
-
}), V.current = setInterval(
|
|
19607
|
+
}), V.current = setInterval(j, 100)) : V.current && (clearInterval(V.current), V.current = null), () => {
|
|
19608
19608
|
V.current && (clearInterval(V.current), V.current = null);
|
|
19609
|
-
}), [a,
|
|
19609
|
+
}), [a, k, j]), J(() => {
|
|
19610
19610
|
if (g.current)
|
|
19611
19611
|
return w.current = new IntersectionObserver(
|
|
19612
19612
|
(y) => {
|
|
@@ -19651,7 +19651,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19651
19651
|
containerRef: b,
|
|
19652
19652
|
handleMouseEnter: L,
|
|
19653
19653
|
handleMouseLeave: N,
|
|
19654
|
-
calculatePosition:
|
|
19654
|
+
calculatePosition: k
|
|
19655
19655
|
};
|
|
19656
19656
|
}, Au = (i) => ue(() => {
|
|
19657
19657
|
const u = {
|
|
@@ -19773,7 +19773,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19773
19773
|
containerRef: V,
|
|
19774
19774
|
handleMouseEnter: v,
|
|
19775
19775
|
handleMouseLeave: O
|
|
19776
|
-
} =
|
|
19776
|
+
} = $u(o, e, c, a, u), M = zu(c), m = Au(b);
|
|
19777
19777
|
return /* @__PURE__ */ h("div", { ref: V, className: c ? "ui-relative" : "ui-contents", children: [
|
|
19778
19778
|
/* @__PURE__ */ t(
|
|
19779
19779
|
"div",
|
|
@@ -19906,7 +19906,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19906
19906
|
}
|
|
19907
19907
|
);
|
|
19908
19908
|
if (w)
|
|
19909
|
-
return /* @__PURE__ */ t(
|
|
19909
|
+
return /* @__PURE__ */ t(Pu, { name: i, size: n ? "sm" : e, className: r });
|
|
19910
19910
|
if (typeof i == "string") {
|
|
19911
19911
|
if (Ru(i))
|
|
19912
19912
|
return /* @__PURE__ */ t(
|
|
@@ -19997,8 +19997,8 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
19997
19997
|
clickable: O = !0,
|
|
19998
19998
|
icon: M,
|
|
19999
19999
|
link: m,
|
|
20000
|
-
size:
|
|
20001
|
-
square:
|
|
20000
|
+
size: j,
|
|
20001
|
+
square: k = !1,
|
|
20002
20002
|
target: L = "_self",
|
|
20003
20003
|
onClickIcon: N,
|
|
20004
20004
|
onClickLeftSlot: y,
|
|
@@ -20008,7 +20008,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20008
20008
|
iconDuotonePrimary: E,
|
|
20009
20009
|
iconDuotoneSecondary: F,
|
|
20010
20010
|
iconDuotoneOpacityPrimary: z,
|
|
20011
|
-
iconDuotoneOpacitySecondary:
|
|
20011
|
+
iconDuotoneOpacitySecondary: P,
|
|
20012
20012
|
leftSlotDuotonePrimary: U,
|
|
20013
20013
|
leftSlotDuotoneSecondary: Y,
|
|
20014
20014
|
leftSlotDuotoneOpacityPrimary: te,
|
|
@@ -20023,7 +20023,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20023
20023
|
defaultSizeIcon: le = !0,
|
|
20024
20024
|
as: ge = "button",
|
|
20025
20025
|
classNameId: fe = "imj-ui-inner-button",
|
|
20026
|
-
tooltip:
|
|
20026
|
+
tooltip: $ = "",
|
|
20027
20027
|
tooltipPosition: q,
|
|
20028
20028
|
tooltipAlignment: K,
|
|
20029
20029
|
tooltipDelay: W,
|
|
@@ -20044,7 +20044,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20044
20044
|
}) => {
|
|
20045
20045
|
const Ee = {
|
|
20046
20046
|
disabled: D
|
|
20047
|
-
}, s1 = a === "icon", Ge = !V && !!M, v1 = s1 ? "xs" :
|
|
20047
|
+
}, s1 = a === "icon", Ge = !V && !!M, v1 = s1 ? "xs" : j, Ke = u ? !!(c || s != null && s !== "" || f === "dot") : !1, h1 = (() => {
|
|
20048
20048
|
if (d !== void 0)
|
|
20049
20049
|
return d;
|
|
20050
20050
|
if (!u)
|
|
@@ -20087,7 +20087,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20087
20087
|
a1,
|
|
20088
20088
|
{
|
|
20089
20089
|
slot: e,
|
|
20090
|
-
size:
|
|
20090
|
+
size: j === "xxs" ? "xs" : "sm",
|
|
20091
20091
|
colorIcon: B ?? we[x],
|
|
20092
20092
|
className: S(i, x === "primary" && D && "!ui-text-on-color"),
|
|
20093
20093
|
onClick: y,
|
|
@@ -20115,11 +20115,11 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20115
20115
|
Ke && V && /* @__PURE__ */ t(k1, { color: u, label: s, theme: l, size: f, stroke: h1, icon: c, iconDuotonePrimary: p, iconDuotoneSecondary: g, iconDuotoneOpacityPrimary: C, iconDuotoneOpacitySecondary: b }),
|
|
20116
20116
|
!V && M && (typeof M == "string" && qu(M) ? /* @__PURE__ */ t("span", { className: S(
|
|
20117
20117
|
"ui-leading-none",
|
|
20118
|
-
|
|
20119
|
-
|
|
20120
|
-
|
|
20121
|
-
|
|
20122
|
-
|
|
20118
|
+
j === "xxs" && "ui-text-sm",
|
|
20119
|
+
j === "xs" && "ui-text-base",
|
|
20120
|
+
j === "sm" && "ui-text-lg",
|
|
20121
|
+
j === "md" && "ui-text-xl",
|
|
20122
|
+
j === "lg" && "ui-text-2xl",
|
|
20123
20123
|
t1
|
|
20124
20124
|
), children: M }) : typeof M == "string" || _u(M) ? /* @__PURE__ */ t(
|
|
20125
20125
|
de,
|
|
@@ -20127,20 +20127,20 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20127
20127
|
className: t1,
|
|
20128
20128
|
strokeWidth: Je,
|
|
20129
20129
|
name: M,
|
|
20130
|
-
size:
|
|
20130
|
+
size: j === "xxs" ? "xs" : "sm",
|
|
20131
20131
|
color: B || we[x],
|
|
20132
20132
|
onClick: a === "icon" ? Ze || N : void 0,
|
|
20133
20133
|
colorDuotonePrimary: E,
|
|
20134
20134
|
colorDuotoneSecondary: F,
|
|
20135
20135
|
opacityDuotonePrimary: z,
|
|
20136
|
-
opacityDuotoneSecondary:
|
|
20136
|
+
opacityDuotoneSecondary: P
|
|
20137
20137
|
}
|
|
20138
20138
|
) : M),
|
|
20139
20139
|
V && n && /* @__PURE__ */ t(
|
|
20140
20140
|
a1,
|
|
20141
20141
|
{
|
|
20142
20142
|
slot: n,
|
|
20143
|
-
size:
|
|
20143
|
+
size: j === "xxs" ? "xs" : "sm",
|
|
20144
20144
|
colorIcon: B ?? we[x],
|
|
20145
20145
|
className: S(i, x === "primary" && D && "!ui-text-on-color"),
|
|
20146
20146
|
onClick: H,
|
|
@@ -20151,7 +20151,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20151
20151
|
opacityIconDuotoneSecondary: Z
|
|
20152
20152
|
}
|
|
20153
20153
|
)
|
|
20154
|
-
] }), oe =
|
|
20154
|
+
] }), oe = k ? "!ui-p-0 ui-flex ui-justify-center ui-items-center" : "", Re = Te(
|
|
20155
20155
|
`${fe} ui-relative ui-justify-center ui-flex ui-items-center ui-box-border ui-border-solid ui-gap-x-4 ui-border-[1px] ui-border-default ui-cursor-default ${R && a !== "icon" ? "ui-shadow-button" : ""} ${Ge && Ke ? "ui-overflow-visible" : "ui-overflow-hidden"} ${Ce ? "enabled:!ui-cursor-pointer" : ""} ${n1 ? "ui-transition-all ui-duration-300" : ""} ui-group`,
|
|
20156
20156
|
{
|
|
20157
20157
|
variants: {
|
|
@@ -20161,11 +20161,11 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20161
20161
|
emoji: " ui-border-transparent !ui-p-0"
|
|
20162
20162
|
},
|
|
20163
20163
|
size: {
|
|
20164
|
-
xxs: `ui-max-h-control-xxs ui-min-h-control-xxs ui-min-w-control-xxs ui-font-body-xs-bold ${V ? "ui-px-8 ui-py-4" : "ui-p-4 ui-w-control-xxs ui-flex ui-justify-center ui-items-center"} ui-h-control-xxs ui-text-body-xs-bold ${
|
|
20165
|
-
xs: `ui-max-h-control-xs ui-min-h-control-xs ui-min-w-control-xs ui-font-body-sm-bold ${V ? "ui-px-12 ui-py-4" : "ui-p-4 ui-w-control-xs ui-flex ui-justify-center ui-items-center"} ui-h-control-xs ui-text-body-sm-bold ${
|
|
20166
|
-
sm: `ui-max-h-control-sm ui-min-h-control-sm ui-min-w-control-sm ui-font-body-sm-bold ${V ? "ui-px-12 ui-py-6" : "ui-p-6 ui-w-control-sm ui-flex ui-justify-center ui-items-center"} ui-h-control-sm ui-text-body-sm-bold ${
|
|
20167
|
-
md: `ui-max-h-control-md ui-min-h-control-md ui-min-w-control-md ui-font-body-sm-bold ${V ? "ui-px-16 ui-py-8" : "ui-p-8 ui-w-control-md ui-flex ui-justify-center ui-items-center"} ui-h-control-md ui-text-body-sm-bold ${
|
|
20168
|
-
lg: `ui-max-h-control-lg ui-min-h-control-lg ui-min-w-control-lg ui-font-body-sm-bold ${V ? "ui-px-24 ui-py-12" : "ui-p-12 ui-w-control-lg ui-flex ui-justify-center ui-items-center"} ui-h-control-lg ui-text-body-sm-bold ${
|
|
20164
|
+
xxs: `ui-max-h-control-xxs ui-min-h-control-xxs ui-min-w-control-xxs ui-font-body-xs-bold ${V ? "ui-px-8 ui-py-4" : "ui-p-4 ui-w-control-xxs ui-flex ui-justify-center ui-items-center"} ui-h-control-xxs ui-text-body-xs-bold ${k ? ` ui-max-w-control-xxs ui-min-h-control-xxs ${oe}` : ""}`,
|
|
20165
|
+
xs: `ui-max-h-control-xs ui-min-h-control-xs ui-min-w-control-xs ui-font-body-sm-bold ${V ? "ui-px-12 ui-py-4" : "ui-p-4 ui-w-control-xs ui-flex ui-justify-center ui-items-center"} ui-h-control-xs ui-text-body-sm-bold ${k ? ` ui-max-w-control-xs ui-min-h-control-xs ${oe}` : ""}`,
|
|
20166
|
+
sm: `ui-max-h-control-sm ui-min-h-control-sm ui-min-w-control-sm ui-font-body-sm-bold ${V ? "ui-px-12 ui-py-6" : "ui-p-6 ui-w-control-sm ui-flex ui-justify-center ui-items-center"} ui-h-control-sm ui-text-body-sm-bold ${k ? ` ui-max-w-control-sm ui-min-h-control-sm ${oe}` : ""}`,
|
|
20167
|
+
md: `ui-max-h-control-md ui-min-h-control-md ui-min-w-control-md ui-font-body-sm-bold ${V ? "ui-px-16 ui-py-8" : "ui-p-8 ui-w-control-md ui-flex ui-justify-center ui-items-center"} ui-h-control-md ui-text-body-sm-bold ${k ? ` ui-max-w-control-md ui-min-h-control-md ${oe}` : ""}`,
|
|
20168
|
+
lg: `ui-max-h-control-lg ui-min-h-control-lg ui-min-w-control-lg ui-font-body-sm-bold ${V ? "ui-px-24 ui-py-12" : "ui-p-12 ui-w-control-lg ui-flex ui-justify-center ui-items-center"} ui-h-control-lg ui-text-body-sm-bold ${k ? ` ui-max-w-control-lg ui-min-h-control-lg ${oe}` : ""}`
|
|
20169
20169
|
},
|
|
20170
20170
|
color: {
|
|
20171
20171
|
primary: y1(a, O, ne, ve, ke).primary,
|
|
@@ -20190,7 +20190,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20190
20190
|
},
|
|
20191
20191
|
fullWidth: {
|
|
20192
20192
|
true: "ui-w-full",
|
|
20193
|
-
false: !
|
|
20193
|
+
false: !k && !M && V ? "ui-min-w-fit" : ""
|
|
20194
20194
|
}
|
|
20195
20195
|
},
|
|
20196
20196
|
defaultVariants: {
|
|
@@ -20249,7 +20249,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20249
20249
|
) : ge === "div" ? /* @__PURE__ */ t(
|
|
20250
20250
|
fn,
|
|
20251
20251
|
{
|
|
20252
|
-
label:
|
|
20252
|
+
label: $,
|
|
20253
20253
|
position: q,
|
|
20254
20254
|
alignment: K,
|
|
20255
20255
|
absolute: ce,
|
|
@@ -20293,7 +20293,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20293
20293
|
) : /* @__PURE__ */ t(
|
|
20294
20294
|
fn,
|
|
20295
20295
|
{
|
|
20296
|
-
label:
|
|
20296
|
+
label: $,
|
|
20297
20297
|
position: q,
|
|
20298
20298
|
alignment: K,
|
|
20299
20299
|
delay: W,
|
|
@@ -20460,7 +20460,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20460
20460
|
"bottom-right": "ui-fixed ui-bottom-5 ui-right-5"
|
|
20461
20461
|
})[n],
|
|
20462
20462
|
getIconForType: (n) => ({
|
|
20463
|
-
success:
|
|
20463
|
+
success: Pi,
|
|
20464
20464
|
danger: Ei,
|
|
20465
20465
|
warning: Zi,
|
|
20466
20466
|
info: Bn,
|
|
@@ -20488,55 +20488,34 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20488
20488
|
return /* @__PURE__ */ h(
|
|
20489
20489
|
"div",
|
|
20490
20490
|
{
|
|
20491
|
-
className: `ui-flex ui-
|
|
20491
|
+
className: `ui-flex ui-w-full ui-flex-col ui-justify-between ui-gap-16 ${i.title, "ui-items-start"}`,
|
|
20492
20492
|
children: [
|
|
20493
|
-
/* @__PURE__ */ h("div", { className: "ui-flex ui-
|
|
20493
|
+
/* @__PURE__ */ h("div", { className: "ui-flex ui-w-full ui-flex-1 ui-items-start ui-justify-between ui-gap-8", children: [
|
|
20494
20494
|
i.avatar ? (
|
|
20495
20495
|
// Avatar con imagen de persona
|
|
20496
|
-
/* @__PURE__ */ t(
|
|
20497
|
-
o1,
|
|
20498
|
-
{
|
|
20499
|
-
type: "people",
|
|
20500
|
-
src: i.avatar,
|
|
20501
|
-
size: "xs",
|
|
20502
|
-
className: "ui-flex-shrink-0"
|
|
20503
|
-
}
|
|
20504
|
-
)
|
|
20496
|
+
/* @__PURE__ */ t(o1, { type: "people", src: i.avatar, size: "xs", className: "ui-flex-shrink-0" })
|
|
20505
20497
|
) : (
|
|
20506
20498
|
// Icono fijo según el color del alert
|
|
20499
|
+
// Wrapper que usa la variable CSS del color de texto de alerta
|
|
20507
20500
|
/* @__PURE__ */ t(
|
|
20508
|
-
|
|
20501
|
+
"div",
|
|
20509
20502
|
{
|
|
20510
|
-
name: r(i.color || "danger"),
|
|
20511
|
-
color: i.color,
|
|
20512
|
-
size: "sm",
|
|
20513
20503
|
className: "ui-flex-shrink-0",
|
|
20514
|
-
|
|
20515
|
-
|
|
20516
|
-
|
|
20504
|
+
style: {
|
|
20505
|
+
color: `var(--ui-color-alert-${i.color || "danger"}-text)`
|
|
20506
|
+
},
|
|
20507
|
+
children: /* @__PURE__ */ t(de, { name: r(i.color || "danger"), color: "current", size: "sm" })
|
|
20517
20508
|
}
|
|
20518
20509
|
)
|
|
20519
20510
|
),
|
|
20520
|
-
/* @__PURE__ */ h("div", { className: "ui-flex ui-items-start ui-justify-between ui-gap-8
|
|
20521
|
-
/* @__PURE__ */ h("div", { className: "ui-min-w-0 ui-flex-1 ui-flex
|
|
20522
|
-
i.title && /* @__PURE__ */ t(
|
|
20523
|
-
|
|
20524
|
-
{
|
|
20525
|
-
className: "ui-font-body-sm-bold ui-text-body-sm-bold ui-text-primary",
|
|
20526
|
-
children: i.title
|
|
20527
|
-
}
|
|
20528
|
-
),
|
|
20529
|
-
/* @__PURE__ */ t(
|
|
20530
|
-
"div",
|
|
20531
|
-
{
|
|
20532
|
-
className: "ui-font-body-xs-regular ui-text-body-xs-regular ui-text-secondary ui-text-pretty",
|
|
20533
|
-
children: i.message
|
|
20534
|
-
}
|
|
20535
|
-
),
|
|
20511
|
+
/* @__PURE__ */ h("div", { className: "ui-flex ui-flex-1 ui-items-start ui-justify-between ui-gap-8", children: [
|
|
20512
|
+
/* @__PURE__ */ h("div", { className: "ui-flex ui-min-w-0 ui-flex-1 ui-flex-col ui-gap-0", children: [
|
|
20513
|
+
i.title && /* @__PURE__ */ t("div", { className: "ui-text-body-sm-bold ui-font-body-sm-bold", children: i.title }),
|
|
20514
|
+
/* @__PURE__ */ t("div", { className: "ui-text-pretty ui-text-body-xs-regular ui-font-body-xs-regular", children: i.message }),
|
|
20536
20515
|
i.description && /* @__PURE__ */ t(
|
|
20537
20516
|
"div",
|
|
20538
20517
|
{
|
|
20539
|
-
className: "ui-
|
|
20518
|
+
className: "ui-mt-2 ui-text-pretty ui-text-body-xs-regular ui-font-body-xs-medium",
|
|
20540
20519
|
children: i.description
|
|
20541
20520
|
}
|
|
20542
20521
|
)
|
|
@@ -20554,7 +20533,7 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20554
20533
|
)
|
|
20555
20534
|
] })
|
|
20556
20535
|
] }),
|
|
20557
|
-
(i.onSecondaryClick || i.onPrimaryClick) && /* @__PURE__ */ h("div", { className: "ui-flex ui-
|
|
20536
|
+
(i.onSecondaryClick || i.onPrimaryClick) && /* @__PURE__ */ h("div", { className: "ui-flex ui-w-full ui-items-center ui-justify-end ui-gap-1.5", children: [
|
|
20558
20537
|
i.onSecondaryClick && /* @__PURE__ */ t(
|
|
20559
20538
|
se,
|
|
20560
20539
|
{
|
|
@@ -20631,42 +20610,36 @@ const Pu = (i = "top", r = "center", o = !1, e = 0, n = !1) => {
|
|
|
20631
20610
|
}
|
|
20632
20611
|
}, u = o ? a[e].out : a[e].in, s = {
|
|
20633
20612
|
success: {
|
|
20634
|
-
|
|
20635
|
-
|
|
20636
|
-
|
|
20637
|
-
|
|
20638
|
-
minimal: "ui-bg-fill ui-text-success"
|
|
20613
|
+
contained: "ui-bg-alert-success-bg ui-border-1 ui-border-solid ui-border-alert-success-border ui-text-alert-success-text",
|
|
20614
|
+
outlined: "ui-bg-alert-success-bg ui-border-1 ui-border-solid ui-border-alert-success-border ui-text-alert-success-text",
|
|
20615
|
+
accent: "ui-bg-alert-success-bg ui-text-alert-success-text ui-border-l-4 ui-border-solid ui-border-alert-success-border",
|
|
20616
|
+
minimal: "ui-bg-fill ui-text-alert-success-text"
|
|
20639
20617
|
},
|
|
20640
20618
|
danger: {
|
|
20641
|
-
|
|
20642
|
-
|
|
20643
|
-
|
|
20644
|
-
|
|
20645
|
-
minimal: "ui-bg-fill ui-text-danger"
|
|
20619
|
+
contained: "ui-bg-alert-danger-bg ui-border-1 ui-border-solid ui-border-alert-danger-border ui-text-alert-danger-text",
|
|
20620
|
+
outlined: "ui-bg-alert-danger-bg ui-border-1 ui-border-solid ui-border-alert-danger-border ui-text-alert-danger-text",
|
|
20621
|
+
accent: "ui-bg-alert-danger-bg ui-text-alert-danger-text ui-border-l-4 ui-border-solid ui-border-alert-danger-border",
|
|
20622
|
+
minimal: "ui-bg-fill ui-text-alert-danger-text"
|
|
20646
20623
|
},
|
|
20647
20624
|
info: {
|
|
20648
|
-
|
|
20649
|
-
|
|
20650
|
-
|
|
20651
|
-
|
|
20652
|
-
minimal: "ui-bg-fill ui-text-info"
|
|
20625
|
+
contained: "ui-bg-alert-info-bg ui-border-1 ui-border-solid ui-border-alert-info-border ui-text-alert-info-text",
|
|
20626
|
+
outlined: "ui-bg-alert-info-bg ui-border-1 ui-border-solid ui-border-alert-info-border ui-text-alert-info-text",
|
|
20627
|
+
accent: "ui-bg-alert-info-bg ui-text-alert-info-text ui-border-l-4 ui-border-solid ui-border-alert-info-border",
|
|
20628
|
+
minimal: "ui-bg-fill ui-text-alert-info-text"
|
|
20653
20629
|
},
|
|
20654
20630
|
warning: {
|
|
20655
|
-
|
|
20656
|
-
|
|
20657
|
-
|
|
20658
|
-
|
|
20659
|
-
minimal: "ui-bg-fill ui-text-warning"
|
|
20631
|
+
contained: "ui-bg-alert-warning-bg ui-border-1 ui-border-solid ui-border-alert-warning-border ui-text-alert-warning-text",
|
|
20632
|
+
outlined: "ui-bg-alert-warning-bg ui-border-1 ui-border-solid ui-border-alert-warning-border ui-text-alert-warning-text",
|
|
20633
|
+
accent: "ui-bg-alert-warning-bg ui-text-alert-warning-text ui-border-l-4 ui-border-solid ui-border-alert-warning-border",
|
|
20634
|
+
minimal: "ui-bg-fill ui-text-alert-warning-text"
|
|
20660
20635
|
},
|
|
20661
20636
|
neutral: {
|
|
20662
|
-
// Neutral - fondo siempre blanco
|
|
20663
20637
|
contained: "ui-bg-fill ui-border-1 ui-border-solid ui-border-default ui-text-secondary",
|
|
20664
20638
|
outlined: "ui-bg-fill ui-border-1 ui-border-solid ui-border-default ui-text-secondary",
|
|
20665
20639
|
accent: "ui-bg-fill ui-text-secondary ui-border-l-4 ui-border-solid ui-border-default",
|
|
20666
20640
|
minimal: "ui-bg-fill ui-text-secondary"
|
|
20667
20641
|
},
|
|
20668
20642
|
brand: {
|
|
20669
|
-
// Brand - fondo siempre blanco, usa tokens semánticos de brand (azul)
|
|
20670
20643
|
contained: "ui-bg-fill ui-border-1 ui-border-solid ui-border-default ui-text-brand",
|
|
20671
20644
|
outlined: "ui-bg-fill ui-border-1 ui-border-solid ui-border-default ui-text-brand",
|
|
20672
20645
|
accent: "ui-bg-fill ui-text-brand ui-border-l-4 ui-border-solid ui-border-default",
|
|
@@ -20826,8 +20799,8 @@ const xe = ({
|
|
|
20826
20799
|
icon: O,
|
|
20827
20800
|
link: M,
|
|
20828
20801
|
size: m = "sm",
|
|
20829
|
-
target:
|
|
20830
|
-
onClickIcon:
|
|
20802
|
+
target: j = "_self",
|
|
20803
|
+
onClickIcon: k,
|
|
20831
20804
|
disabled: L,
|
|
20832
20805
|
colorIcon: N,
|
|
20833
20806
|
tooltip: y,
|
|
@@ -20860,8 +20833,8 @@ const xe = ({
|
|
|
20860
20833
|
slotLeft: e,
|
|
20861
20834
|
slotRight: n,
|
|
20862
20835
|
link: M,
|
|
20863
|
-
target:
|
|
20864
|
-
onClickIcon:
|
|
20836
|
+
target: j,
|
|
20837
|
+
onClickIcon: k,
|
|
20865
20838
|
disabled: L,
|
|
20866
20839
|
colorIcon: N,
|
|
20867
20840
|
className: r,
|
|
@@ -20938,8 +20911,8 @@ const xe = ({
|
|
|
20938
20911
|
}) => {
|
|
20939
20912
|
const v = rs(r, p, g), O = p && p > 0 ? v : r, M = p && p > 0 ? 0 : l, {
|
|
20940
20913
|
color: m,
|
|
20941
|
-
size:
|
|
20942
|
-
progressSuffix:
|
|
20914
|
+
size: j,
|
|
20915
|
+
progressSuffix: k,
|
|
20943
20916
|
helperText: L,
|
|
20944
20917
|
helperTextType: N
|
|
20945
20918
|
} = os({
|
|
@@ -20960,7 +20933,7 @@ const xe = ({
|
|
|
20960
20933
|
), children: [
|
|
20961
20934
|
/* @__PURE__ */ h("span", { className: "ui-flex ui-items-center", children: [
|
|
20962
20935
|
/* @__PURE__ */ t("span", { className: "ui-text-right", children: Math.round(O) }),
|
|
20963
|
-
/* @__PURE__ */ t("span", { children:
|
|
20936
|
+
/* @__PURE__ */ t("span", { children: k })
|
|
20964
20937
|
] }),
|
|
20965
20938
|
a && /* @__PURE__ */ h("span", { className: "ui-ml-1", children: [
|
|
20966
20939
|
"(",
|
|
@@ -20989,7 +20962,7 @@ const xe = ({
|
|
|
20989
20962
|
Y1,
|
|
20990
20963
|
{
|
|
20991
20964
|
progress: O,
|
|
20992
|
-
size:
|
|
20965
|
+
size: j,
|
|
20993
20966
|
color: m,
|
|
20994
20967
|
duration: M,
|
|
20995
20968
|
withBackground: f,
|
|
@@ -21009,7 +20982,7 @@ const xe = ({
|
|
|
21009
20982
|
Y1,
|
|
21010
20983
|
{
|
|
21011
20984
|
progress: O,
|
|
21012
|
-
size:
|
|
20985
|
+
size: j,
|
|
21013
20986
|
color: m,
|
|
21014
20987
|
duration: M,
|
|
21015
20988
|
withBackground: f
|
|
@@ -21046,9 +21019,9 @@ const mt = ({
|
|
|
21046
21019
|
const { isVisible: O, isLeaving: M } = Xu({ open: i, externalIsLeaving: b });
|
|
21047
21020
|
if (!O)
|
|
21048
21021
|
return null;
|
|
21049
|
-
const m = !!f,
|
|
21022
|
+
const m = !!f, j = (N) => {
|
|
21050
21023
|
f && (N.stopPropagation(), f());
|
|
21051
|
-
},
|
|
21024
|
+
}, k = {
|
|
21052
21025
|
sm: "ui-p-12",
|
|
21053
21026
|
// 12px
|
|
21054
21027
|
md: "ui-p-16"
|
|
@@ -21084,10 +21057,10 @@ const mt = ({
|
|
|
21084
21057
|
"ui-gap-4",
|
|
21085
21058
|
// gap: 16px (space_16) entre Header/Footer/CloseIcon
|
|
21086
21059
|
"ui-items-start",
|
|
21087
|
-
|
|
21060
|
+
k[x]
|
|
21088
21061
|
// Padding en contenedor principal según Figma
|
|
21089
21062
|
),
|
|
21090
|
-
onClick:
|
|
21063
|
+
onClick: j,
|
|
21091
21064
|
children: /* @__PURE__ */ t("div", { className: "ui-flex-1 ui-min-w-0", children: /* @__PURE__ */ t(
|
|
21092
21065
|
Ju,
|
|
21093
21066
|
{
|
|
@@ -21308,7 +21281,7 @@ const mt = ({
|
|
|
21308
21281
|
containerClasses: p,
|
|
21309
21282
|
labelClasses: g
|
|
21310
21283
|
};
|
|
21311
|
-
},
|
|
21284
|
+
}, $e = x1(
|
|
21312
21285
|
({
|
|
21313
21286
|
label: i = "",
|
|
21314
21287
|
error: r = "",
|
|
@@ -21333,8 +21306,8 @@ const mt = ({
|
|
|
21333
21306
|
autosize: O = !1,
|
|
21334
21307
|
colorLeftIcon: M,
|
|
21335
21308
|
colorRightIcon: m,
|
|
21336
|
-
colorExtraIcon:
|
|
21337
|
-
leftSlotDuotonePrimary:
|
|
21309
|
+
colorExtraIcon: j,
|
|
21310
|
+
leftSlotDuotonePrimary: k,
|
|
21338
21311
|
leftSlotDuotoneSecondary: L,
|
|
21339
21312
|
leftSlotDuotoneOpacityPrimary: N,
|
|
21340
21313
|
leftSlotDuotoneOpacitySecondary: y,
|
|
@@ -21344,7 +21317,7 @@ const mt = ({
|
|
|
21344
21317
|
rightSlotDuotoneOpacitySecondary: E,
|
|
21345
21318
|
extraSlotDuotonePrimary: F,
|
|
21346
21319
|
extraSlotDuotoneSecondary: z,
|
|
21347
|
-
extraSlotDuotoneOpacityPrimary:
|
|
21320
|
+
extraSlotDuotoneOpacityPrimary: P,
|
|
21348
21321
|
extraSlotDuotoneOpacitySecondary: U,
|
|
21349
21322
|
infoTooltip: Y = "",
|
|
21350
21323
|
pill: te = "sm",
|
|
@@ -21408,7 +21381,7 @@ const mt = ({
|
|
|
21408
21381
|
tooltip: Y,
|
|
21409
21382
|
clickable: !1,
|
|
21410
21383
|
pointer: !1,
|
|
21411
|
-
icon:
|
|
21384
|
+
icon: $i
|
|
21412
21385
|
}
|
|
21413
21386
|
)
|
|
21414
21387
|
] }),
|
|
@@ -21428,7 +21401,7 @@ const mt = ({
|
|
|
21428
21401
|
size: "xxs",
|
|
21429
21402
|
defaultSizeIcon: !1,
|
|
21430
21403
|
colorIcon: M,
|
|
21431
|
-
colorIconDuotonePrimary:
|
|
21404
|
+
colorIconDuotonePrimary: k,
|
|
21432
21405
|
colorIconDuotoneSecondary: L,
|
|
21433
21406
|
opacityIconDuotonePrimary: N,
|
|
21434
21407
|
opacityIconDuotoneSecondary: y
|
|
@@ -21439,7 +21412,7 @@ const mt = ({
|
|
|
21439
21412
|
name: a,
|
|
21440
21413
|
size: "sm",
|
|
21441
21414
|
color: M || "current",
|
|
21442
|
-
colorDuotonePrimary:
|
|
21415
|
+
colorDuotonePrimary: k,
|
|
21443
21416
|
colorDuotoneSecondary: L,
|
|
21444
21417
|
opacityDuotonePrimary: N,
|
|
21445
21418
|
opacityDuotoneSecondary: y
|
|
@@ -21505,10 +21478,10 @@ const mt = ({
|
|
|
21505
21478
|
name: s,
|
|
21506
21479
|
size: "sm",
|
|
21507
21480
|
strokeWidth: 2,
|
|
21508
|
-
color:
|
|
21481
|
+
color: j || "current",
|
|
21509
21482
|
colorDuotonePrimary: F,
|
|
21510
21483
|
colorDuotoneSecondary: z,
|
|
21511
|
-
opacityDuotonePrimary:
|
|
21484
|
+
opacityDuotonePrimary: P,
|
|
21512
21485
|
opacityDuotoneSecondary: U
|
|
21513
21486
|
}
|
|
21514
21487
|
)
|
|
@@ -21522,7 +21495,7 @@ const mt = ({
|
|
|
21522
21495
|
);
|
|
21523
21496
|
}
|
|
21524
21497
|
);
|
|
21525
|
-
|
|
21498
|
+
$e.displayName = "Input";
|
|
21526
21499
|
const bt = (i, r = {}) => {
|
|
21527
21500
|
const { enterDelay: o = 10, exitDelay: e = 300 } = r, [n, a] = A(!1), [u, s] = A(!1);
|
|
21528
21501
|
return J(() => {
|
|
@@ -21576,19 +21549,19 @@ const bt = (i, r = {}) => {
|
|
|
21576
21549
|
if (!i || r || !u) return;
|
|
21577
21550
|
const d = (p) => {
|
|
21578
21551
|
var M, m;
|
|
21579
|
-
const g = p.target, C = (M = o.current) == null ? void 0 : M.contains(g), b = (m = e == null ? void 0 : e.current) == null ? void 0 : m.contains(g), x = n ? g.closest(`[data-${a}-id="${n}"]`) : !1, w = a && !f ? g.closest(`[data-${a}-container-id="${n}"]`) : !1, V = s.some((
|
|
21580
|
-
let
|
|
21581
|
-
for (;
|
|
21582
|
-
const
|
|
21583
|
-
for (let N = 0; N <
|
|
21584
|
-
const y =
|
|
21552
|
+
const g = p.target, C = (M = o.current) == null ? void 0 : M.contains(g), b = (m = e == null ? void 0 : e.current) == null ? void 0 : m.contains(g), x = n ? g.closest(`[data-${a}-id="${n}"]`) : !1, w = a && !f ? g.closest(`[data-${a}-container-id="${n}"]`) : !1, V = s.some((j) => g.closest(j)), O = (() => {
|
|
21553
|
+
let j = g;
|
|
21554
|
+
for (; j && j !== document.body; ) {
|
|
21555
|
+
const k = j.attributes;
|
|
21556
|
+
for (let N = 0; N < k.length; N++) {
|
|
21557
|
+
const y = k[N];
|
|
21585
21558
|
if (y.name.startsWith("data-") && y.name.endsWith("-id")) {
|
|
21586
21559
|
if (a === "dropdown" && (y.name.includes("popup") || y.name.includes("dropdown")))
|
|
21587
21560
|
continue;
|
|
21588
21561
|
return !0;
|
|
21589
21562
|
}
|
|
21590
21563
|
}
|
|
21591
|
-
const L =
|
|
21564
|
+
const L = j.className;
|
|
21592
21565
|
if (typeof L == "string") {
|
|
21593
21566
|
const N = L.split(" ");
|
|
21594
21567
|
if ([
|
|
@@ -21602,7 +21575,7 @@ const bt = (i, r = {}) => {
|
|
|
21602
21575
|
].some((H) => N.includes(H)) || N.some((H) => H.endsWith("-portal")))
|
|
21603
21576
|
return !0;
|
|
21604
21577
|
}
|
|
21605
|
-
|
|
21578
|
+
j = j.parentElement;
|
|
21606
21579
|
}
|
|
21607
21580
|
return !1;
|
|
21608
21581
|
})();
|
|
@@ -21638,28 +21611,28 @@ const bt = (i, r = {}) => {
|
|
|
21638
21611
|
})), w.dataTransfer.effectAllowed = "move", w.dataTransfer.setData("text/html", V);
|
|
21639
21612
|
const M = w.currentTarget.parentElement;
|
|
21640
21613
|
if (M) {
|
|
21641
|
-
const m = M.getBoundingClientRect(),
|
|
21642
|
-
if (
|
|
21643
|
-
|
|
21614
|
+
const m = M.getBoundingClientRect(), j = document.createElement("canvas"), k = j.getContext("2d"), L = window.devicePixelRatio || 1;
|
|
21615
|
+
if (j.width = m.width * L, j.height = m.height * L, j.style.width = `${m.width}px`, j.style.height = `${m.height}px`, k) {
|
|
21616
|
+
k.scale(L, L), window.getComputedStyle(M);
|
|
21644
21617
|
const N = getComputedStyle(document.documentElement).getPropertyValue("--color-bg-fill-hover").trim() || "#f0f1f2", y = getComputedStyle(document.documentElement).getPropertyValue("--color-border-default").trim() || "#c6c8cc", H = getComputedStyle(document.documentElement).getPropertyValue("--color-text-primary").trim() || "#313336", D = getComputedStyle(document.documentElement).getPropertyValue("--color-icon-default").trim() || "#949494";
|
|
21645
|
-
|
|
21618
|
+
k.fillStyle = N, k.shadowColor = "rgba(0, 0, 0, 0.1)", k.shadowBlur = 8, k.shadowOffsetX = 0, k.shadowOffsetY = 2;
|
|
21646
21619
|
const B = 8;
|
|
21647
|
-
|
|
21620
|
+
k.beginPath(), k.moveTo(B, 0), k.lineTo(m.width - B, 0), k.quadraticCurveTo(m.width, 0, m.width, B), k.lineTo(m.width, m.height - B), k.quadraticCurveTo(m.width, m.height, m.width - B, m.height), k.lineTo(B, m.height), k.quadraticCurveTo(0, m.height, 0, m.height - B), k.lineTo(0, B), k.quadraticCurveTo(0, 0, B, 0), k.closePath(), k.fill(), k.strokeStyle = y, k.lineWidth = 1, k.stroke(), k.fillStyle = H, k.font = "500 14px SF Pro, system-ui, sans-serif", k.textBaseline = "middle";
|
|
21648
21621
|
let E = M.querySelector('[class*="font-semibold"]');
|
|
21649
21622
|
if (E || (E = M.querySelector('[class*="ui-font-body-sm-medium"]') || M.querySelector('[class*="ui-text-body-sm"]') || M.querySelector('[class*="ui-text-primary"]') || M.querySelector('[class*="font-body-sm-medium"]') || M.querySelector('[class*="text-primary"]') || M.querySelector(".ui-flex-1 > div:first-child")), E) {
|
|
21650
21623
|
const Y = E.textContent || "";
|
|
21651
|
-
|
|
21624
|
+
k.fillText(Y, 40, m.height / 2);
|
|
21652
21625
|
}
|
|
21653
|
-
|
|
21654
|
-
const F = 2, z = 4,
|
|
21626
|
+
k.fillStyle = D;
|
|
21627
|
+
const F = 2, z = 4, P = 12, U = m.height / 2;
|
|
21655
21628
|
for (let Y = 0; Y < 3; Y++)
|
|
21656
21629
|
for (let te = 0; te < 2; te++) {
|
|
21657
|
-
const _ =
|
|
21658
|
-
|
|
21630
|
+
const _ = P + te * z, X = U - z + Y * z;
|
|
21631
|
+
k.beginPath(), k.arc(_, X, F, 0, Math.PI * 2), k.fill();
|
|
21659
21632
|
}
|
|
21660
21633
|
}
|
|
21661
|
-
|
|
21662
|
-
document.body.contains(
|
|
21634
|
+
j.style.position = "absolute", j.style.top = "-9999px", j.style.left = "-9999px", document.body.appendChild(j), w.dataTransfer.setDragImage(j, 20, m.height / 2), setTimeout(() => {
|
|
21635
|
+
document.body.contains(j) && document.body.removeChild(j);
|
|
21663
21636
|
}, 0);
|
|
21664
21637
|
}
|
|
21665
21638
|
}, []), p = I((w) => {
|
|
@@ -21782,8 +21755,8 @@ const bt = (i, r = {}) => {
|
|
|
21782
21755
|
onChangeTab: O,
|
|
21783
21756
|
headerButtonIcon: M,
|
|
21784
21757
|
headerButtonIconDuotonePrimary: m,
|
|
21785
|
-
headerButtonIconDuotoneSecondary:
|
|
21786
|
-
headerButtonIconDuotoneOpacityPrimary:
|
|
21758
|
+
headerButtonIconDuotoneSecondary: j,
|
|
21759
|
+
headerButtonIconDuotoneOpacityPrimary: k,
|
|
21787
21760
|
headerButtonIconDuotoneOpacitySecondary: L,
|
|
21788
21761
|
headerButtonOnClick: N,
|
|
21789
21762
|
footerButtonIcon: y,
|
|
@@ -21793,7 +21766,7 @@ const bt = (i, r = {}) => {
|
|
|
21793
21766
|
footerButtonIconDuotoneOpacitySecondary: E,
|
|
21794
21767
|
footerButtonOnClick: F,
|
|
21795
21768
|
cancelButtonSlotLeft: z,
|
|
21796
|
-
successButtonSlotRight:
|
|
21769
|
+
successButtonSlotRight: P,
|
|
21797
21770
|
disableCancelButton: U,
|
|
21798
21771
|
disableSuccessButton: Y,
|
|
21799
21772
|
successButtonColor: te = "primary",
|
|
@@ -21829,14 +21802,14 @@ const bt = (i, r = {}) => {
|
|
|
21829
21802
|
iconDuotoneOpacitySecondary: s,
|
|
21830
21803
|
tabs: V,
|
|
21831
21804
|
defaultValueTab: v,
|
|
21832
|
-
onChangeTab: (
|
|
21833
|
-
le(
|
|
21805
|
+
onChangeTab: ($) => {
|
|
21806
|
+
le($), O && O($);
|
|
21834
21807
|
},
|
|
21835
21808
|
currentTab: re,
|
|
21836
21809
|
headerButtonIcon: M,
|
|
21837
21810
|
headerButtonIconDuotonePrimary: m,
|
|
21838
|
-
headerButtonIconDuotoneSecondary:
|
|
21839
|
-
headerButtonIconDuotoneOpacityPrimary:
|
|
21811
|
+
headerButtonIconDuotoneSecondary: j,
|
|
21812
|
+
headerButtonIconDuotoneOpacityPrimary: k,
|
|
21840
21813
|
headerButtonIconDuotoneOpacitySecondary: L,
|
|
21841
21814
|
headerButtonOnClick: N,
|
|
21842
21815
|
footerButtonIcon: y,
|
|
@@ -21846,7 +21819,7 @@ const bt = (i, r = {}) => {
|
|
|
21846
21819
|
footerButtonIconDuotoneOpacitySecondary: E,
|
|
21847
21820
|
footerButtonOnClick: F,
|
|
21848
21821
|
cancelButtonSlotLeft: z,
|
|
21849
|
-
successButtonSlotRight:
|
|
21822
|
+
successButtonSlotRight: P,
|
|
21850
21823
|
disableCancelButton: U,
|
|
21851
21824
|
disableSuccessButton: Y,
|
|
21852
21825
|
successButtonColor: te,
|
|
@@ -21946,8 +21919,8 @@ const bt = (i, r = {}) => {
|
|
|
21946
21919
|
icon: O,
|
|
21947
21920
|
iconDuotonePrimary: M,
|
|
21948
21921
|
iconDuotoneSecondary: m,
|
|
21949
|
-
iconDuotoneOpacityPrimary:
|
|
21950
|
-
iconDuotoneOpacitySecondary:
|
|
21922
|
+
iconDuotoneOpacityPrimary: j,
|
|
21923
|
+
iconDuotoneOpacitySecondary: k,
|
|
21951
21924
|
tabs: L,
|
|
21952
21925
|
defaultValueTab: N,
|
|
21953
21926
|
onChangeTab: y,
|
|
@@ -21957,14 +21930,14 @@ const bt = (i, r = {}) => {
|
|
|
21957
21930
|
headerButtonIconDuotoneSecondary: E,
|
|
21958
21931
|
headerButtonIconDuotoneOpacityPrimary: F,
|
|
21959
21932
|
headerButtonIconDuotoneOpacitySecondary: z,
|
|
21960
|
-
headerButtonOnClick:
|
|
21933
|
+
headerButtonOnClick: P,
|
|
21961
21934
|
badgeIcon: U,
|
|
21962
21935
|
badgeIconDuotonePrimary: Y,
|
|
21963
21936
|
badgeIconDuotoneSecondary: te,
|
|
21964
21937
|
badgeIconDuotoneOpacityPrimary: _,
|
|
21965
21938
|
badgeIconDuotoneOpacitySecondary: X,
|
|
21966
21939
|
badgeLabel: G
|
|
21967
|
-
} = en(), T = r ?? v, Z = u ?? D, R = c ??
|
|
21940
|
+
} = en(), T = r ?? v, Z = u ?? D, R = c ?? P, ne = p ?? U, re = w ?? G, le = (e == null ? void 0 : e.length) > 0 ? e : L, ge = (le == null ? void 0 : le.length) ?? !1, fe = a ?? y, $ = n ?? N, q = (K) => {
|
|
21968
21941
|
fe && fe(K);
|
|
21969
21942
|
};
|
|
21970
21943
|
return /* @__PURE__ */ h("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: [
|
|
@@ -21977,8 +21950,8 @@ const bt = (i, r = {}) => {
|
|
|
21977
21950
|
color: "blue",
|
|
21978
21951
|
colorDuotonePrimary: M,
|
|
21979
21952
|
colorDuotoneSecondary: m,
|
|
21980
|
-
opacityDuotonePrimary:
|
|
21981
|
-
opacityDuotoneSecondary:
|
|
21953
|
+
opacityDuotonePrimary: j,
|
|
21954
|
+
opacityDuotoneSecondary: k
|
|
21982
21955
|
}
|
|
21983
21956
|
),
|
|
21984
21957
|
/* @__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 }),
|
|
@@ -22029,7 +22002,7 @@ const bt = (i, r = {}) => {
|
|
|
22029
22002
|
hs,
|
|
22030
22003
|
{
|
|
22031
22004
|
options: le ?? [],
|
|
22032
|
-
defaultValue: H ??
|
|
22005
|
+
defaultValue: H ?? $,
|
|
22033
22006
|
size: "sm",
|
|
22034
22007
|
onChange: (K) => {
|
|
22035
22008
|
q(K);
|
|
@@ -22078,8 +22051,8 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22078
22051
|
footerButtonIconDuotonePrimary: O,
|
|
22079
22052
|
footerButtonIconDuotoneSecondary: M,
|
|
22080
22053
|
footerButtonIconDuotoneOpacityPrimary: m,
|
|
22081
|
-
footerButtonIconDuotoneOpacitySecondary:
|
|
22082
|
-
footerButtonOnClick:
|
|
22054
|
+
footerButtonIconDuotoneOpacitySecondary: j,
|
|
22055
|
+
footerButtonOnClick: k,
|
|
22083
22056
|
cancelButtonSlotLeft: L,
|
|
22084
22057
|
successButtonSlotRight: N,
|
|
22085
22058
|
successButtonColor: y,
|
|
@@ -22089,7 +22062,7 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22089
22062
|
g && g(U), V && d();
|
|
22090
22063
|
}, E = (U) => {
|
|
22091
22064
|
C && C(U), w && d();
|
|
22092
|
-
}, F = r ?? v, z = u ??
|
|
22065
|
+
}, F = r ?? v, z = u ?? k, P = f ?? y;
|
|
22093
22066
|
return /* @__PURE__ */ h(
|
|
22094
22067
|
"div",
|
|
22095
22068
|
{
|
|
@@ -22112,7 +22085,7 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22112
22085
|
iconDuotonePrimary: o ?? O,
|
|
22113
22086
|
iconDuotoneSecondary: e ?? M,
|
|
22114
22087
|
iconDuotoneOpacityPrimary: n ?? m,
|
|
22115
|
-
iconDuotoneOpacitySecondary: a ??
|
|
22088
|
+
iconDuotoneOpacitySecondary: a ?? j
|
|
22116
22089
|
}
|
|
22117
22090
|
),
|
|
22118
22091
|
i || /* @__PURE__ */ h("div", { className: "ui-flex ui-gap-12", children: [
|
|
@@ -22137,7 +22110,7 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22137
22110
|
pill: "sm",
|
|
22138
22111
|
onClick: E,
|
|
22139
22112
|
disabled: D,
|
|
22140
|
-
color:
|
|
22113
|
+
color: P ?? "primary",
|
|
22141
22114
|
children: p
|
|
22142
22115
|
}
|
|
22143
22116
|
)
|
|
@@ -22156,8 +22129,8 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22156
22129
|
padding: s = "md",
|
|
22157
22130
|
aspect: l = "none"
|
|
22158
22131
|
}) => {
|
|
22159
|
-
const { hideFooter: f, currentTab: d } = en(), [c, p] = A(!1), [g, C] = A(!1), b = ee(null), x = ee(d), [w, V] = A(null), [v, O] = A(null), [M, m] = A(null), [
|
|
22160
|
-
const Y =
|
|
22132
|
+
const { hideFooter: f, currentTab: d } = en(), [c, p] = A(!1), [g, C] = A(!1), b = ee(null), x = ee(d), [w, V] = A(null), [v, O] = A(null), [M, m] = A(null), [j, k] = A(null), [L, N] = A(null), y = I((P, U) => {
|
|
22133
|
+
const Y = P.getBoundingClientRect(), te = U.getBoundingClientRect(), _ = te.top - Y.top, X = te.left - Y.left;
|
|
22161
22134
|
O({
|
|
22162
22135
|
width: te.width,
|
|
22163
22136
|
height: te.height
|
|
@@ -22168,39 +22141,39 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22168
22141
|
}, []);
|
|
22169
22142
|
J(() => {
|
|
22170
22143
|
if (c && b.current) {
|
|
22171
|
-
let
|
|
22172
|
-
for (;
|
|
22173
|
-
if (
|
|
22174
|
-
V(
|
|
22175
|
-
let Y =
|
|
22144
|
+
let P = b.current.parentElement, U = 0;
|
|
22145
|
+
for (; P && U < 10; ) {
|
|
22146
|
+
if (P.classList.contains("ui-p-16")) {
|
|
22147
|
+
V(P), N(P);
|
|
22148
|
+
let Y = P.parentElement, te = 0;
|
|
22176
22149
|
for (; Y && te < 10; ) {
|
|
22177
22150
|
if (Y.classList.contains("ui-rounded-lg") && Y.classList.contains("ui-bg-fill") && Y.classList.contains("ui-flex")) {
|
|
22178
|
-
|
|
22151
|
+
k(Y), Y.getBoundingClientRect(), P.getBoundingClientRect(), y(Y, P);
|
|
22179
22152
|
break;
|
|
22180
22153
|
}
|
|
22181
22154
|
Y = Y.parentElement, te++;
|
|
22182
22155
|
}
|
|
22183
22156
|
break;
|
|
22184
22157
|
}
|
|
22185
|
-
|
|
22158
|
+
P = P.parentElement, U++;
|
|
22186
22159
|
}
|
|
22187
|
-
} else !c && !g && (V(null), O(null), m(null),
|
|
22160
|
+
} else !c && !g && (V(null), O(null), m(null), k(null), N(null));
|
|
22188
22161
|
}, [c, g]), J(() => {
|
|
22189
22162
|
if (c && w) {
|
|
22190
|
-
const
|
|
22191
|
-
return (
|
|
22192
|
-
(
|
|
22163
|
+
const P = window.getComputedStyle(w).position;
|
|
22164
|
+
return (P === "static" || P === "") && (w.style.position = "relative"), () => {
|
|
22165
|
+
(P === "static" || P === "") && (w.style.position = "");
|
|
22193
22166
|
};
|
|
22194
22167
|
}
|
|
22195
22168
|
}, [c, w]), J(() => {
|
|
22196
|
-
if (!c || !
|
|
22197
|
-
const
|
|
22198
|
-
y(
|
|
22169
|
+
if (!c || !j || !L) return;
|
|
22170
|
+
const P = new ResizeObserver(() => {
|
|
22171
|
+
y(j, L);
|
|
22199
22172
|
});
|
|
22200
|
-
return
|
|
22201
|
-
|
|
22173
|
+
return P.observe(j), P.observe(L), () => {
|
|
22174
|
+
P.disconnect();
|
|
22202
22175
|
};
|
|
22203
|
-
}, [c,
|
|
22176
|
+
}, [c, j, L, y]);
|
|
22204
22177
|
const H = {
|
|
22205
22178
|
sm: "ui-w-32 ui-h-32",
|
|
22206
22179
|
md: "ui-w-40 ui-h-40",
|
|
@@ -22227,7 +22200,7 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22227
22200
|
}, E = I(() => {
|
|
22228
22201
|
if (!v || l === "none")
|
|
22229
22202
|
return { width: "100%", height: "100%" };
|
|
22230
|
-
const { width:
|
|
22203
|
+
const { width: P, height: U } = v, Y = 64, te = P - Y, _ = U - Y, X = B[l];
|
|
22231
22204
|
let G, T;
|
|
22232
22205
|
return G = te, T = G / X, T > _ && (T = _, G = T * X), {
|
|
22233
22206
|
width: `${G}px`,
|
|
@@ -22348,7 +22321,7 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22348
22321
|
justifyContent: "center",
|
|
22349
22322
|
animation: g ? "fadeOutScale 0.3s ease-in-out" : "fadeInScale 0.3s ease-in-out"
|
|
22350
22323
|
},
|
|
22351
|
-
ref: (
|
|
22324
|
+
ref: (P) => {
|
|
22352
22325
|
},
|
|
22353
22326
|
children: /* @__PURE__ */ t(
|
|
22354
22327
|
"div",
|
|
@@ -22360,7 +22333,7 @@ const gs = ({ children: i, withPadding: r = !0 }) => {
|
|
|
22360
22333
|
// Padding externo de 16px
|
|
22361
22334
|
"ui-p-16"
|
|
22362
22335
|
),
|
|
22363
|
-
onClick: (
|
|
22336
|
+
onClick: (P) => P.stopPropagation(),
|
|
22364
22337
|
style: {
|
|
22365
22338
|
width: "100%",
|
|
22366
22339
|
height: "100%",
|
|
@@ -22522,8 +22495,8 @@ const Cs = {
|
|
|
22522
22495
|
tabs: O,
|
|
22523
22496
|
defaultValueTab: M,
|
|
22524
22497
|
onChangeTab: m,
|
|
22525
|
-
headerButtonIcon:
|
|
22526
|
-
iconDuotonePrimary:
|
|
22498
|
+
headerButtonIcon: j,
|
|
22499
|
+
iconDuotonePrimary: k,
|
|
22527
22500
|
iconDuotoneSecondary: L,
|
|
22528
22501
|
iconDuotoneOpacityPrimary: N,
|
|
22529
22502
|
iconDuotoneOpacitySecondary: y,
|
|
@@ -22533,7 +22506,7 @@ const Cs = {
|
|
|
22533
22506
|
headerButtonIconDuotoneOpacitySecondary: E,
|
|
22534
22507
|
headerButtonOnClick: F,
|
|
22535
22508
|
footerButtonIcon: z,
|
|
22536
|
-
footerButtonIconDuotonePrimary:
|
|
22509
|
+
footerButtonIconDuotonePrimary: P,
|
|
22537
22510
|
footerButtonIconDuotoneSecondary: U,
|
|
22538
22511
|
footerButtonIconDuotoneOpacityPrimary: Y,
|
|
22539
22512
|
footerButtonIconDuotoneOpacitySecondary: te,
|
|
@@ -22548,7 +22521,7 @@ const Cs = {
|
|
|
22548
22521
|
badgeIconDuotoneSecondary: le,
|
|
22549
22522
|
badgeIconDuotoneOpacityPrimary: ge,
|
|
22550
22523
|
badgeIconDuotoneOpacitySecondary: fe,
|
|
22551
|
-
badgeLabel:
|
|
22524
|
+
badgeLabel: $,
|
|
22552
22525
|
hideFooter: q = !1
|
|
22553
22526
|
}) => {
|
|
22554
22527
|
const { isVisible: K, animateIn: W, container: ce, modalRef: pe } = ps({
|
|
@@ -22608,18 +22581,18 @@ const Cs = {
|
|
|
22608
22581
|
closeAtCancel: v,
|
|
22609
22582
|
title: C,
|
|
22610
22583
|
icon: o,
|
|
22611
|
-
iconDuotonePrimary:
|
|
22584
|
+
iconDuotonePrimary: k,
|
|
22612
22585
|
iconDuotoneSecondary: L,
|
|
22613
22586
|
iconDuotoneOpacityPrimary: N,
|
|
22614
22587
|
iconDuotoneOpacitySecondary: y,
|
|
22615
|
-
headerButtonIcon:
|
|
22588
|
+
headerButtonIcon: j,
|
|
22616
22589
|
headerButtonIconDuotonePrimary: H,
|
|
22617
22590
|
headerButtonIconDuotoneSecondary: D,
|
|
22618
22591
|
headerButtonIconDuotoneOpacityPrimary: B,
|
|
22619
22592
|
headerButtonIconDuotoneOpacitySecondary: E,
|
|
22620
22593
|
headerButtonOnClick: F,
|
|
22621
22594
|
footerButtonIcon: z,
|
|
22622
|
-
footerButtonIconDuotonePrimary:
|
|
22595
|
+
footerButtonIconDuotonePrimary: P,
|
|
22623
22596
|
footerButtonIconDuotoneSecondary: U,
|
|
22624
22597
|
footerButtonIconDuotoneOpacityPrimary: Y,
|
|
22625
22598
|
footerButtonIconDuotoneOpacitySecondary: te,
|
|
@@ -22637,7 +22610,7 @@ const Cs = {
|
|
|
22637
22610
|
badgeIconDuotoneSecondary: le,
|
|
22638
22611
|
badgeIconDuotoneOpacityPrimary: ge,
|
|
22639
22612
|
badgeIconDuotoneOpacitySecondary: fe,
|
|
22640
|
-
badgeLabel:
|
|
22613
|
+
badgeLabel: $,
|
|
22641
22614
|
hideFooter: q,
|
|
22642
22615
|
children: [
|
|
22643
22616
|
!be && (a || C ? /* @__PURE__ */ t(nn, { title: C }) : null),
|
|
@@ -22657,7 +22630,7 @@ const Cs = {
|
|
|
22657
22630
|
Body: gs,
|
|
22658
22631
|
Footer: Hn,
|
|
22659
22632
|
Image: kt
|
|
22660
|
-
}),
|
|
22633
|
+
}), P8 = ({
|
|
22661
22634
|
isOpen: i,
|
|
22662
22635
|
onClose: r,
|
|
22663
22636
|
label: o = "",
|
|
@@ -22681,7 +22654,7 @@ const Cs = {
|
|
|
22681
22654
|
successButtonText: O = "Confirmar",
|
|
22682
22655
|
size: M = "md"
|
|
22683
22656
|
}) => {
|
|
22684
|
-
const [m,
|
|
22657
|
+
const [m, j] = A("");
|
|
22685
22658
|
return /* @__PURE__ */ t(
|
|
22686
22659
|
qn,
|
|
22687
22660
|
{
|
|
@@ -22716,7 +22689,7 @@ const Cs = {
|
|
|
22716
22689
|
),
|
|
22717
22690
|
e && /* @__PURE__ */ t("h2", { className: "ui-text-3xl ui-font-semibold ui-text-neutral-700", children: e }),
|
|
22718
22691
|
n && /* @__PURE__ */ t("h3", { className: "ui-text-neutral-500 ui-text-center", children: n }),
|
|
22719
|
-
a && /* @__PURE__ */ t(
|
|
22692
|
+
a && /* @__PURE__ */ t($e, { fullWidth: !0, label: o, value: m, onChange: (k) => j(k.target.value), placeholder: w })
|
|
22720
22693
|
] }) })
|
|
22721
22694
|
}
|
|
22722
22695
|
);
|
|
@@ -22857,9 +22830,9 @@ const Cs = {
|
|
|
22857
22830
|
e && !O && "ui-cursor-default",
|
|
22858
22831
|
e && "ui-pr-1",
|
|
22859
22832
|
n
|
|
22860
|
-
),
|
|
22833
|
+
), j = (H) => {
|
|
22861
22834
|
H.stopPropagation(), O || (p(!0), setTimeout(() => p(!1), 150), e == null || e(H));
|
|
22862
|
-
},
|
|
22835
|
+
}, k = (H) => {
|
|
22863
22836
|
!e && !O && u && (p(!0), setTimeout(() => p(!1), 150), u(H));
|
|
22864
22837
|
}, L = () => {
|
|
22865
22838
|
O || p(!0);
|
|
@@ -22875,7 +22848,7 @@ const Cs = {
|
|
|
22875
22848
|
"div",
|
|
22876
22849
|
{
|
|
22877
22850
|
className: m,
|
|
22878
|
-
onClick:
|
|
22851
|
+
onClick: k,
|
|
22879
22852
|
onMouseDown: L,
|
|
22880
22853
|
onMouseUp: N,
|
|
22881
22854
|
onMouseLeave: N,
|
|
@@ -22903,7 +22876,7 @@ const Cs = {
|
|
|
22903
22876
|
"button",
|
|
22904
22877
|
{
|
|
22905
22878
|
type: "button",
|
|
22906
|
-
onClick:
|
|
22879
|
+
onClick: j,
|
|
22907
22880
|
onMouseDown: L,
|
|
22908
22881
|
onMouseUp: N,
|
|
22909
22882
|
onMouseLeave: N,
|
|
@@ -22946,20 +22919,20 @@ const Cs = {
|
|
|
22946
22919
|
if (!M || !x || l.some(
|
|
22947
22920
|
(L) => L.label.toLowerCase() === M.toLowerCase()
|
|
22948
22921
|
)) return;
|
|
22949
|
-
const
|
|
22922
|
+
const j = {
|
|
22950
22923
|
id: Vt(),
|
|
22951
22924
|
label: M,
|
|
22952
22925
|
color: w()
|
|
22953
|
-
},
|
|
22954
|
-
f(
|
|
22926
|
+
}, k = [...l, j];
|
|
22927
|
+
f(k), c(""), o && o.length > 0 && b((L) => L + 1), a == null || a(j), n == null || n({
|
|
22955
22928
|
type: "add",
|
|
22956
|
-
item:
|
|
22957
|
-
items:
|
|
22929
|
+
item: j,
|
|
22930
|
+
items: k
|
|
22958
22931
|
});
|
|
22959
22932
|
}, [l, x, w, o, a, n]), v = I((O) => {
|
|
22960
|
-
const M = l.find((
|
|
22933
|
+
const M = l.find((j) => j.id === O);
|
|
22961
22934
|
if (!M) return;
|
|
22962
|
-
const m = l.filter((
|
|
22935
|
+
const m = l.filter((j) => j.id !== O);
|
|
22963
22936
|
f(m), u == null || u(M), n == null || n({
|
|
22964
22937
|
type: "remove",
|
|
22965
22938
|
item: M,
|
|
@@ -23007,8 +22980,8 @@ const Cs = {
|
|
|
23007
22980
|
inputValue: O,
|
|
23008
22981
|
isFocused: M,
|
|
23009
22982
|
setInputValue: m,
|
|
23010
|
-
setIsFocused:
|
|
23011
|
-
addBadge:
|
|
22983
|
+
setIsFocused: j,
|
|
22984
|
+
addBadge: k,
|
|
23012
22985
|
removeBadge: L,
|
|
23013
22986
|
canAddMore: N
|
|
23014
22987
|
} = xs({
|
|
@@ -23021,15 +22994,15 @@ const Cs = {
|
|
|
23021
22994
|
onRemove: g
|
|
23022
22995
|
}), y = (z) => {
|
|
23023
22996
|
if (z.key === "Enter")
|
|
23024
|
-
z.preventDefault(),
|
|
22997
|
+
z.preventDefault(), k(O);
|
|
23025
22998
|
else if (z.key === "Backspace" && O === "" && v.length > 0) {
|
|
23026
|
-
const
|
|
23027
|
-
L(
|
|
22999
|
+
const P = v[v.length - 1];
|
|
23000
|
+
L(P.id);
|
|
23028
23001
|
}
|
|
23029
23002
|
}, H = (z) => {
|
|
23030
|
-
|
|
23003
|
+
j(!0), C == null || C(z);
|
|
23031
23004
|
}, D = (z) => {
|
|
23032
|
-
|
|
23005
|
+
j(!1), b == null || b(z);
|
|
23033
23006
|
}, B = () => {
|
|
23034
23007
|
var z;
|
|
23035
23008
|
l || (z = w.current) == null || z.focus();
|
|
@@ -23092,7 +23065,7 @@ const Cs = {
|
|
|
23092
23065
|
] });
|
|
23093
23066
|
};
|
|
23094
23067
|
ys.displayName = "Badges";
|
|
23095
|
-
const
|
|
23068
|
+
const $8 = ({
|
|
23096
23069
|
children: i,
|
|
23097
23070
|
className: r,
|
|
23098
23071
|
theme: o = "solid",
|
|
@@ -23193,38 +23166,38 @@ const Ms = (i) => {
|
|
|
23193
23166
|
}), [f, d] = A(!1), c = ee(null), p = ee(null), g = ee(null), C = r === "single" ? i.selectedDate !== void 0 : i.selectedRange !== void 0, b = r === "single" ? i.selectedDate === void 0 : i.selectedRange === void 0, x = r === "single" ? a === !1 && s.pendingDate !== null ? s.pendingDate : b ? s.internalDate : o : null, w = r === "single" ? b ? s.internalDate : o : null, V = r === "range" ? u === !1 && (s.pendingRange.start || s.pendingRange.end) ? s.pendingRange : b ? s.internalRange : e : { start: null, end: null }, v = r === "range" ? b ? s.internalRange : e : { start: null, end: null }, O = (T) => T && T instanceof Date && !isNaN(T.getTime()), M = O(x) ? x : null, m = {
|
|
23194
23167
|
start: O(V == null ? void 0 : V.start) ? V.start : null,
|
|
23195
23168
|
end: O(V == null ? void 0 : V.end) ? V.end : null
|
|
23196
|
-
},
|
|
23169
|
+
}, j = O(w) ? w : null, k = {
|
|
23197
23170
|
start: O(v == null ? void 0 : v.start) ? v.start : null,
|
|
23198
23171
|
end: O(v == null ? void 0 : v.end) ? v.end : null
|
|
23199
23172
|
}, L = I(() => {
|
|
23200
23173
|
if (r === "range" && (p.current = {
|
|
23201
|
-
start:
|
|
23202
|
-
end:
|
|
23174
|
+
start: k.start ? new Date(k.start) : null,
|
|
23175
|
+
end: k.end ? new Date(k.end) : null
|
|
23203
23176
|
}, l((T) => ({
|
|
23204
23177
|
...T,
|
|
23205
23178
|
pendingRange: {
|
|
23206
|
-
start:
|
|
23207
|
-
end:
|
|
23179
|
+
start: k.start ? new Date(k.start) : null,
|
|
23180
|
+
end: k.end ? new Date(k.end) : null
|
|
23208
23181
|
}
|
|
23209
|
-
}))), r === "single" && (g.current =
|
|
23182
|
+
}))), r === "single" && (g.current = j ? new Date(j) : null, l((T) => ({
|
|
23210
23183
|
...T,
|
|
23211
|
-
pendingDate:
|
|
23184
|
+
pendingDate: j ? new Date(j) : null
|
|
23212
23185
|
}))), c.current) {
|
|
23213
23186
|
const T = c.current.getInputElement();
|
|
23214
23187
|
if (T) {
|
|
23215
23188
|
const Z = T.getBoundingClientRect(), R = window.innerHeight, ne = window.innerWidth, re = 320, le = 256, ge = 8;
|
|
23216
|
-
let fe,
|
|
23189
|
+
let fe, $ = Z.left;
|
|
23217
23190
|
const q = R - Z.bottom, K = Z.top;
|
|
23218
|
-
q >= re + ge ? fe = Z.bottom + ge : K >= re + ge ? fe = Z.top - re - ge : q > K ? fe = Z.bottom + ge : fe = Z.top - re - ge, Z.left + le > ne && (
|
|
23191
|
+
q >= re + ge ? fe = Z.bottom + ge : K >= re + ge ? fe = Z.top - re - ge : q > K ? fe = Z.bottom + ge : fe = Z.top - re - ge, Z.left + le > ne && ($ = Z.right - le), $ = Math.max(0, Math.min($, ne - le)), l((W) => ({
|
|
23219
23192
|
...W,
|
|
23220
23193
|
isOpen: !0,
|
|
23221
|
-
portalPosition: { top: fe, left:
|
|
23194
|
+
portalPosition: { top: fe, left: $ }
|
|
23222
23195
|
})), d(!0);
|
|
23223
23196
|
return;
|
|
23224
23197
|
}
|
|
23225
23198
|
}
|
|
23226
23199
|
l((T) => ({ ...T, isOpen: !0 })), d(!1);
|
|
23227
|
-
}, [r,
|
|
23200
|
+
}, [r, j, k]), N = I(() => {
|
|
23228
23201
|
l((T) => ({ ...T, isOpen: !1 })), d(!1);
|
|
23229
23202
|
}, []), y = I(() => {
|
|
23230
23203
|
r === "range" && p.current && (C || l((T) => ({
|
|
@@ -23263,7 +23236,7 @@ const Ms = (i) => {
|
|
|
23263
23236
|
}
|
|
23264
23237
|
return { ...Z, currentDate: R };
|
|
23265
23238
|
});
|
|
23266
|
-
}, []),
|
|
23239
|
+
}, []), P = I(
|
|
23267
23240
|
(T, Z = !1) => {
|
|
23268
23241
|
var R;
|
|
23269
23242
|
r === "single" && (a === !0 || Z === !0 ? (b && l((ne) => ({ ...ne, internalDate: T, pendingDate: null })), (a === !0 || Z === !0) && ((R = i.onDateChange) == null || R.call(i, T)), a === !0 && N()) : l((ne) => ({ ...ne, pendingDate: T })));
|
|
@@ -23309,9 +23282,9 @@ const Ms = (i) => {
|
|
|
23309
23282
|
if (!T)
|
|
23310
23283
|
return;
|
|
23311
23284
|
const Z = T.getBoundingClientRect(), R = window.innerHeight, ne = window.innerWidth, re = 320, le = 256, ge = 8;
|
|
23312
|
-
let fe,
|
|
23285
|
+
let fe, $ = Z.left;
|
|
23313
23286
|
const q = R - Z.bottom, K = Z.top;
|
|
23314
|
-
q >= re + ge ? fe = Z.bottom + ge : K >= re + ge ? fe = Z.top - re - ge : q > K ? fe = Z.bottom + ge : fe = Z.top - re - ge, Z.left + le > ne && (
|
|
23287
|
+
q >= re + ge ? fe = Z.bottom + ge : K >= re + ge ? fe = Z.top - re - ge : q > K ? fe = Z.bottom + ge : fe = Z.top - re - ge, Z.left + le > ne && ($ = Z.right - le), $ = Math.max(0, Math.min($, ne - le)), l((W) => ({ ...W, portalPosition: { top: fe, left: $ } })), d(!0);
|
|
23315
23288
|
}, []);
|
|
23316
23289
|
return J(() => {
|
|
23317
23290
|
if (!s.isOpen) return;
|
|
@@ -23330,8 +23303,8 @@ const Ms = (i) => {
|
|
|
23330
23303
|
state: s,
|
|
23331
23304
|
selectedDate: M,
|
|
23332
23305
|
selectedRange: m,
|
|
23333
|
-
selectedDateForInput:
|
|
23334
|
-
selectedRangeForInput:
|
|
23306
|
+
selectedDateForInput: j,
|
|
23307
|
+
selectedRangeForInput: k,
|
|
23335
23308
|
inputRef: c,
|
|
23336
23309
|
isPortalReady: f,
|
|
23337
23310
|
actions: {
|
|
@@ -23339,7 +23312,7 @@ const Ms = (i) => {
|
|
|
23339
23312
|
closePicker: N,
|
|
23340
23313
|
setCurrentDate: E,
|
|
23341
23314
|
setViewMode: F,
|
|
23342
|
-
setSelectedDate:
|
|
23315
|
+
setSelectedDate: P,
|
|
23343
23316
|
setSelectedRange: U,
|
|
23344
23317
|
setHoverDate: Y,
|
|
23345
23318
|
updatePortalPosition: G,
|
|
@@ -23933,7 +23906,7 @@ const Ms = (i) => {
|
|
|
23933
23906
|
!l && u && u();
|
|
23934
23907
|
};
|
|
23935
23908
|
return /* @__PURE__ */ t(
|
|
23936
|
-
|
|
23909
|
+
$e,
|
|
23937
23910
|
{
|
|
23938
23911
|
id: `date-picker-input-${C}`,
|
|
23939
23912
|
label: c,
|
|
@@ -24146,8 +24119,8 @@ const Ms = (i) => {
|
|
|
24146
24119
|
closeOnSelect: O,
|
|
24147
24120
|
autoCloseRange: M,
|
|
24148
24121
|
onAccept: m,
|
|
24149
|
-
onCancel:
|
|
24150
|
-
renderHeader:
|
|
24122
|
+
onCancel: j,
|
|
24123
|
+
renderHeader: k,
|
|
24151
24124
|
renderDay: L
|
|
24152
24125
|
}) => {
|
|
24153
24126
|
const N = (E) => {
|
|
@@ -24229,12 +24202,12 @@ const Ms = (i) => {
|
|
|
24229
24202
|
onToggleViewMode: y,
|
|
24230
24203
|
onGoToToday: p,
|
|
24231
24204
|
monthNames: b,
|
|
24232
|
-
renderHeader:
|
|
24205
|
+
renderHeader: k
|
|
24233
24206
|
}
|
|
24234
24207
|
),
|
|
24235
24208
|
/* @__PURE__ */ t("div", { className: "ui-h-full ui-p-16", children: B() }),
|
|
24236
24209
|
(!O || o && !M) && /* @__PURE__ */ h("footer", { className: "ui-flex ui-justify-end ui-gap-8 ui-border-t ui-border-default ui-p-3", children: [
|
|
24237
|
-
/* @__PURE__ */ t(se, { size: "xs", pill: "sm", color: "secondary", onClick:
|
|
24210
|
+
/* @__PURE__ */ t(se, { size: "xs", pill: "sm", color: "secondary", onClick: j, children: "Cancelar" }),
|
|
24238
24211
|
/* @__PURE__ */ t(se, { size: "xs", pill: "sm", onClick: m, children: "Aceptar" })
|
|
24239
24212
|
] })
|
|
24240
24213
|
]
|
|
@@ -24264,8 +24237,8 @@ const Ms = (i) => {
|
|
|
24264
24237
|
showWeekNumbers: O,
|
|
24265
24238
|
yearRange: M,
|
|
24266
24239
|
hoverDate: m,
|
|
24267
|
-
closeOnSelect:
|
|
24268
|
-
autoCloseRange:
|
|
24240
|
+
closeOnSelect: j,
|
|
24241
|
+
autoCloseRange: k,
|
|
24269
24242
|
calendarsCount: L = 1,
|
|
24270
24243
|
mode: N = "single",
|
|
24271
24244
|
onClickSelected: y = !1,
|
|
@@ -24274,7 +24247,7 @@ const Ms = (i) => {
|
|
|
24274
24247
|
renderHeader: B,
|
|
24275
24248
|
renderDay: E
|
|
24276
24249
|
}) => {
|
|
24277
|
-
const [F, z] = A(Array(L).fill(g)), [
|
|
24250
|
+
const [F, z] = A(Array(L).fill(g)), [P, U] = A(() => {
|
|
24278
24251
|
const T = [];
|
|
24279
24252
|
for (let Z = 0; Z < L; Z++) {
|
|
24280
24253
|
const R = new Date(e);
|
|
@@ -24311,21 +24284,21 @@ const Ms = (i) => {
|
|
|
24311
24284
|
const ne = [...F];
|
|
24312
24285
|
ne[T] = R, z(ne);
|
|
24313
24286
|
}, _ = (T, Z) => {
|
|
24314
|
-
const R = [
|
|
24287
|
+
const R = [...P];
|
|
24315
24288
|
R[T] = new Date(
|
|
24316
|
-
|
|
24289
|
+
P[T].getFullYear(),
|
|
24317
24290
|
Z,
|
|
24318
24291
|
1
|
|
24319
24292
|
), U(R);
|
|
24320
24293
|
const ne = [...F];
|
|
24321
24294
|
ne[T] = "days", z(ne), d == null || d(Z);
|
|
24322
24295
|
}, X = (T, Z) => {
|
|
24323
|
-
const R = [
|
|
24324
|
-
R[T] = new Date(Z,
|
|
24296
|
+
const R = [...P];
|
|
24297
|
+
R[T] = new Date(Z, P[T].getMonth(), 1), U(R);
|
|
24325
24298
|
const ne = [...F];
|
|
24326
24299
|
ne[T] = "months", z(ne), c == null || c(Z);
|
|
24327
24300
|
}, G = (T) => {
|
|
24328
|
-
const Z = [
|
|
24301
|
+
const Z = [...P];
|
|
24329
24302
|
Z.forEach((R, ne) => {
|
|
24330
24303
|
const re = new Date(R);
|
|
24331
24304
|
switch (F[ne]) {
|
|
@@ -24347,7 +24320,7 @@ const Ms = (i) => {
|
|
|
24347
24320
|
/* @__PURE__ */ t(
|
|
24348
24321
|
Is,
|
|
24349
24322
|
{
|
|
24350
|
-
calendarDates:
|
|
24323
|
+
calendarDates: P,
|
|
24351
24324
|
viewModes: F,
|
|
24352
24325
|
onNavigate: G,
|
|
24353
24326
|
onToggleViewMode: te,
|
|
@@ -24357,7 +24330,7 @@ const Ms = (i) => {
|
|
|
24357
24330
|
renderHeader: B
|
|
24358
24331
|
}
|
|
24359
24332
|
),
|
|
24360
|
-
/* @__PURE__ */ t("div", { className: "ui-flex ui-flex-col ui-flex-wrap ui-gap-4 ui-p-4 md:ui-flex-row", children:
|
|
24333
|
+
/* @__PURE__ */ t("div", { className: "ui-flex ui-flex-col ui-flex-wrap ui-gap-4 ui-p-4 md:ui-flex-row", children: P.map((T, 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(
|
|
24361
24334
|
Ds,
|
|
24362
24335
|
{
|
|
24363
24336
|
currentDate: T,
|
|
@@ -24406,8 +24379,8 @@ const Ms = (i) => {
|
|
|
24406
24379
|
showWeekNumbers: O,
|
|
24407
24380
|
yearRange: M,
|
|
24408
24381
|
hoverDate: m,
|
|
24409
|
-
closeOnSelect:
|
|
24410
|
-
autoCloseRange:
|
|
24382
|
+
closeOnSelect: j,
|
|
24383
|
+
autoCloseRange: k,
|
|
24411
24384
|
onAccept: H,
|
|
24412
24385
|
onCancel: D,
|
|
24413
24386
|
renderHeader: B,
|
|
@@ -24452,8 +24425,8 @@ const Ms = (i) => {
|
|
|
24452
24425
|
format: O = "dd/MM/yyyy",
|
|
24453
24426
|
calendarsCount: M = 1,
|
|
24454
24427
|
renderHeader: m,
|
|
24455
|
-
renderDay:
|
|
24456
|
-
size:
|
|
24428
|
+
renderDay: j,
|
|
24429
|
+
size: k = "sm"
|
|
24457
24430
|
} = i, {
|
|
24458
24431
|
state: L,
|
|
24459
24432
|
selectedDate: N,
|
|
@@ -24469,7 +24442,7 @@ const Ms = (i) => {
|
|
|
24469
24442
|
u,
|
|
24470
24443
|
s,
|
|
24471
24444
|
V
|
|
24472
|
-
),
|
|
24445
|
+
), P = (T) => {
|
|
24473
24446
|
if (!T || !(T instanceof Date) || isNaN(T.getTime()))
|
|
24474
24447
|
return "";
|
|
24475
24448
|
const Z = T.getDate().toString().padStart(2, "0"), R = (T.getMonth() + 1).toString().padStart(2, "0"), ne = T.getFullYear();
|
|
@@ -24477,7 +24450,7 @@ const Ms = (i) => {
|
|
|
24477
24450
|
}, U = (T) => {
|
|
24478
24451
|
if (!T || !T.start && !T.end) return "";
|
|
24479
24452
|
const Z = T.start && T.start instanceof Date && !isNaN(T.start.getTime()), R = T.end && T.end instanceof Date && !isNaN(T.end.getTime());
|
|
24480
|
-
return Z && R ? `${
|
|
24453
|
+
return Z && R ? `${P(T.start)} - ${P(T.end)}` : Z ? P(T.start) : R ? P(T.end) : "";
|
|
24481
24454
|
}, Y = (T) => {
|
|
24482
24455
|
if (!T || !(T instanceof Date) || isNaN(T.getTime())) {
|
|
24483
24456
|
console.warn("DatePicker: Se recibió una fecha inválida:", T);
|
|
@@ -24494,7 +24467,7 @@ const Ms = (i) => {
|
|
|
24494
24467
|
r === "single" ? !w && L.pendingDate !== null && (F.setSelectedDate(L.pendingDate, !0), n == null || n(L.pendingDate)) : r === "range" && !V && (L.pendingRange.start || L.pendingRange.end) && (F.setSelectedRange(L.pendingRange, !0), a == null || a(L.pendingRange)), F.closePicker();
|
|
24495
24468
|
}, X = () => {
|
|
24496
24469
|
r === "single" && !w ? (F.setPendingDate(null), F.restoreOriginalDate()) : r === "range" && !V && (F.setPendingRange({ start: null, end: null }), F.restoreOriginalRange()), F.closePicker();
|
|
24497
|
-
}, G = () => r === "single" ?
|
|
24470
|
+
}, G = () => r === "single" ? P(H) : U(D);
|
|
24498
24471
|
return /* @__PURE__ */ h("div", { className: `relative ${g}`, children: [
|
|
24499
24472
|
/* @__PURE__ */ t(
|
|
24500
24473
|
Ns,
|
|
@@ -24503,7 +24476,7 @@ const Ms = (i) => {
|
|
|
24503
24476
|
value: G(),
|
|
24504
24477
|
placeholder: v,
|
|
24505
24478
|
label: c,
|
|
24506
|
-
size:
|
|
24479
|
+
size: k,
|
|
24507
24480
|
isOpen: L.isOpen,
|
|
24508
24481
|
onInputClick: F.openPicker,
|
|
24509
24482
|
className: C,
|
|
@@ -24543,7 +24516,7 @@ const Ms = (i) => {
|
|
|
24543
24516
|
onAccept: _,
|
|
24544
24517
|
onCancel: X,
|
|
24545
24518
|
renderHeader: m,
|
|
24546
|
-
renderDay:
|
|
24519
|
+
renderDay: j
|
|
24547
24520
|
}
|
|
24548
24521
|
)
|
|
24549
24522
|
] });
|
|
@@ -24594,14 +24567,14 @@ const Ms = (i) => {
|
|
|
24594
24567
|
showCancelButton: O = !0,
|
|
24595
24568
|
showSuccessButton: M = !0,
|
|
24596
24569
|
closeAtSuccess: m = !1,
|
|
24597
|
-
closeAtCancel:
|
|
24598
|
-
disabledSuccessButton:
|
|
24570
|
+
closeAtCancel: j = !0,
|
|
24571
|
+
disabledSuccessButton: k = !1,
|
|
24599
24572
|
disabledCancelButton: L = !1
|
|
24600
24573
|
}) => {
|
|
24601
24574
|
const N = Mt(), { isVisible: y, isAnimating: H } = bt(i), D = ee(null);
|
|
24602
24575
|
wt(i), Vn(i, r, c), yt(i, D, !p);
|
|
24603
24576
|
const B = () => {
|
|
24604
|
-
V && V(),
|
|
24577
|
+
V && V(), j && r();
|
|
24605
24578
|
}, E = () => {
|
|
24606
24579
|
v && v(), m && r();
|
|
24607
24580
|
};
|
|
@@ -24663,7 +24636,7 @@ const Ms = (i) => {
|
|
|
24663
24636
|
/* @__PURE__ */ t(i1.Separator, { padding: !1 }),
|
|
24664
24637
|
/* @__PURE__ */ h(i1.Footer, { className: "ui-flex ui-items-center ui-justify-end ui-gap-x-16 ui-p-16", children: [
|
|
24665
24638
|
O && /* @__PURE__ */ t(xe, { size: "xs", fullWidth: !0, theme: "solid", color: "secondary", pill: "sm", onClick: B, disabled: L, children: x }),
|
|
24666
|
-
M && /* @__PURE__ */ t(xe, { size: "xs", fullWidth: !0, theme: "solid", color: "primary", pill: "sm", onClick: E, disabled:
|
|
24639
|
+
M && /* @__PURE__ */ t(xe, { size: "xs", fullWidth: !0, theme: "solid", color: "primary", pill: "sm", onClick: E, disabled: k, children: w })
|
|
24667
24640
|
] })
|
|
24668
24641
|
] })
|
|
24669
24642
|
] })
|
|
@@ -25236,7 +25209,7 @@ const Ms = (i) => {
|
|
|
25236
25209
|
"ui-opacity-50 ui-cursor-not-allowed": i,
|
|
25237
25210
|
"ui-cursor-pointer": !i
|
|
25238
25211
|
}
|
|
25239
|
-
),
|
|
25212
|
+
), j = /* @__PURE__ */ t(
|
|
25240
25213
|
"button",
|
|
25241
25214
|
{
|
|
25242
25215
|
ref: b,
|
|
@@ -25254,8 +25227,8 @@ const Ms = (i) => {
|
|
|
25254
25227
|
children: /* @__PURE__ */ t("span", { className: v })
|
|
25255
25228
|
}
|
|
25256
25229
|
);
|
|
25257
|
-
return !r && !e ?
|
|
25258
|
-
|
|
25230
|
+
return !r && !e ? j : /* @__PURE__ */ h("label", { className: O, children: [
|
|
25231
|
+
j,
|
|
25259
25232
|
(r || e) && /* @__PURE__ */ h("div", { className: "ui-flex ui-items-center ui-gap-2", children: [
|
|
25260
25233
|
e && /* @__PURE__ */ t(
|
|
25261
25234
|
de,
|
|
@@ -25449,7 +25422,7 @@ const Y8 = {
|
|
|
25449
25422
|
})
|
|
25450
25423
|
}
|
|
25451
25424
|
);
|
|
25452
|
-
},
|
|
25425
|
+
}, Ps = {
|
|
25453
25426
|
success: "ui-bg-surface-success ui-text-success ui-border-green-200",
|
|
25454
25427
|
warning: "ui-bg-surface-warning ui-text-warning ui-border-yellow-200",
|
|
25455
25428
|
error: "ui-bg-surface-danger ui-text-danger ui-border-red-200",
|
|
@@ -25488,7 +25461,7 @@ const Y8 = {
|
|
|
25488
25461
|
{
|
|
25489
25462
|
className: S(
|
|
25490
25463
|
"ui-px-8 ui-py-2 ui-text-body-xs-regular ui-font-body-xs-medium ui-rounded ui-border ui-shrink-0",
|
|
25491
|
-
|
|
25464
|
+
Ps[n]
|
|
25492
25465
|
),
|
|
25493
25466
|
children: e
|
|
25494
25467
|
}
|
|
@@ -25523,7 +25496,7 @@ const Y8 = {
|
|
|
25523
25496
|
n.id
|
|
25524
25497
|
))
|
|
25525
25498
|
}
|
|
25526
|
-
),
|
|
25499
|
+
), Pt = ({
|
|
25527
25500
|
title: i,
|
|
25528
25501
|
description: r,
|
|
25529
25502
|
checked: o = !1,
|
|
@@ -25576,7 +25549,7 @@ const Y8 = {
|
|
|
25576
25549
|
o
|
|
25577
25550
|
),
|
|
25578
25551
|
children: i.map((e) => /* @__PURE__ */ t(
|
|
25579
|
-
|
|
25552
|
+
Pt,
|
|
25580
25553
|
{
|
|
25581
25554
|
title: e.title,
|
|
25582
25555
|
description: e.description,
|
|
@@ -25719,7 +25692,7 @@ const Y8 = {
|
|
|
25719
25692
|
)) })
|
|
25720
25693
|
]
|
|
25721
25694
|
}
|
|
25722
|
-
),
|
|
25695
|
+
), $t = ({
|
|
25723
25696
|
title: i,
|
|
25724
25697
|
icon: r,
|
|
25725
25698
|
onBackClick: o,
|
|
@@ -25756,7 +25729,7 @@ const Y8 = {
|
|
|
25756
25729
|
l
|
|
25757
25730
|
),
|
|
25758
25731
|
children: [
|
|
25759
|
-
/* @__PURE__ */ t(
|
|
25732
|
+
/* @__PURE__ */ t($t, { title: i, onBackClick: a }),
|
|
25760
25733
|
/* @__PURE__ */ t(r1, {}),
|
|
25761
25734
|
/* @__PURE__ */ t("div", { className: "ui-flex ui-flex-col ui-gap-8", children: r.map((d) => /* @__PURE__ */ h(
|
|
25762
25735
|
"div",
|
|
@@ -25806,7 +25779,7 @@ const Y8 = {
|
|
|
25806
25779
|
]
|
|
25807
25780
|
}
|
|
25808
25781
|
);
|
|
25809
|
-
},
|
|
25782
|
+
}, $s = ({
|
|
25810
25783
|
title: i = "Aun no hay nada aquí",
|
|
25811
25784
|
description: r = `No hay elementos aun en esta lista.
|
|
25812
25785
|
Vuelve más tarde para ver las actualizaciones.`,
|
|
@@ -26003,7 +25976,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26003
25976
|
if (r === "checkbox") {
|
|
26004
25977
|
const { items: n, onCheckboxChange: a } = i;
|
|
26005
25978
|
return /* @__PURE__ */ t("div", { className: S(e, "ui-min-w-[320px] ui-flex ui-flex-col ui-gap-8"), children: n.map((u) => /* @__PURE__ */ t(
|
|
26006
|
-
|
|
25979
|
+
Pt,
|
|
26007
25980
|
{
|
|
26008
25981
|
title: u.title,
|
|
26009
25982
|
description: u.description,
|
|
@@ -26116,7 +26089,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26116
26089
|
onBack: c
|
|
26117
26090
|
} = i, p = a.filter((g) => g.checked).map((g) => g.id);
|
|
26118
26091
|
return /* @__PURE__ */ h("div", { className: S(e, "ui-min-w-[208px] ui-flex ui-flex-col ui-gap-8"), children: [
|
|
26119
|
-
/* @__PURE__ */ t(
|
|
26092
|
+
/* @__PURE__ */ t($t, { title: n, onBackClick: c }),
|
|
26120
26093
|
/* @__PURE__ */ t(r1, {}),
|
|
26121
26094
|
/* @__PURE__ */ t("div", { className: "ui-flex ui-flex-col ui-gap-8", children: a.map((g) => /* @__PURE__ */ h(
|
|
26122
26095
|
"div",
|
|
@@ -26167,7 +26140,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26167
26140
|
}
|
|
26168
26141
|
if (r === "empty") {
|
|
26169
26142
|
const { title: n, description: a, icon: u } = i;
|
|
26170
|
-
return /* @__PURE__ */ t("div", { className: S(e, "ui-min-w-[313px]"), children: /* @__PURE__ */ t(
|
|
26143
|
+
return /* @__PURE__ */ t("div", { className: S(e, "ui-min-w-[313px]"), children: /* @__PURE__ */ t($s, { title: n, description: a, icon: u }) });
|
|
26171
26144
|
}
|
|
26172
26145
|
return null;
|
|
26173
26146
|
}, gn = /* @__PURE__ */ new Set(), zs = (i) => {
|
|
@@ -26195,42 +26168,42 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26195
26168
|
onOpenChange: C,
|
|
26196
26169
|
withCheckbox: b = !1
|
|
26197
26170
|
}) => {
|
|
26198
|
-
const x = J1(), w = f || `dropdown-${x}`, [V, v] = A(!1), [O, M] = A(!1), [m,
|
|
26199
|
-
(
|
|
26171
|
+
const x = J1(), w = f || `dropdown-${x}`, [V, v] = A(!1), [O, M] = A(!1), [m, j] = A(""), [k, L] = A("bottom"), [N, y] = A({}), H = ee(null), D = ee(null), B = ee(null), E = I(
|
|
26172
|
+
($) => $ == null ? [] : Array.isArray($) ? $ : [$],
|
|
26200
26173
|
[]
|
|
26201
26174
|
), F = I(
|
|
26202
|
-
(
|
|
26175
|
+
($) => $ == null || $ === "" ? "" : Array.isArray($) ? $[0] || "" : $,
|
|
26203
26176
|
[]
|
|
26204
26177
|
), z = I(
|
|
26205
|
-
(
|
|
26206
|
-
if (
|
|
26207
|
-
const K = Number(
|
|
26178
|
+
($, q) => {
|
|
26179
|
+
if ($ === q || String($) === String(q)) return !0;
|
|
26180
|
+
const K = Number($), W = Number(q);
|
|
26208
26181
|
return !isNaN(K) && !isNaN(W) && K === W;
|
|
26209
26182
|
},
|
|
26210
26183
|
[]
|
|
26211
|
-
), [
|
|
26212
|
-
(
|
|
26213
|
-
Y || U(
|
|
26184
|
+
), [P, U] = A(() => c ? E(r) : F(r)), Y = i !== void 0, te = Y ? i : P, _ = I(
|
|
26185
|
+
($) => {
|
|
26186
|
+
Y || U($), a == null || a($);
|
|
26214
26187
|
},
|
|
26215
26188
|
[Y, a]
|
|
26216
26189
|
);
|
|
26217
26190
|
J(() => {
|
|
26218
26191
|
if (Y && i !== void 0)
|
|
26219
26192
|
if (c) {
|
|
26220
|
-
const
|
|
26221
|
-
U((q) => JSON.stringify(q) !== JSON.stringify(
|
|
26193
|
+
const $ = E(i);
|
|
26194
|
+
U((q) => JSON.stringify(q) !== JSON.stringify($) ? $ : q);
|
|
26222
26195
|
} else {
|
|
26223
|
-
const
|
|
26224
|
-
U((q) => q !==
|
|
26196
|
+
const $ = F(i);
|
|
26197
|
+
U((q) => q !== $ ? $ : q);
|
|
26225
26198
|
}
|
|
26226
26199
|
}, [i, Y, c, E, F]);
|
|
26227
|
-
const X = c ? o.filter((
|
|
26228
|
-
const q =
|
|
26200
|
+
const X = c ? o.filter(($) => {
|
|
26201
|
+
const q = $[n];
|
|
26229
26202
|
return E(te).some((K) => z(K, q));
|
|
26230
26203
|
}) : [
|
|
26231
|
-
o.find((
|
|
26204
|
+
o.find(($) => {
|
|
26232
26205
|
const q = F(te);
|
|
26233
|
-
return q === "" || q === null || q === void 0 ? !1 :
|
|
26206
|
+
return q === "" || q === null || q === void 0 ? !1 : $[n] === -1 ? q === -1 || q === "-1" : z($[n], q);
|
|
26234
26207
|
})
|
|
26235
26208
|
].filter(Boolean), G = (() => {
|
|
26236
26209
|
if (!s || !m)
|
|
@@ -26241,7 +26214,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26241
26214
|
}
|
|
26242
26215
|
return !(ce[n] === -1 && (te === -1 || te === "-1"));
|
|
26243
26216
|
});
|
|
26244
|
-
const
|
|
26217
|
+
const $ = m.toLowerCase(), q = o.filter((ce) => ce.isGroupTitle ? !1 : ce[e].toLowerCase().includes($)), K = [], W = /* @__PURE__ */ new Set();
|
|
26245
26218
|
return q.forEach((ce) => {
|
|
26246
26219
|
const pe = o.indexOf(ce);
|
|
26247
26220
|
let be = null;
|
|
@@ -26254,15 +26227,15 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26254
26227
|
}), K;
|
|
26255
26228
|
})(), T = I(() => {
|
|
26256
26229
|
var K, W;
|
|
26257
|
-
const
|
|
26258
|
-
return
|
|
26230
|
+
const $ = (K = B.current) == null ? void 0 : K.querySelector("input");
|
|
26231
|
+
return $ || ((W = B.current) == null ? void 0 : W.querySelector(
|
|
26259
26232
|
'[data-dropdown-input="true"]'
|
|
26260
26233
|
));
|
|
26261
26234
|
}, []), Z = I(() => {
|
|
26262
|
-
const
|
|
26263
|
-
|
|
26235
|
+
const $ = T();
|
|
26236
|
+
$ && requestAnimationFrame(() => {
|
|
26264
26237
|
var t1;
|
|
26265
|
-
const q =
|
|
26238
|
+
const q = $.getBoundingClientRect(), K = window.innerHeight;
|
|
26266
26239
|
let W = 0;
|
|
26267
26240
|
D.current && (W = D.current.offsetHeight), W === 0 && (W = Math.min(200, G.length * 40));
|
|
26268
26241
|
const ce = K - q.bottom, pe = q.top, be = ce < W && pe > ce ? "top" : "bottom";
|
|
@@ -26303,8 +26276,8 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26303
26276
|
top: Math.max(0, Ce),
|
|
26304
26277
|
behavior: "smooth"
|
|
26305
26278
|
});
|
|
26306
|
-
}, [X, e]), ne = (
|
|
26307
|
-
|
|
26279
|
+
}, [X, e]), ne = ($) => {
|
|
26280
|
+
$ && $.stopPropagation(), !d && (V ? re() : (zs(w), j(""), M(!1), Z(), setTimeout(() => {
|
|
26308
26281
|
v(!0), gn.add(w), setTimeout(() => {
|
|
26309
26282
|
Z(), setTimeout(() => {
|
|
26310
26283
|
R();
|
|
@@ -26315,24 +26288,24 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26315
26288
|
M(!0), setTimeout(() => {
|
|
26316
26289
|
v(!1), M(!1), gn.delete(w);
|
|
26317
26290
|
}, 150);
|
|
26318
|
-
}, le = (
|
|
26319
|
-
if (q.stopPropagation(),
|
|
26291
|
+
}, le = ($, q) => {
|
|
26292
|
+
if (q.stopPropagation(), !$.disabled) {
|
|
26320
26293
|
if (c) {
|
|
26321
|
-
const K = E(te), W =
|
|
26294
|
+
const K = E(te), W = $[n];
|
|
26322
26295
|
if (p && K.length >= p && !K.includes(W))
|
|
26323
26296
|
return;
|
|
26324
26297
|
const ce = K.includes(W) ? K.filter((pe) => pe !== W) : [...K, W];
|
|
26325
26298
|
_(ce);
|
|
26326
26299
|
} else {
|
|
26327
|
-
const K =
|
|
26328
|
-
_(K),
|
|
26300
|
+
const K = $[n] === -1 ? -1 : $[n];
|
|
26301
|
+
_(K), j(""), re();
|
|
26329
26302
|
}
|
|
26330
|
-
u == null || u(
|
|
26303
|
+
u == null || u($);
|
|
26331
26304
|
}
|
|
26332
|
-
}, ge = (
|
|
26333
|
-
|
|
26334
|
-
}, fe = (
|
|
26335
|
-
|
|
26305
|
+
}, ge = ($) => {
|
|
26306
|
+
j($.target.value);
|
|
26307
|
+
}, fe = ($) => {
|
|
26308
|
+
$.stopPropagation(), _(c ? [] : ""), j("");
|
|
26336
26309
|
};
|
|
26337
26310
|
return J(() => {
|
|
26338
26311
|
C == null || C(V);
|
|
@@ -26354,21 +26327,21 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26354
26327
|
}, 0);
|
|
26355
26328
|
}
|
|
26356
26329
|
}), J(() => {
|
|
26357
|
-
const
|
|
26330
|
+
const $ = () => {
|
|
26358
26331
|
V && re();
|
|
26359
26332
|
};
|
|
26360
|
-
return document.addEventListener("close-all-dropdowns",
|
|
26361
|
-
document.removeEventListener("close-all-dropdowns",
|
|
26333
|
+
return document.addEventListener("close-all-dropdowns", $), () => {
|
|
26334
|
+
document.removeEventListener("close-all-dropdowns", $);
|
|
26362
26335
|
};
|
|
26363
26336
|
}, [V, re]), J(() => {
|
|
26364
26337
|
if (V) {
|
|
26365
|
-
const
|
|
26338
|
+
const $ = () => {
|
|
26366
26339
|
Z();
|
|
26367
26340
|
}, q = () => {
|
|
26368
26341
|
V && !O && Z();
|
|
26369
26342
|
};
|
|
26370
|
-
return window.addEventListener("resize",
|
|
26371
|
-
window.removeEventListener("resize",
|
|
26343
|
+
return window.addEventListener("resize", $), window.addEventListener("scroll", q, !1), document.addEventListener("scroll", q, !1), () => {
|
|
26344
|
+
window.removeEventListener("resize", $), window.removeEventListener("scroll", q, !1), document.removeEventListener("scroll", q, !1);
|
|
26372
26345
|
};
|
|
26373
26346
|
}
|
|
26374
26347
|
}, [V, Z, O]), {
|
|
@@ -26379,7 +26352,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26379
26352
|
selectedValue: te,
|
|
26380
26353
|
selectedOptions: X,
|
|
26381
26354
|
filteredOptions: G,
|
|
26382
|
-
position:
|
|
26355
|
+
position: k,
|
|
26383
26356
|
dropdownStyle: N,
|
|
26384
26357
|
isControlled: Y,
|
|
26385
26358
|
multiple: c,
|
|
@@ -26423,10 +26396,10 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26423
26396
|
w(!1), v(null);
|
|
26424
26397
|
return;
|
|
26425
26398
|
}
|
|
26426
|
-
const
|
|
26427
|
-
const
|
|
26428
|
-
if (
|
|
26429
|
-
const L =
|
|
26399
|
+
const j = setTimeout(() => {
|
|
26400
|
+
const k = O.current;
|
|
26401
|
+
if (k) {
|
|
26402
|
+
const L = k.scrollHeight, N = k.clientHeight;
|
|
26430
26403
|
if (V === null) {
|
|
26431
26404
|
v(N);
|
|
26432
26405
|
return;
|
|
@@ -26435,7 +26408,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26435
26408
|
w(y);
|
|
26436
26409
|
}
|
|
26437
26410
|
}, 100);
|
|
26438
|
-
return () => clearTimeout(
|
|
26411
|
+
return () => clearTimeout(j);
|
|
26439
26412
|
}, [o.length, V]), // Input personalizado con tags para modo tags
|
|
26440
26413
|
/* @__PURE__ */ h("div", { className: "ui-relative ui-flex ui-flex-col ui-gap-1 ui-w-full", children: [
|
|
26441
26414
|
i && /* @__PURE__ */ t("div", { className: "ui-flex ui-flex-row ui-items-center ui-gap-1 ui-leading-tight", children: /* @__PURE__ */ t("label", { className: "ui-text-label-md-regular ui-font-label-md-semibold ui-text-primary", children: i }) }),
|
|
@@ -26469,8 +26442,8 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26469
26442
|
className: "ui-z-[1010]",
|
|
26470
26443
|
label: m[g],
|
|
26471
26444
|
color: "accent",
|
|
26472
|
-
onClose: (
|
|
26473
|
-
|
|
26445
|
+
onClose: (j) => {
|
|
26446
|
+
j.stopPropagation(), e(m[C]);
|
|
26474
26447
|
}
|
|
26475
26448
|
},
|
|
26476
26449
|
m[g]
|
|
@@ -26518,8 +26491,8 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26518
26491
|
onValueChange: O,
|
|
26519
26492
|
onOptionSelect: M,
|
|
26520
26493
|
onCheckboxChange: m,
|
|
26521
|
-
searchable:
|
|
26522
|
-
maxHeight:
|
|
26494
|
+
searchable: j = !1,
|
|
26495
|
+
maxHeight: k = "200px",
|
|
26523
26496
|
closeOnClickOutside: L = !0,
|
|
26524
26497
|
dropdownId: N,
|
|
26525
26498
|
multiple: y = !1,
|
|
@@ -26529,7 +26502,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26529
26502
|
hasCurrent: E = !0,
|
|
26530
26503
|
footer: F = !1,
|
|
26531
26504
|
defaultOptionSelected: z = !1,
|
|
26532
|
-
withCheckbox:
|
|
26505
|
+
withCheckbox: P = !1,
|
|
26533
26506
|
onHandleAccept: U,
|
|
26534
26507
|
pill: Y = "sm",
|
|
26535
26508
|
...te
|
|
@@ -26546,7 +26519,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26546
26519
|
label: x || "Selecciona una opción"
|
|
26547
26520
|
},
|
|
26548
26521
|
...w.filter((ie) => ie[v] !== -1)
|
|
26549
|
-
] : w,
|
|
26522
|
+
] : w, $ = g !== void 0 ? g : z && !y ? -1 : C, {
|
|
26550
26523
|
// Estado
|
|
26551
26524
|
isOpen: q,
|
|
26552
26525
|
isClosing: K,
|
|
@@ -26573,20 +26546,20 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26573
26546
|
normalizeToArray: v1
|
|
26574
26547
|
} = Fs({
|
|
26575
26548
|
value: g,
|
|
26576
|
-
defaultValue:
|
|
26549
|
+
defaultValue: $,
|
|
26577
26550
|
options: fe,
|
|
26578
26551
|
valueName: V,
|
|
26579
26552
|
idName: v,
|
|
26580
26553
|
onValueChange: O,
|
|
26581
26554
|
onOptionSelect: M,
|
|
26582
|
-
searchable:
|
|
26555
|
+
searchable: j,
|
|
26583
26556
|
closeOnClickOutside: L,
|
|
26584
26557
|
dropdownId: N,
|
|
26585
26558
|
disabled: b,
|
|
26586
26559
|
multiple: y,
|
|
26587
26560
|
maxSelectedItems: H,
|
|
26588
26561
|
absolute: B,
|
|
26589
|
-
withCheckbox:
|
|
26562
|
+
withCheckbox: P,
|
|
26590
26563
|
onOpenChange: (ie) => {
|
|
26591
26564
|
ie && setTimeout(() => {
|
|
26592
26565
|
re(!1);
|
|
@@ -26693,7 +26666,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26693
26666
|
const S1 = (ie) => {
|
|
26694
26667
|
if (y) {
|
|
26695
26668
|
const ye = v1(ce).filter((oe) => oe !== ie);
|
|
26696
|
-
if (Ge(ye),
|
|
26669
|
+
if (Ge(ye), P && We) {
|
|
26697
26670
|
const oe = w.find((Ve) => Ve[v] === ie);
|
|
26698
26671
|
oe && We(oe, !1);
|
|
26699
26672
|
}
|
|
@@ -26736,8 +26709,8 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26736
26709
|
className: `ui-dropdown-portal py-2 ui-overflow-hidden ui-rounded-sm ui-border ui-border-default ui-bg-fill ui-shadow-02 ui-max-w-full ${ie}`,
|
|
26737
26710
|
onClick: (oe) => oe.stopPropagation(),
|
|
26738
26711
|
children: [
|
|
26739
|
-
/* @__PURE__ */ t("div", { className: "ui-w-full", children:
|
|
26740
|
-
|
|
26712
|
+
/* @__PURE__ */ t("div", { className: "ui-w-full", children: j && /* @__PURE__ */ t("div", { className: "ui-p-2", onClick: (oe) => oe.stopPropagation(), children: /* @__PURE__ */ t(
|
|
26713
|
+
$e,
|
|
26741
26714
|
{
|
|
26742
26715
|
value: W,
|
|
26743
26716
|
onChange: ke,
|
|
@@ -26748,12 +26721,12 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26748
26721
|
size: "sm"
|
|
26749
26722
|
}
|
|
26750
26723
|
) }) }),
|
|
26751
|
-
|
|
26724
|
+
j && /* @__PURE__ */ t(Ue, {}),
|
|
26752
26725
|
/* @__PURE__ */ t("div", { className: "custom-scrollbar ui-max-h-[200px] ui-overflow-y-auto ui-py-2 ui-w-full", children: be.length > 0 ? be.map((oe) => {
|
|
26753
26726
|
const Ve = y ? pe.some(
|
|
26754
26727
|
(Re) => Re && Ke(Re[v], oe[v])
|
|
26755
26728
|
) : oe[v] === -1 && (ce === -1 || ce === "-1") || (Array.isArray(ce) ? !1 : Ke(oe[v], ce));
|
|
26756
|
-
return
|
|
26729
|
+
return P ? /* @__PURE__ */ t(
|
|
26757
26730
|
Dt,
|
|
26758
26731
|
{
|
|
26759
26732
|
disabled: oe.disabled,
|
|
@@ -26850,7 +26823,7 @@ Vuelve más tarde para ver las actualizaciones.`,
|
|
|
26850
26823
|
) : (
|
|
26851
26824
|
// Input normal para otros modos
|
|
26852
26825
|
/* @__PURE__ */ t(
|
|
26853
|
-
|
|
26826
|
+
$e,
|
|
26854
26827
|
{
|
|
26855
26828
|
ref: Ze,
|
|
26856
26829
|
label: r,
|
|
@@ -26913,37 +26886,37 @@ const Cn = /* @__PURE__ */ new Set(), _s = (i) => {
|
|
|
26913
26886
|
absolute: l = !1
|
|
26914
26887
|
}) => {
|
|
26915
26888
|
const f = J1(), d = n || `popup-${f}`, [c, p] = A(!1), [g, C] = A({}), [b, x] = A(!1), w = ee(null), V = ee(null), v = ee(null), O = I(() => {
|
|
26916
|
-
const
|
|
26917
|
-
if (!
|
|
26918
|
-
const L =
|
|
26889
|
+
const j = w.current, k = V.current;
|
|
26890
|
+
if (!j || !k) return;
|
|
26891
|
+
const L = j.getBoundingClientRect(), N = k.getBoundingClientRect();
|
|
26919
26892
|
if (N.width === 0 || N.height === 0)
|
|
26920
26893
|
return;
|
|
26921
26894
|
let y = 0, H = 0;
|
|
26922
26895
|
if (l) {
|
|
26923
|
-
const z =
|
|
26896
|
+
const z = j.offsetTop, P = j.offsetLeft, U = j.offsetWidth, Y = j.offsetHeight;
|
|
26924
26897
|
switch (i) {
|
|
26925
26898
|
case "top":
|
|
26926
|
-
y = z - N.height - r, H =
|
|
26899
|
+
y = z - N.height - r, H = P + (U - N.width) / 2;
|
|
26927
26900
|
break;
|
|
26928
26901
|
case "bottom":
|
|
26929
26902
|
case "bottom-center":
|
|
26930
|
-
y = z + Y + r, H =
|
|
26903
|
+
y = z + Y + r, H = P + (U - N.width) / 2;
|
|
26931
26904
|
break;
|
|
26932
26905
|
case "bottom-left":
|
|
26933
|
-
y = z + Y + r, H =
|
|
26906
|
+
y = z + Y + r, H = P;
|
|
26934
26907
|
break;
|
|
26935
26908
|
case "bottom-right":
|
|
26936
|
-
y = z + Y + r, H =
|
|
26909
|
+
y = z + Y + r, H = P + U - N.width;
|
|
26937
26910
|
break;
|
|
26938
26911
|
case "left":
|
|
26939
|
-
y = z, H =
|
|
26912
|
+
y = z, H = P - N.width - r;
|
|
26940
26913
|
break;
|
|
26941
26914
|
case "right":
|
|
26942
|
-
y = z, H =
|
|
26915
|
+
y = z, H = P + U + r;
|
|
26943
26916
|
break;
|
|
26944
26917
|
}
|
|
26945
26918
|
} else {
|
|
26946
|
-
const z = window.innerWidth,
|
|
26919
|
+
const z = window.innerWidth, P = window.innerHeight, U = L.top, Y = L.left, te = L.width, _ = L.height;
|
|
26947
26920
|
switch (i) {
|
|
26948
26921
|
case "top":
|
|
26949
26922
|
y = U - N.height - r, H = Y + (te - N.width) / 2;
|
|
@@ -26965,7 +26938,7 @@ const Cn = /* @__PURE__ */ new Set(), _s = (i) => {
|
|
|
26965
26938
|
y = U, H = Y + te + r;
|
|
26966
26939
|
break;
|
|
26967
26940
|
}
|
|
26968
|
-
H < 0 && (H = 0), H + N.width > z && (H = z - N.width), y < 0 && (y = 0), y + N.height >
|
|
26941
|
+
H < 0 && (H = 0), H + N.width > z && (H = z - N.width), y < 0 && (y = 0), y + N.height > P && (y = P - N.height), i === "bottom-right" && N.width > L.width && (H = L.right - N.width, H < 0 && (H = 0));
|
|
26969
26942
|
}
|
|
26970
26943
|
const D = 1e3, B = parseInt(d.replace(/\D/g, "")) || 0, E = D + B % 100, F = {
|
|
26971
26944
|
position: l ? "absolute" : "fixed",
|
|
@@ -26974,36 +26947,36 @@ const Cn = /* @__PURE__ */ new Set(), _s = (i) => {
|
|
|
26974
26947
|
zIndex: E
|
|
26975
26948
|
};
|
|
26976
26949
|
C(F), x(!0);
|
|
26977
|
-
}, [i, r, d, l]), M = (
|
|
26978
|
-
|
|
26950
|
+
}, [i, r, d, l]), M = (j) => {
|
|
26951
|
+
j && j.stopPropagation(), !s && (c ? m() : (_s(d), C({}), x(!1), p(!0), Cn.add(d), a == null || a()));
|
|
26979
26952
|
}, m = () => {
|
|
26980
26953
|
p(!1), x(!1), Cn.delete(d), u == null || u();
|
|
26981
26954
|
};
|
|
26982
26955
|
return J(() => {
|
|
26983
26956
|
if (c) {
|
|
26984
|
-
const
|
|
26985
|
-
const
|
|
26986
|
-
if (
|
|
26987
|
-
const L =
|
|
26957
|
+
const j = () => {
|
|
26958
|
+
const k = V.current;
|
|
26959
|
+
if (k) {
|
|
26960
|
+
const L = k.getBoundingClientRect();
|
|
26988
26961
|
L.width > 0 && L.height > 0 && L.width !== 0 && L.height !== 0 ? O() : setTimeout(() => {
|
|
26989
|
-
requestAnimationFrame(
|
|
26962
|
+
requestAnimationFrame(j);
|
|
26990
26963
|
}, 10);
|
|
26991
26964
|
}
|
|
26992
26965
|
};
|
|
26993
26966
|
setTimeout(() => {
|
|
26994
|
-
requestAnimationFrame(
|
|
26967
|
+
requestAnimationFrame(j);
|
|
26995
26968
|
}, 0);
|
|
26996
26969
|
}
|
|
26997
26970
|
}, [c, O]), J(() => {
|
|
26998
26971
|
if (!c || !b || l) return;
|
|
26999
|
-
let
|
|
27000
|
-
const
|
|
27001
|
-
|
|
27002
|
-
O(),
|
|
27003
|
-
}),
|
|
26972
|
+
let j = !1;
|
|
26973
|
+
const k = () => {
|
|
26974
|
+
j || (requestAnimationFrame(() => {
|
|
26975
|
+
O(), j = !1;
|
|
26976
|
+
}), j = !0);
|
|
27004
26977
|
};
|
|
27005
|
-
return window.addEventListener("scroll",
|
|
27006
|
-
window.removeEventListener("scroll",
|
|
26978
|
+
return window.addEventListener("scroll", k, { passive: !0 }), window.addEventListener("resize", k, { passive: !0 }), () => {
|
|
26979
|
+
window.removeEventListener("scroll", k), window.removeEventListener("resize", k);
|
|
27007
26980
|
};
|
|
27008
26981
|
}, [c, b, l, O]), xt({
|
|
27009
26982
|
isActive: c,
|
|
@@ -27050,8 +27023,8 @@ const Cn = /* @__PURE__ */ new Set(), _s = (i) => {
|
|
|
27050
27023
|
colorIcon: O,
|
|
27051
27024
|
pill: M = "xs",
|
|
27052
27025
|
tooltip: m,
|
|
27053
|
-
tooltipPosition:
|
|
27054
|
-
tooltipAlignment:
|
|
27026
|
+
tooltipPosition: j,
|
|
27027
|
+
tooltipAlignment: k,
|
|
27055
27028
|
tooltipDelay: L,
|
|
27056
27029
|
absolute: N = !1,
|
|
27057
27030
|
closeOnClick: y = !0,
|
|
@@ -27061,7 +27034,7 @@ const Cn = /* @__PURE__ */ new Set(), _s = (i) => {
|
|
|
27061
27034
|
buttonStyle: E,
|
|
27062
27035
|
stopPropagationList: F = !0,
|
|
27063
27036
|
onClick: z,
|
|
27064
|
-
|
|
27037
|
+
...P
|
|
27065
27038
|
}, U) => {
|
|
27066
27039
|
const {
|
|
27067
27040
|
isOpen: Y,
|
|
@@ -27121,7 +27094,7 @@ const Cn = /* @__PURE__ */ new Set(), _s = (i) => {
|
|
|
27121
27094
|
onClick: (q) => {
|
|
27122
27095
|
F && q.stopPropagation(), y && ne();
|
|
27123
27096
|
},
|
|
27124
|
-
|
|
27097
|
+
...P,
|
|
27125
27098
|
children: i
|
|
27126
27099
|
}
|
|
27127
27100
|
);
|
|
@@ -27151,21 +27124,21 @@ const Cn = /* @__PURE__ */ new Set(), _s = (i) => {
|
|
|
27151
27124
|
colorIcon: O,
|
|
27152
27125
|
textColor: C,
|
|
27153
27126
|
tooltip: m,
|
|
27154
|
-
tooltipPosition:
|
|
27155
|
-
tooltipAlignment:
|
|
27127
|
+
tooltipPosition: j,
|
|
27128
|
+
tooltipAlignment: k,
|
|
27156
27129
|
tooltipDelay: L,
|
|
27157
27130
|
transition: B,
|
|
27158
27131
|
style: E,
|
|
27159
|
-
badgeColor:
|
|
27160
|
-
badgeLabel:
|
|
27161
|
-
badgeTheme:
|
|
27162
|
-
badgeSize:
|
|
27163
|
-
badgeStroke:
|
|
27164
|
-
badgeIcon:
|
|
27165
|
-
badgeIconDuotonePrimary:
|
|
27166
|
-
badgeIconDuotoneSecondary:
|
|
27167
|
-
badgeIconDuotoneOpacityPrimary:
|
|
27168
|
-
badgeIconDuotoneOpacitySecondary:
|
|
27132
|
+
badgeColor: P.badgeColor,
|
|
27133
|
+
badgeLabel: P.badgeLabel,
|
|
27134
|
+
badgeTheme: P.badgeTheme,
|
|
27135
|
+
badgeSize: P.badgeSize,
|
|
27136
|
+
badgeStroke: P.badgeStroke,
|
|
27137
|
+
badgeIcon: P.badgeIcon,
|
|
27138
|
+
badgeIconDuotonePrimary: P.badgeIconDuotonePrimary,
|
|
27139
|
+
badgeIconDuotoneSecondary: P.badgeIconDuotoneSecondary,
|
|
27140
|
+
badgeIconDuotoneOpacityPrimary: P.badgeIconDuotoneOpacityPrimary,
|
|
27141
|
+
badgeIconDuotoneOpacitySecondary: P.badgeIconDuotoneOpacitySecondary,
|
|
27169
27142
|
children: r || ""
|
|
27170
27143
|
}
|
|
27171
27144
|
) }),
|
|
@@ -28760,7 +28733,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
28760
28733
|
buttonClassName: v,
|
|
28761
28734
|
tooltip: O
|
|
28762
28735
|
}) => {
|
|
28763
|
-
const [M, m] = A("recent"), [
|
|
28736
|
+
const [M, m] = A("recent"), [j, k] = A(""), [L, N] = A([]), [y, H] = A(f || ""), D = ee(null), B = ee({}), E = ee(!1), F = ee(null);
|
|
28764
28737
|
J(() => {
|
|
28765
28738
|
if (!E.current)
|
|
28766
28739
|
if (E.current = !0, a && a.length > 0)
|
|
@@ -28779,13 +28752,13 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
28779
28752
|
} catch (X) {
|
|
28780
28753
|
console.error("Error saving recent emojis:", X);
|
|
28781
28754
|
}
|
|
28782
|
-
},
|
|
28755
|
+
}, P = (_) => {
|
|
28783
28756
|
const X = [_, ...L.filter((G) => G !== _)].slice(
|
|
28784
28757
|
0,
|
|
28785
28758
|
r
|
|
28786
28759
|
);
|
|
28787
28760
|
N(X), z(X), i == null || i(_), l && F.current && F.current.close();
|
|
28788
|
-
}, U = ue(() => !
|
|
28761
|
+
}, U = ue(() => !j || j.trim() === "" ? [
|
|
28789
28762
|
{
|
|
28790
28763
|
...A1[0],
|
|
28791
28764
|
emojis: L
|
|
@@ -28793,8 +28766,8 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
28793
28766
|
...A1.slice(1)
|
|
28794
28767
|
] : A1.slice(1).map((G) => ({
|
|
28795
28768
|
...G,
|
|
28796
|
-
emojis: Us(
|
|
28797
|
-
})).filter((G) => G.emojis.length > 0), [
|
|
28769
|
+
emojis: Us(j, G.emojis)
|
|
28770
|
+
})).filter((G) => G.emojis.length > 0), [j, L]), Y = (_) => {
|
|
28798
28771
|
const X = B.current[_];
|
|
28799
28772
|
if (X && D.current) {
|
|
28800
28773
|
const G = D.current, T = X.offsetTop - G.offsetTop;
|
|
@@ -28854,12 +28827,12 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
28854
28827
|
)) }) }),
|
|
28855
28828
|
/* @__PURE__ */ h("div", { className: "ui-p-16 ui-flex ui-flex-col ui-gap-y-8", children: [
|
|
28856
28829
|
u && /* @__PURE__ */ t("div", { className: "ui-bg-surface", children: /* @__PURE__ */ t(
|
|
28857
|
-
|
|
28830
|
+
$e,
|
|
28858
28831
|
{
|
|
28859
28832
|
leftSlot: "SearchOutlined",
|
|
28860
28833
|
placeholder: s,
|
|
28861
|
-
value:
|
|
28862
|
-
onValueChange:
|
|
28834
|
+
value: j,
|
|
28835
|
+
onValueChange: k,
|
|
28863
28836
|
fullWidth: !0,
|
|
28864
28837
|
size: "sm",
|
|
28865
28838
|
pill: "sm"
|
|
@@ -28883,7 +28856,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
28883
28856
|
/* @__PURE__ */ t("div", { className: "ui-grid ui-grid-cols-8 ui-gap-4 ui-justify-items-center ui-pr-8", children: _.emojis.length === 0 && _.id === "recent" ? /* @__PURE__ */ t("div", { className: "ui-col-span-8 ui-py-4 ui-text-center ui-text-tertiary ui-text-body-sm-regular ui-font-body-sm-regular ui-leading-body-sm-regular ui-tracking-body-sm", children: "No hay emojis recientes" }) : _.emojis.map((X, G) => /* @__PURE__ */ t(
|
|
28884
28857
|
se,
|
|
28885
28858
|
{
|
|
28886
|
-
onClick: () =>
|
|
28859
|
+
onClick: () => P(X),
|
|
28887
28860
|
"aria-label": `Emoji ${X}`,
|
|
28888
28861
|
size: "xs",
|
|
28889
28862
|
theme: "emoji",
|
|
@@ -29175,7 +29148,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29175
29148
|
size: "xs",
|
|
29176
29149
|
label: v.label,
|
|
29177
29150
|
options: v.options || [],
|
|
29178
|
-
onValueChange: (
|
|
29151
|
+
onValueChange: (j) => g(v.label, j, v),
|
|
29179
29152
|
value: p[M] || "",
|
|
29180
29153
|
placeholder: v.placeholder,
|
|
29181
29154
|
absolute: !1,
|
|
@@ -29188,7 +29161,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29188
29161
|
label: v.label,
|
|
29189
29162
|
options: v.options || [],
|
|
29190
29163
|
size: "xs",
|
|
29191
|
-
onValueChange: (
|
|
29164
|
+
onValueChange: (j) => g(v.label, j, v),
|
|
29192
29165
|
value: p[M] || "",
|
|
29193
29166
|
placeholder: v.placeholder,
|
|
29194
29167
|
multiple: !0,
|
|
@@ -29202,7 +29175,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29202
29175
|
label: v.label,
|
|
29203
29176
|
options: v.options,
|
|
29204
29177
|
size: "xs",
|
|
29205
|
-
onValueChange: (
|
|
29178
|
+
onValueChange: (j) => g(v.label, j, v),
|
|
29206
29179
|
value: p[M] || "",
|
|
29207
29180
|
placeholder: v.placeholder,
|
|
29208
29181
|
selectedItemsDisplay: "tags",
|
|
@@ -29213,11 +29186,11 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29213
29186
|
},
|
|
29214
29187
|
m
|
|
29215
29188
|
) : v.type === "input" ? /* @__PURE__ */ t(
|
|
29216
|
-
|
|
29189
|
+
$e,
|
|
29217
29190
|
{
|
|
29218
29191
|
label: v.label,
|
|
29219
29192
|
value: p[M] || "",
|
|
29220
|
-
onChange: (
|
|
29193
|
+
onChange: (j) => g(v.label, j.target.value, v),
|
|
29221
29194
|
size: "xs"
|
|
29222
29195
|
},
|
|
29223
29196
|
m
|
|
@@ -29228,7 +29201,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29228
29201
|
size: "xs",
|
|
29229
29202
|
label: v.label,
|
|
29230
29203
|
selectedDate: p[M] || null,
|
|
29231
|
-
onDateChange: (
|
|
29204
|
+
onDateChange: (j) => g(v.label, j, v),
|
|
29232
29205
|
placeholder: v.placeholder
|
|
29233
29206
|
},
|
|
29234
29207
|
m
|
|
@@ -29239,7 +29212,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29239
29212
|
label: v.label,
|
|
29240
29213
|
mode: "range",
|
|
29241
29214
|
selectedRange: p[M] || { start: null, end: null },
|
|
29242
|
-
onRangeChange: (
|
|
29215
|
+
onRangeChange: (j) => g(v.label, j, v),
|
|
29243
29216
|
placeholder: v.placeholder
|
|
29244
29217
|
},
|
|
29245
29218
|
m
|
|
@@ -29247,7 +29220,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29247
29220
|
Ks,
|
|
29248
29221
|
{
|
|
29249
29222
|
value: p[M] || "",
|
|
29250
|
-
onChange: (
|
|
29223
|
+
onChange: (j) => g(v.label, j, v)
|
|
29251
29224
|
},
|
|
29252
29225
|
m
|
|
29253
29226
|
) : null;
|
|
@@ -29259,12 +29232,12 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29259
29232
|
);
|
|
29260
29233
|
}, Qs = () => {
|
|
29261
29234
|
const i = ee(null), [r, o] = A(!1), [e, n] = A(/* @__PURE__ */ new Set()), a = I(() => {
|
|
29262
|
-
const m = /* @__PURE__ */ new Set(),
|
|
29263
|
-
if (!
|
|
29235
|
+
const m = /* @__PURE__ */ new Set(), j = window.getSelection();
|
|
29236
|
+
if (!j || j.rangeCount === 0) {
|
|
29264
29237
|
n(m);
|
|
29265
29238
|
return;
|
|
29266
29239
|
}
|
|
29267
|
-
let L =
|
|
29240
|
+
let L = j.getRangeAt(0).commonAncestorContainer;
|
|
29268
29241
|
for (; L && L !== i.current; ) {
|
|
29269
29242
|
if (L.nodeType === Node.ELEMENT_NODE) {
|
|
29270
29243
|
const N = L, y = N.tagName.toLowerCase(), H = window.getComputedStyle(N);
|
|
@@ -29273,27 +29246,27 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29273
29246
|
L = L.parentNode;
|
|
29274
29247
|
}
|
|
29275
29248
|
n(m);
|
|
29276
|
-
}, []), u = I((m,
|
|
29249
|
+
}, []), u = I((m, j) => {
|
|
29277
29250
|
var y;
|
|
29278
|
-
const
|
|
29279
|
-
if (!
|
|
29280
|
-
const L =
|
|
29251
|
+
const k = window.getSelection();
|
|
29252
|
+
if (!k || k.rangeCount === 0) return;
|
|
29253
|
+
const L = k.getRangeAt(0);
|
|
29281
29254
|
if (L.collapsed)
|
|
29282
29255
|
return;
|
|
29283
29256
|
const N = document.createElement(m);
|
|
29284
|
-
|
|
29257
|
+
j && Object.assign(N.style, j);
|
|
29285
29258
|
try {
|
|
29286
29259
|
L.surroundContents(N);
|
|
29287
29260
|
} catch {
|
|
29288
29261
|
const D = L.extractContents();
|
|
29289
29262
|
N.appendChild(D), L.insertNode(N);
|
|
29290
29263
|
}
|
|
29291
|
-
|
|
29264
|
+
k.removeAllRanges(), a(), (y = i.current) == null || y.focus();
|
|
29292
29265
|
}, [a]), s = I((m) => {
|
|
29293
29266
|
var N;
|
|
29294
|
-
const
|
|
29295
|
-
if (!
|
|
29296
|
-
let L =
|
|
29267
|
+
const j = window.getSelection();
|
|
29268
|
+
if (!j || j.rangeCount === 0) return;
|
|
29269
|
+
let L = j.getRangeAt(0).commonAncestorContainer;
|
|
29297
29270
|
for (; L && L !== i.current; ) {
|
|
29298
29271
|
if (L.nodeType === Node.ELEMENT_NODE) {
|
|
29299
29272
|
const y = L;
|
|
@@ -29309,9 +29282,9 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29309
29282
|
}
|
|
29310
29283
|
a(), (N = i.current) == null || N.focus();
|
|
29311
29284
|
}, [a]), l = I((m) => {
|
|
29312
|
-
const
|
|
29313
|
-
if (!
|
|
29314
|
-
let L =
|
|
29285
|
+
const j = window.getSelection();
|
|
29286
|
+
if (!j || j.rangeCount === 0) return !1;
|
|
29287
|
+
let L = j.getRangeAt(0).commonAncestorContainer;
|
|
29315
29288
|
for (; L && L !== i.current; ) {
|
|
29316
29289
|
if (L.nodeType === Node.ELEMENT_NODE) {
|
|
29317
29290
|
const N = L, y = N.tagName.toLowerCase();
|
|
@@ -29326,7 +29299,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29326
29299
|
L = L.parentNode;
|
|
29327
29300
|
}
|
|
29328
29301
|
return !1;
|
|
29329
|
-
}, []), f = I((m,
|
|
29302
|
+
}, []), f = I((m, j) => {
|
|
29330
29303
|
var N;
|
|
29331
29304
|
const L = {
|
|
29332
29305
|
bold: "strong",
|
|
@@ -29334,14 +29307,14 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29334
29307
|
underline: "u",
|
|
29335
29308
|
strikeThrough: "s"
|
|
29336
29309
|
}[m];
|
|
29337
|
-
L ? l(m === "strikeThrough" ? "strikethrough" : m) ? s(L) : u(L) : m === "insertUnorderedList" ? c("ul") : m === "insertOrderedList" ? c("ol") : m === "createLink" &&
|
|
29310
|
+
L ? l(m === "strikeThrough" ? "strikethrough" : m) ? s(L) : u(L) : m === "insertUnorderedList" ? c("ul") : m === "insertOrderedList" ? c("ol") : m === "createLink" && j ? d(j) : document.execCommand(m, !1, j), a(), (N = i.current) == null || N.focus();
|
|
29338
29311
|
}, [u, s, l, a]), d = I((m) => {
|
|
29339
29312
|
var H;
|
|
29340
29313
|
if (!i.current) return;
|
|
29341
|
-
const
|
|
29342
|
-
if (!
|
|
29343
|
-
const
|
|
29344
|
-
if (
|
|
29314
|
+
const j = window.getSelection();
|
|
29315
|
+
if (!j || j.rangeCount === 0) return;
|
|
29316
|
+
const k = j.getRangeAt(0);
|
|
29317
|
+
if (k.collapsed) {
|
|
29345
29318
|
alert("Por favor selecciona el texto que quieres convertir en enlace");
|
|
29346
29319
|
return;
|
|
29347
29320
|
}
|
|
@@ -29351,19 +29324,19 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29351
29324
|
const N = document.createElement("a");
|
|
29352
29325
|
N.href = L, N.target = "_blank", N.rel = "noopener noreferrer", N.style.color = "#3658c1", N.style.textDecoration = "underline";
|
|
29353
29326
|
try {
|
|
29354
|
-
|
|
29327
|
+
k.surroundContents(N);
|
|
29355
29328
|
} catch {
|
|
29356
|
-
const B =
|
|
29357
|
-
N.appendChild(B),
|
|
29329
|
+
const B = k.extractContents();
|
|
29330
|
+
N.appendChild(B), k.insertNode(N);
|
|
29358
29331
|
}
|
|
29359
29332
|
const y = document.createRange();
|
|
29360
|
-
y.setStartAfter(N), y.collapse(!0),
|
|
29333
|
+
y.setStartAfter(N), y.collapse(!0), j.removeAllRanges(), j.addRange(y), (H = i.current) == null || H.focus(), a();
|
|
29361
29334
|
}, [a]), c = I((m) => {
|
|
29362
29335
|
var y, H, D, B;
|
|
29363
29336
|
if (!i.current) return;
|
|
29364
|
-
const
|
|
29365
|
-
if (!
|
|
29366
|
-
let
|
|
29337
|
+
const j = window.getSelection();
|
|
29338
|
+
if (!j) return;
|
|
29339
|
+
let k = j.rangeCount > 0 ? j.getRangeAt(0).commonAncestorContainer : i.current, L = null, N = k;
|
|
29367
29340
|
for (; N && N !== i.current; ) {
|
|
29368
29341
|
if (N.nodeType === Node.ELEMENT_NODE) {
|
|
29369
29342
|
const E = N, F = E.tagName.toLowerCase();
|
|
@@ -29378,8 +29351,8 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29378
29351
|
if (L.tagName.toLowerCase() === m) {
|
|
29379
29352
|
const F = L.parentNode;
|
|
29380
29353
|
F && (Array.from(L.children).forEach((z) => {
|
|
29381
|
-
const
|
|
29382
|
-
|
|
29354
|
+
const P = document.createElement("div");
|
|
29355
|
+
P.innerHTML = z.innerHTML || "<br>", F.insertBefore(P, L);
|
|
29383
29356
|
}), F.removeChild(L));
|
|
29384
29357
|
} else {
|
|
29385
29358
|
const F = document.createElement(m);
|
|
@@ -29387,22 +29360,22 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29387
29360
|
}
|
|
29388
29361
|
else {
|
|
29389
29362
|
const E = document.createElement(m), F = document.createElement("li");
|
|
29390
|
-
if (
|
|
29391
|
-
const z =
|
|
29363
|
+
if (j.rangeCount > 0) {
|
|
29364
|
+
const z = j.getRangeAt(0);
|
|
29392
29365
|
if (z.collapsed) {
|
|
29393
29366
|
F.innerHTML = "<br>", E.appendChild(F), i.current.childNodes.length === 0 || ((H = i.current.textContent) == null ? void 0 : H.trim()) === "" ? (i.current.innerHTML = "", i.current.appendChild(E)) : z.insertNode(E);
|
|
29394
|
-
const
|
|
29395
|
-
|
|
29367
|
+
const P = document.createRange();
|
|
29368
|
+
P.setStart(F, 0), P.collapse(!0), j.removeAllRanges(), j.addRange(P);
|
|
29396
29369
|
} else {
|
|
29397
|
-
const
|
|
29398
|
-
((D =
|
|
29370
|
+
const P = z.extractContents();
|
|
29371
|
+
((D = P.textContent) == null ? void 0 : D.trim()) === "" ? F.innerHTML = "<br>" : F.appendChild(P), E.appendChild(F), z.insertNode(E);
|
|
29399
29372
|
const U = document.createRange();
|
|
29400
|
-
U.selectNodeContents(F), U.collapse(!1),
|
|
29373
|
+
U.selectNodeContents(F), U.collapse(!1), j.removeAllRanges(), j.addRange(U);
|
|
29401
29374
|
}
|
|
29402
29375
|
} else {
|
|
29403
29376
|
F.innerHTML = "<br>", E.appendChild(F), i.current.appendChild(E);
|
|
29404
29377
|
const z = document.createRange();
|
|
29405
|
-
z.setStart(F, 0), z.collapse(!0),
|
|
29378
|
+
z.setStart(F, 0), z.collapse(!0), j.removeAllRanges(), j.addRange(z);
|
|
29406
29379
|
}
|
|
29407
29380
|
}
|
|
29408
29381
|
setTimeout(() => {
|
|
@@ -29419,21 +29392,21 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29419
29392
|
const C = I((m) => {
|
|
29420
29393
|
if (!i.current) return;
|
|
29421
29394
|
i.current.focus();
|
|
29422
|
-
const
|
|
29423
|
-
if (!
|
|
29424
|
-
let
|
|
29425
|
-
|
|
29395
|
+
const j = window.getSelection();
|
|
29396
|
+
if (!j) return;
|
|
29397
|
+
let k;
|
|
29398
|
+
j.rangeCount > 0 ? (k = j.getRangeAt(0), k.deleteContents()) : (k = document.createRange(), k.selectNodeContents(i.current), k.collapse(!1), j.removeAllRanges(), j.addRange(k));
|
|
29426
29399
|
const L = document.createTextNode(m);
|
|
29427
|
-
|
|
29400
|
+
k.insertNode(L), k.setStartAfter(L), k.collapse(!0), j.removeAllRanges(), j.addRange(k);
|
|
29428
29401
|
}, []), b = I((m) => {
|
|
29429
29402
|
if (!i.current) return;
|
|
29430
29403
|
i.current.focus();
|
|
29431
|
-
const
|
|
29432
|
-
if (!
|
|
29433
|
-
let
|
|
29434
|
-
|
|
29435
|
-
const L =
|
|
29436
|
-
|
|
29404
|
+
const j = window.getSelection();
|
|
29405
|
+
if (!j) return;
|
|
29406
|
+
let k;
|
|
29407
|
+
j.rangeCount > 0 ? (k = j.getRangeAt(0), k.deleteContents()) : (k = document.createRange(), k.selectNodeContents(i.current), k.collapse(!1), j.removeAllRanges(), j.addRange(k));
|
|
29408
|
+
const L = k.createContextualFragment(m);
|
|
29409
|
+
k.insertNode(L), k.collapse(!1), j.removeAllRanges(), j.addRange(k);
|
|
29437
29410
|
}, []), x = I((m) => {
|
|
29438
29411
|
C(m);
|
|
29439
29412
|
}, [C]), w = I((m) => {
|
|
@@ -29446,8 +29419,8 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29446
29419
|
}, []), O = I(() => {
|
|
29447
29420
|
i.current && (i.current.innerHTML = "");
|
|
29448
29421
|
}, []), M = I(() => {
|
|
29449
|
-
var
|
|
29450
|
-
return (((
|
|
29422
|
+
var j;
|
|
29423
|
+
return (((j = i.current) == null ? void 0 : j.textContent) || "").trim().length === 0;
|
|
29451
29424
|
}, []);
|
|
29452
29425
|
return {
|
|
29453
29426
|
editorRef: i,
|
|
@@ -29505,28 +29478,28 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29505
29478
|
activeFormats: O,
|
|
29506
29479
|
execCommand: M,
|
|
29507
29480
|
handleEditorClick: m,
|
|
29508
|
-
insertEmoji:
|
|
29509
|
-
getHTML:
|
|
29481
|
+
insertEmoji: j,
|
|
29482
|
+
getHTML: k,
|
|
29510
29483
|
setHTML: L,
|
|
29511
29484
|
isEmpty: N
|
|
29512
29485
|
} = Qs(), [y, H] = A(!0);
|
|
29513
29486
|
J(() => {
|
|
29514
|
-
i !== void 0 && w.current &&
|
|
29515
|
-
}, [i,
|
|
29487
|
+
i !== void 0 && w.current && k() !== i && L(i);
|
|
29488
|
+
}, [i, k, L]), J(() => {
|
|
29516
29489
|
r && w.current && !w.current.innerHTML && L(r);
|
|
29517
29490
|
}, [r, L]), J(() => {
|
|
29518
29491
|
C && w.current && w.current.focus();
|
|
29519
29492
|
}, [C]);
|
|
29520
29493
|
const D = () => {
|
|
29521
|
-
const z =
|
|
29494
|
+
const z = k();
|
|
29522
29495
|
o == null || o(z), H(N());
|
|
29523
29496
|
}, B = () => {
|
|
29524
29497
|
!N() && !n && (c == null || c());
|
|
29525
29498
|
}, E = () => {
|
|
29526
29499
|
const z = document.createElement("input");
|
|
29527
|
-
z.type = "file", z.onchange = (
|
|
29500
|
+
z.type = "file", z.onchange = (P) => {
|
|
29528
29501
|
var Y;
|
|
29529
|
-
const U = (Y =
|
|
29502
|
+
const U = (Y = P.target.files) == null ? void 0 : Y[0];
|
|
29530
29503
|
U && (s == null || s(U));
|
|
29531
29504
|
}, z.click();
|
|
29532
29505
|
}, F = (z) => O.has(z);
|
|
@@ -29668,7 +29641,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29668
29641
|
color: "secondary",
|
|
29669
29642
|
size: "lg",
|
|
29670
29643
|
position: "bottom-left",
|
|
29671
|
-
onEmojiSelect:
|
|
29644
|
+
onEmojiSelect: j,
|
|
29672
29645
|
closeOnSelect: !0,
|
|
29673
29646
|
width: 330,
|
|
29674
29647
|
height: 300
|
|
@@ -29680,7 +29653,7 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29680
29653
|
type: "button",
|
|
29681
29654
|
onClick: () => {
|
|
29682
29655
|
const z = prompt("Mencionar a:");
|
|
29683
|
-
z && (
|
|
29656
|
+
z && (j(`@${z} `), f == null || f(z));
|
|
29684
29657
|
},
|
|
29685
29658
|
disabled: n,
|
|
29686
29659
|
className: "ui-flex ui-h-5 ui-w-5 ui-items-center ui-justify-center ui-rounded ui-text-neutral-500 ui-transition-colors hover:ui-bg-neutral-50 disabled:ui-opacity-50",
|
|
@@ -29912,13 +29885,13 @@ const Un = "emoji-picker-recent", Ys = ({
|
|
|
29912
29885
|
}
|
|
29913
29886
|
) })
|
|
29914
29887
|
}
|
|
29915
|
-
),
|
|
29888
|
+
), Pe = (i) => i ? /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(i) : !1, Ie = (i) => {
|
|
29916
29889
|
if (!i) return "";
|
|
29917
29890
|
const r = i.trim();
|
|
29918
29891
|
return (r.startsWith("#") ? r : `#${r}`).toUpperCase();
|
|
29919
29892
|
}, zt = (i) => {
|
|
29920
29893
|
const r = Ie(i);
|
|
29921
|
-
if (
|
|
29894
|
+
if (!Pe(r)) return null;
|
|
29922
29895
|
const o = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
|
|
29923
29896
|
return o ? {
|
|
29924
29897
|
r: parseInt(o[1], 16),
|
|
@@ -29998,12 +29971,12 @@ const ol = (i, r, o) => {
|
|
|
29998
29971
|
onClick: u,
|
|
29999
29972
|
className: s
|
|
30000
29973
|
}, l) => {
|
|
30001
|
-
const f = ee(null), d = i ? Ie(i) : "", c = d ?
|
|
29974
|
+
const f = ee(null), d = i ? Ie(i) : "", c = d ? Pe(d) : !1, p = c ? d : "#000000", g = ue(() => {
|
|
30002
29975
|
if (!(!c || n))
|
|
30003
29976
|
return al(p);
|
|
30004
29977
|
}, [p, c, n]), C = (w) => {
|
|
30005
29978
|
const V = Ie(w);
|
|
30006
|
-
|
|
29979
|
+
Pe(V) ? a == null || a(V) : (w === "" || w === "#") && (a == null || a(w));
|
|
30007
29980
|
};
|
|
30008
29981
|
O1(l, () => ({
|
|
30009
29982
|
getValue: () => {
|
|
@@ -30049,7 +30022,7 @@ const ol = (i, r, o) => {
|
|
|
30049
30022
|
color: var(--color-input-text) !important;
|
|
30050
30023
|
}` }),
|
|
30051
30024
|
/* @__PURE__ */ t(
|
|
30052
|
-
|
|
30025
|
+
$e,
|
|
30053
30026
|
{
|
|
30054
30027
|
ref: f,
|
|
30055
30028
|
label: r,
|
|
@@ -30126,7 +30099,7 @@ const ul = ({
|
|
|
30126
30099
|
hsl(240, 100%, 50%) 66.66%,
|
|
30127
30100
|
hsl(300, 100%, 50%) 83.33%,
|
|
30128
30101
|
hsl(360, 100%, 50%) 100%
|
|
30129
|
-
)`,
|
|
30102
|
+
)`, j = p / 100 * 100, k = 100 - C / 100 * 100;
|
|
30130
30103
|
return /* @__PURE__ */ h("div", { className: S("ui-flex ui-flex-col ui-gap-3", o), children: [
|
|
30131
30104
|
/* @__PURE__ */ t("div", { className: "ui-relative", children: /* @__PURE__ */ t(
|
|
30132
30105
|
"div",
|
|
@@ -30140,8 +30113,8 @@ const ul = ({
|
|
|
30140
30113
|
{
|
|
30141
30114
|
className: "ui-absolute ui-w-4 ui-h-4 ui-rounded-full ui-border-2 ui-border-white ui-shadow-md ui-pointer-events-none ui-transform ui--translate-x-1/2 ui--translate-y-1/2",
|
|
30142
30115
|
style: {
|
|
30143
|
-
left: `${
|
|
30144
|
-
top: `${
|
|
30116
|
+
left: `${j}%`,
|
|
30117
|
+
top: `${k}%`
|
|
30145
30118
|
}
|
|
30146
30119
|
}
|
|
30147
30120
|
)
|
|
@@ -30215,13 +30188,13 @@ const ul = ({
|
|
|
30215
30188
|
const [e, n] = A([]), a = ee(null);
|
|
30216
30189
|
J(() => {
|
|
30217
30190
|
if (r.length > 0) {
|
|
30218
|
-
const p = r.map((g) => Ie(g)).filter((g) =>
|
|
30191
|
+
const p = r.map((g) => Ie(g)).filter((g) => Pe(g));
|
|
30219
30192
|
n(p.slice(0, i));
|
|
30220
30193
|
} else
|
|
30221
30194
|
try {
|
|
30222
30195
|
const p = localStorage.getItem(sn);
|
|
30223
30196
|
if (p) {
|
|
30224
|
-
const C = JSON.parse(p).map((b) => Ie(b)).filter((b) =>
|
|
30197
|
+
const C = JSON.parse(p).map((b) => Ie(b)).filter((b) => Pe(b));
|
|
30225
30198
|
n(C.slice(0, i));
|
|
30226
30199
|
}
|
|
30227
30200
|
} catch (p) {
|
|
@@ -30237,7 +30210,7 @@ const ul = ({
|
|
|
30237
30210
|
}, []), s = I(
|
|
30238
30211
|
(p) => {
|
|
30239
30212
|
const g = Ie(p);
|
|
30240
|
-
|
|
30213
|
+
Pe(g) && (n((C) => {
|
|
30241
30214
|
const b = [g, ...C.filter((x) => x !== g)].slice(
|
|
30242
30215
|
0,
|
|
30243
30216
|
i
|
|
@@ -30255,7 +30228,7 @@ const ul = ({
|
|
|
30255
30228
|
const f = I(
|
|
30256
30229
|
(p) => {
|
|
30257
30230
|
const g = Ie(p);
|
|
30258
|
-
|
|
30231
|
+
Pe(g) && (a.current = g, l.current && l.current(g));
|
|
30259
30232
|
},
|
|
30260
30233
|
[]
|
|
30261
30234
|
), d = I(
|
|
@@ -30351,14 +30324,14 @@ const pl = ({
|
|
|
30351
30324
|
const [a, u] = A(i || ""), [s, l] = A(""), { isSupported: f, isActive: d, pickColor: c } = cl(), p = ue(() => {
|
|
30352
30325
|
if (!i) return "#000000";
|
|
30353
30326
|
const v = Ie(i);
|
|
30354
|
-
return
|
|
30327
|
+
return Pe(v) ? v : "#000000";
|
|
30355
30328
|
}, [i]), g = ue(() => r.length > 0 ? r : sl, [r]), C = (v) => {
|
|
30356
30329
|
u(v), l("");
|
|
30357
30330
|
const O = Ie(v);
|
|
30358
|
-
|
|
30331
|
+
Pe(O) && o(O);
|
|
30359
30332
|
}, b = () => {
|
|
30360
30333
|
const v = Ie(a);
|
|
30361
|
-
|
|
30334
|
+
Pe(v) ? (o(v), l("")) : l("Color hexadecimal inválido");
|
|
30362
30335
|
}, x = (v) => {
|
|
30363
30336
|
o(v), u(v), l("");
|
|
30364
30337
|
}, w = (v) => {
|
|
@@ -30367,7 +30340,7 @@ const pl = ({
|
|
|
30367
30340
|
const v = await c();
|
|
30368
30341
|
if (v) {
|
|
30369
30342
|
const O = Ie(v);
|
|
30370
|
-
|
|
30343
|
+
Pe(O) && (o(O), u(O), l(""));
|
|
30371
30344
|
}
|
|
30372
30345
|
};
|
|
30373
30346
|
return J(() => {
|
|
@@ -30383,7 +30356,7 @@ const pl = ({
|
|
|
30383
30356
|
/* @__PURE__ */ t(ul, { color: p, onColorChange: w }),
|
|
30384
30357
|
e && /* @__PURE__ */ t("div", { className: "ui-flex ui-flex-col ui-gap-2", children: /* @__PURE__ */ h("div", { className: "ui-flex ui-items-end ui-gap-2", children: [
|
|
30385
30358
|
/* @__PURE__ */ t("div", { className: "ui-flex-1", children: /* @__PURE__ */ t(
|
|
30386
|
-
|
|
30359
|
+
$e,
|
|
30387
30360
|
{
|
|
30388
30361
|
label: "Color hexadecimal",
|
|
30389
30362
|
value: a,
|
|
@@ -30453,7 +30426,7 @@ const pl = ({
|
|
|
30453
30426
|
popupRef: O,
|
|
30454
30427
|
containerRef: M,
|
|
30455
30428
|
togglePopup: m,
|
|
30456
|
-
closePopup:
|
|
30429
|
+
closePopup: j
|
|
30457
30430
|
} = At({
|
|
30458
30431
|
position: g,
|
|
30459
30432
|
offset: l.offset || 6,
|
|
@@ -30465,53 +30438,53 @@ const pl = ({
|
|
|
30465
30438
|
disabled: p,
|
|
30466
30439
|
absolute: l.absolute || !1
|
|
30467
30440
|
}), {
|
|
30468
|
-
value:
|
|
30441
|
+
value: k,
|
|
30469
30442
|
setValue: L
|
|
30470
30443
|
} = Lt({
|
|
30471
30444
|
value: i ? Ie(i) : void 0,
|
|
30472
30445
|
defaultValue: r ? Ie(r) : "",
|
|
30473
|
-
onChange: (
|
|
30474
|
-
const U = Ie(
|
|
30475
|
-
|
|
30446
|
+
onChange: (P) => {
|
|
30447
|
+
const U = Ie(P);
|
|
30448
|
+
Pe(U) && (o == null || o(U));
|
|
30476
30449
|
}
|
|
30477
30450
|
}), { recentColors: N, addRecentColor: y, addRecentColorImmediate: H } = ll({
|
|
30478
30451
|
maxRecentColors: e,
|
|
30479
30452
|
initialRecentColors: n
|
|
30480
|
-
}), D = (
|
|
30481
|
-
const U = Ie(
|
|
30482
|
-
|
|
30453
|
+
}), D = (P) => {
|
|
30454
|
+
const U = Ie(P);
|
|
30455
|
+
Pe(U) && (L(U), y(U), a && j());
|
|
30483
30456
|
};
|
|
30484
30457
|
O1(
|
|
30485
30458
|
b,
|
|
30486
30459
|
() => ({
|
|
30487
|
-
getValue: () =>
|
|
30488
|
-
setValue: (
|
|
30489
|
-
const U = Ie(
|
|
30490
|
-
|
|
30460
|
+
getValue: () => k || "",
|
|
30461
|
+
setValue: (P) => {
|
|
30462
|
+
const U = Ie(P);
|
|
30463
|
+
Pe(U) && L(U);
|
|
30491
30464
|
},
|
|
30492
30465
|
open: () => {
|
|
30493
30466
|
p || m();
|
|
30494
30467
|
},
|
|
30495
30468
|
close: () => {
|
|
30496
|
-
|
|
30469
|
+
j();
|
|
30497
30470
|
},
|
|
30498
30471
|
isOpen: () => x
|
|
30499
30472
|
}),
|
|
30500
|
-
[
|
|
30473
|
+
[k, p, L, m, j, x]
|
|
30501
30474
|
);
|
|
30502
|
-
const B = (
|
|
30503
|
-
p || (
|
|
30504
|
-
}, E = (
|
|
30505
|
-
const U = Ie(
|
|
30506
|
-
|
|
30475
|
+
const B = (P) => {
|
|
30476
|
+
p || (P.stopPropagation(), m());
|
|
30477
|
+
}, E = (P) => {
|
|
30478
|
+
const U = Ie(P);
|
|
30479
|
+
Pe(U) ? (L(U), H(U)) : (P === "" || P === "#") && L(P);
|
|
30507
30480
|
}, F = ue(() => {
|
|
30508
|
-
if (!
|
|
30509
|
-
const
|
|
30510
|
-
return
|
|
30511
|
-
}, [
|
|
30481
|
+
if (!k) return "";
|
|
30482
|
+
const P = Ie(k);
|
|
30483
|
+
return Pe(P) ? P : k;
|
|
30484
|
+
}, [k]), z = () => {
|
|
30512
30485
|
if (!x) return null;
|
|
30513
|
-
const
|
|
30514
|
-
position:
|
|
30486
|
+
const P = l.absolute ? "absolute" : "fixed", U = V ? "visible" : "hidden", Y = {
|
|
30487
|
+
position: P,
|
|
30515
30488
|
top: l.absolute ? "auto" : "-9999px",
|
|
30516
30489
|
left: l.absolute ? "auto" : "-9999px",
|
|
30517
30490
|
visibility: U,
|
|
@@ -30610,7 +30583,7 @@ const hl = [
|
|
|
30610
30583
|
}, [o]);
|
|
30611
30584
|
const x = Math.min(i * (o || 0), e || 0) || 0, w = ue(() => !u || u.length === 0 ? 5 : Math.min(...u.map((M) => Number(M.id) || 5)), [u]), v = (() => {
|
|
30612
30585
|
const M = Math.min(Math.max(i, 1), Math.max(r - d + 1, 1)), m = Math.min(M + d - 1, r);
|
|
30613
|
-
return Array.from({ length: m - M + 1 }, (
|
|
30586
|
+
return Array.from({ length: m - M + 1 }, (j, k) => M + k);
|
|
30614
30587
|
})(), O = (M) => {
|
|
30615
30588
|
b(M), l(M), g(1);
|
|
30616
30589
|
};
|
|
@@ -30762,7 +30735,7 @@ const hl = [
|
|
|
30762
30735
|
height: i,
|
|
30763
30736
|
...o
|
|
30764
30737
|
},
|
|
30765
|
-
children: /* @__PURE__ */ t(
|
|
30738
|
+
children: /* @__PURE__ */ t(br, { animationData: Hl, loop: r })
|
|
30766
30739
|
}
|
|
30767
30740
|
), Ol = [
|
|
30768
30741
|
// ==================== BLUE VARIANTS ====================
|
|
@@ -31283,7 +31256,7 @@ const hl = [
|
|
|
31283
31256
|
}) => i.title ? /* @__PURE__ */ h("div", { className: `${e ? "" : "ui-mt-2 ui-text-center"} ui-w-full ${o}`, children: [
|
|
31284
31257
|
/* @__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}` }) }),
|
|
31285
31258
|
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 }) })
|
|
31286
|
-
] }) : null,
|
|
31259
|
+
] }) : null, Pl = ({ colorClasses: i, vertical: r = !1 }) => r ? /* @__PURE__ */ t(
|
|
31287
31260
|
"div",
|
|
31288
31261
|
{
|
|
31289
31262
|
className: `ui-absolute ui-left-[19px] ui-top-[49px] ui-h-[22px] ui-w-0.5 ${i.line}`
|
|
@@ -31293,7 +31266,7 @@ const hl = [
|
|
|
31293
31266
|
{
|
|
31294
31267
|
className: `ui-absolute ui-left-[84px] ui-top-[19px] ui-h-0.5 ui-w-[92px] ${i.line}`
|
|
31295
31268
|
}
|
|
31296
|
-
),
|
|
31269
|
+
), $l = ({
|
|
31297
31270
|
step: i,
|
|
31298
31271
|
stepIndex: r,
|
|
31299
31272
|
status: o,
|
|
@@ -31331,7 +31304,7 @@ const hl = [
|
|
|
31331
31304
|
vertical: d
|
|
31332
31305
|
}
|
|
31333
31306
|
),
|
|
31334
|
-
!n && /* @__PURE__ */ t(
|
|
31307
|
+
!n && /* @__PURE__ */ t(Pl, { colorClasses: e, vertical: d })
|
|
31335
31308
|
]
|
|
31336
31309
|
}
|
|
31337
31310
|
) }), Al = Te("", {
|
|
@@ -31396,15 +31369,15 @@ const hl = [
|
|
|
31396
31369
|
c && "ui-overflow-x-auto ui-overflow-y-hidden"
|
|
31397
31370
|
].filter(Boolean).join(" ");
|
|
31398
31371
|
return /* @__PURE__ */ t("div", { className: `${v} ${Al({ color: r, size: o, className: e })}`, children: i.map((O, M) => {
|
|
31399
|
-
const m = w(M),
|
|
31372
|
+
const m = w(M), j = M === i.length - 1;
|
|
31400
31373
|
return /* @__PURE__ */ t(
|
|
31401
|
-
|
|
31374
|
+
$l,
|
|
31402
31375
|
{
|
|
31403
31376
|
step: O,
|
|
31404
31377
|
stepIndex: M,
|
|
31405
31378
|
status: m,
|
|
31406
31379
|
colorClasses: V,
|
|
31407
|
-
isLast:
|
|
31380
|
+
isLast: j,
|
|
31408
31381
|
onStepClick: x,
|
|
31409
31382
|
classNameStep: n,
|
|
31410
31383
|
classNameStepLabel: a,
|
|
@@ -31417,15 +31390,15 @@ const hl = [
|
|
|
31417
31390
|
);
|
|
31418
31391
|
}) });
|
|
31419
31392
|
}, Gn = {
|
|
31420
|
-
dracula:
|
|
31421
|
-
tomorrow:
|
|
31422
|
-
oneDark:
|
|
31423
|
-
oneLight:
|
|
31424
|
-
atomDark:
|
|
31425
|
-
materialDark:
|
|
31426
|
-
materialLight:
|
|
31427
|
-
prism:
|
|
31428
|
-
dark:
|
|
31393
|
+
dracula: Or,
|
|
31394
|
+
tomorrow: Hr,
|
|
31395
|
+
oneDark: Vr,
|
|
31396
|
+
oneLight: kr,
|
|
31397
|
+
atomDark: jr,
|
|
31398
|
+
materialDark: Mr,
|
|
31399
|
+
materialLight: yr,
|
|
31400
|
+
prism: vr,
|
|
31401
|
+
dark: xr
|
|
31429
31402
|
}, R1 = (i) => {
|
|
31430
31403
|
if (typeof i == "string") return i;
|
|
31431
31404
|
if (qe.isValidElement(i)) {
|
|
@@ -31493,7 +31466,7 @@ ${l}
|
|
|
31493
31466
|
};
|
|
31494
31467
|
}, s = Gn[n] || Gn.dracula;
|
|
31495
31468
|
return /* @__PURE__ */ t("div", { className: "w-full", style: u(), children: /* @__PURE__ */ t(
|
|
31496
|
-
|
|
31469
|
+
wr,
|
|
31497
31470
|
{
|
|
31498
31471
|
language: r,
|
|
31499
31472
|
style: s,
|
|
@@ -31656,8 +31629,8 @@ const w1 = [
|
|
|
31656
31629
|
dataTypes: ["date"]
|
|
31657
31630
|
}
|
|
31658
31631
|
], ql = {
|
|
31659
|
-
text:
|
|
31660
|
-
number:
|
|
31632
|
+
text: nr,
|
|
31633
|
+
number: er,
|
|
31661
31634
|
list: Wi,
|
|
31662
31635
|
date: it
|
|
31663
31636
|
}, Ul = ({ type: i }) => {
|
|
@@ -31832,7 +31805,7 @@ const w1 = [
|
|
|
31832
31805
|
] })
|
|
31833
31806
|
] }) : /* @__PURE__ */ h(Be, { children: [
|
|
31834
31807
|
/* @__PURE__ */ t(
|
|
31835
|
-
|
|
31808
|
+
$e,
|
|
31836
31809
|
{
|
|
31837
31810
|
label: "Valor",
|
|
31838
31811
|
placeholder: "Ingresa el valor",
|
|
@@ -31844,7 +31817,7 @@ const w1 = [
|
|
|
31844
31817
|
}
|
|
31845
31818
|
),
|
|
31846
31819
|
C.requiresSecondValue && /* @__PURE__ */ t(
|
|
31847
|
-
|
|
31820
|
+
$e,
|
|
31848
31821
|
{
|
|
31849
31822
|
label: "Valor 2",
|
|
31850
31823
|
placeholder: "Ingresa el segundo valor",
|
|
@@ -31882,11 +31855,11 @@ const w1 = [
|
|
|
31882
31855
|
}
|
|
31883
31856
|
) }) }), _t = x1(
|
|
31884
31857
|
({ columns: i, rows: r, filters: o, onFiltersApply: e, className: n }, a) => {
|
|
31885
|
-
const u = ee(null), [s, l] = A(!1), [f, d] = A([]), [c, p] = A(""), g = I((
|
|
31858
|
+
const u = ee(null), [s, l] = A(!1), [f, d] = A([]), [c, p] = A(""), g = I((k) => {
|
|
31886
31859
|
const L = /* @__PURE__ */ new Set();
|
|
31887
31860
|
return r.forEach((y) => {
|
|
31888
31861
|
let H;
|
|
31889
|
-
if (typeof
|
|
31862
|
+
if (typeof k.accessor == "function" ? H = k.accessor(y) : k.accessor ? H = y[k.accessor] : H = y[k.id], Array.isArray(H))
|
|
31890
31863
|
H.forEach((D) => {
|
|
31891
31864
|
if (typeof D == "object" && D !== null) {
|
|
31892
31865
|
const B = D.name || D.label || D.value || D.id || JSON.stringify(D);
|
|
@@ -31907,21 +31880,21 @@ const w1 = [
|
|
|
31907
31880
|
}, [r]);
|
|
31908
31881
|
J(() => {
|
|
31909
31882
|
if (!s) {
|
|
31910
|
-
const
|
|
31883
|
+
const k = o.map((L) => ({
|
|
31911
31884
|
...L,
|
|
31912
31885
|
logicOperator: L.logicOperator || "and"
|
|
31913
31886
|
}));
|
|
31914
|
-
d(
|
|
31887
|
+
d(k);
|
|
31915
31888
|
}
|
|
31916
31889
|
}, [o, s]);
|
|
31917
31890
|
const C = ue(
|
|
31918
|
-
() => i.filter((
|
|
31919
|
-
if (
|
|
31891
|
+
() => i.filter((k) => {
|
|
31892
|
+
if (k.filterable === !1 || k.visible === !1) return !1;
|
|
31920
31893
|
const L = ["actions", "textfield", "skeleton"];
|
|
31921
|
-
return !(
|
|
31922
|
-
}).map((
|
|
31894
|
+
return !(k.type && L.includes(k.type));
|
|
31895
|
+
}).map((k) => {
|
|
31923
31896
|
let L = "text", N;
|
|
31924
|
-
switch (
|
|
31897
|
+
switch (k.type) {
|
|
31925
31898
|
case "number":
|
|
31926
31899
|
case "numeric":
|
|
31927
31900
|
case "progressbar":
|
|
@@ -31934,70 +31907,70 @@ const w1 = [
|
|
|
31934
31907
|
case "avatars":
|
|
31935
31908
|
case "tags":
|
|
31936
31909
|
case "checkbox":
|
|
31937
|
-
L = "list", N =
|
|
31910
|
+
L = "list", N = k.filterOptions || g(k);
|
|
31938
31911
|
break;
|
|
31939
31912
|
// Todos los demás son text por defecto
|
|
31940
31913
|
default:
|
|
31941
31914
|
L = "text";
|
|
31942
31915
|
}
|
|
31943
31916
|
return {
|
|
31944
|
-
value:
|
|
31945
|
-
label: typeof
|
|
31917
|
+
value: k.id,
|
|
31918
|
+
label: typeof k.header == "string" ? k.header : k.id,
|
|
31946
31919
|
dataType: L,
|
|
31947
31920
|
options: N
|
|
31948
31921
|
};
|
|
31949
31922
|
}),
|
|
31950
31923
|
[i, g]
|
|
31951
31924
|
), b = I(() => {
|
|
31952
|
-
var
|
|
31953
|
-
d(o), p(""), l(!1), (
|
|
31925
|
+
var k;
|
|
31926
|
+
d(o), p(""), l(!1), (k = u.current) == null || k.close();
|
|
31954
31927
|
}, [o]), x = I(() => {
|
|
31955
31928
|
l(!0);
|
|
31956
|
-
const
|
|
31929
|
+
const k = o.map((L) => ({
|
|
31957
31930
|
...L,
|
|
31958
31931
|
logicOperator: L.logicOperator || "and"
|
|
31959
31932
|
}));
|
|
31960
|
-
d(
|
|
31933
|
+
d(k), p("");
|
|
31961
31934
|
}, [o]), w = I(() => {
|
|
31962
31935
|
var L;
|
|
31963
|
-
const
|
|
31936
|
+
const k = f.filter((N) => {
|
|
31964
31937
|
const y = w1.find((H) => H.value === N.operator);
|
|
31965
31938
|
return y ? y.requiresValue ? N.operator === "in" ? Array.isArray(N.value) && N.value.length > 0 : y.requiresSecondValue ? N.value && N.value.toString().trim() !== "" && N.value2 && N.value2.toString().trim() !== "" : N.value && N.value.toString().trim() !== "" : !0 : !1;
|
|
31966
31939
|
});
|
|
31967
|
-
e(
|
|
31940
|
+
e(k), l(!1), (L = u.current) == null || L.close();
|
|
31968
31941
|
}, [f, e]), V = I(() => {
|
|
31969
31942
|
d([]);
|
|
31970
31943
|
}, []), v = I(() => {
|
|
31971
31944
|
if (!c) return;
|
|
31972
|
-
const
|
|
31973
|
-
if (!
|
|
31945
|
+
const k = C.find((N) => N.value === c);
|
|
31946
|
+
if (!k) return;
|
|
31974
31947
|
const L = {
|
|
31975
31948
|
id: `filter-${Date.now()}-${Math.random()}`,
|
|
31976
31949
|
columnId: c,
|
|
31977
|
-
columnLabel:
|
|
31950
|
+
columnLabel: k.label,
|
|
31978
31951
|
operator: "equals",
|
|
31979
31952
|
// Operador por defecto
|
|
31980
31953
|
value: "",
|
|
31981
31954
|
value2: void 0,
|
|
31982
|
-
dataType:
|
|
31955
|
+
dataType: k.dataType,
|
|
31983
31956
|
logicOperator: "and"
|
|
31984
31957
|
// Compuerta lógica por defecto
|
|
31985
31958
|
};
|
|
31986
31959
|
d((N) => [...N, L]), p("");
|
|
31987
|
-
}, [c, C]), O = I((
|
|
31960
|
+
}, [c, C]), O = I((k, L) => {
|
|
31988
31961
|
d(
|
|
31989
|
-
(N) => N.map((y) => y.id ===
|
|
31962
|
+
(N) => N.map((y) => y.id === k ? { ...y, ...L } : y)
|
|
31990
31963
|
);
|
|
31991
|
-
}, []), M = I((
|
|
31992
|
-
d((L) => L.filter((N) => N.id !==
|
|
31993
|
-
}, []), m = I((
|
|
31964
|
+
}, []), M = I((k) => {
|
|
31965
|
+
d((L) => L.filter((N) => N.id !== k));
|
|
31966
|
+
}, []), m = I((k, L) => {
|
|
31994
31967
|
d(
|
|
31995
|
-
(N) => N.map((y) => y.id ===
|
|
31968
|
+
(N) => N.map((y) => y.id === k ? { ...y, logicOperator: L } : y)
|
|
31996
31969
|
);
|
|
31997
|
-
}, []),
|
|
31970
|
+
}, []), j = ue(() => {
|
|
31998
31971
|
if (f.length !== o.length) return !0;
|
|
31999
31972
|
if (f.length === 0 && o.length === 0) return !1;
|
|
32000
|
-
const
|
|
31973
|
+
const k = (y) => `${y.columnId}|${y.operator}|${y.value || ""}|${y.value2 || ""}|${y.logicOperator || ""}`, L = new Set(o.map(k)), N = new Set(f.map(k));
|
|
32001
31974
|
if (L.size !== N.size) return !0;
|
|
32002
31975
|
for (const y of N)
|
|
32003
31976
|
if (!L.has(y)) return !0;
|
|
@@ -32009,11 +31982,11 @@ const w1 = [
|
|
|
32009
31982
|
open: () => {
|
|
32010
31983
|
var L, N;
|
|
32011
31984
|
l(!0);
|
|
32012
|
-
const
|
|
31985
|
+
const k = o.map((y) => ({
|
|
32013
31986
|
...y,
|
|
32014
31987
|
logicOperator: y.logicOperator || "and"
|
|
32015
31988
|
}));
|
|
32016
|
-
d(
|
|
31989
|
+
d(k), (N = (L = u.current) == null ? void 0 : L.open) == null || N.call(L);
|
|
32017
31990
|
},
|
|
32018
31991
|
close: b
|
|
32019
31992
|
}),
|
|
@@ -32047,7 +32020,7 @@ const w1 = [
|
|
|
32047
32020
|
placeholder: "Seleccionar columna...",
|
|
32048
32021
|
options: C,
|
|
32049
32022
|
value: c,
|
|
32050
|
-
onValueChange: (
|
|
32023
|
+
onValueChange: (k) => p(k),
|
|
32051
32024
|
valueName: "label",
|
|
32052
32025
|
idName: "value",
|
|
32053
32026
|
searchable: !0,
|
|
@@ -32062,7 +32035,7 @@ const w1 = [
|
|
|
32062
32035
|
theme: "solid",
|
|
32063
32036
|
color: "secondary",
|
|
32064
32037
|
size: "xs",
|
|
32065
|
-
icon:
|
|
32038
|
+
icon: tr,
|
|
32066
32039
|
onClick: v,
|
|
32067
32040
|
disabled: !c,
|
|
32068
32041
|
tooltip: "Agregar filtro",
|
|
@@ -32076,15 +32049,15 @@ const w1 = [
|
|
|
32076
32049
|
/* @__PURE__ */ t(de, { name: D1, size: "lg", color: "blue", background: !0 }),
|
|
32077
32050
|
/* @__PURE__ */ t("p", { className: "ui-text-body-md-regular ui-font-body-xs-semibold ui-leading-tracking-body-xs", children: "No hay Filtros configurados" }),
|
|
32078
32051
|
/* @__PURE__ */ t("p", { className: "ui-text-body-xs-regular ui-font-body-xs-regular ui-leading-tracking-body-xs ui-text-center ui-text-tertiary", children: "Agrega un filtro seleccionando una columna" })
|
|
32079
|
-
] }) : /* @__PURE__ */ t("div", { className: "ui-flex ui-flex-col ui-gap-0", children: f.map((
|
|
32080
|
-
const N = C.find((H) => H.value ===
|
|
32052
|
+
] }) : /* @__PURE__ */ t("div", { className: "ui-flex ui-flex-col ui-gap-0", children: f.map((k, L) => {
|
|
32053
|
+
const N = C.find((H) => H.value === k.columnId);
|
|
32081
32054
|
if (!N) return null;
|
|
32082
32055
|
const y = L === f.length - 1;
|
|
32083
32056
|
return /* @__PURE__ */ h("div", { children: [
|
|
32084
32057
|
/* @__PURE__ */ t(
|
|
32085
32058
|
Gl,
|
|
32086
32059
|
{
|
|
32087
|
-
filter:
|
|
32060
|
+
filter: k,
|
|
32088
32061
|
columnData: N,
|
|
32089
32062
|
onUpdate: O,
|
|
32090
32063
|
onRemove: M
|
|
@@ -32093,11 +32066,11 @@ const w1 = [
|
|
|
32093
32066
|
!y && /* @__PURE__ */ t(
|
|
32094
32067
|
Jl,
|
|
32095
32068
|
{
|
|
32096
|
-
value:
|
|
32097
|
-
onChange: (H) => m(
|
|
32069
|
+
value: k.logicOperator || "and",
|
|
32070
|
+
onChange: (H) => m(k.id, H)
|
|
32098
32071
|
}
|
|
32099
32072
|
)
|
|
32100
|
-
] },
|
|
32073
|
+
] }, k.id);
|
|
32101
32074
|
}) }) })
|
|
32102
32075
|
] }),
|
|
32103
32076
|
/* @__PURE__ */ t(Ue, {}),
|
|
@@ -32108,7 +32081,7 @@ const w1 = [
|
|
|
32108
32081
|
theme: "solid",
|
|
32109
32082
|
color: "secondary",
|
|
32110
32083
|
size: "xs",
|
|
32111
|
-
icon:
|
|
32084
|
+
icon: ir,
|
|
32112
32085
|
onClick: V,
|
|
32113
32086
|
pill: "pill",
|
|
32114
32087
|
tooltip: "Limpiar todos los filtros",
|
|
@@ -32134,9 +32107,9 @@ const w1 = [
|
|
|
32134
32107
|
color: "primary",
|
|
32135
32108
|
size: "xs",
|
|
32136
32109
|
pill: "md",
|
|
32137
|
-
icon:
|
|
32110
|
+
icon: rr,
|
|
32138
32111
|
onClick: w,
|
|
32139
|
-
disabled: !
|
|
32112
|
+
disabled: !j,
|
|
32140
32113
|
children: "Aplicar Filtros"
|
|
32141
32114
|
}
|
|
32142
32115
|
)
|
|
@@ -32172,11 +32145,11 @@ const Ql = ({
|
|
|
32172
32145
|
onMultipleColumnVisibilityChange: O,
|
|
32173
32146
|
onColumnReorder: M,
|
|
32174
32147
|
onFiltersApply: m,
|
|
32175
|
-
className:
|
|
32148
|
+
className: j
|
|
32176
32149
|
}) => {
|
|
32177
|
-
const [
|
|
32150
|
+
const [k, L] = A(""), [N, y] = A([]), [H, D] = A([]), [B, E] = A(!1), F = ee(null), z = ee(null);
|
|
32178
32151
|
J(() => {
|
|
32179
|
-
const
|
|
32152
|
+
const $ = b.map((K) => ({
|
|
32180
32153
|
id: K.id,
|
|
32181
32154
|
title: typeof K.header == "string" ? K.header : K.id,
|
|
32182
32155
|
checked: K.visible !== !1,
|
|
@@ -32186,26 +32159,26 @@ const Ql = ({
|
|
|
32186
32159
|
disabled: K.locked
|
|
32187
32160
|
// Las columnas bloqueadas tienen icono disabled
|
|
32188
32161
|
})), q = [
|
|
32189
|
-
|
|
32190
|
-
|
|
32162
|
+
...$.filter((K) => K.disabled),
|
|
32163
|
+
...$.filter((K) => !K.disabled)
|
|
32191
32164
|
];
|
|
32192
32165
|
y(q), D(q);
|
|
32193
32166
|
}, [b]);
|
|
32194
|
-
const
|
|
32195
|
-
L(
|
|
32196
|
-
}, U = (
|
|
32167
|
+
const P = ($) => {
|
|
32168
|
+
L($), d == null || d($);
|
|
32169
|
+
}, U = ($, q) => {
|
|
32197
32170
|
D(
|
|
32198
|
-
(K) => K.map((W) => W.id ===
|
|
32171
|
+
(K) => K.map((W) => W.id === $ ? { ...W, checked: q } : W)
|
|
32199
32172
|
);
|
|
32200
|
-
}, Y = (
|
|
32201
|
-
D(
|
|
32173
|
+
}, Y = ($) => {
|
|
32174
|
+
D($);
|
|
32202
32175
|
}, te = () => {
|
|
32203
32176
|
var K;
|
|
32204
|
-
const
|
|
32177
|
+
const $ = [];
|
|
32205
32178
|
if (H.forEach((W) => {
|
|
32206
32179
|
const ce = N.find((pe) => pe.id === W.id);
|
|
32207
|
-
ce && ce.checked !== W.checked &&
|
|
32208
|
-
}),
|
|
32180
|
+
ce && ce.checked !== W.checked && $.push({ columnId: W.id, visible: W.checked ?? !1 });
|
|
32181
|
+
}), $.length > 0 && ($.length > 1 && O ? O($) : $.forEach((W) => {
|
|
32209
32182
|
v == null || v(W.columnId, W.visible);
|
|
32210
32183
|
})), H.some(
|
|
32211
32184
|
(W, ce) => {
|
|
@@ -32221,13 +32194,13 @@ const Ql = ({
|
|
|
32221
32194
|
}
|
|
32222
32195
|
y(H), E(!1), (K = F.current) == null || K.close();
|
|
32223
32196
|
}, _ = () => {
|
|
32224
|
-
var
|
|
32225
|
-
D(N), E(!1), (
|
|
32197
|
+
var $;
|
|
32198
|
+
D(N), E(!1), ($ = F.current) == null || $.close();
|
|
32226
32199
|
}, X = () => {
|
|
32227
32200
|
E(!0), D([...N]);
|
|
32228
32201
|
}, G = S(
|
|
32229
32202
|
"ui-flex ui-flex-col ui-bg-fill",
|
|
32230
|
-
|
|
32203
|
+
j
|
|
32231
32204
|
), T = {
|
|
32232
32205
|
equals: "=",
|
|
32233
32206
|
notEquals: "≠",
|
|
@@ -32249,28 +32222,28 @@ const Ql = ({
|
|
|
32249
32222
|
lastMonth: "es mes pasado",
|
|
32250
32223
|
thisYear: "es este año",
|
|
32251
32224
|
lastYear: "es año pasado"
|
|
32252
|
-
}, Z = (
|
|
32253
|
-
const q = b.find((ce) => ce.id ===
|
|
32254
|
-
if (
|
|
32255
|
-
return `"${
|
|
32256
|
-
const W = T[
|
|
32257
|
-
if (["isEmpty", "isNotEmpty", "thisMonth", "lastMonth", "thisYear", "lastYear"].includes(
|
|
32225
|
+
}, Z = ($) => {
|
|
32226
|
+
const q = b.find((ce) => ce.id === $.columnId), K = q ? typeof q.header == "string" ? q.header : q.id : $.columnId;
|
|
32227
|
+
if ($.columnId === "_search")
|
|
32228
|
+
return `"${$.value}"`;
|
|
32229
|
+
const W = T[$.operator] || $.operator;
|
|
32230
|
+
if (["isEmpty", "isNotEmpty", "thisMonth", "lastMonth", "thisYear", "lastYear"].includes($.operator))
|
|
32258
32231
|
return `"${K}" ${W}`;
|
|
32259
|
-
if (
|
|
32260
|
-
const ce =
|
|
32232
|
+
if ($.operator === "in" && Array.isArray($.value)) {
|
|
32233
|
+
const ce = $.value.map((pe) => `"${pe}"`).join(", ");
|
|
32261
32234
|
return `"${K}" ${W} [${ce}]`;
|
|
32262
32235
|
}
|
|
32263
|
-
return
|
|
32264
|
-
}, R = (
|
|
32236
|
+
return $.operator === "between" && $.value && $.value2 ? `"${K}" ${W} "${$.value}" y "${$.value2}"` : $.value ? `"${K}" ${W} "${$.value}"` : K;
|
|
32237
|
+
}, R = ($) => $.columnId === "_search" ? "success" : "accent", ne = ($) => {
|
|
32265
32238
|
const q = w.filter(
|
|
32266
|
-
(K) => !(K.columnId ===
|
|
32239
|
+
(K) => !(K.columnId === $.columnId && K.operator === $.operator && K.value === $.value)
|
|
32267
32240
|
);
|
|
32268
32241
|
m == null || m(q);
|
|
32269
32242
|
}, re = () => {
|
|
32270
32243
|
m == null || m([]), L(""), d == null || d("");
|
|
32271
32244
|
}, le = () => {
|
|
32272
32245
|
L(""), d == null || d("");
|
|
32273
|
-
}, ge = w.length > 0 ||
|
|
32246
|
+
}, ge = w.length > 0 || k.trim().length > 0, fe = w.length + (k.trim().length > 0 ? 1 : 0);
|
|
32274
32247
|
return /* @__PURE__ */ h("div", { className: G, children: [
|
|
32275
32248
|
/* @__PURE__ */ h("div", { className: S(
|
|
32276
32249
|
"ui-flex ui-items-center ui-justify-between ui-p-4",
|
|
@@ -32286,7 +32259,7 @@ const Ql = ({
|
|
|
32286
32259
|
theme: "solid",
|
|
32287
32260
|
color: "tertiary",
|
|
32288
32261
|
position: "bottom-left",
|
|
32289
|
-
icon:
|
|
32262
|
+
icon: or,
|
|
32290
32263
|
size: "xs",
|
|
32291
32264
|
absolute: !0,
|
|
32292
32265
|
closeOnClick: !1,
|
|
@@ -32340,11 +32313,11 @@ const Ql = ({
|
|
|
32340
32313
|
/* @__PURE__ */ t("div", { className: "ui-h-control-xs ui-border-1 ui-border-r-default" })
|
|
32341
32314
|
] }),
|
|
32342
32315
|
i && /* @__PURE__ */ t("div", { className: "ui-w-[223px]", children: /* @__PURE__ */ t(
|
|
32343
|
-
|
|
32316
|
+
$e,
|
|
32344
32317
|
{
|
|
32345
32318
|
placeholder: r,
|
|
32346
|
-
value:
|
|
32347
|
-
onValueChange:
|
|
32319
|
+
value: k,
|
|
32320
|
+
onValueChange: P,
|
|
32348
32321
|
leftSlot: "SearchOutlined",
|
|
32349
32322
|
size: "xs",
|
|
32350
32323
|
fullWidth: !0
|
|
@@ -32358,8 +32331,8 @@ const Ql = ({
|
|
|
32358
32331
|
columns: b,
|
|
32359
32332
|
rows: x,
|
|
32360
32333
|
filters: w,
|
|
32361
|
-
onFiltersApply: (
|
|
32362
|
-
m == null || m(
|
|
32334
|
+
onFiltersApply: ($) => {
|
|
32335
|
+
m == null || m($);
|
|
32363
32336
|
}
|
|
32364
32337
|
}
|
|
32365
32338
|
),
|
|
@@ -32409,24 +32382,24 @@ const Ql = ({
|
|
|
32409
32382
|
)
|
|
32410
32383
|
] }),
|
|
32411
32384
|
/* @__PURE__ */ h("div", { className: "ui-flex ui-flex-wrap ui-items-center ui-gap-8", children: [
|
|
32412
|
-
|
|
32385
|
+
k.trim().length > 0 && /* @__PURE__ */ t(
|
|
32413
32386
|
V1,
|
|
32414
32387
|
{
|
|
32415
|
-
label: `"${
|
|
32388
|
+
label: `"${k}"`,
|
|
32416
32389
|
color: "success",
|
|
32417
32390
|
infoIcon: "SearchOutlined",
|
|
32418
32391
|
onClose: le
|
|
32419
32392
|
},
|
|
32420
32393
|
"_search"
|
|
32421
32394
|
),
|
|
32422
|
-
w.map((
|
|
32395
|
+
w.map(($, q) => /* @__PURE__ */ t(
|
|
32423
32396
|
V1,
|
|
32424
32397
|
{
|
|
32425
|
-
label: Z(
|
|
32426
|
-
color: R(
|
|
32427
|
-
onClose: () => ne(
|
|
32398
|
+
label: Z($),
|
|
32399
|
+
color: R($),
|
|
32400
|
+
onClose: () => ne($)
|
|
32428
32401
|
},
|
|
32429
|
-
`${
|
|
32402
|
+
`${$.columnId}-${$.operator}-${q}`
|
|
32430
32403
|
))
|
|
32431
32404
|
] })
|
|
32432
32405
|
] })
|
|
@@ -32645,7 +32618,7 @@ const Xl = {
|
|
|
32645
32618
|
},
|
|
32646
32619
|
more: {
|
|
32647
32620
|
type: "more",
|
|
32648
|
-
icon:
|
|
32621
|
+
icon: ar,
|
|
32649
32622
|
tooltip: "Más opciones"
|
|
32650
32623
|
}
|
|
32651
32624
|
}, Gt = u1(({
|
|
@@ -32825,9 +32798,9 @@ const Wl = ({
|
|
|
32825
32798
|
isDifferent: l !== p.current,
|
|
32826
32799
|
willFire: g.current && l !== p.current
|
|
32827
32800
|
}), g.current && l !== p.current ? (console.log("🚀 TextFieldCell - Llamando onChange con:", l), e == null || e(l), p.current = l) : console.log("❌ TextFieldCell - NO se dispara onChange"), g.current = !1;
|
|
32828
|
-
},
|
|
32801
|
+
}, k = d !== "";
|
|
32829
32802
|
return /* @__PURE__ */ t("td", { className: b, ...x, onClick: (L) => De(L, a), children: /* @__PURE__ */ t("div", { className: S("ui-flex ui-items-center ui-h-full", w), children: /* @__PURE__ */ t(
|
|
32830
|
-
|
|
32803
|
+
$e,
|
|
32831
32804
|
{
|
|
32832
32805
|
value: l,
|
|
32833
32806
|
onValueChange: M,
|
|
@@ -32837,7 +32810,7 @@ const Wl = ({
|
|
|
32837
32810
|
size: "sm",
|
|
32838
32811
|
disabled: o === "disabled",
|
|
32839
32812
|
fullWidth: !0,
|
|
32840
|
-
errorCursor:
|
|
32813
|
+
errorCursor: k
|
|
32841
32814
|
}
|
|
32842
32815
|
) }) });
|
|
32843
32816
|
}, r4 = ({
|
|
@@ -33415,7 +33388,7 @@ const g4 = ({
|
|
|
33415
33388
|
onResizeHover: b,
|
|
33416
33389
|
className: x
|
|
33417
33390
|
}) => {
|
|
33418
|
-
const w = ee(null), [V, v] = A(!1), [O, M] = A(!1), [m,
|
|
33391
|
+
const w = ee(null), [V, v] = A(!1), [O, M] = A(!1), [m, j] = A(!1), k = ee(0), L = ee(0), N = ee(0), y = ee(80), H = ee(null), D = S(
|
|
33419
33392
|
"ui-group ui-px-4 ui-py-3 ui-text-left ui-text-body-xs-regular ui-font-normal ui-text-tertiary",
|
|
33420
33393
|
"ui-transition-colors ui-duration-150",
|
|
33421
33394
|
"ui-h-12",
|
|
@@ -33426,7 +33399,7 @@ const g4 = ({
|
|
|
33426
33399
|
s && "ui-sticky ui-z-[40] ui-isolate",
|
|
33427
33400
|
l && "ui-border-r-2 ui-border-r-default",
|
|
33428
33401
|
x
|
|
33429
|
-
), B = () => a === "asc" ?
|
|
33402
|
+
), B = () => a === "asc" ? lr : a === "desc" ? cr : Zn;
|
|
33430
33403
|
S(
|
|
33431
33404
|
"ui-flex ui-items-center ui-gap-1",
|
|
33432
33405
|
"ui-transition-opacity ui-duration-200",
|
|
@@ -33435,7 +33408,7 @@ const g4 = ({
|
|
|
33435
33408
|
const F = (X) => {
|
|
33436
33409
|
var ne;
|
|
33437
33410
|
if (X.preventDefault(), X.stopPropagation(), !w.current) return;
|
|
33438
|
-
v(!0), M(!1),
|
|
33411
|
+
v(!0), M(!1), k.current = X.clientX, L.current = X.clientX;
|
|
33439
33412
|
const G = typeof i.width == "number" ? i.width : w.current.offsetWidth;
|
|
33440
33413
|
N.current = G;
|
|
33441
33414
|
let T = 0;
|
|
@@ -33448,8 +33421,8 @@ const g4 = ({
|
|
|
33448
33421
|
}
|
|
33449
33422
|
const R = w.current.closest("table");
|
|
33450
33423
|
R && R.querySelectorAll(`td[data-column-id="${i.id}"]`).forEach((le) => {
|
|
33451
|
-
le.querySelectorAll("span, p, div, a").forEach((
|
|
33452
|
-
const q =
|
|
33424
|
+
le.querySelectorAll("span, p, div, a").forEach(($) => {
|
|
33425
|
+
const q = $;
|
|
33453
33426
|
if (q.textContent && q.textContent.trim()) {
|
|
33454
33427
|
const K = document.createRange();
|
|
33455
33428
|
K.selectNodeContents(q);
|
|
@@ -33460,7 +33433,7 @@ const g4 = ({
|
|
|
33460
33433
|
}), y.current = Math.max(80, T);
|
|
33461
33434
|
}, z = (X) => {
|
|
33462
33435
|
if (!g) return;
|
|
33463
|
-
const G = X.clientX -
|
|
33436
|
+
const G = X.clientX - k.current, T = Math.abs(G);
|
|
33464
33437
|
if (!O && T < 3)
|
|
33465
33438
|
return;
|
|
33466
33439
|
O || M(!0);
|
|
@@ -33469,19 +33442,19 @@ const g4 = ({
|
|
|
33469
33442
|
const R = Math.max(y.current, N.current + Z);
|
|
33470
33443
|
g(R);
|
|
33471
33444
|
});
|
|
33472
|
-
},
|
|
33473
|
-
v(!1), M(!1),
|
|
33445
|
+
}, P = () => {
|
|
33446
|
+
v(!1), M(!1), j(!1), b == null || b(!1), L.current = 0, H.current && (cancelAnimationFrame(H.current), H.current = null);
|
|
33474
33447
|
}, U = (X) => {
|
|
33475
33448
|
X.preventDefault(), X.stopPropagation(), C == null || C();
|
|
33476
33449
|
}, Y = () => {
|
|
33477
|
-
|
|
33450
|
+
j(!0), b == null || b(!0);
|
|
33478
33451
|
}, te = () => {
|
|
33479
|
-
V || (
|
|
33452
|
+
V || (j(!1), b == null || b(!1));
|
|
33480
33453
|
};
|
|
33481
33454
|
J(() => {
|
|
33482
33455
|
if (V)
|
|
33483
|
-
return document.addEventListener("mousemove", z), document.addEventListener("mouseup",
|
|
33484
|
-
document.removeEventListener("mousemove", z), document.removeEventListener("mouseup",
|
|
33456
|
+
return document.addEventListener("mousemove", z), document.addEventListener("mouseup", P), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none", () => {
|
|
33457
|
+
document.removeEventListener("mousemove", z), document.removeEventListener("mouseup", P), document.body.style.cursor = "", document.body.style.userSelect = "", H.current && (cancelAnimationFrame(H.current), H.current = null);
|
|
33485
33458
|
};
|
|
33486
33459
|
}, [V, O]);
|
|
33487
33460
|
const _ = i.width !== void 0;
|
|
@@ -33512,7 +33485,7 @@ const g4 = ({
|
|
|
33512
33485
|
size: "xxs",
|
|
33513
33486
|
pill: "xs",
|
|
33514
33487
|
colorIcon: s ? "brand" : "default",
|
|
33515
|
-
icon: s ?
|
|
33488
|
+
icon: s ? ur : sr,
|
|
33516
33489
|
onClick: p,
|
|
33517
33490
|
tooltip: s ? "Desbloquear columna" : "Bloquear columna",
|
|
33518
33491
|
tooltipPosition: "top-left"
|
|
@@ -33685,10 +33658,10 @@ const g4 = ({
|
|
|
33685
33658
|
...v.filter((m) => m.locked),
|
|
33686
33659
|
...v.filter((m) => !m.locked)
|
|
33687
33660
|
], M = O.filter((m) => m.locked);
|
|
33688
|
-
return O.map((m,
|
|
33689
|
-
const
|
|
33661
|
+
return O.map((m, j) => {
|
|
33662
|
+
const k = m.accessor ? typeof m.accessor == "function" ? m.accessor(i) : i[m.accessor] : void 0, L = m.render ? m.render(k, i, m) : k, N = m.locked && M.length > 0 && M[M.length - 1].id === m.id;
|
|
33690
33663
|
let y = (l ? 48 : 0) + (f ? 48 : 0);
|
|
33691
|
-
for (let H = 0; H <
|
|
33664
|
+
for (let H = 0; H < j; H++) {
|
|
33692
33665
|
const D = O[H];
|
|
33693
33666
|
if (D.locked) {
|
|
33694
33667
|
let B = 150;
|
|
@@ -33710,7 +33683,7 @@ const g4 = ({
|
|
|
33710
33683
|
column: m,
|
|
33711
33684
|
row: i,
|
|
33712
33685
|
value: L,
|
|
33713
|
-
rawValue:
|
|
33686
|
+
rawValue: k,
|
|
33714
33687
|
selected: C,
|
|
33715
33688
|
onCellFocus: d,
|
|
33716
33689
|
isCellFocused: c,
|
|
@@ -33819,7 +33792,7 @@ const g4 = ({
|
|
|
33819
33792
|
),
|
|
33820
33793
|
a && (b == null ? void 0 : b.requiresValue) && /* @__PURE__ */ h("div", { className: "ui-flex ui-gap-2", children: [
|
|
33821
33794
|
/* @__PURE__ */ t(
|
|
33822
|
-
|
|
33795
|
+
$e,
|
|
33823
33796
|
{
|
|
33824
33797
|
label: "Valor",
|
|
33825
33798
|
placeholder: "Ingresa el valor",
|
|
@@ -33831,7 +33804,7 @@ const g4 = ({
|
|
|
33831
33804
|
}
|
|
33832
33805
|
),
|
|
33833
33806
|
b.requiresSecondValue && /* @__PURE__ */ t(
|
|
33834
|
-
|
|
33807
|
+
$e,
|
|
33835
33808
|
{
|
|
33836
33809
|
label: "Valor 2",
|
|
33837
33810
|
placeholder: "Ingresa el segundo valor",
|
|
@@ -33913,13 +33886,13 @@ const g4 = ({
|
|
|
33913
33886
|
if (!b.current || !O) return;
|
|
33914
33887
|
const m = setTimeout(() => {
|
|
33915
33888
|
var N;
|
|
33916
|
-
const
|
|
33917
|
-
|
|
33889
|
+
const j = {}, k = (N = b.current) == null ? void 0 : N.querySelectorAll("th[data-column-id]");
|
|
33890
|
+
k == null || k.forEach((y) => {
|
|
33918
33891
|
const H = y.getAttribute("data-column-id");
|
|
33919
|
-
H && (
|
|
33920
|
-
}), (Object.keys(
|
|
33921
|
-
(y) =>
|
|
33922
|
-
) || Object.keys(
|
|
33892
|
+
H && (j[H] = y.getBoundingClientRect().width);
|
|
33893
|
+
}), (Object.keys(j).some(
|
|
33894
|
+
(y) => j[y] !== x[y]
|
|
33895
|
+
) || Object.keys(j).length !== Object.keys(x).length) && (console.log("📏 Anchos medidos:", j), w(j));
|
|
33923
33896
|
}, 50);
|
|
33924
33897
|
return () => clearTimeout(m);
|
|
33925
33898
|
}, [i, O]), /* @__PURE__ */ t("thead", { ref: b, className: "ui-bg-fill", children: /* @__PURE__ */ h("tr", { children: [
|
|
@@ -33946,7 +33919,7 @@ const g4 = ({
|
|
|
33946
33919
|
}
|
|
33947
33920
|
),
|
|
33948
33921
|
v.map((M, m) => {
|
|
33949
|
-
const
|
|
33922
|
+
const j = (r == null ? void 0 : r.columnId) === M.id, k = o.some((D) => D.columnId === M.id), L = v.filter((D) => D.locked), N = M.locked && L.length > 0 && L[L.length - 1].id === M.id;
|
|
33950
33923
|
let y = (e ? 48 : 0) + (n ? 48 : 0);
|
|
33951
33924
|
const H = [];
|
|
33952
33925
|
for (let D = 0; D < m; D++) {
|
|
@@ -33984,8 +33957,8 @@ const g4 = ({
|
|
|
33984
33957
|
C4,
|
|
33985
33958
|
{
|
|
33986
33959
|
column: M,
|
|
33987
|
-
sortDirection:
|
|
33988
|
-
filterActive:
|
|
33960
|
+
sortDirection: j ? r == null ? void 0 : r.direction : null,
|
|
33961
|
+
filterActive: k,
|
|
33989
33962
|
locked: M.locked,
|
|
33990
33963
|
isLastLocked: N,
|
|
33991
33964
|
resizable: s,
|
|
@@ -34033,11 +34006,11 @@ const g4 = ({
|
|
|
34033
34006
|
const a = () => {
|
|
34034
34007
|
switch (i) {
|
|
34035
34008
|
case "no-results":
|
|
34036
|
-
return
|
|
34009
|
+
return pr;
|
|
34037
34010
|
case "no-filters":
|
|
34038
34011
|
return D1;
|
|
34039
34012
|
default:
|
|
34040
|
-
return
|
|
34013
|
+
return dr;
|
|
34041
34014
|
}
|
|
34042
34015
|
}, u = Jn[i] || Jn.empty, s = o || u.title, l = e ?? u.description, f = S(
|
|
34043
34016
|
"ui-flex ui-min-h-[400px] ui-flex-col ui-items-center ui-justify-center ui-gap-12 ui-p-12"
|
|
@@ -34135,8 +34108,8 @@ const g4 = ({
|
|
|
34135
34108
|
onFilter: O,
|
|
34136
34109
|
onLock: M,
|
|
34137
34110
|
onResize: m,
|
|
34138
|
-
onResizeDoubleClick:
|
|
34139
|
-
onResizeHover:
|
|
34111
|
+
onResizeDoubleClick: j,
|
|
34112
|
+
onResizeHover: k,
|
|
34140
34113
|
onRowClick: L,
|
|
34141
34114
|
onRowExpand: N,
|
|
34142
34115
|
onCellFocus: y,
|
|
@@ -34175,8 +34148,8 @@ const g4 = ({
|
|
|
34175
34148
|
onFilter: O,
|
|
34176
34149
|
onLock: M,
|
|
34177
34150
|
onResize: m,
|
|
34178
|
-
onResizeDoubleClick:
|
|
34179
|
-
onResizeHover:
|
|
34151
|
+
onResizeDoubleClick: j,
|
|
34152
|
+
onResizeHover: k
|
|
34180
34153
|
}
|
|
34181
34154
|
),
|
|
34182
34155
|
/* @__PURE__ */ t(
|
|
@@ -34482,7 +34455,7 @@ const g4 = ({
|
|
|
34482
34455
|
clearFilters: s,
|
|
34483
34456
|
setAllFilters: l
|
|
34484
34457
|
};
|
|
34485
|
-
},
|
|
34458
|
+
}, P4 = (i = {}) => {
|
|
34486
34459
|
const { externalEditingRowIds: r, onEditingRowIdsChange: o } = i, [e, n] = A(/* @__PURE__ */ new Set());
|
|
34487
34460
|
J(() => {
|
|
34488
34461
|
r !== void 0 && n(new Set(r));
|
|
@@ -34519,7 +34492,7 @@ const g4 = ({
|
|
|
34519
34492
|
isRowEditing: c,
|
|
34520
34493
|
applyEditState: p
|
|
34521
34494
|
};
|
|
34522
|
-
}, Qn = 1,
|
|
34495
|
+
}, Qn = 1, $4 = "table-config-", A4 = ({
|
|
34523
34496
|
configKey: i,
|
|
34524
34497
|
persistConfig: r = !1,
|
|
34525
34498
|
initialColumns: o,
|
|
@@ -34527,12 +34500,12 @@ const g4 = ({
|
|
|
34527
34500
|
initialFilters: n = [],
|
|
34528
34501
|
onConfigChange: a
|
|
34529
34502
|
}) => {
|
|
34530
|
-
const u = i ? `${
|
|
34503
|
+
const u = i ? `${$4}${i}` : null, s = I(() => ({
|
|
34531
34504
|
version: Qn,
|
|
34532
34505
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
34533
|
-
columns: o.map((m,
|
|
34506
|
+
columns: o.map((m, j) => ({
|
|
34534
34507
|
id: m.id,
|
|
34535
|
-
order:
|
|
34508
|
+
order: j,
|
|
34536
34509
|
visible: m.visible !== !1,
|
|
34537
34510
|
locked: m.locked || !1,
|
|
34538
34511
|
width: m.width
|
|
@@ -34544,8 +34517,8 @@ const g4 = ({
|
|
|
34544
34517
|
try {
|
|
34545
34518
|
const m = localStorage.getItem(u);
|
|
34546
34519
|
if (!m) return null;
|
|
34547
|
-
const
|
|
34548
|
-
return
|
|
34520
|
+
const j = JSON.parse(m);
|
|
34521
|
+
return j.version !== Qn ? (console.warn(`[useTableConfig] Config version mismatch, resetting config for ${i}`), null) : j;
|
|
34549
34522
|
} catch (m) {
|
|
34550
34523
|
return console.error(`[useTableConfig] Error loading config for ${i}:`, m), null;
|
|
34551
34524
|
}
|
|
@@ -34553,72 +34526,72 @@ const g4 = ({
|
|
|
34553
34526
|
if (!(!u || !r))
|
|
34554
34527
|
try {
|
|
34555
34528
|
localStorage.setItem(u, JSON.stringify(m));
|
|
34556
|
-
} catch (
|
|
34557
|
-
console.error(`[useTableConfig] Error saving config for ${i}:`,
|
|
34529
|
+
} catch (j) {
|
|
34530
|
+
console.error(`[useTableConfig] Error saving config for ${i}:`, j);
|
|
34558
34531
|
}
|
|
34559
34532
|
}, [u, r, i]), [d, c] = A(() => l() || s());
|
|
34560
34533
|
J(() => {
|
|
34561
34534
|
l() || c(s());
|
|
34562
34535
|
}, [o.length]);
|
|
34563
|
-
const p = I((m,
|
|
34564
|
-
c((
|
|
34536
|
+
const p = I((m, j) => {
|
|
34537
|
+
c((k) => {
|
|
34565
34538
|
const L = {
|
|
34566
|
-
...
|
|
34539
|
+
...k,
|
|
34567
34540
|
...m,
|
|
34568
34541
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
34569
34542
|
};
|
|
34570
|
-
return f(L), a == null || a(L,
|
|
34543
|
+
return f(L), a == null || a(L, j), L;
|
|
34571
34544
|
});
|
|
34572
34545
|
}, [f, a]), g = I(() => {
|
|
34573
|
-
const m = new Map(o.map((L) => [L.id, L])),
|
|
34546
|
+
const m = new Map(o.map((L) => [L.id, L])), j = [], k = new Set(d.columns.map((L) => L.id));
|
|
34574
34547
|
return d.columns.sort((L, N) => L.order - N.order).forEach((L) => {
|
|
34575
34548
|
const N = m.get(L.id);
|
|
34576
|
-
N &&
|
|
34549
|
+
N && j.push({
|
|
34577
34550
|
...N,
|
|
34578
34551
|
visible: L.visible,
|
|
34579
34552
|
locked: L.locked,
|
|
34580
34553
|
width: L.width ?? N.width
|
|
34581
34554
|
});
|
|
34582
34555
|
}), o.forEach((L) => {
|
|
34583
|
-
|
|
34584
|
-
}),
|
|
34556
|
+
k.has(L.id) || j.push(L);
|
|
34557
|
+
}), j;
|
|
34585
34558
|
}, [o, d.columns]), C = I((m) => {
|
|
34586
|
-
const
|
|
34587
|
-
const N = d.columns.find((y) => y.id ===
|
|
34559
|
+
const j = m.map((k, L) => {
|
|
34560
|
+
const N = d.columns.find((y) => y.id === k.id);
|
|
34588
34561
|
return {
|
|
34589
|
-
id:
|
|
34562
|
+
id: k.id,
|
|
34590
34563
|
order: L,
|
|
34591
|
-
visible: (N == null ? void 0 : N.visible) ??
|
|
34592
|
-
locked:
|
|
34593
|
-
width:
|
|
34564
|
+
visible: (N == null ? void 0 : N.visible) ?? k.visible !== !1,
|
|
34565
|
+
locked: k.locked || (N == null ? void 0 : N.locked) || !1,
|
|
34566
|
+
width: k.width ?? (N == null ? void 0 : N.width)
|
|
34594
34567
|
};
|
|
34595
34568
|
});
|
|
34596
|
-
p({ columns:
|
|
34597
|
-
}, [d.columns, p]), b = I((m,
|
|
34598
|
-
const
|
|
34599
|
-
(L) => L.id === m ? { ...L, visible:
|
|
34569
|
+
p({ columns: j }, "column-reorder");
|
|
34570
|
+
}, [d.columns, p]), b = I((m, j) => {
|
|
34571
|
+
const k = d.columns.map(
|
|
34572
|
+
(L) => L.id === m ? { ...L, visible: j } : L
|
|
34600
34573
|
);
|
|
34601
|
-
p({ columns:
|
|
34574
|
+
p({ columns: k }, "column-visibility");
|
|
34602
34575
|
}, [d.columns, p]), x = I((m) => {
|
|
34603
|
-
const
|
|
34604
|
-
p({ columns:
|
|
34605
|
-
}, [d.columns, p]), w = I((m,
|
|
34606
|
-
const
|
|
34607
|
-
(L) => L.id === m ? { ...L, locked:
|
|
34576
|
+
const j = new Map(m.map((L) => [L.columnId, L.visible])), k = d.columns.map((L) => j.has(L.id) ? { ...L, visible: j.get(L.id) } : L);
|
|
34577
|
+
p({ columns: k }, "column-visibility");
|
|
34578
|
+
}, [d.columns, p]), w = I((m, j) => {
|
|
34579
|
+
const k = d.columns.map(
|
|
34580
|
+
(L) => L.id === m ? { ...L, locked: j } : L
|
|
34608
34581
|
);
|
|
34609
|
-
if (
|
|
34610
|
-
const L =
|
|
34582
|
+
if (j) {
|
|
34583
|
+
const L = k.filter((H) => H.locked), N = k.filter((H) => !H.locked), y = [...L, ...N].map((H, D) => ({
|
|
34611
34584
|
...H,
|
|
34612
34585
|
order: D
|
|
34613
34586
|
}));
|
|
34614
34587
|
p({ columns: y }, "column-lock");
|
|
34615
34588
|
} else
|
|
34616
|
-
p({ columns:
|
|
34617
|
-
}, [d.columns, p]), V = I((m,
|
|
34618
|
-
const
|
|
34619
|
-
(L) => L.id === m ? { ...L, width:
|
|
34589
|
+
p({ columns: k }, "column-lock");
|
|
34590
|
+
}, [d.columns, p]), V = I((m, j) => {
|
|
34591
|
+
const k = d.columns.map(
|
|
34592
|
+
(L) => L.id === m ? { ...L, width: j } : L
|
|
34620
34593
|
);
|
|
34621
|
-
p({ columns:
|
|
34594
|
+
p({ columns: k }, "column-resize");
|
|
34622
34595
|
}, [d.columns, p]), v = I((m) => {
|
|
34623
34596
|
p({ sort: m }, "sort");
|
|
34624
34597
|
}, [p]), O = I((m) => {
|
|
@@ -34798,8 +34771,8 @@ const g4 = ({
|
|
|
34798
34771
|
onSort: O,
|
|
34799
34772
|
onFilter: M,
|
|
34800
34773
|
onColumnResize: m,
|
|
34801
|
-
onColumnReorder:
|
|
34802
|
-
onColumnVisibilityChange:
|
|
34774
|
+
onColumnReorder: j,
|
|
34775
|
+
onColumnVisibilityChange: k,
|
|
34803
34776
|
onRowClick: L,
|
|
34804
34777
|
onRowExpand: N,
|
|
34805
34778
|
onHandleChange: y,
|
|
@@ -34813,12 +34786,12 @@ const g4 = ({
|
|
|
34813
34786
|
initialSort: s,
|
|
34814
34787
|
initialFilters: l,
|
|
34815
34788
|
onConfigChange: V
|
|
34816
|
-
}),
|
|
34789
|
+
}), P = w && x ? z.columns : i, U = ue(() => P.some((Q) => Q.editable && Q.editable !== "none"), [P]), Y = ue(() => {
|
|
34817
34790
|
if (b === !1 || !U)
|
|
34818
|
-
return
|
|
34819
|
-
const Q =
|
|
34791
|
+
return P;
|
|
34792
|
+
const Q = P.findIndex((he) => he.type === "actions" && he.id !== "_editActions");
|
|
34820
34793
|
if (Q !== -1) {
|
|
34821
|
-
const he =
|
|
34794
|
+
const he = P[Q], Le = he.render, Me = {
|
|
34822
34795
|
...he,
|
|
34823
34796
|
render: (C1, I1, Mi) => {
|
|
34824
34797
|
const Dn = Le ? Le(C1, I1, Mi) : [], ji = Array.isArray(Dn) ? Dn : [];
|
|
@@ -34830,7 +34803,7 @@ const g4 = ({
|
|
|
34830
34803
|
}
|
|
34831
34804
|
}, ...ji];
|
|
34832
34805
|
}
|
|
34833
|
-
}, e1 = [
|
|
34806
|
+
}, e1 = [...P];
|
|
34834
34807
|
return e1[Q] = Me, e1;
|
|
34835
34808
|
}
|
|
34836
34809
|
const ae = {
|
|
@@ -34853,11 +34826,11 @@ const g4 = ({
|
|
|
34853
34826
|
}
|
|
34854
34827
|
]
|
|
34855
34828
|
};
|
|
34856
|
-
return [
|
|
34857
|
-
}, [
|
|
34829
|
+
return [...P, ae];
|
|
34830
|
+
}, [P, U, b]), te = ue(() => Y.map((Q) => Q.width === void 0 && Q.resizable !== !1 ? { ...Q, resizable: !0 } : Q), [Y]), { columns: _, handleSetVisibility: X, handleToggleLock: G, handleResize: T, setColumnsOrder: Z } = T4(te), { sortConfig: R, handleSort: ne } = j4(s), { selectedIds: re, selectedCount: le, allSelected: ge, someSelected: fe, handleRowSelect: $, handleSelectAll: q, clearSelection: K } = H4(r, n == null ? void 0 : n.multiple), { handleRowExpand: W, applyExpandedState: ce } = B4(), { handleCellFocus: pe, handleCellBlur: be, isCellFocused: Ce } = Z4(), { filters: me, setAllFilters: Ze } = E4({
|
|
34858
34831
|
initialFilters: l,
|
|
34859
34832
|
onFiltersChange: M
|
|
34860
|
-
}), { toggleRowEdit: p1, applyEditState: f1 } =
|
|
34833
|
+
}), { toggleRowEdit: p1, applyEditState: f1 } = P4({
|
|
34861
34834
|
externalEditingRowIds: H,
|
|
34862
34835
|
onEditingRowIdsChange: D
|
|
34863
34836
|
}), [ve, Je] = A("");
|
|
@@ -34958,14 +34931,14 @@ const g4 = ({
|
|
|
34958
34931
|
var ae;
|
|
34959
34932
|
Je(Q), (ae = u == null ? void 0 : u.onSearch) == null || ae.call(u, Q);
|
|
34960
34933
|
}, Ve = (Q, ae) => {
|
|
34961
|
-
X(Q, ae),
|
|
34934
|
+
X(Q, ae), k == null || k(Q, ae), w && x && z.updateColumnVisibility(Q, ae);
|
|
34962
34935
|
}, Re = (Q) => {
|
|
34963
34936
|
Q.forEach(({ columnId: ae, visible: he }) => {
|
|
34964
|
-
X(ae, he),
|
|
34937
|
+
X(ae, he), k == null || k(ae, he);
|
|
34965
34938
|
}), w && x && z.updateMultipleColumnVisibility(Q);
|
|
34966
34939
|
}, g1 = (Q) => {
|
|
34967
34940
|
const ae = Q.map((he) => he.id);
|
|
34968
|
-
Z(ae),
|
|
34941
|
+
Z(ae), j == null || j(Q), w && x && z.updateColumnOrder(Q);
|
|
34969
34942
|
}, Li = (Q) => {
|
|
34970
34943
|
W(Q), N == null || N(Q);
|
|
34971
34944
|
}, bi = (Q, ae, he) => {
|
|
@@ -35027,7 +35000,7 @@ const g4 = ({
|
|
|
35027
35000
|
allSelected: ge,
|
|
35028
35001
|
someSelected: fe,
|
|
35029
35002
|
onSelectAll: q,
|
|
35030
|
-
onRowSelect:
|
|
35003
|
+
onRowSelect: $,
|
|
35031
35004
|
onSort: S1,
|
|
35032
35005
|
onFilter: h1,
|
|
35033
35006
|
onLock: N1,
|
|
@@ -35609,7 +35582,7 @@ function Vc(i = {}) {
|
|
|
35609
35582
|
staleTime: 1e3 * 60 * 5,
|
|
35610
35583
|
// 5 minutos
|
|
35611
35584
|
// Mantener datos anteriores mientras se cargan los nuevos (evita el "brinco")
|
|
35612
|
-
placeholderData:
|
|
35585
|
+
placeholderData: Sr,
|
|
35613
35586
|
enabled: s
|
|
35614
35587
|
}), d = () => {
|
|
35615
35588
|
f.data && r < f.data.pagination.pageCount && l.prefetchQuery({
|
|
@@ -35737,9 +35710,9 @@ function Nc(i = {}) {
|
|
|
35737
35710
|
p(H), C(D), l(1);
|
|
35738
35711
|
}, []), m = I((H) => {
|
|
35739
35712
|
x(H), l(1);
|
|
35740
|
-
}, []), k = I((H) => {
|
|
35741
|
-
x((D) => [...D, H]), l(1);
|
|
35742
35713
|
}, []), j = I((H) => {
|
|
35714
|
+
x((D) => [...D, H]), l(1);
|
|
35715
|
+
}, []), k = I((H) => {
|
|
35743
35716
|
x((D) => D.filter((B) => B.id !== H)), l(1);
|
|
35744
35717
|
}, []), L = I(() => {
|
|
35745
35718
|
x([]), l(1);
|
|
@@ -35761,8 +35734,8 @@ function Nc(i = {}) {
|
|
|
35761
35734
|
setPageSize: O,
|
|
35762
35735
|
setSort: M,
|
|
35763
35736
|
setFilters: m,
|
|
35764
|
-
addFilter:
|
|
35765
|
-
removeFilter:
|
|
35737
|
+
addFilter: j,
|
|
35738
|
+
removeFilter: k,
|
|
35766
35739
|
clearFilters: L,
|
|
35767
35740
|
setSearch: N,
|
|
35768
35741
|
reset: y
|
|
@@ -35822,7 +35795,7 @@ function Bc({
|
|
|
35822
35795
|
}
|
|
35823
35796
|
})
|
|
35824
35797
|
);
|
|
35825
|
-
return /* @__PURE__ */ t(
|
|
35798
|
+
return /* @__PURE__ */ t(Nr, { client: a, children: i });
|
|
35826
35799
|
}
|
|
35827
35800
|
function Zc(i = {}) {
|
|
35828
35801
|
const {
|
|
@@ -36236,7 +36209,7 @@ class c8 {
|
|
|
36236
36209
|
};
|
|
36237
36210
|
}
|
|
36238
36211
|
}
|
|
36239
|
-
const Se = new c8(),
|
|
36212
|
+
const Se = new c8(), Pc = () => Se, fi = () => {
|
|
36240
36213
|
const [i, r] = A([]), o = ee(/* @__PURE__ */ new Map()), e = ee(null);
|
|
36241
36214
|
return J(() => {
|
|
36242
36215
|
const a = Se.getListeners();
|
|
@@ -36458,7 +36431,7 @@ class p8 {
|
|
|
36458
36431
|
return { ...l1 };
|
|
36459
36432
|
}
|
|
36460
36433
|
}
|
|
36461
|
-
const Fe = new p8(),
|
|
36434
|
+
const Fe = new p8(), $c = () => Fe, gi = () => {
|
|
36462
36435
|
const [i, r] = A({
|
|
36463
36436
|
brand: null,
|
|
36464
36437
|
neutral: null
|
|
@@ -36567,7 +36540,7 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36567
36540
|
duration: r.duration,
|
|
36568
36541
|
avatar: r.avatar,
|
|
36569
36542
|
children: o > 1 && /* @__PURE__ */ h("div", { className: "ui-flex ui-items-center ui-justify-center ui-gap-1 ui-py-2 ui-mb-2", children: [
|
|
36570
|
-
/* @__PURE__ */ t(de, { name:
|
|
36543
|
+
/* @__PURE__ */ t(de, { name: fr, size: "xs", color: "tertiary" }),
|
|
36571
36544
|
/* @__PURE__ */ h("span", { className: "ui-text-xs ui-text-tertiary", children: [
|
|
36572
36545
|
"Tienes ",
|
|
36573
36546
|
o,
|
|
@@ -36654,20 +36627,20 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36654
36627
|
"ui-max-w-[calc(100vw-48px)]",
|
|
36655
36628
|
// Flex para centrar el contenido
|
|
36656
36629
|
"ui-flex ui-justify-center"
|
|
36657
|
-
), b = (m,
|
|
36630
|
+
), b = (m, j) => {
|
|
36658
36631
|
var L;
|
|
36659
|
-
m.onClick && m.onClick(), (((L = m.addons) == null ? void 0 : L.filter((N) => N.show !== !1)) || []).length > 0 && s(
|
|
36632
|
+
m.onClick && m.onClick(), (((L = m.addons) == null ? void 0 : L.filter((N) => N.show !== !1)) || []).length > 0 && s(j);
|
|
36660
36633
|
}, x = () => {
|
|
36661
36634
|
s(-1);
|
|
36662
|
-
}, w = (m,
|
|
36663
|
-
m.onChange && m.onChange(
|
|
36635
|
+
}, w = (m, j) => {
|
|
36636
|
+
m.onChange && m.onChange(j);
|
|
36664
36637
|
}, V = () => /* @__PURE__ */ h("div", { className: g, children: [
|
|
36665
36638
|
/* @__PURE__ */ t(
|
|
36666
36639
|
xe,
|
|
36667
36640
|
{
|
|
36668
36641
|
color: "secondary",
|
|
36669
36642
|
size: "xs",
|
|
36670
|
-
icon:
|
|
36643
|
+
icon: hr,
|
|
36671
36644
|
onClick: x
|
|
36672
36645
|
}
|
|
36673
36646
|
),
|
|
@@ -36676,10 +36649,10 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36676
36649
|
i
|
|
36677
36650
|
] }),
|
|
36678
36651
|
p.length > 0 && /* @__PURE__ */ t(Ue, { vertical: !0, className: "ui-h-8 ui-border-on-color ui-opacity-30" }),
|
|
36679
|
-
/* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-gap-8 sm:ui-gap-16", children: p.map((m,
|
|
36680
|
-
var
|
|
36652
|
+
/* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-gap-8 sm:ui-gap-16", children: p.map((m, j) => {
|
|
36653
|
+
var k, L, N, y, H;
|
|
36681
36654
|
return m.type === "input" ? /* @__PURE__ */ t("div", { className: "ui-w-[160px]", children: /* @__PURE__ */ t(
|
|
36682
|
-
|
|
36655
|
+
$e,
|
|
36683
36656
|
{
|
|
36684
36657
|
size: "xs",
|
|
36685
36658
|
leftSlot: m.leftSlot,
|
|
@@ -36692,11 +36665,11 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36692
36665
|
name: m.name,
|
|
36693
36666
|
onValueChange: (D) => w(m, D)
|
|
36694
36667
|
}
|
|
36695
|
-
) }, `addon-${
|
|
36668
|
+
) }, `addon-${j}`) : m.type === "date" ? /* @__PURE__ */ t("div", { className: "ui-w-[160px]", children: /* @__PURE__ */ t(
|
|
36696
36669
|
T1,
|
|
36697
36670
|
{
|
|
36698
36671
|
size: "xs",
|
|
36699
|
-
mode: ((
|
|
36672
|
+
mode: ((k = m.datePickerProps) == null ? void 0 : k.mode) || "single",
|
|
36700
36673
|
selectedDate: m.selectedDate,
|
|
36701
36674
|
selectedRange: m.selectedRange,
|
|
36702
36675
|
minDate: (L = m.datePickerProps) == null ? void 0 : L.minDate,
|
|
@@ -36712,7 +36685,26 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36712
36685
|
w(m, D);
|
|
36713
36686
|
}
|
|
36714
36687
|
}
|
|
36715
|
-
) }, `addon-${
|
|
36688
|
+
) }, `addon-${j}`) : m.type === "button" ? /* @__PURE__ */ t(
|
|
36689
|
+
xe,
|
|
36690
|
+
{
|
|
36691
|
+
color: m.color || "secondary",
|
|
36692
|
+
size: "xs",
|
|
36693
|
+
icon: m.label ? void 0 : m.icon,
|
|
36694
|
+
slotLeft: m.label && m.icon ? m.icon : void 0,
|
|
36695
|
+
disabled: m.disabled,
|
|
36696
|
+
pill: m.pill,
|
|
36697
|
+
tooltip: m.tooltip,
|
|
36698
|
+
tooltipPosition: m.tooltipPosition,
|
|
36699
|
+
tooltipAlignment: m.tooltipAlignment,
|
|
36700
|
+
tooltipDelay: m.tooltipDelay,
|
|
36701
|
+
onClick: () => {
|
|
36702
|
+
m.onClick && m.onClick();
|
|
36703
|
+
},
|
|
36704
|
+
children: m.label
|
|
36705
|
+
},
|
|
36706
|
+
`addon-${j}`
|
|
36707
|
+
) : null;
|
|
36716
36708
|
}) }),
|
|
36717
36709
|
e && /* @__PURE__ */ h(Be, { children: [
|
|
36718
36710
|
/* @__PURE__ */ t(Ue, { vertical: !0, className: "ui-h-8 ui-border-on-color ui-opacity-30" }),
|
|
@@ -36728,7 +36720,7 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36728
36720
|
)
|
|
36729
36721
|
] })
|
|
36730
36722
|
] }), v = () => /* @__PURE__ */ h("div", { className: g, children: [
|
|
36731
|
-
/* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-gap-8 sm:ui-gap-16", children: d.map((m,
|
|
36723
|
+
/* @__PURE__ */ t("div", { className: "ui-flex ui-items-center ui-gap-8 sm:ui-gap-16", children: d.map((m, j) => /* @__PURE__ */ t(
|
|
36732
36724
|
xe,
|
|
36733
36725
|
{
|
|
36734
36726
|
color: m.color || "secondary",
|
|
@@ -36736,10 +36728,15 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36736
36728
|
icon: m.label ? void 0 : m.icon,
|
|
36737
36729
|
slotLeft: m.label && m.icon ? m.icon : void 0,
|
|
36738
36730
|
disabled: m.disabled,
|
|
36739
|
-
|
|
36731
|
+
pill: m.pill,
|
|
36732
|
+
tooltip: m.tooltip,
|
|
36733
|
+
tooltipPosition: m.tooltipPosition,
|
|
36734
|
+
tooltipAlignment: m.tooltipAlignment,
|
|
36735
|
+
tooltipDelay: m.tooltipDelay,
|
|
36736
|
+
onClick: () => b(m, j),
|
|
36740
36737
|
children: m.label
|
|
36741
36738
|
},
|
|
36742
|
-
`button-${
|
|
36739
|
+
`button-${j}-${m.label || m.icon}`
|
|
36743
36740
|
)) }),
|
|
36744
36741
|
e && /* @__PURE__ */ h(Be, { children: [
|
|
36745
36742
|
/* @__PURE__ */ t(Ue, { vertical: !0, className: "ui-h-8 ui-border-on-color ui-opacity-30" }),
|
|
@@ -36861,14 +36858,14 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36861
36858
|
color: "tertiary",
|
|
36862
36859
|
size: "sm",
|
|
36863
36860
|
fullWidth: !0,
|
|
36864
|
-
slotLeft:
|
|
36861
|
+
slotLeft: gr,
|
|
36865
36862
|
onClick: e,
|
|
36866
36863
|
children: "Cerrar sesión"
|
|
36867
36864
|
}
|
|
36868
36865
|
)
|
|
36869
36866
|
] });
|
|
36870
36867
|
}, L8 = ({
|
|
36871
|
-
icon: i =
|
|
36868
|
+
icon: i = Cr,
|
|
36872
36869
|
title: r = "Mesa de trabajo",
|
|
36873
36870
|
badge: o,
|
|
36874
36871
|
projectId: e,
|
|
@@ -36959,7 +36956,7 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
36959
36956
|
color: "tertiary",
|
|
36960
36957
|
size: "xxs",
|
|
36961
36958
|
fullWidth: !0,
|
|
36962
|
-
slotLeft:
|
|
36959
|
+
slotLeft: mr,
|
|
36963
36960
|
onClick: s,
|
|
36964
36961
|
children: "Abrir"
|
|
36965
36962
|
}
|
|
@@ -37049,7 +37046,7 @@ const Fe = new p8(), Pc = () => Fe, gi = () => {
|
|
|
37049
37046
|
children: /* @__PURE__ */ t(
|
|
37050
37047
|
de,
|
|
37051
37048
|
{
|
|
37052
|
-
name:
|
|
37049
|
+
name: Lr,
|
|
37053
37050
|
size: "md",
|
|
37054
37051
|
color: "white",
|
|
37055
37052
|
className: S(
|
|
@@ -37068,7 +37065,7 @@ export {
|
|
|
37068
37065
|
E8 as Accordion,
|
|
37069
37066
|
Gt as ActionsCell,
|
|
37070
37067
|
mt as Alert,
|
|
37071
|
-
|
|
37068
|
+
P8 as AlertDialog,
|
|
37072
37069
|
o1 as Avatar,
|
|
37073
37070
|
t4 as AvatarsCell,
|
|
37074
37071
|
k1 as Badge,
|
|
@@ -37077,7 +37074,7 @@ export {
|
|
|
37077
37074
|
bn as Body,
|
|
37078
37075
|
xe as Button,
|
|
37079
37076
|
o4 as ButtonCell,
|
|
37080
|
-
|
|
37077
|
+
$8 as ButtonGroup,
|
|
37081
37078
|
Ts as Calendar,
|
|
37082
37079
|
Ds as CalendarContent,
|
|
37083
37080
|
Ot as CalendarGrid,
|
|
@@ -37100,7 +37097,7 @@ export {
|
|
|
37100
37097
|
z8 as Drawer,
|
|
37101
37098
|
Qe as Dropdown,
|
|
37102
37099
|
r4 as DropdownCell,
|
|
37103
|
-
|
|
37100
|
+
Pu as Emoji,
|
|
37104
37101
|
Ys as EmojiPicker,
|
|
37105
37102
|
b4 as EmptyTableState,
|
|
37106
37103
|
Gl as FilterCard,
|
|
@@ -37112,7 +37109,7 @@ export {
|
|
|
37112
37109
|
de as Icon,
|
|
37113
37110
|
c4 as IconCell,
|
|
37114
37111
|
se as InnerButton,
|
|
37115
|
-
|
|
37112
|
+
$e as Input,
|
|
37116
37113
|
hn as LabelProgress,
|
|
37117
37114
|
Ws as Lightbox,
|
|
37118
37115
|
Wl as LinkCell,
|
|
@@ -37120,12 +37117,12 @@ export {
|
|
|
37120
37117
|
X8 as ListAlphabetic,
|
|
37121
37118
|
As as ListBase,
|
|
37122
37119
|
R8 as ListDefault,
|
|
37123
|
-
|
|
37120
|
+
$s as ListEmpty,
|
|
37124
37121
|
W8 as ListFilters,
|
|
37125
37122
|
ec as ListFiltersCheckbox,
|
|
37126
|
-
|
|
37123
|
+
$t as ListHeader,
|
|
37127
37124
|
It as ListItem,
|
|
37128
|
-
|
|
37125
|
+
Pt as ListItemCheckbox,
|
|
37129
37126
|
b1 as ListItemDefault,
|
|
37130
37127
|
Tt as ListItemRadio,
|
|
37131
37128
|
Et as ListItemToggle,
|
|
@@ -37178,9 +37175,9 @@ export {
|
|
|
37178
37175
|
rc as Spinner,
|
|
37179
37176
|
d4 as StarsCell,
|
|
37180
37177
|
Yt as StatusCell,
|
|
37181
|
-
|
|
37178
|
+
Pl as StepConnector,
|
|
37182
37179
|
Zl as StepIcon,
|
|
37183
|
-
|
|
37180
|
+
$l as StepItem,
|
|
37184
37181
|
El as StepLabel,
|
|
37185
37182
|
sc as Stepper,
|
|
37186
37183
|
rn as StoryBox,
|
|
@@ -37281,18 +37278,18 @@ export {
|
|
|
37281
37278
|
Hc as useInvalidateTeams,
|
|
37282
37279
|
Xs as useLightbox,
|
|
37283
37280
|
fi as useMessage,
|
|
37284
|
-
|
|
37281
|
+
Pc as useMessageService,
|
|
37285
37282
|
hi as useMessageStyles,
|
|
37286
37283
|
en as useModalContext,
|
|
37287
37284
|
gi as useNotification,
|
|
37288
|
-
|
|
37285
|
+
$c as useNotificationService,
|
|
37289
37286
|
js as usePortal,
|
|
37290
37287
|
Il as useRadioButton,
|
|
37291
37288
|
Tl as useRadioButtonGroup,
|
|
37292
37289
|
Bl as useStepper,
|
|
37293
37290
|
T4 as useTableColumns,
|
|
37294
37291
|
bc as useTableData,
|
|
37295
|
-
|
|
37292
|
+
P4 as useTableEdit,
|
|
37296
37293
|
B4 as useTableExpand,
|
|
37297
37294
|
mc as useTableFilter,
|
|
37298
37295
|
Z4 as useTableFocus,
|