@if ((libraryState$ | async)?.libraries; as libraries) {

{{ t('title') }}

{{ t('description') }}

{{ t('uploadDestination') }}
@if (value === 'library') {
{{ t('librarySelection') }}
}
{{ t('selectFiles') }}
{{ t('uploadHint') }}
@if (files?.length > 0) { @if (isUploading || uploadCompleted) {
@if (isUploading) { {{ t('uploading') }} } @else { {{ t('complete') }} } {{ t('filesCount', { uploaded: getUploadedCount(), total: this.files.length }) }} @if (getFailedCount() > 0) { {{ t('failedCount', { count: getFailedCount() }) }} } {{ formatSize(getUploadedBytes()) }} / {{ formatSize(getTotalBytes()) }} {{ getOverallProgress() }}%
}
@for (uploadFile of this.files; track uploadFile; let i = $index) {
{{ uploadFile.file.name }} {{ formatSize(uploadFile.file.size) }} @if (uploadFile.status === 'Uploading') { {{ uploadFile.progress }}% }
@switch (uploadFile.status) { @case ('Pending') { } @case ('Uploading') { } @case ('Uploaded') { } @case ('Failed') { @if (uploadFile.errorMessage?.includes('exceeds maximum size')) { @if (hasUploadCompleted()) { } @else { } } @else { } } }
}
}

{{ t('dragDropTitle') }}


{{ t('maxFileSize', { size: maxFileSizeDisplay }) }}

}