@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
25 lines (24 loc) • 1.43 kB
TypeScript
import type { InputTextProps, InputTextType, InputTextWatches, PropLabelWithExpertSlot, PropSuggestions, SpellCheckPropType, SuggestionsPropType } from '../../schema';
import { InputPasswordController } from '../input-password/controller';
import type { Generic } from 'adopted-style-sheets';
type RequiredProps = PropLabelWithExpertSlot;
type OptionalProps = {
id: string;
} & PropSuggestions;
type InputTextEmailProps = Generic.Element.Members<RequiredProps, OptionalProps>;
type InputTextEmailWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>;
export declare class InputTextEmailController extends InputPasswordController implements InputTextEmailWatches {
protected readonly component: Generic.Element.Component & InputTextEmailProps;
constructor(component: Generic.Element.Component & InputTextEmailProps, name: string, host?: HTMLElement);
validateSuggestions(value?: SuggestionsPropType): void;
componentWillLoad(): void;
}
export declare class InputTextController extends InputTextEmailController implements InputTextWatches {
protected readonly component: Generic.Element.Component & InputTextProps;
hasError: boolean;
constructor(component: Generic.Element.Component & InputTextProps, name: string, host?: HTMLElement);
validateSpellCheck(value?: SpellCheckPropType): void;
validateType(value?: InputTextType): void;
componentWillLoad(): void;
}
export {};