react-ecosistema-unp 1.2.5 → 1.2.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.
Files changed (34) hide show
  1. package/dist/Animacion-ThNL9iiY.js +7667 -0
  2. package/dist/{Button-DMwpnJlD.js → Button-B87TJYml.js} +1 -1
  3. package/dist/{Card-BXqmurzN.js → Card-DAsInpjB.js} +2 -2
  4. package/dist/{CardBody-RoDe1y90.js → CardBody-CqyD8ylW.js} +1 -1
  5. package/dist/{NotificacionUsuario-B0uOnywk.js → NotificacionUsuario-DsYVJEKu.js} +21 -20
  6. package/dist/{TabPane-BvUHIFlv.js → TabPane-DtFCEmIj.js} +103 -102
  7. package/dist/{Table-dmTfkFLf.js → Table-C5ydZooy.js} +1 -1
  8. package/dist/{ThemeProvider-CFCmmLJC.js → ThemeProvider-Bs1j1Nwi.js} +22 -25
  9. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  10. package/dist/assets/Animacion.css +1 -0
  11. package/dist/cards/tarjeta/Tarjeta.js +3 -3
  12. package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +1 -1
  13. package/dist/cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js +1 -1
  14. package/dist/cards/tarjeta-lectura/TarjetaLectura.js +1 -1
  15. package/dist/{index-Bk5C3cP1.js → index-sDUMSncV.js} +1 -1
  16. package/dist/isLoading-B9qN9mny.js +407 -0
  17. package/dist/lib/assets/animations/loadingCat.json.d.ts +3 -0
  18. package/dist/lib/ui/animacion/Animacion.d.ts +8 -0
  19. package/dist/lib/ui.d.ts +1 -0
  20. package/dist/shared/breadcrumb/Breadcrumb.js +61 -44
  21. package/dist/shared/iconos-sistema/IconosSistema.js +1 -1
  22. package/dist/shared/notificacion-usuario/NotificacionUsuario.js +1 -1
  23. package/dist/shared/tab-ventana/TabVentana.js +2 -2
  24. package/dist/shared/ventana-tabs/VentanaTabs.js +3 -3
  25. package/dist/tables/tabla-registros/TablaRegistros.js +1012 -9073
  26. package/dist/tables/tabla-registros/buscador/Buscador.js +3 -3
  27. package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +3 -2
  28. package/dist/tables/tabla-registros/tabla/Tabla.js +1 -1
  29. package/dist/ui/animacion/Animacion.js +25 -0
  30. package/dist/ui/paginador/Paginador.js +2 -2
  31. package/dist/ui.js +12 -10
  32. package/dist/utils/unp-historico/UnpHistorico.js +1 -1
  33. package/dist/{warning-BMiIoRBk.js → warning-DfuoVnCC.js} +1 -1
  34. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { u as i, c as l } from "./ThemeProvider-CFCmmLJC.js";
1
+ import { u as i, c as l } from "./ThemeProvider-Bs1j1Nwi.js";
2
2
  import * as B from "react";
3
3
  import { u as N } from "./Button-DD8y8HBa.js";
4
4
  import { jsx as x } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
- import { c as o, u as m } from "./ThemeProvider-CFCmmLJC.js";
1
+ import { c as o, u as m } from "./ThemeProvider-Bs1j1Nwi.js";
2
2
  import * as c from "react";
3
3
  import { useMemo as $ } from "react";
4
- import { C as n } from "./CardBody-RoDe1y90.js";
4
+ import { C as n } from "./CardBody-CqyD8ylW.js";
5
5
  import { jsx as t } from "react/jsx-runtime";
6
6
  import { c as S } from "./CardHeaderContext-DVw0yHuy.js";
7
7
  const f = (e) => /* @__PURE__ */ c.forwardRef((a, r) => /* @__PURE__ */ t("div", {
@@ -1,5 +1,5 @@
1
1
  import * as m from "react";
2
- import { u as t, c as e } from "./ThemeProvider-CFCmmLJC.js";
2
+ import { u as t, c as e } from "./ThemeProvider-Bs1j1Nwi.js";
3
3
  import { jsx as c } from "react/jsx-runtime";
4
4
  const p = /* @__PURE__ */ m.forwardRef(({
5
5
  className: r,
@@ -1,14 +1,15 @@
1
1
  import { jsx as j, Fragment as Nt, jsxs as bn } from "react/jsx-runtime";
2
2
  import { a as xn } from "./index-COVtBfm6.js";
3
- import { g as On, u as G, c as J, a as En } from "./ThemeProvider-CFCmmLJC.js";
3
+ import { u as G, c as J, a as On } from "./ThemeProvider-Bs1j1Nwi.js";
4
4
  import * as S from "react";
5
- import { useRef as F, useState as Ke, useCallback as _, useEffect as z, useReducer as Dn, useMemo as Me, useContext as k, createContext as Pn, useLayoutEffect as Cn } from "react";
6
- import { _ as $n, o as An, l as Ae, $ as Rn, S as Te, m as Ne, c as jn, a as Mn, b as Tn, u as Xe, T as Nn } from "./TabContext-CdjYJzMB.js";
5
+ import { useRef as F, useState as Ke, useCallback as _, useEffect as z, useReducer as En, useMemo as Me, useContext as k, createContext as Dn, useLayoutEffect as Pn } from "react";
6
+ import { _ as Cn, o as $n, l as Ae, $ as An, S as Te, m as Ne, c as Rn, a as jn, b as Mn, u as Xe, T as Tn } from "./TabContext-CdjYJzMB.js";
7
7
  import { u as Z } from "./useEventCallback-Bfo0-hwZ.js";
8
- import { w as St } from "./warning-BMiIoRBk.js";
8
+ import { w as St } from "./warning-DfuoVnCC.js";
9
9
  import { B as It } from "./Button-DD8y8HBa.js";
10
+ import { g as Nn } from "./_commonjsHelpers-C6fGbg64.js";
10
11
  import { A as kt } from "./Anchor-D8f6vg0T.js";
11
- import { B as Sn } from "./Button-DMwpnJlD.js";
12
+ import { B as Sn } from "./Button-B87TJYml.js";
12
13
  import './assets/NotificacionUsuario.css';function Ve() {
13
14
  return Ve = Object.assign ? Object.assign.bind() : function(e) {
14
15
  for (var t = 1; t < arguments.length; t++) {
@@ -45,7 +46,7 @@ function In() {
45
46
  return He = e, He;
46
47
  }
47
48
  var kn = In();
48
- const vt = /* @__PURE__ */ On(kn);
49
+ const vt = /* @__PURE__ */ Nn(kn);
49
50
  function mt(e) {
50
51
  return "default" + e.charAt(0).toUpperCase() + e.substr(1);
51
52
  }
@@ -73,7 +74,7 @@ function Wn(e, t, n) {
73
74
  }
74
75
  function Fn(e, t) {
75
76
  return Object.keys(t).reduce(function(n, r) {
76
- var o, i = n, f = i[mt(r)], s = i[r], u = $n(i, [mt(r), r].map(Bn)), c = t[r], a = Wn(s, f, e[c]), l = a[0], v = a[1];
77
+ var o, i = n, f = i[mt(r)], s = i[r], u = Cn(i, [mt(r), r].map(Bn)), c = t[r], a = Wn(s, f, e[c]), l = a[0], v = a[1];
77
78
  return Ve({}, u, (o = {}, o[r] = l, o[c] = v, o));
78
79
  }, e);
79
80
  }
@@ -116,7 +117,7 @@ function gt(e, t) {
116
117
  return Xn(e.querySelectorAll(t));
117
118
  }
118
119
  function zn() {
119
- const [, e] = Dn((t) => t + 1, 0);
120
+ const [, e] = En((t) => t + 1, 0);
120
121
  return e;
121
122
  }
122
123
  const Ie = /* @__PURE__ */ S.createContext(null);
@@ -1185,7 +1186,7 @@ function ao(e, t = Rt, {
1185
1186
  z(() => {
1186
1187
  var c, a;
1187
1188
  if (n || e == null) return;
1188
- const l = An(Ue(e)), v = l.defaultView || window;
1189
+ const l = $n(Ue(e)), v = l.defaultView || window;
1189
1190
  let d = (c = v.event) != null ? c : (a = v.parent) == null ? void 0 : a.event, m = null;
1190
1191
  jt[r] && (m = Ae(l, jt[r], s, !0));
1191
1192
  const g = Ae(l, r, f, !0), p = Ae(l, r, (y) => {
@@ -1335,7 +1336,7 @@ const zt = (e) => {
1335
1336
  }, Mt = () => {
1336
1337
  };
1337
1338
  function Yt() {
1338
- const e = Rn(), {
1339
+ const e = An(), {
1339
1340
  show: t = !1,
1340
1341
  toggle: n = Mt,
1341
1342
  setToggle: r,
@@ -1368,7 +1369,7 @@ const vo = "data-rr-ui-", mo = "rrUi";
1368
1369
  function Be(e) {
1369
1370
  return `${vo}${e}`;
1370
1371
  }
1371
- function ko(e) {
1372
+ function Bo(e) {
1372
1373
  return `${mo}${e}`;
1373
1374
  }
1374
1375
  const go = ["eventKey", "disabled", "onClick", "active", "as"];
@@ -1422,7 +1423,7 @@ const Qt = /* @__PURE__ */ S.forwardRef((e, t) => {
1422
1423
  }, u));
1423
1424
  });
1424
1425
  Qt.displayName = "DropdownItem";
1425
- const Zt = /* @__PURE__ */ Pn(jn ? window : void 0);
1426
+ const Zt = /* @__PURE__ */ Dn(Rn ? window : void 0);
1426
1427
  Zt.Provider;
1427
1428
  function wo() {
1428
1429
  return k(Zt);
@@ -1443,7 +1444,7 @@ function De({
1443
1444
  placement: f = "bottom-start",
1444
1445
  children: s
1445
1446
  }) {
1446
- const u = wo(), [c, a] = Mn(t, e, r), [l, v] = Tt(), d = l.current, [m, g] = Tt(), p = m.current, x = Kn(c), y = F(null), b = F(!1), h = k(Te), w = _((O, C, $ = C == null ? void 0 : C.type) => {
1447
+ const u = wo(), [c, a] = jn(t, e, r), [l, v] = Tt(), d = l.current, [m, g] = Tt(), p = m.current, x = Kn(c), y = F(null), b = F(!1), h = k(Te), w = _((O, C, $ = C == null ? void 0 : C.type) => {
1447
1448
  a(O, {
1448
1449
  originalEvent: C,
1449
1450
  source: $
@@ -1508,7 +1509,7 @@ function De({
1508
1509
  }
1509
1510
  return;
1510
1511
  case "Tab":
1511
- Tn(I.ownerDocument, "keyup", (N) => {
1512
+ Mn(I.ownerDocument, "keyup", (N) => {
1512
1513
  var se;
1513
1514
  (N.key === "Tab" && !N.target || !((se = l.current) != null && se.contains(N.target))) && a(!1, q);
1514
1515
  }, {
@@ -1597,7 +1598,7 @@ const rn = /* @__PURE__ */ S.forwardRef(({
1597
1598
  rn.displayName = "DropdownItemText";
1598
1599
  const yo = typeof global < "u" && // @ts-ignore
1599
1600
  global.navigator && // @ts-ignore
1600
- global.navigator.product === "ReactNative", bo = typeof document < "u", xo = bo || yo ? Cn : z, rt = /* @__PURE__ */ S.createContext(null);
1601
+ global.navigator.product === "ReactNative", bo = typeof document < "u", xo = bo || yo ? Pn : z, rt = /* @__PURE__ */ S.createContext(null);
1601
1602
  rt.displayName = "InputGroupContext";
1602
1603
  const on = /* @__PURE__ */ S.createContext(null);
1603
1604
  on.displayName = "NavbarContext";
@@ -1712,7 +1713,7 @@ const fn = /* @__PURE__ */ S.forwardRef((e, t) => {
1712
1713
  ...d
1713
1714
  } = Fn(e, {
1714
1715
  show: "onToggle"
1715
- }), m = k(rt), g = G(n, "dropdown"), p = En(), x = (D) => v === !1 ? D === "click" : v === "inside" ? D !== "rootClose" : v === "outside" ? D !== "select" : !0, y = Un((D, P) => {
1716
+ }), m = k(rt), g = G(n, "dropdown"), p = On(), x = (D) => v === !1 ? D === "click" : v === "inside" ? D !== "rootClose" : v === "outside" ? D !== "select" : !0, y = Un((D, P) => {
1716
1717
  var A;
1717
1718
  !((A = P.originalEvent) == null || (A = A.target) == null) && A.classList.contains("dropdown-toggle") && P.source === "mousedown" || (P.originalEvent.currentTarget === document && (P.source !== "keydown" || P.originalEvent.key === "Escape") && (P.source = "rootClose"), x(P.source) && (u == null || u(D, P)));
1718
1719
  }), h = sn(f === "end", r, p), w = Me(() => ({
@@ -1770,7 +1771,7 @@ function ln({
1770
1771
  role: o,
1771
1772
  disabled: i
1772
1773
  }) {
1773
- const f = k(Te), s = k(tt), u = k(Nn);
1774
+ const f = k(Te), s = k(tt), u = k(Tn);
1774
1775
  let c = n;
1775
1776
  const a = {
1776
1777
  role: o
@@ -1868,7 +1869,7 @@ const Po = Object.assign(pn, {
1868
1869
  ItemText: oe.ItemText,
1869
1870
  Divider: oe.Divider,
1870
1871
  Header: oe.Header
1871
- }), Bo = () => /* @__PURE__ */ j(
1872
+ }), Lo = () => /* @__PURE__ */ j(
1872
1873
  Po,
1873
1874
  {
1874
1875
  title: /* @__PURE__ */ j(xn, { className: "icono-notificaciones" }),
@@ -1880,10 +1881,10 @@ const Po = Object.assign(pn, {
1880
1881
  }
1881
1882
  );
1882
1883
  export {
1883
- Bo as N,
1884
+ Lo as N,
1884
1885
  Do as a,
1885
1886
  tt as b,
1886
- ko as c,
1887
+ Bo as c,
1887
1888
  Be as d,
1888
1889
  dn as e,
1889
1890
  Fn as f,