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/bundle.css +1 -1
- package/dist/bundle.js +219 -350
- 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 +3 -3
- package/dist/config/index.d.ts +46 -29
- package/dist/depends/index.d.ts +24 -0
- package/dist/index.d.ts +51 -1333
- package/dist/pack.tgz +0 -0
- package/dist/plugin/define.d.ts +10 -1
- package/dist/plugin/index.d.ts +5 -1
- package/dist/struct/content.d.ts +6 -5
- package/dist/utils/data.d.ts +11 -2
- package/package.json +4 -4
- package/dist/components/content/unitCard.vue.d.ts +0 -2503
|
@@ -403,8 +403,8 @@ declare function __VLS_template(): {
|
|
|
403
403
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
404
404
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
405
405
|
isLoaded: import('vue').ComputedRef<boolean>;
|
|
406
|
-
imageEl: HTMLImageElement | null | undefined
|
|
407
|
-
imageIns: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
406
|
+
imageEl: import('vue').ComputedRef<HTMLImageElement | null | undefined>;
|
|
407
|
+
imageIns: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
408
408
|
onPreviewPrev: import('vue').PropType<() => void>;
|
|
409
409
|
onPreviewNext: import('vue').PropType<() => void>;
|
|
410
410
|
showToolbar: {
|
|
@@ -769,7 +769,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
769
769
|
showToolbar: boolean;
|
|
770
770
|
showToolbarTooltip: boolean;
|
|
771
771
|
previewDisabled: boolean;
|
|
772
|
-
}> | null
|
|
772
|
+
}> | null>>;
|
|
773
773
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
774
774
|
load: (...args: any[]) => any;
|
|
775
775
|
click: () => any;
|
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 {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { uni } from '../struct';
|
|
2
|
+
import { Component } from 'vue';
|
|
3
|
+
import { Utils } from '..';
|
|
4
|
+
interface DependDefineConstraint<_T> {
|
|
5
|
+
}
|
|
6
|
+
export type DependDefine<T> = symbol & DependDefineConstraint<T>;
|
|
7
|
+
export declare const declareDependType: <T>(name: string) => DependDefine<T>;
|
|
8
|
+
export declare const requireDepend: <T>(define: DependDefine<T>) => T;
|
|
9
|
+
export declare const _pluginExposes: Map<symbol, any>;
|
|
10
|
+
export declare const coreModule: DependDefine<{
|
|
11
|
+
layout: Record<string, uni.content.ViewLayoutComp>;
|
|
12
|
+
view: Record<string, uni.content.ViewComp>;
|
|
13
|
+
comp: {
|
|
14
|
+
Comment: Component<{
|
|
15
|
+
item: uni.item.Item;
|
|
16
|
+
comments: Utils.data.RStream<uni.comment.Comment>;
|
|
17
|
+
}>;
|
|
18
|
+
ItemCard: uni.content.ItemCardComp;
|
|
19
|
+
FavouriteSelect: Component<{
|
|
20
|
+
item: uni.item.Item;
|
|
21
|
+
}>;
|
|
22
|
+
};
|
|
23
|
+
}>;
|
|
24
|
+
export {};
|