@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
193 lines (192 loc) • 8.04 kB
TypeScript
import type { Plugin } from 'vue';
import Group from './Group';
import Button from './RadioButton';
export type { RadioProps } from './Radio';
export type { RadioGroupProps } from './Group';
export type { RadioChangeEventTarget, RadioChangeEvent } from './interface';
export { Button, Group, Button as RadioButton, Group as RadioGroup };
declare const _default: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
prefixCls: StringConstructor;
checked: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
isGroup: {
type: BooleanConstructor;
default: boolean;
};
value: import("vue-types").VueTypeValidableDef<any>;
name: StringConstructor;
id: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: boolean;
};
onChange: {
type: import("vue").PropType<(event: import("./interface").RadioChangeEvent) => void>;
default: (event: import("./interface").RadioChangeEvent) => void;
};
onFocus: {
type: import("vue").PropType<import("../_util/EventInterface").FocusEventHandler>;
default: import("../_util/EventInterface").FocusEventHandler;
};
onBlur: {
type: import("vue").PropType<import("../_util/EventInterface").FocusEventHandler>;
default: import("../_util/EventInterface").FocusEventHandler;
};
onClick: {
type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
default: import("../_util/EventInterface").MouseEventHandler;
};
'onUpdate:checked': {
type: import("vue").PropType<(checked: boolean) => void>;
default: (checked: boolean) => void;
};
'onUpdate:value': {
type: import("vue").PropType<(checked: boolean) => void>;
default: (checked: boolean) => void;
};
}>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
onClick: import("../_util/EventInterface").MouseEventHandler;
onFocus: import("../_util/EventInterface").FocusEventHandler;
onBlur: import("../_util/EventInterface").FocusEventHandler;
onChange: (event: import("./interface").RadioChangeEvent) => void;
disabled: boolean;
autofocus: boolean;
checked: boolean;
isGroup: boolean;
'onUpdate:checked': (checked: boolean) => void;
'onUpdate:value': (checked: boolean) => void;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
prefixCls: StringConstructor;
checked: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
isGroup: {
type: BooleanConstructor;
default: boolean;
};
value: import("vue-types").VueTypeValidableDef<any>;
name: StringConstructor;
id: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: boolean;
};
onChange: {
type: import("vue").PropType<(event: import("./interface").RadioChangeEvent) => void>;
default: (event: import("./interface").RadioChangeEvent) => void;
};
onFocus: {
type: import("vue").PropType<import("../_util/EventInterface").FocusEventHandler>;
default: import("../_util/EventInterface").FocusEventHandler;
};
onBlur: {
type: import("vue").PropType<import("../_util/EventInterface").FocusEventHandler>;
default: import("../_util/EventInterface").FocusEventHandler;
};
onClick: {
type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
default: import("../_util/EventInterface").MouseEventHandler;
};
'onUpdate:checked': {
type: import("vue").PropType<(checked: boolean) => void>;
default: (checked: boolean) => void;
};
'onUpdate:value': {
type: import("vue").PropType<(checked: boolean) => void>;
default: (checked: boolean) => void;
};
}>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, {
onClick: import("../_util/EventInterface").MouseEventHandler;
onFocus: import("../_util/EventInterface").FocusEventHandler;
onBlur: import("../_util/EventInterface").FocusEventHandler;
onChange: (event: import("./interface").RadioChangeEvent) => void;
disabled: boolean;
autofocus: boolean;
checked: boolean;
isGroup: boolean;
'onUpdate:checked': (checked: boolean) => void;
'onUpdate:value': (checked: boolean) => void;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
prefixCls: StringConstructor;
checked: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
isGroup: {
type: BooleanConstructor;
default: boolean;
};
value: import("vue-types").VueTypeValidableDef<any>;
name: StringConstructor;
id: StringConstructor;
autofocus: {
type: BooleanConstructor;
default: boolean;
};
onChange: {
type: import("vue").PropType<(event: import("./interface").RadioChangeEvent) => void>;
default: (event: import("./interface").RadioChangeEvent) => void;
};
onFocus: {
type: import("vue").PropType<import("../_util/EventInterface").FocusEventHandler>;
default: import("../_util/EventInterface").FocusEventHandler;
};
onBlur: {
type: import("vue").PropType<import("../_util/EventInterface").FocusEventHandler>;
default: import("../_util/EventInterface").FocusEventHandler;
};
onClick: {
type: import("vue").PropType<import("../_util/EventInterface").MouseEventHandler>;
default: import("../_util/EventInterface").MouseEventHandler;
};
'onUpdate:checked': {
type: import("vue").PropType<(checked: boolean) => void>;
default: (checked: boolean) => void;
};
'onUpdate:value': {
type: import("vue").PropType<(checked: boolean) => void>;
default: (checked: boolean) => void;
};
}>> & Readonly<{}>, () => import("../_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
onClick: import("../_util/EventInterface").MouseEventHandler;
onFocus: import("../_util/EventInterface").FocusEventHandler;
onBlur: import("../_util/EventInterface").FocusEventHandler;
onChange: (event: import("./interface").RadioChangeEvent) => void;
disabled: boolean;
autofocus: boolean;
checked: boolean;
isGroup: boolean;
'onUpdate:checked': (checked: boolean) => void;
'onUpdate:value': (checked: boolean) => void;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin<any[]> & {
readonly Group: typeof Group;
readonly Button: typeof Button;
};
export default _default;