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 +2 -0
- package/bundles/ng-easycommerce.umd.js +6 -1
- package/bundles/ng-easycommerce.umd.js.map +1 -1
- package/bundles/ng-easycommerce.umd.min.js +1 -1
- package/bundles/ng-easycommerce.umd.min.js.map +1 -1
- package/esm2015/lib/ec-component/header-ec/header-ec.component.js +7 -2
- package/esm5/lib/ec-component/header-ec/header-ec.component.js +7 -2
- package/fesm2015/ng-easycommerce.js +6 -1
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +6 -1
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/header-ec/header-ec.component.d.ts +1 -1
- package/package.json +1 -1
package/fesm5/ng-easycommerce.js
CHANGED
|
@@ -9891,11 +9891,16 @@ var HeaderEcComponent = /** @class */ (function (_super) {
|
|
|
9891
9891
|
if (afterSearch) {
|
|
9892
9892
|
afterSearch.apply(void 0, __spread$5(args));
|
|
9893
9893
|
}
|
|
9894
|
+
event.target.value = ''; // Limpiamos el valor del input después de la búsqueda
|
|
9894
9895
|
}
|
|
9895
9896
|
};
|
|
9896
|
-
_this.getCollectionSearch = function () {
|
|
9897
|
+
_this.getCollectionSearch = function (searchInput) {
|
|
9897
9898
|
_this.consts.searchValue = _this.searchValue;
|
|
9898
9899
|
_this.router.navigateByUrl('/collection?search=' + _this.searchValue);
|
|
9900
|
+
// Limpia el valor de búsqueda
|
|
9901
|
+
if (searchInput) {
|
|
9902
|
+
searchInput.value = '';
|
|
9903
|
+
}
|
|
9899
9904
|
};
|
|
9900
9905
|
_this.toogleToolbar = function () {
|
|
9901
9906
|
console.log('LLAMA AL TOOGLE');
|