import { ValidatorFn } from "@angular/forms"; import { ErrorValidator } from "./error-validator.interface"; import { Mask } from "./mask.interface"; import { OptionSelect } from "./option-select.interface"; import { ABM_LIST_TYPE } from "../enum/abm-list-type.enum"; import { ABM_LIST_INPUT_TYPE } from "../enum/abm-list-input-type.enum"; export interface AbmList{ id:string; type: ABM_LIST_TYPE; disabled?: boolean; hide?: boolean; required?: boolean; value?: string; values?: OptionSelect[]; defaultValue?: string | string[]; validators?:ValidatorFn[]; placeholder?:string; placeholderType?: string; col?: string; label?: string; labelInput?: string; inputType?: ABM_LIST_INPUT_TYPE; minLength?:number; maxLength?:number; minDate?: string maxDate?: string pattern?:RegExp; mask?:Mask errors?:ErrorValidator[]; dynamicError?: boolean; inputIndex?: number; multiple?: boolean; countryCode?: string; }