react-ecosistema-unp 2.6.0 → 2.7.0

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 (80) hide show
  1. package/README.md +3 -1
  2. package/dist/{AppList-CNtk-CBh.js → AppList-BMiq1ohd.js} +65 -65
  3. package/dist/{Button-eLVX04GZ.js → Button-CFf-9Lsg.js} +1 -1
  4. package/dist/{Card-_JzS9Ssz.js → Card-pj1hogT6.js} +2 -2
  5. package/dist/{CardBody-CUEPjltD.js → CardBody-osBHz8Sj.js} +1 -1
  6. package/dist/FormCheck-C44kvYaC.js +109 -0
  7. package/dist/{FormControl-DshWdHuR.js → FormControl-CjlQ5vZ8.js} +6 -6
  8. package/dist/{FormGroup-B8RAswur.js → FormGroup-BKpeUcMi.js} +3 -3
  9. package/dist/{Spinner-D69BfVXa.js → Spinner-DlaZVI7E.js} +1 -1
  10. package/dist/{TabPane-D71zhQGl.js → TabPane-C7rqu9vB.js} +1 -1
  11. package/dist/{Table-cUZFLrPi.js → Table-CYSh6C16.js} +1 -1
  12. package/dist/ThemeProvider-D8TYBK1p.js +41 -0
  13. package/dist/assets/SmartTextArea.css +1 -1
  14. package/dist/cards/tarjeta/Tarjeta.js +3 -3
  15. package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +2 -2
  16. package/dist/cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js +1 -1
  17. package/dist/cards/tarjeta-info/TarjetaInfo.js +3 -3
  18. package/dist/cards/tarjeta-lectura/TarjetaLectura.js +1 -1
  19. package/dist/data/tarjeta-datos/TarjetaDatos.js +2 -2
  20. package/dist/ia/diccionario/analisisRiesgo.js +245 -0
  21. package/dist/ia/diccionario/index.js +9 -0
  22. package/dist/ia/diccionario/tipos.js +4 -0
  23. package/dist/ia/larissa/larissaService.js +160 -0
  24. package/dist/ia/smart-textarea/DiffResult.js +7 -0
  25. package/dist/ia/smart-textarea/SmartTextArea.js +550 -0
  26. package/dist/ia/smart-textarea/diff.js +55 -0
  27. package/dist/ia.js +26 -0
  28. package/dist/{index-HaNVi1BU.js → index-DBLHT45t.js} +61 -61
  29. package/dist/lib/ia/diccionario/analisisRiesgo.d.ts +170 -0
  30. package/dist/lib/ia/diccionario/index.d.ts +10 -0
  31. package/dist/lib/ia/diccionario/tipos.d.ts +40 -0
  32. package/dist/lib/ia/larissa/larissaService.d.ts +153 -0
  33. package/dist/lib/ia/smart-textarea/DiffResult.d.ts +7 -0
  34. package/dist/lib/ia/smart-textarea/SmartTextArea.d.ts +82 -0
  35. package/dist/lib/ia/smart-textarea/diff.d.ts +15 -0
  36. package/dist/lib/ia.d.ts +8 -0
  37. package/dist/lib/ui.d.ts +0 -2
  38. package/dist/shared/app-list/AppList.js +2 -2
  39. package/dist/shared/breadcrumb/Breadcrumb.js +1 -1
  40. package/dist/shared/iconos-sistema/IconosSistema.js +1 -1
  41. package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
  42. package/dist/shared/menu-lateral/MenuLateral.js +3 -4
  43. package/dist/shared/notificacion-usuario/NotificacionUsuario.js +20 -21
  44. package/dist/shared/tab-ventana/TabVentana.js +1 -1
  45. package/dist/shared/ventana-tabs/VentanaTabs.js +3 -3
  46. package/dist/tables/custom-data-table/CustomDataTable.js +4 -5
  47. package/dist/tables/custom-data-table-split/CustomDataTableSplit.js +4 -5
  48. package/dist/tables/eco-data-table/components/EcoBandejaEncabezado.js +3 -4
  49. package/dist/tables/eco-data-table/components/EcoDataTable/EcoDataTable.js +14 -14
  50. package/dist/tables/eco-data-table/components/EcoDataTableLoading.js +1 -1
  51. package/dist/tables/eco-data-table/components/EcoDataTablePageStatus.js +1 -1
  52. package/dist/tables/tabla-registros/buscador/Buscador.js +4 -4
  53. package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +3 -4
  54. package/dist/tables/tabla-registros/modal-v2/EcoModal.js +8 -8
  55. package/dist/tables/tabla-registros/tabla/Tabla.js +17 -17
  56. package/dist/ui/alertas/AlertaFormulario.js +1 -1
  57. package/dist/ui/contenido-modal/ContenidoModal.js +1 -1
  58. package/dist/ui/contenido-modal/ContenidoModalv0.1.js +1 -1
  59. package/dist/ui/contenido-modal-v2/ContenidoModalV2.js +3 -3
  60. package/dist/ui/contenido-modal-v2/ModalV2Menu.js +1 -1
  61. package/dist/ui/icono-tooltip/IconoTooltip.js +24 -24
  62. package/dist/ui/items-modal/ItemsModal.js +1 -1
  63. package/dist/ui/nav-formularios-lateral/NavFormulariosLateral.js +1 -1
  64. package/dist/ui/notificacion-popover-v2/NotificacionPopoverV2.js +55 -55
  65. package/dist/ui/paginador/Paginador.js +2 -2
  66. package/dist/ui/seccion-formulario/SeccionFormulario.js +1 -1
  67. package/dist/ui/status-filter-bar/StatusFilterBar.js +7 -7
  68. package/dist/ui/status-semaphore/StatusSemaphore.js +1 -1
  69. package/dist/ui/stepper-v2/StepperV2.js +2 -2
  70. package/dist/ui.js +6 -8
  71. package/dist/utils/eco-provider/EcoContext.js +3 -4
  72. package/dist/utils/modal-radicados/AuxRadicadosComponents/TarjetaRadicado.js +11 -12
  73. package/dist/utils/modal-radicados/DocumentoVisorEstado.js +4 -5
  74. package/dist/utils/modal-radicados/ModalDocumento.js +10 -10
  75. package/dist/utils/modal-radicados/ModalRadicado.js +152 -254
  76. package/dist/utils/unp-historico/UnpHistorico.js +4 -5
  77. package/package.json +5 -2
  78. package/dist/ThemeProvider-Cv61y4Uy.js +0 -27
  79. package/dist/lib/ui/smart-textarea/SmartTextArea.d.ts +0 -17
  80. package/dist/ui/smart-textarea/SmartTextArea.js +0 -123
@@ -1,11 +1,11 @@
1
1
  import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
2
  import L, { useState as m, useEffect as S } from "react";
3
- import { X as w, Y as ee } from "../../../index-HaNVi1BU.js";
3
+ import { a2 as w, a3 as ee } from "../../../index-DBLHT45t.js";
4
4
  import { n as te, o as re, p as se, j as oe } from "../../../index-B96iRUpt.js";
5
- import { T as ie } from "../../../Table-cUZFLrPi.js";
6
- import { b as ne } from "../../../FormGroup-B8RAswur.js";
7
- import { F as ae } from "../../../FormControl-DshWdHuR.js";
8
- import { B as le } from "../../../Button-eLVX04GZ.js";
5
+ import { T as ie } from "../../../Table-CYSh6C16.js";
6
+ import { F as ne } from "../../../FormGroup-BKpeUcMi.js";
7
+ import { F as ae } from "../../../FormControl-CjlQ5vZ8.js";
8
+ import { B as le } from "../../../Button-CFf-9Lsg.js";
9
9
  import '../../../assets/Tabla.css';const ke = ({
10
10
  columns: h,
11
11
  displayedData: f,
@@ -33,14 +33,14 @@ import '../../../assets/Tabla.css';const ke = ({
33
33
  isFiltering: j,
34
34
  showColumnCount: C
35
35
  }) => {
36
- const [l, X] = m({
36
+ const [l, $] = m({
37
37
  key: null,
38
38
  direction: null
39
- }), [c, Y] = m([]), [y, G] = m(null), [k, H] = m(null);
39
+ }), [c, q] = m([]), [y, G] = m(null), [k, H] = m(null);
40
40
  S(() => {
41
41
  F == null || F(c);
42
42
  }, [c]);
43
- const $ = (e, o) => {
43
+ const J = (e, o) => {
44
44
  const s = k || I, i = s.findIndex((p) => p.numeroRegistro === e);
45
45
  if (i === -1) return;
46
46
  const n = s[i], t = c.includes(e);
@@ -49,20 +49,20 @@ import '../../../assets/Tabla.css';const ke = ({
49
49
  a = c.filter((p) => p !== e), a.length === 0 && (H(null), G(null));
50
50
  else if (c.length === 0) {
51
51
  a = [e], G(n.tipoMesa);
52
- const p = n.tipoMesa, K = s.filter((g) => g.tipoMesa === p && g.numeroRegistro !== e), O = s.filter((g) => g.tipoMesa !== p), W = s.findIndex((g) => g.numeroRegistro === e), Q = O.slice(0, W), Z = O.slice(W);
53
- H([...Q, n, ...K, ...Z]);
52
+ const p = n.tipoMesa, X = s.filter((g) => g.tipoMesa === p && g.numeroRegistro !== e), O = s.filter((g) => g.tipoMesa !== p), W = s.findIndex((g) => g.numeroRegistro === e), Y = O.slice(0, W), Z = O.slice(W);
53
+ H([...Y, n, ...X, ...Z]);
54
54
  } else {
55
55
  if (y && n.tipoMesa !== y) return;
56
56
  a = [...c, e];
57
57
  }
58
- Y(a);
58
+ q(a);
59
59
  }, E = { i: 0 }, z = (e) => {
60
60
  if (v) {
61
61
  const o = e / v * 100;
62
62
  return o <= 25 ? { backgroundColor: "#3AB34A", color: "#FFFFFF" } : o <= 50 ? { backgroundColor: "#F8EB10", color: "#000000" } : o <= 75 ? { backgroundColor: "#F79122", color: "#000000" } : { backgroundColor: "#E91720", color: "#FFFFFF" };
63
63
  }
64
64
  return { backgroundColor: "transparent", color: "inherit" };
65
- }, q = (e) => {
65
+ }, K = (e) => {
66
66
  const { scrollTop: o, clientHeight: s, scrollHeight: i } = e.currentTarget;
67
67
  if (i - o <= s + 50) {
68
68
  if (P((n) => {
@@ -72,8 +72,8 @@ import '../../../assets/Tabla.css';const ke = ({
72
72
  return;
73
73
  f.length - N < 5 && B && B();
74
74
  }
75
- }, J = (e) => {
76
- X((o) => ({
75
+ }, Q = (e) => {
76
+ $((o) => ({
77
77
  key: e,
78
78
  direction: o.key === e && o.direction === "asc" ? "desc" : "asc"
79
79
  }));
@@ -94,7 +94,7 @@ import '../../../assets/Tabla.css';const ke = ({
94
94
  return typeof s == "number" && typeof i == "number" ? l.direction === "asc" ? s - i : i - s : typeof s == "string" && typeof i == "string" ? l.direction === "asc" ? s.localeCompare(i) : i.localeCompare(s) : 0;
95
95
  });
96
96
  })(), x = k || (l.direction === "asc" || l.direction === "desc" ? I : f);
97
- return /* @__PURE__ */ r("div", { className: "table_container", children: /* @__PURE__ */ r("div", { className: "table-scroll", onScroll: q, children: /* @__PURE__ */ d(ie, { striped: !0, hover: !0, children: [
97
+ return /* @__PURE__ */ r("div", { className: "table_container", children: /* @__PURE__ */ r("div", { className: "table-scroll", onScroll: K, children: /* @__PURE__ */ d(ie, { striped: !0, hover: !0, children: [
98
98
  /* @__PURE__ */ d("thead", { children: [
99
99
  /* @__PURE__ */ d("tr", { children: [
100
100
  u && /* @__PURE__ */ r("th", { className: "table-header-unp" }),
@@ -103,7 +103,7 @@ import '../../../assets/Tabla.css';const ke = ({
103
103
  "th",
104
104
  {
105
105
  className: "table-header-unp",
106
- onClick: () => (e.sorter || _) && J(e.key),
106
+ onClick: () => (e.sorter || _) && Q(e.key),
107
107
  style: { cursor: R ? "pointer" : "default" },
108
108
  children: [
109
109
  e.label,
@@ -165,7 +165,7 @@ import '../../../assets/Tabla.css';const ke = ({
165
165
  cursor: i ? "not-allowed" : "pointer"
166
166
  },
167
167
  onClick: (t) => {
168
- t.stopPropagation(), i || $(e.numeroRegistro);
168
+ t.stopPropagation(), i || J(e.numeroRegistro);
169
169
  },
170
170
  children: n ? /* @__PURE__ */ r(oe, { size: 18, style: { color: "#505050ff" } }) : /* @__PURE__ */ r(w, { size: 18, style: { color: "#505050ff" } })
171
171
  }
@@ -1,5 +1,5 @@
1
1
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
- import { U as n, R as m, V as u, i as f, W as N } from "../../index-HaNVi1BU.js";
2
+ import { $ as n, Y as m, a0 as u, r as f, a1 as N } from "../../index-DBLHT45t.js";
3
3
  import '../../assets/AlertaFormulario.css';/* empty css */
4
4
  const g = ({
5
5
  variant: r = "info",
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, Fragment as p, jsx as e } from "react/jsx-runtime";
2
2
  import f, { useState as o } from "react";
3
- import { r as v } from "../../index-HaNVi1BU.js";
3
+ import { z as v } from "../../index-DBLHT45t.js";
4
4
  import '../../assets/ContenidoModal.css';/* empty css */
5
5
  const y = ({ title: N, modalContent: s, children: d, extraElement: m }) => {
6
6
  const [a, l] = o(0), [h, 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 { r as v } from "../../index-HaNVi1BU.js";
3
+ import { z as v } from "../../index-DBLHT45t.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,10 +1,10 @@
1
1
  import { jsxs as n, jsx as i } from "react/jsx-runtime";
2
2
  import { useState as t } from "react";
3
- import { r as I } from "../../index-HaNVi1BU.js";
3
+ import { z as I } from "../../index-DBLHT45t.js";
4
4
  import { EncabezadoModalV2 as S } from "./EncabezadoModalV2.js";
5
5
  import '../../assets/ContenidoModalV2.css';/* empty css */
6
6
  import { ModalV2Menu as H } from "./ModalV2Menu.js";
7
- const a = (...l) => l.filter(Boolean).join(" "), F = ({
7
+ const a = (...l) => l.filter(Boolean).join(" "), E = ({
8
8
  title: l,
9
9
  modalContent: e,
10
10
  children: r,
@@ -98,6 +98,6 @@ const a = (...l) => l.filter(Boolean).join(" "), F = ({
98
98
  );
99
99
  };
100
100
  export {
101
- F as ContenidoModalV2,
101
+ E as ContenidoModalV2,
102
102
  H as ModalV2Menu
103
103
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
- import { u as i } from "../../index-HaNVi1BU.js";
2
+ import { C as i } from "../../index-DBLHT45t.js";
3
3
  import '../../assets/ContenidoModalV2.css';/* empty css */
4
4
  const t = ({ sections: d, className: n = "" }) => /* @__PURE__ */ a("div", { className: `modal-v2-menu ${n}`, children: d.map((l, s) => /* @__PURE__ */ m("div", { className: "modal-v2-menu__section", children: [
5
5
  l.title && /* @__PURE__ */ a("h6", { className: "modal-v2-menu__section-title", children: l.title }),
@@ -1,13 +1,13 @@
1
- import { jsxs as A, jsx as u } from "react/jsx-runtime";
2
- import { useState as L } from "react";
3
- import { w as M, x as U, y as B, z as j, A as z, B as J, C as W, D as G, i as H, E as P, m as g, G as h, H as Y, I as q } from "../../index-HaNVi1BU.js";
1
+ import { jsxs as M, jsx as u } from "react/jsx-runtime";
2
+ import { useState as S } from "react";
3
+ import { E as A, G as U, H as j, I as B, J, K as P, L as W, M as z, r as G, N as H, v as g, O as h, P as K, f as O } from "../../index-DBLHT45t.js";
4
4
  import '../../assets/IconoTooltip.css';/* empty css */
5
5
  const _ = ({ recordType: x, taken: o = !0, customIcon: l }) => {
6
- const [a, b] = L(!1);
6
+ const [a, b] = S(!1);
7
7
  let r = "", c = {}, e = null, I = { color: o ? "#287cd1" : "#c8c8c8" };
8
- const f = "#28a19d", n = "#ed7e3e", d = "#3e52ed", C = "#ed3e49", v = "#edd958", w = "#18a871", p = "#db493b", m = "#6845e6", F = "#c2e545", y = "#43b1dd", R = "#de6f43", N = "#6b6e6e", i = "#666666f4", s = (E) => {
9
- const t = E.replace(/^#/, ""), D = parseInt(t.slice(0, 2), 16) / 255, T = parseInt(t.slice(2, 4), 16) / 255, S = parseInt(t.slice(4, 6), 16) / 255;
10
- return 0.2126 * D + 0.7152 * T + 0.0722 * S;
8
+ const f = "#28a19d", n = "#ed7e3e", d = "#3e52ed", v = "#ed3e49", C = "#edd958", w = "#18a871", p = "#db493b", m = "#6845e6", F = "#c2e545", R = "#43b1dd", y = "#de6f43", N = "#6b6e6e", i = "#666666f4", s = (E) => {
9
+ const t = E.replace(/^#/, ""), T = parseInt(t.slice(0, 2), 16) / 255, D = parseInt(t.slice(2, 4), 16) / 255, L = parseInt(t.slice(4, 6), 16) / 255;
10
+ return 0.2126 * T + 0.7152 * D + 0.0722 * L;
11
11
  };
12
12
  if (l)
13
13
  r = o ? l.tooltipText : "Nuevo registro", c = {
@@ -20,13 +20,13 @@ const _ = ({ recordType: x, taken: o = !0, customIcon: l }) => {
20
20
  r = o ? "Individual" : "Nuevo registro", c = {
21
21
  backgroundColor: o ? f : i,
22
22
  color: "#fcfcfc"
23
- }, e = q;
23
+ }, e = O;
24
24
  break;
25
25
  case "Colectivo":
26
26
  r = o ? "Colectivo" : "Nuevo registro", c = {
27
27
  backgroundColor: o ? n : i,
28
28
  color: "#fcfcfc"
29
- }, e = Y;
29
+ }, e = K;
30
30
  break;
31
31
  // Individual
32
32
  case "Formularios en linea Individual":
@@ -64,20 +64,20 @@ const _ = ({ recordType: x, taken: o = !0, customIcon: l }) => {
64
64
  r = o ? "Jurídico" : "Nuevo registro", c = {
65
65
  backgroundColor: o ? d : i,
66
66
  color: o && s(d) > 0.5 ? "#141414" : "#fcfcfc"
67
- }, e = P;
67
+ }, e = H;
68
68
  break;
69
69
  case "Emergencia":
70
70
  r = o ? "Emergencia" : "Nuevo registro", c = {
71
- backgroundColor: o ? C : i,
72
- color: o && s(C) > 0.5 ? "#141414" : "#fcfcfc"
73
- }, e = H;
74
- break;
75
- case "Reasignación":
76
- r = o ? "Reasignación" : "Nuevo registro", c = {
77
71
  backgroundColor: o ? v : i,
78
72
  color: o && s(v) > 0.5 ? "#141414" : "#fcfcfc"
79
73
  }, e = G;
80
74
  break;
75
+ case "Reasignación":
76
+ r = o ? "Reasignación" : "Nuevo registro", c = {
77
+ backgroundColor: o ? C : i,
78
+ color: o && s(C) > 0.5 ? "#141414" : "#fcfcfc"
79
+ }, e = z;
80
+ break;
81
81
  case "CTAR":
82
82
  r = o ? "CTAR" : "Nuevo registro", c = {
83
83
  backgroundColor: o ? w : i,
@@ -88,29 +88,29 @@ const _ = ({ recordType: x, taken: o = !0, customIcon: l }) => {
88
88
  r = o ? "Inactivaciones" : "Nuevo registro", c = {
89
89
  backgroundColor: o ? p : i,
90
90
  color: o && s(p) > 0.5 ? "#141414" : "#fcfcfc"
91
- }, e = J;
91
+ }, e = P;
92
92
  break;
93
93
  case "Desmonte":
94
94
  r = o ? "Desmonte" : "Nuevo registro", c = {
95
95
  backgroundColor: o ? m : i,
96
96
  color: o && s(m) > 0.5 ? "#141414" : "#fcfcfc"
97
- }, e = z;
97
+ }, e = J;
98
98
  break;
99
99
  case "Implementación":
100
100
  r = o ? "Implementación" : "Nuevo registro", c = {
101
101
  backgroundColor: o ? F : i,
102
102
  color: o && s(F) > 0.5 ? "#141414" : "#fcfcfc"
103
- }, e = j;
103
+ }, e = B;
104
104
  break;
105
105
  case "Correspondencia":
106
106
  r = o ? "Correspondencia" : "Nuevo registro", c = {
107
- backgroundColor: o ? y : i,
107
+ backgroundColor: o ? R : i,
108
108
  color: "#fcfcfc"
109
- }, e = B;
109
+ }, e = j;
110
110
  break;
111
111
  case "Uso indebido":
112
112
  r = o ? "Uso indebido" : "Nuevo registro", c = {
113
- backgroundColor: o ? R : i,
113
+ backgroundColor: o ? y : i,
114
114
  color: "#fcfcfc"
115
115
  }, e = U;
116
116
  break;
@@ -118,10 +118,10 @@ const _ = ({ recordType: x, taken: o = !0, customIcon: l }) => {
118
118
  r = o ? "Registro" : "Nuevo registro", c = {
119
119
  backgroundColor: o ? N : i,
120
120
  color: o && s(N) > 0.5 ? "#141414" : "#fcfcfc"
121
- }, e = M;
121
+ }, e = A;
122
122
  break;
123
123
  }
124
- return /* @__PURE__ */ A("div", { style: { position: "relative", display: "inline-block" }, children: [
124
+ return /* @__PURE__ */ M("div", { style: { position: "relative", display: "inline-block" }, children: [
125
125
  /* @__PURE__ */ u(
126
126
  "div",
127
127
  {
@@ -1,6 +1,6 @@
1
1
  import { jsx as l, jsxs as r } from "react/jsx-runtime";
2
2
  import { useNavigate as i } from "react-router-dom";
3
- import { W as n } from "../../index-HaNVi1BU.js";
3
+ import { a1 as n } from "../../index-DBLHT45t.js";
4
4
  import { G as s } from "../../iconBase-DSKTHwal.js";
5
5
  import '../../assets/ItemsModal.css';/* empty css */
6
6
  function m(t) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
2
  import { useState as C } from "react";
3
- import { P as k, Q as x, R as F, S as v, v as L, T as $ } from "../../index-HaNVi1BU.js";
3
+ import { W as k, X as x, Y as F, Z as v, D as L, _ as $ } from "../../index-DBLHT45t.js";
4
4
  import '../../assets/NavFormulariosLateral.css';/* empty css */
5
5
  const y = ({
6
6
  items: c,
@@ -1,48 +1,48 @@
1
1
  import { jsx as a, jsxs as N, Fragment as me } from "react/jsx-runtime";
2
2
  import * as _ from "react";
3
- import pe, { useLayoutEffect as ve, useEffect as L, useRef as x, useMemo as ee, useState as j, useCallback as w, cloneElement as z } from "react";
3
+ import pe, { useLayoutEffect as ve, useEffect as L, useRef as x, useMemo as ee, useState as j, useCallback as w, cloneElement as W } from "react";
4
4
  import { sanitizarHtml as ge } from "../../utils/sanitizar-html/sanitizarHtml.js";
5
- import { a8 as Ee, T as ye, a9 as we, U as Ne, V as G, W as be } from "../../index-HaNVi1BU.js";
5
+ import { a8 as Ee, _ as ye, a9 as we, $ as Ne, a0 as G, a1 as be } from "../../index-DBLHT45t.js";
6
6
  import { Animacion as Oe } from "../animacion/Animacion.js";
7
7
  import '../../assets/NotificacionPopoverV2.css';/* empty css */
8
8
  import { c as D } from "../../index-ZphT3dr_.js";
9
- import { u as S, a as te } from "../../ThemeProvider-Cv61y4Uy.js";
10
- import { a as Te, b as Re, g as xe, c as X, d as Ce, m as Fe, e as _e, f as Pe, h as Le, i as Se } from "../../useIsomorphicEffect-DH-agvLb.js";
11
- import { P as $e } from "../../index-DNv2B0Nc.js";
9
+ import { u as $, c as te } from "../../ThemeProvider-D8TYBK1p.js";
10
+ import { a as Re, b as Te, g as xe, c as X, d as Ce, m as Fe, e as _e, f as Pe, h as Le, i as $e } from "../../useIsomorphicEffect-DH-agvLb.js";
11
+ import { P as Se } from "../../index-DNv2B0Nc.js";
12
12
  import { w as De } from "../../warning-DfuoVnCC.js";
13
13
  import { c as Ue, o as ne, l as je, u as oe } from "../../useMergedRefs-YI9EGKd_.js";
14
- import { g as A, i as Be, e as V } from "../../TransitionWrapper-BCUEVCwA.js";
14
+ import { g as A, i as Be, e as z } from "../../TransitionWrapper-BCUEVCwA.js";
15
15
  import { R as ke } from "../../index-DdZBtIJj.js";
16
16
  import { u as I, N as He, F as Y } from "../../NoopTransition-D8AxBGEr.js";
17
17
  import { u as ie } from "../../useEventCallback-Bfo0-hwZ.js";
18
18
  const Me = typeof global < "u" && // @ts-ignore
19
19
  global.navigator && // @ts-ignore
20
- global.navigator.product === "ReactNative", Ve = typeof document < "u", q = Ve || Me ? ve : L;
21
- function We() {
20
+ global.navigator.product === "ReactNative", ze = typeof document < "u", q = ze || Me ? ve : L;
21
+ function Ve() {
22
22
  const e = x(!0), t = x(() => e.current);
23
23
  return L(() => (e.current = !0, () => {
24
24
  e.current = !1;
25
25
  }), []), t.current;
26
26
  }
27
- function ze(e) {
27
+ function We(e) {
28
28
  const t = x(e);
29
29
  return t.current = e, t;
30
30
  }
31
31
  function Ae(e) {
32
- const t = ze(e);
32
+ const t = We(e);
33
33
  L(() => () => t.current(), []);
34
34
  }
35
- const W = 2 ** 31 - 1;
35
+ const V = 2 ** 31 - 1;
36
36
  function re(e, t, n) {
37
37
  const o = n - Date.now();
38
- e.current = o <= W ? setTimeout(t, o) : setTimeout(() => re(e, t, n), W);
38
+ e.current = o <= V ? setTimeout(t, o) : setTimeout(() => re(e, t, n), V);
39
39
  }
40
40
  function Ie() {
41
- const e = We(), t = x();
41
+ const e = Ve(), t = x();
42
42
  return Ae(() => clearTimeout(t.current)), ee(() => {
43
43
  const n = () => clearTimeout(t.current);
44
44
  function o(i, r = 0) {
45
- e() && (n(), r <= W ? t.current = setTimeout(i, r) : re(t, i, Date.now() + r));
45
+ e() && (n(), r <= V ? t.current = setTimeout(i, r) : re(t, i, Date.now() + r));
46
46
  }
47
47
  return {
48
48
  set: o,
@@ -53,7 +53,7 @@ function Ie() {
53
53
  }
54
54
  const M = (e, t) => Ue ? e == null ? (t || ne()).body : (typeof e == "function" && (e = e()), e && "current" in e && (e = e.current), e && ("nodeType" in e || e.getBoundingClientRect) ? e : null) : null;
55
55
  function J(e, t) {
56
- const n = Te(), [o, i] = j(() => M(e, n == null ? void 0 : n.document));
56
+ const n = Re(), [o, i] = j(() => M(e, n == null ? void 0 : n.document));
57
57
  if (!o) {
58
58
  const r = M(e);
59
59
  r && i(r);
@@ -85,8 +85,8 @@ function Xe(e) {
85
85
  addEndListener: u,
86
86
  children: d
87
87
  } = e, l = Ge(e, Ke);
88
- const h = x(null), p = I(h, A(d)), s = (y) => (T) => {
89
- y && h.current && y(h.current, T);
88
+ const h = x(null), p = I(h, A(d)), s = (y) => (R) => {
89
+ y && h.current && y(h.current, R);
90
90
  }, v = w(s(t), [t]), g = w(s(n), [n]), b = w(s(o), [o]), f = w(s(i), [i]), E = w(s(r), [r]), m = w(s(c), [c]), O = w(s(u), [u]);
91
91
  return Object.assign({}, l, {
92
92
  nodeRef: h
@@ -105,12 +105,12 @@ function Xe(e) {
105
105
  }, u && {
106
106
  addEndListener: O
107
107
  }, {
108
- children: typeof d == "function" ? (y, T) => (
108
+ children: typeof d == "function" ? (y, R) => (
109
109
  // TODO: Types for RTG missing innerProps, so need to cast.
110
- d(y, Object.assign({}, T, {
110
+ d(y, Object.assign({}, R, {
111
111
  ref: p
112
112
  }))
113
- ) : /* @__PURE__ */ z(d, {
113
+ ) : /* @__PURE__ */ W(d, {
114
114
  ref: p
115
115
  })
116
116
  });
@@ -175,7 +175,7 @@ function Ze({
175
175
  });
176
176
  }
177
177
  }), d = I(u, A(e));
178
- return r && !t ? null : /* @__PURE__ */ z(e, {
178
+ return r && !t ? null : /* @__PURE__ */ W(e, {
179
179
  ref: d
180
180
  });
181
181
  }
@@ -196,7 +196,7 @@ function nt(e, t, {
196
196
  clickTrigger: o
197
197
  } = {}) {
198
198
  const i = t || tt;
199
- Re(e, i, {
199
+ Te(e, i, {
200
200
  disabled: n,
201
201
  clickTrigger: o
202
202
  });
@@ -247,13 +247,13 @@ const se = /* @__PURE__ */ _.forwardRef((e, t) => {
247
247
  }), !y)
248
248
  return null;
249
249
  const {
250
- onExit: T,
250
+ onExit: R,
251
251
  onExiting: F,
252
252
  onEnter: C,
253
253
  onEntering: B,
254
254
  onEntered: k
255
255
  } = e;
256
- let $ = e.children(Object.assign({}, m.attributes.popper, {
256
+ let S = e.children(Object.assign({}, m.attributes.popper, {
257
257
  style: m.styles.popper,
258
258
  ref: v
259
259
  }), {
@@ -265,19 +265,19 @@ const se = /* @__PURE__ */ _.forwardRef((e, t) => {
265
265
  ref: s
266
266
  })
267
267
  });
268
- return $ = et(u, d, {
268
+ return S = et(u, d, {
269
269
  in: !!e.show,
270
270
  appear: !0,
271
271
  mountOnEnter: !0,
272
272
  unmountOnExit: !0,
273
- children: $,
274
- onExit: T,
273
+ children: S,
274
+ onExit: R,
275
275
  onExiting: F,
276
276
  onExited: O,
277
277
  onEnter: C,
278
278
  onEntering: B,
279
279
  onEntered: k
280
- }), g ? /* @__PURE__ */ ke.createPortal($, g) : null;
280
+ }), g ? /* @__PURE__ */ ke.createPortal(S, g) : null;
281
281
  });
282
282
  se.displayName = "Overlay";
283
283
  const ae = /* @__PURE__ */ _.forwardRef(({
@@ -285,7 +285,7 @@ const ae = /* @__PURE__ */ _.forwardRef(({
285
285
  bsPrefix: t,
286
286
  as: n = "div",
287
287
  ...o
288
- }, i) => (t = S(t, "popover-header"), /* @__PURE__ */ a(n, {
288
+ }, i) => (t = $(t, "popover-header"), /* @__PURE__ */ a(n, {
289
289
  ref: i,
290
290
  className: D(e, t),
291
291
  ...o
@@ -296,7 +296,7 @@ const K = /* @__PURE__ */ _.forwardRef(({
296
296
  bsPrefix: t,
297
297
  as: n = "div",
298
298
  ...o
299
- }, i) => (t = S(t, "popover-body"), /* @__PURE__ */ a(n, {
299
+ }, i) => (t = $(t, "popover-body"), /* @__PURE__ */ a(n, {
300
300
  ref: i,
301
301
  className: D(e, t),
302
302
  ...o
@@ -328,7 +328,7 @@ const ot = /* @__PURE__ */ _.forwardRef(({
328
328
  show: l,
329
329
  ...h
330
330
  }, p) => {
331
- const s = S(e, "popover"), v = te(), [g] = (t == null ? void 0 : t.split("-")) || [], b = ce(g, v);
331
+ const s = $(e, "popover"), v = te(), [g] = (t == null ? void 0 : t.split("-")) || [], b = ce(g, v);
332
332
  let f = o;
333
333
  return l && !u && (f = {
334
334
  ...o,
@@ -365,7 +365,7 @@ const ot = /* @__PURE__ */ _.forwardRef(({
365
365
  show: d,
366
366
  ...l
367
367
  }, h) => {
368
- e = S(e, "tooltip");
368
+ e = $(e, "tooltip");
369
369
  const p = te(), [s] = (t == null ? void 0 : t.split("-")) || [], v = ce(s, p);
370
370
  let g = o;
371
371
  return d && !c && (g = {
@@ -394,7 +394,7 @@ const it = Object.assign(de, {
394
394
  TOOLTIP_OFFSET: [0, 6]
395
395
  });
396
396
  function rt(e) {
397
- const t = x(null), n = S(void 0, "popover"), o = S(void 0, "tooltip"), i = ee(() => ({
397
+ const t = x(null), n = $(void 0, "popover"), o = $(void 0, "tooltip"), i = ee(() => ({
398
398
  name: "offset",
399
399
  options: {
400
400
  offset: () => {
@@ -418,7 +418,7 @@ function st(e, t) {
418
418
  } = e, {
419
419
  ref: o
420
420
  } = t;
421
- e.ref = n.__wrapped || (n.__wrapped = (i) => n(V(i))), t.ref = o.__wrapped || (o.__wrapped = (i) => o(V(i)));
421
+ e.ref = n.__wrapped || (n.__wrapped = (i) => n(z(i))), t.ref = o.__wrapped || (o.__wrapped = (i) => o(z(i)));
422
422
  }
423
423
  const fe = /* @__PURE__ */ _.forwardRef(({
424
424
  children: e,
@@ -455,16 +455,16 @@ const fe = /* @__PURE__ */ _.forwardRef(({
455
455
  }) => {
456
456
  var y;
457
457
  st(f, E);
458
- const T = m == null ? void 0 : m.placement, F = Object.assign(d.current, {
458
+ const R = m == null ? void 0 : m.placement, F = Object.assign(d.current, {
459
459
  state: m == null ? void 0 : m.state,
460
460
  scheduleUpdate: m == null ? void 0 : m.update,
461
- placement: T,
461
+ placement: R,
462
462
  outOfBoundaries: (m == null || (y = m.state) == null || (y = y.modifiersData.hide) == null ? void 0 : y.isReferenceHidden) || !1,
463
463
  strategy: n.strategy
464
464
  }), C = !!l;
465
465
  return typeof e == "function" ? e({
466
466
  ...f,
467
- placement: T,
467
+ placement: R,
468
468
  show: O,
469
469
  ...!t && O && {
470
470
  className: "show"
@@ -474,7 +474,7 @@ const fe = /* @__PURE__ */ _.forwardRef(({
474
474
  hasDoneInitialMeasure: C
475
475
  }) : /* @__PURE__ */ _.cloneElement(e, {
476
476
  ...f,
477
- placement: T,
477
+ placement: R,
478
478
  arrowProps: E,
479
479
  popper: F,
480
480
  hasDoneInitialMeasure: C,
@@ -496,9 +496,9 @@ function at(e) {
496
496
  }
497
497
  function Z(e, t, n) {
498
498
  const [o] = t, i = o.currentTarget, r = o.relatedTarget || o.nativeEvent[n];
499
- (!r || r !== i) && !Se(i, r) && e(...t);
499
+ (!r || r !== i) && !$e(i, r) && e(...t);
500
500
  }
501
- $e.oneOf(["click", "hover", "focus"]);
501
+ Se.oneOf(["click", "hover", "focus"]);
502
502
  const ct = ({
503
503
  trigger: e = ["hover", "focus"],
504
504
  overlay: t,
@@ -516,8 +516,8 @@ const ct = ({
516
516
  onFocus: m,
517
517
  onBlur: O,
518
518
  onClick: y
519
- } = typeof n != "function" ? _.Children.only(n).props : {}, T = (R) => {
520
- s(V(R));
519
+ } = typeof n != "function" ? _.Children.only(n).props : {}, R = (T) => {
520
+ s(z(T));
521
521
  }, F = w(() => {
522
522
  if (v.clear(), g.current = "show", !E.show) {
523
523
  f(!0);
@@ -534,21 +534,21 @@ const ct = ({
534
534
  v.set(() => {
535
535
  g.current === "hide" && f(!1);
536
536
  }, E.hide);
537
- }, [E.hide, f, v]), B = w((...R) => {
538
- F(), m == null || m(...R);
539
- }, [F, m]), k = w((...R) => {
540
- C(), O == null || O(...R);
541
- }, [C, O]), $ = w((...R) => {
542
- f(!b), y == null || y(...R);
543
- }, [y, f, b]), H = w((...R) => {
544
- Z(F, R, "fromElement");
545
- }, [F]), he = w((...R) => {
546
- Z(C, R, "toElement");
537
+ }, [E.hide, f, v]), B = w((...T) => {
538
+ F(), m == null || m(...T);
539
+ }, [F, m]), k = w((...T) => {
540
+ C(), O == null || O(...T);
541
+ }, [C, O]), S = w((...T) => {
542
+ f(!b), y == null || y(...T);
543
+ }, [y, f, b]), H = w((...T) => {
544
+ Z(F, T, "fromElement");
545
+ }, [F]), he = w((...T) => {
546
+ Z(C, T, "toElement");
547
547
  }, [C]), U = e == null ? [] : [].concat(e), P = {
548
- ref: T
548
+ ref: R
549
549
  };
550
- return U.indexOf("click") !== -1 && (P.onClick = $), U.indexOf("focus") !== -1 && (P.onFocus = B, P.onBlur = k), U.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && De(U.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), P.onMouseOver = H, P.onMouseOut = he), /* @__PURE__ */ N(me, {
551
- children: [typeof n == "function" ? n(P) : /* @__PURE__ */ z(n, P), /* @__PURE__ */ a(fe, {
550
+ return U.indexOf("click") !== -1 && (P.onClick = S), U.indexOf("focus") !== -1 && (P.onFocus = B, P.onBlur = k), U.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && De(U.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), P.onMouseOver = H, P.onMouseOut = he), /* @__PURE__ */ N(me, {
551
+ children: [typeof n == "function" ? n(P) : /* @__PURE__ */ W(n, P), /* @__PURE__ */ a(fe, {
552
552
  ...h,
553
553
  show: b,
554
554
  onHide: C,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as l, Fragment as p, jsx as a } from "react/jsx-runtime";
2
2
  import { useState as g, useRef as v, useEffect as b } from "react";
3
3
  import '../../assets/Paginador.css';/* empty css */
4
- import { C as y } from "../../Card-_JzS9Ssz.js";
5
- import { B as o } from "../../Button-eLVX04GZ.js";
4
+ import { C as y } from "../../Card-pj1hogT6.js";
5
+ import { B as o } from "../../Button-CFf-9Lsg.js";
6
6
  const w = ({
7
7
  stepContent: i,
8
8
  onSubmit: s,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
2
  import '../../assets/SeccionFormulario.css';/* empty css */
3
- import { C as r } from "../../Card-_JzS9Ssz.js";
3
+ import { C as r } from "../../Card-pj1hogT6.js";
4
4
  const f = ({
5
5
  titulo: e,
6
6
  children: c,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as C } from "react";
3
- import { x as N, y as M, d as O, c as w, z, A as f, B as b, C as y, D as B, E as S, a as V } from "../../index-B96iRUpt.js";
4
- import { B as k, a7 as A } from "../../index-HaNVi1BU.js";
3
+ import { x as N, y as M, d as O, c as w, z, A as f, B as b, C as y, D as S, E as V, a as k } from "../../index-B96iRUpt.js";
4
+ import { K as A, a7 as B } from "../../index-DBLHT45t.js";
5
5
  import { G as l } from "../../iconBase-DSKTHwal.js";
6
6
  import '../../assets/StatusFilterBar.css';/* empty css */
7
7
  function F(e) {
@@ -24,11 +24,11 @@ const v = (e, a) => {
24
24
  return a ? { icon: p, color: "#27ae60", tooltipText: "Valido analista" } : { icon: p, color: "#3085d6", tooltipText: "Valido revisor" };
25
25
  switch (e) {
26
26
  case 1:
27
- return { icon: V, color: "#1976d2", tooltipText: "OT para evaluación de riesgo" };
27
+ return { icon: k, color: "#1976d2", tooltipText: "OT para evaluación de riesgo" };
28
28
  case 2:
29
- return { icon: A, color: "#f7b731", tooltipText: "OT con ajustes de calidad" };
29
+ return { icon: B, color: "#f7b731", tooltipText: "OT con ajustes de calidad" };
30
30
  case 3:
31
- return { icon: k, color: "#e74c3c", tooltipText: "OT para inactivación" };
31
+ return { icon: A, color: "#e74c3c", tooltipText: "OT para inactivación" };
32
32
  case 4:
33
33
  return { icon: H, color: "#3cc5e7ff", tooltipText: "OT con recomendación de inactivación" };
34
34
  case 5:
@@ -38,9 +38,9 @@ const v = (e, a) => {
38
38
  case 7:
39
39
  return { icon: Z, color: "#8e44ad", tooltipText: "OT para reasignación" };
40
40
  case 8:
41
- return { icon: S, color: "#0abea0ff", tooltipText: "OT reasignada" };
41
+ return { icon: V, color: "#0abea0ff", tooltipText: "OT reasignada" };
42
42
  case 9:
43
- return { icon: B, color: "#f39c12", tooltipText: "OT con ajustes para inactivación" };
43
+ return { icon: S, color: "#f39c12", tooltipText: "OT con ajustes para inactivación" };
44
44
  case 10:
45
45
  return { icon: y, color: "#7f8c8d", tooltipText: "OT - No procede inactivación" };
46
46
  case 11:
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
- import { K as n, L as i, M as l, N as u, O as a } from "../../index-HaNVi1BU.js";
2
+ import { R as n, S as i, T as l, U as u, V as a } from "../../index-DBLHT45t.js";
3
3
  import '../../assets/StatusSemaphore.css';/* empty css */
4
4
  const p = ({ value: c }) => {
5
5
  const o = ((e) => e <= 10 ? { color: "#059669", icon: n, label: "Excelente" } : e <= 20 ? { color: "#ca8a04", icon: i, label: "Alerta" } : e <= 25 ? { color: "#d97706", icon: l, label: "Crítico" } : e <= 30 ? { color: "#ea580c", icon: u, label: "Muy Crítico" } : e <= 45 ? { color: "#dc2626", icon: a, label: "Urgente" } : { color: "#991b1b", icon: a, label: "Vencido" })(c), t = o.icon;