From 7b474fef1ea451cb9e337ae17989696a27c37c15 Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Tue, 19 Jan 2021 10:39:39 +0100 Subject: [PATCH] wire BindingPanel correctly to PropertyControl --- .../userInterface/BindingPanel.svelte | 113 ++++++++++++++++++ .../userInterface/PropertyControl.svelte | 34 +++--- 2 files changed, 132 insertions(+), 15 deletions(-) create mode 100644 packages/builder/src/components/userInterface/BindingPanel.svelte diff --git a/packages/builder/src/components/userInterface/BindingPanel.svelte b/packages/builder/src/components/userInterface/BindingPanel.svelte new file mode 100644 index 0000000000..1e40e8e001 --- /dev/null +++ b/packages/builder/src/components/userInterface/BindingPanel.svelte @@ -0,0 +1,113 @@ + + +
+
+
+ Objects + + {#if context} + Tables +
    + {#each context as { readableBinding }} +
  • addToText(readableBinding)}>{readableBinding}
  • + {/each} +
+ {/if} + {#if instance} + Components +
    + {#each instance as { readableBinding }} +
  • addToText(readableBinding)}>{readableBinding}
  • + {/each} +
+ {/if} +
+
+