@vunk/plus 1.3.0 → 1.3.2

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