@appkit/dek-lib 0.27.0 → 0.28.0
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
CHANGED
|
@@ -98724,6 +98724,9 @@ const ComponentScreen = ({ api: api2 }) => {
|
|
|
98724
98724
|
const handlePropsChange = (value) => {
|
|
98725
98725
|
setPropsString(value);
|
|
98726
98726
|
};
|
|
98727
|
+
const parsedProps = parsePropsForComponent(api2, propsArray);
|
|
98728
|
+
const maxWidth = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxWidth"];
|
|
98729
|
+
const maxHeight = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxHeight"];
|
|
98727
98730
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wt2, { children: [
|
|
98728
98731
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { fullscreen: true, cols: "40% 60%", children: [
|
|
98729
98732
|
/* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { direction: "vert", paddingTop: 100, children: [
|
|
@@ -98775,9 +98778,17 @@ const ComponentScreen = ({ api: api2 }) => {
|
|
|
98775
98778
|
) }),
|
|
98776
98779
|
error2 && /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { color: "red", paddingLeft: 15, paddingTop: 10, children: error2 })
|
|
98777
98780
|
] }) }),
|
|
98778
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", children:
|
|
98779
|
-
|
|
98780
|
-
|
|
98781
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
98782
|
+
"div",
|
|
98783
|
+
{
|
|
98784
|
+
style: {
|
|
98785
|
+
width: "100%",
|
|
98786
|
+
maxWidth,
|
|
98787
|
+
height: "100%",
|
|
98788
|
+
maxHeight
|
|
98789
|
+
},
|
|
98790
|
+
children: propsString && api2.integration("plugin").component(params.componentKey, parsedProps)
|
|
98791
|
+
}
|
|
98781
98792
|
) }) })
|
|
98782
98793
|
] }),
|
|
98783
98794
|
/* @__PURE__ */ jsxRuntimeExports.jsx($t2, { title: `Component View`, subtitle: params.componentKey })
|
package/dist/index.umd.js
CHANGED
|
@@ -98741,6 +98741,9 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
|
|
|
98741
98741
|
const handlePropsChange = (value) => {
|
|
98742
98742
|
setPropsString(value);
|
|
98743
98743
|
};
|
|
98744
|
+
const parsedProps = parsePropsForComponent(api2, propsArray);
|
|
98745
|
+
const maxWidth = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxWidth"];
|
|
98746
|
+
const maxHeight = parsedProps && parsedProps["dev"] && parsedProps["dev"]["maxHeight"];
|
|
98744
98747
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wt2, { children: [
|
|
98745
98748
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Fq1, { fullscreen: true, cols: "40% 60%", children: [
|
|
98746
98749
|
/* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(u0, { direction: "vert", paddingTop: 100, children: [
|
|
@@ -98792,9 +98795,17 @@ Arguments: ` + Array.prototype.slice.call(n5).join("") + `
|
|
|
98792
98795
|
) }),
|
|
98793
98796
|
error2 && /* @__PURE__ */ jsxRuntimeExports.jsx(h4, { color: "red", paddingLeft: 15, paddingTop: 10, children: error2 })
|
|
98794
98797
|
] }) }),
|
|
98795
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", children:
|
|
98796
|
-
|
|
98797
|
-
|
|
98798
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(St2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(u0, { halign: "left", valign: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
98799
|
+
"div",
|
|
98800
|
+
{
|
|
98801
|
+
style: {
|
|
98802
|
+
width: "100%",
|
|
98803
|
+
maxWidth,
|
|
98804
|
+
height: "100%",
|
|
98805
|
+
maxHeight
|
|
98806
|
+
},
|
|
98807
|
+
children: propsString && api2.integration("plugin").component(params.componentKey, parsedProps)
|
|
98808
|
+
}
|
|
98798
98809
|
) }) })
|
|
98799
98810
|
] }),
|
|
98800
98811
|
/* @__PURE__ */ jsxRuntimeExports.jsx($t2, { title: `Component View`, subtitle: params.componentKey })
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type AccessoryState = 0 | 1;
|
|
2
|
-
export type Accessory = {
|
|
3
|
-
state: AccessoryState;
|
|
4
|
-
};
|
|
5
|
-
export declare const getAccessory: (uuid: string) => Promise<Accessory>;
|
|
6
|
-
export declare const setAccessoryState: (uuid: string, state: AccessoryState) => Promise<Accessory>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const serverUri = "https://connect.daveweaver.net";
|