ctt-babylon 0.22.81 → 0.22.83
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/fesm2022/ctt-babylon.mjs
CHANGED
|
@@ -5603,7 +5603,8 @@ class MapperService {
|
|
|
5603
5603
|
mapContactMap(props) {
|
|
5604
5604
|
return {
|
|
5605
5605
|
contentUrl: props?.texts?.phoneIcon,
|
|
5606
|
-
mapImage: this.getImageResponsive(props?.multimedia?.imagenes?.[0]
|
|
5606
|
+
mapImage: this.getImageResponsive(props?.multimedia?.imagenes?.[0] ??
|
|
5607
|
+
props?.multimedia?.image?.[0], false),
|
|
5607
5608
|
button: Utils.mapButtons(props?.buttons)?.[0],
|
|
5608
5609
|
mapImageMobile: this.getImageResponsive(props?.multimedia?.imagenesmobile?.[0], false),
|
|
5609
5610
|
};
|
|
@@ -5633,7 +5634,8 @@ class MapperService {
|
|
|
5633
5634
|
pretitle: typeof props?.texts?.pretitle === 'string'
|
|
5634
5635
|
? props?.texts?.pretitle
|
|
5635
5636
|
: props?.texts?.pretitle?.contain,
|
|
5636
|
-
image: this.getImageResponsive(props?.multimedia?.imagenes?.[0]
|
|
5637
|
+
image: this.getImageResponsive(props?.multimedia?.imagenes?.[0] ??
|
|
5638
|
+
props?.multimedia?.image?.[0], false),
|
|
5637
5639
|
groupByCategory: this.hasTextTokenValue(props?.texts?.groupByCategory),
|
|
5638
5640
|
tags: {
|
|
5639
5641
|
pretitle: props?.texts?.pretitle?.tag,
|
|
@@ -5951,8 +5953,10 @@ class MapperService {
|
|
|
5951
5953
|
description: faq.text,
|
|
5952
5954
|
})),
|
|
5953
5955
|
img: props?.locationMap
|
|
5954
|
-
? this.getImageResponsive(props?.locationMap?.multimedia?.imagenes?.[0]
|
|
5955
|
-
|
|
5956
|
+
? this.getImageResponsive(props?.locationMap?.multimedia?.imagenes?.[0] ??
|
|
5957
|
+
props?.locationMap?.multimedia?.image?.[0], false)
|
|
5958
|
+
: this.getImageResponsive(props?.multimedia?.imagenes?.[0] ??
|
|
5959
|
+
props?.multimedia?.image?.[0], false),
|
|
5956
5960
|
};
|
|
5957
5961
|
}
|
|
5958
5962
|
mapStaticFooter(props) {
|