@cm-sigoo-temp/ui 1.0.1 → 1.0.2

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.
@@ -851,7 +851,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
851
851
  const b = N + T.state, m = JSON.stringify({
852
852
  ...T,
853
853
  // Set the expiry time to 1 hour from now.
854
- expires: Date.now() + 60 * 60 * 1e3
854
+ expires: Date.now() + 3600 * 1e3
855
855
  });
856
856
  try {
857
857
  localStorage.setItem(b, m);
@@ -1030,7 +1030,7 @@ var nr = {};
1030
1030
  */
1031
1031
  var Ct;
1032
1032
  function Fo() {
1033
- return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && function() {
1033
+ return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
1034
1034
  function e(c) {
1035
1035
  if (c == null) return null;
1036
1036
  if (typeof c == "function")
@@ -1257,7 +1257,7 @@ React keys must be passed directly to JSX without using spread:
1257
1257
  v ? N(n(c)) : ue
1258
1258
  );
1259
1259
  };
1260
- }()), nr;
1260
+ })()), nr;
1261
1261
  }
1262
1262
  var kt;
1263
1263
  function zo() {
@@ -2504,7 +2504,7 @@ var Y = {};
2504
2504
  */
2505
2505
  var Pt;
2506
2506
  function ya() {
2507
- return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
2507
+ return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && (function() {
2508
2508
  var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, k = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
2509
2509
  function B(I) {
2510
2510
  return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -2583,7 +2583,7 @@ function ya() {
2583
2583
  return $(I) === E;
2584
2584
  }
2585
2585
  Y.AsyncMode = _, Y.ConcurrentMode = L, Y.ContextConsumer = W, Y.ContextProvider = F, Y.Element = X, Y.ForwardRef = se, Y.Fragment = H, Y.Lazy = l, Y.Memo = M, Y.Portal = O, Y.Profiler = N, Y.StrictMode = D, Y.Suspense = J, Y.isAsyncMode = ue, Y.isConcurrentMode = i, Y.isContextConsumer = c, Y.isContextProvider = y, Y.isElement = A, Y.isForwardRef = v, Y.isFragment = T, Y.isLazy = b, Y.isMemo = m, Y.isPortal = R, Y.isProfiler = j, Y.isStrictMode = P, Y.isSuspense = z, Y.isValidElementType = B, Y.typeOf = $;
2586
- }()), Y;
2586
+ })()), Y;
2587
2587
  }
2588
2588
  var jt;
2589
2589
  function Tn() {
@@ -3193,7 +3193,7 @@ var re = {};
3193
3193
  */
3194
3194
  var Ft;
3195
3195
  function ka() {
3196
- return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
3196
+ return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && (function() {
3197
3197
  function e(p) {
3198
3198
  if (typeof p == "object" && p !== null) {
3199
3199
  var k = p.$$typeof;
@@ -3253,7 +3253,7 @@ function ka() {
3253
3253
  }, re.isValidElementType = function(p) {
3254
3254
  return typeof p == "string" || typeof p == "function" || p === n || p === a || p === o || p === g || p === x || typeof p == "object" && p !== null && (p.$$typeof === w || p.$$typeof === E || p.$$typeof === u || p.$$typeof === s || p.$$typeof === f || p.$$typeof === C || p.getModuleId !== void 0);
3255
3255
  }, re.typeOf = e;
3256
- }()), re;
3256
+ })()), re;
3257
3257
  }
3258
3258
  var zt;
3259
3259
  function Ta() {
@@ -6268,14 +6268,14 @@ function oc(e) {
6268
6268
  };
6269
6269
  }
6270
6270
  const dn = We.setState.bind(We);
6271
- We.setState = (e, r) => {
6271
+ We.setState = ((e, r) => {
6272
6272
  dn(
6273
6273
  e,
6274
6274
  r
6275
6275
  );
6276
6276
  const t = We.getState(), n = oc(t);
6277
6277
  n && dn(n);
6278
- };
6278
+ });
6279
6279
  const De = We, Re = We, ac = ({
6280
6280
  onCerrarSesion: e,
6281
6281
  acciones: r
@@ -6732,11 +6732,11 @@ function hc({
6732
6732
  permisos: W
6733
6733
  });
6734
6734
  const F = await Ro();
6735
- if (F.isError || !F.data.length)
6735
+ if (F.isError || !F.data.terminales.length)
6736
6736
  throw new Error("No se han encontrado terminales");
6737
6737
  const X = typeof (k == null ? void 0 : k.terminal) == "number" ? k.terminal : void 0, se = mc(
6738
6738
  L.response[0].terminales ?? [],
6739
- F.data,
6739
+ F.data.terminales,
6740
6740
  X
6741
6741
  );
6742
6742
  if (!se.length)