@selectwin/kit 0.1.132 → 0.1.134
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/SelectBuilderWorkspace.d.ts +45 -20
- package/dist/SelectOtpInput.d.ts +5 -0
- package/dist/index.js +906 -810
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -506,17 +506,17 @@ var k = (e) => {
|
|
|
506
506
|
let t = Math.max(e.w(), 1), n = Math.max(e.h(), 1);
|
|
507
507
|
L = (t * Math.abs(m) + n * Math.abs(h)) / 2, z = (t * Math.abs(h) + n * Math.abs(m)) / 2, B = Math.min(1, Math.sqrt(42e4 / (4 * L * z))), M = Math.max(2, Math.round(2 * L * B)), N = Math.max(2, Math.round(2 * z * B)), V = Math.min(2.6, Math.max(.7, .62 / B)), D || (D = document.createElement("canvas")), D.width = M, D.height = N, O = D.getContext("2d"), k = (O == null ? void 0 : O.createImageData(M, N)) ?? null, A = k ? new Uint32Array(k.data.buffer) : null, j = new Float32Array(M);
|
|
508
508
|
}
|
|
509
|
-
let
|
|
510
|
-
let o = e *
|
|
509
|
+
let U = 1, re = 0, W = 0, ie = 0, G = 0, K = 1, q = 0, ae = 0, oe = 0, se = 0, J = F.TENSION, ce = (e, t, r, i, a) => {
|
|
510
|
+
let o = e * U + t * re, s = -e * re + t * U - W, c = r * U + i * re, l = -r * re + i * U;
|
|
511
511
|
l < 0 && (c = -c, l = -l);
|
|
512
512
|
let f = F.CAM - s;
|
|
513
513
|
if (f < n) {
|
|
514
|
-
E.x[
|
|
514
|
+
E.x[q] = NaN, E.z[q] = -1e9, E.a[q] = 0, E.lift[q] = 0, q++;
|
|
515
515
|
return;
|
|
516
516
|
}
|
|
517
517
|
let g = (f - n) * .5263157894736842;
|
|
518
518
|
g > 1 && (g = 1);
|
|
519
|
-
let y = g * g * (3 - 2 * g), b = o * F.FOCAL / f *
|
|
519
|
+
let y = g * g * (3 - 2 * g), b = o * F.FOCAL / f * se + M * .5, x = -o, S = -ie, C = f, w = 1 / Math.sqrt(x * x + S * S + C * C);
|
|
520
520
|
x *= w, S *= w, C *= w;
|
|
521
521
|
let T = c * x + l * C;
|
|
522
522
|
T < 0 && (T = 0);
|
|
@@ -528,32 +528,32 @@ var k = (e) => {
|
|
|
528
528
|
A = v[0] + x, j = v[1] + S, N = v[2] + C, P = 1 / Math.sqrt(A * A + j * j + N * N), I = (c * A + l * N) * P, I < 0 && (I = 0);
|
|
529
529
|
let ne = I * I, R = ne * ne, z = R * R, B = (-(-x + 2 * T * c) * h - S * m + .2) * .8333333333333334;
|
|
530
530
|
B < 0 ? B = 0 : B > 1 && (B = 1);
|
|
531
|
-
let V = B * B * (3 - 2 * B), H = te * .9 + z * .45,
|
|
532
|
-
|
|
533
|
-
},
|
|
534
|
-
let n = e *
|
|
531
|
+
let V = B * B * (3 - 2 * B), H = te * .9 + z * .45, G = k * .55 + H;
|
|
532
|
+
G > 1 && (G = 1), E.lift[q] = G, E.a[q] = (u + d * k + p * H + V * .06) * a * K * y, E.x[q] = b, E.z[q] = s, b < ae && (ae = b), b > oe && (oe = b), q++;
|
|
533
|
+
}, le = (e, t) => {
|
|
534
|
+
let n = e * G, r = Math.cos(n), i = -Math.sin(n) * J, a = 1 / Math.sqrt(J * J * r * r + 1), o = J * r * a, s = a;
|
|
535
535
|
for (let r = 0; r < 14; r++) {
|
|
536
536
|
let a = t ? 13 - r : r, c = y[a], l = b[a], u = o * c + e * s * l, d = -e * o * l + s * c;
|
|
537
|
-
|
|
537
|
+
ce(n + F.ROUND * (u - o), i + F.ROUND * (d - s), u, d, x[a]);
|
|
538
538
|
}
|
|
539
539
|
};
|
|
540
|
-
function
|
|
540
|
+
function ue(t, n, r) {
|
|
541
541
|
let i = Math.max(e.h(), 1), a = r * F.TWIST_SPEED * .15, o = r * F.TWIST_SPEED * .2, s = -((t + .5) / N * 2 * z - z) / (i * F.ZOOM);
|
|
542
|
-
|
|
543
|
-
for (let e = 0; e < 2; e++)
|
|
544
|
-
|
|
545
|
-
let c =
|
|
546
|
-
|
|
547
|
-
let d = 2 *
|
|
542
|
+
ie = s * F.CAM / F.FOCAL;
|
|
543
|
+
for (let e = 0; e < 2; e++) ie = s * (F.CAM + Math.sin(ie * 1.2 + a) * F.BILLOW) / F.FOCAL;
|
|
544
|
+
W = Math.sin(ie * 1.2 + a) * F.BILLOW;
|
|
545
|
+
let c = ie < 0 ? -ie : ie, l = P(7, 1, c), u = ie * S.twist * P(8, 0, c) - o;
|
|
546
|
+
U = Math.cos(u), re = Math.sin(u), G = F.WIDTH * l, K = P(.06, .46, U < 0 ? -U : U) * P(0, .06, l), E = n, q = 0, ae = 1e9, oe = -1e9, le(-1, !0);
|
|
547
|
+
let d = 2 * G / 107, f = Math.cos(d), p = Math.sin(d), m = Math.cos(-G), h = Math.sin(-G);
|
|
548
548
|
for (let e = 0; e < 108; e++) {
|
|
549
|
-
let t = 1 / Math.sqrt(
|
|
550
|
-
|
|
549
|
+
let t = 1 / Math.sqrt(J * J * m * m + 1);
|
|
550
|
+
ce(-G + e * d, -h * J, J * m * t, t, 1);
|
|
551
551
|
let n = m * f - h * p;
|
|
552
552
|
h = h * f + m * p, m = n;
|
|
553
553
|
}
|
|
554
|
-
|
|
554
|
+
le(1, !1), n.minx = ae, n.maxx = oe;
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function de(e, n, r, u, d, f) {
|
|
557
557
|
let p = A, m = n.minx < r.minx ? n.minx : r.minx, h = u.minx < d.minx ? u.minx : d.minx;
|
|
558
558
|
h < m && (m = h);
|
|
559
559
|
let g = n.maxx > r.maxx ? n.maxx : r.maxx, _ = u.maxx > d.maxx ? u.maxx : d.maxx;
|
|
@@ -561,67 +561,67 @@ var k = (e) => {
|
|
|
561
561
|
let v = Math.floor(m), y = Math.ceil(g);
|
|
562
562
|
if (y < 0 || v > M - 1) return;
|
|
563
563
|
v < 0 && (v = 0), y > M - 1 && (y = M - 1), j.fill(-1e9, v, y + 1);
|
|
564
|
-
let b = e * M, x = f * f, S = x * f, C = -.5 * S + x - .5 * f, w = 1.5 * S - 2.5 * x + 1, T = -1.5 * S + 2 * x + .5 * f, E = .5 * S - .5 * x, D = n.x, O = r.x, k = u.x, N = d.x, P = n.z, F = r.z, L = u.z, z = d.z, B = n.lift, V = r.lift, H = u.lift,
|
|
564
|
+
let b = e * M, x = f * f, S = x * f, C = -.5 * S + x - .5 * f, w = 1.5 * S - 2.5 * x + 1, T = -1.5 * S + 2 * x + .5 * f, E = .5 * S - .5 * x, D = n.x, O = r.x, k = u.x, N = d.x, P = n.z, F = r.z, L = u.z, z = d.z, B = n.lift, V = r.lift, H = u.lift, U = d.lift, re = n.a, W = r.a, ie = u.a, G = d.a, K = C * D[0] + w * O[0] + T * k[0] + E * N[0], q = C * P[0] + w * F[0] + T * L[0] + E * z[0], ae = C * B[0] + w * V[0] + T * H[0] + E * U[0], oe = C * re[0] + w * W[0] + T * ie[0] + E * G[0];
|
|
565
565
|
for (let e = 1; e < 136; e++) {
|
|
566
|
-
let t = C * D[e] + w * O[e] + T * k[e] + E * N[e], n = C * P[e] + w * F[e] + T * L[e] + E * z[e], r = C * B[e] + w * V[e] + T * H[e] + E *
|
|
567
|
-
if (!Number.isNaN(
|
|
568
|
-
let e = Math.max(v, Math.ceil((
|
|
566
|
+
let t = C * D[e] + w * O[e] + T * k[e] + E * N[e], n = C * P[e] + w * F[e] + T * L[e] + E * z[e], r = C * B[e] + w * V[e] + T * H[e] + E * U[e], u = C * re[e] + w * W[e] + T * ie[e] + E * G[e];
|
|
567
|
+
if (!Number.isNaN(K) && !Number.isNaN(t)) {
|
|
568
|
+
let e = Math.max(v, Math.ceil((K < t ? K : t) - .5)), d = Math.min(y, Math.floor((K > t ? K : t) - .5));
|
|
569
569
|
if (d < e) {
|
|
570
|
-
let n = Math.floor((
|
|
570
|
+
let n = Math.floor((K + t) * .5);
|
|
571
571
|
n >= v && n <= y && (e = n, d = n);
|
|
572
572
|
}
|
|
573
573
|
if (d >= e) {
|
|
574
|
-
let f = t -
|
|
574
|
+
let f = t - K, m = f === 0 ? 0 : 1 / f, h = n - q, g = r - ae, _ = u - oe;
|
|
575
575
|
for (let t = e; t <= d; t++) {
|
|
576
|
-
let e = (t + .5 -
|
|
576
|
+
let e = (t + .5 - K) * m;
|
|
577
577
|
e < 0 ? e = 0 : e > 1 && (e = 1);
|
|
578
|
-
let n =
|
|
578
|
+
let n = q + h * e;
|
|
579
579
|
if (n <= j[t]) continue;
|
|
580
580
|
j[t] = n;
|
|
581
|
-
let r =
|
|
582
|
-
p[b + t] = I(i + s * r) << ee | I(a + c * r) << te | I(o + l * r) << ne | I(
|
|
581
|
+
let r = ae + g * e;
|
|
582
|
+
p[b + t] = I(i + s * r) << ee | I(a + c * r) << te | I(o + l * r) << ne | I(oe + _ * e) << R;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
|
|
586
|
+
K = t, q = n, ae = r, oe = u;
|
|
587
587
|
}
|
|
588
|
-
let
|
|
588
|
+
let se = -1, J = -1;
|
|
589
589
|
for (let e = v; e <= y; e++) if ((p[b + e] >>> R & 255) > 0) {
|
|
590
|
-
|
|
590
|
+
se = e;
|
|
591
591
|
break;
|
|
592
592
|
}
|
|
593
|
-
if (
|
|
594
|
-
for (let e = y; e >=
|
|
595
|
-
|
|
593
|
+
if (se < 0) return;
|
|
594
|
+
for (let e = y; e >= se; e--) if ((p[b + e] >>> R & 255) > 0) {
|
|
595
|
+
J = e;
|
|
596
596
|
break;
|
|
597
597
|
}
|
|
598
|
-
if (
|
|
599
|
-
let
|
|
598
|
+
if (J - se <= 2 * t.length) return;
|
|
599
|
+
let ce = ~(255 << R);
|
|
600
600
|
for (let e = 0; e < t.length; e++) {
|
|
601
|
-
let n = t[e], r = b +
|
|
602
|
-
p[r] = i &
|
|
603
|
-
let a = b +
|
|
604
|
-
p[a] = o &
|
|
601
|
+
let n = t[e], r = b + se + e, i = p[r];
|
|
602
|
+
p[r] = i & ce | ((i >>> R & 255) * n | 0) << R;
|
|
603
|
+
let a = b + J - e, o = p[a];
|
|
604
|
+
p[a] = o & ce | ((o >>> R & 255) * n | 0) << R;
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function fe(t) {
|
|
608
608
|
if (!k || !O || !A) return;
|
|
609
|
-
A.fill(0),
|
|
609
|
+
A.fill(0), J = S.tension, se = F.ZOOM * Math.max(e.h(), 1) * B;
|
|
610
610
|
let n = Math.max(1, Math.ceil((N - 1) / 3)), r = (e) => Math.min(e * 3, N - 1), i = 0;
|
|
611
|
-
|
|
611
|
+
ue(r(0), T[0], t);
|
|
612
612
|
let a = 0, o = r(0), s = r(1);
|
|
613
613
|
for (let e = 0; e < N; e++) {
|
|
614
614
|
for (; e > s && a + 1 < n;) a++, o = s, s = r(a + 1);
|
|
615
615
|
let c = a + 2 < n ? a + 2 : n;
|
|
616
|
-
for (; i < c;) i++,
|
|
616
|
+
for (; i < c;) i++, ue(r(i), T[i & 3], t);
|
|
617
617
|
let l = s - o;
|
|
618
|
-
|
|
618
|
+
de(e, T[(a > 0 ? a - 1 : 0) & 3], T[a & 3], T[a + 1 & 3], T[(a + 2 < n ? a + 2 : n) & 3], l > 0 ? (e - o) / l : 0);
|
|
619
619
|
}
|
|
620
620
|
O.putImageData(k, 0, 0);
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function pe(t) {
|
|
623
623
|
let { ctx: n } = e, r = e.w(), i = e.h();
|
|
624
|
-
n.clearRect(0, 0, r, i), !(!D || M < 2) && (
|
|
624
|
+
n.clearRect(0, 0, r, i), !(!D || M < 2) && (fe(t), n.save(), n.translate(r / 2, i / 2), n.rotate(F.ROT), n.imageSmoothingEnabled = !0, n.imageSmoothingQuality = "high", n.filter = `blur(${V.toFixed(2)}px)`, n.drawImage(D, -L, -z, 2 * L, 2 * z), n.restore());
|
|
625
625
|
}
|
|
626
626
|
return {
|
|
627
627
|
build: H,
|
|
@@ -637,10 +637,10 @@ var k = (e) => {
|
|
|
637
637
|
}, 0).to(S, {
|
|
638
638
|
tension: .72,
|
|
639
639
|
duration: 13
|
|
640
|
-
}, 0)),
|
|
640
|
+
}, 0)), pe(t), e.clearGlow();
|
|
641
641
|
},
|
|
642
642
|
paintStatic() {
|
|
643
|
-
|
|
643
|
+
pe(6), e.clearGlow();
|
|
644
644
|
},
|
|
645
645
|
dispose() {
|
|
646
646
|
C == null || C.kill(), C = null, f.killTweensOf(S);
|
|
@@ -834,7 +834,7 @@ var V = r(function({ title: e, subtitle: t, logo: n, mark: r, children: i, foote
|
|
|
834
834
|
});
|
|
835
835
|
//#endregion
|
|
836
836
|
//#region src/icons.tsx
|
|
837
|
-
function
|
|
837
|
+
function U() {
|
|
838
838
|
return /* @__PURE__ */ h("svg", {
|
|
839
839
|
viewBox: "0 0 24 24",
|
|
840
840
|
"aria-hidden": "true",
|
|
@@ -858,7 +858,7 @@ function re() {
|
|
|
858
858
|
]
|
|
859
859
|
});
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function re() {
|
|
862
862
|
return /* @__PURE__ */ m("svg", {
|
|
863
863
|
viewBox: "0 0 24 24",
|
|
864
864
|
"aria-hidden": "true",
|
|
@@ -868,7 +868,7 @@ function ie() {
|
|
|
868
868
|
})
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function W() {
|
|
872
872
|
return /* @__PURE__ */ m("svg", {
|
|
873
873
|
viewBox: "0 0 24 24",
|
|
874
874
|
fill: "none",
|
|
@@ -880,7 +880,7 @@ function U() {
|
|
|
880
880
|
children: /* @__PURE__ */ m("path", { d: "M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08" })
|
|
881
881
|
});
|
|
882
882
|
}
|
|
883
|
-
function
|
|
883
|
+
function ie() {
|
|
884
884
|
return /* @__PURE__ */ m("svg", {
|
|
885
885
|
viewBox: "0 0 24 24",
|
|
886
886
|
fill: "none",
|
|
@@ -892,7 +892,7 @@ function ae() {
|
|
|
892
892
|
children: /* @__PURE__ */ m("path", { d: "M15 19.92L8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08" })
|
|
893
893
|
});
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function G() {
|
|
896
896
|
return /* @__PURE__ */ m("svg", {
|
|
897
897
|
viewBox: "0 0 24 24",
|
|
898
898
|
fill: "none",
|
|
@@ -904,7 +904,7 @@ function W() {
|
|
|
904
904
|
children: /* @__PURE__ */ m("path", { d: "M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95" })
|
|
905
905
|
});
|
|
906
906
|
}
|
|
907
|
-
function
|
|
907
|
+
function K() {
|
|
908
908
|
return /* @__PURE__ */ m("svg", {
|
|
909
909
|
viewBox: "0 0 24 24",
|
|
910
910
|
fill: "none",
|
|
@@ -916,7 +916,7 @@ function G() {
|
|
|
916
916
|
children: /* @__PURE__ */ m("path", { d: "M9.57 5.93L3.5 12l6.07 6.07M20.5 12H3.67" })
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
|
-
function
|
|
919
|
+
function q() {
|
|
920
920
|
return /* @__PURE__ */ m("svg", {
|
|
921
921
|
viewBox: "0 0 24 24",
|
|
922
922
|
fill: "none",
|
|
@@ -928,7 +928,7 @@ function K() {
|
|
|
928
928
|
children: /* @__PURE__ */ m("path", { d: "M5.4 2.1h13.2c1.1 0 2 .9 2 2v2.2c0 .8-.5 1.8-1 2.3l-4.3 3.8c-.6.5-1 1.5-1 2.3V19c0 .6-.4 1.4-.9 1.7l-1.4.9c-1.3.8-3.1-.1-3.1-1.7v-5.3c0-.7-.4-1.6-.8-2.1l-3.8-4c-.5-.5-.9-1.4-.9-2V4.2c0-1.2.9-2.1 2-2.1ZM10.93 2.1 6 10" })
|
|
929
929
|
});
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function ae() {
|
|
932
932
|
return /* @__PURE__ */ m("svg", {
|
|
933
933
|
viewBox: "0 0 24 24",
|
|
934
934
|
fill: "none",
|
|
@@ -940,7 +940,7 @@ function oe() {
|
|
|
940
940
|
children: /* @__PURE__ */ m("path", { d: "M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2" })
|
|
941
941
|
});
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function oe() {
|
|
944
944
|
return /* @__PURE__ */ h("svg", {
|
|
945
945
|
viewBox: "0 0 24 24",
|
|
946
946
|
fill: "none",
|
|
@@ -956,7 +956,7 @@ function se() {
|
|
|
956
956
|
]
|
|
957
957
|
});
|
|
958
958
|
}
|
|
959
|
-
function
|
|
959
|
+
function se() {
|
|
960
960
|
return /* @__PURE__ */ h("svg", {
|
|
961
961
|
viewBox: "0 0 24 24",
|
|
962
962
|
fill: "none",
|
|
@@ -968,7 +968,7 @@ function ce() {
|
|
|
968
968
|
children: [/* @__PURE__ */ m("path", { d: "M16 12.9v4.2c0 3.5-1.4 4.9-4.9 4.9H6.9C3.4 22 2 20.6 2 17.1v-4.2C2 9.4 3.4 8 6.9 8h4.2c3.5 0 4.9 1.4 4.9 4.9z" }), /* @__PURE__ */ m("path", { d: "M22 6.9v4.2c0 3.5-1.4 4.9-4.9 4.9H16v-3.1C16 9.4 14.6 8 11.1 8H8V6.9C8 3.4 9.4 2 12.9 2h4.2C20.6 2 22 3.4 22 6.9z" })]
|
|
969
969
|
});
|
|
970
970
|
}
|
|
971
|
-
function
|
|
971
|
+
function J() {
|
|
972
972
|
return /* @__PURE__ */ m("svg", {
|
|
973
973
|
viewBox: "0 0 24 24",
|
|
974
974
|
fill: "none",
|
|
@@ -980,7 +980,7 @@ function q() {
|
|
|
980
980
|
children: /* @__PURE__ */ m("path", { d: "M13 11l8.2-8.2M22 6.8V2h-4.8M11 2H9C4 2 2 4 2 9v6c0 5 2 7 7 7h6c5 0 7-2 7-7v-2" })
|
|
981
981
|
});
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function ce() {
|
|
984
984
|
return /* @__PURE__ */ m("svg", {
|
|
985
985
|
viewBox: "0 0 24 24",
|
|
986
986
|
fill: "none",
|
|
@@ -992,7 +992,7 @@ function le() {
|
|
|
992
992
|
children: /* @__PURE__ */ m("path", { d: "M6 6 18 18M18 6 6 18" })
|
|
993
993
|
});
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function le() {
|
|
996
996
|
return /* @__PURE__ */ m("svg", {
|
|
997
997
|
viewBox: "0 0 24 24",
|
|
998
998
|
fill: "none",
|
|
@@ -1004,7 +1004,7 @@ function ue() {
|
|
|
1004
1004
|
children: /* @__PURE__ */ m("path", { d: "M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z" })
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function ue() {
|
|
1008
1008
|
return /* @__PURE__ */ h("svg", {
|
|
1009
1009
|
viewBox: "0 0 24 24",
|
|
1010
1010
|
fill: "none",
|
|
@@ -1021,7 +1021,7 @@ function de() {
|
|
|
1021
1021
|
]
|
|
1022
1022
|
});
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function de() {
|
|
1025
1025
|
return /* @__PURE__ */ h("svg", {
|
|
1026
1026
|
viewBox: "0 0 24 24",
|
|
1027
1027
|
fill: "none",
|
|
@@ -1033,7 +1033,7 @@ function fe() {
|
|
|
1033
1033
|
children: [/* @__PURE__ */ m("path", { d: "M22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2s10 4.48 10 10Z" }), /* @__PURE__ */ m("path", { d: "m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1" })]
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function fe() {
|
|
1037
1037
|
return /* @__PURE__ */ h("svg", {
|
|
1038
1038
|
viewBox: "0 0 24 24",
|
|
1039
1039
|
fill: "none",
|
|
@@ -1049,7 +1049,7 @@ function pe() {
|
|
|
1049
1049
|
]
|
|
1050
1050
|
});
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function pe({ filled: e = !1 } = {}) {
|
|
1053
1053
|
return /* @__PURE__ */ h("svg", {
|
|
1054
1054
|
viewBox: "0 0 24 24",
|
|
1055
1055
|
fill: "none",
|
|
@@ -1068,7 +1068,7 @@ function me({ filled: e = !1 } = {}) {
|
|
|
1068
1068
|
]
|
|
1069
1069
|
});
|
|
1070
1070
|
}
|
|
1071
|
-
var
|
|
1071
|
+
var me = r(function({ filled: e = !1, className: t, ...n }, r) {
|
|
1072
1072
|
return e ? /* @__PURE__ */ m("svg", {
|
|
1073
1073
|
ref: r,
|
|
1074
1074
|
...n,
|
|
@@ -1095,7 +1095,7 @@ var he = r(function({ filled: e = !1, className: t, ...n }, r) {
|
|
|
1095
1095
|
children: /* @__PURE__ */ m("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" })
|
|
1096
1096
|
});
|
|
1097
1097
|
});
|
|
1098
|
-
function
|
|
1098
|
+
function he({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
1099
1099
|
return t ? /* @__PURE__ */ m("svg", {
|
|
1100
1100
|
viewBox: "0 0 24 24",
|
|
1101
1101
|
fill: "currentColor",
|
|
@@ -1127,7 +1127,7 @@ function ge({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
|
1127
1127
|
children: /* @__PURE__ */ m("path", { d: "M16.96 6.17c2 1.39 3.38 3.6 3.66 6.15M3.49 12.37a8.601 8.601 0 0 1 3.6-6.15M8.19 20.94c1.16.59 2.48.92 3.87.92 1.34 0 2.6-.3 3.73-.85M12.06 7.7a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM4.83 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM19.17 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56Z" })
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function ge() {
|
|
1131
1131
|
return /* @__PURE__ */ h("svg", {
|
|
1132
1132
|
viewBox: "0 0 24 24",
|
|
1133
1133
|
fill: "none",
|
|
@@ -1143,7 +1143,7 @@ function _e() {
|
|
|
1143
1143
|
]
|
|
1144
1144
|
});
|
|
1145
1145
|
}
|
|
1146
|
-
function
|
|
1146
|
+
function _e() {
|
|
1147
1147
|
return /* @__PURE__ */ h("svg", {
|
|
1148
1148
|
viewBox: "0 0 24 24",
|
|
1149
1149
|
fill: "none",
|
|
@@ -1155,7 +1155,7 @@ function ve() {
|
|
|
1155
1155
|
children: [/* @__PURE__ */ m("path", { d: "m8 9 4-4 4 4" }), /* @__PURE__ */ m("path", { d: "m16 15-4 4-4-4" })]
|
|
1156
1156
|
});
|
|
1157
1157
|
}
|
|
1158
|
-
function
|
|
1158
|
+
function ve() {
|
|
1159
1159
|
return /* @__PURE__ */ h("svg", {
|
|
1160
1160
|
viewBox: "0 0 24 24",
|
|
1161
1161
|
fill: "none",
|
|
@@ -1167,7 +1167,7 @@ function ye() {
|
|
|
1167
1167
|
children: [/* @__PURE__ */ m("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM12 8v5" }), /* @__PURE__ */ m("path", { d: "M11.995 16h.009" })]
|
|
1168
1168
|
});
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function ye() {
|
|
1171
1171
|
return /* @__PURE__ */ h("svg", {
|
|
1172
1172
|
viewBox: "0 0 24 24",
|
|
1173
1173
|
fill: "none",
|
|
@@ -1183,7 +1183,7 @@ function be() {
|
|
|
1183
1183
|
]
|
|
1184
1184
|
});
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function be() {
|
|
1187
1187
|
return /* @__PURE__ */ h("svg", {
|
|
1188
1188
|
viewBox: "0 0 24 24",
|
|
1189
1189
|
fill: "none",
|
|
@@ -1195,7 +1195,7 @@ function xe() {
|
|
|
1195
1195
|
children: [/* @__PURE__ */ m("path", { d: "M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z" }), /* @__PURE__ */ m("path", { d: "M11.995 17h.009" })]
|
|
1196
1196
|
});
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function xe() {
|
|
1199
1199
|
return /* @__PURE__ */ m("svg", {
|
|
1200
1200
|
viewBox: "0 0 24 24",
|
|
1201
1201
|
fill: "none",
|
|
@@ -1207,7 +1207,7 @@ function Se() {
|
|
|
1207
1207
|
children: /* @__PURE__ */ m("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" })
|
|
1208
1208
|
});
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function Se() {
|
|
1211
1211
|
return /* @__PURE__ */ h("svg", {
|
|
1212
1212
|
viewBox: "0 0 24 24",
|
|
1213
1213
|
fill: "none",
|
|
@@ -1223,7 +1223,7 @@ function Ce() {
|
|
|
1223
1223
|
]
|
|
1224
1224
|
});
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function Ce() {
|
|
1227
1227
|
return /* @__PURE__ */ h("svg", {
|
|
1228
1228
|
viewBox: "0 0 24 24",
|
|
1229
1229
|
fill: "none",
|
|
@@ -1235,7 +1235,7 @@ function we() {
|
|
|
1235
1235
|
children: [/* @__PURE__ */ m("path", { d: "M9 13c-.66.33-1.21.82-1.62 1.43-.23.35-.23.79 0 1.14.41.61.96 1.1 1.62 1.43M15.21 13c.66.33 1.21.82 1.62 1.43.23.35.23.79 0 1.14-.41.61-.96 1.1-1.62 1.43" }), /* @__PURE__ */ m("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" })]
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function we() {
|
|
1239
1239
|
return /* @__PURE__ */ h("svg", {
|
|
1240
1240
|
viewBox: "0 0 24 24",
|
|
1241
1241
|
fill: "none",
|
|
@@ -1251,7 +1251,7 @@ function Te() {
|
|
|
1251
1251
|
]
|
|
1252
1252
|
});
|
|
1253
1253
|
}
|
|
1254
|
-
function
|
|
1254
|
+
function Te() {
|
|
1255
1255
|
return /* @__PURE__ */ h("svg", {
|
|
1256
1256
|
viewBox: "0 0 24 24",
|
|
1257
1257
|
fill: "none",
|
|
@@ -1267,7 +1267,7 @@ function Ee() {
|
|
|
1267
1267
|
]
|
|
1268
1268
|
});
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function Ee() {
|
|
1271
1271
|
return /* @__PURE__ */ h("svg", {
|
|
1272
1272
|
viewBox: "0 0 24 24",
|
|
1273
1273
|
fill: "none",
|
|
@@ -1279,7 +1279,7 @@ function De() {
|
|
|
1279
1279
|
children: [/* @__PURE__ */ m("path", { d: "M12 18.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13Z" }), /* @__PURE__ */ m("path", { d: "m19.14 19.14-.13-.13m0-14.02.13-.13-.13.13ZM4.86 19.14l.13-.13-.13.13ZM12 2.08V2v.08ZM12 22v-.08.08ZM2.08 12H2h.08ZM22 12h-.08.08ZM4.99 4.99l-.13-.13.13.13Z" })]
|
|
1280
1280
|
});
|
|
1281
1281
|
}
|
|
1282
|
-
function
|
|
1282
|
+
function De() {
|
|
1283
1283
|
return /* @__PURE__ */ m("svg", {
|
|
1284
1284
|
viewBox: "0 0 24 24",
|
|
1285
1285
|
fill: "none",
|
|
@@ -1291,7 +1291,7 @@ function Oe() {
|
|
|
1291
1291
|
children: /* @__PURE__ */ m("path", { d: "M2.03 12.42c.36 5.15 4.73 9.34 9.96 9.57 3.69.16 6.99-1.56 8.97-4.27.82-1.11.38-1.85-.99-1.6-.67.12-1.36.17-2.08.14C13 16.06 9 11.97 8.98 7.14c-.01-1.3.26-2.53.75-3.65.54-1.24-.11-1.83-1.36-1.3C4.41 3.86 1.7 7.85 2.03 12.42Z" })
|
|
1292
1292
|
});
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1294
|
+
function Oe({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
1295
1295
|
return t ? /* @__PURE__ */ m("svg", {
|
|
1296
1296
|
viewBox: "0 0 24 24",
|
|
1297
1297
|
fill: "currentColor",
|
|
@@ -1323,7 +1323,7 @@ function ke({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
|
1323
1323
|
children: /* @__PURE__ */ m("path", { d: "M6.44 2h11.11C21.11 2 22 2.89 22 6.44v6.33c0 3.56-.89 4.44-4.44 4.44H6.44C2.89 17.22 2 16.33 2 12.78V6.44C2 2.89 2.89 2 6.44 2ZM12 17.22V22M2 13h20M7.5 22h9" })
|
|
1324
1324
|
});
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1326
|
+
function ke({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
1327
1327
|
return t ? /* @__PURE__ */ m("svg", {
|
|
1328
1328
|
viewBox: "0 0 24 24",
|
|
1329
1329
|
fill: "currentColor",
|
|
@@ -1362,7 +1362,7 @@ function Ae({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
|
1362
1362
|
children: [/* @__PURE__ */ m("path", { d: "M20 7v10c0 4-1 5-5 5H9c-4 0-5-1-5-5V7c0-4 1-5 5-5h6c4 0 5 1 5 5ZM14 5.5h-4" }), /* @__PURE__ */ m("path", { d: "M12 19.1a1.55 1.55 0 1 0 0-3.1 1.55 1.55 0 0 0 0 3.1Z" })]
|
|
1363
1363
|
});
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1365
|
+
function Ae() {
|
|
1366
1366
|
return /* @__PURE__ */ m("svg", {
|
|
1367
1367
|
viewBox: "0 0 24 24",
|
|
1368
1368
|
fill: "none",
|
|
@@ -1374,7 +1374,7 @@ function je() {
|
|
|
1374
1374
|
children: /* @__PURE__ */ m("path", { d: "M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44" })
|
|
1375
1375
|
});
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function je() {
|
|
1378
1378
|
return /* @__PURE__ */ m("svg", {
|
|
1379
1379
|
viewBox: "0 0 24 24",
|
|
1380
1380
|
fill: "none",
|
|
@@ -1386,13 +1386,13 @@ function Me() {
|
|
|
1386
1386
|
children: /* @__PURE__ */ m("path", { d: "M6 12h12M12 18V6" })
|
|
1387
1387
|
});
|
|
1388
1388
|
}
|
|
1389
|
-
function
|
|
1390
|
-
return /* @__PURE__ */ m(
|
|
1389
|
+
function Me({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
1390
|
+
return /* @__PURE__ */ m(ke, {
|
|
1391
1391
|
duotone: e,
|
|
1392
1392
|
solid: t
|
|
1393
1393
|
});
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1395
|
+
function Ne() {
|
|
1396
1396
|
return /* @__PURE__ */ h("svg", {
|
|
1397
1397
|
viewBox: "0 0 24 24",
|
|
1398
1398
|
fill: "none",
|
|
@@ -1404,7 +1404,7 @@ function Pe() {
|
|
|
1404
1404
|
children: [/* @__PURE__ */ m("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" }), /* @__PURE__ */ m("path", { d: "M9 2h6" })]
|
|
1405
1405
|
});
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1407
|
+
function Pe({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
1408
1408
|
return t ? /* @__PURE__ */ m("svg", {
|
|
1409
1409
|
viewBox: "0 0 24 24",
|
|
1410
1410
|
fill: "currentColor",
|
|
@@ -1436,7 +1436,7 @@ function Fe({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
|
1436
1436
|
children: [/* @__PURE__ */ m("path", { d: "M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z" }), /* @__PURE__ */ m("path", { d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })]
|
|
1437
1437
|
});
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function Fe() {
|
|
1440
1440
|
return /* @__PURE__ */ m("svg", {
|
|
1441
1441
|
viewBox: "0 0 24 24",
|
|
1442
1442
|
"aria-hidden": "true",
|
|
@@ -1446,7 +1446,7 @@ function Ie() {
|
|
|
1446
1446
|
})
|
|
1447
1447
|
});
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1449
|
+
function Ie() {
|
|
1450
1450
|
return /* @__PURE__ */ m("svg", {
|
|
1451
1451
|
viewBox: "0 0 24 24",
|
|
1452
1452
|
fill: "currentColor",
|
|
@@ -1454,7 +1454,7 @@ function Le() {
|
|
|
1454
1454
|
children: /* @__PURE__ */ m("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" })
|
|
1455
1455
|
});
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function Le() {
|
|
1458
1458
|
return /* @__PURE__ */ h("svg", {
|
|
1459
1459
|
viewBox: "0 0 24 24",
|
|
1460
1460
|
fill: "none",
|
|
@@ -1470,7 +1470,7 @@ function Re() {
|
|
|
1470
1470
|
]
|
|
1471
1471
|
});
|
|
1472
1472
|
}
|
|
1473
|
-
function
|
|
1473
|
+
function Re() {
|
|
1474
1474
|
return /* @__PURE__ */ m("svg", {
|
|
1475
1475
|
viewBox: "0 0 24 24",
|
|
1476
1476
|
fill: "none",
|
|
@@ -1482,7 +1482,7 @@ function ze() {
|
|
|
1482
1482
|
children: /* @__PURE__ */ m("path", { d: "M14.43 5.93L20.5 12l-6.07 6.07M3.5 12h16.83" })
|
|
1483
1483
|
});
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1485
|
+
function ze() {
|
|
1486
1486
|
return /* @__PURE__ */ h("svg", {
|
|
1487
1487
|
viewBox: "0 0 24 24",
|
|
1488
1488
|
fill: "none",
|
|
@@ -1494,7 +1494,7 @@ function Be() {
|
|
|
1494
1494
|
children: [/* @__PURE__ */ m("path", { d: "M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z" }), /* @__PURE__ */ m("path", { d: "m9.05 11.87 1.61 1.61 4.3-4.3" })]
|
|
1495
1495
|
});
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1497
|
+
function Be() {
|
|
1498
1498
|
return /* @__PURE__ */ m("svg", {
|
|
1499
1499
|
viewBox: "0 0 24 24",
|
|
1500
1500
|
fill: "none",
|
|
@@ -1506,7 +1506,7 @@ function Ve() {
|
|
|
1506
1506
|
children: /* @__PURE__ */ m("path", { d: "M5 12.5 10 17.5 19 6.5" })
|
|
1507
1507
|
});
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1509
|
+
function Ve() {
|
|
1510
1510
|
return /* @__PURE__ */ h("svg", {
|
|
1511
1511
|
viewBox: "0 0 24 24",
|
|
1512
1512
|
fill: "none",
|
|
@@ -1518,7 +1518,7 @@ function He() {
|
|
|
1518
1518
|
children: [/* @__PURE__ */ m("path", { d: "M15.58 12c0 1.98-1.6 3.58-3.58 3.58S8.42 13.98 8.42 12s1.6-3.58 3.58-3.58 3.58 1.6 3.58 3.58Z" }), /* @__PURE__ */ m("path", { d: "M12 20.27c3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-2.29-3.6-5.58-5.68-9.11-5.68-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19 2.29 3.6 5.58 5.68 9.11 5.68Z" })]
|
|
1519
1519
|
});
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function He() {
|
|
1522
1522
|
return /* @__PURE__ */ h("svg", {
|
|
1523
1523
|
viewBox: "0 0 24 24",
|
|
1524
1524
|
fill: "none",
|
|
@@ -1534,7 +1534,7 @@ function Ue() {
|
|
|
1534
1534
|
]
|
|
1535
1535
|
});
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function Ue() {
|
|
1538
1538
|
return /* @__PURE__ */ h("svg", {
|
|
1539
1539
|
viewBox: "0 0 24 24",
|
|
1540
1540
|
fill: "none",
|
|
@@ -1546,7 +1546,7 @@ function We() {
|
|
|
1546
1546
|
children: [/* @__PURE__ */ m("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z" }), /* @__PURE__ */ m("path", { d: "m7.75 12 2.83 2.83 5.67-5.66" })]
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function We() {
|
|
1550
1550
|
return /* @__PURE__ */ h("svg", {
|
|
1551
1551
|
viewBox: "0 0 24 24",
|
|
1552
1552
|
fill: "none",
|
|
@@ -1562,7 +1562,7 @@ function Ge() {
|
|
|
1562
1562
|
}), /* @__PURE__ */ m("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.9 7.9" })]
|
|
1563
1563
|
});
|
|
1564
1564
|
}
|
|
1565
|
-
function
|
|
1565
|
+
function Ge() {
|
|
1566
1566
|
return /* @__PURE__ */ m("svg", {
|
|
1567
1567
|
viewBox: "0 0 24 24",
|
|
1568
1568
|
fill: "none",
|
|
@@ -1574,7 +1574,7 @@ function Ke() {
|
|
|
1574
1574
|
children: /* @__PURE__ */ m("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" })
|
|
1575
1575
|
});
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1577
|
+
function Ke() {
|
|
1578
1578
|
return /* @__PURE__ */ h("svg", {
|
|
1579
1579
|
viewBox: "0 0 24 24",
|
|
1580
1580
|
fill: "none",
|
|
@@ -1590,7 +1590,7 @@ function qe() {
|
|
|
1590
1590
|
]
|
|
1591
1591
|
});
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function qe() {
|
|
1594
1594
|
return /* @__PURE__ */ h("svg", {
|
|
1595
1595
|
viewBox: "0 0 24 24",
|
|
1596
1596
|
fill: "none",
|
|
@@ -1602,7 +1602,7 @@ function Je() {
|
|
|
1602
1602
|
children: [/* @__PURE__ */ m("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" }), /* @__PURE__ */ m("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })]
|
|
1603
1603
|
});
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function Je() {
|
|
1606
1606
|
return /* @__PURE__ */ m("svg", {
|
|
1607
1607
|
viewBox: "0 0 24 24",
|
|
1608
1608
|
fill: "none",
|
|
@@ -1614,7 +1614,7 @@ function Ye() {
|
|
|
1614
1614
|
children: /* @__PURE__ */ m("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" })
|
|
1615
1615
|
});
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1617
|
+
function Ye() {
|
|
1618
1618
|
return /* @__PURE__ */ m("svg", {
|
|
1619
1619
|
viewBox: "0 0 24 24",
|
|
1620
1620
|
fill: "none",
|
|
@@ -1626,7 +1626,7 @@ function Xe() {
|
|
|
1626
1626
|
children: /* @__PURE__ */ m("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" })
|
|
1627
1627
|
});
|
|
1628
1628
|
}
|
|
1629
|
-
function
|
|
1629
|
+
function Xe() {
|
|
1630
1630
|
return /* @__PURE__ */ h("svg", {
|
|
1631
1631
|
viewBox: "0 0 24 24",
|
|
1632
1632
|
fill: "none",
|
|
@@ -1638,7 +1638,7 @@ function Ze() {
|
|
|
1638
1638
|
children: [/* @__PURE__ */ m("path", { d: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" }), /* @__PURE__ */ m("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" })]
|
|
1639
1639
|
});
|
|
1640
1640
|
}
|
|
1641
|
-
function
|
|
1641
|
+
function Ze() {
|
|
1642
1642
|
return /* @__PURE__ */ h("svg", {
|
|
1643
1643
|
viewBox: "0 0 24 24",
|
|
1644
1644
|
fill: "none",
|
|
@@ -1654,7 +1654,7 @@ function Qe() {
|
|
|
1654
1654
|
]
|
|
1655
1655
|
});
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function Qe() {
|
|
1658
1658
|
return /* @__PURE__ */ h("svg", {
|
|
1659
1659
|
viewBox: "0 0 24 24",
|
|
1660
1660
|
fill: "none",
|
|
@@ -1666,7 +1666,7 @@ function $e() {
|
|
|
1666
1666
|
children: [/* @__PURE__ */ m("path", { d: "M2 8.505h20M6 16.505h2M10.5 16.505h4" }), /* @__PURE__ */ m("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" })]
|
|
1667
1667
|
});
|
|
1668
1668
|
}
|
|
1669
|
-
function
|
|
1669
|
+
function $e() {
|
|
1670
1670
|
return /* @__PURE__ */ h("svg", {
|
|
1671
1671
|
viewBox: "0 0 24 24",
|
|
1672
1672
|
fill: "none",
|
|
@@ -1678,7 +1678,7 @@ function et() {
|
|
|
1678
1678
|
children: [/* @__PURE__ */ m("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" }), /* @__PURE__ */ m("path", { d: "M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18" })]
|
|
1679
1679
|
});
|
|
1680
1680
|
}
|
|
1681
|
-
function
|
|
1681
|
+
function et() {
|
|
1682
1682
|
return /* @__PURE__ */ m("svg", {
|
|
1683
1683
|
viewBox: "0 0 24 24",
|
|
1684
1684
|
fill: "none",
|
|
@@ -1690,7 +1690,7 @@ function tt() {
|
|
|
1690
1690
|
children: /* @__PURE__ */ m("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" })
|
|
1691
1691
|
});
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function tt() {
|
|
1694
1694
|
return /* @__PURE__ */ h("svg", {
|
|
1695
1695
|
viewBox: "0 0 24 24",
|
|
1696
1696
|
fill: "none",
|
|
@@ -1702,7 +1702,7 @@ function nt() {
|
|
|
1702
1702
|
children: [/* @__PURE__ */ m("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" }), /* @__PURE__ */ m("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" })]
|
|
1703
1703
|
});
|
|
1704
1704
|
}
|
|
1705
|
-
function
|
|
1705
|
+
function nt() {
|
|
1706
1706
|
return /* @__PURE__ */ h("svg", {
|
|
1707
1707
|
viewBox: "0 0 24 24",
|
|
1708
1708
|
fill: "none",
|
|
@@ -1714,7 +1714,7 @@ function rt() {
|
|
|
1714
1714
|
children: [/* @__PURE__ */ m("path", { d: "M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z" }), /* @__PURE__ */ m("path", { d: "M15.695 13.7h.009M15.695 16.7h.009M11.995 13.7h.01M11.995 16.7h.01M8.294 13.7h.01M8.294 16.7h.01" })]
|
|
1715
1715
|
});
|
|
1716
1716
|
}
|
|
1717
|
-
function
|
|
1717
|
+
function rt() {
|
|
1718
1718
|
return /* @__PURE__ */ m("svg", {
|
|
1719
1719
|
viewBox: "0 0 24 24",
|
|
1720
1720
|
fill: "none",
|
|
@@ -1726,7 +1726,7 @@ function it() {
|
|
|
1726
1726
|
children: /* @__PURE__ */ m("path", { d: "M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52" })
|
|
1727
1727
|
});
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1729
|
+
function it() {
|
|
1730
1730
|
return /* @__PURE__ */ m("svg", {
|
|
1731
1731
|
viewBox: "0 0 24 24",
|
|
1732
1732
|
fill: "none",
|
|
@@ -1738,7 +1738,7 @@ function at() {
|
|
|
1738
1738
|
children: /* @__PURE__ */ m("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" })
|
|
1739
1739
|
});
|
|
1740
1740
|
}
|
|
1741
|
-
function
|
|
1741
|
+
function at() {
|
|
1742
1742
|
return /* @__PURE__ */ h("svg", {
|
|
1743
1743
|
viewBox: "0 0 24 24",
|
|
1744
1744
|
fill: "none",
|
|
@@ -1750,7 +1750,7 @@ function ot() {
|
|
|
1750
1750
|
children: [/* @__PURE__ */ m("path", { d: "m12.37 2.15 9 3.6c.35.14.63.56.63.93V10c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1V6.68c0-.37.28-.79.63-.93l9-3.6c.2-.08.54-.08.74 0ZM22 22H2v-3c0-.55.45-1 1-1h18c.55 0 1 .45 1 1v3ZM4 18v-7M8 18v-7M12 18v-7M16 18v-7M20 18v-7M1 22h22" }), /* @__PURE__ */ m("path", { d: "M12 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })]
|
|
1751
1751
|
});
|
|
1752
1752
|
}
|
|
1753
|
-
function
|
|
1753
|
+
function ot() {
|
|
1754
1754
|
return /* @__PURE__ */ h("svg", {
|
|
1755
1755
|
viewBox: "0 0 24 24",
|
|
1756
1756
|
fill: "none",
|
|
@@ -1762,7 +1762,7 @@ function st() {
|
|
|
1762
1762
|
children: [/* @__PURE__ */ m("path", { d: "M9.5 13.75c0 .97.75 1.75 1.67 1.75h1.88c.8 0 1.45-.68 1.45-1.53 0-.91-.4-1.24-.99-1.45l-3.01-1.05c-.59-.21-.99-.53-.99-1.45 0-.84.65-1.53 1.45-1.53h1.88c.92 0 1.67.78 1.67 1.75M12 7.5v9" }), /* @__PURE__ */ m("path", { d: "M22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2M22 6V2h-4M17 7l5-5" })]
|
|
1763
1763
|
});
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function st() {
|
|
1766
1766
|
return /* @__PURE__ */ h("svg", {
|
|
1767
1767
|
viewBox: "0 0 24 24",
|
|
1768
1768
|
fill: "none",
|
|
@@ -1774,7 +1774,7 @@ function ct() {
|
|
|
1774
1774
|
children: [/* @__PURE__ */ m("path", { d: "M9.5 13.75c0 .97.75 1.75 1.67 1.75h1.88c.8 0 1.45-.68 1.45-1.53 0-.91-.4-1.24-.99-1.45l-3.01-1.05c-.59-.21-.99-.53-.99-1.45 0-.84.65-1.53 1.45-1.53h1.88c.92 0 1.67.78 1.67 1.75M12 7.5v9" }), /* @__PURE__ */ m("path", { d: "M22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2M17 3v4h4M22 2l-5 5" })]
|
|
1775
1775
|
});
|
|
1776
1776
|
}
|
|
1777
|
-
function
|
|
1777
|
+
function ct() {
|
|
1778
1778
|
return /* @__PURE__ */ h("svg", {
|
|
1779
1779
|
viewBox: "0 0 24 24",
|
|
1780
1780
|
fill: "none",
|
|
@@ -1786,7 +1786,7 @@ function lt() {
|
|
|
1786
1786
|
children: [/* @__PURE__ */ m("path", { d: "M8 12.2h7M8 16.2h4.38M10 6h4c2 0 2-1 2-2 0-2-1-2-2-2h-4C9 2 8 2 8 4s1 2 2 2Z" }), /* @__PURE__ */ m("path", { d: "M16 4.02c3.33.18 5 1.41 5 5.98v6c0 4-1 6-6 6H9c-5 0-6-2-6-6v-6c0-4.56 1.67-5.8 5-5.98" })]
|
|
1787
1787
|
});
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function lt() {
|
|
1790
1790
|
return /* @__PURE__ */ h("svg", {
|
|
1791
1791
|
viewBox: "0 0 24 24",
|
|
1792
1792
|
fill: "none",
|
|
@@ -1798,7 +1798,7 @@ function ut() {
|
|
|
1798
1798
|
children: [/* @__PURE__ */ m("path", { d: "M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z" }), /* @__PURE__ */ m("path", { d: "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" })]
|
|
1799
1799
|
});
|
|
1800
1800
|
}
|
|
1801
|
-
function
|
|
1801
|
+
function ut() {
|
|
1802
1802
|
return /* @__PURE__ */ h("svg", {
|
|
1803
1803
|
viewBox: "0 0 24 24",
|
|
1804
1804
|
fill: "none",
|
|
@@ -1810,7 +1810,7 @@ function dt() {
|
|
|
1810
1810
|
children: [/* @__PURE__ */ m("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" }), /* @__PURE__ */ m("path", { d: "M14.495 14.5h.009M9.495 9.5h.008" })]
|
|
1811
1811
|
});
|
|
1812
1812
|
}
|
|
1813
|
-
function
|
|
1813
|
+
function dt() {
|
|
1814
1814
|
return /* @__PURE__ */ h("svg", {
|
|
1815
1815
|
viewBox: "0 0 24 24",
|
|
1816
1816
|
fill: "none",
|
|
@@ -1822,7 +1822,7 @@ function ft() {
|
|
|
1822
1822
|
children: [/* @__PURE__ */ m("path", { d: "M19.5 12.5A2.5 2.5 0 0 1 22 10V9c0-4-1-5-5-5H7C3 4 2 5 2 9v.5a2.5 2.5 0 0 1 0 5v.5c0 4 1 5 5 5h10c4 0 5-1 5-5a2.5 2.5 0 0 1-2.5-2.5ZM9 14.75l6-6" }), /* @__PURE__ */ m("path", { d: "M14.995 14.75h.009M8.995 9.25h.008" })]
|
|
1823
1823
|
});
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function ft({ solid: e = !1 } = {}) {
|
|
1826
1826
|
return e ? /* @__PURE__ */ h("svg", {
|
|
1827
1827
|
viewBox: "0 0 24 24",
|
|
1828
1828
|
fill: "none",
|
|
@@ -1867,7 +1867,7 @@ function pt({ solid: e = !1 } = {}) {
|
|
|
1867
1867
|
]
|
|
1868
1868
|
});
|
|
1869
1869
|
}
|
|
1870
|
-
function
|
|
1870
|
+
function pt() {
|
|
1871
1871
|
return /* @__PURE__ */ h("svg", {
|
|
1872
1872
|
viewBox: "0 0 24 24",
|
|
1873
1873
|
fill: "none",
|
|
@@ -1894,7 +1894,7 @@ function mt() {
|
|
|
1894
1894
|
]
|
|
1895
1895
|
});
|
|
1896
1896
|
}
|
|
1897
|
-
function
|
|
1897
|
+
function mt() {
|
|
1898
1898
|
return /* @__PURE__ */ h("svg", {
|
|
1899
1899
|
viewBox: "0 0 24 24",
|
|
1900
1900
|
fill: "none",
|
|
@@ -1910,7 +1910,7 @@ function ht() {
|
|
|
1910
1910
|
]
|
|
1911
1911
|
});
|
|
1912
1912
|
}
|
|
1913
|
-
function
|
|
1913
|
+
function ht() {
|
|
1914
1914
|
return /* @__PURE__ */ h("svg", {
|
|
1915
1915
|
viewBox: "0 0 24 24",
|
|
1916
1916
|
fill: "none",
|
|
@@ -1922,7 +1922,7 @@ function gt() {
|
|
|
1922
1922
|
children: [/* @__PURE__ */ m("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }), /* @__PURE__ */ m("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" })]
|
|
1923
1923
|
});
|
|
1924
1924
|
}
|
|
1925
|
-
function
|
|
1925
|
+
function gt({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
1926
1926
|
return t ? /* @__PURE__ */ h("svg", {
|
|
1927
1927
|
viewBox: "0 0 24 24",
|
|
1928
1928
|
fill: "currentColor",
|
|
@@ -1951,7 +1951,7 @@ function _t({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
|
1951
1951
|
]
|
|
1952
1952
|
});
|
|
1953
1953
|
}
|
|
1954
|
-
function
|
|
1954
|
+
function _t({ solid: e = !1 } = {}) {
|
|
1955
1955
|
return e ? /* @__PURE__ */ m("svg", {
|
|
1956
1956
|
viewBox: "0 0 24 24",
|
|
1957
1957
|
fill: "currentColor",
|
|
@@ -1968,7 +1968,7 @@ function vt({ solid: e = !1 } = {}) {
|
|
|
1968
1968
|
children: /* @__PURE__ */ m("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" })
|
|
1969
1969
|
});
|
|
1970
1970
|
}
|
|
1971
|
-
function
|
|
1971
|
+
function vt() {
|
|
1972
1972
|
return /* @__PURE__ */ m("svg", {
|
|
1973
1973
|
viewBox: "0 0 24 24",
|
|
1974
1974
|
fill: "none",
|
|
@@ -1980,7 +1980,7 @@ function yt() {
|
|
|
1980
1980
|
children: /* @__PURE__ */ m("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" })
|
|
1981
1981
|
});
|
|
1982
1982
|
}
|
|
1983
|
-
function
|
|
1983
|
+
function yt() {
|
|
1984
1984
|
return /* @__PURE__ */ h("svg", {
|
|
1985
1985
|
viewBox: "0 0 24 24",
|
|
1986
1986
|
fill: "none",
|
|
@@ -1992,7 +1992,7 @@ function bt() {
|
|
|
1992
1992
|
children: [/* @__PURE__ */ m("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" }), /* @__PURE__ */ m("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" })]
|
|
1993
1993
|
});
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function bt() {
|
|
1996
1996
|
return /* @__PURE__ */ m("svg", {
|
|
1997
1997
|
viewBox: "0 0 24 24",
|
|
1998
1998
|
fill: "none",
|
|
@@ -2004,7 +2004,7 @@ function xt() {
|
|
|
2004
2004
|
children: /* @__PURE__ */ m("path", { d: "M3 7h18M3 12h18M3 17h18" })
|
|
2005
2005
|
});
|
|
2006
2006
|
}
|
|
2007
|
-
function
|
|
2007
|
+
function xt({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
2008
2008
|
return t ? /* @__PURE__ */ m("svg", {
|
|
2009
2009
|
viewBox: "0 0 24 24",
|
|
2010
2010
|
fill: "currentColor",
|
|
@@ -2043,7 +2043,7 @@ function St({ duotone: e = !1, solid: t = !1 } = {}) {
|
|
|
2043
2043
|
children: [/* @__PURE__ */ m("path", { d: "M13 22H5c-2 0-3-1-3-3v-8c0-2 1-3 3-3h5v11c0 2 1 3 3 3ZM10.11 4c-.08.3-.11.63-.11 1v3H5V6c0-1.1.9-2 2-2h3.11ZM14 8v5M18 8v5M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1ZM6 13v4" }), /* @__PURE__ */ m("path", { d: "M10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z" })]
|
|
2044
2044
|
});
|
|
2045
2045
|
}
|
|
2046
|
-
function
|
|
2046
|
+
function St() {
|
|
2047
2047
|
return /* @__PURE__ */ h("svg", {
|
|
2048
2048
|
viewBox: "0 0 24 24",
|
|
2049
2049
|
fill: "none",
|
|
@@ -2055,7 +2055,7 @@ function Ct() {
|
|
|
2055
2055
|
children: [/* @__PURE__ */ m("path", { d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z" }), /* @__PURE__ */ m("path", { d: "M9.1 12v-1.48c0-1.91 1.35-2.68 3-1.73l1.28.74 1.28.74c1.65.95 1.65 2.51 0 3.46l-1.28.74-1.28.74c-1.65.95-3 .17-3-1.73V12Z" })]
|
|
2056
2056
|
});
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2058
|
+
function Ct() {
|
|
2059
2059
|
return /* @__PURE__ */ h("svg", {
|
|
2060
2060
|
viewBox: "0 0 24 24",
|
|
2061
2061
|
fill: "none",
|
|
@@ -2067,7 +2067,7 @@ function wt() {
|
|
|
2067
2067
|
children: [/* @__PURE__ */ m("path", { d: "M22 16.74V4.67c0-1.2-.98-2.09-2.17-1.99h-.06c-2.1.18-5.29 1.25-7.07 2.37l-.17.11c-.29.18-.77.18-1.06 0l-.25-.15C9.44 3.9 6.26 2.84 4.16 2.67 2.97 2.57 2 3.47 2 4.66v12.08c0 .96.78 1.86 1.74 1.98l.29.04c2.17.29 5.52 1.39 7.44 2.44l.04.02c.27.15.7.15.96 0 1.92-1.06 5.28-2.17 7.46-2.46l.33-.04c.96-.12 1.74-1.02 1.74-1.98Z" }), /* @__PURE__ */ m("path", { d: "M12 5.49v15M7.75 8.49H5.5M8.5 11.49h-3" })]
|
|
2068
2068
|
});
|
|
2069
2069
|
}
|
|
2070
|
-
function
|
|
2070
|
+
function wt() {
|
|
2071
2071
|
return /* @__PURE__ */ h("svg", {
|
|
2072
2072
|
viewBox: "0 0 24 24",
|
|
2073
2073
|
fill: "none",
|
|
@@ -2083,7 +2083,7 @@ function Tt() {
|
|
|
2083
2083
|
]
|
|
2084
2084
|
});
|
|
2085
2085
|
}
|
|
2086
|
-
function
|
|
2086
|
+
function Tt() {
|
|
2087
2087
|
return /* @__PURE__ */ h("svg", {
|
|
2088
2088
|
viewBox: "0 0 24 24",
|
|
2089
2089
|
fill: "none",
|
|
@@ -2095,7 +2095,7 @@ function Et() {
|
|
|
2095
2095
|
children: [/* @__PURE__ */ m("path", { d: "M12 15c3.728 0 6.75-2.91 6.75-6.5S15.728 2 12 2 5.25 4.91 5.25 8.5 8.272 15 12 15Z" }), /* @__PURE__ */ m("path", { d: "m7.52 13.52-.01 7.38c0 .9.63 1.34 1.41.97l2.68-1.27c.22-.11.59-.11.81 0l2.69 1.27c.77.36 1.41-.07 1.41-.97v-7.56" })]
|
|
2096
2096
|
});
|
|
2097
2097
|
}
|
|
2098
|
-
function
|
|
2098
|
+
function Et() {
|
|
2099
2099
|
return /* @__PURE__ */ h("svg", {
|
|
2100
2100
|
viewBox: "0 0 24 24",
|
|
2101
2101
|
fill: "none",
|
|
@@ -2112,7 +2112,7 @@ function Dt() {
|
|
|
2112
2112
|
]
|
|
2113
2113
|
});
|
|
2114
2114
|
}
|
|
2115
|
-
function
|
|
2115
|
+
function Dt() {
|
|
2116
2116
|
return /* @__PURE__ */ h("svg", {
|
|
2117
2117
|
viewBox: "0 0 24 24",
|
|
2118
2118
|
fill: "none",
|
|
@@ -2128,7 +2128,7 @@ function Ot() {
|
|
|
2128
2128
|
]
|
|
2129
2129
|
});
|
|
2130
2130
|
}
|
|
2131
|
-
function
|
|
2131
|
+
function Ot(e) {
|
|
2132
2132
|
return /* @__PURE__ */ m("svg", {
|
|
2133
2133
|
viewBox: "0 0 24 24",
|
|
2134
2134
|
fill: "none",
|
|
@@ -2140,43 +2140,43 @@ function kt(e) {
|
|
|
2140
2140
|
children: e.map((e) => /* @__PURE__ */ m("path", { d: e }, e))
|
|
2141
2141
|
});
|
|
2142
2142
|
}
|
|
2143
|
+
function kt() {
|
|
2144
|
+
return Ot(["M10.65 19.11V4.89c0-1.35-.57-1.89-2.01-1.89H5.01C3.57 3 3 3.54 3 4.89v14.22C3 20.46 3.57 21 5.01 21h3.63c1.44 0 2.01-.54 2.01-1.89ZM21 19.11V4.89C21 3.54 20.43 3 18.99 3h-3.63c-1.43 0-2.01.54-2.01 1.89v14.22c0 1.35.57 1.89 2.01 1.89h3.63c1.44 0 2.01-.54 2.01-1.89Z"]);
|
|
2145
|
+
}
|
|
2143
2146
|
function At() {
|
|
2144
|
-
return
|
|
2147
|
+
return Ot(["M9.11 5.08c.87-.26 1.83-.43 2.89-.43 4.79 0 8.67 3.88 8.67 8.67s-3.88 8.67-8.67 8.67-8.67-3.88-8.67-8.67c0-1.78.54-3.44 1.46-4.82M7.87 5.32L10.76 2M7.87 5.32l3.37 2.46"]);
|
|
2145
2148
|
}
|
|
2146
2149
|
function jt() {
|
|
2147
|
-
return
|
|
2148
|
-
}
|
|
2149
|
-
function Mt() {
|
|
2150
|
-
return kt([
|
|
2150
|
+
return Ot([
|
|
2151
2151
|
"M22 6v2.42C22 10 21 11 19.42 11H16V4.01C16 2.9 16.91 2 18.02 2c1.09.01 2.09.45 2.81 1.17C21.55 3.9 22 4.9 22 6Z",
|
|
2152
2152
|
"M2 7v14c0 .83.94 1.3 1.6.8l1.71-1.28c.4-.3.96-.26 1.32.1l1.66 1.67c.39.39 1.03.39 1.42 0l1.68-1.68c.35-.35.91-.39 1.3-.09l1.71 1.28c.66.49 1.6.02 1.6-.8V4c0-1.1.9-2 2-2H6C3 2 2 3.79 2 6v1Z",
|
|
2153
2153
|
"M6 9h6M6.75 13h4.5"
|
|
2154
2154
|
]);
|
|
2155
2155
|
}
|
|
2156
|
+
function Mt() {
|
|
2157
|
+
return Ot(["M8.5 19H8c-4 0-6-1-6-6V8c0-4 2-6 6-6h8c4 0 6 2 6 6v5c0 4-2 6-6 6h-.5c-.31 0-.61.15-.8.4l-1.5 2c-.66.88-1.74.88-2.4 0l-1.5-2c-.16-.22-.53-.4-.8-.4Z", "M15.996 11h.01M11.995 11h.01M7.995 11h.008"]);
|
|
2158
|
+
}
|
|
2156
2159
|
function Nt() {
|
|
2157
|
-
return
|
|
2160
|
+
return Ot(["m17.29 4.14-.07 3.79c-.01.52.32 1.21.74 1.52l2.48 1.88c1.59 1.2 1.33 2.67-.57 3.27l-3.23 1.01c-.54.17-1.11.76-1.25 1.31l-.77 2.94c-.61 2.32-2.13 2.55-3.39.51l-1.76-2.85c-.32-.52-1.08-.91-1.68-.88l-3.34.17c-2.39.12-3.07-1.26-1.51-3.08l1.98-2.3c.37-.43.54-1.23.37-1.77L4.28 6.43c-.59-1.9.47-2.95 2.36-2.33l2.95.97c.5.16 1.25.05 1.67-.26l3.08-2.22c1.66-1.2 2.99-.5 2.95 1.55ZM21.91 22l-3.03-3.03"]);
|
|
2158
2161
|
}
|
|
2159
2162
|
function Pt() {
|
|
2160
|
-
return
|
|
2163
|
+
return Ot(["M5.15 2v20M5.15 4h11.2c2.7 0 3.3 1.5 1.4 3.4l-1.2 1.2c-.8.8-.8 2.1 0 2.8l1.2 1.2c1.9 1.9 1.2 3.4-1.4 3.4H5.15"]);
|
|
2161
2164
|
}
|
|
2162
2165
|
function Ft() {
|
|
2163
|
-
return
|
|
2166
|
+
return Ot(["M12 13.43a3.12 3.12 0 1 0 0-6.24 3.12 3.12 0 0 0 0 6.24Z", "M3.62 8.49c1.97-8.66 14.8-8.65 16.76.01 1.15 5.08-2.01 9.38-4.78 12.04a5.193 5.193 0 0 1-7.21 0c-2.76-2.66-5.92-6.97-4.77-12.05Z"]);
|
|
2164
2167
|
}
|
|
2165
2168
|
function It() {
|
|
2166
|
-
return
|
|
2169
|
+
return Ot(["M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM9.17 14.83l5.66-5.66M14.83 14.83 9.17 9.17"]);
|
|
2167
2170
|
}
|
|
2168
2171
|
function Lt() {
|
|
2169
|
-
return
|
|
2172
|
+
return Ot(["M6.09 13.28h3.09v7.2c0 1.68.91 2.02 2.02.76l7.57-8.6c.93-1.05.54-1.92-.87-1.92h-3.09v-7.2c0-1.68-.91-2.02-2.02-.76l-7.57 8.6c-.92 1.06-.53 1.92.87 1.92Z"]);
|
|
2170
2173
|
}
|
|
2171
2174
|
function Rt() {
|
|
2172
|
-
return
|
|
2173
|
-
}
|
|
2174
|
-
function zt() {
|
|
2175
|
-
return kt(["M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z", "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8"]);
|
|
2175
|
+
return Ot(["M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z", "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8"]);
|
|
2176
2176
|
}
|
|
2177
2177
|
//#endregion
|
|
2178
2178
|
//#region src/positioning.ts
|
|
2179
|
-
function
|
|
2179
|
+
function zt(e, t, n, r, i = 8) {
|
|
2180
2180
|
let a = window.innerWidth, o = window.innerHeight, s = n.split("-"), c = s[0], l = s[1], u = 0, d = 0;
|
|
2181
2181
|
if (c === "bottom" || c === "top") {
|
|
2182
2182
|
let n = o - e.bottom, i = e.top;
|
|
@@ -2195,19 +2195,19 @@ function Bt(e, t, n, r, i = 8) {
|
|
|
2195
2195
|
}
|
|
2196
2196
|
//#endregion
|
|
2197
2197
|
//#region src/SelectTooltip.tsx
|
|
2198
|
-
function
|
|
2198
|
+
function Bt() {
|
|
2199
2199
|
return typeof window > "u" || !window.matchMedia || window.matchMedia("(hover: hover)").matches;
|
|
2200
2200
|
}
|
|
2201
|
-
function
|
|
2201
|
+
function Vt(e) {
|
|
2202
2202
|
try {
|
|
2203
2203
|
return e instanceof Element && e.matches(":focus-visible");
|
|
2204
2204
|
} catch {
|
|
2205
2205
|
return !0;
|
|
2206
2206
|
}
|
|
2207
2207
|
}
|
|
2208
|
-
function
|
|
2208
|
+
function Ht({ content: e, children: t, placement: n = "top", delay: r = 250, openOnClick: a = !1 }) {
|
|
2209
2209
|
let [l, f] = d(!1), [_, v] = d(!1), [y, b] = d(!1), x = _ || l && !y, S = u(null), C = u(null), w = u(null), [T, E] = d(null), D = s(), O = () => {
|
|
2210
|
-
|
|
2210
|
+
Bt() && (w.current && clearTimeout(w.current), w.current = setTimeout(() => f(!0), r));
|
|
2211
2211
|
}, k = () => {
|
|
2212
2212
|
w.current && clearTimeout(w.current), f(!1), b(!1);
|
|
2213
2213
|
}, A = () => {
|
|
@@ -2220,7 +2220,7 @@ function Ut({ content: e, children: t, placement: n = "top", delay: r = 250, ope
|
|
|
2220
2220
|
var e;
|
|
2221
2221
|
let t = ((e = S.current) == null ? void 0 : e.firstElementChild) ?? S.current, r = C.current;
|
|
2222
2222
|
if (!t || !r) return;
|
|
2223
|
-
let i =
|
|
2223
|
+
let i = zt(t.getBoundingClientRect(), {
|
|
2224
2224
|
width: r.offsetWidth,
|
|
2225
2225
|
height: r.offsetHeight
|
|
2226
2226
|
}, n, 6);
|
|
@@ -2261,7 +2261,7 @@ function Ut({ content: e, children: t, placement: n = "top", delay: r = 250, ope
|
|
|
2261
2261
|
onMouseEnter: O,
|
|
2262
2262
|
onMouseLeave: k,
|
|
2263
2263
|
onFocusCapture: (e) => {
|
|
2264
|
-
|
|
2264
|
+
Vt(e.target) && f(!0);
|
|
2265
2265
|
},
|
|
2266
2266
|
onBlurCapture: k,
|
|
2267
2267
|
onClick: a ? A : void 0,
|
|
@@ -2287,8 +2287,8 @@ function Ut({ content: e, children: t, placement: n = "top", delay: r = 250, ope
|
|
|
2287
2287
|
}
|
|
2288
2288
|
//#endregion
|
|
2289
2289
|
//#region src/SelectInfoTip.tsx
|
|
2290
|
-
var
|
|
2291
|
-
return /* @__PURE__ */ m(
|
|
2290
|
+
var Ut = r(function({ content: e, title: t, label: n = "Mais informações", placement: r = "top", className: i, ...a }, o) {
|
|
2291
|
+
return /* @__PURE__ */ m(Ht, {
|
|
2292
2292
|
placement: r,
|
|
2293
2293
|
delay: 120,
|
|
2294
2294
|
openOnClick: !0,
|
|
@@ -2302,10 +2302,10 @@ var Wt = r(function({ content: e, title: t, label: n = "Mais informações", pla
|
|
|
2302
2302
|
...a,
|
|
2303
2303
|
className: `select-infotip${i ? " " + i : ""}`,
|
|
2304
2304
|
"aria-label": n,
|
|
2305
|
-
children: /* @__PURE__ */ m(
|
|
2305
|
+
children: /* @__PURE__ */ m(ve, {})
|
|
2306
2306
|
})
|
|
2307
2307
|
});
|
|
2308
|
-
}),
|
|
2308
|
+
}), Wt = r(function({ htmlFor: e, label: t, help: n, info: r, action: i, className: a, ...o }, s) {
|
|
2309
2309
|
return /* @__PURE__ */ h("div", {
|
|
2310
2310
|
ref: s,
|
|
2311
2311
|
...o,
|
|
@@ -2316,16 +2316,16 @@ var Wt = r(function({ content: e, title: t, label: n = "Mais informações", pla
|
|
|
2316
2316
|
className: "select-field__label",
|
|
2317
2317
|
htmlFor: e,
|
|
2318
2318
|
children: t
|
|
2319
|
-
}), n != null && n !== "" ? /* @__PURE__ */ m(
|
|
2319
|
+
}), n != null && n !== "" ? /* @__PURE__ */ m(Ut, { content: n }) : r && /* @__PURE__ */ m("span", {
|
|
2320
2320
|
className: "select-field__info",
|
|
2321
2321
|
title: r,
|
|
2322
2322
|
"aria-label": r,
|
|
2323
|
-
children: /* @__PURE__ */ m(
|
|
2323
|
+
children: /* @__PURE__ */ m(ve, {})
|
|
2324
2324
|
})]
|
|
2325
2325
|
}), i]
|
|
2326
2326
|
});
|
|
2327
2327
|
});
|
|
2328
|
-
function
|
|
2328
|
+
function Gt(e, t) {
|
|
2329
2329
|
if (t == null) return null;
|
|
2330
2330
|
let n = e.length;
|
|
2331
2331
|
return /* @__PURE__ */ h("span", {
|
|
@@ -2338,18 +2338,18 @@ function Kt(e, t) {
|
|
|
2338
2338
|
]
|
|
2339
2339
|
});
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2341
|
+
function Kt(e, t) {
|
|
2342
2342
|
return t == null ? e : e == null || e === !1 ? t : /* @__PURE__ */ h("span", {
|
|
2343
2343
|
className: "select-field__actions",
|
|
2344
2344
|
children: [t, e]
|
|
2345
2345
|
});
|
|
2346
2346
|
}
|
|
2347
|
-
var
|
|
2348
|
-
let te = s(), ne = w ?? te, [R, z] = d(!1), B = r === "password", V = B && R ? "text" : r, H = u ? `${ne}-err` : l ? `${ne}-hint` : void 0,
|
|
2349
|
-
let t = Number(A ?? 1) || 1, r = (
|
|
2347
|
+
var qt = r(function({ label: e, value: t, onChange: n, type: r = "text", labelAction: i, help: a, info: o, description: c, hint: l, error: u, prefix: f, suffix: p, trailingAction: g, mono: _, autoComplete: v, placeholder: y, required: b, disabled: x, readOnly: S, name: C, id: w, minLength: T, maxLength: E, showCount: D = !1, min: O, max: k, step: A, inputMode: j, autoFocus: M, onBlur: N, onKeyDown: P, size: F = "md", className: I, ...L }, ee) {
|
|
2348
|
+
let te = s(), ne = w ?? te, [R, z] = d(!1), B = r === "password", V = B && R ? "text" : r, H = u ? `${ne}-err` : l ? `${ne}-hint` : void 0, U = f != null || p != null, re = r === "number" && !U && !S, W = t === "" ? null : Number(t), ie = (e) => {
|
|
2349
|
+
let t = Number(A ?? 1) || 1, r = (W != null && Number.isFinite(W) ? W : 0) + e * t;
|
|
2350
2350
|
O != null && (r = Math.max(Number(O), r)), k != null && (r = Math.min(Number(k), r)), n(String(r));
|
|
2351
|
-
},
|
|
2352
|
-
className: `select-input-wrap${
|
|
2351
|
+
}, K = O != null && W != null && W <= Number(O), q = k != null && W != null && W >= Number(k), ae = /* @__PURE__ */ h("div", {
|
|
2352
|
+
className: `select-input-wrap${U ? " select-input-wrap--affixed" : ""}${u ? " select-input-wrap--error" : ""}`,
|
|
2353
2353
|
children: [
|
|
2354
2354
|
f != null && /* @__PURE__ */ m("span", {
|
|
2355
2355
|
className: "select-input__affix select-input__affix--prefix",
|
|
@@ -2357,7 +2357,7 @@ var Jt = r(function({ label: e, value: t, onChange: n, type: r = "text", labelAc
|
|
|
2357
2357
|
}),
|
|
2358
2358
|
/* @__PURE__ */ m("input", {
|
|
2359
2359
|
id: ne,
|
|
2360
|
-
className: `select-input${B ? " select-input--has-suffix" : ""}${
|
|
2360
|
+
className: `select-input${B ? " select-input--has-suffix" : ""}${re ? " select-input--has-stepper" : ""}${_ ? " select-input--mono" : ""}${u ? " select-input--error" : ""}`,
|
|
2361
2361
|
type: V,
|
|
2362
2362
|
value: t,
|
|
2363
2363
|
onChange: (e) => n(e.target.value),
|
|
@@ -2388,49 +2388,49 @@ var Jt = r(function({ label: e, value: t, onChange: n, type: r = "text", labelAc
|
|
|
2388
2388
|
className: "select-input__reveal",
|
|
2389
2389
|
onClick: () => z((e) => !e),
|
|
2390
2390
|
"aria-label": R ? "Ocultar senha" : "Mostrar senha",
|
|
2391
|
-
children: m(R ?
|
|
2391
|
+
children: m(R ? He : Ve, {})
|
|
2392
2392
|
}),
|
|
2393
|
-
|
|
2393
|
+
re && /* @__PURE__ */ h("span", {
|
|
2394
2394
|
className: "select-stepper",
|
|
2395
2395
|
children: [/* @__PURE__ */ m("button", {
|
|
2396
2396
|
type: "button",
|
|
2397
2397
|
tabIndex: -1,
|
|
2398
2398
|
className: "select-stepper__btn",
|
|
2399
2399
|
"aria-label": "Aumentar",
|
|
2400
|
-
disabled: x ||
|
|
2401
|
-
onClick: () =>
|
|
2402
|
-
children: /* @__PURE__ */ m(
|
|
2400
|
+
disabled: x || q,
|
|
2401
|
+
onClick: () => ie(1),
|
|
2402
|
+
children: /* @__PURE__ */ m(rt, {})
|
|
2403
2403
|
}), /* @__PURE__ */ m("button", {
|
|
2404
2404
|
type: "button",
|
|
2405
2405
|
tabIndex: -1,
|
|
2406
2406
|
className: "select-stepper__btn",
|
|
2407
2407
|
"aria-label": "Diminuir",
|
|
2408
|
-
disabled: x ||
|
|
2409
|
-
onClick: () =>
|
|
2410
|
-
children: /* @__PURE__ */ m(
|
|
2408
|
+
disabled: x || K,
|
|
2409
|
+
onClick: () => ie(-1),
|
|
2410
|
+
children: /* @__PURE__ */ m(G, {})
|
|
2411
2411
|
})]
|
|
2412
2412
|
})
|
|
2413
2413
|
]
|
|
2414
|
-
}),
|
|
2414
|
+
}), oe = Kt(i, D ? Gt(t, E) : null);
|
|
2415
2415
|
return /* @__PURE__ */ h("div", {
|
|
2416
2416
|
ref: ee,
|
|
2417
2417
|
...L,
|
|
2418
2418
|
className: `select-field${F === "sm" ? " select-field--sm" : ""}${I ? " " + I : ""}`,
|
|
2419
2419
|
children: [
|
|
2420
|
-
(e || a || o ||
|
|
2420
|
+
(e || a || o || oe) && /* @__PURE__ */ m(Wt, {
|
|
2421
2421
|
htmlFor: ne,
|
|
2422
2422
|
label: e,
|
|
2423
2423
|
help: a,
|
|
2424
2424
|
info: o,
|
|
2425
|
-
action:
|
|
2425
|
+
action: oe
|
|
2426
2426
|
}),
|
|
2427
2427
|
c && /* @__PURE__ */ m("p", {
|
|
2428
2428
|
className: "select-field__desc",
|
|
2429
2429
|
children: c
|
|
2430
2430
|
}),
|
|
2431
|
-
g == null ?
|
|
2431
|
+
g == null ? ae : /* @__PURE__ */ h("div", {
|
|
2432
2432
|
className: "select-field__control",
|
|
2433
|
-
children: [
|
|
2433
|
+
children: [ae, /* @__PURE__ */ m("span", {
|
|
2434
2434
|
className: "select-field__trailing",
|
|
2435
2435
|
children: g
|
|
2436
2436
|
})]
|
|
@@ -2446,7 +2446,7 @@ var Jt = r(function({ label: e, value: t, onChange: n, type: r = "text", labelAc
|
|
|
2446
2446
|
}) : null
|
|
2447
2447
|
]
|
|
2448
2448
|
});
|
|
2449
|
-
}),
|
|
2449
|
+
}), Jt = r(function({ label: e, checked: t, onChange: n, disabled: r, hint: i, name: a, className: o, ...s }, c) {
|
|
2450
2450
|
return /* @__PURE__ */ h("span", {
|
|
2451
2451
|
ref: c,
|
|
2452
2452
|
...s,
|
|
@@ -2464,7 +2464,7 @@ var Jt = r(function({ label: e, value: t, onChange: n, type: r = "text", labelAc
|
|
|
2464
2464
|
/* @__PURE__ */ m("span", {
|
|
2465
2465
|
className: "select-checkbox__box",
|
|
2466
2466
|
"aria-hidden": "true",
|
|
2467
|
-
children: /* @__PURE__ */ m(
|
|
2467
|
+
children: /* @__PURE__ */ m(Be, {})
|
|
2468
2468
|
}),
|
|
2469
2469
|
/* @__PURE__ */ m("span", {
|
|
2470
2470
|
className: "select-checkbox__label",
|
|
@@ -2476,14 +2476,14 @@ var Jt = r(function({ label: e, value: t, onChange: n, type: r = "text", labelAc
|
|
|
2476
2476
|
children: i
|
|
2477
2477
|
})]
|
|
2478
2478
|
});
|
|
2479
|
-
}),
|
|
2480
|
-
let T = s(), E = l ? `${T}-err` : c ? `${T}-hint` : void 0, D =
|
|
2479
|
+
}), Yt = r(function({ label: e, value: t, onChange: n, labelAction: r, help: i, info: a, description: o, hint: c, error: l, placeholder: u, rows: d = 4, mono: f, name: p, required: g, disabled: _, maxLength: v, showCount: y = !1, onBlur: b, size: x = "md", className: S, ...C }, w) {
|
|
2480
|
+
let T = s(), E = l ? `${T}-err` : c ? `${T}-hint` : void 0, D = Kt(r, y ? Gt(t, v) : null);
|
|
2481
2481
|
return /* @__PURE__ */ h("div", {
|
|
2482
2482
|
ref: w,
|
|
2483
2483
|
...C,
|
|
2484
2484
|
className: `select-field${x === "sm" ? " select-field--sm" : ""}${S ? " " + S : ""}`,
|
|
2485
2485
|
children: [
|
|
2486
|
-
(e || i || a || D) && /* @__PURE__ */ m(
|
|
2486
|
+
(e || i || a || D) && /* @__PURE__ */ m(Wt, {
|
|
2487
2487
|
htmlFor: T,
|
|
2488
2488
|
label: e,
|
|
2489
2489
|
help: i,
|
|
@@ -2520,14 +2520,14 @@ var Jt = r(function({ label: e, value: t, onChange: n, type: r = "text", labelAc
|
|
|
2520
2520
|
}) : null
|
|
2521
2521
|
]
|
|
2522
2522
|
});
|
|
2523
|
-
}),
|
|
2523
|
+
}), Xt = r(function({ label: e, value: t, onChange: n, unit: r, info: i, hint: a, error: o, placeholder: c = "0", disabled: l = !1, min: u, max: d, className: f, ...p }, g) {
|
|
2524
2524
|
let _ = s();
|
|
2525
2525
|
return /* @__PURE__ */ h("div", {
|
|
2526
2526
|
ref: g,
|
|
2527
2527
|
...p,
|
|
2528
2528
|
className: `select-field${f ? " " + f : ""}`,
|
|
2529
2529
|
children: [
|
|
2530
|
-
e && /* @__PURE__ */ m(
|
|
2530
|
+
e && /* @__PURE__ */ m(Wt, {
|
|
2531
2531
|
htmlFor: _,
|
|
2532
2532
|
label: e,
|
|
2533
2533
|
info: i
|
|
@@ -2559,11 +2559,11 @@ var Jt = r(function({ label: e, value: t, onChange: n, type: r = "text", labelAc
|
|
|
2559
2559
|
}) : null
|
|
2560
2560
|
]
|
|
2561
2561
|
});
|
|
2562
|
-
}),
|
|
2562
|
+
}), Zt = new Intl.NumberFormat("pt-BR", {
|
|
2563
2563
|
minimumFractionDigits: 2,
|
|
2564
2564
|
maximumFractionDigits: 2
|
|
2565
|
-
}),
|
|
2566
|
-
function
|
|
2565
|
+
}), Qt = (e) => e.replace(/\D/g, "");
|
|
2566
|
+
function $t(e, t) {
|
|
2567
2567
|
if (t <= 0) return e.length;
|
|
2568
2568
|
let n = 0;
|
|
2569
2569
|
for (let r = e.length - 1; r >= 0; r--) {
|
|
@@ -2572,24 +2572,24 @@ function en(e, t) {
|
|
|
2572
2572
|
}
|
|
2573
2573
|
return 0;
|
|
2574
2574
|
}
|
|
2575
|
-
var
|
|
2576
|
-
let y = s(), b = u(null), x = u(null), S = t == null ? "" :
|
|
2575
|
+
var en = r(function({ label: e, value: t, onChange: n, info: r, hint: i, error: a, onBlur: o, placeholder: l = "0,00", name: d, disabled: f = !1, size: p = "md", className: g, ..._ }, v) {
|
|
2576
|
+
let y = s(), b = u(null), x = u(null), S = t == null ? "" : Zt.format(t / 100);
|
|
2577
2577
|
c(() => {
|
|
2578
2578
|
let e = b.current;
|
|
2579
2579
|
if (!e || x.current == null) return;
|
|
2580
2580
|
let t = x.current;
|
|
2581
2581
|
if (x.current = null, document.activeElement !== e) return;
|
|
2582
2582
|
e.value !== S && (e.value = S);
|
|
2583
|
-
let n =
|
|
2583
|
+
let n = $t(e.value, t);
|
|
2584
2584
|
e.setSelectionRange(n, n);
|
|
2585
2585
|
});
|
|
2586
2586
|
let C = (e) => {
|
|
2587
|
-
let t = e.currentTarget, r = t.value, i = t.selectionStart ?? r.length, a =
|
|
2588
|
-
if (a + o ===
|
|
2587
|
+
let t = e.currentTarget, r = t.value, i = t.selectionStart ?? r.length, a = Qt(r.slice(0, i)), o = Qt(r.slice(i));
|
|
2588
|
+
if (a + o === Qt(S)) {
|
|
2589
2589
|
let t = e.nativeEvent.inputType;
|
|
2590
2590
|
t === "deleteContentBackward" && a ? a = a.slice(0, -1) : t === "deleteContentForward" && o && (o = o.slice(1));
|
|
2591
2591
|
}
|
|
2592
|
-
let s = a + o, c = s ? parseInt(s, 10) : 0, l =
|
|
2592
|
+
let s = a + o, c = s ? parseInt(s, 10) : 0, l = Zt.format(c / 100), u = $t(l, o.length);
|
|
2593
2593
|
t.value = l, t.setSelectionRange(u, u), x.current = o.length, n(c);
|
|
2594
2594
|
};
|
|
2595
2595
|
return /* @__PURE__ */ h("div", {
|
|
@@ -2597,7 +2597,7 @@ var tn = r(function({ label: e, value: t, onChange: n, info: r, hint: i, error:
|
|
|
2597
2597
|
..._,
|
|
2598
2598
|
className: `select-field${p === "sm" ? " select-field--sm" : ""}${g ? " " + g : ""}`,
|
|
2599
2599
|
children: [
|
|
2600
|
-
e && /* @__PURE__ */ m(
|
|
2600
|
+
e && /* @__PURE__ */ m(Wt, {
|
|
2601
2601
|
htmlFor: y,
|
|
2602
2602
|
label: e,
|
|
2603
2603
|
info: r
|
|
@@ -2635,25 +2635,25 @@ var tn = r(function({ label: e, value: t, onChange: n, info: r, hint: i, error:
|
|
|
2635
2635
|
});
|
|
2636
2636
|
//#endregion
|
|
2637
2637
|
//#region src/internal/document.ts
|
|
2638
|
-
function
|
|
2638
|
+
function tn(e) {
|
|
2639
2639
|
return (e ?? "").replace(/\D/g, "");
|
|
2640
2640
|
}
|
|
2641
|
-
function
|
|
2642
|
-
let t =
|
|
2641
|
+
function nn(e) {
|
|
2642
|
+
let t = tn(e);
|
|
2643
2643
|
return t.length === 11 ? "CPF" : t.length === 14 ? "CNPJ" : "";
|
|
2644
2644
|
}
|
|
2645
|
-
function
|
|
2646
|
-
let t =
|
|
2645
|
+
function rn(e) {
|
|
2646
|
+
let t = tn(e).slice(0, 14);
|
|
2647
2647
|
return t.length <= 11 ? t.replace(/^(\d{3})(\d)/, "$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1-$2") : t.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");
|
|
2648
2648
|
}
|
|
2649
2649
|
//#endregion
|
|
2650
2650
|
//#region src/SelectDocumentField.tsx
|
|
2651
|
-
function
|
|
2652
|
-
let c =
|
|
2653
|
-
return /* @__PURE__ */ m(
|
|
2651
|
+
function an({ label: e = "CPF/CNPJ", value: t, onChange: n, hint: r, error: i, onBlur: a, required: o, name: s }) {
|
|
2652
|
+
let c = nn(t);
|
|
2653
|
+
return /* @__PURE__ */ m(qt, {
|
|
2654
2654
|
label: e,
|
|
2655
|
-
value:
|
|
2656
|
-
onChange: (e) => n(
|
|
2655
|
+
value: rn(t),
|
|
2656
|
+
onChange: (e) => n(tn(e)),
|
|
2657
2657
|
inputMode: "numeric",
|
|
2658
2658
|
autoComplete: "off",
|
|
2659
2659
|
maxLength: 18,
|
|
@@ -2666,7 +2666,7 @@ function on({ label: e = "CPF/CNPJ", value: t, onChange: n, hint: r, error: i, o
|
|
|
2666
2666
|
}
|
|
2667
2667
|
//#endregion
|
|
2668
2668
|
//#region src/SelectAlert.tsx
|
|
2669
|
-
var
|
|
2669
|
+
var on = r(function({ children: e, tone: t = "critical", title: n, action: r, className: i, ...a }, o) {
|
|
2670
2670
|
return /* @__PURE__ */ h("div", {
|
|
2671
2671
|
ref: o,
|
|
2672
2672
|
...a,
|
|
@@ -2687,7 +2687,7 @@ var sn = r(function({ children: e, tone: t = "critical", title: n, action: r, cl
|
|
|
2687
2687
|
})
|
|
2688
2688
|
]
|
|
2689
2689
|
});
|
|
2690
|
-
}),
|
|
2690
|
+
}), sn = r(function({ src: e, docExt: t, name: n, sub: r, badge: i, onRemove: a, className: o, ...s }, c) {
|
|
2691
2691
|
return /* @__PURE__ */ h("div", {
|
|
2692
2692
|
ref: c,
|
|
2693
2693
|
...s,
|
|
@@ -2705,7 +2705,7 @@ var sn = r(function({ children: e, tone: t = "critical", title: n, action: r, cl
|
|
|
2705
2705
|
}
|
|
2706
2706
|
}) : /* @__PURE__ */ h("span", {
|
|
2707
2707
|
className: "select-filetile__doc",
|
|
2708
|
-
children: [/* @__PURE__ */ m(
|
|
2708
|
+
children: [/* @__PURE__ */ m(lt, {}), /* @__PURE__ */ m("span", { children: t ?? "FILE" })]
|
|
2709
2709
|
}),
|
|
2710
2710
|
i && /* @__PURE__ */ m("span", {
|
|
2711
2711
|
className: "select-filetile__badge",
|
|
@@ -2716,7 +2716,7 @@ var sn = r(function({ children: e, tone: t = "critical", title: n, action: r, cl
|
|
|
2716
2716
|
className: "select-filetile__remove",
|
|
2717
2717
|
"aria-label": `Remover ${n}`,
|
|
2718
2718
|
onClick: a,
|
|
2719
|
-
children: /* @__PURE__ */ m(
|
|
2719
|
+
children: /* @__PURE__ */ m(ce, {})
|
|
2720
2720
|
})
|
|
2721
2721
|
]
|
|
2722
2722
|
}),
|
|
@@ -2734,10 +2734,10 @@ var sn = r(function({ children: e, tone: t = "critical", title: n, action: r, cl
|
|
|
2734
2734
|
});
|
|
2735
2735
|
//#endregion
|
|
2736
2736
|
//#region src/uploadUtils.ts
|
|
2737
|
-
function
|
|
2737
|
+
function cn(e) {
|
|
2738
2738
|
return e < 1024 ? `${e} B` : e < 1048576 ? `${(e / 1024).toFixed(0)} KB` : `${(e / 1048576).toFixed(1)} MB`;
|
|
2739
2739
|
}
|
|
2740
|
-
function
|
|
2740
|
+
function ln(e, t) {
|
|
2741
2741
|
if (!t) return !0;
|
|
2742
2742
|
let n = e.name.toLowerCase(), r = e.type.toLowerCase();
|
|
2743
2743
|
return t.split(",").some((e) => {
|
|
@@ -2745,13 +2745,13 @@ function un(e, t) {
|
|
|
2745
2745
|
return t ? t.startsWith(".") ? n.endsWith(t) : t.endsWith("/*") ? r.startsWith(t.slice(0, -1)) : r === t : !1;
|
|
2746
2746
|
});
|
|
2747
2747
|
}
|
|
2748
|
-
var
|
|
2749
|
-
function
|
|
2748
|
+
var un = (e) => e.type.startsWith("image/");
|
|
2749
|
+
function dn(e) {
|
|
2750
2750
|
let t = e.split(".");
|
|
2751
2751
|
return t.length > 1 ? t.pop().toUpperCase() : "FILE";
|
|
2752
2752
|
}
|
|
2753
|
-
var
|
|
2754
|
-
function
|
|
2753
|
+
var fn = /^https?:\/\/.+/i;
|
|
2754
|
+
function pn(e) {
|
|
2755
2755
|
try {
|
|
2756
2756
|
return new URL(e).hostname;
|
|
2757
2757
|
} catch {
|
|
@@ -2760,15 +2760,15 @@ function mn(e) {
|
|
|
2760
2760
|
}
|
|
2761
2761
|
//#endregion
|
|
2762
2762
|
//#region src/SelectFileDropzone.tsx
|
|
2763
|
-
var
|
|
2764
|
-
let _ = u(null), [v, y] = d(!1), [b, x] = d(0), S = r * 1024 * 1024, C = l(() => e.map((e) =>
|
|
2763
|
+
var mn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allowMultiple: a = !0, maxFiles: s, hint: c, className: f, ...p }, g) {
|
|
2764
|
+
let _ = u(null), [v, y] = d(!1), [b, x] = d(0), S = r * 1024 * 1024, C = l(() => e.map((e) => un(e) ? URL.createObjectURL(e) : null), [e]);
|
|
2765
2765
|
o(() => () => {
|
|
2766
2766
|
C.forEach((e) => {
|
|
2767
2767
|
e && URL.revokeObjectURL(e);
|
|
2768
2768
|
});
|
|
2769
2769
|
}, [C]);
|
|
2770
2770
|
let w = i((r) => {
|
|
2771
|
-
let i = r.filter((e) => e.size <= S &&
|
|
2771
|
+
let i = r.filter((e) => e.size <= S && ln(e, n));
|
|
2772
2772
|
if (x(r.length - i.length), i.length) {
|
|
2773
2773
|
let n = a ? [...e, ...i] : i.slice(0, 1);
|
|
2774
2774
|
t(s == null ? n : n.slice(0, s));
|
|
@@ -2799,18 +2799,18 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2799
2799
|
children: [
|
|
2800
2800
|
A && /* @__PURE__ */ h("div", {
|
|
2801
2801
|
className: "select-filetile-grid",
|
|
2802
|
-
children: [e.map((e, t) => /* @__PURE__ */ m(
|
|
2802
|
+
children: [e.map((e, t) => /* @__PURE__ */ m(sn, {
|
|
2803
2803
|
src: C[t] ?? void 0,
|
|
2804
|
-
docExt:
|
|
2804
|
+
docExt: dn(e.name),
|
|
2805
2805
|
name: e.name,
|
|
2806
|
-
sub:
|
|
2806
|
+
sub: cn(e.size),
|
|
2807
2807
|
onRemove: () => D(t)
|
|
2808
2808
|
}, `${e.name}-${t}`)), k && /* @__PURE__ */ h("button", {
|
|
2809
2809
|
type: "button",
|
|
2810
2810
|
className: `select-dropzone select-dropzone--tile${v ? " is-over" : ""}`,
|
|
2811
2811
|
onClick: E,
|
|
2812
2812
|
...T,
|
|
2813
|
-
children: [/* @__PURE__ */ m(
|
|
2813
|
+
children: [/* @__PURE__ */ m(oe, {}), /* @__PURE__ */ m("span", { children: "Adicionar" })]
|
|
2814
2814
|
})]
|
|
2815
2815
|
}),
|
|
2816
2816
|
!A && k && /* @__PURE__ */ h("button", {
|
|
@@ -2818,7 +2818,7 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2818
2818
|
className: `select-dropzone${v ? " is-over" : ""}`,
|
|
2819
2819
|
onClick: E,
|
|
2820
2820
|
...T,
|
|
2821
|
-
children: [/* @__PURE__ */ m(
|
|
2821
|
+
children: [/* @__PURE__ */ m(oe, {}), /* @__PURE__ */ m("span", { children: c ?? `Selecionar arquivo · até ${r} MB` })]
|
|
2822
2822
|
}),
|
|
2823
2823
|
/* @__PURE__ */ m("input", {
|
|
2824
2824
|
ref: _,
|
|
@@ -2830,7 +2830,7 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2830
2830
|
w(Array.from(e.target.files ?? [])), e.target.value = "";
|
|
2831
2831
|
}
|
|
2832
2832
|
}),
|
|
2833
|
-
b > 0 && /* @__PURE__ */ h(
|
|
2833
|
+
b > 0 && /* @__PURE__ */ h(on, {
|
|
2834
2834
|
tone: "warning",
|
|
2835
2835
|
children: [
|
|
2836
2836
|
b,
|
|
@@ -2841,7 +2841,7 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2841
2841
|
})
|
|
2842
2842
|
]
|
|
2843
2843
|
});
|
|
2844
|
-
}),
|
|
2844
|
+
}), hn = r(function({ children: e, onClick: t, icon: n, className: r, ...i }, a) {
|
|
2845
2845
|
return /* @__PURE__ */ h("button", {
|
|
2846
2846
|
ref: a,
|
|
2847
2847
|
...i,
|
|
@@ -2851,14 +2851,14 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2851
2851
|
children: [/* @__PURE__ */ m("span", {
|
|
2852
2852
|
className: "select-addbtn__icon",
|
|
2853
2853
|
"aria-hidden": "true",
|
|
2854
|
-
children: n ?? /* @__PURE__ */ m(
|
|
2854
|
+
children: n ?? /* @__PURE__ */ m(je, {})
|
|
2855
2855
|
}), e]
|
|
2856
2856
|
});
|
|
2857
|
-
}),
|
|
2857
|
+
}), gn = r(function({ label: e, urls: t, onChange: n, maxUrls: r, placeholder: i, helpText: a, className: o, ...s }, c) {
|
|
2858
2858
|
let [l, u] = d(""), [f, g] = d(null), _ = r != null && t.length >= r, v = () => {
|
|
2859
2859
|
let e = l.trim();
|
|
2860
2860
|
if (e) {
|
|
2861
|
-
if (!
|
|
2861
|
+
if (!fn.test(e)) {
|
|
2862
2862
|
g("Insira uma URL válida (https://…).");
|
|
2863
2863
|
return;
|
|
2864
2864
|
}
|
|
@@ -2882,13 +2882,13 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2882
2882
|
}),
|
|
2883
2883
|
t.length > 0 && /* @__PURE__ */ m("div", {
|
|
2884
2884
|
className: "select-filetile-grid",
|
|
2885
|
-
children: t.map((e, t) => /* @__PURE__ */ m(
|
|
2885
|
+
children: t.map((e, t) => /* @__PURE__ */ m(sn, {
|
|
2886
2886
|
src: e,
|
|
2887
|
-
name:
|
|
2887
|
+
name: pn(e),
|
|
2888
2888
|
onRemove: () => b(t)
|
|
2889
2889
|
}, `${e}-${t}`))
|
|
2890
2890
|
}),
|
|
2891
|
-
!_ && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(
|
|
2891
|
+
!_ && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(qt, {
|
|
2892
2892
|
size: "sm",
|
|
2893
2893
|
value: l,
|
|
2894
2894
|
onChange: (e) => {
|
|
@@ -2900,7 +2900,7 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2900
2900
|
placeholder: i ?? "https://…",
|
|
2901
2901
|
error: f ?? void 0,
|
|
2902
2902
|
autoComplete: "off"
|
|
2903
|
-
}), /* @__PURE__ */ m(
|
|
2903
|
+
}), /* @__PURE__ */ m(hn, {
|
|
2904
2904
|
onClick: v,
|
|
2905
2905
|
children: "Adicionar URL"
|
|
2906
2906
|
})] }),
|
|
@@ -2910,15 +2910,15 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2910
2910
|
})
|
|
2911
2911
|
]
|
|
2912
2912
|
});
|
|
2913
|
-
}),
|
|
2914
|
-
let S = t === "single", C = u(null), [w, T] = d(!1), [E, D] = d(0), [O, k] = d(""), [A, j] = d(null), M = S ? 1 : Math.max(1, f), N = S ? 1 : p ?? M, P = n.length + i.length, F = S ? P === 0 : P < M && n.length < N, I = S ? P === 0 : P < M, L = P > 0, ee = c * 1024 * 1024, te = l(() => n.map((e) =>
|
|
2913
|
+
}), _n = r(function({ label: e, mode: t = "multiple", files: n, onFilesChange: r, urls: i, onUrlsChange: a, accept: s = ".jpg,.jpeg,.png,.webp", maxSizeMB: c = 3, maxItems: f = 10, maxFiles: p, uploadHint: g, urlPlaceholder: _, helpText: v, className: y, ...b }, x) {
|
|
2914
|
+
let S = t === "single", C = u(null), [w, T] = d(!1), [E, D] = d(0), [O, k] = d(""), [A, j] = d(null), M = S ? 1 : Math.max(1, f), N = S ? 1 : p ?? M, P = n.length + i.length, F = S ? P === 0 : P < M && n.length < N, I = S ? P === 0 : P < M, L = P > 0, ee = c * 1024 * 1024, te = l(() => n.map((e) => un(e) ? URL.createObjectURL(e) : null), [n]);
|
|
2915
2915
|
o(() => () => {
|
|
2916
2916
|
te.forEach((e) => {
|
|
2917
2917
|
e && URL.revokeObjectURL(e);
|
|
2918
2918
|
});
|
|
2919
2919
|
}, [te]);
|
|
2920
2920
|
let ne = (e) => {
|
|
2921
|
-
let t = e.filter((e) => e.size <= ee &&
|
|
2921
|
+
let t = e.filter((e) => e.size <= ee && ln(e, s));
|
|
2922
2922
|
if (D(e.length - t.length), !t.length) return;
|
|
2923
2923
|
if (S) {
|
|
2924
2924
|
a([]), r(t.slice(0, 1));
|
|
@@ -2929,7 +2929,7 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2929
2929
|
}, R = () => {
|
|
2930
2930
|
let e = O.trim();
|
|
2931
2931
|
if (e) {
|
|
2932
|
-
if (!
|
|
2932
|
+
if (!fn.test(e)) {
|
|
2933
2933
|
j("Insira uma URL válida (https://…).");
|
|
2934
2934
|
return;
|
|
2935
2935
|
}
|
|
@@ -2941,10 +2941,10 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2941
2941
|
}
|
|
2942
2942
|
}, z = (e) => {
|
|
2943
2943
|
e.key === "Enter" && (e.preventDefault(), R());
|
|
2944
|
-
}, B = (e) => r(n.filter((t, n) => n !== e)), V = (e) => a(i.filter((t, n) => n !== e)),
|
|
2944
|
+
}, B = (e) => r(n.filter((t, n) => n !== e)), V = (e) => a(i.filter((t, n) => n !== e)), U = () => {
|
|
2945
2945
|
var e;
|
|
2946
2946
|
return (e = C.current) == null ? void 0 : e.click();
|
|
2947
|
-
},
|
|
2947
|
+
}, re = {
|
|
2948
2948
|
onDragOver: (e) => {
|
|
2949
2949
|
e.preventDefault(), T(!0);
|
|
2950
2950
|
},
|
|
@@ -2964,43 +2964,43 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
2964
2964
|
}),
|
|
2965
2965
|
/* @__PURE__ */ h("div", {
|
|
2966
2966
|
className: `select-uploadzone${w ? " is-over" : ""}`,
|
|
2967
|
-
...
|
|
2967
|
+
...re,
|
|
2968
2968
|
children: [
|
|
2969
2969
|
L ? /* @__PURE__ */ h("div", {
|
|
2970
2970
|
className: `select-filetile-grid${P === 1 ? " select-filetile-grid--single" : ""}`,
|
|
2971
2971
|
children: [
|
|
2972
|
-
n.map((e, t) => /* @__PURE__ */ m(
|
|
2972
|
+
n.map((e, t) => /* @__PURE__ */ m(sn, {
|
|
2973
2973
|
src: te[t] ?? void 0,
|
|
2974
|
-
docExt:
|
|
2974
|
+
docExt: dn(e.name),
|
|
2975
2975
|
name: e.name,
|
|
2976
|
-
sub:
|
|
2976
|
+
sub: cn(e.size),
|
|
2977
2977
|
onRemove: () => B(t)
|
|
2978
2978
|
}, `f-${e.name}-${t}`)),
|
|
2979
|
-
i.map((e, t) => /* @__PURE__ */ m(
|
|
2979
|
+
i.map((e, t) => /* @__PURE__ */ m(sn, {
|
|
2980
2980
|
src: e,
|
|
2981
|
-
name:
|
|
2981
|
+
name: pn(e),
|
|
2982
2982
|
onRemove: () => V(t)
|
|
2983
2983
|
}, `u-${e}-${t}`)),
|
|
2984
2984
|
F && /* @__PURE__ */ h("button", {
|
|
2985
2985
|
type: "button",
|
|
2986
2986
|
className: "select-dropzone select-dropzone--tile",
|
|
2987
|
-
onClick:
|
|
2988
|
-
children: [/* @__PURE__ */ m(
|
|
2987
|
+
onClick: U,
|
|
2988
|
+
children: [/* @__PURE__ */ m(oe, {}), /* @__PURE__ */ m("span", { children: "Adicionar" })]
|
|
2989
2989
|
})
|
|
2990
2990
|
]
|
|
2991
2991
|
}) : /* @__PURE__ */ h("button", {
|
|
2992
2992
|
type: "button",
|
|
2993
2993
|
className: "select-uploadzone__prompt",
|
|
2994
|
-
onClick:
|
|
2995
|
-
children: [/* @__PURE__ */ m(
|
|
2994
|
+
onClick: U,
|
|
2995
|
+
children: [/* @__PURE__ */ m(oe, {}), /* @__PURE__ */ m("span", { children: g ?? `Arraste ou selecione um arquivo · até ${c} MB` })]
|
|
2996
2996
|
}),
|
|
2997
2997
|
I && /* @__PURE__ */ h("div", {
|
|
2998
2998
|
className: "select-uploadzone__url",
|
|
2999
2999
|
children: [
|
|
3000
|
-
/* @__PURE__ */ m(
|
|
3000
|
+
/* @__PURE__ */ m(ge, {}),
|
|
3001
3001
|
/* @__PURE__ */ m("div", {
|
|
3002
3002
|
className: "select-uploadzone__urlfield",
|
|
3003
|
-
children: /* @__PURE__ */ m(
|
|
3003
|
+
children: /* @__PURE__ */ m(qt, {
|
|
3004
3004
|
size: "sm",
|
|
3005
3005
|
value: O,
|
|
3006
3006
|
onChange: (e) => {
|
|
@@ -3036,7 +3036,7 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
3036
3036
|
})
|
|
3037
3037
|
]
|
|
3038
3038
|
}),
|
|
3039
|
-
E > 0 && /* @__PURE__ */ h(
|
|
3039
|
+
E > 0 && /* @__PURE__ */ h(on, {
|
|
3040
3040
|
tone: "warning",
|
|
3041
3041
|
children: [
|
|
3042
3042
|
E,
|
|
@@ -3051,29 +3051,29 @@ var hn = r(function({ files: e, onChange: t, accept: n, maxSizeMB: r = 10, allow
|
|
|
3051
3051
|
})
|
|
3052
3052
|
]
|
|
3053
3053
|
});
|
|
3054
|
-
}),
|
|
3055
|
-
function
|
|
3056
|
-
return
|
|
3057
|
-
key: `file:${
|
|
3054
|
+
}), vn = 0;
|
|
3055
|
+
function yn(e) {
|
|
3056
|
+
return vn += 1, {
|
|
3057
|
+
key: `file:${vn}:${e.name}:${e.size}`,
|
|
3058
3058
|
file: e
|
|
3059
3059
|
};
|
|
3060
3060
|
}
|
|
3061
|
-
function
|
|
3061
|
+
function bn(e) {
|
|
3062
3062
|
return {
|
|
3063
3063
|
key: `url:${e}`,
|
|
3064
3064
|
url: e
|
|
3065
3065
|
};
|
|
3066
3066
|
}
|
|
3067
|
-
function
|
|
3067
|
+
function xn(e, t, n) {
|
|
3068
3068
|
if (t === n || t < 0 || n < 0 || t >= e.length || n >= e.length) return e;
|
|
3069
3069
|
let r = e.slice();
|
|
3070
3070
|
return r.splice(n, 0, ...r.splice(t, 1)), r;
|
|
3071
3071
|
}
|
|
3072
|
-
var
|
|
3072
|
+
var Sn = (e) => {
|
|
3073
3073
|
var t;
|
|
3074
3074
|
return Array.from(((t = e.dataTransfer) == null ? void 0 : t.types) ?? []).includes("Files");
|
|
3075
|
-
},
|
|
3076
|
-
let w = s(), T = u(null), E = u(/* @__PURE__ */ new Map()), D = u(null), [O, k] = d(null), [A, j] = d(null), [M, N] = d(null), [P, F] = d(!1), [I, L] = d(null), [ee, te] = d(!1), [ne, R] = d(""), [z, B] = d(), V = u(/* @__PURE__ */ new Map()),
|
|
3075
|
+
}, Cn = r(function({ label: e, help: t, items: n, onChange: r, max: i = 10, accept: a = ".jpg,.jpeg,.png,.webp", maxSizeMB: c, hint: l, error: f, allowUrl: p = !0, tileSize: g = 88, addLabel: _ = "Adicionar", coverLabel: v = "Capa", disabled: y = !1, className: b, style: x, ...S }, C) {
|
|
3076
|
+
let w = s(), T = u(null), E = u(/* @__PURE__ */ new Map()), D = u(null), [O, k] = d(null), [A, j] = d(null), [M, N] = d(null), [P, F] = d(!1), [I, L] = d(null), [ee, te] = d(!1), [ne, R] = d(""), [z, B] = d(), V = u(/* @__PURE__ */ new Map()), U = (e) => {
|
|
3077
3077
|
if (e.url) return e.url;
|
|
3078
3078
|
if (!e.file) return;
|
|
3079
3079
|
let t = V.current.get(e.file);
|
|
@@ -3090,30 +3090,30 @@ var Cn = (e) => {
|
|
|
3090
3090
|
let e = O === "__add" ? D.current : E.current.get(O);
|
|
3091
3091
|
e == null || e.focus(), k(null);
|
|
3092
3092
|
}, [O, n]);
|
|
3093
|
-
let
|
|
3093
|
+
let re = Math.max(0, i - n.length), W = re === 0, ie = c == null ? Infinity : c * 1024 * 1024, G = (e) => {
|
|
3094
3094
|
if (y || !e.length) return;
|
|
3095
3095
|
let t = [], o = [];
|
|
3096
|
-
for (let n of e)
|
|
3097
|
-
let s = o.slice(0,
|
|
3096
|
+
for (let n of e) ln(n, a) ? n.size > ie ? t.push(`${n.name}: maior que ${c} MB`) : o.push(n) : t.push(`${n.name}: formato não aceito`);
|
|
3097
|
+
let s = o.slice(0, re);
|
|
3098
3098
|
if (o.length > s.length) {
|
|
3099
3099
|
let e = o.length - s.length;
|
|
3100
3100
|
t.push(`Limite de ${i} ${i === 1 ? "foto" : "fotos"} — ${e} ${e === 1 ? "ficou" : "ficaram"} de fora`);
|
|
3101
3101
|
}
|
|
3102
|
-
L(t.length ? t.join(" · ") : null), s.length && r([...n, ...s.map(
|
|
3103
|
-
},
|
|
3102
|
+
L(t.length ? t.join(" · ") : null), s.length && r([...n, ...s.map(yn)]);
|
|
3103
|
+
}, K = (e) => {
|
|
3104
3104
|
let t = n.filter((t, n) => n !== e);
|
|
3105
3105
|
r(t), L(null);
|
|
3106
3106
|
let i = t[Math.min(e, t.length - 1)];
|
|
3107
3107
|
k(i ? i.key : "__add");
|
|
3108
|
-
},
|
|
3108
|
+
}, q = (e, t) => {
|
|
3109
3109
|
var i;
|
|
3110
|
-
let a =
|
|
3110
|
+
let a = xn(n, e, t);
|
|
3111
3111
|
a !== n && (r(a), k(((i = n[e]) == null ? void 0 : i.key) ?? null));
|
|
3112
|
-
},
|
|
3113
|
-
y || e.target !== e.currentTarget || (e.key === "ArrowLeft" || e.key === "ArrowUp" ? (e.preventDefault(),
|
|
3114
|
-
},
|
|
3112
|
+
}, ae = (e, t) => {
|
|
3113
|
+
y || e.target !== e.currentTarget || (e.key === "ArrowLeft" || e.key === "ArrowUp" ? (e.preventDefault(), q(t, t - 1)) : e.key === "ArrowRight" || e.key === "ArrowDown" ? (e.preventDefault(), q(t, t + 1)) : (e.key === "Delete" || e.key === "Backspace") && (e.preventDefault(), K(t)));
|
|
3114
|
+
}, oe = () => {
|
|
3115
3115
|
let e = ne.trim();
|
|
3116
|
-
if (!
|
|
3116
|
+
if (!fn.test(e) || !/^https:\/\//i.test(e)) {
|
|
3117
3117
|
B("Use um link https://…");
|
|
3118
3118
|
return;
|
|
3119
3119
|
}
|
|
@@ -3121,18 +3121,18 @@ var Cn = (e) => {
|
|
|
3121
3121
|
B("Essa imagem já está na galeria.");
|
|
3122
3122
|
return;
|
|
3123
3123
|
}
|
|
3124
|
-
r([...n,
|
|
3125
|
-
},
|
|
3124
|
+
r([...n, bn(e)]), R(""), B(void 0), te(!1);
|
|
3125
|
+
}, se = {
|
|
3126
3126
|
onDragOver: (e) => {
|
|
3127
|
-
y || A || !
|
|
3127
|
+
y || A || !Sn(e) || (e.preventDefault(), e.dataTransfer.dropEffect = W ? "none" : "copy", F(!0));
|
|
3128
3128
|
},
|
|
3129
3129
|
onDragLeave: (e) => {
|
|
3130
3130
|
e.currentTarget.contains(e.relatedTarget) || F(!1);
|
|
3131
3131
|
},
|
|
3132
3132
|
onDrop: (e) => {
|
|
3133
|
-
y || A || !
|
|
3133
|
+
y || A || !Sn(e) || (e.preventDefault(), F(!1), G(Array.from(e.dataTransfer.files)));
|
|
3134
3134
|
}
|
|
3135
|
-
},
|
|
3135
|
+
}, J = f ?? I ?? void 0;
|
|
3136
3136
|
return /* @__PURE__ */ h("div", {
|
|
3137
3137
|
ref: C,
|
|
3138
3138
|
...S,
|
|
@@ -3150,7 +3150,7 @@ var Cn = (e) => {
|
|
|
3150
3150
|
className: "select-field__label",
|
|
3151
3151
|
id: `${w}-label`,
|
|
3152
3152
|
children: e
|
|
3153
|
-
}), t != null && t !== "" && /* @__PURE__ */ m(
|
|
3153
|
+
}), t != null && t !== "" && /* @__PURE__ */ m(Ut, { content: t })]
|
|
3154
3154
|
}), i > 1 && n.length > 0 && /* @__PURE__ */ h("span", {
|
|
3155
3155
|
className: "select-field__count",
|
|
3156
3156
|
children: [
|
|
@@ -3164,10 +3164,10 @@ var Cn = (e) => {
|
|
|
3164
3164
|
className: `select-gallery__grid${P ? " is-over" : ""}`,
|
|
3165
3165
|
role: "list",
|
|
3166
3166
|
"aria-labelledby": e ? `${w}-label` : void 0,
|
|
3167
|
-
...
|
|
3167
|
+
...se,
|
|
3168
3168
|
children: [n.map((e, t) => {
|
|
3169
3169
|
var i;
|
|
3170
|
-
let a =
|
|
3170
|
+
let a = U(e), o = t === 0 && v != null, s = ((i = e.file) == null ? void 0 : i.name) ?? (e.url ? pn(e.url) : "foto");
|
|
3171
3171
|
return /* @__PURE__ */ h("div", {
|
|
3172
3172
|
ref: (t) => {
|
|
3173
3173
|
t ? E.current.set(e.key, t) : E.current.delete(e.key);
|
|
@@ -3177,7 +3177,7 @@ var Cn = (e) => {
|
|
|
3177
3177
|
"aria-label": `Foto ${t + 1} de ${n.length}${o ? ` (${v == null ? void 0 : v.toLowerCase()})` : ""}: ${s}.${n.length > 1 ? " Setas movem a foto." : ""} Delete remove.`,
|
|
3178
3178
|
className: `select-gallery__tile${A === e.key ? " is-dragging" : ""}${M === t && A && A !== e.key ? " is-target" : ""}`,
|
|
3179
3179
|
draggable: !y && n.length > 1,
|
|
3180
|
-
onKeyDown: (e) =>
|
|
3180
|
+
onKeyDown: (e) => ae(e, t),
|
|
3181
3181
|
onDragStart: (t) => {
|
|
3182
3182
|
j(e.key), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e.key);
|
|
3183
3183
|
},
|
|
@@ -3191,7 +3191,7 @@ var Cn = (e) => {
|
|
|
3191
3191
|
if (!A) return;
|
|
3192
3192
|
e.preventDefault(), e.stopPropagation();
|
|
3193
3193
|
let i = n.findIndex((e) => e.key === A);
|
|
3194
|
-
j(null), N(null), i >= 0 && r(
|
|
3194
|
+
j(null), N(null), i >= 0 && r(xn(n, i, t));
|
|
3195
3195
|
},
|
|
3196
3196
|
children: [
|
|
3197
3197
|
a ? /* @__PURE__ */ m("img", {
|
|
@@ -3211,20 +3211,20 @@ var Cn = (e) => {
|
|
|
3211
3211
|
className: "select-gallery__tool",
|
|
3212
3212
|
"aria-label": `Tornar ${v.toLowerCase()}`,
|
|
3213
3213
|
title: `Tornar ${v.toLowerCase()}`,
|
|
3214
|
-
onClick: () =>
|
|
3215
|
-
children: /* @__PURE__ */ m(
|
|
3214
|
+
onClick: () => q(t, 0),
|
|
3215
|
+
children: /* @__PURE__ */ m(me, {})
|
|
3216
3216
|
}), /* @__PURE__ */ m("button", {
|
|
3217
3217
|
type: "button",
|
|
3218
3218
|
className: "select-gallery__tool",
|
|
3219
3219
|
"aria-label": "Remover foto",
|
|
3220
3220
|
title: "Remover foto",
|
|
3221
|
-
onClick: () =>
|
|
3222
|
-
children: /* @__PURE__ */ m(
|
|
3221
|
+
onClick: () => K(t),
|
|
3222
|
+
children: /* @__PURE__ */ m(ce, {})
|
|
3223
3223
|
})]
|
|
3224
3224
|
})
|
|
3225
3225
|
]
|
|
3226
3226
|
}, e.key);
|
|
3227
|
-
}), !
|
|
3227
|
+
}), !W && !y && /* @__PURE__ */ h("button", {
|
|
3228
3228
|
ref: D,
|
|
3229
3229
|
type: "button",
|
|
3230
3230
|
className: `select-gallery__add${P ? " is-over" : ""}`,
|
|
@@ -3232,20 +3232,20 @@ var Cn = (e) => {
|
|
|
3232
3232
|
var e;
|
|
3233
3233
|
return (e = T.current) == null ? void 0 : e.click();
|
|
3234
3234
|
},
|
|
3235
|
-
children: [/* @__PURE__ */ m(
|
|
3235
|
+
children: [/* @__PURE__ */ m(je, {}), /* @__PURE__ */ m("span", { children: _ })]
|
|
3236
3236
|
})]
|
|
3237
3237
|
}),
|
|
3238
3238
|
/* @__PURE__ */ m("input", {
|
|
3239
3239
|
ref: T,
|
|
3240
3240
|
type: "file",
|
|
3241
3241
|
accept: a,
|
|
3242
|
-
multiple:
|
|
3242
|
+
multiple: re > 1,
|
|
3243
3243
|
hidden: !0,
|
|
3244
3244
|
onChange: (e) => {
|
|
3245
|
-
|
|
3245
|
+
G(Array.from(e.target.files ?? [])), e.target.value = "";
|
|
3246
3246
|
}
|
|
3247
3247
|
}),
|
|
3248
|
-
p && !
|
|
3248
|
+
p && !W && !y && (ee ? /* @__PURE__ */ m(qt, {
|
|
3249
3249
|
size: "sm",
|
|
3250
3250
|
value: ne,
|
|
3251
3251
|
onChange: (e) => {
|
|
@@ -3256,32 +3256,32 @@ var Cn = (e) => {
|
|
|
3256
3256
|
autoFocus: !0,
|
|
3257
3257
|
error: z,
|
|
3258
3258
|
onKeyDown: (e) => {
|
|
3259
|
-
e.key === "Enter" ? (e.preventDefault(),
|
|
3259
|
+
e.key === "Enter" ? (e.preventDefault(), oe()) : e.key === "Escape" && (te(!1), R(""), B(void 0));
|
|
3260
3260
|
},
|
|
3261
3261
|
trailingAction: /* @__PURE__ */ m(H, {
|
|
3262
3262
|
variant: "secondary",
|
|
3263
3263
|
size: "sm",
|
|
3264
3264
|
inline: !0,
|
|
3265
|
-
onClick:
|
|
3265
|
+
onClick: oe,
|
|
3266
3266
|
children: "Adicionar"
|
|
3267
3267
|
})
|
|
3268
3268
|
}) : /* @__PURE__ */ h("button", {
|
|
3269
3269
|
type: "button",
|
|
3270
3270
|
className: "select-field__action select-field__action--icon select-gallery__urltoggle",
|
|
3271
3271
|
onClick: () => te(!0),
|
|
3272
|
-
children: [/* @__PURE__ */ m(
|
|
3272
|
+
children: [/* @__PURE__ */ m(mt, {}), "Colar link de imagem"]
|
|
3273
3273
|
})),
|
|
3274
|
-
|
|
3274
|
+
J ? /* @__PURE__ */ m("p", {
|
|
3275
3275
|
className: "select-field__error",
|
|
3276
3276
|
role: "alert",
|
|
3277
|
-
children:
|
|
3277
|
+
children: J
|
|
3278
3278
|
}) : l ? /* @__PURE__ */ m("p", {
|
|
3279
3279
|
className: "select-field__hint",
|
|
3280
3280
|
children: l
|
|
3281
3281
|
}) : null
|
|
3282
3282
|
]
|
|
3283
3283
|
});
|
|
3284
|
-
}),
|
|
3284
|
+
}), wn = r(function({ label: e, value: t, onChange: n, options: r, labelAction: i, help: a, info: o, description: c, hint: l, error: u, placeholder: d, name: f, required: p, disabled: g, size: _ = "md", className: v, ...y }, b) {
|
|
3285
3285
|
let x = s(), S = u ? `${x}-err` : l ? `${x}-hint` : void 0;
|
|
3286
3286
|
return /* @__PURE__ */ h("div", {
|
|
3287
3287
|
ref: b,
|
|
@@ -3296,11 +3296,11 @@ var Cn = (e) => {
|
|
|
3296
3296
|
className: "select-field__label",
|
|
3297
3297
|
htmlFor: x,
|
|
3298
3298
|
children: e
|
|
3299
|
-
}), a != null && a !== "" ? /* @__PURE__ */ m(
|
|
3299
|
+
}), a != null && a !== "" ? /* @__PURE__ */ m(Ut, { content: a }) : o && /* @__PURE__ */ m("span", {
|
|
3300
3300
|
className: "select-field__info",
|
|
3301
3301
|
title: o,
|
|
3302
3302
|
"aria-label": o,
|
|
3303
|
-
children: /* @__PURE__ */ m(
|
|
3303
|
+
children: /* @__PURE__ */ m(ve, {})
|
|
3304
3304
|
})]
|
|
3305
3305
|
}), i]
|
|
3306
3306
|
}),
|
|
@@ -3332,7 +3332,7 @@ var Cn = (e) => {
|
|
|
3332
3332
|
}), /* @__PURE__ */ m("span", {
|
|
3333
3333
|
className: "select-select-caret",
|
|
3334
3334
|
"aria-hidden": "true",
|
|
3335
|
-
children: /* @__PURE__ */ m(
|
|
3335
|
+
children: /* @__PURE__ */ m(G, {})
|
|
3336
3336
|
})]
|
|
3337
3337
|
}),
|
|
3338
3338
|
u ? /* @__PURE__ */ m("p", {
|
|
@@ -3349,18 +3349,18 @@ var Cn = (e) => {
|
|
|
3349
3349
|
});
|
|
3350
3350
|
//#endregion
|
|
3351
3351
|
//#region src/internal/useSelectReveal.ts
|
|
3352
|
-
function
|
|
3352
|
+
function Tn() {
|
|
3353
3353
|
var e, t;
|
|
3354
3354
|
return typeof window < "u" && !!((e = (t = window).matchMedia) != null && e.call(t, "(prefers-reduced-motion: reduce)").matches);
|
|
3355
3355
|
}
|
|
3356
|
-
var
|
|
3357
|
-
function
|
|
3356
|
+
var En = () => typeof IntersectionObserver < "u";
|
|
3357
|
+
function Dn(e = {}) {
|
|
3358
3358
|
let t = u(null), n = u(e);
|
|
3359
3359
|
return n.current = e, c(() => {
|
|
3360
3360
|
let e = t.current;
|
|
3361
3361
|
if (!e) return;
|
|
3362
3362
|
let { selector: r = "[data-reveal]", y: i = 12, scale: a = 1, duration: o = .5, stagger: s = .06, delay: c = 0, ease: l = "power3.out", scroll: u = !1, once: d = !0, enabled: p = !0 } = n.current;
|
|
3363
|
-
if (!p ||
|
|
3363
|
+
if (!p || Tn()) return;
|
|
3364
3364
|
let m = r ? Array.from(e.querySelectorAll(r)) : [], h = m.length ? m : [e], g = {
|
|
3365
3365
|
opacity: 0,
|
|
3366
3366
|
y: i,
|
|
@@ -3377,7 +3377,7 @@ function On(e = {}) {
|
|
|
3377
3377
|
clearProps: "transform"
|
|
3378
3378
|
});
|
|
3379
3379
|
};
|
|
3380
|
-
if (!u || !
|
|
3380
|
+
if (!u || !En()) return v(), () => _ == null ? void 0 : _.kill();
|
|
3381
3381
|
f.set(h, g);
|
|
3382
3382
|
let y = new IntersectionObserver((e) => {
|
|
3383
3383
|
for (let t of e) t.isIntersecting && (v(), d && y.unobserve(t.target));
|
|
@@ -3387,14 +3387,14 @@ function On(e = {}) {
|
|
|
3387
3387
|
};
|
|
3388
3388
|
}, []), t;
|
|
3389
3389
|
}
|
|
3390
|
-
function
|
|
3390
|
+
function On(e) {
|
|
3391
3391
|
let t = u(null), n = u(e);
|
|
3392
3392
|
return n.current = e, c(() => {
|
|
3393
3393
|
let e = t.current;
|
|
3394
3394
|
if (!e) return;
|
|
3395
3395
|
let { value: r, from: i = 0, duration: a = 1.2, ease: o = "power2.out", format: s = (e) => String(Math.round(e)), scroll: c = !0, once: l = !0, enabled: u = !0 } = n.current;
|
|
3396
3396
|
if (!u) return;
|
|
3397
|
-
if (
|
|
3397
|
+
if (Tn()) {
|
|
3398
3398
|
e.textContent = s(r);
|
|
3399
3399
|
return;
|
|
3400
3400
|
}
|
|
@@ -3408,7 +3408,7 @@ function kn(e) {
|
|
|
3408
3408
|
}
|
|
3409
3409
|
});
|
|
3410
3410
|
};
|
|
3411
|
-
if (!c || !
|
|
3411
|
+
if (!c || !En()) return m(), () => p == null ? void 0 : p.kill();
|
|
3412
3412
|
e.textContent = s(i);
|
|
3413
3413
|
let h = new IntersectionObserver((e) => {
|
|
3414
3414
|
for (let t of e) t.isIntersecting && (m(), l && h.unobserve(t.target));
|
|
@@ -3420,7 +3420,7 @@ function kn(e) {
|
|
|
3420
3420
|
}
|
|
3421
3421
|
//#endregion
|
|
3422
3422
|
//#region src/internal/useFocusTrap.ts
|
|
3423
|
-
var
|
|
3423
|
+
var kn = [
|
|
3424
3424
|
"a[href]",
|
|
3425
3425
|
"button:not([disabled])",
|
|
3426
3426
|
"input:not([disabled])",
|
|
@@ -3428,18 +3428,18 @@ var An = [
|
|
|
3428
3428
|
"textarea:not([disabled])",
|
|
3429
3429
|
"[tabindex]:not([tabindex=\"-1\"])"
|
|
3430
3430
|
].join(",");
|
|
3431
|
-
function
|
|
3432
|
-
return Array.from(e.querySelectorAll(
|
|
3431
|
+
function An(e) {
|
|
3432
|
+
return Array.from(e.querySelectorAll(kn)).filter((e) => e.offsetWidth > 0 || e.offsetHeight > 0 || e === document.activeElement);
|
|
3433
3433
|
}
|
|
3434
|
-
function
|
|
3434
|
+
function jn(e, t) {
|
|
3435
3435
|
o(() => {
|
|
3436
3436
|
if (!e) return;
|
|
3437
3437
|
let n = t.current;
|
|
3438
3438
|
if (!n) return;
|
|
3439
|
-
(
|
|
3439
|
+
(An(n)[0] ?? n).focus({ preventScroll: !0 });
|
|
3440
3440
|
let r = (e) => {
|
|
3441
3441
|
if (e.key !== "Tab") return;
|
|
3442
|
-
let t =
|
|
3442
|
+
let t = An(n);
|
|
3443
3443
|
if (t.length === 0) {
|
|
3444
3444
|
e.preventDefault();
|
|
3445
3445
|
return;
|
|
@@ -3452,18 +3452,18 @@ function Mn(e, t) {
|
|
|
3452
3452
|
}
|
|
3453
3453
|
//#endregion
|
|
3454
3454
|
//#region src/detectSelectTheme.ts
|
|
3455
|
-
function
|
|
3455
|
+
function Mn(e) {
|
|
3456
3456
|
return ((e == null ? void 0 : e.closest("[data-theme]")) ?? document.documentElement).getAttribute("data-theme") === "dark" ? "dark" : "light";
|
|
3457
3457
|
}
|
|
3458
3458
|
//#endregion
|
|
3459
3459
|
//#region src/SelectPopover.tsx
|
|
3460
|
-
var
|
|
3461
|
-
function
|
|
3460
|
+
var Nn = [];
|
|
3461
|
+
function Pn({ active: e, onClose: t, activator: n, children: r, placement: a = "bottom-start", gap: s = 6, role: l, trapFocus: f = !1, matchWidth: _ = !1, theme: v }) {
|
|
3462
3462
|
let y = u(null), b = u(null), x = u(null), [S, C] = d(null), [w, T] = d("light"), E = i(() => {
|
|
3463
3463
|
var e;
|
|
3464
3464
|
let t = ((e = y.current) == null ? void 0 : e.firstElementChild) ?? y.current, n = b.current;
|
|
3465
3465
|
if (!t || !n) return;
|
|
3466
|
-
let r = t.getBoundingClientRect(), i =
|
|
3466
|
+
let r = t.getBoundingClientRect(), i = zt(r, {
|
|
3467
3467
|
width: n.offsetWidth,
|
|
3468
3468
|
height: n.offsetHeight
|
|
3469
3469
|
}, a, s);
|
|
@@ -3482,7 +3482,7 @@ function Fn({ active: e, onClose: t, activator: n, children: r, placement: a = "
|
|
|
3482
3482
|
C(null);
|
|
3483
3483
|
return;
|
|
3484
3484
|
}
|
|
3485
|
-
T(
|
|
3485
|
+
T(Mn(y.current)), E();
|
|
3486
3486
|
}, [e, E]), o(() => {
|
|
3487
3487
|
if (e) return x.current = document.activeElement, () => {
|
|
3488
3488
|
var e, t;
|
|
@@ -3491,9 +3491,9 @@ function Fn({ active: e, onClose: t, activator: n, children: r, placement: a = "
|
|
|
3491
3491
|
}, [e]), o(() => {
|
|
3492
3492
|
if (!e) return;
|
|
3493
3493
|
let t = b.current;
|
|
3494
|
-
if (t) return
|
|
3495
|
-
let e =
|
|
3496
|
-
e !== -1 &&
|
|
3494
|
+
if (t) return Nn.push(t), () => {
|
|
3495
|
+
let e = Nn.lastIndexOf(t);
|
|
3496
|
+
e !== -1 && Nn.splice(e, 1);
|
|
3497
3497
|
};
|
|
3498
3498
|
}, [e]), o(() => {
|
|
3499
3499
|
if (!e) return;
|
|
@@ -3506,14 +3506,14 @@ function Fn({ active: e, onClose: t, activator: n, children: r, placement: a = "
|
|
|
3506
3506
|
let n = (e) => {
|
|
3507
3507
|
var n, r;
|
|
3508
3508
|
let i = e.target;
|
|
3509
|
-
(n = b.current) != null && n.contains(i) || (r = y.current) != null && r.contains(i) ||
|
|
3509
|
+
(n = b.current) != null && n.contains(i) || (r = y.current) != null && r.contains(i) || Nn.length && Nn[Nn.length - 1] !== b.current || t();
|
|
3510
3510
|
}, r = (e) => {
|
|
3511
3511
|
e.key === "Escape" && (e.stopPropagation(), t());
|
|
3512
3512
|
};
|
|
3513
3513
|
return document.addEventListener("mousedown", n, !0), document.addEventListener("keydown", r), () => {
|
|
3514
3514
|
document.removeEventListener("mousedown", n, !0), document.removeEventListener("keydown", r);
|
|
3515
3515
|
};
|
|
3516
|
-
}, [e, t]),
|
|
3516
|
+
}, [e, t]), jn(e && f, b), /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("span", {
|
|
3517
3517
|
className: "select-pop__trigger",
|
|
3518
3518
|
ref: y,
|
|
3519
3519
|
children: n
|
|
@@ -3539,8 +3539,8 @@ function Fn({ active: e, onClose: t, activator: n, children: r, placement: a = "
|
|
|
3539
3539
|
}
|
|
3540
3540
|
//#endregion
|
|
3541
3541
|
//#region src/SelectCombobox.tsx
|
|
3542
|
-
function
|
|
3543
|
-
let n =
|
|
3542
|
+
function Fn({ count: e, children: t }) {
|
|
3543
|
+
let n = Dn({
|
|
3544
3544
|
selector: ".select-combobox__option",
|
|
3545
3545
|
y: 6,
|
|
3546
3546
|
duration: .3,
|
|
@@ -3552,7 +3552,7 @@ function In({ count: e, children: t }) {
|
|
|
3552
3552
|
children: t
|
|
3553
3553
|
});
|
|
3554
3554
|
}
|
|
3555
|
-
var
|
|
3555
|
+
var In = r(function({ label: e, value: t, onChange: n, options: r, placeholder: i = "Selecionar…", searchPlaceholder: a = "Buscar…", labelAction: o, help: c, hint: u, error: f, emptyText: p = "Nenhum resultado", disabled: g, required: _, size: v = "md", searchable: y = !0, allowCustom: b = !1, customLabel: x, className: S, ...C }, w) {
|
|
3556
3556
|
let T = s(), [E, D] = d(!1), [O, k] = d(""), A = r.find((e) => e.value === t), j = A ? A.label : b && t ? t : null, M = l(() => {
|
|
3557
3557
|
let e = O.trim().toLowerCase();
|
|
3558
3558
|
return !y || !e ? r : r.filter((t) => {
|
|
@@ -3581,12 +3581,12 @@ var Ln = r(function({ label: e, value: t, onChange: n, options: r, placeholder:
|
|
|
3581
3581
|
className: "select-field__label",
|
|
3582
3582
|
htmlFor: T,
|
|
3583
3583
|
children: e
|
|
3584
|
-
}), c != null && c !== "" && /* @__PURE__ */ m(
|
|
3584
|
+
}), c != null && c !== "" && /* @__PURE__ */ m(Ut, { content: c })]
|
|
3585
3585
|
}), o]
|
|
3586
3586
|
}),
|
|
3587
3587
|
/* @__PURE__ */ m("div", {
|
|
3588
3588
|
className: "select-combobox",
|
|
3589
|
-
children: /* @__PURE__ */ m(
|
|
3589
|
+
children: /* @__PURE__ */ m(Pn, {
|
|
3590
3590
|
active: E,
|
|
3591
3591
|
onClose: I,
|
|
3592
3592
|
placement: "bottom-start",
|
|
@@ -3608,7 +3608,7 @@ var Ln = r(function({ label: e, value: t, onChange: n, options: r, placeholder:
|
|
|
3608
3608
|
}), /* @__PURE__ */ m("span", {
|
|
3609
3609
|
className: "select-combobox__caret",
|
|
3610
3610
|
"aria-hidden": "true",
|
|
3611
|
-
children: /* @__PURE__ */ m(
|
|
3611
|
+
children: /* @__PURE__ */ m(G, {})
|
|
3612
3612
|
})]
|
|
3613
3613
|
}),
|
|
3614
3614
|
children: /* @__PURE__ */ h("div", {
|
|
@@ -3626,7 +3626,7 @@ var Ln = r(function({ label: e, value: t, onChange: n, options: r, placeholder:
|
|
|
3626
3626
|
placeholder: a,
|
|
3627
3627
|
autoFocus: !0
|
|
3628
3628
|
})
|
|
3629
|
-
}), /* @__PURE__ */ h(
|
|
3629
|
+
}), /* @__PURE__ */ h(Fn, {
|
|
3630
3630
|
count: M.length + +!!F,
|
|
3631
3631
|
children: [F && /* @__PURE__ */ m("button", {
|
|
3632
3632
|
type: "button",
|
|
@@ -3665,7 +3665,7 @@ var Ln = r(function({ label: e, value: t, onChange: n, options: r, placeholder:
|
|
|
3665
3665
|
}), n && /* @__PURE__ */ m("span", {
|
|
3666
3666
|
className: "select-combobox__check",
|
|
3667
3667
|
"aria-hidden": "true",
|
|
3668
|
-
children: /* @__PURE__ */ m(
|
|
3668
|
+
children: /* @__PURE__ */ m(Be, {})
|
|
3669
3669
|
})]
|
|
3670
3670
|
}, e.value);
|
|
3671
3671
|
})]
|
|
@@ -3684,19 +3684,19 @@ var Ln = r(function({ label: e, value: t, onChange: n, options: r, placeholder:
|
|
|
3684
3684
|
}) : null
|
|
3685
3685
|
]
|
|
3686
3686
|
});
|
|
3687
|
-
}),
|
|
3687
|
+
}), Ln = r(function({ children: e, columns: t = 2, className: n, ...r }, i) {
|
|
3688
3688
|
return /* @__PURE__ */ m("div", {
|
|
3689
3689
|
ref: i,
|
|
3690
3690
|
...r,
|
|
3691
3691
|
className: `select-fieldgrid select-fieldgrid--${t}${n ? " " + n : ""}`,
|
|
3692
3692
|
children: e
|
|
3693
3693
|
});
|
|
3694
|
-
}),
|
|
3695
|
-
function
|
|
3694
|
+
}), Rn = (e) => e.replace(/\D/g, "");
|
|
3695
|
+
function zn(e) {
|
|
3696
3696
|
let [t = "", ...n] = e.replace(/[^\d-]/g, "").split("-");
|
|
3697
3697
|
return n.length ? `${t}-${n.join("").replace(/\D/g, "").slice(0, 2)}` : t;
|
|
3698
3698
|
}
|
|
3699
|
-
var
|
|
3699
|
+
var Bn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, error: i, className: a, ...o }, s) {
|
|
3700
3700
|
let c = (n) => t({
|
|
3701
3701
|
...e,
|
|
3702
3702
|
...n
|
|
@@ -3709,7 +3709,7 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3709
3709
|
...o,
|
|
3710
3710
|
className: `select-stack${a ? " " + a : ""}`,
|
|
3711
3711
|
children: [
|
|
3712
|
-
/* @__PURE__ */ m(
|
|
3712
|
+
/* @__PURE__ */ m(In, {
|
|
3713
3713
|
label: "Banco",
|
|
3714
3714
|
options: l,
|
|
3715
3715
|
value: e.bankCode,
|
|
@@ -3719,24 +3719,24 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3719
3719
|
emptyText: "Nenhum banco encontrado",
|
|
3720
3720
|
error: i
|
|
3721
3721
|
}),
|
|
3722
|
-
/* @__PURE__ */ h(
|
|
3722
|
+
/* @__PURE__ */ h(Ln, {
|
|
3723
3723
|
columns: 2,
|
|
3724
|
-
children: [/* @__PURE__ */ m(
|
|
3724
|
+
children: [/* @__PURE__ */ m(qt, {
|
|
3725
3725
|
label: "Agência",
|
|
3726
3726
|
value: e.agency,
|
|
3727
|
-
onChange: (e) => c({ agency:
|
|
3727
|
+
onChange: (e) => c({ agency: Rn(e) }),
|
|
3728
3728
|
inputMode: "numeric",
|
|
3729
3729
|
maxLength: 6
|
|
3730
|
-
}), /* @__PURE__ */ m(
|
|
3730
|
+
}), /* @__PURE__ */ m(qt, {
|
|
3731
3731
|
label: "Conta (com dígito)",
|
|
3732
3732
|
value: e.account,
|
|
3733
|
-
onChange: (e) => c({ account:
|
|
3733
|
+
onChange: (e) => c({ account: zn(e) }),
|
|
3734
3734
|
inputMode: "numeric",
|
|
3735
3735
|
maxLength: 16,
|
|
3736
3736
|
placeholder: "Ex: 9288-1"
|
|
3737
3737
|
})]
|
|
3738
3738
|
}),
|
|
3739
|
-
r && /* @__PURE__ */ m(
|
|
3739
|
+
r && /* @__PURE__ */ m(wn, {
|
|
3740
3740
|
label: "Tipo de conta",
|
|
3741
3741
|
options: [{
|
|
3742
3742
|
label: "Conta corrente",
|
|
@@ -3750,7 +3750,7 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3750
3750
|
})
|
|
3751
3751
|
]
|
|
3752
3752
|
});
|
|
3753
|
-
}),
|
|
3753
|
+
}), Vn = r(function({ checked: e, onChange: t, disabled: n = !1, label: r, className: i, ...a }, o) {
|
|
3754
3754
|
return /* @__PURE__ */ m("button", {
|
|
3755
3755
|
ref: o,
|
|
3756
3756
|
...a,
|
|
@@ -3766,14 +3766,14 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3766
3766
|
"aria-hidden": "true"
|
|
3767
3767
|
})
|
|
3768
3768
|
});
|
|
3769
|
-
}),
|
|
3769
|
+
}), Hn = r(function({ children: e, scroll: t = !1, bordered: n = !1, className: r, ...i }, a) {
|
|
3770
3770
|
return /* @__PURE__ */ m("div", {
|
|
3771
3771
|
ref: a,
|
|
3772
3772
|
...i,
|
|
3773
3773
|
className: `select-togglelist${t ? " select-togglelist--scroll" : ""}${n ? " select-togglelist--bordered" : ""}${r ? " " + r : ""}`,
|
|
3774
3774
|
children: e
|
|
3775
3775
|
});
|
|
3776
|
-
}),
|
|
3776
|
+
}), Un = r(function({ icon: e, label: t, checked: n, onChange: r, disabled: i = !1, description: a, children: o, className: c, ...l }, u) {
|
|
3777
3777
|
let d = s(), f = typeof t == "string" ? t : void 0;
|
|
3778
3778
|
return a == null && o == null ? /* @__PURE__ */ h("div", {
|
|
3779
3779
|
ref: u,
|
|
@@ -3788,7 +3788,7 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3788
3788
|
className: "select-togglerow__label",
|
|
3789
3789
|
children: t
|
|
3790
3790
|
}),
|
|
3791
|
-
/* @__PURE__ */ m(
|
|
3791
|
+
/* @__PURE__ */ m(Vn, {
|
|
3792
3792
|
checked: n,
|
|
3793
3793
|
onChange: r,
|
|
3794
3794
|
disabled: i,
|
|
@@ -3817,7 +3817,7 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3817
3817
|
children: a
|
|
3818
3818
|
})]
|
|
3819
3819
|
}),
|
|
3820
|
-
/* @__PURE__ */ m(
|
|
3820
|
+
/* @__PURE__ */ m(Vn, {
|
|
3821
3821
|
checked: n,
|
|
3822
3822
|
onChange: r,
|
|
3823
3823
|
disabled: i,
|
|
@@ -3837,7 +3837,7 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3837
3837
|
})
|
|
3838
3838
|
})]
|
|
3839
3839
|
});
|
|
3840
|
-
}),
|
|
3840
|
+
}), Wn = r(function({ icon: e, title: t, checked: n, onChange: r, children: i, disabled: a = !1, className: o, ...s }, c) {
|
|
3841
3841
|
return /* @__PURE__ */ h("div", {
|
|
3842
3842
|
ref: c,
|
|
3843
3843
|
...s,
|
|
@@ -3845,7 +3845,7 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3845
3845
|
children: [/* @__PURE__ */ h("div", {
|
|
3846
3846
|
className: "select-togglepanel__header",
|
|
3847
3847
|
children: [
|
|
3848
|
-
/* @__PURE__ */ m(
|
|
3848
|
+
/* @__PURE__ */ m(Vn, {
|
|
3849
3849
|
checked: n,
|
|
3850
3850
|
onChange: r,
|
|
3851
3851
|
disabled: a,
|
|
@@ -3872,7 +3872,7 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
3872
3872
|
})
|
|
3873
3873
|
})]
|
|
3874
3874
|
});
|
|
3875
|
-
}),
|
|
3875
|
+
}), Gn = {
|
|
3876
3876
|
BR: /* @__PURE__ */ h(p, { children: [
|
|
3877
3877
|
/* @__PURE__ */ m("rect", {
|
|
3878
3878
|
width: "20",
|
|
@@ -4029,8 +4029,8 @@ var Vn = r(function({ value: e, onChange: t, banks: n = [], showType: r = !1, er
|
|
|
4029
4029
|
})
|
|
4030
4030
|
] })
|
|
4031
4031
|
};
|
|
4032
|
-
function
|
|
4033
|
-
let t =
|
|
4032
|
+
function Kn({ iso: e }) {
|
|
4033
|
+
let t = Gn[e];
|
|
4034
4034
|
return t ? /* @__PURE__ */ h("svg", {
|
|
4035
4035
|
className: "select-phone__flag",
|
|
4036
4036
|
viewBox: "0 0 20 14",
|
|
@@ -4055,7 +4055,7 @@ function qn({ iso: e }) {
|
|
|
4055
4055
|
}
|
|
4056
4056
|
//#endregion
|
|
4057
4057
|
//#region src/internal/phone.ts
|
|
4058
|
-
var
|
|
4058
|
+
var qn = {
|
|
4059
4059
|
US: "(###) ###-####",
|
|
4060
4060
|
MX: "## #### ####",
|
|
4061
4061
|
AR: "## ####-####",
|
|
@@ -4063,12 +4063,12 @@ var Jn = {
|
|
|
4063
4063
|
ES: "### ### ###",
|
|
4064
4064
|
GB: "##### ######"
|
|
4065
4065
|
};
|
|
4066
|
-
function
|
|
4066
|
+
function Jn(e) {
|
|
4067
4067
|
let t = 0;
|
|
4068
4068
|
for (let n of e) n === "#" && (t += 1);
|
|
4069
4069
|
return t;
|
|
4070
4070
|
}
|
|
4071
|
-
function
|
|
4071
|
+
function Yn(e, t) {
|
|
4072
4072
|
let n = "", r = 0;
|
|
4073
4073
|
for (let i of e) {
|
|
4074
4074
|
if (r >= t.length) break;
|
|
@@ -4076,35 +4076,35 @@ function Xn(e, t) {
|
|
|
4076
4076
|
}
|
|
4077
4077
|
return r < t.length && (n += t.slice(r)), n;
|
|
4078
4078
|
}
|
|
4079
|
-
function
|
|
4079
|
+
function Xn(e) {
|
|
4080
4080
|
if (e === "BR") return 11;
|
|
4081
|
-
let t =
|
|
4082
|
-
return t ?
|
|
4081
|
+
let t = qn[e];
|
|
4082
|
+
return t ? Jn(t) : 15;
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4084
|
+
function Zn(e) {
|
|
4085
4085
|
return (e ?? "").replace(/\D/g, "").slice(0, 11);
|
|
4086
4086
|
}
|
|
4087
|
-
function
|
|
4088
|
-
return (t ?? "").replace(/\D/g, "").slice(0,
|
|
4087
|
+
function Qn(e, t) {
|
|
4088
|
+
return (t ?? "").replace(/\D/g, "").slice(0, Xn(e));
|
|
4089
4089
|
}
|
|
4090
|
-
function
|
|
4091
|
-
let t =
|
|
4090
|
+
function $n(e) {
|
|
4091
|
+
let t = Zn(e);
|
|
4092
4092
|
return t.length === 0 ? "" : t.length <= 2 ? `(${t}` : t.length <= 6 ? `(${t.slice(0, 2)}) ${t.slice(2)}` : t.length <= 10 ? `(${t.slice(0, 2)}) ${t.slice(2, 6)}-${t.slice(6)}` : `(${t.slice(0, 2)}) ${t.slice(2, 7)}-${t.slice(7)}`;
|
|
4093
4093
|
}
|
|
4094
|
-
function
|
|
4095
|
-
let n =
|
|
4096
|
-
if (e === "BR") return
|
|
4097
|
-
let r =
|
|
4098
|
-
return r ?
|
|
4094
|
+
function er(e, t) {
|
|
4095
|
+
let n = Qn(e, t);
|
|
4096
|
+
if (e === "BR") return $n(n);
|
|
4097
|
+
let r = qn[e];
|
|
4098
|
+
return r ? Yn(r, n) : n;
|
|
4099
4099
|
}
|
|
4100
|
-
function
|
|
4100
|
+
function tr(e) {
|
|
4101
4101
|
if (e === "BR") return "(00) 00000-0000";
|
|
4102
|
-
let t =
|
|
4102
|
+
let t = qn[e];
|
|
4103
4103
|
return t ? t.replace(/#/g, "0") : "";
|
|
4104
4104
|
}
|
|
4105
4105
|
//#endregion
|
|
4106
4106
|
//#region src/SelectPhoneField.tsx
|
|
4107
|
-
var
|
|
4107
|
+
var nr = [
|
|
4108
4108
|
{
|
|
4109
4109
|
iso: "BR",
|
|
4110
4110
|
dial: "+55",
|
|
@@ -4148,12 +4148,12 @@ var rr = [
|
|
|
4148
4148
|
name: "Reino Unido"
|
|
4149
4149
|
}
|
|
4150
4150
|
];
|
|
4151
|
-
function
|
|
4151
|
+
function rr(e) {
|
|
4152
4152
|
var t;
|
|
4153
|
-
return ((t =
|
|
4153
|
+
return ((t = nr.find((t) => t.iso === e)) == null ? void 0 : t.dial) ?? "";
|
|
4154
4154
|
}
|
|
4155
|
-
var
|
|
4156
|
-
let f = s(), p =
|
|
4155
|
+
var ir = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i, error: a, onBlur: o, placeholder: c, className: l, ...u }, d) {
|
|
4156
|
+
let f = s(), p = rr(t.country), g = a ? `${f}-err` : i ? `${f}-hint` : void 0;
|
|
4157
4157
|
return /* @__PURE__ */ h("div", {
|
|
4158
4158
|
ref: d,
|
|
4159
4159
|
...u,
|
|
@@ -4175,7 +4175,7 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4175
4175
|
/* @__PURE__ */ h("span", {
|
|
4176
4176
|
className: "select-phone__dial",
|
|
4177
4177
|
children: [
|
|
4178
|
-
/* @__PURE__ */ m(
|
|
4178
|
+
/* @__PURE__ */ m(Kn, { iso: t.country }),
|
|
4179
4179
|
" ",
|
|
4180
4180
|
p
|
|
4181
4181
|
]
|
|
@@ -4183,7 +4183,7 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4183
4183
|
/* @__PURE__ */ m("span", {
|
|
4184
4184
|
className: "select-select-caret",
|
|
4185
4185
|
"aria-hidden": "true",
|
|
4186
|
-
children: /* @__PURE__ */ m(
|
|
4186
|
+
children: /* @__PURE__ */ m(G, {})
|
|
4187
4187
|
}),
|
|
4188
4188
|
/* @__PURE__ */ m("select", {
|
|
4189
4189
|
className: "select-phone__select",
|
|
@@ -4193,7 +4193,7 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4193
4193
|
country: e.target.value
|
|
4194
4194
|
}),
|
|
4195
4195
|
"aria-label": "País",
|
|
4196
|
-
children:
|
|
4196
|
+
children: nr.map((e) => /* @__PURE__ */ h("option", {
|
|
4197
4197
|
value: e.iso,
|
|
4198
4198
|
children: [
|
|
4199
4199
|
e.name,
|
|
@@ -4210,11 +4210,11 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4210
4210
|
type: "tel",
|
|
4211
4211
|
inputMode: "tel",
|
|
4212
4212
|
autoComplete: "tel-national",
|
|
4213
|
-
value:
|
|
4214
|
-
placeholder: c ??
|
|
4213
|
+
value: er(t.country, t.number),
|
|
4214
|
+
placeholder: c ?? tr(t.country),
|
|
4215
4215
|
onChange: (e) => n({
|
|
4216
4216
|
...t,
|
|
4217
|
-
number:
|
|
4217
|
+
number: Qn(t.country, e.target.value)
|
|
4218
4218
|
}),
|
|
4219
4219
|
onBlur: o,
|
|
4220
4220
|
"aria-invalid": a ? !0 : void 0,
|
|
@@ -4232,7 +4232,7 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4232
4232
|
}) : null
|
|
4233
4233
|
]
|
|
4234
4234
|
});
|
|
4235
|
-
}),
|
|
4235
|
+
}), ar = r(function({ value: e, onChange: t, options: n, name: r, className: i, ...a }, o) {
|
|
4236
4236
|
let c = s(), l = r ?? c;
|
|
4237
4237
|
return /* @__PURE__ */ m("div", {
|
|
4238
4238
|
ref: o,
|
|
@@ -4278,7 +4278,7 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4278
4278
|
}, n.value);
|
|
4279
4279
|
})
|
|
4280
4280
|
});
|
|
4281
|
-
}),
|
|
4281
|
+
}), or = r(function({ value: e, onChange: t, options: n, ariaLabel: r, fullWidth: i = !1, label: a, hint: o, disabled: l = !1, className: f, ...p }, g) {
|
|
4282
4282
|
let _ = s(), v = Math.max(0, n.findIndex((t) => t.value === e)), y = u([]), [b, x] = d(null);
|
|
4283
4283
|
c(() => {
|
|
4284
4284
|
let e = y.current[v];
|
|
@@ -4341,7 +4341,7 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4341
4341
|
})
|
|
4342
4342
|
]
|
|
4343
4343
|
});
|
|
4344
|
-
}),
|
|
4344
|
+
}), sr = r(function({ children: e, tone: t = "neutral", icon: n, size: r = "md", className: i, ...a }, o) {
|
|
4345
4345
|
return /* @__PURE__ */ h("span", {
|
|
4346
4346
|
ref: o,
|
|
4347
4347
|
...a,
|
|
@@ -4351,7 +4351,7 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4351
4351
|
children: n
|
|
4352
4352
|
}), e]
|
|
4353
4353
|
});
|
|
4354
|
-
}),
|
|
4354
|
+
}), cr = {
|
|
4355
4355
|
approved: {
|
|
4356
4356
|
label: "Aprovada",
|
|
4357
4357
|
tone: "success"
|
|
@@ -4417,9 +4417,9 @@ var ar = r(function({ label: e, value: t, onChange: n, labelAction: r, hint: i,
|
|
|
4417
4417
|
tone: "critical"
|
|
4418
4418
|
}
|
|
4419
4419
|
};
|
|
4420
|
-
function
|
|
4420
|
+
function lr({ status: e, map: t = cr, size: n }) {
|
|
4421
4421
|
let r = t[e] ?? { label: e };
|
|
4422
|
-
return /* @__PURE__ */ m(
|
|
4422
|
+
return /* @__PURE__ */ m(sr, {
|
|
4423
4423
|
tone: r.tone,
|
|
4424
4424
|
size: n,
|
|
4425
4425
|
children: r.label
|
|
@@ -4427,7 +4427,7 @@ function ur({ status: e, map: t = lr, size: n }) {
|
|
|
4427
4427
|
}
|
|
4428
4428
|
//#endregion
|
|
4429
4429
|
//#region src/SelectActionList.tsx
|
|
4430
|
-
function
|
|
4430
|
+
function ur({ items: e, sections: t, onAction: n, autoFocus: r = !0, className: i, ...a }) {
|
|
4431
4431
|
let s = u(null), c = t ?? (e ? [{ items: e }] : []);
|
|
4432
4432
|
o(() => {
|
|
4433
4433
|
var e;
|
|
@@ -4477,9 +4477,9 @@ function dr({ items: e, sections: t, onAction: n, autoFocus: r = !0, className:
|
|
|
4477
4477
|
}
|
|
4478
4478
|
//#endregion
|
|
4479
4479
|
//#region src/SelectActionMenu.tsx
|
|
4480
|
-
function
|
|
4480
|
+
function dr({ items: e, label: t = "Ações", disabled: n }) {
|
|
4481
4481
|
let [r, i] = d(!1);
|
|
4482
|
-
return /* @__PURE__ */ m(
|
|
4482
|
+
return /* @__PURE__ */ m(Pn, {
|
|
4483
4483
|
active: r,
|
|
4484
4484
|
onClose: () => i(!1),
|
|
4485
4485
|
placement: "bottom-end",
|
|
@@ -4487,12 +4487,12 @@ function fr({ items: e, label: t = "Ações", disabled: n }) {
|
|
|
4487
4487
|
variant: "secondary",
|
|
4488
4488
|
size: "sm",
|
|
4489
4489
|
inline: !0,
|
|
4490
|
-
trailingIcon: /* @__PURE__ */ m(
|
|
4490
|
+
trailingIcon: /* @__PURE__ */ m(G, {}),
|
|
4491
4491
|
disabled: n,
|
|
4492
4492
|
onClick: () => i((e) => !e),
|
|
4493
4493
|
children: t
|
|
4494
4494
|
}),
|
|
4495
|
-
children: /* @__PURE__ */ m(
|
|
4495
|
+
children: /* @__PURE__ */ m(ur, {
|
|
4496
4496
|
items: e,
|
|
4497
4497
|
onAction: () => i(!1)
|
|
4498
4498
|
})
|
|
@@ -4500,7 +4500,7 @@ function fr({ items: e, label: t = "Ações", disabled: n }) {
|
|
|
4500
4500
|
}
|
|
4501
4501
|
//#endregion
|
|
4502
4502
|
//#region src/spacing.ts
|
|
4503
|
-
var
|
|
4503
|
+
var fr = {
|
|
4504
4504
|
0: "0",
|
|
4505
4505
|
"025": "0.0625rem",
|
|
4506
4506
|
"050": "var(--select-sp-1)",
|
|
@@ -4516,7 +4516,7 @@ var pr = {
|
|
|
4516
4516
|
1200: "3rem",
|
|
4517
4517
|
1600: "4rem",
|
|
4518
4518
|
2e3: "5rem"
|
|
4519
|
-
},
|
|
4519
|
+
}, pr = {
|
|
4520
4520
|
start: "flex-start",
|
|
4521
4521
|
center: "center",
|
|
4522
4522
|
end: "flex-end",
|
|
@@ -4526,14 +4526,14 @@ var pr = {
|
|
|
4526
4526
|
baseline: "baseline",
|
|
4527
4527
|
stretch: "stretch"
|
|
4528
4528
|
};
|
|
4529
|
-
function
|
|
4529
|
+
function mr(...e) {
|
|
4530
4530
|
return e.filter(Boolean).join(" ");
|
|
4531
4531
|
}
|
|
4532
|
-
function
|
|
4532
|
+
function hr({ children: e, gap: t, align: n, inlineAlign: r, as: i = "div", className: a, fill: o = !1, growLast: s = !1, ...c }) {
|
|
4533
4533
|
let l = i, u = {
|
|
4534
|
-
rowGap: t ?
|
|
4535
|
-
justifyContent: n ?
|
|
4536
|
-
alignItems: r ?
|
|
4534
|
+
rowGap: t ? fr[t] : void 0,
|
|
4535
|
+
justifyContent: n ? pr[n] : void 0,
|
|
4536
|
+
alignItems: r ? pr[r] : void 0,
|
|
4537
4537
|
...o ? {
|
|
4538
4538
|
height: "100%",
|
|
4539
4539
|
flex: "1 1 auto"
|
|
@@ -4541,59 +4541,59 @@ function gr({ children: e, gap: t, align: n, inlineAlign: r, as: i = "div", clas
|
|
|
4541
4541
|
};
|
|
4542
4542
|
return /* @__PURE__ */ m(l, {
|
|
4543
4543
|
...c,
|
|
4544
|
-
className:
|
|
4544
|
+
className: mr("select-stack", s && "select-stack--grow-last", a),
|
|
4545
4545
|
style: u,
|
|
4546
4546
|
children: e
|
|
4547
4547
|
});
|
|
4548
4548
|
}
|
|
4549
|
-
function
|
|
4549
|
+
function gr({ children: e, gap: t, align: n, blockAlign: r = "center", wrap: i = !0, as: a = "div", className: o, ...s }) {
|
|
4550
4550
|
let c = a, l = {
|
|
4551
|
-
columnGap: t ?
|
|
4552
|
-
rowGap: t ?
|
|
4553
|
-
justifyContent: n ?
|
|
4554
|
-
alignItems:
|
|
4551
|
+
columnGap: t ? fr[t] : void 0,
|
|
4552
|
+
rowGap: t ? fr[t] : void 0,
|
|
4553
|
+
justifyContent: n ? pr[n] : void 0,
|
|
4554
|
+
alignItems: pr[r],
|
|
4555
4555
|
flexWrap: i ? "wrap" : "nowrap"
|
|
4556
4556
|
};
|
|
4557
4557
|
return /* @__PURE__ */ m(c, {
|
|
4558
4558
|
...s,
|
|
4559
|
-
className:
|
|
4559
|
+
className: mr("select-inline", o),
|
|
4560
4560
|
style: l,
|
|
4561
4561
|
children: e
|
|
4562
4562
|
});
|
|
4563
4563
|
}
|
|
4564
|
-
function
|
|
4564
|
+
function _r({ children: e, columns: t = 2, gap: n = "400", alignItems: r, collapseBelow: i, as: a = "div", className: o, ...s }) {
|
|
4565
4565
|
let c = a, l = {
|
|
4566
4566
|
"--select-grid-columns": typeof t == "number" ? `repeat(${t}, minmax(0, 1fr))` : t,
|
|
4567
|
-
gap:
|
|
4568
|
-
alignItems: r ?
|
|
4567
|
+
gap: fr[n],
|
|
4568
|
+
alignItems: r ? pr[r] : void 0
|
|
4569
4569
|
};
|
|
4570
4570
|
return /* @__PURE__ */ m(c, {
|
|
4571
4571
|
...s,
|
|
4572
|
-
className:
|
|
4572
|
+
className: mr("select-grid", i && `select-grid--collapse-${i}`, o),
|
|
4573
4573
|
style: l,
|
|
4574
4574
|
children: e
|
|
4575
4575
|
});
|
|
4576
4576
|
}
|
|
4577
|
-
var
|
|
4577
|
+
var vr = {
|
|
4578
4578
|
surface: "var(--select-surface)",
|
|
4579
4579
|
"surface-secondary": "var(--select-card-muted)",
|
|
4580
4580
|
"surface-sunken": "var(--select-surface-sunken)",
|
|
4581
4581
|
card: "var(--select-card-bg)",
|
|
4582
4582
|
transparent: "transparent"
|
|
4583
|
-
},
|
|
4583
|
+
}, yr = {
|
|
4584
4584
|
sm: "var(--select-radius-sm)",
|
|
4585
4585
|
base: "var(--select-radius)",
|
|
4586
4586
|
lg: "var(--select-radius-lg)",
|
|
4587
4587
|
card: "var(--select-radius-card)",
|
|
4588
4588
|
full: "999px"
|
|
4589
4589
|
};
|
|
4590
|
-
function
|
|
4590
|
+
function br({ children: e, padding: t, paddingInline: n, paddingBlock: r, background: i, borderRadius: a, border: o = !1, shadow: s = !1, width: c, minHeight: l, as: u = "div", className: d, style: f, ...p }) {
|
|
4591
4591
|
let h = u, g = {
|
|
4592
|
-
padding: t ?
|
|
4593
|
-
paddingInline: n ?
|
|
4594
|
-
paddingBlock: r ?
|
|
4595
|
-
background: i ?
|
|
4596
|
-
borderRadius: a ?
|
|
4592
|
+
padding: t ? fr[t] : void 0,
|
|
4593
|
+
paddingInline: n ? fr[n] : void 0,
|
|
4594
|
+
paddingBlock: r ? fr[r] : void 0,
|
|
4595
|
+
background: i ? vr[i] : void 0,
|
|
4596
|
+
borderRadius: a ? yr[a] : void 0,
|
|
4597
4597
|
border: o ? "1px solid var(--select-border)" : void 0,
|
|
4598
4598
|
boxShadow: s ? "var(--select-shadow-card)" : void 0,
|
|
4599
4599
|
width: c,
|
|
@@ -4603,14 +4603,14 @@ function xr({ children: e, padding: t, paddingInline: n, paddingBlock: r, backgr
|
|
|
4603
4603
|
return /* @__PURE__ */ m(h, {
|
|
4604
4604
|
...p,
|
|
4605
4605
|
"data-bg": i,
|
|
4606
|
-
className:
|
|
4606
|
+
className: mr("select-box", d),
|
|
4607
4607
|
style: g,
|
|
4608
4608
|
children: e
|
|
4609
4609
|
});
|
|
4610
4610
|
}
|
|
4611
4611
|
//#endregion
|
|
4612
4612
|
//#region src/SelectText.tsx
|
|
4613
|
-
function
|
|
4613
|
+
function xr({ children: e, as: t = "p", variant: n = "bodyMd", tone: r, fontWeight: i, alignment: a, truncate: o = !1, numeric: s = !1, mono: c = !1, className: l, ...u }) {
|
|
4614
4614
|
let d = t, f = [
|
|
4615
4615
|
"select-text",
|
|
4616
4616
|
`select-text--${n}`,
|
|
@@ -4630,7 +4630,7 @@ function Sr({ children: e, as: t = "p", variant: n = "bodyMd", tone: r, fontWeig
|
|
|
4630
4630
|
}
|
|
4631
4631
|
//#endregion
|
|
4632
4632
|
//#region src/SelectPaymentBrand.tsx
|
|
4633
|
-
var
|
|
4633
|
+
var Sr = "https://cdn.selectwin.io/public/payicons", Cr = [
|
|
4634
4634
|
{
|
|
4635
4635
|
value: "visa",
|
|
4636
4636
|
label: "Visa",
|
|
@@ -4691,32 +4691,32 @@ var Cr = "https://cdn.selectwin.io/public/payicons", wr = [
|
|
|
4691
4691
|
label: "Diners Club",
|
|
4692
4692
|
file: "dinersclub"
|
|
4693
4693
|
}
|
|
4694
|
-
],
|
|
4694
|
+
], wr = {
|
|
4695
4695
|
master: "mastercard",
|
|
4696
4696
|
"american-express": "amex",
|
|
4697
4697
|
americanexpress: "amex",
|
|
4698
4698
|
diners: "dinersclub",
|
|
4699
4699
|
"diners-club": "dinersclub"
|
|
4700
|
-
},
|
|
4701
|
-
function
|
|
4700
|
+
}, Tr = new Map(Cr.map((e) => [e.value, e]));
|
|
4701
|
+
function Er(e) {
|
|
4702
4702
|
if (!e) return null;
|
|
4703
4703
|
let t = e.toLowerCase().trim().replace(/\s+/g, "-");
|
|
4704
4704
|
for (let e of [t, t.replace(/-/g, "")]) {
|
|
4705
|
-
let t =
|
|
4705
|
+
let t = Tr.get(e) ?? (wr[e] ? Tr.get(wr[e]) : void 0);
|
|
4706
4706
|
if (t) return t;
|
|
4707
4707
|
}
|
|
4708
4708
|
return null;
|
|
4709
4709
|
}
|
|
4710
|
-
function
|
|
4710
|
+
function Dr(e) {
|
|
4711
4711
|
var t;
|
|
4712
|
-
return ((t =
|
|
4712
|
+
return ((t = Er(e)) == null ? void 0 : t.label) ?? e;
|
|
4713
4713
|
}
|
|
4714
|
-
var
|
|
4714
|
+
var Or = {
|
|
4715
4715
|
pix: "pix",
|
|
4716
4716
|
billet: "boleto",
|
|
4717
4717
|
boleto: "boleto",
|
|
4718
4718
|
nupay: "nupay"
|
|
4719
|
-
},
|
|
4719
|
+
}, kr = {
|
|
4720
4720
|
credit: "Cartão de crédito",
|
|
4721
4721
|
debit: "Cartão de débito",
|
|
4722
4722
|
pix: "Pix",
|
|
@@ -4724,22 +4724,22 @@ var kr = {
|
|
|
4724
4724
|
boleto: "Boleto bancário",
|
|
4725
4725
|
nupay: "Nupay"
|
|
4726
4726
|
};
|
|
4727
|
-
function
|
|
4727
|
+
function Ar(e) {
|
|
4728
4728
|
var t;
|
|
4729
|
-
return ((t =
|
|
4729
|
+
return ((t = Er(e)) == null ? void 0 : t.file) ?? null;
|
|
4730
4730
|
}
|
|
4731
|
-
function
|
|
4732
|
-
let o =
|
|
4733
|
-
if (!o) return /* @__PURE__ */ m(
|
|
4731
|
+
function jr({ method: e, cardBrand: t, size: n = 24, showLabel: r = !1, plain: i = !1, label: a }) {
|
|
4732
|
+
let o = Ar(t) ?? (e ? Or[e] : null), s = t ? Dr(t) : void 0, c = a || s || (e ? kr[e] : void 0) || e || "—";
|
|
4733
|
+
if (!o) return /* @__PURE__ */ m(xr, {
|
|
4734
4734
|
as: "span",
|
|
4735
4735
|
tone: "subdued",
|
|
4736
4736
|
variant: "bodySm",
|
|
4737
|
-
children: a || e &&
|
|
4737
|
+
children: a || e && kr[e] || s || e || "—"
|
|
4738
4738
|
});
|
|
4739
|
-
let l =
|
|
4739
|
+
let l = Ar(t) == null, u = n, d = Math.round(n * 1.2);
|
|
4740
4740
|
if (i) {
|
|
4741
4741
|
let t = l ? Math.round(n * .7) : n, i = /* @__PURE__ */ m("img", {
|
|
4742
|
-
src: `${
|
|
4742
|
+
src: `${Sr}/${o}.svg`,
|
|
4743
4743
|
alt: c,
|
|
4744
4744
|
title: c,
|
|
4745
4745
|
loading: "lazy",
|
|
@@ -4752,14 +4752,14 @@ function Mr({ method: e, cardBrand: t, size: n = 24, showLabel: r = !1, plain: i
|
|
|
4752
4752
|
flex: "0 0 auto"
|
|
4753
4753
|
}
|
|
4754
4754
|
});
|
|
4755
|
-
return r ? /* @__PURE__ */ h(
|
|
4755
|
+
return r ? /* @__PURE__ */ h(gr, {
|
|
4756
4756
|
gap: "150",
|
|
4757
4757
|
blockAlign: "center",
|
|
4758
4758
|
wrap: !1,
|
|
4759
|
-
children: [i, /* @__PURE__ */ m(
|
|
4759
|
+
children: [i, /* @__PURE__ */ m(xr, {
|
|
4760
4760
|
as: "span",
|
|
4761
4761
|
variant: "bodySm",
|
|
4762
|
-
children: a || e &&
|
|
4762
|
+
children: a || e && kr[e] || s || e
|
|
4763
4763
|
})]
|
|
4764
4764
|
}) : i;
|
|
4765
4765
|
}
|
|
@@ -4780,7 +4780,7 @@ function Mr({ method: e, cardBrand: t, size: n = 24, showLabel: r = !1, plain: i
|
|
|
4780
4780
|
overflow: "hidden"
|
|
4781
4781
|
},
|
|
4782
4782
|
children: /* @__PURE__ */ m("img", {
|
|
4783
|
-
src: `${
|
|
4783
|
+
src: `${Sr}/${o}.svg`,
|
|
4784
4784
|
alt: c,
|
|
4785
4785
|
loading: "lazy",
|
|
4786
4786
|
style: l ? {
|
|
@@ -4796,21 +4796,21 @@ function Mr({ method: e, cardBrand: t, size: n = 24, showLabel: r = !1, plain: i
|
|
|
4796
4796
|
}
|
|
4797
4797
|
})
|
|
4798
4798
|
});
|
|
4799
|
-
return r ? /* @__PURE__ */ h(
|
|
4799
|
+
return r ? /* @__PURE__ */ h(gr, {
|
|
4800
4800
|
gap: "150",
|
|
4801
4801
|
blockAlign: "center",
|
|
4802
4802
|
wrap: !1,
|
|
4803
|
-
children: [f, /* @__PURE__ */ m(
|
|
4803
|
+
children: [f, /* @__PURE__ */ m(xr, {
|
|
4804
4804
|
as: "span",
|
|
4805
4805
|
variant: "bodySm",
|
|
4806
|
-
children: a || e &&
|
|
4806
|
+
children: a || e && kr[e] || s || e
|
|
4807
4807
|
})]
|
|
4808
4808
|
}) : f;
|
|
4809
4809
|
}
|
|
4810
4810
|
//#endregion
|
|
4811
4811
|
//#region src/SelectIconButton.tsx
|
|
4812
|
-
var
|
|
4813
|
-
return /* @__PURE__ */ m(
|
|
4812
|
+
var Mr = r(function({ icon: e, label: t, onClick: n, disabled: r = !1, size: i = "md", variant: a = "ghost", active: o = !1, className: s, ...c }, l) {
|
|
4813
|
+
return /* @__PURE__ */ m(Ht, {
|
|
4814
4814
|
content: t,
|
|
4815
4815
|
children: /* @__PURE__ */ m("button", {
|
|
4816
4816
|
ref: l,
|
|
@@ -4834,7 +4834,7 @@ function Nr({ open: e, onToggle: t, children: n, openLabel: r, disabled: i = !1,
|
|
|
4834
4834
|
inline: !0,
|
|
4835
4835
|
trailingIcon: /* @__PURE__ */ m("span", {
|
|
4836
4836
|
className: `select-disclosure-caret${e ? " is-open" : ""}`,
|
|
4837
|
-
children: /* @__PURE__ */ m(
|
|
4837
|
+
children: /* @__PURE__ */ m(G, {})
|
|
4838
4838
|
}),
|
|
4839
4839
|
disabled: i,
|
|
4840
4840
|
"aria-expanded": e,
|
|
@@ -5083,7 +5083,7 @@ function li({ value: e, path: n, depth: r, ancestors: i, ctx: a }) {
|
|
|
5083
5083
|
"aria-expanded": p,
|
|
5084
5084
|
"aria-label": `${p ? "Recolher" : "Expandir"} ${e}`,
|
|
5085
5085
|
onClick: () => a.toggle(l),
|
|
5086
|
-
children: /* @__PURE__ */ m(
|
|
5086
|
+
children: /* @__PURE__ */ m(W, {})
|
|
5087
5087
|
}) : /* @__PURE__ */ m("span", {
|
|
5088
5088
|
className: "select-json__caret select-json__caret--empty",
|
|
5089
5089
|
"aria-hidden": "true"
|
|
@@ -5127,7 +5127,7 @@ function li({ value: e, path: n, depth: r, ancestors: i, ctx: a }) {
|
|
|
5127
5127
|
"aria-label": `Copiar ${e}`,
|
|
5128
5128
|
title: a.copied === _ ? "Copiado!" : "Copiar valor",
|
|
5129
5129
|
onClick: () => a.copy(_, d ? Kr(c) : Hr(c)),
|
|
5130
|
-
children: a.copied === _ ? /* @__PURE__ */ m(
|
|
5130
|
+
children: a.copied === _ ? /* @__PURE__ */ m(Be, {}) : /* @__PURE__ */ m(se, {})
|
|
5131
5131
|
})
|
|
5132
5132
|
]
|
|
5133
5133
|
}), f && p && /* @__PURE__ */ m(li, {
|
|
@@ -5200,7 +5200,7 @@ var di = r(function({ value: e, title: t = "Metadados", maxHeight: n = 360, defa
|
|
|
5200
5200
|
className: `select-json${f ? " " + f : ""}`,
|
|
5201
5201
|
children: [/* @__PURE__ */ h("div", {
|
|
5202
5202
|
className: "select-json__head",
|
|
5203
|
-
children: [/* @__PURE__ */ m(
|
|
5203
|
+
children: [/* @__PURE__ */ m(xr, {
|
|
5204
5204
|
as: "h2",
|
|
5205
5205
|
variant: "headingSm",
|
|
5206
5206
|
children: t
|
|
@@ -5220,7 +5220,7 @@ var di = r(function({ value: e, title: t = "Metadados", maxHeight: n = 360, defa
|
|
|
5220
5220
|
/* @__PURE__ */ m("span", {
|
|
5221
5221
|
className: "select-json__searchicon",
|
|
5222
5222
|
"aria-hidden": "true",
|
|
5223
|
-
children: /* @__PURE__ */ m(
|
|
5223
|
+
children: /* @__PURE__ */ m(ae, {})
|
|
5224
5224
|
}),
|
|
5225
5225
|
/* @__PURE__ */ m("input", {
|
|
5226
5226
|
className: "select-json__searchinput",
|
|
@@ -5235,23 +5235,23 @@ var di = r(function({ value: e, title: t = "Metadados", maxHeight: n = 360, defa
|
|
|
5235
5235
|
children: L === 0 ? "nenhum" : L === 1 ? "1 resultado" : `${L} resultados`
|
|
5236
5236
|
})
|
|
5237
5237
|
] }) : /* @__PURE__ */ m("span", { className: "select-json__spacer" }),
|
|
5238
|
-
N && P.length > 0 && !I && /* @__PURE__ */ m(
|
|
5239
|
-
icon: /* @__PURE__ */ m(
|
|
5238
|
+
N && P.length > 0 && !I && /* @__PURE__ */ m(Mr, {
|
|
5239
|
+
icon: /* @__PURE__ */ m(_e, {}),
|
|
5240
5240
|
label: te ? "Recolher tudo" : "Expandir tudo",
|
|
5241
5241
|
size: "sm",
|
|
5242
5242
|
active: te,
|
|
5243
5243
|
onClick: ne
|
|
5244
5244
|
}),
|
|
5245
|
-
/* @__PURE__ */ m(
|
|
5246
|
-
icon: /* @__PURE__ */ m(
|
|
5245
|
+
/* @__PURE__ */ m(Mr, {
|
|
5246
|
+
icon: /* @__PURE__ */ m(Ce, {}),
|
|
5247
5247
|
label: M ? "Árvore indisponível: JSON muito grande" : b === "raw" ? "Ver árvore" : "Ver JSON bruto",
|
|
5248
5248
|
size: "sm",
|
|
5249
5249
|
active: b === "raw" || M,
|
|
5250
5250
|
disabled: M,
|
|
5251
5251
|
onClick: () => x((e) => e === "raw" ? "tree" : "raw")
|
|
5252
5252
|
}),
|
|
5253
|
-
/* @__PURE__ */ m(
|
|
5254
|
-
icon: m(E === "all" ?
|
|
5253
|
+
/* @__PURE__ */ m(Mr, {
|
|
5254
|
+
icon: m(E === "all" ? Be : ct, {}),
|
|
5255
5255
|
label: E === "all" ? "Copiado!" : "Copiar JSON",
|
|
5256
5256
|
size: "sm",
|
|
5257
5257
|
active: E === "all",
|
|
@@ -5264,7 +5264,7 @@ var di = r(function({ value: e, title: t = "Metadados", maxHeight: n = 360, defa
|
|
|
5264
5264
|
style: { maxHeight: n },
|
|
5265
5265
|
children: N ? I && F.count === 0 ? /* @__PURE__ */ m("div", {
|
|
5266
5266
|
className: "select-json__empty",
|
|
5267
|
-
children: /* @__PURE__ */ h(
|
|
5267
|
+
children: /* @__PURE__ */ h(xr, {
|
|
5268
5268
|
as: "p",
|
|
5269
5269
|
tone: "subdued",
|
|
5270
5270
|
variant: "bodySm",
|
|
@@ -5526,7 +5526,7 @@ var yi = /[\s,;]+/, bi = r(function({ label: e, value: t, onChange: n, placehold
|
|
|
5526
5526
|
//#endregion
|
|
5527
5527
|
//#region src/SelectOptionList.tsx
|
|
5528
5528
|
function xi({ children: e, className: t, ...n }) {
|
|
5529
|
-
let r =
|
|
5529
|
+
let r = Dn({
|
|
5530
5530
|
selector: ".select-optionrow",
|
|
5531
5531
|
y: 8,
|
|
5532
5532
|
duration: .45,
|
|
@@ -5541,7 +5541,7 @@ function xi({ children: e, className: t, ...n }) {
|
|
|
5541
5541
|
});
|
|
5542
5542
|
}
|
|
5543
5543
|
function Si({ title: e, subtitle: t, leading: n, trailing: r, onClick: i, muted: a = !1 }) {
|
|
5544
|
-
let o = !!i, s = r === void 0 ? o ? /* @__PURE__ */ m(
|
|
5544
|
+
let o = !!i, s = r === void 0 ? o ? /* @__PURE__ */ m(W, {}) : null : r, c = /* @__PURE__ */ h(p, { children: [
|
|
5545
5545
|
n && /* @__PURE__ */ m("span", {
|
|
5546
5546
|
className: "select-optionrow__leading",
|
|
5547
5547
|
children: n
|
|
@@ -5595,46 +5595,46 @@ var Ci = r(function({ email: e, onSignOut: t, signOutLabel: n = "Sair", prefix:
|
|
|
5595
5595
|
children: n
|
|
5596
5596
|
})]
|
|
5597
5597
|
});
|
|
5598
|
-
}), wi = r(function({ value: e, onChange: t, length: n = 6, onComplete: r, autoFocus: i = !1, disabled: a = !1,
|
|
5599
|
-
let
|
|
5598
|
+
}), wi = r(function({ value: e, onChange: t, length: n = 6, onComplete: r, autoFocus: i = !1, disabled: a = !1, error: o = !1, className: s, ...c }, l) {
|
|
5599
|
+
let d = u([]), f = Array.from({ length: n }, (t, n) => e[n] ?? ""), p = (e) => {
|
|
5600
5600
|
var t;
|
|
5601
|
-
return (t =
|
|
5602
|
-
},
|
|
5603
|
-
let i =
|
|
5601
|
+
return (t = d.current[e]) == null ? void 0 : t.focus();
|
|
5602
|
+
}, h = (e, r) => {
|
|
5603
|
+
let i = f.slice();
|
|
5604
5604
|
i[e] = r;
|
|
5605
5605
|
let a = i.join("").slice(0, n);
|
|
5606
5606
|
return t(a), a;
|
|
5607
|
-
},
|
|
5607
|
+
}, g = (e, t) => {
|
|
5608
5608
|
let i = t.replace(/\D/g, "");
|
|
5609
5609
|
if (!i) {
|
|
5610
|
-
|
|
5610
|
+
h(e, "");
|
|
5611
5611
|
return;
|
|
5612
5612
|
}
|
|
5613
5613
|
if (i.length === 1) {
|
|
5614
|
-
let t =
|
|
5615
|
-
e < n - 1 &&
|
|
5616
|
-
} else
|
|
5617
|
-
},
|
|
5618
|
-
let a =
|
|
5614
|
+
let t = h(e, i);
|
|
5615
|
+
e < n - 1 && p(e + 1), t.length === n && (r == null || r(t));
|
|
5616
|
+
} else _(i, e);
|
|
5617
|
+
}, _ = (e, i) => {
|
|
5618
|
+
let a = f.slice();
|
|
5619
5619
|
for (let t = 0; t < e.length && i + t < n; t++) a[i + t] = e[t] ?? "";
|
|
5620
5620
|
let o = a.join("").slice(0, n);
|
|
5621
5621
|
t(o);
|
|
5622
5622
|
let s = Math.min(i + e.length, n) - 1;
|
|
5623
|
-
|
|
5624
|
-
}, _ = (e, t) => {
|
|
5625
|
-
t.key === "Backspace" && !d[e] && e > 0 ? (t.preventDefault(), p(e - 1, ""), f(e - 1)) : t.key === "ArrowLeft" && e > 0 ? (t.preventDefault(), f(e - 1)) : t.key === "ArrowRight" && e < n - 1 && (t.preventDefault(), f(e + 1));
|
|
5623
|
+
p(Math.min(s + 1, n - 1)), o.length === n && (r == null || r(o));
|
|
5626
5624
|
}, v = (e, t) => {
|
|
5625
|
+
t.key === "Backspace" && !f[e] && e > 0 ? (t.preventDefault(), h(e - 1, ""), p(e - 1)) : t.key === "ArrowLeft" && e > 0 ? (t.preventDefault(), p(e - 1)) : t.key === "ArrowRight" && e < n - 1 && (t.preventDefault(), p(e + 1));
|
|
5626
|
+
}, y = (e, t) => {
|
|
5627
5627
|
t.preventDefault();
|
|
5628
5628
|
let n = t.clipboardData.getData("text").replace(/\D/g, "");
|
|
5629
|
-
n &&
|
|
5629
|
+
n && _(n, e);
|
|
5630
5630
|
};
|
|
5631
5631
|
return /* @__PURE__ */ m("div", {
|
|
5632
|
-
ref:
|
|
5633
|
-
...
|
|
5634
|
-
className: `select-otp${o ? " " +
|
|
5635
|
-
children:
|
|
5632
|
+
ref: l,
|
|
5633
|
+
...c,
|
|
5634
|
+
className: `select-otp${o ? " select-otp--error" : ""}${s ? " " + s : ""}`,
|
|
5635
|
+
children: f.map((e, t) => /* @__PURE__ */ m("input", {
|
|
5636
5636
|
ref: (e) => {
|
|
5637
|
-
|
|
5637
|
+
d.current[t] = e;
|
|
5638
5638
|
},
|
|
5639
5639
|
className: "select-otp__box",
|
|
5640
5640
|
type: "text",
|
|
@@ -5645,9 +5645,10 @@ var Ci = r(function({ email: e, onSignOut: t, signOutLabel: n = "Sair", prefix:
|
|
|
5645
5645
|
disabled: a,
|
|
5646
5646
|
autoFocus: i && t === 0,
|
|
5647
5647
|
"aria-label": `Dígito ${t + 1}`,
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5648
|
+
"aria-invalid": o || void 0,
|
|
5649
|
+
onChange: (e) => g(t, e.target.value),
|
|
5650
|
+
onKeyDown: (e) => v(t, e),
|
|
5651
|
+
onPaste: (e) => y(t, e)
|
|
5651
5652
|
}, t))
|
|
5652
5653
|
});
|
|
5653
5654
|
}), Ti = /* @__PURE__ */ new Set([
|
|
@@ -5665,7 +5666,7 @@ function Ei(e) {
|
|
|
5665
5666
|
//#endregion
|
|
5666
5667
|
//#region src/SelectBackLink.tsx
|
|
5667
5668
|
function Di({ children: e = "Voltar", onClick: t, href: n }) {
|
|
5668
|
-
let r = /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(
|
|
5669
|
+
let r = /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(K, {}), /* @__PURE__ */ m("span", { children: e })] }), i = Ei(n);
|
|
5669
5670
|
return i ? /* @__PURE__ */ m("a", {
|
|
5670
5671
|
className: "select-backlink",
|
|
5671
5672
|
href: i,
|
|
@@ -5749,7 +5750,7 @@ function Ai({ phase: e, nextAttemptAt: t, waitMs: n, attempt: r = 0, mark: i, ac
|
|
|
5749
5750
|
e === "done" && /* @__PURE__ */ m("span", {
|
|
5750
5751
|
className: "select-retry__check",
|
|
5751
5752
|
"aria-hidden": "true",
|
|
5752
|
-
children: /* @__PURE__ */ m(
|
|
5753
|
+
children: /* @__PURE__ */ m(Be, {})
|
|
5753
5754
|
}),
|
|
5754
5755
|
/* @__PURE__ */ m("span", {
|
|
5755
5756
|
className: "select-retry__label",
|
|
@@ -5834,7 +5835,7 @@ var Pi = r(function({ value: e, rules: t, className: n, ...r }, i) {
|
|
|
5834
5835
|
/* @__PURE__ */ m("span", {
|
|
5835
5836
|
className: "select-strength__mark",
|
|
5836
5837
|
"aria-hidden": "true",
|
|
5837
|
-
children: e.met && /* @__PURE__ */ m(
|
|
5838
|
+
children: e.met && /* @__PURE__ */ m(Be, {})
|
|
5838
5839
|
}),
|
|
5839
5840
|
e.label,
|
|
5840
5841
|
/* @__PURE__ */ m("span", {
|
|
@@ -5885,7 +5886,7 @@ var Pi = r(function({ value: e, rules: t, className: n, ...r }, i) {
|
|
|
5885
5886
|
className: "select-page__back",
|
|
5886
5887
|
onClick: a.onAction,
|
|
5887
5888
|
"aria-label": a.content ?? "Voltar",
|
|
5888
|
-
children: /* @__PURE__ */ m(
|
|
5889
|
+
children: /* @__PURE__ */ m(K, {})
|
|
5889
5890
|
}), /* @__PURE__ */ h("div", {
|
|
5890
5891
|
className: "select-page__head",
|
|
5891
5892
|
children: [e && /* @__PURE__ */ m("h1", {
|
|
@@ -6008,7 +6009,7 @@ function Ji({ source: e, children: t, tone: n = "inherit", size: r = "md" }) {
|
|
|
6008
6009
|
//#endregion
|
|
6009
6010
|
//#region src/SelectNote.tsx
|
|
6010
6011
|
var Yi = r(function({ children: e, tone: t = "neutral", hideIcon: n = !1, icon: r, title: i, className: a, ...o }, s) {
|
|
6011
|
-
let c = r ?? m(t === "warning" || t === "critical" ?
|
|
6012
|
+
let c = r ?? m(t === "warning" || t === "critical" ? be : ve, {});
|
|
6012
6013
|
return /* @__PURE__ */ h("div", {
|
|
6013
6014
|
ref: s,
|
|
6014
6015
|
...o,
|
|
@@ -6125,7 +6126,7 @@ var Yi = r(function({ children: e, tone: t = "neutral", hideIcon: n = !1, icon:
|
|
|
6125
6126
|
}), /* @__PURE__ */ m("span", {
|
|
6126
6127
|
className: "select-section__chevron",
|
|
6127
6128
|
"aria-hidden": "true",
|
|
6128
|
-
children: /* @__PURE__ */ m(
|
|
6129
|
+
children: /* @__PURE__ */ m(G, {})
|
|
6129
6130
|
})]
|
|
6130
6131
|
}), /* @__PURE__ */ m("div", {
|
|
6131
6132
|
className: "select-section__collapse",
|
|
@@ -6149,7 +6150,7 @@ var Yi = r(function({ children: e, tone: t = "neutral", hideIcon: n = !1, icon:
|
|
|
6149
6150
|
className: "select-section__heading",
|
|
6150
6151
|
children: [e && /* @__PURE__ */ h("h2", {
|
|
6151
6152
|
className: `select-section__title${t == null ? "" : " select-section__title--help"}`,
|
|
6152
|
-
children: [e, t != null && /* @__PURE__ */ m(
|
|
6153
|
+
children: [e, t != null && /* @__PURE__ */ m(Ut, { content: t })]
|
|
6153
6154
|
}), n && /* @__PURE__ */ m("p", {
|
|
6154
6155
|
className: "select-section__desc",
|
|
6155
6156
|
children: n
|
|
@@ -6259,7 +6260,7 @@ function na({ item: e, active: t, onSelect: n }) {
|
|
|
6259
6260
|
!r && /* @__PURE__ */ m("span", {
|
|
6260
6261
|
className: "select-sidenav__chevron",
|
|
6261
6262
|
"aria-hidden": "true",
|
|
6262
|
-
children: /* @__PURE__ */ m(
|
|
6263
|
+
children: /* @__PURE__ */ m(G, {})
|
|
6263
6264
|
})
|
|
6264
6265
|
]
|
|
6265
6266
|
}), /* @__PURE__ */ m("div", {
|
|
@@ -6334,7 +6335,7 @@ function ia({ item: e, active: t, onSelect: n, tabbable: r }) {
|
|
|
6334
6335
|
/* @__PURE__ */ m("span", {
|
|
6335
6336
|
className: "select-sidenav__chevron",
|
|
6336
6337
|
"aria-hidden": "true",
|
|
6337
|
-
children: /* @__PURE__ */ m(
|
|
6338
|
+
children: /* @__PURE__ */ m(G, {})
|
|
6338
6339
|
})
|
|
6339
6340
|
]
|
|
6340
6341
|
}), /* @__PURE__ */ m("div", {
|
|
@@ -6402,7 +6403,7 @@ var aa = r(function({ sections: e, active: t, onSelect: n, header: r, className:
|
|
|
6402
6403
|
/* @__PURE__ */ m("span", {
|
|
6403
6404
|
className: "select-search__icon",
|
|
6404
6405
|
"aria-hidden": "true",
|
|
6405
|
-
children: /* @__PURE__ */ m(
|
|
6406
|
+
children: /* @__PURE__ */ m(ae, {})
|
|
6406
6407
|
}),
|
|
6407
6408
|
/* @__PURE__ */ m("input", {
|
|
6408
6409
|
className: "select-search__input",
|
|
@@ -6458,7 +6459,7 @@ var la = r(function({ page: e, pageCount: t, total: n, pageSize: r, hasPrevious:
|
|
|
6458
6459
|
onClick: _,
|
|
6459
6460
|
disabled: !p || !_,
|
|
6460
6461
|
"aria-label": "Página anterior",
|
|
6461
|
-
children: /* @__PURE__ */ m(
|
|
6462
|
+
children: /* @__PURE__ */ m(ie, {})
|
|
6462
6463
|
}),
|
|
6463
6464
|
y ? b.map((t, n) => t === "gap" ? /* @__PURE__ */ m("span", {
|
|
6464
6465
|
className: "select-pagination__gap",
|
|
@@ -6480,7 +6481,7 @@ var la = r(function({ page: e, pageCount: t, total: n, pageSize: r, hasPrevious:
|
|
|
6480
6481
|
onClick: v,
|
|
6481
6482
|
disabled: !g || !v,
|
|
6482
6483
|
"aria-label": "Próxima página",
|
|
6483
|
-
children: /* @__PURE__ */ m(
|
|
6484
|
+
children: /* @__PURE__ */ m(W, {})
|
|
6484
6485
|
})
|
|
6485
6486
|
]
|
|
6486
6487
|
}), x != null && /* @__PURE__ */ m("p", {
|
|
@@ -6528,13 +6529,13 @@ function da({ title: e, help: t, description: n, action: r, filters: i, tools: a
|
|
|
6528
6529
|
}), /* @__PURE__ */ m("span", {
|
|
6529
6530
|
className: "select-table__chevron",
|
|
6530
6531
|
"aria-hidden": "true",
|
|
6531
|
-
children: /* @__PURE__ */ m(
|
|
6532
|
+
children: /* @__PURE__ */ m(G, {})
|
|
6532
6533
|
})]
|
|
6533
6534
|
}) : l && /* @__PURE__ */ h("div", {
|
|
6534
6535
|
className: "select-table__heading",
|
|
6535
6536
|
children: [e != null && /* @__PURE__ */ h("h3", {
|
|
6536
6537
|
className: `select-table__titletext${t == null ? "" : " select-table__titletext--help"}`,
|
|
6537
|
-
children: [e, t != null && /* @__PURE__ */ m(
|
|
6538
|
+
children: [e, t != null && /* @__PURE__ */ m(Ut, { content: t })]
|
|
6538
6539
|
}), n != null && /* @__PURE__ */ m("p", {
|
|
6539
6540
|
className: "select-table__desc",
|
|
6540
6541
|
children: n
|
|
@@ -6569,7 +6570,7 @@ function pa({ pagination: e }) {
|
|
|
6569
6570
|
className: "select-datatable__pagination",
|
|
6570
6571
|
children: [i && e.onPageSizeChange && /* @__PURE__ */ m("div", {
|
|
6571
6572
|
className: "select-datatable__pagesize",
|
|
6572
|
-
children: /* @__PURE__ */ m(
|
|
6573
|
+
children: /* @__PURE__ */ m(Pn, {
|
|
6573
6574
|
active: t,
|
|
6574
6575
|
onClose: () => n(!1),
|
|
6575
6576
|
placement: "top-start",
|
|
@@ -6586,7 +6587,7 @@ function pa({ pagination: e }) {
|
|
|
6586
6587
|
}), /* @__PURE__ */ m("span", {
|
|
6587
6588
|
className: `select-facet__caret${t ? " is-open" : ""}`,
|
|
6588
6589
|
"aria-hidden": "true",
|
|
6589
|
-
children: /* @__PURE__ */ m(
|
|
6590
|
+
children: /* @__PURE__ */ m(G, {})
|
|
6590
6591
|
})]
|
|
6591
6592
|
}),
|
|
6592
6593
|
children: /* @__PURE__ */ m("div", {
|
|
@@ -6608,7 +6609,7 @@ function pa({ pagination: e }) {
|
|
|
6608
6609
|
children: [/* @__PURE__ */ h("span", { children: [t, " por página"] }), r && /* @__PURE__ */ m("span", {
|
|
6609
6610
|
className: "select-facet__check",
|
|
6610
6611
|
"aria-hidden": "true",
|
|
6611
|
-
children: /* @__PURE__ */ m(
|
|
6612
|
+
children: /* @__PURE__ */ m(Be, {})
|
|
6612
6613
|
})]
|
|
6613
6614
|
}, t);
|
|
6614
6615
|
})
|
|
@@ -6647,7 +6648,7 @@ var va = r(function({ columns: t, children: n, empty: r, footer: a, title: o, he
|
|
|
6647
6648
|
action: p,
|
|
6648
6649
|
filters: g,
|
|
6649
6650
|
tools: _
|
|
6650
|
-
}), N = A && !M && !j, P =
|
|
6651
|
+
}), N = A && !M && !j, P = Dn({
|
|
6651
6652
|
selector: ".select-table__row",
|
|
6652
6653
|
y: 8,
|
|
6653
6654
|
duration: .45,
|
|
@@ -6728,7 +6729,7 @@ var va = r(function({ columns: t, children: n, empty: r, footer: a, title: o, he
|
|
|
6728
6729
|
type: "button",
|
|
6729
6730
|
className: `select-table__sortbtn${e.sortDir === "asc" ? " select-table__sortbtn--asc" : ""}${e.sortDir == null ? "" : " select-table__sortbtn--active"}`,
|
|
6730
6731
|
onClick: e.onSort,
|
|
6731
|
-
children: [e.label, /* @__PURE__ */ m(
|
|
6732
|
+
children: [e.label, /* @__PURE__ */ m(G, {})]
|
|
6732
6733
|
}) : e.label, v && e.resizable !== !1 && n < t.length - 1 && /* @__PURE__ */ m("span", {
|
|
6733
6734
|
role: "separator",
|
|
6734
6735
|
"aria-orientation": "vertical",
|
|
@@ -6822,7 +6823,7 @@ var Sa = r(function({ children: e, align: t = "start", disclosure: n, className:
|
|
|
6822
6823
|
children: [n ? /* @__PURE__ */ m("span", {
|
|
6823
6824
|
className: `select-table__disclosure${n === "open" ? " is-open" : ""}`,
|
|
6824
6825
|
"aria-hidden": "true",
|
|
6825
|
-
children: n !== "none" && /* @__PURE__ */ m(
|
|
6826
|
+
children: n !== "none" && /* @__PURE__ */ m(W, {})
|
|
6826
6827
|
}) : null, e]
|
|
6827
6828
|
});
|
|
6828
6829
|
}), Ca = r(function({ icon: e, title: t, subtitle: n, action: r, className: i, ...a }, o) {
|
|
@@ -6897,7 +6898,7 @@ var Ea = r(function({ children: e, description: t, icon: n, trailing: r, onClick
|
|
|
6897
6898
|
]
|
|
6898
6899
|
});
|
|
6899
6900
|
}), Da = r(function({ children: e, description: t, href: n, icon: r, trailing: i, external: a, tone: o = "default", className: s, ...c }, l) {
|
|
6900
|
-
let u = Ei(n), d = a ?? /^(https?:|mailto:|tel:)/i.test(u ?? ""), f = i ?? (d ? /* @__PURE__ */ m(
|
|
6901
|
+
let u = Ei(n), d = a ?? /^(https?:|mailto:|tel:)/i.test(u ?? ""), f = i ?? (d ? /* @__PURE__ */ m(J, {}) : void 0);
|
|
6901
6902
|
return /* @__PURE__ */ h("a", {
|
|
6902
6903
|
ref: l,
|
|
6903
6904
|
...c,
|
|
@@ -6946,7 +6947,7 @@ var Aa = r(function({ children: e, onClick: t, active: n = !1, className: r, ...
|
|
|
6946
6947
|
children: [/* @__PURE__ */ m("span", { children: e }), /* @__PURE__ */ m("span", {
|
|
6947
6948
|
className: "select-menubtn__caret",
|
|
6948
6949
|
"aria-hidden": "true",
|
|
6949
|
-
children: /* @__PURE__ */ m(
|
|
6950
|
+
children: /* @__PURE__ */ m(G, {})
|
|
6950
6951
|
})]
|
|
6951
6952
|
});
|
|
6952
6953
|
}), ja = r(function({ children: e, onClick: t, active: n = !1, className: r, ...i }, a) {
|
|
@@ -6959,7 +6960,7 @@ var Aa = r(function({ children: e, onClick: t, active: n = !1, className: r, ...
|
|
|
6959
6960
|
children: [!n && /* @__PURE__ */ m("span", {
|
|
6960
6961
|
className: "select-chip__icon",
|
|
6961
6962
|
"aria-hidden": "true",
|
|
6962
|
-
children: /* @__PURE__ */ m(
|
|
6963
|
+
children: /* @__PURE__ */ m(je, {})
|
|
6963
6964
|
}), e]
|
|
6964
6965
|
});
|
|
6965
6966
|
}), Ma = r(function({ label: e, value: t, href: n, onCopy: r, className: i, ...a }, o) {
|
|
@@ -6989,10 +6990,10 @@ var Aa = r(function({ children: e, onClick: t, active: n = !1, className: r, ...
|
|
|
6989
6990
|
rel: "noreferrer",
|
|
6990
6991
|
"aria-label": "Abrir",
|
|
6991
6992
|
title: "Abrir",
|
|
6992
|
-
children: /* @__PURE__ */ m(
|
|
6993
|
-
}), /* @__PURE__ */ m(
|
|
6993
|
+
children: /* @__PURE__ */ m(J, {})
|
|
6994
|
+
}), /* @__PURE__ */ m(Mr, {
|
|
6994
6995
|
size: "sm",
|
|
6995
|
-
icon: m(s ?
|
|
6996
|
+
icon: m(s ? Be : se, {}),
|
|
6996
6997
|
label: s ? "Copiado" : "Copiar",
|
|
6997
6998
|
onClick: u
|
|
6998
6999
|
})]
|
|
@@ -7032,9 +7033,9 @@ var Pa = r(function({ value: e, label: t, pretty: n = !1, maxHeight: r = 14, cop
|
|
|
7032
7033
|
children: p
|
|
7033
7034
|
}), i && /* @__PURE__ */ m("span", {
|
|
7034
7035
|
className: "select-codeblock__copy",
|
|
7035
|
-
children: /* @__PURE__ */ m(
|
|
7036
|
+
children: /* @__PURE__ */ m(Mr, {
|
|
7036
7037
|
size: "sm",
|
|
7037
|
-
icon: m(u ?
|
|
7038
|
+
icon: m(u ? Be : se, {}),
|
|
7038
7039
|
label: u ? "Copiado" : "Copiar",
|
|
7039
7040
|
onClick: g
|
|
7040
7041
|
})
|
|
@@ -7058,7 +7059,7 @@ function Fa({ value: e, children: t, truncate: n, label: r, fallback: i = "—",
|
|
|
7058
7059
|
}) : /* @__PURE__ */ m("span", {
|
|
7059
7060
|
className: "select-copyid__text",
|
|
7060
7061
|
children: g
|
|
7061
|
-
}), /* @__PURE__ */ m(
|
|
7062
|
+
}), /* @__PURE__ */ m(Ht, {
|
|
7062
7063
|
content: u ? "Copiado" : l,
|
|
7063
7064
|
children: /* @__PURE__ */ m("button", {
|
|
7064
7065
|
type: "button",
|
|
@@ -7069,7 +7070,7 @@ function Fa({ value: e, children: t, truncate: n, label: r, fallback: i = "—",
|
|
|
7069
7070
|
});
|
|
7070
7071
|
},
|
|
7071
7072
|
"aria-label": u ? "Copiado" : l,
|
|
7072
|
-
children: m(u ?
|
|
7073
|
+
children: m(u ? Be : se, {})
|
|
7073
7074
|
})
|
|
7074
7075
|
})]
|
|
7075
7076
|
});
|
|
@@ -7093,7 +7094,7 @@ var Ia = r(function({ title: e, children: t, defaultOpen: n = !1, plain: r = !1,
|
|
|
7093
7094
|
}), /* @__PURE__ */ m("span", {
|
|
7094
7095
|
className: "select-collapsible__chevron",
|
|
7095
7096
|
"aria-hidden": "true",
|
|
7096
|
-
children: /* @__PURE__ */ m(
|
|
7097
|
+
children: /* @__PURE__ */ m(G, {})
|
|
7097
7098
|
})]
|
|
7098
7099
|
}), /* @__PURE__ */ m("div", {
|
|
7099
7100
|
className: "select-collapsible__bodywrap",
|
|
@@ -7115,9 +7116,9 @@ var Ia = r(function({ title: e, children: t, defaultOpen: n = !1, plain: r = !1,
|
|
|
7115
7116
|
children: [
|
|
7116
7117
|
i && /* @__PURE__ */ m("div", {
|
|
7117
7118
|
className: "select-actioncard__dismiss",
|
|
7118
|
-
children: /* @__PURE__ */ m(
|
|
7119
|
+
children: /* @__PURE__ */ m(Mr, {
|
|
7119
7120
|
size: "sm",
|
|
7120
|
-
icon: /* @__PURE__ */ m(
|
|
7121
|
+
icon: /* @__PURE__ */ m(ce, {}),
|
|
7121
7122
|
label: "Dispensar",
|
|
7122
7123
|
onClick: i
|
|
7123
7124
|
})
|
|
@@ -7189,7 +7190,7 @@ var Ia = r(function({ title: e, children: t, defaultOpen: n = !1, plain: r = !1,
|
|
|
7189
7190
|
children: [/* @__PURE__ */ m("span", {
|
|
7190
7191
|
className: "select-tile__plus",
|
|
7191
7192
|
"aria-hidden": "true",
|
|
7192
|
-
children: /* @__PURE__ */ m(
|
|
7193
|
+
children: /* @__PURE__ */ m(je, {})
|
|
7193
7194
|
}), /* @__PURE__ */ m("span", {
|
|
7194
7195
|
className: "select-tile__createlabel",
|
|
7195
7196
|
children: e
|
|
@@ -7216,7 +7217,7 @@ var Ia = r(function({ title: e, children: t, defaultOpen: n = !1, plain: r = !1,
|
|
|
7216
7217
|
/* @__PURE__ */ m("span", {
|
|
7217
7218
|
className: "select-wsswitcher__selector",
|
|
7218
7219
|
"aria-hidden": "true",
|
|
7219
|
-
children: /* @__PURE__ */ m(
|
|
7220
|
+
children: /* @__PURE__ */ m(_e, {})
|
|
7220
7221
|
})
|
|
7221
7222
|
]
|
|
7222
7223
|
});
|
|
@@ -7248,7 +7249,7 @@ function Ha({ open: e, onClose: t, title: n, subtitle: r, children: i, footer: a
|
|
|
7248
7249
|
className: "select-modal__close",
|
|
7249
7250
|
"aria-label": "Fechar",
|
|
7250
7251
|
onClick: t,
|
|
7251
|
-
children: /* @__PURE__ */ m(
|
|
7252
|
+
children: /* @__PURE__ */ m(ce, {})
|
|
7252
7253
|
}), T = `select-modal__header${f ? " select-modal__header--divided" : ""}`;
|
|
7253
7254
|
return g(/* @__PURE__ */ m("div", {
|
|
7254
7255
|
className: `select select-modal__overlay${y === "side" ? " select-modal__overlay--side" : ""}${u ? " select-modal__overlay--noise" : ""}${_ === "blur" ? " select-modal__overlay--blur" : ""}${S ? " select-modal__overlay--closing" : ""}`,
|
|
@@ -7309,19 +7310,19 @@ function Ha({ open: e, onClose: t, title: n, subtitle: r, children: i, footer: a
|
|
|
7309
7310
|
//#region src/SelectRowActions.tsx
|
|
7310
7311
|
function Ua({ actions: e, label: t = "Ações" }) {
|
|
7311
7312
|
let [n, r] = d(!1);
|
|
7312
|
-
return /* @__PURE__ */ m(
|
|
7313
|
+
return /* @__PURE__ */ m(Pn, {
|
|
7313
7314
|
active: n,
|
|
7314
7315
|
onClose: () => r(!1),
|
|
7315
7316
|
placement: "bottom-end",
|
|
7316
|
-
activator: /* @__PURE__ */ m(
|
|
7317
|
-
icon: /* @__PURE__ */ m(
|
|
7317
|
+
activator: /* @__PURE__ */ m(Mr, {
|
|
7318
|
+
icon: /* @__PURE__ */ m(ue, {}),
|
|
7318
7319
|
label: t,
|
|
7319
7320
|
size: "sm",
|
|
7320
7321
|
variant: "outline",
|
|
7321
7322
|
active: n,
|
|
7322
7323
|
onClick: () => r((e) => !e)
|
|
7323
7324
|
}),
|
|
7324
|
-
children: /* @__PURE__ */ m(
|
|
7325
|
+
children: /* @__PURE__ */ m(ur, {
|
|
7325
7326
|
items: e,
|
|
7326
7327
|
onAction: () => r(!1)
|
|
7327
7328
|
})
|
|
@@ -7335,7 +7336,7 @@ function Wa({ open: e, onClose: t, onConfirm: n, title: r, children: i, confirmL
|
|
|
7335
7336
|
onClose: t,
|
|
7336
7337
|
title: r,
|
|
7337
7338
|
size: "sm",
|
|
7338
|
-
theme: l ??
|
|
7339
|
+
theme: l ?? Mn(),
|
|
7339
7340
|
footer: /* @__PURE__ */ h("div", {
|
|
7340
7341
|
className: "select-modal__actions",
|
|
7341
7342
|
children: [/* @__PURE__ */ m(H, {
|
|
@@ -7366,7 +7367,7 @@ function Ga({ open: e, onClose: t, onSubmit: n, title: r, subtitle: i, children:
|
|
|
7366
7367
|
title: r,
|
|
7367
7368
|
subtitle: i,
|
|
7368
7369
|
size: f,
|
|
7369
|
-
theme: p ??
|
|
7370
|
+
theme: p ?? Mn(),
|
|
7370
7371
|
footer: /* @__PURE__ */ h("div", {
|
|
7371
7372
|
className: "select-modal__actions",
|
|
7372
7373
|
children: [/* @__PURE__ */ m(H, {
|
|
@@ -7388,7 +7389,7 @@ function Ga({ open: e, onClose: t, onSubmit: n, title: r, subtitle: i, children:
|
|
|
7388
7389
|
}),
|
|
7389
7390
|
children: [d != null && d !== !1 && /* @__PURE__ */ m("div", {
|
|
7390
7391
|
className: "select-formmodal__error",
|
|
7391
|
-
children: /* @__PURE__ */ m(
|
|
7392
|
+
children: /* @__PURE__ */ m(on, {
|
|
7392
7393
|
tone: "critical",
|
|
7393
7394
|
children: d
|
|
7394
7395
|
})
|
|
@@ -7502,7 +7503,7 @@ function ao({ columns: e, items: t, getId: n, loading: r = !1, empty: i, paginat
|
|
|
7502
7503
|
if (!I || !e) return (e) => e;
|
|
7503
7504
|
let t = I.dir === "asc" ? 1 : -1;
|
|
7504
7505
|
return (n) => [...n].sort((n, r) => io(e(n), e(r), t));
|
|
7505
|
-
}, [I, V]),
|
|
7506
|
+
}, [I, V]), U = l(() => H(t), [t, H]), re = (e) => (_ == null ? void 0 : _(e)) ?? [], W = !!_ && t.some((e) => re(e).length > 0), ie = E ? [{
|
|
7506
7507
|
label: "",
|
|
7507
7508
|
grow: 1
|
|
7508
7509
|
}] : P.map((e) => ({
|
|
@@ -7515,26 +7516,26 @@ function ao({ columns: e, items: t, getId: n, loading: r = !1, empty: i, paginat
|
|
|
7515
7516
|
sortDir: (I == null ? void 0 : I.key) === e.key ? I.dir : null,
|
|
7516
7517
|
onSort: e.sortValue ? () => B(e) : void 0,
|
|
7517
7518
|
resizable: !!e.title
|
|
7518
|
-
})),
|
|
7519
|
+
})), G = (e, t) => {
|
|
7519
7520
|
let n = P[e];
|
|
7520
7521
|
n && k((e) => {
|
|
7521
7522
|
let r = { ...e };
|
|
7522
7523
|
return t ? r[n.key] = t : delete r[n.key], g && to(g, r), r;
|
|
7523
7524
|
});
|
|
7524
|
-
},
|
|
7525
|
+
}, K = () => {
|
|
7525
7526
|
k({}), g && to(g, {});
|
|
7526
|
-
},
|
|
7527
|
+
}, q = Object.keys(O).length > 0, ae = !r && i ? /* @__PURE__ */ m(Ca, {
|
|
7527
7528
|
icon: i.icon,
|
|
7528
7529
|
title: i.heading,
|
|
7529
7530
|
subtitle: i.text,
|
|
7530
7531
|
action: i.action
|
|
7531
|
-
}) : void 0,
|
|
7532
|
+
}) : void 0, oe = g && j.length > 0 ? /* @__PURE__ */ m(Pn, {
|
|
7532
7533
|
active: w,
|
|
7533
7534
|
onClose: () => T(!1),
|
|
7534
7535
|
placement: "bottom-end",
|
|
7535
7536
|
role: "menu",
|
|
7536
|
-
activator: /* @__PURE__ */ m(
|
|
7537
|
-
icon: /* @__PURE__ */ m(
|
|
7537
|
+
activator: /* @__PURE__ */ m(Mr, {
|
|
7538
|
+
icon: /* @__PURE__ */ m(Xe, {}),
|
|
7538
7539
|
label: "Colunas",
|
|
7539
7540
|
size: "sm",
|
|
7540
7541
|
active: w,
|
|
@@ -7558,11 +7559,11 @@ function ao({ columns: e, items: t, getId: n, loading: r = !1, empty: i, paginat
|
|
|
7558
7559
|
children: [/* @__PURE__ */ m("span", { children: e.title }), t && /* @__PURE__ */ m("span", {
|
|
7559
7560
|
className: "select-facet__check",
|
|
7560
7561
|
"aria-hidden": "true",
|
|
7561
|
-
children: /* @__PURE__ */ m(
|
|
7562
|
+
children: /* @__PURE__ */ m(Be, {})
|
|
7562
7563
|
})]
|
|
7563
7564
|
}, e.key);
|
|
7564
7565
|
})
|
|
7565
|
-
}),
|
|
7566
|
+
}), q && /* @__PURE__ */ m("div", {
|
|
7566
7567
|
className: "select-facet__options select-facet__options--footer",
|
|
7567
7568
|
role: "menu",
|
|
7568
7569
|
children: /* @__PURE__ */ m("button", {
|
|
@@ -7570,7 +7571,7 @@ function ao({ columns: e, items: t, getId: n, loading: r = !1, empty: i, paginat
|
|
|
7570
7571
|
role: "menuitem",
|
|
7571
7572
|
className: "select-facet__opt",
|
|
7572
7573
|
onClick: () => {
|
|
7573
|
-
|
|
7574
|
+
K(), T(!1);
|
|
7574
7575
|
},
|
|
7575
7576
|
children: /* @__PURE__ */ m("span", { children: "Restaurar larguras" })
|
|
7576
7577
|
})
|
|
@@ -7580,18 +7581,18 @@ function ao({ columns: e, items: t, getId: n, loading: r = !1, empty: i, paginat
|
|
|
7580
7581
|
return /* @__PURE__ */ h("div", {
|
|
7581
7582
|
className: "select-datatable",
|
|
7582
7583
|
children: [/* @__PURE__ */ m(va, {
|
|
7583
|
-
columns:
|
|
7584
|
-
empty:
|
|
7584
|
+
columns: ie,
|
|
7585
|
+
empty: ae,
|
|
7585
7586
|
title: s,
|
|
7586
7587
|
help: c,
|
|
7587
7588
|
description: u,
|
|
7588
7589
|
filters: p,
|
|
7589
7590
|
action: f,
|
|
7590
|
-
tools: E ? null :
|
|
7591
|
+
tools: E ? null : oe,
|
|
7591
7592
|
className: E ? "select-table--compact" : void 0,
|
|
7592
|
-
onColumnResize: E ? void 0 : (e, t) =>
|
|
7593
|
-
onColumnResizeReset: E ? void 0 : (e) =>
|
|
7594
|
-
children: E && y ? r ? Array.from({ length: 5 }, (e, t) => /* @__PURE__ */ m(xa, { children: /* @__PURE__ */ m(Sa, { children: /* @__PURE__ */ m("span", { className: "select-skeleton select-datatable__skel" }) }) }, `skeleton-${t}`)) :
|
|
7593
|
+
onColumnResize: E ? void 0 : (e, t) => G(e, t),
|
|
7594
|
+
onColumnResizeReset: E ? void 0 : (e) => G(e, null),
|
|
7595
|
+
children: E && y ? r ? Array.from({ length: 5 }, (e, t) => /* @__PURE__ */ m(xa, { children: /* @__PURE__ */ m(Sa, { children: /* @__PURE__ */ m("span", { className: "select-skeleton select-datatable__skel" }) }) }, `skeleton-${t}`)) : U.map((e) => /* @__PURE__ */ m(xa, {
|
|
7595
7596
|
onClick: x ?? o ? () => (x ?? o)(e) : void 0,
|
|
7596
7597
|
children: /* @__PURE__ */ m(Sa, {
|
|
7597
7598
|
className: D ? "select-table__td--wrap" : void 0,
|
|
@@ -7601,15 +7602,15 @@ function ao({ columns: e, items: t, getId: n, loading: r = !1, empty: i, paginat
|
|
|
7601
7602
|
align: e.align,
|
|
7602
7603
|
width: e.width,
|
|
7603
7604
|
children: /* @__PURE__ */ m("span", { className: "select-skeleton select-datatable__skel" })
|
|
7604
|
-
}, t)) }, `skeleton-${t}`)) :
|
|
7605
|
-
let t =
|
|
7605
|
+
}, t)) }, `skeleton-${t}`)) : U.flatMap((e) => {
|
|
7606
|
+
let t = re(e);
|
|
7606
7607
|
if (t.length === 0) return [/* @__PURE__ */ m(xa, {
|
|
7607
7608
|
onClick: o ? () => o(e) : void 0,
|
|
7608
7609
|
children: P.map((t, n) => /* @__PURE__ */ m(Sa, {
|
|
7609
7610
|
align: t.align,
|
|
7610
7611
|
width: t.width,
|
|
7611
7612
|
className: t.wrap ? "select-table__td--wrap" : void 0,
|
|
7612
|
-
disclosure:
|
|
7613
|
+
disclosure: W && n === 0 ? "none" : void 0,
|
|
7613
7614
|
children: t.render(e)
|
|
7614
7615
|
}, n))
|
|
7615
7616
|
}, n(e))];
|
|
@@ -7650,7 +7651,7 @@ var oo = r(function({ label: e, description: t, onClick: n, icon: r, className:
|
|
|
7650
7651
|
/* @__PURE__ */ m("span", {
|
|
7651
7652
|
className: "select-addcard__glyph",
|
|
7652
7653
|
"aria-hidden": "true",
|
|
7653
|
-
children: r ?? /* @__PURE__ */ m(
|
|
7654
|
+
children: r ?? /* @__PURE__ */ m(je, {})
|
|
7654
7655
|
}),
|
|
7655
7656
|
/* @__PURE__ */ m("span", {
|
|
7656
7657
|
className: "select-addcard__label",
|
|
@@ -7988,9 +7989,9 @@ var Do = new Intl.NumberFormat("pt-BR", {
|
|
|
7988
7989
|
});
|
|
7989
7990
|
function ko() {
|
|
7990
7991
|
let { hidden: e, toggle: t } = wo();
|
|
7991
|
-
return /* @__PURE__ */ m(
|
|
7992
|
+
return /* @__PURE__ */ m(Mr, {
|
|
7992
7993
|
variant: "outline",
|
|
7993
|
-
icon: m(e ?
|
|
7994
|
+
icon: m(e ? He : Ve, {}),
|
|
7994
7995
|
label: e ? "Mostrar valores" : "Ocultar valores",
|
|
7995
7996
|
active: e,
|
|
7996
7997
|
onClick: t
|
|
@@ -8189,7 +8190,7 @@ var Ko = r(function({ label: e, value: t, onChange: n, showTime: r = !1, placeho
|
|
|
8189
8190
|
}), /* @__PURE__ */ m("span", {
|
|
8190
8191
|
className: "select-datefield__icon",
|
|
8191
8192
|
"aria-hidden": "true",
|
|
8192
|
-
children: /* @__PURE__ */ m(
|
|
8193
|
+
children: /* @__PURE__ */ m(nt, {})
|
|
8193
8194
|
})]
|
|
8194
8195
|
});
|
|
8195
8196
|
return /* @__PURE__ */ h("div", {
|
|
@@ -8197,13 +8198,13 @@ var Ko = r(function({ label: e, value: t, onChange: n, showTime: r = !1, placeho
|
|
|
8197
8198
|
...v,
|
|
8198
8199
|
className: `select-field${_ ? " " + _ : ""}`,
|
|
8199
8200
|
children: [
|
|
8200
|
-
e && /* @__PURE__ */ m(
|
|
8201
|
+
e && /* @__PURE__ */ m(Wt, {
|
|
8201
8202
|
htmlFor: x,
|
|
8202
8203
|
label: a ? `${e} *` : e
|
|
8203
8204
|
}),
|
|
8204
8205
|
/* @__PURE__ */ m("div", {
|
|
8205
8206
|
className: "select-datefield",
|
|
8206
|
-
children: /* @__PURE__ */ m(
|
|
8207
|
+
children: /* @__PURE__ */ m(Pn, {
|
|
8207
8208
|
active: S,
|
|
8208
8209
|
onClose: () => C(!1),
|
|
8209
8210
|
placement: "bottom-start",
|
|
@@ -8220,7 +8221,7 @@ var Ko = r(function({ label: e, value: t, onChange: n, showTime: r = !1, placeho
|
|
|
8220
8221
|
className: "select-datepicker__nav",
|
|
8221
8222
|
"aria-label": "Mês anterior",
|
|
8222
8223
|
onClick: () => E((e) => Vo(e, -1)),
|
|
8223
|
-
children: /* @__PURE__ */ m(
|
|
8224
|
+
children: /* @__PURE__ */ m(ie, {})
|
|
8224
8225
|
}),
|
|
8225
8226
|
/* @__PURE__ */ h("span", {
|
|
8226
8227
|
className: "select-datepicker__monthlabel",
|
|
@@ -8235,7 +8236,7 @@ var Ko = r(function({ label: e, value: t, onChange: n, showTime: r = !1, placeho
|
|
|
8235
8236
|
className: "select-datepicker__nav",
|
|
8236
8237
|
"aria-label": "Próximo mês",
|
|
8237
8238
|
onClick: () => E((e) => Vo(e, 1)),
|
|
8238
|
-
children: /* @__PURE__ */ m(
|
|
8239
|
+
children: /* @__PURE__ */ m(W, {})
|
|
8239
8240
|
})
|
|
8240
8241
|
]
|
|
8241
8242
|
}),
|
|
@@ -8328,7 +8329,7 @@ function Xo({ filter: e, value: t, onChange: n, open: r, onToggle: i, onClose: a
|
|
|
8328
8329
|
r || l("");
|
|
8329
8330
|
}, [r]);
|
|
8330
8331
|
let u = t.trim() !== "", f = u ? Yo(e, t) : null, p = u && !!e.error, g = e.options ?? [], _ = g.length > 7, v = _ ? g.filter((e) => e.label.toLowerCase().includes(c.trim().toLowerCase())) : g;
|
|
8331
|
-
return /* @__PURE__ */ h(
|
|
8332
|
+
return /* @__PURE__ */ h(Pn, {
|
|
8332
8333
|
active: r,
|
|
8333
8334
|
onClose: a,
|
|
8334
8335
|
placement: "bottom-start",
|
|
@@ -8346,7 +8347,7 @@ function Xo({ filter: e, value: t, onChange: n, open: r, onToggle: i, onClose: a
|
|
|
8346
8347
|
}), /* @__PURE__ */ m("span", {
|
|
8347
8348
|
className: `select-facet__caret${r ? " is-open" : ""}`,
|
|
8348
8349
|
"aria-hidden": "true",
|
|
8349
|
-
children: /* @__PURE__ */ m(
|
|
8350
|
+
children: /* @__PURE__ */ m(G, {})
|
|
8350
8351
|
})]
|
|
8351
8352
|
}),
|
|
8352
8353
|
children: [
|
|
@@ -8378,7 +8379,7 @@ function Xo({ filter: e, value: t, onChange: n, open: r, onToggle: i, onClose: a
|
|
|
8378
8379
|
children: [/* @__PURE__ */ m("span", { children: e.label }), r && /* @__PURE__ */ m("span", {
|
|
8379
8380
|
className: "select-facet__check",
|
|
8380
8381
|
"aria-hidden": "true",
|
|
8381
|
-
children: /* @__PURE__ */ m(
|
|
8382
|
+
children: /* @__PURE__ */ m(Be, {})
|
|
8382
8383
|
})]
|
|
8383
8384
|
}, e.value);
|
|
8384
8385
|
})
|
|
@@ -8396,7 +8397,7 @@ function Xo({ filter: e, value: t, onChange: n, open: r, onToggle: i, onClose: a
|
|
|
8396
8397
|
onKeyDown: (e) => {
|
|
8397
8398
|
e.key === "Enter" && (e.preventDefault(), a());
|
|
8398
8399
|
},
|
|
8399
|
-
children: /* @__PURE__ */ m(
|
|
8400
|
+
children: /* @__PURE__ */ m(qt, {
|
|
8400
8401
|
type: "text",
|
|
8401
8402
|
value: t,
|
|
8402
8403
|
onChange: n,
|
|
@@ -8443,7 +8444,7 @@ var Zo = r(function({ filters: e, values: t, onChange: n, onClearAll: r, search:
|
|
|
8443
8444
|
/* @__PURE__ */ m("span", {
|
|
8444
8445
|
className: "select-filterbar__query-icon",
|
|
8445
8446
|
"aria-hidden": "true",
|
|
8446
|
-
children: /* @__PURE__ */ m(
|
|
8447
|
+
children: /* @__PURE__ */ m(ae, {})
|
|
8447
8448
|
}),
|
|
8448
8449
|
/* @__PURE__ */ m("input", {
|
|
8449
8450
|
className: "select-filterbar__query-input",
|
|
@@ -8458,7 +8459,7 @@ var Zo = r(function({ filters: e, values: t, onChange: n, onClearAll: r, search:
|
|
|
8458
8459
|
className: "select-filterbar__query-clear",
|
|
8459
8460
|
"aria-label": "Limpar busca",
|
|
8460
8461
|
onClick: () => i.onChange(""),
|
|
8461
|
-
children: /* @__PURE__ */ m(
|
|
8462
|
+
children: /* @__PURE__ */ m(ce, {})
|
|
8462
8463
|
})
|
|
8463
8464
|
]
|
|
8464
8465
|
}),
|
|
@@ -8471,7 +8472,7 @@ var Zo = r(function({ filters: e, values: t, onChange: n, onClearAll: r, search:
|
|
|
8471
8472
|
onClose: () => g((t) => t === e.key ? null : t),
|
|
8472
8473
|
disabled: o
|
|
8473
8474
|
}, e.key)),
|
|
8474
|
-
S.length > 0 && /* @__PURE__ */ m(
|
|
8475
|
+
S.length > 0 && /* @__PURE__ */ m(Pn, {
|
|
8475
8476
|
active: _,
|
|
8476
8477
|
onClose: () => v(!1),
|
|
8477
8478
|
placement: "bottom-start",
|
|
@@ -8484,7 +8485,7 @@ var Zo = r(function({ filters: e, values: t, onChange: n, onClearAll: r, search:
|
|
|
8484
8485
|
children: [/* @__PURE__ */ m("span", {
|
|
8485
8486
|
className: "select-facet__addicon",
|
|
8486
8487
|
"aria-hidden": "true",
|
|
8487
|
-
children: /* @__PURE__ */ m(
|
|
8488
|
+
children: /* @__PURE__ */ m(je, {})
|
|
8488
8489
|
}), "Mais filtros"]
|
|
8489
8490
|
}),
|
|
8490
8491
|
children: /* @__PURE__ */ m("div", {
|
|
@@ -8514,7 +8515,7 @@ var Zo = r(function({ filters: e, values: t, onChange: n, onClearAll: r, search:
|
|
|
8514
8515
|
className: "select-filterbar__tagx",
|
|
8515
8516
|
"aria-label": `Remover filtro ${e.label}`,
|
|
8516
8517
|
onClick: () => n(e.key, ""),
|
|
8517
|
-
children: /* @__PURE__ */ m(
|
|
8518
|
+
children: /* @__PURE__ */ m(ce, {})
|
|
8518
8519
|
})
|
|
8519
8520
|
]
|
|
8520
8521
|
}, e.key)), /* @__PURE__ */ m("button", {
|
|
@@ -8552,10 +8553,10 @@ var Zo = r(function({ filters: e, values: t, onChange: n, onClearAll: r, search:
|
|
|
8552
8553
|
children: [e && /* @__PURE__ */ m("span", {
|
|
8553
8554
|
className: "select-field__label",
|
|
8554
8555
|
children: e
|
|
8555
|
-
}), o != null && o !== "" && /* @__PURE__ */ m(
|
|
8556
|
+
}), o != null && o !== "" && /* @__PURE__ */ m(Ut, { content: o })]
|
|
8556
8557
|
})
|
|
8557
8558
|
}),
|
|
8558
|
-
/* @__PURE__ */ m(
|
|
8559
|
+
/* @__PURE__ */ m(Pn, {
|
|
8559
8560
|
active: _,
|
|
8560
8561
|
onClose: () => {
|
|
8561
8562
|
v(!1), c == null || c();
|
|
@@ -8586,12 +8587,12 @@ var Zo = r(function({ filters: e, values: t, onChange: n, onClearAll: r, search:
|
|
|
8586
8587
|
onClick: (t) => {
|
|
8587
8588
|
t.stopPropagation(), S(e.value);
|
|
8588
8589
|
},
|
|
8589
|
-
children: /* @__PURE__ */ m(
|
|
8590
|
+
children: /* @__PURE__ */ m(ce, {})
|
|
8590
8591
|
})]
|
|
8591
8592
|
}, e.value)), /* @__PURE__ */ m("span", {
|
|
8592
8593
|
className: "select-tagselect__caret",
|
|
8593
8594
|
"aria-hidden": "true",
|
|
8594
|
-
children: /* @__PURE__ */ m(
|
|
8595
|
+
children: /* @__PURE__ */ m(G, {})
|
|
8595
8596
|
})]
|
|
8596
8597
|
}),
|
|
8597
8598
|
children: /* @__PURE__ */ h("div", {
|
|
@@ -8634,7 +8635,7 @@ var Zo = r(function({ filters: e, values: t, onChange: n, onClearAll: r, search:
|
|
|
8634
8635
|
t && /* @__PURE__ */ m("span", {
|
|
8635
8636
|
className: "select-tagselect__check",
|
|
8636
8637
|
"aria-hidden": "true",
|
|
8637
|
-
children: /* @__PURE__ */ m(
|
|
8638
|
+
children: /* @__PURE__ */ m(Be, {})
|
|
8638
8639
|
})
|
|
8639
8640
|
]
|
|
8640
8641
|
}, e.value);
|
|
@@ -8748,7 +8749,7 @@ function os({ children: e }) {
|
|
|
8748
8749
|
className: "select-toast__close",
|
|
8749
8750
|
"aria-label": "Fechar",
|
|
8750
8751
|
onClick: () => c(e.id),
|
|
8751
|
-
children: /* @__PURE__ */ m(
|
|
8752
|
+
children: /* @__PURE__ */ m(ce, {})
|
|
8752
8753
|
})]
|
|
8753
8754
|
}, e.id);
|
|
8754
8755
|
})
|
|
@@ -8805,22 +8806,22 @@ var cs = "allow-scripts allow-same-origin allow-forms", ls = 390, us = 1280, ds
|
|
|
8805
8806
|
/* @__PURE__ */ h("div", {
|
|
8806
8807
|
className: "select-preview__actions",
|
|
8807
8808
|
children: [
|
|
8808
|
-
o && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(
|
|
8809
|
+
o && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(Mr, {
|
|
8809
8810
|
size: "sm",
|
|
8810
|
-
icon: /* @__PURE__ */ m(
|
|
8811
|
+
icon: /* @__PURE__ */ m(Oe, {}),
|
|
8811
8812
|
label: "Visualizar em desktop",
|
|
8812
8813
|
active: S === "desktop",
|
|
8813
8814
|
onClick: () => C("desktop")
|
|
8814
|
-
}), /* @__PURE__ */ m(
|
|
8815
|
+
}), /* @__PURE__ */ m(Mr, {
|
|
8815
8816
|
size: "sm",
|
|
8816
|
-
icon: /* @__PURE__ */ m(
|
|
8817
|
+
icon: /* @__PURE__ */ m(ke, {}),
|
|
8817
8818
|
label: "Visualizar em mobile",
|
|
8818
8819
|
active: S === "mobile",
|
|
8819
8820
|
onClick: () => C("mobile")
|
|
8820
8821
|
})] }),
|
|
8821
|
-
/* @__PURE__ */ m(
|
|
8822
|
+
/* @__PURE__ */ m(Mr, {
|
|
8822
8823
|
size: "sm",
|
|
8823
|
-
icon: /* @__PURE__ */ m(
|
|
8824
|
+
icon: /* @__PURE__ */ m(Ae, {}),
|
|
8824
8825
|
label: "Recarregar",
|
|
8825
8826
|
onClick: P,
|
|
8826
8827
|
disabled: !x
|
|
@@ -8832,7 +8833,7 @@ var cs = "allow-scripts allow-same-origin allow-forms", ls = 390, us = 1280, ds
|
|
|
8832
8833
|
rel: "noreferrer",
|
|
8833
8834
|
"aria-label": "Abrir em nova aba",
|
|
8834
8835
|
title: "Abrir em nova aba",
|
|
8835
|
-
children: /* @__PURE__ */ m(
|
|
8836
|
+
children: /* @__PURE__ */ m(J, {})
|
|
8836
8837
|
})
|
|
8837
8838
|
]
|
|
8838
8839
|
})
|
|
@@ -8901,7 +8902,7 @@ var cs = "allow-scripts allow-same-origin allow-forms", ls = 390, us = 1280, ds
|
|
|
8901
8902
|
}),
|
|
8902
8903
|
o != null && !l && /* @__PURE__ */ h("span", {
|
|
8903
8904
|
className: "select-balance-hero__updated",
|
|
8904
|
-
children: [/* @__PURE__ */ m(
|
|
8905
|
+
children: [/* @__PURE__ */ m(de, {}), o]
|
|
8905
8906
|
})
|
|
8906
8907
|
]
|
|
8907
8908
|
}),
|
|
@@ -9110,7 +9111,7 @@ var cs = "allow-scripts allow-same-origin allow-forms", ls = 390, us = 1280, ds
|
|
|
9110
9111
|
children: [i == null ? e : /* @__PURE__ */ m("span", {
|
|
9111
9112
|
className: "select-kpi__labeltext",
|
|
9112
9113
|
children: e
|
|
9113
|
-
}), i != null && /* @__PURE__ */ m(
|
|
9114
|
+
}), i != null && /* @__PURE__ */ m(Ut, {
|
|
9114
9115
|
content: i,
|
|
9115
9116
|
placement: "top-end"
|
|
9116
9117
|
})]
|
|
@@ -9287,7 +9288,7 @@ function Ss(e) {
|
|
|
9287
9288
|
return e.type === "table" || e.type === "items" || e.type === "text";
|
|
9288
9289
|
}
|
|
9289
9290
|
function Cs({ children: e }) {
|
|
9290
|
-
return /* @__PURE__ */ m(
|
|
9291
|
+
return /* @__PURE__ */ m(br, {
|
|
9291
9292
|
background: "surface-secondary",
|
|
9292
9293
|
borderRadius: "lg",
|
|
9293
9294
|
padding: "300",
|
|
@@ -9321,26 +9322,26 @@ function ws({ block: e, renderItem: t }) {
|
|
|
9321
9322
|
return /* @__PURE__ */ m(Sa, { children: ((n = t[e.key]) == null ? void 0 : n.display) ?? "—" }, e.key);
|
|
9322
9323
|
}) }, n))
|
|
9323
9324
|
});
|
|
9324
|
-
case "items": return /* @__PURE__ */ h(
|
|
9325
|
+
case "items": return /* @__PURE__ */ h(hr, {
|
|
9325
9326
|
gap: "200",
|
|
9326
|
-
children: [/* @__PURE__ */ m(
|
|
9327
|
+
children: [/* @__PURE__ */ m(xr, {
|
|
9327
9328
|
variant: "headingSm",
|
|
9328
9329
|
as: "h4",
|
|
9329
9330
|
children: e.title
|
|
9330
|
-
}), /* @__PURE__ */ m(
|
|
9331
|
+
}), /* @__PURE__ */ m(hr, {
|
|
9331
9332
|
gap: "100",
|
|
9332
9333
|
as: "ul",
|
|
9333
9334
|
className: "select-insight__items",
|
|
9334
|
-
children: e.items.map((e, n) => /* @__PURE__ */ h(
|
|
9335
|
+
children: e.items.map((e, n) => /* @__PURE__ */ h(gr, {
|
|
9335
9336
|
as: "li",
|
|
9336
9337
|
gap: "300",
|
|
9337
9338
|
align: "space-between",
|
|
9338
9339
|
wrap: !1,
|
|
9339
|
-
children: [/* @__PURE__ */ m(
|
|
9340
|
+
children: [/* @__PURE__ */ m(xr, {
|
|
9340
9341
|
variant: "bodySm",
|
|
9341
9342
|
truncate: !0,
|
|
9342
9343
|
children: (t == null ? void 0 : t(e)) ?? e.label
|
|
9343
|
-
}), e.value ? /* @__PURE__ */ m(
|
|
9344
|
+
}), e.value ? /* @__PURE__ */ m(xr, {
|
|
9344
9345
|
variant: "bodySm",
|
|
9345
9346
|
fontWeight: "medium",
|
|
9346
9347
|
numeric: !0,
|
|
@@ -9349,7 +9350,7 @@ function ws({ block: e, renderItem: t }) {
|
|
|
9349
9350
|
}, `${e.kind}:${e.id ?? n}`))
|
|
9350
9351
|
})]
|
|
9351
9352
|
});
|
|
9352
|
-
case "text": return /* @__PURE__ */ m(
|
|
9353
|
+
case "text": return /* @__PURE__ */ m(xr, {
|
|
9353
9354
|
variant: "bodySm",
|
|
9354
9355
|
children: e.text
|
|
9355
9356
|
});
|
|
@@ -9364,38 +9365,38 @@ function Ts({ insight: e, locale: t, labels: n, timeZone: r = "America/Sao_Paulo
|
|
|
9364
9365
|
e.sampleSize == null ? null : g.sample(e.sampleSize.toLocaleString(f)),
|
|
9365
9366
|
v
|
|
9366
9367
|
].filter((e) => !!e), b = (e.blocks ?? []).filter(xs), x = e.actions ?? [];
|
|
9367
|
-
return /* @__PURE__ */ m(
|
|
9368
|
+
return /* @__PURE__ */ m(br, {
|
|
9368
9369
|
as: "article",
|
|
9369
9370
|
background: "surface",
|
|
9370
9371
|
border: !0,
|
|
9371
9372
|
borderRadius: "card",
|
|
9372
9373
|
padding: "500",
|
|
9373
9374
|
className: `select-insight${i ? " select-insight--locked" : ""}${d ? " " + d : ""}`,
|
|
9374
|
-
children: /* @__PURE__ */ h(
|
|
9375
|
+
children: /* @__PURE__ */ h(hr, {
|
|
9375
9376
|
gap: "400",
|
|
9376
9377
|
children: [
|
|
9377
|
-
/* @__PURE__ */ h(
|
|
9378
|
+
/* @__PURE__ */ h(hr, {
|
|
9378
9379
|
gap: "200",
|
|
9379
9380
|
children: [
|
|
9380
|
-
/* @__PURE__ */ h(
|
|
9381
|
+
/* @__PURE__ */ h(gr, {
|
|
9381
9382
|
gap: "100",
|
|
9382
9383
|
children: [
|
|
9383
|
-
/* @__PURE__ */ m(
|
|
9384
|
+
/* @__PURE__ */ m(sr, {
|
|
9384
9385
|
tone: _,
|
|
9385
9386
|
size: "sm",
|
|
9386
9387
|
children: g.severity[e.severity] ?? e.severity
|
|
9387
9388
|
}),
|
|
9388
|
-
e.kind ? /* @__PURE__ */ m(
|
|
9389
|
+
e.kind ? /* @__PURE__ */ m(sr, {
|
|
9389
9390
|
tone: "neutral",
|
|
9390
9391
|
size: "sm",
|
|
9391
9392
|
children: g.kind[e.kind] ?? e.kind
|
|
9392
9393
|
}) : null,
|
|
9393
|
-
e.domain ? /* @__PURE__ */ m(
|
|
9394
|
+
e.domain ? /* @__PURE__ */ m(sr, {
|
|
9394
9395
|
tone: "outline",
|
|
9395
9396
|
size: "sm",
|
|
9396
9397
|
children: g.domain[e.domain] ?? e.domain
|
|
9397
9398
|
}) : null,
|
|
9398
|
-
i ? /* @__PURE__ */ m(
|
|
9399
|
+
i ? /* @__PURE__ */ m(sr, {
|
|
9399
9400
|
tone: "pro",
|
|
9400
9401
|
size: "sm",
|
|
9401
9402
|
children: g.locked
|
|
@@ -9403,23 +9404,23 @@ function Ts({ insight: e, locale: t, labels: n, timeZone: r = "America/Sao_Paulo
|
|
|
9403
9404
|
o
|
|
9404
9405
|
]
|
|
9405
9406
|
}),
|
|
9406
|
-
/* @__PURE__ */ m(
|
|
9407
|
+
/* @__PURE__ */ m(xr, {
|
|
9407
9408
|
as: "h3",
|
|
9408
9409
|
variant: "headingMd",
|
|
9409
9410
|
children: e.title
|
|
9410
9411
|
}),
|
|
9411
|
-
/* @__PURE__ */ m(
|
|
9412
|
+
/* @__PURE__ */ m(xr, {
|
|
9412
9413
|
variant: "bodySm",
|
|
9413
9414
|
tone: "subdued",
|
|
9414
9415
|
className: "select-insight__summary",
|
|
9415
9416
|
children: e.summary
|
|
9416
9417
|
}),
|
|
9417
|
-
e.impact ? /* @__PURE__ */ m(
|
|
9418
|
+
e.impact ? /* @__PURE__ */ m(xr, {
|
|
9418
9419
|
variant: "headingSm",
|
|
9419
9420
|
className: "select-insight__impact",
|
|
9420
9421
|
children: vs(e.impact, f, g)
|
|
9421
9422
|
}) : null,
|
|
9422
|
-
y.length && !i ? /* @__PURE__ */ m(
|
|
9423
|
+
y.length && !i ? /* @__PURE__ */ m(xr, {
|
|
9423
9424
|
variant: "bodyXs",
|
|
9424
9425
|
tone: "subdued",
|
|
9425
9426
|
children: y.join(" · ")
|
|
@@ -9427,7 +9428,7 @@ function Ts({ insight: e, locale: t, labels: n, timeZone: r = "America/Sao_Paulo
|
|
|
9427
9428
|
]
|
|
9428
9429
|
}),
|
|
9429
9430
|
i ? a ?? null : /* @__PURE__ */ h(p, { children: [
|
|
9430
|
-
b.length ? /* @__PURE__ */ m(
|
|
9431
|
+
b.length ? /* @__PURE__ */ m(_r, {
|
|
9431
9432
|
columns: "repeat(auto-fill, minmax(12rem, 1fr))",
|
|
9432
9433
|
gap: "300",
|
|
9433
9434
|
children: b.map((e, t) => /* @__PURE__ */ m("div", {
|
|
@@ -9438,17 +9439,17 @@ function Ts({ insight: e, locale: t, labels: n, timeZone: r = "America/Sao_Paulo
|
|
|
9438
9439
|
})
|
|
9439
9440
|
}, t))
|
|
9440
9441
|
}) : null,
|
|
9441
|
-
x.length ? /* @__PURE__ */ h(
|
|
9442
|
+
x.length ? /* @__PURE__ */ h(hr, {
|
|
9442
9443
|
gap: "150",
|
|
9443
|
-
children: [/* @__PURE__ */ m(
|
|
9444
|
+
children: [/* @__PURE__ */ m(xr, {
|
|
9444
9445
|
variant: "headingSm",
|
|
9445
9446
|
as: "h4",
|
|
9446
9447
|
children: g.actions
|
|
9447
|
-
}), /* @__PURE__ */ m(
|
|
9448
|
+
}), /* @__PURE__ */ m(hr, {
|
|
9448
9449
|
gap: "100",
|
|
9449
9450
|
as: "ul",
|
|
9450
9451
|
className: "select-insight__actions",
|
|
9451
|
-
children: x.map((e, t) => /* @__PURE__ */ m("li", { children: (l == null ? void 0 : l(e)) ?? /* @__PURE__ */ m(
|
|
9452
|
+
children: x.map((e, t) => /* @__PURE__ */ m("li", { children: (l == null ? void 0 : l(e)) ?? /* @__PURE__ */ m(xr, {
|
|
9452
9453
|
variant: "bodySm",
|
|
9453
9454
|
children: e.label
|
|
9454
9455
|
}) }, `${e.target ?? "text"}:${t}`))
|
|
@@ -9458,7 +9459,7 @@ function Ts({ insight: e, locale: t, labels: n, timeZone: r = "America/Sao_Paulo
|
|
|
9458
9459
|
plain: !0,
|
|
9459
9460
|
title: g.methodology,
|
|
9460
9461
|
defaultOpen: u,
|
|
9461
|
-
children: /* @__PURE__ */ m(
|
|
9462
|
+
children: /* @__PURE__ */ m(xr, {
|
|
9462
9463
|
variant: "bodySm",
|
|
9463
9464
|
tone: "subdued",
|
|
9464
9465
|
children: e.methodology
|
|
@@ -9485,7 +9486,7 @@ var Es = r(function({ title: e, caption: t, action: n, help: r, loading: i = !1,
|
|
|
9485
9486
|
className: "select-chartcard__heading",
|
|
9486
9487
|
children: [e && /* @__PURE__ */ h("h3", {
|
|
9487
9488
|
className: `select-chartcard__title${r == null ? "" : " select-chartcard__title--help"}`,
|
|
9488
|
-
children: [e, r != null && /* @__PURE__ */ m(
|
|
9489
|
+
children: [e, r != null && /* @__PURE__ */ m(Ut, { content: r })]
|
|
9489
9490
|
}), t && /* @__PURE__ */ m("p", {
|
|
9490
9491
|
className: "select-chartcard__caption",
|
|
9491
9492
|
children: t
|
|
@@ -10665,7 +10666,7 @@ var Qs = r(function({ value: e, max: t = 100, size: n = 64, thickness: r, tone:
|
|
|
10665
10666
|
n === "center" && /* @__PURE__ */ m("span", { className: `select-journey__line select-journey__line--in${u ? ` is-${u}` : " is-none"}` }),
|
|
10666
10667
|
/* @__PURE__ */ m("span", {
|
|
10667
10668
|
className: "select-journey__dot",
|
|
10668
|
-
children: r.state === "done" ? /* @__PURE__ */ m(
|
|
10669
|
+
children: r.state === "done" ? /* @__PURE__ */ m(Be, {}) : r.state === "failed" ? /* @__PURE__ */ m(ce, {}) : r.state === "current" ? /* @__PURE__ */ m("span", { className: "select-journey__core" }) : r.icon ? r.icon : null
|
|
10669
10670
|
}),
|
|
10670
10671
|
/* @__PURE__ */ m("span", { className: `select-journey__line select-journey__line--out${c ? ` is-${c}` : " is-none"}` })
|
|
10671
10672
|
]
|
|
@@ -10845,7 +10846,7 @@ var Qs = r(function({ value: e, max: t = 100, size: n = 64, thickness: r, tone:
|
|
|
10845
10846
|
children: [/* @__PURE__ */ m("span", {
|
|
10846
10847
|
className: "select-paycard__chip",
|
|
10847
10848
|
"aria-hidden": "true"
|
|
10848
|
-
}), /* @__PURE__ */ m(
|
|
10849
|
+
}), /* @__PURE__ */ m(jr, {
|
|
10849
10850
|
method: "credit",
|
|
10850
10851
|
cardBrand: e,
|
|
10851
10852
|
size: 24
|
|
@@ -10930,7 +10931,7 @@ function lc(e, t, n, r, i) {
|
|
|
10930
10931
|
return `M ${a.toFixed(2)} ${o.toFixed(2)} A ${n} ${n} 0 0 1 ${s.toFixed(2)} ${c.toFixed(2)}`;
|
|
10931
10932
|
}
|
|
10932
10933
|
var uc = (e) => `${e.toLocaleString("pt-BR", { maximumFractionDigits: +(e < 10) })}%`, dc = r(function({ value: e, label: t, caption: n, size: r = 220, thickness: i, color: a, format: o = uc, className: s, ...c }, l) {
|
|
10933
|
-
let u = sc(e), d = i ?? Math.max(8, Math.round(r * .075)), f = d / 2 + 2, p = r / 2 - f, g = r / 2, _ = r / 2, v = _ + f, y =
|
|
10934
|
+
let u = sc(e), d = i ?? Math.max(8, Math.round(r * .075)), f = d / 2 + 2, p = r / 2 - f, g = r / 2, _ = r / 2, v = _ + f, y = On({
|
|
10934
10935
|
value: u,
|
|
10935
10936
|
format: o
|
|
10936
10937
|
});
|
|
@@ -11328,7 +11329,7 @@ function hc({ items: e, format: t = Z, color: n, emptyText: r = "Sem dados no pe
|
|
|
11328
11329
|
children: [/* @__PURE__ */ m("span", {
|
|
11329
11330
|
className: "select-progresslist__name",
|
|
11330
11331
|
children: e.label
|
|
11331
|
-
}), e.badge && /* @__PURE__ */ m(
|
|
11332
|
+
}), e.badge && /* @__PURE__ */ m(sr, {
|
|
11332
11333
|
tone: e.badge.tone,
|
|
11333
11334
|
children: e.badge.label
|
|
11334
11335
|
})]
|
|
@@ -23781,19 +23782,19 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
23781
23782
|
o(() => (k.current || V(), () => {
|
|
23782
23783
|
L.current && cancelAnimationFrame(L.current), L.current = 0;
|
|
23783
23784
|
}), []);
|
|
23784
|
-
let
|
|
23785
|
-
|
|
23785
|
+
let U = u(v);
|
|
23786
|
+
U.current = v, o(() => {
|
|
23786
23787
|
let e = E.current;
|
|
23787
23788
|
if (!e) return;
|
|
23788
23789
|
let t = (e) => {
|
|
23789
23790
|
var t;
|
|
23790
23791
|
e.preventDefault();
|
|
23791
23792
|
let n = Math.max(-240, Math.min(240, e.deltaMode ? e.deltaY * 40 : e.deltaY)), r = M.current * Math.exp(-n * .0012);
|
|
23792
|
-
M.current = Math.max(.8, Math.min(1.8, r)), (t =
|
|
23793
|
+
M.current = Math.max(.8, Math.min(1.8, r)), (t = U.current) == null || t.call(U, M.current), V(), te((e) => (e + 1) % 1e6);
|
|
23793
23794
|
};
|
|
23794
23795
|
return e.addEventListener("wheel", t, { passive: !1 }), () => e.removeEventListener("wheel", t);
|
|
23795
23796
|
}, []);
|
|
23796
|
-
let
|
|
23797
|
+
let re = (e) => {
|
|
23797
23798
|
var t, n;
|
|
23798
23799
|
(t = (n = e.target).setPointerCapture) == null || t.call(n, e.pointerId), P.current = {
|
|
23799
23800
|
x: e.clientX,
|
|
@@ -23802,7 +23803,7 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
23802
23803
|
lng: 0,
|
|
23803
23804
|
lat: 0
|
|
23804
23805
|
}, N.current = null, R(!0), V();
|
|
23805
|
-
},
|
|
23806
|
+
}, W = (e) => {
|
|
23806
23807
|
if (!P.current) return;
|
|
23807
23808
|
let t = .34 / M.current, n = e.clientX - P.current.x, r = e.clientY - P.current.y;
|
|
23808
23809
|
P.current = {
|
|
@@ -23812,17 +23813,17 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
23812
23813
|
lng: n * t,
|
|
23813
23814
|
lat: r * t
|
|
23814
23815
|
};
|
|
23815
|
-
},
|
|
23816
|
+
}, ie = (e) => {
|
|
23816
23817
|
var t, n;
|
|
23817
23818
|
P.current && ((t = (n = e.target).releasePointerCapture) == null || t.call(n, e.pointerId), P.current = null, R(!1), V());
|
|
23818
|
-
},
|
|
23819
|
+
}, G = (D / 2 - 6) * M.current, K = D / 2, q = D / 2, ae = (e) => {
|
|
23819
23820
|
let t = Yc(e, A.current.lng, A.current.lat);
|
|
23820
23821
|
return {
|
|
23821
|
-
x:
|
|
23822
|
-
y:
|
|
23822
|
+
x: K + G * t[0],
|
|
23823
|
+
y: q - G * t[1],
|
|
23823
23824
|
z: t[2]
|
|
23824
23825
|
};
|
|
23825
|
-
},
|
|
23826
|
+
}, oe = l(() => {
|
|
23826
23827
|
let e = [];
|
|
23827
23828
|
for (let t = -180; t < 180; t += 30) {
|
|
23828
23829
|
let n = [];
|
|
@@ -23835,19 +23836,19 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
23835
23836
|
e.push(n);
|
|
23836
23837
|
}
|
|
23837
23838
|
return e;
|
|
23838
|
-
}, []),
|
|
23839
|
+
}, []), se = l(() => Kc.map((e) => {
|
|
23839
23840
|
let t = [];
|
|
23840
23841
|
for (let n = 0; n < e.length; n += 2) t.push(Jc(e[n + 1], e[n]));
|
|
23841
23842
|
return t;
|
|
23842
|
-
}), []),
|
|
23843
|
-
x:
|
|
23844
|
-
y:
|
|
23845
|
-
}),
|
|
23846
|
-
if (g) for (let e of
|
|
23843
|
+
}), []), J = (e) => ({
|
|
23844
|
+
x: K + G * e[0],
|
|
23845
|
+
y: q - G * e[1]
|
|
23846
|
+
}), ce = "", le = "";
|
|
23847
|
+
if (g) for (let e of se) {
|
|
23847
23848
|
let t = e.map((e) => Yc(e, A.current.lng, A.current.lat)), n = t.length, r = !1;
|
|
23848
23849
|
for (let e of t) if (e[2] > 0) {
|
|
23849
|
-
let t =
|
|
23850
|
-
|
|
23850
|
+
let t = J(e);
|
|
23851
|
+
le += `${r ? "L" : "M"}${t.x.toFixed(1)},${t.y.toFixed(1)}`, r = !0;
|
|
23851
23852
|
} else r = !1;
|
|
23852
23853
|
let i = [];
|
|
23853
23854
|
for (let e = 0; e < n; e++) {
|
|
@@ -23869,53 +23870,53 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
23869
23870
|
}
|
|
23870
23871
|
if (i.length >= 3) {
|
|
23871
23872
|
let e = (e, t) => {
|
|
23872
|
-
let n =
|
|
23873
|
+
let n = J(t.v);
|
|
23873
23874
|
if (e.edge && t.edge) {
|
|
23874
|
-
let t = Math.atan2(
|
|
23875
|
+
let t = Math.atan2(J(e.v).y - q, J(e.v).x - K), r = Math.atan2(n.y - q, n.x - K) - t;
|
|
23875
23876
|
for (; r > Math.PI;) r -= 2 * Math.PI;
|
|
23876
23877
|
for (; r < -Math.PI;) r += 2 * Math.PI;
|
|
23877
23878
|
let i = +(r > 0);
|
|
23878
|
-
return `A${
|
|
23879
|
+
return `A${G.toFixed(1)},${G.toFixed(1)} 0 0 ${i} ${n.x.toFixed(1)},${n.y.toFixed(1)}`;
|
|
23879
23880
|
}
|
|
23880
23881
|
return `L${n.x.toFixed(1)},${n.y.toFixed(1)}`;
|
|
23881
|
-
}, t =
|
|
23882
|
-
|
|
23883
|
-
for (let t = 1; t < i.length; t++)
|
|
23884
|
-
|
|
23882
|
+
}, t = J(i[0].v);
|
|
23883
|
+
ce += `M${t.x.toFixed(1)},${t.y.toFixed(1)}`;
|
|
23884
|
+
for (let t = 1; t < i.length; t++) ce += e(i[t - 1], i[t]);
|
|
23885
|
+
ce += e(i[i.length - 1], i[0]), ce += "Z";
|
|
23885
23886
|
}
|
|
23886
23887
|
}
|
|
23887
|
-
let
|
|
23888
|
+
let ue = (e) => {
|
|
23888
23889
|
let t = "", n = !1;
|
|
23889
23890
|
for (let r of e) {
|
|
23890
|
-
let e =
|
|
23891
|
+
let e = ae(r);
|
|
23891
23892
|
e.z > 0 ? (t += `${n ? "L" : "M"}${e.x.toFixed(1)},${e.y.toFixed(1)}`, n = !0) : n = !1;
|
|
23892
23893
|
}
|
|
23893
23894
|
return t;
|
|
23894
|
-
},
|
|
23895
|
-
let n =
|
|
23895
|
+
}, de = Math.max(1, ...e.map((e) => e.value ?? 0)), fe = e.map((e, t) => {
|
|
23896
|
+
let n = ae(Jc(e.lat, e.lng));
|
|
23896
23897
|
return {
|
|
23897
23898
|
...e,
|
|
23898
23899
|
i: t,
|
|
23899
23900
|
p: n,
|
|
23900
23901
|
vis: n.z > 0,
|
|
23901
|
-
r: 3 + Math.max(0, e.value ?? 0) /
|
|
23902
|
+
r: 3 + Math.max(0, e.value ?? 0) / de * 6,
|
|
23902
23903
|
col: e.color ?? c
|
|
23903
23904
|
};
|
|
23904
|
-
}),
|
|
23905
|
+
}), pe = z == null ? null : e[z], me = t.map((e, t) => {
|
|
23905
23906
|
let n = Jc(e.from.lat, e.from.lng), r = Jc(e.to.lat, e.to.lng), i = "", a = !1;
|
|
23906
23907
|
for (let e = 0; e <= 40; e++) {
|
|
23907
|
-
let t = e / 40, o = Xc(n, r, t), s = 1 + .34 * Math.sin(Math.PI * t), c = Yc(o, A.current.lng, A.current.lat), l =
|
|
23908
|
+
let t = e / 40, o = Xc(n, r, t), s = 1 + .34 * Math.sin(Math.PI * t), c = Yc(o, A.current.lng, A.current.lat), l = ae([
|
|
23908
23909
|
o[0] * s,
|
|
23909
23910
|
o[1] * s,
|
|
23910
23911
|
o[2] * s
|
|
23911
23912
|
]);
|
|
23912
23913
|
c[2] > -.05 ? (i += `${a ? "L" : "M"}${l.x.toFixed(1)},${l.y.toFixed(1)}`, a = !0) : a = !1;
|
|
23913
23914
|
}
|
|
23914
|
-
let o = k.current ? .5 : (I.current * .16 + t * .27) % 1, s = Xc(n, r, o), l = 1 + .34 * Math.sin(Math.PI * o), u = Yc(s, A.current.lng, A.current.lat), d =
|
|
23915
|
+
let o = k.current ? .5 : (I.current * .16 + t * .27) % 1, s = Xc(n, r, o), l = 1 + .34 * Math.sin(Math.PI * o), u = Yc(s, A.current.lng, A.current.lat), d = ae([
|
|
23915
23916
|
s[0] * l,
|
|
23916
23917
|
s[1] * l,
|
|
23917
23918
|
s[2] * l
|
|
23918
|
-
]), f =
|
|
23919
|
+
]), f = pe != null && (Zc(e.from, pe) || Zc(e.to, pe));
|
|
23919
23920
|
return {
|
|
23920
23921
|
d: i,
|
|
23921
23922
|
col: e.color ?? c,
|
|
@@ -23926,7 +23927,7 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
23926
23927
|
},
|
|
23927
23928
|
active: f
|
|
23928
23929
|
};
|
|
23929
|
-
}),
|
|
23930
|
+
}), he = pe != null, ge = p ? [...e].sort((e, t) => (t.value ?? 0) - (e.value ?? 0)).slice(0, 6) : [];
|
|
23930
23931
|
return /* @__PURE__ */ h("div", {
|
|
23931
23932
|
ref: x,
|
|
23932
23933
|
...b,
|
|
@@ -23942,11 +23943,11 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
23942
23943
|
F.current = !0;
|
|
23943
23944
|
},
|
|
23944
23945
|
onPointerLeave: (e) => {
|
|
23945
|
-
F.current = !1,
|
|
23946
|
+
F.current = !1, ie(e), B(null), T.hide(), V();
|
|
23946
23947
|
},
|
|
23947
|
-
onPointerDown:
|
|
23948
|
-
onPointerMove:
|
|
23949
|
-
onPointerUp:
|
|
23948
|
+
onPointerDown: re,
|
|
23949
|
+
onPointerMove: W,
|
|
23950
|
+
onPointerUp: ie,
|
|
23950
23951
|
children: [/* @__PURE__ */ h("svg", {
|
|
23951
23952
|
width: D,
|
|
23952
23953
|
height: D,
|
|
@@ -24041,59 +24042,59 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
24041
24042
|
/* @__PURE__ */ m("clipPath", {
|
|
24042
24043
|
id: `${w}-clip`,
|
|
24043
24044
|
children: /* @__PURE__ */ m("circle", {
|
|
24044
|
-
cx:
|
|
24045
|
-
cy:
|
|
24046
|
-
r:
|
|
24045
|
+
cx: K,
|
|
24046
|
+
cy: q,
|
|
24047
|
+
r: G
|
|
24047
24048
|
})
|
|
24048
24049
|
})
|
|
24049
24050
|
] }),
|
|
24050
24051
|
/* @__PURE__ */ m("circle", {
|
|
24051
|
-
cx:
|
|
24052
|
-
cy:
|
|
24053
|
-
r:
|
|
24052
|
+
cx: K,
|
|
24053
|
+
cy: q,
|
|
24054
|
+
r: G + 24,
|
|
24054
24055
|
fill: `url(#${w}-atmo)`
|
|
24055
24056
|
}),
|
|
24056
24057
|
/* @__PURE__ */ m("circle", {
|
|
24057
|
-
cx:
|
|
24058
|
-
cy:
|
|
24059
|
-
r:
|
|
24058
|
+
cx: K,
|
|
24059
|
+
cy: q,
|
|
24060
|
+
r: G,
|
|
24060
24061
|
fill: `url(#${w}-sphere)`,
|
|
24061
24062
|
stroke: `color-mix(in srgb, ${c} 40%, transparent)`,
|
|
24062
24063
|
strokeWidth: 1
|
|
24063
24064
|
}),
|
|
24064
24065
|
/* @__PURE__ */ m("circle", {
|
|
24065
|
-
cx:
|
|
24066
|
-
cy:
|
|
24067
|
-
r:
|
|
24066
|
+
cx: K,
|
|
24067
|
+
cy: q,
|
|
24068
|
+
r: G,
|
|
24068
24069
|
fill: `url(#${w}-glow)`
|
|
24069
24070
|
}),
|
|
24070
24071
|
/* @__PURE__ */ m("circle", {
|
|
24071
|
-
cx:
|
|
24072
|
-
cy:
|
|
24073
|
-
r:
|
|
24072
|
+
cx: K,
|
|
24073
|
+
cy: q,
|
|
24074
|
+
r: G,
|
|
24074
24075
|
fill: `url(#${w}-spec)`
|
|
24075
24076
|
}),
|
|
24076
24077
|
/* @__PURE__ */ h("g", {
|
|
24077
24078
|
clipPath: `url(#${w}-clip)`,
|
|
24078
24079
|
children: [
|
|
24079
|
-
g &&
|
|
24080
|
-
d:
|
|
24080
|
+
g && ce && /* @__PURE__ */ m("path", {
|
|
24081
|
+
d: ce,
|
|
24081
24082
|
className: "select-globe__land",
|
|
24082
24083
|
fill: `color-mix(in srgb, ${c} 38%, transparent)`
|
|
24083
24084
|
}),
|
|
24084
|
-
g &&
|
|
24085
|
-
d:
|
|
24085
|
+
g && le && /* @__PURE__ */ m("path", {
|
|
24086
|
+
d: le,
|
|
24086
24087
|
className: "select-globe__coast",
|
|
24087
24088
|
fill: "none",
|
|
24088
24089
|
stroke: `color-mix(in srgb, ${c} 68%, transparent)`
|
|
24089
24090
|
}),
|
|
24090
|
-
|
|
24091
|
-
d:
|
|
24091
|
+
oe.map((e, t) => /* @__PURE__ */ m("path", {
|
|
24092
|
+
d: ue(e),
|
|
24092
24093
|
className: "select-globe__grid"
|
|
24093
24094
|
}, `g${t}`)),
|
|
24094
|
-
|
|
24095
|
+
me.map((e) => /* @__PURE__ */ h("g", {
|
|
24095
24096
|
className: "select-globe__arcgrp",
|
|
24096
|
-
style: { opacity:
|
|
24097
|
+
style: { opacity: he && !e.active ? .18 : 1 },
|
|
24097
24098
|
children: [/* @__PURE__ */ m("path", {
|
|
24098
24099
|
d: e.d,
|
|
24099
24100
|
className: "select-globe__arc",
|
|
@@ -24110,10 +24111,10 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
24110
24111
|
}, `a${e.i}`))
|
|
24111
24112
|
]
|
|
24112
24113
|
}),
|
|
24113
|
-
|
|
24114
|
+
fe.filter((e) => e.vis).map((e) => {
|
|
24114
24115
|
let t = z === e.i;
|
|
24115
24116
|
return /* @__PURE__ */ h("g", {
|
|
24116
|
-
style: { opacity:
|
|
24117
|
+
style: { opacity: he && !t ? .45 : 1 },
|
|
24117
24118
|
children: [
|
|
24118
24119
|
/* @__PURE__ */ m("circle", {
|
|
24119
24120
|
cx: e.p.x,
|
|
@@ -24141,7 +24142,7 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
24141
24142
|
B(e.i), T.show({
|
|
24142
24143
|
x: e.p.x,
|
|
24143
24144
|
y: e.p.y - e.r - 4,
|
|
24144
|
-
place: e.p.y <
|
|
24145
|
+
place: e.p.y < q ? "bottom" : "top",
|
|
24145
24146
|
title: e.label,
|
|
24146
24147
|
rows: e.value == null ? [] : [{
|
|
24147
24148
|
label: "Volume",
|
|
@@ -24165,9 +24166,9 @@ var Zc = (e, t) => Math.abs(e.lat - t.lat) < 1e-6 && Math.abs(e.lng - t.lng) < 1
|
|
|
24165
24166
|
})
|
|
24166
24167
|
]
|
|
24167
24168
|
}), /* @__PURE__ */ m($, { tip: T.tip })]
|
|
24168
|
-
}),
|
|
24169
|
+
}), ge.length > 0 && /* @__PURE__ */ m("ul", {
|
|
24169
24170
|
className: "select-donut__legend",
|
|
24170
|
-
children:
|
|
24171
|
+
children: ge.map((e, t) => /* @__PURE__ */ h("li", {
|
|
24171
24172
|
className: "select-donut__legitem",
|
|
24172
24173
|
children: [
|
|
24173
24174
|
/* @__PURE__ */ m("span", {
|
|
@@ -25176,7 +25177,7 @@ function fl({ search: e, onSearchChange: t, searchPlaceholder: n = "Buscar…",
|
|
|
25176
25177
|
});
|
|
25177
25178
|
}
|
|
25178
25179
|
function pl({ children: e }) {
|
|
25179
|
-
let t =
|
|
25180
|
+
let t = Dn({
|
|
25180
25181
|
selector: ".select-combobox__option",
|
|
25181
25182
|
y: 6,
|
|
25182
25183
|
duration: .3,
|
|
@@ -25209,7 +25210,7 @@ function ml({ label: e, secondary: t, selected: n = !1, disabled: r = !1, onSele
|
|
|
25209
25210
|
}), n ? /* @__PURE__ */ m("span", {
|
|
25210
25211
|
className: "select-combobox__check",
|
|
25211
25212
|
"aria-hidden": "true",
|
|
25212
|
-
children: /* @__PURE__ */ m(
|
|
25213
|
+
children: /* @__PURE__ */ m(Be, {})
|
|
25213
25214
|
}) : null]
|
|
25214
25215
|
});
|
|
25215
25216
|
}
|
|
@@ -25219,17 +25220,17 @@ var hl = [
|
|
|
25219
25220
|
{
|
|
25220
25221
|
value: "light",
|
|
25221
25222
|
label: "Claro",
|
|
25222
|
-
icon: /* @__PURE__ */ m(
|
|
25223
|
+
icon: /* @__PURE__ */ m(Ee, {})
|
|
25223
25224
|
},
|
|
25224
25225
|
{
|
|
25225
25226
|
value: "dark",
|
|
25226
25227
|
label: "Escuro",
|
|
25227
|
-
icon: /* @__PURE__ */ m(
|
|
25228
|
+
icon: /* @__PURE__ */ m(De, {})
|
|
25228
25229
|
},
|
|
25229
25230
|
{
|
|
25230
25231
|
value: "system",
|
|
25231
25232
|
label: "Sistema",
|
|
25232
|
-
icon: /* @__PURE__ */ m(
|
|
25233
|
+
icon: /* @__PURE__ */ m(Oe, {})
|
|
25233
25234
|
}
|
|
25234
25235
|
];
|
|
25235
25236
|
function gl(e) {
|
|
@@ -25263,7 +25264,7 @@ function _l({ value: e, onChange: t, className: n, ...r }) {
|
|
|
25263
25264
|
children: /* @__PURE__ */ m(wa, { children: hl.map((n) => /* @__PURE__ */ m(Ea, {
|
|
25264
25265
|
icon: n.icon,
|
|
25265
25266
|
active: n.value === e,
|
|
25266
|
-
trailing: n.value === e ? /* @__PURE__ */ m(
|
|
25267
|
+
trailing: n.value === e ? /* @__PURE__ */ m(Be, {}) : null,
|
|
25267
25268
|
onClick: () => {
|
|
25268
25269
|
t(n.value), a(!1);
|
|
25269
25270
|
},
|
|
@@ -25276,7 +25277,7 @@ function _l({ value: e, onChange: t, className: n, ...r }) {
|
|
|
25276
25277
|
//#region src/SelectDetail.tsx
|
|
25277
25278
|
var vl = n(!1);
|
|
25278
25279
|
function yl({ children: e, stacked: t = !1, loading: n = !1 }) {
|
|
25279
|
-
let r =
|
|
25280
|
+
let r = Dn({
|
|
25280
25281
|
selector: ".select-detail",
|
|
25281
25282
|
y: 8,
|
|
25282
25283
|
duration: .45,
|
|
@@ -25326,7 +25327,7 @@ var bl = r(function({ label: e, children: t, action: n, align: r = "center", loa
|
|
|
25326
25327
|
} : e, o = r < t ? "done" : r === t ? "current" : "todo", c = !!n && r < t, l = /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("span", {
|
|
25327
25328
|
className: "select-steps__num",
|
|
25328
25329
|
"aria-hidden": "true",
|
|
25329
|
-
children: o === "done" ? /* @__PURE__ */ m(
|
|
25330
|
+
children: o === "done" ? /* @__PURE__ */ m(Be, {}) : r + 1
|
|
25330
25331
|
}), /* @__PURE__ */ h("span", {
|
|
25331
25332
|
className: "select-steps__text",
|
|
25332
25333
|
children: [/* @__PURE__ */ m("span", {
|
|
@@ -25672,7 +25673,7 @@ var jl = r(function({ name: e, price: t, priceSuffix: n, headerAction: r, summar
|
|
|
25672
25673
|
children: [/* @__PURE__ */ m("span", {
|
|
25673
25674
|
className: "select-plan__check",
|
|
25674
25675
|
"aria-hidden": "true",
|
|
25675
|
-
children: /* @__PURE__ */ m(
|
|
25676
|
+
children: /* @__PURE__ */ m(Ue, {})
|
|
25676
25677
|
}), /* @__PURE__ */ m("span", { children: e })]
|
|
25677
25678
|
}, t))
|
|
25678
25679
|
})]
|
|
@@ -25774,7 +25775,7 @@ var Fl = r(function({ src: e, alt: t = "", size: n = 40, count: r, className: i,
|
|
|
25774
25775
|
}) : /* @__PURE__ */ m("span", {
|
|
25775
25776
|
className: "select-thumb__ph",
|
|
25776
25777
|
"aria-hidden": "true",
|
|
25777
|
-
children: /* @__PURE__ */ m(
|
|
25778
|
+
children: /* @__PURE__ */ m(Te, {})
|
|
25778
25779
|
})
|
|
25779
25780
|
});
|
|
25780
25781
|
return !r || r <= 0 ? u : /* @__PURE__ */ h("span", {
|
|
@@ -25794,7 +25795,7 @@ function Il({ open: e, onClose: t, src: n, alt: r, title: i }) {
|
|
|
25794
25795
|
onClose: t,
|
|
25795
25796
|
title: i,
|
|
25796
25797
|
size: "lg",
|
|
25797
|
-
theme:
|
|
25798
|
+
theme: Mn(),
|
|
25798
25799
|
children: /* @__PURE__ */ m("div", {
|
|
25799
25800
|
className: "select-imagezoom",
|
|
25800
25801
|
children: /* @__PURE__ */ m("img", {
|
|
@@ -25874,10 +25875,10 @@ function zl() {
|
|
|
25874
25875
|
onClose: () => {},
|
|
25875
25876
|
showClose: !1,
|
|
25876
25877
|
size: "sm",
|
|
25877
|
-
theme:
|
|
25878
|
+
theme: Mn(),
|
|
25878
25879
|
title: "Sem conexão",
|
|
25879
25880
|
subtitle: "Você está offline. Assim que a conexão voltar, reconectaremos automaticamente.",
|
|
25880
|
-
children: /* @__PURE__ */ m(
|
|
25881
|
+
children: /* @__PURE__ */ m(on, {
|
|
25881
25882
|
tone: "warning",
|
|
25882
25883
|
children: "Algumas ações ficam indisponíveis até a internet voltar."
|
|
25883
25884
|
})
|
|
@@ -25912,7 +25913,7 @@ var Vl = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
|
|
|
25912
25913
|
children: [
|
|
25913
25914
|
/* @__PURE__ */ m("div", {
|
|
25914
25915
|
className: "select-kv__field",
|
|
25915
|
-
children: i ? /* @__PURE__ */ m(
|
|
25916
|
+
children: i ? /* @__PURE__ */ m(wn, {
|
|
25916
25917
|
size: "sm",
|
|
25917
25918
|
options: [{
|
|
25918
25919
|
label: n,
|
|
@@ -25920,7 +25921,7 @@ var Vl = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
|
|
|
25920
25921
|
}, ...i],
|
|
25921
25922
|
value: e.name,
|
|
25922
25923
|
onChange: (e) => f(t, { name: e })
|
|
25923
|
-
}) : /* @__PURE__ */ m(
|
|
25924
|
+
}) : /* @__PURE__ */ m(qt, {
|
|
25924
25925
|
size: "sm",
|
|
25925
25926
|
value: e.name,
|
|
25926
25927
|
onChange: (e) => f(t, { name: e }),
|
|
@@ -25930,7 +25931,7 @@ var Vl = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
|
|
|
25930
25931
|
}),
|
|
25931
25932
|
/* @__PURE__ */ m("div", {
|
|
25932
25933
|
className: "select-kv__field",
|
|
25933
|
-
children: /* @__PURE__ */ m(
|
|
25934
|
+
children: /* @__PURE__ */ m(qt, {
|
|
25934
25935
|
size: "sm",
|
|
25935
25936
|
value: e.value,
|
|
25936
25937
|
onChange: (e) => f(t, { value: e }),
|
|
@@ -25940,9 +25941,9 @@ var Vl = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
|
|
|
25940
25941
|
}),
|
|
25941
25942
|
/* @__PURE__ */ m("div", {
|
|
25942
25943
|
className: "select-kv__remove",
|
|
25943
|
-
children: /* @__PURE__ */ m(
|
|
25944
|
+
children: /* @__PURE__ */ m(Mr, {
|
|
25944
25945
|
size: "sm",
|
|
25945
|
-
icon: /* @__PURE__ */ m(
|
|
25946
|
+
icon: /* @__PURE__ */ m(Je, {}),
|
|
25946
25947
|
label: "Remover",
|
|
25947
25948
|
onClick: () => p(t)
|
|
25948
25949
|
})
|
|
@@ -26166,7 +26167,7 @@ var tu = r(function({ value: e, presets: t = Xl, onApply: n, onCancel: r, accent
|
|
|
26166
26167
|
onClick: () => k(e),
|
|
26167
26168
|
children: [/* @__PURE__ */ m("span", {
|
|
26168
26169
|
className: "select-datepicker__preset-check",
|
|
26169
|
-
children: t && /* @__PURE__ */ m(
|
|
26170
|
+
children: t && /* @__PURE__ */ m(Be, {})
|
|
26170
26171
|
}), e.label]
|
|
26171
26172
|
}, e.id);
|
|
26172
26173
|
})
|
|
@@ -26201,7 +26202,7 @@ var tu = r(function({ value: e, presets: t = Xl, onApply: n, onCancel: r, accent
|
|
|
26201
26202
|
className: "select-datepicker__nav",
|
|
26202
26203
|
"aria-label": a === "pt-BR" ? "Mês anterior" : "Previous month",
|
|
26203
26204
|
onClick: () => x((e) => ql(e, -1)),
|
|
26204
|
-
children: /* @__PURE__ */ m(
|
|
26205
|
+
children: /* @__PURE__ */ m(ie, {})
|
|
26205
26206
|
}),
|
|
26206
26207
|
/* @__PURE__ */ h("span", {
|
|
26207
26208
|
className: "select-datepicker__monthlabel",
|
|
@@ -26216,7 +26217,7 @@ var tu = r(function({ value: e, presets: t = Xl, onApply: n, onCancel: r, accent
|
|
|
26216
26217
|
className: "select-datepicker__nav",
|
|
26217
26218
|
"aria-label": a === "pt-BR" ? "Próximo mês" : "Next month",
|
|
26218
26219
|
onClick: () => x((e) => ql(e, 1)),
|
|
26219
|
-
children: /* @__PURE__ */ m(
|
|
26220
|
+
children: /* @__PURE__ */ m(W, {})
|
|
26220
26221
|
})
|
|
26221
26222
|
]
|
|
26222
26223
|
}),
|
|
@@ -26269,7 +26270,7 @@ function au(e, t) {
|
|
|
26269
26270
|
}
|
|
26270
26271
|
function ou({ value: e, onChange: t, presets: n = $l, maxDate: r, placement: i = "bottom-end", size: a = "md", disabled: o = !1, block: s = !1 }) {
|
|
26271
26272
|
let [c, l] = d(!1), u = r === null ? null : r ?? nu(/* @__PURE__ */ new Date());
|
|
26272
|
-
return /* @__PURE__ */ m(
|
|
26273
|
+
return /* @__PURE__ */ m(Pn, {
|
|
26273
26274
|
active: c,
|
|
26274
26275
|
onClose: () => l(!1),
|
|
26275
26276
|
placement: i,
|
|
@@ -26279,8 +26280,8 @@ function ou({ value: e, onChange: t, presets: n = $l, maxDate: r, placement: i =
|
|
|
26279
26280
|
size: a,
|
|
26280
26281
|
inline: !s,
|
|
26281
26282
|
disabled: o,
|
|
26282
|
-
icon: /* @__PURE__ */ m(
|
|
26283
|
-
trailingIcon: /* @__PURE__ */ m(
|
|
26283
|
+
icon: /* @__PURE__ */ m(nt, {}),
|
|
26284
|
+
trailingIcon: /* @__PURE__ */ m(G, {}),
|
|
26284
26285
|
onClick: () => l((e) => !e),
|
|
26285
26286
|
children: au(e, n)
|
|
26286
26287
|
}),
|
|
@@ -26321,14 +26322,14 @@ var su = r(function({ label: e, value: t, onChange: n, min: r, max: i, step: a =
|
|
|
26321
26322
|
...v,
|
|
26322
26323
|
className: `select-field${g === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`,
|
|
26323
26324
|
children: [
|
|
26324
|
-
e && /* @__PURE__ */ m(
|
|
26325
|
+
e && /* @__PURE__ */ m(Wt, {
|
|
26325
26326
|
htmlFor: b,
|
|
26326
26327
|
label: e
|
|
26327
26328
|
}),
|
|
26328
26329
|
/* @__PURE__ */ h("div", {
|
|
26329
26330
|
className: "select-numfield",
|
|
26330
26331
|
children: [
|
|
26331
|
-
/* @__PURE__ */ m(
|
|
26332
|
+
/* @__PURE__ */ m(Mr, {
|
|
26332
26333
|
variant: "outline",
|
|
26333
26334
|
size: g,
|
|
26334
26335
|
icon: /* @__PURE__ */ m("span", {
|
|
@@ -26358,10 +26359,10 @@ var su = r(function({ label: e, value: t, onChange: n, min: r, max: i, step: a =
|
|
|
26358
26359
|
},
|
|
26359
26360
|
"aria-invalid": u ? !0 : void 0
|
|
26360
26361
|
}),
|
|
26361
|
-
/* @__PURE__ */ m(
|
|
26362
|
+
/* @__PURE__ */ m(Mr, {
|
|
26362
26363
|
variant: "outline",
|
|
26363
26364
|
size: g,
|
|
26364
|
-
icon: /* @__PURE__ */ m(
|
|
26365
|
+
icon: /* @__PURE__ */ m(je, {}),
|
|
26365
26366
|
label: "Aumentar",
|
|
26366
26367
|
disabled: c || T,
|
|
26367
26368
|
onClick: () => M(a)
|
|
@@ -26400,48 +26401,48 @@ function cu({ items: e, onChange: t, renderRow: n, newItem: r, addLabel: i = "Ad
|
|
|
26400
26401
|
moveUp: () => b(n, -1),
|
|
26401
26402
|
moveDown: () => b(n, 1)
|
|
26402
26403
|
});
|
|
26403
|
-
return /* @__PURE__ */ h(
|
|
26404
|
+
return /* @__PURE__ */ h(hr, {
|
|
26404
26405
|
gap: "300",
|
|
26405
26406
|
children: [
|
|
26406
26407
|
e.length === 0 && d != null && /* @__PURE__ */ m("div", { children: d }),
|
|
26407
26408
|
e.map((e, t) => {
|
|
26408
26409
|
let r = x(e, t);
|
|
26409
|
-
return u === "bare" ? /* @__PURE__ */ m("div", { children: n(e, r) }, t) : /* @__PURE__ */ m(
|
|
26410
|
+
return u === "bare" ? /* @__PURE__ */ m("div", { children: n(e, r) }, t) : /* @__PURE__ */ m(br, {
|
|
26410
26411
|
background: "surface",
|
|
26411
26412
|
border: !0,
|
|
26412
26413
|
borderRadius: "base",
|
|
26413
26414
|
padding: "300",
|
|
26414
|
-
children: /* @__PURE__ */ h(
|
|
26415
|
+
children: /* @__PURE__ */ h(hr, {
|
|
26415
26416
|
gap: "200",
|
|
26416
|
-
children: [/* @__PURE__ */ h(
|
|
26417
|
+
children: [/* @__PURE__ */ h(gr, {
|
|
26417
26418
|
align: "space-between",
|
|
26418
26419
|
blockAlign: "center",
|
|
26419
26420
|
gap: "200",
|
|
26420
|
-
children: [/* @__PURE__ */ m(
|
|
26421
|
+
children: [/* @__PURE__ */ m(xr, {
|
|
26421
26422
|
as: "span",
|
|
26422
26423
|
variant: "bodySm",
|
|
26423
26424
|
fontWeight: "medium",
|
|
26424
26425
|
tone: "subdued",
|
|
26425
26426
|
children: a ? a(t, e) : `#${t + 1}`
|
|
26426
|
-
}), /* @__PURE__ */ h(
|
|
26427
|
+
}), /* @__PURE__ */ h(gr, {
|
|
26427
26428
|
gap: "100",
|
|
26428
26429
|
blockAlign: "center",
|
|
26429
26430
|
wrap: !1,
|
|
26430
|
-
children: [l && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(
|
|
26431
|
+
children: [l && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(Mr, {
|
|
26431
26432
|
size: "sm",
|
|
26432
|
-
icon: /* @__PURE__ */ m(
|
|
26433
|
+
icon: /* @__PURE__ */ m(rt, {}),
|
|
26433
26434
|
label: "Mover para cima",
|
|
26434
26435
|
disabled: r.isFirst,
|
|
26435
26436
|
onClick: r.moveUp
|
|
26436
|
-
}), /* @__PURE__ */ m(
|
|
26437
|
+
}), /* @__PURE__ */ m(Mr, {
|
|
26437
26438
|
size: "sm",
|
|
26438
|
-
icon: /* @__PURE__ */ m(
|
|
26439
|
+
icon: /* @__PURE__ */ m(G, {}),
|
|
26439
26440
|
label: "Mover para baixo",
|
|
26440
26441
|
disabled: r.isLast,
|
|
26441
26442
|
onClick: r.moveDown
|
|
26442
|
-
})] }), /* @__PURE__ */ m(
|
|
26443
|
+
})] }), /* @__PURE__ */ m(Mr, {
|
|
26443
26444
|
size: "sm",
|
|
26444
|
-
icon: /* @__PURE__ */ m(
|
|
26445
|
+
icon: /* @__PURE__ */ m(Je, {}),
|
|
26445
26446
|
label: "Remover",
|
|
26446
26447
|
disabled: !_,
|
|
26447
26448
|
onClick: r.remove
|
|
@@ -26451,7 +26452,7 @@ function cu({ items: e, onChange: t, renderRow: n, newItem: r, addLabel: i = "Ad
|
|
|
26451
26452
|
})
|
|
26452
26453
|
}, t);
|
|
26453
26454
|
}),
|
|
26454
|
-
/* @__PURE__ */ h(
|
|
26455
|
+
/* @__PURE__ */ h(gr, {
|
|
26455
26456
|
align: "space-between",
|
|
26456
26457
|
blockAlign: "center",
|
|
26457
26458
|
gap: "200",
|
|
@@ -26459,11 +26460,11 @@ function cu({ items: e, onChange: t, renderRow: n, newItem: r, addLabel: i = "Ad
|
|
|
26459
26460
|
variant: "secondary",
|
|
26460
26461
|
size: "sm",
|
|
26461
26462
|
inline: !0,
|
|
26462
|
-
icon: /* @__PURE__ */ m(
|
|
26463
|
+
icon: /* @__PURE__ */ m(je, {}),
|
|
26463
26464
|
disabled: !g,
|
|
26464
26465
|
onClick: () => t([...e, r()]),
|
|
26465
26466
|
children: i
|
|
26466
|
-
}), f != null && /* @__PURE__ */ m(
|
|
26467
|
+
}), f != null && /* @__PURE__ */ m(xr, {
|
|
26467
26468
|
as: "span",
|
|
26468
26469
|
variant: "bodyXs",
|
|
26469
26470
|
tone: "subdued",
|
|
@@ -26495,9 +26496,9 @@ function lu({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
|
|
|
26495
26496
|
onAction: () => d(s),
|
|
26496
26497
|
disabled: i
|
|
26497
26498
|
}] : void 0,
|
|
26498
|
-
children: /* @__PURE__ */ h(
|
|
26499
|
+
children: /* @__PURE__ */ h(hr, {
|
|
26499
26500
|
gap: "400",
|
|
26500
|
-
children: [c != null && /* @__PURE__ */ m(
|
|
26501
|
+
children: [c != null && /* @__PURE__ */ m(on, {
|
|
26501
26502
|
tone: "critical",
|
|
26502
26503
|
children: c
|
|
26503
26504
|
}), l == null ? u : /* @__PURE__ */ h("div", {
|
|
@@ -26515,12 +26516,12 @@ function lu({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
|
|
|
26515
26516
|
}
|
|
26516
26517
|
//#endregion
|
|
26517
26518
|
//#region src/SelectBuilderWorkspace.tsx
|
|
26518
|
-
function uu({ title: e, subtitle: t, backTo: n,
|
|
26519
|
-
var
|
|
26520
|
-
let
|
|
26521
|
-
|
|
26522
|
-
},
|
|
26523
|
-
let e =
|
|
26519
|
+
function uu({ title: e, subtitle: t, backTo: n, onBack: r, onSave: i, saving: a = !1, saveLabel: o = "Salvar", saveDisabled: s = !1, cancelTo: c, onDiscard: u, discardLabel: f = "Descartar", error: g, sections: _ = [], activeId: y, onActiveChange: b, searchable: x = !1, searchPlaceholder: S = "Buscar ajuste…", preview: C, previewLayout: w = "fill", toolbar: T, dirty: E = !1, dirtyLabel: D = "Alterações não salvas", savedLabel: O, reviewLabel: k, layout: A = "rail", panel: j, panelWidth: M, mobileTabs: N }) {
|
|
26520
|
+
var P;
|
|
26521
|
+
let F = v(), I = A === "drill", [L, ee] = d(I ? null : ((P = _[0]) == null ? void 0 : P.id) ?? ""), [te, ne] = d(""), [R, z] = d("panel"), B = y === void 0 ? L : y, V = I ? B == null ? void 0 : _.find((e) => e.id === B) : _.find((e) => e.id === B) ?? _[0], U = (e) => {
|
|
26522
|
+
y === void 0 && ee(e), b == null || b(e);
|
|
26523
|
+
}, re = te.trim().toLowerCase(), G = l(() => {
|
|
26524
|
+
let e = re ? _.filter((e) => (e.title + " " + (e.keywords ?? "") + " " + (e.group ?? "")).toLowerCase().includes(re)) : _, t = [];
|
|
26524
26525
|
for (let n of e) {
|
|
26525
26526
|
let e = t[t.length - 1];
|
|
26526
26527
|
e && e.label === n.group ? e.items.push(n) : t.push({
|
|
@@ -26529,9 +26530,113 @@ function uu({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
|
|
|
26529
26530
|
});
|
|
26530
26531
|
}
|
|
26531
26532
|
return t;
|
|
26532
|
-
}, [
|
|
26533
|
-
|
|
26534
|
-
|
|
26533
|
+
}, [_, re]), q = k != null && k !== "" ? /* @__PURE__ */ h("span", {
|
|
26534
|
+
className: "select-bwork__status select-bwork__status--review",
|
|
26535
|
+
role: "status",
|
|
26536
|
+
children: [/* @__PURE__ */ m(be, {}), k]
|
|
26537
|
+
}) : E ? /* @__PURE__ */ h("span", {
|
|
26538
|
+
className: "select-bwork__dirty",
|
|
26539
|
+
role: "status",
|
|
26540
|
+
children: [/* @__PURE__ */ m("span", {
|
|
26541
|
+
className: "select-bwork__dot",
|
|
26542
|
+
"aria-hidden": "true"
|
|
26543
|
+
}), D]
|
|
26544
|
+
}) : O != null && O !== "" ? /* @__PURE__ */ h("span", {
|
|
26545
|
+
className: "select-bwork__status",
|
|
26546
|
+
role: "status",
|
|
26547
|
+
children: [/* @__PURE__ */ m(Ue, {}), O]
|
|
26548
|
+
}) : null, ae = x ? /* @__PURE__ */ m("div", {
|
|
26549
|
+
className: "select-bwork__search",
|
|
26550
|
+
children: /* @__PURE__ */ m(oa, {
|
|
26551
|
+
value: te,
|
|
26552
|
+
onChange: ne,
|
|
26553
|
+
placeholder: S
|
|
26554
|
+
})
|
|
26555
|
+
}) : null, oe = V ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ h("div", {
|
|
26556
|
+
className: "select-bwork__panelhead",
|
|
26557
|
+
children: [
|
|
26558
|
+
I && /* @__PURE__ */ h("button", {
|
|
26559
|
+
type: "button",
|
|
26560
|
+
className: "select-bwork__backlink",
|
|
26561
|
+
onClick: () => U(null),
|
|
26562
|
+
children: [/* @__PURE__ */ m(ie, {}), "Todas as seções"]
|
|
26563
|
+
}),
|
|
26564
|
+
/* @__PURE__ */ m("h2", {
|
|
26565
|
+
className: "select-bwork__paneltitle",
|
|
26566
|
+
children: V.title
|
|
26567
|
+
}),
|
|
26568
|
+
V.description && /* @__PURE__ */ m("p", {
|
|
26569
|
+
className: "select-bwork__paneldesc",
|
|
26570
|
+
children: V.description
|
|
26571
|
+
})
|
|
26572
|
+
]
|
|
26573
|
+
}), /* @__PURE__ */ m("div", {
|
|
26574
|
+
className: "select-bwork__panelbody",
|
|
26575
|
+
children: V.content
|
|
26576
|
+
})] }) : null, se = /* @__PURE__ */ h("div", {
|
|
26577
|
+
className: "select-bwork__seclist",
|
|
26578
|
+
children: [
|
|
26579
|
+
ae,
|
|
26580
|
+
G.map((e, t) => /* @__PURE__ */ h("div", {
|
|
26581
|
+
className: "select-bwork__secgroup",
|
|
26582
|
+
children: [e.label && /* @__PURE__ */ m("p", {
|
|
26583
|
+
className: "select-bwork__grouplabel",
|
|
26584
|
+
children: e.label
|
|
26585
|
+
}), e.items.map((e) => /* @__PURE__ */ h("button", {
|
|
26586
|
+
type: "button",
|
|
26587
|
+
className: "select-bwork__secitem",
|
|
26588
|
+
onClick: () => U(e.id),
|
|
26589
|
+
children: [
|
|
26590
|
+
e.icon && /* @__PURE__ */ m("span", {
|
|
26591
|
+
className: "select-bwork__secicon",
|
|
26592
|
+
children: /* @__PURE__ */ m(Ji, {
|
|
26593
|
+
size: "1rem",
|
|
26594
|
+
children: e.icon
|
|
26595
|
+
})
|
|
26596
|
+
}),
|
|
26597
|
+
/* @__PURE__ */ h("span", {
|
|
26598
|
+
className: "select-bwork__sectext",
|
|
26599
|
+
children: [/* @__PURE__ */ m("span", {
|
|
26600
|
+
className: "select-bwork__sectitle",
|
|
26601
|
+
children: e.title
|
|
26602
|
+
}), e.summary != null && e.summary !== "" && /* @__PURE__ */ m("span", {
|
|
26603
|
+
className: "select-bwork__secsummary",
|
|
26604
|
+
children: e.summary
|
|
26605
|
+
})]
|
|
26606
|
+
}),
|
|
26607
|
+
e.status != null && /* @__PURE__ */ m("span", {
|
|
26608
|
+
className: "select-bwork__navstatus",
|
|
26609
|
+
children: e.status
|
|
26610
|
+
}),
|
|
26611
|
+
/* @__PURE__ */ m("span", {
|
|
26612
|
+
className: "select-bwork__secchev",
|
|
26613
|
+
"aria-hidden": "true",
|
|
26614
|
+
children: /* @__PURE__ */ m(W, {})
|
|
26615
|
+
})
|
|
26616
|
+
]
|
|
26617
|
+
}, e.id))]
|
|
26618
|
+
}, e.label ?? `_${t}`)),
|
|
26619
|
+
G.length === 0 && /* @__PURE__ */ m("p", {
|
|
26620
|
+
className: "select-bwork__noresult",
|
|
26621
|
+
children: "Nenhuma seção corresponde à busca."
|
|
26622
|
+
})
|
|
26623
|
+
]
|
|
26624
|
+
}), J = w === "document" ? /* @__PURE__ */ m("div", {
|
|
26625
|
+
className: "select-bwork__stage select-bwork__stage--document",
|
|
26626
|
+
children: /* @__PURE__ */ m("div", {
|
|
26627
|
+
className: "select-bwork__doc",
|
|
26628
|
+
children: C
|
|
26629
|
+
})
|
|
26630
|
+
}) : /* @__PURE__ */ m("div", {
|
|
26631
|
+
className: "select-bwork__stage",
|
|
26632
|
+
children: C
|
|
26633
|
+
}), ce = "select-bwork" + (A === "rail" ? "" : " select-bwork--split") + (N ? ` select-bwork--tabs select-bwork--tab-${R}` : ""), le = M ? { "--select-bwork-left": M } : void 0, ue;
|
|
26634
|
+
return ue = A === "single" ? /* @__PURE__ */ m("div", {
|
|
26635
|
+
className: "select-bwork__panelbody",
|
|
26636
|
+
children: j
|
|
26637
|
+
}) : I && !V ? se : oe, /* @__PURE__ */ h("div", {
|
|
26638
|
+
className: ce,
|
|
26639
|
+
style: le,
|
|
26535
26640
|
children: [
|
|
26536
26641
|
/* @__PURE__ */ h("header", {
|
|
26537
26642
|
className: "select-bwork__bar",
|
|
@@ -26539,9 +26644,9 @@ function uu({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
|
|
|
26539
26644
|
/* @__PURE__ */ m("button", {
|
|
26540
26645
|
type: "button",
|
|
26541
26646
|
className: "select-page__back",
|
|
26542
|
-
onClick: () =>
|
|
26647
|
+
onClick: () => r ? r() : F(n || -1),
|
|
26543
26648
|
"aria-label": "Voltar",
|
|
26544
|
-
children: /* @__PURE__ */ m(
|
|
26649
|
+
children: /* @__PURE__ */ m(K, {})
|
|
26545
26650
|
}),
|
|
26546
26651
|
/* @__PURE__ */ h("div", {
|
|
26547
26652
|
className: "select-bwork__ident",
|
|
@@ -26553,70 +26658,82 @@ function uu({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
|
|
|
26553
26658
|
children: t
|
|
26554
26659
|
})]
|
|
26555
26660
|
}),
|
|
26556
|
-
|
|
26661
|
+
T && /* @__PURE__ */ m("div", {
|
|
26557
26662
|
className: "select-bwork__tools",
|
|
26558
|
-
children:
|
|
26663
|
+
children: T
|
|
26559
26664
|
}),
|
|
26560
26665
|
/* @__PURE__ */ h("div", {
|
|
26561
26666
|
className: "select-bwork__actions",
|
|
26562
26667
|
children: [
|
|
26563
|
-
|
|
26564
|
-
|
|
26565
|
-
|
|
26566
|
-
|
|
26567
|
-
|
|
26568
|
-
|
|
26668
|
+
q,
|
|
26669
|
+
u ? E && /* @__PURE__ */ m(H, {
|
|
26670
|
+
inline: !0,
|
|
26671
|
+
size: "sm",
|
|
26672
|
+
variant: "secondary",
|
|
26673
|
+
onClick: u,
|
|
26674
|
+
disabled: a,
|
|
26675
|
+
children: f
|
|
26676
|
+
}) : c && /* @__PURE__ */ m(H, {
|
|
26569
26677
|
inline: !0,
|
|
26570
26678
|
size: "sm",
|
|
26571
26679
|
variant: "secondary",
|
|
26572
|
-
onClick: () =>
|
|
26573
|
-
disabled:
|
|
26680
|
+
onClick: () => F(c),
|
|
26681
|
+
disabled: a,
|
|
26574
26682
|
children: "Cancelar"
|
|
26575
26683
|
}),
|
|
26576
26684
|
/* @__PURE__ */ m(H, {
|
|
26577
26685
|
inline: !0,
|
|
26578
26686
|
size: "sm",
|
|
26579
|
-
onClick:
|
|
26580
|
-
loading:
|
|
26581
|
-
disabled:
|
|
26582
|
-
children:
|
|
26687
|
+
onClick: i,
|
|
26688
|
+
loading: a,
|
|
26689
|
+
disabled: s,
|
|
26690
|
+
children: o
|
|
26583
26691
|
})
|
|
26584
26692
|
]
|
|
26585
26693
|
})
|
|
26586
26694
|
]
|
|
26587
26695
|
}),
|
|
26588
|
-
|
|
26696
|
+
g != null && g !== "" && /* @__PURE__ */ m("div", {
|
|
26589
26697
|
className: "select-bwork__error",
|
|
26590
|
-
children: /* @__PURE__ */ m(
|
|
26698
|
+
children: /* @__PURE__ */ m(on, {
|
|
26591
26699
|
tone: "critical",
|
|
26592
|
-
children:
|
|
26700
|
+
children: g
|
|
26701
|
+
})
|
|
26702
|
+
}),
|
|
26703
|
+
N && /* @__PURE__ */ m("div", {
|
|
26704
|
+
className: "select-bwork__tabs",
|
|
26705
|
+
children: /* @__PURE__ */ m(or, {
|
|
26706
|
+
fullWidth: !0,
|
|
26707
|
+
ariaLabel: "O que ver",
|
|
26708
|
+
value: R,
|
|
26709
|
+
onChange: (e) => z(e),
|
|
26710
|
+
options: [{
|
|
26711
|
+
value: "panel",
|
|
26712
|
+
label: N[0]
|
|
26713
|
+
}, {
|
|
26714
|
+
value: "stage",
|
|
26715
|
+
label: N[1]
|
|
26716
|
+
}]
|
|
26593
26717
|
})
|
|
26594
26718
|
}),
|
|
26595
26719
|
/* @__PURE__ */ h("div", {
|
|
26596
26720
|
className: "select-bwork__body",
|
|
26597
26721
|
children: [
|
|
26598
|
-
/* @__PURE__ */ h("nav", {
|
|
26722
|
+
A === "rail" && /* @__PURE__ */ h("nav", {
|
|
26599
26723
|
className: "select-bwork__rail",
|
|
26600
26724
|
"aria-label": "Seções de configuração",
|
|
26601
|
-
children: [
|
|
26602
|
-
className: "select-bwork__search",
|
|
26603
|
-
children: /* @__PURE__ */ m(oa, {
|
|
26604
|
-
value: O,
|
|
26605
|
-
onChange: k,
|
|
26606
|
-
placeholder: "Buscar ajuste…"
|
|
26607
|
-
})
|
|
26608
|
-
}), /* @__PURE__ */ h("div", {
|
|
26725
|
+
children: [ae, /* @__PURE__ */ h("div", {
|
|
26609
26726
|
className: "select-bwork__navlist",
|
|
26610
|
-
children: [
|
|
26727
|
+
children: [G.map((e, t) => /* @__PURE__ */ h("div", {
|
|
26611
26728
|
className: "select-bwork__group",
|
|
26612
26729
|
children: [e.label && /* @__PURE__ */ m("p", {
|
|
26613
26730
|
className: "select-bwork__grouplabel",
|
|
26614
26731
|
children: e.label
|
|
26615
26732
|
}), e.items.map((e) => /* @__PURE__ */ h("button", {
|
|
26616
26733
|
type: "button",
|
|
26617
|
-
className: "select-bwork__navitem" + (e.id === (
|
|
26618
|
-
onClick: () =>
|
|
26619
|
-
"aria-current": e.id === (
|
|
26734
|
+
className: "select-bwork__navitem" + (e.id === (V == null ? void 0 : V.id) ? " is-active" : ""),
|
|
26735
|
+
onClick: () => U(e.id),
|
|
26736
|
+
"aria-current": e.id === (V == null ? void 0 : V.id) ? "true" : void 0,
|
|
26620
26737
|
children: [
|
|
26621
26738
|
e.icon && /* @__PURE__ */ m("span", {
|
|
26622
26739
|
className: "select-bwork__navicon",
|
|
@@ -26635,7 +26752,7 @@ function uu({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
|
|
|
26635
26752
|
})
|
|
26636
26753
|
]
|
|
26637
26754
|
}, e.id))]
|
|
26638
|
-
}, e.label ??
|
|
26755
|
+
}, e.label ?? `_${t}`)), G.length === 0 && /* @__PURE__ */ m("p", {
|
|
26639
26756
|
className: "select-bwork__noresult",
|
|
26640
26757
|
children: "Nenhuma seção corresponde à busca."
|
|
26641
26758
|
})]
|
|
@@ -26643,31 +26760,10 @@ function uu({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
|
|
|
26643
26760
|
}),
|
|
26644
26761
|
/* @__PURE__ */ m("section", {
|
|
26645
26762
|
className: "select-bwork__panel",
|
|
26646
|
-
"aria-label":
|
|
26647
|
-
children:
|
|
26648
|
-
className: "select-bwork__panelhead",
|
|
26649
|
-
children: [/* @__PURE__ */ m("h2", {
|
|
26650
|
-
className: "select-bwork__paneltitle",
|
|
26651
|
-
children: j.title
|
|
26652
|
-
}), j.description && /* @__PURE__ */ m("p", {
|
|
26653
|
-
className: "select-bwork__paneldesc",
|
|
26654
|
-
children: j.description
|
|
26655
|
-
})]
|
|
26656
|
-
}), /* @__PURE__ */ m("div", {
|
|
26657
|
-
className: "select-bwork__panelbody",
|
|
26658
|
-
children: j.content
|
|
26659
|
-
})] })
|
|
26763
|
+
"aria-label": A === "single" ? e : (V == null ? void 0 : V.title) ?? "Seções",
|
|
26764
|
+
children: ue
|
|
26660
26765
|
}),
|
|
26661
|
-
|
|
26662
|
-
className: "select-bwork__stage select-bwork__stage--document",
|
|
26663
|
-
children: /* @__PURE__ */ m("div", {
|
|
26664
|
-
className: "select-bwork__doc",
|
|
26665
|
-
children: y
|
|
26666
|
-
})
|
|
26667
|
-
}) : /* @__PURE__ */ m("div", {
|
|
26668
|
-
className: "select-bwork__stage",
|
|
26669
|
-
children: y
|
|
26670
|
-
})
|
|
26766
|
+
J
|
|
26671
26767
|
]
|
|
26672
26768
|
})
|
|
26673
26769
|
]
|
|
@@ -26761,7 +26857,7 @@ function fu({ width: e, height: t, edges: n, labels: r = [], pluses: i = [], chi
|
|
|
26761
26857
|
title: e.label,
|
|
26762
26858
|
"aria-label": e.label,
|
|
26763
26859
|
onClick: e.onClick,
|
|
26764
|
-
children: /* @__PURE__ */ m(
|
|
26860
|
+
children: /* @__PURE__ */ m(je, {})
|
|
26765
26861
|
}, e.id))
|
|
26766
26862
|
]
|
|
26767
26863
|
})
|
|
@@ -26769,8 +26865,8 @@ function fu({ width: e, height: t, edges: n, labels: r = [], pluses: i = [], chi
|
|
|
26769
26865
|
}), /* @__PURE__ */ h("div", {
|
|
26770
26866
|
className: "select-flow__zoom",
|
|
26771
26867
|
children: [
|
|
26772
|
-
/* @__PURE__ */ m(
|
|
26773
|
-
icon: /* @__PURE__ */ m(
|
|
26868
|
+
/* @__PURE__ */ m(Mr, {
|
|
26869
|
+
icon: /* @__PURE__ */ m(vt, {}),
|
|
26774
26870
|
label: "Diminuir o zoom",
|
|
26775
26871
|
size: "sm",
|
|
26776
26872
|
disabled: b <= u,
|
|
@@ -26783,8 +26879,8 @@ function fu({ width: e, height: t, edges: n, labels: r = [], pluses: i = [], chi
|
|
|
26783
26879
|
title: "Voltar a 100%",
|
|
26784
26880
|
children: [Math.round(b * 100), "%"]
|
|
26785
26881
|
}),
|
|
26786
|
-
/* @__PURE__ */ m(
|
|
26787
|
-
icon: /* @__PURE__ */ m(
|
|
26882
|
+
/* @__PURE__ */ m(Mr, {
|
|
26883
|
+
icon: /* @__PURE__ */ m(je, {}),
|
|
26788
26884
|
label: "Aumentar o zoom",
|
|
26789
26885
|
size: "sm",
|
|
26790
26886
|
disabled: b >= f,
|
|
@@ -26877,8 +26973,8 @@ function mu({ title: e, subtitle: t, onBack: n, backLabel: r = "Voltar", toolbar
|
|
|
26877
26973
|
/* @__PURE__ */ h("header", {
|
|
26878
26974
|
className: "select-flowpage__bar",
|
|
26879
26975
|
children: [
|
|
26880
|
-
n && /* @__PURE__ */ m(
|
|
26881
|
-
icon: /* @__PURE__ */ m(
|
|
26976
|
+
n && /* @__PURE__ */ m(Mr, {
|
|
26977
|
+
icon: /* @__PURE__ */ m(K, {}),
|
|
26882
26978
|
label: r,
|
|
26883
26979
|
variant: "outline",
|
|
26884
26980
|
onClick: n
|
|
@@ -26905,7 +27001,7 @@ function mu({ title: e, subtitle: t, onBack: n, backLabel: r = "Voltar", toolbar
|
|
|
26905
27001
|
}),
|
|
26906
27002
|
o != null && o !== "" && /* @__PURE__ */ m("div", {
|
|
26907
27003
|
className: "select-flowpage__error",
|
|
26908
|
-
children: /* @__PURE__ */ m(
|
|
27004
|
+
children: /* @__PURE__ */ m(on, {
|
|
26909
27005
|
tone: "critical",
|
|
26910
27006
|
children: o
|
|
26911
27007
|
})
|
|
@@ -26940,7 +27036,7 @@ var hu = r(function({ label: e, checked: t, onChange: n, disabled: r = !1, hint:
|
|
|
26940
27036
|
children: [/* @__PURE__ */ h("div", {
|
|
26941
27037
|
className: "select-switchfield__row",
|
|
26942
27038
|
children: [
|
|
26943
|
-
/* @__PURE__ */ m(
|
|
27039
|
+
/* @__PURE__ */ m(Vn, {
|
|
26944
27040
|
checked: t,
|
|
26945
27041
|
onChange: n,
|
|
26946
27042
|
disabled: r,
|
|
@@ -26953,7 +27049,7 @@ var hu = r(function({ label: e, checked: t, onChange: n, disabled: r = !1, hint:
|
|
|
26953
27049
|
},
|
|
26954
27050
|
children: e
|
|
26955
27051
|
}),
|
|
26956
|
-
a != null && a !== "" && /* @__PURE__ */ m(
|
|
27052
|
+
a != null && a !== "" && /* @__PURE__ */ m(Ut, { content: a })
|
|
26957
27053
|
]
|
|
26958
27054
|
}), i != null && /* @__PURE__ */ m("span", {
|
|
26959
27055
|
className: "select-switchfield__hint",
|
|
@@ -27141,14 +27237,14 @@ function Eu({ label: e, help: t, hint: n, error: r, value: i, onChange: a, prese
|
|
|
27141
27237
|
return /* @__PURE__ */ h("div", {
|
|
27142
27238
|
className: `select-field select-colorfield${l ? " is-disabled" : ""}`,
|
|
27143
27239
|
children: [
|
|
27144
|
-
(e || t) && /* @__PURE__ */ m(
|
|
27240
|
+
(e || t) && /* @__PURE__ */ m(Wt, {
|
|
27145
27241
|
htmlFor: y,
|
|
27146
27242
|
label: e,
|
|
27147
27243
|
help: t
|
|
27148
27244
|
}),
|
|
27149
27245
|
/* @__PURE__ */ h("div", {
|
|
27150
27246
|
className: `select-input-wrap select-input-wrap--affixed select-colorfield__control${A ? " select-input-wrap--error" : ""}`,
|
|
27151
|
-
children: [/* @__PURE__ */ m(
|
|
27247
|
+
children: [/* @__PURE__ */ m(Pn, {
|
|
27152
27248
|
active: b,
|
|
27153
27249
|
onClose: () => x(!1),
|
|
27154
27250
|
placement: "bottom-start",
|
|
@@ -27506,7 +27602,7 @@ var Fu = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
|
|
|
27506
27602
|
ref: u,
|
|
27507
27603
|
...l,
|
|
27508
27604
|
className: `select-imagefield${c ? " " + c : ""}`,
|
|
27509
|
-
children: [/* @__PURE__ */ m(
|
|
27605
|
+
children: [/* @__PURE__ */ m(_n, {
|
|
27510
27606
|
label: e,
|
|
27511
27607
|
mode: "single",
|
|
27512
27608
|
files: f,
|
|
@@ -27548,7 +27644,7 @@ var Fu = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
|
|
|
27548
27644
|
}), /* @__PURE__ */ m("span", {
|
|
27549
27645
|
className: `select-accordion__chevron${t ? " is-open" : ""}`,
|
|
27550
27646
|
"aria-hidden": "true",
|
|
27551
|
-
children: /* @__PURE__ */ m(
|
|
27647
|
+
children: /* @__PURE__ */ m(G, {})
|
|
27552
27648
|
})]
|
|
27553
27649
|
}), /* @__PURE__ */ m("div", {
|
|
27554
27650
|
id: `select-acc-${e.id}`,
|
|
@@ -27568,6 +27664,6 @@ var Fu = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
|
|
|
27568
27664
|
});
|
|
27569
27665
|
});
|
|
27570
27666
|
//#endregion
|
|
27571
|
-
export { C as AUTH_FX_VARIANTS,
|
|
27667
|
+
export { C as AUTH_FX_VARIANTS, Ie as AppleIcon, _t as AppsIcon, K as ArrowLeftIcon, Re as ArrowRightIcon, We as AtIcon, Ne as AuthAppIcon, Tt as AwardIcon, at as BankIcon, Se as BellIcon, Ct as BookIcon, fe as BookmarkIcon, ft as BroadcastIcon, Ke as BuildingIcon, nt as CalendarIcon, yt as CartIcon, ht as ChartLineIcon, Mt as ChatIcon, Ue as CheckCircleIcon, Be as CheckIcon, G as ChevronDownIcon, ie as ChevronLeftIcon, W as ChevronRightIcon, rt as ChevronUpIcon, ct as ClipboardIcon, de as ClockIcon, It as CloseCircleIcon, ce as CloseIcon, se as CopyIcon, Qe as CreditCardIcon, Te as CubeIcon, ut as DiscountIcon, Rt as DocumentTextIcon, le as DotsHorizontalIcon, $e as EditIcon, it as ExportIcon, J as ExternalLinkIcon, Ve as EyeIcon, He as EyeOffIcon, Fe as FacebookIcon, wt as FileDownloadIcon, q as FilterIcon, Pt as FlagIcon, Lt as FlashIcon, re as GithubIcon, ge as GlobeIcon, U as GoogleIcon, ye as HelpIcon, Ye as HomeIcon, ve as InfoIcon, qe as KeyIcon, mt as LinkIcon, Ft as LocationIcon, tt as LockIcon, Pe as MailIcon, bt as MenuIcon, vt as MinusCircleIcon, ke as MobileIcon, st as MoneyReceiveIcon, ot as MoneySendIcon, Oe as MonitorIcon, De as MoonIcon, lt as NoteIcon, Dt as PaletteIcon, Le as PasskeyIcon, kt as PauseIcon, Me as PhoneIcon, pe as PinIcon, St as PlayCircleIcon, je as PlusIcon, jt as ReceiptIcon, Ae as RefreshIcon, At as RefundIcon, we as RocketIcon, mc as SELECT_BR_UF_TILES, Cr as SELECT_CARD_BRANDS, gu as SELECT_COLOR_PRESETS, qa as SELECT_COL_DATETIME, Ja as SELECT_COL_ID, nr as SELECT_COUNTRIES, $l as SELECT_DAILY_PRESETS, Xl as SELECT_DATE_PRESETS, fr as SELECT_SPACE, cr as SELECT_TRANSACTION_STATUS, ae as SearchIcon, Iu as SelectAccordion, La as SelectActionCard, ur as SelectActionList, dr as SelectActionMenu, hn as SelectAddButton, oo as SelectAddCard, on as SelectAlert, Ra as SelectAppTile, B as SelectAuthFx, _i as SelectAvatar, Di as SelectBackLink, sr as SelectBadge, fs as SelectBalanceCard, Bn as SelectBankAccountField, Hs as SelectBarChart, br as SelectBox, Mc as SelectBoxPlot, lu as SelectBuilderLayout, uu as SelectBuilderWorkspace, Tc as SelectBullet, rl as SelectBump, H as SelectButton, Pc as SelectCalendarHeatmap, jc as SelectCandlestick, V as SelectCard, so as SelectCardGrid, Nu as SelectCertificatePreview, Es as SelectChartCard, Xs as SelectChartLegend, Jt as SelectCheckbox, bi as SelectChipInput, Ou as SelectChoiceCard, ku as SelectChoiceCardSkeleton, Au as SelectChoiceGrid, Uc as SelectChord, ul as SelectCirclePack, Pa as SelectCodeBlock, Ia as SelectCollapsible, Eu as SelectColorField, Ys as SelectColumnChart, Gs as SelectComboChart, In as SelectCombobox, Wa as SelectConfirmModal, Ma as SelectCopyRow, Fa as SelectCopyableId, za as SelectCreateTile, ao as SelectDataTable, Ko as SelectDateField, tu as SelectDatePicker, ou as SelectDateRangeField, yl as SelectDetailList, bl as SelectDetailRow, Nr as SelectDisclosureButton, gi as SelectDivider, an as SelectDocumentField, Ks as SelectDonut, S as SelectDotField, Lc as SelectDumbbell, ps as SelectFeeBreakdown, qt as SelectField, Ln as SelectFieldGrid, mn as SelectFileDropzone, sn as SelectFileTile, Zo as SelectFilterBar, ja as SelectFilterChip, fu as SelectFlowCanvas, mu as SelectFlowLayout, pu as SelectFlowNode, zi as SelectFormLayout, Ga as SelectFormModal, oc as SelectFunnel, dc as SelectGauge, zc as SelectGaugeBands, Qc as SelectGlobe, _r as SelectGrid, fc as SelectHeatmap, Wc as SelectHexbin, ko as SelectHideMoneyToggle, Sc as SelectHorizontalBar, sl as SelectIcicle, Ji as SelectIcon, Mr as SelectIconButton, tc as SelectIconTile, Ci as SelectIdentityFooter, Fu as SelectImageField, Cn as SelectImageGalleryField, _n as SelectImageUploadField, gn as SelectImageUrlsField, Il as SelectImageZoomModal, Ut as SelectInfoTip, gr as SelectInline, Ts as SelectInsight, $s as SelectJourney, di as SelectJsonViewer, Vl as SelectKeyValueEditor, ms as SelectKpiCard, Wt as SelectLabelRow, uo as SelectLayoutThumb, Us as SelectLineChart, hi as SelectLinkButton, Ml as SelectListCard, Pl as SelectListLabel, Nl as SelectListRow, Fi as SelectLoader, Rc as SelectMarimekko, Po as SelectMarkStack, Rl as SelectMediaCell, wa as SelectMenu, Aa as SelectMenuButton, ka as SelectMenuDivider, Oa as SelectMenuHeading, Ea as SelectMenuItem, Da as SelectMenuLink, Oo as SelectMetricDelta, ic as SelectMiniStats, Ha as SelectModal, Eo as SelectMoney, en as SelectMoneyField, dl as SelectNetwork, Yi as SelectNote, su as SelectNumberField, Ao as SelectOfferPrice, zl as SelectOfflineModal, xi as SelectOptionList, Si as SelectOptionRow, wi as SelectOtpInput, Ii as SelectPage, la as SelectPagination, Qi as SelectPanel, il as SelectParallel, el as SelectPareto, Pi as SelectPasswordStrength, jr as SelectPaymentBrand, ac as SelectPaymentCard, ir as SelectPhoneField, ec as SelectPips, jl as SelectPlanCard, Fc as SelectPolarArea, Pn as SelectPopover, ds as SelectPreviewFrame, Du as SelectProgressBar, hc as SelectProgressList, nl as SelectPyramid, kc as SelectRadar, _c as SelectRadialBar, ar as SelectRadioGroup, Nc as SelectRangeBar, Mo as SelectRating, No as SelectRatingQuote, co as SelectRecordCard, cu as SelectRepeatingFieldArray, Oi as SelectResendButton, Ai as SelectRetryStatus, Qs as SelectRing, Ua as SelectRowActions, Ac as SelectSankey, Oc as SelectScatter, oa as SelectSearchInput, fl as SelectSearchMenu, ml as SelectSearchMenuOption, $i as SelectSection, or as SelectSegmented, wn as SelectSelect, To as SelectSensitiveValue, Xi as SelectSettingList, Zi as SelectSettingRow, wl as SelectSetupGuide, Tl as SelectSetupNext, Zs as SelectShareBar, aa as SelectSideNav, Ki as SelectSkeleton, Ic as SelectSlope, Bs as SelectSparkline, mo as SelectSplitChain, nc as SelectSpotlight, hr as SelectStack, Ws as SelectStackedArea, lr as SelectStatusBadge, xl as SelectSteps, Bc as SelectStreamGraph, Vc as SelectSunburst, $o as SelectSurface, Vn as SelectSwitch, hu as SelectSwitchField, va as SelectTable, Sa as SelectTableCell, Ca as SelectTableEmpty, xa as SelectTableRow, ea as SelectTabs, Qo as SelectTagSelect, rc as SelectTaskCard, xr as SelectText, Yt as SelectTextarea, _l as SelectThemeSwitcher, Fl as SelectThumbnail, $c as SelectTicker, pc as SelectTileMap, mi as SelectTimeline, os as SelectToastProvider, Hn as SelectToggleList, Wn as SelectTogglePanel, Un as SelectToggleRow, Ht as SelectTooltip, Al as SelectTour, cl as SelectTree, Dc as SelectTreemap, Xt as SelectUnitInput, ba as SelectUserCell, Co as SelectValueVisibilityProvider, ll as SelectVenn, Hc as SelectViolin, tl as SelectWaffle, Cc as SelectWaterfall, Gc as SelectWordCloud, Ba as SelectWorkspaceSwitcher, Ll as SelectZoomThumbnail, _e as SelectorIcon, et as SendIcon, ue as Setting4Icon, Xe as SettingsIcon, ze as ShieldIcon, Nt as SparkleIcon, he as SplitIcon, me as StarIcon, gt as StoreIcon, xt as StorefrontIcon, Ee as SunIcon, Ce as TerminalIcon, dt as TicketDiscountIcon, Je as TrashIcon, pt as TruckIcon, oe as UploadIcon, xe as UserIcon, Et as UsersIcon, Ze as WalletIcon, be as WarningIcon, Ge as Web3Icon, vi as avatarInitials, bu as contrastRatio, Mn as detectSelectTheme, rr as dialCodeOf, vs as formatInsightImpact, yn as galleryItemFromFile, bn as galleryItemFromUrl, Su as hexToHsv, Cu as hsvToHex, vu as normalizeHex, Ni as passwordScore, Na as prettyCode, gl as resolveSelectTheme, Er as selectCardBrand, Dr as selectCardBrandLabel, ro as useSelectPageSize, ss as useSelectToast, wo as useSelectValueVisibility };
|
|
27572
27668
|
|
|
27573
27669
|
//# sourceMappingURL=index.js.map
|