From b18f840c00fc0418a5f0ff4da3e79a03ae65f7fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 28 Apr 2021 14:33:40 +0200 Subject: [PATCH 01/17] Convert IntegrationForm to use Layout component --- .../IntegrationConfigForm.svelte | 40 ++++++------- .../EventsEditor/EventEditor.svelte | 14 ++++- .../[selectedDatasource]/index.svelte | 58 +++++++++---------- 3 files changed, 58 insertions(+), 54 deletions(-) diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte index 14c980f7f9..e442afd08d 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte @@ -1,34 +1,33 @@
- {#each Object.keys(schema) as configKey} - {#if schema[configKey].type === "object"} - - - - {:else} -
+ + {#each Object.keys(schema) as configKey} + {#if schema[configKey].type === "object"} - -
- {/if} - {/each} + {:else} +
+ + +
+ {/if} + {/each} + diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte index fdd01f4976..96533ae599 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/EventEditor.svelte @@ -1,7 +1,13 @@ -
-
+ +
{/if}
+ +
{#if selectedAction}
diff --git a/packages/builder/src/pages/builder/[application]/data/datasource/[selectedDatasource]/index.svelte b/packages/builder/src/pages/builder/[application]/data/datasource/[selectedDatasource]/index.svelte index fbb7a33c21..5b67e11206 100644 --- a/packages/builder/src/pages/builder/[application]/data/datasource/[selectedDatasource]/index.svelte +++ b/packages/builder/src/pages/builder/[application]/data/datasource/[selectedDatasource]/index.svelte @@ -1,6 +1,6 @@ - + @@ -121,7 +121,7 @@

{/if}
- + diff --git a/packages/bbui/src/Spacer/Spacer.svench b/packages/bbui/src/Spacer/Spacer.svench deleted file mode 100644 index 0ad06cf35b..0000000000 --- a/packages/bbui/src/Spacer/Spacer.svench +++ /dev/null @@ -1,51 +0,0 @@ - - - - - -
- -
-
- - -
- -
-
- - -
- -
-
- - -
-
- -
-
-
- - -
-
- -
-
-
diff --git a/packages/builder/src/components/integration/QueryEditor.svelte b/packages/builder/src/components/integration/QueryEditor.svelte index d2dd1c2015..0780b6939a 100644 --- a/packages/builder/src/components/integration/QueryEditor.svelte +++ b/packages/builder/src/components/integration/QueryEditor.svelte @@ -1,6 +1,6 @@