@selectwin/kit 0.1.69 → 0.1.71
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/icons.d.ts +7 -0
- package/dist/index.js +496 -488
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,8 +31,8 @@ function pr({ className: t, theme: n, glowTarget: l }) {
|
|
|
31
31
|
const o = ((J = window.matchMedia) == null ? void 0 : J.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, i = n === "dark", r = 30, d = 1.2, m = 160, h = 8, f = 2.9, g = 0.32, _ = 1.4, x = 18, M = Math.PI * 2, S = getComputedStyle(s), [v, u, N] = Ec(S, "--select-dot", i ? [235, 238, 255] : [64, 68, 92]), [k, w, y] = Bc(S.getPropertyValue("--select-primary"), i ? [255, 255, 255] : [33, 37, 41]);
|
|
32
32
|
let $ = 0, b = 0, C = [], A = 0, B = 0, L = null, E = 0;
|
|
33
33
|
const F = { x: 0, y: 0 };
|
|
34
|
-
let D = 0, Z = 0,
|
|
35
|
-
const
|
|
34
|
+
let D = 0, Z = 0, P = -10;
|
|
35
|
+
const T = Oe.quickTo(F, "x", { duration: 0.5, ease: "power3.out" }), W = Oe.quickTo(F, "y", { duration: 0.5, ease: "power3.out" });
|
|
36
36
|
function Q() {
|
|
37
37
|
const ee = s.getBoundingClientRect();
|
|
38
38
|
A = ee.left, B = ee.top, $ = ee.width, b = ee.height;
|
|
@@ -41,18 +41,18 @@ function pr({ className: t, theme: n, glowTarget: l }) {
|
|
|
41
41
|
const be = s.closest(".select-auth") ?? document;
|
|
42
42
|
L = l ? be.querySelector(l) : null, C = [];
|
|
43
43
|
const ye = Math.ceil($ / r) + 1, Ne = Math.ceil(b / r) + 1, le = ($ - (ye - 1) * r) / 2, we = (b - (Ne - 1) * r) / 2;
|
|
44
|
-
for (let
|
|
44
|
+
for (let Pe = 0; Pe < Ne; Pe++)
|
|
45
45
|
for (let ie = 0; ie < ye; ie++) {
|
|
46
|
-
const Ae = le + ie * r, Ue = we +
|
|
46
|
+
const Ae = le + ie * r, Ue = we + Pe * r;
|
|
47
47
|
C.push({ x: Ae, y: Ue, phase: (Ae + Ue) * 0.013 });
|
|
48
48
|
}
|
|
49
49
|
F.x === 0 && F.y === 0 && (F.x = D = $ / 2, F.y = Z = b / 2);
|
|
50
50
|
}
|
|
51
51
|
function q(ee, ke, be, ye, Ne) {
|
|
52
52
|
if (!L) return;
|
|
53
|
-
const le = L.getBoundingClientRect(), we = le.left - A + le.width / 2,
|
|
53
|
+
const le = L.getBoundingClientRect(), we = le.left - A + le.width / 2, Pe = le.top - B + le.height / 2, ie = le.width / 2, Ae = le.height / 2, Ue = (ee - we) / (ie + x), De = (ke - Pe) / (Ae + x), Te = Math.sqrt(Ue * Ue + De * De), Ke = Te < 1 ? 1 - Te : 0, qe = Ke * Ke * (3 - 2 * Ke);
|
|
54
54
|
if (qe > 1e-3 || E > 1e-3) {
|
|
55
|
-
const I = cl((ee - we) / Math.max(ie, 1), -1, 1) * 10 * qe, G = cl((ke -
|
|
55
|
+
const I = cl((ee - we) / Math.max(ie, 1), -1, 1) * 10 * qe, G = cl((ke - Pe) / Math.max(Ae, 1), -1, 1) * 10 * qe;
|
|
56
56
|
L.style.setProperty("--select-card-glow", qe.toFixed(3)), L.style.setProperty("--select-card-glow-rgb", `${be}, ${ye}, ${Ne}`), L.style.setProperty("--select-card-glow-x", `${I.toFixed(1)}px`), L.style.setProperty("--select-card-glow-y", `${G.toFixed(1)}px`);
|
|
57
57
|
}
|
|
58
58
|
E = qe;
|
|
@@ -65,17 +65,17 @@ function pr({ className: t, theme: n, glowTarget: l }) {
|
|
|
65
65
|
}
|
|
66
66
|
function ae(ee) {
|
|
67
67
|
let ke, be;
|
|
68
|
-
ee -
|
|
68
|
+
ee - P < _ ? (ke = D, be = Z) : (ke = $ * 0.5 + Math.cos(ee * 0.45) * $ * 0.3, be = b * 0.5 + Math.sin(ee * 0.6) * b * 0.28), T(ke), W(be);
|
|
69
69
|
const ye = F.x, Ne = F.y;
|
|
70
70
|
a.clearRect(0, 0, $, b);
|
|
71
71
|
for (let le = 0; le < C.length; le++) {
|
|
72
|
-
const we = C[le],
|
|
72
|
+
const we = C[le], Pe = we.x - ye, ie = we.y - Ne, Ae = Math.sqrt(Pe * Pe + ie * ie), Ue = Ae < m ? 1 - Ae / m : 0, De = Ue * Ue, Te = Math.sin(ee * 1.4 + we.phase) * 0.5 + 0.5, Ke = De * h, qe = Ae > 1e-4 ? 1 / Ae : 0, I = we.x - Pe * qe * Ke, G = we.y - ie * qe * Ke, z = 1 + De * (f - 1) + Te * 0.14, xe = Math.min(1, g + Te * 0.08 + De * (1 - g)), V = v + (k - v) * De | 0, j = u + (w - u) * De | 0, Y = N + (y - N) * De | 0;
|
|
73
73
|
De > 0.12 ? (a.shadowColor = `rgba(${k},${w},${y},${0.6 * De})`, a.shadowBlur = 12 * De) : a.shadowBlur = 0, a.beginPath(), a.arc(I, G, d * z, 0, M), a.fillStyle = `rgba(${V},${j},${Y},${xe})`, a.fill();
|
|
74
74
|
}
|
|
75
75
|
a.shadowBlur = 0, q(ye, Ne, k, w, y);
|
|
76
76
|
}
|
|
77
77
|
function Fe(ee) {
|
|
78
|
-
D = ee.clientX - A, Z = ee.clientY - B,
|
|
78
|
+
D = ee.clientX - A, Z = ee.clientY - B, P = Oe.ticker.time;
|
|
79
79
|
}
|
|
80
80
|
function pe() {
|
|
81
81
|
const ee = s.getBoundingClientRect();
|
|
@@ -124,8 +124,8 @@ const Rc = (t) => {
|
|
|
124
124
|
g.clearRect(0, 0, k, w);
|
|
125
125
|
const y = _.x, $ = _.y;
|
|
126
126
|
for (const b of i) {
|
|
127
|
-
const C = b.x - y, A = b.y - $, B = Math.hypot(C, A), L = f > 0 && B < 150 ? 1 - B / 150 : 0, E = L * L * f, F = Math.sin(h * 1.1 + b.phase) * 0.5 + 0.5, D = E * 6, Z = B > 1e-3 ? 1 / B : 0,
|
|
128
|
-
t.dark && E > 0.14 ? (g.shadowColor = `rgba(${v},${u},${N},${0.5 * E})`, g.shadowBlur = 10 * E) : g.shadowBlur = 0, g.beginPath(), g.arc(
|
|
127
|
+
const C = b.x - y, A = b.y - $, B = Math.hypot(C, A), L = f > 0 && B < 150 ? 1 - B / 150 : 0, E = L * L * f, F = Math.sin(h * 1.1 + b.phase) * 0.5 + 0.5, D = E * 6, Z = B > 1e-3 ? 1 / B : 0, P = b.x - C * Z * D, T = b.y - A * Z * D, W = 1 + E * (2.4 - 1) + F * 0.1, Q = Math.min(1, 0.3 + F * 0.06 + E * (1 - 0.3)), q = x + (v - x) * E | 0, oe = M + (u - M) * E | 0, ae = S + (N - S) * E | 0;
|
|
128
|
+
t.dark && E > 0.14 ? (g.shadowColor = `rgba(${v},${u},${N},${0.5 * E})`, g.shadowBlur = 10 * E) : g.shadowBlur = 0, g.beginPath(), g.arc(P, T, 1.2 * W, 0, It), g.fillStyle = `rgba(${q},${oe},${ae},${Q})`, g.fill();
|
|
129
129
|
}
|
|
130
130
|
g.shadowBlur = 0;
|
|
131
131
|
}
|
|
@@ -138,7 +138,7 @@ const Rc = (t) => {
|
|
|
138
138
|
m(0, 0), t.clearGlow();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
|
-
},
|
|
141
|
+
}, Pc = (t) => {
|
|
142
142
|
let c = 0, s = 0, a = [];
|
|
143
143
|
function o() {
|
|
144
144
|
c = t.w(), s = t.h();
|
|
@@ -185,7 +185,7 @@ const Rc = (t) => {
|
|
|
185
185
|
i(!1), t.clearGlow();
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
},
|
|
188
|
+
}, Tc = (t) => {
|
|
189
189
|
let c = 0, s = 0, a = 0, o = 0, i = 0, r = 0;
|
|
190
190
|
function d() {
|
|
191
191
|
c = t.w(), s = t.h(), a = Math.ceil(c / 44) + 1, o = Math.ceil(s / 44) + 1, i = (c - (a - 1) * 44) / 2, r = (s - (o - 1) * 44) / 2;
|
|
@@ -211,12 +211,12 @@ const Rc = (t) => {
|
|
|
211
211
|
const E = i + L * 44;
|
|
212
212
|
let F = B;
|
|
213
213
|
if (f) {
|
|
214
|
-
const
|
|
215
|
-
|
|
214
|
+
const T = Math.hypot(E - y, C - $);
|
|
215
|
+
T < 120 && (F = Math.max(F, (1 - T / 120) ** 2));
|
|
216
216
|
}
|
|
217
217
|
if (F < 0.02) continue;
|
|
218
|
-
const D = x + (v - x) * F | 0, Z = M + (u - M) * F | 0,
|
|
219
|
-
g.beginPath(), g.arc(E, C, 1 + F * 2.2, 0, It), g.fillStyle = `rgba(${D},${Z},${
|
|
218
|
+
const D = x + (v - x) * F | 0, Z = M + (u - M) * F | 0, P = S + (N - S) * F | 0;
|
|
219
|
+
g.beginPath(), g.arc(E, C, 1 + F * 2.2, 0, It), g.fillStyle = `rgba(${D},${Z},${P},${0.3 + F * 0.6})`, g.fill();
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -402,19 +402,19 @@ const Rc = (t) => {
|
|
|
402
402
|
minx: 0,
|
|
403
403
|
maxx: 0
|
|
404
404
|
}), Z = [D(), D(), D(), D()];
|
|
405
|
-
let
|
|
405
|
+
let P = Z[0], T = null, W = null, Q = null, q = null, oe = new Float32Array(0), ae = 0, Fe = 0, pe = 0, H = 0, J = 0, ee = 0;
|
|
406
406
|
function ke() {
|
|
407
407
|
const V = Math.max(t.w(), 1), j = Math.max(t.h(), 1);
|
|
408
|
-
pe = (V * Math.abs(u) + j * Math.abs(N)) / 2, H = (V * Math.abs(N) + j * Math.abs(u)) / 2, J = Math.min(1, Math.sqrt(42e4 / (4 * pe * H))), ae = Math.max(2, Math.round(2 * pe * J)), Fe = Math.max(2, Math.round(2 * H * J)), ee = Math.min(2.6, Math.max(0.7, 0.62 / J)),
|
|
408
|
+
pe = (V * Math.abs(u) + j * Math.abs(N)) / 2, H = (V * Math.abs(N) + j * Math.abs(u)) / 2, J = Math.min(1, Math.sqrt(42e4 / (4 * pe * H))), ae = Math.max(2, Math.round(2 * pe * J)), Fe = Math.max(2, Math.round(2 * H * J)), ee = Math.min(2.6, Math.max(0.7, 0.62 / J)), T || (T = document.createElement("canvas")), T.width = ae, T.height = Fe, W = T.getContext("2d"), Q = (W == null ? void 0 : W.createImageData(ae, Fe)) ?? null, q = Q ? new Uint32Array(Q.data.buffer) : null, oe = new Float32Array(ae);
|
|
409
409
|
}
|
|
410
|
-
let be = 1, ye = 0, Ne = 0, le = 0, we = 0,
|
|
410
|
+
let be = 1, ye = 0, Ne = 0, le = 0, we = 0, Pe = 1, ie = 0, Ae = 0, Ue = 0, De = 0, Te = Le.TENSION;
|
|
411
411
|
const Ke = (V, j, Y, K, te) => {
|
|
412
412
|
const de = V * be + j * ye, me = -V * ye + j * be - Ne;
|
|
413
413
|
let fe = Y * be + K * ye, _e = -Y * ye + K * be;
|
|
414
414
|
_e < 0 && (fe = -fe, _e = -_e);
|
|
415
415
|
const Me = Le.CAM - me;
|
|
416
416
|
if (Me < i) {
|
|
417
|
-
|
|
417
|
+
P.x[ie] = Number.NaN, P.z[ie] = -1e9, P.a[ie] = 0, P.lift[ie] = 0, ie++;
|
|
418
418
|
return;
|
|
419
419
|
}
|
|
420
420
|
let Ee = (Me - i) * $;
|
|
@@ -428,7 +428,7 @@ const Rc = (t) => {
|
|
|
428
428
|
const ze = 1 - Ve;
|
|
429
429
|
let ct = (ze * Math.sqrt(ze) - 0.05) * b;
|
|
430
430
|
ct < 0 ? ct = 0 : ct > 1 && (ct = 1);
|
|
431
|
-
const
|
|
431
|
+
const Tt = ct * ct * (3 - 2 * ct);
|
|
432
432
|
let st = w[0] + Se, _t = w[1] + Ce, at = w[2] + Ze, Ct = 1 / Math.sqrt(st * st + _t * _t + at * at), Xe = (fe * st + _e * at) * Ct;
|
|
433
433
|
Xe < 0 && (Xe = 0);
|
|
434
434
|
const Dt = Xe * Xe, Lt = Dt * Dt, tn = Lt * Lt * Lt;
|
|
@@ -437,10 +437,10 @@ const Rc = (t) => {
|
|
|
437
437
|
let rt = (-(-Se + 2 * Ve * fe) * N - Ce * u + 0.2) * C;
|
|
438
438
|
rt < 0 ? rt = 0 : rt > 1 && (rt = 1);
|
|
439
439
|
const et = rt * rt * (3 - 2 * rt), At = tn * 0.9 + nn * 0.45;
|
|
440
|
-
let bt =
|
|
441
|
-
bt > 1 && (bt = 1),
|
|
440
|
+
let bt = Tt * 0.55 + At;
|
|
441
|
+
bt > 1 && (bt = 1), P.lift[ie] = bt, P.a[ie] = (M + S * Tt + v * At + et * 0.06) * te * Pe * Be, P.x[ie] = $e, P.z[ie] = me, $e < Ae && (Ae = $e), $e > Ue && (Ue = $e), ie++;
|
|
442
442
|
}, qe = (V, j) => {
|
|
443
|
-
const Y = V * we, K = Math.cos(Y), de = -Math.sin(Y) *
|
|
443
|
+
const Y = V * we, K = Math.cos(Y), de = -Math.sin(Y) * Te, me = 1 / Math.sqrt(Te * Te * K * K + 1), fe = Te * K * me, _e = me;
|
|
444
444
|
for (let Me = 0; Me < 14; Me++) {
|
|
445
445
|
const Ee = j ? 13 - Me : Me, Be = A[Ee], $e = B[Ee], Se = fe * Be + V * _e * $e, Ce = -V * fe * $e + _e * Be;
|
|
446
446
|
Ke(Y + Le.ROUND * (Se - fe), de + Le.ROUND * (Ce - _e), Se, Ce, L[Ee]);
|
|
@@ -453,12 +453,12 @@ const Rc = (t) => {
|
|
|
453
453
|
le = fe * (Le.CAM + Math.sin(le * 1.2 + te) * Le.BILLOW) / Le.FOCAL;
|
|
454
454
|
Ne = Math.sin(le * 1.2 + te) * Le.BILLOW;
|
|
455
455
|
const _e = le < 0 ? -le : le, Me = Gt(7, 1, _e), Ee = le * E.twist * Gt(8, 0, _e) - de;
|
|
456
|
-
be = Math.cos(Ee), ye = Math.sin(Ee), we = Le.WIDTH * Me,
|
|
456
|
+
be = Math.cos(Ee), ye = Math.sin(Ee), we = Le.WIDTH * Me, Pe = Gt(0.06, 0.46, be < 0 ? -be : be) * Gt(0, 0.06, Me), P = j, ie = 0, Ae = 1e9, Ue = -1e9, qe(-1, !0);
|
|
457
457
|
const Be = 2 * we / 107, $e = Math.cos(Be), Se = Math.sin(Be);
|
|
458
458
|
let Ce = Math.cos(-we), Ze = Math.sin(-we);
|
|
459
459
|
for (let Ie = 0; Ie < 108; Ie++) {
|
|
460
|
-
const Ve = 1 / Math.sqrt(
|
|
461
|
-
Ke(-we + Ie * Be, -Ze *
|
|
460
|
+
const Ve = 1 / Math.sqrt(Te * Te * Ce * Ce + 1);
|
|
461
|
+
Ke(-we + Ie * Be, -Ze * Te, Te * Ce * Ve, Ve, 1);
|
|
462
462
|
const ze = Ce * $e - Ze * Se;
|
|
463
463
|
Ze = Ze * $e + Ce * Se, Ce = ze;
|
|
464
464
|
}
|
|
@@ -475,10 +475,10 @@ const Rc = (t) => {
|
|
|
475
475
|
let Be = Math.floor(fe), $e = Math.ceil(Me);
|
|
476
476
|
if ($e < 0 || Be > ae - 1) return;
|
|
477
477
|
Be < 0 && (Be = 0), $e > ae - 1 && ($e = ae - 1), oe.fill(-1e9, Be, $e + 1);
|
|
478
|
-
const Se = V * ae, Ce = de * de, Ze = Ce * de, Ie = -0.5 * Ze + Ce - 0.5 * de, Ve = 1.5 * Ze - 2.5 * Ce + 1, ze = -1.5 * Ze + 2 * Ce + 0.5 * de, ut = 0.5 * Ze - 0.5 * Ce, ct = j.x,
|
|
479
|
-
let et = Ie * ct[0] + Ve *
|
|
478
|
+
const Se = V * ae, Ce = de * de, Ze = Ce * de, Ie = -0.5 * Ze + Ce - 0.5 * de, Ve = 1.5 * Ze - 2.5 * Ce + 1, ze = -1.5 * Ze + 2 * Ce + 0.5 * de, ut = 0.5 * Ze - 0.5 * Ce, ct = j.x, Tt = Y.x, st = K.x, _t = te.x, at = j.z, Ct = Y.z, Xe = K.z, Dt = te.z, Lt = j.lift, Sn = Y.lift, tn = K.lift, Ot = te.lift, Wt = j.a, nn = Y.a, Cn = K.a, rt = te.a;
|
|
479
|
+
let et = Ie * ct[0] + Ve * Tt[0] + ze * st[0] + ut * _t[0], At = Ie * at[0] + Ve * Ct[0] + ze * Xe[0] + ut * Dt[0], bt = Ie * Lt[0] + Ve * Sn[0] + ze * tn[0] + ut * Ot[0], Ln = Ie * Wt[0] + Ve * nn[0] + ze * Cn[0] + ut * rt[0];
|
|
480
480
|
for (let re = 1; re < 136; re++) {
|
|
481
|
-
const tt = Ie * ct[re] + Ve *
|
|
481
|
+
const tt = Ie * ct[re] + Ve * Tt[re] + ze * st[re] + ut * _t[re], jt = Ie * at[re] + Ve * Ct[re] + ze * Xe[re] + ut * Dt[re], Zt = Ie * Lt[re] + Ve * Sn[re] + ze * tn[re] + ut * Ot[re], Vt = Ie * Wt[re] + Ve * nn[re] + ze * Cn[re] + ut * rt[re];
|
|
482
482
|
if (!Number.isNaN(et) && !Number.isNaN(tt)) {
|
|
483
483
|
let xt = Math.max(Be, Math.ceil((et < tt ? et : tt) - 0.5)), ln = Math.min($e, Math.floor((et > tt ? et : tt) - 0.5));
|
|
484
484
|
if (ln < xt) {
|
|
@@ -521,7 +521,7 @@ const Rc = (t) => {
|
|
|
521
521
|
}
|
|
522
522
|
function z(V) {
|
|
523
523
|
if (!Q || !W || !q) return;
|
|
524
|
-
q.fill(0),
|
|
524
|
+
q.fill(0), Te = E.tension, De = Le.ZOOM * Math.max(t.h(), 1) * J;
|
|
525
525
|
const j = Math.max(1, Math.ceil((Fe - 1) / 3)), Y = (fe) => Math.min(fe * 3, Fe - 1);
|
|
526
526
|
let K = 0;
|
|
527
527
|
I(Y(0), Z[0], V);
|
|
@@ -546,7 +546,7 @@ const Rc = (t) => {
|
|
|
546
546
|
}
|
|
547
547
|
function xe(V) {
|
|
548
548
|
const { ctx: j } = t, Y = t.w(), K = t.h();
|
|
549
|
-
j.clearRect(0, 0, Y, K), !(!
|
|
549
|
+
j.clearRect(0, 0, Y, K), !(!T || ae < 2) && (z(V), j.save(), j.translate(Y / 2, K / 2), j.rotate(Le.ROT), j.imageSmoothingEnabled = !0, j.imageSmoothingQuality = "high", j.filter = `blur(${ee.toFixed(2)}px)`, j.drawImage(T, -pe, -H, 2 * pe, 2 * H), j.restore());
|
|
550
550
|
}
|
|
551
551
|
return {
|
|
552
552
|
build: ke,
|
|
@@ -563,8 +563,8 @@ const Rc = (t) => {
|
|
|
563
563
|
};
|
|
564
564
|
}, Vc = {
|
|
565
565
|
dots: Rc,
|
|
566
|
-
plexus:
|
|
567
|
-
grid:
|
|
566
|
+
plexus: Pc,
|
|
567
|
+
grid: Tc,
|
|
568
568
|
flow: Dc,
|
|
569
569
|
circuit: Oc,
|
|
570
570
|
liquid: Zc
|
|
@@ -591,8 +591,8 @@ function fr({
|
|
|
591
591
|
if (!M) return;
|
|
592
592
|
const ae = M.getBoundingClientRect(), Fe = ae.left - _ + ae.width / 2, pe = ae.top - x + ae.height / 2, H = ae.width / 2, J = ae.height / 2, ee = 18, ke = (q - Fe) / (H + ee), be = (oe - pe) / (J + ee), ye = Math.sqrt(ke * ke + be * be), Ne = ye < 1 ? 1 - ye : 0, le = Ne * Ne * (3 - 2 * Ne);
|
|
593
593
|
if (le > 1e-3 || S > 1e-3) {
|
|
594
|
-
const we = gt((q - Fe) / Math.max(H, 1), -1, 1) * 10 * le,
|
|
595
|
-
M.style.setProperty("--select-card-glow", le.toFixed(3)), M.style.setProperty("--select-card-glow-rgb", `${h[0]}, ${h[1]}, ${h[2]}`), M.style.setProperty("--select-card-glow-x", `${we.toFixed(1)}px`), M.style.setProperty("--select-card-glow-y", `${
|
|
594
|
+
const we = gt((q - Fe) / Math.max(H, 1), -1, 1) * 10 * le, Pe = gt((oe - pe) / Math.max(J, 1), -1, 1) * 10 * le;
|
|
595
|
+
M.style.setProperty("--select-card-glow", le.toFixed(3)), M.style.setProperty("--select-card-glow-rgb", `${h[0]}, ${h[1]}, ${h[2]}`), M.style.setProperty("--select-card-glow-x", `${we.toFixed(1)}px`), M.style.setProperty("--select-card-glow-y", `${Pe.toFixed(1)}px`);
|
|
596
596
|
}
|
|
597
597
|
S = le;
|
|
598
598
|
}
|
|
@@ -613,10 +613,10 @@ function fr({
|
|
|
613
613
|
const oe = D < 0 ? 0 : Math.min(q - D, 0.05);
|
|
614
614
|
D = q, E && (N.active = q - y < v, $(N.active ? k : f / 2), b(N.active ? w : g / 2), N.x = u.x, N.y = u.y), L.frame(q, oe);
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function P(q) {
|
|
617
617
|
k = q.clientX - _, w = q.clientY - x, y = Oe.ticker.time;
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function T() {
|
|
620
620
|
const q = a.getBoundingClientRect();
|
|
621
621
|
_ = q.left, x = q.top;
|
|
622
622
|
}
|
|
@@ -627,9 +627,9 @@ function fr({
|
|
|
627
627
|
return W.observe(a), i ? (L.paintStatic(), () => {
|
|
628
628
|
var q;
|
|
629
629
|
W.disconnect(), (q = L.dispose) == null || q.call(L);
|
|
630
|
-
}) : (E && (window.addEventListener("pointermove",
|
|
630
|
+
}) : (E && (window.addEventListener("pointermove", P, { passive: !0 }), window.addEventListener("scroll", T, { passive: !0 })), Oe.ticker.add(Z), () => {
|
|
631
631
|
var q;
|
|
632
|
-
Oe.ticker.remove(Z), Oe.killTweensOf(u), window.removeEventListener("pointermove",
|
|
632
|
+
Oe.ticker.remove(Z), Oe.killTweensOf(u), window.removeEventListener("pointermove", P), window.removeEventListener("scroll", T), W.disconnect(), (q = L.dispose) == null || q.call(L), M == null || M.style.removeProperty("--select-card-glow");
|
|
633
633
|
});
|
|
634
634
|
}, [n, l, c]), /* @__PURE__ */ e("canvas", { ref: s, className: t, "aria-hidden": "true" });
|
|
635
635
|
}
|
|
@@ -794,10 +794,17 @@ function Nr() {
|
|
|
794
794
|
/* @__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" })
|
|
795
795
|
] });
|
|
796
796
|
}
|
|
797
|
-
|
|
797
|
+
function Mr({ filled: t = !1 } = {}) {
|
|
798
|
+
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
799
|
+
/* @__PURE__ */ e("path", { d: "M10 2.5v6.2c0 .38-.2.73-.52.93L6.7 11.4c-.75.47-1.2 1.29-1.2 2.17 0 .35.28.63.63.63h11.74c.35 0 .63-.28.63-.63 0-.88-.45-1.7-1.2-2.17l-2.78-1.77a1.1 1.1 0 0 1-.52-.93V2.5", ...t ? { fill: "currentColor" } : {} }),
|
|
800
|
+
/* @__PURE__ */ e("path", { d: "M8.5 2.5h7" }),
|
|
801
|
+
/* @__PURE__ */ e("path", { d: "M12 14.2v7.3" })
|
|
802
|
+
] });
|
|
803
|
+
}
|
|
804
|
+
const wr = R(function({ filled: n = !1, className: l, ...c }, s) {
|
|
798
805
|
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" }) });
|
|
799
806
|
});
|
|
800
|
-
function
|
|
807
|
+
function kr({ duotone: t = !1 } = {}) {
|
|
801
808
|
return t ? /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
802
809
|
/* @__PURE__ */ e("path", { opacity: ".4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", 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-.85" }),
|
|
803
810
|
/* @__PURE__ */ e("path", { fill: "currentColor", d: "M12.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" })
|
|
@@ -822,7 +829,7 @@ function Mn() {
|
|
|
822
829
|
/* @__PURE__ */ e("path", { d: "M11.995 16h.009" })
|
|
823
830
|
] });
|
|
824
831
|
}
|
|
825
|
-
function
|
|
832
|
+
function $r() {
|
|
826
833
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
827
834
|
/* @__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" }),
|
|
828
835
|
/* @__PURE__ */ e("path", { d: "M9.95 9.55c0-1.13.92-2.05 2.05-2.05s2.05.92 2.05 2.05c0 1.06-.72 1.6-1.35 1.95-.44.25-.7.6-.7 1.15v.35" }),
|
|
@@ -835,10 +842,10 @@ function qc() {
|
|
|
835
842
|
/* @__PURE__ */ e("path", { d: "M11.995 17h.009" })
|
|
836
843
|
] });
|
|
837
844
|
}
|
|
838
|
-
function
|
|
845
|
+
function Sr() {
|
|
839
846
|
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" }) });
|
|
840
847
|
}
|
|
841
|
-
function
|
|
848
|
+
function Cr() {
|
|
842
849
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
843
850
|
/* @__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" }),
|
|
844
851
|
/* @__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" }),
|
|
@@ -851,7 +858,7 @@ function zc() {
|
|
|
851
858
|
/* @__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" })
|
|
852
859
|
] });
|
|
853
860
|
}
|
|
854
|
-
function
|
|
861
|
+
function Lr() {
|
|
855
862
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
856
863
|
/* @__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" }),
|
|
857
864
|
/* @__PURE__ */ e("path", { d: "M9 12a13 13 0 0 1 9-9 13 13 0 0 1-9 9Z" }),
|
|
@@ -896,16 +903,16 @@ function Jc() {
|
|
|
896
903
|
function St() {
|
|
897
904
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 12h12M12 18V6" }) });
|
|
898
905
|
}
|
|
899
|
-
function
|
|
906
|
+
function Ar({ duotone: t = !1 } = {}) {
|
|
900
907
|
return /* @__PURE__ */ e(jl, { duotone: t });
|
|
901
908
|
}
|
|
902
|
-
function
|
|
909
|
+
function Er() {
|
|
903
910
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
904
911
|
/* @__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" }),
|
|
905
912
|
/* @__PURE__ */ e("path", { d: "M9 2h6" })
|
|
906
913
|
] });
|
|
907
914
|
}
|
|
908
|
-
function
|
|
915
|
+
function Br({ duotone: t = !1 } = {}) {
|
|
909
916
|
return t ? /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
910
917
|
/* @__PURE__ */ e("path", { opacity: ".4", fill: "currentColor", 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" }),
|
|
911
918
|
/* @__PURE__ */ e("path", { stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
@@ -914,7 +921,7 @@ function Er({ duotone: t = !1 } = {}) {
|
|
|
914
921
|
/* @__PURE__ */ e("path", { d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
915
922
|
] });
|
|
916
923
|
}
|
|
917
|
-
function
|
|
924
|
+
function Fr() {
|
|
918
925
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
919
926
|
"path",
|
|
920
927
|
{
|
|
@@ -923,17 +930,17 @@ function Br() {
|
|
|
923
930
|
}
|
|
924
931
|
) });
|
|
925
932
|
}
|
|
926
|
-
function
|
|
933
|
+
function Ir() {
|
|
927
934
|
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" }) });
|
|
928
935
|
}
|
|
929
|
-
function
|
|
936
|
+
function Rr() {
|
|
930
937
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
931
938
|
/* @__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" }),
|
|
932
939
|
/* @__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" }),
|
|
933
940
|
/* @__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" })
|
|
934
941
|
] });
|
|
935
942
|
}
|
|
936
|
-
function
|
|
943
|
+
function Pr() {
|
|
937
944
|
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" }) });
|
|
938
945
|
}
|
|
939
946
|
function Tr() {
|
|
@@ -964,23 +971,23 @@ function Qc() {
|
|
|
964
971
|
/* @__PURE__ */ e("path", { d: "m7.75 12 2.83 2.83 5.67-5.66" })
|
|
965
972
|
] });
|
|
966
973
|
}
|
|
967
|
-
function
|
|
974
|
+
function Dr() {
|
|
968
975
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
969
976
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "4" }),
|
|
970
977
|
/* @__PURE__ */ e("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.9 7.9" })
|
|
971
978
|
] });
|
|
972
979
|
}
|
|
973
|
-
function
|
|
980
|
+
function Or() {
|
|
974
981
|
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" }) });
|
|
975
982
|
}
|
|
976
|
-
function
|
|
983
|
+
function Wr() {
|
|
977
984
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
978
985
|
/* @__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" }),
|
|
979
986
|
/* @__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" }),
|
|
980
987
|
/* @__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" })
|
|
981
988
|
] });
|
|
982
989
|
}
|
|
983
|
-
function
|
|
990
|
+
function Hr() {
|
|
984
991
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
985
992
|
/* @__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" }),
|
|
986
993
|
/* @__PURE__ */ e("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })
|
|
@@ -989,7 +996,7 @@ function Wr() {
|
|
|
989
996
|
function Gl() {
|
|
990
997
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5" }) });
|
|
991
998
|
}
|
|
992
|
-
function
|
|
999
|
+
function jr() {
|
|
993
1000
|
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" }) });
|
|
994
1001
|
}
|
|
995
1002
|
function es() {
|
|
@@ -998,29 +1005,29 @@ function es() {
|
|
|
998
1005
|
/* @__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" })
|
|
999
1006
|
] });
|
|
1000
1007
|
}
|
|
1001
|
-
function
|
|
1008
|
+
function Zr() {
|
|
1002
1009
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1003
1010
|
/* @__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" }),
|
|
1004
1011
|
/* @__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" }),
|
|
1005
1012
|
/* @__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" })
|
|
1006
1013
|
] });
|
|
1007
1014
|
}
|
|
1008
|
-
function
|
|
1015
|
+
function Vr() {
|
|
1009
1016
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1010
1017
|
/* @__PURE__ */ e("path", { d: "M2 8.505h20M6 16.505h2M10.5 16.505h4" }),
|
|
1011
1018
|
/* @__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" })
|
|
1012
1019
|
] });
|
|
1013
1020
|
}
|
|
1014
|
-
function
|
|
1021
|
+
function Gr() {
|
|
1015
1022
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1016
1023
|
/* @__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" }),
|
|
1017
1024
|
/* @__PURE__ */ e("path", { d: "M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18" })
|
|
1018
1025
|
] });
|
|
1019
1026
|
}
|
|
1020
|
-
function
|
|
1027
|
+
function Ur() {
|
|
1021
1028
|
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" }) });
|
|
1022
1029
|
}
|
|
1023
|
-
function
|
|
1030
|
+
function qr() {
|
|
1024
1031
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1025
1032
|
/* @__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" }),
|
|
1026
1033
|
/* @__PURE__ */ e("path", { d: "M17 22H7c-4 0-5-1-5-5v-2c0-4 1-5 5-5h10c4 0 5 1 5 5v2c0 4-1 5-5 5Z" })
|
|
@@ -1035,7 +1042,7 @@ function Ul() {
|
|
|
1035
1042
|
function ql() {
|
|
1036
1043
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52" }) });
|
|
1037
1044
|
}
|
|
1038
|
-
function
|
|
1045
|
+
function zr() {
|
|
1039
1046
|
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" }) });
|
|
1040
1047
|
}
|
|
1041
1048
|
function ts() {
|
|
@@ -1050,19 +1057,19 @@ function ns() {
|
|
|
1050
1057
|
/* @__PURE__ */ e("path", { d: "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" })
|
|
1051
1058
|
] });
|
|
1052
1059
|
}
|
|
1053
|
-
function
|
|
1060
|
+
function Yr() {
|
|
1054
1061
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1055
1062
|
/* @__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" }),
|
|
1056
1063
|
/* @__PURE__ */ e("path", { d: "M14.495 14.5h.009M9.495 9.5h.008" })
|
|
1057
1064
|
] });
|
|
1058
1065
|
}
|
|
1059
|
-
function
|
|
1066
|
+
function Kr() {
|
|
1060
1067
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1061
1068
|
/* @__PURE__ */ e("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }),
|
|
1062
1069
|
/* @__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" })
|
|
1063
1070
|
] });
|
|
1064
1071
|
}
|
|
1065
|
-
function
|
|
1072
|
+
function Xr({ duotone: t = !1 } = {}) {
|
|
1066
1073
|
return t ? /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: [
|
|
1067
1074
|
/* @__PURE__ */ e("path", { opacity: ".4", 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.49H3.01Z" }),
|
|
1068
1075
|
/* @__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 12ZM18.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" })
|
|
@@ -1072,22 +1079,22 @@ function Kr({ duotone: t = !1 } = {}) {
|
|
|
1072
1079
|
/* @__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" })
|
|
1073
1080
|
] });
|
|
1074
1081
|
}
|
|
1075
|
-
function
|
|
1082
|
+
function Jr() {
|
|
1076
1083
|
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" }) });
|
|
1077
1084
|
}
|
|
1078
|
-
function
|
|
1085
|
+
function Qr() {
|
|
1079
1086
|
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" }) });
|
|
1080
1087
|
}
|
|
1081
|
-
function
|
|
1088
|
+
function eo() {
|
|
1082
1089
|
return /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1083
1090
|
/* @__PURE__ */ e("path", { d: "M4.05 3h1.3c.79 0 1.41.68 1.35 1.47l-.62 7.42c-.1 1.24.88 2.31 2.13 2.31h9.11c1.09 0 2.05-.9 2.13-1.99l.4-5.57a1.86 1.86 0 0 0-1.86-1.99H6.7" }),
|
|
1084
1091
|
/* @__PURE__ */ e("path", { d: "M16.3 22a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM9.2 22a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z" })
|
|
1085
1092
|
] });
|
|
1086
1093
|
}
|
|
1087
|
-
function
|
|
1094
|
+
function to() {
|
|
1088
1095
|
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" }) });
|
|
1089
1096
|
}
|
|
1090
|
-
function
|
|
1097
|
+
function no({ duotone: t = !1 } = {}) {
|
|
1091
1098
|
return t ? /* @__PURE__ */ p("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
1092
1099
|
/* @__PURE__ */ e("path", { opacity: ".4", fill: "currentColor", 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.11ZM10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z" }),
|
|
1093
1100
|
/* @__PURE__ */ e("path", { fill: "currentColor", d: "M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1Z" }),
|
|
@@ -1246,8 +1253,8 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1246
1253
|
] }),
|
|
1247
1254
|
a
|
|
1248
1255
|
] });
|
|
1249
|
-
}), pt = R(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, help: o, info: i, description: r, hint: d, error: m, prefix: h, suffix: f, trailingAction: g, mono: _, autoComplete: x, placeholder: M, required: S, disabled: v, readOnly: u, name: N, id: k, minLength: w, maxLength: y, min: $, max: b, step: C, inputMode: A, autoFocus: B, onBlur: L, onKeyDown: E, size: F = "md", className: D, ...Z },
|
|
1250
|
-
const
|
|
1256
|
+
}), pt = R(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, help: o, info: i, description: r, hint: d, error: m, prefix: h, suffix: f, trailingAction: g, mono: _, autoComplete: x, placeholder: M, required: S, disabled: v, readOnly: u, name: N, id: k, minLength: w, maxLength: y, min: $, max: b, step: C, inputMode: A, autoFocus: B, onBlur: L, onKeyDown: E, size: F = "md", className: D, ...Z }, P) {
|
|
1257
|
+
const T = ue(), W = k ?? T, [Q, q] = O(!1), oe = s === "password", ae = oe && Q ? "text" : s, Fe = m ? `${W}-err` : d ? `${W}-hint` : void 0, pe = h != null || f != null, H = s === "number" && !pe && !u, J = l === "" ? null : Number(l), ee = (le) => {
|
|
1251
1258
|
const we = Number(C ?? 1) || 1;
|
|
1252
1259
|
let ie = (J != null && Number.isFinite(J) ? J : 0) + le * we;
|
|
1253
1260
|
$ != null && (ie = Math.max(Number($), ie)), b != null && (ie = Math.min(Number(b), ie)), c(String(ie));
|
|
@@ -1318,7 +1325,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1318
1325
|
)
|
|
1319
1326
|
] })
|
|
1320
1327
|
] });
|
|
1321
|
-
return /* @__PURE__ */ p("div", { ref:
|
|
1328
|
+
return /* @__PURE__ */ p("div", { ref: P, ...Z, className: `select-field${F === "sm" ? " select-field--sm" : ""}${D ? " " + D : ""}`, children: [
|
|
1322
1329
|
(n || o || i || a) && /* @__PURE__ */ e(Rt, { htmlFor: W, label: n, help: o, info: i, action: a }),
|
|
1323
1330
|
r && /* @__PURE__ */ e("p", { className: "select-field__desc", children: r }),
|
|
1324
1331
|
g != null ? /* @__PURE__ */ p("div", { className: "select-field__control", children: [
|
|
@@ -1327,7 +1334,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1327
1334
|
] }) : Ne,
|
|
1328
1335
|
m ? /* @__PURE__ */ e("p", { id: `${W}-err`, className: "select-field__error", children: m }) : d ? /* @__PURE__ */ e("p", { id: `${W}-hint`, className: "select-field__hint", children: d }) : null
|
|
1329
1336
|
] });
|
|
1330
|
-
}),
|
|
1337
|
+
}), lo = R(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: o, className: i, ...r }, d) {
|
|
1331
1338
|
return /* @__PURE__ */ p("span", { ref: d, ...r, className: `select-checkbox-field${s ? " select-checkbox-field--disabled" : ""}${i ? " " + i : ""}`, children: [
|
|
1332
1339
|
/* @__PURE__ */ p("label", { className: "select-checkbox", children: [
|
|
1333
1340
|
/* @__PURE__ */ e(
|
|
@@ -1345,7 +1352,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1345
1352
|
] }),
|
|
1346
1353
|
a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
|
|
1347
1354
|
] });
|
|
1348
|
-
}),
|
|
1355
|
+
}), co = R(function({ label: n, value: l, onChange: c, labelAction: s, help: a, info: o, description: i, hint: r, error: d, placeholder: m, rows: h = 4, mono: f, name: g, required: _, disabled: x, maxLength: M, onBlur: S, size: v = "md", className: u, ...N }, k) {
|
|
1349
1356
|
const w = ue(), y = d ? `${w}-err` : r ? `${w}-hint` : void 0;
|
|
1350
1357
|
return /* @__PURE__ */ p("div", { ref: k, ...N, className: `select-field${v === "sm" ? " select-field--sm" : ""}${u ? " " + u : ""}`, children: [
|
|
1351
1358
|
(n || a || o || s) && /* @__PURE__ */ e(Rt, { htmlFor: w, label: n, help: a, info: o, action: s }),
|
|
@@ -1370,7 +1377,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1370
1377
|
),
|
|
1371
1378
|
d ? /* @__PURE__ */ e("p", { id: `${w}-err`, className: "select-field__error", children: d }) : r ? /* @__PURE__ */ e("p", { id: `${w}-hint`, className: "select-field__hint", children: r }) : null
|
|
1372
1379
|
] });
|
|
1373
|
-
}),
|
|
1380
|
+
}), so = R(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: o, error: i, placeholder: r = "0", disabled: d = !1, min: m, max: h, className: f, ...g }, _) {
|
|
1374
1381
|
const x = ue();
|
|
1375
1382
|
return /* @__PURE__ */ p("div", { ref: _, ...g, className: `select-field${f ? " " + f : ""}`, children: [
|
|
1376
1383
|
n && /* @__PURE__ */ e(Rt, { htmlFor: x, label: n, info: a }),
|
|
@@ -1407,7 +1414,7 @@ function al(t, n) {
|
|
|
1407
1414
|
}
|
|
1408
1415
|
return 0;
|
|
1409
1416
|
}
|
|
1410
|
-
const
|
|
1417
|
+
const ao = R(function({ label: n, value: l, onChange: c, info: s, hint: a, error: o, onBlur: i, placeholder: r = "0,00", name: d, disabled: m = !1, size: h = "md", className: f, ...g }, _) {
|
|
1411
1418
|
const x = ue(), M = X(null), S = X(null), v = l == null ? "" : sl.format(l / 100);
|
|
1412
1419
|
Qe(() => {
|
|
1413
1420
|
const N = M.current;
|
|
@@ -1471,7 +1478,7 @@ function as(t) {
|
|
|
1471
1478
|
const n = Xn(t).slice(0, 14);
|
|
1472
1479
|
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");
|
|
1473
1480
|
}
|
|
1474
|
-
function
|
|
1481
|
+
function ro({
|
|
1475
1482
|
label: t = "CPF/CNPJ",
|
|
1476
1483
|
value: n,
|
|
1477
1484
|
onChange: l,
|
|
@@ -1499,7 +1506,7 @@ function ao({
|
|
|
1499
1506
|
}
|
|
1500
1507
|
);
|
|
1501
1508
|
}
|
|
1502
|
-
const
|
|
1509
|
+
const Pt = R(function({ children: n, tone: l = "critical", title: c, action: s, className: a, ...o }, i) {
|
|
1503
1510
|
return /* @__PURE__ */ p("div", { ref: i, ...o, className: `select-alert select-alert--${l}${a ? " " + a : ""}`, role: "alert", children: [
|
|
1504
1511
|
c != null && /* @__PURE__ */ e("p", { className: "select-alert__title", children: c }),
|
|
1505
1512
|
n != null && /* @__PURE__ */ e("div", { className: "select-alert__body", children: n }),
|
|
@@ -1562,7 +1569,7 @@ function ec(t) {
|
|
|
1562
1569
|
return t;
|
|
1563
1570
|
}
|
|
1564
1571
|
}
|
|
1565
|
-
const
|
|
1572
|
+
const oo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: o, hint: i, className: r, ...d }, m) {
|
|
1566
1573
|
const h = X(null), [f, g] = O(!1), [_, x] = O(0), M = s * 1024 * 1024, S = We(() => n.map((C) => Xl(C) ? URL.createObjectURL(C) : null), [n]);
|
|
1567
1574
|
he(
|
|
1568
1575
|
() => () => {
|
|
@@ -1646,7 +1653,7 @@ const ro = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1646
1653
|
}
|
|
1647
1654
|
}
|
|
1648
1655
|
),
|
|
1649
|
-
_ > 0 && /* @__PURE__ */ p(
|
|
1656
|
+
_ > 0 && /* @__PURE__ */ p(Pt, { tone: "warning", children: [
|
|
1650
1657
|
_,
|
|
1651
1658
|
" arquivo(s) ignorado(s): tipo não permitido ou acima de ",
|
|
1652
1659
|
s,
|
|
@@ -1658,7 +1665,7 @@ const ro = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1658
1665
|
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(St, {}) }),
|
|
1659
1666
|
n
|
|
1660
1667
|
] });
|
|
1661
|
-
}),
|
|
1668
|
+
}), io = R(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: o, className: i, ...r }, d) {
|
|
1662
1669
|
const [m, h] = O(""), [f, g] = O(null), _ = s != null && l.length >= s, x = () => {
|
|
1663
1670
|
const v = m.trim();
|
|
1664
1671
|
if (v) {
|
|
@@ -1700,16 +1707,16 @@ const ro = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1700
1707
|
o != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: o })
|
|
1701
1708
|
] });
|
|
1702
1709
|
}), os = R(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: o, accept: i = ".jpg,.jpeg,.png,.webp", maxSizeMB: r = 3, maxItems: d = 10, maxFiles: m, uploadHint: h, urlPlaceholder: f, helpText: g, className: _, ...x }, M) {
|
|
1703
|
-
const S = l === "single", v = X(null), [u, N] = O(!1), [k, w] = O(0), [y, $] = O(""), [b, C] = O(null), A = S ? 1 : Math.max(1, d), B = S ? 1 : m ?? A, L = c.length + a.length, E = S ? L === 0 : L < A && c.length < B, F = S ? L === 0 : L < A, D = L > 0, Z = r * 1024 * 1024,
|
|
1710
|
+
const S = l === "single", v = X(null), [u, N] = O(!1), [k, w] = O(0), [y, $] = O(""), [b, C] = O(null), A = S ? 1 : Math.max(1, d), B = S ? 1 : m ?? A, L = c.length + a.length, E = S ? L === 0 : L < A && c.length < B, F = S ? L === 0 : L < A, D = L > 0, Z = r * 1024 * 1024, P = We(() => c.map((H) => Xl(H) ? URL.createObjectURL(H) : null), [c]);
|
|
1704
1711
|
he(
|
|
1705
1712
|
() => () => {
|
|
1706
|
-
|
|
1713
|
+
P.forEach((H) => {
|
|
1707
1714
|
H && URL.revokeObjectURL(H);
|
|
1708
1715
|
});
|
|
1709
1716
|
},
|
|
1710
|
-
[
|
|
1717
|
+
[P]
|
|
1711
1718
|
);
|
|
1712
|
-
const
|
|
1719
|
+
const T = (H) => {
|
|
1713
1720
|
const J = H.filter((be) => be.size <= Z && Kl(be, i));
|
|
1714
1721
|
if (w(H.length - J.length), !J.length) return;
|
|
1715
1722
|
if (S) {
|
|
@@ -1742,7 +1749,7 @@ const ro = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1742
1749
|
},
|
|
1743
1750
|
onDragLeave: () => N(!1),
|
|
1744
1751
|
onDrop: (H) => {
|
|
1745
|
-
H.preventDefault(), N(!1),
|
|
1752
|
+
H.preventDefault(), N(!1), T(Array.from(H.dataTransfer.files));
|
|
1746
1753
|
}
|
|
1747
1754
|
};
|
|
1748
1755
|
return /* @__PURE__ */ p("div", { ref: M, ...x, className: `select-field select-imageupload${_ ? " " + _ : ""}`, children: [
|
|
@@ -1756,7 +1763,7 @@ const ro = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1756
1763
|
c.map((H, J) => /* @__PURE__ */ e(
|
|
1757
1764
|
_n,
|
|
1758
1765
|
{
|
|
1759
|
-
src:
|
|
1766
|
+
src: P[J] ?? void 0,
|
|
1760
1767
|
docExt: Jl(H.name),
|
|
1761
1768
|
name: H.name,
|
|
1762
1769
|
sub: Yl(H.size),
|
|
@@ -1803,12 +1810,12 @@ const ro = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1803
1810
|
multiple: !S,
|
|
1804
1811
|
hidden: !0,
|
|
1805
1812
|
onChange: (H) => {
|
|
1806
|
-
|
|
1813
|
+
T(Array.from(H.target.files ?? [])), H.target.value = "";
|
|
1807
1814
|
}
|
|
1808
1815
|
}
|
|
1809
1816
|
)
|
|
1810
1817
|
] }),
|
|
1811
|
-
k > 0 && /* @__PURE__ */ p(
|
|
1818
|
+
k > 0 && /* @__PURE__ */ p(Pt, { tone: "warning", children: [
|
|
1812
1819
|
k,
|
|
1813
1820
|
" arquivo(s) ignorado(s): tipo não permitido ou acima de ",
|
|
1814
1821
|
r,
|
|
@@ -2158,7 +2165,7 @@ function _s(t) {
|
|
|
2158
2165
|
const n = t.replace(/[^\d-]/g, ""), [l = "", ...c] = n.split("-");
|
|
2159
2166
|
return c.length ? `${l}-${c.join("").replace(/\D/g, "").slice(0, 2)}` : l;
|
|
2160
2167
|
}
|
|
2161
|
-
const
|
|
2168
|
+
const ho = R(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: o, ...i }, r) {
|
|
2162
2169
|
const d = (h) => l({ ...n, ...h }), m = c.map((h) => ({ label: h.name || h.code, value: h.code }));
|
|
2163
2170
|
return /* @__PURE__ */ p("div", { ref: r, ...i, className: `select-stack${o ? " " + o : ""}`, children: [
|
|
2164
2171
|
/* @__PURE__ */ e(
|
|
@@ -2203,15 +2210,15 @@ const io = R(function({ value: n, onChange: l, banks: c = [], showType: s = !1,
|
|
|
2203
2210
|
] });
|
|
2204
2211
|
}), Jn = R(function({ checked: n, onChange: l, disabled: c = !1, label: s, className: a, ...o }, i) {
|
|
2205
2212
|
return /* @__PURE__ */ e("button", { ref: i, ...o, 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" }) });
|
|
2206
|
-
}),
|
|
2213
|
+
}), uo = R(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
|
|
2207
2214
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-togglelist${l ? " select-togglelist--scroll" : ""}${c ? " " + c : ""}`, children: n });
|
|
2208
|
-
}),
|
|
2215
|
+
}), po = R(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: o, ...i }, r) {
|
|
2209
2216
|
return /* @__PURE__ */ p("div", { ref: r, ...i, className: `select-togglerow${a ? " select-togglerow--disabled" : ""}${o ? " " + o : ""}`, children: [
|
|
2210
2217
|
n && /* @__PURE__ */ e("span", { className: "select-togglerow__icon", children: n }),
|
|
2211
2218
|
/* @__PURE__ */ e("span", { className: "select-togglerow__label", children: l }),
|
|
2212
2219
|
/* @__PURE__ */ e(Jn, { checked: c, onChange: s, disabled: a, label: typeof l == "string" ? l : void 0 })
|
|
2213
2220
|
] });
|
|
2214
|
-
}),
|
|
2221
|
+
}), mo = R(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: o = !1, className: i, ...r }, d) {
|
|
2215
2222
|
return /* @__PURE__ */ p("div", { ref: d, ...r, className: `select-togglepanel${c ? " is-on" : ""}${i ? " " + i : ""}`, children: [
|
|
2216
2223
|
/* @__PURE__ */ p("div", { className: "select-togglepanel__header", children: [
|
|
2217
2224
|
/* @__PURE__ */ e(Jn, { checked: c, onChange: s, disabled: o, label: typeof l == "string" ? l : void 0 }),
|
|
@@ -2334,7 +2341,7 @@ function $s(t) {
|
|
|
2334
2341
|
var n;
|
|
2335
2342
|
return ((n = sc.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
|
|
2336
2343
|
}
|
|
2337
|
-
const
|
|
2344
|
+
const fo = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: o, onBlur: i, placeholder: r, className: d, ...m }, h) {
|
|
2338
2345
|
const f = ue(), g = $s(l.country), _ = o ? `${f}-err` : a ? `${f}-hint` : void 0;
|
|
2339
2346
|
return /* @__PURE__ */ p("div", { ref: h, ...m, className: `select-field${d ? " " + d : ""}`, children: [
|
|
2340
2347
|
/* @__PURE__ */ p("div", { className: "select-field__labelrow", children: [
|
|
@@ -2384,7 +2391,7 @@ const mo = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2384
2391
|
] }),
|
|
2385
2392
|
o ? /* @__PURE__ */ e("p", { id: `${f}-err`, className: "select-field__error", children: o }) : a ? /* @__PURE__ */ e("p", { id: `${f}-hint`, className: "select-field__hint", children: a }) : null
|
|
2386
2393
|
] });
|
|
2387
|
-
}),
|
|
2394
|
+
}), _o = R(function({ value: n, onChange: l, options: c, name: s, className: a, ...o }, i) {
|
|
2388
2395
|
const r = ue(), d = s ?? r;
|
|
2389
2396
|
return /* @__PURE__ */ e("div", { ref: i, ...o, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((m) => {
|
|
2390
2397
|
const h = m.value === n;
|
|
@@ -2416,7 +2423,7 @@ const mo = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2416
2423
|
m.value
|
|
2417
2424
|
);
|
|
2418
2425
|
}) });
|
|
2419
|
-
}),
|
|
2426
|
+
}), vo = R(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: o, ...i }, r) {
|
|
2420
2427
|
const d = Math.max(0, c.findIndex((_) => _.value === n)), m = X([]), [h, f] = O(null);
|
|
2421
2428
|
Qe(() => {
|
|
2422
2429
|
const _ = m.current[d];
|
|
@@ -2477,7 +2484,7 @@ const mo = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2477
2484
|
chargeback: { label: "Chargeback", tone: "critical" },
|
|
2478
2485
|
dispute: { label: "Em disputa", tone: "critical" }
|
|
2479
2486
|
};
|
|
2480
|
-
function
|
|
2487
|
+
function go({
|
|
2481
2488
|
status: t,
|
|
2482
2489
|
map: n = Ss,
|
|
2483
2490
|
size: l
|
|
@@ -2522,7 +2529,7 @@ function rc({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
|
|
|
2522
2529
|
))
|
|
2523
2530
|
] }, m)) });
|
|
2524
2531
|
}
|
|
2525
|
-
function
|
|
2532
|
+
function bo({
|
|
2526
2533
|
items: t,
|
|
2527
2534
|
label: n = "Ações",
|
|
2528
2535
|
disabled: l
|
|
@@ -2607,7 +2614,7 @@ function qt({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s =
|
|
|
2607
2614
|
};
|
|
2608
2615
|
return /* @__PURE__ */ e(r, { ...i, className: kn("select-inline", o), style: d, children: t });
|
|
2609
2616
|
}
|
|
2610
|
-
function
|
|
2617
|
+
function xo({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: o, ...i }) {
|
|
2611
2618
|
const r = a, d = {
|
|
2612
2619
|
"--select-grid-columns": typeof n == "number" ? `repeat(${n}, minmax(0, 1fr))` : n,
|
|
2613
2620
|
gap: wt[l],
|
|
@@ -2705,7 +2712,7 @@ function hl(t) {
|
|
|
2705
2712
|
var n;
|
|
2706
2713
|
return ((n = oc(t)) == null ? void 0 : n.file) ?? null;
|
|
2707
2714
|
}
|
|
2708
|
-
function
|
|
2715
|
+
function yo({
|
|
2709
2716
|
method: t,
|
|
2710
2717
|
cardBrand: n,
|
|
2711
2718
|
/** Chip height in px; width is derived to a card aspect ratio (1.2). Default 24×29. */
|
|
@@ -2820,7 +2827,7 @@ function ul(t) {
|
|
|
2820
2827
|
for (let c = 1; c < n.length; c++) l.push(n.slice(0, c).join(Wn));
|
|
2821
2828
|
return l;
|
|
2822
2829
|
}
|
|
2823
|
-
const
|
|
2830
|
+
const Ps = (t) => t instanceof Date || t instanceof RegExp || t instanceof Map || t instanceof Set;
|
|
2824
2831
|
function dc(t) {
|
|
2825
2832
|
if (t == null) return "null";
|
|
2826
2833
|
if (Array.isArray(t)) return "array";
|
|
@@ -2833,7 +2840,7 @@ function dc(t) {
|
|
|
2833
2840
|
case "boolean":
|
|
2834
2841
|
return "boolean";
|
|
2835
2842
|
case "object":
|
|
2836
|
-
return
|
|
2843
|
+
return Ps(t) ? "other" : "object";
|
|
2837
2844
|
default:
|
|
2838
2845
|
return "other";
|
|
2839
2846
|
}
|
|
@@ -2855,7 +2862,7 @@ function pl(t) {
|
|
|
2855
2862
|
const n = en(t), l = Array.isArray(t);
|
|
2856
2863
|
return n === 0 ? l ? "[]" : "{}" : l ? `[${n} ${n === 1 ? "item" : "itens"}]` : `{${n} ${n === 1 ? "chave" : "chaves"}}`;
|
|
2857
2864
|
}
|
|
2858
|
-
function
|
|
2865
|
+
function Ts(t) {
|
|
2859
2866
|
if (typeof t != "string") return t;
|
|
2860
2867
|
const n = t.trim();
|
|
2861
2868
|
if (!n.startsWith("{") && !n.startsWith("[")) return t;
|
|
@@ -3057,8 +3064,8 @@ function Ks({ text: t, term: n }) {
|
|
|
3057
3064
|
const l = We(() => t.length > qs ? null : Vs(t), [t]);
|
|
3058
3065
|
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(vn, { text: c.text, term: n }) }, s)) }) : /* @__PURE__ */ e("pre", { className: "select-json__pre", children: /* @__PURE__ */ e(vn, { text: t, term: n }) });
|
|
3059
3066
|
}
|
|
3060
|
-
const
|
|
3061
|
-
const [h, f] = O(s), [g, _] = O("tree"), [x, M] = O(""), [S, v] = O(/* @__PURE__ */ new Set()), [u, N] = Ys(), k = X(null), w = We(() =>
|
|
3067
|
+
const No = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: o = !0, emptyLabel: i = "Sem dados", className: r, ...d }, m) {
|
|
3068
|
+
const [h, f] = O(s), [g, _] = O("tree"), [x, M] = O(""), [S, v] = O(/* @__PURE__ */ new Set()), [u, N] = Ys(), k = X(null), w = We(() => Ts(n), [n]), y = Ds(w), $ = We(
|
|
3062
3069
|
() => typeof n == "string" && w === n ? n : uc(w),
|
|
3063
3070
|
[n, w]
|
|
3064
3071
|
), b = We(() => Kt(w, () => {
|
|
@@ -3076,13 +3083,13 @@ const yo = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3076
3083
|
const q = new Set(Q);
|
|
3077
3084
|
return q.delete(W) || q.add(W), q;
|
|
3078
3085
|
});
|
|
3079
|
-
}, []), D = A.length > 0 && A.every((W) => S.has(W)), Z = () => v(D ? /* @__PURE__ */ new Set() : new Set(A)),
|
|
3086
|
+
}, []), D = A.length > 0 && A.every((W) => S.has(W)), Z = () => v(D ? /* @__PURE__ */ new Set() : new Set(A)), P = { expanded: S, toggle: F, search: x, result: B, copied: u, copy: N }, T = h && !y;
|
|
3080
3087
|
return /* @__PURE__ */ p("div", { ref: m, ...d, className: `select-json${r ? " " + r : ""}`, children: [
|
|
3081
3088
|
/* @__PURE__ */ p("div", { className: "select-json__head", children: [
|
|
3082
3089
|
/* @__PURE__ */ e(kt, { as: "h2", variant: "headingSm", children: l }),
|
|
3083
|
-
/* @__PURE__ */ e(Is, { open:
|
|
3090
|
+
/* @__PURE__ */ e(Is, { open: T, onToggle: () => f((W) => !W), openLabel: "Ocultar", disabled: y, children: y ? i : "Mostrar" })
|
|
3084
3091
|
] }),
|
|
3085
|
-
|
|
3092
|
+
T && /* @__PURE__ */ p("div", { className: "select-json__body", children: [
|
|
3086
3093
|
/* @__PURE__ */ p("div", { className: "select-json__toolbar", children: [
|
|
3087
3094
|
o ? /* @__PURE__ */ p(ve, { children: [
|
|
3088
3095
|
/* @__PURE__ */ e("span", { className: "select-json__searchicon", "aria-hidden": "true", children: /* @__PURE__ */ e(qn, {}) }),
|
|
@@ -3135,7 +3142,7 @@ const yo = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3135
3142
|
"Nenhuma chave ou valor corresponde a “",
|
|
3136
3143
|
x.trim(),
|
|
3137
3144
|
"”."
|
|
3138
|
-
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: ht(w) ? /* @__PURE__ */ e(mc, { value: w, path: "", depth: 0, ancestors: [w], ctx:
|
|
3145
|
+
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: ht(w) ? /* @__PURE__ */ e(mc, { value: w, path: "", depth: 0, ancestors: [w], ctx: P }) : /* @__PURE__ */ p("div", { className: "select-json__row", style: { "--json-depth": 0 }, children: [
|
|
3139
3146
|
/* @__PURE__ */ e("span", { className: "select-json__caret select-json__caret--empty", "aria-hidden": "true" }),
|
|
3140
3147
|
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(pc, { value: w, term: x, forceFull: !0 }) })
|
|
3141
3148
|
] }) }) : /* @__PURE__ */ e(Ks, { text: $, term: x }) })
|
|
@@ -3147,7 +3154,7 @@ const yo = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3147
3154
|
warning: "var(--select-warning-text)",
|
|
3148
3155
|
info: "var(--select-info-text)",
|
|
3149
3156
|
default: "var(--select-text-secondary)"
|
|
3150
|
-
},
|
|
3157
|
+
}, Mo = R(function({ items: n, className: l, ...c }, s) {
|
|
3151
3158
|
var i;
|
|
3152
3159
|
const a = n.length ? ((i = n[0]) == null ? void 0 : i.tone) ?? "default" : "default", o = { "--tl-final": Xs[a] };
|
|
3153
3160
|
return /* @__PURE__ */ e("ul", { ref: s, ...c, className: `select-timeline${l ? " " + l : ""}`, style: o, children: n.map((r, d) => /* @__PURE__ */ p("li", { className: "select-timeline__item", children: [
|
|
@@ -3163,18 +3170,18 @@ const yo = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3163
3170
|
] }, d)) });
|
|
3164
3171
|
}), Js = R(function({ children: n, onClick: l, disabled: c = !1, tone: s = "default", className: a, ...o }, i) {
|
|
3165
3172
|
return /* @__PURE__ */ e("button", { ref: i, ...o, type: "button", className: `select-linkbtn${s === "critical" ? " select-linkbtn--critical" : ""}${a ? " " + a : ""}`, onClick: l, disabled: c, children: n });
|
|
3166
|
-
}),
|
|
3173
|
+
}), wo = R(function({ children: n, className: l, ...c }, s) {
|
|
3167
3174
|
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 });
|
|
3168
3175
|
}), Qs = R(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: o, ...i }, r) {
|
|
3169
3176
|
var m, h;
|
|
3170
3177
|
const d = ((h = (m = n == null ? void 0 : n.trim()) == null ? void 0 : m[0]) == null ? void 0 : h.toUpperCase()) ?? "?";
|
|
3171
3178
|
return /* @__PURE__ */ e("span", { ref: r, ...i, className: `select-avatar${s ? " select-avatar--dashed" : ""}${a ? " select-avatar--round" : ""}${o ? " " + o : ""}`, "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: d }) });
|
|
3172
3179
|
});
|
|
3173
|
-
function
|
|
3180
|
+
function ko({ children: t, className: n, ...l }) {
|
|
3174
3181
|
const c = wn({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
3175
3182
|
return /* @__PURE__ */ e("div", { ...l, className: `select-optionlist${n ? " " + n : ""}`, ref: c, children: t });
|
|
3176
3183
|
}
|
|
3177
|
-
function
|
|
3184
|
+
function $o({
|
|
3178
3185
|
title: t,
|
|
3179
3186
|
subtitle: n,
|
|
3180
3187
|
leading: l,
|
|
@@ -3192,7 +3199,7 @@ function ko({
|
|
|
3192
3199
|
] }), d = `select-optionrow${a ? " select-optionrow--muted" : ""}`;
|
|
3193
3200
|
return o ? /* @__PURE__ */ e("button", { type: "button", className: d, onClick: s, children: r }) : /* @__PURE__ */ e("div", { className: d, children: r });
|
|
3194
3201
|
}
|
|
3195
|
-
const
|
|
3202
|
+
const So = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...o }, i) {
|
|
3196
3203
|
return /* @__PURE__ */ p("span", { ref: i, ...o, className: `select-identity${a ? " " + a : ""}`, children: [
|
|
3197
3204
|
/* @__PURE__ */ p("span", { className: "select-identity__text", children: [
|
|
3198
3205
|
s,
|
|
@@ -3201,7 +3208,7 @@ const $o = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
3201
3208
|
] }),
|
|
3202
3209
|
l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
|
|
3203
3210
|
] });
|
|
3204
|
-
}),
|
|
3211
|
+
}), Co = R(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: o = !1, className: i, ...r }, d) {
|
|
3205
3212
|
const m = X([]), h = Array.from({ length: c }, (v, u) => n[u] ?? ""), f = (v) => {
|
|
3206
3213
|
var u;
|
|
3207
3214
|
return (u = m.current[v]) == null ? void 0 : u.focus();
|
|
@@ -3258,7 +3265,7 @@ const $o = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
3258
3265
|
u
|
|
3259
3266
|
)) });
|
|
3260
3267
|
});
|
|
3261
|
-
function
|
|
3268
|
+
function Lo({
|
|
3262
3269
|
children: t = "Voltar",
|
|
3263
3270
|
onClick: n,
|
|
3264
3271
|
href: l
|
|
@@ -3269,7 +3276,7 @@ function Co({
|
|
|
3269
3276
|
] });
|
|
3270
3277
|
return l ? /* @__PURE__ */ e("a", { className: "select-backlink", href: l, children: c }) : /* @__PURE__ */ e("button", { type: "button", className: "select-backlink", onClick: n, children: c });
|
|
3271
3278
|
}
|
|
3272
|
-
const
|
|
3279
|
+
const Ao = R(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, o) {
|
|
3273
3280
|
const [i, r] = O(l);
|
|
3274
3281
|
he(() => {
|
|
3275
3282
|
if (i <= 0) return;
|
|
@@ -3292,7 +3299,7 @@ function ea(t) {
|
|
|
3292
3299
|
let n = 0;
|
|
3293
3300
|
return t.length >= 8 && n++, t.length >= 12 && n++, /[a-z]/.test(t) && /[A-Z]/.test(t) && n++, /\d/.test(t) && /[^A-Za-z0-9]/.test(t) && n++, Math.min(n, 4);
|
|
3294
3301
|
}
|
|
3295
|
-
const
|
|
3302
|
+
const Eo = R(function({ value: n, className: l, ...c }, s) {
|
|
3296
3303
|
const a = ea(n), o = _l[a] ?? _l[0];
|
|
3297
3304
|
return /* @__PURE__ */ p("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
|
|
3298
3305
|
/* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${o.cls}`, children: [0, 1, 2, 3].map((i) => /* @__PURE__ */ e("span", { className: `select-strength__bar${i < a ? " is-on" : ""}` }, i)) }),
|
|
@@ -3363,7 +3370,7 @@ function la({ children: t }) {
|
|
|
3363
3370
|
function ca({ children: t, columns: n = 2 }) {
|
|
3364
3371
|
return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
|
|
3365
3372
|
}
|
|
3366
|
-
const
|
|
3373
|
+
const Bo = Object.assign(la, { Group: ca });
|
|
3367
3374
|
function vl({ lines: t = 3 }) {
|
|
3368
3375
|
return /* @__PURE__ */ e("div", { className: "select-skel-body", children: Array.from({ length: Math.max(1, t) }, (n, l) => /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-line" }, l)) });
|
|
3369
3376
|
}
|
|
@@ -3376,7 +3383,7 @@ function aa({ size: t = "medium" }) {
|
|
|
3376
3383
|
function ra({ height: t = 240 }) {
|
|
3377
3384
|
return /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-block", style: { height: t } });
|
|
3378
3385
|
}
|
|
3379
|
-
const
|
|
3386
|
+
const Fo = Object.assign(
|
|
3380
3387
|
function({ lines: n }) {
|
|
3381
3388
|
return /* @__PURE__ */ e(vl, { lines: n });
|
|
3382
3389
|
},
|
|
@@ -3391,15 +3398,15 @@ function ia({
|
|
|
3391
3398
|
const s = ["select-icon", l !== "inherit" && l !== "base" ? `select-icon--${l}` : ""].filter(Boolean).join(" "), a = oa[c] ?? c;
|
|
3392
3399
|
return /* @__PURE__ */ e("span", { className: s, style: { "--select-icon-size": a }, "aria-hidden": "true", children: t ? /* @__PURE__ */ e(t, {}) : n });
|
|
3393
3400
|
}
|
|
3394
|
-
const
|
|
3401
|
+
const Io = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, o) {
|
|
3395
3402
|
const i = l === "warning" || l === "critical" ? /* @__PURE__ */ e(qc, {}) : /* @__PURE__ */ e(Mn, {});
|
|
3396
3403
|
return /* @__PURE__ */ p("div", { ref: o, ...a, className: `select-note select-note--${l}${s ? " " + s : ""}`, children: [
|
|
3397
3404
|
!c && /* @__PURE__ */ e("span", { className: "select-note__icon", children: i }),
|
|
3398
3405
|
/* @__PURE__ */ e("span", { className: "select-note__body", children: n })
|
|
3399
3406
|
] });
|
|
3400
|
-
}),
|
|
3407
|
+
}), Ro = R(function({ children: n, className: l, ...c }, s) {
|
|
3401
3408
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-settinglist${l ? " " + l : ""}`, children: n });
|
|
3402
|
-
}),
|
|
3409
|
+
}), Po = R(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: o, className: i, ...r }, d) {
|
|
3403
3410
|
return /* @__PURE__ */ p("div", { ref: d, ...r, className: `select-setting${i ? " " + i : ""}`, children: [
|
|
3404
3411
|
n && /* @__PURE__ */ e("div", { className: "select-setting__control", children: n }),
|
|
3405
3412
|
/* @__PURE__ */ p("div", { className: "select-setting__main", children: [
|
|
@@ -3429,7 +3436,7 @@ const Fo = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3429
3436
|
a && /* @__PURE__ */ e("div", { className: `select-panel__body${i ? " select-panel__body--flush" : ""}`, children: a }),
|
|
3430
3437
|
s && /* @__PURE__ */ e("div", { className: "select-panel__footer", children: s })
|
|
3431
3438
|
] });
|
|
3432
|
-
}),
|
|
3439
|
+
}), Do = R(function({ title: n, help: l, description: c, action: s, collapsible: a = !1, defaultOpen: o = !0, children: i, className: r, ...d }, m) {
|
|
3433
3440
|
const [h, f] = O(o);
|
|
3434
3441
|
return a ? /* @__PURE__ */ p("div", { ref: m, ...d, className: `select-section select-section--collapsible${h ? " is-open" : ""}${r ? " " + r : ""}`, children: [
|
|
3435
3442
|
/* @__PURE__ */ p("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": h, onClick: () => f((g) => !g), children: [
|
|
@@ -3451,7 +3458,7 @@ const Fo = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3451
3458
|
/* @__PURE__ */ e("div", { className: "select-section__body", children: i })
|
|
3452
3459
|
] });
|
|
3453
3460
|
});
|
|
3454
|
-
function
|
|
3461
|
+
function Oo({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
3455
3462
|
const o = X(null), [i, r] = O({ left: 0, width: 0 });
|
|
3456
3463
|
Qe(() => {
|
|
3457
3464
|
const m = o.current;
|
|
@@ -3554,7 +3561,7 @@ function da({
|
|
|
3554
3561
|
] }) })
|
|
3555
3562
|
] });
|
|
3556
3563
|
}
|
|
3557
|
-
const
|
|
3564
|
+
const Wo = R(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...o }, i) {
|
|
3558
3565
|
return /* @__PURE__ */ p("nav", { ref: i, ...o, className: `select-sidenav${a ? " " + a : ""}`, children: [
|
|
3559
3566
|
s && /* @__PURE__ */ e("div", { className: "select-sidenav__header", children: s }),
|
|
3560
3567
|
n.map((r, d) => /* @__PURE__ */ p("div", { className: "select-sidenav__section", children: [
|
|
@@ -3628,7 +3635,7 @@ const Oo = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3628
3635
|
] }) }),
|
|
3629
3636
|
s && /* @__PURE__ */ e("div", { className: "select-table__footer", children: s })
|
|
3630
3637
|
] });
|
|
3631
|
-
}),
|
|
3638
|
+
}), Ho = R(function({ name: n, secondary: l, src: c, className: s, ...a }, o) {
|
|
3632
3639
|
return /* @__PURE__ */ p("span", { ref: o, ...a, className: `select-usercell${s ? " " + s : ""}`, children: [
|
|
3633
3640
|
/* @__PURE__ */ e(Qs, { name: typeof n == "string" ? n : void 0, src: c }),
|
|
3634
3641
|
/* @__PURE__ */ p("span", { className: "select-usercell__text", children: [
|
|
@@ -3657,7 +3664,7 @@ const bl = R(function({ children: n, align: l = "start", className: c, ...s }, a
|
|
|
3657
3664
|
/* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
|
|
3658
3665
|
c && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: c })
|
|
3659
3666
|
] });
|
|
3660
|
-
}),
|
|
3667
|
+
}), jo = R(function({ children: n, href: l, icon: c, trailing: s, external: a, tone: o = "default", className: i, ...r }, d) {
|
|
3661
3668
|
const m = a ?? /^(https?:|mailto:|tel:)/i.test(l), h = s ?? (m ? /* @__PURE__ */ e(Yn, {}) : void 0);
|
|
3662
3669
|
return /* @__PURE__ */ p(
|
|
3663
3670
|
"a",
|
|
@@ -3677,10 +3684,10 @@ const bl = R(function({ children: n, align: l = "start", className: c, ...s }, a
|
|
|
3677
3684
|
}
|
|
3678
3685
|
);
|
|
3679
3686
|
});
|
|
3680
|
-
function
|
|
3687
|
+
function Zo({ children: t }) {
|
|
3681
3688
|
return /* @__PURE__ */ e("div", { className: "select-menu__heading", children: t });
|
|
3682
3689
|
}
|
|
3683
|
-
function
|
|
3690
|
+
function Vo() {
|
|
3684
3691
|
return /* @__PURE__ */ e("div", { className: "select-menu__divider", role: "separator" });
|
|
3685
3692
|
}
|
|
3686
3693
|
const fa = R(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, o) {
|
|
@@ -3688,12 +3695,12 @@ const fa = R(function({ children: n, onClick: l, active: c = !1, className: s, .
|
|
|
3688
3695
|
/* @__PURE__ */ e("span", { children: n }),
|
|
3689
3696
|
/* @__PURE__ */ e("span", { className: "select-menubtn__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(je, {}) })
|
|
3690
3697
|
] });
|
|
3691
|
-
}),
|
|
3698
|
+
}), Go = R(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, o) {
|
|
3692
3699
|
return /* @__PURE__ */ p("button", { ref: o, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
|
|
3693
3700
|
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(St, {}) }),
|
|
3694
3701
|
n
|
|
3695
3702
|
] });
|
|
3696
|
-
}),
|
|
3703
|
+
}), Uo = R(function({ label: n, value: l, href: c, onCopy: s, className: a, ...o }, i) {
|
|
3697
3704
|
return /* @__PURE__ */ p("div", { ref: i, ...o, className: `select-copyrow${a ? " " + a : ""}`, children: [
|
|
3698
3705
|
n && /* @__PURE__ */ e("span", { className: "select-copyrow__label", children: n }),
|
|
3699
3706
|
/* @__PURE__ */ p("div", { className: "select-copyrow__value", children: [
|
|
@@ -3705,7 +3712,7 @@ const fa = R(function({ children: n, onClick: l, active: c = !1, className: s, .
|
|
|
3705
3712
|
] })
|
|
3706
3713
|
] });
|
|
3707
3714
|
});
|
|
3708
|
-
function
|
|
3715
|
+
function qo({
|
|
3709
3716
|
value: t,
|
|
3710
3717
|
children: n,
|
|
3711
3718
|
truncate: l,
|
|
@@ -3738,7 +3745,7 @@ function Uo({
|
|
|
3738
3745
|
) })
|
|
3739
3746
|
] });
|
|
3740
3747
|
}
|
|
3741
|
-
const
|
|
3748
|
+
const zo = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...o }, i) {
|
|
3742
3749
|
const [r, d] = O(c);
|
|
3743
3750
|
return /* @__PURE__ */ p("div", { ref: i, ...o, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${r ? " is-open" : ""}${a ? " " + a : ""}`, children: [
|
|
3744
3751
|
/* @__PURE__ */ p("button", { type: "button", className: "select-collapsible__header", onClick: () => d((m) => !m), "aria-expanded": r, children: [
|
|
@@ -3747,7 +3754,7 @@ const qo = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3747
3754
|
] }),
|
|
3748
3755
|
/* @__PURE__ */ e("div", { className: "select-collapsible__bodywrap", children: /* @__PURE__ */ e("div", { className: "select-collapsible__bodyclip", "aria-hidden": !r, children: /* @__PURE__ */ e("div", { className: "select-collapsible__body", children: l }) }) })
|
|
3749
3756
|
] });
|
|
3750
|
-
}),
|
|
3757
|
+
}), Yo = R(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: o, ...i }, r) {
|
|
3751
3758
|
return /* @__PURE__ */ p("div", { ref: r, ...i, className: `select-actioncard${o ? " " + o : ""}`, children: [
|
|
3752
3759
|
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e($t, {}), label: "Dispensar", onClick: a }) }),
|
|
3753
3760
|
n && /* @__PURE__ */ e("span", { className: "select-actioncard__icon", children: n }),
|
|
@@ -3757,7 +3764,7 @@ const qo = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3757
3764
|
] }),
|
|
3758
3765
|
s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
|
|
3759
3766
|
] });
|
|
3760
|
-
}),
|
|
3767
|
+
}), Ko = R(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: o = !0, onClick: i, className: r, ...d }, m) {
|
|
3761
3768
|
return /* @__PURE__ */ p("button", { ref: m, ...d, type: "button", className: `select-tile${r ? " " + r : ""}`, onClick: i, children: [
|
|
3762
3769
|
o && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
|
|
3763
3770
|
/* @__PURE__ */ p("div", { className: "select-tile__main", children: [
|
|
@@ -3772,12 +3779,12 @@ const qo = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3772
3779
|
] }),
|
|
3773
3780
|
a && /* @__PURE__ */ e("div", { className: "select-tile__meta", children: a })
|
|
3774
3781
|
] });
|
|
3775
|
-
}),
|
|
3782
|
+
}), Xo = R(function({ label: n, onClick: l, className: c, ...s }, a) {
|
|
3776
3783
|
return /* @__PURE__ */ p("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
|
|
3777
3784
|
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(St, {}) }),
|
|
3778
3785
|
/* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
|
|
3779
3786
|
] });
|
|
3780
|
-
}),
|
|
3787
|
+
}), Jo = R(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...o }, i) {
|
|
3781
3788
|
return /* @__PURE__ */ p("button", { ref: i, ...o, type: "button", className: `select-wsswitcher${a ? " " + a : ""}`, onClick: s, "aria-haspopup": "menu", children: [
|
|
3782
3789
|
n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
|
|
3783
3790
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
|
|
@@ -3862,7 +3869,7 @@ function $n({
|
|
|
3862
3869
|
document.body
|
|
3863
3870
|
);
|
|
3864
3871
|
}
|
|
3865
|
-
function
|
|
3872
|
+
function Qo({ actions: t, label: n = "Ações" }) {
|
|
3866
3873
|
const [l, c] = O(!1);
|
|
3867
3874
|
return /* @__PURE__ */ e(
|
|
3868
3875
|
dt,
|
|
@@ -3885,7 +3892,7 @@ function Jo({ actions: t, label: n = "Ações" }) {
|
|
|
3885
3892
|
}
|
|
3886
3893
|
);
|
|
3887
3894
|
}
|
|
3888
|
-
function
|
|
3895
|
+
function e1({
|
|
3889
3896
|
open: t,
|
|
3890
3897
|
onClose: n,
|
|
3891
3898
|
onConfirm: l,
|
|
@@ -3923,7 +3930,7 @@ function Qo({
|
|
|
3923
3930
|
}
|
|
3924
3931
|
);
|
|
3925
3932
|
}
|
|
3926
|
-
function
|
|
3933
|
+
function t1({
|
|
3927
3934
|
open: t,
|
|
3928
3935
|
onClose: n,
|
|
3929
3936
|
onSubmit: l,
|
|
@@ -3964,7 +3971,7 @@ function e1({
|
|
|
3964
3971
|
)
|
|
3965
3972
|
] }),
|
|
3966
3973
|
children: [
|
|
3967
|
-
h != null && h !== !1 && /* @__PURE__ */ e("div", { className: "select-formmodal__error", children: /* @__PURE__ */ e(
|
|
3974
|
+
h != null && h !== !1 && /* @__PURE__ */ e("div", { className: "select-formmodal__error", children: /* @__PURE__ */ e(Pt, { tone: "critical", children: h }) }),
|
|
3968
3975
|
/* @__PURE__ */ e(
|
|
3969
3976
|
"form",
|
|
3970
3977
|
{
|
|
@@ -4039,7 +4046,7 @@ const ba = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
|
|
|
4039
4046
|
] }),
|
|
4040
4047
|
N != null && /* @__PURE__ */ e("p", { className: "select-pagination__count", children: N })
|
|
4041
4048
|
] });
|
|
4042
|
-
}),
|
|
4049
|
+
}), n1 = "9.5rem", Hn = "select-datatable:hidden-cols:";
|
|
4043
4050
|
function xa(t) {
|
|
4044
4051
|
try {
|
|
4045
4052
|
const n = localStorage.getItem(Hn + t), l = n ? JSON.parse(n) : null;
|
|
@@ -4058,7 +4065,7 @@ function xl(t) {
|
|
|
4058
4065
|
return t.hideable ?? !!t.title;
|
|
4059
4066
|
}
|
|
4060
4067
|
const yl = "select-datatable:page-size:";
|
|
4061
|
-
function
|
|
4068
|
+
function l1(t, n, l) {
|
|
4062
4069
|
const [c, s] = O(() => {
|
|
4063
4070
|
try {
|
|
4064
4071
|
const o = Number(localStorage.getItem(yl + t));
|
|
@@ -4079,7 +4086,7 @@ function Na(t, n, l) {
|
|
|
4079
4086
|
const c = t == null || t === "", s = n == null || n === "";
|
|
4080
4087
|
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" });
|
|
4081
4088
|
}
|
|
4082
|
-
function
|
|
4089
|
+
function c1({
|
|
4083
4090
|
columns: t,
|
|
4084
4091
|
items: n,
|
|
4085
4092
|
getId: l,
|
|
@@ -4093,28 +4100,28 @@ function l1({
|
|
|
4093
4100
|
filters: m,
|
|
4094
4101
|
columnsKey: h
|
|
4095
4102
|
}) {
|
|
4096
|
-
const [f, g] = O(() => h ? xa(h) : []), [_, x] = O(!1), [M, S] = O(!1), v = We(() => new Set(f), [f]), u = t.filter(xl), N = u.length > 0 && u.every((
|
|
4097
|
-
g((
|
|
4098
|
-
const W = !
|
|
4099
|
-
return h && ya(h, Q), W && b((q) => q && q.key ===
|
|
4103
|
+
const [f, g] = O(() => h ? xa(h) : []), [_, x] = O(!1), [M, S] = O(!1), v = We(() => new Set(f), [f]), u = t.filter(xl), N = u.length > 0 && u.every((P) => v.has(P.key)), k = (P) => !N && v.has(P.key) && xl(P), w = t.filter((P) => !k(P)), y = u.filter((P) => !k(P)), [$, b] = O(null), C = (P) => {
|
|
4104
|
+
g((T) => {
|
|
4105
|
+
const W = !T.includes(P.key), Q = W ? [...T, P.key] : T.filter((q) => q !== P.key);
|
|
4106
|
+
return h && ya(h, Q), W && b((q) => q && q.key === P.key ? null : q), Q;
|
|
4100
4107
|
});
|
|
4101
|
-
}, A = (
|
|
4102
|
-
b((
|
|
4103
|
-
const W =
|
|
4104
|
-
return !
|
|
4108
|
+
}, A = (P) => {
|
|
4109
|
+
b((T) => {
|
|
4110
|
+
const W = P.sortDefault ?? "asc";
|
|
4111
|
+
return !T || T.key !== P.key ? { key: P.key, dir: W } : T.dir === W ? { key: P.key, dir: W === "asc" ? "desc" : "asc" } : null;
|
|
4105
4112
|
});
|
|
4106
|
-
}, B = $ ? t.find((
|
|
4107
|
-
const
|
|
4108
|
-
if (!$ || !
|
|
4109
|
-
const
|
|
4110
|
-
return [...n].sort((W, Q) => Na(
|
|
4111
|
-
}, [n, $, B]), E = w.map((
|
|
4112
|
-
label:
|
|
4113
|
-
align:
|
|
4114
|
-
width:
|
|
4115
|
-
sortable: !!
|
|
4116
|
-
sortDir: ($ == null ? void 0 : $.key) ===
|
|
4117
|
-
onSort:
|
|
4113
|
+
}, B = $ ? t.find((P) => P.key === $.key) : void 0, L = We(() => {
|
|
4114
|
+
const P = B == null ? void 0 : B.sortValue;
|
|
4115
|
+
if (!$ || !P) return n;
|
|
4116
|
+
const T = $.dir === "asc" ? 1 : -1;
|
|
4117
|
+
return [...n].sort((W, Q) => Na(P(W), P(Q), T));
|
|
4118
|
+
}, [n, $, B]), E = w.map((P) => ({
|
|
4119
|
+
label: P.title,
|
|
4120
|
+
align: P.align,
|
|
4121
|
+
width: P.width,
|
|
4122
|
+
sortable: !!P.sortValue,
|
|
4123
|
+
sortDir: ($ == null ? void 0 : $.key) === P.key ? $.dir : null,
|
|
4124
|
+
onSort: P.sortValue ? () => A(P) : void 0
|
|
4118
4125
|
})), F = !c && s ? /* @__PURE__ */ e(ua, { icon: s.icon, title: s.heading, subtitle: s.text, action: s.action }) : void 0, D = h && u.length > 0 ? /* @__PURE__ */ e(
|
|
4119
4126
|
dt,
|
|
4120
4127
|
{
|
|
@@ -4130,26 +4137,26 @@ function l1({
|
|
|
4130
4137
|
size: "sm",
|
|
4131
4138
|
active: _,
|
|
4132
4139
|
"aria-expanded": _,
|
|
4133
|
-
onClick: () => x((
|
|
4140
|
+
onClick: () => x((P) => !P)
|
|
4134
4141
|
}
|
|
4135
4142
|
),
|
|
4136
|
-
children: /* @__PURE__ */ e("div", { className: "select-facet__panel", children: /* @__PURE__ */ e("div", { className: "select-facet__options", role: "menu", children: u.map((
|
|
4137
|
-
const
|
|
4143
|
+
children: /* @__PURE__ */ e("div", { className: "select-facet__panel", children: /* @__PURE__ */ e("div", { className: "select-facet__options", role: "menu", children: u.map((P) => {
|
|
4144
|
+
const T = !k(P), W = T && y.length === 1;
|
|
4138
4145
|
return /* @__PURE__ */ p(
|
|
4139
4146
|
"button",
|
|
4140
4147
|
{
|
|
4141
4148
|
type: "button",
|
|
4142
4149
|
role: "menuitemcheckbox",
|
|
4143
|
-
"aria-checked":
|
|
4150
|
+
"aria-checked": T,
|
|
4144
4151
|
disabled: W,
|
|
4145
4152
|
className: "select-facet__opt",
|
|
4146
|
-
onClick: () => C(
|
|
4153
|
+
onClick: () => C(P),
|
|
4147
4154
|
children: [
|
|
4148
|
-
/* @__PURE__ */ e("span", { children:
|
|
4149
|
-
|
|
4155
|
+
/* @__PURE__ */ e("span", { children: P.title }),
|
|
4156
|
+
T && /* @__PURE__ */ e("span", { className: "select-facet__check", "aria-hidden": "true", children: /* @__PURE__ */ e(Je, {}) })
|
|
4150
4157
|
]
|
|
4151
4158
|
},
|
|
4152
|
-
|
|
4159
|
+
P.key
|
|
4153
4160
|
);
|
|
4154
4161
|
}) }) })
|
|
4155
4162
|
}
|
|
@@ -4158,7 +4165,7 @@ function l1({
|
|
|
4158
4165
|
/* @__PURE__ */ e(ha, { columns: E, empty: F, title: i, help: r, filters: m, action: D ? /* @__PURE__ */ p("span", { className: "select-datatable__toolbar", children: [
|
|
4159
4166
|
d,
|
|
4160
4167
|
D
|
|
4161
|
-
] }) : d, children: c ? Array.from({ length: 5 }, (
|
|
4168
|
+
] }) : d, children: c ? Array.from({ length: 5 }, (P, T) => /* @__PURE__ */ e(gl, { children: w.map((W, Q) => /* @__PURE__ */ e(bl, { align: W.align, width: W.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, Q)) }, `skeleton-${T}`)) : L.map((P) => /* @__PURE__ */ e(gl, { onClick: o ? () => o(P) : void 0, children: w.map((T, W) => /* @__PURE__ */ e(bl, { align: T.align, width: T.width, children: T.render(P) }, W)) }, l(P))) }),
|
|
4162
4169
|
a && /* @__PURE__ */ p("div", { className: "select-datatable__pagination", children: [
|
|
4163
4170
|
a.pageSizeOptions && a.pageSizeOptions.length > 1 && a.onPageSizeChange && /* @__PURE__ */ e("div", { className: "select-datatable__pagesize", children: /* @__PURE__ */ e(
|
|
4164
4171
|
dt,
|
|
@@ -4172,7 +4179,7 @@ function l1({
|
|
|
4172
4179
|
{
|
|
4173
4180
|
type: "button",
|
|
4174
4181
|
className: `select-facet${M ? " is-active" : ""}`,
|
|
4175
|
-
onClick: () => S((
|
|
4182
|
+
onClick: () => S((P) => !P),
|
|
4176
4183
|
"aria-expanded": M,
|
|
4177
4184
|
"aria-haspopup": "listbox",
|
|
4178
4185
|
children: [
|
|
@@ -4184,28 +4191,28 @@ function l1({
|
|
|
4184
4191
|
]
|
|
4185
4192
|
}
|
|
4186
4193
|
),
|
|
4187
|
-
children: /* @__PURE__ */ e("div", { className: "select-facet__panel", children: /* @__PURE__ */ e("div", { className: "select-facet__options", role: "listbox", children: a.pageSizeOptions.map((
|
|
4188
|
-
const
|
|
4194
|
+
children: /* @__PURE__ */ e("div", { className: "select-facet__panel", children: /* @__PURE__ */ e("div", { className: "select-facet__options", role: "listbox", children: a.pageSizeOptions.map((P) => {
|
|
4195
|
+
const T = P === a.pageSize;
|
|
4189
4196
|
return /* @__PURE__ */ p(
|
|
4190
4197
|
"button",
|
|
4191
4198
|
{
|
|
4192
4199
|
type: "button",
|
|
4193
4200
|
role: "option",
|
|
4194
|
-
"aria-selected":
|
|
4195
|
-
className: `select-facet__opt${
|
|
4201
|
+
"aria-selected": T,
|
|
4202
|
+
className: `select-facet__opt${T ? " is-selected" : ""}`,
|
|
4196
4203
|
onClick: () => {
|
|
4197
4204
|
var W;
|
|
4198
|
-
(W = a.onPageSizeChange) == null || W.call(a,
|
|
4205
|
+
(W = a.onPageSizeChange) == null || W.call(a, P), S(!1);
|
|
4199
4206
|
},
|
|
4200
4207
|
children: [
|
|
4201
4208
|
/* @__PURE__ */ p("span", { children: [
|
|
4202
|
-
|
|
4209
|
+
P,
|
|
4203
4210
|
" por página"
|
|
4204
4211
|
] }),
|
|
4205
|
-
|
|
4212
|
+
T && /* @__PURE__ */ e("span", { className: "select-facet__check", "aria-hidden": "true", children: /* @__PURE__ */ e(Je, {}) })
|
|
4206
4213
|
]
|
|
4207
4214
|
},
|
|
4208
|
-
|
|
4215
|
+
P
|
|
4209
4216
|
);
|
|
4210
4217
|
}) }) })
|
|
4211
4218
|
}
|
|
@@ -4255,18 +4262,18 @@ function $a(t, n) {
|
|
|
4255
4262
|
return n ? `${l} ${it(t.getHours())}:${it(t.getMinutes())}` : l;
|
|
4256
4263
|
}
|
|
4257
4264
|
const Sa = R(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: o, disabled: i, error: r, hint: d, minDate: m, maxDate: h, clearable: f = !0, id: g, className: _, ...x }, M) {
|
|
4258
|
-
const S = ue(), v = g ?? S, [u, N] = O(!1), k = ka(l), [w, y] = O(() => an(k ?? /* @__PURE__ */ new Date())), $ = m ? Ut(m) : null, b = h ? Ut(h) : null, C = (
|
|
4259
|
-
i || (y(an(k ?? /* @__PURE__ */ new Date())), N((
|
|
4260
|
-
}, F = (
|
|
4261
|
-
if (C(
|
|
4262
|
-
const W = new Date(
|
|
4265
|
+
const S = ue(), v = g ?? S, [u, N] = O(!1), k = ka(l), [w, y] = O(() => an(k ?? /* @__PURE__ */ new Date())), $ = m ? Ut(m) : null, b = h ? Ut(h) : null, C = (T) => !!$ && Ut(T) < $ || !!b && Ut(T) > b, A = Nl(an(w), -an(w).getDay()), B = Array.from({ length: 42 }, (T, W) => Nl(A, W)), L = Ut(/* @__PURE__ */ new Date()), E = () => {
|
|
4266
|
+
i || (y(an(k ?? /* @__PURE__ */ new Date())), N((T) => !T));
|
|
4267
|
+
}, F = (T) => {
|
|
4268
|
+
if (C(T)) return;
|
|
4269
|
+
const W = new Date(T);
|
|
4263
4270
|
s && W.setHours((k == null ? void 0 : k.getHours()) ?? 0, (k == null ? void 0 : k.getMinutes()) ?? 0, 0, 0), c(kl(W, s)), s || N(!1);
|
|
4264
|
-
}, D = (
|
|
4265
|
-
const [W = "", Q = ""] =
|
|
4271
|
+
}, D = (T) => {
|
|
4272
|
+
const [W = "", Q = ""] = T.split(":"), q = Number(W), oe = Number(Q), ae = new Date(k ?? L);
|
|
4266
4273
|
ae.setHours(Number.isFinite(q) ? q : 0, Number.isFinite(oe) ? oe : 0, 0, 0), c(kl(ae, !0));
|
|
4267
4274
|
}, Z = () => {
|
|
4268
4275
|
c(""), N(!1);
|
|
4269
|
-
},
|
|
4276
|
+
}, P = /* @__PURE__ */ p("div", { className: `select-input-wrap${r ? " select-input-wrap--error" : ""}`, children: [
|
|
4270
4277
|
/* @__PURE__ */ e(
|
|
4271
4278
|
"button",
|
|
4272
4279
|
{
|
|
@@ -4285,21 +4292,21 @@ const Sa = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
4285
4292
|
] });
|
|
4286
4293
|
return /* @__PURE__ */ p("div", { ref: M, ...x, className: `select-field${_ ? " " + _ : ""}`, children: [
|
|
4287
4294
|
n && /* @__PURE__ */ e(Rt, { htmlFor: v, label: o ? `${n} *` : n }),
|
|
4288
|
-
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(dt, { active: u, onClose: () => N(!1), placement: "bottom-start", role: "dialog", activator:
|
|
4295
|
+
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(dt, { active: u, onClose: () => N(!1), placement: "bottom-start", role: "dialog", activator: P, children: /* @__PURE__ */ p("div", { className: "select-datefield__pop", children: [
|
|
4289
4296
|
/* @__PURE__ */ p("div", { className: "select-datepicker__calhead", children: [
|
|
4290
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((
|
|
4297
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((T) => Ml(T, -1)), children: /* @__PURE__ */ e(Gn, {}) }),
|
|
4291
4298
|
/* @__PURE__ */ p("span", { className: "select-datepicker__monthlabel", children: [
|
|
4292
4299
|
wa[w.getMonth()],
|
|
4293
4300
|
" ",
|
|
4294
4301
|
w.getFullYear()
|
|
4295
4302
|
] }),
|
|
4296
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => y((
|
|
4303
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => y((T) => Ml(T, 1)), children: /* @__PURE__ */ e(Jt, {}) })
|
|
4297
4304
|
] }),
|
|
4298
4305
|
/* @__PURE__ */ p("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
4299
|
-
Ma.map((
|
|
4300
|
-
B.map((
|
|
4301
|
-
const W =
|
|
4302
|
-
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: q, disabled: C(
|
|
4306
|
+
Ma.map((T) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: T }, T)),
|
|
4307
|
+
B.map((T) => {
|
|
4308
|
+
const W = T.getMonth() !== w.getMonth(), Q = !!k && wl(T, k), q = "select-datepicker__daybtn" + (Q ? " is-selected" : "") + (wl(T, L) && !Q ? " is-today" : "") + (W ? " is-outside" : "");
|
|
4309
|
+
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: q, disabled: C(T), onClick: () => F(T), children: T.getDate() }) }, T.getTime());
|
|
4303
4310
|
})
|
|
4304
4311
|
] }),
|
|
4305
4312
|
s && /* @__PURE__ */ p("div", { className: "select-datefield__time", children: [
|
|
@@ -4311,7 +4318,7 @@ const Sa = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
4311
4318
|
className: "select-input select-datefield__time-input",
|
|
4312
4319
|
"aria-label": "Horário",
|
|
4313
4320
|
value: k ? `${it(k.getHours())}:${it(k.getMinutes())}` : "",
|
|
4314
|
-
onChange: (
|
|
4321
|
+
onChange: (T) => D(T.target.value)
|
|
4315
4322
|
}
|
|
4316
4323
|
)
|
|
4317
4324
|
] }),
|
|
@@ -4415,7 +4422,7 @@ function Ca({
|
|
|
4415
4422
|
}
|
|
4416
4423
|
);
|
|
4417
4424
|
}
|
|
4418
|
-
const
|
|
4425
|
+
const s1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: o, className: i, ...r }, d) {
|
|
4419
4426
|
const [m, h] = O([]), [f, g] = O(null), [_, x] = O(!1), M = (y) => (l[y.key] ?? "").trim() !== "", S = (y) => !!y.pinned || M(y) || m.includes(y.key), v = n.filter(S), u = n.filter((y) => !S(y)), N = n.filter(M), k = () => {
|
|
4420
4427
|
h([]), g(null), s();
|
|
4421
4428
|
}, w = (y) => {
|
|
@@ -4526,7 +4533,7 @@ const c1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4526
4533
|
/* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: k, children: "Limpar tudo" })
|
|
4527
4534
|
] })
|
|
4528
4535
|
] });
|
|
4529
|
-
}),
|
|
4536
|
+
}), a1 = R(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: o, help: i, error: r, onBlur: d, size: m = "md", className: h, ...f }, g) {
|
|
4530
4537
|
const [_, x] = O(!1), [M, S] = O(""), v = l.filter((k) => k.label.toLowerCase().includes(M.trim().toLowerCase())), u = (k) => s(c.includes(k) ? c.filter((w) => w !== k) : [...c, k]), N = c.map((k) => l.find((w) => w.value === k)).filter((k) => k != null);
|
|
4531
4538
|
return /* @__PURE__ */ p("div", { ref: g, ...f, className: `select-field${m === "sm" ? " select-field--sm" : ""}${h ? " " + h : ""}`, children: [
|
|
4532
4539
|
(n || i) && /* @__PURE__ */ e("div", { className: "select-field__labelrow", children: /* @__PURE__ */ p("span", { className: "select-field__labelwrap", children: [
|
|
@@ -4605,7 +4612,7 @@ const c1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4605
4612
|
),
|
|
4606
4613
|
r ? /* @__PURE__ */ e("p", { className: "select-field__error", children: r }) : o ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: o }) : null
|
|
4607
4614
|
] });
|
|
4608
|
-
}),
|
|
4615
|
+
}), r1 = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: o = !1, className: i, ...r }, d) {
|
|
4609
4616
|
return /* @__PURE__ */ p("div", { ref: d, ...r, className: `select-surface${i ? " " + i : ""}`, children: [
|
|
4610
4617
|
(n || l || c) && /* @__PURE__ */ p("div", { className: "select-surface__header", children: [
|
|
4611
4618
|
/* @__PURE__ */ p("div", { className: "select-surface__heading", children: [
|
|
@@ -4618,7 +4625,7 @@ const c1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4618
4625
|
s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
|
|
4619
4626
|
] });
|
|
4620
4627
|
}), vc = Vn(null), La = 220, Aa = 4e3, Ea = 8, Ba = 0.04, Fa = 5;
|
|
4621
|
-
function
|
|
4628
|
+
function o1({ children: t }) {
|
|
4622
4629
|
const [n, l] = O([]), c = X(0), s = X(/* @__PURE__ */ new Map()), a = nt((d) => {
|
|
4623
4630
|
l((m) => m.filter((h) => h.id !== d)), s.current.delete(d);
|
|
4624
4631
|
}, []), o = nt(
|
|
@@ -4668,12 +4675,12 @@ function r1({ children: t }) {
|
|
|
4668
4675
|
)
|
|
4669
4676
|
] });
|
|
4670
4677
|
}
|
|
4671
|
-
function
|
|
4678
|
+
function i1() {
|
|
4672
4679
|
const t = Zn(vc);
|
|
4673
4680
|
if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
|
|
4674
4681
|
return t;
|
|
4675
4682
|
}
|
|
4676
|
-
const Ia = { desktop: "100%", mobile: 390 },
|
|
4683
|
+
const Ia = { desktop: "100%", mobile: 390 }, d1 = R(function({ src: n, title: l = "Pré-visualização", height: c = 560, fill: s = !1, initialDevice: a = "desktop", showDeviceToggle: o = !0, emptyLabel: i = "Salve para gerar a pré-visualização.", onReload: r, notice: d, iframeRef: m, className: h, ...f }, g) {
|
|
4677
4684
|
const [_, x] = O(a), [M, S] = O(0), [v, u] = O(!0), N = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${M}` : "", k = () => {
|
|
4678
4685
|
if (u(!0), r) {
|
|
4679
4686
|
r();
|
|
@@ -4739,12 +4746,12 @@ const Ia = { desktop: "100%", mobile: 390 }, i1 = R(function({ src: n, title: l
|
|
|
4739
4746
|
] }) : /* @__PURE__ */ e("p", { className: "select-preview__empty", children: i }) })
|
|
4740
4747
|
] });
|
|
4741
4748
|
}), Ra = new Intl.NumberFormat("pt-BR", { style: "currency", currency: "BRL" });
|
|
4742
|
-
function
|
|
4749
|
+
function Pa(t) {
|
|
4743
4750
|
const n = typeof t == "string" ? Number(t) : t;
|
|
4744
4751
|
return typeof n == "number" && Number.isFinite(n) ? n : 0;
|
|
4745
4752
|
}
|
|
4746
|
-
function
|
|
4747
|
-
return Ra.format(
|
|
4753
|
+
function Ta(t) {
|
|
4754
|
+
return Ra.format(Pa(t) / 100);
|
|
4748
4755
|
}
|
|
4749
4756
|
const gc = "sw:hide-money", Da = { hidden: !1, toggle: () => {
|
|
4750
4757
|
}, setHidden: () => {
|
|
@@ -4762,7 +4769,7 @@ function $l(t) {
|
|
|
4762
4769
|
} catch {
|
|
4763
4770
|
}
|
|
4764
4771
|
}
|
|
4765
|
-
function
|
|
4772
|
+
function h1({ children: t }) {
|
|
4766
4773
|
const [n, l] = O(Oa), c = nt((o) => {
|
|
4767
4774
|
l(o), $l(o);
|
|
4768
4775
|
}, []), s = nt(() => {
|
|
@@ -4784,7 +4791,7 @@ function zt({
|
|
|
4784
4791
|
cents: t,
|
|
4785
4792
|
sensitive: n = !0
|
|
4786
4793
|
}) {
|
|
4787
|
-
const l =
|
|
4794
|
+
const l = Ta(t);
|
|
4788
4795
|
return n ? /* @__PURE__ */ e(Wa, { children: l }) : /* @__PURE__ */ e(ve, { children: l });
|
|
4789
4796
|
}
|
|
4790
4797
|
const Ha = new Intl.NumberFormat("pt-BR", {
|
|
@@ -4807,7 +4814,7 @@ const Ha = new Intl.NumberFormat("pt-BR", {
|
|
|
4807
4814
|
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
4808
4815
|
] });
|
|
4809
4816
|
});
|
|
4810
|
-
function
|
|
4817
|
+
function u1() {
|
|
4811
4818
|
const { hidden: t, toggle: n } = xc();
|
|
4812
4819
|
return /* @__PURE__ */ e(
|
|
4813
4820
|
He,
|
|
@@ -4820,7 +4827,7 @@ function h1() {
|
|
|
4820
4827
|
}
|
|
4821
4828
|
);
|
|
4822
4829
|
}
|
|
4823
|
-
const
|
|
4830
|
+
const p1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: o, ...i }, r) {
|
|
4824
4831
|
return /* @__PURE__ */ p("div", { ref: r, ...i, className: `select-balance${o ? " " + o : ""}`, children: [
|
|
4825
4832
|
/* @__PURE__ */ p("div", { className: "select-balance__head", children: [
|
|
4826
4833
|
/* @__PURE__ */ e("h3", { className: "select-balance__title", children: l }),
|
|
@@ -4851,7 +4858,7 @@ const u1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4851
4858
|
] }, d.label)) })
|
|
4852
4859
|
] })
|
|
4853
4860
|
] });
|
|
4854
|
-
}),
|
|
4861
|
+
}), m1 = R(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: o, ...i }, r) {
|
|
4855
4862
|
const d = c ?? n - l.reduce((m, h) => m + h.cents, 0);
|
|
4856
4863
|
return /* @__PURE__ */ p("div", { ref: r, ...i, className: `select-fees${o ? " " + o : ""}`, children: [
|
|
4857
4864
|
/* @__PURE__ */ p("div", { className: "select-fees__row", children: [
|
|
@@ -4871,7 +4878,7 @@ const u1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4871
4878
|
/* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e(zt, { cents: d }) })
|
|
4872
4879
|
] })
|
|
4873
4880
|
] });
|
|
4874
|
-
}),
|
|
4881
|
+
}), f1 = R(function({ label: n, value: l, caption: c, chart: s, help: a, tone: o, bare: i = !1, className: r, ...d }, m) {
|
|
4875
4882
|
return /* @__PURE__ */ p("div", { ref: m, ...d, className: `select-kpi${i ? " select-kpi--bare" : ""}${r ? " " + r : ""}`, children: [
|
|
4876
4883
|
/* @__PURE__ */ p("span", { className: `select-kpi__label${a != null ? " select-kpi__label--help" : ""}`, children: [
|
|
4877
4884
|
a != null ? /* @__PURE__ */ e("span", { className: "select-kpi__labeltext", children: n }) : n,
|
|
@@ -4881,7 +4888,7 @@ const u1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4881
4888
|
s != null && /* @__PURE__ */ e("div", { className: "select-kpi__chart", children: s }),
|
|
4882
4889
|
c != null && /* @__PURE__ */ e("span", { className: "select-kpi__caption", children: c })
|
|
4883
4890
|
] });
|
|
4884
|
-
}),
|
|
4891
|
+
}), _1 = R(function({ title: n, caption: l, action: c, help: s, loading: a = !1, hideValues: o = !1, height: i = 260, flush: r = !1, insight: d, insightTone: m = "neutral", children: h, className: f, ...g }, _) {
|
|
4885
4892
|
const x = i === "auto" ? void 0 : `${i / 16}rem`, M = i === "auto" ? "10rem" : `${i / 16}rem`;
|
|
4886
4893
|
return /* @__PURE__ */ p("div", { ref: _, ...g, className: `select-chartcard${f ? " " + f : ""}`, children: [
|
|
4887
4894
|
(n || c || l) && /* @__PURE__ */ p("div", { className: "select-chartcard__head", children: [
|
|
@@ -5019,7 +5026,7 @@ function ne(t) {
|
|
|
5019
5026
|
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));
|
|
5020
5027
|
}
|
|
5021
5028
|
const lt = { top: 16, right: 22, bottom: 32, left: 48 };
|
|
5022
|
-
function
|
|
5029
|
+
function v1({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
5023
5030
|
const { ref: a, width: o } = ge(l), i = n ?? U(0), r = ue(), d = 4;
|
|
5024
5031
|
let m = null;
|
|
5025
5032
|
if (o > 0 && t.length > 1) {
|
|
@@ -5079,7 +5086,7 @@ function se({ tip: t, className: n, ...l }) {
|
|
|
5079
5086
|
] }, r))
|
|
5080
5087
|
] });
|
|
5081
5088
|
}
|
|
5082
|
-
function
|
|
5089
|
+
function g1({ data: t, height: n = 240, color: l, format: c = ne, className: s, ...a }) {
|
|
5083
5090
|
const { ref: o, width: i } = ge(n), r = ce(), d = ue(), m = l ?? U(0), h = Ge(Math.max(0, ...t.map((u) => u.value))), f = lt, g = Math.max(0, i - f.left - f.right), _ = n - f.top - f.bottom, x = t.length > 0 ? g / t.length : 0, M = Math.min(x * 0.62, 44), S = f.top + _, v = (u) => S - u / h * _;
|
|
5084
5091
|
return /* @__PURE__ */ p("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
|
|
5085
5092
|
i > 0 && /* @__PURE__ */ p("svg", { width: i, height: n, className: "select-chart", children: [
|
|
@@ -5130,7 +5137,7 @@ function v1({ data: t, height: n = 240, color: l, format: c = ne, className: s,
|
|
|
5130
5137
|
/* @__PURE__ */ e(se, { tip: r.tip })
|
|
5131
5138
|
] });
|
|
5132
5139
|
}
|
|
5133
|
-
function
|
|
5140
|
+
function b1({ series: t, labels: n, height: l = 240, format: c = ne, area: s = !1, className: a, ...o }) {
|
|
5134
5141
|
const { ref: i, width: r } = ge(l), d = ce(), m = ue(), [h, f] = O(null), { max: g, values: _ } = Va(Math.max(0, ...t.flatMap(($) => $.data))), x = lt, M = Math.max(0, r - x.left - x.right), S = l - x.top - x.bottom, v = n.length, u = ($) => x.left + (v <= 1 ? M / 2 : $ / (v - 1) * M), N = ($) => x.top + S - $ / g * S, k = v > 1 ? M / (v - 1) : M, w = Math.max(1, Math.ceil(v / 7)), y = x.top + S;
|
|
5135
5142
|
return /* @__PURE__ */ p("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
5136
5143
|
r > 0 && /* @__PURE__ */ p("svg", { width: r, height: l, className: "select-chart", children: [
|
|
@@ -5217,7 +5224,7 @@ function g1({ series: t, labels: n, height: l = 240, format: c = ne, area: s = !
|
|
|
5217
5224
|
/* @__PURE__ */ e(se, { tip: d.tip })
|
|
5218
5225
|
] });
|
|
5219
5226
|
}
|
|
5220
|
-
function
|
|
5227
|
+
function x1({ series: t, labels: n, height: l = 240, format: c = ne, className: s, ...a }) {
|
|
5221
5228
|
const { ref: o, width: i } = ge(l), r = ce(), d = ue(), [m, h] = O(null), f = n.length, g = new Array(f).fill(0), _ = t.map(
|
|
5222
5229
|
(b) => b.data.map((C, A) => (g[A] = (g[A] ?? 0) + (C ?? 0), g[A]))
|
|
5223
5230
|
), x = Ge(Math.max(0, ...g)), M = lt, S = Math.max(0, i - M.left - M.right), v = l - M.top - M.bottom, u = (b) => M.left + (f <= 1 ? S / 2 : b / (f - 1) * S), N = (b) => M.top + v - b / x * v, k = f > 1 ? S / (f - 1) : S, w = Math.max(1, Math.ceil(f / 7)), y = M.top + v, $ = _[_.length - 1];
|
|
@@ -5283,7 +5290,7 @@ function b1({ series: t, labels: n, height: l = 240, format: c = ne, className:
|
|
|
5283
5290
|
/* @__PURE__ */ e(se, { tip: r.tip })
|
|
5284
5291
|
] });
|
|
5285
5292
|
}
|
|
5286
|
-
function
|
|
5293
|
+
function y1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ne, formatLine: a = (r) => `${Math.round(r)}%`, className: o, ...i }) {
|
|
5287
5294
|
const { ref: r, width: d } = ge(c), m = ce(), h = ue(), [f, g] = O(null), _ = { ...lt, right: 58 }, x = Math.max(0, d - _.left - _.right), M = c - _.top - _.bottom, S = t.length, v = Ge(Math.max(0, ...n.data)), u = Ge(Math.max(0, ...l.data)), N = S > 0 ? x / S : 0, k = Math.min(N * 0.5, 36), w = Math.max(1, Math.ceil(S / 8)), y = n.color ?? U(0), $ = l.color ?? U(1), b = _.top + M, C = (E) => b - E / v * M, A = (E) => b - E / u * M, B = (E) => _.left + N * E + N / 2, L = l.data.map((E, F) => [B(F), A(E)]);
|
|
5288
5295
|
return /* @__PURE__ */ p("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: r, children: [
|
|
5289
5296
|
d > 0 && /* @__PURE__ */ p("svg", { width: d, height: c, className: "select-chart", children: [
|
|
@@ -5381,7 +5388,7 @@ function x1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ne, f
|
|
|
5381
5388
|
/* @__PURE__ */ e(se, { tip: m.tip })
|
|
5382
5389
|
] });
|
|
5383
5390
|
}
|
|
5384
|
-
const
|
|
5391
|
+
const N1 = R(function({ segments: n, size: l = 200, thickness: c = 26, format: s = ne, centerLabel: a, legend: o = !0, gap: i = 2, pie: r = !1, className: d, ...m }, h) {
|
|
5385
5392
|
const f = ce(), g = ue(), _ = X(null), x = gn(_, l), M = n.reduce((w, y) => w + y.value, 0) || 1, S = x / 2, v = x / 2, u = x / 2 - 2, N = r ? 0 : u - c;
|
|
5386
5393
|
let k = 0;
|
|
5387
5394
|
return /* @__PURE__ */ p("div", { ref: h, ...m, className: `select-donut-wrap${d ? " " + d : ""}`, children: [
|
|
@@ -5430,7 +5437,7 @@ const y1 = R(function({ segments: n, size: l = 200, thickness: c = 26, format: s
|
|
|
5430
5437
|
/* @__PURE__ */ e(se, { tip: f.tip })
|
|
5431
5438
|
] });
|
|
5432
5439
|
});
|
|
5433
|
-
function
|
|
5440
|
+
function M1({ series: t, labels: n, height: l = 240, format: c = ne, stacked: s = !1, className: a, ...o }) {
|
|
5434
5441
|
const { ref: i, width: r } = ge(l), d = ce(), m = ue(), h = n.length, f = t.length || 1, g = n.map((y, $) => t.reduce((b, C) => b + (C.data[$] ?? 0), 0)), _ = Ge(s ? Math.max(0, ...g) : Math.max(0, ...t.flatMap((y) => y.data))), x = lt, M = Math.max(0, r - x.left - x.right), S = l - x.top - x.bottom, v = x.top + S, u = h ? M / h : 0, N = (y) => v - y / _ * S, k = Math.min(u * 0.72, f * 40), w = s ? Math.min(u * 0.5, 44) : k / f;
|
|
5435
5442
|
return /* @__PURE__ */ p("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
5436
5443
|
r > 0 && /* @__PURE__ */ p("svg", { width: r, height: l, className: "select-chart", children: [
|
|
@@ -5522,7 +5529,7 @@ function N1({ series: t, labels: n, height: l = 240, format: c = ne, stacked: s
|
|
|
5522
5529
|
/* @__PURE__ */ e(se, { tip: d.tip })
|
|
5523
5530
|
] });
|
|
5524
5531
|
}
|
|
5525
|
-
const
|
|
5532
|
+
const w1 = R(function({ stages: n, format: l = ne, className: c, ...s }, a) {
|
|
5526
5533
|
const o = Math.max(1, ...n.map((i) => i.value));
|
|
5527
5534
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-funnel${c ? " " + c : ""}`, children: n.map((i, r) => {
|
|
5528
5535
|
const d = r > 0 ? n[r - 1].value || 1 : i.value || 1, m = r > 0 ? i.value / d * 100 : 100, h = U(r);
|
|
@@ -5559,7 +5566,7 @@ function Al(t, n, l, c, s) {
|
|
|
5559
5566
|
const [a, o] = Ll(t, n, l, c), [i, r] = Ll(t, n, l, s);
|
|
5560
5567
|
return `M ${a.toFixed(2)} ${o.toFixed(2)} A ${l} ${l} 0 0 1 ${i.toFixed(2)} ${r.toFixed(2)}`;
|
|
5561
5568
|
}
|
|
5562
|
-
const Ua = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`,
|
|
5569
|
+
const Ua = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, k1 = R(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: o, format: i = Ua, className: r, ...d }, m) {
|
|
5563
5570
|
const h = Ga(n), f = ue(), g = a ?? Math.max(8, Math.round(s * 0.075)), _ = g / 2 + 2, x = s / 2 - _, M = s / 2, S = s / 2, v = S + _, u = is({ value: h, format: i });
|
|
5564
5571
|
return /* @__PURE__ */ p("div", { ref: m, ...d, className: `select-gauge${r ? " " + r : ""}`, style: { width: `${s / 16}rem` }, children: [
|
|
5565
5572
|
/* @__PURE__ */ p("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${v}` }, children: [
|
|
@@ -5598,7 +5605,7 @@ const Ua = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5598
5605
|
] }),
|
|
5599
5606
|
c != null && /* @__PURE__ */ e("div", { className: "select-gauge__caption", children: c })
|
|
5600
5607
|
] });
|
|
5601
|
-
}),
|
|
5608
|
+
}), $1 = R(function({ columns: n, rows: l, format: c = ne, formatValue: s, color: a = "var(--select-chart-1)", showValues: o = !0, min: i, max: r, cellSize: d = 40, maxCellSize: m = 96, cellHeight: h = 30, className: f, ...g }, _) {
|
|
5602
5609
|
const x = ce(), M = l.flatMap((y) => y.values).filter((y) => y != null && Number.isFinite(y)), S = i ?? (M.length ? Math.min(...M) : 0), u = (r ?? (M.length ? Math.max(...M) : 1)) - S || 1, N = { "--heat-color": a }, k = {
|
|
5603
5610
|
gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${d}px, ${Math.max(d, m)}px))`,
|
|
5604
5611
|
width: "fit-content",
|
|
@@ -5629,11 +5636,11 @@ const Ua = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5629
5636
|
color: A > 0.55 ? "#fff" : "var(--select-text)"
|
|
5630
5637
|
},
|
|
5631
5638
|
onMouseEnter: (E) => {
|
|
5632
|
-
const F = E.currentTarget.closest(".select-chart-wrap"), D = E.currentTarget.getBoundingClientRect(), Z = F == null ? void 0 : F.getBoundingClientRect(),
|
|
5639
|
+
const F = E.currentTarget.closest(".select-chart-wrap"), D = E.currentTarget.getBoundingClientRect(), Z = F == null ? void 0 : F.getBoundingClientRect(), P = Z ? D.top - Z.top : 0, T = P < 64 ? "bottom" : "top", W = (Z ? D.left - Z.left : 0) + D.width / 2, Q = T === "bottom" ? Z ? D.bottom - Z.top : 0 : P;
|
|
5633
5640
|
x.show({
|
|
5634
5641
|
x: W,
|
|
5635
5642
|
y: Q,
|
|
5636
|
-
place:
|
|
5643
|
+
place: T,
|
|
5637
5644
|
title: `${y.label} · ${n[b] ?? ""}`,
|
|
5638
5645
|
rows: [{ label: "Valor", value: (s ?? c)($), color: a }]
|
|
5639
5646
|
});
|
|
@@ -5649,7 +5656,7 @@ const Ua = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5649
5656
|
/* @__PURE__ */ e(se, { tip: x.tip })
|
|
5650
5657
|
] });
|
|
5651
5658
|
});
|
|
5652
|
-
function
|
|
5659
|
+
function S1({
|
|
5653
5660
|
items: t,
|
|
5654
5661
|
format: n = ne,
|
|
5655
5662
|
color: l,
|
|
@@ -5683,7 +5690,7 @@ function $1({
|
|
|
5683
5690
|
] }, `${a.label}-${o}`);
|
|
5684
5691
|
}) });
|
|
5685
5692
|
}
|
|
5686
|
-
const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0,
|
|
5693
|
+
const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, C1 = R(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (h) => `${Math.round(h)}%`, centerLabel: o, legend: i = !0, className: r, ...d }, m) {
|
|
5687
5694
|
const h = ue(), f = l / 2, g = l / 2;
|
|
5688
5695
|
return /* @__PURE__ */ p("div", { ref: m, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
|
|
5689
5696
|
/* @__PURE__ */ p("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -5729,7 +5736,7 @@ const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, S1 = R
|
|
|
5729
5736
|
] }, x)) })
|
|
5730
5737
|
] });
|
|
5731
5738
|
}), El = 6.1, In = 12, Bl = 56, qa = 0.4;
|
|
5732
|
-
function
|
|
5739
|
+
function L1({ data: t, height: n, color: l, format: c = ne, formatValue: s, distributed: a = !0, labelWidth: o, className: i, ...r }) {
|
|
5733
5740
|
const g = n ?? t.length * 36 + 6 + 26, { ref: _, width: x } = ge(g), M = ce(), S = ue(), v = Ge(Math.max(0, ...t.map((E) => E.value))), u = t.reduce((E, F) => Math.max(E, F.label.length), 0), N = Math.min(
|
|
5734
5741
|
Math.max(Bl, u * El + In),
|
|
5735
5742
|
Math.max(Bl, x * qa)
|
|
@@ -5757,7 +5764,7 @@ function C1({ data: t, height: n, color: l, format: c = ne, formatValue: s, dist
|
|
|
5757
5764
|
/* @__PURE__ */ e("text", { x: B(E), y: g - 26 + 16, className: "select-chart__xlabel", textAnchor: "middle", children: c(E) })
|
|
5758
5765
|
] }, F)),
|
|
5759
5766
|
t.map((E, F) => {
|
|
5760
|
-
const D = 6 + C * F + C / 2, Z = E.value / v * $,
|
|
5767
|
+
const D = 6 + C * F + C / 2, Z = E.value / v * $, P = L(E, F);
|
|
5761
5768
|
return /* @__PURE__ */ p("g", { children: [
|
|
5762
5769
|
/* @__PURE__ */ e("rect", { x: k, y: D - A / 2, width: $, height: A, rx: 5, className: "select-chart__track-bar" }),
|
|
5763
5770
|
/* @__PURE__ */ e(
|
|
@@ -5775,7 +5782,7 @@ function C1({ data: t, height: n, color: l, format: c = ne, formatValue: s, dist
|
|
|
5775
5782
|
x: k + Z,
|
|
5776
5783
|
y: D - A / 2,
|
|
5777
5784
|
place: D - A / 2 < 50 ? "bottom" : "top",
|
|
5778
|
-
rows: [{ label: E.label, value: (s ?? c)(E.value), color:
|
|
5785
|
+
rows: [{ label: E.label, value: (s ?? c)(E.value), color: P }]
|
|
5779
5786
|
}),
|
|
5780
5787
|
onMouseLeave: M.hide
|
|
5781
5788
|
}
|
|
@@ -5800,7 +5807,7 @@ function C1({ data: t, height: n, color: l, format: c = ne, formatValue: s, dist
|
|
|
5800
5807
|
/* @__PURE__ */ e(se, { tip: M.tip })
|
|
5801
5808
|
] });
|
|
5802
5809
|
}
|
|
5803
|
-
function
|
|
5810
|
+
function A1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
5804
5811
|
const { ref: a, width: o } = ge(n), i = ce(), r = ue();
|
|
5805
5812
|
let d = 0;
|
|
5806
5813
|
const m = t.map((w) => {
|
|
@@ -5870,7 +5877,7 @@ function L1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
|
5870
5877
|
/* @__PURE__ */ e(se, { tip: i.tip })
|
|
5871
5878
|
] });
|
|
5872
5879
|
}
|
|
5873
|
-
const Fl = (t) => Math.max(0, Math.min(100, t)),
|
|
5880
|
+
const Fl = (t) => Math.max(0, Math.min(100, t)), E1 = R(function({ items: n, format: l = ne, className: c, ...s }, a) {
|
|
5874
5881
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((o, i) => {
|
|
5875
5882
|
const r = o.color ?? U(i), d = o.max ?? (Math.max(o.value, o.target) * 1.25 || 1), m = o.value >= o.target;
|
|
5876
5883
|
return /* @__PURE__ */ p("div", { className: "select-bullet__row", children: [
|
|
@@ -5949,7 +5956,7 @@ function za(t, n, l) {
|
|
|
5949
5956
|
l
|
|
5950
5957
|
), c;
|
|
5951
5958
|
}
|
|
5952
|
-
function
|
|
5959
|
+
function B1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
5953
5960
|
const { ref: a, width: o } = ge(n), i = ce(), r = ue(), d = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), m = o > 0 ? za(d.map((h) => t[h].value), o, n) : [];
|
|
5954
5961
|
return /* @__PURE__ */ p("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
|
|
5955
5962
|
o > 0 && /* @__PURE__ */ p("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -5991,7 +5998,7 @@ function E1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
|
5991
5998
|
/* @__PURE__ */ e(se, { tip: i.tip })
|
|
5992
5999
|
] });
|
|
5993
6000
|
}
|
|
5994
|
-
function
|
|
6001
|
+
function F1({ series: t, height: n = 240, xFormat: l = ne, yFormat: c = ne, xMax: s, yMax: a, maxRadius: o = 18, className: i, ...r }) {
|
|
5995
6002
|
const { ref: d, width: m } = ge(n), h = ce(), f = t.flatMap((y) => y.points), g = Ge(s ?? Math.max(0, ...f.map((y) => y.x))), _ = Ge(a ?? Math.max(0, ...f.map((y) => y.y))), x = Math.max(1, ...f.map((y) => y.r ?? 0)), M = lt, S = Math.max(0, m - M.left - M.right), v = n - M.top - M.bottom, u = M.top + v, N = (y) => M.left + y / g * S, k = (y) => u - y / _ * v, w = (y) => y.r ? 4 + Math.sqrt(y.r) / Math.sqrt(x) * (o - 4) : 4.5;
|
|
5996
6003
|
return /* @__PURE__ */ p("div", { ...r, className: `select-chart-wrap${i ? " " + i : ""}`, ref: d, children: [
|
|
5997
6004
|
m > 0 && /* @__PURE__ */ p("svg", { width: m, height: n, className: "select-chart", children: [
|
|
@@ -6038,7 +6045,7 @@ function B1({ series: t, height: n = 240, xFormat: l = ne, yFormat: c = ne, xMax
|
|
|
6038
6045
|
/* @__PURE__ */ e(se, { tip: h.tip })
|
|
6039
6046
|
] });
|
|
6040
6047
|
}
|
|
6041
|
-
const
|
|
6048
|
+
const I1 = R(function({ axes: n, series: l, size: c = 240, max: s, format: a = ne, levels: o = 4, legend: i = !0, className: r, ...d }, m) {
|
|
6042
6049
|
const h = ce(), f = ue(), g = n.length, _ = c / 2, x = c / 2, M = c / 2 - 30, S = s ?? Ge(Math.max(1, ...l.flatMap((k) => k.values))), v = (k) => (-90 + k * 360 / g) * Math.PI / 180, u = (k, w) => [_ + w * Math.cos(v(k)), x + w * Math.sin(v(k))], N = (k) => k.map((w, y) => `${y === 0 ? "M" : "L"}${u(y, w).map(($) => $.toFixed(2)).join(",")}`).join(" ") + " Z";
|
|
6043
6050
|
return /* @__PURE__ */ p("div", { ref: m, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
|
|
6044
6051
|
/* @__PURE__ */ p("div", { className: "select-radar", style: { width: c, aspectRatio: "1" }, children: [
|
|
@@ -6108,7 +6115,7 @@ const F1 = R(function({ axes: n, series: l, size: c = 240, max: s, format: a = n
|
|
|
6108
6115
|
] }, w)) })
|
|
6109
6116
|
] });
|
|
6110
6117
|
});
|
|
6111
|
-
function
|
|
6118
|
+
function R1({ links: t, height: n = 260, format: l = ne, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...o }) {
|
|
6112
6119
|
const { ref: i, width: r } = ge(n), d = ce(), m = [], h = [];
|
|
6113
6120
|
for (const b of t)
|
|
6114
6121
|
m.includes(b.source) || m.push(b.source), h.includes(b.target) || h.push(b.target);
|
|
@@ -6156,7 +6163,7 @@ function I1({ links: t, height: n = 260, format: l = ne, nodeWidth: c = 14, node
|
|
|
6156
6163
|
/* @__PURE__ */ e(se, { tip: d.tip })
|
|
6157
6164
|
] });
|
|
6158
6165
|
}
|
|
6159
|
-
function
|
|
6166
|
+
function P1({ data: t, height: n = 240, format: l = ne, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...o }) {
|
|
6160
6167
|
const { ref: i, width: r } = ge(n), d = ce(), m = lt, h = Math.max(0, r - m.left - m.right), f = n - m.top - m.bottom, g = m.top + f, _ = Math.max(1, ...t.map(($) => $.high)), x = Math.min(_, ...t.map(($) => $.low)), M = (_ - x) * 0.08 || 1, S = x - M, v = _ + M, u = ($) => g - ($ - S) / (v - S) * f, N = t.length, k = N ? h / N : 0, w = Math.min(k * 0.5, 18), y = Array.from({ length: 5 }, ($, b) => S + (v - S) * b / 4);
|
|
6161
6168
|
return /* @__PURE__ */ p("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
6162
6169
|
r > 0 && /* @__PURE__ */ p("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -6264,7 +6271,7 @@ function T1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
|
6264
6271
|
/* @__PURE__ */ e(se, { tip: i.tip })
|
|
6265
6272
|
] });
|
|
6266
6273
|
}
|
|
6267
|
-
function
|
|
6274
|
+
function D1({ data: t, height: n, min: l, max: c, format: s = ne, labelWidth: a = 96, className: o, ...i }) {
|
|
6268
6275
|
const f = n ?? t.length * 36 + 6 + 26, { ref: g, width: _ } = ge(f), x = ce(), M = ue(), S = l ?? Math.min(0, ...t.map((A) => A.start)), u = (c ?? Math.max(1, ...t.map((A) => A.end))) - S || 1, N = a, k = Math.max(0, _ - N - 14), w = f - 6 - 26, y = t.length ? w / t.length : 0, $ = Math.min(y * 0.6, 22), b = (A) => N + (A - S) / u * k, C = Array.from({ length: 5 }, (A, B) => S + u * B / 4);
|
|
6269
6276
|
return /* @__PURE__ */ p("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: g, children: [
|
|
6270
6277
|
_ > 0 && /* @__PURE__ */ p("svg", { width: _, height: f, className: "select-chart", children: [
|
|
@@ -6319,7 +6326,7 @@ function P1({ data: t, height: n, min: l, max: c, format: s = ne, labelWidth: a
|
|
|
6319
6326
|
/* @__PURE__ */ e(se, { tip: x.tip })
|
|
6320
6327
|
] });
|
|
6321
6328
|
}
|
|
6322
|
-
const
|
|
6329
|
+
const O1 = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels: c = ["Seg", "", "Qua", "", "Sex", "", "Dom"], columnLabels: s, format: a = ne, cell: o = 14, gap: i = 3, min: r, max: d, className: m, ...h }, f) {
|
|
6323
6330
|
const g = ce();
|
|
6324
6331
|
ue();
|
|
6325
6332
|
const _ = n.flat().filter(($) => $ != null && Number.isFinite($)), x = r ?? (_.length ? Math.min(..._) : 0), S = (d ?? (_.length ? Math.max(..._) : 1)) - x || 1, v = 30, u = s ? 16 : 4, N = o + i, k = v + n.length * N, w = u + 7 * N, y = { "--heat-color": l };
|
|
@@ -6363,7 +6370,7 @@ const D1 = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
6363
6370
|
] }),
|
|
6364
6371
|
/* @__PURE__ */ e(se, { tip: g.tip })
|
|
6365
6372
|
] });
|
|
6366
|
-
}),
|
|
6373
|
+
}), W1 = R(function({ segments: n, size: l = 200, format: c = ne, legend: s = !0, rose: a = !1, className: o, ...i }, r) {
|
|
6367
6374
|
const d = ce(), m = l / 2, h = l / 2, f = l / 2 - 2, g = n.length || 1, _ = Ge(Math.max(1, ...n.map((S) => S.value))), x = (S) => a ? Math.max(0, S) / _ * f : Math.sqrt(Math.max(0, S) / _) * f, M = 360 / g;
|
|
6368
6375
|
return /* @__PURE__ */ p("div", { ref: r, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
6369
6376
|
/* @__PURE__ */ p("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -6394,7 +6401,7 @@ const D1 = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
6394
6401
|
] }, v)) })
|
|
6395
6402
|
] });
|
|
6396
6403
|
});
|
|
6397
|
-
function
|
|
6404
|
+
function H1({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = ne, className: a, ...o }) {
|
|
6398
6405
|
const { ref: i, width: r } = ge(c), d = ce(), m = { top: 24, right: 64, bottom: 12, left: 132 }, h = Ge(Math.max(1, ...t.flatMap((M) => [M.left, M.right]))), f = c - m.top - m.bottom, g = (M) => m.top + f - M / h * f, _ = m.left, x = r - m.right;
|
|
6399
6406
|
return /* @__PURE__ */ p("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
6400
6407
|
r > 0 && /* @__PURE__ */ p("svg", { width: r, height: c, className: "select-chart", children: [
|
|
@@ -6441,7 +6448,7 @@ function W1({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
|
|
|
6441
6448
|
/* @__PURE__ */ e(se, { tip: d.tip })
|
|
6442
6449
|
] });
|
|
6443
6450
|
}
|
|
6444
|
-
function
|
|
6451
|
+
function j1({ data: t, height: n, format: l = ne, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: o, ...i }) {
|
|
6445
6452
|
const f = n ?? t.length * 34 + 6 + 26, { ref: g, width: _ } = ge(f), x = ce(), M = "var(--select-chart-2)", S = "var(--select-chart-1)", v = Ge(Math.max(1, ...t.flatMap(($) => [$.from, $.to]))), u = a, N = Math.max(0, _ - u - 14), k = f - 6 - 26, w = t.length ? k / t.length : 0, y = ($) => u + $ / v * N;
|
|
6446
6453
|
return /* @__PURE__ */ p("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: g, children: [
|
|
6447
6454
|
_ > 0 && /* @__PURE__ */ p("svg", { width: _, height: f, className: "select-chart", children: [
|
|
@@ -6493,7 +6500,7 @@ function H1({ data: t, height: n, format: l = ne, fromLabel: c = "Antes", toLabe
|
|
|
6493
6500
|
/* @__PURE__ */ e(se, { tip: x.tip })
|
|
6494
6501
|
] });
|
|
6495
6502
|
}
|
|
6496
|
-
function
|
|
6503
|
+
function Z1({ columns: t, height: n = 240, format: l = ne, gap: c = 3, className: s, ...a }) {
|
|
6497
6504
|
const { ref: o, width: i } = ge(n), r = ce(), d = { top: 6, right: 6, bottom: 24, left: 6 }, m = Math.max(0, i - d.left - d.right), h = n - d.top - d.bottom, f = t.map((u) => u.segments.reduce((N, k) => N + k.value, 0)), g = f.reduce((u, N) => u + N, 0) || 1, _ = [];
|
|
6498
6505
|
t.forEach((u) => u.segments.forEach((N) => {
|
|
6499
6506
|
_.includes(N.key) || _.push(N.key);
|
|
@@ -6545,7 +6552,7 @@ function j1({ columns: t, height: n = 240, format: l = ne, gap: c = 3, className
|
|
|
6545
6552
|
/* @__PURE__ */ e(se, { tip: r.tip })
|
|
6546
6553
|
] });
|
|
6547
6554
|
}
|
|
6548
|
-
const
|
|
6555
|
+
const V1 = R(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: o, format: i = (h) => `${Math.round(h)}`, className: r, ...d }, m) {
|
|
6549
6556
|
const h = a ?? Math.max(10, Math.round(s * 0.08)), f = h / 2 + 2, g = s / 2 - f, _ = s / 2, x = s / 2, M = x + f, S = (A) => Math.max(0, Math.min(l, A)), v = (A) => {
|
|
6550
6557
|
const B = Math.PI + A * Math.PI;
|
|
6551
6558
|
return [_ + g * Math.cos(B), x + g * Math.sin(B)];
|
|
@@ -6570,7 +6577,7 @@ const Z1 = R(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
|
|
|
6570
6577
|
] })
|
|
6571
6578
|
] }) });
|
|
6572
6579
|
});
|
|
6573
|
-
function
|
|
6580
|
+
function G1({ series: t, labels: n, height: l = 240, format: c = ne, className: s, ...a }) {
|
|
6574
6581
|
const { ref: o, width: i } = ge(l), r = ce(), d = ue(), [m, h] = O(null), f = n.length, g = { top: 14, right: 14, bottom: 28, left: 14 }, _ = Math.max(0, i - g.left - g.right), x = l - g.top - g.bottom, M = n.map((w, y) => t.reduce(($, b) => $ + (b.data[y] ?? 0), 0)), S = Math.max(1, ...M), v = x / S, u = (w) => g.left + (f <= 1 ? _ / 2 : w / (f - 1) * _), N = n.map(() => 0), k = t.map((w, y) => {
|
|
6575
6582
|
const $ = [], b = [];
|
|
6576
6583
|
return n.forEach((C, A) => {
|
|
@@ -6616,7 +6623,7 @@ function V1({ series: t, labels: n, height: l = 240, format: c = ne, className:
|
|
|
6616
6623
|
/* @__PURE__ */ e(se, { tip: r.tip })
|
|
6617
6624
|
] });
|
|
6618
6625
|
}
|
|
6619
|
-
const
|
|
6626
|
+
const U1 = R(function({ data: n, size: l = 220, format: c = ne, legend: s = !0, className: a, ...o }, i) {
|
|
6620
6627
|
const r = ce(), d = l / 2, m = l / 2, h = l / 2 - 2, f = h * 0.62, g = h * 0.32, _ = n.map((S) => {
|
|
6621
6628
|
var v;
|
|
6622
6629
|
return (v = S.children) != null && v.length ? S.children.reduce((u, N) => u + N.value, 0) : S.value ?? 0;
|
|
@@ -6677,7 +6684,7 @@ const G1 = R(function({ data: n, size: l = 220, format: c = ne, legend: s = !0,
|
|
|
6677
6684
|
] }, v)) })
|
|
6678
6685
|
] });
|
|
6679
6686
|
});
|
|
6680
|
-
function
|
|
6687
|
+
function q1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
6681
6688
|
const { ref: a, width: o } = ge(n), i = ce(), r = lt, d = Math.max(0, o - r.left - r.right), m = n - r.top - r.bottom, h = r.top + m, f = Ge(Math.max(1, ...t.map((v) => v.max))), g = (v) => h - v / f * m, _ = t.length, x = _ ? d / _ : 0, M = Math.min(x * 0.42, 46), S = Math.max(1, ...t.flatMap((v) => v.bins));
|
|
6682
6689
|
return /* @__PURE__ */ p("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
6683
6690
|
o > 0 && /* @__PURE__ */ p("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -6731,7 +6738,7 @@ function U1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
|
6731
6738
|
/* @__PURE__ */ e(se, { tip: i.tip })
|
|
6732
6739
|
] });
|
|
6733
6740
|
}
|
|
6734
|
-
const
|
|
6741
|
+
const z1 = R(function({ matrix: n, labels: l, size: c = 240, format: s = ne, padAngle: a = 0.05, className: o, ...i }, r) {
|
|
6735
6742
|
const d = ce(), m = l.length, h = c / 2, f = c / 2, g = c / 2 - 22, _ = g - 9, x = n.map((b) => b.reduce((C, A) => C + A, 0)), M = x.reduce((b, C) => b + C, 0) || 1, S = (2 * Math.PI - m * a) / M, v = [];
|
|
6736
6743
|
let u = 0;
|
|
6737
6744
|
for (let b = 0; b < m; b++) {
|
|
@@ -6747,8 +6754,8 @@ const q1 = R(function({ matrix: n, labels: l, size: c = 240, format: s = ne, pad
|
|
|
6747
6754
|
}
|
|
6748
6755
|
}
|
|
6749
6756
|
const k = (b, C) => [h + C * Math.cos(b - Math.PI / 2), f + C * Math.sin(b - Math.PI / 2)], w = (b, C, A, B) => {
|
|
6750
|
-
const [L, E] = k(b, _), [F, D] = k(C, _), [Z,
|
|
6751
|
-
return `M${L.toFixed(2)},${E.toFixed(2)} A${_},${_} 0 0 1 ${F.toFixed(2)},${D.toFixed(2)} Q${h},${f} ${Z.toFixed(2)},${
|
|
6757
|
+
const [L, E] = k(b, _), [F, D] = k(C, _), [Z, P] = k(A, _), [T, W] = k(B, _);
|
|
6758
|
+
return `M${L.toFixed(2)},${E.toFixed(2)} A${_},${_} 0 0 1 ${F.toFixed(2)},${D.toFixed(2)} Q${h},${f} ${Z.toFixed(2)},${P.toFixed(2)} A${_},${_} 0 0 1 ${T.toFixed(2)},${W.toFixed(2)} Q${h},${f} ${L.toFixed(2)},${E.toFixed(2)} Z`;
|
|
6752
6759
|
}, y = (b) => b * 180 / Math.PI, $ = [];
|
|
6753
6760
|
for (let b = 0; b < m; b++)
|
|
6754
6761
|
for (let C = b; C < m; C++) {
|
|
@@ -6796,11 +6803,11 @@ const q1 = R(function({ matrix: n, labels: l, size: c = 240, format: s = ne, pad
|
|
|
6796
6803
|
/* @__PURE__ */ e(se, { tip: d.tip })
|
|
6797
6804
|
] }) });
|
|
6798
6805
|
});
|
|
6799
|
-
function
|
|
6806
|
+
function Y1({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: o = ne, className: i, ...r }) {
|
|
6800
6807
|
const { ref: d, width: m } = ge(n), h = ce(), f = 12, g = Math.max(0, m - f * 2), _ = n - f * 2, x = s ?? Math.max(1, ...t.map((C) => C.x)), M = a ?? Math.max(1, ...t.map((C) => C.y)), S = (C) => f + C / x * g, v = (C) => f + _ - C / M * _, u = l, N = Math.sqrt(3), k = (C, A) => {
|
|
6801
6808
|
let B = C, L = A, E = -B - L, F = Math.round(B), D = Math.round(E), Z = Math.round(L);
|
|
6802
|
-
const
|
|
6803
|
-
return
|
|
6809
|
+
const P = Math.abs(F - B), T = Math.abs(D - E), W = Math.abs(Z - L);
|
|
6810
|
+
return P > T && P > W ? F = -D - Z : T > W ? D = -F - Z : Z = -F - D, [F, Z];
|
|
6804
6811
|
}, w = (C, A) => [u * N * (C + A / 2), u * (3 / 2) * A], y = (C, A) => {
|
|
6805
6812
|
let B = "";
|
|
6806
6813
|
for (let L = 0; L < 6; L++) {
|
|
@@ -6837,7 +6844,7 @@ function z1({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
|
|
|
6837
6844
|
/* @__PURE__ */ e(se, { tip: h.tip })
|
|
6838
6845
|
] });
|
|
6839
6846
|
}
|
|
6840
|
-
const
|
|
6847
|
+
const K1 = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, o) {
|
|
6841
6848
|
const i = n.map((f) => f.value), r = Math.max(1, ...i), d = Math.min(...i), m = r - d || 1, h = (f) => l + (f - d) / m * (c - l);
|
|
6842
6849
|
return /* @__PURE__ */ e("div", { ref: o, ...a, className: `select-wordcloud${s ? " " + s : ""}`, children: n.map((f, g) => /* @__PURE__ */ e(
|
|
6843
6850
|
"span",
|
|
@@ -6998,11 +7005,11 @@ function Il(t, n, l) {
|
|
|
6998
7005
|
const a = Math.sin(s), o = Math.sin((1 - l) * s) / a, i = Math.sin(l * s) / a;
|
|
6999
7006
|
return [t[0] * o + n[0] * i, t[1] * o + n[1] * i, t[2] * o + n[2] * i];
|
|
7000
7007
|
}
|
|
7001
|
-
const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6,
|
|
7008
|
+
const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, X1 = R(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: o = 7, color: i = "var(--select-chart-1)", format: r = ne, legend: d = !0, map: m = !0, fluid: h = !1, onZoomChange: f, className: g, ..._ }, x) {
|
|
7002
7009
|
var qe;
|
|
7003
7010
|
const M = ue(), S = ce(), v = X(null), u = gn(v, c), N = n.length ? n.reduce((I, G) => I + G.lng, 0) / n.length : 0, k = X(
|
|
7004
7011
|
typeof window < "u" && !!((qe = window.matchMedia) != null && qe.call(window, "(prefers-reduced-motion: reduce)").matches)
|
|
7005
|
-
), w = X({ lng: -N, lat: s }), y = X({ lng: 0, lat: 0 }), $ = X(1), b = X(null), C = X(null), A = X(!1), B = X(0), L = X(0), E = X(0), [, F] = O(0), [D, Z] = O(!1), [
|
|
7012
|
+
), w = X({ lng: -N, lat: s }), y = X({ lng: 0, lat: 0 }), $ = X(1), b = X(null), C = X(null), A = X(!1), B = X(0), L = X(0), E = X(0), [, F] = O(0), [D, Z] = O(!1), [P, T] = O(null), W = () => {
|
|
7006
7013
|
L.current || (E.current = performance.now(), L.current = requestAnimationFrame(Q));
|
|
7007
7014
|
};
|
|
7008
7015
|
function Q(I) {
|
|
@@ -7107,17 +7114,17 @@ const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7107
7114
|
V.z > 0 ? (G += `${z ? "L" : "M"}${V.x.toFixed(1)},${V.y.toFixed(1)}`, z = !0) : z = !1;
|
|
7108
7115
|
}
|
|
7109
7116
|
return G;
|
|
7110
|
-
},
|
|
7117
|
+
}, Pe = Math.max(1, ...n.map((I) => I.value ?? 0)), ie = n.map((I, G) => {
|
|
7111
7118
|
const z = ee(Ft(I.lat, I.lng));
|
|
7112
7119
|
return {
|
|
7113
7120
|
...I,
|
|
7114
7121
|
i: G,
|
|
7115
7122
|
p: z,
|
|
7116
7123
|
vis: z.z > 0,
|
|
7117
|
-
r: 3 + Math.max(0, I.value ?? 0) /
|
|
7124
|
+
r: 3 + Math.max(0, I.value ?? 0) / Pe * 6,
|
|
7118
7125
|
col: I.color ?? i
|
|
7119
7126
|
};
|
|
7120
|
-
}), Ae =
|
|
7127
|
+
}), Ae = P != null ? n[P] : null, Ue = 0.16, De = l.map((I, G) => {
|
|
7121
7128
|
const z = Ft(I.from.lat, I.from.lng), xe = Ft(I.to.lat, I.to.lng);
|
|
7122
7129
|
let V = "", j = !1;
|
|
7123
7130
|
for (let _e = 0; _e <= 40; _e++) {
|
|
@@ -7126,7 +7133,7 @@ const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7126
7133
|
}
|
|
7127
7134
|
const Y = k.current ? 0.5 : (B.current * Ue + G * 0.27) % 1, K = Il(z, xe, Y), te = 1 + 0.34 * Math.sin(Math.PI * Y), de = on(K, w.current.lng, w.current.lat), me = ee([K[0] * te, K[1] * te, K[2] * te]), fe = Ae != null && (Rl(I.from, Ae) || Rl(I.to, Ae));
|
|
7128
7135
|
return { d: V, col: I.color ?? i, i: G, flow: { ...me, vis: de[2] > 0 }, active: fe };
|
|
7129
|
-
}),
|
|
7136
|
+
}), Te = Ae != null, Ke = d ? [...n].sort((I, G) => (G.value ?? 0) - (I.value ?? 0)).slice(0, 6) : [];
|
|
7130
7137
|
return /* @__PURE__ */ p("div", { ref: x, ..._, className: `select-globe${g ? " " + g : ""}`, children: [
|
|
7131
7138
|
/* @__PURE__ */ p(
|
|
7132
7139
|
"div",
|
|
@@ -7138,7 +7145,7 @@ const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7138
7145
|
A.current = !0;
|
|
7139
7146
|
},
|
|
7140
7147
|
onPointerLeave: (I) => {
|
|
7141
|
-
A.current = !1, Fe(I),
|
|
7148
|
+
A.current = !1, Fe(I), T(null), S.hide(), W();
|
|
7142
7149
|
},
|
|
7143
7150
|
onPointerDown: oe,
|
|
7144
7151
|
onPointerMove: ae,
|
|
@@ -7206,7 +7213,7 @@ const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7206
7213
|
"g",
|
|
7207
7214
|
{
|
|
7208
7215
|
className: "select-globe__arcgrp",
|
|
7209
|
-
style: { opacity:
|
|
7216
|
+
style: { opacity: Te && !I.active ? 0.18 : 1 },
|
|
7210
7217
|
children: [
|
|
7211
7218
|
/* @__PURE__ */ e(
|
|
7212
7219
|
"path",
|
|
@@ -7234,8 +7241,8 @@ const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7234
7241
|
))
|
|
7235
7242
|
] }),
|
|
7236
7243
|
ie.filter((I) => I.vis).map((I) => {
|
|
7237
|
-
const G =
|
|
7238
|
-
return /* @__PURE__ */ p("g", { style: { opacity:
|
|
7244
|
+
const G = P === I.i;
|
|
7245
|
+
return /* @__PURE__ */ p("g", { style: { opacity: Te && !G ? 0.45 : 1 }, children: [
|
|
7239
7246
|
/* @__PURE__ */ e("circle", { cx: I.p.x, cy: I.p.y, r: I.r, fill: I.col, className: "select-globe__pulse" }),
|
|
7240
7247
|
G && /* @__PURE__ */ e("circle", { cx: I.p.x, cy: I.p.y, r: I.r + 4, fill: "none", stroke: I.col, strokeWidth: 1.5, opacity: 0.6 }),
|
|
7241
7248
|
/* @__PURE__ */ e(
|
|
@@ -7247,7 +7254,7 @@ const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7247
7254
|
fill: I.col,
|
|
7248
7255
|
className: "select-globe__point",
|
|
7249
7256
|
onPointerEnter: () => {
|
|
7250
|
-
|
|
7257
|
+
T(I.i), S.show({
|
|
7251
7258
|
x: I.p.x,
|
|
7252
7259
|
y: I.p.y - I.r - 4,
|
|
7253
7260
|
place: I.p.y < J ? "bottom" : "top",
|
|
@@ -7256,7 +7263,7 @@ const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7256
7263
|
});
|
|
7257
7264
|
},
|
|
7258
7265
|
onPointerLeave: () => {
|
|
7259
|
-
|
|
7266
|
+
T(null), S.hide();
|
|
7260
7267
|
},
|
|
7261
7268
|
onClick: () => {
|
|
7262
7269
|
b.current = { lng: -I.lng, lat: s }, W();
|
|
@@ -7277,7 +7284,7 @@ const Rl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7277
7284
|
] }, G)) })
|
|
7278
7285
|
] });
|
|
7279
7286
|
});
|
|
7280
|
-
function
|
|
7287
|
+
function J1({ children: t, speed: n = 28, className: l, ...c }) {
|
|
7281
7288
|
const s = X(null), a = X(null), o = X(null), i = gn(s, 0), r = gn(o, 0), d = i > 0 && r > i + 1, m = X(0), h = X(null), f = X(!1);
|
|
7282
7289
|
he(() => {
|
|
7283
7290
|
var k;
|
|
@@ -7325,7 +7332,7 @@ function X1({ children: t, speed: n = 28, className: l, ...c }) {
|
|
|
7325
7332
|
}
|
|
7326
7333
|
);
|
|
7327
7334
|
}
|
|
7328
|
-
function
|
|
7335
|
+
function Q1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
7329
7336
|
var L;
|
|
7330
7337
|
const { ref: a, width: o } = ge(n), i = ce(), r = ue(), [d, m] = O(null), h = { ...lt, right: 44 }, f = [...t].sort((E, F) => F.value - E.value), g = f.length, _ = f.reduce((E, F) => E + F.value, 0) || 1;
|
|
7331
7338
|
let x = 0;
|
|
@@ -7392,7 +7399,7 @@ function J1({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
|
7392
7399
|
/* @__PURE__ */ e(se, { tip: i.tip })
|
|
7393
7400
|
] });
|
|
7394
7401
|
}
|
|
7395
|
-
const
|
|
7402
|
+
const ei = R(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ne, className: a, ...o }, i) {
|
|
7396
7403
|
const r = n.reduce((x, M) => x + M.value, 0) || 1, d = l * c, m = n.map((x) => x.value / r * d), h = m.map(Math.floor);
|
|
7397
7404
|
let f = h.reduce((x, M) => x + M, 0);
|
|
7398
7405
|
const g = m.map((x, M) => ({ i: M, frac: x - h[M] })).sort((x, M) => M.frac - x.frac);
|
|
@@ -7411,7 +7418,7 @@ const Q1 = R(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ne,
|
|
|
7411
7418
|
] }, M)) })
|
|
7412
7419
|
] });
|
|
7413
7420
|
});
|
|
7414
|
-
function
|
|
7421
|
+
function ti({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = ne, leftColor: a, rightColor: o, centerWidth: i = 84, className: r, ...d }) {
|
|
7415
7422
|
const m = c ?? Math.max(180, t.length * 40 + 36), { ref: h, width: f } = ge(m), g = ce(), [_, x] = O(null), M = 8, S = 26, v = 8, u = Math.max(1, ...t.flatMap((A) => [A.left, A.right])), N = Math.max(0, (f - i - M * 2) / 2), k = t.length ? (m - S - v) / t.length : 0, w = Math.min(k * 0.6, 26), y = M + N, $ = M + N + i, b = a ?? U(1), C = o ?? U(0);
|
|
7416
7423
|
return /* @__PURE__ */ p("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: h, children: [
|
|
7417
7424
|
f > 0 && /* @__PURE__ */ p("svg", { width: f, height: m, className: "select-chart", onMouseLeave: () => {
|
|
@@ -7465,7 +7472,7 @@ function ei({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
|
|
|
7465
7472
|
/* @__PURE__ */ e(se, { tip: g.tip })
|
|
7466
7473
|
] });
|
|
7467
7474
|
}
|
|
7468
|
-
function
|
|
7475
|
+
function ni({ series: t, labels: n, height: l = 240, format: c = ne, className: s, ...a }) {
|
|
7469
7476
|
const { ref: o, width: i } = ge(l), r = ce(), [d, m] = O(null), h = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, g = t.length, _ = Math.max(0, i - h.left - h.right), x = l - h.top - h.bottom, M = t.map(() => new Array(f).fill(0));
|
|
7470
7477
|
for (let u = 0; u < f; u++)
|
|
7471
7478
|
t.map((k, w) => ({ si: w, v: k.data[u] ?? 0 })).sort((k, w) => w.v - k.v).forEach((k, w) => {
|
|
@@ -7513,7 +7520,7 @@ function ti({ series: t, labels: n, height: l = 240, format: c = ne, className:
|
|
|
7513
7520
|
/* @__PURE__ */ e(se, { tip: r.tip })
|
|
7514
7521
|
] });
|
|
7515
7522
|
}
|
|
7516
|
-
function
|
|
7523
|
+
function li({ axes: t, data: n, height: l = 260, format: c = ne, className: s, ...a }) {
|
|
7517
7524
|
const { ref: o, width: i } = ge(l), r = ce(), [d, m] = O(null), h = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, i - h.left - h.right), g = l - h.top - h.bottom, _ = t.length, x = (v) => h.left + (_ <= 1 ? f / 2 : f / (_ - 1) * v), M = t.map((v) => {
|
|
7518
7525
|
const u = n.map((N) => N.values[v.key] ?? 0);
|
|
7519
7526
|
return { min: Math.min(...u), max: Math.max(...u) };
|
|
@@ -7570,7 +7577,7 @@ function pn(t) {
|
|
|
7570
7577
|
function Mc(t, n = 0) {
|
|
7571
7578
|
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Mc(l, n + 1)));
|
|
7572
7579
|
}
|
|
7573
|
-
function
|
|
7580
|
+
function ci({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
7574
7581
|
const { ref: a, width: o } = ge(n), i = ce(), [r, d] = O(null), m = Mc(t), h = n / (m + 1), f = [], g = (_, x, M, S, v) => {
|
|
7575
7582
|
if (f.push({ node: _, x0: x, x1: M, depth: S, color: _.color ?? U(v), value: pn(_) }), _.children && _.children.length) {
|
|
7576
7583
|
const u = _.children.reduce((k, w) => k + pn(w), 0) || 1;
|
|
@@ -7614,7 +7621,7 @@ function li({ data: t, height: n = 240, format: l = ne, className: c, ...s }) {
|
|
|
7614
7621
|
/* @__PURE__ */ e(se, { tip: i.tip })
|
|
7615
7622
|
] });
|
|
7616
7623
|
}
|
|
7617
|
-
function
|
|
7624
|
+
function si({ data: t, height: n = 260, className: l, ...c }) {
|
|
7618
7625
|
const { ref: s, width: a } = ge(n), o = ce(), [i, r] = O(null), d = { top: 14, right: 96, bottom: 14, left: 16 };
|
|
7619
7626
|
let m = null;
|
|
7620
7627
|
if (a > 0) {
|
|
@@ -7684,7 +7691,7 @@ function ci({ data: t, height: n = 260, className: l, ...c }) {
|
|
|
7684
7691
|
/* @__PURE__ */ e(se, { tip: o.tip })
|
|
7685
7692
|
] });
|
|
7686
7693
|
}
|
|
7687
|
-
const
|
|
7694
|
+
const ai = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
7688
7695
|
const o = Math.min(3, n.length), i = l / 2, r = l / 2, d = Math.max(1, ...n.slice(0, o).map((g) => g.size)), m = l * 0.26, h = (g) => m * 0.45 + m * 0.55 * Math.sqrt(g.size / d), f = o <= 2 ? [
|
|
7689
7696
|
[i - m * 0.42, r],
|
|
7690
7697
|
[i + m * 0.42, r]
|
|
@@ -7732,7 +7739,7 @@ const si = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
7732
7739
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: g.size.toLocaleString("pt-BR") })
|
|
7733
7740
|
] }, _)) })
|
|
7734
7741
|
] });
|
|
7735
|
-
}),
|
|
7742
|
+
}), ri = R(function({ data: n, size: l = 260, format: c = ne, className: s, ...a }, o) {
|
|
7736
7743
|
const i = ce(), [r, d] = O(null), m = Math.max(1, ...n.map((b) => b.value)), h = n.map((b, C) => ({ d: b, i: C, r: 8 + Math.sqrt(b.value / m) * 40 })).sort((b, C) => C.r - b.r), f = [];
|
|
7737
7744
|
for (const b of h) {
|
|
7738
7745
|
if (f.length === 0) {
|
|
@@ -7788,7 +7795,7 @@ const si = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
7788
7795
|
/* @__PURE__ */ e(se, { tip: i.tip })
|
|
7789
7796
|
] });
|
|
7790
7797
|
});
|
|
7791
|
-
function
|
|
7798
|
+
function oi({ nodes: t, links: n, height: l = 300, format: c = ne, className: s, ...a }) {
|
|
7792
7799
|
const { ref: o, width: i } = ge(l), r = ce(), [d, m] = O(null), h = We(() => {
|
|
7793
7800
|
const _ = i || l, x = l, M = t.length, S = /* @__PURE__ */ new Map();
|
|
7794
7801
|
if (!M) return S;
|
|
@@ -7878,11 +7885,11 @@ const Rn = [
|
|
|
7878
7885
|
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(Xc, {}) },
|
|
7879
7886
|
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Hl, {}) }
|
|
7880
7887
|
];
|
|
7881
|
-
function
|
|
7888
|
+
function ii(t) {
|
|
7882
7889
|
var n;
|
|
7883
7890
|
return t === "system" ? (n = window.matchMedia) != null && n.call(window, "(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
|
|
7884
7891
|
}
|
|
7885
|
-
function
|
|
7892
|
+
function di({ value: t, onChange: n, className: l, ...c }) {
|
|
7886
7893
|
const [s, a] = O(!1), o = X(null), i = Rn.find((r) => r.value === t) ?? Rn[2];
|
|
7887
7894
|
return he(() => {
|
|
7888
7895
|
if (!s) return;
|
|
@@ -7911,7 +7918,7 @@ function ii({ value: t, onChange: n, className: l, ...c }) {
|
|
|
7911
7918
|
] });
|
|
7912
7919
|
}
|
|
7913
7920
|
const wc = Vn(!1);
|
|
7914
|
-
function
|
|
7921
|
+
function hi({
|
|
7915
7922
|
children: t,
|
|
7916
7923
|
stacked: n = !1,
|
|
7917
7924
|
loading: l = !1
|
|
@@ -7919,20 +7926,20 @@ function di({
|
|
|
7919
7926
|
const c = wn({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
7920
7927
|
return /* @__PURE__ */ e(wc.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
|
|
7921
7928
|
}
|
|
7922
|
-
const
|
|
7929
|
+
const ui = R(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: o, ...i }, r) {
|
|
7923
7930
|
const d = Zn(wc), m = a ?? d;
|
|
7924
7931
|
return /* @__PURE__ */ p("div", { ref: r, ...i, className: `select-detail select-detail--${s}${o ? " " + o : ""}`, children: [
|
|
7925
7932
|
/* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
|
|
7926
7933
|
/* @__PURE__ */ e("div", { className: "select-detail__value", children: m ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
|
|
7927
7934
|
c && /* @__PURE__ */ e("div", { className: "select-detail__action", children: c })
|
|
7928
7935
|
] });
|
|
7929
|
-
}),
|
|
7936
|
+
}), pi = R(function({ label: n, description: l, onClick: c, icon: s, className: a, ...o }, i) {
|
|
7930
7937
|
return /* @__PURE__ */ p("button", { ref: i, ...o, type: "button", className: `select-addcard${a ? " " + a : ""}`, onClick: c, children: [
|
|
7931
7938
|
/* @__PURE__ */ e("span", { className: "select-addcard__glyph", "aria-hidden": "true", children: s ?? /* @__PURE__ */ e(St, {}) }),
|
|
7932
7939
|
/* @__PURE__ */ e("span", { className: "select-addcard__label", children: n }),
|
|
7933
7940
|
l && /* @__PURE__ */ e("span", { className: "select-addcard__desc", children: l })
|
|
7934
7941
|
] });
|
|
7935
|
-
}),
|
|
7942
|
+
}), mi = R(function({ steps: n, current: l, onSelect: c, orientation: s = "horizontal", className: a, ...o }, i) {
|
|
7936
7943
|
const r = s === "vertical";
|
|
7937
7944
|
return /* @__PURE__ */ e(
|
|
7938
7945
|
"ol",
|
|
@@ -7952,7 +7959,7 @@ const hi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7952
7959
|
})
|
|
7953
7960
|
}
|
|
7954
7961
|
);
|
|
7955
|
-
}),
|
|
7962
|
+
}), fi = R(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: o, featuresTitle: i, features: r, featured: d = !1, className: m, ...h }, f) {
|
|
7956
7963
|
return /* @__PURE__ */ p("div", { ref: f, ...h, className: `select-plan${d ? " select-plan--featured" : ""}${m ? " " + m : ""}`, children: [
|
|
7957
7964
|
/* @__PURE__ */ p("div", { className: "select-plan__top", children: [
|
|
7958
7965
|
/* @__PURE__ */ p("div", { className: "select-plan__head", children: [
|
|
@@ -7974,7 +7981,7 @@ const hi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7974
7981
|
] }, _)) })
|
|
7975
7982
|
] })
|
|
7976
7983
|
] });
|
|
7977
|
-
}),
|
|
7984
|
+
}), _i = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: o, ...i }, r) {
|
|
7978
7985
|
return /* @__PURE__ */ p("div", { ref: r, ...i, className: `select-listcard${o ? " " + o : ""}`, children: [
|
|
7979
7986
|
(n || c) && /* @__PURE__ */ p("div", { className: "select-listcard__head", children: [
|
|
7980
7987
|
/* @__PURE__ */ p("div", { className: "select-listcard__heading", children: [
|
|
@@ -7987,7 +7994,7 @@ const hi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7987
7994
|
s && /* @__PURE__ */ e("div", { className: "select-listcard__footer", children: s })
|
|
7988
7995
|
] });
|
|
7989
7996
|
});
|
|
7990
|
-
function
|
|
7997
|
+
function vi({
|
|
7991
7998
|
media: t,
|
|
7992
7999
|
title: n,
|
|
7993
8000
|
secondary: l,
|
|
@@ -8005,7 +8012,7 @@ function _i({
|
|
|
8005
8012
|
] }), i = `select-listrow${s ? " select-listrow--muted" : ""}`;
|
|
8006
8013
|
return a ? /* @__PURE__ */ e("button", { type: "button", className: `${i} select-listrow--clickable`, onClick: a, children: o }) : /* @__PURE__ */ e("div", { className: i, children: o });
|
|
8007
8014
|
}
|
|
8008
|
-
const
|
|
8015
|
+
const Pl = R(function({ src: n, alt: l = "", size: c = 40, className: s, ...a }, o) {
|
|
8009
8016
|
const [i, r] = O(!1);
|
|
8010
8017
|
return he(() => r(!1), [n]), /* @__PURE__ */ e("span", { ref: o, ...a, className: `select-thumb${s ? " " + s : ""}`, style: { width: c, height: c }, children: n && !i ? /* @__PURE__ */ e(
|
|
8011
8018
|
"img",
|
|
@@ -8027,7 +8034,7 @@ function Ka({
|
|
|
8027
8034
|
}) {
|
|
8028
8035
|
return /* @__PURE__ */ e($n, { open: t, onClose: n, title: s, size: "lg", theme: Qt(), children: /* @__PURE__ */ e("div", { className: "select-imagezoom", children: /* @__PURE__ */ e("img", { src: l, alt: c ?? s ?? "", className: "select-imagezoom__img" }) }) });
|
|
8029
8036
|
}
|
|
8030
|
-
function
|
|
8037
|
+
function gi({
|
|
8031
8038
|
src: t,
|
|
8032
8039
|
alt: n = "",
|
|
8033
8040
|
size: l = 40,
|
|
@@ -8044,13 +8051,13 @@ function vi({
|
|
|
8044
8051
|
},
|
|
8045
8052
|
"aria-label": "Ampliar imagem",
|
|
8046
8053
|
style: { all: "unset", cursor: "zoom-in", display: "inline-flex" },
|
|
8047
|
-
children: /* @__PURE__ */ e(
|
|
8054
|
+
children: /* @__PURE__ */ e(Pl, { src: t, size: l, alt: n })
|
|
8048
8055
|
}
|
|
8049
8056
|
),
|
|
8050
8057
|
s && /* @__PURE__ */ e(Ka, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
|
|
8051
|
-
] }) : /* @__PURE__ */ e(
|
|
8058
|
+
] }) : /* @__PURE__ */ e(Pl, { size: l, alt: n });
|
|
8052
8059
|
}
|
|
8053
|
-
const
|
|
8060
|
+
const bi = R(function({ media: n, title: l, secondary: c, className: s, ...a }, o) {
|
|
8054
8061
|
return /* @__PURE__ */ p("span", { ref: o, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
|
|
8055
8062
|
n && /* @__PURE__ */ e("span", { className: "select-mediacell__media", children: n }),
|
|
8056
8063
|
/* @__PURE__ */ p("span", { className: "select-mediacell__text", children: [
|
|
@@ -8059,7 +8066,7 @@ const gi = R(function({ media: n, title: l, secondary: c, className: s, ...a },
|
|
|
8059
8066
|
] })
|
|
8060
8067
|
] });
|
|
8061
8068
|
});
|
|
8062
|
-
function
|
|
8069
|
+
function xi() {
|
|
8063
8070
|
const [t, n] = O(
|
|
8064
8071
|
() => typeof navigator < "u" && navigator.onLine === !1
|
|
8065
8072
|
);
|
|
@@ -8079,7 +8086,7 @@ function bi() {
|
|
|
8079
8086
|
theme: Qt(),
|
|
8080
8087
|
title: "Sem conexão",
|
|
8081
8088
|
subtitle: "Você está offline. Assim que a conexão voltar, reconectaremos automaticamente.",
|
|
8082
|
-
children: /* @__PURE__ */ e(
|
|
8089
|
+
children: /* @__PURE__ */ e(Pt, { tone: "warning", children: "Algumas ações ficam indisponíveis até a internet voltar." })
|
|
8083
8090
|
}
|
|
8084
8091
|
);
|
|
8085
8092
|
}
|
|
@@ -8092,7 +8099,7 @@ function Xa(t) {
|
|
|
8092
8099
|
value: l == null ? "" : String(l)
|
|
8093
8100
|
})) : [];
|
|
8094
8101
|
}
|
|
8095
|
-
const
|
|
8102
|
+
const yi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: o = "Adicionar", max: i, helpText: r = "Linhas vazias serão ignoradas.", className: d, ...m }, h) {
|
|
8096
8103
|
const f = Xa(n), g = (S, v) => l(f.map((u, N) => N === S ? { ...u, ...v } : u)), _ = (S) => l(f.filter((v, u) => u !== S)), x = () => l([...f, { name: "", value: "" }]), M = i == null || f.length < i;
|
|
8097
8104
|
return /* @__PURE__ */ p("div", { ref: h, ...m, className: `select-kv${d ? " " + d : ""}`, children: [
|
|
8098
8105
|
f.map((S, v) => /* @__PURE__ */ p("div", { className: "select-kv__row", children: [
|
|
@@ -8132,7 +8139,7 @@ const xi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8132
8139
|
] }) }),
|
|
8133
8140
|
r && /* @__PURE__ */ e("p", { className: "select-kv__hint", children: r })
|
|
8134
8141
|
] });
|
|
8135
|
-
}),
|
|
8142
|
+
}), Tl = (t) => String(t).padStart(2, "0"), Ja = {
|
|
8136
8143
|
"en-US": {
|
|
8137
8144
|
weekdays: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
8138
8145
|
months: [
|
|
@@ -8175,7 +8182,7 @@ const xi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8175
8182
|
to: "Até",
|
|
8176
8183
|
cancel: "Cancelar",
|
|
8177
8184
|
apply: "Aplicar",
|
|
8178
|
-
formatDate: (t) => `${
|
|
8185
|
+
formatDate: (t) => `${Tl(t.getDate())} / ${Tl(t.getMonth() + 1)} / ${t.getFullYear()}`
|
|
8179
8186
|
}
|
|
8180
8187
|
}, ot = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), dn = (t) => new Date(t.getFullYear(), t.getMonth(), 1), xn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Dl = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), hn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), un = (t) => {
|
|
8181
8188
|
const n = /* @__PURE__ */ new Date();
|
|
@@ -8274,7 +8281,7 @@ const lr = R(function({ value: n, presets: l = Qa, onApply: c, onCancel: s, acce
|
|
|
8274
8281
|
/* @__PURE__ */ p("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
8275
8282
|
g.weekdays.map((L, E) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: L }, E)),
|
|
8276
8283
|
y.map((L) => {
|
|
8277
|
-
const E = L.getMonth() !== v.getMonth(), F = $(L), D = !!M.from && hn(L, M.from), Z = !!M.to && hn(L, M.to),
|
|
8284
|
+
const E = L.getMonth() !== v.getMonth(), F = $(L), D = !!M.from && hn(L, M.from), Z = !!M.to && hn(L, M.to), P = D || Z, T = !!M.from && !!M.to && !hn(M.from, M.to), Q = "select-datepicker__day" + (!!M.from && !!M.to && L > ot(M.from) && L < ot(M.to) ? " select-datepicker__day--in-range" : "") + (T && D ? " select-datepicker__day--range-start" : "") + (T && Z ? " select-datepicker__day--range-end" : ""), q = "select-datepicker__daybtn" + (P ? " is-selected" : "") + (hn(L, _) && !P ? " is-today" : "") + (E ? " is-outside" : "");
|
|
8278
8285
|
return /* @__PURE__ */ e("div", { className: Q, children: /* @__PURE__ */ e("button", { type: "button", className: q, disabled: F, onClick: () => C(L), children: L.getDate() }) }, L.getTime());
|
|
8279
8286
|
})
|
|
8280
8287
|
] }),
|
|
@@ -8284,16 +8291,16 @@ const lr = R(function({ value: n, presets: l = Qa, onApply: c, onCancel: s, acce
|
|
|
8284
8291
|
] })
|
|
8285
8292
|
] })
|
|
8286
8293
|
] }) });
|
|
8287
|
-
}),
|
|
8294
|
+
}), Pn = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Tn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Dn = (t) => `${String(t.getDate()).padStart(2, "0")}/${String(t.getMonth() + 1).padStart(2, "0")}/${t.getFullYear()}`;
|
|
8288
8295
|
function cr(t, n) {
|
|
8289
8296
|
var l;
|
|
8290
8297
|
for (const c of n) {
|
|
8291
8298
|
const s = (l = c.range) == null ? void 0 : l.call(c);
|
|
8292
|
-
if (s != null && s.from && (s != null && s.to) &&
|
|
8299
|
+
if (s != null && s.from && (s != null && s.to) && Tn(s.from, t.start) && Tn(s.to, t.end)) return c.label;
|
|
8293
8300
|
}
|
|
8294
|
-
return
|
|
8301
|
+
return Tn(t.start, t.end) ? Dn(t.start) : `${Dn(t.start)} – ${Dn(t.end)}`;
|
|
8295
8302
|
}
|
|
8296
|
-
function
|
|
8303
|
+
function Ni({
|
|
8297
8304
|
value: t,
|
|
8298
8305
|
onChange: n,
|
|
8299
8306
|
presets: l = tr,
|
|
@@ -8303,7 +8310,7 @@ function yi({
|
|
|
8303
8310
|
disabled: o = !1,
|
|
8304
8311
|
block: i = !1
|
|
8305
8312
|
}) {
|
|
8306
|
-
const [r, d] = O(!1), m = c === null ? null : c ??
|
|
8313
|
+
const [r, d] = O(!1), m = c === null ? null : c ?? Pn(/* @__PURE__ */ new Date());
|
|
8307
8314
|
return /* @__PURE__ */ e(
|
|
8308
8315
|
dt,
|
|
8309
8316
|
{
|
|
@@ -8335,7 +8342,7 @@ function yi({
|
|
|
8335
8342
|
value: { from: t.start, to: t.end },
|
|
8336
8343
|
onCancel: () => d(!1),
|
|
8337
8344
|
onApply: (h) => {
|
|
8338
|
-
h.from && n({ start:
|
|
8345
|
+
h.from && n({ start: Pn(h.from), end: Pn(h.to ?? h.from) }), d(!1);
|
|
8339
8346
|
}
|
|
8340
8347
|
}
|
|
8341
8348
|
)
|
|
@@ -8351,7 +8358,7 @@ function sr({ size: t }) {
|
|
|
8351
8358
|
}
|
|
8352
8359
|
) });
|
|
8353
8360
|
}
|
|
8354
|
-
const
|
|
8361
|
+
const Mi = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: o = !1, className: i, ...r }, d) {
|
|
8355
8362
|
const m = !!c && !o, [h, f] = O(null), g = h ?? n;
|
|
8356
8363
|
return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-rating${m ? " select-rating--interactive" : ""}${i ? " " + i : ""}`, role: m ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": m ? n : void 0, "aria-valuemin": m ? 0 : void 0, "aria-valuemax": m ? l : void 0, onMouseLeave: () => m && f(null), children: Array.from({ length: l }, (_, x) => {
|
|
8357
8364
|
const M = x < g, S = /* @__PURE__ */ e("span", { className: `select-rating__star${M ? " is-filled" : ""}`, children: /* @__PURE__ */ e(sr, { size: s }) });
|
|
@@ -8370,7 +8377,7 @@ const Ni = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8370
8377
|
x
|
|
8371
8378
|
) : /* @__PURE__ */ e("span", { children: S }, x);
|
|
8372
8379
|
}) });
|
|
8373
|
-
}),
|
|
8380
|
+
}), wi = R(function({ label: n, value: l, onChange: c, min: s, max: a, step: o = 1, decimal: i = !1, disabled: r = !1, hint: d, error: m, onBlur: h, placeholder: f, size: g = "md", className: _, ...x }, M) {
|
|
8374
8381
|
const S = ue(), v = (E) => Math.min(a ?? 1 / 0, Math.max(s ?? -1 / 0, E)), u = (E) => Math.round(E * 1e6) / 1e6, N = l ?? 0, k = s != null && N <= s, w = a != null && N >= a, [y, $] = O(!1), [b, C] = O(""), A = i && y ? b : l == null ? "" : String(l), B = (E) => {
|
|
8375
8382
|
const F = i ? E.replace(/[^\d.,-]/g, "").replace(",", ".") : E.replace(/[^\d-]/g, "");
|
|
8376
8383
|
if (i && C(F), F === "" || F === "-" || F === ".") return c(null);
|
|
@@ -8430,7 +8437,7 @@ const Ni = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8430
8437
|
m ? /* @__PURE__ */ e("p", { className: "select-field__error", children: m }) : d ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: d }) : null
|
|
8431
8438
|
] });
|
|
8432
8439
|
});
|
|
8433
|
-
function
|
|
8440
|
+
function ki({
|
|
8434
8441
|
items: t,
|
|
8435
8442
|
onChange: n,
|
|
8436
8443
|
renderRow: l,
|
|
@@ -8485,7 +8492,7 @@ function wi({
|
|
|
8485
8492
|
] })
|
|
8486
8493
|
] });
|
|
8487
8494
|
}
|
|
8488
|
-
function
|
|
8495
|
+
function $i({
|
|
8489
8496
|
title: t,
|
|
8490
8497
|
subtitle: n,
|
|
8491
8498
|
backTo: l,
|
|
@@ -8508,7 +8515,7 @@ function ki({
|
|
|
8508
8515
|
primaryAction: { content: a, onAction: c, loading: s, disabled: o },
|
|
8509
8516
|
secondaryActions: i ? [{ content: "Cancelar", onAction: () => h(i), disabled: s }] : void 0,
|
|
8510
8517
|
children: /* @__PURE__ */ p(On, { gap: "400", children: [
|
|
8511
|
-
r != null && /* @__PURE__ */ e(
|
|
8518
|
+
r != null && /* @__PURE__ */ e(Pt, { tone: "critical", children: r }),
|
|
8512
8519
|
d != null ? /* @__PURE__ */ p("div", { className: "select-builder-split", children: [
|
|
8513
8520
|
/* @__PURE__ */ e("div", { className: "select-builder-split__form", children: m }),
|
|
8514
8521
|
/* @__PURE__ */ e("div", { className: "select-builder-split__preview", children: d })
|
|
@@ -8517,7 +8524,7 @@ function ki({
|
|
|
8517
8524
|
}
|
|
8518
8525
|
);
|
|
8519
8526
|
}
|
|
8520
|
-
function
|
|
8527
|
+
function Si({
|
|
8521
8528
|
title: t,
|
|
8522
8529
|
subtitle: n,
|
|
8523
8530
|
backTo: l,
|
|
@@ -8572,7 +8579,7 @@ function $i({
|
|
|
8572
8579
|
/* @__PURE__ */ e(Re, { inline: !0, size: "sm", onClick: c, loading: s, disabled: o, children: a })
|
|
8573
8580
|
] })
|
|
8574
8581
|
] }),
|
|
8575
|
-
r != null && r !== "" && /* @__PURE__ */ e("div", { className: "select-bwork__error", children: /* @__PURE__ */ e(
|
|
8582
|
+
r != null && r !== "" && /* @__PURE__ */ e("div", { className: "select-bwork__error", children: /* @__PURE__ */ e(Pt, { tone: "critical", children: r }) }),
|
|
8576
8583
|
/* @__PURE__ */ p("div", { className: "select-bwork__body", children: [
|
|
8577
8584
|
/* @__PURE__ */ p("nav", { className: "select-bwork__rail", "aria-label": "Seções de configuração", children: [
|
|
8578
8585
|
f && /* @__PURE__ */ e("div", { className: "select-bwork__search", children: /* @__PURE__ */ e(tl, { value: N, onChange: k, placeholder: "Buscar ajuste…" }) }),
|
|
@@ -8609,7 +8616,7 @@ function $i({
|
|
|
8609
8616
|
] })
|
|
8610
8617
|
] });
|
|
8611
8618
|
}
|
|
8612
|
-
const
|
|
8619
|
+
const Ci = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, help: o, className: i, ...r }, d) {
|
|
8613
8620
|
return /* @__PURE__ */ p("div", { ref: d, ...r, className: `select-switchfield${s ? " is-disabled" : ""}${i ? " " + i : ""}`, children: [
|
|
8614
8621
|
/* @__PURE__ */ p("div", { className: "select-switchfield__row", children: [
|
|
8615
8622
|
/* @__PURE__ */ e(Jn, { checked: l, onChange: c, disabled: s, label: n }),
|
|
@@ -8628,7 +8635,7 @@ const Si = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
|
|
|
8628
8635
|
a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
|
|
8629
8636
|
] });
|
|
8630
8637
|
}), ar = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
|
|
8631
|
-
function
|
|
8638
|
+
function Li({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
|
|
8632
8639
|
return /* @__PURE__ */ e(
|
|
8633
8640
|
pt,
|
|
8634
8641
|
{
|
|
@@ -8665,7 +8672,7 @@ function rr(t) {
|
|
|
8665
8672
|
c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
|
|
8666
8673
|
});
|
|
8667
8674
|
}
|
|
8668
|
-
const
|
|
8675
|
+
const Ai = R(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: o, hint: i, uploadFile: r, className: d, ...m }, h) {
|
|
8669
8676
|
const [f, g] = O([]), [_, x] = O(null), M = l ? [l] : [], S = async (v) => {
|
|
8670
8677
|
const u = v[0];
|
|
8671
8678
|
if (!u) {
|
|
@@ -8703,7 +8710,7 @@ const Li = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8703
8710
|
),
|
|
8704
8711
|
_ && /* @__PURE__ */ e("span", { className: "select-imagefield__error", children: _ })
|
|
8705
8712
|
] });
|
|
8706
|
-
}),
|
|
8713
|
+
}), Ei = R(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, o) {
|
|
8707
8714
|
const [i, r] = O(() => new Set(c)), d = (m) => r((h) => {
|
|
8708
8715
|
const f = h.has(m), g = new Set(l ? h : []);
|
|
8709
8716
|
return f ? g.delete(m) : g.add(m), g;
|
|
@@ -8741,18 +8748,18 @@ const Li = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8741
8748
|
});
|
|
8742
8749
|
export {
|
|
8743
8750
|
mr as AUTH_FX_VARIANTS,
|
|
8744
|
-
|
|
8745
|
-
|
|
8751
|
+
Ir as AppleIcon,
|
|
8752
|
+
Jr as AppsIcon,
|
|
8746
8753
|
Un as ArrowLeftIcon,
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8754
|
+
Pr as ArrowRightIcon,
|
|
8755
|
+
Dr as AtIcon,
|
|
8756
|
+
Er as AuthAppIcon,
|
|
8757
|
+
Cr as BellIcon,
|
|
8751
8758
|
Nr as BookmarkIcon,
|
|
8752
|
-
|
|
8759
|
+
Wr as BuildingIcon,
|
|
8753
8760
|
Ul as CalendarIcon,
|
|
8754
|
-
|
|
8755
|
-
|
|
8761
|
+
eo as CartIcon,
|
|
8762
|
+
Kr as ChartLineIcon,
|
|
8756
8763
|
Qc as CheckCircleIcon,
|
|
8757
8764
|
Je as CheckIcon,
|
|
8758
8765
|
je as ChevronDownIcon,
|
|
@@ -8763,249 +8770,250 @@ export {
|
|
|
8763
8770
|
yr as ClockIcon,
|
|
8764
8771
|
$t as CloseIcon,
|
|
8765
8772
|
zn as CopyIcon,
|
|
8766
|
-
|
|
8773
|
+
Vr as CreditCardIcon,
|
|
8767
8774
|
Yc as CubeIcon,
|
|
8768
|
-
|
|
8775
|
+
Yr as DiscountIcon,
|
|
8769
8776
|
xr as DotsHorizontalIcon,
|
|
8770
|
-
|
|
8771
|
-
|
|
8777
|
+
Gr as EditIcon,
|
|
8778
|
+
zr as ExportIcon,
|
|
8772
8779
|
Yn as ExternalLinkIcon,
|
|
8773
8780
|
Zl as EyeIcon,
|
|
8774
8781
|
Vl as EyeOffIcon,
|
|
8775
|
-
|
|
8782
|
+
Fr as FacebookIcon,
|
|
8776
8783
|
br as FilterIcon,
|
|
8777
8784
|
gr as GithubIcon,
|
|
8778
8785
|
Uc as GlobeIcon,
|
|
8779
8786
|
vr as GoogleIcon,
|
|
8780
|
-
|
|
8781
|
-
|
|
8787
|
+
$r as HelpIcon,
|
|
8788
|
+
jr as HomeIcon,
|
|
8782
8789
|
Mn as InfoIcon,
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8790
|
+
Hr as KeyIcon,
|
|
8791
|
+
qr as LockIcon,
|
|
8792
|
+
Br as MailIcon,
|
|
8793
|
+
to as MenuIcon,
|
|
8794
|
+
Qr as MinusCircleIcon,
|
|
8788
8795
|
jl as MobileIcon,
|
|
8789
8796
|
Hl as MonitorIcon,
|
|
8790
8797
|
Xc as MoonIcon,
|
|
8791
8798
|
ns as NoteIcon,
|
|
8792
|
-
|
|
8793
|
-
|
|
8799
|
+
Rr as PasskeyIcon,
|
|
8800
|
+
Ar as PhoneIcon,
|
|
8801
|
+
Mr as PinIcon,
|
|
8794
8802
|
St as PlusIcon,
|
|
8795
8803
|
Jc as RefreshIcon,
|
|
8796
|
-
|
|
8804
|
+
Lr as RocketIcon,
|
|
8797
8805
|
Es as SELECT_CARD_BRANDS,
|
|
8798
|
-
|
|
8806
|
+
n1 as SELECT_COL_DATETIME,
|
|
8799
8807
|
sc as SELECT_COUNTRIES,
|
|
8800
8808
|
tr as SELECT_DAILY_PRESETS,
|
|
8801
8809
|
Qa as SELECT_DATE_PRESETS,
|
|
8802
8810
|
wt as SELECT_SPACE,
|
|
8803
8811
|
Ss as SELECT_TRANSACTION_STATUS,
|
|
8804
8812
|
qn as SearchIcon,
|
|
8805
|
-
|
|
8806
|
-
|
|
8813
|
+
Ei as SelectAccordion,
|
|
8814
|
+
Yo as SelectActionCard,
|
|
8807
8815
|
rc as SelectActionList,
|
|
8808
|
-
|
|
8816
|
+
bo as SelectActionMenu,
|
|
8809
8817
|
rs as SelectAddButton,
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8818
|
+
pi as SelectAddCard,
|
|
8819
|
+
Pt as SelectAlert,
|
|
8820
|
+
Ko as SelectAppTile,
|
|
8813
8821
|
fr as SelectAuthFx,
|
|
8814
8822
|
Qs as SelectAvatar,
|
|
8815
|
-
|
|
8823
|
+
Lo as SelectBackLink,
|
|
8816
8824
|
ac as SelectBadge,
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8825
|
+
p1 as SelectBalanceCard,
|
|
8826
|
+
ho as SelectBankAccountField,
|
|
8827
|
+
g1 as SelectBarChart,
|
|
8820
8828
|
As as SelectBox,
|
|
8821
8829
|
T1 as SelectBoxPlot,
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8830
|
+
$i as SelectBuilderLayout,
|
|
8831
|
+
Si as SelectBuilderWorkspace,
|
|
8832
|
+
E1 as SelectBullet,
|
|
8833
|
+
ni as SelectBump,
|
|
8826
8834
|
Re as SelectButton,
|
|
8827
|
-
|
|
8828
|
-
|
|
8835
|
+
O1 as SelectCalendarHeatmap,
|
|
8836
|
+
P1 as SelectCandlestick,
|
|
8829
8837
|
_r as SelectCard,
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
+
_1 as SelectChartCard,
|
|
8839
|
+
lo as SelectCheckbox,
|
|
8840
|
+
z1 as SelectChord,
|
|
8841
|
+
ri as SelectCirclePack,
|
|
8842
|
+
zo as SelectCollapsible,
|
|
8843
|
+
Li as SelectColorField,
|
|
8844
|
+
M1 as SelectColumnChart,
|
|
8845
|
+
y1 as SelectComboChart,
|
|
8838
8846
|
ps as SelectCombobox,
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8842
|
-
|
|
8843
|
-
|
|
8847
|
+
e1 as SelectConfirmModal,
|
|
8848
|
+
Uo as SelectCopyRow,
|
|
8849
|
+
qo as SelectCopyableId,
|
|
8850
|
+
Xo as SelectCreateTile,
|
|
8851
|
+
c1 as SelectDataTable,
|
|
8844
8852
|
Sa as SelectDateField,
|
|
8845
8853
|
lr as SelectDatePicker,
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8854
|
+
Ni as SelectDateRangeField,
|
|
8855
|
+
hi as SelectDetailList,
|
|
8856
|
+
ui as SelectDetailRow,
|
|
8849
8857
|
Is as SelectDisclosureButton,
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8858
|
+
wo as SelectDivider,
|
|
8859
|
+
ro as SelectDocumentField,
|
|
8860
|
+
N1 as SelectDonut,
|
|
8853
8861
|
pr as SelectDotField,
|
|
8854
|
-
|
|
8855
|
-
|
|
8862
|
+
j1 as SelectDumbbell,
|
|
8863
|
+
m1 as SelectFeeBreakdown,
|
|
8856
8864
|
pt as SelectField,
|
|
8857
8865
|
ms as SelectFieldGrid,
|
|
8858
|
-
|
|
8866
|
+
oo as SelectFileDropzone,
|
|
8859
8867
|
_n as SelectFileTile,
|
|
8860
|
-
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
|
|
8868
|
-
|
|
8869
|
-
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
|
|
8873
|
-
|
|
8868
|
+
s1 as SelectFilterBar,
|
|
8869
|
+
Go as SelectFilterChip,
|
|
8870
|
+
Bo as SelectFormLayout,
|
|
8871
|
+
t1 as SelectFormModal,
|
|
8872
|
+
w1 as SelectFunnel,
|
|
8873
|
+
k1 as SelectGauge,
|
|
8874
|
+
V1 as SelectGaugeBands,
|
|
8875
|
+
X1 as SelectGlobe,
|
|
8876
|
+
xo as SelectGrid,
|
|
8877
|
+
$1 as SelectHeatmap,
|
|
8878
|
+
Y1 as SelectHexbin,
|
|
8879
|
+
u1 as SelectHideMoneyToggle,
|
|
8880
|
+
L1 as SelectHorizontalBar,
|
|
8881
|
+
ci as SelectIcicle,
|
|
8874
8882
|
ia as SelectIcon,
|
|
8875
8883
|
He as SelectIconButton,
|
|
8876
|
-
|
|
8877
|
-
|
|
8884
|
+
So as SelectIdentityFooter,
|
|
8885
|
+
Ai as SelectImageField,
|
|
8878
8886
|
os as SelectImageUploadField,
|
|
8879
|
-
|
|
8887
|
+
io as SelectImageUrlsField,
|
|
8880
8888
|
Ka as SelectImageZoomModal,
|
|
8881
8889
|
ft as SelectInfoTip,
|
|
8882
8890
|
qt as SelectInline,
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
|
|
8891
|
+
No as SelectJsonViewer,
|
|
8892
|
+
yi as SelectKeyValueEditor,
|
|
8893
|
+
f1 as SelectKpiCard,
|
|
8886
8894
|
Rt as SelectLabelRow,
|
|
8887
|
-
|
|
8895
|
+
b1 as SelectLineChart,
|
|
8888
8896
|
Js as SelectLinkButton,
|
|
8889
|
-
|
|
8890
|
-
|
|
8897
|
+
_i as SelectListCard,
|
|
8898
|
+
vi as SelectListRow,
|
|
8891
8899
|
ta as SelectLoader,
|
|
8892
|
-
|
|
8893
|
-
|
|
8900
|
+
Z1 as SelectMarimekko,
|
|
8901
|
+
bi as SelectMediaCell,
|
|
8894
8902
|
pa as SelectMenu,
|
|
8895
8903
|
fa as SelectMenuButton,
|
|
8896
|
-
|
|
8897
|
-
|
|
8904
|
+
Vo as SelectMenuDivider,
|
|
8905
|
+
Zo as SelectMenuHeading,
|
|
8898
8906
|
ma as SelectMenuItem,
|
|
8899
|
-
|
|
8907
|
+
jo as SelectMenuLink,
|
|
8900
8908
|
ja as SelectMetricDelta,
|
|
8901
8909
|
$n as SelectModal,
|
|
8902
8910
|
zt as SelectMoney,
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
+
ao as SelectMoneyField,
|
|
8912
|
+
oi as SelectNetwork,
|
|
8913
|
+
Io as SelectNote,
|
|
8914
|
+
wi as SelectNumberField,
|
|
8915
|
+
xi as SelectOfflineModal,
|
|
8916
|
+
ko as SelectOptionList,
|
|
8917
|
+
$o as SelectOptionRow,
|
|
8918
|
+
Co as SelectOtpInput,
|
|
8911
8919
|
na as SelectPage,
|
|
8912
8920
|
ba as SelectPagination,
|
|
8913
8921
|
To as SelectPanel,
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8922
|
+
li as SelectParallel,
|
|
8923
|
+
Q1 as SelectPareto,
|
|
8924
|
+
Eo as SelectPasswordStrength,
|
|
8925
|
+
yo as SelectPaymentBrand,
|
|
8926
|
+
fo as SelectPhoneField,
|
|
8927
|
+
fi as SelectPlanCard,
|
|
8928
|
+
W1 as SelectPolarArea,
|
|
8921
8929
|
dt as SelectPopover,
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8930
|
+
d1 as SelectPreviewFrame,
|
|
8931
|
+
S1 as SelectProgressList,
|
|
8932
|
+
ti as SelectPyramid,
|
|
8933
|
+
I1 as SelectRadar,
|
|
8934
|
+
C1 as SelectRadialBar,
|
|
8935
|
+
_o as SelectRadioGroup,
|
|
8936
|
+
D1 as SelectRangeBar,
|
|
8937
|
+
Mi as SelectRating,
|
|
8938
|
+
ki as SelectRepeatingFieldArray,
|
|
8939
|
+
Ao as SelectResendButton,
|
|
8940
|
+
Qo as SelectRowActions,
|
|
8941
|
+
R1 as SelectSankey,
|
|
8942
|
+
F1 as SelectScatter,
|
|
8935
8943
|
tl as SelectSearchInput,
|
|
8936
|
-
|
|
8937
|
-
|
|
8944
|
+
Do as SelectSection,
|
|
8945
|
+
vo as SelectSegmented,
|
|
8938
8946
|
tc as SelectSelect,
|
|
8939
8947
|
Wa as SelectSensitiveValue,
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8948
|
+
Ro as SelectSettingList,
|
|
8949
|
+
Po as SelectSettingRow,
|
|
8950
|
+
Wo as SelectSideNav,
|
|
8951
|
+
Fo as SelectSkeleton,
|
|
8952
|
+
H1 as SelectSlope,
|
|
8953
|
+
v1 as SelectSparkline,
|
|
8946
8954
|
On as SelectStack,
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8955
|
+
x1 as SelectStackedArea,
|
|
8956
|
+
go as SelectStatusBadge,
|
|
8957
|
+
mi as SelectSteps,
|
|
8958
|
+
G1 as SelectStreamGraph,
|
|
8959
|
+
U1 as SelectSunburst,
|
|
8960
|
+
r1 as SelectSurface,
|
|
8953
8961
|
Jn as SelectSwitch,
|
|
8954
|
-
|
|
8962
|
+
Ci as SelectSwitchField,
|
|
8955
8963
|
ha as SelectTable,
|
|
8956
8964
|
bl as SelectTableCell,
|
|
8957
8965
|
ua as SelectTableEmpty,
|
|
8958
8966
|
gl as SelectTableRow,
|
|
8959
|
-
|
|
8960
|
-
|
|
8967
|
+
Oo as SelectTabs,
|
|
8968
|
+
a1 as SelectTagSelect,
|
|
8961
8969
|
kt as SelectText,
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8970
|
+
co as SelectTextarea,
|
|
8971
|
+
di as SelectThemeSwitcher,
|
|
8972
|
+
Pl as SelectThumbnail,
|
|
8973
|
+
J1 as SelectTicker,
|
|
8974
|
+
Mo as SelectTimeline,
|
|
8975
|
+
o1 as SelectToastProvider,
|
|
8976
|
+
uo as SelectToggleList,
|
|
8977
|
+
mo as SelectTogglePanel,
|
|
8978
|
+
po as SelectToggleRow,
|
|
8971
8979
|
Kn as SelectTooltip,
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8980
|
+
si as SelectTree,
|
|
8981
|
+
B1 as SelectTreemap,
|
|
8982
|
+
so as SelectUnitInput,
|
|
8983
|
+
Ho as SelectUserCell,
|
|
8984
|
+
h1 as SelectValueVisibilityProvider,
|
|
8985
|
+
ai as SelectVenn,
|
|
8986
|
+
q1 as SelectViolin,
|
|
8987
|
+
ei as SelectWaffle,
|
|
8988
|
+
A1 as SelectWaterfall,
|
|
8989
|
+
K1 as SelectWordCloud,
|
|
8990
|
+
Jo as SelectWorkspaceSwitcher,
|
|
8991
|
+
gi as SelectZoomThumbnail,
|
|
8984
8992
|
Wl as SelectorIcon,
|
|
8985
|
-
|
|
8993
|
+
Ur as SendIcon,
|
|
8986
8994
|
Gc as Setting4Icon,
|
|
8987
8995
|
es as SettingsIcon,
|
|
8988
8996
|
Tr as ShieldIcon,
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
8997
|
+
kr as SplitIcon,
|
|
8998
|
+
wr as StarIcon,
|
|
8999
|
+
Xr as StoreIcon,
|
|
9000
|
+
no as StorefrontIcon,
|
|
8993
9001
|
Kc as SunIcon,
|
|
8994
9002
|
zc as TerminalIcon,
|
|
8995
9003
|
Gl as TrashIcon,
|
|
8996
9004
|
fn as UploadIcon,
|
|
8997
|
-
|
|
8998
|
-
|
|
9005
|
+
Sr as UserIcon,
|
|
9006
|
+
Zr as WalletIcon,
|
|
8999
9007
|
qc as WarningIcon,
|
|
9000
|
-
|
|
9008
|
+
Or as Web3Icon,
|
|
9001
9009
|
Qt as detectSelectTheme,
|
|
9002
9010
|
$s as dialCodeOf,
|
|
9003
9011
|
ea as passwordScore,
|
|
9004
|
-
|
|
9012
|
+
ii as resolveSelectTheme,
|
|
9005
9013
|
oc as selectCardBrand,
|
|
9006
9014
|
Bs as selectCardBrandLabel,
|
|
9007
|
-
|
|
9008
|
-
|
|
9015
|
+
l1 as useSelectPageSize,
|
|
9016
|
+
i1 as useSelectToast,
|
|
9009
9017
|
xc as useSelectValueVisibility
|
|
9010
9018
|
};
|
|
9011
9019
|
//# sourceMappingURL=index.js.map
|