react-ecosistema-unp 0.7.2 → 0.8.1
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/{NotificacionUsuario-uif1f5Yt.js → NotificacionUsuario-DRuxRQ6q.js} +1 -1
- package/dist/accessibility/{components → barra-accesibilidad}/BarraAccesibilidad.js +18 -18
- package/dist/accessibility.js +1 -1
- package/dist/assets/BarraAccesibilidad.css +1 -1
- package/dist/assets/Bootstrap.css +1 -1
- package/dist/assets/ContenedorTarjeta.css +1 -0
- package/dist/assets/ContenidoModal.css +1 -1
- package/dist/assets/IconoTabla.css +1 -0
- package/dist/assets/Logo.css +1 -0
- package/dist/assets/MenuLateral.css +1 -1
- package/dist/assets/Modal.css +1 -1
- package/dist/assets/NotificacionUsuario.css +1 -1
- package/dist/assets/SeccionTarjeta.css +1 -0
- package/dist/assets/SeccionTarjetaLectura.css +1 -0
- package/dist/assets/TabVentana.css +1 -1
- package/dist/assets/Tabla.css +1 -1
- package/dist/assets/Tarjeta.css +1 -1
- package/dist/assets/TarjetaInfo.css +1 -0
- package/dist/assets/TarjetaLectura.css +1 -0
- package/dist/assets/TarjetaListado.css +1 -0
- package/dist/index-PYPwtOs4.js +55 -0
- package/dist/lib/accessibility/barra-accesibilidad/BarraAccesibilidad.d.ts +2 -0
- package/dist/lib/accessibility.d.ts +1 -1
- package/dist/lib/shared.d.ts +3 -4
- package/dist/lib/tables/{components → tabla-registros/buscador}/Buscador.d.ts +1 -1
- package/dist/lib/tables/tabla-registros/contenido-modal/ContenidoModal.d.ts +18 -0
- package/dist/lib/tables/{components → tabla-registros/encabezado}/EncabezadoTabla.d.ts +1 -1
- package/dist/lib/tables/tabla-registros/icono-tabla/IconoTabla.d.ts +14 -0
- package/dist/lib/tables.d.ts +2 -1
- package/dist/lib/ui/logo/Logo.d.ts +14 -0
- package/dist/lib/ui/{components → paginador}/Paginador.d.ts +3 -1
- package/dist/lib/ui/{components → tarjeta/contenedor-tarjeta}/ContenedorTarjeta.d.ts +0 -1
- package/dist/lib/ui/tarjeta/seccion-tarjeta/SeccionTarjeta.d.ts +8 -0
- package/dist/lib/ui/{components → tarjeta/tarjeta-agregar}/TarjetaAgregar.d.ts +2 -1
- package/dist/lib/ui/tarjeta-info/TarjetaInfo.d.ts +9 -0
- package/dist/lib/ui/tarjeta-lectura/TarjetaLectura.d.ts +22 -0
- package/dist/lib/ui/tarjeta-lectura/seccion-tarjeta-lectura/SeccionTarjetaLectura.d.ts +7 -0
- package/dist/lib/ui/tarjeta-listado/TarjetaListado.d.ts +14 -0
- package/dist/lib/ui.d.ts +13 -8
- package/dist/logo_escudo_blanco-DaOI8SGq.js +4 -0
- package/dist/shared/{components → menu-lateral}/MenuLateral.js +32 -31
- package/dist/shared/notificacion-usuario/NotificacionUsuario.js +5 -0
- package/dist/shared/{components → ventana-lienzo}/VentanaLienzo.js +1 -1
- package/dist/shared/{components → ventana-tabs}/VentanaTabs.js +2 -2
- package/dist/shared.js +4 -6
- package/dist/tables/{components → tabla-registros}/TablaRegistros.js +3 -3
- package/dist/tables/{components → tabla-registros/buscador}/Buscador.js +6 -6
- package/dist/tables/tabla-registros/contenido-modal/ContenidoModal.js +57 -0
- package/dist/{ui/components/ContenidoModal.js → tables/tabla-registros/contenido-modal/ContenidoModalv0.1.js} +2 -2
- package/dist/tables/tabla-registros/encabezado/EncabezadoTabla.js +30 -0
- package/dist/tables/tabla-registros/icono-tabla/IconoTabla.js +68 -0
- package/dist/tables/{components → tabla-registros/modal}/Modal.js +1 -1
- package/dist/tables/{components → tabla-registros/tabla}/Tabla.js +19 -19
- package/dist/tables.js +3 -1
- package/dist/ui/encabezado/Encabezado.js +15 -0
- package/dist/ui/logo/Logo.js +12 -0
- package/dist/ui/paginador/Paginador.js +66 -0
- package/dist/ui/{components → subtitulo}/Subtitulo.js +2 -2
- package/dist/ui/{components → tarjeta}/Tarjeta.js +20 -20
- package/dist/ui/tarjeta/contenedor-tarjeta/ContenedorTarjeta.js +15 -0
- package/dist/ui/tarjeta/seccion-tarjeta/SeccionTarjeta.js +7 -0
- package/dist/ui/{components → tarjeta/tarjeta-agregar}/TarjetaAgregar.js +8 -9
- package/dist/ui/tarjeta-info/TarjetaInfo.js +42 -0
- package/dist/ui/tarjeta-lectura/TarjetaLectura.js +66 -0
- package/dist/ui/tarjeta-lectura/seccion-tarjeta-lectura/SeccionTarjetaLectura.js +9 -0
- package/dist/ui/tarjeta-listado/TarjetaListado.js +40 -0
- package/dist/ui.js +23 -13
- package/package.json +1 -1
- package/dist/assets/IconoTipoSolicitud.css +0 -1
- package/dist/index-DHX2gxCC.js +0 -27
- package/dist/lib/accessibility/components/BarraAccesibilidad.d.ts +0 -2
- package/dist/lib/shared/components/LoadingPage.d.ts +0 -3
- package/dist/lib/ui/components/IconoTipoSolicitud.d.ts +0 -7
- package/dist/shared/components/LoadingPage.js +0 -16
- package/dist/shared/components/NotificacionUsuario.js +0 -5
- package/dist/tables/components/EncabezadoTabla.js +0 -24
- package/dist/ui/components/ContenedorTarjeta.js +0 -7
- package/dist/ui/components/Encabezado.js +0 -14
- package/dist/ui/components/IconoTipoSolicitud.js +0 -59
- package/dist/ui/components/Paginador.js +0 -56
- /package/dist/lib/{tables/assets → assets}/animations/isLoading.json.d.ts +0 -0
- /package/dist/lib/{tables/assets → assets}/animations/noData.json.d.ts +0 -0
- /package/dist/lib/{tables/assets → assets}/animations/noInfo.json.d.ts +0 -0
- /package/dist/lib/shared/{components → menu-lateral}/MenuLateral.d.ts +0 -0
- /package/dist/lib/shared/{components → notificacion-usuario}/NotificacionUsuario.d.ts +0 -0
- /package/dist/lib/shared/{components → ventana-lienzo}/VentanaLienzo.d.ts +0 -0
- /package/dist/lib/shared/{components → ventana-tabs}/TabVentana.d.ts +0 -0
- /package/dist/lib/shared/{components → ventana-tabs}/VentanaTabs.d.ts +0 -0
- /package/dist/lib/tables/{components → tabla-registros}/TablaRegistros.d.ts +0 -0
- /package/dist/lib/{ui/components/ContenidoModal.d.ts → tables/tabla-registros/contenido-modal/ContenidoModalv0.1.d.ts} +0 -0
- /package/dist/lib/tables/{components → tabla-registros/modal}/Modal.d.ts +0 -0
- /package/dist/lib/tables/{components → tabla-registros/tabla}/Tabla.d.ts +0 -0
- /package/dist/lib/ui/{components → encabezado}/Encabezado.d.ts +0 -0
- /package/dist/lib/ui/{components → subtitulo}/Subtitulo.d.ts +0 -0
- /package/dist/lib/ui/{components → tarjeta}/Tarjeta.d.ts +0 -0
- /package/dist/shared/{components → ventana-tabs}/TabVentana.js +0 -0
|
@@ -4,50 +4,51 @@ import { a as z } from "../../chunk-IR6S3I6Y-Dvzk3EbC.js";
|
|
|
4
4
|
import { j as d } from "../../index-CuHybtft.js";
|
|
5
5
|
import { useFinalizarSesion as b } from "../../auth/hooks/useFinalizarSesion.js";
|
|
6
6
|
import { urlBase as M, urlCertificadoLaboral as k } from "../../utils/Url.js";
|
|
7
|
+
import { l as B } from "../../logo_escudo_blanco-DaOI8SGq.js";
|
|
7
8
|
import { G as i } from "../../iconBase-LROS5hdG.js";
|
|
8
|
-
import '../../assets/MenuLateral.css';function
|
|
9
|
+
import '../../assets/MenuLateral.css';function H(e) {
|
|
9
10
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M2 12h2a7.986 7.986 0 0 1 2.337-5.663 7.91 7.91 0 0 1 2.542-1.71 8.12 8.12 0 0 1 6.13-.041A2.488 2.488 0 0 0 17.5 7C18.886 7 20 5.886 20 4.5S18.886 2 17.5 2c-.689 0-1.312.276-1.763.725-2.431-.973-5.223-.958-7.635.059a9.928 9.928 0 0 0-3.18 2.139 9.92 9.92 0 0 0-2.14 3.179A10.005 10.005 0 0 0 2 12zm17.373 3.122c-.401.952-.977 1.808-1.71 2.541s-1.589 1.309-2.542 1.71a8.12 8.12 0 0 1-6.13.041A2.488 2.488 0 0 0 6.5 17C5.114 17 4 18.114 4 19.5S5.114 22 6.5 22c.689 0 1.312-.276 1.763-.725A9.965 9.965 0 0 0 12 22a9.983 9.983 0 0 0 9.217-6.102A9.992 9.992 0 0 0 22 12h-2a7.993 7.993 0 0 1-.627 3.122z" }, child: [] }, { tag: "path", attr: { d: "M12 7.462c-2.502 0-4.538 2.036-4.538 4.538S9.498 16.538 12 16.538s4.538-2.036 4.538-4.538S14.502 7.462 12 7.462zm0 7.076c-1.399 0-2.538-1.139-2.538-2.538S10.601 9.462 12 9.462s2.538 1.139 2.538 2.538-1.139 2.538-2.538 2.538z" }, child: [] }] })(e);
|
|
10
11
|
}
|
|
11
|
-
function
|
|
12
|
+
function C(e) {
|
|
12
13
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M19 2H6c-1.206 0-3 .799-3 3v14c0 2.201 1.794 3 3 3h15v-2H6.012C5.55 19.988 5 19.806 5 19s.55-.988 1.012-1H21V4c0-1.103-.897-2-2-2zm0 14H5V5c0-.806.55-.988 1-1h13v12z" }, child: [] }] })(e);
|
|
13
14
|
}
|
|
14
|
-
function
|
|
15
|
+
function _(e) {
|
|
15
16
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M20 4H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm0 2v.511l-8 6.223-8-6.222V6h16zM4 18V9.044l7.386 5.745a.994.994 0 0 0 1.228 0L20 9.044 20.002 18H4z" }, child: [] }] })(e);
|
|
16
17
|
}
|
|
17
|
-
function
|
|
18
|
+
function w(e) {
|
|
18
19
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.953 2C6.465 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.493 2 11.953 2zM12 20c-4.411 0-8-3.589-8-8s3.567-8 7.953-8C16.391 4 20 7.589 20 12s-3.589 8-8 8z" }, child: [] }, { tag: "path", attr: { d: "M11 7h2v7h-2zm0 8h2v2h-2z" }, child: [] }] })(e);
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function A(e) {
|
|
21
22
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M19.903 8.586a.997.997 0 0 0-.196-.293l-6-6a.997.997 0 0 0-.293-.196c-.03-.014-.062-.022-.094-.033a.991.991 0 0 0-.259-.051C13.04 2.011 13.021 2 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-.021-.011-.04-.013-.062a.952.952 0 0 0-.051-.259c-.01-.032-.019-.063-.033-.093zM16.586 8H14V5.414L16.586 8zM6 20V4h6v5a1 1 0 0 0 1 1h5l.002 10H6z" }, child: [] }, { tag: "path", attr: { d: "M8 12h8v2H8zm0 4h8v2H8zm0-8h2v2H8z" }, child: [] }] })(e);
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
+
function S(e) {
|
|
24
25
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M3 13h1v7c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-7h1a1 1 0 0 0 .707-1.707l-9-9a.999.999 0 0 0-1.414 0l-9 9A1 1 0 0 0 3 13zm7 7v-5h4v5h-4zm2-15.586 6 6V15l.001 5H16v-5c0-1.103-.897-2-2-2h-4c-1.103 0-2 .897-2 2v5H6v-9.586l6-6z" }, child: [] }] })(e);
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
+
function V(e) {
|
|
27
28
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4.222 19.778a4.983 4.983 0 0 0 3.535 1.462 4.986 4.986 0 0 0 3.536-1.462l2.828-2.829-1.414-1.414-2.828 2.829a3.007 3.007 0 0 1-4.243 0 3.005 3.005 0 0 1 0-4.243l2.829-2.828-1.414-1.414-2.829 2.828a5.006 5.006 0 0 0 0 7.071zm15.556-8.485a5.008 5.008 0 0 0 0-7.071 5.006 5.006 0 0 0-7.071 0L9.879 7.051l1.414 1.414 2.828-2.829a3.007 3.007 0 0 1 4.243 0 3.005 3.005 0 0 1 0 4.243l-2.829 2.828 1.414 1.414 2.829-2.828z" }, child: [] }, { tag: "path", attr: { d: "m8.464 16.95-1.415-1.414 8.487-8.486 1.414 1.415z" }, child: [] }] })(e);
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
+
function L(e) {
|
|
30
31
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M16 13v-2H7V8l-5 4 5 4v-3z" }, child: [] }, { tag: "path", attr: { d: "M20 3h-9c-1.103 0-2 .897-2 2v4h2V5h9v14h-9v-4H9v4c0 1.103.897 2 2 2h9c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2z" }, child: [] }] })(e);
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function P(e) {
|
|
33
34
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "m12 17 1-2V9.858c1.721-.447 3-2 3-3.858 0-2.206-1.794-4-4-4S8 3.794 8 6c0 1.858 1.279 3.411 3 3.858V15l1 2zM10 6c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2-2-.897-2-2z" }, child: [] }, { tag: "path", attr: { d: "m16.267 10.563-.533 1.928C18.325 13.207 20 14.584 20 16c0 1.892-3.285 4-8 4s-8-2.108-8-4c0-1.416 1.675-2.793 4.267-3.51l-.533-1.928C4.197 11.54 2 13.623 2 16c0 3.364 4.393 6 10 6s10-2.636 10-6c0-2.377-2.197-4.46-5.733-5.437z" }, child: [] }] })(e);
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
+
function T(e) {
|
|
36
37
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4 6h16v2H4zm4 5h12v2H8zm5 5h7v2h-7z" }, child: [] }] })(e);
|
|
37
38
|
}
|
|
38
|
-
function
|
|
39
|
+
function I(e) {
|
|
39
40
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" }, child: [] }] })(e);
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
+
function y(e) {
|
|
42
43
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.63 21.91A.9.9 0 0 0 12 22a1 1 0 0 0 .41-.09C22 17.67 21 7 21 6.9a1 1 0 0 0-.55-.79l-8-4a1 1 0 0 0-.9 0l-8 4A1 1 0 0 0 3 6.9c0 .1-.92 10.77 8.63 15.01zM5 7.63l7-3.51 7 3.51c.05 2-.27 9-7 12.27C5.26 16.63 4.94 9.64 5 7.63z" }, child: [] }, { tag: "path", attr: { d: "M11.06 16h2v-3h3.01v-2h-3.01V8h-2v3h-3v2h3v3z" }, child: [] }] })(e);
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function j(e) {
|
|
45
46
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M3.414 13.778 2 15.192l4.949 2.121 2.122 4.95 1.414-1.414-.707-3.536L13.091 14l3.61 7.704 1.339-1.339-1.19-10.123 2.828-2.829a2 2 0 1 0-2.828-2.828l-2.903 2.903L3.824 6.297 2.559 7.563l7.644 3.67-3.253 3.253-3.536-.708z" }, child: [] }] })(e);
|
|
46
47
|
}
|
|
47
|
-
function
|
|
48
|
+
function E(e) {
|
|
48
49
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M15.661 15.549a1.315 1.315 0 0 0 1.185-1.386 1.363 1.363 0 0 0-1.35-1.302h-.048a1.352 1.352 0 0 0-1.303 1.397c.024.379.179.687.391.911-.827 1.609-2.07 2.794-3.954 3.788-1.266.663-2.604.912-3.905.734-1.089-.153-1.94-.64-2.463-1.421-.78-1.185-.852-2.462-.201-3.74a5.597 5.597 0 0 1 1.658-1.931 7.88 7.88 0 0 1-.331-1.218c-3.506 2.51-3.148 5.942-2.084 7.564.794 1.184 2.415 1.941 4.19 1.941.474 0 .972-.035 1.457-.154 3.077-.592 5.409-2.438 6.747-5.16l.011-.023z" }, child: [] }, { tag: "path", attr: { d: "M19.887 12.589c-1.834-2.154-4.533-3.337-7.611-3.337h-.403c-.2-.438-.661-.711-1.183-.711h-.036c-.744 0-1.325.64-1.301 1.385.023.71.627 1.302 1.35 1.302h.059a1.332 1.332 0 0 0 1.183-.828h.439c1.824 0 3.551.532 5.126 1.574 1.206.792 2.072 1.834 2.557 3.077.425 1.019.402 2.013-.035 2.843-.675 1.302-1.812 1.988-3.314 1.988-.947 0-1.871-.296-2.345-.509-.283.235-.758.626-1.102.863 1.042.473 2.096.746 3.113.746 2.309 0 4.023-1.302 4.676-2.557.709-1.422.651-3.813-1.161-5.859l-.012.023z" }, child: [] }, { tag: "path", attr: { d: "M7.647 15.975c.023.71.626 1.302 1.35 1.302h.048a1.334 1.334 0 0 0 1.302-1.397c0-.71-.616-1.301-1.338-1.301h-.048c-.048 0-.118 0-.178.022-.982-1.657-1.397-3.434-1.242-5.349.094-1.445.567-2.7 1.42-3.742.71-.888 2.048-1.326 2.96-1.35 2.556-.048 3.622 3.138 3.704 4.404l1.184.354C16.536 5.036 14.122 3 11.813 3 9.647 3 7.647 4.574 6.842 6.884c-1.102 3.077-.379 6.036.971 8.404-.118.154-.189.426-.166.687z" }, child: [] }] })(e);
|
|
49
50
|
}
|
|
50
|
-
const
|
|
51
|
+
const J = ({ onToggle: e, isOpen: n }) => {
|
|
51
52
|
const [m, p] = o(!0), [r, s] = o(null), v = n ? "sidebar-bar-panel open" : "sidebar-bar-panel", g = z(), { FinSesion: u } = b();
|
|
52
53
|
if (h(() => {
|
|
53
54
|
const l = localStorage.getItem("user_token");
|
|
@@ -75,39 +76,39 @@ const O = ({ onToggle: e, isOpen: n }) => {
|
|
|
75
76
|
/* @__PURE__ */ a(
|
|
76
77
|
"img",
|
|
77
78
|
{
|
|
78
|
-
src:
|
|
79
|
+
src: B,
|
|
79
80
|
alt: "Logo",
|
|
80
81
|
className: "icon logo-image"
|
|
81
82
|
}
|
|
82
83
|
),
|
|
83
84
|
/* @__PURE__ */ a("div", { className: "logo-name", children: "EI - UNP" }),
|
|
84
85
|
n ? /* @__PURE__ */ a(
|
|
85
|
-
|
|
86
|
+
T,
|
|
86
87
|
{
|
|
87
88
|
className: "bx bx-menu i",
|
|
88
89
|
id: "btn",
|
|
89
90
|
onClick: e
|
|
90
91
|
}
|
|
91
|
-
) : /* @__PURE__ */ a(
|
|
92
|
+
) : /* @__PURE__ */ a(I, { className: "bx bx-menu i", id: "btn", onClick: e })
|
|
92
93
|
] }),
|
|
93
94
|
/* @__PURE__ */ t("ul", { className: "nav-list-panel", children: [
|
|
94
95
|
/* @__PURE__ */ t("li", { children: [
|
|
95
96
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
96
|
-
/* @__PURE__ */ a(
|
|
97
|
+
/* @__PURE__ */ a(S, { className: "bx bx-home i2" }),
|
|
97
98
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Inicio" })
|
|
98
99
|
] }),
|
|
99
100
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Inicio" })
|
|
100
101
|
] }),
|
|
101
102
|
/* @__PURE__ */ t("li", { children: [
|
|
102
103
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
103
|
-
/* @__PURE__ */ a(
|
|
104
|
+
/* @__PURE__ */ a(P, { className: "bx bx-map-pin i2" }),
|
|
104
105
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Mapa del proceso" })
|
|
105
106
|
] }),
|
|
106
107
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Mapa del proceso" })
|
|
107
108
|
] }),
|
|
108
109
|
/* @__PURE__ */ t("li", { children: [
|
|
109
110
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
110
|
-
/* @__PURE__ */ a(
|
|
111
|
+
/* @__PURE__ */ a(C, { className: "bx bx-book-alt i2" }),
|
|
111
112
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Manuales de usuario" })
|
|
112
113
|
] }),
|
|
113
114
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Manual de usuario" })
|
|
@@ -115,7 +116,7 @@ const O = ({ onToggle: e, isOpen: n }) => {
|
|
|
115
116
|
/* @__PURE__ */ a("div", { style: { paddingLeft: "15px", paddingRight: "15px" }, children: /* @__PURE__ */ a("hr", { style: { borderTop: "1px solid white" } }) }),
|
|
116
117
|
/* @__PURE__ */ t("li", { children: [
|
|
117
118
|
/* @__PURE__ */ t("a", { href: "https://www.unp.gov.co/", target: "_blank", children: [
|
|
118
|
-
/* @__PURE__ */ a(
|
|
119
|
+
/* @__PURE__ */ a(V, { className: "bx bx-link-alt i2" }),
|
|
119
120
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Portal UNP" })
|
|
120
121
|
] }),
|
|
121
122
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Portal UNP" })
|
|
@@ -127,7 +128,7 @@ const O = ({ onToggle: e, isOpen: n }) => {
|
|
|
127
128
|
href: "https://login.microsoftonline.com/common/oauth2/authorize?client_id=00000002-0000-0ff1-ce00-000000000000",
|
|
128
129
|
target: "_blank",
|
|
129
130
|
children: [
|
|
130
|
-
/* @__PURE__ */ a(
|
|
131
|
+
/* @__PURE__ */ a(_, { className: "bx bx-envelope i2" }),
|
|
131
132
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Correo institucional" })
|
|
132
133
|
]
|
|
133
134
|
}
|
|
@@ -136,14 +137,14 @@ const O = ({ onToggle: e, isOpen: n }) => {
|
|
|
136
137
|
] }),
|
|
137
138
|
/* @__PURE__ */ t("li", { children: [
|
|
138
139
|
/* @__PURE__ */ t("a", { href: "http://intranet.unp.gov.co/", target: "_blank", children: [
|
|
139
|
-
/* @__PURE__ */ a(
|
|
140
|
+
/* @__PURE__ */ a(E, { className: "bx bxl-redux i2" }),
|
|
140
141
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Acceso directo a Intranet" })
|
|
141
142
|
] }),
|
|
142
143
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Acceso directo a Intranet" })
|
|
143
144
|
] }),
|
|
144
145
|
/* @__PURE__ */ t("li", { children: [
|
|
145
146
|
/* @__PURE__ */ t("a", { href: "https://mesadeservicios.unp.gov.co/HEAT/", target: "_blank", children: [
|
|
146
|
-
/* @__PURE__ */ a(
|
|
147
|
+
/* @__PURE__ */ a(w, { className: "bx bx-error-circle i2" }),
|
|
147
148
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Mesa de servicios" })
|
|
148
149
|
] }),
|
|
149
150
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Mesa de servicios" })
|
|
@@ -151,28 +152,28 @@ const O = ({ onToggle: e, isOpen: n }) => {
|
|
|
151
152
|
/* @__PURE__ */ a("div", { style: { paddingLeft: "15px", paddingRight: "15px" }, children: /* @__PURE__ */ a("hr", { style: { borderTop: "1px solid white" } }) }),
|
|
152
153
|
/* @__PURE__ */ t("li", { children: [
|
|
153
154
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
154
|
-
/* @__PURE__ */ a(
|
|
155
|
+
/* @__PURE__ */ a(y, { className: "bx i2" }),
|
|
155
156
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Medida de emergencia" })
|
|
156
157
|
] }),
|
|
157
158
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Medida de emergencia" })
|
|
158
159
|
] }),
|
|
159
160
|
/* @__PURE__ */ t("li", { children: [
|
|
160
161
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
161
|
-
/* @__PURE__ */ a(
|
|
162
|
+
/* @__PURE__ */ a(H, { className: "bx i2" }),
|
|
162
163
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Acta de reunión" })
|
|
163
164
|
] }),
|
|
164
165
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Acta de reunión" })
|
|
165
166
|
] }),
|
|
166
167
|
/* @__PURE__ */ t("li", { children: [
|
|
167
168
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
168
|
-
/* @__PURE__ */ a(
|
|
169
|
+
/* @__PURE__ */ a(j, { className: "bx i2" }),
|
|
169
170
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Solicitud de viáticos" })
|
|
170
171
|
] }),
|
|
171
172
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Solicitud de viáticos" })
|
|
172
173
|
] }),
|
|
173
174
|
/* @__PURE__ */ t("li", { children: [
|
|
174
175
|
/* @__PURE__ */ t("a", { href: `${M}${k}`, target: "_blank", children: [
|
|
175
|
-
/* @__PURE__ */ a(
|
|
176
|
+
/* @__PURE__ */ a(A, { className: "bx i2" }),
|
|
176
177
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Certificados laborales (OPS)" })
|
|
177
178
|
] }),
|
|
178
179
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Certificados laborales (OPS)" })
|
|
@@ -191,10 +192,10 @@ const O = ({ onToggle: e, isOpen: n }) => {
|
|
|
191
192
|
] })
|
|
192
193
|
}
|
|
193
194
|
),
|
|
194
|
-
/* @__PURE__ */ a(
|
|
195
|
+
/* @__PURE__ */ a(L, { className: "icon", onClick: u })
|
|
195
196
|
] }) })
|
|
196
197
|
] }) });
|
|
197
198
|
};
|
|
198
199
|
export {
|
|
199
|
-
|
|
200
|
+
J as MenuLateral
|
|
200
201
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { B as a } from "../../chunk-IR6S3I6Y-Dvzk3EbC.js";
|
|
4
|
-
import { MenuLateral as m } from "
|
|
4
|
+
import { MenuLateral as m } from "../menu-lateral/MenuLateral.js";
|
|
5
5
|
const u = ({ children: o }) => {
|
|
6
6
|
const [e, t] = s.useState(!1);
|
|
7
7
|
return /* @__PURE__ */ r(a, { children: [
|
|
@@ -2,8 +2,8 @@ import { jsx as r, jsxs as j } from "react/jsx-runtime";
|
|
|
2
2
|
import * as b from "react";
|
|
3
3
|
import T, { useRef as O, useContext as E, useEffect as M } from "react";
|
|
4
4
|
import { B as H } from "../../chunk-IR6S3I6Y-Dvzk3EbC.js";
|
|
5
|
-
import { MenuLateral as F } from "
|
|
6
|
-
import { N as W, u as Y, a as z, d as G, b as J, q as Q, c as B, e as D, f as X, g as Z } from "../../NotificacionUsuario-
|
|
5
|
+
import { MenuLateral as F } from "../menu-lateral/MenuLateral.js";
|
|
6
|
+
import { N as W, u as Y, a as z, d as G, b as J, q as Q, c as B, e as D, f as X, g as Z } from "../../NotificacionUsuario-DRuxRQ6q.js";
|
|
7
7
|
import { u as ee, T as te, g as ne, a as ae, b as re } from "../../Bootstrap-alDYHlwa.js";
|
|
8
8
|
import { u as L, c as k } from "../../ThemeProvider-DwZMEupk.js";
|
|
9
9
|
import { S as P, T as se, m as oe } from "../../TabContext-BvNFEruk.js";
|
package/dist/shared.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { VentanaLienzo as
|
|
2
|
-
import { VentanaTabs as r } from "./shared/
|
|
3
|
-
import { TabVentana as f } from "./shared/
|
|
4
|
-
import { LoadingPage as p } from "./shared/components/LoadingPage.js";
|
|
1
|
+
import { VentanaLienzo as n } from "./shared/ventana-lienzo/VentanaLienzo.js";
|
|
2
|
+
import { VentanaTabs as r } from "./shared/ventana-tabs/VentanaTabs.js";
|
|
3
|
+
import { TabVentana as f } from "./shared/ventana-tabs/TabVentana.js";
|
|
5
4
|
export {
|
|
6
|
-
p as LoadingPage,
|
|
7
5
|
f as TabVentana,
|
|
8
|
-
|
|
6
|
+
n as VentanaLienzo,
|
|
9
7
|
r as VentanaTabs
|
|
10
8
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useEffect, useState, useRef } from "react";
|
|
3
3
|
import { g as getDefaultExportFromCjs } from "../../ThemeProvider-DwZMEupk.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { Tabla } from "./tabla/Tabla.js";
|
|
5
|
+
import { CustomModal } from "./modal/Modal.js";
|
|
6
|
+
import { EncabezadoTabla } from "./encabezado/EncabezadoTabla.js";
|
|
7
7
|
import '../../assets/TablaRegistros.css';var lottie$2 = { exports: {} }, lottie$1 = lottie$2.exports, hasRequiredLottie;
|
|
8
8
|
function requireLottie() {
|
|
9
9
|
return hasRequiredLottie || (hasRequiredLottie = 1, function(module, exports) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as n, jsxs as C } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { l as w } from "../../../index-PYPwtOs4.js";
|
|
3
3
|
import * as s from "react";
|
|
4
4
|
import { useContext as $, useMemo as T } from "react";
|
|
5
|
-
import { c as p, u as R } from "
|
|
6
|
-
import { w as j } from "
|
|
7
|
-
import { P as l } from "
|
|
8
|
-
import '
|
|
5
|
+
import { c as p, u as R } from "../../../ThemeProvider-DwZMEupk.js";
|
|
6
|
+
import { w as j } from "../../../warning-b8Ghk8WQ.js";
|
|
7
|
+
import { P as l } from "../../../index-B-HWDQSx.js";
|
|
8
|
+
import '../../../assets/Buscador.css';const k = {
|
|
9
9
|
/**
|
|
10
10
|
* Specify whether the feedback is for valid or invalid fields
|
|
11
11
|
*
|
|
@@ -99,5 +99,5 @@ const E = ({ onSearch: e }) => {
|
|
|
99
99
|
] }) });
|
|
100
100
|
};
|
|
101
101
|
export {
|
|
102
|
-
E as
|
|
102
|
+
E as BusquedaInput
|
|
103
103
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsxs as s, Fragment as N, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import p, { useState as n } from "react";
|
|
3
|
+
import { c as g } from "../../../index-PYPwtOs4.js";
|
|
4
|
+
import '../../../assets/ContenidoModal.css';/* empty css */
|
|
5
|
+
const x = ({ title: u, modalContent: i, children: d }) => {
|
|
6
|
+
const [t, l] = n(0), [m, r] = n(!0), [c, o] = n(!1);
|
|
7
|
+
return /* @__PURE__ */ s(N, { children: [
|
|
8
|
+
/* @__PURE__ */ s("div", { style: { marginBottom: "2rem" }, children: [
|
|
9
|
+
/* @__PURE__ */ s("div", { className: "modal-title-container", children: [
|
|
10
|
+
/* @__PURE__ */ s("div", { className: "modal-subtitle-container-left", children: [
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "red-item" }),
|
|
12
|
+
/* @__PURE__ */ e("div", { className: "modal-subtitle", children: c && i && t ? i[t].label : u })
|
|
13
|
+
] }),
|
|
14
|
+
/* @__PURE__ */ e("div", { className: "modal-subtitle-container-right", children: i && /* @__PURE__ */ s("div", { className: "animation-wrapper", children: [
|
|
15
|
+
m && /* @__PURE__ */ e("div", { className: `buttons-group ${c ? "hide" : "show"}`, children: i.slice(1).map((a, h) => /* @__PURE__ */ e(p.Fragment, { children: a.icon && /* @__PURE__ */ s("div", { className: "icon-container", children: [
|
|
16
|
+
/* @__PURE__ */ e(
|
|
17
|
+
a.icon,
|
|
18
|
+
{
|
|
19
|
+
className: "icon-registro",
|
|
20
|
+
onClick: () => {
|
|
21
|
+
setTimeout(() => {
|
|
22
|
+
r(!1);
|
|
23
|
+
}, 200), l(h + 1), o(!0);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ e("span", { className: "tooltip-text", children: a.label })
|
|
28
|
+
] }) }, h)) }),
|
|
29
|
+
!m && /* @__PURE__ */ e("div", { className: `close-group ${c ? "show" : "hide"}`, children: /* @__PURE__ */ e(
|
|
30
|
+
g,
|
|
31
|
+
{
|
|
32
|
+
className: "icon-close-registro",
|
|
33
|
+
onClick: () => {
|
|
34
|
+
setTimeout(() => {
|
|
35
|
+
r(!0);
|
|
36
|
+
}, 200), o(!1), l(0);
|
|
37
|
+
},
|
|
38
|
+
style: { position: "absolute", right: 0 }
|
|
39
|
+
}
|
|
40
|
+
) })
|
|
41
|
+
] }) })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ e("hr", { className: "modal-horizontal-line" })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ s("div", { className: "modal-title-body", children: [
|
|
46
|
+
i && (i[t].content instanceof Function ? i[t].content((a) => {
|
|
47
|
+
l(a), setTimeout(() => {
|
|
48
|
+
r(!1);
|
|
49
|
+
}, 200), o(!0);
|
|
50
|
+
}) : i[t].content),
|
|
51
|
+
d && d
|
|
52
|
+
] })
|
|
53
|
+
] });
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
x as ContenidoModal
|
|
57
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as N, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useEffect as p } from "react";
|
|
3
|
-
import { c as v } from "
|
|
4
|
-
import '
|
|
3
|
+
import { c as v } from "../../../index-PYPwtOs4.js";
|
|
4
|
+
import '../../../assets/ContenidoModal.css';/* empty css */
|
|
5
5
|
const y = ({ title: d, children: h, buttons: s, isShowing: i, setIsShowing: u = () => {
|
|
6
6
|
} }) => {
|
|
7
7
|
const [o, r] = m(0), [c, a] = m(!0);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Encabezado as a } from "../../../ui/encabezado/Encabezado.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import '../../../assets/TarjetaInfo.css';import '../../../assets/TarjetaListado.css';import '../../../assets/SeccionTarjetaLectura.css';import '../../../assets/TarjetaLectura.css';import '../../../assets/Paginador.css';import '../../../assets/ContenedorTarjeta.css';import '../../../assets/SeccionTarjeta.css';import '../../../assets/Tarjeta.css';import '../../../assets/ContenidoModal.css';/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
import "../../../ui/logo/Logo.js";
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
13
|
+
/* empty css */
|
|
14
|
+
import { BusquedaInput as e } from "../buscador/Buscador.js";
|
|
15
|
+
const g = ({
|
|
16
|
+
title: t,
|
|
17
|
+
subtitle: m,
|
|
18
|
+
data: p,
|
|
19
|
+
setSearchTerm: n,
|
|
20
|
+
extraInput: r
|
|
21
|
+
}) => /* @__PURE__ */ i("div", { className: "unp-row", children: [
|
|
22
|
+
/* @__PURE__ */ o(a, { titulo: t, subtitulo: m }),
|
|
23
|
+
/* @__PURE__ */ i("div", { className: "inputs-container", children: [
|
|
24
|
+
p.length > 0 && /* @__PURE__ */ o(e, { onSearch: n }),
|
|
25
|
+
r && /* @__PURE__ */ o("div", { children: r })
|
|
26
|
+
] })
|
|
27
|
+
] });
|
|
28
|
+
export {
|
|
29
|
+
g as EncabezadoTabla
|
|
30
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { jsxs as g, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as C } from "react";
|
|
3
|
+
import { f as h, g as m, h as k, i as p, j as x } from "../../../index-PYPwtOs4.js";
|
|
4
|
+
import '../../../assets/IconoTabla.css';const S = ({ tipoSolicitud: t, porGestionar: o = !1 }) => {
|
|
5
|
+
const [c, s] = C(!1);
|
|
6
|
+
let e = "", l = {}, a = null, n = { color: o ? "#c8c8c8" : "#287cd1" };
|
|
7
|
+
const d = "#28a19d", u = "#ed7e3e", f = "#3e52edf8", v = "#ed3e49f8", b = "#d4c146", i = "#666666f4";
|
|
8
|
+
switch (t) {
|
|
9
|
+
case "Individual":
|
|
10
|
+
e = o ? "Nuevo registro" : "Individual", l = { backgroundColor: o ? i : d, color: "#f7f7f7" }, a = x;
|
|
11
|
+
break;
|
|
12
|
+
case "Colectivo":
|
|
13
|
+
e = o ? "Nuevo registro" : "Colectivo", l = { backgroundColor: o ? i : u, color: "#f7f7f7" }, a = p;
|
|
14
|
+
break;
|
|
15
|
+
case "Jurídico":
|
|
16
|
+
e = o ? "Nuevo registro" : "Jurídico", l = { backgroundColor: o ? i : f, color: "#f7f7f7" }, a = k;
|
|
17
|
+
break;
|
|
18
|
+
case "Emergencia":
|
|
19
|
+
e = o ? "Nuevo registro" : "Emergencia", l = { backgroundColor: o ? i : v, color: "#f7f7f7" }, a = m;
|
|
20
|
+
break;
|
|
21
|
+
case "Reasignación":
|
|
22
|
+
e = o ? "Nuevo registro" : "Reasignación", l = { backgroundColor: o ? i : b, color: "#f7f7f7" }, a = h;
|
|
23
|
+
break;
|
|
24
|
+
default:
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return /* @__PURE__ */ g("div", { style: { position: "relative", display: "inline-block" }, children: [
|
|
28
|
+
/* @__PURE__ */ r(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
onMouseEnter: () => s(!0),
|
|
32
|
+
onMouseLeave: () => s(!1),
|
|
33
|
+
style: {
|
|
34
|
+
...n
|
|
35
|
+
},
|
|
36
|
+
className: "icon-solicitud",
|
|
37
|
+
children: /* @__PURE__ */ r(a, {})
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
c && /* @__PURE__ */ r(
|
|
41
|
+
"div",
|
|
42
|
+
{
|
|
43
|
+
style: {
|
|
44
|
+
position: "absolute",
|
|
45
|
+
top: "50%",
|
|
46
|
+
left: "110%",
|
|
47
|
+
transform: "translateY(-50%)",
|
|
48
|
+
backgroundColor: "#eb7575",
|
|
49
|
+
color: "#fff",
|
|
50
|
+
padding: "8px 12px",
|
|
51
|
+
borderRadius: "8px",
|
|
52
|
+
fontSize: "0.9em",
|
|
53
|
+
whiteSpace: "nowrap",
|
|
54
|
+
boxShadow: "0 2px 6px rgba(0, 0, 0, 0.15)",
|
|
55
|
+
opacity: c ? 1 : 0,
|
|
56
|
+
visibility: c ? "visible" : "hidden",
|
|
57
|
+
zIndex: 1e3,
|
|
58
|
+
transition: "opacity 0.3s ease, visibility 0.3s ease",
|
|
59
|
+
...l
|
|
60
|
+
},
|
|
61
|
+
children: e
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
] });
|
|
65
|
+
};
|
|
66
|
+
export {
|
|
67
|
+
S as IconoTabla
|
|
68
|
+
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsx as e, jsxs as u } from "react/jsx-runtime";
|
|
2
2
|
import * as y from "react";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { u as x, c as N } from "
|
|
6
|
-
import '
|
|
3
|
+
import k from "react";
|
|
4
|
+
import { k as $ } from "../../../index-PYPwtOs4.js";
|
|
5
|
+
import { u as x, c as N } from "../../../ThemeProvider-DwZMEupk.js";
|
|
6
|
+
import '../../../assets/Tabla.css';const v = /* @__PURE__ */ y.forwardRef(({
|
|
7
7
|
bsPrefix: n,
|
|
8
|
-
className:
|
|
8
|
+
className: a,
|
|
9
9
|
striped: i,
|
|
10
10
|
bordered: c,
|
|
11
11
|
borderless: p,
|
|
12
12
|
hover: g,
|
|
13
13
|
size: d,
|
|
14
14
|
variant: h,
|
|
15
|
-
responsive:
|
|
15
|
+
responsive: s,
|
|
16
16
|
...b
|
|
17
17
|
}, f) => {
|
|
18
|
-
const o = x(n, "table"), t = N(
|
|
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
19
|
...b,
|
|
20
20
|
className: t,
|
|
21
21
|
ref: f
|
|
22
22
|
});
|
|
23
|
-
if (
|
|
23
|
+
if (s) {
|
|
24
24
|
let r = `${o}-responsive`;
|
|
25
|
-
return typeof
|
|
25
|
+
return typeof s == "string" && (r = `${r}-${s}`), /* @__PURE__ */ e("div", {
|
|
26
26
|
className: r,
|
|
27
27
|
children: l
|
|
28
28
|
});
|
|
@@ -30,19 +30,19 @@ import '../../assets/Tabla.css';const v = /* @__PURE__ */ y.forwardRef(({
|
|
|
30
30
|
return l;
|
|
31
31
|
}), B = ({
|
|
32
32
|
columns: n,
|
|
33
|
-
filteredData:
|
|
33
|
+
filteredData: a,
|
|
34
34
|
tableData: i,
|
|
35
35
|
hasMoreData: c,
|
|
36
36
|
setHasMoreData: p,
|
|
37
37
|
visibleData: g,
|
|
38
38
|
setVisibleData: d,
|
|
39
39
|
handleCellClick: h,
|
|
40
|
-
totalDias:
|
|
40
|
+
totalDias: s,
|
|
41
41
|
isShared: b
|
|
42
42
|
}) => {
|
|
43
43
|
const f = (t) => {
|
|
44
|
-
if (
|
|
45
|
-
const l = t /
|
|
44
|
+
if (s) {
|
|
45
|
+
const l = t / s * 100;
|
|
46
46
|
return l <= 25 ? { backgroundColor: "#3AB34A", color: "#FFFFFF" } : l <= 50 ? { backgroundColor: "#F8EB10", color: "#000000" } : l <= 75 ? { backgroundColor: "#F79122", color: "#000000" } : { backgroundColor: "#E91720", color: "#FFFFFF" };
|
|
47
47
|
}
|
|
48
48
|
return { backgroundColor: "transparent", color: "inherit" };
|
|
@@ -51,12 +51,12 @@ import '../../assets/Tabla.css';const v = /* @__PURE__ */ y.forwardRef(({
|
|
|
51
51
|
const { scrollTop: l, clientHeight: r, scrollHeight: m } = t.currentTarget;
|
|
52
52
|
m - l <= r + 50 && c && d((F) => {
|
|
53
53
|
const C = F + 5;
|
|
54
|
-
return C >=
|
|
54
|
+
return C >= a.length && p(!1), Math.min(C, a.length);
|
|
55
55
|
});
|
|
56
56
|
}, children: /* @__PURE__ */ u(v, { striped: !0, hover: !0, children: [
|
|
57
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
58
|
/* @__PURE__ */ u("tbody", { children: [
|
|
59
|
-
i.slice(0, g).map((t, l) => /* @__PURE__ */ u(
|
|
59
|
+
i.slice(0, g).map((t, l) => /* @__PURE__ */ u(k.Fragment, { children: [
|
|
60
60
|
/* @__PURE__ */ e("tr", { children: n.map((r, m) => /* @__PURE__ */ e(
|
|
61
61
|
"td",
|
|
62
62
|
{
|
|
@@ -94,16 +94,16 @@ import '../../assets/Tabla.css';const v = /* @__PURE__ */ y.forwardRef(({
|
|
|
94
94
|
},
|
|
95
95
|
m
|
|
96
96
|
)) }),
|
|
97
|
-
b && t.estadoRegistro === "en_gestion" && !
|
|
98
|
-
height: "
|
|
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: {
|
|
98
|
+
height: "2rem",
|
|
99
99
|
display: "flex",
|
|
100
100
|
flexDirection: "row",
|
|
101
101
|
justifyContent: "center",
|
|
102
102
|
alignItems: "center",
|
|
103
103
|
fontWeight: "600",
|
|
104
104
|
color: l % 2 === 0 ? "#365072" : "#303D50",
|
|
105
|
-
backgroundColor: l % 2 === 0 ? "#fefefe" : "#
|
|
106
|
-
}, children: /* @__PURE__ */ e(
|
|
105
|
+
backgroundColor: l % 2 === 0 ? "#fefefe" : "#f9fafa"
|
|
106
|
+
}, children: /* @__PURE__ */ e($, { style: { fontSize: "1.3rem" } }) }) }) })
|
|
107
107
|
] }, l)),
|
|
108
108
|
c && /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: n.length, className: "text-center", children: "Cargando más datos..." }) })
|
|
109
109
|
] })
|
package/dist/tables.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { TablaRegistros as a } from "./tables/
|
|
1
|
+
import { TablaRegistros as a } from "./tables/tabla-registros/TablaRegistros.js";
|
|
2
|
+
import { IconoTabla as t } from "./tables/tabla-registros/icono-tabla/IconoTabla.js";
|
|
2
3
|
export {
|
|
4
|
+
t as IconoTabla,
|
|
3
5
|
a as TablaRegistros
|
|
4
6
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Logo as s } from "../logo/Logo.js";
|
|
3
|
+
import '../../assets/Encabezado.css';const r = ({ titulo: a = "", subtitulo: n = "" }) => /* @__PURE__ */ i("div", { className: "title-container", children: [
|
|
4
|
+
/* @__PURE__ */ i("div", { className: "logo-subtitle-container", children: [
|
|
5
|
+
/* @__PURE__ */ e("div", { className: "red-section" }),
|
|
6
|
+
/* @__PURE__ */ e(s, { type: "entidad", variant: "unp", color: "gris", height: "62" })
|
|
7
|
+
] }),
|
|
8
|
+
/* @__PURE__ */ i("div", { className: "subtitle-container", children: [
|
|
9
|
+
/* @__PURE__ */ e("span", { className: "title", children: a || "Unidad Nacional de Protección" }),
|
|
10
|
+
/* @__PURE__ */ e("span", { className: "subtitle", children: n })
|
|
11
|
+
] })
|
|
12
|
+
] });
|
|
13
|
+
export {
|
|
14
|
+
r as Encabezado
|
|
15
|
+
};
|