react-ecosistema-unp 0.9.14 → 0.9.16-pre-release

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.
@@ -5,7 +5,43 @@ import { jsx as v } from "react/jsx-runtime";
5
5
  import { g as he, c as q, u as te } from "./ThemeProvider-CFCmmLJC.js";
6
6
  import { u as ve } from "./useEventCallback-Bfo0-hwZ.js";
7
7
  import { P as g } from "./index-Bk5C3cP1.js";
8
- var k = { exports: {} }, E = {};
8
+ function F(t, s) {
9
+ return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(c, o) {
10
+ return c.__proto__ = o, c;
11
+ }, F(t, s);
12
+ }
13
+ function Oe(t, s) {
14
+ t.prototype = Object.create(s.prototype), t.prototype.constructor = t, F(t, s);
15
+ }
16
+ function _e(t) {
17
+ var s = pe(t);
18
+ return s && s.defaultView || window;
19
+ }
20
+ function xe(t, s) {
21
+ return _e(t).getComputedStyle(t, s);
22
+ }
23
+ var Te = /([A-Z])/g;
24
+ function be(t) {
25
+ return t.replace(Te, "-$1").toLowerCase();
26
+ }
27
+ var Se = /^ms-/;
28
+ function k(t) {
29
+ return be(t).replace(Se, "-ms-");
30
+ }
31
+ var Re = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
32
+ function De(t) {
33
+ return !!(t && Re.test(t));
34
+ }
35
+ function ne(t, s) {
36
+ var c = "", o = "";
37
+ if (typeof s == "string")
38
+ return t.style.getPropertyValue(k(s)) || xe(t).getPropertyValue(k(s));
39
+ Object.keys(s).forEach(function(a) {
40
+ var r = s[a];
41
+ !r && r !== 0 ? t.style.removeProperty(k(a)) : De(a) ? o += a + "(" + r + ") " : c += k(a) + ": " + r + ";";
42
+ }), o && (c += "transform: " + o + ";"), t.style.cssText += ";" + c;
43
+ }
44
+ var I = { exports: {} }, E = {};
9
45
  /**
10
46
  * @license React
11
47
  * react-dom.production.js
@@ -16,7 +52,7 @@ var k = { exports: {} }, E = {};
16
52
  * LICENSE file in the root directory of this source tree.
17
53
  */
18
54
  var Y;
19
- function Oe() {
55
+ function Ne() {
20
56
  if (Y) return E;
21
57
  Y = 1;
22
58
  var t = _;
@@ -159,7 +195,7 @@ var h = {};
159
195
  * LICENSE file in the root directory of this source tree.
160
196
  */
161
197
  var X;
162
- function _e() {
198
+ function Ce() {
163
199
  return X || (X = 1, process.env.NODE_ENV !== "production" && function() {
164
200
  function t() {
165
201
  }
@@ -372,8 +408,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
372
408
  }()), h;
373
409
  }
374
410
  var z;
375
- function xe() {
376
- if (z) return k.exports;
411
+ function we() {
412
+ if (z) return I.exports;
377
413
  z = 1;
378
414
  function t() {
379
415
  if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
@@ -386,47 +422,10 @@ function xe() {
386
422
  }
387
423
  }
388
424
  }
389
- return process.env.NODE_ENV === "production" ? (t(), k.exports = Oe()) : k.exports = _e(), k.exports;
390
- }
391
- var Te = xe();
392
- const P = /* @__PURE__ */ he(Te);
393
- function F(t, s) {
394
- return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(c, o) {
395
- return c.__proto__ = o, c;
396
- }, F(t, s);
397
- }
398
- function be(t, s) {
399
- t.prototype = Object.create(s.prototype), t.prototype.constructor = t, F(t, s);
400
- }
401
- function Se(t) {
402
- var s = pe(t);
403
- return s && s.defaultView || window;
404
- }
405
- function Re(t, s) {
406
- return Se(t).getComputedStyle(t, s);
407
- }
408
- var De = /([A-Z])/g;
409
- function Ne(t) {
410
- return t.replace(De, "-$1").toLowerCase();
411
- }
412
- var Ce = /^ms-/;
413
- function I(t) {
414
- return Ne(t).replace(Ce, "-ms-");
415
- }
416
- var we = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
417
- function Me(t) {
418
- return !!(t && we.test(t));
419
- }
420
- function ne(t, s) {
421
- var c = "", o = "";
422
- if (typeof s == "string")
423
- return t.style.getPropertyValue(I(s)) || Re(t).getPropertyValue(I(s));
424
- Object.keys(s).forEach(function(a) {
425
- var r = s[a];
426
- !r && r !== 0 ? t.style.removeProperty(I(a)) : Me(a) ? o += a + "(" + r + ") " : c += I(a) + ": " + r + ";";
427
- }), o && (c += "transform: " + o + ";"), t.style.cssText += ";" + c;
425
+ return process.env.NODE_ENV === "production" ? (t(), I.exports = Ne()) : I.exports = Ce(), I.exports;
428
426
  }
429
- const Z = {
427
+ var Me = we();
428
+ const P = /* @__PURE__ */ he(Me), Z = {
430
429
  disabled: !1
431
430
  };
432
431
  var Pe = process.env.NODE_ENV !== "production" ? g.oneOfType([g.number, g.shape({
@@ -450,7 +449,7 @@ const re = _.createContext(null);
450
449
  var Le = function(s) {
451
450
  return s.scrollTop;
452
451
  }, L = "unmounted", S = "exited", b = "entering", R = "entered", G = "exiting", x = /* @__PURE__ */ function(t) {
453
- be(s, t);
452
+ Oe(s, t);
454
453
  function s(o, a) {
455
454
  var r;
456
455
  r = t.call(this, o, a) || this;
@@ -1,7 +1,7 @@
1
- import { useAuthId as O } from "./AuthHook.js";
2
- import { FinSesionService as C } from "../services/FinSesionService.js";
3
- import { isValidElement as S } from "react";
4
- import { a as E } from "../../chunk-IR6S3I6Y-DDsyyqUQ.js";
1
+ import { useNavigate as O } from "react-router-dom";
2
+ import { useAuthId as C } from "./AuthHook.js";
3
+ import { FinSesionService as S } from "../services/FinSesionService.js";
4
+ import { isValidElement as E } from "react";
5
5
  function L(t) {
6
6
  if (typeof document > "u") return;
7
7
  let o = document.head || document.getElementsByTagName("head")[0], a = document.createElement("style");
@@ -9,7 +9,7 @@ function L(t) {
9
9
  }
10
10
  L(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
11
11
  `);
12
- var g = (t) => typeof t == "number" && !isNaN(t), c = (t) => typeof t == "string", k = (t) => typeof t == "function", U = (t) => c(t) || g(t), X = (t) => S(t) || c(t) || k(t) || g(t), D = 1, w = () => `${D++}`, i = /* @__PURE__ */ new Map(), u = [], x = /* @__PURE__ */ new Set(), I = () => i.size > 0, R = (t, { containerId: o }) => {
12
+ var g = (t) => typeof t == "number" && !isNaN(t), c = (t) => typeof t == "string", k = (t) => typeof t == "function", U = (t) => c(t) || g(t), X = (t) => E(t) || c(t) || k(t) || g(t), D = 1, w = () => `${D++}`, i = /* @__PURE__ */ new Map(), u = [], x = /* @__PURE__ */ new Set(), I = () => i.size > 0, R = (t, { containerId: o }) => {
13
13
  var a;
14
14
  return (a = i.get(o || 1)) == null ? void 0 : a.toasts.get(t);
15
15
  };
@@ -114,7 +114,7 @@ r.onChange = B;
114
114
  r.play = (t) => z(!0, t);
115
115
  r.pause = (t) => z(!1, t);
116
116
  const Z = () => {
117
- const t = E(), { setAuthToken: o, setUserToken: a } = O();
117
+ const t = O(), { setAuthToken: o, setUserToken: a } = C();
118
118
  return { FinSesion: () => {
119
119
  r.promise(
120
120
  new Promise(async (s, e) => {
@@ -122,7 +122,7 @@ const Z = () => {
122
122
  const n = localStorage.getItem("access_token");
123
123
  if (!n)
124
124
  throw new Error("No se encontró el token de acceso.");
125
- await C(n), localStorage.removeItem("access_token"), localStorage.removeItem("user_token"), o(null), a(null), setTimeout(() => {
125
+ await S(n), localStorage.removeItem("access_token"), localStorage.removeItem("user_token"), o(null), a(null), setTimeout(() => {
126
126
  s(!0), t("/");
127
127
  }, 1e3);
128
128
  } catch (n) {
@@ -1,6 +1,3 @@
1
1
  import { default as React } from 'react';
2
- interface ProtectedRouteProps {
3
- children: React.ReactNode;
4
- }
5
- declare const ProtectedRoute: React.FC<ProtectedRouteProps>;
2
+ declare const ProtectedRoute: React.FC;
6
3
  export { ProtectedRoute };
@@ -1,6 +1,3 @@
1
1
  import { default as React } from 'react';
2
- interface UserRouteProps {
3
- children: React.ReactNode;
4
- }
5
- declare const UserRoute: React.FC<UserRouteProps>;
2
+ declare const UserRoute: React.FC;
6
3
  export { UserRoute };
@@ -1,11 +1,11 @@
1
1
  import { jsx as a, Fragment as x, jsxs as t } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as h } from "react";
3
+ import { useNavigate as z } from "react-router-dom";
3
4
  import { j as d } from "../../index-CuHybtft.js";
4
- import { useFinalizarSesion as z } from "../../auth/hooks/useFinalizarSesion.js";
5
- import { urlBase as b, urlCertificadoLaboral as M } from "../../utils/Url.js";
6
- import { l as k } from "../../logo_escudo_blanco-DaOI8SGq.js";
5
+ import { useFinalizarSesion as b } from "../../auth/hooks/useFinalizarSesion.js";
6
+ import { urlBase as M, urlCertificadoLaboral as k } from "../../utils/Url.js";
7
+ import { l as B } from "../../logo_escudo_blanco-DaOI8SGq.js";
7
8
  import { G as i } from "../../iconBase-LROS5hdG.js";
8
- import { a as B } from "../../chunk-IR6S3I6Y-DDsyyqUQ.js";
9
9
  import '../../assets/MenuLateral.css';function H(e) {
10
10
  return i({ 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);
11
11
  }
@@ -49,7 +49,7 @@ function E(e) {
49
49
  return i({ 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);
50
50
  }
51
51
  const J = ({ onToggle: e, isOpen: n }) => {
52
- const [m, p] = o(!0), [r, s] = o(null), v = n ? "sidebar-bar-panel open" : "sidebar-bar-panel", g = B(), { FinSesion: u } = z();
52
+ const [m, p] = o(!0), [r, s] = o(null), v = n ? "sidebar-bar-panel open" : "sidebar-bar-panel", g = z(), { FinSesion: u } = b();
53
53
  if (h(() => {
54
54
  const l = localStorage.getItem("user_token");
55
55
  if (l) {
@@ -76,7 +76,7 @@ const J = ({ onToggle: e, isOpen: n }) => {
76
76
  /* @__PURE__ */ a(
77
77
  "img",
78
78
  {
79
- src: k,
79
+ src: B,
80
80
  alt: "Logo",
81
81
  className: "icon logo-image"
82
82
  }
@@ -172,7 +172,7 @@ const J = ({ onToggle: e, isOpen: n }) => {
172
172
  /* @__PURE__ */ a("span", { className: "tooltip", children: "Solicitud de viáticos" })
173
173
  ] }),
174
174
  /* @__PURE__ */ t("li", { children: [
175
- /* @__PURE__ */ t("a", { href: `${b}${M}`, target: "_blank", children: [
175
+ /* @__PURE__ */ t("a", { href: `${M}${k}`, target: "_blank", children: [
176
176
  /* @__PURE__ */ a(A, { className: "bx i2" }),
177
177
  /* @__PURE__ */ a("span", { className: "link_name", children: "Certificados laborales (OPS)" })
178
178
  ] }),
@@ -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-Bk5C3cP1.js";
4
4
  import "react";
5
- import { T as i, g as b, a as p, b as T } from "../../TabPane-Q7bzCwAs.js";
5
+ import { T as i, g as b, a as p, b as T } from "../../TabPane-BvUHIFlv.js";
6
6
  const e = ({
7
7
  transition: n,
8
8
  ...o
@@ -1,22 +1,21 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import m from "react";
3
- import { IconosSistema as i } from "../iconos-sistema/IconosSistema.js";
2
+ import a from "react";
3
+ import { IconosSistema as c } from "../iconos-sistema/IconosSistema.js";
4
4
  import { BreadcrumbNav as l } from "../breadcrumb/Breadcrumb.js";
5
- import { MenuLateral as c } from "../menu-lateral/MenuLateral.js";
6
- import { B as p } from "../../chunk-IR6S3I6Y-DDsyyqUQ.js";
7
- import '../../assets/VentanaLienzo.css';const x = ({ children: r, items: a, extraInput: t }) => {
8
- const [n, s] = m.useState(!1);
9
- return /* @__PURE__ */ o(p, { children: [
10
- /* @__PURE__ */ e(i, { elements: t }),
11
- /* @__PURE__ */ e(c, { onToggle: () => {
12
- s(!n);
13
- }, isOpen: n }),
5
+ import { MenuLateral as p } from "../menu-lateral/MenuLateral.js";
6
+ import '../../assets/VentanaLienzo.css';const h = ({ children: t, items: r, extraInput: m }) => {
7
+ const [n, s] = a.useState(!1), i = () => {
8
+ s(!n);
9
+ };
10
+ return /* @__PURE__ */ o(a.Fragment, { children: [
11
+ /* @__PURE__ */ e(c, { elements: m }),
12
+ /* @__PURE__ */ e(p, { onToggle: i, isOpen: n }),
14
13
  /* @__PURE__ */ e("div", { className: `${n ? "menu-open" : ""}`, children: /* @__PURE__ */ o("div", { className: "main-section", children: [
15
- /* @__PURE__ */ e(l, { items: a }),
16
- /* @__PURE__ */ e("div", { className: "ventana-lienzo-container", children: r })
14
+ /* @__PURE__ */ e(l, { items: r }),
15
+ /* @__PURE__ */ e("div", { className: "ventana-lienzo-container", children: t })
17
16
  ] }) })
18
17
  ] });
19
18
  };
20
19
  export {
21
- x as VentanaLienzo
20
+ h as VentanaLienzo
22
21
  };
@@ -1,27 +1,26 @@
1
1
  import { jsx as r, jsxs as j } from "react/jsx-runtime";
2
2
  import * as b from "react";
3
- import T, { useRef as O, useContext as S, useEffect as M } from "react";
4
- import { MenuLateral as H } from "../menu-lateral/MenuLateral.js";
5
- import { IconosSistema as F } from "../iconos-sistema/IconosSistema.js";
3
+ import C, { useRef as O, useContext as S, useEffect as M } from "react";
4
+ import { MenuLateral as F } from "../menu-lateral/MenuLateral.js";
5
+ import { IconosSistema as H } from "../iconos-sistema/IconosSistema.js";
6
6
  import '../../assets/Bootstrap.css';/* empty css */
7
- import { a as W, u as Y, b as z, d as G, c as J, q as Q, e as B, f as D, g as X } from "../../NotificacionUsuario-xD2pyELE.js";
8
- import { u as Z, T as ee, g as te, a as ne, b as ae } from "../../TabPane-Q7bzCwAs.js";
9
- import { u as L, c as k } from "../../ThemeProvider-CFCmmLJC.js";
10
- import { S as I, T as re, m as oe } from "../../TabContext-CdjYJzMB.js";
11
- import { c as se } from "../../CardHeaderContext-DVw0yHuy.js";
12
- import { B as le } from "../../chunk-IR6S3I6Y-DDsyyqUQ.js";
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 "../../NotificacionUsuario-xD2pyELE.js";
8
+ import { u as Z, T as ee, g as te, a as ne, b as ae } from "../../TabPane-BvUHIFlv.js";
9
+ import { u as k, c as B } from "../../ThemeProvider-CFCmmLJC.js";
10
+ import { S as I, T as re, m as se } from "../../TabContext-CdjYJzMB.js";
11
+ import { c as oe } from "../../CardHeaderContext-DVw0yHuy.js";
13
12
  function P(n, e) {
14
13
  let a = 0;
15
14
  return b.Children.map(n, (t) => /* @__PURE__ */ b.isValidElement(t) ? e(t, a++) : t);
16
15
  }
17
- function ie(n, e) {
16
+ function le(n, e) {
18
17
  let a = 0;
19
18
  b.Children.forEach(n, (t) => {
20
19
  /* @__PURE__ */ b.isValidElement(t) && e(t, a++);
21
20
  });
22
21
  }
23
- const ce = ["as", "onSelect", "activeKey", "role", "onKeyDown"];
24
- function de(n, e) {
22
+ const ie = ["as", "onSelect", "activeKey", "role", "onKeyDown"];
23
+ function ce(n, e) {
25
24
  if (n == null) return {};
26
25
  var a = {};
27
26
  for (var t in n) if ({}.hasOwnProperty.call(n, t)) {
@@ -30,31 +29,31 @@ function de(n, e) {
30
29
  }
31
30
  return a;
32
31
  }
33
- const R = () => {
34
- }, A = G("event-key"), V = /* @__PURE__ */ b.forwardRef((n, e) => {
32
+ const A = () => {
33
+ }, R = G("event-key"), V = /* @__PURE__ */ b.forwardRef((n, e) => {
35
34
  let {
36
35
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
37
36
  as: a = "div",
38
37
  onSelect: t,
39
- activeKey: o,
38
+ activeKey: s,
40
39
  role: c,
41
40
  onKeyDown: u
42
- } = n, s = de(n, ce);
41
+ } = n, o = ce(n, ie);
43
42
  const N = Y(), m = O(!1), y = S(I), l = S(re);
44
43
  let v, x;
45
- l && (c = c || "tablist", o = l.activeKey, v = l.getControlledId, x = l.getControllerId);
44
+ l && (c = c || "tablist", s = l.activeKey, v = l.getControlledId, x = l.getControllerId);
46
45
  const f = O(null), p = (i) => {
47
46
  const d = f.current;
48
47
  if (!d) return null;
49
- const K = Q(d, `[${A}]:not([aria-disabled=true])`), E = d.querySelector("[aria-selected=true]");
48
+ const T = Q(d, `[${R}]:not([aria-disabled=true])`), E = d.querySelector("[aria-selected=true]");
50
49
  if (!E || E !== document.activeElement) return null;
51
- const w = K.indexOf(E);
50
+ const w = T.indexOf(E);
52
51
  if (w === -1) return null;
53
52
  let g = w + i;
54
- return g >= K.length && (g = 0), g < 0 && (g = K.length - 1), K[g];
53
+ return g >= T.length && (g = 0), g < 0 && (g = T.length - 1), T[g];
55
54
  }, h = (i, d) => {
56
55
  i != null && (t == null || t(i, d), y == null || y(i, d));
57
- }, C = (i) => {
56
+ }, K = (i) => {
58
57
  if (u == null || u(i), !l)
59
58
  return;
60
59
  let d;
@@ -74,7 +73,7 @@ const R = () => {
74
73
  };
75
74
  M(() => {
76
75
  if (f.current && m.current) {
77
- const i = f.current.querySelector(`[${A}][aria-selected=true]`);
76
+ const i = f.current.querySelector(`[${R}][aria-selected=true]`);
78
77
  i == null || i.focus();
79
78
  }
80
79
  m.current = !1;
@@ -86,12 +85,12 @@ const R = () => {
86
85
  value: {
87
86
  role: c,
88
87
  // used by NavLink to determine it's role
89
- activeKey: oe(o),
90
- getControlledId: v || R,
91
- getControllerId: x || R
88
+ activeKey: se(s),
89
+ getControlledId: v || A,
90
+ getControllerId: x || A
92
91
  },
93
- children: /* @__PURE__ */ r(a, Object.assign({}, s, {
94
- onKeyDown: C,
92
+ children: /* @__PURE__ */ r(a, Object.assign({}, o, {
93
+ onKeyDown: K,
95
94
  ref: U,
96
95
  role: c
97
96
  }))
@@ -99,16 +98,16 @@ const R = () => {
99
98
  });
100
99
  });
101
100
  V.displayName = "Nav";
102
- const ue = Object.assign(V, {
101
+ const de = Object.assign(V, {
103
102
  Item: W
104
103
  }), $ = /* @__PURE__ */ b.forwardRef(({
105
104
  className: n,
106
105
  bsPrefix: e,
107
106
  as: a = "div",
108
107
  ...t
109
- }, o) => (e = L(e, "nav-item"), /* @__PURE__ */ r(a, {
110
- ref: o,
111
- className: k(n, e),
108
+ }, s) => (e = k(e, "nav-item"), /* @__PURE__ */ r(a, {
109
+ ref: s,
110
+ className: B(n, e),
112
111
  ...t
113
112
  })));
114
113
  $.displayName = "NavItem";
@@ -116,31 +115,31 @@ const _ = /* @__PURE__ */ b.forwardRef((n, e) => {
116
115
  const {
117
116
  as: a = "div",
118
117
  bsPrefix: t,
119
- variant: o,
118
+ variant: s,
120
119
  fill: c = !1,
121
120
  justify: u = !1,
122
- navbar: s,
121
+ navbar: o,
123
122
  navbarScroll: N,
124
123
  className: m,
125
124
  activeKey: y,
126
125
  ...l
127
- } = D(n, {
126
+ } = L(n, {
128
127
  activeKey: "onSelect"
129
- }), v = L(t, "nav");
128
+ }), v = k(t, "nav");
130
129
  let x, f, p = !1;
131
- const h = S(X), C = S(se);
132
- return h ? (x = h.bsPrefix, p = s ?? !0) : C && ({
130
+ const h = S(X), K = S(oe);
131
+ return h ? (x = h.bsPrefix, p = o ?? !0) : K && ({
133
132
  cardHeaderBsPrefix: f
134
- } = C), /* @__PURE__ */ r(ue, {
133
+ } = K), /* @__PURE__ */ r(de, {
135
134
  as: a,
136
135
  ref: e,
137
136
  activeKey: y,
138
- className: k(m, {
137
+ className: B(m, {
139
138
  [v]: !p,
140
139
  [`${x}-nav`]: p,
141
140
  [`${x}-nav-scroll`]: p && N,
142
- [`${f}-${o}`]: !!f,
143
- [`${v}-${o}`]: !!o,
141
+ [`${f}-${s}`]: !!f,
142
+ [`${v}-${s}`]: !!s,
144
143
  [`${v}-fill`]: c,
145
144
  [`${v}-justified`]: u
146
145
  }),
@@ -148,35 +147,35 @@ const _ = /* @__PURE__ */ b.forwardRef((n, e) => {
148
147
  });
149
148
  });
150
149
  _.displayName = "Nav";
151
- const fe = Object.assign(_, {
150
+ const ue = Object.assign(_, {
152
151
  Item: $,
153
- Link: B
152
+ Link: D
154
153
  });
155
- function me(n) {
154
+ function fe(n) {
156
155
  let e;
157
- return ie(n, (a) => {
156
+ return le(n, (a) => {
158
157
  e == null && (e = a.props.eventKey);
159
158
  }), e;
160
159
  }
161
- function ve(n) {
160
+ function me(n) {
162
161
  const {
163
162
  title: e,
164
163
  eventKey: a,
165
164
  disabled: t,
166
- tabClassName: o,
165
+ tabClassName: s,
167
166
  tabAttrs: c,
168
167
  id: u
169
168
  } = n.props;
170
169
  return e == null ? null : /* @__PURE__ */ r($, {
171
170
  as: "li",
172
171
  role: "presentation",
173
- children: /* @__PURE__ */ r(B, {
172
+ children: /* @__PURE__ */ r(D, {
174
173
  as: "button",
175
174
  type: "button",
176
175
  eventKey: a,
177
176
  disabled: t,
178
177
  id: u,
179
- className: o,
178
+ className: s,
180
179
  ...c,
181
180
  children: e
182
181
  })
@@ -187,13 +186,13 @@ const q = (n) => {
187
186
  id: e,
188
187
  onSelect: a,
189
188
  transition: t,
190
- mountOnEnter: o = !1,
189
+ mountOnEnter: s = !1,
191
190
  unmountOnExit: c = !1,
192
191
  variant: u = "tabs",
193
- children: s,
194
- activeKey: N = me(s),
192
+ children: o,
193
+ activeKey: N = fe(o),
195
194
  ...m
196
- } = D(n, {
195
+ } = L(n, {
197
196
  activeKey: "onSelect"
198
197
  });
199
198
  return /* @__PURE__ */ j(ee, {
@@ -201,17 +200,17 @@ const q = (n) => {
201
200
  activeKey: N,
202
201
  onSelect: a,
203
202
  transition: te(t),
204
- mountOnEnter: o,
203
+ mountOnEnter: s,
205
204
  unmountOnExit: c,
206
- children: [/* @__PURE__ */ r(fe, {
205
+ children: [/* @__PURE__ */ r(ue, {
207
206
  id: e,
208
207
  ...m,
209
208
  role: "tablist",
210
209
  as: "ul",
211
210
  variant: u,
212
- children: P(s, ve)
211
+ children: P(o, me)
213
212
  }), /* @__PURE__ */ r(ne, {
214
- children: P(s, (y) => {
213
+ children: P(o, (y) => {
215
214
  const l = {
216
215
  ...y.props
217
216
  };
@@ -223,24 +222,24 @@ const q = (n) => {
223
222
  });
224
223
  };
225
224
  q.displayName = "Tabs";
226
- const Ee = ({ children: n, extraInput: e }) => {
227
- const [a, t] = T.useState(!1), [o, c] = T.useState(void 0);
228
- return /* @__PURE__ */ j(le, { children: [
229
- /* @__PURE__ */ r(F, { elements: e }),
230
- /* @__PURE__ */ r(H, { onToggle: () => {
231
- t(!a);
232
- }, isOpen: a }),
225
+ const Te = ({ children: n, extraInput: e }) => {
226
+ const [a, t] = C.useState(!1), [s, c] = C.useState(void 0), u = () => {
227
+ t(!a);
228
+ };
229
+ return /* @__PURE__ */ j(C.Fragment, { children: [
230
+ /* @__PURE__ */ r(H, { elements: e }),
231
+ /* @__PURE__ */ r(F, { onToggle: u, isOpen: a }),
233
232
  /* @__PURE__ */ r("div", { className: `${a ? "menu-open" : ""}`, children: /* @__PURE__ */ r("div", { className: "main-section", children: /* @__PURE__ */ r(
234
233
  q,
235
234
  {
236
235
  id: "controlled-tab",
237
- activeKey: o,
238
- onSelect: (s) => c(s !== null ? s : void 0),
239
- children: T.Children.map(n, (s) => T.isValidElement(s) ? s : null)
236
+ activeKey: s,
237
+ onSelect: (o) => c(o !== null ? o : void 0),
238
+ children: C.Children.map(n, (o) => C.isValidElement(o) ? o : null)
240
239
  }
241
240
  ) }) })
242
241
  ] });
243
242
  };
244
243
  export {
245
- Ee as VentanaTabs
244
+ Te as VentanaTabs
246
245
  };
@@ -6,10 +6,11 @@ import '../../../assets/IconoTooltip.css';import '../../../assets/ItemsModal.css
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import "../../../ui/logo/Logo.js";
9
+ import "react-router-dom";
9
10
  /* empty css */
10
11
  /* empty css */
11
12
  import { BusquedaInput as e } from "../buscador/Buscador.js";
12
- const z = ({
13
+ const E = ({
13
14
  title: m,
14
15
  subtitle: t,
15
16
  data: p,
@@ -23,5 +24,5 @@ const z = ({
23
24
  ] })
24
25
  ] });
25
26
  export {
26
- z as EncabezadoTabla
27
+ E as EncabezadoTabla
27
28
  };
@@ -1,13 +1,13 @@
1
1
  import { jsx as o, jsxs as t } from "react/jsx-runtime";
2
- import { h as d, i as s } from "../../index-D_9gBL0I.js";
3
- import { G as n } from "../../iconBase-LROS5hdG.js";
2
+ import { useNavigate as d } from "react-router-dom";
3
+ import { h as s, i as n } from "../../index-D_9gBL0I.js";
4
+ import { G as c } from "../../iconBase-LROS5hdG.js";
4
5
  import '../../assets/ItemsModal.css';/* empty css */
5
- import { a as c } from "../../chunk-IR6S3I6Y-DDsyyqUQ.js";
6
6
  function m(l) {
7
- return n({ tag: "svg", attr: { viewBox: "0 0 32 32" }, child: [{ tag: "path", attr: { d: "M 15 4 L 15 20.5625 L 9.71875 15.28125 L 8.28125 16.71875 L 15.28125 23.71875 L 16 24.40625 L 16.71875 23.71875 L 23.71875 16.71875 L 22.28125 15.28125 L 17 20.5625 L 17 4 Z M 7 26 L 7 28 L 25 28 L 25 26 Z" }, child: [] }] })(l);
7
+ return c({ tag: "svg", attr: { viewBox: "0 0 32 32" }, child: [{ tag: "path", attr: { d: "M 15 4 L 15 20.5625 L 9.71875 15.28125 L 8.28125 16.71875 L 15.28125 23.71875 L 16 24.40625 L 16.71875 23.71875 L 23.71875 16.71875 L 22.28125 15.28125 L 17 20.5625 L 17 4 Z M 7 26 L 7 28 L 25 28 L 25 26 Z" }, child: [] }] })(l);
8
8
  }
9
9
  const N = ({ sections: l }) => {
10
- const e = c();
10
+ const e = d();
11
11
  return /* @__PURE__ */ o("div", { className: "listado-tarjetas", children: l.map((a, r) => /* @__PURE__ */ t("div", { className: "tarjeta-listado-row", children: [
12
12
  /* @__PURE__ */ t(
13
13
  "div",
@@ -19,7 +19,7 @@ const N = ({ sections: l }) => {
19
19
  /* @__PURE__ */ o(a.icon, { className: "tarjeta-listado-process-menu" }),
20
20
  /* @__PURE__ */ o("span", { children: a.label })
21
21
  ] }),
22
- "closed" in a && /* @__PURE__ */ o("div", { className: "tarjeta-listado-state-container", children: a.closed ? /* @__PURE__ */ o(d, { style: { color: "#3AB34A" } }) : /* @__PURE__ */ o(s, { style: { color: "#E2E2E2" } }) })
22
+ "closed" in a && /* @__PURE__ */ o("div", { className: "tarjeta-listado-state-container", children: a.closed ? /* @__PURE__ */ o(s, { style: { color: "#3AB34A" } }) : /* @__PURE__ */ o(n, { style: { color: "#E2E2E2" } }) })
23
23
  ]
24
24
  }
25
25
  ),