{ rawValue = JSON.stringify(value, null, 2) editor?.setCode(rawValue) }} readOnlyMode={false} />
{#if s3FileUploadRawMode} {#await import('$lib/components/JsonEditor.svelte')} {:then Module} { dispatch('focus') }} code={JSON.stringify(value ?? { s3: '' }, null, 2)} bind:value /> {/await} {:else} { value = { s3: evt.detail?.path ?? '' } }} on:deletion={(evt) => { value = { s3: '' } }} defaultValue={value?.s3} /> {/if}