levannta-ui 1.0.53-react18 → 1.0.54-react18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -9,19 +9,19 @@ var je = { exports: {} }, ae = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var Ve;
12
+ var Fe;
13
13
  function kr() {
14
- if (Ve) return ae;
15
- Ve = 1;
14
+ if (Fe) return ae;
15
+ Fe = 1;
16
16
  var t = ie, s = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function v(f, u, h) {
18
- var o, g = {}, d = null, b = null;
19
- h !== void 0 && (d = "" + h), u.key !== void 0 && (d = "" + u.key), u.ref !== void 0 && (b = u.ref);
20
- for (o in u) i.call(u, o) && !m.hasOwnProperty(o) && (g[o] = u[o]);
21
- if (f && f.defaultProps) for (o in u = f.defaultProps, u) g[o] === void 0 && (g[o] = u[o]);
22
- return { $$typeof: s, type: f, key: d, ref: b, props: g, _owner: l.current };
17
+ function f(h, u, v) {
18
+ var o, p = {}, d = null, b = null;
19
+ v !== void 0 && (d = "" + v), u.key !== void 0 && (d = "" + u.key), u.ref !== void 0 && (b = u.ref);
20
+ for (o in u) i.call(u, o) && !m.hasOwnProperty(o) && (p[o] = u[o]);
21
+ if (h && h.defaultProps) for (o in u = h.defaultProps, u) p[o] === void 0 && (p[o] = u[o]);
22
+ return { $$typeof: s, type: h, key: d, ref: b, props: p, _owner: l.current };
23
23
  }
24
- return ae.Fragment = n, ae.jsx = v, ae.jsxs = v, ae;
24
+ return ae.Fragment = n, ae.jsx = f, ae.jsxs = f, ae;
25
25
  }
26
26
  var se = {};
27
27
  /**
@@ -36,8 +36,8 @@ var se = {};
36
36
  var Be;
37
37
  function Er() {
38
38
  return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
39
- var t = ie, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, j = "@@iterator";
40
- function p(e) {
39
+ var t = ie, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), h = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, j = "@@iterator";
40
+ function g(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
43
  var a = k && e[k] || e[j];
@@ -61,10 +61,10 @@ function Er() {
61
61
  R.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, R);
62
62
  }
63
63
  }
64
- var B = !1, H = !1, W = !1, I = !1, ee = !1, K;
64
+ var B = !1, G = !1, W = !1, I = !1, ee = !1, K;
65
65
  K = Symbol.for("react.module.reference");
66
66
  function re(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === m || ee || e === l || e === h || e === o || I || e === b || B || H || W || typeof e == "object" && e !== null && (e.$$typeof === d || e.$$typeof === g || e.$$typeof === v || e.$$typeof === f || e.$$typeof === u || // This needs to include all possible module reference object
67
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === m || ee || e === l || e === v || e === o || I || e === b || B || G || W || typeof e == "object" && e !== null && (e.$$typeof === d || e.$$typeof === p || e.$$typeof === f || e.$$typeof === h || e.$$typeof === u || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
@@ -96,22 +96,22 @@ function Er() {
96
96
  return "Profiler";
97
97
  case l:
98
98
  return "StrictMode";
99
- case h:
99
+ case v:
100
100
  return "Suspense";
101
101
  case o:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case f:
106
+ case h:
107
107
  var a = e;
108
108
  return M(a) + ".Consumer";
109
- case v:
109
+ case f:
110
110
  var c = e;
111
111
  return M(c._context) + ".Provider";
112
112
  case u:
113
113
  return te(e, e.render, "ForwardRef");
114
- case g:
114
+ case p:
115
115
  var x = e.displayName || null;
116
116
  return x !== null ? x : z(e.type) || "Memo";
117
117
  case d: {
@@ -125,14 +125,14 @@ function Er() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var y = Object.assign, T = 0, A, V, Y, le, we, ye, Ne;
128
+ var y = Object.assign, T = 0, A, F, Y, le, we, ye, Ne;
129
129
  function Ce() {
130
130
  }
131
131
  Ce.__reactDisabledLog = !0;
132
132
  function Xe() {
133
133
  {
134
134
  if (T === 0) {
135
- A = console.log, V = console.info, Y = console.warn, le = console.error, we = console.group, ye = console.groupCollapsed, Ne = console.groupEnd;
135
+ A = console.log, F = console.info, Y = console.warn, le = console.error, we = console.group, ye = console.groupCollapsed, Ne = console.groupEnd;
136
136
  var e = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
@@ -165,7 +165,7 @@ function Er() {
165
165
  value: A
166
166
  }),
167
167
  info: y({}, e, {
168
- value: V
168
+ value: F
169
169
  }),
170
170
  warn: y({}, e, {
171
171
  value: Y
@@ -201,13 +201,13 @@ function Er() {
201
201
  ` + he + e;
202
202
  }
203
203
  }
204
- var ve = !1, ce;
204
+ var me = !1, ce;
205
205
  {
206
206
  var qe = typeof WeakMap == "function" ? WeakMap : Map;
207
207
  ce = new qe();
208
208
  }
209
209
  function _e(e, a) {
210
- if (!e || ve)
210
+ if (!e || me)
211
211
  return "";
212
212
  {
213
213
  var c = ce.get(e);
@@ -215,7 +215,7 @@ function Er() {
215
215
  return c;
216
216
  }
217
217
  var x;
218
- ve = !0;
218
+ me = !0;
219
219
  var C = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var R;
@@ -232,29 +232,29 @@ function Er() {
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
234
  Reflect.construct(N, []);
235
- } catch (F) {
236
- x = F;
235
+ } catch (V) {
236
+ x = V;
237
237
  }
238
238
  Reflect.construct(e, [], N);
239
239
  } else {
240
240
  try {
241
241
  N.call();
242
- } catch (F) {
243
- x = F;
242
+ } catch (V) {
243
+ x = V;
244
244
  }
245
245
  e.call(N.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
- } catch (F) {
251
- x = F;
250
+ } catch (V) {
251
+ x = V;
252
252
  }
253
253
  e();
254
254
  }
255
- } catch (F) {
256
- if (F && x && typeof F.stack == "string") {
257
- for (var w = F.stack.split(`
255
+ } catch (V) {
256
+ if (V && x && typeof V.stack == "string") {
257
+ for (var w = V.stack.split(`
258
258
  `), D = x.stack.split(`
259
259
  `), L = w.length - 1, $ = D.length - 1; L >= 1 && $ >= 0 && w[L] !== D[$]; )
260
260
  $--;
@@ -272,7 +272,7 @@ function Er() {
272
272
  }
273
273
  }
274
274
  } finally {
275
- ve = !1, fe.current = R, Ze(), Error.prepareStackTrace = C;
275
+ me = !1, fe.current = R, Ze(), Error.prepareStackTrace = C;
276
276
  }
277
277
  var Z = e ? e.displayName || e.name : "", J = Z ? oe(Z) : "";
278
278
  return typeof e == "function" && ce.set(e, J), J;
@@ -292,7 +292,7 @@ function Er() {
292
292
  if (typeof e == "string")
293
293
  return oe(e);
294
294
  switch (e) {
295
- case h:
295
+ case v:
296
296
  return oe("Suspense");
297
297
  case o:
298
298
  return oe("SuspenseList");
@@ -301,7 +301,7 @@ function Er() {
301
301
  switch (e.$$typeof) {
302
302
  case u:
303
303
  return Qe(e.render);
304
- case g:
304
+ case p:
305
305
  return ue(e.type, a, c);
306
306
  case d: {
307
307
  var x = e, C = x._payload, R = x._init;
@@ -341,7 +341,7 @@ function Er() {
341
341
  }
342
342
  }
343
343
  var tr = Array.isArray;
344
- function me(e) {
344
+ function ve(e) {
345
345
  return tr(e);
346
346
  }
347
347
  function nr(e) {
@@ -458,7 +458,7 @@ function Er() {
458
458
  return dr(e, w, D, C, x, Te.current, N);
459
459
  }
460
460
  }
461
- var pe = S.ReactCurrentOwner, Ie = S.ReactDebugCurrentFrame;
461
+ var ge = S.ReactCurrentOwner, Ie = S.ReactDebugCurrentFrame;
462
462
  function X(e) {
463
463
  if (e) {
464
464
  var a = e._owner, c = ue(e.type, e._source, a ? a.type : null);
@@ -466,15 +466,15 @@ function Er() {
466
466
  } else
467
467
  Ie.setExtraStackFrame(null);
468
468
  }
469
- var ge;
470
- ge = !1;
469
+ var pe;
470
+ pe = !1;
471
471
  function xe(e) {
472
472
  return typeof e == "object" && e !== null && e.$$typeof === s;
473
473
  }
474
474
  function Oe() {
475
475
  {
476
- if (pe.current) {
477
- var e = z(pe.current.type);
476
+ if (ge.current) {
477
+ var e = z(ge.current.type);
478
478
  if (e)
479
479
  return `
480
480
 
@@ -487,7 +487,7 @@ Check the render method of \`` + e + "`.";
487
487
  return "";
488
488
  }
489
489
  var Me = {};
490
- function vr(e) {
490
+ function mr(e) {
491
491
  {
492
492
  var a = Oe();
493
493
  if (!a) {
@@ -504,19 +504,19 @@ Check the top-level render call using <` + c + ">.");
504
504
  if (!e._store || e._store.validated || e.key != null)
505
505
  return;
506
506
  e._store.validated = !0;
507
- var c = vr(a);
507
+ var c = mr(a);
508
508
  if (Me[c])
509
509
  return;
510
510
  Me[c] = !0;
511
511
  var x = "";
512
- e && e._owner && e._owner !== pe.current && (x = " It was passed a child from " + z(e._owner.type) + "."), X(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, x), X(null);
512
+ e && e._owner && e._owner !== ge.current && (x = " It was passed a child from " + z(e._owner.type) + "."), X(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, x), X(null);
513
513
  }
514
514
  }
515
515
  function Ae(e, a) {
516
516
  {
517
517
  if (typeof e != "object")
518
518
  return;
519
- if (me(e))
519
+ if (ve(e))
520
520
  for (var c = 0; c < e.length; c++) {
521
521
  var x = e[c];
522
522
  xe(x) && ze(x, a);
@@ -524,14 +524,14 @@ Check the top-level render call using <` + c + ">.");
524
524
  else if (xe(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var C = p(e);
527
+ var C = g(e);
528
528
  if (typeof C == "function" && C !== e.entries)
529
529
  for (var R = C.call(e), N; !(N = R.next()).done; )
530
530
  xe(N.value) && ze(N.value, a);
531
531
  }
532
532
  }
533
533
  }
534
- function mr(e) {
534
+ function vr(e) {
535
535
  {
536
536
  var a = e.type;
537
537
  if (a == null || typeof a == "string")
@@ -541,22 +541,22 @@ Check the top-level render call using <` + c + ">.");
541
541
  c = a.propTypes;
542
542
  else if (typeof a == "object" && (a.$$typeof === u || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
- a.$$typeof === g))
544
+ a.$$typeof === p))
545
545
  c = a.propTypes;
546
546
  else
547
547
  return;
548
548
  if (c) {
549
549
  var x = z(a);
550
550
  rr(c, e.props, "prop", x, e);
551
- } else if (a.PropTypes !== void 0 && !ge) {
552
- ge = !0;
551
+ } else if (a.PropTypes !== void 0 && !pe) {
552
+ pe = !0;
553
553
  var C = z(a);
554
554
  _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
555
555
  }
556
556
  typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
- function pr(e) {
559
+ function gr(e) {
560
560
  {
561
561
  for (var a = Object.keys(e.props), c = 0; c < a.length; c++) {
562
562
  var x = a[c];
@@ -569,7 +569,7 @@ Check the top-level render call using <` + c + ">.");
569
569
  }
570
570
  }
571
571
  var De = {};
572
- function Fe(e, a, c, x, C, R) {
572
+ function Ve(e, a, c, x, C, R) {
573
573
  {
574
574
  var N = re(e);
575
575
  if (!N) {
@@ -578,7 +578,7 @@ Check the top-level render call using <` + c + ">.");
578
578
  var D = hr();
579
579
  D ? w += D : w += Oe();
580
580
  var L;
581
- e === null ? L = "null" : me(e) ? L = "array" : e !== void 0 && e.$$typeof === s ? (L = "<" + (z(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : L = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, w);
581
+ e === null ? L = "null" : ve(e) ? L = "array" : e !== void 0 && e.$$typeof === s ? (L = "<" + (z(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : L = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, w);
582
582
  }
583
583
  var $ = fr(e, a, c, C, R);
584
584
  if ($ == null)
@@ -587,7 +587,7 @@ Check the top-level render call using <` + c + ">.");
587
587
  var P = a.children;
588
588
  if (P !== void 0)
589
589
  if (x)
590
- if (me(P)) {
590
+ if (ve(P)) {
591
591
  for (var Z = 0; Z < P.length; Z++)
592
592
  Ae(P[Z], e);
593
593
  Object.freeze && Object.freeze(P);
@@ -597,11 +597,11 @@ Check the top-level render call using <` + c + ">.");
597
597
  Ae(P, e);
598
598
  }
599
599
  if (ne.call(a, "key")) {
600
- var J = z(e), F = Object.keys(a).filter(function(yr) {
600
+ var J = z(e), V = Object.keys(a).filter(function(yr) {
601
601
  return yr !== "key";
602
- }), be = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
602
+ }), be = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
603
603
  if (!De[J + be]) {
604
- var wr = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
604
+ var wr = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
605
605
  _(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
@@ -610,16 +610,16 @@ React keys must be passed directly to JSX without using spread:
610
610
  <%s key={someKey} {...props} />`, be, J, wr, J), De[J + be] = !0;
611
611
  }
612
612
  }
613
- return e === i ? pr($) : mr($), $;
613
+ return e === i ? gr($) : vr($), $;
614
614
  }
615
615
  }
616
- function gr(e, a, c) {
617
- return Fe(e, a, c, !0);
616
+ function pr(e, a, c) {
617
+ return Ve(e, a, c, !0);
618
618
  }
619
619
  function xr(e, a, c) {
620
- return Fe(e, a, c, !1);
620
+ return Ve(e, a, c, !1);
621
621
  }
622
- var br = xr, jr = gr;
622
+ var br = xr, jr = pr;
623
623
  se.Fragment = i, se.jsx = br, se.jsxs = jr;
624
624
  }()), se;
625
625
  }
@@ -638,36 +638,36 @@ function Rr() {
638
638
  for (var t, s, n = 0, i = "", l = arguments.length; n < l; n++) (t = arguments[n]) && (s = He(t)) && (i && (i += " "), i += s);
639
639
  return i;
640
640
  }
641
- const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, G = (t, s) => (n) => {
641
+ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, H = (t, s) => (n) => {
642
642
  var i;
643
643
  if ((s == null ? void 0 : s.variants) == null) return Pe(t, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
644
- const { variants: l, defaultVariants: m } = s, v = Object.keys(l).map((h) => {
645
- const o = n == null ? void 0 : n[h], g = m == null ? void 0 : m[h];
644
+ const { variants: l, defaultVariants: m } = s, f = Object.keys(l).map((v) => {
645
+ const o = n == null ? void 0 : n[v], p = m == null ? void 0 : m[v];
646
646
  if (o === null) return null;
647
- const d = We(o) || We(g);
648
- return l[h][d];
649
- }), f = n && Object.entries(n).reduce((h, o) => {
650
- let [g, d] = o;
651
- return d === void 0 || (h[g] = d), h;
652
- }, {}), u = s == null || (i = s.compoundVariants) === null || i === void 0 ? void 0 : i.reduce((h, o) => {
653
- let { class: g, className: d, ...b } = o;
647
+ const d = We(o) || We(p);
648
+ return l[v][d];
649
+ }), h = n && Object.entries(n).reduce((v, o) => {
650
+ let [p, d] = o;
651
+ return d === void 0 || (v[p] = d), v;
652
+ }, {}), u = s == null || (i = s.compoundVariants) === null || i === void 0 ? void 0 : i.reduce((v, o) => {
653
+ let { class: p, className: d, ...b } = o;
654
654
  return Object.entries(b).every((k) => {
655
- let [j, p] = k;
656
- return Array.isArray(p) ? p.includes({
655
+ let [j, g] = k;
656
+ return Array.isArray(g) ? g.includes({
657
657
  ...m,
658
- ...f
658
+ ...h
659
659
  }[j]) : {
660
660
  ...m,
661
- ...f
662
- }[j] === p;
661
+ ...h
662
+ }[j] === g;
663
663
  }) ? [
664
- ...h,
665
- g,
664
+ ...v,
665
+ p,
666
666
  d
667
- ] : h;
667
+ ] : v;
668
668
  }, []);
669
- return Pe(t, v, u, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
670
- }, Sr = G("button", {
669
+ return Pe(t, f, u, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
670
+ }, Sr = H("button", {
671
671
  variants: {
672
672
  variant: {
673
673
  outlined: "button-outlined",
@@ -736,19 +736,19 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, G
736
736
  size: i,
737
737
  pill: l,
738
738
  active: m,
739
- iconLeft: v,
740
- iconRight: f,
739
+ iconLeft: f,
740
+ iconRight: h,
741
741
  iconLeftJustified: u,
742
- iconRightJustified: h,
742
+ iconRightJustified: v,
743
743
  iconOnly: o,
744
- width: g,
744
+ width: p,
745
745
  children: d,
746
746
  style: b,
747
747
  ...k
748
748
  }, j) => {
749
- const p = {
749
+ const g = {
750
750
  ...b || {},
751
- ...g ? { width: g } : {}
751
+ ...p ? { width: p } : {}
752
752
  };
753
753
  return /* @__PURE__ */ r.jsxs(
754
754
  "button",
@@ -759,29 +759,29 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, G
759
759
  size: i,
760
760
  pill: l,
761
761
  active: m,
762
- iconLeft: !!v,
763
- iconRight: !!f,
762
+ iconLeft: !!f,
763
+ iconRight: !!h,
764
764
  iconLeftJustified: !!u,
765
- iconRightJustified: !!h,
765
+ iconRightJustified: !!v,
766
766
  iconOnly: !!o,
767
767
  className: t
768
768
  }),
769
- style: p,
769
+ style: g,
770
770
  ref: j,
771
771
  ...k,
772
772
  children: [
773
- v && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: v }),
773
+ f && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: f }),
774
774
  u && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: u }),
775
775
  o ? /* @__PURE__ */ r.jsx("span", { children: o }) : d,
776
- f && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: f }),
777
- h && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: h })
776
+ h && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: h }),
777
+ v && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: v })
778
778
  ]
779
779
  }
780
780
  );
781
781
  }
782
782
  );
783
783
  Ge.displayName = "Button";
784
- const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: t, children: /* @__PURE__ */ r.jsx("path", { d: "M8.12 9.29006L12 13.1701L15.88 9.29006C16.27 8.90006 16.9 8.90006 17.29 9.29006C17.68 9.68006 17.68 10.3101 17.29 10.7001L12.7 15.2901C12.31 15.6801 11.68 15.6801 11.29 15.2901L6.7 10.7001C6.31 10.3101 6.31 9.68006 6.7 9.29006C7.09 8.91006 7.73 8.90006 8.12 9.29006Z", fill: "#F9FAFB" }) }), Lr = () => {
784
+ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: t, children: /* @__PURE__ */ r.jsx("path", { d: "M8.12 9.29006L12 13.1701L15.88 9.29006C16.27 8.90006 16.9 8.90006 17.29 9.29006C17.68 9.68006 17.68 10.3101 17.29 10.7001L12.7 15.2901C12.31 15.6801 11.68 15.6801 11.29 15.2901L6.7 10.7001C6.31 10.3101 6.31 9.68006 6.7 9.29006C7.09 8.91006 7.73 8.90006 8.12 9.29006Z", fill: "inherit" }) }), Lr = () => {
785
785
  try {
786
786
  const t = require("react-router-dom");
787
787
  return t != null && t.Link ? t.Link : null;
@@ -806,25 +806,25 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
806
806
  submenu: i,
807
807
  collapsed: l,
808
808
  active: m,
809
- activePath: v,
810
- isOpen: f,
809
+ activePath: f,
810
+ isOpen: h,
811
811
  onToggle: u,
812
- onExpand: h,
812
+ onExpand: v,
813
813
  onSetActive: o,
814
- isMobile: g = !1
814
+ isMobile: p = !1
815
815
  }) => {
816
- const d = i && i.length > 0, b = d && i.some((p) => p.url === v), k = m || f && d || b || s === v, j = (p) => {
817
- if (p.preventDefault(), g && d) {
816
+ const d = i && i.length > 0, b = d && i.some((g) => g.url === f), k = m || h && d || b || s === f, j = (g) => {
817
+ if (g.preventDefault(), p && d) {
818
818
  u();
819
819
  return;
820
820
  }
821
- if (o && o(s), l && h) {
822
- h();
821
+ if (o && o(s), l && v) {
822
+ v();
823
823
  return;
824
824
  }
825
825
  d && !l && u();
826
826
  };
827
- return /* @__PURE__ */ r.jsx("div", { className: `sidebar-item ${f ? "open" : ""} `, children: /* @__PURE__ */ r.jsxs("div", { className: `sidebar-item-wrapper ${k && !l ? "active" : ""}`, children: [
827
+ return /* @__PURE__ */ r.jsx("div", { className: `sidebar-item ${h ? "open" : ""} `, children: /* @__PURE__ */ r.jsxs("div", { className: `sidebar-item-wrapper ${k && !l ? "active" : ""}`, children: [
828
828
  /* @__PURE__ */ r.jsxs(
829
829
  Ye,
830
830
  {
@@ -834,23 +834,23 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
834
834
  onClick: j,
835
835
  children: [
836
836
  /* @__PURE__ */ r.jsx("div", { className: `sidebar-icon ${k ? "active-text" : ""}`, children: t }),
837
- (!l || g) && /* @__PURE__ */ r.jsxs("div", { className: "sidebar-content", children: [
837
+ (!l || p) && /* @__PURE__ */ r.jsxs("div", { className: "sidebar-content", children: [
838
838
  /* @__PURE__ */ r.jsx("span", { className: "sidebar-label", children: n }),
839
839
  d && /* @__PURE__ */ r.jsx("span", { className: "submenu-arrow", children: /* @__PURE__ */ r.jsx(Tr, { className: `${k ? "active-text" : ""}` }) })
840
840
  ] })
841
841
  ]
842
842
  }
843
843
  ),
844
- d && (!l || g) && /* @__PURE__ */ r.jsx("div", { className: "submenu", children: i.map((p, S) => {
845
- const _ = p.url === v;
844
+ d && (!l || p) && /* @__PURE__ */ r.jsx("div", { className: "submenu", children: i.map((g, S) => {
845
+ const _ = g.url === f;
846
846
  return /* @__PURE__ */ r.jsx(
847
847
  Ye,
848
848
  {
849
- to: p.url,
850
- href: p.url,
849
+ to: g.url,
850
+ href: g.url,
851
851
  className: `submenu-item ${_ ? "active-text" : ""}`,
852
- onClick: () => o && o(p.url),
853
- children: /* @__PURE__ */ r.jsx("span", { className: "submenu-label", children: p.label })
852
+ onClick: () => o && o(g.url),
853
+ children: /* @__PURE__ */ r.jsx("span", { className: "submenu-label", children: g.label })
854
854
  },
855
855
  S
856
856
  );
@@ -917,14 +917,14 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
917
917
  logoutIcon: i,
918
918
  onLogout: l,
919
919
  logoutLabel: m = "Cerrar sesión",
920
- collapsed: v = !1,
921
- onToggle: f,
920
+ collapsed: f = !1,
921
+ onToggle: h,
922
922
  activePath: u,
923
- onActiveChange: h,
923
+ onActiveChange: v,
924
924
  className: o,
925
- ...g
925
+ ...p
926
926
  }, d) => {
927
- const [b, k] = U(v), [j, p] = U(null), [S, _] = U(u), [E, B] = U(!1), [H, W] = U(!1), [I, ee] = U(!1);
927
+ const [b, k] = U(f), [j, g] = U(null), [S, _] = U(u), [E, B] = U(!1), [G, W] = U(!1), [I, ee] = U(!1);
928
928
  Q(() => {
929
929
  const y = () => {
930
930
  ee(window.innerWidth <= 768);
@@ -938,47 +938,47 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
938
938
  _(u);
939
939
  const T = n.findIndex(
940
940
  (A) => {
941
- var V;
942
- return A.url === u || ((V = A.submenu) == null ? void 0 : V.some((Y) => Y.url === u));
941
+ var F;
942
+ return A.url === u || ((F = A.submenu) == null ? void 0 : F.some((Y) => Y.url === u));
943
943
  }
944
944
  );
945
- T !== -1 && ((y = n[T].submenu) != null && y.length ? p(T) : p(null));
945
+ T !== -1 && ((y = n[T].submenu) != null && y.length ? g(T) : g(null));
946
946
  }
947
947
  }, [u, n]);
948
948
  const K = () => {
949
- k(!b), f && f();
949
+ k(!b), h && h();
950
950
  }, re = () => {
951
951
  var y;
952
952
  if (b)
953
- if (k(!1), f && f(), S) {
953
+ if (k(!1), h && h(), S) {
954
954
  const T = n.findIndex(
955
955
  (A) => {
956
- var V;
957
- return A.url === S || ((V = A.submenu) == null ? void 0 : V.some((Y) => Y.url === S));
956
+ var F;
957
+ return A.url === S || ((F = A.submenu) == null ? void 0 : F.some((Y) => Y.url === S));
958
958
  }
959
959
  );
960
- T !== -1 && ((y = n[T].submenu) != null && y.length) ? p(T) : p(null);
960
+ T !== -1 && ((y = n[T].submenu) != null && y.length) ? g(T) : g(null);
961
961
  } else
962
- p(null);
962
+ g(null);
963
963
  }, te = (y) => {
964
- p(j === y ? null : y), I && B(!0);
964
+ g(j === y ? null : y), I && B(!0);
965
965
  }, M = (y) => {
966
966
  _(y);
967
967
  const T = n.findIndex(
968
968
  (A) => {
969
- var V;
970
- return A.url === y || ((V = A.submenu) == null ? void 0 : V.some((Y) => Y.url === y));
969
+ var F;
970
+ return A.url === y || ((F = A.submenu) == null ? void 0 : F.some((Y) => Y.url === y));
971
971
  }
972
972
  );
973
973
  if (T !== -1) {
974
974
  const A = n[T];
975
- A.submenu && A.submenu.length > 0 ? p(T) : p(null);
975
+ A.submenu && A.submenu.length > 0 ? g(T) : g(null);
976
976
  } else
977
- p(null);
978
- h && h(y), I && (n.some(
979
- (V) => {
977
+ g(null);
978
+ v && v(y), I && (n.some(
979
+ (F) => {
980
980
  var Y;
981
- return (Y = V.submenu) == null ? void 0 : Y.some((le) => le.url === y);
981
+ return (Y = F.submenu) == null ? void 0 : Y.some((le) => le.url === y);
982
982
  }
983
983
  ) || (W(!0), setTimeout(() => {
984
984
  B(!1), W(!1);
@@ -1011,7 +1011,7 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1011
1011
  children: /* @__PURE__ */ r.jsx(Ue, {})
1012
1012
  }
1013
1013
  ),
1014
- I && (E || H) && /* @__PURE__ */ r.jsx(
1014
+ I && (E || G) && /* @__PURE__ */ r.jsx(
1015
1015
  "div",
1016
1016
  {
1017
1017
  className: `sidebar-overlay ${E ? "visible" : ""}`,
@@ -1021,13 +1021,13 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1021
1021
  /* @__PURE__ */ r.jsxs(
1022
1022
  "div",
1023
1023
  {
1024
- className: `sidebar-wrapper ${E ? "mobile-open" : ""} ${H ? "mobile-closing" : ""} ${o || ""}`,
1024
+ className: `sidebar-wrapper ${E ? "mobile-open" : ""} ${G ? "mobile-closing" : ""} ${o || ""}`,
1025
1025
  ref: d,
1026
- ...g,
1026
+ ...p,
1027
1027
  children: [
1028
1028
  /* @__PURE__ */ r.jsxs("div", { className: `sidebar ${!I && b ? "sidebar-collapsed" : ""} ${I ? "sidebar-mobile" : ""}`, children: [
1029
1029
  !I && /* @__PURE__ */ r.jsx("div", { className: "sidebar-header", children: /* @__PURE__ */ r.jsx("div", { className: "sidebar-logo", children: b ? /* @__PURE__ */ r.jsx("span", { className: "logo-text", children: s }) : /* @__PURE__ */ r.jsx("span", { className: "logo-text", children: t }) }) }),
1030
- I && (E || H) && /* @__PURE__ */ r.jsxs("div", { className: "mobile-header", children: [
1030
+ I && (E || G) && /* @__PURE__ */ r.jsxs("div", { className: "mobile-header", children: [
1031
1031
  /* @__PURE__ */ r.jsx("div", { className: "mobile-logo-menu", children: t }),
1032
1032
  /* @__PURE__ */ r.jsx(
1033
1033
  "button",
@@ -1084,23 +1084,23 @@ const Mr = O(({
1084
1084
  children: i,
1085
1085
  position: l = "right",
1086
1086
  size: m = "medium",
1087
- enableSwipeToClose: v = !0,
1088
- className: f,
1087
+ enableSwipeToClose: f = !0,
1088
+ className: h,
1089
1089
  ...u
1090
- }, h) => {
1091
- const [o, g] = U(!1), d = q(null), b = q(0), k = q(0), j = 50, p = () => {
1092
- !o && t && (g(!0), setTimeout(() => {
1093
- g(!1), s();
1090
+ }, v) => {
1091
+ const [o, p] = U(!1), d = q(null), b = q(0), k = q(0), j = 50, g = () => {
1092
+ !o && t && (p(!0), setTimeout(() => {
1093
+ p(!1), s();
1094
1094
  }, 500));
1095
1095
  }, S = (E) => {
1096
- v && (b.current = E.touches[0].clientX, k.current = E.touches[0].clientY);
1096
+ f && (b.current = E.touches[0].clientX, k.current = E.touches[0].clientY);
1097
1097
  }, _ = (E) => {
1098
- if (!v || !E.changedTouches[0]) return;
1099
- const B = E.changedTouches[0].clientX, H = E.changedTouches[0].clientY, W = B - b.current, I = H - k.current;
1100
- (l === "right" && W > j || l === "left" && W < -j || l === "top" && I < -j || l === "bottom" && I > j) && p();
1098
+ if (!f || !E.changedTouches[0]) return;
1099
+ const B = E.changedTouches[0].clientX, G = E.changedTouches[0].clientY, W = B - b.current, I = G - k.current;
1100
+ (l === "right" && W > j || l === "left" && W < -j || l === "top" && I < -j || l === "bottom" && I > j) && g();
1101
1101
  };
1102
1102
  return Q(() => {
1103
- t && g(!1);
1103
+ t && p(!1);
1104
1104
  }, [t]), Q(() => (t && !o ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
1105
1105
  document.body.style.overflow = "";
1106
1106
  }), [t, o]), !t && !o ? null : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
@@ -1108,16 +1108,16 @@ const Mr = O(({
1108
1108
  "div",
1109
1109
  {
1110
1110
  className: `drawer-overlay ${o ? "fade-out" : "fade-in"}`,
1111
- onClick: p
1111
+ onClick: g
1112
1112
  }
1113
1113
  ),
1114
1114
  /* @__PURE__ */ r.jsxs(
1115
1115
  "div",
1116
1116
  {
1117
1117
  ref: (E) => {
1118
- d.current = E, typeof h == "function" ? h(E) : h && (h.current = E);
1118
+ d.current = E, typeof v == "function" ? v(E) : v && (v.current = E);
1119
1119
  },
1120
- className: `drawer drawer-${l} drawer-${m} ${o ? "drawer-closing" : "drawer-open"} ${f || ""}`,
1120
+ className: `drawer drawer-${l} drawer-${m} ${o ? "drawer-closing" : "drawer-open"} ${h || ""}`,
1121
1121
  onTouchStart: S,
1122
1122
  onTouchEnd: _,
1123
1123
  ...u,
@@ -1128,7 +1128,7 @@ const Mr = O(({
1128
1128
  "button",
1129
1129
  {
1130
1130
  className: "drawer-close",
1131
- onClick: p,
1131
+ onClick: g,
1132
1132
  "aria-label": "Cerrar",
1133
1133
  children: "✕"
1134
1134
  }
@@ -1141,7 +1141,7 @@ const Mr = O(({
1141
1141
  ] });
1142
1142
  });
1143
1143
  Mr.displayName = "Drawer";
1144
- const zr = G("modal-container", {
1144
+ const zr = H("modal-container", {
1145
1145
  variants: {
1146
1146
  size: {
1147
1147
  s: "modal-size-s",
@@ -1159,26 +1159,26 @@ const zr = G("modal-container", {
1159
1159
  onClose: i,
1160
1160
  size: l,
1161
1161
  className: m,
1162
- ...v
1163
- }, f) => {
1162
+ ...f
1163
+ }, h) => {
1164
1164
  const u = q(null);
1165
1165
  Q(() => {
1166
- const o = (g) => {
1167
- g.key === "Escape" && i();
1166
+ const o = (p) => {
1167
+ p.key === "Escape" && i();
1168
1168
  };
1169
1169
  return n && document.addEventListener("keydown", o), () => {
1170
1170
  document.removeEventListener("keydown", o);
1171
1171
  };
1172
1172
  }, [n, i]);
1173
- const h = (o) => {
1173
+ const v = (o) => {
1174
1174
  u.current && o.target === u.current && i();
1175
1175
  };
1176
- return n ? /* @__PURE__ */ r.jsx("div", { className: "modal-backdrop", ref: u, onClick: h, children: /* @__PURE__ */ r.jsxs(
1176
+ return n ? /* @__PURE__ */ r.jsx("div", { className: "modal-backdrop", ref: u, onClick: v, children: /* @__PURE__ */ r.jsxs(
1177
1177
  "div",
1178
1178
  {
1179
1179
  className: `${zr({ size: l })} ${m || ""}`,
1180
- ref: f,
1181
- ...v,
1180
+ ref: h,
1181
+ ...f,
1182
1182
  children: [
1183
1183
  /* @__PURE__ */ r.jsxs("div", { className: "modal-header", children: [
1184
1184
  /* @__PURE__ */ r.jsx("h2", { children: t }),
@@ -1198,13 +1198,13 @@ const Dr = O(({
1198
1198
  subtitle: i,
1199
1199
  children: l,
1200
1200
  className: m,
1201
- ...v
1202
- }, f) => /* @__PURE__ */ r.jsxs(
1201
+ ...f
1202
+ }, h) => /* @__PURE__ */ r.jsxs(
1203
1203
  "div",
1204
1204
  {
1205
1205
  className: `collapsible ${t ? "open" : ""} ${m || ""}`,
1206
- ref: f,
1207
- ...v,
1206
+ ref: h,
1207
+ ...f,
1208
1208
  children: [
1209
1209
  /* @__PURE__ */ r.jsxs("div", { className: "collapsible-header", onClick: s, children: [
1210
1210
  /* @__PURE__ */ r.jsxs("div", { className: "collapsible-header-content", children: [
@@ -1237,7 +1237,7 @@ const Dr = O(({
1237
1237
  }
1238
1238
  ));
1239
1239
  Dr.displayName = "Collapsible";
1240
- const Fr = O(
1240
+ const Vr = O(
1241
1241
  ({ children: t, className: s, ...n }, i) => /* @__PURE__ */ r.jsx(
1242
1242
  "div",
1243
1243
  {
@@ -1248,8 +1248,8 @@ const Fr = O(
1248
1248
  }
1249
1249
  )
1250
1250
  );
1251
- Fr.displayName = "Card";
1252
- const Vr = G("tab-base", {
1251
+ Vr.displayName = "Card";
1252
+ const Fr = H("tab-base", {
1253
1253
  variants: {
1254
1254
  size: {
1255
1255
  xs: "tab-size-xs",
@@ -1288,27 +1288,27 @@ const Vr = G("tab-base", {
1288
1288
  outline: i,
1289
1289
  iconAlignment: l,
1290
1290
  children: m,
1291
- icon: v,
1292
- active: f = !1,
1291
+ icon: f,
1292
+ active: h = !1,
1293
1293
  disabled: u = !1,
1294
- ...h
1294
+ ...v
1295
1295
  }, o) => {
1296
- const g = u ? "disabled" : f ? "active" : n || "default", d = v ? l || "left" : "none";
1296
+ const p = u ? "disabled" : h ? "active" : n || "default", d = f ? l || "left" : "none";
1297
1297
  return /* @__PURE__ */ r.jsxs(
1298
1298
  "button",
1299
1299
  {
1300
- className: Vr({
1300
+ className: Fr({
1301
1301
  size: s,
1302
- state: g,
1302
+ state: p,
1303
1303
  outline: i,
1304
1304
  iconAlignment: d,
1305
1305
  className: t
1306
1306
  }),
1307
1307
  ref: o,
1308
1308
  disabled: u,
1309
- ...h,
1309
+ ...v,
1310
1310
  children: [
1311
- v && d === "left" && /* @__PURE__ */ r.jsx("span", { className: "tab-icon", children: v }),
1311
+ f && d === "left" && /* @__PURE__ */ r.jsx("span", { className: "tab-icon", children: f }),
1312
1312
  /* @__PURE__ */ r.jsx("span", { className: "tab-content", children: m })
1313
1313
  ]
1314
1314
  }
@@ -1323,12 +1323,12 @@ const Wr = O(({
1323
1323
  onTabChange: i,
1324
1324
  className: l = "",
1325
1325
  variant: m = "default",
1326
- size: v = "md",
1327
- outline: f = !1,
1326
+ size: f = "md",
1327
+ outline: h = !1,
1328
1328
  ...u
1329
- }, h) => {
1330
- const [o, g] = U(s), d = n !== void 0 ? n : o, b = (j) => {
1331
- n === void 0 && g(j), i == null || i(j);
1329
+ }, v) => {
1330
+ const [o, p] = U(s), d = n !== void 0 ? n : o, b = (j) => {
1331
+ n === void 0 && p(j), i == null || i(j);
1332
1332
  }, k = [
1333
1333
  "tab-group",
1334
1334
  `tab-group-${m}`,
@@ -1339,30 +1339,30 @@ const Wr = O(({
1339
1339
  {
1340
1340
  className: k,
1341
1341
  role: "tablist",
1342
- ref: h,
1342
+ ref: v,
1343
1343
  ...u,
1344
- children: Nr.map(t, (j, p) => Cr(j) ? _r(j, {
1344
+ children: Nr.map(t, (j, g) => Cr(j) ? _r(j, {
1345
1345
  ...j.props,
1346
- active: p === d,
1347
- size: j.props.size || v,
1348
- outline: j.props.outline !== void 0 ? j.props.outline : f,
1346
+ active: g === d,
1347
+ size: j.props.size || f,
1348
+ outline: j.props.outline !== void 0 ? j.props.outline : h,
1349
1349
  onClick: (S) => {
1350
1350
  var _, E;
1351
- j.props.disabled || (b(p), (E = (_ = j.props).onClick) == null || E.call(_, S));
1351
+ j.props.disabled || (b(g), (E = (_ = j.props).onClick) == null || E.call(_, S));
1352
1352
  },
1353
1353
  role: "tab",
1354
- "aria-selected": p === d,
1355
- "aria-controls": `tabpanel-${p}`,
1356
- id: `tab-${p}`,
1357
- tabIndex: p === d ? 0 : -1
1354
+ "aria-selected": g === d,
1355
+ "aria-controls": `tabpanel-${g}`,
1356
+ id: `tab-${g}`,
1357
+ tabIndex: g === d ? 0 : -1
1358
1358
  }) : j)
1359
1359
  }
1360
1360
  );
1361
1361
  });
1362
1362
  Wr.displayName = "TabGroup";
1363
1363
  const Pr = O(({ buttonsData: t, size: s = "sm", className: n, activeIndex: i, ...l }, m) => {
1364
- const [v, f] = U(i), u = (h, o) => {
1365
- h.onClick(), f(o);
1364
+ const [f, h] = U(i), u = (v, o) => {
1365
+ v.onClick(), h(o);
1366
1366
  };
1367
1367
  return /* @__PURE__ */ r.jsx(
1368
1368
  "div",
@@ -1370,12 +1370,12 @@ const Pr = O(({ buttonsData: t, size: s = "sm", className: n, activeIndex: i, ..
1370
1370
  className: `toggle-button-container ${n || ""}`,
1371
1371
  ref: m,
1372
1372
  ...l,
1373
- children: t.map((h, o) => /* @__PURE__ */ r.jsx(
1373
+ children: t.map((v, o) => /* @__PURE__ */ r.jsx(
1374
1374
  "div",
1375
1375
  {
1376
- className: `toggle-button-inner ${v === o ? "active" : ""} ${s}`,
1377
- onClick: () => u(h, o),
1378
- children: /* @__PURE__ */ r.jsx("span", { children: h.label })
1376
+ className: `toggle-button-inner ${f === o ? "active" : ""} ${s}`,
1377
+ onClick: () => u(v, o),
1378
+ children: /* @__PURE__ */ r.jsx("span", { children: v.label })
1379
1379
  },
1380
1380
  o
1381
1381
  ))
@@ -1568,7 +1568,7 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1568
1568
  /* @__PURE__ */ r.jsx("rect", { x: "17", y: "17", width: "4", height: "4", rx: "0.5", fill: n })
1569
1569
  ]
1570
1570
  }
1571
- ), Xr = G("input", {
1571
+ ), Xr = H("input", {
1572
1572
  variants: {
1573
1573
  size: {
1574
1574
  sm: "input-size-sm",
@@ -1602,12 +1602,12 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1602
1602
  leadingIcon: i,
1603
1603
  trailingIcon: l,
1604
1604
  hintText: m,
1605
- onClear: v,
1606
- placeholder: f = "Placeholder",
1605
+ onClear: f,
1606
+ placeholder: h = "Placeholder",
1607
1607
  value: u,
1608
- onChange: h,
1608
+ onChange: v,
1609
1609
  ...o
1610
- }, g) => {
1610
+ }, p) => {
1611
1611
  const d = !!i, b = !!l, k = u && u.toString().length > 0;
1612
1612
  let j = n;
1613
1613
  return n === "default" && k && (j = "filled"), /* @__PURE__ */ r.jsxs("div", { className: "input-container", children: [
@@ -1623,19 +1623,19 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1623
1623
  hasTrailingIcon: b,
1624
1624
  className: t
1625
1625
  }),
1626
- placeholder: f,
1626
+ placeholder: h,
1627
1627
  value: u,
1628
- ref: g,
1628
+ ref: p,
1629
1629
  ...o
1630
1630
  }
1631
1631
  ),
1632
1632
  b && /* @__PURE__ */ r.jsx("span", { className: "input-trailing-icon", children: l }),
1633
- v && u && u.toString().length > 0 && /* @__PURE__ */ r.jsx(
1633
+ f && u && u.toString().length > 0 && /* @__PURE__ */ r.jsx(
1634
1634
  "button",
1635
1635
  {
1636
1636
  type: "button",
1637
1637
  className: "input-clear-button",
1638
- onClick: v,
1638
+ onClick: f,
1639
1639
  "aria-label": "Clear input",
1640
1640
  children: /* @__PURE__ */ r.jsx(Je, {})
1641
1641
  }
@@ -1646,7 +1646,7 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1646
1646
  }
1647
1647
  );
1648
1648
  Zr.displayName = "Input";
1649
- const qr = G("alert", {
1649
+ const qr = H("alert", {
1650
1650
  variants: {
1651
1651
  variant: {
1652
1652
  info: "alert-info",
@@ -1666,10 +1666,10 @@ const qr = G("alert", {
1666
1666
  description: i,
1667
1667
  children: l,
1668
1668
  onDismiss: m,
1669
- icon: v,
1670
- ...f
1669
+ icon: f,
1670
+ ...h
1671
1671
  }, u) => {
1672
- const h = {
1672
+ const v = {
1673
1673
  info: /* @__PURE__ */ r.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1674
1674
  /* @__PURE__ */ r.jsx("circle", { cx: "10", cy: "10", r: "9", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1675
1675
  /* @__PURE__ */ r.jsx("path", { d: "M10 6v4m0 4h.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
@@ -1686,13 +1686,13 @@ const qr = G("alert", {
1686
1686
  /* @__PURE__ */ r.jsx("circle", { cx: "10", cy: "10", r: "9", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1687
1687
  /* @__PURE__ */ r.jsx("path", { d: "M10 6v4m0 4h.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
1688
1688
  ] })
1689
- }, o = v || (s ? h[s] : h.info);
1689
+ }, o = f || (s ? v[s] : v.info);
1690
1690
  return /* @__PURE__ */ r.jsxs(
1691
1691
  "div",
1692
1692
  {
1693
1693
  className: qr({ variant: s, className: t }),
1694
1694
  ref: u,
1695
- ...f,
1695
+ ...h,
1696
1696
  children: [
1697
1697
  /* @__PURE__ */ r.jsx("div", { className: "alert-icon", children: o }),
1698
1698
  /* @__PURE__ */ r.jsxs("div", { className: "alert-content", children: [
@@ -1715,7 +1715,7 @@ const qr = G("alert", {
1715
1715
  }
1716
1716
  );
1717
1717
  Qr.displayName = "Alert";
1718
- const et = G("social-login", {
1718
+ const et = H("social-login", {
1719
1719
  variants: {
1720
1720
  variant: {
1721
1721
  filled: "social-login-filled",
@@ -1768,13 +1768,13 @@ const et = G("social-login", {
1768
1768
  state: i,
1769
1769
  pill: l,
1770
1770
  iconAlignment: m,
1771
- provider: v,
1772
- children: f,
1771
+ provider: f,
1772
+ children: h,
1773
1773
  disabled: u,
1774
- onClick: h,
1774
+ onClick: v,
1775
1775
  ...o
1776
- }, g) => {
1777
- const d = tt[v], b = f || rt[v], k = u ? "disabled" : i, p = {
1776
+ }, p) => {
1777
+ const d = tt[f], b = h || rt[f], k = u ? "disabled" : i, g = {
1778
1778
  xs: 16,
1779
1779
  sm: 18,
1780
1780
  md: 20,
@@ -1790,15 +1790,15 @@ const et = G("social-login", {
1790
1790
  state: k,
1791
1791
  pill: l,
1792
1792
  iconAlignment: m,
1793
- provider: v,
1793
+ provider: f,
1794
1794
  className: t
1795
1795
  }),
1796
1796
  disabled: u,
1797
- onClick: h,
1798
- ref: g,
1797
+ onClick: v,
1798
+ ref: p,
1799
1799
  ...o,
1800
1800
  children: [
1801
- /* @__PURE__ */ r.jsx("span", { className: "social-login-icon", children: /* @__PURE__ */ r.jsx(d, { size: p }) }),
1801
+ /* @__PURE__ */ r.jsx("span", { className: "social-login-icon", children: /* @__PURE__ */ r.jsx(d, { size: g }) }),
1802
1802
  /* @__PURE__ */ r.jsx("span", { className: "social-login-text", children: b })
1803
1803
  ]
1804
1804
  }
@@ -1806,7 +1806,7 @@ const et = G("social-login", {
1806
1806
  }
1807
1807
  );
1808
1808
  nt.displayName = "SocialLogin";
1809
- const at = G("progress-bar", {
1809
+ const at = H("progress-bar", {
1810
1810
  variants: {
1811
1811
  variant: {
1812
1812
  default: "progress-bar-default",
@@ -1834,7 +1834,7 @@ const at = G("progress-bar", {
1834
1834
  size: "md",
1835
1835
  color: "primary"
1836
1836
  }
1837
- }), dt = O(
1837
+ }), ht = O(
1838
1838
  ({
1839
1839
  className: t,
1840
1840
  variant: s,
@@ -1842,16 +1842,16 @@ const at = G("progress-bar", {
1842
1842
  color: i,
1843
1843
  animated: l,
1844
1844
  amount: m,
1845
- total: v,
1846
- showPercentage: f = !1,
1845
+ total: f,
1846
+ showPercentage: h = !1,
1847
1847
  label: u,
1848
- height: h,
1848
+ height: v,
1849
1849
  style: o,
1850
- ...g
1850
+ ...p
1851
1851
  }, d) => {
1852
- const b = Math.min(Math.max(m / v * 100, 0), 100), k = {
1852
+ const b = Math.min(Math.max(m / f * 100, 0), 100), k = {
1853
1853
  ...o || {},
1854
- ...h ? { height: h } : {}
1854
+ ...v ? { height: v } : {}
1855
1855
  }, j = {
1856
1856
  width: `${b}%`
1857
1857
  };
@@ -1870,9 +1870,9 @@ const at = G("progress-bar", {
1870
1870
  role: "progressbar",
1871
1871
  "aria-valuenow": m,
1872
1872
  "aria-valuemin": 0,
1873
- "aria-valuemax": v,
1874
- "aria-label": u || `Progreso: ${m} de ${v}`,
1875
- ...g,
1873
+ "aria-valuemax": f,
1874
+ "aria-label": u || `Progreso: ${m} de ${f}`,
1875
+ ...p,
1876
1876
  children: [
1877
1877
  /* @__PURE__ */ r.jsx("div", { className: "progress-bar-track", children: /* @__PURE__ */ r.jsx(
1878
1878
  "div",
@@ -1881,21 +1881,21 @@ const at = G("progress-bar", {
1881
1881
  style: j
1882
1882
  }
1883
1883
  ) }),
1884
- (f || u) && /* @__PURE__ */ r.jsx("div", { className: "progress-bar-text", children: u || `${Math.round(b)}%` })
1884
+ (h || u) && /* @__PURE__ */ r.jsx("div", { className: "progress-bar-text", children: u || `${Math.round(b)}%` })
1885
1885
  ]
1886
1886
  }
1887
1887
  );
1888
1888
  }
1889
1889
  ), st = (t, s) => `/logos/${`${t}_${s}.png`}`, Ke = O(
1890
1890
  ({ type: t = "logo", color: s = "color", alt: n, className: i, ...l }, m) => {
1891
- const v = st(t, s), f = n || (t === "logo" ? "Levannta logo" : "Levannta isologo");
1891
+ const f = st(t, s), h = n || (t === "logo" ? "Levannta logo" : "Levannta isologo");
1892
1892
  return /* @__PURE__ */ r.jsx(
1893
1893
  "img",
1894
1894
  {
1895
1895
  ref: m,
1896
1896
  className: ["logo", i].filter(Boolean).join(" "),
1897
- src: v,
1898
- alt: f,
1897
+ src: f,
1898
+ alt: h,
1899
1899
  ...l
1900
1900
  }
1901
1901
  );
@@ -1909,9 +1909,9 @@ const it = O(({
1909
1909
  showLogo: i = !0,
1910
1910
  logoProps: l,
1911
1911
  ...m
1912
- }, v) => {
1913
- const f = ["header", n].filter(Boolean).join(" ");
1914
- return /* @__PURE__ */ r.jsx("header", { className: f, ref: v, ...m, children: /* @__PURE__ */ r.jsxs("div", { className: "header-content-wrapper", children: [
1912
+ }, f) => {
1913
+ const h = ["header", n].filter(Boolean).join(" ");
1914
+ return /* @__PURE__ */ r.jsx("header", { className: h, ref: f, ...m, children: /* @__PURE__ */ r.jsxs("div", { className: "header-content-wrapper", children: [
1915
1915
  /* @__PURE__ */ r.jsx("h1", { className: "header-title", children: t }),
1916
1916
  i && /* @__PURE__ */ r.jsx(
1917
1917
  Ke,
@@ -1928,7 +1928,7 @@ const it = O(({
1928
1928
  ] }) });
1929
1929
  });
1930
1930
  it.displayName = "Header";
1931
- const lt = G("pagination", {
1931
+ const lt = H("pagination", {
1932
1932
  variants: {
1933
1933
  size: {
1934
1934
  xs: "pagination-size-xs",
@@ -1948,38 +1948,38 @@ const lt = G("pagination", {
1948
1948
  totalPages: i,
1949
1949
  itemsPerPage: l,
1950
1950
  totalItems: m,
1951
- itemsPerPageOptions: v = [10, 20, 50, 100],
1952
- onPageChange: f,
1951
+ itemsPerPageOptions: f = [10, 20, 50, 100],
1952
+ onPageChange: h,
1953
1953
  onItemsPerPageChange: u,
1954
- resultsLabel: h = "Resultados",
1954
+ resultsLabel: v = "Resultados",
1955
1955
  ofLabel: o = "de",
1956
- pageLabel: g = "Página",
1956
+ pageLabel: p = "Página",
1957
1957
  prevDisabled: d,
1958
1958
  nextDisabled: b,
1959
1959
  ...k
1960
1960
  }, j) => {
1961
- const [p, S] = U(!1), _ = q(null), E = d ?? n <= 1, B = b ?? n >= i, W = {
1961
+ const [g, S] = U(!1), _ = q(null), E = d ?? n <= 1, B = b ?? n >= i, W = {
1962
1962
  xs: 20,
1963
1963
  sm: 20,
1964
1964
  md: 22,
1965
1965
  lg: 24
1966
1966
  }[s || "md"], I = s === "lg" || s === "md" ? 28 : 24, ee = () => {
1967
- !E && f && f(n - 1);
1967
+ !E && h && h(n - 1);
1968
1968
  }, K = () => {
1969
- !B && f && f(n + 1);
1969
+ !B && h && h(n + 1);
1970
1970
  }, re = (M) => {
1971
1971
  u && u(M), S(!1);
1972
1972
  }, te = () => {
1973
- S(!p);
1973
+ S(!g);
1974
1974
  };
1975
1975
  return Q(() => {
1976
1976
  const M = (z) => {
1977
1977
  _.current && !_.current.contains(z.target) && S(!1);
1978
1978
  };
1979
- return p && document.addEventListener("mousedown", M), () => {
1979
+ return g && document.addEventListener("mousedown", M), () => {
1980
1980
  document.removeEventListener("mousedown", M);
1981
1981
  };
1982
- }, [p]), /* @__PURE__ */ r.jsxs(
1982
+ }, [g]), /* @__PURE__ */ r.jsxs(
1983
1983
  "div",
1984
1984
  {
1985
1985
  className: lt({
@@ -1990,7 +1990,7 @@ const lt = G("pagination", {
1990
1990
  ...k,
1991
1991
  children: [
1992
1992
  /* @__PURE__ */ r.jsxs("div", { className: "pagination-results-section", children: [
1993
- /* @__PURE__ */ r.jsx("div", { className: "pagination-results", children: /* @__PURE__ */ r.jsx("span", { className: "pagination-results-text", children: h }) }),
1993
+ /* @__PURE__ */ r.jsx("div", { className: "pagination-results", children: /* @__PURE__ */ r.jsx("span", { className: "pagination-results-text", children: v }) }),
1994
1994
  /* @__PURE__ */ r.jsx("div", { className: "pagination-items-selector", ref: _, children: /* @__PURE__ */ r.jsxs("div", { className: "pagination-items-dropdown", children: [
1995
1995
  /* @__PURE__ */ r.jsxs(
1996
1996
  "button",
@@ -1998,7 +1998,7 @@ const lt = G("pagination", {
1998
1998
  className: "pagination-items-display",
1999
1999
  onClick: te,
2000
2000
  type: "button",
2001
- "aria-expanded": p,
2001
+ "aria-expanded": g,
2002
2002
  "aria-haspopup": "listbox",
2003
2003
  children: [
2004
2004
  /* @__PURE__ */ r.jsx("span", { className: "pagination-items-text", children: l }),
@@ -2006,13 +2006,13 @@ const lt = G("pagination", {
2006
2006
  Jr,
2007
2007
  {
2008
2008
  size: I,
2009
- className: `pagination-chevron-down ${p ? "open" : ""}`
2009
+ className: `pagination-chevron-down ${g ? "open" : ""}`
2010
2010
  }
2011
2011
  )
2012
2012
  ]
2013
2013
  }
2014
2014
  ),
2015
- p && /* @__PURE__ */ r.jsx("div", { className: "pagination-dropdown-menu", role: "listbox", children: v.map((M) => /* @__PURE__ */ r.jsx(
2015
+ g && /* @__PURE__ */ r.jsx("div", { className: "pagination-dropdown-menu", role: "listbox", children: f.map((M) => /* @__PURE__ */ r.jsx(
2016
2016
  "button",
2017
2017
  {
2018
2018
  className: `pagination-dropdown-item ${M === l ? "selected" : ""}`,
@@ -2044,7 +2044,7 @@ const lt = G("pagination", {
2044
2044
  }
2045
2045
  ),
2046
2046
  /* @__PURE__ */ r.jsx("div", { className: "pagination-page-info", children: /* @__PURE__ */ r.jsxs("span", { className: "pagination-page-text", children: [
2047
- g,
2047
+ p,
2048
2048
  " ",
2049
2049
  n,
2050
2050
  " ",
@@ -2070,34 +2070,34 @@ const lt = G("pagination", {
2070
2070
  }
2071
2071
  );
2072
2072
  ot.displayName = "Pagination";
2073
- const ft = ({
2073
+ const mt = ({
2074
2074
  icon: t,
2075
2075
  title: s,
2076
2076
  options: n = [],
2077
2077
  onChange: i,
2078
2078
  className: l = ""
2079
2079
  }) => {
2080
- const [m, v] = U(!1), f = q(null);
2080
+ const [m, f] = U(!1), h = q(null);
2081
2081
  Q(() => {
2082
2082
  const d = (b) => {
2083
- f.current && !f.current.contains(b.target) && v(!1);
2083
+ h.current && !h.current.contains(b.target) && f(!1);
2084
2084
  };
2085
2085
  return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
2086
2086
  }, []);
2087
2087
  const u = () => {
2088
- v(!m);
2089
- }, h = (d) => {
2088
+ f(!m);
2089
+ }, v = (d) => {
2090
2090
  var b;
2091
- d.disabled || (v(!1), i == null || i(d), (b = d.onSelect) == null || b.call(d));
2092
- }, o = s, g = t || /* @__PURE__ */ r.jsx(Kr, { size: 20, color: "#00D4AA" });
2093
- return /* @__PURE__ */ r.jsxs("div", { className: `selector-container ${l}`, ref: f, children: [
2091
+ d.disabled || (f(!1), i == null || i(d), (b = d.onSelect) == null || b.call(d));
2092
+ }, o = s, p = t || /* @__PURE__ */ r.jsx(Kr, { size: 20, color: "#00D4AA" });
2093
+ return /* @__PURE__ */ r.jsxs("div", { className: `selector-container ${l}`, ref: h, children: [
2094
2094
  /* @__PURE__ */ r.jsxs(
2095
2095
  "div",
2096
2096
  {
2097
2097
  className: `selector ${m ? "selector--open" : ""}`,
2098
2098
  onClick: u,
2099
2099
  children: [
2100
- /* @__PURE__ */ r.jsx("div", { className: "selector__icon", children: g }),
2100
+ /* @__PURE__ */ r.jsx("div", { className: "selector__icon", children: p }),
2101
2101
  /* @__PURE__ */ r.jsx("div", { className: "selector__title", children: o }),
2102
2102
  /* @__PURE__ */ r.jsx("div", { className: "selector__chevron", children: /* @__PURE__ */ r.jsx(
2103
2103
  "svg",
@@ -2127,7 +2127,7 @@ const ft = ({
2127
2127
  "div",
2128
2128
  {
2129
2129
  className: `selector__option ${d.active ? "selector__option--selected" : ""} ${d.disabled ? "selector__option--disabled" : ""}`,
2130
- onClick: () => h(d),
2130
+ onClick: () => v(d),
2131
2131
  children: [
2132
2132
  d.icon && /* @__PURE__ */ r.jsx("div", { className: "selector__option-icon", children: d.icon }),
2133
2133
  /* @__PURE__ */ r.jsxs("div", { className: "selector__option-content", children: [
@@ -2146,15 +2146,15 @@ const ft = ({
2146
2146
  buttonVariant: i = "filled",
2147
2147
  onClick: l,
2148
2148
  image: m = "src/assets/images/default_card_wallpaper.png",
2149
- icon: v,
2150
- disabled: f = !1,
2149
+ icon: f,
2150
+ disabled: h = !1,
2151
2151
  className: u = "",
2152
- size: h = "md",
2152
+ size: v = "md",
2153
2153
  ...o
2154
- }, g) => /* @__PURE__ */ r.jsxs(
2154
+ }, p) => /* @__PURE__ */ r.jsxs(
2155
2155
  "div",
2156
2156
  {
2157
- className: `cardcta-container cardcta-size-${h} ${u}`,
2157
+ className: `cardcta-container cardcta-size-${v} ${u}`,
2158
2158
  style: {
2159
2159
  backgroundImage: `url('${m}')`,
2160
2160
  backgroundSize: "cover",
@@ -2162,25 +2162,62 @@ const ft = ({
2162
2162
  position: "relative",
2163
2163
  overflow: "hidden"
2164
2164
  },
2165
- ref: g,
2165
+ ref: p,
2166
2166
  ...o,
2167
2167
  children: [
2168
2168
  /* @__PURE__ */ r.jsx("div", { className: "cardcta-gradient-overlay" }),
2169
- f && /* @__PURE__ */ r.jsx("div", { className: "cardcta-bg-disabled" }),
2169
+ h && /* @__PURE__ */ r.jsx("div", { className: "cardcta-bg-disabled" }),
2170
2170
  /* @__PURE__ */ r.jsxs("div", { className: "cardcta-overlay", children: [
2171
- /* @__PURE__ */ r.jsx("div", { className: "cardcta-icon", children: v }),
2171
+ /* @__PURE__ */ r.jsx("div", { className: "cardcta-icon", children: f }),
2172
2172
  /* @__PURE__ */ r.jsx("h3", { className: "cardcta-title", children: t }),
2173
2173
  s && /* @__PURE__ */ r.jsx("p", { className: "cardcta-subtitle", children: s }),
2174
- /* @__PURE__ */ r.jsx(Ge, { onClick: l, size: "sm", disabled: f, variant: i, children: f ? /* @__PURE__ */ r.jsx("span", { children: "Próximamente" }) : n })
2174
+ /* @__PURE__ */ r.jsx(Ge, { onClick: l, size: "sm", disabled: h, variant: i, children: h ? /* @__PURE__ */ r.jsx("span", { children: "Próximamente" }) : n })
2175
2175
  ] })
2176
2176
  ]
2177
2177
  }
2178
2178
  ));
2179
2179
  ct.displayName = "CardCTA";
2180
+ const ut = H("tag", {
2181
+ variants: {
2182
+ color: {
2183
+ success: "tag-color-success",
2184
+ warning: "tag-color-warning",
2185
+ error: "tag-color-error",
2186
+ neutral: "tag-color-neutral"
2187
+ }
2188
+ },
2189
+ defaultVariants: {
2190
+ color: "neutral"
2191
+ }
2192
+ }), dt = O(
2193
+ ({
2194
+ className: t,
2195
+ color: s,
2196
+ children: n,
2197
+ icon: i,
2198
+ onClick: l,
2199
+ ...m
2200
+ }, f) => /* @__PURE__ */ r.jsxs(
2201
+ "span",
2202
+ {
2203
+ className: ut({
2204
+ color: s,
2205
+ className: t
2206
+ }),
2207
+ ref: f,
2208
+ ...m,
2209
+ children: [
2210
+ i && /* @__PURE__ */ r.jsx("span", { className: "tag-icon", children: i }),
2211
+ /* @__PURE__ */ r.jsx("span", { className: "tag-content", children: n })
2212
+ ]
2213
+ }
2214
+ )
2215
+ );
2216
+ dt.displayName = "Tag";
2180
2217
  export {
2181
2218
  Qr as Alert,
2182
2219
  Ge as Button,
2183
- Fr as Card,
2220
+ Vr as Card,
2184
2221
  ct as CardCTA,
2185
2222
  Dr as Collapsible,
2186
2223
  Mr as Drawer,
@@ -2189,16 +2226,18 @@ export {
2189
2226
  Ke as Logo,
2190
2227
  Ar as Modal,
2191
2228
  ot as Pagination,
2192
- dt as ProgressBar,
2193
- ft as Selector,
2229
+ ht as ProgressBar,
2230
+ mt as Selector,
2194
2231
  Or as Sidebar,
2195
2232
  nt as SocialLogin,
2196
2233
  Br as Tab,
2197
2234
  Wr as TabGroup,
2235
+ dt as Tag,
2198
2236
  Pr as ToggleButton,
2199
2237
  qr as alertVariants,
2200
2238
  Sr as buttonVariants,
2201
2239
  Xr as inputVariants,
2202
- Vr as tabVariants
2240
+ Fr as tabVariants,
2241
+ ut as tagVariants
2203
2242
  };
2204
2243
  //# sourceMappingURL=index.esm.js.map