fge-auth-component 4.0.21 → 4.0.22

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.
@@ -2790,7 +2790,7 @@ const d5 = async (t) => ye.post("v1/auth/login", t).then((e) => e).catch((e) =>
2790
2790
  var Ne, W, $, Be, G, fe;
2791
2791
  let X = x;
2792
2792
  const K = Xl(`${x.usuario}:${l.value}`);
2793
- if (console.log("🚀 ~ onLogin ~ dispositivoValue:", K), a.value) {
2793
+ if (a.value) {
2794
2794
  const { usuario: Ie, ...ne } = X;
2795
2795
  X = {
2796
2796
  numeroDocumento: Ie,
@@ -2845,7 +2845,6 @@ const d5 = async (t) => ye.post("v1/auth/login", t).then((e) => e).catch((e) =>
2845
2845
  });
2846
2846
  }, D = async (x) => {
2847
2847
  var Ne, W, $;
2848
- console.log("🚀 ~ on2AuthLoginNv ~ values:", x);
2849
2848
  const X = await y5({
2850
2849
  ...x
2851
2850
  }), K = (Ne = X.response) == null ? void 0 : Ne.accessToken;
@@ -3034,7 +3033,6 @@ const d5 = async (t) => ye.post("v1/auth/login", t).then((e) => e).catch((e) =>
3034
3033
  on2AuthLogin: b,
3035
3034
  on2AuthLoginNv: D,
3036
3035
  onLoginCiudadania: async (x) => {
3037
- console.log("🚀 ~ onLoginCiudadania ~ values:", x);
3038
3036
  try {
3039
3037
  if (r.value = x.binnacleId, a.value) {
3040
3038
  const X = x.accessToken;
@@ -22319,7 +22317,9 @@ function xC(t) {
22319
22317
  ], y = M(0), m = L(() => g[y.value]), { handleSubmit: E, values: v, errors: p, setErrors: w, resetForm: b } = As({
22320
22318
  validationSchema: m,
22321
22319
  keepValuesOnUnmount: !0
22322
- }), { value: D } = _i("usuarioId"), { value: O } = _i("esDispositivoConfianza"), V = E(async (R) => {
22320
+ }), { value: D } = _i("usuarioId"), { value: O } = _i("esDispositivoConfianza", void 0, {
22321
+ initialValue: !1
22322
+ }), V = E(async (R) => {
22323
22323
  var x, X, K, de, Ne, W, $, Be;
22324
22324
  n.setLoading(!0);
22325
22325
  try {
@@ -22401,7 +22401,6 @@ function xC(t) {
22401
22401
  n.setLoading(!1);
22402
22402
  }
22403
22403
  }, z = E(async (R) => {
22404
- console.log("🚀 ~ useLoginForm ~ values:", R);
22405
22404
  try {
22406
22405
  n.setLoading(!0), e.apiBaseURLAuthNv ? (await e.on2AuthLoginNv({
22407
22406
  otp: Number(R.code),
@@ -22453,7 +22452,7 @@ function xC(t) {
22453
22452
  n.setLoading(!0);
22454
22453
  try {
22455
22454
  const R = await o();
22456
- console.log("🚀 ~ loginCiudadania ~ resp:", R), R && (await e.onLoginCiudadania(R.data), t("onLogin"));
22455
+ R && (await e.onLoginCiudadania(R.data), t("onLogin"));
22457
22456
  } catch (R) {
22458
22457
  te.error(
22459
22458
  `<p class="toast-title">Error</p><p class="toast-description">${(R == null ? void 0 : R.message) || "Ha ocurrido un error al intentar logearse con CD"}</p>`,