@ai-matrx/records-ui 0.116.71 → 0.116.72
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 +2 -1
- package/dist/{chunk-YXPUXD5H.js → chunk-3OD52U5S.js} +8 -2
- package/dist/{chunk-YXPUXD5H.js.map → chunk-3OD52U5S.js.map} +1 -1
- package/dist/index.cjs +5654 -5497
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4778 -4629
- package/dist/index.js.map +1 -1
- package/dist/pickers.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
-
## 0.116.
|
|
3
|
+
## 0.116.72
|
|
4
4
|
|
|
5
|
+
- **The toolbar's Markdown file writes each row the way the grid shows it (CD-IO-04, 2026-10-21).** `gridCopyConfig().humanRow` (the per-row blocks of the toolbar's Download > Markdown and a row's Copy) now reads the one file writer's words (`displayRows(toRows(...))`): Tags "Alpha, Beta" and a date in her zone, never `["Alpha","Beta"]` or the ISO instant. Test: `every-export-button-writes-one-file.test.tsx` "humanRow carries the rail's words". Consumer action: none.
|
|
5
6
|
- **A link can keep the linked record as it was (lane CLOSE-LINK, CD-LINK-05, 2026-10-21).** `FieldEditor` gains "When a linked record changes" on an existing link column: "Show its changes" (live) or "Keep it as it was when linked" (snapshot, `binding`), sent only when it changed. An invoice's "Bill to" then keeps the March address after the client moves. Guard: two cases in `FieldEditor.test.tsx` (red before: no such control). Needs `@ai-matrx/records` with `FieldPatch.binding`. Consumer action: none.
|
|
6
7
|
|
|
7
8
|
## 0.116.70
|
|
@@ -7627,7 +7627,13 @@ function gridCopyConfig(args) {
|
|
|
7627
7627
|
rowKind: "table-row",
|
|
7628
7628
|
listKind: "table-view",
|
|
7629
7629
|
listDescription: `${tableName2} \u2014 the records on this page, filtered and sorted as shown.`,
|
|
7630
|
-
|
|
7630
|
+
// A ROW IN WORDS (the toolbar's Markdown blocks, a row's Copy): the words the grid SHOWS, written by the one file writer
|
|
7631
|
+
// (`fileExport.ts`): "Alpha, Beta", a date in her zone — never the stored JSON or ISO text (CD-IO-04).
|
|
7632
|
+
humanRow: (row) => {
|
|
7633
|
+
const document2 = row.document ?? {};
|
|
7634
|
+
const words = displayRows(toRows([...fields], [row], labels))[0] ?? {};
|
|
7635
|
+
return fields.filter((field2) => document2[field2.key] !== void 0).map((field2) => `${fieldName(field2)}: ${text(words[field2.key]?.value ?? null)}`).join("\n");
|
|
7636
|
+
},
|
|
7631
7637
|
agentRow: (row) => shown2(row),
|
|
7632
7638
|
rowReferences: (row) => [
|
|
7633
7639
|
{
|
|
@@ -12569,4 +12575,4 @@ export {
|
|
|
12569
12575
|
RecordNameText,
|
|
12570
12576
|
HeldChangeDecision
|
|
12571
12577
|
};
|
|
12572
|
-
//# sourceMappingURL=chunk-
|
|
12578
|
+
//# sourceMappingURL=chunk-3OD52U5S.js.map
|