Skip to content

UploadProgressComponent

component

Selector: yuv-upload-progress

Standalone: Yes

Type: string[]

Optional list of scope identifiers this component instance should respond to.When provided, the component will display upload progress only for uploads that were initiated with a matching scope via UploadService.uploadFile() or UploadService.multipartUpload(). This allows multiple UploadProgressComponent instances to coexist in different sections of the UI, each showing only the uploads relevant to its own context.If omitted, the component responds to all uploads regardless of scope.Example :

<!-- Shows only uploads tagged with scope 'mail-editor' or 'attachments-panel' --><yuv-upload-progress [scopes]="['mail-editor', 'attachments-panel']" />___COMPODOC_EMPTY_LINE___<!-- Shows all uploads (no scope filter) --><yuv-upload-progress />

Type: UploadResult

Type: unknown

Default Value: this.#uploadService.uploadStatus$

Type: unknown

Default Value: true

Type: unknown

Default Value: computed(() => { const items = this.#status()?.items ?? []; const scopes = this.scopes(); return scopes?.length ? items.filter((item) => item.scope && scopes.includes(item.scope)) : items; })

close(): void