delta-comic-core 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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;
@@ -190,8 +191,8 @@ export declare const Comp: {
190
191
  onError?: (() => any) | undefined;
191
192
  }>, {
192
193
  isLoaded: import('vue').ComputedRef<boolean>;
193
- imageEl: HTMLImageElement | null | undefined;
194
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
194
+ imageEl: import('vue').ComputedRef<HTMLImageElement | null | undefined>;
195
+ imageIns: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
195
196
  onPreviewPrev: import('vue').PropType<() => void>;
196
197
  onPreviewNext: import('vue').PropType<() => void>;
197
198
  showToolbar: {
@@ -556,7 +557,7 @@ export declare const Comp: {
556
557
  showToolbar: boolean;
557
558
  showToolbarTooltip: boolean;
558
559
  previewDisabled: boolean;
559
- }> | null;
560
+ }> | null>>;
560
561
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
561
562
  load: (...args: any[]) => any;
562
563
  click: () => any;
@@ -963,8 +964,8 @@ export declare const Comp: {
963
964
  onError?: (() => any) | undefined;
964
965
  }>, {
965
966
  isLoaded: import('vue').ComputedRef<boolean>;
966
- imageEl: HTMLImageElement | null | undefined;
967
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
967
+ imageEl: import('vue').ComputedRef<HTMLImageElement | null | undefined>;
968
+ imageIns: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
968
969
  onPreviewPrev: import('vue').PropType<() => void>;
969
970
  onPreviewNext: import('vue').PropType<() => void>;
970
971
  showToolbar: {
@@ -1329,7 +1330,7 @@ export declare const Comp: {
1329
1330
  showToolbar: boolean;
1330
1331
  showToolbarTooltip: boolean;
1331
1332
  previewDisabled: boolean;
1332
- }> | null;
1333
+ }> | null>>;
1333
1334
  }, {}, {}, {}, {
1334
1335
  retryMax: number;
1335
1336
  fetchpriority: "high" | "low" | "auto";
@@ -1362,8 +1363,8 @@ export declare const Comp: {
1362
1363
  onError?: (() => any) | undefined;
1363
1364
  }>, {
1364
1365
  isLoaded: import('vue').ComputedRef<boolean>;
1365
- imageEl: HTMLImageElement | null | undefined;
1366
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
1366
+ imageEl: import('vue').ComputedRef<HTMLImageElement | null | undefined>;
1367
+ imageIns: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
1367
1368
  onPreviewPrev: import('vue').PropType<() => void>;
1368
1369
  onPreviewNext: import('vue').PropType<() => void>;
1369
1370
  showToolbar: {
@@ -1728,7 +1729,7 @@ export declare const Comp: {
1728
1729
  showToolbar: boolean;
1729
1730
  showToolbarTooltip: boolean;
1730
1731
  previewDisabled: boolean;
1731
- }> | null;
1732
+ }> | null>>;
1732
1733
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1733
1734
  load: (...args: any[]) => any;
1734
1735
  click: () => any;
@@ -2202,1300 +2203,6 @@ export declare const Comp: {
2202
2203
  }>) => import('vue').VNode & {
2203
2204
  __ctx?: Awaited<typeof __VLS_setup>;
2204
2205
  };
2205
- content: {
2206
- UnitCard: {
2207
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
2208
- item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
2209
- freeHeight?: boolean;
2210
- disabled?: boolean;
2211
- type?: "default" | "big" | "small";
2212
- class?: any;
2213
- style?: import('vue').StyleValue;
2214
- }> & Readonly<{
2215
- onClick?: (() => any) | undefined;
2216
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2217
- click: () => any;
2218
- }, import('vue').PublicProps, {
2219
- type: "default" | "big" | "small";
2220
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
2221
- container: HTMLDivElement;
2222
- cover: ({
2223
- $: import('vue').ComponentInternalInstance;
2224
- $data: {};
2225
- $props: {
2226
- readonly src?: import('./struct/image.ts').Image_ | undefined;
2227
- readonly alt?: string | undefined;
2228
- readonly previewable?: boolean | undefined;
2229
- readonly retryMax?: number | undefined;
2230
- readonly round?: boolean | undefined;
2231
- readonly fit?: "fill" | "none" | "contain" | "cover" | "scale-down" | undefined;
2232
- readonly class?: any;
2233
- readonly hideLoading?: boolean | undefined;
2234
- readonly hideError?: boolean | undefined;
2235
- readonly inline?: boolean | undefined;
2236
- readonly style?: import('vue').StyleValue;
2237
- readonly imgProp?: import('vue').ImgHTMLAttributes | undefined;
2238
- readonly useList?: {
2239
- loaded: Set<string>;
2240
- error: Set<string>;
2241
- } | undefined;
2242
- readonly fetchpriority?: "high" | "low" | "auto" | undefined;
2243
- readonly fallback?: import('./struct/image.ts').Image_ | undefined;
2244
- readonly onLoad?: ((...args: any[]) => any) | undefined;
2245
- readonly onClick?: (() => any) | undefined;
2246
- readonly onError?: (() => any) | undefined;
2247
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
2248
- $attrs: {
2249
- [x: string]: unknown;
2250
- };
2251
- $refs: {
2252
- [x: string]: unknown;
2253
- } & {
2254
- img: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
2255
- onPreviewPrev: import('vue').PropType<() => void>;
2256
- onPreviewNext: import('vue').PropType<() => void>;
2257
- showToolbar: {
2258
- type: BooleanConstructor;
2259
- default: boolean;
2260
- };
2261
- showToolbarTooltip: BooleanConstructor;
2262
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2263
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2264
- toolbarIconColor: string;
2265
- toolbarColor: string;
2266
- toolbarBoxShadow: string;
2267
- toolbarBorderRadius: string;
2268
- }, {
2269
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2270
- borderRadius: string;
2271
- boxShadow: string;
2272
- color: string;
2273
- textColor: string;
2274
- padding: string;
2275
- }, {
2276
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2277
- fontSize: string;
2278
- borderRadius: string;
2279
- color: string;
2280
- dividerColor: string;
2281
- textColor: string;
2282
- boxShadow: string;
2283
- space: string;
2284
- spaceArrow: string;
2285
- arrowOffset: string;
2286
- arrowOffsetVertical: string;
2287
- arrowHeight: string;
2288
- padding: string;
2289
- }, {
2290
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2291
- height: string;
2292
- width: string;
2293
- borderRadius: string;
2294
- color: string;
2295
- colorHover: string;
2296
- railInsetHorizontalBottom: string;
2297
- railInsetHorizontalTop: string;
2298
- railInsetVerticalRight: string;
2299
- railInsetVerticalLeft: string;
2300
- railColor: string;
2301
- }, any>;
2302
- }>;
2303
- }>;
2304
- }>>;
2305
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2306
- toolbarIconColor: string;
2307
- toolbarColor: string;
2308
- toolbarBoxShadow: string;
2309
- toolbarBorderRadius: string;
2310
- }, {
2311
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2312
- borderRadius: string;
2313
- boxShadow: string;
2314
- color: string;
2315
- textColor: string;
2316
- padding: string;
2317
- }, {
2318
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2319
- fontSize: string;
2320
- borderRadius: string;
2321
- color: string;
2322
- dividerColor: string;
2323
- textColor: string;
2324
- boxShadow: string;
2325
- space: string;
2326
- spaceArrow: string;
2327
- arrowOffset: string;
2328
- arrowOffsetVertical: string;
2329
- arrowHeight: string;
2330
- padding: string;
2331
- }, {
2332
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2333
- height: string;
2334
- width: string;
2335
- borderRadius: string;
2336
- color: string;
2337
- colorHover: string;
2338
- railInsetHorizontalBottom: string;
2339
- railInsetHorizontalTop: string;
2340
- railInsetVerticalRight: string;
2341
- railInsetVerticalLeft: string;
2342
- railColor: string;
2343
- }, any>;
2344
- }>;
2345
- }>;
2346
- }>>>;
2347
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2348
- toolbarIconColor: string;
2349
- toolbarColor: string;
2350
- toolbarBoxShadow: string;
2351
- toolbarBorderRadius: string;
2352
- }, {
2353
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2354
- borderRadius: string;
2355
- boxShadow: string;
2356
- color: string;
2357
- textColor: string;
2358
- padding: string;
2359
- }, {
2360
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2361
- fontSize: string;
2362
- borderRadius: string;
2363
- color: string;
2364
- dividerColor: string;
2365
- textColor: string;
2366
- boxShadow: string;
2367
- space: string;
2368
- spaceArrow: string;
2369
- arrowOffset: string;
2370
- arrowOffsetVertical: string;
2371
- arrowHeight: string;
2372
- padding: string;
2373
- }, {
2374
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2375
- height: string;
2376
- width: string;
2377
- borderRadius: string;
2378
- color: string;
2379
- colorHover: string;
2380
- railInsetHorizontalBottom: string;
2381
- railInsetHorizontalTop: string;
2382
- railInsetVerticalRight: string;
2383
- railInsetVerticalLeft: string;
2384
- railColor: string;
2385
- }, any>;
2386
- }>;
2387
- }>;
2388
- }>>>;
2389
- alt: StringConstructor;
2390
- height: import('vue').PropType<string | number>;
2391
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2392
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2393
- lazy: BooleanConstructor;
2394
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2395
- objectFit: {
2396
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2397
- default: string;
2398
- };
2399
- previewSrc: StringConstructor;
2400
- fallbackSrc: StringConstructor;
2401
- width: import('vue').PropType<string | number>;
2402
- src: StringConstructor;
2403
- previewDisabled: BooleanConstructor;
2404
- loadDescription: StringConstructor;
2405
- onError: import('vue').PropType<(e: Event) => void>;
2406
- onLoad: import('vue').PropType<(e: Event) => void>;
2407
- }>> & Readonly<{}>, {
2408
- click: () => void;
2409
- showPreview: () => void;
2410
- mergedClsPrefix: import('vue').Ref<string, string>;
2411
- groupId: string | undefined;
2412
- previewInstRef: import('vue').Ref<{
2413
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2414
- } | null, import('naive-ui').ImagePreviewInst | {
2415
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2416
- } | null>;
2417
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2418
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2419
- showError: import('vue').Ref<boolean, boolean>;
2420
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2421
- loaded: import('vue').Ref<boolean, boolean>;
2422
- mergedOnClick: (e: PointerEvent) => void;
2423
- onPreviewClose: () => void;
2424
- mergedOnError: (e: Event) => void;
2425
- mergedOnLoad: (e: Event) => void;
2426
- previewShow: import('vue').Ref<boolean, boolean>;
2427
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2428
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2429
- lazy: boolean;
2430
- showToolbar: boolean;
2431
- showToolbarTooltip: boolean;
2432
- previewDisabled: boolean;
2433
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2434
- P: {};
2435
- B: {};
2436
- D: {};
2437
- C: {};
2438
- M: {};
2439
- Defaults: {};
2440
- }, Readonly<import('vue').ExtractPropTypes<{
2441
- onPreviewPrev: import('vue').PropType<() => void>;
2442
- onPreviewNext: import('vue').PropType<() => void>;
2443
- showToolbar: {
2444
- type: BooleanConstructor;
2445
- default: boolean;
2446
- };
2447
- showToolbarTooltip: BooleanConstructor;
2448
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2449
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2450
- toolbarIconColor: string;
2451
- toolbarColor: string;
2452
- toolbarBoxShadow: string;
2453
- toolbarBorderRadius: string;
2454
- }, {
2455
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2456
- borderRadius: string;
2457
- boxShadow: string;
2458
- color: string;
2459
- textColor: string;
2460
- padding: string;
2461
- }, {
2462
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2463
- fontSize: string;
2464
- borderRadius: string;
2465
- color: string;
2466
- dividerColor: string;
2467
- textColor: string;
2468
- boxShadow: string;
2469
- space: string;
2470
- spaceArrow: string;
2471
- arrowOffset: string;
2472
- arrowOffsetVertical: string;
2473
- arrowHeight: string;
2474
- padding: string;
2475
- }, {
2476
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2477
- height: string;
2478
- width: string;
2479
- borderRadius: string;
2480
- color: string;
2481
- colorHover: string;
2482
- railInsetHorizontalBottom: string;
2483
- railInsetHorizontalTop: string;
2484
- railInsetVerticalRight: string;
2485
- railInsetVerticalLeft: string;
2486
- railColor: string;
2487
- }, any>;
2488
- }>;
2489
- }>;
2490
- }>>;
2491
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2492
- toolbarIconColor: string;
2493
- toolbarColor: string;
2494
- toolbarBoxShadow: string;
2495
- toolbarBorderRadius: string;
2496
- }, {
2497
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2498
- borderRadius: string;
2499
- boxShadow: string;
2500
- color: string;
2501
- textColor: string;
2502
- padding: string;
2503
- }, {
2504
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2505
- fontSize: string;
2506
- borderRadius: string;
2507
- color: string;
2508
- dividerColor: string;
2509
- textColor: string;
2510
- boxShadow: string;
2511
- space: string;
2512
- spaceArrow: string;
2513
- arrowOffset: string;
2514
- arrowOffsetVertical: string;
2515
- arrowHeight: string;
2516
- padding: string;
2517
- }, {
2518
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2519
- height: string;
2520
- width: string;
2521
- borderRadius: string;
2522
- color: string;
2523
- colorHover: string;
2524
- railInsetHorizontalBottom: string;
2525
- railInsetHorizontalTop: string;
2526
- railInsetVerticalRight: string;
2527
- railInsetVerticalLeft: string;
2528
- railColor: string;
2529
- }, any>;
2530
- }>;
2531
- }>;
2532
- }>>>;
2533
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2534
- toolbarIconColor: string;
2535
- toolbarColor: string;
2536
- toolbarBoxShadow: string;
2537
- toolbarBorderRadius: string;
2538
- }, {
2539
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2540
- borderRadius: string;
2541
- boxShadow: string;
2542
- color: string;
2543
- textColor: string;
2544
- padding: string;
2545
- }, {
2546
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2547
- fontSize: string;
2548
- borderRadius: string;
2549
- color: string;
2550
- dividerColor: string;
2551
- textColor: string;
2552
- boxShadow: string;
2553
- space: string;
2554
- spaceArrow: string;
2555
- arrowOffset: string;
2556
- arrowOffsetVertical: string;
2557
- arrowHeight: string;
2558
- padding: string;
2559
- }, {
2560
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2561
- height: string;
2562
- width: string;
2563
- borderRadius: string;
2564
- color: string;
2565
- colorHover: string;
2566
- railInsetHorizontalBottom: string;
2567
- railInsetHorizontalTop: string;
2568
- railInsetVerticalRight: string;
2569
- railInsetVerticalLeft: string;
2570
- railColor: string;
2571
- }, any>;
2572
- }>;
2573
- }>;
2574
- }>>>;
2575
- alt: StringConstructor;
2576
- height: import('vue').PropType<string | number>;
2577
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2578
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2579
- lazy: BooleanConstructor;
2580
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2581
- objectFit: {
2582
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2583
- default: string;
2584
- };
2585
- previewSrc: StringConstructor;
2586
- fallbackSrc: StringConstructor;
2587
- width: import('vue').PropType<string | number>;
2588
- src: StringConstructor;
2589
- previewDisabled: BooleanConstructor;
2590
- loadDescription: StringConstructor;
2591
- onError: import('vue').PropType<(e: Event) => void>;
2592
- onLoad: import('vue').PropType<(e: Event) => void>;
2593
- }>> & Readonly<{}>, {
2594
- click: () => void;
2595
- showPreview: () => void;
2596
- mergedClsPrefix: import('vue').Ref<string, string>;
2597
- groupId: string | undefined;
2598
- previewInstRef: import('vue').Ref<{
2599
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2600
- } | null, import('naive-ui').ImagePreviewInst | {
2601
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2602
- } | null>;
2603
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2604
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2605
- showError: import('vue').Ref<boolean, boolean>;
2606
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2607
- loaded: import('vue').Ref<boolean, boolean>;
2608
- mergedOnClick: (e: PointerEvent) => void;
2609
- onPreviewClose: () => void;
2610
- mergedOnError: (e: Event) => void;
2611
- mergedOnLoad: (e: Event) => void;
2612
- previewShow: import('vue').Ref<boolean, boolean>;
2613
- }, {}, {}, {}, {
2614
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2615
- lazy: boolean;
2616
- showToolbar: boolean;
2617
- showToolbarTooltip: boolean;
2618
- previewDisabled: boolean;
2619
- }> | null;
2620
- };
2621
- $slots: Readonly<{
2622
- [name: string]: import('vue').Slot<any> | undefined;
2623
- }>;
2624
- $root: import('vue').ComponentPublicInstance | null;
2625
- $parent: import('vue').ComponentPublicInstance | null;
2626
- $host: Element | null;
2627
- $emit: ((event: "load", ...args: any[]) => void) & ((event: "click") => void) & ((event: "error") => void);
2628
- $el: any;
2629
- $options: import('vue').ComponentOptionsBase<Readonly<{
2630
- src?: import('./struct/image.ts').Image_;
2631
- alt?: string;
2632
- previewable?: boolean;
2633
- retryMax?: number;
2634
- round?: boolean;
2635
- fit?: import('naive-ui').ImageProps["objectFit"];
2636
- class?: any;
2637
- hideLoading?: boolean;
2638
- hideError?: boolean;
2639
- inline?: boolean;
2640
- style?: import('vue').StyleValue;
2641
- imgProp?: import('vue').ImgHTMLAttributes;
2642
- useList?: {
2643
- loaded: Set<string>;
2644
- error: Set<string>;
2645
- };
2646
- fetchpriority?: "high" | "low" | "auto";
2647
- fallback?: import('./struct/image.ts').Image_;
2648
- }> & Readonly<{
2649
- onLoad?: ((...args: any[]) => any) | undefined;
2650
- onClick?: (() => any) | undefined;
2651
- onError?: (() => any) | undefined;
2652
- }>, {
2653
- isLoaded: import('vue').ComputedRef<boolean>;
2654
- imageEl: HTMLImageElement | null | undefined;
2655
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
2656
- onPreviewPrev: import('vue').PropType<() => void>;
2657
- onPreviewNext: import('vue').PropType<() => void>;
2658
- showToolbar: {
2659
- type: BooleanConstructor;
2660
- default: boolean;
2661
- };
2662
- showToolbarTooltip: BooleanConstructor;
2663
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2664
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2665
- toolbarIconColor: string;
2666
- toolbarColor: string;
2667
- toolbarBoxShadow: string;
2668
- toolbarBorderRadius: string;
2669
- }, {
2670
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2671
- borderRadius: string;
2672
- boxShadow: string;
2673
- color: string;
2674
- textColor: string;
2675
- padding: string;
2676
- }, {
2677
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2678
- fontSize: string;
2679
- borderRadius: string;
2680
- color: string;
2681
- dividerColor: string;
2682
- textColor: string;
2683
- boxShadow: string;
2684
- space: string;
2685
- spaceArrow: string;
2686
- arrowOffset: string;
2687
- arrowOffsetVertical: string;
2688
- arrowHeight: string;
2689
- padding: string;
2690
- }, {
2691
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2692
- height: string;
2693
- width: string;
2694
- borderRadius: string;
2695
- color: string;
2696
- colorHover: string;
2697
- railInsetHorizontalBottom: string;
2698
- railInsetHorizontalTop: string;
2699
- railInsetVerticalRight: string;
2700
- railInsetVerticalLeft: string;
2701
- railColor: string;
2702
- }, any>;
2703
- }>;
2704
- }>;
2705
- }>>;
2706
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2707
- toolbarIconColor: string;
2708
- toolbarColor: string;
2709
- toolbarBoxShadow: string;
2710
- toolbarBorderRadius: string;
2711
- }, {
2712
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2713
- borderRadius: string;
2714
- boxShadow: string;
2715
- color: string;
2716
- textColor: string;
2717
- padding: string;
2718
- }, {
2719
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2720
- fontSize: string;
2721
- borderRadius: string;
2722
- color: string;
2723
- dividerColor: string;
2724
- textColor: string;
2725
- boxShadow: string;
2726
- space: string;
2727
- spaceArrow: string;
2728
- arrowOffset: string;
2729
- arrowOffsetVertical: string;
2730
- arrowHeight: string;
2731
- padding: string;
2732
- }, {
2733
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2734
- height: string;
2735
- width: string;
2736
- borderRadius: string;
2737
- color: string;
2738
- colorHover: string;
2739
- railInsetHorizontalBottom: string;
2740
- railInsetHorizontalTop: string;
2741
- railInsetVerticalRight: string;
2742
- railInsetVerticalLeft: string;
2743
- railColor: string;
2744
- }, any>;
2745
- }>;
2746
- }>;
2747
- }>>>;
2748
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2749
- toolbarIconColor: string;
2750
- toolbarColor: string;
2751
- toolbarBoxShadow: string;
2752
- toolbarBorderRadius: string;
2753
- }, {
2754
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2755
- borderRadius: string;
2756
- boxShadow: string;
2757
- color: string;
2758
- textColor: string;
2759
- padding: string;
2760
- }, {
2761
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2762
- fontSize: string;
2763
- borderRadius: string;
2764
- color: string;
2765
- dividerColor: string;
2766
- textColor: string;
2767
- boxShadow: string;
2768
- space: string;
2769
- spaceArrow: string;
2770
- arrowOffset: string;
2771
- arrowOffsetVertical: string;
2772
- arrowHeight: string;
2773
- padding: string;
2774
- }, {
2775
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2776
- height: string;
2777
- width: string;
2778
- borderRadius: string;
2779
- color: string;
2780
- colorHover: string;
2781
- railInsetHorizontalBottom: string;
2782
- railInsetHorizontalTop: string;
2783
- railInsetVerticalRight: string;
2784
- railInsetVerticalLeft: string;
2785
- railColor: string;
2786
- }, any>;
2787
- }>;
2788
- }>;
2789
- }>>>;
2790
- alt: StringConstructor;
2791
- height: import('vue').PropType<string | number>;
2792
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2793
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2794
- lazy: BooleanConstructor;
2795
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2796
- objectFit: {
2797
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2798
- default: string;
2799
- };
2800
- previewSrc: StringConstructor;
2801
- fallbackSrc: StringConstructor;
2802
- width: import('vue').PropType<string | number>;
2803
- src: StringConstructor;
2804
- previewDisabled: BooleanConstructor;
2805
- loadDescription: StringConstructor;
2806
- onError: import('vue').PropType<(e: Event) => void>;
2807
- onLoad: import('vue').PropType<(e: Event) => void>;
2808
- }>> & Readonly<{}>, {
2809
- click: () => void;
2810
- showPreview: () => void;
2811
- mergedClsPrefix: import('vue').Ref<string, string>;
2812
- groupId: string | undefined;
2813
- previewInstRef: import('vue').Ref<{
2814
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2815
- } | null, import('naive-ui').ImagePreviewInst | {
2816
- setThumbnailEl: (e: HTMLImageElement | null) => void;
2817
- } | null>;
2818
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
2819
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
2820
- showError: import('vue').Ref<boolean, boolean>;
2821
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
2822
- loaded: import('vue').Ref<boolean, boolean>;
2823
- mergedOnClick: (e: PointerEvent) => void;
2824
- onPreviewClose: () => void;
2825
- mergedOnError: (e: Event) => void;
2826
- mergedOnLoad: (e: Event) => void;
2827
- previewShow: import('vue').Ref<boolean, boolean>;
2828
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2829
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
2830
- lazy: boolean;
2831
- showToolbar: boolean;
2832
- showToolbarTooltip: boolean;
2833
- previewDisabled: boolean;
2834
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2835
- P: {};
2836
- B: {};
2837
- D: {};
2838
- C: {};
2839
- M: {};
2840
- Defaults: {};
2841
- }, Readonly<import('vue').ExtractPropTypes<{
2842
- onPreviewPrev: import('vue').PropType<() => void>;
2843
- onPreviewNext: import('vue').PropType<() => void>;
2844
- showToolbar: {
2845
- type: BooleanConstructor;
2846
- default: boolean;
2847
- };
2848
- showToolbarTooltip: BooleanConstructor;
2849
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
2850
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2851
- toolbarIconColor: string;
2852
- toolbarColor: string;
2853
- toolbarBoxShadow: string;
2854
- toolbarBorderRadius: string;
2855
- }, {
2856
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2857
- borderRadius: string;
2858
- boxShadow: string;
2859
- color: string;
2860
- textColor: string;
2861
- padding: string;
2862
- }, {
2863
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2864
- fontSize: string;
2865
- borderRadius: string;
2866
- color: string;
2867
- dividerColor: string;
2868
- textColor: string;
2869
- boxShadow: string;
2870
- space: string;
2871
- spaceArrow: string;
2872
- arrowOffset: string;
2873
- arrowOffsetVertical: string;
2874
- arrowHeight: string;
2875
- padding: string;
2876
- }, {
2877
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2878
- height: string;
2879
- width: string;
2880
- borderRadius: string;
2881
- color: string;
2882
- colorHover: string;
2883
- railInsetHorizontalBottom: string;
2884
- railInsetHorizontalTop: string;
2885
- railInsetVerticalRight: string;
2886
- railInsetVerticalLeft: string;
2887
- railColor: string;
2888
- }, any>;
2889
- }>;
2890
- }>;
2891
- }>>;
2892
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2893
- toolbarIconColor: string;
2894
- toolbarColor: string;
2895
- toolbarBoxShadow: string;
2896
- toolbarBorderRadius: string;
2897
- }, {
2898
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2899
- borderRadius: string;
2900
- boxShadow: string;
2901
- color: string;
2902
- textColor: string;
2903
- padding: string;
2904
- }, {
2905
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2906
- fontSize: string;
2907
- borderRadius: string;
2908
- color: string;
2909
- dividerColor: string;
2910
- textColor: string;
2911
- boxShadow: string;
2912
- space: string;
2913
- spaceArrow: string;
2914
- arrowOffset: string;
2915
- arrowOffsetVertical: string;
2916
- arrowHeight: string;
2917
- padding: string;
2918
- }, {
2919
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2920
- height: string;
2921
- width: string;
2922
- borderRadius: string;
2923
- color: string;
2924
- colorHover: string;
2925
- railInsetHorizontalBottom: string;
2926
- railInsetHorizontalTop: string;
2927
- railInsetVerticalRight: string;
2928
- railInsetVerticalLeft: string;
2929
- railColor: string;
2930
- }, any>;
2931
- }>;
2932
- }>;
2933
- }>>>;
2934
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
2935
- toolbarIconColor: string;
2936
- toolbarColor: string;
2937
- toolbarBoxShadow: string;
2938
- toolbarBorderRadius: string;
2939
- }, {
2940
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
2941
- borderRadius: string;
2942
- boxShadow: string;
2943
- color: string;
2944
- textColor: string;
2945
- padding: string;
2946
- }, {
2947
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
2948
- fontSize: string;
2949
- borderRadius: string;
2950
- color: string;
2951
- dividerColor: string;
2952
- textColor: string;
2953
- boxShadow: string;
2954
- space: string;
2955
- spaceArrow: string;
2956
- arrowOffset: string;
2957
- arrowOffsetVertical: string;
2958
- arrowHeight: string;
2959
- padding: string;
2960
- }, {
2961
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
2962
- height: string;
2963
- width: string;
2964
- borderRadius: string;
2965
- color: string;
2966
- colorHover: string;
2967
- railInsetHorizontalBottom: string;
2968
- railInsetHorizontalTop: string;
2969
- railInsetVerticalRight: string;
2970
- railInsetVerticalLeft: string;
2971
- railColor: string;
2972
- }, any>;
2973
- }>;
2974
- }>;
2975
- }>>>;
2976
- alt: StringConstructor;
2977
- height: import('vue').PropType<string | number>;
2978
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2979
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
2980
- lazy: BooleanConstructor;
2981
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
2982
- objectFit: {
2983
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
2984
- default: string;
2985
- };
2986
- previewSrc: StringConstructor;
2987
- fallbackSrc: StringConstructor;
2988
- width: import('vue').PropType<string | number>;
2989
- src: StringConstructor;
2990
- previewDisabled: BooleanConstructor;
2991
- loadDescription: StringConstructor;
2992
- onError: import('vue').PropType<(e: Event) => void>;
2993
- onLoad: import('vue').PropType<(e: Event) => void>;
2994
- }>> & Readonly<{}>, {
2995
- click: () => void;
2996
- showPreview: () => void;
2997
- mergedClsPrefix: import('vue').Ref<string, string>;
2998
- groupId: string | undefined;
2999
- previewInstRef: import('vue').Ref<{
3000
- setThumbnailEl: (e: HTMLImageElement | null) => void;
3001
- } | null, import('naive-ui').ImagePreviewInst | {
3002
- setThumbnailEl: (e: HTMLImageElement | null) => void;
3003
- } | null>;
3004
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
3005
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
3006
- showError: import('vue').Ref<boolean, boolean>;
3007
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
3008
- loaded: import('vue').Ref<boolean, boolean>;
3009
- mergedOnClick: (e: PointerEvent) => void;
3010
- onPreviewClose: () => void;
3011
- mergedOnError: (e: Event) => void;
3012
- mergedOnLoad: (e: Event) => void;
3013
- previewShow: import('vue').Ref<boolean, boolean>;
3014
- }, {}, {}, {}, {
3015
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
3016
- lazy: boolean;
3017
- showToolbar: boolean;
3018
- showToolbarTooltip: boolean;
3019
- previewDisabled: boolean;
3020
- }> | null;
3021
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3022
- load: (...args: any[]) => any;
3023
- click: () => any;
3024
- error: () => any;
3025
- }, string, {
3026
- retryMax: number;
3027
- fetchpriority: "high" | "low" | "auto";
3028
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
3029
- beforeCreate?: (() => void) | (() => void)[];
3030
- created?: (() => void) | (() => void)[];
3031
- beforeMount?: (() => void) | (() => void)[];
3032
- mounted?: (() => void) | (() => void)[];
3033
- beforeUpdate?: (() => void) | (() => void)[];
3034
- updated?: (() => void) | (() => void)[];
3035
- activated?: (() => void) | (() => void)[];
3036
- deactivated?: (() => void) | (() => void)[];
3037
- beforeDestroy?: (() => void) | (() => void)[];
3038
- beforeUnmount?: (() => void) | (() => void)[];
3039
- destroyed?: (() => void) | (() => void)[];
3040
- unmounted?: (() => void) | (() => void)[];
3041
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
3042
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
3043
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
3044
- };
3045
- $forceUpdate: () => void;
3046
- $nextTick: typeof import('vue').nextTick;
3047
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
3048
- } & Readonly<{
3049
- retryMax: number;
3050
- fetchpriority: "high" | "low" | "auto";
3051
- }> & Omit<Readonly<{
3052
- src?: import('./struct/image.ts').Image_;
3053
- alt?: string;
3054
- previewable?: boolean;
3055
- retryMax?: number;
3056
- round?: boolean;
3057
- fit?: import('naive-ui').ImageProps["objectFit"];
3058
- class?: any;
3059
- hideLoading?: boolean;
3060
- hideError?: boolean;
3061
- inline?: boolean;
3062
- style?: import('vue').StyleValue;
3063
- imgProp?: import('vue').ImgHTMLAttributes;
3064
- useList?: {
3065
- loaded: Set<string>;
3066
- error: Set<string>;
3067
- };
3068
- fetchpriority?: "high" | "low" | "auto";
3069
- fallback?: import('./struct/image.ts').Image_;
3070
- }> & Readonly<{
3071
- onLoad?: ((...args: any[]) => any) | undefined;
3072
- onClick?: (() => any) | undefined;
3073
- onError?: (() => any) | undefined;
3074
- }>, ("retryMax" | "fetchpriority") | "isLoaded" | "imageEl" | "imageIns"> & import('vue').ShallowUnwrapRef<{
3075
- isLoaded: import('vue').ComputedRef<boolean>;
3076
- imageEl: HTMLImageElement | null | undefined;
3077
- imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3078
- onPreviewPrev: import('vue').PropType<() => void>;
3079
- onPreviewNext: import('vue').PropType<() => void>;
3080
- showToolbar: {
3081
- type: BooleanConstructor;
3082
- default: boolean;
3083
- };
3084
- showToolbarTooltip: BooleanConstructor;
3085
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
3086
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3087
- toolbarIconColor: string;
3088
- toolbarColor: string;
3089
- toolbarBoxShadow: string;
3090
- toolbarBorderRadius: string;
3091
- }, {
3092
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3093
- borderRadius: string;
3094
- boxShadow: string;
3095
- color: string;
3096
- textColor: string;
3097
- padding: string;
3098
- }, {
3099
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3100
- fontSize: string;
3101
- borderRadius: string;
3102
- color: string;
3103
- dividerColor: string;
3104
- textColor: string;
3105
- boxShadow: string;
3106
- space: string;
3107
- spaceArrow: string;
3108
- arrowOffset: string;
3109
- arrowOffsetVertical: string;
3110
- arrowHeight: string;
3111
- padding: string;
3112
- }, {
3113
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3114
- height: string;
3115
- width: string;
3116
- borderRadius: string;
3117
- color: string;
3118
- colorHover: string;
3119
- railInsetHorizontalBottom: string;
3120
- railInsetHorizontalTop: string;
3121
- railInsetVerticalRight: string;
3122
- railInsetVerticalLeft: string;
3123
- railColor: string;
3124
- }, any>;
3125
- }>;
3126
- }>;
3127
- }>>;
3128
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3129
- toolbarIconColor: string;
3130
- toolbarColor: string;
3131
- toolbarBoxShadow: string;
3132
- toolbarBorderRadius: string;
3133
- }, {
3134
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3135
- borderRadius: string;
3136
- boxShadow: string;
3137
- color: string;
3138
- textColor: string;
3139
- padding: string;
3140
- }, {
3141
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3142
- fontSize: string;
3143
- borderRadius: string;
3144
- color: string;
3145
- dividerColor: string;
3146
- textColor: string;
3147
- boxShadow: string;
3148
- space: string;
3149
- spaceArrow: string;
3150
- arrowOffset: string;
3151
- arrowOffsetVertical: string;
3152
- arrowHeight: string;
3153
- padding: string;
3154
- }, {
3155
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3156
- height: string;
3157
- width: string;
3158
- borderRadius: string;
3159
- color: string;
3160
- colorHover: string;
3161
- railInsetHorizontalBottom: string;
3162
- railInsetHorizontalTop: string;
3163
- railInsetVerticalRight: string;
3164
- railInsetVerticalLeft: string;
3165
- railColor: string;
3166
- }, any>;
3167
- }>;
3168
- }>;
3169
- }>>>;
3170
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3171
- toolbarIconColor: string;
3172
- toolbarColor: string;
3173
- toolbarBoxShadow: string;
3174
- toolbarBorderRadius: string;
3175
- }, {
3176
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3177
- borderRadius: string;
3178
- boxShadow: string;
3179
- color: string;
3180
- textColor: string;
3181
- padding: string;
3182
- }, {
3183
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3184
- fontSize: string;
3185
- borderRadius: string;
3186
- color: string;
3187
- dividerColor: string;
3188
- textColor: string;
3189
- boxShadow: string;
3190
- space: string;
3191
- spaceArrow: string;
3192
- arrowOffset: string;
3193
- arrowOffsetVertical: string;
3194
- arrowHeight: string;
3195
- padding: string;
3196
- }, {
3197
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3198
- height: string;
3199
- width: string;
3200
- borderRadius: string;
3201
- color: string;
3202
- colorHover: string;
3203
- railInsetHorizontalBottom: string;
3204
- railInsetHorizontalTop: string;
3205
- railInsetVerticalRight: string;
3206
- railInsetVerticalLeft: string;
3207
- railColor: string;
3208
- }, any>;
3209
- }>;
3210
- }>;
3211
- }>>>;
3212
- alt: StringConstructor;
3213
- height: import('vue').PropType<string | number>;
3214
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
3215
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
3216
- lazy: BooleanConstructor;
3217
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
3218
- objectFit: {
3219
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
3220
- default: string;
3221
- };
3222
- previewSrc: StringConstructor;
3223
- fallbackSrc: StringConstructor;
3224
- width: import('vue').PropType<string | number>;
3225
- src: StringConstructor;
3226
- previewDisabled: BooleanConstructor;
3227
- loadDescription: StringConstructor;
3228
- onError: import('vue').PropType<(e: Event) => void>;
3229
- onLoad: import('vue').PropType<(e: Event) => void>;
3230
- }>> & Readonly<{}>, {
3231
- click: () => void;
3232
- showPreview: () => void;
3233
- mergedClsPrefix: import('vue').Ref<string, string>;
3234
- groupId: string | undefined;
3235
- previewInstRef: import('vue').Ref<{
3236
- setThumbnailEl: (e: HTMLImageElement | null) => void;
3237
- } | null, import('naive-ui').ImagePreviewInst | {
3238
- setThumbnailEl: (e: HTMLImageElement | null) => void;
3239
- } | null>;
3240
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
3241
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
3242
- showError: import('vue').Ref<boolean, boolean>;
3243
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
3244
- loaded: import('vue').Ref<boolean, boolean>;
3245
- mergedOnClick: (e: PointerEvent) => void;
3246
- onPreviewClose: () => void;
3247
- mergedOnError: (e: Event) => void;
3248
- mergedOnLoad: (e: Event) => void;
3249
- previewShow: import('vue').Ref<boolean, boolean>;
3250
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
3251
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
3252
- lazy: boolean;
3253
- showToolbar: boolean;
3254
- showToolbarTooltip: boolean;
3255
- previewDisabled: boolean;
3256
- }, true, {}, import('vue').SlotsType<import('naive-ui').ImageSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3257
- P: {};
3258
- B: {};
3259
- D: {};
3260
- C: {};
3261
- M: {};
3262
- Defaults: {};
3263
- }, Readonly<import('vue').ExtractPropTypes<{
3264
- onPreviewPrev: import('vue').PropType<() => void>;
3265
- onPreviewNext: import('vue').PropType<() => void>;
3266
- showToolbar: {
3267
- type: BooleanConstructor;
3268
- default: boolean;
3269
- };
3270
- showToolbarTooltip: BooleanConstructor;
3271
- renderToolbar: import('vue').PropType<import('naive-ui').ImageRenderToolbar>;
3272
- theme: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3273
- toolbarIconColor: string;
3274
- toolbarColor: string;
3275
- toolbarBoxShadow: string;
3276
- toolbarBorderRadius: string;
3277
- }, {
3278
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3279
- borderRadius: string;
3280
- boxShadow: string;
3281
- color: string;
3282
- textColor: string;
3283
- padding: string;
3284
- }, {
3285
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3286
- fontSize: string;
3287
- borderRadius: string;
3288
- color: string;
3289
- dividerColor: string;
3290
- textColor: string;
3291
- boxShadow: string;
3292
- space: string;
3293
- spaceArrow: string;
3294
- arrowOffset: string;
3295
- arrowOffsetVertical: string;
3296
- arrowHeight: string;
3297
- padding: string;
3298
- }, {
3299
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3300
- height: string;
3301
- width: string;
3302
- borderRadius: string;
3303
- color: string;
3304
- colorHover: string;
3305
- railInsetHorizontalBottom: string;
3306
- railInsetHorizontalTop: string;
3307
- railInsetVerticalRight: string;
3308
- railInsetVerticalLeft: string;
3309
- railColor: string;
3310
- }, any>;
3311
- }>;
3312
- }>;
3313
- }>>;
3314
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3315
- toolbarIconColor: string;
3316
- toolbarColor: string;
3317
- toolbarBoxShadow: string;
3318
- toolbarBorderRadius: string;
3319
- }, {
3320
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3321
- borderRadius: string;
3322
- boxShadow: string;
3323
- color: string;
3324
- textColor: string;
3325
- padding: string;
3326
- }, {
3327
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3328
- fontSize: string;
3329
- borderRadius: string;
3330
- color: string;
3331
- dividerColor: string;
3332
- textColor: string;
3333
- boxShadow: string;
3334
- space: string;
3335
- spaceArrow: string;
3336
- arrowOffset: string;
3337
- arrowOffsetVertical: string;
3338
- arrowHeight: string;
3339
- padding: string;
3340
- }, {
3341
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3342
- height: string;
3343
- width: string;
3344
- borderRadius: string;
3345
- color: string;
3346
- colorHover: string;
3347
- railInsetHorizontalBottom: string;
3348
- railInsetHorizontalTop: string;
3349
- railInsetVerticalRight: string;
3350
- railInsetVerticalLeft: string;
3351
- railColor: string;
3352
- }, any>;
3353
- }>;
3354
- }>;
3355
- }>>>;
3356
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins/use-theme').Theme<"Image", {
3357
- toolbarIconColor: string;
3358
- toolbarColor: string;
3359
- toolbarBoxShadow: string;
3360
- toolbarBorderRadius: string;
3361
- }, {
3362
- Tooltip: import('naive-ui/es/_mixins/use-theme').Theme<"Tooltip", {
3363
- borderRadius: string;
3364
- boxShadow: string;
3365
- color: string;
3366
- textColor: string;
3367
- padding: string;
3368
- }, {
3369
- Popover: import('naive-ui/es/_mixins/use-theme').Theme<"Popover", {
3370
- fontSize: string;
3371
- borderRadius: string;
3372
- color: string;
3373
- dividerColor: string;
3374
- textColor: string;
3375
- boxShadow: string;
3376
- space: string;
3377
- spaceArrow: string;
3378
- arrowOffset: string;
3379
- arrowOffsetVertical: string;
3380
- arrowHeight: string;
3381
- padding: string;
3382
- }, {
3383
- Scrollbar: import('naive-ui/es/_mixins/use-theme').Theme<"Scrollbar", {
3384
- height: string;
3385
- width: string;
3386
- borderRadius: string;
3387
- color: string;
3388
- colorHover: string;
3389
- railInsetHorizontalBottom: string;
3390
- railInsetHorizontalTop: string;
3391
- railInsetVerticalRight: string;
3392
- railInsetVerticalLeft: string;
3393
- railColor: string;
3394
- }, any>;
3395
- }>;
3396
- }>;
3397
- }>>>;
3398
- alt: StringConstructor;
3399
- height: import('vue').PropType<string | number>;
3400
- imgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
3401
- previewedImgProps: import('vue').PropType<import('vue').ImgHTMLAttributes>;
3402
- lazy: BooleanConstructor;
3403
- intersectionObserverOptions: import('vue').PropType<import('naive-ui/es/image/src/utils').IntersectionObserverOptions>;
3404
- objectFit: {
3405
- type: import('vue').PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
3406
- default: string;
3407
- };
3408
- previewSrc: StringConstructor;
3409
- fallbackSrc: StringConstructor;
3410
- width: import('vue').PropType<string | number>;
3411
- src: StringConstructor;
3412
- previewDisabled: BooleanConstructor;
3413
- loadDescription: StringConstructor;
3414
- onError: import('vue').PropType<(e: Event) => void>;
3415
- onLoad: import('vue').PropType<(e: Event) => void>;
3416
- }>> & Readonly<{}>, {
3417
- click: () => void;
3418
- showPreview: () => void;
3419
- mergedClsPrefix: import('vue').Ref<string, string>;
3420
- groupId: string | undefined;
3421
- previewInstRef: import('vue').Ref<{
3422
- setThumbnailEl: (e: HTMLImageElement | null) => void;
3423
- } | null, import('naive-ui').ImagePreviewInst | {
3424
- setThumbnailEl: (e: HTMLImageElement | null) => void;
3425
- } | null>;
3426
- imageRef: import('vue').Ref<HTMLImageElement | null, HTMLImageElement | null>;
3427
- mergedPreviewSrc: import('vue').ComputedRef<string | undefined>;
3428
- showError: import('vue').Ref<boolean, boolean>;
3429
- shouldStartLoading: import('vue').Ref<boolean, boolean>;
3430
- loaded: import('vue').Ref<boolean, boolean>;
3431
- mergedOnClick: (e: PointerEvent) => void;
3432
- onPreviewClose: () => void;
3433
- mergedOnError: (e: Event) => void;
3434
- mergedOnLoad: (e: Event) => void;
3435
- previewShow: import('vue').Ref<boolean, boolean>;
3436
- }, {}, {}, {}, {
3437
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
3438
- lazy: boolean;
3439
- showToolbar: boolean;
3440
- showToolbarTooltip: boolean;
3441
- previewDisabled: boolean;
3442
- }> | null;
3443
- }> & {} & import('vue').ComponentCustomProperties & {} & {
3444
- $slots: Readonly<{
3445
- loading?(): any;
3446
- fail?(): any;
3447
- }> & {
3448
- loading?(): any;
3449
- fail?(): any;
3450
- };
3451
- }) | null;
3452
- }, any, import('vue').ComponentProvideOptions, {
3453
- P: {};
3454
- B: {};
3455
- D: {};
3456
- C: {};
3457
- M: {};
3458
- Defaults: {};
3459
- }, Readonly<{
3460
- item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
3461
- freeHeight?: boolean;
3462
- disabled?: boolean;
3463
- type?: "default" | "big" | "small";
3464
- class?: any;
3465
- style?: import('vue').StyleValue;
3466
- }> & Readonly<{
3467
- onClick?: (() => any) | undefined;
3468
- }>, {}, {}, {}, {}, {
3469
- type: "default" | "big" | "small";
3470
- }>;
3471
- __isFragment?: never;
3472
- __isTeleport?: never;
3473
- __isSuspense?: never;
3474
- } & import('vue').ComponentOptionsBase<Readonly<{
3475
- item: import('./struct/item.ts').Item | import('./struct/item.ts').RawItem;
3476
- freeHeight?: boolean;
3477
- disabled?: boolean;
3478
- type?: "default" | "big" | "small";
3479
- class?: any;
3480
- style?: import('vue').StyleValue;
3481
- }> & Readonly<{
3482
- onClick?: (() => any) | undefined;
3483
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3484
- click: () => any;
3485
- }, string, {
3486
- type: "default" | "big" | "small";
3487
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
3488
- $slots: Readonly<{
3489
- default(): void;
3490
- smallTopInfo(): void;
3491
- cover(): void;
3492
- }> & {
3493
- default(): void;
3494
- smallTopInfo(): void;
3495
- cover(): void;
3496
- };
3497
- });
3498
- };
3499
2206
  };
3500
2207
  export { uni } from './struct/index';
3501
2208
  import * as uData from './utils/data';
@@ -3539,46 +2246,57 @@ export declare const Store: {
3539
2246
  $hasRaw: (id: string) => boolean;
3540
2247
  $onlyGetRaw: <T extends object>(id: string) => import('vue').Reactive<T>;
3541
2248
  }, "$apply" | "$has" | "$onlyGet" | "$applyRaw" | "$hasRaw" | "$onlyGetRaw">>;
3542
- useConfig: () => import('pinia').Store<"config", Pick<{
3543
- appConfig: {
3544
- "core.recordHistory": boolean;
3545
- "core.showAIProject": boolean;
3546
- "core.darkMode": string;
3547
- "core.easilyTitle": boolean;
3548
- };
2249
+ useConfig: import('pinia').StoreDefinition<"config", Pick<{
3549
2250
  isDark: import('vue').ComputedRef<boolean>;
3550
- form: import('vue').ShallowReactive<Map<string, {
3551
- form: Record<string, import('./index.ts').UniFormDescription>;
2251
+ form: import('vue').ShallowReactive<Map<symbol, {
2252
+ form: import('./config').ConfigDescription;
3552
2253
  value: import('vue').Ref<any>;
3553
2254
  }>>;
3554
- $useCustomConfig: <T extends Record<string, Required<Pick<import('./index.ts').UniFormDescription, "defaultValue">> & import('./index.ts').UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: import('./index.ts').UniFormResult<T[K]>; };
3555
- }, "form" | "appConfig">, Pick<{
3556
- appConfig: {
3557
- "core.recordHistory": boolean;
3558
- "core.showAIProject": boolean;
3559
- "core.darkMode": string;
3560
- "core.easilyTitle": boolean;
3561
- };
2255
+ $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; };
2256
+ }, "form">, Pick<{
3562
2257
  isDark: import('vue').ComputedRef<boolean>;
3563
- form: import('vue').ShallowReactive<Map<string, {
3564
- form: Record<string, import('./index.ts').UniFormDescription>;
2258
+ form: import('vue').ShallowReactive<Map<symbol, {
2259
+ form: import('./config').ConfigDescription;
3565
2260
  value: import('vue').Ref<any>;
3566
2261
  }>>;
3567
- $useCustomConfig: <T extends Record<string, Required<Pick<import('./index.ts').UniFormDescription, "defaultValue">> & import('./index.ts').UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: import('./index.ts').UniFormResult<T[K]>; };
2262
+ $load: <T extends ConfigPointer>(pointer: T) => { [K in keyof T["config"]]: import('./index.ts').UniFormResult<T["config"][K]>; };
3568
2263
  }, "isDark">, Pick<{
3569
- appConfig: {
3570
- "core.recordHistory": boolean;
3571
- "core.showAIProject": boolean;
3572
- "core.darkMode": string;
3573
- "core.easilyTitle": boolean;
3574
- };
3575
2264
  isDark: import('vue').ComputedRef<boolean>;
3576
- form: import('vue').ShallowReactive<Map<string, {
3577
- form: Record<string, import('./index.ts').UniFormDescription>;
2265
+ form: import('vue').ShallowReactive<Map<symbol, {
2266
+ form: import('./config').ConfigDescription;
3578
2267
  value: import('vue').Ref<any>;
3579
2268
  }>>;
3580
- $useCustomConfig: <T extends Record<string, Required<Pick<import('./index.ts').UniFormDescription, "defaultValue">> & import('./index.ts').UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: import('./index.ts').UniFormResult<T[K]>; };
3581
- }, "$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;
3582
2299
  };
3583
2300
  export * from './plugin/index';
2301
+ export * from './depends';
3584
2302
  export * from './plugin/define.ts';