ng-easycommerce 0.0.657 → 0.0.659-beta.1
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 +22 -0
- package/bundles/ng-easycommerce.umd.js +204 -137
- 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-render-ec/block-render-ec.component.js +48 -0
- package/esm2015/lib/ec-component/footer-ec/footer-ec.component.js +15 -43
- package/esm2015/lib/ec-component/index.js +4 -1
- package/esm2015/lib/interfaces/footer.types.js +1 -1
- package/esm2015/lib/services/footer/footer.adapters.js +87 -47
- package/esm2015/lib/services/footer/footer.service.js +3 -8
- package/esm2015/public-api.js +2 -1
- package/esm5/lib/ec-component/blocks-ec/block-render-ec/block-render-ec.component.js +64 -0
- package/esm5/lib/ec-component/footer-ec/footer-ec.component.js +15 -43
- package/esm5/lib/ec-component/index.js +4 -1
- package/esm5/lib/interfaces/footer.types.js +1 -1
- package/esm5/lib/services/footer/footer.adapters.js +87 -48
- package/esm5/lib/services/footer/footer.service.js +3 -8
- package/esm5/public-api.js +2 -1
- package/fesm2015/ng-easycommerce.js +185 -133
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +201 -134
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/blocks-ec/block-render-ec/block-render-ec.component.d.ts +13 -0
- package/lib/ec-component/footer-ec/footer-ec.component.d.ts +1 -15
- package/lib/ec-component/index.d.ts +1 -0
- package/lib/interfaces/footer.types.d.ts +28 -16
- package/lib/services/footer/footer.adapters.d.ts +4 -22
- package/lib/services/footer/footer.service.d.ts +0 -3
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -8279,72 +8279,112 @@ function withLeadingSlash(path) {
|
|
|
8279
8279
|
return path.startsWith('/') ? path : '/' + path;
|
|
8280
8280
|
}
|
|
8281
8281
|
function toHref(item) {
|
|
8282
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
8283
8282
|
switch (item.type) {
|
|
8284
|
-
case 'url':
|
|
8285
|
-
|
|
8283
|
+
case 'url': {
|
|
8284
|
+
var l = item.link || {};
|
|
8285
|
+
return l.url || '#';
|
|
8286
|
+
}
|
|
8286
8287
|
case 'category': {
|
|
8287
|
-
|
|
8288
|
-
|
|
8288
|
+
var l = item.link || {};
|
|
8289
|
+
var c = l.category || null;
|
|
8290
|
+
return c && c.slug ? '/collection/categories/' + encodeURIComponent(c.slug) : '#';
|
|
8289
8291
|
}
|
|
8290
|
-
case 'section':
|
|
8291
|
-
return '#';
|
|
8292
8292
|
case 'parameter': {
|
|
8293
|
-
|
|
8294
|
-
|
|
8293
|
+
var l = item.link || {};
|
|
8294
|
+
var p = l.parameter || null;
|
|
8295
|
+
if (p && p.code && p.code.indexOf('link_') === 0 && p.value)
|
|
8295
8296
|
return p.value;
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
return
|
|
8297
|
+
var key = encodeURIComponent((p && p.code) ? p.code : 'param');
|
|
8298
|
+
var val = encodeURIComponent((p && p.value) ? String(p.value) : '');
|
|
8299
|
+
return '/buscar?' + key + '=' + val;
|
|
8300
|
+
}
|
|
8301
|
+
case 'page': {
|
|
8302
|
+
var l = item.link || {};
|
|
8303
|
+
var pg = l.page || {};
|
|
8304
|
+
return toPageHref(pg, 'pages/');
|
|
8305
|
+
}
|
|
8306
|
+
case 'block': {
|
|
8307
|
+
var l = item.link || {};
|
|
8308
|
+
var blk = l.block || {};
|
|
8309
|
+
var url = firstBlockUrl(blk);
|
|
8310
|
+
return url || '#';
|
|
8299
8311
|
}
|
|
8300
8312
|
case 'text':
|
|
8301
8313
|
default:
|
|
8302
8314
|
return '#';
|
|
8303
8315
|
}
|
|
8304
8316
|
}
|
|
8317
|
+
function toPageHref(page, base) {
|
|
8318
|
+
base = withLeadingSlash(base || 'pages/');
|
|
8319
|
+
if (!page)
|
|
8320
|
+
return '#';
|
|
8321
|
+
if (page.slug)
|
|
8322
|
+
return base + encodeURIComponent(String(page.slug));
|
|
8323
|
+
if (page.code)
|
|
8324
|
+
return base + encodeURIComponent(String(page.code));
|
|
8325
|
+
return '#';
|
|
8326
|
+
}
|
|
8327
|
+
function firstBlockUrl(block) {
|
|
8328
|
+
if (!block || !block.banners || !block.banners.length)
|
|
8329
|
+
return null;
|
|
8330
|
+
var banner = block.banners[0] || {};
|
|
8331
|
+
if (banner.url)
|
|
8332
|
+
return String(banner.url);
|
|
8333
|
+
var tr = banner.translations || {};
|
|
8334
|
+
var candLocales = ['es_AR', 'es-AR', 'es', 'default'];
|
|
8335
|
+
for (var i = 0; i < candLocales.length; i++) {
|
|
8336
|
+
var loc = candLocales[i];
|
|
8337
|
+
if (tr[loc] && tr[loc].url)
|
|
8338
|
+
return String(tr[loc].url);
|
|
8339
|
+
if (tr[loc] && tr[loc].translatable && tr[loc].translatable.url) {
|
|
8340
|
+
return String(tr[loc].translatable.url);
|
|
8341
|
+
}
|
|
8342
|
+
}
|
|
8343
|
+
return null;
|
|
8344
|
+
}
|
|
8305
8345
|
function toText(item) {
|
|
8306
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
8307
8346
|
if (item.label)
|
|
8308
8347
|
return item.label;
|
|
8348
|
+
if (item.labelResolved)
|
|
8349
|
+
return item.labelResolved;
|
|
8309
8350
|
switch (item.type) {
|
|
8310
|
-
case 'category':
|
|
8311
|
-
|
|
8312
|
-
|
|
8351
|
+
case 'category': {
|
|
8352
|
+
var l = item.link || {};
|
|
8353
|
+
var c = l.category || null;
|
|
8354
|
+
if (c && c.name)
|
|
8355
|
+
return String(c.name);
|
|
8356
|
+
if (c && c.code)
|
|
8357
|
+
return String(c.code);
|
|
8358
|
+
return 'Categoría';
|
|
8359
|
+
}
|
|
8360
|
+
case 'page': {
|
|
8361
|
+
var l = item.link || {};
|
|
8362
|
+
var pg = l.page || {};
|
|
8363
|
+
return toPageText(pg);
|
|
8364
|
+
}
|
|
8365
|
+
case 'parameter': {
|
|
8366
|
+
var l = item.link || {};
|
|
8367
|
+
var p = l.parameter || null;
|
|
8368
|
+
return (p && p.code) ? String(p.code) : 'Parámetro';
|
|
8369
|
+
}
|
|
8370
|
+
case 'block': {
|
|
8371
|
+
var l = item.link || {};
|
|
8372
|
+
var blk = l.block || {};
|
|
8373
|
+
return blk && blk.code ? String(blk.code) : 'Bloque';
|
|
8374
|
+
}
|
|
8313
8375
|
case 'url': return 'Enlace';
|
|
8314
8376
|
case 'text': return '';
|
|
8315
8377
|
default: return 'Enlace';
|
|
8316
8378
|
}
|
|
8317
8379
|
}
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
if (
|
|
8322
|
-
return
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
function hasSectionPages(item, onlyEnabled = true) {
|
|
8327
|
-
const pages = getSectionPages(item);
|
|
8328
|
-
return onlyEnabled ? pages.some(p => { var _a; return (_a = p) === null || _a === void 0 ? void 0 : _a.enabled; }) : pages.length > 0;
|
|
8329
|
-
}
|
|
8330
|
-
/**
|
|
8331
|
-
* Arma el href de UNA página de sección.
|
|
8332
|
-
* @param item FooterItemView de tipo 'section'
|
|
8333
|
-
* @param pageCode code de la página (obligatorio)
|
|
8334
|
-
* @param sectionsBase base que te da consts.getSectionsRoute(), ej: 'section/' o '/section/'
|
|
8335
|
-
*/
|
|
8336
|
-
function toSectionPageHref(item, pageCode, sectionsBase) {
|
|
8337
|
-
if (item.type !== 'section')
|
|
8338
|
-
return '#';
|
|
8339
|
-
if (!pageCode)
|
|
8340
|
-
return '#';
|
|
8341
|
-
const base = withLeadingSlash(sectionsBase || 'section/');
|
|
8342
|
-
return `${base}${encodeURIComponent(pageCode)}`;
|
|
8343
|
-
}
|
|
8344
|
-
/** Texto a mostrar para la página (fallback name -> code). */
|
|
8345
|
-
function toSectionPageText(page) {
|
|
8346
|
-
var _a, _b, _c, _d;
|
|
8347
|
-
return (_d = (_b = (_a = page) === null || _a === void 0 ? void 0 : _a.name, (_b !== null && _b !== void 0 ? _b : (_c = page) === null || _c === void 0 ? void 0 : _c.code)), (_d !== null && _d !== void 0 ? _d : '')).toString();
|
|
8380
|
+
function toPageText(page) {
|
|
8381
|
+
if (!page)
|
|
8382
|
+
return '';
|
|
8383
|
+
if (page.name)
|
|
8384
|
+
return String(page.name);
|
|
8385
|
+
if (page.code)
|
|
8386
|
+
return String(page.code);
|
|
8387
|
+
return '';
|
|
8348
8388
|
}
|
|
8349
8389
|
|
|
8350
8390
|
function pickFooterForDevice(footers, device) {
|
|
@@ -8369,7 +8409,6 @@ let FooterService = class FooterService {
|
|
|
8369
8409
|
this.columns$ = this.columnsSubject.asObservable();
|
|
8370
8410
|
this.extrasSubject = new BehaviorSubject(null);
|
|
8371
8411
|
this.extras$ = this.extrasSubject.asObservable();
|
|
8372
|
-
// === NUEVO: cache en memoria ===
|
|
8373
8412
|
this.cachedList = [];
|
|
8374
8413
|
this.currentDevice = 'desktop';
|
|
8375
8414
|
this.loaded = false;
|
|
@@ -8391,10 +8430,8 @@ let FooterService = class FooterService {
|
|
|
8391
8430
|
this.extrasSubject.next((_c = (_b = chosen) === null || _b === void 0 ? void 0 : _b.extras, (_c !== null && _c !== void 0 ? _c : null)));
|
|
8392
8431
|
});
|
|
8393
8432
|
}
|
|
8394
|
-
/** Carga UNA SOLA VEZ y cachea todo. Luego aplica según device actual. */
|
|
8395
8433
|
loadOnce(initialDevice) {
|
|
8396
8434
|
if (this.loaded) {
|
|
8397
|
-
// ya tengo datos: solo (re)aplico el device actual o el que me pasen
|
|
8398
8435
|
if (initialDevice && initialDevice !== this.currentDevice) {
|
|
8399
8436
|
this.currentDevice = initialDevice;
|
|
8400
8437
|
this.applyDevice();
|
|
@@ -8407,19 +8444,17 @@ let FooterService = class FooterService {
|
|
|
8407
8444
|
.subscribe((res) => {
|
|
8408
8445
|
this.cachedList = Array.isArray(res) ? res : [];
|
|
8409
8446
|
this.loaded = true;
|
|
8410
|
-
this.applyDevice();
|
|
8447
|
+
this.applyDevice();
|
|
8411
8448
|
});
|
|
8412
8449
|
}
|
|
8413
|
-
/** Cambia el device y re-arma columnas/extras desde el cache (sin API). */
|
|
8414
8450
|
setDevice(device) {
|
|
8415
8451
|
if (device === this.currentDevice)
|
|
8416
8452
|
return;
|
|
8417
8453
|
this.currentDevice = device;
|
|
8418
8454
|
if (!this.loaded)
|
|
8419
|
-
return;
|
|
8455
|
+
return;
|
|
8420
8456
|
this.applyDevice();
|
|
8421
8457
|
}
|
|
8422
|
-
/** Recalcula columns/extras para el currentDevice usando el cache. */
|
|
8423
8458
|
applyDevice() {
|
|
8424
8459
|
var _a, _b, _c;
|
|
8425
8460
|
const chosen = pickFooterForDevice(this.cachedList, this.currentDevice);
|
|
@@ -8485,7 +8520,6 @@ let FooterEcComponent = class FooterEcComponent extends ComponentHelper {
|
|
|
8485
8520
|
this.categories = [];
|
|
8486
8521
|
this.attributes = [];
|
|
8487
8522
|
this.params = {};
|
|
8488
|
-
// helpers a mano para el template
|
|
8489
8523
|
this.toHref = toHref;
|
|
8490
8524
|
this.toText = toText;
|
|
8491
8525
|
this.updateCategories = (categories) => {
|
|
@@ -8521,7 +8555,6 @@ let FooterEcComponent = class FooterEcComponent extends ComponentHelper {
|
|
|
8521
8555
|
this.ecUpdateMenuItemAttributes = (menuItems) => {
|
|
8522
8556
|
return menuItems;
|
|
8523
8557
|
};
|
|
8524
|
-
/* ----------------- Trackers para *ngFor ----------------- */
|
|
8525
8558
|
this.trackById = (_, it) => { var _a, _b; return _b = (_a = it) === null || _a === void 0 ? void 0 : _a.id, (_b !== null && _b !== void 0 ? _b : _); };
|
|
8526
8559
|
this.trackByPos = (_, it) => { var _a, _b; return _b = (_a = it) === null || _a === void 0 ? void 0 : _a.position, (_b !== null && _b !== void 0 ? _b : _); };
|
|
8527
8560
|
this.optionsService.sections.subscribe(res => (res.length > 0) && this.updateMenuItem(res));
|
|
@@ -8532,13 +8565,10 @@ let FooterEcComponent = class FooterEcComponent extends ComponentHelper {
|
|
|
8532
8565
|
}
|
|
8533
8566
|
ngOnInit() {
|
|
8534
8567
|
this.paramsService.parameters.subscribe(res => this.params = res);
|
|
8535
|
-
// API: nos suscribimos a las columnas
|
|
8536
8568
|
this.columns$ = this.footerService.columns$;
|
|
8537
8569
|
this.extras$ = this.footerService.extras$;
|
|
8538
|
-
// Carga inicial UNA sola vez con el device actual
|
|
8539
8570
|
const initialDevice = this.getDevice();
|
|
8540
8571
|
this.footerService.loadOnce(initialDevice);
|
|
8541
|
-
// Conmutación por resize SIN llamar a la API
|
|
8542
8572
|
if (isPlatformBrowser(this.platformId)) {
|
|
8543
8573
|
this.deviceSub = merge(of(initialDevice), fromEvent(window, 'resize').pipe(debounceTime(150), map(() => this.getDevice()), distinctUntilChanged())).subscribe(d => this.footerService.setDevice(d));
|
|
8544
8574
|
}
|
|
@@ -8549,25 +8579,19 @@ let FooterEcComponent = class FooterEcComponent extends ComponentHelper {
|
|
|
8549
8579
|
return 'desktop';
|
|
8550
8580
|
return window.innerWidth < 750 ? 'mobile' : 'desktop';
|
|
8551
8581
|
}
|
|
8552
|
-
// ¿El string "parece" una URL de imagen (por extensión)?
|
|
8553
8582
|
isImageUrl(v) {
|
|
8554
8583
|
return !!v && /\.(png|jpe?g|svg|webp)$/i.test(v);
|
|
8555
8584
|
}
|
|
8556
|
-
// Convierte un path relativo del media server en URL absoluta, o deja pasar si ya es http(s)
|
|
8557
8585
|
absOrMedia(v) {
|
|
8558
|
-
// Si "v" viene con "/media/image/", sacar esa parte
|
|
8559
8586
|
let path = v.startsWith('/media/image/') ? v.replace('/media/image/', '') : v;
|
|
8560
8587
|
return /^https?:\/\//i.test(path) ? path : (this.mediaUrl + path);
|
|
8561
8588
|
}
|
|
8562
8589
|
/* ----------------- Helpers para items tipo parameter ----------------- */
|
|
8563
|
-
// Devuelve el string del value del parámetro
|
|
8564
8590
|
paramValue(it) {
|
|
8565
8591
|
return (it && it.link && it.link.parameter && typeof it.link.parameter.value === 'string')
|
|
8566
8592
|
? it.link.parameter.value
|
|
8567
8593
|
: '';
|
|
8568
8594
|
}
|
|
8569
|
-
// Devuelve SOLO el path de imagen del parámetro (si existe en images[0].path,
|
|
8570
|
-
// si no, usa value si luce como imagen). No agrega mediaUrl todavía.
|
|
8571
8595
|
paramImagePath(it) {
|
|
8572
8596
|
var _a, _b;
|
|
8573
8597
|
const p = (_b = (_a = it) === null || _a === void 0 ? void 0 : _a.link) === null || _b === void 0 ? void 0 : _b.parameter;
|
|
@@ -8578,31 +8602,10 @@ let FooterEcComponent = class FooterEcComponent extends ComponentHelper {
|
|
|
8578
8602
|
return imgPath;
|
|
8579
8603
|
return this.isImageUrl(p.value) ? p.value : '';
|
|
8580
8604
|
}
|
|
8581
|
-
// ¿El parámetro representa una imagen?
|
|
8582
8605
|
isImageParam(it) {
|
|
8583
8606
|
const path = this.paramImagePath(it);
|
|
8584
8607
|
return !!path;
|
|
8585
8608
|
}
|
|
8586
|
-
/* ----------------- Secciones → páginas (helpers neutrales) ----------------- */
|
|
8587
|
-
sectionPages(item) {
|
|
8588
|
-
return getSectionPages(item).filter(p => { var _a, _b, _c; return (_b = (_a = p) === null || _a === void 0 ? void 0 : _a.enabled, (_b !== null && _b !== void 0 ? _b : true)) && !!((_c = p) === null || _c === void 0 ? void 0 : _c.code); });
|
|
8589
|
-
}
|
|
8590
|
-
sectionHasPages(item) {
|
|
8591
|
-
return this.sectionPages(item).length > 0;
|
|
8592
|
-
}
|
|
8593
|
-
sectionPageText(page) {
|
|
8594
|
-
var _a, _b;
|
|
8595
|
-
return (((_a = page) === null || _a === void 0 ? void 0 : _a.name) || ((_b = page) === null || _b === void 0 ? void 0 : _b.code) || '').toString();
|
|
8596
|
-
}
|
|
8597
|
-
sectionPageHref(page) {
|
|
8598
|
-
var _a, _b, _c;
|
|
8599
|
-
const base = (((_b = (_a = this.consts).getSectionsRoute) === null || _b === void 0 ? void 0 : _b.call(_a)) || 'section/');
|
|
8600
|
-
const seg = (((_c = page) === null || _c === void 0 ? void 0 : _c.code) || '').toString();
|
|
8601
|
-
if (!seg)
|
|
8602
|
-
return '#';
|
|
8603
|
-
const pref = base.startsWith('/') ? base : `/${base}`;
|
|
8604
|
-
return `${pref}${encodeURIComponent(seg)}`;
|
|
8605
|
-
}
|
|
8606
8609
|
/* ----------------- Helpers para EXTRAS ----------------- */
|
|
8607
8610
|
logoUrl(extras) {
|
|
8608
8611
|
var _a, _b, _c;
|
|
@@ -8628,7 +8631,6 @@ let FooterEcComponent = class FooterEcComponent extends ComponentHelper {
|
|
|
8628
8631
|
styleFor(it) {
|
|
8629
8632
|
var _a, _b;
|
|
8630
8633
|
const s = ((_a = it) === null || _a === void 0 ? void 0 : _a.style) || {};
|
|
8631
|
-
// coerción: si viene string, lo paso a number; si null/0, no seteo
|
|
8632
8634
|
const fs = (_b = s.fontSize, (_b !== null && _b !== void 0 ? _b : undefined));
|
|
8633
8635
|
const fsNum = typeof fs === 'string' ? parseInt(fs, 10) : fs;
|
|
8634
8636
|
return {
|
|
@@ -8638,17 +8640,14 @@ let FooterEcComponent = class FooterEcComponent extends ComponentHelper {
|
|
|
8638
8640
|
'font-size.px': Number.isFinite(fsNum) ? fsNum : null,
|
|
8639
8641
|
};
|
|
8640
8642
|
}
|
|
8641
|
-
// en FooterComponent (hijo)
|
|
8642
8643
|
isInternalUrl(url) {
|
|
8643
8644
|
return !!url && url.startsWith('/');
|
|
8644
8645
|
}
|
|
8645
8646
|
makeAbsolute(url) {
|
|
8646
|
-
// para abrir rutas internas en nueva pestaña/ventana
|
|
8647
8647
|
try {
|
|
8648
8648
|
return this.isInternalUrl(url) ? (window.location.origin + url) : url;
|
|
8649
8649
|
}
|
|
8650
|
-
catch (
|
|
8651
|
-
_a) { // SSR/seguridad
|
|
8650
|
+
catch (_a) {
|
|
8652
8651
|
return url;
|
|
8653
8652
|
}
|
|
8654
8653
|
}
|
|
@@ -8663,24 +8662,32 @@ let FooterEcComponent = class FooterEcComponent extends ComponentHelper {
|
|
|
8663
8662
|
ev.preventDefault();
|
|
8664
8663
|
this.router.navigateByUrl(url);
|
|
8665
8664
|
}
|
|
8666
|
-
// si es externo, dejamos que el <a href> lo maneje en la misma pestaña
|
|
8667
8665
|
return;
|
|
8668
8666
|
}
|
|
8669
8667
|
// new_tab | new_window ⇒ window.open
|
|
8670
8668
|
ev.preventDefault();
|
|
8671
8669
|
const full = this.makeAbsolute(url);
|
|
8672
|
-
// para ambos usamos _blank, la diferencia son los "features"
|
|
8673
8670
|
const features = (target === 'new_window')
|
|
8674
|
-
? 'noopener,noreferrer,width=1024,height=768'
|
|
8671
|
+
? 'noopener,noreferrer,width=1024,height=768'
|
|
8675
8672
|
: 'noopener,noreferrer';
|
|
8676
8673
|
try {
|
|
8677
8674
|
window.open(full, '_blank', features);
|
|
8678
8675
|
}
|
|
8679
8676
|
catch (_a) {
|
|
8680
|
-
// fallback por si un popup blocker interfiere
|
|
8681
8677
|
window.location.href = full;
|
|
8682
8678
|
}
|
|
8683
8679
|
}
|
|
8680
|
+
pageHref(it) {
|
|
8681
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
8682
|
+
if (!it || it.type !== 'page')
|
|
8683
|
+
return '#';
|
|
8684
|
+
const base = (((_b = (_a = this.consts).getSectionsRoute) === null || _b === void 0 ? void 0 : _b.call(_a)) || 'section/');
|
|
8685
|
+
const pref = base.startsWith('/') ? base : `/${base}`;
|
|
8686
|
+
const code = ((_e = (_d = (_c = it) === null || _c === void 0 ? void 0 : _c.link) === null || _d === void 0 ? void 0 : _d.page) === null || _e === void 0 ? void 0 : _e.code) || ((_h = (_g = (_f = it) === null || _f === void 0 ? void 0 : _f.link) === null || _g === void 0 ? void 0 : _g.page) === null || _h === void 0 ? void 0 : _h.slug) || '';
|
|
8687
|
+
if (!code)
|
|
8688
|
+
return '#';
|
|
8689
|
+
return `${pref}${encodeURIComponent(code)}`;
|
|
8690
|
+
}
|
|
8684
8691
|
};
|
|
8685
8692
|
FooterEcComponent.ctorParameters = () => [
|
|
8686
8693
|
{ type: OptionsService },
|
|
@@ -16931,6 +16938,50 @@ PlaceToPayEcComponent = __decorate$21([
|
|
|
16931
16938
|
})
|
|
16932
16939
|
], PlaceToPayEcComponent);
|
|
16933
16940
|
|
|
16941
|
+
var __decorate$22 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16942
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16943
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16944
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
16945
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16946
|
+
};
|
|
16947
|
+
let BlockRenderEcComponent = class BlockRenderEcComponent extends ComponentHelper {
|
|
16948
|
+
constructor(consts) {
|
|
16949
|
+
super();
|
|
16950
|
+
this.consts = consts;
|
|
16951
|
+
this.ecOnConstruct();
|
|
16952
|
+
}
|
|
16953
|
+
ngOnInit() {
|
|
16954
|
+
this.ecOnInit();
|
|
16955
|
+
}
|
|
16956
|
+
ngOnChanges() { }
|
|
16957
|
+
isNewsletter(block) {
|
|
16958
|
+
var _a, _b;
|
|
16959
|
+
const code = ((_b = (_a = block) === null || _a === void 0 ? void 0 : _a.contactForm) === null || _b === void 0 ? void 0 : _b.code) || '';
|
|
16960
|
+
return typeof code === 'string' && code.toLowerCase().includes('news');
|
|
16961
|
+
}
|
|
16962
|
+
getHTMLContent(block) {
|
|
16963
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
16964
|
+
const locale = ((_b = (_a = this.consts).getLocale) === null || _b === void 0 ? void 0 : _b.call(_a)) || 'es_AR';
|
|
16965
|
+
return ((_e = (_d = (_c = block) === null || _c === void 0 ? void 0 : _c.translations) === null || _d === void 0 ? void 0 : _d[locale]) === null || _e === void 0 ? void 0 : _e.content) || ((_h = (_g = (_f = block) === null || _f === void 0 ? void 0 : _f.translations) === null || _g === void 0 ? void 0 : _g.es_AR) === null || _h === void 0 ? void 0 : _h.content)
|
|
16966
|
+
|| ((_j = block) === null || _j === void 0 ? void 0 : _j.content)
|
|
16967
|
+
|| '';
|
|
16968
|
+
}
|
|
16969
|
+
};
|
|
16970
|
+
BlockRenderEcComponent.ctorParameters = () => [
|
|
16971
|
+
{ type: Constants }
|
|
16972
|
+
];
|
|
16973
|
+
__decorate$22([
|
|
16974
|
+
Input()
|
|
16975
|
+
], BlockRenderEcComponent.prototype, "block", void 0);
|
|
16976
|
+
BlockRenderEcComponent = __decorate$22([
|
|
16977
|
+
Component({
|
|
16978
|
+
selector: 'app-block-render-ec',
|
|
16979
|
+
template: "<!-- BANNER -->\n<ng-container *ngIf=\"block?.contentType === 'banner'\">\n <!-- full -->\n <app-block-banner-full-ec *ngIf=\"block?.design === 'full'\" class=\"col-12\" [banners]=\"block?.banners\" [margin]=\"0\"\n [meta]=\"block\">\n </app-block-banner-full-ec>\n\n <!-- boxes -->\n <app-block-banner-boxes-ec *ngIf=\"block?.design === 'boxes'\" class=\"col-12\" [banners]=\"block?.banners\"\n [meta]=\"block\">\n </app-block-banner-boxes-ec>\n</ng-container>\n\n<!-- HTML -->\n<app-block-html-ec *ngIf=\"block?.contentType === 'html'\" class=\"col-12\" [html_content]=\"getHTMLContent(block)\">\n</app-block-html-ec>\n\n<!-- PRODUCTS -->\n<app-block-products-ec *ngIf=\"block?.contentType === 'products'\"\n [class]=\"block.styles && block.styles?.items ? ('col-sm-' + block.styles?.items.sm + ' col-md-' + block.styles?.items.md + ' col-lg-' + block.styles?.items.lg) : ' col-12'\"\n [products]=\"block.products.items\" [meta]=\"block\">\n</app-block-products-ec>\n<!--Block Products-->\n<ng-template #appBlockProductsEc let-block=\"block\">\n <app-block-products-ec\n [class]=\"block.styles && block.styles?.items ? ('col-sm-' + block.styles?.items.sm + ' col-md-' + block.styles?.items.md + ' col-lg-' + block.styles?.items.lg) : ' col-12'\"\n [products]=\"block.products.items\" [meta]=\"block\" [appProduct]=\"appProduct\">\n </app-block-products-ec>\n</ng-template>\n\n<ng-container *ngIf=\"block?.contentType === 'products'\">\n {{block | json}}\n</ng-container>\n<ng-container *ngIf=\"block?.contentType === 'products'\"\n [ngTemplateOutlet]=\"templates && templates.appBlockProducts ? templates.appBlockProducts : appBlockProductsEc\"\n [ngTemplateOutletContext]=\"{block:block}\"></ng-container>\n<!--End Blocks Products-->\n\n<!-- CONTACT / NEWSLETTER -->\n<ng-container *ngIf=\"block?.contentType === 'contact_form'\">\n <app-contact-form-news-ec *ngIf=\"isNewsletter(block)\" [block]=\"block?.contactForm\">\n </app-contact-form-news-ec>\n\n <app-block-form-contact-ec *ngIf=\"!isNewsletter(block)\" [block]=\"block?.contactForm\">\n </app-block-form-contact-ec>\n</ng-container>",
|
|
16980
|
+
inputs: ['block'],
|
|
16981
|
+
styles: [""]
|
|
16982
|
+
})
|
|
16983
|
+
], BlockRenderEcComponent);
|
|
16984
|
+
|
|
16934
16985
|
// //Component base
|
|
16935
16986
|
const components = [
|
|
16936
16987
|
BlockBannerBoxesEcComponent,
|
|
@@ -16940,6 +16991,7 @@ const components = [
|
|
|
16940
16991
|
ContactFormNewsEcComponent,
|
|
16941
16992
|
BlockProductsEcComponent,
|
|
16942
16993
|
BlocksEcComponent,
|
|
16994
|
+
BlockRenderEcComponent,
|
|
16943
16995
|
CartEcComponent,
|
|
16944
16996
|
DataFormEcComponent,
|
|
16945
16997
|
PaymentEcComponent,
|
|
@@ -17015,7 +17067,7 @@ const components = [
|
|
|
17015
17067
|
SidebarEcComponent
|
|
17016
17068
|
];
|
|
17017
17069
|
|
|
17018
|
-
var __decorate$
|
|
17070
|
+
var __decorate$23 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17019
17071
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17020
17072
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17021
17073
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17079,23 +17131,23 @@ AddActionRedirectDirective.ctorParameters = () => [
|
|
|
17079
17131
|
{ type: BlocksService },
|
|
17080
17132
|
{ type: Router }
|
|
17081
17133
|
];
|
|
17082
|
-
__decorate$
|
|
17134
|
+
__decorate$23([
|
|
17083
17135
|
Input()
|
|
17084
17136
|
], AddActionRedirectDirective.prototype, "ecAddActionRedirect", null);
|
|
17085
|
-
__decorate$
|
|
17137
|
+
__decorate$23([
|
|
17086
17138
|
Input()
|
|
17087
17139
|
], AddActionRedirectDirective.prototype, "classStrSpacing", null);
|
|
17088
|
-
__decorate$
|
|
17140
|
+
__decorate$23([
|
|
17089
17141
|
Input()
|
|
17090
17142
|
], AddActionRedirectDirective.prototype, "isTransparent", null);
|
|
17091
|
-
AddActionRedirectDirective = __decorate$
|
|
17143
|
+
AddActionRedirectDirective = __decorate$23([
|
|
17092
17144
|
Directive({
|
|
17093
17145
|
selector: "[ecAddActionRedirect]",
|
|
17094
17146
|
}),
|
|
17095
17147
|
__param$c(0, Inject(DOCUMENT))
|
|
17096
17148
|
], AddActionRedirectDirective);
|
|
17097
17149
|
|
|
17098
|
-
var __decorate$
|
|
17150
|
+
var __decorate$24 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17099
17151
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17100
17152
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17101
17153
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17156,19 +17208,19 @@ ProductStockDirective.ctorParameters = () => [
|
|
|
17156
17208
|
{ type: TemplateRef },
|
|
17157
17209
|
{ type: ViewContainerRef }
|
|
17158
17210
|
];
|
|
17159
|
-
__decorate$
|
|
17211
|
+
__decorate$24([
|
|
17160
17212
|
Input()
|
|
17161
17213
|
], ProductStockDirective.prototype, "ecProductStockElse", void 0);
|
|
17162
|
-
__decorate$
|
|
17214
|
+
__decorate$24([
|
|
17163
17215
|
Input()
|
|
17164
17216
|
], ProductStockDirective.prototype, "ecProductStock", null);
|
|
17165
|
-
ProductStockDirective = __decorate$
|
|
17217
|
+
ProductStockDirective = __decorate$24([
|
|
17166
17218
|
Directive({
|
|
17167
17219
|
selector: "[ecProductStock]"
|
|
17168
17220
|
})
|
|
17169
17221
|
], ProductStockDirective);
|
|
17170
17222
|
|
|
17171
|
-
var __decorate$
|
|
17223
|
+
var __decorate$25 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17172
17224
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17173
17225
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17174
17226
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17293,23 +17345,23 @@ ProductOffDirective.ctorParameters = () => [
|
|
|
17293
17345
|
{ type: ElementRef },
|
|
17294
17346
|
{ type: Renderer2 }
|
|
17295
17347
|
];
|
|
17296
|
-
__decorate$
|
|
17348
|
+
__decorate$25([
|
|
17297
17349
|
Input()
|
|
17298
17350
|
], ProductOffDirective.prototype, "ecProductOff", null);
|
|
17299
|
-
__decorate$
|
|
17351
|
+
__decorate$25([
|
|
17300
17352
|
Input()
|
|
17301
17353
|
], ProductOffDirective.prototype, "classStrSpacing", null);
|
|
17302
|
-
__decorate$
|
|
17354
|
+
__decorate$25([
|
|
17303
17355
|
Input()
|
|
17304
17356
|
], ProductOffDirective.prototype, "customMessage", null);
|
|
17305
|
-
ProductOffDirective = __decorate$
|
|
17357
|
+
ProductOffDirective = __decorate$25([
|
|
17306
17358
|
Directive({
|
|
17307
17359
|
selector: "[ecProductOff]",
|
|
17308
17360
|
}),
|
|
17309
17361
|
__param$d(0, Inject(DOCUMENT))
|
|
17310
17362
|
], ProductOffDirective);
|
|
17311
17363
|
|
|
17312
|
-
var __decorate$
|
|
17364
|
+
var __decorate$26 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17313
17365
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17314
17366
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17315
17367
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17362,16 +17414,16 @@ ProductMiniStandardDirective.ctorParameters = () => [
|
|
|
17362
17414
|
{ type: Renderer2 },
|
|
17363
17415
|
{ type: Constants }
|
|
17364
17416
|
];
|
|
17365
|
-
__decorate$
|
|
17417
|
+
__decorate$26([
|
|
17366
17418
|
Input()
|
|
17367
17419
|
], ProductMiniStandardDirective.prototype, "ecProductMiniStandard", null);
|
|
17368
|
-
ProductMiniStandardDirective = __decorate$
|
|
17420
|
+
ProductMiniStandardDirective = __decorate$26([
|
|
17369
17421
|
Directive({
|
|
17370
17422
|
selector: '[ecProductMiniStandard]'
|
|
17371
17423
|
})
|
|
17372
17424
|
], ProductMiniStandardDirective);
|
|
17373
17425
|
|
|
17374
|
-
var __decorate$
|
|
17426
|
+
var __decorate$27 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17375
17427
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17376
17428
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17377
17429
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17410,19 +17462,19 @@ AuthWholesalerDirective.ctorParameters = () => [
|
|
|
17410
17462
|
{ type: ViewContainerRef },
|
|
17411
17463
|
{ type: AuthService }
|
|
17412
17464
|
];
|
|
17413
|
-
__decorate$
|
|
17465
|
+
__decorate$27([
|
|
17414
17466
|
Input()
|
|
17415
17467
|
], AuthWholesalerDirective.prototype, "ecAuthWholesalerElse", void 0);
|
|
17416
|
-
__decorate$
|
|
17468
|
+
__decorate$27([
|
|
17417
17469
|
Input()
|
|
17418
17470
|
], AuthWholesalerDirective.prototype, "ecAuthWholesaler", null);
|
|
17419
|
-
AuthWholesalerDirective = __decorate$
|
|
17471
|
+
AuthWholesalerDirective = __decorate$27([
|
|
17420
17472
|
Directive({
|
|
17421
17473
|
selector: "[ecAuthWholesaler]"
|
|
17422
17474
|
})
|
|
17423
17475
|
], AuthWholesalerDirective);
|
|
17424
17476
|
|
|
17425
|
-
var __decorate$
|
|
17477
|
+
var __decorate$28 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17426
17478
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17427
17479
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17428
17480
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17445,10 +17497,10 @@ ReloadViewDirective.ctorParameters = () => [
|
|
|
17445
17497
|
{ type: TemplateRef },
|
|
17446
17498
|
{ type: ViewContainerRef }
|
|
17447
17499
|
];
|
|
17448
|
-
__decorate$
|
|
17500
|
+
__decorate$28([
|
|
17449
17501
|
Input()
|
|
17450
17502
|
], ReloadViewDirective.prototype, "ecReloadView", void 0);
|
|
17451
|
-
ReloadViewDirective = __decorate$
|
|
17503
|
+
ReloadViewDirective = __decorate$28([
|
|
17452
17504
|
Directive({
|
|
17453
17505
|
selector: '[ecReloadView]'
|
|
17454
17506
|
})
|
|
@@ -17469,7 +17521,7 @@ const directives = [
|
|
|
17469
17521
|
ReloadViewDirective,
|
|
17470
17522
|
];
|
|
17471
17523
|
|
|
17472
|
-
var __decorate$
|
|
17524
|
+
var __decorate$29 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17473
17525
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17474
17526
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17475
17527
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17541,14 +17593,14 @@ ecCurrencySymbolPipe.ctorParameters = () => [
|
|
|
17541
17593
|
{ type: CurrencyService },
|
|
17542
17594
|
{ type: Injector }
|
|
17543
17595
|
];
|
|
17544
|
-
ecCurrencySymbolPipe = __decorate$
|
|
17596
|
+
ecCurrencySymbolPipe = __decorate$29([
|
|
17545
17597
|
Pipe({
|
|
17546
17598
|
name: 'ecCurrencySymbol',
|
|
17547
17599
|
pure: false
|
|
17548
17600
|
})
|
|
17549
17601
|
], ecCurrencySymbolPipe);
|
|
17550
17602
|
|
|
17551
|
-
var __decorate$
|
|
17603
|
+
var __decorate$2a = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17552
17604
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17553
17605
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17554
17606
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17565,13 +17617,13 @@ let EcSanitizerHtmlPipe = class EcSanitizerHtmlPipe {
|
|
|
17565
17617
|
EcSanitizerHtmlPipe.ctorParameters = () => [
|
|
17566
17618
|
{ type: DomSanitizer }
|
|
17567
17619
|
];
|
|
17568
|
-
EcSanitizerHtmlPipe = __decorate$
|
|
17620
|
+
EcSanitizerHtmlPipe = __decorate$2a([
|
|
17569
17621
|
Pipe({
|
|
17570
17622
|
name: 'ecSanitizerHtml'
|
|
17571
17623
|
})
|
|
17572
17624
|
], EcSanitizerHtmlPipe);
|
|
17573
17625
|
|
|
17574
|
-
var __decorate$
|
|
17626
|
+
var __decorate$2b = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17575
17627
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17576
17628
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17577
17629
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17588,7 +17640,7 @@ let EcSanitizerUrlPipe = class EcSanitizerUrlPipe {
|
|
|
17588
17640
|
EcSanitizerUrlPipe.ctorParameters = () => [
|
|
17589
17641
|
{ type: DomSanitizer }
|
|
17590
17642
|
];
|
|
17591
|
-
EcSanitizerUrlPipe = __decorate$
|
|
17643
|
+
EcSanitizerUrlPipe = __decorate$2b([
|
|
17592
17644
|
Pipe({
|
|
17593
17645
|
name: 'ecSanitizerUrl'
|
|
17594
17646
|
})
|
|
@@ -17601,7 +17653,7 @@ const pipes = [
|
|
|
17601
17653
|
EcSanitizerUrlPipe
|
|
17602
17654
|
];
|
|
17603
17655
|
|
|
17604
|
-
var __decorate$
|
|
17656
|
+
var __decorate$2c = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17605
17657
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17606
17658
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17607
17659
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17686,7 +17738,7 @@ let NgEasycommerceModule = NgEasycommerceModule_1 = class NgEasycommerceModule {
|
|
|
17686
17738
|
};
|
|
17687
17739
|
}
|
|
17688
17740
|
};
|
|
17689
|
-
NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$
|
|
17741
|
+
NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$2c([
|
|
17690
17742
|
NgModule({
|
|
17691
17743
|
exports: [
|
|
17692
17744
|
OrderByPipe,
|
|
@@ -17722,7 +17774,7 @@ NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$2b([
|
|
|
17722
17774
|
})
|
|
17723
17775
|
], NgEasycommerceModule);
|
|
17724
17776
|
|
|
17725
|
-
var __decorate$
|
|
17777
|
+
var __decorate$2d = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17726
17778
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17727
17779
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17728
17780
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17770,13 +17822,13 @@ GiftCardService.ctorParameters = () => [
|
|
|
17770
17822
|
{ type: ConnectionService }
|
|
17771
17823
|
];
|
|
17772
17824
|
GiftCardService.ɵprov = ɵɵdefineInjectable({ factory: function GiftCardService_Factory() { return new GiftCardService(ɵɵinject(Constants), ɵɵinject(CartService), ɵɵinject(ConnectionService)); }, token: GiftCardService, providedIn: "root" });
|
|
17773
|
-
GiftCardService = __decorate$
|
|
17825
|
+
GiftCardService = __decorate$2d([
|
|
17774
17826
|
Injectable({
|
|
17775
17827
|
providedIn: 'root'
|
|
17776
17828
|
})
|
|
17777
17829
|
], GiftCardService);
|
|
17778
17830
|
|
|
17779
|
-
var __decorate$
|
|
17831
|
+
var __decorate$2e = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17780
17832
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17781
17833
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17782
17834
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17833,13 +17885,13 @@ WishlistService.ctorParameters = () => [
|
|
|
17833
17885
|
{ type: ToastrService }
|
|
17834
17886
|
];
|
|
17835
17887
|
WishlistService.ɵprov = ɵɵdefineInjectable({ factory: function WishlistService_Factory() { return new WishlistService(ɵɵinject(ToastrService)); }, token: WishlistService, providedIn: "root" });
|
|
17836
|
-
WishlistService = __decorate$
|
|
17888
|
+
WishlistService = __decorate$2e([
|
|
17837
17889
|
Injectable({
|
|
17838
17890
|
providedIn: 'root'
|
|
17839
17891
|
})
|
|
17840
17892
|
], WishlistService);
|
|
17841
17893
|
|
|
17842
|
-
var __decorate$
|
|
17894
|
+
var __decorate$2f = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17843
17895
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17844
17896
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17845
17897
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17875,7 +17927,7 @@ let StandardReuseStrategy = class StandardReuseStrategy {
|
|
|
17875
17927
|
StandardReuseStrategy.ctorParameters = () => [
|
|
17876
17928
|
{ type: undefined, decorators: [{ type: Inject, args: ['env',] }] }
|
|
17877
17929
|
];
|
|
17878
|
-
StandardReuseStrategy = __decorate$
|
|
17930
|
+
StandardReuseStrategy = __decorate$2f([
|
|
17879
17931
|
Injectable(),
|
|
17880
17932
|
__param$e(0, Inject('env'))
|
|
17881
17933
|
], StandardReuseStrategy);
|
|
@@ -17888,5 +17940,5 @@ StandardReuseStrategy = __decorate$2e([
|
|
|
17888
17940
|
* Generated bundle index. Do not edit.
|
|
17889
17941
|
*/
|
|
17890
17942
|
|
|
17891
|
-
export { AbleBuyerGuardService, AccountEcComponent, AddActionRedirectDirective, AddressingService, AnalyticsService, AttributesFilter, AuthEcComponent, AuthGuardService, AuthInterceptor, AuthService, AuthWholesalerDirective, BambooEcComponent, BancardEcComponent, BancardRedirectEcComponent, BannerService, BlockBannerBoxesEcComponent, BlockBannerFullEcComponent, BlockFormContactEcComponent, BlockHtmlEcComponent, BlockProductsEcComponent, BlocksEcComponent, BlocksService, BrowserWindowRef, BuildYourEcComponent, CaptchaService, CartEcComponent, CartLoadEcComponent, CartService, CategoryFilter, CecaRedirectEcComponent, ChannelConfigService, CheckoutEcComponent, CheckoutErrorComponent, CheckoutReadyGuard, CheckoutService, CollectionEcComponent, ConcatenatedAssociationsService, ConfirmAccountEcComponent, ConnectionService, Constants, ContactFormNewsEcComponent, CookiesEcComponent, CouponEcComponent, CurrencyService, DataFormEcComponent, DataformService, DecidirEcComponent, DetailCheckoutBlockEcComponent, DynamicsFilter, EcSanitizerHtmlPipe, EcSanitizerUrlPipe, FaqsContentEcComponent, Filter, FilterOptionTypes, FiltersEcComponent, FiltersService, FiltersTopEcComponent, FooterEcComponent, FooterService, ForgotPasswordEcComponent, GiftCardService, HeaderEcComponent, HomeEcComponent, LoadingFullEcComponent, LoadingInlineEcComponent, LoadingSectionEcComponent, LoggedInGuard, LoginEcComponent, LoginFormEcComponent, MPCreditEcComponent, MobbexEcComponent, ModalConfigEcComponent, ModalCookiesEcComponent, MpRedirectEcComponent, MultipleItemsToCartEcComponent, NgEasycommerceModule, OptionsService, OrderEcComponent, OrdersEcComponent, OrdersService, PaginationService, ParametersService, ParamsContext, PasswordResetEcComponent, PaymentEcComponent, PaymentService, PaypalExpressEcComponent, PriceEcComponent, ProductDetailEcComponent, ProductDetailService, ProductEcComponent, ProductFoundEcComponent, ProductMiniStandardDirective, ProductStockDirective, ProductsService, RatingEcComponent, RedSysProEcComponent, RedSysRedirectEcComponent, RedSysRedirectOutEcComponent, RedsysCatchEcComponent, RegisterFormEcComponent, RegisterWholesalerFormEcComponent, RelatedProductsEcComponent, ReviewsEcComponent, ReviewsFormEcComponent, ReviewsService, SectionContainerEcComponent, SelectChannelEcComponent, ShareBlockEcComponent, ShipmentEcComponent, ShipmentService, SidebarCookiesEcComponent, SidebarEcComponent, SortFilter, StandardReuseStrategy, Step, StoresEcComponent, StoresService, SuccessEcComponent, ToastCookiesEcComponent, ToastService, User, UserRoleGuardService, UtilsService, VariantsEcComponent, WINDOW, WINDOW_PROVIDERS, WindowRef, WishlistService, browserWindowProvider, ecCurrencySymbolPipe,
|
|
17943
|
+
export { AbleBuyerGuardService, AccountEcComponent, AddActionRedirectDirective, AddressingService, AnalyticsService, AttributesFilter, AuthEcComponent, AuthGuardService, AuthInterceptor, AuthService, AuthWholesalerDirective, BambooEcComponent, BancardEcComponent, BancardRedirectEcComponent, BannerService, BlockBannerBoxesEcComponent, BlockBannerFullEcComponent, BlockFormContactEcComponent, BlockHtmlEcComponent, BlockProductsEcComponent, BlockRenderEcComponent, BlocksEcComponent, BlocksService, BrowserWindowRef, BuildYourEcComponent, CaptchaService, CartEcComponent, CartLoadEcComponent, CartService, CategoryFilter, CecaRedirectEcComponent, ChannelConfigService, CheckoutEcComponent, CheckoutErrorComponent, CheckoutReadyGuard, CheckoutService, CollectionEcComponent, ConcatenatedAssociationsService, ConfirmAccountEcComponent, ConnectionService, Constants, ContactFormNewsEcComponent, CookiesEcComponent, CouponEcComponent, CurrencyService, DataFormEcComponent, DataformService, DecidirEcComponent, DetailCheckoutBlockEcComponent, DynamicsFilter, EcSanitizerHtmlPipe, EcSanitizerUrlPipe, FaqsContentEcComponent, Filter, FilterOptionTypes, FiltersEcComponent, FiltersService, FiltersTopEcComponent, FooterEcComponent, FooterService, ForgotPasswordEcComponent, GiftCardService, HeaderEcComponent, HomeEcComponent, LoadingFullEcComponent, LoadingInlineEcComponent, LoadingSectionEcComponent, LoggedInGuard, LoginEcComponent, LoginFormEcComponent, MPCreditEcComponent, MobbexEcComponent, ModalConfigEcComponent, ModalCookiesEcComponent, MpRedirectEcComponent, MultipleItemsToCartEcComponent, NgEasycommerceModule, OptionsService, OrderEcComponent, OrdersEcComponent, OrdersService, PaginationService, ParametersService, ParamsContext, PasswordResetEcComponent, PaymentEcComponent, PaymentService, PaypalExpressEcComponent, PriceEcComponent, ProductDetailEcComponent, ProductDetailService, ProductEcComponent, ProductFoundEcComponent, ProductMiniStandardDirective, ProductStockDirective, ProductsService, RatingEcComponent, RedSysProEcComponent, RedSysRedirectEcComponent, RedSysRedirectOutEcComponent, RedsysCatchEcComponent, RegisterFormEcComponent, RegisterWholesalerFormEcComponent, RelatedProductsEcComponent, ReviewsEcComponent, ReviewsFormEcComponent, ReviewsService, SectionContainerEcComponent, SelectChannelEcComponent, ShareBlockEcComponent, ShipmentEcComponent, ShipmentService, SidebarCookiesEcComponent, SidebarEcComponent, SortFilter, StandardReuseStrategy, Step, StoresEcComponent, StoresService, SuccessEcComponent, ToastCookiesEcComponent, ToastService, User, UserRoleGuardService, UtilsService, VariantsEcComponent, WINDOW, WINDOW_PROVIDERS, WindowRef, WishlistService, browserWindowProvider, ecCurrencySymbolPipe, firstBlockUrl, pickFooterForDevice, toHref, toPageHref, toPageText, toText, windowFactory, windowProvider, OrderByPipe as ɵa, components as ɵb, pipes as ɵba, OptionsOfProductListDataReceiverService as ɵbb, PaymentUtils as ɵbc, CustomerInterceptor as ɵbd, SellerDashboardContainerEcComponent as ɵc, MagnizoomComponent as ɵd, RecaptchaEcComponent as ɵe, ComparedProductsEcComponent as ɵf, StepEcComponent as ɵg, CulqiEcComponent as ɵh, BancardCatastroEcComponent as ɵi, PlaceToPayEcComponent as ɵj, ComponentHelper as ɵk, BlocksRepositoryService as ɵl, FacebookPixelService as ɵm, GoogleAnalyticsService as ɵn, GTMService as ɵo, MetricoolPixelService as ɵp, DopplerService as ɵq, OrderUtilityService as ɵr, StepService as ɵs, ErrorHandlerService as ɵt, IpService as ɵu, ShipmentDataTransformer as ɵv, CookiesService as ɵw, directives as ɵx, ProductOffDirective as ɵy, ReloadViewDirective as ɵz };
|
|
17892
17944
|
//# sourceMappingURL=ng-easycommerce.js.map
|