yanzhen-design-vue
Version:
90 lines (89 loc) • 3.42 kB
TypeScript
import { ExtractEmitsTypes } from '@yanzhen-libs/utils-vue';
import { ExtractPropTypes, VNode } from 'vue';
export declare const checkboxOptions: {
ns: any;
class: any;
name: any;
};
export declare const checkboxName: any;
export declare const AntCheckbox: {
props: {
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
prefixCls: StringConstructor;
defaultChecked: {
type: BooleanConstructor;
default: boolean;
};
checked: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
isGroup: {
type: BooleanConstructor;
default: boolean;
};
value: import('vue').PropType<any>;
name: StringConstructor;
id: StringConstructor;
type: {
type: import('vue').PropType<"checkbox">;
default: "checkbox";
};
autofocus: {
type: BooleanConstructor;
default: boolean;
};
skipGroup: {
type: BooleanConstructor;
default: boolean;
};
};
emits: {
change: (e: import('ant-design-vue/es/checkbox/interface').CheckboxChangeEvent) => void;
"update:checked": (checked: boolean) => void;
click: import('ant-design-vue/es/_util/EventInterface').MouseEventHandler;
};
};
export declare const checkboxProps: {
label: {
type: import('vue').PropType<string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
[key: string]: any;
}>>;
};
indeterminate: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
prefixCls: {
type: StringConstructor;
};
defaultChecked: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
checked: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
disabled: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
isGroup: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
value: {
type: import('vue').PropType<any>;
};
name: {
type: StringConstructor;
};
id: {
type: StringConstructor;
};
type: import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<"checkbox">, unknown, unknown, "checkbox", boolean>;
autofocus: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
skipGroup: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
};
export declare const checkboxEmits: {
"update:value": (checked: boolean) => boolean;
change: (e: import('ant-design-vue/es/checkbox/interface').CheckboxChangeEvent) => boolean;
"update:checked": (checked: boolean) => boolean;
click: (e: MouseEvent) => boolean;
};
export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;
export type CheckboxPropsKey = keyof CheckboxProps;
export type CheckboxEmits = ExtractEmitsTypes<typeof checkboxEmits>;