UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

74 lines (73 loc) 3.17 kB
import type { JSX } from '../../stencil-public-runtime'; import type { ButtonProps, FocusableElement, HideMsgPropType, IconsHorizontalPropType, IdPropType, InputNumberAPI, InputNumberStates, InputTypeOnDefault, InputTypeOnOff, LabelWithExpertSlotPropType, MsgPropType, NamePropType, NumberString, ShortKeyPropType, Stringified, SuggestionsPropType, SyncValueBySelectorPropType, TooltipAlignPropType } from '../../schema'; export declare class KolInputNumber implements InputNumberAPI, FocusableElement { private readonly host?; private inputRef?; private readonly catchRef; getValue(): Promise<number | NumberString | null>; kolFocus(): Promise<void>; private setInitialValueType; private remapValue; private readonly onInput; private readonly onChange; private readonly onKeyDown; private getFormFieldProps; private getInputProps; render(): JSX.Element; private readonly controller; _accessKey?: string; _autoComplete?: InputTypeOnOff; _disabled?: boolean; _hideMsg?: boolean; _hideLabel?: boolean; _hint?: string; _icons?: IconsHorizontalPropType; _id?: IdPropType; _label: LabelWithExpertSlotPropType; _max?: number | NumberString; _min?: number | NumberString; _msg?: Stringified<MsgPropType>; _name?: NamePropType; _on?: InputTypeOnDefault; _placeholder?: string; _readOnly?: boolean; _required?: boolean; _shortKey?: ShortKeyPropType; _smartButton?: Stringified<ButtonProps>; _suggestions?: SuggestionsPropType; _step?: number | NumberString; _syncValueBySelector?: SyncValueBySelectorPropType; _tooltipAlign?: TooltipAlignPropType; _touched?: boolean; _value?: number | NumberString | null; state: InputNumberStates; private _initialValueType; private inputHasFocus; constructor(); private showAsAlert; validateAccessKey(value?: string): void; validateAutoComplete(value?: InputTypeOnOff): void; validateDisabled(value?: boolean): void; validateHideMsg(value?: HideMsgPropType): void; validateHideLabel(value?: boolean): void; validateHint(value?: string): void; validateIcons(value?: IconsHorizontalPropType): void; validateId(value?: string): void; validateLabel(value?: LabelWithExpertSlotPropType): void; validateMax(value?: number | NumberString): void; validateMin(value?: number | NumberString): void; validateMsg(value?: Stringified<MsgPropType>): void; validateName(value?: string): void; validateOn(value?: InputTypeOnDefault): void; validatePlaceholder(value?: string): void; validateReadOnly(value?: boolean): void; validateRequired(value?: boolean): void; validateShortKey(value?: ShortKeyPropType): void; validateSmartButton(value?: ButtonProps | string): void; validateSuggestions(value?: SuggestionsPropType): void; validateStep(value?: number | NumberString): void; validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void; validateTouched(value?: boolean): void; validateValue(value?: number | NumberString | null): void; componentWillLoad(): void; }