@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
|
@@ -3006,15 +3006,18 @@ var structuredPayload = (value) => {
|
|
|
3006
3006
|
);
|
|
3007
3007
|
return {
|
|
3008
3008
|
kind: "json",
|
|
3009
|
-
value: (0, import_content_transfer2.normalizeTransferJson)(
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3009
|
+
value: (0, import_content_transfer2.normalizeTransferJson)(
|
|
3010
|
+
{
|
|
3011
|
+
kind: value.kind,
|
|
3012
|
+
location: value.location,
|
|
3013
|
+
description: value.description,
|
|
3014
|
+
data: value.data,
|
|
3015
|
+
...value.summary !== void 0 ? { summary: value.summary } : {},
|
|
3016
|
+
attributes: clean(value.attributes),
|
|
3017
|
+
context: clean(value.context)
|
|
3018
|
+
},
|
|
3019
|
+
{ omitUndefinedObjectProperties: true }
|
|
3020
|
+
)
|
|
3018
3021
|
};
|
|
3019
3022
|
};
|
|
3020
3023
|
var actionDone = (message) => ({
|
|
@@ -3069,12 +3072,16 @@ function MatrxCopyMenuSession(props) {
|
|
|
3069
3072
|
})) : void 0;
|
|
3070
3073
|
const json = aiVisible && props.json !== void 0 ? make("json", () => ({
|
|
3071
3074
|
kind: "json",
|
|
3072
|
-
value: (0, import_content_transfer2.normalizeTransferJson)(resolve(props.json)
|
|
3075
|
+
value: (0, import_content_transfer2.normalizeTransferJson)(resolve(props.json), {
|
|
3076
|
+
omitUndefinedObjectProperties: true
|
|
3077
|
+
})
|
|
3073
3078
|
})) : void 0;
|
|
3074
3079
|
const agent = aiVisible && props.agent !== void 0 ? make("agent", () => asPayload(resolve(props.agent))) : void 0;
|
|
3075
3080
|
const structuredAgent = aiVisible && props.agent !== void 0 ? make("structured-agent", () => structuredPayload(resolve(props.agent))) : void 0;
|
|
3076
3081
|
const table = (exportVisible || props.primarySource === "table") && props.export?.sheetRows ? make("rows", () => {
|
|
3077
|
-
const value = (0, import_content_transfer2.normalizeTransferJson)(props.export.sheetRows()
|
|
3082
|
+
const value = (0, import_content_transfer2.normalizeTransferJson)(props.export.sheetRows(), {
|
|
3083
|
+
omitUndefinedObjectProperties: true
|
|
3084
|
+
});
|
|
3078
3085
|
if (!Array.isArray(value) || value.some(
|
|
3079
3086
|
(row) => row === null || typeof row !== "object" || Array.isArray(row)
|
|
3080
3087
|
))
|