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
| Type | Default |
|---|---|
| Company | null |
companyType
Company Type
| Type | Default |
|---|---|
string | null |
formGroup
Form Group
| Type | Default |
|---|---|
UntypedFormGroup | null |
legalRepresentativeList$
Legal Representative List
| Type | Default |
|---|---|
BehaviorSubject | null |
loading$
Loading
| Type | Default |
|---|---|
BehaviorSubject<boolean> | null |
serviceCode
Service Code
| Type | Default |
|---|---|
CdsPopoverComponent | null |
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 |