import { Component, Input, OnInit } from '@angular/core'; import { FormControl, FormGroup } from '@angular/forms'; import { HtmlInputTypes } from '../../models'; @Component({ selector: 'fss-form-input-sentence', templateUrl: './form-input-sentence.component.html', styleUrls: ['./form-input-sentence.component.scss'] }) export class FormInputSentenceComponent implements OnInit { @Input() form: FormGroup | undefined; @Input() control: FormControl | undefined; @Input() label!: string; @Input() toolTipText = 'fss.universal.tooltip.missingPermission'; @Input() inputFieldType: HtmlInputTypes = HtmlInputTypes.number; @Input() autoCompleteHint = 'off'; @Input() hasPermission = true; @Input() leftText!: string; @Input() translateLeftText = true; @Input() rightText!: string; @Input() translateRightText = true; @Input() valueRange!: string; @Input() valueRangeFontSize!: number ; @Input() minWidth!: any; @Input() inputWidth: number = 50; @Input() allowFlexWrap = false; _HtmlInputTypes = HtmlInputTypes; constructor() { } ngOnInit(): void { } }