@vunk/plus 1.7.1 → 1.7.3

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