UNPKG

9.91 kBTypeScriptView Raw
1declare const _default: ({
2 new (...args: any[]): {
3 $: import("vue").ComponentInternalInstance;
4 $data: {
5 isImgExist: boolean;
6 isMounted: boolean;
7 scale: number;
8 lastChildrenWidth: any;
9 lastNodeWidth: any;
10 };
11 $props: Partial<{
12 prefixCls: string;
13 size: number | "default" | "small" | "large";
14 src: string;
15 srcset: string;
16 srcSet: string;
17 alt: string;
18 }> & Pick<Readonly<{
19 prefixCls: string;
20 size: number | "default" | "small" | "large";
21 src: string;
22 srcset: string;
23 srcSet: string;
24 alt: string;
25 } & {
26 icon?: import("../_util/type").VueNode;
27 shape?: "circle" | "square";
28 loadError?: () => boolean;
29 }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "icon" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "shape" | "loadError">;
30 $attrs: Record<string, unknown>;
31 $refs: Record<string, unknown>;
32 $slots: Readonly<{
33 [name: string]: import("vue").Slot;
34 }>;
35 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
36 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
37 $emit: (event: string, ...args: any[]) => void;
38 $el: any;
39 $options: import("vue").ComponentOptionsBase<Readonly<{
40 prefixCls: string;
41 size: number | "default" | "small" | "large";
42 src: string;
43 srcset: string;
44 srcSet: string;
45 alt: string;
46 } & {
47 icon?: import("../_util/type").VueNode;
48 shape?: "circle" | "square";
49 loadError?: () => boolean;
50 }>, {
51 configProvider: import("../config-provider").ConfigConsumerProps;
52 }, {
53 isImgExist: boolean;
54 isMounted: boolean;
55 scale: number;
56 lastChildrenWidth: any;
57 lastNodeWidth: any;
58 }, {}, {
59 setScale(): void;
60 handleImgLoadError(): void;
61 }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
62 prefixCls: string;
63 size: number | "default" | "small" | "large";
64 src: string;
65 srcset: string;
66 srcSet: string;
67 alt: string;
68 }>;
69 $forceUpdate: import("vue").ReactiveEffect<any>;
70 $nextTick: typeof import("vue").nextTick;
71 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
72 } & Readonly<{
73 prefixCls: string;
74 size: number | "default" | "small" | "large";
75 src: string;
76 srcset: string;
77 srcSet: string;
78 alt: string;
79 } & {
80 icon?: import("../_util/type").VueNode;
81 shape?: "circle" | "square";
82 loadError?: () => boolean;
83 }> & import("vue").ShallowUnwrapRef<{
84 configProvider: import("../config-provider").ConfigConsumerProps;
85 }> & {
86 isImgExist: boolean;
87 isMounted: boolean;
88 scale: number;
89 lastChildrenWidth: any;
90 lastNodeWidth: any;
91 } & {} & {
92 setScale(): void;
93 handleImgLoadError(): void;
94 } & import("vue").ComponentCustomProperties;
95 __isFragment?: never;
96 __isTeleport?: never;
97 __isSuspense?: never;
98} & import("vue").ComponentOptionsBase<Readonly<{
99 prefixCls: string;
100 size: number | "default" | "small" | "large";
101 src: string;
102 srcset: string;
103 srcSet: string;
104 alt: string;
105} & {
106 icon?: import("../_util/type").VueNode;
107 shape?: "circle" | "square";
108 loadError?: () => boolean;
109}>, {
110 configProvider: import("../config-provider").ConfigConsumerProps;
111}, {
112 isImgExist: boolean;
113 isMounted: boolean;
114 scale: number;
115 lastChildrenWidth: any;
116 lastNodeWidth: any;
117}, {}, {
118 setScale(): void;
119 handleImgLoadError(): void;
120}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
121 prefixCls: string;
122 size: number | "default" | "small" | "large";
123 src: string;
124 srcset: string;
125 srcSet: string;
126 alt: string;
127}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((app: import("vue").App<any>, ...options: any[]) => any) & {
128 install?: (app: import("vue").App<any>, ...options: any[]) => any;
129}) | ({
130 new (...args: any[]): {
131 $: import("vue").ComponentInternalInstance;
132 $data: {
133 isImgExist: boolean;
134 isMounted: boolean;
135 scale: number;
136 lastChildrenWidth: any;
137 lastNodeWidth: any;
138 };
139 $props: Partial<{
140 prefixCls: string;
141 size: number | "default" | "small" | "large";
142 src: string;
143 srcset: string;
144 srcSet: string;
145 alt: string;
146 }> & Pick<Readonly<{
147 prefixCls: string;
148 size: number | "default" | "small" | "large";
149 src: string;
150 srcset: string;
151 srcSet: string;
152 alt: string;
153 } & {
154 icon?: import("../_util/type").VueNode;
155 shape?: "circle" | "square";
156 loadError?: () => boolean;
157 }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "icon" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "shape" | "loadError">;
158 $attrs: Record<string, unknown>;
159 $refs: Record<string, unknown>;
160 $slots: Readonly<{
161 [name: string]: import("vue").Slot;
162 }>;
163 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
164 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
165 $emit: (event: string, ...args: any[]) => void;
166 $el: any;
167 $options: import("vue").ComponentOptionsBase<Readonly<{
168 prefixCls: string;
169 size: number | "default" | "small" | "large";
170 src: string;
171 srcset: string;
172 srcSet: string;
173 alt: string;
174 } & {
175 icon?: import("../_util/type").VueNode;
176 shape?: "circle" | "square";
177 loadError?: () => boolean;
178 }>, {
179 configProvider: import("../config-provider").ConfigConsumerProps;
180 }, {
181 isImgExist: boolean;
182 isMounted: boolean;
183 scale: number;
184 lastChildrenWidth: any;
185 lastNodeWidth: any;
186 }, {}, {
187 setScale(): void;
188 handleImgLoadError(): void;
189 }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
190 prefixCls: string;
191 size: number | "default" | "small" | "large";
192 src: string;
193 srcset: string;
194 srcSet: string;
195 alt: string;
196 }>;
197 $forceUpdate: import("vue").ReactiveEffect<any>;
198 $nextTick: typeof import("vue").nextTick;
199 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
200 } & Readonly<{
201 prefixCls: string;
202 size: number | "default" | "small" | "large";
203 src: string;
204 srcset: string;
205 srcSet: string;
206 alt: string;
207 } & {
208 icon?: import("../_util/type").VueNode;
209 shape?: "circle" | "square";
210 loadError?: () => boolean;
211 }> & import("vue").ShallowUnwrapRef<{
212 configProvider: import("../config-provider").ConfigConsumerProps;
213 }> & {
214 isImgExist: boolean;
215 isMounted: boolean;
216 scale: number;
217 lastChildrenWidth: any;
218 lastNodeWidth: any;
219 } & {} & {
220 setScale(): void;
221 handleImgLoadError(): void;
222 } & import("vue").ComponentCustomProperties;
223 __isFragment?: never;
224 __isTeleport?: never;
225 __isSuspense?: never;
226} & import("vue").ComponentOptionsBase<Readonly<{
227 prefixCls: string;
228 size: number | "default" | "small" | "large";
229 src: string;
230 srcset: string;
231 srcSet: string;
232 alt: string;
233} & {
234 icon?: import("../_util/type").VueNode;
235 shape?: "circle" | "square";
236 loadError?: () => boolean;
237}>, {
238 configProvider: import("../config-provider").ConfigConsumerProps;
239}, {
240 isImgExist: boolean;
241 isMounted: boolean;
242 scale: number;
243 lastChildrenWidth: any;
244 lastNodeWidth: any;
245}, {}, {
246 setScale(): void;
247 handleImgLoadError(): void;
248}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
249 prefixCls: string;
250 size: number | "default" | "small" | "large";
251 src: string;
252 srcset: string;
253 srcSet: string;
254 alt: string;
255}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
256 install: (app: import("vue").App<any>, ...options: any[]) => any;
257});
258export default _default;