@vunk/plus 1.3.10 → 1.3.11
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/agent-chat-provider/index.d.ts +7 -0
- package/components/agent-chat-provider/src/api.d.ts +3 -0
- package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
- package/components/agent-chat-provider/src/const.d.ts +1 -0
- package/components/agent-chat-provider/src/index.vue.d.ts +47 -0
- package/components/agent-chat-provider/src/types.d.ts +42 -0
- package/components/agent-chat-provider/src/use.d.ts +29 -0
- package/components/avatar/index.d.ts +4 -0
- package/components/avatar/src/ctx.d.ts +18 -0
- package/components/avatar/src/index.vue.d.ts +121 -0
- package/components/avatar/src/types.d.ts +1 -0
- package/components/broadcasting-markdown/index.d.ts +5 -0
- package/components/broadcasting-markdown/src/const.d.ts +18 -0
- package/components/broadcasting-markdown/src/ctx.d.ts +102 -0
- package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +117 -0
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +117 -0
- package/components/broadcasting-markdown/src/index.vue.d.ts +519 -0
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +92 -0
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
- package/components/broadcasting-markdown/src/types.d.ts +17 -0
- package/components/broadcasting-markdown/src/use.d.ts +3 -0
- package/components/broadcasting-markdown/src/web-speech.vue.d.ts +110 -0
- package/components/bubble-list/index.d.ts +5 -0
- package/components/bubble-list/src/ctx.d.ts +30 -0
- package/components/bubble-list/src/index.vue.d.ts +1001 -0
- package/components/bubble-list/src/types.d.ts +4 -0
- package/components/bubble-templates/index.d.ts +4 -0
- package/components/bubble-templates/src/index.vue.d.ts +673 -0
- package/components/bubble-templates/src/types.d.ts +34 -0
- package/components/chat-independent/index.d.ts +4 -0
- package/components/chat-independent/src/const.d.ts +13 -0
- package/components/chat-independent/src/ctx.d.ts +20 -0
- package/components/chat-independent/src/index.vue.d.ts +2477 -0
- package/components/chat-independent/src/types.d.ts +13 -0
- package/components/index.d.ts +0 -0
- package/components/lottie-animation/index.d.ts +4 -0
- package/components/lottie-animation/src/ctx.d.ts +10 -0
- package/components/lottie-animation/src/index.vue.d.ts +21 -0
- package/components/lottie-animation/src/types.d.ts +4 -0
- package/components/monaco-editor/index.d.ts +5 -0
- package/components/monaco-editor/src/ctx.d.ts +23 -0
- package/components/monaco-editor/src/index.vue.d.ts +40 -0
- package/components/monaco-editor/src/types.d.ts +1 -0
- package/components/monaco-environment/index.d.ts +4 -0
- package/components/monaco-environment/src/ctx.d.ts +8 -0
- package/components/monaco-environment/src/index.vue.d.ts +2 -0
- package/components/monaco-environment/src/types.d.ts +1 -0
- package/components/recorder-button/index.d.ts +4 -0
- package/components/recorder-button/src/ctx.d.ts +41 -0
- package/components/recorder-button/src/index.vue.d.ts +300 -0
- package/components/recorder-button/src/speech-to-text.d.ts +1 -0
- package/components/recorder-button/src/types.d.ts +7 -0
- package/components/routes-menu-content/index.d.ts +4 -0
- package/components/routes-menu-content/src/ctx.d.ts +17 -0
- package/components/routes-menu-content/src/index.vue.d.ts +472 -0
- package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +307 -0
- package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
- package/components/routes-menu-content/src/item/index.vue.d.ts +438 -0
- package/components/routes-menu-content/src/types.d.ts +1 -0
- package/components/sender/index.d.ts +4 -0
- package/components/sender/src/SenderHeader.vue.d.ts +256 -0
- package/components/sender/src/ctx.d.ts +62 -0
- package/components/sender/src/index.vue.d.ts +787 -0
- package/components/sender/src/types.d.ts +1 -0
- package/components/speech-button/index.d.ts +4 -0
- package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
- package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
- package/components/speech-button/src/ctx.d.ts +10 -0
- package/components/speech-button/src/index.vue.d.ts +22 -0
- package/components/speech-button/src/types.d.ts +1 -0
- package/components/table-columns/index.d.ts +5 -0
- package/components/table-columns/src/ctx.d.ts +66 -0
- package/components/table-columns/src/el-ctx.d.ts +63 -0
- package/components/table-columns/src/index.vue.d.ts +282 -0
- package/components/table-columns/src/types.d.ts +21 -0
- package/components/tables-v1/index.d.ts +5 -0
- package/components/tables-v1/src/ctx.d.ts +281 -0
- package/components/tables-v1/src/el-ctx.d.ts +269 -0
- package/components/tables-v1/src/index.vue.d.ts +3014 -0
- package/components/tables-v1/src/types.d.ts +4 -0
- package/components/tables-v1-checkbox/index.d.ts +5 -0
- package/components/tables-v1-checkbox/src/ctx.d.ts +321 -0
- package/components/tables-v1-checkbox/src/index.vue.d.ts +3796 -0
- package/components/tables-v1-checkbox/src/types.d.ts +1 -0
- package/components/typing-markdown/index.d.ts +4 -0
- package/components/typing-markdown/src/core.d.ts +2 -0
- package/components/typing-markdown/src/ctx.d.ts +33 -0
- package/components/typing-markdown/src/index.vue.d.ts +57 -0
- package/components/typing-markdown/src/types.d.ts +1 -0
- package/components/vditor/index.d.ts +5 -0
- package/components/vditor/src/ctx.d.ts +37 -0
- package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
- package/components/vditor/src/handle-value.vue.d.ts +18 -0
- package/components/vditor/src/index.vue.d.ts +144 -0
- package/components/vditor/src/types.d.ts +9 -0
- package/components/vditor/src/use.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { VkBroadcastingMarkdown } from '@vunk/plus/components/broadcasting-markdown';
|
|
2
|
+
import type { __VkRenderer } from '@vunk/core/components/renderer';
|
|
3
|
+
import type { VueComponentPropsType } from '@vunk/shared';
|
|
4
|
+
import type { TypewriterProps } from 'vue-element-plus-x/types/components/Typewriter/types';
|
|
5
|
+
export interface TypewriterSource extends __VkRenderer.SourceItem, TypewriterProps {
|
|
6
|
+
templateType: 'Typewriter';
|
|
7
|
+
}
|
|
8
|
+
export interface BroadcastingMarkdownSource extends __VkRenderer.SourceItem, VueComponentPropsType<typeof VkBroadcastingMarkdown> {
|
|
9
|
+
templateType: 'VkBroadcastingMarkdown';
|
|
10
|
+
}
|
|
11
|
+
export type RenderItem = TypewriterSource | BroadcastingMarkdownSource;
|
|
12
|
+
export type RenderData = Record<string, RenderDataRecord>;
|
|
13
|
+
export interface RenderDataRecord {
|
|
14
|
+
/**
|
|
15
|
+
* @description 渲染的组件
|
|
16
|
+
*/
|
|
17
|
+
templateType?: RenderItem['templateType'];
|
|
18
|
+
/**
|
|
19
|
+
* @description 组件暴露的元数据
|
|
20
|
+
*/
|
|
21
|
+
meta?: any;
|
|
22
|
+
/**
|
|
23
|
+
* @description 已经完成的
|
|
24
|
+
*/
|
|
25
|
+
completed?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @description 发生错误的
|
|
28
|
+
*/
|
|
29
|
+
error?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @description 组件实例
|
|
32
|
+
*/
|
|
33
|
+
elRef?: any;
|
|
34
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { __VkBubbleList } from '@vunk/plus/components/bubble-list';
|
|
2
|
+
import type { SetDataEvent } from '@vunk/core';
|
|
3
|
+
import type { PropType } from 'vue';
|
|
4
|
+
export declare const props: {
|
|
5
|
+
/**
|
|
6
|
+
* @description BubbleList渲染时数据, 受控于setData
|
|
7
|
+
*/
|
|
8
|
+
data: {
|
|
9
|
+
type: PropType<import("../../bubble-templates/src/types").RenderData>;
|
|
10
|
+
};
|
|
11
|
+
speechToText: {
|
|
12
|
+
type: PropType<import("./types").SpeechToText>;
|
|
13
|
+
};
|
|
14
|
+
textToSpeech: {
|
|
15
|
+
type: PropType<import("./types").TextToSpeech>;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const emits: {
|
|
19
|
+
setData: (e: SetDataEvent) => SetDataEvent;
|
|
20
|
+
};
|