@colijnit/corecomponents_v12 257.1.32 → 257.1.33

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.
@@ -10569,6 +10569,9 @@
10569
10569
  else if (typeof value === 'object' && value !== null) {
10570
10570
  return JSON.stringify(value);
10571
10571
  }
10572
+ else if (typeof value === 'boolean') {
10573
+ return String(value);
10574
+ }
10572
10575
  else {
10573
10576
  if (!value)
10574
10577
  return '';
@@ -10579,7 +10582,10 @@
10579
10582
  return String(value);
10580
10583
  }
10581
10584
  }); });
10582
- var csvContent = __spreadArray([headers], __read(rows)).map(function (row) { return row.map(function (cell) { return "\"" + cell.replace(/"/g, '""') + "\""; }).join(','); }).join('\r\n');
10585
+ // const csvContent = [headers, ...rows].map(row =>
10586
+ // row.map(cell => `"${cell.replace(/"/g, '""')}"`).join(',')
10587
+ // ).join('\r\n');
10588
+ var csvContent = __spreadArray([headers], __read(rows)).map(function (row) { return row.map(function (cell) { return "\"" + String(cell).replace(/"/g, '""') + "\""; }).join(','); }).join('\r\n');
10583
10589
  var blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });
10584
10590
  var link = document.createElement('a');
10585
10591
  var url = URL.createObjectURL(blob);