@appkit/dek-lib 0.2.4 → 0.2.5
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 +3 -3
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -86168,12 +86168,12 @@ const ComponentScreen = () => {
|
|
|
86168
86168
|
const api = f0();
|
|
86169
86169
|
const [propsString, setPropsString] = useLocalStorage(
|
|
86170
86170
|
"component-" + params.componentKey,
|
|
86171
|
-
"
|
|
86171
|
+
""
|
|
86172
86172
|
);
|
|
86173
86173
|
const [propsArray, setPropsArray] = useState([]);
|
|
86174
86174
|
const [error2, setError] = useState(void 0);
|
|
86175
86175
|
useEffect$1(() => {
|
|
86176
|
-
if (propsString === "
|
|
86176
|
+
if (propsString === "") {
|
|
86177
86177
|
const plugin = api.plugin("plugin");
|
|
86178
86178
|
setPropsString(
|
|
86179
86179
|
JSON.stringify(
|
|
@@ -86280,7 +86280,7 @@ const ComponentScreen = () => {
|
|
|
86280
86280
|
) }),
|
|
86281
86281
|
error2 && /* @__PURE__ */ jsxRuntimeExports.jsx(L4, { color: "red", paddingLeft: 15, paddingTop: 10, children: error2 })
|
|
86282
86282
|
] }) }),
|
|
86283
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(PN1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(V2, { halign: "center", valign: "center", children: api.plugin("plugin").component(
|
|
86283
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(PN1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(V2, { halign: "center", valign: "center", children: propsString && api.plugin("plugin").component(
|
|
86284
86284
|
params.componentKey,
|
|
86285
86285
|
parsePropsForComponent(api, propsArray)
|
|
86286
86286
|
) }) })
|
package/dist/index.umd.js
CHANGED
|
@@ -86185,12 +86185,12 @@ Arguments: ` + Array.prototype.slice.call(n10).join("") + `
|
|
|
86185
86185
|
const api = f0();
|
|
86186
86186
|
const [propsString, setPropsString] = useLocalStorage(
|
|
86187
86187
|
"component-" + params.componentKey,
|
|
86188
|
-
"
|
|
86188
|
+
""
|
|
86189
86189
|
);
|
|
86190
86190
|
const [propsArray, setPropsArray] = React$3.useState([]);
|
|
86191
86191
|
const [error2, setError] = React$3.useState(void 0);
|
|
86192
86192
|
React$3.useEffect(() => {
|
|
86193
|
-
if (propsString === "
|
|
86193
|
+
if (propsString === "") {
|
|
86194
86194
|
const plugin = api.plugin("plugin");
|
|
86195
86195
|
setPropsString(
|
|
86196
86196
|
JSON.stringify(
|
|
@@ -86297,7 +86297,7 @@ Arguments: ` + Array.prototype.slice.call(n10).join("") + `
|
|
|
86297
86297
|
) }),
|
|
86298
86298
|
error2 && /* @__PURE__ */ jsxRuntimeExports.jsx(L4, { color: "red", paddingLeft: 15, paddingTop: 10, children: error2 })
|
|
86299
86299
|
] }) }),
|
|
86300
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(PN1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(V2, { halign: "center", valign: "center", children: api.plugin("plugin").component(
|
|
86300
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(PN1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(V2, { halign: "center", valign: "center", children: propsString && api.plugin("plugin").component(
|
|
86301
86301
|
params.componentKey,
|
|
86302
86302
|
parsePropsForComponent(api, propsArray)
|
|
86303
86303
|
) }) })
|