ng-easycommerce 0.0.519 → 0.0.521
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 +5 -0
- package/bundles/ng-easycommerce.umd.js +32 -40
- 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/blocks-ec/block-banner-boxes-ec/block-banner-boxes-ec.component.js +3 -2
- package/esm2015/lib/ec-component/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.js +29 -40
- package/esm2015/lib/ec-component/header-ec/header-ec.component.js +3 -1
- package/esm5/lib/ec-component/blocks-ec/block-banner-boxes-ec/block-banner-boxes-ec.component.js +3 -2
- package/esm5/lib/ec-component/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.js +29 -40
- package/esm5/lib/ec-component/header-ec/header-ec.component.js +3 -1
- package/fesm2015/ng-easycommerce.js +32 -40
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +32 -40
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/header-ec/header-ec.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5202,7 +5202,8 @@ let BlockBannerBoxesEcComponent = class BlockBannerBoxesEcComponent extends Comp
|
|
|
5202
5202
|
this.ecOnInit();
|
|
5203
5203
|
this.options = {
|
|
5204
5204
|
loop: this.loop,
|
|
5205
|
-
autoplay: false,
|
|
5205
|
+
//autoplay: false,
|
|
5206
|
+
autoplay: true,
|
|
5206
5207
|
smartSpeed: 950,
|
|
5207
5208
|
margin: this.margin,
|
|
5208
5209
|
dots: this.dots,
|
|
@@ -5285,24 +5286,20 @@ let BlockBannerFullEcComponent = class BlockBannerFullEcComponent extends Compon
|
|
|
5285
5286
|
this.formUrl = (banner) => this.blocksService.formUrl(banner);
|
|
5286
5287
|
this.options = {
|
|
5287
5288
|
loop: true,
|
|
5288
|
-
autoplay:
|
|
5289
|
-
smartSpeed:
|
|
5289
|
+
autoplay: true,
|
|
5290
|
+
smartSpeed: 1050,
|
|
5290
5291
|
margin: 10,
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
dotsData: false,
|
|
5292
|
+
dots: false,
|
|
5293
|
+
navSpeed: 700,
|
|
5294
5294
|
navText: ["<i class='fas fa-angle-left'></i>", "<i class='fas fa-angle-right'></i>"],
|
|
5295
|
-
|
|
5295
|
+
items: 1,
|
|
5296
|
+
nav: false,
|
|
5296
5297
|
responsive: {
|
|
5297
|
-
0: {
|
|
5298
|
-
|
|
5299
|
-
},
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
},
|
|
5303
|
-
1000: {
|
|
5304
|
-
items: 1,
|
|
5305
|
-
}
|
|
5298
|
+
0: { autoWidth: true, items: 1 },
|
|
5299
|
+
576: { autoWidth: true, items: 1 },
|
|
5300
|
+
768: { autoWidth: true, items: 1 },
|
|
5301
|
+
992: { autoWidth: true, items: 1 },
|
|
5302
|
+
1200: { autoWidth: true, items: 1 }
|
|
5306
5303
|
}
|
|
5307
5304
|
};
|
|
5308
5305
|
this.ecOnConstruct();
|
|
@@ -5310,30 +5307,23 @@ let BlockBannerFullEcComponent = class BlockBannerFullEcComponent extends Compon
|
|
|
5310
5307
|
ngOnInit() {
|
|
5311
5308
|
this.banners = this.banners.map(banner => { return Object.assign(Object.assign({}, banner), banner.translations[this.consts.getLocale()]); });
|
|
5312
5309
|
this.ecOnInit();
|
|
5313
|
-
this.options = {
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
// },
|
|
5331
|
-
// 1000: {
|
|
5332
|
-
// items: (this.meta?.styles.carrousel) ? this.meta?.styles.items.lg : 4,
|
|
5333
|
-
// nav: true,
|
|
5334
|
-
// }
|
|
5335
|
-
// }
|
|
5336
|
-
};
|
|
5310
|
+
// this.options = {
|
|
5311
|
+
// loop: this.loop,
|
|
5312
|
+
// //autoplay: false,
|
|
5313
|
+
// autoplay: true,
|
|
5314
|
+
// smartSpeed: 950,
|
|
5315
|
+
// margin: this.margin,
|
|
5316
|
+
// dots: this.dots,
|
|
5317
|
+
// navText: ["<i class='fas fa-angle-left'></i>", "<i class='fas fa-angle-right'></i>"],
|
|
5318
|
+
// items:1,
|
|
5319
|
+
// nav:this.nav,
|
|
5320
|
+
// responsive: {
|
|
5321
|
+
// 0: { autoWidth: true, items: 1 },
|
|
5322
|
+
// 576: { autoWidth: true, items: 1},
|
|
5323
|
+
// 768: { autoWidth: true, items: 1},
|
|
5324
|
+
// 992: { autoWidth: true, items: 1 },
|
|
5325
|
+
// 1200: { autoWidth: true, items: 1}}
|
|
5326
|
+
// }
|
|
5337
5327
|
}
|
|
5338
5328
|
handlePage(page) {
|
|
5339
5329
|
return this.router.url.includes(page);
|
|
@@ -7530,6 +7520,7 @@ let HeaderEcComponent = class HeaderEcComponent extends ComponentHelper {
|
|
|
7530
7520
|
(stackPlace == 'start')
|
|
7531
7521
|
? (_a = menuItems.find(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(Object.assign({ code: 'sd', name: 'sd', path: '/home', title: 'sd' }, item)) : (_b = menuItems.find(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(Object.assign({ code: 'sd', name: 'sd', path: '/home', title: 'sd' }, item));
|
|
7532
7522
|
};
|
|
7523
|
+
this.hasParams = (params, searched) => params && params.find(param => param.code.toLowerCase().includes(searched));
|
|
7533
7524
|
this.envetUrlTransparent = this.changeUrlTransparent(this.envetUrlTransparent);
|
|
7534
7525
|
this.router.events.subscribe((event) => {
|
|
7535
7526
|
if (event instanceof NavigationStart) {
|
|
@@ -7551,6 +7542,7 @@ let HeaderEcComponent = class HeaderEcComponent extends ComponentHelper {
|
|
|
7551
7542
|
});
|
|
7552
7543
|
this.optionsService.sections.subscribe(res => (res.length > 0) && this.updateMenuItemSection(res));
|
|
7553
7544
|
this.ecOnConstruct();
|
|
7545
|
+
this.mediaUrl = this.consts.mediaUrl();
|
|
7554
7546
|
}
|
|
7555
7547
|
ngOnInit() {
|
|
7556
7548
|
this.paramsService.parameters.subscribe(res => this.params = res);
|