UNPKG

@unicef-polymer/etools-unicef

Version:
40 lines (39 loc) 1.3 kB
import { LitElement } from 'lit'; import '@shoelace-style/shoelace/dist/components/input/input.js'; export declare class EtoolsInputBase extends LitElement { label: string; placeholder: string; requiredPlaceholder: boolean; noLabelFloat: boolean; pattern: string; allowedPattern: string; value: number | string | null; disabled: boolean; required: boolean; readonly: boolean; language: string; errorMessage: string; autoValidate: boolean; _autoValidate: boolean; invalid: boolean; alwaysFloatLabel: boolean; min: number | string | undefined; max: number | string | undefined; step: number | 'any' | undefined; type: 'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url'; noSpinButtons: boolean; passwordToggle: boolean; passwordVisible: boolean; clearable: boolean; minlength: number | undefined; maxlength: number | undefined; charCounter: boolean; charCount: number; autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'; autocorrect: 'off' | 'on'; wrapTextInReadonly: boolean; constructor(); connectedCallback(): void; disconnectedCallback(): void; handleLanguageChange(e: any): void; }