react-ecosistema-unp 1.9.1 → 1.9.6

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
- import { s } from "../../../index-DDjnZyBf.js";
2
+ import { s } from "../../../index-DV5CcUu9.js";
3
3
  import '../../../assets/Bootstrap.css';/* empty css */
4
4
  import { B as a } from "../../../Button-B87TJYml.js";
5
5
  const d = {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as c, useRef as u, useEffect as j } from "react";
3
- import { o as p, p as N } from "../../index-DDjnZyBf.js";
3
+ import { o as p, p as N } from "../../index-DV5CcUu9.js";
4
4
  import '../../assets/UnpHistorico.css';/* empty css */
5
5
  const b = ({ icon: l, label: h, show: f = !1, children: o, extraItem: i }) => {
6
6
  const [e, s] = c(f), [m, r] = c(0), n = u(null);
@@ -3,7 +3,7 @@ import "react";
3
3
  import '../../assets/SeccionTarjetaLectura.css';import '../../assets/Logo.css';import '../../assets/TarjetaLectura.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';/* empty css */
4
4
  /* empty css */
5
5
  import "../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
6
- import { m as t } from "../../index-DDjnZyBf.js";
6
+ import { m as t } from "../../index-DV5CcUu9.js";
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
@@ -105,7 +105,7 @@ export {
105
105
  z as u,
106
106
  k as v,
107
107
  C as w,
108
- w as x,
109
- s as y,
108
+ s as x,
109
+ w as y,
110
110
  r as z
111
111
  };
@@ -33,6 +33,7 @@ interface TableProps {
33
33
  extendedSelection?: boolean;
34
34
  cellSelectionColor?: string;
35
35
  onLoadMore?: () => Promise<void>;
36
+ onFetchTableSearch?: (value: string) => any;
36
37
  }
37
38
  declare const TablaRegistros: React.FC<TableProps>;
38
39
  export { TablaRegistros };
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  interface BusquedaInputProps {
3
3
  onSearch: (value: string) => void;
4
+ onFetchTableSearch?: (value: string) => any;
4
5
  }
5
6
  declare const BusquedaInput: React.FC<BusquedaInputProps>;
6
7
  export { BusquedaInput };
@@ -5,6 +5,7 @@ interface EncabezadoTablaProps {
5
5
  setSearchTerm: (term: string) => void;
6
6
  extraInput?: React.ReactNode;
7
7
  enableColumnSearch: boolean;
8
+ onFetchTableSearch?: (value: string) => any;
8
9
  }
9
10
  declare const EncabezadoTabla: React.FC<EncabezadoTablaProps>;
10
11
  export { EncabezadoTabla };
@@ -1,7 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  interface UnpHistoricoProps {
3
- endpoint: string;
3
+ /**
4
+ * @deprecated Will be removed in version 2.0.
5
+ */
6
+ endpoint?: string;
4
7
  nuip: string;
8
+ showMessage?: boolean;
5
9
  }
6
10
  declare const UnpHistorico: React.FC<UnpHistoricoProps>;
7
11
  export { UnpHistorico };
@@ -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
3
  import { F as n, 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";
4
+ import { z as N } from "../../index-DV5CcUu9.js";
5
5
  import { G as g } from "../../iconBase-LROS5hdG.js";
6
6
  import { N as w } from "../../NavDropdown-ei8eIwIE.js";
7
7
  import '../../assets/AppList.css';function U(s) {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, Fragment as i, jsx as o } from "react/jsx-runtime";
2
2
  import { useFinalizarSesion as n } from "../../../auth/hooks/useFinalizarSesion.js";
3
- import { y as s } from "../../../index-DDjnZyBf.js";
3
+ import { x as s } from "../../../index-DV5CcUu9.js";
4
4
  import { L as m } from "../../../index-Cs6Q8pv4.js";
5
5
  import '../../../assets/LogoutButton.css';const p = () => {
6
6
  const { FinSesion: r } = n();