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
package/fesm5/ng-easycommerce.js
CHANGED
|
@@ -6162,7 +6162,8 @@ var BlockBannerBoxesEcComponent = /** @class */ (function (_super) {
|
|
|
6162
6162
|
this.ecOnInit();
|
|
6163
6163
|
this.options = {
|
|
6164
6164
|
loop: this.loop,
|
|
6165
|
-
autoplay: false,
|
|
6165
|
+
//autoplay: false,
|
|
6166
|
+
autoplay: true,
|
|
6166
6167
|
smartSpeed: 950,
|
|
6167
6168
|
margin: this.margin,
|
|
6168
6169
|
dots: this.dots,
|
|
@@ -6271,24 +6272,20 @@ var BlockBannerFullEcComponent = /** @class */ (function (_super) {
|
|
|
6271
6272
|
_this.formUrl = function (banner) { return _this.blocksService.formUrl(banner); };
|
|
6272
6273
|
_this.options = {
|
|
6273
6274
|
loop: true,
|
|
6274
|
-
autoplay:
|
|
6275
|
-
smartSpeed:
|
|
6275
|
+
autoplay: true,
|
|
6276
|
+
smartSpeed: 1050,
|
|
6276
6277
|
margin: 10,
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
dotsData: false,
|
|
6278
|
+
dots: false,
|
|
6279
|
+
navSpeed: 700,
|
|
6280
6280
|
navText: ["<i class='fas fa-angle-left'></i>", "<i class='fas fa-angle-right'></i>"],
|
|
6281
|
-
|
|
6281
|
+
items: 1,
|
|
6282
|
+
nav: false,
|
|
6282
6283
|
responsive: {
|
|
6283
|
-
0: {
|
|
6284
|
-
|
|
6285
|
-
},
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
},
|
|
6289
|
-
1000: {
|
|
6290
|
-
items: 1,
|
|
6291
|
-
}
|
|
6284
|
+
0: { autoWidth: true, items: 1 },
|
|
6285
|
+
576: { autoWidth: true, items: 1 },
|
|
6286
|
+
768: { autoWidth: true, items: 1 },
|
|
6287
|
+
992: { autoWidth: true, items: 1 },
|
|
6288
|
+
1200: { autoWidth: true, items: 1 }
|
|
6292
6289
|
}
|
|
6293
6290
|
};
|
|
6294
6291
|
_this.ecOnConstruct();
|
|
@@ -6298,30 +6295,23 @@ var BlockBannerFullEcComponent = /** @class */ (function (_super) {
|
|
|
6298
6295
|
var _this = this;
|
|
6299
6296
|
this.banners = this.banners.map(function (banner) { return __assign$e(__assign$e({}, banner), banner.translations[_this.consts.getLocale()]); });
|
|
6300
6297
|
this.ecOnInit();
|
|
6301
|
-
this.options = {
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
// },
|
|
6319
|
-
// 1000: {
|
|
6320
|
-
// items: (this.meta?.styles.carrousel) ? this.meta?.styles.items.lg : 4,
|
|
6321
|
-
// nav: true,
|
|
6322
|
-
// }
|
|
6323
|
-
// }
|
|
6324
|
-
};
|
|
6298
|
+
// this.options = {
|
|
6299
|
+
// loop: this.loop,
|
|
6300
|
+
// //autoplay: false,
|
|
6301
|
+
// autoplay: true,
|
|
6302
|
+
// smartSpeed: 950,
|
|
6303
|
+
// margin: this.margin,
|
|
6304
|
+
// dots: this.dots,
|
|
6305
|
+
// navText: ["<i class='fas fa-angle-left'></i>", "<i class='fas fa-angle-right'></i>"],
|
|
6306
|
+
// items:1,
|
|
6307
|
+
// nav:this.nav,
|
|
6308
|
+
// responsive: {
|
|
6309
|
+
// 0: { autoWidth: true, items: 1 },
|
|
6310
|
+
// 576: { autoWidth: true, items: 1},
|
|
6311
|
+
// 768: { autoWidth: true, items: 1},
|
|
6312
|
+
// 992: { autoWidth: true, items: 1 },
|
|
6313
|
+
// 1200: { autoWidth: true, items: 1}}
|
|
6314
|
+
// }
|
|
6325
6315
|
};
|
|
6326
6316
|
BlockBannerFullEcComponent.prototype.handlePage = function (page) {
|
|
6327
6317
|
return this.router.url.includes(page);
|
|
@@ -9186,6 +9176,7 @@ var HeaderEcComponent = /** @class */ (function (_super) {
|
|
|
9186
9176
|
(stackPlace == 'start')
|
|
9187
9177
|
? (_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));
|
|
9188
9178
|
};
|
|
9179
|
+
_this.hasParams = function (params, searched) { return params && params.find(function (param) { return param.code.toLowerCase().includes(searched); }); };
|
|
9189
9180
|
_this.envetUrlTransparent = _this.changeUrlTransparent(_this.envetUrlTransparent);
|
|
9190
9181
|
_this.router.events.subscribe(function (event) {
|
|
9191
9182
|
if (event instanceof NavigationStart) {
|
|
@@ -9207,6 +9198,7 @@ var HeaderEcComponent = /** @class */ (function (_super) {
|
|
|
9207
9198
|
});
|
|
9208
9199
|
_this.optionsService.sections.subscribe(function (res) { return (res.length > 0) && _this.updateMenuItemSection(res); });
|
|
9209
9200
|
_this.ecOnConstruct();
|
|
9201
|
+
_this.mediaUrl = _this.consts.mediaUrl();
|
|
9210
9202
|
return _this;
|
|
9211
9203
|
}
|
|
9212
9204
|
HeaderEcComponent.prototype.ngOnInit = function () {
|