@one-paragon/angular-utilities 2.2.10 → 2.2.11

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.
@@ -4565,12 +4565,12 @@ class ExportToCsvService {
4565
4565
  if (!md.additional?.link)
4566
4566
  return;
4567
4567
  const exportForCol = merge$1({}, this.$exportSettings(), md.additional?.export);
4568
- return exportForCol.mapLink === 'add link' || exportForCol.mapLink === 'add excell';
4568
+ return exportForCol.mapLink === 'add link' || exportForCol.mapLink === 'add excel';
4569
4569
  }).map(md => {
4570
4570
  const exportForCol = merge$1({}, this.$exportSettings(), md.additional?.export);
4571
4571
  const newCol = cloneDeep(md);
4572
4572
  newCol.additional.export ??= {};
4573
- newCol.additional.export.mapLink = exportForCol.mapLink === 'add link' ? 'as link' : 'as excell',
4573
+ newCol.additional.export.mapLink = exportForCol.mapLink === 'add link' ? 'as link' : 'as excel',
4574
4574
  newCol.displayName = newCol.additional.export.linkColumnName || ((newCol.displayName || newCol.key) + ' - (Link)');
4575
4575
  return newCol;
4576
4576
  });
@@ -4592,7 +4592,7 @@ class ExportToCsvService {
4592
4592
  const transform = meta.transform;
4593
4593
  return isPipe(transform) ? transform.transform(val) : transform(val);
4594
4594
  }
4595
- if (meta.additional?.link && exportForCol.mapLink === 'as link' || exportForCol.mapLink === 'as excell') {
4595
+ if (meta.additional?.link && exportForCol.mapLink === 'as link' || exportForCol.mapLink === 'as excel') {
4596
4596
  let mapper = this.state.$getLinkInfo(meta)()?.link;
4597
4597
  if (mapper) {
4598
4598
  let mapped = mapper(row);
@@ -4600,7 +4600,7 @@ class ExportToCsvService {
4600
4600
  const bet = mapped.startsWith('/') ? '' : '/';
4601
4601
  mapped = `${exportForCol.linkDomainPrefix}${bet}${mapped}`;
4602
4602
  }
4603
- if (exportForCol.mapLink === 'as excell') {
4603
+ if (exportForCol.mapLink === 'as excel') {
4604
4604
  mapped = this.cleanValForCsv(`=HYPERLINK("${mapped}", "${mapped}")`);
4605
4605
  }
4606
4606
  return mapped;