delta-comic-core 0.0.1 → 0.0.3

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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export declare const Comp: {
2
2
  Await: <T extends PromiseLike<unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
3
+ attrs: any;
3
4
  slots: Readonly<{
4
5
  default(arg: {
5
6
  result: Awaited<T> | undefined;
@@ -11,12 +12,11 @@ export declare const Comp: {
11
12
  load: () => Promise<T>;
12
13
  }): any;
13
14
  };
14
- attrs: any;
15
15
  emit: {};
16
16
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
17
17
  props: {
18
18
  promise: () => T;
19
- autoLoad?: boolean;
19
+ autoLoad?: boolean | undefined;
20
20
  } & import('vue').PublicProps;
21
21
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
22
22
  attrs: any;
@@ -36,7 +36,7 @@ export declare const Comp: {
36
36
  __ctx?: Awaited<typeof __VLS_setup>;
37
37
  };
38
38
  Loading: {
39
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<import('vant').LoadingProps>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
39
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<import('vant').LoadingProps>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
40
40
  P: {};
41
41
  B: {};
42
42
  D: {};
@@ -53,6 +53,7 @@ export declare const Comp: {
53
53
  };
54
54
  });
55
55
  Content: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
56
+ attrs: any;
56
57
  slots: Readonly<{
57
58
  default(data: {
58
59
  data?: T;
@@ -62,16 +63,15 @@ export declare const Comp: {
62
63
  data?: T;
63
64
  }): any;
64
65
  };
65
- attrs: any;
66
66
  emit: ((evt: "retry") => void) & ((evt: "resetRetry") => void);
67
67
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
68
68
  props: {
69
- readonly onRetry?: () => any;
70
- readonly onResetRetry?: () => any;
71
- retriable?: boolean;
72
- hideError?: boolean;
73
- hideEmpty?: boolean;
74
- hideLoading?: boolean;
69
+ readonly onRetry?: (() => any) | undefined;
70
+ readonly onResetRetry?: (() => any) | undefined;
71
+ retriable?: boolean | undefined;
72
+ hideError?: boolean | undefined;
73
+ hideEmpty?: boolean | undefined;
74
+ hideLoading?: boolean | undefined;
75
75
  source: uData.PromiseContent<any, T[]> | uData.Stream<T> | T[] | T;
76
76
  class?: any;
77
77
  classError?: any;
@@ -83,7 +83,7 @@ export declare const Comp: {
83
83
  styleLoading?: import('vue').StyleValue;
84
84
  } & import('vue').PublicProps;
85
85
  expose(exposed: import('vue').ShallowUnwrapRef<{
86
- cont: Readonly<import('vue').ShallowRef<HTMLDivElement>>;
86
+ cont: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
87
87
  }>): void;
88
88
  attrs: any;
89
89
  slots: Readonly<{
@@ -114,7 +114,7 @@ export declare const Comp: {
114
114
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
115
115
  anchors: "high" | "low" | number[];
116
116
  lockScroll: boolean;
117
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
117
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
118
118
  P: {};
119
119
  B: {};
120
120
  D: {};
@@ -166,7 +166,7 @@ export declare const Comp: {
166
166
  });
167
167
  Image: {
168
168
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
169
- src?: import('./struct/image').Image_;
169
+ src?: import('./struct/image.ts').Image_;
170
170
  alt?: string;
171
171
  previewable?: boolean;
172
172
  retryMax?: number;
@@ -183,24 +183,754 @@ export declare const Comp: {
183
183
  error: Set<string>;
184
184
  };
185
185
  fetchpriority?: "high" | "low" | "auto";
186
- fallback?: import('./struct/image').Image_;
186
+ fallback?: import('./struct/image.ts').Image_;
187
187
  }> & Readonly<{
188
- onLoad?: (...args: any[]) => any;
189
- onClick?: () => any;
190
- onError?: () => any;
188
+ onLoad?: ((...args: any[]) => any) | undefined;
189
+ onClick?: (() => any) | undefined;
190
+ onError?: (() => any) | undefined;
191
191
  }>, {
192
192
  isLoaded: import('vue').ComputedRef<boolean>;
193
- imageEl: any;
194
- imageIns: unknown;
193
+ imageEl: HTMLImageElement | null | undefined;
194
+ imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
195
+ onPreviewPrev: import('vue').PropType<() => void>;
196
+ onPreviewNext: import('vue').PropType<() => void>;
197
+ showToolbar: {
198
+ type: BooleanConstructor;
199
+ default: boolean;
200
+ };
201
+ showToolbarTooltip: BooleanConstructor;
202
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
203
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
204
+ toolbarIconColor: string;
205
+ toolbarColor: string;
206
+ toolbarBoxShadow: string;
207
+ toolbarBorderRadius: string;
208
+ }, {
209
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
210
+ borderRadius: string;
211
+ boxShadow: string;
212
+ color: string;
213
+ textColor: string;
214
+ padding: string;
215
+ }, {
216
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
217
+ fontSize: string;
218
+ borderRadius: string;
219
+ color: string;
220
+ dividerColor: string;
221
+ textColor: string;
222
+ boxShadow: string;
223
+ space: string;
224
+ spaceArrow: string;
225
+ arrowOffset: string;
226
+ arrowOffsetVertical: string;
227
+ arrowHeight: string;
228
+ padding: string;
229
+ }, {
230
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
231
+ height: string;
232
+ width: string;
233
+ borderRadius: string;
234
+ color: string;
235
+ colorHover: string;
236
+ railInsetHorizontalBottom: string;
237
+ railInsetHorizontalTop: string;
238
+ railInsetVerticalRight: string;
239
+ railInsetVerticalLeft: string;
240
+ railColor: string;
241
+ }, any>;
242
+ }>;
243
+ }>;
244
+ }>>;
245
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
246
+ toolbarIconColor: string;
247
+ toolbarColor: string;
248
+ toolbarBoxShadow: string;
249
+ toolbarBorderRadius: string;
250
+ }, {
251
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
252
+ borderRadius: string;
253
+ boxShadow: string;
254
+ color: string;
255
+ textColor: string;
256
+ padding: string;
257
+ }, {
258
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
259
+ fontSize: string;
260
+ borderRadius: string;
261
+ color: string;
262
+ dividerColor: string;
263
+ textColor: string;
264
+ boxShadow: string;
265
+ space: string;
266
+ spaceArrow: string;
267
+ arrowOffset: string;
268
+ arrowOffsetVertical: string;
269
+ arrowHeight: string;
270
+ padding: string;
271
+ }, {
272
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
273
+ height: string;
274
+ width: string;
275
+ borderRadius: string;
276
+ color: string;
277
+ colorHover: string;
278
+ railInsetHorizontalBottom: string;
279
+ railInsetHorizontalTop: string;
280
+ railInsetVerticalRight: string;
281
+ railInsetVerticalLeft: string;
282
+ railColor: string;
283
+ }, any>;
284
+ }>;
285
+ }>;
286
+ }>>>;
287
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
288
+ toolbarIconColor: string;
289
+ toolbarColor: string;
290
+ toolbarBoxShadow: string;
291
+ toolbarBorderRadius: string;
292
+ }, {
293
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
294
+ borderRadius: string;
295
+ boxShadow: string;
296
+ color: string;
297
+ textColor: string;
298
+ padding: string;
299
+ }, {
300
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
301
+ fontSize: string;
302
+ borderRadius: string;
303
+ color: string;
304
+ dividerColor: string;
305
+ textColor: string;
306
+ boxShadow: string;
307
+ space: string;
308
+ spaceArrow: string;
309
+ arrowOffset: string;
310
+ arrowOffsetVertical: string;
311
+ arrowHeight: string;
312
+ padding: string;
313
+ }, {
314
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
315
+ height: string;
316
+ width: string;
317
+ borderRadius: string;
318
+ color: string;
319
+ colorHover: string;
320
+ railInsetHorizontalBottom: string;
321
+ railInsetHorizontalTop: string;
322
+ railInsetVerticalRight: string;
323
+ railInsetVerticalLeft: string;
324
+ railColor: string;
325
+ }, any>;
326
+ }>;
327
+ }>;
328
+ }>>>;
329
+ alt: StringConstructor;
330
+ height: import('vue').PropType<string | number>;
331
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
332
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
333
+ lazy: BooleanConstructor;
334
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
335
+ objectFit: {
336
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
337
+ default: string;
338
+ };
339
+ previewSrc: StringConstructor;
340
+ fallbackSrc: StringConstructor;
341
+ width: import('vue').PropType<string | number>;
342
+ src: StringConstructor;
343
+ previewDisabled: BooleanConstructor;
344
+ loadDescription: StringConstructor;
345
+ onError: import('vue').PropType<(e: Event) => void>;
346
+ onLoad: import('vue').PropType<(e: Event) => void>;
347
+ }>> & Readonly<{}>, {
348
+ click: () => void;
349
+ showPreview: () => void;
350
+ mergedClsPrefix: import('vue').Ref<string, string>;
351
+ groupId: string | undefined;
352
+ previewInstRef: import('vue').Ref<{
353
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
354
+ } | null, import('naive-ui').ImagePreviewInst | {
355
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
356
+ } | null>;
357
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
358
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
359
+ showError: import('vue').Ref<boolean, boolean>;
360
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
361
+ loaded: import('vue').Ref<boolean, boolean>;
362
+ mergedOnClick: (e: PointerEvent) => void;
363
+ onPreviewClose: () => void;
364
+ mergedOnError: (e: Event) => void;
365
+ mergedOnLoad: (e: Event) => void;
366
+ previewShow: import('vue').Ref<boolean, boolean>;
367
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
368
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
369
+ lazy: boolean;
370
+ showToolbar: boolean;
371
+ showToolbarTooltip: boolean;
372
+ previewDisabled: boolean;
373
+ }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
374
+ P: {};
375
+ B: {};
376
+ D: {};
377
+ C: {};
378
+ M: {};
379
+ Defaults: {};
380
+ }, Readonly<import('vue').ExtractPropTypes<{
381
+ onPreviewPrev: import('vue').PropType<() => void>;
382
+ onPreviewNext: import('vue').PropType<() => void>;
383
+ showToolbar: {
384
+ type: BooleanConstructor;
385
+ default: boolean;
386
+ };
387
+ showToolbarTooltip: BooleanConstructor;
388
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
389
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
390
+ toolbarIconColor: string;
391
+ toolbarColor: string;
392
+ toolbarBoxShadow: string;
393
+ toolbarBorderRadius: string;
394
+ }, {
395
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
396
+ borderRadius: string;
397
+ boxShadow: string;
398
+ color: string;
399
+ textColor: string;
400
+ padding: string;
401
+ }, {
402
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
403
+ fontSize: string;
404
+ borderRadius: string;
405
+ color: string;
406
+ dividerColor: string;
407
+ textColor: string;
408
+ boxShadow: string;
409
+ space: string;
410
+ spaceArrow: string;
411
+ arrowOffset: string;
412
+ arrowOffsetVertical: string;
413
+ arrowHeight: string;
414
+ padding: string;
415
+ }, {
416
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
417
+ height: string;
418
+ width: string;
419
+ borderRadius: string;
420
+ color: string;
421
+ colorHover: string;
422
+ railInsetHorizontalBottom: string;
423
+ railInsetHorizontalTop: string;
424
+ railInsetVerticalRight: string;
425
+ railInsetVerticalLeft: string;
426
+ railColor: string;
427
+ }, any>;
428
+ }>;
429
+ }>;
430
+ }>>;
431
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
432
+ toolbarIconColor: string;
433
+ toolbarColor: string;
434
+ toolbarBoxShadow: string;
435
+ toolbarBorderRadius: string;
436
+ }, {
437
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
438
+ borderRadius: string;
439
+ boxShadow: string;
440
+ color: string;
441
+ textColor: string;
442
+ padding: string;
443
+ }, {
444
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
445
+ fontSize: string;
446
+ borderRadius: string;
447
+ color: string;
448
+ dividerColor: string;
449
+ textColor: string;
450
+ boxShadow: string;
451
+ space: string;
452
+ spaceArrow: string;
453
+ arrowOffset: string;
454
+ arrowOffsetVertical: string;
455
+ arrowHeight: string;
456
+ padding: string;
457
+ }, {
458
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
459
+ height: string;
460
+ width: string;
461
+ borderRadius: string;
462
+ color: string;
463
+ colorHover: string;
464
+ railInsetHorizontalBottom: string;
465
+ railInsetHorizontalTop: string;
466
+ railInsetVerticalRight: string;
467
+ railInsetVerticalLeft: string;
468
+ railColor: string;
469
+ }, any>;
470
+ }>;
471
+ }>;
472
+ }>>>;
473
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
474
+ toolbarIconColor: string;
475
+ toolbarColor: string;
476
+ toolbarBoxShadow: string;
477
+ toolbarBorderRadius: string;
478
+ }, {
479
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
480
+ borderRadius: string;
481
+ boxShadow: string;
482
+ color: string;
483
+ textColor: string;
484
+ padding: string;
485
+ }, {
486
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
487
+ fontSize: string;
488
+ borderRadius: string;
489
+ color: string;
490
+ dividerColor: string;
491
+ textColor: string;
492
+ boxShadow: string;
493
+ space: string;
494
+ spaceArrow: string;
495
+ arrowOffset: string;
496
+ arrowOffsetVertical: string;
497
+ arrowHeight: string;
498
+ padding: string;
499
+ }, {
500
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
501
+ height: string;
502
+ width: string;
503
+ borderRadius: string;
504
+ color: string;
505
+ colorHover: string;
506
+ railInsetHorizontalBottom: string;
507
+ railInsetHorizontalTop: string;
508
+ railInsetVerticalRight: string;
509
+ railInsetVerticalLeft: string;
510
+ railColor: string;
511
+ }, any>;
512
+ }>;
513
+ }>;
514
+ }>>>;
515
+ alt: StringConstructor;
516
+ height: import('vue').PropType<string | number>;
517
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
518
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
519
+ lazy: BooleanConstructor;
520
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
521
+ objectFit: {
522
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
523
+ default: string;
524
+ };
525
+ previewSrc: StringConstructor;
526
+ fallbackSrc: StringConstructor;
527
+ width: import('vue').PropType<string | number>;
528
+ src: StringConstructor;
529
+ previewDisabled: BooleanConstructor;
530
+ loadDescription: StringConstructor;
531
+ onError: import('vue').PropType<(e: Event) => void>;
532
+ onLoad: import('vue').PropType<(e: Event) => void>;
533
+ }>> & Readonly<{}>, {
534
+ click: () => void;
535
+ showPreview: () => void;
536
+ mergedClsPrefix: import('vue').Ref<string, string>;
537
+ groupId: string | undefined;
538
+ previewInstRef: import('vue').Ref<{
539
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
540
+ } | null, import('naive-ui').ImagePreviewInst | {
541
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
542
+ } | null>;
543
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
544
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
545
+ showError: import('vue').Ref<boolean, boolean>;
546
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
547
+ loaded: import('vue').Ref<boolean, boolean>;
548
+ mergedOnClick: (e: PointerEvent) => void;
549
+ onPreviewClose: () => void;
550
+ mergedOnError: (e: Event) => void;
551
+ mergedOnLoad: (e: Event) => void;
552
+ previewShow: import('vue').Ref<boolean, boolean>;
553
+ }, {}, {}, {}, {
554
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
555
+ lazy: boolean;
556
+ showToolbar: boolean;
557
+ showToolbarTooltip: boolean;
558
+ previewDisabled: boolean;
559
+ }> | null;
195
560
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
196
561
  load: (...args: any[]) => any;
197
562
  click: () => any;
198
563
  error: () => any;
199
564
  }, import('vue').PublicProps, {
200
- fetchpriority: "high" | "low" | "auto";
201
565
  retryMax: number;
202
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
203
- img: unknown;
566
+ fetchpriority: "high" | "low" | "auto";
567
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
568
+ img: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
569
+ onPreviewPrev: import('vue').PropType<() => void>;
570
+ onPreviewNext: import('vue').PropType<() => void>;
571
+ showToolbar: {
572
+ type: BooleanConstructor;
573
+ default: boolean;
574
+ };
575
+ showToolbarTooltip: BooleanConstructor;
576
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
577
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
578
+ toolbarIconColor: string;
579
+ toolbarColor: string;
580
+ toolbarBoxShadow: string;
581
+ toolbarBorderRadius: string;
582
+ }, {
583
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
584
+ borderRadius: string;
585
+ boxShadow: string;
586
+ color: string;
587
+ textColor: string;
588
+ padding: string;
589
+ }, {
590
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
591
+ fontSize: string;
592
+ borderRadius: string;
593
+ color: string;
594
+ dividerColor: string;
595
+ textColor: string;
596
+ boxShadow: string;
597
+ space: string;
598
+ spaceArrow: string;
599
+ arrowOffset: string;
600
+ arrowOffsetVertical: string;
601
+ arrowHeight: string;
602
+ padding: string;
603
+ }, {
604
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
605
+ height: string;
606
+ width: string;
607
+ borderRadius: string;
608
+ color: string;
609
+ colorHover: string;
610
+ railInsetHorizontalBottom: string;
611
+ railInsetHorizontalTop: string;
612
+ railInsetVerticalRight: string;
613
+ railInsetVerticalLeft: string;
614
+ railColor: string;
615
+ }, any>;
616
+ }>;
617
+ }>;
618
+ }>>;
619
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
620
+ toolbarIconColor: string;
621
+ toolbarColor: string;
622
+ toolbarBoxShadow: string;
623
+ toolbarBorderRadius: string;
624
+ }, {
625
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
626
+ borderRadius: string;
627
+ boxShadow: string;
628
+ color: string;
629
+ textColor: string;
630
+ padding: string;
631
+ }, {
632
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
633
+ fontSize: string;
634
+ borderRadius: string;
635
+ color: string;
636
+ dividerColor: string;
637
+ textColor: string;
638
+ boxShadow: string;
639
+ space: string;
640
+ spaceArrow: string;
641
+ arrowOffset: string;
642
+ arrowOffsetVertical: string;
643
+ arrowHeight: string;
644
+ padding: string;
645
+ }, {
646
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
647
+ height: string;
648
+ width: string;
649
+ borderRadius: string;
650
+ color: string;
651
+ colorHover: string;
652
+ railInsetHorizontalBottom: string;
653
+ railInsetHorizontalTop: string;
654
+ railInsetVerticalRight: string;
655
+ railInsetVerticalLeft: string;
656
+ railColor: string;
657
+ }, any>;
658
+ }>;
659
+ }>;
660
+ }>>>;
661
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
662
+ toolbarIconColor: string;
663
+ toolbarColor: string;
664
+ toolbarBoxShadow: string;
665
+ toolbarBorderRadius: string;
666
+ }, {
667
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
668
+ borderRadius: string;
669
+ boxShadow: string;
670
+ color: string;
671
+ textColor: string;
672
+ padding: string;
673
+ }, {
674
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
675
+ fontSize: string;
676
+ borderRadius: string;
677
+ color: string;
678
+ dividerColor: string;
679
+ textColor: string;
680
+ boxShadow: string;
681
+ space: string;
682
+ spaceArrow: string;
683
+ arrowOffset: string;
684
+ arrowOffsetVertical: string;
685
+ arrowHeight: string;
686
+ padding: string;
687
+ }, {
688
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
689
+ height: string;
690
+ width: string;
691
+ borderRadius: string;
692
+ color: string;
693
+ colorHover: string;
694
+ railInsetHorizontalBottom: string;
695
+ railInsetHorizontalTop: string;
696
+ railInsetVerticalRight: string;
697
+ railInsetVerticalLeft: string;
698
+ railColor: string;
699
+ }, any>;
700
+ }>;
701
+ }>;
702
+ }>>>;
703
+ alt: StringConstructor;
704
+ height: import('vue').PropType<string | number>;
705
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
706
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
707
+ lazy: BooleanConstructor;
708
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
709
+ objectFit: {
710
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
711
+ default: string;
712
+ };
713
+ previewSrc: StringConstructor;
714
+ fallbackSrc: StringConstructor;
715
+ width: import('vue').PropType<string | number>;
716
+ src: StringConstructor;
717
+ previewDisabled: BooleanConstructor;
718
+ loadDescription: StringConstructor;
719
+ onError: import('vue').PropType<(e: Event) => void>;
720
+ onLoad: import('vue').PropType<(e: Event) => void>;
721
+ }>> & Readonly<{}>, {
722
+ click: () => void;
723
+ showPreview: () => void;
724
+ mergedClsPrefix: import('vue').Ref<string, string>;
725
+ groupId: string | undefined;
726
+ previewInstRef: import('vue').Ref<{
727
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
728
+ } | null, import('naive-ui').ImagePreviewInst | {
729
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
730
+ } | null>;
731
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
732
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
733
+ showError: import('vue').Ref<boolean, boolean>;
734
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
735
+ loaded: import('vue').Ref<boolean, boolean>;
736
+ mergedOnClick: (e: PointerEvent) => void;
737
+ onPreviewClose: () => void;
738
+ mergedOnError: (e: Event) => void;
739
+ mergedOnLoad: (e: Event) => void;
740
+ previewShow: import('vue').Ref<boolean, boolean>;
741
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
742
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
743
+ lazy: boolean;
744
+ showToolbar: boolean;
745
+ showToolbarTooltip: boolean;
746
+ previewDisabled: boolean;
747
+ }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
748
+ P: {};
749
+ B: {};
750
+ D: {};
751
+ C: {};
752
+ M: {};
753
+ Defaults: {};
754
+ }, Readonly<import('vue').ExtractPropTypes<{
755
+ onPreviewPrev: import('vue').PropType<() => void>;
756
+ onPreviewNext: import('vue').PropType<() => void>;
757
+ showToolbar: {
758
+ type: BooleanConstructor;
759
+ default: boolean;
760
+ };
761
+ showToolbarTooltip: BooleanConstructor;
762
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
763
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
764
+ toolbarIconColor: string;
765
+ toolbarColor: string;
766
+ toolbarBoxShadow: string;
767
+ toolbarBorderRadius: string;
768
+ }, {
769
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
770
+ borderRadius: string;
771
+ boxShadow: string;
772
+ color: string;
773
+ textColor: string;
774
+ padding: string;
775
+ }, {
776
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
777
+ fontSize: string;
778
+ borderRadius: string;
779
+ color: string;
780
+ dividerColor: string;
781
+ textColor: string;
782
+ boxShadow: string;
783
+ space: string;
784
+ spaceArrow: string;
785
+ arrowOffset: string;
786
+ arrowOffsetVertical: string;
787
+ arrowHeight: string;
788
+ padding: string;
789
+ }, {
790
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
791
+ height: string;
792
+ width: string;
793
+ borderRadius: string;
794
+ color: string;
795
+ colorHover: string;
796
+ railInsetHorizontalBottom: string;
797
+ railInsetHorizontalTop: string;
798
+ railInsetVerticalRight: string;
799
+ railInsetVerticalLeft: string;
800
+ railColor: string;
801
+ }, any>;
802
+ }>;
803
+ }>;
804
+ }>>;
805
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
806
+ toolbarIconColor: string;
807
+ toolbarColor: string;
808
+ toolbarBoxShadow: string;
809
+ toolbarBorderRadius: string;
810
+ }, {
811
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
812
+ borderRadius: string;
813
+ boxShadow: string;
814
+ color: string;
815
+ textColor: string;
816
+ padding: string;
817
+ }, {
818
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
819
+ fontSize: string;
820
+ borderRadius: string;
821
+ color: string;
822
+ dividerColor: string;
823
+ textColor: string;
824
+ boxShadow: string;
825
+ space: string;
826
+ spaceArrow: string;
827
+ arrowOffset: string;
828
+ arrowOffsetVertical: string;
829
+ arrowHeight: string;
830
+ padding: string;
831
+ }, {
832
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
833
+ height: string;
834
+ width: string;
835
+ borderRadius: string;
836
+ color: string;
837
+ colorHover: string;
838
+ railInsetHorizontalBottom: string;
839
+ railInsetHorizontalTop: string;
840
+ railInsetVerticalRight: string;
841
+ railInsetVerticalLeft: string;
842
+ railColor: string;
843
+ }, any>;
844
+ }>;
845
+ }>;
846
+ }>>>;
847
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
848
+ toolbarIconColor: string;
849
+ toolbarColor: string;
850
+ toolbarBoxShadow: string;
851
+ toolbarBorderRadius: string;
852
+ }, {
853
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
854
+ borderRadius: string;
855
+ boxShadow: string;
856
+ color: string;
857
+ textColor: string;
858
+ padding: string;
859
+ }, {
860
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
861
+ fontSize: string;
862
+ borderRadius: string;
863
+ color: string;
864
+ dividerColor: string;
865
+ textColor: string;
866
+ boxShadow: string;
867
+ space: string;
868
+ spaceArrow: string;
869
+ arrowOffset: string;
870
+ arrowOffsetVertical: string;
871
+ arrowHeight: string;
872
+ padding: string;
873
+ }, {
874
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
875
+ height: string;
876
+ width: string;
877
+ borderRadius: string;
878
+ color: string;
879
+ colorHover: string;
880
+ railInsetHorizontalBottom: string;
881
+ railInsetHorizontalTop: string;
882
+ railInsetVerticalRight: string;
883
+ railInsetVerticalLeft: string;
884
+ railColor: string;
885
+ }, any>;
886
+ }>;
887
+ }>;
888
+ }>>>;
889
+ alt: StringConstructor;
890
+ height: import('vue').PropType<string | number>;
891
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
892
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
893
+ lazy: BooleanConstructor;
894
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
895
+ objectFit: {
896
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
897
+ default: string;
898
+ };
899
+ previewSrc: StringConstructor;
900
+ fallbackSrc: StringConstructor;
901
+ width: import('vue').PropType<string | number>;
902
+ src: StringConstructor;
903
+ previewDisabled: BooleanConstructor;
904
+ loadDescription: StringConstructor;
905
+ onError: import('vue').PropType<(e: Event) => void>;
906
+ onLoad: import('vue').PropType<(e: Event) => void>;
907
+ }>> & Readonly<{}>, {
908
+ click: () => void;
909
+ showPreview: () => void;
910
+ mergedClsPrefix: import('vue').Ref<string, string>;
911
+ groupId: string | undefined;
912
+ previewInstRef: import('vue').Ref<{
913
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
914
+ } | null, import('naive-ui').ImagePreviewInst | {
915
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
916
+ } | null>;
917
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
918
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
919
+ showError: import('vue').Ref<boolean, boolean>;
920
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
921
+ loaded: import('vue').Ref<boolean, boolean>;
922
+ mergedOnClick: (e: PointerEvent) => void;
923
+ onPreviewClose: () => void;
924
+ mergedOnError: (e: Event) => void;
925
+ mergedOnLoad: (e: Event) => void;
926
+ previewShow: import('vue').Ref<boolean, boolean>;
927
+ }, {}, {}, {}, {
928
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
929
+ lazy: boolean;
930
+ showToolbar: boolean;
931
+ showToolbarTooltip: boolean;
932
+ previewDisabled: boolean;
933
+ }> | null;
204
934
  }, any, import('vue').ComponentProvideOptions, {
205
935
  P: {};
206
936
  B: {};
@@ -209,7 +939,7 @@ export declare const Comp: {
209
939
  M: {};
210
940
  Defaults: {};
211
941
  }, Readonly<{
212
- src?: import('./struct/image').Image_;
942
+ src?: import('./struct/image.ts').Image_;
213
943
  alt?: string;
214
944
  previewable?: boolean;
215
945
  retryMax?: number;
@@ -226,24 +956,389 @@ export declare const Comp: {
226
956
  error: Set<string>;
227
957
  };
228
958
  fetchpriority?: "high" | "low" | "auto";
229
- fallback?: import('./struct/image').Image_;
959
+ fallback?: import('./struct/image.ts').Image_;
230
960
  }> & Readonly<{
231
- onLoad?: (...args: any[]) => any;
232
- onClick?: () => any;
233
- onError?: () => any;
961
+ onLoad?: ((...args: any[]) => any) | undefined;
962
+ onClick?: (() => any) | undefined;
963
+ onError?: (() => any) | undefined;
234
964
  }>, {
235
965
  isLoaded: import('vue').ComputedRef<boolean>;
236
- imageEl: any;
237
- imageIns: unknown;
966
+ imageEl: HTMLImageElement | null | undefined;
967
+ imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
968
+ onPreviewPrev: import('vue').PropType<() => void>;
969
+ onPreviewNext: import('vue').PropType<() => void>;
970
+ showToolbar: {
971
+ type: BooleanConstructor;
972
+ default: boolean;
973
+ };
974
+ showToolbarTooltip: BooleanConstructor;
975
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
976
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
977
+ toolbarIconColor: string;
978
+ toolbarColor: string;
979
+ toolbarBoxShadow: string;
980
+ toolbarBorderRadius: string;
981
+ }, {
982
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
983
+ borderRadius: string;
984
+ boxShadow: string;
985
+ color: string;
986
+ textColor: string;
987
+ padding: string;
988
+ }, {
989
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
990
+ fontSize: string;
991
+ borderRadius: string;
992
+ color: string;
993
+ dividerColor: string;
994
+ textColor: string;
995
+ boxShadow: string;
996
+ space: string;
997
+ spaceArrow: string;
998
+ arrowOffset: string;
999
+ arrowOffsetVertical: string;
1000
+ arrowHeight: string;
1001
+ padding: string;
1002
+ }, {
1003
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1004
+ height: string;
1005
+ width: string;
1006
+ borderRadius: string;
1007
+ color: string;
1008
+ colorHover: string;
1009
+ railInsetHorizontalBottom: string;
1010
+ railInsetHorizontalTop: string;
1011
+ railInsetVerticalRight: string;
1012
+ railInsetVerticalLeft: string;
1013
+ railColor: string;
1014
+ }, any>;
1015
+ }>;
1016
+ }>;
1017
+ }>>;
1018
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1019
+ toolbarIconColor: string;
1020
+ toolbarColor: string;
1021
+ toolbarBoxShadow: string;
1022
+ toolbarBorderRadius: string;
1023
+ }, {
1024
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1025
+ borderRadius: string;
1026
+ boxShadow: string;
1027
+ color: string;
1028
+ textColor: string;
1029
+ padding: string;
1030
+ }, {
1031
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1032
+ fontSize: string;
1033
+ borderRadius: string;
1034
+ color: string;
1035
+ dividerColor: string;
1036
+ textColor: string;
1037
+ boxShadow: string;
1038
+ space: string;
1039
+ spaceArrow: string;
1040
+ arrowOffset: string;
1041
+ arrowOffsetVertical: string;
1042
+ arrowHeight: string;
1043
+ padding: string;
1044
+ }, {
1045
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1046
+ height: string;
1047
+ width: string;
1048
+ borderRadius: string;
1049
+ color: string;
1050
+ colorHover: string;
1051
+ railInsetHorizontalBottom: string;
1052
+ railInsetHorizontalTop: string;
1053
+ railInsetVerticalRight: string;
1054
+ railInsetVerticalLeft: string;
1055
+ railColor: string;
1056
+ }, any>;
1057
+ }>;
1058
+ }>;
1059
+ }>>>;
1060
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1061
+ toolbarIconColor: string;
1062
+ toolbarColor: string;
1063
+ toolbarBoxShadow: string;
1064
+ toolbarBorderRadius: string;
1065
+ }, {
1066
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1067
+ borderRadius: string;
1068
+ boxShadow: string;
1069
+ color: string;
1070
+ textColor: string;
1071
+ padding: string;
1072
+ }, {
1073
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1074
+ fontSize: string;
1075
+ borderRadius: string;
1076
+ color: string;
1077
+ dividerColor: string;
1078
+ textColor: string;
1079
+ boxShadow: string;
1080
+ space: string;
1081
+ spaceArrow: string;
1082
+ arrowOffset: string;
1083
+ arrowOffsetVertical: string;
1084
+ arrowHeight: string;
1085
+ padding: string;
1086
+ }, {
1087
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1088
+ height: string;
1089
+ width: string;
1090
+ borderRadius: string;
1091
+ color: string;
1092
+ colorHover: string;
1093
+ railInsetHorizontalBottom: string;
1094
+ railInsetHorizontalTop: string;
1095
+ railInsetVerticalRight: string;
1096
+ railInsetVerticalLeft: string;
1097
+ railColor: string;
1098
+ }, any>;
1099
+ }>;
1100
+ }>;
1101
+ }>>>;
1102
+ alt: StringConstructor;
1103
+ height: import('vue').PropType<string | number>;
1104
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1105
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1106
+ lazy: BooleanConstructor;
1107
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1108
+ objectFit: {
1109
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1110
+ default: string;
1111
+ };
1112
+ previewSrc: StringConstructor;
1113
+ fallbackSrc: StringConstructor;
1114
+ width: import('vue').PropType<string | number>;
1115
+ src: StringConstructor;
1116
+ previewDisabled: BooleanConstructor;
1117
+ loadDescription: StringConstructor;
1118
+ onError: import('vue').PropType<(e: Event) => void>;
1119
+ onLoad: import('vue').PropType<(e: Event) => void>;
1120
+ }>> & Readonly<{}>, {
1121
+ click: () => void;
1122
+ showPreview: () => void;
1123
+ mergedClsPrefix: import('vue').Ref<string, string>;
1124
+ groupId: string | undefined;
1125
+ previewInstRef: import('vue').Ref<{
1126
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
1127
+ } | null, import('naive-ui').ImagePreviewInst | {
1128
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
1129
+ } | null>;
1130
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1131
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1132
+ showError: import('vue').Ref<boolean, boolean>;
1133
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
1134
+ loaded: import('vue').Ref<boolean, boolean>;
1135
+ mergedOnClick: (e: PointerEvent) => void;
1136
+ onPreviewClose: () => void;
1137
+ mergedOnError: (e: Event) => void;
1138
+ mergedOnLoad: (e: Event) => void;
1139
+ previewShow: import('vue').Ref<boolean, boolean>;
1140
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1141
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1142
+ lazy: boolean;
1143
+ showToolbar: boolean;
1144
+ showToolbarTooltip: boolean;
1145
+ previewDisabled: boolean;
1146
+ }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1147
+ P: {};
1148
+ B: {};
1149
+ D: {};
1150
+ C: {};
1151
+ M: {};
1152
+ Defaults: {};
1153
+ }, Readonly<import('vue').ExtractPropTypes<{
1154
+ onPreviewPrev: import('vue').PropType<() => void>;
1155
+ onPreviewNext: import('vue').PropType<() => void>;
1156
+ showToolbar: {
1157
+ type: BooleanConstructor;
1158
+ default: boolean;
1159
+ };
1160
+ showToolbarTooltip: BooleanConstructor;
1161
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1162
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1163
+ toolbarIconColor: string;
1164
+ toolbarColor: string;
1165
+ toolbarBoxShadow: string;
1166
+ toolbarBorderRadius: string;
1167
+ }, {
1168
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1169
+ borderRadius: string;
1170
+ boxShadow: string;
1171
+ color: string;
1172
+ textColor: string;
1173
+ padding: string;
1174
+ }, {
1175
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1176
+ fontSize: string;
1177
+ borderRadius: string;
1178
+ color: string;
1179
+ dividerColor: string;
1180
+ textColor: string;
1181
+ boxShadow: string;
1182
+ space: string;
1183
+ spaceArrow: string;
1184
+ arrowOffset: string;
1185
+ arrowOffsetVertical: string;
1186
+ arrowHeight: string;
1187
+ padding: string;
1188
+ }, {
1189
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1190
+ height: string;
1191
+ width: string;
1192
+ borderRadius: string;
1193
+ color: string;
1194
+ colorHover: string;
1195
+ railInsetHorizontalBottom: string;
1196
+ railInsetHorizontalTop: string;
1197
+ railInsetVerticalRight: string;
1198
+ railInsetVerticalLeft: string;
1199
+ railColor: string;
1200
+ }, any>;
1201
+ }>;
1202
+ }>;
1203
+ }>>;
1204
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1205
+ toolbarIconColor: string;
1206
+ toolbarColor: string;
1207
+ toolbarBoxShadow: string;
1208
+ toolbarBorderRadius: string;
1209
+ }, {
1210
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1211
+ borderRadius: string;
1212
+ boxShadow: string;
1213
+ color: string;
1214
+ textColor: string;
1215
+ padding: string;
1216
+ }, {
1217
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1218
+ fontSize: string;
1219
+ borderRadius: string;
1220
+ color: string;
1221
+ dividerColor: string;
1222
+ textColor: string;
1223
+ boxShadow: string;
1224
+ space: string;
1225
+ spaceArrow: string;
1226
+ arrowOffset: string;
1227
+ arrowOffsetVertical: string;
1228
+ arrowHeight: string;
1229
+ padding: string;
1230
+ }, {
1231
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1232
+ height: string;
1233
+ width: string;
1234
+ borderRadius: string;
1235
+ color: string;
1236
+ colorHover: string;
1237
+ railInsetHorizontalBottom: string;
1238
+ railInsetHorizontalTop: string;
1239
+ railInsetVerticalRight: string;
1240
+ railInsetVerticalLeft: string;
1241
+ railColor: string;
1242
+ }, any>;
1243
+ }>;
1244
+ }>;
1245
+ }>>>;
1246
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1247
+ toolbarIconColor: string;
1248
+ toolbarColor: string;
1249
+ toolbarBoxShadow: string;
1250
+ toolbarBorderRadius: string;
1251
+ }, {
1252
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1253
+ borderRadius: string;
1254
+ boxShadow: string;
1255
+ color: string;
1256
+ textColor: string;
1257
+ padding: string;
1258
+ }, {
1259
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1260
+ fontSize: string;
1261
+ borderRadius: string;
1262
+ color: string;
1263
+ dividerColor: string;
1264
+ textColor: string;
1265
+ boxShadow: string;
1266
+ space: string;
1267
+ spaceArrow: string;
1268
+ arrowOffset: string;
1269
+ arrowOffsetVertical: string;
1270
+ arrowHeight: string;
1271
+ padding: string;
1272
+ }, {
1273
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1274
+ height: string;
1275
+ width: string;
1276
+ borderRadius: string;
1277
+ color: string;
1278
+ colorHover: string;
1279
+ railInsetHorizontalBottom: string;
1280
+ railInsetHorizontalTop: string;
1281
+ railInsetVerticalRight: string;
1282
+ railInsetVerticalLeft: string;
1283
+ railColor: string;
1284
+ }, any>;
1285
+ }>;
1286
+ }>;
1287
+ }>>>;
1288
+ alt: StringConstructor;
1289
+ height: import('vue').PropType<string | number>;
1290
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1291
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1292
+ lazy: BooleanConstructor;
1293
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1294
+ objectFit: {
1295
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1296
+ default: string;
1297
+ };
1298
+ previewSrc: StringConstructor;
1299
+ fallbackSrc: StringConstructor;
1300
+ width: import('vue').PropType<string | number>;
1301
+ src: StringConstructor;
1302
+ previewDisabled: BooleanConstructor;
1303
+ loadDescription: StringConstructor;
1304
+ onError: import('vue').PropType<(e: Event) => void>;
1305
+ onLoad: import('vue').PropType<(e: Event) => void>;
1306
+ }>> & Readonly<{}>, {
1307
+ click: () => void;
1308
+ showPreview: () => void;
1309
+ mergedClsPrefix: import('vue').Ref<string, string>;
1310
+ groupId: string | undefined;
1311
+ previewInstRef: import('vue').Ref<{
1312
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
1313
+ } | null, import('naive-ui').ImagePreviewInst | {
1314
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
1315
+ } | null>;
1316
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1317
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1318
+ showError: import('vue').Ref<boolean, boolean>;
1319
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
1320
+ loaded: import('vue').Ref<boolean, boolean>;
1321
+ mergedOnClick: (e: PointerEvent) => void;
1322
+ onPreviewClose: () => void;
1323
+ mergedOnError: (e: Event) => void;
1324
+ mergedOnLoad: (e: Event) => void;
1325
+ previewShow: import('vue').Ref<boolean, boolean>;
1326
+ }, {}, {}, {}, {
1327
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1328
+ lazy: boolean;
1329
+ showToolbar: boolean;
1330
+ showToolbarTooltip: boolean;
1331
+ previewDisabled: boolean;
1332
+ }> | null;
238
1333
  }, {}, {}, {}, {
239
- fetchpriority: "high" | "low" | "auto";
240
1334
  retryMax: number;
1335
+ fetchpriority: "high" | "low" | "auto";
241
1336
  }>;
242
1337
  __isFragment?: never;
243
1338
  __isTeleport?: never;
244
1339
  __isSuspense?: never;
245
1340
  } & import('vue').ComponentOptionsBase<Readonly<{
246
- src?: import('./struct/image').Image_;
1341
+ src?: import('./struct/image.ts').Image_;
247
1342
  alt?: string;
248
1343
  previewable?: boolean;
249
1344
  retryMax?: number;
@@ -260,22 +1355,387 @@ export declare const Comp: {
260
1355
  error: Set<string>;
261
1356
  };
262
1357
  fetchpriority?: "high" | "low" | "auto";
263
- fallback?: import('./struct/image').Image_;
1358
+ fallback?: import('./struct/image.ts').Image_;
264
1359
  }> & Readonly<{
265
- onLoad?: (...args: any[]) => any;
266
- onClick?: () => any;
267
- onError?: () => any;
1360
+ onLoad?: ((...args: any[]) => any) | undefined;
1361
+ onClick?: (() => any) | undefined;
1362
+ onError?: (() => any) | undefined;
268
1363
  }>, {
269
1364
  isLoaded: import('vue').ComputedRef<boolean>;
270
- imageEl: any;
271
- imageIns: unknown;
1365
+ imageEl: HTMLImageElement | null | undefined;
1366
+ imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
1367
+ onPreviewPrev: import('vue').PropType<() => void>;
1368
+ onPreviewNext: import('vue').PropType<() => void>;
1369
+ showToolbar: {
1370
+ type: BooleanConstructor;
1371
+ default: boolean;
1372
+ };
1373
+ showToolbarTooltip: BooleanConstructor;
1374
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1375
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1376
+ toolbarIconColor: string;
1377
+ toolbarColor: string;
1378
+ toolbarBoxShadow: string;
1379
+ toolbarBorderRadius: string;
1380
+ }, {
1381
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1382
+ borderRadius: string;
1383
+ boxShadow: string;
1384
+ color: string;
1385
+ textColor: string;
1386
+ padding: string;
1387
+ }, {
1388
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1389
+ fontSize: string;
1390
+ borderRadius: string;
1391
+ color: string;
1392
+ dividerColor: string;
1393
+ textColor: string;
1394
+ boxShadow: string;
1395
+ space: string;
1396
+ spaceArrow: string;
1397
+ arrowOffset: string;
1398
+ arrowOffsetVertical: string;
1399
+ arrowHeight: string;
1400
+ padding: string;
1401
+ }, {
1402
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1403
+ height: string;
1404
+ width: string;
1405
+ borderRadius: string;
1406
+ color: string;
1407
+ colorHover: string;
1408
+ railInsetHorizontalBottom: string;
1409
+ railInsetHorizontalTop: string;
1410
+ railInsetVerticalRight: string;
1411
+ railInsetVerticalLeft: string;
1412
+ railColor: string;
1413
+ }, any>;
1414
+ }>;
1415
+ }>;
1416
+ }>>;
1417
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1418
+ toolbarIconColor: string;
1419
+ toolbarColor: string;
1420
+ toolbarBoxShadow: string;
1421
+ toolbarBorderRadius: string;
1422
+ }, {
1423
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1424
+ borderRadius: string;
1425
+ boxShadow: string;
1426
+ color: string;
1427
+ textColor: string;
1428
+ padding: string;
1429
+ }, {
1430
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1431
+ fontSize: string;
1432
+ borderRadius: string;
1433
+ color: string;
1434
+ dividerColor: string;
1435
+ textColor: string;
1436
+ boxShadow: string;
1437
+ space: string;
1438
+ spaceArrow: string;
1439
+ arrowOffset: string;
1440
+ arrowOffsetVertical: string;
1441
+ arrowHeight: string;
1442
+ padding: string;
1443
+ }, {
1444
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1445
+ height: string;
1446
+ width: string;
1447
+ borderRadius: string;
1448
+ color: string;
1449
+ colorHover: string;
1450
+ railInsetHorizontalBottom: string;
1451
+ railInsetHorizontalTop: string;
1452
+ railInsetVerticalRight: string;
1453
+ railInsetVerticalLeft: string;
1454
+ railColor: string;
1455
+ }, any>;
1456
+ }>;
1457
+ }>;
1458
+ }>>>;
1459
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1460
+ toolbarIconColor: string;
1461
+ toolbarColor: string;
1462
+ toolbarBoxShadow: string;
1463
+ toolbarBorderRadius: string;
1464
+ }, {
1465
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1466
+ borderRadius: string;
1467
+ boxShadow: string;
1468
+ color: string;
1469
+ textColor: string;
1470
+ padding: string;
1471
+ }, {
1472
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1473
+ fontSize: string;
1474
+ borderRadius: string;
1475
+ color: string;
1476
+ dividerColor: string;
1477
+ textColor: string;
1478
+ boxShadow: string;
1479
+ space: string;
1480
+ spaceArrow: string;
1481
+ arrowOffset: string;
1482
+ arrowOffsetVertical: string;
1483
+ arrowHeight: string;
1484
+ padding: string;
1485
+ }, {
1486
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1487
+ height: string;
1488
+ width: string;
1489
+ borderRadius: string;
1490
+ color: string;
1491
+ colorHover: string;
1492
+ railInsetHorizontalBottom: string;
1493
+ railInsetHorizontalTop: string;
1494
+ railInsetVerticalRight: string;
1495
+ railInsetVerticalLeft: string;
1496
+ railColor: string;
1497
+ }, any>;
1498
+ }>;
1499
+ }>;
1500
+ }>>>;
1501
+ alt: StringConstructor;
1502
+ height: import('vue').PropType<string | number>;
1503
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1504
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1505
+ lazy: BooleanConstructor;
1506
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1507
+ objectFit: {
1508
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1509
+ default: string;
1510
+ };
1511
+ previewSrc: StringConstructor;
1512
+ fallbackSrc: StringConstructor;
1513
+ width: import('vue').PropType<string | number>;
1514
+ src: StringConstructor;
1515
+ previewDisabled: BooleanConstructor;
1516
+ loadDescription: StringConstructor;
1517
+ onError: import('vue').PropType<(e: Event) => void>;
1518
+ onLoad: import('vue').PropType<(e: Event) => void>;
1519
+ }>> & Readonly<{}>, {
1520
+ click: () => void;
1521
+ showPreview: () => void;
1522
+ mergedClsPrefix: import('vue').Ref<string, string>;
1523
+ groupId: string | undefined;
1524
+ previewInstRef: import('vue').Ref<{
1525
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
1526
+ } | null, import('naive-ui').ImagePreviewInst | {
1527
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
1528
+ } | null>;
1529
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1530
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1531
+ showError: import('vue').Ref<boolean, boolean>;
1532
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
1533
+ loaded: import('vue').Ref<boolean, boolean>;
1534
+ mergedOnClick: (e: PointerEvent) => void;
1535
+ onPreviewClose: () => void;
1536
+ mergedOnError: (e: Event) => void;
1537
+ mergedOnLoad: (e: Event) => void;
1538
+ previewShow: import('vue').Ref<boolean, boolean>;
1539
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1540
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1541
+ lazy: boolean;
1542
+ showToolbar: boolean;
1543
+ showToolbarTooltip: boolean;
1544
+ previewDisabled: boolean;
1545
+ }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1546
+ P: {};
1547
+ B: {};
1548
+ D: {};
1549
+ C: {};
1550
+ M: {};
1551
+ Defaults: {};
1552
+ }, Readonly<import('vue').ExtractPropTypes<{
1553
+ onPreviewPrev: import('vue').PropType<() => void>;
1554
+ onPreviewNext: import('vue').PropType<() => void>;
1555
+ showToolbar: {
1556
+ type: BooleanConstructor;
1557
+ default: boolean;
1558
+ };
1559
+ showToolbarTooltip: BooleanConstructor;
1560
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1561
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1562
+ toolbarIconColor: string;
1563
+ toolbarColor: string;
1564
+ toolbarBoxShadow: string;
1565
+ toolbarBorderRadius: string;
1566
+ }, {
1567
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1568
+ borderRadius: string;
1569
+ boxShadow: string;
1570
+ color: string;
1571
+ textColor: string;
1572
+ padding: string;
1573
+ }, {
1574
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1575
+ fontSize: string;
1576
+ borderRadius: string;
1577
+ color: string;
1578
+ dividerColor: string;
1579
+ textColor: string;
1580
+ boxShadow: string;
1581
+ space: string;
1582
+ spaceArrow: string;
1583
+ arrowOffset: string;
1584
+ arrowOffsetVertical: string;
1585
+ arrowHeight: string;
1586
+ padding: string;
1587
+ }, {
1588
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1589
+ height: string;
1590
+ width: string;
1591
+ borderRadius: string;
1592
+ color: string;
1593
+ colorHover: string;
1594
+ railInsetHorizontalBottom: string;
1595
+ railInsetHorizontalTop: string;
1596
+ railInsetVerticalRight: string;
1597
+ railInsetVerticalLeft: string;
1598
+ railColor: string;
1599
+ }, any>;
1600
+ }>;
1601
+ }>;
1602
+ }>>;
1603
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1604
+ toolbarIconColor: string;
1605
+ toolbarColor: string;
1606
+ toolbarBoxShadow: string;
1607
+ toolbarBorderRadius: string;
1608
+ }, {
1609
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1610
+ borderRadius: string;
1611
+ boxShadow: string;
1612
+ color: string;
1613
+ textColor: string;
1614
+ padding: string;
1615
+ }, {
1616
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1617
+ fontSize: string;
1618
+ borderRadius: string;
1619
+ color: string;
1620
+ dividerColor: string;
1621
+ textColor: string;
1622
+ boxShadow: string;
1623
+ space: string;
1624
+ spaceArrow: string;
1625
+ arrowOffset: string;
1626
+ arrowOffsetVertical: string;
1627
+ arrowHeight: string;
1628
+ padding: string;
1629
+ }, {
1630
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1631
+ height: string;
1632
+ width: string;
1633
+ borderRadius: string;
1634
+ color: string;
1635
+ colorHover: string;
1636
+ railInsetHorizontalBottom: string;
1637
+ railInsetHorizontalTop: string;
1638
+ railInsetVerticalRight: string;
1639
+ railInsetVerticalLeft: string;
1640
+ railColor: string;
1641
+ }, any>;
1642
+ }>;
1643
+ }>;
1644
+ }>>>;
1645
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1646
+ toolbarIconColor: string;
1647
+ toolbarColor: string;
1648
+ toolbarBoxShadow: string;
1649
+ toolbarBorderRadius: string;
1650
+ }, {
1651
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1652
+ borderRadius: string;
1653
+ boxShadow: string;
1654
+ color: string;
1655
+ textColor: string;
1656
+ padding: string;
1657
+ }, {
1658
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1659
+ fontSize: string;
1660
+ borderRadius: string;
1661
+ color: string;
1662
+ dividerColor: string;
1663
+ textColor: string;
1664
+ boxShadow: string;
1665
+ space: string;
1666
+ spaceArrow: string;
1667
+ arrowOffset: string;
1668
+ arrowOffsetVertical: string;
1669
+ arrowHeight: string;
1670
+ padding: string;
1671
+ }, {
1672
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1673
+ height: string;
1674
+ width: string;
1675
+ borderRadius: string;
1676
+ color: string;
1677
+ colorHover: string;
1678
+ railInsetHorizontalBottom: string;
1679
+ railInsetHorizontalTop: string;
1680
+ railInsetVerticalRight: string;
1681
+ railInsetVerticalLeft: string;
1682
+ railColor: string;
1683
+ }, any>;
1684
+ }>;
1685
+ }>;
1686
+ }>>>;
1687
+ alt: StringConstructor;
1688
+ height: import('vue').PropType<string | number>;
1689
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1690
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
1691
+ lazy: BooleanConstructor;
1692
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
1693
+ objectFit: {
1694
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
1695
+ default: string;
1696
+ };
1697
+ previewSrc: StringConstructor;
1698
+ fallbackSrc: StringConstructor;
1699
+ width: import('vue').PropType<string | number>;
1700
+ src: StringConstructor;
1701
+ previewDisabled: BooleanConstructor;
1702
+ loadDescription: StringConstructor;
1703
+ onError: import('vue').PropType<(e: Event) => void>;
1704
+ onLoad: import('vue').PropType<(e: Event) => void>;
1705
+ }>> & Readonly<{}>, {
1706
+ click: () => void;
1707
+ showPreview: () => void;
1708
+ mergedClsPrefix: import('vue').Ref<string, string>;
1709
+ groupId: string | undefined;
1710
+ previewInstRef: import('vue').Ref<{
1711
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
1712
+ } | null, import('naive-ui').ImagePreviewInst | {
1713
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
1714
+ } | null>;
1715
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1716
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1717
+ showError: import('vue').Ref<boolean, boolean>;
1718
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
1719
+ loaded: import('vue').Ref<boolean, boolean>;
1720
+ mergedOnClick: (e: PointerEvent) => void;
1721
+ onPreviewClose: () => void;
1722
+ mergedOnError: (e: Event) => void;
1723
+ mergedOnLoad: (e: Event) => void;
1724
+ previewShow: import('vue').Ref<boolean, boolean>;
1725
+ }, {}, {}, {}, {
1726
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1727
+ lazy: boolean;
1728
+ showToolbar: boolean;
1729
+ showToolbarTooltip: boolean;
1730
+ previewDisabled: boolean;
1731
+ }> | null;
272
1732
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
273
1733
  load: (...args: any[]) => any;
274
1734
  click: () => any;
275
1735
  error: () => any;
276
1736
  }, string, {
277
- fetchpriority: "high" | "low" | "auto";
278
1737
  retryMax: number;
1738
+ fetchpriority: "high" | "low" | "auto";
279
1739
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
280
1740
  $slots: Readonly<{
281
1741
  loading?(): any;
@@ -286,6 +1746,7 @@ export declare const Comp: {
286
1746
  };
287
1747
  });
288
1748
  List: <T extends NonNullable<import('naive-ui').VirtualListProps["items"]>[number], PF extends ((d: T[]) => any[])>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
1749
+ attrs: any;
289
1750
  slots: Readonly<{
290
1751
  default(props: {
291
1752
  height: number;
@@ -303,23 +1764,22 @@ export declare const Comp: {
303
1764
  };
304
1765
  }): any;
305
1766
  };
306
- attrs: any;
307
- emit: ((evt: "retry", then: () => void) => void) & ((evt: "next", then: () => void) => void) & ((evt: "reset") => void);
1767
+ emit: ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "retry", then: () => void) => void);
308
1768
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
309
1769
  props: {
310
- readonly onReset?: () => any;
311
- readonly onRetry?: (then: () => void) => any;
312
- readonly onNext?: (then: () => void) => any;
1770
+ readonly onReset?: (() => any) | undefined;
1771
+ readonly onRetry?: ((then: () => void) => any) | undefined;
1772
+ readonly onNext?: ((then: () => void) => any) | undefined;
313
1773
  source: {
314
1774
  data: uData.RPromiseContent<any, T[]>;
315
1775
  isEnd?: boolean;
316
1776
  reloadable?: boolean;
317
1777
  } | uData.Stream<T> | Array<T>;
318
1778
  itemHeight: number;
319
- listProp?: Partial<import('naive-ui').VirtualListProps>;
320
- goBottom?: boolean;
321
- itemResizable?: boolean;
322
- dataProcessor?: PF;
1779
+ listProp?: Partial<import('naive-ui').VirtualListProps> | undefined;
1780
+ goBottom?: boolean | undefined;
1781
+ itemResizable?: boolean | undefined;
1782
+ dataProcessor?: PF | undefined;
323
1783
  style?: import('vue').StyleValue;
324
1784
  class?: any;
325
1785
  } & import('vue').PublicProps;
@@ -345,7 +1805,7 @@ export declare const Comp: {
345
1805
  };
346
1806
  }): any;
347
1807
  };
348
- emit: ((evt: "retry", then: () => void) => void) & ((evt: "next", then: () => void) => void) & ((evt: "reset") => void);
1808
+ emit: ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "retry", then: () => void) => void);
349
1809
  }>) => import('vue').VNode & {
350
1810
  __ctx?: Awaited<typeof __VLS_setup>;
351
1811
  };
@@ -356,41 +1816,41 @@ export declare const Comp: {
356
1816
  lockScroll: boolean;
357
1817
  overlay: boolean;
358
1818
  show: boolean;
1819
+ lazyRender: boolean;
1820
+ safeAreaInsetBottom: boolean;
1821
+ round: boolean;
1822
+ position: import('vant').PopupPosition;
359
1823
  closeable: boolean;
360
1824
  closeIcon: string;
361
1825
  closeOnPopstate: boolean;
362
1826
  closeIconPosition: import('vant').PopupCloseIconPosition;
363
1827
  closeOnClickOverlay: boolean;
364
- round: boolean;
365
- lazyRender: boolean;
366
1828
  transitionAppear: boolean;
367
- position: import('vant').PopupPosition;
368
1829
  destroyOnClose: boolean;
369
1830
  safeAreaInsetTop: boolean;
370
- safeAreaInsetBottom: boolean;
371
1831
  } & {
372
- transition?: string;
373
- zIndex?: string | number;
374
- teleport?: string | import('vue').RendererElement;
375
- beforeClose?: import('vant/lib/utils').Interceptor;
376
- overlayStyle?: import('vue').CSSProperties;
1832
+ transition?: string | undefined;
1833
+ zIndex?: string | number | undefined;
1834
+ duration?: string | number | undefined;
1835
+ teleport?: string | import('vue').RendererElement | null | undefined;
1836
+ beforeClose?: import('vant/lib/utils/interceptor').Interceptor | undefined;
1837
+ overlayStyle?: import('vue').CSSProperties | undefined;
377
1838
  overlayClass?: unknown;
378
- duration?: string | number;
379
- overlayProps?: Partial<import('vant').OverlayProps>;
380
- iconPrefix?: string;
1839
+ overlayProps?: Partial<import('vant').OverlayProps> | undefined;
1840
+ iconPrefix?: string | undefined;
381
1841
  } & {
382
1842
  noBorder?: boolean;
383
1843
  useTrulyShow: boolean;
384
1844
  style?: import('vue').StyleValue;
385
1845
  }>> & Readonly<{
386
- "onUpdate:show"?: (value: boolean) => any;
387
- onClosed?: () => any;
1846
+ onClosed?: (() => any) | undefined;
1847
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
388
1848
  }>, {
389
1849
  zIndex: import('vue').ComputedRef<number>;
390
1850
  trulyShow: import('vue').ShallowRef<boolean, boolean>;
391
1851
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
392
- "update:show": (value: boolean) => any;
393
1852
  closed: () => any;
1853
+ "update:show": (value: boolean) => any;
394
1854
  }, import('vue').PublicProps, {
395
1855
  position: import('vant').PopupPosition;
396
1856
  noBorder: boolean;
@@ -407,35 +1867,35 @@ export declare const Comp: {
407
1867
  lockScroll: boolean;
408
1868
  overlay: boolean;
409
1869
  show: boolean;
1870
+ lazyRender: boolean;
1871
+ safeAreaInsetBottom: boolean;
1872
+ round: boolean;
1873
+ position: import('vant').PopupPosition;
410
1874
  closeable: boolean;
411
1875
  closeIcon: string;
412
1876
  closeOnPopstate: boolean;
413
1877
  closeIconPosition: import('vant').PopupCloseIconPosition;
414
1878
  closeOnClickOverlay: boolean;
415
- round: boolean;
416
- lazyRender: boolean;
417
1879
  transitionAppear: boolean;
418
- position: import('vant').PopupPosition;
419
1880
  destroyOnClose: boolean;
420
1881
  safeAreaInsetTop: boolean;
421
- safeAreaInsetBottom: boolean;
422
1882
  } & {
423
- transition?: string;
424
- zIndex?: string | number;
425
- teleport?: string | import('vue').RendererElement;
426
- beforeClose?: import('vant/lib/utils').Interceptor;
427
- overlayStyle?: import('vue').CSSProperties;
1883
+ transition?: string | undefined;
1884
+ zIndex?: string | number | undefined;
1885
+ duration?: string | number | undefined;
1886
+ teleport?: string | import('vue').RendererElement | null | undefined;
1887
+ beforeClose?: import('vant/lib/utils/interceptor').Interceptor | undefined;
1888
+ overlayStyle?: import('vue').CSSProperties | undefined;
428
1889
  overlayClass?: unknown;
429
- duration?: string | number;
430
- overlayProps?: Partial<import('vant').OverlayProps>;
431
- iconPrefix?: string;
1890
+ overlayProps?: Partial<import('vant').OverlayProps> | undefined;
1891
+ iconPrefix?: string | undefined;
432
1892
  } & {
433
1893
  noBorder?: boolean;
434
1894
  useTrulyShow: boolean;
435
1895
  style?: import('vue').StyleValue;
436
1896
  }>> & Readonly<{
437
- "onUpdate:show"?: (value: boolean) => any;
438
- onClosed?: () => any;
1897
+ onClosed?: (() => any) | undefined;
1898
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
439
1899
  }>, {
440
1900
  zIndex: import('vue').ComputedRef<number>;
441
1901
  trulyShow: import('vue').ShallowRef<boolean, boolean>;
@@ -452,41 +1912,41 @@ export declare const Comp: {
452
1912
  lockScroll: boolean;
453
1913
  overlay: boolean;
454
1914
  show: boolean;
1915
+ lazyRender: boolean;
1916
+ safeAreaInsetBottom: boolean;
1917
+ round: boolean;
1918
+ position: import('vant').PopupPosition;
455
1919
  closeable: boolean;
456
1920
  closeIcon: string;
457
1921
  closeOnPopstate: boolean;
458
1922
  closeIconPosition: import('vant').PopupCloseIconPosition;
459
1923
  closeOnClickOverlay: boolean;
460
- round: boolean;
461
- lazyRender: boolean;
462
1924
  transitionAppear: boolean;
463
- position: import('vant').PopupPosition;
464
1925
  destroyOnClose: boolean;
465
1926
  safeAreaInsetTop: boolean;
466
- safeAreaInsetBottom: boolean;
467
1927
  } & {
468
- transition?: string;
469
- zIndex?: string | number;
470
- teleport?: string | import('vue').RendererElement;
471
- beforeClose?: import('vant/lib/utils').Interceptor;
472
- overlayStyle?: import('vue').CSSProperties;
1928
+ transition?: string | undefined;
1929
+ zIndex?: string | number | undefined;
1930
+ duration?: string | number | undefined;
1931
+ teleport?: string | import('vue').RendererElement | null | undefined;
1932
+ beforeClose?: import('vant/lib/utils/interceptor').Interceptor | undefined;
1933
+ overlayStyle?: import('vue').CSSProperties | undefined;
473
1934
  overlayClass?: unknown;
474
- duration?: string | number;
475
- overlayProps?: Partial<import('vant').OverlayProps>;
476
- iconPrefix?: string;
1935
+ overlayProps?: Partial<import('vant').OverlayProps> | undefined;
1936
+ iconPrefix?: string | undefined;
477
1937
  } & {
478
1938
  noBorder?: boolean;
479
1939
  useTrulyShow: boolean;
480
1940
  style?: import('vue').StyleValue;
481
1941
  }>> & Readonly<{
482
- "onUpdate:show"?: (value: boolean) => any;
483
- onClosed?: () => any;
1942
+ onClosed?: (() => any) | undefined;
1943
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
484
1944
  }>, {
485
1945
  zIndex: import('vue').ComputedRef<number>;
486
1946
  trulyShow: import('vue').ShallowRef<boolean, boolean>;
487
1947
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
488
- "update:show": (value: boolean) => any;
489
1948
  closed: () => any;
1949
+ "update:show": (value: boolean) => any;
490
1950
  }, string, {
491
1951
  position: import('vant').PopupPosition;
492
1952
  noBorder: boolean;
@@ -502,6 +1962,7 @@ export declare const Comp: {
502
1962
  title: string;
503
1963
  queries?: Record<string, string>;
504
1964
  }>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
1965
+ attrs: any;
505
1966
  slots: Readonly<{
506
1967
  default(arg: {
507
1968
  itemName: T;
@@ -517,7 +1978,6 @@ export declare const Comp: {
517
1978
  right(): any;
518
1979
  bottom(): any;
519
1980
  };
520
- attrs: any;
521
1981
  emit: {};
522
1982
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
523
1983
  props: {
@@ -551,7 +2011,7 @@ export declare const Comp: {
551
2011
  ellipsis?: number;
552
2012
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
553
2013
  text: string;
554
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
2014
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
555
2015
  P: {};
556
2016
  B: {};
557
2017
  D: {};
@@ -587,10 +2047,10 @@ export declare const Comp: {
587
2047
  rowMode?: boolean;
588
2048
  padding?: boolean;
589
2049
  }> & Readonly<{
590
- onClick?: (to: boolean) => any;
591
- "onUpdate:modelValue"?: (value: boolean) => any;
592
- onChange?: (mode: boolean) => any;
593
- onLongClick?: () => any;
2050
+ onClick?: ((to: boolean) => any) | undefined;
2051
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2052
+ onChange?: ((mode: boolean) => any) | undefined;
2053
+ onLongClick?: (() => any) | undefined;
594
2054
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
595
2055
  click: (to: boolean) => any;
596
2056
  "update:modelValue": (value: boolean) => any;
@@ -614,10 +2074,10 @@ export declare const Comp: {
614
2074
  rowMode?: boolean;
615
2075
  padding?: boolean;
616
2076
  }> & Readonly<{
617
- onClick?: (to: boolean) => any;
618
- "onUpdate:modelValue"?: (value: boolean) => any;
619
- onChange?: (mode: boolean) => any;
620
- onLongClick?: () => any;
2077
+ onClick?: ((to: boolean) => any) | undefined;
2078
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2079
+ onChange?: ((mode: boolean) => any) | undefined;
2080
+ onLongClick?: (() => any) | undefined;
621
2081
  }>, {}, {}, {}, {}, {}>;
622
2082
  __isFragment?: never;
623
2083
  __isTeleport?: never;
@@ -631,10 +2091,10 @@ export declare const Comp: {
631
2091
  rowMode?: boolean;
632
2092
  padding?: boolean;
633
2093
  }> & Readonly<{
634
- onClick?: (to: boolean) => any;
635
- "onUpdate:modelValue"?: (value: boolean) => any;
636
- onChange?: (mode: boolean) => any;
637
- onLongClick?: () => any;
2094
+ onClick?: ((to: boolean) => any) | undefined;
2095
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2096
+ onChange?: ((mode: boolean) => any) | undefined;
2097
+ onLongClick?: (() => any) | undefined;
638
2098
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
639
2099
  click: (to: boolean) => any;
640
2100
  "update:modelValue": (value: boolean) => any;
@@ -646,6 +2106,7 @@ export declare const Comp: {
646
2106
  };
647
2107
  });
648
2108
  Var: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
2109
+ attrs: any;
649
2110
  slots: Readonly<{
650
2111
  default(arg: {
651
2112
  value: T;
@@ -655,7 +2116,6 @@ export declare const Comp: {
655
2116
  value: T;
656
2117
  }): any;
657
2118
  };
658
- attrs: any;
659
2119
  emit: {};
660
2120
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
661
2121
  props: {
@@ -677,6 +2137,7 @@ export declare const Comp: {
677
2137
  __ctx?: Awaited<typeof __VLS_setup>;
678
2138
  };
679
2139
  Waterfall: <T = any, PF extends ((d: T[]) => any[]) = (d: T[]) => T[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
2140
+ attrs: any;
680
2141
  slots: Readonly<{
681
2142
  default(props: {
682
2143
  item: import('@vueuse/core').IfAny<ReturnType<PF>[number], T, ReturnType<PF>[number]>;
@@ -694,30 +2155,29 @@ export declare const Comp: {
694
2155
  length: number;
695
2156
  }): any;
696
2157
  };
697
- attrs: any;
698
- emit: ((evt: "retry", then: () => void) => void) & ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "col", args_0: 2, args_1: 2) => void);
2158
+ emit: ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "col", args_0: 2, args_1: 2) => void) & ((evt: "retry", then: () => void) => void);
699
2159
  }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
700
2160
  props: {
701
- readonly onReset?: () => any;
702
- readonly onRetry?: (then: () => void) => any;
703
- readonly onNext?: (then: () => void) => any;
704
- readonly onCol?: (args_0: 2, args_1: 2) => any;
2161
+ readonly onReset?: (() => any) | undefined;
2162
+ readonly onRetry?: ((then: () => void) => any) | undefined;
2163
+ readonly onNext?: ((then: () => void) => any) | undefined;
2164
+ readonly onCol?: ((args_0: 2, args_1: 2) => any) | undefined;
705
2165
  source: {
706
2166
  data: uData.RPromiseContent<any, T[]>;
707
2167
  isEnd?: boolean;
708
2168
  } | uData.Stream<T>;
709
2169
  style?: import('vue').StyleValue;
710
2170
  class?: any;
711
- col?: [min: number, max: number] | number;
712
- padding?: number;
713
- gap?: number;
714
- minHeight?: number;
715
- dataProcessor?: PF;
716
- unReloadable?: boolean;
2171
+ col?: [min: number, max: number] | number | undefined;
2172
+ padding?: number | undefined;
2173
+ gap?: number | undefined;
2174
+ minHeight?: number | undefined;
2175
+ dataProcessor?: PF | undefined;
2176
+ unReloadable?: boolean | undefined;
717
2177
  } & import('vue').PublicProps;
718
2178
  expose(exposed: import('vue').ShallowUnwrapRef<{
719
2179
  scrollTop: import('vue').WritableComputedRef<number, number>;
720
- scrollParent: import('vue').ComputedRef<HTMLDivElement>;
2180
+ scrollParent: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
721
2181
  reloadList(): Promise<void>;
722
2182
  }>): void;
723
2183
  attrs: any;
@@ -738,161 +2198,428 @@ export declare const Comp: {
738
2198
  length: number;
739
2199
  }): any;
740
2200
  };
741
- emit: ((evt: "retry", then: () => void) => void) & ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "col", args_0: 2, args_1: 2) => void);
2201
+ emit: ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "col", args_0: 2, args_1: 2) => void) & ((evt: "retry", then: () => void) => void);
742
2202
  }>) => import('vue').VNode & {
743
2203
  __ctx?: Awaited<typeof __VLS_setup>;
744
2204
  };
745
- user: {
746
- PreviewUser: import('vue').DefineComponent<{}, {
747
- show(u: any): void;
748
- isShowing: import('vue').ComputedRef<boolean>;
749
- close(): void;
750
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
751
- floatPopup: {
752
- $: import('vue').ComponentInternalInstance;
753
- $data: {};
754
- $props: Partial<{
755
- anchors: "high" | "low" | number[];
756
- lockScroll: boolean;
757
- }> & Omit<{
758
- readonly anchors?: "high" | "low" | number[];
759
- readonly lockScroll?: boolean;
760
- readonly class?: any;
761
- readonly style?: import('vue').StyleValue;
762
- readonly overlay?: boolean;
763
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "anchors" | "lockScroll">;
764
- $attrs: {
765
- [x: string]: unknown;
766
- };
767
- $refs: {
768
- [x: string]: unknown;
769
- };
770
- $slots: Readonly<{
771
- [name: string]: import('vue').Slot<any>;
772
- }>;
773
- $root: import('vue').ComponentPublicInstance | null;
774
- $parent: import('vue').ComponentPublicInstance | null;
775
- $host: Element | null;
776
- $emit: (event: string, ...args: any[]) => void;
777
- $el: any;
778
- $options: import('vue').ComponentOptionsBase<Readonly<{
779
- anchors?: "high" | "low" | number[];
780
- lockScroll?: boolean;
781
- class?: any;
782
- style?: import('vue').StyleValue;
783
- overlay?: boolean;
784
- }> & Readonly<{}>, {
785
- show(node?: number): void;
786
- close(): void;
787
- isShowing: Readonly<import('vue').ShallowRef<boolean, boolean>>;
788
- height: Readonly<import('vue').ShallowRef<number, number>>;
789
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
790
- anchors: "high" | "low" | number[];
791
- lockScroll: boolean;
792
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
793
- beforeCreate?: (() => void) | (() => void)[];
794
- created?: (() => void) | (() => void)[];
795
- beforeMount?: (() => void) | (() => void)[];
796
- mounted?: (() => void) | (() => void)[];
797
- beforeUpdate?: (() => void) | (() => void)[];
798
- updated?: (() => void) | (() => void)[];
799
- activated?: (() => void) | (() => void)[];
800
- deactivated?: (() => void) | (() => void)[];
801
- beforeDestroy?: (() => void) | (() => void)[];
802
- beforeUnmount?: (() => void) | (() => void)[];
803
- destroyed?: (() => void) | (() => void)[];
804
- unmounted?: (() => void) | (() => void)[];
805
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
806
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
807
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
808
- };
809
- $forceUpdate: () => void;
810
- $nextTick: typeof import('vue').nextTick;
811
- $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;
812
- } & Readonly<{
813
- anchors: "high" | "low" | number[];
814
- lockScroll: boolean;
815
- }> & Omit<Readonly<{
816
- anchors?: "high" | "low" | number[];
817
- lockScroll?: boolean;
818
- class?: any;
819
- style?: import('vue').StyleValue;
820
- overlay?: boolean;
821
- }> & Readonly<{}>, "height" | "show" | ("anchors" | "lockScroll") | "close" | "isShowing"> & import('vue').ShallowUnwrapRef<{
822
- show(node?: number): void;
823
- close(): void;
824
- isShowing: Readonly<import('vue').ShallowRef<boolean, boolean>>;
825
- height: Readonly<import('vue').ShallowRef<number, number>>;
826
- }> & {} & import('vue').ComponentCustomProperties & {} & {
827
- $slots: Readonly<{
828
- default(arg: {
829
- height: number;
830
- }): void;
831
- }> & {
832
- default(arg: {
833
- height: number;
834
- }): void;
835
- };
836
- };
837
- contentBox: HTMLDivElement;
838
- }, any>;
839
- };
840
2205
  content: {
841
2206
  UnitCard: {
842
2207
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
843
- item: import('./struct/item').Item | import('./struct/item').RawItem;
2208
+ item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
844
2209
  freeHeight?: boolean;
845
2210
  disabled?: boolean;
846
2211
  type?: "default" | "big" | "small";
847
2212
  class?: any;
848
2213
  style?: import('vue').StyleValue;
849
2214
  }> & Readonly<{
850
- onClick?: () => any;
2215
+ onClick?: (() => any) | undefined;
851
2216
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
852
2217
  click: () => any;
853
2218
  }, import('vue').PublicProps, {
854
2219
  type: "default" | "big" | "small";
855
2220
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
856
2221
  container: HTMLDivElement;
857
- cover: {
2222
+ cover: ({
858
2223
  $: import('vue').ComponentInternalInstance;
859
2224
  $data: {};
860
- $props: Partial<{
861
- fetchpriority: "high" | "low" | "auto";
862
- retryMax: number;
863
- }> & Omit<{
864
- readonly src?: import('./struct/image').Image_;
865
- readonly alt?: string;
866
- readonly previewable?: boolean;
867
- readonly retryMax?: number;
868
- readonly round?: boolean;
869
- readonly fit?: import('naive-ui').ImageProps["objectFit"];
2225
+ $props: {
2226
+ readonly src?: import('./struct/image.ts').Image_ | undefined;
2227
+ readonly alt?: string | undefined;
2228
+ readonly previewable?: boolean | undefined;
2229
+ readonly retryMax?: number | undefined;
2230
+ readonly round?: boolean | undefined;
2231
+ readonly fit?: "fill" | "none" | "contain" | "cover" | "scale-down" | undefined;
870
2232
  readonly class?: any;
871
- readonly hideLoading?: boolean;
872
- readonly hideError?: boolean;
873
- readonly inline?: boolean;
2233
+ readonly hideLoading?: boolean | undefined;
2234
+ readonly hideError?: boolean | undefined;
2235
+ readonly inline?: boolean | undefined;
874
2236
  readonly style?: import('vue').StyleValue;
875
- readonly imgProp?: import('vue').ImgHTMLAttributes;
2237
+ readonly imgProp?: import('vue').ImgHTMLAttributes | undefined;
876
2238
  readonly useList?: {
877
2239
  loaded: Set<string>;
878
2240
  error: Set<string>;
879
- };
880
- readonly fetchpriority?: "high" | "low" | "auto";
881
- readonly fallback?: import('./struct/image').Image_;
882
- readonly onLoad?: (...args: any[]) => any;
883
- readonly onClick?: () => any;
884
- readonly onError?: () => any;
885
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "fetchpriority" | "retryMax">;
2241
+ } | undefined;
2242
+ readonly fetchpriority?: "high" | "low" | "auto" | undefined;
2243
+ readonly fallback?: import('./struct/image.ts').Image_ | undefined;
2244
+ readonly onLoad?: ((...args: any[]) => any) | undefined;
2245
+ readonly onClick?: (() => any) | undefined;
2246
+ readonly onError?: (() => any) | undefined;
2247
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
886
2248
  $attrs: {
887
2249
  [x: string]: unknown;
888
2250
  };
889
2251
  $refs: {
890
2252
  [x: string]: unknown;
891
2253
  } & {
892
- img: unknown;
2254
+ img: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
2255
+ onPreviewPrev: import('vue').PropType<() => void>;
2256
+ onPreviewNext: import('vue').PropType<() => void>;
2257
+ showToolbar: {
2258
+ type: BooleanConstructor;
2259
+ default: boolean;
2260
+ };
2261
+ showToolbarTooltip: BooleanConstructor;
2262
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2263
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2264
+ toolbarIconColor: string;
2265
+ toolbarColor: string;
2266
+ toolbarBoxShadow: string;
2267
+ toolbarBorderRadius: string;
2268
+ }, {
2269
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2270
+ borderRadius: string;
2271
+ boxShadow: string;
2272
+ color: string;
2273
+ textColor: string;
2274
+ padding: string;
2275
+ }, {
2276
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2277
+ fontSize: string;
2278
+ borderRadius: string;
2279
+ color: string;
2280
+ dividerColor: string;
2281
+ textColor: string;
2282
+ boxShadow: string;
2283
+ space: string;
2284
+ spaceArrow: string;
2285
+ arrowOffset: string;
2286
+ arrowOffsetVertical: string;
2287
+ arrowHeight: string;
2288
+ padding: string;
2289
+ }, {
2290
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2291
+ height: string;
2292
+ width: string;
2293
+ borderRadius: string;
2294
+ color: string;
2295
+ colorHover: string;
2296
+ railInsetHorizontalBottom: string;
2297
+ railInsetHorizontalTop: string;
2298
+ railInsetVerticalRight: string;
2299
+ railInsetVerticalLeft: string;
2300
+ railColor: string;
2301
+ }, any>;
2302
+ }>;
2303
+ }>;
2304
+ }>>;
2305
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2306
+ toolbarIconColor: string;
2307
+ toolbarColor: string;
2308
+ toolbarBoxShadow: string;
2309
+ toolbarBorderRadius: string;
2310
+ }, {
2311
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2312
+ borderRadius: string;
2313
+ boxShadow: string;
2314
+ color: string;
2315
+ textColor: string;
2316
+ padding: string;
2317
+ }, {
2318
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2319
+ fontSize: string;
2320
+ borderRadius: string;
2321
+ color: string;
2322
+ dividerColor: string;
2323
+ textColor: string;
2324
+ boxShadow: string;
2325
+ space: string;
2326
+ spaceArrow: string;
2327
+ arrowOffset: string;
2328
+ arrowOffsetVertical: string;
2329
+ arrowHeight: string;
2330
+ padding: string;
2331
+ }, {
2332
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2333
+ height: string;
2334
+ width: string;
2335
+ borderRadius: string;
2336
+ color: string;
2337
+ colorHover: string;
2338
+ railInsetHorizontalBottom: string;
2339
+ railInsetHorizontalTop: string;
2340
+ railInsetVerticalRight: string;
2341
+ railInsetVerticalLeft: string;
2342
+ railColor: string;
2343
+ }, any>;
2344
+ }>;
2345
+ }>;
2346
+ }>>>;
2347
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2348
+ toolbarIconColor: string;
2349
+ toolbarColor: string;
2350
+ toolbarBoxShadow: string;
2351
+ toolbarBorderRadius: string;
2352
+ }, {
2353
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2354
+ borderRadius: string;
2355
+ boxShadow: string;
2356
+ color: string;
2357
+ textColor: string;
2358
+ padding: string;
2359
+ }, {
2360
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2361
+ fontSize: string;
2362
+ borderRadius: string;
2363
+ color: string;
2364
+ dividerColor: string;
2365
+ textColor: string;
2366
+ boxShadow: string;
2367
+ space: string;
2368
+ spaceArrow: string;
2369
+ arrowOffset: string;
2370
+ arrowOffsetVertical: string;
2371
+ arrowHeight: string;
2372
+ padding: string;
2373
+ }, {
2374
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2375
+ height: string;
2376
+ width: string;
2377
+ borderRadius: string;
2378
+ color: string;
2379
+ colorHover: string;
2380
+ railInsetHorizontalBottom: string;
2381
+ railInsetHorizontalTop: string;
2382
+ railInsetVerticalRight: string;
2383
+ railInsetVerticalLeft: string;
2384
+ railColor: string;
2385
+ }, any>;
2386
+ }>;
2387
+ }>;
2388
+ }>>>;
2389
+ alt: StringConstructor;
2390
+ height: import('vue').PropType<string | number>;
2391
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2392
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2393
+ lazy: BooleanConstructor;
2394
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2395
+ objectFit: {
2396
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2397
+ default: string;
2398
+ };
2399
+ previewSrc: StringConstructor;
2400
+ fallbackSrc: StringConstructor;
2401
+ width: import('vue').PropType<string | number>;
2402
+ src: StringConstructor;
2403
+ previewDisabled: BooleanConstructor;
2404
+ loadDescription: StringConstructor;
2405
+ onError: import('vue').PropType<(e: Event) => void>;
2406
+ onLoad: import('vue').PropType<(e: Event) => void>;
2407
+ }>> & Readonly<{}>, {
2408
+ click: () => void;
2409
+ showPreview: () => void;
2410
+ mergedClsPrefix: import('vue').Ref<string, string>;
2411
+ groupId: string | undefined;
2412
+ previewInstRef: import('vue').Ref<{
2413
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
2414
+ } | null, import('naive-ui').ImagePreviewInst | {
2415
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
2416
+ } | null>;
2417
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2418
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2419
+ showError: import('vue').Ref<boolean, boolean>;
2420
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
2421
+ loaded: import('vue').Ref<boolean, boolean>;
2422
+ mergedOnClick: (e: PointerEvent) => void;
2423
+ onPreviewClose: () => void;
2424
+ mergedOnError: (e: Event) => void;
2425
+ mergedOnLoad: (e: Event) => void;
2426
+ previewShow: import('vue').Ref<boolean, boolean>;
2427
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2428
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2429
+ lazy: boolean;
2430
+ showToolbar: boolean;
2431
+ showToolbarTooltip: boolean;
2432
+ previewDisabled: boolean;
2433
+ }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2434
+ P: {};
2435
+ B: {};
2436
+ D: {};
2437
+ C: {};
2438
+ M: {};
2439
+ Defaults: {};
2440
+ }, Readonly<import('vue').ExtractPropTypes<{
2441
+ onPreviewPrev: import('vue').PropType<() => void>;
2442
+ onPreviewNext: import('vue').PropType<() => void>;
2443
+ showToolbar: {
2444
+ type: BooleanConstructor;
2445
+ default: boolean;
2446
+ };
2447
+ showToolbarTooltip: BooleanConstructor;
2448
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2449
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2450
+ toolbarIconColor: string;
2451
+ toolbarColor: string;
2452
+ toolbarBoxShadow: string;
2453
+ toolbarBorderRadius: string;
2454
+ }, {
2455
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2456
+ borderRadius: string;
2457
+ boxShadow: string;
2458
+ color: string;
2459
+ textColor: string;
2460
+ padding: string;
2461
+ }, {
2462
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2463
+ fontSize: string;
2464
+ borderRadius: string;
2465
+ color: string;
2466
+ dividerColor: string;
2467
+ textColor: string;
2468
+ boxShadow: string;
2469
+ space: string;
2470
+ spaceArrow: string;
2471
+ arrowOffset: string;
2472
+ arrowOffsetVertical: string;
2473
+ arrowHeight: string;
2474
+ padding: string;
2475
+ }, {
2476
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2477
+ height: string;
2478
+ width: string;
2479
+ borderRadius: string;
2480
+ color: string;
2481
+ colorHover: string;
2482
+ railInsetHorizontalBottom: string;
2483
+ railInsetHorizontalTop: string;
2484
+ railInsetVerticalRight: string;
2485
+ railInsetVerticalLeft: string;
2486
+ railColor: string;
2487
+ }, any>;
2488
+ }>;
2489
+ }>;
2490
+ }>>;
2491
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2492
+ toolbarIconColor: string;
2493
+ toolbarColor: string;
2494
+ toolbarBoxShadow: string;
2495
+ toolbarBorderRadius: string;
2496
+ }, {
2497
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2498
+ borderRadius: string;
2499
+ boxShadow: string;
2500
+ color: string;
2501
+ textColor: string;
2502
+ padding: string;
2503
+ }, {
2504
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2505
+ fontSize: string;
2506
+ borderRadius: string;
2507
+ color: string;
2508
+ dividerColor: string;
2509
+ textColor: string;
2510
+ boxShadow: string;
2511
+ space: string;
2512
+ spaceArrow: string;
2513
+ arrowOffset: string;
2514
+ arrowOffsetVertical: string;
2515
+ arrowHeight: string;
2516
+ padding: string;
2517
+ }, {
2518
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2519
+ height: string;
2520
+ width: string;
2521
+ borderRadius: string;
2522
+ color: string;
2523
+ colorHover: string;
2524
+ railInsetHorizontalBottom: string;
2525
+ railInsetHorizontalTop: string;
2526
+ railInsetVerticalRight: string;
2527
+ railInsetVerticalLeft: string;
2528
+ railColor: string;
2529
+ }, any>;
2530
+ }>;
2531
+ }>;
2532
+ }>>>;
2533
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2534
+ toolbarIconColor: string;
2535
+ toolbarColor: string;
2536
+ toolbarBoxShadow: string;
2537
+ toolbarBorderRadius: string;
2538
+ }, {
2539
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2540
+ borderRadius: string;
2541
+ boxShadow: string;
2542
+ color: string;
2543
+ textColor: string;
2544
+ padding: string;
2545
+ }, {
2546
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2547
+ fontSize: string;
2548
+ borderRadius: string;
2549
+ color: string;
2550
+ dividerColor: string;
2551
+ textColor: string;
2552
+ boxShadow: string;
2553
+ space: string;
2554
+ spaceArrow: string;
2555
+ arrowOffset: string;
2556
+ arrowOffsetVertical: string;
2557
+ arrowHeight: string;
2558
+ padding: string;
2559
+ }, {
2560
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2561
+ height: string;
2562
+ width: string;
2563
+ borderRadius: string;
2564
+ color: string;
2565
+ colorHover: string;
2566
+ railInsetHorizontalBottom: string;
2567
+ railInsetHorizontalTop: string;
2568
+ railInsetVerticalRight: string;
2569
+ railInsetVerticalLeft: string;
2570
+ railColor: string;
2571
+ }, any>;
2572
+ }>;
2573
+ }>;
2574
+ }>>>;
2575
+ alt: StringConstructor;
2576
+ height: import('vue').PropType<string | number>;
2577
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2578
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2579
+ lazy: BooleanConstructor;
2580
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2581
+ objectFit: {
2582
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2583
+ default: string;
2584
+ };
2585
+ previewSrc: StringConstructor;
2586
+ fallbackSrc: StringConstructor;
2587
+ width: import('vue').PropType<string | number>;
2588
+ src: StringConstructor;
2589
+ previewDisabled: BooleanConstructor;
2590
+ loadDescription: StringConstructor;
2591
+ onError: import('vue').PropType<(e: Event) => void>;
2592
+ onLoad: import('vue').PropType<(e: Event) => void>;
2593
+ }>> & Readonly<{}>, {
2594
+ click: () => void;
2595
+ showPreview: () => void;
2596
+ mergedClsPrefix: import('vue').Ref<string, string>;
2597
+ groupId: string | undefined;
2598
+ previewInstRef: import('vue').Ref<{
2599
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
2600
+ } | null, import('naive-ui').ImagePreviewInst | {
2601
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
2602
+ } | null>;
2603
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2604
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2605
+ showError: import('vue').Ref<boolean, boolean>;
2606
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
2607
+ loaded: import('vue').Ref<boolean, boolean>;
2608
+ mergedOnClick: (e: PointerEvent) => void;
2609
+ onPreviewClose: () => void;
2610
+ mergedOnError: (e: Event) => void;
2611
+ mergedOnLoad: (e: Event) => void;
2612
+ previewShow: import('vue').Ref<boolean, boolean>;
2613
+ }, {}, {}, {}, {
2614
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2615
+ lazy: boolean;
2616
+ showToolbar: boolean;
2617
+ showToolbarTooltip: boolean;
2618
+ previewDisabled: boolean;
2619
+ }> | null;
893
2620
  };
894
2621
  $slots: Readonly<{
895
- [name: string]: import('vue').Slot<any>;
2622
+ [name: string]: import('vue').Slot<any> | undefined;
896
2623
  }>;
897
2624
  $root: import('vue').ComponentPublicInstance | null;
898
2625
  $parent: import('vue').ComponentPublicInstance | null;
@@ -900,7 +2627,7 @@ export declare const Comp: {
900
2627
  $emit: ((event: "load", ...args: any[]) => void) & ((event: "click") => void) & ((event: "error") => void);
901
2628
  $el: any;
902
2629
  $options: import('vue').ComponentOptionsBase<Readonly<{
903
- src?: import('./struct/image').Image_;
2630
+ src?: import('./struct/image.ts').Image_;
904
2631
  alt?: string;
905
2632
  previewable?: boolean;
906
2633
  retryMax?: number;
@@ -917,22 +2644,387 @@ export declare const Comp: {
917
2644
  error: Set<string>;
918
2645
  };
919
2646
  fetchpriority?: "high" | "low" | "auto";
920
- fallback?: import('./struct/image').Image_;
2647
+ fallback?: import('./struct/image.ts').Image_;
921
2648
  }> & Readonly<{
922
- onLoad?: (...args: any[]) => any;
923
- onClick?: () => any;
924
- onError?: () => any;
2649
+ onLoad?: ((...args: any[]) => any) | undefined;
2650
+ onClick?: (() => any) | undefined;
2651
+ onError?: (() => any) | undefined;
925
2652
  }>, {
926
2653
  isLoaded: import('vue').ComputedRef<boolean>;
927
- imageEl: any;
928
- imageIns: unknown;
2654
+ imageEl: HTMLImageElement | null | undefined;
2655
+ imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
2656
+ onPreviewPrev: import('vue').PropType<() => void>;
2657
+ onPreviewNext: import('vue').PropType<() => void>;
2658
+ showToolbar: {
2659
+ type: BooleanConstructor;
2660
+ default: boolean;
2661
+ };
2662
+ showToolbarTooltip: BooleanConstructor;
2663
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2664
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2665
+ toolbarIconColor: string;
2666
+ toolbarColor: string;
2667
+ toolbarBoxShadow: string;
2668
+ toolbarBorderRadius: string;
2669
+ }, {
2670
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2671
+ borderRadius: string;
2672
+ boxShadow: string;
2673
+ color: string;
2674
+ textColor: string;
2675
+ padding: string;
2676
+ }, {
2677
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2678
+ fontSize: string;
2679
+ borderRadius: string;
2680
+ color: string;
2681
+ dividerColor: string;
2682
+ textColor: string;
2683
+ boxShadow: string;
2684
+ space: string;
2685
+ spaceArrow: string;
2686
+ arrowOffset: string;
2687
+ arrowOffsetVertical: string;
2688
+ arrowHeight: string;
2689
+ padding: string;
2690
+ }, {
2691
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2692
+ height: string;
2693
+ width: string;
2694
+ borderRadius: string;
2695
+ color: string;
2696
+ colorHover: string;
2697
+ railInsetHorizontalBottom: string;
2698
+ railInsetHorizontalTop: string;
2699
+ railInsetVerticalRight: string;
2700
+ railInsetVerticalLeft: string;
2701
+ railColor: string;
2702
+ }, any>;
2703
+ }>;
2704
+ }>;
2705
+ }>>;
2706
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2707
+ toolbarIconColor: string;
2708
+ toolbarColor: string;
2709
+ toolbarBoxShadow: string;
2710
+ toolbarBorderRadius: string;
2711
+ }, {
2712
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2713
+ borderRadius: string;
2714
+ boxShadow: string;
2715
+ color: string;
2716
+ textColor: string;
2717
+ padding: string;
2718
+ }, {
2719
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2720
+ fontSize: string;
2721
+ borderRadius: string;
2722
+ color: string;
2723
+ dividerColor: string;
2724
+ textColor: string;
2725
+ boxShadow: string;
2726
+ space: string;
2727
+ spaceArrow: string;
2728
+ arrowOffset: string;
2729
+ arrowOffsetVertical: string;
2730
+ arrowHeight: string;
2731
+ padding: string;
2732
+ }, {
2733
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2734
+ height: string;
2735
+ width: string;
2736
+ borderRadius: string;
2737
+ color: string;
2738
+ colorHover: string;
2739
+ railInsetHorizontalBottom: string;
2740
+ railInsetHorizontalTop: string;
2741
+ railInsetVerticalRight: string;
2742
+ railInsetVerticalLeft: string;
2743
+ railColor: string;
2744
+ }, any>;
2745
+ }>;
2746
+ }>;
2747
+ }>>>;
2748
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2749
+ toolbarIconColor: string;
2750
+ toolbarColor: string;
2751
+ toolbarBoxShadow: string;
2752
+ toolbarBorderRadius: string;
2753
+ }, {
2754
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2755
+ borderRadius: string;
2756
+ boxShadow: string;
2757
+ color: string;
2758
+ textColor: string;
2759
+ padding: string;
2760
+ }, {
2761
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2762
+ fontSize: string;
2763
+ borderRadius: string;
2764
+ color: string;
2765
+ dividerColor: string;
2766
+ textColor: string;
2767
+ boxShadow: string;
2768
+ space: string;
2769
+ spaceArrow: string;
2770
+ arrowOffset: string;
2771
+ arrowOffsetVertical: string;
2772
+ arrowHeight: string;
2773
+ padding: string;
2774
+ }, {
2775
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2776
+ height: string;
2777
+ width: string;
2778
+ borderRadius: string;
2779
+ color: string;
2780
+ colorHover: string;
2781
+ railInsetHorizontalBottom: string;
2782
+ railInsetHorizontalTop: string;
2783
+ railInsetVerticalRight: string;
2784
+ railInsetVerticalLeft: string;
2785
+ railColor: string;
2786
+ }, any>;
2787
+ }>;
2788
+ }>;
2789
+ }>>>;
2790
+ alt: StringConstructor;
2791
+ height: import('vue').PropType<string | number>;
2792
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2793
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2794
+ lazy: BooleanConstructor;
2795
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2796
+ objectFit: {
2797
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2798
+ default: string;
2799
+ };
2800
+ previewSrc: StringConstructor;
2801
+ fallbackSrc: StringConstructor;
2802
+ width: import('vue').PropType<string | number>;
2803
+ src: StringConstructor;
2804
+ previewDisabled: BooleanConstructor;
2805
+ loadDescription: StringConstructor;
2806
+ onError: import('vue').PropType<(e: Event) => void>;
2807
+ onLoad: import('vue').PropType<(e: Event) => void>;
2808
+ }>> & Readonly<{}>, {
2809
+ click: () => void;
2810
+ showPreview: () => void;
2811
+ mergedClsPrefix: import('vue').Ref<string, string>;
2812
+ groupId: string | undefined;
2813
+ previewInstRef: import('vue').Ref<{
2814
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
2815
+ } | null, import('naive-ui').ImagePreviewInst | {
2816
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
2817
+ } | null>;
2818
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2819
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2820
+ showError: import('vue').Ref<boolean, boolean>;
2821
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
2822
+ loaded: import('vue').Ref<boolean, boolean>;
2823
+ mergedOnClick: (e: PointerEvent) => void;
2824
+ onPreviewClose: () => void;
2825
+ mergedOnError: (e: Event) => void;
2826
+ mergedOnLoad: (e: Event) => void;
2827
+ previewShow: import('vue').Ref<boolean, boolean>;
2828
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2829
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2830
+ lazy: boolean;
2831
+ showToolbar: boolean;
2832
+ showToolbarTooltip: boolean;
2833
+ previewDisabled: boolean;
2834
+ }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2835
+ P: {};
2836
+ B: {};
2837
+ D: {};
2838
+ C: {};
2839
+ M: {};
2840
+ Defaults: {};
2841
+ }, Readonly<import('vue').ExtractPropTypes<{
2842
+ onPreviewPrev: import('vue').PropType<() => void>;
2843
+ onPreviewNext: import('vue').PropType<() => void>;
2844
+ showToolbar: {
2845
+ type: BooleanConstructor;
2846
+ default: boolean;
2847
+ };
2848
+ showToolbarTooltip: BooleanConstructor;
2849
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2850
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2851
+ toolbarIconColor: string;
2852
+ toolbarColor: string;
2853
+ toolbarBoxShadow: string;
2854
+ toolbarBorderRadius: string;
2855
+ }, {
2856
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2857
+ borderRadius: string;
2858
+ boxShadow: string;
2859
+ color: string;
2860
+ textColor: string;
2861
+ padding: string;
2862
+ }, {
2863
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2864
+ fontSize: string;
2865
+ borderRadius: string;
2866
+ color: string;
2867
+ dividerColor: string;
2868
+ textColor: string;
2869
+ boxShadow: string;
2870
+ space: string;
2871
+ spaceArrow: string;
2872
+ arrowOffset: string;
2873
+ arrowOffsetVertical: string;
2874
+ arrowHeight: string;
2875
+ padding: string;
2876
+ }, {
2877
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2878
+ height: string;
2879
+ width: string;
2880
+ borderRadius: string;
2881
+ color: string;
2882
+ colorHover: string;
2883
+ railInsetHorizontalBottom: string;
2884
+ railInsetHorizontalTop: string;
2885
+ railInsetVerticalRight: string;
2886
+ railInsetVerticalLeft: string;
2887
+ railColor: string;
2888
+ }, any>;
2889
+ }>;
2890
+ }>;
2891
+ }>>;
2892
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2893
+ toolbarIconColor: string;
2894
+ toolbarColor: string;
2895
+ toolbarBoxShadow: string;
2896
+ toolbarBorderRadius: string;
2897
+ }, {
2898
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2899
+ borderRadius: string;
2900
+ boxShadow: string;
2901
+ color: string;
2902
+ textColor: string;
2903
+ padding: string;
2904
+ }, {
2905
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2906
+ fontSize: string;
2907
+ borderRadius: string;
2908
+ color: string;
2909
+ dividerColor: string;
2910
+ textColor: string;
2911
+ boxShadow: string;
2912
+ space: string;
2913
+ spaceArrow: string;
2914
+ arrowOffset: string;
2915
+ arrowOffsetVertical: string;
2916
+ arrowHeight: string;
2917
+ padding: string;
2918
+ }, {
2919
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2920
+ height: string;
2921
+ width: string;
2922
+ borderRadius: string;
2923
+ color: string;
2924
+ colorHover: string;
2925
+ railInsetHorizontalBottom: string;
2926
+ railInsetHorizontalTop: string;
2927
+ railInsetVerticalRight: string;
2928
+ railInsetVerticalLeft: string;
2929
+ railColor: string;
2930
+ }, any>;
2931
+ }>;
2932
+ }>;
2933
+ }>>>;
2934
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2935
+ toolbarIconColor: string;
2936
+ toolbarColor: string;
2937
+ toolbarBoxShadow: string;
2938
+ toolbarBorderRadius: string;
2939
+ }, {
2940
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2941
+ borderRadius: string;
2942
+ boxShadow: string;
2943
+ color: string;
2944
+ textColor: string;
2945
+ padding: string;
2946
+ }, {
2947
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2948
+ fontSize: string;
2949
+ borderRadius: string;
2950
+ color: string;
2951
+ dividerColor: string;
2952
+ textColor: string;
2953
+ boxShadow: string;
2954
+ space: string;
2955
+ spaceArrow: string;
2956
+ arrowOffset: string;
2957
+ arrowOffsetVertical: string;
2958
+ arrowHeight: string;
2959
+ padding: string;
2960
+ }, {
2961
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2962
+ height: string;
2963
+ width: string;
2964
+ borderRadius: string;
2965
+ color: string;
2966
+ colorHover: string;
2967
+ railInsetHorizontalBottom: string;
2968
+ railInsetHorizontalTop: string;
2969
+ railInsetVerticalRight: string;
2970
+ railInsetVerticalLeft: string;
2971
+ railColor: string;
2972
+ }, any>;
2973
+ }>;
2974
+ }>;
2975
+ }>>>;
2976
+ alt: StringConstructor;
2977
+ height: import('vue').PropType<string | number>;
2978
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2979
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2980
+ lazy: BooleanConstructor;
2981
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2982
+ objectFit: {
2983
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2984
+ default: string;
2985
+ };
2986
+ previewSrc: StringConstructor;
2987
+ fallbackSrc: StringConstructor;
2988
+ width: import('vue').PropType<string | number>;
2989
+ src: StringConstructor;
2990
+ previewDisabled: BooleanConstructor;
2991
+ loadDescription: StringConstructor;
2992
+ onError: import('vue').PropType<(e: Event) => void>;
2993
+ onLoad: import('vue').PropType<(e: Event) => void>;
2994
+ }>> & Readonly<{}>, {
2995
+ click: () => void;
2996
+ showPreview: () => void;
2997
+ mergedClsPrefix: import('vue').Ref<string, string>;
2998
+ groupId: string | undefined;
2999
+ previewInstRef: import('vue').Ref<{
3000
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
3001
+ } | null, import('naive-ui').ImagePreviewInst | {
3002
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
3003
+ } | null>;
3004
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
3005
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
3006
+ showError: import('vue').Ref<boolean, boolean>;
3007
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
3008
+ loaded: import('vue').Ref<boolean, boolean>;
3009
+ mergedOnClick: (e: PointerEvent) => void;
3010
+ onPreviewClose: () => void;
3011
+ mergedOnError: (e: Event) => void;
3012
+ mergedOnLoad: (e: Event) => void;
3013
+ previewShow: import('vue').Ref<boolean, boolean>;
3014
+ }, {}, {}, {}, {
3015
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
3016
+ lazy: boolean;
3017
+ showToolbar: boolean;
3018
+ showToolbarTooltip: boolean;
3019
+ previewDisabled: boolean;
3020
+ }> | null;
929
3021
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
930
3022
  load: (...args: any[]) => any;
931
3023
  click: () => any;
932
3024
  error: () => any;
933
3025
  }, string, {
934
- fetchpriority: "high" | "low" | "auto";
935
3026
  retryMax: number;
3027
+ fetchpriority: "high" | "low" | "auto";
936
3028
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
937
3029
  beforeCreate?: (() => void) | (() => void)[];
938
3030
  created?: (() => void) | (() => void)[];
@@ -954,10 +3046,10 @@ export declare const Comp: {
954
3046
  $nextTick: typeof import('vue').nextTick;
955
3047
  $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;
956
3048
  } & Readonly<{
957
- fetchpriority: "high" | "low" | "auto";
958
3049
  retryMax: number;
3050
+ fetchpriority: "high" | "low" | "auto";
959
3051
  }> & Omit<Readonly<{
960
- src?: import('./struct/image').Image_;
3052
+ src?: import('./struct/image.ts').Image_;
961
3053
  alt?: string;
962
3054
  previewable?: boolean;
963
3055
  retryMax?: number;
@@ -974,15 +3066,380 @@ export declare const Comp: {
974
3066
  error: Set<string>;
975
3067
  };
976
3068
  fetchpriority?: "high" | "low" | "auto";
977
- fallback?: import('./struct/image').Image_;
3069
+ fallback?: import('./struct/image.ts').Image_;
978
3070
  }> & Readonly<{
979
- onLoad?: (...args: any[]) => any;
980
- onClick?: () => any;
981
- onError?: () => any;
982
- }>, ("fetchpriority" | "retryMax") | "isLoaded" | "imageEl" | "imageIns"> & import('vue').ShallowUnwrapRef<{
3071
+ onLoad?: ((...args: any[]) => any) | undefined;
3072
+ onClick?: (() => any) | undefined;
3073
+ onError?: (() => any) | undefined;
3074
+ }>, ("retryMax" | "fetchpriority") | "isLoaded" | "imageEl" | "imageIns"> & import('vue').ShallowUnwrapRef<{
983
3075
  isLoaded: import('vue').ComputedRef<boolean>;
984
- imageEl: any;
985
- imageIns: unknown;
3076
+ imageEl: HTMLImageElement | null | undefined;
3077
+ imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3078
+ onPreviewPrev: import('vue').PropType<() => void>;
3079
+ onPreviewNext: import('vue').PropType<() => void>;
3080
+ showToolbar: {
3081
+ type: BooleanConstructor;
3082
+ default: boolean;
3083
+ };
3084
+ showToolbarTooltip: BooleanConstructor;
3085
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
3086
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3087
+ toolbarIconColor: string;
3088
+ toolbarColor: string;
3089
+ toolbarBoxShadow: string;
3090
+ toolbarBorderRadius: string;
3091
+ }, {
3092
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3093
+ borderRadius: string;
3094
+ boxShadow: string;
3095
+ color: string;
3096
+ textColor: string;
3097
+ padding: string;
3098
+ }, {
3099
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3100
+ fontSize: string;
3101
+ borderRadius: string;
3102
+ color: string;
3103
+ dividerColor: string;
3104
+ textColor: string;
3105
+ boxShadow: string;
3106
+ space: string;
3107
+ spaceArrow: string;
3108
+ arrowOffset: string;
3109
+ arrowOffsetVertical: string;
3110
+ arrowHeight: string;
3111
+ padding: string;
3112
+ }, {
3113
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3114
+ height: string;
3115
+ width: string;
3116
+ borderRadius: string;
3117
+ color: string;
3118
+ colorHover: string;
3119
+ railInsetHorizontalBottom: string;
3120
+ railInsetHorizontalTop: string;
3121
+ railInsetVerticalRight: string;
3122
+ railInsetVerticalLeft: string;
3123
+ railColor: string;
3124
+ }, any>;
3125
+ }>;
3126
+ }>;
3127
+ }>>;
3128
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3129
+ toolbarIconColor: string;
3130
+ toolbarColor: string;
3131
+ toolbarBoxShadow: string;
3132
+ toolbarBorderRadius: string;
3133
+ }, {
3134
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3135
+ borderRadius: string;
3136
+ boxShadow: string;
3137
+ color: string;
3138
+ textColor: string;
3139
+ padding: string;
3140
+ }, {
3141
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3142
+ fontSize: string;
3143
+ borderRadius: string;
3144
+ color: string;
3145
+ dividerColor: string;
3146
+ textColor: string;
3147
+ boxShadow: string;
3148
+ space: string;
3149
+ spaceArrow: string;
3150
+ arrowOffset: string;
3151
+ arrowOffsetVertical: string;
3152
+ arrowHeight: string;
3153
+ padding: string;
3154
+ }, {
3155
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3156
+ height: string;
3157
+ width: string;
3158
+ borderRadius: string;
3159
+ color: string;
3160
+ colorHover: string;
3161
+ railInsetHorizontalBottom: string;
3162
+ railInsetHorizontalTop: string;
3163
+ railInsetVerticalRight: string;
3164
+ railInsetVerticalLeft: string;
3165
+ railColor: string;
3166
+ }, any>;
3167
+ }>;
3168
+ }>;
3169
+ }>>>;
3170
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3171
+ toolbarIconColor: string;
3172
+ toolbarColor: string;
3173
+ toolbarBoxShadow: string;
3174
+ toolbarBorderRadius: string;
3175
+ }, {
3176
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3177
+ borderRadius: string;
3178
+ boxShadow: string;
3179
+ color: string;
3180
+ textColor: string;
3181
+ padding: string;
3182
+ }, {
3183
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3184
+ fontSize: string;
3185
+ borderRadius: string;
3186
+ color: string;
3187
+ dividerColor: string;
3188
+ textColor: string;
3189
+ boxShadow: string;
3190
+ space: string;
3191
+ spaceArrow: string;
3192
+ arrowOffset: string;
3193
+ arrowOffsetVertical: string;
3194
+ arrowHeight: string;
3195
+ padding: string;
3196
+ }, {
3197
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3198
+ height: string;
3199
+ width: string;
3200
+ borderRadius: string;
3201
+ color: string;
3202
+ colorHover: string;
3203
+ railInsetHorizontalBottom: string;
3204
+ railInsetHorizontalTop: string;
3205
+ railInsetVerticalRight: string;
3206
+ railInsetVerticalLeft: string;
3207
+ railColor: string;
3208
+ }, any>;
3209
+ }>;
3210
+ }>;
3211
+ }>>>;
3212
+ alt: StringConstructor;
3213
+ height: import('vue').PropType<string | number>;
3214
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
3215
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
3216
+ lazy: BooleanConstructor;
3217
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
3218
+ objectFit: {
3219
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
3220
+ default: string;
3221
+ };
3222
+ previewSrc: StringConstructor;
3223
+ fallbackSrc: StringConstructor;
3224
+ width: import('vue').PropType<string | number>;
3225
+ src: StringConstructor;
3226
+ previewDisabled: BooleanConstructor;
3227
+ loadDescription: StringConstructor;
3228
+ onError: import('vue').PropType<(e: Event) => void>;
3229
+ onLoad: import('vue').PropType<(e: Event) => void>;
3230
+ }>> & Readonly<{}>, {
3231
+ click: () => void;
3232
+ showPreview: () => void;
3233
+ mergedClsPrefix: import('vue').Ref<string, string>;
3234
+ groupId: string | undefined;
3235
+ previewInstRef: import('vue').Ref<{
3236
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
3237
+ } | null, import('naive-ui').ImagePreviewInst | {
3238
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
3239
+ } | null>;
3240
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
3241
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
3242
+ showError: import('vue').Ref<boolean, boolean>;
3243
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
3244
+ loaded: import('vue').Ref<boolean, boolean>;
3245
+ mergedOnClick: (e: PointerEvent) => void;
3246
+ onPreviewClose: () => void;
3247
+ mergedOnError: (e: Event) => void;
3248
+ mergedOnLoad: (e: Event) => void;
3249
+ previewShow: import('vue').Ref<boolean, boolean>;
3250
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
3251
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
3252
+ lazy: boolean;
3253
+ showToolbar: boolean;
3254
+ showToolbarTooltip: boolean;
3255
+ previewDisabled: boolean;
3256
+ }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3257
+ P: {};
3258
+ B: {};
3259
+ D: {};
3260
+ C: {};
3261
+ M: {};
3262
+ Defaults: {};
3263
+ }, Readonly<import('vue').ExtractPropTypes<{
3264
+ onPreviewPrev: import('vue').PropType<() => void>;
3265
+ onPreviewNext: import('vue').PropType<() => void>;
3266
+ showToolbar: {
3267
+ type: BooleanConstructor;
3268
+ default: boolean;
3269
+ };
3270
+ showToolbarTooltip: BooleanConstructor;
3271
+ renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
3272
+ theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3273
+ toolbarIconColor: string;
3274
+ toolbarColor: string;
3275
+ toolbarBoxShadow: string;
3276
+ toolbarBorderRadius: string;
3277
+ }, {
3278
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3279
+ borderRadius: string;
3280
+ boxShadow: string;
3281
+ color: string;
3282
+ textColor: string;
3283
+ padding: string;
3284
+ }, {
3285
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3286
+ fontSize: string;
3287
+ borderRadius: string;
3288
+ color: string;
3289
+ dividerColor: string;
3290
+ textColor: string;
3291
+ boxShadow: string;
3292
+ space: string;
3293
+ spaceArrow: string;
3294
+ arrowOffset: string;
3295
+ arrowOffsetVertical: string;
3296
+ arrowHeight: string;
3297
+ padding: string;
3298
+ }, {
3299
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3300
+ height: string;
3301
+ width: string;
3302
+ borderRadius: string;
3303
+ color: string;
3304
+ colorHover: string;
3305
+ railInsetHorizontalBottom: string;
3306
+ railInsetHorizontalTop: string;
3307
+ railInsetVerticalRight: string;
3308
+ railInsetVerticalLeft: string;
3309
+ railColor: string;
3310
+ }, any>;
3311
+ }>;
3312
+ }>;
3313
+ }>>;
3314
+ themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3315
+ toolbarIconColor: string;
3316
+ toolbarColor: string;
3317
+ toolbarBoxShadow: string;
3318
+ toolbarBorderRadius: string;
3319
+ }, {
3320
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3321
+ borderRadius: string;
3322
+ boxShadow: string;
3323
+ color: string;
3324
+ textColor: string;
3325
+ padding: string;
3326
+ }, {
3327
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3328
+ fontSize: string;
3329
+ borderRadius: string;
3330
+ color: string;
3331
+ dividerColor: string;
3332
+ textColor: string;
3333
+ boxShadow: string;
3334
+ space: string;
3335
+ spaceArrow: string;
3336
+ arrowOffset: string;
3337
+ arrowOffsetVertical: string;
3338
+ arrowHeight: string;
3339
+ padding: string;
3340
+ }, {
3341
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3342
+ height: string;
3343
+ width: string;
3344
+ borderRadius: string;
3345
+ color: string;
3346
+ colorHover: string;
3347
+ railInsetHorizontalBottom: string;
3348
+ railInsetHorizontalTop: string;
3349
+ railInsetVerticalRight: string;
3350
+ railInsetVerticalLeft: string;
3351
+ railColor: string;
3352
+ }, any>;
3353
+ }>;
3354
+ }>;
3355
+ }>>>;
3356
+ builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3357
+ toolbarIconColor: string;
3358
+ toolbarColor: string;
3359
+ toolbarBoxShadow: string;
3360
+ toolbarBorderRadius: string;
3361
+ }, {
3362
+ Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3363
+ borderRadius: string;
3364
+ boxShadow: string;
3365
+ color: string;
3366
+ textColor: string;
3367
+ padding: string;
3368
+ }, {
3369
+ Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3370
+ fontSize: string;
3371
+ borderRadius: string;
3372
+ color: string;
3373
+ dividerColor: string;
3374
+ textColor: string;
3375
+ boxShadow: string;
3376
+ space: string;
3377
+ spaceArrow: string;
3378
+ arrowOffset: string;
3379
+ arrowOffsetVertical: string;
3380
+ arrowHeight: string;
3381
+ padding: string;
3382
+ }, {
3383
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3384
+ height: string;
3385
+ width: string;
3386
+ borderRadius: string;
3387
+ color: string;
3388
+ colorHover: string;
3389
+ railInsetHorizontalBottom: string;
3390
+ railInsetHorizontalTop: string;
3391
+ railInsetVerticalRight: string;
3392
+ railInsetVerticalLeft: string;
3393
+ railColor: string;
3394
+ }, any>;
3395
+ }>;
3396
+ }>;
3397
+ }>>>;
3398
+ alt: StringConstructor;
3399
+ height: import('vue').PropType<string | number>;
3400
+ imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
3401
+ previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
3402
+ lazy: BooleanConstructor;
3403
+ intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
3404
+ objectFit: {
3405
+ type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
3406
+ default: string;
3407
+ };
3408
+ previewSrc: StringConstructor;
3409
+ fallbackSrc: StringConstructor;
3410
+ width: import('vue').PropType<string | number>;
3411
+ src: StringConstructor;
3412
+ previewDisabled: BooleanConstructor;
3413
+ loadDescription: StringConstructor;
3414
+ onError: import('vue').PropType<(e: Event) => void>;
3415
+ onLoad: import('vue').PropType<(e: Event) => void>;
3416
+ }>> & Readonly<{}>, {
3417
+ click: () => void;
3418
+ showPreview: () => void;
3419
+ mergedClsPrefix: import('vue').Ref<string, string>;
3420
+ groupId: string | undefined;
3421
+ previewInstRef: import('vue').Ref<{
3422
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
3423
+ } | null, import('naive-ui').ImagePreviewInst | {
3424
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
3425
+ } | null>;
3426
+ imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
3427
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
3428
+ showError: import('vue').Ref<boolean, boolean>;
3429
+ shouldStartLoading: import('vue').Ref<boolean, boolean>;
3430
+ loaded: import('vue').Ref<boolean, boolean>;
3431
+ mergedOnClick: (e: PointerEvent) => void;
3432
+ onPreviewClose: () => void;
3433
+ mergedOnError: (e: Event) => void;
3434
+ mergedOnLoad: (e: Event) => void;
3435
+ previewShow: import('vue').Ref<boolean, boolean>;
3436
+ }, {}, {}, {}, {
3437
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
3438
+ lazy: boolean;
3439
+ showToolbar: boolean;
3440
+ showToolbarTooltip: boolean;
3441
+ previewDisabled: boolean;
3442
+ }> | null;
986
3443
  }> & {} & import('vue').ComponentCustomProperties & {} & {
987
3444
  $slots: Readonly<{
988
3445
  loading?(): any;
@@ -991,7 +3448,7 @@ export declare const Comp: {
991
3448
  loading?(): any;
992
3449
  fail?(): any;
993
3450
  };
994
- };
3451
+ }) | null;
995
3452
  }, any, import('vue').ComponentProvideOptions, {
996
3453
  P: {};
997
3454
  B: {};
@@ -1000,14 +3457,14 @@ export declare const Comp: {
1000
3457
  M: {};
1001
3458
  Defaults: {};
1002
3459
  }, Readonly<{
1003
- item: import('./struct/item').Item | import('./struct/item').RawItem;
3460
+ item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
1004
3461
  freeHeight?: boolean;
1005
3462
  disabled?: boolean;
1006
3463
  type?: "default" | "big" | "small";
1007
3464
  class?: any;
1008
3465
  style?: import('vue').StyleValue;
1009
3466
  }> & Readonly<{
1010
- onClick?: () => any;
3467
+ onClick?: (() => any) | undefined;
1011
3468
  }>, {}, {}, {}, {}, {
1012
3469
  type: "default" | "big" | "small";
1013
3470
  }>;
@@ -1015,14 +3472,14 @@ export declare const Comp: {
1015
3472
  __isTeleport?: never;
1016
3473
  __isSuspense?: never;
1017
3474
  } & import('vue').ComponentOptionsBase<Readonly<{
1018
- item: import('./struct/item').Item | import('./struct/item').RawItem;
3475
+ item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
1019
3476
  freeHeight?: boolean;
1020
3477
  disabled?: boolean;
1021
3478
  type?: "default" | "big" | "small";
1022
3479
  class?: any;
1023
3480
  style?: import('vue').StyleValue;
1024
3481
  }> & Readonly<{
1025
- onClick?: () => any;
3482
+ onClick?: (() => any) | undefined;
1026
3483
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1027
3484
  click: () => any;
1028
3485
  }, string, {
@@ -1031,9 +3488,11 @@ export declare const Comp: {
1031
3488
  $slots: Readonly<{
1032
3489
  default(): void;
1033
3490
  smallTopInfo(): void;
3491
+ cover(): void;
1034
3492
  }> & {
1035
3493
  default(): void;
1036
3494
  smallTopInfo(): void;
3495
+ cover(): void;
1037
3496
  };
1038
3497
  });
1039
3498
  };
@@ -1058,7 +3517,7 @@ export declare namespace Utils {
1058
3517
  export import message = uMessage;
1059
3518
  }
1060
3519
  export declare const Store: {
1061
- useTemp: import('pinia').StoreDefinition<"core:temp", Pick<{
3520
+ useTemp: () => import('pinia').Store<"core:temp", Pick<{
1062
3521
  $apply: <T extends object>(id: string, def: () => T) => import('vue').Reactive<T>;
1063
3522
  $has: (id: string) => boolean;
1064
3523
  $onlyGet: <T extends object>(id: string) => import('vue').Reactive<T>;
@@ -1080,33 +3539,46 @@ export declare const Store: {
1080
3539
  $hasRaw: (id: string) => boolean;
1081
3540
  $onlyGetRaw: <T extends object>(id: string) => import('vue').Reactive<T>;
1082
3541
  }, "$apply" | "$has" | "$onlyGet" | "$applyRaw" | "$hasRaw" | "$onlyGetRaw">>;
1083
- useConfig: import('pinia').StoreDefinition<"config", Pick<{
3542
+ useConfig: () => import('pinia').Store<"config", Pick<{
3543
+ appConfig: {
3544
+ "core.recordHistory": boolean;
3545
+ "core.showAIProject": boolean;
3546
+ "core.darkMode": string;
3547
+ "core.easilyTitle": boolean;
3548
+ };
1084
3549
  isDark: import('vue').ComputedRef<boolean>;
1085
- $useCustomConfig: <T extends Record<string, any>>(plugin: string, defaultConfig: T) => T;
1086
- 'app.read.preloadImageNumbers': number;
1087
- 'app.read.watchFullscreen': boolean;
1088
- 'app.read.twoImage': boolean;
1089
- 'app.search.showAIProject': boolean;
1090
- 'app.darkMode': boolean;
1091
- "app.recordHistory": boolean;
1092
- }, "app.read.preloadImageNumbers" | "app.read.watchFullscreen" | "app.read.twoImage" | "app.search.showAIProject" | "app.darkMode" | "app.recordHistory">, Pick<{
3550
+ form: import('vue').ShallowReactive<Map<string, {
3551
+ form: Record<string, import('./index.ts').UniFormDescription>;
3552
+ value: import('vue').Ref<any>;
3553
+ }>>;
3554
+ $useCustomConfig: <T extends Record<string, Required<Pick<import('./index.ts').UniFormDescription, "defaultValue">> & import('./index.ts').UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: import('./index.ts').UniFormResult<T[K]>; };
3555
+ }, "form" | "appConfig">, Pick<{
3556
+ appConfig: {
3557
+ "core.recordHistory": boolean;
3558
+ "core.showAIProject": boolean;
3559
+ "core.darkMode": string;
3560
+ "core.easilyTitle": boolean;
3561
+ };
1093
3562
  isDark: import('vue').ComputedRef<boolean>;
1094
- $useCustomConfig: <T extends Record<string, any>>(plugin: string, defaultConfig: T) => T;
1095
- 'app.read.preloadImageNumbers': number;
1096
- 'app.read.watchFullscreen': boolean;
1097
- 'app.read.twoImage': boolean;
1098
- 'app.search.showAIProject': boolean;
1099
- 'app.darkMode': boolean;
1100
- "app.recordHistory": boolean;
3563
+ form: import('vue').ShallowReactive<Map<string, {
3564
+ form: Record<string, import('./index.ts').UniFormDescription>;
3565
+ value: import('vue').Ref<any>;
3566
+ }>>;
3567
+ $useCustomConfig: <T extends Record<string, Required<Pick<import('./index.ts').UniFormDescription, "defaultValue">> & import('./index.ts').UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: import('./index.ts').UniFormResult<T[K]>; };
1101
3568
  }, "isDark">, Pick<{
3569
+ appConfig: {
3570
+ "core.recordHistory": boolean;
3571
+ "core.showAIProject": boolean;
3572
+ "core.darkMode": string;
3573
+ "core.easilyTitle": boolean;
3574
+ };
1102
3575
  isDark: import('vue').ComputedRef<boolean>;
1103
- $useCustomConfig: <T extends Record<string, any>>(plugin: string, defaultConfig: T) => T;
1104
- 'app.read.preloadImageNumbers': number;
1105
- 'app.read.watchFullscreen': boolean;
1106
- 'app.read.twoImage': boolean;
1107
- 'app.search.showAIProject': boolean;
1108
- 'app.darkMode': boolean;
1109
- "app.recordHistory": boolean;
3576
+ form: import('vue').ShallowReactive<Map<string, {
3577
+ form: Record<string, import('./index.ts').UniFormDescription>;
3578
+ value: import('vue').Ref<any>;
3579
+ }>>;
3580
+ $useCustomConfig: <T extends Record<string, Required<Pick<import('./index.ts').UniFormDescription, "defaultValue">> & import('./index.ts').UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: import('./index.ts').UniFormResult<T[K]>; };
1110
3581
  }, "$useCustomConfig">>;
1111
3582
  };
1112
- export * from './plugin';
3583
+ export * from './plugin/index';
3584
+ export * from './plugin/define.ts';