@opentiny/tiny-robot 0.4.2-alpha.1 → 0.4.2-alpha.10
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/dist/action-group/index.js +5 -5
- package/dist/{content-nav → anchor}/index.js +263 -263
- package/dist/attachments/index.js +326 -269
- package/dist/bubble/index.js +10 -9
- package/dist/container/index.js +13 -13
- package/dist/dropdown-menu/index.js +17 -17
- package/dist/feedback/index.js +2 -2
- package/dist/flow-layout-buttons/index.js +1 -1
- package/dist/index.d.ts +1157 -918
- package/dist/index.js +154 -143
- package/dist/index2.js +152 -126
- package/dist/index3.js +1 -1
- package/dist/index4.js +380 -317
- package/dist/index5.js +240 -187
- package/dist/index6.js +597 -548
- package/dist/index7.js +42 -42
- package/dist/layout/index.js +1243 -0
- package/dist/mcp-server-picker/index.js +178 -177
- package/dist/sender/index.js +1575 -1467
- package/dist/style.css +1 -1
- package/dist/suggestion-pills/index.js +12 -12
- package/dist/suggestion-popover/index.js +122 -125
- package/dist/welcome/index.js +9 -9
- package/package.json +19 -13
- package/dist/no-data.js +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { ComputedRef } from 'vue';
|
|
|
13
13
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
14
14
|
import { CSSProperties } from 'vue';
|
|
15
15
|
import { DebuggerEvent } from 'vue';
|
|
16
|
+
import { default as default_2 } from './Layout.vue';
|
|
16
17
|
import { DefineComponent } from 'vue';
|
|
17
18
|
import { Directive } from 'vue';
|
|
18
19
|
import { Editor } from '@tiptap/vue-3';
|
|
@@ -43,6 +44,10 @@ value: unknown;
|
|
|
43
44
|
messageIndex: number;
|
|
44
45
|
contentIndex: number;
|
|
45
46
|
}) => any;
|
|
47
|
+
"bubble-event": (payload: BubbleEvent & {
|
|
48
|
+
messageIndex: number;
|
|
49
|
+
contentIndex: number;
|
|
50
|
+
}) => any;
|
|
46
51
|
}, string, PublicProps, Readonly<BubbleProps> & Readonly<{
|
|
47
52
|
"onState-change"?: ((payload: {
|
|
48
53
|
key: string;
|
|
@@ -50,6 +55,10 @@ value: unknown;
|
|
|
50
55
|
messageIndex: number;
|
|
51
56
|
contentIndex: number;
|
|
52
57
|
}) => any) | undefined;
|
|
58
|
+
"onBubble-event"?: ((payload: BubbleEvent & {
|
|
59
|
+
messageIndex: number;
|
|
60
|
+
contentIndex: number;
|
|
61
|
+
}) => any) | undefined;
|
|
53
62
|
}>, {
|
|
54
63
|
placement: "start" | "end";
|
|
55
64
|
shape: "corner" | "rounded" | "none";
|
|
@@ -59,65 +68,79 @@ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
|
59
68
|
bubbleRef: HTMLDivElement;
|
|
60
69
|
}, HTMLDivElement>;
|
|
61
70
|
|
|
62
|
-
declare const __VLS_component_10: DefineComponent<
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
71
|
+
declare const __VLS_component_10: DefineComponent<SenderProps_2, {
|
|
72
|
+
focus: () => void;
|
|
73
|
+
blur: () => void;
|
|
74
|
+
clear: () => void;
|
|
75
|
+
submit: () => void;
|
|
76
|
+
setTemplateData: (templateData: UserTemplateItem[]) => void;
|
|
77
|
+
startSpeech: () => void;
|
|
78
|
+
stopSpeech: () => void;
|
|
79
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
80
|
+
clear: () => any;
|
|
81
|
+
blur: (event: FocusEvent) => any;
|
|
82
|
+
cancel: () => any;
|
|
83
|
+
focus: (event: FocusEvent) => any;
|
|
84
|
+
submit: (value: string) => any;
|
|
85
|
+
"update:modelValue": (value: string) => any;
|
|
86
|
+
"speech-start": () => any;
|
|
87
|
+
"speech-interim": (transcript: string) => any;
|
|
88
|
+
"speech-end": (transcript?: string | undefined) => any;
|
|
89
|
+
"speech-error": (error: Error) => any;
|
|
90
|
+
"update:templateData": (value: UserItem[]) => any;
|
|
91
|
+
"suggestion-select": (value: string) => any;
|
|
92
|
+
"escape-press": () => any;
|
|
93
|
+
"reset-template": () => any;
|
|
94
|
+
"files-selected": (files: File[]) => any;
|
|
95
|
+
}, string, PublicProps, Readonly<SenderProps_2> & Readonly<{
|
|
96
|
+
onClear?: (() => any) | undefined;
|
|
97
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
98
|
+
onCancel?: (() => any) | undefined;
|
|
99
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
100
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
101
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
102
|
+
"onSpeech-start"?: (() => any) | undefined;
|
|
103
|
+
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
104
|
+
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
105
|
+
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
106
|
+
"onUpdate:templateData"?: ((value: UserItem[]) => any) | undefined;
|
|
107
|
+
"onSuggestion-select"?: ((value: string) => any) | undefined;
|
|
108
|
+
"onEscape-press"?: (() => any) | undefined;
|
|
109
|
+
"onReset-template"?: (() => any) | undefined;
|
|
110
|
+
"onFiles-selected"?: ((files: File[]) => any) | undefined;
|
|
101
111
|
}>, {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
topOffset: number;
|
|
112
|
+
placeholder: string;
|
|
113
|
+
mode: InputMode;
|
|
114
|
+
submitType: SubmitTrigger;
|
|
106
115
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
107
|
-
|
|
116
|
+
senderRef: ({
|
|
108
117
|
$: ComponentInternalInstance;
|
|
109
118
|
$data: {};
|
|
110
119
|
$props: {
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
120
|
+
readonly modelValue?: string | undefined;
|
|
121
|
+
readonly defaultValue?: string | undefined;
|
|
122
|
+
readonly placeholder?: string | undefined;
|
|
123
|
+
readonly disabled?: boolean | undefined;
|
|
124
|
+
readonly loading?: boolean | undefined;
|
|
125
|
+
readonly autofocus?: boolean | undefined;
|
|
126
|
+
readonly enterkeyhint?: EnterKeyHint | undefined;
|
|
127
|
+
readonly mode?: InputMode | undefined;
|
|
128
|
+
readonly autoSize?: AutoSize | undefined;
|
|
129
|
+
readonly maxLength?: number | undefined;
|
|
130
|
+
readonly showWordLimit?: boolean | undefined;
|
|
131
|
+
readonly clearable?: boolean | undefined;
|
|
132
|
+
readonly extensions?: Extension[] | any[] | undefined;
|
|
133
|
+
readonly size?: "normal" | "small" | undefined;
|
|
134
|
+
readonly stopText?: string | undefined;
|
|
135
|
+
readonly defaultActions?: DefaultActions | undefined;
|
|
136
|
+
readonly submitType?: SubmitTrigger | undefined;
|
|
137
|
+
readonly onClear?: (() => any) | undefined;
|
|
138
|
+
readonly onInput?: ((value: string) => any) | undefined;
|
|
139
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
140
|
+
readonly onCancel?: (() => any) | undefined;
|
|
141
|
+
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
142
|
+
readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
143
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
121
144
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
122
145
|
$attrs: Attrs;
|
|
123
146
|
$refs: {
|
|
@@ -129,25 +152,41 @@ $slots: Readonly<{
|
|
|
129
152
|
$root: ComponentPublicInstance | null;
|
|
130
153
|
$parent: ComponentPublicInstance | null;
|
|
131
154
|
$host: Element | null;
|
|
132
|
-
$emit: (event: string,
|
|
133
|
-
$el:
|
|
134
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
155
|
+
$emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "cancel") => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", textContent: string, structuredData?: StructuredData | undefined) => void) & ((event: "update:modelValue", value: string) => void);
|
|
156
|
+
$el: HTMLDivElement;
|
|
157
|
+
$options: ComponentOptionsBase<Readonly<SenderProps> & Readonly<{
|
|
158
|
+
onClear?: (() => any) | undefined;
|
|
159
|
+
onInput?: ((value: string) => any) | undefined;
|
|
160
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
161
|
+
onCancel?: (() => any) | undefined;
|
|
162
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
163
|
+
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
164
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
165
|
+
}>, {
|
|
166
|
+
submit: () => void;
|
|
167
|
+
clear: () => void;
|
|
168
|
+
cancel: () => void;
|
|
169
|
+
focus: () => void;
|
|
170
|
+
blur: () => void;
|
|
171
|
+
setContent: (content: string) => void;
|
|
172
|
+
getContent: () => string;
|
|
173
|
+
editor: SenderContext["editor"];
|
|
174
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
175
|
+
clear: () => any;
|
|
176
|
+
input: (value: string) => any;
|
|
177
|
+
blur: (event: FocusEvent) => any;
|
|
178
|
+
cancel: () => any;
|
|
179
|
+
focus: (event: FocusEvent) => any;
|
|
180
|
+
submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
|
|
181
|
+
"update:modelValue": (value: string) => any;
|
|
182
|
+
}, string, {
|
|
183
|
+
size: "normal" | "small";
|
|
184
|
+
placeholder: string;
|
|
185
|
+
mode: InputMode;
|
|
186
|
+
enterkeyhint: EnterKeyHint;
|
|
187
|
+
autoSize: AutoSize;
|
|
188
|
+
extensions: Extension[] | any[];
|
|
189
|
+
submitType: SubmitTrigger;
|
|
151
190
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
152
191
|
beforeCreate?: (() => void) | (() => void)[];
|
|
153
192
|
created?: (() => void) | (() => void)[];
|
|
@@ -169,53 +208,300 @@ $forceUpdate: () => void;
|
|
|
169
208
|
$nextTick: nextTick;
|
|
170
209
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
171
210
|
} & Readonly<{
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
211
|
+
size: "normal" | "small";
|
|
212
|
+
placeholder: string;
|
|
213
|
+
mode: InputMode;
|
|
214
|
+
enterkeyhint: EnterKeyHint;
|
|
215
|
+
autoSize: AutoSize;
|
|
216
|
+
extensions: Extension[] | any[];
|
|
217
|
+
submitType: SubmitTrigger;
|
|
218
|
+
}> & Omit<Readonly<SenderProps> & Readonly<{
|
|
219
|
+
onClear?: (() => any) | undefined;
|
|
220
|
+
onInput?: ((value: string) => any) | undefined;
|
|
221
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
222
|
+
onCancel?: (() => any) | undefined;
|
|
223
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
224
|
+
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
225
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
226
|
+
}>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
|
|
227
|
+
submit: () => void;
|
|
228
|
+
clear: () => void;
|
|
229
|
+
cancel: () => void;
|
|
230
|
+
focus: () => void;
|
|
231
|
+
blur: () => void;
|
|
232
|
+
setContent: (content: string) => void;
|
|
233
|
+
getContent: () => string;
|
|
234
|
+
editor: Editor | undefined;
|
|
188
235
|
} & {} & ComponentCustomProperties & {} & {
|
|
189
|
-
$slots:
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
content
|
|
236
|
+
$slots: {
|
|
237
|
+
header?(_: {}): any;
|
|
238
|
+
header?(_: {}): any;
|
|
239
|
+
prefix?(_: {}): any;
|
|
240
|
+
prefix?(_: {}): any;
|
|
241
|
+
content?(_: {
|
|
242
|
+
editor: Editor | undefined;
|
|
243
|
+
}): any;
|
|
244
|
+
content?(_: {
|
|
245
|
+
editor: Ref<Editor | undefined, Editor | undefined>;
|
|
246
|
+
}): any;
|
|
247
|
+
'actions-inline'?(_: {}): any;
|
|
248
|
+
footer?(_: {}): any;
|
|
249
|
+
'footer-right'?(_: {}): any;
|
|
195
250
|
};
|
|
196
251
|
}) | null;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
"
|
|
252
|
+
voiceRef: ({
|
|
253
|
+
$: ComponentInternalInstance;
|
|
254
|
+
$data: {};
|
|
255
|
+
$props: {
|
|
256
|
+
readonly icon?: (VNode | Component) | undefined;
|
|
257
|
+
readonly recordingIcon?: (VNode | Component) | undefined;
|
|
258
|
+
readonly disabled?: boolean | undefined;
|
|
259
|
+
readonly size?: "small" | "normal" | undefined;
|
|
260
|
+
readonly tooltip?: TooltipContent | undefined;
|
|
261
|
+
readonly tooltipPlacement?: TooltipPlacement | undefined;
|
|
262
|
+
readonly speechConfig?: SpeechConfig | undefined;
|
|
263
|
+
readonly autoInsert?: boolean | undefined;
|
|
264
|
+
readonly onButtonClick?: ((isRecording: boolean, preventDefault: () => void) => void | Promise<void>) | undefined;
|
|
265
|
+
readonly "onSpeech-start"?: (() => any) | undefined;
|
|
266
|
+
readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
267
|
+
readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
268
|
+
readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
269
|
+
readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
270
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
271
|
+
$attrs: Attrs;
|
|
272
|
+
$refs: {
|
|
273
|
+
[x: string]: unknown;
|
|
274
|
+
};
|
|
275
|
+
$slots: Readonly<{
|
|
276
|
+
[name: string]: Slot<any> | undefined;
|
|
277
|
+
}>;
|
|
278
|
+
$root: ComponentPublicInstance | null;
|
|
279
|
+
$parent: ComponentPublicInstance | null;
|
|
280
|
+
$host: Element | null;
|
|
281
|
+
$emit: ((event: "speech-start") => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-final", transcript: string) => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-error", error: Error) => void);
|
|
282
|
+
$el: any;
|
|
283
|
+
$options: ComponentOptionsBase<Readonly<VoiceButtonProps> & Readonly<{
|
|
284
|
+
"onSpeech-start"?: (() => any) | undefined;
|
|
285
|
+
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
286
|
+
"onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
287
|
+
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
288
|
+
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
289
|
+
}>, {
|
|
290
|
+
start: () => void;
|
|
291
|
+
stop: () => void;
|
|
292
|
+
speechState: SpeechState;
|
|
293
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
294
|
+
"speech-start": () => any;
|
|
295
|
+
"speech-interim": (transcript: string) => any;
|
|
296
|
+
"speech-final": (transcript: string) => any;
|
|
297
|
+
"speech-end": (transcript?: string | undefined) => any;
|
|
298
|
+
"speech-error": (error: Error) => any;
|
|
299
|
+
}, string, {
|
|
300
|
+
tooltipPlacement: TooltipPlacement;
|
|
301
|
+
autoInsert: boolean;
|
|
302
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
303
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
304
|
+
created?: (() => void) | (() => void)[];
|
|
305
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
306
|
+
mounted?: (() => void) | (() => void)[];
|
|
307
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
308
|
+
updated?: (() => void) | (() => void)[];
|
|
309
|
+
activated?: (() => void) | (() => void)[];
|
|
310
|
+
deactivated?: (() => void) | (() => void)[];
|
|
311
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
312
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
313
|
+
destroyed?: (() => void) | (() => void)[];
|
|
314
|
+
unmounted?: (() => void) | (() => void)[];
|
|
315
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
316
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
317
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
318
|
+
};
|
|
319
|
+
$forceUpdate: () => void;
|
|
320
|
+
$nextTick: nextTick;
|
|
321
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
322
|
+
} & Readonly<{
|
|
323
|
+
tooltipPlacement: TooltipPlacement;
|
|
324
|
+
autoInsert: boolean;
|
|
325
|
+
}> & Omit<Readonly<VoiceButtonProps> & Readonly<{
|
|
326
|
+
"onSpeech-start"?: (() => any) | undefined;
|
|
327
|
+
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
328
|
+
"onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
329
|
+
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
330
|
+
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
331
|
+
}>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
|
|
332
|
+
start: () => void;
|
|
333
|
+
stop: () => void;
|
|
334
|
+
speechState: SpeechState;
|
|
335
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
336
|
+
$slots: {
|
|
337
|
+
icon?(_: {
|
|
338
|
+
isRecording: boolean;
|
|
339
|
+
}): any;
|
|
340
|
+
'recording-overlay'?(_: {
|
|
341
|
+
isRecording: boolean;
|
|
342
|
+
stop: () => void;
|
|
343
|
+
}): any;
|
|
344
|
+
};
|
|
345
|
+
}) | null;
|
|
346
|
+
}, HTMLDivElement>;
|
|
347
|
+
|
|
348
|
+
declare const __VLS_component_11: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
349
|
+
|
|
350
|
+
declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_3, {
|
|
351
|
+
children: ComputedRef<(HTMLElement | SVGElement)[]>;
|
|
352
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
353
|
+
"update:showAll": (value: boolean | undefined) => any;
|
|
354
|
+
} & {
|
|
355
|
+
"click-outside": (event: MouseEvent) => any;
|
|
356
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
357
|
+
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
358
|
+
"onUpdate:showAll"?: ((value: boolean | undefined) => any) | undefined;
|
|
359
|
+
}>, {
|
|
360
|
+
showAllButtonOn: "hover" | "always";
|
|
361
|
+
overflowMode: "expand" | "scroll";
|
|
362
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
363
|
+
containerWrapperRef: HTMLDivElement;
|
|
364
|
+
containerRef: HTMLDivElement;
|
|
365
|
+
staticMaybeItemRefs: unknown[];
|
|
366
|
+
floatingItemsRef: HTMLDivElement;
|
|
367
|
+
floatingMaybeItemRefs: unknown[];
|
|
368
|
+
}, HTMLDivElement>;
|
|
369
|
+
|
|
370
|
+
declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_4, {
|
|
371
|
+
update: () => void;
|
|
372
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
373
|
+
"update:selectedGroup": (value: string) => any;
|
|
374
|
+
} & {
|
|
375
|
+
close: () => any;
|
|
376
|
+
open: () => any;
|
|
377
|
+
"item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
|
|
378
|
+
"click-outside": (event: MouseEvent) => any;
|
|
379
|
+
"group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
|
|
380
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
381
|
+
onClose?: (() => any) | undefined;
|
|
382
|
+
onOpen?: (() => any) | undefined;
|
|
383
|
+
"onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
|
|
384
|
+
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
385
|
+
"onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
|
|
386
|
+
"onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
|
|
387
|
+
}>, {
|
|
388
|
+
title: string;
|
|
389
|
+
trigger: "click" | "manual";
|
|
390
|
+
groupShowMoreTrigger: "click" | "hover";
|
|
391
|
+
topOffset: number;
|
|
392
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
393
|
+
basePopperRef: ({
|
|
394
|
+
$: ComponentInternalInstance;
|
|
395
|
+
$data: {};
|
|
396
|
+
$props: {
|
|
397
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
398
|
+
readonly offset?: number | {
|
|
399
|
+
mainAxis?: number;
|
|
400
|
+
crossAxis?: number;
|
|
401
|
+
} | undefined;
|
|
402
|
+
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
403
|
+
readonly preventOverflow?: boolean | undefined;
|
|
404
|
+
readonly show?: boolean | undefined;
|
|
405
|
+
readonly transitionProps?: TransitionProps | undefined;
|
|
406
|
+
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
407
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
408
|
+
$attrs: Attrs;
|
|
409
|
+
$refs: {
|
|
410
|
+
[x: string]: unknown;
|
|
411
|
+
};
|
|
412
|
+
$slots: Readonly<{
|
|
413
|
+
[name: string]: Slot<any> | undefined;
|
|
414
|
+
}>;
|
|
415
|
+
$root: ComponentPublicInstance | null;
|
|
416
|
+
$parent: ComponentPublicInstance | null;
|
|
417
|
+
$host: Element | null;
|
|
418
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
419
|
+
$el: any;
|
|
420
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
421
|
+
appendTo?: string | HTMLElement;
|
|
422
|
+
offset?: number | {
|
|
423
|
+
mainAxis?: number;
|
|
424
|
+
crossAxis?: number;
|
|
425
|
+
};
|
|
426
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
427
|
+
preventOverflow?: boolean;
|
|
428
|
+
show?: boolean;
|
|
429
|
+
transitionProps?: TransitionProps;
|
|
430
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
431
|
+
}> & Readonly<{}>, {
|
|
432
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
433
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
434
|
+
update: () => void;
|
|
435
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
436
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
437
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
438
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
439
|
+
created?: (() => void) | (() => void)[];
|
|
440
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
441
|
+
mounted?: (() => void) | (() => void)[];
|
|
442
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
443
|
+
updated?: (() => void) | (() => void)[];
|
|
444
|
+
activated?: (() => void) | (() => void)[];
|
|
445
|
+
deactivated?: (() => void) | (() => void)[];
|
|
446
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
447
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
448
|
+
destroyed?: (() => void) | (() => void)[];
|
|
449
|
+
unmounted?: (() => void) | (() => void)[];
|
|
450
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
451
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
452
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
453
|
+
};
|
|
454
|
+
$forceUpdate: () => void;
|
|
455
|
+
$nextTick: nextTick;
|
|
456
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
457
|
+
} & Readonly<{
|
|
458
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
459
|
+
}> & Omit<Readonly<{
|
|
460
|
+
appendTo?: string | HTMLElement;
|
|
461
|
+
offset?: number | {
|
|
462
|
+
mainAxis?: number;
|
|
463
|
+
crossAxis?: number;
|
|
464
|
+
};
|
|
465
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
466
|
+
preventOverflow?: boolean;
|
|
467
|
+
show?: boolean;
|
|
468
|
+
transitionProps?: TransitionProps;
|
|
469
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
470
|
+
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
|
|
471
|
+
triggerRef: HTMLElement | SVGElement | null | undefined;
|
|
472
|
+
popperRef: HTMLDivElement | null;
|
|
473
|
+
update: () => void;
|
|
474
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
475
|
+
$slots: Readonly<{
|
|
476
|
+
trigger?: () => VNode[];
|
|
477
|
+
content?: () => VNode[];
|
|
478
|
+
}> & {
|
|
479
|
+
trigger?: () => VNode[];
|
|
480
|
+
content?: () => VNode[];
|
|
481
|
+
};
|
|
482
|
+
}) | null;
|
|
483
|
+
listRef: HTMLUListElement;
|
|
484
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
485
|
+
show?: TooltipContentProps["show"];
|
|
486
|
+
} & TooltipContentProps> & Readonly<{
|
|
487
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
488
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
489
|
+
"update:show": (value: boolean | undefined) => any;
|
|
490
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
491
|
+
P: {};
|
|
492
|
+
B: {};
|
|
493
|
+
D: {};
|
|
494
|
+
C: {};
|
|
495
|
+
M: {};
|
|
496
|
+
Defaults: {};
|
|
497
|
+
}, Readonly<{
|
|
498
|
+
show?: TooltipContentProps["show"];
|
|
499
|
+
} & TooltipContentProps> & Readonly<{
|
|
500
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
215
501
|
}>, {}, {}, {}, {}, {}> | null;
|
|
216
502
|
}, any>;
|
|
217
503
|
|
|
218
|
-
declare const
|
|
504
|
+
declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
219
505
|
"update:theme": (value: string) => any;
|
|
220
506
|
"update:colorMode": (value: ColorMode) => any;
|
|
221
507
|
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
@@ -226,11 +512,11 @@ targetElement: string;
|
|
|
226
512
|
storageKey: string;
|
|
227
513
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
228
514
|
|
|
229
|
-
declare const
|
|
515
|
+
declare const __VLS_component_15: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
|
|
230
516
|
align: "left" | "center" | "right" | string;
|
|
231
517
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
232
518
|
|
|
233
|
-
declare const
|
|
519
|
+
declare const __VLS_component_16: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
234
520
|
"update:visible": (value: boolean) => any;
|
|
235
521
|
} & {
|
|
236
522
|
refresh: (tab: "installed" | "market") => any;
|
|
@@ -281,13 +567,13 @@ allowPluginAdd: boolean;
|
|
|
281
567
|
marketLoading: boolean;
|
|
282
568
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
283
569
|
|
|
284
|
-
declare const
|
|
570
|
+
declare const __VLS_component_17: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
|
|
285
571
|
disabled: boolean;
|
|
286
572
|
active: boolean;
|
|
287
573
|
tooltipPlacement: TooltipPlacement;
|
|
288
574
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
289
575
|
|
|
290
|
-
declare const
|
|
576
|
+
declare const __VLS_component_18: DefineComponent<VoiceButtonProps, {
|
|
291
577
|
start: () => void;
|
|
292
578
|
stop: () => void;
|
|
293
579
|
speechState: SpeechState;
|
|
@@ -308,23 +594,16 @@ tooltipPlacement: TooltipPlacement;
|
|
|
308
594
|
autoInsert: boolean;
|
|
309
595
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
310
596
|
|
|
597
|
+
declare const __VLS_component_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
598
|
+
|
|
311
599
|
declare const __VLS_component_2: DefineComponent<BubbleListProps, {
|
|
312
|
-
rootEl: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
313
600
|
scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
|
|
314
601
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
315
|
-
"state-change": (payload:
|
|
316
|
-
|
|
317
|
-
value: unknown;
|
|
318
|
-
messageIndex: number;
|
|
319
|
-
contentIndex: number;
|
|
320
|
-
}) => any;
|
|
602
|
+
"state-change": (payload: BubbleStateChangePayload) => any;
|
|
603
|
+
"bubble-event": (payload: BubbleEventPayload) => any;
|
|
321
604
|
}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
|
|
322
|
-
"onState-change"?: ((payload:
|
|
323
|
-
|
|
324
|
-
value: unknown;
|
|
325
|
-
messageIndex: number;
|
|
326
|
-
contentIndex: number;
|
|
327
|
-
}) => any) | undefined;
|
|
605
|
+
"onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
|
|
606
|
+
"onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
|
|
328
607
|
}>, {
|
|
329
608
|
contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
330
609
|
groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
|
|
@@ -349,22 +628,22 @@ onClose?: (() => any) | undefined;
|
|
|
349
628
|
title: string;
|
|
350
629
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
351
630
|
|
|
352
|
-
declare const __VLS_component_5: DefineComponent<
|
|
353
|
-
select: (item:
|
|
631
|
+
declare const __VLS_component_5: DefineComponent<AnchorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
632
|
+
select: (item: AnchorItem) => any;
|
|
354
633
|
"update:searchQuery": (value: string) => any;
|
|
355
634
|
"update:activeId": (value: string | undefined) => any;
|
|
356
635
|
"update:expanded": (value: boolean) => any;
|
|
357
|
-
}, string, PublicProps, Readonly<
|
|
358
|
-
onSelect?: ((item:
|
|
636
|
+
}, string, PublicProps, Readonly<AnchorProps> & Readonly<{
|
|
637
|
+
onSelect?: ((item: AnchorItem) => any) | undefined;
|
|
359
638
|
"onUpdate:searchQuery"?: ((value: string) => any) | undefined;
|
|
360
639
|
"onUpdate:activeId"?: ((value: string | undefined) => any) | undefined;
|
|
361
640
|
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
362
641
|
}>, {
|
|
363
|
-
placement:
|
|
642
|
+
placement: AnchorPlacement;
|
|
364
643
|
tooltipDelay: number;
|
|
365
644
|
emptyText: string;
|
|
366
645
|
activeOffset: number;
|
|
367
|
-
expandTrigger:
|
|
646
|
+
expandTrigger: AnchorExpandTrigger;
|
|
368
647
|
targetFeedbackDuration: number;
|
|
369
648
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
370
649
|
overlayShellRef: ({
|
|
@@ -372,7 +651,7 @@ $: ComponentInternalInstance;
|
|
|
372
651
|
$data: {};
|
|
373
652
|
$props: {
|
|
374
653
|
readonly expanded: boolean;
|
|
375
|
-
readonly placement:
|
|
654
|
+
readonly placement: AnchorPlacement;
|
|
376
655
|
readonly floatingOffset?: number | undefined;
|
|
377
656
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
378
657
|
$attrs: Attrs;
|
|
@@ -391,7 +670,7 @@ $parent: ComponentPublicInstance | null;
|
|
|
391
670
|
$host: Element | null;
|
|
392
671
|
$emit: (event: string, ...args: any[]) => void;
|
|
393
672
|
$el: HTMLDivElement;
|
|
394
|
-
$options: ComponentOptionsBase<Readonly<
|
|
673
|
+
$options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
|
|
395
674
|
hostEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
396
675
|
overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
397
676
|
navEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
@@ -419,7 +698,7 @@ $nextTick: nextTick;
|
|
|
419
698
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
420
699
|
} & Readonly<{
|
|
421
700
|
floatingOffset: number;
|
|
422
|
-
}> & Omit<Readonly<
|
|
701
|
+
}> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
|
|
423
702
|
hostEl: HTMLElement | null;
|
|
424
703
|
overlayEl: HTMLElement | null;
|
|
425
704
|
navEl: HTMLElement | null;
|
|
@@ -539,289 +818,14 @@ content?: () => VNode[];
|
|
|
539
818
|
}) | null;
|
|
540
819
|
}, any>;
|
|
541
820
|
|
|
542
|
-
declare const __VLS_component_8: DefineComponent<
|
|
821
|
+
declare const __VLS_component_8: DefineComponent<LayoutAsideToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutAsideToggleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
822
|
+
|
|
823
|
+
declare const __VLS_component_9: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
543
824
|
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
544
825
|
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
545
826
|
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
546
827
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
547
828
|
|
|
548
|
-
declare const __VLS_component_9: DefineComponent<SenderProps_2, {
|
|
549
|
-
focus: () => void;
|
|
550
|
-
blur: () => void;
|
|
551
|
-
clear: () => void;
|
|
552
|
-
submit: () => void;
|
|
553
|
-
setTemplateData: (templateData: UserTemplateItem[]) => void;
|
|
554
|
-
startSpeech: () => void;
|
|
555
|
-
stopSpeech: () => void;
|
|
556
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
557
|
-
clear: () => any;
|
|
558
|
-
blur: (event: FocusEvent) => any;
|
|
559
|
-
cancel: () => any;
|
|
560
|
-
focus: (event: FocusEvent) => any;
|
|
561
|
-
submit: (value: string) => any;
|
|
562
|
-
"update:modelValue": (value: string) => any;
|
|
563
|
-
"speech-start": () => any;
|
|
564
|
-
"speech-interim": (transcript: string) => any;
|
|
565
|
-
"speech-end": (transcript?: string | undefined) => any;
|
|
566
|
-
"speech-error": (error: Error) => any;
|
|
567
|
-
"update:templateData": (value: UserItem[]) => any;
|
|
568
|
-
"suggestion-select": (value: string) => any;
|
|
569
|
-
"escape-press": () => any;
|
|
570
|
-
"reset-template": () => any;
|
|
571
|
-
"files-selected": (files: File[]) => any;
|
|
572
|
-
}, string, PublicProps, Readonly<SenderProps_2> & Readonly<{
|
|
573
|
-
onClear?: (() => any) | undefined;
|
|
574
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
575
|
-
onCancel?: (() => any) | undefined;
|
|
576
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
577
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
578
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
579
|
-
"onSpeech-start"?: (() => any) | undefined;
|
|
580
|
-
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
581
|
-
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
582
|
-
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
583
|
-
"onUpdate:templateData"?: ((value: UserItem[]) => any) | undefined;
|
|
584
|
-
"onSuggestion-select"?: ((value: string) => any) | undefined;
|
|
585
|
-
"onEscape-press"?: (() => any) | undefined;
|
|
586
|
-
"onReset-template"?: (() => any) | undefined;
|
|
587
|
-
"onFiles-selected"?: ((files: File[]) => any) | undefined;
|
|
588
|
-
}>, {
|
|
589
|
-
placeholder: string;
|
|
590
|
-
mode: InputMode;
|
|
591
|
-
submitType: SubmitTrigger;
|
|
592
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
593
|
-
senderRef: ({
|
|
594
|
-
$: ComponentInternalInstance;
|
|
595
|
-
$data: {};
|
|
596
|
-
$props: {
|
|
597
|
-
readonly modelValue?: string | undefined;
|
|
598
|
-
readonly defaultValue?: string | undefined;
|
|
599
|
-
readonly placeholder?: string | undefined;
|
|
600
|
-
readonly disabled?: boolean | undefined;
|
|
601
|
-
readonly loading?: boolean | undefined;
|
|
602
|
-
readonly autofocus?: boolean | undefined;
|
|
603
|
-
readonly enterkeyhint?: EnterKeyHint | undefined;
|
|
604
|
-
readonly mode?: InputMode | undefined;
|
|
605
|
-
readonly autoSize?: AutoSize | undefined;
|
|
606
|
-
readonly maxLength?: number | undefined;
|
|
607
|
-
readonly showWordLimit?: boolean | undefined;
|
|
608
|
-
readonly clearable?: boolean | undefined;
|
|
609
|
-
readonly extensions?: Extension[] | any[] | undefined;
|
|
610
|
-
readonly size?: "normal" | "small" | undefined;
|
|
611
|
-
readonly stopText?: string | undefined;
|
|
612
|
-
readonly defaultActions?: DefaultActions | undefined;
|
|
613
|
-
readonly submitType?: SubmitTrigger | undefined;
|
|
614
|
-
readonly onClear?: (() => any) | undefined;
|
|
615
|
-
readonly onInput?: ((value: string) => any) | undefined;
|
|
616
|
-
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
617
|
-
readonly onCancel?: (() => any) | undefined;
|
|
618
|
-
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
619
|
-
readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
620
|
-
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
621
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
622
|
-
$attrs: Attrs;
|
|
623
|
-
$refs: {
|
|
624
|
-
[x: string]: unknown;
|
|
625
|
-
};
|
|
626
|
-
$slots: Readonly<{
|
|
627
|
-
[name: string]: Slot<any> | undefined;
|
|
628
|
-
}>;
|
|
629
|
-
$root: ComponentPublicInstance | null;
|
|
630
|
-
$parent: ComponentPublicInstance | null;
|
|
631
|
-
$host: Element | null;
|
|
632
|
-
$emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "cancel") => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", textContent: string, structuredData?: StructuredData | undefined) => void) & ((event: "update:modelValue", value: string) => void);
|
|
633
|
-
$el: HTMLDivElement;
|
|
634
|
-
$options: ComponentOptionsBase<Readonly<SenderProps> & Readonly<{
|
|
635
|
-
onClear?: (() => any) | undefined;
|
|
636
|
-
onInput?: ((value: string) => any) | undefined;
|
|
637
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
638
|
-
onCancel?: (() => any) | undefined;
|
|
639
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
640
|
-
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
641
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
642
|
-
}>, {
|
|
643
|
-
submit: () => void;
|
|
644
|
-
clear: () => void;
|
|
645
|
-
cancel: () => void;
|
|
646
|
-
focus: () => void;
|
|
647
|
-
blur: () => void;
|
|
648
|
-
setContent: (content: string) => void;
|
|
649
|
-
getContent: () => string;
|
|
650
|
-
editor: SenderContext["editor"];
|
|
651
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
652
|
-
clear: () => any;
|
|
653
|
-
input: (value: string) => any;
|
|
654
|
-
blur: (event: FocusEvent) => any;
|
|
655
|
-
cancel: () => any;
|
|
656
|
-
focus: (event: FocusEvent) => any;
|
|
657
|
-
submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
|
|
658
|
-
"update:modelValue": (value: string) => any;
|
|
659
|
-
}, string, {
|
|
660
|
-
size: "normal" | "small";
|
|
661
|
-
placeholder: string;
|
|
662
|
-
mode: InputMode;
|
|
663
|
-
enterkeyhint: EnterKeyHint;
|
|
664
|
-
autoSize: AutoSize;
|
|
665
|
-
extensions: Extension[] | any[];
|
|
666
|
-
submitType: SubmitTrigger;
|
|
667
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
668
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
669
|
-
created?: (() => void) | (() => void)[];
|
|
670
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
671
|
-
mounted?: (() => void) | (() => void)[];
|
|
672
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
673
|
-
updated?: (() => void) | (() => void)[];
|
|
674
|
-
activated?: (() => void) | (() => void)[];
|
|
675
|
-
deactivated?: (() => void) | (() => void)[];
|
|
676
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
677
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
678
|
-
destroyed?: (() => void) | (() => void)[];
|
|
679
|
-
unmounted?: (() => void) | (() => void)[];
|
|
680
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
681
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
682
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
683
|
-
};
|
|
684
|
-
$forceUpdate: () => void;
|
|
685
|
-
$nextTick: nextTick;
|
|
686
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
687
|
-
} & Readonly<{
|
|
688
|
-
size: "normal" | "small";
|
|
689
|
-
placeholder: string;
|
|
690
|
-
mode: InputMode;
|
|
691
|
-
enterkeyhint: EnterKeyHint;
|
|
692
|
-
autoSize: AutoSize;
|
|
693
|
-
extensions: Extension[] | any[];
|
|
694
|
-
submitType: SubmitTrigger;
|
|
695
|
-
}> & Omit<Readonly<SenderProps> & Readonly<{
|
|
696
|
-
onClear?: (() => any) | undefined;
|
|
697
|
-
onInput?: ((value: string) => any) | undefined;
|
|
698
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
699
|
-
onCancel?: (() => any) | undefined;
|
|
700
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
701
|
-
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
702
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
703
|
-
}>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
|
|
704
|
-
submit: () => void;
|
|
705
|
-
clear: () => void;
|
|
706
|
-
cancel: () => void;
|
|
707
|
-
focus: () => void;
|
|
708
|
-
blur: () => void;
|
|
709
|
-
setContent: (content: string) => void;
|
|
710
|
-
getContent: () => string;
|
|
711
|
-
editor: Editor | undefined;
|
|
712
|
-
} & {} & ComponentCustomProperties & {} & {
|
|
713
|
-
$slots: {
|
|
714
|
-
header?(_: {}): any;
|
|
715
|
-
header?(_: {}): any;
|
|
716
|
-
prefix?(_: {}): any;
|
|
717
|
-
prefix?(_: {}): any;
|
|
718
|
-
content?(_: {
|
|
719
|
-
editor: Editor | undefined;
|
|
720
|
-
}): any;
|
|
721
|
-
content?(_: {
|
|
722
|
-
editor: Ref<Editor | undefined, Editor | undefined>;
|
|
723
|
-
}): any;
|
|
724
|
-
'actions-inline'?(_: {}): any;
|
|
725
|
-
footer?(_: {}): any;
|
|
726
|
-
'footer-right'?(_: {}): any;
|
|
727
|
-
};
|
|
728
|
-
}) | null;
|
|
729
|
-
voiceRef: ({
|
|
730
|
-
$: ComponentInternalInstance;
|
|
731
|
-
$data: {};
|
|
732
|
-
$props: {
|
|
733
|
-
readonly icon?: (VNode | Component) | undefined;
|
|
734
|
-
readonly recordingIcon?: (VNode | Component) | undefined;
|
|
735
|
-
readonly disabled?: boolean | undefined;
|
|
736
|
-
readonly size?: "small" | "normal" | undefined;
|
|
737
|
-
readonly tooltip?: TooltipContent | undefined;
|
|
738
|
-
readonly tooltipPlacement?: TooltipPlacement | undefined;
|
|
739
|
-
readonly speechConfig?: SpeechConfig | undefined;
|
|
740
|
-
readonly autoInsert?: boolean | undefined;
|
|
741
|
-
readonly onButtonClick?: ((isRecording: boolean, preventDefault: () => void) => void | Promise<void>) | undefined;
|
|
742
|
-
readonly "onSpeech-start"?: (() => any) | undefined;
|
|
743
|
-
readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
744
|
-
readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
745
|
-
readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
746
|
-
readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
747
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
748
|
-
$attrs: Attrs;
|
|
749
|
-
$refs: {
|
|
750
|
-
[x: string]: unknown;
|
|
751
|
-
};
|
|
752
|
-
$slots: Readonly<{
|
|
753
|
-
[name: string]: Slot<any> | undefined;
|
|
754
|
-
}>;
|
|
755
|
-
$root: ComponentPublicInstance | null;
|
|
756
|
-
$parent: ComponentPublicInstance | null;
|
|
757
|
-
$host: Element | null;
|
|
758
|
-
$emit: ((event: "speech-start") => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-final", transcript: string) => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-error", error: Error) => void);
|
|
759
|
-
$el: any;
|
|
760
|
-
$options: ComponentOptionsBase<Readonly<VoiceButtonProps> & Readonly<{
|
|
761
|
-
"onSpeech-start"?: (() => any) | undefined;
|
|
762
|
-
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
763
|
-
"onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
764
|
-
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
765
|
-
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
766
|
-
}>, {
|
|
767
|
-
start: () => void;
|
|
768
|
-
stop: () => void;
|
|
769
|
-
speechState: SpeechState;
|
|
770
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
771
|
-
"speech-start": () => any;
|
|
772
|
-
"speech-interim": (transcript: string) => any;
|
|
773
|
-
"speech-final": (transcript: string) => any;
|
|
774
|
-
"speech-end": (transcript?: string | undefined) => any;
|
|
775
|
-
"speech-error": (error: Error) => any;
|
|
776
|
-
}, string, {
|
|
777
|
-
tooltipPlacement: TooltipPlacement;
|
|
778
|
-
autoInsert: boolean;
|
|
779
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
780
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
781
|
-
created?: (() => void) | (() => void)[];
|
|
782
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
783
|
-
mounted?: (() => void) | (() => void)[];
|
|
784
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
785
|
-
updated?: (() => void) | (() => void)[];
|
|
786
|
-
activated?: (() => void) | (() => void)[];
|
|
787
|
-
deactivated?: (() => void) | (() => void)[];
|
|
788
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
789
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
790
|
-
destroyed?: (() => void) | (() => void)[];
|
|
791
|
-
unmounted?: (() => void) | (() => void)[];
|
|
792
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
793
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
794
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
795
|
-
};
|
|
796
|
-
$forceUpdate: () => void;
|
|
797
|
-
$nextTick: nextTick;
|
|
798
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
799
|
-
} & Readonly<{
|
|
800
|
-
tooltipPlacement: TooltipPlacement;
|
|
801
|
-
autoInsert: boolean;
|
|
802
|
-
}> & Omit<Readonly<VoiceButtonProps> & Readonly<{
|
|
803
|
-
"onSpeech-start"?: (() => any) | undefined;
|
|
804
|
-
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
805
|
-
"onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
806
|
-
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
807
|
-
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
808
|
-
}>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
|
|
809
|
-
start: () => void;
|
|
810
|
-
stop: () => void;
|
|
811
|
-
speechState: SpeechState;
|
|
812
|
-
} & {} & ComponentCustomProperties & {} & {
|
|
813
|
-
$slots: {
|
|
814
|
-
icon?(_: {
|
|
815
|
-
isRecording: boolean;
|
|
816
|
-
}): any;
|
|
817
|
-
'recording-overlay'?(_: {
|
|
818
|
-
isRecording: boolean;
|
|
819
|
-
stop: () => void;
|
|
820
|
-
}): any;
|
|
821
|
-
};
|
|
822
|
-
}) | null;
|
|
823
|
-
}, HTMLDivElement>;
|
|
824
|
-
|
|
825
829
|
declare type __VLS_PrettifyLocal<T> = {
|
|
826
830
|
[K in keyof T]: T[K];
|
|
827
831
|
} & {};
|
|
@@ -873,14 +877,262 @@ declare function __VLS_template(): {
|
|
|
873
877
|
rootEl: HTMLDivElement;
|
|
874
878
|
};
|
|
875
879
|
|
|
876
|
-
declare function __VLS_template_10(): {
|
|
880
|
+
declare function __VLS_template_10(): {
|
|
881
|
+
attrs: Partial<{}>;
|
|
882
|
+
slots: {
|
|
883
|
+
header?(_: {}): any;
|
|
884
|
+
prefix?(_: {}): any;
|
|
885
|
+
content?(_: {
|
|
886
|
+
editor: Ref<Editor | undefined, Editor | undefined>;
|
|
887
|
+
}): any;
|
|
888
|
+
actions?(_: {}): any;
|
|
889
|
+
'footer-left'?(_: {}): any;
|
|
890
|
+
footer?(_: {}): any;
|
|
891
|
+
'footer-right'?(_: {}): any;
|
|
892
|
+
};
|
|
893
|
+
refs: {
|
|
894
|
+
senderRef: ({
|
|
895
|
+
$: ComponentInternalInstance;
|
|
896
|
+
$data: {};
|
|
897
|
+
$props: {
|
|
898
|
+
readonly modelValue?: string | undefined;
|
|
899
|
+
readonly defaultValue?: string | undefined;
|
|
900
|
+
readonly placeholder?: string | undefined;
|
|
901
|
+
readonly disabled?: boolean | undefined;
|
|
902
|
+
readonly loading?: boolean | undefined;
|
|
903
|
+
readonly autofocus?: boolean | undefined;
|
|
904
|
+
readonly enterkeyhint?: EnterKeyHint | undefined;
|
|
905
|
+
readonly mode?: InputMode | undefined;
|
|
906
|
+
readonly autoSize?: AutoSize | undefined;
|
|
907
|
+
readonly maxLength?: number | undefined;
|
|
908
|
+
readonly showWordLimit?: boolean | undefined;
|
|
909
|
+
readonly clearable?: boolean | undefined;
|
|
910
|
+
readonly extensions?: Extension[] | any[] | undefined;
|
|
911
|
+
readonly size?: "normal" | "small" | undefined;
|
|
912
|
+
readonly stopText?: string | undefined;
|
|
913
|
+
readonly defaultActions?: DefaultActions | undefined;
|
|
914
|
+
readonly submitType?: SubmitTrigger | undefined;
|
|
915
|
+
readonly onClear?: (() => any) | undefined;
|
|
916
|
+
readonly onInput?: ((value: string) => any) | undefined;
|
|
917
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
918
|
+
readonly onCancel?: (() => any) | undefined;
|
|
919
|
+
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
920
|
+
readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
921
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
922
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
923
|
+
$attrs: Attrs;
|
|
924
|
+
$refs: {
|
|
925
|
+
[x: string]: unknown;
|
|
926
|
+
};
|
|
927
|
+
$slots: Readonly<{
|
|
928
|
+
[name: string]: Slot<any> | undefined;
|
|
929
|
+
}>;
|
|
930
|
+
$root: ComponentPublicInstance | null;
|
|
931
|
+
$parent: ComponentPublicInstance | null;
|
|
932
|
+
$host: Element | null;
|
|
933
|
+
$emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "cancel") => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", textContent: string, structuredData?: StructuredData | undefined) => void) & ((event: "update:modelValue", value: string) => void);
|
|
934
|
+
$el: HTMLDivElement;
|
|
935
|
+
$options: ComponentOptionsBase<Readonly<SenderProps> & Readonly<{
|
|
936
|
+
onClear?: (() => any) | undefined;
|
|
937
|
+
onInput?: ((value: string) => any) | undefined;
|
|
938
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
939
|
+
onCancel?: (() => any) | undefined;
|
|
940
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
941
|
+
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
942
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
943
|
+
}>, {
|
|
944
|
+
submit: () => void;
|
|
945
|
+
clear: () => void;
|
|
946
|
+
cancel: () => void;
|
|
947
|
+
focus: () => void;
|
|
948
|
+
blur: () => void;
|
|
949
|
+
setContent: (content: string) => void;
|
|
950
|
+
getContent: () => string;
|
|
951
|
+
editor: SenderContext["editor"];
|
|
952
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
953
|
+
clear: () => any;
|
|
954
|
+
input: (value: string) => any;
|
|
955
|
+
blur: (event: FocusEvent) => any;
|
|
956
|
+
cancel: () => any;
|
|
957
|
+
focus: (event: FocusEvent) => any;
|
|
958
|
+
submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
|
|
959
|
+
"update:modelValue": (value: string) => any;
|
|
960
|
+
}, string, {
|
|
961
|
+
size: "normal" | "small";
|
|
962
|
+
placeholder: string;
|
|
963
|
+
mode: InputMode;
|
|
964
|
+
enterkeyhint: EnterKeyHint;
|
|
965
|
+
autoSize: AutoSize;
|
|
966
|
+
extensions: Extension[] | any[];
|
|
967
|
+
submitType: SubmitTrigger;
|
|
968
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
969
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
970
|
+
created?: (() => void) | (() => void)[];
|
|
971
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
972
|
+
mounted?: (() => void) | (() => void)[];
|
|
973
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
974
|
+
updated?: (() => void) | (() => void)[];
|
|
975
|
+
activated?: (() => void) | (() => void)[];
|
|
976
|
+
deactivated?: (() => void) | (() => void)[];
|
|
977
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
978
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
979
|
+
destroyed?: (() => void) | (() => void)[];
|
|
980
|
+
unmounted?: (() => void) | (() => void)[];
|
|
981
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
982
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
983
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
984
|
+
};
|
|
985
|
+
$forceUpdate: () => void;
|
|
986
|
+
$nextTick: nextTick;
|
|
987
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
988
|
+
} & Readonly<{
|
|
989
|
+
size: "normal" | "small";
|
|
990
|
+
placeholder: string;
|
|
991
|
+
mode: InputMode;
|
|
992
|
+
enterkeyhint: EnterKeyHint;
|
|
993
|
+
autoSize: AutoSize;
|
|
994
|
+
extensions: Extension[] | any[];
|
|
995
|
+
submitType: SubmitTrigger;
|
|
996
|
+
}> & Omit<Readonly<SenderProps> & Readonly<{
|
|
997
|
+
onClear?: (() => any) | undefined;
|
|
998
|
+
onInput?: ((value: string) => any) | undefined;
|
|
999
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1000
|
+
onCancel?: (() => any) | undefined;
|
|
1001
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1002
|
+
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
1003
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1004
|
+
}>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
|
|
1005
|
+
submit: () => void;
|
|
1006
|
+
clear: () => void;
|
|
1007
|
+
cancel: () => void;
|
|
1008
|
+
focus: () => void;
|
|
1009
|
+
blur: () => void;
|
|
1010
|
+
setContent: (content: string) => void;
|
|
1011
|
+
getContent: () => string;
|
|
1012
|
+
editor: Editor | undefined;
|
|
1013
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1014
|
+
$slots: {
|
|
1015
|
+
header?(_: {}): any;
|
|
1016
|
+
header?(_: {}): any;
|
|
1017
|
+
prefix?(_: {}): any;
|
|
1018
|
+
prefix?(_: {}): any;
|
|
1019
|
+
content?(_: {
|
|
1020
|
+
editor: Editor | undefined;
|
|
1021
|
+
}): any;
|
|
1022
|
+
content?(_: {
|
|
1023
|
+
editor: Ref<Editor | undefined, Editor | undefined>;
|
|
1024
|
+
}): any;
|
|
1025
|
+
'actions-inline'?(_: {}): any;
|
|
1026
|
+
footer?(_: {}): any;
|
|
1027
|
+
'footer-right'?(_: {}): any;
|
|
1028
|
+
};
|
|
1029
|
+
}) | null;
|
|
1030
|
+
voiceRef: ({
|
|
1031
|
+
$: ComponentInternalInstance;
|
|
1032
|
+
$data: {};
|
|
1033
|
+
$props: {
|
|
1034
|
+
readonly icon?: (VNode | Component) | undefined;
|
|
1035
|
+
readonly recordingIcon?: (VNode | Component) | undefined;
|
|
1036
|
+
readonly disabled?: boolean | undefined;
|
|
1037
|
+
readonly size?: "small" | "normal" | undefined;
|
|
1038
|
+
readonly tooltip?: TooltipContent | undefined;
|
|
1039
|
+
readonly tooltipPlacement?: TooltipPlacement | undefined;
|
|
1040
|
+
readonly speechConfig?: SpeechConfig | undefined;
|
|
1041
|
+
readonly autoInsert?: boolean | undefined;
|
|
1042
|
+
readonly onButtonClick?: ((isRecording: boolean, preventDefault: () => void) => void | Promise<void>) | undefined;
|
|
1043
|
+
readonly "onSpeech-start"?: (() => any) | undefined;
|
|
1044
|
+
readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
1045
|
+
readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
1046
|
+
readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
1047
|
+
readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
1048
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1049
|
+
$attrs: Attrs;
|
|
1050
|
+
$refs: {
|
|
1051
|
+
[x: string]: unknown;
|
|
1052
|
+
};
|
|
1053
|
+
$slots: Readonly<{
|
|
1054
|
+
[name: string]: Slot<any> | undefined;
|
|
1055
|
+
}>;
|
|
1056
|
+
$root: ComponentPublicInstance | null;
|
|
1057
|
+
$parent: ComponentPublicInstance | null;
|
|
1058
|
+
$host: Element | null;
|
|
1059
|
+
$emit: ((event: "speech-start") => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-final", transcript: string) => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-error", error: Error) => void);
|
|
1060
|
+
$el: any;
|
|
1061
|
+
$options: ComponentOptionsBase<Readonly<VoiceButtonProps> & Readonly<{
|
|
1062
|
+
"onSpeech-start"?: (() => any) | undefined;
|
|
1063
|
+
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
1064
|
+
"onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
1065
|
+
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
1066
|
+
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
1067
|
+
}>, {
|
|
1068
|
+
start: () => void;
|
|
1069
|
+
stop: () => void;
|
|
1070
|
+
speechState: SpeechState;
|
|
1071
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1072
|
+
"speech-start": () => any;
|
|
1073
|
+
"speech-interim": (transcript: string) => any;
|
|
1074
|
+
"speech-final": (transcript: string) => any;
|
|
1075
|
+
"speech-end": (transcript?: string | undefined) => any;
|
|
1076
|
+
"speech-error": (error: Error) => any;
|
|
1077
|
+
}, string, {
|
|
1078
|
+
tooltipPlacement: TooltipPlacement;
|
|
1079
|
+
autoInsert: boolean;
|
|
1080
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1081
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1082
|
+
created?: (() => void) | (() => void)[];
|
|
1083
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1084
|
+
mounted?: (() => void) | (() => void)[];
|
|
1085
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1086
|
+
updated?: (() => void) | (() => void)[];
|
|
1087
|
+
activated?: (() => void) | (() => void)[];
|
|
1088
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1089
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1090
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1091
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1092
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1093
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1094
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1095
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1096
|
+
};
|
|
1097
|
+
$forceUpdate: () => void;
|
|
1098
|
+
$nextTick: nextTick;
|
|
1099
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1100
|
+
} & Readonly<{
|
|
1101
|
+
tooltipPlacement: TooltipPlacement;
|
|
1102
|
+
autoInsert: boolean;
|
|
1103
|
+
}> & Omit<Readonly<VoiceButtonProps> & Readonly<{
|
|
1104
|
+
"onSpeech-start"?: (() => any) | undefined;
|
|
1105
|
+
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
1106
|
+
"onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
1107
|
+
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
1108
|
+
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
1109
|
+
}>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
|
|
1110
|
+
start: () => void;
|
|
1111
|
+
stop: () => void;
|
|
1112
|
+
speechState: SpeechState;
|
|
1113
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1114
|
+
$slots: {
|
|
1115
|
+
icon?(_: {
|
|
1116
|
+
isRecording: boolean;
|
|
1117
|
+
}): any;
|
|
1118
|
+
'recording-overlay'?(_: {
|
|
1119
|
+
isRecording: boolean;
|
|
1120
|
+
stop: () => void;
|
|
1121
|
+
}): any;
|
|
1122
|
+
};
|
|
1123
|
+
}) | null;
|
|
1124
|
+
};
|
|
1125
|
+
rootEl: HTMLDivElement;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
declare function __VLS_template_11(): {
|
|
877
1129
|
attrs: Partial<{}>;
|
|
878
1130
|
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
879
1131
|
refs: {};
|
|
880
1132
|
rootEl: HTMLButtonElement;
|
|
881
1133
|
};
|
|
882
1134
|
|
|
883
|
-
declare function
|
|
1135
|
+
declare function __VLS_template_12(): {
|
|
884
1136
|
attrs: Partial<{}>;
|
|
885
1137
|
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
886
1138
|
refs: {
|
|
@@ -893,7 +1145,7 @@ declare function __VLS_template_11(): {
|
|
|
893
1145
|
rootEl: HTMLDivElement;
|
|
894
1146
|
};
|
|
895
1147
|
|
|
896
|
-
declare function
|
|
1148
|
+
declare function __VLS_template_13(): {
|
|
897
1149
|
attrs: Partial<{}>;
|
|
898
1150
|
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
899
1151
|
refs: {
|
|
@@ -1010,7 +1262,7 @@ declare function __VLS_template_12(): {
|
|
|
1010
1262
|
rootEl: any;
|
|
1011
1263
|
};
|
|
1012
1264
|
|
|
1013
|
-
declare function
|
|
1265
|
+
declare function __VLS_template_14(): {
|
|
1014
1266
|
attrs: Partial<{}>;
|
|
1015
1267
|
slots: {
|
|
1016
1268
|
default?(_: {}): any;
|
|
@@ -1019,306 +1271,100 @@ declare function __VLS_template_13(): {
|
|
|
1019
1271
|
rootEl: any;
|
|
1020
1272
|
};
|
|
1021
1273
|
|
|
1022
|
-
declare function
|
|
1274
|
+
declare function __VLS_template_15(): {
|
|
1023
1275
|
attrs: Partial<{}>;
|
|
1024
1276
|
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
1025
1277
|
refs: {};
|
|
1026
1278
|
rootEl: HTMLDivElement;
|
|
1027
1279
|
};
|
|
1028
1280
|
|
|
1029
|
-
declare function __VLS_template_15(): {
|
|
1030
|
-
attrs: Partial<{}>;
|
|
1031
|
-
slots: {
|
|
1032
|
-
'header-actions'?(_: {}): any;
|
|
1033
|
-
};
|
|
1034
|
-
refs: {};
|
|
1035
|
-
rootEl: any;
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
1281
|
declare function __VLS_template_16(): {
|
|
1039
1282
|
attrs: Partial<{}>;
|
|
1040
1283
|
slots: {
|
|
1041
|
-
|
|
1042
|
-
icon?(_: {}): any;
|
|
1043
|
-
};
|
|
1044
|
-
refs: {};
|
|
1045
|
-
rootEl: any;
|
|
1046
|
-
};
|
|
1047
|
-
|
|
1048
|
-
declare function __VLS_template_17(): {
|
|
1049
|
-
attrs: Partial<{}>;
|
|
1050
|
-
slots: {
|
|
1051
|
-
icon?(_: {
|
|
1052
|
-
isRecording: boolean;
|
|
1053
|
-
}): any;
|
|
1054
|
-
'recording-overlay'?(_: {
|
|
1055
|
-
isRecording: boolean;
|
|
1056
|
-
stop: () => void;
|
|
1057
|
-
}): any;
|
|
1058
|
-
};
|
|
1059
|
-
refs: {};
|
|
1060
|
-
rootEl: any;
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
declare function __VLS_template_2(): {
|
|
1064
|
-
attrs: Partial<{}>;
|
|
1065
|
-
slots: Readonly<BubbleListSlots> & BubbleListSlots;
|
|
1066
|
-
refs: {
|
|
1067
|
-
listRef: HTMLDivElement;
|
|
1068
|
-
};
|
|
1069
|
-
rootEl: HTMLDivElement;
|
|
1070
|
-
};
|
|
1071
|
-
|
|
1072
|
-
declare function __VLS_template_3(): {
|
|
1073
|
-
attrs: Partial<{}>;
|
|
1074
|
-
slots: {
|
|
1075
|
-
default?(_: {}): any;
|
|
1076
|
-
};
|
|
1077
|
-
refs: {};
|
|
1078
|
-
rootEl: any;
|
|
1079
|
-
};
|
|
1080
|
-
|
|
1081
|
-
declare function __VLS_template_4(): {
|
|
1082
|
-
attrs: Partial<{}>;
|
|
1083
|
-
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
1084
|
-
refs: {};
|
|
1085
|
-
rootEl: HTMLDivElement;
|
|
1086
|
-
};
|
|
1087
|
-
|
|
1088
|
-
declare function __VLS_template_5(): {
|
|
1089
|
-
attrs: Partial<{}>;
|
|
1090
|
-
slots: Readonly<ContentNavSlots> & ContentNavSlots;
|
|
1091
|
-
refs: {
|
|
1092
|
-
overlayShellRef: ({
|
|
1093
|
-
$: ComponentInternalInstance;
|
|
1094
|
-
$data: {};
|
|
1095
|
-
$props: {
|
|
1096
|
-
readonly expanded: boolean;
|
|
1097
|
-
readonly placement: ContentNavPlacement;
|
|
1098
|
-
readonly floatingOffset?: number | undefined;
|
|
1099
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1100
|
-
$attrs: Attrs;
|
|
1101
|
-
$refs: {
|
|
1102
|
-
[x: string]: unknown;
|
|
1103
|
-
} & {
|
|
1104
|
-
hostEl: HTMLDivElement;
|
|
1105
|
-
overlayEl: HTMLDivElement;
|
|
1106
|
-
navEl: HTMLElement;
|
|
1107
|
-
};
|
|
1108
|
-
$slots: Readonly<{
|
|
1109
|
-
[name: string]: Slot<any> | undefined;
|
|
1110
|
-
}>;
|
|
1111
|
-
$root: ComponentPublicInstance | null;
|
|
1112
|
-
$parent: ComponentPublicInstance | null;
|
|
1113
|
-
$host: Element | null;
|
|
1114
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
1115
|
-
$el: HTMLDivElement;
|
|
1116
|
-
$options: ComponentOptionsBase<Readonly<ContentNavOverlayProps> & Readonly<{}>, {
|
|
1117
|
-
hostEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1118
|
-
overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1119
|
-
navEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1120
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1121
|
-
floatingOffset: number;
|
|
1122
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1123
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1124
|
-
created?: (() => void) | (() => void)[];
|
|
1125
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1126
|
-
mounted?: (() => void) | (() => void)[];
|
|
1127
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1128
|
-
updated?: (() => void) | (() => void)[];
|
|
1129
|
-
activated?: (() => void) | (() => void)[];
|
|
1130
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1131
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1132
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1133
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1134
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1135
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1136
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1137
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1138
|
-
};
|
|
1139
|
-
$forceUpdate: () => void;
|
|
1140
|
-
$nextTick: nextTick;
|
|
1141
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1142
|
-
} & Readonly<{
|
|
1143
|
-
floatingOffset: number;
|
|
1144
|
-
}> & Omit<Readonly<ContentNavOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
|
|
1145
|
-
hostEl: HTMLElement | null;
|
|
1146
|
-
overlayEl: HTMLElement | null;
|
|
1147
|
-
navEl: HTMLElement | null;
|
|
1148
|
-
} & {} & ComponentCustomProperties & {} & {
|
|
1149
|
-
$slots: {
|
|
1150
|
-
search?(_: {}): any;
|
|
1151
|
-
default?(_: {}): any;
|
|
1152
|
-
};
|
|
1153
|
-
}) | null;
|
|
1154
|
-
};
|
|
1155
|
-
rootEl: any;
|
|
1156
|
-
};
|
|
1157
|
-
|
|
1158
|
-
declare function __VLS_template_6(): {
|
|
1159
|
-
attrs: Partial<{}>;
|
|
1160
|
-
slots: {
|
|
1161
|
-
overlay?(_: {
|
|
1162
|
-
isDragging: true;
|
|
1163
|
-
}): any;
|
|
1284
|
+
'header-actions'?(_: {}): any;
|
|
1164
1285
|
};
|
|
1165
1286
|
refs: {};
|
|
1166
1287
|
rootEl: any;
|
|
1167
1288
|
};
|
|
1168
|
-
|
|
1169
|
-
declare function
|
|
1170
|
-
attrs: Partial<{}>;
|
|
1171
|
-
slots: {
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
refs: {
|
|
1175
|
-
basePopperRef: ({
|
|
1176
|
-
$: ComponentInternalInstance;
|
|
1177
|
-
$data: {};
|
|
1178
|
-
$props: {
|
|
1179
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1180
|
-
readonly offset?: number | {
|
|
1181
|
-
mainAxis?: number;
|
|
1182
|
-
crossAxis?: number;
|
|
1183
|
-
} | undefined;
|
|
1184
|
-
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
1185
|
-
readonly preventOverflow?: boolean | undefined;
|
|
1186
|
-
readonly show?: boolean | undefined;
|
|
1187
|
-
readonly transitionProps?: TransitionProps | undefined;
|
|
1188
|
-
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
1189
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1190
|
-
$attrs: Attrs;
|
|
1191
|
-
$refs: {
|
|
1192
|
-
[x: string]: unknown;
|
|
1193
|
-
};
|
|
1194
|
-
$slots: Readonly<{
|
|
1195
|
-
[name: string]: Slot<any> | undefined;
|
|
1196
|
-
}>;
|
|
1197
|
-
$root: ComponentPublicInstance | null;
|
|
1198
|
-
$parent: ComponentPublicInstance | null;
|
|
1199
|
-
$host: Element | null;
|
|
1200
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
1201
|
-
$el: any;
|
|
1202
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
1203
|
-
appendTo?: string | HTMLElement;
|
|
1204
|
-
offset?: number | {
|
|
1205
|
-
mainAxis?: number;
|
|
1206
|
-
crossAxis?: number;
|
|
1207
|
-
};
|
|
1208
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1209
|
-
preventOverflow?: boolean;
|
|
1210
|
-
show?: boolean;
|
|
1211
|
-
transitionProps?: TransitionProps;
|
|
1212
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1213
|
-
}> & Readonly<{}>, {
|
|
1214
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
1215
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
1216
|
-
update: () => void;
|
|
1217
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1218
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1219
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1220
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1221
|
-
created?: (() => void) | (() => void)[];
|
|
1222
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1223
|
-
mounted?: (() => void) | (() => void)[];
|
|
1224
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1225
|
-
updated?: (() => void) | (() => void)[];
|
|
1226
|
-
activated?: (() => void) | (() => void)[];
|
|
1227
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1228
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1229
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1230
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1231
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1232
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1233
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1234
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1235
|
-
};
|
|
1236
|
-
$forceUpdate: () => void;
|
|
1237
|
-
$nextTick: nextTick;
|
|
1238
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1239
|
-
} & Readonly<{
|
|
1240
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1241
|
-
}> & Omit<Readonly<{
|
|
1242
|
-
appendTo?: string | HTMLElement;
|
|
1243
|
-
offset?: number | {
|
|
1244
|
-
mainAxis?: number;
|
|
1245
|
-
crossAxis?: number;
|
|
1246
|
-
};
|
|
1247
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1248
|
-
preventOverflow?: boolean;
|
|
1249
|
-
show?: boolean;
|
|
1250
|
-
transitionProps?: TransitionProps;
|
|
1251
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1252
|
-
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
|
|
1253
|
-
triggerRef: HTMLElement | SVGElement | null | undefined;
|
|
1254
|
-
popperRef: HTMLDivElement | null;
|
|
1255
|
-
update: () => void;
|
|
1256
|
-
} & {} & ComponentCustomProperties & {} & {
|
|
1257
|
-
$slots: Readonly<{
|
|
1258
|
-
trigger?: () => VNode[];
|
|
1259
|
-
content?: () => VNode[];
|
|
1260
|
-
}> & {
|
|
1261
|
-
trigger?: () => VNode[];
|
|
1262
|
-
content?: () => VNode[];
|
|
1263
|
-
};
|
|
1264
|
-
}) | null;
|
|
1289
|
+
|
|
1290
|
+
declare function __VLS_template_17(): {
|
|
1291
|
+
attrs: Partial<{}>;
|
|
1292
|
+
slots: {
|
|
1293
|
+
icon?(_: {}): any;
|
|
1294
|
+
icon?(_: {}): any;
|
|
1265
1295
|
};
|
|
1296
|
+
refs: {};
|
|
1266
1297
|
rootEl: any;
|
|
1267
1298
|
};
|
|
1268
1299
|
|
|
1269
|
-
declare function
|
|
1300
|
+
declare function __VLS_template_18(): {
|
|
1270
1301
|
attrs: Partial<{}>;
|
|
1271
|
-
slots:
|
|
1302
|
+
slots: {
|
|
1303
|
+
icon?(_: {
|
|
1304
|
+
isRecording: boolean;
|
|
1305
|
+
}): any;
|
|
1306
|
+
'recording-overlay'?(_: {
|
|
1307
|
+
isRecording: boolean;
|
|
1308
|
+
stop: () => void;
|
|
1309
|
+
}): any;
|
|
1310
|
+
};
|
|
1311
|
+
refs: {};
|
|
1312
|
+
rootEl: any;
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
declare function __VLS_template_19(): {
|
|
1316
|
+
attrs: Partial<{}>;
|
|
1317
|
+
slots: {
|
|
1318
|
+
prepend?(_: {}): any;
|
|
1319
|
+
};
|
|
1272
1320
|
refs: {};
|
|
1321
|
+
rootEl: any;
|
|
1322
|
+
};
|
|
1323
|
+
|
|
1324
|
+
declare function __VLS_template_2(): {
|
|
1325
|
+
attrs: Partial<{}>;
|
|
1326
|
+
slots: Readonly<BubbleListSlots> & BubbleListSlots;
|
|
1327
|
+
refs: {
|
|
1328
|
+
listRef: HTMLDivElement;
|
|
1329
|
+
};
|
|
1273
1330
|
rootEl: HTMLDivElement;
|
|
1274
1331
|
};
|
|
1275
1332
|
|
|
1276
|
-
declare function
|
|
1333
|
+
declare function __VLS_template_3(): {
|
|
1277
1334
|
attrs: Partial<{}>;
|
|
1278
1335
|
slots: {
|
|
1279
|
-
|
|
1280
|
-
prefix?(_: {}): any;
|
|
1281
|
-
content?(_: {
|
|
1282
|
-
editor: Ref<Editor | undefined, Editor | undefined>;
|
|
1283
|
-
}): any;
|
|
1284
|
-
actions?(_: {}): any;
|
|
1285
|
-
'footer-left'?(_: {}): any;
|
|
1286
|
-
footer?(_: {}): any;
|
|
1287
|
-
'footer-right'?(_: {}): any;
|
|
1336
|
+
default?(_: {}): any;
|
|
1288
1337
|
};
|
|
1338
|
+
refs: {};
|
|
1339
|
+
rootEl: any;
|
|
1340
|
+
};
|
|
1341
|
+
|
|
1342
|
+
declare function __VLS_template_4(): {
|
|
1343
|
+
attrs: Partial<{}>;
|
|
1344
|
+
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
1345
|
+
refs: {};
|
|
1346
|
+
rootEl: HTMLDivElement;
|
|
1347
|
+
};
|
|
1348
|
+
|
|
1349
|
+
declare function __VLS_template_5(): {
|
|
1350
|
+
attrs: Partial<{}>;
|
|
1351
|
+
slots: Readonly<AnchorSlots> & AnchorSlots;
|
|
1289
1352
|
refs: {
|
|
1290
|
-
|
|
1353
|
+
overlayShellRef: ({
|
|
1291
1354
|
$: ComponentInternalInstance;
|
|
1292
1355
|
$data: {};
|
|
1293
1356
|
$props: {
|
|
1294
|
-
readonly
|
|
1295
|
-
readonly
|
|
1296
|
-
readonly
|
|
1297
|
-
readonly disabled?: boolean | undefined;
|
|
1298
|
-
readonly loading?: boolean | undefined;
|
|
1299
|
-
readonly autofocus?: boolean | undefined;
|
|
1300
|
-
readonly enterkeyhint?: EnterKeyHint | undefined;
|
|
1301
|
-
readonly mode?: InputMode | undefined;
|
|
1302
|
-
readonly autoSize?: AutoSize | undefined;
|
|
1303
|
-
readonly maxLength?: number | undefined;
|
|
1304
|
-
readonly showWordLimit?: boolean | undefined;
|
|
1305
|
-
readonly clearable?: boolean | undefined;
|
|
1306
|
-
readonly extensions?: Extension[] | any[] | undefined;
|
|
1307
|
-
readonly size?: "normal" | "small" | undefined;
|
|
1308
|
-
readonly stopText?: string | undefined;
|
|
1309
|
-
readonly defaultActions?: DefaultActions | undefined;
|
|
1310
|
-
readonly submitType?: SubmitTrigger | undefined;
|
|
1311
|
-
readonly onClear?: (() => any) | undefined;
|
|
1312
|
-
readonly onInput?: ((value: string) => any) | undefined;
|
|
1313
|
-
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1314
|
-
readonly onCancel?: (() => any) | undefined;
|
|
1315
|
-
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1316
|
-
readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
1317
|
-
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1357
|
+
readonly expanded: boolean;
|
|
1358
|
+
readonly placement: AnchorPlacement;
|
|
1359
|
+
readonly floatingOffset?: number | undefined;
|
|
1318
1360
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1319
1361
|
$attrs: Attrs;
|
|
1320
1362
|
$refs: {
|
|
1321
1363
|
[x: string]: unknown;
|
|
1364
|
+
} & {
|
|
1365
|
+
hostEl: HTMLDivElement;
|
|
1366
|
+
overlayEl: HTMLDivElement;
|
|
1367
|
+
navEl: HTMLElement;
|
|
1322
1368
|
};
|
|
1323
1369
|
$slots: Readonly<{
|
|
1324
1370
|
[name: string]: Slot<any> | undefined;
|
|
@@ -1326,41 +1372,14 @@ declare function __VLS_template_9(): {
|
|
|
1326
1372
|
$root: ComponentPublicInstance | null;
|
|
1327
1373
|
$parent: ComponentPublicInstance | null;
|
|
1328
1374
|
$host: Element | null;
|
|
1329
|
-
$emit: (
|
|
1375
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1330
1376
|
$el: HTMLDivElement;
|
|
1331
|
-
$options: ComponentOptionsBase<Readonly<
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
1338
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1339
|
-
}>, {
|
|
1340
|
-
submit: () => void;
|
|
1341
|
-
clear: () => void;
|
|
1342
|
-
cancel: () => void;
|
|
1343
|
-
focus: () => void;
|
|
1344
|
-
blur: () => void;
|
|
1345
|
-
setContent: (content: string) => void;
|
|
1346
|
-
getContent: () => string;
|
|
1347
|
-
editor: SenderContext["editor"];
|
|
1348
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1349
|
-
clear: () => any;
|
|
1350
|
-
input: (value: string) => any;
|
|
1351
|
-
blur: (event: FocusEvent) => any;
|
|
1352
|
-
cancel: () => any;
|
|
1353
|
-
focus: (event: FocusEvent) => any;
|
|
1354
|
-
submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
|
|
1355
|
-
"update:modelValue": (value: string) => any;
|
|
1356
|
-
}, string, {
|
|
1357
|
-
size: "normal" | "small";
|
|
1358
|
-
placeholder: string;
|
|
1359
|
-
mode: InputMode;
|
|
1360
|
-
enterkeyhint: EnterKeyHint;
|
|
1361
|
-
autoSize: AutoSize;
|
|
1362
|
-
extensions: Extension[] | any[];
|
|
1363
|
-
submitType: SubmitTrigger;
|
|
1377
|
+
$options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
|
|
1378
|
+
hostEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1379
|
+
overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1380
|
+
navEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1381
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1382
|
+
floatingOffset: number;
|
|
1364
1383
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1365
1384
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1366
1385
|
created?: (() => void) | (() => void)[];
|
|
@@ -1382,65 +1401,52 @@ declare function __VLS_template_9(): {
|
|
|
1382
1401
|
$nextTick: nextTick;
|
|
1383
1402
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1384
1403
|
} & Readonly<{
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
extensions: Extension[] | any[];
|
|
1391
|
-
submitType: SubmitTrigger;
|
|
1392
|
-
}> & Omit<Readonly<SenderProps> & Readonly<{
|
|
1393
|
-
onClear?: (() => any) | undefined;
|
|
1394
|
-
onInput?: ((value: string) => any) | undefined;
|
|
1395
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1396
|
-
onCancel?: (() => any) | undefined;
|
|
1397
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1398
|
-
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
1399
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1400
|
-
}>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
|
|
1401
|
-
submit: () => void;
|
|
1402
|
-
clear: () => void;
|
|
1403
|
-
cancel: () => void;
|
|
1404
|
-
focus: () => void;
|
|
1405
|
-
blur: () => void;
|
|
1406
|
-
setContent: (content: string) => void;
|
|
1407
|
-
getContent: () => string;
|
|
1408
|
-
editor: Editor | undefined;
|
|
1404
|
+
floatingOffset: number;
|
|
1405
|
+
}> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
|
|
1406
|
+
hostEl: HTMLElement | null;
|
|
1407
|
+
overlayEl: HTMLElement | null;
|
|
1408
|
+
navEl: HTMLElement | null;
|
|
1409
1409
|
} & {} & ComponentCustomProperties & {} & {
|
|
1410
1410
|
$slots: {
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
prefix?(_: {}): any;
|
|
1414
|
-
prefix?(_: {}): any;
|
|
1415
|
-
content?(_: {
|
|
1416
|
-
editor: Editor | undefined;
|
|
1417
|
-
}): any;
|
|
1418
|
-
content?(_: {
|
|
1419
|
-
editor: Ref<Editor | undefined, Editor | undefined>;
|
|
1420
|
-
}): any;
|
|
1421
|
-
'actions-inline'?(_: {}): any;
|
|
1422
|
-
footer?(_: {}): any;
|
|
1423
|
-
'footer-right'?(_: {}): any;
|
|
1411
|
+
search?(_: {}): any;
|
|
1412
|
+
default?(_: {}): any;
|
|
1424
1413
|
};
|
|
1425
1414
|
}) | null;
|
|
1426
|
-
|
|
1415
|
+
};
|
|
1416
|
+
rootEl: any;
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
declare function __VLS_template_6(): {
|
|
1420
|
+
attrs: Partial<{}>;
|
|
1421
|
+
slots: {
|
|
1422
|
+
overlay?(_: {
|
|
1423
|
+
isDragging: true;
|
|
1424
|
+
}): any;
|
|
1425
|
+
};
|
|
1426
|
+
refs: {};
|
|
1427
|
+
rootEl: any;
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
declare function __VLS_template_7(): {
|
|
1431
|
+
attrs: Partial<{}>;
|
|
1432
|
+
slots: {
|
|
1433
|
+
trigger?(_: {}): any;
|
|
1434
|
+
};
|
|
1435
|
+
refs: {
|
|
1436
|
+
basePopperRef: ({
|
|
1427
1437
|
$: ComponentInternalInstance;
|
|
1428
1438
|
$data: {};
|
|
1429
1439
|
$props: {
|
|
1430
|
-
readonly
|
|
1431
|
-
readonly
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
readonly
|
|
1436
|
-
readonly
|
|
1437
|
-
readonly
|
|
1438
|
-
readonly
|
|
1439
|
-
readonly
|
|
1440
|
-
readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
1441
|
-
readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
1442
|
-
readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
1443
|
-
readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
1440
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1441
|
+
readonly offset?: number | {
|
|
1442
|
+
mainAxis?: number;
|
|
1443
|
+
crossAxis?: number;
|
|
1444
|
+
} | undefined;
|
|
1445
|
+
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
1446
|
+
readonly preventOverflow?: boolean | undefined;
|
|
1447
|
+
readonly show?: boolean | undefined;
|
|
1448
|
+
readonly transitionProps?: TransitionProps | undefined;
|
|
1449
|
+
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
1444
1450
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1445
1451
|
$attrs: Attrs;
|
|
1446
1452
|
$refs: {
|
|
@@ -1452,27 +1458,25 @@ declare function __VLS_template_9(): {
|
|
|
1452
1458
|
$root: ComponentPublicInstance | null;
|
|
1453
1459
|
$parent: ComponentPublicInstance | null;
|
|
1454
1460
|
$host: Element | null;
|
|
1455
|
-
$emit: (
|
|
1461
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1456
1462
|
$el: any;
|
|
1457
|
-
$options: ComponentOptionsBase<Readonly<
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
tooltipPlacement: TooltipPlacement;
|
|
1475
|
-
autoInsert: boolean;
|
|
1463
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
1464
|
+
appendTo?: string | HTMLElement;
|
|
1465
|
+
offset?: number | {
|
|
1466
|
+
mainAxis?: number;
|
|
1467
|
+
crossAxis?: number;
|
|
1468
|
+
};
|
|
1469
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1470
|
+
preventOverflow?: boolean;
|
|
1471
|
+
show?: boolean;
|
|
1472
|
+
transitionProps?: TransitionProps;
|
|
1473
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1474
|
+
}> & Readonly<{}>, {
|
|
1475
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
1476
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
1477
|
+
update: () => void;
|
|
1478
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1479
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1476
1480
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1477
1481
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1478
1482
|
created?: (() => void) | (() => void)[];
|
|
@@ -1494,30 +1498,50 @@ declare function __VLS_template_9(): {
|
|
|
1494
1498
|
$nextTick: nextTick;
|
|
1495
1499
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1496
1500
|
} & Readonly<{
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
"
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1501
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1502
|
+
}> & Omit<Readonly<{
|
|
1503
|
+
appendTo?: string | HTMLElement;
|
|
1504
|
+
offset?: number | {
|
|
1505
|
+
mainAxis?: number;
|
|
1506
|
+
crossAxis?: number;
|
|
1507
|
+
};
|
|
1508
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1509
|
+
preventOverflow?: boolean;
|
|
1510
|
+
show?: boolean;
|
|
1511
|
+
transitionProps?: TransitionProps;
|
|
1512
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1513
|
+
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
|
|
1514
|
+
triggerRef: HTMLElement | SVGElement | null | undefined;
|
|
1515
|
+
popperRef: HTMLDivElement | null;
|
|
1516
|
+
update: () => void;
|
|
1509
1517
|
} & {} & ComponentCustomProperties & {} & {
|
|
1510
|
-
$slots: {
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
stop: () => void;
|
|
1517
|
-
}): any;
|
|
1518
|
+
$slots: Readonly<{
|
|
1519
|
+
trigger?: () => VNode[];
|
|
1520
|
+
content?: () => VNode[];
|
|
1521
|
+
}> & {
|
|
1522
|
+
trigger?: () => VNode[];
|
|
1523
|
+
content?: () => VNode[];
|
|
1518
1524
|
};
|
|
1519
1525
|
}) | null;
|
|
1520
1526
|
};
|
|
1527
|
+
rootEl: any;
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
declare function __VLS_template_8(): {
|
|
1531
|
+
attrs: Partial<{}>;
|
|
1532
|
+
slots: {
|
|
1533
|
+
default?(_: {
|
|
1534
|
+
isOpen: boolean;
|
|
1535
|
+
}): any;
|
|
1536
|
+
};
|
|
1537
|
+
refs: {};
|
|
1538
|
+
rootEl: HTMLButtonElement;
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1541
|
+
declare function __VLS_template_9(): {
|
|
1542
|
+
attrs: Partial<{}>;
|
|
1543
|
+
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
1544
|
+
refs: {};
|
|
1521
1545
|
rootEl: HTMLDivElement;
|
|
1522
1546
|
};
|
|
1523
1547
|
|
|
@@ -1539,6 +1563,10 @@ declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
|
|
|
1539
1563
|
|
|
1540
1564
|
declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
|
|
1541
1565
|
|
|
1566
|
+
declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
|
|
1567
|
+
|
|
1568
|
+
declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
|
|
1569
|
+
|
|
1542
1570
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1543
1571
|
|
|
1544
1572
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1609,6 +1637,18 @@ declare type __VLS_WithTemplateSlots_17<T, S> = T & {
|
|
|
1609
1637
|
};
|
|
1610
1638
|
};
|
|
1611
1639
|
|
|
1640
|
+
declare type __VLS_WithTemplateSlots_18<T, S> = T & {
|
|
1641
|
+
new (): {
|
|
1642
|
+
$slots: S;
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
declare type __VLS_WithTemplateSlots_19<T, S> = T & {
|
|
1647
|
+
new (): {
|
|
1648
|
+
$slots: S;
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1612
1652
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1613
1653
|
new (): {
|
|
1614
1654
|
$slots: S;
|
|
@@ -1697,6 +1737,80 @@ export declare interface ActionButtonProps {
|
|
|
1697
1737
|
|
|
1698
1738
|
export declare type AddType = 'form' | 'code';
|
|
1699
1739
|
|
|
1740
|
+
export declare interface AnchorEmits {
|
|
1741
|
+
'update:activeId': [value: string | undefined];
|
|
1742
|
+
'update:expanded': [value: boolean];
|
|
1743
|
+
'update:searchQuery': [value: string];
|
|
1744
|
+
select: [item: AnchorItem];
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
export declare type AnchorExpandTrigger = 'hover' | 'manual';
|
|
1748
|
+
|
|
1749
|
+
export declare interface AnchorHighlightSegment {
|
|
1750
|
+
text: string;
|
|
1751
|
+
highlighted: boolean;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
export declare interface AnchorItem {
|
|
1755
|
+
id: string;
|
|
1756
|
+
label: string;
|
|
1757
|
+
searchText?: string;
|
|
1758
|
+
tooltipText?: string;
|
|
1759
|
+
meta?: Record<string, unknown>;
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
declare interface AnchorOverlayProps {
|
|
1763
|
+
expanded: boolean;
|
|
1764
|
+
placement: AnchorPlacement;
|
|
1765
|
+
floatingOffset?: number;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
export declare type AnchorPlacement = 'left' | 'right';
|
|
1769
|
+
|
|
1770
|
+
export declare interface AnchorProps {
|
|
1771
|
+
items: AnchorItem[];
|
|
1772
|
+
scrollContainer?: HTMLElement | null;
|
|
1773
|
+
activeId?: string;
|
|
1774
|
+
activeOffset?: number;
|
|
1775
|
+
expanded?: boolean;
|
|
1776
|
+
searchQuery?: string;
|
|
1777
|
+
placement?: AnchorPlacement;
|
|
1778
|
+
expandTrigger?: AnchorExpandTrigger;
|
|
1779
|
+
searchOptions?: AnchorSearchOptions;
|
|
1780
|
+
tooltipDelay?: number;
|
|
1781
|
+
targetFeedbackClass?: string;
|
|
1782
|
+
targetFeedbackDuration?: number;
|
|
1783
|
+
emptyText?: string;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
export declare type AnchorSearchMatcher = (item: AnchorItem, searchQuery: string) => false | AnchorHighlightSegment[];
|
|
1787
|
+
|
|
1788
|
+
export declare interface AnchorSearchOptions {
|
|
1789
|
+
placeholder?: string;
|
|
1790
|
+
matcher?: AnchorSearchMatcher;
|
|
1791
|
+
clearOnCollapse?: boolean;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
export declare interface AnchorSlots {
|
|
1795
|
+
item?: (slotProps: {
|
|
1796
|
+
item: AnchorItem;
|
|
1797
|
+
segments: AnchorHighlightSegment[];
|
|
1798
|
+
active: boolean;
|
|
1799
|
+
expanded: boolean;
|
|
1800
|
+
highlighted: boolean;
|
|
1801
|
+
}) => VNode | VNode[];
|
|
1802
|
+
marker?: (slotProps: {
|
|
1803
|
+
item: AnchorItem;
|
|
1804
|
+
active: boolean;
|
|
1805
|
+
}) => VNode | VNode[];
|
|
1806
|
+
search?: (slotProps: {
|
|
1807
|
+
searchQuery: string;
|
|
1808
|
+
setSearchQuery: (value: string) => void;
|
|
1809
|
+
searchOptions: AnchorSearchOptions;
|
|
1810
|
+
}) => VNode | VNode[];
|
|
1811
|
+
empty?: () => VNode | VNode[];
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1700
1814
|
export declare type Attachment = UrlAttachment | RawFileAttachment;
|
|
1701
1815
|
|
|
1702
1816
|
export declare interface AttachmentListEmits {
|
|
@@ -1796,6 +1910,22 @@ export declare type BubbleContentRendererProps<T extends ChatMessageContent = Ch
|
|
|
1796
1910
|
contentIndex: number;
|
|
1797
1911
|
};
|
|
1798
1912
|
|
|
1913
|
+
export declare type BubbleEvent = {
|
|
1914
|
+
name: 'state:update';
|
|
1915
|
+
payload: {
|
|
1916
|
+
key: string;
|
|
1917
|
+
value: unknown;
|
|
1918
|
+
};
|
|
1919
|
+
} | {
|
|
1920
|
+
name: string;
|
|
1921
|
+
payload?: unknown;
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
declare type BubbleEventPayload = BubbleEvent & {
|
|
1925
|
+
messageIndex: number;
|
|
1926
|
+
contentIndex: number;
|
|
1927
|
+
};
|
|
1928
|
+
|
|
1799
1929
|
/**
|
|
1800
1930
|
* 自定义分组函数类型
|
|
1801
1931
|
*/
|
|
@@ -1873,7 +2003,11 @@ export declare type BubbleMessageGroup = {
|
|
|
1873
2003
|
role: string;
|
|
1874
2004
|
messages: BubbleMessage[];
|
|
1875
2005
|
messageIndexes: number[];
|
|
1876
|
-
|
|
2006
|
+
/**
|
|
2007
|
+
* @deprecated For custom groups with non-contiguous messages, deriving the global index from
|
|
2008
|
+
* startIndex plus a local index can be incorrect. Use messageIndexes for index mapping instead.
|
|
2009
|
+
*/
|
|
2010
|
+
startIndex?: number;
|
|
1877
2011
|
};
|
|
1878
2012
|
|
|
1879
2013
|
export declare type BubbleProps = BubbleMessage & {
|
|
@@ -2036,6 +2170,13 @@ export declare interface BubbleSlots {
|
|
|
2036
2170
|
}) => VNode | VNode[];
|
|
2037
2171
|
}
|
|
2038
2172
|
|
|
2173
|
+
declare type BubbleStateChangePayload = {
|
|
2174
|
+
key: string;
|
|
2175
|
+
value: unknown;
|
|
2176
|
+
messageIndex: number;
|
|
2177
|
+
contentIndex: number;
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2039
2180
|
declare interface ButtonGroupConfig {
|
|
2040
2181
|
file?: ControlState & fileUploadConfig;
|
|
2041
2182
|
submit?: ControlState;
|
|
@@ -2102,80 +2243,6 @@ export declare interface ContainerSlots {
|
|
|
2102
2243
|
footer: () => unknown;
|
|
2103
2244
|
}
|
|
2104
2245
|
|
|
2105
|
-
export declare interface ContentNavEmits {
|
|
2106
|
-
'update:activeId': [value: string | undefined];
|
|
2107
|
-
'update:expanded': [value: boolean];
|
|
2108
|
-
'update:searchQuery': [value: string];
|
|
2109
|
-
select: [item: ContentNavItem];
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2112
|
-
export declare type ContentNavExpandTrigger = 'hover' | 'manual';
|
|
2113
|
-
|
|
2114
|
-
export declare interface ContentNavHighlightSegment {
|
|
2115
|
-
text: string;
|
|
2116
|
-
highlighted: boolean;
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
export declare interface ContentNavItem {
|
|
2120
|
-
id: string;
|
|
2121
|
-
label: string;
|
|
2122
|
-
searchText?: string;
|
|
2123
|
-
tooltipText?: string;
|
|
2124
|
-
meta?: Record<string, unknown>;
|
|
2125
|
-
}
|
|
2126
|
-
|
|
2127
|
-
declare interface ContentNavOverlayProps {
|
|
2128
|
-
expanded: boolean;
|
|
2129
|
-
placement: ContentNavPlacement;
|
|
2130
|
-
floatingOffset?: number;
|
|
2131
|
-
}
|
|
2132
|
-
|
|
2133
|
-
export declare type ContentNavPlacement = 'left' | 'right';
|
|
2134
|
-
|
|
2135
|
-
export declare interface ContentNavProps {
|
|
2136
|
-
items: ContentNavItem[];
|
|
2137
|
-
scrollContainer?: HTMLElement | null;
|
|
2138
|
-
activeId?: string;
|
|
2139
|
-
activeOffset?: number;
|
|
2140
|
-
expanded?: boolean;
|
|
2141
|
-
searchQuery?: string;
|
|
2142
|
-
placement?: ContentNavPlacement;
|
|
2143
|
-
expandTrigger?: ContentNavExpandTrigger;
|
|
2144
|
-
searchOptions?: ContentNavSearchOptions;
|
|
2145
|
-
tooltipDelay?: number;
|
|
2146
|
-
targetFeedbackClass?: string;
|
|
2147
|
-
targetFeedbackDuration?: number;
|
|
2148
|
-
emptyText?: string;
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
|
-
export declare type ContentNavSearchMatcher = (item: ContentNavItem, searchQuery: string) => false | ContentNavHighlightSegment[];
|
|
2152
|
-
|
|
2153
|
-
export declare interface ContentNavSearchOptions {
|
|
2154
|
-
placeholder?: string;
|
|
2155
|
-
matcher?: ContentNavSearchMatcher;
|
|
2156
|
-
clearOnCollapse?: boolean;
|
|
2157
|
-
}
|
|
2158
|
-
|
|
2159
|
-
export declare interface ContentNavSlots {
|
|
2160
|
-
item?: (slotProps: {
|
|
2161
|
-
item: ContentNavItem;
|
|
2162
|
-
segments: ContentNavHighlightSegment[];
|
|
2163
|
-
active: boolean;
|
|
2164
|
-
expanded: boolean;
|
|
2165
|
-
highlighted: boolean;
|
|
2166
|
-
}) => VNode | VNode[];
|
|
2167
|
-
marker?: (slotProps: {
|
|
2168
|
-
item: ContentNavItem;
|
|
2169
|
-
active: boolean;
|
|
2170
|
-
}) => VNode | VNode[];
|
|
2171
|
-
search?: (slotProps: {
|
|
2172
|
-
searchQuery: string;
|
|
2173
|
-
setSearchQuery: (value: string) => void;
|
|
2174
|
-
searchOptions: ContentNavSearchOptions;
|
|
2175
|
-
}) => VNode | VNode[];
|
|
2176
|
-
empty?: () => VNode | VNode[];
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
2246
|
declare interface ControlState {
|
|
2180
2247
|
tooltips?: string | TooltipRender;
|
|
2181
2248
|
disabled?: boolean;
|
|
@@ -2193,49 +2260,49 @@ declare const _default_10: typeof _default_36 & {
|
|
|
2193
2260
|
export { _default_10 as IconButton }
|
|
2194
2261
|
export { _default_10 as TrIconButton }
|
|
2195
2262
|
|
|
2196
|
-
declare const _default_11: typeof
|
|
2263
|
+
declare const _default_11: typeof _default_41 & {
|
|
2197
2264
|
install: typeof install_10;
|
|
2198
2265
|
};
|
|
2199
2266
|
export { _default_11 as SenderCompat }
|
|
2200
2267
|
export { _default_11 as TrSenderCompat }
|
|
2201
2268
|
|
|
2202
|
-
declare const _default_12: typeof
|
|
2269
|
+
declare const _default_12: typeof _default_43 & {
|
|
2203
2270
|
install: typeof install_11;
|
|
2204
2271
|
};
|
|
2205
2272
|
export { _default_12 as SuggestionPills }
|
|
2206
2273
|
export { _default_12 as TrSuggestionPills }
|
|
2207
2274
|
|
|
2208
|
-
declare const _default_13: typeof
|
|
2275
|
+
declare const _default_13: typeof _default_44 & {
|
|
2209
2276
|
install: typeof install_12;
|
|
2210
2277
|
};
|
|
2211
2278
|
export { _default_13 as SuggestionPopover }
|
|
2212
2279
|
export { _default_13 as TrSuggestionPopover }
|
|
2213
2280
|
|
|
2214
|
-
declare const _default_14: typeof
|
|
2281
|
+
declare const _default_14: typeof _default_45 & {
|
|
2215
2282
|
install: typeof install_13;
|
|
2216
2283
|
};
|
|
2217
2284
|
export { _default_14 as ThemeProvider }
|
|
2218
2285
|
export { _default_14 as TrThemeProvider }
|
|
2219
2286
|
|
|
2220
|
-
declare const _default_15: typeof
|
|
2287
|
+
declare const _default_15: typeof _default_46 & {
|
|
2221
2288
|
install: typeof install_14;
|
|
2222
2289
|
};
|
|
2223
2290
|
export { _default_15 as TrWelcome }
|
|
2224
2291
|
export { _default_15 as Welcome }
|
|
2225
2292
|
|
|
2226
|
-
declare const _default_16: typeof
|
|
2293
|
+
declare const _default_16: typeof _default_47 & {
|
|
2227
2294
|
install: typeof install_15;
|
|
2228
2295
|
};
|
|
2229
2296
|
export { _default_16 as McpServerPicker }
|
|
2230
2297
|
export { _default_16 as TrMcpServerPicker }
|
|
2231
2298
|
|
|
2232
|
-
declare const _default_17: typeof
|
|
2299
|
+
declare const _default_17: typeof _default_48 & {
|
|
2233
2300
|
install: typeof install_16;
|
|
2234
2301
|
};
|
|
2235
2302
|
export { _default_17 as McpAddForm }
|
|
2236
2303
|
export { _default_17 as TrMcpAddForm }
|
|
2237
2304
|
|
|
2238
|
-
declare const _default_18:
|
|
2305
|
+
declare const _default_18: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
2239
2306
|
export { _default_18 as ActionButton }
|
|
2240
2307
|
export { _default_18 as TrActionButton }
|
|
2241
2308
|
|
|
@@ -2270,7 +2337,7 @@ accept: string;
|
|
|
2270
2337
|
export { _default_21 as TrUploadButton }
|
|
2271
2338
|
export { _default_21 as UploadButton }
|
|
2272
2339
|
|
|
2273
|
-
declare const _default_22:
|
|
2340
|
+
declare const _default_22: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
2274
2341
|
export { _default_22 as TrVoiceButton }
|
|
2275
2342
|
export { _default_22 as VoiceButton }
|
|
2276
2343
|
|
|
@@ -2278,7 +2345,7 @@ declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOpti
|
|
|
2278
2345
|
export { _default_23 as TrWordCounter }
|
|
2279
2346
|
export { _default_23 as WordCounter }
|
|
2280
2347
|
|
|
2281
|
-
declare const _default_24:
|
|
2348
|
+
declare const _default_24: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
2282
2349
|
export { _default_24 as DefaultActionButtons }
|
|
2283
2350
|
export { _default_24 as TrDefaultActionButtons }
|
|
2284
2351
|
|
|
@@ -2361,33 +2428,40 @@ size: string | number;
|
|
|
2361
2428
|
svgSize: string | number;
|
|
2362
2429
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2363
2430
|
|
|
2364
|
-
declare const _default_37: DefineComponent<
|
|
2365
|
-
|
|
2366
|
-
|
|
2431
|
+
declare const _default_37: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2432
|
+
scrollbarRef: HTMLDivElement;
|
|
2433
|
+
thumbRef: HTMLDivElement;
|
|
2434
|
+
}, any>;
|
|
2367
2435
|
|
|
2368
2436
|
declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2369
2437
|
|
|
2370
|
-
declare const _default_39:
|
|
2438
|
+
declare const _default_39: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
|
|
2439
|
+
size: "small" | "medium" | "large";
|
|
2440
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2371
2441
|
|
|
2372
2442
|
declare const _default_4: typeof _default_30 & {
|
|
2373
2443
|
install: typeof install_3;
|
|
2374
2444
|
};
|
|
2375
|
-
export { _default_4 as
|
|
2376
|
-
export { _default_4 as
|
|
2445
|
+
export { _default_4 as Anchor }
|
|
2446
|
+
export { _default_4 as TrAnchor }
|
|
2447
|
+
|
|
2448
|
+
declare const _default_40: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2377
2449
|
|
|
2378
|
-
declare const
|
|
2450
|
+
declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2379
2451
|
|
|
2380
|
-
declare const
|
|
2452
|
+
declare const _default_42: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2381
2453
|
|
|
2382
|
-
declare const
|
|
2454
|
+
declare const _default_43: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
2383
2455
|
|
|
2384
|
-
declare const
|
|
2456
|
+
declare const _default_44: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
2385
2457
|
|
|
2386
|
-
declare const
|
|
2458
|
+
declare const _default_45: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2387
2459
|
|
|
2388
|
-
declare const
|
|
2460
|
+
declare const _default_46: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
2389
2461
|
|
|
2390
|
-
declare const
|
|
2462
|
+
declare const _default_47: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
2463
|
+
|
|
2464
|
+
declare const _default_48: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2391
2465
|
cancel: () => any;
|
|
2392
2466
|
confirm: (type: AddType, data: string | McpAddFormData) => any;
|
|
2393
2467
|
"update:addType": (value: AddType) => any;
|
|
@@ -2850,6 +2924,169 @@ export declare interface KeyboardHandlers {
|
|
|
2850
2924
|
submit: () => void;
|
|
2851
2925
|
}
|
|
2852
2926
|
|
|
2927
|
+
declare const Layout: LayoutCompound;
|
|
2928
|
+
export { Layout }
|
|
2929
|
+
export { Layout as TrLayout }
|
|
2930
|
+
|
|
2931
|
+
export declare type LayoutAsideCollapseEffect = 'overlay' | 'slide';
|
|
2932
|
+
|
|
2933
|
+
export declare type LayoutAsideMode = 'dock' | 'drawer';
|
|
2934
|
+
|
|
2935
|
+
export declare interface LayoutAsideOpenDetail {
|
|
2936
|
+
side: LayoutSide;
|
|
2937
|
+
open: boolean;
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
export declare interface LayoutAsideOpenValue {
|
|
2941
|
+
open: boolean;
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
export declare interface LayoutAsidePanelsProps {
|
|
2945
|
+
leftAside?: LayoutAsideProps;
|
|
2946
|
+
rightAside?: LayoutAsideProps;
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
export declare interface LayoutAsideProps {
|
|
2950
|
+
mode?: LayoutAsideMode;
|
|
2951
|
+
open?: boolean;
|
|
2952
|
+
defaultOpen?: boolean;
|
|
2953
|
+
expandedWidth?: number;
|
|
2954
|
+
defaultExpandedWidth?: number;
|
|
2955
|
+
minExpandedWidth?: number;
|
|
2956
|
+
maxExpandedWidth?: number;
|
|
2957
|
+
collapsedWidth?: number;
|
|
2958
|
+
collapseEffect?: LayoutAsideCollapseEffect;
|
|
2959
|
+
resizable?: boolean;
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
export declare interface LayoutAsideResizeDetail {
|
|
2963
|
+
side: LayoutSide;
|
|
2964
|
+
expandedWidth: number;
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2967
|
+
export declare interface LayoutAsideResizeValue {
|
|
2968
|
+
expandedWidth: number;
|
|
2969
|
+
}
|
|
2970
|
+
|
|
2971
|
+
declare const LayoutAsideToggle: typeof _default_38 & {
|
|
2972
|
+
install: typeof layoutAsideToggleInstall;
|
|
2973
|
+
};
|
|
2974
|
+
export { LayoutAsideToggle }
|
|
2975
|
+
export { LayoutAsideToggle as TrLayoutAsideToggle }
|
|
2976
|
+
|
|
2977
|
+
declare const layoutAsideToggleInstall: <T>(app: App<T>) => void;
|
|
2978
|
+
|
|
2979
|
+
export declare interface LayoutAsideToggleProps {
|
|
2980
|
+
side: LayoutSide;
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2983
|
+
declare type LayoutCompound = typeof default_2 & {
|
|
2984
|
+
install: typeof layoutInstall;
|
|
2985
|
+
ProxyScrollbar: typeof LayoutProxyScrollbar;
|
|
2986
|
+
AsideToggle: typeof LayoutAsideToggle;
|
|
2987
|
+
};
|
|
2988
|
+
|
|
2989
|
+
export declare interface LayoutEmits {
|
|
2990
|
+
'update:floatingState': [value: LayoutFloatingState];
|
|
2991
|
+
'floating-drag-start': [detail: LayoutFloatingDragDetail];
|
|
2992
|
+
'floating-drag': [detail: LayoutFloatingDragDetail];
|
|
2993
|
+
'floating-drag-end': [detail: LayoutFloatingDragDetail];
|
|
2994
|
+
'floating-resize-start': [detail: LayoutFloatingResizeDetail];
|
|
2995
|
+
'floating-resize': [detail: LayoutFloatingResizeDetail];
|
|
2996
|
+
'floating-resize-end': [detail: LayoutFloatingResizeDetail];
|
|
2997
|
+
'aside-open-change': [detail: LayoutAsideOpenDetail];
|
|
2998
|
+
'aside-resize-start': [detail: LayoutAsideResizeDetail];
|
|
2999
|
+
'aside-resize': [detail: LayoutAsideResizeDetail];
|
|
3000
|
+
'aside-resize-end': [detail: LayoutAsideResizeDetail];
|
|
3001
|
+
'left-aside-open-change': [detail: LayoutAsideOpenValue];
|
|
3002
|
+
'left-aside-resize-start': [detail: LayoutAsideResizeValue];
|
|
3003
|
+
'left-aside-resize': [detail: LayoutAsideResizeValue];
|
|
3004
|
+
'left-aside-resize-end': [detail: LayoutAsideResizeValue];
|
|
3005
|
+
'right-aside-open-change': [detail: LayoutAsideOpenValue];
|
|
3006
|
+
'right-aside-resize-start': [detail: LayoutAsideResizeValue];
|
|
3007
|
+
'right-aside-resize': [detail: LayoutAsideResizeValue];
|
|
3008
|
+
'right-aside-resize-end': [detail: LayoutAsideResizeValue];
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
export declare type LayoutFloatingDragDetail = LayoutFloatingState;
|
|
3012
|
+
|
|
3013
|
+
export declare interface LayoutFloatingOptions {
|
|
3014
|
+
draggable?: boolean;
|
|
3015
|
+
resizable?: boolean;
|
|
3016
|
+
minWidth?: number;
|
|
3017
|
+
maxWidth?: number;
|
|
3018
|
+
minHeight?: number;
|
|
3019
|
+
maxHeight?: number;
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
export declare type LayoutFloatingPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
|
|
3023
|
+
|
|
3024
|
+
export declare type LayoutFloatingProps = LayoutAsidePanelsProps & LayoutFloatingStateControlProps & {
|
|
3025
|
+
mode: 'floating';
|
|
3026
|
+
floatingOptions?: LayoutFloatingOptions;
|
|
3027
|
+
};
|
|
3028
|
+
|
|
3029
|
+
export declare type LayoutFloatingResizeDetail = LayoutFloatingState & {
|
|
3030
|
+
handle: LayoutFloatingResizeHandle;
|
|
3031
|
+
};
|
|
3032
|
+
|
|
3033
|
+
export declare type LayoutFloatingResizeHandle = 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
|
3034
|
+
|
|
3035
|
+
export declare interface LayoutFloatingState {
|
|
3036
|
+
placement: LayoutFloatingPlacement;
|
|
3037
|
+
offsetX: number;
|
|
3038
|
+
offsetY: number;
|
|
3039
|
+
width: number;
|
|
3040
|
+
height: number;
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
declare type LayoutFloatingStateControlProps = {
|
|
3044
|
+
floatingState?: LayoutFloatingState;
|
|
3045
|
+
defaultFloatingState?: never;
|
|
3046
|
+
} | {
|
|
3047
|
+
floatingState?: never;
|
|
3048
|
+
defaultFloatingState?: LayoutFloatingState;
|
|
3049
|
+
};
|
|
3050
|
+
|
|
3051
|
+
declare const layoutInstall: <T>(app: App<T>) => void;
|
|
3052
|
+
|
|
3053
|
+
export declare type LayoutMode = 'normal' | 'floating';
|
|
3054
|
+
|
|
3055
|
+
export declare interface LayoutNormalProps extends LayoutAsidePanelsProps {
|
|
3056
|
+
mode: 'normal';
|
|
3057
|
+
floatingState?: never;
|
|
3058
|
+
defaultFloatingState?: never;
|
|
3059
|
+
floatingOptions?: never;
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
export declare type LayoutProps = LayoutNormalProps | LayoutFloatingProps;
|
|
3063
|
+
|
|
3064
|
+
declare const LayoutProxyScrollbar: typeof _default_37 & {
|
|
3065
|
+
install: typeof layoutProxyScrollbarInstall;
|
|
3066
|
+
};
|
|
3067
|
+
export { LayoutProxyScrollbar }
|
|
3068
|
+
export { LayoutProxyScrollbar as TrLayoutProxyScrollbar }
|
|
3069
|
+
|
|
3070
|
+
declare const layoutProxyScrollbarInstall: <T>(app: App<T>) => void;
|
|
3071
|
+
|
|
3072
|
+
export declare interface LayoutProxyScrollbarProps {
|
|
3073
|
+
scrollTarget?: LayoutScrollTarget;
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
export declare type LayoutScrollTarget = HTMLElement | LayoutScrollTargetComponent | null | undefined;
|
|
3077
|
+
|
|
3078
|
+
export declare type LayoutScrollTargetComponent = Pick<ComponentPublicInstance, '$el'>;
|
|
3079
|
+
|
|
3080
|
+
export declare type LayoutSide = 'left' | 'right';
|
|
3081
|
+
|
|
3082
|
+
export declare interface LayoutSlots {
|
|
3083
|
+
'left-aside'?: () => VNode | VNode[];
|
|
3084
|
+
header?: () => VNode | VNode[];
|
|
3085
|
+
main?: () => VNode | VNode[];
|
|
3086
|
+
footer?: () => VNode | VNode[];
|
|
3087
|
+
'right-aside'?: () => VNode | VNode[];
|
|
3088
|
+
}
|
|
3089
|
+
|
|
2853
3090
|
export declare interface MarketCategoryOption {
|
|
2854
3091
|
value: string;
|
|
2855
3092
|
label: string;
|
|
@@ -3063,7 +3300,7 @@ export declare interface PopupConfig {
|
|
|
3063
3300
|
};
|
|
3064
3301
|
}
|
|
3065
3302
|
|
|
3066
|
-
declare const Prompt: typeof
|
|
3303
|
+
declare const Prompt: typeof _default_39 & {
|
|
3067
3304
|
install: typeof installPrompt;
|
|
3068
3305
|
};
|
|
3069
3306
|
export { Prompt }
|
|
@@ -3100,7 +3337,7 @@ export declare interface PromptProps {
|
|
|
3100
3337
|
size?: 'small' | 'medium' | 'large';
|
|
3101
3338
|
}
|
|
3102
3339
|
|
|
3103
|
-
declare const Prompts: typeof
|
|
3340
|
+
declare const Prompts: typeof _default_40 & {
|
|
3104
3341
|
install: typeof installPrompts;
|
|
3105
3342
|
};
|
|
3106
3343
|
export { Prompts }
|
|
@@ -4181,7 +4418,7 @@ export declare interface SuggestionOptions {
|
|
|
4181
4418
|
onSelect?: (item: SenderSuggestionItem) => void | false;
|
|
4182
4419
|
}
|
|
4183
4420
|
|
|
4184
|
-
declare const SuggestionPillButton: typeof
|
|
4421
|
+
declare const SuggestionPillButton: typeof _default_42 & {
|
|
4185
4422
|
install: typeof installPillButton;
|
|
4186
4423
|
};
|
|
4187
4424
|
export { SuggestionPillButton }
|
|
@@ -4612,7 +4849,7 @@ export declare interface UploadButtonProps {
|
|
|
4612
4849
|
|
|
4613
4850
|
export declare interface UrlAttachment extends BaseAttachment {
|
|
4614
4851
|
url: string;
|
|
4615
|
-
size
|
|
4852
|
+
size?: number;
|
|
4616
4853
|
rawFile?: File;
|
|
4617
4854
|
}
|
|
4618
4855
|
|
|
@@ -4649,7 +4886,9 @@ export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<Bubbl
|
|
|
4649
4886
|
attributes?: BubbleAttributes;
|
|
4650
4887
|
}>;
|
|
4651
4888
|
|
|
4652
|
-
export declare function
|
|
4889
|
+
export declare function useBubbleEventFn(): (event: BubbleEvent) => void;
|
|
4890
|
+
|
|
4891
|
+
export declare function useBubbleStateChangeFn(): (key: string, value: unknown) => void;
|
|
4653
4892
|
|
|
4654
4893
|
/**
|
|
4655
4894
|
* useEditor 返回类型
|