ant-design-vue
Version:
An enterprise-class UI design language and Vue-based implementation
229 lines (228 loc) • 9.07 kB
TypeScript
import type { RadioChangeEvent } from './interface';
declare const _default: import("vue").DefineComponent<{
prefixCls: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
defaultValue: import("vue-types").VueTypeValidableDef<any>;
value: import("vue-types").VueTypeValidableDef<any>;
size: import("vue-types").VueTypeDef<"default" | "small" | "large"> & {
default: "default" | "small" | "large";
};
options: import("vue-types").VueTypeValidableDef<unknown[]> & {
default: () => unknown[];
};
disabled: import("vue-types").VueTypeValidableDef<boolean>;
name: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
buttonStyle: import("vue-types").VueTypeValidableDef<string> & {
default: string;
} & {
default: string;
};
onChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
default: (...args: any[]) => any;
};
}, {
updatingValue: boolean;
configProvider: {
getTargetContainer?: () => HTMLElement;
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
prefixCls?: string;
getPrefixCls?: (suffixCls?: string, customizePrefixCls?: string) => string;
renderEmpty?: typeof import("../config-provider/renderEmpty").default;
transformCellText?: (tableProps: import("../table/interface").TransformCellTextProps) => any;
csp?: unknown;
autoInsertSpaceInButton?: boolean;
locale?: {
locale: string;
Pagination?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
DatePicker?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
TimePicker?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
Calendar?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
Table?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
Modal?: {
okText: string;
cancelText: string;
justOkText: string;
};
Popconfirm?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
Transfer?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
Select?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
Upload?: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
};
Form?: {
optional?: string;
defaultValidateMessages: {
default?: string | (() => string);
required?: string | (() => string);
enum?: string | (() => string);
whitespace?: string | (() => string);
date?: {
format?: string | (() => string);
parse?: string | (() => string);
invalid?: string | (() => string);
};
types?: {
string?: string | (() => string);
method?: string | (() => string);
array?: string | (() => string);
object?: string | (() => string);
number?: string | (() => string);
date?: string | (() => string);
boolean?: string | (() => string);
integer?: string | (() => string);
float?: string | (() => string);
regexp?: string | (() => string);
email?: string | (() => string);
url?: string | (() => string);
hex?: string | (() => string);
};
string?: {
len?: string | (() => string);
min?: string | (() => string);
max?: string | (() => string);
range?: string | (() => string);
};
number?: {
len?: string | (() => string);
min?: string | (() => string);
max?: string | (() => string);
range?: string | (() => string);
};
array?: {
len?: string | (() => string);
min?: string | (() => string);
max?: string | (() => string);
range?: string | (() => string);
};
pattern?: {
mismatch?: string | (() => string);
};
};
};
Image?: {
preview: string;
};
};
pageHeader?: {
ghost: boolean;
};
componentSize?: import("../config-provider").SizeType;
direction?: "ltr" | "rtl";
space?: {
size: number | import("../config-provider").SizeType;
};
virtual?: boolean;
dropdownMatchSelectWidth?: boolean;
form?: unknown;
};
radioGroupContext: any;
}, {
stateValue: any;
}, {}, {
onRadioChange(ev: RadioChangeEvent): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
prefixCls?: unknown;
defaultValue?: unknown;
value?: unknown;
size?: unknown;
options?: unknown;
disabled?: unknown;
name?: unknown;
buttonStyle?: unknown;
onChange?: unknown;
} & {
name: string;
prefixCls: string;
size: "default" | "small" | "large";
options: unknown[];
buttonStyle: string;
} & {
value?: any;
onChange?: (...args: any[]) => any;
disabled?: boolean;
defaultValue?: any;
}> & {
onChange?: (...args: any[]) => any;
"onUpdate:value"?: (...args: any[]) => any;
}, {
name: string;
prefixCls: string;
onChange: (...args: any[]) => any;
size: "default" | "small" | "large";
options: unknown[];
buttonStyle: string;
}>;
export default _default;