levannta-ui 1.0.54-react18 → 1.0.55-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
@@ -13,11 +13,11 @@ var Fe;
13
13
  function kr() {
14
14
  if (Fe) return ae;
15
15
  Fe = 1;
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 f(h, u, v) {
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, v = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function f(h, u, m) {
18
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]);
19
+ m !== void 0 && (d = "" + m), u.key !== void 0 && (d = "" + u.key), u.ref !== void 0 && (b = u.ref);
20
+ for (o in u) i.call(u, o) && !v.hasOwnProperty(o) && (p[o] = u[o]);
21
21
  if (h && h.defaultProps) for (o in u = h.defaultProps, u) p[o] === void 0 && (p[o] = u[o]);
22
22
  return { $$typeof: s, type: h, key: d, ref: b, props: p, _owner: l.current };
23
23
  }
@@ -36,7 +36,7 @@ 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"), 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";
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"), v = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), h = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), m = 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
40
  function g(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
@@ -64,7 +64,7 @@ function Er() {
64
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 === 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
67
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === v || ee || e === l || e === m || 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.
@@ -92,11 +92,11 @@ function Er() {
92
92
  return "Fragment";
93
93
  case n:
94
94
  return "Portal";
95
- case m:
95
+ case v:
96
96
  return "Profiler";
97
97
  case l:
98
98
  return "StrictMode";
99
- case v:
99
+ case m:
100
100
  return "Suspense";
101
101
  case o:
102
102
  return "SuspenseList";
@@ -292,7 +292,7 @@ function Er() {
292
292
  if (typeof e == "string")
293
293
  return oe(e);
294
294
  switch (e) {
295
- case v:
295
+ case m:
296
296
  return oe("Suspense");
297
297
  case o:
298
298
  return oe("SuspenseList");
@@ -641,30 +641,30 @@ function Rr() {
641
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, f = Object.keys(l).map((v) => {
645
- const o = n == null ? void 0 : n[v], p = m == null ? void 0 : m[v];
644
+ const { variants: l, defaultVariants: v } = s, f = Object.keys(l).map((m) => {
645
+ const o = n == null ? void 0 : n[m], p = v == null ? void 0 : v[m];
646
646
  if (o === null) return null;
647
647
  const d = We(o) || We(p);
648
- return l[v][d];
649
- }), h = n && Object.entries(n).reduce((v, o) => {
648
+ return l[m][d];
649
+ }), h = n && Object.entries(n).reduce((m, o) => {
650
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) => {
651
+ return d === void 0 || (m[p] = d), m;
652
+ }, {}), u = s == null || (i = s.compoundVariants) === null || i === void 0 ? void 0 : i.reduce((m, o) => {
653
653
  let { class: p, className: d, ...b } = o;
654
654
  return Object.entries(b).every((k) => {
655
655
  let [j, g] = k;
656
656
  return Array.isArray(g) ? g.includes({
657
- ...m,
657
+ ...v,
658
658
  ...h
659
659
  }[j]) : {
660
- ...m,
660
+ ...v,
661
661
  ...h
662
662
  }[j] === g;
663
663
  }) ? [
664
- ...v,
664
+ ...m,
665
665
  p,
666
666
  d
667
- ] : v;
667
+ ] : m;
668
668
  }, []);
669
669
  return Pe(t, f, u, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
670
670
  }, Sr = H("button", {
@@ -735,11 +735,11 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, H
735
735
  color: n,
736
736
  size: i,
737
737
  pill: l,
738
- active: m,
738
+ active: v,
739
739
  iconLeft: f,
740
740
  iconRight: h,
741
741
  iconLeftJustified: u,
742
- iconRightJustified: v,
742
+ iconRightJustified: m,
743
743
  iconOnly: o,
744
744
  width: p,
745
745
  children: d,
@@ -758,11 +758,11 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, H
758
758
  color: n,
759
759
  size: i,
760
760
  pill: l,
761
- active: m,
761
+ active: v,
762
762
  iconLeft: !!f,
763
763
  iconRight: !!h,
764
764
  iconLeftJustified: !!u,
765
- iconRightJustified: !!v,
765
+ iconRightJustified: !!m,
766
766
  iconOnly: !!o,
767
767
  className: t
768
768
  }),
@@ -774,7 +774,7 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, H
774
774
  u && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: u }),
775
775
  o ? /* @__PURE__ */ r.jsx("span", { children: o }) : d,
776
776
  h && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: h }),
777
- v && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: v })
777
+ m && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: m })
778
778
  ]
779
779
  }
780
780
  );
@@ -789,9 +789,9 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
789
789
  return null;
790
790
  }
791
791
  }, Ye = ({ to: t, href: s, className: n, onClick: i, children: l }) => {
792
- const m = Lr();
793
- return m ? ie.createElement(
794
- m,
792
+ const v = Lr();
793
+ return v ? ie.createElement(
794
+ v,
795
795
  { to: t, className: n, onClick: i },
796
796
  l
797
797
  ) : ie.createElement(
@@ -805,21 +805,21 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
805
805
  label: n,
806
806
  submenu: i,
807
807
  collapsed: l,
808
- active: m,
808
+ active: v,
809
809
  activePath: f,
810
810
  isOpen: h,
811
811
  onToggle: u,
812
- onExpand: v,
812
+ onExpand: m,
813
813
  onSetActive: o,
814
814
  isMobile: p = !1
815
815
  }) => {
816
- const d = i && i.length > 0, b = d && i.some((g) => g.url === f), k = m || h && d || b || s === f, j = (g) => {
816
+ const d = i && i.length > 0, b = d && i.some((g) => g.url === f), k = v || h && d || b || s === f, j = (g) => {
817
817
  if (g.preventDefault(), p && d) {
818
818
  u();
819
819
  return;
820
820
  }
821
- if (o && o(s), l && v) {
822
- v();
821
+ if (o && o(s), l && m) {
822
+ m();
823
823
  return;
824
824
  }
825
825
  d && !l && u();
@@ -916,11 +916,11 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
916
916
  items: n,
917
917
  logoutIcon: i,
918
918
  onLogout: l,
919
- logoutLabel: m = "Cerrar sesión",
919
+ logoutLabel: v = "Cerrar sesión",
920
920
  collapsed: f = !1,
921
921
  onToggle: h,
922
922
  activePath: u,
923
- onActiveChange: v,
923
+ onActiveChange: m,
924
924
  className: o,
925
925
  ...p
926
926
  }, d) => {
@@ -975,7 +975,7 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
975
975
  A.submenu && A.submenu.length > 0 ? g(T) : g(null);
976
976
  } else
977
977
  g(null);
978
- v && v(y), I && (n.some(
978
+ m && m(y), I && (n.some(
979
979
  (F) => {
980
980
  var Y;
981
981
  return (Y = F.submenu) == null ? void 0 : Y.some((le) => le.url === y);
@@ -1059,7 +1059,7 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1059
1059
  )) }),
1060
1060
  l && /* @__PURE__ */ r.jsx("div", { className: "sidebar-footer", children: /* @__PURE__ */ r.jsxs("button", { className: "logout-button", onClick: l, children: [
1061
1061
  i,
1062
- !b && /* @__PURE__ */ r.jsx("span", { children: m })
1062
+ !b && /* @__PURE__ */ r.jsx("span", { children: v })
1063
1063
  ] }) })
1064
1064
  ] }),
1065
1065
  !I && /* @__PURE__ */ r.jsx(
@@ -1083,11 +1083,11 @@ const Mr = O(({
1083
1083
  title: n = "",
1084
1084
  children: i,
1085
1085
  position: l = "right",
1086
- size: m = "medium",
1086
+ size: v = "medium",
1087
1087
  enableSwipeToClose: f = !0,
1088
1088
  className: h,
1089
1089
  ...u
1090
- }, v) => {
1090
+ }, m) => {
1091
1091
  const [o, p] = U(!1), d = q(null), b = q(0), k = q(0), j = 50, g = () => {
1092
1092
  !o && t && (p(!0), setTimeout(() => {
1093
1093
  p(!1), s();
@@ -1115,9 +1115,9 @@ const Mr = O(({
1115
1115
  "div",
1116
1116
  {
1117
1117
  ref: (E) => {
1118
- d.current = E, typeof v == "function" ? v(E) : v && (v.current = E);
1118
+ d.current = E, typeof m == "function" ? m(E) : m && (m.current = E);
1119
1119
  },
1120
- className: `drawer drawer-${l} drawer-${m} ${o ? "drawer-closing" : "drawer-open"} ${h || ""}`,
1120
+ className: `drawer drawer-${l} drawer-${v} ${o ? "drawer-closing" : "drawer-open"} ${h || ""}`,
1121
1121
  onTouchStart: S,
1122
1122
  onTouchEnd: _,
1123
1123
  ...u,
@@ -1158,7 +1158,7 @@ const zr = H("modal-container", {
1158
1158
  active: n,
1159
1159
  onClose: i,
1160
1160
  size: l,
1161
- className: m,
1161
+ className: v,
1162
1162
  ...f
1163
1163
  }, h) => {
1164
1164
  const u = q(null);
@@ -1170,13 +1170,13 @@ const zr = H("modal-container", {
1170
1170
  document.removeEventListener("keydown", o);
1171
1171
  };
1172
1172
  }, [n, i]);
1173
- const v = (o) => {
1173
+ const m = (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: v, children: /* @__PURE__ */ r.jsxs(
1176
+ return n ? /* @__PURE__ */ r.jsx("div", { className: "modal-backdrop", ref: u, onClick: m, children: /* @__PURE__ */ r.jsxs(
1177
1177
  "div",
1178
1178
  {
1179
- className: `${zr({ size: l })} ${m || ""}`,
1179
+ className: `${zr({ size: l })} ${v || ""}`,
1180
1180
  ref: h,
1181
1181
  ...f,
1182
1182
  children: [
@@ -1197,12 +1197,12 @@ const Dr = O(({
1197
1197
  title: n,
1198
1198
  subtitle: i,
1199
1199
  children: l,
1200
- className: m,
1200
+ className: v,
1201
1201
  ...f
1202
1202
  }, h) => /* @__PURE__ */ r.jsxs(
1203
1203
  "div",
1204
1204
  {
1205
- className: `collapsible ${t ? "open" : ""} ${m || ""}`,
1205
+ className: `collapsible ${t ? "open" : ""} ${v || ""}`,
1206
1206
  ref: h,
1207
1207
  ...f,
1208
1208
  children: [
@@ -1287,11 +1287,11 @@ const Fr = H("tab-base", {
1287
1287
  state: n,
1288
1288
  outline: i,
1289
1289
  iconAlignment: l,
1290
- children: m,
1290
+ children: v,
1291
1291
  icon: f,
1292
1292
  active: h = !1,
1293
1293
  disabled: u = !1,
1294
- ...v
1294
+ ...m
1295
1295
  }, o) => {
1296
1296
  const p = u ? "disabled" : h ? "active" : n || "default", d = f ? l || "left" : "none";
1297
1297
  return /* @__PURE__ */ r.jsxs(
@@ -1306,10 +1306,10 @@ const Fr = H("tab-base", {
1306
1306
  }),
1307
1307
  ref: o,
1308
1308
  disabled: u,
1309
- ...v,
1309
+ ...m,
1310
1310
  children: [
1311
1311
  f && d === "left" && /* @__PURE__ */ r.jsx("span", { className: "tab-icon", children: f }),
1312
- /* @__PURE__ */ r.jsx("span", { className: "tab-content", children: m })
1312
+ /* @__PURE__ */ r.jsx("span", { className: "tab-content", children: v })
1313
1313
  ]
1314
1314
  }
1315
1315
  );
@@ -1322,16 +1322,16 @@ const Wr = O(({
1322
1322
  activeIndex: n,
1323
1323
  onTabChange: i,
1324
1324
  className: l = "",
1325
- variant: m = "default",
1325
+ variant: v = "default",
1326
1326
  size: f = "md",
1327
1327
  outline: h = !1,
1328
1328
  ...u
1329
- }, v) => {
1329
+ }, m) => {
1330
1330
  const [o, p] = U(s), d = n !== void 0 ? n : o, b = (j) => {
1331
1331
  n === void 0 && p(j), i == null || i(j);
1332
1332
  }, k = [
1333
1333
  "tab-group",
1334
- `tab-group-${m}`,
1334
+ `tab-group-${v}`,
1335
1335
  l
1336
1336
  ].filter(Boolean).join(" ");
1337
1337
  return /* @__PURE__ */ r.jsx(
@@ -1339,7 +1339,7 @@ const Wr = O(({
1339
1339
  {
1340
1340
  className: k,
1341
1341
  role: "tablist",
1342
- ref: v,
1342
+ ref: m,
1343
1343
  ...u,
1344
1344
  children: Nr.map(t, (j, g) => Cr(j) ? _r(j, {
1345
1345
  ...j.props,
@@ -1360,22 +1360,22 @@ const Wr = O(({
1360
1360
  );
1361
1361
  });
1362
1362
  Wr.displayName = "TabGroup";
1363
- const Pr = O(({ buttonsData: t, size: s = "sm", className: n, activeIndex: i, ...l }, m) => {
1364
- const [f, h] = U(i), u = (v, o) => {
1365
- v.onClick(), h(o);
1363
+ const Pr = O(({ buttonsData: t, size: s = "sm", className: n, activeIndex: i, ...l }, v) => {
1364
+ const [f, h] = U(i), u = (m, o) => {
1365
+ m.onClick(), h(o);
1366
1366
  };
1367
1367
  return /* @__PURE__ */ r.jsx(
1368
1368
  "div",
1369
1369
  {
1370
1370
  className: `toggle-button-container ${n || ""}`,
1371
- ref: m,
1371
+ ref: v,
1372
1372
  ...l,
1373
- children: t.map((v, o) => /* @__PURE__ */ r.jsx(
1373
+ children: t.map((m, o) => /* @__PURE__ */ r.jsx(
1374
1374
  "div",
1375
1375
  {
1376
1376
  className: `toggle-button-inner ${f === o ? "active" : ""} ${s}`,
1377
- onClick: () => u(v, o),
1378
- children: /* @__PURE__ */ r.jsx("span", { children: v.label })
1377
+ onClick: () => u(m, o),
1378
+ children: /* @__PURE__ */ r.jsx("span", { children: m.label })
1379
1379
  },
1380
1380
  o
1381
1381
  ))
@@ -1601,11 +1601,11 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1601
1601
  state: n,
1602
1602
  leadingIcon: i,
1603
1603
  trailingIcon: l,
1604
- hintText: m,
1604
+ hintText: v,
1605
1605
  onClear: f,
1606
1606
  placeholder: h = "Placeholder",
1607
1607
  value: u,
1608
- onChange: v,
1608
+ onChange: m,
1609
1609
  ...o
1610
1610
  }, p) => {
1611
1611
  const d = !!i, b = !!l, k = u && u.toString().length > 0;
@@ -1626,6 +1626,7 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1626
1626
  placeholder: h,
1627
1627
  value: u,
1628
1628
  ref: p,
1629
+ onChange: m,
1629
1630
  ...o
1630
1631
  }
1631
1632
  ),
@@ -1641,7 +1642,7 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1641
1642
  }
1642
1643
  )
1643
1644
  ] }),
1644
- m && /* @__PURE__ */ r.jsx("div", { className: `input-hint input-hint-${j}`, children: m })
1645
+ v && /* @__PURE__ */ r.jsx("div", { className: `input-hint input-hint-${j}`, children: v })
1645
1646
  ] });
1646
1647
  }
1647
1648
  );
@@ -1665,11 +1666,11 @@ const qr = H("alert", {
1665
1666
  title: n,
1666
1667
  description: i,
1667
1668
  children: l,
1668
- onDismiss: m,
1669
+ onDismiss: v,
1669
1670
  icon: f,
1670
1671
  ...h
1671
1672
  }, u) => {
1672
- const v = {
1673
+ const m = {
1673
1674
  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
1675
  /* @__PURE__ */ r.jsx("circle", { cx: "10", cy: "10", r: "9", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1675
1676
  /* @__PURE__ */ r.jsx("path", { d: "M10 6v4m0 4h.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
@@ -1686,7 +1687,7 @@ const qr = H("alert", {
1686
1687
  /* @__PURE__ */ r.jsx("circle", { cx: "10", cy: "10", r: "9", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1687
1688
  /* @__PURE__ */ r.jsx("path", { d: "M10 6v4m0 4h.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
1688
1689
  ] })
1689
- }, o = f || (s ? v[s] : v.info);
1690
+ }, o = f || (s ? m[s] : m.info);
1690
1691
  return /* @__PURE__ */ r.jsxs(
1691
1692
  "div",
1692
1693
  {
@@ -1700,11 +1701,11 @@ const qr = H("alert", {
1700
1701
  i && /* @__PURE__ */ r.jsx("div", { className: "alert-description", children: i }),
1701
1702
  l && /* @__PURE__ */ r.jsx("div", { className: "alert-children", children: l })
1702
1703
  ] }),
1703
- m && /* @__PURE__ */ r.jsx(
1704
+ v && /* @__PURE__ */ r.jsx(
1704
1705
  "button",
1705
1706
  {
1706
1707
  className: "alert-dismiss",
1707
- onClick: m,
1708
+ onClick: v,
1708
1709
  "aria-label": "Close alert",
1709
1710
  children: /* @__PURE__ */ r.jsx(Je, {})
1710
1711
  }
@@ -1767,11 +1768,11 @@ const et = H("social-login", {
1767
1768
  size: n,
1768
1769
  state: i,
1769
1770
  pill: l,
1770
- iconAlignment: m,
1771
+ iconAlignment: v,
1771
1772
  provider: f,
1772
1773
  children: h,
1773
1774
  disabled: u,
1774
- onClick: v,
1775
+ onClick: m,
1775
1776
  ...o
1776
1777
  }, p) => {
1777
1778
  const d = tt[f], b = h || rt[f], k = u ? "disabled" : i, g = {
@@ -1789,12 +1790,12 @@ const et = H("social-login", {
1789
1790
  size: n,
1790
1791
  state: k,
1791
1792
  pill: l,
1792
- iconAlignment: m,
1793
+ iconAlignment: v,
1793
1794
  provider: f,
1794
1795
  className: t
1795
1796
  }),
1796
1797
  disabled: u,
1797
- onClick: v,
1798
+ onClick: m,
1798
1799
  ref: p,
1799
1800
  ...o,
1800
1801
  children: [
@@ -1841,17 +1842,17 @@ const at = H("progress-bar", {
1841
1842
  size: n,
1842
1843
  color: i,
1843
1844
  animated: l,
1844
- amount: m,
1845
+ amount: v,
1845
1846
  total: f,
1846
1847
  showPercentage: h = !1,
1847
1848
  label: u,
1848
- height: v,
1849
+ height: m,
1849
1850
  style: o,
1850
1851
  ...p
1851
1852
  }, d) => {
1852
- const b = Math.min(Math.max(m / f * 100, 0), 100), k = {
1853
+ const b = Math.min(Math.max(v / f * 100, 0), 100), k = {
1853
1854
  ...o || {},
1854
- ...v ? { height: v } : {}
1855
+ ...m ? { height: m } : {}
1855
1856
  }, j = {
1856
1857
  width: `${b}%`
1857
1858
  };
@@ -1868,10 +1869,10 @@ const at = H("progress-bar", {
1868
1869
  style: k,
1869
1870
  ref: d,
1870
1871
  role: "progressbar",
1871
- "aria-valuenow": m,
1872
+ "aria-valuenow": v,
1872
1873
  "aria-valuemin": 0,
1873
1874
  "aria-valuemax": f,
1874
- "aria-label": u || `Progreso: ${m} de ${f}`,
1875
+ "aria-label": u || `Progreso: ${v} de ${f}`,
1875
1876
  ...p,
1876
1877
  children: [
1877
1878
  /* @__PURE__ */ r.jsx("div", { className: "progress-bar-track", children: /* @__PURE__ */ r.jsx(
@@ -1887,12 +1888,12 @@ const at = H("progress-bar", {
1887
1888
  );
1888
1889
  }
1889
1890
  ), st = (t, s) => `/logos/${`${t}_${s}.png`}`, Ke = O(
1890
- ({ type: t = "logo", color: s = "color", alt: n, className: i, ...l }, m) => {
1891
+ ({ type: t = "logo", color: s = "color", alt: n, className: i, ...l }, v) => {
1891
1892
  const f = st(t, s), h = n || (t === "logo" ? "Levannta logo" : "Levannta isologo");
1892
1893
  return /* @__PURE__ */ r.jsx(
1893
1894
  "img",
1894
1895
  {
1895
- ref: m,
1896
+ ref: v,
1896
1897
  className: ["logo", i].filter(Boolean).join(" "),
1897
1898
  src: f,
1898
1899
  alt: h,
@@ -1908,10 +1909,10 @@ const it = O(({
1908
1909
  className: n,
1909
1910
  showLogo: i = !0,
1910
1911
  logoProps: l,
1911
- ...m
1912
+ ...v
1912
1913
  }, f) => {
1913
1914
  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
+ return /* @__PURE__ */ r.jsx("header", { className: h, ref: f, ...v, children: /* @__PURE__ */ r.jsxs("div", { className: "header-content-wrapper", children: [
1915
1916
  /* @__PURE__ */ r.jsx("h1", { className: "header-title", children: t }),
1916
1917
  i && /* @__PURE__ */ r.jsx(
1917
1918
  Ke,
@@ -1947,11 +1948,11 @@ const lt = H("pagination", {
1947
1948
  currentPage: n,
1948
1949
  totalPages: i,
1949
1950
  itemsPerPage: l,
1950
- totalItems: m,
1951
+ totalItems: v,
1951
1952
  itemsPerPageOptions: f = [10, 20, 50, 100],
1952
1953
  onPageChange: h,
1953
1954
  onItemsPerPageChange: u,
1954
- resultsLabel: v = "Resultados",
1955
+ resultsLabel: m = "Resultados",
1955
1956
  ofLabel: o = "de",
1956
1957
  pageLabel: p = "Página",
1957
1958
  prevDisabled: d,
@@ -1990,7 +1991,7 @@ const lt = H("pagination", {
1990
1991
  ...k,
1991
1992
  children: [
1992
1993
  /* @__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: v }) }),
1994
+ /* @__PURE__ */ r.jsx("div", { className: "pagination-results", children: /* @__PURE__ */ r.jsx("span", { className: "pagination-results-text", children: m }) }),
1994
1995
  /* @__PURE__ */ r.jsx("div", { className: "pagination-items-selector", ref: _, children: /* @__PURE__ */ r.jsxs("div", { className: "pagination-items-dropdown", children: [
1995
1996
  /* @__PURE__ */ r.jsxs(
1996
1997
  "button",
@@ -2028,7 +2029,7 @@ const lt = H("pagination", {
2028
2029
  /* @__PURE__ */ r.jsx("div", { className: "pagination-total", children: /* @__PURE__ */ r.jsxs("span", { className: "pagination-total-text", children: [
2029
2030
  o,
2030
2031
  " ",
2031
- m
2032
+ v
2032
2033
  ] }) })
2033
2034
  ] }),
2034
2035
  /* @__PURE__ */ r.jsxs("div", { className: "pagination-navigation", children: [
@@ -2077,7 +2078,7 @@ const mt = ({
2077
2078
  onChange: i,
2078
2079
  className: l = ""
2079
2080
  }) => {
2080
- const [m, f] = U(!1), h = q(null);
2081
+ const [v, f] = U(!1), h = q(null);
2081
2082
  Q(() => {
2082
2083
  const d = (b) => {
2083
2084
  h.current && !h.current.contains(b.target) && f(!1);
@@ -2085,8 +2086,8 @@ const mt = ({
2085
2086
  return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
2086
2087
  }, []);
2087
2088
  const u = () => {
2088
- f(!m);
2089
- }, v = (d) => {
2089
+ f(!v);
2090
+ }, m = (d) => {
2090
2091
  var b;
2091
2092
  d.disabled || (f(!1), i == null || i(d), (b = d.onSelect) == null || b.call(d));
2092
2093
  }, o = s, p = t || /* @__PURE__ */ r.jsx(Kr, { size: 20, color: "#00D4AA" });
@@ -2094,7 +2095,7 @@ const mt = ({
2094
2095
  /* @__PURE__ */ r.jsxs(
2095
2096
  "div",
2096
2097
  {
2097
- className: `selector ${m ? "selector--open" : ""}`,
2098
+ className: `selector ${v ? "selector--open" : ""}`,
2098
2099
  onClick: u,
2099
2100
  children: [
2100
2101
  /* @__PURE__ */ r.jsx("div", { className: "selector__icon", children: p }),
@@ -2107,7 +2108,7 @@ const mt = ({
2107
2108
  viewBox: "0 0 12 7",
2108
2109
  fill: "none",
2109
2110
  xmlns: "http://www.w3.org/2000/svg",
2110
- className: `selector__chevron-icon ${m ? "selector__chevron-icon--open" : ""}`,
2111
+ className: `selector__chevron-icon ${v ? "selector__chevron-icon--open" : ""}`,
2111
2112
  children: /* @__PURE__ */ r.jsx(
2112
2113
  "path",
2113
2114
  {
@@ -2123,11 +2124,11 @@ const mt = ({
2123
2124
  ]
2124
2125
  }
2125
2126
  ),
2126
- m && n.length > 0 && /* @__PURE__ */ r.jsx("div", { className: "selector__dropdown", children: /* @__PURE__ */ r.jsx("div", { className: "selector__dropdown-content", children: n.map((d) => /* @__PURE__ */ r.jsxs(
2127
+ v && n.length > 0 && /* @__PURE__ */ r.jsx("div", { className: "selector__dropdown", children: /* @__PURE__ */ r.jsx("div", { className: "selector__dropdown-content", children: n.map((d) => /* @__PURE__ */ r.jsxs(
2127
2128
  "div",
2128
2129
  {
2129
2130
  className: `selector__option ${d.active ? "selector__option--selected" : ""} ${d.disabled ? "selector__option--disabled" : ""}`,
2130
- onClick: () => v(d),
2131
+ onClick: () => m(d),
2131
2132
  children: [
2132
2133
  d.icon && /* @__PURE__ */ r.jsx("div", { className: "selector__option-icon", children: d.icon }),
2133
2134
  /* @__PURE__ */ r.jsxs("div", { className: "selector__option-content", children: [
@@ -2145,18 +2146,18 @@ const mt = ({
2145
2146
  buttonText: n,
2146
2147
  buttonVariant: i = "filled",
2147
2148
  onClick: l,
2148
- image: m = "src/assets/images/default_card_wallpaper.png",
2149
+ image: v = "src/assets/images/default_card_wallpaper.png",
2149
2150
  icon: f,
2150
2151
  disabled: h = !1,
2151
2152
  className: u = "",
2152
- size: v = "md",
2153
+ size: m = "md",
2153
2154
  ...o
2154
2155
  }, p) => /* @__PURE__ */ r.jsxs(
2155
2156
  "div",
2156
2157
  {
2157
- className: `cardcta-container cardcta-size-${v} ${u}`,
2158
+ className: `cardcta-container cardcta-size-${m} ${u}`,
2158
2159
  style: {
2159
- backgroundImage: `url('${m}')`,
2160
+ backgroundImage: `url('${v}')`,
2160
2161
  backgroundSize: "cover",
2161
2162
  backgroundPosition: "center",
2162
2163
  position: "relative",
@@ -2196,7 +2197,7 @@ const ut = H("tag", {
2196
2197
  children: n,
2197
2198
  icon: i,
2198
2199
  onClick: l,
2199
- ...m
2200
+ ...v
2200
2201
  }, f) => /* @__PURE__ */ r.jsxs(
2201
2202
  "span",
2202
2203
  {
@@ -2205,7 +2206,7 @@ const ut = H("tag", {
2205
2206
  className: t
2206
2207
  }),
2207
2208
  ref: f,
2208
- ...m,
2209
+ ...v,
2209
2210
  children: [
2210
2211
  i && /* @__PURE__ */ r.jsx("span", { className: "tag-icon", children: i }),
2211
2212
  /* @__PURE__ */ r.jsx("span", { className: "tag-content", children: n })