1 | import { App } from 'vue';
|
2 | import noFound from './noFound';
|
3 | import serverError from './serverError';
|
4 | import unauthorized from './unauthorized';
|
5 | export declare const IconMap: {
|
6 | success: import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType;
|
7 | error: import("@ant-design/icons-vue/lib/icons/CloseCircleFilled").CloseCircleFilledIconType;
|
8 | info: import("@ant-design/icons-vue/lib/icons/ExclamationCircleFilled").ExclamationCircleFilledIconType;
|
9 | warning: import("@ant-design/icons-vue/lib/icons/WarningFilled").WarningFilledIconType;
|
10 | };
|
11 | export declare const ExceptionMap: {
|
12 | '404': () => JSX.Element;
|
13 | '500': () => JSX.Element;
|
14 | '403': () => JSX.Element;
|
15 | };
|
16 | export declare const ResultProps: {
|
17 | prefixCls: import("vue-types").VueTypeValidableDef<string> & {
|
18 | default: string;
|
19 | };
|
20 | icon: import("vue-types").VueTypeValidableDef<any>;
|
21 | status: import("vue-types").VueTypeDef<"error" | "success" | "info" | "warning" | "404" | "403" | "500"> & {
|
22 | default: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
23 | };
|
24 | title: import("vue-types").VueTypeValidableDef<any>;
|
25 | subTitle: import("vue-types").VueTypeValidableDef<any>;
|
26 | extra: import("vue-types").VueTypeValidableDef<any>;
|
27 | };
|
28 | declare const _default: ({
|
29 | new (...args: any[]): {
|
30 | $: import("vue").ComponentInternalInstance;
|
31 | $data: {};
|
32 | $props: Partial<{
|
33 | prefixCls: string;
|
34 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
35 | }> & Pick<Readonly<{
|
36 | prefixCls: string;
|
37 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
38 | } & {
|
39 | icon?: any;
|
40 | title?: any;
|
41 | extra?: any;
|
42 | subTitle?: any;
|
43 | }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "icon" | "title" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "extra" | "subTitle">;
|
44 | $attrs: Record<string, unknown>;
|
45 | $refs: Record<string, unknown>;
|
46 | $slots: Readonly<{
|
47 | [name: string]: import("vue").Slot;
|
48 | }>;
|
49 | $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
50 | $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
51 | $emit: (event: string, ...args: any[]) => void;
|
52 | $el: any;
|
53 | $options: import("vue").ComponentOptionsBase<Readonly<{
|
54 | prefixCls: string;
|
55 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
56 | } & {
|
57 | icon?: any;
|
58 | title?: any;
|
59 | extra?: any;
|
60 | subTitle?: any;
|
61 | }>, {
|
62 | configProvider: import("../config-provider").ConfigConsumerProps;
|
63 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
64 | prefixCls: string;
|
65 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
66 | }>;
|
67 | $forceUpdate: import("vue").ReactiveEffect<any>;
|
68 | $nextTick: typeof import("vue").nextTick;
|
69 | $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
70 | } & Readonly<{
|
71 | prefixCls: string;
|
72 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
73 | } & {
|
74 | icon?: any;
|
75 | title?: any;
|
76 | extra?: any;
|
77 | subTitle?: any;
|
78 | }> & import("vue").ShallowUnwrapRef<{
|
79 | configProvider: import("../config-provider").ConfigConsumerProps;
|
80 | }> & {} & import("vue").ComponentCustomProperties;
|
81 | __isFragment?: never;
|
82 | __isTeleport?: never;
|
83 | __isSuspense?: never;
|
84 | } & import("vue").ComponentOptionsBase<Readonly<{
|
85 | prefixCls: string;
|
86 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
87 | } & {
|
88 | icon?: any;
|
89 | title?: any;
|
90 | extra?: any;
|
91 | subTitle?: any;
|
92 | }>, {
|
93 | configProvider: import("../config-provider").ConfigConsumerProps;
|
94 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
95 | prefixCls: string;
|
96 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
97 | }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((app: App<any>, ...options: any[]) => any) & {
|
98 | install?: (app: App<any>, ...options: any[]) => any;
|
99 | } & {
|
100 | readonly PRESENTED_IMAGE_403: typeof unauthorized;
|
101 | readonly PRESENTED_IMAGE_404: typeof noFound;
|
102 | readonly PRESENTED_IMAGE_500: typeof serverError;
|
103 | }) | ({
|
104 | new (...args: any[]): {
|
105 | $: import("vue").ComponentInternalInstance;
|
106 | $data: {};
|
107 | $props: Partial<{
|
108 | prefixCls: string;
|
109 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
110 | }> & Pick<Readonly<{
|
111 | prefixCls: string;
|
112 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
113 | } & {
|
114 | icon?: any;
|
115 | title?: any;
|
116 | extra?: any;
|
117 | subTitle?: any;
|
118 | }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "icon" | "title" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "extra" | "subTitle">;
|
119 | $attrs: Record<string, unknown>;
|
120 | $refs: Record<string, unknown>;
|
121 | $slots: Readonly<{
|
122 | [name: string]: import("vue").Slot;
|
123 | }>;
|
124 | $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
125 | $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
126 | $emit: (event: string, ...args: any[]) => void;
|
127 | $el: any;
|
128 | $options: import("vue").ComponentOptionsBase<Readonly<{
|
129 | prefixCls: string;
|
130 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
131 | } & {
|
132 | icon?: any;
|
133 | title?: any;
|
134 | extra?: any;
|
135 | subTitle?: any;
|
136 | }>, {
|
137 | configProvider: import("../config-provider").ConfigConsumerProps;
|
138 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
139 | prefixCls: string;
|
140 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
141 | }>;
|
142 | $forceUpdate: import("vue").ReactiveEffect<any>;
|
143 | $nextTick: typeof import("vue").nextTick;
|
144 | $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
145 | } & Readonly<{
|
146 | prefixCls: string;
|
147 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
148 | } & {
|
149 | icon?: any;
|
150 | title?: any;
|
151 | extra?: any;
|
152 | subTitle?: any;
|
153 | }> & import("vue").ShallowUnwrapRef<{
|
154 | configProvider: import("../config-provider").ConfigConsumerProps;
|
155 | }> & {} & import("vue").ComponentCustomProperties;
|
156 | __isFragment?: never;
|
157 | __isTeleport?: never;
|
158 | __isSuspense?: never;
|
159 | } & import("vue").ComponentOptionsBase<Readonly<{
|
160 | prefixCls: string;
|
161 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
162 | } & {
|
163 | icon?: any;
|
164 | title?: any;
|
165 | extra?: any;
|
166 | subTitle?: any;
|
167 | }>, {
|
168 | configProvider: import("../config-provider").ConfigConsumerProps;
|
169 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
170 | prefixCls: string;
|
171 | status: "error" | "success" | "info" | "warning" | "404" | "403" | "500";
|
172 | }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
173 | install: (app: App<any>, ...options: any[]) => any;
|
174 | } & {
|
175 | readonly PRESENTED_IMAGE_403: typeof unauthorized;
|
176 | readonly PRESENTED_IMAGE_404: typeof noFound;
|
177 | readonly PRESENTED_IMAGE_500: typeof serverError;
|
178 | });
|
179 | export default _default;
|