react-ecosistema-unp 2.5.0 → 2.6.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 (62) hide show
  1. package/README.md +354 -25
  2. package/dist/{AppList-DORGpC4I.js → AppList-CNtk-CBh.js} +56 -55
  3. package/dist/auth/hooks/useFinalizarSesion.js +12 -12
  4. package/dist/auth/services/FinSesionService.js +10 -11
  5. package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +1 -1
  6. package/dist/cards/tarjeta-info/TarjetaInfo.js +1 -1
  7. package/dist/data/tarjeta-datos/TarjetaDatos.js +1 -1
  8. package/dist/{index-BqaJxgOF.js → index-HaNVi1BU.js} +8 -8
  9. package/dist/lib/accessibility/barra-accesibilidad/BarraAccesibilidad.d.ts +1 -1
  10. package/dist/lib/assets/animations/loadingDuck.json.d.ts +1 -1
  11. package/dist/lib/utils/logger/logger.d.ts +25 -0
  12. package/dist/lib/utils/modal-radicados/ModalDocumento.d.ts +1 -1
  13. package/dist/lib/utils/sanitizar-html/sanitizarHtml.d.ts +12 -0
  14. package/dist/loadingDuck-Deggug5u.js +27 -0
  15. package/dist/shared/app-list/AppList.js +4 -3
  16. package/dist/shared/iconos-sistema/IconosSistema.js +1 -1
  17. package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
  18. package/dist/shared/menu-lateral/MenuLateral.js +5 -3
  19. package/dist/shared/notificacion-usuario/NotificacionUsuario.js +194 -745
  20. package/dist/shared/notificacion-usuario/services/notificacionesService.js +52 -51
  21. package/dist/shared/user-profile-icon/UserProfileIcon.js +17 -17
  22. package/dist/shared/ventana-tabs/VentanaTabs.js +1 -1
  23. package/dist/tables/custom-data-table/CustomDataTable.js +4 -2
  24. package/dist/tables/custom-data-table-split/CustomDataTableSplit.js +4 -2
  25. package/dist/tables/eco-data-table/components/EcoBandejaEncabezado.js +3 -2
  26. package/dist/tables/eco-data-table/components/EcoDataTable/EcoDataTable.js +1 -1
  27. package/dist/tables/tabla-registros/buscador/Buscador.js +1 -1
  28. package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +3 -2
  29. package/dist/tables/tabla-registros/modal-v2/EcoModal.js +1 -1
  30. package/dist/tables/tabla-registros/tabla/Tabla.js +1 -1
  31. package/dist/ui/alertas/AlertaFormulario.js +1 -1
  32. package/dist/ui/animacion/Animacion.js +1 -1
  33. package/dist/ui/contenido-modal/ContenidoModal.js +1 -1
  34. package/dist/ui/contenido-modal/ContenidoModalv0.1.js +1 -1
  35. package/dist/ui/contenido-modal-v2/ContenidoModalV2.js +1 -1
  36. package/dist/ui/contenido-modal-v2/ModalV2Menu.js +1 -1
  37. package/dist/ui/icono-tooltip/IconoTooltip.js +1 -1
  38. package/dist/ui/items-modal/ItemsModal.js +1 -1
  39. package/dist/ui/nav-formularios-lateral/NavFormulariosLateral.js +1 -1
  40. package/dist/ui/notificacion-popover-v2/NotificacionPopoverV2.js +80 -79
  41. package/dist/ui/status-filter-bar/StatusFilterBar.js +1 -1
  42. package/dist/ui/status-semaphore/StatusSemaphore.js +1 -1
  43. package/dist/ui/stepper-v2/StepperV2.js +1 -1
  44. package/dist/utils/components/ProtectedRoute.js +25 -26
  45. package/dist/utils/components/UserRoute.js +14 -16
  46. package/dist/utils/eco-provider/EcoContext.js +4 -2
  47. package/dist/utils/fetch-data/useFetchData.js +60 -59
  48. package/dist/utils/logger/logger.js +20 -0
  49. package/dist/utils/modal-radicados/AuxRadicadosComponents/TarjetaRadicado.js +20 -18
  50. package/dist/utils/modal-radicados/DocumentoVisorEstado.js +4 -3
  51. package/dist/utils/modal-radicados/ModalDocumento.js +1 -1
  52. package/dist/utils/modal-radicados/ModalRadicado.js +82 -80
  53. package/dist/utils/sanitizar-html/sanitizarHtml.js +1486 -0
  54. package/dist/utils/unp-historico/FetchHistorico.js +6 -5
  55. package/dist/utils/unp-historico/UnpHistorico.js +3 -2
  56. package/dist/utils/websocket-manager/websocket.js +19 -18
  57. package/package.json +28 -18
  58. package/dist/lib/utils/fetch/fetchInterceptor.d.ts +0 -7
  59. package/dist/lib/utils/fetch/fingerprintService.d.ts +0 -27
  60. package/dist/loadingDuck-Diu5KD6X.js +0 -27
  61. package/dist/utils/fetch/fetchInterceptor.js +0 -98
  62. package/dist/utils/fetch/fingerprintService.js +0 -1749
@@ -1,22 +1,22 @@
1
1
  import { jsx as e, jsxs as a, Fragment as S } from "react/jsx-runtime";
2
- import * as w from "react";
3
- import { useContext as V, useMemo as ce, useState as y, useRef as se, useEffect as q } from "react";
4
- import { ModalDocumento as de, getIconByType as le } from "./ModalDocumento.js";
5
- import { RadicadosTarjetas as me } from "./AuxRadicadosComponents/RadicadosTarjetas.js";
6
- import { h as he, $ as pe, a0 as W, a1 as ue, a2 as be, a3 as fe, I as ye, a4 as ge, n as ve, a5 as Ne } from "../../index-BqaJxgOF.js";
7
- import { getUserToken as X } from "../../auth/services/User.js";
8
- import { fetchDocumentoBinario as xe } from "./AuxRadicadosComponents/fetchDocumentosProtecdoc.js";
2
+ import * as V from "react";
3
+ import { useContext as H, useMemo as se, useState as y, useRef as de, useEffect as q } from "react";
4
+ import { ModalDocumento as le, getIconByType as me } from "./ModalDocumento.js";
5
+ import { RadicadosTarjetas as he } from "./AuxRadicadosComponents/RadicadosTarjetas.js";
6
+ import { h as pe, a0 as ue, a1 as X, a2 as be, a3 as fe, a4 as ye, I as ge, a5 as ve, n as Ne, a6 as xe } from "../../index-HaNVi1BU.js";
7
+ import { getUserToken as ee } from "../../auth/services/User.js";
8
+ import { fetchDocumentoBinario as Se } from "./AuxRadicadosComponents/fetchDocumentosProtecdoc.js";
9
9
  import '../../assets/Trazabilidad.css';import '../../assets/SmartTextArea.css';import '../../assets/EcoFooter.css';import '../../assets/ResumenEvaluacion.css';import '../../assets/AlertaFormulario.css';import '../../assets/SeccionFormulario.css';import '../../assets/NotificacionPopoverV2.css';import '../../assets/CardGestionLateral.css';import '../../assets/NavFormulariosLateral.css';import '../../assets/DatosBasicosCard.css';import '../../assets/StatusFilterBar.css';import '../../assets/PaginadorV2.css';import '../../assets/StatusSemaphore.css';import '../../assets/TableSkeleton.css';import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/StepperV2.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModalV2.css';import '../../assets/Encabezado.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/Logo.css';import '../../assets/TarjetaLectura.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';/* empty css */
10
10
  /* empty css */
11
11
  import "../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
12
- import { ContenedorTarjeta as Se } from "../../cards/tarjeta/contenedor-tarjeta/ContenedorTarjeta.js";
12
+ import { ContenedorTarjeta as _e } from "../../cards/tarjeta/contenedor-tarjeta/ContenedorTarjeta.js";
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
- import { TarjetaInfo as _e } from "../../cards/tarjeta-info/TarjetaInfo.js";
16
+ import { TarjetaInfo as De } from "../../cards/tarjeta-info/TarjetaInfo.js";
17
17
  /* empty css */
18
18
  import { Subtitulo as x } from "../../ui/subtitulo/Subtitulo.js";
19
- import { ContenidoModal as De } from "../../ui/contenido-modal/ContenidoModal.js";
19
+ import { ContenidoModal as Fe } from "../../ui/contenido-modal/ContenidoModal.js";
20
20
  /* empty css */
21
21
  /* empty css */
22
22
  /* empty css */
@@ -25,8 +25,8 @@ import "react-router-dom";
25
25
  /* empty css */
26
26
  /* empty css */
27
27
  /* empty css */
28
- import { EcoModal as Fe } from "../../tables/tabla-registros/modal-v2/EcoModal.js";
29
- import { Animacion as E } from "../../ui/animacion/Animacion.js";
28
+ import { EcoModal as Re } from "../../tables/tabla-registros/modal-v2/EcoModal.js";
29
+ import { Animacion as $ } from "../../ui/animacion/Animacion.js";
30
30
  /* empty css */
31
31
  /* empty css */
32
32
  /* empty css */
@@ -34,19 +34,21 @@ import { Animacion as E } from "../../ui/animacion/Animacion.js";
34
34
  /* empty css */
35
35
  /* empty css */
36
36
  /* empty css */
37
+ import "../sanitizar-html/sanitizarHtml.js";
37
38
  /* empty css */
38
39
  /* empty css */
39
40
  /* empty css */
40
41
  /* empty css */
41
42
  /* empty css */
42
43
  /* empty css */
44
+ import { logger as w } from "../logger/logger.js";
43
45
  /* empty css */
44
46
  import { T as z } from "../../Table-cUZFLrPi.js";
45
- import { a as M, F as Re, b as Te } from "../../FormGroup-B8RAswur.js";
46
- import { c as H } from "../../index-ZphT3dr_.js";
47
+ import { a as M, F as Te, b as je } from "../../FormGroup-B8RAswur.js";
48
+ import { c as K } from "../../index-ZphT3dr_.js";
47
49
  import { u as L } from "../../ThemeProvider-Cv61y4Uy.js";
48
- import { h as je } from "../../ElementChildren-67NLtZ0A.js";
49
- const K = /* @__PURE__ */ w.forwardRef(({
50
+ import { h as ke } from "../../ElementChildren-67NLtZ0A.js";
51
+ const J = /* @__PURE__ */ V.forwardRef(({
50
52
  id: r,
51
53
  bsPrefix: n,
52
54
  className: p,
@@ -59,17 +61,17 @@ const K = /* @__PURE__ */ w.forwardRef(({
59
61
  }, R) => {
60
62
  const {
61
63
  controlId: b
62
- } = V(M);
64
+ } = H(M);
63
65
  return n = L(n, "form-check-input"), /* @__PURE__ */ e(u, {
64
66
  ..._,
65
67
  ref: R,
66
68
  type: g,
67
69
  id: r || b,
68
- className: H(p, n, h && "is-valid", s && "is-invalid")
70
+ className: K(p, n, h && "is-valid", s && "is-invalid")
69
71
  });
70
72
  });
71
- K.displayName = "FormCheckInput";
72
- const U = /* @__PURE__ */ w.forwardRef(({
73
+ J.displayName = "FormCheckInput";
74
+ const U = /* @__PURE__ */ V.forwardRef(({
73
75
  bsPrefix: r,
74
76
  className: n,
75
77
  htmlFor: p,
@@ -77,16 +79,16 @@ const U = /* @__PURE__ */ w.forwardRef(({
77
79
  }, h) => {
78
80
  const {
79
81
  controlId: s
80
- } = V(M);
82
+ } = H(M);
81
83
  return r = L(r, "form-check-label"), /* @__PURE__ */ e("label", {
82
84
  ...g,
83
85
  ref: h,
84
86
  htmlFor: p || s,
85
- className: H(n, r)
87
+ className: K(n, r)
86
88
  });
87
89
  });
88
90
  U.displayName = "FormCheckLabel";
89
- const ee = /* @__PURE__ */ w.forwardRef(({
91
+ const te = /* @__PURE__ */ V.forwardRef(({
90
92
  id: r,
91
93
  bsPrefix: n,
92
94
  bsSwitchPrefix: p,
@@ -111,9 +113,9 @@ const ee = /* @__PURE__ */ w.forwardRef(({
111
113
  n = L(n, "form-check"), p = L(p, "form-switch");
112
114
  const {
113
115
  controlId: D
114
- } = V(M), A = ce(() => ({
116
+ } = H(M), A = se(() => ({
115
117
  controlId: r || D
116
- }), [D, r]), N = !j && v != null && v !== !1 || je(j, U), F = /* @__PURE__ */ e(K, {
118
+ }), [D, r]), N = !j && v != null && v !== !1 || ke(j, U), F = /* @__PURE__ */ e(J, {
117
119
  ...k,
118
120
  type: f === "switch" ? "checkbox" : f,
119
121
  ref: C,
@@ -126,12 +128,12 @@ const ee = /* @__PURE__ */ w.forwardRef(({
126
128
  value: A,
127
129
  children: /* @__PURE__ */ e("div", {
128
130
  style: O,
129
- className: H(G, N && n, g && `${n}-inline`, h && `${n}-reverse`, f === "switch" && p),
131
+ className: K(G, N && n, g && `${n}-inline`, h && `${n}-reverse`, f === "switch" && p),
130
132
  children: j || /* @__PURE__ */ a(S, {
131
133
  children: [F, N && /* @__PURE__ */ e(U, {
132
134
  title: P,
133
135
  children: v
134
- }), b && /* @__PURE__ */ e(Re, {
136
+ }), b && /* @__PURE__ */ e(Te, {
135
137
  type: T,
136
138
  tooltip: R,
137
139
  children: b
@@ -140,13 +142,13 @@ const ee = /* @__PURE__ */ w.forwardRef(({
140
142
  })
141
143
  });
142
144
  });
143
- ee.displayName = "FormCheck";
144
- const ke = Object.assign(ee, {
145
- Input: K,
145
+ te.displayName = "FormCheck";
146
+ const Ce = Object.assign(te, {
147
+ Input: J,
146
148
  Label: U
147
- }), _t = ({ row: r, showGestionCard: n = !1, protecdocVersion: p = "v1" }) => {
148
- var Y;
149
- const [g, h] = y(!1), [s, u] = y(null), [_, R] = y(!1), b = se(null), [T, G] = y(null), [O, P] = y(!1), [f, v] = y([]), [j, I] = y(!1), [k, C] = y({}), [D, A] = y({}), N = Array.isArray(r == null ? void 0 : r.radicados) ? r.radicados : [], F = ((Y = r == null ? void 0 : r.registro) == null ? void 0 : Y.numeroRegistro) ?? (r == null ? void 0 : r.numeroRegistro), $ = `${window.location.protocol}//${window.location.host}/api-gateway/`, te = (o) => {
149
+ }), Rt = ({ row: r, showGestionCard: n = !1, protecdocVersion: p = "v1" }) => {
150
+ var Z;
151
+ const [g, h] = y(!1), [s, u] = y(null), [_, R] = y(!1), b = de(null), [T, G] = y(null), [O, P] = y(!1), [f, v] = y([]), [j, I] = y(!1), [k, C] = y({}), [D, A] = y({}), N = Array.isArray(r == null ? void 0 : r.radicados) ? r.radicados : [], F = ((Z = r == null ? void 0 : r.registro) == null ? void 0 : Z.numeroRegistro) ?? (r == null ? void 0 : r.numeroRegistro), E = `${window.location.protocol}//${window.location.host}/api-gateway/`, ae = (o) => {
150
152
  if (!o) return "";
151
153
  const t = new Date(Number(o)), m = t.getFullYear(), c = String(t.getMonth() + 1).padStart(2, "0"), i = String(t.getDate()).padStart(2, "0"), d = String(t.getHours()).padStart(2, "0"), l = String(t.getMinutes()).padStart(2, "0");
152
154
  return `${m}-${c}-${i} ${d}:${l}`;
@@ -161,10 +163,10 @@ const ke = Object.assign(ee, {
161
163
  (async () => {
162
164
  I(!0);
163
165
  try {
164
- const t = await fetch(`${$}gsc/gestionap/${F}`, {
166
+ const t = await fetch(`${E}gsc/gestionap/${F}`, {
165
167
  method: "GET",
166
168
  headers: {
167
- Authorization: `Bearer ${X()}`,
169
+ Authorization: `Bearer ${ee()}`,
168
170
  "BK-Service": "api-gsc"
169
171
  }
170
172
  });
@@ -173,12 +175,12 @@ const ke = Object.assign(ee, {
173
175
  const m = await t.json();
174
176
  v(Array.isArray(m) ? m : []);
175
177
  } catch (t) {
176
- console.error("Error fetching gestion:", t), v([]);
178
+ w.error("Error fetching gestion:", t), v([]);
177
179
  } finally {
178
180
  I(!1);
179
181
  }
180
182
  })();
181
- }, [n, F, $]), q(() => {
183
+ }, [n, F, E]), q(() => {
182
184
  !n || f.length === 0 || f.forEach((o) => {
183
185
  const t = o.id_gestion;
184
186
  if (!t || k[t] || D[t])
@@ -186,11 +188,11 @@ const ke = Object.assign(ee, {
186
188
  (async () => {
187
189
  A((c) => ({ ...c, [t]: !0 }));
188
190
  try {
189
- const c = await fetch(`${$}usuario/archivo/`, {
191
+ const c = await fetch(`${E}usuario/archivo/`, {
190
192
  method: "POST",
191
193
  headers: {
192
194
  "Content-Type": "application/json",
193
- Authorization: `Bearer ${X()}`,
195
+ Authorization: `Bearer ${ee()}`,
194
196
  "BK-Service": "api-doc"
195
197
  },
196
198
  body: JSON.stringify({
@@ -204,16 +206,16 @@ const ke = Object.assign(ee, {
204
206
  const i = await c.json(), d = Array.isArray(i == null ? void 0 : i.documentos) ? i.documentos.filter((l) => !!l.archivo_base64) : [];
205
207
  C((l) => ({ ...l, [t]: d }));
206
208
  } catch (c) {
207
- console.error("Error al obtener documentos de gestión:", c), C((i) => ({ ...i, [t]: [] }));
209
+ w.error("Error al obtener documentos de gestión:", c), C((i) => ({ ...i, [t]: [] }));
208
210
  } finally {
209
211
  A((c) => ({ ...c, [t]: !1 }));
210
212
  }
211
213
  })();
212
214
  });
213
- }, [n, f, k, D, $]);
214
- const J = () => {
215
+ }, [n, f, k, D, E]);
216
+ const Y = () => {
215
217
  b.current && (URL.revokeObjectURL(b.current), b.current = null), h(!1), u(null);
216
- }, ae = async (o) => {
218
+ }, re = async (o) => {
217
219
  if (o.fuente === "legacy") {
218
220
  u({
219
221
  data: "",
@@ -225,7 +227,7 @@ const ke = Object.assign(ee, {
225
227
  }
226
228
  u(null), h(!0);
227
229
  try {
228
- const t = await xe(o.id_documento, p), m = URL.createObjectURL(t);
230
+ const t = await Se(o.id_documento, p), m = URL.createObjectURL(t);
229
231
  b.current = m;
230
232
  const c = o.tipoDocumento || t.type || "";
231
233
  u({
@@ -236,25 +238,25 @@ const ke = Object.assign(ee, {
236
238
  blobUrl: m
237
239
  });
238
240
  } catch (t) {
239
- console.error("Error al descargar documento protecdoc:", t), J();
241
+ w.error("Error al descargar documento protecdoc:", t), Y();
240
242
  }
241
- }, re = (o) => {
243
+ }, ie = (o) => {
242
244
  u({
243
245
  data: "",
244
246
  mimeType: o.mime_type,
245
247
  name: o.nombre,
246
248
  base64: o.archivo_base64
247
249
  }), h(!0);
248
- }, ie = [
250
+ }, ne = [
249
251
  {
250
252
  label: "Documentación de los radicados",
251
- icon: he,
253
+ icon: pe,
252
254
  content: (o) => N.length > 0 || n ? /* @__PURE__ */ a(S, { children: [
253
255
  /* @__PURE__ */ a(
254
- Fe,
256
+ Re,
255
257
  {
256
258
  show: g,
257
- onHide: J,
259
+ onHide: Y,
258
260
  title: (s == null ? void 0 : s.name) || "",
259
261
  modalType: "secondary",
260
262
  primaryPosition: "left",
@@ -265,9 +267,9 @@ const ke = Object.assign(ee, {
265
267
  otherModalOpen: !0,
266
268
  hasBody: !1,
267
269
  children: [
268
- g && !s && /* @__PURE__ */ e(E, { type: "loading_duck" }),
270
+ g && !s && /* @__PURE__ */ e($, { type: "loading_duck" }),
269
271
  s && /* @__PURE__ */ e(
270
- de,
272
+ le,
271
273
  {
272
274
  data: s.data,
273
275
  mimeType: s.mimeType,
@@ -280,20 +282,20 @@ const ke = Object.assign(ee, {
280
282
  }
281
283
  ),
282
284
  N.length > 0 && /* @__PURE__ */ e(
283
- me,
285
+ he,
284
286
  {
285
287
  radicados: N,
286
- onDocumentoClick: ae,
288
+ onDocumentoClick: re,
287
289
  setView: o,
288
290
  setTraceData: G,
289
291
  protecdocVersion: p,
290
292
  setTraceLoading: P
291
293
  }
292
294
  ),
293
- n && /* @__PURE__ */ e(S, { children: j ? /* @__PURE__ */ e("div", { className: "aux-radicados__loading", children: /* @__PURE__ */ e(E, { type: "loading_duck", width: 200 }) }) : f.length > 0 ? f.map((t, m) => {
295
+ n && /* @__PURE__ */ e(S, { children: j ? /* @__PURE__ */ e("div", { className: "aux-radicados__loading", children: /* @__PURE__ */ e($, { type: "loading_duck", width: 200 }) }) : f.length > 0 ? f.map((t, m) => {
294
296
  const c = k[t.id_gestion] || [], i = !!D[t.id_gestion];
295
- return /* @__PURE__ */ a(_e, { label: `Gestión ${t.fecha_gestion}`, icon: pe, children: [
296
- /* @__PURE__ */ e(x, { icon: W, subtitle: "Documentación del solicitante" }),
297
+ return /* @__PURE__ */ a(De, { label: `Gestión ${t.fecha_gestion}`, icon: ue, children: [
298
+ /* @__PURE__ */ e(x, { icon: X, subtitle: "Documentación del solicitante" }),
297
299
  /* @__PURE__ */ e(
298
300
  B,
299
301
  {
@@ -323,7 +325,7 @@ const ke = Object.assign(ee, {
323
325
  }
324
326
  ),
325
327
  /* @__PURE__ */ a("div", { style: { marginTop: "1.5rem", marginBottom: "1.5rem" }, children: [
326
- /* @__PURE__ */ e(x, { icon: ue, subtitle: "Información de la gestión" }),
328
+ /* @__PURE__ */ e(x, { icon: be, subtitle: "Información de la gestión" }),
327
329
  /* @__PURE__ */ e(z, { striped: !0, bordered: !0, children: /* @__PURE__ */ a("tbody", { children: [
328
330
  t.subpoblacion && /* @__PURE__ */ a("tr", { children: [
329
331
  /* @__PURE__ */ e("td", { className: "text-start", children: /* @__PURE__ */ e("b", { children: "Subpoblación objeto" }) }),
@@ -352,7 +354,7 @@ const ke = Object.assign(ee, {
352
354
  ] }) })
353
355
  ] }),
354
356
  t.entidadSolicitante && /* @__PURE__ */ a("div", { style: { marginTop: "1.5rem", marginBottom: "1.5rem" }, children: [
355
- /* @__PURE__ */ e(x, { icon: be, subtitle: "Entidad solicitante" }),
357
+ /* @__PURE__ */ e(x, { icon: fe, subtitle: "Entidad solicitante" }),
356
358
  /* @__PURE__ */ e(z, { striped: !0, bordered: !0, children: /* @__PURE__ */ a("tbody", { children: [
357
359
  /* @__PURE__ */ a("tr", { children: [
358
360
  /* @__PURE__ */ e("td", { className: "text-start", children: /* @__PURE__ */ e("b", { children: "Ámbito" }) }),
@@ -377,11 +379,11 @@ const ke = Object.assign(ee, {
377
379
  ] }) })
378
380
  ] }),
379
381
  Array.isArray(t.motivosNoInicio) && t.motivosNoInicio.length > 0 && /* @__PURE__ */ a("div", { style: { marginTop: "1.5rem", marginBottom: "1.5rem" }, children: [
380
- /* @__PURE__ */ e(x, { icon: fe, subtitle: "Motivo por cuál no se inicia ruta" }),
382
+ /* @__PURE__ */ e(x, { icon: ye, subtitle: "Motivo por cuál no se inicia ruta" }),
381
383
  /* @__PURE__ */ e(z, { striped: !0, bordered: !0, children: /* @__PURE__ */ e("tbody", { children: t.motivosNoInicio.map((d, l) => /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { className: "text-start", children: d }) }, l)) }) })
382
384
  ] }),
383
385
  Array.isArray(t.criterios) && t.criterios.length > 0 && /* @__PURE__ */ a("div", { style: { marginTop: "1.5rem", marginBottom: "1.5rem" }, children: [
384
- /* @__PURE__ */ e(x, { icon: ye, subtitle: "Criterios primarios de confirmación de la solicitud" }),
386
+ /* @__PURE__ */ e(x, { icon: ge, subtitle: "Criterios primarios de confirmación de la solicitud" }),
385
387
  t.criterios.map((d, l) => /* @__PURE__ */ e(
386
388
  B,
387
389
  {
@@ -396,7 +398,7 @@ const ke = Object.assign(ee, {
396
398
  ] }) }) })
397
399
  ] }),
398
400
  t.entidadRemision && /* @__PURE__ */ a("div", { style: { marginTop: "1.5rem", marginBottom: "1.5rem" }, children: [
399
- /* @__PURE__ */ e(x, { icon: ge, subtitle: "Remitido a entidad" }),
401
+ /* @__PURE__ */ e(x, { icon: ve, subtitle: "Remitido a entidad" }),
400
402
  /* @__PURE__ */ e(z, { striped: !0, bordered: !0, children: /* @__PURE__ */ a("tbody", { children: [
401
403
  /* @__PURE__ */ a("tr", { children: [
402
404
  /* @__PURE__ */ e("td", { className: "text-start", children: /* @__PURE__ */ e("b", { children: "Ámbito" }) }),
@@ -421,7 +423,7 @@ const ke = Object.assign(ee, {
421
423
  ] }) })
422
424
  ] }),
423
425
  c.length > 0 ? /* @__PURE__ */ a(S, { children: [
424
- /* @__PURE__ */ e(x, { icon: W, subtitle: "Documentación de la gestión" }),
426
+ /* @__PURE__ */ e(x, { icon: X, subtitle: "Documentación de la gestión" }),
425
427
  c.map((d, l) => /* @__PURE__ */ a(
426
428
  "div",
427
429
  {
@@ -436,18 +438,18 @@ const ke = Object.assign(ee, {
436
438
  alignItems: "center",
437
439
  marginBottom: "1rem"
438
440
  },
439
- onClick: () => re(d),
441
+ onClick: () => ie(d),
440
442
  children: [
441
443
  /* @__PURE__ */ a("div", { className: "icon_name_container_qy", style: { display: "flex", gap: "1rem", alignItems: "center" }, children: [
442
- le(d.mime_type),
444
+ me(d.mime_type),
443
445
  /* @__PURE__ */ e("span", { children: "Anexo Gestión GSC" })
444
446
  ] }),
445
- /* @__PURE__ */ e(ve, {})
447
+ /* @__PURE__ */ e(Ne, {})
446
448
  ]
447
449
  },
448
450
  `${t.id_gestion}-${l}`
449
451
  ))
450
- ] }) : i ? /* @__PURE__ */ e(E, { type: "loading_duck", width: 200 }) : null
452
+ ] }) : i ? /* @__PURE__ */ e($, { type: "loading_duck", width: 200 }) : null
451
453
  ] }, t.id_gestion ?? m);
452
454
  }) : /* @__PURE__ */ a(S, { children: [
453
455
  "No se ha realizado la gestión para el registro No. ",
@@ -457,23 +459,23 @@ const ke = Object.assign(ee, {
457
459
  },
458
460
  {
459
461
  label: "Trazabilidad",
460
- content: () => /* @__PURE__ */ e(S, { children: O ? /* @__PURE__ */ e("div", { className: "aux-radicados__loading", children: /* @__PURE__ */ e(E, { type: "loading_duck", width: 200 }) }) : T ? /* @__PURE__ */ e("div", { className: "vp-trazabilidad-container", children: (() => {
462
+ content: () => /* @__PURE__ */ e(S, { children: O ? /* @__PURE__ */ e("div", { className: "aux-radicados__loading", children: /* @__PURE__ */ e($, { type: "loading_duck", width: 200 }) }) : T ? /* @__PURE__ */ e("div", { className: "vp-trazabilidad-container", children: (() => {
461
463
  const o = (T.inProgress || []).map((i) => ({ ...i, _inProgress: !0 })), m = (T.completed || []).map((i) => ({ ...i, _inProgress: !1 })).sort((i, d) => (d.endDate || 0) - (i.endDate || 0)), c = [...o, ...m];
462
464
  return /* @__PURE__ */ e("div", { children: c.map((i, d) => {
463
- var Q;
464
- const l = i._inProgress ? "En progreso" : ((Q = i.trackState) == null ? void 0 : Q.state) ?? "", Z = i.subsectionObject ?? "", ne = i.user ?? "", oe = te(i.endDate);
465
+ var W;
466
+ const l = i._inProgress ? "En progreso" : ((W = i.trackState) == null ? void 0 : W.state) ?? "", Q = i.subsectionObject ?? "", oe = i.user ?? "", ce = ae(i.endDate);
465
467
  return /* @__PURE__ */ a("div", { className: "vp-timeline-event", children: [
466
468
  /* @__PURE__ */ a("div", { className: "vp-timeline-left", children: [
467
469
  /* @__PURE__ */ e("div", { className: "vp-point-vertical" }),
468
470
  d < c.length - 1 && /* @__PURE__ */ e("div", { className: "vp-line-vertical" })
469
471
  ] }),
470
472
  /* @__PURE__ */ a("div", { className: "vp-timeline-content", children: [
471
- /* @__PURE__ */ e("div", { style: { display: "flex" }, children: /* @__PURE__ */ e("div", { className: "vp-icon-circle", children: /* @__PURE__ */ e(Ne, {}) }) }),
473
+ /* @__PURE__ */ e("div", { style: { display: "flex" }, children: /* @__PURE__ */ e("div", { className: "vp-icon-circle", children: /* @__PURE__ */ e(xe, {}) }) }),
472
474
  /* @__PURE__ */ a("div", { className: "vp-event-details", children: [
473
475
  /* @__PURE__ */ e("div", { className: "vp-event-estado fw-bold", children: l }),
474
- Z && /* @__PURE__ */ e("div", { className: "vp-event-observacion", children: Z }),
475
- /* @__PURE__ */ e("div", { className: "vp-event-fecha text-muted small", children: ne }),
476
- /* @__PURE__ */ e("div", { className: "vp-event-fecha text-muted small", children: oe })
476
+ Q && /* @__PURE__ */ e("div", { className: "vp-event-observacion", children: Q }),
477
+ /* @__PURE__ */ e("div", { className: "vp-event-fecha text-muted small", children: oe }),
478
+ /* @__PURE__ */ e("div", { className: "vp-event-fecha text-muted small", children: ce })
477
479
  ] })
478
480
  ] })
479
481
  ] }, i.trackId ?? d);
@@ -482,20 +484,20 @@ const ke = Object.assign(ee, {
482
484
  }
483
485
  ];
484
486
  return /* @__PURE__ */ e(
485
- De,
487
+ Fe,
486
488
  {
487
489
  title: (r == null ? void 0 : r.numeroRegistro) ?? "Correspondencia",
488
- modalContent: ie
490
+ modalContent: ne
489
491
  }
490
492
  );
491
- }, B = ({ labelPregunta: r, preguntaDocumentacion: n }) => /* @__PURE__ */ e(Se, { children: /* @__PURE__ */ a("div", { style: { display: "flex", gap: "1rem" }, children: [
493
+ }, B = ({ labelPregunta: r, preguntaDocumentacion: n }) => /* @__PURE__ */ e(_e, { children: /* @__PURE__ */ a("div", { style: { display: "flex", gap: "1rem" }, children: [
492
494
  /* @__PURE__ */ a("span", { children: [
493
495
  r,
494
496
  " ",
495
497
  /* @__PURE__ */ e("span", { className: "text-danger", children: "*" })
496
498
  ] }),
497
- /* @__PURE__ */ e(Te, { controlId: "formulario", children: /* @__PURE__ */ e(
498
- ke,
499
+ /* @__PURE__ */ e(je, { controlId: "formulario", children: /* @__PURE__ */ e(
500
+ Ce,
499
501
  {
500
502
  type: "switch",
501
503
  id: "adjuntaFormulario",
@@ -507,5 +509,5 @@ const ke = Object.assign(ee, {
507
509
  ) })
508
510
  ] }) });
509
511
  export {
510
- _t as ModalRadicado
512
+ Rt as ModalRadicado
511
513
  };