@selectwin/kit 0.1.79 → 0.1.80
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.js +217 -214
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as e, jsxs as u, Fragment as he } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as K, useEffect as ue, forwardRef as T, useState as P, useId as ve, useCallback as nt, useLayoutEffect as Ke, useMemo as Oe, Fragment as jn, Children as Rc, useContext as Zn, createContext as Vn } from "react";
|
|
3
3
|
import We from "gsap";
|
|
4
4
|
import { createPortal as yn } from "react-dom";
|
|
5
|
-
import { Link as
|
|
6
|
-
const
|
|
5
|
+
import { Link as Hl, useNavigate as jl } from "react-router-dom";
|
|
6
|
+
const sl = (t, n, l) => t < n ? n : t > l ? l : t;
|
|
7
7
|
function Tc(t, n, l) {
|
|
8
8
|
const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
|
|
9
9
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
|
|
@@ -52,7 +52,7 @@ function yr({ className: t, theme: n, glowTarget: l }) {
|
|
|
52
52
|
if (!L) return;
|
|
53
53
|
const ne = L.getBoundingClientRect(), we = ne.left - A + ne.width / 2, Te = ne.top - B + ne.height / 2, ie = ne.width / 2, Ae = ne.height / 2, Ue = (Q - we) / (ie + x), De = (ke - Te) / (Ae + x), Pe = Math.sqrt(Ue * Ue + De * De), Xe = Pe < 1 ? 1 - Pe : 0, ze = Xe * Xe * (3 - 2 * Xe);
|
|
54
54
|
if (ze > 1e-3 || E > 1e-3) {
|
|
55
|
-
const R =
|
|
55
|
+
const R = sl((Q - we) / Math.max(ie, 1), -1, 1) * 10 * ze, G = sl((ke - Te) / Math.max(Ae, 1), -1, 1) * 10 * ze;
|
|
56
56
|
L.style.setProperty("--select-card-glow", ze.toFixed(3)), L.style.setProperty("--select-card-glow-rgb", `${be}, ${ye}, ${Ne}`), L.style.setProperty("--select-card-glow-x", `${R.toFixed(1)}px`), L.style.setProperty("--select-card-glow-y", `${G.toFixed(1)}px`);
|
|
57
57
|
}
|
|
58
58
|
E = ze;
|
|
@@ -490,9 +490,9 @@ const Oc = (t) => {
|
|
|
490
490
|
for (let Et = xt; Et <= ln; Et++) {
|
|
491
491
|
let Nt = (Et + 0.5 - et) * Ec;
|
|
492
492
|
Nt < 0 ? Nt = 0 : Nt > 1 && (Nt = 1);
|
|
493
|
-
const
|
|
494
|
-
if (
|
|
495
|
-
oe[Et] =
|
|
493
|
+
const cl = At + Bc * Nt;
|
|
494
|
+
if (cl <= oe[Et]) continue;
|
|
495
|
+
oe[Et] = cl;
|
|
496
496
|
const En = bt + Fc * Nt;
|
|
497
497
|
me[Se + Et] = cn(p + v * En) << Gc | cn(h + _ * En) << Uc | cn(f + x * En) << zc | cn(Ln + Ic * Nt) << vt;
|
|
498
498
|
}
|
|
@@ -511,12 +511,12 @@ const Oc = (t) => {
|
|
|
511
511
|
break;
|
|
512
512
|
}
|
|
513
513
|
if (An - Ht <= 2 * r.length) return;
|
|
514
|
-
const
|
|
514
|
+
const ll = ~(255 << vt);
|
|
515
515
|
for (let re = 0; re < r.length; re++) {
|
|
516
516
|
const tt = r[re], jt = Se + Ht + re, Zt = me[jt];
|
|
517
|
-
me[jt] = Zt &
|
|
517
|
+
me[jt] = Zt & ll | ((Zt >>> vt & 255) * tt | 0) << vt;
|
|
518
518
|
const Vt = Se + An - re, xt = me[Vt];
|
|
519
|
-
me[Vt] = xt &
|
|
519
|
+
me[Vt] = xt & ll | ((xt >>> vt & 255) * tt | 0) << vt;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
function z(V) {
|
|
@@ -817,7 +817,7 @@ function Xc() {
|
|
|
817
817
|
/* @__PURE__ */ e("path", { d: "M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0" })
|
|
818
818
|
] });
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function Zl() {
|
|
821
821
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
822
822
|
/* @__PURE__ */ e("path", { d: "m8 9 4-4 4 4" }),
|
|
823
823
|
/* @__PURE__ */ e("path", { d: "m16 15-4 4-4-4" })
|
|
@@ -881,13 +881,13 @@ function ts() {
|
|
|
881
881
|
function ns() {
|
|
882
882
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M2.03 12.42c.36 5.15 4.73 9.34 9.96 9.57 3.69.16 6.99-1.56 8.97-4.27.82-1.11.38-1.85-.99-1.6-.67.12-1.36.17-2.08.14C13 16.06 9 11.97 8.98 7.14c-.01-1.3.26-2.53.75-3.65.54-1.24-.11-1.83-1.36-1.3C4.41 3.86 1.7 7.85 2.03 12.42Z" }) });
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function Vl({ duotone: t = !1 } = {}) {
|
|
885
885
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
886
886
|
/* @__PURE__ */ e("path", { opacity: ".4", fill: "currentColor", d: "M6.44 2h11.11C21.11 2 22 2.89 22 6.44v6.33c0 3.56-.89 4.44-4.44 4.44H6.44C2.89 17.22 2 16.33 2 12.78V6.44C2 2.89 2.89 2 6.44 2Z" }),
|
|
887
887
|
/* @__PURE__ */ e("path", { stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", d: "M12 17.22V22M7.5 22h9" })
|
|
888
888
|
] }) : /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6.44 2h11.11C21.11 2 22 2.89 22 6.44v6.33c0 3.56-.89 4.44-4.44 4.44H6.44C2.89 17.22 2 16.33 2 12.78V6.44C2 2.89 2.89 2 6.44 2ZM12 17.22V22M2 13h20M7.5 22h9" }) });
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function Gl({ duotone: t = !1 } = {}) {
|
|
891
891
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
892
892
|
/* @__PURE__ */ e("path", { opacity: ".4", fill: "currentColor", d: "M20 7v10c0 4-1 5-5 5H9c-4 0-5-1-5-5V7c0-4 1-5 5-5h6c4 0 5 1 5 5Z" }),
|
|
893
893
|
/* @__PURE__ */ e("path", { stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", d: "M14 5.5h-4" }),
|
|
@@ -904,7 +904,7 @@ function St() {
|
|
|
904
904
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 12h12M12 18V6" }) });
|
|
905
905
|
}
|
|
906
906
|
function Dr({ duotone: t = !1 } = {}) {
|
|
907
|
-
return /* @__PURE__ */ e(
|
|
907
|
+
return /* @__PURE__ */ e(Gl, { duotone: t });
|
|
908
908
|
}
|
|
909
909
|
function Wr() {
|
|
910
910
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
@@ -952,13 +952,13 @@ function Gr() {
|
|
|
952
952
|
function Qe() {
|
|
953
953
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 12.5 10 17.5 19 6.5" }) });
|
|
954
954
|
}
|
|
955
|
-
function
|
|
955
|
+
function Ul() {
|
|
956
956
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
957
957
|
/* @__PURE__ */ e("path", { d: "M15.58 12c0 1.98-1.6 3.58-3.58 3.58S8.42 13.98 8.42 12s1.6-3.58 3.58-3.58 3.58 1.6 3.58 3.58Z" }),
|
|
958
958
|
/* @__PURE__ */ e("path", { d: "M12 20.27c3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-2.29-3.6-5.58-5.68-9.11-5.68-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19 2.29 3.6 5.58 5.68 9.11 5.68Z" })
|
|
959
959
|
] });
|
|
960
960
|
}
|
|
961
|
-
function
|
|
961
|
+
function zl() {
|
|
962
962
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
963
963
|
/* @__PURE__ */ e("path", { d: "m14.53 9.47-5.06 5.06a3.576 3.576 0 1 1 5.06-5.06Z" }),
|
|
964
964
|
/* @__PURE__ */ e("path", { d: "M17.82 5.77C16.07 4.45 14.07 3.73 12 3.73c-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19.79 1.24 1.71 2.31 2.71 3.17M8.42 19.53c1.14.48 2.35.74 3.58.74 3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-.33-.52-.69-1.01-1.06-1.47" }),
|
|
@@ -993,7 +993,7 @@ function Yr() {
|
|
|
993
993
|
/* @__PURE__ */ e("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })
|
|
994
994
|
] });
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function ql() {
|
|
997
997
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5" }) });
|
|
998
998
|
}
|
|
999
999
|
function Kr() {
|
|
@@ -1033,13 +1033,13 @@ function to() {
|
|
|
1033
1033
|
/* @__PURE__ */ e("path", { d: "M17 22H7c-4 0-5-1-5-5v-2c0-4 1-5 5-5h10c4 0 5 1 5 5v2c0 4-1 5-5 5Z" })
|
|
1034
1034
|
] });
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function Yl() {
|
|
1037
1037
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1038
1038
|
/* @__PURE__ */ e("path", { d: "M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z" }),
|
|
1039
1039
|
/* @__PURE__ */ e("path", { d: "M15.695 13.7h.009M15.695 16.7h.009M11.995 13.7h.01M11.995 16.7h.01M8.294 13.7h.01M8.294 16.7h.01" })
|
|
1040
1040
|
] });
|
|
1041
1041
|
}
|
|
1042
|
-
function
|
|
1042
|
+
function Kl() {
|
|
1043
1043
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52" }) });
|
|
1044
1044
|
}
|
|
1045
1045
|
function no() {
|
|
@@ -1104,7 +1104,7 @@ function ho({ duotone: t = !1 } = {}) {
|
|
|
1104
1104
|
/* @__PURE__ */ e("path", { d: "M10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z" })
|
|
1105
1105
|
] });
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1107
|
+
function Xl(t, n, l, c, s = 8) {
|
|
1108
1108
|
const a = window.innerWidth, r = window.innerHeight, i = l.split("-");
|
|
1109
1109
|
let o = i[0];
|
|
1110
1110
|
const d = i[1];
|
|
@@ -1154,7 +1154,7 @@ function Kn({
|
|
|
1154
1154
|
var b;
|
|
1155
1155
|
const w = ((b = f.current) == null ? void 0 : b.firstElementChild) ?? f.current, y = v.current;
|
|
1156
1156
|
if (!w || !y) return;
|
|
1157
|
-
const $ =
|
|
1157
|
+
const $ = Xl(
|
|
1158
1158
|
w.getBoundingClientRect(),
|
|
1159
1159
|
{ width: y.offsetWidth, height: y.offsetHeight },
|
|
1160
1160
|
l,
|
|
@@ -1295,7 +1295,7 @@ const ft = T(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1295
1295
|
className: "select-input__reveal",
|
|
1296
1296
|
onClick: () => q((ne) => !ne),
|
|
1297
1297
|
"aria-label": le ? "Ocultar senha" : "Mostrar senha",
|
|
1298
|
-
children: le ? /* @__PURE__ */ e(
|
|
1298
|
+
children: le ? /* @__PURE__ */ e(zl, {}) : /* @__PURE__ */ e(Ul, {})
|
|
1299
1299
|
}
|
|
1300
1300
|
),
|
|
1301
1301
|
O && /* @__PURE__ */ u("span", { className: "select-stepper", children: [
|
|
@@ -1308,7 +1308,7 @@ const ft = T(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1308
1308
|
"aria-label": "Aumentar",
|
|
1309
1309
|
disabled: g || be,
|
|
1310
1310
|
onClick: () => Q(1),
|
|
1311
|
-
children: /* @__PURE__ */ e(
|
|
1311
|
+
children: /* @__PURE__ */ e(Kl, {})
|
|
1312
1312
|
}
|
|
1313
1313
|
),
|
|
1314
1314
|
/* @__PURE__ */ e(
|
|
@@ -1401,11 +1401,11 @@ const ft = T(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1401
1401
|
] }),
|
|
1402
1402
|
i ? /* @__PURE__ */ e("p", { className: "select-field__error", children: i }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
|
|
1403
1403
|
] });
|
|
1404
|
-
}),
|
|
1404
|
+
}), al = new Intl.NumberFormat("pt-BR", {
|
|
1405
1405
|
minimumFractionDigits: 2,
|
|
1406
1406
|
maximumFractionDigits: 2
|
|
1407
1407
|
}), Bn = (t) => t.replace(/\D/g, "");
|
|
1408
|
-
function
|
|
1408
|
+
function rl(t, n) {
|
|
1409
1409
|
if (n <= 0) return t.length;
|
|
1410
1410
|
let l = 0;
|
|
1411
1411
|
for (let c = t.length - 1; c >= 0; c--) {
|
|
@@ -1415,14 +1415,14 @@ function al(t, n) {
|
|
|
1415
1415
|
return 0;
|
|
1416
1416
|
}
|
|
1417
1417
|
const fo = T(function({ label: n, value: l, onChange: c, info: s, hint: a, error: r, onBlur: i, placeholder: o = "0,00", name: d, disabled: p = !1, size: h = "md", className: f, ...v }, _) {
|
|
1418
|
-
const x = ve(), M = K(null), S = K(null), g = l == null ? "" :
|
|
1418
|
+
const x = ve(), M = K(null), S = K(null), g = l == null ? "" : al.format(l / 100);
|
|
1419
1419
|
Ke(() => {
|
|
1420
1420
|
const N = M.current;
|
|
1421
1421
|
if (!N || S.current == null) return;
|
|
1422
1422
|
const k = S.current;
|
|
1423
1423
|
if (S.current = null, document.activeElement !== N) return;
|
|
1424
1424
|
N.value !== g && (N.value = g);
|
|
1425
|
-
const w =
|
|
1425
|
+
const w = rl(N.value, k);
|
|
1426
1426
|
N.setSelectionRange(w, w);
|
|
1427
1427
|
});
|
|
1428
1428
|
const m = (N) => {
|
|
@@ -1432,7 +1432,7 @@ const fo = T(function({ label: n, value: l, onChange: c, info: s, hint: a, error
|
|
|
1432
1432
|
const E = N.nativeEvent.inputType;
|
|
1433
1433
|
E === "deleteContentBackward" && $ ? $ = $.slice(0, -1) : E === "deleteContentForward" && b && (b = b.slice(1));
|
|
1434
1434
|
}
|
|
1435
|
-
const C = $ + b, A = C ? parseInt(C, 10) : 0, B =
|
|
1435
|
+
const C = $ + b, A = C ? parseInt(C, 10) : 0, B = al.format(A / 100), L = rl(B, b.length);
|
|
1436
1436
|
k.value = B, k.setSelectionRange(L, L), S.current = b.length, c(A);
|
|
1437
1437
|
};
|
|
1438
1438
|
return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-field${h === "sm" ? " select-field--sm" : ""}${f ? " " + f : ""}`, children: [
|
|
@@ -1545,10 +1545,10 @@ const Tt = T(function({ children: n, tone: l = "critical", title: c, action: s,
|
|
|
1545
1545
|
s && /* @__PURE__ */ e("span", { className: "select-filetile__size", children: s })
|
|
1546
1546
|
] });
|
|
1547
1547
|
});
|
|
1548
|
-
function
|
|
1548
|
+
function Jl(t) {
|
|
1549
1549
|
return t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(0)} KB` : `${(t / (1024 * 1024)).toFixed(1)} MB`;
|
|
1550
1550
|
}
|
|
1551
|
-
function
|
|
1551
|
+
function Ql(t, n) {
|
|
1552
1552
|
if (!n) return !0;
|
|
1553
1553
|
const l = t.name.toLowerCase(), c = t.type.toLowerCase();
|
|
1554
1554
|
return n.split(",").some((s) => {
|
|
@@ -1556,13 +1556,13 @@ function Jl(t, n) {
|
|
|
1556
1556
|
return a ? a.startsWith(".") ? l.endsWith(a) : a.endsWith("/*") ? c.startsWith(a.slice(0, -1)) : c === a : !1;
|
|
1557
1557
|
});
|
|
1558
1558
|
}
|
|
1559
|
-
const
|
|
1560
|
-
function
|
|
1559
|
+
const ec = (t) => t.type.startsWith("image/");
|
|
1560
|
+
function tc(t) {
|
|
1561
1561
|
const n = t.split(".");
|
|
1562
1562
|
return n.length > 1 ? n.pop().toUpperCase() : "FILE";
|
|
1563
1563
|
}
|
|
1564
|
-
const
|
|
1565
|
-
function
|
|
1564
|
+
const nc = /^https?:\/\/.+/i;
|
|
1565
|
+
function lc(t) {
|
|
1566
1566
|
try {
|
|
1567
1567
|
return new URL(t).hostname;
|
|
1568
1568
|
} catch {
|
|
@@ -1570,7 +1570,7 @@ function nc(t) {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: r, hint: i, className: o, ...d }, p) {
|
|
1573
|
-
const h = K(null), [f, v] = P(!1), [_, x] = P(0), M = s * 1024 * 1024, S = Oe(() => n.map((C) =>
|
|
1573
|
+
const h = K(null), [f, v] = P(!1), [_, x] = P(0), M = s * 1024 * 1024, S = Oe(() => n.map((C) => ec(C) ? URL.createObjectURL(C) : null), [n]);
|
|
1574
1574
|
ue(
|
|
1575
1575
|
() => () => {
|
|
1576
1576
|
S.forEach((C) => {
|
|
@@ -1581,7 +1581,7 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1581
1581
|
);
|
|
1582
1582
|
const g = nt(
|
|
1583
1583
|
(C) => {
|
|
1584
|
-
const A = C.filter((B) => B.size <= M &&
|
|
1584
|
+
const A = C.filter((B) => B.size <= M && Ql(B, c));
|
|
1585
1585
|
if (x(C.length - A.length), A.length) {
|
|
1586
1586
|
const B = a ? [...n, ...A] : A.slice(0, 1);
|
|
1587
1587
|
l(r != null ? B.slice(0, r) : B);
|
|
@@ -1606,9 +1606,9 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1606
1606
|
_n,
|
|
1607
1607
|
{
|
|
1608
1608
|
src: S[A] ?? void 0,
|
|
1609
|
-
docExt:
|
|
1609
|
+
docExt: tc(C.name),
|
|
1610
1610
|
name: C.name,
|
|
1611
|
-
sub:
|
|
1611
|
+
sub: Jl(C.size),
|
|
1612
1612
|
onRemove: () => w(A)
|
|
1613
1613
|
},
|
|
1614
1614
|
`${C.name}-${A}`
|
|
@@ -1669,7 +1669,7 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1669
1669
|
const [p, h] = P(""), [f, v] = P(null), _ = s != null && l.length >= s, x = () => {
|
|
1670
1670
|
const g = p.trim();
|
|
1671
1671
|
if (g) {
|
|
1672
|
-
if (!
|
|
1672
|
+
if (!nc.test(g)) {
|
|
1673
1673
|
v("Insira uma URL válida (https://…).");
|
|
1674
1674
|
return;
|
|
1675
1675
|
}
|
|
@@ -1684,7 +1684,7 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1684
1684
|
}, S = (g) => c(l.filter((m, N) => N !== g));
|
|
1685
1685
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-field${i ? " " + i : ""}`, children: [
|
|
1686
1686
|
n && /* @__PURE__ */ e("span", { className: "select-field__label", children: n }),
|
|
1687
|
-
l.length > 0 && /* @__PURE__ */ e("div", { className: "select-filetile-grid", children: l.map((g, m) => /* @__PURE__ */ e(_n, { src: g, name:
|
|
1687
|
+
l.length > 0 && /* @__PURE__ */ e("div", { className: "select-filetile-grid", children: l.map((g, m) => /* @__PURE__ */ e(_n, { src: g, name: lc(g), onRemove: () => S(m) }, `${g}-${m}`)) }),
|
|
1688
1688
|
!_ && /* @__PURE__ */ u(he, { children: [
|
|
1689
1689
|
/* @__PURE__ */ e(
|
|
1690
1690
|
pt,
|
|
@@ -1707,7 +1707,7 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1707
1707
|
r != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: r })
|
|
1708
1708
|
] });
|
|
1709
1709
|
}), ps = T(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: r, accept: i = ".jpg,.jpeg,.png,.webp", maxSizeMB: o = 3, maxItems: d = 10, maxFiles: p, uploadHint: h, urlPlaceholder: f, helpText: v, className: _, ...x }, M) {
|
|
1710
|
-
const S = l === "single", g = K(null), [m, N] = P(!1), [k, w] = P(0), [y, $] = P(""), [b, C] = P(null), A = S ? 1 : Math.max(1, d), B = S ? 1 : p ?? A, L = c.length + a.length, E = S ? L === 0 : L < A && c.length < B, F = S ? L === 0 : L < A, I = L > 0, D = o * 1024 * 1024, Z = Oe(() => c.map((O) =>
|
|
1710
|
+
const S = l === "single", g = K(null), [m, N] = P(!1), [k, w] = P(0), [y, $] = P(""), [b, C] = P(null), A = S ? 1 : Math.max(1, d), B = S ? 1 : p ?? A, L = c.length + a.length, E = S ? L === 0 : L < A && c.length < B, F = S ? L === 0 : L < A, I = L > 0, D = o * 1024 * 1024, Z = Oe(() => c.map((O) => ec(O) ? URL.createObjectURL(O) : null), [c]);
|
|
1711
1711
|
ue(
|
|
1712
1712
|
() => () => {
|
|
1713
1713
|
Z.forEach((O) => {
|
|
@@ -1717,7 +1717,7 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1717
1717
|
[Z]
|
|
1718
1718
|
);
|
|
1719
1719
|
const W = (O) => {
|
|
1720
|
-
const J = O.filter((be) => be.size <= D &&
|
|
1720
|
+
const J = O.filter((be) => be.size <= D && Ql(be, i));
|
|
1721
1721
|
if (w(O.length - J.length), !J.length) return;
|
|
1722
1722
|
if (S) {
|
|
1723
1723
|
r([]), s(J.slice(0, 1));
|
|
@@ -1728,7 +1728,7 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1728
1728
|
}, j = () => {
|
|
1729
1729
|
const O = y.trim();
|
|
1730
1730
|
if (O) {
|
|
1731
|
-
if (!
|
|
1731
|
+
if (!nc.test(O)) {
|
|
1732
1732
|
C("Insira uma URL válida (https://…).");
|
|
1733
1733
|
return;
|
|
1734
1734
|
}
|
|
@@ -1764,14 +1764,14 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1764
1764
|
_n,
|
|
1765
1765
|
{
|
|
1766
1766
|
src: Z[J] ?? void 0,
|
|
1767
|
-
docExt:
|
|
1767
|
+
docExt: tc(O.name),
|
|
1768
1768
|
name: O.name,
|
|
1769
|
-
sub:
|
|
1769
|
+
sub: Jl(O.size),
|
|
1770
1770
|
onRemove: () => q(J)
|
|
1771
1771
|
},
|
|
1772
1772
|
`f-${O.name}-${J}`
|
|
1773
1773
|
)),
|
|
1774
|
-
a.map((O, J) => /* @__PURE__ */ e(_n, { src: O, name:
|
|
1774
|
+
a.map((O, J) => /* @__PURE__ */ e(_n, { src: O, name: lc(O), onRemove: () => oe(J) }, `u-${O}-${J}`)),
|
|
1775
1775
|
E && /* @__PURE__ */ u("button", { type: "button", className: "select-dropzone select-dropzone--tile", onClick: ae, children: [
|
|
1776
1776
|
/* @__PURE__ */ e(fn, {}),
|
|
1777
1777
|
/* @__PURE__ */ e("span", { children: "Adicionar" })
|
|
@@ -1823,7 +1823,7 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1823
1823
|
] }),
|
|
1824
1824
|
v != null && /* @__PURE__ */ e("p", { className: "select-field__hint", children: v })
|
|
1825
1825
|
] });
|
|
1826
|
-
}),
|
|
1826
|
+
}), cc = T(function({ label: n, value: l, onChange: c, options: s, labelAction: a, help: r, info: i, description: o, hint: d, error: p, placeholder: h, name: f, required: v, disabled: _, size: x = "md", className: M, ...S }, g) {
|
|
1827
1827
|
const m = ve(), N = p ? `${m}-err` : d ? `${m}-hint` : void 0;
|
|
1828
1828
|
return /* @__PURE__ */ u("div", { ref: g, ...S, className: `select-field${x === "sm" ? " select-field--sm" : ""}${M ? " " + M : ""}`, children: [
|
|
1829
1829
|
(n || r || i || a) && /* @__PURE__ */ u("div", { className: "select-field__labelrow", children: [
|
|
@@ -1858,11 +1858,11 @@ const vo = T(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1858
1858
|
p ? /* @__PURE__ */ e("p", { id: `${m}-err`, className: "select-field__error", children: p }) : d ? /* @__PURE__ */ e("p", { id: `${m}-hint`, className: "select-field__hint", children: d }) : null
|
|
1859
1859
|
] });
|
|
1860
1860
|
});
|
|
1861
|
-
function
|
|
1861
|
+
function sc() {
|
|
1862
1862
|
var t;
|
|
1863
1863
|
return typeof window < "u" && !!((t = window.matchMedia) != null && t.call(window, "(prefers-reduced-motion: reduce)").matches);
|
|
1864
1864
|
}
|
|
1865
|
-
const
|
|
1865
|
+
const ac = () => typeof IntersectionObserver < "u";
|
|
1866
1866
|
function wn(t = {}) {
|
|
1867
1867
|
const n = K(null), l = K(t);
|
|
1868
1868
|
return l.current = t, Ke(() => {
|
|
@@ -1880,7 +1880,7 @@ function wn(t = {}) {
|
|
|
1880
1880
|
once: f = !0,
|
|
1881
1881
|
enabled: v = !0
|
|
1882
1882
|
} = l.current;
|
|
1883
|
-
if (!v ||
|
|
1883
|
+
if (!v || sc()) return;
|
|
1884
1884
|
const _ = s ? Array.from(c.querySelectorAll(s)) : [], x = _.length ? _ : [c], M = { opacity: 0, y: a, ...r !== 1 ? { scale: r } : {} };
|
|
1885
1885
|
let S;
|
|
1886
1886
|
const g = () => {
|
|
@@ -1895,7 +1895,7 @@ function wn(t = {}) {
|
|
|
1895
1895
|
clearProps: "transform"
|
|
1896
1896
|
});
|
|
1897
1897
|
};
|
|
1898
|
-
if (!h || !
|
|
1898
|
+
if (!h || !ac())
|
|
1899
1899
|
return g(), () => S == null ? void 0 : S.kill();
|
|
1900
1900
|
We.set(x, M);
|
|
1901
1901
|
const m = new IntersectionObserver(
|
|
@@ -1926,7 +1926,7 @@ function ms(t) {
|
|
|
1926
1926
|
enabled: h = !0
|
|
1927
1927
|
} = l.current;
|
|
1928
1928
|
if (!h) return;
|
|
1929
|
-
if (
|
|
1929
|
+
if (sc()) {
|
|
1930
1930
|
c.textContent = o(s);
|
|
1931
1931
|
return;
|
|
1932
1932
|
}
|
|
@@ -1942,7 +1942,7 @@ function ms(t) {
|
|
|
1942
1942
|
}
|
|
1943
1943
|
});
|
|
1944
1944
|
};
|
|
1945
|
-
if (!d || !
|
|
1945
|
+
if (!d || !ac())
|
|
1946
1946
|
return _(), () => v == null ? void 0 : v.kill();
|
|
1947
1947
|
c.textContent = o(a);
|
|
1948
1948
|
const x = new IntersectionObserver(
|
|
@@ -1965,7 +1965,7 @@ const fs = [
|
|
|
1965
1965
|
"textarea:not([disabled])",
|
|
1966
1966
|
'[tabindex]:not([tabindex="-1"])'
|
|
1967
1967
|
].join(",");
|
|
1968
|
-
function
|
|
1968
|
+
function ol(t) {
|
|
1969
1969
|
return Array.from(t.querySelectorAll(fs)).filter(
|
|
1970
1970
|
(n) => n.offsetWidth > 0 || n.offsetHeight > 0 || n === document.activeElement
|
|
1971
1971
|
);
|
|
@@ -1975,10 +1975,10 @@ function _s(t, n) {
|
|
|
1975
1975
|
if (!t) return;
|
|
1976
1976
|
const l = n.current;
|
|
1977
1977
|
if (!l) return;
|
|
1978
|
-
(
|
|
1978
|
+
(ol(l)[0] ?? l).focus({ preventScroll: !0 });
|
|
1979
1979
|
const s = (a) => {
|
|
1980
1980
|
if (a.key !== "Tab") return;
|
|
1981
|
-
const r =
|
|
1981
|
+
const r = ol(l);
|
|
1982
1982
|
if (r.length === 0) {
|
|
1983
1983
|
a.preventDefault();
|
|
1984
1984
|
return;
|
|
@@ -2009,7 +2009,7 @@ function dt({
|
|
|
2009
2009
|
var w;
|
|
2010
2010
|
const g = ((w = p.current) == null ? void 0 : w.firstElementChild) ?? p.current, m = h.current;
|
|
2011
2011
|
if (!g || !m) return;
|
|
2012
|
-
const N = g.getBoundingClientRect(), k =
|
|
2012
|
+
const N = g.getBoundingClientRect(), k = Xl(N, { width: m.offsetWidth, height: m.offsetHeight }, s, a);
|
|
2013
2013
|
_({ top: k.top, left: k.left, minWidth: o ? N.width : void 0 });
|
|
2014
2014
|
}, [s, a, o]);
|
|
2015
2015
|
return Ke(() => {
|
|
@@ -2196,7 +2196,7 @@ const bo = T(function({ value: n, onChange: l, banks: c = [], showType: s = !1,
|
|
|
2196
2196
|
)
|
|
2197
2197
|
] }),
|
|
2198
2198
|
s && /* @__PURE__ */ e(
|
|
2199
|
-
|
|
2199
|
+
cc,
|
|
2200
2200
|
{
|
|
2201
2201
|
label: "Tipo de conta",
|
|
2202
2202
|
options: [
|
|
@@ -2310,7 +2310,7 @@ function $s(t) {
|
|
|
2310
2310
|
function Ss(t) {
|
|
2311
2311
|
return (t ?? "").replace(/\D/g, "").slice(0, 11);
|
|
2312
2312
|
}
|
|
2313
|
-
function
|
|
2313
|
+
function rc(t, n) {
|
|
2314
2314
|
return (n ?? "").replace(/\D/g, "").slice(0, $s(t));
|
|
2315
2315
|
}
|
|
2316
2316
|
function Cs(t) {
|
|
@@ -2318,7 +2318,7 @@ function Cs(t) {
|
|
|
2318
2318
|
return n.length === 0 ? "" : n.length <= 2 ? `(${n}` : n.length <= 6 ? `(${n.slice(0, 2)}) ${n.slice(2)}` : n.length <= 10 ? `(${n.slice(0, 2)}) ${n.slice(2, 6)}-${n.slice(6)}` : `(${n.slice(0, 2)}) ${n.slice(2, 7)}-${n.slice(7)}`;
|
|
2319
2319
|
}
|
|
2320
2320
|
function Ls(t, n) {
|
|
2321
|
-
const l =
|
|
2321
|
+
const l = rc(t, n);
|
|
2322
2322
|
if (t === "BR") return Cs(l);
|
|
2323
2323
|
const c = Qn[t];
|
|
2324
2324
|
return c ? ks(c, l) : l;
|
|
@@ -2328,7 +2328,7 @@ function As(t) {
|
|
|
2328
2328
|
const n = Qn[t];
|
|
2329
2329
|
return n ? n.replace(/#/g, "0") : "";
|
|
2330
2330
|
}
|
|
2331
|
-
const
|
|
2331
|
+
const oc = [
|
|
2332
2332
|
{ iso: "BR", dial: "+55", flag: "🇧🇷", name: "Brasil" },
|
|
2333
2333
|
{ iso: "US", dial: "+1", flag: "🇺🇸", name: "Estados Unidos" },
|
|
2334
2334
|
{ iso: "PT", dial: "+351", flag: "🇵🇹", name: "Portugal" },
|
|
@@ -2339,7 +2339,7 @@ const rc = [
|
|
|
2339
2339
|
];
|
|
2340
2340
|
function Es(t) {
|
|
2341
2341
|
var n;
|
|
2342
|
-
return ((n =
|
|
2342
|
+
return ((n = oc.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
|
|
2343
2343
|
}
|
|
2344
2344
|
const Mo = T(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: r, onBlur: i, placeholder: o, className: d, ...p }, h) {
|
|
2345
2345
|
const f = ve(), v = Es(l.country), _ = r ? `${f}-err` : a ? `${f}-hint` : void 0;
|
|
@@ -2363,7 +2363,7 @@ const Mo = T(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2363
2363
|
value: l.country,
|
|
2364
2364
|
onChange: (x) => c({ ...l, country: x.target.value }),
|
|
2365
2365
|
"aria-label": "País",
|
|
2366
|
-
children:
|
|
2366
|
+
children: oc.map((x) => /* @__PURE__ */ u("option", { value: x.iso, children: [
|
|
2367
2367
|
x.name,
|
|
2368
2368
|
" (",
|
|
2369
2369
|
x.dial,
|
|
@@ -2382,7 +2382,7 @@ const Mo = T(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2382
2382
|
autoComplete: "tel-national",
|
|
2383
2383
|
value: Ls(l.country, l.number),
|
|
2384
2384
|
placeholder: o ?? As(l.country),
|
|
2385
|
-
onChange: (x) => c({ ...l, number:
|
|
2385
|
+
onChange: (x) => c({ ...l, number: rc(l.country, x.target.value) }),
|
|
2386
2386
|
onBlur: i,
|
|
2387
2387
|
"aria-invalid": r ? !0 : void 0,
|
|
2388
2388
|
"aria-describedby": _
|
|
@@ -2453,7 +2453,7 @@ const Mo = T(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2453
2453
|
);
|
|
2454
2454
|
})
|
|
2455
2455
|
] });
|
|
2456
|
-
}),
|
|
2456
|
+
}), ic = T(function({ children: n, tone: l = "neutral", icon: c, size: s = "md", className: a, ...r }, i) {
|
|
2457
2457
|
return /* @__PURE__ */ u(
|
|
2458
2458
|
"span",
|
|
2459
2459
|
{
|
|
@@ -2490,9 +2490,9 @@ function $o({
|
|
|
2490
2490
|
size: l
|
|
2491
2491
|
}) {
|
|
2492
2492
|
const c = n[t] ?? { label: t };
|
|
2493
|
-
return /* @__PURE__ */ e(
|
|
2493
|
+
return /* @__PURE__ */ e(ic, { tone: c.tone, size: l, children: c.label });
|
|
2494
2494
|
}
|
|
2495
|
-
function
|
|
2495
|
+
function dc({ items: t, sections: n, onAction: l, autoFocus: c = !0, className: s, ...a }) {
|
|
2496
2496
|
const r = K(null), i = n ?? (t ? [{ items: t }] : []);
|
|
2497
2497
|
ue(() => {
|
|
2498
2498
|
var d, p;
|
|
@@ -2553,7 +2553,7 @@ function So({
|
|
|
2553
2553
|
children: n
|
|
2554
2554
|
}
|
|
2555
2555
|
),
|
|
2556
|
-
children: /* @__PURE__ */ e(
|
|
2556
|
+
children: /* @__PURE__ */ e(dc, { items: t, onAction: () => s(!1) })
|
|
2557
2557
|
}
|
|
2558
2558
|
);
|
|
2559
2559
|
}
|
|
@@ -2662,7 +2662,7 @@ function kt({ children: t, as: n = "p", variant: l = "bodyMd", tone: c, fontWeig
|
|
|
2662
2662
|
].filter(Boolean).join(" ");
|
|
2663
2663
|
return /* @__PURE__ */ e(p, { ...d, className: h, style: a ? { textAlign: a } : void 0, children: t });
|
|
2664
2664
|
}
|
|
2665
|
-
const
|
|
2665
|
+
const il = "https://cdn.selectwin.io/public/payicons", Ts = [
|
|
2666
2666
|
{ value: "visa", label: "Visa", file: "visa" },
|
|
2667
2667
|
{ value: "mastercard", label: "Mastercard", file: "mastercard" },
|
|
2668
2668
|
{ value: "elo", label: "Elo", file: "elo" },
|
|
@@ -2675,25 +2675,25 @@ const ol = "https://cdn.selectwin.io/public/payicons", Ts = [
|
|
|
2675
2675
|
{ value: "discover", label: "Discover", file: "discover" },
|
|
2676
2676
|
{ value: "banescard", label: "Banescard", file: "banescard" },
|
|
2677
2677
|
{ value: "dinersclub", label: "Diners Club", file: "dinersclub" }
|
|
2678
|
-
],
|
|
2678
|
+
], dl = {
|
|
2679
2679
|
master: "mastercard",
|
|
2680
2680
|
"american-express": "amex",
|
|
2681
2681
|
americanexpress: "amex",
|
|
2682
2682
|
diners: "dinersclub",
|
|
2683
2683
|
"diners-club": "dinersclub"
|
|
2684
|
-
},
|
|
2685
|
-
function
|
|
2684
|
+
}, hl = new Map(Ts.map((t) => [t.value, t]));
|
|
2685
|
+
function hc(t) {
|
|
2686
2686
|
if (!t) return null;
|
|
2687
2687
|
const n = t.toLowerCase().trim().replace(/\s+/g, "-");
|
|
2688
2688
|
for (const l of [n, n.replace(/-/g, "")]) {
|
|
2689
|
-
const c =
|
|
2689
|
+
const c = hl.get(l) ?? (dl[l] ? hl.get(dl[l]) : void 0);
|
|
2690
2690
|
if (c) return c;
|
|
2691
2691
|
}
|
|
2692
2692
|
return null;
|
|
2693
2693
|
}
|
|
2694
2694
|
function Ps(t) {
|
|
2695
2695
|
var n;
|
|
2696
|
-
return ((n =
|
|
2696
|
+
return ((n = hc(t)) == null ? void 0 : n.label) ?? t;
|
|
2697
2697
|
}
|
|
2698
2698
|
const Ds = {
|
|
2699
2699
|
pix: "pix",
|
|
@@ -2708,9 +2708,9 @@ const Ds = {
|
|
|
2708
2708
|
boleto: "Boleto bancário",
|
|
2709
2709
|
nupay: "Nupay"
|
|
2710
2710
|
};
|
|
2711
|
-
function
|
|
2711
|
+
function ul(t) {
|
|
2712
2712
|
var n;
|
|
2713
|
-
return ((n =
|
|
2713
|
+
return ((n = hc(t)) == null ? void 0 : n.file) ?? null;
|
|
2714
2714
|
}
|
|
2715
2715
|
function Lo({
|
|
2716
2716
|
method: t,
|
|
@@ -2725,15 +2725,15 @@ function Lo({
|
|
|
2725
2725
|
* method/brand text everywhere the label renders (chip title, alt, showLabel, fallback). */
|
|
2726
2726
|
label: a
|
|
2727
2727
|
}) {
|
|
2728
|
-
const r =
|
|
2728
|
+
const r = ul(n) ?? (t ? Ds[t] : null), i = n ? Ps(n) : void 0, o = a || i || (t ? sn[t] : void 0) || t || "—";
|
|
2729
2729
|
if (!r)
|
|
2730
2730
|
return /* @__PURE__ */ e(kt, { as: "span", tone: "subdued", variant: "bodySm", children: a || t && sn[t] || i || t || "—" });
|
|
2731
|
-
const d =
|
|
2731
|
+
const d = ul(n) == null, p = l, h = Math.round(l * 1.2);
|
|
2732
2732
|
if (s) {
|
|
2733
2733
|
const v = d ? Math.round(l * 0.7) : l, _ = /* @__PURE__ */ e(
|
|
2734
2734
|
"img",
|
|
2735
2735
|
{
|
|
2736
|
-
src: `${
|
|
2736
|
+
src: `${il}/${r}.svg`,
|
|
2737
2737
|
alt: o,
|
|
2738
2738
|
title: o,
|
|
2739
2739
|
loading: "lazy",
|
|
@@ -2773,7 +2773,7 @@ function Lo({
|
|
|
2773
2773
|
children: /* @__PURE__ */ e(
|
|
2774
2774
|
"img",
|
|
2775
2775
|
{
|
|
2776
|
-
src: `${
|
|
2776
|
+
src: `${il}/${r}.svg`,
|
|
2777
2777
|
alt: o,
|
|
2778
2778
|
loading: "lazy",
|
|
2779
2779
|
style: d ? (
|
|
@@ -2821,14 +2821,14 @@ function Ws({
|
|
|
2821
2821
|
}
|
|
2822
2822
|
);
|
|
2823
2823
|
}
|
|
2824
|
-
const Os = 3e3, On = "",
|
|
2825
|
-
function
|
|
2824
|
+
const Os = 3e3, On = "", uc = (t, n) => t === "" ? n : t + On + n;
|
|
2825
|
+
function pl(t) {
|
|
2826
2826
|
const n = t.split(On), l = [];
|
|
2827
2827
|
for (let c = 1; c < n.length; c++) l.push(n.slice(0, c).join(On));
|
|
2828
2828
|
return l;
|
|
2829
2829
|
}
|
|
2830
2830
|
const Hs = (t) => t instanceof Date || t instanceof RegExp || t instanceof Map || t instanceof Set;
|
|
2831
|
-
function
|
|
2831
|
+
function pc(t) {
|
|
2832
2832
|
if (t == null) return "null";
|
|
2833
2833
|
if (Array.isArray(t)) return "array";
|
|
2834
2834
|
switch (typeof t) {
|
|
@@ -2846,10 +2846,10 @@ function uc(t) {
|
|
|
2846
2846
|
}
|
|
2847
2847
|
}
|
|
2848
2848
|
function ht(t) {
|
|
2849
|
-
const n =
|
|
2849
|
+
const n = pc(t);
|
|
2850
2850
|
return n === "object" || n === "array";
|
|
2851
2851
|
}
|
|
2852
|
-
function
|
|
2852
|
+
function mc(t) {
|
|
2853
2853
|
return Array.isArray(t) ? t.map((n, l) => [String(l), n]) : ht(t) ? Object.entries(t) : [];
|
|
2854
2854
|
}
|
|
2855
2855
|
function en(t) {
|
|
@@ -2858,7 +2858,7 @@ function en(t) {
|
|
|
2858
2858
|
function el(t) {
|
|
2859
2859
|
return t == null ? "null" : typeof t == "string" ? t : t instanceof Date ? Number.isNaN(t.getTime()) ? "Invalid Date" : t.toISOString() : String(t);
|
|
2860
2860
|
}
|
|
2861
|
-
function
|
|
2861
|
+
function ml(t) {
|
|
2862
2862
|
const n = en(t), l = Array.isArray(t);
|
|
2863
2863
|
return n === 0 ? l ? "[]" : "{}" : l ? `[${n} ${n === 1 ? "item" : "itens"}]` : `{${n} ${n === 1 ? "chave" : "chaves"}}`;
|
|
2864
2864
|
}
|
|
@@ -2875,7 +2875,7 @@ function js(t) {
|
|
|
2875
2875
|
function Zs(t) {
|
|
2876
2876
|
return t == null ? !0 : ht(t) ? en(t) === 0 : !1;
|
|
2877
2877
|
}
|
|
2878
|
-
function
|
|
2878
|
+
function fc(t) {
|
|
2879
2879
|
try {
|
|
2880
2880
|
return JSON.stringify(t, null, 2) ?? String(t);
|
|
2881
2881
|
} catch {
|
|
@@ -2897,8 +2897,8 @@ function Kt(t, n, l = Os) {
|
|
|
2897
2897
|
const h = r;
|
|
2898
2898
|
if (p.includes(h)) return;
|
|
2899
2899
|
const f = [...p, h];
|
|
2900
|
-
for (const [v, _] of
|
|
2901
|
-
if (a(_,
|
|
2900
|
+
for (const [v, _] of mc(r))
|
|
2901
|
+
if (a(_, uc(i, v), v, d + 1, f), s) return;
|
|
2902
2902
|
};
|
|
2903
2903
|
return a(t, "", "", 0, []), { count: c, truncated: s };
|
|
2904
2904
|
}
|
|
@@ -2925,19 +2925,19 @@ function qs(t, n) {
|
|
|
2925
2925
|
return Kt(t, ({ path: a, key: r, value: i }) => {
|
|
2926
2926
|
if (r.toLowerCase().includes(l) || !ht(i) && el(i).toLowerCase().includes(l)) {
|
|
2927
2927
|
c.add(a), s.add(a);
|
|
2928
|
-
for (const d of
|
|
2928
|
+
for (const d of pl(a)) s.add(d);
|
|
2929
2929
|
}
|
|
2930
2930
|
}), c.size > 0 && Kt(t, ({ path: a }) => {
|
|
2931
|
-
|
|
2931
|
+
pl(a).some((r) => c.has(r)) && s.add(a);
|
|
2932
2932
|
}), { matched: c, visible: s, count: c.size, active: !0 };
|
|
2933
2933
|
}
|
|
2934
|
-
const
|
|
2934
|
+
const fl = /("(?:\\u[a-fA-F0-9]{4}|\\[^u]|[^\\"])*"(?:\s*:)?|\btrue\b|\bfalse\b|\bnull\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g;
|
|
2935
2935
|
function Ys(t) {
|
|
2936
2936
|
const n = [];
|
|
2937
2937
|
let l = 0;
|
|
2938
|
-
|
|
2938
|
+
fl.lastIndex = 0;
|
|
2939
2939
|
let c;
|
|
2940
|
-
for (; (c =
|
|
2940
|
+
for (; (c = fl.exec(t)) !== null; ) {
|
|
2941
2941
|
c.index > l && n.push({ text: t.slice(l, c.index), cls: "plain" });
|
|
2942
2942
|
const s = c[0];
|
|
2943
2943
|
let a = "num";
|
|
@@ -2969,7 +2969,7 @@ function Xs(t, n) {
|
|
|
2969
2969
|
s += 1, a = c.indexOf(l, a + l.length);
|
|
2970
2970
|
return s;
|
|
2971
2971
|
}
|
|
2972
|
-
const
|
|
2972
|
+
const _l = 320, Js = 12e4, Qs = {
|
|
2973
2973
|
string: "str",
|
|
2974
2974
|
number: "num",
|
|
2975
2975
|
boolean: "bool",
|
|
@@ -2995,15 +2995,15 @@ function ea(t = 1400) {
|
|
|
2995
2995
|
);
|
|
2996
2996
|
return [n, s];
|
|
2997
2997
|
}
|
|
2998
|
-
function
|
|
2999
|
-
const c =
|
|
2998
|
+
function _c({ value: t, term: n, forceFull: l }) {
|
|
2999
|
+
const c = pc(t), s = el(t), a = !l && s.length > _l, r = a ? `${s.slice(0, _l)}…` : s, i = c === "string";
|
|
3000
3000
|
return /* @__PURE__ */ u("span", { className: `select-json__v select-json__v--${Qs[c]}`, title: a ? s : void 0, children: [
|
|
3001
3001
|
i && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' }),
|
|
3002
3002
|
/* @__PURE__ */ e(vn, { text: r, term: n }),
|
|
3003
3003
|
i && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' })
|
|
3004
3004
|
] });
|
|
3005
3005
|
}
|
|
3006
|
-
function
|
|
3006
|
+
function vc({
|
|
3007
3007
|
value: t,
|
|
3008
3008
|
path: n,
|
|
3009
3009
|
depth: l,
|
|
@@ -3011,8 +3011,8 @@ function _c({
|
|
|
3011
3011
|
ctx: s
|
|
3012
3012
|
}) {
|
|
3013
3013
|
const a = s.result.active, r = Array.isArray(t);
|
|
3014
|
-
return /* @__PURE__ */ e(he, { children:
|
|
3015
|
-
const d =
|
|
3014
|
+
return /* @__PURE__ */ e(he, { children: mc(t).map(([i, o]) => {
|
|
3015
|
+
const d = uc(n, i);
|
|
3016
3016
|
if (a && !s.result.visible.has(d)) return null;
|
|
3017
3017
|
const p = Vs(o, c), h = ht(o) && !p, f = h && en(o) > 0, v = a ? !0 : s.expanded.has(d), _ = s.result.matched.has(d), x = `row:${d}`;
|
|
3018
3018
|
return /* @__PURE__ */ u(jn, { children: [
|
|
@@ -3039,8 +3039,8 @@ function _c({
|
|
|
3039
3039
|
p ? /* @__PURE__ */ e("span", { className: "select-json__v select-json__v--other", children: "[referência circular]" }) : f ? (
|
|
3040
3040
|
// The summary doubles as a second hit-target for the caret; `tabIndex={-1}`
|
|
3041
3041
|
// keeps it out of the tab order (the caret is already the focusable control).
|
|
3042
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(d), children:
|
|
3043
|
-
) : h ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children:
|
|
3042
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(d), children: ml(o) })
|
|
3043
|
+
) : h ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children: ml(o) }) : /* @__PURE__ */ e(_c, { value: o, term: s.search, forceFull: _ })
|
|
3044
3044
|
] }),
|
|
3045
3045
|
/* @__PURE__ */ e(
|
|
3046
3046
|
"button",
|
|
@@ -3049,14 +3049,14 @@ function _c({
|
|
|
3049
3049
|
className: "select-json__copy",
|
|
3050
3050
|
"aria-label": `Copiar ${i}`,
|
|
3051
3051
|
title: s.copied === x ? "Copiado!" : "Copiar valor",
|
|
3052
|
-
onClick: () => s.copy(x, h ?
|
|
3052
|
+
onClick: () => s.copy(x, h ? fc(o) : el(o)),
|
|
3053
3053
|
children: s.copied === x ? /* @__PURE__ */ e(Qe, {}) : /* @__PURE__ */ e(qn, {})
|
|
3054
3054
|
}
|
|
3055
3055
|
)
|
|
3056
3056
|
]
|
|
3057
3057
|
}
|
|
3058
3058
|
),
|
|
3059
|
-
f && v && /* @__PURE__ */ e(
|
|
3059
|
+
f && v && /* @__PURE__ */ e(vc, { value: o, path: d, depth: l + 1, ancestors: [...c, o], ctx: s })
|
|
3060
3060
|
] }, d);
|
|
3061
3061
|
}) });
|
|
3062
3062
|
}
|
|
@@ -3066,7 +3066,7 @@ function ta({ text: t, term: n }) {
|
|
|
3066
3066
|
}
|
|
3067
3067
|
const Ao = T(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: r = !0, emptyLabel: i = "Sem dados", className: o, ...d }, p) {
|
|
3068
3068
|
const [h, f] = P(s), [v, _] = P("tree"), [x, M] = P(""), [S, g] = P(/* @__PURE__ */ new Set()), [m, N] = ea(), k = K(null), w = Oe(() => js(n), [n]), y = Zs(w), $ = Oe(
|
|
3069
|
-
() => typeof n == "string" && w === n ? n :
|
|
3069
|
+
() => typeof n == "string" && w === n ? n : fc(w),
|
|
3070
3070
|
[n, w]
|
|
3071
3071
|
), b = Oe(() => Kt(w, () => {
|
|
3072
3072
|
}).truncated, [w]), C = v === "tree" && !b, A = Oe(() => b ? [] : Us(w), [w, b]);
|
|
@@ -3109,7 +3109,7 @@ const Ao = T(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3109
3109
|
C && A.length > 0 && !L && /* @__PURE__ */ e(
|
|
3110
3110
|
He,
|
|
3111
3111
|
{
|
|
3112
|
-
icon: /* @__PURE__ */ e(
|
|
3112
|
+
icon: /* @__PURE__ */ e(Zl, {}),
|
|
3113
3113
|
label: I ? "Recolher tudo" : "Expandir tudo",
|
|
3114
3114
|
size: "sm",
|
|
3115
3115
|
active: I,
|
|
@@ -3142,9 +3142,9 @@ const Ao = T(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3142
3142
|
"Nenhuma chave ou valor corresponde a “",
|
|
3143
3143
|
x.trim(),
|
|
3144
3144
|
"”."
|
|
3145
|
-
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: ht(w) ? /* @__PURE__ */ e(
|
|
3145
|
+
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: ht(w) ? /* @__PURE__ */ e(vc, { value: w, path: "", depth: 0, ancestors: [w], ctx: Z }) : /* @__PURE__ */ u("div", { className: "select-json__row", style: { "--json-depth": 0 }, children: [
|
|
3146
3146
|
/* @__PURE__ */ e("span", { className: "select-json__caret select-json__caret--empty", "aria-hidden": "true" }),
|
|
3147
|
-
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(
|
|
3147
|
+
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(_c, { value: w, term: x, forceFull: !0 }) })
|
|
3148
3148
|
] }) }) : /* @__PURE__ */ e(ta, { text: $, term: x }) })
|
|
3149
3149
|
] })
|
|
3150
3150
|
] });
|
|
@@ -3287,7 +3287,7 @@ const Do = T(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar c
|
|
|
3287
3287
|
i > 0 || (n(), o(l));
|
|
3288
3288
|
}, [i, n, l]), p = i > 0, h = p ? `Reenviar em 0:${String(i).padStart(2, "0")}` : c;
|
|
3289
3289
|
return /* @__PURE__ */ e("button", { ref: r, ...a, type: "button", className: `select-resend${s ? " " + s : ""}`, onClick: d, disabled: p, children: h });
|
|
3290
|
-
}),
|
|
3290
|
+
}), vl = [
|
|
3291
3291
|
{ label: "Muito fraca", cls: "is-0" },
|
|
3292
3292
|
{ label: "Fraca", cls: "is-1" },
|
|
3293
3293
|
{ label: "Razoável", cls: "is-2" },
|
|
@@ -3300,7 +3300,7 @@ function sa(t) {
|
|
|
3300
3300
|
return t.length >= 8 && n++, t.length >= 12 && n++, /[a-z]/.test(t) && /[A-Z]/.test(t) && n++, /\d/.test(t) && /[^A-Za-z0-9]/.test(t) && n++, Math.min(n, 4);
|
|
3301
3301
|
}
|
|
3302
3302
|
const Wo = T(function({ value: n, className: l, ...c }, s) {
|
|
3303
|
-
const a = sa(n), r =
|
|
3303
|
+
const a = sa(n), r = vl[a] ?? vl[0];
|
|
3304
3304
|
return /* @__PURE__ */ u("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
|
|
3305
3305
|
/* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${r.cls}`, children: [0, 1, 2, 3].map((i) => /* @__PURE__ */ e("span", { className: `select-strength__bar${i < a ? " is-on" : ""}` }, i)) }),
|
|
3306
3306
|
n && /* @__PURE__ */ e("span", { className: "select-strength__label", children: r.label })
|
|
@@ -3371,7 +3371,7 @@ function ia({ children: t, columns: n = 2 }) {
|
|
|
3371
3371
|
return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
|
|
3372
3372
|
}
|
|
3373
3373
|
const Oo = Object.assign(oa, { Group: ia });
|
|
3374
|
-
function
|
|
3374
|
+
function gl({ lines: t = 3 }) {
|
|
3375
3375
|
return /* @__PURE__ */ e("div", { className: "select-skel-body", children: Array.from({ length: Math.max(1, t) }, (n, l) => /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-line" }, l)) });
|
|
3376
3376
|
}
|
|
3377
3377
|
function da({ size: t = "medium" }) {
|
|
@@ -3385,9 +3385,9 @@ function ua({ height: t = 240 }) {
|
|
|
3385
3385
|
}
|
|
3386
3386
|
const Ho = Object.assign(
|
|
3387
3387
|
function({ lines: n }) {
|
|
3388
|
-
return /* @__PURE__ */ e(
|
|
3388
|
+
return /* @__PURE__ */ e(gl, { lines: n });
|
|
3389
3389
|
},
|
|
3390
|
-
{ Body:
|
|
3390
|
+
{ Body: gl, Display: da, Thumbnail: ha, Block: ua }
|
|
3391
3391
|
), pa = { sm: "1rem", md: "1.25rem", lg: "1.5rem" };
|
|
3392
3392
|
function ma({
|
|
3393
3393
|
source: t,
|
|
@@ -3502,16 +3502,16 @@ function zo({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
|
3502
3502
|
c != null && /* @__PURE__ */ e("div", { className: "select-tabs__end", children: c })
|
|
3503
3503
|
] });
|
|
3504
3504
|
}
|
|
3505
|
-
function
|
|
3505
|
+
function gc(t, n) {
|
|
3506
3506
|
var l;
|
|
3507
|
-
return ((l = t.children) == null ? void 0 : l.some((c) => c.id === n ||
|
|
3507
|
+
return ((l = t.children) == null ? void 0 : l.some((c) => c.id === n || gc(c, n))) ?? !1;
|
|
3508
3508
|
}
|
|
3509
3509
|
function fa({
|
|
3510
3510
|
item: t,
|
|
3511
3511
|
active: n,
|
|
3512
3512
|
onSelect: l
|
|
3513
3513
|
}) {
|
|
3514
|
-
const c = t.alwaysOpen === !0, s =
|
|
3514
|
+
const c = t.alwaysOpen === !0, s = gc(t, n), [a, r] = P(s);
|
|
3515
3515
|
ue(() => {
|
|
3516
3516
|
r(s);
|
|
3517
3517
|
}, [s]);
|
|
@@ -3661,12 +3661,12 @@ const ga = T(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
|
|
|
3661
3661
|
N != null && /* @__PURE__ */ e("p", { className: "select-pagination__count", children: N })
|
|
3662
3662
|
] });
|
|
3663
3663
|
});
|
|
3664
|
-
function
|
|
3664
|
+
function nl({ title: t, description: n, action: l, filters: c, tools: s }) {
|
|
3665
3665
|
const a = c != null, r = a ? null : s, i = t != null || n != null;
|
|
3666
3666
|
return { hasFilters: a, inlineTools: r, hasIdentity: i, hasTitleRow: i || l != null || r != null };
|
|
3667
3667
|
}
|
|
3668
3668
|
function bc({ title: t, help: n, description: l, action: c, filters: s, tools: a }) {
|
|
3669
|
-
const { hasFilters: r, inlineTools: i, hasIdentity: o, hasTitleRow: d } =
|
|
3669
|
+
const { hasFilters: r, inlineTools: i, hasIdentity: o, hasTitleRow: d } = nl({ title: t, description: l, action: c, filters: s, tools: a });
|
|
3670
3670
|
return /* @__PURE__ */ u(he, { children: [
|
|
3671
3671
|
d && /* @__PURE__ */ u("div", { className: "select-table__title", children: [
|
|
3672
3672
|
o && /* @__PURE__ */ u("div", { className: "select-table__heading", children: [
|
|
@@ -3769,7 +3769,7 @@ function xc({ pagination: t }) {
|
|
|
3769
3769
|
] });
|
|
3770
3770
|
}
|
|
3771
3771
|
const xa = T(function({ columns: n, children: l, empty: c, footer: s, title: a, help: r, description: i, action: o, filters: d, tools: p, className: h, ...f }, v) {
|
|
3772
|
-
const _ = Rc.count(l) === 0, x = _ && !!c, { hasFilters: M, hasTitleRow: S } =
|
|
3772
|
+
const _ = Rc.count(l) === 0, x = _ && !!c, { hasFilters: M, hasTitleRow: S } = nl({ title: a, description: i, action: o, filters: d, tools: p }), g = x && !S && !M, m = wn({ selector: ".select-table__row", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 }), N = n.length ? n.map((k) => k.width ?? `minmax(${k.minWidth ?? "var(--select-table-col-min, 6.5rem)"}, ${k.grow ?? 1}fr)`).join(" ") : "1fr";
|
|
3773
3773
|
return /* @__PURE__ */ u("div", { ref: v, ...f, className: `select-table${g ? " select-table--empty" : ""}${h ? " " + h : ""}`, style: { "--select-table-cols": N }, children: [
|
|
3774
3774
|
/* @__PURE__ */ e(bc, { title: a, help: r, description: i, action: o, filters: d, tools: p }),
|
|
3775
3775
|
/* @__PURE__ */ e("div", { className: `select-table__scroll${x ? " select-table__scroll--empty" : ""}`, children: /* @__PURE__ */ u("div", { className: "select-table__scrollinner", children: [
|
|
@@ -3807,10 +3807,10 @@ const xa = T(function({ columns: n, children: l, empty: c, footer: s, title: a,
|
|
|
3807
3807
|
] })
|
|
3808
3808
|
] });
|
|
3809
3809
|
});
|
|
3810
|
-
function
|
|
3810
|
+
function bl({ children: t, onClick: n }) {
|
|
3811
3811
|
return n ? /* @__PURE__ */ e("button", { type: "button", className: "select-table__row select-table__row--clickable", onClick: n, children: t }) : /* @__PURE__ */ e("div", { className: "select-table__row", role: "row", children: t });
|
|
3812
3812
|
}
|
|
3813
|
-
const
|
|
3813
|
+
const xl = T(function({ children: n, align: l = "start", className: c, ...s }, a) {
|
|
3814
3814
|
return /* @__PURE__ */ e("div", { ref: a, ...s, role: "cell", className: `select-table__td select-table__cell--${l}${c ? " " + c : ""}`, children: n });
|
|
3815
3815
|
}), yc = T(function({ icon: n, title: l, subtitle: c, action: s, className: a, ...r }, i) {
|
|
3816
3816
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-table-empty${a ? " " + a : ""}`, children: [
|
|
@@ -3890,7 +3890,7 @@ function t1({
|
|
|
3890
3890
|
return /* @__PURE__ */ u("span", { className: `select-copyid${r === "always" ? " select-copyid--always" : ""}`, children: [
|
|
3891
3891
|
a ? (
|
|
3892
3892
|
// Keep navigation isolated from any row handler; the text alone is the link target.
|
|
3893
|
-
/* @__PURE__ */ e(
|
|
3893
|
+
/* @__PURE__ */ e(Hl, { className: "select-copyid__text select-copyid__link", to: a, onClick: (h) => h.stopPropagation(), children: d })
|
|
3894
3894
|
) : /* @__PURE__ */ e("span", { className: "select-copyid__text", children: d }),
|
|
3895
3895
|
/* @__PURE__ */ e(Kn, { content: i ? "Copiado" : c, children: /* @__PURE__ */ e(
|
|
3896
3896
|
"button",
|
|
@@ -3952,7 +3952,7 @@ const n1 = T(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3952
3952
|
n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
|
|
3953
3953
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
|
|
3954
3954
|
c,
|
|
3955
|
-
/* @__PURE__ */ e("span", { className: "select-wsswitcher__selector", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3955
|
+
/* @__PURE__ */ e("span", { className: "select-wsswitcher__selector", "aria-hidden": "true", children: /* @__PURE__ */ e(Zl, {}) })
|
|
3956
3956
|
] });
|
|
3957
3957
|
}), wa = 220;
|
|
3958
3958
|
function $n({
|
|
@@ -4051,7 +4051,7 @@ function r1({ actions: t, label: n = "Ações" }) {
|
|
|
4051
4051
|
onClick: () => c((s) => !s)
|
|
4052
4052
|
}
|
|
4053
4053
|
),
|
|
4054
|
-
children: /* @__PURE__ */ e(
|
|
4054
|
+
children: /* @__PURE__ */ e(dc, { items: t, onAction: () => c(!1) })
|
|
4055
4055
|
}
|
|
4056
4056
|
);
|
|
4057
4057
|
}
|
|
@@ -4163,14 +4163,14 @@ function $a(t, n) {
|
|
|
4163
4163
|
} catch {
|
|
4164
4164
|
}
|
|
4165
4165
|
}
|
|
4166
|
-
function
|
|
4166
|
+
function yl(t) {
|
|
4167
4167
|
return t.hideable ?? !!t.title;
|
|
4168
4168
|
}
|
|
4169
|
-
const
|
|
4169
|
+
const Nl = "select-datatable:page-size:";
|
|
4170
4170
|
function u1(t, n, l) {
|
|
4171
4171
|
const [c, s] = P(() => {
|
|
4172
4172
|
try {
|
|
4173
|
-
const r = Number(localStorage.getItem(
|
|
4173
|
+
const r = Number(localStorage.getItem(Nl + t));
|
|
4174
4174
|
return Number.isInteger(r) && r > 0 && (!l || l.includes(r)) ? r : n;
|
|
4175
4175
|
} catch {
|
|
4176
4176
|
return n;
|
|
@@ -4179,7 +4179,7 @@ function u1(t, n, l) {
|
|
|
4179
4179
|
return [c, (r) => {
|
|
4180
4180
|
s(r);
|
|
4181
4181
|
try {
|
|
4182
|
-
localStorage.setItem(
|
|
4182
|
+
localStorage.setItem(Nl + t, String(r));
|
|
4183
4183
|
} catch {
|
|
4184
4184
|
}
|
|
4185
4185
|
}];
|
|
@@ -4203,7 +4203,7 @@ function p1({
|
|
|
4203
4203
|
filters: h,
|
|
4204
4204
|
columnsKey: f
|
|
4205
4205
|
}) {
|
|
4206
|
-
const [v, _] = P(() => f ? ka(f) : []), [x, M] = P(!1), S = Oe(() => new Set(v), [v]), g = t.filter(
|
|
4206
|
+
const [v, _] = P(() => f ? ka(f) : []), [x, M] = P(!1), S = Oe(() => new Set(v), [v]), g = t.filter(yl), m = g.length > 0 && g.every((I) => S.has(I.key)), N = (I) => !m && S.has(I.key) && yl(I), k = t.filter((I) => !N(I)), w = g.filter((I) => !N(I)), [y, $] = P(null), b = (I) => {
|
|
4207
4207
|
_((D) => {
|
|
4208
4208
|
const Z = !D.includes(I.key), W = Z ? [...D, I.key] : D.filter((j) => j !== I.key);
|
|
4209
4209
|
return f && $a(f, W), Z && $((j) => j && j.key === I.key ? null : j), W;
|
|
@@ -4278,7 +4278,7 @@ function p1({
|
|
|
4278
4278
|
filters: h,
|
|
4279
4279
|
action: p,
|
|
4280
4280
|
tools: F,
|
|
4281
|
-
children: c ? Array.from({ length: 5 }, (I, D) => /* @__PURE__ */ e(
|
|
4281
|
+
children: c ? Array.from({ length: 5 }, (I, D) => /* @__PURE__ */ e(bl, { children: k.map((Z, W) => /* @__PURE__ */ e(xl, { align: Z.align, width: Z.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, W)) }, `skeleton-${D}`)) : B.map((I) => /* @__PURE__ */ e(bl, { onClick: r ? () => r(I) : void 0, children: k.map((D, Z) => /* @__PURE__ */ e(xl, { align: D.align, width: D.width, children: D.render(I) }, Z)) }, l(I)))
|
|
4282
4282
|
}
|
|
4283
4283
|
),
|
|
4284
4284
|
a && /* @__PURE__ */ e(xc, { pagination: a })
|
|
@@ -4308,20 +4308,23 @@ function m1({
|
|
|
4308
4308
|
filters: v,
|
|
4309
4309
|
tools: _
|
|
4310
4310
|
}) {
|
|
4311
|
-
const x = !c && t.length === 0 && a != null;
|
|
4311
|
+
const x = !c && t.length === 0 && a != null, { hasTitleRow: M, hasFilters: S } = nl({ title: d, description: h, action: f, filters: v, tools: _ });
|
|
4312
4312
|
return /* @__PURE__ */ u("div", { className: "select-cardgrid", children: [
|
|
4313
|
-
/* @__PURE__ */
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
/* @__PURE__ */
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4313
|
+
(M || S) && /* @__PURE__ */ e("div", { className: "select-cardgrid__chrome", children: /* @__PURE__ */ e(bc, { title: d, help: p, description: h, action: f, filters: v, tools: _ }) }),
|
|
4314
|
+
x ? /* @__PURE__ */ e("div", { className: "select-cardgrid__empty", children: /* @__PURE__ */ e(yc, { icon: a.icon, title: a.heading, subtitle: a.text, action: a.action }) }) : /* @__PURE__ */ u("div", { className: "select-cardgrid__body", style: { "--select-cardgrid-min": o }, children: [
|
|
4315
|
+
c ? Array.from({ length: s }, (g, m) => /* @__PURE__ */ u("div", { className: "select-cardgrid__skel", children: [
|
|
4316
|
+
/* @__PURE__ */ e("span", { className: "select-skeleton select-cardgrid__skelthumb" }),
|
|
4317
|
+
/* @__PURE__ */ u("span", { className: "select-cardgrid__skeltext", children: [
|
|
4318
|
+
/* @__PURE__ */ e("span", { className: "select-skeleton select-cardgrid__skelline" }),
|
|
4319
|
+
/* @__PURE__ */ e("span", { className: "select-skeleton select-cardgrid__skelline select-cardgrid__skelline--short" })
|
|
4320
|
+
] })
|
|
4321
|
+
] }, `skeleton-${m}`)) : (
|
|
4322
|
+
// O item vai num wrapper de altura cheia: a grade estica a CÉLULA, e sem isso
|
|
4323
|
+
// o card ficava com a altura do próprio conteúdo — um card sem badge sobrava
|
|
4324
|
+
// espaço embaixo enquanto o vizinho da mesma fileira ia até o fim.
|
|
4325
|
+
t.map((g) => /* @__PURE__ */ e("div", { className: "select-cardgrid__item", children: l(g) }, n(g)))
|
|
4326
|
+
),
|
|
4327
|
+
!c && i && /* @__PURE__ */ e(Ca, { label: i.label, description: i.description, onClick: i.onAction })
|
|
4325
4328
|
] }),
|
|
4326
4329
|
r && /* @__PURE__ */ e(xc, { pagination: r })
|
|
4327
4330
|
] });
|
|
@@ -4334,7 +4337,7 @@ const f1 = T(function({ media: n, title: l, subtitle: c, actions: s, body: a, ta
|
|
|
4334
4337
|
/* @__PURE__ */ u("div", { className: "select-rcard__head", children: [
|
|
4335
4338
|
n && /* @__PURE__ */ e("span", { className: "select-rcard__media", children: n }),
|
|
4336
4339
|
/* @__PURE__ */ u("span", { className: "select-rcard__ident", children: [
|
|
4337
|
-
/* @__PURE__ */ e("span", { className: "select-rcard__title", children: d ? /* @__PURE__ */ e(
|
|
4340
|
+
/* @__PURE__ */ e("span", { className: "select-rcard__title", children: d ? /* @__PURE__ */ e(Hl, { to: d, className: "select-rcard__link", children: l }) : l }),
|
|
4338
4341
|
c && /* @__PURE__ */ e("span", { className: "select-rcard__sub", children: c })
|
|
4339
4342
|
] }),
|
|
4340
4343
|
s && /* @__PURE__ */ e("span", { className: "select-rcard__actions", children: s })
|
|
@@ -4367,7 +4370,7 @@ function La(t) {
|
|
|
4367
4370
|
var l;
|
|
4368
4371
|
return t.initials ? t.initials : ((l = (typeof t.label == "string" ? t.label : "").trim()[0]) == null ? void 0 : l.toUpperCase()) ?? "•";
|
|
4369
4372
|
}
|
|
4370
|
-
function
|
|
4373
|
+
function Ml({ node: t, origin: n = !1 }) {
|
|
4371
4374
|
return /* @__PURE__ */ u("span", { className: `select-chain__node${n ? " select-chain__node--origin" : ""}`, children: [
|
|
4372
4375
|
/* @__PURE__ */ e("span", { className: "select-chain__dot", "aria-hidden": "true", children: La(t) }),
|
|
4373
4376
|
/* @__PURE__ */ e("span", { className: "select-chain__label", title: typeof t.label == "string" ? t.label : void 0, children: t.label }),
|
|
@@ -4376,9 +4379,9 @@ function Nl({ node: t, origin: n = !1 }) {
|
|
|
4376
4379
|
}
|
|
4377
4380
|
const v1 = T(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r) {
|
|
4378
4381
|
const i = n.slice(0, c), o = n.length - i.length, d = [], p = (h) => /* @__PURE__ */ e("span", { className: "select-chain__link", "aria-hidden": "true" }, h);
|
|
4379
|
-
l && d.push(/* @__PURE__ */ e(
|
|
4382
|
+
l && d.push(/* @__PURE__ */ e(Ml, { node: l, origin: !0 }, "__origin"));
|
|
4380
4383
|
for (const h of i)
|
|
4381
|
-
d.length && d.push(p(`__link-${h.id}`)), d.push(/* @__PURE__ */ e(
|
|
4384
|
+
d.length && d.push(p(`__link-${h.id}`)), d.push(/* @__PURE__ */ e(Ml, { node: h }, h.id));
|
|
4382
4385
|
return o > 0 && (d.push(p("__link-more")), d.push(
|
|
4383
4386
|
/* @__PURE__ */ u("span", { className: "select-chain__more", children: [
|
|
4384
4387
|
"+",
|
|
@@ -4398,12 +4401,12 @@ const v1 = T(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r
|
|
|
4398
4401
|
"Outubro",
|
|
4399
4402
|
"Novembro",
|
|
4400
4403
|
"Dezembro"
|
|
4401
|
-
], it = (t) => String(t).padStart(2, "0"), Ut = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), an = (t) => new Date(t.getFullYear(), t.getMonth(), 1),
|
|
4404
|
+
], it = (t) => String(t).padStart(2, "0"), Ut = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), an = (t) => new Date(t.getFullYear(), t.getMonth(), 1), wl = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), kl = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), $l = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
|
|
4402
4405
|
function Ba(t) {
|
|
4403
4406
|
const n = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}))?/.exec(t || "");
|
|
4404
4407
|
return n ? new Date(Number(n[1]), Number(n[2]) - 1, Number(n[3]), Number(n[4] ?? 0), Number(n[5] ?? 0)) : null;
|
|
4405
4408
|
}
|
|
4406
|
-
function
|
|
4409
|
+
function Sl(t, n) {
|
|
4407
4410
|
const l = `${t.getFullYear()}-${it(t.getMonth() + 1)}-${it(t.getDate())}`;
|
|
4408
4411
|
return n ? `${l}T${it(t.getHours())}:${it(t.getMinutes())}` : l;
|
|
4409
4412
|
}
|
|
@@ -4412,15 +4415,15 @@ function Fa(t, n) {
|
|
|
4412
4415
|
return n ? `${l} ${it(t.getHours())}:${it(t.getMinutes())}` : l;
|
|
4413
4416
|
}
|
|
4414
4417
|
const Ia = T(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: r, disabled: i, error: o, hint: d, minDate: p, maxDate: h, clearable: f = !0, id: v, className: _, ...x }, M) {
|
|
4415
|
-
const S = ve(), g = v ?? S, [m, N] = P(!1), k = Ba(l), [w, y] = P(() => an(k ?? /* @__PURE__ */ new Date())), $ = p ? Ut(p) : null, b = h ? Ut(h) : null, C = (W) => !!$ && Ut(W) < $ || !!b && Ut(W) > b, A =
|
|
4418
|
+
const S = ve(), g = v ?? S, [m, N] = P(!1), k = Ba(l), [w, y] = P(() => an(k ?? /* @__PURE__ */ new Date())), $ = p ? Ut(p) : null, b = h ? Ut(h) : null, C = (W) => !!$ && Ut(W) < $ || !!b && Ut(W) > b, A = wl(an(w), -an(w).getDay()), B = Array.from({ length: 42 }, (W, j) => wl(A, j)), L = Ut(/* @__PURE__ */ new Date()), E = () => {
|
|
4416
4419
|
i || (y(an(k ?? /* @__PURE__ */ new Date())), N((W) => !W));
|
|
4417
4420
|
}, F = (W) => {
|
|
4418
4421
|
if (C(W)) return;
|
|
4419
4422
|
const j = new Date(W);
|
|
4420
|
-
s && j.setHours((k == null ? void 0 : k.getHours()) ?? 0, (k == null ? void 0 : k.getMinutes()) ?? 0, 0, 0), c(
|
|
4423
|
+
s && j.setHours((k == null ? void 0 : k.getHours()) ?? 0, (k == null ? void 0 : k.getMinutes()) ?? 0, 0, 0), c(Sl(j, s)), s || N(!1);
|
|
4421
4424
|
}, I = (W) => {
|
|
4422
4425
|
const [j = "", le = ""] = W.split(":"), q = Number(j), oe = Number(le), ae = new Date(k ?? L);
|
|
4423
|
-
ae.setHours(Number.isFinite(q) ? q : 0, Number.isFinite(oe) ? oe : 0, 0, 0), c(
|
|
4426
|
+
ae.setHours(Number.isFinite(q) ? q : 0, Number.isFinite(oe) ? oe : 0, 0, 0), c(Sl(ae, !0));
|
|
4424
4427
|
}, D = () => {
|
|
4425
4428
|
c(""), N(!1);
|
|
4426
4429
|
}, Z = /* @__PURE__ */ u("div", { className: `select-input-wrap${o ? " select-input-wrap--error" : ""}`, children: [
|
|
@@ -4438,24 +4441,24 @@ const Ia = T(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
4438
4441
|
children: k ? Fa(k, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
|
|
4439
4442
|
}
|
|
4440
4443
|
),
|
|
4441
|
-
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
4444
|
+
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Yl, {}) })
|
|
4442
4445
|
] });
|
|
4443
4446
|
return /* @__PURE__ */ u("div", { ref: M, ...x, className: `select-field${_ ? " " + _ : ""}`, children: [
|
|
4444
4447
|
n && /* @__PURE__ */ e(Rt, { htmlFor: g, label: r ? `${n} *` : n }),
|
|
4445
4448
|
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(dt, { active: m, onClose: () => N(!1), placement: "bottom-start", role: "dialog", activator: Z, children: /* @__PURE__ */ u("div", { className: "select-datefield__pop", children: [
|
|
4446
4449
|
/* @__PURE__ */ u("div", { className: "select-datepicker__calhead", children: [
|
|
4447
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((W) =>
|
|
4450
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((W) => kl(W, -1)), children: /* @__PURE__ */ e(Gn, {}) }),
|
|
4448
4451
|
/* @__PURE__ */ u("span", { className: "select-datepicker__monthlabel", children: [
|
|
4449
4452
|
Ea[w.getMonth()],
|
|
4450
4453
|
" ",
|
|
4451
4454
|
w.getFullYear()
|
|
4452
4455
|
] }),
|
|
4453
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => y((W) =>
|
|
4456
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => y((W) => kl(W, 1)), children: /* @__PURE__ */ e(Jt, {}) })
|
|
4454
4457
|
] }),
|
|
4455
4458
|
/* @__PURE__ */ u("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
4456
4459
|
Aa.map((W) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: W }, W)),
|
|
4457
4460
|
B.map((W) => {
|
|
4458
|
-
const j = W.getMonth() !== w.getMonth(), le = !!k &&
|
|
4461
|
+
const j = W.getMonth() !== w.getMonth(), le = !!k && $l(W, k), q = "select-datepicker__daybtn" + (le ? " is-selected" : "") + ($l(W, L) && !le ? " is-today" : "") + (j ? " is-outside" : "");
|
|
4459
4462
|
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: q, disabled: C(W), onClick: () => F(W), children: W.getDate() }) }, W.getTime());
|
|
4460
4463
|
})
|
|
4461
4464
|
] }),
|
|
@@ -4859,7 +4862,7 @@ const Ha = 390, ja = 1280, M1 = T(function({ src: n, title: l = "Pré-visualiza
|
|
|
4859
4862
|
He,
|
|
4860
4863
|
{
|
|
4861
4864
|
size: "sm",
|
|
4862
|
-
icon: /* @__PURE__ */ e(
|
|
4865
|
+
icon: /* @__PURE__ */ e(Vl, {}),
|
|
4863
4866
|
label: "Visualizar em desktop",
|
|
4864
4867
|
active: x === "desktop",
|
|
4865
4868
|
onClick: () => M("desktop")
|
|
@@ -4869,7 +4872,7 @@ const Ha = 390, ja = 1280, M1 = T(function({ src: n, title: l = "Pré-visualiza
|
|
|
4869
4872
|
He,
|
|
4870
4873
|
{
|
|
4871
4874
|
size: "sm",
|
|
4872
|
-
icon: /* @__PURE__ */ e(
|
|
4875
|
+
icon: /* @__PURE__ */ e(Gl, {}),
|
|
4873
4876
|
label: "Visualizar em mobile",
|
|
4874
4877
|
active: x === "mobile",
|
|
4875
4878
|
onClick: () => M("mobile")
|
|
@@ -4938,7 +4941,7 @@ function za() {
|
|
|
4938
4941
|
return !1;
|
|
4939
4942
|
}
|
|
4940
4943
|
}
|
|
4941
|
-
function
|
|
4944
|
+
function Cl(t) {
|
|
4942
4945
|
try {
|
|
4943
4946
|
localStorage.setItem(wc, t ? "1" : "0");
|
|
4944
4947
|
} catch {
|
|
@@ -4946,11 +4949,11 @@ function Sl(t) {
|
|
|
4946
4949
|
}
|
|
4947
4950
|
function w1({ children: t }) {
|
|
4948
4951
|
const [n, l] = P(za), c = nt((r) => {
|
|
4949
|
-
l(r),
|
|
4952
|
+
l(r), Cl(r);
|
|
4950
4953
|
}, []), s = nt(() => {
|
|
4951
4954
|
l((r) => {
|
|
4952
4955
|
const i = !r;
|
|
4953
|
-
return
|
|
4956
|
+
return Cl(i), i;
|
|
4954
4957
|
});
|
|
4955
4958
|
}, []), a = Oe(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
4956
4959
|
return /* @__PURE__ */ e(kc.Provider, { value: a, children: t });
|
|
@@ -4995,7 +4998,7 @@ function k1() {
|
|
|
4995
4998
|
He,
|
|
4996
4999
|
{
|
|
4997
5000
|
variant: "outline",
|
|
4998
|
-
icon: t ? /* @__PURE__ */ e(
|
|
5001
|
+
icon: t ? /* @__PURE__ */ e(zl, {}) : /* @__PURE__ */ e(Ul, {}),
|
|
4999
5002
|
label: t ? "Mostrar valores" : "Ocultar valores",
|
|
5000
5003
|
active: t,
|
|
5001
5004
|
onClick: n
|
|
@@ -5139,7 +5142,7 @@ function Ja(t, n = 5) {
|
|
|
5139
5142
|
for (let o = 0; o <= r + a / 2; o += a) i.push(Math.round(o * 1e6) / 1e6);
|
|
5140
5143
|
return { max: r, values: i };
|
|
5141
5144
|
}
|
|
5142
|
-
function
|
|
5145
|
+
function Ll(t) {
|
|
5143
5146
|
return t.map((n, l) => `${l === 0 ? "M" : "L"}${n[0].toFixed(2)},${n[1].toFixed(2)}`).join(" ");
|
|
5144
5147
|
}
|
|
5145
5148
|
function mt(t) {
|
|
@@ -5186,7 +5189,7 @@ function Xt(t, n, l, c, s, a) {
|
|
|
5186
5189
|
const [r, i] = rn(t, n, l, s), [o, d] = rn(t, n, l, a), [p, h] = rn(t, n, c, a), [f, v] = rn(t, n, c, s), _ = a - s > 180 ? 1 : 0;
|
|
5187
5190
|
return `M${r.toFixed(2)},${i.toFixed(2)} A${l},${l} 0 ${_} 1 ${o.toFixed(2)},${d.toFixed(2)} L${p.toFixed(2)},${h.toFixed(2)} A${c},${c} 0 ${_} 0 ${f.toFixed(2)},${v.toFixed(2)} Z`;
|
|
5188
5191
|
}
|
|
5189
|
-
const
|
|
5192
|
+
const Al = [
|
|
5190
5193
|
"var(--select-chart-1)",
|
|
5191
5194
|
"var(--select-chart-2)",
|
|
5192
5195
|
"var(--select-chart-3)",
|
|
@@ -5194,7 +5197,7 @@ const Ll = [
|
|
|
5194
5197
|
"var(--select-chart-5)"
|
|
5195
5198
|
];
|
|
5196
5199
|
function U(t) {
|
|
5197
|
-
return
|
|
5200
|
+
return Al[t % Al.length];
|
|
5198
5201
|
}
|
|
5199
5202
|
function te(t) {
|
|
5200
5203
|
const n = Math.abs(t);
|
|
@@ -5733,12 +5736,12 @@ const P1 = T(function({ stages: n, format: l = te, className: c, ...s }, a) {
|
|
|
5733
5736
|
function Qa(t) {
|
|
5734
5737
|
return Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0;
|
|
5735
5738
|
}
|
|
5736
|
-
function
|
|
5739
|
+
function El(t, n, l, c) {
|
|
5737
5740
|
const s = Math.PI + c * Math.PI;
|
|
5738
5741
|
return [t + l * Math.cos(s), n + l * Math.sin(s)];
|
|
5739
5742
|
}
|
|
5740
|
-
function
|
|
5741
|
-
const [a, r] =
|
|
5743
|
+
function Bl(t, n, l, c, s) {
|
|
5744
|
+
const [a, r] = El(t, n, l, c), [i, o] = El(t, n, l, s);
|
|
5742
5745
|
return `M ${a.toFixed(2)} ${r.toFixed(2)} A ${l} ${l} 0 0 1 ${i.toFixed(2)} ${o.toFixed(2)}`;
|
|
5743
5746
|
}
|
|
5744
5747
|
const er = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, D1 = T(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: r, format: i = er, className: o, ...d }, p) {
|
|
@@ -5750,7 +5753,7 @@ const er = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5750
5753
|
"path",
|
|
5751
5754
|
{
|
|
5752
5755
|
className: "select-gauge__track",
|
|
5753
|
-
d:
|
|
5756
|
+
d: Bl(x, M, _, 0, 1),
|
|
5754
5757
|
fill: "none",
|
|
5755
5758
|
strokeWidth: f,
|
|
5756
5759
|
strokeLinecap: "round"
|
|
@@ -5760,7 +5763,7 @@ const er = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5760
5763
|
"path",
|
|
5761
5764
|
{
|
|
5762
5765
|
className: "select-gauge__arc",
|
|
5763
|
-
d:
|
|
5766
|
+
d: Bl(x, M, _, 0, h / 100),
|
|
5764
5767
|
fill: "none",
|
|
5765
5768
|
stroke: r ?? "var(--select-chart-1)",
|
|
5766
5769
|
strokeWidth: f,
|
|
@@ -5842,7 +5845,7 @@ function O1({
|
|
|
5842
5845
|
/* @__PURE__ */ u("div", { className: "select-progresslist__top", children: [
|
|
5843
5846
|
/* @__PURE__ */ u("span", { className: "select-progresslist__label", children: [
|
|
5844
5847
|
/* @__PURE__ */ e("span", { className: "select-progresslist__name", children: a.label }),
|
|
5845
|
-
a.badge && /* @__PURE__ */ e(
|
|
5848
|
+
a.badge && /* @__PURE__ */ e(ic, { tone: a.badge.tone, children: a.badge.label })
|
|
5846
5849
|
] }),
|
|
5847
5850
|
/* @__PURE__ */ e("span", { className: "select-progresslist__value", children: a.valueText ?? n(a.value) })
|
|
5848
5851
|
] }),
|
|
@@ -5906,12 +5909,12 @@ const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, H1 = T
|
|
|
5906
5909
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(Fn(_.value)) })
|
|
5907
5910
|
] }, x)) })
|
|
5908
5911
|
] });
|
|
5909
|
-
}),
|
|
5912
|
+
}), Fl = 6.1, In = 12, Il = 56, tr = 0.4;
|
|
5910
5913
|
function j1({ data: t, height: n, color: l, format: c = te, formatValue: s, distributed: a = !0, labelWidth: r, className: i, ...o }) {
|
|
5911
5914
|
const v = n ?? t.length * 36 + 6 + 26, { ref: _, width: x } = ge(v), M = ce(), S = ve(), g = Ge(Math.max(0, ...t.map((E) => E.value))), m = t.reduce((E, F) => Math.max(E, F.label.length), 0), N = Math.min(
|
|
5912
|
-
Math.max(
|
|
5913
|
-
Math.max(
|
|
5914
|
-
), k = r ?? N, w = Math.max(3, Math.floor((k - In) /
|
|
5915
|
+
Math.max(Il, m * Fl + In),
|
|
5916
|
+
Math.max(Il, x * tr)
|
|
5917
|
+
), k = r ?? N, w = Math.max(3, Math.floor((k - In) / Fl)), y = (E) => E.length <= w ? E : `${E.slice(0, w - 1).trimEnd()}…`, $ = Math.max(0, x - k - 28), b = v - 6 - 26, C = t.length ? b / t.length : 0, A = Math.min(C * 0.62, 22), B = (E) => k + E / g * $, L = (E, F) => E.color ?? (a ? U(F) : l ?? U(0));
|
|
5915
5918
|
return /* @__PURE__ */ u("div", { ...o, className: `select-chart-wrap${i ? " " + i : ""}`, ref: _, children: [
|
|
5916
5919
|
x > 0 && /* @__PURE__ */ u("svg", { width: x, height: v, className: "select-chart", children: [
|
|
5917
5920
|
/* @__PURE__ */ e("defs", { children: t.map((E, F) => {
|
|
@@ -6048,7 +6051,7 @@ function Z1({ data: t, height: n = 240, format: l = te, className: c, ...s }) {
|
|
|
6048
6051
|
/* @__PURE__ */ e(se, { tip: i.tip })
|
|
6049
6052
|
] });
|
|
6050
6053
|
}
|
|
6051
|
-
const
|
|
6054
|
+
const Rl = (t) => Math.max(0, Math.min(100, t)), V1 = T(function({ items: n, format: l = te, className: c, ...s }, a) {
|
|
6052
6055
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((r, i) => {
|
|
6053
6056
|
const o = r.color ?? U(i), d = r.max ?? (Math.max(r.value, r.target) * 1.25 || 1), p = r.value >= r.target;
|
|
6054
6057
|
return /* @__PURE__ */ u("div", { className: "select-bullet__row", children: [
|
|
@@ -6074,12 +6077,12 @@ const Il = (t) => Math.max(0, Math.min(100, t)), V1 = T(function({ items: n, for
|
|
|
6074
6077
|
{
|
|
6075
6078
|
className: "select-bullet__fill",
|
|
6076
6079
|
style: {
|
|
6077
|
-
width: `${
|
|
6080
|
+
width: `${Rl(r.value / d * 100)}%`,
|
|
6078
6081
|
background: `linear-gradient(90deg, ${o}, color-mix(in srgb, ${o} 55%, transparent))`
|
|
6079
6082
|
}
|
|
6080
6083
|
}
|
|
6081
6084
|
),
|
|
6082
|
-
/* @__PURE__ */ e("span", { className: "select-bullet__tick", style: { left: `${
|
|
6085
|
+
/* @__PURE__ */ e("span", { className: "select-bullet__tick", style: { left: `${Rl(r.target / d * 100)}%` } })
|
|
6083
6086
|
] })
|
|
6084
6087
|
] }, `${r.label}-${i}`);
|
|
6085
6088
|
}) });
|
|
@@ -6876,7 +6879,7 @@ function ai({ data: t, height: n = 240, format: l = te, className: c, ...s }) {
|
|
|
6876
6879
|
const N = o.left + x * m + x / 2, k = g.color ?? U(m), w = g.bins.length, y = (L) => v(g.min + (g.max - g.min) * L / Math.max(1, w - 1)), $ = (L) => g.bins[L] / S * M, b = [], C = [];
|
|
6877
6880
|
for (let L = w - 1; L >= 0; L--) b.push([N + $(L), y(L)]);
|
|
6878
6881
|
for (let L = 0; L < w; L++) C.push([N - $(L), y(L)]);
|
|
6879
|
-
const A = `${
|
|
6882
|
+
const A = `${Ll(b)} ${Ll(C).replace(/^M/, "L")} Z`, B = g.median != null ? v(g.median) : null;
|
|
6880
6883
|
return /* @__PURE__ */ u("g", { children: [
|
|
6881
6884
|
/* @__PURE__ */ e("path", { d: A, fill: k, fillOpacity: 0.32, stroke: k, strokeWidth: 1.5, strokeLinejoin: "round" }),
|
|
6882
6885
|
B != null && /* @__PURE__ */ e("line", { x1: N - M * 0.6, x2: N + M * 0.6, y1: B, y2: B, stroke: k, strokeWidth: 2 }),
|
|
@@ -7168,7 +7171,7 @@ function on([t, n, l], c, s) {
|
|
|
7168
7171
|
const a = c * bn, r = t * Math.cos(a) + l * Math.sin(a), i = -t * Math.sin(a) + l * Math.cos(a), o = s * bn, d = n * Math.cos(o) - i * Math.sin(o), p = n * Math.sin(o) + i * Math.cos(o);
|
|
7169
7172
|
return [r, d, p];
|
|
7170
7173
|
}
|
|
7171
|
-
function
|
|
7174
|
+
function Tl(t, n, l) {
|
|
7172
7175
|
let c = t[0] * n[0] + t[1] * n[1] + t[2] * n[2];
|
|
7173
7176
|
c = Math.max(-1, Math.min(1, c));
|
|
7174
7177
|
const s = Math.acos(c);
|
|
@@ -7176,7 +7179,7 @@ function Rl(t, n, l) {
|
|
|
7176
7179
|
const a = Math.sin(s), r = Math.sin((1 - l) * s) / a, i = Math.sin(l * s) / a;
|
|
7177
7180
|
return [t[0] * r + n[0] * i, t[1] * r + n[1] * i, t[2] * r + n[2] * i];
|
|
7178
7181
|
}
|
|
7179
|
-
const
|
|
7182
|
+
const Pl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, di = T(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: r = 7, color: i = "var(--select-chart-1)", format: o = te, legend: d = !0, map: p = !0, fluid: h = !1, onZoomChange: f, className: v, ..._ }, x) {
|
|
7180
7183
|
var ze;
|
|
7181
7184
|
const M = ve(), S = ce(), g = K(null), m = gn(g, c), N = n.length ? n.reduce((R, G) => R + G.lng, 0) / n.length : 0, k = K(
|
|
7182
7185
|
typeof window < "u" && !!((ze = window.matchMedia) != null && ze.call(window, "(prefers-reduced-motion: reduce)").matches)
|
|
@@ -7299,10 +7302,10 @@ const Tl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7299
7302
|
const z = Ft(R.from.lat, R.from.lng), xe = Ft(R.to.lat, R.to.lng);
|
|
7300
7303
|
let V = "", H = !1;
|
|
7301
7304
|
for (let _e = 0; _e <= 40; _e++) {
|
|
7302
|
-
const Me = _e / 40, Ee =
|
|
7305
|
+
const Me = _e / 40, Ee = Tl(z, xe, Me), Be = 1 + 0.34 * Math.sin(Math.PI * Me), $e = on(Ee, w.current.lng, w.current.lat), Se = Q([Ee[0] * Be, Ee[1] * Be, Ee[2] * Be]);
|
|
7303
7306
|
$e[2] > -0.05 ? (V += `${H ? "L" : "M"}${Se.x.toFixed(1)},${Se.y.toFixed(1)}`, H = !0) : H = !1;
|
|
7304
7307
|
}
|
|
7305
|
-
const Y = k.current ? 0.5 : (B.current * Ue + G * 0.27) % 1, X =
|
|
7308
|
+
const Y = k.current ? 0.5 : (B.current * Ue + G * 0.27) % 1, X = Tl(z, xe, Y), ee = 1 + 0.34 * Math.sin(Math.PI * Y), de = on(X, w.current.lng, w.current.lat), me = Q([X[0] * ee, X[1] * ee, X[2] * ee]), fe = Ae != null && (Pl(R.from, Ae) || Pl(R.to, Ae));
|
|
7306
7309
|
return { d: V, col: R.color ?? i, i: G, flow: { ...me, vis: de[2] > 0 }, active: fe };
|
|
7307
7310
|
}), Pe = Ae != null, Xe = d ? [...n].sort((R, G) => (G.value ?? 0) - (R.value ?? 0)).slice(0, 6) : [];
|
|
7308
7311
|
return /* @__PURE__ */ u("div", { ref: x, ..._, className: `select-globe${v ? " " + v : ""}`, children: [
|
|
@@ -8054,7 +8057,7 @@ function yi({ nodes: t, links: n, height: l = 300, format: c = te, className: s,
|
|
|
8054
8057
|
const Rn = [
|
|
8055
8058
|
{ value: "light", label: "Claro", icon: /* @__PURE__ */ e(ts, {}) },
|
|
8056
8059
|
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(ns, {}) },
|
|
8057
|
-
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(
|
|
8060
|
+
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Vl, {}) }
|
|
8058
8061
|
];
|
|
8059
8062
|
function Ni(t) {
|
|
8060
8063
|
var n;
|
|
@@ -8177,7 +8180,7 @@ function Li({
|
|
|
8177
8180
|
] }), i = `select-listrow${s ? " select-listrow--muted" : ""}`;
|
|
8178
8181
|
return a ? /* @__PURE__ */ e("button", { type: "button", className: `${i} select-listrow--clickable`, onClick: a, children: r }) : /* @__PURE__ */ e("div", { className: i, children: r });
|
|
8179
8182
|
}
|
|
8180
|
-
const
|
|
8183
|
+
const Dl = T(function({ src: n, alt: l = "", size: c = 40, className: s, ...a }, r) {
|
|
8181
8184
|
const [i, o] = P(!1);
|
|
8182
8185
|
return ue(() => o(!1), [n]), /* @__PURE__ */ e("span", { ref: r, ...a, className: `select-thumb${s ? " " + s : ""}`, style: { width: c, height: c }, children: n && !i ? /* @__PURE__ */ e(
|
|
8183
8186
|
"img",
|
|
@@ -8216,11 +8219,11 @@ function Ai({
|
|
|
8216
8219
|
},
|
|
8217
8220
|
"aria-label": "Ampliar imagem",
|
|
8218
8221
|
style: { all: "unset", cursor: "zoom-in", display: "inline-flex" },
|
|
8219
|
-
children: /* @__PURE__ */ e(
|
|
8222
|
+
children: /* @__PURE__ */ e(Dl, { src: t, size: l, alt: n })
|
|
8220
8223
|
}
|
|
8221
8224
|
),
|
|
8222
8225
|
s && /* @__PURE__ */ e(cr, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
|
|
8223
|
-
] }) : /* @__PURE__ */ e(
|
|
8226
|
+
] }) : /* @__PURE__ */ e(Dl, { size: l, alt: n });
|
|
8224
8227
|
}
|
|
8225
8228
|
const Ei = T(function({ media: n, title: l, secondary: c, className: s, ...a }, r) {
|
|
8226
8229
|
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
|
|
@@ -8269,7 +8272,7 @@ const Fi = T(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8269
8272
|
return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-kv${d ? " " + d : ""}`, children: [
|
|
8270
8273
|
f.map((S, g) => /* @__PURE__ */ u("div", { className: "select-kv__row", children: [
|
|
8271
8274
|
/* @__PURE__ */ e("div", { className: "select-kv__field", children: a ? /* @__PURE__ */ e(
|
|
8272
|
-
|
|
8275
|
+
cc,
|
|
8273
8276
|
{
|
|
8274
8277
|
size: "sm",
|
|
8275
8278
|
options: [{ label: c, value: "" }, ...a],
|
|
@@ -8296,7 +8299,7 @@ const Fi = T(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8296
8299
|
autoComplete: "off"
|
|
8297
8300
|
}
|
|
8298
8301
|
) }),
|
|
8299
|
-
/* @__PURE__ */ e("div", { className: "select-kv__remove", children: /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(
|
|
8302
|
+
/* @__PURE__ */ e("div", { className: "select-kv__remove", children: /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(ql, {}), label: "Remover", onClick: () => _(g) }) })
|
|
8300
8303
|
] }, g)),
|
|
8301
8304
|
M && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ u(la, { onClick: x, children: [
|
|
8302
8305
|
"+ ",
|
|
@@ -8304,7 +8307,7 @@ const Fi = T(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8304
8307
|
] }) }),
|
|
8305
8308
|
o && /* @__PURE__ */ e("p", { className: "select-kv__hint", children: o })
|
|
8306
8309
|
] });
|
|
8307
|
-
}),
|
|
8310
|
+
}), Wl = (t) => String(t).padStart(2, "0"), ar = {
|
|
8308
8311
|
"en-US": {
|
|
8309
8312
|
weekdays: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
8310
8313
|
months: [
|
|
@@ -8347,9 +8350,9 @@ const Fi = T(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8347
8350
|
to: "Até",
|
|
8348
8351
|
cancel: "Cancelar",
|
|
8349
8352
|
apply: "Aplicar",
|
|
8350
|
-
formatDate: (t) => `${
|
|
8353
|
+
formatDate: (t) => `${Wl(t.getDate())} / ${Wl(t.getMonth() + 1)} / ${t.getFullYear()}`
|
|
8351
8354
|
}
|
|
8352
|
-
}, ot = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), dn = (t) => new Date(t.getFullYear(), t.getMonth(), 1), xn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n),
|
|
8355
|
+
}, ot = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), dn = (t) => new Date(t.getFullYear(), t.getMonth(), 1), xn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Ol = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), hn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), un = (t) => {
|
|
8353
8356
|
const n = /* @__PURE__ */ new Date();
|
|
8354
8357
|
return { from: new Date(n.getTime() - t * 6e4), to: n };
|
|
8355
8358
|
}, rr = [
|
|
@@ -8423,7 +8426,7 @@ const hr = T(function({ value: n, presets: l = rr, onApply: c, onCancel: s, acce
|
|
|
8423
8426
|
type: "button",
|
|
8424
8427
|
className: "select-datepicker__nav",
|
|
8425
8428
|
"aria-label": r === "pt-BR" ? "Mês anterior" : "Previous month",
|
|
8426
|
-
onClick: () => m((L) =>
|
|
8429
|
+
onClick: () => m((L) => Ol(L, -1)),
|
|
8427
8430
|
children: /* @__PURE__ */ e(Gn, {})
|
|
8428
8431
|
}
|
|
8429
8432
|
),
|
|
@@ -8438,7 +8441,7 @@ const hr = T(function({ value: n, presets: l = rr, onApply: c, onCancel: s, acce
|
|
|
8438
8441
|
type: "button",
|
|
8439
8442
|
className: "select-datepicker__nav",
|
|
8440
8443
|
"aria-label": r === "pt-BR" ? "Próximo mês" : "Next month",
|
|
8441
|
-
onClick: () => m((L) =>
|
|
8444
|
+
onClick: () => m((L) => Ol(L, 1)),
|
|
8442
8445
|
children: /* @__PURE__ */ e(Jt, {})
|
|
8443
8446
|
}
|
|
8444
8447
|
)
|
|
@@ -8490,7 +8493,7 @@ function Ii({
|
|
|
8490
8493
|
size: a,
|
|
8491
8494
|
inline: !i,
|
|
8492
8495
|
disabled: r,
|
|
8493
|
-
icon: /* @__PURE__ */ e(
|
|
8496
|
+
icon: /* @__PURE__ */ e(Yl, {}),
|
|
8494
8497
|
trailingIcon: /* @__PURE__ */ e(je, {}),
|
|
8495
8498
|
onClick: () => d((h) => !h),
|
|
8496
8499
|
children: ur(t, l)
|
|
@@ -8642,10 +8645,10 @@ function Pi({
|
|
|
8642
8645
|
/* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(N, m) : `#${N + 1}` }),
|
|
8643
8646
|
/* @__PURE__ */ u(zt, { gap: "100", blockAlign: "center", wrap: !1, children: [
|
|
8644
8647
|
d && /* @__PURE__ */ u(he, { children: [
|
|
8645
|
-
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(
|
|
8648
|
+
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(Kl, {}), label: "Mover para cima", disabled: k.isFirst, onClick: k.moveUp }),
|
|
8646
8649
|
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(je, {}), label: "Mover para baixo", disabled: k.isLast, onClick: k.moveDown })
|
|
8647
8650
|
] }),
|
|
8648
|
-
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(
|
|
8651
|
+
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(ql, {}), label: "Remover", disabled: !_, onClick: k.remove })
|
|
8649
8652
|
] })
|
|
8650
8653
|
] }),
|
|
8651
8654
|
l(m, k)
|
|
@@ -8670,7 +8673,7 @@ function Di({
|
|
|
8670
8673
|
preview: d,
|
|
8671
8674
|
children: p
|
|
8672
8675
|
}) {
|
|
8673
|
-
const h =
|
|
8676
|
+
const h = jl();
|
|
8674
8677
|
return /* @__PURE__ */ e(
|
|
8675
8678
|
ra,
|
|
8676
8679
|
{
|
|
@@ -8709,7 +8712,7 @@ function Wi({
|
|
|
8709
8712
|
dirtyLabel: M = "Alterações não salvas"
|
|
8710
8713
|
}) {
|
|
8711
8714
|
var A;
|
|
8712
|
-
const S =
|
|
8715
|
+
const S = jl(), [g, m] = P(((A = d[0]) == null ? void 0 : A.id) ?? ""), [N, k] = P(""), w = p ?? g, y = d.find((B) => B.id === w) ?? d[0], $ = (B) => {
|
|
8713
8716
|
p === void 0 && m(B), h == null || h(B);
|
|
8714
8717
|
}, b = N.trim().toLowerCase(), C = Oe(() => {
|
|
8715
8718
|
const B = b ? d.filter(
|
|
@@ -8922,7 +8925,7 @@ export {
|
|
|
8922
8925
|
Tr as BellIcon,
|
|
8923
8926
|
Ar as BookmarkIcon,
|
|
8924
8927
|
qr as BuildingIcon,
|
|
8925
|
-
|
|
8928
|
+
Yl as CalendarIcon,
|
|
8926
8929
|
oo as CartIcon,
|
|
8927
8930
|
co as ChartLineIcon,
|
|
8928
8931
|
cs as CheckCircleIcon,
|
|
@@ -8930,7 +8933,7 @@ export {
|
|
|
8930
8933
|
je as ChevronDownIcon,
|
|
8931
8934
|
Gn as ChevronLeftIcon,
|
|
8932
8935
|
Jt as ChevronRightIcon,
|
|
8933
|
-
|
|
8936
|
+
Kl as ChevronUpIcon,
|
|
8934
8937
|
as as ClipboardIcon,
|
|
8935
8938
|
Lr as ClockIcon,
|
|
8936
8939
|
$t as CloseIcon,
|
|
@@ -8942,8 +8945,8 @@ export {
|
|
|
8942
8945
|
Qr as EditIcon,
|
|
8943
8946
|
no as ExportIcon,
|
|
8944
8947
|
Yn as ExternalLinkIcon,
|
|
8945
|
-
|
|
8946
|
-
|
|
8948
|
+
Ul as EyeIcon,
|
|
8949
|
+
zl as EyeOffIcon,
|
|
8947
8950
|
Hr as FacebookIcon,
|
|
8948
8951
|
Sr as FilterIcon,
|
|
8949
8952
|
$r as GithubIcon,
|
|
@@ -8957,8 +8960,8 @@ export {
|
|
|
8957
8960
|
Or as MailIcon,
|
|
8958
8961
|
io as MenuIcon,
|
|
8959
8962
|
ro as MinusCircleIcon,
|
|
8960
|
-
|
|
8961
|
-
|
|
8963
|
+
Gl as MobileIcon,
|
|
8964
|
+
Vl as MonitorIcon,
|
|
8962
8965
|
ns as MoonIcon,
|
|
8963
8966
|
rs as NoteIcon,
|
|
8964
8967
|
Zr as PasskeyIcon,
|
|
@@ -8970,7 +8973,7 @@ export {
|
|
|
8970
8973
|
Ts as SELECT_CARD_BRANDS,
|
|
8971
8974
|
d1 as SELECT_COL_DATETIME,
|
|
8972
8975
|
h1 as SELECT_COL_ID,
|
|
8973
|
-
|
|
8976
|
+
oc as SELECT_COUNTRIES,
|
|
8974
8977
|
ir as SELECT_DAILY_PRESETS,
|
|
8975
8978
|
rr as SELECT_DATE_PRESETS,
|
|
8976
8979
|
wt as SELECT_SPACE,
|
|
@@ -8978,7 +8981,7 @@ export {
|
|
|
8978
8981
|
zn as SearchIcon,
|
|
8979
8982
|
Zi as SelectAccordion,
|
|
8980
8983
|
l1 as SelectActionCard,
|
|
8981
|
-
|
|
8984
|
+
dc as SelectActionList,
|
|
8982
8985
|
So as SelectActionMenu,
|
|
8983
8986
|
us as SelectAddButton,
|
|
8984
8987
|
Ca as SelectAddCard,
|
|
@@ -8987,7 +8990,7 @@ export {
|
|
|
8987
8990
|
Mr as SelectAuthFx,
|
|
8988
8991
|
ca as SelectAvatar,
|
|
8989
8992
|
Po as SelectBackLink,
|
|
8990
|
-
|
|
8993
|
+
ic as SelectBadge,
|
|
8991
8994
|
$1 as SelectBalanceCard,
|
|
8992
8995
|
bo as SelectBankAccountField,
|
|
8993
8996
|
E1 as SelectBarChart,
|
|
@@ -9112,7 +9115,7 @@ export {
|
|
|
9112
9115
|
tl as SelectSearchInput,
|
|
9113
9116
|
Uo as SelectSection,
|
|
9114
9117
|
ko as SelectSegmented,
|
|
9115
|
-
|
|
9118
|
+
cc as SelectSelect,
|
|
9116
9119
|
qa as SelectSensitiveValue,
|
|
9117
9120
|
Zo as SelectSettingList,
|
|
9118
9121
|
Vo as SelectSettingRow,
|
|
@@ -9131,15 +9134,15 @@ export {
|
|
|
9131
9134
|
Jn as SelectSwitch,
|
|
9132
9135
|
Oi as SelectSwitchField,
|
|
9133
9136
|
xa as SelectTable,
|
|
9134
|
-
|
|
9137
|
+
xl as SelectTableCell,
|
|
9135
9138
|
yc as SelectTableEmpty,
|
|
9136
|
-
|
|
9139
|
+
bl as SelectTableRow,
|
|
9137
9140
|
zo as SelectTabs,
|
|
9138
9141
|
b1 as SelectTagSelect,
|
|
9139
9142
|
kt as SelectText,
|
|
9140
9143
|
po as SelectTextarea,
|
|
9141
9144
|
Mi as SelectThemeSwitcher,
|
|
9142
|
-
|
|
9145
|
+
Dl as SelectThumbnail,
|
|
9143
9146
|
hi as SelectTicker,
|
|
9144
9147
|
Eo as SelectTimeline,
|
|
9145
9148
|
y1 as SelectToastProvider,
|
|
@@ -9159,7 +9162,7 @@ export {
|
|
|
9159
9162
|
ii as SelectWordCloud,
|
|
9160
9163
|
a1 as SelectWorkspaceSwitcher,
|
|
9161
9164
|
Ai as SelectZoomThumbnail,
|
|
9162
|
-
|
|
9165
|
+
Zl as SelectorIcon,
|
|
9163
9166
|
eo as SendIcon,
|
|
9164
9167
|
Kc as Setting4Icon,
|
|
9165
9168
|
ss as SettingsIcon,
|
|
@@ -9170,7 +9173,7 @@ export {
|
|
|
9170
9173
|
ho as StorefrontIcon,
|
|
9171
9174
|
ts as SunIcon,
|
|
9172
9175
|
Qc as TerminalIcon,
|
|
9173
|
-
|
|
9176
|
+
ql as TrashIcon,
|
|
9174
9177
|
fn as UploadIcon,
|
|
9175
9178
|
Rr as UserIcon,
|
|
9176
9179
|
Xr as WalletIcon,
|
|
@@ -9180,7 +9183,7 @@ export {
|
|
|
9180
9183
|
Es as dialCodeOf,
|
|
9181
9184
|
sa as passwordScore,
|
|
9182
9185
|
Ni as resolveSelectTheme,
|
|
9183
|
-
|
|
9186
|
+
hc as selectCardBrand,
|
|
9184
9187
|
Ps as selectCardBrandLabel,
|
|
9185
9188
|
u1 as useSelectPageSize,
|
|
9186
9189
|
N1 as useSelectToast,
|