Digital Certificate - Form
This section describes the BfmFormComponent component.
Usage
You can import the BfmFormComponent directly in your route configuration.
import { BfmFormComponent } from '@celerofinancas/ui-charges';
const routes = [
{
path: 'digital-certificate-form',
component: BfmFormComponent,
},
];
But if you need more customization, you need to import it in your module and use it in your template.
digital-certificate-form.component.ts
import { BfmFormComponent } from '@celerofinancas/ui-charges';
@Component({
standalone: true,
selector: 'digital-certificate-form',
imports: [BfmFormComponent],
templateUrl: './digital-certificate-form.component.html',
})
export class DigitalCertificateFormComponent {}
Then, in your template, you can use the component like this:
digital-certificate-form.component.html
<bfm-form
[certHaveBeenUploaded]="certHaveBeenUploaded"
[subtitle]="'O cadastro do certificado digital precisará ser feito apenas uma vez'"
[title]="'Envie o certificado digital para poder emitir notas de serviço pela plataforma.'"
/>
Inputs
The BfmFormComponent component has the following inputs:
certHaveBeenUploaded
Check if cert have been successfully uploaded.
| Type | Default |
|---|---|
BehaviorSubject of boolean | new BehaviorSubject(false) |
subtitle
Subtitle of the banner component
| Type | Default |
|---|---|
| string | 'O cadastro do certificado digital precisará ser feito apenas uma vez' |
title
Title of the banner component
| Type | Default |
|---|---|
| string | 'Envie o certificado digital para poder emitir notas de serviço pela plataforma.' |
Events
The BfmFormComponent component has no events.