ng-easycommerce 0.0.476 → 0.0.478

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,7 @@
1
+ # version 0.0.478
2
+ - Se agrega y configura el filtro por fecha de creación, para que se agregue en los filtros_top.
3
+ # version 0.0.477
4
+ - Se agrega una variable en el componente LoginFormEc para poder cambiar la url de redireccion post login exitoso.
1
5
  # version 0.0.476
2
6
  - 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
7
  # version 0.0.475
@@ -1369,6 +1369,17 @@
1369
1369
  { title: 'ascendancy', type: 'child', code: 'alpha asc', value: 'asc', selected: false },
1370
1370
  { title: 'descendant', type: 'child', code: 'alpha desc', value: 'desc', selected: false }
1371
1371
  ]
1372
+ },
1373
+ {
1374
+ title: 'created-date',
1375
+ type: 'sub',
1376
+ code: 'recent',
1377
+ multi: false,
1378
+ shape: 'text',
1379
+ children: [
1380
+ { title: 'newest-first', type: 'child', code: 'recent asc', value: 'asc', selected: false },
1381
+ { title: 'oldest-first', type: 'child', code: 'recent desc', value: 'desc', selected: false },
1382
+ ]
1372
1383
  }
1373
1384
  ];
1374
1385
  };
@@ -11698,6 +11709,7 @@
11698
11709
  _this.router = router;
11699
11710
  _this.darkMode = false;
11700
11711
  _this.redirect = true;
11712
+ _this.redirectTo = '/';
11701
11713
  _this.complete = true;
11702
11714
  _this.title = 'login';
11703
11715
  /* @Input() withRoles: UserRoleType[] = [UserRoleType.SELLER, UserRoleType.RETAILER, UserRoleType.WHOLESALER] */
@@ -11738,7 +11750,7 @@
11738
11750
  var resolverFunction = _this.authService.getHomeResolver();
11739
11751
  resolverFunction
11740
11752
  ? resolverFunction()
11741
- : _this.router.navigateByUrl('/');
11753
+ : _this.router.navigateByUrl(_this.redirectTo);
11742
11754
  };
11743
11755
  _this.ecOnConstruct();
11744
11756
  return _this;
@@ -11764,6 +11776,9 @@
11764
11776
  __decorate$1m([
11765
11777
  core.Input()
11766
11778
  ], LoginFormEcComponent.prototype, "redirect", void 0);
11779
+ __decorate$1m([
11780
+ core.Input()
11781
+ ], LoginFormEcComponent.prototype, "redirectTo", void 0);
11767
11782
  __decorate$1m([
11768
11783
  core.Input()
11769
11784
  ], LoginFormEcComponent.prototype, "complete", void 0);