@opentiny/tiny-robot 0.4.2-alpha.7 → 0.4.2-alpha.8
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/bubble/index.js +10 -9
- package/dist/index.d.ts +1135 -914
- package/dist/index.js +129 -118
- package/dist/index4.js +380 -317
- package/dist/index5.js +247 -240
- package/dist/index6.js +565 -514
- package/dist/layout/index.js +1243 -0
- package/dist/sender/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
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,24 +594,16 @@ tooltipPlacement: TooltipPlacement;
|
|
|
308
594
|
autoInsert: boolean;
|
|
309
595
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
310
596
|
|
|
311
|
-
declare const
|
|
597
|
+
declare const __VLS_component_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
312
598
|
|
|
313
599
|
declare const __VLS_component_2: DefineComponent<BubbleListProps, {
|
|
314
600
|
scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
|
|
315
601
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
316
|
-
"state-change": (payload:
|
|
317
|
-
|
|
318
|
-
value: unknown;
|
|
319
|
-
messageIndex: number;
|
|
320
|
-
contentIndex: number;
|
|
321
|
-
}) => any;
|
|
602
|
+
"state-change": (payload: BubbleStateChangePayload) => any;
|
|
603
|
+
"bubble-event": (payload: BubbleEventPayload) => any;
|
|
322
604
|
}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
|
|
323
|
-
"onState-change"?: ((payload:
|
|
324
|
-
|
|
325
|
-
value: unknown;
|
|
326
|
-
messageIndex: number;
|
|
327
|
-
contentIndex: number;
|
|
328
|
-
}) => any) | undefined;
|
|
605
|
+
"onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
|
|
606
|
+
"onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
|
|
329
607
|
}>, {
|
|
330
608
|
contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
331
609
|
groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
|
|
@@ -422,329 +700,46 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
|
|
|
422
700
|
floatingOffset: number;
|
|
423
701
|
}> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
|
|
424
702
|
hostEl: HTMLElement | null;
|
|
425
|
-
overlayEl: HTMLElement | null;
|
|
426
|
-
navEl: HTMLElement | null;
|
|
427
|
-
} & {} & ComponentCustomProperties & {} & {
|
|
428
|
-
$slots: {
|
|
429
|
-
search?(_: {}): any;
|
|
430
|
-
default?(_: {}): any;
|
|
431
|
-
};
|
|
432
|
-
}) | null;
|
|
433
|
-
}, any>;
|
|
434
|
-
|
|
435
|
-
declare const __VLS_component_6: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
436
|
-
|
|
437
|
-
declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_2, {
|
|
438
|
-
update: () => void;
|
|
439
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
440
|
-
"update:show": (value: boolean) => any;
|
|
441
|
-
} & {
|
|
442
|
-
"item-click": (item: DropdownMenuItem) => any;
|
|
443
|
-
"click-outside": (event: MouseEvent) => any;
|
|
444
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
445
|
-
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
446
|
-
"onItem-click"?: ((item: DropdownMenuItem) => any) | undefined;
|
|
447
|
-
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
448
|
-
}>, {
|
|
449
|
-
trigger: "click" | "hover" | "manual";
|
|
450
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
451
|
-
basePopperRef: ({
|
|
452
|
-
$: ComponentInternalInstance;
|
|
453
|
-
$data: {};
|
|
454
|
-
$props: {
|
|
455
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
456
|
-
readonly offset?: number | {
|
|
457
|
-
mainAxis?: number;
|
|
458
|
-
crossAxis?: number;
|
|
459
|
-
} | undefined;
|
|
460
|
-
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
461
|
-
readonly preventOverflow?: boolean | undefined;
|
|
462
|
-
readonly show?: boolean | undefined;
|
|
463
|
-
readonly transitionProps?: TransitionProps | undefined;
|
|
464
|
-
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
465
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
466
|
-
$attrs: Attrs;
|
|
467
|
-
$refs: {
|
|
468
|
-
[x: string]: unknown;
|
|
469
|
-
};
|
|
470
|
-
$slots: Readonly<{
|
|
471
|
-
[name: string]: Slot<any> | undefined;
|
|
472
|
-
}>;
|
|
473
|
-
$root: ComponentPublicInstance | null;
|
|
474
|
-
$parent: ComponentPublicInstance | null;
|
|
475
|
-
$host: Element | null;
|
|
476
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
477
|
-
$el: any;
|
|
478
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
479
|
-
appendTo?: string | HTMLElement;
|
|
480
|
-
offset?: number | {
|
|
481
|
-
mainAxis?: number;
|
|
482
|
-
crossAxis?: number;
|
|
483
|
-
};
|
|
484
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
485
|
-
preventOverflow?: boolean;
|
|
486
|
-
show?: boolean;
|
|
487
|
-
transitionProps?: TransitionProps;
|
|
488
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
489
|
-
}> & Readonly<{}>, {
|
|
490
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
491
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
492
|
-
update: () => void;
|
|
493
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
494
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
495
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
496
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
497
|
-
created?: (() => void) | (() => void)[];
|
|
498
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
499
|
-
mounted?: (() => void) | (() => void)[];
|
|
500
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
501
|
-
updated?: (() => void) | (() => void)[];
|
|
502
|
-
activated?: (() => void) | (() => void)[];
|
|
503
|
-
deactivated?: (() => void) | (() => void)[];
|
|
504
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
505
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
506
|
-
destroyed?: (() => void) | (() => void)[];
|
|
507
|
-
unmounted?: (() => void) | (() => void)[];
|
|
508
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
509
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
510
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
511
|
-
};
|
|
512
|
-
$forceUpdate: () => void;
|
|
513
|
-
$nextTick: nextTick;
|
|
514
|
-
$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;
|
|
515
|
-
} & Readonly<{
|
|
516
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
517
|
-
}> & Omit<Readonly<{
|
|
518
|
-
appendTo?: string | HTMLElement;
|
|
519
|
-
offset?: number | {
|
|
520
|
-
mainAxis?: number;
|
|
521
|
-
crossAxis?: number;
|
|
522
|
-
};
|
|
523
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
524
|
-
preventOverflow?: boolean;
|
|
525
|
-
show?: boolean;
|
|
526
|
-
transitionProps?: TransitionProps;
|
|
527
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
528
|
-
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
|
|
529
|
-
triggerRef: HTMLElement | SVGElement | null | undefined;
|
|
530
|
-
popperRef: HTMLDivElement | null;
|
|
531
|
-
update: () => void;
|
|
532
|
-
} & {} & ComponentCustomProperties & {} & {
|
|
533
|
-
$slots: Readonly<{
|
|
534
|
-
trigger?: () => VNode[];
|
|
535
|
-
content?: () => VNode[];
|
|
536
|
-
}> & {
|
|
537
|
-
trigger?: () => VNode[];
|
|
538
|
-
content?: () => VNode[];
|
|
539
|
-
};
|
|
540
|
-
}) | null;
|
|
541
|
-
}, any>;
|
|
542
|
-
|
|
543
|
-
declare const __VLS_component_8: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
544
|
-
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
545
|
-
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
546
|
-
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
547
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
548
|
-
|
|
549
|
-
declare const __VLS_component_9: DefineComponent<SenderProps_2, {
|
|
550
|
-
focus: () => void;
|
|
551
|
-
blur: () => void;
|
|
552
|
-
clear: () => void;
|
|
553
|
-
submit: () => void;
|
|
554
|
-
setTemplateData: (templateData: UserTemplateItem[]) => void;
|
|
555
|
-
startSpeech: () => void;
|
|
556
|
-
stopSpeech: () => void;
|
|
557
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
558
|
-
clear: () => any;
|
|
559
|
-
blur: (event: FocusEvent) => any;
|
|
560
|
-
cancel: () => any;
|
|
561
|
-
focus: (event: FocusEvent) => any;
|
|
562
|
-
submit: (value: string) => any;
|
|
563
|
-
"update:modelValue": (value: string) => any;
|
|
564
|
-
"speech-start": () => any;
|
|
565
|
-
"speech-interim": (transcript: string) => any;
|
|
566
|
-
"speech-end": (transcript?: string | undefined) => any;
|
|
567
|
-
"speech-error": (error: Error) => any;
|
|
568
|
-
"update:templateData": (value: UserItem[]) => any;
|
|
569
|
-
"suggestion-select": (value: string) => any;
|
|
570
|
-
"escape-press": () => any;
|
|
571
|
-
"reset-template": () => any;
|
|
572
|
-
"files-selected": (files: File[]) => any;
|
|
573
|
-
}, string, PublicProps, Readonly<SenderProps_2> & Readonly<{
|
|
574
|
-
onClear?: (() => any) | undefined;
|
|
575
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
576
|
-
onCancel?: (() => any) | undefined;
|
|
577
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
578
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
579
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
580
|
-
"onSpeech-start"?: (() => any) | undefined;
|
|
581
|
-
"onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
582
|
-
"onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
583
|
-
"onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
584
|
-
"onUpdate:templateData"?: ((value: UserItem[]) => any) | undefined;
|
|
585
|
-
"onSuggestion-select"?: ((value: string) => any) | undefined;
|
|
586
|
-
"onEscape-press"?: (() => any) | undefined;
|
|
587
|
-
"onReset-template"?: (() => any) | undefined;
|
|
588
|
-
"onFiles-selected"?: ((files: File[]) => any) | undefined;
|
|
589
|
-
}>, {
|
|
590
|
-
placeholder: string;
|
|
591
|
-
mode: InputMode;
|
|
592
|
-
submitType: SubmitTrigger;
|
|
593
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
594
|
-
senderRef: ({
|
|
595
|
-
$: ComponentInternalInstance;
|
|
596
|
-
$data: {};
|
|
597
|
-
$props: {
|
|
598
|
-
readonly modelValue?: string | undefined;
|
|
599
|
-
readonly defaultValue?: string | undefined;
|
|
600
|
-
readonly placeholder?: string | undefined;
|
|
601
|
-
readonly disabled?: boolean | undefined;
|
|
602
|
-
readonly loading?: boolean | undefined;
|
|
603
|
-
readonly autofocus?: boolean | undefined;
|
|
604
|
-
readonly enterkeyhint?: EnterKeyHint | undefined;
|
|
605
|
-
readonly mode?: InputMode | undefined;
|
|
606
|
-
readonly autoSize?: AutoSize | undefined;
|
|
607
|
-
readonly maxLength?: number | undefined;
|
|
608
|
-
readonly showWordLimit?: boolean | undefined;
|
|
609
|
-
readonly clearable?: boolean | undefined;
|
|
610
|
-
readonly extensions?: Extension[] | any[] | undefined;
|
|
611
|
-
readonly size?: "normal" | "small" | undefined;
|
|
612
|
-
readonly stopText?: string | undefined;
|
|
613
|
-
readonly defaultActions?: DefaultActions | undefined;
|
|
614
|
-
readonly submitType?: SubmitTrigger | undefined;
|
|
615
|
-
readonly onClear?: (() => any) | undefined;
|
|
616
|
-
readonly onInput?: ((value: string) => any) | undefined;
|
|
617
|
-
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
618
|
-
readonly onCancel?: (() => any) | undefined;
|
|
619
|
-
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
620
|
-
readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
621
|
-
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
622
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
623
|
-
$attrs: Attrs;
|
|
624
|
-
$refs: {
|
|
625
|
-
[x: string]: unknown;
|
|
626
|
-
};
|
|
627
|
-
$slots: Readonly<{
|
|
628
|
-
[name: string]: Slot<any> | undefined;
|
|
629
|
-
}>;
|
|
630
|
-
$root: ComponentPublicInstance | null;
|
|
631
|
-
$parent: ComponentPublicInstance | null;
|
|
632
|
-
$host: Element | null;
|
|
633
|
-
$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);
|
|
634
|
-
$el: HTMLDivElement;
|
|
635
|
-
$options: ComponentOptionsBase<Readonly<SenderProps> & Readonly<{
|
|
636
|
-
onClear?: (() => any) | undefined;
|
|
637
|
-
onInput?: ((value: string) => any) | undefined;
|
|
638
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
639
|
-
onCancel?: (() => any) | undefined;
|
|
640
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
641
|
-
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
642
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
643
|
-
}>, {
|
|
644
|
-
submit: () => void;
|
|
645
|
-
clear: () => void;
|
|
646
|
-
cancel: () => void;
|
|
647
|
-
focus: () => void;
|
|
648
|
-
blur: () => void;
|
|
649
|
-
setContent: (content: string) => void;
|
|
650
|
-
getContent: () => string;
|
|
651
|
-
editor: SenderContext["editor"];
|
|
652
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
653
|
-
clear: () => any;
|
|
654
|
-
input: (value: string) => any;
|
|
655
|
-
blur: (event: FocusEvent) => any;
|
|
656
|
-
cancel: () => any;
|
|
657
|
-
focus: (event: FocusEvent) => any;
|
|
658
|
-
submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
|
|
659
|
-
"update:modelValue": (value: string) => any;
|
|
660
|
-
}, string, {
|
|
661
|
-
size: "normal" | "small";
|
|
662
|
-
placeholder: string;
|
|
663
|
-
mode: InputMode;
|
|
664
|
-
enterkeyhint: EnterKeyHint;
|
|
665
|
-
autoSize: AutoSize;
|
|
666
|
-
extensions: Extension[] | any[];
|
|
667
|
-
submitType: SubmitTrigger;
|
|
668
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
669
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
670
|
-
created?: (() => void) | (() => void)[];
|
|
671
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
672
|
-
mounted?: (() => void) | (() => void)[];
|
|
673
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
674
|
-
updated?: (() => void) | (() => void)[];
|
|
675
|
-
activated?: (() => void) | (() => void)[];
|
|
676
|
-
deactivated?: (() => void) | (() => void)[];
|
|
677
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
678
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
679
|
-
destroyed?: (() => void) | (() => void)[];
|
|
680
|
-
unmounted?: (() => void) | (() => void)[];
|
|
681
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
682
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
683
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
684
|
-
};
|
|
685
|
-
$forceUpdate: () => void;
|
|
686
|
-
$nextTick: nextTick;
|
|
687
|
-
$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;
|
|
688
|
-
} & Readonly<{
|
|
689
|
-
size: "normal" | "small";
|
|
690
|
-
placeholder: string;
|
|
691
|
-
mode: InputMode;
|
|
692
|
-
enterkeyhint: EnterKeyHint;
|
|
693
|
-
autoSize: AutoSize;
|
|
694
|
-
extensions: Extension[] | any[];
|
|
695
|
-
submitType: SubmitTrigger;
|
|
696
|
-
}> & Omit<Readonly<SenderProps> & Readonly<{
|
|
697
|
-
onClear?: (() => any) | undefined;
|
|
698
|
-
onInput?: ((value: string) => any) | undefined;
|
|
699
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
700
|
-
onCancel?: (() => any) | undefined;
|
|
701
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
702
|
-
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
703
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
704
|
-
}>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
|
|
705
|
-
submit: () => void;
|
|
706
|
-
clear: () => void;
|
|
707
|
-
cancel: () => void;
|
|
708
|
-
focus: () => void;
|
|
709
|
-
blur: () => void;
|
|
710
|
-
setContent: (content: string) => void;
|
|
711
|
-
getContent: () => string;
|
|
712
|
-
editor: Editor | undefined;
|
|
713
|
-
} & {} & ComponentCustomProperties & {} & {
|
|
714
|
-
$slots: {
|
|
715
|
-
header?(_: {}): any;
|
|
716
|
-
header?(_: {}): any;
|
|
717
|
-
prefix?(_: {}): any;
|
|
718
|
-
prefix?(_: {}): any;
|
|
719
|
-
content?(_: {
|
|
720
|
-
editor: Editor | undefined;
|
|
721
|
-
}): any;
|
|
722
|
-
content?(_: {
|
|
723
|
-
editor: Ref<Editor | undefined, Editor | undefined>;
|
|
724
|
-
}): any;
|
|
725
|
-
'actions-inline'?(_: {}): any;
|
|
726
|
-
footer?(_: {}): any;
|
|
727
|
-
'footer-right'?(_: {}): any;
|
|
703
|
+
overlayEl: HTMLElement | null;
|
|
704
|
+
navEl: HTMLElement | null;
|
|
705
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
706
|
+
$slots: {
|
|
707
|
+
search?(_: {}): any;
|
|
708
|
+
default?(_: {}): any;
|
|
728
709
|
};
|
|
729
710
|
}) | null;
|
|
730
|
-
|
|
711
|
+
}, any>;
|
|
712
|
+
|
|
713
|
+
declare const __VLS_component_6: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
714
|
+
|
|
715
|
+
declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_2, {
|
|
716
|
+
update: () => void;
|
|
717
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
718
|
+
"update:show": (value: boolean) => any;
|
|
719
|
+
} & {
|
|
720
|
+
"item-click": (item: DropdownMenuItem) => any;
|
|
721
|
+
"click-outside": (event: MouseEvent) => any;
|
|
722
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
723
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
724
|
+
"onItem-click"?: ((item: DropdownMenuItem) => any) | undefined;
|
|
725
|
+
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
726
|
+
}>, {
|
|
727
|
+
trigger: "click" | "hover" | "manual";
|
|
728
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
729
|
+
basePopperRef: ({
|
|
731
730
|
$: ComponentInternalInstance;
|
|
732
731
|
$data: {};
|
|
733
732
|
$props: {
|
|
734
|
-
readonly
|
|
735
|
-
readonly
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
readonly
|
|
740
|
-
readonly
|
|
741
|
-
readonly
|
|
742
|
-
readonly
|
|
743
|
-
readonly
|
|
744
|
-
readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
745
|
-
readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
746
|
-
readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
747
|
-
readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
|
|
733
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
734
|
+
readonly offset?: number | {
|
|
735
|
+
mainAxis?: number;
|
|
736
|
+
crossAxis?: number;
|
|
737
|
+
} | undefined;
|
|
738
|
+
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
739
|
+
readonly preventOverflow?: boolean | undefined;
|
|
740
|
+
readonly show?: boolean | undefined;
|
|
741
|
+
readonly transitionProps?: TransitionProps | undefined;
|
|
742
|
+
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
748
743
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
749
744
|
$attrs: Attrs;
|
|
750
745
|
$refs: {
|
|
@@ -756,27 +751,25 @@ $slots: Readonly<{
|
|
|
756
751
|
$root: ComponentPublicInstance | null;
|
|
757
752
|
$parent: ComponentPublicInstance | null;
|
|
758
753
|
$host: Element | null;
|
|
759
|
-
$emit: (
|
|
754
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
760
755
|
$el: any;
|
|
761
|
-
$options: ComponentOptionsBase<Readonly<
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
tooltipPlacement: TooltipPlacement;
|
|
779
|
-
autoInsert: boolean;
|
|
756
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
757
|
+
appendTo?: string | HTMLElement;
|
|
758
|
+
offset?: number | {
|
|
759
|
+
mainAxis?: number;
|
|
760
|
+
crossAxis?: number;
|
|
761
|
+
};
|
|
762
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
763
|
+
preventOverflow?: boolean;
|
|
764
|
+
show?: boolean;
|
|
765
|
+
transitionProps?: TransitionProps;
|
|
766
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
767
|
+
}> & Readonly<{}>, {
|
|
768
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
769
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
770
|
+
update: () => void;
|
|
771
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
772
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
780
773
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
781
774
|
beforeCreate?: (() => void) | (() => void)[];
|
|
782
775
|
created?: (() => void) | (() => void)[];
|
|
@@ -798,30 +791,40 @@ $forceUpdate: () => void;
|
|
|
798
791
|
$nextTick: nextTick;
|
|
799
792
|
$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;
|
|
800
793
|
} & Readonly<{
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
"
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
794
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
795
|
+
}> & Omit<Readonly<{
|
|
796
|
+
appendTo?: string | HTMLElement;
|
|
797
|
+
offset?: number | {
|
|
798
|
+
mainAxis?: number;
|
|
799
|
+
crossAxis?: number;
|
|
800
|
+
};
|
|
801
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
802
|
+
preventOverflow?: boolean;
|
|
803
|
+
show?: boolean;
|
|
804
|
+
transitionProps?: TransitionProps;
|
|
805
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
806
|
+
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
|
|
807
|
+
triggerRef: HTMLElement | SVGElement | null | undefined;
|
|
808
|
+
popperRef: HTMLDivElement | null;
|
|
809
|
+
update: () => void;
|
|
813
810
|
} & {} & ComponentCustomProperties & {} & {
|
|
814
|
-
$slots: {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
stop: () => void;
|
|
821
|
-
}): any;
|
|
811
|
+
$slots: Readonly<{
|
|
812
|
+
trigger?: () => VNode[];
|
|
813
|
+
content?: () => VNode[];
|
|
814
|
+
}> & {
|
|
815
|
+
trigger?: () => VNode[];
|
|
816
|
+
content?: () => VNode[];
|
|
822
817
|
};
|
|
823
818
|
}) | null;
|
|
824
|
-
},
|
|
819
|
+
}, any>;
|
|
820
|
+
|
|
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, {} & {
|
|
824
|
+
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
825
|
+
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
826
|
+
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
827
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
825
828
|
|
|
826
829
|
declare type __VLS_PrettifyLocal<T> = {
|
|
827
830
|
[K in keyof T]: T[K];
|
|
@@ -876,42 +879,46 @@ declare function __VLS_template(): {
|
|
|
876
879
|
|
|
877
880
|
declare function __VLS_template_10(): {
|
|
878
881
|
attrs: Partial<{}>;
|
|
879
|
-
slots:
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
containerRef: HTMLDivElement;
|
|
890
|
-
staticMaybeItemRefs: unknown[];
|
|
891
|
-
floatingItemsRef: HTMLDivElement;
|
|
892
|
-
floatingMaybeItemRefs: unknown[];
|
|
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;
|
|
893
892
|
};
|
|
894
|
-
rootEl: HTMLDivElement;
|
|
895
|
-
};
|
|
896
|
-
|
|
897
|
-
declare function __VLS_template_12(): {
|
|
898
|
-
attrs: Partial<{}>;
|
|
899
|
-
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
900
893
|
refs: {
|
|
901
|
-
|
|
894
|
+
senderRef: ({
|
|
902
895
|
$: ComponentInternalInstance;
|
|
903
896
|
$data: {};
|
|
904
897
|
$props: {
|
|
905
|
-
readonly
|
|
906
|
-
readonly
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
readonly
|
|
911
|
-
readonly
|
|
912
|
-
readonly
|
|
913
|
-
readonly
|
|
914
|
-
readonly
|
|
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;
|
|
915
922
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
916
923
|
$attrs: Attrs;
|
|
917
924
|
$refs: {
|
|
@@ -923,25 +930,41 @@ declare function __VLS_template_12(): {
|
|
|
923
930
|
$root: ComponentPublicInstance | null;
|
|
924
931
|
$parent: ComponentPublicInstance | null;
|
|
925
932
|
$host: Element | null;
|
|
926
|
-
$emit: (event: string,
|
|
927
|
-
$el:
|
|
928
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
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;
|
|
945
968
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
946
969
|
beforeCreate?: (() => void) | (() => void)[];
|
|
947
970
|
created?: (() => void) | (() => void)[];
|
|
@@ -963,157 +986,69 @@ declare function __VLS_template_12(): {
|
|
|
963
986
|
$nextTick: nextTick;
|
|
964
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;
|
|
965
988
|
} & Readonly<{
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
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;
|
|
982
1013
|
} & {} & ComponentCustomProperties & {} & {
|
|
983
|
-
$slots:
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
content
|
|
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;
|
|
989
1028
|
};
|
|
990
1029
|
}) | null;
|
|
991
|
-
|
|
992
|
-
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
993
|
-
show?: TooltipContentProps["show"];
|
|
994
|
-
} & TooltipContentProps> & Readonly<{
|
|
995
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
996
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
997
|
-
"update:show": (value: boolean | undefined) => any;
|
|
998
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
999
|
-
P: {};
|
|
1000
|
-
B: {};
|
|
1001
|
-
D: {};
|
|
1002
|
-
C: {};
|
|
1003
|
-
M: {};
|
|
1004
|
-
Defaults: {};
|
|
1005
|
-
}, Readonly<{
|
|
1006
|
-
show?: TooltipContentProps["show"];
|
|
1007
|
-
} & TooltipContentProps> & Readonly<{
|
|
1008
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1009
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
1010
|
-
};
|
|
1011
|
-
rootEl: any;
|
|
1012
|
-
};
|
|
1013
|
-
|
|
1014
|
-
declare function __VLS_template_13(): {
|
|
1015
|
-
attrs: Partial<{}>;
|
|
1016
|
-
slots: {
|
|
1017
|
-
default?(_: {}): any;
|
|
1018
|
-
};
|
|
1019
|
-
refs: {};
|
|
1020
|
-
rootEl: any;
|
|
1021
|
-
};
|
|
1022
|
-
|
|
1023
|
-
declare function __VLS_template_14(): {
|
|
1024
|
-
attrs: Partial<{}>;
|
|
1025
|
-
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
1026
|
-
refs: {};
|
|
1027
|
-
rootEl: HTMLDivElement;
|
|
1028
|
-
};
|
|
1029
|
-
|
|
1030
|
-
declare function __VLS_template_15(): {
|
|
1031
|
-
attrs: Partial<{}>;
|
|
1032
|
-
slots: {
|
|
1033
|
-
'header-actions'?(_: {}): any;
|
|
1034
|
-
};
|
|
1035
|
-
refs: {};
|
|
1036
|
-
rootEl: any;
|
|
1037
|
-
};
|
|
1038
|
-
|
|
1039
|
-
declare function __VLS_template_16(): {
|
|
1040
|
-
attrs: Partial<{}>;
|
|
1041
|
-
slots: {
|
|
1042
|
-
icon?(_: {}): any;
|
|
1043
|
-
icon?(_: {}): any;
|
|
1044
|
-
};
|
|
1045
|
-
refs: {};
|
|
1046
|
-
rootEl: any;
|
|
1047
|
-
};
|
|
1048
|
-
|
|
1049
|
-
declare function __VLS_template_17(): {
|
|
1050
|
-
attrs: Partial<{}>;
|
|
1051
|
-
slots: {
|
|
1052
|
-
icon?(_: {
|
|
1053
|
-
isRecording: boolean;
|
|
1054
|
-
}): any;
|
|
1055
|
-
'recording-overlay'?(_: {
|
|
1056
|
-
isRecording: boolean;
|
|
1057
|
-
stop: () => void;
|
|
1058
|
-
}): any;
|
|
1059
|
-
};
|
|
1060
|
-
refs: {};
|
|
1061
|
-
rootEl: any;
|
|
1062
|
-
};
|
|
1063
|
-
|
|
1064
|
-
declare function __VLS_template_18(): {
|
|
1065
|
-
attrs: Partial<{}>;
|
|
1066
|
-
slots: {
|
|
1067
|
-
prepend?(_: {}): any;
|
|
1068
|
-
};
|
|
1069
|
-
refs: {};
|
|
1070
|
-
rootEl: any;
|
|
1071
|
-
};
|
|
1072
|
-
|
|
1073
|
-
declare function __VLS_template_2(): {
|
|
1074
|
-
attrs: Partial<{}>;
|
|
1075
|
-
slots: Readonly<BubbleListSlots> & BubbleListSlots;
|
|
1076
|
-
refs: {
|
|
1077
|
-
listRef: HTMLDivElement;
|
|
1078
|
-
};
|
|
1079
|
-
rootEl: HTMLDivElement;
|
|
1080
|
-
};
|
|
1081
|
-
|
|
1082
|
-
declare function __VLS_template_3(): {
|
|
1083
|
-
attrs: Partial<{}>;
|
|
1084
|
-
slots: {
|
|
1085
|
-
default?(_: {}): any;
|
|
1086
|
-
};
|
|
1087
|
-
refs: {};
|
|
1088
|
-
rootEl: any;
|
|
1089
|
-
};
|
|
1090
|
-
|
|
1091
|
-
declare function __VLS_template_4(): {
|
|
1092
|
-
attrs: Partial<{}>;
|
|
1093
|
-
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
1094
|
-
refs: {};
|
|
1095
|
-
rootEl: HTMLDivElement;
|
|
1096
|
-
};
|
|
1097
|
-
|
|
1098
|
-
declare function __VLS_template_5(): {
|
|
1099
|
-
attrs: Partial<{}>;
|
|
1100
|
-
slots: Readonly<AnchorSlots> & AnchorSlots;
|
|
1101
|
-
refs: {
|
|
1102
|
-
overlayShellRef: ({
|
|
1030
|
+
voiceRef: ({
|
|
1103
1031
|
$: ComponentInternalInstance;
|
|
1104
1032
|
$data: {};
|
|
1105
1033
|
$props: {
|
|
1106
|
-
readonly
|
|
1107
|
-
readonly
|
|
1108
|
-
readonly
|
|
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;
|
|
1109
1048
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1110
1049
|
$attrs: Attrs;
|
|
1111
1050
|
$refs: {
|
|
1112
1051
|
[x: string]: unknown;
|
|
1113
|
-
} & {
|
|
1114
|
-
hostEl: HTMLDivElement;
|
|
1115
|
-
overlayEl: HTMLDivElement;
|
|
1116
|
-
navEl: HTMLElement;
|
|
1117
1052
|
};
|
|
1118
1053
|
$slots: Readonly<{
|
|
1119
1054
|
[name: string]: Slot<any> | undefined;
|
|
@@ -1121,14 +1056,27 @@ declare function __VLS_template_5(): {
|
|
|
1121
1056
|
$root: ComponentPublicInstance | null;
|
|
1122
1057
|
$parent: ComponentPublicInstance | null;
|
|
1123
1058
|
$host: Element | null;
|
|
1124
|
-
$emit: (event: string,
|
|
1125
|
-
$el:
|
|
1126
|
-
$options: ComponentOptionsBase<Readonly<
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
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;
|
|
1132
1080
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1133
1081
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1134
1082
|
created?: (() => void) | (() => void)[];
|
|
@@ -1150,37 +1098,56 @@ declare function __VLS_template_5(): {
|
|
|
1150
1098
|
$nextTick: nextTick;
|
|
1151
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;
|
|
1152
1100
|
} & Readonly<{
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
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;
|
|
1158
1113
|
} & {} & ComponentCustomProperties & {} & {
|
|
1159
1114
|
$slots: {
|
|
1160
|
-
|
|
1161
|
-
|
|
1115
|
+
icon?(_: {
|
|
1116
|
+
isRecording: boolean;
|
|
1117
|
+
}): any;
|
|
1118
|
+
'recording-overlay'?(_: {
|
|
1119
|
+
isRecording: boolean;
|
|
1120
|
+
stop: () => void;
|
|
1121
|
+
}): any;
|
|
1162
1122
|
};
|
|
1163
1123
|
}) | null;
|
|
1164
1124
|
};
|
|
1165
|
-
rootEl:
|
|
1125
|
+
rootEl: HTMLDivElement;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
declare function __VLS_template_11(): {
|
|
1129
|
+
attrs: Partial<{}>;
|
|
1130
|
+
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
1131
|
+
refs: {};
|
|
1132
|
+
rootEl: HTMLButtonElement;
|
|
1166
1133
|
};
|
|
1167
1134
|
|
|
1168
|
-
declare function
|
|
1135
|
+
declare function __VLS_template_12(): {
|
|
1169
1136
|
attrs: Partial<{}>;
|
|
1170
|
-
slots:
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1137
|
+
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
1138
|
+
refs: {
|
|
1139
|
+
containerWrapperRef: HTMLDivElement;
|
|
1140
|
+
containerRef: HTMLDivElement;
|
|
1141
|
+
staticMaybeItemRefs: unknown[];
|
|
1142
|
+
floatingItemsRef: HTMLDivElement;
|
|
1143
|
+
floatingMaybeItemRefs: unknown[];
|
|
1174
1144
|
};
|
|
1175
|
-
|
|
1176
|
-
rootEl: any;
|
|
1145
|
+
rootEl: HTMLDivElement;
|
|
1177
1146
|
};
|
|
1178
1147
|
|
|
1179
|
-
declare function
|
|
1148
|
+
declare function __VLS_template_13(): {
|
|
1180
1149
|
attrs: Partial<{}>;
|
|
1181
|
-
slots:
|
|
1182
|
-
trigger?(_: {}): any;
|
|
1183
|
-
};
|
|
1150
|
+
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
1184
1151
|
refs: {
|
|
1185
1152
|
basePopperRef: ({
|
|
1186
1153
|
$: ComponentInternalInstance;
|
|
@@ -1272,63 +1239,132 @@ declare function __VLS_template_7(): {
|
|
|
1272
1239
|
content?: () => VNode[];
|
|
1273
1240
|
};
|
|
1274
1241
|
}) | null;
|
|
1242
|
+
listRef: HTMLUListElement;
|
|
1243
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1244
|
+
show?: TooltipContentProps["show"];
|
|
1245
|
+
} & TooltipContentProps> & Readonly<{
|
|
1246
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1247
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1248
|
+
"update:show": (value: boolean | undefined) => any;
|
|
1249
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1250
|
+
P: {};
|
|
1251
|
+
B: {};
|
|
1252
|
+
D: {};
|
|
1253
|
+
C: {};
|
|
1254
|
+
M: {};
|
|
1255
|
+
Defaults: {};
|
|
1256
|
+
}, Readonly<{
|
|
1257
|
+
show?: TooltipContentProps["show"];
|
|
1258
|
+
} & TooltipContentProps> & Readonly<{
|
|
1259
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1260
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
1275
1261
|
};
|
|
1276
1262
|
rootEl: any;
|
|
1277
1263
|
};
|
|
1278
1264
|
|
|
1279
|
-
declare function
|
|
1265
|
+
declare function __VLS_template_14(): {
|
|
1280
1266
|
attrs: Partial<{}>;
|
|
1281
|
-
slots:
|
|
1267
|
+
slots: {
|
|
1268
|
+
default?(_: {}): any;
|
|
1269
|
+
};
|
|
1270
|
+
refs: {};
|
|
1271
|
+
rootEl: any;
|
|
1272
|
+
};
|
|
1273
|
+
|
|
1274
|
+
declare function __VLS_template_15(): {
|
|
1275
|
+
attrs: Partial<{}>;
|
|
1276
|
+
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
1282
1277
|
refs: {};
|
|
1283
1278
|
rootEl: HTMLDivElement;
|
|
1284
1279
|
};
|
|
1285
1280
|
|
|
1286
|
-
declare function
|
|
1281
|
+
declare function __VLS_template_16(): {
|
|
1287
1282
|
attrs: Partial<{}>;
|
|
1288
1283
|
slots: {
|
|
1289
|
-
header?(_: {}): any;
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1284
|
+
'header-actions'?(_: {}): any;
|
|
1285
|
+
};
|
|
1286
|
+
refs: {};
|
|
1287
|
+
rootEl: any;
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
declare function __VLS_template_17(): {
|
|
1291
|
+
attrs: Partial<{}>;
|
|
1292
|
+
slots: {
|
|
1293
|
+
icon?(_: {}): any;
|
|
1294
|
+
icon?(_: {}): any;
|
|
1295
|
+
};
|
|
1296
|
+
refs: {};
|
|
1297
|
+
rootEl: any;
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
declare function __VLS_template_18(): {
|
|
1301
|
+
attrs: Partial<{}>;
|
|
1302
|
+
slots: {
|
|
1303
|
+
icon?(_: {
|
|
1304
|
+
isRecording: boolean;
|
|
1293
1305
|
}): any;
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
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;
|
|
1298
1319
|
};
|
|
1320
|
+
refs: {};
|
|
1321
|
+
rootEl: any;
|
|
1322
|
+
};
|
|
1323
|
+
|
|
1324
|
+
declare function __VLS_template_2(): {
|
|
1325
|
+
attrs: Partial<{}>;
|
|
1326
|
+
slots: Readonly<BubbleListSlots> & BubbleListSlots;
|
|
1299
1327
|
refs: {
|
|
1300
|
-
|
|
1328
|
+
listRef: HTMLDivElement;
|
|
1329
|
+
};
|
|
1330
|
+
rootEl: HTMLDivElement;
|
|
1331
|
+
};
|
|
1332
|
+
|
|
1333
|
+
declare function __VLS_template_3(): {
|
|
1334
|
+
attrs: Partial<{}>;
|
|
1335
|
+
slots: {
|
|
1336
|
+
default?(_: {}): any;
|
|
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;
|
|
1352
|
+
refs: {
|
|
1353
|
+
overlayShellRef: ({
|
|
1301
1354
|
$: ComponentInternalInstance;
|
|
1302
1355
|
$data: {};
|
|
1303
1356
|
$props: {
|
|
1304
|
-
readonly
|
|
1305
|
-
readonly
|
|
1306
|
-
readonly
|
|
1307
|
-
readonly disabled?: boolean | undefined;
|
|
1308
|
-
readonly loading?: boolean | undefined;
|
|
1309
|
-
readonly autofocus?: boolean | undefined;
|
|
1310
|
-
readonly enterkeyhint?: EnterKeyHint | undefined;
|
|
1311
|
-
readonly mode?: InputMode | undefined;
|
|
1312
|
-
readonly autoSize?: AutoSize | undefined;
|
|
1313
|
-
readonly maxLength?: number | undefined;
|
|
1314
|
-
readonly showWordLimit?: boolean | undefined;
|
|
1315
|
-
readonly clearable?: boolean | undefined;
|
|
1316
|
-
readonly extensions?: Extension[] | any[] | undefined;
|
|
1317
|
-
readonly size?: "normal" | "small" | undefined;
|
|
1318
|
-
readonly stopText?: string | undefined;
|
|
1319
|
-
readonly defaultActions?: DefaultActions | undefined;
|
|
1320
|
-
readonly submitType?: SubmitTrigger | undefined;
|
|
1321
|
-
readonly onClear?: (() => any) | undefined;
|
|
1322
|
-
readonly onInput?: ((value: string) => any) | undefined;
|
|
1323
|
-
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1324
|
-
readonly onCancel?: (() => any) | undefined;
|
|
1325
|
-
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1326
|
-
readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
1327
|
-
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1357
|
+
readonly expanded: boolean;
|
|
1358
|
+
readonly placement: AnchorPlacement;
|
|
1359
|
+
readonly floatingOffset?: number | undefined;
|
|
1328
1360
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1329
1361
|
$attrs: Attrs;
|
|
1330
1362
|
$refs: {
|
|
1331
1363
|
[x: string]: unknown;
|
|
1364
|
+
} & {
|
|
1365
|
+
hostEl: HTMLDivElement;
|
|
1366
|
+
overlayEl: HTMLDivElement;
|
|
1367
|
+
navEl: HTMLElement;
|
|
1332
1368
|
};
|
|
1333
1369
|
$slots: Readonly<{
|
|
1334
1370
|
[name: string]: Slot<any> | undefined;
|
|
@@ -1336,41 +1372,14 @@ declare function __VLS_template_9(): {
|
|
|
1336
1372
|
$root: ComponentPublicInstance | null;
|
|
1337
1373
|
$parent: ComponentPublicInstance | null;
|
|
1338
1374
|
$host: Element | null;
|
|
1339
|
-
$emit: (
|
|
1375
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1340
1376
|
$el: HTMLDivElement;
|
|
1341
|
-
$options: ComponentOptionsBase<Readonly<
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
1348
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1349
|
-
}>, {
|
|
1350
|
-
submit: () => void;
|
|
1351
|
-
clear: () => void;
|
|
1352
|
-
cancel: () => void;
|
|
1353
|
-
focus: () => void;
|
|
1354
|
-
blur: () => void;
|
|
1355
|
-
setContent: (content: string) => void;
|
|
1356
|
-
getContent: () => string;
|
|
1357
|
-
editor: SenderContext["editor"];
|
|
1358
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1359
|
-
clear: () => any;
|
|
1360
|
-
input: (value: string) => any;
|
|
1361
|
-
blur: (event: FocusEvent) => any;
|
|
1362
|
-
cancel: () => any;
|
|
1363
|
-
focus: (event: FocusEvent) => any;
|
|
1364
|
-
submit: (textContent: string, structuredData?: StructuredData | undefined) => any;
|
|
1365
|
-
"update:modelValue": (value: string) => any;
|
|
1366
|
-
}, string, {
|
|
1367
|
-
size: "normal" | "small";
|
|
1368
|
-
placeholder: string;
|
|
1369
|
-
mode: InputMode;
|
|
1370
|
-
enterkeyhint: EnterKeyHint;
|
|
1371
|
-
autoSize: AutoSize;
|
|
1372
|
-
extensions: Extension[] | any[];
|
|
1373
|
-
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;
|
|
1374
1383
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1375
1384
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1376
1385
|
created?: (() => void) | (() => void)[];
|
|
@@ -1392,65 +1401,52 @@ declare function __VLS_template_9(): {
|
|
|
1392
1401
|
$nextTick: nextTick;
|
|
1393
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;
|
|
1394
1403
|
} & Readonly<{
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
extensions: Extension[] | any[];
|
|
1401
|
-
submitType: SubmitTrigger;
|
|
1402
|
-
}> & Omit<Readonly<SenderProps> & Readonly<{
|
|
1403
|
-
onClear?: (() => any) | undefined;
|
|
1404
|
-
onInput?: ((value: string) => any) | undefined;
|
|
1405
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1406
|
-
onCancel?: (() => any) | undefined;
|
|
1407
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1408
|
-
onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
|
|
1409
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1410
|
-
}>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
|
|
1411
|
-
submit: () => void;
|
|
1412
|
-
clear: () => void;
|
|
1413
|
-
cancel: () => void;
|
|
1414
|
-
focus: () => void;
|
|
1415
|
-
blur: () => void;
|
|
1416
|
-
setContent: (content: string) => void;
|
|
1417
|
-
getContent: () => string;
|
|
1418
|
-
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;
|
|
1419
1409
|
} & {} & ComponentCustomProperties & {} & {
|
|
1420
1410
|
$slots: {
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
prefix?(_: {}): any;
|
|
1424
|
-
prefix?(_: {}): any;
|
|
1425
|
-
content?(_: {
|
|
1426
|
-
editor: Editor | undefined;
|
|
1427
|
-
}): any;
|
|
1428
|
-
content?(_: {
|
|
1429
|
-
editor: Ref<Editor | undefined, Editor | undefined>;
|
|
1430
|
-
}): any;
|
|
1431
|
-
'actions-inline'?(_: {}): any;
|
|
1432
|
-
footer?(_: {}): any;
|
|
1433
|
-
'footer-right'?(_: {}): any;
|
|
1411
|
+
search?(_: {}): any;
|
|
1412
|
+
default?(_: {}): any;
|
|
1434
1413
|
};
|
|
1435
1414
|
}) | null;
|
|
1436
|
-
|
|
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: ({
|
|
1437
1437
|
$: ComponentInternalInstance;
|
|
1438
1438
|
$data: {};
|
|
1439
1439
|
$props: {
|
|
1440
|
-
readonly
|
|
1441
|
-
readonly
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
readonly
|
|
1446
|
-
readonly
|
|
1447
|
-
readonly
|
|
1448
|
-
readonly
|
|
1449
|
-
readonly
|
|
1450
|
-
readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined;
|
|
1451
|
-
readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
|
|
1452
|
-
readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
|
|
1453
|
-
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;
|
|
1454
1450
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1455
1451
|
$attrs: Attrs;
|
|
1456
1452
|
$refs: {
|
|
@@ -1462,27 +1458,25 @@ declare function __VLS_template_9(): {
|
|
|
1462
1458
|
$root: ComponentPublicInstance | null;
|
|
1463
1459
|
$parent: ComponentPublicInstance | null;
|
|
1464
1460
|
$host: Element | null;
|
|
1465
|
-
$emit: (
|
|
1461
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1466
1462
|
$el: any;
|
|
1467
|
-
$options: ComponentOptionsBase<Readonly<
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
tooltipPlacement: TooltipPlacement;
|
|
1485
|
-
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";
|
|
1486
1480
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1487
1481
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1488
1482
|
created?: (() => void) | (() => void)[];
|
|
@@ -1504,30 +1498,50 @@ declare function __VLS_template_9(): {
|
|
|
1504
1498
|
$nextTick: nextTick;
|
|
1505
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;
|
|
1506
1500
|
} & Readonly<{
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
"
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
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;
|
|
1519
1517
|
} & {} & ComponentCustomProperties & {} & {
|
|
1520
|
-
$slots: {
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
stop: () => void;
|
|
1527
|
-
}): any;
|
|
1518
|
+
$slots: Readonly<{
|
|
1519
|
+
trigger?: () => VNode[];
|
|
1520
|
+
content?: () => VNode[];
|
|
1521
|
+
}> & {
|
|
1522
|
+
trigger?: () => VNode[];
|
|
1523
|
+
content?: () => VNode[];
|
|
1528
1524
|
};
|
|
1529
1525
|
}) | null;
|
|
1530
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: {};
|
|
1531
1545
|
rootEl: HTMLDivElement;
|
|
1532
1546
|
};
|
|
1533
1547
|
|
|
@@ -1551,6 +1565,8 @@ declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
|
|
|
1551
1565
|
|
|
1552
1566
|
declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
|
|
1553
1567
|
|
|
1568
|
+
declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
|
|
1569
|
+
|
|
1554
1570
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1555
1571
|
|
|
1556
1572
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1627,6 +1643,12 @@ declare type __VLS_WithTemplateSlots_18<T, S> = T & {
|
|
|
1627
1643
|
};
|
|
1628
1644
|
};
|
|
1629
1645
|
|
|
1646
|
+
declare type __VLS_WithTemplateSlots_19<T, S> = T & {
|
|
1647
|
+
new (): {
|
|
1648
|
+
$slots: S;
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1630
1652
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1631
1653
|
new (): {
|
|
1632
1654
|
$slots: S;
|
|
@@ -1888,6 +1910,22 @@ export declare type BubbleContentRendererProps<T extends ChatMessageContent = Ch
|
|
|
1888
1910
|
contentIndex: number;
|
|
1889
1911
|
};
|
|
1890
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
|
+
|
|
1891
1929
|
/**
|
|
1892
1930
|
* 自定义分组函数类型
|
|
1893
1931
|
*/
|
|
@@ -1965,7 +2003,11 @@ export declare type BubbleMessageGroup = {
|
|
|
1965
2003
|
role: string;
|
|
1966
2004
|
messages: BubbleMessage[];
|
|
1967
2005
|
messageIndexes: number[];
|
|
1968
|
-
|
|
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;
|
|
1969
2011
|
};
|
|
1970
2012
|
|
|
1971
2013
|
export declare type BubbleProps = BubbleMessage & {
|
|
@@ -2128,6 +2170,13 @@ export declare interface BubbleSlots {
|
|
|
2128
2170
|
}) => VNode | VNode[];
|
|
2129
2171
|
}
|
|
2130
2172
|
|
|
2173
|
+
declare type BubbleStateChangePayload = {
|
|
2174
|
+
key: string;
|
|
2175
|
+
value: unknown;
|
|
2176
|
+
messageIndex: number;
|
|
2177
|
+
contentIndex: number;
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2131
2180
|
declare interface ButtonGroupConfig {
|
|
2132
2181
|
file?: ControlState & fileUploadConfig;
|
|
2133
2182
|
submit?: ControlState;
|
|
@@ -2211,49 +2260,49 @@ declare const _default_10: typeof _default_36 & {
|
|
|
2211
2260
|
export { _default_10 as IconButton }
|
|
2212
2261
|
export { _default_10 as TrIconButton }
|
|
2213
2262
|
|
|
2214
|
-
declare const _default_11: typeof
|
|
2263
|
+
declare const _default_11: typeof _default_41 & {
|
|
2215
2264
|
install: typeof install_10;
|
|
2216
2265
|
};
|
|
2217
2266
|
export { _default_11 as SenderCompat }
|
|
2218
2267
|
export { _default_11 as TrSenderCompat }
|
|
2219
2268
|
|
|
2220
|
-
declare const _default_12: typeof
|
|
2269
|
+
declare const _default_12: typeof _default_43 & {
|
|
2221
2270
|
install: typeof install_11;
|
|
2222
2271
|
};
|
|
2223
2272
|
export { _default_12 as SuggestionPills }
|
|
2224
2273
|
export { _default_12 as TrSuggestionPills }
|
|
2225
2274
|
|
|
2226
|
-
declare const _default_13: typeof
|
|
2275
|
+
declare const _default_13: typeof _default_44 & {
|
|
2227
2276
|
install: typeof install_12;
|
|
2228
2277
|
};
|
|
2229
2278
|
export { _default_13 as SuggestionPopover }
|
|
2230
2279
|
export { _default_13 as TrSuggestionPopover }
|
|
2231
2280
|
|
|
2232
|
-
declare const _default_14: typeof
|
|
2281
|
+
declare const _default_14: typeof _default_45 & {
|
|
2233
2282
|
install: typeof install_13;
|
|
2234
2283
|
};
|
|
2235
2284
|
export { _default_14 as ThemeProvider }
|
|
2236
2285
|
export { _default_14 as TrThemeProvider }
|
|
2237
2286
|
|
|
2238
|
-
declare const _default_15: typeof
|
|
2287
|
+
declare const _default_15: typeof _default_46 & {
|
|
2239
2288
|
install: typeof install_14;
|
|
2240
2289
|
};
|
|
2241
2290
|
export { _default_15 as TrWelcome }
|
|
2242
2291
|
export { _default_15 as Welcome }
|
|
2243
2292
|
|
|
2244
|
-
declare const _default_16: typeof
|
|
2293
|
+
declare const _default_16: typeof _default_47 & {
|
|
2245
2294
|
install: typeof install_15;
|
|
2246
2295
|
};
|
|
2247
2296
|
export { _default_16 as McpServerPicker }
|
|
2248
2297
|
export { _default_16 as TrMcpServerPicker }
|
|
2249
2298
|
|
|
2250
|
-
declare const _default_17: typeof
|
|
2299
|
+
declare const _default_17: typeof _default_48 & {
|
|
2251
2300
|
install: typeof install_16;
|
|
2252
2301
|
};
|
|
2253
2302
|
export { _default_17 as McpAddForm }
|
|
2254
2303
|
export { _default_17 as TrMcpAddForm }
|
|
2255
2304
|
|
|
2256
|
-
declare const _default_18:
|
|
2305
|
+
declare const _default_18: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
2257
2306
|
export { _default_18 as ActionButton }
|
|
2258
2307
|
export { _default_18 as TrActionButton }
|
|
2259
2308
|
|
|
@@ -2288,7 +2337,7 @@ accept: string;
|
|
|
2288
2337
|
export { _default_21 as TrUploadButton }
|
|
2289
2338
|
export { _default_21 as UploadButton }
|
|
2290
2339
|
|
|
2291
|
-
declare const _default_22:
|
|
2340
|
+
declare const _default_22: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
2292
2341
|
export { _default_22 as TrVoiceButton }
|
|
2293
2342
|
export { _default_22 as VoiceButton }
|
|
2294
2343
|
|
|
@@ -2296,7 +2345,7 @@ declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOpti
|
|
|
2296
2345
|
export { _default_23 as TrWordCounter }
|
|
2297
2346
|
export { _default_23 as WordCounter }
|
|
2298
2347
|
|
|
2299
|
-
declare const _default_24:
|
|
2348
|
+
declare const _default_24: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
2300
2349
|
export { _default_24 as DefaultActionButtons }
|
|
2301
2350
|
export { _default_24 as TrDefaultActionButtons }
|
|
2302
2351
|
|
|
@@ -2379,13 +2428,16 @@ size: string | number;
|
|
|
2379
2428
|
svgSize: string | number;
|
|
2380
2429
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2381
2430
|
|
|
2382
|
-
declare const _default_37: DefineComponent<
|
|
2383
|
-
|
|
2384
|
-
|
|
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>;
|
|
2385
2435
|
|
|
2386
2436
|
declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2387
2437
|
|
|
2388
|
-
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>;
|
|
2389
2441
|
|
|
2390
2442
|
declare const _default_4: typeof _default_30 & {
|
|
2391
2443
|
install: typeof install_3;
|
|
@@ -2393,19 +2445,23 @@ declare const _default_4: typeof _default_30 & {
|
|
|
2393
2445
|
export { _default_4 as Anchor }
|
|
2394
2446
|
export { _default_4 as TrAnchor }
|
|
2395
2447
|
|
|
2396
|
-
declare const _default_40:
|
|
2448
|
+
declare const _default_40: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2449
|
+
|
|
2450
|
+
declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2451
|
+
|
|
2452
|
+
declare const _default_42: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2397
2453
|
|
|
2398
|
-
declare const
|
|
2454
|
+
declare const _default_43: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
2399
2455
|
|
|
2400
|
-
declare const
|
|
2456
|
+
declare const _default_44: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
2401
2457
|
|
|
2402
|
-
declare const
|
|
2458
|
+
declare const _default_45: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2403
2459
|
|
|
2404
|
-
declare const
|
|
2460
|
+
declare const _default_46: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
2405
2461
|
|
|
2406
|
-
declare const
|
|
2462
|
+
declare const _default_47: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
2407
2463
|
|
|
2408
|
-
declare const
|
|
2464
|
+
declare const _default_48: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2409
2465
|
cancel: () => any;
|
|
2410
2466
|
confirm: (type: AddType, data: string | McpAddFormData) => any;
|
|
2411
2467
|
"update:addType": (value: AddType) => any;
|
|
@@ -2868,6 +2924,169 @@ export declare interface KeyboardHandlers {
|
|
|
2868
2924
|
submit: () => void;
|
|
2869
2925
|
}
|
|
2870
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
|
+
|
|
2871
3090
|
export declare interface MarketCategoryOption {
|
|
2872
3091
|
value: string;
|
|
2873
3092
|
label: string;
|
|
@@ -3081,7 +3300,7 @@ export declare interface PopupConfig {
|
|
|
3081
3300
|
};
|
|
3082
3301
|
}
|
|
3083
3302
|
|
|
3084
|
-
declare const Prompt: typeof
|
|
3303
|
+
declare const Prompt: typeof _default_39 & {
|
|
3085
3304
|
install: typeof installPrompt;
|
|
3086
3305
|
};
|
|
3087
3306
|
export { Prompt }
|
|
@@ -3118,7 +3337,7 @@ export declare interface PromptProps {
|
|
|
3118
3337
|
size?: 'small' | 'medium' | 'large';
|
|
3119
3338
|
}
|
|
3120
3339
|
|
|
3121
|
-
declare const Prompts: typeof
|
|
3340
|
+
declare const Prompts: typeof _default_40 & {
|
|
3122
3341
|
install: typeof installPrompts;
|
|
3123
3342
|
};
|
|
3124
3343
|
export { Prompts }
|
|
@@ -4199,7 +4418,7 @@ export declare interface SuggestionOptions {
|
|
|
4199
4418
|
onSelect?: (item: SenderSuggestionItem) => void | false;
|
|
4200
4419
|
}
|
|
4201
4420
|
|
|
4202
|
-
declare const SuggestionPillButton: typeof
|
|
4421
|
+
declare const SuggestionPillButton: typeof _default_42 & {
|
|
4203
4422
|
install: typeof installPillButton;
|
|
4204
4423
|
};
|
|
4205
4424
|
export { SuggestionPillButton }
|
|
@@ -4667,7 +4886,9 @@ export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<Bubbl
|
|
|
4667
4886
|
attributes?: BubbleAttributes;
|
|
4668
4887
|
}>;
|
|
4669
4888
|
|
|
4670
|
-
export declare function
|
|
4889
|
+
export declare function useBubbleEventFn(): (event: BubbleEvent) => void;
|
|
4890
|
+
|
|
4891
|
+
export declare function useBubbleStateChangeFn(): (key: string, value: unknown) => void;
|
|
4671
4892
|
|
|
4672
4893
|
/**
|
|
4673
4894
|
* useEditor 返回类型
|
|
@@ -4975,15 +5196,23 @@ export { }
|
|
|
4975
5196
|
*/
|
|
4976
5197
|
declare module '@tiptap/core' {
|
|
4977
5198
|
interface Commands<ReturnType> {
|
|
4978
|
-
|
|
5199
|
+
template: {
|
|
4979
5200
|
/**
|
|
4980
|
-
*
|
|
5201
|
+
* 设置模板数据(批量)
|
|
4981
5202
|
*/
|
|
4982
|
-
|
|
5203
|
+
setTemplateData: (items: TemplateItem[]) => ReturnType;
|
|
4983
5204
|
/**
|
|
4984
|
-
*
|
|
5205
|
+
* 插入模板块
|
|
4985
5206
|
*/
|
|
4986
|
-
|
|
5207
|
+
insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
|
|
5208
|
+
/**
|
|
5209
|
+
* 聚焦到第一个模板块
|
|
5210
|
+
*/
|
|
5211
|
+
focusFirstTemplate: () => ReturnType;
|
|
5212
|
+
/**
|
|
5213
|
+
* 插入选择器
|
|
5214
|
+
*/
|
|
5215
|
+
insertTemplateSelect: (attrs: Partial<TemplateSelectAttrs>) => ReturnType;
|
|
4987
5216
|
};
|
|
4988
5217
|
}
|
|
4989
5218
|
}
|
|
@@ -4996,23 +5225,15 @@ declare module '@tiptap/core' {
|
|
|
4996
5225
|
*/
|
|
4997
5226
|
declare module '@tiptap/core' {
|
|
4998
5227
|
interface Commands<ReturnType> {
|
|
4999
|
-
|
|
5000
|
-
/**
|
|
5001
|
-
* 设置模板数据(批量)
|
|
5002
|
-
*/
|
|
5003
|
-
setTemplateData: (items: TemplateItem[]) => ReturnType;
|
|
5004
|
-
/**
|
|
5005
|
-
* 插入模板块
|
|
5006
|
-
*/
|
|
5007
|
-
insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
|
|
5228
|
+
mention: {
|
|
5008
5229
|
/**
|
|
5009
|
-
*
|
|
5230
|
+
* 插入 mention 节点
|
|
5010
5231
|
*/
|
|
5011
|
-
|
|
5232
|
+
insertMention: (attrs: Partial<MentionAttrs>) => ReturnType;
|
|
5012
5233
|
/**
|
|
5013
|
-
*
|
|
5234
|
+
* 删除 mention 节点
|
|
5014
5235
|
*/
|
|
5015
|
-
|
|
5236
|
+
deleteMention: (id: string) => ReturnType;
|
|
5016
5237
|
};
|
|
5017
5238
|
}
|
|
5018
5239
|
}
|