@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
|
@@ -1562,15 +1562,18 @@ var structuredPayload = (value) => {
|
|
|
1562
1562
|
);
|
|
1563
1563
|
return {
|
|
1564
1564
|
kind: "json",
|
|
1565
|
-
value: (0, import_content_transfer2.normalizeTransferJson)(
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1565
|
+
value: (0, import_content_transfer2.normalizeTransferJson)(
|
|
1566
|
+
{
|
|
1567
|
+
kind: value.kind,
|
|
1568
|
+
location: value.location,
|
|
1569
|
+
description: value.description,
|
|
1570
|
+
data: value.data,
|
|
1571
|
+
...value.summary !== void 0 ? { summary: value.summary } : {},
|
|
1572
|
+
attributes: clean(value.attributes),
|
|
1573
|
+
context: clean(value.context)
|
|
1574
|
+
},
|
|
1575
|
+
{ omitUndefinedObjectProperties: true }
|
|
1576
|
+
)
|
|
1574
1577
|
};
|
|
1575
1578
|
};
|
|
1576
1579
|
var actionDone = (message) => ({
|
|
@@ -1625,12 +1628,16 @@ function MatrxCopyMenuSession(props) {
|
|
|
1625
1628
|
})) : void 0;
|
|
1626
1629
|
const json = aiVisible && props.json !== void 0 ? make("json", () => ({
|
|
1627
1630
|
kind: "json",
|
|
1628
|
-
value: (0, import_content_transfer2.normalizeTransferJson)(resolve(props.json)
|
|
1631
|
+
value: (0, import_content_transfer2.normalizeTransferJson)(resolve(props.json), {
|
|
1632
|
+
omitUndefinedObjectProperties: true
|
|
1633
|
+
})
|
|
1629
1634
|
})) : void 0;
|
|
1630
1635
|
const agent = aiVisible && props.agent !== void 0 ? make("agent", () => asPayload(resolve(props.agent))) : void 0;
|
|
1631
1636
|
const structuredAgent = aiVisible && props.agent !== void 0 ? make("structured-agent", () => structuredPayload(resolve(props.agent))) : void 0;
|
|
1632
1637
|
const table = (exportVisible || props.primarySource === "table") && props.export?.sheetRows ? make("rows", () => {
|
|
1633
|
-
const value = (0, import_content_transfer2.normalizeTransferJson)(props.export.sheetRows()
|
|
1638
|
+
const value = (0, import_content_transfer2.normalizeTransferJson)(props.export.sheetRows(), {
|
|
1639
|
+
omitUndefinedObjectProperties: true
|
|
1640
|
+
});
|
|
1634
1641
|
if (!Array.isArray(value) || value.some(
|
|
1635
1642
|
(row) => row === null || typeof row !== "object" || Array.isArray(row)
|
|
1636
1643
|
))
|