import {Component, OnInit, ViewEncapsulation} from '@angular/core';
import {FieldType} from '@ngx-formly/material';
import {AllService} from '../../../all.service';
import {ActivatedRoute, Router} from '@angular/router';
import {FormGroup} from '@angular/forms';
import {FormlyField, FormlyFieldConfig} from '@ngx-formly/core';
@Component({
selector: 'jhi-step-resiliation',
templateUrl: './step-resiliation.component.html',
styleUrls: ['./step-resiliation.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class StepResiliationComponent extends FieldType implements OnInit {
form = new FormGroup({});
fields: FormlyFieldConfig[] = [
{
fieldGroup: [
{
key: 'insured_resiliation_wanted',
type: 'radioCustom',
templateOptions: {
label: '
' +
'' +
'(Envoi du courrier de résiliation en recommandé à votre banque, accompagnement, relances auprès de votre banque … Bénéficiez de notre expertise offerte !)