react-ecosistema-unp 1.0.6 → 1.2.0

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.
Files changed (30) hide show
  1. package/dist/{NotificacionUsuario-xD2pyELE.js → NotificacionUsuario-B0uOnywk.js} +147 -151
  2. package/dist/Table-dmTfkFLf.js +32 -0
  3. package/dist/assets/IconosSistema.css +1 -1
  4. package/dist/cards/tarjeta/Tarjeta.js +4 -3
  5. package/dist/cards/tarjeta/contenedor-tarjeta/ContenedorTarjeta.js +5 -4
  6. package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +1 -1
  7. package/dist/cards/tarjeta-info/TarjetaInfo.js +2 -2
  8. package/dist/cards/tarjeta-lectura/TarjetaLectura.js +16 -15
  9. package/dist/cards/tarjeta-lectura/seccion-tarjeta-lectura/SeccionTarjetaLectura.js +7 -6
  10. package/dist/index-COVtBfm6.js +11 -0
  11. package/dist/{index-D_9gBL0I.js → index-CcQhl4DX.js} +51 -27
  12. package/dist/lib/utils/unp-historico/FetchHistorico.d.ts +2 -0
  13. package/dist/lib/utils/unp-historico/UnpHistorico.d.ts +7 -0
  14. package/dist/lib/utils.d.ts +1 -0
  15. package/dist/shared/iconos-sistema/IconosSistema.js +7 -5
  16. package/dist/shared/notificacion-usuario/NotificacionUsuario.js +2 -1
  17. package/dist/shared/ventana-tabs/VentanaTabs.js +1 -1
  18. package/dist/tables/tabla-registros/buscador/Buscador.js +1 -1
  19. package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +2 -2
  20. package/dist/tables/tabla-registros/tabla/Tabla.js +43 -69
  21. package/dist/ui/contenido-modal/ContenidoModal.js +2 -2
  22. package/dist/ui/contenido-modal/ContenidoModalv0.1.js +2 -2
  23. package/dist/ui/icono-tooltip/IconoTooltip.js +82 -46
  24. package/dist/ui/items-modal/ItemsModal.js +11 -11
  25. package/dist/ui/logo/Logo.js +3 -2
  26. package/dist/utils/unp-historico/FetchHistorico.js +12 -0
  27. package/dist/utils/unp-historico/UnpHistorico.js +145 -0
  28. package/dist/utils.js +6 -4
  29. package/package.json +1 -1
  30. /package/dist/assets/{TarjetaInfo.css → UnpHistorico.css} +0 -0
@@ -0,0 +1,32 @@
1
+ import { u, c as x } from "./ThemeProvider-CFCmmLJC.js";
2
+ import * as N from "react";
3
+ import { jsx as c } from "react/jsx-runtime";
4
+ const y = /* @__PURE__ */ N.forwardRef(({
5
+ bsPrefix: f,
6
+ className: l,
7
+ striped: s,
8
+ bordered: i,
9
+ borderless: m,
10
+ hover: d,
11
+ size: o,
12
+ variant: a,
13
+ responsive: r,
14
+ ...n
15
+ }, p) => {
16
+ const e = u(f, "table"), b = x(l, e, a && `${e}-${a}`, o && `${e}-${o}`, s && `${e}-${typeof s == "string" ? `striped-${s}` : "striped"}`, i && `${e}-bordered`, m && `${e}-borderless`, d && `${e}-hover`), $ = /* @__PURE__ */ c("table", {
17
+ ...n,
18
+ className: b,
19
+ ref: p
20
+ });
21
+ if (r) {
22
+ let t = `${e}-responsive`;
23
+ return typeof r == "string" && (t = `${t}-${r}`), /* @__PURE__ */ c("div", {
24
+ className: t,
25
+ children: $
26
+ });
27
+ }
28
+ return $;
29
+ });
30
+ export {
31
+ y as T
32
+ };
@@ -1 +1 @@
1
- .iconos-sistema-container{position:absolute;top:0;right:0;margin-top:6px;display:flex;justify-content:end;gap:1rem}.iconos-sistema-icon{margin-top:.5rem;font-size:25px;color:#303d50;cursor:pointer}.icono-sistema-tooltip-container{position:relative;display:inline-block}.icono-sistema-tooltip-text{z-index:9999;visibility:hidden;width:max-content;background-color:#5f6265ef;color:#fff;text-align:center;border-radius:10px;padding:7px 11px;position:absolute;z-index:1000;top:100%;right:0;margin-top:8px;opacity:0;transition:opacity .1s;pointer-events:none;transition:all .1s ease-in-out}.icono-sistema-tooltip-container:hover .icono-sistema-tooltip-text{visibility:visible;opacity:1}
1
+ .iconos-sistema-container{position:absolute;top:0;right:0;margin-top:6px;display:flex;justify-content:end;align-items:center;gap:1rem}.iconos-sistema-icon{margin-top:.5rem;font-size:20px;color:#303d50;cursor:pointer}.icono-sistema-tooltip-container{position:relative;display:inline-block}.icono-sistema-tooltip-text{z-index:9999;visibility:hidden;width:max-content;background-color:#5f6265ef;color:#fff;text-align:center;border-radius:10px;padding:7px 11px;position:absolute;z-index:1000;top:100%;right:0;margin-top:8px;opacity:0;transition:opacity .1s;pointer-events:none;transition:all .1s ease-in-out}.icono-sistema-tooltip-container:hover .icono-sistema-tooltip-text{visibility:visible;opacity:1}
@@ -1,13 +1,14 @@
1
1
  import { jsxs as p, jsx as s } from "react/jsx-runtime";
2
2
  import e from "react";
3
- import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';/* empty css */
3
+ import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';/* empty css */
4
+ /* empty css */
4
5
  import { C as j, a as g } from "../../Card-BXqmurzN.js";
5
6
  import { C as S } from "../../CardBody-RoDe1y90.js";
6
7
  import { B as x } from "../../Button-DMwpnJlD.js";
7
8
  const N = {
8
9
  marginBottom: "20px",
9
10
  width: "100px"
10
- }, V = ({
11
+ }, _ = ({
11
12
  title: m,
12
13
  header: a = !1,
13
14
  children: n,
@@ -54,5 +55,5 @@ const N = {
54
55
  );
55
56
  };
56
57
  export {
57
- V as Tarjeta
58
+ _ as Tarjeta
58
59
  };
@@ -1,14 +1,15 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import '../../../assets/ContenedorTarjeta.css';const f = ({ isGray: r = !0, children: e }) => /* @__PURE__ */ o(
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import '../../../assets/ContenedorTarjeta.css';/* empty css */
3
+ const a = ({ isGray: r = !0, children: o }) => /* @__PURE__ */ t(
3
4
  "div",
4
5
  {
5
6
  className: "contenedor-gris-tarjeta",
6
7
  style: {
7
8
  backgroundColor: r ? "#f7f7f7" : "#ffffff"
8
9
  },
9
- children: e
10
+ children: o
10
11
  }
11
12
  );
12
13
  export {
13
- f as ContenedorTarjeta
14
+ a as ContenedorTarjeta
14
15
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
- import { g as s } from "../../../index-D_9gBL0I.js";
2
+ import { m as s } from "../../../index-CcQhl4DX.js";
3
3
  import '../../../assets/Bootstrap.css';/* empty css */
4
4
  import { B as a } from "../../../Button-DMwpnJlD.js";
5
5
  const d = {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as s, useRef as m, useEffect as d } from "react";
3
- import { j, k as u } from "../../index-D_9gBL0I.js";
4
- import '../../assets/TarjetaInfo.css';const w = ({ icon: r, label: c, show: l = !1, children: h }) => {
3
+ import { q as j, r as u } from "../../index-CcQhl4DX.js";
4
+ import '../../assets/UnpHistorico.css';const w = ({ icon: r, label: c, show: l = !1, children: h }) => {
5
5
  const [t, o] = s(l), [f, i] = s(0), a = m(null);
6
6
  return d(() => {
7
7
  t && a.current ? i(a.current.scrollHeight) : i(0);
@@ -1,11 +1,12 @@
1
1
  import { jsxs as i, Fragment as l, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as v, useRef as d, useEffect as y } from "react";
3
+ import '../../assets/Bootstrap.css';import '../../assets/TarjetaLectura.css';/* empty css */
3
4
  import { Logo as g } from "../../ui/logo/Logo.js";
4
5
  import { SeccionTarjetaLectura as _ } from "./seccion-tarjeta-lectura/SeccionTarjetaLectura.js";
5
- import '../../assets/Bootstrap.css';import '../../assets/TarjetaLectura.css';/* empty css */
6
- import { B as h } from "../../Button-DMwpnJlD.js";
7
- const k = ({ title: m, subtitle: u, headerContent: f, stepContent: n, children: o }) => {
8
- const [r, t] = v(0), p = d(null), c = d(null);
6
+ /* empty css */
7
+ import { B as m } from "../../Button-DMwpnJlD.js";
8
+ const L = ({ title: h, subtitle: u, headerContent: f, stepContent: n, children: o }) => {
9
+ const [r, a] = v(0), p = d(null), c = d(null);
9
10
  return y(() => {
10
11
  c.current && r > 0 && c.current.scrollIntoView({
11
12
  behavior: "smooth"
@@ -14,34 +15,34 @@ const k = ({ title: m, subtitle: u, headerContent: f, stepContent: n, children:
14
15
  /* @__PURE__ */ i("form", { ref: p, className: "form_qy", children: [
15
16
  /* @__PURE__ */ i("div", { className: "main_title_container_qy", children: [
16
17
  /* @__PURE__ */ i("div", { className: "subtitle_container_qy", children: [
17
- /* @__PURE__ */ e("h3", { children: m }),
18
+ /* @__PURE__ */ e("h3", { children: h }),
18
19
  /* @__PURE__ */ e("h5", { children: u })
19
20
  ] }),
20
21
  /* @__PURE__ */ e("div", { className: "logo_container_qy", children: /* @__PURE__ */ e(g, { type: "entidad", variant: "unidad", color: "gris", height: "90px" }) })
21
22
  ] }),
22
23
  /* @__PURE__ */ e("div", { className: "section_header_container_qy", children: f }),
23
24
  n ? /* @__PURE__ */ i("div", { ref: c, children: [
24
- /* @__PURE__ */ e(_, { title: "Secciones", children: /* @__PURE__ */ e("ul", { id: "paginador-tarjeta-lectura", children: n.map((s, a) => /* @__PURE__ */ i(
25
+ /* @__PURE__ */ e(_, { title: "Secciones", children: /* @__PURE__ */ e("ul", { id: "paginador-tarjeta-lectura", children: n.map((s, t) => /* @__PURE__ */ i(
25
26
  "li",
26
27
  {
27
- className: a <= r ? "active" : "",
28
- onClick: () => t(a),
28
+ className: t <= r ? "active" : "",
29
+ onClick: () => a(t),
29
30
  children: [
30
- /* @__PURE__ */ e("div", { className: `step ${a <= r ? "active" : ""}`, children: /* @__PURE__ */ e(s.icon, { size: 18 }) }),
31
+ /* @__PURE__ */ e("div", { className: `step ${t <= r ? "active" : ""}`, children: /* @__PURE__ */ e(s.icon, { size: 18 }) }),
31
32
  /* @__PURE__ */ e("strong", { children: s.label })
32
33
  ]
33
34
  },
34
- a
35
+ t
35
36
  )) }) }),
36
37
  /* @__PURE__ */ e("div", { children: n[r].content })
37
38
  ] }) : o && /* @__PURE__ */ e(l, { children: /* @__PURE__ */ e("div", { children: o }) })
38
39
  ] }),
39
40
  n && /* @__PURE__ */ e(l, { children: /* @__PURE__ */ i("div", { className: "paginador-buttons", style: { display: "flex", justifyContent: "end" }, children: [
40
41
  r > 0 && /* @__PURE__ */ e(
41
- h,
42
+ m,
42
43
  {
43
44
  variant: "unp_secondary",
44
- onClick: () => t(r - 1),
45
+ onClick: () => a(r - 1),
45
46
  style: {
46
47
  marginRight: "1rem"
47
48
  },
@@ -49,11 +50,11 @@ const k = ({ title: m, subtitle: u, headerContent: f, stepContent: n, children:
49
50
  }
50
51
  ),
51
52
  r < n.length - 1 && /* @__PURE__ */ e(
52
- h,
53
+ m,
53
54
  {
54
55
  variant: "unp_primary",
55
56
  style: { justifySelf: "end" },
56
- onClick: () => t(r + 1),
57
+ onClick: () => a(r + 1),
57
58
  children: "Siguiente"
58
59
  }
59
60
  )
@@ -61,5 +62,5 @@ const k = ({ title: m, subtitle: u, headerContent: f, stepContent: n, children:
61
62
  ] });
62
63
  };
63
64
  export {
64
- k as TarjetaLectura
65
+ L as TarjetaLectura
65
66
  };
@@ -1,16 +1,17 @@
1
- import { jsxs as d, Fragment as l, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as n, Fragment as o, jsx as r } from "react/jsx-runtime";
2
2
  import i from "react";
3
- import '../../../assets/SeccionTarjetaLectura.css';const c = ({
3
+ import '../../../assets/SeccionTarjetaLectura.css';/* empty css */
4
+ const p = ({
4
5
  title: a,
5
6
  children: t,
6
7
  hasPaddingTop: s = !0
7
8
  }) => {
8
- const e = i.Children.toArray(t), n = e[0] && i.isValidElement(e[0]) && e[0].type.displayName === "Subtitulo";
9
- return /* @__PURE__ */ d(l, { children: [
9
+ const e = i.Children.toArray(t), m = e[0] && i.isValidElement(e[0]) && e[0].type.displayName === "Subtitulo";
10
+ return /* @__PURE__ */ n(o, { children: [
10
11
  /* @__PURE__ */ r("div", { className: "section_header_qy", children: /* @__PURE__ */ r("span", { children: a }) }),
11
- /* @__PURE__ */ r("div", { style: { padding: `${n || !s ? "0rem" : "1.25rem"} 1.25rem 1.25rem 1.25rem` }, children: t })
12
+ /* @__PURE__ */ r("div", { style: { padding: `${m || !s ? "0rem" : "1.25rem"} 1.25rem 1.25rem 1.25rem` }, children: t })
12
13
  ] });
13
14
  };
14
15
  export {
15
- c as SeccionTarjetaLectura
16
+ p as SeccionTarjetaLectura
16
17
  };
@@ -0,0 +1,11 @@
1
+ import { G as c } from "./iconBase-LROS5hdG.js";
2
+ function r(t) {
3
+ return c({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z" }, child: [] }] })(t);
4
+ }
5
+ function h(t) {
6
+ return c({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z" }, child: [] }] })(t);
7
+ }
8
+ export {
9
+ h as F,
10
+ r as a
11
+ };
@@ -1,59 +1,83 @@
1
1
  import { G as t } from "./iconBase-LROS5hdG.js";
2
2
  function l(c) {
3
- return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z" }, child: [] }] })(c);
3
+ return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L320 96z" }, child: [] }] })(c);
4
+ }
5
+ function s(c) {
6
+ return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-301.7 32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0z" }, child: [] }] })(c);
4
7
  }
5
8
  function r(c) {
6
- return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, child: [] }] })(c);
9
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z" }, child: [] }] })(c);
7
10
  }
8
11
  function i(c) {
12
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z" }, child: [] }] })(c);
13
+ }
14
+ function n(c) {
15
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, child: [] }] })(c);
16
+ }
17
+ function h(c) {
9
18
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z" }, child: [] }] })(c);
10
19
  }
11
- function s(c) {
20
+ function g(c) {
12
21
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z" }, child: [] }] })(c);
13
22
  }
14
- function n(c) {
23
+ function d(c) {
15
24
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z" }, child: [] }] })(c);
16
25
  }
17
- function h(c) {
26
+ function z(c) {
27
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM199.4 312.6c31.2 31.2 81.9 31.2 113.1 0c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9c-50 50-131 50-181 0s-50-131 0-181s131-50 181 0c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0c-31.2-31.2-81.9-31.2-113.1 0s-31.2 81.9 0 113.1z" }, child: [] }] })(c);
28
+ }
29
+ function e(c) {
30
+ return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M128 0C110.3 0 96 14.3 96 32l0 192 96 0 0-32c0-35.3 28.7-64 64-64l224 0 0-96c0-17.7-14.3-32-32-32L128 0zM256 160c-17.7 0-32 14.3-32 32l0 32 96 0c35.3 0 64 28.7 64 64l0 128 192 0c17.7 0 32-14.3 32-32l0-192c0-17.7-14.3-32-32-32l-320 0zm240 64l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM64 256c-17.7 0-32 14.3-32 32l0 13L187.1 415.9c1.4 1 3.1 1.6 4.9 1.6s3.5-.6 4.9-1.6L352 301l0-13c0-17.7-14.3-32-32-32L64 256zm288 84.8L216 441.6c-6.9 5.1-15.3 7.9-24 7.9s-17-2.8-24-7.9L32 340.8 32 480c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32l0-139.2z" }, child: [] }] })(c);
31
+ }
32
+ function o(c) {
18
33
  return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z" }, child: [] }] })(c);
19
34
  }
20
- function g(c) {
35
+ function M(c) {
21
36
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z" }, child: [] }] })(c);
22
37
  }
23
- function d(c) {
38
+ function L(c) {
24
39
  return t({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M128 136c0-22.1-17.9-40-40-40L40 96C17.9 96 0 113.9 0 136l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm0 192c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm32-192l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM288 328c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm32-192l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM448 328c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48z" }, child: [] }] })(c);
25
40
  }
26
- function e(c) {
41
+ function v(c) {
27
42
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z" }, child: [] }] })(c);
28
43
  }
29
- function o(c) {
44
+ function u(c) {
45
+ return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M112 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm40 304l0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-223.1L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6l29.7 0c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9 232 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-128-16 0zM432 224a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm0 240a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm0-192c-8.8 0-16 7.2-16 16l0 80c0 8.8 7.2 16 16 16s16-7.2 16-16l0-80c0-8.8-7.2-16-16-16z" }, child: [] }] })(c);
46
+ }
47
+ function C(c) {
30
48
  return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3L352 448l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288l144.9 0L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320l144.9 0L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z" }, child: [] }] })(c);
31
49
  }
32
- function z(c) {
50
+ function p(c) {
33
51
  return t({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z" }, child: [] }] })(c);
34
52
  }
35
- function M(c) {
53
+ function w(c) {
36
54
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z" }, child: [] }] })(c);
37
55
  }
38
- function L(c) {
56
+ function m(c) {
39
57
  return t({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z" }, child: [] }] })(c);
40
58
  }
41
- function v(c) {
59
+ function f(c) {
42
60
  return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192l42.7 0c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0L21.3 320C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z" }, child: [] }] })(c);
43
61
  }
44
62
  export {
45
- g as F,
46
- l as a,
47
- M as b,
48
- o as c,
49
- v as d,
50
- L as e,
51
- h as f,
52
- z as g,
53
- r as h,
54
- n as i,
55
- i as j,
56
- s as k,
57
- d as l,
58
- e as m
63
+ M as F,
64
+ u as a,
65
+ e as b,
66
+ s as c,
67
+ l as d,
68
+ i as e,
69
+ z as f,
70
+ r as g,
71
+ w as h,
72
+ C as i,
73
+ f as j,
74
+ m as k,
75
+ o as l,
76
+ p as m,
77
+ n,
78
+ d as o,
79
+ L as p,
80
+ h as q,
81
+ g as r,
82
+ v as s
59
83
  };
@@ -0,0 +1,2 @@
1
+ declare function fetchHistorico(endpoint: string, nuip: string): Promise<any>;
2
+ export { fetchHistorico };
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface UnpHistoricoProps {
3
+ endpoint: string;
4
+ nuip: string;
5
+ }
6
+ declare const UnpHistorico: React.FC<UnpHistoricoProps>;
7
+ export { UnpHistorico };
@@ -1,3 +1,4 @@
1
1
  export { AuthProvider } from './auth/contexts/AuthContex.js';
2
2
  export { ProtectedRoute } from './utils/components/ProtectedRoute.js';
3
3
  export { UserRoute } from './utils/components/UserRoute.js';
4
+ export { UnpHistorico } from './utils/unp-historico/UnpHistorico.js';
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as i } from "react/jsx-runtime";
2
- import { N as r } from "../../NotificacionUsuario-xD2pyELE.js";
3
- import '../../assets/IconosSistema.css';const l = ({ elements: s }) => /* @__PURE__ */ a("div", { className: "iconos-sistema-container", children: [
2
+ import { N as n } from "../../NotificacionUsuario-B0uOnywk.js";
3
+ import '../../assets/IconosSistema.css';const p = ({ elements: s }) => /* @__PURE__ */ a("div", { className: "iconos-sistema-container", children: [
4
4
  s && s.slice(0, 5).map((o, c) => /* @__PURE__ */ a("div", { className: "icono-sistema-tooltip-container", children: [
5
5
  /* @__PURE__ */ i(
6
6
  o.icon,
@@ -19,12 +19,14 @@ import '../../assets/IconosSistema.css';const l = ({ elements: s }) => /* @__PUR
19
19
  border: "1px #ebebeb solid",
20
20
  marginTop: "9px",
21
21
  marginBottom: "2px",
22
- borderRadius: "10px"
22
+ borderRadius: "10px",
23
+ paddingTop: "9px",
24
+ paddingBottom: "9px"
23
25
  }
24
26
  }
25
27
  ),
26
- /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(r, {}) })
28
+ /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(n, {}) })
27
29
  ] });
28
30
  export {
29
- l as IconosSistema
31
+ p as IconosSistema
30
32
  };
@@ -1,5 +1,6 @@
1
1
  import "react/jsx-runtime";
2
- import { N as a } from "../../NotificacionUsuario-xD2pyELE.js";
2
+ import "../../index-COVtBfm6.js";
3
+ import { N as a } from "../../NotificacionUsuario-B0uOnywk.js";
3
4
  export {
4
5
  a as NotificacionUsuario
5
6
  };
@@ -4,7 +4,7 @@ import C, { useRef as O, useContext as S, useEffect as M } from "react";
4
4
  import { MenuLateral as F } from "../menu-lateral/MenuLateral.js";
5
5
  import { IconosSistema as H } from "../iconos-sistema/IconosSistema.js";
6
6
  import '../../assets/Bootstrap.css';/* empty css */
7
- import { a as W, u as Y, b as z, d as G, c as J, q as Q, e as D, f as L, g as X } from "../../NotificacionUsuario-xD2pyELE.js";
7
+ import { a as W, u as Y, b as z, d as G, c as J, q as Q, e as D, f as L, g as X } from "../../NotificacionUsuario-B0uOnywk.js";
8
8
  import { u as Z, T as ee, g as te, a as ne, b as ae } from "../../TabPane-BvUHIFlv.js";
9
9
  import { u as k, c as B } from "../../ThemeProvider-CFCmmLJC.js";
10
10
  import { S as I, T as re, m as se } from "../../TabContext-CdjYJzMB.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as C } from "react/jsx-runtime";
2
- import { m as w } from "../../../index-D_9gBL0I.js";
2
+ import { s as w } from "../../../index-CcQhl4DX.js";
3
3
  import * as s from "react";
4
4
  import { useContext as $, useMemo as T } from "react";
5
5
  import { c as p, u as R } from "../../../ThemeProvider-CFCmmLJC.js";
@@ -2,10 +2,10 @@ import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
2
  import { Encabezado as a } from "../../../ui/encabezado/Encabezado.js";
3
3
  import "../../../ui/subtitulo/Subtitulo.js";
4
4
  import "react";
5
- import '../../../assets/Modal.css';import '../../../assets/ContenedorVentana.css';import '../../../assets/IconoTooltip.css';import '../../../assets/ItemsModal.css';import '../../../assets/Bootstrap.css';import '../../../assets/Paginador.css';import '../../../assets/ContenidoModal.css';/* empty css */
5
+ import '../../../assets/Modal.css';import '../../../assets/ContenedorVentana.css';import '../../../assets/IconoTooltip.css';import '../../../assets/ItemsModal.css';import '../../../assets/Logo.css';import '../../../assets/Bootstrap.css';import '../../../assets/Paginador.css';import '../../../assets/ContenidoModal.css';/* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
8
- import "../../../ui/logo/Logo.js";
8
+ /* empty css */
9
9
  import "react-router-dom";
10
10
  /* empty css */
11
11
  /* empty css */
@@ -1,71 +1,45 @@
1
- import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
- import * as y from "react";
3
- import $ from "react";
4
- import { l as k } from "../../../index-D_9gBL0I.js";
5
- import { u as x, c as N } from "../../../ThemeProvider-CFCmmLJC.js";
6
- import '../../../assets/Tabla.css';const v = /* @__PURE__ */ y.forwardRef(({
7
- bsPrefix: n,
8
- className: a,
9
- striped: i,
10
- bordered: c,
11
- borderless: p,
12
- hover: g,
13
- size: d,
14
- variant: h,
15
- responsive: s,
16
- ...b
17
- }, f) => {
18
- const o = x(n, "table"), t = N(a, o, h && `${o}-${h}`, d && `${o}-${d}`, i && `${o}-${typeof i == "string" ? `striped-${i}` : "striped"}`, c && `${o}-bordered`, p && `${o}-borderless`, g && `${o}-hover`), l = /* @__PURE__ */ e("table", {
19
- ...b,
20
- className: t,
21
- ref: f
22
- });
23
- if (s) {
24
- let r = `${o}-responsive`;
25
- return typeof s == "string" && (r = `${r}-${s}`), /* @__PURE__ */ e("div", {
26
- className: r,
27
- children: l
28
- });
29
- }
30
- return l;
31
- }), B = ({
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
+ import C from "react";
3
+ import { p as y } from "../../../index-CcQhl4DX.js";
4
+ import { T as k } from "../../../Table-dmTfkFLf.js";
5
+ import '../../../assets/Tabla.css';const T = ({
32
6
  columns: n,
33
- filteredData: a,
34
- tableData: i,
7
+ filteredData: o,
8
+ tableData: g,
35
9
  hasMoreData: c,
36
10
  setHasMoreData: p,
37
- visibleData: g,
38
- setVisibleData: d,
39
- handleCellClick: h,
40
- totalDias: s,
41
- isShared: b
11
+ visibleData: f,
12
+ setVisibleData: b,
13
+ handleCellClick: m,
14
+ totalDias: d,
15
+ isShared: u
42
16
  }) => {
43
- const f = (t) => {
44
- if (s) {
45
- const l = t / s * 100;
46
- return l <= 25 ? { backgroundColor: "#3AB34A", color: "#FFFFFF" } : l <= 50 ? { backgroundColor: "#F8EB10", color: "#000000" } : l <= 75 ? { backgroundColor: "#F79122", color: "#000000" } : { backgroundColor: "#E91720", color: "#FFFFFF" };
17
+ const s = (r) => {
18
+ if (d) {
19
+ const t = r / d * 100;
20
+ return t <= 25 ? { backgroundColor: "#3AB34A", color: "#FFFFFF" } : t <= 50 ? { backgroundColor: "#F8EB10", color: "#000000" } : t <= 75 ? { backgroundColor: "#F79122", color: "#000000" } : { backgroundColor: "#E91720", color: "#FFFFFF" };
47
21
  }
48
22
  return { backgroundColor: "transparent", color: "inherit" };
49
23
  };
50
- return /* @__PURE__ */ e("div", { className: "table_container", children: /* @__PURE__ */ e("div", { className: "table-scroll", onScroll: (t) => {
51
- const { scrollTop: l, clientHeight: r, scrollHeight: m } = t.currentTarget;
52
- m - l <= r + 50 && c && d((F) => {
53
- const C = F + 5;
54
- return C >= a.length && p(!1), Math.min(C, a.length);
24
+ return /* @__PURE__ */ e("div", { className: "table_container", children: /* @__PURE__ */ e("div", { className: "table-scroll", onScroll: (r) => {
25
+ const { scrollTop: t, clientHeight: l, scrollHeight: i } = r.currentTarget;
26
+ i - t <= l + 50 && c && b((F) => {
27
+ const h = F + 5;
28
+ return h >= o.length && p(!1), Math.min(h, o.length);
55
29
  });
56
- }, children: /* @__PURE__ */ u(v, { striped: !0, hover: !0, children: [
57
- /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: n.map((t, l) => /* @__PURE__ */ e("th", { className: "table-header-unp", children: t.label }, l)) }) }),
58
- /* @__PURE__ */ u("tbody", { children: [
59
- i.slice(0, g).map((t, l) => /* @__PURE__ */ u($.Fragment, { children: [
60
- /* @__PURE__ */ e("tr", { children: n.map((r, m) => /* @__PURE__ */ e(
30
+ }, children: /* @__PURE__ */ a(k, { striped: !0, hover: !0, children: [
31
+ /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: n.map((r, t) => /* @__PURE__ */ e("th", { className: "table-header-unp", children: r.label }, t)) }) }),
32
+ /* @__PURE__ */ a("tbody", { children: [
33
+ g.slice(0, f).map((r, t) => /* @__PURE__ */ a(C.Fragment, { children: [
34
+ /* @__PURE__ */ e("tr", { children: n.map((l, i) => /* @__PURE__ */ e(
61
35
  "td",
62
36
  {
63
- onClick: () => h(r, t),
37
+ onClick: () => m(l, r),
64
38
  style: {
65
- cursor: r.hasModal ? "pointer" : "default"
39
+ cursor: l.hasModal ? "pointer" : "default"
66
40
  },
67
- className: r.hasModal ? "cell-with-modal" : "",
68
- children: r.key === "diasHabiles" ? /* @__PURE__ */ e(
41
+ className: l.hasModal ? "cell-with-modal" : "",
42
+ children: l.key === "diasHabiles" ? /* @__PURE__ */ e(
69
43
  "div",
70
44
  {
71
45
  style: {
@@ -79,36 +53,36 @@ import '../../../assets/Tabla.css';const v = /* @__PURE__ */ y.forwardRef(({
79
53
  padding: "8px",
80
54
  borderRadius: "100px",
81
55
  width: "40px",
82
- backgroundColor: f(
83
- t.diasHabiles
56
+ backgroundColor: s(
57
+ r.diasHabiles
84
58
  ).backgroundColor,
85
- color: f(
86
- t.diasHabiles
59
+ color: s(
60
+ r.diasHabiles
87
61
  ).color
88
62
  },
89
- children: /* @__PURE__ */ e("span", { children: t.diasHabiles })
63
+ children: /* @__PURE__ */ e("span", { children: r.diasHabiles })
90
64
  }
91
65
  )
92
66
  }
93
- ) : r.renderComponent ? r.renderComponent(t) : t[r.key]
67
+ ) : l.renderComponent ? l.renderComponent(r) : r[l.key]
94
68
  },
95
- m
69
+ i
96
70
  )) }),
97
- b && t.estadoRegistro === "en_gestion" && !a.some((r) => r.estadoRegistro === "en_gestion" && a.indexOf(r) > l) && /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: n.length, className: "text-center", style: { padding: "0 0 0 0" }, children: /* @__PURE__ */ e("div", { style: {
71
+ u && r.estadoRegistro === "en_gestion" && !o.some((l) => l.estadoRegistro === "en_gestion" && o.indexOf(l) > t) && /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: n.length, className: "text-center", style: { padding: "0 0 0 0" }, children: /* @__PURE__ */ e("div", { style: {
98
72
  height: "2rem",
99
73
  display: "flex",
100
74
  flexDirection: "row",
101
75
  justifyContent: "center",
102
76
  alignItems: "center",
103
77
  fontWeight: "600",
104
- color: l % 2 === 0 ? "#365072" : "#303D50",
105
- backgroundColor: l % 2 === 0 ? "#fefefe" : "#f9fafa"
106
- }, children: /* @__PURE__ */ e(k, { style: { fontSize: "1.3rem" } }) }) }) })
107
- ] }, l)),
78
+ color: t % 2 === 0 ? "#365072" : "#303D50",
79
+ backgroundColor: t % 2 === 0 ? "#fefefe" : "#f9fafa"
80
+ }, children: /* @__PURE__ */ e(y, { style: { fontSize: "1.3rem" } }) }) }) })
81
+ ] }, t)),
108
82
  c && /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: n.length, className: "text-center", children: "Cargando más datos..." }) })
109
83
  ] })
110
84
  ] }) }) });
111
85
  };
112
86
  export {
113
- B as Tabla
87
+ T as Tabla
114
88
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as s, Fragment as p, jsx as e } from "react/jsx-runtime";
2
2
  import N, { useState as n } from "react";
3
- import { f } from "../../index-D_9gBL0I.js";
3
+ import { l as g } from "../../index-CcQhl4DX.js";
4
4
  import '../../assets/ContenidoModal.css';/* empty css */
5
5
  const x = ({ title: u, modalContent: i, children: d }) => {
6
6
  const [t, l] = n(0), [m, r] = n(!0), [c, o] = n(!1);
@@ -27,7 +27,7 @@ const x = ({ title: u, modalContent: i, children: d }) => {
27
27
  /* @__PURE__ */ e("span", { className: "tooltip-text", children: a.label })
28
28
  ] }) }, h)) }),
29
29
  !m && /* @__PURE__ */ e("div", { className: `close-group ${c ? "show" : "hide"}`, children: /* @__PURE__ */ e(
30
- f,
30
+ g,
31
31
  {
32
32
  className: "icon-close-registro",
33
33
  onClick: () => {