import '@material/web/textfield/outlined-text-field'; import { MdOutlinedTextField } from '@material/web/textfield/outlined-text-field'; import { LitElement } from 'lit'; import { TextFieldType, UnsupportedTextFieldType } from '@material/web/textfield/internal/text-field'; export declare class ExtendableOutlinedTextField extends LitElement { accessor input: MdOutlinedTextField; /** * Gets or sets whether or not the text field is in a visually invalid state. * * This error state overrides the error state controlled by * `reportValidity()`. */ accessor error: boolean; accessor disabled: boolean; /** * The error message that replaces supporting text when `error` is true. If * `errorText` is an empty string, then the supporting text will continue to * show. * * This error message overrides the error message displayed by * `reportValidity()`. */ accessor errorText: string; accessor label: string; accessor required: boolean; /** * The current value of the text field. It is always a string. */ accessor value: string; /** * An optional prefix to display before the input value. */ accessor prefixText: string; /** * An optional suffix to display after the input value. */ accessor suffixText: string; /** * Whether or not the text field has a leading icon. Used for SSR. */ accessor hasLeadingIcon: boolean; /** * Whether or not the text field has a trailing icon. Used for SSR. */ accessor hasTrailingIcon: boolean; /** * Conveys additional information below the text field, such as how it should * be used. */ accessor supportingText: string; /** * Override the input text CSS `direction`. Useful for RTL languages that use * LTR notation for fractions. */ accessor textDirection: string; /** * The number of rows to display for a `type="textarea"` text field. * Defaults to 2. */ accessor rows: number; /** * The number of cols to display for a `type="textarea"` text field. * Defaults to 20. */ accessor cols: number; accessor inputMode: string; /** * Defines the greatest value in the range of permitted values. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max */ accessor max: string; /** * The maximum number of characters a user can enter into the text field. Set * to -1 for none. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength */ accessor maxLength: number; /** * Defines the most negative value in the range of permitted values. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min */ accessor min: string; /** * The minimum number of characters a user can enter into the text field. Set * to -1 for none. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength */ accessor minLength: number; /** * A regular expression that the text field's value must match to pass * constraint validation. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern */ accessor pattern: string; accessor placeholder: string; /** * Indicates whether or not a user should be able to edit the text field's * value. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly */ accessor readOnly: boolean; /** * Indicates that input accepts multiple email addresses. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#multiple */ accessor multiple: boolean; /** * Returns or sets the element's step attribute, which works with min and max * to limit the increments at which a numeric or date-time value can be set. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step */ accessor step: string; /** * The `` type to use, defaults to "text". The type greatly changes how * the text field behaves. * * Text fields support a limited number of `` types: * * - text * - textarea * - email * - number * - password * - search * - tel * - url * * See * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types * for more details on each input type. */ accessor type: TextFieldType | UnsupportedTextFieldType; /** * Describes what, if any, type of autocomplete functionality the input * should provide. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete */ accessor autocomplete: string; /** * Describes what, if any, type of spellcheck functionality the input * should provide. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck */ accessor spellcheck: any; /** * Describes what, if any, type of autocorrect functionality the input * should provide. * */ accessor autocorrect: string; checkValidity(): boolean; reportValidity(): boolean; select(): void; setCustomValidity(error: string): void; setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void; setSelectionRange(start: number | null, end: number | null, direction?: 'forward' | 'backward' | 'none'): void; stepDown(stepDecrement?: number): void; stepUp(stepDecrement?: number): void; reset(): void; focus(): void; protected renderMainSlot(): import("lit-html").TemplateResult<1>; render(): import("lit-html").TemplateResult<1>; } //# sourceMappingURL=extendable-outlined-text-field.d.ts.map