{"version":3,"file":"text-input.d.ts","sources":["text-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","sourcesContent":["import { ElementRef, OnInit, Renderer2 } from '@angular/core';\r\nimport { ControlValueAccessor, FormControl } from '@angular/forms';\r\n/**\r\n * Use text fields in forms to help people enter, select, and search for text. Text fields are normally found within a form but can also\r\n * be part of a modal, search, or card. Common text input types include: usernames, descriptions, URLs, emails, addresses,\r\n * and plain text searches.\r\n */\r\nexport declare class CloInputText implements OnInit, ControlValueAccessor {\r\n    private renderer;\r\n    /**\r\n     * The input type, defaults to 'text'\r\n     * The following types are supported:   `'email'`, `'password'`,\r\n     `'tel'`, `'text'`, `'url', 'search'`\r\n     */\r\n    get type(): string;\r\n    set type(value: string);\r\n    protected _type: string;\r\n    /**\r\n     * A directive, defaults to ''\r\n     * The following types are supported:   `'currency'`\r\n     */\r\n    get directive(): string;\r\n    set directive(value: string);\r\n    protected _directive: string;\r\n    /**\r\n     * Boolean value for disabling the field\r\n     */\r\n    disabled: boolean;\r\n    /**\r\n     * Placeholder Text\r\n     */\r\n    placeholder: string;\r\n    /**\r\n     * Error Message\r\n     */\r\n    errorMessage: string;\r\n    /**\r\n     * Boolean for whether the field is required\r\n     *\r\n     */\r\n    required: boolean;\r\n    /**\r\n     * Boolean for whether the field is readOnly\r\n     *\r\n     */\r\n    readOnly: boolean;\r\n    name: string;\r\n    val: string;\r\n    el: ElementRef;\r\n    invalid: boolean;\r\n    valid: boolean;\r\n    control: FormControl;\r\n    get value(): string;\r\n    set value(val: string);\r\n    protected _validateType(): void;\r\n    protected _validateDirective(): void;\r\n    ngOnInit(): void;\r\n    onChangeFn: (_: any) => void;\r\n    onTouchedFn: () => void;\r\n    registerOnChange(fn: any): void;\r\n    registerOnTouched(fn: any): void;\r\n    onChange(): void;\r\n    onKeyUp(e: any): void;\r\n    writeValue(value: any): void;\r\n    setDisabledState(isDisabled: boolean): void;\r\n    constructor(renderer: Renderer2);\r\n}\r\n"]}