ctt-puro 0.65.0 → 0.65.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.
@@ -4211,7 +4211,7 @@ class MapperService {
4211
4211
  componentMapped.props = this.mapBannerSlider(component.props);
4212
4212
  break;
4213
4213
  case 'modaloptions':
4214
- componentMapped.props = this.mapModalOptions(component.props);
4214
+ componentMapped.props = this.mapModalOptions(component.props, component.identifier);
4215
4215
  break;
4216
4216
  case 'innercontent':
4217
4217
  componentMapped.props = this.mapInnerContent(component.props);
@@ -6379,15 +6379,16 @@ class MapperService {
6379
6379
  };
6380
6380
  }
6381
6381
  //TODO: Check back props
6382
- mapModalOptions(props) {
6382
+ mapModalOptions(props, identifier) {
6383
6383
  return {
6384
- items: props?.items?.map((item) => ({
6385
- title: item.title,
6386
- description: item.description,
6387
- img: this.getImageResponsive(item.multimedia?.image?.[0]),
6388
- link: Utils.mapButtons(this.siteId(), item.links)[0],
6384
+ items: props?.multimedia?.imagenes?.map((img) => ({
6385
+ title: img.title,
6386
+ description: img.description,
6387
+ img: this.getImageResponsive(img),
6388
+ link: Utils.mapButtons(this.siteId(), img.links)[0],
6389
6389
  })),
6390
6390
  button: Utils.mapButtons(this.siteId(), props?.buttons)[0],
6391
+ identifier: identifier,
6391
6392
  };
6392
6393
  }
6393
6394
  //TODO: Check back props
@@ -6597,7 +6598,7 @@ class MapperService {
6597
6598
  name: 'infoMessage',
6598
6599
  },
6599
6600
  neDropdown: {
6600
- placeholder: props?.texts?.neDropdown,
6601
+ placeholder: props?.texts?.nedropdown,
6601
6602
  options: props?.nature?.map((prop) => ({ code: prop?.id, name: prop?.name })),
6602
6603
  },
6603
6604
  othersDropdown: {
@@ -6696,8 +6697,8 @@ class MapperService {
6696
6697
  valid: signal(true),
6697
6698
  },
6698
6699
  typeEventInput: {
6699
- name: Utils.normalizeControlName(props?.texts?.neDropdown, 'eventType'),
6700
- placeholder: props?.texts?.neDropdown,
6700
+ name: Utils.normalizeControlName(props?.texts?.nedropdown, 'eventType'),
6701
+ placeholder: props?.texts?.nedropdown,
6701
6702
  value: '',
6702
6703
  type: 'text',
6703
6704
  error: props?.texts?.nameError,