react-ecosistema-unp 1.7.9-pre.0 → 1.7.9-pre.2

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.
@@ -4,11 +4,10 @@ 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
6
  import { urlBase as L, urlCertificadoLaboral as S } from "../../utils/Url.js";
7
- 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/Tarjeta.css';import '../../assets/UnpHistorico.css';import '../../assets/Bootstrap.css';import '../../assets/MenuLateral.css';/* empty css */
8
- import "../../utils/fetch-interceptor/fetchInterceptor.js";
9
7
  import "../../auth/contexts/AuthContex.js";
10
- /* 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 */
11
9
  /* empty css */
10
+ /* empty css */
12
11
  import "../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
13
12
  /* empty css */
14
13
  /* empty css */
@@ -69,7 +68,7 @@ function G(t) {
69
68
  function W(t) {
70
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);
71
70
  }
72
- const M1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
71
+ const z1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
73
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}`;
74
73
  if (d(() => {
75
74
  const r = sessionStorage.getItem("user_token");
@@ -306,5 +305,5 @@ const M1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
306
305
  ] }) });
307
306
  };
308
307
  export {
309
- M1 as MenuLateral
308
+ z1 as MenuLateral
310
309
  };
@@ -25,8 +25,7 @@ import "../../index-BrykDZgK.js";
25
25
  import "../../Animacion-ThNL9iiY.js";
26
26
  import "../../index-BUe3EJDH.js";
27
27
  import { WebSocketProvider as i } from "../websocket-manager/WebSocketContext.js";
28
- import "../fetch-interceptor/fetchInterceptor.js";
29
- const C = ({ children: o }) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(i, { children: o }) });
28
+ const B = ({ children: o }) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(i, { children: o }) });
30
29
  export {
31
- C as EcoProvider
30
+ B as EcoProvider
32
31
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "react-ecosistema-unp",
3
3
  "author": "Ecosistema de Información - Unidad Nacional de Protección",
4
4
  "private": false,
5
- "version": "1.7.9-pre.0",
5
+ "version": "1.7.9-pre.2",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
@@ -36,7 +36,9 @@
36
36
  "./data": {
37
37
  "types": "./dist/lib/data.d.ts",
38
38
  "default": "./dist/data.js"
39
- }
39
+ },
40
+ "./styles/Bootstrap.css": "./dist/EcoStyles.css",
41
+ "./utils/fetch-interceptor/fetchInterceptor.ts": "./dist/fetchInterceptor.ts"
40
42
  },
41
43
  "files": [
42
44
  "dist"