delta-comic-core 0.0.2 → 0.0.4

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,3 +1,4 @@
1
+ import { ConfigPointer } from './config';
1
2
  export declare const Comp: {
2
3
  Await: <T extends PromiseLike<unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
3
4
  attrs: any;
@@ -226,7 +227,20 @@ export declare const Comp: {
226
227
  arrowOffsetVertical: string;
227
228
  arrowHeight: string;
228
229
  padding: string;
229
- }, any>;
230
+ }, {
231
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
232
+ height: string;
233
+ width: string;
234
+ borderRadius: string;
235
+ color: string;
236
+ colorHover: string;
237
+ railInsetHorizontalBottom: string;
238
+ railInsetHorizontalTop: string;
239
+ railInsetVerticalRight: string;
240
+ railInsetVerticalLeft: string;
241
+ railColor: string;
242
+ }, any>;
243
+ }>;
230
244
  }>;
231
245
  }>>;
232
246
  themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -255,7 +269,20 @@ export declare const Comp: {
255
269
  arrowOffsetVertical: string;
256
270
  arrowHeight: string;
257
271
  padding: string;
258
- }, any>;
272
+ }, {
273
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
274
+ height: string;
275
+ width: string;
276
+ borderRadius: string;
277
+ color: string;
278
+ colorHover: string;
279
+ railInsetHorizontalBottom: string;
280
+ railInsetHorizontalTop: string;
281
+ railInsetVerticalRight: string;
282
+ railInsetVerticalLeft: string;
283
+ railColor: string;
284
+ }, any>;
285
+ }>;
259
286
  }>;
260
287
  }>>>;
261
288
  builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -284,7 +311,20 @@ export declare const Comp: {
284
311
  arrowOffsetVertical: string;
285
312
  arrowHeight: string;
286
313
  padding: string;
287
- }, any>;
314
+ }, {
315
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
316
+ height: string;
317
+ width: string;
318
+ borderRadius: string;
319
+ color: string;
320
+ colorHover: string;
321
+ railInsetHorizontalBottom: string;
322
+ railInsetHorizontalTop: string;
323
+ railInsetVerticalRight: string;
324
+ railInsetVerticalLeft: string;
325
+ railColor: string;
326
+ }, any>;
327
+ }>;
288
328
  }>;
289
329
  }>>>;
290
330
  alt: StringConstructor;
@@ -307,24 +347,24 @@ export declare const Comp: {
307
347
  onLoad: import('vue').PropType<(e: Event) => void>;
308
348
  }>> & Readonly<{}>, {
309
349
  click: () => void;
350
+ showPreview: () => void;
310
351
  mergedClsPrefix: import('vue').Ref<string, string>;
311
352
  groupId: string | undefined;
312
353
  previewInstRef: import('vue').Ref<{
313
354
  setThumbnailEl: (e: HTMLImageElement | null) => void;
314
- setPreviewSrc: (src?: string) => void;
315
- toggleShow: () => void;
316
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
355
+ } | null, import('naive-ui').ImagePreviewInst | {
317
356
  setThumbnailEl: (e: HTMLImageElement | null) => void;
318
- setPreviewSrc: (src?: string) => void;
319
- toggleShow: () => void;
320
357
  } | null>;
321
358
  imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
359
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
322
360
  showError: import('vue').Ref<boolean, boolean>;
323
361
  shouldStartLoading: import('vue').Ref<boolean, boolean>;
324
362
  loaded: import('vue').Ref<boolean, boolean>;
325
- mergedOnClick: (e: MouseEvent) => void;
363
+ mergedOnClick: (e: PointerEvent) => void;
364
+ onPreviewClose: () => void;
326
365
  mergedOnError: (e: Event) => void;
327
366
  mergedOnLoad: (e: Event) => void;
367
+ previewShow: import('vue').Ref<boolean, boolean>;
328
368
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
329
369
  objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
330
370
  lazy: boolean;
@@ -373,7 +413,20 @@ export declare const Comp: {
373
413
  arrowOffsetVertical: string;
374
414
  arrowHeight: string;
375
415
  padding: string;
376
- }, any>;
416
+ }, {
417
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
418
+ height: string;
419
+ width: string;
420
+ borderRadius: string;
421
+ color: string;
422
+ colorHover: string;
423
+ railInsetHorizontalBottom: string;
424
+ railInsetHorizontalTop: string;
425
+ railInsetVerticalRight: string;
426
+ railInsetVerticalLeft: string;
427
+ railColor: string;
428
+ }, any>;
429
+ }>;
377
430
  }>;
378
431
  }>>;
379
432
  themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -402,7 +455,20 @@ export declare const Comp: {
402
455
  arrowOffsetVertical: string;
403
456
  arrowHeight: string;
404
457
  padding: string;
405
- }, any>;
458
+ }, {
459
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
460
+ height: string;
461
+ width: string;
462
+ borderRadius: string;
463
+ color: string;
464
+ colorHover: string;
465
+ railInsetHorizontalBottom: string;
466
+ railInsetHorizontalTop: string;
467
+ railInsetVerticalRight: string;
468
+ railInsetVerticalLeft: string;
469
+ railColor: string;
470
+ }, any>;
471
+ }>;
406
472
  }>;
407
473
  }>>>;
408
474
  builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -431,7 +497,20 @@ export declare const Comp: {
431
497
  arrowOffsetVertical: string;
432
498
  arrowHeight: string;
433
499
  padding: string;
434
- }, any>;
500
+ }, {
501
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
502
+ height: string;
503
+ width: string;
504
+ borderRadius: string;
505
+ color: string;
506
+ colorHover: string;
507
+ railInsetHorizontalBottom: string;
508
+ railInsetHorizontalTop: string;
509
+ railInsetVerticalRight: string;
510
+ railInsetVerticalLeft: string;
511
+ railColor: string;
512
+ }, any>;
513
+ }>;
435
514
  }>;
436
515
  }>>>;
437
516
  alt: StringConstructor;
@@ -454,24 +533,24 @@ export declare const Comp: {
454
533
  onLoad: import('vue').PropType<(e: Event) => void>;
455
534
  }>> & Readonly<{}>, {
456
535
  click: () => void;
536
+ showPreview: () => void;
457
537
  mergedClsPrefix: import('vue').Ref<string, string>;
458
538
  groupId: string | undefined;
459
539
  previewInstRef: import('vue').Ref<{
460
540
  setThumbnailEl: (e: HTMLImageElement | null) => void;
461
- setPreviewSrc: (src?: string) => void;
462
- toggleShow: () => void;
463
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
541
+ } | null, import('naive-ui').ImagePreviewInst | {
464
542
  setThumbnailEl: (e: HTMLImageElement | null) => void;
465
- setPreviewSrc: (src?: string) => void;
466
- toggleShow: () => void;
467
543
  } | null>;
468
544
  imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
545
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
469
546
  showError: import('vue').Ref<boolean, boolean>;
470
547
  shouldStartLoading: import('vue').Ref<boolean, boolean>;
471
548
  loaded: import('vue').Ref<boolean, boolean>;
472
- mergedOnClick: (e: MouseEvent) => void;
549
+ mergedOnClick: (e: PointerEvent) => void;
550
+ onPreviewClose: () => void;
473
551
  mergedOnError: (e: Event) => void;
474
552
  mergedOnLoad: (e: Event) => void;
553
+ previewShow: import('vue').Ref<boolean, boolean>;
475
554
  }, {}, {}, {}, {
476
555
  objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
477
556
  lazy: boolean;
@@ -522,7 +601,20 @@ export declare const Comp: {
522
601
  arrowOffsetVertical: string;
523
602
  arrowHeight: string;
524
603
  padding: string;
525
- }, any>;
604
+ }, {
605
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
606
+ height: string;
607
+ width: string;
608
+ borderRadius: string;
609
+ color: string;
610
+ colorHover: string;
611
+ railInsetHorizontalBottom: string;
612
+ railInsetHorizontalTop: string;
613
+ railInsetVerticalRight: string;
614
+ railInsetVerticalLeft: string;
615
+ railColor: string;
616
+ }, any>;
617
+ }>;
526
618
  }>;
527
619
  }>>;
528
620
  themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -551,7 +643,20 @@ export declare const Comp: {
551
643
  arrowOffsetVertical: string;
552
644
  arrowHeight: string;
553
645
  padding: string;
554
- }, any>;
646
+ }, {
647
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
648
+ height: string;
649
+ width: string;
650
+ borderRadius: string;
651
+ color: string;
652
+ colorHover: string;
653
+ railInsetHorizontalBottom: string;
654
+ railInsetHorizontalTop: string;
655
+ railInsetVerticalRight: string;
656
+ railInsetVerticalLeft: string;
657
+ railColor: string;
658
+ }, any>;
659
+ }>;
555
660
  }>;
556
661
  }>>>;
557
662
  builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -580,7 +685,20 @@ export declare const Comp: {
580
685
  arrowOffsetVertical: string;
581
686
  arrowHeight: string;
582
687
  padding: string;
583
- }, any>;
688
+ }, {
689
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
690
+ height: string;
691
+ width: string;
692
+ borderRadius: string;
693
+ color: string;
694
+ colorHover: string;
695
+ railInsetHorizontalBottom: string;
696
+ railInsetHorizontalTop: string;
697
+ railInsetVerticalRight: string;
698
+ railInsetVerticalLeft: string;
699
+ railColor: string;
700
+ }, any>;
701
+ }>;
584
702
  }>;
585
703
  }>>>;
586
704
  alt: StringConstructor;
@@ -603,24 +721,24 @@ export declare const Comp: {
603
721
  onLoad: import('vue').PropType<(e: Event) => void>;
604
722
  }>> & Readonly<{}>, {
605
723
  click: () => void;
724
+ showPreview: () => void;
606
725
  mergedClsPrefix: import('vue').Ref<string, string>;
607
726
  groupId: string | undefined;
608
727
  previewInstRef: import('vue').Ref<{
609
728
  setThumbnailEl: (e: HTMLImageElement | null) => void;
610
- setPreviewSrc: (src?: string) => void;
611
- toggleShow: () => void;
612
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
729
+ } | null, import('naive-ui').ImagePreviewInst | {
613
730
  setThumbnailEl: (e: HTMLImageElement | null) => void;
614
- setPreviewSrc: (src?: string) => void;
615
- toggleShow: () => void;
616
731
  } | null>;
617
732
  imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
733
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
618
734
  showError: import('vue').Ref<boolean, boolean>;
619
735
  shouldStartLoading: import('vue').Ref<boolean, boolean>;
620
736
  loaded: import('vue').Ref<boolean, boolean>;
621
- mergedOnClick: (e: MouseEvent) => void;
737
+ mergedOnClick: (e: PointerEvent) => void;
738
+ onPreviewClose: () => void;
622
739
  mergedOnError: (e: Event) => void;
623
740
  mergedOnLoad: (e: Event) => void;
741
+ previewShow: import('vue').Ref<boolean, boolean>;
624
742
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
625
743
  objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
626
744
  lazy: boolean;
@@ -669,7 +787,20 @@ export declare const Comp: {
669
787
  arrowOffsetVertical: string;
670
788
  arrowHeight: string;
671
789
  padding: string;
672
- }, any>;
790
+ }, {
791
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
792
+ height: string;
793
+ width: string;
794
+ borderRadius: string;
795
+ color: string;
796
+ colorHover: string;
797
+ railInsetHorizontalBottom: string;
798
+ railInsetHorizontalTop: string;
799
+ railInsetVerticalRight: string;
800
+ railInsetVerticalLeft: string;
801
+ railColor: string;
802
+ }, any>;
803
+ }>;
673
804
  }>;
674
805
  }>>;
675
806
  themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -698,7 +829,20 @@ export declare const Comp: {
698
829
  arrowOffsetVertical: string;
699
830
  arrowHeight: string;
700
831
  padding: string;
701
- }, any>;
832
+ }, {
833
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
834
+ height: string;
835
+ width: string;
836
+ borderRadius: string;
837
+ color: string;
838
+ colorHover: string;
839
+ railInsetHorizontalBottom: string;
840
+ railInsetHorizontalTop: string;
841
+ railInsetVerticalRight: string;
842
+ railInsetVerticalLeft: string;
843
+ railColor: string;
844
+ }, any>;
845
+ }>;
702
846
  }>;
703
847
  }>>>;
704
848
  builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -727,7 +871,20 @@ export declare const Comp: {
727
871
  arrowOffsetVertical: string;
728
872
  arrowHeight: string;
729
873
  padding: string;
730
- }, any>;
874
+ }, {
875
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
876
+ height: string;
877
+ width: string;
878
+ borderRadius: string;
879
+ color: string;
880
+ colorHover: string;
881
+ railInsetHorizontalBottom: string;
882
+ railInsetHorizontalTop: string;
883
+ railInsetVerticalRight: string;
884
+ railInsetVerticalLeft: string;
885
+ railColor: string;
886
+ }, any>;
887
+ }>;
731
888
  }>;
732
889
  }>>>;
733
890
  alt: StringConstructor;
@@ -750,24 +907,24 @@ export declare const Comp: {
750
907
  onLoad: import('vue').PropType<(e: Event) => void>;
751
908
  }>> & Readonly<{}>, {
752
909
  click: () => void;
910
+ showPreview: () => void;
753
911
  mergedClsPrefix: import('vue').Ref<string, string>;
754
912
  groupId: string | undefined;
755
913
  previewInstRef: import('vue').Ref<{
756
914
  setThumbnailEl: (e: HTMLImageElement | null) => void;
757
- setPreviewSrc: (src?: string) => void;
758
- toggleShow: () => void;
759
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
915
+ } | null, import('naive-ui').ImagePreviewInst | {
760
916
  setThumbnailEl: (e: HTMLImageElement | null) => void;
761
- setPreviewSrc: (src?: string) => void;
762
- toggleShow: () => void;
763
917
  } | null>;
764
918
  imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
919
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
765
920
  showError: import('vue').Ref<boolean, boolean>;
766
921
  shouldStartLoading: import('vue').Ref<boolean, boolean>;
767
922
  loaded: import('vue').Ref<boolean, boolean>;
768
- mergedOnClick: (e: MouseEvent) => void;
923
+ mergedOnClick: (e: PointerEvent) => void;
924
+ onPreviewClose: () => void;
769
925
  mergedOnError: (e: Event) => void;
770
926
  mergedOnLoad: (e: Event) => void;
927
+ previewShow: import('vue').Ref<boolean, boolean>;
771
928
  }, {}, {}, {}, {
772
929
  objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
773
930
  lazy: boolean;
@@ -843,7 +1000,20 @@ export declare const Comp: {
843
1000
  arrowOffsetVertical: string;
844
1001
  arrowHeight: string;
845
1002
  padding: string;
846
- }, any>;
1003
+ }, {
1004
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1005
+ height: string;
1006
+ width: string;
1007
+ borderRadius: string;
1008
+ color: string;
1009
+ colorHover: string;
1010
+ railInsetHorizontalBottom: string;
1011
+ railInsetHorizontalTop: string;
1012
+ railInsetVerticalRight: string;
1013
+ railInsetVerticalLeft: string;
1014
+ railColor: string;
1015
+ }, any>;
1016
+ }>;
847
1017
  }>;
848
1018
  }>>;
849
1019
  themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -872,7 +1042,20 @@ export declare const Comp: {
872
1042
  arrowOffsetVertical: string;
873
1043
  arrowHeight: string;
874
1044
  padding: string;
875
- }, any>;
1045
+ }, {
1046
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1047
+ height: string;
1048
+ width: string;
1049
+ borderRadius: string;
1050
+ color: string;
1051
+ colorHover: string;
1052
+ railInsetHorizontalBottom: string;
1053
+ railInsetHorizontalTop: string;
1054
+ railInsetVerticalRight: string;
1055
+ railInsetVerticalLeft: string;
1056
+ railColor: string;
1057
+ }, any>;
1058
+ }>;
876
1059
  }>;
877
1060
  }>>>;
878
1061
  builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -901,7 +1084,20 @@ export declare const Comp: {
901
1084
  arrowOffsetVertical: string;
902
1085
  arrowHeight: string;
903
1086
  padding: string;
904
- }, any>;
1087
+ }, {
1088
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1089
+ height: string;
1090
+ width: string;
1091
+ borderRadius: string;
1092
+ color: string;
1093
+ colorHover: string;
1094
+ railInsetHorizontalBottom: string;
1095
+ railInsetHorizontalTop: string;
1096
+ railInsetVerticalRight: string;
1097
+ railInsetVerticalLeft: string;
1098
+ railColor: string;
1099
+ }, any>;
1100
+ }>;
905
1101
  }>;
906
1102
  }>>>;
907
1103
  alt: StringConstructor;
@@ -924,24 +1120,24 @@ export declare const Comp: {
924
1120
  onLoad: import('vue').PropType<(e: Event) => void>;
925
1121
  }>> & Readonly<{}>, {
926
1122
  click: () => void;
1123
+ showPreview: () => void;
927
1124
  mergedClsPrefix: import('vue').Ref<string, string>;
928
1125
  groupId: string | undefined;
929
1126
  previewInstRef: import('vue').Ref<{
930
1127
  setThumbnailEl: (e: HTMLImageElement | null) => void;
931
- setPreviewSrc: (src?: string) => void;
932
- toggleShow: () => void;
933
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
1128
+ } | null, import('naive-ui').ImagePreviewInst | {
934
1129
  setThumbnailEl: (e: HTMLImageElement | null) => void;
935
- setPreviewSrc: (src?: string) => void;
936
- toggleShow: () => void;
937
1130
  } | null>;
938
1131
  imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1132
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
939
1133
  showError: import('vue').Ref<boolean, boolean>;
940
1134
  shouldStartLoading: import('vue').Ref<boolean, boolean>;
941
1135
  loaded: import('vue').Ref<boolean, boolean>;
942
- mergedOnClick: (e: MouseEvent) => void;
1136
+ mergedOnClick: (e: PointerEvent) => void;
1137
+ onPreviewClose: () => void;
943
1138
  mergedOnError: (e: Event) => void;
944
1139
  mergedOnLoad: (e: Event) => void;
1140
+ previewShow: import('vue').Ref<boolean, boolean>;
945
1141
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
946
1142
  objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
947
1143
  lazy: boolean;
@@ -990,7 +1186,20 @@ export declare const Comp: {
990
1186
  arrowOffsetVertical: string;
991
1187
  arrowHeight: string;
992
1188
  padding: string;
993
- }, any>;
1189
+ }, {
1190
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1191
+ height: string;
1192
+ width: string;
1193
+ borderRadius: string;
1194
+ color: string;
1195
+ colorHover: string;
1196
+ railInsetHorizontalBottom: string;
1197
+ railInsetHorizontalTop: string;
1198
+ railInsetVerticalRight: string;
1199
+ railInsetVerticalLeft: string;
1200
+ railColor: string;
1201
+ }, any>;
1202
+ }>;
994
1203
  }>;
995
1204
  }>>;
996
1205
  themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -1019,7 +1228,20 @@ export declare const Comp: {
1019
1228
  arrowOffsetVertical: string;
1020
1229
  arrowHeight: string;
1021
1230
  padding: string;
1022
- }, any>;
1231
+ }, {
1232
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1233
+ height: string;
1234
+ width: string;
1235
+ borderRadius: string;
1236
+ color: string;
1237
+ colorHover: string;
1238
+ railInsetHorizontalBottom: string;
1239
+ railInsetHorizontalTop: string;
1240
+ railInsetVerticalRight: string;
1241
+ railInsetVerticalLeft: string;
1242
+ railColor: string;
1243
+ }, any>;
1244
+ }>;
1023
1245
  }>;
1024
1246
  }>>>;
1025
1247
  builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -1048,7 +1270,20 @@ export declare const Comp: {
1048
1270
  arrowOffsetVertical: string;
1049
1271
  arrowHeight: string;
1050
1272
  padding: string;
1051
- }, any>;
1273
+ }, {
1274
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1275
+ height: string;
1276
+ width: string;
1277
+ borderRadius: string;
1278
+ color: string;
1279
+ colorHover: string;
1280
+ railInsetHorizontalBottom: string;
1281
+ railInsetHorizontalTop: string;
1282
+ railInsetVerticalRight: string;
1283
+ railInsetVerticalLeft: string;
1284
+ railColor: string;
1285
+ }, any>;
1286
+ }>;
1052
1287
  }>;
1053
1288
  }>>>;
1054
1289
  alt: StringConstructor;
@@ -1071,24 +1306,24 @@ export declare const Comp: {
1071
1306
  onLoad: import('vue').PropType<(e: Event) => void>;
1072
1307
  }>> & Readonly<{}>, {
1073
1308
  click: () => void;
1309
+ showPreview: () => void;
1074
1310
  mergedClsPrefix: import('vue').Ref<string, string>;
1075
1311
  groupId: string | undefined;
1076
1312
  previewInstRef: import('vue').Ref<{
1077
1313
  setThumbnailEl: (e: HTMLImageElement | null) => void;
1078
- setPreviewSrc: (src?: string) => void;
1079
- toggleShow: () => void;
1080
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
1314
+ } | null, import('naive-ui').ImagePreviewInst | {
1081
1315
  setThumbnailEl: (e: HTMLImageElement | null) => void;
1082
- setPreviewSrc: (src?: string) => void;
1083
- toggleShow: () => void;
1084
1316
  } | null>;
1085
1317
  imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1318
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1086
1319
  showError: import('vue').Ref<boolean, boolean>;
1087
1320
  shouldStartLoading: import('vue').Ref<boolean, boolean>;
1088
1321
  loaded: import('vue').Ref<boolean, boolean>;
1089
- mergedOnClick: (e: MouseEvent) => void;
1322
+ mergedOnClick: (e: PointerEvent) => void;
1323
+ onPreviewClose: () => void;
1090
1324
  mergedOnError: (e: Event) => void;
1091
1325
  mergedOnLoad: (e: Event) => void;
1326
+ previewShow: import('vue').Ref<boolean, boolean>;
1092
1327
  }, {}, {}, {}, {
1093
1328
  objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1094
1329
  lazy: boolean;
@@ -1164,7 +1399,20 @@ export declare const Comp: {
1164
1399
  arrowOffsetVertical: string;
1165
1400
  arrowHeight: string;
1166
1401
  padding: string;
1167
- }, any>;
1402
+ }, {
1403
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1404
+ height: string;
1405
+ width: string;
1406
+ borderRadius: string;
1407
+ color: string;
1408
+ colorHover: string;
1409
+ railInsetHorizontalBottom: string;
1410
+ railInsetHorizontalTop: string;
1411
+ railInsetVerticalRight: string;
1412
+ railInsetVerticalLeft: string;
1413
+ railColor: string;
1414
+ }, any>;
1415
+ }>;
1168
1416
  }>;
1169
1417
  }>>;
1170
1418
  themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -1193,7 +1441,20 @@ export declare const Comp: {
1193
1441
  arrowOffsetVertical: string;
1194
1442
  arrowHeight: string;
1195
1443
  padding: string;
1196
- }, any>;
1444
+ }, {
1445
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1446
+ height: string;
1447
+ width: string;
1448
+ borderRadius: string;
1449
+ color: string;
1450
+ colorHover: string;
1451
+ railInsetHorizontalBottom: string;
1452
+ railInsetHorizontalTop: string;
1453
+ railInsetVerticalRight: string;
1454
+ railInsetVerticalLeft: string;
1455
+ railColor: string;
1456
+ }, any>;
1457
+ }>;
1197
1458
  }>;
1198
1459
  }>>>;
1199
1460
  builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -1222,7 +1483,20 @@ export declare const Comp: {
1222
1483
  arrowOffsetVertical: string;
1223
1484
  arrowHeight: string;
1224
1485
  padding: string;
1225
- }, any>;
1486
+ }, {
1487
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1488
+ height: string;
1489
+ width: string;
1490
+ borderRadius: string;
1491
+ color: string;
1492
+ colorHover: string;
1493
+ railInsetHorizontalBottom: string;
1494
+ railInsetHorizontalTop: string;
1495
+ railInsetVerticalRight: string;
1496
+ railInsetVerticalLeft: string;
1497
+ railColor: string;
1498
+ }, any>;
1499
+ }>;
1226
1500
  }>;
1227
1501
  }>>>;
1228
1502
  alt: StringConstructor;
@@ -1245,24 +1519,24 @@ export declare const Comp: {
1245
1519
  onLoad: import('vue').PropType<(e: Event) => void>;
1246
1520
  }>> & Readonly<{}>, {
1247
1521
  click: () => void;
1522
+ showPreview: () => void;
1248
1523
  mergedClsPrefix: import('vue').Ref<string, string>;
1249
1524
  groupId: string | undefined;
1250
1525
  previewInstRef: import('vue').Ref<{
1251
1526
  setThumbnailEl: (e: HTMLImageElement | null) => void;
1252
- setPreviewSrc: (src?: string) => void;
1253
- toggleShow: () => void;
1254
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
1527
+ } | null, import('naive-ui').ImagePreviewInst | {
1255
1528
  setThumbnailEl: (e: HTMLImageElement | null) => void;
1256
- setPreviewSrc: (src?: string) => void;
1257
- toggleShow: () => void;
1258
1529
  } | null>;
1259
1530
  imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1531
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1260
1532
  showError: import('vue').Ref<boolean, boolean>;
1261
1533
  shouldStartLoading: import('vue').Ref<boolean, boolean>;
1262
1534
  loaded: import('vue').Ref<boolean, boolean>;
1263
- mergedOnClick: (e: MouseEvent) => void;
1535
+ mergedOnClick: (e: PointerEvent) => void;
1536
+ onPreviewClose: () => void;
1264
1537
  mergedOnError: (e: Event) => void;
1265
1538
  mergedOnLoad: (e: Event) => void;
1539
+ previewShow: import('vue').Ref<boolean, boolean>;
1266
1540
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1267
1541
  objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1268
1542
  lazy: boolean;
@@ -1311,7 +1585,20 @@ export declare const Comp: {
1311
1585
  arrowOffsetVertical: string;
1312
1586
  arrowHeight: string;
1313
1587
  padding: string;
1314
- }, any>;
1588
+ }, {
1589
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1590
+ height: string;
1591
+ width: string;
1592
+ borderRadius: string;
1593
+ color: string;
1594
+ colorHover: string;
1595
+ railInsetHorizontalBottom: string;
1596
+ railInsetHorizontalTop: string;
1597
+ railInsetVerticalRight: string;
1598
+ railInsetVerticalLeft: string;
1599
+ railColor: string;
1600
+ }, any>;
1601
+ }>;
1315
1602
  }>;
1316
1603
  }>>;
1317
1604
  themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -1340,7 +1627,20 @@ export declare const Comp: {
1340
1627
  arrowOffsetVertical: string;
1341
1628
  arrowHeight: string;
1342
1629
  padding: string;
1343
- }, any>;
1630
+ }, {
1631
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1632
+ height: string;
1633
+ width: string;
1634
+ borderRadius: string;
1635
+ color: string;
1636
+ colorHover: string;
1637
+ railInsetHorizontalBottom: string;
1638
+ railInsetHorizontalTop: string;
1639
+ railInsetVerticalRight: string;
1640
+ railInsetVerticalLeft: string;
1641
+ railColor: string;
1642
+ }, any>;
1643
+ }>;
1344
1644
  }>;
1345
1645
  }>>>;
1346
1646
  builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
@@ -1369,7 +1669,20 @@ export declare const Comp: {
1369
1669
  arrowOffsetVertical: string;
1370
1670
  arrowHeight: string;
1371
1671
  padding: string;
1372
- }, any>;
1672
+ }, {
1673
+ Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
1674
+ height: string;
1675
+ width: string;
1676
+ borderRadius: string;
1677
+ color: string;
1678
+ colorHover: string;
1679
+ railInsetHorizontalBottom: string;
1680
+ railInsetHorizontalTop: string;
1681
+ railInsetVerticalRight: string;
1682
+ railInsetVerticalLeft: string;
1683
+ railColor: string;
1684
+ }, any>;
1685
+ }>;
1373
1686
  }>;
1374
1687
  }>>>;
1375
1688
  alt: StringConstructor;
@@ -1392,24 +1705,24 @@ export declare const Comp: {
1392
1705
  onLoad: import('vue').PropType<(e: Event) => void>;
1393
1706
  }>> & Readonly<{}>, {
1394
1707
  click: () => void;
1708
+ showPreview: () => void;
1395
1709
  mergedClsPrefix: import('vue').Ref<string, string>;
1396
1710
  groupId: string | undefined;
1397
1711
  previewInstRef: import('vue').Ref<{
1398
1712
  setThumbnailEl: (e: HTMLImageElement | null) => void;
1399
- setPreviewSrc: (src?: string) => void;
1400
- toggleShow: () => void;
1401
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
1713
+ } | null, import('naive-ui').ImagePreviewInst | {
1402
1714
  setThumbnailEl: (e: HTMLImageElement | null) => void;
1403
- setPreviewSrc: (src?: string) => void;
1404
- toggleShow: () => void;
1405
1715
  } | null>;
1406
1716
  imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
1717
+ mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
1407
1718
  showError: import('vue').Ref<boolean, boolean>;
1408
1719
  shouldStartLoading: import('vue').Ref<boolean, boolean>;
1409
1720
  loaded: import('vue').Ref<boolean, boolean>;
1410
- mergedOnClick: (e: MouseEvent) => void;
1721
+ mergedOnClick: (e: PointerEvent) => void;
1722
+ onPreviewClose: () => void;
1411
1723
  mergedOnError: (e: Event) => void;
1412
1724
  mergedOnLoad: (e: Event) => void;
1725
+ previewShow: import('vue').Ref<boolean, boolean>;
1413
1726
  }, {}, {}, {}, {
1414
1727
  objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
1415
1728
  lazy: boolean;
@@ -1890,1066 +2203,6 @@ export declare const Comp: {
1890
2203
  }>) => import('vue').VNode & {
1891
2204
  __ctx?: Awaited<typeof __VLS_setup>;
1892
2205
  };
1893
- content: {
1894
- UnitCard: {
1895
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
1896
- item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
1897
- freeHeight?: boolean;
1898
- disabled?: boolean;
1899
- type?: "default" | "big" | "small";
1900
- class?: any;
1901
- style?: import('vue').StyleValue;
1902
- }> & Readonly<{
1903
- onClick?: (() => any) | undefined;
1904
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1905
- click: () => any;
1906
- }, import('vue').PublicProps, {
1907
- type: "default" | "big" | "small";
1908
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
1909
- container: HTMLDivElement;
1910
- cover: ({
1911
- $: import('vue').ComponentInternalInstance;
1912
- $data: {};
1913
- $props: {
1914
- readonly src?: import('./struct/image.ts').Image_ | undefined;
1915
- readonly alt?: string | undefined;
1916
- readonly previewable?: boolean | undefined;
1917
- readonly retryMax?: number | undefined;
1918
- readonly round?: boolean | undefined;
1919
- readonly fit?: "fill" | "none" | "contain" | "cover" | "scale-down" | undefined;
1920
- readonly class?: any;
1921
- readonly hideLoading?: boolean | undefined;
1922
- readonly hideError?: boolean | undefined;
1923
- readonly inline?: boolean | undefined;
1924
- readonly style?: import('vue').StyleValue;
1925
- readonly imgProp?: import('vue').ImgHTMLAttributes | undefined;
1926
- readonly useList?: {
1927
- loaded: Set<string>;
1928
- error: Set<string>;
1929
- } | undefined;
1930
- readonly fetchpriority?: "high" | "low" | "auto" | undefined;
1931
- readonly fallback?: import('./struct/image.ts').Image_ | undefined;
1932
- readonly onLoad?: ((...args: any[]) => any) | undefined;
1933
- readonly onClick?: (() => any) | undefined;
1934
- readonly onError?: (() => any) | undefined;
1935
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
1936
- $attrs: {
1937
- [x: string]: unknown;
1938
- };
1939
- $refs: {
1940
- [x: string]: unknown;
1941
- } & {
1942
- img: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
1943
- onPreviewPrev: import('vue').PropType<() => void>;
1944
- onPreviewNext: import('vue').PropType<() => void>;
1945
- showToolbar: {
1946
- type: BooleanConstructor;
1947
- default: boolean;
1948
- };
1949
- showToolbarTooltip: BooleanConstructor;
1950
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
1951
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1952
- toolbarIconColor: string;
1953
- toolbarColor: string;
1954
- toolbarBoxShadow: string;
1955
- toolbarBorderRadius: string;
1956
- }, {
1957
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1958
- borderRadius: string;
1959
- boxShadow: string;
1960
- color: string;
1961
- textColor: string;
1962
- padding: string;
1963
- }, {
1964
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1965
- fontSize: string;
1966
- borderRadius: string;
1967
- color: string;
1968
- dividerColor: string;
1969
- textColor: string;
1970
- boxShadow: string;
1971
- space: string;
1972
- spaceArrow: string;
1973
- arrowOffset: string;
1974
- arrowOffsetVertical: string;
1975
- arrowHeight: string;
1976
- padding: string;
1977
- }, any>;
1978
- }>;
1979
- }>>;
1980
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
1981
- toolbarIconColor: string;
1982
- toolbarColor: string;
1983
- toolbarBoxShadow: string;
1984
- toolbarBorderRadius: string;
1985
- }, {
1986
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
1987
- borderRadius: string;
1988
- boxShadow: string;
1989
- color: string;
1990
- textColor: string;
1991
- padding: string;
1992
- }, {
1993
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
1994
- fontSize: string;
1995
- borderRadius: string;
1996
- color: string;
1997
- dividerColor: string;
1998
- textColor: string;
1999
- boxShadow: string;
2000
- space: string;
2001
- spaceArrow: string;
2002
- arrowOffset: string;
2003
- arrowOffsetVertical: string;
2004
- arrowHeight: string;
2005
- padding: string;
2006
- }, any>;
2007
- }>;
2008
- }>>>;
2009
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2010
- toolbarIconColor: string;
2011
- toolbarColor: string;
2012
- toolbarBoxShadow: string;
2013
- toolbarBorderRadius: string;
2014
- }, {
2015
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2016
- borderRadius: string;
2017
- boxShadow: string;
2018
- color: string;
2019
- textColor: string;
2020
- padding: string;
2021
- }, {
2022
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2023
- fontSize: string;
2024
- borderRadius: string;
2025
- color: string;
2026
- dividerColor: string;
2027
- textColor: string;
2028
- boxShadow: string;
2029
- space: string;
2030
- spaceArrow: string;
2031
- arrowOffset: string;
2032
- arrowOffsetVertical: string;
2033
- arrowHeight: string;
2034
- padding: string;
2035
- }, any>;
2036
- }>;
2037
- }>>>;
2038
- alt: StringConstructor;
2039
- height: import('vue').PropType<string | number>;
2040
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2041
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2042
- lazy: BooleanConstructor;
2043
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2044
- objectFit: {
2045
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2046
- default: string;
2047
- };
2048
- previewSrc: StringConstructor;
2049
- fallbackSrc: StringConstructor;
2050
- width: import('vue').PropType<string | number>;
2051
- src: StringConstructor;
2052
- previewDisabled: BooleanConstructor;
2053
- loadDescription: StringConstructor;
2054
- onError: import('vue').PropType<(e: Event) => void>;
2055
- onLoad: import('vue').PropType<(e: Event) => void>;
2056
- }>> & Readonly<{}>, {
2057
- click: () => void;
2058
- mergedClsPrefix: import('vue').Ref<string, string>;
2059
- groupId: string | undefined;
2060
- previewInstRef: import('vue').Ref<{
2061
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2062
- setPreviewSrc: (src?: string) => void;
2063
- toggleShow: () => void;
2064
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
2065
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2066
- setPreviewSrc: (src?: string) => void;
2067
- toggleShow: () => void;
2068
- } | null>;
2069
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2070
- showError: import('vue').Ref<boolean, boolean>;
2071
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2072
- loaded: import('vue').Ref<boolean, boolean>;
2073
- mergedOnClick: (e: MouseEvent) => void;
2074
- mergedOnError: (e: Event) => void;
2075
- mergedOnLoad: (e: Event) => void;
2076
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2077
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2078
- lazy: boolean;
2079
- showToolbar: boolean;
2080
- showToolbarTooltip: boolean;
2081
- previewDisabled: boolean;
2082
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2083
- P: {};
2084
- B: {};
2085
- D: {};
2086
- C: {};
2087
- M: {};
2088
- Defaults: {};
2089
- }, Readonly<import('vue').ExtractPropTypes<{
2090
- onPreviewPrev: import('vue').PropType<() => void>;
2091
- onPreviewNext: import('vue').PropType<() => void>;
2092
- showToolbar: {
2093
- type: BooleanConstructor;
2094
- default: boolean;
2095
- };
2096
- showToolbarTooltip: BooleanConstructor;
2097
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2098
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2099
- toolbarIconColor: string;
2100
- toolbarColor: string;
2101
- toolbarBoxShadow: string;
2102
- toolbarBorderRadius: string;
2103
- }, {
2104
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2105
- borderRadius: string;
2106
- boxShadow: string;
2107
- color: string;
2108
- textColor: string;
2109
- padding: string;
2110
- }, {
2111
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2112
- fontSize: string;
2113
- borderRadius: string;
2114
- color: string;
2115
- dividerColor: string;
2116
- textColor: string;
2117
- boxShadow: string;
2118
- space: string;
2119
- spaceArrow: string;
2120
- arrowOffset: string;
2121
- arrowOffsetVertical: string;
2122
- arrowHeight: string;
2123
- padding: string;
2124
- }, any>;
2125
- }>;
2126
- }>>;
2127
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2128
- toolbarIconColor: string;
2129
- toolbarColor: string;
2130
- toolbarBoxShadow: string;
2131
- toolbarBorderRadius: string;
2132
- }, {
2133
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2134
- borderRadius: string;
2135
- boxShadow: string;
2136
- color: string;
2137
- textColor: string;
2138
- padding: string;
2139
- }, {
2140
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2141
- fontSize: string;
2142
- borderRadius: string;
2143
- color: string;
2144
- dividerColor: string;
2145
- textColor: string;
2146
- boxShadow: string;
2147
- space: string;
2148
- spaceArrow: string;
2149
- arrowOffset: string;
2150
- arrowOffsetVertical: string;
2151
- arrowHeight: string;
2152
- padding: string;
2153
- }, any>;
2154
- }>;
2155
- }>>>;
2156
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2157
- toolbarIconColor: string;
2158
- toolbarColor: string;
2159
- toolbarBoxShadow: string;
2160
- toolbarBorderRadius: string;
2161
- }, {
2162
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2163
- borderRadius: string;
2164
- boxShadow: string;
2165
- color: string;
2166
- textColor: string;
2167
- padding: string;
2168
- }, {
2169
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2170
- fontSize: string;
2171
- borderRadius: string;
2172
- color: string;
2173
- dividerColor: string;
2174
- textColor: string;
2175
- boxShadow: string;
2176
- space: string;
2177
- spaceArrow: string;
2178
- arrowOffset: string;
2179
- arrowOffsetVertical: string;
2180
- arrowHeight: string;
2181
- padding: string;
2182
- }, any>;
2183
- }>;
2184
- }>>>;
2185
- alt: StringConstructor;
2186
- height: import('vue').PropType<string | number>;
2187
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2188
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2189
- lazy: BooleanConstructor;
2190
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2191
- objectFit: {
2192
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2193
- default: string;
2194
- };
2195
- previewSrc: StringConstructor;
2196
- fallbackSrc: StringConstructor;
2197
- width: import('vue').PropType<string | number>;
2198
- src: StringConstructor;
2199
- previewDisabled: BooleanConstructor;
2200
- loadDescription: StringConstructor;
2201
- onError: import('vue').PropType<(e: Event) => void>;
2202
- onLoad: import('vue').PropType<(e: Event) => void>;
2203
- }>> & Readonly<{}>, {
2204
- click: () => void;
2205
- mergedClsPrefix: import('vue').Ref<string, string>;
2206
- groupId: string | undefined;
2207
- previewInstRef: import('vue').Ref<{
2208
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2209
- setPreviewSrc: (src?: string) => void;
2210
- toggleShow: () => void;
2211
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
2212
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2213
- setPreviewSrc: (src?: string) => void;
2214
- toggleShow: () => void;
2215
- } | null>;
2216
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2217
- showError: import('vue').Ref<boolean, boolean>;
2218
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2219
- loaded: import('vue').Ref<boolean, boolean>;
2220
- mergedOnClick: (e: MouseEvent) => void;
2221
- mergedOnError: (e: Event) => void;
2222
- mergedOnLoad: (e: Event) => void;
2223
- }, {}, {}, {}, {
2224
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2225
- lazy: boolean;
2226
- showToolbar: boolean;
2227
- showToolbarTooltip: boolean;
2228
- previewDisabled: boolean;
2229
- }> | null;
2230
- };
2231
- $slots: Readonly<{
2232
- [name: string]: import('vue').Slot<any> | undefined;
2233
- }>;
2234
- $root: import('vue').ComponentPublicInstance | null;
2235
- $parent: import('vue').ComponentPublicInstance | null;
2236
- $host: Element | null;
2237
- $emit: ((event: "load", ...args: any[]) => void) & ((event: "click") => void) & ((event: "error") => void);
2238
- $el: any;
2239
- $options: import('vue').ComponentOptionsBase<Readonly<{
2240
- src?: import('./struct/image.ts').Image_;
2241
- alt?: string;
2242
- previewable?: boolean;
2243
- retryMax?: number;
2244
- round?: boolean;
2245
- fit?: import('naive-ui').ImageProps["objectFit"];
2246
- class?: any;
2247
- hideLoading?: boolean;
2248
- hideError?: boolean;
2249
- inline?: boolean;
2250
- style?: import('vue').StyleValue;
2251
- imgProp?: import('vue').ImgHTMLAttributes;
2252
- useList?: {
2253
- loaded: Set<string>;
2254
- error: Set<string>;
2255
- };
2256
- fetchpriority?: "high" | "low" | "auto";
2257
- fallback?: import('./struct/image.ts').Image_;
2258
- }> & Readonly<{
2259
- onLoad?: ((...args: any[]) => any) | undefined;
2260
- onClick?: (() => any) | undefined;
2261
- onError?: (() => any) | undefined;
2262
- }>, {
2263
- isLoaded: import('vue').ComputedRef<boolean>;
2264
- imageEl: HTMLImageElement | null | undefined;
2265
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
2266
- onPreviewPrev: import('vue').PropType<() => void>;
2267
- onPreviewNext: import('vue').PropType<() => void>;
2268
- showToolbar: {
2269
- type: BooleanConstructor;
2270
- default: boolean;
2271
- };
2272
- showToolbarTooltip: BooleanConstructor;
2273
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2274
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2275
- toolbarIconColor: string;
2276
- toolbarColor: string;
2277
- toolbarBoxShadow: string;
2278
- toolbarBorderRadius: string;
2279
- }, {
2280
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2281
- borderRadius: string;
2282
- boxShadow: string;
2283
- color: string;
2284
- textColor: string;
2285
- padding: string;
2286
- }, {
2287
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2288
- fontSize: string;
2289
- borderRadius: string;
2290
- color: string;
2291
- dividerColor: string;
2292
- textColor: string;
2293
- boxShadow: string;
2294
- space: string;
2295
- spaceArrow: string;
2296
- arrowOffset: string;
2297
- arrowOffsetVertical: string;
2298
- arrowHeight: string;
2299
- padding: string;
2300
- }, any>;
2301
- }>;
2302
- }>>;
2303
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2304
- toolbarIconColor: string;
2305
- toolbarColor: string;
2306
- toolbarBoxShadow: string;
2307
- toolbarBorderRadius: string;
2308
- }, {
2309
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2310
- borderRadius: string;
2311
- boxShadow: string;
2312
- color: string;
2313
- textColor: string;
2314
- padding: string;
2315
- }, {
2316
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2317
- fontSize: string;
2318
- borderRadius: string;
2319
- color: string;
2320
- dividerColor: string;
2321
- textColor: string;
2322
- boxShadow: string;
2323
- space: string;
2324
- spaceArrow: string;
2325
- arrowOffset: string;
2326
- arrowOffsetVertical: string;
2327
- arrowHeight: string;
2328
- padding: string;
2329
- }, any>;
2330
- }>;
2331
- }>>>;
2332
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2333
- toolbarIconColor: string;
2334
- toolbarColor: string;
2335
- toolbarBoxShadow: string;
2336
- toolbarBorderRadius: string;
2337
- }, {
2338
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2339
- borderRadius: string;
2340
- boxShadow: string;
2341
- color: string;
2342
- textColor: string;
2343
- padding: string;
2344
- }, {
2345
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2346
- fontSize: string;
2347
- borderRadius: string;
2348
- color: string;
2349
- dividerColor: string;
2350
- textColor: string;
2351
- boxShadow: string;
2352
- space: string;
2353
- spaceArrow: string;
2354
- arrowOffset: string;
2355
- arrowOffsetVertical: string;
2356
- arrowHeight: string;
2357
- padding: string;
2358
- }, any>;
2359
- }>;
2360
- }>>>;
2361
- alt: StringConstructor;
2362
- height: import('vue').PropType<string | number>;
2363
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2364
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2365
- lazy: BooleanConstructor;
2366
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2367
- objectFit: {
2368
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2369
- default: string;
2370
- };
2371
- previewSrc: StringConstructor;
2372
- fallbackSrc: StringConstructor;
2373
- width: import('vue').PropType<string | number>;
2374
- src: StringConstructor;
2375
- previewDisabled: BooleanConstructor;
2376
- loadDescription: StringConstructor;
2377
- onError: import('vue').PropType<(e: Event) => void>;
2378
- onLoad: import('vue').PropType<(e: Event) => void>;
2379
- }>> & Readonly<{}>, {
2380
- click: () => void;
2381
- mergedClsPrefix: import('vue').Ref<string, string>;
2382
- groupId: string | undefined;
2383
- previewInstRef: import('vue').Ref<{
2384
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2385
- setPreviewSrc: (src?: string) => void;
2386
- toggleShow: () => void;
2387
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
2388
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2389
- setPreviewSrc: (src?: string) => void;
2390
- toggleShow: () => void;
2391
- } | null>;
2392
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2393
- showError: import('vue').Ref<boolean, boolean>;
2394
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2395
- loaded: import('vue').Ref<boolean, boolean>;
2396
- mergedOnClick: (e: MouseEvent) => void;
2397
- mergedOnError: (e: Event) => void;
2398
- mergedOnLoad: (e: Event) => void;
2399
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2400
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2401
- lazy: boolean;
2402
- showToolbar: boolean;
2403
- showToolbarTooltip: boolean;
2404
- previewDisabled: boolean;
2405
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2406
- P: {};
2407
- B: {};
2408
- D: {};
2409
- C: {};
2410
- M: {};
2411
- Defaults: {};
2412
- }, Readonly<import('vue').ExtractPropTypes<{
2413
- onPreviewPrev: import('vue').PropType<() => void>;
2414
- onPreviewNext: import('vue').PropType<() => void>;
2415
- showToolbar: {
2416
- type: BooleanConstructor;
2417
- default: boolean;
2418
- };
2419
- showToolbarTooltip: BooleanConstructor;
2420
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2421
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2422
- toolbarIconColor: string;
2423
- toolbarColor: string;
2424
- toolbarBoxShadow: string;
2425
- toolbarBorderRadius: string;
2426
- }, {
2427
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2428
- borderRadius: string;
2429
- boxShadow: string;
2430
- color: string;
2431
- textColor: string;
2432
- padding: string;
2433
- }, {
2434
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2435
- fontSize: string;
2436
- borderRadius: string;
2437
- color: string;
2438
- dividerColor: string;
2439
- textColor: string;
2440
- boxShadow: string;
2441
- space: string;
2442
- spaceArrow: string;
2443
- arrowOffset: string;
2444
- arrowOffsetVertical: string;
2445
- arrowHeight: string;
2446
- padding: string;
2447
- }, any>;
2448
- }>;
2449
- }>>;
2450
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2451
- toolbarIconColor: string;
2452
- toolbarColor: string;
2453
- toolbarBoxShadow: string;
2454
- toolbarBorderRadius: string;
2455
- }, {
2456
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2457
- borderRadius: string;
2458
- boxShadow: string;
2459
- color: string;
2460
- textColor: string;
2461
- padding: string;
2462
- }, {
2463
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2464
- fontSize: string;
2465
- borderRadius: string;
2466
- color: string;
2467
- dividerColor: string;
2468
- textColor: string;
2469
- boxShadow: string;
2470
- space: string;
2471
- spaceArrow: string;
2472
- arrowOffset: string;
2473
- arrowOffsetVertical: string;
2474
- arrowHeight: string;
2475
- padding: string;
2476
- }, any>;
2477
- }>;
2478
- }>>>;
2479
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2480
- toolbarIconColor: string;
2481
- toolbarColor: string;
2482
- toolbarBoxShadow: string;
2483
- toolbarBorderRadius: string;
2484
- }, {
2485
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2486
- borderRadius: string;
2487
- boxShadow: string;
2488
- color: string;
2489
- textColor: string;
2490
- padding: string;
2491
- }, {
2492
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2493
- fontSize: string;
2494
- borderRadius: string;
2495
- color: string;
2496
- dividerColor: string;
2497
- textColor: string;
2498
- boxShadow: string;
2499
- space: string;
2500
- spaceArrow: string;
2501
- arrowOffset: string;
2502
- arrowOffsetVertical: string;
2503
- arrowHeight: string;
2504
- padding: string;
2505
- }, any>;
2506
- }>;
2507
- }>>>;
2508
- alt: StringConstructor;
2509
- height: import('vue').PropType<string | number>;
2510
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2511
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2512
- lazy: BooleanConstructor;
2513
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2514
- objectFit: {
2515
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2516
- default: string;
2517
- };
2518
- previewSrc: StringConstructor;
2519
- fallbackSrc: StringConstructor;
2520
- width: import('vue').PropType<string | number>;
2521
- src: StringConstructor;
2522
- previewDisabled: BooleanConstructor;
2523
- loadDescription: StringConstructor;
2524
- onError: import('vue').PropType<(e: Event) => void>;
2525
- onLoad: import('vue').PropType<(e: Event) => void>;
2526
- }>> & Readonly<{}>, {
2527
- click: () => void;
2528
- mergedClsPrefix: import('vue').Ref<string, string>;
2529
- groupId: string | undefined;
2530
- previewInstRef: import('vue').Ref<{
2531
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2532
- setPreviewSrc: (src?: string) => void;
2533
- toggleShow: () => void;
2534
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
2535
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2536
- setPreviewSrc: (src?: string) => void;
2537
- toggleShow: () => void;
2538
- } | null>;
2539
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2540
- showError: import('vue').Ref<boolean, boolean>;
2541
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2542
- loaded: import('vue').Ref<boolean, boolean>;
2543
- mergedOnClick: (e: MouseEvent) => void;
2544
- mergedOnError: (e: Event) => void;
2545
- mergedOnLoad: (e: Event) => void;
2546
- }, {}, {}, {}, {
2547
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2548
- lazy: boolean;
2549
- showToolbar: boolean;
2550
- showToolbarTooltip: boolean;
2551
- previewDisabled: boolean;
2552
- }> | null;
2553
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2554
- load: (...args: any[]) => any;
2555
- click: () => any;
2556
- error: () => any;
2557
- }, string, {
2558
- retryMax: number;
2559
- fetchpriority: "high" | "low" | "auto";
2560
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2561
- beforeCreate?: (() => void) | (() => void)[];
2562
- created?: (() => void) | (() => void)[];
2563
- beforeMount?: (() => void) | (() => void)[];
2564
- mounted?: (() => void) | (() => void)[];
2565
- beforeUpdate?: (() => void) | (() => void)[];
2566
- updated?: (() => void) | (() => void)[];
2567
- activated?: (() => void) | (() => void)[];
2568
- deactivated?: (() => void) | (() => void)[];
2569
- beforeDestroy?: (() => void) | (() => void)[];
2570
- beforeUnmount?: (() => void) | (() => void)[];
2571
- destroyed?: (() => void) | (() => void)[];
2572
- unmounted?: (() => void) | (() => void)[];
2573
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2574
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2575
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
2576
- };
2577
- $forceUpdate: () => void;
2578
- $nextTick: typeof import('vue').nextTick;
2579
- $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;
2580
- } & Readonly<{
2581
- retryMax: number;
2582
- fetchpriority: "high" | "low" | "auto";
2583
- }> & Omit<Readonly<{
2584
- src?: import('./struct/image.ts').Image_;
2585
- alt?: string;
2586
- previewable?: boolean;
2587
- retryMax?: number;
2588
- round?: boolean;
2589
- fit?: import('naive-ui').ImageProps["objectFit"];
2590
- class?: any;
2591
- hideLoading?: boolean;
2592
- hideError?: boolean;
2593
- inline?: boolean;
2594
- style?: import('vue').StyleValue;
2595
- imgProp?: import('vue').ImgHTMLAttributes;
2596
- useList?: {
2597
- loaded: Set<string>;
2598
- error: Set<string>;
2599
- };
2600
- fetchpriority?: "high" | "low" | "auto";
2601
- fallback?: import('./struct/image.ts').Image_;
2602
- }> & Readonly<{
2603
- onLoad?: ((...args: any[]) => any) | undefined;
2604
- onClick?: (() => any) | undefined;
2605
- onError?: (() => any) | undefined;
2606
- }>, ("retryMax" | "fetchpriority") | "isLoaded" | "imageEl" | "imageIns"> & import('vue').ShallowUnwrapRef<{
2607
- isLoaded: import('vue').ComputedRef<boolean>;
2608
- imageEl: HTMLImageElement | null | undefined;
2609
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
2610
- onPreviewPrev: import('vue').PropType<() => void>;
2611
- onPreviewNext: import('vue').PropType<() => void>;
2612
- showToolbar: {
2613
- type: BooleanConstructor;
2614
- default: boolean;
2615
- };
2616
- showToolbarTooltip: BooleanConstructor;
2617
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2618
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2619
- toolbarIconColor: string;
2620
- toolbarColor: string;
2621
- toolbarBoxShadow: string;
2622
- toolbarBorderRadius: string;
2623
- }, {
2624
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2625
- borderRadius: string;
2626
- boxShadow: string;
2627
- color: string;
2628
- textColor: string;
2629
- padding: string;
2630
- }, {
2631
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2632
- fontSize: string;
2633
- borderRadius: string;
2634
- color: string;
2635
- dividerColor: string;
2636
- textColor: string;
2637
- boxShadow: string;
2638
- space: string;
2639
- spaceArrow: string;
2640
- arrowOffset: string;
2641
- arrowOffsetVertical: string;
2642
- arrowHeight: string;
2643
- padding: string;
2644
- }, any>;
2645
- }>;
2646
- }>>;
2647
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2648
- toolbarIconColor: string;
2649
- toolbarColor: string;
2650
- toolbarBoxShadow: string;
2651
- toolbarBorderRadius: string;
2652
- }, {
2653
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2654
- borderRadius: string;
2655
- boxShadow: string;
2656
- color: string;
2657
- textColor: string;
2658
- padding: string;
2659
- }, {
2660
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2661
- fontSize: string;
2662
- borderRadius: string;
2663
- color: string;
2664
- dividerColor: string;
2665
- textColor: string;
2666
- boxShadow: string;
2667
- space: string;
2668
- spaceArrow: string;
2669
- arrowOffset: string;
2670
- arrowOffsetVertical: string;
2671
- arrowHeight: string;
2672
- padding: string;
2673
- }, any>;
2674
- }>;
2675
- }>>>;
2676
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2677
- toolbarIconColor: string;
2678
- toolbarColor: string;
2679
- toolbarBoxShadow: string;
2680
- toolbarBorderRadius: string;
2681
- }, {
2682
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2683
- borderRadius: string;
2684
- boxShadow: string;
2685
- color: string;
2686
- textColor: string;
2687
- padding: string;
2688
- }, {
2689
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2690
- fontSize: string;
2691
- borderRadius: string;
2692
- color: string;
2693
- dividerColor: string;
2694
- textColor: string;
2695
- boxShadow: string;
2696
- space: string;
2697
- spaceArrow: string;
2698
- arrowOffset: string;
2699
- arrowOffsetVertical: string;
2700
- arrowHeight: string;
2701
- padding: string;
2702
- }, any>;
2703
- }>;
2704
- }>>>;
2705
- alt: StringConstructor;
2706
- height: import('vue').PropType<string | number>;
2707
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2708
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2709
- lazy: BooleanConstructor;
2710
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2711
- objectFit: {
2712
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2713
- default: string;
2714
- };
2715
- previewSrc: StringConstructor;
2716
- fallbackSrc: StringConstructor;
2717
- width: import('vue').PropType<string | number>;
2718
- src: StringConstructor;
2719
- previewDisabled: BooleanConstructor;
2720
- loadDescription: StringConstructor;
2721
- onError: import('vue').PropType<(e: Event) => void>;
2722
- onLoad: import('vue').PropType<(e: Event) => void>;
2723
- }>> & Readonly<{}>, {
2724
- click: () => void;
2725
- mergedClsPrefix: import('vue').Ref<string, string>;
2726
- groupId: string | undefined;
2727
- previewInstRef: import('vue').Ref<{
2728
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2729
- setPreviewSrc: (src?: string) => void;
2730
- toggleShow: () => void;
2731
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
2732
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2733
- setPreviewSrc: (src?: string) => void;
2734
- toggleShow: () => void;
2735
- } | null>;
2736
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2737
- showError: import('vue').Ref<boolean, boolean>;
2738
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2739
- loaded: import('vue').Ref<boolean, boolean>;
2740
- mergedOnClick: (e: MouseEvent) => void;
2741
- mergedOnError: (e: Event) => void;
2742
- mergedOnLoad: (e: Event) => void;
2743
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2744
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2745
- lazy: boolean;
2746
- showToolbar: boolean;
2747
- showToolbarTooltip: boolean;
2748
- previewDisabled: boolean;
2749
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2750
- P: {};
2751
- B: {};
2752
- D: {};
2753
- C: {};
2754
- M: {};
2755
- Defaults: {};
2756
- }, Readonly<import('vue').ExtractPropTypes<{
2757
- onPreviewPrev: import('vue').PropType<() => void>;
2758
- onPreviewNext: import('vue').PropType<() => void>;
2759
- showToolbar: {
2760
- type: BooleanConstructor;
2761
- default: boolean;
2762
- };
2763
- showToolbarTooltip: BooleanConstructor;
2764
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2765
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2766
- toolbarIconColor: string;
2767
- toolbarColor: string;
2768
- toolbarBoxShadow: string;
2769
- toolbarBorderRadius: string;
2770
- }, {
2771
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2772
- borderRadius: string;
2773
- boxShadow: string;
2774
- color: string;
2775
- textColor: string;
2776
- padding: string;
2777
- }, {
2778
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2779
- fontSize: string;
2780
- borderRadius: string;
2781
- color: string;
2782
- dividerColor: string;
2783
- textColor: string;
2784
- boxShadow: string;
2785
- space: string;
2786
- spaceArrow: string;
2787
- arrowOffset: string;
2788
- arrowOffsetVertical: string;
2789
- arrowHeight: string;
2790
- padding: string;
2791
- }, any>;
2792
- }>;
2793
- }>>;
2794
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2795
- toolbarIconColor: string;
2796
- toolbarColor: string;
2797
- toolbarBoxShadow: string;
2798
- toolbarBorderRadius: string;
2799
- }, {
2800
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2801
- borderRadius: string;
2802
- boxShadow: string;
2803
- color: string;
2804
- textColor: string;
2805
- padding: string;
2806
- }, {
2807
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2808
- fontSize: string;
2809
- borderRadius: string;
2810
- color: string;
2811
- dividerColor: string;
2812
- textColor: string;
2813
- boxShadow: string;
2814
- space: string;
2815
- spaceArrow: string;
2816
- arrowOffset: string;
2817
- arrowOffsetVertical: string;
2818
- arrowHeight: string;
2819
- padding: string;
2820
- }, any>;
2821
- }>;
2822
- }>>>;
2823
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2824
- toolbarIconColor: string;
2825
- toolbarColor: string;
2826
- toolbarBoxShadow: string;
2827
- toolbarBorderRadius: string;
2828
- }, {
2829
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2830
- borderRadius: string;
2831
- boxShadow: string;
2832
- color: string;
2833
- textColor: string;
2834
- padding: string;
2835
- }, {
2836
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2837
- fontSize: string;
2838
- borderRadius: string;
2839
- color: string;
2840
- dividerColor: string;
2841
- textColor: string;
2842
- boxShadow: string;
2843
- space: string;
2844
- spaceArrow: string;
2845
- arrowOffset: string;
2846
- arrowOffsetVertical: string;
2847
- arrowHeight: string;
2848
- padding: string;
2849
- }, any>;
2850
- }>;
2851
- }>>>;
2852
- alt: StringConstructor;
2853
- height: import('vue').PropType<string | number>;
2854
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2855
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2856
- lazy: BooleanConstructor;
2857
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2858
- objectFit: {
2859
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2860
- default: string;
2861
- };
2862
- previewSrc: StringConstructor;
2863
- fallbackSrc: StringConstructor;
2864
- width: import('vue').PropType<string | number>;
2865
- src: StringConstructor;
2866
- previewDisabled: BooleanConstructor;
2867
- loadDescription: StringConstructor;
2868
- onError: import('vue').PropType<(e: Event) => void>;
2869
- onLoad: import('vue').PropType<(e: Event) => void>;
2870
- }>> & Readonly<{}>, {
2871
- click: () => void;
2872
- mergedClsPrefix: import('vue').Ref<string, string>;
2873
- groupId: string | undefined;
2874
- previewInstRef: import('vue').Ref<{
2875
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2876
- setPreviewSrc: (src?: string) => void;
2877
- toggleShow: () => void;
2878
- } | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
2879
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2880
- setPreviewSrc: (src?: string) => void;
2881
- toggleShow: () => void;
2882
- } | null>;
2883
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2884
- showError: import('vue').Ref<boolean, boolean>;
2885
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2886
- loaded: import('vue').Ref<boolean, boolean>;
2887
- mergedOnClick: (e: MouseEvent) => void;
2888
- mergedOnError: (e: Event) => void;
2889
- mergedOnLoad: (e: Event) => void;
2890
- }, {}, {}, {}, {
2891
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2892
- lazy: boolean;
2893
- showToolbar: boolean;
2894
- showToolbarTooltip: boolean;
2895
- previewDisabled: boolean;
2896
- }> | null;
2897
- }> & {} & import('vue').ComponentCustomProperties & {} & {
2898
- $slots: Readonly<{
2899
- loading?(): any;
2900
- fail?(): any;
2901
- }> & {
2902
- loading?(): any;
2903
- fail?(): any;
2904
- };
2905
- }) | null;
2906
- }, any, import('vue').ComponentProvideOptions, {
2907
- P: {};
2908
- B: {};
2909
- D: {};
2910
- C: {};
2911
- M: {};
2912
- Defaults: {};
2913
- }, Readonly<{
2914
- item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
2915
- freeHeight?: boolean;
2916
- disabled?: boolean;
2917
- type?: "default" | "big" | "small";
2918
- class?: any;
2919
- style?: import('vue').StyleValue;
2920
- }> & Readonly<{
2921
- onClick?: (() => any) | undefined;
2922
- }>, {}, {}, {}, {}, {
2923
- type: "default" | "big" | "small";
2924
- }>;
2925
- __isFragment?: never;
2926
- __isTeleport?: never;
2927
- __isSuspense?: never;
2928
- } & import('vue').ComponentOptionsBase<Readonly<{
2929
- item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
2930
- freeHeight?: boolean;
2931
- disabled?: boolean;
2932
- type?: "default" | "big" | "small";
2933
- class?: any;
2934
- style?: import('vue').StyleValue;
2935
- }> & Readonly<{
2936
- onClick?: (() => any) | undefined;
2937
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2938
- click: () => any;
2939
- }, string, {
2940
- type: "default" | "big" | "small";
2941
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
2942
- $slots: Readonly<{
2943
- default(): void;
2944
- smallTopInfo(): void;
2945
- cover(): void;
2946
- }> & {
2947
- default(): void;
2948
- smallTopInfo(): void;
2949
- cover(): void;
2950
- };
2951
- });
2952
- };
2953
2206
  };
2954
2207
  export { uni } from './struct/index';
2955
2208
  import * as uData from './utils/data';
@@ -2993,46 +2246,57 @@ export declare const Store: {
2993
2246
  $hasRaw: (id: string) => boolean;
2994
2247
  $onlyGetRaw: <T extends object>(id: string) => import('vue').Reactive<T>;
2995
2248
  }, "$apply" | "$has" | "$onlyGet" | "$applyRaw" | "$hasRaw" | "$onlyGetRaw">>;
2996
- useConfig: () => import('pinia').Store<"config", Pick<{
2997
- appConfig: {
2998
- "core.recordHistory": boolean;
2999
- "core.showAIProject": boolean;
3000
- "core.darkMode": string;
3001
- "core.easilyTitle": boolean;
3002
- };
2249
+ useConfig: import('pinia').StoreDefinition<"config", Pick<{
3003
2250
  isDark: import('vue').ComputedRef<boolean>;
3004
- form: import('vue').ShallowReactive<Map<string, {
3005
- form: Record<string, import('./index.ts').UniFormDescription>;
2251
+ form: import('vue').ShallowReactive<Map<symbol, {
2252
+ form: import('./config').ConfigDescription;
3006
2253
  value: import('vue').Ref<any>;
3007
2254
  }>>;
3008
- $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]>; };
3009
- }, "form" | "appConfig">, Pick<{
3010
- appConfig: {
3011
- "core.recordHistory": boolean;
3012
- "core.showAIProject": boolean;
3013
- "core.darkMode": string;
3014
- "core.easilyTitle": boolean;
3015
- };
2255
+ $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; };
2256
+ }, "form">, Pick<{
3016
2257
  isDark: import('vue').ComputedRef<boolean>;
3017
- form: import('vue').ShallowReactive<Map<string, {
3018
- form: Record<string, import('./index.ts').UniFormDescription>;
2258
+ form: import('vue').ShallowReactive<Map<symbol, {
2259
+ form: import('./config').ConfigDescription;
3019
2260
  value: import('vue').Ref<any>;
3020
2261
  }>>;
3021
- $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]>; };
2262
+ $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; };
3022
2263
  }, "isDark">, Pick<{
3023
- appConfig: {
3024
- "core.recordHistory": boolean;
3025
- "core.showAIProject": boolean;
3026
- "core.darkMode": string;
3027
- "core.easilyTitle": boolean;
3028
- };
3029
2264
  isDark: import('vue').ComputedRef<boolean>;
3030
- form: import('vue').ShallowReactive<Map<string, {
3031
- form: Record<string, import('./index.ts').UniFormDescription>;
2265
+ form: import('vue').ShallowReactive<Map<symbol, {
2266
+ form: import('./config').ConfigDescription;
3032
2267
  value: import('vue').Ref<any>;
3033
2268
  }>>;
3034
- $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]>; };
3035
- }, "$useCustomConfig">>;
2269
+ $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; };
2270
+ }, "$load">>;
2271
+ appConfig: ConfigPointer<{
2272
+ recordHistory: {
2273
+ type: "switch";
2274
+ defaultValue: false;
2275
+ info: string;
2276
+ };
2277
+ showAIProject: {
2278
+ type: "switch";
2279
+ defaultValue: true;
2280
+ info: string;
2281
+ };
2282
+ darkMode: {
2283
+ type: "radio";
2284
+ defaultValue: string;
2285
+ info: string;
2286
+ comp: "select";
2287
+ selects: {
2288
+ label: string;
2289
+ value: string;
2290
+ }[];
2291
+ };
2292
+ easilyTitle: {
2293
+ type: "switch";
2294
+ defaultValue: false;
2295
+ info: string;
2296
+ };
2297
+ }>;
2298
+ ConfigPointer: typeof ConfigPointer;
3036
2299
  };
3037
2300
  export * from './plugin/index';
2301
+ export * from './depends';
3038
2302
  export * from './plugin/define.ts';