Upload Section
This section describes the BfmUploadSectionComponent component.
Usage
You need to import it in your module and use it in your template.
upload-section.component.ts
import { BfmUploadSectionComponent } from '@celerofinancas/ui-company-kit';
@Component({
standalone: true,
selector: 'upload-section',
imports: [BfmUploadSectionComponent],
templateUrl: './upload-section.component.html',
})
export class UploadSectionComponent {}
Then, in your template, you can use the component like this:
upload-section.component.html
<bfm-upload-section
[companyPk]="'companyPrimaryKey'"
[loading]="isLoading"
(changeStep)="handleChangeStep($event)"
(fileUploaded)="handleFileUploaded($event)"
/>
Inputs
The BfmUploadSectionComponent component has the following inputs:
companyPk
Company primary key.
| Type | Default |
|---|---|
string | '' |
loading
Loading state.
| Type | Default |
|---|---|
boolean | false |
Events
The BfmUploadSectionComponent component has the following events:
changeStep
Event emitted when the step is changed.
| Type | Default |
|---|---|
EventEmitter | new EventEmitter() |
fileUploaded
Event emitted when the file is uploaded.
| Type | Default |
|---|---|
EventEmitter | new EventEmitter() |