@ai-matrx/records-ui 0.116.71 → 0.116.73
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 +7 -1
- package/dist/{SaveToTable-3NMVA3VY.js → SaveToTable-M532U7TS.js} +2 -2
- package/dist/{chunk-YXPUXD5H.js → chunk-GRDLRZSG.js} +9 -3
- package/dist/{chunk-YXPUXD5H.js.map → chunk-GRDLRZSG.js.map} +1 -1
- package/dist/{chunk-DWYBPID4.js → chunk-XLHEYH5J.js} +6 -2
- package/dist/chunk-XLHEYH5J.js.map +1 -0
- package/dist/index.cjs +6013 -5541
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +5147 -4685
- package/dist/index.js.map +1 -1
- package/dist/pickers.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-DWYBPID4.js.map +0 -1
- /package/dist/{SaveToTable-3NMVA3VY.js.map → SaveToTable-M532U7TS.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
-
## 0.116.
|
|
3
|
+
## 0.116.73
|
|
4
4
|
|
|
5
|
+
- **An imported table keeps its first column's name (CD-IO-03, 2026-10-21).** A pasted or imported block made a table whose first column was named "Title"; `NewTableStart` now declares the title column with the first header's name (`importTitleField`). Test: `an-imported-table-keeps-its-first-header-name.test.tsx`. Consumer action: none.
|
|
6
|
+
|
|
7
|
+
- **Insert row above / below works on a view nobody sorted (lane CLOSE-CORE, CD-CORE-04, 2026-10-22).** A new table's "All records" view has no hand order and opens in the table's own sort (the title column), so the row menu's Insert row above / below were greyed "This view is sorted" on every new table. A saved view with no sort of its own, showing at most the table's opening sort, now takes the new row beside the one right-clicked: the rows as the person sees them, the new one placed, through the same `view_record_order_set` Reorder → Save uses, and the view becomes hand-ordered ("Sort: Manual"). A view the person sorted, or a grid with no saved view, still says why. `GridControls`' `handOrder` gains `startOrder`. Guards: `insert-row-lands-beside-the-row-on-a-view-nobody-sorted.test.tsx` (red before: 2 of 4), `insert-column-right-lands-beside-its-column.test.tsx` (left / right placement coverage). Consumer action: none.
|
|
8
|
+
- **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.
|
|
9
|
+
|
|
10
|
+
- **Table settings: Keep value history for N days; a dated field's periods (lane BUILD-HIST, acceptance tests 6 and 14, 2026-10-21).** `TableHistoryRetention` in Table settings saves through `historyRetentionSet` (under the floor, the store's refusal shows as written). `ValuePeriods`: a calendar mark beside a dated field's label in the record panel lists From / Until / Value periods; Save through `setValuePeriods`; History's "True then" reads them. Guard: `src/history-retention-and-dated-values-on-screen.test.tsx`. Consumer action: update `@ai-matrx/records` with this package.
|
|
5
11
|
- **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
12
|
|
|
7
13
|
## 0.116.70
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
SAVE_TO_TABLE_TYPES,
|
|
5
5
|
SaveToTable,
|
|
6
6
|
shapesOfSource
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XLHEYH5J.js";
|
|
8
8
|
import "./chunk-ESNTHDQO.js";
|
|
9
9
|
import "./chunk-ZX4EFZSB.js";
|
|
10
10
|
import "./chunk-6Z537SLG.js";
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
SaveToTable,
|
|
18
18
|
shapesOfSource
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=SaveToTable-
|
|
20
|
+
//# sourceMappingURL=SaveToTable-M532U7TS.js.map
|
|
@@ -4788,7 +4788,7 @@ import { OutboundLink as OutboundLink5 } from "@ai-matrx/kit/outbound-react";
|
|
|
4788
4788
|
import { humanizeIdentifier } from "@ai-matrx/kit/text-case";
|
|
4789
4789
|
import { momentZoneOptions } from "@ai-matrx/design-system/field-formats";
|
|
4790
4790
|
import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
4791
|
-
var SaveToTable = lazy(() => import("./SaveToTable-
|
|
4791
|
+
var SaveToTable = lazy(() => import("./SaveToTable-M532U7TS.js").then((m) => ({ default: m.SaveToTable })));
|
|
4792
4792
|
var LONGEST_READ = 5e5;
|
|
4793
4793
|
var FENCE = /^```(?:json)?[ \t]*\r?\n([\s\S]*?)\r?\n?```$/;
|
|
4794
4794
|
function isPlainObject(v) {
|
|
@@ -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-GRDLRZSG.js.map
|