Skip to main content

Company Complementary Data

This section describes the BfmCompanyComplementaryDataComponent component.

Usage

You need to import it in your module and use it in your template.

company-complementary-data.component.ts
import { BfmCompanyComplementaryDataComponent } from '@celerofinancas/ui-user-kit';

@Component({
standalone: true,
selector: 'company-complementary-data',
imports: [BfmCompanyComplementaryDataComponent],
templateUrl: './company-complementary-data.component.html',
})
export class CompanyComplementaryDataComponent {}

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

company-complementary-data.component.html
<bfm-company-complementary-data 
[company]="company"
[companyType]="companyType"
[formGroup]="formGroup"
[legalRepresentativeList$]="legalRepresentativeList$"
[loading$]="loading$"
[serviceCode]="serviceCode"
(editServiceCodeList)="handleEditServiceCodeList($event)"
(fetchCompanyData)="handleFetchCompanyData($event)"
(submitForm)="handleSubmitForm($event)"
/>

Inputs

The BfmCompanyComplementaryDataComponent component has the following inputs:

company

Company

TypeDefault
Companynull

companyType

Company Type

TypeDefault
stringnull

formGroup

Form Group

TypeDefault
UntypedFormGroupnull

legalRepresentativeList$

Legal Representative List

TypeDefault
BehaviorSubjectnull

loading$

Loading

TypeDefault
BehaviorSubject<boolean>null

serviceCode

Service Code

TypeDefault
CdsPopoverComponentnull

Events

The BfmCompanyComplementaryDataComponent component has the following events:

editServiceCodeList

Edit Service Code List Function

Type
EventEmitter

fetchCompanyData

Fetch Company Data Function

Type
EventEmitter

submitForm

On Submit Function

Type
EventEmitter