@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.
Files changed (98) hide show
  1. package/components/agent-chat-provider/index.d.ts +7 -0
  2. package/components/agent-chat-provider/src/api.d.ts +3 -0
  3. package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
  4. package/components/agent-chat-provider/src/const.d.ts +1 -0
  5. package/components/agent-chat-provider/src/index.vue.d.ts +47 -0
  6. package/components/agent-chat-provider/src/types.d.ts +42 -0
  7. package/components/agent-chat-provider/src/use.d.ts +29 -0
  8. package/components/avatar/index.d.ts +4 -0
  9. package/components/avatar/src/ctx.d.ts +18 -0
  10. package/components/avatar/src/index.vue.d.ts +121 -0
  11. package/components/avatar/src/types.d.ts +1 -0
  12. package/components/broadcasting-markdown/index.d.ts +5 -0
  13. package/components/broadcasting-markdown/src/const.d.ts +18 -0
  14. package/components/broadcasting-markdown/src/ctx.d.ts +102 -0
  15. package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +117 -0
  16. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +117 -0
  17. package/components/broadcasting-markdown/src/index.vue.d.ts +519 -0
  18. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +92 -0
  19. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
  20. package/components/broadcasting-markdown/src/types.d.ts +17 -0
  21. package/components/broadcasting-markdown/src/use.d.ts +3 -0
  22. package/components/broadcasting-markdown/src/web-speech.vue.d.ts +110 -0
  23. package/components/bubble-list/index.d.ts +5 -0
  24. package/components/bubble-list/src/ctx.d.ts +30 -0
  25. package/components/bubble-list/src/index.vue.d.ts +1001 -0
  26. package/components/bubble-list/src/types.d.ts +4 -0
  27. package/components/bubble-templates/index.d.ts +4 -0
  28. package/components/bubble-templates/src/index.vue.d.ts +673 -0
  29. package/components/bubble-templates/src/types.d.ts +34 -0
  30. package/components/chat-independent/index.d.ts +4 -0
  31. package/components/chat-independent/src/const.d.ts +13 -0
  32. package/components/chat-independent/src/ctx.d.ts +20 -0
  33. package/components/chat-independent/src/index.vue.d.ts +2477 -0
  34. package/components/chat-independent/src/types.d.ts +13 -0
  35. package/components/index.d.ts +0 -0
  36. package/components/lottie-animation/index.d.ts +4 -0
  37. package/components/lottie-animation/src/ctx.d.ts +10 -0
  38. package/components/lottie-animation/src/index.vue.d.ts +21 -0
  39. package/components/lottie-animation/src/types.d.ts +4 -0
  40. package/components/monaco-editor/index.d.ts +5 -0
  41. package/components/monaco-editor/src/ctx.d.ts +23 -0
  42. package/components/monaco-editor/src/index.vue.d.ts +40 -0
  43. package/components/monaco-editor/src/types.d.ts +1 -0
  44. package/components/monaco-environment/index.d.ts +4 -0
  45. package/components/monaco-environment/src/ctx.d.ts +8 -0
  46. package/components/monaco-environment/src/index.vue.d.ts +2 -0
  47. package/components/monaco-environment/src/types.d.ts +1 -0
  48. package/components/recorder-button/index.d.ts +4 -0
  49. package/components/recorder-button/src/ctx.d.ts +41 -0
  50. package/components/recorder-button/src/index.vue.d.ts +300 -0
  51. package/components/recorder-button/src/speech-to-text.d.ts +1 -0
  52. package/components/recorder-button/src/types.d.ts +7 -0
  53. package/components/routes-menu-content/index.d.ts +4 -0
  54. package/components/routes-menu-content/src/ctx.d.ts +17 -0
  55. package/components/routes-menu-content/src/index.vue.d.ts +472 -0
  56. package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
  57. package/components/routes-menu-content/src/item/core/index.vue.d.ts +307 -0
  58. package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
  59. package/components/routes-menu-content/src/item/index.vue.d.ts +438 -0
  60. package/components/routes-menu-content/src/types.d.ts +1 -0
  61. package/components/sender/index.d.ts +4 -0
  62. package/components/sender/src/SenderHeader.vue.d.ts +256 -0
  63. package/components/sender/src/ctx.d.ts +62 -0
  64. package/components/sender/src/index.vue.d.ts +787 -0
  65. package/components/sender/src/types.d.ts +1 -0
  66. package/components/speech-button/index.d.ts +4 -0
  67. package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
  68. package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
  69. package/components/speech-button/src/ctx.d.ts +10 -0
  70. package/components/speech-button/src/index.vue.d.ts +22 -0
  71. package/components/speech-button/src/types.d.ts +1 -0
  72. package/components/table-columns/index.d.ts +5 -0
  73. package/components/table-columns/src/ctx.d.ts +66 -0
  74. package/components/table-columns/src/el-ctx.d.ts +63 -0
  75. package/components/table-columns/src/index.vue.d.ts +282 -0
  76. package/components/table-columns/src/types.d.ts +21 -0
  77. package/components/tables-v1/index.d.ts +5 -0
  78. package/components/tables-v1/src/ctx.d.ts +281 -0
  79. package/components/tables-v1/src/el-ctx.d.ts +269 -0
  80. package/components/tables-v1/src/index.vue.d.ts +3014 -0
  81. package/components/tables-v1/src/types.d.ts +4 -0
  82. package/components/tables-v1-checkbox/index.d.ts +5 -0
  83. package/components/tables-v1-checkbox/src/ctx.d.ts +321 -0
  84. package/components/tables-v1-checkbox/src/index.vue.d.ts +3796 -0
  85. package/components/tables-v1-checkbox/src/types.d.ts +1 -0
  86. package/components/typing-markdown/index.d.ts +4 -0
  87. package/components/typing-markdown/src/core.d.ts +2 -0
  88. package/components/typing-markdown/src/ctx.d.ts +33 -0
  89. package/components/typing-markdown/src/index.vue.d.ts +57 -0
  90. package/components/typing-markdown/src/types.d.ts +1 -0
  91. package/components/vditor/index.d.ts +5 -0
  92. package/components/vditor/src/ctx.d.ts +37 -0
  93. package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
  94. package/components/vditor/src/handle-value.vue.d.ts +18 -0
  95. package/components/vditor/src/index.vue.d.ts +144 -0
  96. package/components/vditor/src/types.d.ts +9 -0
  97. package/components/vditor/src/use.d.ts +4 -0
  98. 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,4 @@
1
+ import VkChatIndependent from './src/index.vue';
2
+ export * as __VkChatIndependent from './src/types';
3
+ export { VkChatIndependent, };
4
+ export default VkChatIndependent;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * 输入的两种方式 语音和文本
3
+ */
4
+ export declare enum InputType {
5
+ /**
6
+ * 语音
7
+ */
8
+ Voice = "voice",
9
+ /**
10
+ * 文本
11
+ */
12
+ Text = "text"
13
+ }
@@ -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
+ };