UNPKG

@public-ui/components

Version:

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

73 lines (72 loc) 3.08 kB
import type { JSX } from '../../stencil-public-runtime'; import type { FocusableElement, HideMsgPropType, IconsHorizontalPropType, IdPropType, InputRangeAPI, InputRangeStates, InputTypeOnDefault, InputTypeOnOff, LabelWithExpertSlotPropType, MsgPropType, NamePropType, NumberString, ShortKeyPropType, Stringified, SuggestionsPropType, SyncValueBySelectorPropType, TooltipAlignPropType } from '../../schema'; export declare class KolInputRange implements InputRangeAPI, FocusableElement { private readonly host?; private refInputNumber?; private refInputRange?; kolFocus(): Promise<void>; private readonly catchInputNumberRef; private readonly catchInputRangeRef; private getSanitizedFloatValue; private remapValue; getValue(): Promise<number | NumberString | undefined>; private readonly onInput; private readonly onChange; private readonly onKeyDown; componentDidLoad(): void; private getFormFieldProps; private getGenericInputProps; private get hasSuggestions(); private getInputRangeProps; private getInputNumberProps; private setInitialValueType; 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; _shortKey?: ShortKeyPropType; _step?: number | NumberString; _suggestions?: SuggestionsPropType; _syncValueBySelector?: SyncValueBySelectorPropType; _tooltipAlign?: TooltipAlignPropType; _touched?: boolean; _value?: number | NumberString; state: InputRangeStates; 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; validateShortKey(value?: ShortKeyPropType): void; validateStep(value?: number | NumberString): void; validateSuggestions(value?: SuggestionsPropType): void; validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void; validateTouched(value?: boolean): void; validateValue(value?: number | NumberString): void; componentWillLoad(): void; }