@appkit/dek-lib 0.2.6 → 0.2.7
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/dist/index.es.js +1 -3
- package/dist/index.umd.js +1 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -86191,10 +86191,9 @@ const ComponentScreen = () => {
|
|
|
86191
86191
|
Object.keys(json).forEach((key) => {
|
|
86192
86192
|
componentProps.push({
|
|
86193
86193
|
key,
|
|
86194
|
-
value: JSON.stringify(json[key])
|
|
86194
|
+
value: typeof json[key] === "object" ? JSON.stringify(json[key]) : "" + json[key]
|
|
86195
86195
|
});
|
|
86196
86196
|
});
|
|
86197
|
-
console.log("componentProps", componentProps);
|
|
86198
86197
|
setPropsArray(componentProps);
|
|
86199
86198
|
}
|
|
86200
86199
|
}, [propsString]);
|
|
@@ -86205,7 +86204,6 @@ const ComponentScreen = () => {
|
|
|
86205
86204
|
props[key] = schema[key].default;
|
|
86206
86205
|
}
|
|
86207
86206
|
});
|
|
86208
|
-
console.log("schemaToProps", schema, props);
|
|
86209
86207
|
return props;
|
|
86210
86208
|
};
|
|
86211
86209
|
const propsToJson = (propsString2) => {
|
package/dist/index.umd.js
CHANGED
|
@@ -86208,10 +86208,9 @@ Arguments: ` + Array.prototype.slice.call(n10).join("") + `
|
|
|
86208
86208
|
Object.keys(json).forEach((key) => {
|
|
86209
86209
|
componentProps.push({
|
|
86210
86210
|
key,
|
|
86211
|
-
value: JSON.stringify(json[key])
|
|
86211
|
+
value: typeof json[key] === "object" ? JSON.stringify(json[key]) : "" + json[key]
|
|
86212
86212
|
});
|
|
86213
86213
|
});
|
|
86214
|
-
console.log("componentProps", componentProps);
|
|
86215
86214
|
setPropsArray(componentProps);
|
|
86216
86215
|
}
|
|
86217
86216
|
}, [propsString]);
|
|
@@ -86222,7 +86221,6 @@ Arguments: ` + Array.prototype.slice.call(n10).join("") + `
|
|
|
86222
86221
|
props[key] = schema[key].default;
|
|
86223
86222
|
}
|
|
86224
86223
|
});
|
|
86225
|
-
console.log("schemaToProps", schema, props);
|
|
86226
86224
|
return props;
|
|
86227
86225
|
};
|
|
86228
86226
|
const propsToJson = (propsString2) => {
|