@vunk/plus 1.3.8 → 1.3.10
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/broadcasting-markdown/index.mjs +18 -6
- package/components/bubble-list/index.mjs +12 -1
- package/components/bubble-templates/index.mjs +21 -5
- package/components/chat-independent/index.mjs +41 -15
- package/components/recorder-button/index.mjs +4 -7
- package/components/sender/index.mjs +11 -8
- package/composables/recorder/index.mjs +8 -5
- package/package.json +1 -1
- package/components/agent-chat-provider/index.d.ts +0 -7
- package/components/agent-chat-provider/src/api.d.ts +0 -3
- package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
- package/components/agent-chat-provider/src/const.d.ts +0 -1
- package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
- package/components/agent-chat-provider/src/types.d.ts +0 -37
- package/components/agent-chat-provider/src/use.d.ts +0 -29
- 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 -121
- package/components/avatar/src/types.d.ts +0 -1
- package/components/broadcasting-markdown/index.d.ts +0 -5
- package/components/broadcasting-markdown/src/const.d.ts +0 -18
- package/components/broadcasting-markdown/src/ctx.d.ts +0 -101
- package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +0 -117
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -117
- package/components/broadcasting-markdown/src/index.vue.d.ts +0 -516
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -92
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
- package/components/broadcasting-markdown/src/types.d.ts +0 -17
- package/components/broadcasting-markdown/src/use.d.ts +0 -3
- package/components/broadcasting-markdown/src/web-speech.vue.d.ts +0 -110
- package/components/bubble-list/index.d.ts +0 -5
- package/components/bubble-list/src/ctx.d.ts +0 -30
- package/components/bubble-list/src/index.vue.d.ts +0 -966
- package/components/bubble-list/src/types.d.ts +0 -4
- package/components/bubble-templates/index.d.ts +0 -4
- package/components/bubble-templates/src/index.vue.d.ts +0 -670
- package/components/bubble-templates/src/types.d.ts +0 -30
- package/components/chat-independent/index.d.ts +0 -4
- package/components/chat-independent/src/const.d.ts +0 -13
- package/components/chat-independent/src/ctx.d.ts +0 -20
- package/components/chat-independent/src/index.vue.d.ts +0 -2427
- package/components/chat-independent/src/types.d.ts +0 -13
- package/components/index.d.ts +0 -0
- 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 -40
- package/components/recorder-button/src/index.vue.d.ts +0 -303
- package/components/recorder-button/src/speech-to-text.d.ts +0 -1
- package/components/recorder-button/src/types.d.ts +0 -7
- 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 -472
- 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 -307
- package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
- package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
- 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 -256
- package/components/sender/src/ctx.d.ts +0 -58
- package/components/sender/src/index.vue.d.ts +0 -778
- 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 -282
- 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 -281
- package/components/tables-v1/src/el-ctx.d.ts +0 -269
- package/components/tables-v1/src/index.vue.d.ts +0 -3014
- 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 -321
- package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3796
- 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 -2
- 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
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Broadcast, ParagraphStatus } from './const';
|
|
2
|
-
export interface Paragraph {
|
|
3
|
-
value: string;
|
|
4
|
-
status: ParagraphStatus;
|
|
5
|
-
start: number;
|
|
6
|
-
end: number;
|
|
7
|
-
separator: string;
|
|
8
|
-
broadcast: Broadcast;
|
|
9
|
-
/**
|
|
10
|
-
* @description 语音合成的 url
|
|
11
|
-
*/
|
|
12
|
-
url?: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @returns Audio URL
|
|
16
|
-
*/
|
|
17
|
-
export type TextToSpeech = (text: string) => Promise<string>;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import type { Deferred } from '@vunk/shared/promise';
|
|
2
|
-
import type { PropType } from 'vue';
|
|
3
|
-
import type { Paragraph } from './types';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
voice: {
|
|
6
|
-
type: PropType<SpeechSynthesisVoice>;
|
|
7
|
-
required: false;
|
|
8
|
-
};
|
|
9
|
-
data: {
|
|
10
|
-
type: PropType<Paragraph>;
|
|
11
|
-
default: () => {};
|
|
12
|
-
};
|
|
13
|
-
deferred: {
|
|
14
|
-
type: PropType<Deferred<any>>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
pause: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
render: {
|
|
22
|
-
type: PropType<(text: string) => string>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
}>, (() => null) | (() => false | JSX.Element), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
-
voice: {
|
|
27
|
-
type: PropType<SpeechSynthesisVoice>;
|
|
28
|
-
required: false;
|
|
29
|
-
};
|
|
30
|
-
data: {
|
|
31
|
-
type: PropType<Paragraph>;
|
|
32
|
-
default: () => {};
|
|
33
|
-
};
|
|
34
|
-
deferred: {
|
|
35
|
-
type: PropType<Deferred<any>>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
pause: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
render: {
|
|
43
|
-
type: PropType<(text: string) => string>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
}>> & Readonly<{}>, {
|
|
47
|
-
pause: boolean;
|
|
48
|
-
data: Paragraph;
|
|
49
|
-
}, {}, {
|
|
50
|
-
SpeechError: import("vue").DefineComponent<{}, {
|
|
51
|
-
readonly CloseBold: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<{
|
|
53
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
readonly size: {
|
|
55
|
-
readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
56
|
-
readonly required: false;
|
|
57
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
-
__epPropKey: true;
|
|
59
|
-
};
|
|
60
|
-
readonly color: {
|
|
61
|
-
readonly type: PropType<string>;
|
|
62
|
-
readonly required: false;
|
|
63
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
-
__epPropKey: true;
|
|
65
|
-
};
|
|
66
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
67
|
-
P: {};
|
|
68
|
-
B: {};
|
|
69
|
-
D: {};
|
|
70
|
-
C: {};
|
|
71
|
-
M: {};
|
|
72
|
-
Defaults: {};
|
|
73
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
-
readonly size: {
|
|
75
|
-
readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
76
|
-
readonly required: false;
|
|
77
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
-
__epPropKey: true;
|
|
79
|
-
};
|
|
80
|
-
readonly color: {
|
|
81
|
-
readonly type: PropType<string>;
|
|
82
|
-
readonly required: false;
|
|
83
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
|
-
__epPropKey: true;
|
|
85
|
-
};
|
|
86
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
87
|
-
__isFragment?: undefined;
|
|
88
|
-
__isTeleport?: undefined;
|
|
89
|
-
__isSuspense?: undefined;
|
|
90
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
-
readonly size: {
|
|
92
|
-
readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
93
|
-
readonly required: false;
|
|
94
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
95
|
-
__epPropKey: true;
|
|
96
|
-
};
|
|
97
|
-
readonly color: {
|
|
98
|
-
readonly type: PropType<string>;
|
|
99
|
-
readonly required: false;
|
|
100
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
-
__epPropKey: true;
|
|
102
|
-
};
|
|
103
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
104
|
-
$slots: {
|
|
105
|
-
default?(_: {}): any;
|
|
106
|
-
};
|
|
107
|
-
})>;
|
|
108
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
109
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
110
|
-
export default _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { __VkBroadcastingMarkdown } from '@vunk/plus/components/broadcasting-markdown';
|
|
2
|
-
import type { AnyFunc } from '@vunk/shared';
|
|
3
|
-
import type { PropType } from 'vue';
|
|
4
|
-
export declare const props: {
|
|
5
|
-
items: {
|
|
6
|
-
type: {
|
|
7
|
-
(arrayLength: number): import("./types").Item[];
|
|
8
|
-
(...items: import("./types").Item[]): import("./types").Item[];
|
|
9
|
-
new (arrayLength: number): import("./types").Item[];
|
|
10
|
-
new (...items: import("./types").Item[]): import("./types").Item[];
|
|
11
|
-
isArray(arg: any): arg is any[];
|
|
12
|
-
readonly prototype: any[];
|
|
13
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
14
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
15
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
16
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
17
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
18
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
19
|
-
};
|
|
20
|
-
default: () => never[];
|
|
21
|
-
};
|
|
22
|
-
elRef: {
|
|
23
|
-
type: PropType<AnyFunc>;
|
|
24
|
-
default: AnyFunc;
|
|
25
|
-
};
|
|
26
|
-
textToSpeech: {
|
|
27
|
-
type: PropType<__VkBroadcastingMarkdown.TextToSpeech>;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export declare const emits: {};
|