@ai-matrx/records 0.81.2 → 0.82.0
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 +30 -0
- package/dist/app-table/index.cjs +1 -1
- package/dist/app-table/index.cjs.map +1 -1
- package/dist/app-table/index.d.cts +3 -3
- package/dist/app-table/index.d.ts +3 -3
- package/dist/app-table/index.js +1 -1
- package/dist/app-table/index.js.map +1 -1
- package/dist/{client-DLIKeBWF.d.cts → client-CesQciPd.d.cts} +1 -1
- package/dist/{client-D1LTezMZ.d.ts → client-TU-nvgcF.d.ts} +1 -1
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- 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.d.cts +2 -2
- package/dist/data/index.d.ts +2 -2
- package/dist/data/index.js +1 -1
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-02uao-5n.d.cts → declareTable-B9sr2E0h.d.cts} +2 -2
- package/dist/{declareTable-C5FlIS0z.d.ts → declareTable-COXYIOiT.d.ts} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +3 -3
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +3 -19
- package/dist/react/index.d.ts +3 -19
- package/dist/react/index.js +3 -3
- package/dist/react/index.js.map +1 -1
- package/dist/{table-kind-LodkBhCZ.d.cts → table-kind-B4vIKJVM.d.cts} +3 -19
- package/dist/{table-kind-COmkYYkc.d.ts → table-kind-C5T-DOdc.d.ts} +3 -19
- package/dist/templates/index.cjs +147 -4
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.js +147 -4
- package/dist/templates/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as RecordsClient } from './client-
|
|
1
|
+
import { R as RecordsClient } from './client-CesQciPd.cjs';
|
|
2
2
|
import { F as FieldTypeWord, N as NewFieldDeclaration } from './field-snQG2jMq.cjs';
|
|
3
3
|
import { U as Uuid, R as RecordsError } from './record-1yDCn169.cjs';
|
|
4
|
-
import { F as FieldDrift } from './table-kind-
|
|
4
|
+
import { F as FieldDrift } from './table-kind-B4vIKJVM.cjs';
|
|
5
5
|
|
|
6
6
|
/** One Field a person asked for, in the words a person uses (FLD-1 / FLD-11). */
|
|
7
7
|
interface NewFieldSpec {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as RecordsClient } from './client-
|
|
1
|
+
import { R as RecordsClient } from './client-TU-nvgcF.js';
|
|
2
2
|
import { F as FieldTypeWord, N as NewFieldDeclaration } from './field-BIJiFPc0.js';
|
|
3
3
|
import { U as Uuid, R as RecordsError } from './record-1yDCn169.js';
|
|
4
|
-
import { F as FieldDrift } from './table-kind-
|
|
4
|
+
import { F as FieldDrift } from './table-kind-C5T-DOdc.js';
|
|
5
5
|
|
|
6
6
|
/** One Field a person asked for, in the words a person uses (FLD-1 / FLD-11). */
|
|
7
7
|
interface NewFieldSpec {
|
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";
|