diff --git a/src/svelte-components/src/dialogs/DialogHost.svelte b/src/svelte-components/src/dialogs/DialogHost.svelte index 3ce568d..86850ab 100644 --- a/src/svelte-components/src/dialogs/DialogHost.svelte +++ b/src/svelte-components/src/dialogs/DialogHost.svelte @@ -11,6 +11,7 @@ import ShutdownDialog from "./ShutdownDialog.svelte"; import MessageDialog from "./MessageDialog.svelte"; import SwitchRotaryDialog from "./SwitchRotaryDialog.svelte"; + import EasyAdapterDialog from "./EasyAdapterDialog.svelte"; const HomeMachineDialogProps = writable(); type HomeMachineDialogPropsType = { @@ -18,6 +19,11 @@ home: () => void; }; + const EasyAdapterDialogProps = writable(); + type EasyAdapterDialogPropsType = { + open: boolean; + }; + const ProbeDialogProps = writable(); type ProbeDialogPropsType = { open: boolean; @@ -86,6 +92,11 @@ props: Omit ); + export function showDialog( + dialog: "EasyAdapter", + props: Omit + ); + export function showDialog( dialog: "Probe", props: Omit @@ -142,6 +153,10 @@ HomeMachineDialogProps.set({ ...props, open: true }); break; + case "EasyAdapter": + EasyAdapterDialogProps.set({ ...props, open: true }); + break; + case "Probe": ProbeDialogProps.set({ ...props, open: true }); break; @@ -251,6 +266,7 @@ + diff --git a/src/svelte-components/src/dialogs/EasyAdapterDialog.svelte b/src/svelte-components/src/dialogs/EasyAdapterDialog.svelte new file mode 100644 index 0000000..78c4780 --- /dev/null +++ b/src/svelte-components/src/dialogs/EasyAdapterDialog.svelte @@ -0,0 +1,19 @@ + + + + Configuring Easy Adapter + + This will take ~90 seconds to complete. Please wait until the process is complete. +