@vunk/plus 1.12.2 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/components/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/components/agent-chat-provider/index.cjs +1 -0
- package/components/agent-chat-provider/index.mjs +113 -187
- package/components/agent-chat-provider/src/index.vue.d.ts +3 -2
- package/components/avatar/index.cjs +1 -0
- package/components/avatar/index.mjs +25 -31
- package/components/avatar/src/index.vue.d.ts +40 -39
- package/components/broadcasting-markdown/__tests__/const.test.d.ts +1 -0
- package/components/broadcasting-markdown/__tests__/utils.test.d.ts +1 -0
- package/components/broadcasting-markdown/index.cjs +5 -0
- package/components/broadcasting-markdown/index.mjs +346 -4376
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +18 -24
- package/components/broadcasting-markdown/src/index.vue.d.ts +101 -51
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +17 -29
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +2 -59
- package/components/bubble-list/index.cjs +1 -0
- package/components/bubble-list/index.mjs +220 -302
- package/components/bubble-list/src/core/index.vue.d.ts +40 -885
- package/components/bubble-list/src/core/loading.vue.d.ts +3 -0
- package/components/bubble-list/src/index.vue.d.ts +29 -1321
- package/components/bubble-templates/index.cjs +1 -0
- package/components/bubble-templates/index.mjs +34 -49
- package/components/bubble-templates/src/index.vue.d.ts +3 -224
- package/components/chat-independent/index.cjs +1 -0
- package/components/chat-independent/index.mjs +105 -212
- package/components/chat-independent/src/index.vue.d.ts +20 -2712
- package/components/components.css +1 -0
- package/components/drawer/index.cjs +1 -0
- package/components/drawer/index.mjs +53 -94
- package/components/drawer/src/ctx.d.ts +22 -22
- package/components/drawer/src/index.vue.d.ts +84 -557
- package/components/index.cjs +1 -0
- package/components/index.d.ts +1 -0
- package/components/lottie-animation/index.cjs +1 -0
- package/components/lottie-animation/index.mjs +36 -55
- package/components/lottie-animation/src/index.vue.d.ts +3 -2
- package/components/metahuman-broadcasting/index.cjs +1 -0
- package/components/metahuman-broadcasting/index.mjs +89 -140
- package/components/metahuman-broadcasting/src/index.vue.d.ts +16 -718
- package/components/monaco-editor/index.cjs +1 -0
- package/components/monaco-editor/index.mjs +68 -95
- package/components/monaco-editor/src/index.vue.d.ts +3 -2
- package/components/monaco-environment/index.cjs +1 -0
- package/components/monaco-environment/index.mjs +23 -38
- package/components/monaco-environment/src/index.vue.d.ts +2 -1
- package/components/pixi-frame/index.cjs +1 -0
- package/components/pixi-frame/index.mjs +501 -1978
- package/components/pixi-frame/src/apng.vue.d.ts +17 -73
- package/components/pixi-frame/src/bitmap-generator.vue.d.ts +24 -66
- package/components/pixi-frame/src/bitmap.vue.d.ts +28 -80
- package/components/pixi-frame/src/buffer-image.vue.d.ts +29 -97
- package/components/pixi-frame/src/core.vue.d.ts +20 -75
- package/components/pixi-frame/src/index.vue.d.ts +302 -237
- package/components/pixi-frame/src/provider.vue.d.ts +12 -1
- package/components/pixi-frame/src/video.vue.d.ts +17 -71
- package/components/pixi-frame/src/view.vue.d.ts +4 -16
- package/components/recorder-button/index.cjs +1 -0
- package/components/recorder-button/index.mjs +140 -269
- package/components/recorder-button/src/index.vue.d.ts +67 -66
- package/components/routes-menu-content/index.cjs +1 -0
- package/components/routes-menu-content/index.mjs +150 -229
- package/components/routes-menu-content/src/index.vue.d.ts +27 -26
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +27 -26
- package/components/routes-menu-content/src/item/index.vue.d.ts +27 -26
- package/components/scrollbar/index.cjs +1 -0
- package/components/scrollbar/index.mjs +288 -567
- package/components/scrollbar/src/bar.vue.d.ts +6 -133
- package/components/scrollbar/src/index.vue.d.ts +66 -337
- package/components/scrollbar/src/thumb.vue.d.ts +3 -80
- package/components/sender/index.cjs +1 -0
- package/components/sender/index.mjs +156 -285
- package/components/sender/src/SenderHeader.vue.d.ts +14 -221
- package/components/sender/src/index.vue.d.ts +16 -505
- package/components/speech-button/index.cjs +1 -0
- package/components/speech-button/index.mjs +98 -144
- package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -1
- package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -1
- package/components/speech-button/src/index.vue.d.ts +6 -5
- package/components/table-columns/index.cjs +1 -0
- package/components/table-columns/index.mjs +48 -78
- package/components/table-columns/src/ctx.d.ts +10 -10
- package/components/table-columns/src/el-ctx.d.ts +1 -1
- package/components/table-columns/src/index.vue.d.ts +24 -23
- package/components/tables-v1/index.cjs +1 -0
- package/components/tables-v1/index.mjs +99 -160
- package/components/tables-v1/src/ctx.d.ts +28 -28
- package/components/tables-v1/src/el-ctx.d.ts +2 -2
- package/components/tables-v1/src/index.vue.d.ts +88 -2243
- package/components/tables-v1-checkbox/index.cjs +1 -0
- package/components/tables-v1-checkbox/index.mjs +116 -4043
- package/components/tables-v1-checkbox/src/ctx.d.ts +26 -26
- package/components/tables-v1-checkbox/src/index.vue.d.ts +176 -2330
- package/components/text/index.cjs +1 -0
- package/components/text/index.mjs +70 -108
- package/components/text/src/ctx.d.ts +31 -31
- package/components/text/src/index.vue.d.ts +92 -1819
- package/components/thinking/index.cjs +1 -0
- package/components/thinking/index.mjs +127 -227
- package/components/thinking/src/index.vue.d.ts +22 -2044
- package/components/typing-markdown/index.cjs +1 -0
- package/components/typing-markdown/index.mjs +61 -201
- package/components/typing-markdown/src/index.vue.d.ts +3 -2
- package/components/vditor/index.cjs +1 -0
- package/components/vditor/index.mjs +121 -195
- package/components/vditor/src/ctx.d.ts +2 -2
- package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -2
- package/components/vditor/src/handle-value.vue.d.ts +3 -2
- package/components/vditor/src/index.vue.d.ts +5 -4
- package/components/xgplayer/index.cjs +1 -0
- package/components/xgplayer/index.mjs +49 -90
- package/components/xgplayer/src/core.vue.d.ts +13 -18
- package/components/xgplayer/src/index.vue.d.ts +13 -67
- package/composables/el-breakpoints/index.cjs +1 -0
- package/composables/el-breakpoints/index.d.ts +10 -10
- package/composables/el-breakpoints/index.mjs +10 -12
- package/composables/index.cjs +1 -0
- package/composables/index.d.ts +1 -0
- package/composables/recorder/index.cjs +1 -0
- package/composables/recorder/index.mjs +9172 -14803
- package/element/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/element/bubble/index.cjs +3 -0
- package/element/bubble/index.d.ts +1 -1
- package/element/bubble/index.mjs +1 -1
- package/element/bubble/src/index.vue.d.ts +22 -22
- package/element/index.css +1 -1
- package/element/thinking/index.cjs +1 -0
- package/element/thinking/index.d.ts +1 -1
- package/element/thinking/index.mjs +1 -1
- package/element/thinking/src/index.vue.d.ts +26 -26
- package/element/thinking/src/types.d.ts +10 -0
- package/icons/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/icons/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/icons/end/index.cjs +1 -0
- package/icons/end/index.mjs +21 -26
- package/icons/end/src/index.vue.d.ts +3 -0
- package/icons/keyboard/index.cjs +1 -0
- package/icons/keyboard/index.mjs +21 -26
- package/icons/keyboard/src/index.vue.d.ts +3 -0
- package/icons/start/index.cjs +1 -0
- package/icons/start/index.mjs +21 -26
- package/icons/start/src/index.vue.d.ts +3 -0
- package/icons/voice/index.cjs +1 -0
- package/icons/voice/index.mjs +26 -44
- package/icons/voice/src/index.vue.d.ts +2 -3
- package/index.css +2 -558
- package/index.d.ts +1 -0
- package/package.json +78 -87
- package/shared/data/index.cjs +1 -0
- package/shared/data/index.mjs +16 -22
- package/shared/types/index.cjs +1 -0
- package/shared/types/index.d.ts +1 -0
- package/components/LinkOutlined.mjs +0 -1321
- package/components/_commonjsHelpers.mjs +0 -7
- package/components/_plugin-vue_export-helper.mjs +0 -9
- package/components/bubble-list/index.css +0 -70
- package/components/bubble-templates/index.css +0 -4
- package/components/chat-independent/index.css +0 -47
- package/components/drawer/index.css +0 -124
- package/components/index2.mjs +0 -78
- package/components/lottie-animation/index.css +0 -4
- package/components/monaco-editor/index.css +0 -4
- package/components/pixi-frame/index.css +0 -4
- package/components/recorder-button/index.css +0 -69
- package/components/sender/index.css +0 -22
- package/components/speech-button/index.css +0 -10
- package/components/tables-v1/index.css +0 -7
- package/components/tables-v1-checkbox/index.css +0 -8
- package/components/thinking/index.css +0 -125
- package/components/typing-markdown/index.css +0 -31
- package/components/vditor/index.css +0 -12
- package/components/xgplayer/index.css +0 -1
- package/icons/_plugin-vue_export-helper.mjs +0 -9
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { AnyFunc
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
import type { Ref } from 'vue';
|
|
5
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1
|
+
import type { AnyFunc } from '@vunk/shared';
|
|
2
|
+
import type { UploadFile } from 'ant-design-vue';
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
4
|
fileList: {
|
|
7
5
|
type: import("vue").PropType<any[]>;
|
|
8
6
|
default: undefined;
|
|
@@ -69,506 +67,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
67
|
type: StringConstructor;
|
|
70
68
|
default: string;
|
|
71
69
|
};
|
|
72
|
-
}>, {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
action: {
|
|
79
|
-
type: StringConstructor;
|
|
80
|
-
default: string;
|
|
81
|
-
};
|
|
82
|
-
modelValue: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
loading: {
|
|
87
|
-
type: BooleanConstructor;
|
|
88
|
-
default: undefined;
|
|
89
|
-
};
|
|
90
|
-
modules: {
|
|
91
|
-
type: {
|
|
92
|
-
(arrayLength: number): "Attachments"[];
|
|
93
|
-
(...items: "Attachments"[]): "Attachments"[];
|
|
94
|
-
new (arrayLength: number): "Attachments"[];
|
|
95
|
-
new (...items: "Attachments"[]): "Attachments"[];
|
|
96
|
-
isArray(arg: any): arg is any[];
|
|
97
|
-
readonly prototype: any[];
|
|
98
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
99
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
100
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
101
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
102
|
-
of<T>(...items: T[]): T[];
|
|
103
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
104
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
105
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
106
|
-
};
|
|
107
|
-
default: () => never[];
|
|
108
|
-
};
|
|
109
|
-
sendDisabled: {
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
default: boolean;
|
|
112
|
-
};
|
|
113
|
-
attachmentsVisible: {
|
|
114
|
-
type: BooleanConstructor;
|
|
115
|
-
default: undefined;
|
|
116
|
-
};
|
|
117
|
-
createSendButton: {
|
|
118
|
-
type: import("vue").PropType<AnyFunc>;
|
|
119
|
-
default: undefined;
|
|
120
|
-
};
|
|
121
|
-
createAttachmentsButton: {
|
|
122
|
-
type: import("vue").PropType<AnyFunc>;
|
|
123
|
-
default: undefined;
|
|
124
|
-
};
|
|
125
|
-
autoSize: {
|
|
126
|
-
type: import("vue").PropType<{
|
|
127
|
-
minRows?: number;
|
|
128
|
-
maxRows?: number;
|
|
129
|
-
}>;
|
|
130
|
-
default: undefined;
|
|
131
|
-
};
|
|
132
|
-
attachmentsProps: {
|
|
133
|
-
type: ObjectConstructor;
|
|
134
|
-
default: () => {};
|
|
135
|
-
};
|
|
136
|
-
attachmentsPlaceholder: {
|
|
137
|
-
type: StringConstructor;
|
|
138
|
-
default: string;
|
|
139
|
-
};
|
|
140
|
-
}>> & Readonly<{
|
|
141
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
142
|
-
onSubmit?: ((_: string) => any) | undefined;
|
|
143
|
-
"onUpdate:modelValue"?: ((_: string) => any) | undefined;
|
|
144
|
-
"onUpdate:fileList"?: ((_: UploadFile<any>[]) => any) | undefined;
|
|
145
|
-
"onUpdate:attachmentsVisible"?: ((_: boolean) => any) | undefined;
|
|
146
|
-
}> & {}>;
|
|
147
|
-
emit: ((event: "cancel", ...args: any[]) => void) & ((event: "submit", _: string) => void) & ((event: "update:modelValue", _: string) => void) & ((event: "update:fileList", _: UploadFile<any>[]) => void) & ((event: "update:attachmentsVisible", _: boolean) => void);
|
|
148
|
-
slots: Readonly<{
|
|
149
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
150
|
-
}>;
|
|
151
|
-
hasAttachments: import("vue").ComputedRef<boolean>;
|
|
152
|
-
loading: import("vue").WritableComputedRef<boolean, boolean>;
|
|
153
|
-
headerOpen: import("vue").WritableComputedRef<boolean, boolean>;
|
|
154
|
-
createSendButtonDefault: (components?: NormalObject) => JSX.Element;
|
|
155
|
-
createSendButton: (components: any) => any;
|
|
156
|
-
createAttachmentsButtonDefault: () => JSX.Element;
|
|
157
|
-
createAttachmentsButton: () => any;
|
|
158
|
-
actionsRender: AnyFunc;
|
|
159
|
-
attachmentsPlaceholder: AnyFunc;
|
|
160
|
-
theFileList: import("vue").WritableComputedRef<UploadFile<any>[], UploadFile<any>[]>;
|
|
161
|
-
attachmentsRef: Ref<AttachmentsRef, AttachmentsRef>;
|
|
162
|
-
attachmentWrapDef: {
|
|
163
|
-
_ref: import("vue").ShallowRef<HTMLDivElement, HTMLDivElement>;
|
|
164
|
-
readonly value: HTMLDivElement;
|
|
165
|
-
promise: Promise<HTMLDivElement>;
|
|
166
|
-
resolve: import("@vunk/core").AnyFunc;
|
|
167
|
-
reject: (reason?: any) => void;
|
|
168
|
-
};
|
|
169
|
-
attachmentWrapResolve: import("@vunk/core").AnyFunc;
|
|
170
|
-
handlePasteFile: (file: File) => Promise<void>;
|
|
171
|
-
handleChange: (e: UploadChangeParam<UploadFile>) => void;
|
|
172
|
-
readonly Attachments: {
|
|
173
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("ant-design-x-vue").AttachmentsProps> & Readonly<{}>, {
|
|
174
|
-
nativeElement: HTMLDivElement | null;
|
|
175
|
-
upload: (file: File | File[] | FileList) => void;
|
|
176
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
177
|
-
P: {};
|
|
178
|
-
B: {};
|
|
179
|
-
D: {};
|
|
180
|
-
C: {};
|
|
181
|
-
M: {};
|
|
182
|
-
Defaults: {};
|
|
183
|
-
}, Readonly<import("ant-design-x-vue").AttachmentsProps> & Readonly<{}>, {
|
|
184
|
-
nativeElement: HTMLDivElement | null;
|
|
185
|
-
upload: (file: File | File[] | FileList) => void;
|
|
186
|
-
}, {}, {}, {}, {}>;
|
|
187
|
-
__isFragment?: never;
|
|
188
|
-
__isTeleport?: never;
|
|
189
|
-
__isSuspense?: never;
|
|
190
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("ant-design-x-vue").AttachmentsProps> & Readonly<{}>, {
|
|
191
|
-
nativeElement: HTMLDivElement | null;
|
|
192
|
-
upload: (file: File | File[] | FileList) => void;
|
|
193
|
-
}, {}, {}, {}, 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 () => {
|
|
194
|
-
$slots: Readonly<{
|
|
195
|
-
placeholder?(props?: {
|
|
196
|
-
type: "inline" | "drop";
|
|
197
|
-
}): import("vue").VNode | string;
|
|
198
|
-
}> & {
|
|
199
|
-
placeholder?(props?: {
|
|
200
|
-
type: "inline" | "drop";
|
|
201
|
-
}): import("vue").VNode | string;
|
|
202
|
-
};
|
|
203
|
-
}) & {
|
|
204
|
-
FileCard: import("vue").DefineComponent<import("ant-design-x-vue/typings/attachments/interface").FileListCardProps, {
|
|
205
|
-
nativeElement: Readonly<import("vue").ShallowRef<HTMLDivElement>>;
|
|
206
|
-
}, {}, {}, {}, 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>;
|
|
207
|
-
};
|
|
208
|
-
readonly Sender: {
|
|
209
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
|
|
210
|
-
"onUpdate:value"?: (value: string) => any;
|
|
211
|
-
}>, {
|
|
212
|
-
nativeElement: HTMLDivElement;
|
|
213
|
-
focus: (opt: any) => any;
|
|
214
|
-
blur: () => any;
|
|
215
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
216
|
-
"update:value": (value: string) => any;
|
|
217
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
218
|
-
P: {};
|
|
219
|
-
B: {};
|
|
220
|
-
D: {};
|
|
221
|
-
C: {};
|
|
222
|
-
M: {};
|
|
223
|
-
Defaults: {};
|
|
224
|
-
}, Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
|
|
225
|
-
"onUpdate:value"?: (value: string) => any;
|
|
226
|
-
}>, {
|
|
227
|
-
nativeElement: HTMLDivElement;
|
|
228
|
-
focus: (opt: any) => any;
|
|
229
|
-
blur: () => any;
|
|
230
|
-
}, {}, {}, {}, {}>;
|
|
231
|
-
__isFragment?: never;
|
|
232
|
-
__isTeleport?: never;
|
|
233
|
-
__isSuspense?: never;
|
|
234
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
|
|
235
|
-
"onUpdate:value"?: (value: string) => any;
|
|
236
|
-
}>, {
|
|
237
|
-
nativeElement: HTMLDivElement;
|
|
238
|
-
focus: (opt: any) => any;
|
|
239
|
-
blur: () => any;
|
|
240
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
241
|
-
"update:value": (value: string) => any;
|
|
242
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
243
|
-
$slots: Readonly<{
|
|
244
|
-
header?(): import("vue").VNode;
|
|
245
|
-
prefix?(): import("vue").VNode;
|
|
246
|
-
actions?(props: {
|
|
247
|
-
ori: import("vue").VNode;
|
|
248
|
-
info: {
|
|
249
|
-
components: {
|
|
250
|
-
SendButton: typeof import("ant-design-x-vue/typings/sender/components/SendButton.vue").default;
|
|
251
|
-
ClearButton: typeof import("ant-design-x-vue/typings/sender/components/ClearButton.vue").default;
|
|
252
|
-
LoadingButton: typeof import("ant-design-x-vue/typings/sender/components/LoadingButton.vue").default;
|
|
253
|
-
SpeechButton: typeof import("ant-design-x-vue/typings/sender/components/SpeechButton/index.vue").default;
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
}): import("vue").VNode;
|
|
257
|
-
footer?(props: {
|
|
258
|
-
info: {
|
|
259
|
-
components: {
|
|
260
|
-
SendButton: typeof import("ant-design-x-vue/typings/sender/components/SendButton.vue").default;
|
|
261
|
-
ClearButton: typeof import("ant-design-x-vue/typings/sender/components/ClearButton.vue").default;
|
|
262
|
-
LoadingButton: typeof import("ant-design-x-vue/typings/sender/components/LoadingButton.vue").default;
|
|
263
|
-
SpeechButton: typeof import("ant-design-x-vue/typings/sender/components/SpeechButton/index.vue").default;
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
}): import("vue").VNode;
|
|
267
|
-
}> & {
|
|
268
|
-
header?(): import("vue").VNode;
|
|
269
|
-
prefix?(): import("vue").VNode;
|
|
270
|
-
actions?(props: {
|
|
271
|
-
ori: import("vue").VNode;
|
|
272
|
-
info: {
|
|
273
|
-
components: {
|
|
274
|
-
SendButton: typeof import("ant-design-x-vue/typings/sender/components/SendButton.vue").default;
|
|
275
|
-
ClearButton: typeof import("ant-design-x-vue/typings/sender/components/ClearButton.vue").default;
|
|
276
|
-
LoadingButton: typeof import("ant-design-x-vue/typings/sender/components/LoadingButton.vue").default;
|
|
277
|
-
SpeechButton: typeof import("ant-design-x-vue/typings/sender/components/SpeechButton/index.vue").default;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
}): import("vue").VNode;
|
|
281
|
-
footer?(props: {
|
|
282
|
-
info: {
|
|
283
|
-
components: {
|
|
284
|
-
SendButton: typeof import("ant-design-x-vue/typings/sender/components/SendButton.vue").default;
|
|
285
|
-
ClearButton: typeof import("ant-design-x-vue/typings/sender/components/ClearButton.vue").default;
|
|
286
|
-
LoadingButton: typeof import("ant-design-x-vue/typings/sender/components/LoadingButton.vue").default;
|
|
287
|
-
SpeechButton: typeof import("ant-design-x-vue/typings/sender/components/SpeechButton/index.vue").default;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
}): import("vue").VNode;
|
|
291
|
-
};
|
|
292
|
-
}) & {
|
|
293
|
-
Header: {
|
|
294
|
-
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, {
|
|
295
|
-
P: {};
|
|
296
|
-
B: {};
|
|
297
|
-
D: {};
|
|
298
|
-
C: {};
|
|
299
|
-
M: {};
|
|
300
|
-
Defaults: {};
|
|
301
|
-
}, Readonly<import("ant-design-x-vue/typings/sender/interface").SenderHeaderProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
302
|
-
__isFragment?: never;
|
|
303
|
-
__isTeleport?: never;
|
|
304
|
-
__isSuspense?: never;
|
|
305
|
-
} & 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 () => {
|
|
306
|
-
$slots: Readonly<{
|
|
307
|
-
default(props?: any): any;
|
|
308
|
-
}> & {
|
|
309
|
-
default(props?: any): any;
|
|
310
|
-
};
|
|
311
|
-
});
|
|
312
|
-
};
|
|
313
|
-
SenderHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
314
|
-
modelValue: {
|
|
315
|
-
type: BooleanConstructor;
|
|
316
|
-
default: boolean;
|
|
317
|
-
};
|
|
318
|
-
title: {
|
|
319
|
-
type: StringConstructor;
|
|
320
|
-
default: string;
|
|
321
|
-
};
|
|
322
|
-
contentRef: {
|
|
323
|
-
type: import("vue").PropType<AnyFunc>;
|
|
324
|
-
default: AnyFunc;
|
|
325
|
-
};
|
|
326
|
-
}>, {
|
|
327
|
-
readonly CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
|
|
328
|
-
readonly AntButton: {
|
|
329
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
330
|
-
prefixCls: StringConstructor;
|
|
331
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
|
|
332
|
-
htmlType: {
|
|
333
|
-
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
334
|
-
default: string;
|
|
335
|
-
};
|
|
336
|
-
shape: {
|
|
337
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
|
|
338
|
-
};
|
|
339
|
-
size: {
|
|
340
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
341
|
-
};
|
|
342
|
-
loading: {
|
|
343
|
-
type: import("vue").PropType<boolean | {
|
|
344
|
-
delay?: number;
|
|
345
|
-
}>;
|
|
346
|
-
default: () => boolean | {
|
|
347
|
-
delay?: number;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
disabled: {
|
|
351
|
-
type: BooleanConstructor;
|
|
352
|
-
default: any;
|
|
353
|
-
};
|
|
354
|
-
ghost: {
|
|
355
|
-
type: BooleanConstructor;
|
|
356
|
-
default: any;
|
|
357
|
-
};
|
|
358
|
-
block: {
|
|
359
|
-
type: BooleanConstructor;
|
|
360
|
-
default: any;
|
|
361
|
-
};
|
|
362
|
-
danger: {
|
|
363
|
-
type: BooleanConstructor;
|
|
364
|
-
default: any;
|
|
365
|
-
};
|
|
366
|
-
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
367
|
-
href: StringConstructor;
|
|
368
|
-
target: StringConstructor;
|
|
369
|
-
title: StringConstructor;
|
|
370
|
-
onClick: {
|
|
371
|
-
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
|
|
372
|
-
};
|
|
373
|
-
onMousedown: {
|
|
374
|
-
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
|
|
375
|
-
};
|
|
376
|
-
}>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
377
|
-
block: boolean;
|
|
378
|
-
disabled: boolean;
|
|
379
|
-
danger: boolean;
|
|
380
|
-
ghost: boolean;
|
|
381
|
-
htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
|
|
382
|
-
loading: boolean | {
|
|
383
|
-
delay?: number;
|
|
384
|
-
};
|
|
385
|
-
}, true, {}, import("ant-design-vue/es/_util/type").CustomSlotsType<{
|
|
386
|
-
icon: any;
|
|
387
|
-
default: any;
|
|
388
|
-
}>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
389
|
-
P: {};
|
|
390
|
-
B: {};
|
|
391
|
-
D: {};
|
|
392
|
-
C: {};
|
|
393
|
-
M: {};
|
|
394
|
-
Defaults: {};
|
|
395
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
396
|
-
prefixCls: StringConstructor;
|
|
397
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
|
|
398
|
-
htmlType: {
|
|
399
|
-
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
400
|
-
default: string;
|
|
401
|
-
};
|
|
402
|
-
shape: {
|
|
403
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
|
|
404
|
-
};
|
|
405
|
-
size: {
|
|
406
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
407
|
-
};
|
|
408
|
-
loading: {
|
|
409
|
-
type: import("vue").PropType<boolean | {
|
|
410
|
-
delay?: number;
|
|
411
|
-
}>;
|
|
412
|
-
default: () => boolean | {
|
|
413
|
-
delay?: number;
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
disabled: {
|
|
417
|
-
type: BooleanConstructor;
|
|
418
|
-
default: any;
|
|
419
|
-
};
|
|
420
|
-
ghost: {
|
|
421
|
-
type: BooleanConstructor;
|
|
422
|
-
default: any;
|
|
423
|
-
};
|
|
424
|
-
block: {
|
|
425
|
-
type: BooleanConstructor;
|
|
426
|
-
default: any;
|
|
427
|
-
};
|
|
428
|
-
danger: {
|
|
429
|
-
type: BooleanConstructor;
|
|
430
|
-
default: any;
|
|
431
|
-
};
|
|
432
|
-
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
433
|
-
href: StringConstructor;
|
|
434
|
-
target: StringConstructor;
|
|
435
|
-
title: StringConstructor;
|
|
436
|
-
onClick: {
|
|
437
|
-
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
|
|
438
|
-
};
|
|
439
|
-
onMousedown: {
|
|
440
|
-
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
|
|
441
|
-
};
|
|
442
|
-
}>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, {
|
|
443
|
-
block: boolean;
|
|
444
|
-
disabled: boolean;
|
|
445
|
-
danger: boolean;
|
|
446
|
-
ghost: boolean;
|
|
447
|
-
htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
|
|
448
|
-
loading: boolean | {
|
|
449
|
-
delay?: number;
|
|
450
|
-
};
|
|
451
|
-
}>;
|
|
452
|
-
__isFragment?: never;
|
|
453
|
-
__isTeleport?: never;
|
|
454
|
-
__isSuspense?: never;
|
|
455
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
456
|
-
prefixCls: StringConstructor;
|
|
457
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
|
|
458
|
-
htmlType: {
|
|
459
|
-
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
460
|
-
default: string;
|
|
461
|
-
};
|
|
462
|
-
shape: {
|
|
463
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
|
|
464
|
-
};
|
|
465
|
-
size: {
|
|
466
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
467
|
-
};
|
|
468
|
-
loading: {
|
|
469
|
-
type: import("vue").PropType<boolean | {
|
|
470
|
-
delay?: number;
|
|
471
|
-
}>;
|
|
472
|
-
default: () => boolean | {
|
|
473
|
-
delay?: number;
|
|
474
|
-
};
|
|
475
|
-
};
|
|
476
|
-
disabled: {
|
|
477
|
-
type: BooleanConstructor;
|
|
478
|
-
default: any;
|
|
479
|
-
};
|
|
480
|
-
ghost: {
|
|
481
|
-
type: BooleanConstructor;
|
|
482
|
-
default: any;
|
|
483
|
-
};
|
|
484
|
-
block: {
|
|
485
|
-
type: BooleanConstructor;
|
|
486
|
-
default: any;
|
|
487
|
-
};
|
|
488
|
-
danger: {
|
|
489
|
-
type: BooleanConstructor;
|
|
490
|
-
default: any;
|
|
491
|
-
};
|
|
492
|
-
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
493
|
-
href: StringConstructor;
|
|
494
|
-
target: StringConstructor;
|
|
495
|
-
title: StringConstructor;
|
|
496
|
-
onClick: {
|
|
497
|
-
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
|
|
498
|
-
};
|
|
499
|
-
onMousedown: {
|
|
500
|
-
type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
|
|
501
|
-
};
|
|
502
|
-
}>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
503
|
-
block: boolean;
|
|
504
|
-
disabled: boolean;
|
|
505
|
-
danger: boolean;
|
|
506
|
-
ghost: boolean;
|
|
507
|
-
htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
|
|
508
|
-
loading: boolean | {
|
|
509
|
-
delay?: number;
|
|
510
|
-
};
|
|
511
|
-
}, {}, string, import("ant-design-vue/es/_util/type").CustomSlotsType<{
|
|
512
|
-
icon: any;
|
|
513
|
-
default: any;
|
|
514
|
-
}>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (import("vue").Plugin<any[]> & {
|
|
515
|
-
readonly Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
516
|
-
prefixCls: StringConstructor;
|
|
517
|
-
size: {
|
|
518
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
519
|
-
};
|
|
520
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
521
|
-
prefixCls: StringConstructor;
|
|
522
|
-
size: {
|
|
523
|
-
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
524
|
-
};
|
|
525
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
526
|
-
}));
|
|
527
|
-
readonly ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<{
|
|
528
|
-
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, {
|
|
529
|
-
P: {};
|
|
530
|
-
B: {};
|
|
531
|
-
D: {};
|
|
532
|
-
C: {};
|
|
533
|
-
M: {};
|
|
534
|
-
Defaults: {};
|
|
535
|
-
}, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
536
|
-
__isFragment?: never;
|
|
537
|
-
__isTeleport?: never;
|
|
538
|
-
__isSuspense?: never;
|
|
539
|
-
} & 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 () => {
|
|
540
|
-
$slots: {
|
|
541
|
-
default?(_: {}): any;
|
|
542
|
-
};
|
|
543
|
-
})>;
|
|
544
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
545
|
-
'update:modelValue': null;
|
|
546
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
547
|
-
modelValue: {
|
|
548
|
-
type: BooleanConstructor;
|
|
549
|
-
default: boolean;
|
|
550
|
-
};
|
|
551
|
-
title: {
|
|
552
|
-
type: StringConstructor;
|
|
553
|
-
default: string;
|
|
554
|
-
};
|
|
555
|
-
contentRef: {
|
|
556
|
-
type: import("vue").PropType<AnyFunc>;
|
|
557
|
-
default: AnyFunc;
|
|
558
|
-
};
|
|
559
|
-
}>> & Readonly<{
|
|
560
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
561
|
-
}>, {
|
|
562
|
-
title: string;
|
|
563
|
-
modelValue: boolean;
|
|
564
|
-
contentRef: AnyFunc;
|
|
565
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
566
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
567
|
-
'update:fileList': (_: UploadFile[]) => boolean;
|
|
568
|
-
'update:modelValue': (_: string) => boolean;
|
|
569
|
-
'update:attachmentsVisible': (_: boolean) => boolean;
|
|
570
|
-
submit: (_: string) => boolean;
|
|
571
|
-
cancel: null;
|
|
70
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
|
+
cancel: (...args: any[]) => void;
|
|
72
|
+
submit: (_: string) => void;
|
|
73
|
+
"update:modelValue": (_: string) => void;
|
|
74
|
+
"update:fileList": (_: UploadFile<any>[]) => void;
|
|
75
|
+
"update:attachmentsVisible": (_: boolean) => void;
|
|
572
76
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
573
77
|
fileList: {
|
|
574
78
|
type: import("vue").PropType<any[]>;
|
|
@@ -659,4 +163,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
659
163
|
attachmentsProps: Record<string, any>;
|
|
660
164
|
attachmentsPlaceholder: string;
|
|
661
165
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
166
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
167
|
+
declare const _default: typeof __VLS_export;
|
|
662
168
|
export default _default;
|
|
169
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
170
|
+
new (): {
|
|
171
|
+
$slots: S;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("@ant-design/icons-vue"),k=require("@vunk/plus/composables/recorder"),C=require("ant-design-vue"),v={disabled:{type:Boolean,default:!1}},S={stop:o=>!0,start:null},t=1e3,T=50,g=200,y=e.defineComponent({name:"AXSenderLoadingIcon",setup(){return()=>e.createVNode("svg",{color:"currentColor",viewBox:`0 0 ${t} ${t}`,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},[e.createVNode("title",null,[e.createTextVNode("Speech Loading")]),e.createVNode("circle",{cx:t/2,cy:t/2,r:g,fill:"none",stroke:"currentColor","stroke-width":T,"stroke-linecap":"round","stroke-dasharray":`${Math.PI*g*.75} ${Math.PI*g*.25}`},[e.createVNode("animateTransform",{attributeName:"transform",type:"rotate",from:`0 ${t/2} ${t/2}`,to:`360 ${t/2} ${t/2}`,dur:"1s",repeatCount:"indefinite"},null)])])}}),c=1e3,s=4,p=140,_=p/2,i=250,$=500,d=.8,N=e.defineComponent({name:"AXSenderRecordingIcon",setup(){return()=>e.createVNode("svg",{color:"currentColor",viewBox:`0 0 ${c} ${c}`,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},[e.createVNode("title",null,[e.createTextVNode("Speech Recording")]),Array.from({length:s}).map((o,n)=>{const m=(c-p*s)/(s-1),u=n*(m+p),r=c/2-i/2,a=c/2-$/2;return e.createVNode("rect",{fill:"currentColor",rx:_,ry:_,height:i,width:p,x:u,y:r,key:n},[e.createVNode("animate",{attributeName:"height",values:`${i}; ${$}; ${i}`,keyTimes:"0; 0.5; 1",dur:`${d}s`,begin:`${d/s*n}s`,repeatCount:"indefinite"},null),e.createVNode("animate",{attributeName:"y",values:`${r}; ${a}; ${r}`,keyTimes:"0; 0.5; 1",dur:`${d}s`,begin:`${d/s*n}s`,repeatCount:"indefinite"},null)])})])}}),l=e.defineComponent({name:"VkSpeechButton",components:{RecordingIcon:N},props:v,emits:S,setup(o,{emit:n}){const{openOrStart:m,recording:u,stop:r,opening:a}=k.useRecorder(),V=()=>{o.disabled||a.value||(u.value?r().then(f=>{n("stop",f)}):m().then(f=>{f&&n("start")}))},w=()=>o.disabled?e.createVNode(h.AudioMutedOutlined,null,null):a.value?e.createVNode(y,null,null):u.value?e.createVNode(N,{class:"vk-speech-button-recording-icon"},null):e.createVNode(h.AudioOutlined,null,null);return()=>e.createVNode(C.Button,{onClick:V,class:"vk-speech-button"},{icon:w})}}),I=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));l.install=o=>{o.component(l.name||"VkSpeechButton",l)};exports.VkSpeechButton=l;exports.__VkSpeechButton=I;exports.default=l;
|