@qvant/qui-max
Version:
A Vue 3 Design system for Web.
78 lines (77 loc) • 2.96 kB
TypeScript
import type { QCheckboxPropModelValue, QCheckboxPropLabel, QCheckboxPropIndeterminate, QCheckboxPropDisabled, QCheckboxPropRootTag, QCheckboxPropValidateEvent, QCheckboxPropLabelSize, QCheckboxInstance } from './src/types';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
import type { SFCWithInstall } from '../../../types/helpers';
export declare const QCheckbox: SFCWithInstall<DefineComponent<{
modelValue: {
type: PropType<QCheckboxPropModelValue>;
default: null;
};
label: {
type: PropType<QCheckboxPropLabel>;
default: null;
};
indeterminate: {
type: PropType<QCheckboxPropIndeterminate>;
default: boolean;
};
disabled: {
type: PropType<QCheckboxPropDisabled>;
default: boolean;
};
rootTag: {
type: PropType<QCheckboxPropRootTag>;
default: string;
};
validateEvent: {
type: PropType<QCheckboxPropValidateEvent>;
default: boolean;
};
labelSize: {
type: PropType<QCheckboxPropLabelSize>;
default: string;
validator: (value: QCheckboxPropLabelSize) => boolean;
};
}, QCheckboxInstance, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "change" | "click")[], "update:modelValue" | "change" | "click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
modelValue: {
type: PropType<QCheckboxPropModelValue>;
default: null;
};
label: {
type: PropType<QCheckboxPropLabel>;
default: null;
};
indeterminate: {
type: PropType<QCheckboxPropIndeterminate>;
default: boolean;
};
disabled: {
type: PropType<QCheckboxPropDisabled>;
default: boolean;
};
rootTag: {
type: PropType<QCheckboxPropRootTag>;
default: string;
};
validateEvent: {
type: PropType<QCheckboxPropValidateEvent>;
default: boolean;
};
labelSize: {
type: PropType<QCheckboxPropLabelSize>;
default: string;
validator: (value: QCheckboxPropLabelSize) => boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
onClick?: ((...args: any[]) => any) | undefined;
}, {
disabled: QCheckboxPropDisabled;
label: QCheckboxPropLabel;
modelValue: QCheckboxPropModelValue;
indeterminate: QCheckboxPropIndeterminate;
rootTag: QCheckboxPropRootTag;
validateEvent: QCheckboxPropValidateEvent;
labelSize: QCheckboxPropLabelSize;
}>>;
export type { QCheckboxProps, QCheckboxInstance, QCheckboxPropModelValue, QCheckboxPropLabel, QCheckboxPropIndeterminate, QCheckboxPropDisabled, QCheckboxPropRootTag, QCheckboxPropValidateEvent, QCheckboxPropLabelSize } from './src/types';