|
|
|
@ -124,7 +124,7 @@ |
|
|
|
<div class="fields"> |
|
|
|
{#each schemaProperties as [key, value]} |
|
|
|
<div class="block-field"> |
|
|
|
<Label>{value.title || key}</Label> |
|
|
|
<Label>{value.title || (key === "row" ? "Table" : key)}</Label> |
|
|
|
{#if value.type === "string" && value.enum} |
|
|
|
<Select |
|
|
|
on:change={e => onChange(e, key)} |
|
|
|
@ -170,6 +170,7 @@ |
|
|
|
/> |
|
|
|
{:else} |
|
|
|
<DrawerBindableInput |
|
|
|
fillWidth |
|
|
|
title={value.title} |
|
|
|
panel={AutomationBindingPanel} |
|
|
|
type="email" |
|
|
|
@ -229,14 +230,17 @@ |
|
|
|
{bindings} |
|
|
|
/> |
|
|
|
{:else} |
|
|
|
<DrawerBindableInput |
|
|
|
title={value.title} |
|
|
|
panel={AutomationBindingPanel} |
|
|
|
type={value.customType} |
|
|
|
value={inputData[key]} |
|
|
|
on:change={e => onChange(e, key)} |
|
|
|
{bindings} |
|
|
|
/> |
|
|
|
<div class="test"> |
|
|
|
<DrawerBindableInput |
|
|
|
fillWidth |
|
|
|
title={value.title} |
|
|
|
panel={AutomationBindingPanel} |
|
|
|
type={value.customType} |
|
|
|
value={inputData[key]} |
|
|
|
on:change={e => onChange(e, key)} |
|
|
|
{bindings} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
{/if} |
|
|
|
{/if} |
|
|
|
</div> |
|
|
|
@ -259,4 +263,8 @@ |
|
|
|
display: grid; |
|
|
|
grid-gap: 5px; |
|
|
|
} |
|
|
|
|
|
|
|
.test :global(.drawer) { |
|
|
|
width: 10000px !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|
|