lint
This commit is contained in:
parent
2be60b8c71
commit
4ccb326ece
|
@ -9,7 +9,8 @@
|
||||||
<p
|
<p
|
||||||
class:noPadding
|
class:noPadding
|
||||||
class="spectrum-Body spectrum-Body--size{size}"
|
class="spectrum-Body spectrum-Body--size{size}"
|
||||||
class:spectrum-Body--serif={serif}>
|
class:spectrum-Body--serif={serif}
|
||||||
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
@ -74,9 +74,9 @@
|
||||||
on:change={e => (block.inputs[key] = e.detail)}
|
on:change={e => (block.inputs[key] = e.detail)}
|
||||||
{bindings}
|
{bindings}
|
||||||
/>
|
/>
|
||||||
{:else if value.customType === 'query'}
|
{:else if value.customType === "query"}
|
||||||
<QuerySelector bind:value={block.inputs[key]} />
|
<QuerySelector bind:value={block.inputs[key]} />
|
||||||
{:else if value.customType === 'queryParams'}
|
{:else if value.customType === "queryParams"}
|
||||||
<QueryParamSelector bind:value={block.inputs[key]} {bindings} />
|
<QueryParamSelector bind:value={block.inputs[key]} {bindings} />
|
||||||
{:else if value.customType === "table"}
|
{:else if value.customType === "table"}
|
||||||
<TableSelector bind:value={block.inputs[key]} />
|
<TableSelector bind:value={block.inputs[key]} />
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
size="XL"
|
size="XL"
|
||||||
title="Edit Code"
|
title="Edit Code"
|
||||||
showConfirmButton={false}
|
showConfirmButton={false}
|
||||||
showCancelButton={false}>
|
showCancelButton={false}
|
||||||
|
>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -161,13 +161,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Modal bind:this={htmlModal}>
|
<Modal bind:this={htmlModal}>
|
||||||
<ModalContent title="Edit Template HTML" onConfirm={saveTemplate} size="XL">
|
<ModalContent
|
||||||
|
title="Edit Template HTML"
|
||||||
|
onConfirm={saveTemplate}
|
||||||
|
size="XL"
|
||||||
|
>
|
||||||
<Editor
|
<Editor
|
||||||
mode="handlebars"
|
mode="handlebars"
|
||||||
on:change={e => {
|
on:change={e => {
|
||||||
selectedTemplate.contents = e.detail.value
|
selectedTemplate.contents = e.detail.value
|
||||||
}}
|
}}
|
||||||
value={selectedTemplate.contents} />
|
value={selectedTemplate.contents}
|
||||||
|
/>
|
||||||
</ModalContent>
|
</ModalContent>
|
||||||
</Modal>
|
</Modal>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in New Issue