ant-design-vue
Version:
An enterprise-class UI design language and Vue-based implementation
145 lines (144 loc) • 5.69 kB
TypeScript
import { Plugin } from 'vue';
import Group from './Group';
import Button from './RadioButton';
export { RadioChangeEventTarget, RadioChangeEvent } from './interface';
export { Button, Group };
declare const _default: {
new (...args: any[]): {
$: import("vue").ComponentInternalInstance;
$data: {};
$props: Partial<{
onFocus: (...args: any[]) => any;
onBlur: (...args: any[]) => any;
onChange: (...args: any[]) => any;
prefixCls: string;
id: string;
type: string;
name: string;
}> & Omit<Readonly<{
onFocus: (...args: any[]) => any;
onBlur: (...args: any[]) => any;
onChange: (...args: any[]) => any;
prefixCls: string;
id: string;
type: string;
name: string;
} & {
value?: any;
disabled?: boolean;
autofocus?: boolean;
defaultChecked?: boolean;
checked?: boolean;
isGroup?: boolean;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "onFocus" | "onBlur" | "onChange" | "prefixCls" | "id" | "type" | "name">;
$attrs: {
[x: string]: unknown;
};
$refs: {
[x: string]: unknown;
};
$slots: Readonly<{
[name: string]: import("vue").Slot;
}>;
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
$emit: (event: "blur" | "change" | "focus" | "update:value" | "update:checked", ...args: any[]) => void;
$el: any;
$options: import("vue").ComponentOptionsBase<Readonly<{
onFocus: (...args: any[]) => any;
onBlur: (...args: any[]) => any;
onChange: (...args: any[]) => any;
prefixCls: string;
id: string;
type: string;
name: string;
} & {
value?: any;
disabled?: boolean;
autofocus?: boolean;
defaultChecked?: boolean;
checked?: boolean;
isGroup?: boolean;
}>, {
configProvider: import("../config-provider").ConfigConsumerProps;
radioGroupContext: any;
}, unknown, {}, {
focus(): void;
blur(): void;
handleChange(event: import("./interface").RadioChangeEvent): void;
onChange2(e: import("./interface").RadioChangeEvent): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:value" | "update:checked")[], string, {
onFocus: (...args: any[]) => any;
onBlur: (...args: any[]) => any;
onChange: (...args: any[]) => any;
prefixCls: string;
id: string;
type: string;
name: string;
}>;
$forceUpdate: import("vue").ReactiveEffect<any>;
$nextTick: typeof import("vue").nextTick;
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
} & Readonly<{
onFocus: (...args: any[]) => any;
onBlur: (...args: any[]) => any;
onChange: (...args: any[]) => any;
prefixCls: string;
id: string;
type: string;
name: string;
} & {
value?: any;
disabled?: boolean;
autofocus?: boolean;
defaultChecked?: boolean;
checked?: boolean;
isGroup?: boolean;
}> & import("vue").ShallowUnwrapRef<{
configProvider: import("../config-provider").ConfigConsumerProps;
radioGroupContext: any;
}> & {} & {} & {
focus(): void;
blur(): void;
handleChange(event: import("./interface").RadioChangeEvent): void;
onChange2(e: import("./interface").RadioChangeEvent): void;
} & import("vue").ComponentCustomProperties;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<{
onFocus: (...args: any[]) => any;
onBlur: (...args: any[]) => any;
onChange: (...args: any[]) => any;
prefixCls: string;
id: string;
type: string;
name: string;
} & {
value?: any;
disabled?: boolean;
autofocus?: boolean;
defaultChecked?: boolean;
checked?: boolean;
isGroup?: boolean;
}>, {
configProvider: import("../config-provider").ConfigConsumerProps;
radioGroupContext: any;
}, unknown, {}, {
focus(): void;
blur(): void;
handleChange(event: import("./interface").RadioChangeEvent): void;
onChange2(e: import("./interface").RadioChangeEvent): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:value" | "update:checked")[], "blur" | "change" | "focus" | "update:value" | "update:checked", {
onFocus: (...args: any[]) => any;
onBlur: (...args: any[]) => any;
onChange: (...args: any[]) => any;
prefixCls: string;
id: string;
type: string;
name: string;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin & {
readonly Group: typeof Group;
readonly Button: typeof Button;
};
export default _default;