react-ecosistema-unp 0.2.4 → 0.3.1
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.
- package/dist/{Bootstrap-ByT3_uwe.js → Bootstrap-nyDWFTXk.js} +6796 -6980
- package/dist/NotificacionUsuario-BAYfK-nd.js +2064 -0
- package/dist/TabContext-C1blj64Y.js +204 -0
- package/dist/assets/MenuLateral.css +1 -1
- package/dist/assets/NotificacionUsuario.css +1 -0
- package/dist/assets/TabVentana.css +1 -0
- package/dist/auth/hooks/useFinalizarSesion.js +1 -1
- package/dist/lib/shared/components/TabVentana.d.ts +2 -2
- package/dist/lib/shared/components/{VentanaUsuario.d.ts → VentanaTabs.d.ts} +2 -2
- package/dist/lib/shared.d.ts +2 -0
- package/dist/lib/ui/components/Encabezado.d.ts +6 -0
- package/dist/shared/components/MenuLateral.js +99 -99
- package/dist/shared/components/NotificacionUsuario.js +3 -7
- package/dist/shared/components/TabVentana.js +13 -11
- package/dist/shared/components/VentanaLienzo.js +9 -10
- package/dist/shared/components/VentanaTabs.js +243 -0
- package/dist/shared.js +6 -2
- package/dist/ui/components/Encabezado.js +34 -0
- package/dist/{useFinalizarSesion-COlHmXt5.js → useFinalizarSesion-CqFXvTMK.js} +719 -912
- package/package.json +3 -4
- package/dist/shared/components/VentanaUsuario.js +0 -488
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import * as x from "react";
|
|
2
|
+
import a, { useContext as i, useMemo as j, useRef as b, useEffect as L, useCallback as C, useState as g } from "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
function k(e) {
|
|
5
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
|
+
}
|
|
7
|
+
var d = { exports: {} };
|
|
8
|
+
/*!
|
|
9
|
+
Copyright (c) 2018 Jed Watson.
|
|
10
|
+
Licensed under the MIT License (MIT), see
|
|
11
|
+
http://jedwatson.github.io/classnames
|
|
12
|
+
*/
|
|
13
|
+
var w;
|
|
14
|
+
function D() {
|
|
15
|
+
return w || (w = 1, function(e) {
|
|
16
|
+
(function() {
|
|
17
|
+
var t = {}.hasOwnProperty;
|
|
18
|
+
function n() {
|
|
19
|
+
for (var o = "", s = 0; s < arguments.length; s++) {
|
|
20
|
+
var c = arguments[s];
|
|
21
|
+
c && (o = u(o, r(c)));
|
|
22
|
+
}
|
|
23
|
+
return o;
|
|
24
|
+
}
|
|
25
|
+
function r(o) {
|
|
26
|
+
if (typeof o == "string" || typeof o == "number")
|
|
27
|
+
return o;
|
|
28
|
+
if (typeof o != "object")
|
|
29
|
+
return "";
|
|
30
|
+
if (Array.isArray(o))
|
|
31
|
+
return n.apply(null, o);
|
|
32
|
+
if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
|
|
33
|
+
return o.toString();
|
|
34
|
+
var s = "";
|
|
35
|
+
for (var c in o)
|
|
36
|
+
t.call(o, c) && o[c] && (s = u(s, c));
|
|
37
|
+
return s;
|
|
38
|
+
}
|
|
39
|
+
function u(o, s) {
|
|
40
|
+
return s ? o ? o + " " + s : o + s : o;
|
|
41
|
+
}
|
|
42
|
+
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
43
|
+
})();
|
|
44
|
+
}(d)), d.exports;
|
|
45
|
+
}
|
|
46
|
+
var q = D();
|
|
47
|
+
const N = /* @__PURE__ */ k(q);
|
|
48
|
+
function Y(e, t) {
|
|
49
|
+
if (e == null) return {};
|
|
50
|
+
var n = {};
|
|
51
|
+
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
52
|
+
if (t.indexOf(r) !== -1) continue;
|
|
53
|
+
n[r] = e[r];
|
|
54
|
+
}
|
|
55
|
+
return n;
|
|
56
|
+
}
|
|
57
|
+
const z = ["xxl", "xl", "lg", "md", "sm", "xs"], A = "xs", P = /* @__PURE__ */ x.createContext({
|
|
58
|
+
prefixes: {},
|
|
59
|
+
breakpoints: z,
|
|
60
|
+
minBreakpoint: A
|
|
61
|
+
});
|
|
62
|
+
function _(e, t) {
|
|
63
|
+
const {
|
|
64
|
+
prefixes: n
|
|
65
|
+
} = i(P);
|
|
66
|
+
return e || n[t] || t;
|
|
67
|
+
}
|
|
68
|
+
function ee() {
|
|
69
|
+
const {
|
|
70
|
+
dir: e
|
|
71
|
+
} = i(P);
|
|
72
|
+
return e === "rtl";
|
|
73
|
+
}
|
|
74
|
+
function te(e) {
|
|
75
|
+
return e && e.ownerDocument || document;
|
|
76
|
+
}
|
|
77
|
+
const K = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
78
|
+
var v = !1, m = !1;
|
|
79
|
+
try {
|
|
80
|
+
var p = {
|
|
81
|
+
get passive() {
|
|
82
|
+
return v = !0;
|
|
83
|
+
},
|
|
84
|
+
get once() {
|
|
85
|
+
return m = v = !0;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
K && (window.addEventListener("test", p, p), window.removeEventListener("test", p, !0));
|
|
89
|
+
} catch {
|
|
90
|
+
}
|
|
91
|
+
function V(e, t, n, r) {
|
|
92
|
+
if (r && typeof r != "boolean" && !m) {
|
|
93
|
+
var u = r.once, o = r.capture, s = n;
|
|
94
|
+
!m && u && (s = n.__once || function c(l) {
|
|
95
|
+
this.removeEventListener(t, c, o), n.call(this, l);
|
|
96
|
+
}, n.__once = s), e.addEventListener(t, s, v ? r : o);
|
|
97
|
+
}
|
|
98
|
+
e.addEventListener(t, n, r);
|
|
99
|
+
}
|
|
100
|
+
function B(e, t, n, r) {
|
|
101
|
+
var u = r && typeof r != "boolean" ? r.capture : r;
|
|
102
|
+
e.removeEventListener(t, n, u), n.__once && e.removeEventListener(t, n.__once, u);
|
|
103
|
+
}
|
|
104
|
+
function ne(e, t, n, r) {
|
|
105
|
+
return V(e, t, n, r), function() {
|
|
106
|
+
B(e, t, n, r);
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
const y = (e) => !e || typeof e == "function" ? e : (t) => {
|
|
110
|
+
e.current = t;
|
|
111
|
+
};
|
|
112
|
+
function F(e, t) {
|
|
113
|
+
const n = y(e), r = y(t);
|
|
114
|
+
return (u) => {
|
|
115
|
+
n && n(u), r && r(u);
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
function re(e, t) {
|
|
119
|
+
return j(() => F(e, t), [e, t]);
|
|
120
|
+
}
|
|
121
|
+
function O(e) {
|
|
122
|
+
const t = b(e);
|
|
123
|
+
return L(() => {
|
|
124
|
+
t.current = e;
|
|
125
|
+
}, [e]), t;
|
|
126
|
+
}
|
|
127
|
+
function oe(e) {
|
|
128
|
+
const t = O(e);
|
|
129
|
+
return C(function(...n) {
|
|
130
|
+
return t.current && t.current(...n);
|
|
131
|
+
}, [t]);
|
|
132
|
+
}
|
|
133
|
+
function se(e, t, n) {
|
|
134
|
+
const r = b(e !== void 0), [u, o] = g(t), s = e !== void 0, c = r.current;
|
|
135
|
+
return r.current = s, !s && c && u !== t && o(t), [s ? e : u, C((...l) => {
|
|
136
|
+
const [S, ...M] = l;
|
|
137
|
+
let E = n == null ? void 0 : n(S, ...M);
|
|
138
|
+
return o(S), E;
|
|
139
|
+
}, [n])];
|
|
140
|
+
}
|
|
141
|
+
const f = {
|
|
142
|
+
prefix: String(Math.round(Math.random() * 1e10)),
|
|
143
|
+
current: 0
|
|
144
|
+
}, h = /* @__PURE__ */ a.createContext(f), R = /* @__PURE__ */ a.createContext(!1);
|
|
145
|
+
let G = !!(typeof window < "u" && window.document && window.document.createElement), $ = /* @__PURE__ */ new WeakMap();
|
|
146
|
+
function I(e = !1) {
|
|
147
|
+
let t = i(h), n = b(null);
|
|
148
|
+
if (n.current === null && !e) {
|
|
149
|
+
var r, u;
|
|
150
|
+
let o = (u = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || u === void 0 || (r = u.ReactCurrentOwner) === null || r === void 0 ? void 0 : r.current;
|
|
151
|
+
if (o) {
|
|
152
|
+
let s = $.get(o);
|
|
153
|
+
s == null ? $.set(o, {
|
|
154
|
+
id: t.current,
|
|
155
|
+
state: o.memoizedState
|
|
156
|
+
}) : o.memoizedState !== s.state && (t.current = s.id, $.delete(o));
|
|
157
|
+
}
|
|
158
|
+
n.current = ++t.current;
|
|
159
|
+
}
|
|
160
|
+
return n.current;
|
|
161
|
+
}
|
|
162
|
+
function J(e) {
|
|
163
|
+
let t = i(h);
|
|
164
|
+
t === f && !G && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
165
|
+
let n = I(!!e), r = t === f && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
|
|
166
|
+
return e || `${r}-${n}`;
|
|
167
|
+
}
|
|
168
|
+
function Q(e) {
|
|
169
|
+
let t = a.useId(), [n] = g(H()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${f.prefix}`;
|
|
170
|
+
return e || `${r}-${t}`;
|
|
171
|
+
}
|
|
172
|
+
const ue = typeof a.useId == "function" ? Q : J;
|
|
173
|
+
function W() {
|
|
174
|
+
return !1;
|
|
175
|
+
}
|
|
176
|
+
function X() {
|
|
177
|
+
return !0;
|
|
178
|
+
}
|
|
179
|
+
function Z(e) {
|
|
180
|
+
return () => {
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
function H() {
|
|
184
|
+
return typeof a.useSyncExternalStore == "function" ? a.useSyncExternalStore(Z, W, X) : i(R);
|
|
185
|
+
}
|
|
186
|
+
const ce = /* @__PURE__ */ x.createContext(null), ae = (e, t = null) => e != null ? String(e) : t || null, ie = /* @__PURE__ */ x.createContext(null);
|
|
187
|
+
export {
|
|
188
|
+
ue as $,
|
|
189
|
+
ce as S,
|
|
190
|
+
ie as T,
|
|
191
|
+
Y as _,
|
|
192
|
+
re as a,
|
|
193
|
+
oe as b,
|
|
194
|
+
N as c,
|
|
195
|
+
se as d,
|
|
196
|
+
K as e,
|
|
197
|
+
V as f,
|
|
198
|
+
k as g,
|
|
199
|
+
ee as h,
|
|
200
|
+
ne as l,
|
|
201
|
+
ae as m,
|
|
202
|
+
te as o,
|
|
203
|
+
_ as u
|
|
204
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Domine:wght@400;500;600;700&family=Noto+Sans:wght@300;600&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500&display=swap";:root{--color-default: #303d50;--color-white: #fff;--color-body: #ffffff;--color-light: #e0e0e0;--Color-complementario: #
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Domine:wght@400;500;600;700&family=Noto+Sans:wght@300;600&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500&display=swap";:root{--color-default: #303d50;--color-white: #fff;--color-body: #ffffff;--color-light: #e0e0e0;--Color-complementario: #2e4b6b}*{padding:0%;margin:0%;box-sizing:border-box;font-family:roboto,sans-serif}body{min-height:calc(100vh - 8px)}.sidebar-bar-panel{min-height:100vh;width:78px;padding:6px 14px;background-color:var(--color-default);transition:all .5s ease;position:fixed;top:0;left:0;z-index:0}.sidebar-bar-panel.open{width:280px;z-index:0}.sidebar-bar-panel .logo_details{height:60px;display:flex;align-items:center;position:relative}.logo-image{height:30px;width:30px;object-fit:contain;margin-right:10px;margin-left:4px}.sidebar-bar-panel .logo_details .icon{opacity:0;transition:all .5s ease}.sidebar-bar-panel .logo_details .logo-name{color:var(--color-white);font-size:18px;font-weight:600;padding-left:0;max-width:180px;min-width:0px;opacity:0;transition:all .5s ease;z-index:0}.sidebar-bar-panel.open .logo_details .icon,.sidebar-bar-panel.open .logo_details .logo-name{opacity:1}.sidebar-bar-panel .logo_details #btn{position:absolute;top:50%;right:0;transform:translateY(-50%);font-size:23px;text-align:center;cursor:pointer;transition:all .5s ease}.sidebar-bar-panel.open .logo_details #btn{text-align:right;left:84.5%}.sidebar-bar-panel .i{color:var(--color-white);height:30px;line-height:60px;min-width:50px;font-size:25px;text-align:center;font-weight:400}.sidebar-bar-panel .i2{color:var(--color-white);height:20px;line-height:60px;min-width:50px;font-size:25px;text-align:center;font-weight:300}.sidebar-bar-panel .nav-list-panel{margin-top:20px;height:100%;padding:0}.sidebar-bar-panel li{position:relative;margin:20px 0;list-style:none}.sidebar-bar-panel li .tooltip{position:absolute;top:-20px;left:calc(100% + 15px);z-index:9000!important;background-color:var(--color-white);box-shadow:0 5px 10px #0000004d;padding:6px 14px;font-size:15px;font-weight:500;border-radius:5px;white-space:nowrap;opacity:0;pointer-events:none}.sidebar-bar-panel li:hover .tooltip{opacity:1;pointer-events:auto;transition:all .4s ease;top:50%;transform:translateY(-50%)}.sidebar-bar-panel.open li .tooltip{display:none}.sidebar-bar-panel li a{display:flex;height:100%;width:100%;align-items:center;text-decoration:none;background-color:var(--color-default);position:relative;transition:all .5s ease;z-index:12}.sidebar-bar-panel li a:after{content:"";position:absolute;width:100%;height:35px;transform:scaleX(0);background-color:var(--color-white);border-radius:5px;transition:transform .3s ease-in-out;transform-origin:left;z-index:-2}.sidebar-bar-panel li a:hover:after{transform:scaleX(1);color:var(--color-default);height:35px}.sidebar-bar-panel li a .link_name{color:var(--color-white);font-size:15px;font-weight:500;white-space:nowrap;pointer-events:auto;transition:all .4s ease;pointer-events:none;opacity:0}.sidebar-bar-panel li a:hover .link_name,.sidebar-bar-panel li a:hover .i{transition:all .5s ease;color:var(--color-default)}.sidebar-bar-panel li a:hover .bx{color:var(--color-default)}.sidebar-bar-panel.open li a .link_name{opacity:1;pointer-events:auto}.sidebar-bar-panel .profile-content{position:absolute;color:var(--color-white);bottom:0;left:0;width:100%}.sidebar-bar-panel .profile-content .profile{position:relative;padding:18px;height:75px;background:none;transition:all .5s ease}.sidebar-bar-panel .profile-content .profile a{text-decoration:none;color:var(--color-white)}.sidebar-bar-panel.open .profile-content .profile{background-color:var(--Color-complementario)}.profile-content .profile .profile-detail{display:flex;align-items:center;opacity:0;pointer-events:auto;white-space:nowrap}.sidebar-bar-panel.open .profile .profile-detail{opacity:1;pointer-events:auto}.sidebar-bar-panel.open .profile .icon{left:90%;background:none}.sidebar-bar-panel .profile .icon:hover{cursor:pointer}.profile .profile-detail .name-job{margin-left:10px}.profile .profile-detail .name{font-size:15px;font-weight:600}.profile .profile-detail .job{font-size:12px;font-weight:400}.profile .icon{position:absolute;left:50%;bottom:23%;transform:translate(-50%);min-width:40px;line-height:60px;height:38px;text-align:center;transition:all .5s ease;background:var(--Color-complementario);padding:7px;border-radius:7px}.main-section{margin-top:0;margin-left:78px;margin-right:0;transition:margin-left .5s ease;z-index:1;height:calc(100vh - 17px)}.menu-open .main-section{margin-left:280px;z-index:1}.bg-custom{background-color:#303d50;border:#ffffff}.bg-custom:hover{background-color:#2e465f}.custom-collapse{animation:slideFromRight .5s ease forwards}.custom-collapse-reverse{animation:slideToRight .5s ease forwards}@keyframes slideFromRight{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slideToRight{0%{transform:translate(0)}to{transform:translate(100%)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.dropdown-toggle:after{display:none!important}.dropdown-menu.show{margin-right:2rem;border-radius:10px;border:0;box-shadow:0 6px 12px #0000002d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.nav{background:#f8f9fa;padding-top:1rem}.nav-tabs{padding-left:1.75rem;padding-right:1.75rem;--bs-nav-tabs-link-active-color: #074470;--bs-nav-tabs-link-active-bg: #ffffff;--bs-nav-tabs-link-hover-border-color: #c3c3c3;--bs-nav-link-color: #697580;--bs-nav-link-hover-color: #344754}.nav-item{font-weight:500}.nav-link{padding:.55rem 2.5rem .66rem;--bs-nav-tabs-border-radius: 10px}.tab-content{padding:.5rem}
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
interface TabVentanaProps {
|
|
3
3
|
eventKey: string;
|
|
4
4
|
title: string;
|
|
5
|
-
children
|
|
5
|
+
children?: React.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
declare const TabVentana: React.FC<TabVentanaProps>;
|
|
8
|
-
export
|
|
8
|
+
export { TabVentana };
|
|
@@ -2,5 +2,5 @@ import { default as React } from 'react';
|
|
|
2
2
|
interface VentanaUsuarioProps {
|
|
3
3
|
children?: React.ReactElement | React.ReactElement[];
|
|
4
4
|
}
|
|
5
|
-
declare const
|
|
6
|
-
export
|
|
5
|
+
declare const VentanaTabs: React.FC<VentanaUsuarioProps>;
|
|
6
|
+
export { VentanaTabs };
|
package/dist/lib/shared.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
1
|
+
import { jsx as a, Fragment as x, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as m, useEffect as p } from "react";
|
|
3
|
+
import { u as z, a as k } from "../../useFinalizarSesion-CqFXvTMK.js";
|
|
4
4
|
import { urlBase as M, urlCertificadoLaboral as w } from "../../utils/Url.js";
|
|
5
5
|
import { G as c } from "../../iconBase-LROS5hdG.js";
|
|
6
6
|
import '../../assets/MenuLateral.css';class o extends Error {
|
|
7
7
|
}
|
|
8
8
|
o.prototype.name = "InvalidTokenError";
|
|
9
|
-
function B(
|
|
10
|
-
return decodeURIComponent(atob(
|
|
9
|
+
function B(e) {
|
|
10
|
+
return decodeURIComponent(atob(e).replace(/(.)/g, (i, l) => {
|
|
11
11
|
let n = l.charCodeAt(0).toString(16).toUpperCase();
|
|
12
12
|
return n.length < 2 && (n = "0" + n), "%" + n;
|
|
13
13
|
}));
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
let i =
|
|
15
|
+
function C(e) {
|
|
16
|
+
let i = e.replace(/-/g, "+").replace(/_/g, "/");
|
|
17
17
|
switch (i.length % 4) {
|
|
18
18
|
case 0:
|
|
19
19
|
break;
|
|
@@ -32,16 +32,16 @@ function _(a) {
|
|
|
32
32
|
return atob(i);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
function g(
|
|
36
|
-
if (typeof
|
|
35
|
+
function g(e, i) {
|
|
36
|
+
if (typeof e != "string")
|
|
37
37
|
throw new o("Invalid token specified: must be a string");
|
|
38
38
|
i || (i = {});
|
|
39
|
-
const l = i.header === !0 ? 0 : 1, n =
|
|
39
|
+
const l = i.header === !0 ? 0 : 1, n = e.split(".")[l];
|
|
40
40
|
if (typeof n != "string")
|
|
41
41
|
throw new o(`Invalid token specified: missing part #${l + 1}`);
|
|
42
42
|
let r;
|
|
43
43
|
try {
|
|
44
|
-
r =
|
|
44
|
+
r = C(n);
|
|
45
45
|
} catch (s) {
|
|
46
46
|
throw new o(`Invalid token specified: invalid base64 for part #${l + 1} (${s.message})`);
|
|
47
47
|
}
|
|
@@ -51,196 +51,196 @@ function g(a, i) {
|
|
|
51
51
|
throw new o(`Invalid token specified: invalid json for part #${l + 1} (${s.message})`);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M2 12h2a7.986 7.986 0 0 1 2.337-5.663 7.91 7.91 0 0 1 2.542-1.71 8.12 8.12 0 0 1 6.13-.041A2.488 2.488 0 0 0 17.5 7C18.886 7 20 5.886 20 4.5S18.886 2 17.5 2c-.689 0-1.312.276-1.763.725-2.431-.973-5.223-.958-7.635.059a9.928 9.928 0 0 0-3.18 2.139 9.92 9.92 0 0 0-2.14 3.179A10.005 10.005 0 0 0 2 12zm17.373 3.122c-.401.952-.977 1.808-1.71 2.541s-1.589 1.309-2.542 1.71a8.12 8.12 0 0 1-6.13.041A2.488 2.488 0 0 0 6.5 17C5.114 17 4 18.114 4 19.5S5.114 22 6.5 22c.689 0 1.312-.276 1.763-.725A9.965 9.965 0 0 0 12 22a9.983 9.983 0 0 0 9.217-6.102A9.992 9.992 0 0 0 22 12h-2a7.993 7.993 0 0 1-.627 3.122z" }, child: [] }, { tag: "path", attr: { d: "M12 7.462c-2.502 0-4.538 2.036-4.538 4.538S9.498 16.538 12 16.538s4.538-2.036 4.538-4.538S14.502 7.462 12 7.462zm0 7.076c-1.399 0-2.538-1.139-2.538-2.538S10.601 9.462 12 9.462s2.538 1.139 2.538 2.538-1.139 2.538-2.538 2.538z" }, child: [] }] })(
|
|
54
|
+
function H(e) {
|
|
55
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M2 12h2a7.986 7.986 0 0 1 2.337-5.663 7.91 7.91 0 0 1 2.542-1.71 8.12 8.12 0 0 1 6.13-.041A2.488 2.488 0 0 0 17.5 7C18.886 7 20 5.886 20 4.5S18.886 2 17.5 2c-.689 0-1.312.276-1.763.725-2.431-.973-5.223-.958-7.635.059a9.928 9.928 0 0 0-3.18 2.139 9.92 9.92 0 0 0-2.14 3.179A10.005 10.005 0 0 0 2 12zm17.373 3.122c-.401.952-.977 1.808-1.71 2.541s-1.589 1.309-2.542 1.71a8.12 8.12 0 0 1-6.13.041A2.488 2.488 0 0 0 6.5 17C5.114 17 4 18.114 4 19.5S5.114 22 6.5 22c.689 0 1.312-.276 1.763-.725A9.965 9.965 0 0 0 12 22a9.983 9.983 0 0 0 9.217-6.102A9.992 9.992 0 0 0 22 12h-2a7.993 7.993 0 0 1-.627 3.122z" }, child: [] }, { tag: "path", attr: { d: "M12 7.462c-2.502 0-4.538 2.036-4.538 4.538S9.498 16.538 12 16.538s4.538-2.036 4.538-4.538S14.502 7.462 12 7.462zm0 7.076c-1.399 0-2.538-1.139-2.538-2.538S10.601 9.462 12 9.462s2.538 1.139 2.538 2.538-1.139 2.538-2.538 2.538z" }, child: [] }] })(e);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M19 2H6c-1.206 0-3 .799-3 3v14c0 2.201 1.794 3 3 3h15v-2H6.012C5.55 19.988 5 19.806 5 19s.55-.988 1.012-1H21V4c0-1.103-.897-2-2-2zm0 14H5V5c0-.806.55-.988 1-1h13v12z" }, child: [] }] })(
|
|
57
|
+
function _(e) {
|
|
58
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M19 2H6c-1.206 0-3 .799-3 3v14c0 2.201 1.794 3 3 3h15v-2H6.012C5.55 19.988 5 19.806 5 19s.55-.988 1.012-1H21V4c0-1.103-.897-2-2-2zm0 14H5V5c0-.806.55-.988 1-1h13v12z" }, child: [] }] })(e);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M20 4H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm0 2v.511l-8 6.223-8-6.222V6h16zM4 18V9.044l7.386 5.745a.994.994 0 0 0 1.228 0L20 9.044 20.002 18H4z" }, child: [] }] })(
|
|
60
|
+
function S(e) {
|
|
61
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M20 4H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm0 2v.511l-8 6.223-8-6.222V6h16zM4 18V9.044l7.386 5.745a.994.994 0 0 0 1.228 0L20 9.044 20.002 18H4z" }, child: [] }] })(e);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.953 2C6.465 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.493 2 11.953 2zM12 20c-4.411 0-8-3.589-8-8s3.567-8 7.953-8C16.391 4 20 7.589 20 12s-3.589 8-8 8z" }, child: [] }, { tag: "path", attr: { d: "M11 7h2v7h-2zm0 8h2v2h-2z" }, child: [] }] })(
|
|
63
|
+
function A(e) {
|
|
64
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.953 2C6.465 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.493 2 11.953 2zM12 20c-4.411 0-8-3.589-8-8s3.567-8 7.953-8C16.391 4 20 7.589 20 12s-3.589 8-8 8z" }, child: [] }, { tag: "path", attr: { d: "M11 7h2v7h-2zm0 8h2v2h-2z" }, child: [] }] })(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M19.903 8.586a.997.997 0 0 0-.196-.293l-6-6a.997.997 0 0 0-.293-.196c-.03-.014-.062-.022-.094-.033a.991.991 0 0 0-.259-.051C13.04 2.011 13.021 2 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-.021-.011-.04-.013-.062a.952.952 0 0 0-.051-.259c-.01-.032-.019-.063-.033-.093zM16.586 8H14V5.414L16.586 8zM6 20V4h6v5a1 1 0 0 0 1 1h5l.002 10H6z" }, child: [] }, { tag: "path", attr: { d: "M8 12h8v2H8zm0 4h8v2H8zm0-8h2v2H8z" }, child: [] }] })(
|
|
66
|
+
function I(e) {
|
|
67
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M19.903 8.586a.997.997 0 0 0-.196-.293l-6-6a.997.997 0 0 0-.293-.196c-.03-.014-.062-.022-.094-.033a.991.991 0 0 0-.259-.051C13.04 2.011 13.021 2 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-.021-.011-.04-.013-.062a.952.952 0 0 0-.051-.259c-.01-.032-.019-.063-.033-.093zM16.586 8H14V5.414L16.586 8zM6 20V4h6v5a1 1 0 0 0 1 1h5l.002 10H6z" }, child: [] }, { tag: "path", attr: { d: "M8 12h8v2H8zm0 4h8v2H8zm0-8h2v2H8z" }, child: [] }] })(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M3 13h1v7c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-7h1a1 1 0 0 0 .707-1.707l-9-9a.999.999 0 0 0-1.414 0l-9 9A1 1 0 0 0 3 13zm7 7v-5h4v5h-4zm2-15.586 6 6V15l.001 5H16v-5c0-1.103-.897-2-2-2h-4c-1.103 0-2 .897-2 2v5H6v-9.586l6-6z" }, child: [] }] })(
|
|
69
|
+
function V(e) {
|
|
70
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M3 13h1v7c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-7h1a1 1 0 0 0 .707-1.707l-9-9a.999.999 0 0 0-1.414 0l-9 9A1 1 0 0 0 3 13zm7 7v-5h4v5h-4zm2-15.586 6 6V15l.001 5H16v-5c0-1.103-.897-2-2-2h-4c-1.103 0-2 .897-2 2v5H6v-9.586l6-6z" }, child: [] }] })(e);
|
|
71
71
|
}
|
|
72
|
-
function L(
|
|
73
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4.222 19.778a4.983 4.983 0 0 0 3.535 1.462 4.986 4.986 0 0 0 3.536-1.462l2.828-2.829-1.414-1.414-2.828 2.829a3.007 3.007 0 0 1-4.243 0 3.005 3.005 0 0 1 0-4.243l2.829-2.828-1.414-1.414-2.829 2.828a5.006 5.006 0 0 0 0 7.071zm15.556-8.485a5.008 5.008 0 0 0 0-7.071 5.006 5.006 0 0 0-7.071 0L9.879 7.051l1.414 1.414 2.828-2.829a3.007 3.007 0 0 1 4.243 0 3.005 3.005 0 0 1 0 4.243l-2.829 2.828 1.414 1.414 2.829-2.828z" }, child: [] }, { tag: "path", attr: { d: "m8.464 16.95-1.415-1.414 8.487-8.486 1.414 1.415z" }, child: [] }] })(
|
|
72
|
+
function L(e) {
|
|
73
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4.222 19.778a4.983 4.983 0 0 0 3.535 1.462 4.986 4.986 0 0 0 3.536-1.462l2.828-2.829-1.414-1.414-2.828 2.829a3.007 3.007 0 0 1-4.243 0 3.005 3.005 0 0 1 0-4.243l2.829-2.828-1.414-1.414-2.829 2.828a5.006 5.006 0 0 0 0 7.071zm15.556-8.485a5.008 5.008 0 0 0 0-7.071 5.006 5.006 0 0 0-7.071 0L9.879 7.051l1.414 1.414 2.828-2.829a3.007 3.007 0 0 1 4.243 0 3.005 3.005 0 0 1 0 4.243l-2.829 2.828 1.414 1.414 2.829-2.828z" }, child: [] }, { tag: "path", attr: { d: "m8.464 16.95-1.415-1.414 8.487-8.486 1.414 1.415z" }, child: [] }] })(e);
|
|
74
74
|
}
|
|
75
|
-
function y(
|
|
76
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M16 13v-2H7V8l-5 4 5 4v-3z" }, child: [] }, { tag: "path", attr: { d: "M20 3h-9c-1.103 0-2 .897-2 2v4h2V5h9v14h-9v-4H9v4c0 1.103.897 2 2 2h9c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2z" }, child: [] }] })(
|
|
75
|
+
function y(e) {
|
|
76
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M16 13v-2H7V8l-5 4 5 4v-3z" }, child: [] }, { tag: "path", attr: { d: "M20 3h-9c-1.103 0-2 .897-2 2v4h2V5h9v14h-9v-4H9v4c0 1.103.897 2 2 2h9c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2z" }, child: [] }] })(e);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "m12 17 1-2V9.858c1.721-.447 3-2 3-3.858 0-2.206-1.794-4-4-4S8 3.794 8 6c0 1.858 1.279 3.411 3 3.858V15l1 2zM10 6c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2-2-.897-2-2z" }, child: [] }, { tag: "path", attr: { d: "m16.267 10.563-.533 1.928C18.325 13.207 20 14.584 20 16c0 1.892-3.285 4-8 4s-8-2.108-8-4c0-1.416 1.675-2.793 4.267-3.51l-.533-1.928C4.197 11.54 2 13.623 2 16c0 3.364 4.393 6 10 6s10-2.636 10-6c0-2.377-2.197-4.46-5.733-5.437z" }, child: [] }] })(
|
|
78
|
+
function T(e) {
|
|
79
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "m12 17 1-2V9.858c1.721-.447 3-2 3-3.858 0-2.206-1.794-4-4-4S8 3.794 8 6c0 1.858 1.279 3.411 3 3.858V15l1 2zM10 6c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2-2-.897-2-2z" }, child: [] }, { tag: "path", attr: { d: "m16.267 10.563-.533 1.928C18.325 13.207 20 14.584 20 16c0 1.892-3.285 4-8 4s-8-2.108-8-4c0-1.416 1.675-2.793 4.267-3.51l-.533-1.928C4.197 11.54 2 13.623 2 16c0 3.364 4.393 6 10 6s10-2.636 10-6c0-2.377-2.197-4.46-5.733-5.437z" }, child: [] }] })(e);
|
|
80
80
|
}
|
|
81
|
-
function P(
|
|
82
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4 6h16v2H4zm4 5h12v2H8zm5 5h7v2h-7z" }, child: [] }] })(
|
|
81
|
+
function P(e) {
|
|
82
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4 6h16v2H4zm4 5h12v2H8zm5 5h7v2h-7z" }, child: [] }] })(e);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" }, child: [] }] })(
|
|
84
|
+
function E(e) {
|
|
85
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z" }, child: [] }] })(e);
|
|
86
86
|
}
|
|
87
|
-
function U(
|
|
88
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.63 21.91A.9.9 0 0 0 12 22a1 1 0 0 0 .41-.09C22 17.67 21 7 21 6.9a1 1 0 0 0-.55-.79l-8-4a1 1 0 0 0-.9 0l-8 4A1 1 0 0 0 3 6.9c0 .1-.92 10.77 8.63 15.01zM5 7.63l7-3.51 7 3.51c.05 2-.27 9-7 12.27C5.26 16.63 4.94 9.64 5 7.63z" }, child: [] }, { tag: "path", attr: { d: "M11.06 16h2v-3h3.01v-2h-3.01V8h-2v3h-3v2h3v3z" }, child: [] }] })(
|
|
87
|
+
function U(e) {
|
|
88
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M11.63 21.91A.9.9 0 0 0 12 22a1 1 0 0 0 .41-.09C22 17.67 21 7 21 6.9a1 1 0 0 0-.55-.79l-8-4a1 1 0 0 0-.9 0l-8 4A1 1 0 0 0 3 6.9c0 .1-.92 10.77 8.63 15.01zM5 7.63l7-3.51 7 3.51c.05 2-.27 9-7 12.27C5.26 16.63 4.94 9.64 5 7.63z" }, child: [] }, { tag: "path", attr: { d: "M11.06 16h2v-3h3.01v-2h-3.01V8h-2v3h-3v2h3v3z" }, child: [] }] })(e);
|
|
89
89
|
}
|
|
90
|
-
function $(
|
|
91
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M3.414 13.778 2 15.192l4.949 2.121 2.122 4.95 1.414-1.414-.707-3.536L13.091 14l3.61 7.704 1.339-1.339-1.19-10.123 2.828-2.829a2 2 0 1 0-2.828-2.828l-2.903 2.903L3.824 6.297 2.559 7.563l7.644 3.67-3.253 3.253-3.536-.708z" }, child: [] }] })(
|
|
90
|
+
function $(e) {
|
|
91
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M3.414 13.778 2 15.192l4.949 2.121 2.122 4.95 1.414-1.414-.707-3.536L13.091 14l3.61 7.704 1.339-1.339-1.19-10.123 2.828-2.829a2 2 0 1 0-2.828-2.828l-2.903 2.903L3.824 6.297 2.559 7.563l7.644 3.67-3.253 3.253-3.536-.708z" }, child: [] }] })(e);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M15.661 15.549a1.315 1.315 0 0 0 1.185-1.386 1.363 1.363 0 0 0-1.35-1.302h-.048a1.352 1.352 0 0 0-1.303 1.397c.024.379.179.687.391.911-.827 1.609-2.07 2.794-3.954 3.788-1.266.663-2.604.912-3.905.734-1.089-.153-1.94-.64-2.463-1.421-.78-1.185-.852-2.462-.201-3.74a5.597 5.597 0 0 1 1.658-1.931 7.88 7.88 0 0 1-.331-1.218c-3.506 2.51-3.148 5.942-2.084 7.564.794 1.184 2.415 1.941 4.19 1.941.474 0 .972-.035 1.457-.154 3.077-.592 5.409-2.438 6.747-5.16l.011-.023z" }, child: [] }, { tag: "path", attr: { d: "M19.887 12.589c-1.834-2.154-4.533-3.337-7.611-3.337h-.403c-.2-.438-.661-.711-1.183-.711h-.036c-.744 0-1.325.64-1.301 1.385.023.71.627 1.302 1.35 1.302h.059a1.332 1.332 0 0 0 1.183-.828h.439c1.824 0 3.551.532 5.126 1.574 1.206.792 2.072 1.834 2.557 3.077.425 1.019.402 2.013-.035 2.843-.675 1.302-1.812 1.988-3.314 1.988-.947 0-1.871-.296-2.345-.509-.283.235-.758.626-1.102.863 1.042.473 2.096.746 3.113.746 2.309 0 4.023-1.302 4.676-2.557.709-1.422.651-3.813-1.161-5.859l-.012.023z" }, child: [] }, { tag: "path", attr: { d: "M7.647 15.975c.023.71.626 1.302 1.35 1.302h.048a1.334 1.334 0 0 0 1.302-1.397c0-.71-.616-1.301-1.338-1.301h-.048c-.048 0-.118 0-.178.022-.982-1.657-1.397-3.434-1.242-5.349.094-1.445.567-2.7 1.42-3.742.71-.888 2.048-1.326 2.96-1.35 2.556-.048 3.622 3.138 3.704 4.404l1.184.354C16.536 5.036 14.122 3 11.813 3 9.647 3 7.647 4.574 6.842 6.884c-1.102 3.077-.379 6.036.971 8.404-.118.154-.189.426-.166.687z" }, child: [] }] })(
|
|
93
|
+
function j(e) {
|
|
94
|
+
return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M15.661 15.549a1.315 1.315 0 0 0 1.185-1.386 1.363 1.363 0 0 0-1.35-1.302h-.048a1.352 1.352 0 0 0-1.303 1.397c.024.379.179.687.391.911-.827 1.609-2.07 2.794-3.954 3.788-1.266.663-2.604.912-3.905.734-1.089-.153-1.94-.64-2.463-1.421-.78-1.185-.852-2.462-.201-3.74a5.597 5.597 0 0 1 1.658-1.931 7.88 7.88 0 0 1-.331-1.218c-3.506 2.51-3.148 5.942-2.084 7.564.794 1.184 2.415 1.941 4.19 1.941.474 0 .972-.035 1.457-.154 3.077-.592 5.409-2.438 6.747-5.16l.011-.023z" }, child: [] }, { tag: "path", attr: { d: "M19.887 12.589c-1.834-2.154-4.533-3.337-7.611-3.337h-.403c-.2-.438-.661-.711-1.183-.711h-.036c-.744 0-1.325.64-1.301 1.385.023.71.627 1.302 1.35 1.302h.059a1.332 1.332 0 0 0 1.183-.828h.439c1.824 0 3.551.532 5.126 1.574 1.206.792 2.072 1.834 2.557 3.077.425 1.019.402 2.013-.035 2.843-.675 1.302-1.812 1.988-3.314 1.988-.947 0-1.871-.296-2.345-.509-.283.235-.758.626-1.102.863 1.042.473 2.096.746 3.113.746 2.309 0 4.023-1.302 4.676-2.557.709-1.422.651-3.813-1.161-5.859l-.012.023z" }, child: [] }, { tag: "path", attr: { d: "M7.647 15.975c.023.71.626 1.302 1.35 1.302h.048a1.334 1.334 0 0 0 1.302-1.397c0-.71-.616-1.301-1.338-1.301h-.048c-.048 0-.118 0-.178.022-.982-1.657-1.397-3.434-1.242-5.349.094-1.445.567-2.7 1.42-3.742.71-.888 2.048-1.326 2.96-1.35 2.556-.048 3.622 3.138 3.704 4.404l1.184.354C16.536 5.036 14.122 3 11.813 3 9.647 3 7.647 4.574 6.842 6.884c-1.102 3.077-.379 6.036.971 8.404-.118.154-.189.426-.166.687z" }, child: [] }] })(e);
|
|
95
95
|
}
|
|
96
|
-
const
|
|
97
|
-
const [l, n] =
|
|
98
|
-
if (
|
|
96
|
+
const J = ({ onToggle: e, isOpen: i }) => {
|
|
97
|
+
const [l, n] = m(!0), [r, s] = m(null), v = i ? "sidebar-bar-panel open" : "sidebar-bar-panel", u = z(), { FinSesion: f } = k();
|
|
98
|
+
if (p(() => {
|
|
99
99
|
const d = localStorage.getItem("user_token");
|
|
100
100
|
if (d) {
|
|
101
101
|
const h = g(d);
|
|
102
102
|
s(h);
|
|
103
103
|
}
|
|
104
104
|
n(!1);
|
|
105
|
-
}, []),
|
|
105
|
+
}, []), p(() => {
|
|
106
106
|
const d = setTimeout(() => {
|
|
107
107
|
const h = localStorage.getItem("user_token");
|
|
108
108
|
if (h) {
|
|
109
|
-
const
|
|
110
|
-
s(
|
|
109
|
+
const b = g(h);
|
|
110
|
+
s(b);
|
|
111
111
|
}
|
|
112
112
|
}, 2e3);
|
|
113
113
|
return () => clearTimeout(d);
|
|
114
114
|
}, []), l)
|
|
115
|
-
return /* @__PURE__ */
|
|
116
|
-
const
|
|
117
|
-
|
|
115
|
+
return /* @__PURE__ */ a(x, {});
|
|
116
|
+
const N = () => {
|
|
117
|
+
u("/sistema/usuario");
|
|
118
118
|
};
|
|
119
|
-
return /* @__PURE__ */
|
|
119
|
+
return /* @__PURE__ */ a("div", { className: `container-fluid ${i ? "menu-open" : ""}`, children: /* @__PURE__ */ t("div", { className: v, children: [
|
|
120
120
|
/* @__PURE__ */ t("div", { className: "logo_details", children: [
|
|
121
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ a(
|
|
122
122
|
"img",
|
|
123
123
|
{
|
|
124
|
-
src: "/
|
|
124
|
+
src: "https://i.imgur.com/g7HnbOv.png",
|
|
125
125
|
alt: "Logo",
|
|
126
126
|
className: "icon logo-image"
|
|
127
127
|
}
|
|
128
128
|
),
|
|
129
|
-
/* @__PURE__ */
|
|
130
|
-
i ? /* @__PURE__ */
|
|
129
|
+
/* @__PURE__ */ a("div", { className: "logo-name", children: "EI - UNP" }),
|
|
130
|
+
i ? /* @__PURE__ */ a(
|
|
131
131
|
P,
|
|
132
132
|
{
|
|
133
133
|
className: "bx bx-menu i",
|
|
134
134
|
id: "btn",
|
|
135
|
-
onClick:
|
|
135
|
+
onClick: e
|
|
136
136
|
}
|
|
137
|
-
) : /* @__PURE__ */
|
|
137
|
+
) : /* @__PURE__ */ a(E, { className: "bx bx-menu i", id: "btn", onClick: e })
|
|
138
138
|
] }),
|
|
139
139
|
/* @__PURE__ */ t("ul", { className: "nav-list-panel", children: [
|
|
140
140
|
/* @__PURE__ */ t("li", { children: [
|
|
141
141
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
142
|
-
/* @__PURE__ */
|
|
143
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ a(V, { className: "bx bx-home i2" }),
|
|
143
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Inicio" })
|
|
144
144
|
] }),
|
|
145
|
-
/* @__PURE__ */
|
|
145
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Inicio" })
|
|
146
146
|
] }),
|
|
147
147
|
/* @__PURE__ */ t("li", { children: [
|
|
148
148
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ a(T, { className: "bx bx-map-pin i2" }),
|
|
150
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Mapa del proceso" })
|
|
151
151
|
] }),
|
|
152
|
-
/* @__PURE__ */
|
|
152
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Mapa del proceso" })
|
|
153
153
|
] }),
|
|
154
154
|
/* @__PURE__ */ t("li", { children: [
|
|
155
155
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
156
|
-
/* @__PURE__ */
|
|
157
|
-
/* @__PURE__ */
|
|
156
|
+
/* @__PURE__ */ a(_, { className: "bx bx-book-alt i2" }),
|
|
157
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Manuales de usuario" })
|
|
158
158
|
] }),
|
|
159
|
-
/* @__PURE__ */
|
|
159
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Manual de usuario" })
|
|
160
160
|
] }),
|
|
161
|
-
/* @__PURE__ */
|
|
161
|
+
/* @__PURE__ */ a("div", { style: { paddingLeft: "15px", paddingRight: "15px" }, children: /* @__PURE__ */ a("hr", { style: { borderTop: "1px solid white" } }) }),
|
|
162
162
|
/* @__PURE__ */ t("li", { children: [
|
|
163
163
|
/* @__PURE__ */ t("a", { href: "https://www.unp.gov.co/", target: "_blank", children: [
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ a(L, { className: "bx bx-link-alt i2" }),
|
|
165
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Portal UNP" })
|
|
166
166
|
] }),
|
|
167
|
-
/* @__PURE__ */
|
|
167
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Portal UNP" })
|
|
168
168
|
] }),
|
|
169
169
|
/* @__PURE__ */ t("li", { children: [
|
|
170
170
|
/* @__PURE__ */ t(
|
|
171
171
|
"a",
|
|
172
172
|
{
|
|
173
|
-
href: "https://login.microsoftonline.com/common/oauth2/authorize?client_id=00000002-0000-0ff1-ce00-000000000000
|
|
173
|
+
href: "https://login.microsoftonline.com/common/oauth2/authorize?client_id=00000002-0000-0ff1-ce00-000000000000",
|
|
174
174
|
target: "_blank",
|
|
175
175
|
children: [
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
/* @__PURE__ */
|
|
176
|
+
/* @__PURE__ */ a(S, { className: "bx bx-envelope i2" }),
|
|
177
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Correo institucional" })
|
|
178
178
|
]
|
|
179
179
|
}
|
|
180
180
|
),
|
|
181
|
-
/* @__PURE__ */
|
|
181
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Correo institucional" })
|
|
182
182
|
] }),
|
|
183
183
|
/* @__PURE__ */ t("li", { children: [
|
|
184
184
|
/* @__PURE__ */ t("a", { href: "http://intranet.unp.gov.co/", target: "_blank", children: [
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ a(j, { className: "bx bxl-redux i2" }),
|
|
186
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Acceso directo a Intranet" })
|
|
187
187
|
] }),
|
|
188
|
-
/* @__PURE__ */
|
|
188
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Acceso directo a Intranet" })
|
|
189
189
|
] }),
|
|
190
190
|
/* @__PURE__ */ t("li", { children: [
|
|
191
191
|
/* @__PURE__ */ t("a", { href: "https://mesadeservicios.unp.gov.co/HEAT/", target: "_blank", children: [
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ a(A, { className: "bx bx-error-circle i2" }),
|
|
193
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Mesa de servicios" })
|
|
194
194
|
] }),
|
|
195
|
-
/* @__PURE__ */
|
|
195
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Mesa de servicios" })
|
|
196
196
|
] }),
|
|
197
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ a("div", { style: { paddingLeft: "15px", paddingRight: "15px" }, children: /* @__PURE__ */ a("hr", { style: { borderTop: "1px solid white" } }) }),
|
|
198
198
|
/* @__PURE__ */ t("li", { children: [
|
|
199
199
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
200
|
-
/* @__PURE__ */
|
|
201
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ a(U, { className: "bx i2" }),
|
|
201
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Medida de emergencia" })
|
|
202
202
|
] }),
|
|
203
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Medida de emergencia" })
|
|
204
204
|
] }),
|
|
205
205
|
/* @__PURE__ */ t("li", { children: [
|
|
206
206
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
-
/* @__PURE__ */
|
|
207
|
+
/* @__PURE__ */ a(H, { className: "bx i2" }),
|
|
208
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Acta de reunión" })
|
|
209
209
|
] }),
|
|
210
|
-
/* @__PURE__ */
|
|
210
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Acta de reunión" })
|
|
211
211
|
] }),
|
|
212
212
|
/* @__PURE__ */ t("li", { children: [
|
|
213
213
|
/* @__PURE__ */ t("a", { href: "", children: [
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
214
|
+
/* @__PURE__ */ a($, { className: "bx i2" }),
|
|
215
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Solicitud de viáticos" })
|
|
216
216
|
] }),
|
|
217
|
-
/* @__PURE__ */
|
|
217
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Solicitud de viáticos" })
|
|
218
218
|
] }),
|
|
219
219
|
/* @__PURE__ */ t("li", { children: [
|
|
220
|
-
/* @__PURE__ */ t("a", { href: `${M}${w}`, children: [
|
|
221
|
-
/* @__PURE__ */
|
|
222
|
-
/* @__PURE__ */
|
|
220
|
+
/* @__PURE__ */ t("a", { href: `${M}${w}`, target: "_blank", children: [
|
|
221
|
+
/* @__PURE__ */ a(I, { className: "bx i2" }),
|
|
222
|
+
/* @__PURE__ */ a("span", { className: "link_name", children: "Certificados laborales (OPS)" })
|
|
223
223
|
] }),
|
|
224
|
-
/* @__PURE__ */
|
|
224
|
+
/* @__PURE__ */ a("span", { className: "tooltip", children: "Certificados laborales (OPS)" })
|
|
225
225
|
] })
|
|
226
226
|
] }),
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
227
|
+
/* @__PURE__ */ a("div", { className: "profile-content", children: /* @__PURE__ */ t("div", { className: "profile", children: [
|
|
228
|
+
/* @__PURE__ */ a(
|
|
229
229
|
"div",
|
|
230
230
|
{
|
|
231
231
|
className: "profile-detail",
|
|
232
|
-
onClick:
|
|
232
|
+
onClick: N,
|
|
233
233
|
style: { cursor: "pointer" },
|
|
234
234
|
children: r && /* @__PURE__ */ t("div", { className: "name-job", style: { marginTop: "3px" }, children: [
|
|
235
|
-
/* @__PURE__ */
|
|
236
|
-
/* @__PURE__ */
|
|
235
|
+
/* @__PURE__ */ a("div", { className: "name", children: r.access_nuser }),
|
|
236
|
+
/* @__PURE__ */ a("div", { className: "job", children: r.acces_linker })
|
|
237
237
|
] })
|
|
238
238
|
}
|
|
239
239
|
),
|
|
240
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ a(y, { className: "icon", onClick: f })
|
|
241
241
|
] }) })
|
|
242
242
|
] }) });
|
|
243
243
|
};
|
|
244
244
|
export {
|
|
245
|
-
|
|
245
|
+
J as MenuLateral
|
|
246
246
|
};
|