{"version":3,"file":"select-input.d.ts","sources":["select-input.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA;AACA","sourcesContent":["import { ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { ControlValueAccessor } from '@angular/forms';\r\ninterface Item {\r\n    label: string;\r\n    value: string;\r\n}\r\n/**\r\n * Use this component to create a drop-down list with several options\r\n */\r\nexport declare class CloInputSelect implements OnInit, ControlValueAccessor {\r\n    private renderer;\r\n    /**\r\n     * Object value for the dropdown selected option\r\n     * {label: string, value: any}\r\n     */\r\n    selectedOption: Item;\r\n    /**\r\n     * String value for the ID of the drop down\r\n     */\r\n    dropdownID: string;\r\n    /**\r\n     * String value for input name\r\n     */\r\n    inputName: any;\r\n    /**\r\n     * Objects for the drop down\r\n     * {label: string, value: any}\r\n     */\r\n    objects: Item[];\r\n    /**\r\n     * String value for the title of the dropdown\r\n     */\r\n    title: string;\r\n    /**\r\n     * String value for the placeholder text of the dropdown\r\n     */\r\n    placeholder: string;\r\n    /**\r\n     * String value for the error message\r\n     */\r\n    errorMessage: string;\r\n    /**\r\n     * Boolean value for whether the field is required\r\n     *\r\n     */\r\n    required: boolean;\r\n    /**\r\n     * Boolean value for whether selectedOption is a default value and should be the primary color.\r\n     *\r\n     */\r\n    isDefaultValue: boolean;\r\n    defaultValue: Item;\r\n    disabled: boolean;\r\n    formControl: FormControl;\r\n    valueChange: EventEmitter<any>;\r\n    input: ElementRef;\r\n    dropdownOptions: ElementRef;\r\n    val: string;\r\n    get value(): string;\r\n    set value(val: string);\r\n    onChange: any;\r\n    onTouched: any;\r\n    setDisabled: any;\r\n    constructor(renderer: Renderer2);\r\n    ngOnInit(): void;\r\n    ngOnChanges(changes: any): void;\r\n    ngAfterViewInit(): void;\r\n    /**\r\n     * Method called when an option has been selected in the dropdown\r\n     */\r\n    selectOption(value: any): void;\r\n    registerOnChange(fn: any): void;\r\n    registerOnTouched(fn: any): void;\r\n    writeValue(value: any): void;\r\n    blurred(event_name: any): void;\r\n    isiOS(): RegExpMatchArray;\r\n    setDisabledState(isDisabled: boolean): void;\r\n}\r\nexport {};\r\n"]}