@selectwin/kit 0.1.52 → 0.1.54
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/SelectMenu.d.ts +21 -0
- package/dist/SelectSegmented.d.ts +3 -0
- package/dist/icons.d.ts +4 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +474 -440
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useRef as Y, useEffect as te, forwardRef as P, useState as T, useId as
|
|
|
3
3
|
import Me from "gsap";
|
|
4
4
|
import { createPortal as Et } from "react-dom";
|
|
5
5
|
import { Link as Bl, useNavigate as Fl } from "react-router-dom";
|
|
6
|
-
const
|
|
6
|
+
const on = (t, n, l) => t < n ? n : t > l ? l : t;
|
|
7
7
|
function Il(t, n, l) {
|
|
8
8
|
const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
|
|
9
9
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
|
|
@@ -52,7 +52,7 @@ function ha({ className: t, theme: n, glowTarget: l }) {
|
|
|
52
52
|
if (!A) return;
|
|
53
53
|
const re = A.getBoundingClientRect(), $e = re.left - L + re.width / 2, Ce = re.top - B + re.height / 2, Le = re.width / 2, Ne = re.height / 2, Pe = (X - $e) / (Le + x), we = (pe - Ce) / (Ne + x), Ue = Math.sqrt(Pe * Pe + we * we), He = Ue < 1 ? 1 - Ue : 0, Be = He * He * (3 - 2 * He);
|
|
54
54
|
if (Be > 1e-3 || E > 1e-3) {
|
|
55
|
-
const I =
|
|
55
|
+
const I = on((X - $e) / Math.max(Le, 1), -1, 1) * 10 * Be, V = on((pe - Ce) / Math.max(Ne, 1), -1, 1) * 10 * Be;
|
|
56
56
|
A.style.setProperty("--select-card-glow", Be.toFixed(3)), A.style.setProperty("--select-card-glow-rgb", `${de}, ${me}, ${ue}`), A.style.setProperty("--select-card-glow-x", `${I.toFixed(1)}px`), A.style.setProperty("--select-card-glow-y", `${V.toFixed(1)}px`);
|
|
57
57
|
}
|
|
58
58
|
E = Be;
|
|
@@ -533,7 +533,7 @@ function Kt() {
|
|
|
533
533
|
function be() {
|
|
534
534
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95" }) });
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Zn() {
|
|
537
537
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M9.57 5.93L3.5 12l6.07 6.07M20.5 12H3.67" }) });
|
|
538
538
|
}
|
|
539
539
|
function ga() {
|
|
@@ -555,7 +555,7 @@ function Qt() {
|
|
|
555
555
|
/* @__PURE__ */ e("path", { d: "M22 6.9v4.2c0 3.5-1.4 4.9-4.9 4.9H16v-3.1C16 9.4 14.6 8 11.1 8H8V6.9C8 3.4 9.4 2 12.9 2h4.2C20.6 2 22 3.4 22 6.9z" })
|
|
556
556
|
] });
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function en() {
|
|
559
559
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M13 11l8.2-8.2M22 6.8V2h-4.8M11 2H9C4 2 2 4 2 9v6c0 5 2 7 7 7h6c5 0 7-2 7-7v-2" }) });
|
|
560
560
|
}
|
|
561
561
|
function Ke() {
|
|
@@ -610,16 +610,23 @@ function Bt() {
|
|
|
610
610
|
/* @__PURE__ */ e("path", { d: "M11.995 16h.009" })
|
|
611
611
|
] });
|
|
612
612
|
}
|
|
613
|
+
function $a() {
|
|
614
|
+
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
615
|
+
/* @__PURE__ */ e("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z" }),
|
|
616
|
+
/* @__PURE__ */ e("path", { d: "M9.95 9.55c0-1.13.92-2.05 2.05-2.05s2.05.92 2.05 2.05c0 1.06-.72 1.6-1.35 1.95-.44.25-.7.6-.7 1.15v.35" }),
|
|
617
|
+
/* @__PURE__ */ e("path", { d: "M11.995 16h.009" })
|
|
618
|
+
] });
|
|
619
|
+
}
|
|
613
620
|
function Ul() {
|
|
614
621
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
615
622
|
/* @__PURE__ */ e("path", { d: "M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z" }),
|
|
616
623
|
/* @__PURE__ */ e("path", { d: "M11.995 17h.009" })
|
|
617
624
|
] });
|
|
618
625
|
}
|
|
619
|
-
function
|
|
626
|
+
function wa() {
|
|
620
627
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10ZM20.59 22c0-3.87-3.85-7-8.59-7s-8.59 3.13-8.59 7" }) });
|
|
621
628
|
}
|
|
622
|
-
function
|
|
629
|
+
function ka() {
|
|
623
630
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
624
631
|
/* @__PURE__ */ e("path", { d: "M12.02 2.91c-3.31 0-6 2.69-6 6v2.89c0 .61-.26 1.54-.57 2.06L4.3 15.77c-.71 1.18-.22 2.49 1.08 2.93 4.31 1.44 8.96 1.44 13.27 0 1.21-.4 1.74-1.83 1.08-2.93l-1.15-1.91c-.3-.52-.56-1.45-.56-2.06V8.91c0-3.3-2.7-6-6-6Z" }),
|
|
625
632
|
/* @__PURE__ */ e("path", { d: "M13.87 3.2a6.754 6.754 0 0 0-3.7 0c.29-.74 1.01-1.26 1.85-1.26.84 0 1.56.52 1.85 1.26Z" }),
|
|
@@ -632,7 +639,7 @@ function Yl() {
|
|
|
632
639
|
/* @__PURE__ */ e("path", { d: "M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7ZM2.23 8.01 21.45 8" })
|
|
633
640
|
] });
|
|
634
641
|
}
|
|
635
|
-
function
|
|
642
|
+
function Sa() {
|
|
636
643
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
637
644
|
/* @__PURE__ */ e("path", { d: "M5 15c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.8-.9.8-2.2 0-3a2.1 2.1 0 0 0-3 0Z" }),
|
|
638
645
|
/* @__PURE__ */ e("path", { d: "M9 12a13 13 0 0 1 9-9 13 13 0 0 1-9 9Z" }),
|
|
@@ -670,25 +677,25 @@ function Jl() {
|
|
|
670
677
|
function Je() {
|
|
671
678
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 12h12M12 18V6" }) });
|
|
672
679
|
}
|
|
673
|
-
function
|
|
680
|
+
function Ca() {
|
|
674
681
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
675
682
|
/* @__PURE__ */ e("path", { d: "M17 6v10c0 4-1 5-5 5H6c-4 0-5-1-5-5V6c0-4 1-5 5-5h6c4 0 5 1 5 5ZM11 4.5H7" }),
|
|
676
683
|
/* @__PURE__ */ e("path", { d: "M9 18.1A1.55 1.55 0 1 0 9 15a1.55 1.55 0 0 0 0 3.1Z" })
|
|
677
684
|
] });
|
|
678
685
|
}
|
|
679
|
-
function
|
|
686
|
+
function La() {
|
|
680
687
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
681
688
|
/* @__PURE__ */ e("path", { d: "M20.75 13.25c0 4.83-3.92 8.75-8.75 8.75s-8.75-3.92-8.75-8.75S7.17 4.5 12 4.5s8.75 3.92 8.75 8.75ZM12 8v5" }),
|
|
682
689
|
/* @__PURE__ */ e("path", { d: "M9 2h6" })
|
|
683
690
|
] });
|
|
684
691
|
}
|
|
685
|
-
function
|
|
692
|
+
function Aa() {
|
|
686
693
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
687
694
|
/* @__PURE__ */ e("path", { d: "M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z" }),
|
|
688
695
|
/* @__PURE__ */ e("path", { d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
689
696
|
] });
|
|
690
697
|
}
|
|
691
|
-
function
|
|
698
|
+
function Ea() {
|
|
692
699
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
693
700
|
"path",
|
|
694
701
|
{
|
|
@@ -697,20 +704,20 @@ function Aa() {
|
|
|
697
704
|
}
|
|
698
705
|
) });
|
|
699
706
|
}
|
|
700
|
-
function
|
|
707
|
+
function Ba() {
|
|
701
708
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M17.05 12.54c-.02-2.05 1.68-3.03 1.75-3.08-.95-1.4-2.44-1.59-2.97-1.61-1.26-.13-2.47.74-3.11.74-.64 0-1.63-.72-2.69-.7-1.38.02-2.66.8-3.37 2.04-1.44 2.5-.37 6.19 1.03 8.22.69.99 1.5 2.1 2.57 2.06 1.03-.04 1.42-.66 2.66-.66 1.24 0 1.59.66 2.68.64 1.11-.02 1.81-1 2.49-2 .78-1.15 1.1-2.26 1.12-2.32-.02-.01-2.15-.83-2.17-3.27ZM15.1 6.34c.56-.69.94-1.63.84-2.59-.81.03-1.8.54-2.39 1.22-.52.6-.98 1.57-.86 2.49.91.07 1.84-.46 2.41-1.12Z" }) });
|
|
702
709
|
}
|
|
703
|
-
function
|
|
710
|
+
function Fa() {
|
|
704
711
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
705
712
|
/* @__PURE__ */ e("path", { d: "M12 14.88c-.91 0-1.65-.74-1.65-1.65v-2.47c0-.91.74-1.65 1.65-1.65.91 0 1.65.74 1.65 1.65v2.47c0 .91-.74 1.65-1.65 1.65Z" }),
|
|
706
713
|
/* @__PURE__ */ e("path", { d: "M16.98 13.47c-.2 2.58-2.36 4.6-4.98 4.6-2.76 0-5-2.24-5-5v-2.14c0-2.76 2.24-5 5-5 2.59 0 4.72 1.97 4.97 4.49" }),
|
|
707
714
|
/* @__PURE__ */ e("path", { d: "M15 2h2c3 0 5 2 5 5v2M2 9V7c0-3 2-5 5-5h2M15 22h2c3 0 5-2 5-5v-2M2 15v2c0 3 2 5 5 5h2" })
|
|
708
715
|
] });
|
|
709
716
|
}
|
|
710
|
-
function
|
|
717
|
+
function Ia() {
|
|
711
718
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M14.43 5.93L20.5 12l-6.07 6.07M3.5 12h16.83" }) });
|
|
712
719
|
}
|
|
713
|
-
function
|
|
720
|
+
function Pa() {
|
|
714
721
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
715
722
|
/* @__PURE__ */ e("path", { d: "M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z" }),
|
|
716
723
|
/* @__PURE__ */ e("path", { d: "m9.05 11.87 1.61 1.61 4.3-4.3" })
|
|
@@ -738,23 +745,23 @@ function Ql() {
|
|
|
738
745
|
/* @__PURE__ */ e("path", { d: "m7.75 12 2.83 2.83 5.67-5.66" })
|
|
739
746
|
] });
|
|
740
747
|
}
|
|
741
|
-
function
|
|
748
|
+
function Ra() {
|
|
742
749
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
743
750
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "4" }),
|
|
744
751
|
/* @__PURE__ */ e("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.9 7.9" })
|
|
745
752
|
] });
|
|
746
753
|
}
|
|
747
|
-
function
|
|
754
|
+
function Da() {
|
|
748
755
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M16.29 2.15H7.7C6 2.15 5.25 3 4.79 4.04L2.23 9.8c-.46 1.04-.21 2.59.56 3.43l6.86 7.54c1.3 1.42 3.42 1.42 4.71 0l6.85-7.55c.77-.85 1.02-2.39.55-3.43L19.2 4.03c-.46-1.03-1.21-1.88-2.91-1.88ZM3.5 8h17" }) });
|
|
749
756
|
}
|
|
750
|
-
function
|
|
757
|
+
function Ta() {
|
|
751
758
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
752
759
|
/* @__PURE__ */ e("path", { d: "M6.7 18H4.15C2.72 18 2 17.28 2 15.85V4.15C2 2.72 2.72 2 4.15 2h4.3c1.43 0 2.15.72 2.15 2.15V6" }),
|
|
753
760
|
/* @__PURE__ */ e("path", { d: "M17.37 8.42v11.16c0 1.61-.8 2.42-2.41 2.42H9.12c-1.61 0-2.42-.81-2.42-2.42V8.42C6.7 6.81 7.51 6 9.12 6h5.84c1.61 0 2.41.81 2.41 2.42Z" }),
|
|
754
761
|
/* @__PURE__ */ e("path", { d: "M13.4 6V4.15c0-1.43.72-2.15 2.15-2.15h4.3C21.28 2 22 2.72 22 4.15v11.7c0 1.43-.72 2.15-2.15 2.15h-2.48M10 11h4M10 14h4M12 22v-3" })
|
|
755
762
|
] });
|
|
756
763
|
}
|
|
757
|
-
function
|
|
764
|
+
function Wa() {
|
|
758
765
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
759
766
|
/* @__PURE__ */ e("path", { d: "M19.79 14.93a7.575 7.575 0 0 1-7.6 1.87l-4.71 4.7c-.34.35-1.01.56-1.49.49l-2.18-.3c-.72-.1-1.39-.78-1.5-1.5l-.3-2.18c-.07-.48.16-1.15.49-1.49l4.7-4.7c-.8-2.6-.18-5.55 1.88-7.6 2.95-2.95 7.74-2.95 10.7 0 2.96 2.95 2.96 7.76.01 10.71ZM6.89 17.49l2.3 2.3" }),
|
|
760
767
|
/* @__PURE__ */ e("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })
|
|
@@ -763,7 +770,7 @@ function Ta() {
|
|
|
763
770
|
function zn() {
|
|
764
771
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5" }) });
|
|
765
772
|
}
|
|
766
|
-
function
|
|
773
|
+
function Oa() {
|
|
767
774
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m9.02 2.84-5.39 4.2C2.73 7.74 2 9.23 2 10.36v7.41c0 2.32 1.89 4.22 4.21 4.22h11.58c2.32 0 4.21-1.9 4.21-4.21V10.5c0-1.21-.81-2.76-1.8-3.45l-6.18-4.33c-1.4-.98-3.65-.93-5 .12ZM12 17.99v-3" }) });
|
|
768
775
|
}
|
|
769
776
|
function ec() {
|
|
@@ -772,29 +779,29 @@ function ec() {
|
|
|
772
779
|
/* @__PURE__ */ e("path", { d: "M2 12.88v-1.76c0-1.04.85-1.9 1.9-1.9 1.81 0 2.55-1.28 1.64-2.85-.52-.9-.21-2.07.7-2.59l1.73-.99c.79-.47 1.81-.19 2.28.6l.11.19c.9 1.57 2.38 1.57 3.29 0l.11-.19c.47-.79 1.49-1.07 2.28-.6l1.73.99c.91.52 1.22 1.69.7 2.59-.91 1.57-.17 2.85 1.64 2.85 1.04 0 1.9.85 1.9 1.9v1.76c0 1.04-.85 1.9-1.9 1.9-1.81 0-2.55 1.28-1.64 2.85.52.91.21 2.07-.7 2.59l-1.73.99c-.79.47-1.81.19-2.28-.6l-.11-.19c-.9-1.57-2.38-1.57-3.29 0l-.11.19c-.47.79-1.49 1.07-2.28.6l-1.73-.99a1.899 1.899 0 0 1-.7-2.59c.91-1.57.17-2.85-1.64-2.85-1.05 0-1.9-.86-1.9-1.9Z" })
|
|
773
780
|
] });
|
|
774
781
|
}
|
|
775
|
-
function
|
|
782
|
+
function Ha() {
|
|
776
783
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
777
784
|
/* @__PURE__ */ e("path", { d: "M13 11.15H7M2 11.15V6.53c0-2.04 1.65-3.69 3.69-3.69h5.62c2.04 0 3.69 1.27 3.69 3.31" }),
|
|
778
785
|
/* @__PURE__ */ e("path", { d: "M17.48 12.2c-.5.48-.74 1.22-.54 1.98.25.93 1.17 1.52 2.13 1.52H20v1.45c0 2.21-1.79 4-4 4H6c-2.21 0-4-1.79-4-4v-7c0-2.21 1.79-4 4-4h10c2.2 0 4 1.8 4 4v1.45h-1.08c-.56 0-1.07.22-1.44.6Z" }),
|
|
779
786
|
/* @__PURE__ */ e("path", { d: "M22 12.62v2.06c0 .56-.46 1.02-1.03 1.02h-1.93c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6h2.05c.57 0 1.03.46 1.03 1.02Z" })
|
|
780
787
|
] });
|
|
781
788
|
}
|
|
782
|
-
function
|
|
789
|
+
function ja() {
|
|
783
790
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
784
791
|
/* @__PURE__ */ e("path", { d: "M2 8.505h20M6 16.505h2M10.5 16.505h4" }),
|
|
785
792
|
/* @__PURE__ */ e("path", { d: "M6.44 3.505h11.11c3.56 0 4.45.88 4.45 4.39v8.21c0 3.51-.89 4.39-4.44 4.39H6.44c-3.55.01-4.44-.87-4.44-4.38v-8.22c0-3.51.89-4.39 4.44-4.39Z" })
|
|
786
793
|
] });
|
|
787
794
|
}
|
|
788
|
-
function
|
|
795
|
+
function Va() {
|
|
789
796
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
790
797
|
/* @__PURE__ */ e("path", { d: "m13.26 3.6-8.21 8.69c-.31.33-.61.98-.67 1.43l-.37 3.24c-.13 1.17.71 1.97 1.87 1.77l3.22-.55c.45-.08 1.08-.41 1.39-.75l8.21-8.69c1.42-1.5 2.06-3.21-.15-5.3-2.2-2.07-3.87-1.34-5.29.16Z" }),
|
|
791
798
|
/* @__PURE__ */ e("path", { d: "M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18" })
|
|
792
799
|
] });
|
|
793
800
|
}
|
|
794
|
-
function
|
|
801
|
+
function Za() {
|
|
795
802
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m7.4 6.32 8.49-2.83c3.81-1.27 5.88.81 4.62 4.62l-2.83 8.49c-1.9 5.71-5.02 5.71-6.92 0l-.84-2.52-2.52-.84c-5.71-1.9-5.71-5.01 0-6.92ZM10.11 13.65l3.58-3.59" }) });
|
|
796
803
|
}
|
|
797
|
-
function
|
|
804
|
+
function Ga() {
|
|
798
805
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
799
806
|
/* @__PURE__ */ e("path", { d: "M6 10V8c0-3.31 1-6 6-6s6 2.69 6 6v2M12 18.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z" }),
|
|
800
807
|
/* @__PURE__ */ e("path", { d: "M17 22H7c-4 0-5-1-5-5v-2c0-4 1-5 5-5h10c4 0 5 1 5 5v2c0 4-1 5-5 5Z" })
|
|
@@ -809,7 +816,7 @@ function Xn() {
|
|
|
809
816
|
function Kn() {
|
|
810
817
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52" }) });
|
|
811
818
|
}
|
|
812
|
-
function
|
|
819
|
+
function Ua() {
|
|
813
820
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M9.32 6.5l2.56-2.56 2.56 2.56M11.88 14.18V4.01M4 12c0 4.42 3 8 8 8s8-3.58 8-8" }) });
|
|
814
821
|
}
|
|
815
822
|
function tc() {
|
|
@@ -824,35 +831,35 @@ function nc() {
|
|
|
824
831
|
/* @__PURE__ */ e("path", { d: "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" })
|
|
825
832
|
] });
|
|
826
833
|
}
|
|
827
|
-
function
|
|
834
|
+
function Ya() {
|
|
828
835
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
829
836
|
/* @__PURE__ */ e("path", { d: "m3.989 14.66-1.52-1.52c-.62-.62-.62-1.64 0-2.26l1.52-1.52c.26-.26.47-.77.47-1.13V6.08c0-.88.72-1.6 1.6-1.6h2.15c.36 0 .87-.21 1.13-.47l1.52-1.52c.62-.62 1.64-.62 2.26 0l1.52 1.52c.26.26.77.47 1.13.47h2.15c.88 0 1.6.72 1.6 1.6v2.15c0 .36.21.87.47 1.13l1.52 1.52c.62.62.62 1.64 0 2.26l-1.52 1.52c-.26.26-.47.77-.47 1.13v2.15c0 .88-.72 1.6-1.6 1.6h-2.15c-.36 0-.87.21-1.13.47l-1.52 1.52c-.62.62-1.64.62-2.26 0l-1.52-1.52c-.26-.26-.77-.47-1.13-.47h-2.15c-.88 0-1.6-.72-1.6-1.6v-2.15c0-.37-.21-.88-.47-1.13ZM9 15l6-6" }),
|
|
830
837
|
/* @__PURE__ */ e("path", { d: "M14.495 14.5h.009M9.495 9.5h.008" })
|
|
831
838
|
] });
|
|
832
839
|
}
|
|
833
|
-
function
|
|
840
|
+
function qa() {
|
|
834
841
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
835
842
|
/* @__PURE__ */ e("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }),
|
|
836
843
|
/* @__PURE__ */ e("path", { d: "m5 17 4.59-5.36c.76-.88 2.11-.94 2.93-.11l.95.95c.82.82 2.17.77 2.93-.11L21 7" })
|
|
837
844
|
] });
|
|
838
845
|
}
|
|
839
|
-
function
|
|
846
|
+
function za() {
|
|
840
847
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
841
848
|
/* @__PURE__ */ e("path", { d: "M3.01 11.22v4.49C3.01 20.2 4.81 22 9.3 22h5.39c4.49 0 6.29-1.8 6.29-6.29v-4.49" }),
|
|
842
849
|
/* @__PURE__ */ e("path", { d: "M12 12c1.83 0 3.18-1.49 3-3.32L14.34 2H9.67L9 8.68C8.82 10.51 10.17 12 12 12Z" }),
|
|
843
850
|
/* @__PURE__ */ e("path", { d: "M18.31 12c2.02 0 3.5-1.64 3.3-3.65l-.28-2.75C20.97 3 19.97 2 17.35 2H14.3l.7 7.01c.17 1.65 1.66 2.99 3.31 2.99ZM5.64 12c1.65 0 3.14-1.34 3.3-2.99l.22-2.21.48-4.8H6.59C3.97 2 2.97 3 2.61 5.6l-.27 2.75C2.14 10.36 3.62 12 5.64 12ZM12 17c-1.67 0-2.5.83-2.5 2.5V22h5v-2.5c0-1.67-.83-2.5-2.5-2.5Z" })
|
|
844
851
|
] });
|
|
845
852
|
}
|
|
846
|
-
function
|
|
853
|
+
function Xa() {
|
|
847
854
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3H5C3 2 2 3 2 5v2c0 2 1 3 3 3ZM17 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM17 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM5 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3H5c-2 0-3 1-3 3v2c0 2 1 3 3 3Z" }) });
|
|
848
855
|
}
|
|
849
|
-
function
|
|
856
|
+
function Ka() {
|
|
850
857
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M11.92 22c5.5 0 10-4.5 10-10s-4.5-10-10-10-10 4.5-10 10 4.5 10 10 10ZM7.92 12h8" }) });
|
|
851
858
|
}
|
|
852
|
-
function
|
|
859
|
+
function Ja() {
|
|
853
860
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M3 7h18M3 12h18M3 17h18" }) });
|
|
854
861
|
}
|
|
855
|
-
function
|
|
862
|
+
function Qa() {
|
|
856
863
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
857
864
|
/* @__PURE__ */ e("path", { d: "M13 22H5c-2 0-3-1-3-3v-8c0-2 1-3 3-3h5v11c0 2 1 3 3 3ZM10.11 4c-.08.3-.11.63-.11 1v3H5V6c0-1.1.9-2 2-2h3.11ZM14 8v5M18 8v5M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1ZM6 13v4" }),
|
|
858
865
|
/* @__PURE__ */ e("path", { d: "M10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z" })
|
|
@@ -944,7 +951,7 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
944
951
|
] }),
|
|
945
952
|
d ? /* @__PURE__ */ e("p", { id: `${R}-err`, className: "select-field__error", children: d }) : r ? /* @__PURE__ */ e("p", { id: `${R}-hint`, className: "select-field__hint", children: r }) : null
|
|
946
953
|
] });
|
|
947
|
-
}),
|
|
954
|
+
}), er = P(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: o, className: i, ...r }, d) {
|
|
948
955
|
return /* @__PURE__ */ m("span", { ref: d, ...r, className: `select-checkbox-field${s ? " select-checkbox-field--disabled" : ""}${i ? " " + i : ""}`, children: [
|
|
949
956
|
/* @__PURE__ */ m("label", { className: "select-checkbox", children: [
|
|
950
957
|
/* @__PURE__ */ e(
|
|
@@ -962,7 +969,7 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
962
969
|
] }),
|
|
963
970
|
a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
|
|
964
971
|
] });
|
|
965
|
-
}),
|
|
972
|
+
}), tr = P(function({ label: n, value: l, onChange: c, labelAction: s, info: a, description: o, hint: i, error: r, placeholder: d, rows: h = 4, mono: u, name: f, required: g, disabled: v, maxLength: x, onBlur: N, size: k = "md", className: _, ...p }, b) {
|
|
966
973
|
const S = ne(), $ = r ? `${S}-err` : i ? `${S}-hint` : void 0;
|
|
967
974
|
return /* @__PURE__ */ m("div", { ref: b, ...p, className: `select-field${k === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`, children: [
|
|
968
975
|
(n || a || s) && /* @__PURE__ */ e(lt, { htmlFor: S, label: n, info: a, action: s }),
|
|
@@ -987,7 +994,7 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
987
994
|
),
|
|
988
995
|
r ? /* @__PURE__ */ e("p", { id: `${S}-err`, className: "select-field__error", children: r }) : i ? /* @__PURE__ */ e("p", { id: `${S}-hint`, className: "select-field__hint", children: i }) : null
|
|
989
996
|
] });
|
|
990
|
-
}),
|
|
997
|
+
}), nr = P(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: o, error: i, placeholder: r = "0", disabled: d = !1, min: h, max: u, className: f, ...g }, v) {
|
|
991
998
|
const x = ne();
|
|
992
999
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${f ? " " + f : ""}`, children: [
|
|
993
1000
|
n && /* @__PURE__ */ e(lt, { htmlFor: x, label: n, info: a }),
|
|
@@ -1011,11 +1018,11 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1011
1018
|
] }),
|
|
1012
1019
|
i ? /* @__PURE__ */ e("p", { className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: o }) : null
|
|
1013
1020
|
] });
|
|
1014
|
-
}),
|
|
1021
|
+
}), dn = new Intl.NumberFormat("pt-BR", {
|
|
1015
1022
|
minimumFractionDigits: 2,
|
|
1016
1023
|
maximumFractionDigits: 2
|
|
1017
1024
|
}), Tt = (t) => t.replace(/\D/g, "");
|
|
1018
|
-
function
|
|
1025
|
+
function un(t, n) {
|
|
1019
1026
|
if (n <= 0) return t.length;
|
|
1020
1027
|
let l = 0;
|
|
1021
1028
|
for (let c = t.length - 1; c >= 0; c--) {
|
|
@@ -1024,15 +1031,15 @@ function dn(t, n) {
|
|
|
1024
1031
|
}
|
|
1025
1032
|
return 0;
|
|
1026
1033
|
}
|
|
1027
|
-
const
|
|
1028
|
-
const x = ne(), N = Y(null), k = Y(null), _ = l == null ? "" :
|
|
1034
|
+
const lr = P(function({ label: n, value: l, onChange: c, info: s, hint: a, error: o, onBlur: i, placeholder: r = "0,00", name: d, disabled: h = !1, size: u = "md", className: f, ...g }, v) {
|
|
1035
|
+
const x = ne(), N = Y(null), k = Y(null), _ = l == null ? "" : dn.format(l / 100);
|
|
1029
1036
|
Ee(() => {
|
|
1030
1037
|
const b = N.current;
|
|
1031
1038
|
if (!b || k.current == null) return;
|
|
1032
1039
|
const S = k.current;
|
|
1033
1040
|
if (k.current = null, document.activeElement !== b) return;
|
|
1034
1041
|
b.value !== _ && (b.value = _);
|
|
1035
|
-
const $ =
|
|
1042
|
+
const $ = un(b.value, S);
|
|
1036
1043
|
b.setSelectionRange($, $);
|
|
1037
1044
|
});
|
|
1038
1045
|
const p = (b) => {
|
|
@@ -1042,7 +1049,7 @@ const nr = P(function({ label: n, value: l, onChange: c, info: s, hint: a, error
|
|
|
1042
1049
|
const E = b.nativeEvent.inputType;
|
|
1043
1050
|
E === "deleteContentBackward" && w ? w = w.slice(0, -1) : E === "deleteContentForward" && y && (y = y.slice(1));
|
|
1044
1051
|
}
|
|
1045
|
-
const C = w + y, L = C ? parseInt(C, 10) : 0, B =
|
|
1052
|
+
const C = w + y, L = C ? parseInt(C, 10) : 0, B = dn.format(L / 100), A = un(B, y.length);
|
|
1046
1053
|
S.value = B, S.setSelectionRange(A, A), k.current = y.length, c(L);
|
|
1047
1054
|
};
|
|
1048
1055
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${u === "sm" ? " select-field--sm" : ""}${f ? " " + f : ""}`, children: [
|
|
@@ -1077,18 +1084,18 @@ const nr = P(function({ label: n, value: l, onChange: c, info: s, hint: a, error
|
|
|
1077
1084
|
o ? /* @__PURE__ */ e("p", { className: "select-field__error", children: o }) : a ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: a }) : null
|
|
1078
1085
|
] });
|
|
1079
1086
|
});
|
|
1080
|
-
function
|
|
1087
|
+
function tn(t) {
|
|
1081
1088
|
return (t ?? "").replace(/\D/g, "");
|
|
1082
1089
|
}
|
|
1083
1090
|
function lc(t) {
|
|
1084
|
-
const n =
|
|
1091
|
+
const n = tn(t);
|
|
1085
1092
|
return n.length === 11 ? "CPF" : n.length === 14 ? "CNPJ" : "";
|
|
1086
1093
|
}
|
|
1087
1094
|
function cc(t) {
|
|
1088
|
-
const n =
|
|
1095
|
+
const n = tn(t).slice(0, 14);
|
|
1089
1096
|
return n.length <= 11 ? n.replace(/^(\d{3})(\d)/, "$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1-$2") : n.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2");
|
|
1090
1097
|
}
|
|
1091
|
-
function
|
|
1098
|
+
function cr({
|
|
1092
1099
|
label: t = "CPF/CNPJ",
|
|
1093
1100
|
value: n,
|
|
1094
1101
|
onChange: l,
|
|
@@ -1104,7 +1111,7 @@ function lr({
|
|
|
1104
1111
|
{
|
|
1105
1112
|
label: t,
|
|
1106
1113
|
value: cc(n),
|
|
1107
|
-
onChange: (d) => l(
|
|
1114
|
+
onChange: (d) => l(tn(d)),
|
|
1108
1115
|
inputMode: "numeric",
|
|
1109
1116
|
autoComplete: "off",
|
|
1110
1117
|
maxLength: 18,
|
|
@@ -1179,7 +1186,7 @@ function ll(t) {
|
|
|
1179
1186
|
return t;
|
|
1180
1187
|
}
|
|
1181
1188
|
}
|
|
1182
|
-
const
|
|
1189
|
+
const sr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: o, hint: i, className: r, ...d }, h) {
|
|
1183
1190
|
const u = Y(null), [f, g] = T(!1), [v, x] = T(0), N = s * 1024 * 1024, k = ye(() => n.map((C) => el(C) ? URL.createObjectURL(C) : null), [n]);
|
|
1184
1191
|
te(
|
|
1185
1192
|
() => () => {
|
|
@@ -1275,7 +1282,7 @@ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1275
1282
|
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(Je, {}) }),
|
|
1276
1283
|
n
|
|
1277
1284
|
] });
|
|
1278
|
-
}),
|
|
1285
|
+
}), ar = P(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: o, className: i, ...r }, d) {
|
|
1279
1286
|
const [h, u] = T(""), [f, g] = T(null), v = s != null && l.length >= s, x = () => {
|
|
1280
1287
|
const _ = h.trim();
|
|
1281
1288
|
if (_) {
|
|
@@ -1591,7 +1598,7 @@ const oc = [
|
|
|
1591
1598
|
"textarea:not([disabled])",
|
|
1592
1599
|
'[tabindex]:not([tabindex="-1"])'
|
|
1593
1600
|
].join(",");
|
|
1594
|
-
function
|
|
1601
|
+
function hn(t) {
|
|
1595
1602
|
return Array.from(t.querySelectorAll(oc)).filter(
|
|
1596
1603
|
(n) => n.offsetWidth > 0 || n.offsetHeight > 0 || n === document.activeElement
|
|
1597
1604
|
);
|
|
@@ -1601,10 +1608,10 @@ function ic(t, n) {
|
|
|
1601
1608
|
if (!t) return;
|
|
1602
1609
|
const l = n.current;
|
|
1603
1610
|
if (!l) return;
|
|
1604
|
-
(
|
|
1611
|
+
(hn(l)[0] ?? l).focus({ preventScroll: !0 });
|
|
1605
1612
|
const s = (a) => {
|
|
1606
1613
|
if (a.key !== "Tab") return;
|
|
1607
|
-
const o =
|
|
1614
|
+
const o = hn(l);
|
|
1608
1615
|
if (o.length === 0) {
|
|
1609
1616
|
a.preventDefault();
|
|
1610
1617
|
return;
|
|
@@ -1788,7 +1795,7 @@ function mc(t) {
|
|
|
1788
1795
|
const n = t.replace(/[^\d-]/g, ""), [l = "", ...c] = n.split("-");
|
|
1789
1796
|
return c.length ? `${l}-${c.join("").replace(/\D/g, "").slice(0, 2)}` : l;
|
|
1790
1797
|
}
|
|
1791
|
-
const
|
|
1798
|
+
const rr = P(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: o, ...i }, r) {
|
|
1792
1799
|
const d = (u) => l({ ...n, ...u }), h = c.map((u) => ({ label: u.name || u.code, value: u.code }));
|
|
1793
1800
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-stack${o ? " " + o : ""}`, children: [
|
|
1794
1801
|
/* @__PURE__ */ e(
|
|
@@ -1831,20 +1838,20 @@ const ar = P(function({ value: n, onChange: l, banks: c = [], showType: s = !1,
|
|
|
1831
1838
|
}
|
|
1832
1839
|
)
|
|
1833
1840
|
] });
|
|
1834
|
-
}),
|
|
1841
|
+
}), nn = P(function({ checked: n, onChange: l, disabled: c = !1, label: s, className: a, ...o }, i) {
|
|
1835
1842
|
return /* @__PURE__ */ e("button", { ref: i, ...o, type: "button", role: "switch", "aria-checked": n, "aria-label": s, disabled: c, className: `select-switch${n ? " select-switch--on" : ""}${a ? " " + a : ""}`, onClick: () => l(!n), children: /* @__PURE__ */ e("span", { className: "select-switch__knob", "aria-hidden": "true" }) });
|
|
1836
|
-
}),
|
|
1843
|
+
}), or = P(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
|
|
1837
1844
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-togglelist${l ? " select-togglelist--scroll" : ""}${c ? " " + c : ""}`, children: n });
|
|
1838
|
-
}),
|
|
1845
|
+
}), ir = P(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: o, ...i }, r) {
|
|
1839
1846
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-togglerow${a ? " select-togglerow--disabled" : ""}${o ? " " + o : ""}`, children: [
|
|
1840
1847
|
n && /* @__PURE__ */ e("span", { className: "select-togglerow__icon", children: n }),
|
|
1841
1848
|
/* @__PURE__ */ e("span", { className: "select-togglerow__label", children: l }),
|
|
1842
|
-
/* @__PURE__ */ e(
|
|
1849
|
+
/* @__PURE__ */ e(nn, { checked: c, onChange: s, disabled: a, label: typeof l == "string" ? l : void 0 })
|
|
1843
1850
|
] });
|
|
1844
|
-
}),
|
|
1851
|
+
}), dr = P(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: o = !1, className: i, ...r }, d) {
|
|
1845
1852
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-togglepanel${c ? " is-on" : ""}${i ? " " + i : ""}`, children: [
|
|
1846
1853
|
/* @__PURE__ */ m("div", { className: "select-togglepanel__header", children: [
|
|
1847
|
-
/* @__PURE__ */ e(
|
|
1854
|
+
/* @__PURE__ */ e(nn, { checked: c, onChange: s, disabled: o, label: typeof l == "string" ? l : void 0 }),
|
|
1848
1855
|
n && /* @__PURE__ */ e("span", { className: "select-togglepanel__icon", children: n }),
|
|
1849
1856
|
/* @__PURE__ */ e("span", { className: "select-togglepanel__title", children: l })
|
|
1850
1857
|
] }),
|
|
@@ -1898,7 +1905,7 @@ function _c({ iso: t }) {
|
|
|
1898
1905
|
/* @__PURE__ */ e("g", { clipPath: `url(#flag-${t})`, children: n })
|
|
1899
1906
|
] }) : /* @__PURE__ */ e("span", { className: "select-phone__flagfallback", "aria-hidden": "true", children: t });
|
|
1900
1907
|
}
|
|
1901
|
-
const
|
|
1908
|
+
const ln = {
|
|
1902
1909
|
US: "(###) ###-####",
|
|
1903
1910
|
// 10 digits
|
|
1904
1911
|
MX: "## #### ####",
|
|
@@ -1927,7 +1934,7 @@ function gc(t, n) {
|
|
|
1927
1934
|
}
|
|
1928
1935
|
function bc(t) {
|
|
1929
1936
|
if (t === "BR") return 11;
|
|
1930
|
-
const n =
|
|
1937
|
+
const n = ln[t];
|
|
1931
1938
|
return n ? vc(n) : 15;
|
|
1932
1939
|
}
|
|
1933
1940
|
function yc(t) {
|
|
@@ -1943,12 +1950,12 @@ function xc(t) {
|
|
|
1943
1950
|
function Nc(t, n) {
|
|
1944
1951
|
const l = ol(t, n);
|
|
1945
1952
|
if (t === "BR") return xc(l);
|
|
1946
|
-
const c =
|
|
1953
|
+
const c = ln[t];
|
|
1947
1954
|
return c ? gc(c, l) : l;
|
|
1948
1955
|
}
|
|
1949
1956
|
function Mc(t) {
|
|
1950
1957
|
if (t === "BR") return "(00) 00000-0000";
|
|
1951
|
-
const n =
|
|
1958
|
+
const n = ln[t];
|
|
1952
1959
|
return n ? n.replace(/#/g, "0") : "";
|
|
1953
1960
|
}
|
|
1954
1961
|
const il = [
|
|
@@ -1964,7 +1971,7 @@ function $c(t) {
|
|
|
1964
1971
|
var n;
|
|
1965
1972
|
return ((n = il.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
|
|
1966
1973
|
}
|
|
1967
|
-
const
|
|
1974
|
+
const ur = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: o, onBlur: i, placeholder: r, className: d, ...h }, u) {
|
|
1968
1975
|
const f = ne(), g = $c(l.country), v = o ? `${f}-err` : a ? `${f}-hint` : void 0;
|
|
1969
1976
|
return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-field${d ? " " + d : ""}`, children: [
|
|
1970
1977
|
/* @__PURE__ */ m("div", { className: "select-field__labelrow", children: [
|
|
@@ -2014,7 +2021,7 @@ const dr = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2014
2021
|
] }),
|
|
2015
2022
|
o ? /* @__PURE__ */ e("p", { id: `${f}-err`, className: "select-field__error", children: o }) : a ? /* @__PURE__ */ e("p", { id: `${f}-hint`, className: "select-field__hint", children: a }) : null
|
|
2016
2023
|
] });
|
|
2017
|
-
}),
|
|
2024
|
+
}), hr = P(function({ value: n, onChange: l, options: c, name: s, className: a, ...o }, i) {
|
|
2018
2025
|
const r = ne(), d = s ?? r;
|
|
2019
2026
|
return /* @__PURE__ */ e("div", { ref: i, ...o, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((h) => {
|
|
2020
2027
|
const u = h.value === n;
|
|
@@ -2046,7 +2053,7 @@ const dr = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2046
2053
|
h.value
|
|
2047
2054
|
);
|
|
2048
2055
|
}) });
|
|
2049
|
-
}),
|
|
2056
|
+
}), pr = P(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: o, ...i }, r) {
|
|
2050
2057
|
const d = Math.max(0, c.findIndex((v) => v.value === n)), h = Y([]), [u, f] = T(null);
|
|
2051
2058
|
Ee(() => {
|
|
2052
2059
|
const v = h.current[d];
|
|
@@ -2067,6 +2074,8 @@ const dr = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2067
2074
|
role: "tab",
|
|
2068
2075
|
"aria-selected": N,
|
|
2069
2076
|
className: `select-segmented__item${N ? " select-segmented__item--active" : ""}`,
|
|
2077
|
+
title: v.title,
|
|
2078
|
+
"aria-label": v.title,
|
|
2070
2079
|
onClick: () => l(v.value),
|
|
2071
2080
|
children: v.label
|
|
2072
2081
|
},
|
|
@@ -2105,7 +2114,7 @@ const dr = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2105
2114
|
chargeback: { label: "Chargeback", tone: "critical" },
|
|
2106
2115
|
dispute: { label: "Em disputa", tone: "critical" }
|
|
2107
2116
|
};
|
|
2108
|
-
function
|
|
2117
|
+
function mr({
|
|
2109
2118
|
status: t,
|
|
2110
2119
|
map: n = wc,
|
|
2111
2120
|
size: l
|
|
@@ -2150,7 +2159,7 @@ function ul({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
|
|
|
2150
2159
|
))
|
|
2151
2160
|
] }, h)) });
|
|
2152
2161
|
}
|
|
2153
|
-
function
|
|
2162
|
+
function fr({
|
|
2154
2163
|
items: t,
|
|
2155
2164
|
label: n = "Ações",
|
|
2156
2165
|
disabled: l
|
|
@@ -2235,7 +2244,7 @@ function st({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s =
|
|
|
2235
2244
|
};
|
|
2236
2245
|
return /* @__PURE__ */ e(r, { ...i, className: It("select-inline", o), style: d, children: t });
|
|
2237
2246
|
}
|
|
2238
|
-
function
|
|
2247
|
+
function _r({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: o, ...i }) {
|
|
2239
2248
|
const r = a, d = {
|
|
2240
2249
|
"--select-grid-columns": typeof n == "number" ? `repeat(${n}, minmax(0, 1fr))` : n,
|
|
2241
2250
|
gap: ze[l],
|
|
@@ -2283,7 +2292,7 @@ function Xe({ children: t, as: n = "p", variant: l = "bodyMd", tone: c, fontWeig
|
|
|
2283
2292
|
].filter(Boolean).join(" ");
|
|
2284
2293
|
return /* @__PURE__ */ e(h, { ...d, className: u, style: a ? { textAlign: a } : void 0, children: t });
|
|
2285
2294
|
}
|
|
2286
|
-
const
|
|
2295
|
+
const pn = "https://cdn.selectwin.io/public/payicons", Lc = [
|
|
2287
2296
|
{ value: "visa", label: "Visa", file: "visa" },
|
|
2288
2297
|
{ value: "mastercard", label: "Mastercard", file: "mastercard" },
|
|
2289
2298
|
{ value: "elo", label: "Elo", file: "elo" },
|
|
@@ -2296,18 +2305,18 @@ const hn = "https://cdn.selectwin.io/public/payicons", Lc = [
|
|
|
2296
2305
|
{ value: "discover", label: "Discover", file: "discover" },
|
|
2297
2306
|
{ value: "banescard", label: "Banescard", file: "banescard" },
|
|
2298
2307
|
{ value: "dinersclub", label: "Diners Club", file: "dinersclub" }
|
|
2299
|
-
],
|
|
2308
|
+
], mn = {
|
|
2300
2309
|
master: "mastercard",
|
|
2301
2310
|
"american-express": "amex",
|
|
2302
2311
|
americanexpress: "amex",
|
|
2303
2312
|
diners: "dinersclub",
|
|
2304
2313
|
"diners-club": "dinersclub"
|
|
2305
|
-
},
|
|
2314
|
+
}, fn = new Map(Lc.map((t) => [t.value, t]));
|
|
2306
2315
|
function hl(t) {
|
|
2307
2316
|
if (!t) return null;
|
|
2308
2317
|
const n = t.toLowerCase().trim().replace(/\s+/g, "-");
|
|
2309
2318
|
for (const l of [n, n.replace(/-/g, "")]) {
|
|
2310
|
-
const c =
|
|
2319
|
+
const c = fn.get(l) ?? (mn[l] ? fn.get(mn[l]) : void 0);
|
|
2311
2320
|
if (c) return c;
|
|
2312
2321
|
}
|
|
2313
2322
|
return null;
|
|
@@ -2329,11 +2338,11 @@ const Ec = {
|
|
|
2329
2338
|
boleto: "Boleto bancário",
|
|
2330
2339
|
nupay: "Nupay"
|
|
2331
2340
|
};
|
|
2332
|
-
function
|
|
2341
|
+
function _n(t) {
|
|
2333
2342
|
var n;
|
|
2334
2343
|
return ((n = hl(t)) == null ? void 0 : n.file) ?? null;
|
|
2335
2344
|
}
|
|
2336
|
-
function
|
|
2345
|
+
function vr({
|
|
2337
2346
|
method: t,
|
|
2338
2347
|
cardBrand: n,
|
|
2339
2348
|
/** Chip height in px; width is derived to a card aspect ratio (1.2). Default 24×29. */
|
|
@@ -2346,15 +2355,15 @@ function _r({
|
|
|
2346
2355
|
* method/brand text everywhere the label renders (chip title, alt, showLabel, fallback). */
|
|
2347
2356
|
label: a
|
|
2348
2357
|
}) {
|
|
2349
|
-
const o =
|
|
2358
|
+
const o = _n(n) ?? (t ? Ec[t] : null), i = n ? Ac(n) : void 0, r = a || i || (t ? _t[t] : void 0) || t || "—";
|
|
2350
2359
|
if (!o)
|
|
2351
2360
|
return /* @__PURE__ */ e(Xe, { as: "span", tone: "subdued", variant: "bodySm", children: a || t && _t[t] || i || t || "—" });
|
|
2352
|
-
const d =
|
|
2361
|
+
const d = _n(n) == null, h = l, u = Math.round(l * 1.2);
|
|
2353
2362
|
if (s) {
|
|
2354
2363
|
const g = d ? Math.round(l * 0.7) : l, v = /* @__PURE__ */ e(
|
|
2355
2364
|
"img",
|
|
2356
2365
|
{
|
|
2357
|
-
src: `${
|
|
2366
|
+
src: `${pn}/${o}.svg`,
|
|
2358
2367
|
alt: r,
|
|
2359
2368
|
title: r,
|
|
2360
2369
|
loading: "lazy",
|
|
@@ -2394,7 +2403,7 @@ function _r({
|
|
|
2394
2403
|
children: /* @__PURE__ */ e(
|
|
2395
2404
|
"img",
|
|
2396
2405
|
{
|
|
2397
|
-
src: `${
|
|
2406
|
+
src: `${pn}/${o}.svg`,
|
|
2398
2407
|
alt: r,
|
|
2399
2408
|
loading: "lazy",
|
|
2400
2409
|
style: d ? (
|
|
@@ -2426,7 +2435,7 @@ function Fc(t) {
|
|
|
2426
2435
|
return !0;
|
|
2427
2436
|
}
|
|
2428
2437
|
}
|
|
2429
|
-
function
|
|
2438
|
+
function cn({
|
|
2430
2439
|
content: t,
|
|
2431
2440
|
children: n,
|
|
2432
2441
|
placement: l = "top",
|
|
@@ -2518,7 +2527,7 @@ function ln({
|
|
|
2518
2527
|
] });
|
|
2519
2528
|
}
|
|
2520
2529
|
const ge = P(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: o = "ghost", active: i = !1, className: r, ...d }, h) {
|
|
2521
|
-
return /* @__PURE__ */ e(
|
|
2530
|
+
return /* @__PURE__ */ e(cn, { content: l, children: /* @__PURE__ */ e("button", { ref: h, ...d, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${o}${i ? " is-active" : ""}${r ? " " + r : ""}`, "aria-label": l, "aria-pressed": i, onClick: c, disabled: s, children: n }) });
|
|
2522
2531
|
});
|
|
2523
2532
|
function Ic({
|
|
2524
2533
|
open: t,
|
|
@@ -2544,7 +2553,7 @@ function Ic({
|
|
|
2544
2553
|
);
|
|
2545
2554
|
}
|
|
2546
2555
|
const Pc = 3e3, Ut = "", pl = (t, n) => t === "" ? n : t + Ut + n;
|
|
2547
|
-
function
|
|
2556
|
+
function vn(t) {
|
|
2548
2557
|
const n = t.split(Ut), l = [];
|
|
2549
2558
|
for (let c = 1; c < n.length; c++) l.push(n.slice(0, c).join(Ut));
|
|
2550
2559
|
return l;
|
|
@@ -2577,10 +2586,10 @@ function fl(t) {
|
|
|
2577
2586
|
function pt(t) {
|
|
2578
2587
|
return Array.isArray(t) ? t.length : Oe(t) ? Object.keys(t).length : 0;
|
|
2579
2588
|
}
|
|
2580
|
-
function
|
|
2589
|
+
function sn(t) {
|
|
2581
2590
|
return t == null ? "null" : typeof t == "string" ? t : t instanceof Date ? Number.isNaN(t.getTime()) ? "Invalid Date" : t.toISOString() : String(t);
|
|
2582
2591
|
}
|
|
2583
|
-
function
|
|
2592
|
+
function gn(t) {
|
|
2584
2593
|
const n = pt(t), l = Array.isArray(t);
|
|
2585
2594
|
return n === 0 ? l ? "[]" : "{}" : l ? `[${n} ${n === 1 ? "item" : "itens"}]` : `{${n} ${n === 1 ? "chave" : "chaves"}}`;
|
|
2586
2595
|
}
|
|
@@ -2645,21 +2654,21 @@ function Vc(t, n) {
|
|
|
2645
2654
|
if (!l) return jc;
|
|
2646
2655
|
const c = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
2647
2656
|
return ot(t, ({ path: a, key: o, value: i }) => {
|
|
2648
|
-
if (o.toLowerCase().includes(l) || !Oe(i) &&
|
|
2657
|
+
if (o.toLowerCase().includes(l) || !Oe(i) && sn(i).toLowerCase().includes(l)) {
|
|
2649
2658
|
c.add(a), s.add(a);
|
|
2650
|
-
for (const d of
|
|
2659
|
+
for (const d of vn(a)) s.add(d);
|
|
2651
2660
|
}
|
|
2652
2661
|
}), c.size > 0 && ot(t, ({ path: a }) => {
|
|
2653
|
-
|
|
2662
|
+
vn(a).some((o) => c.has(o)) && s.add(a);
|
|
2654
2663
|
}), { matched: c, visible: s, count: c.size, active: !0 };
|
|
2655
2664
|
}
|
|
2656
|
-
const
|
|
2665
|
+
const bn = /("(?:\\u[a-fA-F0-9]{4}|\\[^u]|[^\\"])*"(?:\s*:)?|\btrue\b|\bfalse\b|\bnull\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g;
|
|
2657
2666
|
function Zc(t) {
|
|
2658
2667
|
const n = [];
|
|
2659
2668
|
let l = 0;
|
|
2660
|
-
|
|
2669
|
+
bn.lastIndex = 0;
|
|
2661
2670
|
let c;
|
|
2662
|
-
for (; (c =
|
|
2671
|
+
for (; (c = bn.exec(t)) !== null; ) {
|
|
2663
2672
|
c.index > l && n.push({ text: t.slice(l, c.index), cls: "plain" });
|
|
2664
2673
|
const s = c[0];
|
|
2665
2674
|
let a = "num";
|
|
@@ -2691,7 +2700,7 @@ function Uc(t, n) {
|
|
|
2691
2700
|
s += 1, a = c.indexOf(l, a + l.length);
|
|
2692
2701
|
return s;
|
|
2693
2702
|
}
|
|
2694
|
-
const
|
|
2703
|
+
const yn = 320, Yc = 12e4, qc = {
|
|
2695
2704
|
string: "str",
|
|
2696
2705
|
number: "num",
|
|
2697
2706
|
boolean: "bool",
|
|
@@ -2718,7 +2727,7 @@ function zc(t = 1400) {
|
|
|
2718
2727
|
return [n, s];
|
|
2719
2728
|
}
|
|
2720
2729
|
function vl({ value: t, term: n, forceFull: l }) {
|
|
2721
|
-
const c = ml(t), s =
|
|
2730
|
+
const c = ml(t), s = sn(t), a = !l && s.length > yn, o = a ? `${s.slice(0, yn)}…` : s, i = c === "string";
|
|
2722
2731
|
return /* @__PURE__ */ m("span", { className: `select-json__v select-json__v--${qc[c]}`, title: a ? s : void 0, children: [
|
|
2723
2732
|
i && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' }),
|
|
2724
2733
|
/* @__PURE__ */ e(St, { text: o, term: n }),
|
|
@@ -2761,8 +2770,8 @@ function gl({
|
|
|
2761
2770
|
h ? /* @__PURE__ */ e("span", { className: "select-json__v select-json__v--other", children: "[referência circular]" }) : f ? (
|
|
2762
2771
|
// The summary doubles as a second hit-target for the caret; `tabIndex={-1}`
|
|
2763
2772
|
// keeps it out of the tab order (the caret is already the focusable control).
|
|
2764
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(d), children:
|
|
2765
|
-
) : u ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children:
|
|
2773
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(d), children: gn(r) })
|
|
2774
|
+
) : u ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children: gn(r) }) : /* @__PURE__ */ e(vl, { value: r, term: s.search, forceFull: v })
|
|
2766
2775
|
] }),
|
|
2767
2776
|
/* @__PURE__ */ e(
|
|
2768
2777
|
"button",
|
|
@@ -2771,7 +2780,7 @@ function gl({
|
|
|
2771
2780
|
className: "select-json__copy",
|
|
2772
2781
|
"aria-label": `Copiar ${i}`,
|
|
2773
2782
|
title: s.copied === x ? "Copiado!" : "Copiar valor",
|
|
2774
|
-
onClick: () => s.copy(x, u ? _l(r) :
|
|
2783
|
+
onClick: () => s.copy(x, u ? _l(r) : sn(r)),
|
|
2775
2784
|
children: s.copied === x ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(Qt, {})
|
|
2776
2785
|
}
|
|
2777
2786
|
)
|
|
@@ -2786,7 +2795,7 @@ function Xc({ text: t, term: n }) {
|
|
|
2786
2795
|
const l = ye(() => t.length > Yc ? null : Zc(t), [t]);
|
|
2787
2796
|
return l ? /* @__PURE__ */ e("pre", { className: "select-json__pre", children: l.map((c, s) => /* @__PURE__ */ e("span", { className: `select-json__v--${c.cls}`, children: /* @__PURE__ */ e(St, { text: c.text, term: n }) }, s)) }) : /* @__PURE__ */ e("pre", { className: "select-json__pre", children: /* @__PURE__ */ e(St, { text: t, term: n }) });
|
|
2788
2797
|
}
|
|
2789
|
-
const
|
|
2798
|
+
const gr = P(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: o = !0, emptyLabel: i = "Sem dados", className: r, ...d }, h) {
|
|
2790
2799
|
const [u, f] = T(s), [g, v] = T("tree"), [x, N] = T(""), [k, _] = T(/* @__PURE__ */ new Set()), [p, b] = zc(), S = Y(null), $ = ye(() => Dc(n), [n]), M = Tc($), w = ye(
|
|
2791
2800
|
() => typeof n == "string" && $ === n ? n : _l($),
|
|
2792
2801
|
[n, $]
|
|
@@ -2876,7 +2885,7 @@ const vr = P(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2876
2885
|
warning: "var(--select-warning-text)",
|
|
2877
2886
|
info: "var(--select-info-text)",
|
|
2878
2887
|
default: "var(--select-text-secondary)"
|
|
2879
|
-
},
|
|
2888
|
+
}, br = P(function({ items: n, className: l, ...c }, s) {
|
|
2880
2889
|
var i;
|
|
2881
2890
|
const a = n.length ? ((i = n[0]) == null ? void 0 : i.tone) ?? "default" : "default", o = { "--tl-final": Kc[a] };
|
|
2882
2891
|
return /* @__PURE__ */ e("ul", { ref: s, ...c, className: `select-timeline${l ? " " + l : ""}`, style: o, children: n.map((r, d) => /* @__PURE__ */ m("li", { className: "select-timeline__item", children: [
|
|
@@ -2892,18 +2901,18 @@ const vr = P(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2892
2901
|
] }, d)) });
|
|
2893
2902
|
}), Jc = P(function({ children: n, onClick: l, disabled: c = !1, tone: s = "default", className: a, ...o }, i) {
|
|
2894
2903
|
return /* @__PURE__ */ e("button", { ref: i, ...o, type: "button", className: `select-linkbtn${s === "critical" ? " select-linkbtn--critical" : ""}${a ? " " + a : ""}`, onClick: l, disabled: c, children: n });
|
|
2895
|
-
}),
|
|
2904
|
+
}), yr = P(function({ children: n, className: l, ...c }, s) {
|
|
2896
2905
|
return n == null ? /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-divider select-divider--plain${l ? " " + l : ""}`, role: "separator" }) : /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-divider${l ? " " + l : ""}`, children: n });
|
|
2897
2906
|
}), Qc = P(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: o, ...i }, r) {
|
|
2898
2907
|
var h, u;
|
|
2899
2908
|
const d = ((u = (h = n == null ? void 0 : n.trim()) == null ? void 0 : h[0]) == null ? void 0 : u.toUpperCase()) ?? "?";
|
|
2900
2909
|
return /* @__PURE__ */ e("span", { ref: r, ...i, className: `select-avatar${s ? " select-avatar--dashed" : ""}${a ? " select-avatar--round" : ""}${o ? " " + o : ""}`, "aria-hidden": "true", children: l ? /* @__PURE__ */ e("img", { src: l, alt: "", className: "select-avatar__img" }) : c ? /* @__PURE__ */ e("span", { className: "select-avatar__icon", children: c }) : /* @__PURE__ */ e("span", { className: "select-avatar__initial", children: d }) });
|
|
2901
2910
|
});
|
|
2902
|
-
function
|
|
2911
|
+
function xr({ children: t, className: n, ...l }) {
|
|
2903
2912
|
const c = Ft({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
2904
2913
|
return /* @__PURE__ */ e("div", { ...l, className: `select-optionlist${n ? " " + n : ""}`, ref: c, children: t });
|
|
2905
2914
|
}
|
|
2906
|
-
function
|
|
2915
|
+
function Nr({
|
|
2907
2916
|
title: t,
|
|
2908
2917
|
subtitle: n,
|
|
2909
2918
|
leading: l,
|
|
@@ -2921,7 +2930,7 @@ function xr({
|
|
|
2921
2930
|
] }), d = `select-optionrow${a ? " select-optionrow--muted" : ""}`;
|
|
2922
2931
|
return o ? /* @__PURE__ */ e("button", { type: "button", className: d, onClick: s, children: r }) : /* @__PURE__ */ e("div", { className: d, children: r });
|
|
2923
2932
|
}
|
|
2924
|
-
const
|
|
2933
|
+
const Mr = P(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...o }, i) {
|
|
2925
2934
|
return /* @__PURE__ */ m("span", { ref: i, ...o, className: `select-identity${a ? " " + a : ""}`, children: [
|
|
2926
2935
|
/* @__PURE__ */ m("span", { className: "select-identity__text", children: [
|
|
2927
2936
|
s,
|
|
@@ -2930,7 +2939,7 @@ const Nr = P(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
2930
2939
|
] }),
|
|
2931
2940
|
l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
|
|
2932
2941
|
] });
|
|
2933
|
-
}),
|
|
2942
|
+
}), $r = P(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: o = !1, className: i, ...r }, d) {
|
|
2934
2943
|
const h = Y([]), u = Array.from({ length: c }, (_, p) => n[p] ?? ""), f = (_) => {
|
|
2935
2944
|
var p;
|
|
2936
2945
|
return (p = h.current[_]) == null ? void 0 : p.focus();
|
|
@@ -2987,18 +2996,18 @@ const Nr = P(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
2987
2996
|
p
|
|
2988
2997
|
)) });
|
|
2989
2998
|
});
|
|
2990
|
-
function
|
|
2999
|
+
function wr({
|
|
2991
3000
|
children: t = "Voltar",
|
|
2992
3001
|
onClick: n,
|
|
2993
3002
|
href: l
|
|
2994
3003
|
}) {
|
|
2995
3004
|
const c = /* @__PURE__ */ m(ae, { children: [
|
|
2996
|
-
/* @__PURE__ */ e(
|
|
3005
|
+
/* @__PURE__ */ e(Zn, {}),
|
|
2997
3006
|
/* @__PURE__ */ e("span", { children: t })
|
|
2998
3007
|
] });
|
|
2999
3008
|
return l ? /* @__PURE__ */ e("a", { className: "select-backlink", href: l, children: c }) : /* @__PURE__ */ e("button", { type: "button", className: "select-backlink", onClick: n, children: c });
|
|
3000
3009
|
}
|
|
3001
|
-
const
|
|
3010
|
+
const kr = P(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, o) {
|
|
3002
3011
|
const [i, r] = T(l);
|
|
3003
3012
|
te(() => {
|
|
3004
3013
|
if (i <= 0) return;
|
|
@@ -3009,7 +3018,7 @@ const wr = P(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar c
|
|
|
3009
3018
|
i > 0 || (n(), r(l));
|
|
3010
3019
|
}, [i, n, l]), h = i > 0, u = h ? `Reenviar em 0:${String(i).padStart(2, "0")}` : c;
|
|
3011
3020
|
return /* @__PURE__ */ e("button", { ref: o, ...a, type: "button", className: `select-resend${s ? " " + s : ""}`, onClick: d, disabled: h, children: u });
|
|
3012
|
-
}),
|
|
3021
|
+
}), xn = [
|
|
3013
3022
|
{ label: "Muito fraca", cls: "is-0" },
|
|
3014
3023
|
{ label: "Fraca", cls: "is-1" },
|
|
3015
3024
|
{ label: "Razoável", cls: "is-2" },
|
|
@@ -3021,8 +3030,8 @@ function es(t) {
|
|
|
3021
3030
|
let n = 0;
|
|
3022
3031
|
return t.length >= 8 && n++, t.length >= 12 && n++, /[a-z]/.test(t) && /[A-Z]/.test(t) && n++, /\d/.test(t) && /[^A-Za-z0-9]/.test(t) && n++, Math.min(n, 4);
|
|
3023
3032
|
}
|
|
3024
|
-
const
|
|
3025
|
-
const a = es(n), o =
|
|
3033
|
+
const Sr = P(function({ value: n, className: l, ...c }, s) {
|
|
3034
|
+
const a = es(n), o = xn[a] ?? xn[0];
|
|
3026
3035
|
return /* @__PURE__ */ m("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
|
|
3027
3036
|
/* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${o.cls}`, children: [0, 1, 2, 3].map((i) => /* @__PURE__ */ e("span", { className: `select-strength__bar${i < a ? " is-on" : ""}` }, i)) }),
|
|
3028
3037
|
n && /* @__PURE__ */ e("span", { className: "select-strength__label", children: o.label })
|
|
@@ -3044,7 +3053,7 @@ const kr = P(function({ value: n, className: l, ...c }, s) {
|
|
|
3044
3053
|
className: "select-page__back",
|
|
3045
3054
|
onClick: o.onAction,
|
|
3046
3055
|
"aria-label": o.content ?? "Voltar",
|
|
3047
|
-
children: /* @__PURE__ */ e(
|
|
3056
|
+
children: /* @__PURE__ */ e(Zn, {})
|
|
3048
3057
|
}
|
|
3049
3058
|
),
|
|
3050
3059
|
/* @__PURE__ */ m("div", { className: "select-page__head", children: [
|
|
@@ -3092,8 +3101,8 @@ function ls({ children: t }) {
|
|
|
3092
3101
|
function cs({ children: t, columns: n = 2 }) {
|
|
3093
3102
|
return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
|
|
3094
3103
|
}
|
|
3095
|
-
const
|
|
3096
|
-
function
|
|
3104
|
+
const Cr = Object.assign(ls, { Group: cs });
|
|
3105
|
+
function Nn({ lines: t = 3 }) {
|
|
3097
3106
|
return /* @__PURE__ */ e("div", { className: "select-skel-body", children: Array.from({ length: Math.max(1, t) }, (n, l) => /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-line" }, l)) });
|
|
3098
3107
|
}
|
|
3099
3108
|
function ss({ size: t = "medium" }) {
|
|
@@ -3105,13 +3114,13 @@ function as({ size: t = "medium" }) {
|
|
|
3105
3114
|
function rs({ height: t = 240 }) {
|
|
3106
3115
|
return /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-block", style: { height: t } });
|
|
3107
3116
|
}
|
|
3108
|
-
const
|
|
3117
|
+
const Lr = Object.assign(
|
|
3109
3118
|
function({ lines: n }) {
|
|
3110
|
-
return /* @__PURE__ */ e(
|
|
3119
|
+
return /* @__PURE__ */ e(Nn, { lines: n });
|
|
3111
3120
|
},
|
|
3112
|
-
{ Body:
|
|
3121
|
+
{ Body: Nn, Display: ss, Thumbnail: as, Block: rs }
|
|
3113
3122
|
), os = { sm: "1rem", md: "1.25rem", lg: "1.5rem" };
|
|
3114
|
-
function
|
|
3123
|
+
function Ar({
|
|
3115
3124
|
source: t,
|
|
3116
3125
|
tone: n = "inherit",
|
|
3117
3126
|
size: l = "md"
|
|
@@ -3119,15 +3128,15 @@ function Lr({
|
|
|
3119
3128
|
const c = ["select-icon", n !== "inherit" && n !== "base" ? `select-icon--${n}` : ""].filter(Boolean).join(" ");
|
|
3120
3129
|
return /* @__PURE__ */ e("span", { className: c, style: { "--select-icon-size": os[l] }, "aria-hidden": "true", children: /* @__PURE__ */ e(t, {}) });
|
|
3121
3130
|
}
|
|
3122
|
-
const
|
|
3131
|
+
const Er = P(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, o) {
|
|
3123
3132
|
const i = l === "warning" || l === "critical" ? /* @__PURE__ */ e(Ul, {}) : /* @__PURE__ */ e(Bt, {});
|
|
3124
3133
|
return /* @__PURE__ */ m("div", { ref: o, ...a, className: `select-note select-note--${l}${s ? " " + s : ""}`, children: [
|
|
3125
3134
|
!c && /* @__PURE__ */ e("span", { className: "select-note__icon", children: i }),
|
|
3126
3135
|
/* @__PURE__ */ e("span", { className: "select-note__body", children: n })
|
|
3127
3136
|
] });
|
|
3128
|
-
}),
|
|
3137
|
+
}), Br = P(function({ children: n, className: l, ...c }, s) {
|
|
3129
3138
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-settinglist${l ? " " + l : ""}`, children: n });
|
|
3130
|
-
}),
|
|
3139
|
+
}), Fr = P(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: o, className: i, ...r }, d) {
|
|
3131
3140
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-setting${i ? " " + i : ""}`, children: [
|
|
3132
3141
|
n && /* @__PURE__ */ e("div", { className: "select-setting__control", children: n }),
|
|
3133
3142
|
/* @__PURE__ */ m("div", { className: "select-setting__main", children: [
|
|
@@ -3145,7 +3154,7 @@ const Ar = P(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3145
3154
|
))
|
|
3146
3155
|
] })
|
|
3147
3156
|
] });
|
|
3148
|
-
}),
|
|
3157
|
+
}), Ir = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: o = "default", flush: i = !1, className: r, ...d }, h) {
|
|
3149
3158
|
return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-panel${o === "highlight" ? " select-panel--highlight" : ""}${r ? " " + r : ""}`, children: [
|
|
3150
3159
|
(n || c) && /* @__PURE__ */ m("div", { className: "select-panel__header", children: [
|
|
3151
3160
|
/* @__PURE__ */ m("div", { className: "select-panel__heading", children: [
|
|
@@ -3159,7 +3168,7 @@ const Ar = P(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3159
3168
|
] });
|
|
3160
3169
|
}), Pt = P(function({ content: n, title: l, label: c = "Mais informações", placement: s = "top", className: a, ...o }, i) {
|
|
3161
3170
|
return /* @__PURE__ */ e(
|
|
3162
|
-
|
|
3171
|
+
cn,
|
|
3163
3172
|
{
|
|
3164
3173
|
placement: s,
|
|
3165
3174
|
delay: 120,
|
|
@@ -3181,7 +3190,7 @@ const Ar = P(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3181
3190
|
)
|
|
3182
3191
|
}
|
|
3183
3192
|
);
|
|
3184
|
-
}),
|
|
3193
|
+
}), Pr = P(function({ title: n, help: l, description: c, action: s, collapsible: a = !1, defaultOpen: o = !0, children: i, className: r, ...d }, h) {
|
|
3185
3194
|
const [u, f] = T(o);
|
|
3186
3195
|
return a ? /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-section select-section--collapsible${u ? " is-open" : ""}${r ? " " + r : ""}`, children: [
|
|
3187
3196
|
/* @__PURE__ */ m("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": u, onClick: () => f((g) => !g), children: [
|
|
@@ -3203,7 +3212,7 @@ const Ar = P(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3203
3212
|
/* @__PURE__ */ e("div", { className: "select-section__body", children: i })
|
|
3204
3213
|
] });
|
|
3205
3214
|
});
|
|
3206
|
-
function
|
|
3215
|
+
function Rr({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
3207
3216
|
const o = Y(null), [i, r] = T({ left: 0, width: 0 });
|
|
3208
3217
|
Ee(() => {
|
|
3209
3218
|
const h = o.current;
|
|
@@ -3306,7 +3315,7 @@ function is({
|
|
|
3306
3315
|
] }) })
|
|
3307
3316
|
] });
|
|
3308
3317
|
}
|
|
3309
|
-
const
|
|
3318
|
+
const Dr = P(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...o }, i) {
|
|
3310
3319
|
return /* @__PURE__ */ m("nav", { ref: i, ...o, className: `select-sidenav${a ? " " + a : ""}`, children: [
|
|
3311
3320
|
s && /* @__PURE__ */ e("div", { className: "select-sidenav__header", children: s }),
|
|
3312
3321
|
n.map((r, d) => /* @__PURE__ */ m("div", { className: "select-sidenav__section", children: [
|
|
@@ -3380,7 +3389,7 @@ const Rr = P(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3380
3389
|
] }) }),
|
|
3381
3390
|
s && /* @__PURE__ */ e("div", { className: "select-table__footer", children: s })
|
|
3382
3391
|
] });
|
|
3383
|
-
}),
|
|
3392
|
+
}), Tr = P(function({ name: n, secondary: l, src: c, className: s, ...a }, o) {
|
|
3384
3393
|
return /* @__PURE__ */ m("span", { ref: o, ...a, className: `select-usercell${s ? " " + s : ""}`, children: [
|
|
3385
3394
|
/* @__PURE__ */ e(Qc, { name: typeof n == "string" ? n : void 0, src: c }),
|
|
3386
3395
|
/* @__PURE__ */ m("span", { className: "select-usercell__text", children: [
|
|
@@ -3389,10 +3398,10 @@ const Rr = P(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3389
3398
|
] })
|
|
3390
3399
|
] });
|
|
3391
3400
|
});
|
|
3392
|
-
function
|
|
3401
|
+
function Mn({ children: t, onClick: n }) {
|
|
3393
3402
|
return n ? /* @__PURE__ */ e("button", { type: "button", className: "select-table__row select-table__row--clickable", onClick: n, children: t }) : /* @__PURE__ */ e("div", { className: "select-table__row", role: "row", children: t });
|
|
3394
3403
|
}
|
|
3395
|
-
const
|
|
3404
|
+
const $n = P(function({ children: n, align: l = "start", className: c, ...s }, a) {
|
|
3396
3405
|
return /* @__PURE__ */ e("div", { ref: a, ...s, role: "cell", className: `select-table__td select-table__cell--${l}${c ? " " + c : ""}`, children: n });
|
|
3397
3406
|
}), us = P(function({ icon: n, title: l, subtitle: c, action: s, className: a, ...o }, i) {
|
|
3398
3407
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-table-empty${a ? " " + a : ""}`, children: [
|
|
@@ -3409,8 +3418,30 @@ const Mn = P(function({ children: n, align: l = "start", className: c, ...s }, a
|
|
|
3409
3418
|
/* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
|
|
3410
3419
|
c && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: c })
|
|
3411
3420
|
] });
|
|
3421
|
+
}), Wr = P(function({ children: n, href: l, icon: c, trailing: s, external: a, tone: o = "default", className: i, ...r }, d) {
|
|
3422
|
+
const h = a ?? /^(https?:|mailto:|tel:)/i.test(l), u = s ?? (h ? /* @__PURE__ */ e(en, {}) : void 0);
|
|
3423
|
+
return /* @__PURE__ */ m(
|
|
3424
|
+
"a",
|
|
3425
|
+
{
|
|
3426
|
+
ref: d,
|
|
3427
|
+
...r,
|
|
3428
|
+
href: l,
|
|
3429
|
+
role: "menuitem",
|
|
3430
|
+
target: h ? "_blank" : r.target,
|
|
3431
|
+
rel: h ? "noreferrer" : r.rel,
|
|
3432
|
+
className: `select-menu__item select-menu__item--${o}${i ? " " + i : ""}`,
|
|
3433
|
+
children: [
|
|
3434
|
+
c && /* @__PURE__ */ e("span", { className: "select-menu__icon", children: c }),
|
|
3435
|
+
/* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
|
|
3436
|
+
u && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: u })
|
|
3437
|
+
]
|
|
3438
|
+
}
|
|
3439
|
+
);
|
|
3412
3440
|
});
|
|
3413
|
-
function
|
|
3441
|
+
function Or({ children: t }) {
|
|
3442
|
+
return /* @__PURE__ */ e("div", { className: "select-menu__heading", children: t });
|
|
3443
|
+
}
|
|
3444
|
+
function Hr() {
|
|
3414
3445
|
return /* @__PURE__ */ e("div", { className: "select-menu__divider", role: "separator" });
|
|
3415
3446
|
}
|
|
3416
3447
|
const ms = P(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, o) {
|
|
@@ -3418,24 +3449,24 @@ const ms = P(function({ children: n, onClick: l, active: c = !1, className: s, .
|
|
|
3418
3449
|
/* @__PURE__ */ e("span", { children: n }),
|
|
3419
3450
|
/* @__PURE__ */ e("span", { className: "select-menubtn__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) })
|
|
3420
3451
|
] });
|
|
3421
|
-
}),
|
|
3452
|
+
}), jr = P(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, o) {
|
|
3422
3453
|
return /* @__PURE__ */ m("button", { ref: o, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
|
|
3423
3454
|
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Je, {}) }),
|
|
3424
3455
|
n
|
|
3425
3456
|
] });
|
|
3426
|
-
}),
|
|
3457
|
+
}), Vr = P(function({ label: n, value: l, href: c, onCopy: s, className: a, ...o }, i) {
|
|
3427
3458
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-copyrow${a ? " " + a : ""}`, children: [
|
|
3428
3459
|
n && /* @__PURE__ */ e("span", { className: "select-copyrow__label", children: n }),
|
|
3429
3460
|
/* @__PURE__ */ m("div", { className: "select-copyrow__value", children: [
|
|
3430
3461
|
/* @__PURE__ */ e("span", { className: "select-copyrow__text", children: l }),
|
|
3431
3462
|
/* @__PURE__ */ m("div", { className: "select-copyrow__actions", children: [
|
|
3432
|
-
c && /* @__PURE__ */ e("a", { className: "select-iconbtn select-iconbtn--sm", href: c, target: "_blank", rel: "noreferrer", "aria-label": "Abrir", title: "Abrir", children: /* @__PURE__ */ e(
|
|
3463
|
+
c && /* @__PURE__ */ e("a", { className: "select-iconbtn select-iconbtn--sm", href: c, target: "_blank", rel: "noreferrer", "aria-label": "Abrir", title: "Abrir", children: /* @__PURE__ */ e(en, {}) }),
|
|
3433
3464
|
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Qt, {}), label: "Copiar", onClick: () => s == null ? void 0 : s(l) })
|
|
3434
3465
|
] })
|
|
3435
3466
|
] })
|
|
3436
3467
|
] });
|
|
3437
3468
|
});
|
|
3438
|
-
function
|
|
3469
|
+
function Zr({
|
|
3439
3470
|
value: t,
|
|
3440
3471
|
children: n,
|
|
3441
3472
|
truncate: l,
|
|
@@ -3452,7 +3483,7 @@ function Hr({
|
|
|
3452
3483
|
// Keep navigation isolated from any row handler; the text alone is the link target.
|
|
3453
3484
|
/* @__PURE__ */ e(Bl, { className: "select-copyid__text select-copyid__link", to: a, onClick: (u) => u.stopPropagation(), children: d })
|
|
3454
3485
|
) : /* @__PURE__ */ e("span", { className: "select-copyid__text", children: d }),
|
|
3455
|
-
/* @__PURE__ */ e(
|
|
3486
|
+
/* @__PURE__ */ e(cn, { content: i ? "Copiado" : c, children: /* @__PURE__ */ e(
|
|
3456
3487
|
"button",
|
|
3457
3488
|
{
|
|
3458
3489
|
type: "button",
|
|
@@ -3468,7 +3499,7 @@ function Hr({
|
|
|
3468
3499
|
) })
|
|
3469
3500
|
] });
|
|
3470
3501
|
}
|
|
3471
|
-
const
|
|
3502
|
+
const Gr = P(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...o }, i) {
|
|
3472
3503
|
const [r, d] = T(c);
|
|
3473
3504
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${r ? " is-open" : ""}${a ? " " + a : ""}`, children: [
|
|
3474
3505
|
/* @__PURE__ */ m("button", { type: "button", className: "select-collapsible__header", onClick: () => d((h) => !h), "aria-expanded": r, children: [
|
|
@@ -3477,7 +3508,7 @@ const jr = P(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3477
3508
|
] }),
|
|
3478
3509
|
/* @__PURE__ */ e("div", { className: "select-collapsible__bodywrap", children: /* @__PURE__ */ e("div", { className: "select-collapsible__bodyclip", "aria-hidden": !r, children: /* @__PURE__ */ e("div", { className: "select-collapsible__body", children: l }) }) })
|
|
3479
3510
|
] });
|
|
3480
|
-
}),
|
|
3511
|
+
}), Ur = P(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: o, ...i }, r) {
|
|
3481
3512
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-actioncard${o ? " " + o : ""}`, children: [
|
|
3482
3513
|
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Ke, {}), label: "Dispensar", onClick: a }) }),
|
|
3483
3514
|
n && /* @__PURE__ */ e("span", { className: "select-actioncard__icon", children: n }),
|
|
@@ -3487,7 +3518,7 @@ const jr = P(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3487
3518
|
] }),
|
|
3488
3519
|
s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
|
|
3489
3520
|
] });
|
|
3490
|
-
}),
|
|
3521
|
+
}), Yr = P(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: o = !0, onClick: i, className: r, ...d }, h) {
|
|
3491
3522
|
return /* @__PURE__ */ m("button", { ref: h, ...d, type: "button", className: `select-tile${r ? " " + r : ""}`, onClick: i, children: [
|
|
3492
3523
|
o && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
|
|
3493
3524
|
/* @__PURE__ */ m("div", { className: "select-tile__main", children: [
|
|
@@ -3502,12 +3533,12 @@ const jr = P(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3502
3533
|
] }),
|
|
3503
3534
|
a && /* @__PURE__ */ e("div", { className: "select-tile__meta", children: a })
|
|
3504
3535
|
] });
|
|
3505
|
-
}),
|
|
3536
|
+
}), qr = P(function({ label: n, onClick: l, className: c, ...s }, a) {
|
|
3506
3537
|
return /* @__PURE__ */ m("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
|
|
3507
3538
|
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(Je, {}) }),
|
|
3508
3539
|
/* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
|
|
3509
3540
|
] });
|
|
3510
|
-
}),
|
|
3541
|
+
}), zr = P(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...o }, i) {
|
|
3511
3542
|
return /* @__PURE__ */ m("button", { ref: i, ...o, type: "button", className: `select-wsswitcher${a ? " " + a : ""}`, onClick: s, "aria-haspopup": "menu", children: [
|
|
3512
3543
|
n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
|
|
3513
3544
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
|
|
@@ -3592,7 +3623,7 @@ function Rt({
|
|
|
3592
3623
|
document.body
|
|
3593
3624
|
);
|
|
3594
3625
|
}
|
|
3595
|
-
function
|
|
3626
|
+
function Xr({ actions: t, label: n = "Ações" }) {
|
|
3596
3627
|
const [l, c] = T(!1);
|
|
3597
3628
|
return /* @__PURE__ */ e(
|
|
3598
3629
|
We,
|
|
@@ -3615,7 +3646,7 @@ function Yr({ actions: t, label: n = "Ações" }) {
|
|
|
3615
3646
|
}
|
|
3616
3647
|
);
|
|
3617
3648
|
}
|
|
3618
|
-
function
|
|
3649
|
+
function Kr({
|
|
3619
3650
|
open: t,
|
|
3620
3651
|
onClose: n,
|
|
3621
3652
|
onConfirm: l,
|
|
@@ -3653,7 +3684,7 @@ function qr({
|
|
|
3653
3684
|
}
|
|
3654
3685
|
);
|
|
3655
3686
|
}
|
|
3656
|
-
function
|
|
3687
|
+
function Jr({
|
|
3657
3688
|
open: t,
|
|
3658
3689
|
onClose: n,
|
|
3659
3690
|
onSubmit: l,
|
|
@@ -3769,7 +3800,7 @@ const gs = P(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
|
|
|
3769
3800
|
] }),
|
|
3770
3801
|
b != null && /* @__PURE__ */ e("p", { className: "select-pagination__count", children: b })
|
|
3771
3802
|
] });
|
|
3772
|
-
}),
|
|
3803
|
+
}), Qr = "9.5rem", Yt = "select-datatable:hidden-cols:";
|
|
3773
3804
|
function bs(t) {
|
|
3774
3805
|
try {
|
|
3775
3806
|
const n = localStorage.getItem(Yt + t), l = n ? JSON.parse(n) : null;
|
|
@@ -3784,14 +3815,14 @@ function ys(t, n) {
|
|
|
3784
3815
|
} catch {
|
|
3785
3816
|
}
|
|
3786
3817
|
}
|
|
3787
|
-
function
|
|
3818
|
+
function wn(t) {
|
|
3788
3819
|
return t.hideable ?? !!t.title;
|
|
3789
3820
|
}
|
|
3790
|
-
const
|
|
3791
|
-
function
|
|
3821
|
+
const kn = "select-datatable:page-size:";
|
|
3822
|
+
function eo(t, n, l) {
|
|
3792
3823
|
const [c, s] = T(() => {
|
|
3793
3824
|
try {
|
|
3794
|
-
const o = Number(localStorage.getItem(
|
|
3825
|
+
const o = Number(localStorage.getItem(kn + t));
|
|
3795
3826
|
return Number.isInteger(o) && o > 0 && (!l || l.includes(o)) ? o : n;
|
|
3796
3827
|
} catch {
|
|
3797
3828
|
return n;
|
|
@@ -3800,7 +3831,7 @@ function Kr(t, n, l) {
|
|
|
3800
3831
|
return [c, (o) => {
|
|
3801
3832
|
s(o);
|
|
3802
3833
|
try {
|
|
3803
|
-
localStorage.setItem(
|
|
3834
|
+
localStorage.setItem(kn + t, String(o));
|
|
3804
3835
|
} catch {
|
|
3805
3836
|
}
|
|
3806
3837
|
}];
|
|
@@ -3809,7 +3840,7 @@ function xs(t, n, l) {
|
|
|
3809
3840
|
const c = t == null || t === "", s = n == null || n === "";
|
|
3810
3841
|
return c || s ? c && s ? 0 : c ? 1 : -1 : typeof t == "number" && typeof n == "number" ? l * (t - n) : l * String(t).localeCompare(String(n), "pt-BR", { numeric: !0, sensitivity: "base" });
|
|
3811
3842
|
}
|
|
3812
|
-
function
|
|
3843
|
+
function to({
|
|
3813
3844
|
columns: t,
|
|
3814
3845
|
items: n,
|
|
3815
3846
|
getId: l,
|
|
@@ -3823,7 +3854,7 @@ function Jr({
|
|
|
3823
3854
|
filters: h,
|
|
3824
3855
|
columnsKey: u
|
|
3825
3856
|
}) {
|
|
3826
|
-
const [f, g] = T(() => u ? bs(u) : []), [v, x] = T(!1), [N, k] = T(!1), _ = ye(() => new Set(f), [f]), p = t.filter(
|
|
3857
|
+
const [f, g] = T(() => u ? bs(u) : []), [v, x] = T(!1), [N, k] = T(!1), _ = ye(() => new Set(f), [f]), p = t.filter(wn), b = p.length > 0 && p.every((R) => _.has(R.key)), S = (R) => !b && _.has(R.key) && wn(R), $ = t.filter((R) => !S(R)), M = p.filter((R) => !S(R)), [w, y] = T(null), C = (R) => {
|
|
3827
3858
|
g((D) => {
|
|
3828
3859
|
const O = !D.includes(R.key), G = O ? [...D, R.key] : D.filter((q) => q !== R.key);
|
|
3829
3860
|
return u && ys(u, G), O && y((q) => q && q.key === R.key ? null : q), G;
|
|
@@ -3888,7 +3919,7 @@ function Jr({
|
|
|
3888
3919
|
/* @__PURE__ */ e(ds, { columns: E, empty: F, title: i, help: r, filters: h, action: W ? /* @__PURE__ */ m("span", { className: "select-datatable__toolbar", children: [
|
|
3889
3920
|
d,
|
|
3890
3921
|
W
|
|
3891
|
-
] }) : d, children: c ? Array.from({ length: 5 }, (R, D) => /* @__PURE__ */ e(
|
|
3922
|
+
] }) : d, children: c ? Array.from({ length: 5 }, (R, D) => /* @__PURE__ */ e(Mn, { children: $.map((O, G) => /* @__PURE__ */ e($n, { align: O.align, width: O.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, G)) }, `skeleton-${D}`)) : A.map((R) => /* @__PURE__ */ e(Mn, { onClick: o ? () => o(R) : void 0, children: $.map((D, O) => /* @__PURE__ */ e($n, { align: D.align, width: D.width, children: D.render(R) }, O)) }, l(R))) }),
|
|
3892
3923
|
a && /* @__PURE__ */ m("div", { className: "select-datatable__pagination", children: [
|
|
3893
3924
|
a.pageSizeOptions && a.pageSizeOptions.length > 1 && a.onPageSizeChange && /* @__PURE__ */ e("div", { className: "select-datatable__pagesize", children: /* @__PURE__ */ e(
|
|
3894
3925
|
We,
|
|
@@ -3971,12 +4002,12 @@ const Ns = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], Ms = [
|
|
|
3971
4002
|
"Outubro",
|
|
3972
4003
|
"Novembro",
|
|
3973
4004
|
"Dezembro"
|
|
3974
|
-
], Te = (t) => String(t).padStart(2, "0"), ct = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), vt = (t) => new Date(t.getFullYear(), t.getMonth(), 1),
|
|
4005
|
+
], Te = (t) => String(t).padStart(2, "0"), ct = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), vt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), Sn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Cn = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), Ln = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
|
|
3975
4006
|
function $s(t) {
|
|
3976
4007
|
const n = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}))?/.exec(t || "");
|
|
3977
4008
|
return n ? new Date(Number(n[1]), Number(n[2]) - 1, Number(n[3]), Number(n[4] ?? 0), Number(n[5] ?? 0)) : null;
|
|
3978
4009
|
}
|
|
3979
|
-
function
|
|
4010
|
+
function An(t, n) {
|
|
3980
4011
|
const l = `${t.getFullYear()}-${Te(t.getMonth() + 1)}-${Te(t.getDate())}`;
|
|
3981
4012
|
return n ? `${l}T${Te(t.getHours())}:${Te(t.getMinutes())}` : l;
|
|
3982
4013
|
}
|
|
@@ -3985,15 +4016,15 @@ function ws(t, n) {
|
|
|
3985
4016
|
return n ? `${l} ${Te(t.getHours())}:${Te(t.getMinutes())}` : l;
|
|
3986
4017
|
}
|
|
3987
4018
|
const ks = P(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: o, disabled: i, error: r, hint: d, minDate: h, maxDate: u, clearable: f = !0, id: g, className: v, ...x }, N) {
|
|
3988
|
-
const k = ne(), _ = g ?? k, [p, b] = T(!1), S = $s(l), [$, M] = T(() => vt(S ?? /* @__PURE__ */ new Date())), w = h ? ct(h) : null, y = u ? ct(u) : null, C = (D) => !!w && ct(D) < w || !!y && ct(D) > y, L =
|
|
4019
|
+
const k = ne(), _ = g ?? k, [p, b] = T(!1), S = $s(l), [$, M] = T(() => vt(S ?? /* @__PURE__ */ new Date())), w = h ? ct(h) : null, y = u ? ct(u) : null, C = (D) => !!w && ct(D) < w || !!y && ct(D) > y, L = Sn(vt($), -vt($).getDay()), B = Array.from({ length: 42 }, (D, O) => Sn(L, O)), A = ct(/* @__PURE__ */ new Date()), E = () => {
|
|
3989
4020
|
i || (M(vt(S ?? /* @__PURE__ */ new Date())), b((D) => !D));
|
|
3990
4021
|
}, F = (D) => {
|
|
3991
4022
|
if (C(D)) return;
|
|
3992
4023
|
const O = new Date(D);
|
|
3993
|
-
s && O.setHours((S == null ? void 0 : S.getHours()) ?? 0, (S == null ? void 0 : S.getMinutes()) ?? 0, 0, 0), c(
|
|
4024
|
+
s && O.setHours((S == null ? void 0 : S.getHours()) ?? 0, (S == null ? void 0 : S.getMinutes()) ?? 0, 0, 0), c(An(O, s)), s || b(!1);
|
|
3994
4025
|
}, W = (D) => {
|
|
3995
4026
|
const [O = "", G = ""] = D.split(":"), q = Number(O), ie = Number(G), fe = new Date(S ?? A);
|
|
3996
|
-
fe.setHours(Number.isFinite(q) ? q : 0, Number.isFinite(ie) ? ie : 0, 0, 0), c(
|
|
4027
|
+
fe.setHours(Number.isFinite(q) ? q : 0, Number.isFinite(ie) ? ie : 0, 0, 0), c(An(fe, !0));
|
|
3997
4028
|
}, Z = () => {
|
|
3998
4029
|
c(""), b(!1);
|
|
3999
4030
|
}, R = /* @__PURE__ */ m("div", { className: `select-input-wrap${r ? " select-input-wrap--error" : ""}`, children: [
|
|
@@ -4017,18 +4048,18 @@ const ks = P(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
4017
4048
|
n && /* @__PURE__ */ e(lt, { htmlFor: _, label: o ? `${n} *` : n }),
|
|
4018
4049
|
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(We, { active: p, onClose: () => b(!1), placement: "bottom-start", role: "dialog", activator: R, children: /* @__PURE__ */ m("div", { className: "select-datefield__pop", children: [
|
|
4019
4050
|
/* @__PURE__ */ m("div", { className: "select-datepicker__calhead", children: [
|
|
4020
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => M((D) =>
|
|
4051
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => M((D) => Cn(D, -1)), children: /* @__PURE__ */ e(Kt, {}) }),
|
|
4021
4052
|
/* @__PURE__ */ m("span", { className: "select-datepicker__monthlabel", children: [
|
|
4022
4053
|
Ms[$.getMonth()],
|
|
4023
4054
|
" ",
|
|
4024
4055
|
$.getFullYear()
|
|
4025
4056
|
] }),
|
|
4026
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => M((D) =>
|
|
4057
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => M((D) => Cn(D, 1)), children: /* @__PURE__ */ e(dt, {}) })
|
|
4027
4058
|
] }),
|
|
4028
4059
|
/* @__PURE__ */ m("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
4029
4060
|
Ns.map((D) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: D }, D)),
|
|
4030
4061
|
B.map((D) => {
|
|
4031
|
-
const O = D.getMonth() !== $.getMonth(), G = !!S &&
|
|
4062
|
+
const O = D.getMonth() !== $.getMonth(), G = !!S && Ln(D, S), q = "select-datepicker__daybtn" + (G ? " is-selected" : "") + (Ln(D, A) && !G ? " is-today" : "") + (O ? " is-outside" : "");
|
|
4032
4063
|
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: q, disabled: C(D), onClick: () => F(D), children: D.getDate() }) }, D.getTime());
|
|
4033
4064
|
})
|
|
4034
4065
|
] }),
|
|
@@ -4145,7 +4176,7 @@ function Ss({
|
|
|
4145
4176
|
}
|
|
4146
4177
|
);
|
|
4147
4178
|
}
|
|
4148
|
-
const
|
|
4179
|
+
const no = P(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: o, className: i, ...r }, d) {
|
|
4149
4180
|
const [h, u] = T([]), [f, g] = T(null), [v, x] = T(!1), N = (M) => (l[M.key] ?? "").trim() !== "", k = (M) => !!M.pinned || N(M) || h.includes(M.key), _ = n.filter(k), p = n.filter((M) => !k(M)), b = n.filter(N), S = () => {
|
|
4150
4181
|
u([]), g(null), s();
|
|
4151
4182
|
}, $ = (M) => {
|
|
@@ -4256,7 +4287,7 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4256
4287
|
/* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: S, children: "Limpar tudo" })
|
|
4257
4288
|
] })
|
|
4258
4289
|
] });
|
|
4259
|
-
}),
|
|
4290
|
+
}), lo = P(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: o, error: i, onBlur: r, size: d = "md", className: h, ...u }, f) {
|
|
4260
4291
|
const [g, v] = T(!1), [x, N] = T(""), k = l.filter((b) => b.label.toLowerCase().includes(x.trim().toLowerCase())), _ = (b) => s(c.includes(b) ? c.filter((S) => S !== b) : [...c, b]), p = c.map((b) => l.find((S) => S.value === b)).filter((b) => b != null);
|
|
4261
4292
|
return /* @__PURE__ */ m("div", { ref: f, ...u, className: `select-field${d === "sm" ? " select-field--sm" : ""}${h ? " " + h : ""}`, children: [
|
|
4262
4293
|
n && /* @__PURE__ */ e("div", { className: "select-field__labelrow", children: /* @__PURE__ */ e("span", { className: "select-field__label", children: n }) }),
|
|
@@ -4332,7 +4363,7 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4332
4363
|
),
|
|
4333
4364
|
i ? /* @__PURE__ */ e("p", { className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: o }) : null
|
|
4334
4365
|
] });
|
|
4335
|
-
}),
|
|
4366
|
+
}), co = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: o = !1, className: i, ...r }, d) {
|
|
4336
4367
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-surface${i ? " " + i : ""}`, children: [
|
|
4337
4368
|
(n || l || c) && /* @__PURE__ */ m("div", { className: "select-surface__header", children: [
|
|
4338
4369
|
/* @__PURE__ */ m("div", { className: "select-surface__heading", children: [
|
|
@@ -4345,7 +4376,7 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4345
4376
|
s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
|
|
4346
4377
|
] });
|
|
4347
4378
|
}), Nl = Xt(null), Cs = 220, Ls = 4e3, As = 8, Es = 0.04, Bs = 5;
|
|
4348
|
-
function
|
|
4379
|
+
function so({ children: t }) {
|
|
4349
4380
|
const [n, l] = T([]), c = Y(0), s = Y(/* @__PURE__ */ new Map()), a = Fe((d) => {
|
|
4350
4381
|
l((h) => h.filter((u) => u.id !== d)), s.current.delete(d);
|
|
4351
4382
|
}, []), o = Fe(
|
|
@@ -4395,12 +4426,12 @@ function no({ children: t }) {
|
|
|
4395
4426
|
)
|
|
4396
4427
|
] });
|
|
4397
4428
|
}
|
|
4398
|
-
function
|
|
4429
|
+
function ao() {
|
|
4399
4430
|
const t = zt(Nl);
|
|
4400
4431
|
if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
|
|
4401
4432
|
return t;
|
|
4402
4433
|
}
|
|
4403
|
-
const Fs = { desktop: "100%", mobile: 390 },
|
|
4434
|
+
const Fs = { desktop: "100%", mobile: 390 }, ro = P(function({ src: n, title: l = "Pré-visualização", height: c = 560, initialDevice: s = "desktop", showDeviceToggle: a = !0, emptyLabel: o = "Salve para gerar a pré-visualização.", className: i, ...r }, d) {
|
|
4404
4435
|
const [h, u] = T(s), [f, g] = T(0), [v, x] = T(!0), N = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${f}` : "", k = () => {
|
|
4405
4436
|
x(!0), g((_) => _ + 1);
|
|
4406
4437
|
};
|
|
@@ -4440,7 +4471,7 @@ const Fs = { desktop: "100%", mobile: 390 }, co = P(function({ src: n, title: l
|
|
|
4440
4471
|
rel: "noreferrer",
|
|
4441
4472
|
"aria-label": "Abrir em nova aba",
|
|
4442
4473
|
title: "Abrir em nova aba",
|
|
4443
|
-
children: /* @__PURE__ */ e(
|
|
4474
|
+
children: /* @__PURE__ */ e(en, {})
|
|
4444
4475
|
}
|
|
4445
4476
|
)
|
|
4446
4477
|
] })
|
|
@@ -4477,19 +4508,19 @@ function Ts() {
|
|
|
4477
4508
|
return !1;
|
|
4478
4509
|
}
|
|
4479
4510
|
}
|
|
4480
|
-
function
|
|
4511
|
+
function En(t) {
|
|
4481
4512
|
try {
|
|
4482
4513
|
localStorage.setItem(Ml, t ? "1" : "0");
|
|
4483
4514
|
} catch {
|
|
4484
4515
|
}
|
|
4485
4516
|
}
|
|
4486
|
-
function
|
|
4517
|
+
function oo({ children: t }) {
|
|
4487
4518
|
const [n, l] = T(Ts), c = Fe((o) => {
|
|
4488
|
-
l(o),
|
|
4519
|
+
l(o), En(o);
|
|
4489
4520
|
}, []), s = Fe(() => {
|
|
4490
4521
|
l((o) => {
|
|
4491
4522
|
const i = !o;
|
|
4492
|
-
return
|
|
4523
|
+
return En(i), i;
|
|
4493
4524
|
});
|
|
4494
4525
|
}, []), a = ye(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
4495
4526
|
return /* @__PURE__ */ e($l.Provider, { value: a, children: t });
|
|
@@ -4528,7 +4559,7 @@ const Os = new Intl.NumberFormat("pt-BR", {
|
|
|
4528
4559
|
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
4529
4560
|
] });
|
|
4530
4561
|
});
|
|
4531
|
-
function
|
|
4562
|
+
function io() {
|
|
4532
4563
|
const { hidden: t, toggle: n } = wl();
|
|
4533
4564
|
return /* @__PURE__ */ e(
|
|
4534
4565
|
ge,
|
|
@@ -4541,7 +4572,7 @@ function ao() {
|
|
|
4541
4572
|
}
|
|
4542
4573
|
);
|
|
4543
4574
|
}
|
|
4544
|
-
const
|
|
4575
|
+
const uo = P(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: o, ...i }, r) {
|
|
4545
4576
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-balance${o ? " " + o : ""}`, children: [
|
|
4546
4577
|
/* @__PURE__ */ m("div", { className: "select-balance__head", children: [
|
|
4547
4578
|
/* @__PURE__ */ e("h3", { className: "select-balance__title", children: l }),
|
|
@@ -4572,7 +4603,7 @@ const ro = P(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4572
4603
|
] }, d.label)) })
|
|
4573
4604
|
] })
|
|
4574
4605
|
] });
|
|
4575
|
-
}),
|
|
4606
|
+
}), ho = P(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: o, ...i }, r) {
|
|
4576
4607
|
const d = c ?? n - l.reduce((h, u) => h + u.cents, 0);
|
|
4577
4608
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-fees${o ? " " + o : ""}`, children: [
|
|
4578
4609
|
/* @__PURE__ */ m("div", { className: "select-fees__row", children: [
|
|
@@ -4592,7 +4623,7 @@ const ro = P(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4592
4623
|
/* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e(at, { cents: d }) })
|
|
4593
4624
|
] })
|
|
4594
4625
|
] });
|
|
4595
|
-
}),
|
|
4626
|
+
}), po = P(function({ label: n, value: l, caption: c, chart: s, help: a, tone: o, bare: i = !1, className: r, ...d }, h) {
|
|
4596
4627
|
return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-kpi${i ? " select-kpi--bare" : ""}${r ? " " + r : ""}`, children: [
|
|
4597
4628
|
/* @__PURE__ */ m("span", { className: `select-kpi__label${a != null ? " select-kpi__label--help" : ""}`, children: [
|
|
4598
4629
|
a != null ? /* @__PURE__ */ e("span", { className: "select-kpi__labeltext", children: n }) : n,
|
|
@@ -4602,7 +4633,7 @@ const ro = P(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4602
4633
|
s != null && /* @__PURE__ */ e("div", { className: "select-kpi__chart", children: s }),
|
|
4603
4634
|
c != null && /* @__PURE__ */ e("span", { className: "select-kpi__caption", children: c })
|
|
4604
4635
|
] });
|
|
4605
|
-
}),
|
|
4636
|
+
}), mo = P(function({ title: n, caption: l, action: c, help: s, loading: a = !1, hideValues: o = !1, height: i = 260, flush: r = !1, insight: d, insightTone: h = "neutral", children: u, className: f, ...g }, v) {
|
|
4606
4637
|
const x = i === "auto" ? void 0 : `${i / 16}rem`, N = i === "auto" ? "10rem" : `${i / 16}rem`;
|
|
4607
4638
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-chartcard${f ? " " + f : ""}`, children: [
|
|
4608
4639
|
(n || c || l) && /* @__PURE__ */ m("div", { className: "select-chartcard__head", children: [
|
|
@@ -4678,7 +4709,7 @@ function Vs(t, n = 5) {
|
|
|
4678
4709
|
for (let r = 0; r <= o + a / 2; r += a) i.push(Math.round(r * 1e6) / 1e6);
|
|
4679
4710
|
return { max: o, values: i };
|
|
4680
4711
|
}
|
|
4681
|
-
function
|
|
4712
|
+
function Bn(t) {
|
|
4682
4713
|
return t.map((n, l) => `${l === 0 ? "M" : "L"}${n[0].toFixed(2)},${n[1].toFixed(2)}`).join(" ");
|
|
4683
4714
|
}
|
|
4684
4715
|
function Ge(t) {
|
|
@@ -4725,7 +4756,7 @@ function it(t, n, l, c, s, a) {
|
|
|
4725
4756
|
const [o, i] = gt(t, n, l, s), [r, d] = gt(t, n, l, a), [h, u] = gt(t, n, c, a), [f, g] = gt(t, n, c, s), v = a - s > 180 ? 1 : 0;
|
|
4726
4757
|
return `M${o.toFixed(2)},${i.toFixed(2)} A${l},${l} 0 ${v} 1 ${r.toFixed(2)},${d.toFixed(2)} L${h.toFixed(2)},${u.toFixed(2)} A${c},${c} 0 ${v} 0 ${f.toFixed(2)},${g.toFixed(2)} Z`;
|
|
4727
4758
|
}
|
|
4728
|
-
const
|
|
4759
|
+
const Fn = [
|
|
4729
4760
|
"var(--select-chart-1)",
|
|
4730
4761
|
"var(--select-chart-2)",
|
|
4731
4762
|
"var(--select-chart-3)",
|
|
@@ -4733,14 +4764,14 @@ const Bn = [
|
|
|
4733
4764
|
"var(--select-chart-5)"
|
|
4734
4765
|
];
|
|
4735
4766
|
function j(t) {
|
|
4736
|
-
return
|
|
4767
|
+
return Fn[t % Fn.length];
|
|
4737
4768
|
}
|
|
4738
4769
|
function z(t) {
|
|
4739
4770
|
const n = Math.abs(t);
|
|
4740
4771
|
return n >= 1e9 ? (t / 1e9).toFixed(1).replace(/\.0$/, "") + "B" : n >= 1e6 ? (t / 1e6).toFixed(1).replace(/\.0$/, "") + "M" : n >= 1e3 ? (t / 1e3).toFixed(1).replace(/\.0$/, "") + "k" : String(Math.round(t));
|
|
4741
4772
|
}
|
|
4742
4773
|
const Ie = { top: 16, right: 22, bottom: 32, left: 48 };
|
|
4743
|
-
function
|
|
4774
|
+
function fo({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
4744
4775
|
const { ref: a, width: o } = ce(l), i = n ?? j(0), r = ne(), d = 4;
|
|
4745
4776
|
let h = null;
|
|
4746
4777
|
if (o > 0 && t.length > 1) {
|
|
@@ -4800,7 +4831,7 @@ function J({ tip: t, className: n, ...l }) {
|
|
|
4800
4831
|
] }, r))
|
|
4801
4832
|
] });
|
|
4802
4833
|
}
|
|
4803
|
-
function
|
|
4834
|
+
function _o({ data: t, height: n = 240, color: l, format: c = z, className: s, ...a }) {
|
|
4804
4835
|
const { ref: o, width: i } = ce(n), r = K(), d = ne(), h = l ?? j(0), u = xe(Math.max(0, ...t.map((p) => p.value))), f = Ie, g = Math.max(0, i - f.left - f.right), v = n - f.top - f.bottom, x = t.length > 0 ? g / t.length : 0, N = Math.min(x * 0.62, 44), k = f.top + v, _ = (p) => k - p / u * v;
|
|
4805
4836
|
return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
|
|
4806
4837
|
i > 0 && /* @__PURE__ */ m("svg", { width: i, height: n, className: "select-chart", children: [
|
|
@@ -4851,7 +4882,7 @@ function po({ data: t, height: n = 240, color: l, format: c = z, className: s, .
|
|
|
4851
4882
|
/* @__PURE__ */ e(J, { tip: r.tip })
|
|
4852
4883
|
] });
|
|
4853
4884
|
}
|
|
4854
|
-
function
|
|
4885
|
+
function vo({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1, className: a, ...o }) {
|
|
4855
4886
|
const { ref: i, width: r } = ce(l), d = K(), h = ne(), [u, f] = T(null), { max: g, values: v } = Vs(Math.max(0, ...t.flatMap((w) => w.data))), x = Ie, N = Math.max(0, r - x.left - x.right), k = l - x.top - x.bottom, _ = n.length, p = (w) => x.left + (_ <= 1 ? N / 2 : w / (_ - 1) * N), b = (w) => x.top + k - w / g * k, S = _ > 1 ? N / (_ - 1) : N, $ = Math.max(1, Math.ceil(_ / 7)), M = x.top + k;
|
|
4856
4887
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
4857
4888
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: l, className: "select-chart", children: [
|
|
@@ -4938,7 +4969,7 @@ function mo({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1
|
|
|
4938
4969
|
/* @__PURE__ */ e(J, { tip: d.tip })
|
|
4939
4970
|
] });
|
|
4940
4971
|
}
|
|
4941
|
-
function
|
|
4972
|
+
function go({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
|
|
4942
4973
|
const { ref: o, width: i } = ce(l), r = K(), d = ne(), [h, u] = T(null), f = n.length, g = new Array(f).fill(0), v = t.map(
|
|
4943
4974
|
(y) => y.data.map((C, L) => (g[L] = (g[L] ?? 0) + (C ?? 0), g[L]))
|
|
4944
4975
|
), x = xe(Math.max(0, ...g)), N = Ie, k = Math.max(0, i - N.left - N.right), _ = l - N.top - N.bottom, p = (y) => N.left + (f <= 1 ? k / 2 : y / (f - 1) * k), b = (y) => N.top + _ - y / x * _, S = f > 1 ? k / (f - 1) : k, $ = Math.max(1, Math.ceil(f / 7)), M = N.top + _, w = v[v.length - 1];
|
|
@@ -5004,7 +5035,7 @@ function fo({ series: t, labels: n, height: l = 240, format: c = z, className: s
|
|
|
5004
5035
|
/* @__PURE__ */ e(J, { tip: r.tip })
|
|
5005
5036
|
] });
|
|
5006
5037
|
}
|
|
5007
|
-
function
|
|
5038
|
+
function bo({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = z, formatLine: a = (r) => `${Math.round(r)}%`, className: o, ...i }) {
|
|
5008
5039
|
const { ref: r, width: d } = ce(c), h = K(), u = ne(), [f, g] = T(null), v = { ...Ie, right: 58 }, x = Math.max(0, d - v.left - v.right), N = c - v.top - v.bottom, k = t.length, _ = xe(Math.max(0, ...n.data)), p = xe(Math.max(0, ...l.data)), b = k > 0 ? x / k : 0, S = Math.min(b * 0.5, 36), $ = Math.max(1, Math.ceil(k / 8)), M = n.color ?? j(0), w = l.color ?? j(1), y = v.top + N, C = (E) => y - E / _ * N, L = (E) => y - E / p * N, B = (E) => v.left + b * E + b / 2, A = l.data.map((E, F) => [B(F), L(E)]);
|
|
5009
5040
|
return /* @__PURE__ */ m("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: r, children: [
|
|
5010
5041
|
d > 0 && /* @__PURE__ */ m("svg", { width: d, height: c, className: "select-chart", children: [
|
|
@@ -5102,7 +5133,7 @@ function _o({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = z, fo
|
|
|
5102
5133
|
/* @__PURE__ */ e(J, { tip: h.tip })
|
|
5103
5134
|
] });
|
|
5104
5135
|
}
|
|
5105
|
-
const
|
|
5136
|
+
const yo = P(function({ segments: n, size: l = 200, thickness: c = 26, format: s = z, centerLabel: a, legend: o = !0, gap: i = 2, pie: r = !1, className: d, ...h }, u) {
|
|
5106
5137
|
const f = K(), g = ne(), v = Y(null), x = Ct(v, l), N = n.reduce(($, M) => $ + M.value, 0) || 1, k = x / 2, _ = x / 2, p = x / 2 - 2, b = r ? 0 : p - c;
|
|
5107
5138
|
let S = 0;
|
|
5108
5139
|
return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-donut-wrap${d ? " " + d : ""}`, children: [
|
|
@@ -5151,7 +5182,7 @@ const vo = P(function({ segments: n, size: l = 200, thickness: c = 26, format: s
|
|
|
5151
5182
|
/* @__PURE__ */ e(J, { tip: f.tip })
|
|
5152
5183
|
] });
|
|
5153
5184
|
});
|
|
5154
|
-
function
|
|
5185
|
+
function xo({ series: t, labels: n, height: l = 240, format: c = z, stacked: s = !1, className: a, ...o }) {
|
|
5155
5186
|
const { ref: i, width: r } = ce(l), d = K(), h = ne(), u = n.length, f = t.length || 1, g = n.map((M, w) => t.reduce((y, C) => y + (C.data[w] ?? 0), 0)), v = xe(s ? Math.max(0, ...g) : Math.max(0, ...t.flatMap((M) => M.data))), x = Ie, N = Math.max(0, r - x.left - x.right), k = l - x.top - x.bottom, _ = x.top + k, p = u ? N / u : 0, b = (M) => _ - M / v * k, S = Math.min(p * 0.72, f * 40), $ = s ? Math.min(p * 0.5, 44) : S / f;
|
|
5156
5187
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
5157
5188
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: l, className: "select-chart", children: [
|
|
@@ -5243,7 +5274,7 @@ function go({ series: t, labels: n, height: l = 240, format: c = z, stacked: s =
|
|
|
5243
5274
|
/* @__PURE__ */ e(J, { tip: d.tip })
|
|
5244
5275
|
] });
|
|
5245
5276
|
}
|
|
5246
|
-
const
|
|
5277
|
+
const No = P(function({ stages: n, format: l = z, className: c, ...s }, a) {
|
|
5247
5278
|
const o = Math.max(1, ...n.map((i) => i.value));
|
|
5248
5279
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-funnel${c ? " " + c : ""}`, children: n.map((i, r) => {
|
|
5249
5280
|
const d = r > 0 ? n[r - 1].value || 1 : i.value || 1, h = r > 0 ? i.value / d * 100 : 100, u = j(r);
|
|
@@ -5272,15 +5303,15 @@ const bo = P(function({ stages: n, format: l = z, className: c, ...s }, a) {
|
|
|
5272
5303
|
function Zs(t) {
|
|
5273
5304
|
return Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0;
|
|
5274
5305
|
}
|
|
5275
|
-
function
|
|
5306
|
+
function In(t, n, l, c) {
|
|
5276
5307
|
const s = Math.PI + c * Math.PI;
|
|
5277
5308
|
return [t + l * Math.cos(s), n + l * Math.sin(s)];
|
|
5278
5309
|
}
|
|
5279
|
-
function
|
|
5280
|
-
const [a, o] =
|
|
5310
|
+
function Pn(t, n, l, c, s) {
|
|
5311
|
+
const [a, o] = In(t, n, l, c), [i, r] = In(t, n, l, s);
|
|
5281
5312
|
return `M ${a.toFixed(2)} ${o.toFixed(2)} A ${l} ${l} 0 0 1 ${i.toFixed(2)} ${r.toFixed(2)}`;
|
|
5282
5313
|
}
|
|
5283
|
-
const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`,
|
|
5314
|
+
const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, Mo = P(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: o, format: i = Gs, className: r, ...d }, h) {
|
|
5284
5315
|
const u = Zs(n), f = ne(), g = a ?? Math.max(8, Math.round(s * 0.075)), v = g / 2 + 2, x = s / 2 - v, N = s / 2, k = s / 2, _ = k + v, p = rc({ value: u, format: i });
|
|
5285
5316
|
return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-gauge${r ? " " + r : ""}`, style: { width: `${s / 16}rem` }, children: [
|
|
5286
5317
|
/* @__PURE__ */ m("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${_}` }, children: [
|
|
@@ -5293,7 +5324,7 @@ const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5293
5324
|
"path",
|
|
5294
5325
|
{
|
|
5295
5326
|
className: "select-gauge__track",
|
|
5296
|
-
d:
|
|
5327
|
+
d: Pn(N, k, x, 0, 1),
|
|
5297
5328
|
fill: "none",
|
|
5298
5329
|
strokeWidth: g,
|
|
5299
5330
|
strokeLinecap: "round"
|
|
@@ -5303,7 +5334,7 @@ const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5303
5334
|
"path",
|
|
5304
5335
|
{
|
|
5305
5336
|
className: "select-gauge__arc",
|
|
5306
|
-
d:
|
|
5337
|
+
d: Pn(N, k, x, 0, u / 100),
|
|
5307
5338
|
fill: "none",
|
|
5308
5339
|
stroke: o ?? `url(#${f})`,
|
|
5309
5340
|
strokeWidth: g,
|
|
@@ -5319,7 +5350,7 @@ const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5319
5350
|
] }),
|
|
5320
5351
|
c != null && /* @__PURE__ */ e("div", { className: "select-gauge__caption", children: c })
|
|
5321
5352
|
] });
|
|
5322
|
-
}),
|
|
5353
|
+
}), $o = P(function({ columns: n, rows: l, format: c = z, formatValue: s, color: a = "var(--select-chart-1)", showValues: o = !0, min: i, max: r, cellSize: d = 40, maxCellSize: h = 96, cellHeight: u = 30, className: f, ...g }, v) {
|
|
5323
5354
|
const x = K(), N = l.flatMap((M) => M.values).filter((M) => M != null && Number.isFinite(M)), k = i ?? (N.length ? Math.min(...N) : 0), p = (r ?? (N.length ? Math.max(...N) : 1)) - k || 1, b = { "--heat-color": a }, S = {
|
|
5324
5355
|
gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${d}px, ${Math.max(d, h)}px))`,
|
|
5325
5356
|
width: "fit-content",
|
|
@@ -5370,7 +5401,7 @@ const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5370
5401
|
/* @__PURE__ */ e(J, { tip: x.tip })
|
|
5371
5402
|
] });
|
|
5372
5403
|
});
|
|
5373
|
-
function
|
|
5404
|
+
function wo({
|
|
5374
5405
|
items: t,
|
|
5375
5406
|
format: n = z,
|
|
5376
5407
|
color: l,
|
|
@@ -5404,7 +5435,7 @@ function No({
|
|
|
5404
5435
|
] }, `${a.label}-${o}`);
|
|
5405
5436
|
}) });
|
|
5406
5437
|
}
|
|
5407
|
-
const Wt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0,
|
|
5438
|
+
const Wt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, ko = P(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (u) => `${Math.round(u)}%`, centerLabel: o, legend: i = !0, className: r, ...d }, h) {
|
|
5408
5439
|
const u = ne(), f = l / 2, g = l / 2;
|
|
5409
5440
|
return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
|
|
5410
5441
|
/* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -5449,12 +5480,12 @@ const Wt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, Mo = P
|
|
|
5449
5480
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(Wt(v.value)) })
|
|
5450
5481
|
] }, x)) })
|
|
5451
5482
|
] });
|
|
5452
|
-
}),
|
|
5453
|
-
function
|
|
5483
|
+
}), Rn = 6.1, Ot = 12, Dn = 56, Us = 0.4;
|
|
5484
|
+
function So({ data: t, height: n, color: l, format: c = z, formatValue: s, distributed: a = !0, labelWidth: o, className: i, ...r }) {
|
|
5454
5485
|
const g = n ?? t.length * 36 + 6 + 26, { ref: v, width: x } = ce(g), N = K(), k = ne(), _ = xe(Math.max(0, ...t.map((E) => E.value))), p = t.reduce((E, F) => Math.max(E, F.label.length), 0), b = Math.min(
|
|
5455
|
-
Math.max(
|
|
5456
|
-
Math.max(
|
|
5457
|
-
), S = o ?? b, $ = Math.max(3, Math.floor((S - Ot) /
|
|
5486
|
+
Math.max(Dn, p * Rn + Ot),
|
|
5487
|
+
Math.max(Dn, x * Us)
|
|
5488
|
+
), S = o ?? b, $ = Math.max(3, Math.floor((S - Ot) / Rn)), M = (E) => E.length <= $ ? E : `${E.slice(0, $ - 1).trimEnd()}…`, w = Math.max(0, x - S - 28), y = g - 6 - 26, C = t.length ? y / t.length : 0, L = Math.min(C * 0.62, 22), B = (E) => S + E / _ * w, A = (E, F) => E.color ?? (a ? j(F) : l ?? j(0));
|
|
5458
5489
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${i ? " " + i : ""}`, ref: v, children: [
|
|
5459
5490
|
x > 0 && /* @__PURE__ */ m("svg", { width: x, height: g, className: "select-chart", children: [
|
|
5460
5491
|
/* @__PURE__ */ e("defs", { children: t.map((E, F) => {
|
|
@@ -5521,7 +5552,7 @@ function $o({ data: t, height: n, color: l, format: c = z, formatValue: s, distr
|
|
|
5521
5552
|
/* @__PURE__ */ e(J, { tip: N.tip })
|
|
5522
5553
|
] });
|
|
5523
5554
|
}
|
|
5524
|
-
function
|
|
5555
|
+
function Co({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
5525
5556
|
const { ref: a, width: o } = ce(n), i = K(), r = ne();
|
|
5526
5557
|
let d = 0;
|
|
5527
5558
|
const h = t.map(($) => {
|
|
@@ -5591,7 +5622,7 @@ function wo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
|
5591
5622
|
/* @__PURE__ */ e(J, { tip: i.tip })
|
|
5592
5623
|
] });
|
|
5593
5624
|
}
|
|
5594
|
-
const
|
|
5625
|
+
const Tn = (t) => Math.max(0, Math.min(100, t)), Lo = P(function({ items: n, format: l = z, className: c, ...s }, a) {
|
|
5595
5626
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((o, i) => {
|
|
5596
5627
|
const r = o.color ?? j(i), d = o.max ?? (Math.max(o.value, o.target) * 1.25 || 1), h = o.value >= o.target;
|
|
5597
5628
|
return /* @__PURE__ */ m("div", { className: "select-bullet__row", children: [
|
|
@@ -5617,12 +5648,12 @@ const Dn = (t) => Math.max(0, Math.min(100, t)), ko = P(function({ items: n, for
|
|
|
5617
5648
|
{
|
|
5618
5649
|
className: "select-bullet__fill",
|
|
5619
5650
|
style: {
|
|
5620
|
-
width: `${
|
|
5651
|
+
width: `${Tn(o.value / d * 100)}%`,
|
|
5621
5652
|
background: `linear-gradient(90deg, ${r}, color-mix(in srgb, ${r} 55%, transparent))`
|
|
5622
5653
|
}
|
|
5623
5654
|
}
|
|
5624
5655
|
),
|
|
5625
|
-
/* @__PURE__ */ e("span", { className: "select-bullet__tick", style: { left: `${
|
|
5656
|
+
/* @__PURE__ */ e("span", { className: "select-bullet__tick", style: { left: `${Tn(o.target / d * 100)}%` } })
|
|
5626
5657
|
] })
|
|
5627
5658
|
] }, `${o.label}-${i}`);
|
|
5628
5659
|
}) });
|
|
@@ -5670,7 +5701,7 @@ function Ys(t, n, l) {
|
|
|
5670
5701
|
l
|
|
5671
5702
|
), c;
|
|
5672
5703
|
}
|
|
5673
|
-
function
|
|
5704
|
+
function Ao({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
5674
5705
|
const { ref: a, width: o } = ce(n), i = K(), r = ne(), d = t.map((u, f) => f).sort((u, f) => t[f].value - t[u].value), h = o > 0 ? Ys(d.map((u) => t[u].value), o, n) : [];
|
|
5675
5706
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
|
|
5676
5707
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -5712,7 +5743,7 @@ function So({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
|
5712
5743
|
/* @__PURE__ */ e(J, { tip: i.tip })
|
|
5713
5744
|
] });
|
|
5714
5745
|
}
|
|
5715
|
-
function
|
|
5746
|
+
function Eo({ series: t, height: n = 240, xFormat: l = z, yFormat: c = z, xMax: s, yMax: a, maxRadius: o = 18, className: i, ...r }) {
|
|
5716
5747
|
const { ref: d, width: h } = ce(n), u = K(), f = t.flatMap((M) => M.points), g = xe(s ?? Math.max(0, ...f.map((M) => M.x))), v = xe(a ?? Math.max(0, ...f.map((M) => M.y))), x = Math.max(1, ...f.map((M) => M.r ?? 0)), N = Ie, k = Math.max(0, h - N.left - N.right), _ = n - N.top - N.bottom, p = N.top + _, b = (M) => N.left + M / g * k, S = (M) => p - M / v * _, $ = (M) => M.r ? 4 + Math.sqrt(M.r) / Math.sqrt(x) * (o - 4) : 4.5;
|
|
5717
5748
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${i ? " " + i : ""}`, ref: d, children: [
|
|
5718
5749
|
h > 0 && /* @__PURE__ */ m("svg", { width: h, height: n, className: "select-chart", children: [
|
|
@@ -5759,7 +5790,7 @@ function Co({ series: t, height: n = 240, xFormat: l = z, yFormat: c = z, xMax:
|
|
|
5759
5790
|
/* @__PURE__ */ e(J, { tip: u.tip })
|
|
5760
5791
|
] });
|
|
5761
5792
|
}
|
|
5762
|
-
const
|
|
5793
|
+
const Bo = P(function({ axes: n, series: l, size: c = 240, max: s, format: a = z, levels: o = 4, legend: i = !0, className: r, ...d }, h) {
|
|
5763
5794
|
const u = K(), f = ne(), g = n.length, v = c / 2, x = c / 2, N = c / 2 - 30, k = s ?? xe(Math.max(1, ...l.flatMap((S) => S.values))), _ = (S) => (-90 + S * 360 / g) * Math.PI / 180, p = (S, $) => [v + $ * Math.cos(_(S)), x + $ * Math.sin(_(S))], b = (S) => S.map(($, M) => `${M === 0 ? "M" : "L"}${p(M, $).map((w) => w.toFixed(2)).join(",")}`).join(" ") + " Z";
|
|
5764
5795
|
return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
|
|
5765
5796
|
/* @__PURE__ */ m("div", { className: "select-radar", style: { width: c, aspectRatio: "1" }, children: [
|
|
@@ -5829,7 +5860,7 @@ const Lo = P(function({ axes: n, series: l, size: c = 240, max: s, format: a = z
|
|
|
5829
5860
|
] }, $)) })
|
|
5830
5861
|
] });
|
|
5831
5862
|
});
|
|
5832
|
-
function
|
|
5863
|
+
function Fo({ links: t, height: n = 260, format: l = z, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...o }) {
|
|
5833
5864
|
const { ref: i, width: r } = ce(n), d = K(), h = [], u = [];
|
|
5834
5865
|
for (const y of t)
|
|
5835
5866
|
h.includes(y.source) || h.push(y.source), u.includes(y.target) || u.push(y.target);
|
|
@@ -5877,7 +5908,7 @@ function Ao({ links: t, height: n = 260, format: l = z, nodeWidth: c = 14, nodeG
|
|
|
5877
5908
|
/* @__PURE__ */ e(J, { tip: d.tip })
|
|
5878
5909
|
] });
|
|
5879
5910
|
}
|
|
5880
|
-
function
|
|
5911
|
+
function Io({ data: t, height: n = 240, format: l = z, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...o }) {
|
|
5881
5912
|
const { ref: i, width: r } = ce(n), d = K(), h = Ie, u = Math.max(0, r - h.left - h.right), f = n - h.top - h.bottom, g = h.top + f, v = Math.max(1, ...t.map((w) => w.high)), x = Math.min(v, ...t.map((w) => w.low)), N = (v - x) * 0.08 || 1, k = x - N, _ = v + N, p = (w) => g - (w - k) / (_ - k) * f, b = t.length, S = b ? u / b : 0, $ = Math.min(S * 0.5, 18), M = Array.from({ length: 5 }, (w, y) => k + (_ - k) * y / 4);
|
|
5882
5913
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
5883
5914
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -5929,7 +5960,7 @@ function Eo({ data: t, height: n = 240, format: l = z, upColor: c = "var(--selec
|
|
|
5929
5960
|
/* @__PURE__ */ e(J, { tip: d.tip })
|
|
5930
5961
|
] });
|
|
5931
5962
|
}
|
|
5932
|
-
function
|
|
5963
|
+
function Po({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
5933
5964
|
const { ref: a, width: o } = ce(n), i = K(), r = Ie, d = Math.max(0, o - r.left - r.right), h = n - r.top - r.bottom, u = r.top + h, f = xe(Math.max(1, ...t.map((k) => k.max))), g = (k) => u - k / f * h, v = t.length, x = v ? d / v : 0, N = Math.min(x * 0.5, 40);
|
|
5934
5965
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
5935
5966
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -5985,7 +6016,7 @@ function Bo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
|
5985
6016
|
/* @__PURE__ */ e(J, { tip: i.tip })
|
|
5986
6017
|
] });
|
|
5987
6018
|
}
|
|
5988
|
-
function
|
|
6019
|
+
function Ro({ data: t, height: n, min: l, max: c, format: s = z, labelWidth: a = 96, className: o, ...i }) {
|
|
5989
6020
|
const f = n ?? t.length * 36 + 6 + 26, { ref: g, width: v } = ce(f), x = K(), N = ne(), k = l ?? Math.min(0, ...t.map((L) => L.start)), p = (c ?? Math.max(1, ...t.map((L) => L.end))) - k || 1, b = a, S = Math.max(0, v - b - 14), $ = f - 6 - 26, M = t.length ? $ / t.length : 0, w = Math.min(M * 0.6, 22), y = (L) => b + (L - k) / p * S, C = Array.from({ length: 5 }, (L, B) => k + p * B / 4);
|
|
5990
6021
|
return /* @__PURE__ */ m("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: g, children: [
|
|
5991
6022
|
v > 0 && /* @__PURE__ */ m("svg", { width: v, height: f, className: "select-chart", children: [
|
|
@@ -6040,7 +6071,7 @@ function Fo({ data: t, height: n, min: l, max: c, format: s = z, labelWidth: a =
|
|
|
6040
6071
|
/* @__PURE__ */ e(J, { tip: x.tip })
|
|
6041
6072
|
] });
|
|
6042
6073
|
}
|
|
6043
|
-
const
|
|
6074
|
+
const Do = P(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels: c = ["Seg", "", "Qua", "", "Sex", "", "Dom"], columnLabels: s, format: a = z, cell: o = 14, gap: i = 3, min: r, max: d, className: h, ...u }, f) {
|
|
6044
6075
|
const g = K();
|
|
6045
6076
|
ne();
|
|
6046
6077
|
const v = n.flat().filter((w) => w != null && Number.isFinite(w)), x = r ?? (v.length ? Math.min(...v) : 0), k = (d ?? (v.length ? Math.max(...v) : 1)) - x || 1, _ = 30, p = s ? 16 : 4, b = o + i, S = _ + n.length * b, $ = p + 7 * b, M = { "--heat-color": l };
|
|
@@ -6084,7 +6115,7 @@ const Io = P(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
6084
6115
|
] }),
|
|
6085
6116
|
/* @__PURE__ */ e(J, { tip: g.tip })
|
|
6086
6117
|
] });
|
|
6087
|
-
}),
|
|
6118
|
+
}), To = P(function({ segments: n, size: l = 200, format: c = z, legend: s = !0, rose: a = !1, className: o, ...i }, r) {
|
|
6088
6119
|
const d = K(), h = l / 2, u = l / 2, f = l / 2 - 2, g = n.length || 1, v = xe(Math.max(1, ...n.map((k) => k.value))), x = (k) => a ? Math.max(0, k) / v * f : Math.sqrt(Math.max(0, k) / v) * f, N = 360 / g;
|
|
6089
6120
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
6090
6121
|
/* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -6115,7 +6146,7 @@ const Io = P(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
6115
6146
|
] }, _)) })
|
|
6116
6147
|
] });
|
|
6117
6148
|
});
|
|
6118
|
-
function
|
|
6149
|
+
function Wo({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = z, className: a, ...o }) {
|
|
6119
6150
|
const { ref: i, width: r } = ce(c), d = K(), h = { top: 24, right: 64, bottom: 12, left: 132 }, u = xe(Math.max(1, ...t.flatMap((N) => [N.left, N.right]))), f = c - h.top - h.bottom, g = (N) => h.top + f - N / u * f, v = h.left, x = r - h.right;
|
|
6120
6151
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
6121
6152
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: c, className: "select-chart", children: [
|
|
@@ -6162,7 +6193,7 @@ function Ro({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
|
|
|
6162
6193
|
/* @__PURE__ */ e(J, { tip: d.tip })
|
|
6163
6194
|
] });
|
|
6164
6195
|
}
|
|
6165
|
-
function
|
|
6196
|
+
function Oo({ data: t, height: n, format: l = z, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: o, ...i }) {
|
|
6166
6197
|
const f = n ?? t.length * 34 + 6 + 26, { ref: g, width: v } = ce(f), x = K(), N = "var(--select-chart-2)", k = "var(--select-chart-1)", _ = xe(Math.max(1, ...t.flatMap((w) => [w.from, w.to]))), p = a, b = Math.max(0, v - p - 14), S = f - 6 - 26, $ = t.length ? S / t.length : 0, M = (w) => p + w / _ * b;
|
|
6167
6198
|
return /* @__PURE__ */ m("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: g, children: [
|
|
6168
6199
|
v > 0 && /* @__PURE__ */ m("svg", { width: v, height: f, className: "select-chart", children: [
|
|
@@ -6214,7 +6245,7 @@ function Do({ data: t, height: n, format: l = z, fromLabel: c = "Antes", toLabel
|
|
|
6214
6245
|
/* @__PURE__ */ e(J, { tip: x.tip })
|
|
6215
6246
|
] });
|
|
6216
6247
|
}
|
|
6217
|
-
function
|
|
6248
|
+
function Ho({ columns: t, height: n = 240, format: l = z, gap: c = 3, className: s, ...a }) {
|
|
6218
6249
|
const { ref: o, width: i } = ce(n), r = K(), d = { top: 6, right: 6, bottom: 24, left: 6 }, h = Math.max(0, i - d.left - d.right), u = n - d.top - d.bottom, f = t.map((p) => p.segments.reduce((b, S) => b + S.value, 0)), g = f.reduce((p, b) => p + b, 0) || 1, v = [];
|
|
6219
6250
|
t.forEach((p) => p.segments.forEach((b) => {
|
|
6220
6251
|
v.includes(b.key) || v.push(b.key);
|
|
@@ -6266,7 +6297,7 @@ function To({ columns: t, height: n = 240, format: l = z, gap: c = 3, className:
|
|
|
6266
6297
|
/* @__PURE__ */ e(J, { tip: r.tip })
|
|
6267
6298
|
] });
|
|
6268
6299
|
}
|
|
6269
|
-
const
|
|
6300
|
+
const jo = P(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: o, format: i = (u) => `${Math.round(u)}`, className: r, ...d }, h) {
|
|
6270
6301
|
const u = a ?? Math.max(10, Math.round(s * 0.08)), f = u / 2 + 2, g = s / 2 - f, v = s / 2, x = s / 2, N = x + f, k = (L) => Math.max(0, Math.min(l, L)), _ = (L) => {
|
|
6271
6302
|
const B = Math.PI + L * Math.PI;
|
|
6272
6303
|
return [v + g * Math.cos(B), x + g * Math.sin(B)];
|
|
@@ -6291,7 +6322,7 @@ const Wo = P(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
|
|
|
6291
6322
|
] })
|
|
6292
6323
|
] }) });
|
|
6293
6324
|
});
|
|
6294
|
-
function
|
|
6325
|
+
function Vo({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
|
|
6295
6326
|
const { ref: o, width: i } = ce(l), r = K(), d = ne(), [h, u] = T(null), f = n.length, g = { top: 14, right: 14, bottom: 28, left: 14 }, v = Math.max(0, i - g.left - g.right), x = l - g.top - g.bottom, N = n.map(($, M) => t.reduce((w, y) => w + (y.data[M] ?? 0), 0)), k = Math.max(1, ...N), _ = x / k, p = ($) => g.left + (f <= 1 ? v / 2 : $ / (f - 1) * v), b = n.map(() => 0), S = t.map(($, M) => {
|
|
6296
6327
|
const w = [], y = [];
|
|
6297
6328
|
return n.forEach((C, L) => {
|
|
@@ -6337,7 +6368,7 @@ function Oo({ series: t, labels: n, height: l = 240, format: c = z, className: s
|
|
|
6337
6368
|
/* @__PURE__ */ e(J, { tip: r.tip })
|
|
6338
6369
|
] });
|
|
6339
6370
|
}
|
|
6340
|
-
const
|
|
6371
|
+
const Zo = P(function({ data: n, size: l = 220, format: c = z, legend: s = !0, className: a, ...o }, i) {
|
|
6341
6372
|
const r = K(), d = l / 2, h = l / 2, u = l / 2 - 2, f = u * 0.62, g = u * 0.32, v = n.map((k) => {
|
|
6342
6373
|
var _;
|
|
6343
6374
|
return (_ = k.children) != null && _.length ? k.children.reduce((p, b) => p + b.value, 0) : k.value ?? 0;
|
|
@@ -6398,7 +6429,7 @@ const Ho = P(function({ data: n, size: l = 220, format: c = z, legend: s = !0, c
|
|
|
6398
6429
|
] }, _)) })
|
|
6399
6430
|
] });
|
|
6400
6431
|
});
|
|
6401
|
-
function
|
|
6432
|
+
function Go({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
6402
6433
|
const { ref: a, width: o } = ce(n), i = K(), r = Ie, d = Math.max(0, o - r.left - r.right), h = n - r.top - r.bottom, u = r.top + h, f = xe(Math.max(1, ...t.map((_) => _.max))), g = (_) => u - _ / f * h, v = t.length, x = v ? d / v : 0, N = Math.min(x * 0.42, 46), k = Math.max(1, ...t.flatMap((_) => _.bins));
|
|
6403
6434
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
6404
6435
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -6419,7 +6450,7 @@ function jo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
|
6419
6450
|
const b = r.left + x * p + x / 2, S = _.color ?? j(p), $ = _.bins.length, M = (A) => g(_.min + (_.max - _.min) * A / Math.max(1, $ - 1)), w = (A) => _.bins[A] / k * N, y = [], C = [];
|
|
6420
6451
|
for (let A = $ - 1; A >= 0; A--) y.push([b + w(A), M(A)]);
|
|
6421
6452
|
for (let A = 0; A < $; A++) C.push([b - w(A), M(A)]);
|
|
6422
|
-
const L = `${
|
|
6453
|
+
const L = `${Bn(y)} ${Bn(C).replace(/^M/, "L")} Z`, B = _.median != null ? g(_.median) : null;
|
|
6423
6454
|
return /* @__PURE__ */ m("g", { children: [
|
|
6424
6455
|
/* @__PURE__ */ e("path", { d: L, fill: S, fillOpacity: 0.32, stroke: S, strokeWidth: 1.5, strokeLinejoin: "round" }),
|
|
6425
6456
|
B != null && /* @__PURE__ */ e("line", { x1: b - N * 0.6, x2: b + N * 0.6, y1: B, y2: B, stroke: S, strokeWidth: 2 }),
|
|
@@ -6452,7 +6483,7 @@ function jo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
|
6452
6483
|
/* @__PURE__ */ e(J, { tip: i.tip })
|
|
6453
6484
|
] });
|
|
6454
6485
|
}
|
|
6455
|
-
const
|
|
6486
|
+
const Uo = P(function({ matrix: n, labels: l, size: c = 240, format: s = z, padAngle: a = 0.05, className: o, ...i }, r) {
|
|
6456
6487
|
const d = K(), h = l.length, u = c / 2, f = c / 2, g = c / 2 - 22, v = g - 9, x = n.map((y) => y.reduce((C, L) => C + L, 0)), N = x.reduce((y, C) => y + C, 0) || 1, k = (2 * Math.PI - h * a) / N, _ = [];
|
|
6457
6488
|
let p = 0;
|
|
6458
6489
|
for (let y = 0; y < h; y++) {
|
|
@@ -6517,7 +6548,7 @@ const Vo = P(function({ matrix: n, labels: l, size: c = 240, format: s = z, padA
|
|
|
6517
6548
|
/* @__PURE__ */ e(J, { tip: d.tip })
|
|
6518
6549
|
] }) });
|
|
6519
6550
|
});
|
|
6520
|
-
function
|
|
6551
|
+
function Yo({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: o = z, className: i, ...r }) {
|
|
6521
6552
|
const { ref: d, width: h } = ce(n), u = K(), f = 12, g = Math.max(0, h - f * 2), v = n - f * 2, x = s ?? Math.max(1, ...t.map((C) => C.x)), N = a ?? Math.max(1, ...t.map((C) => C.y)), k = (C) => f + C / x * g, _ = (C) => f + v - C / N * v, p = l, b = Math.sqrt(3), S = (C, L) => {
|
|
6522
6553
|
let B = C, A = L, E = -B - A, F = Math.round(B), W = Math.round(E), Z = Math.round(A);
|
|
6523
6554
|
const R = Math.abs(F - B), D = Math.abs(W - E), O = Math.abs(Z - A);
|
|
@@ -6558,7 +6589,7 @@ function Zo({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
|
|
|
6558
6589
|
/* @__PURE__ */ e(J, { tip: u.tip })
|
|
6559
6590
|
] });
|
|
6560
6591
|
}
|
|
6561
|
-
const
|
|
6592
|
+
const qo = P(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, o) {
|
|
6562
6593
|
const i = n.map((f) => f.value), r = Math.max(1, ...i), d = Math.min(...i), h = r - d || 1, u = (f) => l + (f - d) / h * (c - l);
|
|
6563
6594
|
return /* @__PURE__ */ e("div", { ref: o, ...a, className: `select-wordcloud${s ? " " + s : ""}`, children: n.map((f, g) => /* @__PURE__ */ e(
|
|
6564
6595
|
"span",
|
|
@@ -6711,7 +6742,7 @@ function bt([t, n, l], c, s) {
|
|
|
6711
6742
|
const a = c * Lt, o = t * Math.cos(a) + l * Math.sin(a), i = -t * Math.sin(a) + l * Math.cos(a), r = s * Lt, d = n * Math.cos(r) - i * Math.sin(r), h = n * Math.sin(r) + i * Math.cos(r);
|
|
6712
6743
|
return [o, d, h];
|
|
6713
6744
|
}
|
|
6714
|
-
function
|
|
6745
|
+
function Wn(t, n, l) {
|
|
6715
6746
|
let c = t[0] * n[0] + t[1] * n[1] + t[2] * n[2];
|
|
6716
6747
|
c = Math.max(-1, Math.min(1, c));
|
|
6717
6748
|
const s = Math.acos(c);
|
|
@@ -6719,7 +6750,7 @@ function Tn(t, n, l) {
|
|
|
6719
6750
|
const a = Math.sin(s), o = Math.sin((1 - l) * s) / a, i = Math.sin(l * s) / a;
|
|
6720
6751
|
return [t[0] * o + n[0] * i, t[1] * o + n[1] * i, t[2] * o + n[2] * i];
|
|
6721
6752
|
}
|
|
6722
|
-
const
|
|
6753
|
+
const On = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, zo = P(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: o = 7, color: i = "var(--select-chart-1)", format: r = z, legend: d = !0, map: h = !0, fluid: u = !1, onZoomChange: f, className: g, ...v }, x) {
|
|
6723
6754
|
var Be;
|
|
6724
6755
|
const N = ne(), k = K(), _ = Y(null), p = Ct(_, c), b = n.length ? n.reduce((I, V) => I + V.lng, 0) / n.length : 0, S = Y(
|
|
6725
6756
|
typeof window < "u" && !!((Be = window.matchMedia) != null && Be.call(window, "(prefers-reduced-motion: reduce)").matches)
|
|
@@ -6842,11 +6873,11 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6842
6873
|
const U = tt(I.from.lat, I.from.lng), oe = tt(I.to.lat, I.to.lng);
|
|
6843
6874
|
let ee = "", se = !1;
|
|
6844
6875
|
for (let Ve = 0; Ve <= 40; Ve++) {
|
|
6845
|
-
const mt = Ve / 40, ft =
|
|
6846
|
-
Al[2] > -0.05 ? (ee += `${se ? "L" : "M"}${
|
|
6876
|
+
const mt = Ve / 40, ft = Wn(U, oe, mt), Dt = 1 + 0.34 * Math.sin(Math.PI * mt), Al = bt(ft, $.current.lng, $.current.lat), rn = X([ft[0] * Dt, ft[1] * Dt, ft[2] * Dt]);
|
|
6877
|
+
Al[2] > -0.05 ? (ee += `${se ? "L" : "M"}${rn.x.toFixed(1)},${rn.y.toFixed(1)}`, se = !0) : se = !1;
|
|
6847
6878
|
}
|
|
6848
|
-
const he = S.current ? 0.5 : (B.current * Pe + V * 0.27) % 1, _e =
|
|
6849
|
-
return { d: ee, col: I.color ?? i, i: V, flow: { ...Qe, vis: Re[2] > 0 }, active:
|
|
6879
|
+
const he = S.current ? 0.5 : (B.current * Pe + V * 0.27) % 1, _e = Wn(U, oe, he), je = 1 + 0.34 * Math.sin(Math.PI * he), Re = bt(_e, $.current.lng, $.current.lat), Qe = X([_e[0] * je, _e[1] * je, _e[2] * je]), an = Ne != null && (On(I.from, Ne) || On(I.to, Ne));
|
|
6880
|
+
return { d: ee, col: I.color ?? i, i: V, flow: { ...Qe, vis: Re[2] > 0 }, active: an };
|
|
6850
6881
|
}), Ue = Ne != null, He = d ? [...n].sort((I, V) => (V.value ?? 0) - (I.value ?? 0)).slice(0, 6) : [];
|
|
6851
6882
|
return /* @__PURE__ */ m("div", { ref: x, ...v, className: `select-globe${g ? " " + g : ""}`, children: [
|
|
6852
6883
|
/* @__PURE__ */ m(
|
|
@@ -6998,7 +7029,7 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6998
7029
|
] }, V)) })
|
|
6999
7030
|
] });
|
|
7000
7031
|
});
|
|
7001
|
-
function
|
|
7032
|
+
function Xo({ children: t, speed: n = 28, className: l, ...c }) {
|
|
7002
7033
|
const s = Y(null), a = Y(null), o = Y(null), i = Ct(s, 0), r = Ct(o, 0), d = i > 0 && r > i + 1, h = Y(0), u = Y(null), f = Y(!1);
|
|
7003
7034
|
te(() => {
|
|
7004
7035
|
var S;
|
|
@@ -7046,7 +7077,7 @@ function Yo({ children: t, speed: n = 28, className: l, ...c }) {
|
|
|
7046
7077
|
}
|
|
7047
7078
|
);
|
|
7048
7079
|
}
|
|
7049
|
-
function
|
|
7080
|
+
function Ko({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
7050
7081
|
var A;
|
|
7051
7082
|
const { ref: a, width: o } = ce(n), i = K(), r = ne(), [d, h] = T(null), u = { ...Ie, right: 44 }, f = [...t].sort((E, F) => F.value - E.value), g = f.length, v = f.reduce((E, F) => E + F.value, 0) || 1;
|
|
7052
7083
|
let x = 0;
|
|
@@ -7113,7 +7144,7 @@ function qo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
|
7113
7144
|
/* @__PURE__ */ e(J, { tip: i.tip })
|
|
7114
7145
|
] });
|
|
7115
7146
|
}
|
|
7116
|
-
const
|
|
7147
|
+
const Jo = P(function({ segments: n, cols: l = 10, rows: c = 10, format: s = z, className: a, ...o }, i) {
|
|
7117
7148
|
const r = n.reduce((x, N) => x + N.value, 0) || 1, d = l * c, h = n.map((x) => x.value / r * d), u = h.map(Math.floor);
|
|
7118
7149
|
let f = u.reduce((x, N) => x + N, 0);
|
|
7119
7150
|
const g = h.map((x, N) => ({ i: N, frac: x - u[N] })).sort((x, N) => N.frac - x.frac);
|
|
@@ -7132,7 +7163,7 @@ const zo = P(function({ segments: n, cols: l = 10, rows: c = 10, format: s = z,
|
|
|
7132
7163
|
] }, N)) })
|
|
7133
7164
|
] });
|
|
7134
7165
|
});
|
|
7135
|
-
function
|
|
7166
|
+
function Qo({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = z, leftColor: a, rightColor: o, centerWidth: i = 84, className: r, ...d }) {
|
|
7136
7167
|
const h = c ?? Math.max(180, t.length * 40 + 36), { ref: u, width: f } = ce(h), g = K(), [v, x] = T(null), N = 8, k = 26, _ = 8, p = Math.max(1, ...t.flatMap((L) => [L.left, L.right])), b = Math.max(0, (f - i - N * 2) / 2), S = t.length ? (h - k - _) / t.length : 0, $ = Math.min(S * 0.6, 26), M = N + b, w = N + b + i, y = a ?? j(1), C = o ?? j(0);
|
|
7137
7168
|
return /* @__PURE__ */ m("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: u, children: [
|
|
7138
7169
|
f > 0 && /* @__PURE__ */ m("svg", { width: f, height: h, className: "select-chart", onMouseLeave: () => {
|
|
@@ -7186,7 +7217,7 @@ function Xo({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
|
|
|
7186
7217
|
/* @__PURE__ */ e(J, { tip: g.tip })
|
|
7187
7218
|
] });
|
|
7188
7219
|
}
|
|
7189
|
-
function
|
|
7220
|
+
function e1({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
|
|
7190
7221
|
const { ref: o, width: i } = ce(l), r = K(), [d, h] = T(null), u = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, g = t.length, v = Math.max(0, i - u.left - u.right), x = l - u.top - u.bottom, N = t.map(() => new Array(f).fill(0));
|
|
7191
7222
|
for (let p = 0; p < f; p++)
|
|
7192
7223
|
t.map((S, $) => ({ si: $, v: S.data[p] ?? 0 })).sort((S, $) => $.v - S.v).forEach((S, $) => {
|
|
@@ -7234,7 +7265,7 @@ function Ko({ series: t, labels: n, height: l = 240, format: c = z, className: s
|
|
|
7234
7265
|
/* @__PURE__ */ e(J, { tip: r.tip })
|
|
7235
7266
|
] });
|
|
7236
7267
|
}
|
|
7237
|
-
function
|
|
7268
|
+
function t1({ axes: t, data: n, height: l = 260, format: c = z, className: s, ...a }) {
|
|
7238
7269
|
const { ref: o, width: i } = ce(l), r = K(), [d, h] = T(null), u = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, i - u.left - u.right), g = l - u.top - u.bottom, v = t.length, x = (_) => u.left + (v <= 1 ? f / 2 : f / (v - 1) * _), N = t.map((_) => {
|
|
7239
7270
|
const p = n.map((b) => b.values[_.key] ?? 0);
|
|
7240
7271
|
return { min: Math.min(...p), max: Math.max(...p) };
|
|
@@ -7291,7 +7322,7 @@ function Mt(t) {
|
|
|
7291
7322
|
function Cl(t, n = 0) {
|
|
7292
7323
|
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Cl(l, n + 1)));
|
|
7293
7324
|
}
|
|
7294
|
-
function
|
|
7325
|
+
function n1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
7295
7326
|
const { ref: a, width: o } = ce(n), i = K(), [r, d] = T(null), h = Cl(t), u = n / (h + 1), f = [], g = (v, x, N, k, _) => {
|
|
7296
7327
|
if (f.push({ node: v, x0: x, x1: N, depth: k, color: v.color ?? j(_), value: Mt(v) }), v.children && v.children.length) {
|
|
7297
7328
|
const p = v.children.reduce((S, $) => S + Mt($), 0) || 1;
|
|
@@ -7335,7 +7366,7 @@ function Qo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
|
|
|
7335
7366
|
/* @__PURE__ */ e(J, { tip: i.tip })
|
|
7336
7367
|
] });
|
|
7337
7368
|
}
|
|
7338
|
-
function
|
|
7369
|
+
function l1({ data: t, height: n = 260, className: l, ...c }) {
|
|
7339
7370
|
const { ref: s, width: a } = ce(n), o = K(), [i, r] = T(null), d = { top: 14, right: 96, bottom: 14, left: 16 };
|
|
7340
7371
|
let h = null;
|
|
7341
7372
|
if (a > 0) {
|
|
@@ -7405,7 +7436,7 @@ function e1({ data: t, height: n = 260, className: l, ...c }) {
|
|
|
7405
7436
|
/* @__PURE__ */ e(J, { tip: o.tip })
|
|
7406
7437
|
] });
|
|
7407
7438
|
}
|
|
7408
|
-
const
|
|
7439
|
+
const c1 = P(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
7409
7440
|
const o = Math.min(3, n.length), i = l / 2, r = l / 2, d = Math.max(1, ...n.slice(0, o).map((g) => g.size)), h = l * 0.26, u = (g) => h * 0.45 + h * 0.55 * Math.sqrt(g.size / d), f = o <= 2 ? [
|
|
7410
7441
|
[i - h * 0.42, r],
|
|
7411
7442
|
[i + h * 0.42, r]
|
|
@@ -7453,7 +7484,7 @@ const t1 = P(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
7453
7484
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: g.size.toLocaleString("pt-BR") })
|
|
7454
7485
|
] }, v)) })
|
|
7455
7486
|
] });
|
|
7456
|
-
}),
|
|
7487
|
+
}), s1 = P(function({ data: n, size: l = 260, format: c = z, className: s, ...a }, o) {
|
|
7457
7488
|
const i = K(), [r, d] = T(null), h = Math.max(1, ...n.map((y) => y.value)), u = n.map((y, C) => ({ d: y, i: C, r: 8 + Math.sqrt(y.value / h) * 40 })).sort((y, C) => C.r - y.r), f = [];
|
|
7458
7489
|
for (const y of u) {
|
|
7459
7490
|
if (f.length === 0) {
|
|
@@ -7509,7 +7540,7 @@ const t1 = P(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
7509
7540
|
/* @__PURE__ */ e(J, { tip: i.tip })
|
|
7510
7541
|
] });
|
|
7511
7542
|
});
|
|
7512
|
-
function
|
|
7543
|
+
function a1({ nodes: t, links: n, height: l = 300, format: c = z, className: s, ...a }) {
|
|
7513
7544
|
const { ref: o, width: i } = ce(l), r = K(), [d, h] = T(null), u = ye(() => {
|
|
7514
7545
|
const v = i || l, x = l, N = t.length, k = /* @__PURE__ */ new Map();
|
|
7515
7546
|
if (!N) return k;
|
|
@@ -7599,11 +7630,11 @@ const Ht = [
|
|
|
7599
7630
|
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(Xl, {}) },
|
|
7600
7631
|
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Un, {}) }
|
|
7601
7632
|
];
|
|
7602
|
-
function
|
|
7633
|
+
function r1(t) {
|
|
7603
7634
|
var n;
|
|
7604
7635
|
return t === "system" ? (n = window.matchMedia) != null && n.call(window, "(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
|
|
7605
7636
|
}
|
|
7606
|
-
function
|
|
7637
|
+
function o1({ value: t, onChange: n, className: l, ...c }) {
|
|
7607
7638
|
const [s, a] = T(!1), o = Y(null), i = Ht.find((r) => r.value === t) ?? Ht[2];
|
|
7608
7639
|
return te(() => {
|
|
7609
7640
|
if (!s) return;
|
|
@@ -7632,7 +7663,7 @@ function s1({ value: t, onChange: n, className: l, ...c }) {
|
|
|
7632
7663
|
] });
|
|
7633
7664
|
}
|
|
7634
7665
|
const Ll = Xt(!1);
|
|
7635
|
-
function
|
|
7666
|
+
function i1({
|
|
7636
7667
|
children: t,
|
|
7637
7668
|
stacked: n = !1,
|
|
7638
7669
|
loading: l = !1
|
|
@@ -7640,20 +7671,20 @@ function a1({
|
|
|
7640
7671
|
const c = Ft({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
7641
7672
|
return /* @__PURE__ */ e(Ll.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
|
|
7642
7673
|
}
|
|
7643
|
-
const
|
|
7674
|
+
const d1 = P(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: o, ...i }, r) {
|
|
7644
7675
|
const d = zt(Ll), h = a ?? d;
|
|
7645
7676
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-detail select-detail--${s}${o ? " " + o : ""}`, children: [
|
|
7646
7677
|
/* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
|
|
7647
7678
|
/* @__PURE__ */ e("div", { className: "select-detail__value", children: h ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
|
|
7648
7679
|
c && /* @__PURE__ */ e("div", { className: "select-detail__action", children: c })
|
|
7649
7680
|
] });
|
|
7650
|
-
}),
|
|
7681
|
+
}), u1 = P(function({ label: n, description: l, onClick: c, icon: s, className: a, ...o }, i) {
|
|
7651
7682
|
return /* @__PURE__ */ m("button", { ref: i, ...o, type: "button", className: `select-addcard${a ? " " + a : ""}`, onClick: c, children: [
|
|
7652
7683
|
/* @__PURE__ */ e("span", { className: "select-addcard__glyph", "aria-hidden": "true", children: s ?? /* @__PURE__ */ e(Je, {}) }),
|
|
7653
7684
|
/* @__PURE__ */ e("span", { className: "select-addcard__label", children: n }),
|
|
7654
7685
|
l && /* @__PURE__ */ e("span", { className: "select-addcard__desc", children: l })
|
|
7655
7686
|
] });
|
|
7656
|
-
}),
|
|
7687
|
+
}), h1 = P(function({ steps: n, current: l, onSelect: c, orientation: s = "horizontal", className: a, ...o }, i) {
|
|
7657
7688
|
const r = s === "vertical";
|
|
7658
7689
|
return /* @__PURE__ */ e(
|
|
7659
7690
|
"ol",
|
|
@@ -7673,7 +7704,7 @@ const r1 = P(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7673
7704
|
})
|
|
7674
7705
|
}
|
|
7675
7706
|
);
|
|
7676
|
-
}),
|
|
7707
|
+
}), p1 = P(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: o, featuresTitle: i, features: r, featured: d = !1, className: h, ...u }, f) {
|
|
7677
7708
|
return /* @__PURE__ */ m("div", { ref: f, ...u, className: `select-plan${d ? " select-plan--featured" : ""}${h ? " " + h : ""}`, children: [
|
|
7678
7709
|
/* @__PURE__ */ m("div", { className: "select-plan__top", children: [
|
|
7679
7710
|
/* @__PURE__ */ m("div", { className: "select-plan__head", children: [
|
|
@@ -7695,7 +7726,7 @@ const r1 = P(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7695
7726
|
] }, v)) })
|
|
7696
7727
|
] })
|
|
7697
7728
|
] });
|
|
7698
|
-
}),
|
|
7729
|
+
}), m1 = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: o, ...i }, r) {
|
|
7699
7730
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-listcard${o ? " " + o : ""}`, children: [
|
|
7700
7731
|
(n || c) && /* @__PURE__ */ m("div", { className: "select-listcard__head", children: [
|
|
7701
7732
|
/* @__PURE__ */ m("div", { className: "select-listcard__heading", children: [
|
|
@@ -7708,7 +7739,7 @@ const r1 = P(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7708
7739
|
s && /* @__PURE__ */ e("div", { className: "select-listcard__footer", children: s })
|
|
7709
7740
|
] });
|
|
7710
7741
|
});
|
|
7711
|
-
function
|
|
7742
|
+
function f1({
|
|
7712
7743
|
media: t,
|
|
7713
7744
|
title: n,
|
|
7714
7745
|
secondary: l,
|
|
@@ -7726,7 +7757,7 @@ function h1({
|
|
|
7726
7757
|
] }), i = `select-listrow${s ? " select-listrow--muted" : ""}`;
|
|
7727
7758
|
return a ? /* @__PURE__ */ e("button", { type: "button", className: `${i} select-listrow--clickable`, onClick: a, children: o }) : /* @__PURE__ */ e("div", { className: i, children: o });
|
|
7728
7759
|
}
|
|
7729
|
-
const
|
|
7760
|
+
const Hn = P(function({ src: n, alt: l = "", size: c = 40, className: s, ...a }, o) {
|
|
7730
7761
|
const [i, r] = T(!1);
|
|
7731
7762
|
return te(() => r(!1), [n]), /* @__PURE__ */ e("span", { ref: o, ...a, className: `select-thumb${s ? " " + s : ""}`, style: { width: c, height: c }, children: n && !i ? /* @__PURE__ */ e(
|
|
7732
7763
|
"img",
|
|
@@ -7748,7 +7779,7 @@ function zs({
|
|
|
7748
7779
|
}) {
|
|
7749
7780
|
return /* @__PURE__ */ e(Rt, { open: t, onClose: n, title: s, size: "lg", theme: ht(), children: /* @__PURE__ */ e("div", { className: "select-imagezoom", children: /* @__PURE__ */ e("img", { src: l, alt: c ?? s ?? "", className: "select-imagezoom__img" }) }) });
|
|
7750
7781
|
}
|
|
7751
|
-
function
|
|
7782
|
+
function _1({
|
|
7752
7783
|
src: t,
|
|
7753
7784
|
alt: n = "",
|
|
7754
7785
|
size: l = 40,
|
|
@@ -7765,13 +7796,13 @@ function p1({
|
|
|
7765
7796
|
},
|
|
7766
7797
|
"aria-label": "Ampliar imagem",
|
|
7767
7798
|
style: { all: "unset", cursor: "zoom-in", display: "inline-flex" },
|
|
7768
|
-
children: /* @__PURE__ */ e(
|
|
7799
|
+
children: /* @__PURE__ */ e(Hn, { src: t, size: l, alt: n })
|
|
7769
7800
|
}
|
|
7770
7801
|
),
|
|
7771
7802
|
s && /* @__PURE__ */ e(zs, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
|
|
7772
|
-
] }) : /* @__PURE__ */ e(
|
|
7803
|
+
] }) : /* @__PURE__ */ e(Hn, { size: l, alt: n });
|
|
7773
7804
|
}
|
|
7774
|
-
const
|
|
7805
|
+
const v1 = P(function({ media: n, title: l, secondary: c, className: s, ...a }, o) {
|
|
7775
7806
|
return /* @__PURE__ */ m("span", { ref: o, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
|
|
7776
7807
|
n && /* @__PURE__ */ e("span", { className: "select-mediacell__media", children: n }),
|
|
7777
7808
|
/* @__PURE__ */ m("span", { className: "select-mediacell__text", children: [
|
|
@@ -7780,7 +7811,7 @@ const m1 = P(function({ media: n, title: l, secondary: c, className: s, ...a },
|
|
|
7780
7811
|
] })
|
|
7781
7812
|
] });
|
|
7782
7813
|
});
|
|
7783
|
-
function
|
|
7814
|
+
function g1() {
|
|
7784
7815
|
const [t, n] = T(
|
|
7785
7816
|
() => typeof navigator < "u" && navigator.onLine === !1
|
|
7786
7817
|
);
|
|
@@ -7813,7 +7844,7 @@ function Xs(t) {
|
|
|
7813
7844
|
value: l == null ? "" : String(l)
|
|
7814
7845
|
})) : [];
|
|
7815
7846
|
}
|
|
7816
|
-
const
|
|
7847
|
+
const b1 = P(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: o = "Adicionar", max: i, helpText: r = "Linhas vazias serão ignoradas.", className: d, ...h }, u) {
|
|
7817
7848
|
const f = Xs(n), g = (k, _) => l(f.map((p, b) => b === k ? { ...p, ..._ } : p)), v = (k) => l(f.filter((_, p) => p !== k)), x = () => l([...f, { name: "", value: "" }]), N = i == null || f.length < i;
|
|
7818
7849
|
return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-kv${d ? " " + d : ""}`, children: [
|
|
7819
7850
|
f.map((k, _) => /* @__PURE__ */ m("div", { className: "select-kv__row", children: [
|
|
@@ -7853,7 +7884,7 @@ const _1 = P(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7853
7884
|
] }) }),
|
|
7854
7885
|
r && /* @__PURE__ */ e("p", { className: "select-kv__hint", children: r })
|
|
7855
7886
|
] });
|
|
7856
|
-
}),
|
|
7887
|
+
}), jn = (t) => String(t).padStart(2, "0"), Ks = {
|
|
7857
7888
|
"en-US": {
|
|
7858
7889
|
weekdays: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
7859
7890
|
months: [
|
|
@@ -7896,9 +7927,9 @@ const _1 = P(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7896
7927
|
to: "Até",
|
|
7897
7928
|
cancel: "Cancelar",
|
|
7898
7929
|
apply: "Aplicar",
|
|
7899
|
-
formatDate: (t) => `${
|
|
7930
|
+
formatDate: (t) => `${jn(t.getDate())} / ${jn(t.getMonth() + 1)} / ${t.getFullYear()}`
|
|
7900
7931
|
}
|
|
7901
|
-
}, De = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), yt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), At = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n),
|
|
7932
|
+
}, De = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), yt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), At = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Vn = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), xt = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Nt = (t) => {
|
|
7902
7933
|
const n = /* @__PURE__ */ new Date();
|
|
7903
7934
|
return { from: new Date(n.getTime() - t * 6e4), to: n };
|
|
7904
7935
|
}, Js = [
|
|
@@ -7972,7 +8003,7 @@ const na = P(function({ value: n, presets: l = Js, onApply: c, onCancel: s, acce
|
|
|
7972
8003
|
type: "button",
|
|
7973
8004
|
className: "select-datepicker__nav",
|
|
7974
8005
|
"aria-label": o === "pt-BR" ? "Mês anterior" : "Previous month",
|
|
7975
|
-
onClick: () => p((A) =>
|
|
8006
|
+
onClick: () => p((A) => Vn(A, -1)),
|
|
7976
8007
|
children: /* @__PURE__ */ e(Kt, {})
|
|
7977
8008
|
}
|
|
7978
8009
|
),
|
|
@@ -7987,7 +8018,7 @@ const na = P(function({ value: n, presets: l = Js, onApply: c, onCancel: s, acce
|
|
|
7987
8018
|
type: "button",
|
|
7988
8019
|
className: "select-datepicker__nav",
|
|
7989
8020
|
"aria-label": o === "pt-BR" ? "Próximo mês" : "Next month",
|
|
7990
|
-
onClick: () => p((A) =>
|
|
8021
|
+
onClick: () => p((A) => Vn(A, 1)),
|
|
7991
8022
|
children: /* @__PURE__ */ e(dt, {})
|
|
7992
8023
|
}
|
|
7993
8024
|
)
|
|
@@ -8014,7 +8045,7 @@ function la(t, n) {
|
|
|
8014
8045
|
}
|
|
8015
8046
|
return Vt(t.start, t.end) ? Zt(t.start) : `${Zt(t.start)} – ${Zt(t.end)}`;
|
|
8016
8047
|
}
|
|
8017
|
-
function
|
|
8048
|
+
function y1({
|
|
8018
8049
|
value: t,
|
|
8019
8050
|
onChange: n,
|
|
8020
8051
|
presets: l = ea,
|
|
@@ -8072,7 +8103,7 @@ function ca({ size: t }) {
|
|
|
8072
8103
|
}
|
|
8073
8104
|
) });
|
|
8074
8105
|
}
|
|
8075
|
-
const
|
|
8106
|
+
const x1 = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: o = !1, className: i, ...r }, d) {
|
|
8076
8107
|
const h = !!c && !o, [u, f] = T(null), g = u ?? n;
|
|
8077
8108
|
return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-rating${h ? " select-rating--interactive" : ""}${i ? " " + i : ""}`, role: h ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": h ? n : void 0, "aria-valuemin": h ? 0 : void 0, "aria-valuemax": h ? l : void 0, onMouseLeave: () => h && f(null), children: Array.from({ length: l }, (v, x) => {
|
|
8078
8109
|
const N = x < g, k = /* @__PURE__ */ e("span", { className: `select-rating__star${N ? " is-filled" : ""}`, children: /* @__PURE__ */ e(ca, { size: s }) });
|
|
@@ -8091,7 +8122,7 @@ const g1 = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8091
8122
|
x
|
|
8092
8123
|
) : /* @__PURE__ */ e("span", { children: k }, x);
|
|
8093
8124
|
}) });
|
|
8094
|
-
}),
|
|
8125
|
+
}), N1 = P(function({ label: n, value: l, onChange: c, min: s, max: a, step: o = 1, decimal: i = !1, disabled: r = !1, hint: d, error: h, onBlur: u, placeholder: f, size: g = "md", className: v, ...x }, N) {
|
|
8095
8126
|
const k = ne(), _ = (E) => Math.min(a ?? 1 / 0, Math.max(s ?? -1 / 0, E)), p = (E) => Math.round(E * 1e6) / 1e6, b = l ?? 0, S = s != null && b <= s, $ = a != null && b >= a, [M, w] = T(!1), [y, C] = T(""), L = i && M ? y : l == null ? "" : String(l), B = (E) => {
|
|
8096
8127
|
const F = i ? E.replace(/[^\d.,-]/g, "").replace(",", ".") : E.replace(/[^\d-]/g, "");
|
|
8097
8128
|
if (i && C(F), F === "" || F === "-" || F === ".") return c(null);
|
|
@@ -8151,7 +8182,7 @@ const g1 = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8151
8182
|
h ? /* @__PURE__ */ e("p", { className: "select-field__error", children: h }) : d ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: d }) : null
|
|
8152
8183
|
] });
|
|
8153
8184
|
});
|
|
8154
|
-
function
|
|
8185
|
+
function M1({
|
|
8155
8186
|
items: t,
|
|
8156
8187
|
onChange: n,
|
|
8157
8188
|
renderRow: l,
|
|
@@ -8206,7 +8237,7 @@ function y1({
|
|
|
8206
8237
|
] })
|
|
8207
8238
|
] });
|
|
8208
8239
|
}
|
|
8209
|
-
function
|
|
8240
|
+
function $1({
|
|
8210
8241
|
title: t,
|
|
8211
8242
|
subtitle: n,
|
|
8212
8243
|
backTo: l,
|
|
@@ -8238,10 +8269,10 @@ function x1({
|
|
|
8238
8269
|
}
|
|
8239
8270
|
);
|
|
8240
8271
|
}
|
|
8241
|
-
const
|
|
8272
|
+
const w1 = P(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, className: o, ...i }, r) {
|
|
8242
8273
|
return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-switchfield${s ? " is-disabled" : ""}${o ? " " + o : ""}`, children: [
|
|
8243
8274
|
/* @__PURE__ */ m("div", { className: "select-switchfield__row", children: [
|
|
8244
|
-
/* @__PURE__ */ e(
|
|
8275
|
+
/* @__PURE__ */ e(nn, { checked: l, onChange: c, disabled: s, label: n }),
|
|
8245
8276
|
/* @__PURE__ */ e(
|
|
8246
8277
|
"span",
|
|
8247
8278
|
{
|
|
@@ -8256,7 +8287,7 @@ const N1 = P(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
|
|
|
8256
8287
|
a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
|
|
8257
8288
|
] });
|
|
8258
8289
|
}), sa = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
|
|
8259
|
-
function
|
|
8290
|
+
function k1({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
|
|
8260
8291
|
return /* @__PURE__ */ e(
|
|
8261
8292
|
Ze,
|
|
8262
8293
|
{
|
|
@@ -8293,7 +8324,7 @@ function aa(t) {
|
|
|
8293
8324
|
c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
|
|
8294
8325
|
});
|
|
8295
8326
|
}
|
|
8296
|
-
const
|
|
8327
|
+
const S1 = P(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: o, hint: i, uploadFile: r, className: d, ...h }, u) {
|
|
8297
8328
|
const [f, g] = T([]), [v, x] = T(null), N = l ? [l] : [], k = async (_) => {
|
|
8298
8329
|
const p = _[0];
|
|
8299
8330
|
if (!p) {
|
|
@@ -8331,7 +8362,7 @@ const $1 = P(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8331
8362
|
),
|
|
8332
8363
|
v && /* @__PURE__ */ e("span", { className: "select-imagefield__error", children: v })
|
|
8333
8364
|
] });
|
|
8334
|
-
}),
|
|
8365
|
+
}), C1 = P(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, o) {
|
|
8335
8366
|
const [i, r] = T(() => new Set(c)), d = (h) => r((u) => {
|
|
8336
8367
|
const f = u.has(h), g = new Set(l ? u : []);
|
|
8337
8368
|
return f ? g.delete(h) : g.add(h), g;
|
|
@@ -8369,17 +8400,17 @@ const $1 = P(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8369
8400
|
});
|
|
8370
8401
|
export {
|
|
8371
8402
|
pa as AUTH_FX_VARIANTS,
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8403
|
+
Ba as AppleIcon,
|
|
8404
|
+
Xa as AppsIcon,
|
|
8405
|
+
Zn as ArrowLeftIcon,
|
|
8406
|
+
Ia as ArrowRightIcon,
|
|
8407
|
+
Ra as AtIcon,
|
|
8408
|
+
La as AuthAppIcon,
|
|
8409
|
+
ka as BellIcon,
|
|
8379
8410
|
xa as BookmarkIcon,
|
|
8380
|
-
|
|
8411
|
+
Ta as BuildingIcon,
|
|
8381
8412
|
Xn as CalendarIcon,
|
|
8382
|
-
|
|
8413
|
+
qa as ChartLineIcon,
|
|
8383
8414
|
Ql as CheckCircleIcon,
|
|
8384
8415
|
Ae as CheckIcon,
|
|
8385
8416
|
be as ChevronDownIcon,
|
|
@@ -8390,245 +8421,248 @@ export {
|
|
|
8390
8421
|
ya as ClockIcon,
|
|
8391
8422
|
Ke as CloseIcon,
|
|
8392
8423
|
Qt as CopyIcon,
|
|
8393
|
-
|
|
8424
|
+
ja as CreditCardIcon,
|
|
8394
8425
|
ql as CubeIcon,
|
|
8395
|
-
|
|
8426
|
+
Ya as DiscountIcon,
|
|
8396
8427
|
ba as DotsHorizontalIcon,
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8428
|
+
Va as EditIcon,
|
|
8429
|
+
Ua as ExportIcon,
|
|
8430
|
+
en as ExternalLinkIcon,
|
|
8400
8431
|
Yn as EyeIcon,
|
|
8401
8432
|
qn as EyeOffIcon,
|
|
8402
|
-
|
|
8433
|
+
Ea as FacebookIcon,
|
|
8403
8434
|
ga as FilterIcon,
|
|
8404
8435
|
va as GithubIcon,
|
|
8405
8436
|
Gl as GlobeIcon,
|
|
8406
8437
|
_a as GoogleIcon,
|
|
8407
|
-
|
|
8438
|
+
$a as HelpIcon,
|
|
8439
|
+
Oa as HomeIcon,
|
|
8408
8440
|
Bt as InfoIcon,
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8441
|
+
Wa as KeyIcon,
|
|
8442
|
+
Ga as LockIcon,
|
|
8443
|
+
Aa as MailIcon,
|
|
8444
|
+
Ja as MenuIcon,
|
|
8445
|
+
Ka as MinusCircleIcon,
|
|
8414
8446
|
Kl as MobileIcon,
|
|
8415
8447
|
Un as MonitorIcon,
|
|
8416
8448
|
Xl as MoonIcon,
|
|
8417
8449
|
nc as NoteIcon,
|
|
8418
|
-
|
|
8419
|
-
|
|
8450
|
+
Fa as PasskeyIcon,
|
|
8451
|
+
Ca as PhoneIcon,
|
|
8420
8452
|
Je as PlusIcon,
|
|
8421
8453
|
Jl as RefreshIcon,
|
|
8422
|
-
|
|
8454
|
+
Sa as RocketIcon,
|
|
8423
8455
|
Lc as SELECT_CARD_BRANDS,
|
|
8424
|
-
|
|
8456
|
+
Qr as SELECT_COL_DATETIME,
|
|
8425
8457
|
il as SELECT_COUNTRIES,
|
|
8426
8458
|
ea as SELECT_DAILY_PRESETS,
|
|
8427
8459
|
Js as SELECT_DATE_PRESETS,
|
|
8428
8460
|
ze as SELECT_SPACE,
|
|
8429
8461
|
wc as SELECT_TRANSACTION_STATUS,
|
|
8430
8462
|
Jt as SearchIcon,
|
|
8431
|
-
|
|
8432
|
-
|
|
8463
|
+
C1 as SelectAccordion,
|
|
8464
|
+
Ur as SelectActionCard,
|
|
8433
8465
|
ul as SelectActionList,
|
|
8434
|
-
|
|
8466
|
+
fr as SelectActionMenu,
|
|
8435
8467
|
sc as SelectAddButton,
|
|
8436
|
-
|
|
8468
|
+
u1 as SelectAddCard,
|
|
8437
8469
|
ut as SelectAlert,
|
|
8438
|
-
|
|
8470
|
+
Yr as SelectAppTile,
|
|
8439
8471
|
ma as SelectAuthFx,
|
|
8440
8472
|
Qc as SelectAvatar,
|
|
8441
|
-
|
|
8473
|
+
wr as SelectBackLink,
|
|
8442
8474
|
dl as SelectBadge,
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8475
|
+
uo as SelectBalanceCard,
|
|
8476
|
+
rr as SelectBankAccountField,
|
|
8477
|
+
_o as SelectBarChart,
|
|
8446
8478
|
Cc as SelectBox,
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
|
|
8479
|
+
Po as SelectBoxPlot,
|
|
8480
|
+
$1 as SelectBuilderLayout,
|
|
8481
|
+
Lo as SelectBullet,
|
|
8482
|
+
e1 as SelectBump,
|
|
8451
8483
|
ve as SelectButton,
|
|
8452
|
-
|
|
8453
|
-
|
|
8484
|
+
Do as SelectCalendarHeatmap,
|
|
8485
|
+
Io as SelectCandlestick,
|
|
8454
8486
|
fa as SelectCard,
|
|
8455
|
-
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8487
|
+
mo as SelectChartCard,
|
|
8488
|
+
er as SelectCheckbox,
|
|
8489
|
+
Uo as SelectChord,
|
|
8490
|
+
s1 as SelectCirclePack,
|
|
8491
|
+
Gr as SelectCollapsible,
|
|
8492
|
+
k1 as SelectColorField,
|
|
8493
|
+
xo as SelectColumnChart,
|
|
8494
|
+
bo as SelectComboChart,
|
|
8463
8495
|
uc as SelectCombobox,
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8496
|
+
Kr as SelectConfirmModal,
|
|
8497
|
+
Vr as SelectCopyRow,
|
|
8498
|
+
Zr as SelectCopyableId,
|
|
8499
|
+
qr as SelectCreateTile,
|
|
8500
|
+
to as SelectDataTable,
|
|
8469
8501
|
ks as SelectDateField,
|
|
8470
8502
|
na as SelectDatePicker,
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8503
|
+
y1 as SelectDateRangeField,
|
|
8504
|
+
i1 as SelectDetailList,
|
|
8505
|
+
d1 as SelectDetailRow,
|
|
8474
8506
|
Ic as SelectDisclosureButton,
|
|
8475
|
-
|
|
8476
|
-
|
|
8477
|
-
|
|
8507
|
+
yr as SelectDivider,
|
|
8508
|
+
cr as SelectDocumentField,
|
|
8509
|
+
yo as SelectDonut,
|
|
8478
8510
|
ha as SelectDotField,
|
|
8479
|
-
|
|
8480
|
-
|
|
8511
|
+
Oo as SelectDumbbell,
|
|
8512
|
+
ho as SelectFeeBreakdown,
|
|
8481
8513
|
Ze as SelectField,
|
|
8482
8514
|
hc as SelectFieldGrid,
|
|
8483
|
-
|
|
8515
|
+
sr as SelectFileDropzone,
|
|
8484
8516
|
kt as SelectFileTile,
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8517
|
+
no as SelectFilterBar,
|
|
8518
|
+
jr as SelectFilterChip,
|
|
8519
|
+
Cr as SelectFormLayout,
|
|
8520
|
+
Jr as SelectFormModal,
|
|
8521
|
+
No as SelectFunnel,
|
|
8522
|
+
Mo as SelectGauge,
|
|
8523
|
+
jo as SelectGaugeBands,
|
|
8524
|
+
zo as SelectGlobe,
|
|
8525
|
+
_r as SelectGrid,
|
|
8526
|
+
$o as SelectHeatmap,
|
|
8527
|
+
Yo as SelectHexbin,
|
|
8528
|
+
io as SelectHideMoneyToggle,
|
|
8529
|
+
So as SelectHorizontalBar,
|
|
8530
|
+
n1 as SelectIcicle,
|
|
8531
|
+
Ar as SelectIcon,
|
|
8500
8532
|
ge as SelectIconButton,
|
|
8501
|
-
|
|
8502
|
-
|
|
8533
|
+
Mr as SelectIdentityFooter,
|
|
8534
|
+
S1 as SelectImageField,
|
|
8503
8535
|
ac as SelectImageUploadField,
|
|
8504
|
-
|
|
8536
|
+
ar as SelectImageUrlsField,
|
|
8505
8537
|
zs as SelectImageZoomModal,
|
|
8506
8538
|
Pt as SelectInfoTip,
|
|
8507
8539
|
st as SelectInline,
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8540
|
+
gr as SelectJsonViewer,
|
|
8541
|
+
b1 as SelectKeyValueEditor,
|
|
8542
|
+
po as SelectKpiCard,
|
|
8511
8543
|
lt as SelectLabelRow,
|
|
8512
|
-
|
|
8544
|
+
vo as SelectLineChart,
|
|
8513
8545
|
Jc as SelectLinkButton,
|
|
8514
|
-
|
|
8515
|
-
|
|
8546
|
+
m1 as SelectListCard,
|
|
8547
|
+
f1 as SelectListRow,
|
|
8516
8548
|
ts as SelectLoader,
|
|
8517
|
-
|
|
8518
|
-
|
|
8549
|
+
Ho as SelectMarimekko,
|
|
8550
|
+
v1 as SelectMediaCell,
|
|
8519
8551
|
hs as SelectMenu,
|
|
8520
8552
|
ms as SelectMenuButton,
|
|
8521
|
-
|
|
8553
|
+
Hr as SelectMenuDivider,
|
|
8554
|
+
Or as SelectMenuHeading,
|
|
8522
8555
|
ps as SelectMenuItem,
|
|
8556
|
+
Wr as SelectMenuLink,
|
|
8523
8557
|
Hs as SelectMetricDelta,
|
|
8524
8558
|
Rt as SelectModal,
|
|
8525
8559
|
at as SelectMoney,
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8560
|
+
lr as SelectMoneyField,
|
|
8561
|
+
a1 as SelectNetwork,
|
|
8562
|
+
Er as SelectNote,
|
|
8563
|
+
N1 as SelectNumberField,
|
|
8564
|
+
g1 as SelectOfflineModal,
|
|
8565
|
+
xr as SelectOptionList,
|
|
8566
|
+
Nr as SelectOptionRow,
|
|
8567
|
+
$r as SelectOtpInput,
|
|
8534
8568
|
ns as SelectPage,
|
|
8535
8569
|
gs as SelectPagination,
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8570
|
+
Ir as SelectPanel,
|
|
8571
|
+
t1 as SelectParallel,
|
|
8572
|
+
Ko as SelectPareto,
|
|
8573
|
+
Sr as SelectPasswordStrength,
|
|
8574
|
+
vr as SelectPaymentBrand,
|
|
8575
|
+
ur as SelectPhoneField,
|
|
8576
|
+
p1 as SelectPlanCard,
|
|
8577
|
+
To as SelectPolarArea,
|
|
8544
8578
|
We as SelectPopover,
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8579
|
+
ro as SelectPreviewFrame,
|
|
8580
|
+
wo as SelectProgressList,
|
|
8581
|
+
Qo as SelectPyramid,
|
|
8582
|
+
Bo as SelectRadar,
|
|
8583
|
+
ko as SelectRadialBar,
|
|
8584
|
+
hr as SelectRadioGroup,
|
|
8585
|
+
Ro as SelectRangeBar,
|
|
8586
|
+
x1 as SelectRating,
|
|
8587
|
+
M1 as SelectRepeatingFieldArray,
|
|
8588
|
+
kr as SelectResendButton,
|
|
8589
|
+
Xr as SelectRowActions,
|
|
8590
|
+
Fo as SelectSankey,
|
|
8591
|
+
Eo as SelectScatter,
|
|
8558
8592
|
yl as SelectSearchInput,
|
|
8559
|
-
|
|
8560
|
-
|
|
8593
|
+
Pr as SelectSection,
|
|
8594
|
+
pr as SelectSegmented,
|
|
8561
8595
|
cl as SelectSelect,
|
|
8562
8596
|
Ws as SelectSensitiveValue,
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8597
|
+
Br as SelectSettingList,
|
|
8598
|
+
Fr as SelectSettingRow,
|
|
8599
|
+
Dr as SelectSideNav,
|
|
8600
|
+
Lr as SelectSkeleton,
|
|
8601
|
+
Wo as SelectSlope,
|
|
8602
|
+
fo as SelectSparkline,
|
|
8569
8603
|
Gt as SelectStack,
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8604
|
+
go as SelectStackedArea,
|
|
8605
|
+
mr as SelectStatusBadge,
|
|
8606
|
+
h1 as SelectSteps,
|
|
8607
|
+
Vo as SelectStreamGraph,
|
|
8608
|
+
Zo as SelectSunburst,
|
|
8609
|
+
co as SelectSurface,
|
|
8610
|
+
nn as SelectSwitch,
|
|
8611
|
+
w1 as SelectSwitchField,
|
|
8578
8612
|
ds as SelectTable,
|
|
8579
|
-
|
|
8613
|
+
$n as SelectTableCell,
|
|
8580
8614
|
us as SelectTableEmpty,
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8615
|
+
Mn as SelectTableRow,
|
|
8616
|
+
Rr as SelectTabs,
|
|
8617
|
+
lo as SelectTagSelect,
|
|
8584
8618
|
Xe as SelectText,
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8619
|
+
tr as SelectTextarea,
|
|
8620
|
+
o1 as SelectThemeSwitcher,
|
|
8621
|
+
Hn as SelectThumbnail,
|
|
8622
|
+
Xo as SelectTicker,
|
|
8623
|
+
br as SelectTimeline,
|
|
8624
|
+
so as SelectToastProvider,
|
|
8625
|
+
or as SelectToggleList,
|
|
8626
|
+
dr as SelectTogglePanel,
|
|
8627
|
+
ir as SelectToggleRow,
|
|
8628
|
+
cn as SelectTooltip,
|
|
8629
|
+
l1 as SelectTree,
|
|
8630
|
+
Ao as SelectTreemap,
|
|
8631
|
+
nr as SelectUnitInput,
|
|
8632
|
+
Tr as SelectUserCell,
|
|
8633
|
+
oo as SelectValueVisibilityProvider,
|
|
8634
|
+
c1 as SelectVenn,
|
|
8635
|
+
Go as SelectViolin,
|
|
8636
|
+
Jo as SelectWaffle,
|
|
8637
|
+
Co as SelectWaterfall,
|
|
8638
|
+
qo as SelectWordCloud,
|
|
8639
|
+
zr as SelectWorkspaceSwitcher,
|
|
8640
|
+
_1 as SelectZoomThumbnail,
|
|
8607
8641
|
Gn as SelectorIcon,
|
|
8608
|
-
|
|
8642
|
+
Za as SendIcon,
|
|
8609
8643
|
Zl as Setting4Icon,
|
|
8610
8644
|
ec as SettingsIcon,
|
|
8611
|
-
|
|
8645
|
+
Pa as ShieldIcon,
|
|
8612
8646
|
Ma as SplitIcon,
|
|
8613
8647
|
Na as StarIcon,
|
|
8614
|
-
|
|
8615
|
-
|
|
8648
|
+
za as StoreIcon,
|
|
8649
|
+
Qa as StorefrontIcon,
|
|
8616
8650
|
zl as SunIcon,
|
|
8617
8651
|
Yl as TerminalIcon,
|
|
8618
8652
|
zn as TrashIcon,
|
|
8619
8653
|
wt as UploadIcon,
|
|
8620
|
-
|
|
8621
|
-
|
|
8654
|
+
wa as UserIcon,
|
|
8655
|
+
Ha as WalletIcon,
|
|
8622
8656
|
Ul as WarningIcon,
|
|
8623
|
-
|
|
8657
|
+
Da as Web3Icon,
|
|
8624
8658
|
ht as detectSelectTheme,
|
|
8625
8659
|
$c as dialCodeOf,
|
|
8626
8660
|
es as passwordScore,
|
|
8627
|
-
|
|
8661
|
+
r1 as resolveSelectTheme,
|
|
8628
8662
|
hl as selectCardBrand,
|
|
8629
8663
|
Ac as selectCardBrandLabel,
|
|
8630
|
-
|
|
8631
|
-
|
|
8664
|
+
eo as useSelectPageSize,
|
|
8665
|
+
ao as useSelectToast,
|
|
8632
8666
|
wl as useSelectValueVisibility
|
|
8633
8667
|
};
|
|
8634
8668
|
//# sourceMappingURL=index.js.map
|