react-ecosistema-unp 2.0.0-pre.4 → 2.0.0-pre.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.
Files changed (38) hide show
  1. package/dist/{AppList-DADmlv-L.js → AppList-CIoSxKhh.js} +2 -2
  2. package/dist/{FormControl-Su8QK7B1.js → FormControl-DshWdHuR.js} +1 -1
  3. package/dist/{FormGroup-C-0zvfDx.js → FormGroup-B8RAswur.js} +1 -1
  4. package/dist/{NoopTransition-D6j_OIIr.js → NoopTransition-D8AxBGEr.js} +1 -1
  5. package/dist/{TabPane-V6QEIcUG.js → TabPane-D71zhQGl.js} +1 -1
  6. package/dist/{TransitionWrapper-DLdeGKQk.js → TransitionWrapper-BCUEVCwA.js} +53 -56
  7. package/dist/extends-hS2Bh-Yp.js +12 -0
  8. package/dist/index-DNv2B0Nc.js +498 -0
  9. package/dist/{index-Bn9ixj44.js → index-DdZBtIJj.js} +2 -1
  10. package/dist/index-DpFLFzFZ.js +174 -0
  11. package/dist/lib/tables/custom-data-table/CustomDataTable.d.ts +6 -0
  12. package/dist/objectWithoutPropertiesLoose-DhwSMsjf.js +12 -0
  13. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  14. package/dist/shared/app-list/AppList.js +1 -1
  15. package/dist/shared/iconos-sistema/IconosSistema.js +1 -1
  16. package/dist/shared/menu-lateral/MenuLateral.js +1 -1
  17. package/dist/shared/notificacion-usuario/NotificacionUsuario.js +1 -1
  18. package/dist/shared/tab-ventana/TabVentana.js +2 -2
  19. package/dist/shared/ventana-tabs/VentanaTabs.js +4 -4
  20. package/dist/tables/custom-data-table/CustomDataTable.js +4191 -106
  21. package/dist/tables/eco-data-table/components/EcoBandejaEncabezado.js +1 -1
  22. package/dist/tables/tabla-registros/buscador/Buscador.js +2 -2
  23. package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +1 -1
  24. package/dist/tables/tabla-registros/modal-v2/EcoModal.js +1 -1
  25. package/dist/tables/tabla-registros/tabla/Tabla.js +2 -2
  26. package/dist/ui/notificacion-popover-v2/NotificacionPopoverV2.js +6 -6
  27. package/dist/ui/resumen-evaluacion/ResumenEvaluacion.js +1 -1
  28. package/dist/{useIsomorphicEffect-ZgBMQGq_.js → useIsomorphicEffect-DH-agvLb.js} +150 -157
  29. package/dist/useMergedRefs-YI9EGKd_.js +55 -0
  30. package/dist/utils/eco-provider/EcoContext.js +1 -1
  31. package/dist/utils/modal-radicados/AuxRadicadosComponents/TarjetaRadicado.js +1 -1
  32. package/dist/utils/modal-radicados/ModalDocumento.js +1 -1
  33. package/dist/utils/modal-radicados/ModalRadicado.js +1 -1
  34. package/dist/utils/modal-radicados/VisorDocumento.js +1 -1
  35. package/dist/utils/unp-historico/UnpHistorico.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/index-BiPsECxL.js +0 -667
  38. package/dist/useMergedRefs-C93iZe0R.js +0 -65
@@ -5,10 +5,10 @@ import { D as Ae, a6 as zs, a7 as hs, a8 as vs, a9 as ws, aa as q, h as re, S as
5
5
  import { G as Os } from "./iconBase-DSKTHwal.js";
6
6
  import { c as G } from "./index-ZphT3dr_.js";
7
7
  import { u as T, a as Ms } from "./ThemeProvider-Cv61y4Uy.js";
8
- import { a as Us, u as ye } from "./useMergedRefs-C93iZe0R.js";
8
+ import { a as Us, u as ye } from "./useMergedRefs-YI9EGKd_.js";
9
9
  import { $ as Ls, S as se, m as ae, u as js, T as Bs } from "./TabContext-Du6X9q-A.js";
10
10
  import { u as H } from "./useEventCallback-Bfo0-hwZ.js";
11
- import { c as _s, d as Hs, m as Vs, b as Ws, a as Js, j as Le, f as Ks, u as qs, e as Xs } from "./useIsomorphicEffect-ZgBMQGq_.js";
11
+ import { c as _s, d as Hs, m as Vs, b as Ws, a as Js, j as Le, f as Ks, u as qs, e as Xs } from "./useIsomorphicEffect-DH-agvLb.js";
12
12
  import { B as We } from "./Button-ChyKCwSh.js";
13
13
  import { A as Je } from "./Anchor-BfRjyGjE.js";
14
14
  import { w as Qs } from "./warning-DfuoVnCC.js";
@@ -2,7 +2,7 @@ import { c as u } from "./index-ZphT3dr_.js";
2
2
  import * as C from "react";
3
3
  import { useContext as N } from "react";
4
4
  import { w as $ } from "./warning-DfuoVnCC.js";
5
- import { F as v, a as w } from "./FormGroup-C-0zvfDx.js";
5
+ import { F as v, a as w } from "./FormGroup-B8RAswur.js";
6
6
  import { u as g } from "./ThemeProvider-Cv61y4Uy.js";
7
7
  import { jsx as O } from "react/jsx-runtime";
8
8
  const n = /* @__PURE__ */ C.forwardRef(({
@@ -1,7 +1,7 @@
1
1
  import { c as f } from "./index-ZphT3dr_.js";
2
2
  import * as m from "react";
3
3
  import { useMemo as d } from "react";
4
- import { P as t } from "./index-BiPsECxL.js";
4
+ import { P as t } from "./index-DNv2B0Nc.js";
5
5
  import { jsx as p } from "react/jsx-runtime";
6
6
  const l = {
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import { c as E } from "./index-ZphT3dr_.js";
2
2
  import * as u from "react";
3
3
  import { useCallback as p, useMemo as R, useRef as l, useEffect as N, cloneElement as g } from "react";
4
- import { a as h, T as b, t as w, g as d, E as T, b as x } from "./TransitionWrapper-DLdeGKQk.js";
4
+ import { a as h, T as b, t as w, g as d, E as T, b as x } from "./TransitionWrapper-BCUEVCwA.js";
5
5
  import { jsx as F } from "react/jsx-runtime";
6
6
  import { u as y } from "./useEventCallback-Bfo0-hwZ.js";
7
7
  const C = {
@@ -4,7 +4,7 @@ import { T as b, m as I, S as y, u as R, $ as k } from "./TabContext-Du6X9q-A.js
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  import { c as K } from "./index-ZphT3dr_.js";
6
6
  import { u as N } from "./ThemeProvider-Cv61y4Uy.js";
7
- import { N as $, F as A } from "./NoopTransition-D6j_OIIr.js";
7
+ import { N as $, F as A } from "./NoopTransition-D8AxBGEr.js";
8
8
  const F = ["active", "eventKey", "mountOnEnter", "transition", "unmountOnExit", "role", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited"], _ = ["activeKey", "getControlledId", "getControllerId"], B = ["as"];
9
9
  function C(n, o) {
10
10
  if (n == null) return {};
@@ -1,19 +1,16 @@
1
- import * as q from "react";
2
- import x, { useRef as F, useCallback as h } from "react";
3
- import { o as W, _ as H, l as L, u as $ } from "./useMergedRefs-C93iZe0R.js";
4
- import { P as a } from "./index-BiPsECxL.js";
5
- import { R as N } from "./index-Bn9ixj44.js";
1
+ import * as X from "react";
2
+ import x, { useRef as q, useCallback as h } from "react";
3
+ import { o as F, l as L, u as W } from "./useMergedRefs-YI9EGKd_.js";
4
+ import { _ as H } from "./objectWithoutPropertiesLoose-DhwSMsjf.js";
5
+ import { _ as $ } from "./setPrototypeOf-NPgp4cYc.js";
6
+ import { P as a } from "./index-DNv2B0Nc.js";
7
+ import { R as N } from "./index-DdZBtIJj.js";
6
8
  import { jsx as Y } from "react/jsx-runtime";
7
- function y(e, i) {
8
- return y = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, r) {
9
- return o.__proto__ = r, o;
10
- }, y(e, i);
11
- }
12
9
  function Z(e, i) {
13
- e.prototype = Object.create(i.prototype), e.prototype.constructor = e, y(e, i);
10
+ e.prototype = Object.create(i.prototype), e.prototype.constructor = e, $(e, i);
14
11
  }
15
12
  function z(e) {
16
- var i = W(e);
13
+ var i = F(e);
17
14
  return i && i.defaultView || window;
18
15
  }
19
16
  function B(e, i) {
@@ -24,7 +21,7 @@ function J(e) {
24
21
  return e.replace(K, "-$1").toLowerCase();
25
22
  }
26
23
  var Q = /^ms-/;
27
- function O(e) {
24
+ function S(e) {
28
25
  return J(e).replace(Q, "-ms-");
29
26
  }
30
27
  var tt = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
@@ -34,13 +31,13 @@ function et(e) {
34
31
  function k(e, i) {
35
32
  var o = "", r = "";
36
33
  if (typeof i == "string")
37
- return e.style.getPropertyValue(O(i)) || B(e).getPropertyValue(O(i));
34
+ return e.style.getPropertyValue(S(i)) || B(e).getPropertyValue(S(i));
38
35
  Object.keys(i).forEach(function(n) {
39
36
  var t = i[n];
40
- !t && t !== 0 ? e.style.removeProperty(O(n)) : et(n) ? r += n + "(" + t + ") " : o += O(n) + ": " + t + ";";
37
+ !t && t !== 0 ? e.style.removeProperty(S(n)) : et(n) ? r += n + "(" + t + ") " : o += S(n) + ": " + t + ";";
41
38
  }), r && (o += "transform: " + r + ";"), e.style.cssText += ";" + o;
42
39
  }
43
- const M = {
40
+ const w = {
44
41
  disabled: !1
45
42
  };
46
43
  var nt = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
@@ -60,10 +57,10 @@ process.env.NODE_ENV !== "production" && a.oneOfType([a.string, a.shape({
60
57
  exitDone: a.string,
61
58
  exitActive: a.string
62
59
  })]);
63
- const _ = x.createContext(null);
60
+ const P = x.createContext(null);
64
61
  var rt = function(i) {
65
62
  return i.scrollTop;
66
- }, R = "unmounted", m = "exited", v = "entering", b = "entered", C = "exiting", c = /* @__PURE__ */ (function(e) {
63
+ }, R = "unmounted", m = "exited", v = "entering", b = "entered", y = "exiting", c = /* @__PURE__ */ (function(e) {
67
64
  Z(i, e);
68
65
  function i(r, n) {
69
66
  var t;
@@ -86,7 +83,7 @@ var rt = function(i) {
86
83
  var t = null;
87
84
  if (n !== this.props) {
88
85
  var s = this.state.status;
89
- this.props.in ? s !== v && s !== b && (t = v) : (s === v || s === b) && (t = C);
86
+ this.props.in ? s !== v && s !== b && (t = v) : (s === v || s === b) && (t = y);
90
87
  }
91
88
  this.updateStatus(!1, t);
92
89
  }, o.componentWillUnmount = function() {
@@ -112,8 +109,8 @@ var rt = function(i) {
112
109
  status: R
113
110
  });
114
111
  }, o.performEnter = function(n) {
115
- var t = this, s = this.props.enter, u = this.context ? this.context.isMounting : n, f = this.props.nodeRef ? [u] : [N.findDOMNode(this), u], p = f[0], l = f[1], d = this.getTimeouts(), S = u ? d.appear : d.enter;
116
- if (!n && !s || M.disabled) {
112
+ var t = this, s = this.props.enter, u = this.context ? this.context.isMounting : n, f = this.props.nodeRef ? [u] : [N.findDOMNode(this), u], p = f[0], l = f[1], d = this.getTimeouts(), D = u ? d.appear : d.enter;
113
+ if (!n && !s || w.disabled) {
117
114
  this.safeSetState({
118
115
  status: b
119
116
  }, function() {
@@ -124,7 +121,7 @@ var rt = function(i) {
124
121
  this.props.onEnter(p, l), this.safeSetState({
125
122
  status: v
126
123
  }, function() {
127
- t.props.onEntering(p, l), t.onTransitionEnd(S, function() {
124
+ t.props.onEntering(p, l), t.onTransitionEnd(D, function() {
128
125
  t.safeSetState({
129
126
  status: b
130
127
  }, function() {
@@ -134,7 +131,7 @@ var rt = function(i) {
134
131
  });
135
132
  }, o.performExit = function() {
136
133
  var n = this, t = this.props.exit, s = this.getTimeouts(), u = this.props.nodeRef ? void 0 : N.findDOMNode(this);
137
- if (!t || M.disabled) {
134
+ if (!t || w.disabled) {
138
135
  this.safeSetState({
139
136
  status: m
140
137
  }, function() {
@@ -143,7 +140,7 @@ var rt = function(i) {
143
140
  return;
144
141
  }
145
142
  this.props.onExit(u), this.safeSetState({
146
- status: C
143
+ status: y
147
144
  }, function() {
148
145
  n.props.onExiting(u), n.onTransitionEnd(s.exit, function() {
149
146
  n.safeSetState({
@@ -185,13 +182,13 @@ var rt = function(i) {
185
182
  var u = H(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
186
183
  return (
187
184
  // allows for nested Transitions
188
- /* @__PURE__ */ x.createElement(_.Provider, {
185
+ /* @__PURE__ */ x.createElement(P.Provider, {
189
186
  value: null
190
187
  }, typeof s == "function" ? s(n, u) : x.cloneElement(x.Children.only(s), u))
191
188
  );
192
189
  }, i;
193
190
  })(x.Component);
194
- c.contextType = _;
191
+ c.contextType = P;
195
192
  c.propTypes = process.env.NODE_ENV !== "production" ? {
196
193
  /**
197
194
  * A React reference to DOM element that need to transition:
@@ -381,19 +378,19 @@ c.UNMOUNTED = R;
381
378
  c.EXITED = m;
382
379
  c.ENTERING = v;
383
380
  c.ENTERED = b;
384
- c.EXITING = C;
385
- function ht(e) {
381
+ c.EXITING = y;
382
+ function vt(e) {
386
383
  return e.code === "Escape" || e.keyCode === 27;
387
384
  }
388
385
  function it() {
389
- const e = q.version.split(".");
386
+ const e = X.version.split(".");
390
387
  return {
391
388
  major: +e[0],
392
389
  minor: +e[1],
393
390
  patch: +e[2]
394
391
  };
395
392
  }
396
- function mt(e) {
393
+ function xt(e) {
397
394
  if (!e || typeof e == "function")
398
395
  return null;
399
396
  const {
@@ -431,22 +428,22 @@ function ut(e, i, o, r) {
431
428
  n(), t();
432
429
  };
433
430
  }
434
- function P(e, i) {
431
+ function M(e, i) {
435
432
  const o = k(e, i) || "", r = o.indexOf("ms") === -1 ? 1e3 : 1;
436
433
  return parseFloat(o) * r;
437
434
  }
438
- function vt(e, i) {
439
- const o = P(e, "transitionDuration"), r = P(e, "transitionDelay"), n = ut(e, (t) => {
435
+ function gt(e, i) {
436
+ const o = M(e, "transitionDuration"), r = M(e, "transitionDelay"), n = ut(e, (t) => {
440
437
  t.target === e && (n(), i(t));
441
438
  }, o + r);
442
439
  }
443
- function xt(e) {
440
+ function Tt(e) {
444
441
  e.offsetHeight;
445
442
  }
446
443
  function ft(e) {
447
444
  return e && "setState" in e ? N.findDOMNode(e) : e ?? null;
448
445
  }
449
- const gt = /* @__PURE__ */ x.forwardRef(({
446
+ const bt = /* @__PURE__ */ x.forwardRef(({
450
447
  onEnter: e,
451
448
  onEntering: i,
452
449
  onEntered: o,
@@ -458,43 +455,43 @@ const gt = /* @__PURE__ */ x.forwardRef(({
458
455
  childRef: f,
459
456
  ...p
460
457
  }, l) => {
461
- const d = F(null), S = $(d, f), w = (g) => {
462
- S(ft(g));
463
- }, E = (g) => (D) => {
464
- g && d.current && g(d.current, D);
465
- }, I = h(E(e), [e]), U = h(E(i), [i]), j = h(E(o), [o]), V = h(E(r), [r]), A = h(E(n), [n]), G = h(E(t), [t]), X = h(E(s), [s]);
458
+ const d = q(null), D = W(d, f), C = (g) => {
459
+ D(ft(g));
460
+ }, E = (g) => (O) => {
461
+ g && d.current && g(d.current, O);
462
+ }, _ = h(E(e), [e]), I = h(E(i), [i]), U = h(E(o), [o]), V = h(E(r), [r]), j = h(E(n), [n]), A = h(E(t), [t]), G = h(E(s), [s]);
466
463
  return /* @__PURE__ */ Y(c, {
467
464
  ref: l,
468
465
  ...p,
469
- onEnter: I,
470
- onEntered: j,
471
- onEntering: U,
466
+ onEnter: _,
467
+ onEntered: U,
468
+ onEntering: I,
472
469
  onExit: V,
473
- onExited: G,
474
- onExiting: A,
475
- addEndListener: X,
470
+ onExited: A,
471
+ onExiting: j,
472
+ addEndListener: G,
476
473
  nodeRef: d,
477
- children: typeof u == "function" ? (g, D) => (
474
+ children: typeof u == "function" ? (g, O) => (
478
475
  // TODO: Types for RTG missing innerProps, so need to cast.
479
476
  u(g, {
480
- ...D,
481
- ref: w
477
+ ...O,
478
+ ref: C
482
479
  })
483
480
  ) : /* @__PURE__ */ x.cloneElement(u, {
484
- ref: w
481
+ ref: C
485
482
  })
486
483
  });
487
484
  });
488
485
  export {
489
486
  b as E,
490
- gt as T,
491
- xt as a,
487
+ bt as T,
488
+ Tt as a,
492
489
  v as b,
493
- C as c,
490
+ y as c,
494
491
  m as d,
495
492
  ft as e,
496
- mt as g,
497
- ht as i,
493
+ xt as g,
494
+ vt as i,
498
495
  k as s,
499
- vt as t
496
+ gt as t
500
497
  };
@@ -0,0 +1,12 @@
1
+ function e() {
2
+ return e = Object.assign ? Object.assign.bind() : function(t) {
3
+ for (var n = 1; n < arguments.length; n++) {
4
+ var r = arguments[n];
5
+ for (var a in r) ({}).hasOwnProperty.call(r, a) && (t[a] = r[a]);
6
+ }
7
+ return t;
8
+ }, e.apply(null, arguments);
9
+ }
10
+ export {
11
+ e as _
12
+ };