@vunk/plus 1.8.0 → 1.8.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 (130) hide show
  1. package/components/{SendOutlined.mjs → LinkOutlined.mjs} +36 -54
  2. package/components/agent-chat-provider/index.d.ts +8 -0
  3. package/components/agent-chat-provider/src/MessageView.d.ts +29 -0
  4. package/components/agent-chat-provider/src/api.d.ts +3 -0
  5. package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
  6. package/components/agent-chat-provider/src/const.d.ts +1 -0
  7. package/components/agent-chat-provider/src/index.vue.d.ts +22 -0
  8. package/components/agent-chat-provider/src/types.d.ts +56 -0
  9. package/components/agent-chat-provider/src/use.d.ts +6 -0
  10. package/components/avatar/index.d.ts +4 -0
  11. package/components/avatar/src/ctx.d.ts +6 -0
  12. package/components/avatar/src/index.vue.d.ts +261 -0
  13. package/components/avatar/src/types.d.ts +1 -0
  14. package/components/broadcasting-markdown/index.d.ts +7 -0
  15. package/components/broadcasting-markdown/src/const.d.ts +13 -0
  16. package/components/broadcasting-markdown/src/ctx.d.ts +126 -0
  17. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +58 -0
  18. package/components/broadcasting-markdown/src/index.vue.d.ts +373 -0
  19. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +79 -0
  20. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
  21. package/components/broadcasting-markdown/src/types.d.ts +26 -0
  22. package/components/broadcasting-markdown/src/use.d.ts +19 -0
  23. package/components/bubble-list/index.d.ts +5 -0
  24. package/components/bubble-list/src/ctx.d.ts +28 -0
  25. package/components/bubble-list/src/index.vue.d.ts +484 -0
  26. package/components/bubble-list/src/types.d.ts +4 -0
  27. package/components/bubble-templates/index.d.ts +5 -0
  28. package/components/bubble-templates/src/core.d.ts +69 -0
  29. package/components/bubble-templates/src/index.vue.d.ts +242 -0
  30. package/components/bubble-templates/src/legacy.vue.d.ts +153 -0
  31. package/components/bubble-templates/src/types.d.ts +45 -0
  32. package/components/chat-independent/index.d.ts +4 -0
  33. package/components/chat-independent/src/const.d.ts +13 -0
  34. package/components/chat-independent/src/ctx.d.ts +21 -0
  35. package/components/chat-independent/src/index.vue.d.ts +2291 -0
  36. package/components/chat-independent/src/types.d.ts +13 -0
  37. package/components/index.d.ts +0 -0
  38. package/components/lottie-animation/index.d.ts +4 -0
  39. package/components/lottie-animation/src/ctx.d.ts +10 -0
  40. package/components/lottie-animation/src/index.vue.d.ts +21 -0
  41. package/components/lottie-animation/src/types.d.ts +4 -0
  42. package/components/metahuman-broadcasting/index.d.ts +5 -0
  43. package/components/metahuman-broadcasting/src/ctx.d.ts +57 -0
  44. package/components/metahuman-broadcasting/src/index.vue.d.ts +826 -0
  45. package/components/metahuman-broadcasting/src/types.d.ts +1 -0
  46. package/components/monaco-editor/index.d.ts +5 -0
  47. package/components/monaco-editor/src/ctx.d.ts +23 -0
  48. package/components/monaco-editor/src/index.vue.d.ts +40 -0
  49. package/components/monaco-editor/src/types.d.ts +1 -0
  50. package/components/monaco-environment/index.d.ts +4 -0
  51. package/components/monaco-environment/src/ctx.d.ts +8 -0
  52. package/components/monaco-environment/src/index.vue.d.ts +2 -0
  53. package/components/monaco-environment/src/types.d.ts +1 -0
  54. package/components/pixi-frame/index.d.ts +11 -0
  55. package/components/pixi-frame/src/apng.vue.d.ts +161 -0
  56. package/components/pixi-frame/src/bitmap.vue.d.ts +158 -0
  57. package/components/pixi-frame/src/core.vue.d.ts +173 -0
  58. package/components/pixi-frame/src/ctx.d.ts +55 -0
  59. package/components/pixi-frame/src/index.vue.d.ts +591 -0
  60. package/components/pixi-frame/src/provider.vue.d.ts +2 -0
  61. package/components/pixi-frame/src/types.d.ts +17 -0
  62. package/components/pixi-frame/src/use.d.ts +16 -0
  63. package/components/pixi-frame/src/useSprite.d.ts +12 -0
  64. package/components/pixi-frame/src/video.vue.d.ts +159 -0
  65. package/components/pixi-frame/src/view.vue.d.ts +29 -0
  66. package/components/recorder-button/index.d.ts +4 -0
  67. package/components/recorder-button/src/ctx.d.ts +41 -0
  68. package/components/recorder-button/src/index.vue.d.ts +489 -0
  69. package/components/recorder-button/src/speech-to-text.d.ts +1 -0
  70. package/components/recorder-button/src/types.d.ts +7 -0
  71. package/components/routes-menu-content/index.d.ts +4 -0
  72. package/components/routes-menu-content/src/ctx.d.ts +17 -0
  73. package/components/routes-menu-content/src/index.vue.d.ts +573 -0
  74. package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
  75. package/components/routes-menu-content/src/item/core/index.vue.d.ts +408 -0
  76. package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
  77. package/components/routes-menu-content/src/item/index.vue.d.ts +539 -0
  78. package/components/routes-menu-content/src/types.d.ts +1 -0
  79. package/components/scrollbar/index.d.ts +4 -0
  80. package/components/scrollbar/src/bar.d.ts +15 -0
  81. package/components/scrollbar/src/bar.vue.d.ts +138 -0
  82. package/components/scrollbar/src/index.vue.d.ts +552 -0
  83. package/components/scrollbar/src/thumb.d.ts +15 -0
  84. package/components/scrollbar/src/thumb.vue.d.ts +97 -0
  85. package/components/scrollbar/src/types.d.ts +1 -0
  86. package/components/scrollbar/src/util.d.ts +3 -0
  87. package/components/sender/index.d.ts +5 -0
  88. package/components/sender/index.mjs +96 -42
  89. package/components/sender/src/SenderHeader.vue.d.ts +256 -0
  90. package/components/sender/src/ctx.d.ts +107 -0
  91. package/components/sender/src/index.vue.d.ts +649 -0
  92. package/components/sender/src/types.d.ts +1 -0
  93. package/components/speech-button/index.d.ts +4 -0
  94. package/components/speech-button/index.mjs +1 -1
  95. package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
  96. package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
  97. package/components/speech-button/src/ctx.d.ts +10 -0
  98. package/components/speech-button/src/index.vue.d.ts +22 -0
  99. package/components/speech-button/src/types.d.ts +1 -0
  100. package/components/table-columns/index.d.ts +5 -0
  101. package/components/table-columns/src/ctx.d.ts +59 -0
  102. package/components/table-columns/src/el-ctx.d.ts +57 -0
  103. package/components/table-columns/src/index.vue.d.ts +132 -0
  104. package/components/table-columns/src/types.d.ts +21 -0
  105. package/components/tables-v1/index.d.ts +5 -0
  106. package/components/tables-v1/src/ctx.d.ts +337 -0
  107. package/components/tables-v1/src/el-ctx.d.ts +262 -0
  108. package/components/tables-v1/src/index.vue.d.ts +3085 -0
  109. package/components/tables-v1/src/types.d.ts +3 -0
  110. package/components/tables-v1-checkbox/index.d.ts +5 -0
  111. package/components/tables-v1-checkbox/src/ctx.d.ts +370 -0
  112. package/components/tables-v1-checkbox/src/index.vue.d.ts +3972 -0
  113. package/components/tables-v1-checkbox/src/types.d.ts +1 -0
  114. package/components/text/index.d.ts +4 -0
  115. package/components/text/src/ctx.d.ts +356 -0
  116. package/components/text/src/index.vue.d.ts +2335 -0
  117. package/components/text/src/types.d.ts +1 -0
  118. package/components/typing-markdown/index.d.ts +4 -0
  119. package/components/typing-markdown/src/core.d.ts +2 -0
  120. package/components/typing-markdown/src/ctx.d.ts +41 -0
  121. package/components/typing-markdown/src/index.vue.d.ts +75 -0
  122. package/components/typing-markdown/src/types.d.ts +1 -0
  123. package/components/vditor/index.d.ts +5 -0
  124. package/components/vditor/src/ctx.d.ts +38 -0
  125. package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
  126. package/components/vditor/src/handle-value.vue.d.ts +18 -0
  127. package/components/vditor/src/index.vue.d.ts +143 -0
  128. package/components/vditor/src/types.d.ts +9 -0
  129. package/components/vditor/src/use.d.ts +4 -0
  130. package/package.json +1 -1
@@ -0,0 +1,649 @@
1
+ import type { AnyFunc, NormalObject } from '@vunk/shared';
2
+ import type { UploadChangeParam, UploadFile } from 'ant-design-vue';
3
+ import type { AttachmentsRef } from 'ant-design-x-vue/typings/attachments/interface';
4
+ import type { Ref } from 'vue';
5
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ fileList: {
7
+ type: import("vue").PropType<UploadFile[]>;
8
+ default: undefined;
9
+ };
10
+ action: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ modelValue: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ loading: {
19
+ type: BooleanConstructor;
20
+ default: undefined;
21
+ };
22
+ modules: {
23
+ type: {
24
+ (arrayLength: number): "Attachments"[];
25
+ (...items: "Attachments"[]): "Attachments"[];
26
+ new (arrayLength: number): "Attachments"[];
27
+ new (...items: "Attachments"[]): "Attachments"[];
28
+ isArray(arg: any): arg is any[];
29
+ readonly prototype: any[];
30
+ from<T>(arrayLike: ArrayLike<T>): T[];
31
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
32
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
33
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
34
+ of<T>(...items: T[]): T[];
35
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
36
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
37
+ readonly [Symbol.species]: ArrayConstructor;
38
+ };
39
+ default: () => never[];
40
+ };
41
+ sendDisabled: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ attachmentsVisible: {
46
+ type: BooleanConstructor;
47
+ default: undefined;
48
+ };
49
+ createSendButton: {
50
+ type: import("vue").PropType<AnyFunc>;
51
+ default: undefined;
52
+ };
53
+ createAttachmentsButton: {
54
+ type: import("vue").PropType<AnyFunc>;
55
+ default: undefined;
56
+ };
57
+ autoSize: {
58
+ type: import("vue").PropType<{
59
+ minRows?: number;
60
+ maxRows?: number;
61
+ }>;
62
+ default: undefined;
63
+ };
64
+ attachmentsProps: {
65
+ type: ObjectConstructor;
66
+ default: () => {};
67
+ };
68
+ }>, {
69
+ props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
70
+ fileList: {
71
+ type: import("vue").PropType<UploadFile[]>;
72
+ default: undefined;
73
+ };
74
+ action: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ modelValue: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ loading: {
83
+ type: BooleanConstructor;
84
+ default: undefined;
85
+ };
86
+ modules: {
87
+ type: {
88
+ (arrayLength: number): "Attachments"[];
89
+ (...items: "Attachments"[]): "Attachments"[];
90
+ new (arrayLength: number): "Attachments"[];
91
+ new (...items: "Attachments"[]): "Attachments"[];
92
+ isArray(arg: any): arg is any[];
93
+ readonly prototype: any[];
94
+ from<T>(arrayLike: ArrayLike<T>): T[];
95
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
96
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
97
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
98
+ of<T>(...items: T[]): T[];
99
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
100
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
101
+ readonly [Symbol.species]: ArrayConstructor;
102
+ };
103
+ default: () => never[];
104
+ };
105
+ sendDisabled: {
106
+ type: BooleanConstructor;
107
+ default: boolean;
108
+ };
109
+ attachmentsVisible: {
110
+ type: BooleanConstructor;
111
+ default: undefined;
112
+ };
113
+ createSendButton: {
114
+ type: import("vue").PropType<AnyFunc>;
115
+ default: undefined;
116
+ };
117
+ createAttachmentsButton: {
118
+ type: import("vue").PropType<AnyFunc>;
119
+ default: undefined;
120
+ };
121
+ autoSize: {
122
+ type: import("vue").PropType<{
123
+ minRows?: number;
124
+ maxRows?: number;
125
+ }>;
126
+ default: undefined;
127
+ };
128
+ attachmentsProps: {
129
+ type: ObjectConstructor;
130
+ default: () => {};
131
+ };
132
+ }>> & Readonly<{
133
+ "onUpdate:modelValue"?: ((_: string) => any) | undefined;
134
+ onSubmit?: ((_: string) => any) | undefined;
135
+ "onUpdate:fileList"?: ((_: UploadFile<any>[]) => any) | undefined;
136
+ "onUpdate:headerVisible"?: ((_: boolean) => any) | undefined;
137
+ onCancel?: ((...args: any[]) => any) | undefined;
138
+ }> & {}>;
139
+ emit: ((event: "update:modelValue", _: string) => void) & ((event: "submit", _: string) => void) & ((event: "update:fileList", _: UploadFile<any>[]) => void) & ((event: "update:headerVisible", _: boolean) => void) & ((event: "cancel", ...args: any[]) => void);
140
+ slots: Readonly<{
141
+ [name: string]: import("vue").Slot<any> | undefined;
142
+ }>;
143
+ hasAttachments: import("vue").ComputedRef<boolean>;
144
+ loading: import("vue").WritableComputedRef<boolean, boolean>;
145
+ headerOpen: import("vue").WritableComputedRef<boolean, boolean>;
146
+ createSendButtonDefault: (components?: NormalObject) => JSX.Element;
147
+ createSendButton: (components: any) => any;
148
+ createAttachmentsButtonDefault: () => JSX.Element;
149
+ createAttachmentsButton: () => any;
150
+ actionsRender: AnyFunc;
151
+ attachmentsPlaceholder: AnyFunc;
152
+ theFileList: import("vue").WritableComputedRef<UploadFile<any>[], UploadFile<any>[]>;
153
+ attachmentsRef: Ref<AttachmentsRef, AttachmentsRef>;
154
+ attachmentWrapDef: {
155
+ _ref: import("vue").ShallowRef<HTMLDivElement, HTMLDivElement>;
156
+ readonly value: HTMLDivElement;
157
+ promise: Promise<HTMLDivElement>;
158
+ resolve: import("@vunk/core").AnyFunc;
159
+ reject: (reason?: any) => void;
160
+ };
161
+ attachmentWrapResolve: import("@vunk/core").AnyFunc;
162
+ handlePasteFile: (file: File) => Promise<void>;
163
+ handleChange: (e: UploadChangeParam<UploadFile>) => void;
164
+ readonly Attachments: {
165
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("ant-design-x-vue").AttachmentsProps> & Readonly<{}>, {
166
+ nativeElement: HTMLDivElement | null;
167
+ upload: (file: File | File[] | FileList) => void;
168
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
169
+ P: {};
170
+ B: {};
171
+ D: {};
172
+ C: {};
173
+ M: {};
174
+ Defaults: {};
175
+ }, Readonly<import("ant-design-x-vue").AttachmentsProps> & Readonly<{}>, {
176
+ nativeElement: HTMLDivElement | null;
177
+ upload: (file: File | File[] | FileList) => void;
178
+ }, {}, {}, {}, {}>;
179
+ __isFragment?: never;
180
+ __isTeleport?: never;
181
+ __isSuspense?: never;
182
+ } & import("vue").ComponentOptionsBase<Readonly<import("ant-design-x-vue").AttachmentsProps> & Readonly<{}>, {
183
+ nativeElement: HTMLDivElement | null;
184
+ upload: (file: File | File[] | FileList) => void;
185
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
186
+ $slots: Readonly<{
187
+ placeholder?(props?: {
188
+ type: "inline" | "drop";
189
+ }): import("vue").VNode | string;
190
+ }> & {
191
+ placeholder?(props?: {
192
+ type: "inline" | "drop";
193
+ }): import("vue").VNode | string;
194
+ };
195
+ }) & {
196
+ FileCard: import("vue").DefineComponent<import("ant-design-x-vue/typings/attachments/interface").FileListCardProps, {
197
+ nativeElement: Readonly<import("vue").ShallowRef<HTMLDivElement>>;
198
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/typings/attachments/interface").FileListCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
199
+ };
200
+ readonly Sender: {
201
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
202
+ "onUpdate:value"?: (value: string) => any;
203
+ }>, {
204
+ nativeElement: HTMLDivElement;
205
+ focus: (opt: any) => any;
206
+ blur: () => any;
207
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
208
+ "update:value": (value: string) => any;
209
+ }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
210
+ P: {};
211
+ B: {};
212
+ D: {};
213
+ C: {};
214
+ M: {};
215
+ Defaults: {};
216
+ }, Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
217
+ "onUpdate:value"?: (value: string) => any;
218
+ }>, {
219
+ nativeElement: HTMLDivElement;
220
+ focus: (opt: any) => any;
221
+ blur: () => any;
222
+ }, {}, {}, {}, {}>;
223
+ __isFragment?: never;
224
+ __isTeleport?: never;
225
+ __isSuspense?: never;
226
+ } & import("vue").ComponentOptionsBase<Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
227
+ "onUpdate:value"?: (value: string) => any;
228
+ }>, {
229
+ nativeElement: HTMLDivElement;
230
+ focus: (opt: any) => any;
231
+ blur: () => any;
232
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
233
+ "update:value": (value: string) => any;
234
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
235
+ $slots: Readonly<{
236
+ header?(): import("vue").VNode;
237
+ prefix?(): import("vue").VNode;
238
+ actions?(props: {
239
+ ori: import("vue").VNode;
240
+ info: {
241
+ components: {
242
+ SendButton: typeof import("ant-design-x-vue/typings/sender/components/SendButton.vue").default;
243
+ ClearButton: typeof import("ant-design-x-vue/typings/sender/components/ClearButton.vue").default;
244
+ LoadingButton: typeof import("ant-design-x-vue/typings/sender/components/LoadingButton.vue").default;
245
+ SpeechButton: typeof import("ant-design-x-vue/typings/sender/components/SpeechButton/index.vue").default;
246
+ };
247
+ };
248
+ }): import("vue").VNode;
249
+ footer?(props: {
250
+ info: {
251
+ components: {
252
+ SendButton: typeof import("ant-design-x-vue/typings/sender/components/SendButton.vue").default;
253
+ ClearButton: typeof import("ant-design-x-vue/typings/sender/components/ClearButton.vue").default;
254
+ LoadingButton: typeof import("ant-design-x-vue/typings/sender/components/LoadingButton.vue").default;
255
+ SpeechButton: typeof import("ant-design-x-vue/typings/sender/components/SpeechButton/index.vue").default;
256
+ };
257
+ };
258
+ }): import("vue").VNode;
259
+ }> & {
260
+ header?(): import("vue").VNode;
261
+ prefix?(): import("vue").VNode;
262
+ actions?(props: {
263
+ ori: import("vue").VNode;
264
+ info: {
265
+ components: {
266
+ SendButton: typeof import("ant-design-x-vue/typings/sender/components/SendButton.vue").default;
267
+ ClearButton: typeof import("ant-design-x-vue/typings/sender/components/ClearButton.vue").default;
268
+ LoadingButton: typeof import("ant-design-x-vue/typings/sender/components/LoadingButton.vue").default;
269
+ SpeechButton: typeof import("ant-design-x-vue/typings/sender/components/SpeechButton/index.vue").default;
270
+ };
271
+ };
272
+ }): import("vue").VNode;
273
+ footer?(props: {
274
+ info: {
275
+ components: {
276
+ SendButton: typeof import("ant-design-x-vue/typings/sender/components/SendButton.vue").default;
277
+ ClearButton: typeof import("ant-design-x-vue/typings/sender/components/ClearButton.vue").default;
278
+ LoadingButton: typeof import("ant-design-x-vue/typings/sender/components/LoadingButton.vue").default;
279
+ SpeechButton: typeof import("ant-design-x-vue/typings/sender/components/SpeechButton/index.vue").default;
280
+ };
281
+ };
282
+ }): import("vue").VNode;
283
+ };
284
+ }) & {
285
+ Header: {
286
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("ant-design-x-vue/typings/sender/interface").SenderHeaderProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
287
+ P: {};
288
+ B: {};
289
+ D: {};
290
+ C: {};
291
+ M: {};
292
+ Defaults: {};
293
+ }, Readonly<import("ant-design-x-vue/typings/sender/interface").SenderHeaderProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
294
+ __isFragment?: never;
295
+ __isTeleport?: never;
296
+ __isSuspense?: never;
297
+ } & import("vue").ComponentOptionsBase<Readonly<import("ant-design-x-vue/typings/sender/interface").SenderHeaderProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
298
+ $slots: Readonly<{
299
+ default(props?: any): any;
300
+ }> & {
301
+ default(props?: any): any;
302
+ };
303
+ });
304
+ };
305
+ SenderHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
306
+ modelValue: {
307
+ type: BooleanConstructor;
308
+ default: boolean;
309
+ };
310
+ title: {
311
+ type: StringConstructor;
312
+ default: string;
313
+ };
314
+ contentRef: {
315
+ type: import("vue").PropType<AnyFunc>;
316
+ default: AnyFunc;
317
+ };
318
+ }>, {
319
+ readonly CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
320
+ readonly AntButton: {
321
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
322
+ prefixCls: StringConstructor;
323
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
324
+ htmlType: {
325
+ type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
326
+ default: string;
327
+ };
328
+ shape: {
329
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
330
+ };
331
+ size: {
332
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
333
+ };
334
+ loading: {
335
+ type: import("vue").PropType<boolean | {
336
+ delay?: number;
337
+ }>;
338
+ default: () => boolean | {
339
+ delay?: number;
340
+ };
341
+ };
342
+ disabled: {
343
+ type: BooleanConstructor;
344
+ default: any;
345
+ };
346
+ ghost: {
347
+ type: BooleanConstructor;
348
+ default: any;
349
+ };
350
+ block: {
351
+ type: BooleanConstructor;
352
+ default: any;
353
+ };
354
+ danger: {
355
+ type: BooleanConstructor;
356
+ default: any;
357
+ };
358
+ icon: import("vue-types").VueTypeValidableDef<any>;
359
+ href: StringConstructor;
360
+ target: StringConstructor;
361
+ title: StringConstructor;
362
+ onClick: {
363
+ type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
364
+ };
365
+ onMousedown: {
366
+ type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
367
+ };
368
+ }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
369
+ block: boolean;
370
+ disabled: boolean;
371
+ danger: boolean;
372
+ ghost: boolean;
373
+ htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
374
+ loading: boolean | {
375
+ delay?: number;
376
+ };
377
+ }, true, {}, import("ant-design-vue/es/_util/type").CustomSlotsType<{
378
+ icon: any;
379
+ default: any;
380
+ }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
381
+ P: {};
382
+ B: {};
383
+ D: {};
384
+ C: {};
385
+ M: {};
386
+ Defaults: {};
387
+ }, Readonly<import("vue").ExtractPropTypes<{
388
+ prefixCls: StringConstructor;
389
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
390
+ htmlType: {
391
+ type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
392
+ default: string;
393
+ };
394
+ shape: {
395
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
396
+ };
397
+ size: {
398
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
399
+ };
400
+ loading: {
401
+ type: import("vue").PropType<boolean | {
402
+ delay?: number;
403
+ }>;
404
+ default: () => boolean | {
405
+ delay?: number;
406
+ };
407
+ };
408
+ disabled: {
409
+ type: BooleanConstructor;
410
+ default: any;
411
+ };
412
+ ghost: {
413
+ type: BooleanConstructor;
414
+ default: any;
415
+ };
416
+ block: {
417
+ type: BooleanConstructor;
418
+ default: any;
419
+ };
420
+ danger: {
421
+ type: BooleanConstructor;
422
+ default: any;
423
+ };
424
+ icon: import("vue-types").VueTypeValidableDef<any>;
425
+ href: StringConstructor;
426
+ target: StringConstructor;
427
+ title: StringConstructor;
428
+ onClick: {
429
+ type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
430
+ };
431
+ onMousedown: {
432
+ type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
433
+ };
434
+ }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, {
435
+ block: boolean;
436
+ disabled: boolean;
437
+ danger: boolean;
438
+ ghost: boolean;
439
+ htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
440
+ loading: boolean | {
441
+ delay?: number;
442
+ };
443
+ }>;
444
+ __isFragment?: never;
445
+ __isTeleport?: never;
446
+ __isSuspense?: never;
447
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
448
+ prefixCls: StringConstructor;
449
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
450
+ htmlType: {
451
+ type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
452
+ default: string;
453
+ };
454
+ shape: {
455
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
456
+ };
457
+ size: {
458
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
459
+ };
460
+ loading: {
461
+ type: import("vue").PropType<boolean | {
462
+ delay?: number;
463
+ }>;
464
+ default: () => boolean | {
465
+ delay?: number;
466
+ };
467
+ };
468
+ disabled: {
469
+ type: BooleanConstructor;
470
+ default: any;
471
+ };
472
+ ghost: {
473
+ type: BooleanConstructor;
474
+ default: any;
475
+ };
476
+ block: {
477
+ type: BooleanConstructor;
478
+ default: any;
479
+ };
480
+ danger: {
481
+ type: BooleanConstructor;
482
+ default: any;
483
+ };
484
+ icon: import("vue-types").VueTypeValidableDef<any>;
485
+ href: StringConstructor;
486
+ target: StringConstructor;
487
+ title: StringConstructor;
488
+ onClick: {
489
+ type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
490
+ };
491
+ onMousedown: {
492
+ type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
493
+ };
494
+ }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
495
+ block: boolean;
496
+ disabled: boolean;
497
+ danger: boolean;
498
+ ghost: boolean;
499
+ htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
500
+ loading: boolean | {
501
+ delay?: number;
502
+ };
503
+ }, {}, string, import("ant-design-vue/es/_util/type").CustomSlotsType<{
504
+ icon: any;
505
+ default: any;
506
+ }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (import("vue").Plugin<any[]> & {
507
+ readonly Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
508
+ prefixCls: StringConstructor;
509
+ size: {
510
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
511
+ };
512
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
513
+ prefixCls: StringConstructor;
514
+ size: {
515
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
516
+ };
517
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
518
+ }));
519
+ readonly ElCollapseTransition: {
520
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
521
+ P: {};
522
+ B: {};
523
+ D: {};
524
+ C: {};
525
+ M: {};
526
+ Defaults: {};
527
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
528
+ __isFragment?: never;
529
+ __isTeleport?: never;
530
+ __isSuspense?: never;
531
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
532
+ $slots: {
533
+ default?(_: {}): any;
534
+ };
535
+ }) & import("vue").Plugin;
536
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
537
+ 'update:modelValue': null;
538
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
539
+ modelValue: {
540
+ type: BooleanConstructor;
541
+ default: boolean;
542
+ };
543
+ title: {
544
+ type: StringConstructor;
545
+ default: string;
546
+ };
547
+ contentRef: {
548
+ type: import("vue").PropType<AnyFunc>;
549
+ default: AnyFunc;
550
+ };
551
+ }>> & Readonly<{
552
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
553
+ }>, {
554
+ modelValue: boolean;
555
+ title: string;
556
+ contentRef: AnyFunc;
557
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
558
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
559
+ 'update:fileList': (_: UploadFile[]) => boolean;
560
+ 'update:modelValue': (_: string) => boolean;
561
+ 'update:headerVisible': (_: boolean) => boolean;
562
+ submit: (_: string) => boolean;
563
+ cancel: null;
564
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
565
+ fileList: {
566
+ type: import("vue").PropType<UploadFile[]>;
567
+ default: undefined;
568
+ };
569
+ action: {
570
+ type: StringConstructor;
571
+ default: string;
572
+ };
573
+ modelValue: {
574
+ type: StringConstructor;
575
+ default: string;
576
+ };
577
+ loading: {
578
+ type: BooleanConstructor;
579
+ default: undefined;
580
+ };
581
+ modules: {
582
+ type: {
583
+ (arrayLength: number): "Attachments"[];
584
+ (...items: "Attachments"[]): "Attachments"[];
585
+ new (arrayLength: number): "Attachments"[];
586
+ new (...items: "Attachments"[]): "Attachments"[];
587
+ isArray(arg: any): arg is any[];
588
+ readonly prototype: any[];
589
+ from<T>(arrayLike: ArrayLike<T>): T[];
590
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
591
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
592
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
593
+ of<T>(...items: T[]): T[];
594
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
595
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
596
+ readonly [Symbol.species]: ArrayConstructor;
597
+ };
598
+ default: () => never[];
599
+ };
600
+ sendDisabled: {
601
+ type: BooleanConstructor;
602
+ default: boolean;
603
+ };
604
+ attachmentsVisible: {
605
+ type: BooleanConstructor;
606
+ default: undefined;
607
+ };
608
+ createSendButton: {
609
+ type: import("vue").PropType<AnyFunc>;
610
+ default: undefined;
611
+ };
612
+ createAttachmentsButton: {
613
+ type: import("vue").PropType<AnyFunc>;
614
+ default: undefined;
615
+ };
616
+ autoSize: {
617
+ type: import("vue").PropType<{
618
+ minRows?: number;
619
+ maxRows?: number;
620
+ }>;
621
+ default: undefined;
622
+ };
623
+ attachmentsProps: {
624
+ type: ObjectConstructor;
625
+ default: () => {};
626
+ };
627
+ }>> & Readonly<{
628
+ "onUpdate:modelValue"?: ((_: string) => any) | undefined;
629
+ onSubmit?: ((_: string) => any) | undefined;
630
+ "onUpdate:fileList"?: ((_: UploadFile<any>[]) => any) | undefined;
631
+ "onUpdate:headerVisible"?: ((_: boolean) => any) | undefined;
632
+ onCancel?: ((...args: any[]) => any) | undefined;
633
+ }>, {
634
+ loading: boolean;
635
+ modules: "Attachments"[];
636
+ modelValue: string;
637
+ fileList: UploadFile<any>[];
638
+ action: string;
639
+ sendDisabled: boolean;
640
+ attachmentsVisible: boolean;
641
+ createSendButton: AnyFunc;
642
+ createAttachmentsButton: AnyFunc;
643
+ autoSize: {
644
+ minRows?: number;
645
+ maxRows?: number;
646
+ };
647
+ attachmentsProps: Record<string, any>;
648
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
649
+ export default _default;
@@ -0,0 +1 @@
1
+ export type Module = 'Attachments';
@@ -0,0 +1,4 @@
1
+ import VkSpeechButton from './src/index.vue';
2
+ export * as __VkSpeechButton from './src/types';
3
+ export { VkSpeechButton, };
4
+ export default VkSpeechButton;
@@ -2,7 +2,7 @@ import { defineComponent, createVNode, createTextVNode } from 'vue';
2
2
  import { useRecorder } from '@vunk/plus/composables/recorder';
3
3
  import { Button } from 'ant-design-vue';
4
4
  import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
5
- import { A as AudioMutedOutlined, b as AudioOutlined } from '../SendOutlined.mjs';
5
+ import { A as AudioMutedOutlined, b as AudioOutlined } from '../LinkOutlined.mjs';
6
6
 
7
7
  const props = {
8
8
  disabled: {
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;