delta-comic-core 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2503 +0,0 @@
1
- import { uni } from '../../struct';
2
- import { StyleValue } from 'vue';
3
- type __VLS_Props = {
4
- item: uni.item.Item | uni.item.RawItem;
5
- freeHeight?: boolean;
6
- disabled?: boolean;
7
- type?: 'default' | 'big' | 'small';
8
- class?: any;
9
- style?: StyleValue;
10
- };
11
- declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
- slots: Readonly<{
14
- default(): void;
15
- smallTopInfo(): void;
16
- cover(): void;
17
- }> & {
18
- default(): void;
19
- smallTopInfo(): void;
20
- cover(): void;
21
- };
22
- refs: {
23
- container: HTMLDivElement;
24
- cover: ({
25
- $: import('vue').ComponentInternalInstance;
26
- $data: {};
27
- $props: {
28
- readonly src?: uni.image.Image_ | undefined;
29
- readonly alt?: string | undefined;
30
- readonly previewable?: boolean | undefined;
31
- readonly retryMax?: number | undefined;
32
- readonly round?: boolean | undefined;
33
- readonly fit?: "fill" | "none" | "contain" | "cover" | "scale-down" | undefined;
34
- readonly class?: any;
35
- readonly hideLoading?: boolean | undefined;
36
- readonly hideError?: boolean | undefined;
37
- readonly inline?: boolean | undefined;
38
- readonly style?: StyleValue;
39
- readonly imgProp?: import('vue').ImgHTMLAttributes | undefined;
40
- readonly useList?: {
41
- loaded: Set<string>;
42
- error: Set<string>;
43
- } | undefined;
44
- readonly fetchpriority?: "high" | "low" | "auto" | undefined;
45
- readonly fallback?: uni.image.Image_ | undefined;
46
- readonly onLoad?: ((...args: any[]) => any) | undefined;
47
- readonly onClick?: (() => any) | undefined;
48
- readonly onError?: (() => any) | undefined;
49
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
50
- $attrs: {
51
- [x: string]: unknown;
52
- };
53
- $refs: {
54
- [x: string]: unknown;
55
- } & {
56
- img: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
57
- onPreviewPrev: import('vue').PropType<() => void>;
58
- onPreviewNext: import('vue').PropType<() => void>;
59
- showToolbar: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- };
63
- showToolbarTooltip: BooleanConstructor;
64
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
65
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
66
- toolbarIconColor: string;
67
- toolbarColor: string;
68
- toolbarBoxShadow: string;
69
- toolbarBorderRadius: string;
70
- }, {
71
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
72
- borderRadius: string;
73
- boxShadow: string;
74
- color: string;
75
- textColor: string;
76
- padding: string;
77
- }, {
78
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
79
- fontSize: string;
80
- borderRadius: string;
81
- color: string;
82
- dividerColor: string;
83
- textColor: string;
84
- boxShadow: string;
85
- space: string;
86
- spaceArrow: string;
87
- arrowOffset: string;
88
- arrowOffsetVertical: string;
89
- arrowHeight: string;
90
- padding: string;
91
- }, {
92
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
93
- height: string;
94
- width: string;
95
- borderRadius: string;
96
- color: string;
97
- colorHover: string;
98
- railInsetHorizontalBottom: string;
99
- railInsetHorizontalTop: string;
100
- railInsetVerticalRight: string;
101
- railInsetVerticalLeft: string;
102
- railColor: string;
103
- }, any>;
104
- }>;
105
- }>;
106
- }>>;
107
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
108
- toolbarIconColor: string;
109
- toolbarColor: string;
110
- toolbarBoxShadow: string;
111
- toolbarBorderRadius: string;
112
- }, {
113
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
114
- borderRadius: string;
115
- boxShadow: string;
116
- color: string;
117
- textColor: string;
118
- padding: string;
119
- }, {
120
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
121
- fontSize: string;
122
- borderRadius: string;
123
- color: string;
124
- dividerColor: string;
125
- textColor: string;
126
- boxShadow: string;
127
- space: string;
128
- spaceArrow: string;
129
- arrowOffset: string;
130
- arrowOffsetVertical: string;
131
- arrowHeight: string;
132
- padding: string;
133
- }, {
134
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
135
- height: string;
136
- width: string;
137
- borderRadius: string;
138
- color: string;
139
- colorHover: string;
140
- railInsetHorizontalBottom: string;
141
- railInsetHorizontalTop: string;
142
- railInsetVerticalRight: string;
143
- railInsetVerticalLeft: string;
144
- railColor: string;
145
- }, any>;
146
- }>;
147
- }>;
148
- }>>>;
149
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
150
- toolbarIconColor: string;
151
- toolbarColor: string;
152
- toolbarBoxShadow: string;
153
- toolbarBorderRadius: string;
154
- }, {
155
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
156
- borderRadius: string;
157
- boxShadow: string;
158
- color: string;
159
- textColor: string;
160
- padding: string;
161
- }, {
162
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
163
- fontSize: string;
164
- borderRadius: string;
165
- color: string;
166
- dividerColor: string;
167
- textColor: string;
168
- boxShadow: string;
169
- space: string;
170
- spaceArrow: string;
171
- arrowOffset: string;
172
- arrowOffsetVertical: string;
173
- arrowHeight: string;
174
- padding: string;
175
- }, {
176
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
177
- height: string;
178
- width: string;
179
- borderRadius: string;
180
- color: string;
181
- colorHover: string;
182
- railInsetHorizontalBottom: string;
183
- railInsetHorizontalTop: string;
184
- railInsetVerticalRight: string;
185
- railInsetVerticalLeft: string;
186
- railColor: string;
187
- }, any>;
188
- }>;
189
- }>;
190
- }>>>;
191
- alt: StringConstructor;
192
- height: import('vue').PropType<string | number>;
193
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
194
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
195
- lazy: BooleanConstructor;
196
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
197
- objectFit: {
198
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
199
- default: string;
200
- };
201
- previewSrc: StringConstructor;
202
- fallbackSrc: StringConstructor;
203
- width: import('vue').PropType<string | number>;
204
- src: StringConstructor;
205
- previewDisabled: BooleanConstructor;
206
- loadDescription: StringConstructor;
207
- onError: import('vue').PropType<(e: Event) => void>;
208
- onLoad: import('vue').PropType<(e: Event) => void>;
209
- }>> & Readonly<{}>, {
210
- click: () => void;
211
- showPreview: () => void;
212
- mergedClsPrefix: import('vue').Ref<string, string>;
213
- groupId: string | undefined;
214
- previewInstRef: import('vue').Ref<{
215
- setThumbnailEl: (e: HTMLImageElement | null) => void;
216
- } | null, import('naive-ui').ImagePreviewInst | {
217
- setThumbnailEl: (e: HTMLImageElement | null) => void;
218
- } | null>;
219
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
220
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
221
- showError: import('vue').Ref<boolean, boolean>;
222
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
223
- loaded: import('vue').Ref<boolean, boolean>;
224
- mergedOnClick: (e: PointerEvent) => void;
225
- onPreviewClose: () => void;
226
- mergedOnError: (e: Event) => void;
227
- mergedOnLoad: (e: Event) => void;
228
- previewShow: import('vue').Ref<boolean, boolean>;
229
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
230
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
231
- lazy: boolean;
232
- showToolbar: boolean;
233
- showToolbarTooltip: boolean;
234
- previewDisabled: boolean;
235
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
236
- P: {};
237
- B: {};
238
- D: {};
239
- C: {};
240
- M: {};
241
- Defaults: {};
242
- }, Readonly<import('vue').ExtractPropTypes<{
243
- onPreviewPrev: import('vue').PropType<() => void>;
244
- onPreviewNext: import('vue').PropType<() => void>;
245
- showToolbar: {
246
- type: BooleanConstructor;
247
- default: boolean;
248
- };
249
- showToolbarTooltip: BooleanConstructor;
250
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
251
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
252
- toolbarIconColor: string;
253
- toolbarColor: string;
254
- toolbarBoxShadow: string;
255
- toolbarBorderRadius: string;
256
- }, {
257
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
258
- borderRadius: string;
259
- boxShadow: string;
260
- color: string;
261
- textColor: string;
262
- padding: string;
263
- }, {
264
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
265
- fontSize: string;
266
- borderRadius: string;
267
- color: string;
268
- dividerColor: string;
269
- textColor: string;
270
- boxShadow: string;
271
- space: string;
272
- spaceArrow: string;
273
- arrowOffset: string;
274
- arrowOffsetVertical: string;
275
- arrowHeight: string;
276
- padding: string;
277
- }, {
278
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
279
- height: string;
280
- width: string;
281
- borderRadius: string;
282
- color: string;
283
- colorHover: string;
284
- railInsetHorizontalBottom: string;
285
- railInsetHorizontalTop: string;
286
- railInsetVerticalRight: string;
287
- railInsetVerticalLeft: string;
288
- railColor: string;
289
- }, any>;
290
- }>;
291
- }>;
292
- }>>;
293
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
294
- toolbarIconColor: string;
295
- toolbarColor: string;
296
- toolbarBoxShadow: string;
297
- toolbarBorderRadius: string;
298
- }, {
299
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
300
- borderRadius: string;
301
- boxShadow: string;
302
- color: string;
303
- textColor: string;
304
- padding: string;
305
- }, {
306
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
307
- fontSize: string;
308
- borderRadius: string;
309
- color: string;
310
- dividerColor: string;
311
- textColor: string;
312
- boxShadow: string;
313
- space: string;
314
- spaceArrow: string;
315
- arrowOffset: string;
316
- arrowOffsetVertical: string;
317
- arrowHeight: string;
318
- padding: string;
319
- }, {
320
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
321
- height: string;
322
- width: string;
323
- borderRadius: string;
324
- color: string;
325
- colorHover: string;
326
- railInsetHorizontalBottom: string;
327
- railInsetHorizontalTop: string;
328
- railInsetVerticalRight: string;
329
- railInsetVerticalLeft: string;
330
- railColor: string;
331
- }, any>;
332
- }>;
333
- }>;
334
- }>>>;
335
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
336
- toolbarIconColor: string;
337
- toolbarColor: string;
338
- toolbarBoxShadow: string;
339
- toolbarBorderRadius: string;
340
- }, {
341
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
342
- borderRadius: string;
343
- boxShadow: string;
344
- color: string;
345
- textColor: string;
346
- padding: string;
347
- }, {
348
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
349
- fontSize: string;
350
- borderRadius: string;
351
- color: string;
352
- dividerColor: string;
353
- textColor: string;
354
- boxShadow: string;
355
- space: string;
356
- spaceArrow: string;
357
- arrowOffset: string;
358
- arrowOffsetVertical: string;
359
- arrowHeight: string;
360
- padding: string;
361
- }, {
362
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
363
- height: string;
364
- width: string;
365
- borderRadius: string;
366
- color: string;
367
- colorHover: string;
368
- railInsetHorizontalBottom: string;
369
- railInsetHorizontalTop: string;
370
- railInsetVerticalRight: string;
371
- railInsetVerticalLeft: string;
372
- railColor: string;
373
- }, any>;
374
- }>;
375
- }>;
376
- }>>>;
377
- alt: StringConstructor;
378
- height: import('vue').PropType<string | number>;
379
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
380
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
381
- lazy: BooleanConstructor;
382
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
383
- objectFit: {
384
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
385
- default: string;
386
- };
387
- previewSrc: StringConstructor;
388
- fallbackSrc: StringConstructor;
389
- width: import('vue').PropType<string | number>;
390
- src: StringConstructor;
391
- previewDisabled: BooleanConstructor;
392
- loadDescription: StringConstructor;
393
- onError: import('vue').PropType<(e: Event) => void>;
394
- onLoad: import('vue').PropType<(e: Event) => void>;
395
- }>> & Readonly<{}>, {
396
- click: () => void;
397
- showPreview: () => void;
398
- mergedClsPrefix: import('vue').Ref<string, string>;
399
- groupId: string | undefined;
400
- previewInstRef: import('vue').Ref<{
401
- setThumbnailEl: (e: HTMLImageElement | null) => void;
402
- } | null, import('naive-ui').ImagePreviewInst | {
403
- setThumbnailEl: (e: HTMLImageElement | null) => void;
404
- } | null>;
405
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
406
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
407
- showError: import('vue').Ref<boolean, boolean>;
408
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
409
- loaded: import('vue').Ref<boolean, boolean>;
410
- mergedOnClick: (e: PointerEvent) => void;
411
- onPreviewClose: () => void;
412
- mergedOnError: (e: Event) => void;
413
- mergedOnLoad: (e: Event) => void;
414
- previewShow: import('vue').Ref<boolean, boolean>;
415
- }, {}, {}, {}, {
416
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
417
- lazy: boolean;
418
- showToolbar: boolean;
419
- showToolbarTooltip: boolean;
420
- previewDisabled: boolean;
421
- }> | null;
422
- };
423
- $slots: Readonly<{
424
- [name: string]: import('vue').Slot<any> | undefined;
425
- }>;
426
- $root: import('vue').ComponentPublicInstance | null;
427
- $parent: import('vue').ComponentPublicInstance | null;
428
- $host: Element | null;
429
- $emit: ((event: "load", ...args: any[]) => void) & ((event: "click") => void) & ((event: "error") => void);
430
- $el: any;
431
- $options: import('vue').ComponentOptionsBase<Readonly<{
432
- src?: uni.image.Image_;
433
- alt?: string;
434
- previewable?: boolean;
435
- retryMax?: number;
436
- round?: boolean;
437
- fit?: import('naive-ui').ImageProps["objectFit"];
438
- class?: any;
439
- hideLoading?: boolean;
440
- hideError?: boolean;
441
- inline?: boolean;
442
- style?: StyleValue;
443
- imgProp?: import('vue').ImgHTMLAttributes;
444
- useList?: {
445
- loaded: Set<string>;
446
- error: Set<string>;
447
- };
448
- fetchpriority?: "high" | "low" | "auto";
449
- fallback?: uni.image.Image_;
450
- }> & Readonly<{
451
- onLoad?: ((...args: any[]) => any) | undefined;
452
- onClick?: (() => any) | undefined;
453
- onError?: (() => any) | undefined;
454
- }>, {
455
- isLoaded: import('vue').ComputedRef<boolean>;
456
- imageEl: HTMLImageElement | null | undefined;
457
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
458
- onPreviewPrev: import('vue').PropType<() => void>;
459
- onPreviewNext: import('vue').PropType<() => void>;
460
- showToolbar: {
461
- type: BooleanConstructor;
462
- default: boolean;
463
- };
464
- showToolbarTooltip: BooleanConstructor;
465
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
466
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
467
- toolbarIconColor: string;
468
- toolbarColor: string;
469
- toolbarBoxShadow: string;
470
- toolbarBorderRadius: string;
471
- }, {
472
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
473
- borderRadius: string;
474
- boxShadow: string;
475
- color: string;
476
- textColor: string;
477
- padding: string;
478
- }, {
479
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
480
- fontSize: string;
481
- borderRadius: string;
482
- color: string;
483
- dividerColor: string;
484
- textColor: string;
485
- boxShadow: string;
486
- space: string;
487
- spaceArrow: string;
488
- arrowOffset: string;
489
- arrowOffsetVertical: string;
490
- arrowHeight: string;
491
- padding: string;
492
- }, {
493
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
494
- height: string;
495
- width: string;
496
- borderRadius: string;
497
- color: string;
498
- colorHover: string;
499
- railInsetHorizontalBottom: string;
500
- railInsetHorizontalTop: string;
501
- railInsetVerticalRight: string;
502
- railInsetVerticalLeft: string;
503
- railColor: string;
504
- }, any>;
505
- }>;
506
- }>;
507
- }>>;
508
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
509
- toolbarIconColor: string;
510
- toolbarColor: string;
511
- toolbarBoxShadow: string;
512
- toolbarBorderRadius: string;
513
- }, {
514
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
515
- borderRadius: string;
516
- boxShadow: string;
517
- color: string;
518
- textColor: string;
519
- padding: string;
520
- }, {
521
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
522
- fontSize: string;
523
- borderRadius: string;
524
- color: string;
525
- dividerColor: string;
526
- textColor: string;
527
- boxShadow: string;
528
- space: string;
529
- spaceArrow: string;
530
- arrowOffset: string;
531
- arrowOffsetVertical: string;
532
- arrowHeight: string;
533
- padding: string;
534
- }, {
535
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
536
- height: string;
537
- width: string;
538
- borderRadius: string;
539
- color: string;
540
- colorHover: string;
541
- railInsetHorizontalBottom: string;
542
- railInsetHorizontalTop: string;
543
- railInsetVerticalRight: string;
544
- railInsetVerticalLeft: string;
545
- railColor: string;
546
- }, any>;
547
- }>;
548
- }>;
549
- }>>>;
550
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
551
- toolbarIconColor: string;
552
- toolbarColor: string;
553
- toolbarBoxShadow: string;
554
- toolbarBorderRadius: string;
555
- }, {
556
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
557
- borderRadius: string;
558
- boxShadow: string;
559
- color: string;
560
- textColor: string;
561
- padding: string;
562
- }, {
563
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
564
- fontSize: string;
565
- borderRadius: string;
566
- color: string;
567
- dividerColor: string;
568
- textColor: string;
569
- boxShadow: string;
570
- space: string;
571
- spaceArrow: string;
572
- arrowOffset: string;
573
- arrowOffsetVertical: string;
574
- arrowHeight: string;
575
- padding: string;
576
- }, {
577
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
578
- height: string;
579
- width: string;
580
- borderRadius: string;
581
- color: string;
582
- colorHover: string;
583
- railInsetHorizontalBottom: string;
584
- railInsetHorizontalTop: string;
585
- railInsetVerticalRight: string;
586
- railInsetVerticalLeft: string;
587
- railColor: string;
588
- }, any>;
589
- }>;
590
- }>;
591
- }>>>;
592
- alt: StringConstructor;
593
- height: import('vue').PropType<string | number>;
594
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
595
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
596
- lazy: BooleanConstructor;
597
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
598
- objectFit: {
599
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
600
- default: string;
601
- };
602
- previewSrc: StringConstructor;
603
- fallbackSrc: StringConstructor;
604
- width: import('vue').PropType<string | number>;
605
- src: StringConstructor;
606
- previewDisabled: BooleanConstructor;
607
- loadDescription: StringConstructor;
608
- onError: import('vue').PropType<(e: Event) => void>;
609
- onLoad: import('vue').PropType<(e: Event) => void>;
610
- }>> & Readonly<{}>, {
611
- click: () => void;
612
- showPreview: () => void;
613
- mergedClsPrefix: import('vue').Ref<string, string>;
614
- groupId: string | undefined;
615
- previewInstRef: import('vue').Ref<{
616
- setThumbnailEl: (e: HTMLImageElement | null) => void;
617
- } | null, import('naive-ui').ImagePreviewInst | {
618
- setThumbnailEl: (e: HTMLImageElement | null) => void;
619
- } | null>;
620
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
621
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
622
- showError: import('vue').Ref<boolean, boolean>;
623
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
624
- loaded: import('vue').Ref<boolean, boolean>;
625
- mergedOnClick: (e: PointerEvent) => void;
626
- onPreviewClose: () => void;
627
- mergedOnError: (e: Event) => void;
628
- mergedOnLoad: (e: Event) => void;
629
- previewShow: import('vue').Ref<boolean, boolean>;
630
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
631
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
632
- lazy: boolean;
633
- showToolbar: boolean;
634
- showToolbarTooltip: boolean;
635
- previewDisabled: boolean;
636
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
637
- P: {};
638
- B: {};
639
- D: {};
640
- C: {};
641
- M: {};
642
- Defaults: {};
643
- }, Readonly<import('vue').ExtractPropTypes<{
644
- onPreviewPrev: import('vue').PropType<() => void>;
645
- onPreviewNext: import('vue').PropType<() => void>;
646
- showToolbar: {
647
- type: BooleanConstructor;
648
- default: boolean;
649
- };
650
- showToolbarTooltip: BooleanConstructor;
651
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
652
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
653
- toolbarIconColor: string;
654
- toolbarColor: string;
655
- toolbarBoxShadow: string;
656
- toolbarBorderRadius: string;
657
- }, {
658
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
659
- borderRadius: string;
660
- boxShadow: string;
661
- color: string;
662
- textColor: string;
663
- padding: string;
664
- }, {
665
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
666
- fontSize: string;
667
- borderRadius: string;
668
- color: string;
669
- dividerColor: string;
670
- textColor: string;
671
- boxShadow: string;
672
- space: string;
673
- spaceArrow: string;
674
- arrowOffset: string;
675
- arrowOffsetVertical: string;
676
- arrowHeight: string;
677
- padding: string;
678
- }, {
679
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
680
- height: string;
681
- width: string;
682
- borderRadius: string;
683
- color: string;
684
- colorHover: string;
685
- railInsetHorizontalBottom: string;
686
- railInsetHorizontalTop: string;
687
- railInsetVerticalRight: string;
688
- railInsetVerticalLeft: string;
689
- railColor: string;
690
- }, any>;
691
- }>;
692
- }>;
693
- }>>;
694
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
695
- toolbarIconColor: string;
696
- toolbarColor: string;
697
- toolbarBoxShadow: string;
698
- toolbarBorderRadius: string;
699
- }, {
700
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
701
- borderRadius: string;
702
- boxShadow: string;
703
- color: string;
704
- textColor: string;
705
- padding: string;
706
- }, {
707
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
708
- fontSize: string;
709
- borderRadius: string;
710
- color: string;
711
- dividerColor: string;
712
- textColor: string;
713
- boxShadow: string;
714
- space: string;
715
- spaceArrow: string;
716
- arrowOffset: string;
717
- arrowOffsetVertical: string;
718
- arrowHeight: string;
719
- padding: string;
720
- }, {
721
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
722
- height: string;
723
- width: string;
724
- borderRadius: string;
725
- color: string;
726
- colorHover: string;
727
- railInsetHorizontalBottom: string;
728
- railInsetHorizontalTop: string;
729
- railInsetVerticalRight: string;
730
- railInsetVerticalLeft: string;
731
- railColor: string;
732
- }, any>;
733
- }>;
734
- }>;
735
- }>>>;
736
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
737
- toolbarIconColor: string;
738
- toolbarColor: string;
739
- toolbarBoxShadow: string;
740
- toolbarBorderRadius: string;
741
- }, {
742
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
743
- borderRadius: string;
744
- boxShadow: string;
745
- color: string;
746
- textColor: string;
747
- padding: string;
748
- }, {
749
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
750
- fontSize: string;
751
- borderRadius: string;
752
- color: string;
753
- dividerColor: string;
754
- textColor: string;
755
- boxShadow: string;
756
- space: string;
757
- spaceArrow: string;
758
- arrowOffset: string;
759
- arrowOffsetVertical: string;
760
- arrowHeight: string;
761
- padding: string;
762
- }, {
763
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
764
- height: string;
765
- width: string;
766
- borderRadius: string;
767
- color: string;
768
- colorHover: string;
769
- railInsetHorizontalBottom: string;
770
- railInsetHorizontalTop: string;
771
- railInsetVerticalRight: string;
772
- railInsetVerticalLeft: string;
773
- railColor: string;
774
- }, any>;
775
- }>;
776
- }>;
777
- }>>>;
778
- alt: StringConstructor;
779
- height: import('vue').PropType<string | number>;
780
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
781
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
782
- lazy: BooleanConstructor;
783
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
784
- objectFit: {
785
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
786
- default: string;
787
- };
788
- previewSrc: StringConstructor;
789
- fallbackSrc: StringConstructor;
790
- width: import('vue').PropType<string | number>;
791
- src: StringConstructor;
792
- previewDisabled: BooleanConstructor;
793
- loadDescription: StringConstructor;
794
- onError: import('vue').PropType<(e: Event) => void>;
795
- onLoad: import('vue').PropType<(e: Event) => void>;
796
- }>> & Readonly<{}>, {
797
- click: () => void;
798
- showPreview: () => void;
799
- mergedClsPrefix: import('vue').Ref<string, string>;
800
- groupId: string | undefined;
801
- previewInstRef: import('vue').Ref<{
802
- setThumbnailEl: (e: HTMLImageElement | null) => void;
803
- } | null, import('naive-ui').ImagePreviewInst | {
804
- setThumbnailEl: (e: HTMLImageElement | null) => void;
805
- } | null>;
806
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
807
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
808
- showError: import('vue').Ref<boolean, boolean>;
809
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
810
- loaded: import('vue').Ref<boolean, boolean>;
811
- mergedOnClick: (e: PointerEvent) => void;
812
- onPreviewClose: () => void;
813
- mergedOnError: (e: Event) => void;
814
- mergedOnLoad: (e: Event) => void;
815
- previewShow: import('vue').Ref<boolean, boolean>;
816
- }, {}, {}, {}, {
817
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
818
- lazy: boolean;
819
- showToolbar: boolean;
820
- showToolbarTooltip: boolean;
821
- previewDisabled: boolean;
822
- }> | null;
823
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
824
- load: (...args: any[]) => any;
825
- click: () => any;
826
- error: () => any;
827
- }, string, {
828
- retryMax: number;
829
- fetchpriority: "high" | "low" | "auto";
830
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
831
- beforeCreate?: (() => void) | (() => void)[];
832
- created?: (() => void) | (() => void)[];
833
- beforeMount?: (() => void) | (() => void)[];
834
- mounted?: (() => void) | (() => void)[];
835
- beforeUpdate?: (() => void) | (() => void)[];
836
- updated?: (() => void) | (() => void)[];
837
- activated?: (() => void) | (() => void)[];
838
- deactivated?: (() => void) | (() => void)[];
839
- beforeDestroy?: (() => void) | (() => void)[];
840
- beforeUnmount?: (() => void) | (() => void)[];
841
- destroyed?: (() => void) | (() => void)[];
842
- unmounted?: (() => void) | (() => void)[];
843
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
844
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
845
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
846
- };
847
- $forceUpdate: () => void;
848
- $nextTick: typeof import('vue').nextTick;
849
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
850
- } & Readonly<{
851
- retryMax: number;
852
- fetchpriority: "high" | "low" | "auto";
853
- }> & Omit<Readonly<{
854
- src?: uni.image.Image_;
855
- alt?: string;
856
- previewable?: boolean;
857
- retryMax?: number;
858
- round?: boolean;
859
- fit?: import('naive-ui').ImageProps["objectFit"];
860
- class?: any;
861
- hideLoading?: boolean;
862
- hideError?: boolean;
863
- inline?: boolean;
864
- style?: StyleValue;
865
- imgProp?: import('vue').ImgHTMLAttributes;
866
- useList?: {
867
- loaded: Set<string>;
868
- error: Set<string>;
869
- };
870
- fetchpriority?: "high" | "low" | "auto";
871
- fallback?: uni.image.Image_;
872
- }> & Readonly<{
873
- onLoad?: ((...args: any[]) => any) | undefined;
874
- onClick?: (() => any) | undefined;
875
- onError?: (() => any) | undefined;
876
- }>, ("retryMax" | "fetchpriority") | "isLoaded" | "imageEl" | "imageIns"> & import('vue').ShallowUnwrapRef<{
877
- isLoaded: import('vue').ComputedRef<boolean>;
878
- imageEl: HTMLImageElement | null | undefined;
879
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
880
- onPreviewPrev: import('vue').PropType<() => void>;
881
- onPreviewNext: import('vue').PropType<() => void>;
882
- showToolbar: {
883
- type: BooleanConstructor;
884
- default: boolean;
885
- };
886
- showToolbarTooltip: BooleanConstructor;
887
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
888
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
889
- toolbarIconColor: string;
890
- toolbarColor: string;
891
- toolbarBoxShadow: string;
892
- toolbarBorderRadius: string;
893
- }, {
894
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
895
- borderRadius: string;
896
- boxShadow: string;
897
- color: string;
898
- textColor: string;
899
- padding: string;
900
- }, {
901
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
902
- fontSize: string;
903
- borderRadius: string;
904
- color: string;
905
- dividerColor: string;
906
- textColor: string;
907
- boxShadow: string;
908
- space: string;
909
- spaceArrow: string;
910
- arrowOffset: string;
911
- arrowOffsetVertical: string;
912
- arrowHeight: string;
913
- padding: string;
914
- }, {
915
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
916
- height: string;
917
- width: string;
918
- borderRadius: string;
919
- color: string;
920
- colorHover: string;
921
- railInsetHorizontalBottom: string;
922
- railInsetHorizontalTop: string;
923
- railInsetVerticalRight: string;
924
- railInsetVerticalLeft: string;
925
- railColor: string;
926
- }, any>;
927
- }>;
928
- }>;
929
- }>>;
930
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
931
- toolbarIconColor: string;
932
- toolbarColor: string;
933
- toolbarBoxShadow: string;
934
- toolbarBorderRadius: string;
935
- }, {
936
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
937
- borderRadius: string;
938
- boxShadow: string;
939
- color: string;
940
- textColor: string;
941
- padding: string;
942
- }, {
943
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
944
- fontSize: string;
945
- borderRadius: string;
946
- color: string;
947
- dividerColor: string;
948
- textColor: string;
949
- boxShadow: string;
950
- space: string;
951
- spaceArrow: string;
952
- arrowOffset: string;
953
- arrowOffsetVertical: string;
954
- arrowHeight: string;
955
- padding: string;
956
- }, {
957
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
958
- height: string;
959
- width: string;
960
- borderRadius: string;
961
- color: string;
962
- colorHover: string;
963
- railInsetHorizontalBottom: string;
964
- railInsetHorizontalTop: string;
965
- railInsetVerticalRight: string;
966
- railInsetVerticalLeft: string;
967
- railColor: string;
968
- }, any>;
969
- }>;
970
- }>;
971
- }>>>;
972
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
973
- toolbarIconColor: string;
974
- toolbarColor: string;
975
- toolbarBoxShadow: string;
976
- toolbarBorderRadius: string;
977
- }, {
978
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
979
- borderRadius: string;
980
- boxShadow: string;
981
- color: string;
982
- textColor: string;
983
- padding: string;
984
- }, {
985
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
986
- fontSize: string;
987
- borderRadius: string;
988
- color: string;
989
- dividerColor: string;
990
- textColor: string;
991
- boxShadow: string;
992
- space: string;
993
- spaceArrow: string;
994
- arrowOffset: string;
995
- arrowOffsetVertical: string;
996
- arrowHeight: string;
997
- padding: string;
998
- }, {
999
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1000
- height: string;
1001
- width: string;
1002
- borderRadius: string;
1003
- color: string;
1004
- colorHover: string;
1005
- railInsetHorizontalBottom: string;
1006
- railInsetHorizontalTop: string;
1007
- railInsetVerticalRight: string;
1008
- railInsetVerticalLeft: string;
1009
- railColor: string;
1010
- }, any>;
1011
- }>;
1012
- }>;
1013
- }>>>;
1014
- alt: StringConstructor;
1015
- height: import('vue').PropType<string | number>;
1016
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1017
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1018
- lazy: BooleanConstructor;
1019
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1020
- objectFit: {
1021
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1022
- default: string;
1023
- };
1024
- previewSrc: StringConstructor;
1025
- fallbackSrc: StringConstructor;
1026
- width: import('vue').PropType<string | number>;
1027
- src: StringConstructor;
1028
- previewDisabled: BooleanConstructor;
1029
- loadDescription: StringConstructor;
1030
- onError: import('vue').PropType<(e: Event) => void>;
1031
- onLoad: import('vue').PropType<(e: Event) => void>;
1032
- }>> & Readonly<{}>, {
1033
- click: () => void;
1034
- showPreview: () => void;
1035
- mergedClsPrefix: import('vue').Ref<string, string>;
1036
- groupId: string | undefined;
1037
- previewInstRef: import('vue').Ref<{
1038
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1039
- } | null, import('naive-ui').ImagePreviewInst | {
1040
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1041
- } | null>;
1042
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1043
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1044
- showError: import('vue').Ref<boolean, boolean>;
1045
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
1046
- loaded: import('vue').Ref<boolean, boolean>;
1047
- mergedOnClick: (e: PointerEvent) => void;
1048
- onPreviewClose: () => void;
1049
- mergedOnError: (e: Event) => void;
1050
- mergedOnLoad: (e: Event) => void;
1051
- previewShow: import('vue').Ref<boolean, boolean>;
1052
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1053
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1054
- lazy: boolean;
1055
- showToolbar: boolean;
1056
- showToolbarTooltip: boolean;
1057
- previewDisabled: boolean;
1058
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1059
- P: {};
1060
- B: {};
1061
- D: {};
1062
- C: {};
1063
- M: {};
1064
- Defaults: {};
1065
- }, Readonly<import('vue').ExtractPropTypes<{
1066
- onPreviewPrev: import('vue').PropType<() => void>;
1067
- onPreviewNext: import('vue').PropType<() => void>;
1068
- showToolbar: {
1069
- type: BooleanConstructor;
1070
- default: boolean;
1071
- };
1072
- showToolbarTooltip: BooleanConstructor;
1073
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1074
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
1075
- toolbarIconColor: string;
1076
- toolbarColor: string;
1077
- toolbarBoxShadow: string;
1078
- toolbarBorderRadius: string;
1079
- }, {
1080
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1081
- borderRadius: string;
1082
- boxShadow: string;
1083
- color: string;
1084
- textColor: string;
1085
- padding: string;
1086
- }, {
1087
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1088
- fontSize: string;
1089
- borderRadius: string;
1090
- color: string;
1091
- dividerColor: string;
1092
- textColor: string;
1093
- boxShadow: string;
1094
- space: string;
1095
- spaceArrow: string;
1096
- arrowOffset: string;
1097
- arrowOffsetVertical: string;
1098
- arrowHeight: string;
1099
- padding: string;
1100
- }, {
1101
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1102
- height: string;
1103
- width: string;
1104
- borderRadius: string;
1105
- color: string;
1106
- colorHover: string;
1107
- railInsetHorizontalBottom: string;
1108
- railInsetHorizontalTop: string;
1109
- railInsetVerticalRight: string;
1110
- railInsetVerticalLeft: string;
1111
- railColor: string;
1112
- }, any>;
1113
- }>;
1114
- }>;
1115
- }>>;
1116
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1117
- toolbarIconColor: string;
1118
- toolbarColor: string;
1119
- toolbarBoxShadow: string;
1120
- toolbarBorderRadius: string;
1121
- }, {
1122
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1123
- borderRadius: string;
1124
- boxShadow: string;
1125
- color: string;
1126
- textColor: string;
1127
- padding: string;
1128
- }, {
1129
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1130
- fontSize: string;
1131
- borderRadius: string;
1132
- color: string;
1133
- dividerColor: string;
1134
- textColor: string;
1135
- boxShadow: string;
1136
- space: string;
1137
- spaceArrow: string;
1138
- arrowOffset: string;
1139
- arrowOffsetVertical: string;
1140
- arrowHeight: string;
1141
- padding: string;
1142
- }, {
1143
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1144
- height: string;
1145
- width: string;
1146
- borderRadius: string;
1147
- color: string;
1148
- colorHover: string;
1149
- railInsetHorizontalBottom: string;
1150
- railInsetHorizontalTop: string;
1151
- railInsetVerticalRight: string;
1152
- railInsetVerticalLeft: string;
1153
- railColor: string;
1154
- }, any>;
1155
- }>;
1156
- }>;
1157
- }>>>;
1158
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1159
- toolbarIconColor: string;
1160
- toolbarColor: string;
1161
- toolbarBoxShadow: string;
1162
- toolbarBorderRadius: string;
1163
- }, {
1164
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1165
- borderRadius: string;
1166
- boxShadow: string;
1167
- color: string;
1168
- textColor: string;
1169
- padding: string;
1170
- }, {
1171
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1172
- fontSize: string;
1173
- borderRadius: string;
1174
- color: string;
1175
- dividerColor: string;
1176
- textColor: string;
1177
- boxShadow: string;
1178
- space: string;
1179
- spaceArrow: string;
1180
- arrowOffset: string;
1181
- arrowOffsetVertical: string;
1182
- arrowHeight: string;
1183
- padding: string;
1184
- }, {
1185
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1186
- height: string;
1187
- width: string;
1188
- borderRadius: string;
1189
- color: string;
1190
- colorHover: string;
1191
- railInsetHorizontalBottom: string;
1192
- railInsetHorizontalTop: string;
1193
- railInsetVerticalRight: string;
1194
- railInsetVerticalLeft: string;
1195
- railColor: string;
1196
- }, any>;
1197
- }>;
1198
- }>;
1199
- }>>>;
1200
- alt: StringConstructor;
1201
- height: import('vue').PropType<string | number>;
1202
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1203
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1204
- lazy: BooleanConstructor;
1205
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1206
- objectFit: {
1207
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1208
- default: string;
1209
- };
1210
- previewSrc: StringConstructor;
1211
- fallbackSrc: StringConstructor;
1212
- width: import('vue').PropType<string | number>;
1213
- src: StringConstructor;
1214
- previewDisabled: BooleanConstructor;
1215
- loadDescription: StringConstructor;
1216
- onError: import('vue').PropType<(e: Event) => void>;
1217
- onLoad: import('vue').PropType<(e: Event) => void>;
1218
- }>> & Readonly<{}>, {
1219
- click: () => void;
1220
- showPreview: () => void;
1221
- mergedClsPrefix: import('vue').Ref<string, string>;
1222
- groupId: string | undefined;
1223
- previewInstRef: import('vue').Ref<{
1224
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1225
- } | null, import('naive-ui').ImagePreviewInst | {
1226
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1227
- } | null>;
1228
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1229
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1230
- showError: import('vue').Ref<boolean, boolean>;
1231
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
1232
- loaded: import('vue').Ref<boolean, boolean>;
1233
- mergedOnClick: (e: PointerEvent) => void;
1234
- onPreviewClose: () => void;
1235
- mergedOnError: (e: Event) => void;
1236
- mergedOnLoad: (e: Event) => void;
1237
- previewShow: import('vue').Ref<boolean, boolean>;
1238
- }, {}, {}, {}, {
1239
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1240
- lazy: boolean;
1241
- showToolbar: boolean;
1242
- showToolbarTooltip: boolean;
1243
- previewDisabled: boolean;
1244
- }> | null;
1245
- }> & {} & import('vue').ComponentCustomProperties & {} & {
1246
- $slots: Readonly<{
1247
- loading?(): any;
1248
- fail?(): any;
1249
- }> & {
1250
- loading?(): any;
1251
- fail?(): any;
1252
- };
1253
- }) | null;
1254
- };
1255
- rootEl: any;
1256
- };
1257
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1258
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1259
- click: () => any;
1260
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
1261
- onClick?: (() => any) | undefined;
1262
- }>, {
1263
- type: "default" | "big" | "small";
1264
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
1265
- container: HTMLDivElement;
1266
- cover: ({
1267
- $: import('vue').ComponentInternalInstance;
1268
- $data: {};
1269
- $props: {
1270
- readonly src?: uni.image.Image_ | undefined;
1271
- readonly alt?: string | undefined;
1272
- readonly previewable?: boolean | undefined;
1273
- readonly retryMax?: number | undefined;
1274
- readonly round?: boolean | undefined;
1275
- readonly fit?: "fill" | "none" | "contain" | "cover" | "scale-down" | undefined;
1276
- readonly class?: any;
1277
- readonly hideLoading?: boolean | undefined;
1278
- readonly hideError?: boolean | undefined;
1279
- readonly inline?: boolean | undefined;
1280
- readonly style?: StyleValue;
1281
- readonly imgProp?: import('vue').ImgHTMLAttributes | undefined;
1282
- readonly useList?: {
1283
- loaded: Set<string>;
1284
- error: Set<string>;
1285
- } | undefined;
1286
- readonly fetchpriority?: "high" | "low" | "auto" | undefined;
1287
- readonly fallback?: uni.image.Image_ | undefined;
1288
- readonly onLoad?: ((...args: any[]) => any) | undefined;
1289
- readonly onClick?: (() => any) | undefined;
1290
- readonly onError?: (() => any) | undefined;
1291
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
1292
- $attrs: {
1293
- [x: string]: unknown;
1294
- };
1295
- $refs: {
1296
- [x: string]: unknown;
1297
- } & {
1298
- img: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
1299
- onPreviewPrev: import('vue').PropType<() => void>;
1300
- onPreviewNext: import('vue').PropType<() => void>;
1301
- showToolbar: {
1302
- type: BooleanConstructor;
1303
- default: boolean;
1304
- };
1305
- showToolbarTooltip: BooleanConstructor;
1306
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1307
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
1308
- toolbarIconColor: string;
1309
- toolbarColor: string;
1310
- toolbarBoxShadow: string;
1311
- toolbarBorderRadius: string;
1312
- }, {
1313
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1314
- borderRadius: string;
1315
- boxShadow: string;
1316
- color: string;
1317
- textColor: string;
1318
- padding: string;
1319
- }, {
1320
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1321
- fontSize: string;
1322
- borderRadius: string;
1323
- color: string;
1324
- dividerColor: string;
1325
- textColor: string;
1326
- boxShadow: string;
1327
- space: string;
1328
- spaceArrow: string;
1329
- arrowOffset: string;
1330
- arrowOffsetVertical: string;
1331
- arrowHeight: string;
1332
- padding: string;
1333
- }, {
1334
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1335
- height: string;
1336
- width: string;
1337
- borderRadius: string;
1338
- color: string;
1339
- colorHover: string;
1340
- railInsetHorizontalBottom: string;
1341
- railInsetHorizontalTop: string;
1342
- railInsetVerticalRight: string;
1343
- railInsetVerticalLeft: string;
1344
- railColor: string;
1345
- }, any>;
1346
- }>;
1347
- }>;
1348
- }>>;
1349
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1350
- toolbarIconColor: string;
1351
- toolbarColor: string;
1352
- toolbarBoxShadow: string;
1353
- toolbarBorderRadius: string;
1354
- }, {
1355
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1356
- borderRadius: string;
1357
- boxShadow: string;
1358
- color: string;
1359
- textColor: string;
1360
- padding: string;
1361
- }, {
1362
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1363
- fontSize: string;
1364
- borderRadius: string;
1365
- color: string;
1366
- dividerColor: string;
1367
- textColor: string;
1368
- boxShadow: string;
1369
- space: string;
1370
- spaceArrow: string;
1371
- arrowOffset: string;
1372
- arrowOffsetVertical: string;
1373
- arrowHeight: string;
1374
- padding: string;
1375
- }, {
1376
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1377
- height: string;
1378
- width: string;
1379
- borderRadius: string;
1380
- color: string;
1381
- colorHover: string;
1382
- railInsetHorizontalBottom: string;
1383
- railInsetHorizontalTop: string;
1384
- railInsetVerticalRight: string;
1385
- railInsetVerticalLeft: string;
1386
- railColor: string;
1387
- }, any>;
1388
- }>;
1389
- }>;
1390
- }>>>;
1391
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1392
- toolbarIconColor: string;
1393
- toolbarColor: string;
1394
- toolbarBoxShadow: string;
1395
- toolbarBorderRadius: string;
1396
- }, {
1397
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1398
- borderRadius: string;
1399
- boxShadow: string;
1400
- color: string;
1401
- textColor: string;
1402
- padding: string;
1403
- }, {
1404
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1405
- fontSize: string;
1406
- borderRadius: string;
1407
- color: string;
1408
- dividerColor: string;
1409
- textColor: string;
1410
- boxShadow: string;
1411
- space: string;
1412
- spaceArrow: string;
1413
- arrowOffset: string;
1414
- arrowOffsetVertical: string;
1415
- arrowHeight: string;
1416
- padding: string;
1417
- }, {
1418
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1419
- height: string;
1420
- width: string;
1421
- borderRadius: string;
1422
- color: string;
1423
- colorHover: string;
1424
- railInsetHorizontalBottom: string;
1425
- railInsetHorizontalTop: string;
1426
- railInsetVerticalRight: string;
1427
- railInsetVerticalLeft: string;
1428
- railColor: string;
1429
- }, any>;
1430
- }>;
1431
- }>;
1432
- }>>>;
1433
- alt: StringConstructor;
1434
- height: import('vue').PropType<string | number>;
1435
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1436
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1437
- lazy: BooleanConstructor;
1438
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1439
- objectFit: {
1440
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1441
- default: string;
1442
- };
1443
- previewSrc: StringConstructor;
1444
- fallbackSrc: StringConstructor;
1445
- width: import('vue').PropType<string | number>;
1446
- src: StringConstructor;
1447
- previewDisabled: BooleanConstructor;
1448
- loadDescription: StringConstructor;
1449
- onError: import('vue').PropType<(e: Event) => void>;
1450
- onLoad: import('vue').PropType<(e: Event) => void>;
1451
- }>> & Readonly<{}>, {
1452
- click: () => void;
1453
- showPreview: () => void;
1454
- mergedClsPrefix: import('vue').Ref<string, string>;
1455
- groupId: string | undefined;
1456
- previewInstRef: import('vue').Ref<{
1457
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1458
- } | null, import('naive-ui').ImagePreviewInst | {
1459
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1460
- } | null>;
1461
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1462
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1463
- showError: import('vue').Ref<boolean, boolean>;
1464
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
1465
- loaded: import('vue').Ref<boolean, boolean>;
1466
- mergedOnClick: (e: PointerEvent) => void;
1467
- onPreviewClose: () => void;
1468
- mergedOnError: (e: Event) => void;
1469
- mergedOnLoad: (e: Event) => void;
1470
- previewShow: import('vue').Ref<boolean, boolean>;
1471
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1472
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1473
- lazy: boolean;
1474
- showToolbar: boolean;
1475
- showToolbarTooltip: boolean;
1476
- previewDisabled: boolean;
1477
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1478
- P: {};
1479
- B: {};
1480
- D: {};
1481
- C: {};
1482
- M: {};
1483
- Defaults: {};
1484
- }, Readonly<import('vue').ExtractPropTypes<{
1485
- onPreviewPrev: import('vue').PropType<() => void>;
1486
- onPreviewNext: import('vue').PropType<() => void>;
1487
- showToolbar: {
1488
- type: BooleanConstructor;
1489
- default: boolean;
1490
- };
1491
- showToolbarTooltip: BooleanConstructor;
1492
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1493
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
1494
- toolbarIconColor: string;
1495
- toolbarColor: string;
1496
- toolbarBoxShadow: string;
1497
- toolbarBorderRadius: string;
1498
- }, {
1499
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1500
- borderRadius: string;
1501
- boxShadow: string;
1502
- color: string;
1503
- textColor: string;
1504
- padding: string;
1505
- }, {
1506
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1507
- fontSize: string;
1508
- borderRadius: string;
1509
- color: string;
1510
- dividerColor: string;
1511
- textColor: string;
1512
- boxShadow: string;
1513
- space: string;
1514
- spaceArrow: string;
1515
- arrowOffset: string;
1516
- arrowOffsetVertical: string;
1517
- arrowHeight: string;
1518
- padding: string;
1519
- }, {
1520
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1521
- height: string;
1522
- width: string;
1523
- borderRadius: string;
1524
- color: string;
1525
- colorHover: string;
1526
- railInsetHorizontalBottom: string;
1527
- railInsetHorizontalTop: string;
1528
- railInsetVerticalRight: string;
1529
- railInsetVerticalLeft: string;
1530
- railColor: string;
1531
- }, any>;
1532
- }>;
1533
- }>;
1534
- }>>;
1535
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1536
- toolbarIconColor: string;
1537
- toolbarColor: string;
1538
- toolbarBoxShadow: string;
1539
- toolbarBorderRadius: string;
1540
- }, {
1541
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1542
- borderRadius: string;
1543
- boxShadow: string;
1544
- color: string;
1545
- textColor: string;
1546
- padding: string;
1547
- }, {
1548
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1549
- fontSize: string;
1550
- borderRadius: string;
1551
- color: string;
1552
- dividerColor: string;
1553
- textColor: string;
1554
- boxShadow: string;
1555
- space: string;
1556
- spaceArrow: string;
1557
- arrowOffset: string;
1558
- arrowOffsetVertical: string;
1559
- arrowHeight: string;
1560
- padding: string;
1561
- }, {
1562
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1563
- height: string;
1564
- width: string;
1565
- borderRadius: string;
1566
- color: string;
1567
- colorHover: string;
1568
- railInsetHorizontalBottom: string;
1569
- railInsetHorizontalTop: string;
1570
- railInsetVerticalRight: string;
1571
- railInsetVerticalLeft: string;
1572
- railColor: string;
1573
- }, any>;
1574
- }>;
1575
- }>;
1576
- }>>>;
1577
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1578
- toolbarIconColor: string;
1579
- toolbarColor: string;
1580
- toolbarBoxShadow: string;
1581
- toolbarBorderRadius: string;
1582
- }, {
1583
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1584
- borderRadius: string;
1585
- boxShadow: string;
1586
- color: string;
1587
- textColor: string;
1588
- padding: string;
1589
- }, {
1590
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1591
- fontSize: string;
1592
- borderRadius: string;
1593
- color: string;
1594
- dividerColor: string;
1595
- textColor: string;
1596
- boxShadow: string;
1597
- space: string;
1598
- spaceArrow: string;
1599
- arrowOffset: string;
1600
- arrowOffsetVertical: string;
1601
- arrowHeight: string;
1602
- padding: string;
1603
- }, {
1604
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1605
- height: string;
1606
- width: string;
1607
- borderRadius: string;
1608
- color: string;
1609
- colorHover: string;
1610
- railInsetHorizontalBottom: string;
1611
- railInsetHorizontalTop: string;
1612
- railInsetVerticalRight: string;
1613
- railInsetVerticalLeft: string;
1614
- railColor: string;
1615
- }, any>;
1616
- }>;
1617
- }>;
1618
- }>>>;
1619
- alt: StringConstructor;
1620
- height: import('vue').PropType<string | number>;
1621
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1622
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1623
- lazy: BooleanConstructor;
1624
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1625
- objectFit: {
1626
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1627
- default: string;
1628
- };
1629
- previewSrc: StringConstructor;
1630
- fallbackSrc: StringConstructor;
1631
- width: import('vue').PropType<string | number>;
1632
- src: StringConstructor;
1633
- previewDisabled: BooleanConstructor;
1634
- loadDescription: StringConstructor;
1635
- onError: import('vue').PropType<(e: Event) => void>;
1636
- onLoad: import('vue').PropType<(e: Event) => void>;
1637
- }>> & Readonly<{}>, {
1638
- click: () => void;
1639
- showPreview: () => void;
1640
- mergedClsPrefix: import('vue').Ref<string, string>;
1641
- groupId: string | undefined;
1642
- previewInstRef: import('vue').Ref<{
1643
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1644
- } | null, import('naive-ui').ImagePreviewInst | {
1645
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1646
- } | null>;
1647
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1648
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1649
- showError: import('vue').Ref<boolean, boolean>;
1650
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
1651
- loaded: import('vue').Ref<boolean, boolean>;
1652
- mergedOnClick: (e: PointerEvent) => void;
1653
- onPreviewClose: () => void;
1654
- mergedOnError: (e: Event) => void;
1655
- mergedOnLoad: (e: Event) => void;
1656
- previewShow: import('vue').Ref<boolean, boolean>;
1657
- }, {}, {}, {}, {
1658
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1659
- lazy: boolean;
1660
- showToolbar: boolean;
1661
- showToolbarTooltip: boolean;
1662
- previewDisabled: boolean;
1663
- }> | null;
1664
- };
1665
- $slots: Readonly<{
1666
- [name: string]: import('vue').Slot<any> | undefined;
1667
- }>;
1668
- $root: import('vue').ComponentPublicInstance | null;
1669
- $parent: import('vue').ComponentPublicInstance | null;
1670
- $host: Element | null;
1671
- $emit: ((event: "load", ...args: any[]) => void) & ((event: "click") => void) & ((event: "error") => void);
1672
- $el: any;
1673
- $options: import('vue').ComponentOptionsBase<Readonly<{
1674
- src?: uni.image.Image_;
1675
- alt?: string;
1676
- previewable?: boolean;
1677
- retryMax?: number;
1678
- round?: boolean;
1679
- fit?: import('naive-ui').ImageProps["objectFit"];
1680
- class?: any;
1681
- hideLoading?: boolean;
1682
- hideError?: boolean;
1683
- inline?: boolean;
1684
- style?: StyleValue;
1685
- imgProp?: import('vue').ImgHTMLAttributes;
1686
- useList?: {
1687
- loaded: Set<string>;
1688
- error: Set<string>;
1689
- };
1690
- fetchpriority?: "high" | "low" | "auto";
1691
- fallback?: uni.image.Image_;
1692
- }> & Readonly<{
1693
- onLoad?: ((...args: any[]) => any) | undefined;
1694
- onClick?: (() => any) | undefined;
1695
- onError?: (() => any) | undefined;
1696
- }>, {
1697
- isLoaded: import('vue').ComputedRef<boolean>;
1698
- imageEl: HTMLImageElement | null | undefined;
1699
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
1700
- onPreviewPrev: import('vue').PropType<() => void>;
1701
- onPreviewNext: import('vue').PropType<() => void>;
1702
- showToolbar: {
1703
- type: BooleanConstructor;
1704
- default: boolean;
1705
- };
1706
- showToolbarTooltip: BooleanConstructor;
1707
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1708
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
1709
- toolbarIconColor: string;
1710
- toolbarColor: string;
1711
- toolbarBoxShadow: string;
1712
- toolbarBorderRadius: string;
1713
- }, {
1714
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1715
- borderRadius: string;
1716
- boxShadow: string;
1717
- color: string;
1718
- textColor: string;
1719
- padding: string;
1720
- }, {
1721
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1722
- fontSize: string;
1723
- borderRadius: string;
1724
- color: string;
1725
- dividerColor: string;
1726
- textColor: string;
1727
- boxShadow: string;
1728
- space: string;
1729
- spaceArrow: string;
1730
- arrowOffset: string;
1731
- arrowOffsetVertical: string;
1732
- arrowHeight: string;
1733
- padding: string;
1734
- }, {
1735
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1736
- height: string;
1737
- width: string;
1738
- borderRadius: string;
1739
- color: string;
1740
- colorHover: string;
1741
- railInsetHorizontalBottom: string;
1742
- railInsetHorizontalTop: string;
1743
- railInsetVerticalRight: string;
1744
- railInsetVerticalLeft: string;
1745
- railColor: string;
1746
- }, any>;
1747
- }>;
1748
- }>;
1749
- }>>;
1750
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1751
- toolbarIconColor: string;
1752
- toolbarColor: string;
1753
- toolbarBoxShadow: string;
1754
- toolbarBorderRadius: string;
1755
- }, {
1756
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1757
- borderRadius: string;
1758
- boxShadow: string;
1759
- color: string;
1760
- textColor: string;
1761
- padding: string;
1762
- }, {
1763
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1764
- fontSize: string;
1765
- borderRadius: string;
1766
- color: string;
1767
- dividerColor: string;
1768
- textColor: string;
1769
- boxShadow: string;
1770
- space: string;
1771
- spaceArrow: string;
1772
- arrowOffset: string;
1773
- arrowOffsetVertical: string;
1774
- arrowHeight: string;
1775
- padding: string;
1776
- }, {
1777
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1778
- height: string;
1779
- width: string;
1780
- borderRadius: string;
1781
- color: string;
1782
- colorHover: string;
1783
- railInsetHorizontalBottom: string;
1784
- railInsetHorizontalTop: string;
1785
- railInsetVerticalRight: string;
1786
- railInsetVerticalLeft: string;
1787
- railColor: string;
1788
- }, any>;
1789
- }>;
1790
- }>;
1791
- }>>>;
1792
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1793
- toolbarIconColor: string;
1794
- toolbarColor: string;
1795
- toolbarBoxShadow: string;
1796
- toolbarBorderRadius: string;
1797
- }, {
1798
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1799
- borderRadius: string;
1800
- boxShadow: string;
1801
- color: string;
1802
- textColor: string;
1803
- padding: string;
1804
- }, {
1805
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1806
- fontSize: string;
1807
- borderRadius: string;
1808
- color: string;
1809
- dividerColor: string;
1810
- textColor: string;
1811
- boxShadow: string;
1812
- space: string;
1813
- spaceArrow: string;
1814
- arrowOffset: string;
1815
- arrowOffsetVertical: string;
1816
- arrowHeight: string;
1817
- padding: string;
1818
- }, {
1819
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1820
- height: string;
1821
- width: string;
1822
- borderRadius: string;
1823
- color: string;
1824
- colorHover: string;
1825
- railInsetHorizontalBottom: string;
1826
- railInsetHorizontalTop: string;
1827
- railInsetVerticalRight: string;
1828
- railInsetVerticalLeft: string;
1829
- railColor: string;
1830
- }, any>;
1831
- }>;
1832
- }>;
1833
- }>>>;
1834
- alt: StringConstructor;
1835
- height: import('vue').PropType<string | number>;
1836
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1837
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1838
- lazy: BooleanConstructor;
1839
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1840
- objectFit: {
1841
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1842
- default: string;
1843
- };
1844
- previewSrc: StringConstructor;
1845
- fallbackSrc: StringConstructor;
1846
- width: import('vue').PropType<string | number>;
1847
- src: StringConstructor;
1848
- previewDisabled: BooleanConstructor;
1849
- loadDescription: StringConstructor;
1850
- onError: import('vue').PropType<(e: Event) => void>;
1851
- onLoad: import('vue').PropType<(e: Event) => void>;
1852
- }>> & Readonly<{}>, {
1853
- click: () => void;
1854
- showPreview: () => void;
1855
- mergedClsPrefix: import('vue').Ref<string, string>;
1856
- groupId: string | undefined;
1857
- previewInstRef: import('vue').Ref<{
1858
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1859
- } | null, import('naive-ui').ImagePreviewInst | {
1860
- setThumbnailEl: (e: HTMLImageElement | null) => void;
1861
- } | null>;
1862
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1863
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1864
- showError: import('vue').Ref<boolean, boolean>;
1865
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
1866
- loaded: import('vue').Ref<boolean, boolean>;
1867
- mergedOnClick: (e: PointerEvent) => void;
1868
- onPreviewClose: () => void;
1869
- mergedOnError: (e: Event) => void;
1870
- mergedOnLoad: (e: Event) => void;
1871
- previewShow: import('vue').Ref<boolean, boolean>;
1872
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1873
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1874
- lazy: boolean;
1875
- showToolbar: boolean;
1876
- showToolbarTooltip: boolean;
1877
- previewDisabled: boolean;
1878
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1879
- P: {};
1880
- B: {};
1881
- D: {};
1882
- C: {};
1883
- M: {};
1884
- Defaults: {};
1885
- }, Readonly<import('vue').ExtractPropTypes<{
1886
- onPreviewPrev: import('vue').PropType<() => void>;
1887
- onPreviewNext: import('vue').PropType<() => void>;
1888
- showToolbar: {
1889
- type: BooleanConstructor;
1890
- default: boolean;
1891
- };
1892
- showToolbarTooltip: BooleanConstructor;
1893
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1894
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
1895
- toolbarIconColor: string;
1896
- toolbarColor: string;
1897
- toolbarBoxShadow: string;
1898
- toolbarBorderRadius: string;
1899
- }, {
1900
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1901
- borderRadius: string;
1902
- boxShadow: string;
1903
- color: string;
1904
- textColor: string;
1905
- padding: string;
1906
- }, {
1907
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1908
- fontSize: string;
1909
- borderRadius: string;
1910
- color: string;
1911
- dividerColor: string;
1912
- textColor: string;
1913
- boxShadow: string;
1914
- space: string;
1915
- spaceArrow: string;
1916
- arrowOffset: string;
1917
- arrowOffsetVertical: string;
1918
- arrowHeight: string;
1919
- padding: string;
1920
- }, {
1921
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1922
- height: string;
1923
- width: string;
1924
- borderRadius: string;
1925
- color: string;
1926
- colorHover: string;
1927
- railInsetHorizontalBottom: string;
1928
- railInsetHorizontalTop: string;
1929
- railInsetVerticalRight: string;
1930
- railInsetVerticalLeft: string;
1931
- railColor: string;
1932
- }, any>;
1933
- }>;
1934
- }>;
1935
- }>>;
1936
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1937
- toolbarIconColor: string;
1938
- toolbarColor: string;
1939
- toolbarBoxShadow: string;
1940
- toolbarBorderRadius: string;
1941
- }, {
1942
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1943
- borderRadius: string;
1944
- boxShadow: string;
1945
- color: string;
1946
- textColor: string;
1947
- padding: string;
1948
- }, {
1949
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1950
- fontSize: string;
1951
- borderRadius: string;
1952
- color: string;
1953
- dividerColor: string;
1954
- textColor: string;
1955
- boxShadow: string;
1956
- space: string;
1957
- spaceArrow: string;
1958
- arrowOffset: string;
1959
- arrowOffsetVertical: string;
1960
- arrowHeight: string;
1961
- padding: string;
1962
- }, {
1963
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1964
- height: string;
1965
- width: string;
1966
- borderRadius: string;
1967
- color: string;
1968
- colorHover: string;
1969
- railInsetHorizontalBottom: string;
1970
- railInsetHorizontalTop: string;
1971
- railInsetVerticalRight: string;
1972
- railInsetVerticalLeft: string;
1973
- railColor: string;
1974
- }, any>;
1975
- }>;
1976
- }>;
1977
- }>>>;
1978
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
1979
- toolbarIconColor: string;
1980
- toolbarColor: string;
1981
- toolbarBoxShadow: string;
1982
- toolbarBorderRadius: string;
1983
- }, {
1984
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
1985
- borderRadius: string;
1986
- boxShadow: string;
1987
- color: string;
1988
- textColor: string;
1989
- padding: string;
1990
- }, {
1991
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
1992
- fontSize: string;
1993
- borderRadius: string;
1994
- color: string;
1995
- dividerColor: string;
1996
- textColor: string;
1997
- boxShadow: string;
1998
- space: string;
1999
- spaceArrow: string;
2000
- arrowOffset: string;
2001
- arrowOffsetVertical: string;
2002
- arrowHeight: string;
2003
- padding: string;
2004
- }, {
2005
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2006
- height: string;
2007
- width: string;
2008
- borderRadius: string;
2009
- color: string;
2010
- colorHover: string;
2011
- railInsetHorizontalBottom: string;
2012
- railInsetHorizontalTop: string;
2013
- railInsetVerticalRight: string;
2014
- railInsetVerticalLeft: string;
2015
- railColor: string;
2016
- }, any>;
2017
- }>;
2018
- }>;
2019
- }>>>;
2020
- alt: StringConstructor;
2021
- height: import('vue').PropType<string | number>;
2022
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2023
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2024
- lazy: BooleanConstructor;
2025
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2026
- objectFit: {
2027
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2028
- default: string;
2029
- };
2030
- previewSrc: StringConstructor;
2031
- fallbackSrc: StringConstructor;
2032
- width: import('vue').PropType<string | number>;
2033
- src: StringConstructor;
2034
- previewDisabled: BooleanConstructor;
2035
- loadDescription: StringConstructor;
2036
- onError: import('vue').PropType<(e: Event) => void>;
2037
- onLoad: import('vue').PropType<(e: Event) => void>;
2038
- }>> & Readonly<{}>, {
2039
- click: () => void;
2040
- showPreview: () => void;
2041
- mergedClsPrefix: import('vue').Ref<string, string>;
2042
- groupId: string | undefined;
2043
- previewInstRef: import('vue').Ref<{
2044
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2045
- } | null, import('naive-ui').ImagePreviewInst | {
2046
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2047
- } | null>;
2048
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2049
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2050
- showError: import('vue').Ref<boolean, boolean>;
2051
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2052
- loaded: import('vue').Ref<boolean, boolean>;
2053
- mergedOnClick: (e: PointerEvent) => void;
2054
- onPreviewClose: () => void;
2055
- mergedOnError: (e: Event) => void;
2056
- mergedOnLoad: (e: Event) => void;
2057
- previewShow: import('vue').Ref<boolean, boolean>;
2058
- }, {}, {}, {}, {
2059
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2060
- lazy: boolean;
2061
- showToolbar: boolean;
2062
- showToolbarTooltip: boolean;
2063
- previewDisabled: boolean;
2064
- }> | null;
2065
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2066
- load: (...args: any[]) => any;
2067
- click: () => any;
2068
- error: () => any;
2069
- }, string, {
2070
- retryMax: number;
2071
- fetchpriority: "high" | "low" | "auto";
2072
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2073
- beforeCreate?: (() => void) | (() => void)[];
2074
- created?: (() => void) | (() => void)[];
2075
- beforeMount?: (() => void) | (() => void)[];
2076
- mounted?: (() => void) | (() => void)[];
2077
- beforeUpdate?: (() => void) | (() => void)[];
2078
- updated?: (() => void) | (() => void)[];
2079
- activated?: (() => void) | (() => void)[];
2080
- deactivated?: (() => void) | (() => void)[];
2081
- beforeDestroy?: (() => void) | (() => void)[];
2082
- beforeUnmount?: (() => void) | (() => void)[];
2083
- destroyed?: (() => void) | (() => void)[];
2084
- unmounted?: (() => void) | (() => void)[];
2085
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2086
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2087
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
2088
- };
2089
- $forceUpdate: () => void;
2090
- $nextTick: typeof import('vue').nextTick;
2091
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
2092
- } & Readonly<{
2093
- retryMax: number;
2094
- fetchpriority: "high" | "low" | "auto";
2095
- }> & Omit<Readonly<{
2096
- src?: uni.image.Image_;
2097
- alt?: string;
2098
- previewable?: boolean;
2099
- retryMax?: number;
2100
- round?: boolean;
2101
- fit?: import('naive-ui').ImageProps["objectFit"];
2102
- class?: any;
2103
- hideLoading?: boolean;
2104
- hideError?: boolean;
2105
- inline?: boolean;
2106
- style?: StyleValue;
2107
- imgProp?: import('vue').ImgHTMLAttributes;
2108
- useList?: {
2109
- loaded: Set<string>;
2110
- error: Set<string>;
2111
- };
2112
- fetchpriority?: "high" | "low" | "auto";
2113
- fallback?: uni.image.Image_;
2114
- }> & Readonly<{
2115
- onLoad?: ((...args: any[]) => any) | undefined;
2116
- onClick?: (() => any) | undefined;
2117
- onError?: (() => any) | undefined;
2118
- }>, ("retryMax" | "fetchpriority") | "isLoaded" | "imageEl" | "imageIns"> & import('vue').ShallowUnwrapRef<{
2119
- isLoaded: import('vue').ComputedRef<boolean>;
2120
- imageEl: HTMLImageElement | null | undefined;
2121
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
2122
- onPreviewPrev: import('vue').PropType<() => void>;
2123
- onPreviewNext: import('vue').PropType<() => void>;
2124
- showToolbar: {
2125
- type: BooleanConstructor;
2126
- default: boolean;
2127
- };
2128
- showToolbarTooltip: BooleanConstructor;
2129
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2130
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
2131
- toolbarIconColor: string;
2132
- toolbarColor: string;
2133
- toolbarBoxShadow: string;
2134
- toolbarBorderRadius: string;
2135
- }, {
2136
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
2137
- borderRadius: string;
2138
- boxShadow: string;
2139
- color: string;
2140
- textColor: string;
2141
- padding: string;
2142
- }, {
2143
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
2144
- fontSize: string;
2145
- borderRadius: string;
2146
- color: string;
2147
- dividerColor: string;
2148
- textColor: string;
2149
- boxShadow: string;
2150
- space: string;
2151
- spaceArrow: string;
2152
- arrowOffset: string;
2153
- arrowOffsetVertical: string;
2154
- arrowHeight: string;
2155
- padding: string;
2156
- }, {
2157
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2158
- height: string;
2159
- width: string;
2160
- borderRadius: string;
2161
- color: string;
2162
- colorHover: string;
2163
- railInsetHorizontalBottom: string;
2164
- railInsetHorizontalTop: string;
2165
- railInsetVerticalRight: string;
2166
- railInsetVerticalLeft: string;
2167
- railColor: string;
2168
- }, any>;
2169
- }>;
2170
- }>;
2171
- }>>;
2172
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
2173
- toolbarIconColor: string;
2174
- toolbarColor: string;
2175
- toolbarBoxShadow: string;
2176
- toolbarBorderRadius: string;
2177
- }, {
2178
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
2179
- borderRadius: string;
2180
- boxShadow: string;
2181
- color: string;
2182
- textColor: string;
2183
- padding: string;
2184
- }, {
2185
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
2186
- fontSize: string;
2187
- borderRadius: string;
2188
- color: string;
2189
- dividerColor: string;
2190
- textColor: string;
2191
- boxShadow: string;
2192
- space: string;
2193
- spaceArrow: string;
2194
- arrowOffset: string;
2195
- arrowOffsetVertical: string;
2196
- arrowHeight: string;
2197
- padding: string;
2198
- }, {
2199
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2200
- height: string;
2201
- width: string;
2202
- borderRadius: string;
2203
- color: string;
2204
- colorHover: string;
2205
- railInsetHorizontalBottom: string;
2206
- railInsetHorizontalTop: string;
2207
- railInsetVerticalRight: string;
2208
- railInsetVerticalLeft: string;
2209
- railColor: string;
2210
- }, any>;
2211
- }>;
2212
- }>;
2213
- }>>>;
2214
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
2215
- toolbarIconColor: string;
2216
- toolbarColor: string;
2217
- toolbarBoxShadow: string;
2218
- toolbarBorderRadius: string;
2219
- }, {
2220
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
2221
- borderRadius: string;
2222
- boxShadow: string;
2223
- color: string;
2224
- textColor: string;
2225
- padding: string;
2226
- }, {
2227
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
2228
- fontSize: string;
2229
- borderRadius: string;
2230
- color: string;
2231
- dividerColor: string;
2232
- textColor: string;
2233
- boxShadow: string;
2234
- space: string;
2235
- spaceArrow: string;
2236
- arrowOffset: string;
2237
- arrowOffsetVertical: string;
2238
- arrowHeight: string;
2239
- padding: string;
2240
- }, {
2241
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2242
- height: string;
2243
- width: string;
2244
- borderRadius: string;
2245
- color: string;
2246
- colorHover: string;
2247
- railInsetHorizontalBottom: string;
2248
- railInsetHorizontalTop: string;
2249
- railInsetVerticalRight: string;
2250
- railInsetVerticalLeft: string;
2251
- railColor: string;
2252
- }, any>;
2253
- }>;
2254
- }>;
2255
- }>>>;
2256
- alt: StringConstructor;
2257
- height: import('vue').PropType<string | number>;
2258
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2259
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2260
- lazy: BooleanConstructor;
2261
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2262
- objectFit: {
2263
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2264
- default: string;
2265
- };
2266
- previewSrc: StringConstructor;
2267
- fallbackSrc: StringConstructor;
2268
- width: import('vue').PropType<string | number>;
2269
- src: StringConstructor;
2270
- previewDisabled: BooleanConstructor;
2271
- loadDescription: StringConstructor;
2272
- onError: import('vue').PropType<(e: Event) => void>;
2273
- onLoad: import('vue').PropType<(e: Event) => void>;
2274
- }>> & Readonly<{}>, {
2275
- click: () => void;
2276
- showPreview: () => void;
2277
- mergedClsPrefix: import('vue').Ref<string, string>;
2278
- groupId: string | undefined;
2279
- previewInstRef: import('vue').Ref<{
2280
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2281
- } | null, import('naive-ui').ImagePreviewInst | {
2282
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2283
- } | null>;
2284
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2285
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2286
- showError: import('vue').Ref<boolean, boolean>;
2287
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2288
- loaded: import('vue').Ref<boolean, boolean>;
2289
- mergedOnClick: (e: PointerEvent) => void;
2290
- onPreviewClose: () => void;
2291
- mergedOnError: (e: Event) => void;
2292
- mergedOnLoad: (e: Event) => void;
2293
- previewShow: import('vue').Ref<boolean, boolean>;
2294
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2295
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2296
- lazy: boolean;
2297
- showToolbar: boolean;
2298
- showToolbarTooltip: boolean;
2299
- previewDisabled: boolean;
2300
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2301
- P: {};
2302
- B: {};
2303
- D: {};
2304
- C: {};
2305
- M: {};
2306
- Defaults: {};
2307
- }, Readonly<import('vue').ExtractPropTypes<{
2308
- onPreviewPrev: import('vue').PropType<() => void>;
2309
- onPreviewNext: import('vue').PropType<() => void>;
2310
- showToolbar: {
2311
- type: BooleanConstructor;
2312
- default: boolean;
2313
- };
2314
- showToolbarTooltip: BooleanConstructor;
2315
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2316
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Image", {
2317
- toolbarIconColor: string;
2318
- toolbarColor: string;
2319
- toolbarBoxShadow: string;
2320
- toolbarBorderRadius: string;
2321
- }, {
2322
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
2323
- borderRadius: string;
2324
- boxShadow: string;
2325
- color: string;
2326
- textColor: string;
2327
- padding: string;
2328
- }, {
2329
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
2330
- fontSize: string;
2331
- borderRadius: string;
2332
- color: string;
2333
- dividerColor: string;
2334
- textColor: string;
2335
- boxShadow: string;
2336
- space: string;
2337
- spaceArrow: string;
2338
- arrowOffset: string;
2339
- arrowOffsetVertical: string;
2340
- arrowHeight: string;
2341
- padding: string;
2342
- }, {
2343
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2344
- height: string;
2345
- width: string;
2346
- borderRadius: string;
2347
- color: string;
2348
- colorHover: string;
2349
- railInsetHorizontalBottom: string;
2350
- railInsetHorizontalTop: string;
2351
- railInsetVerticalRight: string;
2352
- railInsetVerticalLeft: string;
2353
- railColor: string;
2354
- }, any>;
2355
- }>;
2356
- }>;
2357
- }>>;
2358
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
2359
- toolbarIconColor: string;
2360
- toolbarColor: string;
2361
- toolbarBoxShadow: string;
2362
- toolbarBorderRadius: string;
2363
- }, {
2364
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
2365
- borderRadius: string;
2366
- boxShadow: string;
2367
- color: string;
2368
- textColor: string;
2369
- padding: string;
2370
- }, {
2371
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
2372
- fontSize: string;
2373
- borderRadius: string;
2374
- color: string;
2375
- dividerColor: string;
2376
- textColor: string;
2377
- boxShadow: string;
2378
- space: string;
2379
- spaceArrow: string;
2380
- arrowOffset: string;
2381
- arrowOffsetVertical: string;
2382
- arrowHeight: string;
2383
- padding: string;
2384
- }, {
2385
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2386
- height: string;
2387
- width: string;
2388
- borderRadius: string;
2389
- color: string;
2390
- colorHover: string;
2391
- railInsetHorizontalBottom: string;
2392
- railInsetHorizontalTop: string;
2393
- railInsetVerticalRight: string;
2394
- railInsetVerticalLeft: string;
2395
- railColor: string;
2396
- }, any>;
2397
- }>;
2398
- }>;
2399
- }>>>;
2400
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
2401
- toolbarIconColor: string;
2402
- toolbarColor: string;
2403
- toolbarBoxShadow: string;
2404
- toolbarBorderRadius: string;
2405
- }, {
2406
- Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
2407
- borderRadius: string;
2408
- boxShadow: string;
2409
- color: string;
2410
- textColor: string;
2411
- padding: string;
2412
- }, {
2413
- Popover: import('naive-ui/es/_mixins').Theme<"Popover", {
2414
- fontSize: string;
2415
- borderRadius: string;
2416
- color: string;
2417
- dividerColor: string;
2418
- textColor: string;
2419
- boxShadow: string;
2420
- space: string;
2421
- spaceArrow: string;
2422
- arrowOffset: string;
2423
- arrowOffsetVertical: string;
2424
- arrowHeight: string;
2425
- padding: string;
2426
- }, {
2427
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2428
- height: string;
2429
- width: string;
2430
- borderRadius: string;
2431
- color: string;
2432
- colorHover: string;
2433
- railInsetHorizontalBottom: string;
2434
- railInsetHorizontalTop: string;
2435
- railInsetVerticalRight: string;
2436
- railInsetVerticalLeft: string;
2437
- railColor: string;
2438
- }, any>;
2439
- }>;
2440
- }>;
2441
- }>>>;
2442
- alt: StringConstructor;
2443
- height: import('vue').PropType<string | number>;
2444
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2445
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2446
- lazy: BooleanConstructor;
2447
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2448
- objectFit: {
2449
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2450
- default: string;
2451
- };
2452
- previewSrc: StringConstructor;
2453
- fallbackSrc: StringConstructor;
2454
- width: import('vue').PropType<string | number>;
2455
- src: StringConstructor;
2456
- previewDisabled: BooleanConstructor;
2457
- loadDescription: StringConstructor;
2458
- onError: import('vue').PropType<(e: Event) => void>;
2459
- onLoad: import('vue').PropType<(e: Event) => void>;
2460
- }>> & Readonly<{}>, {
2461
- click: () => void;
2462
- showPreview: () => void;
2463
- mergedClsPrefix: import('vue').Ref<string, string>;
2464
- groupId: string | undefined;
2465
- previewInstRef: import('vue').Ref<{
2466
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2467
- } | null, import('naive-ui').ImagePreviewInst | {
2468
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2469
- } | null>;
2470
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2471
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2472
- showError: import('vue').Ref<boolean, boolean>;
2473
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2474
- loaded: import('vue').Ref<boolean, boolean>;
2475
- mergedOnClick: (e: PointerEvent) => void;
2476
- onPreviewClose: () => void;
2477
- mergedOnError: (e: Event) => void;
2478
- mergedOnLoad: (e: Event) => void;
2479
- previewShow: import('vue').Ref<boolean, boolean>;
2480
- }, {}, {}, {}, {
2481
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2482
- lazy: boolean;
2483
- showToolbar: boolean;
2484
- showToolbarTooltip: boolean;
2485
- previewDisabled: boolean;
2486
- }> | null;
2487
- }> & {} & import('vue').ComponentCustomProperties & {} & {
2488
- $slots: Readonly<{
2489
- loading?(): any;
2490
- fail?(): any;
2491
- }> & {
2492
- loading?(): any;
2493
- fail?(): any;
2494
- };
2495
- }) | null;
2496
- }, any>;
2497
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2498
- export default _default;
2499
- type __VLS_WithTemplateSlots<T, S> = T & {
2500
- new (): {
2501
- $slots: S;
2502
- };
2503
- };