UNPKG

@inkline/inkline

Version:

Inkline is the Vue.js UI/UX Library built for creating your next design system

143 lines (142 loc) 3.73 kB
import { sizePropValidator } from '../../mixins'; import { Classes, InputElementEvent } from '../../types'; declare const _default: import("vue").DefineComponent<{ /** * The color variant of the checkbox * @type light | dark * @default light * @name color */ color: { type: StringConstructor; default: () => string; }; /** * The disabled state of the checkbox * @type Boolean * @default false * @name disabled */ disabled: { type: BooleanConstructor; default: boolean; }; /** * The indeterminate state of the checkbox * @type Boolean * @default false * @name indeterminate */ indeterminate: { type: BooleanConstructor; default: boolean; }; /** * Used to set the checkbox value when used inside a checkbox group * @default false * @name value */ value: { default: boolean; }; /** * Used to set the checkbox value when used by itself * @default false * @name modelValue */ modelValue: { default: boolean; }; /** * The unique identifier of the checkbox * @type String * @default uid() * @name name */ name: { type: (StringConstructor | NumberConstructor)[]; default(): string; }; /** * The readonly state of the checkbox * @type Boolean * @default false * @name readonly */ readonly: { type: BooleanConstructor; default: boolean; }; /** * The size variant of the checkbox * @type sm | md | lg * @default md * @name size */ size: { type: StringConstructor; default: () => string; validator: typeof sizePropValidator; }; /** * The tabindex of the checkbox * @type Number | String * @default 0 * @name tabindex */ tabindex: { type: (StringConstructor | NumberConstructor)[]; default: number; }; }, unknown, unknown, { classes(): Classes; checked(): boolean; tabIndex(): number | string; }, { clickInputRef(): void; onChange(event: InputElementEvent): void; onBlur(event: InputElementEvent): void; }, import("vue").DefineComponent<{}, {}, {}, { isDisabled(): boolean; isReadonly(): boolean; parent(): any; /** * The disabled state of the checkbox * @type Boolean * @default false * @name disabled */ schema(): any; }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ color?: unknown; disabled?: unknown; indeterminate?: unknown; value?: unknown; modelValue?: unknown; name?: unknown; readonly?: unknown; size?: unknown; tabindex?: unknown; } & { value: boolean; name: string | number; color: string; size: string; modelValue: boolean; disabled: boolean; tabindex: string | number; indeterminate: boolean; readonly: boolean; } & {}> & { "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }, { value: boolean; name: string | number; color: string; size: string; modelValue: boolean; disabled: boolean; tabindex: string | number; indeterminate: boolean; readonly: boolean; }>; export default _default;