react-ecosistema-unp 2.5.0 → 2.6.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/README.md +354 -25
- package/dist/{AppList-DORGpC4I.js → AppList-CNtk-CBh.js} +56 -55
- package/dist/auth/hooks/useFinalizarSesion.js +12 -12
- package/dist/auth/services/FinSesionService.js +10 -11
- 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-BqaJxgOF.js → index-HaNVi1BU.js} +8 -8
- package/dist/lib/accessibility/barra-accesibilidad/BarraAccesibilidad.d.ts +1 -1
- package/dist/lib/assets/animations/loadingDuck.json.d.ts +1 -1
- package/dist/lib/utils/logger/logger.d.ts +25 -0
- package/dist/lib/utils/modal-radicados/ModalDocumento.d.ts +1 -1
- package/dist/lib/utils/sanitizar-html/sanitizarHtml.d.ts +12 -0
- package/dist/loadingDuck-Deggug5u.js +27 -0
- package/dist/shared/app-list/AppList.js +4 -3
- package/dist/shared/iconos-sistema/IconosSistema.js +1 -1
- package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
- package/dist/shared/menu-lateral/MenuLateral.js +5 -3
- package/dist/shared/notificacion-usuario/NotificacionUsuario.js +194 -745
- package/dist/shared/notificacion-usuario/services/notificacionesService.js +52 -51
- package/dist/shared/user-profile-icon/UserProfileIcon.js +17 -17
- package/dist/shared/ventana-tabs/VentanaTabs.js +1 -1
- package/dist/tables/custom-data-table/CustomDataTable.js +4 -2
- package/dist/tables/custom-data-table-split/CustomDataTableSplit.js +4 -2
- package/dist/tables/eco-data-table/components/EcoBandejaEncabezado.js +3 -2
- package/dist/tables/eco-data-table/components/EcoDataTable/EcoDataTable.js +1 -1
- package/dist/tables/tabla-registros/buscador/Buscador.js +1 -1
- package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +3 -2
- package/dist/tables/tabla-registros/modal-v2/EcoModal.js +1 -1
- package/dist/tables/tabla-registros/tabla/Tabla.js +1 -1
- package/dist/ui/alertas/AlertaFormulario.js +1 -1
- package/dist/ui/animacion/Animacion.js +1 -1
- package/dist/ui/contenido-modal/ContenidoModal.js +1 -1
- package/dist/ui/contenido-modal/ContenidoModalv0.1.js +1 -1
- package/dist/ui/contenido-modal-v2/ContenidoModalV2.js +1 -1
- package/dist/ui/contenido-modal-v2/ModalV2Menu.js +1 -1
- package/dist/ui/icono-tooltip/IconoTooltip.js +1 -1
- package/dist/ui/items-modal/ItemsModal.js +1 -1
- package/dist/ui/nav-formularios-lateral/NavFormulariosLateral.js +1 -1
- package/dist/ui/notificacion-popover-v2/NotificacionPopoverV2.js +80 -79
- package/dist/ui/status-filter-bar/StatusFilterBar.js +1 -1
- package/dist/ui/status-semaphore/StatusSemaphore.js +1 -1
- package/dist/ui/stepper-v2/StepperV2.js +1 -1
- package/dist/utils/components/ProtectedRoute.js +25 -26
- package/dist/utils/components/UserRoute.js +14 -16
- package/dist/utils/eco-provider/EcoContext.js +4 -2
- package/dist/utils/fetch-data/useFetchData.js +60 -59
- package/dist/utils/logger/logger.js +20 -0
- package/dist/utils/modal-radicados/AuxRadicadosComponents/TarjetaRadicado.js +20 -18
- package/dist/utils/modal-radicados/DocumentoVisorEstado.js +4 -3
- package/dist/utils/modal-radicados/ModalDocumento.js +1 -1
- package/dist/utils/modal-radicados/ModalRadicado.js +82 -80
- package/dist/utils/sanitizar-html/sanitizarHtml.js +1486 -0
- package/dist/utils/unp-historico/FetchHistorico.js +6 -5
- package/dist/utils/unp-historico/UnpHistorico.js +3 -2
- package/dist/utils/websocket-manager/websocket.js +19 -18
- package/package.json +28 -19
- package/dist/lib/utils/fetch/fetchInterceptor.d.ts +0 -7
- package/dist/lib/utils/fetch/fingerprintService.d.ts +0 -27
- package/dist/loadingDuck-Diu5KD6X.js +0 -27
- package/dist/utils/fetch/fetchInterceptor.js +0 -98
- package/dist/utils/fetch/fingerprintService.js +0 -1749
|
@@ -7,7 +7,7 @@ import '../../assets/Bootstrap.css';/* empty css */
|
|
|
7
7
|
import { u as D } from "../../useIsomorphicEffect-DH-agvLb.js";
|
|
8
8
|
import { T as W, b as Y, g as z, a as G } from "../../TabPane-D71zhQGl.js";
|
|
9
9
|
import { c as k } from "../../index-ZphT3dr_.js";
|
|
10
|
-
import { N as J, u as Q, a as X, d as Z, b as ee, q as te, c as B, e as ne } from "../../AppList-
|
|
10
|
+
import { N as J, u as Q, a as X, d as Z, b as ee, q as te, c as B, e as ne } from "../../AppList-CNtk-CBh.js";
|
|
11
11
|
import { u as ae } from "../../NoopTransition-D8AxBGEr.js";
|
|
12
12
|
import { S as E, T as re, m as oe } from "../../TabContext-Du6X9q-A.js";
|
|
13
13
|
import { u as L } from "../../ThemeProvider-Cv61y4Uy.js";
|
|
@@ -32,6 +32,7 @@ import { PaginadorV2 as ai } from "../../ui/paginador-v2/PaginadorV2.js";
|
|
|
32
32
|
/* empty css */
|
|
33
33
|
/* empty css */
|
|
34
34
|
/* empty css */
|
|
35
|
+
import "../../utils/sanitizar-html/sanitizarHtml.js";
|
|
35
36
|
/* empty css */
|
|
36
37
|
/* empty css */
|
|
37
38
|
/* empty css */
|
|
@@ -40,6 +41,7 @@ import { PaginadorV2 as ai } from "../../ui/paginador-v2/PaginadorV2.js";
|
|
|
40
41
|
/* empty css */
|
|
41
42
|
import { formatDate as Ft } from "../../utils/formatters/dateFormatter.js";
|
|
42
43
|
import "../../index-Cy8qF6oY.js";
|
|
44
|
+
import "../../utils/logger/logger.js";
|
|
43
45
|
import "../../utils/websocket-manager/WebSocketContext.js";
|
|
44
46
|
/* empty css */
|
|
45
47
|
/* empty css */
|
|
@@ -4061,7 +4063,7 @@ var _a = /* @__PURE__ */ un(function(t, e) {
|
|
|
4061
4063
|
ref: e
|
|
4062
4064
|
}, i));
|
|
4063
4065
|
}), Ka = _a;
|
|
4064
|
-
const
|
|
4066
|
+
const es = ({
|
|
4065
4067
|
columns: t,
|
|
4066
4068
|
data: e,
|
|
4067
4069
|
renderModalContent: i,
|
|
@@ -4273,5 +4275,5 @@ const Ko = ({
|
|
|
4273
4275
|
] });
|
|
4274
4276
|
};
|
|
4275
4277
|
export {
|
|
4276
|
-
|
|
4278
|
+
es as CustomDataTable
|
|
4277
4279
|
};
|
|
@@ -26,6 +26,7 @@ import { PaginadorV2 as ce } from "../../ui/paginador-v2/PaginadorV2.js";
|
|
|
26
26
|
/* empty css */
|
|
27
27
|
/* empty css */
|
|
28
28
|
/* empty css */
|
|
29
|
+
import "../../utils/sanitizar-html/sanitizarHtml.js";
|
|
29
30
|
/* empty css */
|
|
30
31
|
/* empty css */
|
|
31
32
|
/* empty css */
|
|
@@ -34,6 +35,7 @@ import { PaginadorV2 as ce } from "../../ui/paginador-v2/PaginadorV2.js";
|
|
|
34
35
|
/* empty css */
|
|
35
36
|
import { formatDate as J } from "../../utils/formatters/dateFormatter.js";
|
|
36
37
|
import "../../index-Cy8qF6oY.js";
|
|
38
|
+
import "../../utils/logger/logger.js";
|
|
37
39
|
import "../../utils/websocket-manager/WebSocketContext.js";
|
|
38
40
|
/* empty css */
|
|
39
41
|
/* empty css */
|
|
@@ -61,7 +63,7 @@ function Pe(n, s) {
|
|
|
61
63
|
const c = P(n, s.key);
|
|
62
64
|
return c == null ? "" : s.isDate ? J(String(c)) : String(c);
|
|
63
65
|
}
|
|
64
|
-
function
|
|
66
|
+
function bt({
|
|
65
67
|
columns: n,
|
|
66
68
|
data: s,
|
|
67
69
|
isShared: c = !1,
|
|
@@ -354,5 +356,5 @@ function xt({
|
|
|
354
356
|
);
|
|
355
357
|
}
|
|
356
358
|
export {
|
|
357
|
-
|
|
359
|
+
bt as CustomDataTableSplit
|
|
358
360
|
};
|
|
@@ -29,6 +29,7 @@ import "../../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
|
|
|
29
29
|
/* empty css */
|
|
30
30
|
/* empty css */
|
|
31
31
|
/* empty css */
|
|
32
|
+
import "../../../utils/sanitizar-html/sanitizarHtml.js";
|
|
32
33
|
/* empty css */
|
|
33
34
|
/* empty css */
|
|
34
35
|
/* empty css */
|
|
@@ -36,7 +37,7 @@ import "../../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
|
|
|
36
37
|
/* empty css */
|
|
37
38
|
/* empty css */
|
|
38
39
|
import { CustomTableToolbar as n } from "../../custom-table-toolbar/CustomTableToolbar.js";
|
|
39
|
-
function
|
|
40
|
+
function $({
|
|
40
41
|
title: m,
|
|
41
42
|
sectionLabel: p,
|
|
42
43
|
subtitle: a,
|
|
@@ -70,5 +71,5 @@ function Z({
|
|
|
70
71
|
] });
|
|
71
72
|
}
|
|
72
73
|
export {
|
|
73
|
-
|
|
74
|
+
$ as EcoBandejaEncabezado
|
|
74
75
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as ke, useState as U, useLayoutEffect as Te, useMemo as W, useCallback as X } from "react";
|
|
3
3
|
import { j as q, k as Pe, l as Ee, m as we } from "../../../../index-B96iRUpt.js";
|
|
4
|
-
import { X as G } from "../../../../index-
|
|
4
|
+
import { X as G } from "../../../../index-HaNVi1BU.js";
|
|
5
5
|
import { useNavigate as Ke } from "react-router-dom";
|
|
6
6
|
import { useEcoTablePagination as Be } from "../../hooks/useEcoTablePagination.js";
|
|
7
7
|
import { useEcoTableReorder as De } from "../../hooks/useEcoTableReorder.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useEffect as f } from "react";
|
|
3
|
-
import { Z as d } from "../../../index-
|
|
3
|
+
import { Z as d } from "../../../index-HaNVi1BU.js";
|
|
4
4
|
import { b as g } from "../../../FormGroup-B8RAswur.js";
|
|
5
5
|
import { F as x } from "../../../FormControl-DshWdHuR.js";
|
|
6
6
|
import { S as h } from "../../../Spinner-D69BfVXa.js";
|
|
@@ -28,6 +28,7 @@ import "../../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
|
|
|
28
28
|
/* empty css */
|
|
29
29
|
/* empty css */
|
|
30
30
|
/* empty css */
|
|
31
|
+
import "../../../utils/sanitizar-html/sanitizarHtml.js";
|
|
31
32
|
/* empty css */
|
|
32
33
|
/* empty css */
|
|
33
34
|
/* empty css */
|
|
@@ -35,7 +36,7 @@ import "../../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
|
|
|
35
36
|
/* empty css */
|
|
36
37
|
/* empty css */
|
|
37
38
|
import { BusquedaInput as d } from "../buscador/Buscador.js";
|
|
38
|
-
const
|
|
39
|
+
const X = ({
|
|
39
40
|
title: t,
|
|
40
41
|
subtitle: p,
|
|
41
42
|
data: n,
|
|
@@ -58,5 +59,5 @@ const W = ({
|
|
|
58
59
|
] })
|
|
59
60
|
] });
|
|
60
61
|
export {
|
|
61
|
-
|
|
62
|
+
X as EncabezadoTabla
|
|
62
63
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useRef as M, useEffect as u } from "react";
|
|
3
3
|
import { R as q } from "../../../index-DdZBtIJj.js";
|
|
4
|
-
import { s as A, t as B } from "../../../index-
|
|
4
|
+
import { s as A, t as B } from "../../../index-HaNVi1BU.js";
|
|
5
5
|
import '../../../assets/EcoModalStyles.css';import '../../../assets/zIndex.css';/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
const Y = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import L, { useState as m, useEffect as S } from "react";
|
|
3
|
-
import { X as w, Y as ee } from "../../../index-
|
|
3
|
+
import { X as w, Y as ee } from "../../../index-HaNVi1BU.js";
|
|
4
4
|
import { n as te, o as re, p as se, j as oe } from "../../../index-B96iRUpt.js";
|
|
5
5
|
import { T as ie } from "../../../Table-cUZFLrPi.js";
|
|
6
6
|
import { b as ne } from "../../../FormGroup-B8RAswur.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { U as n, R as m, V as u, i as f, W as N } from "../../index-
|
|
2
|
+
import { U as n, R as m, V as u, i as f, W as N } from "../../index-HaNVi1BU.js";
|
|
3
3
|
import '../../assets/AlertaFormulario.css';/* empty css */
|
|
4
4
|
const g = ({
|
|
5
5
|
variant: r = "info",
|
|
@@ -24,7 +24,7 @@ import '../../assets/Animacion.css';const h = (n) => {
|
|
|
24
24
|
is_loading: () => import("../../isLoading-iDDLb35o.js"),
|
|
25
25
|
loading_cat: () => import("../../loadingCat-C9ONGZCu.js"),
|
|
26
26
|
loading_parrot: () => import("../../loadingParrot-CBXDqL4K.js"),
|
|
27
|
-
loading_duck: () => import("../../loadingDuck-
|
|
27
|
+
loading_duck: () => import("../../loadingDuck-Deggug5u.js"),
|
|
28
28
|
buho: () => import("../../buho_ecosistema-BM6TXaqd.js"),
|
|
29
29
|
camaleon: () => import("../../camaleon_ecosistema-C1d5baAW.js"),
|
|
30
30
|
chiguiro: () => import("../../chiguiro_ecosistema-LroDp1I6.js"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as p, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import f, { useState as o } from "react";
|
|
3
|
-
import { r as v } from "../../index-
|
|
3
|
+
import { r as v } from "../../index-HaNVi1BU.js";
|
|
4
4
|
import '../../assets/ContenidoModal.css';/* empty css */
|
|
5
5
|
const y = ({ title: N, modalContent: s, children: d, extraElement: m }) => {
|
|
6
6
|
const [a, l] = o(0), [h, c] = o(!0), [r, n] = o(!1);
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { r as v } from "../../index-
|
|
3
|
+
import { r as v } from "../../index-HaNVi1BU.js";
|
|
4
4
|
import '../../assets/ContenidoModal.css';/* empty css */
|
|
5
5
|
const y = ({ title: d, children: h, buttons: s, isShowing: i, setIsShowing: u = (() => {
|
|
6
6
|
}) }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as t } from "react";
|
|
3
|
-
import { r as I } from "../../index-
|
|
3
|
+
import { r as I } from "../../index-HaNVi1BU.js";
|
|
4
4
|
import { EncabezadoModalV2 as S } from "./EncabezadoModalV2.js";
|
|
5
5
|
import '../../assets/ContenidoModalV2.css';/* empty css */
|
|
6
6
|
import { ModalV2Menu as H } from "./ModalV2Menu.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as m } from "react/jsx-runtime";
|
|
2
|
-
import { u as i } from "../../index-
|
|
2
|
+
import { u as i } from "../../index-HaNVi1BU.js";
|
|
3
3
|
import '../../assets/ContenidoModalV2.css';/* empty css */
|
|
4
4
|
const t = ({ sections: d, className: n = "" }) => /* @__PURE__ */ a("div", { className: `modal-v2-menu ${n}`, children: d.map((l, s) => /* @__PURE__ */ m("div", { className: "modal-v2-menu__section", children: [
|
|
5
5
|
l.title && /* @__PURE__ */ a("h6", { className: "modal-v2-menu__section-title", children: l.title }),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as A, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { useState as L } from "react";
|
|
3
|
-
import { w as M, x as U, y as B, z as j, A as z, B as J, C as W, D as G, i as H, E as P, m as g, G as h, H as Y, I as q } from "../../index-
|
|
3
|
+
import { w as M, x as U, y as B, z as j, A as z, B as J, C as W, D as G, i as H, E as P, m as g, G as h, H as Y, I as q } from "../../index-HaNVi1BU.js";
|
|
4
4
|
import '../../assets/IconoTooltip.css';/* empty css */
|
|
5
5
|
const _ = ({ recordType: x, taken: o = !0, customIcon: l }) => {
|
|
6
6
|
const [a, b] = L(!1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { useNavigate as i } from "react-router-dom";
|
|
3
|
-
import { W as n } from "../../index-
|
|
3
|
+
import { W as n } from "../../index-HaNVi1BU.js";
|
|
4
4
|
import { G as s } from "../../iconBase-DSKTHwal.js";
|
|
5
5
|
import '../../assets/ItemsModal.css';/* empty css */
|
|
6
6
|
function m(t) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as C } from "react";
|
|
3
|
-
import { P as k, Q as x, R as F, S as v, v as L, T as $ } from "../../index-
|
|
3
|
+
import { P as k, Q as x, R as F, S as v, v as L, T as $ } from "../../index-HaNVi1BU.js";
|
|
4
4
|
import '../../assets/NavFormulariosLateral.css';/* empty css */
|
|
5
5
|
const y = ({
|
|
6
6
|
items: c,
|