ng-easycommerce 0.0.519 → 0.0.520

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,6 @@
1
+ # version 0.0.520
2
+ - se añade la funcionalidad de parametros y el mediaUrl en el header
3
+ - se cambia a autoplay el movimiento de los banner en block-banner-boxer y block-banner-full
1
4
  # version 0.0.519
2
5
  - Se modifica funcionamiento lotes para que espere un tiempo en cargar el endpoint de carrito.
3
6
  - Se añade loading en boton lotes para que cargue al darle a guardar
@@ -6148,7 +6148,8 @@
6148
6148
  this.ecOnInit();
6149
6149
  this.options = {
6150
6150
  loop: this.loop,
6151
- autoplay: false,
6151
+ //autoplay: false,
6152
+ autoplay: true,
6152
6153
  smartSpeed: 950,
6153
6154
  margin: this.margin,
6154
6155
  dots: this.dots,
@@ -6286,7 +6287,8 @@
6286
6287
  this.ecOnInit();
6287
6288
  this.options = {
6288
6289
  loop: this.loop,
6289
- autoplay: false,
6290
+ //autoplay: false,
6291
+ autoplay: true,
6290
6292
  smartSpeed: 950,
6291
6293
  margin: this.margin,
6292
6294
  dots: this.dots,
@@ -9172,6 +9174,7 @@
9172
9174
  (stackPlace == 'start')
9173
9175
  ? (_a = menuItems.find(function (item) { var _a; return (_a = item.code) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(code); })) === null || _a === void 0 ? void 0 : _a.children.unshift(__assign$m({ code: 'sd', name: 'sd', path: '/home', title: 'sd' }, item)) : (_b = menuItems.find(function (item) { var _a; return (_a = item.code) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(code); })) === null || _b === void 0 ? void 0 : _b.children.push(__assign$m({ code: 'sd', name: 'sd', path: '/home', title: 'sd' }, item));
9174
9176
  };
9177
+ _this.hasParams = function (params, searched) { return params && params.find(function (param) { return param.code.toLowerCase().includes(searched); }); };
9175
9178
  _this.envetUrlTransparent = _this.changeUrlTransparent(_this.envetUrlTransparent);
9176
9179
  _this.router.events.subscribe(function (event) {
9177
9180
  if (event instanceof router.NavigationStart) {
@@ -9193,6 +9196,7 @@
9193
9196
  });
9194
9197
  _this.optionsService.sections.subscribe(function (res) { return (res.length > 0) && _this.updateMenuItemSection(res); });
9195
9198
  _this.ecOnConstruct();
9199
+ _this.mediaUrl = _this.consts.mediaUrl();
9196
9200
  return _this;
9197
9201
  }
9198
9202
  HeaderEcComponent.prototype.ngOnInit = function () {