@vunk/plus 1.4.7 → 1.5.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.
Files changed (115) hide show
  1. package/components/WebGLRenderer.mjs +1 -0
  2. package/components/WebGPURenderer.mjs +1 -0
  3. package/components/broadcasting-markdown/index.mjs +60 -12
  4. package/components/browserAll.mjs +1 -0
  5. package/components/index2.mjs +1498 -62
  6. package/components/pixi-frame/index.mjs +2 -1
  7. package/components/text/index.mjs +106 -0
  8. package/components/typing-markdown/index.css +19 -0
  9. package/components/typing-markdown/index.mjs +17 -4
  10. package/components/webworkerAll.mjs +1 -0
  11. package/index.css +19 -0
  12. package/package.json +5 -1
  13. package/components/agent-chat-provider/index.d.ts +0 -7
  14. package/components/agent-chat-provider/src/api.d.ts +0 -3
  15. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  16. package/components/agent-chat-provider/src/const.d.ts +0 -1
  17. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  18. package/components/agent-chat-provider/src/types.d.ts +0 -43
  19. package/components/agent-chat-provider/src/use.d.ts +0 -29
  20. package/components/avatar/index.d.ts +0 -4
  21. package/components/avatar/src/ctx.d.ts +0 -18
  22. package/components/avatar/src/index.vue.d.ts +0 -121
  23. package/components/avatar/src/types.d.ts +0 -1
  24. package/components/broadcasting-markdown/index.d.ts +0 -7
  25. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  26. package/components/broadcasting-markdown/src/ctx.d.ts +0 -115
  27. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -97
  28. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -383
  29. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  30. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  31. package/components/broadcasting-markdown/src/types.d.ts +0 -25
  32. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  33. package/components/bubble-list/index.d.ts +0 -5
  34. package/components/bubble-list/src/ctx.d.ts +0 -30
  35. package/components/bubble-list/src/index.vue.d.ts +0 -867
  36. package/components/bubble-list/src/types.d.ts +0 -4
  37. package/components/bubble-templates/index.d.ts +0 -4
  38. package/components/bubble-templates/src/index.vue.d.ts +0 -539
  39. package/components/bubble-templates/src/types.d.ts +0 -40
  40. package/components/chat-independent/index.d.ts +0 -4
  41. package/components/chat-independent/src/const.d.ts +0 -13
  42. package/components/chat-independent/src/ctx.d.ts +0 -20
  43. package/components/chat-independent/src/index.vue.d.ts +0 -2345
  44. package/components/chat-independent/src/types.d.ts +0 -13
  45. package/components/index.d.ts +0 -0
  46. package/components/lottie-animation/index.d.ts +0 -4
  47. package/components/lottie-animation/src/ctx.d.ts +0 -10
  48. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  49. package/components/lottie-animation/src/types.d.ts +0 -4
  50. package/components/monaco-editor/index.d.ts +0 -5
  51. package/components/monaco-editor/src/ctx.d.ts +0 -23
  52. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  53. package/components/monaco-editor/src/types.d.ts +0 -1
  54. package/components/monaco-environment/index.d.ts +0 -4
  55. package/components/monaco-environment/src/ctx.d.ts +0 -8
  56. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  57. package/components/monaco-environment/src/types.d.ts +0 -1
  58. package/components/pixi-frame/index.d.ts +0 -8
  59. package/components/pixi-frame/src/core.vue.d.ts +0 -131
  60. package/components/pixi-frame/src/ctx.d.ts +0 -44
  61. package/components/pixi-frame/src/index.vue.d.ts +0 -230
  62. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  63. package/components/pixi-frame/src/types.d.ts +0 -1
  64. package/components/pixi-frame/src/use.d.ts +0 -16
  65. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  66. package/components/recorder-button/index.d.ts +0 -4
  67. package/components/recorder-button/src/ctx.d.ts +0 -41
  68. package/components/recorder-button/src/index.vue.d.ts +0 -300
  69. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  70. package/components/recorder-button/src/types.d.ts +0 -7
  71. package/components/routes-menu-content/index.d.ts +0 -4
  72. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  73. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  74. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  75. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  76. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  77. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  78. package/components/routes-menu-content/src/types.d.ts +0 -1
  79. package/components/sender/index.d.ts +0 -4
  80. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  81. package/components/sender/src/ctx.d.ts +0 -62
  82. package/components/sender/src/index.vue.d.ts +0 -787
  83. package/components/sender/src/types.d.ts +0 -1
  84. package/components/speech-button/index.d.ts +0 -4
  85. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  86. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  87. package/components/speech-button/src/ctx.d.ts +0 -10
  88. package/components/speech-button/src/index.vue.d.ts +0 -22
  89. package/components/speech-button/src/types.d.ts +0 -1
  90. package/components/table-columns/index.d.ts +0 -5
  91. package/components/table-columns/src/ctx.d.ts +0 -66
  92. package/components/table-columns/src/el-ctx.d.ts +0 -63
  93. package/components/table-columns/src/index.vue.d.ts +0 -282
  94. package/components/table-columns/src/types.d.ts +0 -21
  95. package/components/tables-v1/index.d.ts +0 -5
  96. package/components/tables-v1/src/ctx.d.ts +0 -288
  97. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  98. package/components/tables-v1/src/index.vue.d.ts +0 -3106
  99. package/components/tables-v1/src/types.d.ts +0 -3
  100. package/components/tables-v1-checkbox/index.d.ts +0 -5
  101. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -325
  102. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3898
  103. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  104. package/components/typing-markdown/index.d.ts +0 -4
  105. package/components/typing-markdown/src/core.d.ts +0 -2
  106. package/components/typing-markdown/src/ctx.d.ts +0 -33
  107. package/components/typing-markdown/src/index.vue.d.ts +0 -57
  108. package/components/typing-markdown/src/types.d.ts +0 -1
  109. package/components/vditor/index.d.ts +0 -5
  110. package/components/vditor/src/ctx.d.ts +0 -37
  111. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  112. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  113. package/components/vditor/src/index.vue.d.ts +0 -144
  114. package/components/vditor/src/types.d.ts +0 -9
  115. package/components/vditor/src/use.d.ts +0 -4
@@ -1,60 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- 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>;
3
- readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<{
4
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
- readonly size: {
6
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
7
- readonly required: false;
8
- readonly validator: ((val: unknown) => boolean) | undefined;
9
- __epPropKey: true;
10
- };
11
- readonly color: {
12
- readonly type: import("vue").PropType<string>;
13
- readonly required: false;
14
- readonly validator: ((val: unknown) => boolean) | undefined;
15
- __epPropKey: true;
16
- };
17
- }>>, {}, 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, {
18
- P: {};
19
- B: {};
20
- D: {};
21
- C: {};
22
- M: {};
23
- Defaults: {};
24
- }, Readonly<import("vue").ExtractPropTypes<{
25
- readonly size: {
26
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
27
- readonly required: false;
28
- readonly validator: ((val: unknown) => boolean) | undefined;
29
- __epPropKey: true;
30
- };
31
- readonly color: {
32
- readonly type: import("vue").PropType<string>;
33
- readonly required: false;
34
- readonly validator: ((val: unknown) => boolean) | undefined;
35
- __epPropKey: true;
36
- };
37
- }>>, {}, {}, {}, {}, {}>;
38
- __isFragment?: undefined;
39
- __isTeleport?: undefined;
40
- __isSuspense?: undefined;
41
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
42
- readonly size: {
43
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
44
- readonly required: false;
45
- readonly validator: ((val: unknown) => boolean) | undefined;
46
- __epPropKey: true;
47
- };
48
- readonly color: {
49
- readonly type: import("vue").PropType<string>;
50
- readonly required: false;
51
- readonly validator: ((val: unknown) => boolean) | undefined;
52
- __epPropKey: true;
53
- };
54
- }>>, {}, 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 () => {
55
- $slots: {
56
- default?(_: {}): any;
57
- };
58
- })>;
59
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
60
- export default _default;
@@ -1,25 +0,0 @@
1
- import type { ReturnVoid } from '@vunk/shared';
2
- import type { TickerStatus } from '@vunk/shared/enum';
3
- import type { Deferred } from '@vunk/shared/promise';
4
- import type { ParagraphStatus } from './const';
5
- export interface Paragraph {
6
- value: string;
7
- status: ParagraphStatus;
8
- start: number;
9
- end: number;
10
- separator: string;
11
- broadcast: TickerStatus;
12
- /**
13
- * @description 语音合成的 url
14
- */
15
- url?: string;
16
- }
17
- /**
18
- * @returns Audio URL
19
- */
20
- export type TextToSpeech = (text: string) => Promise<string>;
21
- export interface ParagraphLoadEvent {
22
- data: Paragraph;
23
- deferred: Deferred<any>;
24
- }
25
- export type ParagraphOnLoad = (event: ParagraphLoadEvent) => ReturnVoid;
@@ -1,21 +0,0 @@
1
- import type { SetDataEvent } from '@vunk/core';
2
- import type { Deferred } from '@vunk/shared/promise';
3
- import type { Paragraph } from './types';
4
- import { Howl } from 'howler';
5
- /**
6
- * @description 使用 Howler.js 播放段落
7
- */
8
- export declare function useHowlerParagraph(props: {
9
- data: Paragraph;
10
- deferred: Deferred<any>;
11
- }, emit: (e: 'setData', data: SetDataEvent<keyof Paragraph>) => void): {
12
- url: import("vue").ComputedRef<string | undefined>;
13
- broadcast: import("vue").ComputedRef<import("@vunk/shared/enum").TickerStatus>;
14
- sound: import("vue").ShallowRef<Howl | null, Howl | null>;
15
- };
16
- /**
17
- * @description 获取浏览器语音列表
18
- */
19
- export declare function useVoices(): {
20
- voices: import("vue").ShallowRef<SpeechSynthesisVoice[], SpeechSynthesisVoice[]>;
21
- };
@@ -1,5 +0,0 @@
1
- import VkBubbleList from './src/index.vue';
2
- export * as __VkBubbleList from './src/types';
3
- export { Role } from '@vunk/plus/components/agent-chat-provider';
4
- export { VkBubbleList, };
5
- export default VkBubbleList;
@@ -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): any[];
8
- (...items: any[]): any[];
9
- new (arrayLength: number): any[];
10
- new (...items: any[]): any[];
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: {};