ctt-babylon 0.22.80 → 0.22.81
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
|
@@ -4674,7 +4674,7 @@ class MapperService {
|
|
|
4674
4674
|
: props?.texts?.ndtitle?.contain,
|
|
4675
4675
|
lessBtn: props?.texts?.seeLess,
|
|
4676
4676
|
moreBtn: props?.texts?.seeMore,
|
|
4677
|
-
images: this.getArrayImageResponsive(props?.multimedia?.imagenes, false),
|
|
4677
|
+
images: this.getArrayImageResponsive(props?.multimedia?.imagenes ?? props?.multimedia?.images, false),
|
|
4678
4678
|
advantages: props?.Ventajas?.filter((item) => item?.title || item?.text)?.map((item) => ({
|
|
4679
4679
|
title: item.title,
|
|
4680
4680
|
text: item.text,
|
|
@@ -4950,7 +4950,7 @@ class MapperService {
|
|
|
4950
4950
|
let images = [];
|
|
4951
4951
|
let texts, tags;
|
|
4952
4952
|
if (props?.multimedia?.imagenes) {
|
|
4953
|
-
images = this.getArrayImageResponsive(props?.multimedia?.imagenes, false);
|
|
4953
|
+
images = this.getArrayImageResponsive(props?.multimedia?.imagenes ?? props?.multimedia?.images, false);
|
|
4954
4954
|
texts = {
|
|
4955
4955
|
pretitle: props?.texts?.pretitle?.contain ??
|
|
4956
4956
|
(typeof props?.texts?.pretitle == 'string'
|
|
@@ -5445,7 +5445,8 @@ class MapperService {
|
|
|
5445
5445
|
error: props?.texts?.errorRequired,
|
|
5446
5446
|
}
|
|
5447
5447
|
: undefined,
|
|
5448
|
-
image: this.getImageResponsive(props?.multimedia?.imagenes?.[0]
|
|
5448
|
+
image: this.getImageResponsive(props?.multimedia?.imagenes?.[0] ??
|
|
5449
|
+
props?.multimedia?.image?.[0], false),
|
|
5449
5450
|
inputs: [
|
|
5450
5451
|
{
|
|
5451
5452
|
id: 'nombre',
|
|
@@ -5651,7 +5652,8 @@ class MapperService {
|
|
|
5651
5652
|
description: typeof props?.texts?.description === 'string'
|
|
5652
5653
|
? props?.texts?.description
|
|
5653
5654
|
: props?.texts?.description?.contain,
|
|
5654
|
-
img: this.getImageResponsive(props?.multimedia?.imagenes?.[0]
|
|
5655
|
+
img: this.getImageResponsive(props?.multimedia?.imagenes?.[0] ??
|
|
5656
|
+
props?.multimedia?.image?.[0], false),
|
|
5655
5657
|
tags: {
|
|
5656
5658
|
pretitle: props?.texts?.pretitle?.tag,
|
|
5657
5659
|
title: props?.texts?.title?.tag,
|