@ai-matrx/design-system 0.18.14 → 0.18.15
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 +6 -0
- package/dist/content-transfer.cjs +18 -11
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.css +8 -0
- package/dist/content-transfer.js +18 -11
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/data-row-inspector.cjs +18 -11
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +18 -11
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +18 -11
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +18 -11
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/index.cjs +18 -11
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +18 -11
- package/dist/data-table/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1511,15 +1511,18 @@ var structuredPayload = (value) => {
|
|
|
1511
1511
|
);
|
|
1512
1512
|
return {
|
|
1513
1513
|
kind: "json",
|
|
1514
|
-
value: (0, import_content_transfer2.normalizeTransferJson)(
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1514
|
+
value: (0, import_content_transfer2.normalizeTransferJson)(
|
|
1515
|
+
{
|
|
1516
|
+
kind: value.kind,
|
|
1517
|
+
location: value.location,
|
|
1518
|
+
description: value.description,
|
|
1519
|
+
data: value.data,
|
|
1520
|
+
...value.summary !== void 0 ? { summary: value.summary } : {},
|
|
1521
|
+
attributes: clean(value.attributes),
|
|
1522
|
+
context: clean(value.context)
|
|
1523
|
+
},
|
|
1524
|
+
{ omitUndefinedObjectProperties: true }
|
|
1525
|
+
)
|
|
1523
1526
|
};
|
|
1524
1527
|
};
|
|
1525
1528
|
var actionDone = (message) => ({
|
|
@@ -1574,12 +1577,16 @@ function MatrxCopyMenuSession(props) {
|
|
|
1574
1577
|
})) : void 0;
|
|
1575
1578
|
const json = aiVisible && props.json !== void 0 ? make("json", () => ({
|
|
1576
1579
|
kind: "json",
|
|
1577
|
-
value: (0, import_content_transfer2.normalizeTransferJson)(resolve(props.json)
|
|
1580
|
+
value: (0, import_content_transfer2.normalizeTransferJson)(resolve(props.json), {
|
|
1581
|
+
omitUndefinedObjectProperties: true
|
|
1582
|
+
})
|
|
1578
1583
|
})) : void 0;
|
|
1579
1584
|
const agent = aiVisible && props.agent !== void 0 ? make("agent", () => asPayload(resolve(props.agent))) : void 0;
|
|
1580
1585
|
const structuredAgent = aiVisible && props.agent !== void 0 ? make("structured-agent", () => structuredPayload(resolve(props.agent))) : void 0;
|
|
1581
1586
|
const table = (exportVisible || props.primarySource === "table") && props.export?.sheetRows ? make("rows", () => {
|
|
1582
|
-
const value = (0, import_content_transfer2.normalizeTransferJson)(props.export.sheetRows()
|
|
1587
|
+
const value = (0, import_content_transfer2.normalizeTransferJson)(props.export.sheetRows(), {
|
|
1588
|
+
omitUndefinedObjectProperties: true
|
|
1589
|
+
});
|
|
1583
1590
|
if (!Array.isArray(value) || value.some(
|
|
1584
1591
|
(row) => row === null || typeof row !== "object" || Array.isArray(row)
|
|
1585
1592
|
))
|