{#if format === 'resource-s3_object'} {:else if value == undefined || typeof value === 'string'} { path = e.detail resourceToValue() }} on:clear bind:value={path} initialValue={typeof defaultValue == 'string' && defaultValue.startsWith('$res:') ? defaultValue.substr('$res:'.length) : defaultValue} resourceType={format.split('-').length > 1 ? format.substring('resource-'.length) : undefined} {showSchemaExplorer} /> {:else} {#await import('$lib/components/JsonEditor.svelte')} {:then Module} {/await} {/if}