UNPKG

@public-ui/components

Version:

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

74 lines (73 loc) 3.11 kB
import type { JSX } from '../../stencil-public-runtime'; import type { ButtonProps, FocusableElement, HideErrorPropType, IconsHorizontalPropType, IdPropType, InputNumberAPI, InputNumberStates, InputTypeOnDefault, InputTypeOnOff, Iso8601, LabelWithExpertSlotPropType, MsgPropType, NamePropType, ShortKeyPropType, Stringified, SuggestionsPropType, SyncValueBySelectorPropType, TooltipAlignPropType } from '../../schema'; export declare class KolInputNumber implements InputNumberAPI, FocusableElement { private readonly host?; private inputRef?; private readonly catchRef; getValue(): Promise<string | undefined>; focus(): Promise<void>; kolFocus(): Promise<void>; private readonly onKeyDown; render(): JSX.Element; private readonly controller; _accessKey?: string; _alert?: boolean; _autoComplete?: InputTypeOnOff; _disabled?: boolean; _error?: string; _hideError?: boolean; _hideLabel?: boolean; _hint?: string; _icons?: IconsHorizontalPropType; _id?: IdPropType; _label: LabelWithExpertSlotPropType; _max?: number | Iso8601; _min?: number | Iso8601; _msg?: Stringified<MsgPropType>; _name?: NamePropType; _on?: InputTypeOnDefault; _placeholder?: string; _readOnly?: boolean; _required?: boolean; _shortKey?: ShortKeyPropType; _smartButton?: Stringified<ButtonProps>; _suggestions?: SuggestionsPropType; _step?: number; _syncValueBySelector?: SyncValueBySelectorPropType; _tabIndex?: number; _tooltipAlign?: TooltipAlignPropType; _touched?: boolean; _value?: number | Iso8601 | null; state: InputNumberStates; private inputHasFocus; constructor(); private showAsAlert; validateAccessKey(value?: string): void; validateAlert(value?: boolean): void; validateAutoComplete(value?: InputTypeOnOff): void; validateDisabled(value?: boolean): void; validateError(value?: string): void; validateHideError(value?: HideErrorPropType): void; validateHideLabel(value?: boolean): void; validateHint(value?: string): void; validateIcons(value?: IconsHorizontalPropType): void; validateId(value?: string): void; validateLabel(value?: LabelWithExpertSlotPropType): void; validateMax(value?: number | Iso8601): void; validateMin(value?: number | Iso8601): 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): void; validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void; validateTabIndex(value?: number): void; validateTouched(value?: boolean): void; validateValue(value?: number | Iso8601 | null): void; componentWillLoad(): void; }