react-ecosistema-unp 1.7.0-pre.8 → 1.7.1-8.pre-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.
- package/dist/TabPane-BiwPZSbT.js +752 -0
- package/dist/assets/ContenedorVentana.css +1 -1
- package/dist/assets/EcoModalStyles.css +1 -0
- package/dist/assets/MenuLateral.css +1 -1
- package/dist/assets/Modal.css +1 -1
- package/dist/assets/TabVentana.css +1 -1
- package/dist/assets/Tabla.css +1 -1
- package/dist/assets/Tarjeta.css +1 -1
- package/dist/cards/tarjeta/Tarjeta.js +37 -34
- package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +1 -1
- package/dist/cards/tarjeta-info/TarjetaInfo.js +1 -1
- package/dist/data/tarjeta-datos/TarjetaDatos.js +1 -1
- package/dist/index-BrykDZgK.js +390 -0
- package/dist/{index-CgSyrJ_X.js → index-D3WseyJh.js} +18 -14
- package/dist/{index-Cpp73e44.js → index-DDjnZyBf.js} +31 -19
- package/dist/lib/auth/contexts/AuthContex.d.ts +3 -0
- package/dist/lib/cards/tarjeta/Tarjeta.d.ts +1 -0
- package/dist/lib/tables/tabla-registros/TablaRegistros.d.ts +8 -0
- package/dist/lib/tables/tabla-registros/modal/Modal.d.ts +2 -3
- package/dist/lib/tables/tabla-registros/modal-v2/EcoModal.d.ts +22 -0
- package/dist/lib/tables/tabla-registros/tabla/Tabla.d.ts +7 -1
- package/dist/lib/ui/items-modal/ItemsModal.d.ts +1 -0
- package/dist/lib/ui/paginador/Paginador.d.ts +3 -0
- package/dist/lib/ui.d.ts +1 -1
- package/dist/lib/utils/eco-provider/EcoContext.d.ts +4 -0
- package/dist/lib/utils/fetch-interceptor/fetchInterceptor.d.ts +7 -0
- package/dist/lib/utils/websocket-manager/WebSocketContext.d.ts +3 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/shared/app-list/AppList.js +2 -2
- package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
- package/dist/shared/menu-lateral/MenuLateral.js +51 -46
- package/dist/shared/notificacion-usuario/NotificacionUsuario.js +3 -3
- package/dist/shared/tab-ventana/TabVentana.js +1 -1
- package/dist/shared/ventana-tabs/VentanaTabs.js +1 -1
- package/dist/tables/tabla-registros/TablaRegistros.js +499 -492
- package/dist/tables/tabla-registros/buscador/Buscador.js +1 -1
- package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +12 -9
- package/dist/tables/tabla-registros/modal/Modal.js +23 -23
- package/dist/tables/tabla-registros/modal-v2/EcoModal.js +118 -0
- package/dist/tables/tabla-registros/tabla/Tabla.js +187 -127
- package/dist/ui/contenido-modal/ContenidoModal.js +1 -1
- package/dist/ui/contenido-modal/ContenidoModalv0.1.js +1 -1
- package/dist/ui/icono-tooltip/IconoTooltip.js +1 -1
- package/dist/ui/items-modal/ItemsModal.js +16 -13
- package/dist/ui/paginador/Paginador.js +27 -16
- package/dist/ui.js +9 -8
- package/dist/utils/components/ProtectedRoute.js +74 -31
- package/dist/utils/components/UserRoute.js +45 -22
- package/dist/utils/eco-provider/EcoContext.js +31 -0
- package/dist/utils/fetch-interceptor/fetchInterceptor.js +56 -0
- package/dist/utils/unp-historico/UnpHistorico.js +6 -4
- package/dist/utils.js +17 -15
- package/package.json +4 -2
- package/dist/TabPane-DtFCEmIj.js +0 -1136
|
@@ -2,25 +2,28 @@ import { G as t } from "./iconBase-LROS5hdG.js";
|
|
|
2
2
|
function h(c) {
|
|
3
3
|
return t({ 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: [] }] })(c);
|
|
4
4
|
}
|
|
5
|
+
function r(c) {
|
|
6
|
+
return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z" }, child: [] }] })(c);
|
|
7
|
+
}
|
|
5
8
|
function v(c) {
|
|
6
9
|
return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M567.938 243.908L462.25 85.374A48.003 48.003 0 0 0 422.311 64H153.689a48 48 0 0 0-39.938 21.374L8.062 243.908A47.994 47.994 0 0 0 0 270.533V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V270.533a47.994 47.994 0 0 0-8.062-26.625zM162.252 128h251.497l85.333 128H376l-32 64H232l-32-64H76.918l85.334-128z" }, child: [] }] })(c);
|
|
7
10
|
}
|
|
8
|
-
function
|
|
11
|
+
function i(c) {
|
|
9
12
|
return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z" }, child: [] }] })(c);
|
|
10
13
|
}
|
|
11
|
-
function
|
|
14
|
+
function l(c) {
|
|
12
15
|
return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M96,128A64,64,0,1,0,32,64,64,64,0,0,0,96,128Zm0,176.08a44.11,44.11,0,0,1,13.64-32L181.77,204c1.65-1.55,3.77-2.31,5.61-3.57A63.91,63.91,0,0,0,128,160H64A64,64,0,0,0,0,224v96a32,32,0,0,0,32,32V480a32,32,0,0,0,32,32h64a32,32,0,0,0,32-32V383.61l-50.36-47.53A44.08,44.08,0,0,1,96,304.08ZM480,128a64,64,0,1,0-64-64A64,64,0,0,0,480,128Zm32,32H448a63.91,63.91,0,0,0-59.38,40.42c1.84,1.27,4,2,5.62,3.59l72.12,68.06a44.37,44.37,0,0,1,0,64L416,383.62V480a32,32,0,0,0,32,32h64a32,32,0,0,0,32-32V352a32,32,0,0,0,32-32V224A64,64,0,0,0,512,160ZM444.4,295.34l-72.12-68.06A12,12,0,0,0,352,236v36H224V236a12,12,0,0,0-20.28-8.73L131.6,295.34a12.4,12.4,0,0,0,0,17.47l72.12,68.07A12,12,0,0,0,224,372.14V336H352v36.14a12,12,0,0,0,20.28,8.74l72.12-68.07A12.4,12.4,0,0,0,444.4,295.34Z" }, child: [] }] })(c);
|
|
13
16
|
}
|
|
14
|
-
function
|
|
17
|
+
function n(c) {
|
|
15
18
|
return t({ tag: "svg", attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z" }, child: [] }] })(c);
|
|
16
19
|
}
|
|
17
|
-
function
|
|
20
|
+
function d(c) {
|
|
18
21
|
return t({ tag: "svg", attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z" }, child: [] }] })(c);
|
|
19
22
|
}
|
|
20
|
-
function
|
|
23
|
+
function o(c) {
|
|
21
24
|
return t({ tag: "svg", attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z" }, child: [] }] })(c);
|
|
22
25
|
}
|
|
23
|
-
function
|
|
26
|
+
function e(c) {
|
|
24
27
|
return t({ tag: "svg", attr: { viewBox: "0 0 640 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 48h274.9c-2.4-6.8-3.4-14-2.6-21.3l6.8-60.9 1.2-11.1 7.9-7.9 77.3-77.3c-24.5-27.7-60-45.5-99.9-45.5zm45.3 145.3l-6.8 61c-1.1 10.2 7.5 18.8 17.6 17.6l60.9-6.8 137.9-137.9-71.7-71.7-137.9 137.8zM633 268.9L595.1 231c-9.3-9.3-24.5-9.3-33.8 0l-37.8 37.8-4.1 4.1 71.8 71.7 41.8-41.8c9.3-9.4 9.3-24.5 0-33.9z" }, child: [] }] })(c);
|
|
25
28
|
}
|
|
26
29
|
function g(c) {
|
|
@@ -28,12 +31,13 @@ function g(c) {
|
|
|
28
31
|
}
|
|
29
32
|
export {
|
|
30
33
|
g as F,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
d as a,
|
|
35
|
+
n as b,
|
|
36
|
+
o as c,
|
|
37
|
+
r as d,
|
|
38
|
+
h as e,
|
|
39
|
+
e as f,
|
|
40
|
+
v as g,
|
|
41
|
+
l as h,
|
|
42
|
+
i
|
|
39
43
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { G as t } from "./iconBase-LROS5hdG.js";
|
|
2
|
-
function
|
|
2
|
+
function l(c) {
|
|
3
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
4
|
}
|
|
5
5
|
function s(c) {
|
|
@@ -23,10 +23,10 @@ function g(c) {
|
|
|
23
23
|
function d(c) {
|
|
24
24
|
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);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function e(c) {
|
|
27
27
|
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);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function z(c) {
|
|
30
30
|
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);
|
|
31
31
|
}
|
|
32
32
|
function o(c) {
|
|
@@ -56,44 +56,56 @@ function w(c) {
|
|
|
56
56
|
function F(c) {
|
|
57
57
|
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);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function x(c) {
|
|
60
60
|
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);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function m(c) {
|
|
63
63
|
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);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function B(c) {
|
|
66
66
|
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);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function f(c) {
|
|
69
69
|
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);
|
|
70
70
|
}
|
|
71
71
|
function A(c) {
|
|
72
72
|
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);
|
|
73
73
|
}
|
|
74
|
+
function S(c) {
|
|
75
|
+
return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM96 96l320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 160c-17.7 0-32-14.3-32-32s14.3-32 32-32z" }, child: [] }] })(c);
|
|
76
|
+
}
|
|
77
|
+
function R(c) {
|
|
78
|
+
return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M432 64L208 64c-8.8 0-16 7.2-16 16l0 16-64 0 0-16c0-44.2 35.8-80 80-80L432 0c44.2 0 80 35.8 80 80l0 224c0 44.2-35.8 80-80 80l-16 0 0-64 16 0c8.8 0 16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zM0 192c0-35.3 28.7-64 64-64l256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192zm64 32c0 17.7 14.3 32 32 32l192 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 192c-17.7 0-32 14.3-32 32z" }, child: [] }] })(c);
|
|
79
|
+
}
|
|
80
|
+
function k(c) {
|
|
81
|
+
return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z" }, child: [] }] })(c);
|
|
82
|
+
}
|
|
74
83
|
export {
|
|
75
84
|
u as F,
|
|
76
85
|
F as a,
|
|
77
86
|
L as b,
|
|
78
87
|
i as c,
|
|
79
|
-
|
|
88
|
+
l as d,
|
|
80
89
|
h as e,
|
|
81
90
|
o as f,
|
|
82
91
|
n as g,
|
|
83
|
-
|
|
84
|
-
|
|
92
|
+
B as h,
|
|
93
|
+
x as i,
|
|
85
94
|
v as j,
|
|
86
95
|
p as k,
|
|
87
96
|
A as l,
|
|
88
|
-
|
|
97
|
+
f as m,
|
|
89
98
|
M as n,
|
|
90
99
|
d as o,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
e as p,
|
|
101
|
+
R as q,
|
|
102
|
+
S as r,
|
|
103
|
+
m as s,
|
|
104
|
+
g as t,
|
|
105
|
+
z as u,
|
|
106
|
+
k as v,
|
|
107
|
+
C as w,
|
|
108
|
+
w as x,
|
|
109
|
+
s as y,
|
|
110
|
+
r as z
|
|
99
111
|
};
|
|
@@ -4,5 +4,8 @@ declare const AuthContext: React.Context<AuthContextType | undefined>;
|
|
|
4
4
|
interface AuthProviderProps {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated since version 1.7.7 — use `EcoProvider` instead.
|
|
9
|
+
*/
|
|
7
10
|
declare const AuthProvider: React.FC<AuthProviderProps>;
|
|
8
11
|
export { AuthContext, AuthProvider };
|
|
@@ -6,6 +6,11 @@ interface Column {
|
|
|
6
6
|
truncateText?: boolean;
|
|
7
7
|
sorter?: boolean;
|
|
8
8
|
renderComponent?: (row: Record<string, any>) => React.ReactNode;
|
|
9
|
+
redirectTo?: ((row: Record<string, any>) => string) | ((row: Record<string, any>) => {
|
|
10
|
+
pathname: string;
|
|
11
|
+
state?: any;
|
|
12
|
+
});
|
|
13
|
+
state?: Record<string, any>;
|
|
9
14
|
}
|
|
10
15
|
interface TableProps {
|
|
11
16
|
title?: string;
|
|
@@ -22,6 +27,9 @@ interface TableProps {
|
|
|
22
27
|
closeModalOut?: boolean;
|
|
23
28
|
enableColumnSearch?: boolean;
|
|
24
29
|
enableColumnSorter?: boolean;
|
|
30
|
+
disableClose?: boolean;
|
|
31
|
+
enableRowSelection?: boolean;
|
|
32
|
+
onSelectionChange?: (selected: string[]) => void;
|
|
25
33
|
}
|
|
26
34
|
declare const TablaRegistros: React.FC<TableProps>;
|
|
27
35
|
export { TablaRegistros };
|
|
@@ -6,9 +6,8 @@ interface CustomModalProps {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
closeModalOut: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const EcoModal: React.FC<CustomModalProps>;
|
|
10
9
|
/**
|
|
11
10
|
* @deprecated since version 1.7.x — use `EcoModal` instead.
|
|
12
11
|
*/
|
|
13
|
-
|
|
14
|
-
export {
|
|
12
|
+
declare const CustomModal: React.FC<CustomModalProps>;
|
|
13
|
+
export { CustomModal };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface CustomModalProps {
|
|
3
|
+
show: boolean;
|
|
4
|
+
onHide: () => void;
|
|
5
|
+
title: string;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
closeModalOut: boolean;
|
|
8
|
+
isMaximized?: boolean;
|
|
9
|
+
onToggleMaximize?: () => void;
|
|
10
|
+
showMaximizeButton?: boolean;
|
|
11
|
+
modalType: "primary" | "secondary";
|
|
12
|
+
primaryPosition?: "left" | "center" | "right";
|
|
13
|
+
disableClose?: boolean;
|
|
14
|
+
hasSecondaryModalOpen?: boolean;
|
|
15
|
+
otherModalOpen?: boolean;
|
|
16
|
+
widthPercent?: number;
|
|
17
|
+
headerBgColor?: string;
|
|
18
|
+
hasBody?: boolean;
|
|
19
|
+
showOverlay?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const EcoModal: React.FC<CustomModalProps>;
|
|
22
|
+
export { EcoModal };
|
|
@@ -6,7 +6,11 @@ interface Column {
|
|
|
6
6
|
truncateText?: boolean;
|
|
7
7
|
sorter?: boolean;
|
|
8
8
|
renderComponent?: (row: Record<string, any>) => React.ReactNode;
|
|
9
|
-
redirectTo?: (row: Record<string, any>) => string
|
|
9
|
+
redirectTo?: ((row: Record<string, any>) => string) | ((row: Record<string, any>) => {
|
|
10
|
+
pathname: string;
|
|
11
|
+
state?: any;
|
|
12
|
+
});
|
|
13
|
+
state?: Record<string, any>;
|
|
10
14
|
}
|
|
11
15
|
interface TablaProps {
|
|
12
16
|
columns: Column[];
|
|
@@ -23,6 +27,8 @@ interface TablaProps {
|
|
|
23
27
|
columnSearch: Record<string, string>;
|
|
24
28
|
handleColumnSearch: (key: string, value: string) => void;
|
|
25
29
|
enableColumnSorter: boolean;
|
|
30
|
+
enableRowSelection?: boolean;
|
|
31
|
+
onSelectionChange?: (selected: string[]) => void;
|
|
26
32
|
}
|
|
27
33
|
declare const Tabla: React.FC<TablaProps>;
|
|
28
34
|
export { Tabla };
|
|
@@ -10,6 +10,9 @@ interface PaginadorProps {
|
|
|
10
10
|
stepContent: StepContent[];
|
|
11
11
|
onSubmit?: (...args: any[]) => any;
|
|
12
12
|
canJump?: boolean;
|
|
13
|
+
sendButtonLabel?: string;
|
|
14
|
+
isSendButtonDisabled?: boolean;
|
|
15
|
+
extraButton?: React.ReactNode;
|
|
13
16
|
}
|
|
14
17
|
declare const Paginador: React.FC<PaginadorProps>;
|
|
15
18
|
export { Paginador };
|
package/dist/lib/ui.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export { ItemsModal } from './ui/items-modal/ItemsModal.js';
|
|
|
7
7
|
export { IconoTooltip } from './ui/icono-tooltip/IconoTooltip.js';
|
|
8
8
|
export { ContenedorVentana } from './ui/contenedor-ventana/ContenedorVentana.js';
|
|
9
9
|
export { CustomModal } from './tables/tabla-registros/modal/Modal.js';
|
|
10
|
-
export { EcoModal } from './tables/tabla-registros/modal/
|
|
10
|
+
export { EcoModal } from './tables/tabla-registros/modal-v2/EcoModal.js';
|
|
11
11
|
export { Animacion } from './ui/animacion/Animacion.js';
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useEffect as h } from "react";
|
|
3
|
-
import { F as t,
|
|
4
|
-
import {
|
|
3
|
+
import { F as t, f as u, g as f, h as v, i as z } from "../../index-D3WseyJh.js";
|
|
4
|
+
import { z as N } from "../../index-DDjnZyBf.js";
|
|
5
5
|
import { G as g } from "../../iconBase-LROS5hdG.js";
|
|
6
6
|
import { j as w } from "../../index-CuHybtft.js";
|
|
7
7
|
import { N as b } from "../../NavDropdown-ei8eIwIE.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useFinalizarSesion as t } from "../../../auth/hooks/useFinalizarSesion.js";
|
|
3
|
-
import {
|
|
3
|
+
import { y as i } from "../../../index-DDjnZyBf.js";
|
|
4
4
|
import '../../../assets/LogoutButton.css';const a = () => {
|
|
5
5
|
const { FinSesion: o } = t();
|
|
6
6
|
return /* @__PURE__ */ r(i, { className: "icono-logout", onClick: o });
|
|
@@ -3,15 +3,15 @@ import { useState as o, useEffect as d } from "react";
|
|
|
3
3
|
import { useNavigate as H } from "react-router-dom";
|
|
4
4
|
import { j as u } from "../../index-CuHybtft.js";
|
|
5
5
|
import { useFinalizarSesion as C } from "../../auth/hooks/useFinalizarSesion.js";
|
|
6
|
-
import { urlBase as
|
|
6
|
+
import { urlBase as L, urlCertificadoLaboral as S } from "../../utils/Url.js";
|
|
7
7
|
import "../../auth/contexts/AuthContex.js";
|
|
8
|
-
import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModal.css';import '../../assets/Encabezado.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/Logo.css';import '../../assets/TarjetaLectura.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';import '../../assets/UnpHistorico.css';import '../../assets/MenuLateral.css';/* empty css */
|
|
8
|
+
import '../../assets/EcoModalStyles.css';import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModal.css';import '../../assets/Encabezado.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/Logo.css';import '../../assets/TarjetaLectura.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';import '../../assets/UnpHistorico.css';import '../../assets/MenuLateral.css';/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
import "../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { l as
|
|
14
|
+
import { l as V } from "../../logo_escudo_blanco-DaOI8SGq.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
/* empty css */
|
|
17
17
|
/* empty css */
|
|
@@ -23,9 +23,11 @@ import "../../ui/subtitulo/Subtitulo.js";
|
|
|
23
23
|
/* empty css */
|
|
24
24
|
/* empty css */
|
|
25
25
|
/* empty css */
|
|
26
|
+
import "../../index-BrykDZgK.js";
|
|
27
|
+
/* empty css */
|
|
26
28
|
import "../../Animacion-ThNL9iiY.js";
|
|
27
29
|
import "../../index-BUe3EJDH.js";
|
|
28
|
-
import { useWebSocketConnection as
|
|
30
|
+
import { useWebSocketConnection as A } from "../../utils/websocket-manager/WebSocketContext.js";
|
|
29
31
|
import { G as i } from "../../iconBase-LROS5hdG.js";
|
|
30
32
|
function y(t) {
|
|
31
33
|
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: [] }] })(t);
|
|
@@ -39,10 +41,10 @@ function T(t) {
|
|
|
39
41
|
function I(t) {
|
|
40
42
|
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: [] }] })(t);
|
|
41
43
|
}
|
|
42
|
-
function
|
|
44
|
+
function j(t) {
|
|
43
45
|
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: [] }] })(t);
|
|
44
46
|
}
|
|
45
|
-
function
|
|
47
|
+
function P(t) {
|
|
46
48
|
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: [] }] })(t);
|
|
47
49
|
}
|
|
48
50
|
function U(t) {
|
|
@@ -61,13 +63,13 @@ function D(t) {
|
|
|
61
63
|
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" }, child: [] }] })(t);
|
|
62
64
|
}
|
|
63
65
|
function G(t) {
|
|
64
|
-
return i({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "
|
|
66
|
+
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: [] }] })(t);
|
|
65
67
|
}
|
|
66
68
|
function W(t) {
|
|
67
|
-
return i({ tag: "svg", attr: { viewBox: "0 0 24 24"
|
|
69
|
+
return i({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z" }, child: [] }] })(t);
|
|
68
70
|
}
|
|
69
|
-
const
|
|
70
|
-
const [N, f] = o(!0), [m, p] = o(null), k =
|
|
71
|
+
const z1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
|
|
72
|
+
const [N, f] = o(!0), [m, p] = o(null), k = c ? "sidebar-bar-panel open" : "sidebar-bar-panel", b = H(), { FinSesion: w } = C(), { connectionStatus: v } = A(), [z, l] = o(!1), [M, n] = o(""), h = `${window.location.host}`;
|
|
71
73
|
if (d(() => {
|
|
72
74
|
const r = sessionStorage.getItem("user_token");
|
|
73
75
|
if (r) {
|
|
@@ -79,30 +81,30 @@ const b1 = ({ onToggle: t, isOpen: l, showConnectionStatus: x }) => {
|
|
|
79
81
|
const r = setTimeout(() => {
|
|
80
82
|
const s = sessionStorage.getItem("user_token");
|
|
81
83
|
if (s) {
|
|
82
|
-
const
|
|
83
|
-
p(
|
|
84
|
+
const B = u(s);
|
|
85
|
+
p(B);
|
|
84
86
|
}
|
|
85
87
|
}, 2e3);
|
|
86
88
|
return () => clearTimeout(r);
|
|
87
89
|
}, []), d(() => {
|
|
88
|
-
h.includes("localhost") ? (
|
|
90
|
+
h.includes("localhost") ? (l(!0), n("Entorno local")) : h.includes("ecosistemadesarrollo") ? (l(!0), n("Entorno de desarrollo")) : h.includes("ecosistemapruebas") ? (l(!0), n("Entorno de pruebas")) : (l(!1), n(""));
|
|
89
91
|
}, []), N)
|
|
90
92
|
return /* @__PURE__ */ a(g, {});
|
|
91
|
-
const
|
|
93
|
+
const _ = () => {
|
|
92
94
|
b("/unp/ecosistema/usuario");
|
|
93
95
|
};
|
|
94
|
-
return /* @__PURE__ */ a("div", { className: `container-fluid ${
|
|
96
|
+
return /* @__PURE__ */ a("div", { className: `container-fluid ${c ? "menu-open" : ""}`, children: /* @__PURE__ */ e("div", { className: k, children: [
|
|
95
97
|
/* @__PURE__ */ e("div", { className: "logo_details", children: [
|
|
96
98
|
/* @__PURE__ */ a(
|
|
97
99
|
"img",
|
|
98
100
|
{
|
|
99
|
-
src:
|
|
101
|
+
src: V,
|
|
100
102
|
alt: "Logo",
|
|
101
103
|
className: "icon logo-image"
|
|
102
104
|
}
|
|
103
105
|
),
|
|
104
106
|
/* @__PURE__ */ a("div", { className: "logo-name", children: "EI - UNP" }),
|
|
105
|
-
|
|
107
|
+
c ? /* @__PURE__ */ a(
|
|
106
108
|
$,
|
|
107
109
|
{
|
|
108
110
|
className: "bx bx-menu i",
|
|
@@ -114,7 +116,7 @@ const b1 = ({ onToggle: t, isOpen: l, showConnectionStatus: x }) => {
|
|
|
114
116
|
/* @__PURE__ */ e("ul", { className: "nav-list-panel", children: [
|
|
115
117
|
/* @__PURE__ */ e("li", { children: [
|
|
116
118
|
/* @__PURE__ */ e("a", { href: "", children: [
|
|
117
|
-
/* @__PURE__ */ a(
|
|
119
|
+
/* @__PURE__ */ a(P, { className: "bx bx-home i2" }),
|
|
118
120
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Inicio" })
|
|
119
121
|
] }),
|
|
120
122
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Inicio" })
|
|
@@ -157,7 +159,7 @@ const b1 = ({ onToggle: t, isOpen: l, showConnectionStatus: x }) => {
|
|
|
157
159
|
] }),
|
|
158
160
|
/* @__PURE__ */ e("li", { children: [
|
|
159
161
|
/* @__PURE__ */ e("a", { href: "http://intranet.unp.gov.co/", target: "_blank", children: [
|
|
160
|
-
/* @__PURE__ */ a(
|
|
162
|
+
/* @__PURE__ */ a(G, { className: "bx bxl-redux i2" }),
|
|
161
163
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Acceso directo a Intranet" })
|
|
162
164
|
] }),
|
|
163
165
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Acceso directo a Intranet" })
|
|
@@ -179,41 +181,44 @@ const b1 = ({ onToggle: t, isOpen: l, showConnectionStatus: x }) => {
|
|
|
179
181
|
] }),
|
|
180
182
|
/* @__PURE__ */ e("li", { children: [
|
|
181
183
|
/* @__PURE__ */ e("a", { href: "", children: [
|
|
182
|
-
/* @__PURE__ */ a(
|
|
184
|
+
/* @__PURE__ */ a(W, { className: "bx i2" }),
|
|
183
185
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Solicitud de viáticos" })
|
|
184
186
|
] }),
|
|
185
187
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Solicitud de viáticos" })
|
|
186
188
|
] }),
|
|
187
189
|
/* @__PURE__ */ e("li", { children: [
|
|
188
|
-
/* @__PURE__ */ e("a", { href: `${
|
|
189
|
-
/* @__PURE__ */ a(
|
|
190
|
+
/* @__PURE__ */ e("a", { href: `${L}${S}`, target: "_blank", children: [
|
|
191
|
+
/* @__PURE__ */ a(j, { className: "bx i2" }),
|
|
190
192
|
/* @__PURE__ */ a("span", { className: "link_name", children: "Certificados contratistas" })
|
|
191
193
|
] }),
|
|
192
194
|
/* @__PURE__ */ a("span", { className: "tooltip", children: "Certificados contratistas" })
|
|
193
195
|
] })
|
|
194
196
|
] }),
|
|
195
197
|
/* @__PURE__ */ e("div", { className: "profile-content", children: [
|
|
196
|
-
!
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
198
|
+
!c && x && /* @__PURE__ */ a(g, { children: v === "connected" ? /* @__PURE__ */ e("div", { className: "gear-tooltip-container", children: [
|
|
199
|
+
/* @__PURE__ */ e(
|
|
200
|
+
"svg",
|
|
201
|
+
{
|
|
202
|
+
className: "checkmark",
|
|
203
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
204
|
+
viewBox: "0 0 52 52",
|
|
205
|
+
children: [
|
|
206
|
+
/* @__PURE__ */ a(
|
|
207
|
+
"circle",
|
|
208
|
+
{
|
|
209
|
+
className: "checkmark__circle",
|
|
210
|
+
cx: "26",
|
|
211
|
+
cy: "26",
|
|
212
|
+
r: "25",
|
|
213
|
+
fill: "none"
|
|
214
|
+
}
|
|
215
|
+
),
|
|
216
|
+
/* @__PURE__ */ a("path", { className: "checkmark__check", fill: "none", d: "M14.1 27.2l7.1 7.2 16.7-16.8" })
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
/* @__PURE__ */ a("span", { className: "gear-tooltip-text", children: "Conexión exitosa" })
|
|
221
|
+
] }) : v === "connecting" ? /* @__PURE__ */ e(
|
|
217
222
|
"svg",
|
|
218
223
|
{
|
|
219
224
|
className: "ripplemark",
|
|
@@ -252,7 +257,7 @@ const b1 = ({ onToggle: t, isOpen: l, showConnectionStatus: x }) => {
|
|
|
252
257
|
]
|
|
253
258
|
}
|
|
254
259
|
) }),
|
|
255
|
-
z && /* @__PURE__ */ e("div", { className: "gear-tooltip-container", children: [
|
|
260
|
+
!c && z && /* @__PURE__ */ e("div", { className: "gear-tooltip-container", children: [
|
|
256
261
|
/* @__PURE__ */ a(
|
|
257
262
|
"svg",
|
|
258
263
|
{
|
|
@@ -286,7 +291,7 @@ const b1 = ({ onToggle: t, isOpen: l, showConnectionStatus: x }) => {
|
|
|
286
291
|
"div",
|
|
287
292
|
{
|
|
288
293
|
className: "profile-detail",
|
|
289
|
-
onClick:
|
|
294
|
+
onClick: _,
|
|
290
295
|
style: { cursor: "pointer" },
|
|
291
296
|
children: m && /* @__PURE__ */ e("div", { className: "name-job", style: { marginTop: "3px" }, children: [
|
|
292
297
|
/* @__PURE__ */ a("div", { className: "name text-truncate", style: { width: "200px" }, children: m.datos_basicos.nombre }),
|
|
@@ -300,5 +305,5 @@ const b1 = ({ onToggle: t, isOpen: l, showConnectionStatus: x }) => {
|
|
|
300
305
|
] }) });
|
|
301
306
|
};
|
|
302
307
|
export {
|
|
303
|
-
|
|
308
|
+
z1 as MenuLateral
|
|
304
309
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { N as
|
|
2
|
+
import { e as o } from "../../index-D3WseyJh.js";
|
|
3
|
+
import { N as e } from "../../NavDropdown-ei8eIwIE.js";
|
|
4
4
|
import '../../assets/NotificacionUsuario.css';const a = () => /* @__PURE__ */ i(
|
|
5
|
-
|
|
5
|
+
e,
|
|
6
6
|
{
|
|
7
7
|
title: /* @__PURE__ */ i(o, { className: "icono-notificaciones" }),
|
|
8
8
|
align: "end",
|
|
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import '../../assets/Bootstrap.css';import '../../assets/TabVentana.css';/* empty css */
|
|
3
3
|
import { P as t } from "../../index-sDUMSncV.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { T as i, g as b, a as p, b as T } from "../../TabPane-
|
|
5
|
+
import { T as i, g as b, a as p, b as T } from "../../TabPane-BiwPZSbT.js";
|
|
6
6
|
const e = ({
|
|
7
7
|
transition: n,
|
|
8
8
|
...o
|
|
@@ -5,7 +5,7 @@ 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
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 "../../NavDropdown-ei8eIwIE.js";
|
|
8
|
-
import { u as Z, T as ee, g as te, a as ne, b as ae } from "../../TabPane-
|
|
8
|
+
import { u as Z, T as ee, g as te, a as ne, b as ae } from "../../TabPane-BiwPZSbT.js";
|
|
9
9
|
import { u as k, c as B } from "../../ThemeProvider-Bs1j1Nwi.js";
|
|
10
10
|
import { S as I, T as re, m as se } from "../../TabContext-CdjYJzMB.js";
|
|
11
11
|
import { c as oe } from "../../CardHeaderContext-DVw0yHuy.js";
|