@selectwin/kit 0.1.39 → 0.1.41
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/SelectAlert.d.ts +3 -0
- package/dist/SelectBadge.d.ts +3 -0
- package/dist/SelectBankAccountField.d.ts +2 -0
- package/dist/SelectStatusBadge.d.ts +3 -1
- package/dist/index.js +961 -937
- package/dist/style.css +1 -1
- package/package.json +61 -61
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as e, jsxs as m, Fragment as ae } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as q, useEffect as le, forwardRef as R, useState as D, useId as te, useMemo as xe, useCallback as Te, useLayoutEffect as Be, Fragment as
|
|
2
|
+
import { useRef as q, useEffect as le, forwardRef as R, useState as D, useId as te, useMemo as xe, useCallback as Te, useLayoutEffect as Be, Fragment as Ut, Children as kl, useContext as qt, createContext as Yt } from "react";
|
|
3
3
|
import Me from "gsap";
|
|
4
4
|
import { createPortal as Ft } from "react-dom";
|
|
5
|
-
import { Link as
|
|
6
|
-
const
|
|
7
|
-
function
|
|
5
|
+
import { Link as wl, useNavigate as Sl } from "react-router-dom";
|
|
6
|
+
const sn = (t, n, l) => t < n ? n : t > l ? l : t;
|
|
7
|
+
function Cl(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;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Ll(t, n) {
|
|
12
12
|
const l = t.trim();
|
|
13
13
|
if (l.startsWith("#")) {
|
|
14
14
|
let s = l.slice(1);
|
|
@@ -20,7 +20,7 @@ function Al(t, n) {
|
|
|
20
20
|
const c = l.match(/(\d+)[,\s]+(\d+)[,\s]+(\d+)/);
|
|
21
21
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : n;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function na({ className: t, theme: n, glowTarget: l }) {
|
|
24
24
|
const c = q(null);
|
|
25
25
|
return le(() => {
|
|
26
26
|
var Q;
|
|
@@ -28,7 +28,7 @@ function ta({ className: t, theme: n, glowTarget: l }) {
|
|
|
28
28
|
if (!s) return;
|
|
29
29
|
const a = s.getContext("2d");
|
|
30
30
|
if (!a) return;
|
|
31
|
-
const r = ((Q = window.matchMedia) == null ? void 0 : Q.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, d = n === "dark", o = 30, i = 1.2, u = 160, h = 8, f = 2.9, g = 0.32, v = 1.4, x = 18, N = Math.PI * 2, $ = getComputedStyle(s), [_, p, b] =
|
|
31
|
+
const r = ((Q = window.matchMedia) == null ? void 0 : Q.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, d = n === "dark", o = 30, i = 1.2, u = 160, h = 8, f = 2.9, g = 0.32, v = 1.4, x = 18, N = Math.PI * 2, $ = getComputedStyle(s), [_, p, b] = Cl($, "--select-dot", d ? [235, 238, 255] : [64, 68, 92]), [S, k, M] = Ll($.getPropertyValue("--select-primary"), d ? [255, 255, 255] : [33, 37, 41]);
|
|
32
32
|
let w = 0, y = 0, C = [], L = 0, B = 0, A = null, F = 0;
|
|
33
33
|
const E = { x: 0, y: 0 };
|
|
34
34
|
let T = 0, I = 0, O = -10;
|
|
@@ -50,9 +50,9 @@ function ta({ className: t, theme: n, glowTarget: l }) {
|
|
|
50
50
|
}
|
|
51
51
|
function J(z, pe, de, me, he) {
|
|
52
52
|
if (!A) return;
|
|
53
|
-
const oe = A.getBoundingClientRect(), $e = oe.left - L + oe.width / 2, Ce = oe.top - B + oe.height / 2, Le = oe.width / 2, Ne = oe.height / 2, Ie = (z - $e) / (Le + x), ke = (pe - Ce) / (Ne + x), Ue = Math.sqrt(Ie * Ie + ke * ke),
|
|
53
|
+
const oe = A.getBoundingClientRect(), $e = oe.left - L + oe.width / 2, Ce = oe.top - B + oe.height / 2, Le = oe.width / 2, Ne = oe.height / 2, Ie = (z - $e) / (Le + x), ke = (pe - Ce) / (Ne + x), Ue = Math.sqrt(Ie * Ie + ke * ke), He = Ue < 1 ? 1 - Ue : 0, Fe = He * He * (3 - 2 * He);
|
|
54
54
|
if (Fe > 1e-3 || F > 1e-3) {
|
|
55
|
-
const P =
|
|
55
|
+
const P = sn((z - $e) / Math.max(Le, 1), -1, 1) * 10 * Fe, V = sn((pe - Ce) / Math.max(Ne, 1), -1, 1) * 10 * Fe;
|
|
56
56
|
A.style.setProperty("--select-card-glow", Fe.toFixed(3)), A.style.setProperty("--select-card-glow-rgb", `${de}, ${me}, ${he}`), A.style.setProperty("--select-card-glow-x", `${P.toFixed(1)}px`), A.style.setProperty("--select-card-glow-y", `${V.toFixed(1)}px`);
|
|
57
57
|
}
|
|
58
58
|
F = Fe;
|
|
@@ -69,7 +69,7 @@ function ta({ className: t, theme: n, glowTarget: l }) {
|
|
|
69
69
|
const me = E.x, he = E.y;
|
|
70
70
|
a.clearRect(0, 0, w, y);
|
|
71
71
|
for (let oe = 0; oe < C.length; oe++) {
|
|
72
|
-
const $e = C[oe], Ce = $e.x - me, Le = $e.y - he, Ne = Math.sqrt(Ce * Ce + Le * Le), Ie = Ne < u ? 1 - Ne / u : 0, ke = Ie * Ie, Ue = Math.sin(z * 1.4 + $e.phase) * 0.5 + 0.5,
|
|
72
|
+
const $e = C[oe], Ce = $e.x - me, Le = $e.y - he, Ne = Math.sqrt(Ce * Ce + Le * Le), Ie = Ne < u ? 1 - Ne / u : 0, ke = Ie * Ie, Ue = Math.sin(z * 1.4 + $e.phase) * 0.5 + 0.5, He = ke * h, Fe = Ne > 1e-4 ? 1 / Ne : 0, P = $e.x - Ce * Fe * He, V = $e.y - Le * Fe * He, U = 1 + ke * (f - 1) + Ue * 0.14, re = Math.min(1, g + Ue * 0.08 + ke * (1 - g)), ee = _ + (S - _) * ke | 0, se = p + (k - p) * ke | 0, ue = b + (M - b) * ke | 0;
|
|
73
73
|
ke > 0.12 ? (a.shadowColor = `rgba(${S},${k},${M},${0.6 * ke})`, a.shadowBlur = 12 * ke) : a.shadowBlur = 0, a.beginPath(), a.arc(P, V, i * U, 0, N), a.fillStyle = `rgba(${ee},${se},${ue},${re})`, a.fill();
|
|
74
74
|
}
|
|
75
75
|
a.shadowBlur = 0, J(me, he, S, k, M);
|
|
@@ -90,12 +90,12 @@ function ta({ className: t, theme: n, glowTarget: l }) {
|
|
|
90
90
|
});
|
|
91
91
|
}, [n, l]), /* @__PURE__ */ e("canvas", { ref: c, className: t, "aria-hidden": "true" });
|
|
92
92
|
}
|
|
93
|
-
const
|
|
94
|
-
function
|
|
93
|
+
const la = ["dots", "plexus", "grid", "flow", "circuit"], tt = Math.PI * 2, Ye = (t, n, l) => t < n ? n : t > l ? l : t, $t = (t, n, l) => t + (n - t) * l;
|
|
94
|
+
function Al(t, n, l) {
|
|
95
95
|
const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
|
|
96
96
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Fl(t, n) {
|
|
99
99
|
const l = t.trim();
|
|
100
100
|
if (l.startsWith("#")) {
|
|
101
101
|
let s = l.slice(1);
|
|
@@ -107,7 +107,7 @@ function Bl(t, n) {
|
|
|
107
107
|
const c = l.match(/(\d+)[,\s]+(\d+)[,\s]+(\d+)/);
|
|
108
108
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : n;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const Bl = (t) => {
|
|
111
111
|
let d = [], o = 0;
|
|
112
112
|
function i() {
|
|
113
113
|
const h = t.w(), f = t.h();
|
|
@@ -138,7 +138,7 @@ const El = (t) => {
|
|
|
138
138
|
u(0, 0), t.clearGlow();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
|
-
},
|
|
141
|
+
}, El = (t) => {
|
|
142
142
|
let c = 0, s = 0, a = [];
|
|
143
143
|
function r() {
|
|
144
144
|
c = t.w(), s = t.h();
|
|
@@ -185,7 +185,7 @@ const El = (t) => {
|
|
|
185
185
|
d(!1), t.clearGlow();
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
},
|
|
188
|
+
}, Il = (t) => {
|
|
189
189
|
let c = 0, s = 0, a = 0, r = 0, d = 0, o = 0;
|
|
190
190
|
function i() {
|
|
191
191
|
c = t.w(), s = t.h(), a = Math.ceil(c / 44) + 1, r = Math.ceil(s / 44) + 1, d = (c - (a - 1) * 44) / 2, o = (s - (r - 1) * 44) / 2;
|
|
@@ -229,7 +229,7 @@ const El = (t) => {
|
|
|
229
229
|
u(0, !1), t.clearGlow();
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
|
-
},
|
|
232
|
+
}, Pl = (t) => {
|
|
233
233
|
let l = 0, c = 0, s = [];
|
|
234
234
|
function a(i, u, h) {
|
|
235
235
|
return (Math.sin(i * 65e-4 + h * 0.18) + Math.cos(u * 72e-4 - h * 0.14) + Math.sin((i + u) * 4e-3 + h * 0.1)) * 1.1;
|
|
@@ -286,7 +286,7 @@ const El = (t) => {
|
|
|
286
286
|
t.clearGlow();
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
|
-
},
|
|
289
|
+
}, Rl = (t) => {
|
|
290
290
|
let l = 0, c = 0, s = [];
|
|
291
291
|
function a() {
|
|
292
292
|
l = t.w(), c = t.h(), s = [];
|
|
@@ -357,14 +357,14 @@ const El = (t) => {
|
|
|
357
357
|
o(0, !1), t.clearGlow();
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
|
-
},
|
|
361
|
-
dots:
|
|
362
|
-
plexus:
|
|
363
|
-
grid:
|
|
364
|
-
flow:
|
|
365
|
-
circuit:
|
|
360
|
+
}, Dl = {
|
|
361
|
+
dots: Bl,
|
|
362
|
+
plexus: El,
|
|
363
|
+
grid: Il,
|
|
364
|
+
flow: Pl,
|
|
365
|
+
circuit: Rl
|
|
366
366
|
};
|
|
367
|
-
function
|
|
367
|
+
function ca({
|
|
368
368
|
className: t,
|
|
369
369
|
theme: n,
|
|
370
370
|
glowTarget: l,
|
|
@@ -377,7 +377,7 @@ function la({
|
|
|
377
377
|
if (!a) return;
|
|
378
378
|
const r = a.getContext("2d");
|
|
379
379
|
if (!r) return;
|
|
380
|
-
const d = ((Z = window.matchMedia) == null ? void 0 : Z.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, o = n === "dark", i = getComputedStyle(a), u =
|
|
380
|
+
const d = ((Z = window.matchMedia) == null ? void 0 : Z.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, o = n === "dark", i = getComputedStyle(a), u = Al(i, "--select-dot", o ? [235, 238, 255] : [64, 68, 92]), h = Fl(i.getPropertyValue("--select-primary"), o ? [255, 255, 255] : [33, 37, 41]);
|
|
381
381
|
let f = 0, g = 0, v = 0, x = 0, N = null, $ = 0;
|
|
382
382
|
const _ = 1.2, p = { x: 0, y: 0 }, b = { x: 0, y: 0, active: !1 };
|
|
383
383
|
let S = 0, k = 0, M = -10;
|
|
@@ -394,7 +394,7 @@ function la({
|
|
|
394
394
|
function L() {
|
|
395
395
|
$ > 1e-3 && (N == null || N.style.setProperty("--select-card-glow", "0")), $ = 0;
|
|
396
396
|
}
|
|
397
|
-
const B = { ctx: r, w: () => f, h: () => g, ink: u, accent: h, dark: o, pointer: b, cardGlow: C, clearGlow: L }, A =
|
|
397
|
+
const B = { ctx: r, w: () => f, h: () => g, ink: u, accent: h, dark: o, pointer: b, cardGlow: C, clearGlow: L }, A = Dl[c](B);
|
|
398
398
|
function F() {
|
|
399
399
|
const G = a.getBoundingClientRect();
|
|
400
400
|
v = G.left, x = G.top, f = G.width, g = G.height;
|
|
@@ -424,7 +424,7 @@ function la({
|
|
|
424
424
|
});
|
|
425
425
|
}, [n, l, c]), /* @__PURE__ */ e("canvas", { ref: s, className: t, "aria-hidden": "true" });
|
|
426
426
|
}
|
|
427
|
-
const
|
|
427
|
+
const sa = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, footer: r, className: d, ...o }, i) {
|
|
428
428
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-card${d ? " " + d : ""}`, children: [
|
|
429
429
|
/* @__PURE__ */ m("div", { className: "select-card__body", children: [
|
|
430
430
|
c && /* @__PURE__ */ e("div", { className: "select-card__brand", children: c }),
|
|
@@ -483,7 +483,7 @@ const ca = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
|
|
|
483
483
|
!s && r && /* @__PURE__ */ e("span", { className: "select-btn__icon select-btn__icon--trailing", children: r })
|
|
484
484
|
] });
|
|
485
485
|
});
|
|
486
|
-
function
|
|
486
|
+
function aa() {
|
|
487
487
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: [
|
|
488
488
|
/* @__PURE__ */ e(
|
|
489
489
|
"path",
|
|
@@ -515,7 +515,7 @@ function sa() {
|
|
|
515
515
|
)
|
|
516
516
|
] });
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function oa() {
|
|
519
519
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
520
520
|
"path",
|
|
521
521
|
{
|
|
@@ -527,19 +527,19 @@ function aa() {
|
|
|
527
527
|
function dt() {
|
|
528
528
|
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: "M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08" }) });
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function zt() {
|
|
531
531
|
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: "M15 19.92L8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08" }) });
|
|
532
532
|
}
|
|
533
533
|
function be() {
|
|
534
534
|
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 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95" }) });
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Tn() {
|
|
537
537
|
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: "M9.57 5.93L3.5 12l6.07 6.07M20.5 12H3.67" }) });
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function ra() {
|
|
540
540
|
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: "M5.4 2.1h13.2c1.1 0 2 .9 2 2v2.2c0 .8-.5 1.8-1 2.3l-4.3 3.8c-.6.5-1 1.5-1 2.3V19c0 .6-.4 1.4-.9 1.7l-1.4.9c-1.3.8-3.1-.1-3.1-1.7v-5.3c0-.7-.4-1.6-.8-2.1l-3.8-4c-.5-.5-.9-1.4-.9-2V4.2c0-1.2.9-2.1 2-2.1ZM10.93 2.1 6 10" }) });
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Xt() {
|
|
543
543
|
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: "M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2" }) });
|
|
544
544
|
}
|
|
545
545
|
function kt() {
|
|
@@ -549,22 +549,22 @@ function kt() {
|
|
|
549
549
|
/* @__PURE__ */ e("path", { d: "M22 10h-4c-3 0-4-1-4-4V2l8 8Z" })
|
|
550
550
|
] });
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function Kt() {
|
|
553
553
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
554
554
|
/* @__PURE__ */ e("path", { d: "M16 12.9v4.2c0 3.5-1.4 4.9-4.9 4.9H6.9C3.4 22 2 20.6 2 17.1v-4.2C2 9.4 3.4 8 6.9 8h4.2c3.5 0 4.9 1.4 4.9 4.9z" }),
|
|
555
555
|
/* @__PURE__ */ e("path", { d: "M22 6.9v4.2c0 3.5-1.4 4.9-4.9 4.9H16v-3.1C16 9.4 14.6 8 11.1 8H8V6.9C8 3.4 9.4 2 12.9 2h4.2C20.6 2 22 3.4 22 6.9z" })
|
|
556
556
|
] });
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function Wn() {
|
|
559
559
|
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: "M13 11l8.2-8.2M22 6.8V2h-4.8M11 2H9C4 2 2 4 2 9v6c0 5 2 7 7 7h6c5 0 7-2 7-7v-2" }) });
|
|
560
560
|
}
|
|
561
561
|
function Ke() {
|
|
562
562
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 6 18 18M18 6 6 18" }) });
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function ia() {
|
|
565
565
|
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: "M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z" }) });
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Tl() {
|
|
568
568
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
569
569
|
/* @__PURE__ */ e("path", { d: "M22 6.5h-6M6 6.5H2" }),
|
|
570
570
|
/* @__PURE__ */ e("path", { d: "M10 10a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" }),
|
|
@@ -572,123 +572,123 @@ function Wl() {
|
|
|
572
572
|
/* @__PURE__ */ e("path", { d: "M14 21a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" })
|
|
573
573
|
] });
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function da() {
|
|
576
576
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
577
577
|
/* @__PURE__ */ e("path", { d: "M22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2s10 4.48 10 10Z" }),
|
|
578
578
|
/* @__PURE__ */ e("path", { d: "m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1" })
|
|
579
579
|
] });
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function ha() {
|
|
582
582
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
583
583
|
/* @__PURE__ */ e("path", { d: "M9.25 9.05a8 8 0 0 0 5.5 0" }),
|
|
584
584
|
/* @__PURE__ */ e("path", { d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2Z" }),
|
|
585
585
|
/* @__PURE__ */ e("path", { d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2Z" })
|
|
586
586
|
] });
|
|
587
587
|
}
|
|
588
|
-
const
|
|
588
|
+
const ua = R(function({ filled: n = !1, className: l, ...c }, s) {
|
|
589
589
|
return n ? /* @__PURE__ */ e("svg", { ref: s, ...c, className: l, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5.74 16c.11-.49-.09-1.19-.44-1.54l-2.43-2.43c-.76-.76-1.06-1.57-.84-2.27.23-.7.94-1.18 2-1.36l3.12-.52c.45-.08 1-.48 1.21-.89l1.72-3.45C10.58 2.55 11.26 2 12 2s1.42.55 1.92 1.54l1.72 3.45c.13.26.4.51.69.68L5.56 18.44c-.14.14-.38.01-.34-.19L5.74 16ZM18.7 14.462c-.36.36-.56 1.05-.44 1.54l.69 3.01c.29 1.25.11 2.19-.51 2.64a1.5 1.5 0 0 1-.9.27c-.51 0-1.11-.19-1.77-.58l-2.93-1.74c-.46-.27-1.22-.27-1.68 0l-2.93 1.74c-1.11.65-2.06.76-2.67.31-.23-.17-.4-.4-.51-.7l12.16-12.16c.46-.46 1.11-.67 1.74-.56l1.01.17c1.06.18 1.77.66 2 1.36.22.7-.08 1.51-.84 2.27l-2.42 2.43Z" }) }) : /* @__PURE__ */ e("svg", { ref: s, ...c, className: l, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m13.73 3.51 1.76 3.52c.24.49.88.96 1.42 1.05l3.19.53c2.04.34 2.52 1.82 1.05 3.28l-2.48 2.48c-.42.42-.65 1.23-.52 1.81l.71 3.07c.56 2.43-.73 3.37-2.88 2.1l-2.99-1.77c-.54-.32-1.43-.32-1.98 0l-2.99 1.77c-2.14 1.27-3.44.32-2.88-2.1l.71-3.07c.13-.58-.1-1.39-.52-1.81l-2.48-2.48c-1.46-1.46-.99-2.94 1.05-3.28l3.19-.53c.53-.09 1.17-.56 1.41-1.05l1.76-3.52c.96-1.91 2.52-1.91 3.47 0Z" }) });
|
|
590
590
|
});
|
|
591
|
-
function
|
|
591
|
+
function pa() {
|
|
592
592
|
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: "M16.96 6.17c2 1.39 3.38 3.6 3.66 6.15M3.49 12.37a8.601 8.601 0 0 1 3.6-6.15M8.19 20.94c1.16.59 2.48.92 3.87.92 1.34 0 2.6-.3 3.73-.85M12.06 7.7a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM4.83 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM19.17 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56Z" }) });
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Wl() {
|
|
595
595
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
596
596
|
/* @__PURE__ */ e("path", { d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z" }),
|
|
597
597
|
/* @__PURE__ */ e("path", { d: "M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18" }),
|
|
598
598
|
/* @__PURE__ */ e("path", { d: "M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0" })
|
|
599
599
|
] });
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function On() {
|
|
602
602
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
603
603
|
/* @__PURE__ */ e("path", { d: "m8 9 4-4 4 4" }),
|
|
604
604
|
/* @__PURE__ */ e("path", { d: "m16 15-4 4-4-4" })
|
|
605
605
|
] });
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Jt() {
|
|
608
608
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
609
609
|
/* @__PURE__ */ e("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM12 8v5" }),
|
|
610
610
|
/* @__PURE__ */ e("path", { d: "M11.995 16h.009" })
|
|
611
611
|
] });
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function Ol() {
|
|
614
614
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
615
615
|
/* @__PURE__ */ e("path", { d: "M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z" }),
|
|
616
616
|
/* @__PURE__ */ e("path", { d: "M11.995 17h.009" })
|
|
617
617
|
] });
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function ma() {
|
|
620
620
|
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: "M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10ZM20.59 22c0-3.87-3.85-7-8.59-7s-8.59 3.13-8.59 7" }) });
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function fa() {
|
|
623
623
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
624
624
|
/* @__PURE__ */ e("path", { d: "M12.02 2.91c-3.31 0-6 2.69-6 6v2.89c0 .61-.26 1.54-.57 2.06L4.3 15.77c-.71 1.18-.22 2.49 1.08 2.93 4.31 1.44 8.96 1.44 13.27 0 1.21-.4 1.74-1.83 1.08-2.93l-1.15-1.91c-.3-.52-.56-1.45-.56-2.06V8.91c0-3.3-2.7-6-6-6Z" }),
|
|
625
625
|
/* @__PURE__ */ e("path", { d: "M13.87 3.2a6.754 6.754 0 0 0-3.7 0c.29-.74 1.01-1.26 1.85-1.26.84 0 1.56.52 1.85 1.26Z" }),
|
|
626
626
|
/* @__PURE__ */ e("path", { d: "M15.02 19.06c0 1.65-1.35 3-3 3-.82 0-1.58-.34-2.12-.88a3.01 3.01 0 0 1-.88-2.12" })
|
|
627
627
|
] });
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function Hl() {
|
|
630
630
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
631
631
|
/* @__PURE__ */ e("path", { d: "M9 13c-.66.33-1.21.82-1.62 1.43-.23.35-.23.79 0 1.14.41.61.96 1.1 1.62 1.43M15.21 13c.66.33 1.21.82 1.62 1.43.23.35.23.79 0 1.14-.41.61-.96 1.1-1.62 1.43" }),
|
|
632
632
|
/* @__PURE__ */ e("path", { d: "M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7ZM2.23 8.01 21.45 8" })
|
|
633
633
|
] });
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function _a() {
|
|
636
636
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
637
637
|
/* @__PURE__ */ e("path", { d: "M5 15c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.8-.9.8-2.2 0-3a2.1 2.1 0 0 0-3 0Z" }),
|
|
638
638
|
/* @__PURE__ */ e("path", { d: "M9 12a13 13 0 0 1 9-9 13 13 0 0 1-9 9Z" }),
|
|
639
639
|
/* @__PURE__ */ e("path", { d: "M14.5 9.5 16 11" })
|
|
640
640
|
] });
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function jl() {
|
|
643
643
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
644
644
|
/* @__PURE__ */ e("path", { d: "M3.17 7.44 12 12.55l8.77-5.08M12 21.61v-9.07" }),
|
|
645
645
|
/* @__PURE__ */ e("path", { d: "M9.93 2.48 4.59 5.45c-1.21.67-2.2 2.35-2.2 3.73v5.65c0 1.38.99 3.06 2.2 3.73l5.34 2.97c1.14.63 3.01.63 4.15 0l5.34-2.97c1.21-.67 2.2-2.35 2.2-3.73V9.18c0-1.38-.99-3.06-2.2-3.73l-5.34-2.97c-1.15-.64-3.01-.64-4.15 0Z" }),
|
|
646
646
|
/* @__PURE__ */ e("path", { d: "M17 13.24V9.58L7.51 4.1" })
|
|
647
647
|
] });
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function Vl() {
|
|
650
650
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
651
651
|
/* @__PURE__ */ e("path", { d: "M12 18.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13Z" }),
|
|
652
652
|
/* @__PURE__ */ e("path", { d: "m19.14 19.14-.13-.13m0-14.02.13-.13-.13.13ZM4.86 19.14l.13-.13-.13.13ZM12 2.08V2v.08ZM12 22v-.08.08ZM2.08 12H2h.08ZM22 12h-.08.08ZM4.99 4.99l-.13-.13.13.13Z" })
|
|
653
653
|
] });
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function Zl() {
|
|
656
656
|
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" }) });
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Hn() {
|
|
659
659
|
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.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" }) });
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function Gl() {
|
|
662
662
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
663
663
|
/* @__PURE__ */ e("path", { d: "M17 6v10c0 4-1 5-5 5H6c-4 0-5-1-5-5V6c0-4 1-5 5-5h6c4 0 5 1 5 5ZM11 4.5H7" }),
|
|
664
664
|
/* @__PURE__ */ e("path", { d: "M9 18.1A1.55 1.55 0 1 0 9 15a1.55 1.55 0 0 0 0 3.1Z" })
|
|
665
665
|
] });
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function Ul() {
|
|
668
668
|
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: "M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44" }) });
|
|
669
669
|
}
|
|
670
670
|
function nt() {
|
|
671
671
|
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" }) });
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function va() {
|
|
674
674
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
675
675
|
/* @__PURE__ */ e("path", { d: "M17 6v10c0 4-1 5-5 5H6c-4 0-5-1-5-5V6c0-4 1-5 5-5h6c4 0 5 1 5 5ZM11 4.5H7" }),
|
|
676
676
|
/* @__PURE__ */ e("path", { d: "M9 18.1A1.55 1.55 0 1 0 9 15a1.55 1.55 0 0 0 0 3.1Z" })
|
|
677
677
|
] });
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function ga() {
|
|
680
680
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
681
681
|
/* @__PURE__ */ e("path", { d: "M20.75 13.25c0 4.83-3.92 8.75-8.75 8.75s-8.75-3.92-8.75-8.75S7.17 4.5 12 4.5s8.75 3.92 8.75 8.75ZM12 8v5" }),
|
|
682
682
|
/* @__PURE__ */ e("path", { d: "M9 2h6" })
|
|
683
683
|
] });
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function ba() {
|
|
686
686
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
687
687
|
/* @__PURE__ */ e("path", { d: "M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z" }),
|
|
688
688
|
/* @__PURE__ */ e("path", { d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
689
689
|
] });
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function xa() {
|
|
692
692
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
693
693
|
"path",
|
|
694
694
|
{
|
|
@@ -697,20 +697,20 @@ function ba() {
|
|
|
697
697
|
}
|
|
698
698
|
) });
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function ya() {
|
|
701
701
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M17.05 12.54c-.02-2.05 1.68-3.03 1.75-3.08-.95-1.4-2.44-1.59-2.97-1.61-1.26-.13-2.47.74-3.11.74-.64 0-1.63-.72-2.69-.7-1.38.02-2.66.8-3.37 2.04-1.44 2.5-.37 6.19 1.03 8.22.69.99 1.5 2.1 2.57 2.06 1.03-.04 1.42-.66 2.66-.66 1.24 0 1.59.66 2.68.64 1.11-.02 1.81-1 2.49-2 .78-1.15 1.1-2.26 1.12-2.32-.02-.01-2.15-.83-2.17-3.27ZM15.1 6.34c.56-.69.94-1.63.84-2.59-.81.03-1.8.54-2.39 1.22-.52.6-.98 1.57-.86 2.49.91.07 1.84-.46 2.41-1.12Z" }) });
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Na() {
|
|
704
704
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
705
705
|
/* @__PURE__ */ e("path", { d: "M12 14.88c-.91 0-1.65-.74-1.65-1.65v-2.47c0-.91.74-1.65 1.65-1.65.91 0 1.65.74 1.65 1.65v2.47c0 .91-.74 1.65-1.65 1.65Z" }),
|
|
706
706
|
/* @__PURE__ */ e("path", { d: "M16.98 13.47c-.2 2.58-2.36 4.6-4.98 4.6-2.76 0-5-2.24-5-5v-2.14c0-2.76 2.24-5 5-5 2.59 0 4.72 1.97 4.97 4.49" }),
|
|
707
707
|
/* @__PURE__ */ e("path", { d: "M15 2h2c3 0 5 2 5 5v2M2 9V7c0-3 2-5 5-5h2M15 22h2c3 0 5-2 5-5v-2M2 15v2c0 3 2 5 5 5h2" })
|
|
708
708
|
] });
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function Ma() {
|
|
711
711
|
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: "M14.43 5.93L20.5 12l-6.07 6.07M3.5 12h16.83" }) });
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function $a() {
|
|
714
714
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
715
715
|
/* @__PURE__ */ e("path", { d: "M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z" }),
|
|
716
716
|
/* @__PURE__ */ e("path", { d: "m9.05 11.87 1.61 1.61 4.3-4.3" })
|
|
@@ -719,140 +719,140 @@ function Ma() {
|
|
|
719
719
|
function Ae() {
|
|
720
720
|
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" }) });
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function jn() {
|
|
723
723
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
724
724
|
/* @__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" }),
|
|
725
725
|
/* @__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" })
|
|
726
726
|
] });
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function Vn() {
|
|
729
729
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
730
730
|
/* @__PURE__ */ e("path", { d: "m14.53 9.47-5.06 5.06a3.576 3.576 0 1 1 5.06-5.06Z" }),
|
|
731
731
|
/* @__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" }),
|
|
732
732
|
/* @__PURE__ */ e("path", { d: "M15.51 12.7a3.565 3.565 0 0 1-2.82 2.82M9.47 14.53 2 22M22 2l-7.47 7.47" })
|
|
733
733
|
] });
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function ql() {
|
|
736
736
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
737
737
|
/* @__PURE__ */ e("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z" }),
|
|
738
738
|
/* @__PURE__ */ e("path", { d: "m7.75 12 2.83 2.83 5.67-5.66" })
|
|
739
739
|
] });
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function ka() {
|
|
742
742
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
743
743
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "4" }),
|
|
744
744
|
/* @__PURE__ */ e("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.9 7.9" })
|
|
745
745
|
] });
|
|
746
746
|
}
|
|
747
|
-
function
|
|
747
|
+
function wa() {
|
|
748
748
|
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: "M16.29 2.15H7.7C6 2.15 5.25 3 4.79 4.04L2.23 9.8c-.46 1.04-.21 2.59.56 3.43l6.86 7.54c1.3 1.42 3.42 1.42 4.71 0l6.85-7.55c.77-.85 1.02-2.39.55-3.43L19.2 4.03c-.46-1.03-1.21-1.88-2.91-1.88ZM3.5 8h17" }) });
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Sa() {
|
|
751
751
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
752
752
|
/* @__PURE__ */ e("path", { d: "M6.7 18H4.15C2.72 18 2 17.28 2 15.85V4.15C2 2.72 2.72 2 4.15 2h4.3c1.43 0 2.15.72 2.15 2.15V6" }),
|
|
753
753
|
/* @__PURE__ */ e("path", { d: "M17.37 8.42v11.16c0 1.61-.8 2.42-2.41 2.42H9.12c-1.61 0-2.42-.81-2.42-2.42V8.42C6.7 6.81 7.51 6 9.12 6h5.84c1.61 0 2.41.81 2.41 2.42Z" }),
|
|
754
754
|
/* @__PURE__ */ e("path", { d: "M13.4 6V4.15c0-1.43.72-2.15 2.15-2.15h4.3C21.28 2 22 2.72 22 4.15v11.7c0 1.43-.72 2.15-2.15 2.15h-2.48M10 11h4M10 14h4M12 22v-3" })
|
|
755
755
|
] });
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function Ca() {
|
|
758
758
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
759
759
|
/* @__PURE__ */ e("path", { d: "M19.79 14.93a7.575 7.575 0 0 1-7.6 1.87l-4.71 4.7c-.34.35-1.01.56-1.49.49l-2.18-.3c-.72-.1-1.39-.78-1.5-1.5l-.3-2.18c-.07-.48.16-1.15.49-1.49l4.7-4.7c-.8-2.6-.18-5.55 1.88-7.6 2.95-2.95 7.74-2.95 10.7 0 2.96 2.95 2.96 7.76.01 10.71ZM6.89 17.49l2.3 2.3" }),
|
|
760
760
|
/* @__PURE__ */ e("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })
|
|
761
761
|
] });
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Zn() {
|
|
764
764
|
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" }) });
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function La() {
|
|
767
767
|
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: "m9.02 2.84-5.39 4.2C2.73 7.74 2 9.23 2 10.36v7.41c0 2.32 1.89 4.22 4.21 4.22h11.58c2.32 0 4.21-1.9 4.21-4.21V10.5c0-1.21-.81-2.76-1.8-3.45l-6.18-4.33c-1.4-.98-3.65-.93-5 .12ZM12 17.99v-3" }) });
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function Yl() {
|
|
770
770
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
771
771
|
/* @__PURE__ */ e("path", { d: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" }),
|
|
772
772
|
/* @__PURE__ */ e("path", { d: "M2 12.88v-1.76c0-1.04.85-1.9 1.9-1.9 1.81 0 2.55-1.28 1.64-2.85-.52-.9-.21-2.07.7-2.59l1.73-.99c.79-.47 1.81-.19 2.28.6l.11.19c.9 1.57 2.38 1.57 3.29 0l.11-.19c.47-.79 1.49-1.07 2.28-.6l1.73.99c.91.52 1.22 1.69.7 2.59-.91 1.57-.17 2.85 1.64 2.85 1.04 0 1.9.85 1.9 1.9v1.76c0 1.04-.85 1.9-1.9 1.9-1.81 0-2.55 1.28-1.64 2.85.52.91.21 2.07-.7 2.59l-1.73.99c-.79.47-1.81.19-2.28-.6l-.11-.19c-.9-1.57-2.38-1.57-3.29 0l-.11.19c-.47.79-1.49 1.07-2.28.6l-1.73-.99a1.899 1.899 0 0 1-.7-2.59c.91-1.57.17-2.85-1.64-2.85-1.05 0-1.9-.86-1.9-1.9Z" })
|
|
773
773
|
] });
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function Aa() {
|
|
776
776
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
777
777
|
/* @__PURE__ */ e("path", { d: "M13 11.15H7M2 11.15V6.53c0-2.04 1.65-3.69 3.69-3.69h5.62c2.04 0 3.69 1.27 3.69 3.31" }),
|
|
778
778
|
/* @__PURE__ */ e("path", { d: "M17.48 12.2c-.5.48-.74 1.22-.54 1.98.25.93 1.17 1.52 2.13 1.52H20v1.45c0 2.21-1.79 4-4 4H6c-2.21 0-4-1.79-4-4v-7c0-2.21 1.79-4 4-4h10c2.2 0 4 1.8 4 4v1.45h-1.08c-.56 0-1.07.22-1.44.6Z" }),
|
|
779
779
|
/* @__PURE__ */ e("path", { d: "M22 12.62v2.06c0 .56-.46 1.02-1.03 1.02h-1.93c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6h2.05c.57 0 1.03.46 1.03 1.02Z" })
|
|
780
780
|
] });
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function Fa() {
|
|
783
783
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
784
784
|
/* @__PURE__ */ e("path", { d: "M2 8.505h20M6 16.505h2M10.5 16.505h4" }),
|
|
785
785
|
/* @__PURE__ */ e("path", { d: "M6.44 3.505h11.11c3.56 0 4.45.88 4.45 4.39v8.21c0 3.51-.89 4.39-4.44 4.39H6.44c-3.55.01-4.44-.87-4.44-4.38v-8.22c0-3.51.89-4.39 4.44-4.39Z" })
|
|
786
786
|
] });
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function Ba() {
|
|
789
789
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
790
790
|
/* @__PURE__ */ e("path", { d: "m13.26 3.6-8.21 8.69c-.31.33-.61.98-.67 1.43l-.37 3.24c-.13 1.17.71 1.97 1.87 1.77l3.22-.55c.45-.08 1.08-.41 1.39-.75l8.21-8.69c1.42-1.5 2.06-3.21-.15-5.3-2.2-2.07-3.87-1.34-5.29.16Z" }),
|
|
791
791
|
/* @__PURE__ */ e("path", { d: "M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18" })
|
|
792
792
|
] });
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Ea() {
|
|
795
795
|
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: "m7.4 6.32 8.49-2.83c3.81-1.27 5.88.81 4.62 4.62l-2.83 8.49c-1.9 5.71-5.02 5.71-6.92 0l-.84-2.52-2.52-.84c-5.71-1.9-5.71-5.01 0-6.92ZM10.11 13.65l3.58-3.59" }) });
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function Ia() {
|
|
798
798
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
799
799
|
/* @__PURE__ */ e("path", { d: "M6 10V8c0-3.31 1-6 6-6s6 2.69 6 6v2M12 18.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z" }),
|
|
800
800
|
/* @__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" })
|
|
801
801
|
] });
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function Gn() {
|
|
804
804
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
805
805
|
/* @__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" }),
|
|
806
806
|
/* @__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" })
|
|
807
807
|
] });
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function Un() {
|
|
810
810
|
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" }) });
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Pa() {
|
|
813
813
|
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: "M9.32 6.5l2.56-2.56 2.56 2.56M11.88 14.18V4.01M4 12c0 4.42 3 8 8 8s8-3.58 8-8" }) });
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function zl() {
|
|
816
816
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
817
817
|
/* @__PURE__ */ e("path", { d: "M8 12.2h7M8 16.2h4.38M10 6h4c2 0 2-1 2-2 0-2-1-2-2-2h-4C9 2 8 2 8 4s1 2 2 2Z" }),
|
|
818
818
|
/* @__PURE__ */ e("path", { d: "M16 4.02c3.33.18 5 1.41 5 5.98v6c0 4-1 6-6 6H9c-5 0-6-2-6-6v-6c0-4.56 1.67-5.8 5-5.98" })
|
|
819
819
|
] });
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function Xl() {
|
|
822
822
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
823
823
|
/* @__PURE__ */ e("path", { d: "M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z" }),
|
|
824
824
|
/* @__PURE__ */ e("path", { d: "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" })
|
|
825
825
|
] });
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function Ra() {
|
|
828
828
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
829
829
|
/* @__PURE__ */ e("path", { d: "m3.989 14.66-1.52-1.52c-.62-.62-.62-1.64 0-2.26l1.52-1.52c.26-.26.47-.77.47-1.13V6.08c0-.88.72-1.6 1.6-1.6h2.15c.36 0 .87-.21 1.13-.47l1.52-1.52c.62-.62 1.64-.62 2.26 0l1.52 1.52c.26.26.77.47 1.13.47h2.15c.88 0 1.6.72 1.6 1.6v2.15c0 .36.21.87.47 1.13l1.52 1.52c.62.62.62 1.64 0 2.26l-1.52 1.52c-.26.26-.47.77-.47 1.13v2.15c0 .88-.72 1.6-1.6 1.6h-2.15c-.36 0-.87.21-1.13.47l-1.52 1.52c-.62.62-1.64.62-2.26 0l-1.52-1.52c-.26-.26-.77-.47-1.13-.47h-2.15c-.88 0-1.6-.72-1.6-1.6v-2.15c0-.37-.21-.88-.47-1.13ZM9 15l6-6" }),
|
|
830
830
|
/* @__PURE__ */ e("path", { d: "M14.495 14.5h.009M9.495 9.5h.008" })
|
|
831
831
|
] });
|
|
832
832
|
}
|
|
833
|
-
function
|
|
833
|
+
function Da() {
|
|
834
834
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
835
835
|
/* @__PURE__ */ e("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }),
|
|
836
836
|
/* @__PURE__ */ e("path", { d: "m5 17 4.59-5.36c.76-.88 2.11-.94 2.93-.11l.95.95c.82.82 2.17.77 2.93-.11L21 7" })
|
|
837
837
|
] });
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ta() {
|
|
840
840
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
841
841
|
/* @__PURE__ */ e("path", { d: "M3.01 11.22v4.49C3.01 20.2 4.81 22 9.3 22h5.39c4.49 0 6.29-1.8 6.29-6.29v-4.49" }),
|
|
842
842
|
/* @__PURE__ */ e("path", { d: "M12 12c1.83 0 3.18-1.49 3-3.32L14.34 2H9.67L9 8.68C8.82 10.51 10.17 12 12 12Z" }),
|
|
843
843
|
/* @__PURE__ */ e("path", { d: "M18.31 12c2.02 0 3.5-1.64 3.3-3.65l-.28-2.75C20.97 3 19.97 2 17.35 2H14.3l.7 7.01c.17 1.65 1.66 2.99 3.31 2.99ZM5.64 12c1.65 0 3.14-1.34 3.3-2.99l.22-2.21.48-4.8H6.59C3.97 2 2.97 3 2.61 5.6l-.27 2.75C2.14 10.36 3.62 12 5.64 12ZM12 17c-1.67 0-2.5.83-2.5 2.5V22h5v-2.5c0-1.67-.83-2.5-2.5-2.5Z" })
|
|
844
844
|
] });
|
|
845
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function Wa() {
|
|
847
847
|
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: "M5 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3H5C3 2 2 3 2 5v2c0 2 1 3 3 3ZM17 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM17 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM5 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3H5c-2 0-3 1-3 3v2c0 2 1 3 3 3Z" }) });
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function Oa() {
|
|
850
850
|
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: "M11.92 22c5.5 0 10-4.5 10-10s-4.5-10-10-10-10 4.5-10 10 4.5 10 10 10ZM7.92 12h8" }) });
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function Ha() {
|
|
853
853
|
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: "M3 7h18M3 12h18M3 17h18" }) });
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function ja() {
|
|
856
856
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
857
857
|
/* @__PURE__ */ e("path", { d: "M13 22H5c-2 0-3-1-3-3v-8c0-2 1-3 3-3h5v11c0 2 1 3 3 3ZM10.11 4c-.08.3-.11.63-.11 1v3H5V6c0-1.1.9-2 2-2h3.11ZM14 8v5M18 8v5M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1ZM6 13v4" }),
|
|
858
858
|
/* @__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" })
|
|
@@ -862,11 +862,11 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
862
862
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-field__labelrow${a ? " " + a : ""}`, children: [
|
|
863
863
|
/* @__PURE__ */ m("span", { className: "select-field__labelwrap", children: [
|
|
864
864
|
/* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: n, children: l }),
|
|
865
|
-
c && /* @__PURE__ */ e("span", { className: "select-field__info", title: c, "aria-label": c, children: /* @__PURE__ */ e(
|
|
865
|
+
c && /* @__PURE__ */ e("span", { className: "select-field__info", title: c, "aria-label": c, children: /* @__PURE__ */ e(Jt, {}) })
|
|
866
866
|
] }),
|
|
867
867
|
s
|
|
868
868
|
] });
|
|
869
|
-
}),
|
|
869
|
+
}), Ze = R(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, info: r, description: d, hint: o, error: i, prefix: u, suffix: h, mono: f, autoComplete: g, placeholder: v, required: x, disabled: N, readOnly: $, name: _, id: p, minLength: b, maxLength: S, min: k, max: M, step: w, inputMode: y, autoFocus: C, onBlur: L, onKeyDown: B, size: A = "md", className: F, ...E }, T) {
|
|
870
870
|
const I = te(), O = p ?? I, [W, Z] = D(!1), G = s === "password", J = G && W ? "text" : s, ie = i ? `${O}-err` : o ? `${O}-hint` : void 0, fe = u != null || h != null, Se = s === "number" && !fe && !$, ne = l === "" ? null : Number(l), H = (de) => {
|
|
871
871
|
const me = Number(w ?? 1) || 1;
|
|
872
872
|
let oe = (ne != null && Number.isFinite(ne) ? ne : 0) + de * me;
|
|
@@ -912,7 +912,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
912
912
|
className: "select-input__reveal",
|
|
913
913
|
onClick: () => Z((de) => !de),
|
|
914
914
|
"aria-label": W ? "Ocultar senha" : "Mostrar senha",
|
|
915
|
-
children: W ? /* @__PURE__ */ e(
|
|
915
|
+
children: W ? /* @__PURE__ */ e(Vn, {}) : /* @__PURE__ */ e(jn, {})
|
|
916
916
|
}
|
|
917
917
|
),
|
|
918
918
|
Se && /* @__PURE__ */ m("span", { className: "select-stepper", children: [
|
|
@@ -925,7 +925,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
925
925
|
"aria-label": "Aumentar",
|
|
926
926
|
disabled: N || z,
|
|
927
927
|
onClick: () => H(1),
|
|
928
|
-
children: /* @__PURE__ */ e(
|
|
928
|
+
children: /* @__PURE__ */ e(Un, {})
|
|
929
929
|
}
|
|
930
930
|
),
|
|
931
931
|
/* @__PURE__ */ e(
|
|
@@ -944,7 +944,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
944
944
|
] }),
|
|
945
945
|
i ? /* @__PURE__ */ e("p", { id: `${O}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${O}-hint`, className: "select-field__hint", children: o }) : null
|
|
946
946
|
] });
|
|
947
|
-
}),
|
|
947
|
+
}), Va = R(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: r, className: d, ...o }, i) {
|
|
948
948
|
return /* @__PURE__ */ m("span", { ref: i, ...o, className: `select-checkbox-field${s ? " select-checkbox-field--disabled" : ""}${d ? " " + d : ""}`, children: [
|
|
949
949
|
/* @__PURE__ */ m("label", { className: "select-checkbox", children: [
|
|
950
950
|
/* @__PURE__ */ e(
|
|
@@ -962,7 +962,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
962
962
|
] }),
|
|
963
963
|
a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
|
|
964
964
|
] });
|
|
965
|
-
}),
|
|
965
|
+
}), Za = R(function({ label: n, value: l, onChange: c, labelAction: s, info: a, description: r, hint: d, error: o, placeholder: i, rows: u = 4, mono: h, name: f, required: g, disabled: v, maxLength: x, onBlur: N, size: $ = "md", className: _, ...p }, b) {
|
|
966
966
|
const S = te(), k = o ? `${S}-err` : d ? `${S}-hint` : void 0;
|
|
967
967
|
return /* @__PURE__ */ m("div", { ref: b, ...p, className: `select-field${$ === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`, children: [
|
|
968
968
|
(n || a || s) && /* @__PURE__ */ e(lt, { htmlFor: S, label: n, info: a, action: s }),
|
|
@@ -987,7 +987,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
987
987
|
),
|
|
988
988
|
o ? /* @__PURE__ */ e("p", { id: `${S}-err`, className: "select-field__error", children: o }) : d ? /* @__PURE__ */ e("p", { id: `${S}-hint`, className: "select-field__hint", children: d }) : null
|
|
989
989
|
] });
|
|
990
|
-
}),
|
|
990
|
+
}), Ga = R(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: r, error: d, placeholder: o = "0", disabled: i = !1, min: u, max: h, className: f, ...g }, v) {
|
|
991
991
|
const x = te();
|
|
992
992
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${f ? " " + f : ""}`, children: [
|
|
993
993
|
n && /* @__PURE__ */ e(lt, { htmlFor: x, label: n, info: a }),
|
|
@@ -1011,10 +1011,10 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1011
1011
|
] }),
|
|
1012
1012
|
d ? /* @__PURE__ */ e("p", { className: "select-field__error", children: d }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
|
|
1013
1013
|
] });
|
|
1014
|
-
}),
|
|
1014
|
+
}), Kl = new Intl.NumberFormat("pt-BR", {
|
|
1015
1015
|
minimumFractionDigits: 2,
|
|
1016
1016
|
maximumFractionDigits: 2
|
|
1017
|
-
}),
|
|
1017
|
+
}), Ua = R(function({ label: n, value: l, onChange: c, info: s, hint: a, error: r, onBlur: d, placeholder: o = "0,00", name: i, disabled: u = !1, size: h = "md", className: f, ...g }, v) {
|
|
1018
1018
|
const x = te();
|
|
1019
1019
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${h === "sm" ? " select-field--sm" : ""}${f ? " " + f : ""}`, children: [
|
|
1020
1020
|
n && /* @__PURE__ */ e(lt, { htmlFor: x, label: n, info: s }),
|
|
@@ -1034,7 +1034,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1034
1034
|
autoComplete: "off",
|
|
1035
1035
|
name: i,
|
|
1036
1036
|
disabled: u,
|
|
1037
|
-
value: l == null ? "" :
|
|
1037
|
+
value: l == null ? "" : Kl.format(l / 100),
|
|
1038
1038
|
placeholder: o,
|
|
1039
1039
|
onChange: (N) => {
|
|
1040
1040
|
const $ = N.target.value.replace(/\D/g, "");
|
|
@@ -1050,18 +1050,18 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1050
1050
|
r ? /* @__PURE__ */ e("p", { className: "select-field__error", children: r }) : a ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: a }) : null
|
|
1051
1051
|
] });
|
|
1052
1052
|
});
|
|
1053
|
-
function
|
|
1053
|
+
function Qt(t) {
|
|
1054
1054
|
return (t ?? "").replace(/\D/g, "");
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1057
|
-
const n =
|
|
1056
|
+
function Jl(t) {
|
|
1057
|
+
const n = Qt(t);
|
|
1058
1058
|
return n.length === 11 ? "CPF" : n.length === 14 ? "CNPJ" : "";
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1061
|
-
const n =
|
|
1060
|
+
function Ql(t) {
|
|
1061
|
+
const n = Qt(t).slice(0, 14);
|
|
1062
1062
|
return n.length <= 11 ? n.replace(/^(\d{3})(\d)/, "$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1-$2") : n.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2");
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function qa({
|
|
1065
1065
|
label: t = "CPF/CNPJ",
|
|
1066
1066
|
value: n,
|
|
1067
1067
|
onChange: l,
|
|
@@ -1071,13 +1071,13 @@ function Ua({
|
|
|
1071
1071
|
required: r,
|
|
1072
1072
|
name: d
|
|
1073
1073
|
}) {
|
|
1074
|
-
const o =
|
|
1074
|
+
const o = Jl(n);
|
|
1075
1075
|
return /* @__PURE__ */ e(
|
|
1076
|
-
|
|
1076
|
+
Ze,
|
|
1077
1077
|
{
|
|
1078
1078
|
label: t,
|
|
1079
|
-
value:
|
|
1080
|
-
onChange: (i) => l(
|
|
1079
|
+
value: Ql(n),
|
|
1080
|
+
onChange: (i) => l(Qt(i)),
|
|
1081
1081
|
inputMode: "numeric",
|
|
1082
1082
|
autoComplete: "off",
|
|
1083
1083
|
maxLength: 18,
|
|
@@ -1089,10 +1089,11 @@ function Ua({
|
|
|
1089
1089
|
}
|
|
1090
1090
|
);
|
|
1091
1091
|
}
|
|
1092
|
-
const ht = R(function({ children: n, tone: l = "critical", title: c,
|
|
1093
|
-
return /* @__PURE__ */ m("div", { ref:
|
|
1092
|
+
const ht = R(function({ children: n, tone: l = "critical", title: c, action: s, className: a, ...r }, d) {
|
|
1093
|
+
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-alert select-alert--${l}${a ? " " + a : ""}`, role: "alert", children: [
|
|
1094
1094
|
c != null && /* @__PURE__ */ e("p", { className: "select-alert__title", children: c }),
|
|
1095
|
-
n != null && /* @__PURE__ */ e("div", { className: "select-alert__body", children: n })
|
|
1095
|
+
n != null && /* @__PURE__ */ e("div", { className: "select-alert__body", children: n }),
|
|
1096
|
+
s != null && /* @__PURE__ */ e("div", { className: "select-alert__action", children: s })
|
|
1096
1097
|
] });
|
|
1097
1098
|
}), wt = R(function({ src: n, docExt: l, name: c, sub: s, badge: a, onRemove: r, className: d, ...o }, i) {
|
|
1098
1099
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-filetile${d ? " " + d : ""}`, children: [
|
|
@@ -1108,7 +1109,7 @@ const ht = R(function({ children: n, tone: l = "critical", title: c, className:
|
|
|
1108
1109
|
}
|
|
1109
1110
|
}
|
|
1110
1111
|
) : /* @__PURE__ */ m("span", { className: "select-filetile__doc", children: [
|
|
1111
|
-
/* @__PURE__ */ e(
|
|
1112
|
+
/* @__PURE__ */ e(Xl, {}),
|
|
1112
1113
|
/* @__PURE__ */ e("span", { children: l ?? "FILE" })
|
|
1113
1114
|
] }),
|
|
1114
1115
|
a && /* @__PURE__ */ e("span", { className: "select-filetile__badge", children: a }),
|
|
@@ -1127,10 +1128,10 @@ const ht = R(function({ children: n, tone: l = "critical", title: c, className:
|
|
|
1127
1128
|
s && /* @__PURE__ */ e("span", { className: "select-filetile__size", children: s })
|
|
1128
1129
|
] });
|
|
1129
1130
|
});
|
|
1130
|
-
function
|
|
1131
|
+
function qn(t) {
|
|
1131
1132
|
return t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(0)} KB` : `${(t / (1024 * 1024)).toFixed(1)} MB`;
|
|
1132
1133
|
}
|
|
1133
|
-
function
|
|
1134
|
+
function Yn(t, n) {
|
|
1134
1135
|
if (!n) return !0;
|
|
1135
1136
|
const l = t.name.toLowerCase(), c = t.type.toLowerCase();
|
|
1136
1137
|
return n.split(",").some((s) => {
|
|
@@ -1138,21 +1139,21 @@ function zn(t, n) {
|
|
|
1138
1139
|
return a ? a.startsWith(".") ? l.endsWith(a) : a.endsWith("/*") ? c.startsWith(a.slice(0, -1)) : c === a : !1;
|
|
1139
1140
|
});
|
|
1140
1141
|
}
|
|
1141
|
-
const
|
|
1142
|
-
function
|
|
1142
|
+
const zn = (t) => t.type.startsWith("image/");
|
|
1143
|
+
function Xn(t) {
|
|
1143
1144
|
const n = t.split(".");
|
|
1144
1145
|
return n.length > 1 ? n.pop().toUpperCase() : "FILE";
|
|
1145
1146
|
}
|
|
1146
|
-
const
|
|
1147
|
-
function
|
|
1147
|
+
const Kn = /^https?:\/\/.+/i;
|
|
1148
|
+
function Jn(t) {
|
|
1148
1149
|
try {
|
|
1149
1150
|
return new URL(t).hostname;
|
|
1150
1151
|
} catch {
|
|
1151
1152
|
return t;
|
|
1152
1153
|
}
|
|
1153
1154
|
}
|
|
1154
|
-
const
|
|
1155
|
-
const h = q(null), [f, g] = D(!1), [v, x] = D(0), N = s * 1024 * 1024, $ = xe(() => n.map((C) =>
|
|
1155
|
+
const Ya = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: r, hint: d, className: o, ...i }, u) {
|
|
1156
|
+
const h = q(null), [f, g] = D(!1), [v, x] = D(0), N = s * 1024 * 1024, $ = xe(() => n.map((C) => zn(C) ? URL.createObjectURL(C) : null), [n]);
|
|
1156
1157
|
le(
|
|
1157
1158
|
() => () => {
|
|
1158
1159
|
$.forEach((C) => {
|
|
@@ -1163,7 +1164,7 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1163
1164
|
);
|
|
1164
1165
|
const _ = Te(
|
|
1165
1166
|
(C) => {
|
|
1166
|
-
const L = C.filter((B) => B.size <= N &&
|
|
1167
|
+
const L = C.filter((B) => B.size <= N && Yn(B, c));
|
|
1167
1168
|
if (x(C.length - L.length), L.length) {
|
|
1168
1169
|
const B = a ? [...n, ...L] : L.slice(0, 1);
|
|
1169
1170
|
l(r != null ? B.slice(0, r) : B);
|
|
@@ -1188,9 +1189,9 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1188
1189
|
wt,
|
|
1189
1190
|
{
|
|
1190
1191
|
src: $[L] ?? void 0,
|
|
1191
|
-
docExt:
|
|
1192
|
+
docExt: Xn(C.name),
|
|
1192
1193
|
name: C.name,
|
|
1193
|
-
sub:
|
|
1194
|
+
sub: qn(C.size),
|
|
1194
1195
|
onRemove: () => k(L)
|
|
1195
1196
|
},
|
|
1196
1197
|
`${C.name}-${L}`
|
|
@@ -1242,16 +1243,16 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1242
1243
|
" MB."
|
|
1243
1244
|
] })
|
|
1244
1245
|
] });
|
|
1245
|
-
}),
|
|
1246
|
+
}), ec = R(function({ children: n, onClick: l, icon: c, className: s, ...a }, r) {
|
|
1246
1247
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-addbtn${s ? " " + s : ""}`, onClick: l, children: [
|
|
1247
1248
|
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(nt, {}) }),
|
|
1248
1249
|
n
|
|
1249
1250
|
] });
|
|
1250
|
-
}),
|
|
1251
|
+
}), za = R(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: r, className: d, ...o }, i) {
|
|
1251
1252
|
const [u, h] = D(""), [f, g] = D(null), v = s != null && l.length >= s, x = () => {
|
|
1252
1253
|
const _ = u.trim();
|
|
1253
1254
|
if (_) {
|
|
1254
|
-
if (!
|
|
1255
|
+
if (!Kn.test(_)) {
|
|
1255
1256
|
g("Insira uma URL válida (https://…).");
|
|
1256
1257
|
return;
|
|
1257
1258
|
}
|
|
@@ -1266,10 +1267,10 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1266
1267
|
}, $ = (_) => c(l.filter((p, b) => b !== _));
|
|
1267
1268
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-field${d ? " " + d : ""}`, children: [
|
|
1268
1269
|
n && /* @__PURE__ */ e("span", { className: "select-field__label", children: n }),
|
|
1269
|
-
l.length > 0 && /* @__PURE__ */ e("div", { className: "select-filetile-grid", children: l.map((_, p) => /* @__PURE__ */ e(wt, { src: _, name:
|
|
1270
|
+
l.length > 0 && /* @__PURE__ */ e("div", { className: "select-filetile-grid", children: l.map((_, p) => /* @__PURE__ */ e(wt, { src: _, name: Jn(_), onRemove: () => $(p) }, `${_}-${p}`)) }),
|
|
1270
1271
|
!v && /* @__PURE__ */ m(ae, { children: [
|
|
1271
1272
|
/* @__PURE__ */ e(
|
|
1272
|
-
|
|
1273
|
+
Ze,
|
|
1273
1274
|
{
|
|
1274
1275
|
size: "sm",
|
|
1275
1276
|
value: u,
|
|
@@ -1284,12 +1285,12 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1284
1285
|
autoComplete: "off"
|
|
1285
1286
|
}
|
|
1286
1287
|
),
|
|
1287
|
-
/* @__PURE__ */ e(
|
|
1288
|
+
/* @__PURE__ */ e(ec, { onClick: x, children: "Adicionar URL" })
|
|
1288
1289
|
] }),
|
|
1289
1290
|
r != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: r })
|
|
1290
1291
|
] });
|
|
1291
|
-
}),
|
|
1292
|
-
const $ = l === "single", _ = q(null), [p, b] = D(!1), [S, k] = D(0), [M, w] = D(""), [y, C] = D(null), L = $ ? 1 : Math.max(1, i), B = $ ? 1 : u ?? L, A = c.length + a.length, F = $ ? A === 0 : A < L && c.length < B, E = $ ? A === 0 : A < L, T = A > 0, I = o * 1024 * 1024, O = xe(() => c.map((H) =>
|
|
1292
|
+
}), tc = R(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: r, accept: d = ".jpg,.jpeg,.png,.webp", maxSizeMB: o = 3, maxItems: i = 10, maxFiles: u, uploadHint: h, urlPlaceholder: f, helpText: g, className: v, ...x }, N) {
|
|
1293
|
+
const $ = l === "single", _ = q(null), [p, b] = D(!1), [S, k] = D(0), [M, w] = D(""), [y, C] = D(null), L = $ ? 1 : Math.max(1, i), B = $ ? 1 : u ?? L, A = c.length + a.length, F = $ ? A === 0 : A < L && c.length < B, E = $ ? A === 0 : A < L, T = A > 0, I = o * 1024 * 1024, O = xe(() => c.map((H) => zn(H) ? URL.createObjectURL(H) : null), [c]);
|
|
1293
1294
|
le(
|
|
1294
1295
|
() => () => {
|
|
1295
1296
|
O.forEach((H) => {
|
|
@@ -1299,7 +1300,7 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1299
1300
|
[O]
|
|
1300
1301
|
);
|
|
1301
1302
|
const W = (H) => {
|
|
1302
|
-
const Q = H.filter((de) => de.size <= I &&
|
|
1303
|
+
const Q = H.filter((de) => de.size <= I && Yn(de, d));
|
|
1303
1304
|
if (k(H.length - Q.length), !Q.length) return;
|
|
1304
1305
|
if ($) {
|
|
1305
1306
|
r([]), s(Q.slice(0, 1));
|
|
@@ -1310,7 +1311,7 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1310
1311
|
}, Z = () => {
|
|
1311
1312
|
const H = M.trim();
|
|
1312
1313
|
if (H) {
|
|
1313
|
-
if (!
|
|
1314
|
+
if (!Kn.test(H)) {
|
|
1314
1315
|
C("Insira uma URL válida (https://…).");
|
|
1315
1316
|
return;
|
|
1316
1317
|
}
|
|
@@ -1346,14 +1347,14 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1346
1347
|
wt,
|
|
1347
1348
|
{
|
|
1348
1349
|
src: O[Q] ?? void 0,
|
|
1349
|
-
docExt:
|
|
1350
|
+
docExt: Xn(H.name),
|
|
1350
1351
|
name: H.name,
|
|
1351
|
-
sub:
|
|
1352
|
+
sub: qn(H.size),
|
|
1352
1353
|
onRemove: () => J(Q)
|
|
1353
1354
|
},
|
|
1354
1355
|
`f-${H.name}-${Q}`
|
|
1355
1356
|
)),
|
|
1356
|
-
a.map((H, Q) => /* @__PURE__ */ e(wt, { src: H, name:
|
|
1357
|
+
a.map((H, Q) => /* @__PURE__ */ e(wt, { src: H, name: Jn(H), onRemove: () => ie(Q) }, `u-${H}-${Q}`)),
|
|
1357
1358
|
F && /* @__PURE__ */ m("button", { type: "button", className: "select-dropzone select-dropzone--tile", onClick: fe, children: [
|
|
1358
1359
|
/* @__PURE__ */ e(kt, {}),
|
|
1359
1360
|
/* @__PURE__ */ e("span", { children: "Adicionar" })
|
|
@@ -1364,9 +1365,9 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1364
1365
|
/* @__PURE__ */ e("span", { children: h ?? `Arraste ou selecione um arquivo · até ${o} MB` })
|
|
1365
1366
|
] }),
|
|
1366
1367
|
E && /* @__PURE__ */ m("div", { className: "select-uploadzone__url", children: [
|
|
1367
|
-
/* @__PURE__ */ e(
|
|
1368
|
+
/* @__PURE__ */ e(Wl, {}),
|
|
1368
1369
|
/* @__PURE__ */ e("div", { className: "select-uploadzone__urlfield", children: /* @__PURE__ */ e(
|
|
1369
|
-
|
|
1370
|
+
Ze,
|
|
1370
1371
|
{
|
|
1371
1372
|
size: "sm",
|
|
1372
1373
|
value: M,
|
|
@@ -1405,13 +1406,13 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1405
1406
|
] }),
|
|
1406
1407
|
g != null && /* @__PURE__ */ e("p", { className: "select-field__hint", children: g })
|
|
1407
1408
|
] });
|
|
1408
|
-
}),
|
|
1409
|
+
}), jt = R(function({ label: n, value: l, onChange: c, options: s, labelAction: a, info: r, description: d, hint: o, error: i, placeholder: u, name: h, required: f, disabled: g, size: v = "md", className: x, ...N }, $) {
|
|
1409
1410
|
const _ = te(), p = i ? `${_}-err` : o ? `${_}-hint` : void 0;
|
|
1410
1411
|
return /* @__PURE__ */ m("div", { ref: $, ...N, className: `select-field${v === "sm" ? " select-field--sm" : ""}${x ? " " + x : ""}`, children: [
|
|
1411
1412
|
(n || r || a) && /* @__PURE__ */ m("div", { className: "select-field__labelrow", children: [
|
|
1412
1413
|
/* @__PURE__ */ m("span", { className: "select-field__labelwrap", children: [
|
|
1413
1414
|
n && /* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: _, children: n }),
|
|
1414
|
-
r && /* @__PURE__ */ e("span", { className: "select-field__info", title: r, "aria-label": r, children: /* @__PURE__ */ e(
|
|
1415
|
+
r && /* @__PURE__ */ e("span", { className: "select-field__info", title: r, "aria-label": r, children: /* @__PURE__ */ e(Jt, {}) })
|
|
1415
1416
|
] }),
|
|
1416
1417
|
a
|
|
1417
1418
|
] }),
|
|
@@ -1439,9 +1440,14 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1439
1440
|
] }),
|
|
1440
1441
|
i ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: o }) : null
|
|
1441
1442
|
] });
|
|
1442
|
-
}),
|
|
1443
|
+
}), nc = R(function({ children: n, columns: l = 2, className: c, ...s }, a) {
|
|
1443
1444
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-fieldgrid select-fieldgrid--${l}${c ? " " + c : ""}`, children: n });
|
|
1444
|
-
}),
|
|
1445
|
+
}), lc = (t) => t.replace(/\D/g, "");
|
|
1446
|
+
function cc(t) {
|
|
1447
|
+
const n = t.replace(/[^\d-]/g, ""), [l = "", ...c] = n.split("-");
|
|
1448
|
+
return c.length ? `${l}-${c.join("").replace(/\D/g, "").slice(0, 2)}` : l;
|
|
1449
|
+
}
|
|
1450
|
+
const Xa = R(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: r, ...d }, o) {
|
|
1445
1451
|
const i = (h) => l({ ...n, ...h }), u = [
|
|
1446
1452
|
{ label: "Selecione o banco", value: "" },
|
|
1447
1453
|
// `name` already reads "001 - Banco do Brasil S.A." (code + bank name), so show it alone —
|
|
@@ -1450,7 +1456,7 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1450
1456
|
];
|
|
1451
1457
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-stack${r ? " " + r : ""}`, children: [
|
|
1452
1458
|
/* @__PURE__ */ e(
|
|
1453
|
-
|
|
1459
|
+
jt,
|
|
1454
1460
|
{
|
|
1455
1461
|
label: "Banco",
|
|
1456
1462
|
options: u,
|
|
@@ -1459,13 +1465,22 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1459
1465
|
error: a
|
|
1460
1466
|
}
|
|
1461
1467
|
),
|
|
1462
|
-
/* @__PURE__ */ m(
|
|
1463
|
-
/* @__PURE__ */ e(
|
|
1464
|
-
/* @__PURE__ */ e(
|
|
1465
|
-
|
|
1468
|
+
/* @__PURE__ */ m(nc, { columns: 2, children: [
|
|
1469
|
+
/* @__PURE__ */ e(Ze, { label: "Agência", value: n.agency, onChange: (h) => i({ agency: lc(h) }), inputMode: "numeric", maxLength: 6 }),
|
|
1470
|
+
/* @__PURE__ */ e(
|
|
1471
|
+
Ze,
|
|
1472
|
+
{
|
|
1473
|
+
label: "Conta (com dígito)",
|
|
1474
|
+
value: n.account,
|
|
1475
|
+
onChange: (h) => i({ account: cc(h) }),
|
|
1476
|
+
inputMode: "numeric",
|
|
1477
|
+
maxLength: 16,
|
|
1478
|
+
placeholder: "Ex: 9288-1"
|
|
1479
|
+
}
|
|
1480
|
+
)
|
|
1466
1481
|
] }),
|
|
1467
1482
|
s && /* @__PURE__ */ e(
|
|
1468
|
-
|
|
1483
|
+
jt,
|
|
1469
1484
|
{
|
|
1470
1485
|
label: "Tipo de conta",
|
|
1471
1486
|
options: [
|
|
@@ -1477,26 +1492,26 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1477
1492
|
}
|
|
1478
1493
|
)
|
|
1479
1494
|
] });
|
|
1480
|
-
}),
|
|
1495
|
+
}), en = R(function({ checked: n, onChange: l, disabled: c = !1, label: s, className: a, ...r }, d) {
|
|
1481
1496
|
return /* @__PURE__ */ e("button", { ref: d, ...r, type: "button", role: "switch", "aria-checked": n, "aria-label": s, disabled: c, className: `select-switch${n ? " select-switch--on" : ""}${a ? " " + a : ""}`, onClick: () => l(!n), children: /* @__PURE__ */ e("span", { className: "select-switch__knob", "aria-hidden": "true" }) });
|
|
1482
|
-
}),
|
|
1497
|
+
}), Ka = R(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
|
|
1483
1498
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-togglelist${l ? " select-togglelist--scroll" : ""}${c ? " " + c : ""}`, children: n });
|
|
1484
|
-
}),
|
|
1499
|
+
}), Ja = R(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: r, ...d }, o) {
|
|
1485
1500
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-togglerow${a ? " select-togglerow--disabled" : ""}${r ? " " + r : ""}`, children: [
|
|
1486
1501
|
n && /* @__PURE__ */ e("span", { className: "select-togglerow__icon", children: n }),
|
|
1487
1502
|
/* @__PURE__ */ e("span", { className: "select-togglerow__label", children: l }),
|
|
1488
|
-
/* @__PURE__ */ e(
|
|
1503
|
+
/* @__PURE__ */ e(en, { checked: c, onChange: s, disabled: a, label: typeof l == "string" ? l : void 0 })
|
|
1489
1504
|
] });
|
|
1490
|
-
}),
|
|
1505
|
+
}), Qa = R(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: r = !1, className: d, ...o }, i) {
|
|
1491
1506
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-togglepanel${c ? " is-on" : ""}${d ? " " + d : ""}`, children: [
|
|
1492
1507
|
/* @__PURE__ */ m("div", { className: "select-togglepanel__header", children: [
|
|
1493
|
-
/* @__PURE__ */ e(
|
|
1508
|
+
/* @__PURE__ */ e(en, { checked: c, onChange: s, disabled: r, label: typeof l == "string" ? l : void 0 }),
|
|
1494
1509
|
n && /* @__PURE__ */ e("span", { className: "select-togglepanel__icon", children: n }),
|
|
1495
1510
|
/* @__PURE__ */ e("span", { className: "select-togglepanel__title", children: l })
|
|
1496
1511
|
] }),
|
|
1497
1512
|
a && /* @__PURE__ */ e("div", { className: "select-togglepanel__bodywrap", children: /* @__PURE__ */ e("div", { className: "select-togglepanel__bodyclip", "aria-hidden": !c, children: /* @__PURE__ */ e("div", { className: "select-togglepanel__body", children: a }) }) })
|
|
1498
1513
|
] });
|
|
1499
|
-
}),
|
|
1514
|
+
}), sc = {
|
|
1500
1515
|
BR: /* @__PURE__ */ m(ae, { children: [
|
|
1501
1516
|
/* @__PURE__ */ e("rect", { width: "20", height: "14", fill: "#009B3A" }),
|
|
1502
1517
|
/* @__PURE__ */ e("path", { d: "M10 1.6 18.2 7 10 12.4 1.8 7Z", fill: "#FEDF00" }),
|
|
@@ -1537,14 +1552,14 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1537
1552
|
/* @__PURE__ */ e("path", { d: "M10 0v14M0 7h20", stroke: "#C8102E", strokeWidth: "2.6" })
|
|
1538
1553
|
] })
|
|
1539
1554
|
};
|
|
1540
|
-
function
|
|
1541
|
-
const n =
|
|
1555
|
+
function ac({ iso: t }) {
|
|
1556
|
+
const n = sc[t];
|
|
1542
1557
|
return n ? /* @__PURE__ */ m("svg", { className: "select-phone__flag", viewBox: "0 0 20 14", "aria-hidden": "true", focusable: "false", children: [
|
|
1543
1558
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: `flag-${t}`, children: /* @__PURE__ */ e("rect", { width: "20", height: "14", rx: "2" }) }) }),
|
|
1544
1559
|
/* @__PURE__ */ e("g", { clipPath: `url(#flag-${t})`, children: n })
|
|
1545
1560
|
] }) : /* @__PURE__ */ e("span", { className: "select-phone__flagfallback", "aria-hidden": "true", children: t });
|
|
1546
1561
|
}
|
|
1547
|
-
const
|
|
1562
|
+
const tn = {
|
|
1548
1563
|
US: "(###) ###-####",
|
|
1549
1564
|
// 10 digits
|
|
1550
1565
|
MX: "## #### ####",
|
|
@@ -1558,12 +1573,12 @@ const nn = {
|
|
|
1558
1573
|
GB: "##### ######"
|
|
1559
1574
|
// 11 digits (mobile, with trunk 0)
|
|
1560
1575
|
};
|
|
1561
|
-
function
|
|
1576
|
+
function oc(t) {
|
|
1562
1577
|
let n = 0;
|
|
1563
1578
|
for (const l of t) l === "#" && (n += 1);
|
|
1564
1579
|
return n;
|
|
1565
1580
|
}
|
|
1566
|
-
function
|
|
1581
|
+
function rc(t, n) {
|
|
1567
1582
|
let l = "", c = 0;
|
|
1568
1583
|
for (const s of t) {
|
|
1569
1584
|
if (c >= n.length) break;
|
|
@@ -1571,33 +1586,33 @@ function oc(t, n) {
|
|
|
1571
1586
|
}
|
|
1572
1587
|
return c < n.length && (l += n.slice(c)), l;
|
|
1573
1588
|
}
|
|
1574
|
-
function
|
|
1589
|
+
function ic(t) {
|
|
1575
1590
|
if (t === "BR") return 11;
|
|
1576
|
-
const n =
|
|
1577
|
-
return n ?
|
|
1591
|
+
const n = tn[t];
|
|
1592
|
+
return n ? oc(n) : 15;
|
|
1578
1593
|
}
|
|
1579
|
-
function
|
|
1594
|
+
function dc(t) {
|
|
1580
1595
|
return (t ?? "").replace(/\D/g, "").slice(0, 11);
|
|
1581
1596
|
}
|
|
1582
|
-
function
|
|
1583
|
-
return (n ?? "").replace(/\D/g, "").slice(0,
|
|
1597
|
+
function Qn(t, n) {
|
|
1598
|
+
return (n ?? "").replace(/\D/g, "").slice(0, ic(t));
|
|
1584
1599
|
}
|
|
1585
|
-
function
|
|
1586
|
-
const n =
|
|
1600
|
+
function hc(t) {
|
|
1601
|
+
const n = dc(t);
|
|
1587
1602
|
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)}`;
|
|
1588
1603
|
}
|
|
1589
|
-
function
|
|
1590
|
-
const l =
|
|
1591
|
-
if (t === "BR") return
|
|
1592
|
-
const c =
|
|
1593
|
-
return c ?
|
|
1604
|
+
function uc(t, n) {
|
|
1605
|
+
const l = Qn(t, n);
|
|
1606
|
+
if (t === "BR") return hc(l);
|
|
1607
|
+
const c = tn[t];
|
|
1608
|
+
return c ? rc(c, l) : l;
|
|
1594
1609
|
}
|
|
1595
|
-
function
|
|
1610
|
+
function pc(t) {
|
|
1596
1611
|
if (t === "BR") return "(00) 00000-0000";
|
|
1597
|
-
const n =
|
|
1612
|
+
const n = tn[t];
|
|
1598
1613
|
return n ? n.replace(/#/g, "0") : "";
|
|
1599
1614
|
}
|
|
1600
|
-
const
|
|
1615
|
+
const el = [
|
|
1601
1616
|
{ iso: "BR", dial: "+55", flag: "🇧🇷", name: "Brasil" },
|
|
1602
1617
|
{ iso: "US", dial: "+1", flag: "🇺🇸", name: "Estados Unidos" },
|
|
1603
1618
|
{ iso: "PT", dial: "+351", flag: "🇵🇹", name: "Portugal" },
|
|
@@ -1606,12 +1621,12 @@ const tl = [
|
|
|
1606
1621
|
{ iso: "ES", dial: "+34", flag: "🇪🇸", name: "Espanha" },
|
|
1607
1622
|
{ iso: "GB", dial: "+44", flag: "🇬🇧", name: "Reino Unido" }
|
|
1608
1623
|
];
|
|
1609
|
-
function
|
|
1624
|
+
function mc(t) {
|
|
1610
1625
|
var n;
|
|
1611
|
-
return ((n =
|
|
1626
|
+
return ((n = el.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
|
|
1612
1627
|
}
|
|
1613
|
-
const
|
|
1614
|
-
const f = te(), g =
|
|
1628
|
+
const e1 = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: r, onBlur: d, placeholder: o, className: i, ...u }, h) {
|
|
1629
|
+
const f = te(), g = mc(l.country), v = r ? `${f}-err` : a ? `${f}-hint` : void 0;
|
|
1615
1630
|
return /* @__PURE__ */ m("div", { ref: h, ...u, className: `select-field${i ? " " + i : ""}`, children: [
|
|
1616
1631
|
/* @__PURE__ */ m("div", { className: "select-field__labelrow", children: [
|
|
1617
1632
|
/* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: f, children: n }),
|
|
@@ -1620,7 +1635,7 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1620
1635
|
/* @__PURE__ */ m("div", { className: `select-phone${r ? " select-phone--error" : ""}`, children: [
|
|
1621
1636
|
/* @__PURE__ */ m("div", { className: "select-phone__country", children: [
|
|
1622
1637
|
/* @__PURE__ */ m("span", { className: "select-phone__dial", children: [
|
|
1623
|
-
/* @__PURE__ */ e(
|
|
1638
|
+
/* @__PURE__ */ e(ac, { iso: l.country }),
|
|
1624
1639
|
" ",
|
|
1625
1640
|
g
|
|
1626
1641
|
] }),
|
|
@@ -1632,7 +1647,7 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1632
1647
|
value: l.country,
|
|
1633
1648
|
onChange: (x) => c({ ...l, country: x.target.value }),
|
|
1634
1649
|
"aria-label": "País",
|
|
1635
|
-
children:
|
|
1650
|
+
children: el.map((x) => /* @__PURE__ */ m("option", { value: x.iso, children: [
|
|
1636
1651
|
x.name,
|
|
1637
1652
|
" (",
|
|
1638
1653
|
x.dial,
|
|
@@ -1649,9 +1664,9 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1649
1664
|
type: "tel",
|
|
1650
1665
|
inputMode: "tel",
|
|
1651
1666
|
autoComplete: "tel-national",
|
|
1652
|
-
value:
|
|
1653
|
-
placeholder: o ??
|
|
1654
|
-
onChange: (x) => c({ ...l, number:
|
|
1667
|
+
value: uc(l.country, l.number),
|
|
1668
|
+
placeholder: o ?? pc(l.country),
|
|
1669
|
+
onChange: (x) => c({ ...l, number: Qn(l.country, x.target.value) }),
|
|
1655
1670
|
onBlur: d,
|
|
1656
1671
|
"aria-invalid": r ? !0 : void 0,
|
|
1657
1672
|
"aria-describedby": v
|
|
@@ -1660,7 +1675,7 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1660
1675
|
] }),
|
|
1661
1676
|
r ? /* @__PURE__ */ e("p", { id: `${f}-err`, className: "select-field__error", children: r }) : a ? /* @__PURE__ */ e("p", { id: `${f}-hint`, className: "select-field__hint", children: a }) : null
|
|
1662
1677
|
] });
|
|
1663
|
-
}),
|
|
1678
|
+
}), t1 = R(function({ value: n, onChange: l, options: c, name: s, className: a, ...r }, d) {
|
|
1664
1679
|
const o = te(), i = s ?? o;
|
|
1665
1680
|
return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((u) => {
|
|
1666
1681
|
const h = u.value === n;
|
|
@@ -1692,7 +1707,7 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1692
1707
|
u.value
|
|
1693
1708
|
);
|
|
1694
1709
|
}) });
|
|
1695
|
-
}),
|
|
1710
|
+
}), n1 = R(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: r, ...d }, o) {
|
|
1696
1711
|
const i = Math.max(0, c.findIndex((v) => v.value === n)), u = q([]), [h, f] = D(null);
|
|
1697
1712
|
Be(() => {
|
|
1698
1713
|
const v = u.current[i];
|
|
@@ -1720,12 +1735,20 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1720
1735
|
);
|
|
1721
1736
|
})
|
|
1722
1737
|
] });
|
|
1723
|
-
}),
|
|
1724
|
-
return /* @__PURE__ */ m(
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1738
|
+
}), tl = R(function({ children: n, tone: l = "neutral", icon: c, size: s = "md", className: a, ...r }, d) {
|
|
1739
|
+
return /* @__PURE__ */ m(
|
|
1740
|
+
"span",
|
|
1741
|
+
{
|
|
1742
|
+
ref: d,
|
|
1743
|
+
...r,
|
|
1744
|
+
className: `select-badge select-badge--${l}${s === "sm" ? " select-badge--sm" : ""}${a ? " " + a : ""}`,
|
|
1745
|
+
children: [
|
|
1746
|
+
c && /* @__PURE__ */ e("span", { className: "select-badge__icon", children: c }),
|
|
1747
|
+
n
|
|
1748
|
+
]
|
|
1749
|
+
}
|
|
1750
|
+
);
|
|
1751
|
+
}), fc = {
|
|
1729
1752
|
approved: { label: "Aprovada", tone: "success" },
|
|
1730
1753
|
"pre-authorized": { label: "Pré-autorizada", tone: "success" },
|
|
1731
1754
|
authorized: { label: "Autorizada", tone: "info" },
|
|
@@ -1743,14 +1766,15 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1743
1766
|
chargeback: { label: "Chargeback", tone: "critical" },
|
|
1744
1767
|
dispute: { label: "Em disputa", tone: "critical" }
|
|
1745
1768
|
};
|
|
1746
|
-
function
|
|
1769
|
+
function l1({
|
|
1747
1770
|
status: t,
|
|
1748
|
-
map: n =
|
|
1771
|
+
map: n = fc,
|
|
1772
|
+
size: l
|
|
1749
1773
|
}) {
|
|
1750
|
-
const
|
|
1751
|
-
return /* @__PURE__ */ e(
|
|
1774
|
+
const c = n[t] ?? { label: t };
|
|
1775
|
+
return /* @__PURE__ */ e(tl, { tone: c.tone, size: l, children: c.label });
|
|
1752
1776
|
}
|
|
1753
|
-
function
|
|
1777
|
+
function nl(t, n, l, c, s = 8) {
|
|
1754
1778
|
const a = window.innerWidth, r = window.innerHeight, d = l.split("-");
|
|
1755
1779
|
let o = d[0];
|
|
1756
1780
|
const i = d[1];
|
|
@@ -1766,7 +1790,7 @@ function ll(t, n, l, c, s = 8) {
|
|
|
1766
1790
|
const f = typeof window < "u" && window.devicePixelRatio || 1;
|
|
1767
1791
|
return h = Math.round(h * f) / f, u = Math.round(u * f) / f, { top: u, left: h, side: o };
|
|
1768
1792
|
}
|
|
1769
|
-
const
|
|
1793
|
+
const _c = [
|
|
1770
1794
|
"a[href]",
|
|
1771
1795
|
"button:not([disabled])",
|
|
1772
1796
|
"input:not([disabled])",
|
|
@@ -1774,20 +1798,20 @@ const fc = [
|
|
|
1774
1798
|
"textarea:not([disabled])",
|
|
1775
1799
|
'[tabindex]:not([tabindex="-1"])'
|
|
1776
1800
|
].join(",");
|
|
1777
|
-
function
|
|
1778
|
-
return Array.from(t.querySelectorAll(
|
|
1801
|
+
function an(t) {
|
|
1802
|
+
return Array.from(t.querySelectorAll(_c)).filter(
|
|
1779
1803
|
(n) => n.offsetWidth > 0 || n.offsetHeight > 0 || n === document.activeElement
|
|
1780
1804
|
);
|
|
1781
1805
|
}
|
|
1782
|
-
function
|
|
1806
|
+
function vc(t, n) {
|
|
1783
1807
|
le(() => {
|
|
1784
1808
|
if (!t) return;
|
|
1785
1809
|
const l = n.current;
|
|
1786
1810
|
if (!l) return;
|
|
1787
|
-
(
|
|
1811
|
+
(an(l)[0] ?? l).focus({ preventScroll: !0 });
|
|
1788
1812
|
const s = (a) => {
|
|
1789
1813
|
if (a.key !== "Tab") return;
|
|
1790
|
-
const r =
|
|
1814
|
+
const r = an(l);
|
|
1791
1815
|
if (r.length === 0) {
|
|
1792
1816
|
a.preventDefault();
|
|
1793
1817
|
return;
|
|
@@ -1802,7 +1826,7 @@ function ut(t) {
|
|
|
1802
1826
|
return ((t == null ? void 0 : t.closest("[data-theme]")) ?? document.documentElement).getAttribute("data-theme") === "dark" ? "dark" : "light";
|
|
1803
1827
|
}
|
|
1804
1828
|
const Qe = [];
|
|
1805
|
-
function
|
|
1829
|
+
function We({
|
|
1806
1830
|
active: t,
|
|
1807
1831
|
onClose: n,
|
|
1808
1832
|
activator: l,
|
|
@@ -1818,7 +1842,7 @@ function Oe({
|
|
|
1818
1842
|
var k;
|
|
1819
1843
|
const _ = ((k = u.current) == null ? void 0 : k.firstElementChild) ?? u.current, p = h.current;
|
|
1820
1844
|
if (!_ || !p) return;
|
|
1821
|
-
const b = _.getBoundingClientRect(), S =
|
|
1845
|
+
const b = _.getBoundingClientRect(), S = nl(b, { width: p.offsetWidth, height: p.offsetHeight }, s, a);
|
|
1822
1846
|
v({ top: S.top, left: S.left, minWidth: o ? b.width : void 0 });
|
|
1823
1847
|
}, [s, a, o]);
|
|
1824
1848
|
return Be(() => {
|
|
@@ -1859,7 +1883,7 @@ function Oe({
|
|
|
1859
1883
|
return document.addEventListener("mousedown", _, !0), document.addEventListener("keydown", p), () => {
|
|
1860
1884
|
document.removeEventListener("mousedown", _, !0), document.removeEventListener("keydown", p);
|
|
1861
1885
|
};
|
|
1862
|
-
}, [t, n]),
|
|
1886
|
+
}, [t, n]), vc(t && d, h), /* @__PURE__ */ m(ae, { children: [
|
|
1863
1887
|
/* @__PURE__ */ e("span", { className: "select-pop__trigger", ref: u, children: l }),
|
|
1864
1888
|
t && Ft(
|
|
1865
1889
|
/* @__PURE__ */ e(
|
|
@@ -1878,7 +1902,7 @@ function Oe({
|
|
|
1878
1902
|
)
|
|
1879
1903
|
] });
|
|
1880
1904
|
}
|
|
1881
|
-
function
|
|
1905
|
+
function ll({ items: t, sections: n, onAction: l, autoFocus: c = !0, className: s, ...a }) {
|
|
1882
1906
|
const r = q(null), d = n ?? (t ? [{ items: t }] : []);
|
|
1883
1907
|
le(() => {
|
|
1884
1908
|
var i, u;
|
|
@@ -1915,14 +1939,14 @@ function cl({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
|
|
|
1915
1939
|
))
|
|
1916
1940
|
] }, u)) });
|
|
1917
1941
|
}
|
|
1918
|
-
function
|
|
1942
|
+
function c1({
|
|
1919
1943
|
items: t,
|
|
1920
1944
|
label: n = "Ações",
|
|
1921
1945
|
disabled: l
|
|
1922
1946
|
}) {
|
|
1923
1947
|
const [c, s] = D(!1);
|
|
1924
1948
|
return /* @__PURE__ */ e(
|
|
1925
|
-
|
|
1949
|
+
We,
|
|
1926
1950
|
{
|
|
1927
1951
|
active: c,
|
|
1928
1952
|
onClose: () => s(!1),
|
|
@@ -1939,7 +1963,7 @@ function l1({
|
|
|
1939
1963
|
children: n
|
|
1940
1964
|
}
|
|
1941
1965
|
),
|
|
1942
|
-
children: /* @__PURE__ */ e(
|
|
1966
|
+
children: /* @__PURE__ */ e(ll, { items: t, onAction: () => s(!1) })
|
|
1943
1967
|
}
|
|
1944
1968
|
);
|
|
1945
1969
|
}
|
|
@@ -1982,7 +2006,7 @@ const ze = {
|
|
|
1982
2006
|
function Bt(...t) {
|
|
1983
2007
|
return t.filter(Boolean).join(" ");
|
|
1984
2008
|
}
|
|
1985
|
-
function
|
|
2009
|
+
function Vt({ children: t, gap: n, align: l, inlineAlign: c, as: s = "div", className: a, ...r }) {
|
|
1986
2010
|
const d = s, o = {
|
|
1987
2011
|
rowGap: n ? ze[n] : void 0,
|
|
1988
2012
|
justifyContent: l ? ot[l] : void 0,
|
|
@@ -2000,7 +2024,7 @@ function st({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s =
|
|
|
2000
2024
|
};
|
|
2001
2025
|
return /* @__PURE__ */ e(o, { ...d, className: Bt("select-inline", r), style: i, children: t });
|
|
2002
2026
|
}
|
|
2003
|
-
function
|
|
2027
|
+
function s1({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: r, ...d }) {
|
|
2004
2028
|
const o = a, i = {
|
|
2005
2029
|
"--select-grid-columns": typeof n == "number" ? `repeat(${n}, minmax(0, 1fr))` : n,
|
|
2006
2030
|
gap: ze[l],
|
|
@@ -2008,26 +2032,26 @@ function c1({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collap
|
|
|
2008
2032
|
};
|
|
2009
2033
|
return /* @__PURE__ */ e(o, { ...d, className: Bt("select-grid", s && `select-grid--collapse-${s}`, r), style: i, children: t });
|
|
2010
2034
|
}
|
|
2011
|
-
const
|
|
2035
|
+
const gc = {
|
|
2012
2036
|
surface: "var(--select-surface)",
|
|
2013
2037
|
"surface-secondary": "var(--select-card-muted)",
|
|
2014
2038
|
"surface-sunken": "var(--select-surface-sunken)",
|
|
2015
2039
|
card: "var(--select-card-bg)",
|
|
2016
2040
|
transparent: "transparent"
|
|
2017
|
-
},
|
|
2041
|
+
}, bc = {
|
|
2018
2042
|
sm: "var(--select-radius-sm)",
|
|
2019
2043
|
base: "var(--select-radius)",
|
|
2020
2044
|
lg: "var(--select-radius-lg)",
|
|
2021
2045
|
card: "var(--select-radius-card)",
|
|
2022
2046
|
full: "999px"
|
|
2023
2047
|
};
|
|
2024
|
-
function
|
|
2048
|
+
function xc({ children: t, padding: n, paddingInline: l, paddingBlock: c, background: s, borderRadius: a, border: r = !1, shadow: d = !1, width: o, minHeight: i, as: u = "div", className: h, style: f, ...g }) {
|
|
2025
2049
|
const v = u, x = {
|
|
2026
2050
|
padding: n ? ze[n] : void 0,
|
|
2027
2051
|
paddingInline: l ? ze[l] : void 0,
|
|
2028
2052
|
paddingBlock: c ? ze[c] : void 0,
|
|
2029
|
-
background: s ?
|
|
2030
|
-
borderRadius: a ?
|
|
2053
|
+
background: s ? gc[s] : void 0,
|
|
2054
|
+
borderRadius: a ? bc[a] : void 0,
|
|
2031
2055
|
border: r ? "1px solid var(--select-border)" : void 0,
|
|
2032
2056
|
boxShadow: d ? "var(--select-shadow-card)" : void 0,
|
|
2033
2057
|
width: o,
|
|
@@ -2048,7 +2072,7 @@ function Xe({ children: t, as: n = "p", variant: l = "bodyMd", tone: c, fontWeig
|
|
|
2048
2072
|
].filter(Boolean).join(" ");
|
|
2049
2073
|
return /* @__PURE__ */ e(u, { ...i, className: h, style: a ? { textAlign: a } : void 0, children: t });
|
|
2050
2074
|
}
|
|
2051
|
-
const
|
|
2075
|
+
const on = "https://cdn.selectwin.io/public/payicons", rn = {
|
|
2052
2076
|
visa: "visa",
|
|
2053
2077
|
mastercard: "mastercard",
|
|
2054
2078
|
master: "mastercard",
|
|
@@ -2066,7 +2090,7 @@ const rn = "https://cdn.selectwin.io/public/payicons", dn = {
|
|
|
2066
2090
|
diners: "dinersclub",
|
|
2067
2091
|
"diners-club": "dinersclub",
|
|
2068
2092
|
dinersclub: "dinersclub"
|
|
2069
|
-
},
|
|
2093
|
+
}, yc = {
|
|
2070
2094
|
pix: "pix",
|
|
2071
2095
|
billet: "boleto",
|
|
2072
2096
|
boleto: "boleto",
|
|
@@ -2079,12 +2103,12 @@ const rn = "https://cdn.selectwin.io/public/payicons", dn = {
|
|
|
2079
2103
|
boleto: "Boleto bancário",
|
|
2080
2104
|
nupay: "Nupay"
|
|
2081
2105
|
};
|
|
2082
|
-
function
|
|
2106
|
+
function dn(t) {
|
|
2083
2107
|
if (!t) return null;
|
|
2084
2108
|
const n = t.toLowerCase().trim().replace(/\s+/g, "-");
|
|
2085
|
-
return
|
|
2109
|
+
return rn[n] ?? rn[n.replace(/-/g, "")] ?? null;
|
|
2086
2110
|
}
|
|
2087
|
-
function
|
|
2111
|
+
function a1({
|
|
2088
2112
|
method: t,
|
|
2089
2113
|
cardBrand: n,
|
|
2090
2114
|
/** Chip height in px; width is derived to a card aspect ratio (1.2). Default 24×29. */
|
|
@@ -2097,15 +2121,15 @@ function s1({
|
|
|
2097
2121
|
* method/brand text everywhere the label renders (chip title, alt, showLabel, fallback). */
|
|
2098
2122
|
label: a
|
|
2099
2123
|
}) {
|
|
2100
|
-
const r =
|
|
2124
|
+
const r = dn(n) ?? (t ? yc[t] : null), d = a || n || (t ? _t[t] : void 0) || t || "—";
|
|
2101
2125
|
if (!r)
|
|
2102
2126
|
return /* @__PURE__ */ e(Xe, { as: "span", tone: "subdued", variant: "bodySm", children: a || t && _t[t] || n || t || "—" });
|
|
2103
|
-
const o =
|
|
2127
|
+
const o = dn(n) == null, i = l, u = Math.round(l * 1.2);
|
|
2104
2128
|
if (s) {
|
|
2105
2129
|
const f = o ? Math.round(l * 0.7) : l, g = /* @__PURE__ */ e(
|
|
2106
2130
|
"img",
|
|
2107
2131
|
{
|
|
2108
|
-
src: `${
|
|
2132
|
+
src: `${on}/${r}.svg`,
|
|
2109
2133
|
alt: d,
|
|
2110
2134
|
title: d,
|
|
2111
2135
|
loading: "lazy",
|
|
@@ -2145,7 +2169,7 @@ function s1({
|
|
|
2145
2169
|
children: /* @__PURE__ */ e(
|
|
2146
2170
|
"img",
|
|
2147
2171
|
{
|
|
2148
|
-
src: `${
|
|
2172
|
+
src: `${on}/${r}.svg`,
|
|
2149
2173
|
alt: d,
|
|
2150
2174
|
loading: "lazy",
|
|
2151
2175
|
style: o ? (
|
|
@@ -2167,7 +2191,7 @@ function s1({
|
|
|
2167
2191
|
/* @__PURE__ */ e(Xe, { as: "span", variant: "bodySm", children: a || t && _t[t] || n || t })
|
|
2168
2192
|
] }) : h;
|
|
2169
2193
|
}
|
|
2170
|
-
function
|
|
2194
|
+
function cl({
|
|
2171
2195
|
content: t,
|
|
2172
2196
|
children: n,
|
|
2173
2197
|
placement: l = "top",
|
|
@@ -2191,7 +2215,7 @@ function sl({
|
|
|
2191
2215
|
}
|
|
2192
2216
|
const v = (($ = r.current) == null ? void 0 : $.firstElementChild) ?? r.current, x = d.current;
|
|
2193
2217
|
if (!v || !x) return;
|
|
2194
|
-
const N =
|
|
2218
|
+
const N = nl(
|
|
2195
2219
|
v.getBoundingClientRect(),
|
|
2196
2220
|
{ width: x.offsetWidth, height: x.offsetHeight },
|
|
2197
2221
|
l,
|
|
@@ -2235,9 +2259,9 @@ function sl({
|
|
|
2235
2259
|
] });
|
|
2236
2260
|
}
|
|
2237
2261
|
const ge = R(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: r = "ghost", active: d = !1, className: o, ...i }, u) {
|
|
2238
|
-
return /* @__PURE__ */ e(
|
|
2262
|
+
return /* @__PURE__ */ e(cl, { content: l, children: /* @__PURE__ */ e("button", { ref: u, ...i, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${r}${d ? " is-active" : ""}${o ? " " + o : ""}`, "aria-label": l, "aria-pressed": d, onClick: c, disabled: s, children: n }) });
|
|
2239
2263
|
});
|
|
2240
|
-
function
|
|
2264
|
+
function Nc({
|
|
2241
2265
|
open: t,
|
|
2242
2266
|
onToggle: n,
|
|
2243
2267
|
children: l,
|
|
@@ -2260,14 +2284,14 @@ function yc({
|
|
|
2260
2284
|
}
|
|
2261
2285
|
);
|
|
2262
2286
|
}
|
|
2263
|
-
const
|
|
2264
|
-
function
|
|
2265
|
-
const n = t.split(
|
|
2266
|
-
for (let c = 1; c < n.length; c++) l.push(n.slice(0, c).join(
|
|
2287
|
+
const Mc = 3e3, Zt = "", sl = (t, n) => t === "" ? n : t + Zt + n;
|
|
2288
|
+
function hn(t) {
|
|
2289
|
+
const n = t.split(Zt), l = [];
|
|
2290
|
+
for (let c = 1; c < n.length; c++) l.push(n.slice(0, c).join(Zt));
|
|
2267
2291
|
return l;
|
|
2268
2292
|
}
|
|
2269
|
-
const
|
|
2270
|
-
function
|
|
2293
|
+
const $c = (t) => t instanceof Date || t instanceof RegExp || t instanceof Map || t instanceof Set;
|
|
2294
|
+
function al(t) {
|
|
2271
2295
|
if (t == null) return "null";
|
|
2272
2296
|
if (Array.isArray(t)) return "array";
|
|
2273
2297
|
switch (typeof t) {
|
|
@@ -2279,29 +2303,29 @@ function ol(t) {
|
|
|
2279
2303
|
case "boolean":
|
|
2280
2304
|
return "boolean";
|
|
2281
2305
|
case "object":
|
|
2282
|
-
return
|
|
2306
|
+
return $c(t) ? "other" : "object";
|
|
2283
2307
|
default:
|
|
2284
2308
|
return "other";
|
|
2285
2309
|
}
|
|
2286
2310
|
}
|
|
2287
|
-
function
|
|
2288
|
-
const n =
|
|
2311
|
+
function Oe(t) {
|
|
2312
|
+
const n = al(t);
|
|
2289
2313
|
return n === "object" || n === "array";
|
|
2290
2314
|
}
|
|
2291
|
-
function
|
|
2292
|
-
return Array.isArray(t) ? t.map((n, l) => [String(l), n]) :
|
|
2315
|
+
function ol(t) {
|
|
2316
|
+
return Array.isArray(t) ? t.map((n, l) => [String(l), n]) : Oe(t) ? Object.entries(t) : [];
|
|
2293
2317
|
}
|
|
2294
2318
|
function pt(t) {
|
|
2295
|
-
return Array.isArray(t) ? t.length :
|
|
2319
|
+
return Array.isArray(t) ? t.length : Oe(t) ? Object.keys(t).length : 0;
|
|
2296
2320
|
}
|
|
2297
|
-
function
|
|
2321
|
+
function nn(t) {
|
|
2298
2322
|
return t == null ? "null" : typeof t == "string" ? t : t instanceof Date ? Number.isNaN(t.getTime()) ? "Invalid Date" : t.toISOString() : String(t);
|
|
2299
2323
|
}
|
|
2300
|
-
function
|
|
2324
|
+
function un(t) {
|
|
2301
2325
|
const n = pt(t), l = Array.isArray(t);
|
|
2302
2326
|
return n === 0 ? l ? "[]" : "{}" : l ? `[${n} ${n === 1 ? "item" : "itens"}]` : `{${n} ${n === 1 ? "chave" : "chaves"}}`;
|
|
2303
2327
|
}
|
|
2304
|
-
function
|
|
2328
|
+
function kc(t) {
|
|
2305
2329
|
if (typeof t != "string") return t;
|
|
2306
2330
|
const n = t.trim();
|
|
2307
2331
|
if (!n.startsWith("{") && !n.startsWith("[")) return t;
|
|
@@ -2311,17 +2335,17 @@ function $c(t) {
|
|
|
2311
2335
|
return t;
|
|
2312
2336
|
}
|
|
2313
2337
|
}
|
|
2314
|
-
function
|
|
2315
|
-
return t == null ? !0 :
|
|
2338
|
+
function wc(t) {
|
|
2339
|
+
return t == null ? !0 : Oe(t) ? pt(t) === 0 : !1;
|
|
2316
2340
|
}
|
|
2317
|
-
function
|
|
2341
|
+
function rl(t) {
|
|
2318
2342
|
try {
|
|
2319
2343
|
return JSON.stringify(t, null, 2) ?? String(t);
|
|
2320
2344
|
} catch {
|
|
2321
2345
|
return String(t);
|
|
2322
2346
|
}
|
|
2323
2347
|
}
|
|
2324
|
-
function rt(t, n, l =
|
|
2348
|
+
function rt(t, n, l = Mc) {
|
|
2325
2349
|
let c = 0, s = !1;
|
|
2326
2350
|
const a = (r, d, o, i, u) => {
|
|
2327
2351
|
if (s) return;
|
|
@@ -2332,51 +2356,51 @@ function rt(t, n, l = Nc) {
|
|
|
2332
2356
|
}
|
|
2333
2357
|
c += 1, n({ path: d, key: o, value: r, depth: i });
|
|
2334
2358
|
}
|
|
2335
|
-
if (!
|
|
2359
|
+
if (!Oe(r)) return;
|
|
2336
2360
|
const h = r;
|
|
2337
2361
|
if (u.includes(h)) return;
|
|
2338
2362
|
const f = [...u, h];
|
|
2339
|
-
for (const [g, v] of
|
|
2340
|
-
if (a(v,
|
|
2363
|
+
for (const [g, v] of ol(r))
|
|
2364
|
+
if (a(v, sl(d, g), g, i + 1, f), s) return;
|
|
2341
2365
|
};
|
|
2342
2366
|
return a(t, "", "", 0, []), { count: c, truncated: s };
|
|
2343
2367
|
}
|
|
2344
|
-
function wc(t, n) {
|
|
2345
|
-
return He(t) && n.includes(t);
|
|
2346
|
-
}
|
|
2347
2368
|
function Sc(t, n) {
|
|
2369
|
+
return Oe(t) && n.includes(t);
|
|
2370
|
+
}
|
|
2371
|
+
function Cc(t, n) {
|
|
2348
2372
|
const l = /* @__PURE__ */ new Set();
|
|
2349
2373
|
return rt(t, ({ path: c, value: s, depth: a }) => {
|
|
2350
|
-
a <= n &&
|
|
2374
|
+
a <= n && Oe(s) && pt(s) > 0 && l.add(c);
|
|
2351
2375
|
}), l;
|
|
2352
2376
|
}
|
|
2353
|
-
function
|
|
2377
|
+
function Lc(t) {
|
|
2354
2378
|
const n = [];
|
|
2355
2379
|
return rt(t, ({ path: l, value: c }) => {
|
|
2356
|
-
|
|
2380
|
+
Oe(c) && pt(c) > 0 && n.push(l);
|
|
2357
2381
|
}), n;
|
|
2358
2382
|
}
|
|
2359
|
-
const
|
|
2360
|
-
function
|
|
2383
|
+
const Ac = { matched: /* @__PURE__ */ new Set(), visible: /* @__PURE__ */ new Set(), count: 0, active: !1 };
|
|
2384
|
+
function Fc(t, n) {
|
|
2361
2385
|
const l = n.trim().toLowerCase();
|
|
2362
|
-
if (!l) return
|
|
2386
|
+
if (!l) return Ac;
|
|
2363
2387
|
const c = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
2364
2388
|
return rt(t, ({ path: a, key: r, value: d }) => {
|
|
2365
|
-
if (r.toLowerCase().includes(l) || !
|
|
2389
|
+
if (r.toLowerCase().includes(l) || !Oe(d) && nn(d).toLowerCase().includes(l)) {
|
|
2366
2390
|
c.add(a), s.add(a);
|
|
2367
|
-
for (const i of
|
|
2391
|
+
for (const i of hn(a)) s.add(i);
|
|
2368
2392
|
}
|
|
2369
2393
|
}), c.size > 0 && rt(t, ({ path: a }) => {
|
|
2370
|
-
|
|
2394
|
+
hn(a).some((r) => c.has(r)) && s.add(a);
|
|
2371
2395
|
}), { matched: c, visible: s, count: c.size, active: !0 };
|
|
2372
2396
|
}
|
|
2373
|
-
const
|
|
2374
|
-
function
|
|
2397
|
+
const pn = /("(?:\\u[a-fA-F0-9]{4}|\\[^u]|[^\\"])*"(?:\s*:)?|\btrue\b|\bfalse\b|\bnull\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g;
|
|
2398
|
+
function Bc(t) {
|
|
2375
2399
|
const n = [];
|
|
2376
2400
|
let l = 0;
|
|
2377
|
-
|
|
2401
|
+
pn.lastIndex = 0;
|
|
2378
2402
|
let c;
|
|
2379
|
-
for (; (c =
|
|
2403
|
+
for (; (c = pn.exec(t)) !== null; ) {
|
|
2380
2404
|
c.index > l && n.push({ text: t.slice(l, c.index), cls: "plain" });
|
|
2381
2405
|
const s = c[0];
|
|
2382
2406
|
let a = "num";
|
|
@@ -2384,7 +2408,7 @@ function Fc(t) {
|
|
|
2384
2408
|
}
|
|
2385
2409
|
return l < t.length && n.push({ text: t.slice(l), cls: "plain" }), n;
|
|
2386
2410
|
}
|
|
2387
|
-
function
|
|
2411
|
+
function Ec(t, n) {
|
|
2388
2412
|
const l = n.trim();
|
|
2389
2413
|
if (!l) return [{ text: t, hit: !1 }];
|
|
2390
2414
|
const c = t.toLowerCase(), s = l.toLowerCase(), a = [];
|
|
@@ -2399,7 +2423,7 @@ function Bc(t, n) {
|
|
|
2399
2423
|
}
|
|
2400
2424
|
return a.length > 0 ? a : [{ text: t, hit: !1 }];
|
|
2401
2425
|
}
|
|
2402
|
-
function
|
|
2426
|
+
function Ic(t, n) {
|
|
2403
2427
|
const l = n.trim().toLowerCase();
|
|
2404
2428
|
if (!l) return 0;
|
|
2405
2429
|
const c = t.toLowerCase();
|
|
@@ -2408,7 +2432,7 @@ function Ec(t, n) {
|
|
|
2408
2432
|
s += 1, a = c.indexOf(l, a + l.length);
|
|
2409
2433
|
return s;
|
|
2410
2434
|
}
|
|
2411
|
-
const
|
|
2435
|
+
const mn = 320, Pc = 12e4, Rc = {
|
|
2412
2436
|
string: "str",
|
|
2413
2437
|
number: "num",
|
|
2414
2438
|
boolean: "bool",
|
|
@@ -2418,11 +2442,11 @@ const fn = 320, Ic = 12e4, Pc = {
|
|
|
2418
2442
|
array: "plain"
|
|
2419
2443
|
};
|
|
2420
2444
|
function St({ text: t, term: n }) {
|
|
2421
|
-
return n.trim() ? /* @__PURE__ */ e(ae, { children:
|
|
2422
|
-
(l, c) => l.hit ? /* @__PURE__ */ e("mark", { className: "select-json__hit", children: l.text }, c) : /* @__PURE__ */ e(
|
|
2445
|
+
return n.trim() ? /* @__PURE__ */ e(ae, { children: Ec(t, n).map(
|
|
2446
|
+
(l, c) => l.hit ? /* @__PURE__ */ e("mark", { className: "select-json__hit", children: l.text }, c) : /* @__PURE__ */ e(Ut, { children: l.text }, c)
|
|
2423
2447
|
) }) : /* @__PURE__ */ e(ae, { children: t });
|
|
2424
2448
|
}
|
|
2425
|
-
function
|
|
2449
|
+
function Dc(t = 1400) {
|
|
2426
2450
|
const [n, l] = D(null), c = q(void 0);
|
|
2427
2451
|
le(() => () => window.clearTimeout(c.current), []);
|
|
2428
2452
|
const s = Te(
|
|
@@ -2434,15 +2458,15 @@ function Rc(t = 1400) {
|
|
|
2434
2458
|
);
|
|
2435
2459
|
return [n, s];
|
|
2436
2460
|
}
|
|
2437
|
-
function
|
|
2438
|
-
const c =
|
|
2439
|
-
return /* @__PURE__ */ m("span", { className: `select-json__v select-json__v--${
|
|
2461
|
+
function il({ value: t, term: n, forceFull: l }) {
|
|
2462
|
+
const c = al(t), s = nn(t), a = !l && s.length > mn, r = a ? `${s.slice(0, mn)}…` : s, d = c === "string";
|
|
2463
|
+
return /* @__PURE__ */ m("span", { className: `select-json__v select-json__v--${Rc[c]}`, title: a ? s : void 0, children: [
|
|
2440
2464
|
d && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' }),
|
|
2441
2465
|
/* @__PURE__ */ e(St, { text: r, term: n }),
|
|
2442
2466
|
d && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' })
|
|
2443
2467
|
] });
|
|
2444
2468
|
}
|
|
2445
|
-
function
|
|
2469
|
+
function dl({
|
|
2446
2470
|
value: t,
|
|
2447
2471
|
path: n,
|
|
2448
2472
|
depth: l,
|
|
@@ -2450,11 +2474,11 @@ function hl({
|
|
|
2450
2474
|
ctx: s
|
|
2451
2475
|
}) {
|
|
2452
2476
|
const a = s.result.active, r = Array.isArray(t);
|
|
2453
|
-
return /* @__PURE__ */ e(ae, { children:
|
|
2454
|
-
const i =
|
|
2477
|
+
return /* @__PURE__ */ e(ae, { children: ol(t).map(([d, o]) => {
|
|
2478
|
+
const i = sl(n, d);
|
|
2455
2479
|
if (a && !s.result.visible.has(i)) return null;
|
|
2456
|
-
const u =
|
|
2457
|
-
return /* @__PURE__ */ m(
|
|
2480
|
+
const u = Sc(o, c), h = Oe(o) && !u, f = h && pt(o) > 0, g = a ? !0 : s.expanded.has(i), v = s.result.matched.has(i), x = `row:${i}`;
|
|
2481
|
+
return /* @__PURE__ */ m(Ut, { children: [
|
|
2458
2482
|
/* @__PURE__ */ m(
|
|
2459
2483
|
"div",
|
|
2460
2484
|
{
|
|
@@ -2478,8 +2502,8 @@ function hl({
|
|
|
2478
2502
|
u ? /* @__PURE__ */ e("span", { className: "select-json__v select-json__v--other", children: "[referência circular]" }) : f ? (
|
|
2479
2503
|
// The summary doubles as a second hit-target for the caret; `tabIndex={-1}`
|
|
2480
2504
|
// keeps it out of the tab order (the caret is already the focusable control).
|
|
2481
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(i), children:
|
|
2482
|
-
) : h ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children:
|
|
2505
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(i), children: un(o) })
|
|
2506
|
+
) : h ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children: un(o) }) : /* @__PURE__ */ e(il, { value: o, term: s.search, forceFull: v })
|
|
2483
2507
|
] }),
|
|
2484
2508
|
/* @__PURE__ */ e(
|
|
2485
2509
|
"button",
|
|
@@ -2488,31 +2512,31 @@ function hl({
|
|
|
2488
2512
|
className: "select-json__copy",
|
|
2489
2513
|
"aria-label": `Copiar ${d}`,
|
|
2490
2514
|
title: s.copied === x ? "Copiado!" : "Copiar valor",
|
|
2491
|
-
onClick: () => s.copy(x, h ?
|
|
2492
|
-
children: s.copied === x ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(
|
|
2515
|
+
onClick: () => s.copy(x, h ? rl(o) : nn(o)),
|
|
2516
|
+
children: s.copied === x ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(Kt, {})
|
|
2493
2517
|
}
|
|
2494
2518
|
)
|
|
2495
2519
|
]
|
|
2496
2520
|
}
|
|
2497
2521
|
),
|
|
2498
|
-
f && g && /* @__PURE__ */ e(
|
|
2522
|
+
f && g && /* @__PURE__ */ e(dl, { value: o, path: i, depth: l + 1, ancestors: [...c, o], ctx: s })
|
|
2499
2523
|
] }, i);
|
|
2500
2524
|
}) });
|
|
2501
2525
|
}
|
|
2502
|
-
function
|
|
2503
|
-
const l = xe(() => t.length >
|
|
2526
|
+
function Tc({ text: t, term: n }) {
|
|
2527
|
+
const l = xe(() => t.length > Pc ? null : Bc(t), [t]);
|
|
2504
2528
|
return l ? /* @__PURE__ */ e("pre", { className: "select-json__pre", children: l.map((c, s) => /* @__PURE__ */ e("span", { className: `select-json__v--${c.cls}`, children: /* @__PURE__ */ e(St, { text: c.text, term: n }) }, s)) }) : /* @__PURE__ */ e("pre", { className: "select-json__pre", children: /* @__PURE__ */ e(St, { text: t, term: n }) });
|
|
2505
2529
|
}
|
|
2506
|
-
const
|
|
2507
|
-
const [h, f] = D(s), [g, v] = D("tree"), [x, N] = D(""), [$, _] = D(/* @__PURE__ */ new Set()), [p, b] =
|
|
2508
|
-
() => typeof n == "string" && k === n ? n :
|
|
2530
|
+
const o1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: r = !0, emptyLabel: d = "Sem dados", className: o, ...i }, u) {
|
|
2531
|
+
const [h, f] = D(s), [g, v] = D("tree"), [x, N] = D(""), [$, _] = D(/* @__PURE__ */ new Set()), [p, b] = Dc(), S = q(null), k = xe(() => kc(n), [n]), M = wc(k), w = xe(
|
|
2532
|
+
() => typeof n == "string" && k === n ? n : rl(k),
|
|
2509
2533
|
[n, k]
|
|
2510
2534
|
), y = xe(() => rt(k, () => {
|
|
2511
|
-
}).truncated, [k]), C = g === "tree" && !y, L = xe(() => y ? [] :
|
|
2535
|
+
}).truncated, [k]), C = g === "tree" && !y, L = xe(() => y ? [] : Lc(k), [k, y]);
|
|
2512
2536
|
le(() => {
|
|
2513
|
-
_(y ? /* @__PURE__ */ new Set() :
|
|
2537
|
+
_(y ? /* @__PURE__ */ new Set() : Cc(k, a)), N("");
|
|
2514
2538
|
}, [k, a, y]);
|
|
2515
|
-
const B = xe(() =>
|
|
2539
|
+
const B = xe(() => Fc(k, C ? x : ""), [k, x, C]), A = x.trim().length > 0, F = C ? B.count : Ic(w, x);
|
|
2516
2540
|
le(() => {
|
|
2517
2541
|
var Z, G;
|
|
2518
2542
|
!h || !A || (G = (Z = S.current) == null ? void 0 : Z.querySelector(".select-json__hit")) == null || G.scrollIntoView({ block: "nearest" });
|
|
@@ -2526,12 +2550,12 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2526
2550
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-json${o ? " " + o : ""}`, children: [
|
|
2527
2551
|
/* @__PURE__ */ m("div", { className: "select-json__head", children: [
|
|
2528
2552
|
/* @__PURE__ */ e(Xe, { as: "h2", variant: "headingSm", children: l }),
|
|
2529
|
-
/* @__PURE__ */ e(
|
|
2553
|
+
/* @__PURE__ */ e(Nc, { open: W, onToggle: () => f((Z) => !Z), openLabel: "Ocultar", disabled: M, children: M ? d : "Mostrar" })
|
|
2530
2554
|
] }),
|
|
2531
2555
|
W && /* @__PURE__ */ m("div", { className: "select-json__body", children: [
|
|
2532
2556
|
/* @__PURE__ */ m("div", { className: "select-json__toolbar", children: [
|
|
2533
2557
|
r ? /* @__PURE__ */ m(ae, { children: [
|
|
2534
|
-
/* @__PURE__ */ e("span", { className: "select-json__searchicon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
2558
|
+
/* @__PURE__ */ e("span", { className: "select-json__searchicon", "aria-hidden": "true", children: /* @__PURE__ */ e(Xt, {}) }),
|
|
2535
2559
|
/* @__PURE__ */ e(
|
|
2536
2560
|
"input",
|
|
2537
2561
|
{
|
|
@@ -2548,7 +2572,7 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2548
2572
|
C && L.length > 0 && !A && /* @__PURE__ */ e(
|
|
2549
2573
|
ge,
|
|
2550
2574
|
{
|
|
2551
|
-
icon: /* @__PURE__ */ e(
|
|
2575
|
+
icon: /* @__PURE__ */ e(On, {}),
|
|
2552
2576
|
label: T ? "Recolher tudo" : "Expandir tudo",
|
|
2553
2577
|
size: "sm",
|
|
2554
2578
|
active: T,
|
|
@@ -2558,7 +2582,7 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2558
2582
|
/* @__PURE__ */ e(
|
|
2559
2583
|
ge,
|
|
2560
2584
|
{
|
|
2561
|
-
icon: /* @__PURE__ */ e(
|
|
2585
|
+
icon: /* @__PURE__ */ e(Hl, {}),
|
|
2562
2586
|
label: y ? "Árvore indisponível: JSON muito grande" : g === "raw" ? "Ver árvore" : "Ver JSON bruto",
|
|
2563
2587
|
size: "sm",
|
|
2564
2588
|
active: g === "raw" || y,
|
|
@@ -2569,7 +2593,7 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2569
2593
|
/* @__PURE__ */ e(
|
|
2570
2594
|
ge,
|
|
2571
2595
|
{
|
|
2572
|
-
icon: p === "all" ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(
|
|
2596
|
+
icon: p === "all" ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(zl, {}),
|
|
2573
2597
|
label: p === "all" ? "Copiado!" : "Copiar JSON",
|
|
2574
2598
|
size: "sm",
|
|
2575
2599
|
active: p === "all",
|
|
@@ -2581,21 +2605,21 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2581
2605
|
"Nenhuma chave ou valor corresponde a “",
|
|
2582
2606
|
x.trim(),
|
|
2583
2607
|
"”."
|
|
2584
|
-
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children:
|
|
2608
|
+
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: Oe(k) ? /* @__PURE__ */ e(dl, { value: k, path: "", depth: 0, ancestors: [k], ctx: O }) : /* @__PURE__ */ m("div", { className: "select-json__row", style: { "--json-depth": 0 }, children: [
|
|
2585
2609
|
/* @__PURE__ */ e("span", { className: "select-json__caret select-json__caret--empty", "aria-hidden": "true" }),
|
|
2586
|
-
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(
|
|
2587
|
-
] }) }) : /* @__PURE__ */ e(
|
|
2610
|
+
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(il, { value: k, term: x, forceFull: !0 }) })
|
|
2611
|
+
] }) }) : /* @__PURE__ */ e(Tc, { text: w, term: x }) })
|
|
2588
2612
|
] })
|
|
2589
2613
|
] });
|
|
2590
|
-
}),
|
|
2614
|
+
}), Wc = {
|
|
2591
2615
|
success: "var(--select-success-text)",
|
|
2592
2616
|
critical: "var(--select-danger-text)",
|
|
2593
2617
|
warning: "var(--select-warning-text)",
|
|
2594
2618
|
info: "var(--select-info-text)",
|
|
2595
2619
|
default: "var(--select-text-secondary)"
|
|
2596
|
-
},
|
|
2620
|
+
}, r1 = R(function({ items: n, className: l, ...c }, s) {
|
|
2597
2621
|
var d;
|
|
2598
|
-
const a = n.length ? ((d = n[0]) == null ? void 0 : d.tone) ?? "default" : "default", r = { "--tl-final":
|
|
2622
|
+
const a = n.length ? ((d = n[0]) == null ? void 0 : d.tone) ?? "default" : "default", r = { "--tl-final": Wc[a] };
|
|
2599
2623
|
return /* @__PURE__ */ e("ul", { ref: s, ...c, className: `select-timeline${l ? " " + l : ""}`, style: r, children: n.map((o, i) => /* @__PURE__ */ m("li", { className: "select-timeline__item", children: [
|
|
2600
2624
|
/* @__PURE__ */ e("span", { className: `select-timeline__dot${i === 0 ? " select-timeline__dot--final" : ""}`, "aria-hidden": "true" }),
|
|
2601
2625
|
/* @__PURE__ */ m("div", { className: "select-timeline__body", children: [
|
|
@@ -2607,20 +2631,20 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2607
2631
|
o.content != null && /* @__PURE__ */ e("div", { className: "select-timeline__content", children: o.content })
|
|
2608
2632
|
] })
|
|
2609
2633
|
] }, i)) });
|
|
2610
|
-
}),
|
|
2634
|
+
}), Oc = R(function({ children: n, onClick: l, disabled: c = !1, tone: s = "default", className: a, ...r }, d) {
|
|
2611
2635
|
return /* @__PURE__ */ e("button", { ref: d, ...r, type: "button", className: `select-linkbtn${s === "critical" ? " select-linkbtn--critical" : ""}${a ? " " + a : ""}`, onClick: l, disabled: c, children: n });
|
|
2612
|
-
}),
|
|
2636
|
+
}), i1 = R(function({ children: n, className: l, ...c }, s) {
|
|
2613
2637
|
return n == null ? /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-divider select-divider--plain${l ? " " + l : ""}`, role: "separator" }) : /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-divider${l ? " " + l : ""}`, children: n });
|
|
2614
|
-
}),
|
|
2638
|
+
}), Hc = R(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: r, ...d }, o) {
|
|
2615
2639
|
var u, h;
|
|
2616
2640
|
const i = ((h = (u = n == null ? void 0 : n.trim()) == null ? void 0 : u[0]) == null ? void 0 : h.toUpperCase()) ?? "?";
|
|
2617
2641
|
return /* @__PURE__ */ e("span", { ref: o, ...d, className: `select-avatar${s ? " select-avatar--dashed" : ""}${a ? " select-avatar--round" : ""}${r ? " " + r : ""}`, "aria-hidden": "true", children: l ? /* @__PURE__ */ e("img", { src: l, alt: "", className: "select-avatar__img" }) : c ? /* @__PURE__ */ e("span", { className: "select-avatar__icon", children: c }) : /* @__PURE__ */ e("span", { className: "select-avatar__initial", children: i }) });
|
|
2618
2642
|
});
|
|
2619
|
-
function
|
|
2643
|
+
function hl() {
|
|
2620
2644
|
var t;
|
|
2621
2645
|
return typeof window < "u" && !!((t = window.matchMedia) != null && t.call(window, "(prefers-reduced-motion: reduce)").matches);
|
|
2622
2646
|
}
|
|
2623
|
-
const
|
|
2647
|
+
const ul = () => typeof IntersectionObserver < "u";
|
|
2624
2648
|
function Et(t = {}) {
|
|
2625
2649
|
const n = q(null), l = q(t);
|
|
2626
2650
|
return l.current = t, Be(() => {
|
|
@@ -2638,7 +2662,7 @@ function Et(t = {}) {
|
|
|
2638
2662
|
once: f = !0,
|
|
2639
2663
|
enabled: g = !0
|
|
2640
2664
|
} = l.current;
|
|
2641
|
-
if (!g ||
|
|
2665
|
+
if (!g || hl()) return;
|
|
2642
2666
|
const v = s ? Array.from(c.querySelectorAll(s)) : [], x = v.length ? v : [c], N = { opacity: 0, y: a, ...r !== 1 ? { scale: r } : {} };
|
|
2643
2667
|
let $;
|
|
2644
2668
|
const _ = () => {
|
|
@@ -2653,7 +2677,7 @@ function Et(t = {}) {
|
|
|
2653
2677
|
clearProps: "transform"
|
|
2654
2678
|
});
|
|
2655
2679
|
};
|
|
2656
|
-
if (!h || !
|
|
2680
|
+
if (!h || !ul())
|
|
2657
2681
|
return _(), () => $ == null ? void 0 : $.kill();
|
|
2658
2682
|
Me.set(x, N);
|
|
2659
2683
|
const p = new IntersectionObserver(
|
|
@@ -2668,7 +2692,7 @@ function Et(t = {}) {
|
|
|
2668
2692
|
};
|
|
2669
2693
|
}, []), n;
|
|
2670
2694
|
}
|
|
2671
|
-
function
|
|
2695
|
+
function jc(t) {
|
|
2672
2696
|
const n = q(null), l = q(t);
|
|
2673
2697
|
return l.current = t, Be(() => {
|
|
2674
2698
|
const c = n.current;
|
|
@@ -2684,7 +2708,7 @@ function Hc(t) {
|
|
|
2684
2708
|
enabled: h = !0
|
|
2685
2709
|
} = l.current;
|
|
2686
2710
|
if (!h) return;
|
|
2687
|
-
if (
|
|
2711
|
+
if (hl()) {
|
|
2688
2712
|
c.textContent = o(s);
|
|
2689
2713
|
return;
|
|
2690
2714
|
}
|
|
@@ -2700,7 +2724,7 @@ function Hc(t) {
|
|
|
2700
2724
|
}
|
|
2701
2725
|
});
|
|
2702
2726
|
};
|
|
2703
|
-
if (!i || !
|
|
2727
|
+
if (!i || !ul())
|
|
2704
2728
|
return v(), () => g == null ? void 0 : g.kill();
|
|
2705
2729
|
c.textContent = o(a);
|
|
2706
2730
|
const x = new IntersectionObserver(
|
|
@@ -2715,11 +2739,11 @@ function Hc(t) {
|
|
|
2715
2739
|
};
|
|
2716
2740
|
}, [t.value]), n;
|
|
2717
2741
|
}
|
|
2718
|
-
function
|
|
2742
|
+
function d1({ children: t, className: n, ...l }) {
|
|
2719
2743
|
const c = Et({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
2720
2744
|
return /* @__PURE__ */ e("div", { ...l, className: `select-optionlist${n ? " " + n : ""}`, ref: c, children: t });
|
|
2721
2745
|
}
|
|
2722
|
-
function
|
|
2746
|
+
function h1({
|
|
2723
2747
|
title: t,
|
|
2724
2748
|
subtitle: n,
|
|
2725
2749
|
leading: l,
|
|
@@ -2737,7 +2761,7 @@ function d1({
|
|
|
2737
2761
|
] }), i = `select-optionrow${a ? " select-optionrow--muted" : ""}`;
|
|
2738
2762
|
return r ? /* @__PURE__ */ e("button", { type: "button", className: i, onClick: s, children: o }) : /* @__PURE__ */ e("div", { className: i, children: o });
|
|
2739
2763
|
}
|
|
2740
|
-
const
|
|
2764
|
+
const u1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...r }, d) {
|
|
2741
2765
|
return /* @__PURE__ */ m("span", { ref: d, ...r, className: `select-identity${a ? " " + a : ""}`, children: [
|
|
2742
2766
|
/* @__PURE__ */ m("span", { className: "select-identity__text", children: [
|
|
2743
2767
|
s,
|
|
@@ -2746,7 +2770,7 @@ const h1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
2746
2770
|
] }),
|
|
2747
2771
|
l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
|
|
2748
2772
|
] });
|
|
2749
|
-
}),
|
|
2773
|
+
}), p1 = R(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: r = !1, className: d, ...o }, i) {
|
|
2750
2774
|
const u = q([]), h = Array.from({ length: c }, (_, p) => n[p] ?? ""), f = (_) => {
|
|
2751
2775
|
var p;
|
|
2752
2776
|
return (p = u.current[_]) == null ? void 0 : p.focus();
|
|
@@ -2803,18 +2827,18 @@ const h1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
2803
2827
|
p
|
|
2804
2828
|
)) });
|
|
2805
2829
|
});
|
|
2806
|
-
function
|
|
2830
|
+
function m1({
|
|
2807
2831
|
children: t = "Voltar",
|
|
2808
2832
|
onClick: n,
|
|
2809
2833
|
href: l
|
|
2810
2834
|
}) {
|
|
2811
2835
|
const c = /* @__PURE__ */ m(ae, { children: [
|
|
2812
|
-
/* @__PURE__ */ e(
|
|
2836
|
+
/* @__PURE__ */ e(Tn, {}),
|
|
2813
2837
|
/* @__PURE__ */ e("span", { children: t })
|
|
2814
2838
|
] });
|
|
2815
2839
|
return l ? /* @__PURE__ */ e("a", { className: "select-backlink", href: l, children: c }) : /* @__PURE__ */ e("button", { type: "button", className: "select-backlink", onClick: n, children: c });
|
|
2816
2840
|
}
|
|
2817
|
-
const
|
|
2841
|
+
const f1 = R(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, r) {
|
|
2818
2842
|
const [d, o] = D(l);
|
|
2819
2843
|
le(() => {
|
|
2820
2844
|
if (d <= 0) return;
|
|
@@ -2825,30 +2849,30 @@ const m1 = R(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar c
|
|
|
2825
2849
|
d > 0 || (n(), o(l));
|
|
2826
2850
|
}, [d, n, l]), u = d > 0, h = u ? `Reenviar em 0:${String(d).padStart(2, "0")}` : c;
|
|
2827
2851
|
return /* @__PURE__ */ e("button", { ref: r, ...a, type: "button", className: `select-resend${s ? " " + s : ""}`, onClick: i, disabled: u, children: h });
|
|
2828
|
-
}),
|
|
2852
|
+
}), fn = [
|
|
2829
2853
|
{ label: "Muito fraca", cls: "is-0" },
|
|
2830
2854
|
{ label: "Fraca", cls: "is-1" },
|
|
2831
2855
|
{ label: "Razoável", cls: "is-2" },
|
|
2832
2856
|
{ label: "Forte", cls: "is-3" },
|
|
2833
2857
|
{ label: "Excelente", cls: "is-4" }
|
|
2834
2858
|
];
|
|
2835
|
-
function
|
|
2859
|
+
function Vc(t) {
|
|
2836
2860
|
if (!t) return 0;
|
|
2837
2861
|
let n = 0;
|
|
2838
2862
|
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);
|
|
2839
2863
|
}
|
|
2840
|
-
const
|
|
2841
|
-
const a =
|
|
2864
|
+
const _1 = R(function({ value: n, className: l, ...c }, s) {
|
|
2865
|
+
const a = Vc(n), r = fn[a] ?? fn[0];
|
|
2842
2866
|
return /* @__PURE__ */ m("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
|
|
2843
2867
|
/* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${r.cls}`, children: [0, 1, 2, 3].map((d) => /* @__PURE__ */ e("span", { className: `select-strength__bar${d < a ? " is-on" : ""}` }, d)) }),
|
|
2844
2868
|
n && /* @__PURE__ */ e("span", { className: "select-strength__label", children: r.label })
|
|
2845
2869
|
] });
|
|
2846
|
-
}),
|
|
2870
|
+
}), Zc = R(function({ label: n, mark: l, className: c, ...s }, a) {
|
|
2847
2871
|
return /* @__PURE__ */ m("div", { ref: a, ...s, className: `select-loader${c ? " " + c : ""}`, role: "status", "aria-live": "polite", children: [
|
|
2848
2872
|
l != null ? /* @__PURE__ */ e("span", { className: "select-loader__mark", "aria-hidden": "true", children: l }) : /* @__PURE__ */ e("span", { className: "select-loader__spinner", "aria-hidden": "true" }),
|
|
2849
2873
|
n && /* @__PURE__ */ e("span", { className: "select-loader__label", children: n })
|
|
2850
2874
|
] });
|
|
2851
|
-
}),
|
|
2875
|
+
}), Gc = R(function({ title: n, subtitle: l, primaryAction: c, secondaryActions: s, headerActions: a, backAction: r, children: d, className: o, ...i }, u) {
|
|
2852
2876
|
const h = !!c || s && s.length > 0 || !!a, f = r || n || l || h;
|
|
2853
2877
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select select-page${o ? " " + o : ""}`, children: [
|
|
2854
2878
|
f && /* @__PURE__ */ m("div", { className: "select-page__header", children: [
|
|
@@ -2860,7 +2884,7 @@ const f1 = R(function({ value: n, className: l, ...c }, s) {
|
|
|
2860
2884
|
className: "select-page__back",
|
|
2861
2885
|
onClick: r.onAction,
|
|
2862
2886
|
"aria-label": r.content ?? "Voltar",
|
|
2863
|
-
children: /* @__PURE__ */ e(
|
|
2887
|
+
children: /* @__PURE__ */ e(Tn, {})
|
|
2864
2888
|
}
|
|
2865
2889
|
),
|
|
2866
2890
|
/* @__PURE__ */ m("div", { className: "select-page__head", children: [
|
|
@@ -2902,48 +2926,48 @@ const f1 = R(function({ value: n, className: l, ...c }, s) {
|
|
|
2902
2926
|
d
|
|
2903
2927
|
] });
|
|
2904
2928
|
});
|
|
2905
|
-
function
|
|
2929
|
+
function Uc({ children: t }) {
|
|
2906
2930
|
return /* @__PURE__ */ e("div", { className: "select-formlayout", children: t });
|
|
2907
2931
|
}
|
|
2908
|
-
function
|
|
2932
|
+
function qc({ children: t, columns: n = 2 }) {
|
|
2909
2933
|
return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
|
|
2910
2934
|
}
|
|
2911
|
-
const
|
|
2912
|
-
function
|
|
2935
|
+
const v1 = Object.assign(Uc, { Group: qc });
|
|
2936
|
+
function _n({ lines: t = 3 }) {
|
|
2913
2937
|
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)) });
|
|
2914
2938
|
}
|
|
2915
|
-
function
|
|
2939
|
+
function Yc({ size: t = "medium" }) {
|
|
2916
2940
|
return /* @__PURE__ */ e("div", { className: `select-skeleton select-skel-display select-skel-display--${t}` });
|
|
2917
2941
|
}
|
|
2918
|
-
function
|
|
2942
|
+
function zc({ size: t = "medium" }) {
|
|
2919
2943
|
return /* @__PURE__ */ e("div", { className: `select-skeleton select-skel-thumb select-skel-thumb--${t}` });
|
|
2920
2944
|
}
|
|
2921
|
-
function
|
|
2945
|
+
function Xc({ height: t = 240 }) {
|
|
2922
2946
|
return /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-block", style: { height: t } });
|
|
2923
2947
|
}
|
|
2924
|
-
const
|
|
2948
|
+
const g1 = Object.assign(
|
|
2925
2949
|
function({ lines: n }) {
|
|
2926
|
-
return /* @__PURE__ */ e(
|
|
2950
|
+
return /* @__PURE__ */ e(_n, { lines: n });
|
|
2927
2951
|
},
|
|
2928
|
-
{ Body:
|
|
2929
|
-
),
|
|
2930
|
-
function
|
|
2952
|
+
{ Body: _n, Display: Yc, Thumbnail: zc, Block: Xc }
|
|
2953
|
+
), Kc = { sm: "1rem", md: "1.25rem", lg: "1.5rem" };
|
|
2954
|
+
function b1({
|
|
2931
2955
|
source: t,
|
|
2932
2956
|
tone: n = "inherit",
|
|
2933
2957
|
size: l = "md"
|
|
2934
2958
|
}) {
|
|
2935
2959
|
const c = ["select-icon", n !== "inherit" && n !== "base" ? `select-icon--${n}` : ""].filter(Boolean).join(" ");
|
|
2936
|
-
return /* @__PURE__ */ e("span", { className: c, style: { "--select-icon-size":
|
|
2960
|
+
return /* @__PURE__ */ e("span", { className: c, style: { "--select-icon-size": Kc[l] }, "aria-hidden": "true", children: /* @__PURE__ */ e(t, {}) });
|
|
2937
2961
|
}
|
|
2938
|
-
const
|
|
2939
|
-
const d = l === "warning" || l === "critical" ? /* @__PURE__ */ e(
|
|
2962
|
+
const x1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, r) {
|
|
2963
|
+
const d = l === "warning" || l === "critical" ? /* @__PURE__ */ e(Ol, {}) : /* @__PURE__ */ e(Jt, {});
|
|
2940
2964
|
return /* @__PURE__ */ m("div", { ref: r, ...a, className: `select-note select-note--${l}${s ? " " + s : ""}`, children: [
|
|
2941
2965
|
!c && /* @__PURE__ */ e("span", { className: "select-note__icon", children: d }),
|
|
2942
2966
|
/* @__PURE__ */ e("span", { className: "select-note__body", children: n })
|
|
2943
2967
|
] });
|
|
2944
|
-
}),
|
|
2968
|
+
}), y1 = R(function({ children: n, className: l, ...c }, s) {
|
|
2945
2969
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-settinglist${l ? " " + l : ""}`, children: n });
|
|
2946
|
-
}),
|
|
2970
|
+
}), N1 = R(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: r, className: d, ...o }, i) {
|
|
2947
2971
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-setting${d ? " " + d : ""}`, children: [
|
|
2948
2972
|
n && /* @__PURE__ */ e("div", { className: "select-setting__control", children: n }),
|
|
2949
2973
|
/* @__PURE__ */ m("div", { className: "select-setting__main", children: [
|
|
@@ -2961,7 +2985,7 @@ const b1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2961
2985
|
))
|
|
2962
2986
|
] })
|
|
2963
2987
|
] });
|
|
2964
|
-
}),
|
|
2988
|
+
}), M1 = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: r = "default", flush: d = !1, className: o, ...i }, u) {
|
|
2965
2989
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-panel${r === "highlight" ? " select-panel--highlight" : ""}${o ? " " + o : ""}`, children: [
|
|
2966
2990
|
(n || c) && /* @__PURE__ */ m("div", { className: "select-panel__header", children: [
|
|
2967
2991
|
/* @__PURE__ */ m("div", { className: "select-panel__heading", children: [
|
|
@@ -2973,7 +2997,7 @@ const b1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2973
2997
|
a && /* @__PURE__ */ e("div", { className: `select-panel__body${d ? " select-panel__body--flush" : ""}`, children: a }),
|
|
2974
2998
|
s && /* @__PURE__ */ e("div", { className: "select-panel__footer", children: s })
|
|
2975
2999
|
] });
|
|
2976
|
-
}),
|
|
3000
|
+
}), $1 = R(function({ title: n, description: l, action: c, collapsible: s = !1, defaultOpen: a = !0, children: r, className: d, ...o }, i) {
|
|
2977
3001
|
const [u, h] = D(a);
|
|
2978
3002
|
return s ? /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-section select-section--collapsible${u ? " is-open" : ""}${d ? " " + d : ""}`, children: [
|
|
2979
3003
|
/* @__PURE__ */ m("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": u, onClick: () => h((f) => !f), children: [
|
|
@@ -2992,7 +3016,7 @@ const b1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2992
3016
|
/* @__PURE__ */ e("div", { className: "select-section__body", children: r })
|
|
2993
3017
|
] });
|
|
2994
3018
|
});
|
|
2995
|
-
function
|
|
3019
|
+
function k1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
2996
3020
|
const r = q(null), [d, o] = D({ left: 0, width: 0 });
|
|
2997
3021
|
Be(() => {
|
|
2998
3022
|
const u = r.current;
|
|
@@ -3036,16 +3060,16 @@ function $1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
|
3036
3060
|
c != null && /* @__PURE__ */ e("div", { className: "select-tabs__end", children: c })
|
|
3037
3061
|
] });
|
|
3038
3062
|
}
|
|
3039
|
-
function
|
|
3063
|
+
function pl(t, n) {
|
|
3040
3064
|
var l;
|
|
3041
|
-
return ((l = t.children) == null ? void 0 : l.some((c) => c.id === n ||
|
|
3065
|
+
return ((l = t.children) == null ? void 0 : l.some((c) => c.id === n || pl(c, n))) ?? !1;
|
|
3042
3066
|
}
|
|
3043
|
-
function
|
|
3067
|
+
function Jc({
|
|
3044
3068
|
item: t,
|
|
3045
3069
|
active: n,
|
|
3046
3070
|
onSelect: l
|
|
3047
3071
|
}) {
|
|
3048
|
-
const c =
|
|
3072
|
+
const c = pl(t, n), [s, a] = D(c);
|
|
3049
3073
|
le(() => {
|
|
3050
3074
|
a(c);
|
|
3051
3075
|
}, [c]);
|
|
@@ -3092,13 +3116,13 @@ function Kc({
|
|
|
3092
3116
|
] }) })
|
|
3093
3117
|
] });
|
|
3094
3118
|
}
|
|
3095
|
-
const
|
|
3119
|
+
const w1 = R(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...r }, d) {
|
|
3096
3120
|
return /* @__PURE__ */ m("nav", { ref: d, ...r, className: `select-sidenav${a ? " " + a : ""}`, children: [
|
|
3097
3121
|
s && /* @__PURE__ */ e("div", { className: "select-sidenav__header", children: s }),
|
|
3098
3122
|
n.map((o, i) => /* @__PURE__ */ m("div", { className: "select-sidenav__section", children: [
|
|
3099
3123
|
o.label && /* @__PURE__ */ e("div", { className: "select-sidenav__sectionlabel", children: o.label }),
|
|
3100
3124
|
o.items.map(
|
|
3101
|
-
(u) => u.children ? /* @__PURE__ */ e(
|
|
3125
|
+
(u) => u.children ? /* @__PURE__ */ e(Jc, { item: u, active: l, onSelect: c }, u.id) : /* @__PURE__ */ m(
|
|
3102
3126
|
"button",
|
|
3103
3127
|
{
|
|
3104
3128
|
type: "button",
|
|
@@ -3114,9 +3138,9 @@ const k1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3114
3138
|
)
|
|
3115
3139
|
] }, i))
|
|
3116
3140
|
] });
|
|
3117
|
-
}),
|
|
3141
|
+
}), ml = R(function({ value: n, onChange: l, placeholder: c = "Buscar…", shortcut: s, className: a, ...r }, d) {
|
|
3118
3142
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-search${a ? " " + a : ""}`, children: [
|
|
3119
|
-
/* @__PURE__ */ e("span", { className: "select-search__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3143
|
+
/* @__PURE__ */ e("span", { className: "select-search__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Xt, {}) }),
|
|
3120
3144
|
/* @__PURE__ */ e(
|
|
3121
3145
|
"input",
|
|
3122
3146
|
{
|
|
@@ -3129,8 +3153,8 @@ const k1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3129
3153
|
),
|
|
3130
3154
|
s && /* @__PURE__ */ e("kbd", { className: "select-search__kbd", children: s })
|
|
3131
3155
|
] });
|
|
3132
|
-
}),
|
|
3133
|
-
const h =
|
|
3156
|
+
}), Qc = R(function({ columns: n, children: l, empty: c, footer: s, title: a, action: r, filters: d, className: o, ...i }, u) {
|
|
3157
|
+
const h = kl.count(l) === 0, f = h && !!c, g = a != null || r != null || d != null, v = f && !g, x = Et({ selector: ".select-table__row", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 }), N = n.length ? n.map(($) => $.width ?? "minmax(var(--select-table-col-min, 6.5rem), 1fr)").join(" ") : "1fr";
|
|
3134
3158
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-table${v ? " select-table--empty" : ""}${o ? " " + o : ""}`, style: { "--select-table-cols": N }, children: [
|
|
3135
3159
|
g && /* @__PURE__ */ m("div", { className: "select-table__title", children: [
|
|
3136
3160
|
a != null && /* @__PURE__ */ e("h3", { className: "select-table__titletext", children: a }),
|
|
@@ -3163,62 +3187,62 @@ const k1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3163
3187
|
] }) }),
|
|
3164
3188
|
s && /* @__PURE__ */ e("div", { className: "select-table__footer", children: s })
|
|
3165
3189
|
] });
|
|
3166
|
-
}),
|
|
3190
|
+
}), S1 = R(function({ name: n, secondary: l, src: c, className: s, ...a }, r) {
|
|
3167
3191
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-usercell${s ? " " + s : ""}`, children: [
|
|
3168
|
-
/* @__PURE__ */ e(
|
|
3192
|
+
/* @__PURE__ */ e(Hc, { name: typeof n == "string" ? n : void 0, src: c }),
|
|
3169
3193
|
/* @__PURE__ */ m("span", { className: "select-usercell__text", children: [
|
|
3170
3194
|
/* @__PURE__ */ e("span", { className: "select-usercell__name", children: n }),
|
|
3171
3195
|
l && /* @__PURE__ */ e("span", { className: "select-usercell__secondary", children: l })
|
|
3172
3196
|
] })
|
|
3173
3197
|
] });
|
|
3174
3198
|
});
|
|
3175
|
-
function
|
|
3199
|
+
function vn({ children: t, onClick: n }) {
|
|
3176
3200
|
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 });
|
|
3177
3201
|
}
|
|
3178
|
-
const
|
|
3202
|
+
const gn = R(function({ children: n, align: l = "start", className: c, ...s }, a) {
|
|
3179
3203
|
return /* @__PURE__ */ e("div", { ref: a, ...s, role: "cell", className: `select-table__td select-table__cell--${l}${c ? " " + c : ""}`, children: n });
|
|
3180
|
-
}),
|
|
3204
|
+
}), es = R(function({ icon: n, title: l, subtitle: c, action: s, className: a, ...r }, d) {
|
|
3181
3205
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-table-empty${a ? " " + a : ""}`, children: [
|
|
3182
3206
|
n && /* @__PURE__ */ e("span", { className: "select-table-empty__icon", children: n }),
|
|
3183
3207
|
/* @__PURE__ */ e("p", { className: "select-table-empty__title", children: l }),
|
|
3184
3208
|
c && /* @__PURE__ */ e("p", { className: "select-table-empty__subtitle", children: c }),
|
|
3185
3209
|
s && /* @__PURE__ */ e("div", { className: "select-table-empty__action", children: s })
|
|
3186
3210
|
] });
|
|
3187
|
-
}),
|
|
3211
|
+
}), ts = R(function({ children: n, className: l, ...c }, s) {
|
|
3188
3212
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-menu${l ? " " + l : ""}`, role: "menu", children: n });
|
|
3189
|
-
}),
|
|
3213
|
+
}), ns = R(function({ children: n, icon: l, trailing: c, onClick: s, active: a = !1, tone: r = "default", className: d, ...o }, i) {
|
|
3190
3214
|
return /* @__PURE__ */ m("button", { ref: i, ...o, type: "button", role: "menuitem", className: `select-menu__item select-menu__item--${r}${a ? " is-active" : ""}${d ? " " + d : ""}`, onClick: s, children: [
|
|
3191
3215
|
l && /* @__PURE__ */ e("span", { className: "select-menu__icon", children: l }),
|
|
3192
3216
|
/* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
|
|
3193
3217
|
c && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: c })
|
|
3194
3218
|
] });
|
|
3195
3219
|
});
|
|
3196
|
-
function
|
|
3220
|
+
function C1() {
|
|
3197
3221
|
return /* @__PURE__ */ e("div", { className: "select-menu__divider", role: "separator" });
|
|
3198
3222
|
}
|
|
3199
|
-
const
|
|
3223
|
+
const ls = R(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3200
3224
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-menubtn${c ? " is-active" : ""}${s ? " " + s : ""}`, onClick: l, "aria-haspopup": "menu", "aria-expanded": c, children: [
|
|
3201
3225
|
/* @__PURE__ */ e("span", { children: n }),
|
|
3202
3226
|
/* @__PURE__ */ e("span", { className: "select-menubtn__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) })
|
|
3203
3227
|
] });
|
|
3204
|
-
}),
|
|
3228
|
+
}), L1 = R(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3205
3229
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
|
|
3206
3230
|
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
|
|
3207
3231
|
n
|
|
3208
3232
|
] });
|
|
3209
|
-
}),
|
|
3233
|
+
}), A1 = R(function({ label: n, value: l, href: c, onCopy: s, className: a, ...r }, d) {
|
|
3210
3234
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-copyrow${a ? " " + a : ""}`, children: [
|
|
3211
3235
|
n && /* @__PURE__ */ e("span", { className: "select-copyrow__label", children: n }),
|
|
3212
3236
|
/* @__PURE__ */ m("div", { className: "select-copyrow__value", children: [
|
|
3213
3237
|
/* @__PURE__ */ e("span", { className: "select-copyrow__text", children: l }),
|
|
3214
3238
|
/* @__PURE__ */ m("div", { className: "select-copyrow__actions", children: [
|
|
3215
|
-
c && /* @__PURE__ */ e("a", { className: "select-iconbtn select-iconbtn--sm", href: c, target: "_blank", rel: "noreferrer", "aria-label": "Abrir", title: "Abrir", children: /* @__PURE__ */ e(
|
|
3216
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
3239
|
+
c && /* @__PURE__ */ e("a", { className: "select-iconbtn select-iconbtn--sm", href: c, target: "_blank", rel: "noreferrer", "aria-label": "Abrir", title: "Abrir", children: /* @__PURE__ */ e(Wn, {}) }),
|
|
3240
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Kt, {}), label: "Copiar", onClick: () => s == null ? void 0 : s(l) })
|
|
3217
3241
|
] })
|
|
3218
3242
|
] })
|
|
3219
3243
|
] });
|
|
3220
3244
|
});
|
|
3221
|
-
function
|
|
3245
|
+
function F1({
|
|
3222
3246
|
value: t,
|
|
3223
3247
|
children: n,
|
|
3224
3248
|
truncate: l,
|
|
@@ -3233,9 +3257,9 @@ function A1({
|
|
|
3233
3257
|
return /* @__PURE__ */ m("span", { className: `select-copyid${r === "always" ? " select-copyid--always" : ""}`, children: [
|
|
3234
3258
|
a ? (
|
|
3235
3259
|
// Keep navigation isolated from any row handler; the text alone is the link target.
|
|
3236
|
-
/* @__PURE__ */ e(
|
|
3260
|
+
/* @__PURE__ */ e(wl, { className: "select-copyid__text select-copyid__link", to: a, onClick: (h) => h.stopPropagation(), children: i })
|
|
3237
3261
|
) : /* @__PURE__ */ e("span", { className: "select-copyid__text", children: i }),
|
|
3238
|
-
/* @__PURE__ */ e(
|
|
3262
|
+
/* @__PURE__ */ e(cl, { content: d ? "Copiado" : c, children: /* @__PURE__ */ e(
|
|
3239
3263
|
"button",
|
|
3240
3264
|
{
|
|
3241
3265
|
type: "button",
|
|
@@ -3246,12 +3270,12 @@ function A1({
|
|
|
3246
3270
|
});
|
|
3247
3271
|
},
|
|
3248
3272
|
"aria-label": d ? "Copiado" : c,
|
|
3249
|
-
children: d ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(
|
|
3273
|
+
children: d ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(Kt, {})
|
|
3250
3274
|
}
|
|
3251
3275
|
) })
|
|
3252
3276
|
] });
|
|
3253
3277
|
}
|
|
3254
|
-
const
|
|
3278
|
+
const B1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...r }, d) {
|
|
3255
3279
|
const [o, i] = D(c);
|
|
3256
3280
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${o ? " is-open" : ""}${a ? " " + a : ""}`, children: [
|
|
3257
3281
|
/* @__PURE__ */ m("button", { type: "button", className: "select-collapsible__header", onClick: () => i((u) => !u), "aria-expanded": o, children: [
|
|
@@ -3260,7 +3284,7 @@ const F1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3260
3284
|
] }),
|
|
3261
3285
|
/* @__PURE__ */ e("div", { className: "select-collapsible__bodywrap", children: /* @__PURE__ */ e("div", { className: "select-collapsible__bodyclip", "aria-hidden": !o, children: /* @__PURE__ */ e("div", { className: "select-collapsible__body", children: l }) }) })
|
|
3262
3286
|
] });
|
|
3263
|
-
}),
|
|
3287
|
+
}), E1 = R(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: r, ...d }, o) {
|
|
3264
3288
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-actioncard${r ? " " + r : ""}`, children: [
|
|
3265
3289
|
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Ke, {}), label: "Dispensar", onClick: a }) }),
|
|
3266
3290
|
n && /* @__PURE__ */ e("span", { className: "select-actioncard__icon", children: n }),
|
|
@@ -3270,7 +3294,7 @@ const F1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3270
3294
|
] }),
|
|
3271
3295
|
s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
|
|
3272
3296
|
] });
|
|
3273
|
-
}),
|
|
3297
|
+
}), I1 = R(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: r = !0, onClick: d, className: o, ...i }, u) {
|
|
3274
3298
|
return /* @__PURE__ */ m("button", { ref: u, ...i, type: "button", className: `select-tile${o ? " " + o : ""}`, onClick: d, children: [
|
|
3275
3299
|
r && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
|
|
3276
3300
|
/* @__PURE__ */ m("div", { className: "select-tile__main", children: [
|
|
@@ -3285,19 +3309,19 @@ const F1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3285
3309
|
] }),
|
|
3286
3310
|
a && /* @__PURE__ */ e("div", { className: "select-tile__meta", children: a })
|
|
3287
3311
|
] });
|
|
3288
|
-
}),
|
|
3312
|
+
}), P1 = R(function({ label: n, onClick: l, className: c, ...s }, a) {
|
|
3289
3313
|
return /* @__PURE__ */ m("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
|
|
3290
3314
|
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
|
|
3291
3315
|
/* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
|
|
3292
3316
|
] });
|
|
3293
|
-
}),
|
|
3317
|
+
}), R1 = R(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...r }, d) {
|
|
3294
3318
|
return /* @__PURE__ */ m("button", { ref: d, ...r, type: "button", className: `select-wsswitcher${a ? " " + a : ""}`, onClick: s, "aria-haspopup": "menu", children: [
|
|
3295
3319
|
n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
|
|
3296
3320
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
|
|
3297
3321
|
c,
|
|
3298
|
-
/* @__PURE__ */ e("span", { className: "select-wsswitcher__selector", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3322
|
+
/* @__PURE__ */ e("span", { className: "select-wsswitcher__selector", "aria-hidden": "true", children: /* @__PURE__ */ e(On, {}) })
|
|
3299
3323
|
] });
|
|
3300
|
-
}),
|
|
3324
|
+
}), cs = 220;
|
|
3301
3325
|
function It({
|
|
3302
3326
|
open: t,
|
|
3303
3327
|
onClose: n,
|
|
@@ -3320,7 +3344,7 @@ function It({
|
|
|
3320
3344
|
x(!0);
|
|
3321
3345
|
const _ = setTimeout(() => {
|
|
3322
3346
|
g(!1), x(!1);
|
|
3323
|
-
},
|
|
3347
|
+
}, cs);
|
|
3324
3348
|
return () => clearTimeout(_);
|
|
3325
3349
|
}
|
|
3326
3350
|
}, [t, f]), le(() => {
|
|
@@ -3375,10 +3399,10 @@ function It({
|
|
|
3375
3399
|
document.body
|
|
3376
3400
|
);
|
|
3377
3401
|
}
|
|
3378
|
-
function
|
|
3402
|
+
function D1({ actions: t, label: n = "Ações" }) {
|
|
3379
3403
|
const [l, c] = D(!1);
|
|
3380
3404
|
return /* @__PURE__ */ e(
|
|
3381
|
-
|
|
3405
|
+
We,
|
|
3382
3406
|
{
|
|
3383
3407
|
active: l,
|
|
3384
3408
|
onClose: () => c(!1),
|
|
@@ -3386,7 +3410,7 @@ function R1({ actions: t, label: n = "Ações" }) {
|
|
|
3386
3410
|
activator: /* @__PURE__ */ e(
|
|
3387
3411
|
ge,
|
|
3388
3412
|
{
|
|
3389
|
-
icon: /* @__PURE__ */ e(
|
|
3413
|
+
icon: /* @__PURE__ */ e(Tl, {}),
|
|
3390
3414
|
label: n,
|
|
3391
3415
|
size: "sm",
|
|
3392
3416
|
variant: "outline",
|
|
@@ -3394,11 +3418,11 @@ function R1({ actions: t, label: n = "Ações" }) {
|
|
|
3394
3418
|
onClick: () => c((s) => !s)
|
|
3395
3419
|
}
|
|
3396
3420
|
),
|
|
3397
|
-
children: /* @__PURE__ */ e(
|
|
3421
|
+
children: /* @__PURE__ */ e(ll, { items: t, onAction: () => c(!1) })
|
|
3398
3422
|
}
|
|
3399
3423
|
);
|
|
3400
3424
|
}
|
|
3401
|
-
function
|
|
3425
|
+
function T1({
|
|
3402
3426
|
open: t,
|
|
3403
3427
|
onClose: n,
|
|
3404
3428
|
onConfirm: l,
|
|
@@ -3436,7 +3460,7 @@ function D1({
|
|
|
3436
3460
|
}
|
|
3437
3461
|
);
|
|
3438
3462
|
}
|
|
3439
|
-
function
|
|
3463
|
+
function W1({
|
|
3440
3464
|
open: t,
|
|
3441
3465
|
onClose: n,
|
|
3442
3466
|
onSubmit: l,
|
|
@@ -3491,14 +3515,14 @@ function T1({
|
|
|
3491
3515
|
}
|
|
3492
3516
|
);
|
|
3493
3517
|
}
|
|
3494
|
-
function
|
|
3518
|
+
function ss(t, n) {
|
|
3495
3519
|
const c = [.../* @__PURE__ */ new Set([1, n, t, t - 1, t + 1])].filter((r) => r >= 1 && r <= n).sort((r, d) => r - d), s = [];
|
|
3496
3520
|
let a = 0;
|
|
3497
3521
|
for (const r of c)
|
|
3498
3522
|
r - a > 1 && s.push("gap"), s.push(r), a = r;
|
|
3499
3523
|
return s;
|
|
3500
3524
|
}
|
|
3501
|
-
function
|
|
3525
|
+
function as(t, n, l, c, s, a) {
|
|
3502
3526
|
const r = [];
|
|
3503
3527
|
if (t != null)
|
|
3504
3528
|
if (t === 0)
|
|
@@ -3510,8 +3534,8 @@ function ss(t, n, l, c, s, a) {
|
|
|
3510
3534
|
r.push(`${t} ${s}`);
|
|
3511
3535
|
return a && c != null && c > 0 && r.push(`Página ${l} de ${c}`), r.length > 0 ? r.join(" · ") : null;
|
|
3512
3536
|
}
|
|
3513
|
-
const
|
|
3514
|
-
const v = a ?? n > 1, x = r ?? (l != null ? n < l : !0), N = d ?? (i ? () => i(n - 1) : void 0), $ = o ?? (i ? () => i(n + 1) : void 0), _ = l != null && l > 1 && i != null, p = _ ?
|
|
3537
|
+
const os = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPrevious: a, hasNext: r, onPrevious: d, onNext: o, onPage: i, noun: u = "resultados", className: h, ...f }, g) {
|
|
3538
|
+
const v = a ?? n > 1, x = r ?? (l != null ? n < l : !0), N = d ?? (i ? () => i(n - 1) : void 0), $ = o ?? (i ? () => i(n + 1) : void 0), _ = l != null && l > 1 && i != null, p = _ ? ss(n, l) : [], b = as(c, s, n, l, u, _);
|
|
3515
3539
|
return /* @__PURE__ */ m("nav", { ref: g, ...f, className: `select-pagination${h ? " " + h : ""}`, "aria-label": "Paginação", children: [
|
|
3516
3540
|
/* @__PURE__ */ m("div", { className: "select-pagination__controls", children: [
|
|
3517
3541
|
/* @__PURE__ */ e(
|
|
@@ -3522,7 +3546,7 @@ const as = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
|
|
|
3522
3546
|
onClick: N,
|
|
3523
3547
|
disabled: !v || !N,
|
|
3524
3548
|
"aria-label": "Página anterior",
|
|
3525
|
-
children: /* @__PURE__ */ e(
|
|
3549
|
+
children: /* @__PURE__ */ e(zt, {})
|
|
3526
3550
|
}
|
|
3527
3551
|
),
|
|
3528
3552
|
_ ? p.map(
|
|
@@ -3552,29 +3576,29 @@ const as = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
|
|
|
3552
3576
|
] }),
|
|
3553
3577
|
b != null && /* @__PURE__ */ e("p", { className: "select-pagination__count", children: b })
|
|
3554
3578
|
] });
|
|
3555
|
-
}),
|
|
3556
|
-
function
|
|
3579
|
+
}), O1 = "9.5rem", Gt = "select-datatable:hidden-cols:";
|
|
3580
|
+
function rs(t) {
|
|
3557
3581
|
try {
|
|
3558
|
-
const n = localStorage.getItem(
|
|
3582
|
+
const n = localStorage.getItem(Gt + t), l = n ? JSON.parse(n) : null;
|
|
3559
3583
|
return Array.isArray(l) ? l.filter((c) => typeof c == "string") : [];
|
|
3560
3584
|
} catch {
|
|
3561
3585
|
return [];
|
|
3562
3586
|
}
|
|
3563
3587
|
}
|
|
3564
|
-
function
|
|
3588
|
+
function is(t, n) {
|
|
3565
3589
|
try {
|
|
3566
|
-
n.length === 0 ? localStorage.removeItem(
|
|
3590
|
+
n.length === 0 ? localStorage.removeItem(Gt + t) : localStorage.setItem(Gt + t, JSON.stringify(n));
|
|
3567
3591
|
} catch {
|
|
3568
3592
|
}
|
|
3569
3593
|
}
|
|
3570
|
-
function
|
|
3594
|
+
function bn(t) {
|
|
3571
3595
|
return t.hideable ?? !!t.title;
|
|
3572
3596
|
}
|
|
3573
|
-
const
|
|
3574
|
-
function
|
|
3597
|
+
const xn = "select-datatable:page-size:";
|
|
3598
|
+
function H1(t, n, l) {
|
|
3575
3599
|
const [c, s] = D(() => {
|
|
3576
3600
|
try {
|
|
3577
|
-
const r = Number(localStorage.getItem(
|
|
3601
|
+
const r = Number(localStorage.getItem(xn + t));
|
|
3578
3602
|
return Number.isInteger(r) && r > 0 && (!l || l.includes(r)) ? r : n;
|
|
3579
3603
|
} catch {
|
|
3580
3604
|
return n;
|
|
@@ -3583,16 +3607,16 @@ function O1(t, n, l) {
|
|
|
3583
3607
|
return [c, (r) => {
|
|
3584
3608
|
s(r);
|
|
3585
3609
|
try {
|
|
3586
|
-
localStorage.setItem(
|
|
3610
|
+
localStorage.setItem(xn + t, String(r));
|
|
3587
3611
|
} catch {
|
|
3588
3612
|
}
|
|
3589
3613
|
}];
|
|
3590
3614
|
}
|
|
3591
|
-
function
|
|
3615
|
+
function ds(t, n, l) {
|
|
3592
3616
|
const c = t == null || t === "", s = n == null || n === "";
|
|
3593
3617
|
return c || s ? c && s ? 0 : c ? 1 : -1 : typeof t == "number" && typeof n == "number" ? l * (t - n) : l * String(t).localeCompare(String(n), "pt-BR", { numeric: !0, sensitivity: "base" });
|
|
3594
3618
|
}
|
|
3595
|
-
function
|
|
3619
|
+
function j1({
|
|
3596
3620
|
columns: t,
|
|
3597
3621
|
items: n,
|
|
3598
3622
|
getId: l,
|
|
@@ -3605,10 +3629,10 @@ function H1({
|
|
|
3605
3629
|
filters: i,
|
|
3606
3630
|
columnsKey: u
|
|
3607
3631
|
}) {
|
|
3608
|
-
const [h, f] = D(() => u ?
|
|
3632
|
+
const [h, f] = D(() => u ? rs(u) : []), [g, v] = D(!1), [x, N] = D(!1), $ = xe(() => new Set(h), [h]), _ = t.filter(bn), p = _.length > 0 && _.every((I) => $.has(I.key)), b = (I) => !p && $.has(I.key) && bn(I), S = t.filter((I) => !b(I)), k = _.filter((I) => !b(I)), [M, w] = D(null), y = (I) => {
|
|
3609
3633
|
f((O) => {
|
|
3610
3634
|
const W = !O.includes(I.key), Z = W ? [...O, I.key] : O.filter((G) => G !== I.key);
|
|
3611
|
-
return u &&
|
|
3635
|
+
return u && is(u, Z), W && w((G) => G && G.key === I.key ? null : G), Z;
|
|
3612
3636
|
});
|
|
3613
3637
|
}, C = (I) => {
|
|
3614
3638
|
w((O) => {
|
|
@@ -3619,7 +3643,7 @@ function H1({
|
|
|
3619
3643
|
const I = L == null ? void 0 : L.sortValue;
|
|
3620
3644
|
if (!M || !I) return n;
|
|
3621
3645
|
const O = M.dir === "asc" ? 1 : -1;
|
|
3622
|
-
return [...n].sort((W, Z) =>
|
|
3646
|
+
return [...n].sort((W, Z) => ds(I(W), I(Z), O));
|
|
3623
3647
|
}, [n, M, L]), A = S.map((I) => ({
|
|
3624
3648
|
label: I.title,
|
|
3625
3649
|
align: I.align,
|
|
@@ -3627,8 +3651,8 @@ function H1({
|
|
|
3627
3651
|
sortable: !!I.sortValue,
|
|
3628
3652
|
sortDir: (M == null ? void 0 : M.key) === I.key ? M.dir : null,
|
|
3629
3653
|
onSort: I.sortValue ? () => C(I) : void 0
|
|
3630
|
-
})), F = !c && s ? /* @__PURE__ */ e(
|
|
3631
|
-
|
|
3654
|
+
})), F = !c && s ? /* @__PURE__ */ e(es, { icon: s.icon, title: s.heading, subtitle: s.text, action: s.action }) : void 0, E = u && _.length > 0 ? /* @__PURE__ */ e(
|
|
3655
|
+
We,
|
|
3632
3656
|
{
|
|
3633
3657
|
active: g,
|
|
3634
3658
|
onClose: () => v(!1),
|
|
@@ -3637,7 +3661,7 @@ function H1({
|
|
|
3637
3661
|
activator: /* @__PURE__ */ e(
|
|
3638
3662
|
ge,
|
|
3639
3663
|
{
|
|
3640
|
-
icon: /* @__PURE__ */ e(
|
|
3664
|
+
icon: /* @__PURE__ */ e(Yl, {}),
|
|
3641
3665
|
label: "Colunas",
|
|
3642
3666
|
size: "sm",
|
|
3643
3667
|
active: g,
|
|
@@ -3667,13 +3691,13 @@ function H1({
|
|
|
3667
3691
|
}
|
|
3668
3692
|
) : null;
|
|
3669
3693
|
return /* @__PURE__ */ m("div", { className: "select-datatable", children: [
|
|
3670
|
-
/* @__PURE__ */ e(
|
|
3694
|
+
/* @__PURE__ */ e(Qc, { columns: A, empty: F, title: d, filters: i, action: E ? /* @__PURE__ */ m("span", { className: "select-datatable__toolbar", children: [
|
|
3671
3695
|
o,
|
|
3672
3696
|
E
|
|
3673
|
-
] }) : o, children: c ? Array.from({ length: 5 }, (I, O) => /* @__PURE__ */ e(
|
|
3697
|
+
] }) : o, children: c ? Array.from({ length: 5 }, (I, O) => /* @__PURE__ */ e(vn, { children: S.map((W, Z) => /* @__PURE__ */ e(gn, { align: W.align, width: W.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, Z)) }, `skeleton-${O}`)) : B.map((I) => /* @__PURE__ */ e(vn, { onClick: r ? () => r(I) : void 0, children: S.map((O, W) => /* @__PURE__ */ e(gn, { align: O.align, width: O.width, children: O.render(I) }, W)) }, l(I))) }),
|
|
3674
3698
|
a && /* @__PURE__ */ m("div", { className: "select-datatable__pagination", children: [
|
|
3675
3699
|
a.pageSizeOptions && a.pageSizeOptions.length > 1 && a.onPageSizeChange && /* @__PURE__ */ e("div", { className: "select-datatable__pagesize", children: /* @__PURE__ */ e(
|
|
3676
|
-
|
|
3700
|
+
We,
|
|
3677
3701
|
{
|
|
3678
3702
|
active: x,
|
|
3679
3703
|
onClose: () => N(!1),
|
|
@@ -3723,7 +3747,7 @@ function H1({
|
|
|
3723
3747
|
}
|
|
3724
3748
|
) }),
|
|
3725
3749
|
/* @__PURE__ */ e(
|
|
3726
|
-
|
|
3750
|
+
os,
|
|
3727
3751
|
{
|
|
3728
3752
|
page: a.page ?? 1,
|
|
3729
3753
|
pageCount: a.pageCount,
|
|
@@ -3740,7 +3764,7 @@ function H1({
|
|
|
3740
3764
|
] })
|
|
3741
3765
|
] });
|
|
3742
3766
|
}
|
|
3743
|
-
const
|
|
3767
|
+
const hs = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], us = [
|
|
3744
3768
|
"Janeiro",
|
|
3745
3769
|
"Fevereiro",
|
|
3746
3770
|
"Março",
|
|
@@ -3753,29 +3777,29 @@ const ds = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], hs = [
|
|
|
3753
3777
|
"Outubro",
|
|
3754
3778
|
"Novembro",
|
|
3755
3779
|
"Dezembro"
|
|
3756
|
-
], De = (t) => String(t).padStart(2, "0"), ct = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), vt = (t) => new Date(t.getFullYear(), t.getMonth(), 1),
|
|
3757
|
-
function
|
|
3780
|
+
], De = (t) => String(t).padStart(2, "0"), ct = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), vt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), yn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Nn = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), Mn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
|
|
3781
|
+
function ps(t) {
|
|
3758
3782
|
const n = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}))?/.exec(t || "");
|
|
3759
3783
|
return n ? new Date(Number(n[1]), Number(n[2]) - 1, Number(n[3]), Number(n[4] ?? 0), Number(n[5] ?? 0)) : null;
|
|
3760
3784
|
}
|
|
3761
|
-
function
|
|
3785
|
+
function $n(t, n) {
|
|
3762
3786
|
const l = `${t.getFullYear()}-${De(t.getMonth() + 1)}-${De(t.getDate())}`;
|
|
3763
3787
|
return n ? `${l}T${De(t.getHours())}:${De(t.getMinutes())}` : l;
|
|
3764
3788
|
}
|
|
3765
|
-
function
|
|
3789
|
+
function ms(t, n) {
|
|
3766
3790
|
const l = `${De(t.getDate())}/${De(t.getMonth() + 1)}/${t.getFullYear()}`;
|
|
3767
3791
|
return n ? `${l} ${De(t.getHours())}:${De(t.getMinutes())}` : l;
|
|
3768
3792
|
}
|
|
3769
|
-
const
|
|
3770
|
-
const $ = te(), _ = g ?? $, [p, b] = D(!1), S =
|
|
3793
|
+
const fs = R(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: r, disabled: d, error: o, hint: i, minDate: u, maxDate: h, clearable: f = !0, id: g, className: v, ...x }, N) {
|
|
3794
|
+
const $ = te(), _ = g ?? $, [p, b] = D(!1), S = ps(l), [k, M] = D(() => vt(S ?? /* @__PURE__ */ new Date())), w = u ? ct(u) : null, y = h ? ct(h) : null, C = (W) => !!w && ct(W) < w || !!y && ct(W) > y, L = yn(vt(k), -vt(k).getDay()), B = Array.from({ length: 42 }, (W, Z) => yn(L, Z)), A = ct(/* @__PURE__ */ new Date()), F = () => {
|
|
3771
3795
|
d || (M(vt(S ?? /* @__PURE__ */ new Date())), b((W) => !W));
|
|
3772
3796
|
}, E = (W) => {
|
|
3773
3797
|
if (C(W)) return;
|
|
3774
3798
|
const Z = new Date(W);
|
|
3775
|
-
s && Z.setHours((S == null ? void 0 : S.getHours()) ?? 0, (S == null ? void 0 : S.getMinutes()) ?? 0, 0, 0), c(
|
|
3799
|
+
s && Z.setHours((S == null ? void 0 : S.getHours()) ?? 0, (S == null ? void 0 : S.getMinutes()) ?? 0, 0, 0), c($n(Z, s)), s || b(!1);
|
|
3776
3800
|
}, T = (W) => {
|
|
3777
3801
|
const [Z = "", G = ""] = W.split(":"), J = Number(Z), ie = Number(G), fe = new Date(S ?? A);
|
|
3778
|
-
fe.setHours(Number.isFinite(J) ? J : 0, Number.isFinite(ie) ? ie : 0, 0, 0), c(
|
|
3802
|
+
fe.setHours(Number.isFinite(J) ? J : 0, Number.isFinite(ie) ? ie : 0, 0, 0), c($n(fe, !0));
|
|
3779
3803
|
}, I = () => {
|
|
3780
3804
|
c(""), b(!1);
|
|
3781
3805
|
}, O = /* @__PURE__ */ m("div", { className: `select-input-wrap${o ? " select-input-wrap--error" : ""}`, children: [
|
|
@@ -3790,27 +3814,27 @@ const ms = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
3790
3814
|
"aria-haspopup": "dialog",
|
|
3791
3815
|
"aria-expanded": p,
|
|
3792
3816
|
"aria-invalid": o ? !0 : void 0,
|
|
3793
|
-
children: S ?
|
|
3817
|
+
children: S ? ms(S, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
|
|
3794
3818
|
}
|
|
3795
3819
|
),
|
|
3796
|
-
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3820
|
+
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Gn, {}) })
|
|
3797
3821
|
] });
|
|
3798
3822
|
return /* @__PURE__ */ m("div", { ref: N, ...x, className: `select-field${v ? " " + v : ""}`, children: [
|
|
3799
3823
|
n && /* @__PURE__ */ e(lt, { htmlFor: _, label: r ? `${n} *` : n }),
|
|
3800
|
-
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(
|
|
3824
|
+
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(We, { active: p, onClose: () => b(!1), placement: "bottom-start", role: "dialog", activator: O, children: /* @__PURE__ */ m("div", { className: "select-datefield__pop", children: [
|
|
3801
3825
|
/* @__PURE__ */ m("div", { className: "select-datepicker__calhead", children: [
|
|
3802
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => M((W) =>
|
|
3826
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => M((W) => Nn(W, -1)), children: /* @__PURE__ */ e(zt, {}) }),
|
|
3803
3827
|
/* @__PURE__ */ m("span", { className: "select-datepicker__monthlabel", children: [
|
|
3804
|
-
|
|
3828
|
+
us[k.getMonth()],
|
|
3805
3829
|
" ",
|
|
3806
3830
|
k.getFullYear()
|
|
3807
3831
|
] }),
|
|
3808
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => M((W) =>
|
|
3832
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => M((W) => Nn(W, 1)), children: /* @__PURE__ */ e(dt, {}) })
|
|
3809
3833
|
] }),
|
|
3810
3834
|
/* @__PURE__ */ m("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
3811
|
-
|
|
3835
|
+
hs.map((W) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: W }, W)),
|
|
3812
3836
|
B.map((W) => {
|
|
3813
|
-
const Z = W.getMonth() !== k.getMonth(), G = !!S &&
|
|
3837
|
+
const Z = W.getMonth() !== k.getMonth(), G = !!S && Mn(W, S), J = "select-datepicker__daybtn" + (G ? " is-selected" : "") + (Mn(W, A) && !G ? " is-today" : "") + (Z ? " is-outside" : "");
|
|
3814
3838
|
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: J, disabled: C(W), onClick: () => E(W), children: W.getDate() }) }, W.getTime());
|
|
3815
3839
|
})
|
|
3816
3840
|
] }),
|
|
@@ -3838,11 +3862,11 @@ const ms = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
3838
3862
|
o ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: o }) : i ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: i }) : null
|
|
3839
3863
|
] });
|
|
3840
3864
|
});
|
|
3841
|
-
function
|
|
3865
|
+
function fl(t, n) {
|
|
3842
3866
|
var l, c;
|
|
3843
3867
|
return t.type === "select" ? ((c = (l = t.options) == null ? void 0 : l.find((s) => s.value === n)) == null ? void 0 : c.label) ?? n : n;
|
|
3844
3868
|
}
|
|
3845
|
-
function
|
|
3869
|
+
function _s({
|
|
3846
3870
|
filter: t,
|
|
3847
3871
|
value: n,
|
|
3848
3872
|
onChange: l,
|
|
@@ -3855,9 +3879,9 @@ function fs({
|
|
|
3855
3879
|
le(() => {
|
|
3856
3880
|
c || o("");
|
|
3857
3881
|
}, [c]);
|
|
3858
|
-
const i = n.trim() !== "", u = i ?
|
|
3882
|
+
const i = n.trim() !== "", u = i ? fl(t, n) : null, h = t.options ?? [], f = h.length > 7, g = f ? h.filter((v) => v.label.toLowerCase().includes(d.trim().toLowerCase())) : h;
|
|
3859
3883
|
return /* @__PURE__ */ m(
|
|
3860
|
-
|
|
3884
|
+
We,
|
|
3861
3885
|
{
|
|
3862
3886
|
active: c,
|
|
3863
3887
|
onClose: a,
|
|
@@ -3878,7 +3902,7 @@ function fs({
|
|
|
3878
3902
|
),
|
|
3879
3903
|
children: [
|
|
3880
3904
|
t.type === "select" ? /* @__PURE__ */ m("div", { className: "select-facet__panel", children: [
|
|
3881
|
-
f && /* @__PURE__ */ e("div", { className: "select-facet__search", children: /* @__PURE__ */ e(
|
|
3905
|
+
f && /* @__PURE__ */ e("div", { className: "select-facet__search", children: /* @__PURE__ */ e(ml, { value: d, onChange: o, placeholder: "Buscar opção…" }) }),
|
|
3882
3906
|
/* @__PURE__ */ e("div", { className: "select-facet__options", role: "listbox", children: g.length === 0 ? /* @__PURE__ */ e("div", { className: "select-facet__empty", children: "Nada encontrado" }) : g.map((v) => {
|
|
3883
3907
|
const x = n === v.value;
|
|
3884
3908
|
return /* @__PURE__ */ m(
|
|
@@ -3899,14 +3923,14 @@ function fs({
|
|
|
3899
3923
|
v.value
|
|
3900
3924
|
);
|
|
3901
3925
|
}) })
|
|
3902
|
-
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(
|
|
3926
|
+
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(fs, { value: n, onChange: l, placeholder: t.placeholder, clearable: !1 }) }) : /* @__PURE__ */ e(
|
|
3903
3927
|
"div",
|
|
3904
3928
|
{
|
|
3905
3929
|
className: "select-facet__field",
|
|
3906
3930
|
onKeyDown: (v) => {
|
|
3907
3931
|
v.key === "Enter" && (v.preventDefault(), a());
|
|
3908
3932
|
},
|
|
3909
|
-
children: /* @__PURE__ */ e(
|
|
3933
|
+
children: /* @__PURE__ */ e(Ze, { type: "text", value: n, onChange: l, placeholder: t.placeholder, autoFocus: !0 })
|
|
3910
3934
|
}
|
|
3911
3935
|
),
|
|
3912
3936
|
i && /* @__PURE__ */ e("div", { className: "select-facet__foot", children: /* @__PURE__ */ e(
|
|
@@ -3924,7 +3948,7 @@ function fs({
|
|
|
3924
3948
|
}
|
|
3925
3949
|
);
|
|
3926
3950
|
}
|
|
3927
|
-
const
|
|
3951
|
+
const V1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: r, className: d, ...o }, i) {
|
|
3928
3952
|
const [u, h] = D([]), [f, g] = D(null), [v, x] = D(!1), N = (M) => (l[M.key] ?? "").trim() !== "", $ = (M) => !!M.pinned || N(M) || u.includes(M.key), _ = n.filter($), p = n.filter((M) => !$(M)), b = n.filter(N), S = () => {
|
|
3929
3953
|
h([]), g(null), s();
|
|
3930
3954
|
}, k = (M) => {
|
|
@@ -3933,7 +3957,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
3933
3957
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-filterbar${d ? " " + d : ""}`, children: [
|
|
3934
3958
|
/* @__PURE__ */ m("div", { className: "select-filterbar__row", children: [
|
|
3935
3959
|
a && /* @__PURE__ */ m("div", { className: "select-filterbar__query", children: [
|
|
3936
|
-
/* @__PURE__ */ e("span", { className: "select-filterbar__query-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3960
|
+
/* @__PURE__ */ e("span", { className: "select-filterbar__query-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Xt, {}) }),
|
|
3937
3961
|
/* @__PURE__ */ e(
|
|
3938
3962
|
"input",
|
|
3939
3963
|
{
|
|
@@ -3957,7 +3981,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
3957
3981
|
)
|
|
3958
3982
|
] }),
|
|
3959
3983
|
_.map((M) => /* @__PURE__ */ e(
|
|
3960
|
-
|
|
3984
|
+
_s,
|
|
3961
3985
|
{
|
|
3962
3986
|
filter: M,
|
|
3963
3987
|
value: l[M.key] ?? "",
|
|
@@ -3970,7 +3994,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
3970
3994
|
M.key
|
|
3971
3995
|
)),
|
|
3972
3996
|
p.length > 0 && /* @__PURE__ */ e(
|
|
3973
|
-
|
|
3997
|
+
We,
|
|
3974
3998
|
{
|
|
3975
3999
|
active: v,
|
|
3976
4000
|
onClose: () => x(!1),
|
|
@@ -4007,7 +4031,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4007
4031
|
b.map((M) => /* @__PURE__ */ m("span", { className: "select-filterbar__tag", children: [
|
|
4008
4032
|
M.label,
|
|
4009
4033
|
": ",
|
|
4010
|
-
|
|
4034
|
+
fl(M, l[M.key] ?? ""),
|
|
4011
4035
|
/* @__PURE__ */ e(
|
|
4012
4036
|
"button",
|
|
4013
4037
|
{
|
|
@@ -4022,12 +4046,12 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4022
4046
|
/* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: S, children: "Limpar tudo" })
|
|
4023
4047
|
] })
|
|
4024
4048
|
] });
|
|
4025
|
-
}),
|
|
4049
|
+
}), Z1 = R(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: r, error: d, onBlur: o, size: i = "md", className: u, ...h }, f) {
|
|
4026
4050
|
const [g, v] = D(!1), [x, N] = D(""), $ = l.filter((b) => b.label.toLowerCase().includes(x.trim().toLowerCase())), _ = (b) => s(c.includes(b) ? c.filter((S) => S !== b) : [...c, b]), p = c.map((b) => l.find((S) => S.value === b)).filter((b) => b != null);
|
|
4027
4051
|
return /* @__PURE__ */ m("div", { ref: f, ...h, className: `select-field${i === "sm" ? " select-field--sm" : ""}${u ? " " + u : ""}`, children: [
|
|
4028
4052
|
n && /* @__PURE__ */ e("div", { className: "select-field__labelrow", children: /* @__PURE__ */ e("span", { className: "select-field__label", children: n }) }),
|
|
4029
4053
|
/* @__PURE__ */ e(
|
|
4030
|
-
|
|
4054
|
+
We,
|
|
4031
4055
|
{
|
|
4032
4056
|
active: g,
|
|
4033
4057
|
onClose: () => {
|
|
@@ -4070,7 +4094,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4070
4094
|
}
|
|
4071
4095
|
),
|
|
4072
4096
|
children: /* @__PURE__ */ m("div", { className: "select-tagselect__menu", children: [
|
|
4073
|
-
/* @__PURE__ */ e("div", { className: "select-tagselect__search", children: /* @__PURE__ */ e(
|
|
4097
|
+
/* @__PURE__ */ e("div", { className: "select-tagselect__search", children: /* @__PURE__ */ e(ml, { value: x, onChange: N, placeholder: "Buscar…" }) }),
|
|
4074
4098
|
/* @__PURE__ */ e("div", { className: "select-tagselect__options", role: "presentation", children: $.length === 0 ? /* @__PURE__ */ e("div", { className: "select-tagselect__empty", children: "Nada encontrado" }) : $.map((b) => {
|
|
4075
4099
|
const S = c.includes(b.value);
|
|
4076
4100
|
return /* @__PURE__ */ m(
|
|
@@ -4098,7 +4122,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4098
4122
|
),
|
|
4099
4123
|
d ? /* @__PURE__ */ e("p", { className: "select-field__error", children: d }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
|
|
4100
4124
|
] });
|
|
4101
|
-
}),
|
|
4125
|
+
}), G1 = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: r = !1, className: d, ...o }, i) {
|
|
4102
4126
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-surface${d ? " " + d : ""}`, children: [
|
|
4103
4127
|
(n || l || c) && /* @__PURE__ */ m("div", { className: "select-surface__header", children: [
|
|
4104
4128
|
/* @__PURE__ */ m("div", { className: "select-surface__heading", children: [
|
|
@@ -4110,19 +4134,19 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4110
4134
|
/* @__PURE__ */ e("div", { className: `select-surface__body${r ? " select-surface__body--flush" : ""}`, children: a }),
|
|
4111
4135
|
s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
|
|
4112
4136
|
] });
|
|
4113
|
-
}),
|
|
4114
|
-
function
|
|
4137
|
+
}), _l = Yt(null), vs = 220, gs = 4e3, bs = 8, xs = 0.04, ys = 5;
|
|
4138
|
+
function U1({ children: t }) {
|
|
4115
4139
|
const [n, l] = D([]), c = q(0), s = q(/* @__PURE__ */ new Map()), a = Te((i) => {
|
|
4116
4140
|
l((u) => u.filter((h) => h.id !== i)), s.current.delete(i);
|
|
4117
4141
|
}, []), r = Te(
|
|
4118
4142
|
(i) => {
|
|
4119
4143
|
const u = s.current.get(i);
|
|
4120
|
-
u && clearTimeout(u), l((h) => h.map((f) => f.id === i ? { ...f, exiting: !0 } : f)), s.current.set(i, setTimeout(() => a(i),
|
|
4144
|
+
u && clearTimeout(u), l((h) => h.map((f) => f.id === i ? { ...f, exiting: !0 } : f)), s.current.set(i, setTimeout(() => a(i), vs));
|
|
4121
4145
|
},
|
|
4122
4146
|
[a]
|
|
4123
4147
|
), d = Te(
|
|
4124
4148
|
(i, u) => {
|
|
4125
|
-
const h = ++c.current, f = (u == null ? void 0 : u.duration) ??
|
|
4149
|
+
const h = ++c.current, f = (u == null ? void 0 : u.duration) ?? gs;
|
|
4126
4150
|
l((g) => [...g, { id: h, content: i, variant: (u == null ? void 0 : u.variant) ?? "neutral" }]), f > 0 && s.current.set(h, setTimeout(() => r(h), f));
|
|
4127
4151
|
},
|
|
4128
4152
|
[r]
|
|
@@ -4142,12 +4166,12 @@ function G1({ children: t }) {
|
|
|
4142
4166
|
}),
|
|
4143
4167
|
[d]
|
|
4144
4168
|
);
|
|
4145
|
-
return /* @__PURE__ */ m(
|
|
4169
|
+
return /* @__PURE__ */ m(_l.Provider, { value: o, children: [
|
|
4146
4170
|
t,
|
|
4147
4171
|
n.length > 0 && Ft(
|
|
4148
4172
|
/* @__PURE__ */ e("div", { className: "select select-toasts", role: "region", "aria-live": "polite", "aria-label": "Notificações", children: n.map((i, u) => {
|
|
4149
|
-
const h = n.length - 1 - u, f = i.exiting || h >=
|
|
4150
|
-
transform: `translate(-50%, ${-h *
|
|
4173
|
+
const h = n.length - 1 - u, f = i.exiting || h >= ys, g = {
|
|
4174
|
+
transform: `translate(-50%, ${-h * bs}px) scale(${1 - h * xs})`,
|
|
4151
4175
|
opacity: f ? 0 : 1,
|
|
4152
4176
|
zIndex: 1e3 - h,
|
|
4153
4177
|
pointerEvents: h === 0 && !i.exiting ? "auto" : "none"
|
|
@@ -4161,12 +4185,12 @@ function G1({ children: t }) {
|
|
|
4161
4185
|
)
|
|
4162
4186
|
] });
|
|
4163
4187
|
}
|
|
4164
|
-
function
|
|
4165
|
-
const t =
|
|
4188
|
+
function q1() {
|
|
4189
|
+
const t = qt(_l);
|
|
4166
4190
|
if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
|
|
4167
4191
|
return t;
|
|
4168
4192
|
}
|
|
4169
|
-
const
|
|
4193
|
+
const Ns = { desktop: "100%", mobile: 390 }, Y1 = R(function({ src: n, title: l = "Pré-visualização", height: c = 560, initialDevice: s = "desktop", showDeviceToggle: a = !0, emptyLabel: r = "Salve para gerar a pré-visualização.", className: d, ...o }, i) {
|
|
4170
4194
|
const [u, h] = D(s), [f, g] = D(0), [v, x] = D(!0), N = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${f}` : "", $ = () => {
|
|
4171
4195
|
x(!0), g((_) => _ + 1);
|
|
4172
4196
|
};
|
|
@@ -4179,7 +4203,7 @@ const ys = { desktop: "100%", mobile: 390 }, q1 = R(function({ src: n, title: l
|
|
|
4179
4203
|
ge,
|
|
4180
4204
|
{
|
|
4181
4205
|
size: "sm",
|
|
4182
|
-
icon: /* @__PURE__ */ e(
|
|
4206
|
+
icon: /* @__PURE__ */ e(Hn, {}),
|
|
4183
4207
|
label: "Visualizar em desktop",
|
|
4184
4208
|
active: u === "desktop",
|
|
4185
4209
|
onClick: () => h("desktop")
|
|
@@ -4189,14 +4213,14 @@ const ys = { desktop: "100%", mobile: 390 }, q1 = R(function({ src: n, title: l
|
|
|
4189
4213
|
ge,
|
|
4190
4214
|
{
|
|
4191
4215
|
size: "sm",
|
|
4192
|
-
icon: /* @__PURE__ */ e(
|
|
4216
|
+
icon: /* @__PURE__ */ e(Gl, {}),
|
|
4193
4217
|
label: "Visualizar em mobile",
|
|
4194
4218
|
active: u === "mobile",
|
|
4195
4219
|
onClick: () => h("mobile")
|
|
4196
4220
|
}
|
|
4197
4221
|
)
|
|
4198
4222
|
] }),
|
|
4199
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
4223
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Ul, {}), label: "Recarregar", onClick: $, disabled: !n }),
|
|
4200
4224
|
n && /* @__PURE__ */ e(
|
|
4201
4225
|
"a",
|
|
4202
4226
|
{
|
|
@@ -4206,13 +4230,13 @@ const ys = { desktop: "100%", mobile: 390 }, q1 = R(function({ src: n, title: l
|
|
|
4206
4230
|
rel: "noreferrer",
|
|
4207
4231
|
"aria-label": "Abrir em nova aba",
|
|
4208
4232
|
title: "Abrir em nova aba",
|
|
4209
|
-
children: /* @__PURE__ */ e(
|
|
4233
|
+
children: /* @__PURE__ */ e(Wn, {})
|
|
4210
4234
|
}
|
|
4211
4235
|
)
|
|
4212
4236
|
] })
|
|
4213
4237
|
] }),
|
|
4214
|
-
/* @__PURE__ */ e("div", { className: "select-preview__stage", style: { height: c }, children: N ? /* @__PURE__ */ m("div", { className: "select-preview__device", style: { width:
|
|
4215
|
-
v && /* @__PURE__ */ e("div", { className: "select-preview__loading", children: /* @__PURE__ */ e(
|
|
4238
|
+
/* @__PURE__ */ e("div", { className: "select-preview__stage", style: { height: c }, children: N ? /* @__PURE__ */ m("div", { className: "select-preview__device", style: { width: Ns[u] }, children: [
|
|
4239
|
+
v && /* @__PURE__ */ e("div", { className: "select-preview__loading", children: /* @__PURE__ */ e(Zc, {}) }),
|
|
4216
4240
|
/* @__PURE__ */ e(
|
|
4217
4241
|
"iframe",
|
|
4218
4242
|
{
|
|
@@ -4225,60 +4249,60 @@ const ys = { desktop: "100%", mobile: 390 }, q1 = R(function({ src: n, title: l
|
|
|
4225
4249
|
)
|
|
4226
4250
|
] }) : /* @__PURE__ */ e("p", { className: "select-preview__empty", children: r }) })
|
|
4227
4251
|
] });
|
|
4228
|
-
}),
|
|
4229
|
-
function
|
|
4252
|
+
}), Ms = new Intl.NumberFormat("pt-BR", { style: "currency", currency: "BRL" });
|
|
4253
|
+
function $s(t) {
|
|
4230
4254
|
const n = typeof t == "string" ? Number(t) : t;
|
|
4231
4255
|
return typeof n == "number" && Number.isFinite(n) ? n : 0;
|
|
4232
4256
|
}
|
|
4233
|
-
function
|
|
4234
|
-
return
|
|
4257
|
+
function ks(t) {
|
|
4258
|
+
return Ms.format($s(t) / 100);
|
|
4235
4259
|
}
|
|
4236
|
-
const
|
|
4260
|
+
const vl = "sw:hide-money", ws = { hidden: !1, toggle: () => {
|
|
4237
4261
|
}, setHidden: () => {
|
|
4238
|
-
} },
|
|
4239
|
-
function
|
|
4262
|
+
} }, gl = Yt(null);
|
|
4263
|
+
function Ss() {
|
|
4240
4264
|
try {
|
|
4241
|
-
return localStorage.getItem(
|
|
4265
|
+
return localStorage.getItem(vl) === "1";
|
|
4242
4266
|
} catch {
|
|
4243
4267
|
return !1;
|
|
4244
4268
|
}
|
|
4245
4269
|
}
|
|
4246
|
-
function
|
|
4270
|
+
function kn(t) {
|
|
4247
4271
|
try {
|
|
4248
|
-
localStorage.setItem(
|
|
4272
|
+
localStorage.setItem(vl, t ? "1" : "0");
|
|
4249
4273
|
} catch {
|
|
4250
4274
|
}
|
|
4251
4275
|
}
|
|
4252
|
-
function
|
|
4253
|
-
const [n, l] = D(
|
|
4254
|
-
l(r),
|
|
4276
|
+
function z1({ children: t }) {
|
|
4277
|
+
const [n, l] = D(Ss), c = Te((r) => {
|
|
4278
|
+
l(r), kn(r);
|
|
4255
4279
|
}, []), s = Te(() => {
|
|
4256
4280
|
l((r) => {
|
|
4257
4281
|
const d = !r;
|
|
4258
|
-
return
|
|
4282
|
+
return kn(d), d;
|
|
4259
4283
|
});
|
|
4260
4284
|
}, []), a = xe(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
4261
|
-
return /* @__PURE__ */ e(
|
|
4285
|
+
return /* @__PURE__ */ e(gl.Provider, { value: a, children: t });
|
|
4262
4286
|
}
|
|
4263
|
-
function
|
|
4264
|
-
return
|
|
4287
|
+
function bl() {
|
|
4288
|
+
return qt(gl) ?? ws;
|
|
4265
4289
|
}
|
|
4266
|
-
const
|
|
4267
|
-
const { hidden: r } =
|
|
4290
|
+
const Cs = R(function({ children: n, label: l = "valor oculto", className: c, ...s }, a) {
|
|
4291
|
+
const { hidden: r } = bl();
|
|
4268
4292
|
return /* @__PURE__ */ e("span", { ref: a, ...s, className: `select-sensitive${r ? " select-sensitive--hidden" : ""}${c ? " " + c : ""}`, "aria-label": r ? l : void 0, children: n });
|
|
4269
4293
|
});
|
|
4270
4294
|
function at({
|
|
4271
4295
|
cents: t,
|
|
4272
4296
|
sensitive: n = !0
|
|
4273
4297
|
}) {
|
|
4274
|
-
const l =
|
|
4275
|
-
return n ? /* @__PURE__ */ e(
|
|
4298
|
+
const l = ks(t);
|
|
4299
|
+
return n ? /* @__PURE__ */ e(Cs, { children: l }) : /* @__PURE__ */ e(ae, { children: l });
|
|
4276
4300
|
}
|
|
4277
|
-
const
|
|
4301
|
+
const Ls = new Intl.NumberFormat("pt-BR", {
|
|
4278
4302
|
signDisplay: "exceptZero",
|
|
4279
4303
|
minimumFractionDigits: 1,
|
|
4280
4304
|
maximumFractionDigits: 1
|
|
4281
|
-
}),
|
|
4305
|
+
}), As = R(function({ value: n, invert: l = !1, caption: c, className: s, ...a }, r) {
|
|
4282
4306
|
if (n == null || !Number.isFinite(n))
|
|
4283
4307
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-delta select-delta--muted${s ? " " + s : ""}`, children: [
|
|
4284
4308
|
"—",
|
|
@@ -4288,26 +4312,26 @@ const Cs = new Intl.NumberFormat("pt-BR", {
|
|
|
4288
4312
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-delta${s ? " " + s : ""}`, children: [
|
|
4289
4313
|
/* @__PURE__ */ m("span", { className: `select-delta__value select-delta__value--${u}`, children: [
|
|
4290
4314
|
h ? `${h} ` : "",
|
|
4291
|
-
|
|
4315
|
+
Ls.format(n),
|
|
4292
4316
|
"%"
|
|
4293
4317
|
] }),
|
|
4294
4318
|
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
4295
4319
|
] });
|
|
4296
4320
|
});
|
|
4297
|
-
function
|
|
4298
|
-
const { hidden: t, toggle: n } =
|
|
4321
|
+
function X1() {
|
|
4322
|
+
const { hidden: t, toggle: n } = bl();
|
|
4299
4323
|
return /* @__PURE__ */ e(
|
|
4300
4324
|
ge,
|
|
4301
4325
|
{
|
|
4302
4326
|
variant: "outline",
|
|
4303
|
-
icon: t ? /* @__PURE__ */ e(
|
|
4327
|
+
icon: t ? /* @__PURE__ */ e(Vn, {}) : /* @__PURE__ */ e(jn, {}),
|
|
4304
4328
|
label: t ? "Mostrar valores" : "Ocultar valores",
|
|
4305
4329
|
active: t,
|
|
4306
4330
|
onClick: n
|
|
4307
4331
|
}
|
|
4308
4332
|
);
|
|
4309
4333
|
}
|
|
4310
|
-
const
|
|
4334
|
+
const K1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: r, ...d }, o) {
|
|
4311
4335
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-balance${r ? " " + r : ""}`, children: [
|
|
4312
4336
|
/* @__PURE__ */ m("div", { className: "select-balance__head", children: [
|
|
4313
4337
|
/* @__PURE__ */ e("h3", { className: "select-balance__title", children: l }),
|
|
@@ -4327,7 +4351,7 @@ const X1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4327
4351
|
/* @__PURE__ */ m("div", { className: "select-balance__body", children: [
|
|
4328
4352
|
/* @__PURE__ */ m("div", { className: "select-balance__heromain", children: [
|
|
4329
4353
|
/* @__PURE__ */ e("span", { className: "select-balance__heroamount", children: /* @__PURE__ */ e(at, { cents: n }) }),
|
|
4330
|
-
c != null && /* @__PURE__ */ e(
|
|
4354
|
+
c != null && /* @__PURE__ */ e(As, { value: c, caption: "vs. período anterior" })
|
|
4331
4355
|
] }),
|
|
4332
4356
|
s.length > 0 && /* @__PURE__ */ e("div", { className: "select-balance__buckets", children: s.map((i) => /* @__PURE__ */ m("div", { className: "select-balance__bucket", children: [
|
|
4333
4357
|
i.icon && /* @__PURE__ */ e("span", { className: "select-balance__bucketicon", children: i.icon }),
|
|
@@ -4338,7 +4362,7 @@ const X1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4338
4362
|
] }, i.label)) })
|
|
4339
4363
|
] })
|
|
4340
4364
|
] });
|
|
4341
|
-
}),
|
|
4365
|
+
}), J1 = R(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: r, ...d }, o) {
|
|
4342
4366
|
const i = c ?? n - l.reduce((u, h) => u + h.cents, 0);
|
|
4343
4367
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-fees${r ? " " + r : ""}`, children: [
|
|
4344
4368
|
/* @__PURE__ */ m("div", { className: "select-fees__row", children: [
|
|
@@ -4358,14 +4382,14 @@ const X1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4358
4382
|
/* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e(at, { cents: i }) })
|
|
4359
4383
|
] })
|
|
4360
4384
|
] });
|
|
4361
|
-
}),
|
|
4385
|
+
}), Q1 = R(function({ label: n, value: l, caption: c, chart: s, tone: a, bare: r = !1, className: d, ...o }, i) {
|
|
4362
4386
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-kpi${r ? " select-kpi--bare" : ""}${d ? " " + d : ""}`, children: [
|
|
4363
4387
|
/* @__PURE__ */ e("span", { className: "select-kpi__label", children: n }),
|
|
4364
4388
|
/* @__PURE__ */ e("span", { className: `select-kpi__value${a ? ` select-kpi__value--${a}` : ""}`, children: l }),
|
|
4365
4389
|
s != null && /* @__PURE__ */ e("div", { className: "select-kpi__chart", children: s }),
|
|
4366
4390
|
c != null && /* @__PURE__ */ e("span", { className: "select-kpi__caption", children: c })
|
|
4367
4391
|
] });
|
|
4368
|
-
}),
|
|
4392
|
+
}), eo = R(function({ title: n, caption: l, action: c, loading: s = !1, hideValues: a = !1, height: r = 260, flush: d = !1, insight: o, insightTone: i = "neutral", children: u, className: h, ...f }, g) {
|
|
4369
4393
|
const v = r === "auto" ? void 0 : `${r / 16}rem`, x = r === "auto" ? "10rem" : `${r / 16}rem`;
|
|
4370
4394
|
return /* @__PURE__ */ m("div", { ref: g, ...f, className: `select-chartcard${h ? " " + h : ""}`, children: [
|
|
4371
4395
|
(n || c || l) && /* @__PURE__ */ m("div", { className: "select-chartcard__head", children: [
|
|
@@ -4386,7 +4410,7 @@ const X1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4386
4410
|
o != null && !s && /* @__PURE__ */ e("div", { className: `select-chartcard__insight select-chartcard__insight--${i}`, children: (Array.isArray(o) ? o : [o]).filter((N) => N != null).map((N, $) => /* @__PURE__ */ e("span", { className: "select-chartcard__insightpill", children: N }, $)) })
|
|
4387
4411
|
] });
|
|
4388
4412
|
});
|
|
4389
|
-
function
|
|
4413
|
+
function Fs() {
|
|
4390
4414
|
const [t, n] = D(1);
|
|
4391
4415
|
return Be(() => {
|
|
4392
4416
|
const l = () => {
|
|
@@ -4397,7 +4421,7 @@ function As() {
|
|
|
4397
4421
|
}, []), t;
|
|
4398
4422
|
}
|
|
4399
4423
|
function ce(t) {
|
|
4400
|
-
const n = q(null), [l, c] = D(0), s =
|
|
4424
|
+
const n = q(null), [l, c] = D(0), s = Fs();
|
|
4401
4425
|
return Be(() => {
|
|
4402
4426
|
const a = n.current;
|
|
4403
4427
|
if (!a) return;
|
|
@@ -4432,13 +4456,13 @@ function ye(t) {
|
|
|
4432
4456
|
function we(t, n = 4) {
|
|
4433
4457
|
return Array.from({ length: n + 1 }, (l, c) => t / n * c);
|
|
4434
4458
|
}
|
|
4435
|
-
function
|
|
4459
|
+
function Bs(t, n = 5) {
|
|
4436
4460
|
if (!(t > 0)) return { max: 1, values: [0, 1] };
|
|
4437
4461
|
const l = t / n, c = Math.pow(10, Math.floor(Math.log10(l))), s = l / c, a = (s <= 1 ? 1 : s <= 2 ? 2 : s <= 5 ? 5 : 10) * c, r = Math.ceil(t / a) * a, d = [];
|
|
4438
4462
|
for (let o = 0; o <= r + a / 2; o += a) d.push(Math.round(o * 1e6) / 1e6);
|
|
4439
4463
|
return { max: r, values: d };
|
|
4440
4464
|
}
|
|
4441
|
-
function
|
|
4465
|
+
function wn(t) {
|
|
4442
4466
|
return t.map((n, l) => `${l === 0 ? "M" : "L"}${n[0].toFixed(2)},${n[1].toFixed(2)}`).join(" ");
|
|
4443
4467
|
}
|
|
4444
4468
|
function Ge(t) {
|
|
@@ -4467,12 +4491,12 @@ function Ge(t) {
|
|
|
4467
4491
|
}
|
|
4468
4492
|
return d;
|
|
4469
4493
|
}
|
|
4470
|
-
function
|
|
4494
|
+
function xl(t, n) {
|
|
4471
4495
|
if (t.length === 0) return "";
|
|
4472
4496
|
const l = t[0], c = t[t.length - 1];
|
|
4473
4497
|
return `${Ge(t)} L${c[0].toFixed(2)},${n.toFixed(2)} L${l[0].toFixed(2)},${n.toFixed(2)} Z`;
|
|
4474
4498
|
}
|
|
4475
|
-
function
|
|
4499
|
+
function yl(t, n) {
|
|
4476
4500
|
if (t.length === 0 || n.length === 0) return "";
|
|
4477
4501
|
const l = Ge(t), c = Ge([...n].reverse()).replace(/^M/, "L");
|
|
4478
4502
|
return `${l} ${c} Z`;
|
|
@@ -4485,7 +4509,7 @@ function it(t, n, l, c, s, a) {
|
|
|
4485
4509
|
const [r, d] = gt(t, n, l, s), [o, i] = gt(t, n, l, a), [u, h] = gt(t, n, c, a), [f, g] = gt(t, n, c, s), v = a - s > 180 ? 1 : 0;
|
|
4486
4510
|
return `M${r.toFixed(2)},${d.toFixed(2)} A${l},${l} 0 ${v} 1 ${o.toFixed(2)},${i.toFixed(2)} L${u.toFixed(2)},${h.toFixed(2)} A${c},${c} 0 ${v} 0 ${f.toFixed(2)},${g.toFixed(2)} Z`;
|
|
4487
4511
|
}
|
|
4488
|
-
const
|
|
4512
|
+
const Sn = [
|
|
4489
4513
|
"var(--select-chart-1)",
|
|
4490
4514
|
"var(--select-chart-2)",
|
|
4491
4515
|
"var(--select-chart-3)",
|
|
@@ -4493,14 +4517,14 @@ const Cn = [
|
|
|
4493
4517
|
"var(--select-chart-5)"
|
|
4494
4518
|
];
|
|
4495
4519
|
function j(t) {
|
|
4496
|
-
return
|
|
4520
|
+
return Sn[t % Sn.length];
|
|
4497
4521
|
}
|
|
4498
4522
|
function Y(t) {
|
|
4499
4523
|
const n = Math.abs(t);
|
|
4500
4524
|
return n >= 1e9 ? (t / 1e9).toFixed(1).replace(/\.0$/, "") + "B" : n >= 1e6 ? (t / 1e6).toFixed(1).replace(/\.0$/, "") + "M" : n >= 1e3 ? (t / 1e3).toFixed(1).replace(/\.0$/, "") + "k" : String(Math.round(t));
|
|
4501
4525
|
}
|
|
4502
4526
|
const Ee = { top: 16, right: 22, bottom: 32, left: 48 };
|
|
4503
|
-
function
|
|
4527
|
+
function to({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
4504
4528
|
const { ref: a, width: r } = ce(l), d = n ?? j(0), o = te(), i = 4;
|
|
4505
4529
|
let u = null;
|
|
4506
4530
|
if (r > 0 && t.length > 1) {
|
|
@@ -4513,7 +4537,7 @@ function eo({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
|
4513
4537
|
/* @__PURE__ */ e("stop", { offset: "0%", stopColor: d, stopOpacity: 0.26 }),
|
|
4514
4538
|
/* @__PURE__ */ e("stop", { offset: "100%", stopColor: d, stopOpacity: 0 })
|
|
4515
4539
|
] }) }),
|
|
4516
|
-
/* @__PURE__ */ e("path", { d:
|
|
4540
|
+
/* @__PURE__ */ e("path", { d: xl(v, l - i), fill: `url(#${o}-sa)` }),
|
|
4517
4541
|
/* @__PURE__ */ e(
|
|
4518
4542
|
"path",
|
|
4519
4543
|
{
|
|
@@ -4560,7 +4584,7 @@ function K({ tip: t, className: n, ...l }) {
|
|
|
4560
4584
|
] }, o))
|
|
4561
4585
|
] });
|
|
4562
4586
|
}
|
|
4563
|
-
function
|
|
4587
|
+
function no({ data: t, height: n = 240, color: l, format: c = Y, className: s, ...a }) {
|
|
4564
4588
|
const { ref: r, width: d } = ce(n), o = X(), i = te(), u = l ?? j(0), h = ye(Math.max(0, ...t.map((p) => p.value))), f = Ee, g = Math.max(0, d - f.left - f.right), v = n - f.top - f.bottom, x = t.length > 0 ? g / t.length : 0, N = Math.min(x * 0.62, 44), $ = f.top + v, _ = (p) => $ - p / h * v;
|
|
4565
4589
|
return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
|
|
4566
4590
|
d > 0 && /* @__PURE__ */ m("svg", { width: d, height: n, className: "select-chart", children: [
|
|
@@ -4611,8 +4635,8 @@ function to({ data: t, height: n = 240, color: l, format: c = Y, className: s, .
|
|
|
4611
4635
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
4612
4636
|
] });
|
|
4613
4637
|
}
|
|
4614
|
-
function
|
|
4615
|
-
const { ref: d, width: o } = ce(l), i = X(), u = te(), [h, f] = D(null), { max: g, values: v } =
|
|
4638
|
+
function lo({ series: t, labels: n, height: l = 240, format: c = Y, area: s = !1, className: a, ...r }) {
|
|
4639
|
+
const { ref: d, width: o } = ce(l), i = X(), u = te(), [h, f] = D(null), { max: g, values: v } = Bs(Math.max(0, ...t.flatMap((w) => w.data))), x = Ee, N = Math.max(0, o - x.left - x.right), $ = l - x.top - x.bottom, _ = n.length, p = (w) => x.left + (_ <= 1 ? N / 2 : w / (_ - 1) * N), b = (w) => x.top + $ - w / g * $, S = _ > 1 ? N / (_ - 1) : N, k = Math.max(1, Math.ceil(_ / 7)), M = x.top + $;
|
|
4616
4640
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
4617
4641
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: l, className: "select-chart", children: [
|
|
4618
4642
|
/* @__PURE__ */ e("defs", { children: t.map((w, y) => {
|
|
@@ -4639,7 +4663,7 @@ function no({ series: t, labels: n, height: l = 240, format: c = Y, area: s = !1
|
|
|
4639
4663
|
t.map((w, y) => {
|
|
4640
4664
|
const C = w.color ?? j(y), L = w.data.map((B, A) => [p(A), b(B)]);
|
|
4641
4665
|
return /* @__PURE__ */ m("g", { children: [
|
|
4642
|
-
s && /* @__PURE__ */ e("path", { d:
|
|
4666
|
+
s && /* @__PURE__ */ e("path", { d: xl(L, M), fill: `url(#${u}-a${y})`, className: "select-chart__area" }),
|
|
4643
4667
|
/* @__PURE__ */ e(
|
|
4644
4668
|
"path",
|
|
4645
4669
|
{
|
|
@@ -4698,7 +4722,7 @@ function no({ series: t, labels: n, height: l = 240, format: c = Y, area: s = !1
|
|
|
4698
4722
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
4699
4723
|
] });
|
|
4700
4724
|
}
|
|
4701
|
-
function
|
|
4725
|
+
function co({ series: t, labels: n, height: l = 240, format: c = Y, className: s, ...a }) {
|
|
4702
4726
|
const { ref: r, width: d } = ce(l), o = X(), i = te(), [u, h] = D(null), f = n.length, g = new Array(f).fill(0), v = t.map(
|
|
4703
4727
|
(y) => y.data.map((C, L) => (g[L] = (g[L] ?? 0) + (C ?? 0), g[L]))
|
|
4704
4728
|
), x = ye(Math.max(0, ...g)), N = Ee, $ = Math.max(0, d - N.left - N.right), _ = l - N.top - N.bottom, p = (y) => N.left + (f <= 1 ? $ / 2 : y / (f - 1) * $), b = (y) => N.top + _ - y / x * _, S = f > 1 ? $ / (f - 1) : $, k = Math.max(1, Math.ceil(f / 7)), M = N.top + _, w = v[v.length - 1];
|
|
@@ -4727,7 +4751,7 @@ function lo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
4727
4751
|
t.map((y, C) => {
|
|
4728
4752
|
const L = y.color ?? j(C), B = v[C].map((F, E) => [p(E), b(F)]), A = C === 0 ? n.map((F, E) => [p(E), M]) : v[C - 1].map((F, E) => [p(E), b(F)]);
|
|
4729
4753
|
return /* @__PURE__ */ m("g", { className: "select-chart__area", children: [
|
|
4730
|
-
/* @__PURE__ */ e("path", { d:
|
|
4754
|
+
/* @__PURE__ */ e("path", { d: yl(B, A), fill: `url(#${i}-b${C})` }),
|
|
4731
4755
|
/* @__PURE__ */ e("path", { d: Ge(B), fill: "none", stroke: L, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })
|
|
4732
4756
|
] }, C);
|
|
4733
4757
|
}),
|
|
@@ -4764,7 +4788,7 @@ function lo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
4764
4788
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
4765
4789
|
] });
|
|
4766
4790
|
}
|
|
4767
|
-
function
|
|
4791
|
+
function so({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = Y, formatLine: a = (o) => `${Math.round(o)}%`, className: r, ...d }) {
|
|
4768
4792
|
const { ref: o, width: i } = ce(c), u = X(), h = te(), [f, g] = D(null), v = { ...Ee, right: 58 }, x = Math.max(0, i - v.left - v.right), N = c - v.top - v.bottom, $ = t.length, _ = ye(Math.max(0, ...n.data)), p = ye(Math.max(0, ...l.data)), b = $ > 0 ? x / $ : 0, S = Math.min(b * 0.5, 36), k = Math.max(1, Math.ceil($ / 8)), M = n.color ?? j(0), w = l.color ?? j(1), y = v.top + N, C = (F) => y - F / _ * N, L = (F) => y - F / p * N, B = (F) => v.left + b * F + b / 2, A = l.data.map((F, E) => [B(E), L(F)]);
|
|
4769
4793
|
return /* @__PURE__ */ m("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: o, children: [
|
|
4770
4794
|
i > 0 && /* @__PURE__ */ m("svg", { width: i, height: c, className: "select-chart", children: [
|
|
@@ -4862,7 +4886,7 @@ function co({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = Y, fo
|
|
|
4862
4886
|
/* @__PURE__ */ e(K, { tip: u.tip })
|
|
4863
4887
|
] });
|
|
4864
4888
|
}
|
|
4865
|
-
const
|
|
4889
|
+
const ao = R(function({ segments: n, size: l = 200, thickness: c = 26, format: s = Y, centerLabel: a, legend: r = !0, gap: d = 2, pie: o = !1, className: i, ...u }, h) {
|
|
4866
4890
|
const f = X(), g = te(), v = q(null), x = Ct(v, l), N = n.reduce((k, M) => k + M.value, 0) || 1, $ = x / 2, _ = x / 2, p = x / 2 - 2, b = o ? 0 : p - c;
|
|
4867
4891
|
let S = 0;
|
|
4868
4892
|
return /* @__PURE__ */ m("div", { ref: h, ...u, className: `select-donut-wrap${i ? " " + i : ""}`, children: [
|
|
@@ -4911,7 +4935,7 @@ const so = R(function({ segments: n, size: l = 200, thickness: c = 26, format: s
|
|
|
4911
4935
|
/* @__PURE__ */ e(K, { tip: f.tip })
|
|
4912
4936
|
] });
|
|
4913
4937
|
});
|
|
4914
|
-
function
|
|
4938
|
+
function oo({ series: t, labels: n, height: l = 240, format: c = Y, stacked: s = !1, className: a, ...r }) {
|
|
4915
4939
|
const { ref: d, width: o } = ce(l), i = X(), u = te(), h = n.length, f = t.length || 1, g = n.map((M, w) => t.reduce((y, C) => y + (C.data[w] ?? 0), 0)), v = ye(s ? Math.max(0, ...g) : Math.max(0, ...t.flatMap((M) => M.data))), x = Ee, N = Math.max(0, o - x.left - x.right), $ = l - x.top - x.bottom, _ = x.top + $, p = h ? N / h : 0, b = (M) => _ - M / v * $, S = Math.min(p * 0.72, f * 40), k = s ? Math.min(p * 0.5, 44) : S / f;
|
|
4916
4940
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
4917
4941
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: l, className: "select-chart", children: [
|
|
@@ -5003,7 +5027,7 @@ function ao({ series: t, labels: n, height: l = 240, format: c = Y, stacked: s =
|
|
|
5003
5027
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
5004
5028
|
] });
|
|
5005
5029
|
}
|
|
5006
|
-
const
|
|
5030
|
+
const ro = R(function({ stages: n, format: l = Y, className: c, ...s }, a) {
|
|
5007
5031
|
const r = Math.max(1, ...n.map((d) => d.value));
|
|
5008
5032
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-funnel${c ? " " + c : ""}`, children: n.map((d, o) => {
|
|
5009
5033
|
const i = o > 0 ? n[o - 1].value || 1 : d.value || 1, u = o > 0 ? d.value / i * 100 : 100, h = j(o);
|
|
@@ -5029,19 +5053,19 @@ const oo = R(function({ stages: n, format: l = Y, className: c, ...s }, a) {
|
|
|
5029
5053
|
] }, o);
|
|
5030
5054
|
}) });
|
|
5031
5055
|
});
|
|
5032
|
-
function
|
|
5056
|
+
function Es(t) {
|
|
5033
5057
|
return Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0;
|
|
5034
5058
|
}
|
|
5035
|
-
function
|
|
5059
|
+
function Cn(t, n, l, c) {
|
|
5036
5060
|
const s = Math.PI + c * Math.PI;
|
|
5037
5061
|
return [t + l * Math.cos(s), n + l * Math.sin(s)];
|
|
5038
5062
|
}
|
|
5039
|
-
function
|
|
5040
|
-
const [a, r] =
|
|
5063
|
+
function Ln(t, n, l, c, s) {
|
|
5064
|
+
const [a, r] = Cn(t, n, l, c), [d, o] = Cn(t, n, l, s);
|
|
5041
5065
|
return `M ${a.toFixed(2)} ${r.toFixed(2)} A ${l} ${l} 0 0 1 ${d.toFixed(2)} ${o.toFixed(2)}`;
|
|
5042
5066
|
}
|
|
5043
|
-
const
|
|
5044
|
-
const h =
|
|
5067
|
+
const Is = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, io = R(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: r, format: d = Is, className: o, ...i }, u) {
|
|
5068
|
+
const h = Es(n), f = te(), g = a ?? Math.max(8, Math.round(s * 0.075)), v = g / 2 + 2, x = s / 2 - v, N = s / 2, $ = s / 2, _ = $ + v, p = jc({ value: h, format: d });
|
|
5045
5069
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-gauge${o ? " " + o : ""}`, style: { width: `${s / 16}rem` }, children: [
|
|
5046
5070
|
/* @__PURE__ */ m("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${_}` }, children: [
|
|
5047
5071
|
/* @__PURE__ */ m("svg", { width: "100%", height: "100%", viewBox: `0 0 ${s} ${_}`, className: "select-chart", "aria-hidden": "true", children: [
|
|
@@ -5053,7 +5077,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5053
5077
|
"path",
|
|
5054
5078
|
{
|
|
5055
5079
|
className: "select-gauge__track",
|
|
5056
|
-
d:
|
|
5080
|
+
d: Ln(N, $, x, 0, 1),
|
|
5057
5081
|
fill: "none",
|
|
5058
5082
|
strokeWidth: g,
|
|
5059
5083
|
strokeLinecap: "round"
|
|
@@ -5063,7 +5087,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5063
5087
|
"path",
|
|
5064
5088
|
{
|
|
5065
5089
|
className: "select-gauge__arc",
|
|
5066
|
-
d:
|
|
5090
|
+
d: Ln(N, $, x, 0, h / 100),
|
|
5067
5091
|
fill: "none",
|
|
5068
5092
|
stroke: r ?? `url(#${f})`,
|
|
5069
5093
|
strokeWidth: g,
|
|
@@ -5079,7 +5103,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5079
5103
|
] }),
|
|
5080
5104
|
c != null && /* @__PURE__ */ e("div", { className: "select-gauge__caption", children: c })
|
|
5081
5105
|
] });
|
|
5082
|
-
}),
|
|
5106
|
+
}), ho = R(function({ columns: n, rows: l, format: c = Y, formatValue: s, color: a = "var(--select-chart-1)", showValues: r = !0, min: d, max: o, cellSize: i = 40, maxCellSize: u = 96, cellHeight: h = 30, className: f, ...g }, v) {
|
|
5083
5107
|
const x = X(), N = l.flatMap((M) => M.values).filter((M) => M != null && Number.isFinite(M)), $ = d ?? (N.length ? Math.min(...N) : 0), p = (o ?? (N.length ? Math.max(...N) : 1)) - $ || 1, b = { "--heat-color": a }, S = {
|
|
5084
5108
|
gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${i}px, ${Math.max(i, u)}px))`,
|
|
5085
5109
|
width: "fit-content",
|
|
@@ -5093,7 +5117,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5093
5117
|
/* @__PURE__ */ m("div", { className: "select-heatmap__grid", style: S, children: [
|
|
5094
5118
|
/* @__PURE__ */ e("div", { className: "select-heatmap__corner" }),
|
|
5095
5119
|
n.map((M) => /* @__PURE__ */ e("div", { className: "select-heatmap__colhead", children: M }, M)),
|
|
5096
|
-
l.map((M) => /* @__PURE__ */ m(
|
|
5120
|
+
l.map((M) => /* @__PURE__ */ m(Ut, { children: [
|
|
5097
5121
|
/* @__PURE__ */ e("div", { className: "select-heatmap__rowhead", children: M.label }),
|
|
5098
5122
|
M.values.map((w, y) => {
|
|
5099
5123
|
const C = `${M.label}-${n[y] ?? y}`;
|
|
@@ -5130,7 +5154,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5130
5154
|
/* @__PURE__ */ e(K, { tip: x.tip })
|
|
5131
5155
|
] });
|
|
5132
5156
|
});
|
|
5133
|
-
function
|
|
5157
|
+
function uo({
|
|
5134
5158
|
items: t,
|
|
5135
5159
|
format: n = Y,
|
|
5136
5160
|
color: l,
|
|
@@ -5145,7 +5169,7 @@ function ho({
|
|
|
5145
5169
|
/* @__PURE__ */ m("div", { className: "select-progresslist__top", children: [
|
|
5146
5170
|
/* @__PURE__ */ m("span", { className: "select-progresslist__label", children: [
|
|
5147
5171
|
/* @__PURE__ */ e("span", { className: "select-progresslist__name", children: a.label }),
|
|
5148
|
-
a.badge && /* @__PURE__ */ e(
|
|
5172
|
+
a.badge && /* @__PURE__ */ e(tl, { tone: a.badge.tone, children: a.badge.label })
|
|
5149
5173
|
] }),
|
|
5150
5174
|
/* @__PURE__ */ e("span", { className: "select-progresslist__value", children: a.valueText ?? n(a.value) })
|
|
5151
5175
|
] }),
|
|
@@ -5164,7 +5188,7 @@ function ho({
|
|
|
5164
5188
|
] }, `${a.label}-${r}`);
|
|
5165
5189
|
}) });
|
|
5166
5190
|
}
|
|
5167
|
-
const
|
|
5191
|
+
const Rt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, po = R(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (h) => `${Math.round(h)}%`, centerLabel: r, legend: d = !0, className: o, ...i }, u) {
|
|
5168
5192
|
const h = te(), f = l / 2, g = l / 2;
|
|
5169
5193
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
5170
5194
|
/* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -5179,7 +5203,7 @@ const Dt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, uo = R
|
|
|
5179
5203
|
n.map((v, x) => {
|
|
5180
5204
|
const N = l / 2 - 2 - c / 2 - x * (c + s);
|
|
5181
5205
|
if (N <= c / 2) return null;
|
|
5182
|
-
const $ =
|
|
5206
|
+
const $ = Rt(v.value);
|
|
5183
5207
|
return /* @__PURE__ */ m("g", { transform: `rotate(-90 ${f} ${g})`, children: [
|
|
5184
5208
|
/* @__PURE__ */ e("circle", { cx: f, cy: g, r: N, fill: "none", strokeWidth: c, className: "select-radial__track" }),
|
|
5185
5209
|
/* @__PURE__ */ e(
|
|
@@ -5201,20 +5225,20 @@ const Dt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, uo = R
|
|
|
5201
5225
|
] }, x);
|
|
5202
5226
|
})
|
|
5203
5227
|
] }),
|
|
5204
|
-
/* @__PURE__ */ e("div", { className: "select-radial__center", children: r ?? (n.length === 1 ? /* @__PURE__ */ e("strong", { className: "select-radial__value", children: a(
|
|
5228
|
+
/* @__PURE__ */ e("div", { className: "select-radial__center", children: r ?? (n.length === 1 ? /* @__PURE__ */ e("strong", { className: "select-radial__value", children: a(Rt(n[0].value)) }) : null) })
|
|
5205
5229
|
] }),
|
|
5206
5230
|
d && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: n.map((v, x) => /* @__PURE__ */ m("li", { className: "select-donut__legitem", children: [
|
|
5207
5231
|
/* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: v.color ?? j(x) } }),
|
|
5208
5232
|
/* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: v.label }),
|
|
5209
|
-
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(
|
|
5233
|
+
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(Rt(v.value)) })
|
|
5210
5234
|
] }, x)) })
|
|
5211
5235
|
] });
|
|
5212
|
-
}),
|
|
5213
|
-
function
|
|
5236
|
+
}), An = 6.1, Dt = 12, Fn = 56, Ps = 0.4;
|
|
5237
|
+
function mo({ data: t, height: n, color: l, format: c = Y, formatValue: s, distributed: a = !0, labelWidth: r, className: d, ...o }) {
|
|
5214
5238
|
const g = n ?? t.length * 36 + 6 + 26, { ref: v, width: x } = ce(g), N = X(), $ = te(), _ = ye(Math.max(0, ...t.map((F) => F.value))), p = t.reduce((F, E) => Math.max(F, E.label.length), 0), b = Math.min(
|
|
5215
|
-
Math.max(
|
|
5216
|
-
Math.max(
|
|
5217
|
-
), S = r ?? b, k = Math.max(3, Math.floor((S -
|
|
5239
|
+
Math.max(Fn, p * An + Dt),
|
|
5240
|
+
Math.max(Fn, x * Ps)
|
|
5241
|
+
), S = r ?? b, k = Math.max(3, Math.floor((S - Dt) / An)), M = (F) => F.length <= k ? F : `${F.slice(0, k - 1).trimEnd()}…`, w = Math.max(0, x - S - 28), y = g - 6 - 26, C = t.length ? y / t.length : 0, L = Math.min(C * 0.62, 22), B = (F) => S + F / _ * w, A = (F, E) => F.color ?? (a ? j(E) : l ?? j(0));
|
|
5218
5242
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${d ? " " + d : ""}`, ref: v, children: [
|
|
5219
5243
|
x > 0 && /* @__PURE__ */ m("svg", { width: x, height: g, className: "select-chart", children: [
|
|
5220
5244
|
/* @__PURE__ */ e("defs", { children: t.map((F, E) => {
|
|
@@ -5264,7 +5288,7 @@ function po({ data: t, height: n, color: l, format: c = Y, formatValue: s, distr
|
|
|
5264
5288
|
/* @__PURE__ */ m(
|
|
5265
5289
|
"text",
|
|
5266
5290
|
{
|
|
5267
|
-
x: S -
|
|
5291
|
+
x: S - Dt / 2,
|
|
5268
5292
|
y: T,
|
|
5269
5293
|
className: "select-chart__ylabel",
|
|
5270
5294
|
dominantBaseline: "middle",
|
|
@@ -5281,7 +5305,7 @@ function po({ data: t, height: n, color: l, format: c = Y, formatValue: s, distr
|
|
|
5281
5305
|
/* @__PURE__ */ e(K, { tip: N.tip })
|
|
5282
5306
|
] });
|
|
5283
5307
|
}
|
|
5284
|
-
function
|
|
5308
|
+
function fo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
5285
5309
|
const { ref: a, width: r } = ce(n), d = X(), o = te();
|
|
5286
5310
|
let i = 0;
|
|
5287
5311
|
const u = t.map((k) => {
|
|
@@ -5351,7 +5375,7 @@ function mo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
5351
5375
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
5352
5376
|
] });
|
|
5353
5377
|
}
|
|
5354
|
-
const
|
|
5378
|
+
const Bn = (t) => Math.max(0, Math.min(100, t)), _o = R(function({ items: n, format: l = Y, className: c, ...s }, a) {
|
|
5355
5379
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((r, d) => {
|
|
5356
5380
|
const o = r.color ?? j(d), i = r.max ?? (Math.max(r.value, r.target) * 1.25 || 1), u = r.value >= r.target;
|
|
5357
5381
|
return /* @__PURE__ */ m("div", { className: "select-bullet__row", children: [
|
|
@@ -5377,17 +5401,17 @@ const En = (t) => Math.max(0, Math.min(100, t)), fo = R(function({ items: n, for
|
|
|
5377
5401
|
{
|
|
5378
5402
|
className: "select-bullet__fill",
|
|
5379
5403
|
style: {
|
|
5380
|
-
width: `${
|
|
5404
|
+
width: `${Bn(r.value / i * 100)}%`,
|
|
5381
5405
|
background: `linear-gradient(90deg, ${o}, color-mix(in srgb, ${o} 55%, transparent))`
|
|
5382
5406
|
}
|
|
5383
5407
|
}
|
|
5384
5408
|
),
|
|
5385
|
-
/* @__PURE__ */ e("span", { className: "select-bullet__tick", style: { left: `${
|
|
5409
|
+
/* @__PURE__ */ e("span", { className: "select-bullet__tick", style: { left: `${Bn(r.target / i * 100)}%` } })
|
|
5386
5410
|
] })
|
|
5387
5411
|
] }, `${r.label}-${d}`);
|
|
5388
5412
|
}) });
|
|
5389
5413
|
});
|
|
5390
|
-
function
|
|
5414
|
+
function Rs(t, n, l) {
|
|
5391
5415
|
const c = [], s = (r, d) => {
|
|
5392
5416
|
const o = r.reduce((h, f) => h + f, 0), i = Math.max(...r), u = Math.min(...r);
|
|
5393
5417
|
return Math.max(d * d * i / (o * o), o * o / (d * d * u));
|
|
@@ -5430,8 +5454,8 @@ function Ps(t, n, l) {
|
|
|
5430
5454
|
l
|
|
5431
5455
|
), c;
|
|
5432
5456
|
}
|
|
5433
|
-
function
|
|
5434
|
-
const { ref: a, width: r } = ce(n), d = X(), o = te(), i = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), u = r > 0 ?
|
|
5457
|
+
function vo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
5458
|
+
const { ref: a, width: r } = ce(n), d = X(), o = te(), i = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), u = r > 0 ? Rs(i.map((h) => t[h].value), r, n) : [];
|
|
5435
5459
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
|
|
5436
5460
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
|
|
5437
5461
|
/* @__PURE__ */ e("defs", { children: t.map((h, f) => {
|
|
@@ -5472,7 +5496,7 @@ function _o({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
5472
5496
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
5473
5497
|
] });
|
|
5474
5498
|
}
|
|
5475
|
-
function
|
|
5499
|
+
function go({ series: t, height: n = 240, xFormat: l = Y, yFormat: c = Y, xMax: s, yMax: a, maxRadius: r = 18, className: d, ...o }) {
|
|
5476
5500
|
const { ref: i, width: u } = ce(n), h = X(), f = t.flatMap((M) => M.points), g = ye(s ?? Math.max(0, ...f.map((M) => M.x))), v = ye(a ?? Math.max(0, ...f.map((M) => M.y))), x = Math.max(1, ...f.map((M) => M.r ?? 0)), N = Ee, $ = Math.max(0, u - N.left - N.right), _ = n - N.top - N.bottom, p = N.top + _, b = (M) => N.left + M / g * $, S = (M) => p - M / v * _, k = (M) => M.r ? 4 + Math.sqrt(M.r) / Math.sqrt(x) * (r - 4) : 4.5;
|
|
5477
5501
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${d ? " " + d : ""}`, ref: i, children: [
|
|
5478
5502
|
u > 0 && /* @__PURE__ */ m("svg", { width: u, height: n, className: "select-chart", children: [
|
|
@@ -5519,7 +5543,7 @@ function vo({ series: t, height: n = 240, xFormat: l = Y, yFormat: c = Y, xMax:
|
|
|
5519
5543
|
/* @__PURE__ */ e(K, { tip: h.tip })
|
|
5520
5544
|
] });
|
|
5521
5545
|
}
|
|
5522
|
-
const
|
|
5546
|
+
const bo = R(function({ axes: n, series: l, size: c = 240, max: s, format: a = Y, levels: r = 4, legend: d = !0, className: o, ...i }, u) {
|
|
5523
5547
|
const h = X(), f = te(), g = n.length, v = c / 2, x = c / 2, N = c / 2 - 30, $ = s ?? ye(Math.max(1, ...l.flatMap((S) => S.values))), _ = (S) => (-90 + S * 360 / g) * Math.PI / 180, p = (S, k) => [v + k * Math.cos(_(S)), x + k * Math.sin(_(S))], b = (S) => S.map((k, M) => `${M === 0 ? "M" : "L"}${p(M, k).map((w) => w.toFixed(2)).join(",")}`).join(" ") + " Z";
|
|
5524
5548
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
5525
5549
|
/* @__PURE__ */ m("div", { className: "select-radar", style: { width: c, aspectRatio: "1" }, children: [
|
|
@@ -5589,7 +5613,7 @@ const go = R(function({ axes: n, series: l, size: c = 240, max: s, format: a = Y
|
|
|
5589
5613
|
] }, k)) })
|
|
5590
5614
|
] });
|
|
5591
5615
|
});
|
|
5592
|
-
function
|
|
5616
|
+
function xo({ links: t, height: n = 260, format: l = Y, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...r }) {
|
|
5593
5617
|
const { ref: d, width: o } = ce(n), i = X(), u = [], h = [];
|
|
5594
5618
|
for (const y of t)
|
|
5595
5619
|
u.includes(y.source) || u.push(y.source), h.includes(y.target) || h.push(y.target);
|
|
@@ -5637,7 +5661,7 @@ function bo({ links: t, height: n = 260, format: l = Y, nodeWidth: c = 14, nodeG
|
|
|
5637
5661
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
5638
5662
|
] });
|
|
5639
5663
|
}
|
|
5640
|
-
function
|
|
5664
|
+
function yo({ data: t, height: n = 240, format: l = Y, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...r }) {
|
|
5641
5665
|
const { ref: d, width: o } = ce(n), i = X(), u = Ee, h = Math.max(0, o - u.left - u.right), f = n - u.top - u.bottom, g = u.top + f, v = Math.max(1, ...t.map((w) => w.high)), x = Math.min(v, ...t.map((w) => w.low)), N = (v - x) * 0.08 || 1, $ = x - N, _ = v + N, p = (w) => g - (w - $) / (_ - $) * f, b = t.length, S = b ? h / b : 0, k = Math.min(S * 0.5, 18), M = Array.from({ length: 5 }, (w, y) => $ + (_ - $) * y / 4);
|
|
5642
5666
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
5643
5667
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -5689,7 +5713,7 @@ function xo({ data: t, height: n = 240, format: l = Y, upColor: c = "var(--selec
|
|
|
5689
5713
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
5690
5714
|
] });
|
|
5691
5715
|
}
|
|
5692
|
-
function
|
|
5716
|
+
function No({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
5693
5717
|
const { ref: a, width: r } = ce(n), d = X(), o = Ee, i = Math.max(0, r - o.left - o.right), u = n - o.top - o.bottom, h = o.top + u, f = ye(Math.max(1, ...t.map(($) => $.max))), g = ($) => h - $ / f * u, v = t.length, x = v ? i / v : 0, N = Math.min(x * 0.5, 40);
|
|
5694
5718
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
5695
5719
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -5745,7 +5769,7 @@ function yo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
5745
5769
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
5746
5770
|
] });
|
|
5747
5771
|
}
|
|
5748
|
-
function
|
|
5772
|
+
function Mo({ data: t, height: n, min: l, max: c, format: s = Y, labelWidth: a = 96, className: r, ...d }) {
|
|
5749
5773
|
const f = n ?? t.length * 36 + 6 + 26, { ref: g, width: v } = ce(f), x = X(), N = te(), $ = l ?? Math.min(0, ...t.map((L) => L.start)), p = (c ?? Math.max(1, ...t.map((L) => L.end))) - $ || 1, b = a, S = Math.max(0, v - b - 14), k = f - 6 - 26, M = t.length ? k / t.length : 0, w = Math.min(M * 0.6, 22), y = (L) => b + (L - $) / p * S, C = Array.from({ length: 5 }, (L, B) => $ + p * B / 4);
|
|
5750
5774
|
return /* @__PURE__ */ m("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: g, children: [
|
|
5751
5775
|
v > 0 && /* @__PURE__ */ m("svg", { width: v, height: f, className: "select-chart", children: [
|
|
@@ -5800,7 +5824,7 @@ function No({ data: t, height: n, min: l, max: c, format: s = Y, labelWidth: a =
|
|
|
5800
5824
|
/* @__PURE__ */ e(K, { tip: x.tip })
|
|
5801
5825
|
] });
|
|
5802
5826
|
}
|
|
5803
|
-
const
|
|
5827
|
+
const $o = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels: c = ["Seg", "", "Qua", "", "Sex", "", "Dom"], columnLabels: s, format: a = Y, cell: r = 14, gap: d = 3, min: o, max: i, className: u, ...h }, f) {
|
|
5804
5828
|
const g = X();
|
|
5805
5829
|
te();
|
|
5806
5830
|
const v = n.flat().filter((w) => w != null && Number.isFinite(w)), x = o ?? (v.length ? Math.min(...v) : 0), $ = (i ?? (v.length ? Math.max(...v) : 1)) - x || 1, _ = 30, p = s ? 16 : 4, b = r + d, S = _ + n.length * b, k = p + 7 * b, M = { "--heat-color": l };
|
|
@@ -5844,7 +5868,7 @@ const Mo = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
5844
5868
|
] }),
|
|
5845
5869
|
/* @__PURE__ */ e(K, { tip: g.tip })
|
|
5846
5870
|
] });
|
|
5847
|
-
}),
|
|
5871
|
+
}), ko = R(function({ segments: n, size: l = 200, format: c = Y, legend: s = !0, rose: a = !1, className: r, ...d }, o) {
|
|
5848
5872
|
const i = X(), u = l / 2, h = l / 2, f = l / 2 - 2, g = n.length || 1, v = ye(Math.max(1, ...n.map(($) => $.value))), x = ($) => a ? Math.max(0, $) / v * f : Math.sqrt(Math.max(0, $) / v) * f, N = 360 / g;
|
|
5849
5873
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
|
|
5850
5874
|
/* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -5875,7 +5899,7 @@ const Mo = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
5875
5899
|
] }, _)) })
|
|
5876
5900
|
] });
|
|
5877
5901
|
});
|
|
5878
|
-
function
|
|
5902
|
+
function wo({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = Y, className: a, ...r }) {
|
|
5879
5903
|
const { ref: d, width: o } = ce(c), i = X(), u = { top: 24, right: 64, bottom: 12, left: 132 }, h = ye(Math.max(1, ...t.flatMap((N) => [N.left, N.right]))), f = c - u.top - u.bottom, g = (N) => u.top + f - N / h * f, v = u.left, x = o - u.right;
|
|
5880
5904
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
5881
5905
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: c, className: "select-chart", children: [
|
|
@@ -5922,7 +5946,7 @@ function ko({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
|
|
|
5922
5946
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
5923
5947
|
] });
|
|
5924
5948
|
}
|
|
5925
|
-
function
|
|
5949
|
+
function So({ data: t, height: n, format: l = Y, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: r, ...d }) {
|
|
5926
5950
|
const f = n ?? t.length * 34 + 6 + 26, { ref: g, width: v } = ce(f), x = X(), N = "var(--select-chart-2)", $ = "var(--select-chart-1)", _ = ye(Math.max(1, ...t.flatMap((w) => [w.from, w.to]))), p = a, b = Math.max(0, v - p - 14), S = f - 6 - 26, k = t.length ? S / t.length : 0, M = (w) => p + w / _ * b;
|
|
5927
5951
|
return /* @__PURE__ */ m("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: g, children: [
|
|
5928
5952
|
v > 0 && /* @__PURE__ */ m("svg", { width: v, height: f, className: "select-chart", children: [
|
|
@@ -5974,7 +5998,7 @@ function wo({ data: t, height: n, format: l = Y, fromLabel: c = "Antes", toLabel
|
|
|
5974
5998
|
/* @__PURE__ */ e(K, { tip: x.tip })
|
|
5975
5999
|
] });
|
|
5976
6000
|
}
|
|
5977
|
-
function
|
|
6001
|
+
function Co({ columns: t, height: n = 240, format: l = Y, gap: c = 3, className: s, ...a }) {
|
|
5978
6002
|
const { ref: r, width: d } = ce(n), o = X(), i = { top: 6, right: 6, bottom: 24, left: 6 }, u = Math.max(0, d - i.left - i.right), h = n - i.top - i.bottom, f = t.map((p) => p.segments.reduce((b, S) => b + S.value, 0)), g = f.reduce((p, b) => p + b, 0) || 1, v = [];
|
|
5979
6003
|
t.forEach((p) => p.segments.forEach((b) => {
|
|
5980
6004
|
v.includes(b.key) || v.push(b.key);
|
|
@@ -6026,7 +6050,7 @@ function So({ columns: t, height: n = 240, format: l = Y, gap: c = 3, className:
|
|
|
6026
6050
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
6027
6051
|
] });
|
|
6028
6052
|
}
|
|
6029
|
-
const
|
|
6053
|
+
const Lo = R(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: r, format: d = (h) => `${Math.round(h)}`, className: o, ...i }, u) {
|
|
6030
6054
|
const h = a ?? Math.max(10, Math.round(s * 0.08)), f = h / 2 + 2, g = s / 2 - f, v = s / 2, x = s / 2, N = x + f, $ = (L) => Math.max(0, Math.min(l, L)), _ = (L) => {
|
|
6031
6055
|
const B = Math.PI + L * Math.PI;
|
|
6032
6056
|
return [v + g * Math.cos(B), x + g * Math.sin(B)];
|
|
@@ -6051,7 +6075,7 @@ const Co = R(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
|
|
|
6051
6075
|
] })
|
|
6052
6076
|
] }) });
|
|
6053
6077
|
});
|
|
6054
|
-
function
|
|
6078
|
+
function Ao({ series: t, labels: n, height: l = 240, format: c = Y, className: s, ...a }) {
|
|
6055
6079
|
const { ref: r, width: d } = ce(l), o = X(), i = te(), [u, h] = D(null), f = n.length, g = { top: 14, right: 14, bottom: 28, left: 14 }, v = Math.max(0, d - g.left - g.right), x = l - g.top - g.bottom, N = n.map((k, M) => t.reduce((w, y) => w + (y.data[M] ?? 0), 0)), $ = Math.max(1, ...N), _ = x / $, p = (k) => g.left + (f <= 1 ? v / 2 : k / (f - 1) * v), b = n.map(() => 0), S = t.map((k, M) => {
|
|
6056
6080
|
const w = [], y = [];
|
|
6057
6081
|
return n.forEach((C, L) => {
|
|
@@ -6065,7 +6089,7 @@ function Lo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
6065
6089
|
/* @__PURE__ */ e("stop", { offset: "0%", stopColor: k.color, stopOpacity: 0.95 }),
|
|
6066
6090
|
/* @__PURE__ */ e("stop", { offset: "100%", stopColor: k.color, stopOpacity: 0.6 })
|
|
6067
6091
|
] }, M)) }),
|
|
6068
|
-
S.map((k, M) => /* @__PURE__ */ e("path", { d:
|
|
6092
|
+
S.map((k, M) => /* @__PURE__ */ e("path", { d: yl(k.upper, k.lower), fill: `url(#${i}-st${M})`, className: "select-chart__area" }, M)),
|
|
6069
6093
|
u != null && /* @__PURE__ */ e("line", { x1: p(u), x2: p(u), y1: g.top, y2: g.top + x, className: "select-chart__crosshair" }),
|
|
6070
6094
|
n.map(
|
|
6071
6095
|
(k, M) => M % Math.max(1, Math.ceil(f / 7)) === 0 || M === f - 1 ? /* @__PURE__ */ e("text", { x: p(M), y: l - g.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: k }, M) : null
|
|
@@ -6097,7 +6121,7 @@ function Lo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
6097
6121
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
6098
6122
|
] });
|
|
6099
6123
|
}
|
|
6100
|
-
const
|
|
6124
|
+
const Fo = R(function({ data: n, size: l = 220, format: c = Y, legend: s = !0, className: a, ...r }, d) {
|
|
6101
6125
|
const o = X(), i = l / 2, u = l / 2, h = l / 2 - 2, f = h * 0.62, g = h * 0.32, v = n.map(($) => {
|
|
6102
6126
|
var _;
|
|
6103
6127
|
return (_ = $.children) != null && _.length ? $.children.reduce((p, b) => p + b.value, 0) : $.value ?? 0;
|
|
@@ -6158,7 +6182,7 @@ const Ao = R(function({ data: n, size: l = 220, format: c = Y, legend: s = !0, c
|
|
|
6158
6182
|
] }, _)) })
|
|
6159
6183
|
] });
|
|
6160
6184
|
});
|
|
6161
|
-
function
|
|
6185
|
+
function Bo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
6162
6186
|
const { ref: a, width: r } = ce(n), d = X(), o = Ee, i = Math.max(0, r - o.left - o.right), u = n - o.top - o.bottom, h = o.top + u, f = ye(Math.max(1, ...t.map((_) => _.max))), g = (_) => h - _ / f * u, v = t.length, x = v ? i / v : 0, N = Math.min(x * 0.42, 46), $ = Math.max(1, ...t.flatMap((_) => _.bins));
|
|
6163
6187
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
6164
6188
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -6179,7 +6203,7 @@ function Fo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
6179
6203
|
const b = o.left + x * p + x / 2, S = _.color ?? j(p), k = _.bins.length, M = (A) => g(_.min + (_.max - _.min) * A / Math.max(1, k - 1)), w = (A) => _.bins[A] / $ * N, y = [], C = [];
|
|
6180
6204
|
for (let A = k - 1; A >= 0; A--) y.push([b + w(A), M(A)]);
|
|
6181
6205
|
for (let A = 0; A < k; A++) C.push([b - w(A), M(A)]);
|
|
6182
|
-
const L = `${
|
|
6206
|
+
const L = `${wn(y)} ${wn(C).replace(/^M/, "L")} Z`, B = _.median != null ? g(_.median) : null;
|
|
6183
6207
|
return /* @__PURE__ */ m("g", { children: [
|
|
6184
6208
|
/* @__PURE__ */ e("path", { d: L, fill: S, fillOpacity: 0.32, stroke: S, strokeWidth: 1.5, strokeLinejoin: "round" }),
|
|
6185
6209
|
B != null && /* @__PURE__ */ e("line", { x1: b - N * 0.6, x2: b + N * 0.6, y1: B, y2: B, stroke: S, strokeWidth: 2 }),
|
|
@@ -6212,7 +6236,7 @@ function Fo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
6212
6236
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
6213
6237
|
] });
|
|
6214
6238
|
}
|
|
6215
|
-
const
|
|
6239
|
+
const Eo = R(function({ matrix: n, labels: l, size: c = 240, format: s = Y, padAngle: a = 0.05, className: r, ...d }, o) {
|
|
6216
6240
|
const i = X(), u = l.length, h = c / 2, f = c / 2, g = c / 2 - 22, v = g - 9, x = n.map((y) => y.reduce((C, L) => C + L, 0)), N = x.reduce((y, C) => y + C, 0) || 1, $ = (2 * Math.PI - u * a) / N, _ = [];
|
|
6217
6241
|
let p = 0;
|
|
6218
6242
|
for (let y = 0; y < u; y++) {
|
|
@@ -6277,7 +6301,7 @@ const Bo = R(function({ matrix: n, labels: l, size: c = 240, format: s = Y, padA
|
|
|
6277
6301
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
6278
6302
|
] }) });
|
|
6279
6303
|
});
|
|
6280
|
-
function
|
|
6304
|
+
function Io({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: r = Y, className: d, ...o }) {
|
|
6281
6305
|
const { ref: i, width: u } = ce(n), h = X(), f = 12, g = Math.max(0, u - f * 2), v = n - f * 2, x = s ?? Math.max(1, ...t.map((C) => C.x)), N = a ?? Math.max(1, ...t.map((C) => C.y)), $ = (C) => f + C / x * g, _ = (C) => f + v - C / N * v, p = l, b = Math.sqrt(3), S = (C, L) => {
|
|
6282
6306
|
let B = C, A = L, F = -B - A, E = Math.round(B), T = Math.round(F), I = Math.round(A);
|
|
6283
6307
|
const O = Math.abs(E - B), W = Math.abs(T - F), Z = Math.abs(I - A);
|
|
@@ -6318,7 +6342,7 @@ function Eo({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
|
|
|
6318
6342
|
/* @__PURE__ */ e(K, { tip: h.tip })
|
|
6319
6343
|
] });
|
|
6320
6344
|
}
|
|
6321
|
-
const
|
|
6345
|
+
const Po = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, r) {
|
|
6322
6346
|
const d = n.map((f) => f.value), o = Math.max(1, ...d), i = Math.min(...d), u = o - i || 1, h = (f) => l + (f - i) / u * (c - l);
|
|
6323
6347
|
return /* @__PURE__ */ e("div", { ref: r, ...a, className: `select-wordcloud${s ? " " + s : ""}`, children: n.map((f, g) => /* @__PURE__ */ e(
|
|
6324
6348
|
"span",
|
|
@@ -6334,7 +6358,7 @@ const Io = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
|
|
|
6334
6358
|
},
|
|
6335
6359
|
`${f.text}-${g}`
|
|
6336
6360
|
)) });
|
|
6337
|
-
}),
|
|
6361
|
+
}), Ds = [
|
|
6338
6362
|
[-59.6, -80, -59.9, -80.5, -60.2, -81, -62.3, -80.9, -64.5, -80.9, -65.7, -80.6, -65.7, -80.5, -66.3, -80.3, -64, -80.3, -61.9, -80.4, -61.1, -80, -60.6, -79.6, -59.6, -80],
|
|
6339
6363
|
[-159.2, -79.5, -161.1, -79.6, -162.4, -79.3, -163, -78.9, -163.1, -78.9, -163.7, -78.6, -163.1, -78.2, -161.2, -78.4, -160.2, -78.7, -159.5, -79, -159.2, -79.5],
|
|
6340
6364
|
[-45.2, -78, -43.9, -78.5, -43.5, -79.1, -43.4, -79.5, -43.3, -80, -44.9, -80.3, -46.5, -80.6, -48.4, -80.8, -50.5, -81, -52.9, -81, -54.2, -80.6, -54, -80.2, -51.9, -79.9, -51, -79.6, -50.4, -79.2, -49.9, -78.8, -49.3, -78.5, -48.7, -78, -48.2, -78, -46.7, -77.8, -45.2, -78],
|
|
@@ -6471,7 +6495,7 @@ function bt([t, n, l], c, s) {
|
|
|
6471
6495
|
const a = c * Lt, r = t * Math.cos(a) + l * Math.sin(a), d = -t * Math.sin(a) + l * Math.cos(a), o = s * Lt, i = n * Math.cos(o) - d * Math.sin(o), u = n * Math.sin(o) + d * Math.cos(o);
|
|
6472
6496
|
return [r, i, u];
|
|
6473
6497
|
}
|
|
6474
|
-
function
|
|
6498
|
+
function En(t, n, l) {
|
|
6475
6499
|
let c = t[0] * n[0] + t[1] * n[1] + t[2] * n[2];
|
|
6476
6500
|
c = Math.max(-1, Math.min(1, c));
|
|
6477
6501
|
const s = Math.acos(c);
|
|
@@ -6479,7 +6503,7 @@ function In(t, n, l) {
|
|
|
6479
6503
|
const a = Math.sin(s), r = Math.sin((1 - l) * s) / a, d = Math.sin(l * s) / a;
|
|
6480
6504
|
return [t[0] * r + n[0] * d, t[1] * r + n[1] * d, t[2] * r + n[2] * d];
|
|
6481
6505
|
}
|
|
6482
|
-
const
|
|
6506
|
+
const In = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, Ro = R(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: r = 7, color: d = "var(--select-chart-1)", format: o = Y, legend: i = !0, map: u = !0, fluid: h = !1, onZoomChange: f, className: g, ...v }, x) {
|
|
6483
6507
|
var Fe;
|
|
6484
6508
|
const N = te(), $ = X(), _ = q(null), p = Ct(_, c), b = n.length ? n.reduce((P, V) => P + V.lng, 0) / n.length : 0, S = q(
|
|
6485
6509
|
typeof window < "u" && !!((Fe = window.matchMedia) != null && Fe.call(window, "(prefers-reduced-motion: reduce)").matches)
|
|
@@ -6538,7 +6562,7 @@ const Pn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6538
6562
|
}
|
|
6539
6563
|
return V;
|
|
6540
6564
|
}, []), de = xe(
|
|
6541
|
-
() =>
|
|
6565
|
+
() => Ds.map((P) => {
|
|
6542
6566
|
const V = [];
|
|
6543
6567
|
for (let U = 0; U < P.length; U += 2) V.push(et(P[U + 1], P[U]));
|
|
6544
6568
|
return V;
|
|
@@ -6557,21 +6581,21 @@ const Pn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6557
6581
|
} else re = !1;
|
|
6558
6582
|
const ee = [];
|
|
6559
6583
|
for (let se = 0; se < U; se++) {
|
|
6560
|
-
const ue = V[se], _e = V[(se + 1) % U],
|
|
6561
|
-
if (
|
|
6584
|
+
const ue = V[se], _e = V[(se + 1) % U], je = ue[2] > 0, Pe = _e[2] > 0;
|
|
6585
|
+
if (je && ee.push({ v: ue, edge: !1 }), je !== Pe) {
|
|
6562
6586
|
const Je = ue[2] / (ue[2] - _e[2]);
|
|
6563
6587
|
ee.push({ v: [ue[0] + (_e[0] - ue[0]) * Je, ue[1] + (_e[1] - ue[1]) * Je, 0], edge: !0 });
|
|
6564
6588
|
}
|
|
6565
6589
|
}
|
|
6566
6590
|
if (ee.length >= 3) {
|
|
6567
|
-
const se = (_e,
|
|
6568
|
-
const Pe = me(
|
|
6569
|
-
if (_e.edge &&
|
|
6591
|
+
const se = (_e, je) => {
|
|
6592
|
+
const Pe = me(je.v);
|
|
6593
|
+
if (_e.edge && je.edge) {
|
|
6570
6594
|
const Je = Math.atan2(me(_e.v).y - Q, me(_e.v).x - H);
|
|
6571
|
-
let
|
|
6572
|
-
for (;
|
|
6573
|
-
for (;
|
|
6574
|
-
const mt =
|
|
6595
|
+
let Ve = Math.atan2(Pe.y - Q, Pe.x - H) - Je;
|
|
6596
|
+
for (; Ve > Math.PI; ) Ve -= 2 * Math.PI;
|
|
6597
|
+
for (; Ve < -Math.PI; ) Ve += 2 * Math.PI;
|
|
6598
|
+
const mt = Ve > 0 ? 1 : 0;
|
|
6575
6599
|
return `A${ne.toFixed(1)},${ne.toFixed(1)} 0 0 ${mt} ${Pe.x.toFixed(1)},${Pe.y.toFixed(1)}`;
|
|
6576
6600
|
}
|
|
6577
6601
|
return `L${Pe.x.toFixed(1)},${Pe.y.toFixed(1)}`;
|
|
@@ -6601,13 +6625,13 @@ const Pn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6601
6625
|
}), Ne = O != null ? n[O] : null, Ie = 0.16, ke = l.map((P, V) => {
|
|
6602
6626
|
const U = et(P.from.lat, P.from.lng), re = et(P.to.lat, P.to.lng);
|
|
6603
6627
|
let ee = "", se = !1;
|
|
6604
|
-
for (let
|
|
6605
|
-
const mt =
|
|
6606
|
-
|
|
6628
|
+
for (let Ve = 0; Ve <= 40; Ve++) {
|
|
6629
|
+
const mt = Ve / 40, ft = En(U, re, mt), Pt = 1 + 0.34 * Math.sin(Math.PI * mt), $l = bt(ft, k.current.lng, k.current.lat), cn = z([ft[0] * Pt, ft[1] * Pt, ft[2] * Pt]);
|
|
6630
|
+
$l[2] > -0.05 ? (ee += `${se ? "L" : "M"}${cn.x.toFixed(1)},${cn.y.toFixed(1)}`, se = !0) : se = !1;
|
|
6607
6631
|
}
|
|
6608
|
-
const ue = S.current ? 0.5 : (B.current * Ie + V * 0.27) % 1, _e =
|
|
6609
|
-
return { d: ee, col: P.color ?? d, i: V, flow: { ...Je, vis: Pe[2] > 0 }, active:
|
|
6610
|
-
}), Ue = Ne != null,
|
|
6632
|
+
const ue = S.current ? 0.5 : (B.current * Ie + V * 0.27) % 1, _e = En(U, re, ue), je = 1 + 0.34 * Math.sin(Math.PI * ue), Pe = bt(_e, k.current.lng, k.current.lat), Je = z([_e[0] * je, _e[1] * je, _e[2] * je]), ln = Ne != null && (In(P.from, Ne) || In(P.to, Ne));
|
|
6633
|
+
return { d: ee, col: P.color ?? d, i: V, flow: { ...Je, vis: Pe[2] > 0 }, active: ln };
|
|
6634
|
+
}), Ue = Ne != null, He = i ? [...n].sort((P, V) => (V.value ?? 0) - (P.value ?? 0)).slice(0, 6) : [];
|
|
6611
6635
|
return /* @__PURE__ */ m("div", { ref: x, ...v, className: `select-globe${g ? " " + g : ""}`, children: [
|
|
6612
6636
|
/* @__PURE__ */ m(
|
|
6613
6637
|
"div",
|
|
@@ -6751,14 +6775,14 @@ const Pn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6751
6775
|
]
|
|
6752
6776
|
}
|
|
6753
6777
|
),
|
|
6754
|
-
|
|
6778
|
+
He.length > 0 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: He.map((P, V) => /* @__PURE__ */ m("li", { className: "select-donut__legitem", children: [
|
|
6755
6779
|
/* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: P.color ?? d } }),
|
|
6756
6780
|
/* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: P.label }),
|
|
6757
6781
|
P.value != null && /* @__PURE__ */ e("span", { className: "select-donut__legval", children: o(P.value) })
|
|
6758
6782
|
] }, V)) })
|
|
6759
6783
|
] });
|
|
6760
6784
|
});
|
|
6761
|
-
function
|
|
6785
|
+
function Do({ children: t, speed: n = 28, className: l, ...c }) {
|
|
6762
6786
|
const s = q(null), a = q(null), r = q(null), d = Ct(s, 0), o = Ct(r, 0), i = d > 0 && o > d + 1, u = q(0), h = q(null), f = q(!1);
|
|
6763
6787
|
le(() => {
|
|
6764
6788
|
var S;
|
|
@@ -6806,7 +6830,7 @@ function Ro({ children: t, speed: n = 28, className: l, ...c }) {
|
|
|
6806
6830
|
}
|
|
6807
6831
|
);
|
|
6808
6832
|
}
|
|
6809
|
-
function
|
|
6833
|
+
function To({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
6810
6834
|
var A;
|
|
6811
6835
|
const { ref: a, width: r } = ce(n), d = X(), o = te(), [i, u] = D(null), h = { ...Ee, right: 44 }, f = [...t].sort((F, E) => E.value - F.value), g = f.length, v = f.reduce((F, E) => F + E.value, 0) || 1;
|
|
6812
6836
|
let x = 0;
|
|
@@ -6873,7 +6897,7 @@ function Do({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
6873
6897
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
6874
6898
|
] });
|
|
6875
6899
|
}
|
|
6876
|
-
const
|
|
6900
|
+
const Wo = R(function({ segments: n, cols: l = 10, rows: c = 10, format: s = Y, className: a, ...r }, d) {
|
|
6877
6901
|
const o = n.reduce((x, N) => x + N.value, 0) || 1, i = l * c, u = n.map((x) => x.value / o * i), h = u.map(Math.floor);
|
|
6878
6902
|
let f = h.reduce((x, N) => x + N, 0);
|
|
6879
6903
|
const g = u.map((x, N) => ({ i: N, frac: x - h[N] })).sort((x, N) => N.frac - x.frac);
|
|
@@ -6892,7 +6916,7 @@ const To = R(function({ segments: n, cols: l = 10, rows: c = 10, format: s = Y,
|
|
|
6892
6916
|
] }, N)) })
|
|
6893
6917
|
] });
|
|
6894
6918
|
});
|
|
6895
|
-
function
|
|
6919
|
+
function Oo({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = Y, leftColor: a, rightColor: r, centerWidth: d = 84, className: o, ...i }) {
|
|
6896
6920
|
const u = c ?? Math.max(180, t.length * 40 + 36), { ref: h, width: f } = ce(u), g = X(), [v, x] = D(null), N = 8, $ = 26, _ = 8, p = Math.max(1, ...t.flatMap((L) => [L.left, L.right])), b = Math.max(0, (f - d - N * 2) / 2), S = t.length ? (u - $ - _) / t.length : 0, k = Math.min(S * 0.6, 26), M = N + b, w = N + b + d, y = a ?? j(1), C = r ?? j(0);
|
|
6897
6921
|
return /* @__PURE__ */ m("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: h, children: [
|
|
6898
6922
|
f > 0 && /* @__PURE__ */ m("svg", { width: f, height: u, className: "select-chart", onMouseLeave: () => {
|
|
@@ -6946,7 +6970,7 @@ function Wo({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
|
|
|
6946
6970
|
/* @__PURE__ */ e(K, { tip: g.tip })
|
|
6947
6971
|
] });
|
|
6948
6972
|
}
|
|
6949
|
-
function
|
|
6973
|
+
function Ho({ series: t, labels: n, height: l = 240, format: c = Y, className: s, ...a }) {
|
|
6950
6974
|
const { ref: r, width: d } = ce(l), o = X(), [i, u] = D(null), h = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, g = t.length, v = Math.max(0, d - h.left - h.right), x = l - h.top - h.bottom, N = t.map(() => new Array(f).fill(0));
|
|
6951
6975
|
for (let p = 0; p < f; p++)
|
|
6952
6976
|
t.map((S, k) => ({ si: k, v: S.data[p] ?? 0 })).sort((S, k) => k.v - S.v).forEach((S, k) => {
|
|
@@ -6994,7 +7018,7 @@ function Oo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
6994
7018
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
6995
7019
|
] });
|
|
6996
7020
|
}
|
|
6997
|
-
function
|
|
7021
|
+
function jo({ axes: t, data: n, height: l = 260, format: c = Y, className: s, ...a }) {
|
|
6998
7022
|
const { ref: r, width: d } = ce(l), o = X(), [i, u] = D(null), h = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, d - h.left - h.right), g = l - h.top - h.bottom, v = t.length, x = (_) => h.left + (v <= 1 ? f / 2 : f / (v - 1) * _), N = t.map((_) => {
|
|
6999
7023
|
const p = n.map((b) => b.values[_.key] ?? 0);
|
|
7000
7024
|
return { min: Math.min(...p), max: Math.max(...p) };
|
|
@@ -7048,11 +7072,11 @@ function Ho({ axes: t, data: n, height: l = 260, format: c = Y, className: s, ..
|
|
|
7048
7072
|
function Mt(t) {
|
|
7049
7073
|
return t.children && t.children.length ? t.children.reduce((n, l) => n + Mt(l), 0) : t.value ?? 0;
|
|
7050
7074
|
}
|
|
7051
|
-
function
|
|
7052
|
-
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) =>
|
|
7075
|
+
function Nl(t, n = 0) {
|
|
7076
|
+
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Nl(l, n + 1)));
|
|
7053
7077
|
}
|
|
7054
|
-
function
|
|
7055
|
-
const { ref: a, width: r } = ce(n), d = X(), [o, i] = D(null), u =
|
|
7078
|
+
function Vo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
7079
|
+
const { ref: a, width: r } = ce(n), d = X(), [o, i] = D(null), u = Nl(t), h = n / (u + 1), f = [], g = (v, x, N, $, _) => {
|
|
7056
7080
|
if (f.push({ node: v, x0: x, x1: N, depth: $, color: v.color ?? j(_), value: Mt(v) }), v.children && v.children.length) {
|
|
7057
7081
|
const p = v.children.reduce((S, k) => S + Mt(k), 0) || 1;
|
|
7058
7082
|
let b = x;
|
|
@@ -7095,7 +7119,7 @@ function jo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
7095
7119
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
7096
7120
|
] });
|
|
7097
7121
|
}
|
|
7098
|
-
function
|
|
7122
|
+
function Zo({ data: t, height: n = 260, className: l, ...c }) {
|
|
7099
7123
|
const { ref: s, width: a } = ce(n), r = X(), [d, o] = D(null), i = { top: 14, right: 96, bottom: 14, left: 16 };
|
|
7100
7124
|
let u = null;
|
|
7101
7125
|
if (a > 0) {
|
|
@@ -7165,7 +7189,7 @@ function Vo({ data: t, height: n = 260, className: l, ...c }) {
|
|
|
7165
7189
|
/* @__PURE__ */ e(K, { tip: r.tip })
|
|
7166
7190
|
] });
|
|
7167
7191
|
}
|
|
7168
|
-
const
|
|
7192
|
+
const Go = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
7169
7193
|
const r = Math.min(3, n.length), d = l / 2, o = l / 2, i = Math.max(1, ...n.slice(0, r).map((g) => g.size)), u = l * 0.26, h = (g) => u * 0.45 + u * 0.55 * Math.sqrt(g.size / i), f = r <= 2 ? [
|
|
7170
7194
|
[d - u * 0.42, o],
|
|
7171
7195
|
[d + u * 0.42, o]
|
|
@@ -7213,7 +7237,7 @@ const Zo = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
7213
7237
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: g.size.toLocaleString("pt-BR") })
|
|
7214
7238
|
] }, v)) })
|
|
7215
7239
|
] });
|
|
7216
|
-
}),
|
|
7240
|
+
}), Uo = R(function({ data: n, size: l = 260, format: c = Y, className: s, ...a }, r) {
|
|
7217
7241
|
const d = X(), [o, i] = D(null), u = Math.max(1, ...n.map((y) => y.value)), h = n.map((y, C) => ({ d: y, i: C, r: 8 + Math.sqrt(y.value / u) * 40 })).sort((y, C) => C.r - y.r), f = [];
|
|
7218
7242
|
for (const y of h) {
|
|
7219
7243
|
if (f.length === 0) {
|
|
@@ -7269,7 +7293,7 @@ const Zo = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
7269
7293
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
7270
7294
|
] });
|
|
7271
7295
|
});
|
|
7272
|
-
function
|
|
7296
|
+
function qo({ nodes: t, links: n, height: l = 300, format: c = Y, className: s, ...a }) {
|
|
7273
7297
|
const { ref: r, width: d } = ce(l), o = X(), [i, u] = D(null), h = xe(() => {
|
|
7274
7298
|
const v = d || l, x = l, N = t.length, $ = /* @__PURE__ */ new Map();
|
|
7275
7299
|
if (!N) return $;
|
|
@@ -7354,11 +7378,11 @@ function Uo({ nodes: t, links: n, height: l = 300, format: c = Y, className: s,
|
|
|
7354
7378
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
7355
7379
|
] });
|
|
7356
7380
|
}
|
|
7357
|
-
function
|
|
7381
|
+
function Ts({ children: t }) {
|
|
7358
7382
|
const n = Et({ selector: ".select-combobox__option", y: 6, duration: 0.3, stagger: 0.03 });
|
|
7359
7383
|
return /* @__PURE__ */ e("div", { className: "select-combobox__list", ref: n, children: t });
|
|
7360
7384
|
}
|
|
7361
|
-
const
|
|
7385
|
+
const Yo = R(function({ label: n, value: l, onChange: c, options: s, placeholder: a = "Selecionar…", searchPlaceholder: r = "Buscar…", labelAction: d, hint: o, error: i, emptyText: u = "Nenhum resultado", disabled: h, required: f, size: g = "md", searchable: v = !0, className: x, ...N }, $) {
|
|
7362
7386
|
const _ = te(), [p, b] = D(!1), [S, k] = D(""), M = s.find((B) => B.value === l), w = xe(() => {
|
|
7363
7387
|
const B = S.trim().toLowerCase();
|
|
7364
7388
|
return !v || !B ? s : s.filter((A) => {
|
|
@@ -7376,7 +7400,7 @@ const qo = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
7376
7400
|
d
|
|
7377
7401
|
] }),
|
|
7378
7402
|
/* @__PURE__ */ e("div", { className: "select-combobox", children: /* @__PURE__ */ e(
|
|
7379
|
-
|
|
7403
|
+
We,
|
|
7380
7404
|
{
|
|
7381
7405
|
active: p,
|
|
7382
7406
|
onClose: y,
|
|
@@ -7413,7 +7437,7 @@ const qo = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
7413
7437
|
autoFocus: !0
|
|
7414
7438
|
}
|
|
7415
7439
|
) }),
|
|
7416
|
-
/* @__PURE__ */ e(
|
|
7440
|
+
/* @__PURE__ */ e(Ts, { children: w.length === 0 ? /* @__PURE__ */ e("div", { className: "select-combobox__empty", children: u }) : w.map((B) => {
|
|
7417
7441
|
const A = B.value === l;
|
|
7418
7442
|
return /* @__PURE__ */ m(
|
|
7419
7443
|
"button",
|
|
@@ -7440,17 +7464,17 @@ const qo = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
7440
7464
|
) }),
|
|
7441
7465
|
i ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: o }) : null
|
|
7442
7466
|
] });
|
|
7443
|
-
}),
|
|
7444
|
-
{ value: "light", label: "Claro", icon: /* @__PURE__ */ e(
|
|
7445
|
-
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(
|
|
7446
|
-
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(
|
|
7467
|
+
}), Tt = [
|
|
7468
|
+
{ value: "light", label: "Claro", icon: /* @__PURE__ */ e(Vl, {}) },
|
|
7469
|
+
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(Zl, {}) },
|
|
7470
|
+
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Hn, {}) }
|
|
7447
7471
|
];
|
|
7448
|
-
function
|
|
7472
|
+
function zo(t) {
|
|
7449
7473
|
var n;
|
|
7450
7474
|
return t === "system" ? (n = window.matchMedia) != null && n.call(window, "(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
|
|
7451
7475
|
}
|
|
7452
|
-
function
|
|
7453
|
-
const [s, a] = D(!1), r = q(null), d =
|
|
7476
|
+
function Xo({ value: t, onChange: n, className: l, ...c }) {
|
|
7477
|
+
const [s, a] = D(!1), r = q(null), d = Tt.find((o) => o.value === t) ?? Tt[2];
|
|
7454
7478
|
return le(() => {
|
|
7455
7479
|
if (!s) return;
|
|
7456
7480
|
const o = (i) => {
|
|
@@ -7458,12 +7482,12 @@ function zo({ value: t, onChange: n, className: l, ...c }) {
|
|
|
7458
7482
|
};
|
|
7459
7483
|
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
7460
7484
|
}, [s]), /* @__PURE__ */ m("div", { ...c, className: `select-themeswitcher${l ? " " + l : ""}`, ref: r, children: [
|
|
7461
|
-
/* @__PURE__ */ e(
|
|
7485
|
+
/* @__PURE__ */ e(ls, { active: s, onClick: () => a((o) => !o), children: /* @__PURE__ */ m("span", { className: "select-themeswitcher__current", children: [
|
|
7462
7486
|
d.icon,
|
|
7463
7487
|
d.label
|
|
7464
7488
|
] }) }),
|
|
7465
|
-
s && /* @__PURE__ */ e("div", { className: "select-themeswitcher__popover", children: /* @__PURE__ */ e(
|
|
7466
|
-
|
|
7489
|
+
s && /* @__PURE__ */ e("div", { className: "select-themeswitcher__popover", children: /* @__PURE__ */ e(ts, { children: Tt.map((o) => /* @__PURE__ */ e(
|
|
7490
|
+
ns,
|
|
7467
7491
|
{
|
|
7468
7492
|
icon: o.icon,
|
|
7469
7493
|
active: o.value === t,
|
|
@@ -7477,23 +7501,23 @@ function zo({ value: t, onChange: n, className: l, ...c }) {
|
|
|
7477
7501
|
)) }) })
|
|
7478
7502
|
] });
|
|
7479
7503
|
}
|
|
7480
|
-
const
|
|
7481
|
-
function
|
|
7504
|
+
const Ml = Yt(!1);
|
|
7505
|
+
function Ko({
|
|
7482
7506
|
children: t,
|
|
7483
7507
|
stacked: n = !1,
|
|
7484
7508
|
loading: l = !1
|
|
7485
7509
|
}) {
|
|
7486
7510
|
const c = Et({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
7487
|
-
return /* @__PURE__ */ e(
|
|
7511
|
+
return /* @__PURE__ */ e(Ml.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
|
|
7488
7512
|
}
|
|
7489
|
-
const
|
|
7490
|
-
const i =
|
|
7513
|
+
const Jo = R(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: r, ...d }, o) {
|
|
7514
|
+
const i = qt(Ml), u = a ?? i;
|
|
7491
7515
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-detail select-detail--${s}${r ? " " + r : ""}`, children: [
|
|
7492
7516
|
/* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
|
|
7493
7517
|
/* @__PURE__ */ e("div", { className: "select-detail__value", children: u ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
|
|
7494
7518
|
c && /* @__PURE__ */ e("div", { className: "select-detail__action", children: c })
|
|
7495
7519
|
] });
|
|
7496
|
-
}),
|
|
7520
|
+
}), Qo = R(function({ steps: n, current: l, onSelect: c, className: s, ...a }, r) {
|
|
7497
7521
|
return /* @__PURE__ */ e("ol", { ref: r, ...a, className: `select-steps${s ? " " + s : ""}`, children: n.map((d, o) => {
|
|
7498
7522
|
const i = o < l ? "done" : o === l ? "current" : "todo", u = !!c && o < l, h = /* @__PURE__ */ m(ae, { children: [
|
|
7499
7523
|
/* @__PURE__ */ e("span", { className: "select-steps__num", "aria-hidden": "true", children: i === "done" ? /* @__PURE__ */ e(Ae, {}) : o + 1 }),
|
|
@@ -7501,7 +7525,7 @@ const Ko = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7501
7525
|
] });
|
|
7502
7526
|
return /* @__PURE__ */ e("li", { className: `select-steps__step select-steps__step--${i}`, "aria-current": i === "current" ? "step" : void 0, children: u ? /* @__PURE__ */ e("button", { type: "button", className: "select-steps__btn", onClick: () => c(o), children: h }) : h }, o);
|
|
7503
7527
|
}) });
|
|
7504
|
-
}),
|
|
7528
|
+
}), er = R(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: r, featuresTitle: d, features: o, featured: i = !1, className: u, ...h }, f) {
|
|
7505
7529
|
return /* @__PURE__ */ m("div", { ref: f, ...h, className: `select-plan${i ? " select-plan--featured" : ""}${u ? " " + u : ""}`, children: [
|
|
7506
7530
|
/* @__PURE__ */ m("div", { className: "select-plan__top", children: [
|
|
7507
7531
|
/* @__PURE__ */ m("div", { className: "select-plan__head", children: [
|
|
@@ -7518,12 +7542,12 @@ const Ko = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7518
7542
|
o && o.length > 0 && /* @__PURE__ */ m("div", { className: "select-plan__features", children: [
|
|
7519
7543
|
d && /* @__PURE__ */ e("p", { className: "select-plan__featurestitle", children: d }),
|
|
7520
7544
|
/* @__PURE__ */ e("ul", { className: "select-plan__list", children: o.map((g, v) => /* @__PURE__ */ m("li", { className: "select-plan__feature", children: [
|
|
7521
|
-
/* @__PURE__ */ e("span", { className: "select-plan__check", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7545
|
+
/* @__PURE__ */ e("span", { className: "select-plan__check", "aria-hidden": "true", children: /* @__PURE__ */ e(ql, {}) }),
|
|
7522
7546
|
/* @__PURE__ */ e("span", { children: g })
|
|
7523
7547
|
] }, v)) })
|
|
7524
7548
|
] })
|
|
7525
7549
|
] });
|
|
7526
|
-
}),
|
|
7550
|
+
}), tr = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: r, ...d }, o) {
|
|
7527
7551
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-listcard${r ? " " + r : ""}`, children: [
|
|
7528
7552
|
(n || c) && /* @__PURE__ */ m("div", { className: "select-listcard__head", children: [
|
|
7529
7553
|
/* @__PURE__ */ m("div", { className: "select-listcard__heading", children: [
|
|
@@ -7536,7 +7560,7 @@ const Ko = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7536
7560
|
s && /* @__PURE__ */ e("div", { className: "select-listcard__footer", children: s })
|
|
7537
7561
|
] });
|
|
7538
7562
|
});
|
|
7539
|
-
function
|
|
7563
|
+
function nr({
|
|
7540
7564
|
media: t,
|
|
7541
7565
|
title: n,
|
|
7542
7566
|
secondary: l,
|
|
@@ -7554,7 +7578,7 @@ function tr({
|
|
|
7554
7578
|
] }), d = `select-listrow${s ? " select-listrow--muted" : ""}`;
|
|
7555
7579
|
return a ? /* @__PURE__ */ e("button", { type: "button", className: `${d} select-listrow--clickable`, onClick: a, children: r }) : /* @__PURE__ */ e("div", { className: d, children: r });
|
|
7556
7580
|
}
|
|
7557
|
-
const
|
|
7581
|
+
const Pn = R(function({ src: n, alt: l = "", size: c = 40, className: s, ...a }, r) {
|
|
7558
7582
|
const [d, o] = D(!1);
|
|
7559
7583
|
return le(() => o(!1), [n]), /* @__PURE__ */ e("span", { ref: r, ...a, className: `select-thumb${s ? " " + s : ""}`, style: { width: c, height: c }, children: n && !d ? /* @__PURE__ */ e(
|
|
7560
7584
|
"img",
|
|
@@ -7565,9 +7589,9 @@ const Rn = R(function({ src: n, alt: l = "", size: c = 40, className: s, ...a },
|
|
|
7565
7589
|
className: "select-thumb__img",
|
|
7566
7590
|
onError: () => o(!0)
|
|
7567
7591
|
}
|
|
7568
|
-
) : /* @__PURE__ */ e("span", { className: "select-thumb__ph", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7592
|
+
) : /* @__PURE__ */ e("span", { className: "select-thumb__ph", "aria-hidden": "true", children: /* @__PURE__ */ e(jl, {}) }) });
|
|
7569
7593
|
});
|
|
7570
|
-
function
|
|
7594
|
+
function Ws({
|
|
7571
7595
|
open: t,
|
|
7572
7596
|
onClose: n,
|
|
7573
7597
|
src: l,
|
|
@@ -7576,7 +7600,7 @@ function Ts({
|
|
|
7576
7600
|
}) {
|
|
7577
7601
|
return /* @__PURE__ */ e(It, { open: t, onClose: n, title: s, size: "lg", theme: ut(), children: /* @__PURE__ */ e("div", { className: "select-imagezoom", children: /* @__PURE__ */ e("img", { src: l, alt: c ?? s ?? "", className: "select-imagezoom__img" }) }) });
|
|
7578
7602
|
}
|
|
7579
|
-
function
|
|
7603
|
+
function lr({
|
|
7580
7604
|
src: t,
|
|
7581
7605
|
alt: n = "",
|
|
7582
7606
|
size: l = 40,
|
|
@@ -7593,13 +7617,13 @@ function nr({
|
|
|
7593
7617
|
},
|
|
7594
7618
|
"aria-label": "Ampliar imagem",
|
|
7595
7619
|
style: { all: "unset", cursor: "zoom-in", display: "inline-flex" },
|
|
7596
|
-
children: /* @__PURE__ */ e(
|
|
7620
|
+
children: /* @__PURE__ */ e(Pn, { src: t, size: l, alt: n })
|
|
7597
7621
|
}
|
|
7598
7622
|
),
|
|
7599
|
-
s && /* @__PURE__ */ e(
|
|
7600
|
-
] }) : /* @__PURE__ */ e(
|
|
7623
|
+
s && /* @__PURE__ */ e(Ws, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
|
|
7624
|
+
] }) : /* @__PURE__ */ e(Pn, { size: l, alt: n });
|
|
7601
7625
|
}
|
|
7602
|
-
const
|
|
7626
|
+
const cr = R(function({ media: n, title: l, secondary: c, className: s, ...a }, r) {
|
|
7603
7627
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
|
|
7604
7628
|
n && /* @__PURE__ */ e("span", { className: "select-mediacell__media", children: n }),
|
|
7605
7629
|
/* @__PURE__ */ m("span", { className: "select-mediacell__text", children: [
|
|
@@ -7608,7 +7632,7 @@ const lr = R(function({ media: n, title: l, secondary: c, className: s, ...a },
|
|
|
7608
7632
|
] })
|
|
7609
7633
|
] });
|
|
7610
7634
|
});
|
|
7611
|
-
function
|
|
7635
|
+
function sr() {
|
|
7612
7636
|
const [t, n] = D(
|
|
7613
7637
|
() => typeof navigator < "u" && navigator.onLine === !1
|
|
7614
7638
|
);
|
|
@@ -7632,7 +7656,7 @@ function cr() {
|
|
|
7632
7656
|
}
|
|
7633
7657
|
);
|
|
7634
7658
|
}
|
|
7635
|
-
function
|
|
7659
|
+
function Os(t) {
|
|
7636
7660
|
return Array.isArray(t) ? t.filter((n) => n != null && typeof n == "object").map((n) => ({
|
|
7637
7661
|
name: String(n.name ?? n.key ?? ""),
|
|
7638
7662
|
value: n.value == null ? "" : String(n.value)
|
|
@@ -7641,12 +7665,12 @@ function Ws(t) {
|
|
|
7641
7665
|
value: l == null ? "" : String(l)
|
|
7642
7666
|
})) : [];
|
|
7643
7667
|
}
|
|
7644
|
-
const
|
|
7645
|
-
const f =
|
|
7668
|
+
const ar = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: r = "Adicionar", max: d, helpText: o = "Linhas vazias serão ignoradas.", className: i, ...u }, h) {
|
|
7669
|
+
const f = Os(n), g = ($, _) => l(f.map((p, b) => b === $ ? { ...p, ..._ } : p)), v = ($) => l(f.filter((_, p) => p !== $)), x = () => l([...f, { name: "", value: "" }]), N = d == null || f.length < d;
|
|
7646
7670
|
return /* @__PURE__ */ m("div", { ref: h, ...u, className: `select-kv${i ? " " + i : ""}`, children: [
|
|
7647
7671
|
f.map(($, _) => /* @__PURE__ */ m("div", { className: "select-kv__row", children: [
|
|
7648
7672
|
/* @__PURE__ */ e("div", { className: "select-kv__field", children: a ? /* @__PURE__ */ e(
|
|
7649
|
-
|
|
7673
|
+
jt,
|
|
7650
7674
|
{
|
|
7651
7675
|
size: "sm",
|
|
7652
7676
|
options: [{ label: c, value: "" }, ...a],
|
|
@@ -7654,7 +7678,7 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7654
7678
|
onChange: (p) => g(_, { name: p })
|
|
7655
7679
|
}
|
|
7656
7680
|
) : /* @__PURE__ */ e(
|
|
7657
|
-
|
|
7681
|
+
Ze,
|
|
7658
7682
|
{
|
|
7659
7683
|
size: "sm",
|
|
7660
7684
|
value: $.name,
|
|
@@ -7664,7 +7688,7 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7664
7688
|
}
|
|
7665
7689
|
) }),
|
|
7666
7690
|
/* @__PURE__ */ e("div", { className: "select-kv__field", children: /* @__PURE__ */ e(
|
|
7667
|
-
|
|
7691
|
+
Ze,
|
|
7668
7692
|
{
|
|
7669
7693
|
size: "sm",
|
|
7670
7694
|
value: $.value,
|
|
@@ -7673,15 +7697,15 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7673
7697
|
autoComplete: "off"
|
|
7674
7698
|
}
|
|
7675
7699
|
) }),
|
|
7676
|
-
/* @__PURE__ */ e("div", { className: "select-kv__remove", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
7700
|
+
/* @__PURE__ */ e("div", { className: "select-kv__remove", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Zn, {}), label: "Remover", onClick: () => v(_) }) })
|
|
7677
7701
|
] }, _)),
|
|
7678
|
-
N && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ m(
|
|
7702
|
+
N && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ m(Oc, { onClick: x, children: [
|
|
7679
7703
|
"+ ",
|
|
7680
7704
|
r
|
|
7681
7705
|
] }) }),
|
|
7682
7706
|
o && /* @__PURE__ */ e("p", { className: "select-kv__hint", children: o })
|
|
7683
7707
|
] });
|
|
7684
|
-
}),
|
|
7708
|
+
}), Rn = (t) => String(t).padStart(2, "0"), Hs = {
|
|
7685
7709
|
"en-US": {
|
|
7686
7710
|
weekdays: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
7687
7711
|
months: [
|
|
@@ -7724,12 +7748,12 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7724
7748
|
to: "Até",
|
|
7725
7749
|
cancel: "Cancelar",
|
|
7726
7750
|
apply: "Aplicar",
|
|
7727
|
-
formatDate: (t) => `${
|
|
7751
|
+
formatDate: (t) => `${Rn(t.getDate())} / ${Rn(t.getMonth() + 1)} / ${t.getFullYear()}`
|
|
7728
7752
|
}
|
|
7729
|
-
}, Re = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), xt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), At = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n),
|
|
7753
|
+
}, Re = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), xt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), At = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Dn = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), yt = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Nt = (t) => {
|
|
7730
7754
|
const n = /* @__PURE__ */ new Date();
|
|
7731
7755
|
return { from: new Date(n.getTime() - t * 6e4), to: n };
|
|
7732
|
-
},
|
|
7756
|
+
}, js = [
|
|
7733
7757
|
{ id: "15m", label: "Last 15 minutes", range: () => Nt(15) },
|
|
7734
7758
|
{ id: "1h", label: "Last 1 hour", range: () => Nt(60) },
|
|
7735
7759
|
{ id: "3h", label: "Last 3 hours", range: () => Nt(180) },
|
|
@@ -7740,12 +7764,12 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7740
7764
|
], qe = (t) => {
|
|
7741
7765
|
const n = Re(/* @__PURE__ */ new Date());
|
|
7742
7766
|
return { from: At(n, -t), to: n };
|
|
7743
|
-
},
|
|
7767
|
+
}, Vs = (t) => {
|
|
7744
7768
|
const n = At(Re(/* @__PURE__ */ new Date()), -1);
|
|
7745
7769
|
return { from: n, to: n };
|
|
7746
|
-
},
|
|
7770
|
+
}, Zs = [
|
|
7747
7771
|
{ id: "today", label: "Hoje", range: () => qe(0) },
|
|
7748
|
-
{ id: "yesterday", label: "Ontem", range: () =>
|
|
7772
|
+
{ id: "yesterday", label: "Ontem", range: () => Vs() },
|
|
7749
7773
|
{ id: "7d", label: "Últimos 7 dias", range: () => qe(6) },
|
|
7750
7774
|
{ id: "10d", label: "Últimos 10 dias", range: () => qe(9) },
|
|
7751
7775
|
{ id: "15d", label: "Últimos 15 dias", range: () => qe(14) },
|
|
@@ -7753,14 +7777,14 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7753
7777
|
{ id: "30d", label: "Últimos 30 dias", range: () => qe(29) },
|
|
7754
7778
|
{ id: "90d", label: "Últimos 90 dias", range: () => qe(89) }
|
|
7755
7779
|
];
|
|
7756
|
-
function
|
|
7780
|
+
function Gs(t) {
|
|
7757
7781
|
if (!t) return "—";
|
|
7758
7782
|
let n = t.getHours();
|
|
7759
7783
|
const l = n < 12 ? "AM" : "PM";
|
|
7760
7784
|
return n = n % 12 || 12, `${n} : ${String(t.getMinutes()).padStart(2, "0")} ${l}`;
|
|
7761
7785
|
}
|
|
7762
|
-
const
|
|
7763
|
-
const g =
|
|
7786
|
+
const Us = R(function({ value: n, presets: l = js, onApply: c, onCancel: s, accentVar: a, locale: r = "en-US", showTime: d = !0, maxDate: o, embedded: i = !1, className: u, ...h }, f) {
|
|
7787
|
+
const g = Hs[r], v = Re(/* @__PURE__ */ new Date()), x = o ? Re(o) : null, [N, $] = D(n ?? { from: v, to: v }), [_, p] = D(xt((n == null ? void 0 : n.from) ?? /* @__PURE__ */ new Date())), [b, S] = D(null), k = At(xt(_), -xt(_).getDay()), M = Array.from({ length: 42 }, (A, F) => At(k, F)), w = (A) => x ? Re(A) > x : !1, y = (A) => A ? g.formatDate(A) : /* @__PURE__ */ e("span", { className: "select-datepicker__placeholder", children: "— / — / ——" }), C = (A) => {
|
|
7764
7788
|
w(A) || (S(null), $((F) => !F.from || F.from && F.to ? { from: A, to: null } : A < Re(F.from) ? { from: A, to: null } : { from: F.from, to: A }));
|
|
7765
7789
|
}, L = (A) => {
|
|
7766
7790
|
if (A.disabled || !A.range) return;
|
|
@@ -7791,7 +7815,7 @@ const Gs = R(function({ value: n, presets: l = Hs, onApply: c, onCancel: s, acce
|
|
|
7791
7815
|
/* @__PURE__ */ e("div", { className: "select-datepicker__fields", children: ["from", "to"].map((A) => /* @__PURE__ */ m("div", { className: "select-datepicker__fieldrow", children: [
|
|
7792
7816
|
/* @__PURE__ */ e("span", { className: "select-datepicker__fieldlabel", children: A === "from" ? g.from : g.to }),
|
|
7793
7817
|
/* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--date", children: y(N[A]) }),
|
|
7794
|
-
d && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children:
|
|
7818
|
+
d && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children: Gs(N[A]) })
|
|
7795
7819
|
] }, A)) }),
|
|
7796
7820
|
/* @__PURE__ */ m("div", { className: "select-datepicker__calhead", children: [
|
|
7797
7821
|
/* @__PURE__ */ e(
|
|
@@ -7800,8 +7824,8 @@ const Gs = R(function({ value: n, presets: l = Hs, onApply: c, onCancel: s, acce
|
|
|
7800
7824
|
type: "button",
|
|
7801
7825
|
className: "select-datepicker__nav",
|
|
7802
7826
|
"aria-label": r === "pt-BR" ? "Mês anterior" : "Previous month",
|
|
7803
|
-
onClick: () => p((A) =>
|
|
7804
|
-
children: /* @__PURE__ */ e(
|
|
7827
|
+
onClick: () => p((A) => Dn(A, -1)),
|
|
7828
|
+
children: /* @__PURE__ */ e(zt, {})
|
|
7805
7829
|
}
|
|
7806
7830
|
),
|
|
7807
7831
|
/* @__PURE__ */ m("span", { className: "select-datepicker__monthlabel", children: [
|
|
@@ -7815,7 +7839,7 @@ const Gs = R(function({ value: n, presets: l = Hs, onApply: c, onCancel: s, acce
|
|
|
7815
7839
|
type: "button",
|
|
7816
7840
|
className: "select-datepicker__nav",
|
|
7817
7841
|
"aria-label": r === "pt-BR" ? "Próximo mês" : "Next month",
|
|
7818
|
-
onClick: () => p((A) =>
|
|
7842
|
+
onClick: () => p((A) => Dn(A, 1)),
|
|
7819
7843
|
children: /* @__PURE__ */ e(dt, {})
|
|
7820
7844
|
}
|
|
7821
7845
|
)
|
|
@@ -7833,28 +7857,28 @@ const Gs = R(function({ value: n, presets: l = Hs, onApply: c, onCancel: s, acce
|
|
|
7833
7857
|
] })
|
|
7834
7858
|
] })
|
|
7835
7859
|
] }) });
|
|
7836
|
-
}),
|
|
7837
|
-
function
|
|
7860
|
+
}), Wt = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Ot = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Ht = (t) => `${String(t.getDate()).padStart(2, "0")}/${String(t.getMonth() + 1).padStart(2, "0")}/${t.getFullYear()}`;
|
|
7861
|
+
function qs(t, n) {
|
|
7838
7862
|
var l;
|
|
7839
7863
|
for (const c of n) {
|
|
7840
7864
|
const s = (l = c.range) == null ? void 0 : l.call(c);
|
|
7841
|
-
if (s != null && s.from && (s != null && s.to) &&
|
|
7865
|
+
if (s != null && s.from && (s != null && s.to) && Ot(s.from, t.start) && Ot(s.to, t.end)) return c.label;
|
|
7842
7866
|
}
|
|
7843
|
-
return
|
|
7867
|
+
return Ot(t.start, t.end) ? Ht(t.start) : `${Ht(t.start)} – ${Ht(t.end)}`;
|
|
7844
7868
|
}
|
|
7845
|
-
function
|
|
7869
|
+
function or({
|
|
7846
7870
|
value: t,
|
|
7847
7871
|
onChange: n,
|
|
7848
|
-
presets: l =
|
|
7872
|
+
presets: l = Zs,
|
|
7849
7873
|
maxDate: c,
|
|
7850
7874
|
placement: s = "bottom-end",
|
|
7851
7875
|
size: a = "md",
|
|
7852
7876
|
disabled: r = !1,
|
|
7853
7877
|
block: d = !1
|
|
7854
7878
|
}) {
|
|
7855
|
-
const [o, i] = D(!1), u = c === null ? null : c ??
|
|
7879
|
+
const [o, i] = D(!1), u = c === null ? null : c ?? Wt(/* @__PURE__ */ new Date());
|
|
7856
7880
|
return /* @__PURE__ */ e(
|
|
7857
|
-
|
|
7881
|
+
We,
|
|
7858
7882
|
{
|
|
7859
7883
|
active: o,
|
|
7860
7884
|
onClose: () => i(!1),
|
|
@@ -7867,14 +7891,14 @@ function ar({
|
|
|
7867
7891
|
size: a,
|
|
7868
7892
|
inline: !d,
|
|
7869
7893
|
disabled: r,
|
|
7870
|
-
icon: /* @__PURE__ */ e(
|
|
7894
|
+
icon: /* @__PURE__ */ e(Gn, {}),
|
|
7871
7895
|
trailingIcon: /* @__PURE__ */ e(be, {}),
|
|
7872
7896
|
onClick: () => i((h) => !h),
|
|
7873
|
-
children:
|
|
7897
|
+
children: qs(t, l)
|
|
7874
7898
|
}
|
|
7875
7899
|
),
|
|
7876
7900
|
children: /* @__PURE__ */ e(
|
|
7877
|
-
|
|
7901
|
+
Us,
|
|
7878
7902
|
{
|
|
7879
7903
|
embedded: !0,
|
|
7880
7904
|
locale: "pt-BR",
|
|
@@ -7884,14 +7908,14 @@ function ar({
|
|
|
7884
7908
|
value: { from: t.start, to: t.end },
|
|
7885
7909
|
onCancel: () => i(!1),
|
|
7886
7910
|
onApply: (h) => {
|
|
7887
|
-
h.from && n({ start:
|
|
7911
|
+
h.from && n({ start: Wt(h.from), end: Wt(h.to ?? h.from) }), i(!1);
|
|
7888
7912
|
}
|
|
7889
7913
|
}
|
|
7890
7914
|
)
|
|
7891
7915
|
}
|
|
7892
7916
|
);
|
|
7893
7917
|
}
|
|
7894
|
-
function
|
|
7918
|
+
function Ys({ size: t }) {
|
|
7895
7919
|
return /* @__PURE__ */ e("svg", { width: t, height: t, viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7896
7920
|
"path",
|
|
7897
7921
|
{
|
|
@@ -7900,10 +7924,10 @@ function qs({ size: t }) {
|
|
|
7900
7924
|
}
|
|
7901
7925
|
) });
|
|
7902
7926
|
}
|
|
7903
|
-
const
|
|
7927
|
+
const rr = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: r = !1, className: d, ...o }, i) {
|
|
7904
7928
|
const u = !!c && !r, [h, f] = D(null), g = h ?? n;
|
|
7905
7929
|
return /* @__PURE__ */ e("div", { ref: i, ...o, className: `select-rating${u ? " select-rating--interactive" : ""}${d ? " " + d : ""}`, role: u ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": u ? n : void 0, "aria-valuemin": u ? 0 : void 0, "aria-valuemax": u ? l : void 0, onMouseLeave: () => u && f(null), children: Array.from({ length: l }, (v, x) => {
|
|
7906
|
-
const N = x < g, $ = /* @__PURE__ */ e("span", { className: `select-rating__star${N ? " is-filled" : ""}`, children: /* @__PURE__ */ e(
|
|
7930
|
+
const N = x < g, $ = /* @__PURE__ */ e("span", { className: `select-rating__star${N ? " is-filled" : ""}`, children: /* @__PURE__ */ e(Ys, { size: s }) });
|
|
7907
7931
|
return u ? /* @__PURE__ */ e(
|
|
7908
7932
|
"button",
|
|
7909
7933
|
{
|
|
@@ -7919,7 +7943,7 @@ const or = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
7919
7943
|
x
|
|
7920
7944
|
) : /* @__PURE__ */ e("span", { children: $ }, x);
|
|
7921
7945
|
}) });
|
|
7922
|
-
}),
|
|
7946
|
+
}), ir = R(function({ label: n, value: l, onChange: c, min: s, max: a, step: r = 1, decimal: d = !1, disabled: o = !1, hint: i, error: u, onBlur: h, placeholder: f, size: g = "md", className: v, ...x }, N) {
|
|
7923
7947
|
const $ = te(), _ = (F) => Math.min(a ?? 1 / 0, Math.max(s ?? -1 / 0, F)), p = (F) => Math.round(F * 1e6) / 1e6, b = l ?? 0, S = s != null && b <= s, k = a != null && b >= a, [M, w] = D(!1), [y, C] = D(""), L = d && M ? y : l == null ? "" : String(l), B = (F) => {
|
|
7924
7948
|
const E = d ? F.replace(/[^\d.,-]/g, "").replace(",", ".") : F.replace(/[^\d-]/g, "");
|
|
7925
7949
|
if (d && C(E), E === "" || E === "-" || E === ".") return c(null);
|
|
@@ -7979,7 +8003,7 @@ const or = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
7979
8003
|
u ? /* @__PURE__ */ e("p", { className: "select-field__error", children: u }) : i ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: i }) : null
|
|
7980
8004
|
] });
|
|
7981
8005
|
});
|
|
7982
|
-
function
|
|
8006
|
+
function dr({
|
|
7983
8007
|
items: t,
|
|
7984
8008
|
onChange: n,
|
|
7985
8009
|
renderRow: l,
|
|
@@ -8009,19 +8033,19 @@ function ir({
|
|
|
8009
8033
|
moveUp: () => N(p, -1),
|
|
8010
8034
|
moveDown: () => N(p, 1)
|
|
8011
8035
|
});
|
|
8012
|
-
return /* @__PURE__ */ m(
|
|
8036
|
+
return /* @__PURE__ */ m(Vt, { gap: "300", children: [
|
|
8013
8037
|
t.length === 0 && u != null && /* @__PURE__ */ e("div", { children: u }),
|
|
8014
8038
|
t.map((_, p) => {
|
|
8015
8039
|
const b = $(_, p);
|
|
8016
|
-
return i === "bare" ? /* @__PURE__ */ e("div", { children: l(_, b) }, p) : /* @__PURE__ */ e(
|
|
8040
|
+
return i === "bare" ? /* @__PURE__ */ e("div", { children: l(_, b) }, p) : /* @__PURE__ */ e(xc, { background: "surface", border: !0, borderRadius: "base", padding: "300", children: /* @__PURE__ */ m(Vt, { gap: "200", children: [
|
|
8017
8041
|
/* @__PURE__ */ m(st, { align: "space-between", blockAlign: "center", gap: "200", children: [
|
|
8018
8042
|
/* @__PURE__ */ e(Xe, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(p, _) : `#${p + 1}` }),
|
|
8019
8043
|
/* @__PURE__ */ m(st, { gap: "100", blockAlign: "center", wrap: !1, children: [
|
|
8020
8044
|
o && /* @__PURE__ */ m(ae, { children: [
|
|
8021
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
8045
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Un, {}), label: "Mover para cima", disabled: b.isFirst, onClick: b.moveUp }),
|
|
8022
8046
|
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(be, {}), label: "Mover para baixo", disabled: b.isLast, onClick: b.moveDown })
|
|
8023
8047
|
] }),
|
|
8024
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
8048
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Zn, {}), label: "Remover", disabled: !g, onClick: b.remove })
|
|
8025
8049
|
] })
|
|
8026
8050
|
] }),
|
|
8027
8051
|
l(_, b)
|
|
@@ -8033,7 +8057,7 @@ function ir({
|
|
|
8033
8057
|
] })
|
|
8034
8058
|
] });
|
|
8035
8059
|
}
|
|
8036
|
-
function
|
|
8060
|
+
function hr({
|
|
8037
8061
|
title: t,
|
|
8038
8062
|
subtitle: n,
|
|
8039
8063
|
backTo: l,
|
|
@@ -8046,16 +8070,16 @@ function dr({
|
|
|
8046
8070
|
preview: i,
|
|
8047
8071
|
children: u
|
|
8048
8072
|
}) {
|
|
8049
|
-
const h =
|
|
8073
|
+
const h = Sl();
|
|
8050
8074
|
return /* @__PURE__ */ e(
|
|
8051
|
-
|
|
8075
|
+
Gc,
|
|
8052
8076
|
{
|
|
8053
8077
|
title: t,
|
|
8054
8078
|
subtitle: n,
|
|
8055
8079
|
backAction: { content: "Voltar", onAction: () => h(l || -1) },
|
|
8056
8080
|
primaryAction: { content: a, onAction: c, loading: s, disabled: r },
|
|
8057
8081
|
secondaryActions: d ? [{ content: "Cancelar", onAction: () => h(d), disabled: s }] : void 0,
|
|
8058
|
-
children: /* @__PURE__ */ m(
|
|
8082
|
+
children: /* @__PURE__ */ m(Vt, { gap: "400", children: [
|
|
8059
8083
|
o != null && /* @__PURE__ */ e(ht, { tone: "critical", children: o }),
|
|
8060
8084
|
i != null ? /* @__PURE__ */ m("div", { className: "select-builder-split", children: [
|
|
8061
8085
|
/* @__PURE__ */ e("div", { className: "select-builder-split__form", children: u }),
|
|
@@ -8065,10 +8089,10 @@ function dr({
|
|
|
8065
8089
|
}
|
|
8066
8090
|
);
|
|
8067
8091
|
}
|
|
8068
|
-
const
|
|
8092
|
+
const ur = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, className: r, ...d }, o) {
|
|
8069
8093
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-switchfield${s ? " is-disabled" : ""}${r ? " " + r : ""}`, children: [
|
|
8070
8094
|
/* @__PURE__ */ m("div", { className: "select-switchfield__row", children: [
|
|
8071
|
-
/* @__PURE__ */ e(
|
|
8095
|
+
/* @__PURE__ */ e(en, { checked: l, onChange: c, disabled: s, label: n }),
|
|
8072
8096
|
/* @__PURE__ */ e(
|
|
8073
8097
|
"span",
|
|
8074
8098
|
{
|
|
@@ -8082,10 +8106,10 @@ const hr = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
|
|
|
8082
8106
|
] }),
|
|
8083
8107
|
a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
|
|
8084
8108
|
] });
|
|
8085
|
-
}),
|
|
8086
|
-
function
|
|
8109
|
+
}), zs = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
|
|
8110
|
+
function pr({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
|
|
8087
8111
|
return /* @__PURE__ */ e(
|
|
8088
|
-
|
|
8112
|
+
Ze,
|
|
8089
8113
|
{
|
|
8090
8114
|
label: t,
|
|
8091
8115
|
value: n,
|
|
@@ -8105,7 +8129,7 @@ function ur({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8105
8129
|
{
|
|
8106
8130
|
type: "color",
|
|
8107
8131
|
className: "select-color-swatch",
|
|
8108
|
-
value:
|
|
8132
|
+
value: zs(n) ? n : "#000000",
|
|
8109
8133
|
onChange: (r) => l(r.target.value),
|
|
8110
8134
|
disabled: c,
|
|
8111
8135
|
"aria-label": t ? `${t} — escolher cor` : "Escolher cor"
|
|
@@ -8114,13 +8138,13 @@ function ur({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8114
8138
|
}
|
|
8115
8139
|
);
|
|
8116
8140
|
}
|
|
8117
|
-
function
|
|
8141
|
+
function Xs(t) {
|
|
8118
8142
|
return new Promise((n, l) => {
|
|
8119
8143
|
const c = new FileReader();
|
|
8120
8144
|
c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
|
|
8121
8145
|
});
|
|
8122
8146
|
}
|
|
8123
|
-
const
|
|
8147
|
+
const mr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: r, hint: d, uploadFile: o, className: i, ...u }, h) {
|
|
8124
8148
|
const [f, g] = D([]), [v, x] = D(null), N = l ? [l] : [], $ = async (_) => {
|
|
8125
8149
|
const p = _[0];
|
|
8126
8150
|
if (!p) {
|
|
@@ -8128,7 +8152,7 @@ const pr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8128
8152
|
return;
|
|
8129
8153
|
}
|
|
8130
8154
|
if (x(null), !o) {
|
|
8131
|
-
c(await
|
|
8155
|
+
c(await Xs(p)), g([]);
|
|
8132
8156
|
return;
|
|
8133
8157
|
}
|
|
8134
8158
|
g([p]);
|
|
@@ -8142,7 +8166,7 @@ const pr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8142
8166
|
};
|
|
8143
8167
|
return /* @__PURE__ */ m("div", { ref: h, ...u, className: `select-imagefield${i ? " " + i : ""}`, children: [
|
|
8144
8168
|
/* @__PURE__ */ e(
|
|
8145
|
-
|
|
8169
|
+
tc,
|
|
8146
8170
|
{
|
|
8147
8171
|
label: n,
|
|
8148
8172
|
mode: "single",
|
|
@@ -8158,7 +8182,7 @@ const pr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8158
8182
|
),
|
|
8159
8183
|
v && /* @__PURE__ */ e("span", { className: "select-imagefield__error", children: v })
|
|
8160
8184
|
] });
|
|
8161
|
-
}),
|
|
8185
|
+
}), fr = R(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, r) {
|
|
8162
8186
|
const [d, o] = D(() => new Set(c)), i = (u) => o((h) => {
|
|
8163
8187
|
const f = h.has(u), g = new Set(l ? h : []);
|
|
8164
8188
|
return f ? g.delete(u) : g.add(u), g;
|
|
@@ -8195,262 +8219,262 @@ const pr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8195
8219
|
}) });
|
|
8196
8220
|
});
|
|
8197
8221
|
export {
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8222
|
+
la as AUTH_FX_VARIANTS,
|
|
8223
|
+
ya as AppleIcon,
|
|
8224
|
+
Wa as AppsIcon,
|
|
8225
|
+
Tn as ArrowLeftIcon,
|
|
8226
|
+
Ma as ArrowRightIcon,
|
|
8227
|
+
ka as AtIcon,
|
|
8228
|
+
ga as AuthAppIcon,
|
|
8229
|
+
fa as BellIcon,
|
|
8230
|
+
ha as BookmarkIcon,
|
|
8231
|
+
Sa as BuildingIcon,
|
|
8232
|
+
Gn as CalendarIcon,
|
|
8233
|
+
Da as ChartLineIcon,
|
|
8234
|
+
ql as CheckCircleIcon,
|
|
8211
8235
|
Ae as CheckIcon,
|
|
8212
8236
|
be as ChevronDownIcon,
|
|
8213
|
-
|
|
8237
|
+
zt as ChevronLeftIcon,
|
|
8214
8238
|
dt as ChevronRightIcon,
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8239
|
+
Un as ChevronUpIcon,
|
|
8240
|
+
zl as ClipboardIcon,
|
|
8241
|
+
da as ClockIcon,
|
|
8218
8242
|
Ke as CloseIcon,
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8243
|
+
Kt as CopyIcon,
|
|
8244
|
+
Fa as CreditCardIcon,
|
|
8245
|
+
jl as CubeIcon,
|
|
8246
|
+
Ra as DiscountIcon,
|
|
8247
|
+
ia as DotsHorizontalIcon,
|
|
8248
|
+
Ba as EditIcon,
|
|
8249
|
+
Pa as ExportIcon,
|
|
8250
|
+
Wn as ExternalLinkIcon,
|
|
8251
|
+
jn as EyeIcon,
|
|
8252
|
+
Vn as EyeOffIcon,
|
|
8253
|
+
xa as FacebookIcon,
|
|
8254
|
+
ra as FilterIcon,
|
|
8255
|
+
oa as GithubIcon,
|
|
8256
|
+
Wl as GlobeIcon,
|
|
8257
|
+
aa as GoogleIcon,
|
|
8258
|
+
La as HomeIcon,
|
|
8259
|
+
Jt as InfoIcon,
|
|
8260
|
+
Ca as KeyIcon,
|
|
8261
|
+
Ia as LockIcon,
|
|
8262
|
+
ba as MailIcon,
|
|
8263
|
+
Ha as MenuIcon,
|
|
8264
|
+
Oa as MinusCircleIcon,
|
|
8265
|
+
Gl as MobileIcon,
|
|
8266
|
+
Hn as MonitorIcon,
|
|
8267
|
+
Zl as MoonIcon,
|
|
8268
|
+
Xl as NoteIcon,
|
|
8269
|
+
Na as PasskeyIcon,
|
|
8270
|
+
va as PhoneIcon,
|
|
8247
8271
|
nt as PlusIcon,
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8272
|
+
Ul as RefreshIcon,
|
|
8273
|
+
_a as RocketIcon,
|
|
8274
|
+
O1 as SELECT_COL_DATETIME,
|
|
8275
|
+
el as SELECT_COUNTRIES,
|
|
8276
|
+
Zs as SELECT_DAILY_PRESETS,
|
|
8277
|
+
js as SELECT_DATE_PRESETS,
|
|
8254
8278
|
ze as SELECT_SPACE,
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8279
|
+
fc as SELECT_TRANSACTION_STATUS,
|
|
8280
|
+
Xt as SearchIcon,
|
|
8281
|
+
fr as SelectAccordion,
|
|
8282
|
+
E1 as SelectActionCard,
|
|
8283
|
+
ll as SelectActionList,
|
|
8284
|
+
c1 as SelectActionMenu,
|
|
8285
|
+
ec as SelectAddButton,
|
|
8262
8286
|
ht as SelectAlert,
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8287
|
+
I1 as SelectAppTile,
|
|
8288
|
+
ca as SelectAuthFx,
|
|
8289
|
+
Hc as SelectAvatar,
|
|
8290
|
+
m1 as SelectBackLink,
|
|
8291
|
+
tl as SelectBadge,
|
|
8292
|
+
K1 as SelectBalanceCard,
|
|
8293
|
+
Xa as SelectBankAccountField,
|
|
8294
|
+
no as SelectBarChart,
|
|
8295
|
+
xc as SelectBox,
|
|
8296
|
+
No as SelectBoxPlot,
|
|
8297
|
+
hr as SelectBuilderLayout,
|
|
8298
|
+
_o as SelectBullet,
|
|
8299
|
+
Ho as SelectBump,
|
|
8276
8300
|
ve as SelectButton,
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8301
|
+
$o as SelectCalendarHeatmap,
|
|
8302
|
+
yo as SelectCandlestick,
|
|
8303
|
+
sa as SelectCard,
|
|
8304
|
+
eo as SelectChartCard,
|
|
8305
|
+
Va as SelectCheckbox,
|
|
8306
|
+
Eo as SelectChord,
|
|
8307
|
+
Uo as SelectCirclePack,
|
|
8308
|
+
B1 as SelectCollapsible,
|
|
8309
|
+
pr as SelectColorField,
|
|
8310
|
+
oo as SelectColumnChart,
|
|
8311
|
+
so as SelectComboChart,
|
|
8312
|
+
Yo as SelectCombobox,
|
|
8313
|
+
T1 as SelectConfirmModal,
|
|
8314
|
+
A1 as SelectCopyRow,
|
|
8315
|
+
F1 as SelectCopyableId,
|
|
8316
|
+
P1 as SelectCreateTile,
|
|
8317
|
+
j1 as SelectDataTable,
|
|
8318
|
+
fs as SelectDateField,
|
|
8319
|
+
Us as SelectDatePicker,
|
|
8320
|
+
or as SelectDateRangeField,
|
|
8321
|
+
Ko as SelectDetailList,
|
|
8322
|
+
Jo as SelectDetailRow,
|
|
8323
|
+
Nc as SelectDisclosureButton,
|
|
8324
|
+
i1 as SelectDivider,
|
|
8325
|
+
qa as SelectDocumentField,
|
|
8326
|
+
ao as SelectDonut,
|
|
8327
|
+
na as SelectDotField,
|
|
8328
|
+
So as SelectDumbbell,
|
|
8329
|
+
J1 as SelectFeeBreakdown,
|
|
8330
|
+
Ze as SelectField,
|
|
8331
|
+
nc as SelectFieldGrid,
|
|
8332
|
+
Ya as SelectFileDropzone,
|
|
8309
8333
|
wt as SelectFileTile,
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8334
|
+
V1 as SelectFilterBar,
|
|
8335
|
+
L1 as SelectFilterChip,
|
|
8336
|
+
v1 as SelectFormLayout,
|
|
8337
|
+
W1 as SelectFormModal,
|
|
8338
|
+
ro as SelectFunnel,
|
|
8339
|
+
io as SelectGauge,
|
|
8340
|
+
Lo as SelectGaugeBands,
|
|
8341
|
+
Ro as SelectGlobe,
|
|
8342
|
+
s1 as SelectGrid,
|
|
8343
|
+
ho as SelectHeatmap,
|
|
8344
|
+
Io as SelectHexbin,
|
|
8345
|
+
X1 as SelectHideMoneyToggle,
|
|
8346
|
+
mo as SelectHorizontalBar,
|
|
8347
|
+
Vo as SelectIcicle,
|
|
8348
|
+
b1 as SelectIcon,
|
|
8325
8349
|
ge as SelectIconButton,
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8350
|
+
u1 as SelectIdentityFooter,
|
|
8351
|
+
mr as SelectImageField,
|
|
8352
|
+
tc as SelectImageUploadField,
|
|
8353
|
+
za as SelectImageUrlsField,
|
|
8354
|
+
Ws as SelectImageZoomModal,
|
|
8331
8355
|
st as SelectInline,
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8356
|
+
o1 as SelectJsonViewer,
|
|
8357
|
+
ar as SelectKeyValueEditor,
|
|
8358
|
+
Q1 as SelectKpiCard,
|
|
8335
8359
|
lt as SelectLabelRow,
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8360
|
+
lo as SelectLineChart,
|
|
8361
|
+
Oc as SelectLinkButton,
|
|
8362
|
+
tr as SelectListCard,
|
|
8363
|
+
nr as SelectListRow,
|
|
8364
|
+
Zc as SelectLoader,
|
|
8365
|
+
Co as SelectMarimekko,
|
|
8366
|
+
cr as SelectMediaCell,
|
|
8367
|
+
ts as SelectMenu,
|
|
8368
|
+
ls as SelectMenuButton,
|
|
8369
|
+
C1 as SelectMenuDivider,
|
|
8370
|
+
ns as SelectMenuItem,
|
|
8371
|
+
As as SelectMetricDelta,
|
|
8348
8372
|
It as SelectModal,
|
|
8349
8373
|
at as SelectMoney,
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8374
|
+
Ua as SelectMoneyField,
|
|
8375
|
+
qo as SelectNetwork,
|
|
8376
|
+
x1 as SelectNote,
|
|
8377
|
+
ir as SelectNumberField,
|
|
8378
|
+
sr as SelectOfflineModal,
|
|
8379
|
+
d1 as SelectOptionList,
|
|
8380
|
+
h1 as SelectOptionRow,
|
|
8381
|
+
p1 as SelectOtpInput,
|
|
8382
|
+
Gc as SelectPage,
|
|
8383
|
+
os as SelectPagination,
|
|
8384
|
+
M1 as SelectPanel,
|
|
8385
|
+
jo as SelectParallel,
|
|
8386
|
+
To as SelectPareto,
|
|
8387
|
+
_1 as SelectPasswordStrength,
|
|
8388
|
+
a1 as SelectPaymentBrand,
|
|
8389
|
+
e1 as SelectPhoneField,
|
|
8390
|
+
er as SelectPlanCard,
|
|
8391
|
+
ko as SelectPolarArea,
|
|
8392
|
+
We as SelectPopover,
|
|
8393
|
+
Y1 as SelectPreviewFrame,
|
|
8394
|
+
uo as SelectProgressList,
|
|
8395
|
+
Oo as SelectPyramid,
|
|
8396
|
+
bo as SelectRadar,
|
|
8397
|
+
po as SelectRadialBar,
|
|
8398
|
+
t1 as SelectRadioGroup,
|
|
8399
|
+
Mo as SelectRangeBar,
|
|
8400
|
+
rr as SelectRating,
|
|
8401
|
+
dr as SelectRepeatingFieldArray,
|
|
8402
|
+
f1 as SelectResendButton,
|
|
8403
|
+
D1 as SelectRowActions,
|
|
8404
|
+
xo as SelectSankey,
|
|
8405
|
+
go as SelectScatter,
|
|
8406
|
+
ml as SelectSearchInput,
|
|
8407
|
+
$1 as SelectSection,
|
|
8408
|
+
n1 as SelectSegmented,
|
|
8409
|
+
jt as SelectSelect,
|
|
8410
|
+
Cs as SelectSensitiveValue,
|
|
8411
|
+
y1 as SelectSettingList,
|
|
8412
|
+
N1 as SelectSettingRow,
|
|
8413
|
+
w1 as SelectSideNav,
|
|
8414
|
+
g1 as SelectSkeleton,
|
|
8415
|
+
wo as SelectSlope,
|
|
8416
|
+
to as SelectSparkline,
|
|
8417
|
+
Vt as SelectStack,
|
|
8418
|
+
co as SelectStackedArea,
|
|
8419
|
+
l1 as SelectStatusBadge,
|
|
8420
|
+
Qo as SelectSteps,
|
|
8421
|
+
Ao as SelectStreamGraph,
|
|
8422
|
+
Fo as SelectSunburst,
|
|
8423
|
+
G1 as SelectSurface,
|
|
8424
|
+
en as SelectSwitch,
|
|
8425
|
+
ur as SelectSwitchField,
|
|
8426
|
+
Qc as SelectTable,
|
|
8427
|
+
gn as SelectTableCell,
|
|
8428
|
+
es as SelectTableEmpty,
|
|
8429
|
+
vn as SelectTableRow,
|
|
8430
|
+
k1 as SelectTabs,
|
|
8431
|
+
Z1 as SelectTagSelect,
|
|
8408
8432
|
Xe as SelectText,
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8433
|
+
Za as SelectTextarea,
|
|
8434
|
+
Xo as SelectThemeSwitcher,
|
|
8435
|
+
Pn as SelectThumbnail,
|
|
8436
|
+
Do as SelectTicker,
|
|
8437
|
+
r1 as SelectTimeline,
|
|
8438
|
+
U1 as SelectToastProvider,
|
|
8439
|
+
Ka as SelectToggleList,
|
|
8440
|
+
Qa as SelectTogglePanel,
|
|
8441
|
+
Ja as SelectToggleRow,
|
|
8442
|
+
cl as SelectTooltip,
|
|
8443
|
+
Zo as SelectTree,
|
|
8444
|
+
vo as SelectTreemap,
|
|
8445
|
+
Ga as SelectUnitInput,
|
|
8446
|
+
S1 as SelectUserCell,
|
|
8447
|
+
z1 as SelectValueVisibilityProvider,
|
|
8448
|
+
Go as SelectVenn,
|
|
8449
|
+
Bo as SelectViolin,
|
|
8450
|
+
Wo as SelectWaffle,
|
|
8451
|
+
fo as SelectWaterfall,
|
|
8452
|
+
Po as SelectWordCloud,
|
|
8453
|
+
R1 as SelectWorkspaceSwitcher,
|
|
8454
|
+
lr as SelectZoomThumbnail,
|
|
8455
|
+
On as SelectorIcon,
|
|
8456
|
+
Ea as SendIcon,
|
|
8457
|
+
Tl as Setting4Icon,
|
|
8458
|
+
Yl as SettingsIcon,
|
|
8459
|
+
$a as ShieldIcon,
|
|
8460
|
+
pa as SplitIcon,
|
|
8461
|
+
ua as StarIcon,
|
|
8462
|
+
Ta as StoreIcon,
|
|
8463
|
+
ja as StorefrontIcon,
|
|
8464
|
+
Vl as SunIcon,
|
|
8465
|
+
Hl as TerminalIcon,
|
|
8466
|
+
Zn as TrashIcon,
|
|
8443
8467
|
kt as UploadIcon,
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8468
|
+
ma as UserIcon,
|
|
8469
|
+
Aa as WalletIcon,
|
|
8470
|
+
Ol as WarningIcon,
|
|
8471
|
+
wa as Web3Icon,
|
|
8448
8472
|
ut as detectSelectTheme,
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8473
|
+
mc as dialCodeOf,
|
|
8474
|
+
Vc as passwordScore,
|
|
8475
|
+
zo as resolveSelectTheme,
|
|
8476
|
+
H1 as useSelectPageSize,
|
|
8477
|
+
q1 as useSelectToast,
|
|
8478
|
+
bl as useSelectValueVisibility
|
|
8455
8479
|
};
|
|
8456
8480
|
//# sourceMappingURL=index.js.map
|