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.
Files changed (32) hide show
  1. package/README.md +22 -0
  2. package/bundles/ng-easycommerce.umd.js +204 -137
  3. package/bundles/ng-easycommerce.umd.js.map +1 -1
  4. package/bundles/ng-easycommerce.umd.min.js +1 -1
  5. package/bundles/ng-easycommerce.umd.min.js.map +1 -1
  6. package/esm2015/lib/ec-component/blocks-ec/block-render-ec/block-render-ec.component.js +48 -0
  7. package/esm2015/lib/ec-component/footer-ec/footer-ec.component.js +15 -43
  8. package/esm2015/lib/ec-component/index.js +4 -1
  9. package/esm2015/lib/interfaces/footer.types.js +1 -1
  10. package/esm2015/lib/services/footer/footer.adapters.js +87 -47
  11. package/esm2015/lib/services/footer/footer.service.js +3 -8
  12. package/esm2015/public-api.js +2 -1
  13. package/esm5/lib/ec-component/blocks-ec/block-render-ec/block-render-ec.component.js +64 -0
  14. package/esm5/lib/ec-component/footer-ec/footer-ec.component.js +15 -43
  15. package/esm5/lib/ec-component/index.js +4 -1
  16. package/esm5/lib/interfaces/footer.types.js +1 -1
  17. package/esm5/lib/services/footer/footer.adapters.js +87 -48
  18. package/esm5/lib/services/footer/footer.service.js +3 -8
  19. package/esm5/public-api.js +2 -1
  20. package/fesm2015/ng-easycommerce.js +185 -133
  21. package/fesm2015/ng-easycommerce.js.map +1 -1
  22. package/fesm5/ng-easycommerce.js +201 -134
  23. package/fesm5/ng-easycommerce.js.map +1 -1
  24. package/lib/ec-component/blocks-ec/block-render-ec/block-render-ec.component.d.ts +13 -0
  25. package/lib/ec-component/footer-ec/footer-ec.component.d.ts +1 -15
  26. package/lib/ec-component/index.d.ts +1 -0
  27. package/lib/interfaces/footer.types.d.ts +28 -16
  28. package/lib/services/footer/footer.adapters.d.ts +4 -22
  29. package/lib/services/footer/footer.service.d.ts +0 -3
  30. package/ng-easycommerce.metadata.json +1 -1
  31. package/package.json +1 -1
  32. package/public-api.d.ts +1 -0
@@ -9919,73 +9919,112 @@
9919
9919
  return path.startsWith('/') ? path : '/' + path;
9920
9920
  }
9921
9921
  function toHref(item) {
9922
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
9923
9922
  switch (item.type) {
9924
- case 'url':
9925
- return ((_a = item.link) === null || _a === void 0 ? void 0 : _a.url) || '#';
9923
+ case 'url': {
9924
+ var l = item.link || {};
9925
+ return l.url || '#';
9926
+ }
9926
9927
  case 'category': {
9927
- var c = (_b = item.link) === null || _b === void 0 ? void 0 : _b.category;
9928
- return ((_c = c) === null || _c === void 0 ? void 0 : _c.slug) ? "/collection/categories/" + encodeURIComponent(c.slug) : '#';
9928
+ var l = item.link || {};
9929
+ var c = l.category || null;
9930
+ return c && c.slug ? '/collection/categories/' + encodeURIComponent(c.slug) : '#';
9929
9931
  }
9930
- case 'section':
9931
- return '#';
9932
9932
  case 'parameter': {
9933
- var p = (_d = item.link) === null || _d === void 0 ? void 0 : _d.parameter;
9934
- if (((_f = (_e = p) === null || _e === void 0 ? void 0 : _e.code) === null || _f === void 0 ? void 0 : _f.startsWith('link_')) && ((_g = p) === null || _g === void 0 ? void 0 : _g.value))
9933
+ var l = item.link || {};
9934
+ var p = l.parameter || null;
9935
+ if (p && p.code && p.code.indexOf('link_') === 0 && p.value)
9935
9936
  return p.value;
9936
- var key = encodeURIComponent((_j = (_h = p) === null || _h === void 0 ? void 0 : _h.code, (_j !== null && _j !== void 0 ? _j : 'param')));
9937
- var val = encodeURIComponent((_l = (_k = p) === null || _k === void 0 ? void 0 : _k.value, (_l !== null && _l !== void 0 ? _l : '')));
9938
- return "/buscar?" + key + "=" + val;
9937
+ var key = encodeURIComponent((p && p.code) ? p.code : 'param');
9938
+ var val = encodeURIComponent((p && p.value) ? String(p.value) : '');
9939
+ return '/buscar?' + key + '=' + val;
9940
+ }
9941
+ case 'page': {
9942
+ var l = item.link || {};
9943
+ var pg = l.page || {};
9944
+ return toPageHref(pg, 'pages/');
9945
+ }
9946
+ case 'block': {
9947
+ var l = item.link || {};
9948
+ var blk = l.block || {};
9949
+ var url = firstBlockUrl(blk);
9950
+ return url || '#';
9939
9951
  }
9940
9952
  case 'text':
9941
9953
  default:
9942
9954
  return '#';
9943
9955
  }
9944
9956
  }
9957
+ function toPageHref(page, base) {
9958
+ base = withLeadingSlash(base || 'pages/');
9959
+ if (!page)
9960
+ return '#';
9961
+ if (page.slug)
9962
+ return base + encodeURIComponent(String(page.slug));
9963
+ if (page.code)
9964
+ return base + encodeURIComponent(String(page.code));
9965
+ return '#';
9966
+ }
9967
+ function firstBlockUrl(block) {
9968
+ if (!block || !block.banners || !block.banners.length)
9969
+ return null;
9970
+ var banner = block.banners[0] || {};
9971
+ if (banner.url)
9972
+ return String(banner.url);
9973
+ var tr = banner.translations || {};
9974
+ var candLocales = ['es_AR', 'es-AR', 'es', 'default'];
9975
+ for (var i = 0; i < candLocales.length; i++) {
9976
+ var loc = candLocales[i];
9977
+ if (tr[loc] && tr[loc].url)
9978
+ return String(tr[loc].url);
9979
+ if (tr[loc] && tr[loc].translatable && tr[loc].translatable.url) {
9980
+ return String(tr[loc].translatable.url);
9981
+ }
9982
+ }
9983
+ return null;
9984
+ }
9945
9985
  function toText(item) {
9946
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
9947
9986
  if (item.label)
9948
9987
  return item.label;
9988
+ if (item.labelResolved)
9989
+ return item.labelResolved;
9949
9990
  switch (item.type) {
9950
- case 'category': return _f = (_c = (_b = (_a = item.link) === null || _a === void 0 ? void 0 : _a.category) === null || _b === void 0 ? void 0 : _b.name, (_c !== null && _c !== void 0 ? _c : (_e = (_d = item.link) === null || _d === void 0 ? void 0 : _d.category) === null || _e === void 0 ? void 0 : _e.code)), (_f !== null && _f !== void 0 ? _f : 'Categoría');
9951
- case 'section': return _m = (_j = (_h = (_g = item.link) === null || _g === void 0 ? void 0 : _g.section) === null || _h === void 0 ? void 0 : _h.name, (_j !== null && _j !== void 0 ? _j : (_l = (_k = item.link) === null || _k === void 0 ? void 0 : _k.section) === null || _l === void 0 ? void 0 : _l.code)), (_m !== null && _m !== void 0 ? _m : 'Sección');
9952
- case 'parameter': return _q = (_p = (_o = item.link) === null || _o === void 0 ? void 0 : _o.parameter) === null || _p === void 0 ? void 0 : _p.code, (_q !== null && _q !== void 0 ? _q : 'Parámetro');
9991
+ case 'category': {
9992
+ var l = item.link || {};
9993
+ var c = l.category || null;
9994
+ if (c && c.name)
9995
+ return String(c.name);
9996
+ if (c && c.code)
9997
+ return String(c.code);
9998
+ return 'Categoría';
9999
+ }
10000
+ case 'page': {
10001
+ var l = item.link || {};
10002
+ var pg = l.page || {};
10003
+ return toPageText(pg);
10004
+ }
10005
+ case 'parameter': {
10006
+ var l = item.link || {};
10007
+ var p = l.parameter || null;
10008
+ return (p && p.code) ? String(p.code) : 'Parámetro';
10009
+ }
10010
+ case 'block': {
10011
+ var l = item.link || {};
10012
+ var blk = l.block || {};
10013
+ return blk && blk.code ? String(blk.code) : 'Bloque';
10014
+ }
9953
10015
  case 'url': return 'Enlace';
9954
10016
  case 'text': return '';
9955
10017
  default: return 'Enlace';
9956
10018
  }
9957
10019
  }
9958
- /** Devuelve el array de páginas de una sección (puede ser []). */
9959
- function getSectionPages(item) {
9960
- var _a, _b, _c;
9961
- if (item.type !== 'section')
9962
- return [];
9963
- return (_c = (_b = (_a = item.link) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.pages, (_c !== null && _c !== void 0 ? _c : []));
9964
- }
9965
- /** Helper para saber si una sección trae al menos una página habilitada (o cualquiera si no validás enabled). */
9966
- function hasSectionPages(item, onlyEnabled) {
9967
- if (onlyEnabled === void 0) { onlyEnabled = true; }
9968
- var pages = getSectionPages(item);
9969
- return onlyEnabled ? pages.some(function (p) { var _a; return (_a = p) === null || _a === void 0 ? void 0 : _a.enabled; }) : pages.length > 0;
9970
- }
9971
- /**
9972
- * Arma el href de UNA página de sección.
9973
- * @param item FooterItemView de tipo 'section'
9974
- * @param pageCode code de la página (obligatorio)
9975
- * @param sectionsBase base que te da consts.getSectionsRoute(), ej: 'section/' o '/section/'
9976
- */
9977
- function toSectionPageHref(item, pageCode, sectionsBase) {
9978
- if (item.type !== 'section')
9979
- return '#';
9980
- if (!pageCode)
9981
- return '#';
9982
- var base = withLeadingSlash(sectionsBase || 'section/');
9983
- return "" + base + encodeURIComponent(pageCode);
9984
- }
9985
- /** Texto a mostrar para la página (fallback name -> code). */
9986
- function toSectionPageText(page) {
9987
- var _a, _b, _c, _d;
9988
- 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();
10020
+ function toPageText(page) {
10021
+ if (!page)
10022
+ return '';
10023
+ if (page.name)
10024
+ return String(page.name);
10025
+ if (page.code)
10026
+ return String(page.code);
10027
+ return '';
9989
10028
  }
9990
10029
 
9991
10030
  function pickFooterForDevice(footers, device) {
@@ -10011,7 +10050,6 @@
10011
10050
  this.columns$ = this.columnsSubject.asObservable();
10012
10051
  this.extrasSubject = new rxjs.BehaviorSubject(null);
10013
10052
  this.extras$ = this.extrasSubject.asObservable();
10014
- // === NUEVO: cache en memoria ===
10015
10053
  this.cachedList = [];
10016
10054
  this.currentDevice = 'desktop';
10017
10055
  this.loaded = false;
@@ -10036,11 +10074,9 @@
10036
10074
  _this.extrasSubject.next((_c = (_b = chosen) === null || _b === void 0 ? void 0 : _b.extras, (_c !== null && _c !== void 0 ? _c : null)));
10037
10075
  });
10038
10076
  };
10039
- /** Carga UNA SOLA VEZ y cachea todo. Luego aplica según device actual. */
10040
10077
  FooterService$1.prototype.loadOnce = function (initialDevice) {
10041
10078
  var _this = this;
10042
10079
  if (this.loaded) {
10043
- // ya tengo datos: solo (re)aplico el device actual o el que me pasen
10044
10080
  if (initialDevice && initialDevice !== this.currentDevice) {
10045
10081
  this.currentDevice = initialDevice;
10046
10082
  this.applyDevice();
@@ -10053,19 +10089,17 @@
10053
10089
  .subscribe(function (res) {
10054
10090
  _this.cachedList = Array.isArray(res) ? res : [];
10055
10091
  _this.loaded = true;
10056
- _this.applyDevice(); // pinta columns/extras según this.currentDevice
10092
+ _this.applyDevice();
10057
10093
  });
10058
10094
  };
10059
- /** Cambia el device y re-arma columnas/extras desde el cache (sin API). */
10060
10095
  FooterService$1.prototype.setDevice = function (device) {
10061
10096
  if (device === this.currentDevice)
10062
10097
  return;
10063
10098
  this.currentDevice = device;
10064
10099
  if (!this.loaded)
10065
- return; // todavía no llegó la data
10100
+ return;
10066
10101
  this.applyDevice();
10067
10102
  };
10068
- /** Recalcula columns/extras para el currentDevice usando el cache. */
10069
10103
  FooterService$1.prototype.applyDevice = function () {
10070
10104
  var _this = this;
10071
10105
  var _a, _b, _c;
@@ -10159,7 +10193,6 @@
10159
10193
  _this.categories = [];
10160
10194
  _this.attributes = [];
10161
10195
  _this.params = {};
10162
- // helpers a mano para el template
10163
10196
  _this.toHref = toHref;
10164
10197
  _this.toText = toText;
10165
10198
  _this.updateCategories = function (categories) {
@@ -10198,7 +10231,6 @@
10198
10231
  _this.ecUpdateMenuItemAttributes = function (menuItems) {
10199
10232
  return menuItems;
10200
10233
  };
10201
- /* ----------------- Trackers para *ngFor ----------------- */
10202
10234
  _this.trackById = function (_, it) { var _a, _b; return _b = (_a = it) === null || _a === void 0 ? void 0 : _a.id, (_b !== null && _b !== void 0 ? _b : _); };
10203
10235
  _this.trackByPos = function (_, it) { var _a, _b; return _b = (_a = it) === null || _a === void 0 ? void 0 : _a.position, (_b !== null && _b !== void 0 ? _b : _); };
10204
10236
  _this.optionsService.sections.subscribe(function (res) { return (res.length > 0) && _this.updateMenuItem(res); });
@@ -10211,13 +10243,10 @@
10211
10243
  FooterEcComponent.prototype.ngOnInit = function () {
10212
10244
  var _this = this;
10213
10245
  this.paramsService.parameters.subscribe(function (res) { return _this.params = res; });
10214
- // API: nos suscribimos a las columnas
10215
10246
  this.columns$ = this.footerService.columns$;
10216
10247
  this.extras$ = this.footerService.extras$;
10217
- // Carga inicial UNA sola vez con el device actual
10218
10248
  var initialDevice = this.getDevice();
10219
10249
  this.footerService.loadOnce(initialDevice);
10220
- // Conmutación por resize SIN llamar a la API
10221
10250
  if (common.isPlatformBrowser(this.platformId)) {
10222
10251
  this.deviceSub = rxjs.merge(rxjs.of(initialDevice), rxjs.fromEvent(window, 'resize').pipe(operators.debounceTime(150), operators.map(function () { return _this.getDevice(); }), operators.distinctUntilChanged())).subscribe(function (d) { return _this.footerService.setDevice(d); });
10223
10252
  }
@@ -10228,25 +10257,19 @@
10228
10257
  return 'desktop';
10229
10258
  return window.innerWidth < 750 ? 'mobile' : 'desktop';
10230
10259
  };
10231
- // ¿El string "parece" una URL de imagen (por extensión)?
10232
10260
  FooterEcComponent.prototype.isImageUrl = function (v) {
10233
10261
  return !!v && /\.(png|jpe?g|svg|webp)$/i.test(v);
10234
10262
  };
10235
- // Convierte un path relativo del media server en URL absoluta, o deja pasar si ya es http(s)
10236
10263
  FooterEcComponent.prototype.absOrMedia = function (v) {
10237
- // Si "v" viene con "/media/image/", sacar esa parte
10238
10264
  var path = v.startsWith('/media/image/') ? v.replace('/media/image/', '') : v;
10239
10265
  return /^https?:\/\//i.test(path) ? path : (this.mediaUrl + path);
10240
10266
  };
10241
10267
  /* ----------------- Helpers para items tipo parameter ----------------- */
10242
- // Devuelve el string del value del parámetro
10243
10268
  FooterEcComponent.prototype.paramValue = function (it) {
10244
10269
  return (it && it.link && it.link.parameter && typeof it.link.parameter.value === 'string')
10245
10270
  ? it.link.parameter.value
10246
10271
  : '';
10247
10272
  };
10248
- // Devuelve SOLO el path de imagen del parámetro (si existe en images[0].path,
10249
- // si no, usa value si luce como imagen). No agrega mediaUrl todavía.
10250
10273
  FooterEcComponent.prototype.paramImagePath = function (it) {
10251
10274
  var _a, _b;
10252
10275
  var p = (_b = (_a = it) === null || _a === void 0 ? void 0 : _a.link) === null || _b === void 0 ? void 0 : _b.parameter;
@@ -10257,31 +10280,10 @@
10257
10280
  return imgPath;
10258
10281
  return this.isImageUrl(p.value) ? p.value : '';
10259
10282
  };
10260
- // ¿El parámetro representa una imagen?
10261
10283
  FooterEcComponent.prototype.isImageParam = function (it) {
10262
10284
  var path = this.paramImagePath(it);
10263
10285
  return !!path;
10264
10286
  };
10265
- /* ----------------- Secciones → páginas (helpers neutrales) ----------------- */
10266
- FooterEcComponent.prototype.sectionPages = function (item) {
10267
- return getSectionPages(item).filter(function (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); });
10268
- };
10269
- FooterEcComponent.prototype.sectionHasPages = function (item) {
10270
- return this.sectionPages(item).length > 0;
10271
- };
10272
- FooterEcComponent.prototype.sectionPageText = function (page) {
10273
- var _a, _b;
10274
- return (((_a = page) === null || _a === void 0 ? void 0 : _a.name) || ((_b = page) === null || _b === void 0 ? void 0 : _b.code) || '').toString();
10275
- };
10276
- FooterEcComponent.prototype.sectionPageHref = function (page) {
10277
- var _a, _b, _c;
10278
- var base = (((_b = (_a = this.consts).getSectionsRoute) === null || _b === void 0 ? void 0 : _b.call(_a)) || 'section/');
10279
- var seg = (((_c = page) === null || _c === void 0 ? void 0 : _c.code) || '').toString();
10280
- if (!seg)
10281
- return '#';
10282
- var pref = base.startsWith('/') ? base : "/" + base;
10283
- return "" + pref + encodeURIComponent(seg);
10284
- };
10285
10287
  /* ----------------- Helpers para EXTRAS ----------------- */
10286
10288
  FooterEcComponent.prototype.logoUrl = function (extras) {
10287
10289
  var _a, _b, _c;
@@ -10307,7 +10309,6 @@
10307
10309
  FooterEcComponent.prototype.styleFor = function (it) {
10308
10310
  var _a, _b;
10309
10311
  var s = ((_a = it) === null || _a === void 0 ? void 0 : _a.style) || {};
10310
- // coerción: si viene string, lo paso a number; si null/0, no seteo
10311
10312
  var fs = (_b = s.fontSize, (_b !== null && _b !== void 0 ? _b : undefined));
10312
10313
  var fsNum = typeof fs === 'string' ? parseInt(fs, 10) : fs;
10313
10314
  return {
@@ -10317,17 +10318,14 @@
10317
10318
  'font-size.px': Number.isFinite(fsNum) ? fsNum : null,
10318
10319
  };
10319
10320
  };
10320
- // en FooterComponent (hijo)
10321
10321
  FooterEcComponent.prototype.isInternalUrl = function (url) {
10322
10322
  return !!url && url.startsWith('/');
10323
10323
  };
10324
10324
  FooterEcComponent.prototype.makeAbsolute = function (url) {
10325
- // para abrir rutas internas en nueva pestaña/ventana
10326
10325
  try {
10327
10326
  return this.isInternalUrl(url) ? (window.location.origin + url) : url;
10328
10327
  }
10329
- catch ( // SSR/seguridad
10330
- _a) { // SSR/seguridad
10328
+ catch (_a) {
10331
10329
  return url;
10332
10330
  }
10333
10331
  };
@@ -10342,24 +10340,32 @@
10342
10340
  ev.preventDefault();
10343
10341
  this.router.navigateByUrl(url);
10344
10342
  }
10345
- // si es externo, dejamos que el <a href> lo maneje en la misma pestaña
10346
10343
  return;
10347
10344
  }
10348
10345
  // new_tab | new_window ⇒ window.open
10349
10346
  ev.preventDefault();
10350
10347
  var full = this.makeAbsolute(url);
10351
- // para ambos usamos _blank, la diferencia son los "features"
10352
10348
  var features = (target === 'new_window')
10353
- ? 'noopener,noreferrer,width=1024,height=768' // ajustá tamaño/props a gusto
10349
+ ? 'noopener,noreferrer,width=1024,height=768'
10354
10350
  : 'noopener,noreferrer';
10355
10351
  try {
10356
10352
  window.open(full, '_blank', features);
10357
10353
  }
10358
10354
  catch (_a) {
10359
- // fallback por si un popup blocker interfiere
10360
10355
  window.location.href = full;
10361
10356
  }
10362
10357
  };
10358
+ FooterEcComponent.prototype.pageHref = function (it) {
10359
+ var _a, _b, _c, _d, _e, _f, _g, _h;
10360
+ if (!it || it.type !== 'page')
10361
+ return '#';
10362
+ var base = (((_b = (_a = this.consts).getSectionsRoute) === null || _b === void 0 ? void 0 : _b.call(_a)) || 'section/');
10363
+ var pref = base.startsWith('/') ? base : "/" + base;
10364
+ var 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) || '';
10365
+ if (!code)
10366
+ return '#';
10367
+ return "" + pref + encodeURIComponent(code);
10368
+ };
10363
10369
  FooterEcComponent.ctorParameters = function () { return [
10364
10370
  { type: OptionsService },
10365
10371
  { type: ParametersService },
@@ -19937,6 +19943,66 @@
19937
19943
  return PlaceToPayEcComponent;
19938
19944
  }(ComponentHelper));
19939
19945
 
19946
+ var __extends$1g = (this && this.__extends) || (function () {
19947
+ var extendStatics = function (d, b) {
19948
+ extendStatics = Object.setPrototypeOf ||
19949
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19950
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
19951
+ return extendStatics(d, b);
19952
+ };
19953
+ return function (d, b) {
19954
+ extendStatics(d, b);
19955
+ function __() { this.constructor = d; }
19956
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
19957
+ };
19958
+ })();
19959
+ var __decorate$22 = (this && this.__decorate) || function (decorators, target, key, desc) {
19960
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19961
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
19962
+ 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;
19963
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19964
+ };
19965
+ var BlockRenderEcComponent = /** @class */ (function (_super) {
19966
+ __extends$1g(BlockRenderEcComponent, _super);
19967
+ function BlockRenderEcComponent(consts) {
19968
+ var _this = _super.call(this) || this;
19969
+ _this.consts = consts;
19970
+ _this.ecOnConstruct();
19971
+ return _this;
19972
+ }
19973
+ BlockRenderEcComponent.prototype.ngOnInit = function () {
19974
+ this.ecOnInit();
19975
+ };
19976
+ BlockRenderEcComponent.prototype.ngOnChanges = function () { };
19977
+ BlockRenderEcComponent.prototype.isNewsletter = function (block) {
19978
+ var _a, _b;
19979
+ var code = ((_b = (_a = block) === null || _a === void 0 ? void 0 : _a.contactForm) === null || _b === void 0 ? void 0 : _b.code) || '';
19980
+ return typeof code === 'string' && code.toLowerCase().includes('news');
19981
+ };
19982
+ BlockRenderEcComponent.prototype.getHTMLContent = function (block) {
19983
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
19984
+ var locale = ((_b = (_a = this.consts).getLocale) === null || _b === void 0 ? void 0 : _b.call(_a)) || 'es_AR';
19985
+ 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)
19986
+ || ((_j = block) === null || _j === void 0 ? void 0 : _j.content)
19987
+ || '';
19988
+ };
19989
+ BlockRenderEcComponent.ctorParameters = function () { return [
19990
+ { type: Constants }
19991
+ ]; };
19992
+ __decorate$22([
19993
+ core.Input()
19994
+ ], BlockRenderEcComponent.prototype, "block", void 0);
19995
+ BlockRenderEcComponent = __decorate$22([
19996
+ core.Component({
19997
+ selector: 'app-block-render-ec',
19998
+ 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>",
19999
+ inputs: ['block'],
20000
+ styles: [""]
20001
+ })
20002
+ ], BlockRenderEcComponent);
20003
+ return BlockRenderEcComponent;
20004
+ }(ComponentHelper));
20005
+
19940
20006
  // //Component base
19941
20007
  var components = [
19942
20008
  BlockBannerBoxesEcComponent,
@@ -19946,6 +20012,7 @@
19946
20012
  ContactFormNewsEcComponent,
19947
20013
  BlockProductsEcComponent,
19948
20014
  BlocksEcComponent,
20015
+ BlockRenderEcComponent,
19949
20016
  CartEcComponent,
19950
20017
  DataFormEcComponent,
19951
20018
  PaymentEcComponent,
@@ -20021,7 +20088,7 @@
20021
20088
  SidebarEcComponent
20022
20089
  ];
20023
20090
 
20024
- var __decorate$22 = (this && this.__decorate) || function (decorators, target, key, desc) {
20091
+ var __decorate$23 = (this && this.__decorate) || function (decorators, target, key, desc) {
20025
20092
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20026
20093
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20027
20094
  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;
@@ -20101,16 +20168,16 @@
20101
20168
  { type: BlocksService },
20102
20169
  { type: router.Router }
20103
20170
  ]; };
20104
- __decorate$22([
20171
+ __decorate$23([
20105
20172
  core.Input()
20106
20173
  ], AddActionRedirectDirective.prototype, "ecAddActionRedirect", null);
20107
- __decorate$22([
20174
+ __decorate$23([
20108
20175
  core.Input()
20109
20176
  ], AddActionRedirectDirective.prototype, "classStrSpacing", null);
20110
- __decorate$22([
20177
+ __decorate$23([
20111
20178
  core.Input()
20112
20179
  ], AddActionRedirectDirective.prototype, "isTransparent", null);
20113
- AddActionRedirectDirective = __decorate$22([
20180
+ AddActionRedirectDirective = __decorate$23([
20114
20181
  core.Directive({
20115
20182
  selector: "[ecAddActionRedirect]",
20116
20183
  }),
@@ -20119,7 +20186,7 @@
20119
20186
  return AddActionRedirectDirective;
20120
20187
  }());
20121
20188
 
20122
- var __decorate$23 = (this && this.__decorate) || function (decorators, target, key, desc) {
20189
+ var __decorate$24 = (this && this.__decorate) || function (decorators, target, key, desc) {
20123
20190
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20124
20191
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20125
20192
  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;
@@ -20184,13 +20251,13 @@
20184
20251
  { type: core.TemplateRef },
20185
20252
  { type: core.ViewContainerRef }
20186
20253
  ]; };
20187
- __decorate$23([
20254
+ __decorate$24([
20188
20255
  core.Input()
20189
20256
  ], ProductStockDirective.prototype, "ecProductStockElse", void 0);
20190
- __decorate$23([
20257
+ __decorate$24([
20191
20258
  core.Input()
20192
20259
  ], ProductStockDirective.prototype, "ecProductStock", null);
20193
- ProductStockDirective = __decorate$23([
20260
+ ProductStockDirective = __decorate$24([
20194
20261
  core.Directive({
20195
20262
  selector: "[ecProductStock]"
20196
20263
  })
@@ -20198,7 +20265,7 @@
20198
20265
  return ProductStockDirective;
20199
20266
  }());
20200
20267
 
20201
- var __decorate$24 = (this && this.__decorate) || function (decorators, target, key, desc) {
20268
+ var __decorate$25 = (this && this.__decorate) || function (decorators, target, key, desc) {
20202
20269
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20203
20270
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20204
20271
  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;
@@ -20339,16 +20406,16 @@
20339
20406
  { type: core.ElementRef },
20340
20407
  { type: core.Renderer2 }
20341
20408
  ]; };
20342
- __decorate$24([
20409
+ __decorate$25([
20343
20410
  core.Input()
20344
20411
  ], ProductOffDirective.prototype, "ecProductOff", null);
20345
- __decorate$24([
20412
+ __decorate$25([
20346
20413
  core.Input()
20347
20414
  ], ProductOffDirective.prototype, "classStrSpacing", null);
20348
- __decorate$24([
20415
+ __decorate$25([
20349
20416
  core.Input()
20350
20417
  ], ProductOffDirective.prototype, "customMessage", null);
20351
- ProductOffDirective = __decorate$24([
20418
+ ProductOffDirective = __decorate$25([
20352
20419
  core.Directive({
20353
20420
  selector: "[ecProductOff]",
20354
20421
  }),
@@ -20357,7 +20424,7 @@
20357
20424
  return ProductOffDirective;
20358
20425
  }());
20359
20426
 
20360
- var __decorate$25 = (this && this.__decorate) || function (decorators, target, key, desc) {
20427
+ var __decorate$26 = (this && this.__decorate) || function (decorators, target, key, desc) {
20361
20428
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20362
20429
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20363
20430
  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;
@@ -20415,10 +20482,10 @@
20415
20482
  { type: core.Renderer2 },
20416
20483
  { type: Constants }
20417
20484
  ]; };
20418
- __decorate$25([
20485
+ __decorate$26([
20419
20486
  core.Input()
20420
20487
  ], ProductMiniStandardDirective.prototype, "ecProductMiniStandard", null);
20421
- ProductMiniStandardDirective = __decorate$25([
20488
+ ProductMiniStandardDirective = __decorate$26([
20422
20489
  core.Directive({
20423
20490
  selector: '[ecProductMiniStandard]'
20424
20491
  })
@@ -20426,7 +20493,7 @@
20426
20493
  return ProductMiniStandardDirective;
20427
20494
  }());
20428
20495
 
20429
- var __decorate$26 = (this && this.__decorate) || function (decorators, target, key, desc) {
20496
+ var __decorate$27 = (this && this.__decorate) || function (decorators, target, key, desc) {
20430
20497
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20431
20498
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20432
20499
  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;
@@ -20469,13 +20536,13 @@
20469
20536
  { type: core.ViewContainerRef },
20470
20537
  { type: AuthService }
20471
20538
  ]; };
20472
- __decorate$26([
20539
+ __decorate$27([
20473
20540
  core.Input()
20474
20541
  ], AuthWholesalerDirective.prototype, "ecAuthWholesalerElse", void 0);
20475
- __decorate$26([
20542
+ __decorate$27([
20476
20543
  core.Input()
20477
20544
  ], AuthWholesalerDirective.prototype, "ecAuthWholesaler", null);
20478
- AuthWholesalerDirective = __decorate$26([
20545
+ AuthWholesalerDirective = __decorate$27([
20479
20546
  core.Directive({
20480
20547
  selector: "[ecAuthWholesaler]"
20481
20548
  })
@@ -20483,7 +20550,7 @@
20483
20550
  return AuthWholesalerDirective;
20484
20551
  }());
20485
20552
 
20486
- var __decorate$27 = (this && this.__decorate) || function (decorators, target, key, desc) {
20553
+ var __decorate$28 = (this && this.__decorate) || function (decorators, target, key, desc) {
20487
20554
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20488
20555
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20489
20556
  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;
@@ -20505,10 +20572,10 @@
20505
20572
  { type: core.TemplateRef },
20506
20573
  { type: core.ViewContainerRef }
20507
20574
  ]; };
20508
- __decorate$27([
20575
+ __decorate$28([
20509
20576
  core.Input()
20510
20577
  ], ReloadViewDirective.prototype, "ecReloadView", void 0);
20511
- ReloadViewDirective = __decorate$27([
20578
+ ReloadViewDirective = __decorate$28([
20512
20579
  core.Directive({
20513
20580
  selector: '[ecReloadView]'
20514
20581
  })
@@ -20531,7 +20598,7 @@
20531
20598
  ReloadViewDirective,
20532
20599
  ];
20533
20600
 
20534
- var __decorate$28 = (this && this.__decorate) || function (decorators, target, key, desc) {
20601
+ var __decorate$29 = (this && this.__decorate) || function (decorators, target, key, desc) {
20535
20602
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20536
20603
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20537
20604
  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;
@@ -20620,7 +20687,7 @@
20620
20687
  { type: CurrencyService },
20621
20688
  { type: core.Injector }
20622
20689
  ]; };
20623
- ecCurrencySymbolPipe = __decorate$28([
20690
+ ecCurrencySymbolPipe = __decorate$29([
20624
20691
  core.Pipe({
20625
20692
  name: 'ecCurrencySymbol',
20626
20693
  pure: false
@@ -20629,7 +20696,7 @@
20629
20696
  return ecCurrencySymbolPipe;
20630
20697
  }());
20631
20698
 
20632
- var __decorate$29 = (this && this.__decorate) || function (decorators, target, key, desc) {
20699
+ var __decorate$2a = (this && this.__decorate) || function (decorators, target, key, desc) {
20633
20700
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20634
20701
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20635
20702
  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;
@@ -20645,7 +20712,7 @@
20645
20712
  EcSanitizerHtmlPipe.ctorParameters = function () { return [
20646
20713
  { type: platformBrowser.DomSanitizer }
20647
20714
  ]; };
20648
- EcSanitizerHtmlPipe = __decorate$29([
20715
+ EcSanitizerHtmlPipe = __decorate$2a([
20649
20716
  core.Pipe({
20650
20717
  name: 'ecSanitizerHtml'
20651
20718
  })
@@ -20653,7 +20720,7 @@
20653
20720
  return EcSanitizerHtmlPipe;
20654
20721
  }());
20655
20722
 
20656
- var __decorate$2a = (this && this.__decorate) || function (decorators, target, key, desc) {
20723
+ var __decorate$2b = (this && this.__decorate) || function (decorators, target, key, desc) {
20657
20724
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20658
20725
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20659
20726
  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;
@@ -20669,7 +20736,7 @@
20669
20736
  EcSanitizerUrlPipe.ctorParameters = function () { return [
20670
20737
  { type: platformBrowser.DomSanitizer }
20671
20738
  ]; };
20672
- EcSanitizerUrlPipe = __decorate$2a([
20739
+ EcSanitizerUrlPipe = __decorate$2b([
20673
20740
  core.Pipe({
20674
20741
  name: 'ecSanitizerUrl'
20675
20742
  })
@@ -20684,7 +20751,7 @@
20684
20751
  EcSanitizerUrlPipe
20685
20752
  ];
20686
20753
 
20687
- var __decorate$2b = (this && this.__decorate) || function (decorators, target, key, desc) {
20754
+ var __decorate$2c = (this && this.__decorate) || function (decorators, target, key, desc) {
20688
20755
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20689
20756
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20690
20757
  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;
@@ -20771,7 +20838,7 @@
20771
20838
  };
20772
20839
  };
20773
20840
  var NgEasycommerceModule_1;
20774
- NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$2b([
20841
+ NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$2c([
20775
20842
  core.NgModule({
20776
20843
  exports: [
20777
20844
  OrderByPipe,
@@ -20809,7 +20876,7 @@
20809
20876
  return NgEasycommerceModule;
20810
20877
  }());
20811
20878
 
20812
- var __decorate$2c = (this && this.__decorate) || function (decorators, target, key, desc) {
20879
+ var __decorate$2d = (this && this.__decorate) || function (decorators, target, key, desc) {
20813
20880
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20814
20881
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20815
20882
  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;
@@ -20857,7 +20924,7 @@
20857
20924
  { type: ConnectionService }
20858
20925
  ]; };
20859
20926
  GiftCardService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function GiftCardService_Factory() { return new GiftCardService(core.ɵɵinject(Constants), core.ɵɵinject(CartService), core.ɵɵinject(ConnectionService)); }, token: GiftCardService, providedIn: "root" });
20860
- GiftCardService$1 = __decorate$2c([
20927
+ GiftCardService$1 = __decorate$2d([
20861
20928
  core.Injectable({
20862
20929
  providedIn: 'root'
20863
20930
  })
@@ -20865,7 +20932,7 @@
20865
20932
  return GiftCardService$1;
20866
20933
  }());
20867
20934
 
20868
- var __decorate$2d = (this && this.__decorate) || function (decorators, target, key, desc) {
20935
+ var __decorate$2e = (this && this.__decorate) || function (decorators, target, key, desc) {
20869
20936
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20870
20937
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20871
20938
  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;
@@ -20921,7 +20988,7 @@
20921
20988
  { type: ngxToastr.ToastrService }
20922
20989
  ]; };
20923
20990
  WishlistService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function WishlistService_Factory() { return new WishlistService(core.ɵɵinject(ngxToastr.ToastrService)); }, token: WishlistService, providedIn: "root" });
20924
- WishlistService$1 = __decorate$2d([
20991
+ WishlistService$1 = __decorate$2e([
20925
20992
  core.Injectable({
20926
20993
  providedIn: 'root'
20927
20994
  })
@@ -20929,7 +20996,7 @@
20929
20996
  return WishlistService$1;
20930
20997
  }());
20931
20998
 
20932
- var __decorate$2e = (this && this.__decorate) || function (decorators, target, key, desc) {
20999
+ var __decorate$2f = (this && this.__decorate) || function (decorators, target, key, desc) {
20933
21000
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20934
21001
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20935
21002
  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;
@@ -20964,7 +21031,7 @@
20964
21031
  StandardReuseStrategy.ctorParameters = function () { return [
20965
21032
  { type: undefined, decorators: [{ type: core.Inject, args: ['env',] }] }
20966
21033
  ]; };
20967
- StandardReuseStrategy = __decorate$2e([
21034
+ StandardReuseStrategy = __decorate$2f([
20968
21035
  core.Injectable(),
20969
21036
  __param$e(0, core.Inject('env'))
20970
21037
  ], StandardReuseStrategy);
@@ -20991,6 +21058,7 @@
20991
21058
  exports.BlockFormContactEcComponent = BlockFormContactEcComponent;
20992
21059
  exports.BlockHtmlEcComponent = BlockHtmlEcComponent;
20993
21060
  exports.BlockProductsEcComponent = BlockProductsEcComponent;
21061
+ exports.BlockRenderEcComponent = BlockRenderEcComponent;
20994
21062
  exports.BlocksEcComponent = BlocksEcComponent;
20995
21063
  exports.BlocksService = BlocksService;
20996
21064
  exports.BrowserWindowRef = BrowserWindowRef;
@@ -21101,12 +21169,11 @@
21101
21169
  exports.WishlistService = WishlistService;
21102
21170
  exports.browserWindowProvider = browserWindowProvider;
21103
21171
  exports.ecCurrencySymbolPipe = ecCurrencySymbolPipe;
21104
- exports.getSectionPages = getSectionPages;
21105
- exports.hasSectionPages = hasSectionPages;
21172
+ exports.firstBlockUrl = firstBlockUrl;
21106
21173
  exports.pickFooterForDevice = pickFooterForDevice;
21107
21174
  exports.toHref = toHref;
21108
- exports.toSectionPageHref = toSectionPageHref;
21109
- exports.toSectionPageText = toSectionPageText;
21175
+ exports.toPageHref = toPageHref;
21176
+ exports.toPageText = toPageText;
21110
21177
  exports.toText = toText;
21111
21178
  exports.windowFactory = windowFactory;
21112
21179
  exports.windowProvider = windowProvider;