ng-easycommerce 0.0.476 → 0.0.477

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/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ # version 0.0.477
2
+ - Se agrega una variable en el componente LoginFormEc para poder cambiar la url de redireccion post login exitoso.
1
3
  # version 0.0.476
2
4
  - Se corrige la url de la libreria del método de pago decidir, en donde se reemplaza la letra **d** por la letra **g** en la palabra `ord_id` que pasa a ser `org_id`.
3
5
  # version 0.0.475
@@ -11698,6 +11698,7 @@
11698
11698
  _this.router = router;
11699
11699
  _this.darkMode = false;
11700
11700
  _this.redirect = true;
11701
+ _this.redirectTo = '/';
11701
11702
  _this.complete = true;
11702
11703
  _this.title = 'login';
11703
11704
  /* @Input() withRoles: UserRoleType[] = [UserRoleType.SELLER, UserRoleType.RETAILER, UserRoleType.WHOLESALER] */
@@ -11738,7 +11739,7 @@
11738
11739
  var resolverFunction = _this.authService.getHomeResolver();
11739
11740
  resolverFunction
11740
11741
  ? resolverFunction()
11741
- : _this.router.navigateByUrl('/');
11742
+ : _this.router.navigateByUrl(_this.redirectTo);
11742
11743
  };
11743
11744
  _this.ecOnConstruct();
11744
11745
  return _this;
@@ -11764,6 +11765,9 @@
11764
11765
  __decorate$1m([
11765
11766
  core.Input()
11766
11767
  ], LoginFormEcComponent.prototype, "redirect", void 0);
11768
+ __decorate$1m([
11769
+ core.Input()
11770
+ ], LoginFormEcComponent.prototype, "redirectTo", void 0);
11767
11771
  __decorate$1m([
11768
11772
  core.Input()
11769
11773
  ], LoginFormEcComponent.prototype, "complete", void 0);