@selectwin/kit 0.1.142 → 0.1.143
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/SelectKbd.d.ts +7 -0
- package/dist/SelectSearchMenu.d.ts +7 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +195 -153
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26637,10 +26637,41 @@ function bu({ nodes: e, links: t, height: n = 300, format: r = Z, className: i,
|
|
|
26637
26637
|
}
|
|
26638
26638
|
//#endregion
|
|
26639
26639
|
//#region src/SelectSearchMenu.tsx
|
|
26640
|
-
|
|
26641
|
-
|
|
26640
|
+
var xu = "[role=\"option\"]:not([disabled])";
|
|
26641
|
+
function Su({ search: e, onSearchChange: t, searchPlaceholder: n = "Buscar…", status: r, footer: i, width: a = "min(22rem, 86vw)", autoFocus: s = !1, selectFirstOnEnter: c = !1, listMaxHeight: l, children: u }) {
|
|
26642
|
+
let f = d(null);
|
|
26643
|
+
return o(() => {
|
|
26644
|
+
if (!s) return;
|
|
26645
|
+
let e = window.setTimeout(() => {
|
|
26646
|
+
var e;
|
|
26647
|
+
return (e = f.current) == null || (e = e.querySelector("input")) == null ? void 0 : e.focus({ preventScroll: !0 });
|
|
26648
|
+
}, 0);
|
|
26649
|
+
return () => window.clearTimeout(e);
|
|
26650
|
+
}, [s]), /* @__PURE__ */ g("div", {
|
|
26651
|
+
ref: f,
|
|
26642
26652
|
className: "select-combobox__panel select-searchmenu",
|
|
26643
26653
|
style: { width: a },
|
|
26654
|
+
onKeyDown: (e) => {
|
|
26655
|
+
let t = f.current;
|
|
26656
|
+
if (!t) return;
|
|
26657
|
+
let n = t.querySelector("input"), r = Array.from(t.querySelectorAll(xu)), i = r.indexOf(document.activeElement);
|
|
26658
|
+
if (e.key === "ArrowDown") {
|
|
26659
|
+
var a;
|
|
26660
|
+
if (r.length === 0) return;
|
|
26661
|
+
e.preventDefault(), (a = r[i === -1 ? 0 : Math.min(i + 1, r.length - 1)]) == null || a.focus();
|
|
26662
|
+
} else if (e.key === "ArrowUp") {
|
|
26663
|
+
var o;
|
|
26664
|
+
if (i === -1) return;
|
|
26665
|
+
e.preventDefault(), i === 0 ? n == null || n.focus() : (o = r[i - 1]) == null || o.focus();
|
|
26666
|
+
} else if ((e.key === "Home" || e.key === "End") && i !== -1) {
|
|
26667
|
+
var s;
|
|
26668
|
+
e.preventDefault(), (s = r[e.key === "Home" ? 0 : r.length - 1]) == null || s.focus();
|
|
26669
|
+
} else if (e.key === "Enter" && c && document.activeElement === n) {
|
|
26670
|
+
let t = r[0];
|
|
26671
|
+
if (!t) return;
|
|
26672
|
+
e.preventDefault(), t.click();
|
|
26673
|
+
}
|
|
26674
|
+
},
|
|
26644
26675
|
children: [
|
|
26645
26676
|
/* @__PURE__ */ h("div", {
|
|
26646
26677
|
className: "select-combobox__search",
|
|
@@ -26654,7 +26685,10 @@ function xu({ search: e, onSearchChange: t, searchPlaceholder: n = "Buscar…",
|
|
|
26654
26685
|
className: "select-combobox__empty",
|
|
26655
26686
|
role: "status",
|
|
26656
26687
|
children: r
|
|
26657
|
-
}) : /* @__PURE__ */ h(
|
|
26688
|
+
}) : /* @__PURE__ */ h(Cu, {
|
|
26689
|
+
maxHeight: l,
|
|
26690
|
+
children: u
|
|
26691
|
+
}),
|
|
26658
26692
|
i != null && i !== !1 ? /* @__PURE__ */ h("div", {
|
|
26659
26693
|
className: "select-searchmenu__footer",
|
|
26660
26694
|
children: i
|
|
@@ -26662,8 +26696,8 @@ function xu({ search: e, onSearchChange: t, searchPlaceholder: n = "Buscar…",
|
|
|
26662
26696
|
]
|
|
26663
26697
|
});
|
|
26664
26698
|
}
|
|
26665
|
-
function
|
|
26666
|
-
let
|
|
26699
|
+
function Cu({ children: e, maxHeight: t }) {
|
|
26700
|
+
let n = Wn({
|
|
26667
26701
|
selector: ".select-combobox__option",
|
|
26668
26702
|
y: 6,
|
|
26669
26703
|
duration: .3,
|
|
@@ -26672,11 +26706,12 @@ function Su({ children: e }) {
|
|
|
26672
26706
|
return /* @__PURE__ */ h("div", {
|
|
26673
26707
|
className: "select-combobox__list",
|
|
26674
26708
|
role: "listbox",
|
|
26675
|
-
ref:
|
|
26709
|
+
ref: n,
|
|
26710
|
+
style: t ? { maxHeight: t } : void 0,
|
|
26676
26711
|
children: e
|
|
26677
26712
|
});
|
|
26678
26713
|
}
|
|
26679
|
-
function
|
|
26714
|
+
function wu({ label: e, children: t }) {
|
|
26680
26715
|
return (Array.isArray(t) ? t.some((e) => e != null && e !== !1) : t != null && t !== !1) ? /* @__PURE__ */ g("div", {
|
|
26681
26716
|
role: "group",
|
|
26682
26717
|
className: "select-searchmenu__group",
|
|
@@ -26688,7 +26723,7 @@ function Cu({ label: e, children: t }) {
|
|
|
26688
26723
|
}), t]
|
|
26689
26724
|
}) : null;
|
|
26690
26725
|
}
|
|
26691
|
-
function
|
|
26726
|
+
function Tu({ label: e, secondary: t, trailing: n, selected: r = !1, disabled: i = !1, onSelect: a }) {
|
|
26692
26727
|
return /* @__PURE__ */ g("button", {
|
|
26693
26728
|
type: "button",
|
|
26694
26729
|
role: "option",
|
|
@@ -26720,8 +26755,15 @@ function wu({ label: e, secondary: t, trailing: n, selected: r = !1, disabled: i
|
|
|
26720
26755
|
});
|
|
26721
26756
|
}
|
|
26722
26757
|
//#endregion
|
|
26723
|
-
//#region src/
|
|
26724
|
-
var
|
|
26758
|
+
//#region src/SelectKbd.tsx
|
|
26759
|
+
var Eu = r(function({ children: e, className: t, ...n }, r) {
|
|
26760
|
+
return /* @__PURE__ */ h("kbd", {
|
|
26761
|
+
ref: r,
|
|
26762
|
+
...n,
|
|
26763
|
+
className: `select-kbd${t ? " " + t : ""}`,
|
|
26764
|
+
children: e
|
|
26765
|
+
});
|
|
26766
|
+
}), Du = [
|
|
26725
26767
|
{
|
|
26726
26768
|
value: "light",
|
|
26727
26769
|
label: "Claro",
|
|
@@ -26738,15 +26780,15 @@ var Tu = [
|
|
|
26738
26780
|
icon: /* @__PURE__ */ h(Oe, {})
|
|
26739
26781
|
}
|
|
26740
26782
|
];
|
|
26741
|
-
function
|
|
26783
|
+
function Ou(e) {
|
|
26742
26784
|
if (e === "system") {
|
|
26743
26785
|
var t, n;
|
|
26744
26786
|
return (t = (n = window).matchMedia) != null && t.call(n, "(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
26745
26787
|
}
|
|
26746
26788
|
return e;
|
|
26747
26789
|
}
|
|
26748
|
-
function
|
|
26749
|
-
let [i, a] = f(!1), s = d(null), c =
|
|
26790
|
+
function ku({ value: e, onChange: t, className: n, ...r }) {
|
|
26791
|
+
let [i, a] = f(!1), s = d(null), c = Du.find((t) => t.value === e) ?? Du[2];
|
|
26750
26792
|
return o(() => {
|
|
26751
26793
|
if (!i) return;
|
|
26752
26794
|
let e = (e) => {
|
|
@@ -26766,7 +26808,7 @@ function Du({ value: e, onChange: t, className: n, ...r }) {
|
|
|
26766
26808
|
})
|
|
26767
26809
|
}), i && /* @__PURE__ */ h("div", {
|
|
26768
26810
|
className: "select-themeswitcher__popover",
|
|
26769
|
-
children: /* @__PURE__ */ h(Ga, { children:
|
|
26811
|
+
children: /* @__PURE__ */ h(Ga, { children: Du.map((n) => /* @__PURE__ */ h(qa, {
|
|
26770
26812
|
icon: n.icon,
|
|
26771
26813
|
active: n.value === e,
|
|
26772
26814
|
trailing: n.value === e ? /* @__PURE__ */ h(Be, {}) : null,
|
|
@@ -26780,8 +26822,8 @@ function Du({ value: e, onChange: t, className: n, ...r }) {
|
|
|
26780
26822
|
}
|
|
26781
26823
|
//#endregion
|
|
26782
26824
|
//#region src/SelectDetail.tsx
|
|
26783
|
-
var
|
|
26784
|
-
function
|
|
26825
|
+
var Au = n(!1);
|
|
26826
|
+
function ju({ children: e, stacked: t = !1, compact: n = !1, loading: r = !1 }) {
|
|
26785
26827
|
let i = Wn({
|
|
26786
26828
|
selector: ".select-detail",
|
|
26787
26829
|
y: 8,
|
|
@@ -26789,7 +26831,7 @@ function ku({ children: e, stacked: t = !1, compact: n = !1, loading: r = !1 })
|
|
|
26789
26831
|
stagger: .05,
|
|
26790
26832
|
scroll: !0
|
|
26791
26833
|
});
|
|
26792
|
-
return /* @__PURE__ */ h(
|
|
26834
|
+
return /* @__PURE__ */ h(Au.Provider, {
|
|
26793
26835
|
value: r,
|
|
26794
26836
|
children: /* @__PURE__ */ h("div", {
|
|
26795
26837
|
className: `select-detaillist${t ? " select-detaillist--stacked" : ""}${n ? " select-detaillist--compact" : ""}`,
|
|
@@ -26798,8 +26840,8 @@ function ku({ children: e, stacked: t = !1, compact: n = !1, loading: r = !1 })
|
|
|
26798
26840
|
})
|
|
26799
26841
|
});
|
|
26800
26842
|
}
|
|
26801
|
-
var
|
|
26802
|
-
let l = a(
|
|
26843
|
+
var Mu = r(function({ label: e, children: t, action: n, align: r = "center", loading: i, className: o, ...s }, c) {
|
|
26844
|
+
let l = a(Au), u = i ?? l;
|
|
26803
26845
|
return /* @__PURE__ */ g("div", {
|
|
26804
26846
|
ref: c,
|
|
26805
26847
|
...s,
|
|
@@ -26819,7 +26861,7 @@ var Au = r(function({ label: e, children: t, action: n, align: r = "center", loa
|
|
|
26819
26861
|
})
|
|
26820
26862
|
]
|
|
26821
26863
|
});
|
|
26822
|
-
}),
|
|
26864
|
+
}), Nu = r(function({ steps: e, current: t, onSelect: n, orientation: r = "horizontal", connected: i = !1, className: a, ...o }, s) {
|
|
26823
26865
|
let c = r === "vertical";
|
|
26824
26866
|
return /* @__PURE__ */ h("ol", {
|
|
26825
26867
|
ref: s,
|
|
@@ -26862,7 +26904,7 @@ var Au = r(function({ label: e, children: t, action: n, align: r = "center", loa
|
|
|
26862
26904
|
});
|
|
26863
26905
|
//#endregion
|
|
26864
26906
|
//#region src/SelectSetupGuide.tsx
|
|
26865
|
-
function
|
|
26907
|
+
function Pu({ status: e }) {
|
|
26866
26908
|
return /* @__PURE__ */ h("span", {
|
|
26867
26909
|
className: `select-setupguide__icon select-setupguide__icon--${e}`,
|
|
26868
26910
|
"aria-hidden": "true",
|
|
@@ -26881,13 +26923,13 @@ function Mu({ status: e }) {
|
|
|
26881
26923
|
})
|
|
26882
26924
|
});
|
|
26883
26925
|
}
|
|
26884
|
-
var
|
|
26926
|
+
var Fu = {
|
|
26885
26927
|
done: "feito",
|
|
26886
26928
|
todo: "a fazer",
|
|
26887
26929
|
next: "próximo passo",
|
|
26888
26930
|
skipped: "pulado",
|
|
26889
26931
|
waiting: "aguardando"
|
|
26890
|
-
},
|
|
26932
|
+
}, Iu = r(function({ title: e, description: t, progress: n, actions: r, next: i, groups: a, minimized: o = !1, tone: s = "default", className: c, ...l }, u) {
|
|
26891
26933
|
let d = n && n.total > 0 ? Math.round(n.done / n.total * 100) : 0;
|
|
26892
26934
|
return /* @__PURE__ */ g("section", {
|
|
26893
26935
|
ref: u,
|
|
@@ -26950,14 +26992,14 @@ var Nu = {
|
|
|
26950
26992
|
children: e.steps.map((e) => /* @__PURE__ */ g("li", {
|
|
26951
26993
|
className: `select-setupguide__step is-${e.status}`,
|
|
26952
26994
|
children: [
|
|
26953
|
-
/* @__PURE__ */ h(
|
|
26995
|
+
/* @__PURE__ */ h(Pu, { status: e.status }),
|
|
26954
26996
|
/* @__PURE__ */ g("span", {
|
|
26955
26997
|
className: "select-setupguide__text",
|
|
26956
26998
|
children: [/* @__PURE__ */ g("span", {
|
|
26957
26999
|
className: "select-setupguide__steptitle",
|
|
26958
27000
|
children: [e.title, /* @__PURE__ */ g("span", {
|
|
26959
27001
|
className: "select-setupguide__sr",
|
|
26960
|
-
children: [" — ",
|
|
27002
|
+
children: [" — ", Fu[e.status]]
|
|
26961
27003
|
})]
|
|
26962
27004
|
}), e.description && /* @__PURE__ */ h("span", {
|
|
26963
27005
|
className: "select-setupguide__stepdesc",
|
|
@@ -26976,7 +27018,7 @@ var Nu = {
|
|
|
26976
27018
|
})]
|
|
26977
27019
|
});
|
|
26978
27020
|
});
|
|
26979
|
-
function
|
|
27021
|
+
function Lu({ eyebrow: e, title: t, children: n, actions: r }) {
|
|
26980
27022
|
return /* @__PURE__ */ g("div", {
|
|
26981
27023
|
className: "select-setupnext",
|
|
26982
27024
|
children: [
|
|
@@ -27001,37 +27043,37 @@ function Fu({ eyebrow: e, title: t, children: n, actions: r }) {
|
|
|
27001
27043
|
}
|
|
27002
27044
|
//#endregion
|
|
27003
27045
|
//#region src/SelectTour.tsx
|
|
27004
|
-
var
|
|
27005
|
-
function
|
|
27046
|
+
var Ru = 6, zu = 12;
|
|
27047
|
+
function Bu(e) {
|
|
27006
27048
|
let t = document.querySelector(e);
|
|
27007
27049
|
if (!t) return null;
|
|
27008
27050
|
let n = t.getBoundingClientRect();
|
|
27009
27051
|
return n.width === 0 && n.height === 0 ? null : {
|
|
27010
|
-
top: n.top -
|
|
27011
|
-
left: n.left -
|
|
27052
|
+
top: n.top - Ru,
|
|
27053
|
+
left: n.left - Ru,
|
|
27012
27054
|
width: n.width + 12,
|
|
27013
27055
|
height: n.height + 12
|
|
27014
27056
|
};
|
|
27015
27057
|
}
|
|
27016
|
-
function
|
|
27058
|
+
function Vu(e) {
|
|
27017
27059
|
let t = document.querySelector(e);
|
|
27018
27060
|
if (!t) return !1;
|
|
27019
27061
|
let n = t.getBoundingClientRect();
|
|
27020
27062
|
return n.width === 0 && n.height === 0 || n.right <= 0 || n.left >= window.innerWidth ? !1 : getComputedStyle(t).visibility !== "hidden";
|
|
27021
27063
|
}
|
|
27022
|
-
function
|
|
27023
|
-
let s = u(() => e ? t.filter((e) =>
|
|
27064
|
+
function Hu({ open: e, steps: t, onClose: n, labels: r = {}, theme: a = "light" }) {
|
|
27065
|
+
let s = u(() => e ? t.filter((e) => Vu(e.target)) : [], [e]), [c, p] = f(0), [m, v] = f(null), [y, b] = f(null), x = d(null), S = d(null);
|
|
27024
27066
|
o(() => {
|
|
27025
27067
|
e && p(0);
|
|
27026
27068
|
}, [e]);
|
|
27027
27069
|
let C = s[c], w = c === s.length - 1, T = i(() => {
|
|
27028
27070
|
if (!C) return;
|
|
27029
|
-
let e =
|
|
27071
|
+
let e = Bu(C.target);
|
|
27030
27072
|
v(e);
|
|
27031
27073
|
let t = x.current;
|
|
27032
27074
|
if (!e || !t) return;
|
|
27033
|
-
let n = t.offsetWidth, r = t.offsetHeight, i = window.innerWidth, a = window.innerHeight, o = e.left + e.width +
|
|
27034
|
-
o + n > i - 8 && (o = Math.min(Math.max(8, e.left), i - n - 8), s = e.top + e.height +
|
|
27075
|
+
let n = t.offsetWidth, r = t.offsetHeight, i = window.innerWidth, a = window.innerHeight, o = e.left + e.width + zu, s = e.top;
|
|
27076
|
+
o + n > i - 8 && (o = Math.min(Math.max(8, e.left), i - n - 8), s = e.top + e.height + zu, s + r > a - 8 && (s = e.top - r - zu)), s = Math.min(Math.max(8, s), a - r - 8), b({
|
|
27035
27077
|
top: s,
|
|
27036
27078
|
left: o
|
|
27037
27079
|
});
|
|
@@ -27133,7 +27175,7 @@ function Bu({ open: e, steps: t, onClose: n, labels: r = {}, theme: a = "light"
|
|
|
27133
27175
|
}
|
|
27134
27176
|
//#endregion
|
|
27135
27177
|
//#region src/SelectPlanCard.tsx
|
|
27136
|
-
var
|
|
27178
|
+
var Uu = r(function({ name: e, price: t, priceSuffix: n, headerAction: r, summary: i, cta: a, featuresTitle: o, features: s, featured: c = !1, className: l, ...u }, d) {
|
|
27137
27179
|
return /* @__PURE__ */ g("div", {
|
|
27138
27180
|
ref: d,
|
|
27139
27181
|
...u,
|
|
@@ -27188,7 +27230,7 @@ var Vu = r(function({ name: e, price: t, priceSuffix: n, headerAction: r, summar
|
|
|
27188
27230
|
})]
|
|
27189
27231
|
})]
|
|
27190
27232
|
});
|
|
27191
|
-
}),
|
|
27233
|
+
}), Wu = r(function({ title: e, description: t, headerAction: n, footer: r, dense: i = !1, spread: a = !1, children: o, className: s, ...c }, l) {
|
|
27192
27234
|
return /* @__PURE__ */ g("div", {
|
|
27193
27235
|
ref: l,
|
|
27194
27236
|
...c,
|
|
@@ -27224,7 +27266,7 @@ var Vu = r(function({ name: e, price: t, priceSuffix: n, headerAction: r, summar
|
|
|
27224
27266
|
]
|
|
27225
27267
|
});
|
|
27226
27268
|
});
|
|
27227
|
-
function
|
|
27269
|
+
function Gu({ media: e, mediaSize: t = "icon", title: n, secondary: r, action: i, muted: a = !1, wrap: o = !1, onClick: s }) {
|
|
27228
27270
|
let c = /* @__PURE__ */ g(m, { children: [
|
|
27229
27271
|
e && /* @__PURE__ */ h("span", {
|
|
27230
27272
|
className: `select-listrow__media${t === "auto" ? " select-listrow__media--auto" : ""}`,
|
|
@@ -27256,7 +27298,7 @@ function Uu({ media: e, mediaSize: t = "icon", title: n, secondary: r, action: i
|
|
|
27256
27298
|
children: c
|
|
27257
27299
|
});
|
|
27258
27300
|
}
|
|
27259
|
-
function
|
|
27301
|
+
function Ku({ children: e }) {
|
|
27260
27302
|
return /* @__PURE__ */ h("div", {
|
|
27261
27303
|
className: "select-listlabel",
|
|
27262
27304
|
children: e
|
|
@@ -27264,7 +27306,7 @@ function Wu({ children: e }) {
|
|
|
27264
27306
|
}
|
|
27265
27307
|
//#endregion
|
|
27266
27308
|
//#region src/SelectThumbnail.tsx
|
|
27267
|
-
var
|
|
27309
|
+
var qu = r(function({ src: e, alt: t = "", size: n = 40, count: r, className: i, ...a }, s) {
|
|
27268
27310
|
let [c, l] = f(!1);
|
|
27269
27311
|
o(() => l(!1), [e]);
|
|
27270
27312
|
let u = /* @__PURE__ */ h("span", {
|
|
@@ -27298,7 +27340,7 @@ var Gu = r(function({ src: e, alt: t = "", size: n = 40, count: r, className: i,
|
|
|
27298
27340
|
});
|
|
27299
27341
|
//#endregion
|
|
27300
27342
|
//#region src/SelectImageZoomModal.tsx
|
|
27301
|
-
function
|
|
27343
|
+
function Ju({ open: e, onClose: t, src: n, alt: r, title: i }) {
|
|
27302
27344
|
return /* @__PURE__ */ h(lo, {
|
|
27303
27345
|
open: e,
|
|
27304
27346
|
onClose: t,
|
|
@@ -27317,7 +27359,7 @@ function Ku({ open: e, onClose: t, src: n, alt: r, title: i }) {
|
|
|
27317
27359
|
}
|
|
27318
27360
|
//#endregion
|
|
27319
27361
|
//#region src/SelectZoomThumbnail.tsx
|
|
27320
|
-
function
|
|
27362
|
+
function Yu({ src: e, alt: t = "", size: n = 40, title: r, count: i }) {
|
|
27321
27363
|
let [a, o] = f(!1);
|
|
27322
27364
|
return e ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("button", {
|
|
27323
27365
|
type: "button",
|
|
@@ -27330,19 +27372,19 @@ function qu({ src: e, alt: t = "", size: n = 40, title: r, count: i }) {
|
|
|
27330
27372
|
cursor: "zoom-in",
|
|
27331
27373
|
display: "inline-flex"
|
|
27332
27374
|
},
|
|
27333
|
-
children: /* @__PURE__ */ h(
|
|
27375
|
+
children: /* @__PURE__ */ h(qu, {
|
|
27334
27376
|
src: e,
|
|
27335
27377
|
size: n,
|
|
27336
27378
|
alt: t,
|
|
27337
27379
|
count: i
|
|
27338
27380
|
})
|
|
27339
|
-
}), a && /* @__PURE__ */ h(
|
|
27381
|
+
}), a && /* @__PURE__ */ h(Ju, {
|
|
27340
27382
|
open: !0,
|
|
27341
27383
|
onClose: () => o(!1),
|
|
27342
27384
|
src: e,
|
|
27343
27385
|
alt: t,
|
|
27344
27386
|
title: r ?? t
|
|
27345
|
-
})] }) : /* @__PURE__ */ h(
|
|
27387
|
+
})] }) : /* @__PURE__ */ h(qu, {
|
|
27346
27388
|
size: n,
|
|
27347
27389
|
alt: t,
|
|
27348
27390
|
count: i
|
|
@@ -27350,7 +27392,7 @@ function qu({ src: e, alt: t = "", size: n = 40, title: r, count: i }) {
|
|
|
27350
27392
|
}
|
|
27351
27393
|
//#endregion
|
|
27352
27394
|
//#region src/SelectMediaCell.tsx
|
|
27353
|
-
var
|
|
27395
|
+
var Xu = r(function({ media: e, title: t, secondary: n, className: r, ...i }, a) {
|
|
27354
27396
|
return /* @__PURE__ */ g("span", {
|
|
27355
27397
|
ref: a,
|
|
27356
27398
|
...i,
|
|
@@ -27372,7 +27414,7 @@ var Ju = r(function({ media: e, title: t, secondary: n, className: r, ...i }, a)
|
|
|
27372
27414
|
});
|
|
27373
27415
|
//#endregion
|
|
27374
27416
|
//#region src/SelectOfflineModal.tsx
|
|
27375
|
-
function
|
|
27417
|
+
function Zu() {
|
|
27376
27418
|
let [e, t] = f(() => typeof navigator < "u" && navigator.onLine === !1);
|
|
27377
27419
|
return o(() => {
|
|
27378
27420
|
let e = () => t(!1), n = () => t(!0);
|
|
@@ -27395,7 +27437,7 @@ function Yu() {
|
|
|
27395
27437
|
}
|
|
27396
27438
|
//#endregion
|
|
27397
27439
|
//#region src/SelectKeyValueEditor.tsx
|
|
27398
|
-
function
|
|
27440
|
+
function Qu(e) {
|
|
27399
27441
|
return Array.isArray(e) ? e.filter((e) => typeof e == "object" && !!e).map((e) => ({
|
|
27400
27442
|
name: String(e.name ?? e.key ?? ""),
|
|
27401
27443
|
value: e.value == null ? "" : String(e.value)
|
|
@@ -27404,8 +27446,8 @@ function Xu(e) {
|
|
|
27404
27446
|
value: t == null ? "" : String(t)
|
|
27405
27447
|
})) : [];
|
|
27406
27448
|
}
|
|
27407
|
-
var
|
|
27408
|
-
let d =
|
|
27449
|
+
var $u = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valuePlaceholder: r = "Valor", keyOptions: i, addLabel: a = "Adicionar", max: o, helpText: s = "Linhas vazias serão ignoradas.", className: c, ...l }, u) {
|
|
27450
|
+
let d = Qu(e), f = (e, n) => t(d.map((t, r) => r === e ? {
|
|
27409
27451
|
...t,
|
|
27410
27452
|
...n
|
|
27411
27453
|
} : t)), p = (e) => t(d.filter((t, n) => n !== e)), m = () => t([...d, {
|
|
@@ -27469,7 +27511,7 @@ var Zu = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
|
|
|
27469
27511
|
})
|
|
27470
27512
|
]
|
|
27471
27513
|
});
|
|
27472
|
-
}),
|
|
27514
|
+
}), ed = (e) => String(e).padStart(2, "0"), td = {
|
|
27473
27515
|
"en-US": {
|
|
27474
27516
|
weekdays: [
|
|
27475
27517
|
"Su",
|
|
@@ -27528,34 +27570,34 @@ var Zu = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
|
|
|
27528
27570
|
to: "Até",
|
|
27529
27571
|
cancel: "Cancelar",
|
|
27530
27572
|
apply: "Aplicar",
|
|
27531
|
-
formatDate: (e) => `${
|
|
27573
|
+
formatDate: (e) => `${ed(e.getDate())} / ${ed(e.getMonth() + 1)} / ${e.getFullYear()}`
|
|
27532
27574
|
}
|
|
27533
|
-
},
|
|
27575
|
+
}, nd = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), rd = (e) => new Date(e.getFullYear(), e.getMonth(), 1), id = (e, t) => new Date(e.getFullYear(), e.getMonth(), e.getDate() + t), ad = (e, t) => new Date(e.getFullYear(), e.getMonth() + t, 1), od = (e, t) => e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), sd = (e) => {
|
|
27534
27576
|
let t = /* @__PURE__ */ new Date();
|
|
27535
27577
|
return {
|
|
27536
27578
|
from: /* @__PURE__ */ new Date(t.getTime() - e * 6e4),
|
|
27537
27579
|
to: t
|
|
27538
27580
|
};
|
|
27539
|
-
},
|
|
27581
|
+
}, cd = [
|
|
27540
27582
|
{
|
|
27541
27583
|
id: "15m",
|
|
27542
27584
|
label: "Last 15 minutes",
|
|
27543
|
-
range: () =>
|
|
27585
|
+
range: () => sd(15)
|
|
27544
27586
|
},
|
|
27545
27587
|
{
|
|
27546
27588
|
id: "1h",
|
|
27547
27589
|
label: "Last 1 hour",
|
|
27548
|
-
range: () =>
|
|
27590
|
+
range: () => sd(60)
|
|
27549
27591
|
},
|
|
27550
27592
|
{
|
|
27551
27593
|
id: "3h",
|
|
27552
27594
|
label: "Last 3 hours",
|
|
27553
|
-
range: () =>
|
|
27595
|
+
range: () => sd(180)
|
|
27554
27596
|
},
|
|
27555
27597
|
{
|
|
27556
27598
|
id: "24h",
|
|
27557
27599
|
label: "Last 24 hours",
|
|
27558
|
-
range: () =>
|
|
27600
|
+
range: () => sd(1440)
|
|
27559
27601
|
},
|
|
27560
27602
|
{
|
|
27561
27603
|
id: "3d",
|
|
@@ -27571,78 +27613,78 @@ var Zu = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
|
|
|
27571
27613
|
id: "all",
|
|
27572
27614
|
label: "All",
|
|
27573
27615
|
range: () => ({
|
|
27574
|
-
from:
|
|
27575
|
-
to:
|
|
27616
|
+
from: nd(/* @__PURE__ */ new Date()),
|
|
27617
|
+
to: nd(/* @__PURE__ */ new Date())
|
|
27576
27618
|
})
|
|
27577
27619
|
}
|
|
27578
|
-
],
|
|
27579
|
-
let t =
|
|
27620
|
+
], ld = (e) => {
|
|
27621
|
+
let t = nd(/* @__PURE__ */ new Date());
|
|
27580
27622
|
return {
|
|
27581
|
-
from:
|
|
27623
|
+
from: id(t, -e),
|
|
27582
27624
|
to: t
|
|
27583
27625
|
};
|
|
27584
|
-
},
|
|
27585
|
-
let t = nd(
|
|
27626
|
+
}, ud = (e) => {
|
|
27627
|
+
let t = id(nd(/* @__PURE__ */ new Date()), -e);
|
|
27586
27628
|
return {
|
|
27587
27629
|
from: t,
|
|
27588
27630
|
to: t
|
|
27589
27631
|
};
|
|
27590
|
-
},
|
|
27632
|
+
}, dd = [
|
|
27591
27633
|
{
|
|
27592
27634
|
id: "today",
|
|
27593
27635
|
label: "Hoje",
|
|
27594
|
-
range: () =>
|
|
27636
|
+
range: () => ld(0)
|
|
27595
27637
|
},
|
|
27596
27638
|
{
|
|
27597
27639
|
id: "yesterday",
|
|
27598
27640
|
label: "Ontem",
|
|
27599
|
-
range: () =>
|
|
27641
|
+
range: () => ud(1)
|
|
27600
27642
|
},
|
|
27601
27643
|
{
|
|
27602
27644
|
id: "7d",
|
|
27603
27645
|
label: "Últimos 7 dias",
|
|
27604
|
-
range: () =>
|
|
27646
|
+
range: () => ld(6)
|
|
27605
27647
|
},
|
|
27606
27648
|
{
|
|
27607
27649
|
id: "10d",
|
|
27608
27650
|
label: "Últimos 10 dias",
|
|
27609
|
-
range: () =>
|
|
27651
|
+
range: () => ld(9)
|
|
27610
27652
|
},
|
|
27611
27653
|
{
|
|
27612
27654
|
id: "15d",
|
|
27613
27655
|
label: "Últimos 15 dias",
|
|
27614
|
-
range: () =>
|
|
27656
|
+
range: () => ld(14)
|
|
27615
27657
|
},
|
|
27616
27658
|
{
|
|
27617
27659
|
id: "20d",
|
|
27618
27660
|
label: "Últimos 20 dias",
|
|
27619
|
-
range: () =>
|
|
27661
|
+
range: () => ld(19)
|
|
27620
27662
|
},
|
|
27621
27663
|
{
|
|
27622
27664
|
id: "30d",
|
|
27623
27665
|
label: "Últimos 30 dias",
|
|
27624
|
-
range: () =>
|
|
27666
|
+
range: () => ld(29)
|
|
27625
27667
|
},
|
|
27626
27668
|
{
|
|
27627
27669
|
id: "90d",
|
|
27628
27670
|
label: "Últimos 90 dias",
|
|
27629
|
-
range: () =>
|
|
27671
|
+
range: () => ld(89)
|
|
27630
27672
|
}
|
|
27631
27673
|
];
|
|
27632
|
-
function
|
|
27674
|
+
function fd(e) {
|
|
27633
27675
|
if (!e) return "—";
|
|
27634
27676
|
let t = e.getHours(), n = t < 12 ? "AM" : "PM";
|
|
27635
27677
|
return t = t % 12 || 12, `${t} : ${String(e.getMinutes()).padStart(2, "0")} ${n}`;
|
|
27636
27678
|
}
|
|
27637
|
-
var
|
|
27638
|
-
let p =
|
|
27679
|
+
var pd = r(function({ value: e, presets: t = cd, onApply: n, onCancel: r, accentVar: i, locale: a = "en-US", showTime: o = !0, maxDate: s, embedded: c = !1, className: l, ...u }, d) {
|
|
27680
|
+
let p = td[a], m = nd(/* @__PURE__ */ new Date()), _ = s ? nd(s) : null, [v, y] = f(e ?? {
|
|
27639
27681
|
from: m,
|
|
27640
27682
|
to: m
|
|
27641
|
-
}), [b, x] = f(
|
|
27683
|
+
}), [b, x] = f(rd((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [S, C] = f(null), w = id(rd(b), -rd(b).getDay()), T = Array.from({ length: 42 }, (e, t) => id(w, t)), E = (e) => _ ? nd(e) > _ : !1, D = (e) => e ? p.formatDate(e) : /* @__PURE__ */ h("span", {
|
|
27642
27684
|
className: "select-datepicker__placeholder",
|
|
27643
27685
|
children: "— / — / ——"
|
|
27644
27686
|
}), O = (e) => {
|
|
27645
|
-
E(e) || (C(null), y((t) => !t.from || t.from && t.to || e <
|
|
27687
|
+
E(e) || (C(null), y((t) => !t.from || t.from && t.to || e < nd(t.from) ? {
|
|
27646
27688
|
from: e,
|
|
27647
27689
|
to: null
|
|
27648
27690
|
} : {
|
|
@@ -27652,7 +27694,7 @@ var dd = r(function({ value: e, presets: t = od, onApply: n, onCancel: r, accent
|
|
|
27652
27694
|
}, k = (e) => {
|
|
27653
27695
|
if (e.disabled || !e.range) return;
|
|
27654
27696
|
let t = e.range();
|
|
27655
|
-
y(t), C(e.id), t.from && x(
|
|
27697
|
+
y(t), C(e.id), t.from && x(rd(t.from));
|
|
27656
27698
|
}, A = i ? { "--select-dp-accent": `var(${i})` } : void 0;
|
|
27657
27699
|
return /* @__PURE__ */ h("div", {
|
|
27658
27700
|
ref: d,
|
|
@@ -27698,7 +27740,7 @@ var dd = r(function({ value: e, presets: t = od, onApply: n, onCancel: r, accent
|
|
|
27698
27740
|
}),
|
|
27699
27741
|
o && /* @__PURE__ */ h("span", {
|
|
27700
27742
|
className: "select-datepicker__pill select-datepicker__pill--time",
|
|
27701
|
-
children:
|
|
27743
|
+
children: fd(v[e])
|
|
27702
27744
|
})
|
|
27703
27745
|
]
|
|
27704
27746
|
}, e))
|
|
@@ -27710,7 +27752,7 @@ var dd = r(function({ value: e, presets: t = od, onApply: n, onCancel: r, accent
|
|
|
27710
27752
|
type: "button",
|
|
27711
27753
|
className: "select-datepicker__nav",
|
|
27712
27754
|
"aria-label": a === "pt-BR" ? "Mês anterior" : "Previous month",
|
|
27713
|
-
onClick: () => x((e) =>
|
|
27755
|
+
onClick: () => x((e) => ad(e, -1)),
|
|
27714
27756
|
children: /* @__PURE__ */ h(G, {})
|
|
27715
27757
|
}),
|
|
27716
27758
|
/* @__PURE__ */ g("span", {
|
|
@@ -27725,7 +27767,7 @@ var dd = r(function({ value: e, presets: t = od, onApply: n, onCancel: r, accent
|
|
|
27725
27767
|
type: "button",
|
|
27726
27768
|
className: "select-datepicker__nav",
|
|
27727
27769
|
"aria-label": a === "pt-BR" ? "Próximo mês" : "Next month",
|
|
27728
|
-
onClick: () => x((e) =>
|
|
27770
|
+
onClick: () => x((e) => ad(e, 1)),
|
|
27729
27771
|
children: /* @__PURE__ */ h(W, {})
|
|
27730
27772
|
})
|
|
27731
27773
|
]
|
|
@@ -27737,7 +27779,7 @@ var dd = r(function({ value: e, presets: t = od, onApply: n, onCancel: r, accent
|
|
|
27737
27779
|
className: "select-datepicker__weekday",
|
|
27738
27780
|
children: e
|
|
27739
27781
|
}, t)), T.map((e) => {
|
|
27740
|
-
let t = e.getMonth() !== b.getMonth(), n = E(e), r = !!v.from &&
|
|
27782
|
+
let t = e.getMonth() !== b.getMonth(), n = E(e), r = !!v.from && od(e, v.from), i = !!v.to && od(e, v.to), a = r || i, o = !!v.from && !!v.to && !od(v.from, v.to), s = "select-datepicker__day" + (v.from && v.to && e > nd(v.from) && e < nd(v.to) ? " select-datepicker__day--in-range" : "") + (o && r ? " select-datepicker__day--range-start" : "") + (o && i ? " select-datepicker__day--range-end" : ""), c = "select-datepicker__daybtn" + (a ? " is-selected" : "") + (od(e, m) && !a ? " is-today" : "") + (t ? " is-outside" : "");
|
|
27741
27783
|
return /* @__PURE__ */ h("div", {
|
|
27742
27784
|
className: s,
|
|
27743
27785
|
children: /* @__PURE__ */ h("button", {
|
|
@@ -27768,17 +27810,17 @@ var dd = r(function({ value: e, presets: t = od, onApply: n, onCancel: r, accent
|
|
|
27768
27810
|
})]
|
|
27769
27811
|
})
|
|
27770
27812
|
});
|
|
27771
|
-
}),
|
|
27772
|
-
function
|
|
27813
|
+
}), md = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), hd = (e, t) => e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), gd = (e) => `${String(e.getDate()).padStart(2, "0")}/${String(e.getMonth() + 1).padStart(2, "0")}/${e.getFullYear()}`;
|
|
27814
|
+
function _d(e, t) {
|
|
27773
27815
|
for (let r of t) {
|
|
27774
27816
|
var n;
|
|
27775
27817
|
let t = (n = r.range) == null ? void 0 : n.call(r);
|
|
27776
|
-
if (t != null && t.from && t != null && t.to &&
|
|
27818
|
+
if (t != null && t.from && t != null && t.to && hd(t.from, e.start) && hd(t.to, e.end)) return r.label;
|
|
27777
27819
|
}
|
|
27778
|
-
return
|
|
27820
|
+
return hd(e.start, e.end) ? gd(e.start) : `${gd(e.start)} – ${gd(e.end)}`;
|
|
27779
27821
|
}
|
|
27780
|
-
function
|
|
27781
|
-
let [c, l] = f(!1), u = r === null ? null : r ??
|
|
27822
|
+
function vd({ value: e, onChange: t, presets: n = dd, maxDate: r, placement: i = "bottom-end", size: a = "md", disabled: o = !1, block: s = !1 }) {
|
|
27823
|
+
let [c, l] = f(!1), u = r === null ? null : r ?? md(/* @__PURE__ */ new Date());
|
|
27782
27824
|
return /* @__PURE__ */ h(Zn, {
|
|
27783
27825
|
active: c,
|
|
27784
27826
|
onClose: () => l(!1),
|
|
@@ -27792,9 +27834,9 @@ function gd({ value: e, onChange: t, presets: n = ld, maxDate: r, placement: i =
|
|
|
27792
27834
|
icon: /* @__PURE__ */ h(nt, {}),
|
|
27793
27835
|
trailingIcon: /* @__PURE__ */ h(K, {}),
|
|
27794
27836
|
onClick: () => l((e) => !e),
|
|
27795
|
-
children:
|
|
27837
|
+
children: _d(e, n)
|
|
27796
27838
|
}),
|
|
27797
|
-
children: /* @__PURE__ */ h(
|
|
27839
|
+
children: /* @__PURE__ */ h(pd, {
|
|
27798
27840
|
embedded: !0,
|
|
27799
27841
|
locale: "pt-BR",
|
|
27800
27842
|
showTime: !1,
|
|
@@ -27807,8 +27849,8 @@ function gd({ value: e, onChange: t, presets: n = ld, maxDate: r, placement: i =
|
|
|
27807
27849
|
onCancel: () => l(!1),
|
|
27808
27850
|
onApply: (e) => {
|
|
27809
27851
|
e.from && t({
|
|
27810
|
-
start:
|
|
27811
|
-
end:
|
|
27852
|
+
start: md(e.from),
|
|
27853
|
+
end: md(e.to ?? e.from)
|
|
27812
27854
|
}), l(!1);
|
|
27813
27855
|
}
|
|
27814
27856
|
})
|
|
@@ -27816,7 +27858,7 @@ function gd({ value: e, onChange: t, presets: n = ld, maxDate: r, placement: i =
|
|
|
27816
27858
|
}
|
|
27817
27859
|
//#endregion
|
|
27818
27860
|
//#region src/SelectNumberField.tsx
|
|
27819
|
-
var
|
|
27861
|
+
var yd = r(function({ label: e, value: t, onChange: n, min: r, max: i, step: a = 1, decimal: o = !1, disabled: c = !1, hint: l, error: u, onBlur: d, placeholder: p, size: m = "md", className: _, ...v }, y) {
|
|
27820
27862
|
let b = s(), x = (e) => Math.min(i ?? Infinity, Math.max(r ?? -Infinity, e)), S = (e) => Math.round(e * 1e6) / 1e6, C = t ?? 0, w = r != null && C <= r, T = i != null && C >= i, [E, D] = f(!1), [O, k] = f(""), A = o && E ? O : t == null ? "" : String(t), j = (e) => {
|
|
27821
27863
|
let t = o ? e.replace(/[^\d.,-]/g, "").replace(",", ".") : e.replace(/[^\d-]/g, "");
|
|
27822
27864
|
if (o && k(t), t === "" || t === "-" || t === ".") return n(null);
|
|
@@ -27890,7 +27932,7 @@ var _d = r(function({ label: e, value: t, onChange: n, min: r, max: i, step: a =
|
|
|
27890
27932
|
});
|
|
27891
27933
|
//#endregion
|
|
27892
27934
|
//#region src/SelectRepeatingFieldArray.tsx
|
|
27893
|
-
function
|
|
27935
|
+
function bd({ items: e, onChange: t, renderRow: n, newItem: r, addLabel: i = "Adicionar", rowLabel: a, min: o = 0, max: s, addDisabled: c = !1, reorderable: l = !1, chrome: u = "card", emptyState: d, helpText: f }) {
|
|
27894
27936
|
let p = !c && (s == null || e.length < s), _ = e.length > o, v = (n, r) => t(e.map((e, t) => t === n ? r : e)), y = (n) => t(e.filter((e, t) => t !== n)), b = (n, r) => {
|
|
27895
27937
|
let i = n + r;
|
|
27896
27938
|
if (i < 0 || i >= e.length) return;
|
|
@@ -27985,7 +28027,7 @@ function vd({ items: e, onChange: t, renderRow: n, newItem: r, addLabel: i = "Ad
|
|
|
27985
28027
|
}
|
|
27986
28028
|
//#endregion
|
|
27987
28029
|
//#region src/SelectBuilderLayout.tsx
|
|
27988
|
-
function
|
|
28030
|
+
function xd({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveLabel: a = "Salvar", saveDisabled: o = !1, cancelTo: s, error: c, preview: l, children: u }) {
|
|
27989
28031
|
let d = y();
|
|
27990
28032
|
return /* @__PURE__ */ h(ta, {
|
|
27991
28033
|
title: e,
|
|
@@ -28025,7 +28067,7 @@ function yd({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
|
|
|
28025
28067
|
}
|
|
28026
28068
|
//#endregion
|
|
28027
28069
|
//#region src/SelectBuilderWorkspace.tsx
|
|
28028
|
-
function
|
|
28070
|
+
function Sd({ title: e, subtitle: t, backTo: n, onBack: r, onSave: i, saving: a = !1, saveLabel: o = "Salvar", saveDisabled: s = !1, cancelTo: c, onDiscard: l, discardLabel: d = "Descartar", error: p, sections: _ = [], activeId: v, onActiveChange: b, searchable: x = !1, searchPlaceholder: S = "Buscar ajuste…", preview: C, previewLayout: w = "fill", toolbar: T, dirty: E = !1, dirtyLabel: D = "Alterações não salvas", savedLabel: O, reviewLabel: k, layout: A = "rail", panel: j, panelWidth: M, mobileTabs: N, mobileTab: P, onMobileTabChange: F, readOnly: I = !1 }) {
|
|
28029
28071
|
var L;
|
|
28030
28072
|
let R = y(), z = A === "drill", [B, ee] = f(z ? null : ((L = _[0]) == null ? void 0 : L.id) ?? ""), [te, V] = f(""), [H, ne] = f("panel"), re = P ?? H, ie = (e) => {
|
|
28031
28073
|
P === void 0 && ne(e), F == null || F(e);
|
|
@@ -28285,10 +28327,10 @@ function bd({ title: e, subtitle: t, backTo: n, onBack: r, onSave: i, saving: a
|
|
|
28285
28327
|
}
|
|
28286
28328
|
//#endregion
|
|
28287
28329
|
//#region src/SelectFlowCanvas.tsx
|
|
28288
|
-
var
|
|
28289
|
-
function
|
|
28330
|
+
var Cd = (e) => Math.round(e * 100) / 100;
|
|
28331
|
+
function wd({ width: e, height: t, edges: n, labels: r = [], pluses: i = [], children: a, zoom: o, defaultZoom: c = 1, onZoomChange: l, minZoom: u = .5, maxZoom: d = 1.3, onBackgroundClick: p, ariaLabel: m }) {
|
|
28290
28332
|
let _ = s().replace(/:/g, ""), [v, y] = f(c), b = o ?? v, x = (e) => {
|
|
28291
|
-
let t =
|
|
28333
|
+
let t = Cd(Math.min(d, Math.max(u, e)));
|
|
28292
28334
|
o === void 0 && y(t), l == null || l(t);
|
|
28293
28335
|
}, S = `select-flow-arrow-${_}`, C = `select-flow-arrow-on-${_}`;
|
|
28294
28336
|
return /* @__PURE__ */ g("div", {
|
|
@@ -28404,7 +28446,7 @@ function Sd({ width: e, height: t, edges: n, labels: r = [], pluses: i = [], chi
|
|
|
28404
28446
|
})]
|
|
28405
28447
|
});
|
|
28406
28448
|
}
|
|
28407
|
-
function
|
|
28449
|
+
function Td({ x: e, y: t, width: n, height: r, shape: i = "card", tone: a = "neutral", icon: o, order: s, eyebrow: c, title: l, subtitle: u, tags: d, titleTone: f = "default", selected: p = !1, active: m = !1, muted: _ = !1, invalid: v = !1, onClick: y, ariaLabel: b }) {
|
|
28408
28450
|
let x = `${p ? " is-selected" : v ? " is-invalid" : m ? " is-on" : ""}${_ ? " is-muted" : ""}`, S = {
|
|
28409
28451
|
left: e,
|
|
28410
28452
|
top: t,
|
|
@@ -28480,7 +28522,7 @@ function Cd({ x: e, y: t, width: n, height: r, shape: i = "card", tone: a = "neu
|
|
|
28480
28522
|
})]
|
|
28481
28523
|
});
|
|
28482
28524
|
}
|
|
28483
|
-
function
|
|
28525
|
+
function Ed({ title: e, subtitle: t, onBack: n, backLabel: r = "Voltar", toolbar: i, actions: a, error: o, canvas: s, inspectorHead: c, inspector: l, inspectorLabel: u = "Painel" }) {
|
|
28484
28526
|
return /* @__PURE__ */ g("div", {
|
|
28485
28527
|
className: "select-flowpage",
|
|
28486
28528
|
children: [
|
|
@@ -28542,7 +28584,7 @@ function wd({ title: e, subtitle: t, onBack: n, backLabel: r = "Voltar", toolbar
|
|
|
28542
28584
|
}
|
|
28543
28585
|
//#endregion
|
|
28544
28586
|
//#region src/SelectSwitchField.tsx
|
|
28545
|
-
var
|
|
28587
|
+
var Dd = r(function({ label: e, checked: t, onChange: n, disabled: r = !1, hint: i, help: a, className: o, ...s }, c) {
|
|
28546
28588
|
return /* @__PURE__ */ g("div", {
|
|
28547
28589
|
ref: c,
|
|
28548
28590
|
...s,
|
|
@@ -28570,7 +28612,7 @@ var Td = r(function({ label: e, checked: t, onChange: n, disabled: r = !1, hint:
|
|
|
28570
28612
|
children: i
|
|
28571
28613
|
})]
|
|
28572
28614
|
});
|
|
28573
|
-
}),
|
|
28615
|
+
}), Od = [
|
|
28574
28616
|
"#212529",
|
|
28575
28617
|
"#495057",
|
|
28576
28618
|
"#868E96",
|
|
@@ -28587,13 +28629,13 @@ var Td = r(function({ label: e, checked: t, onChange: n, disabled: r = !1, hint:
|
|
|
28587
28629
|
"#DB2777",
|
|
28588
28630
|
"#9333EA",
|
|
28589
28631
|
"#6D28D9"
|
|
28590
|
-
],
|
|
28591
|
-
function
|
|
28592
|
-
let t =
|
|
28632
|
+
], kd = /^#?([0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
28633
|
+
function Ad(e) {
|
|
28634
|
+
let t = kd.exec((e ?? "").trim());
|
|
28593
28635
|
return t ? `#${(t[1].length === 3 ? t[1].split("").map((e) => e + e).join("") : t[1]).toUpperCase()}` : null;
|
|
28594
28636
|
}
|
|
28595
|
-
function
|
|
28596
|
-
let t =
|
|
28637
|
+
function jd(e) {
|
|
28638
|
+
let t = Ad(e);
|
|
28597
28639
|
if (!t) return 0;
|
|
28598
28640
|
let [n, r, i] = [
|
|
28599
28641
|
1,
|
|
@@ -28602,13 +28644,13 @@ function kd(e) {
|
|
|
28602
28644
|
].map((e) => parseInt(t.slice(e, e + 2), 16) / 255).map((e) => e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4);
|
|
28603
28645
|
return .2126 * n + .7152 * r + .0722 * i;
|
|
28604
28646
|
}
|
|
28605
|
-
function
|
|
28606
|
-
let [n, r] = [
|
|
28647
|
+
function Md(e, t) {
|
|
28648
|
+
let [n, r] = [jd(e), jd(t)].sort((e, t) => t - e);
|
|
28607
28649
|
return (n + .05) / (r + .05);
|
|
28608
28650
|
}
|
|
28609
|
-
var
|
|
28610
|
-
function
|
|
28611
|
-
let t =
|
|
28651
|
+
var Nd = (e) => Math.min(1, Math.max(0, e));
|
|
28652
|
+
function Pd(e) {
|
|
28653
|
+
let t = Ad(e) ?? "#000000", [n, r, i] = [
|
|
28612
28654
|
1,
|
|
28613
28655
|
3,
|
|
28614
28656
|
5
|
|
@@ -28619,7 +28661,7 @@ function Md(e) {
|
|
|
28619
28661
|
v: a
|
|
28620
28662
|
};
|
|
28621
28663
|
}
|
|
28622
|
-
function
|
|
28664
|
+
function Fd({ h: e, s: t, v: n }) {
|
|
28623
28665
|
let r = (r) => {
|
|
28624
28666
|
let i = (r + e / 60) % 6;
|
|
28625
28667
|
return n - n * t * Math.max(0, Math.min(i, 4 - i, 1));
|
|
@@ -28630,26 +28672,26 @@ function Nd({ h: e, s: t, v: n }) {
|
|
|
28630
28672
|
r(1)
|
|
28631
28673
|
].map((e) => Math.round(e * 255).toString(16).padStart(2, "0")).join("").toUpperCase()}`;
|
|
28632
28674
|
}
|
|
28633
|
-
function
|
|
28634
|
-
let [n, r] = f(() =>
|
|
28675
|
+
function Id({ hex: e, onPick: t }) {
|
|
28676
|
+
let [n, r] = f(() => Pd(e ?? "#1D4ED8")), i = d(n), a = (e) => {
|
|
28635
28677
|
i.current = e, r(e);
|
|
28636
28678
|
};
|
|
28637
28679
|
o(() => {
|
|
28638
|
-
if (!e ||
|
|
28639
|
-
let t =
|
|
28680
|
+
if (!e || Fd(i.current) === e) return;
|
|
28681
|
+
let t = Pd(e);
|
|
28640
28682
|
a(t.s === 0 || t.v === 0 ? {
|
|
28641
28683
|
...t,
|
|
28642
28684
|
h: i.current.h
|
|
28643
28685
|
} : t);
|
|
28644
28686
|
}, [e]);
|
|
28645
28687
|
let s = (e) => {
|
|
28646
|
-
a(e), t(
|
|
28688
|
+
a(e), t(Fd(e));
|
|
28647
28689
|
}, c = (e, t, n) => {
|
|
28648
28690
|
var r;
|
|
28649
28691
|
(r = e.setPointerCapture) == null || r.call(e, t.pointerId);
|
|
28650
28692
|
let i = (t) => {
|
|
28651
28693
|
let r = e.getBoundingClientRect();
|
|
28652
|
-
n(
|
|
28694
|
+
n(Nd((t.clientX - r.left) / (r.width || 1)), Nd((t.clientY - r.top) / (r.height || 1)));
|
|
28653
28695
|
};
|
|
28654
28696
|
i(t);
|
|
28655
28697
|
let a = (e) => i(e), o = () => {
|
|
@@ -28659,20 +28701,20 @@ function Pd({ hex: e, onPick: t }) {
|
|
|
28659
28701
|
}, l = (e) => {
|
|
28660
28702
|
let t = e.shiftKey ? .1 : .01, { h: n, s: r, v: a } = i.current, o = e.key === "ArrowLeft" ? {
|
|
28661
28703
|
h: n,
|
|
28662
|
-
s:
|
|
28704
|
+
s: Nd(r - t),
|
|
28663
28705
|
v: a
|
|
28664
28706
|
} : e.key === "ArrowRight" ? {
|
|
28665
28707
|
h: n,
|
|
28666
|
-
s:
|
|
28708
|
+
s: Nd(r + t),
|
|
28667
28709
|
v: a
|
|
28668
28710
|
} : e.key === "ArrowUp" ? {
|
|
28669
28711
|
h: n,
|
|
28670
28712
|
s: r,
|
|
28671
|
-
v:
|
|
28713
|
+
v: Nd(a + t)
|
|
28672
28714
|
} : e.key === "ArrowDown" ? {
|
|
28673
28715
|
h: n,
|
|
28674
28716
|
s: r,
|
|
28675
|
-
v:
|
|
28717
|
+
v: Nd(a - t)
|
|
28676
28718
|
} : null;
|
|
28677
28719
|
o && (e.preventDefault(), s(o));
|
|
28678
28720
|
}, u = (e) => {
|
|
@@ -28682,11 +28724,11 @@ function Pd({ hex: e, onPick: t }) {
|
|
|
28682
28724
|
s: r,
|
|
28683
28725
|
v: a
|
|
28684
28726
|
}));
|
|
28685
|
-
}, p =
|
|
28727
|
+
}, p = Fd({
|
|
28686
28728
|
h: n.h,
|
|
28687
28729
|
s: 1,
|
|
28688
28730
|
v: 1
|
|
28689
|
-
}), _ =
|
|
28731
|
+
}), _ = Fd(n);
|
|
28690
28732
|
return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("div", {
|
|
28691
28733
|
className: "select-colorfield__sv",
|
|
28692
28734
|
style: { backgroundColor: p },
|
|
@@ -28730,24 +28772,24 @@ function Pd({ hex: e, onPick: t }) {
|
|
|
28730
28772
|
})
|
|
28731
28773
|
})] });
|
|
28732
28774
|
}
|
|
28733
|
-
var
|
|
28734
|
-
function
|
|
28775
|
+
var Ld = (e) => e.toFixed(1).replace(".", ",");
|
|
28776
|
+
function Rd({ label: e, help: t, hint: n, error: r, value: i, onChange: a, presets: c = Od, disabled: l = !1, allowEmpty: u = !1, contrastWith: d, contrastLabel: p = "o texto", id: _ }) {
|
|
28735
28777
|
let v = s(), y = _ ?? `color-${v}`, [b, x] = f(!1), [S, C] = f(i ?? ""), [w, T] = f(null);
|
|
28736
28778
|
o(() => {
|
|
28737
28779
|
C(i ?? ""), T(null);
|
|
28738
28780
|
}, [i]);
|
|
28739
|
-
let E =
|
|
28781
|
+
let E = Ad(i ?? ""), D = (e) => {
|
|
28740
28782
|
if (!e.trim()) {
|
|
28741
28783
|
u ? (T(null), a("")) : C(i ?? "");
|
|
28742
28784
|
return;
|
|
28743
28785
|
}
|
|
28744
|
-
let t =
|
|
28786
|
+
let t = Ad(e);
|
|
28745
28787
|
if (!t) {
|
|
28746
28788
|
T("Use o formato #RRGGBB (ex.: #1D4ED8).");
|
|
28747
28789
|
return;
|
|
28748
28790
|
}
|
|
28749
28791
|
T(null), C(t), t !== E && a(t);
|
|
28750
|
-
}, O = d ?
|
|
28792
|
+
}, O = d ? Ad(d) : null, k = E && O ? Md(E, O) : null, A = r ?? w, j = A ? `${y}-err` : n || k != null ? `${y}-hint` : void 0;
|
|
28751
28793
|
return /* @__PURE__ */ g("div", {
|
|
28752
28794
|
className: `select-field select-colorfield${l ? " is-disabled" : ""}`,
|
|
28753
28795
|
children: [
|
|
@@ -28775,7 +28817,7 @@ function Id({ label: e, help: t, hint: n, error: r, value: i, onChange: a, prese
|
|
|
28775
28817
|
children: /* @__PURE__ */ g("div", {
|
|
28776
28818
|
className: "select-colorfield__panel",
|
|
28777
28819
|
children: [
|
|
28778
|
-
/* @__PURE__ */ h(
|
|
28820
|
+
/* @__PURE__ */ h(Id, {
|
|
28779
28821
|
hex: E,
|
|
28780
28822
|
onPick: D
|
|
28781
28823
|
}),
|
|
@@ -28784,7 +28826,7 @@ function Id({ label: e, help: t, hint: n, error: r, value: i, onChange: a, prese
|
|
|
28784
28826
|
role: "group",
|
|
28785
28827
|
"aria-label": "Cores prontas",
|
|
28786
28828
|
children: c.map((e) => {
|
|
28787
|
-
let t =
|
|
28829
|
+
let t = Ad(e) ?? e, n = t === E;
|
|
28788
28830
|
return /* @__PURE__ */ h("button", {
|
|
28789
28831
|
type: "button",
|
|
28790
28832
|
className: `select-colorfield__preset${n ? " is-selected" : ""}`,
|
|
@@ -28815,7 +28857,7 @@ function Id({ label: e, help: t, hint: n, error: r, value: i, onChange: a, prese
|
|
|
28815
28857
|
className: "select-input select-input--mono select-colorfield__hex",
|
|
28816
28858
|
value: S,
|
|
28817
28859
|
onChange: (e) => {
|
|
28818
|
-
C(e.target.value), e.target.value.replace("#", "").length === 6 &&
|
|
28860
|
+
C(e.target.value), e.target.value.replace("#", "").length === 6 && Ad(e.target.value) && D(e.target.value);
|
|
28819
28861
|
},
|
|
28820
28862
|
onBlur: () => D(S),
|
|
28821
28863
|
placeholder: u ? "Padrão" : "#000000",
|
|
@@ -28838,14 +28880,14 @@ function Id({ label: e, help: t, hint: n, error: r, value: i, onChange: a, prese
|
|
|
28838
28880
|
}) : null : /* @__PURE__ */ g("p", {
|
|
28839
28881
|
id: `${y}-hint`,
|
|
28840
28882
|
className: `select-field__hint select-colorfield__contrast${k < 4.5 ? " is-low" : ""}`,
|
|
28841
|
-
children: [k >= 4.5 ? `Contraste com ${p}: ${
|
|
28883
|
+
children: [k >= 4.5 ? `Contraste com ${p}: ${Ld(k)}:1 — legível.` : `Contraste com ${p}: ${Ld(k)}:1 — difícil de ler. Escolha uma cor ${jd(E) < jd(O) ? "mais escura" : "mais clara"}.`, n ? /* @__PURE__ */ g(m, { children: [" ", n] }) : null]
|
|
28842
28884
|
})
|
|
28843
28885
|
]
|
|
28844
28886
|
});
|
|
28845
28887
|
}
|
|
28846
28888
|
//#endregion
|
|
28847
28889
|
//#region src/SelectProgressBar.tsx
|
|
28848
|
-
var
|
|
28890
|
+
var zd = r(function({ value: e = 0, max: t = 100, tone: n = "brand", size: r = "md", label: i, valueLabel: a, caption: o, indeterminate: s = !1, ariaLabel: c, loading: l = !1, className: u, ...d }, f) {
|
|
28849
28891
|
if (l) return /* @__PURE__ */ g("div", {
|
|
28850
28892
|
ref: f,
|
|
28851
28893
|
...d,
|
|
@@ -28890,7 +28932,7 @@ var Ld = r(function({ value: e = 0, max: t = 100, tone: n = "brand", size: r = "
|
|
|
28890
28932
|
})
|
|
28891
28933
|
]
|
|
28892
28934
|
});
|
|
28893
|
-
}),
|
|
28935
|
+
}), Bd = r(function({ icon: e, media: t, accent: n, title: r, description: i, badge: a, meta: o, cta: s, to: c, onClick: l, selected: u, disabled: d = !1, className: f, ...p }, _) {
|
|
28894
28936
|
let y = `select-choicecard${u ? " is-selected" : ""}${d ? " is-disabled" : ""}${f ? " " + f : ""}`, b = n ? { "--select-choice-accent": n } : void 0, x = /* @__PURE__ */ g(m, { children: [
|
|
28895
28937
|
t == null ? /* @__PURE__ */ g("span", {
|
|
28896
28938
|
className: "select-choicecard__top",
|
|
@@ -28958,7 +29000,7 @@ var Ld = r(function({ value: e = 0, max: t = 100, tone: n = "brand", size: r = "
|
|
|
28958
29000
|
children: x
|
|
28959
29001
|
});
|
|
28960
29002
|
});
|
|
28961
|
-
function
|
|
29003
|
+
function Vd({ badge: e = !0 }) {
|
|
28962
29004
|
return /* @__PURE__ */ g("div", {
|
|
28963
29005
|
className: "select-choicecard select-choicecard--skeleton",
|
|
28964
29006
|
"aria-hidden": "true",
|
|
@@ -28979,7 +29021,7 @@ function zd({ badge: e = !0 }) {
|
|
|
28979
29021
|
]
|
|
28980
29022
|
});
|
|
28981
29023
|
}
|
|
28982
|
-
var
|
|
29024
|
+
var Hd = r(function({ children: e, minCardWidth: t = "15rem", loading: n = !1, skeletonCount: r = 4, listOnPhone: i = !1, className: a, style: o, ...s }, c) {
|
|
28983
29025
|
return /* @__PURE__ */ h("div", {
|
|
28984
29026
|
ref: c,
|
|
28985
29027
|
...s,
|
|
@@ -28989,16 +29031,16 @@ var Bd = r(function({ children: e, minCardWidth: t = "15rem", loading: n = !1, s
|
|
|
28989
29031
|
"--select-choice-min": t,
|
|
28990
29032
|
...o
|
|
28991
29033
|
},
|
|
28992
|
-
children: n ? Array.from({ length: r }, (e, t) => /* @__PURE__ */ h(
|
|
29034
|
+
children: n ? Array.from({ length: r }, (e, t) => /* @__PURE__ */ h(Vd, {}, t)) : e
|
|
28993
29035
|
});
|
|
28994
|
-
}),
|
|
29036
|
+
}), Ud = 960, Wd = Math.round(Ud * 210 / 297), Gd = r(function({ side: e = "front", accent: t, courseTitle: n, subtitle: r, memberName: i = "Nome do aluno", body: a, signatures: s = [], issuedAt: c, verificationCode: l, eyebrow: u, className: p }, _) {
|
|
28995
29037
|
let v = d(null), [y, b] = f(.5);
|
|
28996
29038
|
o(() => {
|
|
28997
29039
|
let e = v.current;
|
|
28998
29040
|
if (!e) return;
|
|
28999
29041
|
let t = () => {
|
|
29000
29042
|
let t = e.clientWidth;
|
|
29001
|
-
t > 0 && b(Math.min(1, t /
|
|
29043
|
+
t > 0 && b(Math.min(1, t / Ud));
|
|
29002
29044
|
};
|
|
29003
29045
|
if (t(), typeof ResizeObserver > "u") return;
|
|
29004
29046
|
let n = new ResizeObserver(t);
|
|
@@ -29006,7 +29048,7 @@ var Bd = r(function({ children: e, minCardWidth: t = "15rem", loading: n = !1, s
|
|
|
29006
29048
|
}, []);
|
|
29007
29049
|
let x = e === "front", S = {
|
|
29008
29050
|
"--select-cert-accent": t || void 0,
|
|
29009
|
-
height:
|
|
29051
|
+
height: Wd * y + 2
|
|
29010
29052
|
};
|
|
29011
29053
|
return /* @__PURE__ */ h("div", {
|
|
29012
29054
|
ref: (e) => {
|
|
@@ -29019,8 +29061,8 @@ var Bd = r(function({ children: e, minCardWidth: t = "15rem", loading: n = !1, s
|
|
|
29019
29061
|
children: /* @__PURE__ */ h("div", {
|
|
29020
29062
|
className: "select-certpreview__sheet",
|
|
29021
29063
|
style: {
|
|
29022
|
-
width:
|
|
29023
|
-
height:
|
|
29064
|
+
width: Ud,
|
|
29065
|
+
height: Wd,
|
|
29024
29066
|
transform: `scale(${y})`
|
|
29025
29067
|
},
|
|
29026
29068
|
children: /* @__PURE__ */ g("div", {
|
|
@@ -29093,13 +29135,13 @@ var Bd = r(function({ children: e, minCardWidth: t = "15rem", loading: n = !1, s
|
|
|
29093
29135
|
});
|
|
29094
29136
|
//#endregion
|
|
29095
29137
|
//#region src/SelectImageField.tsx
|
|
29096
|
-
function
|
|
29138
|
+
function Kd(e) {
|
|
29097
29139
|
return new Promise((t, n) => {
|
|
29098
29140
|
let r = new FileReader();
|
|
29099
29141
|
r.onload = () => t(String(r.result)), r.onerror = () => n(r.error), r.readAsDataURL(e);
|
|
29100
29142
|
});
|
|
29101
29143
|
}
|
|
29102
|
-
var
|
|
29144
|
+
var qd = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", maxSizeMB: i = 3, urlPlaceholder: a, hint: o, uploadFile: s, className: c, ...l }, u) {
|
|
29103
29145
|
let [d, p] = f([]), [m, _] = f(null), v = t ? [t] : [], y = async (e) => {
|
|
29104
29146
|
let t = e[0];
|
|
29105
29147
|
if (!t) {
|
|
@@ -29107,7 +29149,7 @@ var Gd = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
|
|
|
29107
29149
|
return;
|
|
29108
29150
|
}
|
|
29109
29151
|
if (_(null), !s) {
|
|
29110
|
-
n(await
|
|
29152
|
+
n(await Kd(t)), p([]);
|
|
29111
29153
|
return;
|
|
29112
29154
|
}
|
|
29113
29155
|
p([t]);
|
|
@@ -29139,7 +29181,7 @@ var Gd = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
|
|
|
29139
29181
|
children: m
|
|
29140
29182
|
})]
|
|
29141
29183
|
});
|
|
29142
|
-
}),
|
|
29184
|
+
}), Jd = r(function({ items: e, multiple: t = !1, defaultOpenIds: n = [], className: r, ...i }, a) {
|
|
29143
29185
|
let [o, s] = f(() => new Set(n)), c = (e) => s((n) => {
|
|
29144
29186
|
let r = n.has(e), i = new Set(t ? n : []);
|
|
29145
29187
|
return r ? i.delete(e) : i.add(e), i;
|
|
@@ -29185,6 +29227,6 @@ var Gd = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
|
|
|
29185
29227
|
});
|
|
29186
29228
|
});
|
|
29187
29229
|
//#endregion
|
|
29188
|
-
export { w as AUTH_FX_VARIANTS, Ie as AppleIcon, _t as AppsIcon, q as ArrowLeftIcon, Re as ArrowRightIcon, Kt as ArrowUpRightIcon, We as AtIcon, Ne as AuthAppIcon, Tt as AwardIcon, qt as BagIcon, at as BankIcon, Se as BellIcon, Ct as BookIcon, fe as BookmarkIcon, ft as BroadcastIcon, Ke as BuildingIcon, nt as CalendarIcon, Ut as CameraIcon, yt as CartIcon, ht as ChartLineIcon, Mt as ChatIcon, Ue as CheckCircleIcon, Be as CheckIcon, K as ChevronDownIcon, G as ChevronLeftIcon, W as ChevronRightIcon, rt as ChevronUpIcon, ct as ClipboardIcon, de as ClockIcon, It as CloseCircleIcon, ce as CloseIcon, Y as CopyIcon, Qe as CreditCardIcon, Te as CubeIcon, Ht as DatabaseIcon, ut as DiscountIcon, Rt as DocumentTextIcon, le as DotsHorizontalIcon, $e as EditIcon, it as ExportIcon, se as ExternalLinkIcon, Ve as EyeIcon, He as EyeOffIcon, Fe as FacebookIcon, wt as FileDownloadIcon, J as FilterIcon, Pt as FlagIcon, Lt as FlashIcon, Xt as GiftIcon, ie as GithubIcon, ge as GlobeIcon, re as GoogleIcon, en as GripIcon, Zt as HeadsetIcon, ye as HelpIcon, Ye as HomeIcon, Wt as IdCardIcon, $t as ImageIcon, ve as InfoIcon, qe as KeyIcon, Vt as LampIcon, Jt as LayoutIcon, zt as LinceIcon, mt as LinkIcon, Ft as LocationIcon, tt as LockIcon, Pe as MailIcon, bt as MenuIcon, vt as MinusCircleIcon, ke as MobileIcon, st as MoneyReceiveIcon, ot as MoneySendIcon, Oe as MonitorIcon, De as MoonIcon, lt as NoteIcon, Dt as PaletteIcon, Le as PasskeyIcon, kt as PauseIcon, Me as PhoneIcon, pe as PinIcon, St as PlayCircleIcon, je as PlusIcon, jt as ReceiptIcon, Ae as RefreshIcon, At as RefundIcon, we as RocketIcon, Cl as SELECT_BR_UF_TILES, Br as SELECT_CARD_BRANDS,
|
|
29230
|
+
export { w as AUTH_FX_VARIANTS, Ie as AppleIcon, _t as AppsIcon, q as ArrowLeftIcon, Re as ArrowRightIcon, Kt as ArrowUpRightIcon, We as AtIcon, Ne as AuthAppIcon, Tt as AwardIcon, qt as BagIcon, at as BankIcon, Se as BellIcon, Ct as BookIcon, fe as BookmarkIcon, ft as BroadcastIcon, Ke as BuildingIcon, nt as CalendarIcon, Ut as CameraIcon, yt as CartIcon, ht as ChartLineIcon, Mt as ChatIcon, Ue as CheckCircleIcon, Be as CheckIcon, K as ChevronDownIcon, G as ChevronLeftIcon, W as ChevronRightIcon, rt as ChevronUpIcon, ct as ClipboardIcon, de as ClockIcon, It as CloseCircleIcon, ce as CloseIcon, Y as CopyIcon, Qe as CreditCardIcon, Te as CubeIcon, Ht as DatabaseIcon, ut as DiscountIcon, Rt as DocumentTextIcon, le as DotsHorizontalIcon, $e as EditIcon, it as ExportIcon, se as ExternalLinkIcon, Ve as EyeIcon, He as EyeOffIcon, Fe as FacebookIcon, wt as FileDownloadIcon, J as FilterIcon, Pt as FlagIcon, Lt as FlashIcon, Xt as GiftIcon, ie as GithubIcon, ge as GlobeIcon, re as GoogleIcon, en as GripIcon, Zt as HeadsetIcon, ye as HelpIcon, Ye as HomeIcon, Wt as IdCardIcon, $t as ImageIcon, ve as InfoIcon, qe as KeyIcon, Vt as LampIcon, Jt as LayoutIcon, zt as LinceIcon, mt as LinkIcon, Ft as LocationIcon, tt as LockIcon, Pe as MailIcon, bt as MenuIcon, vt as MinusCircleIcon, ke as MobileIcon, st as MoneyReceiveIcon, ot as MoneySendIcon, Oe as MonitorIcon, De as MoonIcon, lt as NoteIcon, Dt as PaletteIcon, Le as PasskeyIcon, kt as PauseIcon, Me as PhoneIcon, pe as PinIcon, St as PlayCircleIcon, je as PlusIcon, jt as ReceiptIcon, Ae as RefreshIcon, At as RefundIcon, we as RocketIcon, Cl as SELECT_BR_UF_TILES, Br as SELECT_CARD_BRANDS, Od as SELECT_COLOR_PRESETS, mo as SELECT_COL_DATETIME, ho as SELECT_COL_ID, yr as SELECT_COUNTRIES, dd as SELECT_DAILY_PRESETS, cd as SELECT_DATE_PRESETS, kr as SELECT_SPACE, Lo as SELECT_TOKEN_PATTERN, Tr as SELECT_TRANSACTION_STATUS, ae as SearchIcon, Jd as SelectAccordion, io as SelectActionCard, Dr as SelectActionList, Or as SelectActionMenu, Mn as SelectAddButton, Oo as SelectAddCard, Cn as SelectAlert, ao as SelectAppTile, wc as SelectAssistant, H as SelectAuthFx, Pi as SelectAvatar, Wi as SelectBackLink, wr as SelectBadge, Qs as SelectBalanceCard, rr as SelectBankAccountField, Jc as SelectBarChart, Lr as SelectBox, Vl as SelectBoxPlot, ea as SelectBreadcrumb, xd as SelectBuilderLayout, Sd as SelectBuilderWorkspace, Pl as SelectBullet, fu as SelectBump, U as SelectButton, Ul as SelectCalendarHeatmap, Bl as SelectCandlestick, ne as SelectCard, ko as SelectCardGrid, Gd as SelectCertificatePreview, jc as SelectChartCard, al as SelectChartLegend, Tc as SelectChatMessage, Ec as SelectChatTurn, Dc as SelectChatTyping, dn as SelectCheckbox, Li as SelectChipInput, Bd as SelectChoiceCard, Vd as SelectChoiceCardSkeleton, Hd as SelectChoiceGrid, Ql as SelectChord, yu as SelectCirclePack, to as SelectCodeBlock, ro as SelectCollapsible, Rd as SelectColorField, il as SelectColumnChart, el as SelectComboChart, $n as SelectCombobox, fo as SelectConfirmModal, $a as SelectCopyRow, no as SelectCopyableId, oo as SelectCreateTile, Do as SelectDataTable, Ms as SelectDateField, pd as SelectDatePicker, vd as SelectDateRangeField, ju as SelectDetailList, Mu as SelectDetailRow, Go as SelectDeviceFrame, Xr as SelectDisclosureButton, Ni as SelectDivider, xn as SelectDocumentField, tl as SelectDonut, C as SelectDotField, Fo as SelectDragHandle, Io as SelectDragPreview, Kl as SelectDumbbell, jo as SelectFactList, $s as SelectFeeBreakdown, un as SelectField, er as SelectFieldGrid, jn as SelectFileDropzone, wn as SelectFileTile, Ls as SelectFilterBar, Qa as SelectFilterChip, wd as SelectFlowCanvas, Ed as SelectFlowLayout, Td as SelectFlowNode, ia as SelectFormLayout, po as SelectFormModal, hl as SelectFunnel, bl as SelectGauge, Jl as SelectGaugeBands, su as SelectGlobe, Pr as SelectGrid, xl as SelectHeatmap, $l as SelectHexbin, ps as SelectHideMoneyToggle, jl as SelectHorizontalBar, gu as SelectIcicle, pa as SelectIcon, Yr as SelectIconButton, Yo as SelectIconPicker, ul as SelectIconTile, Bi as SelectIdentityFooter, qd as SelectImageField, Bn as SelectImageGalleryField, Pn as SelectImageUploadField, Nn as SelectImageUrlsField, Ju as SelectImageZoomModal, on as SelectInfoTip, Nr as SelectInline, bc as SelectInsight, xc as SelectInsightList, Sc as SelectInsightRow, cl as SelectJourney, Oi as SelectJsonViewer, Eu as SelectKbd, $u as SelectKeyValueEditor, ec as SelectKpiCard, sn as SelectLabelRow, No as SelectLayoutThumb, Qc as SelectLineChart, Mi as SelectLinkButton, Wu as SelectListCard, Ku as SelectListLabel, Gu as SelectListRow, $i as SelectLoader, qo as SelectMailPreview, ql as SelectMarimekko, vs as SelectMarkStack, Xu as SelectMediaCell, Ga as SelectMenu, Za as SelectMenuButton, Xa as SelectMenuDivider, Ya as SelectMenuHeading, qa as SelectMenuItem, Ja as SelectMenuLink, Ko as SelectMessageBubble, fs as SelectMetricDelta, pl as SelectMiniStats, lo as SelectModal, us as SelectMoney, _n as SelectMoneyField, bu as SelectNetwork, ma as SelectNote, yd as SelectNumberField, Ac as SelectNumberedItem, kc as SelectNumberedList, ms as SelectOfferPrice, Zu as SelectOfflineModal, Ri as SelectOptionList, zi as SelectOptionRow, Vi as SelectOtpInput, ta as SelectPage, Oa as SelectPagination, _a as SelectPanel, pu as SelectParallel, lu as SelectPareto, Qi as SelectPasswordStrength, Jr as SelectPaymentBrand, ml as SelectPaymentCard, xr as SelectPhoneField, ll as SelectPips, Uu as SelectPlanCard, Wl as SelectPolarArea, Zn as SelectPopover, Zs as SelectPreviewFrame, Uo as SelectPreviewStage, zd as SelectProgressBar, wl as SelectProgressList, du as SelectPyramid, Rl as SelectRadar, El as SelectRadialBar, Sr as SelectRadioGroup, Hl as SelectRangeBar, gs as SelectRating, _s as SelectRatingQuote, Ao as SelectRecordCard, bd as SelectRepeatingFieldArray, Ki as SelectResendButton, Ji as SelectRetryStatus, sl as SelectRing, uo as SelectRowActions, zl as SelectSankey, Ll as SelectScatter, Ta as SelectSearchInput, Su as SelectSearchMenu, wu as SelectSearchMenuGroup, Tu as SelectSearchMenuOption, va as SelectSection, Cr as SelectSegmented, Vn as SelectSelect, ls as SelectSensitiveValue, ha as SelectSettingList, ga as SelectSettingRow, Iu as SelectSetupGuide, Lu as SelectSetupNext, ol as SelectShareBar, wa as SelectSideNav, da as SelectSkeleton, Gl as SelectSlope, Po as SelectSortableItem, Kc as SelectSparkline, Qo as SelectSplitChain, dl as SelectSpotlight, Mr as SelectStack, $c as SelectStackedArea, Er as SelectStatusBadge, Nu as SelectSteps, Yl as SelectStreamGraph, Xl as SelectSunburst, zs as SelectSurface, ir as SelectSwitch, Dd as SelectSwitchField, La as SelectTable, Ua as SelectTableCell, Wa as SelectTableEmpty, Ba as SelectTableRow, ya as SelectTabs, Rs as SelectTagSelect, fl as SelectTaskCard, Rr as SelectText, fn as SelectTextarea, ku as SelectThemeSwitcher, qu as SelectThumbnail, cu as SelectTicker, Sl as SelectTileMap, ji as SelectTimeline, Ks as SelectToastProvider, ar as SelectToggleList, sr as SelectTogglePanel, or as SelectToggleRow, Ho as SelectTokenTextarea, an as SelectTooltip, Hu as SelectTour, _u as SelectTree, Il as SelectTreemap, pn as SelectUnitInput, za as SelectUserCell, ss as SelectValueVisibilityProvider, vu as SelectVenn, Zl as SelectViolin, uu as SelectWaffle, Ml as SelectWaterfall, eu as SelectWordCloud, so as SelectWorkspaceSwitcher, Yu as SelectZoomThumbnail, _e as SelectorIcon, et as SendIcon, ue as Setting4Icon, Xe as SettingsIcon, ze as ShieldIcon, Gt as ShieldTickIcon, Nt as SparkleIcon, he as SplitIcon, me as StarIcon, gt as StoreIcon, xt as StorefrontIcon, Ee as SunIcon, Yt as TargetIcon, Ce as TerminalIcon, dt as TicketDiscountIcon, Je as TrashIcon, Bt as TrendUpIcon, pt as TruckIcon, oe as UploadIcon, xe as UserIcon, Et as UsersIcon, Ze as WalletIcon, be as WarningIcon, Ge as Web3Icon, Qt as WhatsAppIcon, Fi as avatarInitials, Md as contrastRatio, Yn as detectSelectTheme, br as dialCodeOf, sc as formatInsightImpact, Gi as formatResendWait, In as galleryItemFromFile, Ln as galleryItemFromUrl, Pd as hexToHsv, Fd as hsvToHex, Ad as normalizeHex, Zi as passwordScore, eo as prettyCode, Vo as readTokenText, Ou as resolveSelectTheme, Ur as selectCardBrand, Wr as selectCardBrandLabel, To as useSelectPageSize, qs as useSelectToast, cs as useSelectValueVisibility };
|
|
29189
29231
|
|
|
29190
29232
|
//# sourceMappingURL=index.js.map
|