@aveonline/ui-react 1.14.2 → 1.14.4
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/README.md +126 -126
- package/dist/components/atoms/Switch/ISwitch.d.ts +4 -0
- package/dist/components/atoms/Switch/Switch.d.ts +2 -2
- package/dist/components/molecules/Flag/IFlag.d.ts +1 -1
- package/dist/reset.css +273 -273
- package/dist/tailwind.config.js +242 -242
- package/dist/tailwind.css +1 -1
- package/dist/tokens.css +160 -160
- package/dist/ui-react.mjs +147 -143
- package/dist/ui-react.umd.js +19 -19
- package/dist/vite-env.d.ts +2 -2
- package/package.json +105 -105
- package/dist/components/molecules/Selectable/select.d.ts +0 -27
package/dist/ui-react.mjs
CHANGED
|
@@ -349,17 +349,17 @@ function Il() {
|
|
|
349
349
|
}
|
|
350
350
|
} catch (wt) {
|
|
351
351
|
if (wt && K && typeof wt.stack == "string") {
|
|
352
|
-
for (var
|
|
352
|
+
for (var ne = wt.stack.split(`
|
|
353
353
|
`), qe = K.stack.split(`
|
|
354
|
-
`), Me =
|
|
354
|
+
`), Me = ne.length - 1, Ne = qe.length - 1; Me >= 1 && Ne >= 0 && ne[Me] !== qe[Ne]; )
|
|
355
355
|
Ne--;
|
|
356
356
|
for (; Me >= 1 && Ne >= 0; Me--, Ne--)
|
|
357
|
-
if (
|
|
357
|
+
if (ne[Me] !== qe[Ne]) {
|
|
358
358
|
if (Me !== 1 || Ne !== 1)
|
|
359
359
|
do
|
|
360
|
-
if (Me--, Ne--, Ne < 0 ||
|
|
360
|
+
if (Me--, Ne--, Ne < 0 || ne[Me] !== qe[Ne]) {
|
|
361
361
|
var ut = `
|
|
362
|
-
` +
|
|
362
|
+
` + ne[Me].replace(" at new ", " at ");
|
|
363
363
|
return h.displayName && ut.includes("<anonymous>") && (ut = ut.replace("<anonymous>", h.displayName)), typeof h == "function" && Re.set(h, ut), ut;
|
|
364
364
|
}
|
|
365
365
|
while (Me >= 1 && Ne >= 0);
|
|
@@ -369,7 +369,7 @@ function Il() {
|
|
|
369
369
|
} finally {
|
|
370
370
|
Ke = !1, Be.current = ve, re(), Error.prepareStackTrace = le;
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var o1 = h ? h.displayName || h.name : "", J2 = o1 ? He(o1) : "";
|
|
373
373
|
return typeof h == "function" && Re.set(h, J2), J2;
|
|
374
374
|
}
|
|
375
375
|
function rt(h, F, T) {
|
|
@@ -421,23 +421,23 @@ function Il() {
|
|
|
421
421
|
var ve = Function.call.bind(vt);
|
|
422
422
|
for (var ie in h)
|
|
423
423
|
if (ve(h, ie)) {
|
|
424
|
-
var
|
|
424
|
+
var ne = void 0;
|
|
425
425
|
try {
|
|
426
426
|
if (typeof h[ie] != "function") {
|
|
427
427
|
var qe = Error((K || "React class") + ": " + T + " type `" + ie + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[ie] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
428
428
|
throw qe.name = "Invariant Violation", qe;
|
|
429
429
|
}
|
|
430
|
-
|
|
430
|
+
ne = h[ie](F, ie, K, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
431
431
|
} catch (Me) {
|
|
432
|
-
|
|
432
|
+
ne = Me;
|
|
433
433
|
}
|
|
434
|
-
|
|
434
|
+
ne && !(ne instanceof Error) && ($e(le), B("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", K || "React class", T, ie, typeof ne), $e(null)), ne instanceof Error && !(ne.message in Jt) && (Jt[ne.message] = !0, $e(le), B("Failed %s type: %s", T, ne.message), $e(null));
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
var
|
|
438
|
+
var i1 = Array.isArray;
|
|
439
439
|
function xt(h) {
|
|
440
|
-
return
|
|
440
|
+
return i1(h);
|
|
441
441
|
}
|
|
442
442
|
function $n(h) {
|
|
443
443
|
{
|
|
@@ -511,7 +511,7 @@ function Il() {
|
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
var We = function(h, F, T, K, le, ve, ie) {
|
|
514
|
-
var
|
|
514
|
+
var ne = {
|
|
515
515
|
$$typeof: t,
|
|
516
516
|
type: h,
|
|
517
517
|
key: F,
|
|
@@ -519,27 +519,27 @@ function Il() {
|
|
|
519
519
|
props: ie,
|
|
520
520
|
_owner: ve
|
|
521
521
|
};
|
|
522
|
-
return
|
|
522
|
+
return ne._store = {}, Object.defineProperty(ne._store, "validated", {
|
|
523
523
|
configurable: !1,
|
|
524
524
|
enumerable: !1,
|
|
525
525
|
writable: !0,
|
|
526
526
|
value: !1
|
|
527
|
-
}), Object.defineProperty(
|
|
527
|
+
}), Object.defineProperty(ne, "_self", {
|
|
528
528
|
configurable: !1,
|
|
529
529
|
enumerable: !1,
|
|
530
530
|
writable: !1,
|
|
531
531
|
value: K
|
|
532
|
-
}), Object.defineProperty(
|
|
532
|
+
}), Object.defineProperty(ne, "_source", {
|
|
533
533
|
configurable: !1,
|
|
534
534
|
enumerable: !1,
|
|
535
535
|
writable: !1,
|
|
536
536
|
value: le
|
|
537
|
-
}), Object.freeze && (Object.freeze(
|
|
537
|
+
}), Object.freeze && (Object.freeze(ne.props), Object.freeze(ne)), ne;
|
|
538
538
|
};
|
|
539
539
|
function Ye(h, F, T, K, le) {
|
|
540
540
|
{
|
|
541
|
-
var ve, ie = {},
|
|
542
|
-
T !== void 0 && (_1(T),
|
|
541
|
+
var ve, ie = {}, ne = null, qe = null;
|
|
542
|
+
T !== void 0 && (_1(T), ne = "" + T), tr(F) && (_1(F.key), ne = "" + F.key), tn(F) && (qe = F.ref, Fe(F, le));
|
|
543
543
|
for (ve in F)
|
|
544
544
|
vt.call(F, ve) && !er.hasOwnProperty(ve) && (ie[ve] = F[ve]);
|
|
545
545
|
if (h && h.defaultProps) {
|
|
@@ -547,11 +547,11 @@ function Il() {
|
|
|
547
547
|
for (ve in Me)
|
|
548
548
|
ie[ve] === void 0 && (ie[ve] = Me[ve]);
|
|
549
549
|
}
|
|
550
|
-
if (
|
|
550
|
+
if (ne || qe) {
|
|
551
551
|
var Ne = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
|
|
552
|
-
|
|
552
|
+
ne && je(ie, Ne), qe && ze(ie, Ne);
|
|
553
553
|
}
|
|
554
|
-
return We(h,
|
|
554
|
+
return We(h, ne, qe, le, K, Ut.current, ie);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
var Je = E.ReactCurrentOwner, Kt = E.ReactDebugCurrentFrame;
|
|
@@ -674,12 +674,12 @@ Check the top-level render call using <` + T + ">.");
|
|
|
674
674
|
{
|
|
675
675
|
var ie = V(h);
|
|
676
676
|
if (!ie) {
|
|
677
|
-
var
|
|
678
|
-
(h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (
|
|
677
|
+
var ne = "";
|
|
678
|
+
(h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (ne += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
679
679
|
var qe = rl(le);
|
|
680
|
-
qe ?
|
|
680
|
+
qe ? ne += qe : ne += nn();
|
|
681
681
|
var Me;
|
|
682
|
-
h === null ? Me = "null" : xt(h) ? Me = "array" : h !== void 0 && h.$$typeof === t ? (Me = "<" + (P(h.type) || "Unknown") + " />",
|
|
682
|
+
h === null ? Me = "null" : xt(h) ? Me = "array" : h !== void 0 && h.$$typeof === t ? (Me = "<" + (P(h.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : Me = typeof h, B("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Me, ne);
|
|
683
683
|
}
|
|
684
684
|
var Ne = Ye(h, F, T, le, ve);
|
|
685
685
|
if (Ne == null)
|
|
@@ -689,8 +689,8 @@ Check the top-level render call using <` + T + ">.");
|
|
|
689
689
|
if (ut !== void 0)
|
|
690
690
|
if (K)
|
|
691
691
|
if (xt(ut)) {
|
|
692
|
-
for (var
|
|
693
|
-
W2(ut[
|
|
692
|
+
for (var o1 = 0; o1 < ut.length; o1++)
|
|
693
|
+
W2(ut[o1], h);
|
|
694
694
|
Object.freeze && Object.freeze(ut);
|
|
695
695
|
} else
|
|
696
696
|
B("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -874,7 +874,7 @@ function El({ variant: e, ...t }) {
|
|
|
874
874
|
)
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function c1({
|
|
878
878
|
variant: e = "heading",
|
|
879
879
|
children: t,
|
|
880
880
|
lineHeight: n,
|
|
@@ -949,7 +949,7 @@ function uo(e) {
|
|
|
949
949
|
...s && { htmlFor: s }
|
|
950
950
|
}, getClass: u };
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function te(e) {
|
|
953
953
|
const {
|
|
954
954
|
attributes: t,
|
|
955
955
|
getClass: n
|
|
@@ -1004,7 +1004,7 @@ function N8({
|
|
|
1004
1004
|
"bg-surface-warning-default": e === "warning",
|
|
1005
1005
|
"bg-surface-critical-default": e === "critical"
|
|
1006
1006
|
}),
|
|
1007
|
-
children: /* @__PURE__ */ d(
|
|
1007
|
+
children: /* @__PURE__ */ d(te, {
|
|
1008
1008
|
variant: "caption",
|
|
1009
1009
|
children: t
|
|
1010
1010
|
})
|
|
@@ -1429,8 +1429,8 @@ function ho(e) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
}
|
|
1431
1431
|
let Sl = "div";
|
|
1432
|
-
var
|
|
1433
|
-
let
|
|
1432
|
+
var t1 = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(t1 || {});
|
|
1433
|
+
let n1 = pe(function(e, t) {
|
|
1434
1434
|
let { features: n = 1, ...i } = e, r = { ref: t, "aria-hidden": (n & 2) === 2 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(n & 4) === 4 && (n & 2) !== 2 && { display: "none" } } };
|
|
1435
1435
|
return Ce({ ourProps: r, theirProps: i, slot: {}, defaultTag: Sl, name: "Hidden" });
|
|
1436
1436
|
}), t2 = Pe(null);
|
|
@@ -1532,21 +1532,21 @@ let h1 = Object.assign(pe(function(e, t) {
|
|
|
1532
1532
|
}), g = {
|
|
1533
1533
|
ref: i
|
|
1534
1534
|
};
|
|
1535
|
-
return oe.createElement(oe.Fragment, null, Boolean(a & 4) && /* @__PURE__ */ d(
|
|
1535
|
+
return oe.createElement(oe.Fragment, null, Boolean(a & 4) && /* @__PURE__ */ d(n1, {
|
|
1536
1536
|
as: "button",
|
|
1537
1537
|
type: "button",
|
|
1538
1538
|
onFocus: A,
|
|
1539
|
-
features:
|
|
1539
|
+
features: t1.Focusable
|
|
1540
1540
|
}), Ce({
|
|
1541
1541
|
ourProps: g,
|
|
1542
1542
|
theirProps: l,
|
|
1543
1543
|
defaultTag: Ml,
|
|
1544
1544
|
name: "FocusTrap"
|
|
1545
|
-
}), Boolean(a & 4) && /* @__PURE__ */ d(
|
|
1545
|
+
}), Boolean(a & 4) && /* @__PURE__ */ d(n1, {
|
|
1546
1546
|
as: "button",
|
|
1547
1547
|
type: "button",
|
|
1548
1548
|
onFocus: A,
|
|
1549
|
-
features:
|
|
1549
|
+
features: t1.Focusable
|
|
1550
1550
|
}));
|
|
1551
1551
|
}), {
|
|
1552
1552
|
features: Ro
|
|
@@ -1620,7 +1620,7 @@ function Gl(e, t) {
|
|
|
1620
1620
|
return !0;
|
|
1621
1621
|
return !1;
|
|
1622
1622
|
}
|
|
1623
|
-
let
|
|
1623
|
+
let a1 = /* @__PURE__ */ new Set(), Lt = /* @__PURE__ */ new Map();
|
|
1624
1624
|
function ti(e) {
|
|
1625
1625
|
e.setAttribute("aria-hidden", "true"), e.inert = !0;
|
|
1626
1626
|
}
|
|
@@ -1634,21 +1634,21 @@ function Ol(e, t = !0) {
|
|
|
1634
1634
|
return;
|
|
1635
1635
|
let n = e.current, i = zt(n);
|
|
1636
1636
|
if (i) {
|
|
1637
|
-
|
|
1637
|
+
a1.add(n);
|
|
1638
1638
|
for (let r of Lt.keys())
|
|
1639
1639
|
r.contains(n) && (ni(r), Lt.delete(r));
|
|
1640
1640
|
return i.querySelectorAll("body > *").forEach((r) => {
|
|
1641
1641
|
if (r instanceof HTMLElement) {
|
|
1642
|
-
for (let o of
|
|
1642
|
+
for (let o of a1)
|
|
1643
1643
|
if (r.contains(o))
|
|
1644
1644
|
return;
|
|
1645
|
-
|
|
1645
|
+
a1.size === 1 && (Lt.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), ti(r));
|
|
1646
1646
|
}
|
|
1647
1647
|
}), () => {
|
|
1648
|
-
if (
|
|
1648
|
+
if (a1.delete(n), a1.size > 0)
|
|
1649
1649
|
i.querySelectorAll("body > *").forEach((r) => {
|
|
1650
1650
|
if (r instanceof HTMLElement && !Lt.has(r)) {
|
|
1651
|
-
for (let o of
|
|
1651
|
+
for (let o of a1)
|
|
1652
1652
|
if (r.contains(o))
|
|
1653
1653
|
return;
|
|
1654
1654
|
Lt.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), ti(r);
|
|
@@ -1955,8 +1955,8 @@ let $l = "div", es = Bt.RenderStrategy | Bt.Static, ts = pe(function(e, t) {
|
|
|
1955
1955
|
})
|
|
1956
1956
|
})
|
|
1957
1957
|
})
|
|
1958
|
-
}), /* @__PURE__ */ d(
|
|
1959
|
-
features:
|
|
1958
|
+
}), /* @__PURE__ */ d(n1, {
|
|
1959
|
+
features: t1.Hidden,
|
|
1960
1960
|
ref: f
|
|
1961
1961
|
}));
|
|
1962
1962
|
}), ns = "div", rs = pe(function(e, t) {
|
|
@@ -2851,8 +2851,8 @@ let ks = "div", Zs = pe(function(e, t) {
|
|
|
2851
2851
|
value: O,
|
|
2852
2852
|
children: [r != null && v != null && Eo({
|
|
2853
2853
|
[r]: v
|
|
2854
|
-
}).map(([w, N]) => oe.createElement(
|
|
2855
|
-
features:
|
|
2854
|
+
}).map(([w, N]) => oe.createElement(n1, {
|
|
2855
|
+
features: t1.Hidden,
|
|
2856
2856
|
...Cn({
|
|
2857
2857
|
key: w,
|
|
2858
2858
|
as: "input",
|
|
@@ -3009,8 +3009,8 @@ let Js = "button", Us = pe(function(e, t) {
|
|
|
3009
3009
|
onKeyUp: I,
|
|
3010
3010
|
onKeyPress: E
|
|
3011
3011
|
};
|
|
3012
|
-
return oe.createElement(oe.Fragment, null, o != null && g && oe.createElement(
|
|
3013
|
-
features:
|
|
3012
|
+
return oe.createElement(oe.Fragment, null, o != null && g && oe.createElement(n1, {
|
|
3013
|
+
features: t1.Hidden,
|
|
3014
3014
|
...Cn({
|
|
3015
3015
|
as: "input",
|
|
3016
3016
|
type: "checkbox",
|
|
@@ -3036,10 +3036,10 @@ function qs({
|
|
|
3036
3036
|
onFocus: e
|
|
3037
3037
|
}) {
|
|
3038
3038
|
let [t, n] = j(!0);
|
|
3039
|
-
return t ? oe.createElement(
|
|
3039
|
+
return t ? oe.createElement(n1, {
|
|
3040
3040
|
as: "button",
|
|
3041
3041
|
type: "button",
|
|
3042
|
-
features:
|
|
3042
|
+
features: t1.Focusable,
|
|
3043
3043
|
onFocus: (i) => {
|
|
3044
3044
|
i.preventDefault();
|
|
3045
3045
|
let r, o = 50;
|
|
@@ -3350,7 +3350,7 @@ let tu = we, nu = pe(function(e, t) {
|
|
|
3350
3350
|
"aria-labelledby": (i = (n = l[p]) == null ? void 0 : n.current) == null ? void 0 : i.id,
|
|
3351
3351
|
tabIndex: I ? 0 : -1
|
|
3352
3352
|
};
|
|
3353
|
-
return !I && ((r = e.unmount) != null ? r : !0) && !((o = e.static) != null && o) ? oe.createElement(
|
|
3353
|
+
return !I && ((r = e.unmount) != null ? r : !0) && !((o = e.static) != null && o) ? oe.createElement(n1, {
|
|
3354
3354
|
as: "span",
|
|
3355
3355
|
...R
|
|
3356
3356
|
}) : Ce({
|
|
@@ -3701,30 +3701,33 @@ function D8({
|
|
|
3701
3701
|
isSelected: t = !1,
|
|
3702
3702
|
isDisabled: n,
|
|
3703
3703
|
name: i = "",
|
|
3704
|
-
|
|
3704
|
+
hasFrozenState: r = !1,
|
|
3705
|
+
...o
|
|
3705
3706
|
}) {
|
|
3706
|
-
const [
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
}
|
|
3707
|
+
const [a, l] = j(t), s = (c) => {
|
|
3708
|
+
if (r)
|
|
3709
|
+
return l(!c), e(!c);
|
|
3710
|
+
l(c), e(c);
|
|
3711
|
+
}, u = ({
|
|
3712
|
+
checked: c
|
|
3713
|
+
}) => n ? "bg-surface-disabled" : c ? "bg-action-primary-default" : "bg-action-primary-disabled";
|
|
3711
3714
|
return /* @__PURE__ */ d(Ks, {
|
|
3712
3715
|
name: i,
|
|
3713
|
-
checked:
|
|
3714
|
-
onChange:
|
|
3716
|
+
checked: a,
|
|
3717
|
+
onChange: s,
|
|
3715
3718
|
as: we,
|
|
3716
|
-
...
|
|
3719
|
+
...o,
|
|
3717
3720
|
children: ({
|
|
3718
|
-
checked:
|
|
3721
|
+
checked: c
|
|
3719
3722
|
}) => /* @__PURE__ */ M("button", {
|
|
3720
3723
|
disabled: n,
|
|
3721
|
-
className: D("relative inline-flex h-6 w-12 items-center rounded-full",
|
|
3722
|
-
checked:
|
|
3724
|
+
className: D("relative inline-flex h-6 w-12 items-center rounded-full", u({
|
|
3725
|
+
checked: c
|
|
3723
3726
|
})),
|
|
3724
3727
|
children: [/* @__PURE__ */ d("span", {
|
|
3725
3728
|
className: "sr-only"
|
|
3726
3729
|
}), /* @__PURE__ */ d("span", {
|
|
3727
|
-
className: D("inline-block h-4 w-4 transform rounded-full transition",
|
|
3730
|
+
className: D("inline-block h-4 w-4 transform rounded-full transition", c ? "translate-x-7" : "translate-x-1", n ? "bg-icon-disabled" : "bg-icon-on")
|
|
3728
3731
|
})]
|
|
3729
3732
|
})
|
|
3730
3733
|
});
|
|
@@ -5045,7 +5048,7 @@ const $u = (e) => {
|
|
|
5045
5048
|
}
|
|
5046
5049
|
};
|
|
5047
5050
|
};
|
|
5048
|
-
var
|
|
5051
|
+
var r1 = typeof document < "u" ? O1 : ee;
|
|
5049
5052
|
function e0() {
|
|
5050
5053
|
const e = /* @__PURE__ */ new Map();
|
|
5051
5054
|
return {
|
|
@@ -5065,7 +5068,7 @@ let ur = !1, t0 = 0;
|
|
|
5065
5068
|
const gi = () => "floating-ui-" + t0++;
|
|
5066
5069
|
function n0() {
|
|
5067
5070
|
const [e, t] = m.useState(() => ur ? gi() : void 0);
|
|
5068
|
-
return
|
|
5071
|
+
return r1(() => {
|
|
5069
5072
|
e == null && t(gi());
|
|
5070
5073
|
}, []), m.useEffect(() => {
|
|
5071
5074
|
ur || (ur = !0);
|
|
@@ -5133,7 +5136,7 @@ function l0(e) {
|
|
|
5133
5136
|
domReference: s
|
|
5134
5137
|
}
|
|
5135
5138
|
}), [C, l, f, t, p, I, s]);
|
|
5136
|
-
|
|
5139
|
+
r1(() => {
|
|
5137
5140
|
const v = c == null ? void 0 : c.nodesRef.current.find((b) => b.id === l);
|
|
5138
5141
|
v && (v.context = E);
|
|
5139
5142
|
});
|
|
@@ -5214,7 +5217,7 @@ const Yo = "floating-ui-root", u0 = function(e) {
|
|
|
5214
5217
|
enabled: n = !0
|
|
5215
5218
|
} = e === void 0 ? {} : e;
|
|
5216
5219
|
const [i, r] = m.useState(null);
|
|
5217
|
-
return
|
|
5220
|
+
return r1(() => {
|
|
5218
5221
|
if (!n)
|
|
5219
5222
|
return;
|
|
5220
5223
|
const o = document.getElementById(t);
|
|
@@ -5242,13 +5245,13 @@ function A0(e) {
|
|
|
5242
5245
|
}
|
|
5243
5246
|
function Ii(e) {
|
|
5244
5247
|
const t = Z(e);
|
|
5245
|
-
return
|
|
5248
|
+
return r1(() => {
|
|
5246
5249
|
t.current = e;
|
|
5247
5250
|
}), t;
|
|
5248
5251
|
}
|
|
5249
5252
|
function d0(e) {
|
|
5250
5253
|
const t = Z();
|
|
5251
|
-
return
|
|
5254
|
+
return r1(() => {
|
|
5252
5255
|
t.current = e;
|
|
5253
5256
|
}, [e]), t.current;
|
|
5254
5257
|
}
|
|
@@ -5374,7 +5377,7 @@ const g0 = function(e, t) {
|
|
|
5374
5377
|
E,
|
|
5375
5378
|
I,
|
|
5376
5379
|
c
|
|
5377
|
-
]),
|
|
5380
|
+
]), r1(() => {
|
|
5378
5381
|
if (!!n && s && I.current && I.current.__options.blockPointerEvents && Q()) {
|
|
5379
5382
|
Ht(g.floating.current).body.style.pointerEvents = "none", S.current = !0;
|
|
5380
5383
|
const N = g.domReference.current, H = g.floating.current;
|
|
@@ -5386,7 +5389,7 @@ const g0 = function(e, t) {
|
|
|
5386
5389
|
};
|
|
5387
5390
|
}
|
|
5388
5391
|
}
|
|
5389
|
-
}, [n, s, p, g, C, I, c, Q]),
|
|
5392
|
+
}, [n, s, p, g, C, I, c, Q]), r1(() => {
|
|
5390
5393
|
B && !s && (R.current = void 0, O(), G());
|
|
5391
5394
|
}), m.useEffect(() => () => {
|
|
5392
5395
|
O(), clearTimeout(v.current), clearTimeout(x.current), S.current && G();
|
|
@@ -5719,12 +5722,12 @@ function Jo({
|
|
|
5719
5722
|
}), /* @__PURE__ */ M(m0, {
|
|
5720
5723
|
state: l,
|
|
5721
5724
|
className: "w-max max-w-[368px] rounded-[5px] bg-surface-default py-[12px] px-[16px] drop-shadow-[0px_2px_10px_rgba(0,0,0,0.1)]",
|
|
5722
|
-
children: [/* @__PURE__ */ d(
|
|
5725
|
+
children: [/* @__PURE__ */ d(te, {
|
|
5723
5726
|
variant: "highlight",
|
|
5724
5727
|
color: "default",
|
|
5725
5728
|
className: "mb-1",
|
|
5726
5729
|
children: t
|
|
5727
|
-
}), /* @__PURE__ */ d(
|
|
5730
|
+
}), /* @__PURE__ */ d(te, {
|
|
5728
5731
|
variant: "body",
|
|
5729
5732
|
color: "subdued",
|
|
5730
5733
|
children: n
|
|
@@ -5769,14 +5772,14 @@ const b0 = mt((e, t) => {
|
|
|
5769
5772
|
className: D("border-2", g())
|
|
5770
5773
|
}), a && /* @__PURE__ */ M("div", {
|
|
5771
5774
|
className: "flex flex-col items-start justify-center",
|
|
5772
|
-
children: [/* @__PURE__ */ d(
|
|
5775
|
+
children: [/* @__PURE__ */ d(te, {
|
|
5773
5776
|
as: "label",
|
|
5774
5777
|
variant: "body",
|
|
5775
5778
|
className: "break-words",
|
|
5776
5779
|
htmlFor: n,
|
|
5777
5780
|
color: r ? "disabled" : c,
|
|
5778
5781
|
children: a
|
|
5779
|
-
}), l && /* @__PURE__ */ d(
|
|
5782
|
+
}), l && /* @__PURE__ */ d(te, {
|
|
5780
5783
|
variant: "body",
|
|
5781
5784
|
className: "mt-1",
|
|
5782
5785
|
htmlFor: n,
|
|
@@ -5804,14 +5807,14 @@ function G8({
|
|
|
5804
5807
|
className: D("relative inline-block h-6 w-6 rounded-md", l()),
|
|
5805
5808
|
children: /* @__PURE__ */ d("strong", {
|
|
5806
5809
|
className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",
|
|
5807
|
-
children: /* @__PURE__ */ d(
|
|
5810
|
+
children: /* @__PURE__ */ d(te, {
|
|
5808
5811
|
variant: "highlight",
|
|
5809
5812
|
color: "on",
|
|
5810
5813
|
className: "select-none",
|
|
5811
5814
|
children: e
|
|
5812
5815
|
})
|
|
5813
5816
|
})
|
|
5814
|
-
}), /* @__PURE__ */ d(
|
|
5817
|
+
}), /* @__PURE__ */ d(te, {
|
|
5815
5818
|
variant: "button",
|
|
5816
5819
|
color: s(),
|
|
5817
5820
|
className: D("select-none mt-1", !t && "hover:text-letter-default active:text-letter-default"),
|
|
@@ -6401,14 +6404,14 @@ const Uo = mt((e, t) => {
|
|
|
6401
6404
|
className: D((() => r ? "border-border-disabled checked:text-action-primary-disabled bg-action-secondary-default disabled:bg-action-secondary-disabled checked:hover:bg-action-secondary-disabled" : u ? "checked:bg-action-critical-default checked:text-letter-critical active:bg-action-critical-default border-border-critical-default checked:hover:bg-action-critical-default focus:ring-none ring-offset-0 active:ring-transparent focus:ring-transparent focus:ring-offset-0 focus:ring-critical-default" : "border-border-default hover:border-border-hovered focus:ring-focused-default ring-offset-1 active:ring-1 focus:ring-1 focus:ring-offset-1 cursor-pointer")(), "rounded-[5px] bg-white border-[1.5px]", g === "sm" && "h-[18px] w-[18px]", g === "md" && "h-[20px] w-[20px]")
|
|
6402
6405
|
}), a && /* @__PURE__ */ M("div", {
|
|
6403
6406
|
className: "flex flex-col items-start justify-center",
|
|
6404
|
-
children: [/* @__PURE__ */ d(
|
|
6407
|
+
children: [/* @__PURE__ */ d(te, {
|
|
6405
6408
|
as: "label",
|
|
6406
6409
|
variant: "body",
|
|
6407
6410
|
className: "break-words select-none",
|
|
6408
6411
|
htmlFor: n,
|
|
6409
6412
|
color: r ? "disabled" : A,
|
|
6410
6413
|
children: a
|
|
6411
|
-
}), l && /* @__PURE__ */ d(
|
|
6414
|
+
}), l && /* @__PURE__ */ d(te, {
|
|
6412
6415
|
variant: "body",
|
|
6413
6416
|
className: "mt-1",
|
|
6414
6417
|
htmlFor: n,
|
|
@@ -6942,7 +6945,7 @@ function s3(e, t, n) {
|
|
|
6942
6945
|
function bi(e, t, n, i) {
|
|
6943
6946
|
return Jn(e, t, n, x2, P1(e, 0, i), P1(e, i + 1, -1), i);
|
|
6944
6947
|
}
|
|
6945
|
-
function
|
|
6948
|
+
function u1(e, t) {
|
|
6946
6949
|
for (var n = "", i = w2(e), r = 0; r < i; r++)
|
|
6947
6950
|
n += t(e[r], r, e, t) || "";
|
|
6948
6951
|
return n;
|
|
@@ -6955,11 +6958,11 @@ function u3(e, t, n, i) {
|
|
|
6955
6958
|
case R2:
|
|
6956
6959
|
return "";
|
|
6957
6960
|
case _o:
|
|
6958
|
-
return e.return = e.value + "{" +
|
|
6961
|
+
return e.return = e.value + "{" + u1(e.children, i) + "}";
|
|
6959
6962
|
case y2:
|
|
6960
6963
|
e.value = e.props.join(",");
|
|
6961
6964
|
}
|
|
6962
|
-
return ht(n =
|
|
6965
|
+
return ht(n = u1(e.children, i)) ? e.return = e.value + "{" + n + "}" : "";
|
|
6963
6966
|
}
|
|
6964
6967
|
function c3(e) {
|
|
6965
6968
|
var t = w2(e);
|
|
@@ -7179,7 +7182,7 @@ var B3 = function(t, n, i, r) {
|
|
|
7179
7182
|
t.return = ia(t.value, t.length);
|
|
7180
7183
|
break;
|
|
7181
7184
|
case _o:
|
|
7182
|
-
return
|
|
7185
|
+
return u1([B1(t, {
|
|
7183
7186
|
value: ge(t.value, "@", "@" + se)
|
|
7184
7187
|
})], r);
|
|
7185
7188
|
case y2:
|
|
@@ -7188,11 +7191,11 @@ var B3 = function(t, n, i, r) {
|
|
|
7188
7191
|
switch ($0(o, /(::plac\w+|:read-\w+)/)) {
|
|
7189
7192
|
case ":read-only":
|
|
7190
7193
|
case ":read-write":
|
|
7191
|
-
return
|
|
7194
|
+
return u1([B1(t, {
|
|
7192
7195
|
props: [ge(o, /:(read-\w+)/, ":" + Rn + "$1")]
|
|
7193
7196
|
})], r);
|
|
7194
7197
|
case "::placeholder":
|
|
7195
|
-
return
|
|
7198
|
+
return u1([B1(t, {
|
|
7196
7199
|
props: [ge(o, /:(plac\w+)/, ":" + se + "input-$1")]
|
|
7197
7200
|
}), B1(t, {
|
|
7198
7201
|
props: [ge(o, /:(plac\w+)/, ":" + Rn + "$1")]
|
|
@@ -7239,7 +7242,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
7239
7242
|
} : A3(function(p) {
|
|
7240
7243
|
c.insert(p);
|
|
7241
7244
|
})], g = c3(u.concat(r, A)), f = function(I) {
|
|
7242
|
-
return
|
|
7245
|
+
return u1(l3(I), g);
|
|
7243
7246
|
};
|
|
7244
7247
|
s = function(I, E, B, R) {
|
|
7245
7248
|
c = B, process.env.NODE_ENV !== "production" && E.map !== void 0 && (c = {
|
|
@@ -9376,7 +9379,7 @@ function Yi() {
|
|
|
9376
9379
|
function Ji() {
|
|
9377
9380
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
9378
9381
|
}
|
|
9379
|
-
var Ui = !!(typeof window < "u" && window.document && window.document.createElement), R1 = 0,
|
|
9382
|
+
var Ui = !!(typeof window < "u" && window.document && window.document.createElement), R1 = 0, l1 = {
|
|
9380
9383
|
capture: !1,
|
|
9381
9384
|
passive: !1
|
|
9382
9385
|
};
|
|
@@ -9394,7 +9397,7 @@ function F5(e) {
|
|
|
9394
9397
|
c && (c[C] = p);
|
|
9395
9398
|
}), c && (c.paddingRight = "".concat(f, "px"));
|
|
9396
9399
|
}
|
|
9397
|
-
u && Ji() && (u.addEventListener("touchmove", zi,
|
|
9400
|
+
u && Ji() && (u.addEventListener("touchmove", zi, l1), s && (s.addEventListener("touchstart", Yi, l1), s.addEventListener("touchmove", Wi, l1))), R1 += 1;
|
|
9398
9401
|
}
|
|
9399
9402
|
}, [i]), l = Qe(function(s) {
|
|
9400
9403
|
if (!!Ui) {
|
|
@@ -9402,7 +9405,7 @@ function F5(e) {
|
|
|
9402
9405
|
R1 = Math.max(R1 - 1, 0), i && R1 < 1 && Xi.forEach(function(A) {
|
|
9403
9406
|
var g = r.current[A];
|
|
9404
9407
|
c && (c[A] = g);
|
|
9405
|
-
}), u && Ji() && (u.removeEventListener("touchmove", zi,
|
|
9408
|
+
}), u && Ji() && (u.removeEventListener("touchmove", zi, l1), s && (s.removeEventListener("touchstart", Yi, l1), s.removeEventListener("touchmove", Wi, l1)));
|
|
9406
9409
|
}
|
|
9407
9410
|
}, [i]);
|
|
9408
9411
|
return ee(function() {
|
|
@@ -10689,7 +10692,7 @@ function J1({
|
|
|
10689
10692
|
}) {
|
|
10690
10693
|
const o = () => i ? i && (e || t) ? "justify-between" : "justify-end" : "justify-start", a = () => /* @__PURE__ */ d("div", {
|
|
10691
10694
|
className: "my-1",
|
|
10692
|
-
children: /* @__PURE__ */ d(
|
|
10695
|
+
children: /* @__PURE__ */ d(te, {
|
|
10693
10696
|
as: "span",
|
|
10694
10697
|
variant: "body",
|
|
10695
10698
|
color: "subdued",
|
|
@@ -10725,7 +10728,7 @@ const U1 = (e) => /* @__PURE__ */ d(yt.DropdownIndicator, {
|
|
|
10725
10728
|
})
|
|
10726
10729
|
}), O2 = (e) => /* @__PURE__ */ d(yt.Option, {
|
|
10727
10730
|
...e,
|
|
10728
|
-
children: /* @__PURE__ */ d(
|
|
10731
|
+
children: /* @__PURE__ */ d(te, {
|
|
10729
10732
|
as: "span",
|
|
10730
10733
|
variant: "body",
|
|
10731
10734
|
color: e.isSelected ? "on" : "default",
|
|
@@ -10733,7 +10736,7 @@ const U1 = (e) => /* @__PURE__ */ d(yt.DropdownIndicator, {
|
|
|
10733
10736
|
})
|
|
10734
10737
|
}), K1 = (e) => /* @__PURE__ */ d(yt.Placeholder, {
|
|
10735
10738
|
...e,
|
|
10736
|
-
children: /* @__PURE__ */ d(
|
|
10739
|
+
children: /* @__PURE__ */ d(te, {
|
|
10737
10740
|
as: "span",
|
|
10738
10741
|
variant: "body",
|
|
10739
10742
|
color: e.isDisabled ? "disabled" : "subdued",
|
|
@@ -10743,12 +10746,12 @@ const U1 = (e) => /* @__PURE__ */ d(yt.DropdownIndicator, {
|
|
|
10743
10746
|
...e,
|
|
10744
10747
|
children: /* @__PURE__ */ M("div", {
|
|
10745
10748
|
className: "flex items-center space-x-[4px]",
|
|
10746
|
-
children: [e.selectProps.hasLabelPlaceholder && /* @__PURE__ */ d(
|
|
10749
|
+
children: [e.selectProps.hasLabelPlaceholder && /* @__PURE__ */ d(te, {
|
|
10747
10750
|
as: "span",
|
|
10748
10751
|
variant: "body",
|
|
10749
10752
|
color: "subdued",
|
|
10750
10753
|
children: e.selectProps.placeholder
|
|
10751
|
-
}), /* @__PURE__ */ d(
|
|
10754
|
+
}), /* @__PURE__ */ d(te, {
|
|
10752
10755
|
as: "span",
|
|
10753
10756
|
variant: "body",
|
|
10754
10757
|
color: "default",
|
|
@@ -10885,9 +10888,9 @@ function Za(e) {
|
|
|
10885
10888
|
if (r && re[Te])
|
|
10886
10889
|
x(Te), w(Te), L(re[Te]), V(!1), ce(!1);
|
|
10887
10890
|
else {
|
|
10888
|
-
var
|
|
10891
|
+
var i1 = f.current = {};
|
|
10889
10892
|
x(Te), V(!0), ce(!P), Xe(Te, function(xt) {
|
|
10890
|
-
!C ||
|
|
10893
|
+
!C || i1 === f.current && (f.current = void 0, V(!1), w(Te), L(xt || []), ce(!1), Be(xt ? ue(ue({}, re), {}, Ct({}, Te, xt)) : re));
|
|
10891
10894
|
});
|
|
10892
10895
|
}
|
|
10893
10896
|
}, [r, Xe, P, re, s]), Jt = Oe ? [] : b && P ? X : E || [];
|
|
@@ -11011,7 +11014,7 @@ const t4 = ({
|
|
|
11011
11014
|
children: r
|
|
11012
11015
|
});
|
|
11013
11016
|
}, {
|
|
11014
|
-
children: /* @__PURE__ */ d(
|
|
11017
|
+
children: /* @__PURE__ */ d(te, {
|
|
11015
11018
|
as: "span",
|
|
11016
11019
|
variant: "body",
|
|
11017
11020
|
color: n.isSelected ? "on" : "default",
|
|
@@ -11156,7 +11159,7 @@ const Xa = ({
|
|
|
11156
11159
|
className: "flex items-center space-x-[4px]",
|
|
11157
11160
|
children: [/* @__PURE__ */ d(Xa, {
|
|
11158
11161
|
isDisabled: e
|
|
11159
|
-
}), /* @__PURE__ */ d(
|
|
11162
|
+
}), /* @__PURE__ */ d(te, {
|
|
11160
11163
|
as: "span",
|
|
11161
11164
|
variant: "body",
|
|
11162
11165
|
color: e ? "disabled" : "default",
|
|
@@ -11168,7 +11171,7 @@ const Xa = ({
|
|
|
11168
11171
|
...e,
|
|
11169
11172
|
children: /* @__PURE__ */ M("div", {
|
|
11170
11173
|
className: "flex gap-x-1",
|
|
11171
|
-
children: [/* @__PURE__ */ d(Xa, {}), /* @__PURE__ */ d(
|
|
11174
|
+
children: [/* @__PURE__ */ d(Xa, {}), /* @__PURE__ */ d(te, {
|
|
11172
11175
|
as: "span",
|
|
11173
11176
|
variant: "body",
|
|
11174
11177
|
color: e.isSelected ? "on" : "default",
|
|
@@ -11435,7 +11438,7 @@ function Z8({
|
|
|
11435
11438
|
isDisabled: l,
|
|
11436
11439
|
nameTab: s,
|
|
11437
11440
|
total: u
|
|
11438
|
-
}) => t === "fitted" ? /* @__PURE__ */ M(
|
|
11441
|
+
}) => t === "fitted" ? /* @__PURE__ */ M(te, {
|
|
11439
11442
|
variant: "button",
|
|
11440
11443
|
color: i({
|
|
11441
11444
|
selected: a,
|
|
@@ -11452,7 +11455,7 @@ function Z8({
|
|
|
11452
11455
|
})),
|
|
11453
11456
|
children: u
|
|
11454
11457
|
})]
|
|
11455
|
-
}) : /* @__PURE__ */ d(
|
|
11458
|
+
}) : /* @__PURE__ */ d(te, {
|
|
11456
11459
|
variant: "button",
|
|
11457
11460
|
color: i({
|
|
11458
11461
|
selected: a,
|
|
@@ -11515,7 +11518,7 @@ function ja({
|
|
|
11515
11518
|
color: i,
|
|
11516
11519
|
size: "sm",
|
|
11517
11520
|
className: "flex-none"
|
|
11518
|
-
}) : null, /* @__PURE__ */ d(
|
|
11521
|
+
}) : null, /* @__PURE__ */ d(te, {
|
|
11519
11522
|
as: "span",
|
|
11520
11523
|
variant: t === "lg" ? "body" : "caption",
|
|
11521
11524
|
color: "critical",
|
|
@@ -11540,7 +11543,7 @@ function X8({
|
|
|
11540
11543
|
className: "mb-xl flex items-center justify-between",
|
|
11541
11544
|
children: [/* @__PURE__ */ M("div", {
|
|
11542
11545
|
className: "flex items-center gap-x-2",
|
|
11543
|
-
children: [t && t, /* @__PURE__ */ d(
|
|
11546
|
+
children: [t && t, /* @__PURE__ */ d(c1, {
|
|
11544
11547
|
variant: "heading",
|
|
11545
11548
|
color: "default",
|
|
11546
11549
|
children: e
|
|
@@ -11571,7 +11574,7 @@ function X8({
|
|
|
11571
11574
|
className: "flex min-h-full items-center justify-center",
|
|
11572
11575
|
children: /* @__PURE__ */ M(In.Panel, {
|
|
11573
11576
|
className: D("mx-auto rounded-sm bg-surface-default p-xl shadow-popup", s),
|
|
11574
|
-
children: [c(), n && /* @__PURE__ */ d(
|
|
11577
|
+
children: [c(), n && /* @__PURE__ */ d(te, {
|
|
11575
11578
|
variant: "caption",
|
|
11576
11579
|
color: "subdued",
|
|
11577
11580
|
className: "mb-sm",
|
|
@@ -11598,13 +11601,13 @@ function j8({
|
|
|
11598
11601
|
children: a
|
|
11599
11602
|
}) {
|
|
11600
11603
|
const l = () => /* @__PURE__ */ d(ye, {
|
|
11601
|
-
children: typeof e == "string" ? /* @__PURE__ */ d(
|
|
11604
|
+
children: typeof e == "string" ? /* @__PURE__ */ d(te, {
|
|
11602
11605
|
variant: "highlight",
|
|
11603
11606
|
color: i ? "disabled" : "default",
|
|
11604
11607
|
children: e
|
|
11605
11608
|
}) : e
|
|
11606
11609
|
}), s = (c, A) => /* @__PURE__ */ d(we, {
|
|
11607
|
-
children: typeof c == "string" ? /* @__PURE__ */ d(
|
|
11610
|
+
children: typeof c == "string" ? /* @__PURE__ */ d(te, {
|
|
11608
11611
|
variant: "body",
|
|
11609
11612
|
color: i ? "disabled" : "subdued",
|
|
11610
11613
|
children: c
|
|
@@ -11614,11 +11617,11 @@ function j8({
|
|
|
11614
11617
|
value: A
|
|
11615
11618
|
}, g) => /* @__PURE__ */ M("div", {
|
|
11616
11619
|
className: "flex items-center justify-between",
|
|
11617
|
-
children: [typeof c == "string" ? /* @__PURE__ */ d(
|
|
11620
|
+
children: [typeof c == "string" ? /* @__PURE__ */ d(te, {
|
|
11618
11621
|
variant: "body",
|
|
11619
11622
|
color: i ? "disabled" : "default",
|
|
11620
11623
|
children: c
|
|
11621
|
-
}) : c, typeof A == "string" ? /* @__PURE__ */ d(
|
|
11624
|
+
}) : c, typeof A == "string" ? /* @__PURE__ */ d(te, {
|
|
11622
11625
|
variant: "body",
|
|
11623
11626
|
color: i ? "disabled" : "subdued",
|
|
11624
11627
|
children: A
|
|
@@ -11790,12 +11793,12 @@ function z8({
|
|
|
11790
11793
|
className: D(i, "flex w-full flex-col items-center justify-center rounded-xs border border-border-disabled bg-surface-default py-xl px-[40px]"),
|
|
11791
11794
|
children: [o(), /* @__PURE__ */ M("div", {
|
|
11792
11795
|
className: "mb-sm w-full md:w-[300px]",
|
|
11793
|
-
children: [/* @__PURE__ */ d(
|
|
11796
|
+
children: [/* @__PURE__ */ d(c1, {
|
|
11794
11797
|
variant: "heading",
|
|
11795
11798
|
color: "default",
|
|
11796
11799
|
className: D("mb-sm text-center", n && "mt-[42px]"),
|
|
11797
11800
|
children: e
|
|
11798
|
-
}), /* @__PURE__ */ d(
|
|
11801
|
+
}), /* @__PURE__ */ d(te, {
|
|
11799
11802
|
variant: "body",
|
|
11800
11803
|
color: "subdued",
|
|
11801
11804
|
className: "text-center",
|
|
@@ -11816,7 +11819,7 @@ function W8({
|
|
|
11816
11819
|
className: D("relative inline-block h-[20px] w-[30px] rounded-md bg-surface-neutral-default py-[2px] px-2"),
|
|
11817
11820
|
children: /* @__PURE__ */ d("strong", {
|
|
11818
11821
|
className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform font-bold",
|
|
11819
|
-
children: /* @__PURE__ */ d(
|
|
11822
|
+
children: /* @__PURE__ */ d(te, {
|
|
11820
11823
|
variant: "caption",
|
|
11821
11824
|
color: "default",
|
|
11822
11825
|
className: "select-none",
|
|
@@ -11837,7 +11840,7 @@ function W8({
|
|
|
11837
11840
|
kind: e,
|
|
11838
11841
|
size: "sm",
|
|
11839
11842
|
color: t ? "primary" : "subdued"
|
|
11840
|
-
}), !r && /* @__PURE__ */ d(
|
|
11843
|
+
}), !r && /* @__PURE__ */ d(te, {
|
|
11841
11844
|
variant: "body",
|
|
11842
11845
|
color: t ? "primary" : "subdued",
|
|
11843
11846
|
children: n
|
|
@@ -11925,7 +11928,7 @@ function L2({
|
|
|
11925
11928
|
return /* @__PURE__ */ M("div", {
|
|
11926
11929
|
className: D(n, "m-0 p-0"),
|
|
11927
11930
|
...o,
|
|
11928
|
-
children: [/* @__PURE__ */ d(
|
|
11931
|
+
children: [/* @__PURE__ */ d(c1, {
|
|
11929
11932
|
variant: "heading",
|
|
11930
11933
|
color: "default",
|
|
11931
11934
|
className: i,
|
|
@@ -11972,13 +11975,13 @@ L2.Footer = function({
|
|
|
11972
11975
|
className: "mb-xs mt-sm border-t border-border-shadow-subdued"
|
|
11973
11976
|
}), /* @__PURE__ */ M("div", {
|
|
11974
11977
|
className: "flex justify-between",
|
|
11975
|
-
children: [/* @__PURE__ */ d(
|
|
11978
|
+
children: [/* @__PURE__ */ d(c1, {
|
|
11976
11979
|
variant: "heading",
|
|
11977
11980
|
color: o ? "disabled" : "default",
|
|
11978
11981
|
children: "Total (COP)"
|
|
11979
11982
|
}), /* @__PURE__ */ M("div", {
|
|
11980
11983
|
className: D(r && "flex gap-x-2"),
|
|
11981
|
-
children: [r, /* @__PURE__ */ d(
|
|
11984
|
+
children: [r, /* @__PURE__ */ d(c1, {
|
|
11982
11985
|
variant: "heading",
|
|
11983
11986
|
color: o ? "disabled" : "default",
|
|
11984
11987
|
children: i
|
|
@@ -12180,7 +12183,7 @@ var Rt = function(e) {
|
|
|
12180
12183
|
})) : p != null ? y1(Ee(Ee({}, Be), {
|
|
12181
12184
|
decimalScale: R,
|
|
12182
12185
|
value: String(p)
|
|
12183
|
-
})) : "", Ke = j(He), Re = Ke[0], nt = Ke[1], k = j(!1), rt = k[0], it = k[1], Xe = j(0), vt = Xe[0], Jt = Xe[1], ft = j(0), $e = ft[0], Te = ft[1],
|
|
12186
|
+
})) : "", Ke = j(He), Re = Ke[0], nt = Ke[1], k = j(!1), rt = k[0], it = k[1], Xe = j(0), vt = Xe[0], Jt = Xe[1], ft = j(0), $e = ft[0], Te = ft[1], i1 = j(null), xt = i1[0], $n = i1[1], ot = t || Z(null), I1 = function(Fe, je) {
|
|
12184
12187
|
it(!0);
|
|
12185
12188
|
var ze = R4({
|
|
12186
12189
|
selectionStart: je,
|
|
@@ -12351,7 +12354,7 @@ function x4({
|
|
|
12351
12354
|
const r = () => e ? e && (t || n) ? "justify-between" : "justify-end" : "justify-start";
|
|
12352
12355
|
return e || t || n ? /* @__PURE__ */ M("div", {
|
|
12353
12356
|
className: D("mt-xs flex", r()),
|
|
12354
|
-
children: [t && !n && /* @__PURE__ */ d(
|
|
12357
|
+
children: [t && !n && /* @__PURE__ */ d(te, {
|
|
12355
12358
|
variant: "caption",
|
|
12356
12359
|
color: "subdued",
|
|
12357
12360
|
children: t
|
|
@@ -12364,7 +12367,7 @@ function x4({
|
|
|
12364
12367
|
})]
|
|
12365
12368
|
}) : /* @__PURE__ */ d(ye, {});
|
|
12366
12369
|
}
|
|
12367
|
-
function
|
|
12370
|
+
function s1({
|
|
12368
12371
|
children: e,
|
|
12369
12372
|
renderIconLeft: t,
|
|
12370
12373
|
renderInput: n
|
|
@@ -12380,7 +12383,7 @@ function u1({
|
|
|
12380
12383
|
})]
|
|
12381
12384
|
});
|
|
12382
12385
|
}
|
|
12383
|
-
|
|
12386
|
+
s1.Special = function(t) {
|
|
12384
12387
|
const {
|
|
12385
12388
|
children: n,
|
|
12386
12389
|
isNumber: i,
|
|
@@ -12395,7 +12398,7 @@ u1.Special = function(t) {
|
|
|
12395
12398
|
children: n
|
|
12396
12399
|
}) : /* @__PURE__ */ d(ye, {});
|
|
12397
12400
|
};
|
|
12398
|
-
|
|
12401
|
+
s1.Delete = function(t) {
|
|
12399
12402
|
const {
|
|
12400
12403
|
children: n,
|
|
12401
12404
|
inputValue: i
|
|
@@ -12479,7 +12482,7 @@ const w4 = mt((e, t) => {
|
|
|
12479
12482
|
}
|
|
12480
12483
|
};
|
|
12481
12484
|
return /* @__PURE__ */ M(ye, {
|
|
12482
|
-
children: [/* @__PURE__ */ M(
|
|
12485
|
+
children: [/* @__PURE__ */ M(s1, {
|
|
12483
12486
|
renderInput: (() => v === "currency" ? /* @__PURE__ */ d(Jr, {
|
|
12484
12487
|
id: n,
|
|
12485
12488
|
name: i,
|
|
@@ -12516,7 +12519,7 @@ const w4 = mt((e, t) => {
|
|
|
12516
12519
|
kind: u,
|
|
12517
12520
|
color: N()
|
|
12518
12521
|
}),
|
|
12519
|
-
children: [/* @__PURE__ */ d(
|
|
12522
|
+
children: [/* @__PURE__ */ d(s1.Delete, {
|
|
12520
12523
|
inputValue: Q,
|
|
12521
12524
|
children: /* @__PURE__ */ d(fe, {
|
|
12522
12525
|
kind: "delete",
|
|
@@ -12524,7 +12527,7 @@ const w4 = mt((e, t) => {
|
|
|
12524
12527
|
onClick: J,
|
|
12525
12528
|
cursor: "pointer"
|
|
12526
12529
|
})
|
|
12527
|
-
}), /* @__PURE__ */ M(
|
|
12530
|
+
}), /* @__PURE__ */ M(s1.Special, {
|
|
12528
12531
|
isNumber: s === "number",
|
|
12529
12532
|
showIconNumber: R,
|
|
12530
12533
|
children: [/* @__PURE__ */ d(fe, {
|
|
@@ -12540,7 +12543,7 @@ const w4 = mt((e, t) => {
|
|
|
12540
12543
|
color: N(),
|
|
12541
12544
|
onClick: P
|
|
12542
12545
|
})]
|
|
12543
|
-
}), /* @__PURE__ */ d(
|
|
12546
|
+
}), /* @__PURE__ */ d(s1.Special, {
|
|
12544
12547
|
isPassword: s === "password",
|
|
12545
12548
|
children: /* @__PURE__ */ d(fe, {
|
|
12546
12549
|
kind: "eye",
|
|
@@ -12570,6 +12573,7 @@ function U8({
|
|
|
12570
12573
|
const u = () => e === "default" ? "default" : e === "success" ? "success" : e === "warning" ? "warning" : e === "error" ? "critical" : "default", c = D({
|
|
12571
12574
|
"max-w-[420px]": o === "lg",
|
|
12572
12575
|
"max-w-[288px]": o === "sm",
|
|
12576
|
+
"w-1/3 min-w-[200px]": o === "xl",
|
|
12573
12577
|
"bg-surface-default": e === "default",
|
|
12574
12578
|
"bg-surface-success-subdued": e === "success",
|
|
12575
12579
|
"bg-surface-warning-subdued": e === "warning",
|
|
@@ -12588,12 +12592,12 @@ function U8({
|
|
|
12588
12592
|
className: "flex-none self-start flex"
|
|
12589
12593
|
}) : null, /* @__PURE__ */ M("div", {
|
|
12590
12594
|
className: "flex-1",
|
|
12591
|
-
children: [i ? /* @__PURE__ */ d(
|
|
12595
|
+
children: [i ? /* @__PURE__ */ d(te, {
|
|
12592
12596
|
variant: "highlight",
|
|
12593
12597
|
color: "default",
|
|
12594
12598
|
className: D(n ? "mb-sm" : ""),
|
|
12595
12599
|
children: i
|
|
12596
|
-
}) : null, n ? /* @__PURE__ */ d(
|
|
12600
|
+
}) : null, n ? /* @__PURE__ */ d(te, {
|
|
12597
12601
|
variant: "body",
|
|
12598
12602
|
color: "default",
|
|
12599
12603
|
className: D(s ? "mb-sm" : ""),
|
|
@@ -12694,14 +12698,14 @@ function q8({
|
|
|
12694
12698
|
as: "div",
|
|
12695
12699
|
className: "relative inline-block text-left",
|
|
12696
12700
|
children: [/* @__PURE__ */ M(_e.Button, {
|
|
12697
|
-
className: "gap-x-2 flex w-full rounded-md items-center",
|
|
12701
|
+
className: " gap-x-2 flex w-full rounded-md items-center",
|
|
12698
12702
|
children: [/* @__PURE__ */ d(fe, {
|
|
12703
|
+
className: "w-[10px] h-[10px]",
|
|
12699
12704
|
color: "default",
|
|
12700
12705
|
kind: e
|
|
12701
|
-
}), /* @__PURE__ */ d(
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
weight: "medium",
|
|
12706
|
+
}), /* @__PURE__ */ d(te, {
|
|
12707
|
+
variant: "button",
|
|
12708
|
+
color: "default",
|
|
12705
12709
|
children: "M\xE1s"
|
|
12706
12710
|
})]
|
|
12707
12711
|
}), /* @__PURE__ */ d(kn, {
|
|
@@ -12713,9 +12717,9 @@ function q8({
|
|
|
12713
12717
|
leaveFrom: "transform opacity-100 scale-100",
|
|
12714
12718
|
leaveTo: "transform opacity-0 scale-95",
|
|
12715
12719
|
children: /* @__PURE__ */ d(_e.Items, {
|
|
12716
|
-
className: "absolute z-10 right-0 mt-3 w-[
|
|
12720
|
+
className: "absolute z-10 right-0 mt-3 w-[180px] bg-action-secondary-default py-[12px] pl-[17px] origin-top-right rounded-sm shadow-[0px_2px_10px_0px_#0000001A]",
|
|
12717
12721
|
children: /* @__PURE__ */ d("div", {
|
|
12718
|
-
className: "flex flex-col gap-y-2 mt-2",
|
|
12722
|
+
className: "flex flex-col gap-y-2 mt-2 ",
|
|
12719
12723
|
children: t == null ? void 0 : t.map((l, s) => /* @__PURE__ */ d("div", {
|
|
12720
12724
|
children: /* @__PURE__ */ d(Uo, {
|
|
12721
12725
|
checked: a(l),
|
|
@@ -15381,7 +15385,7 @@ function w8({
|
|
|
15381
15385
|
className: "flex items-center justify-end gap-2",
|
|
15382
15386
|
children: [/* @__PURE__ */ d("span", {
|
|
15383
15387
|
className: "flex items-center gap-1",
|
|
15384
|
-
children: /* @__PURE__ */ M(
|
|
15388
|
+
children: /* @__PURE__ */ M(te, {
|
|
15385
15389
|
variant: "caption",
|
|
15386
15390
|
children: [e + 1, " - ", t, " de"]
|
|
15387
15391
|
})
|
|
@@ -15485,7 +15489,7 @@ function _8({
|
|
|
15485
15489
|
children: f.getHeaderGroups().map((C) => /* @__PURE__ */ d("tr", {
|
|
15486
15490
|
children: C.headers.map((p) => /* @__PURE__ */ d("th", {
|
|
15487
15491
|
className: D(!e && "first:rounded-tl-sm last:rounded-tr-sm", "p-4 h-14"),
|
|
15488
|
-
children: /* @__PURE__ */ d(
|
|
15492
|
+
children: /* @__PURE__ */ d(te, {
|
|
15489
15493
|
variant: "highlight",
|
|
15490
15494
|
children: p.isPlaceholder ? null : Qr(p.column.columnDef.header, p.getContext())
|
|
15491
15495
|
})
|
|
@@ -15630,24 +15634,24 @@ function e7({
|
|
|
15630
15634
|
}), a != null && a.img ? a == null ? void 0 : a.img : null, a != null && a.logo ? /* @__PURE__ */ d(C1, {
|
|
15631
15635
|
kind: a.logo
|
|
15632
15636
|
}, a.logo) : null, /* @__PURE__ */ M("header", {
|
|
15633
|
-
children: [/* @__PURE__ */ d(
|
|
15637
|
+
children: [/* @__PURE__ */ d(c1, {
|
|
15634
15638
|
variant: "heading",
|
|
15635
15639
|
color: a != null && a.isDisabled ? "disabled" : "default",
|
|
15636
15640
|
children: a == null ? void 0 : a.title
|
|
15637
15641
|
}), /* @__PURE__ */ M("div", {
|
|
15638
15642
|
className: "flex gap-x-[2px]",
|
|
15639
|
-
children: [/* @__PURE__ */ d(
|
|
15643
|
+
children: [/* @__PURE__ */ d(te, {
|
|
15640
15644
|
variant: "body",
|
|
15641
15645
|
color: a != null && a.isDisabled ? "disabled" : "subdued",
|
|
15642
15646
|
children: (s = a == null ? void 0 : a.subtitle) != null ? s : ""
|
|
15643
|
-
}), /* @__PURE__ */ d(
|
|
15647
|
+
}), /* @__PURE__ */ d(te, {
|
|
15644
15648
|
variant: "highlight",
|
|
15645
15649
|
color: a != null && a.isDisabled ? "disabled" : "subdued",
|
|
15646
15650
|
children: (u = a == null ? void 0 : a.description) != null ? u : ""
|
|
15647
15651
|
})]
|
|
15648
15652
|
})]
|
|
15649
15653
|
})]
|
|
15650
|
-
}), (a == null ? void 0 : a.state) && /* @__PURE__ */ d(
|
|
15654
|
+
}), (a == null ? void 0 : a.state) && /* @__PURE__ */ d(te, {
|
|
15651
15655
|
variant: "caption",
|
|
15652
15656
|
color: a != null && a.isDisabled ? "disabled" : "subdued",
|
|
15653
15657
|
children: a == null ? void 0 : a.state
|
|
@@ -15909,7 +15913,7 @@ export {
|
|
|
15909
15913
|
t7 as FilterSearchMultiple,
|
|
15910
15914
|
U8 as Flag,
|
|
15911
15915
|
Y8 as Header,
|
|
15912
|
-
|
|
15916
|
+
c1 as Heading,
|
|
15913
15917
|
fe as Icon,
|
|
15914
15918
|
ja as InlineError,
|
|
15915
15919
|
X2 as LayoutMain,
|
|
@@ -15929,7 +15933,7 @@ export {
|
|
|
15929
15933
|
Z8 as Tab,
|
|
15930
15934
|
W8 as TabNav,
|
|
15931
15935
|
_8 as Table,
|
|
15932
|
-
|
|
15936
|
+
te as Text,
|
|
15933
15937
|
w1 as TextRef,
|
|
15934
15938
|
Jo as Tooltip,
|
|
15935
15939
|
G8 as Tracker
|