yanzhen-design-vue
Version:
69 lines (68 loc) • 2.44 kB
TypeScript
import { ExtractPropTypes } from 'vue';
export declare const radioOptions: {
ns: any;
class: any;
name: any;
};
export declare const radioName: any;
export declare const AntRadio: {
props: {
value: import('vue').PropType<any>;
prefixCls: StringConstructor;
checked: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
isGroup: {
type: BooleanConstructor;
default: boolean;
};
name: StringConstructor;
id: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: boolean;
};
};
emits: {
change: (event: import('ant-design-vue').RadioChangeEvent) => void;
focus: import('ant-design-vue/es/_util/EventInterface').FocusEventHandler;
blur: import('ant-design-vue/es/_util/EventInterface').FocusEventHandler;
click: import('ant-design-vue/es/_util/EventInterface').MouseEventHandler;
"update:checked": (checked: boolean) => void;
"update:value": (checked: boolean) => void;
};
};
export declare const radioProps: {
value: {
type: import('vue').PropType<any>;
};
prefixCls: {
type: StringConstructor;
};
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>;
name: {
type: StringConstructor;
};
id: {
type: StringConstructor;
};
autofocus: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
};
export declare const radioEmits: {
change: (event: import('ant-design-vue').RadioChangeEvent) => boolean;
focus: (e: FocusEvent) => boolean;
blur: (e: FocusEvent) => boolean;
click: (e: MouseEvent) => boolean;
"update:checked": (checked: boolean) => boolean;
"update:value": (checked: boolean) => boolean;
};
export type RadioProps = Partial<ExtractPropTypes<typeof radioProps>>;
export type RadioPropsKey = keyof RadioProps;
export type RadioEmits = typeof radioEmits;