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 +4 -3
- package/dist/index.prod.js +1 -1
- package/es/data-table/src/utils.mjs +3 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/data-table/src/utils.js +5 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60816,9 +60816,10 @@
|
|
|
60816
60816
|
}
|
|
60817
60817
|
}
|
|
60818
60818
|
function generateCsv(columns, data) {
|
|
60819
|
-
const
|
|
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
|
|
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.
|
|
107874
|
+
var version = "2.37.2";
|
|
107874
107875
|
|
|
107875
107876
|
function create({
|
|
107876
107877
|
componentPrefix = "N",
|