UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

107 lines (106 loc) 4.8 kB
import { Plugin } from 'vue'; import noFound from './noFound'; import serverError from './serverError'; import unauthorized from './unauthorized'; export declare const IconMap: { success: import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType; error: import("@ant-design/icons-vue/lib/icons/CloseCircleFilled").CloseCircleFilledIconType; info: import("@ant-design/icons-vue/lib/icons/ExclamationCircleFilled").ExclamationCircleFilledIconType; warning: import("@ant-design/icons-vue/lib/icons/WarningFilled").WarningFilledIconType; }; export declare const ExceptionMap: { '404': () => JSX.Element; '500': () => JSX.Element; '403': () => JSX.Element; }; export declare const ResultProps: { prefixCls: import("vue-types").VueTypeValidableDef<string> & { default: string; }; icon: import("vue-types").VueTypeValidableDef<any>; status: import("vue-types").VueTypeDef<"error" | "success" | "info" | "warning" | "404" | "403" | "500"> & { default: "error" | "success" | "info" | "warning" | "404" | "403" | "500"; }; title: import("vue-types").VueTypeValidableDef<any>; subTitle: import("vue-types").VueTypeValidableDef<any>; extra: import("vue-types").VueTypeValidableDef<any>; }; declare const _default: { new (...args: any[]): { $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{ prefixCls: string; status: "error" | "success" | "info" | "warning" | "404" | "403" | "500"; }> & Omit<Readonly<{ prefixCls: string; status: "error" | "success" | "info" | "warning" | "404" | "403" | "500"; } & { icon?: any; title?: any; extra?: any; subTitle?: any; }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "prefixCls" | "status">; $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: string, ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase<Readonly<{ prefixCls: string; status: "error" | "success" | "info" | "warning" | "404" | "403" | "500"; } & { icon?: any; title?: any; extra?: any; subTitle?: any; }>, { configProvider: import("../config-provider").ConfigConsumerProps; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, { prefixCls: string; status: "error" | "success" | "info" | "warning" | "404" | "403" | "500"; }>; $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<{ prefixCls: string; status: "error" | "success" | "info" | "warning" | "404" | "403" | "500"; } & { icon?: any; title?: any; extra?: any; subTitle?: any; }> & import("vue").ShallowUnwrapRef<{ configProvider: import("../config-provider").ConfigConsumerProps; }> & {} & {} & import("vue").ComponentCustomProperties; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<{ prefixCls: string; status: "error" | "success" | "info" | "warning" | "404" | "403" | "500"; } & { icon?: any; title?: any; extra?: any; subTitle?: any; }>, { configProvider: import("../config-provider").ConfigConsumerProps; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, { prefixCls: string; status: "error" | "success" | "info" | "warning" | "404" | "403" | "500"; }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin & { readonly PRESENTED_IMAGE_403: typeof unauthorized; readonly PRESENTED_IMAGE_404: typeof noFound; readonly PRESENTED_IMAGE_500: typeof serverError; }; export default _default;