@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
23 lines (22 loc) • 1.28 kB
TypeScript
import type { InputNumberProps, InputNumberWatches, InputTypeOnOff, Iso8601, SuggestionsPropType } from '../../schema';
import { InputIconController } from '../@deprecated/input/controller-icon';
import type { Generic } from 'adopted-style-sheets';
export declare class InputNumberController extends InputIconController implements InputNumberWatches {
private readonly numberOrIsoDateRegex;
protected readonly component: Generic.Element.Component & InputNumberProps;
constructor(component: Generic.Element.Component & InputNumberProps, name: string, host?: HTMLElement);
validateAutoComplete(value?: InputTypeOnOff): void;
validateSuggestions(value?: SuggestionsPropType): void;
private readonly parseToString;
private readonly validateIso8601;
protected onChange(event: Event): void;
validateMax(value?: number | Iso8601): void;
validateMin(value?: number | Iso8601): void;
validatePlaceholder(value?: string): void;
validateReadOnly(value?: boolean): void;
validateRequired(value?: boolean): void;
validateStep(value?: number): void;
validateValue(value?: number | Iso8601 | null): void;
validateValueEx(value?: number | Iso8601 | null, afterPatch?: (v: string) => void): void;
componentWillLoad(): void;
}