ant-design-vue
Version:
An enterprise-class UI design language and Vue-based implementation
243 lines (242 loc) • 10.6 kB
TypeScript
declare const _default: ({
new (...args: any[]): {
$: import("vue").ComponentInternalInstance;
$data: {};
$props: Partial<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
}> & Pick<Readonly<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
} & {
size?: "default" | "small" | "large";
disabled?: boolean;
autofocus?: boolean;
tabindex?: import("../_util/type").Key;
loading?: boolean;
defaultChecked?: boolean;
checked?: boolean;
checkedChildren?: any;
unCheckedChildren?: any;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "size" | "disabled" | "autofocus" | "tabindex" | "loading" | "defaultChecked" | "checked" | "checkedChildren" | "unCheckedChildren">;
$attrs: Record<string, unknown>;
$refs: Record<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: string, ...args: any[]) => void;
$el: any;
$options: import("vue").ComponentOptionsBase<Readonly<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
} & {
size?: "default" | "small" | "large";
disabled?: boolean;
autofocus?: boolean;
tabindex?: import("../_util/type").Key;
loading?: boolean;
defaultChecked?: boolean;
checked?: boolean;
checkedChildren?: any;
unCheckedChildren?: any;
}>, {
refSwitchNode: any;
configProvider: import("../config-provider").ConfigConsumerProps;
}, unknown, {}, {
focus(): void;
blur(): void;
saveRef(c: any): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
}>;
$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<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
} & {
size?: "default" | "small" | "large";
disabled?: boolean;
autofocus?: boolean;
tabindex?: import("../_util/type").Key;
loading?: boolean;
defaultChecked?: boolean;
checked?: boolean;
checkedChildren?: any;
unCheckedChildren?: any;
}> & import("vue").ShallowUnwrapRef<{
refSwitchNode: any;
configProvider: import("../config-provider").ConfigConsumerProps;
}> & {} & {
focus(): void;
blur(): void;
saveRef(c: any): void;
} & import("vue").ComponentCustomProperties;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
} & {
size?: "default" | "small" | "large";
disabled?: boolean;
autofocus?: boolean;
tabindex?: import("../_util/type").Key;
loading?: boolean;
defaultChecked?: boolean;
checked?: boolean;
checkedChildren?: any;
unCheckedChildren?: any;
}>, {
refSwitchNode: any;
configProvider: import("../config-provider").ConfigConsumerProps;
}, unknown, {}, {
focus(): void;
blur(): void;
saveRef(c: any): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((app: import("vue").App<any>, ...options: any[]) => any) & {
install?: (app: import("vue").App<any>, ...options: any[]) => any;
}) | ({
new (...args: any[]): {
$: import("vue").ComponentInternalInstance;
$data: {};
$props: Partial<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
}> & Pick<Readonly<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
} & {
size?: "default" | "small" | "large";
disabled?: boolean;
autofocus?: boolean;
tabindex?: import("../_util/type").Key;
loading?: boolean;
defaultChecked?: boolean;
checked?: boolean;
checkedChildren?: any;
unCheckedChildren?: any;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "size" | "disabled" | "autofocus" | "tabindex" | "loading" | "defaultChecked" | "checked" | "checkedChildren" | "unCheckedChildren">;
$attrs: Record<string, unknown>;
$refs: Record<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: string, ...args: any[]) => void;
$el: any;
$options: import("vue").ComponentOptionsBase<Readonly<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
} & {
size?: "default" | "small" | "large";
disabled?: boolean;
autofocus?: boolean;
tabindex?: import("../_util/type").Key;
loading?: boolean;
defaultChecked?: boolean;
checked?: boolean;
checkedChildren?: any;
unCheckedChildren?: any;
}>, {
refSwitchNode: any;
configProvider: import("../config-provider").ConfigConsumerProps;
}, unknown, {}, {
focus(): void;
blur(): void;
saveRef(c: any): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
}>;
$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<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
} & {
size?: "default" | "small" | "large";
disabled?: boolean;
autofocus?: boolean;
tabindex?: import("../_util/type").Key;
loading?: boolean;
defaultChecked?: boolean;
checked?: boolean;
checkedChildren?: any;
unCheckedChildren?: any;
}> & import("vue").ShallowUnwrapRef<{
refSwitchNode: any;
configProvider: import("../config-provider").ConfigConsumerProps;
}> & {} & {
focus(): void;
blur(): void;
saveRef(c: any): void;
} & import("vue").ComponentCustomProperties;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<{
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
} & {
size?: "default" | "small" | "large";
disabled?: boolean;
autofocus?: boolean;
tabindex?: import("../_util/type").Key;
loading?: boolean;
defaultChecked?: boolean;
checked?: boolean;
checkedChildren?: any;
unCheckedChildren?: any;
}>, {
refSwitchNode: any;
configProvider: import("../config-provider").ConfigConsumerProps;
}, unknown, {}, {
focus(): void;
blur(): void;
saveRef(c: any): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
onChange: (...args: any[]) => any;
onClick: (...args: any[]) => any;
prefixCls: string;
"onUpdate:checked": (...args: any[]) => any;
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
install: (app: import("vue").App<any>, ...options: any[]) => any;
});
export default _default;