Skip to main content

Uploads List

This section describes the BfmUploadsListComponent component.

Composition

The BfmUploadsListComponent is composed of the following components:

Usage

To use the BfmUploadsListComponent, you need to import it in your module and use it in your template.

uploads-list.component.ts
import { BfmUploadsListComponent } from "@celerofinancas/ui-files";

@Component({
standalone: true,
selector: "uploads-list",
imports: [BfmUploadsListComponent],
templateUrl: "./uploads-list.component.html",
})
export class UploadsListComponent {}

Then, in your template, you can use the component like this:

uploads-list.component.html
<bfm-uploads-list />

Inputs

The BfmUploadsListComponent component has the following inputs:

headers

List of headers to be displayed in the table.

[
{ key: "filename", value: "Nome do documento" },
{ key: "financial_record_name", value: "Nome do registro" },
{ key: "user_name", value: "Enviado por" },
{ key: "created_at", value: "Enviado em" },
{ key: "progress", value: "Status" },
];

Events

The BfmUploadsListComponent component has no events.