List Section
This section describes the BfmListSectionComponent component.
Usage
You need to import it in your module and use it in your template.
import { BfmListSectionComponent } from '@celerofinancas/ui-company-kit';
@Component({
standalone: true,
selector: 'list-section',
imports: [BfmListSectionComponent],
templateUrl: './list-section.component.html',
})
export class ListSectionComponent {}
Then, in your template, you can use the component like this:
<bfm-list-section
[companyRelated]="companyRelatedData"
[existentCompanyRelated]="existentCompanyRelatedData"
[fileToUpload]="fileToUploadData"
[invalidCompanyRelated]="invalidCompanyRelatedData"
[loading]="isLoading"
[unchangedValidatedCompanyRelated]="unchangedValidatedCompanyRelatedData"
[validatedCompanyRelated]="validatedCompanyRelatedData"
(cancel)="handleCancel($event)"
(checkChanges)="handleCheckChanges($event)"
(pushValidatedCompanyRelated)="handlePushValidatedCompanyRelated($event)"
(updateUnchangedCompanyRelated)="handleUpdateUnchangedCompanyRelated($event)"
/>
Inputs
The BfmListSectionComponent component has the following inputs:
companyRelated
Company related data.
| Type | Default |
|---|---|
array | [] |
existentCompanyRelated
Existent company related data.
| Type | Default |
|---|---|
array | [] |
fileToUpload
File to upload.
| Type | Default |
|---|---|
object | {} |
invalidCompanyRelated
Invalid company related data.
| Type | Default |
|---|---|
array | [] |
loading
Loading state.
| Type | Default |
|---|---|
boolean | false |
unchangedValidatedCompanyRelated
Unchanged validated company related data.
| Type | Default |
|---|---|
array | [] |
validatedCompanyRelated
Validated company related data.
| Type | Default |
|---|---|
array | [] |
Events
The BfmListSectionComponent component has the following events:
cancel
Event triggered when the cancel button is clicked.
| Type |
|---|
EventEmitter |
checkChanges
Event triggered when the check changes button is clicked.
| Type |
|---|
EventEmitter |
pushValidatedCompanyRelated
Event triggered when the push validated company related button is clicked.
| Type |
|---|
EventEmitter |
updateUnchangedCompanyRelated
Event triggered when the update unchanged company related button is clicked.
| Type |
|---|
EventEmitter |