react-ecosistema-unp 1.7.0 → 1.7.1-8.pre-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 (53) hide show
  1. package/dist/TabPane-BiwPZSbT.js +752 -0
  2. package/dist/assets/ContenedorVentana.css +1 -1
  3. package/dist/assets/EcoModalStyles.css +1 -0
  4. package/dist/assets/Modal.css +1 -1
  5. package/dist/assets/TabVentana.css +1 -1
  6. package/dist/assets/Tabla.css +1 -1
  7. package/dist/assets/Tarjeta.css +1 -1
  8. package/dist/cards/tarjeta/Tarjeta.js +37 -34
  9. package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +1 -1
  10. package/dist/cards/tarjeta-info/TarjetaInfo.js +1 -1
  11. package/dist/data/tarjeta-datos/TarjetaDatos.js +1 -1
  12. package/dist/index-BrykDZgK.js +390 -0
  13. package/dist/{index-CgSyrJ_X.js → index-D3WseyJh.js} +18 -14
  14. package/dist/{index-Cpp73e44.js → index-DDjnZyBf.js} +31 -19
  15. package/dist/lib/auth/contexts/AuthContex.d.ts +3 -0
  16. package/dist/lib/cards/tarjeta/Tarjeta.d.ts +1 -0
  17. package/dist/lib/tables/tabla-registros/TablaRegistros.d.ts +8 -0
  18. package/dist/lib/tables/tabla-registros/modal/Modal.d.ts +2 -3
  19. package/dist/lib/tables/tabla-registros/modal-v2/EcoModal.d.ts +22 -0
  20. package/dist/lib/tables/tabla-registros/tabla/Tabla.d.ts +7 -1
  21. package/dist/lib/ui/items-modal/ItemsModal.d.ts +1 -0
  22. package/dist/lib/ui/paginador/Paginador.d.ts +3 -0
  23. package/dist/lib/ui.d.ts +1 -1
  24. package/dist/lib/utils/eco-provider/EcoContext.d.ts +4 -0
  25. package/dist/lib/utils/fetch-interceptor/fetchInterceptor.d.ts +7 -0
  26. package/dist/lib/utils/websocket-manager/WebSocketContext.d.ts +3 -0
  27. package/dist/lib/utils.d.ts +1 -0
  28. package/dist/shared/app-list/AppList.js +2 -2
  29. package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
  30. package/dist/shared/menu-lateral/MenuLateral.js +6 -4
  31. package/dist/shared/notificacion-usuario/NotificacionUsuario.js +3 -3
  32. package/dist/shared/tab-ventana/TabVentana.js +1 -1
  33. package/dist/shared/ventana-tabs/VentanaTabs.js +1 -1
  34. package/dist/tables/tabla-registros/TablaRegistros.js +499 -492
  35. package/dist/tables/tabla-registros/buscador/Buscador.js +1 -1
  36. package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +12 -9
  37. package/dist/tables/tabla-registros/modal/Modal.js +23 -23
  38. package/dist/tables/tabla-registros/modal-v2/EcoModal.js +118 -0
  39. package/dist/tables/tabla-registros/tabla/Tabla.js +187 -127
  40. package/dist/ui/contenido-modal/ContenidoModal.js +1 -1
  41. package/dist/ui/contenido-modal/ContenidoModalv0.1.js +1 -1
  42. package/dist/ui/icono-tooltip/IconoTooltip.js +1 -1
  43. package/dist/ui/items-modal/ItemsModal.js +16 -13
  44. package/dist/ui/paginador/Paginador.js +27 -16
  45. package/dist/ui.js +9 -8
  46. package/dist/utils/components/ProtectedRoute.js +74 -31
  47. package/dist/utils/components/UserRoute.js +45 -22
  48. package/dist/utils/eco-provider/EcoContext.js +31 -0
  49. package/dist/utils/fetch-interceptor/fetchInterceptor.js +56 -0
  50. package/dist/utils/unp-historico/UnpHistorico.js +6 -4
  51. package/dist/utils.js +17 -15
  52. package/package.json +4 -2
  53. package/dist/TabPane-DtFCEmIj.js +0 -1136
@@ -1,5 +1,5 @@
1
1
  import { G as t } from "./iconBase-LROS5hdG.js";
2
- function a(c) {
2
+ function l(c) {
3
3
  return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L320 96z" }, child: [] }] })(c);
4
4
  }
5
5
  function s(c) {
@@ -23,10 +23,10 @@ function g(c) {
23
23
  function d(c) {
24
24
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z" }, child: [] }] })(c);
25
25
  }
26
- function z(c) {
26
+ function e(c) {
27
27
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z" }, child: [] }] })(c);
28
28
  }
29
- function e(c) {
29
+ function z(c) {
30
30
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z" }, child: [] }] })(c);
31
31
  }
32
32
  function o(c) {
@@ -56,44 +56,56 @@ function w(c) {
56
56
  function F(c) {
57
57
  return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M112 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm40 304l0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-223.1L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6l29.7 0c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9 232 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-128-16 0zM432 224a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm0 240a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm0-192c-8.8 0-16 7.2-16 16l0 80c0 8.8 7.2 16 16 16s16-7.2 16-16l0-80c0-8.8-7.2-16-16-16z" }, child: [] }] })(c);
58
58
  }
59
- function m(c) {
59
+ function x(c) {
60
60
  return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3L352 448l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288l144.9 0L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320l144.9 0L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z" }, child: [] }] })(c);
61
61
  }
62
- function B(c) {
62
+ function m(c) {
63
63
  return t({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z" }, child: [] }] })(c);
64
64
  }
65
- function f(c) {
65
+ function B(c) {
66
66
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z" }, child: [] }] })(c);
67
67
  }
68
- function x(c) {
68
+ function f(c) {
69
69
  return t({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z" }, child: [] }] })(c);
70
70
  }
71
71
  function A(c) {
72
72
  return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192l42.7 0c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0L21.3 320C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z" }, child: [] }] })(c);
73
73
  }
74
+ function S(c) {
75
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM96 96l320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 160c-17.7 0-32-14.3-32-32s14.3-32 32-32z" }, child: [] }] })(c);
76
+ }
77
+ function R(c) {
78
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M432 64L208 64c-8.8 0-16 7.2-16 16l0 16-64 0 0-16c0-44.2 35.8-80 80-80L432 0c44.2 0 80 35.8 80 80l0 224c0 44.2-35.8 80-80 80l-16 0 0-64 16 0c8.8 0 16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zM0 192c0-35.3 28.7-64 64-64l256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192zm64 32c0 17.7 14.3 32 32 32l192 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 192c-17.7 0-32 14.3-32 32z" }, child: [] }] })(c);
79
+ }
80
+ function k(c) {
81
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z" }, child: [] }] })(c);
82
+ }
74
83
  export {
75
84
  u as F,
76
85
  F as a,
77
86
  L as b,
78
87
  i as c,
79
- a as d,
88
+ l as d,
80
89
  h as e,
81
90
  o as f,
82
91
  n as g,
83
- f as h,
84
- m as i,
92
+ B as h,
93
+ x as i,
85
94
  v as j,
86
95
  p as k,
87
96
  A as l,
88
- x as m,
97
+ f as m,
89
98
  M as n,
90
99
  d as o,
91
- z as p,
92
- B as q,
93
- g as r,
94
- e as s,
95
- C as t,
96
- w as u,
97
- s as v,
98
- r as w
100
+ e as p,
101
+ R as q,
102
+ S as r,
103
+ m as s,
104
+ g as t,
105
+ z as u,
106
+ k as v,
107
+ C as w,
108
+ w as x,
109
+ s as y,
110
+ r as z
99
111
  };
@@ -4,5 +4,8 @@ declare const AuthContext: React.Context<AuthContextType | undefined>;
4
4
  interface AuthProviderProps {
5
5
  children: ReactNode;
6
6
  }
7
+ /**
8
+ * @deprecated since version 1.7.7 — use `EcoProvider` instead.
9
+ */
7
10
  declare const AuthProvider: React.FC<AuthProviderProps>;
8
11
  export { AuthContext, AuthProvider };
@@ -12,6 +12,7 @@ interface TarjetaProps {
12
12
  hasBody?: boolean;
13
13
  buttonLabel?: string;
14
14
  isButtonDisabled?: boolean;
15
+ extraButton?: React.ReactNode;
15
16
  }
16
17
  declare const Tarjeta: React.FC<TarjetaProps>;
17
18
  export { Tarjeta };
@@ -6,6 +6,11 @@ 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) | ((row: Record<string, any>) => {
10
+ pathname: string;
11
+ state?: any;
12
+ });
13
+ state?: Record<string, any>;
9
14
  }
10
15
  interface TableProps {
11
16
  title?: string;
@@ -22,6 +27,9 @@ interface TableProps {
22
27
  closeModalOut?: boolean;
23
28
  enableColumnSearch?: boolean;
24
29
  enableColumnSorter?: boolean;
30
+ disableClose?: boolean;
31
+ enableRowSelection?: boolean;
32
+ onSelectionChange?: (selected: string[]) => void;
25
33
  }
26
34
  declare const TablaRegistros: React.FC<TableProps>;
27
35
  export { TablaRegistros };
@@ -6,9 +6,8 @@ interface CustomModalProps {
6
6
  children: React.ReactNode;
7
7
  closeModalOut: boolean;
8
8
  }
9
- declare const EcoModal: React.FC<CustomModalProps>;
10
9
  /**
11
10
  * @deprecated since version 1.7.x — use `EcoModal` instead.
12
11
  */
13
- export declare const CustomModal: React.FC<CustomModalProps>;
14
- export { EcoModal };
12
+ declare const CustomModal: React.FC<CustomModalProps>;
13
+ export { CustomModal };
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ interface CustomModalProps {
3
+ show: boolean;
4
+ onHide: () => void;
5
+ title: string;
6
+ children: React.ReactNode;
7
+ closeModalOut: boolean;
8
+ isMaximized?: boolean;
9
+ onToggleMaximize?: () => void;
10
+ showMaximizeButton?: boolean;
11
+ modalType: "primary" | "secondary";
12
+ primaryPosition?: "left" | "center" | "right";
13
+ disableClose?: boolean;
14
+ hasSecondaryModalOpen?: boolean;
15
+ otherModalOpen?: boolean;
16
+ widthPercent?: number;
17
+ headerBgColor?: string;
18
+ hasBody?: boolean;
19
+ showOverlay?: boolean;
20
+ }
21
+ declare const EcoModal: React.FC<CustomModalProps>;
22
+ export { EcoModal };
@@ -6,7 +6,11 @@ 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;
9
+ redirectTo?: ((row: Record<string, any>) => string) | ((row: Record<string, any>) => {
10
+ pathname: string;
11
+ state?: any;
12
+ });
13
+ state?: Record<string, any>;
10
14
  }
11
15
  interface TablaProps {
12
16
  columns: Column[];
@@ -23,6 +27,8 @@ interface TablaProps {
23
27
  columnSearch: Record<string, string>;
24
28
  handleColumnSearch: (key: string, value: string) => void;
25
29
  enableColumnSorter: boolean;
30
+ enableRowSelection?: boolean;
31
+ onSelectionChange?: (selected: string[]) => void;
26
32
  }
27
33
  declare const Tabla: React.FC<TablaProps>;
28
34
  export { Tabla };
@@ -7,6 +7,7 @@ interface Listado {
7
7
  closed?: boolean;
8
8
  handleDownload?: (...args: any[]) => any;
9
9
  state?: Record<string, any>;
10
+ extraItem?: React.ReactNode;
10
11
  }
11
12
  interface ItemsModalProps {
12
13
  sections: Listado[];
@@ -10,6 +10,9 @@ interface PaginadorProps {
10
10
  stepContent: StepContent[];
11
11
  onSubmit?: (...args: any[]) => any;
12
12
  canJump?: boolean;
13
+ sendButtonLabel?: string;
14
+ isSendButtonDisabled?: boolean;
15
+ extraButton?: React.ReactNode;
13
16
  }
14
17
  declare const Paginador: React.FC<PaginadorProps>;
15
18
  export { Paginador };
package/dist/lib/ui.d.ts CHANGED
@@ -7,5 +7,5 @@ export { ItemsModal } from './ui/items-modal/ItemsModal.js';
7
7
  export { IconoTooltip } from './ui/icono-tooltip/IconoTooltip.js';
8
8
  export { ContenedorVentana } from './ui/contenedor-ventana/ContenedorVentana.js';
9
9
  export { CustomModal } from './tables/tabla-registros/modal/Modal.js';
10
- export { EcoModal } from './tables/tabla-registros/modal/Modal.js';
10
+ export { EcoModal } from './tables/tabla-registros/modal-v2/EcoModal.js';
11
11
  export { Animacion } from './ui/animacion/Animacion.js';
@@ -0,0 +1,4 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const EcoProvider: React.FC<{
3
+ children: ReactNode;
4
+ }>;
@@ -0,0 +1,7 @@
1
+ declare global {
2
+ interface Window {
3
+ originalFetch: typeof fetch;
4
+ }
5
+ }
6
+ declare const _default: {};
7
+ export default _default;
@@ -15,6 +15,9 @@ interface WebSocketContextType {
15
15
  */
16
16
  sendWebSocketMessage: (data: any) => void;
17
17
  }
18
+ /**
19
+ * @deprecated since version 1.7.7 — use `EcoProvider` instead.
20
+ */
18
21
  export declare const WebSocketProvider: React.FC<{
19
22
  children: ReactNode;
20
23
  }>;
@@ -1,3 +1,4 @@
1
+ export { EcoProvider } from './utils/eco-provider/EcoContext.js';
1
2
  export { AuthProvider } from './auth/contexts/AuthContex.js';
2
3
  export { ProtectedRoute } from './utils/components/ProtectedRoute.js';
3
4
  export { UserRoute } from './utils/components/UserRoute.js';
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as r } from "react/jsx-runtime";
2
2
  import { useState as d, useEffect as h } from "react";
3
- import { F as t, e as u, f, g as v, h as z } from "../../index-CgSyrJ_X.js";
4
- import { w as N } from "../../index-Cpp73e44.js";
3
+ import { F as t, f as u, g as f, h as v, i as z } from "../../index-D3WseyJh.js";
4
+ import { z as N } from "../../index-DDjnZyBf.js";
5
5
  import { G as g } from "../../iconBase-LROS5hdG.js";
6
6
  import { j as w } from "../../index-CuHybtft.js";
7
7
  import { N as b } from "../../NavDropdown-ei8eIwIE.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useFinalizarSesion as t } from "../../../auth/hooks/useFinalizarSesion.js";
3
- import { v as i } from "../../../index-Cpp73e44.js";
3
+ import { y as i } from "../../../index-DDjnZyBf.js";
4
4
  import '../../../assets/LogoutButton.css';const a = () => {
5
5
  const { FinSesion: o } = t();
6
6
  return /* @__PURE__ */ r(i, { className: "icono-logout", onClick: o });
@@ -5,7 +5,7 @@ import { j as u } from "../../index-CuHybtft.js";
5
5
  import { useFinalizarSesion as C } from "../../auth/hooks/useFinalizarSesion.js";
6
6
  import { urlBase as L, urlCertificadoLaboral as S } from "../../utils/Url.js";
7
7
  import "../../auth/contexts/AuthContex.js";
8
- import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModal.css';import '../../assets/Encabezado.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/Logo.css';import '../../assets/TarjetaLectura.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';import '../../assets/UnpHistorico.css';import '../../assets/MenuLateral.css';/* empty css */
8
+ import '../../assets/EcoModalStyles.css';import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModal.css';import '../../assets/Encabezado.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/Logo.css';import '../../assets/TarjetaLectura.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';import '../../assets/UnpHistorico.css';import '../../assets/MenuLateral.css';/* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  import "../../cards/tarjeta/seccion-tarjeta/SeccionTarjeta.js";
@@ -23,6 +23,8 @@ import "../../ui/subtitulo/Subtitulo.js";
23
23
  /* empty css */
24
24
  /* empty css */
25
25
  /* empty css */
26
+ import "../../index-BrykDZgK.js";
27
+ /* empty css */
26
28
  import "../../Animacion-ThNL9iiY.js";
27
29
  import "../../index-BUe3EJDH.js";
28
30
  import { useWebSocketConnection as A } from "../../utils/websocket-manager/WebSocketContext.js";
@@ -66,7 +68,7 @@ function G(t) {
66
68
  function W(t) {
67
69
  return i({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z" }, child: [] }] })(t);
68
70
  }
69
- const b1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
71
+ const z1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
70
72
  const [N, f] = o(!0), [m, p] = o(null), k = c ? "sidebar-bar-panel open" : "sidebar-bar-panel", b = H(), { FinSesion: w } = C(), { connectionStatus: v } = A(), [z, l] = o(!1), [M, n] = o(""), h = `${window.location.host}`;
71
73
  if (d(() => {
72
74
  const r = sessionStorage.getItem("user_token");
@@ -255,7 +257,7 @@ const b1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
255
257
  ]
256
258
  }
257
259
  ) }),
258
- z && /* @__PURE__ */ e("div", { className: "gear-tooltip-container", children: [
260
+ !c && z && /* @__PURE__ */ e("div", { className: "gear-tooltip-container", children: [
259
261
  /* @__PURE__ */ a(
260
262
  "svg",
261
263
  {
@@ -303,5 +305,5 @@ const b1 = ({ onToggle: t, isOpen: c, showConnectionStatus: x }) => {
303
305
  ] }) });
304
306
  };
305
307
  export {
306
- b1 as MenuLateral
308
+ z1 as MenuLateral
307
309
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { d as o } from "../../index-CgSyrJ_X.js";
3
- import { N as n } from "../../NavDropdown-ei8eIwIE.js";
2
+ import { e as o } from "../../index-D3WseyJh.js";
3
+ import { N as e } from "../../NavDropdown-ei8eIwIE.js";
4
4
  import '../../assets/NotificacionUsuario.css';const a = () => /* @__PURE__ */ i(
5
- n,
5
+ e,
6
6
  {
7
7
  title: /* @__PURE__ */ i(o, { className: "icono-notificaciones" }),
8
8
  align: "end",
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
2
2
  import '../../assets/Bootstrap.css';import '../../assets/TabVentana.css';/* empty css */
3
3
  import { P as t } from "../../index-sDUMSncV.js";
4
4
  import "react";
5
- import { T as i, g as b, a as p, b as T } from "../../TabPane-DtFCEmIj.js";
5
+ import { T as i, g as b, a as p, b as T } from "../../TabPane-BiwPZSbT.js";
6
6
  const e = ({
7
7
  transition: n,
8
8
  ...o
@@ -5,7 +5,7 @@ import { MenuLateral as F } from "../menu-lateral/MenuLateral.js";
5
5
  import { IconosSistema as H } from "../iconos-sistema/IconosSistema.js";
6
6
  import '../../assets/Bootstrap.css';/* empty css */
7
7
  import { a as W, u as Y, b as z, d as G, c as J, q as Q, e as D, f as L, g as X } from "../../NavDropdown-ei8eIwIE.js";
8
- import { u as Z, T as ee, g as te, a as ne, b as ae } from "../../TabPane-DtFCEmIj.js";
8
+ import { u as Z, T as ee, g as te, a as ne, b as ae } from "../../TabPane-BiwPZSbT.js";
9
9
  import { u as k, c as B } from "../../ThemeProvider-Bs1j1Nwi.js";
10
10
  import { S as I, T as re, m as se } from "../../TabContext-CdjYJzMB.js";
11
11
  import { c as oe } from "../../CardHeaderContext-DVw0yHuy.js";