From 00d1f9aaafddea46dddb81c3b67792e75bd5f4a5 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Mon, 17 Aug 2020 16:49:23 +0100 Subject: [PATCH] removed StateBindingControl and associated controls - not used --- .../ComponentPropertiesPanel.svelte | 1 - .../components/userInterface/NewScreen.svelte | 1 - .../userInterface/PropControl.svelte | 44 ------------- .../components/userInterface/PropsView.svelte | 52 --------------- .../userInterface/StateBindingControl.svelte | 63 ------------------- 5 files changed, 161 deletions(-) delete mode 100644 packages/builder/src/components/userInterface/PropControl.svelte delete mode 100644 packages/builder/src/components/userInterface/PropsView.svelte delete mode 100644 packages/builder/src/components/userInterface/StateBindingControl.svelte diff --git a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte index 23ca5d8981..0a9d5c75ac 100644 --- a/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte +++ b/packages/builder/src/components/userInterface/ComponentPropertiesPanel.svelte @@ -1,6 +1,5 @@ - -
- {#if prop_definition.type !== 'event'} -
{prop_name}
- store.setComponentProp(prop_name, v)} /> - {/if} -
- - diff --git a/packages/builder/src/components/userInterface/PropsView.svelte b/packages/builder/src/components/userInterface/PropsView.svelte deleted file mode 100644 index caf79eb4ce..0000000000 --- a/packages/builder/src/components/userInterface/PropsView.svelte +++ /dev/null @@ -1,52 +0,0 @@ - - -
- -
- {#if componentDef} - {#each Object.entries(componentDef.props) as [prop_name, prop_def], index} - {#if prop_def !== 'event'} -
- - -
- {/if} - {/each} - {/if} -
- -
- - diff --git a/packages/builder/src/components/userInterface/StateBindingControl.svelte b/packages/builder/src/components/userInterface/StateBindingControl.svelte deleted file mode 100644 index c37b0b52e9..0000000000 --- a/packages/builder/src/components/userInterface/StateBindingControl.svelte +++ /dev/null @@ -1,63 +0,0 @@ - - -
- {#if type === 'bool'} -
- onChanged(!value)} /> -
- {:else if type === 'models'} - - {:else if type === 'options' || type === 'models'} - - {/if} -
- -