ng-easycommerce 0.0.606 → 0.0.607

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.607
2
+ - Se modifican las funciones de lupa para que vacíe el valor al buscar.
1
3
  # version 0.0.606
2
4
  - Se agrega campo de cumpleaños para enviarlo en el endpoint.
3
5
  # version 0.0.605
@@ -9877,11 +9877,16 @@
9877
9877
  if (afterSearch) {
9878
9878
  afterSearch.apply(void 0, __spread$5(args));
9879
9879
  }
9880
+ event.target.value = ''; // Limpiamos el valor del input después de la búsqueda
9880
9881
  }
9881
9882
  };
9882
- _this.getCollectionSearch = function () {
9883
+ _this.getCollectionSearch = function (searchInput) {
9883
9884
  _this.consts.searchValue = _this.searchValue;
9884
9885
  _this.router.navigateByUrl('/collection?search=' + _this.searchValue);
9886
+ // Limpia el valor de búsqueda
9887
+ if (searchInput) {
9888
+ searchInput.value = '';
9889
+ }
9885
9890
  };
9886
9891
  _this.toogleToolbar = function () {
9887
9892
  console.log('LLAMA AL TOOGLE');