react-ecosistema-unp 1.7.13 → 1.7.15
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 +61 -61
- 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-CgSyrJ_X.js → index-D3WseyJh.js} +18 -14
- package/dist/{index-069JzHFQ.js → index-DDjnZyBf.js} +16 -12
- package/dist/lib/assets/animations/noData.json.d.ts +5866 -5866
- package/dist/lib/assets/animations/noInfo.json.d.ts +2981 -2981
- package/dist/lib/tables/tabla-registros/TablaRegistros.d.ts +2 -0
- package/dist/lib/tables/tabla-registros/tabla/Tabla.d.ts +3 -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 +9 -9
- package/dist/shared/notificacion-usuario/NotificacionUsuario.js +3 -3
- package/dist/tables/tabla-registros/TablaRegistros.js +268 -264
- package/dist/tables/tabla-registros/buscador/Buscador.js +1 -1
- package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +9 -8
- package/dist/tables/tabla-registros/modal-v2/EcoModal.js +1 -1
- package/dist/tables/tabla-registros/tabla/Tabla.js +179 -122
- 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 +1 -1
- package/dist/ui/logo/Logo.js +6 -6
- package/dist/utils/fetch-interceptor/fetchInterceptor.js +27 -26
- package/dist/utils/unp-historico/UnpHistorico.js +1 -1
- package/package.json +113 -113
|
@@ -28,6 +28,8 @@ interface TableProps {
|
|
|
28
28
|
enableColumnSearch?: boolean;
|
|
29
29
|
enableColumnSorter?: boolean;
|
|
30
30
|
disableClose?: boolean;
|
|
31
|
+
enableRowSelection?: boolean;
|
|
32
|
+
onSelectionChange?: (selected: string[]) => void;
|
|
31
33
|
}
|
|
32
34
|
declare const TablaRegistros: React.FC<TableProps>;
|
|
33
35
|
export { TablaRegistros };
|
|
@@ -10,6 +10,7 @@ interface Column {
|
|
|
10
10
|
pathname: string;
|
|
11
11
|
state?: any;
|
|
12
12
|
});
|
|
13
|
+
state?: Record<string, any>;
|
|
13
14
|
}
|
|
14
15
|
interface TablaProps {
|
|
15
16
|
columns: Column[];
|
|
@@ -26,6 +27,8 @@ interface TablaProps {
|
|
|
26
27
|
columnSearch: Record<string, string>;
|
|
27
28
|
handleColumnSearch: (key: string, value: string) => void;
|
|
28
29
|
enableColumnSorter: boolean;
|
|
30
|
+
enableRowSelection?: boolean;
|
|
31
|
+
onSelectionChange?: (selected: string[]) => void;
|
|
29
32
|
}
|
|
30
33
|
declare const Tabla: React.FC<TablaProps>;
|
|
31
34
|
export { Tabla };
|
|
@@ -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 });
|
|
@@ -270,15 +270,15 @@ const z1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
|
|
|
270
270
|
{
|
|
271
271
|
className: "gear__path",
|
|
272
272
|
fill: "none",
|
|
273
|
-
d: `M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z
|
|
274
|
-
M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65
|
|
275
|
-
1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09a1.65 1.65
|
|
276
|
-
0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65
|
|
277
|
-
1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09a1.65 1.65 0 0 0
|
|
278
|
-
1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65
|
|
279
|
-
0 0 0 1.82.33h.09a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0
|
|
280
|
-
1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65
|
|
281
|
-
0 0 0-.33 1.82v.09a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0
|
|
273
|
+
d: `M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z\r
|
|
274
|
+
M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65\r
|
|
275
|
+
1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09a1.65 1.65\r
|
|
276
|
+
0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65\r
|
|
277
|
+
1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09a1.65 1.65 0 0 0\r
|
|
278
|
+
1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65\r
|
|
279
|
+
0 0 0 1.82.33h.09a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0\r
|
|
280
|
+
1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65\r
|
|
281
|
+
0 0 0-.33 1.82v.09a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0\r
|
|
282
282
|
0-1.51 1z`
|
|
283
283
|
}
|
|
284
284
|
)
|
|
@@ -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",
|