react-ecosistema-unp 1.9.2 → 1.9.7
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/assets/MenuLateral.css +1 -1
- 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-DDjnZyBf.js → index-DV5CcUu9.js} +2 -2
- package/dist/lib/tables/tabla-registros/TablaRegistros.d.ts +1 -0
- package/dist/lib/tables/tabla-registros/buscador/Buscador.d.ts +1 -0
- package/dist/lib/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.d.ts +1 -0
- package/dist/lib/utils/Url.d.ts +1 -0
- package/dist/shared/app-list/AppList.js +1 -1
- package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
- package/dist/shared/menu-lateral/MenuLateral.js +51 -61
- package/dist/tables/tabla-registros/TablaRegistros.js +263 -261
- package/dist/tables/tabla-registros/buscador/Buscador.js +44 -14
- package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +23 -16
- package/dist/tables/tabla-registros/modal-v2/EcoModal.js +1 -1
- package/dist/tables/tabla-registros/tabla/Tabla.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/icono-tooltip/IconoTooltip.js +1 -1
- package/dist/ui/items-modal/ItemsModal.js +1 -1
- package/dist/utils/Url.js +6 -5
- package/package.json +1 -1
|
@@ -1,24 +1,54 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as n, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { useState as c, useEffect as g } from "react";
|
|
4
|
+
import { y as N } from "../../../index-DV5CcUu9.js";
|
|
5
|
+
import { F as x, a as h } from "../../../FormGroup-BLpFcIN5.js";
|
|
6
|
+
import { u as $, c as v } from "../../../ThemeProvider-Bs1j1Nwi.js";
|
|
7
|
+
import '../../../assets/Buscador.css';const u = /* @__PURE__ */ d.forwardRef(({
|
|
8
|
+
bsPrefix: a,
|
|
9
|
+
variant: r,
|
|
10
|
+
animation: s = "border",
|
|
11
|
+
size: o,
|
|
12
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
13
|
+
as: i = "div",
|
|
14
|
+
className: t,
|
|
15
|
+
...m
|
|
16
|
+
}, l) => {
|
|
17
|
+
a = $(a, "spinner");
|
|
18
|
+
const e = `${a}-${s}`;
|
|
19
|
+
return /* @__PURE__ */ n(i, {
|
|
20
|
+
ref: l,
|
|
21
|
+
...m,
|
|
22
|
+
className: v(t, e, o && `${e}-${o}`, r && `text-${r}`)
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
u.displayName = "Spinner";
|
|
26
|
+
const j = ({ onSearch: a, onFetchTableSearch: r }) => {
|
|
27
|
+
const [s, o] = c(""), [i, t] = c(!1), m = (e) => e.normalize("NFD").replace(/[\u0300-\u036f]/g, ""), l = (e) => {
|
|
28
|
+
const p = m(e.target.value);
|
|
29
|
+
a(p), o(e.target.value);
|
|
30
|
+
};
|
|
31
|
+
return g(() => {
|
|
32
|
+
if (t(!1), !r) return;
|
|
33
|
+
t(!0);
|
|
34
|
+
const e = setTimeout(() => {
|
|
35
|
+
r(s), t(!1);
|
|
36
|
+
}, 2500);
|
|
37
|
+
return () => clearTimeout(e);
|
|
38
|
+
}, [s]), /* @__PURE__ */ n("div", { className: "search-container", children: /* @__PURE__ */ f(x, { className: "d-flex align-items-center mx-1 position-relative", children: [
|
|
39
|
+
/* @__PURE__ */ n(
|
|
40
|
+
h,
|
|
9
41
|
{
|
|
10
42
|
type: "text",
|
|
11
43
|
className: "me-0 input-with-icon",
|
|
12
44
|
placeholder: "Ingrese un criterio de búsqueda...",
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
r(o);
|
|
16
|
-
}
|
|
45
|
+
value: s,
|
|
46
|
+
onChange: l
|
|
17
47
|
}
|
|
18
48
|
),
|
|
19
|
-
/* @__PURE__ */
|
|
49
|
+
i ? /* @__PURE__ */ n(u, { animation: "grow", size: "sm", className: "input-icon" }) : /* @__PURE__ */ n(N, { className: "input-icon" })
|
|
20
50
|
] }) });
|
|
21
51
|
};
|
|
22
52
|
export {
|
|
23
|
-
|
|
53
|
+
j as BusquedaInput
|
|
24
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Encabezado as
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Encabezado as s } from "../../../ui/encabezado/Encabezado.js";
|
|
3
3
|
import "../../../ui/subtitulo/Subtitulo.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import '../../../assets/EcoModalStyles.css';import '../../../assets/Modal.css';import '../../../assets/ContenedorVentana.css';import '../../../assets/IconoTooltip.css';import '../../../assets/ItemsModal.css';import '../../../assets/Logo.css';import '../../../assets/Bootstrap.css';import '../../../assets/Paginador.css';import '../../../assets/ContenidoModal.css';/* empty css */
|
|
@@ -14,22 +14,29 @@ import "react-router-dom";
|
|
|
14
14
|
import "../../../index-BrykDZgK.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
import "../../../Animacion-ThNL9iiY.js";
|
|
17
|
-
import { BusquedaInput as
|
|
18
|
-
const
|
|
19
|
-
title:
|
|
20
|
-
subtitle:
|
|
21
|
-
data:
|
|
22
|
-
setSearchTerm:
|
|
23
|
-
extraInput: o
|
|
24
|
-
// enableColumnSearch
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
import { BusquedaInput as d } from "../buscador/Buscador.js";
|
|
18
|
+
const k = ({
|
|
19
|
+
title: t,
|
|
20
|
+
subtitle: p,
|
|
21
|
+
data: n,
|
|
22
|
+
setSearchTerm: a,
|
|
23
|
+
extraInput: o,
|
|
24
|
+
// enableColumnSearch,
|
|
25
|
+
onFetchTableSearch: i
|
|
26
|
+
}) => /* @__PURE__ */ m("div", { className: "unp-row", children: [
|
|
27
|
+
/* @__PURE__ */ r(s, { title: t, subtitle: p }),
|
|
28
|
+
/* @__PURE__ */ m("div", { className: "inputs-container", children: [
|
|
29
|
+
(n.length > 0 || i) && // && !enableColumnSearch
|
|
30
|
+
/* @__PURE__ */ r(
|
|
31
|
+
d,
|
|
32
|
+
{
|
|
33
|
+
onSearch: a,
|
|
34
|
+
onFetchTableSearch: i
|
|
35
|
+
}
|
|
36
|
+
),
|
|
30
37
|
o && /* @__PURE__ */ r("div", { children: o })
|
|
31
38
|
] })
|
|
32
39
|
] });
|
|
33
40
|
export {
|
|
34
|
-
|
|
41
|
+
k as EncabezadoTabla
|
|
35
42
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useRef as I, useEffect as u } from "react";
|
|
3
3
|
import { R as M } from "../../../index-BrykDZgK.js";
|
|
4
|
-
import { q as A, r as B } from "../../../index-
|
|
4
|
+
import { q as A, r as B } from "../../../index-DV5CcUu9.js";
|
|
5
5
|
import '../../../assets/EcoModalStyles.css';/* empty css */
|
|
6
6
|
const X = ({
|
|
7
7
|
show: r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import Z, { useState as m, useEffect as L } from "react";
|
|
3
|
-
import { v as S, w } from "../../../index-
|
|
3
|
+
import { v as S, w } from "../../../index-DV5CcUu9.js";
|
|
4
4
|
import { a as ee, b as te, c as re, d as se } from "../../../index-D3WseyJh.js";
|
|
5
5
|
import { T as oe } from "../../../Table-C5ydZooy.js";
|
|
6
6
|
import { F as ie, a as ne } from "../../../FormGroup-BLpFcIN5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as N, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import p, { useState as o } from "react";
|
|
3
|
-
import { n as v } from "../../index-
|
|
3
|
+
import { n as v } from "../../index-DV5CcUu9.js";
|
|
4
4
|
import '../../assets/ContenidoModal.css';/* empty css */
|
|
5
5
|
const x = ({ title: u, modalContent: i, children: d }) => {
|
|
6
6
|
const [a, l] = o(0), [m, 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 { n as v } from "../../index-
|
|
3
|
+
import { n as v } from "../../index-DV5CcUu9.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 L, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { useState as M } from "react";
|
|
3
|
-
import { F as A, a as U, b as j, c as B, d as J, e as W, f as z, g as P, h as Y, i as q, j as g, k as h, l as G, m as H } from "../../index-
|
|
3
|
+
import { F as A, a as U, b as j, c as B, d as J, e as W, f as z, g as P, h as Y, i as q, j as g, k as h, l as G, m as H } from "../../index-DV5CcUu9.js";
|
|
4
4
|
import '../../assets/IconoTooltip.css';/* empty css */
|
|
5
5
|
const _ = ({ recordType: x, taken: o = !0, customIcon: l }) => {
|
|
6
6
|
const [a, b] = M(!1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { useNavigate as s } from "react-router-dom";
|
|
3
|
-
import { t as i, u as n } from "../../index-
|
|
3
|
+
import { t as i, u as n } from "../../index-DV5CcUu9.js";
|
|
4
4
|
import { G as c } from "../../iconBase-LROS5hdG.js";
|
|
5
5
|
import '../../assets/ItemsModal.css';/* empty css */
|
|
6
6
|
function m(o) {
|
package/dist/utils/Url.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
const t = "https://ecosistema.unp.gov.co", o = "/sistema/medidas-emergencia", s = "/sistema/acta-reunion", c = "/sistema/solicitud-viaticos",
|
|
1
|
+
const t = "https://ecosistema.unp.gov.co", o = "/sistema/medidas-emergencia", s = "/sistema/acta-reunion", c = "/sistema/solicitud-viaticos", a = "/sg/gc/certificado", e = "/panda-pdf", i = "/sitema/inicio", n = "http://localhost:8000/", u = "https://ecosistemadesarrollo.unp.gov.co/", r = "https://ecosistemapruebas.unp.gov.co/", l = "https://ecosistema.unp.gov.co/";
|
|
2
2
|
export {
|
|
3
3
|
s as urlActaReunion,
|
|
4
4
|
u as urlAuthDev,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
n as urlAuthLocal,
|
|
6
|
+
l as urlAuthProd,
|
|
7
|
+
r as urlAuthTest,
|
|
8
8
|
t as urlBase,
|
|
9
|
-
|
|
9
|
+
a as urlCertificadoLaboral,
|
|
10
10
|
i as urlHome,
|
|
11
11
|
o as urlMedidasEmergencia,
|
|
12
|
+
e as urlPandaPDF,
|
|
12
13
|
c as urlSolicitudViatico
|
|
13
14
|
};
|