naive-ui 2.37.1 → 2.37.2

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/dist/index.js CHANGED
@@ -60816,9 +60816,10 @@
60816
60816
  }
60817
60817
  }
60818
60818
  function generateCsv(columns, data) {
60819
- const header = columns.map(col => col.title).join(",");
60819
+ const exportableColumns = columns.filter(column => column.type !== "expand" && column.type !== "selection");
60820
+ const header = exportableColumns.map(col => col.title).join(",");
60820
60821
  const rows = data.map(row => {
60821
- return columns.map(col => formatCsvCell(row[col.key])).join(",");
60822
+ return exportableColumns.map(col => formatCsvCell(row[col.key])).join(",");
60822
60823
  });
60823
60824
  return [header, ...rows].join("\n");
60824
60825
  }
@@ -107870,7 +107871,7 @@
107870
107871
  watermarkProps: watermarkProps
107871
107872
  });
107872
107873
 
107873
- var version = "2.37.1";
107874
+ var version = "2.37.2";
107874
107875
 
107875
107876
  function create({
107876
107877
  componentPrefix = "N",