{#if type === 'hidden'} {#if validation} {/if} {:else} = 0}> {#if icon} {/if} {#if type === 'duration'} {placeholder} {#each extraData as f} e.stopPropagation()}> e.stopPropagation()}>{f} {/each} {:else if type === 'select'} {#each extraData as option} {option.display || option} {/each} {:else if type === 'textarea'} focused = true} on:focusout={() => focused = false}> {:else if type === 'checkbox'} {:else} {/if} {#if type !== 'duration'} {@html placeholder || ''} {/if} {#if type === 'file'} {#if files} {#each files as file} {file.name} {FileSize.humanizeFileSize(file.size, true)} {/each} {/if} Browse... {/if} {#if validation} {validation.message} {/if} {#if hint} {hint} {/if} {/if}