react-ecosistema-unp 1.7.10 → 1.7.11
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/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/shared/menu-lateral/MenuLateral.js +9 -9
- package/dist/tables/tabla-registros/TablaRegistros.js +1 -1
- package/dist/ui/logo/Logo.js +6 -6
- package/package.json +113 -113
|
@@ -6,6 +6,8 @@ interface Column {
|
|
|
6
6
|
truncateText?: boolean;
|
|
7
7
|
sorter?: boolean;
|
|
8
8
|
renderComponent?: (row: Record<string, any>) => React.ReactNode;
|
|
9
|
+
redirectTo?: (row: Record<string, any>) => string;
|
|
10
|
+
state?: Record<string, any>;
|
|
9
11
|
}
|
|
10
12
|
interface TableProps {
|
|
11
13
|
title?: string;
|
|
@@ -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
|
|
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
|
|
282
282
|
0-1.51 1z`
|
|
283
283
|
}
|
|
284
284
|
)
|
|
@@ -1648,7 +1648,7 @@ const pi = () => (/* @__PURE__ */ new Date()).getFullYear(), ct = (e) => e.norma
|
|
|
1648
1648
|
), ae = Ke ? pn : bn, yn = (p, b) => {
|
|
1649
1649
|
if (p.redirectTo) {
|
|
1650
1650
|
const J = p.redirectTo(b);
|
|
1651
|
-
hn(J);
|
|
1651
|
+
hn(J, { state: p.state });
|
|
1652
1652
|
return;
|
|
1653
1653
|
}
|
|
1654
1654
|
p.hasModal ? b.estadoRegistro === "por_gestionar" && T && o ? be.fire({
|