ctt-puro 0.48.1 → 0.48.3

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.
@@ -3915,7 +3915,7 @@ class MapperService {
3915
3915
  componentMapped.props = this.mapThanks(component.props);
3916
3916
  break;
3917
3917
  case 'contactform':
3918
- componentMapped.props = this.mapContactForm(component.props, addons?.consultType);
3918
+ componentMapped.props = this.mapContactForm(component.props);
3919
3919
  break;
3920
3920
  case 'offersslider':
3921
3921
  componentMapped.props = this.mapOffersSlider(component.props);
@@ -4731,7 +4731,7 @@ class MapperService {
4731
4731
  filter: Number(item?.id),
4732
4732
  filterParent: item.subtitle,
4733
4733
  img: this.getImageResponsive(item?.multimedia?.[0]),
4734
- buttons: Utils.mapButtons(this.siteId(), item?.buttons.filter((btn) => !!btn?.linkValue)),
4734
+ buttons: Utils.mapButtons(this.siteId(), item?.buttons?.filter((btn) => !!btn?.linkValue)),
4735
4735
  links: undefined,
4736
4736
  };
4737
4737
  });
@@ -5023,7 +5023,7 @@ class MapperService {
5023
5023
  }
5024
5024
  return {
5025
5025
  title: texts?.title,
5026
- button: Utils.mapButtons(this.siteId(), buttons.filter((btn) => !!btn?.linkValue))[0],
5026
+ button: Utils.mapButtons(this.siteId(), buttons?.filter((btn) => !!btn?.linkValue))[0],
5027
5027
  images: this.getArrayImageResponsive(multimedia?.imagenes || []),
5028
5028
  items: items,
5029
5029
  view: this.getView(view),
@@ -5235,7 +5235,7 @@ class MapperService {
5235
5235
  },
5236
5236
  };
5237
5237
  }
5238
- mapContactForm(props, ndPropsConsult) {
5238
+ mapContactForm(props) {
5239
5239
  const prefixValues = Object.values(props?.prefixes || {});
5240
5240
  return {
5241
5241
  title: typeof props?.texts?.title === 'string'
@@ -5270,7 +5270,7 @@ class MapperService {
5270
5270
  },
5271
5271
  ndDropdown: {
5272
5272
  title: props?.texts?.consulttype,
5273
- options: ndPropsConsult?.map((prop) => ({
5273
+ options: props?.ConsultyTpe?.map((prop) => ({
5274
5274
  code: prop?.consultTypeId,
5275
5275
  name: prop?.name,
5276
5276
  })),
@@ -5583,7 +5583,7 @@ class MapperService {
5583
5583
  },
5584
5584
  resident: {
5585
5585
  placeholder: props?.texts?.residentPlaceholder,
5586
- options: props?.countries
5586
+ options: props?.Resident
5587
5587
  ?.sort((a, b) => a.name.localeCompare(b.name))
5588
5588
  ?.map((country) => ({
5589
5589
  code: country?.id,