{
e.preventDefault();
}}
>
${this.type === "single"
? this.value
? html`
${(this.value as File)?.name}`
: html`
${this.placeholder}
${this.fileType === "all"
? `(All formats supported)`
: `(${getExtensionsFromMimeType(this.fileType)})`}
`
: html`
${this.placeholder}
${this.fileType === "all"
? `(All formats supported)`
: `(${getExtensionsFromMimeType(this.fileType)})`}
`}
${this.loading
? html`
${unsafeSVG(loader)}
`
: this.type === "single" && this.value
? html`
`
: html`
`}