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/LICENSE +661 -21
- package/README.md +30 -30
- package/dist/bundle.css +1 -1
- package/dist/bundle.js +253 -365
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.umd.cjs +2 -2
- package/dist/bundle.umd.cjs.map +1 -1
- package/dist/components/image.vue.d.ts +288 -54
- package/dist/config/index.d.ts +46 -29
- package/dist/depends/index.d.ts +24 -0
- package/dist/index.d.ts +426 -1162
- package/dist/pack.tgz +0 -0
- package/dist/plugin/define.d.ts +61 -9
- package/dist/plugin/index.d.ts +5 -1
- package/dist/struct/content.d.ts +16 -6
- package/dist/struct/item.d.ts +1 -0
- package/package.json +10 -10
- package/dist/components/content/unitCard.vue.d.ts +0 -2035
|
@@ -66,7 +66,20 @@ declare function __VLS_template(): {
|
|
|
66
66
|
arrowOffsetVertical: string;
|
|
67
67
|
arrowHeight: string;
|
|
68
68
|
padding: string;
|
|
69
|
-
},
|
|
69
|
+
}, {
|
|
70
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
71
|
+
height: string;
|
|
72
|
+
width: string;
|
|
73
|
+
borderRadius: string;
|
|
74
|
+
color: string;
|
|
75
|
+
colorHover: string;
|
|
76
|
+
railInsetHorizontalBottom: string;
|
|
77
|
+
railInsetHorizontalTop: string;
|
|
78
|
+
railInsetVerticalRight: string;
|
|
79
|
+
railInsetVerticalLeft: string;
|
|
80
|
+
railColor: string;
|
|
81
|
+
}, any>;
|
|
82
|
+
}>;
|
|
70
83
|
}>;
|
|
71
84
|
}>>;
|
|
72
85
|
themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -95,7 +108,20 @@ declare function __VLS_template(): {
|
|
|
95
108
|
arrowOffsetVertical: string;
|
|
96
109
|
arrowHeight: string;
|
|
97
110
|
padding: string;
|
|
98
|
-
},
|
|
111
|
+
}, {
|
|
112
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
113
|
+
height: string;
|
|
114
|
+
width: string;
|
|
115
|
+
borderRadius: string;
|
|
116
|
+
color: string;
|
|
117
|
+
colorHover: string;
|
|
118
|
+
railInsetHorizontalBottom: string;
|
|
119
|
+
railInsetHorizontalTop: string;
|
|
120
|
+
railInsetVerticalRight: string;
|
|
121
|
+
railInsetVerticalLeft: string;
|
|
122
|
+
railColor: string;
|
|
123
|
+
}, any>;
|
|
124
|
+
}>;
|
|
99
125
|
}>;
|
|
100
126
|
}>>>;
|
|
101
127
|
builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -124,7 +150,20 @@ declare function __VLS_template(): {
|
|
|
124
150
|
arrowOffsetVertical: string;
|
|
125
151
|
arrowHeight: string;
|
|
126
152
|
padding: string;
|
|
127
|
-
},
|
|
153
|
+
}, {
|
|
154
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
155
|
+
height: string;
|
|
156
|
+
width: string;
|
|
157
|
+
borderRadius: string;
|
|
158
|
+
color: string;
|
|
159
|
+
colorHover: string;
|
|
160
|
+
railInsetHorizontalBottom: string;
|
|
161
|
+
railInsetHorizontalTop: string;
|
|
162
|
+
railInsetVerticalRight: string;
|
|
163
|
+
railInsetVerticalLeft: string;
|
|
164
|
+
railColor: string;
|
|
165
|
+
}, any>;
|
|
166
|
+
}>;
|
|
128
167
|
}>;
|
|
129
168
|
}>>>;
|
|
130
169
|
alt: StringConstructor;
|
|
@@ -147,24 +186,24 @@ declare function __VLS_template(): {
|
|
|
147
186
|
onLoad: import('vue').PropType<(e: Event) => void>;
|
|
148
187
|
}>> & Readonly<{}>, {
|
|
149
188
|
click: () => void;
|
|
189
|
+
showPreview: () => void;
|
|
150
190
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
151
191
|
groupId: string | undefined;
|
|
152
192
|
previewInstRef: import('vue').Ref<{
|
|
153
193
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
154
|
-
|
|
155
|
-
toggleShow: () => void;
|
|
156
|
-
} | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
|
|
194
|
+
} | null, import('naive-ui').ImagePreviewInst | {
|
|
157
195
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
158
|
-
setPreviewSrc: (src?: string) => void;
|
|
159
|
-
toggleShow: () => void;
|
|
160
196
|
} | null>;
|
|
161
197
|
imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
198
|
+
mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
|
|
162
199
|
showError: import('vue').Ref<boolean, boolean>;
|
|
163
200
|
shouldStartLoading: import('vue').Ref<boolean, boolean>;
|
|
164
201
|
loaded: import('vue').Ref<boolean, boolean>;
|
|
165
|
-
mergedOnClick: (e:
|
|
202
|
+
mergedOnClick: (e: PointerEvent) => void;
|
|
203
|
+
onPreviewClose: () => void;
|
|
166
204
|
mergedOnError: (e: Event) => void;
|
|
167
205
|
mergedOnLoad: (e: Event) => void;
|
|
206
|
+
previewShow: import('vue').Ref<boolean, boolean>;
|
|
168
207
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
169
208
|
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
170
209
|
lazy: boolean;
|
|
@@ -213,7 +252,20 @@ declare function __VLS_template(): {
|
|
|
213
252
|
arrowOffsetVertical: string;
|
|
214
253
|
arrowHeight: string;
|
|
215
254
|
padding: string;
|
|
216
|
-
},
|
|
255
|
+
}, {
|
|
256
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
257
|
+
height: string;
|
|
258
|
+
width: string;
|
|
259
|
+
borderRadius: string;
|
|
260
|
+
color: string;
|
|
261
|
+
colorHover: string;
|
|
262
|
+
railInsetHorizontalBottom: string;
|
|
263
|
+
railInsetHorizontalTop: string;
|
|
264
|
+
railInsetVerticalRight: string;
|
|
265
|
+
railInsetVerticalLeft: string;
|
|
266
|
+
railColor: string;
|
|
267
|
+
}, any>;
|
|
268
|
+
}>;
|
|
217
269
|
}>;
|
|
218
270
|
}>>;
|
|
219
271
|
themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -242,7 +294,20 @@ declare function __VLS_template(): {
|
|
|
242
294
|
arrowOffsetVertical: string;
|
|
243
295
|
arrowHeight: string;
|
|
244
296
|
padding: string;
|
|
245
|
-
},
|
|
297
|
+
}, {
|
|
298
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
299
|
+
height: string;
|
|
300
|
+
width: string;
|
|
301
|
+
borderRadius: string;
|
|
302
|
+
color: string;
|
|
303
|
+
colorHover: string;
|
|
304
|
+
railInsetHorizontalBottom: string;
|
|
305
|
+
railInsetHorizontalTop: string;
|
|
306
|
+
railInsetVerticalRight: string;
|
|
307
|
+
railInsetVerticalLeft: string;
|
|
308
|
+
railColor: string;
|
|
309
|
+
}, any>;
|
|
310
|
+
}>;
|
|
246
311
|
}>;
|
|
247
312
|
}>>>;
|
|
248
313
|
builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -271,7 +336,20 @@ declare function __VLS_template(): {
|
|
|
271
336
|
arrowOffsetVertical: string;
|
|
272
337
|
arrowHeight: string;
|
|
273
338
|
padding: string;
|
|
274
|
-
},
|
|
339
|
+
}, {
|
|
340
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
341
|
+
height: string;
|
|
342
|
+
width: string;
|
|
343
|
+
borderRadius: string;
|
|
344
|
+
color: string;
|
|
345
|
+
colorHover: string;
|
|
346
|
+
railInsetHorizontalBottom: string;
|
|
347
|
+
railInsetHorizontalTop: string;
|
|
348
|
+
railInsetVerticalRight: string;
|
|
349
|
+
railInsetVerticalLeft: string;
|
|
350
|
+
railColor: string;
|
|
351
|
+
}, any>;
|
|
352
|
+
}>;
|
|
275
353
|
}>;
|
|
276
354
|
}>>>;
|
|
277
355
|
alt: StringConstructor;
|
|
@@ -294,24 +372,24 @@ declare function __VLS_template(): {
|
|
|
294
372
|
onLoad: import('vue').PropType<(e: Event) => void>;
|
|
295
373
|
}>> & Readonly<{}>, {
|
|
296
374
|
click: () => void;
|
|
375
|
+
showPreview: () => void;
|
|
297
376
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
298
377
|
groupId: string | undefined;
|
|
299
378
|
previewInstRef: import('vue').Ref<{
|
|
300
379
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
301
|
-
|
|
302
|
-
toggleShow: () => void;
|
|
303
|
-
} | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
|
|
380
|
+
} | null, import('naive-ui').ImagePreviewInst | {
|
|
304
381
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
305
|
-
setPreviewSrc: (src?: string) => void;
|
|
306
|
-
toggleShow: () => void;
|
|
307
382
|
} | null>;
|
|
308
383
|
imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
384
|
+
mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
|
|
309
385
|
showError: import('vue').Ref<boolean, boolean>;
|
|
310
386
|
shouldStartLoading: import('vue').Ref<boolean, boolean>;
|
|
311
387
|
loaded: import('vue').Ref<boolean, boolean>;
|
|
312
|
-
mergedOnClick: (e:
|
|
388
|
+
mergedOnClick: (e: PointerEvent) => void;
|
|
389
|
+
onPreviewClose: () => void;
|
|
313
390
|
mergedOnError: (e: Event) => void;
|
|
314
391
|
mergedOnLoad: (e: Event) => void;
|
|
392
|
+
previewShow: import('vue').Ref<boolean, boolean>;
|
|
315
393
|
}, {}, {}, {}, {
|
|
316
394
|
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
317
395
|
lazy: boolean;
|
|
@@ -361,7 +439,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
361
439
|
arrowOffsetVertical: string;
|
|
362
440
|
arrowHeight: string;
|
|
363
441
|
padding: string;
|
|
364
|
-
},
|
|
442
|
+
}, {
|
|
443
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
444
|
+
height: string;
|
|
445
|
+
width: string;
|
|
446
|
+
borderRadius: string;
|
|
447
|
+
color: string;
|
|
448
|
+
colorHover: string;
|
|
449
|
+
railInsetHorizontalBottom: string;
|
|
450
|
+
railInsetHorizontalTop: string;
|
|
451
|
+
railInsetVerticalRight: string;
|
|
452
|
+
railInsetVerticalLeft: string;
|
|
453
|
+
railColor: string;
|
|
454
|
+
}, any>;
|
|
455
|
+
}>;
|
|
365
456
|
}>;
|
|
366
457
|
}>>;
|
|
367
458
|
themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -390,7 +481,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
390
481
|
arrowOffsetVertical: string;
|
|
391
482
|
arrowHeight: string;
|
|
392
483
|
padding: string;
|
|
393
|
-
},
|
|
484
|
+
}, {
|
|
485
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
486
|
+
height: string;
|
|
487
|
+
width: string;
|
|
488
|
+
borderRadius: string;
|
|
489
|
+
color: string;
|
|
490
|
+
colorHover: string;
|
|
491
|
+
railInsetHorizontalBottom: string;
|
|
492
|
+
railInsetHorizontalTop: string;
|
|
493
|
+
railInsetVerticalRight: string;
|
|
494
|
+
railInsetVerticalLeft: string;
|
|
495
|
+
railColor: string;
|
|
496
|
+
}, any>;
|
|
497
|
+
}>;
|
|
394
498
|
}>;
|
|
395
499
|
}>>>;
|
|
396
500
|
builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -419,7 +523,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
419
523
|
arrowOffsetVertical: string;
|
|
420
524
|
arrowHeight: string;
|
|
421
525
|
padding: string;
|
|
422
|
-
},
|
|
526
|
+
}, {
|
|
527
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
528
|
+
height: string;
|
|
529
|
+
width: string;
|
|
530
|
+
borderRadius: string;
|
|
531
|
+
color: string;
|
|
532
|
+
colorHover: string;
|
|
533
|
+
railInsetHorizontalBottom: string;
|
|
534
|
+
railInsetHorizontalTop: string;
|
|
535
|
+
railInsetVerticalRight: string;
|
|
536
|
+
railInsetVerticalLeft: string;
|
|
537
|
+
railColor: string;
|
|
538
|
+
}, any>;
|
|
539
|
+
}>;
|
|
423
540
|
}>;
|
|
424
541
|
}>>>;
|
|
425
542
|
alt: StringConstructor;
|
|
@@ -442,24 +559,24 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
442
559
|
onLoad: import('vue').PropType<(e: Event) => void>;
|
|
443
560
|
}>> & Readonly<{}>, {
|
|
444
561
|
click: () => void;
|
|
562
|
+
showPreview: () => void;
|
|
445
563
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
446
564
|
groupId: string | undefined;
|
|
447
565
|
previewInstRef: import('vue').Ref<{
|
|
448
566
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
449
|
-
|
|
450
|
-
toggleShow: () => void;
|
|
451
|
-
} | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
|
|
567
|
+
} | null, import('naive-ui').ImagePreviewInst | {
|
|
452
568
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
453
|
-
setPreviewSrc: (src?: string) => void;
|
|
454
|
-
toggleShow: () => void;
|
|
455
569
|
} | null>;
|
|
456
570
|
imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
571
|
+
mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
|
|
457
572
|
showError: import('vue').Ref<boolean, boolean>;
|
|
458
573
|
shouldStartLoading: import('vue').Ref<boolean, boolean>;
|
|
459
574
|
loaded: import('vue').Ref<boolean, boolean>;
|
|
460
|
-
mergedOnClick: (e:
|
|
575
|
+
mergedOnClick: (e: PointerEvent) => void;
|
|
576
|
+
onPreviewClose: () => void;
|
|
461
577
|
mergedOnError: (e: Event) => void;
|
|
462
578
|
mergedOnLoad: (e: Event) => void;
|
|
579
|
+
previewShow: import('vue').Ref<boolean, boolean>;
|
|
463
580
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
464
581
|
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
465
582
|
lazy: boolean;
|
|
@@ -508,7 +625,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
508
625
|
arrowOffsetVertical: string;
|
|
509
626
|
arrowHeight: string;
|
|
510
627
|
padding: string;
|
|
511
|
-
},
|
|
628
|
+
}, {
|
|
629
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
630
|
+
height: string;
|
|
631
|
+
width: string;
|
|
632
|
+
borderRadius: string;
|
|
633
|
+
color: string;
|
|
634
|
+
colorHover: string;
|
|
635
|
+
railInsetHorizontalBottom: string;
|
|
636
|
+
railInsetHorizontalTop: string;
|
|
637
|
+
railInsetVerticalRight: string;
|
|
638
|
+
railInsetVerticalLeft: string;
|
|
639
|
+
railColor: string;
|
|
640
|
+
}, any>;
|
|
641
|
+
}>;
|
|
512
642
|
}>;
|
|
513
643
|
}>>;
|
|
514
644
|
themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -537,7 +667,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
537
667
|
arrowOffsetVertical: string;
|
|
538
668
|
arrowHeight: string;
|
|
539
669
|
padding: string;
|
|
540
|
-
},
|
|
670
|
+
}, {
|
|
671
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
672
|
+
height: string;
|
|
673
|
+
width: string;
|
|
674
|
+
borderRadius: string;
|
|
675
|
+
color: string;
|
|
676
|
+
colorHover: string;
|
|
677
|
+
railInsetHorizontalBottom: string;
|
|
678
|
+
railInsetHorizontalTop: string;
|
|
679
|
+
railInsetVerticalRight: string;
|
|
680
|
+
railInsetVerticalLeft: string;
|
|
681
|
+
railColor: string;
|
|
682
|
+
}, any>;
|
|
683
|
+
}>;
|
|
541
684
|
}>;
|
|
542
685
|
}>>>;
|
|
543
686
|
builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -566,7 +709,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
566
709
|
arrowOffsetVertical: string;
|
|
567
710
|
arrowHeight: string;
|
|
568
711
|
padding: string;
|
|
569
|
-
},
|
|
712
|
+
}, {
|
|
713
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
714
|
+
height: string;
|
|
715
|
+
width: string;
|
|
716
|
+
borderRadius: string;
|
|
717
|
+
color: string;
|
|
718
|
+
colorHover: string;
|
|
719
|
+
railInsetHorizontalBottom: string;
|
|
720
|
+
railInsetHorizontalTop: string;
|
|
721
|
+
railInsetVerticalRight: string;
|
|
722
|
+
railInsetVerticalLeft: string;
|
|
723
|
+
railColor: string;
|
|
724
|
+
}, any>;
|
|
725
|
+
}>;
|
|
570
726
|
}>;
|
|
571
727
|
}>>>;
|
|
572
728
|
alt: StringConstructor;
|
|
@@ -589,24 +745,24 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
589
745
|
onLoad: import('vue').PropType<(e: Event) => void>;
|
|
590
746
|
}>> & Readonly<{}>, {
|
|
591
747
|
click: () => void;
|
|
748
|
+
showPreview: () => void;
|
|
592
749
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
593
750
|
groupId: string | undefined;
|
|
594
751
|
previewInstRef: import('vue').Ref<{
|
|
595
752
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
596
|
-
|
|
597
|
-
toggleShow: () => void;
|
|
598
|
-
} | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
|
|
753
|
+
} | null, import('naive-ui').ImagePreviewInst | {
|
|
599
754
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
600
|
-
setPreviewSrc: (src?: string) => void;
|
|
601
|
-
toggleShow: () => void;
|
|
602
755
|
} | null>;
|
|
603
756
|
imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
757
|
+
mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
|
|
604
758
|
showError: import('vue').Ref<boolean, boolean>;
|
|
605
759
|
shouldStartLoading: import('vue').Ref<boolean, boolean>;
|
|
606
760
|
loaded: import('vue').Ref<boolean, boolean>;
|
|
607
|
-
mergedOnClick: (e:
|
|
761
|
+
mergedOnClick: (e: PointerEvent) => void;
|
|
762
|
+
onPreviewClose: () => void;
|
|
608
763
|
mergedOnError: (e: Event) => void;
|
|
609
764
|
mergedOnLoad: (e: Event) => void;
|
|
765
|
+
previewShow: import('vue').Ref<boolean, boolean>;
|
|
610
766
|
}, {}, {}, {}, {
|
|
611
767
|
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
612
768
|
lazy: boolean;
|
|
@@ -661,7 +817,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
661
817
|
arrowOffsetVertical: string;
|
|
662
818
|
arrowHeight: string;
|
|
663
819
|
padding: string;
|
|
664
|
-
},
|
|
820
|
+
}, {
|
|
821
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
822
|
+
height: string;
|
|
823
|
+
width: string;
|
|
824
|
+
borderRadius: string;
|
|
825
|
+
color: string;
|
|
826
|
+
colorHover: string;
|
|
827
|
+
railInsetHorizontalBottom: string;
|
|
828
|
+
railInsetHorizontalTop: string;
|
|
829
|
+
railInsetVerticalRight: string;
|
|
830
|
+
railInsetVerticalLeft: string;
|
|
831
|
+
railColor: string;
|
|
832
|
+
}, any>;
|
|
833
|
+
}>;
|
|
665
834
|
}>;
|
|
666
835
|
}>>;
|
|
667
836
|
themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -690,7 +859,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
690
859
|
arrowOffsetVertical: string;
|
|
691
860
|
arrowHeight: string;
|
|
692
861
|
padding: string;
|
|
693
|
-
},
|
|
862
|
+
}, {
|
|
863
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
864
|
+
height: string;
|
|
865
|
+
width: string;
|
|
866
|
+
borderRadius: string;
|
|
867
|
+
color: string;
|
|
868
|
+
colorHover: string;
|
|
869
|
+
railInsetHorizontalBottom: string;
|
|
870
|
+
railInsetHorizontalTop: string;
|
|
871
|
+
railInsetVerticalRight: string;
|
|
872
|
+
railInsetVerticalLeft: string;
|
|
873
|
+
railColor: string;
|
|
874
|
+
}, any>;
|
|
875
|
+
}>;
|
|
694
876
|
}>;
|
|
695
877
|
}>>>;
|
|
696
878
|
builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -719,7 +901,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
719
901
|
arrowOffsetVertical: string;
|
|
720
902
|
arrowHeight: string;
|
|
721
903
|
padding: string;
|
|
722
|
-
},
|
|
904
|
+
}, {
|
|
905
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
906
|
+
height: string;
|
|
907
|
+
width: string;
|
|
908
|
+
borderRadius: string;
|
|
909
|
+
color: string;
|
|
910
|
+
colorHover: string;
|
|
911
|
+
railInsetHorizontalBottom: string;
|
|
912
|
+
railInsetHorizontalTop: string;
|
|
913
|
+
railInsetVerticalRight: string;
|
|
914
|
+
railInsetVerticalLeft: string;
|
|
915
|
+
railColor: string;
|
|
916
|
+
}, any>;
|
|
917
|
+
}>;
|
|
723
918
|
}>;
|
|
724
919
|
}>>>;
|
|
725
920
|
alt: StringConstructor;
|
|
@@ -742,24 +937,24 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
742
937
|
onLoad: import('vue').PropType<(e: Event) => void>;
|
|
743
938
|
}>> & Readonly<{}>, {
|
|
744
939
|
click: () => void;
|
|
940
|
+
showPreview: () => void;
|
|
745
941
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
746
942
|
groupId: string | undefined;
|
|
747
943
|
previewInstRef: import('vue').Ref<{
|
|
748
944
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
749
|
-
|
|
750
|
-
toggleShow: () => void;
|
|
751
|
-
} | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
|
|
945
|
+
} | null, import('naive-ui').ImagePreviewInst | {
|
|
752
946
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
753
|
-
setPreviewSrc: (src?: string) => void;
|
|
754
|
-
toggleShow: () => void;
|
|
755
947
|
} | null>;
|
|
756
948
|
imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
949
|
+
mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
|
|
757
950
|
showError: import('vue').Ref<boolean, boolean>;
|
|
758
951
|
shouldStartLoading: import('vue').Ref<boolean, boolean>;
|
|
759
952
|
loaded: import('vue').Ref<boolean, boolean>;
|
|
760
|
-
mergedOnClick: (e:
|
|
953
|
+
mergedOnClick: (e: PointerEvent) => void;
|
|
954
|
+
onPreviewClose: () => void;
|
|
761
955
|
mergedOnError: (e: Event) => void;
|
|
762
956
|
mergedOnLoad: (e: Event) => void;
|
|
957
|
+
previewShow: import('vue').Ref<boolean, boolean>;
|
|
763
958
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
764
959
|
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
765
960
|
lazy: boolean;
|
|
@@ -808,7 +1003,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
808
1003
|
arrowOffsetVertical: string;
|
|
809
1004
|
arrowHeight: string;
|
|
810
1005
|
padding: string;
|
|
811
|
-
},
|
|
1006
|
+
}, {
|
|
1007
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1008
|
+
height: string;
|
|
1009
|
+
width: string;
|
|
1010
|
+
borderRadius: string;
|
|
1011
|
+
color: string;
|
|
1012
|
+
colorHover: string;
|
|
1013
|
+
railInsetHorizontalBottom: string;
|
|
1014
|
+
railInsetHorizontalTop: string;
|
|
1015
|
+
railInsetVerticalRight: string;
|
|
1016
|
+
railInsetVerticalLeft: string;
|
|
1017
|
+
railColor: string;
|
|
1018
|
+
}, any>;
|
|
1019
|
+
}>;
|
|
812
1020
|
}>;
|
|
813
1021
|
}>>;
|
|
814
1022
|
themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -837,7 +1045,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
837
1045
|
arrowOffsetVertical: string;
|
|
838
1046
|
arrowHeight: string;
|
|
839
1047
|
padding: string;
|
|
840
|
-
},
|
|
1048
|
+
}, {
|
|
1049
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1050
|
+
height: string;
|
|
1051
|
+
width: string;
|
|
1052
|
+
borderRadius: string;
|
|
1053
|
+
color: string;
|
|
1054
|
+
colorHover: string;
|
|
1055
|
+
railInsetHorizontalBottom: string;
|
|
1056
|
+
railInsetHorizontalTop: string;
|
|
1057
|
+
railInsetVerticalRight: string;
|
|
1058
|
+
railInsetVerticalLeft: string;
|
|
1059
|
+
railColor: string;
|
|
1060
|
+
}, any>;
|
|
1061
|
+
}>;
|
|
841
1062
|
}>;
|
|
842
1063
|
}>>>;
|
|
843
1064
|
builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Image", {
|
|
@@ -866,7 +1087,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
866
1087
|
arrowOffsetVertical: string;
|
|
867
1088
|
arrowHeight: string;
|
|
868
1089
|
padding: string;
|
|
869
|
-
},
|
|
1090
|
+
}, {
|
|
1091
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1092
|
+
height: string;
|
|
1093
|
+
width: string;
|
|
1094
|
+
borderRadius: string;
|
|
1095
|
+
color: string;
|
|
1096
|
+
colorHover: string;
|
|
1097
|
+
railInsetHorizontalBottom: string;
|
|
1098
|
+
railInsetHorizontalTop: string;
|
|
1099
|
+
railInsetVerticalRight: string;
|
|
1100
|
+
railInsetVerticalLeft: string;
|
|
1101
|
+
railColor: string;
|
|
1102
|
+
}, any>;
|
|
1103
|
+
}>;
|
|
870
1104
|
}>;
|
|
871
1105
|
}>>>;
|
|
872
1106
|
alt: StringConstructor;
|
|
@@ -889,24 +1123,24 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
889
1123
|
onLoad: import('vue').PropType<(e: Event) => void>;
|
|
890
1124
|
}>> & Readonly<{}>, {
|
|
891
1125
|
click: () => void;
|
|
1126
|
+
showPreview: () => void;
|
|
892
1127
|
mergedClsPrefix: import('vue').Ref<string, string>;
|
|
893
1128
|
groupId: string | undefined;
|
|
894
1129
|
previewInstRef: import('vue').Ref<{
|
|
895
1130
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
896
|
-
|
|
897
|
-
toggleShow: () => void;
|
|
898
|
-
} | null, import('naive-ui/es/image/src/ImagePreview').ImagePreviewInst | {
|
|
1131
|
+
} | null, import('naive-ui').ImagePreviewInst | {
|
|
899
1132
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
900
|
-
setPreviewSrc: (src?: string) => void;
|
|
901
|
-
toggleShow: () => void;
|
|
902
1133
|
} | null>;
|
|
903
1134
|
imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
|
|
1135
|
+
mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
|
|
904
1136
|
showError: import('vue').Ref<boolean, boolean>;
|
|
905
1137
|
shouldStartLoading: import('vue').Ref<boolean, boolean>;
|
|
906
1138
|
loaded: import('vue').Ref<boolean, boolean>;
|
|
907
|
-
mergedOnClick: (e:
|
|
1139
|
+
mergedOnClick: (e: PointerEvent) => void;
|
|
1140
|
+
onPreviewClose: () => void;
|
|
908
1141
|
mergedOnError: (e: Event) => void;
|
|
909
1142
|
mergedOnLoad: (e: Event) => void;
|
|
1143
|
+
previewShow: import('vue').Ref<boolean, boolean>;
|
|
910
1144
|
}, {}, {}, {}, {
|
|
911
1145
|
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
912
1146
|
lazy: boolean;
|
package/dist/config/index.d.ts
CHANGED
|
@@ -4,44 +4,61 @@ declare const defaultConfig: {
|
|
|
4
4
|
'app.easyTitle': boolean;
|
|
5
5
|
};
|
|
6
6
|
export type ConfigType = typeof defaultConfig;
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
export type ConfigDescription = Record<string, Required<Pick<UniFormDescription, 'defaultValue'>> & UniFormDescription>;
|
|
8
|
+
export declare class ConfigPointer<T extends ConfigDescription = ConfigDescription> {
|
|
9
|
+
pluginName: string;
|
|
10
|
+
config: T;
|
|
11
|
+
constructor(pluginName: string, config: T);
|
|
12
|
+
readonly key: symbol;
|
|
13
|
+
}
|
|
14
|
+
export declare const appConfig: ConfigPointer<{
|
|
15
|
+
recordHistory: {
|
|
16
|
+
type: "switch";
|
|
17
|
+
defaultValue: false;
|
|
18
|
+
info: string;
|
|
13
19
|
};
|
|
20
|
+
showAIProject: {
|
|
21
|
+
type: "switch";
|
|
22
|
+
defaultValue: true;
|
|
23
|
+
info: string;
|
|
24
|
+
};
|
|
25
|
+
darkMode: {
|
|
26
|
+
type: "radio";
|
|
27
|
+
defaultValue: string;
|
|
28
|
+
info: string;
|
|
29
|
+
comp: "select";
|
|
30
|
+
selects: {
|
|
31
|
+
label: string;
|
|
32
|
+
value: string;
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
easilyTitle: {
|
|
36
|
+
type: "switch";
|
|
37
|
+
defaultValue: false;
|
|
38
|
+
info: string;
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
41
|
+
export declare const useConfig: import('pinia').StoreDefinition<"config", Pick<{
|
|
14
42
|
isDark: import('vue').ComputedRef<boolean>;
|
|
15
|
-
form: import('vue').ShallowReactive<Map<
|
|
16
|
-
form:
|
|
43
|
+
form: import('vue').ShallowReactive<Map<symbol, {
|
|
44
|
+
form: ConfigDescription;
|
|
17
45
|
value: Ref<any>;
|
|
18
46
|
}>>;
|
|
19
|
-
$
|
|
20
|
-
}, "form"
|
|
21
|
-
appConfig: {
|
|
22
|
-
"core.recordHistory": boolean;
|
|
23
|
-
"core.showAIProject": boolean;
|
|
24
|
-
"core.darkMode": string;
|
|
25
|
-
"core.easilyTitle": boolean;
|
|
26
|
-
};
|
|
47
|
+
$load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: UniFormResult<T["config"][K]>; };
|
|
48
|
+
}, "form">, Pick<{
|
|
27
49
|
isDark: import('vue').ComputedRef<boolean>;
|
|
28
|
-
form: import('vue').ShallowReactive<Map<
|
|
29
|
-
form:
|
|
50
|
+
form: import('vue').ShallowReactive<Map<symbol, {
|
|
51
|
+
form: ConfigDescription;
|
|
30
52
|
value: Ref<any>;
|
|
31
53
|
}>>;
|
|
32
|
-
$
|
|
54
|
+
$load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: UniFormResult<T["config"][K]>; };
|
|
33
55
|
}, "isDark">, Pick<{
|
|
34
|
-
appConfig: {
|
|
35
|
-
"core.recordHistory": boolean;
|
|
36
|
-
"core.showAIProject": boolean;
|
|
37
|
-
"core.darkMode": string;
|
|
38
|
-
"core.easilyTitle": boolean;
|
|
39
|
-
};
|
|
40
56
|
isDark: import('vue').ComputedRef<boolean>;
|
|
41
|
-
form: import('vue').ShallowReactive<Map<
|
|
42
|
-
form:
|
|
57
|
+
form: import('vue').ShallowReactive<Map<symbol, {
|
|
58
|
+
form: ConfigDescription;
|
|
43
59
|
value: Ref<any>;
|
|
44
60
|
}>>;
|
|
45
|
-
$
|
|
46
|
-
}, "$
|
|
61
|
+
$load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: UniFormResult<T["config"][K]>; };
|
|
62
|
+
}, "$load">>;
|
|
63
|
+
export declare const resignerConfig: (pointer: ConfigPointer) => void;
|
|
47
64
|
export {};
|