@ai-matrx/records 0.81.3 → 0.82.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.
- package/CHANGELOG.md +23 -0
- package/dist/app-table/index.cjs +1 -1
- package/dist/app-table/index.cjs.map +1 -1
- package/dist/app-table/index.js +1 -1
- package/dist/app-table/index.js.map +1 -1
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +3 -3
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +1 -1
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.js +1 -1
- package/dist/data/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/dist/templates/index.cjs +542 -5
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.js +542 -5
- package/dist/templates/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1514,7 +1514,7 @@ function exportCellText(value) {
|
|
|
1514
1514
|
return JSON.stringify(value);
|
|
1515
1515
|
}
|
|
1516
1516
|
async function exportPageXlsx(page, labels = {}, sheetLabel = "Records") {
|
|
1517
|
-
const { writeWorkbookBytes } = await import("@ai-matrx/
|
|
1517
|
+
const { writeWorkbookBytes } = await import("@ai-matrx/print/xlsx");
|
|
1518
1518
|
const header = page.columns.map((c) => labels[c] ?? c);
|
|
1519
1519
|
const body = page.rows.map((row) => page.columns.map((c) => exportCellText(row[c])));
|
|
1520
1520
|
const name = sheetLabel.replace(/[\\/?*[\]:]/g, " ").trim().slice(0, 31) || "Records";
|