@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 { N as NewFieldSpec } from '../declareTable-
|
|
1
|
+
import { N as NewFieldSpec } from '../declareTable-B9sr2E0h.cjs';
|
|
2
2
|
import { U as Uuid, h as RecordsResult, n as RecordPageSort } from '../record-1yDCn169.cjs';
|
|
3
|
-
import { R as RecordsClient } from '../client-
|
|
4
|
-
import { F as FieldDrift, T as TableArchiveProgress } from '../table-kind-
|
|
3
|
+
import { R as RecordsClient } from '../client-CesQciPd.cjs';
|
|
4
|
+
import { F as FieldDrift, T as TableArchiveProgress } from '../table-kind-B4vIKJVM.cjs';
|
|
5
5
|
import '../field-snQG2jMq.cjs';
|
|
6
6
|
import '../subscription-B_WaT-kr.cjs';
|
|
7
7
|
import '../ports-y1QNfM80.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { N as NewFieldSpec } from '../declareTable-
|
|
1
|
+
import { N as NewFieldSpec } from '../declareTable-COXYIOiT.js';
|
|
2
2
|
import { U as Uuid, h as RecordsResult, n as RecordPageSort } from '../record-1yDCn169.js';
|
|
3
|
-
import { R as RecordsClient } from '../client-
|
|
4
|
-
import { F as FieldDrift, T as TableArchiveProgress } from '../table-kind-
|
|
3
|
+
import { R as RecordsClient } from '../client-TU-nvgcF.js';
|
|
4
|
+
import { F as FieldDrift, T as TableArchiveProgress } from '../table-kind-C5T-DOdc.js';
|
|
5
5
|
import '../field-BIJiFPc0.js';
|
|
6
6
|
import '../subscription-CUok1vAm.js';
|
|
7
7
|
import '../ports-Y5gLbCXe.js';
|
package/dist/app-table/index.js
CHANGED
|
@@ -887,7 +887,7 @@ function exportCellText(value) {
|
|
|
887
887
|
return JSON.stringify(value);
|
|
888
888
|
}
|
|
889
889
|
async function exportPageXlsx(page2, labels = {}, sheetLabel = "Records") {
|
|
890
|
-
const { writeWorkbookBytes } = await import("@ai-matrx/
|
|
890
|
+
const { writeWorkbookBytes } = await import("@ai-matrx/print/xlsx");
|
|
891
891
|
const header = page2.columns.map((c) => labels[c] ?? c);
|
|
892
892
|
const body = page2.rows.map((row) => page2.columns.map((c) => exportCellText(row[c])));
|
|
893
893
|
const name = sheetLabel.replace(/[\\/?*[\]:]/g, " ").trim().slice(0, 31) || "Records";
|