123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- import type { Plugin, ExtractPropTypes, PropType } 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 type ExceptionStatusType = 403 | 404 | 500 | '403' | '404' | '500';
- export declare type ResultStatusType = ExceptionStatusType | keyof typeof IconMap;
- export declare const resultProps: () => {
- prefixCls: StringConstructor;
- icon: import("vue-types").VueTypeValidableDef<any>;
- status: {
- type: PropType<ResultStatusType>;
- default: string;
- };
- title: import("vue-types").VueTypeValidableDef<any>;
- subTitle: import("vue-types").VueTypeValidableDef<any>;
- extra: import("vue-types").VueTypeValidableDef<any>;
- };
- export declare type ResultProps = Partial<ExtractPropTypes<ReturnType<typeof resultProps>>>;
- declare const _default: {
- new (...args: any[]): {
- $: import("vue").ComponentInternalInstance;
- $data: {};
- $props: Partial<{
- status: ResultStatusType;
- }> & Omit<Readonly<ExtractPropTypes<{
- prefixCls: StringConstructor;
- icon: import("vue-types").VueTypeValidableDef<any>;
- status: {
- type: PropType<ResultStatusType>;
- default: string;
- };
- title: import("vue-types").VueTypeValidableDef<any>;
- subTitle: import("vue-types").VueTypeValidableDef<any>;
- extra: import("vue-types").VueTypeValidableDef<any>;
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "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, {}, {}, string>, {}>;
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
- $emit: (event: string, ...args: any[]) => void;
- $el: any;
- $options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
- prefixCls: StringConstructor;
- icon: import("vue-types").VueTypeValidableDef<any>;
- status: {
- type: PropType<ResultStatusType>;
- default: string;
- };
- title: import("vue-types").VueTypeValidableDef<any>;
- subTitle: import("vue-types").VueTypeValidableDef<any>;
- extra: import("vue-types").VueTypeValidableDef<any>;
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
- status: ResultStatusType;
- }, {}, string> & {
- beforeCreate?: (() => void) | (() => void)[];
- created?: (() => void) | (() => void)[];
- beforeMount?: (() => void) | (() => void)[];
- mounted?: (() => void) | (() => void)[];
- beforeUpdate?: (() => void) | (() => void)[];
- updated?: (() => void) | (() => void)[];
- activated?: (() => void) | (() => void)[];
- deactivated?: (() => void) | (() => void)[];
- beforeDestroy?: (() => void) | (() => void)[];
- beforeUnmount?: (() => void) | (() => void)[];
- destroyed?: (() => void) | (() => void)[];
- unmounted?: (() => void) | (() => void)[];
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
- };
- $forceUpdate: () => void;
- $nextTick: typeof import("vue").nextTick;
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
- } & Readonly<ExtractPropTypes<{
- prefixCls: StringConstructor;
- icon: import("vue-types").VueTypeValidableDef<any>;
- status: {
- type: PropType<ResultStatusType>;
- default: string;
- };
- title: import("vue-types").VueTypeValidableDef<any>;
- subTitle: import("vue-types").VueTypeValidableDef<any>;
- extra: import("vue-types").VueTypeValidableDef<any>;
- }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
- __isFragment?: never;
- __isTeleport?: never;
- __isSuspense?: never;
- } & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
- prefixCls: StringConstructor;
- icon: import("vue-types").VueTypeValidableDef<any>;
- status: {
- type: PropType<ResultStatusType>;
- default: string;
- };
- title: import("vue-types").VueTypeValidableDef<any>;
- subTitle: import("vue-types").VueTypeValidableDef<any>;
- extra: import("vue-types").VueTypeValidableDef<any>;
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
- status: ResultStatusType;
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin<any[]> & {
- readonly PRESENTED_IMAGE_403: typeof unauthorized;
- readonly PRESENTED_IMAGE_404: typeof noFound;
- readonly PRESENTED_IMAGE_500: typeof serverError;
- };
- export default _default;
|