ng-easycommerce 0.0.577 → 0.0.579

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,4 +1,6 @@
1
- # version 0.0.577
1
+ # version 0.0.579
2
+ - Mejora la apariencia del componente `password-reset-ec.component.html`
3
+ # version 0.0.577 y 0.0.578
2
4
  - Error funcion void en `cart-ec.component.ts`
3
5
  # version 0.0.576
4
6
  - Se hace merge y estable la version de decidir.
@@ -7355,12 +7355,13 @@
7355
7355
  CartEcComponent.prototype.redirectCheckout = function () {
7356
7356
  if (this.cartService.hasSufficientCreditsForCartTotal()) {
7357
7357
  this.router.navigateByUrl("/checkout");
7358
+ return true;
7358
7359
  }
7359
7360
  else {
7360
7361
  console.warn("No se puede redirigir al checkout debido a una validación fallida.");
7362
+ return false;
7361
7363
  }
7362
7364
  };
7363
- ;
7364
7365
  CartEcComponent.prototype.openModal = function (template) {
7365
7366
  this.modalRef = this.modalService.show(template, { class: 'modal-xl', keyboard: false });
7366
7367
  };
@@ -13499,7 +13500,7 @@
13499
13500
  PasswordResetEcComponent = __decorate$1q([
13500
13501
  core.Component({
13501
13502
  selector: 'app-password-reset-ec',
13502
- template: "<div class=\"container\">\r\n <div class=\"row\">\r\n <div *ngIf=\"!ready; else readyView\">\r\n <form [formGroup]=\"formGroup\" (submit)=\"sendNewPassword($event)\">\r\n <div class=\"col-12 col-md-12\">\r\n <h3>{{ 'set-new-password' | translate }}</h3>\r\n </div>\r\n <label class=\"form-label\">{{ 'set-password' | translate }}</label>\r\n <!-- <div class=\"element-container\">\r\n <input type=\"password\" formControlName=\"first\" class=\"form-control\" />\r\n </div> -->\r\n <div class=\"input-group radius-18\">\r\n <input type=\"password\" formControlName=\"first\" class=\"form-control\" id=\"contrase\u00F1a1\"/>\r\n <button class=\"btn btn-link btn-password\" type=\"button\" id=\"\" (click)=\"showPassword()\">\r\n <i id=\"show1\" class=\"fas fa-eye i-show-password\"></i>\r\n <i id=\"hide1\" class=\"fas fa-eye-slash d-none i-show-password\"></i>\r\n </button>\r\n </div>\r\n <label class=\"form-label\">{{ 'repeat-password' | translate }}</label>\r\n <div class=\"input-group radius-18\">\r\n <input type=\"password\" formControlName=\"second\" class=\"form-control\" id=\"contrase\u00F1a2\"/>\r\n <button class=\"btn btn-link btn-password\" type=\"button\" id=\"\" (click)=\"showPassword2()\">\r\n <i id=\"show2\" class=\"fas fa-eye i-show-password\"></i>\r\n <i id=\"hide2\" class=\"fas fa-eye-slash d-none i-show-password\"></i>\r\n </button>\r\n </div>\r\n <div class=\"element-container mt-5\">\r\n <button type=\"submit\" class=\"btn btn-primary\">{{ 'update' | translate }}</button>\r\n </div>\r\n <div *ngIf=\"loading\">\r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #readyView>\r\n <div class=\"col-12 col-md-10 col-lg-8\">\r\n <div class=\"element-container\">\r\n <h3>{{ 'updated-password' | translate }}</h3>\r\n </div>\r\n <div class=\"element-container mt-5\">\r\n <h5 class=\"center-text\">{{ 'updated-password-detail' | translate }}</h5>\r\n </div>\r\n <div class=\"element-container mt-5\">\r\n <button class=\"btn btn-primary\" (click)=\"sendToLogin()\">{{ 'login' | translate }}</button>\r\n </div>\r\n </div>\r\n</ng-template>",
13503
+ template: "<div class=\"container\">\r\n <div class=\"row justify-content-center mt-5\">\r\n <div class=\"col-12 col-md-6 col-lg-4\">\r\n <div *ngIf=\"!ready; else readyView\">\r\n <form [formGroup]=\"formGroup\" (submit)=\"sendNewPassword($event)\">\r\n <div class=\"mb-4 text-center\">\r\n <h3>{{ 'set-new-password' | translate }}</h3>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'set-password' | translate }}</label>\r\n <div class=\"input-group\">\r\n <input type=\"password\" formControlName=\"first\" class=\"form-control\" id=\"contrase\u00F1a1\" />\r\n <button class=\"btn btn-outline-secondary btn-password\" type=\"button\"\r\n (click)=\"showPassword()\">\r\n <i id=\"show1\" class=\"fas fa-eye i-show-password\"></i>\r\n <i id=\"hide1\" class=\"fas fa-eye-slash d-none i-show-password\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'repeat-password' | translate }}</label>\r\n <div class=\"input-group\">\r\n <input type=\"password\" formControlName=\"second\" class=\"form-control\" id=\"contrase\u00F1a2\" />\r\n <button class=\"btn btn-outline-secondary btn-password\" type=\"button\"\r\n (click)=\"showPassword2()\">\r\n <i id=\"show2\" class=\"fas fa-eye i-show-password\"></i>\r\n <i id=\"hide2\" class=\"fas fa-eye-slash d-none i-show-password\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"mt-4 text-center\">\r\n <button type=\"submit\" class=\"comprar w-100\">{{ 'update' | translate }}</button>\r\n </div>\r\n <div *ngIf=\"loading\" class=\"mt-3\">\r\n <app-loading-inline-ec></app-loading-inline-ec>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #readyView>\r\n <div class=\"row justify-content-center mt-5 mb-5\">\r\n <div class=\"text-center\">\r\n <div class=\"mb-4\">\r\n <h3>{{ 'updated-password' | translate }}</h3>\r\n </div>\r\n <div class=\"mb-4\">\r\n <h5>{{ 'updated-password-detail' | translate }}</h5>\r\n </div>\r\n <button class=\"comprar\" (click)=\"sendToLogin()\">{{ 'login' | translate }}</button>\r\n </div>\r\n </div>\r\n</ng-template>",
13503
13504
  styles: [""]
13504
13505
  })
13505
13506
  ], PasswordResetEcComponent);