@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
65 lines (64 loc) • 2.79 kB
TypeScript
import type { JSX } from '../../stencil-public-runtime';
import type { CheckedPropType, FocusableElement, HideMsgPropType, IdPropType, IndeterminatePropType, InputCheckboxAPI, InputCheckboxIconsProp, InputCheckboxStates, InputCheckboxVariant, InputTypeOnDefault, LabelAlignPropType, LabelWithExpertSlotPropType, MsgPropType, NamePropType, ShortKeyPropType, StencilUnknown, Stringified, SyncValueBySelectorPropType, TooltipAlignPropType } from '../../schema';
export declare class KolInputCheckbox implements InputCheckboxAPI, FocusableElement {
private readonly host?;
private inputRef?;
private readonly catchRef;
private getModelValue;
getValue(): Promise<StencilUnknown>;
kolFocus(): Promise<void>;
private getFormFieldProps;
private getFieldControlProps;
private getInputProps;
private getIcon;
render(): JSX.Element;
private readonly controller;
_accessKey?: string;
_checked?: boolean;
_hideMsg?: boolean;
_disabled?: boolean;
_hideLabel?: boolean;
_hint?: string;
_icons?: Stringified<InputCheckboxIconsProp>;
_id?: IdPropType;
_indeterminate?: boolean;
_label: LabelWithExpertSlotPropType;
_labelAlign?: LabelAlignPropType;
_msg?: Stringified<MsgPropType>;
_name?: NamePropType;
_on?: InputTypeOnDefault;
_required?: boolean;
_shortKey?: ShortKeyPropType;
_syncValueBySelector?: SyncValueBySelectorPropType;
_tooltipAlign?: TooltipAlignPropType;
_touched?: boolean;
_value: StencilUnknown;
_variant?: InputCheckboxVariant;
state: InputCheckboxStates;
private inputHasFocus;
constructor();
private showAsAlert;
validateAccessKey(value?: string): void;
validateChecked(value?: CheckedPropType): void;
validateDisabled(value?: boolean): void;
validateHideMsg(value?: HideMsgPropType): void;
validateHideLabel(value?: boolean): void;
validateHint(value?: string): void;
validateIcons(value?: Stringified<InputCheckboxIconsProp>): void;
validateId(value?: string): void;
validateIndeterminate(value?: IndeterminatePropType): void;
validateLabel(value?: LabelWithExpertSlotPropType): void;
validateLabelAlign(value?: LabelAlignPropType): void;
validateMsg(value?: Stringified<MsgPropType>): void;
validateName(value?: string): void;
validateOn(value?: InputTypeOnDefault): void;
validateRequired(value?: boolean): void;
validateShortKey(value?: ShortKeyPropType): void;
validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void;
validateTouched(value?: boolean): void;
validateValue(value: StencilUnknown): void;
validateVariant(value?: InputCheckboxVariant): void;
componentWillLoad(): void;
private onInput;
private onChange;
}