birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
57 lines (56 loc) • 1.76 kB
TypeScript
import { PropType } from "vue";
import { CheckboxValue } from "./type";
declare const _sfc_main: import("vue").DefineComponent<{
/** 绑定值 Binding value */
modelValue: {
type: PropType<CheckboxValue>;
default: boolean;
};
/** 是否禁用 Disabled or not */
disabled: {
type: BooleanConstructor;
default: boolean;
};
/** 复选框的值 */
value: {
type: (StringConstructor | NumberConstructor)[];
};
/** 是否为不确定状态 */
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
}, {
cls: import("vue").ComputedRef<string[]>;
name: string;
isCheck: import("vue").ComputedRef<boolean>;
handleClick: () => false | void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/** 绑定值 Binding value */
modelValue: {
type: PropType<CheckboxValue>;
default: boolean;
};
/** 是否禁用 Disabled or not */
disabled: {
type: BooleanConstructor;
default: boolean;
};
/** 复选框的值 */
value: {
type: (StringConstructor | NumberConstructor)[];
};
/** 是否为不确定状态 */
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
"onUpdate:modelValue"?: (...args: any[]) => any;
onChange?: (...args: any[]) => any;
}, {
disabled: boolean;
modelValue: CheckboxValue;
indeterminate: boolean;
}, {}>;
export default _sfc_main;