@vunk/plus 1.2.2 → 1.3.0
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/components/SendOutlined.mjs +1 -1
- package/components/agent-chat-provider/index.mjs +789 -0
- package/components/avatar/index.mjs +2 -2
- package/components/broadcasting-markdown/index.css +3 -0
- package/components/broadcasting-markdown/index.mjs +637 -0
- package/components/bubble-list/index.css +18 -0
- package/components/bubble-list/index.mjs +386 -0
- package/components/bubble-templates/index.css +18 -0
- package/components/bubble-templates/index.mjs +258 -0
- package/components/chat-independent/index.css +47 -0
- package/components/chat-independent/index.mjs +184 -0
- package/components/index.mjs +35980 -0
- package/components/lottie-animation/index.mjs +2 -2
- package/components/monaco-editor/index.mjs +2 -2
- package/components/monaco-environment/index.mjs +1 -1
- package/components/recorder-button/index.css +7 -10
- package/components/recorder-button/index.mjs +115 -83
- package/components/routes-menu-content/index.mjs +5 -5
- package/components/sender/index.css +2 -5
- package/components/sender/index.mjs +31 -12
- package/components/speech-button/index.mjs +6 -13
- package/components/table-columns/index.mjs +3 -6
- package/components/tables-v1/index.mjs +3 -3
- package/components/tables-v1-checkbox/index.mjs +269 -33
- package/components/typing-markdown/index.mjs +128 -33
- package/components/vditor/index.mjs +5 -9
- package/composables/el-breakpoints/index.d.ts +1 -1
- package/composables/recorder/index.mjs +751 -182
- package/icons/_plugin-vue_export-helper.mjs +9 -0
- package/icons/end/index.d.ts +4 -0
- package/icons/end/index.mjs +36 -0
- package/icons/end/src/avatar.d.ts +12 -0
- package/icons/end/src/icon.d.ts +57 -0
- package/icons/keyboard/index.d.ts +4 -0
- package/icons/keyboard/index.mjs +36 -0
- package/icons/keyboard/src/avatar.d.ts +12 -0
- package/icons/keyboard/src/icon.d.ts +57 -0
- package/icons/start/index.d.ts +4 -0
- package/icons/start/index.mjs +36 -0
- package/icons/start/src/avatar.d.ts +12 -0
- package/icons/start/src/icon.d.ts +57 -0
- package/icons/voice/index.d.ts +4 -0
- package/icons/voice/index.mjs +51 -0
- package/icons/voice/src/avatar.d.ts +12 -0
- package/icons/voice/src/icon.d.ts +57 -0
- package/icons/voice/src/index.vue.d.ts +4 -0
- package/index.css +99 -15
- package/package.json +51 -7
- package/components/avatar/index.d.ts +0 -4
- package/components/avatar/src/ctx.d.ts +0 -18
- package/components/avatar/src/index.vue.d.ts +0 -180
- package/components/avatar/src/types.d.ts +0 -1
- package/components/lottie-animation/index.d.ts +0 -4
- package/components/lottie-animation/src/ctx.d.ts +0 -10
- package/components/lottie-animation/src/index.vue.d.ts +0 -21
- package/components/lottie-animation/src/types.d.ts +0 -4
- package/components/monaco-editor/index.d.ts +0 -5
- package/components/monaco-editor/src/ctx.d.ts +0 -23
- package/components/monaco-editor/src/index.vue.d.ts +0 -40
- package/components/monaco-editor/src/types.d.ts +0 -1
- package/components/monaco-environment/index.d.ts +0 -4
- package/components/monaco-environment/src/ctx.d.ts +0 -8
- package/components/monaco-environment/src/index.vue.d.ts +0 -2
- package/components/monaco-environment/src/types.d.ts +0 -1
- package/components/recorder-button/index.d.ts +0 -4
- package/components/recorder-button/src/ctx.d.ts +0 -19
- package/components/recorder-button/src/index.vue.d.ts +0 -309
- package/components/recorder-button/src/speech-to-text.d.ts +0 -1
- package/components/recorder-button/src/types.d.ts +0 -6
- package/components/routes-menu-content/index.d.ts +0 -4
- package/components/routes-menu-content/src/ctx.d.ts +0 -17
- package/components/routes-menu-content/src/index.vue.d.ts +0 -350
- package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -185
- package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
- package/components/routes-menu-content/src/item/index.vue.d.ts +0 -316
- package/components/routes-menu-content/src/types.d.ts +0 -1
- package/components/sender/index.d.ts +0 -4
- package/components/sender/src/SenderHeader.vue.d.ts +0 -270
- package/components/sender/src/ctx.d.ts +0 -38
- package/components/sender/src/index.vue.d.ts +0 -732
- package/components/sender/src/types.d.ts +0 -1
- package/components/speech-button/index.d.ts +0 -4
- package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
- package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
- package/components/speech-button/src/ctx.d.ts +0 -10
- package/components/speech-button/src/index.vue.d.ts +0 -22
- package/components/speech-button/src/types.d.ts +0 -1
- package/components/table-columns/index.d.ts +0 -5
- package/components/table-columns/src/ctx.d.ts +0 -66
- package/components/table-columns/src/el-ctx.d.ts +0 -63
- package/components/table-columns/src/index.vue.d.ts +0 -280
- package/components/table-columns/src/types.d.ts +0 -21
- package/components/tables-v1/index.d.ts +0 -5
- package/components/tables-v1/src/ctx.d.ts +0 -283
- package/components/tables-v1/src/el-ctx.d.ts +0 -272
- package/components/tables-v1/src/index.vue.d.ts +0 -2997
- package/components/tables-v1/src/types.d.ts +0 -4
- package/components/tables-v1-checkbox/index.d.ts +0 -5
- package/components/tables-v1-checkbox/src/ctx.d.ts +0 -323
- package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3788
- package/components/tables-v1-checkbox/src/types.d.ts +0 -1
- package/components/typing-markdown/index.d.ts +0 -4
- package/components/typing-markdown/src/core.d.ts +0 -3
- package/components/typing-markdown/src/ctx.d.ts +0 -33
- package/components/typing-markdown/src/index.vue.d.ts +0 -57
- package/components/typing-markdown/src/types.d.ts +0 -1
- package/components/vditor/index.d.ts +0 -5
- package/components/vditor/src/ctx.d.ts +0 -37
- package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
- package/components/vditor/src/handle-value.vue.d.ts +0 -18
- package/components/vditor/src/index.vue.d.ts +0 -144
- package/components/vditor/src/types.d.ts +0 -9
- package/components/vditor/src/use.d.ts +0 -4
- package/fetch/PlusFetch/index.d.ts +0 -14
- package/fetch/PlusFetch/index.mjs +0 -638
- package/fetch/PlusFetch/types.d.ts +0 -54
- package/fetch/index.d.ts +0 -1
- package/fetch/index.mjs +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type MarkdownIt from "markdown-it";
|
|
2
|
-
import { PropType } from "vue";
|
|
3
|
-
export declare const props: {
|
|
4
|
-
source: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
delay: {
|
|
9
|
-
type: NumberConstructor;
|
|
10
|
-
default: number;
|
|
11
|
-
};
|
|
12
|
-
pause: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* 禁用typing
|
|
18
|
-
*/
|
|
19
|
-
disabled: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @description markdown-it 配置
|
|
25
|
-
*/
|
|
26
|
-
markdownItSetup: {
|
|
27
|
-
type: PropType<(md: MarkdownIt) => void>;
|
|
28
|
-
default: any;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare const emits: {
|
|
32
|
-
typing: any;
|
|
33
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
source: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
delay: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
pause: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
disabled: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
markdownItSetup: {
|
|
19
|
-
type: import("vue").PropType<(md: import("markdown-it")) => void>;
|
|
20
|
-
default: any;
|
|
21
|
-
};
|
|
22
|
-
}>, {
|
|
23
|
-
htmlText: import("vue").Ref<string, string>;
|
|
24
|
-
isDebouncedTyping: Readonly<import("vue").Ref<boolean, boolean>>;
|
|
25
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
typing: any;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
source: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
delay: {
|
|
33
|
-
type: NumberConstructor;
|
|
34
|
-
default: number;
|
|
35
|
-
};
|
|
36
|
-
pause: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
disabled: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
markdownItSetup: {
|
|
45
|
-
type: import("vue").PropType<(md: import("markdown-it")) => void>;
|
|
46
|
-
default: any;
|
|
47
|
-
};
|
|
48
|
-
}>> & Readonly<{
|
|
49
|
-
onTyping?: (...args: any[] | unknown[]) => any;
|
|
50
|
-
}>, {
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
source: string;
|
|
53
|
-
pause: boolean;
|
|
54
|
-
delay: number;
|
|
55
|
-
markdownItSetup: (md: import("markdown-it")) => void;
|
|
56
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
57
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import Vditor from 'vditor';
|
|
3
|
-
export declare const props: {
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
defaultOptions: {
|
|
9
|
-
type: PropType<IOptions>;
|
|
10
|
-
default: () => IOptions;
|
|
11
|
-
};
|
|
12
|
-
placeholder: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
toolbar: {
|
|
17
|
-
type: PropType<string[]>;
|
|
18
|
-
default: () => string[];
|
|
19
|
-
};
|
|
20
|
-
fullscreen: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"fullscreen", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"toolbar", keyof T2>, KE> | Exclude<Extract<"fullscreen", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"fullscreen", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"fullscreen", keyof T2>]: T2[k]; }[P]; }>;
|
|
26
|
-
export declare const emits: {
|
|
27
|
-
load: (e: Vditor) => Vditor;
|
|
28
|
-
'update:modelValue': (e: string) => string;
|
|
29
|
-
ctrlEnter: (e: string) => string;
|
|
30
|
-
'update:fullscreen': (e: boolean) => boolean;
|
|
31
|
-
};
|
|
32
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("load" | "update:modelValue" | "update:fullscreen" | "ctrlEnter")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"load", KE> | Exclude<"update:modelValue", KE> | Exclude<"update:fullscreen", KE> | Exclude<"ctrlEnter", KE> : "load" | "update:modelValue" | "update:fullscreen" | "ctrlEnter"]: {
|
|
33
|
-
load: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
34
|
-
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
35
|
-
ctrlEnter: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
36
|
-
'update:fullscreen': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
37
|
-
}[P]; };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
fullscreen: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
'update:fullscreen': any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
fullscreen: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{
|
|
14
|
-
"onUpdate:fullscreen"?: (...args: any[] | unknown[]) => any;
|
|
15
|
-
}>, {
|
|
16
|
-
fullscreen: boolean;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
modelValue: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
'update:modelValue': any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
15
|
-
}>, {
|
|
16
|
-
modelValue: string;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
-
export default _default;
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
/// <reference types="./types" />
|
|
2
|
-
import Vditor from 'vditor';
|
|
3
|
-
import { Ref } from 'vue';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
modelValue: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
defaultOptions: {
|
|
10
|
-
type: import("vue").PropType<IOptions>;
|
|
11
|
-
default: () => IOptions;
|
|
12
|
-
};
|
|
13
|
-
placeholder: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
toolbar: {
|
|
18
|
-
type: import("vue").PropType<string[]>;
|
|
19
|
-
default: () => string[];
|
|
20
|
-
};
|
|
21
|
-
fullscreen: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
}>, {
|
|
26
|
-
vditorNode: Ref<HTMLDivElement, HTMLDivElement>;
|
|
27
|
-
isTextareaFocus: Ref<boolean, boolean>;
|
|
28
|
-
ready: Ref<boolean, boolean>;
|
|
29
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
load: (e: Vditor) => Vditor;
|
|
31
|
-
'update:modelValue': (e: string) => string;
|
|
32
|
-
ctrlEnter: (e: string) => string;
|
|
33
|
-
'update:fullscreen': (e: boolean) => boolean;
|
|
34
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
modelValue: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
defaultOptions: {
|
|
40
|
-
type: import("vue").PropType<IOptions>;
|
|
41
|
-
default: () => IOptions;
|
|
42
|
-
};
|
|
43
|
-
placeholder: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
toolbar: {
|
|
48
|
-
type: import("vue").PropType<string[]>;
|
|
49
|
-
default: () => string[];
|
|
50
|
-
};
|
|
51
|
-
fullscreen: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
}>> & Readonly<{
|
|
56
|
-
onLoad?: (e: Vditor) => any;
|
|
57
|
-
"onUpdate:modelValue"?: (e: string) => any;
|
|
58
|
-
"onUpdate:fullscreen"?: (e: boolean) => any;
|
|
59
|
-
onCtrlEnter?: (e: string) => any;
|
|
60
|
-
}>, {
|
|
61
|
-
modelValue: string;
|
|
62
|
-
defaultOptions: IOptions;
|
|
63
|
-
placeholder: string;
|
|
64
|
-
toolbar: string[];
|
|
65
|
-
fullscreen: boolean;
|
|
66
|
-
}, {}, {
|
|
67
|
-
HandleValue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
68
|
-
modelValue: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
|
-
'update:modelValue': any;
|
|
74
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
-
modelValue: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
}>> & Readonly<{
|
|
80
|
-
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
81
|
-
}>, {
|
|
82
|
-
modelValue: string;
|
|
83
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
84
|
-
HandleFullscreen: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
85
|
-
fullscreen: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
-
'update:fullscreen': any;
|
|
91
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
-
fullscreen: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
}>> & Readonly<{
|
|
97
|
-
"onUpdate:fullscreen"?: (...args: any[] | unknown[]) => any;
|
|
98
|
-
}>, {
|
|
99
|
-
fullscreen: boolean;
|
|
100
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
|
-
VkAsyncTeleport: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
102
|
-
to: {
|
|
103
|
-
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
104
|
-
default: any;
|
|
105
|
-
};
|
|
106
|
-
sleep: {
|
|
107
|
-
type: NumberConstructor;
|
|
108
|
-
default: number;
|
|
109
|
-
};
|
|
110
|
-
await: {
|
|
111
|
-
type: PromiseConstructor;
|
|
112
|
-
default: any;
|
|
113
|
-
};
|
|
114
|
-
teleport: {
|
|
115
|
-
type: BooleanConstructor;
|
|
116
|
-
default: boolean;
|
|
117
|
-
};
|
|
118
|
-
}>, {
|
|
119
|
-
ready: Ref<boolean, boolean>;
|
|
120
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
-
to: {
|
|
122
|
-
type: import("vue").PropType<string | import("vue").RendererElement>;
|
|
123
|
-
default: any;
|
|
124
|
-
};
|
|
125
|
-
sleep: {
|
|
126
|
-
type: NumberConstructor;
|
|
127
|
-
default: number;
|
|
128
|
-
};
|
|
129
|
-
await: {
|
|
130
|
-
type: PromiseConstructor;
|
|
131
|
-
default: any;
|
|
132
|
-
};
|
|
133
|
-
teleport: {
|
|
134
|
-
type: BooleanConstructor;
|
|
135
|
-
default: boolean;
|
|
136
|
-
};
|
|
137
|
-
}>> & Readonly<{}>, {
|
|
138
|
-
to: string | import("vue").RendererElement;
|
|
139
|
-
sleep: number;
|
|
140
|
-
await: Promise<unknown>;
|
|
141
|
-
teleport: boolean;
|
|
142
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
143
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
144
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NonVoidable } from '@vunk/core';
|
|
2
|
-
import Vditor from 'vditor';
|
|
3
|
-
import { Emitter } from 'mitt';
|
|
4
|
-
export type DefaultOptions = NonVoidable<ConstructorParameters<typeof Vditor>[1]>;
|
|
5
|
-
export type Toolbar = DefaultOptions['toolbar'];
|
|
6
|
-
export type Mitter = Emitter<{
|
|
7
|
-
input: string;
|
|
8
|
-
}>;
|
|
9
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RestFetch, RestFetchRequestOptions } from '@vunk/shared/fetch';
|
|
2
|
-
import { AnyFunc } from '@vunk/shared';
|
|
3
|
-
import { Onerror, PlusFetchConstructorOptions, RequestInitOptions } from './types';
|
|
4
|
-
export declare const defaultOnerror: import("lodash").DebouncedFuncLeading<(err: any) => void>;
|
|
5
|
-
/**
|
|
6
|
-
* 基于 "@vunk/shared": RestFetch
|
|
7
|
-
* 扩展了 loading、error、message
|
|
8
|
-
*/
|
|
9
|
-
export declare class PlusFetch extends RestFetch {
|
|
10
|
-
onerror: Onerror;
|
|
11
|
-
customOk: AnyFunc;
|
|
12
|
-
constructor(...args: [PlusFetchConstructorOptions]);
|
|
13
|
-
request(options: RestFetchRequestOptions, init?: RequestInitOptions, requestInit?: RequestInit): Promise<any>;
|
|
14
|
-
}
|