COA Map
This section describes the BfmAmountFormCoaMapComponent component.
Composition
The BfmAmountFormCoaMapComponent has no any composition component.
Usage
You can import the BfmAmountFormCoaMapComponent directly in your route configuration.
coa-map.component.html
import { BfmAmountFormCoaMapComponent } from "@celerofinancas/ui-cash-flow";
@Component({
standalone: true,
selector: 'custom-coa-map',
imports: [BfmAmountFormCoaMapComponent],
templateUrl: './coa-map.component.html',
})
export class CustomCoaMapComponent {}
Then, in your template, you can use the component like this:
coa-map.component.html
<bfm-amount-coa-map
[activeCoaPk]="'someValue'"
[amountValue]="amountFormValue"
[companyPk]="'companyPkValue'"
[enableClassification]="true"
[saveClassificationText]="'Salvar classificação'"
(coaMapChanges)="handleCoaMapChanges($event)"
/>
Inputs
The BfmAmountFormCoaMapComponent component has the following inputs:
activeCoaPk
Active chart of account identifier.
| Type | Default |
|---|---|
string | null |
amountValue
Parent amount form value.
| Type | Default |
|---|---|
any | null |
companyPk
Active company identifier.
| Type | Default |
|---|---|
string | null |
enableClassification
Whether to enable the classification permission.
| Type | Default |
|---|---|
boolean | true |
saveClassificationText
Save classification button text.
| Type | Default |
|---|---|
string | 'Salvar classificação' |
Events
The BfmAmountFormCoaMapComponent component has the following Events:
coaMapChanges
Emits when there are changes in the chart of accounts map.
| Type |
|---|
EventEmitter |