delta-comic-core 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,9 +4,9 @@ import { IfAny } from '@vueuse/core';
4
4
  import { RPromiseContent, Stream } from '../utils/data';
5
5
  declare const _default: <T extends NonNullable<VirtualListProps["items"]>[number], PF extends ((d: T[]) => any[])>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
7
- readonly onRetry?: (then: () => void) => any;
8
- readonly onNext?: (then: () => void) => any;
9
- readonly onReset?: () => any;
7
+ readonly onNext?: ((then: () => void) => any) | undefined;
8
+ readonly onReset?: (() => any) | undefined;
9
+ readonly onRetry?: ((then: () => void) => any) | undefined;
10
10
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onReset" | "onRetry" | "onNext"> & {
11
11
  source: {
12
12
  data: RPromiseContent<any, T[]>;
@@ -43,7 +43,7 @@ declare const _default: <T extends NonNullable<VirtualListProps["items"]>[number
43
43
  };
44
44
  }): any;
45
45
  };
46
- emit: ((evt: "retry", then: () => void) => void) & ((evt: "next", then: () => void) => void) & ((evt: "reset") => void);
46
+ emit: ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "retry", then: () => void) => void);
47
47
  }>) => import('vue').VNode & {
48
48
  __ctx?: Awaited<typeof __VLS_setup>;
49
49
  };
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
8
8
  rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<Partial<LoadingProps>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<LoadingProps>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const __VLS_component: import('vue').DefineComponent<Partial<LoadingProps>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<LoadingProps>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
13
  export default _default;
14
14
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -23,11 +23,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
23
23
  zIndex: import('vue').ComputedRef<number>;
24
24
  trulyShow: import('vue').ShallowRef<boolean, boolean>;
25
25
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
- "update:show": (value: boolean) => any;
27
26
  closed: () => any;
27
+ "update:show": (value: boolean) => any;
28
28
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
- "onUpdate:show"?: (value: boolean) => any;
30
- onClosed?: () => any;
29
+ onClosed?: (() => any) | undefined;
30
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
31
31
  }>, {
32
32
  position: import('vant').PopupPosition;
33
33
  noBorder: boolean;
@@ -13,7 +13,7 @@ declare function __VLS_template(): {
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
14
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
15
  text: string;
16
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
17
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
18
  export default _default;
19
19
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -26,10 +26,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
26
26
  change: (mode: boolean) => any;
27
27
  longClick: () => any;
28
28
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
- onClick?: (to: boolean) => any;
30
- "onUpdate:modelValue"?: (value: boolean) => any;
31
- onChange?: (mode: boolean) => any;
32
- onLongClick?: () => any;
29
+ onClick?: ((to: boolean) => any) | undefined;
30
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
31
+ onChange?: ((mode: boolean) => any) | undefined;
32
+ onLongClick?: (() => any) | undefined;
33
33
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
34
34
  htmlRefHook: HTMLDivElement;
35
35
  }, HTMLDivElement>;
@@ -3,10 +3,10 @@ import { StyleValue } from 'vue';
3
3
  import { IfAny } from '@vueuse/core';
4
4
  declare const _default: <T = any, PF extends ((d: T[]) => any[]) = ((d: T[]) => T[])>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
- readonly onRetry?: (then: () => void) => any;
7
- readonly onNext?: (then: () => void) => any;
8
- readonly onReset?: () => any;
9
- readonly onCol?: (args_0: 2, args_1: 2) => any;
6
+ readonly onNext?: ((then: () => void) => any) | undefined;
7
+ readonly onReset?: (() => any) | undefined;
8
+ readonly onCol?: ((args_0: 2, args_1: 2) => any) | undefined;
9
+ readonly onRetry?: ((then: () => void) => any) | undefined;
10
10
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onReset" | "onRetry" | "onNext" | "onCol"> & {
11
11
  source: {
12
12
  data: RPromiseContent<any, T[]>;
@@ -23,7 +23,7 @@ declare const _default: <T = any, PF extends ((d: T[]) => any[]) = ((d: T[]) =>
23
23
  } & Partial<{}>> & import('vue').PublicProps;
24
24
  expose(exposed: import('vue').ShallowUnwrapRef<{
25
25
  scrollTop: import('vue').WritableComputedRef<number, number>;
26
- scrollParent: import('vue').ComputedRef<HTMLDivElement>;
26
+ scrollParent: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
27
27
  reloadList(): Promise<void>;
28
28
  }>): void;
29
29
  attrs: any;
@@ -44,7 +44,7 @@ declare const _default: <T = any, PF extends ((d: T[]) => any[]) = ((d: T[]) =>
44
44
  length: number;
45
45
  }): any;
46
46
  };
47
- emit: ((evt: "retry", then: () => void) => void) & ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "col", args_0: 2, args_1: 2) => void);
47
+ emit: ((evt: "next", then: () => void) => void) & ((evt: "reset") => void) & ((evt: "col", args_0: 2, args_1: 2) => void) & ((evt: "retry", then: () => void) => void);
48
48
  }>) => import('vue').VNode & {
49
49
  __ctx?: Awaited<typeof __VLS_setup>;
50
50
  };
@@ -1,38 +1,47 @@
1
+ import { Ref } from 'vue';
2
+ import { UniFormDescription, UniFormResult } from '../plugin/define';
1
3
  declare const defaultConfig: {
2
- 'app.read.preloadImageNumbers': number;
3
- 'app.read.watchFullscreen': boolean;
4
- 'app.read.twoImage': boolean;
5
- 'app.search.showAIProject': boolean;
6
- 'app.darkMode': boolean;
7
- "app.recordHistory": boolean;
4
+ 'app.easyTitle': boolean;
8
5
  };
9
6
  export type ConfigType = typeof defaultConfig;
10
- export declare const useConfig: import('pinia').StoreDefinition<"config", Pick<{
7
+ export declare const useConfig: () => import('pinia').Store<"config", Pick<{
8
+ appConfig: {
9
+ "core.recordHistory": boolean;
10
+ "core.showAIProject": boolean;
11
+ "core.darkMode": string;
12
+ "core.easilyTitle": boolean;
13
+ };
11
14
  isDark: import('vue').ComputedRef<boolean>;
12
- $useCustomConfig: <T extends Record<string, any>>(plugin: string, defaultConfig: T) => T;
13
- 'app.read.preloadImageNumbers': number;
14
- 'app.read.watchFullscreen': boolean;
15
- 'app.read.twoImage': boolean;
16
- 'app.search.showAIProject': boolean;
17
- 'app.darkMode': boolean;
18
- "app.recordHistory": boolean;
19
- }, "app.read.preloadImageNumbers" | "app.read.watchFullscreen" | "app.read.twoImage" | "app.search.showAIProject" | "app.darkMode" | "app.recordHistory">, Pick<{
15
+ form: import('vue').ShallowReactive<Map<string, {
16
+ form: Record<string, UniFormDescription>;
17
+ value: Ref<any>;
18
+ }>>;
19
+ $useCustomConfig: <T extends Record<string, Required<Pick<UniFormDescription, "defaultValue">> & UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: UniFormResult<T[K]>; };
20
+ }, "form" | "appConfig">, Pick<{
21
+ appConfig: {
22
+ "core.recordHistory": boolean;
23
+ "core.showAIProject": boolean;
24
+ "core.darkMode": string;
25
+ "core.easilyTitle": boolean;
26
+ };
20
27
  isDark: import('vue').ComputedRef<boolean>;
21
- $useCustomConfig: <T extends Record<string, any>>(plugin: string, defaultConfig: T) => T;
22
- 'app.read.preloadImageNumbers': number;
23
- 'app.read.watchFullscreen': boolean;
24
- 'app.read.twoImage': boolean;
25
- 'app.search.showAIProject': boolean;
26
- 'app.darkMode': boolean;
27
- "app.recordHistory": boolean;
28
+ form: import('vue').ShallowReactive<Map<string, {
29
+ form: Record<string, UniFormDescription>;
30
+ value: Ref<any>;
31
+ }>>;
32
+ $useCustomConfig: <T extends Record<string, Required<Pick<UniFormDescription, "defaultValue">> & UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: UniFormResult<T[K]>; };
28
33
  }, "isDark">, Pick<{
34
+ appConfig: {
35
+ "core.recordHistory": boolean;
36
+ "core.showAIProject": boolean;
37
+ "core.darkMode": string;
38
+ "core.easilyTitle": boolean;
39
+ };
29
40
  isDark: import('vue').ComputedRef<boolean>;
30
- $useCustomConfig: <T extends Record<string, any>>(plugin: string, defaultConfig: T) => T;
31
- 'app.read.preloadImageNumbers': number;
32
- 'app.read.watchFullscreen': boolean;
33
- 'app.read.twoImage': boolean;
34
- 'app.search.showAIProject': boolean;
35
- 'app.darkMode': boolean;
36
- "app.recordHistory": boolean;
41
+ form: import('vue').ShallowReactive<Map<string, {
42
+ form: Record<string, UniFormDescription>;
43
+ value: Ref<any>;
44
+ }>>;
45
+ $useCustomConfig: <T extends Record<string, Required<Pick<UniFormDescription, "defaultValue">> & UniFormDescription>, TPlugin extends string>(plugin: TPlugin, desc: T) => { [K in keyof T as `${TPlugin}.${Extract<K, string>}`]: UniFormResult<T[K]>; };
37
46
  }, "$useCustomConfig">>;
38
47
  export {};