@conatel-sa/react-ui 0.2.2 → 0.2.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 +42 -23
- package/dist/cards.d.ts +37 -0
- package/dist/cards.mjs +299 -0
- package/dist/cards.umd.js +345 -0
- package/dist/dialogs.d.ts +25 -0
- package/dist/dialogs.mjs +194 -0
- package/dist/dialogs.umd.js +246 -0
- package/dist/forms.d.ts +61 -0
- package/dist/forms.mjs +518 -0
- package/dist/forms.umd.js +562 -0
- package/dist/icons.d.ts +50 -0
- package/dist/icons.mjs +149 -0
- package/dist/icons.umd.js +186 -0
- package/dist/index.css +1 -1
- package/dist/index.mjs +213 -141
- package/dist/index.umd.js +1 -1
- package/dist/material-symbols.css +20 -0
- package/dist/metrics.d.ts +19 -0
- package/dist/metrics.mjs +94 -0
- package/dist/metrics.umd.js +142 -0
- package/dist/status.d.ts +16 -0
- package/dist/status.mjs +117 -0
- package/dist/status.umd.js +165 -0
- package/package.json +42 -4
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import X, { createContext as Ve, useState as Se, useCallback as ve, useMemo as Ur, useContext as Re, useId as ir, useRef as lr, useEffect as tr } from "react";
|
|
2
2
|
import { createPortal as Hr } from "react-dom";
|
|
3
|
-
var
|
|
3
|
+
var fe = { exports: {} }, _e = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-dev-runtime.production.min.js
|
|
@@ -12,10 +12,10 @@ var _e = { exports: {} }, fe = {};
|
|
|
12
12
|
*/
|
|
13
13
|
var nr;
|
|
14
14
|
function Jr() {
|
|
15
|
-
if (nr) return
|
|
15
|
+
if (nr) return _e;
|
|
16
16
|
nr = 1;
|
|
17
17
|
var r = Symbol.for("react.fragment");
|
|
18
|
-
return
|
|
18
|
+
return _e.Fragment = r, _e.jsxDEV = void 0, _e;
|
|
19
19
|
}
|
|
20
20
|
var pe = {};
|
|
21
21
|
/**
|
|
@@ -30,7 +30,7 @@ var pe = {};
|
|
|
30
30
|
var sr;
|
|
31
31
|
function Kr() {
|
|
32
32
|
return sr || (sr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
33
|
-
var r = X, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), u = Symbol.for("react.provider"),
|
|
33
|
+
var r = X, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), f = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), k = Symbol.iterator, Ne = "@@iterator";
|
|
34
34
|
function le(e) {
|
|
35
35
|
if (e === null || typeof e != "object")
|
|
36
36
|
return null;
|
|
@@ -42,10 +42,10 @@ function Kr() {
|
|
|
42
42
|
{
|
|
43
43
|
for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), m = 1; m < a; m++)
|
|
44
44
|
l[m - 1] = arguments[m];
|
|
45
|
-
|
|
45
|
+
fr("error", e, l);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function fr(e, a, l) {
|
|
49
49
|
{
|
|
50
50
|
var m = Y.ReactDebugCurrentFrame, v = m.getStackAddendum();
|
|
51
51
|
v !== "" && (a += "%s", l = l.concat([v]));
|
|
@@ -55,10 +55,10 @@ function Kr() {
|
|
|
55
55
|
h.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, h);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var _r = !1, pr = !1, br = !1, vr = !1, Nr = !1, Ce;
|
|
59
59
|
Ce = Symbol.for("react.module.reference");
|
|
60
60
|
function hr(e) {
|
|
61
|
-
return !!(typeof e == "string" || typeof e == "function" || e === o || e === c || Nr || e === i || e === d || e === p || vr || e === S ||
|
|
61
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === c || Nr || e === i || e === d || e === p || vr || e === S || _r || pr || br || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === x || e.$$typeof === u || e.$$typeof === f || e.$$typeof === N || // This needs to include all possible module reference object
|
|
62
62
|
// types supported by any Flight configuration anywhere since
|
|
63
63
|
// we don't know which Flight build this will end up being used
|
|
64
64
|
// with.
|
|
@@ -97,7 +97,7 @@ function Kr() {
|
|
|
97
97
|
}
|
|
98
98
|
if (typeof e == "object")
|
|
99
99
|
switch (e.$$typeof) {
|
|
100
|
-
case
|
|
100
|
+
case f:
|
|
101
101
|
var a = e;
|
|
102
102
|
return Pe(a) + ".Consumer";
|
|
103
103
|
case u:
|
|
@@ -119,18 +119,18 @@ function Kr() {
|
|
|
119
119
|
}
|
|
120
120
|
return null;
|
|
121
121
|
}
|
|
122
|
-
var A = Object.assign, Z = 0, Be, Ie, Fe, Ae, Oe,
|
|
123
|
-
function
|
|
122
|
+
var A = Object.assign, Z = 0, Be, Ie, Fe, Ae, Oe, ze, Le;
|
|
123
|
+
function qe() {
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
qe.__reactDisabledLog = !0;
|
|
126
126
|
function gr() {
|
|
127
127
|
{
|
|
128
128
|
if (Z === 0) {
|
|
129
|
-
Be = console.log, Ie = console.info, Fe = console.warn, Ae = console.error, Oe = console.group,
|
|
129
|
+
Be = console.log, Ie = console.info, Fe = console.warn, Ae = console.error, Oe = console.group, ze = console.groupCollapsed, Le = console.groupEnd;
|
|
130
130
|
var e = {
|
|
131
131
|
configurable: !0,
|
|
132
132
|
enumerable: !0,
|
|
133
|
-
value:
|
|
133
|
+
value: qe,
|
|
134
134
|
writable: !0
|
|
135
135
|
};
|
|
136
136
|
Object.defineProperties(console, {
|
|
@@ -171,10 +171,10 @@ function Kr() {
|
|
|
171
171
|
value: Oe
|
|
172
172
|
}),
|
|
173
173
|
groupCollapsed: A({}, e, {
|
|
174
|
-
value:
|
|
174
|
+
value: ze
|
|
175
175
|
}),
|
|
176
176
|
groupEnd: A({}, e, {
|
|
177
|
-
value:
|
|
177
|
+
value: Le
|
|
178
178
|
})
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -248,17 +248,17 @@ function Kr() {
|
|
|
248
248
|
}
|
|
249
249
|
} catch (T) {
|
|
250
250
|
if (T && m && typeof T.stack == "string") {
|
|
251
|
-
for (var
|
|
251
|
+
for (var _ = T.stack.split(`
|
|
252
252
|
`), D = m.stack.split(`
|
|
253
|
-
`), g =
|
|
253
|
+
`), g = _.length - 1, j = D.length - 1; g >= 1 && j >= 0 && _[g] !== D[j]; )
|
|
254
254
|
j--;
|
|
255
255
|
for (; g >= 1 && j >= 0; g--, j--)
|
|
256
|
-
if (
|
|
256
|
+
if (_[g] !== D[j]) {
|
|
257
257
|
if (g !== 1 || j !== 1)
|
|
258
258
|
do
|
|
259
|
-
if (g--, j--, j < 0 ||
|
|
259
|
+
if (g--, j--, j < 0 || _[g] !== D[j]) {
|
|
260
260
|
var $ = `
|
|
261
|
-
` +
|
|
261
|
+
` + _[g].replace(" at new ", " at ");
|
|
262
262
|
return e.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", e.displayName)), typeof e == "function" && ue.set(e, $), $;
|
|
263
263
|
}
|
|
264
264
|
while (g >= 1 && j >= 0);
|
|
@@ -320,17 +320,17 @@ function Kr() {
|
|
|
320
320
|
var h = Function.call.bind(Q);
|
|
321
321
|
for (var b in e)
|
|
322
322
|
if (h(e, b)) {
|
|
323
|
-
var
|
|
323
|
+
var _ = void 0;
|
|
324
324
|
try {
|
|
325
325
|
if (typeof e[b] != "function") {
|
|
326
326
|
var D = Error((m || "React class") + ": " + l + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
327
327
|
throw D.name = "Invariant Violation", D;
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
_ = e[b](a, b, m, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
330
330
|
} catch (g) {
|
|
331
|
-
|
|
331
|
+
_ = g;
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
_ && !(_ instanceof Error) && (de(v), w("%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).", m || "React class", l, b, typeof _), de(null)), _ instanceof Error && !(_.message in Me) && (Me[_.message] = !0, de(v), w("Failed %s type: %s", l, _.message), de(null));
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
}
|
|
@@ -410,7 +410,7 @@ function Kr() {
|
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
var Ir = function(e, a, l, m, v, h, b) {
|
|
413
|
-
var
|
|
413
|
+
var _ = {
|
|
414
414
|
// This tag allows us to uniquely identify this as a React Element
|
|
415
415
|
$$typeof: s,
|
|
416
416
|
// Built-in properties that belong on the element
|
|
@@ -421,27 +421,27 @@ function Kr() {
|
|
|
421
421
|
// Record the component responsible for creating this element.
|
|
422
422
|
_owner: h
|
|
423
423
|
};
|
|
424
|
-
return
|
|
424
|
+
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
425
425
|
configurable: !1,
|
|
426
426
|
enumerable: !1,
|
|
427
427
|
writable: !0,
|
|
428
428
|
value: !1
|
|
429
|
-
}), Object.defineProperty(
|
|
429
|
+
}), Object.defineProperty(_, "_self", {
|
|
430
430
|
configurable: !1,
|
|
431
431
|
enumerable: !1,
|
|
432
432
|
writable: !1,
|
|
433
433
|
value: m
|
|
434
|
-
}), Object.defineProperty(
|
|
434
|
+
}), Object.defineProperty(_, "_source", {
|
|
435
435
|
configurable: !1,
|
|
436
436
|
enumerable: !1,
|
|
437
437
|
writable: !1,
|
|
438
438
|
value: v
|
|
439
|
-
}), Object.freeze && (Object.freeze(
|
|
439
|
+
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
440
440
|
};
|
|
441
441
|
function Fr(e, a, l, m, v) {
|
|
442
442
|
{
|
|
443
|
-
var h, b = {},
|
|
444
|
-
l !== void 0 && (He(l),
|
|
443
|
+
var h, b = {}, _ = null, D = null;
|
|
444
|
+
l !== void 0 && (He(l), _ = "" + l), Rr(a) && (He(a.key), _ = "" + a.key), Sr(a) && (D = a.ref, Cr(a, v));
|
|
445
445
|
for (h in a)
|
|
446
446
|
Q.call(a, h) && !Vr.hasOwnProperty(h) && (b[h] = a[h]);
|
|
447
447
|
if (e && e.defaultProps) {
|
|
@@ -449,11 +449,11 @@ function Kr() {
|
|
|
449
449
|
for (h in g)
|
|
450
450
|
b[h] === void 0 && (b[h] = g[h]);
|
|
451
451
|
}
|
|
452
|
-
if (
|
|
452
|
+
if (_ || D) {
|
|
453
453
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
454
|
-
|
|
454
|
+
_ && Pr(b, j), D && Br(b, j);
|
|
455
455
|
}
|
|
456
|
-
return Ir(e,
|
|
456
|
+
return Ir(e, _, D, v, m, ee.current, b);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
var Ee = Y.ReactCurrentOwner, Ge = Y.ReactDebugCurrentFrame;
|
|
@@ -537,7 +537,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function zr(e) {
|
|
541
541
|
{
|
|
542
542
|
var a = e.type;
|
|
543
543
|
if (a == null || typeof a == "string")
|
|
@@ -562,7 +562,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
562
562
|
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function Lr(e) {
|
|
566
566
|
{
|
|
567
567
|
for (var a = Object.keys(e.props), l = 0; l < a.length; l++) {
|
|
568
568
|
var m = a[l];
|
|
@@ -575,16 +575,16 @@ Check the top-level render call using <` + l + ">.");
|
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
var rr = {};
|
|
578
|
-
function
|
|
578
|
+
function qr(e, a, l, m, v, h) {
|
|
579
579
|
{
|
|
580
580
|
var b = hr(e);
|
|
581
581
|
if (!b) {
|
|
582
|
-
var
|
|
583
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
582
|
+
var _ = "";
|
|
583
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
584
584
|
var D = Ar(v);
|
|
585
|
-
D ?
|
|
585
|
+
D ? _ += D : _ += Xe();
|
|
586
586
|
var g;
|
|
587
|
-
e === null ? g = "null" : je(e) ? g = "array" : e !== void 0 && e.$$typeof === s ? (g = "<" + (V(e.type) || "Unknown") + " />",
|
|
587
|
+
e === null ? g = "null" : je(e) ? g = "array" : e !== void 0 && e.$$typeof === s ? (g = "<" + (V(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : g = typeof e, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, _);
|
|
588
588
|
}
|
|
589
589
|
var j = Fr(e, a, l, v, h);
|
|
590
590
|
if (j == null)
|
|
@@ -616,16 +616,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
616
616
|
<%s key={someKey} {...props} />`, Te, O, Mr, O), rr[O + Te] = !0;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
return e === o ?
|
|
619
|
+
return e === o ? Lr(j) : zr(j), j;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
var Wr =
|
|
622
|
+
var Wr = qr;
|
|
623
623
|
pe.Fragment = o, pe.jsxDEV = Wr;
|
|
624
624
|
})()), pe;
|
|
625
625
|
}
|
|
626
626
|
var ar;
|
|
627
627
|
function Gr() {
|
|
628
|
-
return ar || (ar = 1, process.env.NODE_ENV === "production" ?
|
|
628
|
+
return ar || (ar = 1, process.env.NODE_ENV === "production" ? fe.exports = Jr() : fe.exports = Kr()), fe.exports;
|
|
629
629
|
}
|
|
630
630
|
var t = Gr();
|
|
631
631
|
const cr = Ve(null);
|
|
@@ -638,7 +638,7 @@ function eo({
|
|
|
638
638
|
style: c,
|
|
639
639
|
as: u = "div"
|
|
640
640
|
}) {
|
|
641
|
-
const [
|
|
641
|
+
const [f, N] = Se(r), d = s !== void 0, p = d ? s : f, x = ve(
|
|
642
642
|
(le) => {
|
|
643
643
|
d ? n == null || n(le) : N(le);
|
|
644
644
|
},
|
|
@@ -653,7 +653,79 @@ function eo({
|
|
|
653
653
|
u,
|
|
654
654
|
{
|
|
655
655
|
className: Ne,
|
|
656
|
-
style: {
|
|
656
|
+
style: {
|
|
657
|
+
colorScheme: "light",
|
|
658
|
+
...(p === "conatel" ? {
|
|
659
|
+
"--font-sans": "Inter, system-ui, -apple-system, sans-serif",
|
|
660
|
+
"--color-brand": "#CC032E",
|
|
661
|
+
"--color-brand-hover": "#a30225",
|
|
662
|
+
"--color-brand-active": "#CC032E",
|
|
663
|
+
"--color-brand-light": "#fdf2f4",
|
|
664
|
+
"--color-accent": "#757578",
|
|
665
|
+
"--color-accent-hover": "#5F6062",
|
|
666
|
+
"--color-accent-light": "#f3f3f3",
|
|
667
|
+
"--color-text": "#2C2C2C",
|
|
668
|
+
"--color-text-muted": "#757578",
|
|
669
|
+
"--color-text-subtle": "#BCC0C3",
|
|
670
|
+
"--color-border": "#BCC0C3",
|
|
671
|
+
"--color-border-strong": "#5F6062",
|
|
672
|
+
"--color-border-focus": "#CC032E",
|
|
673
|
+
"--focus-ring": "0 0 0 3px rgba(204, 3, 46, 0.1)",
|
|
674
|
+
"--radius-md": "8px",
|
|
675
|
+
"--radius-lg": "12px",
|
|
676
|
+
"--shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
677
|
+
"--shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05)",
|
|
678
|
+
"--shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05)",
|
|
679
|
+
"--color-bg": "#f4f6f8",
|
|
680
|
+
"--color-bg-alt": "#f8fafc",
|
|
681
|
+
"--color-surface": "#ffffff",
|
|
682
|
+
"--color-surface-raised": "#ffffff",
|
|
683
|
+
"--color-secondary-contrast": "#ffffff",
|
|
684
|
+
"--color-tertiary": "#4F4F50",
|
|
685
|
+
"--color-tertiary-hover": "#383839",
|
|
686
|
+
"--color-success": "#10b981",
|
|
687
|
+
"--color-success-light": "rgba(16, 185, 129, 0.1)",
|
|
688
|
+
"--color-warning": "#f59e0b",
|
|
689
|
+
"--color-warning-light": "rgba(245, 158, 11, 0.1)",
|
|
690
|
+
"--color-error": "#CC032E",
|
|
691
|
+
"--color-error-light": "rgba(204, 3, 46, 0.1)"
|
|
692
|
+
} : p === "vivion" ? {
|
|
693
|
+
"--font-sans": "Inter, system-ui, -apple-system, sans-serif",
|
|
694
|
+
"--color-brand": "#0098D4",
|
|
695
|
+
"--color-brand-hover": "#0098D4",
|
|
696
|
+
"--color-brand-active": "#0098D4",
|
|
697
|
+
"--color-brand-light": "#e5f5fd",
|
|
698
|
+
"--color-accent": "#757578",
|
|
699
|
+
"--color-accent-hover": "#5F6062",
|
|
700
|
+
"--color-accent-light": "#f3f3f3",
|
|
701
|
+
"--color-text": "#2C2C2C",
|
|
702
|
+
"--color-text-muted": "#757578",
|
|
703
|
+
"--color-text-subtle": "#BCC0C3",
|
|
704
|
+
"--color-border": "#BCC0C3",
|
|
705
|
+
"--color-border-strong": "#5F6062",
|
|
706
|
+
"--color-border-focus": "#0098D4",
|
|
707
|
+
"--focus-ring": "0 0 0 3px rgba(0, 152, 212, 0.12)",
|
|
708
|
+
"--radius-md": "8px",
|
|
709
|
+
"--radius-lg": "12px",
|
|
710
|
+
"--shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
711
|
+
"--shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05)",
|
|
712
|
+
"--shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05)",
|
|
713
|
+
"--color-bg": "#f4f6f8",
|
|
714
|
+
"--color-bg-alt": "#f8fafc",
|
|
715
|
+
"--color-surface": "#ffffff",
|
|
716
|
+
"--color-surface-raised": "#ffffff",
|
|
717
|
+
"--color-secondary-contrast": "#ffffff",
|
|
718
|
+
"--color-tertiary": "#4F4F50",
|
|
719
|
+
"--color-tertiary-hover": "#383839",
|
|
720
|
+
"--color-success": "#10b981",
|
|
721
|
+
"--color-success-light": "rgba(16, 185, 129, 0.1)",
|
|
722
|
+
"--color-warning": "#f59e0b",
|
|
723
|
+
"--color-warning-light": "rgba(245, 158, 11, 0.1)",
|
|
724
|
+
"--color-error": "#CC032E",
|
|
725
|
+
"--color-error-light": "rgba(204, 3, 46, 0.1)"
|
|
726
|
+
} : {}),
|
|
727
|
+
...c
|
|
728
|
+
},
|
|
657
729
|
"data-theme": p,
|
|
658
730
|
children: o
|
|
659
731
|
},
|
|
@@ -703,7 +775,7 @@ function to({
|
|
|
703
775
|
disabled: i,
|
|
704
776
|
className: c,
|
|
705
777
|
children: u,
|
|
706
|
-
iconLeft:
|
|
778
|
+
iconLeft: f,
|
|
707
779
|
iconRight: N,
|
|
708
780
|
...d
|
|
709
781
|
}) {
|
|
@@ -726,7 +798,7 @@ function to({
|
|
|
726
798
|
fileName: "/app/src/components/Button/Button.tsx",
|
|
727
799
|
lineNumber: 48,
|
|
728
800
|
columnNumber: 9
|
|
729
|
-
}, this) :
|
|
801
|
+
}, this) : f && /* @__PURE__ */ t.jsxDEV("span", { className: C.icon, children: f }, void 0, !1, {
|
|
730
802
|
fileName: "/app/src/components/Button/Button.tsx",
|
|
731
803
|
lineNumber: 50,
|
|
732
804
|
columnNumber: 21
|
|
@@ -753,9 +825,9 @@ function to({
|
|
|
753
825
|
this
|
|
754
826
|
);
|
|
755
827
|
}
|
|
756
|
-
const
|
|
757
|
-
heading:
|
|
758
|
-
light:
|
|
828
|
+
const ft = "_heading_11ibi_1", _t = "_light_11ibi_9", $e = {
|
|
829
|
+
heading: ft,
|
|
830
|
+
light: _t,
|
|
759
831
|
"size-xs": "_size-xs_11ibi_14",
|
|
760
832
|
"size-sm": "_size-sm_11ibi_18",
|
|
761
833
|
"size-md": "_size-md_11ibi_22",
|
|
@@ -780,13 +852,13 @@ function no({
|
|
|
780
852
|
children: i,
|
|
781
853
|
...c
|
|
782
854
|
}) {
|
|
783
|
-
const u = `h${r}`,
|
|
855
|
+
const u = `h${r}`, f = s ?? pt[r];
|
|
784
856
|
return /* @__PURE__ */ t.jsxDEV(
|
|
785
857
|
u,
|
|
786
858
|
{
|
|
787
859
|
className: [
|
|
788
860
|
$e.heading,
|
|
789
|
-
$e[`size-${
|
|
861
|
+
$e[`size-${f}`],
|
|
790
862
|
n ? $e.light : "",
|
|
791
863
|
o ?? ""
|
|
792
864
|
].filter(Boolean).join(" "),
|
|
@@ -832,7 +904,7 @@ function so({
|
|
|
832
904
|
align: i = "left",
|
|
833
905
|
clamp: c,
|
|
834
906
|
className: u,
|
|
835
|
-
style:
|
|
907
|
+
style: f,
|
|
836
908
|
children: N,
|
|
837
909
|
...d
|
|
838
910
|
}) {
|
|
@@ -853,7 +925,7 @@ function so({
|
|
|
853
925
|
re[`align-${i}`],
|
|
854
926
|
u ?? ""
|
|
855
927
|
].filter(Boolean).join(" "),
|
|
856
|
-
style: { ...p, ...
|
|
928
|
+
style: { ...p, ...f },
|
|
857
929
|
...d,
|
|
858
930
|
children: N
|
|
859
931
|
},
|
|
@@ -1008,20 +1080,20 @@ const St = "_wrapper_13qfs_1", Rt = "_fullWidth_13qfs_6", Ct = "_select_13qfs_7"
|
|
|
1008
1080
|
}, void 0)
|
|
1009
1081
|
);
|
|
1010
1082
|
It.displayName = "Select";
|
|
1011
|
-
const Ft = "_wrapper_199wu_1", At = "_disabled_199wu_9", Ot = "_input_199wu_15",
|
|
1083
|
+
const Ft = "_wrapper_199wu_1", At = "_disabled_199wu_9", Ot = "_input_199wu_15", zt = "_box_199wu_24", Lt = "_error_199wu_69", qt = "_label_199wu_73", J = {
|
|
1012
1084
|
wrapper: Ft,
|
|
1013
1085
|
disabled: At,
|
|
1014
1086
|
input: Ot,
|
|
1015
|
-
box:
|
|
1016
|
-
error:
|
|
1017
|
-
label:
|
|
1087
|
+
box: zt,
|
|
1088
|
+
error: Lt,
|
|
1089
|
+
label: qt
|
|
1018
1090
|
}, Wt = X.forwardRef(
|
|
1019
1091
|
({ label: r, error: s, className: n, id: o, ...i }, c) => {
|
|
1020
|
-
const u = ir(),
|
|
1092
|
+
const u = ir(), f = o ?? u;
|
|
1021
1093
|
return /* @__PURE__ */ t.jsxDEV(
|
|
1022
1094
|
"label",
|
|
1023
1095
|
{
|
|
1024
|
-
htmlFor:
|
|
1096
|
+
htmlFor: f,
|
|
1025
1097
|
className: [
|
|
1026
1098
|
J.wrapper,
|
|
1027
1099
|
s ? J.error : "",
|
|
@@ -1033,7 +1105,7 @@ const Ft = "_wrapper_199wu_1", At = "_disabled_199wu_9", Ot = "_input_199wu_15",
|
|
|
1033
1105
|
"input",
|
|
1034
1106
|
{
|
|
1035
1107
|
type: "checkbox",
|
|
1036
|
-
id:
|
|
1108
|
+
id: f,
|
|
1037
1109
|
ref: c,
|
|
1038
1110
|
className: J.input,
|
|
1039
1111
|
...i
|
|
@@ -1071,7 +1143,7 @@ const Ft = "_wrapper_199wu_1", At = "_disabled_199wu_9", Ot = "_input_199wu_15",
|
|
|
1071
1143
|
}
|
|
1072
1144
|
);
|
|
1073
1145
|
Wt.displayName = "Checkbox";
|
|
1074
|
-
const Mt = "_wrapper_1yn7j_1", Yt = "_disabled_1yn7j_9", Ut = "_input_1yn7j_14", Ht = "_track_1yn7j_23", Jt = "_thumb_1yn7j_41", Kt = "_sm_1yn7j_52", Gt = "_md_1yn7j_67", Xt = "_lg_1yn7j_82", Zt = "_label_1yn7j_97",
|
|
1146
|
+
const Mt = "_wrapper_1yn7j_1", Yt = "_disabled_1yn7j_9", Ut = "_input_1yn7j_14", Ht = "_track_1yn7j_23", Jt = "_thumb_1yn7j_41", Kt = "_sm_1yn7j_52", Gt = "_md_1yn7j_67", Xt = "_lg_1yn7j_82", Zt = "_label_1yn7j_97", z = {
|
|
1075
1147
|
wrapper: Mt,
|
|
1076
1148
|
disabled: Yt,
|
|
1077
1149
|
input: Ut,
|
|
@@ -1083,15 +1155,15 @@ const Mt = "_wrapper_1yn7j_1", Yt = "_disabled_1yn7j_9", Ut = "_input_1yn7j_14",
|
|
|
1083
1155
|
label: Zt
|
|
1084
1156
|
}, Qt = X.forwardRef(
|
|
1085
1157
|
({ label: r, size: s = "md", className: n, id: o, ...i }, c) => {
|
|
1086
|
-
const u = ir(),
|
|
1158
|
+
const u = ir(), f = o ?? u;
|
|
1087
1159
|
return /* @__PURE__ */ t.jsxDEV(
|
|
1088
1160
|
"label",
|
|
1089
1161
|
{
|
|
1090
|
-
htmlFor:
|
|
1162
|
+
htmlFor: f,
|
|
1091
1163
|
className: [
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
i.disabled ?
|
|
1164
|
+
z.wrapper,
|
|
1165
|
+
z[s],
|
|
1166
|
+
i.disabled ? z.disabled : "",
|
|
1095
1167
|
n ?? ""
|
|
1096
1168
|
].filter(Boolean).join(" "),
|
|
1097
1169
|
children: [
|
|
@@ -1100,9 +1172,9 @@ const Mt = "_wrapper_1yn7j_1", Yt = "_disabled_1yn7j_9", Ut = "_input_1yn7j_14",
|
|
|
1100
1172
|
{
|
|
1101
1173
|
type: "checkbox",
|
|
1102
1174
|
role: "switch",
|
|
1103
|
-
id:
|
|
1175
|
+
id: f,
|
|
1104
1176
|
ref: c,
|
|
1105
|
-
className:
|
|
1177
|
+
className: z.input,
|
|
1106
1178
|
...i
|
|
1107
1179
|
},
|
|
1108
1180
|
void 0,
|
|
@@ -1114,7 +1186,7 @@ const Mt = "_wrapper_1yn7j_1", Yt = "_disabled_1yn7j_9", Ut = "_input_1yn7j_14",
|
|
|
1114
1186
|
},
|
|
1115
1187
|
void 0
|
|
1116
1188
|
),
|
|
1117
|
-
/* @__PURE__ */ t.jsxDEV("span", { className:
|
|
1189
|
+
/* @__PURE__ */ t.jsxDEV("span", { className: z.track, "aria-hidden": "true", children: /* @__PURE__ */ t.jsxDEV("span", { className: z.thumb }, void 0, !1, {
|
|
1118
1190
|
fileName: "/app/src/components/Toggle/Toggle.tsx",
|
|
1119
1191
|
lineNumber: 37,
|
|
1120
1192
|
columnNumber: 11
|
|
@@ -1123,7 +1195,7 @@ const Mt = "_wrapper_1yn7j_1", Yt = "_disabled_1yn7j_9", Ut = "_input_1yn7j_14",
|
|
|
1123
1195
|
lineNumber: 36,
|
|
1124
1196
|
columnNumber: 9
|
|
1125
1197
|
}, void 0),
|
|
1126
|
-
r && /* @__PURE__ */ t.jsxDEV("span", { className:
|
|
1198
|
+
r && /* @__PURE__ */ t.jsxDEV("span", { className: z.label, children: r }, void 0, !1, {
|
|
1127
1199
|
fileName: "/app/src/components/Toggle/Toggle.tsx",
|
|
1128
1200
|
lineNumber: 39,
|
|
1129
1201
|
columnNumber: 19
|
|
@@ -1142,7 +1214,7 @@ const Mt = "_wrapper_1yn7j_1", Yt = "_disabled_1yn7j_9", Ut = "_input_1yn7j_14",
|
|
|
1142
1214
|
}
|
|
1143
1215
|
);
|
|
1144
1216
|
Qt.displayName = "Toggle";
|
|
1145
|
-
const en = "_field_14vgz_1", rn = "_label_14vgz_7", tn = "_required_14vgz_15", nn = "_control_14vgz_19", sn = "_hint_14vgz_24", an = "_error_14vgz_32",
|
|
1217
|
+
const en = "_field_14vgz_1", rn = "_label_14vgz_7", tn = "_required_14vgz_15", nn = "_control_14vgz_19", sn = "_hint_14vgz_24", an = "_error_14vgz_32", L = {
|
|
1146
1218
|
field: en,
|
|
1147
1219
|
label: rn,
|
|
1148
1220
|
required: tn,
|
|
@@ -1159,10 +1231,10 @@ function ao({
|
|
|
1159
1231
|
children: c,
|
|
1160
1232
|
className: u
|
|
1161
1233
|
}) {
|
|
1162
|
-
return /* @__PURE__ */ t.jsxDEV("div", { className: [
|
|
1163
|
-
r && /* @__PURE__ */ t.jsxDEV("label", { htmlFor: o, className:
|
|
1234
|
+
return /* @__PURE__ */ t.jsxDEV("div", { className: [L.field, n ? L.hasError : "", u ?? ""].filter(Boolean).join(" "), children: [
|
|
1235
|
+
r && /* @__PURE__ */ t.jsxDEV("label", { htmlFor: o, className: L.label, children: [
|
|
1164
1236
|
r,
|
|
1165
|
-
i && /* @__PURE__ */ t.jsxDEV("span", { className:
|
|
1237
|
+
i && /* @__PURE__ */ t.jsxDEV("span", { className: L.required, "aria-hidden": "true", children: " *" }, void 0, !1, {
|
|
1166
1238
|
fileName: "/app/src/components/FormField/FormField.tsx",
|
|
1167
1239
|
lineNumber: 33,
|
|
1168
1240
|
columnNumber: 24
|
|
@@ -1172,16 +1244,16 @@ function ao({
|
|
|
1172
1244
|
lineNumber: 31,
|
|
1173
1245
|
columnNumber: 9
|
|
1174
1246
|
}, this),
|
|
1175
|
-
/* @__PURE__ */ t.jsxDEV("div", { className:
|
|
1247
|
+
/* @__PURE__ */ t.jsxDEV("div", { className: L.control, children: c }, void 0, !1, {
|
|
1176
1248
|
fileName: "/app/src/components/FormField/FormField.tsx",
|
|
1177
1249
|
lineNumber: 36,
|
|
1178
1250
|
columnNumber: 7
|
|
1179
1251
|
}, this),
|
|
1180
|
-
n ? /* @__PURE__ */ t.jsxDEV("p", { className:
|
|
1252
|
+
n ? /* @__PURE__ */ t.jsxDEV("p", { className: L.error, role: "alert", children: n }, void 0, !1, {
|
|
1181
1253
|
fileName: "/app/src/components/FormField/FormField.tsx",
|
|
1182
1254
|
lineNumber: 38,
|
|
1183
1255
|
columnNumber: 9
|
|
1184
|
-
}, this) : s ? /* @__PURE__ */ t.jsxDEV("p", { className:
|
|
1256
|
+
}, this) : s ? /* @__PURE__ */ t.jsxDEV("p", { className: L.hint, children: s }, void 0, !1, {
|
|
1185
1257
|
fileName: "/app/src/components/FormField/FormField.tsx",
|
|
1186
1258
|
lineNumber: 40,
|
|
1187
1259
|
columnNumber: 9
|
|
@@ -1192,23 +1264,23 @@ function ao({
|
|
|
1192
1264
|
columnNumber: 5
|
|
1193
1265
|
}, this);
|
|
1194
1266
|
}
|
|
1195
|
-
const on = "
|
|
1267
|
+
const on = "_badge_107ff_1", ln = "_sm_107ff_13", cn = "_md_107ff_18", un = "_primary_107ff_29", mn = "_success_107ff_34", dn = "_warning_107ff_39", fn = "_error_107ff_44", _n = "_info_107ff_49", pn = "_dot_107ff_55", ne = {
|
|
1196
1268
|
badge: on,
|
|
1197
1269
|
sm: ln,
|
|
1198
1270
|
md: cn,
|
|
1199
|
-
default: "
|
|
1271
|
+
default: "_default_107ff_24",
|
|
1200
1272
|
primary: un,
|
|
1201
1273
|
success: mn,
|
|
1202
1274
|
warning: dn,
|
|
1203
|
-
error:
|
|
1204
|
-
info:
|
|
1275
|
+
error: fn,
|
|
1276
|
+
info: _n,
|
|
1205
1277
|
dot: pn,
|
|
1206
|
-
"dot-default": "_dot-
|
|
1207
|
-
"dot-primary": "_dot-
|
|
1208
|
-
"dot-success": "_dot-
|
|
1209
|
-
"dot-warning": "_dot-
|
|
1210
|
-
"dot-error": "_dot-
|
|
1211
|
-
"dot-info": "_dot-
|
|
1278
|
+
"dot-default": "_dot-default_107ff_62",
|
|
1279
|
+
"dot-primary": "_dot-primary_107ff_66",
|
|
1280
|
+
"dot-success": "_dot-success_107ff_70",
|
|
1281
|
+
"dot-warning": "_dot-warning_107ff_74",
|
|
1282
|
+
"dot-error": "_dot-error_107ff_78",
|
|
1283
|
+
"dot-info": "_dot-info_107ff_82"
|
|
1212
1284
|
};
|
|
1213
1285
|
function oo({
|
|
1214
1286
|
variant: r = "default",
|
|
@@ -1254,7 +1326,7 @@ function oo({
|
|
|
1254
1326
|
this
|
|
1255
1327
|
);
|
|
1256
1328
|
}
|
|
1257
|
-
const bn = "_alert_180sy_1", vn = "_info_180sy_11", Nn = "_success_180sy_17", hn = "_warning_180sy_23", xn = "_error_180sy_29", gn = "_icon_180sy_35", jn = "_body_180sy_58", yn = "_title_180sy_65", En = "_message_180sy_72", wn = "_close_180sy_78",
|
|
1329
|
+
const bn = "_alert_180sy_1", vn = "_info_180sy_11", Nn = "_success_180sy_17", hn = "_warning_180sy_23", xn = "_error_180sy_29", gn = "_icon_180sy_35", jn = "_body_180sy_58", yn = "_title_180sy_65", En = "_message_180sy_72", wn = "_close_180sy_78", q = {
|
|
1258
1330
|
alert: bn,
|
|
1259
1331
|
info: vn,
|
|
1260
1332
|
success: Nn,
|
|
@@ -1279,21 +1351,21 @@ function io({
|
|
|
1279
1351
|
"div",
|
|
1280
1352
|
{
|
|
1281
1353
|
role: "alert",
|
|
1282
|
-
className: [
|
|
1354
|
+
className: [q.alert, q[r], i ?? ""].filter(Boolean).join(" "),
|
|
1283
1355
|
...u,
|
|
1284
1356
|
children: [
|
|
1285
|
-
n && /* @__PURE__ */ t.jsxDEV("span", { className:
|
|
1357
|
+
n && /* @__PURE__ */ t.jsxDEV("span", { className: q.icon, "aria-hidden": "true", children: n }, void 0, !1, {
|
|
1286
1358
|
fileName: "/app/src/components/Alert/Alert.tsx",
|
|
1287
1359
|
lineNumber: 29,
|
|
1288
1360
|
columnNumber: 16
|
|
1289
1361
|
}, this),
|
|
1290
|
-
/* @__PURE__ */ t.jsxDEV("div", { className:
|
|
1291
|
-
s && /* @__PURE__ */ t.jsxDEV("p", { className:
|
|
1362
|
+
/* @__PURE__ */ t.jsxDEV("div", { className: q.body, children: [
|
|
1363
|
+
s && /* @__PURE__ */ t.jsxDEV("p", { className: q.title, children: s }, void 0, !1, {
|
|
1292
1364
|
fileName: "/app/src/components/Alert/Alert.tsx",
|
|
1293
1365
|
lineNumber: 31,
|
|
1294
1366
|
columnNumber: 19
|
|
1295
1367
|
}, this),
|
|
1296
|
-
c && /* @__PURE__ */ t.jsxDEV("div", { className:
|
|
1368
|
+
c && /* @__PURE__ */ t.jsxDEV("div", { className: q.message, children: c }, void 0, !1, {
|
|
1297
1369
|
fileName: "/app/src/components/Alert/Alert.tsx",
|
|
1298
1370
|
lineNumber: 32,
|
|
1299
1371
|
columnNumber: 22
|
|
@@ -1307,7 +1379,7 @@ function io({
|
|
|
1307
1379
|
"button",
|
|
1308
1380
|
{
|
|
1309
1381
|
type: "button",
|
|
1310
|
-
className:
|
|
1382
|
+
className: q.close,
|
|
1311
1383
|
onClick: o,
|
|
1312
1384
|
"aria-label": "Dismiss",
|
|
1313
1385
|
children: "✕"
|
|
@@ -1404,15 +1476,15 @@ function lo({ size: r = "md", label: s = "Loading", className: n, ...o }) {
|
|
|
1404
1476
|
this
|
|
1405
1477
|
);
|
|
1406
1478
|
}
|
|
1407
|
-
const Bn = "_wrapper_jkqgi_1", In = "_header_jkqgi_8", Fn = "_label_jkqgi_14", An = "_value_jkqgi_21", On = "_track_jkqgi_27",
|
|
1479
|
+
const Bn = "_wrapper_jkqgi_1", In = "_header_jkqgi_8", Fn = "_label_jkqgi_14", An = "_value_jkqgi_21", On = "_track_jkqgi_27", zn = "_sm_jkqgi_34", Ln = "_md_jkqgi_38", qn = "_lg_jkqgi_42", Wn = "_bar_jkqgi_46", Mn = "_primary_jkqgi_52", Yn = "_success_jkqgi_56", Un = "_warning_jkqgi_60", Hn = "_error_jkqgi_64", P = {
|
|
1408
1480
|
wrapper: Bn,
|
|
1409
1481
|
header: In,
|
|
1410
1482
|
label: Fn,
|
|
1411
1483
|
value: An,
|
|
1412
1484
|
track: On,
|
|
1413
|
-
sm:
|
|
1414
|
-
md:
|
|
1415
|
-
lg:
|
|
1485
|
+
sm: zn,
|
|
1486
|
+
md: Ln,
|
|
1487
|
+
lg: qn,
|
|
1416
1488
|
bar: Wn,
|
|
1417
1489
|
primary: Mn,
|
|
1418
1490
|
success: Yn,
|
|
@@ -1428,7 +1500,7 @@ function co({
|
|
|
1428
1500
|
className: c,
|
|
1429
1501
|
...u
|
|
1430
1502
|
}) {
|
|
1431
|
-
const
|
|
1503
|
+
const f = Math.min(100, Math.max(0, r));
|
|
1432
1504
|
return /* @__PURE__ */ t.jsxDEV("div", { className: [P.wrapper, c ?? ""].filter(Boolean).join(" "), ...u, children: [
|
|
1433
1505
|
(n || o) && /* @__PURE__ */ t.jsxDEV("div", { className: P.header, children: [
|
|
1434
1506
|
n && /* @__PURE__ */ t.jsxDEV("span", { className: P.label, children: n }, void 0, !1, {
|
|
@@ -1437,7 +1509,7 @@ function co({
|
|
|
1437
1509
|
columnNumber: 21
|
|
1438
1510
|
}, this),
|
|
1439
1511
|
o && /* @__PURE__ */ t.jsxDEV("span", { className: P.value, children: [
|
|
1440
|
-
|
|
1512
|
+
f,
|
|
1441
1513
|
"%"
|
|
1442
1514
|
] }, void 0, !0, {
|
|
1443
1515
|
fileName: "/app/src/components/Progress/Progress.tsx",
|
|
@@ -1454,14 +1526,14 @@ function co({
|
|
|
1454
1526
|
{
|
|
1455
1527
|
className: [P.track, P[s]].join(" "),
|
|
1456
1528
|
role: "progressbar",
|
|
1457
|
-
"aria-valuenow":
|
|
1529
|
+
"aria-valuenow": f,
|
|
1458
1530
|
"aria-valuemin": 0,
|
|
1459
1531
|
"aria-valuemax": 100,
|
|
1460
1532
|
children: /* @__PURE__ */ t.jsxDEV(
|
|
1461
1533
|
"div",
|
|
1462
1534
|
{
|
|
1463
1535
|
className: [P.bar, P[i]].join(" "),
|
|
1464
|
-
style: { width: `${
|
|
1536
|
+
style: { width: `${f}%` }
|
|
1465
1537
|
},
|
|
1466
1538
|
void 0,
|
|
1467
1539
|
!1,
|
|
@@ -1538,21 +1610,21 @@ function mo({ className: r, children: s, ...n }) {
|
|
|
1538
1610
|
columnNumber: 5
|
|
1539
1611
|
}, this);
|
|
1540
1612
|
}
|
|
1541
|
-
function
|
|
1613
|
+
function fo({ className: r, children: s, ...n }) {
|
|
1542
1614
|
return /* @__PURE__ */ t.jsxDEV("div", { className: [F.body, r ?? ""].filter(Boolean).join(" "), ...n, children: s }, void 0, !1, {
|
|
1543
1615
|
fileName: "/app/src/components/Card/Card.tsx",
|
|
1544
1616
|
lineNumber: 55,
|
|
1545
1617
|
columnNumber: 5
|
|
1546
1618
|
}, this);
|
|
1547
1619
|
}
|
|
1548
|
-
function
|
|
1620
|
+
function _o({ className: r, children: s, ...n }) {
|
|
1549
1621
|
return /* @__PURE__ */ t.jsxDEV("div", { className: [F.footer, r ?? ""].filter(Boolean).join(" "), ...n, children: s }, void 0, !1, {
|
|
1550
1622
|
fileName: "/app/src/components/Card/Card.tsx",
|
|
1551
1623
|
lineNumber: 64,
|
|
1552
1624
|
columnNumber: 5
|
|
1553
1625
|
}, this);
|
|
1554
1626
|
}
|
|
1555
|
-
const ts = "_backdrop_w87fm_23", ns = "_fadeIn_w87fm_1", ss = "_dialog_w87fm_35", as = "_slideUp_w87fm_1", os = "_sm_w87fm_49", is = "_md_w87fm_53", ls = "_lg_w87fm_57", cs = "_xl_w87fm_61", us = "_full_w87fm_65", ms = "_header_w87fm_72", ds = "_title_w87fm_81",
|
|
1627
|
+
const ts = "_backdrop_w87fm_23", ns = "_fadeIn_w87fm_1", ss = "_dialog_w87fm_35", as = "_slideUp_w87fm_1", os = "_sm_w87fm_49", is = "_md_w87fm_53", ls = "_lg_w87fm_57", cs = "_xl_w87fm_61", us = "_full_w87fm_65", ms = "_header_w87fm_72", ds = "_title_w87fm_81", fs = "_closeBtn_w87fm_88", _s = "_body_w87fm_111", ps = "_footer_w87fm_118", B = {
|
|
1556
1628
|
backdrop: ts,
|
|
1557
1629
|
fadeIn: ns,
|
|
1558
1630
|
dialog: ss,
|
|
@@ -1564,8 +1636,8 @@ const ts = "_backdrop_w87fm_23", ns = "_fadeIn_w87fm_1", ss = "_dialog_w87fm_35"
|
|
|
1564
1636
|
full: us,
|
|
1565
1637
|
header: ms,
|
|
1566
1638
|
title: ds,
|
|
1567
|
-
closeBtn:
|
|
1568
|
-
body:
|
|
1639
|
+
closeBtn: fs,
|
|
1640
|
+
body: _s,
|
|
1569
1641
|
footer: ps
|
|
1570
1642
|
};
|
|
1571
1643
|
function po({
|
|
@@ -1577,12 +1649,12 @@ function po({
|
|
|
1577
1649
|
children: c,
|
|
1578
1650
|
footer: u
|
|
1579
1651
|
}) {
|
|
1580
|
-
const
|
|
1652
|
+
const f = lr(null);
|
|
1581
1653
|
return tr(() => {
|
|
1582
1654
|
var d;
|
|
1583
1655
|
if (!r) return;
|
|
1584
1656
|
const N = document.activeElement;
|
|
1585
|
-
return (d =
|
|
1657
|
+
return (d = f.current) == null || d.focus(), () => {
|
|
1586
1658
|
N == null || N.focus();
|
|
1587
1659
|
};
|
|
1588
1660
|
}, [r]), tr(() => {
|
|
@@ -1602,7 +1674,7 @@ function po({
|
|
|
1602
1674
|
children: /* @__PURE__ */ t.jsxDEV(
|
|
1603
1675
|
"div",
|
|
1604
1676
|
{
|
|
1605
|
-
ref:
|
|
1677
|
+
ref: f,
|
|
1606
1678
|
tabIndex: -1,
|
|
1607
1679
|
className: [B.dialog, B[o]].join(" "),
|
|
1608
1680
|
onClick: (N) => N.stopPropagation(),
|
|
@@ -1681,8 +1753,8 @@ function mr() {
|
|
|
1681
1753
|
return r;
|
|
1682
1754
|
}
|
|
1683
1755
|
function bo({ defaultTab: r = "", activeTab: s, onTabChange: n, children: o, className: i }) {
|
|
1684
|
-
const [c, u] = Se(r),
|
|
1685
|
-
|
|
1756
|
+
const [c, u] = Se(r), f = s !== void 0, N = f ? s ?? "" : c, d = (p) => {
|
|
1757
|
+
f || u(p), n == null || n(p);
|
|
1686
1758
|
};
|
|
1687
1759
|
return /* @__PURE__ */ t.jsxDEV(ur.Provider, { value: { activeTab: N, setActiveTab: d }, children: /* @__PURE__ */ t.jsxDEV("div", { className: [ie.tabs, i ?? ""].filter(Boolean).join(" "), children: o }, void 0, !1, {
|
|
1688
1760
|
fileName: "/app/src/components/Tabs/Tabs.tsx",
|
|
@@ -1816,7 +1888,7 @@ function go({ active: r, className: s, children: n, ...o }) {
|
|
|
1816
1888
|
this
|
|
1817
1889
|
);
|
|
1818
1890
|
}
|
|
1819
|
-
const ks = "_wrapper_1wt6l_1", Vs = "_table_1wt6l_8", Ss = "_thead_1wt6l_16", Rs = "_headerCell_1wt6l_20", Cs = "_stickyHeader_1wt6l_29", Ps = "_sortable_1wt6l_36", Bs = "_headerContent_1wt6l_45", Is = "_sortIcon_1wt6l_51", Fs = "_cell_1wt6l_57", As = "_row_1wt6l_78", Os = "_clickable_1wt6l_86",
|
|
1891
|
+
const ks = "_wrapper_1wt6l_1", Vs = "_table_1wt6l_8", Ss = "_thead_1wt6l_16", Rs = "_headerCell_1wt6l_20", Cs = "_stickyHeader_1wt6l_29", Ps = "_sortable_1wt6l_36", Bs = "_headerContent_1wt6l_45", Is = "_sortIcon_1wt6l_51", Fs = "_cell_1wt6l_57", As = "_row_1wt6l_78", Os = "_clickable_1wt6l_86", zs = "_selected_1wt6l_90", Ls = "_striped_1wt6l_95", qs = "_dense_1wt6l_99", Ws = "_bordered_1wt6l_104", y = {
|
|
1820
1892
|
wrapper: ks,
|
|
1821
1893
|
table: Vs,
|
|
1822
1894
|
thead: Ss,
|
|
@@ -1831,9 +1903,9 @@ const ks = "_wrapper_1wt6l_1", Vs = "_table_1wt6l_8", Ss = "_thead_1wt6l_16", Rs
|
|
|
1831
1903
|
"align-right": "_align-right_1wt6l_73",
|
|
1832
1904
|
row: As,
|
|
1833
1905
|
clickable: Os,
|
|
1834
|
-
selected:
|
|
1835
|
-
striped:
|
|
1836
|
-
dense:
|
|
1906
|
+
selected: zs,
|
|
1907
|
+
striped: Ls,
|
|
1908
|
+
dense: qs,
|
|
1837
1909
|
bordered: Ws
|
|
1838
1910
|
};
|
|
1839
1911
|
function jo({ striped: r, dense: s, bordered: n, stickyHeader: o, className: i, children: c, ...u }) {
|
|
@@ -1982,7 +2054,7 @@ function $o({
|
|
|
1982
2054
|
shape: i = "circle",
|
|
1983
2055
|
status: c,
|
|
1984
2056
|
className: u,
|
|
1985
|
-
...
|
|
2057
|
+
...f
|
|
1986
2058
|
}) {
|
|
1987
2059
|
return /* @__PURE__ */ t.jsxDEV(
|
|
1988
2060
|
"div",
|
|
@@ -1993,7 +2065,7 @@ function $o({
|
|
|
1993
2065
|
W[i],
|
|
1994
2066
|
u ?? ""
|
|
1995
2067
|
].filter(Boolean).join(" "),
|
|
1996
|
-
...
|
|
2068
|
+
...f,
|
|
1997
2069
|
children: [
|
|
1998
2070
|
r ? /* @__PURE__ */ t.jsxDEV("img", { src: r, alt: s, className: W.img }, void 0, !1, {
|
|
1999
2071
|
fileName: "/app/src/components/Avatar/Avatar.tsx",
|
|
@@ -2116,11 +2188,11 @@ function Vo({ illustration: r, title: s, description: n, action: o, className: i
|
|
|
2116
2188
|
columnNumber: 5
|
|
2117
2189
|
}, this);
|
|
2118
2190
|
}
|
|
2119
|
-
const ma = "_sidebar_1hxle_1", da = "_collapsed_1hxle_13",
|
|
2191
|
+
const ma = "_sidebar_1hxle_1", da = "_collapsed_1hxle_13", fa = "_brand_1hxle_17", _a = "_nav_1hxle_24", pa = "_bottom_1hxle_33", ba = "_footer_1hxle_40", va = "_collapseBtn_1hxle_45", M = {
|
|
2120
2192
|
sidebar: ma,
|
|
2121
2193
|
collapsed: da,
|
|
2122
|
-
brand:
|
|
2123
|
-
nav:
|
|
2194
|
+
brand: fa,
|
|
2195
|
+
nav: _a,
|
|
2124
2196
|
bottom: pa,
|
|
2125
2197
|
footer: ba,
|
|
2126
2198
|
collapseBtn: va
|
|
@@ -2207,7 +2279,7 @@ function Ro({
|
|
|
2207
2279
|
href: i,
|
|
2208
2280
|
as: c,
|
|
2209
2281
|
collapsed: u = !1,
|
|
2210
|
-
className:
|
|
2282
|
+
className: f,
|
|
2211
2283
|
...N
|
|
2212
2284
|
}) {
|
|
2213
2285
|
const d = c ?? (i ? "a" : "button"), p = { ...N };
|
|
@@ -2218,7 +2290,7 @@ function Ro({
|
|
|
2218
2290
|
ae.item,
|
|
2219
2291
|
n ? ae.active : "",
|
|
2220
2292
|
u ? ae.collapsed : "",
|
|
2221
|
-
|
|
2293
|
+
f ?? ""
|
|
2222
2294
|
].filter(Boolean).join(" "),
|
|
2223
2295
|
onClick: o,
|
|
2224
2296
|
"aria-current": n ? "page" : void 0,
|
|
@@ -2299,18 +2371,18 @@ function Ca({ item: r, onClose: s }) {
|
|
|
2299
2371
|
columnNumber: 5
|
|
2300
2372
|
}, this);
|
|
2301
2373
|
}
|
|
2302
|
-
const Pa = "_container_1a1az_1", Ba = "_top_right_1a1az_16", Ia = "_top_left_1a1az_22", Fa = "_bottom_right_1a1az_28", Aa = "_bottom_left_1a1az_35", Oa = "_top_center_1a1az_42",
|
|
2374
|
+
const Pa = "_container_1a1az_1", Ba = "_top_right_1a1az_16", Ia = "_top_left_1a1az_22", Fa = "_bottom_right_1a1az_28", Aa = "_bottom_left_1a1az_35", Oa = "_top_center_1a1az_42", za = "_bottom_center_1a1az_49", or = {
|
|
2303
2375
|
container: Pa,
|
|
2304
2376
|
top_right: Ba,
|
|
2305
2377
|
top_left: Ia,
|
|
2306
2378
|
bottom_right: Fa,
|
|
2307
2379
|
bottom_left: Aa,
|
|
2308
2380
|
top_center: Oa,
|
|
2309
|
-
bottom_center:
|
|
2381
|
+
bottom_center: za
|
|
2310
2382
|
}, dr = Ve(null);
|
|
2311
|
-
let
|
|
2312
|
-
function
|
|
2313
|
-
return `toast-${++
|
|
2383
|
+
let La = 0;
|
|
2384
|
+
function qa() {
|
|
2385
|
+
return `toast-${++La}`;
|
|
2314
2386
|
}
|
|
2315
2387
|
function Co({
|
|
2316
2388
|
children: r,
|
|
@@ -2321,9 +2393,9 @@ function Co({
|
|
|
2321
2393
|
i((x) => x.filter((E) => E.id !== d));
|
|
2322
2394
|
const p = c.current.get(d);
|
|
2323
2395
|
p && (clearTimeout(p), c.current.delete(d));
|
|
2324
|
-
}, []),
|
|
2396
|
+
}, []), f = ve(
|
|
2325
2397
|
(d, p, x) => {
|
|
2326
|
-
const E =
|
|
2398
|
+
const E = qa(), S = x ?? n;
|
|
2327
2399
|
if (i((k) => [...k, { id: E, message: d, variant: p }]), S > 0) {
|
|
2328
2400
|
const k = setTimeout(() => u(E), S);
|
|
2329
2401
|
c.current.set(E, k);
|
|
@@ -2331,10 +2403,10 @@ function Co({
|
|
|
2331
2403
|
},
|
|
2332
2404
|
[n, u]
|
|
2333
2405
|
), N = {
|
|
2334
|
-
success: (d, p) =>
|
|
2335
|
-
error: (d, p) =>
|
|
2336
|
-
warning: (d, p) =>
|
|
2337
|
-
info: (d, p) =>
|
|
2406
|
+
success: (d, p) => f(d, "success", p),
|
|
2407
|
+
error: (d, p) => f(d, "error", p),
|
|
2408
|
+
warning: (d, p) => f(d, "warning", p),
|
|
2409
|
+
info: (d, p) => f(d, "info", p),
|
|
2338
2410
|
dismiss: u
|
|
2339
2411
|
};
|
|
2340
2412
|
return /* @__PURE__ */ t.jsxDEV(dr.Provider, { value: N, children: [
|
|
@@ -2387,13 +2459,13 @@ function Bo({
|
|
|
2387
2459
|
disabled: i = !1,
|
|
2388
2460
|
size: c = "md",
|
|
2389
2461
|
labels: u,
|
|
2390
|
-
className:
|
|
2462
|
+
className: f
|
|
2391
2463
|
}) {
|
|
2392
2464
|
const N = o - n + 1, d = u ?? Xa.slice(0, N), p = Array.from({ length: N }, (x, E) => n + E);
|
|
2393
2465
|
return /* @__PURE__ */ t.jsxDEV(
|
|
2394
2466
|
"div",
|
|
2395
2467
|
{
|
|
2396
|
-
className: [G.root, G[c], i ? G.disabled : "",
|
|
2468
|
+
className: [G.root, G[c], i ? G.disabled : "", f ?? ""].filter(Boolean).join(" "),
|
|
2397
2469
|
role: "group",
|
|
2398
2470
|
"aria-label": "Seleccionar puntuación",
|
|
2399
2471
|
children: [
|
|
@@ -2444,8 +2516,8 @@ export {
|
|
|
2444
2516
|
oo as Badge,
|
|
2445
2517
|
to as Button,
|
|
2446
2518
|
uo as Card,
|
|
2447
|
-
|
|
2448
|
-
|
|
2519
|
+
fo as CardBody,
|
|
2520
|
+
_o as CardFooter,
|
|
2449
2521
|
mo as CardHeader,
|
|
2450
2522
|
Wt as Checkbox,
|
|
2451
2523
|
ko as Divider,
|