@vunk/plus 1.6.6 → 1.6.8

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 (123) hide show
  1. package/components/SendOutlined.mjs +1 -1
  2. package/components/agent-chat-provider/index.mjs +1 -1
  3. package/components/bubble-list/index.mjs +4 -1
  4. package/components/sender/index.css +0 -8
  5. package/components/sender/index.mjs +112 -174
  6. package/components/speech-button/index.mjs +1 -1
  7. package/index.css +0 -8
  8. package/package.json +1 -1
  9. package/components/agent-chat-provider/index.d.ts +0 -7
  10. package/components/agent-chat-provider/src/api.d.ts +0 -3
  11. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  12. package/components/agent-chat-provider/src/const.d.ts +0 -1
  13. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  14. package/components/agent-chat-provider/src/types.d.ts +0 -43
  15. package/components/agent-chat-provider/src/use.d.ts +0 -29
  16. package/components/avatar/index.d.ts +0 -4
  17. package/components/avatar/src/ctx.d.ts +0 -18
  18. package/components/avatar/src/index.vue.d.ts +0 -121
  19. package/components/avatar/src/types.d.ts +0 -1
  20. package/components/broadcasting-markdown/index.d.ts +0 -7
  21. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  22. package/components/broadcasting-markdown/src/ctx.d.ts +0 -125
  23. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -97
  24. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -424
  25. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  26. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  27. package/components/broadcasting-markdown/src/types.d.ts +0 -26
  28. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  29. package/components/bubble-list/index.d.ts +0 -5
  30. package/components/bubble-list/src/ctx.d.ts +0 -30
  31. package/components/bubble-list/src/index.vue.d.ts +0 -848
  32. package/components/bubble-list/src/types.d.ts +0 -4
  33. package/components/bubble-templates/index.d.ts +0 -4
  34. package/components/bubble-templates/src/index.vue.d.ts +0 -579
  35. package/components/bubble-templates/src/types.d.ts +0 -40
  36. package/components/chat-independent/index.d.ts +0 -4
  37. package/components/chat-independent/src/const.d.ts +0 -13
  38. package/components/chat-independent/src/ctx.d.ts +0 -20
  39. package/components/chat-independent/src/index.vue.d.ts +0 -2326
  40. package/components/chat-independent/src/types.d.ts +0 -13
  41. package/components/index.d.ts +0 -0
  42. package/components/lottie-animation/index.d.ts +0 -4
  43. package/components/lottie-animation/src/ctx.d.ts +0 -10
  44. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  45. package/components/lottie-animation/src/types.d.ts +0 -4
  46. package/components/metahuman-broadcasting/index.d.ts +0 -5
  47. package/components/metahuman-broadcasting/src/ctx.d.ts +0 -57
  48. package/components/metahuman-broadcasting/src/index.vue.d.ts +0 -870
  49. package/components/metahuman-broadcasting/src/types.d.ts +0 -1
  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 -11
  59. package/components/pixi-frame/src/apng.vue.d.ts +0 -161
  60. package/components/pixi-frame/src/bitmap.vue.d.ts +0 -158
  61. package/components/pixi-frame/src/core.vue.d.ts +0 -173
  62. package/components/pixi-frame/src/ctx.d.ts +0 -55
  63. package/components/pixi-frame/src/index.vue.d.ts +0 -591
  64. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  65. package/components/pixi-frame/src/types.d.ts +0 -17
  66. package/components/pixi-frame/src/use.d.ts +0 -16
  67. package/components/pixi-frame/src/useSprite.d.ts +0 -12
  68. package/components/pixi-frame/src/video.vue.d.ts +0 -159
  69. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  70. package/components/recorder-button/index.d.ts +0 -4
  71. package/components/recorder-button/src/ctx.d.ts +0 -41
  72. package/components/recorder-button/src/index.vue.d.ts +0 -300
  73. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  74. package/components/recorder-button/src/types.d.ts +0 -7
  75. package/components/routes-menu-content/index.d.ts +0 -4
  76. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  77. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  78. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  79. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  80. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  81. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  82. package/components/routes-menu-content/src/types.d.ts +0 -1
  83. package/components/sender/index.d.ts +0 -4
  84. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  85. package/components/sender/src/ctx.d.ts +0 -62
  86. package/components/sender/src/index.vue.d.ts +0 -787
  87. package/components/sender/src/types.d.ts +0 -1
  88. package/components/speech-button/index.d.ts +0 -4
  89. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  90. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  91. package/components/speech-button/src/ctx.d.ts +0 -10
  92. package/components/speech-button/src/index.vue.d.ts +0 -22
  93. package/components/speech-button/src/types.d.ts +0 -1
  94. package/components/table-columns/index.d.ts +0 -5
  95. package/components/table-columns/src/ctx.d.ts +0 -66
  96. package/components/table-columns/src/el-ctx.d.ts +0 -63
  97. package/components/table-columns/src/index.vue.d.ts +0 -282
  98. package/components/table-columns/src/types.d.ts +0 -21
  99. package/components/tables-v1/index.d.ts +0 -5
  100. package/components/tables-v1/src/ctx.d.ts +0 -288
  101. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  102. package/components/tables-v1/src/index.vue.d.ts +0 -3106
  103. package/components/tables-v1/src/types.d.ts +0 -3
  104. package/components/tables-v1-checkbox/index.d.ts +0 -5
  105. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -325
  106. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3898
  107. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  108. package/components/text/index.d.ts +0 -4
  109. package/components/text/src/ctx.d.ts +0 -320
  110. package/components/text/src/index.vue.d.ts +0 -2314
  111. package/components/text/src/types.d.ts +0 -1
  112. package/components/typing-markdown/index.d.ts +0 -4
  113. package/components/typing-markdown/src/core.d.ts +0 -2
  114. package/components/typing-markdown/src/ctx.d.ts +0 -41
  115. package/components/typing-markdown/src/index.vue.d.ts +0 -75
  116. package/components/typing-markdown/src/types.d.ts +0 -1
  117. package/components/vditor/index.d.ts +0 -5
  118. package/components/vditor/src/ctx.d.ts +0 -37
  119. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  120. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  121. package/components/vditor/src/index.vue.d.ts +0 -144
  122. package/components/vditor/src/types.d.ts +0 -9
  123. package/components/vditor/src/use.d.ts +0 -4
@@ -1,424 +0,0 @@
1
- import type { Paragraph } from './types';
2
- import { TickerStatus } from '@vunk/shared/enum';
3
- import { ParagraphStatus } from './const';
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- render: {
6
- type: import("vue").PropType<(text: string) => string>;
7
- default: typeof import("./const").defaultRender;
8
- };
9
- data: {
10
- type: {
11
- (arrayLength: number): Paragraph[];
12
- (...items: Paragraph[]): Paragraph[];
13
- new (arrayLength: number): Paragraph[];
14
- new (...items: Paragraph[]): Paragraph[];
15
- isArray(arg: any): arg is any[];
16
- readonly prototype: any[];
17
- from<T>(arrayLike: ArrayLike<T>): T[];
18
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
19
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
20
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
21
- of<T_4>(...items: T_4[]): T_4[];
22
- readonly [Symbol.species]: ArrayConstructor;
23
- };
24
- default: undefined;
25
- };
26
- source: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- delay: {
31
- type: NumberConstructor;
32
- default: number;
33
- };
34
- separators: {
35
- type: {
36
- (arrayLength: number): string[];
37
- (...items: string[]): string[];
38
- new (arrayLength: number): string[];
39
- new (...items: string[]): string[];
40
- isArray(arg: any): arg is any[];
41
- readonly prototype: any[];
42
- from<T>(arrayLike: ArrayLike<T>): T[];
43
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
44
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
45
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
46
- of<T_4>(...items: T_4[]): T_4[];
47
- readonly [Symbol.species]: ArrayConstructor;
48
- };
49
- default: () => string[];
50
- };
51
- keepRead: {
52
- type: BooleanConstructor;
53
- default: boolean;
54
- };
55
- textToSpeech: {
56
- type: import("vue").PropType<import("./types").TextToSpeech>;
57
- default: undefined;
58
- };
59
- processing: {
60
- type: import("vue").PropType<(paragraph: Paragraph) => void>;
61
- default: import("@vunk/shared").AnyFunc;
62
- };
63
- status: {
64
- type: import("vue").PropType<TickerStatus>;
65
- default: TickerStatus;
66
- };
67
- paragraphMinlength: {
68
- type: NumberConstructor;
69
- default: number;
70
- };
71
- }>, {
72
- theData: import("vue").ComputedRef<Paragraph[]>;
73
- ParagraphStatus: typeof ParagraphStatus;
74
- fulfilledTextValue: import("vue").ComputedRef<string>;
75
- isPrevParagraphFulfilled: (currentIndex: number) => boolean;
76
- isParagraphEnabled: (currentIndex: number) => boolean;
77
- processingParagraph: (paragraph: Paragraph) => Promise<void> | undefined;
78
- isInterrupted: import("vue").Ref<boolean, boolean>;
79
- setData: (obj: any, e: import("@vunk/core").SetDataEvent) => void;
80
- Broadcast: typeof TickerStatus;
81
- isPaused: import("vue").ComputedRef<boolean>;
82
- isTypingFinished: import("vue").Ref<boolean, boolean>;
83
- currentParagraph: import("vue").ComputedRef<Paragraph | undefined>;
84
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
85
- setData: (e: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
86
- interrupt: null;
87
- 'update:broadcasting': (_: boolean) => boolean;
88
- 'update:completed': (_: boolean) => boolean;
89
- 'update:error': (_: boolean) => boolean;
90
- 'update:status': (_: TickerStatus) => boolean;
91
- paragraphLoad: (_: import("./types").ParagraphLoadEvent) => boolean;
92
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
93
- render: {
94
- type: import("vue").PropType<(text: string) => string>;
95
- default: typeof import("./const").defaultRender;
96
- };
97
- data: {
98
- type: {
99
- (arrayLength: number): Paragraph[];
100
- (...items: Paragraph[]): Paragraph[];
101
- new (arrayLength: number): Paragraph[];
102
- new (...items: Paragraph[]): Paragraph[];
103
- isArray(arg: any): arg is any[];
104
- readonly prototype: any[];
105
- from<T>(arrayLike: ArrayLike<T>): T[];
106
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
107
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
108
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
109
- of<T_4>(...items: T_4[]): T_4[];
110
- readonly [Symbol.species]: ArrayConstructor;
111
- };
112
- default: undefined;
113
- };
114
- source: {
115
- type: StringConstructor;
116
- default: string;
117
- };
118
- delay: {
119
- type: NumberConstructor;
120
- default: number;
121
- };
122
- separators: {
123
- type: {
124
- (arrayLength: number): string[];
125
- (...items: string[]): string[];
126
- new (arrayLength: number): string[];
127
- new (...items: string[]): string[];
128
- isArray(arg: any): arg is any[];
129
- readonly prototype: any[];
130
- from<T>(arrayLike: ArrayLike<T>): T[];
131
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
132
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
133
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
134
- of<T_4>(...items: T_4[]): T_4[];
135
- readonly [Symbol.species]: ArrayConstructor;
136
- };
137
- default: () => string[];
138
- };
139
- keepRead: {
140
- type: BooleanConstructor;
141
- default: boolean;
142
- };
143
- textToSpeech: {
144
- type: import("vue").PropType<import("./types").TextToSpeech>;
145
- default: undefined;
146
- };
147
- processing: {
148
- type: import("vue").PropType<(paragraph: Paragraph) => void>;
149
- default: import("@vunk/shared").AnyFunc;
150
- };
151
- status: {
152
- type: import("vue").PropType<TickerStatus>;
153
- default: TickerStatus;
154
- };
155
- paragraphMinlength: {
156
- type: NumberConstructor;
157
- default: number;
158
- };
159
- }>> & Readonly<{
160
- onSetData?: ((e: import("@vunk/core").SetDataEvent) => any) | undefined;
161
- "onUpdate:status"?: ((_: TickerStatus) => any) | undefined;
162
- onInterrupt?: ((...args: any[]) => any) | undefined;
163
- "onUpdate:broadcasting"?: ((_: boolean) => any) | undefined;
164
- "onUpdate:completed"?: ((_: boolean) => any) | undefined;
165
- "onUpdate:error"?: ((_: boolean) => any) | undefined;
166
- onParagraphLoad?: ((_: import("./types").ParagraphLoadEvent) => any) | undefined;
167
- }>, {
168
- processing: (paragraph: Paragraph) => void;
169
- source: string;
170
- delay: number;
171
- render: (text: string) => string;
172
- data: Paragraph[];
173
- status: TickerStatus;
174
- separators: string[];
175
- keepRead: boolean;
176
- textToSpeech: import("./types").TextToSpeech;
177
- paragraphMinlength: number;
178
- }, {}, {
179
- ParagraphView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
180
- enable: {
181
- type: BooleanConstructor;
182
- default: boolean;
183
- };
184
- status: {
185
- type: import("vue").PropType<ParagraphStatus>;
186
- default: ParagraphStatus;
187
- };
188
- processing: {
189
- type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
190
- default: import("@vunk/shared").AnyFunc;
191
- };
192
- retryTimes: {
193
- type: NumberConstructor;
194
- default: number;
195
- };
196
- }>, {
197
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
198
- enable: {
199
- type: BooleanConstructor;
200
- default: boolean;
201
- };
202
- status: {
203
- type: import("vue").PropType<ParagraphStatus>;
204
- default: ParagraphStatus;
205
- };
206
- processing: {
207
- type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
208
- default: import("@vunk/shared").AnyFunc;
209
- };
210
- retryTimes: {
211
- type: NumberConstructor;
212
- default: number;
213
- };
214
- }>> & Readonly<{
215
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
216
- }> & {}>;
217
- emit: (event: "update:status", ...args: any[]) => void;
218
- theDef: import("vue").ShallowRef<import("@vunk/shared/promise").Deferred<any> | undefined, import("@vunk/shared/promise").Deferred<any> | undefined>;
219
- retryTimes: number;
220
- processingDef: {
221
- _ref: import("vue").ShallowRef<unknown, unknown>;
222
- readonly value: unknown;
223
- promise: Promise<unknown>;
224
- resolve: import("@vunk/core").AnyFunc;
225
- reject: (reason?: any) => void;
226
- };
227
- init: () => Promise<void>;
228
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:status"[], "update:status", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
229
- enable: {
230
- type: BooleanConstructor;
231
- default: boolean;
232
- };
233
- status: {
234
- type: import("vue").PropType<ParagraphStatus>;
235
- default: ParagraphStatus;
236
- };
237
- processing: {
238
- type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
239
- default: import("@vunk/shared").AnyFunc;
240
- };
241
- retryTimes: {
242
- type: NumberConstructor;
243
- default: number;
244
- };
245
- }>> & Readonly<{
246
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
247
- }>, {
248
- processing: import("@vunk/shared").AnyFunc;
249
- status: ParagraphStatus;
250
- enable: boolean;
251
- retryTimes: number;
252
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
253
- VkTypingMarkdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
254
- source: {
255
- type: StringConstructor;
256
- default: string;
257
- };
258
- delay: {
259
- type: NumberConstructor;
260
- default: number;
261
- };
262
- pause: {
263
- type: BooleanConstructor;
264
- default: boolean;
265
- };
266
- disabled: {
267
- type: BooleanConstructor;
268
- default: boolean;
269
- };
270
- markdownItSetup: {
271
- type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
272
- default: null;
273
- };
274
- finished: {
275
- type: BooleanConstructor;
276
- };
277
- loading: {
278
- type: BooleanConstructor;
279
- default: boolean;
280
- };
281
- }>, {
282
- htmlText: import("vue").Ref<string, string>;
283
- isDebouncedTyping: Readonly<import("vue").Ref<boolean, boolean>>;
284
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
285
- typing: null;
286
- 'update:finished': null;
287
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
288
- source: {
289
- type: StringConstructor;
290
- default: string;
291
- };
292
- delay: {
293
- type: NumberConstructor;
294
- default: number;
295
- };
296
- pause: {
297
- type: BooleanConstructor;
298
- default: boolean;
299
- };
300
- disabled: {
301
- type: BooleanConstructor;
302
- default: boolean;
303
- };
304
- markdownItSetup: {
305
- type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
306
- default: null;
307
- };
308
- finished: {
309
- type: BooleanConstructor;
310
- };
311
- loading: {
312
- type: BooleanConstructor;
313
- default: boolean;
314
- };
315
- }>> & Readonly<{
316
- onTyping?: ((...args: any[]) => any) | undefined;
317
- "onUpdate:finished"?: ((...args: any[]) => any) | undefined;
318
- }>, {
319
- source: string;
320
- delay: number;
321
- pause: boolean;
322
- disabled: boolean;
323
- markdownItSetup: (md: import("markdown-it-async").MarkdownItAsync) => void;
324
- finished: boolean;
325
- loading: boolean;
326
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
327
- HowlerSpeechView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
328
- data: {
329
- type: import("vue").PropType<Paragraph>;
330
- default: () => {};
331
- };
332
- deferred: {
333
- type: import("vue").PropType<import("@vunk/shared/promise").Deferred<any>>;
334
- required: true;
335
- };
336
- render: {
337
- type: import("vue").PropType<(text: string) => string>;
338
- default: typeof import("./const").defaultRender;
339
- };
340
- }>, (() => null) | (() => JSX.Element), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
341
- setData: (e: import("@vunk/core").SetDataEvent<keyof Paragraph>) => import("@vunk/core").SetDataEvent<keyof Paragraph>;
342
- load: (_: import("./types").ParagraphLoadEvent) => boolean;
343
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
344
- data: {
345
- type: import("vue").PropType<Paragraph>;
346
- default: () => {};
347
- };
348
- deferred: {
349
- type: import("vue").PropType<import("@vunk/shared/promise").Deferred<any>>;
350
- required: true;
351
- };
352
- render: {
353
- type: import("vue").PropType<(text: string) => string>;
354
- default: typeof import("./const").defaultRender;
355
- };
356
- }>> & Readonly<{
357
- onSetData?: ((e: import("@vunk/core").SetDataEvent<keyof Paragraph>) => any) | undefined;
358
- onLoad?: ((_: import("./types").ParagraphLoadEvent) => any) | undefined;
359
- }>, {
360
- render: (text: string) => string;
361
- data: Paragraph;
362
- }, {}, {
363
- SpeechError: import("vue").DefineComponent<{}, {
364
- 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>;
365
- readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<{
366
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
367
- readonly size: {
368
- 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>>;
369
- readonly required: false;
370
- readonly validator: ((val: unknown) => boolean) | undefined;
371
- __epPropKey: true;
372
- };
373
- readonly color: {
374
- readonly type: import("vue").PropType<string>;
375
- readonly required: false;
376
- readonly validator: ((val: unknown) => boolean) | undefined;
377
- __epPropKey: true;
378
- };
379
- }>>, {}, 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, {
380
- P: {};
381
- B: {};
382
- D: {};
383
- C: {};
384
- M: {};
385
- Defaults: {};
386
- }, Readonly<import("vue").ExtractPropTypes<{
387
- readonly size: {
388
- 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>>;
389
- readonly required: false;
390
- readonly validator: ((val: unknown) => boolean) | undefined;
391
- __epPropKey: true;
392
- };
393
- readonly color: {
394
- readonly type: import("vue").PropType<string>;
395
- readonly required: false;
396
- readonly validator: ((val: unknown) => boolean) | undefined;
397
- __epPropKey: true;
398
- };
399
- }>>, {}, {}, {}, {}, {}>;
400
- __isFragment?: undefined;
401
- __isTeleport?: undefined;
402
- __isSuspense?: undefined;
403
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
404
- readonly size: {
405
- 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>>;
406
- readonly required: false;
407
- readonly validator: ((val: unknown) => boolean) | undefined;
408
- __epPropKey: true;
409
- };
410
- readonly color: {
411
- readonly type: import("vue").PropType<string>;
412
- readonly required: false;
413
- readonly validator: ((val: unknown) => boolean) | undefined;
414
- __epPropKey: true;
415
- };
416
- }>>, {}, 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 () => {
417
- $slots: {
418
- default?(_: {}): any;
419
- };
420
- })>;
421
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
422
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
423
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
424
- export default _default;
@@ -1,79 +0,0 @@
1
- import type { AnyFunc } from '@vunk/shared';
2
- import { Deferred } from '@vunk/shared/promise';
3
- import { type PropType } from 'vue';
4
- import { ParagraphStatus } from './const';
5
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
- enable: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- status: {
11
- type: PropType<ParagraphStatus>;
12
- default: ParagraphStatus;
13
- };
14
- processing: {
15
- type: PropType<AnyFunc>;
16
- default: AnyFunc;
17
- };
18
- retryTimes: {
19
- type: NumberConstructor;
20
- default: number;
21
- };
22
- }>, {
23
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
24
- enable: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- status: {
29
- type: PropType<ParagraphStatus>;
30
- default: ParagraphStatus;
31
- };
32
- processing: {
33
- type: PropType<AnyFunc>;
34
- default: AnyFunc;
35
- };
36
- retryTimes: {
37
- type: NumberConstructor;
38
- default: number;
39
- };
40
- }>> & Readonly<{
41
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
42
- }> & {}>;
43
- emit: (event: "update:status", ...args: any[]) => void;
44
- theDef: import("vue").ShallowRef<Deferred<any> | undefined, Deferred<any> | undefined>;
45
- retryTimes: number;
46
- processingDef: {
47
- _ref: import("vue").ShallowRef<unknown, unknown>;
48
- readonly value: unknown;
49
- promise: Promise<unknown>;
50
- resolve: import("@vunk/core").AnyFunc;
51
- reject: (reason?: any) => void;
52
- };
53
- init: () => Promise<void>;
54
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:status"[], "update:status", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
- enable: {
56
- type: BooleanConstructor;
57
- default: boolean;
58
- };
59
- status: {
60
- type: PropType<ParagraphStatus>;
61
- default: ParagraphStatus;
62
- };
63
- processing: {
64
- type: PropType<AnyFunc>;
65
- default: AnyFunc;
66
- };
67
- retryTimes: {
68
- type: NumberConstructor;
69
- default: number;
70
- };
71
- }>> & Readonly<{
72
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
73
- }>, {
74
- processing: AnyFunc;
75
- status: ParagraphStatus;
76
- enable: boolean;
77
- retryTimes: number;
78
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
79
- export default _default;
@@ -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,26 +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
- blob?: Blob;
17
- }
18
- /**
19
- * @returns Audio URL
20
- */
21
- export type TextToSpeech = (text: string) => Promise<string | Blob>;
22
- export interface ParagraphLoadEvent {
23
- data: Paragraph;
24
- deferred: Deferred<any>;
25
- }
26
- 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: {};