@selectwin/kit 0.1.31 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +581 -582
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as e, jsxs as m, Fragment as _e } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as q, useEffect as le, forwardRef as R, useState as D, useId as te, useMemo as xe, useCallback as Te, useLayoutEffect as Be, Fragment as Yt, Children as
|
|
2
|
+
import { useRef as q, useEffect as le, forwardRef as R, useState as D, useId as te, useMemo as xe, useCallback as Te, useLayoutEffect as Be, Fragment as Yt, Children as wl, useContext as zt, createContext as Xt } from "react";
|
|
3
3
|
import Me from "gsap";
|
|
4
4
|
import { createPortal as Ft } from "react-dom";
|
|
5
|
-
import { Link as
|
|
5
|
+
import { Link as Sl, useNavigate as Cl } from "react-router-dom";
|
|
6
6
|
const on = (t, n, l) => t < n ? n : t > l ? l : t;
|
|
7
|
-
function
|
|
7
|
+
function Ll(t, n, l) {
|
|
8
8
|
const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
|
|
9
9
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Al(t, n) {
|
|
12
12
|
const l = t.trim();
|
|
13
13
|
if (l.startsWith("#")) {
|
|
14
14
|
let s = l.slice(1);
|
|
@@ -20,7 +20,7 @@ function Ll(t, n) {
|
|
|
20
20
|
const c = l.match(/(\d+)[,\s]+(\d+)[,\s]+(\d+)/);
|
|
21
21
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : n;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Qs({ className: t, theme: n, glowTarget: l }) {
|
|
24
24
|
const c = q(null);
|
|
25
25
|
return le(() => {
|
|
26
26
|
var Q;
|
|
@@ -28,7 +28,7 @@ function Js({ className: t, theme: n, glowTarget: l }) {
|
|
|
28
28
|
if (!s) return;
|
|
29
29
|
const a = s.getContext("2d");
|
|
30
30
|
if (!a) return;
|
|
31
|
-
const r = ((Q = window.matchMedia) == null ? void 0 : Q.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, d = n === "dark", o = 30, i = 1.2, h = 160, u = 8, f = 2.9, g = 0.32, v = 1.4, y = 18, x = Math.PI * 2, $ = getComputedStyle(s), [_, p, b] =
|
|
31
|
+
const r = ((Q = window.matchMedia) == null ? void 0 : Q.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, d = n === "dark", o = 30, i = 1.2, h = 160, u = 8, f = 2.9, g = 0.32, v = 1.4, y = 18, x = Math.PI * 2, $ = getComputedStyle(s), [_, p, b] = Ll($, "--select-dot", d ? [235, 238, 255] : [64, 68, 92]), [S, k, M] = Al($.getPropertyValue("--select-primary"), d ? [255, 255, 255] : [33, 37, 41]);
|
|
32
32
|
let w = 0, N = 0, C = [], L = 0, B = 0, A = null, F = 0;
|
|
33
33
|
const E = { x: 0, y: 0 };
|
|
34
34
|
let T = 0, I = 0, O = -10;
|
|
@@ -90,12 +90,12 @@ function Js({ className: t, theme: n, glowTarget: l }) {
|
|
|
90
90
|
});
|
|
91
91
|
}, [n, l]), /* @__PURE__ */ e("canvas", { ref: c, className: t, "aria-hidden": "true" });
|
|
92
92
|
}
|
|
93
|
-
const
|
|
94
|
-
function
|
|
93
|
+
const ea = ["dots", "plexus", "grid", "flow", "circuit"], tt = Math.PI * 2, Ye = (t, n, l) => t < n ? n : t > l ? l : t, $t = (t, n, l) => t + (n - t) * l;
|
|
94
|
+
function Fl(t, n, l) {
|
|
95
95
|
const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
|
|
96
96
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Bl(t, n) {
|
|
99
99
|
const l = t.trim();
|
|
100
100
|
if (l.startsWith("#")) {
|
|
101
101
|
let s = l.slice(1);
|
|
@@ -107,7 +107,7 @@ function Fl(t, n) {
|
|
|
107
107
|
const c = l.match(/(\d+)[,\s]+(\d+)[,\s]+(\d+)/);
|
|
108
108
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : n;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const El = (t) => {
|
|
111
111
|
let d = [], o = 0;
|
|
112
112
|
function i() {
|
|
113
113
|
const u = t.w(), f = t.h();
|
|
@@ -138,7 +138,7 @@ const Bl = (t) => {
|
|
|
138
138
|
h(0, 0), t.clearGlow();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
|
-
},
|
|
141
|
+
}, Il = (t) => {
|
|
142
142
|
let c = 0, s = 0, a = [];
|
|
143
143
|
function r() {
|
|
144
144
|
c = t.w(), s = t.h();
|
|
@@ -185,7 +185,7 @@ const Bl = (t) => {
|
|
|
185
185
|
d(!1), t.clearGlow();
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
},
|
|
188
|
+
}, Pl = (t) => {
|
|
189
189
|
let c = 0, s = 0, a = 0, r = 0, d = 0, o = 0;
|
|
190
190
|
function i() {
|
|
191
191
|
c = t.w(), s = t.h(), a = Math.ceil(c / 44) + 1, r = Math.ceil(s / 44) + 1, d = (c - (a - 1) * 44) / 2, o = (s - (r - 1) * 44) / 2;
|
|
@@ -229,7 +229,7 @@ const Bl = (t) => {
|
|
|
229
229
|
h(0, !1), t.clearGlow();
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
|
-
},
|
|
232
|
+
}, Rl = (t) => {
|
|
233
233
|
let l = 0, c = 0, s = [];
|
|
234
234
|
function a(i, h, u) {
|
|
235
235
|
return (Math.sin(i * 65e-4 + u * 0.18) + Math.cos(h * 72e-4 - u * 0.14) + Math.sin((i + h) * 4e-3 + u * 0.1)) * 1.1;
|
|
@@ -286,7 +286,7 @@ const Bl = (t) => {
|
|
|
286
286
|
t.clearGlow();
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
|
-
},
|
|
289
|
+
}, Dl = (t) => {
|
|
290
290
|
let l = 0, c = 0, s = [];
|
|
291
291
|
function a() {
|
|
292
292
|
l = t.w(), c = t.h(), s = [];
|
|
@@ -357,14 +357,14 @@ const Bl = (t) => {
|
|
|
357
357
|
o(0, !1), t.clearGlow();
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
|
-
},
|
|
361
|
-
dots:
|
|
362
|
-
plexus:
|
|
363
|
-
grid:
|
|
364
|
-
flow:
|
|
365
|
-
circuit:
|
|
360
|
+
}, Tl = {
|
|
361
|
+
dots: El,
|
|
362
|
+
plexus: Il,
|
|
363
|
+
grid: Pl,
|
|
364
|
+
flow: Rl,
|
|
365
|
+
circuit: Dl
|
|
366
366
|
};
|
|
367
|
-
function
|
|
367
|
+
function ta({
|
|
368
368
|
className: t,
|
|
369
369
|
theme: n,
|
|
370
370
|
glowTarget: l,
|
|
@@ -377,7 +377,7 @@ function ea({
|
|
|
377
377
|
if (!a) return;
|
|
378
378
|
const r = a.getContext("2d");
|
|
379
379
|
if (!r) return;
|
|
380
|
-
const d = ((Z = window.matchMedia) == null ? void 0 : Z.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, o = n === "dark", i = getComputedStyle(a), h =
|
|
380
|
+
const d = ((Z = window.matchMedia) == null ? void 0 : Z.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, o = n === "dark", i = getComputedStyle(a), h = Fl(i, "--select-dot", o ? [235, 238, 255] : [64, 68, 92]), u = Bl(i.getPropertyValue("--select-primary"), o ? [255, 255, 255] : [33, 37, 41]);
|
|
381
381
|
let f = 0, g = 0, v = 0, y = 0, x = null, $ = 0;
|
|
382
382
|
const _ = 1.2, p = { x: 0, y: 0 }, b = { x: 0, y: 0, active: !1 };
|
|
383
383
|
let S = 0, k = 0, M = -10;
|
|
@@ -394,7 +394,7 @@ function ea({
|
|
|
394
394
|
function L() {
|
|
395
395
|
$ > 1e-3 && (x == null || x.style.setProperty("--select-card-glow", "0")), $ = 0;
|
|
396
396
|
}
|
|
397
|
-
const B = { ctx: r, w: () => f, h: () => g, ink: h, accent: u, dark: o, pointer: b, cardGlow: C, clearGlow: L }, A =
|
|
397
|
+
const B = { ctx: r, w: () => f, h: () => g, ink: h, accent: u, dark: o, pointer: b, cardGlow: C, clearGlow: L }, A = Tl[c](B);
|
|
398
398
|
function F() {
|
|
399
399
|
const G = a.getBoundingClientRect();
|
|
400
400
|
v = G.left, y = G.top, f = G.width, g = G.height;
|
|
@@ -424,7 +424,7 @@ function ea({
|
|
|
424
424
|
});
|
|
425
425
|
}, [n, l, c]), /* @__PURE__ */ e("canvas", { ref: s, className: t, "aria-hidden": "true" });
|
|
426
426
|
}
|
|
427
|
-
const
|
|
427
|
+
const na = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, footer: r, className: d, ...o }, i) {
|
|
428
428
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-card${d ? " " + d : ""}`, children: [
|
|
429
429
|
/* @__PURE__ */ m("div", { className: "select-card__body", children: [
|
|
430
430
|
c && /* @__PURE__ */ e("div", { className: "select-card__brand", children: c }),
|
|
@@ -483,7 +483,7 @@ const ta = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
|
|
|
483
483
|
!s && r && /* @__PURE__ */ e("span", { className: "select-btn__icon select-btn__icon--trailing", children: r })
|
|
484
484
|
] });
|
|
485
485
|
});
|
|
486
|
-
function
|
|
486
|
+
function la() {
|
|
487
487
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: [
|
|
488
488
|
/* @__PURE__ */ e(
|
|
489
489
|
"path",
|
|
@@ -515,7 +515,7 @@ function na() {
|
|
|
515
515
|
)
|
|
516
516
|
] });
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function ca() {
|
|
519
519
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
520
520
|
"path",
|
|
521
521
|
{
|
|
@@ -536,7 +536,7 @@ function be() {
|
|
|
536
536
|
function On() {
|
|
537
537
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M9.57 5.93L3.5 12l6.07 6.07M20.5 12H3.67" }) });
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function sa() {
|
|
540
540
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5.4 2.1h13.2c1.1 0 2 .9 2 2v2.2c0 .8-.5 1.8-1 2.3l-4.3 3.8c-.6.5-1 1.5-1 2.3V19c0 .6-.4 1.4-.9 1.7l-1.4.9c-1.3.8-3.1-.1-3.1-1.7v-5.3c0-.7-.4-1.6-.8-2.1l-3.8-4c-.5-.5-.9-1.4-.9-2V4.2c0-1.2.9-2.1 2-2.1ZM10.93 2.1 6 10" }) });
|
|
541
541
|
}
|
|
542
542
|
function Jt() {
|
|
@@ -561,10 +561,10 @@ function Hn() {
|
|
|
561
561
|
function Ke() {
|
|
562
562
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 6 18 18M18 6 6 18" }) });
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function aa() {
|
|
565
565
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z" }) });
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Wl() {
|
|
568
568
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
569
569
|
/* @__PURE__ */ e("path", { d: "M22 6.5h-6M6 6.5H2" }),
|
|
570
570
|
/* @__PURE__ */ e("path", { d: "M10 10a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" }),
|
|
@@ -572,26 +572,26 @@ function Tl() {
|
|
|
572
572
|
/* @__PURE__ */ e("path", { d: "M14 21a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" })
|
|
573
573
|
] });
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function oa() {
|
|
576
576
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
577
577
|
/* @__PURE__ */ e("path", { d: "M22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2s10 4.48 10 10Z" }),
|
|
578
578
|
/* @__PURE__ */ e("path", { d: "m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1" })
|
|
579
579
|
] });
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function ra() {
|
|
582
582
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
583
583
|
/* @__PURE__ */ e("path", { d: "M9.25 9.05a8 8 0 0 0 5.5 0" }),
|
|
584
584
|
/* @__PURE__ */ e("path", { d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2Z" }),
|
|
585
585
|
/* @__PURE__ */ e("path", { d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2Z" })
|
|
586
586
|
] });
|
|
587
587
|
}
|
|
588
|
-
const
|
|
588
|
+
const ia = R(function({ filled: n = !1, className: l, ...c }, s) {
|
|
589
589
|
return n ? /* @__PURE__ */ e("svg", { ref: s, ...c, className: l, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5.74 16c.11-.49-.09-1.19-.44-1.54l-2.43-2.43c-.76-.76-1.06-1.57-.84-2.27.23-.7.94-1.18 2-1.36l3.12-.52c.45-.08 1-.48 1.21-.89l1.72-3.45C10.58 2.55 11.26 2 12 2s1.42.55 1.92 1.54l1.72 3.45c.13.26.4.51.69.68L5.56 18.44c-.14.14-.38.01-.34-.19L5.74 16ZM18.7 14.462c-.36.36-.56 1.05-.44 1.54l.69 3.01c.29 1.25.11 2.19-.51 2.64a1.5 1.5 0 0 1-.9.27c-.51 0-1.11-.19-1.77-.58l-2.93-1.74c-.46-.27-1.22-.27-1.68 0l-2.93 1.74c-1.11.65-2.06.76-2.67.31-.23-.17-.4-.4-.51-.7l12.16-12.16c.46-.46 1.11-.67 1.74-.56l1.01.17c1.06.18 1.77.66 2 1.36.22.7-.08 1.51-.84 2.27l-2.42 2.43Z" }) }) : /* @__PURE__ */ e("svg", { ref: s, ...c, className: l, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m13.73 3.51 1.76 3.52c.24.49.88.96 1.42 1.05l3.19.53c2.04.34 2.52 1.82 1.05 3.28l-2.48 2.48c-.42.42-.65 1.23-.52 1.81l.71 3.07c.56 2.43-.73 3.37-2.88 2.1l-2.99-1.77c-.54-.32-1.43-.32-1.98 0l-2.99 1.77c-2.14 1.27-3.44.32-2.88-2.1l.71-3.07c.13-.58-.1-1.39-.52-1.81l-2.48-2.48c-1.46-1.46-.99-2.94 1.05-3.28l3.19-.53c.53-.09 1.17-.56 1.41-1.05l1.76-3.52c.96-1.91 2.52-1.91 3.47 0Z" }) });
|
|
590
590
|
});
|
|
591
|
-
function
|
|
591
|
+
function da() {
|
|
592
592
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M16.96 6.17c2 1.39 3.38 3.6 3.66 6.15M3.49 12.37a8.601 8.601 0 0 1 3.6-6.15M8.19 20.94c1.16.59 2.48.92 3.87.92 1.34 0 2.6-.3 3.73-.85M12.06 7.7a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM4.83 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM19.17 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56Z" }) });
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Ol() {
|
|
595
595
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
596
596
|
/* @__PURE__ */ e("path", { d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z" }),
|
|
597
597
|
/* @__PURE__ */ e("path", { d: "M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18" }),
|
|
@@ -610,85 +610,85 @@ function en() {
|
|
|
610
610
|
/* @__PURE__ */ e("path", { d: "M11.995 16h.009" })
|
|
611
611
|
] });
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function Hl() {
|
|
614
614
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
615
615
|
/* @__PURE__ */ e("path", { d: "M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z" }),
|
|
616
616
|
/* @__PURE__ */ e("path", { d: "M11.995 17h.009" })
|
|
617
617
|
] });
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function ua() {
|
|
620
620
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10ZM20.59 22c0-3.87-3.85-7-8.59-7s-8.59 3.13-8.59 7" }) });
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function ha() {
|
|
623
623
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
624
624
|
/* @__PURE__ */ e("path", { d: "M12.02 2.91c-3.31 0-6 2.69-6 6v2.89c0 .61-.26 1.54-.57 2.06L4.3 15.77c-.71 1.18-.22 2.49 1.08 2.93 4.31 1.44 8.96 1.44 13.27 0 1.21-.4 1.74-1.83 1.08-2.93l-1.15-1.91c-.3-.52-.56-1.45-.56-2.06V8.91c0-3.3-2.7-6-6-6Z" }),
|
|
625
625
|
/* @__PURE__ */ e("path", { d: "M13.87 3.2a6.754 6.754 0 0 0-3.7 0c.29-.74 1.01-1.26 1.85-1.26.84 0 1.56.52 1.85 1.26Z" }),
|
|
626
626
|
/* @__PURE__ */ e("path", { d: "M15.02 19.06c0 1.65-1.35 3-3 3-.82 0-1.58-.34-2.12-.88a3.01 3.01 0 0 1-.88-2.12" })
|
|
627
627
|
] });
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function jl() {
|
|
630
630
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
631
631
|
/* @__PURE__ */ e("path", { d: "M9 13c-.66.33-1.21.82-1.62 1.43-.23.35-.23.79 0 1.14.41.61.96 1.1 1.62 1.43M15.21 13c.66.33 1.21.82 1.62 1.43.23.35.23.79 0 1.14-.41.61-.96 1.1-1.62 1.43" }),
|
|
632
632
|
/* @__PURE__ */ e("path", { d: "M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7ZM2.23 8.01 21.45 8" })
|
|
633
633
|
] });
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function pa() {
|
|
636
636
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
637
637
|
/* @__PURE__ */ e("path", { d: "M5 15c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.8-.9.8-2.2 0-3a2.1 2.1 0 0 0-3 0Z" }),
|
|
638
638
|
/* @__PURE__ */ e("path", { d: "M9 12a13 13 0 0 1 9-9 13 13 0 0 1-9 9Z" }),
|
|
639
639
|
/* @__PURE__ */ e("path", { d: "M14.5 9.5 16 11" })
|
|
640
640
|
] });
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function Vl() {
|
|
643
643
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
644
644
|
/* @__PURE__ */ e("path", { d: "M3.17 7.44 12 12.55l8.77-5.08M12 21.61v-9.07" }),
|
|
645
645
|
/* @__PURE__ */ e("path", { d: "M9.93 2.48 4.59 5.45c-1.21.67-2.2 2.35-2.2 3.73v5.65c0 1.38.99 3.06 2.2 3.73l5.34 2.97c1.14.63 3.01.63 4.15 0l5.34-2.97c1.21-.67 2.2-2.35 2.2-3.73V9.18c0-1.38-.99-3.06-2.2-3.73l-5.34-2.97c-1.15-.64-3.01-.64-4.15 0Z" }),
|
|
646
646
|
/* @__PURE__ */ e("path", { d: "M17 13.24V9.58L7.51 4.1" })
|
|
647
647
|
] });
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function Zl() {
|
|
650
650
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
651
651
|
/* @__PURE__ */ e("path", { d: "M12 18.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13Z" }),
|
|
652
652
|
/* @__PURE__ */ e("path", { d: "m19.14 19.14-.13-.13m0-14.02.13-.13-.13.13ZM4.86 19.14l.13-.13-.13.13ZM12 2.08V2v.08ZM12 22v-.08.08ZM2.08 12H2h.08ZM22 12h-.08.08ZM4.99 4.99l-.13-.13.13.13Z" })
|
|
653
653
|
] });
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function Gl() {
|
|
656
656
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M2.03 12.42c.36 5.15 4.73 9.34 9.96 9.57 3.69.16 6.99-1.56 8.97-4.27.82-1.11.38-1.85-.99-1.6-.67.12-1.36.17-2.08.14C13 16.06 9 11.97 8.98 7.14c-.01-1.3.26-2.53.75-3.65.54-1.24-.11-1.83-1.36-1.3C4.41 3.86 1.7 7.85 2.03 12.42Z" }) });
|
|
657
657
|
}
|
|
658
658
|
function Vn() {
|
|
659
659
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6.44 2h11.11C21.11 2 22 2.89 22 6.44v6.33c0 3.56-.89 4.44-4.44 4.44H6.44C2.89 17.22 2 16.33 2 12.78V6.44C2 2.89 2.89 2 6.44 2ZM12 17.22V22M2 13h20M7.5 22h9" }) });
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function Ul() {
|
|
662
662
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
663
663
|
/* @__PURE__ */ e("path", { d: "M17 6v10c0 4-1 5-5 5H6c-4 0-5-1-5-5V6c0-4 1-5 5-5h6c4 0 5 1 5 5ZM11 4.5H7" }),
|
|
664
664
|
/* @__PURE__ */ e("path", { d: "M9 18.1A1.55 1.55 0 1 0 9 15a1.55 1.55 0 0 0 0 3.1Z" })
|
|
665
665
|
] });
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function ql() {
|
|
668
668
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44" }) });
|
|
669
669
|
}
|
|
670
670
|
function nt() {
|
|
671
671
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 12h12M12 18V6" }) });
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function ma() {
|
|
674
674
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
675
675
|
/* @__PURE__ */ e("path", { d: "M17 6v10c0 4-1 5-5 5H6c-4 0-5-1-5-5V6c0-4 1-5 5-5h6c4 0 5 1 5 5ZM11 4.5H7" }),
|
|
676
676
|
/* @__PURE__ */ e("path", { d: "M9 18.1A1.55 1.55 0 1 0 9 15a1.55 1.55 0 0 0 0 3.1Z" })
|
|
677
677
|
] });
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function fa() {
|
|
680
680
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
681
681
|
/* @__PURE__ */ e("path", { d: "M20.75 13.25c0 4.83-3.92 8.75-8.75 8.75s-8.75-3.92-8.75-8.75S7.17 4.5 12 4.5s8.75 3.92 8.75 8.75ZM12 8v5" }),
|
|
682
682
|
/* @__PURE__ */ e("path", { d: "M9 2h6" })
|
|
683
683
|
] });
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function _a() {
|
|
686
686
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
687
687
|
/* @__PURE__ */ e("path", { d: "M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z" }),
|
|
688
688
|
/* @__PURE__ */ e("path", { d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
689
689
|
] });
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function va() {
|
|
692
692
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
693
693
|
"path",
|
|
694
694
|
{
|
|
@@ -697,20 +697,20 @@ function _a() {
|
|
|
697
697
|
}
|
|
698
698
|
) });
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function ga() {
|
|
701
701
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M17.05 12.54c-.02-2.05 1.68-3.03 1.75-3.08-.95-1.4-2.44-1.59-2.97-1.61-1.26-.13-2.47.74-3.11.74-.64 0-1.63-.72-2.69-.7-1.38.02-2.66.8-3.37 2.04-1.44 2.5-.37 6.19 1.03 8.22.69.99 1.5 2.1 2.57 2.06 1.03-.04 1.42-.66 2.66-.66 1.24 0 1.59.66 2.68.64 1.11-.02 1.81-1 2.49-2 .78-1.15 1.1-2.26 1.12-2.32-.02-.01-2.15-.83-2.17-3.27ZM15.1 6.34c.56-.69.94-1.63.84-2.59-.81.03-1.8.54-2.39 1.22-.52.6-.98 1.57-.86 2.49.91.07 1.84-.46 2.41-1.12Z" }) });
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function ba() {
|
|
704
704
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
705
705
|
/* @__PURE__ */ e("path", { d: "M12 14.88c-.91 0-1.65-.74-1.65-1.65v-2.47c0-.91.74-1.65 1.65-1.65.91 0 1.65.74 1.65 1.65v2.47c0 .91-.74 1.65-1.65 1.65Z" }),
|
|
706
706
|
/* @__PURE__ */ e("path", { d: "M16.98 13.47c-.2 2.58-2.36 4.6-4.98 4.6-2.76 0-5-2.24-5-5v-2.14c0-2.76 2.24-5 5-5 2.59 0 4.72 1.97 4.97 4.49" }),
|
|
707
707
|
/* @__PURE__ */ e("path", { d: "M15 2h2c3 0 5 2 5 5v2M2 9V7c0-3 2-5 5-5h2M15 22h2c3 0 5-2 5-5v-2M2 15v2c0 3 2 5 5 5h2" })
|
|
708
708
|
] });
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function xa() {
|
|
711
711
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M14.43 5.93L20.5 12l-6.07 6.07M3.5 12h16.83" }) });
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function ya() {
|
|
714
714
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
715
715
|
/* @__PURE__ */ e("path", { d: "M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z" }),
|
|
716
716
|
/* @__PURE__ */ e("path", { d: "m9.05 11.87 1.61 1.61 4.3-4.3" })
|
|
@@ -732,29 +732,29 @@ function Gn() {
|
|
|
732
732
|
/* @__PURE__ */ e("path", { d: "M15.51 12.7a3.565 3.565 0 0 1-2.82 2.82M9.47 14.53 2 22M22 2l-7.47 7.47" })
|
|
733
733
|
] });
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Yl() {
|
|
736
736
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
737
737
|
/* @__PURE__ */ e("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z" }),
|
|
738
738
|
/* @__PURE__ */ e("path", { d: "m7.75 12 2.83 2.83 5.67-5.66" })
|
|
739
739
|
] });
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function Na() {
|
|
742
742
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
743
743
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "4" }),
|
|
744
744
|
/* @__PURE__ */ e("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.9 7.9" })
|
|
745
745
|
] });
|
|
746
746
|
}
|
|
747
|
-
function
|
|
747
|
+
function Ma() {
|
|
748
748
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M16.29 2.15H7.7C6 2.15 5.25 3 4.79 4.04L2.23 9.8c-.46 1.04-.21 2.59.56 3.43l6.86 7.54c1.3 1.42 3.42 1.42 4.71 0l6.85-7.55c.77-.85 1.02-2.39.55-3.43L19.2 4.03c-.46-1.03-1.21-1.88-2.91-1.88ZM3.5 8h17" }) });
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function $a() {
|
|
751
751
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
752
752
|
/* @__PURE__ */ e("path", { d: "M6.7 18H4.15C2.72 18 2 17.28 2 15.85V4.15C2 2.72 2.72 2 4.15 2h4.3c1.43 0 2.15.72 2.15 2.15V6" }),
|
|
753
753
|
/* @__PURE__ */ e("path", { d: "M17.37 8.42v11.16c0 1.61-.8 2.42-2.41 2.42H9.12c-1.61 0-2.42-.81-2.42-2.42V8.42C6.7 6.81 7.51 6 9.12 6h5.84c1.61 0 2.41.81 2.41 2.42Z" }),
|
|
754
754
|
/* @__PURE__ */ e("path", { d: "M13.4 6V4.15c0-1.43.72-2.15 2.15-2.15h4.3C21.28 2 22 2.72 22 4.15v11.7c0 1.43-.72 2.15-2.15 2.15h-2.48M10 11h4M10 14h4M12 22v-3" })
|
|
755
755
|
] });
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function ka() {
|
|
758
758
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
759
759
|
/* @__PURE__ */ e("path", { d: "M19.79 14.93a7.575 7.575 0 0 1-7.6 1.87l-4.71 4.7c-.34.35-1.01.56-1.49.49l-2.18-.3c-.72-.1-1.39-.78-1.5-1.5l-.3-2.18c-.07-.48.16-1.15.49-1.49l4.7-4.7c-.8-2.6-.18-5.55 1.88-7.6 2.95-2.95 7.74-2.95 10.7 0 2.96 2.95 2.96 7.76.01 10.71ZM6.89 17.49l2.3 2.3" }),
|
|
760
760
|
/* @__PURE__ */ e("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })
|
|
@@ -763,38 +763,38 @@ function $a() {
|
|
|
763
763
|
function Un() {
|
|
764
764
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5" }) });
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function wa() {
|
|
767
767
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m9.02 2.84-5.39 4.2C2.73 7.74 2 9.23 2 10.36v7.41c0 2.32 1.89 4.22 4.21 4.22h11.58c2.32 0 4.21-1.9 4.21-4.21V10.5c0-1.21-.81-2.76-1.8-3.45l-6.18-4.33c-1.4-.98-3.65-.93-5 .12ZM12 17.99v-3" }) });
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function zl() {
|
|
770
770
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
771
771
|
/* @__PURE__ */ e("path", { d: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" }),
|
|
772
772
|
/* @__PURE__ */ e("path", { d: "M2 12.88v-1.76c0-1.04.85-1.9 1.9-1.9 1.81 0 2.55-1.28 1.64-2.85-.52-.9-.21-2.07.7-2.59l1.73-.99c.79-.47 1.81-.19 2.28.6l.11.19c.9 1.57 2.38 1.57 3.29 0l.11-.19c.47-.79 1.49-1.07 2.28-.6l1.73.99c.91.52 1.22 1.69.7 2.59-.91 1.57-.17 2.85 1.64 2.85 1.04 0 1.9.85 1.9 1.9v1.76c0 1.04-.85 1.9-1.9 1.9-1.81 0-2.55 1.28-1.64 2.85.52.91.21 2.07-.7 2.59l-1.73.99c-.79.47-1.81.19-2.28-.6l-.11-.19c-.9-1.57-2.38-1.57-3.29 0l-.11.19c-.47.79-1.49 1.07-2.28.6l-1.73-.99a1.899 1.899 0 0 1-.7-2.59c.91-1.57.17-2.85-1.64-2.85-1.05 0-1.9-.86-1.9-1.9Z" })
|
|
773
773
|
] });
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function Sa() {
|
|
776
776
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
777
777
|
/* @__PURE__ */ e("path", { d: "M13 11.15H7M2 11.15V6.53c0-2.04 1.65-3.69 3.69-3.69h5.62c2.04 0 3.69 1.27 3.69 3.31" }),
|
|
778
778
|
/* @__PURE__ */ e("path", { d: "M17.48 12.2c-.5.48-.74 1.22-.54 1.98.25.93 1.17 1.52 2.13 1.52H20v1.45c0 2.21-1.79 4-4 4H6c-2.21 0-4-1.79-4-4v-7c0-2.21 1.79-4 4-4h10c2.2 0 4 1.8 4 4v1.45h-1.08c-.56 0-1.07.22-1.44.6Z" }),
|
|
779
779
|
/* @__PURE__ */ e("path", { d: "M22 12.62v2.06c0 .56-.46 1.02-1.03 1.02h-1.93c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6h2.05c.57 0 1.03.46 1.03 1.02Z" })
|
|
780
780
|
] });
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function Ca() {
|
|
783
783
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
784
784
|
/* @__PURE__ */ e("path", { d: "M2 8.505h20M6 16.505h2M10.5 16.505h4" }),
|
|
785
785
|
/* @__PURE__ */ e("path", { d: "M6.44 3.505h11.11c3.56 0 4.45.88 4.45 4.39v8.21c0 3.51-.89 4.39-4.44 4.39H6.44c-3.55.01-4.44-.87-4.44-4.38v-8.22c0-3.51.89-4.39 4.44-4.39Z" })
|
|
786
786
|
] });
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function La() {
|
|
789
789
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
790
790
|
/* @__PURE__ */ e("path", { d: "m13.26 3.6-8.21 8.69c-.31.33-.61.98-.67 1.43l-.37 3.24c-.13 1.17.71 1.97 1.87 1.77l3.22-.55c.45-.08 1.08-.41 1.39-.75l8.21-8.69c1.42-1.5 2.06-3.21-.15-5.3-2.2-2.07-3.87-1.34-5.29.16Z" }),
|
|
791
791
|
/* @__PURE__ */ e("path", { d: "M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18" })
|
|
792
792
|
] });
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Aa() {
|
|
795
795
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m7.4 6.32 8.49-2.83c3.81-1.27 5.88.81 4.62 4.62l-2.83 8.49c-1.9 5.71-5.02 5.71-6.92 0l-.84-2.52-2.52-.84c-5.71-1.9-5.71-5.01 0-6.92ZM10.11 13.65l3.58-3.59" }) });
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function Fa() {
|
|
798
798
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
799
799
|
/* @__PURE__ */ e("path", { d: "M6 10V8c0-3.31 1-6 6-6s6 2.69 6 6v2M12 18.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z" }),
|
|
800
800
|
/* @__PURE__ */ e("path", { d: "M17 22H7c-4 0-5-1-5-5v-2c0-4 1-5 5-5h10c4 0 5 1 5 5v2c0 4-1 5-5 5Z" })
|
|
@@ -809,50 +809,50 @@ function qn() {
|
|
|
809
809
|
function Yn() {
|
|
810
810
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52" }) });
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Ba() {
|
|
813
813
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M9.32 6.5l2.56-2.56 2.56 2.56M11.88 14.18V4.01M4 12c0 4.42 3 8 8 8s8-3.58 8-8" }) });
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function Xl() {
|
|
816
816
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
817
817
|
/* @__PURE__ */ e("path", { d: "M8 12.2h7M8 16.2h4.38M10 6h4c2 0 2-1 2-2 0-2-1-2-2-2h-4C9 2 8 2 8 4s1 2 2 2Z" }),
|
|
818
818
|
/* @__PURE__ */ e("path", { d: "M16 4.02c3.33.18 5 1.41 5 5.98v6c0 4-1 6-6 6H9c-5 0-6-2-6-6v-6c0-4.56 1.67-5.8 5-5.98" })
|
|
819
819
|
] });
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function Kl() {
|
|
822
822
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
823
823
|
/* @__PURE__ */ e("path", { d: "M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z" }),
|
|
824
824
|
/* @__PURE__ */ e("path", { d: "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" })
|
|
825
825
|
] });
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function Ea() {
|
|
828
828
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
829
829
|
/* @__PURE__ */ e("path", { d: "m3.989 14.66-1.52-1.52c-.62-.62-.62-1.64 0-2.26l1.52-1.52c.26-.26.47-.77.47-1.13V6.08c0-.88.72-1.6 1.6-1.6h2.15c.36 0 .87-.21 1.13-.47l1.52-1.52c.62-.62 1.64-.62 2.26 0l1.52 1.52c.26.26.77.47 1.13.47h2.15c.88 0 1.6.72 1.6 1.6v2.15c0 .36.21.87.47 1.13l1.52 1.52c.62.62.62 1.64 0 2.26l-1.52 1.52c-.26.26-.47.77-.47 1.13v2.15c0 .88-.72 1.6-1.6 1.6h-2.15c-.36 0-.87.21-1.13.47l-1.52 1.52c-.62.62-1.64.62-2.26 0l-1.52-1.52c-.26-.26-.77-.47-1.13-.47h-2.15c-.88 0-1.6-.72-1.6-1.6v-2.15c0-.37-.21-.88-.47-1.13ZM9 15l6-6" }),
|
|
830
830
|
/* @__PURE__ */ e("path", { d: "M14.495 14.5h.009M9.495 9.5h.008" })
|
|
831
831
|
] });
|
|
832
832
|
}
|
|
833
|
-
function
|
|
833
|
+
function Ia() {
|
|
834
834
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
835
835
|
/* @__PURE__ */ e("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }),
|
|
836
836
|
/* @__PURE__ */ e("path", { d: "m5 17 4.59-5.36c.76-.88 2.11-.94 2.93-.11l.95.95c.82.82 2.17.77 2.93-.11L21 7" })
|
|
837
837
|
] });
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Pa() {
|
|
840
840
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
841
841
|
/* @__PURE__ */ e("path", { d: "M3.01 11.22v4.49C3.01 20.2 4.81 22 9.3 22h5.39c4.49 0 6.29-1.8 6.29-6.29v-4.49" }),
|
|
842
842
|
/* @__PURE__ */ e("path", { d: "M12 12c1.83 0 3.18-1.49 3-3.32L14.34 2H9.67L9 8.68C8.82 10.51 10.17 12 12 12Z" }),
|
|
843
843
|
/* @__PURE__ */ e("path", { d: "M18.31 12c2.02 0 3.5-1.64 3.3-3.65l-.28-2.75C20.97 3 19.97 2 17.35 2H14.3l.7 7.01c.17 1.65 1.66 2.99 3.31 2.99ZM5.64 12c1.65 0 3.14-1.34 3.3-2.99l.22-2.21.48-4.8H6.59C3.97 2 2.97 3 2.61 5.6l-.27 2.75C2.14 10.36 3.62 12 5.64 12ZM12 17c-1.67 0-2.5.83-2.5 2.5V22h5v-2.5c0-1.67-.83-2.5-2.5-2.5Z" })
|
|
844
844
|
] });
|
|
845
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function Ra() {
|
|
847
847
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3H5C3 2 2 3 2 5v2c0 2 1 3 3 3ZM17 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM17 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM5 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3H5c-2 0-3 1-3 3v2c0 2 1 3 3 3Z" }) });
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function Da() {
|
|
850
850
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M11.92 22c5.5 0 10-4.5 10-10s-4.5-10-10-10-10 4.5-10 10 4.5 10 10 10ZM7.92 12h8" }) });
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function Ta() {
|
|
853
853
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M3 7h18M3 12h18M3 17h18" }) });
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function Wa() {
|
|
856
856
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
857
857
|
/* @__PURE__ */ e("path", { d: "M13 22H5c-2 0-3-1-3-3v-8c0-2 1-3 3-3h5v11c0 2 1 3 3 3ZM10.11 4c-.08.3-.11.63-.11 1v3H5V6c0-1.1.9-2 2-2h3.11ZM14 8v5M18 8v5M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1ZM6 13v4" }),
|
|
858
858
|
/* @__PURE__ */ e("path", { d: "M10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z" })
|
|
@@ -944,7 +944,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
944
944
|
] }),
|
|
945
945
|
i ? /* @__PURE__ */ e("p", { id: `${O}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${O}-hint`, className: "select-field__hint", children: o }) : null
|
|
946
946
|
] });
|
|
947
|
-
}),
|
|
947
|
+
}), Oa = R(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: r, className: d, ...o }, i) {
|
|
948
948
|
return /* @__PURE__ */ m("span", { ref: i, ...o, className: `select-checkbox-field${s ? " select-checkbox-field--disabled" : ""}${d ? " " + d : ""}`, children: [
|
|
949
949
|
/* @__PURE__ */ m("label", { className: "select-checkbox", children: [
|
|
950
950
|
/* @__PURE__ */ e(
|
|
@@ -962,7 +962,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
962
962
|
] }),
|
|
963
963
|
a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
|
|
964
964
|
] });
|
|
965
|
-
}),
|
|
965
|
+
}), Ha = R(function({ label: n, value: l, onChange: c, labelAction: s, info: a, description: r, hint: d, error: o, placeholder: i, rows: h = 4, mono: u, name: f, required: g, disabled: v, maxLength: y, onBlur: x, size: $ = "md", className: _, ...p }, b) {
|
|
966
966
|
const S = te(), k = o ? `${S}-err` : d ? `${S}-hint` : void 0;
|
|
967
967
|
return /* @__PURE__ */ m("div", { ref: b, ...p, className: `select-field${$ === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`, children: [
|
|
968
968
|
(n || a || s) && /* @__PURE__ */ e(lt, { htmlFor: S, label: n, info: a, action: s }),
|
|
@@ -987,7 +987,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
987
987
|
),
|
|
988
988
|
o ? /* @__PURE__ */ e("p", { id: `${S}-err`, className: "select-field__error", children: o }) : d ? /* @__PURE__ */ e("p", { id: `${S}-hint`, className: "select-field__hint", children: d }) : null
|
|
989
989
|
] });
|
|
990
|
-
}),
|
|
990
|
+
}), ja = R(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: r, error: d, placeholder: o = "0", disabled: i = !1, min: h, max: u, className: f, ...g }, v) {
|
|
991
991
|
const y = te();
|
|
992
992
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${f ? " " + f : ""}`, children: [
|
|
993
993
|
n && /* @__PURE__ */ e(lt, { htmlFor: y, label: n, info: a }),
|
|
@@ -1011,10 +1011,10 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1011
1011
|
] }),
|
|
1012
1012
|
d ? /* @__PURE__ */ e("p", { className: "select-field__error", children: d }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
|
|
1013
1013
|
] });
|
|
1014
|
-
}),
|
|
1014
|
+
}), Jl = new Intl.NumberFormat("pt-BR", {
|
|
1015
1015
|
minimumFractionDigits: 2,
|
|
1016
1016
|
maximumFractionDigits: 2
|
|
1017
|
-
}),
|
|
1017
|
+
}), Va = R(function({ label: n, value: l, onChange: c, info: s, hint: a, error: r, onBlur: d, placeholder: o = "0,00", name: i, disabled: h = !1, size: u = "md", className: f, ...g }, v) {
|
|
1018
1018
|
const y = te();
|
|
1019
1019
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${u === "sm" ? " select-field--sm" : ""}${f ? " " + f : ""}`, children: [
|
|
1020
1020
|
n && /* @__PURE__ */ e(lt, { htmlFor: y, label: n, info: s }),
|
|
@@ -1034,7 +1034,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1034
1034
|
autoComplete: "off",
|
|
1035
1035
|
name: i,
|
|
1036
1036
|
disabled: h,
|
|
1037
|
-
value: l == null ? "" :
|
|
1037
|
+
value: l == null ? "" : Jl.format(l / 100),
|
|
1038
1038
|
placeholder: o,
|
|
1039
1039
|
onChange: (x) => {
|
|
1040
1040
|
const $ = x.target.value.replace(/\D/g, "");
|
|
@@ -1053,15 +1053,15 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1053
1053
|
function tn(t) {
|
|
1054
1054
|
return (t ?? "").replace(/\D/g, "");
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function Ql(t) {
|
|
1057
1057
|
const n = tn(t);
|
|
1058
1058
|
return n.length === 11 ? "CPF" : n.length === 14 ? "CNPJ" : "";
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function ec(t) {
|
|
1061
1061
|
const n = tn(t).slice(0, 14);
|
|
1062
1062
|
return n.length <= 11 ? n.replace(/^(\d{3})(\d)/, "$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1-$2") : n.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2");
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function Za({
|
|
1065
1065
|
label: t = "CPF/CNPJ",
|
|
1066
1066
|
value: n,
|
|
1067
1067
|
onChange: l,
|
|
@@ -1071,12 +1071,12 @@ function Va({
|
|
|
1071
1071
|
required: r,
|
|
1072
1072
|
name: d
|
|
1073
1073
|
}) {
|
|
1074
|
-
const o =
|
|
1074
|
+
const o = Ql(n);
|
|
1075
1075
|
return /* @__PURE__ */ e(
|
|
1076
1076
|
We,
|
|
1077
1077
|
{
|
|
1078
1078
|
label: t,
|
|
1079
|
-
value:
|
|
1079
|
+
value: ec(n),
|
|
1080
1080
|
onChange: (i) => l(tn(i)),
|
|
1081
1081
|
inputMode: "numeric",
|
|
1082
1082
|
autoComplete: "off",
|
|
@@ -1108,7 +1108,7 @@ const ut = R(function({ children: n, tone: l = "critical", title: c, className:
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
) : /* @__PURE__ */ m("span", { className: "select-filetile__doc", children: [
|
|
1111
|
-
/* @__PURE__ */ e(
|
|
1111
|
+
/* @__PURE__ */ e(Kl, {}),
|
|
1112
1112
|
/* @__PURE__ */ e("span", { children: l ?? "FILE" })
|
|
1113
1113
|
] }),
|
|
1114
1114
|
a && /* @__PURE__ */ e("span", { className: "select-filetile__badge", children: a }),
|
|
@@ -1151,7 +1151,7 @@ function el(t) {
|
|
|
1151
1151
|
return t;
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
|
-
const
|
|
1154
|
+
const Ga = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: r, hint: d, className: o, ...i }, h) {
|
|
1155
1155
|
const u = q(null), [f, g] = D(!1), [v, y] = D(0), x = s * 1024 * 1024, $ = xe(() => n.map((C) => Kn(C) ? URL.createObjectURL(C) : null), [n]);
|
|
1156
1156
|
le(
|
|
1157
1157
|
() => () => {
|
|
@@ -1242,12 +1242,12 @@ const Za = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1242
1242
|
" MB."
|
|
1243
1243
|
] })
|
|
1244
1244
|
] });
|
|
1245
|
-
}),
|
|
1245
|
+
}), tc = R(function({ children: n, onClick: l, icon: c, className: s, ...a }, r) {
|
|
1246
1246
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-addbtn${s ? " " + s : ""}`, onClick: l, children: [
|
|
1247
1247
|
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(nt, {}) }),
|
|
1248
1248
|
n
|
|
1249
1249
|
] });
|
|
1250
|
-
}),
|
|
1250
|
+
}), Ua = R(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: r, className: d, ...o }, i) {
|
|
1251
1251
|
const [h, u] = D(""), [f, g] = D(null), v = s != null && l.length >= s, y = () => {
|
|
1252
1252
|
const _ = h.trim();
|
|
1253
1253
|
if (_) {
|
|
@@ -1284,11 +1284,11 @@ const Za = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1284
1284
|
autoComplete: "off"
|
|
1285
1285
|
}
|
|
1286
1286
|
),
|
|
1287
|
-
/* @__PURE__ */ e(
|
|
1287
|
+
/* @__PURE__ */ e(tc, { onClick: y, children: "Adicionar URL" })
|
|
1288
1288
|
] }),
|
|
1289
1289
|
r != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: r })
|
|
1290
1290
|
] });
|
|
1291
|
-
}),
|
|
1291
|
+
}), nc = R(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: r, accept: d = ".jpg,.jpeg,.png,.webp", maxSizeMB: o = 3, maxItems: i = 10, maxFiles: h, uploadHint: u, urlPlaceholder: f, helpText: g, className: v, ...y }, x) {
|
|
1292
1292
|
const $ = l === "single", _ = q(null), [p, b] = D(!1), [S, k] = D(0), [M, w] = D(""), [N, C] = D(null), L = $ ? 1 : Math.max(1, i), B = $ ? 1 : h ?? L, A = c.length + a.length, F = $ ? A === 0 : A < L && c.length < B, E = $ ? A === 0 : A < L, T = A > 0, I = o * 1024 * 1024, O = xe(() => c.map((H) => Kn(H) ? URL.createObjectURL(H) : null), [c]);
|
|
1293
1293
|
le(
|
|
1294
1294
|
() => () => {
|
|
@@ -1359,7 +1359,7 @@ const Za = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1359
1359
|
/* @__PURE__ */ e("span", { children: u ?? `Arraste ou selecione um arquivo · até ${o} MB` })
|
|
1360
1360
|
] }),
|
|
1361
1361
|
E && /* @__PURE__ */ m("div", { className: "select-uploadzone__url", children: [
|
|
1362
|
-
/* @__PURE__ */ e(
|
|
1362
|
+
/* @__PURE__ */ e(Ol, {}),
|
|
1363
1363
|
/* @__PURE__ */ e("div", { className: "select-uploadzone__urlfield", children: /* @__PURE__ */ e(
|
|
1364
1364
|
We,
|
|
1365
1365
|
{
|
|
@@ -1434,9 +1434,9 @@ const Za = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1434
1434
|
] }),
|
|
1435
1435
|
i ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: o }) : null
|
|
1436
1436
|
] });
|
|
1437
|
-
}),
|
|
1437
|
+
}), lc = R(function({ children: n, columns: l = 2, className: c, ...s }, a) {
|
|
1438
1438
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-fieldgrid select-fieldgrid--${l}${c ? " " + c : ""}`, children: n });
|
|
1439
|
-
}), Rt = (t) => t.replace(/\D/g, ""),
|
|
1439
|
+
}), Rt = (t) => t.replace(/\D/g, ""), qa = R(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: r, ...d }, o) {
|
|
1440
1440
|
const i = (u) => l({ ...n, ...u }), h = [
|
|
1441
1441
|
{ label: "Selecione o banco", value: "" },
|
|
1442
1442
|
// `name` already reads "001 - Banco do Brasil S.A." (code + bank name), so show it alone —
|
|
@@ -1454,7 +1454,7 @@ const Za = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1454
1454
|
error: a
|
|
1455
1455
|
}
|
|
1456
1456
|
),
|
|
1457
|
-
/* @__PURE__ */ m(
|
|
1457
|
+
/* @__PURE__ */ m(lc, { columns: 3, children: [
|
|
1458
1458
|
/* @__PURE__ */ e(We, { label: "Agência", value: n.agency, onChange: (u) => i({ agency: Rt(u) }), inputMode: "numeric", maxLength: 6 }),
|
|
1459
1459
|
/* @__PURE__ */ e(We, { label: "Conta", value: n.account, onChange: (u) => i({ account: Rt(u) }), inputMode: "numeric", maxLength: 14 }),
|
|
1460
1460
|
/* @__PURE__ */ e(We, { label: "Dígito", value: n.accountDigit, onChange: (u) => i({ accountDigit: Rt(u).slice(0, 1) }), inputMode: "numeric", maxLength: 1 })
|
|
@@ -1474,15 +1474,15 @@ const Za = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1474
1474
|
] });
|
|
1475
1475
|
}), nn = R(function({ checked: n, onChange: l, disabled: c = !1, label: s, className: a, ...r }, d) {
|
|
1476
1476
|
return /* @__PURE__ */ e("button", { ref: d, ...r, type: "button", role: "switch", "aria-checked": n, "aria-label": s, disabled: c, className: `select-switch${n ? " select-switch--on" : ""}${a ? " " + a : ""}`, onClick: () => l(!n), children: /* @__PURE__ */ e("span", { className: "select-switch__knob", "aria-hidden": "true" }) });
|
|
1477
|
-
}),
|
|
1477
|
+
}), Ya = R(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
|
|
1478
1478
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-togglelist${l ? " select-togglelist--scroll" : ""}${c ? " " + c : ""}`, children: n });
|
|
1479
|
-
}),
|
|
1479
|
+
}), za = R(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: r, ...d }, o) {
|
|
1480
1480
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-togglerow${a ? " select-togglerow--disabled" : ""}${r ? " " + r : ""}`, children: [
|
|
1481
1481
|
n && /* @__PURE__ */ e("span", { className: "select-togglerow__icon", children: n }),
|
|
1482
1482
|
/* @__PURE__ */ e("span", { className: "select-togglerow__label", children: l }),
|
|
1483
1483
|
/* @__PURE__ */ e(nn, { checked: c, onChange: s, disabled: a, label: typeof l == "string" ? l : void 0 })
|
|
1484
1484
|
] });
|
|
1485
|
-
}),
|
|
1485
|
+
}), Xa = R(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: r = !1, className: d, ...o }, i) {
|
|
1486
1486
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-togglepanel${c ? " is-on" : ""}${d ? " " + d : ""}`, children: [
|
|
1487
1487
|
/* @__PURE__ */ m("div", { className: "select-togglepanel__header", children: [
|
|
1488
1488
|
/* @__PURE__ */ e(nn, { checked: c, onChange: s, disabled: r, label: typeof l == "string" ? l : void 0 }),
|
|
@@ -1505,12 +1505,12 @@ const Za = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1505
1505
|
GB: "##### ######"
|
|
1506
1506
|
// 11 digits (mobile, with trunk 0)
|
|
1507
1507
|
};
|
|
1508
|
-
function
|
|
1508
|
+
function cc(t) {
|
|
1509
1509
|
let n = 0;
|
|
1510
1510
|
for (const l of t) l === "#" && (n += 1);
|
|
1511
1511
|
return n;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function sc(t, n) {
|
|
1514
1514
|
let l = "", c = 0;
|
|
1515
1515
|
for (const s of t) {
|
|
1516
1516
|
if (c >= n.length) break;
|
|
@@ -1518,28 +1518,28 @@ function cc(t, n) {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
return c < n.length && (l += n.slice(c)), l;
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function ac(t) {
|
|
1522
1522
|
if (t === "BR") return 11;
|
|
1523
1523
|
const n = ln[t];
|
|
1524
|
-
return n ?
|
|
1524
|
+
return n ? cc(n) : 15;
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1526
|
+
function oc(t) {
|
|
1527
1527
|
return (t ?? "").replace(/\D/g, "").slice(0, 11);
|
|
1528
1528
|
}
|
|
1529
1529
|
function tl(t, n) {
|
|
1530
|
-
return (n ?? "").replace(/\D/g, "").slice(0,
|
|
1530
|
+
return (n ?? "").replace(/\D/g, "").slice(0, ac(t));
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1533
|
-
const n =
|
|
1532
|
+
function rc(t) {
|
|
1533
|
+
const n = oc(t);
|
|
1534
1534
|
return n.length === 0 ? "" : n.length <= 2 ? `(${n}` : n.length <= 6 ? `(${n.slice(0, 2)}) ${n.slice(2)}` : n.length <= 10 ? `(${n.slice(0, 2)}) ${n.slice(2, 6)}-${n.slice(6)}` : `(${n.slice(0, 2)}) ${n.slice(2, 7)}-${n.slice(7)}`;
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1536
|
+
function ic(t, n) {
|
|
1537
1537
|
const l = tl(t, n);
|
|
1538
|
-
if (t === "BR") return
|
|
1538
|
+
if (t === "BR") return rc(l);
|
|
1539
1539
|
const c = ln[t];
|
|
1540
|
-
return c ?
|
|
1540
|
+
return c ? sc(c, l) : l;
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1542
|
+
function dc(t) {
|
|
1543
1543
|
if (t === "BR") return "(00) 00000-0000";
|
|
1544
1544
|
const n = ln[t];
|
|
1545
1545
|
return n ? n.replace(/#/g, "0") : "";
|
|
@@ -1553,13 +1553,13 @@ const Zt = [
|
|
|
1553
1553
|
{ iso: "ES", dial: "+34", flag: "🇪🇸", name: "Espanha" },
|
|
1554
1554
|
{ iso: "GB", dial: "+44", flag: "🇬🇧", name: "Reino Unido" }
|
|
1555
1555
|
];
|
|
1556
|
-
function
|
|
1556
|
+
function uc(t) {
|
|
1557
1557
|
var n;
|
|
1558
1558
|
return ((n = Zt.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
|
|
1559
1559
|
}
|
|
1560
|
-
const
|
|
1560
|
+
const Ka = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: r, onBlur: d, placeholder: o, className: i, ...h }, u) {
|
|
1561
1561
|
var y;
|
|
1562
|
-
const f = te(), g =
|
|
1562
|
+
const f = te(), g = uc(l.country), v = r ? `${f}-err` : a ? `${f}-hint` : void 0;
|
|
1563
1563
|
return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-field${i ? " " + i : ""}`, children: [
|
|
1564
1564
|
/* @__PURE__ */ m("div", { className: "select-field__labelrow", children: [
|
|
1565
1565
|
/* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: f, children: n }),
|
|
@@ -1599,8 +1599,8 @@ const Xa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1599
1599
|
type: "tel",
|
|
1600
1600
|
inputMode: "tel",
|
|
1601
1601
|
autoComplete: "tel-national",
|
|
1602
|
-
value:
|
|
1603
|
-
placeholder: o ??
|
|
1602
|
+
value: ic(l.country, l.number),
|
|
1603
|
+
placeholder: o ?? dc(l.country),
|
|
1604
1604
|
onChange: (x) => c({ ...l, number: tl(l.country, x.target.value) }),
|
|
1605
1605
|
onBlur: d,
|
|
1606
1606
|
"aria-invalid": r ? !0 : void 0,
|
|
@@ -1610,7 +1610,7 @@ const Xa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1610
1610
|
] }),
|
|
1611
1611
|
r ? /* @__PURE__ */ e("p", { id: `${f}-err`, className: "select-field__error", children: r }) : a ? /* @__PURE__ */ e("p", { id: `${f}-hint`, className: "select-field__hint", children: a }) : null
|
|
1612
1612
|
] });
|
|
1613
|
-
}),
|
|
1613
|
+
}), Ja = R(function({ value: n, onChange: l, options: c, name: s, className: a, ...r }, d) {
|
|
1614
1614
|
const o = te(), i = s ?? o;
|
|
1615
1615
|
return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((h) => {
|
|
1616
1616
|
const u = h.value === n;
|
|
@@ -1642,7 +1642,7 @@ const Xa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1642
1642
|
h.value
|
|
1643
1643
|
);
|
|
1644
1644
|
}) });
|
|
1645
|
-
}),
|
|
1645
|
+
}), Qa = R(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: r, ...d }, o) {
|
|
1646
1646
|
const i = Math.max(0, c.findIndex((v) => v.value === n)), h = q([]), [u, f] = D(null);
|
|
1647
1647
|
Be(() => {
|
|
1648
1648
|
const v = h.current[i];
|
|
@@ -1675,7 +1675,7 @@ const Xa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1675
1675
|
c && /* @__PURE__ */ e("span", { className: "select-badge__icon", children: c }),
|
|
1676
1676
|
n
|
|
1677
1677
|
] });
|
|
1678
|
-
}),
|
|
1678
|
+
}), hc = {
|
|
1679
1679
|
approved: { label: "Aprovada", tone: "success" },
|
|
1680
1680
|
"pre-authorized": { label: "Pré-autorizada", tone: "success" },
|
|
1681
1681
|
authorized: { label: "Autorizada", tone: "info" },
|
|
@@ -1693,9 +1693,9 @@ const Xa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1693
1693
|
chargeback: { label: "Chargeback", tone: "critical" },
|
|
1694
1694
|
dispute: { label: "Em disputa", tone: "critical" }
|
|
1695
1695
|
};
|
|
1696
|
-
function
|
|
1696
|
+
function e1({
|
|
1697
1697
|
status: t,
|
|
1698
|
-
map: n =
|
|
1698
|
+
map: n = hc
|
|
1699
1699
|
}) {
|
|
1700
1700
|
const l = n[t] ?? { label: t };
|
|
1701
1701
|
return /* @__PURE__ */ e(nl, { tone: l.tone, children: l.label });
|
|
@@ -1716,7 +1716,7 @@ function ll(t, n, l, c, s = 8) {
|
|
|
1716
1716
|
const f = typeof window < "u" && window.devicePixelRatio || 1;
|
|
1717
1717
|
return u = Math.round(u * f) / f, h = Math.round(h * f) / f, { top: h, left: u, side: o };
|
|
1718
1718
|
}
|
|
1719
|
-
const
|
|
1719
|
+
const pc = [
|
|
1720
1720
|
"a[href]",
|
|
1721
1721
|
"button:not([disabled])",
|
|
1722
1722
|
"input:not([disabled])",
|
|
@@ -1725,11 +1725,11 @@ const hc = [
|
|
|
1725
1725
|
'[tabindex]:not([tabindex="-1"])'
|
|
1726
1726
|
].join(",");
|
|
1727
1727
|
function rn(t) {
|
|
1728
|
-
return Array.from(t.querySelectorAll(
|
|
1728
|
+
return Array.from(t.querySelectorAll(pc)).filter(
|
|
1729
1729
|
(n) => n.offsetWidth > 0 || n.offsetHeight > 0 || n === document.activeElement
|
|
1730
1730
|
);
|
|
1731
1731
|
}
|
|
1732
|
-
function
|
|
1732
|
+
function mc(t, n) {
|
|
1733
1733
|
le(() => {
|
|
1734
1734
|
if (!t) return;
|
|
1735
1735
|
const l = n.current;
|
|
@@ -1809,7 +1809,7 @@ function Oe({
|
|
|
1809
1809
|
return document.addEventListener("mousedown", _, !0), document.addEventListener("keydown", p), () => {
|
|
1810
1810
|
document.removeEventListener("mousedown", _, !0), document.removeEventListener("keydown", p);
|
|
1811
1811
|
};
|
|
1812
|
-
}, [t, n]),
|
|
1812
|
+
}, [t, n]), mc(t && d, u), /* @__PURE__ */ m(_e, { children: [
|
|
1813
1813
|
/* @__PURE__ */ e("span", { className: "select-pop__trigger", ref: h, children: l }),
|
|
1814
1814
|
t && Ft(
|
|
1815
1815
|
/* @__PURE__ */ e(
|
|
@@ -1865,7 +1865,7 @@ function cl({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
|
|
|
1865
1865
|
))
|
|
1866
1866
|
] }, h)) });
|
|
1867
1867
|
}
|
|
1868
|
-
function
|
|
1868
|
+
function t1({
|
|
1869
1869
|
items: t,
|
|
1870
1870
|
label: n = "Ações",
|
|
1871
1871
|
disabled: l
|
|
@@ -1950,7 +1950,7 @@ function st({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s =
|
|
|
1950
1950
|
};
|
|
1951
1951
|
return /* @__PURE__ */ e(o, { ...d, className: Bt("select-inline", r), style: i, children: t });
|
|
1952
1952
|
}
|
|
1953
|
-
function
|
|
1953
|
+
function n1({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: r, ...d }) {
|
|
1954
1954
|
const o = a, i = {
|
|
1955
1955
|
"--select-grid-columns": typeof n == "number" ? `repeat(${n}, minmax(0, 1fr))` : n,
|
|
1956
1956
|
gap: ze[l],
|
|
@@ -1958,26 +1958,26 @@ function t1({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collap
|
|
|
1958
1958
|
};
|
|
1959
1959
|
return /* @__PURE__ */ e(o, { ...d, className: Bt("select-grid", s && `select-grid--collapse-${s}`, r), style: i, children: t });
|
|
1960
1960
|
}
|
|
1961
|
-
const
|
|
1961
|
+
const fc = {
|
|
1962
1962
|
surface: "var(--select-surface)",
|
|
1963
1963
|
"surface-secondary": "var(--select-card-muted)",
|
|
1964
1964
|
"surface-sunken": "var(--select-surface-sunken)",
|
|
1965
1965
|
card: "var(--select-card-bg)",
|
|
1966
1966
|
transparent: "transparent"
|
|
1967
|
-
},
|
|
1967
|
+
}, _c = {
|
|
1968
1968
|
sm: "var(--select-radius-sm)",
|
|
1969
1969
|
base: "var(--select-radius)",
|
|
1970
1970
|
lg: "var(--select-radius-lg)",
|
|
1971
1971
|
card: "var(--select-radius-card)",
|
|
1972
1972
|
full: "999px"
|
|
1973
1973
|
};
|
|
1974
|
-
function
|
|
1974
|
+
function vc({ children: t, padding: n, paddingInline: l, paddingBlock: c, background: s, borderRadius: a, border: r = !1, shadow: d = !1, width: o, minHeight: i, as: h = "div", className: u, style: f, ...g }) {
|
|
1975
1975
|
const v = h, y = {
|
|
1976
1976
|
padding: n ? ze[n] : void 0,
|
|
1977
1977
|
paddingInline: l ? ze[l] : void 0,
|
|
1978
1978
|
paddingBlock: c ? ze[c] : void 0,
|
|
1979
|
-
background: s ?
|
|
1980
|
-
borderRadius: a ?
|
|
1979
|
+
background: s ? fc[s] : void 0,
|
|
1980
|
+
borderRadius: a ? _c[a] : void 0,
|
|
1981
1981
|
border: r ? "1px solid var(--select-border)" : void 0,
|
|
1982
1982
|
boxShadow: d ? "var(--select-shadow-card)" : void 0,
|
|
1983
1983
|
width: o,
|
|
@@ -2016,7 +2016,7 @@ const dn = "https://cdn.selectwin.io/public/payicons", un = {
|
|
|
2016
2016
|
diners: "dinersclub",
|
|
2017
2017
|
"diners-club": "dinersclub",
|
|
2018
2018
|
dinersclub: "dinersclub"
|
|
2019
|
-
},
|
|
2019
|
+
}, gc = {
|
|
2020
2020
|
pix: "pix",
|
|
2021
2021
|
billet: "boleto",
|
|
2022
2022
|
boleto: "boleto",
|
|
@@ -2034,7 +2034,7 @@ function hn(t) {
|
|
|
2034
2034
|
const n = t.toLowerCase().trim().replace(/\s+/g, "-");
|
|
2035
2035
|
return un[n] ?? un[n.replace(/-/g, "")] ?? null;
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function l1({
|
|
2038
2038
|
method: t,
|
|
2039
2039
|
cardBrand: n,
|
|
2040
2040
|
/** Chip height in px; width is derived to a card aspect ratio (1.2). Default 24×29. */
|
|
@@ -2047,7 +2047,7 @@ function n1({
|
|
|
2047
2047
|
* method/brand text everywhere the label renders (chip title, alt, showLabel, fallback). */
|
|
2048
2048
|
label: a
|
|
2049
2049
|
}) {
|
|
2050
|
-
const r = hn(n) ?? (t ?
|
|
2050
|
+
const r = hn(n) ?? (t ? gc[t] : null), d = a || n || (t ? _t[t] : void 0) || t || "—";
|
|
2051
2051
|
if (!r)
|
|
2052
2052
|
return /* @__PURE__ */ e(Xe, { as: "span", tone: "subdued", variant: "bodySm", children: a || t && _t[t] || n || t || "—" });
|
|
2053
2053
|
const o = hn(n) == null, i = l, h = Math.round(l * 1.2);
|
|
@@ -2117,10 +2117,77 @@ function n1({
|
|
|
2117
2117
|
/* @__PURE__ */ e(Xe, { as: "span", variant: "bodySm", children: a || t && _t[t] || n || t })
|
|
2118
2118
|
] }) : u;
|
|
2119
2119
|
}
|
|
2120
|
+
function sl({
|
|
2121
|
+
content: t,
|
|
2122
|
+
children: n,
|
|
2123
|
+
placement: l = "top",
|
|
2124
|
+
delay: c = 250
|
|
2125
|
+
}) {
|
|
2126
|
+
const [s, a] = D(!1), r = q(null), d = q(null), o = q(null), [i, h] = D(null), u = te(), f = () => {
|
|
2127
|
+
o.current && clearTimeout(o.current), o.current = setTimeout(() => a(!0), c);
|
|
2128
|
+
}, g = () => {
|
|
2129
|
+
o.current && clearTimeout(o.current), a(!1);
|
|
2130
|
+
};
|
|
2131
|
+
return le(
|
|
2132
|
+
() => () => {
|
|
2133
|
+
o.current && clearTimeout(o.current);
|
|
2134
|
+
},
|
|
2135
|
+
[]
|
|
2136
|
+
), Be(() => {
|
|
2137
|
+
var $;
|
|
2138
|
+
if (!s) {
|
|
2139
|
+
h(null);
|
|
2140
|
+
return;
|
|
2141
|
+
}
|
|
2142
|
+
const v = (($ = r.current) == null ? void 0 : $.firstElementChild) ?? r.current, y = d.current;
|
|
2143
|
+
if (!v || !y) return;
|
|
2144
|
+
const x = ll(
|
|
2145
|
+
v.getBoundingClientRect(),
|
|
2146
|
+
{ width: y.offsetWidth, height: y.offsetHeight },
|
|
2147
|
+
l,
|
|
2148
|
+
6
|
|
2149
|
+
);
|
|
2150
|
+
h({ top: x.top, left: x.left });
|
|
2151
|
+
}, [s, l]), le(() => {
|
|
2152
|
+
if (!s) return;
|
|
2153
|
+
const v = (y) => {
|
|
2154
|
+
y.key === "Escape" && a(!1);
|
|
2155
|
+
};
|
|
2156
|
+
return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
|
|
2157
|
+
}, [s]), /* @__PURE__ */ m(_e, { children: [
|
|
2158
|
+
/* @__PURE__ */ e(
|
|
2159
|
+
"span",
|
|
2160
|
+
{
|
|
2161
|
+
className: "select-tip__trigger",
|
|
2162
|
+
ref: r,
|
|
2163
|
+
onMouseEnter: f,
|
|
2164
|
+
onMouseLeave: g,
|
|
2165
|
+
onFocusCapture: () => a(!0),
|
|
2166
|
+
onBlurCapture: g,
|
|
2167
|
+
"aria-describedby": s ? u : void 0,
|
|
2168
|
+
children: n
|
|
2169
|
+
}
|
|
2170
|
+
),
|
|
2171
|
+
s && Ft(
|
|
2172
|
+
/* @__PURE__ */ e(
|
|
2173
|
+
"div",
|
|
2174
|
+
{
|
|
2175
|
+
ref: d,
|
|
2176
|
+
id: u,
|
|
2177
|
+
role: "tooltip",
|
|
2178
|
+
className: "select select-tip",
|
|
2179
|
+
style: i ? { position: "fixed", top: i.top, left: i.left } : { position: "fixed", top: 0, left: 0, visibility: "hidden" },
|
|
2180
|
+
children: t
|
|
2181
|
+
}
|
|
2182
|
+
),
|
|
2183
|
+
document.body
|
|
2184
|
+
)
|
|
2185
|
+
] });
|
|
2186
|
+
}
|
|
2120
2187
|
const ge = R(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: r = "ghost", active: d = !1, className: o, ...i }, h) {
|
|
2121
|
-
return /* @__PURE__ */ e("button", { ref: h, ...i, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${r}${d ? " is-active" : ""}${o ? " " + o : ""}`, "aria-label": l,
|
|
2188
|
+
return /* @__PURE__ */ e(sl, { content: l, children: /* @__PURE__ */ e("button", { ref: h, ...i, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${r}${d ? " is-active" : ""}${o ? " " + o : ""}`, "aria-label": l, "aria-pressed": d, onClick: c, disabled: s, children: n }) });
|
|
2122
2189
|
});
|
|
2123
|
-
function
|
|
2190
|
+
function bc({
|
|
2124
2191
|
open: t,
|
|
2125
2192
|
onToggle: n,
|
|
2126
2193
|
children: l,
|
|
@@ -2143,14 +2210,14 @@ function gc({
|
|
|
2143
2210
|
}
|
|
2144
2211
|
);
|
|
2145
2212
|
}
|
|
2146
|
-
const
|
|
2213
|
+
const xc = 3e3, Ut = "", al = (t, n) => t === "" ? n : t + Ut + n;
|
|
2147
2214
|
function pn(t) {
|
|
2148
2215
|
const n = t.split(Ut), l = [];
|
|
2149
2216
|
for (let c = 1; c < n.length; c++) l.push(n.slice(0, c).join(Ut));
|
|
2150
2217
|
return l;
|
|
2151
2218
|
}
|
|
2152
|
-
const
|
|
2153
|
-
function
|
|
2219
|
+
const yc = (t) => t instanceof Date || t instanceof RegExp || t instanceof Map || t instanceof Set;
|
|
2220
|
+
function ol(t) {
|
|
2154
2221
|
if (t == null) return "null";
|
|
2155
2222
|
if (Array.isArray(t)) return "array";
|
|
2156
2223
|
switch (typeof t) {
|
|
@@ -2162,16 +2229,16 @@ function al(t) {
|
|
|
2162
2229
|
case "boolean":
|
|
2163
2230
|
return "boolean";
|
|
2164
2231
|
case "object":
|
|
2165
|
-
return
|
|
2232
|
+
return yc(t) ? "other" : "object";
|
|
2166
2233
|
default:
|
|
2167
2234
|
return "other";
|
|
2168
2235
|
}
|
|
2169
2236
|
}
|
|
2170
2237
|
function He(t) {
|
|
2171
|
-
const n =
|
|
2238
|
+
const n = ol(t);
|
|
2172
2239
|
return n === "object" || n === "array";
|
|
2173
2240
|
}
|
|
2174
|
-
function
|
|
2241
|
+
function rl(t) {
|
|
2175
2242
|
return Array.isArray(t) ? t.map((n, l) => [String(l), n]) : He(t) ? Object.entries(t) : [];
|
|
2176
2243
|
}
|
|
2177
2244
|
function pt(t) {
|
|
@@ -2184,7 +2251,7 @@ function mn(t) {
|
|
|
2184
2251
|
const n = pt(t), l = Array.isArray(t);
|
|
2185
2252
|
return n === 0 ? l ? "[]" : "{}" : l ? `[${n} ${n === 1 ? "item" : "itens"}]` : `{${n} ${n === 1 ? "chave" : "chaves"}}`;
|
|
2186
2253
|
}
|
|
2187
|
-
function
|
|
2254
|
+
function Nc(t) {
|
|
2188
2255
|
if (typeof t != "string") return t;
|
|
2189
2256
|
const n = t.trim();
|
|
2190
2257
|
if (!n.startsWith("{") && !n.startsWith("[")) return t;
|
|
@@ -2194,17 +2261,17 @@ function yc(t) {
|
|
|
2194
2261
|
return t;
|
|
2195
2262
|
}
|
|
2196
2263
|
}
|
|
2197
|
-
function
|
|
2264
|
+
function Mc(t) {
|
|
2198
2265
|
return t == null ? !0 : He(t) ? pt(t) === 0 : !1;
|
|
2199
2266
|
}
|
|
2200
|
-
function
|
|
2267
|
+
function il(t) {
|
|
2201
2268
|
try {
|
|
2202
2269
|
return JSON.stringify(t, null, 2) ?? String(t);
|
|
2203
2270
|
} catch {
|
|
2204
2271
|
return String(t);
|
|
2205
2272
|
}
|
|
2206
2273
|
}
|
|
2207
|
-
function rt(t, n, l =
|
|
2274
|
+
function rt(t, n, l = xc) {
|
|
2208
2275
|
let c = 0, s = !1;
|
|
2209
2276
|
const a = (r, d, o, i, h) => {
|
|
2210
2277
|
if (s) return;
|
|
@@ -2219,30 +2286,30 @@ function rt(t, n, l = bc) {
|
|
|
2219
2286
|
const u = r;
|
|
2220
2287
|
if (h.includes(u)) return;
|
|
2221
2288
|
const f = [...h, u];
|
|
2222
|
-
for (const [g, v] of
|
|
2223
|
-
if (a(v,
|
|
2289
|
+
for (const [g, v] of rl(r))
|
|
2290
|
+
if (a(v, al(d, g), g, i + 1, f), s) return;
|
|
2224
2291
|
};
|
|
2225
2292
|
return a(t, "", "", 0, []), { count: c, truncated: s };
|
|
2226
2293
|
}
|
|
2227
|
-
function
|
|
2294
|
+
function $c(t, n) {
|
|
2228
2295
|
return He(t) && n.includes(t);
|
|
2229
2296
|
}
|
|
2230
|
-
function
|
|
2297
|
+
function kc(t, n) {
|
|
2231
2298
|
const l = /* @__PURE__ */ new Set();
|
|
2232
2299
|
return rt(t, ({ path: c, value: s, depth: a }) => {
|
|
2233
2300
|
a <= n && He(s) && pt(s) > 0 && l.add(c);
|
|
2234
2301
|
}), l;
|
|
2235
2302
|
}
|
|
2236
|
-
function
|
|
2303
|
+
function wc(t) {
|
|
2237
2304
|
const n = [];
|
|
2238
2305
|
return rt(t, ({ path: l, value: c }) => {
|
|
2239
2306
|
He(c) && pt(c) > 0 && n.push(l);
|
|
2240
2307
|
}), n;
|
|
2241
2308
|
}
|
|
2242
|
-
const
|
|
2243
|
-
function
|
|
2309
|
+
const Sc = { matched: /* @__PURE__ */ new Set(), visible: /* @__PURE__ */ new Set(), count: 0, active: !1 };
|
|
2310
|
+
function Cc(t, n) {
|
|
2244
2311
|
const l = n.trim().toLowerCase();
|
|
2245
|
-
if (!l) return
|
|
2312
|
+
if (!l) return Sc;
|
|
2246
2313
|
const c = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
2247
2314
|
return rt(t, ({ path: a, key: r, value: d }) => {
|
|
2248
2315
|
if (r.toLowerCase().includes(l) || !He(d) && cn(d).toLowerCase().includes(l)) {
|
|
@@ -2254,7 +2321,7 @@ function Sc(t, n) {
|
|
|
2254
2321
|
}), { matched: c, visible: s, count: c.size, active: !0 };
|
|
2255
2322
|
}
|
|
2256
2323
|
const fn = /("(?:\\u[a-fA-F0-9]{4}|\\[^u]|[^\\"])*"(?:\s*:)?|\btrue\b|\bfalse\b|\bnull\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g;
|
|
2257
|
-
function
|
|
2324
|
+
function Lc(t) {
|
|
2258
2325
|
const n = [];
|
|
2259
2326
|
let l = 0;
|
|
2260
2327
|
fn.lastIndex = 0;
|
|
@@ -2267,7 +2334,7 @@ function Cc(t) {
|
|
|
2267
2334
|
}
|
|
2268
2335
|
return l < t.length && n.push({ text: t.slice(l), cls: "plain" }), n;
|
|
2269
2336
|
}
|
|
2270
|
-
function
|
|
2337
|
+
function Ac(t, n) {
|
|
2271
2338
|
const l = n.trim();
|
|
2272
2339
|
if (!l) return [{ text: t, hit: !1 }];
|
|
2273
2340
|
const c = t.toLowerCase(), s = l.toLowerCase(), a = [];
|
|
@@ -2282,7 +2349,7 @@ function Lc(t, n) {
|
|
|
2282
2349
|
}
|
|
2283
2350
|
return a.length > 0 ? a : [{ text: t, hit: !1 }];
|
|
2284
2351
|
}
|
|
2285
|
-
function
|
|
2352
|
+
function Fc(t, n) {
|
|
2286
2353
|
const l = n.trim().toLowerCase();
|
|
2287
2354
|
if (!l) return 0;
|
|
2288
2355
|
const c = t.toLowerCase();
|
|
@@ -2291,7 +2358,7 @@ function Ac(t, n) {
|
|
|
2291
2358
|
s += 1, a = c.indexOf(l, a + l.length);
|
|
2292
2359
|
return s;
|
|
2293
2360
|
}
|
|
2294
|
-
const _n = 320,
|
|
2361
|
+
const _n = 320, Bc = 12e4, Ec = {
|
|
2295
2362
|
string: "str",
|
|
2296
2363
|
number: "num",
|
|
2297
2364
|
boolean: "bool",
|
|
@@ -2301,11 +2368,11 @@ const _n = 320, Fc = 12e4, Bc = {
|
|
|
2301
2368
|
array: "plain"
|
|
2302
2369
|
};
|
|
2303
2370
|
function St({ text: t, term: n }) {
|
|
2304
|
-
return n.trim() ? /* @__PURE__ */ e(_e, { children:
|
|
2371
|
+
return n.trim() ? /* @__PURE__ */ e(_e, { children: Ac(t, n).map(
|
|
2305
2372
|
(l, c) => l.hit ? /* @__PURE__ */ e("mark", { className: "select-json__hit", children: l.text }, c) : /* @__PURE__ */ e(Yt, { children: l.text }, c)
|
|
2306
2373
|
) }) : /* @__PURE__ */ e(_e, { children: t });
|
|
2307
2374
|
}
|
|
2308
|
-
function
|
|
2375
|
+
function Ic(t = 1400) {
|
|
2309
2376
|
const [n, l] = D(null), c = q(void 0);
|
|
2310
2377
|
le(() => () => window.clearTimeout(c.current), []);
|
|
2311
2378
|
const s = Te(
|
|
@@ -2317,15 +2384,15 @@ function Ec(t = 1400) {
|
|
|
2317
2384
|
);
|
|
2318
2385
|
return [n, s];
|
|
2319
2386
|
}
|
|
2320
|
-
function
|
|
2321
|
-
const c =
|
|
2322
|
-
return /* @__PURE__ */ m("span", { className: `select-json__v select-json__v--${
|
|
2387
|
+
function dl({ value: t, term: n, forceFull: l }) {
|
|
2388
|
+
const c = ol(t), s = cn(t), a = !l && s.length > _n, r = a ? `${s.slice(0, _n)}…` : s, d = c === "string";
|
|
2389
|
+
return /* @__PURE__ */ m("span", { className: `select-json__v select-json__v--${Ec[c]}`, title: a ? s : void 0, children: [
|
|
2323
2390
|
d && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' }),
|
|
2324
2391
|
/* @__PURE__ */ e(St, { text: r, term: n }),
|
|
2325
2392
|
d && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' })
|
|
2326
2393
|
] });
|
|
2327
2394
|
}
|
|
2328
|
-
function
|
|
2395
|
+
function ul({
|
|
2329
2396
|
value: t,
|
|
2330
2397
|
path: n,
|
|
2331
2398
|
depth: l,
|
|
@@ -2333,10 +2400,10 @@ function dl({
|
|
|
2333
2400
|
ctx: s
|
|
2334
2401
|
}) {
|
|
2335
2402
|
const a = s.result.active, r = Array.isArray(t);
|
|
2336
|
-
return /* @__PURE__ */ e(_e, { children:
|
|
2337
|
-
const i =
|
|
2403
|
+
return /* @__PURE__ */ e(_e, { children: rl(t).map(([d, o]) => {
|
|
2404
|
+
const i = al(n, d);
|
|
2338
2405
|
if (a && !s.result.visible.has(i)) return null;
|
|
2339
|
-
const h =
|
|
2406
|
+
const h = $c(o, c), u = He(o) && !h, f = u && pt(o) > 0, g = a ? !0 : s.expanded.has(i), v = s.result.matched.has(i), y = `row:${i}`;
|
|
2340
2407
|
return /* @__PURE__ */ m(Yt, { children: [
|
|
2341
2408
|
/* @__PURE__ */ m(
|
|
2342
2409
|
"div",
|
|
@@ -2362,7 +2429,7 @@ function dl({
|
|
|
2362
2429
|
// The summary doubles as a second hit-target for the caret; `tabIndex={-1}`
|
|
2363
2430
|
// keeps it out of the tab order (the caret is already the focusable control).
|
|
2364
2431
|
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(i), children: mn(o) })
|
|
2365
|
-
) : u ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children: mn(o) }) : /* @__PURE__ */ e(
|
|
2432
|
+
) : u ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children: mn(o) }) : /* @__PURE__ */ e(dl, { value: o, term: s.search, forceFull: v })
|
|
2366
2433
|
] }),
|
|
2367
2434
|
/* @__PURE__ */ e(
|
|
2368
2435
|
"button",
|
|
@@ -2371,31 +2438,31 @@ function dl({
|
|
|
2371
2438
|
className: "select-json__copy",
|
|
2372
2439
|
"aria-label": `Copiar ${d}`,
|
|
2373
2440
|
title: s.copied === y ? "Copiado!" : "Copiar valor",
|
|
2374
|
-
onClick: () => s.copy(y, u ?
|
|
2441
|
+
onClick: () => s.copy(y, u ? il(o) : cn(o)),
|
|
2375
2442
|
children: s.copied === y ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(Qt, {})
|
|
2376
2443
|
}
|
|
2377
2444
|
)
|
|
2378
2445
|
]
|
|
2379
2446
|
}
|
|
2380
2447
|
),
|
|
2381
|
-
f && g && /* @__PURE__ */ e(
|
|
2448
|
+
f && g && /* @__PURE__ */ e(ul, { value: o, path: i, depth: l + 1, ancestors: [...c, o], ctx: s })
|
|
2382
2449
|
] }, i);
|
|
2383
2450
|
}) });
|
|
2384
2451
|
}
|
|
2385
|
-
function
|
|
2386
|
-
const l = xe(() => t.length >
|
|
2452
|
+
function Pc({ text: t, term: n }) {
|
|
2453
|
+
const l = xe(() => t.length > Bc ? null : Lc(t), [t]);
|
|
2387
2454
|
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 }) });
|
|
2388
2455
|
}
|
|
2389
|
-
const
|
|
2390
|
-
const [u, f] = D(s), [g, v] = D("tree"), [y, x] = D(""), [$, _] = D(/* @__PURE__ */ new Set()), [p, b] =
|
|
2391
|
-
() => typeof n == "string" && k === n ? n :
|
|
2456
|
+
const c1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: r = !0, emptyLabel: d = "Sem dados", className: o, ...i }, h) {
|
|
2457
|
+
const [u, f] = D(s), [g, v] = D("tree"), [y, x] = D(""), [$, _] = D(/* @__PURE__ */ new Set()), [p, b] = Ic(), S = q(null), k = xe(() => Nc(n), [n]), M = Mc(k), w = xe(
|
|
2458
|
+
() => typeof n == "string" && k === n ? n : il(k),
|
|
2392
2459
|
[n, k]
|
|
2393
2460
|
), N = xe(() => rt(k, () => {
|
|
2394
|
-
}).truncated, [k]), C = g === "tree" && !N, L = xe(() => N ? [] :
|
|
2461
|
+
}).truncated, [k]), C = g === "tree" && !N, L = xe(() => N ? [] : wc(k), [k, N]);
|
|
2395
2462
|
le(() => {
|
|
2396
|
-
_(N ? /* @__PURE__ */ new Set() :
|
|
2463
|
+
_(N ? /* @__PURE__ */ new Set() : kc(k, a)), x("");
|
|
2397
2464
|
}, [k, a, N]);
|
|
2398
|
-
const B = xe(() =>
|
|
2465
|
+
const B = xe(() => Cc(k, C ? y : ""), [k, y, C]), A = y.trim().length > 0, F = C ? B.count : Fc(w, y);
|
|
2399
2466
|
le(() => {
|
|
2400
2467
|
var Z, G;
|
|
2401
2468
|
!u || !A || (G = (Z = S.current) == null ? void 0 : Z.querySelector(".select-json__hit")) == null || G.scrollIntoView({ block: "nearest" });
|
|
@@ -2409,7 +2476,7 @@ const l1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2409
2476
|
return /* @__PURE__ */ m("div", { ref: h, ...i, className: `select-json${o ? " " + o : ""}`, children: [
|
|
2410
2477
|
/* @__PURE__ */ m("div", { className: "select-json__head", children: [
|
|
2411
2478
|
/* @__PURE__ */ e(Xe, { as: "h2", variant: "headingSm", children: l }),
|
|
2412
|
-
/* @__PURE__ */ e(
|
|
2479
|
+
/* @__PURE__ */ e(bc, { open: W, onToggle: () => f((Z) => !Z), openLabel: "Ocultar", disabled: M, children: M ? d : "Mostrar" })
|
|
2413
2480
|
] }),
|
|
2414
2481
|
W && /* @__PURE__ */ m("div", { className: "select-json__body", children: [
|
|
2415
2482
|
/* @__PURE__ */ m("div", { className: "select-json__toolbar", children: [
|
|
@@ -2441,7 +2508,7 @@ const l1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2441
2508
|
/* @__PURE__ */ e(
|
|
2442
2509
|
ge,
|
|
2443
2510
|
{
|
|
2444
|
-
icon: /* @__PURE__ */ e(
|
|
2511
|
+
icon: /* @__PURE__ */ e(jl, {}),
|
|
2445
2512
|
label: N ? "Árvore indisponível: JSON muito grande" : g === "raw" ? "Ver árvore" : "Ver JSON bruto",
|
|
2446
2513
|
size: "sm",
|
|
2447
2514
|
active: g === "raw" || N,
|
|
@@ -2452,7 +2519,7 @@ const l1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2452
2519
|
/* @__PURE__ */ e(
|
|
2453
2520
|
ge,
|
|
2454
2521
|
{
|
|
2455
|
-
icon: p === "all" ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(
|
|
2522
|
+
icon: p === "all" ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(Xl, {}),
|
|
2456
2523
|
label: p === "all" ? "Copiado!" : "Copiar JSON",
|
|
2457
2524
|
size: "sm",
|
|
2458
2525
|
active: p === "all",
|
|
@@ -2464,21 +2531,21 @@ const l1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2464
2531
|
"Nenhuma chave ou valor corresponde a “",
|
|
2465
2532
|
y.trim(),
|
|
2466
2533
|
"”."
|
|
2467
|
-
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: He(k) ? /* @__PURE__ */ e(
|
|
2534
|
+
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: He(k) ? /* @__PURE__ */ e(ul, { value: k, path: "", depth: 0, ancestors: [k], ctx: O }) : /* @__PURE__ */ m("div", { className: "select-json__row", style: { "--json-depth": 0 }, children: [
|
|
2468
2535
|
/* @__PURE__ */ e("span", { className: "select-json__caret select-json__caret--empty", "aria-hidden": "true" }),
|
|
2469
|
-
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(
|
|
2470
|
-
] }) }) : /* @__PURE__ */ e(
|
|
2536
|
+
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(dl, { value: k, term: y, forceFull: !0 }) })
|
|
2537
|
+
] }) }) : /* @__PURE__ */ e(Pc, { text: w, term: y }) })
|
|
2471
2538
|
] })
|
|
2472
2539
|
] });
|
|
2473
|
-
}),
|
|
2540
|
+
}), Rc = {
|
|
2474
2541
|
success: "var(--select-success-text)",
|
|
2475
2542
|
critical: "var(--select-danger-text)",
|
|
2476
2543
|
warning: "var(--select-warning-text)",
|
|
2477
2544
|
info: "var(--select-info-text)",
|
|
2478
2545
|
default: "var(--select-text-secondary)"
|
|
2479
|
-
},
|
|
2546
|
+
}, s1 = R(function({ items: n, className: l, ...c }, s) {
|
|
2480
2547
|
var d;
|
|
2481
|
-
const a = n.length ? ((d = n[0]) == null ? void 0 : d.tone) ?? "default" : "default", r = { "--tl-final":
|
|
2548
|
+
const a = n.length ? ((d = n[0]) == null ? void 0 : d.tone) ?? "default" : "default", r = { "--tl-final": Rc[a] };
|
|
2482
2549
|
return /* @__PURE__ */ e("ul", { ref: s, ...c, className: `select-timeline${l ? " " + l : ""}`, style: r, children: n.map((o, i) => /* @__PURE__ */ m("li", { className: "select-timeline__item", children: [
|
|
2483
2550
|
/* @__PURE__ */ e("span", { className: `select-timeline__dot${i === 0 ? " select-timeline__dot--final" : ""}`, "aria-hidden": "true" }),
|
|
2484
2551
|
/* @__PURE__ */ m("div", { className: "select-timeline__body", children: [
|
|
@@ -2490,20 +2557,20 @@ const l1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2490
2557
|
o.content != null && /* @__PURE__ */ e("div", { className: "select-timeline__content", children: o.content })
|
|
2491
2558
|
] })
|
|
2492
2559
|
] }, i)) });
|
|
2493
|
-
}),
|
|
2560
|
+
}), Dc = R(function({ children: n, onClick: l, disabled: c = !1, tone: s = "default", className: a, ...r }, d) {
|
|
2494
2561
|
return /* @__PURE__ */ e("button", { ref: d, ...r, type: "button", className: `select-linkbtn${s === "critical" ? " select-linkbtn--critical" : ""}${a ? " " + a : ""}`, onClick: l, disabled: c, children: n });
|
|
2495
|
-
}),
|
|
2562
|
+
}), a1 = R(function({ children: n, className: l, ...c }, s) {
|
|
2496
2563
|
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 });
|
|
2497
|
-
}),
|
|
2564
|
+
}), Tc = R(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: r, ...d }, o) {
|
|
2498
2565
|
var h, u;
|
|
2499
2566
|
const i = ((u = (h = n == null ? void 0 : n.trim()) == null ? void 0 : h[0]) == null ? void 0 : u.toUpperCase()) ?? "?";
|
|
2500
2567
|
return /* @__PURE__ */ e("span", { ref: o, ...d, className: `select-avatar${s ? " select-avatar--dashed" : ""}${a ? " select-avatar--round" : ""}${r ? " " + r : ""}`, "aria-hidden": "true", children: l ? /* @__PURE__ */ e("img", { src: l, alt: "", className: "select-avatar__img" }) : c ? /* @__PURE__ */ e("span", { className: "select-avatar__icon", children: c }) : /* @__PURE__ */ e("span", { className: "select-avatar__initial", children: i }) });
|
|
2501
2568
|
});
|
|
2502
|
-
function
|
|
2569
|
+
function hl() {
|
|
2503
2570
|
var t;
|
|
2504
2571
|
return typeof window < "u" && !!((t = window.matchMedia) != null && t.call(window, "(prefers-reduced-motion: reduce)").matches);
|
|
2505
2572
|
}
|
|
2506
|
-
const
|
|
2573
|
+
const pl = () => typeof IntersectionObserver < "u";
|
|
2507
2574
|
function Et(t = {}) {
|
|
2508
2575
|
const n = q(null), l = q(t);
|
|
2509
2576
|
return l.current = t, Be(() => {
|
|
@@ -2521,7 +2588,7 @@ function Et(t = {}) {
|
|
|
2521
2588
|
once: f = !0,
|
|
2522
2589
|
enabled: g = !0
|
|
2523
2590
|
} = l.current;
|
|
2524
|
-
if (!g ||
|
|
2591
|
+
if (!g || hl()) return;
|
|
2525
2592
|
const v = s ? Array.from(c.querySelectorAll(s)) : [], y = v.length ? v : [c], x = { opacity: 0, y: a, ...r !== 1 ? { scale: r } : {} };
|
|
2526
2593
|
let $;
|
|
2527
2594
|
const _ = () => {
|
|
@@ -2536,7 +2603,7 @@ function Et(t = {}) {
|
|
|
2536
2603
|
clearProps: "transform"
|
|
2537
2604
|
});
|
|
2538
2605
|
};
|
|
2539
|
-
if (!u || !
|
|
2606
|
+
if (!u || !pl())
|
|
2540
2607
|
return _(), () => $ == null ? void 0 : $.kill();
|
|
2541
2608
|
Me.set(y, x);
|
|
2542
2609
|
const p = new IntersectionObserver(
|
|
@@ -2551,7 +2618,7 @@ function Et(t = {}) {
|
|
|
2551
2618
|
};
|
|
2552
2619
|
}, []), n;
|
|
2553
2620
|
}
|
|
2554
|
-
function
|
|
2621
|
+
function Wc(t) {
|
|
2555
2622
|
const n = q(null), l = q(t);
|
|
2556
2623
|
return l.current = t, Be(() => {
|
|
2557
2624
|
const c = n.current;
|
|
@@ -2567,7 +2634,7 @@ function Tc(t) {
|
|
|
2567
2634
|
enabled: u = !0
|
|
2568
2635
|
} = l.current;
|
|
2569
2636
|
if (!u) return;
|
|
2570
|
-
if (
|
|
2637
|
+
if (hl()) {
|
|
2571
2638
|
c.textContent = o(s);
|
|
2572
2639
|
return;
|
|
2573
2640
|
}
|
|
@@ -2583,7 +2650,7 @@ function Tc(t) {
|
|
|
2583
2650
|
}
|
|
2584
2651
|
});
|
|
2585
2652
|
};
|
|
2586
|
-
if (!i || !
|
|
2653
|
+
if (!i || !pl())
|
|
2587
2654
|
return v(), () => g == null ? void 0 : g.kill();
|
|
2588
2655
|
c.textContent = o(a);
|
|
2589
2656
|
const y = new IntersectionObserver(
|
|
@@ -2598,11 +2665,11 @@ function Tc(t) {
|
|
|
2598
2665
|
};
|
|
2599
2666
|
}, [t.value]), n;
|
|
2600
2667
|
}
|
|
2601
|
-
function
|
|
2668
|
+
function o1({ children: t, className: n, ...l }) {
|
|
2602
2669
|
const c = Et({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
2603
2670
|
return /* @__PURE__ */ e("div", { ...l, className: `select-optionlist${n ? " " + n : ""}`, ref: c, children: t });
|
|
2604
2671
|
}
|
|
2605
|
-
function
|
|
2672
|
+
function r1({
|
|
2606
2673
|
title: t,
|
|
2607
2674
|
subtitle: n,
|
|
2608
2675
|
leading: l,
|
|
@@ -2620,7 +2687,7 @@ function o1({
|
|
|
2620
2687
|
] }), i = `select-optionrow${a ? " select-optionrow--muted" : ""}`;
|
|
2621
2688
|
return r ? /* @__PURE__ */ e("button", { type: "button", className: i, onClick: s, children: o }) : /* @__PURE__ */ e("div", { className: i, children: o });
|
|
2622
2689
|
}
|
|
2623
|
-
const
|
|
2690
|
+
const i1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...r }, d) {
|
|
2624
2691
|
return /* @__PURE__ */ m("span", { ref: d, ...r, className: `select-identity${a ? " " + a : ""}`, children: [
|
|
2625
2692
|
/* @__PURE__ */ m("span", { className: "select-identity__text", children: [
|
|
2626
2693
|
s,
|
|
@@ -2629,7 +2696,7 @@ const r1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
2629
2696
|
] }),
|
|
2630
2697
|
l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
|
|
2631
2698
|
] });
|
|
2632
|
-
}),
|
|
2699
|
+
}), d1 = R(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: r = !1, className: d, ...o }, i) {
|
|
2633
2700
|
const h = q([]), u = Array.from({ length: c }, (_, p) => n[p] ?? ""), f = (_) => {
|
|
2634
2701
|
var p;
|
|
2635
2702
|
return (p = h.current[_]) == null ? void 0 : p.focus();
|
|
@@ -2686,7 +2753,7 @@ const r1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
2686
2753
|
p
|
|
2687
2754
|
)) });
|
|
2688
2755
|
});
|
|
2689
|
-
function
|
|
2756
|
+
function u1({
|
|
2690
2757
|
children: t = "Voltar",
|
|
2691
2758
|
onClick: n,
|
|
2692
2759
|
href: l
|
|
@@ -2697,7 +2764,7 @@ function d1({
|
|
|
2697
2764
|
] });
|
|
2698
2765
|
return l ? /* @__PURE__ */ e("a", { className: "select-backlink", href: l, children: c }) : /* @__PURE__ */ e("button", { type: "button", className: "select-backlink", onClick: n, children: c });
|
|
2699
2766
|
}
|
|
2700
|
-
const
|
|
2767
|
+
const h1 = R(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, r) {
|
|
2701
2768
|
const [d, o] = D(l);
|
|
2702
2769
|
le(() => {
|
|
2703
2770
|
if (d <= 0) return;
|
|
@@ -2715,23 +2782,23 @@ const u1 = R(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar c
|
|
|
2715
2782
|
{ label: "Forte", cls: "is-3" },
|
|
2716
2783
|
{ label: "Excelente", cls: "is-4" }
|
|
2717
2784
|
];
|
|
2718
|
-
function
|
|
2785
|
+
function Oc(t) {
|
|
2719
2786
|
if (!t) return 0;
|
|
2720
2787
|
let n = 0;
|
|
2721
2788
|
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);
|
|
2722
2789
|
}
|
|
2723
|
-
const
|
|
2724
|
-
const a =
|
|
2790
|
+
const p1 = R(function({ value: n, className: l, ...c }, s) {
|
|
2791
|
+
const a = Oc(n), r = vn[a] ?? vn[0];
|
|
2725
2792
|
return /* @__PURE__ */ m("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
|
|
2726
2793
|
/* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${r.cls}`, children: [0, 1, 2, 3].map((d) => /* @__PURE__ */ e("span", { className: `select-strength__bar${d < a ? " is-on" : ""}` }, d)) }),
|
|
2727
2794
|
n && /* @__PURE__ */ e("span", { className: "select-strength__label", children: r.label })
|
|
2728
2795
|
] });
|
|
2729
|
-
}),
|
|
2796
|
+
}), Hc = R(function({ label: n, mark: l, className: c, ...s }, a) {
|
|
2730
2797
|
return /* @__PURE__ */ m("div", { ref: a, ...s, className: `select-loader${c ? " " + c : ""}`, role: "status", "aria-live": "polite", children: [
|
|
2731
2798
|
l != null ? /* @__PURE__ */ e("span", { className: "select-loader__mark", "aria-hidden": "true", children: l }) : /* @__PURE__ */ e("span", { className: "select-loader__spinner", "aria-hidden": "true" }),
|
|
2732
2799
|
n && /* @__PURE__ */ e("span", { className: "select-loader__label", children: n })
|
|
2733
2800
|
] });
|
|
2734
|
-
}),
|
|
2801
|
+
}), jc = R(function({ title: n, subtitle: l, primaryAction: c, secondaryActions: s, headerActions: a, backAction: r, children: d, className: o, ...i }, h) {
|
|
2735
2802
|
const u = !!c || s && s.length > 0 || !!a, f = r || n || l || u;
|
|
2736
2803
|
return /* @__PURE__ */ m("div", { ref: h, ...i, className: `select select-page${o ? " " + o : ""}`, children: [
|
|
2737
2804
|
f && /* @__PURE__ */ m("div", { className: "select-page__header", children: [
|
|
@@ -2785,48 +2852,48 @@ const h1 = R(function({ value: n, className: l, ...c }, s) {
|
|
|
2785
2852
|
d
|
|
2786
2853
|
] });
|
|
2787
2854
|
});
|
|
2788
|
-
function
|
|
2855
|
+
function Vc({ children: t }) {
|
|
2789
2856
|
return /* @__PURE__ */ e("div", { className: "select-formlayout", children: t });
|
|
2790
2857
|
}
|
|
2791
|
-
function
|
|
2858
|
+
function Zc({ children: t, columns: n = 2 }) {
|
|
2792
2859
|
return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
|
|
2793
2860
|
}
|
|
2794
|
-
const
|
|
2861
|
+
const m1 = Object.assign(Vc, { Group: Zc });
|
|
2795
2862
|
function gn({ lines: t = 3 }) {
|
|
2796
2863
|
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)) });
|
|
2797
2864
|
}
|
|
2798
|
-
function
|
|
2865
|
+
function Gc({ size: t = "medium" }) {
|
|
2799
2866
|
return /* @__PURE__ */ e("div", { className: `select-skeleton select-skel-display select-skel-display--${t}` });
|
|
2800
2867
|
}
|
|
2801
|
-
function
|
|
2868
|
+
function Uc({ size: t = "medium" }) {
|
|
2802
2869
|
return /* @__PURE__ */ e("div", { className: `select-skeleton select-skel-thumb select-skel-thumb--${t}` });
|
|
2803
2870
|
}
|
|
2804
|
-
function
|
|
2871
|
+
function qc({ height: t = 240 }) {
|
|
2805
2872
|
return /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-block", style: { height: t } });
|
|
2806
2873
|
}
|
|
2807
|
-
const
|
|
2874
|
+
const f1 = Object.assign(
|
|
2808
2875
|
function({ lines: n }) {
|
|
2809
2876
|
return /* @__PURE__ */ e(gn, { lines: n });
|
|
2810
2877
|
},
|
|
2811
|
-
{ Body: gn, Display:
|
|
2812
|
-
),
|
|
2813
|
-
function
|
|
2878
|
+
{ Body: gn, Display: Gc, Thumbnail: Uc, Block: qc }
|
|
2879
|
+
), Yc = { sm: "1rem", md: "1.25rem", lg: "1.5rem" };
|
|
2880
|
+
function _1({
|
|
2814
2881
|
source: t,
|
|
2815
2882
|
tone: n = "inherit",
|
|
2816
2883
|
size: l = "md"
|
|
2817
2884
|
}) {
|
|
2818
2885
|
const c = ["select-icon", n !== "inherit" && n !== "base" ? `select-icon--${n}` : ""].filter(Boolean).join(" ");
|
|
2819
|
-
return /* @__PURE__ */ e("span", { className: c, style: { "--select-icon-size":
|
|
2886
|
+
return /* @__PURE__ */ e("span", { className: c, style: { "--select-icon-size": Yc[l] }, "aria-hidden": "true", children: /* @__PURE__ */ e(t, {}) });
|
|
2820
2887
|
}
|
|
2821
|
-
const
|
|
2822
|
-
const d = l === "warning" || l === "critical" ? /* @__PURE__ */ e(
|
|
2888
|
+
const v1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, r) {
|
|
2889
|
+
const d = l === "warning" || l === "critical" ? /* @__PURE__ */ e(Hl, {}) : /* @__PURE__ */ e(en, {});
|
|
2823
2890
|
return /* @__PURE__ */ m("div", { ref: r, ...a, className: `select-note select-note--${l}${s ? " " + s : ""}`, children: [
|
|
2824
2891
|
!c && /* @__PURE__ */ e("span", { className: "select-note__icon", children: d }),
|
|
2825
2892
|
/* @__PURE__ */ e("span", { className: "select-note__body", children: n })
|
|
2826
2893
|
] });
|
|
2827
|
-
}),
|
|
2894
|
+
}), g1 = R(function({ children: n, className: l, ...c }, s) {
|
|
2828
2895
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-settinglist${l ? " " + l : ""}`, children: n });
|
|
2829
|
-
}),
|
|
2896
|
+
}), b1 = R(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: r, className: d, ...o }, i) {
|
|
2830
2897
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-setting${d ? " " + d : ""}`, children: [
|
|
2831
2898
|
n && /* @__PURE__ */ e("div", { className: "select-setting__control", children: n }),
|
|
2832
2899
|
/* @__PURE__ */ m("div", { className: "select-setting__main", children: [
|
|
@@ -2844,7 +2911,7 @@ const _1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2844
2911
|
))
|
|
2845
2912
|
] })
|
|
2846
2913
|
] });
|
|
2847
|
-
}),
|
|
2914
|
+
}), x1 = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: r = "default", flush: d = !1, className: o, ...i }, h) {
|
|
2848
2915
|
return /* @__PURE__ */ m("div", { ref: h, ...i, className: `select-panel${r === "highlight" ? " select-panel--highlight" : ""}${o ? " " + o : ""}`, children: [
|
|
2849
2916
|
(n || c) && /* @__PURE__ */ m("div", { className: "select-panel__header", children: [
|
|
2850
2917
|
/* @__PURE__ */ m("div", { className: "select-panel__heading", children: [
|
|
@@ -2856,7 +2923,7 @@ const _1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2856
2923
|
a && /* @__PURE__ */ e("div", { className: `select-panel__body${d ? " select-panel__body--flush" : ""}`, children: a }),
|
|
2857
2924
|
s && /* @__PURE__ */ e("div", { className: "select-panel__footer", children: s })
|
|
2858
2925
|
] });
|
|
2859
|
-
}),
|
|
2926
|
+
}), y1 = R(function({ title: n, description: l, action: c, collapsible: s = !1, defaultOpen: a = !0, children: r, className: d, ...o }, i) {
|
|
2860
2927
|
const [h, u] = D(a);
|
|
2861
2928
|
return s ? /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-section select-section--collapsible${h ? " is-open" : ""}${d ? " " + d : ""}`, children: [
|
|
2862
2929
|
/* @__PURE__ */ m("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": h, onClick: () => u((f) => !f), children: [
|
|
@@ -2875,7 +2942,7 @@ const _1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2875
2942
|
/* @__PURE__ */ e("div", { className: "select-section__body", children: r })
|
|
2876
2943
|
] });
|
|
2877
2944
|
});
|
|
2878
|
-
function
|
|
2945
|
+
function N1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
2879
2946
|
const r = q(null), [d, o] = D({ left: 0, width: 0 });
|
|
2880
2947
|
Be(() => {
|
|
2881
2948
|
const h = r.current;
|
|
@@ -2919,16 +2986,16 @@ function y1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
|
2919
2986
|
c != null && /* @__PURE__ */ e("div", { className: "select-tabs__end", children: c })
|
|
2920
2987
|
] });
|
|
2921
2988
|
}
|
|
2922
|
-
function
|
|
2989
|
+
function ml(t, n) {
|
|
2923
2990
|
var l;
|
|
2924
|
-
return ((l = t.children) == null ? void 0 : l.some((c) => c.id === n ||
|
|
2991
|
+
return ((l = t.children) == null ? void 0 : l.some((c) => c.id === n || ml(c, n))) ?? !1;
|
|
2925
2992
|
}
|
|
2926
|
-
function
|
|
2993
|
+
function zc({
|
|
2927
2994
|
item: t,
|
|
2928
2995
|
active: n,
|
|
2929
2996
|
onSelect: l
|
|
2930
2997
|
}) {
|
|
2931
|
-
const c =
|
|
2998
|
+
const c = ml(t, n), [s, a] = D(c);
|
|
2932
2999
|
le(() => {
|
|
2933
3000
|
a(c);
|
|
2934
3001
|
}, [c]);
|
|
@@ -2975,13 +3042,13 @@ function Yc({
|
|
|
2975
3042
|
] }) })
|
|
2976
3043
|
] });
|
|
2977
3044
|
}
|
|
2978
|
-
const
|
|
3045
|
+
const M1 = R(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...r }, d) {
|
|
2979
3046
|
return /* @__PURE__ */ m("nav", { ref: d, ...r, className: `select-sidenav${a ? " " + a : ""}`, children: [
|
|
2980
3047
|
s && /* @__PURE__ */ e("div", { className: "select-sidenav__header", children: s }),
|
|
2981
3048
|
n.map((o, i) => /* @__PURE__ */ m("div", { className: "select-sidenav__section", children: [
|
|
2982
3049
|
o.label && /* @__PURE__ */ e("div", { className: "select-sidenav__sectionlabel", children: o.label }),
|
|
2983
3050
|
o.items.map(
|
|
2984
|
-
(h) => h.children ? /* @__PURE__ */ e(
|
|
3051
|
+
(h) => h.children ? /* @__PURE__ */ e(zc, { item: h, active: l, onSelect: c }, h.id) : /* @__PURE__ */ m(
|
|
2985
3052
|
"button",
|
|
2986
3053
|
{
|
|
2987
3054
|
type: "button",
|
|
@@ -2997,7 +3064,7 @@ const N1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
2997
3064
|
)
|
|
2998
3065
|
] }, i))
|
|
2999
3066
|
] });
|
|
3000
|
-
}),
|
|
3067
|
+
}), fl = R(function({ value: n, onChange: l, placeholder: c = "Buscar…", shortcut: s, className: a, ...r }, d) {
|
|
3001
3068
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-search${a ? " " + a : ""}`, children: [
|
|
3002
3069
|
/* @__PURE__ */ e("span", { className: "select-search__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Jt, {}) }),
|
|
3003
3070
|
/* @__PURE__ */ e(
|
|
@@ -3012,8 +3079,8 @@ const N1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3012
3079
|
),
|
|
3013
3080
|
s && /* @__PURE__ */ e("kbd", { className: "select-search__kbd", children: s })
|
|
3014
3081
|
] });
|
|
3015
|
-
}),
|
|
3016
|
-
const u =
|
|
3082
|
+
}), Xc = R(function({ columns: n, children: l, empty: c, footer: s, title: a, action: r, filters: d, className: o, ...i }, h) {
|
|
3083
|
+
const u = wl.count(l) === 0, f = u && !!c, g = a != null || r != null || d != null, v = f && !g, y = Et({ selector: ".select-table__row", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 }), x = n.length ? n.map(($) => $.width ?? "minmax(var(--select-table-col-min, 6.5rem), 1fr)").join(" ") : "1fr";
|
|
3017
3084
|
return /* @__PURE__ */ m("div", { ref: h, ...i, className: `select-table${v ? " select-table--empty" : ""}${o ? " " + o : ""}`, style: { "--select-table-cols": x }, children: [
|
|
3018
3085
|
g && /* @__PURE__ */ m("div", { className: "select-table__title", children: [
|
|
3019
3086
|
a != null && /* @__PURE__ */ e("h3", { className: "select-table__titletext", children: a }),
|
|
@@ -3046,9 +3113,9 @@ const N1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3046
3113
|
] }) }),
|
|
3047
3114
|
s && /* @__PURE__ */ e("div", { className: "select-table__footer", children: s })
|
|
3048
3115
|
] });
|
|
3049
|
-
}),
|
|
3116
|
+
}), $1 = R(function({ name: n, secondary: l, src: c, className: s, ...a }, r) {
|
|
3050
3117
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-usercell${s ? " " + s : ""}`, children: [
|
|
3051
|
-
/* @__PURE__ */ e(
|
|
3118
|
+
/* @__PURE__ */ e(Tc, { name: typeof n == "string" ? n : void 0, src: c }),
|
|
3052
3119
|
/* @__PURE__ */ m("span", { className: "select-usercell__text", children: [
|
|
3053
3120
|
/* @__PURE__ */ e("span", { className: "select-usercell__name", children: n }),
|
|
3054
3121
|
l && /* @__PURE__ */ e("span", { className: "select-usercell__secondary", children: l })
|
|
@@ -3060,36 +3127,36 @@ function bn({ children: t, onClick: n }) {
|
|
|
3060
3127
|
}
|
|
3061
3128
|
const xn = R(function({ children: n, align: l = "start", className: c, ...s }, a) {
|
|
3062
3129
|
return /* @__PURE__ */ e("div", { ref: a, ...s, role: "cell", className: `select-table__td select-table__cell--${l}${c ? " " + c : ""}`, children: n });
|
|
3063
|
-
}),
|
|
3130
|
+
}), Kc = R(function({ icon: n, title: l, subtitle: c, action: s, className: a, ...r }, d) {
|
|
3064
3131
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-table-empty${a ? " " + a : ""}`, children: [
|
|
3065
3132
|
n && /* @__PURE__ */ e("span", { className: "select-table-empty__icon", children: n }),
|
|
3066
3133
|
/* @__PURE__ */ e("p", { className: "select-table-empty__title", children: l }),
|
|
3067
3134
|
c && /* @__PURE__ */ e("p", { className: "select-table-empty__subtitle", children: c }),
|
|
3068
3135
|
s && /* @__PURE__ */ e("div", { className: "select-table-empty__action", children: s })
|
|
3069
3136
|
] });
|
|
3070
|
-
}),
|
|
3137
|
+
}), Jc = R(function({ children: n, className: l, ...c }, s) {
|
|
3071
3138
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-menu${l ? " " + l : ""}`, role: "menu", children: n });
|
|
3072
|
-
}),
|
|
3139
|
+
}), Qc = R(function({ children: n, icon: l, trailing: c, onClick: s, active: a = !1, tone: r = "default", className: d, ...o }, i) {
|
|
3073
3140
|
return /* @__PURE__ */ m("button", { ref: i, ...o, type: "button", role: "menuitem", className: `select-menu__item select-menu__item--${r}${a ? " is-active" : ""}${d ? " " + d : ""}`, onClick: s, children: [
|
|
3074
3141
|
l && /* @__PURE__ */ e("span", { className: "select-menu__icon", children: l }),
|
|
3075
3142
|
/* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
|
|
3076
3143
|
c && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: c })
|
|
3077
3144
|
] });
|
|
3078
3145
|
});
|
|
3079
|
-
function
|
|
3146
|
+
function k1() {
|
|
3080
3147
|
return /* @__PURE__ */ e("div", { className: "select-menu__divider", role: "separator" });
|
|
3081
3148
|
}
|
|
3082
|
-
const
|
|
3149
|
+
const es = R(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3083
3150
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-menubtn${c ? " is-active" : ""}${s ? " " + s : ""}`, onClick: l, "aria-haspopup": "menu", "aria-expanded": c, children: [
|
|
3084
3151
|
/* @__PURE__ */ e("span", { children: n }),
|
|
3085
3152
|
/* @__PURE__ */ e("span", { className: "select-menubtn__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) })
|
|
3086
3153
|
] });
|
|
3087
|
-
}),
|
|
3154
|
+
}), w1 = R(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3088
3155
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
|
|
3089
3156
|
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
|
|
3090
3157
|
n
|
|
3091
3158
|
] });
|
|
3092
|
-
}),
|
|
3159
|
+
}), S1 = R(function({ label: n, value: l, href: c, onCopy: s, className: a, ...r }, d) {
|
|
3093
3160
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-copyrow${a ? " " + a : ""}`, children: [
|
|
3094
3161
|
n && /* @__PURE__ */ e("span", { className: "select-copyrow__label", children: n }),
|
|
3095
3162
|
/* @__PURE__ */ m("div", { className: "select-copyrow__value", children: [
|
|
@@ -3101,7 +3168,7 @@ const Qc = R(function({ children: n, onClick: l, active: c = !1, className: s, .
|
|
|
3101
3168
|
] })
|
|
3102
3169
|
] });
|
|
3103
3170
|
});
|
|
3104
|
-
function
|
|
3171
|
+
function C1({
|
|
3105
3172
|
value: t,
|
|
3106
3173
|
children: n,
|
|
3107
3174
|
truncate: l,
|
|
@@ -3116,9 +3183,9 @@ function S1({
|
|
|
3116
3183
|
return /* @__PURE__ */ m("span", { className: `select-copyid${r === "always" ? " select-copyid--always" : ""}`, children: [
|
|
3117
3184
|
a ? (
|
|
3118
3185
|
// Keep navigation isolated from any row handler; the text alone is the link target.
|
|
3119
|
-
/* @__PURE__ */ e(
|
|
3186
|
+
/* @__PURE__ */ e(Sl, { className: "select-copyid__text select-copyid__link", to: a, onClick: (u) => u.stopPropagation(), children: i })
|
|
3120
3187
|
) : /* @__PURE__ */ e("span", { className: "select-copyid__text", children: i }),
|
|
3121
|
-
/* @__PURE__ */ e(
|
|
3188
|
+
/* @__PURE__ */ e(sl, { content: d ? "Copiado" : c, children: /* @__PURE__ */ e(
|
|
3122
3189
|
"button",
|
|
3123
3190
|
{
|
|
3124
3191
|
type: "button",
|
|
@@ -3129,13 +3196,12 @@ function S1({
|
|
|
3129
3196
|
});
|
|
3130
3197
|
},
|
|
3131
3198
|
"aria-label": d ? "Copiado" : c,
|
|
3132
|
-
title: d ? "Copiado" : c,
|
|
3133
3199
|
children: d ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(Qt, {})
|
|
3134
3200
|
}
|
|
3135
|
-
)
|
|
3201
|
+
) })
|
|
3136
3202
|
] });
|
|
3137
3203
|
}
|
|
3138
|
-
const
|
|
3204
|
+
const L1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...r }, d) {
|
|
3139
3205
|
const [o, i] = D(c);
|
|
3140
3206
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${o ? " is-open" : ""}${a ? " " + a : ""}`, children: [
|
|
3141
3207
|
/* @__PURE__ */ m("button", { type: "button", className: "select-collapsible__header", onClick: () => i((h) => !h), "aria-expanded": o, children: [
|
|
@@ -3144,7 +3210,7 @@ const C1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3144
3210
|
] }),
|
|
3145
3211
|
/* @__PURE__ */ e("div", { className: "select-collapsible__bodywrap", children: /* @__PURE__ */ e("div", { className: "select-collapsible__bodyclip", "aria-hidden": !o, children: /* @__PURE__ */ e("div", { className: "select-collapsible__body", children: l }) }) })
|
|
3146
3212
|
] });
|
|
3147
|
-
}),
|
|
3213
|
+
}), A1 = R(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: r, ...d }, o) {
|
|
3148
3214
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-actioncard${r ? " " + r : ""}`, children: [
|
|
3149
3215
|
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Ke, {}), label: "Dispensar", onClick: a }) }),
|
|
3150
3216
|
n && /* @__PURE__ */ e("span", { className: "select-actioncard__icon", children: n }),
|
|
@@ -3154,7 +3220,7 @@ const C1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3154
3220
|
] }),
|
|
3155
3221
|
s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
|
|
3156
3222
|
] });
|
|
3157
|
-
}),
|
|
3223
|
+
}), F1 = R(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: r = !0, onClick: d, className: o, ...i }, h) {
|
|
3158
3224
|
return /* @__PURE__ */ m("button", { ref: h, ...i, type: "button", className: `select-tile${o ? " " + o : ""}`, onClick: d, children: [
|
|
3159
3225
|
r && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
|
|
3160
3226
|
/* @__PURE__ */ m("div", { className: "select-tile__main", children: [
|
|
@@ -3169,19 +3235,19 @@ const C1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3169
3235
|
] }),
|
|
3170
3236
|
a && /* @__PURE__ */ e("div", { className: "select-tile__meta", children: a })
|
|
3171
3237
|
] });
|
|
3172
|
-
}),
|
|
3238
|
+
}), B1 = R(function({ label: n, onClick: l, className: c, ...s }, a) {
|
|
3173
3239
|
return /* @__PURE__ */ m("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
|
|
3174
3240
|
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
|
|
3175
3241
|
/* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
|
|
3176
3242
|
] });
|
|
3177
|
-
}),
|
|
3243
|
+
}), E1 = R(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...r }, d) {
|
|
3178
3244
|
return /* @__PURE__ */ m("button", { ref: d, ...r, type: "button", className: `select-wsswitcher${a ? " " + a : ""}`, onClick: s, "aria-haspopup": "menu", children: [
|
|
3179
3245
|
n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
|
|
3180
3246
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
|
|
3181
3247
|
c,
|
|
3182
3248
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__selector", "aria-hidden": "true", children: /* @__PURE__ */ e(jn, {}) })
|
|
3183
3249
|
] });
|
|
3184
|
-
}),
|
|
3250
|
+
}), ts = 220;
|
|
3185
3251
|
function It({
|
|
3186
3252
|
open: t,
|
|
3187
3253
|
onClose: n,
|
|
@@ -3204,7 +3270,7 @@ function It({
|
|
|
3204
3270
|
y(!0);
|
|
3205
3271
|
const _ = setTimeout(() => {
|
|
3206
3272
|
g(!1), y(!1);
|
|
3207
|
-
},
|
|
3273
|
+
}, ts);
|
|
3208
3274
|
return () => clearTimeout(_);
|
|
3209
3275
|
}
|
|
3210
3276
|
}, [t, f]), le(() => {
|
|
@@ -3259,73 +3325,6 @@ function It({
|
|
|
3259
3325
|
document.body
|
|
3260
3326
|
);
|
|
3261
3327
|
}
|
|
3262
|
-
function E1({
|
|
3263
|
-
content: t,
|
|
3264
|
-
children: n,
|
|
3265
|
-
placement: l = "top",
|
|
3266
|
-
delay: c = 250
|
|
3267
|
-
}) {
|
|
3268
|
-
const [s, a] = D(!1), r = q(null), d = q(null), o = q(null), [i, h] = D(null), u = te(), f = () => {
|
|
3269
|
-
o.current && clearTimeout(o.current), o.current = setTimeout(() => a(!0), c);
|
|
3270
|
-
}, g = () => {
|
|
3271
|
-
o.current && clearTimeout(o.current), a(!1);
|
|
3272
|
-
};
|
|
3273
|
-
return le(
|
|
3274
|
-
() => () => {
|
|
3275
|
-
o.current && clearTimeout(o.current);
|
|
3276
|
-
},
|
|
3277
|
-
[]
|
|
3278
|
-
), Be(() => {
|
|
3279
|
-
var $;
|
|
3280
|
-
if (!s) {
|
|
3281
|
-
h(null);
|
|
3282
|
-
return;
|
|
3283
|
-
}
|
|
3284
|
-
const v = (($ = r.current) == null ? void 0 : $.firstElementChild) ?? r.current, y = d.current;
|
|
3285
|
-
if (!v || !y) return;
|
|
3286
|
-
const x = ll(
|
|
3287
|
-
v.getBoundingClientRect(),
|
|
3288
|
-
{ width: y.offsetWidth, height: y.offsetHeight },
|
|
3289
|
-
l,
|
|
3290
|
-
6
|
|
3291
|
-
);
|
|
3292
|
-
h({ top: x.top, left: x.left });
|
|
3293
|
-
}, [s, l]), le(() => {
|
|
3294
|
-
if (!s) return;
|
|
3295
|
-
const v = (y) => {
|
|
3296
|
-
y.key === "Escape" && a(!1);
|
|
3297
|
-
};
|
|
3298
|
-
return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
|
|
3299
|
-
}, [s]), /* @__PURE__ */ m(_e, { children: [
|
|
3300
|
-
/* @__PURE__ */ e(
|
|
3301
|
-
"span",
|
|
3302
|
-
{
|
|
3303
|
-
className: "select-tip__trigger",
|
|
3304
|
-
ref: r,
|
|
3305
|
-
onMouseEnter: f,
|
|
3306
|
-
onMouseLeave: g,
|
|
3307
|
-
onFocusCapture: () => a(!0),
|
|
3308
|
-
onBlurCapture: g,
|
|
3309
|
-
"aria-describedby": s ? u : void 0,
|
|
3310
|
-
children: n
|
|
3311
|
-
}
|
|
3312
|
-
),
|
|
3313
|
-
s && Ft(
|
|
3314
|
-
/* @__PURE__ */ e(
|
|
3315
|
-
"div",
|
|
3316
|
-
{
|
|
3317
|
-
ref: d,
|
|
3318
|
-
id: u,
|
|
3319
|
-
role: "tooltip",
|
|
3320
|
-
className: "select select-tip",
|
|
3321
|
-
style: i ? { position: "fixed", top: i.top, left: i.left } : { position: "fixed", top: 0, left: 0, visibility: "hidden" },
|
|
3322
|
-
children: t
|
|
3323
|
-
}
|
|
3324
|
-
),
|
|
3325
|
-
document.body
|
|
3326
|
-
)
|
|
3327
|
-
] });
|
|
3328
|
-
}
|
|
3329
3328
|
function I1({ actions: t, label: n = "Ações" }) {
|
|
3330
3329
|
const [l, c] = D(!1);
|
|
3331
3330
|
return /* @__PURE__ */ e(
|
|
@@ -3337,7 +3336,7 @@ function I1({ actions: t, label: n = "Ações" }) {
|
|
|
3337
3336
|
activator: /* @__PURE__ */ e(
|
|
3338
3337
|
ge,
|
|
3339
3338
|
{
|
|
3340
|
-
icon: /* @__PURE__ */ e(
|
|
3339
|
+
icon: /* @__PURE__ */ e(Wl, {}),
|
|
3341
3340
|
label: n,
|
|
3342
3341
|
size: "sm",
|
|
3343
3342
|
variant: "outline",
|
|
@@ -3442,14 +3441,14 @@ function R1({
|
|
|
3442
3441
|
}
|
|
3443
3442
|
);
|
|
3444
3443
|
}
|
|
3445
|
-
function
|
|
3444
|
+
function ns(t, n) {
|
|
3446
3445
|
const c = [.../* @__PURE__ */ new Set([1, n, t, t - 1, t + 1])].filter((r) => r >= 1 && r <= n).sort((r, d) => r - d), s = [];
|
|
3447
3446
|
let a = 0;
|
|
3448
3447
|
for (const r of c)
|
|
3449
3448
|
r - a > 1 && s.push("gap"), s.push(r), a = r;
|
|
3450
3449
|
return s;
|
|
3451
3450
|
}
|
|
3452
|
-
function
|
|
3451
|
+
function ls(t, n, l, c, s, a) {
|
|
3453
3452
|
const r = [];
|
|
3454
3453
|
if (t != null)
|
|
3455
3454
|
if (t === 0)
|
|
@@ -3461,8 +3460,8 @@ function ns(t, n, l, c, s, a) {
|
|
|
3461
3460
|
r.push(`${t} ${s}`);
|
|
3462
3461
|
return a && c != null && c > 0 && r.push(`Página ${l} de ${c}`), r.length > 0 ? r.join(" · ") : null;
|
|
3463
3462
|
}
|
|
3464
|
-
const
|
|
3465
|
-
const v = a ?? n > 1, y = r ?? (l != null ? n < l : !0), x = d ?? (i ? () => i(n - 1) : void 0), $ = o ?? (i ? () => i(n + 1) : void 0), _ = l != null && l > 1 && i != null, p = _ ?
|
|
3463
|
+
const cs = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPrevious: a, hasNext: r, onPrevious: d, onNext: o, onPage: i, noun: h = "resultados", className: u, ...f }, g) {
|
|
3464
|
+
const v = a ?? n > 1, y = r ?? (l != null ? n < l : !0), x = d ?? (i ? () => i(n - 1) : void 0), $ = o ?? (i ? () => i(n + 1) : void 0), _ = l != null && l > 1 && i != null, p = _ ? ns(n, l) : [], b = ls(c, s, n, l, h, _);
|
|
3466
3465
|
return /* @__PURE__ */ m("nav", { ref: g, ...f, className: `select-pagination${u ? " " + u : ""}`, "aria-label": "Paginação", children: [
|
|
3467
3466
|
/* @__PURE__ */ m("div", { className: "select-pagination__controls", children: [
|
|
3468
3467
|
/* @__PURE__ */ e(
|
|
@@ -3504,7 +3503,7 @@ const ls = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
|
|
|
3504
3503
|
b != null && /* @__PURE__ */ e("p", { className: "select-pagination__count", children: b })
|
|
3505
3504
|
] });
|
|
3506
3505
|
}), D1 = "9.5rem", qt = "select-datatable:hidden-cols:";
|
|
3507
|
-
function
|
|
3506
|
+
function ss(t) {
|
|
3508
3507
|
try {
|
|
3509
3508
|
const n = localStorage.getItem(qt + t), l = n ? JSON.parse(n) : null;
|
|
3510
3509
|
return Array.isArray(l) ? l.filter((c) => typeof c == "string") : [];
|
|
@@ -3512,7 +3511,7 @@ function cs(t) {
|
|
|
3512
3511
|
return [];
|
|
3513
3512
|
}
|
|
3514
3513
|
}
|
|
3515
|
-
function
|
|
3514
|
+
function as(t, n) {
|
|
3516
3515
|
try {
|
|
3517
3516
|
n.length === 0 ? localStorage.removeItem(qt + t) : localStorage.setItem(qt + t, JSON.stringify(n));
|
|
3518
3517
|
} catch {
|
|
@@ -3539,7 +3538,7 @@ function T1(t, n, l) {
|
|
|
3539
3538
|
}
|
|
3540
3539
|
}];
|
|
3541
3540
|
}
|
|
3542
|
-
function
|
|
3541
|
+
function os(t, n, l) {
|
|
3543
3542
|
const c = t == null || t === "", s = n == null || n === "";
|
|
3544
3543
|
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" });
|
|
3545
3544
|
}
|
|
@@ -3556,10 +3555,10 @@ function W1({
|
|
|
3556
3555
|
filters: i,
|
|
3557
3556
|
columnsKey: h
|
|
3558
3557
|
}) {
|
|
3559
|
-
const [u, f] = D(() => h ?
|
|
3558
|
+
const [u, f] = D(() => h ? ss(h) : []), [g, v] = D(!1), [y, x] = D(!1), $ = xe(() => new Set(u), [u]), _ = t.filter(yn), p = _.length > 0 && _.every((I) => $.has(I.key)), b = (I) => !p && $.has(I.key) && yn(I), S = t.filter((I) => !b(I)), k = _.filter((I) => !b(I)), [M, w] = D(null), N = (I) => {
|
|
3560
3559
|
f((O) => {
|
|
3561
3560
|
const W = !O.includes(I.key), Z = W ? [...O, I.key] : O.filter((G) => G !== I.key);
|
|
3562
|
-
return h &&
|
|
3561
|
+
return h && as(h, Z), W && w((G) => G && G.key === I.key ? null : G), Z;
|
|
3563
3562
|
});
|
|
3564
3563
|
}, C = (I) => {
|
|
3565
3564
|
w((O) => {
|
|
@@ -3570,7 +3569,7 @@ function W1({
|
|
|
3570
3569
|
const I = L == null ? void 0 : L.sortValue;
|
|
3571
3570
|
if (!M || !I) return n;
|
|
3572
3571
|
const O = M.dir === "asc" ? 1 : -1;
|
|
3573
|
-
return [...n].sort((W, Z) =>
|
|
3572
|
+
return [...n].sort((W, Z) => os(I(W), I(Z), O));
|
|
3574
3573
|
}, [n, M, L]), A = S.map((I) => ({
|
|
3575
3574
|
label: I.title,
|
|
3576
3575
|
align: I.align,
|
|
@@ -3578,7 +3577,7 @@ function W1({
|
|
|
3578
3577
|
sortable: !!I.sortValue,
|
|
3579
3578
|
sortDir: (M == null ? void 0 : M.key) === I.key ? M.dir : null,
|
|
3580
3579
|
onSort: I.sortValue ? () => C(I) : void 0
|
|
3581
|
-
})), F = !c && s ? /* @__PURE__ */ e(
|
|
3580
|
+
})), F = !c && s ? /* @__PURE__ */ e(Kc, { icon: s.icon, title: s.heading, subtitle: s.text, action: s.action }) : void 0, E = h && _.length > 0 ? /* @__PURE__ */ e(
|
|
3582
3581
|
Oe,
|
|
3583
3582
|
{
|
|
3584
3583
|
active: g,
|
|
@@ -3588,7 +3587,7 @@ function W1({
|
|
|
3588
3587
|
activator: /* @__PURE__ */ e(
|
|
3589
3588
|
ge,
|
|
3590
3589
|
{
|
|
3591
|
-
icon: /* @__PURE__ */ e(
|
|
3590
|
+
icon: /* @__PURE__ */ e(zl, {}),
|
|
3592
3591
|
label: "Colunas",
|
|
3593
3592
|
size: "sm",
|
|
3594
3593
|
active: g,
|
|
@@ -3618,7 +3617,7 @@ function W1({
|
|
|
3618
3617
|
}
|
|
3619
3618
|
) : null;
|
|
3620
3619
|
return /* @__PURE__ */ m("div", { className: "select-datatable", children: [
|
|
3621
|
-
/* @__PURE__ */ e(
|
|
3620
|
+
/* @__PURE__ */ e(Xc, { columns: A, empty: F, title: d, filters: i, action: E ? /* @__PURE__ */ m("span", { className: "select-datatable__toolbar", children: [
|
|
3622
3621
|
o,
|
|
3623
3622
|
E
|
|
3624
3623
|
] }) : o, children: c ? Array.from({ length: 5 }, (I, O) => /* @__PURE__ */ e(bn, { children: S.map((W, Z) => /* @__PURE__ */ e(xn, { align: W.align, width: W.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, Z)) }, `skeleton-${O}`)) : B.map((I) => /* @__PURE__ */ e(bn, { onClick: r ? () => r(I) : void 0, children: S.map((O, W) => /* @__PURE__ */ e(xn, { align: O.align, width: O.width, children: O.render(I) }, W)) }, l(I))) }),
|
|
@@ -3674,7 +3673,7 @@ function W1({
|
|
|
3674
3673
|
}
|
|
3675
3674
|
) }),
|
|
3676
3675
|
/* @__PURE__ */ e(
|
|
3677
|
-
|
|
3676
|
+
cs,
|
|
3678
3677
|
{
|
|
3679
3678
|
page: a.page ?? 1,
|
|
3680
3679
|
pageCount: a.pageCount,
|
|
@@ -3691,7 +3690,7 @@ function W1({
|
|
|
3691
3690
|
] })
|
|
3692
3691
|
] });
|
|
3693
3692
|
}
|
|
3694
|
-
const
|
|
3693
|
+
const rs = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], is = [
|
|
3695
3694
|
"Janeiro",
|
|
3696
3695
|
"Fevereiro",
|
|
3697
3696
|
"Março",
|
|
@@ -3705,7 +3704,7 @@ const os = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], rs = [
|
|
|
3705
3704
|
"Novembro",
|
|
3706
3705
|
"Dezembro"
|
|
3707
3706
|
], De = (t) => String(t).padStart(2, "0"), ct = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), vt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), Mn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), $n = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), kn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
|
|
3708
|
-
function
|
|
3707
|
+
function ds(t) {
|
|
3709
3708
|
const n = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}))?/.exec(t || "");
|
|
3710
3709
|
return n ? new Date(Number(n[1]), Number(n[2]) - 1, Number(n[3]), Number(n[4] ?? 0), Number(n[5] ?? 0)) : null;
|
|
3711
3710
|
}
|
|
@@ -3713,12 +3712,12 @@ function wn(t, n) {
|
|
|
3713
3712
|
const l = `${t.getFullYear()}-${De(t.getMonth() + 1)}-${De(t.getDate())}`;
|
|
3714
3713
|
return n ? `${l}T${De(t.getHours())}:${De(t.getMinutes())}` : l;
|
|
3715
3714
|
}
|
|
3716
|
-
function
|
|
3715
|
+
function us(t, n) {
|
|
3717
3716
|
const l = `${De(t.getDate())}/${De(t.getMonth() + 1)}/${t.getFullYear()}`;
|
|
3718
3717
|
return n ? `${l} ${De(t.getHours())}:${De(t.getMinutes())}` : l;
|
|
3719
3718
|
}
|
|
3720
|
-
const
|
|
3721
|
-
const $ = te(), _ = g ?? $, [p, b] = D(!1), S =
|
|
3719
|
+
const hs = R(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: r, disabled: d, error: o, hint: i, minDate: h, maxDate: u, clearable: f = !0, id: g, className: v, ...y }, x) {
|
|
3720
|
+
const $ = te(), _ = g ?? $, [p, b] = D(!1), S = ds(l), [k, M] = D(() => vt(S ?? /* @__PURE__ */ new Date())), w = h ? ct(h) : null, N = u ? ct(u) : null, C = (W) => !!w && ct(W) < w || !!N && ct(W) > N, L = Mn(vt(k), -vt(k).getDay()), B = Array.from({ length: 42 }, (W, Z) => Mn(L, Z)), A = ct(/* @__PURE__ */ new Date()), F = () => {
|
|
3722
3721
|
d || (M(vt(S ?? /* @__PURE__ */ new Date())), b((W) => !W));
|
|
3723
3722
|
}, E = (W) => {
|
|
3724
3723
|
if (C(W)) return;
|
|
@@ -3741,7 +3740,7 @@ const us = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
3741
3740
|
"aria-haspopup": "dialog",
|
|
3742
3741
|
"aria-expanded": p,
|
|
3743
3742
|
"aria-invalid": o ? !0 : void 0,
|
|
3744
|
-
children: S ?
|
|
3743
|
+
children: S ? us(S, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
|
|
3745
3744
|
}
|
|
3746
3745
|
),
|
|
3747
3746
|
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(qn, {}) })
|
|
@@ -3752,14 +3751,14 @@ const us = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
3752
3751
|
/* @__PURE__ */ m("div", { className: "select-datepicker__calhead", children: [
|
|
3753
3752
|
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => M((W) => $n(W, -1)), children: /* @__PURE__ */ e(Kt, {}) }),
|
|
3754
3753
|
/* @__PURE__ */ m("span", { className: "select-datepicker__monthlabel", children: [
|
|
3755
|
-
|
|
3754
|
+
is[k.getMonth()],
|
|
3756
3755
|
" ",
|
|
3757
3756
|
k.getFullYear()
|
|
3758
3757
|
] }),
|
|
3759
3758
|
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => M((W) => $n(W, 1)), children: /* @__PURE__ */ e(dt, {}) })
|
|
3760
3759
|
] }),
|
|
3761
3760
|
/* @__PURE__ */ m("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
3762
|
-
|
|
3761
|
+
rs.map((W) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: W }, W)),
|
|
3763
3762
|
B.map((W) => {
|
|
3764
3763
|
const Z = W.getMonth() !== k.getMonth(), G = !!S && kn(W, S), J = "select-datepicker__daybtn" + (G ? " is-selected" : "") + (kn(W, A) && !G ? " is-today" : "") + (Z ? " is-outside" : "");
|
|
3765
3764
|
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: J, disabled: C(W), onClick: () => E(W), children: W.getDate() }) }, W.getTime());
|
|
@@ -3789,11 +3788,11 @@ const us = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
3789
3788
|
o ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: o }) : i ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: i }) : null
|
|
3790
3789
|
] });
|
|
3791
3790
|
});
|
|
3792
|
-
function
|
|
3791
|
+
function _l(t, n) {
|
|
3793
3792
|
var l, c;
|
|
3794
3793
|
return t.type === "select" ? ((c = (l = t.options) == null ? void 0 : l.find((s) => s.value === n)) == null ? void 0 : c.label) ?? n : n;
|
|
3795
3794
|
}
|
|
3796
|
-
function
|
|
3795
|
+
function ps({
|
|
3797
3796
|
filter: t,
|
|
3798
3797
|
value: n,
|
|
3799
3798
|
onChange: l,
|
|
@@ -3806,7 +3805,7 @@ function hs({
|
|
|
3806
3805
|
le(() => {
|
|
3807
3806
|
c || o("");
|
|
3808
3807
|
}, [c]);
|
|
3809
|
-
const i = n.trim() !== "", h = i ?
|
|
3808
|
+
const i = n.trim() !== "", h = i ? _l(t, n) : null, u = t.options ?? [], f = u.length > 7, g = f ? u.filter((v) => v.label.toLowerCase().includes(d.trim().toLowerCase())) : u;
|
|
3810
3809
|
return /* @__PURE__ */ m(
|
|
3811
3810
|
Oe,
|
|
3812
3811
|
{
|
|
@@ -3829,7 +3828,7 @@ function hs({
|
|
|
3829
3828
|
),
|
|
3830
3829
|
children: [
|
|
3831
3830
|
t.type === "select" ? /* @__PURE__ */ m("div", { className: "select-facet__panel", children: [
|
|
3832
|
-
f && /* @__PURE__ */ e("div", { className: "select-facet__search", children: /* @__PURE__ */ e(
|
|
3831
|
+
f && /* @__PURE__ */ e("div", { className: "select-facet__search", children: /* @__PURE__ */ e(fl, { value: d, onChange: o, placeholder: "Buscar opção…" }) }),
|
|
3833
3832
|
/* @__PURE__ */ e("div", { className: "select-facet__options", role: "listbox", children: g.length === 0 ? /* @__PURE__ */ e("div", { className: "select-facet__empty", children: "Nada encontrado" }) : g.map((v) => {
|
|
3834
3833
|
const y = n === v.value;
|
|
3835
3834
|
return /* @__PURE__ */ m(
|
|
@@ -3850,7 +3849,7 @@ function hs({
|
|
|
3850
3849
|
v.value
|
|
3851
3850
|
);
|
|
3852
3851
|
}) })
|
|
3853
|
-
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(
|
|
3852
|
+
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(hs, { value: n, onChange: l, placeholder: t.placeholder, clearable: !1 }) }) : /* @__PURE__ */ e(
|
|
3854
3853
|
"div",
|
|
3855
3854
|
{
|
|
3856
3855
|
className: "select-facet__field",
|
|
@@ -3908,7 +3907,7 @@ const O1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
3908
3907
|
)
|
|
3909
3908
|
] }),
|
|
3910
3909
|
_.map((M) => /* @__PURE__ */ e(
|
|
3911
|
-
|
|
3910
|
+
ps,
|
|
3912
3911
|
{
|
|
3913
3912
|
filter: M,
|
|
3914
3913
|
value: l[M.key] ?? "",
|
|
@@ -3958,7 +3957,7 @@ const O1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
3958
3957
|
b.map((M) => /* @__PURE__ */ m("span", { className: "select-filterbar__tag", children: [
|
|
3959
3958
|
M.label,
|
|
3960
3959
|
": ",
|
|
3961
|
-
|
|
3960
|
+
_l(M, l[M.key] ?? ""),
|
|
3962
3961
|
/* @__PURE__ */ e(
|
|
3963
3962
|
"button",
|
|
3964
3963
|
{
|
|
@@ -4021,7 +4020,7 @@ const O1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4021
4020
|
}
|
|
4022
4021
|
),
|
|
4023
4022
|
children: /* @__PURE__ */ m("div", { className: "select-tagselect__menu", children: [
|
|
4024
|
-
/* @__PURE__ */ e("div", { className: "select-tagselect__search", children: /* @__PURE__ */ e(
|
|
4023
|
+
/* @__PURE__ */ e("div", { className: "select-tagselect__search", children: /* @__PURE__ */ e(fl, { value: y, onChange: x, placeholder: "Buscar…" }) }),
|
|
4025
4024
|
/* @__PURE__ */ e("div", { className: "select-tagselect__options", role: "presentation", children: $.length === 0 ? /* @__PURE__ */ e("div", { className: "select-tagselect__empty", children: "Nada encontrado" }) : $.map((b) => {
|
|
4026
4025
|
const S = c.includes(b.value);
|
|
4027
4026
|
return /* @__PURE__ */ m(
|
|
@@ -4060,19 +4059,19 @@ const O1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4060
4059
|
/* @__PURE__ */ e("div", { className: `select-surface__body${r ? " select-surface__body--flush" : ""}`, children: a }),
|
|
4061
4060
|
s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
|
|
4062
4061
|
] });
|
|
4063
|
-
}),
|
|
4062
|
+
}), vl = Xt(null), ms = 220, fs = 4e3, _s = 8, vs = 0.04, gs = 5;
|
|
4064
4063
|
function V1({ children: t }) {
|
|
4065
4064
|
const [n, l] = D([]), c = q(0), s = q(/* @__PURE__ */ new Map()), a = Te((i) => {
|
|
4066
4065
|
l((h) => h.filter((u) => u.id !== i)), s.current.delete(i);
|
|
4067
4066
|
}, []), r = Te(
|
|
4068
4067
|
(i) => {
|
|
4069
4068
|
const h = s.current.get(i);
|
|
4070
|
-
h && clearTimeout(h), l((u) => u.map((f) => f.id === i ? { ...f, exiting: !0 } : f)), s.current.set(i, setTimeout(() => a(i),
|
|
4069
|
+
h && clearTimeout(h), l((u) => u.map((f) => f.id === i ? { ...f, exiting: !0 } : f)), s.current.set(i, setTimeout(() => a(i), ms));
|
|
4071
4070
|
},
|
|
4072
4071
|
[a]
|
|
4073
4072
|
), d = Te(
|
|
4074
4073
|
(i, h) => {
|
|
4075
|
-
const u = ++c.current, f = (h == null ? void 0 : h.duration) ??
|
|
4074
|
+
const u = ++c.current, f = (h == null ? void 0 : h.duration) ?? fs;
|
|
4076
4075
|
l((g) => [...g, { id: u, content: i, variant: (h == null ? void 0 : h.variant) ?? "neutral" }]), f > 0 && s.current.set(u, setTimeout(() => r(u), f));
|
|
4077
4076
|
},
|
|
4078
4077
|
[r]
|
|
@@ -4092,12 +4091,12 @@ function V1({ children: t }) {
|
|
|
4092
4091
|
}),
|
|
4093
4092
|
[d]
|
|
4094
4093
|
);
|
|
4095
|
-
return /* @__PURE__ */ m(
|
|
4094
|
+
return /* @__PURE__ */ m(vl.Provider, { value: o, children: [
|
|
4096
4095
|
t,
|
|
4097
4096
|
n.length > 0 && Ft(
|
|
4098
4097
|
/* @__PURE__ */ e("div", { className: "select select-toasts", role: "region", "aria-live": "polite", "aria-label": "Notificações", children: n.map((i, h) => {
|
|
4099
|
-
const u = n.length - 1 - h, f = i.exiting || u >=
|
|
4100
|
-
transform: `translate(-50%, ${-u *
|
|
4098
|
+
const u = n.length - 1 - h, f = i.exiting || u >= gs, g = {
|
|
4099
|
+
transform: `translate(-50%, ${-u * _s}px) scale(${1 - u * vs})`,
|
|
4101
4100
|
opacity: f ? 0 : 1,
|
|
4102
4101
|
zIndex: 1e3 - u,
|
|
4103
4102
|
pointerEvents: u === 0 && !i.exiting ? "auto" : "none"
|
|
@@ -4112,11 +4111,11 @@ function V1({ children: t }) {
|
|
|
4112
4111
|
] });
|
|
4113
4112
|
}
|
|
4114
4113
|
function Z1() {
|
|
4115
|
-
const t = zt(
|
|
4114
|
+
const t = zt(vl);
|
|
4116
4115
|
if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
|
|
4117
4116
|
return t;
|
|
4118
4117
|
}
|
|
4119
|
-
const
|
|
4118
|
+
const bs = { desktop: "100%", mobile: 390 }, G1 = R(function({ src: n, title: l = "Pré-visualização", height: c = 560, initialDevice: s = "desktop", showDeviceToggle: a = !0, emptyLabel: r = "Salve para gerar a pré-visualização.", className: d, ...o }, i) {
|
|
4120
4119
|
const [h, u] = D(s), [f, g] = D(0), [v, y] = D(!0), x = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${f}` : "", $ = () => {
|
|
4121
4120
|
y(!0), g((_) => _ + 1);
|
|
4122
4121
|
};
|
|
@@ -4139,14 +4138,14 @@ const gs = { desktop: "100%", mobile: 390 }, G1 = R(function({ src: n, title: l
|
|
|
4139
4138
|
ge,
|
|
4140
4139
|
{
|
|
4141
4140
|
size: "sm",
|
|
4142
|
-
icon: /* @__PURE__ */ e(
|
|
4141
|
+
icon: /* @__PURE__ */ e(Ul, {}),
|
|
4143
4142
|
label: "Visualizar em mobile",
|
|
4144
4143
|
active: h === "mobile",
|
|
4145
4144
|
onClick: () => u("mobile")
|
|
4146
4145
|
}
|
|
4147
4146
|
)
|
|
4148
4147
|
] }),
|
|
4149
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
4148
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(ql, {}), label: "Recarregar", onClick: $, disabled: !n }),
|
|
4150
4149
|
n && /* @__PURE__ */ e(
|
|
4151
4150
|
"a",
|
|
4152
4151
|
{
|
|
@@ -4161,8 +4160,8 @@ const gs = { desktop: "100%", mobile: 390 }, G1 = R(function({ src: n, title: l
|
|
|
4161
4160
|
)
|
|
4162
4161
|
] })
|
|
4163
4162
|
] }),
|
|
4164
|
-
/* @__PURE__ */ e("div", { className: "select-preview__stage", style: { height: c }, children: x ? /* @__PURE__ */ m("div", { className: "select-preview__device", style: { width:
|
|
4165
|
-
v && /* @__PURE__ */ e("div", { className: "select-preview__loading", children: /* @__PURE__ */ e(
|
|
4163
|
+
/* @__PURE__ */ e("div", { className: "select-preview__stage", style: { height: c }, children: x ? /* @__PURE__ */ m("div", { className: "select-preview__device", style: { width: bs[h] }, children: [
|
|
4164
|
+
v && /* @__PURE__ */ e("div", { className: "select-preview__loading", children: /* @__PURE__ */ e(Hc, {}) }),
|
|
4166
4165
|
/* @__PURE__ */ e(
|
|
4167
4166
|
"iframe",
|
|
4168
4167
|
{
|
|
@@ -4175,32 +4174,32 @@ const gs = { desktop: "100%", mobile: 390 }, G1 = R(function({ src: n, title: l
|
|
|
4175
4174
|
)
|
|
4176
4175
|
] }) : /* @__PURE__ */ e("p", { className: "select-preview__empty", children: r }) })
|
|
4177
4176
|
] });
|
|
4178
|
-
}),
|
|
4179
|
-
function
|
|
4177
|
+
}), xs = new Intl.NumberFormat("pt-BR", { style: "currency", currency: "BRL" });
|
|
4178
|
+
function ys(t) {
|
|
4180
4179
|
const n = typeof t == "string" ? Number(t) : t;
|
|
4181
4180
|
return typeof n == "number" && Number.isFinite(n) ? n : 0;
|
|
4182
4181
|
}
|
|
4183
|
-
function
|
|
4184
|
-
return
|
|
4182
|
+
function Ns(t) {
|
|
4183
|
+
return xs.format(ys(t) / 100);
|
|
4185
4184
|
}
|
|
4186
|
-
const
|
|
4185
|
+
const gl = "sw:hide-money", Ms = { hidden: !1, toggle: () => {
|
|
4187
4186
|
}, setHidden: () => {
|
|
4188
|
-
} },
|
|
4189
|
-
function
|
|
4187
|
+
} }, bl = Xt(null);
|
|
4188
|
+
function $s() {
|
|
4190
4189
|
try {
|
|
4191
|
-
return localStorage.getItem(
|
|
4190
|
+
return localStorage.getItem(gl) === "1";
|
|
4192
4191
|
} catch {
|
|
4193
4192
|
return !1;
|
|
4194
4193
|
}
|
|
4195
4194
|
}
|
|
4196
4195
|
function Sn(t) {
|
|
4197
4196
|
try {
|
|
4198
|
-
localStorage.setItem(
|
|
4197
|
+
localStorage.setItem(gl, t ? "1" : "0");
|
|
4199
4198
|
} catch {
|
|
4200
4199
|
}
|
|
4201
4200
|
}
|
|
4202
4201
|
function U1({ children: t }) {
|
|
4203
|
-
const [n, l] = D(
|
|
4202
|
+
const [n, l] = D($s), c = Te((r) => {
|
|
4204
4203
|
l(r), Sn(r);
|
|
4205
4204
|
}, []), s = Te(() => {
|
|
4206
4205
|
l((r) => {
|
|
@@ -4208,27 +4207,27 @@ function U1({ children: t }) {
|
|
|
4208
4207
|
return Sn(d), d;
|
|
4209
4208
|
});
|
|
4210
4209
|
}, []), a = xe(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
4211
|
-
return /* @__PURE__ */ e(
|
|
4210
|
+
return /* @__PURE__ */ e(bl.Provider, { value: a, children: t });
|
|
4212
4211
|
}
|
|
4213
|
-
function
|
|
4214
|
-
return zt(
|
|
4212
|
+
function xl() {
|
|
4213
|
+
return zt(bl) ?? Ms;
|
|
4215
4214
|
}
|
|
4216
|
-
const
|
|
4217
|
-
const { hidden: r } =
|
|
4215
|
+
const ks = R(function({ children: n, label: l = "valor oculto", className: c, ...s }, a) {
|
|
4216
|
+
const { hidden: r } = xl();
|
|
4218
4217
|
return /* @__PURE__ */ e("span", { ref: a, ...s, className: `select-sensitive${r ? " select-sensitive--hidden" : ""}${c ? " " + c : ""}`, "aria-label": r ? l : void 0, children: n });
|
|
4219
4218
|
});
|
|
4220
4219
|
function at({
|
|
4221
4220
|
cents: t,
|
|
4222
4221
|
sensitive: n = !0
|
|
4223
4222
|
}) {
|
|
4224
|
-
const l =
|
|
4225
|
-
return n ? /* @__PURE__ */ e(
|
|
4223
|
+
const l = Ns(t);
|
|
4224
|
+
return n ? /* @__PURE__ */ e(ks, { children: l }) : /* @__PURE__ */ e(_e, { children: l });
|
|
4226
4225
|
}
|
|
4227
|
-
const
|
|
4226
|
+
const ws = new Intl.NumberFormat("pt-BR", {
|
|
4228
4227
|
signDisplay: "exceptZero",
|
|
4229
4228
|
minimumFractionDigits: 1,
|
|
4230
4229
|
maximumFractionDigits: 1
|
|
4231
|
-
}),
|
|
4230
|
+
}), Ss = R(function({ value: n, invert: l = !1, caption: c, className: s, ...a }, r) {
|
|
4232
4231
|
if (n == null || !Number.isFinite(n))
|
|
4233
4232
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-delta select-delta--muted${s ? " " + s : ""}`, children: [
|
|
4234
4233
|
"—",
|
|
@@ -4238,14 +4237,14 @@ const ks = new Intl.NumberFormat("pt-BR", {
|
|
|
4238
4237
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-delta${s ? " " + s : ""}`, children: [
|
|
4239
4238
|
/* @__PURE__ */ m("span", { className: `select-delta__value select-delta__value--${h}`, children: [
|
|
4240
4239
|
u ? `${u} ` : "",
|
|
4241
|
-
|
|
4240
|
+
ws.format(n),
|
|
4242
4241
|
"%"
|
|
4243
4242
|
] }),
|
|
4244
4243
|
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
4245
4244
|
] });
|
|
4246
4245
|
});
|
|
4247
4246
|
function q1() {
|
|
4248
|
-
const { hidden: t, toggle: n } =
|
|
4247
|
+
const { hidden: t, toggle: n } = xl();
|
|
4249
4248
|
return /* @__PURE__ */ e(
|
|
4250
4249
|
ge,
|
|
4251
4250
|
{
|
|
@@ -4277,7 +4276,7 @@ const Y1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4277
4276
|
/* @__PURE__ */ m("div", { className: "select-balance__body", children: [
|
|
4278
4277
|
/* @__PURE__ */ m("div", { className: "select-balance__heromain", children: [
|
|
4279
4278
|
/* @__PURE__ */ e("span", { className: "select-balance__heroamount", children: /* @__PURE__ */ e(at, { cents: n }) }),
|
|
4280
|
-
c != null && /* @__PURE__ */ e(
|
|
4279
|
+
c != null && /* @__PURE__ */ e(Ss, { value: c, caption: "vs. período anterior" })
|
|
4281
4280
|
] }),
|
|
4282
4281
|
s.length > 0 && /* @__PURE__ */ e("div", { className: "select-balance__buckets", children: s.map((i) => /* @__PURE__ */ m("div", { className: "select-balance__bucket", children: [
|
|
4283
4282
|
i.icon && /* @__PURE__ */ e("span", { className: "select-balance__bucketicon", children: i.icon }),
|
|
@@ -4335,7 +4334,7 @@ const Y1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4335
4334
|
)
|
|
4336
4335
|
] });
|
|
4337
4336
|
});
|
|
4338
|
-
function
|
|
4337
|
+
function Cs() {
|
|
4339
4338
|
const [t, n] = D(1);
|
|
4340
4339
|
return Be(() => {
|
|
4341
4340
|
const l = () => {
|
|
@@ -4346,7 +4345,7 @@ function Ss() {
|
|
|
4346
4345
|
}, []), t;
|
|
4347
4346
|
}
|
|
4348
4347
|
function ce(t) {
|
|
4349
|
-
const n = q(null), [l, c] = D(0), s =
|
|
4348
|
+
const n = q(null), [l, c] = D(0), s = Cs();
|
|
4350
4349
|
return Be(() => {
|
|
4351
4350
|
const a = n.current;
|
|
4352
4351
|
if (!a) return;
|
|
@@ -4381,7 +4380,7 @@ function ye(t) {
|
|
|
4381
4380
|
function we(t, n = 4) {
|
|
4382
4381
|
return Array.from({ length: n + 1 }, (l, c) => t / n * c);
|
|
4383
4382
|
}
|
|
4384
|
-
function
|
|
4383
|
+
function Ls(t, n = 5) {
|
|
4385
4384
|
if (!(t > 0)) return { max: 1, values: [0, 1] };
|
|
4386
4385
|
const l = t / n, c = Math.pow(10, Math.floor(Math.log10(l))), s = l / c, a = (s <= 1 ? 1 : s <= 2 ? 2 : s <= 5 ? 5 : 10) * c, r = Math.ceil(t / a) * a, d = [];
|
|
4387
4386
|
for (let o = 0; o <= r + a / 2; o += a) d.push(Math.round(o * 1e6) / 1e6);
|
|
@@ -4416,12 +4415,12 @@ function Ge(t) {
|
|
|
4416
4415
|
}
|
|
4417
4416
|
return d;
|
|
4418
4417
|
}
|
|
4419
|
-
function
|
|
4418
|
+
function yl(t, n) {
|
|
4420
4419
|
if (t.length === 0) return "";
|
|
4421
4420
|
const l = t[0], c = t[t.length - 1];
|
|
4422
4421
|
return `${Ge(t)} L${c[0].toFixed(2)},${n.toFixed(2)} L${l[0].toFixed(2)},${n.toFixed(2)} Z`;
|
|
4423
4422
|
}
|
|
4424
|
-
function
|
|
4423
|
+
function Nl(t, n) {
|
|
4425
4424
|
if (t.length === 0 || n.length === 0) return "";
|
|
4426
4425
|
const l = Ge(t), c = Ge([...n].reverse()).replace(/^M/, "L");
|
|
4427
4426
|
return `${l} ${c} Z`;
|
|
@@ -4462,7 +4461,7 @@ function J1({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
|
4462
4461
|
/* @__PURE__ */ e("stop", { offset: "0%", stopColor: d, stopOpacity: 0.26 }),
|
|
4463
4462
|
/* @__PURE__ */ e("stop", { offset: "100%", stopColor: d, stopOpacity: 0 })
|
|
4464
4463
|
] }) }),
|
|
4465
|
-
/* @__PURE__ */ e("path", { d:
|
|
4464
|
+
/* @__PURE__ */ e("path", { d: yl(v, l - i), fill: `url(#${o}-sa)` }),
|
|
4466
4465
|
/* @__PURE__ */ e(
|
|
4467
4466
|
"path",
|
|
4468
4467
|
{
|
|
@@ -4561,7 +4560,7 @@ function Q1({ data: t, height: n = 240, color: l, format: c = Y, className: s, .
|
|
|
4561
4560
|
] });
|
|
4562
4561
|
}
|
|
4563
4562
|
function eo({ series: t, labels: n, height: l = 240, format: c = Y, area: s = !1, className: a, ...r }) {
|
|
4564
|
-
const { ref: d, width: o } = ce(l), i = X(), h = te(), [u, f] = D(null), { max: g, values: v } =
|
|
4563
|
+
const { ref: d, width: o } = ce(l), i = X(), h = te(), [u, f] = D(null), { max: g, values: v } = Ls(Math.max(0, ...t.flatMap((w) => w.data))), y = Ee, x = Math.max(0, o - y.left - y.right), $ = l - y.top - y.bottom, _ = n.length, p = (w) => y.left + (_ <= 1 ? x / 2 : w / (_ - 1) * x), b = (w) => y.top + $ - w / g * $, S = _ > 1 ? x / (_ - 1) : x, k = Math.max(1, Math.ceil(_ / 7)), M = y.top + $;
|
|
4565
4564
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
4566
4565
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: l, className: "select-chart", children: [
|
|
4567
4566
|
/* @__PURE__ */ e("defs", { children: t.map((w, N) => {
|
|
@@ -4588,7 +4587,7 @@ function eo({ series: t, labels: n, height: l = 240, format: c = Y, area: s = !1
|
|
|
4588
4587
|
t.map((w, N) => {
|
|
4589
4588
|
const C = w.color ?? j(N), L = w.data.map((B, A) => [p(A), b(B)]);
|
|
4590
4589
|
return /* @__PURE__ */ m("g", { children: [
|
|
4591
|
-
s && /* @__PURE__ */ e("path", { d:
|
|
4590
|
+
s && /* @__PURE__ */ e("path", { d: yl(L, M), fill: `url(#${h}-a${N})`, className: "select-chart__area" }),
|
|
4592
4591
|
/* @__PURE__ */ e(
|
|
4593
4592
|
"path",
|
|
4594
4593
|
{
|
|
@@ -4676,7 +4675,7 @@ function to({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
4676
4675
|
t.map((N, C) => {
|
|
4677
4676
|
const L = N.color ?? j(C), B = v[C].map((F, E) => [p(E), b(F)]), A = C === 0 ? n.map((F, E) => [p(E), M]) : v[C - 1].map((F, E) => [p(E), b(F)]);
|
|
4678
4677
|
return /* @__PURE__ */ m("g", { className: "select-chart__area", children: [
|
|
4679
|
-
/* @__PURE__ */ e("path", { d:
|
|
4678
|
+
/* @__PURE__ */ e("path", { d: Nl(B, A), fill: `url(#${i}-b${C})` }),
|
|
4680
4679
|
/* @__PURE__ */ e("path", { d: Ge(B), fill: "none", stroke: L, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })
|
|
4681
4680
|
] }, C);
|
|
4682
4681
|
}),
|
|
@@ -4978,7 +4977,7 @@ const so = R(function({ stages: n, format: l = Y, className: c, ...s }, a) {
|
|
|
4978
4977
|
] }, o);
|
|
4979
4978
|
}) });
|
|
4980
4979
|
});
|
|
4981
|
-
function
|
|
4980
|
+
function As(t) {
|
|
4982
4981
|
return Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0;
|
|
4983
4982
|
}
|
|
4984
4983
|
function An(t, n, l, c) {
|
|
@@ -4989,8 +4988,8 @@ function Fn(t, n, l, c, s) {
|
|
|
4989
4988
|
const [a, r] = An(t, n, l, c), [d, o] = An(t, n, l, s);
|
|
4990
4989
|
return `M ${a.toFixed(2)} ${r.toFixed(2)} A ${l} ${l} 0 0 1 ${d.toFixed(2)} ${o.toFixed(2)}`;
|
|
4991
4990
|
}
|
|
4992
|
-
const
|
|
4993
|
-
const u =
|
|
4991
|
+
const Fs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, ao = R(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: r, format: d = Fs, className: o, ...i }, h) {
|
|
4992
|
+
const u = As(n), f = te(), g = a ?? Math.max(8, Math.round(s * 0.075)), v = g / 2 + 2, y = s / 2 - v, x = s / 2, $ = s / 2, _ = $ + v, p = Wc({ value: u, format: d });
|
|
4994
4993
|
return /* @__PURE__ */ m("div", { ref: h, ...i, className: `select-gauge${o ? " " + o : ""}`, style: { width: `${s / 16}rem` }, children: [
|
|
4995
4994
|
/* @__PURE__ */ m("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${_}` }, children: [
|
|
4996
4995
|
/* @__PURE__ */ m("svg", { width: "100%", height: "100%", viewBox: `0 0 ${s} ${_}`, className: "select-chart", "aria-hidden": "true", children: [
|
|
@@ -5158,11 +5157,11 @@ const Dt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, io = R
|
|
|
5158
5157
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(Dt(v.value)) })
|
|
5159
5158
|
] }, y)) })
|
|
5160
5159
|
] });
|
|
5161
|
-
}), Bn = 6.1, Tt = 12, En = 56,
|
|
5160
|
+
}), Bn = 6.1, Tt = 12, En = 56, Bs = 0.4;
|
|
5162
5161
|
function uo({ data: t, height: n, color: l, format: c = Y, formatValue: s, distributed: a = !0, labelWidth: r, className: d, ...o }) {
|
|
5163
5162
|
const g = n ?? t.length * 36 + 6 + 26, { ref: v, width: y } = ce(g), x = X(), $ = te(), _ = ye(Math.max(0, ...t.map((F) => F.value))), p = t.reduce((F, E) => Math.max(F, E.label.length), 0), b = Math.min(
|
|
5164
5163
|
Math.max(En, p * Bn + Tt),
|
|
5165
|
-
Math.max(En, y *
|
|
5164
|
+
Math.max(En, y * Bs)
|
|
5166
5165
|
), S = r ?? b, k = Math.max(3, Math.floor((S - Tt) / Bn)), M = (F) => F.length <= k ? F : `${F.slice(0, k - 1).trimEnd()}…`, w = Math.max(0, y - S - 28), N = g - 6 - 26, C = t.length ? N / t.length : 0, L = Math.min(C * 0.62, 22), B = (F) => S + F / _ * w, A = (F, E) => F.color ?? (a ? j(E) : l ?? j(0));
|
|
5167
5166
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${d ? " " + d : ""}`, ref: v, children: [
|
|
5168
5167
|
y > 0 && /* @__PURE__ */ m("svg", { width: y, height: g, className: "select-chart", children: [
|
|
@@ -5336,7 +5335,7 @@ const In = (t) => Math.max(0, Math.min(100, t)), po = R(function({ items: n, for
|
|
|
5336
5335
|
] }, `${r.label}-${d}`);
|
|
5337
5336
|
}) });
|
|
5338
5337
|
});
|
|
5339
|
-
function
|
|
5338
|
+
function Es(t, n, l) {
|
|
5340
5339
|
const c = [], s = (r, d) => {
|
|
5341
5340
|
const o = r.reduce((u, f) => u + f, 0), i = Math.max(...r), h = Math.min(...r);
|
|
5342
5341
|
return Math.max(d * d * i / (o * o), o * o / (d * d * h));
|
|
@@ -5380,7 +5379,7 @@ function Bs(t, n, l) {
|
|
|
5380
5379
|
), c;
|
|
5381
5380
|
}
|
|
5382
5381
|
function mo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
5383
|
-
const { ref: a, width: r } = ce(n), d = X(), o = te(), i = t.map((u, f) => f).sort((u, f) => t[f].value - t[u].value), h = r > 0 ?
|
|
5382
|
+
const { ref: a, width: r } = ce(n), d = X(), o = te(), i = t.map((u, f) => f).sort((u, f) => t[f].value - t[u].value), h = r > 0 ? Es(i.map((u) => t[u].value), r, n) : [];
|
|
5384
5383
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
|
|
5385
5384
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
|
|
5386
5385
|
/* @__PURE__ */ e("defs", { children: t.map((u, f) => {
|
|
@@ -6014,7 +6013,7 @@ function So({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
6014
6013
|
/* @__PURE__ */ e("stop", { offset: "0%", stopColor: k.color, stopOpacity: 0.95 }),
|
|
6015
6014
|
/* @__PURE__ */ e("stop", { offset: "100%", stopColor: k.color, stopOpacity: 0.6 })
|
|
6016
6015
|
] }, M)) }),
|
|
6017
|
-
S.map((k, M) => /* @__PURE__ */ e("path", { d:
|
|
6016
|
+
S.map((k, M) => /* @__PURE__ */ e("path", { d: Nl(k.upper, k.lower), fill: `url(#${i}-st${M})`, className: "select-chart__area" }, M)),
|
|
6018
6017
|
h != null && /* @__PURE__ */ e("line", { x1: p(h), x2: p(h), y1: g.top, y2: g.top + y, className: "select-chart__crosshair" }),
|
|
6019
6018
|
n.map(
|
|
6020
6019
|
(k, M) => M % Math.max(1, Math.ceil(f / 7)) === 0 || M === f - 1 ? /* @__PURE__ */ e("text", { x: p(M), y: l - g.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: k }, M) : null
|
|
@@ -6283,7 +6282,7 @@ const Bo = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
|
|
|
6283
6282
|
},
|
|
6284
6283
|
`${f.text}-${g}`
|
|
6285
6284
|
)) });
|
|
6286
|
-
}),
|
|
6285
|
+
}), Is = [
|
|
6287
6286
|
[-59.6, -80, -59.9, -80.5, -60.2, -81, -62.3, -80.9, -64.5, -80.9, -65.7, -80.6, -65.7, -80.5, -66.3, -80.3, -64, -80.3, -61.9, -80.4, -61.1, -80, -60.6, -79.6, -59.6, -80],
|
|
6288
6287
|
[-159.2, -79.5, -161.1, -79.6, -162.4, -79.3, -163, -78.9, -163.1, -78.9, -163.7, -78.6, -163.1, -78.2, -161.2, -78.4, -160.2, -78.7, -159.5, -79, -159.2, -79.5],
|
|
6289
6288
|
[-45.2, -78, -43.9, -78.5, -43.5, -79.1, -43.4, -79.5, -43.3, -80, -44.9, -80.3, -46.5, -80.6, -48.4, -80.8, -50.5, -81, -52.9, -81, -54.2, -80.6, -54, -80.2, -51.9, -79.9, -51, -79.6, -50.4, -79.2, -49.9, -78.8, -49.3, -78.5, -48.7, -78, -48.2, -78, -46.7, -77.8, -45.2, -78],
|
|
@@ -6487,7 +6486,7 @@ const Rn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6487
6486
|
}
|
|
6488
6487
|
return V;
|
|
6489
6488
|
}, []), ie = xe(
|
|
6490
|
-
() =>
|
|
6489
|
+
() => Is.map((P) => {
|
|
6491
6490
|
const V = [];
|
|
6492
6491
|
for (let U = 0; U < P.length; U += 2) V.push(et(P[U + 1], P[U]));
|
|
6493
6492
|
return V;
|
|
@@ -6551,8 +6550,8 @@ const Rn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6551
6550
|
const U = et(P.from.lat, P.from.lng), oe = et(P.to.lat, P.to.lng);
|
|
6552
6551
|
let ee = "", se = !1;
|
|
6553
6552
|
for (let Ze = 0; Ze <= 40; Ze++) {
|
|
6554
|
-
const mt = Ze / 40, ft = Pn(U, oe, mt), Pt = 1 + 0.34 * Math.sin(Math.PI * mt),
|
|
6555
|
-
|
|
6553
|
+
const mt = Ze / 40, ft = Pn(U, oe, mt), Pt = 1 + 0.34 * Math.sin(Math.PI * mt), kl = bt(ft, k.current.lng, k.current.lat), an = z([ft[0] * Pt, ft[1] * Pt, ft[2] * Pt]);
|
|
6554
|
+
kl[2] > -0.05 ? (ee += `${se ? "L" : "M"}${an.x.toFixed(1)},${an.y.toFixed(1)}`, se = !0) : se = !1;
|
|
6556
6555
|
}
|
|
6557
6556
|
const ue = S.current ? 0.5 : (B.current * Ie + V * 0.27) % 1, fe = Pn(U, oe, ue), Ve = 1 + 0.34 * Math.sin(Math.PI * ue), Pe = bt(fe, k.current.lng, k.current.lat), Je = z([fe[0] * Ve, fe[1] * Ve, fe[2] * Ve]), sn = Ne != null && (Rn(P.from, Ne) || Rn(P.to, Ne));
|
|
6558
6557
|
return { d: ee, col: P.color ?? d, i: V, flow: { ...Je, vis: Pe[2] > 0 }, active: sn };
|
|
@@ -6997,11 +6996,11 @@ function Wo({ axes: t, data: n, height: l = 260, format: c = Y, className: s, ..
|
|
|
6997
6996
|
function Mt(t) {
|
|
6998
6997
|
return t.children && t.children.length ? t.children.reduce((n, l) => n + Mt(l), 0) : t.value ?? 0;
|
|
6999
6998
|
}
|
|
7000
|
-
function
|
|
7001
|
-
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) =>
|
|
6999
|
+
function Ml(t, n = 0) {
|
|
7000
|
+
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Ml(l, n + 1)));
|
|
7002
7001
|
}
|
|
7003
7002
|
function Oo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
7004
|
-
const { ref: a, width: r } = ce(n), d = X(), [o, i] = D(null), h =
|
|
7003
|
+
const { ref: a, width: r } = ce(n), d = X(), [o, i] = D(null), h = Ml(t), u = n / (h + 1), f = [], g = (v, y, x, $, _) => {
|
|
7005
7004
|
if (f.push({ node: v, x0: y, x1: x, depth: $, color: v.color ?? j(_), value: Mt(v) }), v.children && v.children.length) {
|
|
7006
7005
|
const p = v.children.reduce((S, k) => S + Mt(k), 0) || 1;
|
|
7007
7006
|
let b = y;
|
|
@@ -7303,7 +7302,7 @@ function Zo({ nodes: t, links: n, height: l = 300, format: c = Y, className: s,
|
|
|
7303
7302
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
7304
7303
|
] });
|
|
7305
7304
|
}
|
|
7306
|
-
function
|
|
7305
|
+
function Ps({ children: t }) {
|
|
7307
7306
|
const n = Et({ selector: ".select-combobox__option", y: 6, duration: 0.3, stagger: 0.03 });
|
|
7308
7307
|
return /* @__PURE__ */ e("div", { className: "select-combobox__list", ref: n, children: t });
|
|
7309
7308
|
}
|
|
@@ -7362,7 +7361,7 @@ const Go = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
7362
7361
|
autoFocus: !0
|
|
7363
7362
|
}
|
|
7364
7363
|
) }),
|
|
7365
|
-
/* @__PURE__ */ e(
|
|
7364
|
+
/* @__PURE__ */ e(Ps, { children: w.length === 0 ? /* @__PURE__ */ e("div", { className: "select-combobox__empty", children: h }) : w.map((B) => {
|
|
7366
7365
|
const A = B.value === l;
|
|
7367
7366
|
return /* @__PURE__ */ m(
|
|
7368
7367
|
"button",
|
|
@@ -7390,8 +7389,8 @@ const Go = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
7390
7389
|
i ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: o }) : null
|
|
7391
7390
|
] });
|
|
7392
7391
|
}), Wt = [
|
|
7393
|
-
{ value: "light", label: "Claro", icon: /* @__PURE__ */ e(
|
|
7394
|
-
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(
|
|
7392
|
+
{ value: "light", label: "Claro", icon: /* @__PURE__ */ e(Zl, {}) },
|
|
7393
|
+
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(Gl, {}) },
|
|
7395
7394
|
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Vn, {}) }
|
|
7396
7395
|
];
|
|
7397
7396
|
function Uo(t) {
|
|
@@ -7407,12 +7406,12 @@ function qo({ value: t, onChange: n, className: l, ...c }) {
|
|
|
7407
7406
|
};
|
|
7408
7407
|
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
7409
7408
|
}, [s]), /* @__PURE__ */ m("div", { ...c, className: `select-themeswitcher${l ? " " + l : ""}`, ref: r, children: [
|
|
7410
|
-
/* @__PURE__ */ e(
|
|
7409
|
+
/* @__PURE__ */ e(es, { active: s, onClick: () => a((o) => !o), children: /* @__PURE__ */ m("span", { className: "select-themeswitcher__current", children: [
|
|
7411
7410
|
d.icon,
|
|
7412
7411
|
d.label
|
|
7413
7412
|
] }) }),
|
|
7414
|
-
s && /* @__PURE__ */ e("div", { className: "select-themeswitcher__popover", children: /* @__PURE__ */ e(
|
|
7415
|
-
|
|
7413
|
+
s && /* @__PURE__ */ e("div", { className: "select-themeswitcher__popover", children: /* @__PURE__ */ e(Jc, { children: Wt.map((o) => /* @__PURE__ */ e(
|
|
7414
|
+
Qc,
|
|
7416
7415
|
{
|
|
7417
7416
|
icon: o.icon,
|
|
7418
7417
|
active: o.value === t,
|
|
@@ -7426,17 +7425,17 @@ function qo({ value: t, onChange: n, className: l, ...c }) {
|
|
|
7426
7425
|
)) }) })
|
|
7427
7426
|
] });
|
|
7428
7427
|
}
|
|
7429
|
-
const
|
|
7428
|
+
const $l = Xt(!1);
|
|
7430
7429
|
function Yo({
|
|
7431
7430
|
children: t,
|
|
7432
7431
|
stacked: n = !1,
|
|
7433
7432
|
loading: l = !1
|
|
7434
7433
|
}) {
|
|
7435
7434
|
const c = Et({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
7436
|
-
return /* @__PURE__ */ e(
|
|
7435
|
+
return /* @__PURE__ */ e($l.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
|
|
7437
7436
|
}
|
|
7438
7437
|
const zo = R(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: r, ...d }, o) {
|
|
7439
|
-
const i = zt(
|
|
7438
|
+
const i = zt($l), h = a ?? i;
|
|
7440
7439
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-detail select-detail--${s}${r ? " " + r : ""}`, children: [
|
|
7441
7440
|
/* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
|
|
7442
7441
|
/* @__PURE__ */ e("div", { className: "select-detail__value", children: h ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
|
|
@@ -7467,7 +7466,7 @@ const zo = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7467
7466
|
o && o.length > 0 && /* @__PURE__ */ m("div", { className: "select-plan__features", children: [
|
|
7468
7467
|
d && /* @__PURE__ */ e("p", { className: "select-plan__featurestitle", children: d }),
|
|
7469
7468
|
/* @__PURE__ */ e("ul", { className: "select-plan__list", children: o.map((g, v) => /* @__PURE__ */ m("li", { className: "select-plan__feature", children: [
|
|
7470
|
-
/* @__PURE__ */ e("span", { className: "select-plan__check", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7469
|
+
/* @__PURE__ */ e("span", { className: "select-plan__check", "aria-hidden": "true", children: /* @__PURE__ */ e(Yl, {}) }),
|
|
7471
7470
|
/* @__PURE__ */ e("span", { children: g })
|
|
7472
7471
|
] }, v)) })
|
|
7473
7472
|
] })
|
|
@@ -7514,9 +7513,9 @@ const Dn = R(function({ src: n, alt: l = "", size: c = 40, className: s, ...a },
|
|
|
7514
7513
|
className: "select-thumb__img",
|
|
7515
7514
|
onError: () => o(!0)
|
|
7516
7515
|
}
|
|
7517
|
-
) : /* @__PURE__ */ e("span", { className: "select-thumb__ph", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7516
|
+
) : /* @__PURE__ */ e("span", { className: "select-thumb__ph", "aria-hidden": "true", children: /* @__PURE__ */ e(Vl, {}) }) });
|
|
7518
7517
|
});
|
|
7519
|
-
function
|
|
7518
|
+
function Rs({
|
|
7520
7519
|
open: t,
|
|
7521
7520
|
onClose: n,
|
|
7522
7521
|
src: l,
|
|
@@ -7545,7 +7544,7 @@ function er({
|
|
|
7545
7544
|
children: /* @__PURE__ */ e(Dn, { src: t, size: l, alt: n })
|
|
7546
7545
|
}
|
|
7547
7546
|
),
|
|
7548
|
-
s && /* @__PURE__ */ e(
|
|
7547
|
+
s && /* @__PURE__ */ e(Rs, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
|
|
7549
7548
|
] }) : /* @__PURE__ */ e(Dn, { size: l, alt: n });
|
|
7550
7549
|
}
|
|
7551
7550
|
const tr = R(function({ media: n, title: l, secondary: c, className: s, ...a }, r) {
|
|
@@ -7581,7 +7580,7 @@ function nr() {
|
|
|
7581
7580
|
}
|
|
7582
7581
|
);
|
|
7583
7582
|
}
|
|
7584
|
-
function
|
|
7583
|
+
function Ds(t) {
|
|
7585
7584
|
return Array.isArray(t) ? t.filter((n) => n != null && typeof n == "object").map((n) => ({
|
|
7586
7585
|
name: String(n.name ?? n.key ?? ""),
|
|
7587
7586
|
value: n.value == null ? "" : String(n.value)
|
|
@@ -7591,7 +7590,7 @@ function Rs(t) {
|
|
|
7591
7590
|
})) : [];
|
|
7592
7591
|
}
|
|
7593
7592
|
const lr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: r = "Adicionar", max: d, helpText: o = "Linhas vazias serão ignoradas.", className: i, ...h }, u) {
|
|
7594
|
-
const f =
|
|
7593
|
+
const f = Ds(n), g = ($, _) => l(f.map((p, b) => b === $ ? { ...p, ..._ } : p)), v = ($) => l(f.filter((_, p) => p !== $)), y = () => l([...f, { name: "", value: "" }]), x = d == null || f.length < d;
|
|
7595
7594
|
return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-kv${i ? " " + i : ""}`, children: [
|
|
7596
7595
|
f.map(($, _) => /* @__PURE__ */ m("div", { className: "select-kv__row", children: [
|
|
7597
7596
|
/* @__PURE__ */ e("div", { className: "select-kv__field", children: a ? /* @__PURE__ */ e(
|
|
@@ -7624,13 +7623,13 @@ const lr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7624
7623
|
) }),
|
|
7625
7624
|
/* @__PURE__ */ e("div", { className: "select-kv__remove", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Un, {}), label: "Remover", onClick: () => v(_) }) })
|
|
7626
7625
|
] }, _)),
|
|
7627
|
-
x && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ m(
|
|
7626
|
+
x && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ m(Dc, { onClick: y, children: [
|
|
7628
7627
|
"+ ",
|
|
7629
7628
|
r
|
|
7630
7629
|
] }) }),
|
|
7631
7630
|
o && /* @__PURE__ */ e("p", { className: "select-kv__hint", children: o })
|
|
7632
7631
|
] });
|
|
7633
|
-
}), Tn = (t) => String(t).padStart(2, "0"),
|
|
7632
|
+
}), Tn = (t) => String(t).padStart(2, "0"), Ts = {
|
|
7634
7633
|
"en-US": {
|
|
7635
7634
|
weekdays: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
7636
7635
|
months: [
|
|
@@ -7678,7 +7677,7 @@ const lr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7678
7677
|
}, Re = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), xt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), At = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Wn = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), yt = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Nt = (t) => {
|
|
7679
7678
|
const n = /* @__PURE__ */ new Date();
|
|
7680
7679
|
return { from: new Date(n.getTime() - t * 6e4), to: n };
|
|
7681
|
-
},
|
|
7680
|
+
}, Ws = [
|
|
7682
7681
|
{ id: "15m", label: "Last 15 minutes", range: () => Nt(15) },
|
|
7683
7682
|
{ id: "1h", label: "Last 1 hour", range: () => Nt(60) },
|
|
7684
7683
|
{ id: "3h", label: "Last 3 hours", range: () => Nt(180) },
|
|
@@ -7689,12 +7688,12 @@ const lr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7689
7688
|
], qe = (t) => {
|
|
7690
7689
|
const n = Re(/* @__PURE__ */ new Date());
|
|
7691
7690
|
return { from: At(n, -t), to: n };
|
|
7692
|
-
},
|
|
7691
|
+
}, Os = (t) => {
|
|
7693
7692
|
const n = At(Re(/* @__PURE__ */ new Date()), -1);
|
|
7694
7693
|
return { from: n, to: n };
|
|
7695
|
-
},
|
|
7694
|
+
}, Hs = [
|
|
7696
7695
|
{ id: "today", label: "Hoje", range: () => qe(0) },
|
|
7697
|
-
{ id: "yesterday", label: "Ontem", range: () =>
|
|
7696
|
+
{ id: "yesterday", label: "Ontem", range: () => Os() },
|
|
7698
7697
|
{ id: "7d", label: "Últimos 7 dias", range: () => qe(6) },
|
|
7699
7698
|
{ id: "10d", label: "Últimos 10 dias", range: () => qe(9) },
|
|
7700
7699
|
{ id: "15d", label: "Últimos 15 dias", range: () => qe(14) },
|
|
@@ -7702,14 +7701,14 @@ const lr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7702
7701
|
{ id: "30d", label: "Últimos 30 dias", range: () => qe(29) },
|
|
7703
7702
|
{ id: "90d", label: "Últimos 90 dias", range: () => qe(89) }
|
|
7704
7703
|
];
|
|
7705
|
-
function
|
|
7704
|
+
function js(t) {
|
|
7706
7705
|
if (!t) return "—";
|
|
7707
7706
|
let n = t.getHours();
|
|
7708
7707
|
const l = n < 12 ? "AM" : "PM";
|
|
7709
7708
|
return n = n % 12 || 12, `${n} : ${String(t.getMinutes()).padStart(2, "0")} ${l}`;
|
|
7710
7709
|
}
|
|
7711
|
-
const
|
|
7712
|
-
const g =
|
|
7710
|
+
const Vs = R(function({ value: n, presets: l = Ws, onApply: c, onCancel: s, accentVar: a, locale: r = "en-US", showTime: d = !0, maxDate: o, embedded: i = !1, className: h, ...u }, f) {
|
|
7711
|
+
const g = Ts[r], v = Re(/* @__PURE__ */ new Date()), y = o ? Re(o) : null, [x, $] = D(n ?? { from: v, to: v }), [_, p] = D(xt((n == null ? void 0 : n.from) ?? /* @__PURE__ */ new Date())), [b, S] = D(null), k = At(xt(_), -xt(_).getDay()), M = Array.from({ length: 42 }, (A, F) => At(k, F)), w = (A) => y ? Re(A) > y : !1, N = (A) => A ? g.formatDate(A) : /* @__PURE__ */ e("span", { className: "select-datepicker__placeholder", children: "— / — / ——" }), C = (A) => {
|
|
7713
7712
|
w(A) || (S(null), $((F) => !F.from || F.from && F.to ? { from: A, to: null } : A < Re(F.from) ? { from: A, to: null } : { from: F.from, to: A }));
|
|
7714
7713
|
}, L = (A) => {
|
|
7715
7714
|
if (A.disabled || !A.range) return;
|
|
@@ -7740,7 +7739,7 @@ const js = R(function({ value: n, presets: l = Ts, onApply: c, onCancel: s, acce
|
|
|
7740
7739
|
/* @__PURE__ */ e("div", { className: "select-datepicker__fields", children: ["from", "to"].map((A) => /* @__PURE__ */ m("div", { className: "select-datepicker__fieldrow", children: [
|
|
7741
7740
|
/* @__PURE__ */ e("span", { className: "select-datepicker__fieldlabel", children: A === "from" ? g.from : g.to }),
|
|
7742
7741
|
/* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--date", children: N(x[A]) }),
|
|
7743
|
-
d && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children:
|
|
7742
|
+
d && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children: js(x[A]) })
|
|
7744
7743
|
] }, A)) }),
|
|
7745
7744
|
/* @__PURE__ */ m("div", { className: "select-datepicker__calhead", children: [
|
|
7746
7745
|
/* @__PURE__ */ e(
|
|
@@ -7783,7 +7782,7 @@ const js = R(function({ value: n, presets: l = Ts, onApply: c, onCancel: s, acce
|
|
|
7783
7782
|
] })
|
|
7784
7783
|
] }) });
|
|
7785
7784
|
}), Ot = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Ht = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), jt = (t) => `${String(t.getDate()).padStart(2, "0")}/${String(t.getMonth() + 1).padStart(2, "0")}/${t.getFullYear()}`;
|
|
7786
|
-
function
|
|
7785
|
+
function Zs(t, n) {
|
|
7787
7786
|
var l;
|
|
7788
7787
|
for (const c of n) {
|
|
7789
7788
|
const s = (l = c.range) == null ? void 0 : l.call(c);
|
|
@@ -7794,7 +7793,7 @@ function Vs(t, n) {
|
|
|
7794
7793
|
function cr({
|
|
7795
7794
|
value: t,
|
|
7796
7795
|
onChange: n,
|
|
7797
|
-
presets: l =
|
|
7796
|
+
presets: l = Hs,
|
|
7798
7797
|
maxDate: c,
|
|
7799
7798
|
placement: s = "bottom-end",
|
|
7800
7799
|
size: a = "md",
|
|
@@ -7819,11 +7818,11 @@ function cr({
|
|
|
7819
7818
|
icon: /* @__PURE__ */ e(qn, {}),
|
|
7820
7819
|
trailingIcon: /* @__PURE__ */ e(be, {}),
|
|
7821
7820
|
onClick: () => i((u) => !u),
|
|
7822
|
-
children:
|
|
7821
|
+
children: Zs(t, l)
|
|
7823
7822
|
}
|
|
7824
7823
|
),
|
|
7825
7824
|
children: /* @__PURE__ */ e(
|
|
7826
|
-
|
|
7825
|
+
Vs,
|
|
7827
7826
|
{
|
|
7828
7827
|
embedded: !0,
|
|
7829
7828
|
locale: "pt-BR",
|
|
@@ -7840,7 +7839,7 @@ function cr({
|
|
|
7840
7839
|
}
|
|
7841
7840
|
);
|
|
7842
7841
|
}
|
|
7843
|
-
function
|
|
7842
|
+
function Gs({ size: t }) {
|
|
7844
7843
|
return /* @__PURE__ */ e("svg", { width: t, height: t, viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7845
7844
|
"path",
|
|
7846
7845
|
{
|
|
@@ -7852,7 +7851,7 @@ function Zs({ size: t }) {
|
|
|
7852
7851
|
const sr = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: r = !1, className: d, ...o }, i) {
|
|
7853
7852
|
const h = !!c && !r, [u, f] = D(null), g = u ?? n;
|
|
7854
7853
|
return /* @__PURE__ */ e("div", { ref: i, ...o, className: `select-rating${h ? " select-rating--interactive" : ""}${d ? " " + d : ""}`, 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, y) => {
|
|
7855
|
-
const x = y < g, $ = /* @__PURE__ */ e("span", { className: `select-rating__star${x ? " is-filled" : ""}`, children: /* @__PURE__ */ e(
|
|
7854
|
+
const x = y < g, $ = /* @__PURE__ */ e("span", { className: `select-rating__star${x ? " is-filled" : ""}`, children: /* @__PURE__ */ e(Gs, { size: s }) });
|
|
7856
7855
|
return h ? /* @__PURE__ */ e(
|
|
7857
7856
|
"button",
|
|
7858
7857
|
{
|
|
@@ -7962,7 +7961,7 @@ function or({
|
|
|
7962
7961
|
t.length === 0 && h != null && /* @__PURE__ */ e("div", { children: h }),
|
|
7963
7962
|
t.map((_, p) => {
|
|
7964
7963
|
const b = $(_, p);
|
|
7965
|
-
return i === "bare" ? /* @__PURE__ */ e("div", { children: l(_, b) }, p) : /* @__PURE__ */ e(
|
|
7964
|
+
return i === "bare" ? /* @__PURE__ */ e("div", { children: l(_, b) }, p) : /* @__PURE__ */ e(vc, { background: "surface", border: !0, borderRadius: "base", padding: "300", children: /* @__PURE__ */ m(Gt, { gap: "200", children: [
|
|
7966
7965
|
/* @__PURE__ */ m(st, { align: "space-between", blockAlign: "center", gap: "200", children: [
|
|
7967
7966
|
/* @__PURE__ */ e(Xe, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(p, _) : `#${p + 1}` }),
|
|
7968
7967
|
/* @__PURE__ */ m(st, { gap: "100", blockAlign: "center", wrap: !1, children: [
|
|
@@ -7995,9 +7994,9 @@ function rr({
|
|
|
7995
7994
|
preview: i,
|
|
7996
7995
|
children: h
|
|
7997
7996
|
}) {
|
|
7998
|
-
const u =
|
|
7997
|
+
const u = Cl();
|
|
7999
7998
|
return /* @__PURE__ */ e(
|
|
8000
|
-
|
|
7999
|
+
jc,
|
|
8001
8000
|
{
|
|
8002
8001
|
title: t,
|
|
8003
8002
|
subtitle: n,
|
|
@@ -8031,7 +8030,7 @@ const ir = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
|
|
|
8031
8030
|
] }),
|
|
8032
8031
|
a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
|
|
8033
8032
|
] });
|
|
8034
|
-
}),
|
|
8033
|
+
}), Us = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
|
|
8035
8034
|
function dr({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
|
|
8036
8035
|
return /* @__PURE__ */ e(
|
|
8037
8036
|
We,
|
|
@@ -8054,7 +8053,7 @@ function dr({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8054
8053
|
{
|
|
8055
8054
|
type: "color",
|
|
8056
8055
|
className: "select-color-swatch",
|
|
8057
|
-
value:
|
|
8056
|
+
value: Us(n) ? n : "#000000",
|
|
8058
8057
|
onChange: (r) => l(r.target.value),
|
|
8059
8058
|
disabled: c,
|
|
8060
8059
|
"aria-label": t ? `${t} — escolher cor` : "Escolher cor"
|
|
@@ -8063,7 +8062,7 @@ function dr({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8063
8062
|
}
|
|
8064
8063
|
);
|
|
8065
8064
|
}
|
|
8066
|
-
function
|
|
8065
|
+
function qs(t) {
|
|
8067
8066
|
return new Promise((n, l) => {
|
|
8068
8067
|
const c = new FileReader();
|
|
8069
8068
|
c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
|
|
@@ -8077,7 +8076,7 @@ const ur = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8077
8076
|
return;
|
|
8078
8077
|
}
|
|
8079
8078
|
if (y(null), !o) {
|
|
8080
|
-
c(await
|
|
8079
|
+
c(await qs(p)), g([]);
|
|
8081
8080
|
return;
|
|
8082
8081
|
}
|
|
8083
8082
|
g([p]);
|
|
@@ -8091,7 +8090,7 @@ const ur = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8091
8090
|
};
|
|
8092
8091
|
return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-imagefield${i ? " " + i : ""}`, children: [
|
|
8093
8092
|
/* @__PURE__ */ e(
|
|
8094
|
-
|
|
8093
|
+
nc,
|
|
8095
8094
|
{
|
|
8096
8095
|
label: n,
|
|
8097
8096
|
mode: "single",
|
|
@@ -8144,80 +8143,80 @@ const ur = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8144
8143
|
}) });
|
|
8145
8144
|
});
|
|
8146
8145
|
export {
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8146
|
+
ea as AUTH_FX_VARIANTS,
|
|
8147
|
+
ga as AppleIcon,
|
|
8148
|
+
Ra as AppsIcon,
|
|
8150
8149
|
On as ArrowLeftIcon,
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8150
|
+
xa as ArrowRightIcon,
|
|
8151
|
+
Na as AtIcon,
|
|
8152
|
+
fa as AuthAppIcon,
|
|
8153
|
+
ha as BellIcon,
|
|
8154
|
+
ra as BookmarkIcon,
|
|
8155
|
+
$a as BuildingIcon,
|
|
8157
8156
|
qn as CalendarIcon,
|
|
8158
|
-
|
|
8159
|
-
|
|
8157
|
+
Ia as ChartLineIcon,
|
|
8158
|
+
Yl as CheckCircleIcon,
|
|
8160
8159
|
Ae as CheckIcon,
|
|
8161
8160
|
be as ChevronDownIcon,
|
|
8162
8161
|
Kt as ChevronLeftIcon,
|
|
8163
8162
|
dt as ChevronRightIcon,
|
|
8164
8163
|
Yn as ChevronUpIcon,
|
|
8165
|
-
|
|
8166
|
-
|
|
8164
|
+
Xl as ClipboardIcon,
|
|
8165
|
+
oa as ClockIcon,
|
|
8167
8166
|
Ke as CloseIcon,
|
|
8168
8167
|
Qt as CopyIcon,
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
|
|
8168
|
+
Ca as CreditCardIcon,
|
|
8169
|
+
Vl as CubeIcon,
|
|
8170
|
+
Ea as DiscountIcon,
|
|
8171
|
+
aa as DotsHorizontalIcon,
|
|
8172
|
+
La as EditIcon,
|
|
8173
|
+
Ba as ExportIcon,
|
|
8175
8174
|
Hn as ExternalLinkIcon,
|
|
8176
8175
|
Zn as EyeIcon,
|
|
8177
8176
|
Gn as EyeOffIcon,
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8177
|
+
va as FacebookIcon,
|
|
8178
|
+
sa as FilterIcon,
|
|
8179
|
+
ca as GithubIcon,
|
|
8180
|
+
Ol as GlobeIcon,
|
|
8181
|
+
la as GoogleIcon,
|
|
8182
|
+
wa as HomeIcon,
|
|
8184
8183
|
en as InfoIcon,
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8184
|
+
ka as KeyIcon,
|
|
8185
|
+
Fa as LockIcon,
|
|
8186
|
+
_a as MailIcon,
|
|
8187
|
+
Ta as MenuIcon,
|
|
8188
|
+
Da as MinusCircleIcon,
|
|
8189
|
+
Ul as MobileIcon,
|
|
8191
8190
|
Vn as MonitorIcon,
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8191
|
+
Gl as MoonIcon,
|
|
8192
|
+
Kl as NoteIcon,
|
|
8193
|
+
ba as PasskeyIcon,
|
|
8194
|
+
ma as PhoneIcon,
|
|
8196
8195
|
nt as PlusIcon,
|
|
8197
|
-
|
|
8198
|
-
|
|
8196
|
+
ql as RefreshIcon,
|
|
8197
|
+
pa as RocketIcon,
|
|
8199
8198
|
D1 as SELECT_COL_DATETIME,
|
|
8200
8199
|
Zt as SELECT_COUNTRIES,
|
|
8201
|
-
|
|
8202
|
-
|
|
8200
|
+
Hs as SELECT_DAILY_PRESETS,
|
|
8201
|
+
Ws as SELECT_DATE_PRESETS,
|
|
8203
8202
|
ze as SELECT_SPACE,
|
|
8204
|
-
|
|
8203
|
+
hc as SELECT_TRANSACTION_STATUS,
|
|
8205
8204
|
Jt as SearchIcon,
|
|
8206
8205
|
hr as SelectAccordion,
|
|
8207
|
-
|
|
8206
|
+
A1 as SelectActionCard,
|
|
8208
8207
|
cl as SelectActionList,
|
|
8209
|
-
|
|
8210
|
-
|
|
8208
|
+
t1 as SelectActionMenu,
|
|
8209
|
+
tc as SelectAddButton,
|
|
8211
8210
|
ut as SelectAlert,
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8211
|
+
F1 as SelectAppTile,
|
|
8212
|
+
ta as SelectAuthFx,
|
|
8213
|
+
Tc as SelectAvatar,
|
|
8214
|
+
u1 as SelectBackLink,
|
|
8216
8215
|
nl as SelectBadge,
|
|
8217
8216
|
Y1 as SelectBalanceCard,
|
|
8218
|
-
|
|
8217
|
+
qa as SelectBankAccountField,
|
|
8219
8218
|
Q1 as SelectBarChart,
|
|
8220
|
-
|
|
8219
|
+
vc as SelectBox,
|
|
8221
8220
|
bo as SelectBoxPlot,
|
|
8222
8221
|
rr as SelectBuilderLayout,
|
|
8223
8222
|
po as SelectBullet,
|
|
@@ -8225,93 +8224,93 @@ export {
|
|
|
8225
8224
|
ve as SelectButton,
|
|
8226
8225
|
yo as SelectCalendarHeatmap,
|
|
8227
8226
|
go as SelectCandlestick,
|
|
8228
|
-
|
|
8227
|
+
na as SelectCard,
|
|
8229
8228
|
K1 as SelectChartCard,
|
|
8230
|
-
|
|
8229
|
+
Oa as SelectCheckbox,
|
|
8231
8230
|
Ao as SelectChord,
|
|
8232
8231
|
Vo as SelectCirclePack,
|
|
8233
|
-
|
|
8232
|
+
L1 as SelectCollapsible,
|
|
8234
8233
|
dr as SelectColorField,
|
|
8235
8234
|
co as SelectColumnChart,
|
|
8236
8235
|
no as SelectComboChart,
|
|
8237
8236
|
Go as SelectCombobox,
|
|
8238
8237
|
P1 as SelectConfirmModal,
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8238
|
+
S1 as SelectCopyRow,
|
|
8239
|
+
C1 as SelectCopyableId,
|
|
8240
|
+
B1 as SelectCreateTile,
|
|
8242
8241
|
W1 as SelectDataTable,
|
|
8243
|
-
|
|
8244
|
-
|
|
8242
|
+
hs as SelectDateField,
|
|
8243
|
+
Vs as SelectDatePicker,
|
|
8245
8244
|
cr as SelectDateRangeField,
|
|
8246
8245
|
Yo as SelectDetailList,
|
|
8247
8246
|
zo as SelectDetailRow,
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8247
|
+
bc as SelectDisclosureButton,
|
|
8248
|
+
a1 as SelectDivider,
|
|
8249
|
+
Za as SelectDocumentField,
|
|
8251
8250
|
lo as SelectDonut,
|
|
8252
|
-
|
|
8251
|
+
Qs as SelectDotField,
|
|
8253
8252
|
$o as SelectDumbbell,
|
|
8254
8253
|
z1 as SelectFeeBreakdown,
|
|
8255
8254
|
We as SelectField,
|
|
8256
|
-
|
|
8257
|
-
|
|
8255
|
+
lc as SelectFieldGrid,
|
|
8256
|
+
Ga as SelectFileDropzone,
|
|
8258
8257
|
wt as SelectFileTile,
|
|
8259
8258
|
O1 as SelectFilterBar,
|
|
8260
|
-
|
|
8261
|
-
|
|
8259
|
+
w1 as SelectFilterChip,
|
|
8260
|
+
m1 as SelectFormLayout,
|
|
8262
8261
|
R1 as SelectFormModal,
|
|
8263
8262
|
so as SelectFunnel,
|
|
8264
8263
|
ao as SelectGauge,
|
|
8265
8264
|
wo as SelectGaugeBands,
|
|
8266
8265
|
Eo as SelectGlobe,
|
|
8267
|
-
|
|
8266
|
+
n1 as SelectGrid,
|
|
8268
8267
|
oo as SelectHeatmap,
|
|
8269
8268
|
Fo as SelectHexbin,
|
|
8270
8269
|
q1 as SelectHideMoneyToggle,
|
|
8271
8270
|
uo as SelectHorizontalBar,
|
|
8272
8271
|
Oo as SelectIcicle,
|
|
8273
|
-
|
|
8272
|
+
_1 as SelectIcon,
|
|
8274
8273
|
ge as SelectIconButton,
|
|
8275
|
-
|
|
8274
|
+
i1 as SelectIdentityFooter,
|
|
8276
8275
|
ur as SelectImageField,
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8276
|
+
nc as SelectImageUploadField,
|
|
8277
|
+
Ua as SelectImageUrlsField,
|
|
8278
|
+
Rs as SelectImageZoomModal,
|
|
8280
8279
|
st as SelectInline,
|
|
8281
|
-
|
|
8280
|
+
c1 as SelectJsonViewer,
|
|
8282
8281
|
lr as SelectKeyValueEditor,
|
|
8283
8282
|
X1 as SelectKpiCard,
|
|
8284
8283
|
lt as SelectLabelRow,
|
|
8285
8284
|
eo as SelectLineChart,
|
|
8286
|
-
|
|
8285
|
+
Dc as SelectLinkButton,
|
|
8287
8286
|
Jo as SelectListCard,
|
|
8288
8287
|
Qo as SelectListRow,
|
|
8289
|
-
|
|
8288
|
+
Hc as SelectLoader,
|
|
8290
8289
|
ko as SelectMarimekko,
|
|
8291
8290
|
tr as SelectMediaCell,
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8291
|
+
Jc as SelectMenu,
|
|
8292
|
+
es as SelectMenuButton,
|
|
8293
|
+
k1 as SelectMenuDivider,
|
|
8294
|
+
Qc as SelectMenuItem,
|
|
8295
|
+
Ss as SelectMetricDelta,
|
|
8297
8296
|
It as SelectModal,
|
|
8298
8297
|
at as SelectMoney,
|
|
8299
|
-
|
|
8298
|
+
Va as SelectMoneyField,
|
|
8300
8299
|
Zo as SelectNetwork,
|
|
8301
|
-
|
|
8300
|
+
v1 as SelectNote,
|
|
8302
8301
|
ar as SelectNumberField,
|
|
8303
8302
|
nr as SelectOfflineModal,
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8309
|
-
|
|
8303
|
+
o1 as SelectOptionList,
|
|
8304
|
+
r1 as SelectOptionRow,
|
|
8305
|
+
d1 as SelectOtpInput,
|
|
8306
|
+
jc as SelectPage,
|
|
8307
|
+
cs as SelectPagination,
|
|
8308
|
+
x1 as SelectPanel,
|
|
8310
8309
|
Wo as SelectParallel,
|
|
8311
8310
|
Po as SelectPareto,
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8311
|
+
p1 as SelectPasswordStrength,
|
|
8312
|
+
l1 as SelectPaymentBrand,
|
|
8313
|
+
Ka as SelectPhoneField,
|
|
8315
8314
|
Ko as SelectPlanCard,
|
|
8316
8315
|
No as SelectPolarArea,
|
|
8317
8316
|
Oe as SelectPopover,
|
|
@@ -8320,86 +8319,86 @@ export {
|
|
|
8320
8319
|
Do as SelectPyramid,
|
|
8321
8320
|
_o as SelectRadar,
|
|
8322
8321
|
io as SelectRadialBar,
|
|
8323
|
-
|
|
8322
|
+
Ja as SelectRadioGroup,
|
|
8324
8323
|
xo as SelectRangeBar,
|
|
8325
8324
|
sr as SelectRating,
|
|
8326
8325
|
or as SelectRepeatingFieldArray,
|
|
8327
|
-
|
|
8326
|
+
h1 as SelectResendButton,
|
|
8328
8327
|
I1 as SelectRowActions,
|
|
8329
8328
|
vo as SelectSankey,
|
|
8330
8329
|
fo as SelectScatter,
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8330
|
+
fl as SelectSearchInput,
|
|
8331
|
+
y1 as SelectSection,
|
|
8332
|
+
Qa as SelectSegmented,
|
|
8334
8333
|
Vt as SelectSelect,
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8334
|
+
ks as SelectSensitiveValue,
|
|
8335
|
+
g1 as SelectSettingList,
|
|
8336
|
+
b1 as SelectSettingRow,
|
|
8337
|
+
M1 as SelectSideNav,
|
|
8338
|
+
f1 as SelectSkeleton,
|
|
8340
8339
|
Mo as SelectSlope,
|
|
8341
8340
|
J1 as SelectSparkline,
|
|
8342
8341
|
Gt as SelectStack,
|
|
8343
8342
|
to as SelectStackedArea,
|
|
8344
|
-
|
|
8343
|
+
e1 as SelectStatusBadge,
|
|
8345
8344
|
Xo as SelectSteps,
|
|
8346
8345
|
So as SelectStreamGraph,
|
|
8347
8346
|
Co as SelectSunburst,
|
|
8348
8347
|
j1 as SelectSurface,
|
|
8349
8348
|
nn as SelectSwitch,
|
|
8350
8349
|
ir as SelectSwitchField,
|
|
8351
|
-
|
|
8350
|
+
Xc as SelectTable,
|
|
8352
8351
|
xn as SelectTableCell,
|
|
8353
|
-
|
|
8352
|
+
Kc as SelectTableEmpty,
|
|
8354
8353
|
bn as SelectTableRow,
|
|
8355
|
-
|
|
8354
|
+
N1 as SelectTabs,
|
|
8356
8355
|
H1 as SelectTagSelect,
|
|
8357
8356
|
Xe as SelectText,
|
|
8358
|
-
|
|
8357
|
+
Ha as SelectTextarea,
|
|
8359
8358
|
qo as SelectThemeSwitcher,
|
|
8360
8359
|
Dn as SelectThumbnail,
|
|
8361
8360
|
Io as SelectTicker,
|
|
8362
|
-
|
|
8361
|
+
s1 as SelectTimeline,
|
|
8363
8362
|
V1 as SelectToastProvider,
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
|
|
8363
|
+
Ya as SelectToggleList,
|
|
8364
|
+
Xa as SelectTogglePanel,
|
|
8365
|
+
za as SelectToggleRow,
|
|
8366
|
+
sl as SelectTooltip,
|
|
8368
8367
|
Ho as SelectTree,
|
|
8369
8368
|
mo as SelectTreemap,
|
|
8370
|
-
|
|
8371
|
-
|
|
8369
|
+
ja as SelectUnitInput,
|
|
8370
|
+
$1 as SelectUserCell,
|
|
8372
8371
|
U1 as SelectValueVisibilityProvider,
|
|
8373
8372
|
jo as SelectVenn,
|
|
8374
8373
|
Lo as SelectViolin,
|
|
8375
8374
|
Ro as SelectWaffle,
|
|
8376
8375
|
ho as SelectWaterfall,
|
|
8377
8376
|
Bo as SelectWordCloud,
|
|
8378
|
-
|
|
8377
|
+
E1 as SelectWorkspaceSwitcher,
|
|
8379
8378
|
er as SelectZoomThumbnail,
|
|
8380
8379
|
jn as SelectorIcon,
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8380
|
+
Aa as SendIcon,
|
|
8381
|
+
Wl as Setting4Icon,
|
|
8382
|
+
zl as SettingsIcon,
|
|
8383
|
+
ya as ShieldIcon,
|
|
8384
|
+
da as SplitIcon,
|
|
8385
|
+
ia as StarIcon,
|
|
8386
|
+
Pa as StoreIcon,
|
|
8387
|
+
Wa as StorefrontIcon,
|
|
8388
|
+
Zl as SunIcon,
|
|
8389
|
+
jl as TerminalIcon,
|
|
8391
8390
|
Un as TrashIcon,
|
|
8392
8391
|
kt as UploadIcon,
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8392
|
+
ua as UserIcon,
|
|
8393
|
+
Sa as WalletIcon,
|
|
8394
|
+
Hl as WarningIcon,
|
|
8395
|
+
Ma as Web3Icon,
|
|
8397
8396
|
ht as detectSelectTheme,
|
|
8398
|
-
|
|
8399
|
-
|
|
8397
|
+
uc as dialCodeOf,
|
|
8398
|
+
Oc as passwordScore,
|
|
8400
8399
|
Uo as resolveSelectTheme,
|
|
8401
8400
|
T1 as useSelectPageSize,
|
|
8402
8401
|
Z1 as useSelectToast,
|
|
8403
|
-
|
|
8402
|
+
xl as useSelectValueVisibility
|
|
8404
8403
|
};
|
|
8405
8404
|
//# sourceMappingURL=index.js.map
|