@opentiny/tiny-robot 0.3.0-alpha.6 → 0.3.0-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/action-group/index.js +15 -15
- package/dist/attachments/index.js +526 -0
- package/dist/base-popper/index.js +1 -1
- package/dist/bubble/index.js +1949 -1229
- package/dist/container/index.js +12 -12
- package/dist/drag-overlay/index.js +57 -0
- package/dist/dropdown-menu/index.js +4 -4
- package/dist/feedback/index.js +55 -55
- package/dist/flow-layout-buttons/index.js +24 -24
- package/dist/history/index.js +46 -46
- package/dist/index.d.ts +1867 -200
- package/dist/index.js +207 -63
- package/dist/index2.js +610 -593
- package/dist/index3.js +676 -134
- package/dist/index4.js +137 -306
- package/dist/index5.js +270 -591
- package/dist/index6.js +795 -599
- package/dist/index7.js +3622 -1717
- package/dist/loading.js +4 -0
- package/dist/mcp-server-picker/index.js +29682 -0
- package/dist/question/index.js +28 -28
- package/dist/sender/index.js +709 -659
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +22 -22
- package/dist/suggestion-pills/index.js +25 -25
- package/dist/suggestion-popover/index.js +182 -184
- package/dist/tiny-robot-svgs.js +727 -178
- package/dist/useSlotRefs.js +12 -12
- package/package.json +9 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
2
|
import { App } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { AutoSize as AutoSize_2 } from './index.type';
|
|
4
4
|
import { Component } from 'vue';
|
|
5
5
|
import { ComponentCustomProperties } from 'vue';
|
|
6
6
|
import { ComponentCustomProps } from 'vue';
|
|
@@ -10,20 +10,32 @@ import { ComponentOptionsMixin } from 'vue';
|
|
|
10
10
|
import { ComponentProvideOptions } from 'vue';
|
|
11
11
|
import { ComponentPublicInstance } from 'vue';
|
|
12
12
|
import { ComputedRef } from 'vue';
|
|
13
|
+
import { Config } from 'dompurify';
|
|
13
14
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
14
15
|
import { CSSProperties } from 'vue';
|
|
15
16
|
import { DebuggerEvent } from 'vue';
|
|
16
|
-
import { default as default_2 } from './index.vue';
|
|
17
17
|
import { DefineComponent } from 'vue';
|
|
18
|
+
import { Directive } from 'vue';
|
|
19
|
+
import { DisplayVariant as DisplayVariant_2 } from './index.type';
|
|
20
|
+
import { ExtractPropTypes } from 'vue';
|
|
21
|
+
import { FileTypeMatcher as FileTypeMatcher_2 } from './index.type';
|
|
18
22
|
import { GlobalComponents } from 'vue';
|
|
19
23
|
import { GlobalDirectives } from 'vue';
|
|
24
|
+
import { InputMode as InputMode_2 } from './index.type';
|
|
25
|
+
import { MarketCategoryOption as MarketCategoryOption_2 } from './index.type';
|
|
20
26
|
import { nextTick } from 'vue';
|
|
21
27
|
import { OnCleanup } from '@vue/reactivity';
|
|
22
28
|
import { Options } from 'markdown-it';
|
|
29
|
+
import { Props } from './components/SuggestionList.vue';
|
|
30
|
+
import { PropType } from 'vue';
|
|
23
31
|
import { PublicProps } from 'vue';
|
|
24
32
|
import { Ref } from 'vue';
|
|
33
|
+
import { RendererElement } from 'vue';
|
|
34
|
+
import { RendererNode } from 'vue';
|
|
25
35
|
import { ShallowUnwrapRef } from 'vue';
|
|
26
36
|
import { Slot } from 'vue';
|
|
37
|
+
import { SubmitTrigger as SubmitTrigger_2 } from './index.type';
|
|
38
|
+
import { ThemeType as ThemeType_2 } from './index.type';
|
|
27
39
|
import { TooltipContentProps } from './components/Tooltip.vue';
|
|
28
40
|
import { TransitionProps } from 'vue';
|
|
29
41
|
import { VNode } from 'vue';
|
|
@@ -32,31 +44,32 @@ import { WatchOptions } from 'vue';
|
|
|
32
44
|
import { WatchStopHandle } from 'vue';
|
|
33
45
|
|
|
34
46
|
declare const __VLS_component: DefineComponent<BubbleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProps> & Readonly<{}>, {
|
|
35
|
-
placement: BubblePalcement_2;
|
|
36
|
-
type: "text" | "markdown";
|
|
37
|
-
maxWidth: string | number;
|
|
38
47
|
content: string;
|
|
48
|
+
placement: "start" | "end";
|
|
49
|
+
shape: "rounded" | "corner";
|
|
50
|
+
maxWidth: string | number;
|
|
39
51
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
52
|
|
|
41
|
-
declare const
|
|
42
|
-
"update:
|
|
43
|
-
"update:fullscreen": (value: boolean | undefined) => any;
|
|
44
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
45
|
-
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
46
|
-
"onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
|
|
47
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
48
|
-
|
|
49
|
-
declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
50
|
-
"update:show": (value: boolean) => any;
|
|
53
|
+
declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
54
|
+
"update:selectedGroup": (value: string) => any;
|
|
51
55
|
} & {
|
|
52
|
-
|
|
56
|
+
close: () => any;
|
|
57
|
+
open: () => any;
|
|
58
|
+
"item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
|
|
53
59
|
"click-outside": (event: MouseEvent) => any;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
60
|
+
"group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
|
|
61
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
62
|
+
onClose?: (() => any) | undefined;
|
|
63
|
+
onOpen?: (() => any) | undefined;
|
|
64
|
+
"onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
|
|
57
65
|
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
66
|
+
"onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
|
|
67
|
+
"onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
|
|
58
68
|
}>, {
|
|
59
|
-
|
|
69
|
+
title: string;
|
|
70
|
+
trigger: "click" | "manual";
|
|
71
|
+
groupShowMoreTrigger: "click" | "hover";
|
|
72
|
+
topOffset: number;
|
|
60
73
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
61
74
|
basePopperRef: ({
|
|
62
75
|
$: ComponentInternalInstance;
|
|
@@ -148,56 +161,56 @@ trigger?: () => VNode[];
|
|
|
148
161
|
content?: () => VNode[];
|
|
149
162
|
};
|
|
150
163
|
}) | null;
|
|
164
|
+
listRef: HTMLUListElement;
|
|
165
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
166
|
+
show?: TooltipContentProps["show"];
|
|
167
|
+
} & TooltipContentProps> & Readonly<{
|
|
168
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
169
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
170
|
+
"update:show": (value: boolean | undefined) => any;
|
|
171
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
172
|
+
P: {};
|
|
173
|
+
B: {};
|
|
174
|
+
D: {};
|
|
175
|
+
C: {};
|
|
176
|
+
M: {};
|
|
177
|
+
Defaults: {};
|
|
178
|
+
}, Readonly<{
|
|
179
|
+
show?: TooltipContentProps["show"];
|
|
180
|
+
} & TooltipContentProps> & Readonly<{
|
|
181
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
182
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
151
183
|
}, any>;
|
|
152
184
|
|
|
153
|
-
declare const
|
|
154
|
-
"
|
|
155
|
-
}, string,
|
|
156
|
-
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
157
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
185
|
+
declare const __VLS_component_11: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
|
|
186
|
+
align: "left" | "center" | "right" | string;
|
|
187
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
158
188
|
|
|
159
|
-
declare const
|
|
189
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
190
|
+
messageRenderers: Record<string, BubbleMessageRenderer>;
|
|
191
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
160
192
|
|
|
161
|
-
declare const
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
167
|
-
}, string,
|
|
168
|
-
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
169
|
-
"onUpdate:showAll"?: ((value: boolean | undefined) => any) | undefined;
|
|
170
|
-
}>, {
|
|
171
|
-
showAllButtonOn: "hover" | "always";
|
|
172
|
-
overflowMode: "expand" | "scroll";
|
|
173
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
174
|
-
containerWrapperRef: HTMLDivElement;
|
|
175
|
-
containerRef: HTMLDivElement;
|
|
176
|
-
staticMaybeItemRefs: unknown[];
|
|
177
|
-
floatingItemsRef: HTMLDivElement;
|
|
178
|
-
floatingMaybeItemRefs: unknown[];
|
|
179
|
-
}, HTMLDivElement>;
|
|
193
|
+
declare const __VLS_component_3: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
194
|
+
"update:show": (value: boolean) => any;
|
|
195
|
+
"update:fullscreen": (value: boolean | undefined) => any;
|
|
196
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
197
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
198
|
+
"onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
|
|
199
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
180
200
|
|
|
181
|
-
declare const
|
|
182
|
-
|
|
201
|
+
declare const __VLS_component_4: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
202
|
+
|
|
203
|
+
declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
204
|
+
"update:show": (value: boolean) => any;
|
|
183
205
|
} & {
|
|
184
|
-
|
|
185
|
-
open: () => any;
|
|
186
|
-
"item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
|
|
206
|
+
"item-click": (item: DropdownMenuItem) => any;
|
|
187
207
|
"click-outside": (event: MouseEvent) => any;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
onOpen?: (() => any) | undefined;
|
|
192
|
-
"onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
|
|
208
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
209
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
210
|
+
"onItem-click"?: ((item: DropdownMenuItem) => any) | undefined;
|
|
193
211
|
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
194
|
-
"onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
|
|
195
|
-
"onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
|
|
196
212
|
}>, {
|
|
197
|
-
|
|
198
|
-
trigger: "click" | "manual";
|
|
199
|
-
groupShowMoreTrigger: "click" | "hover";
|
|
200
|
-
topOffset: number;
|
|
213
|
+
trigger: "click" | "hover" | "manual";
|
|
201
214
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
202
215
|
basePopperRef: ({
|
|
203
216
|
$: ComponentInternalInstance;
|
|
@@ -289,14 +302,65 @@ trigger?: () => VNode[];
|
|
|
289
302
|
content?: () => VNode[];
|
|
290
303
|
};
|
|
291
304
|
}) | null;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
305
|
+
}, any>;
|
|
306
|
+
|
|
307
|
+
declare const __VLS_component_6: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
308
|
+
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
309
|
+
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
310
|
+
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
311
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
312
|
+
|
|
313
|
+
declare const __VLS_component_7: DefineComponent<SenderProps, {
|
|
314
|
+
focus: () => void;
|
|
315
|
+
blur: () => void;
|
|
316
|
+
clear: () => void;
|
|
317
|
+
submit: () => void;
|
|
318
|
+
startSpeech: () => void;
|
|
319
|
+
stopSpeech: () => void;
|
|
320
|
+
activateTemplateFirstField: () => void;
|
|
321
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
322
|
+
[x: string]: any;
|
|
323
|
+
} & {
|
|
324
|
+
[x: string]: any;
|
|
325
|
+
}, string, PublicProps, Readonly<SenderProps> & Readonly<{
|
|
326
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
327
|
+
}>, {
|
|
328
|
+
mode: InputMode_2;
|
|
329
|
+
loading: boolean;
|
|
330
|
+
disabled: boolean;
|
|
331
|
+
modelValue: string;
|
|
332
|
+
autofocus: boolean;
|
|
333
|
+
clearable: boolean;
|
|
334
|
+
showWordLimit: boolean;
|
|
335
|
+
allowSpeech: boolean;
|
|
336
|
+
allowFiles: boolean;
|
|
337
|
+
submitType: SubmitTrigger_2;
|
|
338
|
+
stopText: string;
|
|
339
|
+
suggestions: string[];
|
|
340
|
+
autoSize: AutoSize_2;
|
|
341
|
+
maxLength: number;
|
|
342
|
+
placeholder: string;
|
|
343
|
+
suggestionPopupWidth: string | number;
|
|
344
|
+
theme: ThemeType_2;
|
|
345
|
+
templateData: UserItem[];
|
|
346
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
347
|
+
senderRef: HTMLDivElement;
|
|
348
|
+
inputWrapperRef: HTMLDivElement;
|
|
349
|
+
templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
350
|
+
modelValue?: UserItem[];
|
|
351
|
+
}> & Readonly<{
|
|
352
|
+
onSubmit?: (() => any) | undefined;
|
|
353
|
+
"onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
|
|
354
|
+
}>, {
|
|
355
|
+
clearHistory: () => void;
|
|
356
|
+
activateFirstField: () => void;
|
|
357
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
358
|
+
"update:modelValue": (value: UserItem[]) => any;
|
|
359
|
+
} & {
|
|
360
|
+
submit: () => any;
|
|
361
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
362
|
+
editorRef: HTMLDivElement;
|
|
363
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
300
364
|
P: {};
|
|
301
365
|
B: {};
|
|
302
366
|
D: {};
|
|
@@ -304,21 +368,520 @@ C: {};
|
|
|
304
368
|
M: {};
|
|
305
369
|
Defaults: {};
|
|
306
370
|
}, Readonly<{
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
|
|
371
|
+
modelValue?: UserItem[];
|
|
372
|
+
}> & Readonly<{
|
|
373
|
+
onSubmit?: (() => any) | undefined;
|
|
374
|
+
"onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
|
|
375
|
+
}>, {
|
|
376
|
+
clearHistory: () => void;
|
|
377
|
+
activateFirstField: () => void;
|
|
378
|
+
}, {}, {}, {}, {}> | null;
|
|
379
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
380
|
+
_constants: {
|
|
381
|
+
type: ObjectConstructor;
|
|
382
|
+
default: () => {
|
|
383
|
+
INPUT_PC: string;
|
|
384
|
+
INPUTGROUP_PC: string;
|
|
385
|
+
INPUT_MOBILE: string;
|
|
386
|
+
INPUTGROUP_MOBILE: string;
|
|
387
|
+
Mode: string;
|
|
388
|
+
inputMode(mode: any): string;
|
|
389
|
+
inputGroupMode(mode: any): string;
|
|
390
|
+
VALIDATE_ICON: {
|
|
391
|
+
Validating: string;
|
|
392
|
+
Success: string;
|
|
393
|
+
Error: string;
|
|
394
|
+
};
|
|
395
|
+
COMPONENT_NAME: {
|
|
396
|
+
FormItem: string;
|
|
397
|
+
};
|
|
398
|
+
MASKSYMBOL: string;
|
|
399
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
name: StringConstructor;
|
|
403
|
+
size: StringConstructor;
|
|
404
|
+
form: StringConstructor;
|
|
405
|
+
label: StringConstructor;
|
|
406
|
+
height: NumberConstructor;
|
|
407
|
+
resize: StringConstructor;
|
|
408
|
+
tabindex: {
|
|
409
|
+
type: StringConstructor;
|
|
410
|
+
default: string;
|
|
411
|
+
};
|
|
412
|
+
disabled: BooleanConstructor;
|
|
413
|
+
readonly: BooleanConstructor;
|
|
414
|
+
hoverExpand: BooleanConstructor;
|
|
415
|
+
mask: BooleanConstructor;
|
|
416
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
417
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
418
|
+
modelValue: PropType<string | number | null>;
|
|
419
|
+
type: {
|
|
420
|
+
type: StringConstructor;
|
|
421
|
+
default: string;
|
|
422
|
+
};
|
|
423
|
+
memorySpace: {
|
|
424
|
+
type: NumberConstructor;
|
|
425
|
+
default: number;
|
|
426
|
+
};
|
|
427
|
+
vertical: {
|
|
428
|
+
type: BooleanConstructor;
|
|
429
|
+
default: boolean;
|
|
430
|
+
};
|
|
431
|
+
selectMenu: {
|
|
432
|
+
type: {
|
|
433
|
+
(arrayLength: number): {
|
|
434
|
+
id: string;
|
|
435
|
+
label: string;
|
|
436
|
+
}[];
|
|
437
|
+
(...items: {
|
|
438
|
+
id: string;
|
|
439
|
+
label: string;
|
|
440
|
+
}[]): {
|
|
441
|
+
id: string;
|
|
442
|
+
label: string;
|
|
443
|
+
}[];
|
|
444
|
+
new (arrayLength: number): {
|
|
445
|
+
id: string;
|
|
446
|
+
label: string;
|
|
447
|
+
}[];
|
|
448
|
+
new (...items: {
|
|
449
|
+
id: string;
|
|
450
|
+
label: string;
|
|
451
|
+
}[]): {
|
|
452
|
+
id: string;
|
|
453
|
+
label: string;
|
|
454
|
+
}[];
|
|
455
|
+
isArray(arg: any): arg is any[];
|
|
456
|
+
readonly prototype: any[];
|
|
457
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
458
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
459
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
460
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
461
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
462
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
463
|
+
};
|
|
464
|
+
default: () => never[];
|
|
465
|
+
};
|
|
466
|
+
ellipsis: {
|
|
467
|
+
type: BooleanConstructor;
|
|
468
|
+
default: boolean;
|
|
469
|
+
};
|
|
470
|
+
contentStyle: {
|
|
471
|
+
type: ObjectConstructor;
|
|
472
|
+
default: () => {};
|
|
473
|
+
};
|
|
474
|
+
isSelect: {
|
|
475
|
+
type: BooleanConstructor;
|
|
476
|
+
default: boolean;
|
|
477
|
+
};
|
|
478
|
+
tips: StringConstructor;
|
|
479
|
+
counter: {
|
|
480
|
+
type: BooleanConstructor;
|
|
481
|
+
default: boolean;
|
|
482
|
+
};
|
|
483
|
+
autosize: {
|
|
484
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
485
|
+
default: boolean;
|
|
486
|
+
};
|
|
487
|
+
clearable: {
|
|
488
|
+
type: BooleanConstructor;
|
|
489
|
+
default: boolean;
|
|
490
|
+
};
|
|
491
|
+
autocomplete: {
|
|
492
|
+
type: StringConstructor;
|
|
493
|
+
default: string;
|
|
494
|
+
};
|
|
495
|
+
showPassword: {
|
|
496
|
+
type: BooleanConstructor;
|
|
497
|
+
default: boolean;
|
|
498
|
+
};
|
|
499
|
+
showWordLimit: {
|
|
500
|
+
type: BooleanConstructor;
|
|
501
|
+
default: boolean;
|
|
502
|
+
};
|
|
503
|
+
showTitle: {
|
|
504
|
+
type: BooleanConstructor;
|
|
505
|
+
default: boolean;
|
|
506
|
+
};
|
|
507
|
+
validateEvent: {
|
|
508
|
+
type: BooleanConstructor;
|
|
509
|
+
default: boolean;
|
|
510
|
+
};
|
|
511
|
+
popupMore: {
|
|
512
|
+
type: BooleanConstructor;
|
|
513
|
+
default: boolean;
|
|
514
|
+
};
|
|
515
|
+
textareaTitle: {
|
|
516
|
+
type: StringConstructor;
|
|
517
|
+
default: string;
|
|
518
|
+
};
|
|
519
|
+
displayOnly: {
|
|
520
|
+
type: BooleanConstructor;
|
|
521
|
+
default: boolean;
|
|
522
|
+
};
|
|
523
|
+
displayOnlyContent: {
|
|
524
|
+
type: StringConstructor;
|
|
525
|
+
default: string;
|
|
526
|
+
};
|
|
527
|
+
customClass: {
|
|
528
|
+
type: StringConstructor;
|
|
529
|
+
default: string;
|
|
530
|
+
};
|
|
531
|
+
frontClearIcon: {
|
|
532
|
+
type: BooleanConstructor;
|
|
533
|
+
default: boolean;
|
|
534
|
+
};
|
|
535
|
+
showEmptyValue: {
|
|
536
|
+
type: BooleanConstructor;
|
|
537
|
+
default: undefined;
|
|
538
|
+
};
|
|
539
|
+
textAlign: {
|
|
540
|
+
type: StringConstructor;
|
|
541
|
+
default: string;
|
|
542
|
+
};
|
|
543
|
+
width: {
|
|
544
|
+
type: PropType<string | number | null>;
|
|
545
|
+
};
|
|
546
|
+
showTooltip: {
|
|
547
|
+
type: BooleanConstructor;
|
|
548
|
+
default: boolean;
|
|
549
|
+
};
|
|
550
|
+
inputBoxType: {
|
|
551
|
+
type: StringConstructor;
|
|
552
|
+
default: string;
|
|
553
|
+
validator: (value: string) => boolean;
|
|
554
|
+
};
|
|
555
|
+
tiny_mode: StringConstructor;
|
|
556
|
+
tiny_mode_root: BooleanConstructor;
|
|
557
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
558
|
+
tiny_renderless: FunctionConstructor;
|
|
559
|
+
tiny_theme: StringConstructor;
|
|
560
|
+
tiny_mcp_config: ObjectConstructor;
|
|
561
|
+
tiny_chart_theme: ObjectConstructor;
|
|
562
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
563
|
+
[key: string]: any;
|
|
564
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
565
|
+
disabled: boolean;
|
|
566
|
+
type: string;
|
|
567
|
+
ellipsis: boolean;
|
|
568
|
+
mask: boolean;
|
|
569
|
+
vertical: boolean;
|
|
570
|
+
customClass: string;
|
|
571
|
+
tiny_mode_root: boolean;
|
|
572
|
+
_constants: Record<string, any>;
|
|
573
|
+
tabindex: string;
|
|
574
|
+
showTitle: boolean;
|
|
575
|
+
readonly: boolean;
|
|
576
|
+
hoverExpand: boolean;
|
|
577
|
+
memorySpace: number;
|
|
578
|
+
selectMenu: {
|
|
579
|
+
id: string;
|
|
580
|
+
label: string;
|
|
581
|
+
}[];
|
|
582
|
+
contentStyle: Record<string, any>;
|
|
583
|
+
isSelect: boolean;
|
|
584
|
+
counter: boolean;
|
|
585
|
+
autosize: boolean | Record<string, any>;
|
|
586
|
+
clearable: boolean;
|
|
587
|
+
autocomplete: string;
|
|
588
|
+
showPassword: boolean;
|
|
589
|
+
showWordLimit: boolean;
|
|
590
|
+
validateEvent: boolean;
|
|
591
|
+
popupMore: boolean;
|
|
592
|
+
textareaTitle: string;
|
|
593
|
+
displayOnly: boolean;
|
|
594
|
+
displayOnlyContent: string;
|
|
595
|
+
frontClearIcon: boolean;
|
|
596
|
+
showEmptyValue: boolean;
|
|
597
|
+
textAlign: string;
|
|
598
|
+
showTooltip: boolean;
|
|
599
|
+
inputBoxType: string;
|
|
600
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
601
|
+
P: {};
|
|
602
|
+
B: {};
|
|
603
|
+
D: {};
|
|
604
|
+
C: {};
|
|
605
|
+
M: {};
|
|
606
|
+
Defaults: {};
|
|
607
|
+
}, Readonly<ExtractPropTypes< {
|
|
608
|
+
_constants: {
|
|
609
|
+
type: ObjectConstructor;
|
|
610
|
+
default: () => {
|
|
611
|
+
INPUT_PC: string;
|
|
612
|
+
INPUTGROUP_PC: string;
|
|
613
|
+
INPUT_MOBILE: string;
|
|
614
|
+
INPUTGROUP_MOBILE: string;
|
|
615
|
+
Mode: string;
|
|
616
|
+
inputMode(mode: any): string;
|
|
617
|
+
inputGroupMode(mode: any): string;
|
|
618
|
+
VALIDATE_ICON: {
|
|
619
|
+
Validating: string;
|
|
620
|
+
Success: string;
|
|
621
|
+
Error: string;
|
|
622
|
+
};
|
|
623
|
+
COMPONENT_NAME: {
|
|
624
|
+
FormItem: string;
|
|
625
|
+
};
|
|
626
|
+
MASKSYMBOL: string;
|
|
627
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
name: StringConstructor;
|
|
631
|
+
size: StringConstructor;
|
|
632
|
+
form: StringConstructor;
|
|
633
|
+
label: StringConstructor;
|
|
634
|
+
height: NumberConstructor;
|
|
635
|
+
resize: StringConstructor;
|
|
636
|
+
tabindex: {
|
|
637
|
+
type: StringConstructor;
|
|
638
|
+
default: string;
|
|
639
|
+
};
|
|
640
|
+
disabled: BooleanConstructor;
|
|
641
|
+
readonly: BooleanConstructor;
|
|
642
|
+
hoverExpand: BooleanConstructor;
|
|
643
|
+
mask: BooleanConstructor;
|
|
644
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
645
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
646
|
+
modelValue: PropType<string | number | null>;
|
|
647
|
+
type: {
|
|
648
|
+
type: StringConstructor;
|
|
649
|
+
default: string;
|
|
650
|
+
};
|
|
651
|
+
memorySpace: {
|
|
652
|
+
type: NumberConstructor;
|
|
653
|
+
default: number;
|
|
654
|
+
};
|
|
655
|
+
vertical: {
|
|
656
|
+
type: BooleanConstructor;
|
|
657
|
+
default: boolean;
|
|
658
|
+
};
|
|
659
|
+
selectMenu: {
|
|
660
|
+
type: {
|
|
661
|
+
(arrayLength: number): {
|
|
662
|
+
id: string;
|
|
663
|
+
label: string;
|
|
664
|
+
}[];
|
|
665
|
+
(...items: {
|
|
666
|
+
id: string;
|
|
667
|
+
label: string;
|
|
668
|
+
}[]): {
|
|
669
|
+
id: string;
|
|
670
|
+
label: string;
|
|
671
|
+
}[];
|
|
672
|
+
new (arrayLength: number): {
|
|
673
|
+
id: string;
|
|
674
|
+
label: string;
|
|
675
|
+
}[];
|
|
676
|
+
new (...items: {
|
|
677
|
+
id: string;
|
|
678
|
+
label: string;
|
|
679
|
+
}[]): {
|
|
680
|
+
id: string;
|
|
681
|
+
label: string;
|
|
682
|
+
}[];
|
|
683
|
+
isArray(arg: any): arg is any[];
|
|
684
|
+
readonly prototype: any[];
|
|
685
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
686
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
687
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
688
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
689
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
690
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
691
|
+
};
|
|
692
|
+
default: () => never[];
|
|
693
|
+
};
|
|
694
|
+
ellipsis: {
|
|
695
|
+
type: BooleanConstructor;
|
|
696
|
+
default: boolean;
|
|
697
|
+
};
|
|
698
|
+
contentStyle: {
|
|
699
|
+
type: ObjectConstructor;
|
|
700
|
+
default: () => {};
|
|
701
|
+
};
|
|
702
|
+
isSelect: {
|
|
703
|
+
type: BooleanConstructor;
|
|
704
|
+
default: boolean;
|
|
705
|
+
};
|
|
706
|
+
tips: StringConstructor;
|
|
707
|
+
counter: {
|
|
708
|
+
type: BooleanConstructor;
|
|
709
|
+
default: boolean;
|
|
710
|
+
};
|
|
711
|
+
autosize: {
|
|
712
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
713
|
+
default: boolean;
|
|
714
|
+
};
|
|
715
|
+
clearable: {
|
|
716
|
+
type: BooleanConstructor;
|
|
717
|
+
default: boolean;
|
|
718
|
+
};
|
|
719
|
+
autocomplete: {
|
|
720
|
+
type: StringConstructor;
|
|
721
|
+
default: string;
|
|
722
|
+
};
|
|
723
|
+
showPassword: {
|
|
724
|
+
type: BooleanConstructor;
|
|
725
|
+
default: boolean;
|
|
726
|
+
};
|
|
727
|
+
showWordLimit: {
|
|
728
|
+
type: BooleanConstructor;
|
|
729
|
+
default: boolean;
|
|
730
|
+
};
|
|
731
|
+
showTitle: {
|
|
732
|
+
type: BooleanConstructor;
|
|
733
|
+
default: boolean;
|
|
734
|
+
};
|
|
735
|
+
validateEvent: {
|
|
736
|
+
type: BooleanConstructor;
|
|
737
|
+
default: boolean;
|
|
738
|
+
};
|
|
739
|
+
popupMore: {
|
|
740
|
+
type: BooleanConstructor;
|
|
741
|
+
default: boolean;
|
|
742
|
+
};
|
|
743
|
+
textareaTitle: {
|
|
744
|
+
type: StringConstructor;
|
|
745
|
+
default: string;
|
|
746
|
+
};
|
|
747
|
+
displayOnly: {
|
|
748
|
+
type: BooleanConstructor;
|
|
749
|
+
default: boolean;
|
|
750
|
+
};
|
|
751
|
+
displayOnlyContent: {
|
|
752
|
+
type: StringConstructor;
|
|
753
|
+
default: string;
|
|
754
|
+
};
|
|
755
|
+
customClass: {
|
|
756
|
+
type: StringConstructor;
|
|
757
|
+
default: string;
|
|
758
|
+
};
|
|
759
|
+
frontClearIcon: {
|
|
760
|
+
type: BooleanConstructor;
|
|
761
|
+
default: boolean;
|
|
762
|
+
};
|
|
763
|
+
showEmptyValue: {
|
|
764
|
+
type: BooleanConstructor;
|
|
765
|
+
default: undefined;
|
|
766
|
+
};
|
|
767
|
+
textAlign: {
|
|
768
|
+
type: StringConstructor;
|
|
769
|
+
default: string;
|
|
770
|
+
};
|
|
771
|
+
width: {
|
|
772
|
+
type: PropType<string | number | null>;
|
|
773
|
+
};
|
|
774
|
+
showTooltip: {
|
|
775
|
+
type: BooleanConstructor;
|
|
776
|
+
default: boolean;
|
|
777
|
+
};
|
|
778
|
+
inputBoxType: {
|
|
779
|
+
type: StringConstructor;
|
|
780
|
+
default: string;
|
|
781
|
+
validator: (value: string) => boolean;
|
|
782
|
+
};
|
|
783
|
+
tiny_mode: StringConstructor;
|
|
784
|
+
tiny_mode_root: BooleanConstructor;
|
|
785
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
786
|
+
tiny_renderless: FunctionConstructor;
|
|
787
|
+
tiny_theme: StringConstructor;
|
|
788
|
+
tiny_mcp_config: ObjectConstructor;
|
|
789
|
+
tiny_chart_theme: ObjectConstructor;
|
|
790
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
791
|
+
[key: string]: any;
|
|
792
|
+
}>, {}, {}, {}, {
|
|
793
|
+
disabled: boolean;
|
|
794
|
+
type: string;
|
|
795
|
+
ellipsis: boolean;
|
|
796
|
+
mask: boolean;
|
|
797
|
+
vertical: boolean;
|
|
798
|
+
customClass: string;
|
|
799
|
+
tiny_mode_root: boolean;
|
|
800
|
+
_constants: Record<string, any>;
|
|
801
|
+
tabindex: string;
|
|
802
|
+
showTitle: boolean;
|
|
803
|
+
readonly: boolean;
|
|
804
|
+
hoverExpand: boolean;
|
|
805
|
+
memorySpace: number;
|
|
806
|
+
selectMenu: {
|
|
807
|
+
id: string;
|
|
808
|
+
label: string;
|
|
809
|
+
}[];
|
|
810
|
+
contentStyle: Record<string, any>;
|
|
811
|
+
isSelect: boolean;
|
|
812
|
+
counter: boolean;
|
|
813
|
+
autosize: boolean | Record<string, any>;
|
|
814
|
+
clearable: boolean;
|
|
815
|
+
autocomplete: string;
|
|
816
|
+
showPassword: boolean;
|
|
817
|
+
showWordLimit: boolean;
|
|
818
|
+
validateEvent: boolean;
|
|
819
|
+
popupMore: boolean;
|
|
820
|
+
textareaTitle: string;
|
|
821
|
+
displayOnly: boolean;
|
|
822
|
+
displayOnlyContent: string;
|
|
823
|
+
frontClearIcon: boolean;
|
|
824
|
+
showEmptyValue: boolean;
|
|
825
|
+
textAlign: string;
|
|
826
|
+
showTooltip: boolean;
|
|
827
|
+
inputBoxType: string;
|
|
828
|
+
}> | null;
|
|
829
|
+
buttonsContainerRef: HTMLDivElement;
|
|
830
|
+
suggestionsListRef: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{
|
|
831
|
+
onSelect?: ((item: string) => any) | undefined;
|
|
832
|
+
"onItem-hover"?: ((index: number) => any) | undefined;
|
|
833
|
+
"onItem-leave"?: (() => any) | undefined;
|
|
834
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
835
|
+
select: (item: string) => any;
|
|
836
|
+
"item-hover": (index: number) => any;
|
|
837
|
+
"item-leave": () => any;
|
|
838
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
839
|
+
suggestionsListRef: HTMLDivElement;
|
|
840
|
+
}, any, ComponentProvideOptions, {
|
|
841
|
+
P: {};
|
|
842
|
+
B: {};
|
|
843
|
+
D: {};
|
|
844
|
+
C: {};
|
|
845
|
+
M: {};
|
|
846
|
+
Defaults: {};
|
|
847
|
+
}, Readonly<Props> & Readonly<{
|
|
848
|
+
onSelect?: ((item: string) => any) | undefined;
|
|
849
|
+
"onItem-hover"?: ((index: number) => any) | undefined;
|
|
850
|
+
"onItem-leave"?: (() => any) | undefined;
|
|
310
851
|
}>, {}, {}, {}, {}, {}> | null;
|
|
311
|
-
},
|
|
852
|
+
}, HTMLDivElement>;
|
|
312
853
|
|
|
313
|
-
declare const __VLS_component_8: DefineComponent<
|
|
314
|
-
align: "left" | "center" | "right" | string;
|
|
315
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
854
|
+
declare const __VLS_component_8: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
316
855
|
|
|
317
|
-
declare
|
|
856
|
+
declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_3, {
|
|
857
|
+
children: ComputedRef<(HTMLElement | SVGElement)[]>;
|
|
858
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
859
|
+
"update:showAll": (value: boolean | undefined) => any;
|
|
860
|
+
} & {
|
|
861
|
+
"click-outside": (event: MouseEvent) => any;
|
|
862
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
863
|
+
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
864
|
+
"onUpdate:showAll"?: ((value: boolean | undefined) => any) | undefined;
|
|
865
|
+
}>, {
|
|
866
|
+
showAllButtonOn: "hover" | "always";
|
|
867
|
+
overflowMode: "expand" | "scroll";
|
|
868
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
869
|
+
containerWrapperRef: HTMLDivElement;
|
|
870
|
+
containerRef: HTMLDivElement;
|
|
871
|
+
staticMaybeItemRefs: unknown[];
|
|
872
|
+
floatingItemsRef: HTMLDivElement;
|
|
873
|
+
floatingMaybeItemRefs: unknown[];
|
|
874
|
+
}, HTMLDivElement>;
|
|
875
|
+
|
|
876
|
+
declare type __VLS_Props = {
|
|
877
|
+
messageRenderers?: Record<string, BubbleMessageRenderer>;
|
|
878
|
+
};
|
|
318
879
|
|
|
319
|
-
declare type __VLS_Props_2 =
|
|
880
|
+
declare type __VLS_Props_2 = DropdownMenuProps;
|
|
320
881
|
|
|
321
|
-
declare type __VLS_Props_3 =
|
|
882
|
+
declare type __VLS_Props_3 = SuggestionPillsProps;
|
|
883
|
+
|
|
884
|
+
declare type __VLS_Props_4 = SuggestionPopoverProps;
|
|
322
885
|
|
|
323
886
|
declare type __VLS_PublicProps = {
|
|
324
887
|
'show': ContainerProps['show'];
|
|
@@ -327,15 +890,15 @@ declare type __VLS_PublicProps = {
|
|
|
327
890
|
|
|
328
891
|
declare type __VLS_PublicProps_2 = {
|
|
329
892
|
'show'?: boolean;
|
|
330
|
-
} &
|
|
893
|
+
} & __VLS_Props_2;
|
|
331
894
|
|
|
332
895
|
declare type __VLS_PublicProps_3 = {
|
|
333
896
|
'showAll'?: SuggestionPillsProps['showAll'];
|
|
334
|
-
} &
|
|
897
|
+
} & __VLS_Props_3;
|
|
335
898
|
|
|
336
899
|
declare type __VLS_PublicProps_4 = {
|
|
337
900
|
'selectedGroup'?: string;
|
|
338
|
-
} &
|
|
901
|
+
} & __VLS_Props_4;
|
|
339
902
|
|
|
340
903
|
declare function __VLS_template(): {
|
|
341
904
|
attrs: Partial<{}>;
|
|
@@ -344,18 +907,9 @@ declare function __VLS_template(): {
|
|
|
344
907
|
rootEl: HTMLDivElement;
|
|
345
908
|
};
|
|
346
909
|
|
|
347
|
-
declare function
|
|
348
|
-
attrs: Partial<{}>;
|
|
349
|
-
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
350
|
-
refs: {};
|
|
351
|
-
rootEl: HTMLDivElement;
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
declare function __VLS_template_3(): {
|
|
910
|
+
declare function __VLS_template_10(): {
|
|
355
911
|
attrs: Partial<{}>;
|
|
356
|
-
slots:
|
|
357
|
-
trigger?(_: {}): any;
|
|
358
|
-
};
|
|
912
|
+
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
359
913
|
refs: {
|
|
360
914
|
basePopperRef: ({
|
|
361
915
|
$: ComponentInternalInstance;
|
|
@@ -447,40 +1001,68 @@ declare function __VLS_template_3(): {
|
|
|
447
1001
|
content?: () => VNode[];
|
|
448
1002
|
};
|
|
449
1003
|
}) | null;
|
|
1004
|
+
listRef: HTMLUListElement;
|
|
1005
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1006
|
+
show?: TooltipContentProps["show"];
|
|
1007
|
+
} & TooltipContentProps> & Readonly<{
|
|
1008
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1009
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1010
|
+
"update:show": (value: boolean | undefined) => any;
|
|
1011
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1012
|
+
P: {};
|
|
1013
|
+
B: {};
|
|
1014
|
+
D: {};
|
|
1015
|
+
C: {};
|
|
1016
|
+
M: {};
|
|
1017
|
+
Defaults: {};
|
|
1018
|
+
}, Readonly<{
|
|
1019
|
+
show?: TooltipContentProps["show"];
|
|
1020
|
+
} & TooltipContentProps> & Readonly<{
|
|
1021
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1022
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
450
1023
|
};
|
|
451
1024
|
rootEl: any;
|
|
452
1025
|
};
|
|
453
1026
|
|
|
454
|
-
declare function
|
|
1027
|
+
declare function __VLS_template_11(): {
|
|
455
1028
|
attrs: Partial<{}>;
|
|
456
|
-
slots: Readonly<
|
|
1029
|
+
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
457
1030
|
refs: {};
|
|
458
1031
|
rootEl: HTMLDivElement;
|
|
459
1032
|
};
|
|
460
1033
|
|
|
461
|
-
declare function
|
|
1034
|
+
declare function __VLS_template_2(): {
|
|
462
1035
|
attrs: Partial<{}>;
|
|
463
|
-
slots:
|
|
1036
|
+
slots: {
|
|
1037
|
+
default?(_: {}): any;
|
|
1038
|
+
};
|
|
464
1039
|
refs: {};
|
|
465
|
-
rootEl:
|
|
1040
|
+
rootEl: any;
|
|
466
1041
|
};
|
|
467
1042
|
|
|
468
|
-
declare function
|
|
1043
|
+
declare function __VLS_template_3(): {
|
|
469
1044
|
attrs: Partial<{}>;
|
|
470
|
-
slots: Readonly<
|
|
471
|
-
refs: {
|
|
472
|
-
containerWrapperRef: HTMLDivElement;
|
|
473
|
-
containerRef: HTMLDivElement;
|
|
474
|
-
staticMaybeItemRefs: unknown[];
|
|
475
|
-
floatingItemsRef: HTMLDivElement;
|
|
476
|
-
floatingMaybeItemRefs: unknown[];
|
|
477
|
-
};
|
|
1045
|
+
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
1046
|
+
refs: {};
|
|
478
1047
|
rootEl: HTMLDivElement;
|
|
479
1048
|
};
|
|
480
1049
|
|
|
481
|
-
declare function
|
|
1050
|
+
declare function __VLS_template_4(): {
|
|
482
1051
|
attrs: Partial<{}>;
|
|
483
|
-
slots:
|
|
1052
|
+
slots: {
|
|
1053
|
+
overlay?(_: {
|
|
1054
|
+
isDragging: true;
|
|
1055
|
+
}): any;
|
|
1056
|
+
};
|
|
1057
|
+
refs: {};
|
|
1058
|
+
rootEl: any;
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
declare function __VLS_template_5(): {
|
|
1062
|
+
attrs: Partial<{}>;
|
|
1063
|
+
slots: {
|
|
1064
|
+
trigger?(_: {}): any;
|
|
1065
|
+
};
|
|
484
1066
|
refs: {
|
|
485
1067
|
basePopperRef: ({
|
|
486
1068
|
$: ComponentInternalInstance;
|
|
@@ -572,14 +1154,46 @@ declare function __VLS_template_7(): {
|
|
|
572
1154
|
content?: () => VNode[];
|
|
573
1155
|
};
|
|
574
1156
|
}) | null;
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
1157
|
+
};
|
|
1158
|
+
rootEl: any;
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
declare function __VLS_template_6(): {
|
|
1162
|
+
attrs: Partial<{}>;
|
|
1163
|
+
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
1164
|
+
refs: {};
|
|
1165
|
+
rootEl: HTMLDivElement;
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
declare function __VLS_template_7(): {
|
|
1169
|
+
attrs: Partial<{}>;
|
|
1170
|
+
slots: {
|
|
1171
|
+
header?(_: {}): any;
|
|
1172
|
+
prefix?(_: {}): any;
|
|
1173
|
+
decorativeContent?(_: {}): any;
|
|
1174
|
+
actions?(_: {}): any;
|
|
1175
|
+
'footer-left'?(_: {}): any;
|
|
1176
|
+
'footer-right'?(_: {}): any;
|
|
1177
|
+
footer?(_: {}): any;
|
|
1178
|
+
};
|
|
1179
|
+
refs: {
|
|
1180
|
+
senderRef: HTMLDivElement;
|
|
1181
|
+
inputWrapperRef: HTMLDivElement;
|
|
1182
|
+
templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1183
|
+
modelValue?: UserItem[];
|
|
1184
|
+
}> & Readonly<{
|
|
1185
|
+
onSubmit?: (() => any) | undefined;
|
|
1186
|
+
"onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
|
|
1187
|
+
}>, {
|
|
1188
|
+
clearHistory: () => void;
|
|
1189
|
+
activateFirstField: () => void;
|
|
1190
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1191
|
+
"update:modelValue": (value: UserItem[]) => any;
|
|
1192
|
+
} & {
|
|
1193
|
+
submit: () => any;
|
|
1194
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1195
|
+
editorRef: HTMLDivElement;
|
|
1196
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
583
1197
|
P: {};
|
|
584
1198
|
B: {};
|
|
585
1199
|
D: {};
|
|
@@ -587,23 +1201,517 @@ declare function __VLS_template_7(): {
|
|
|
587
1201
|
M: {};
|
|
588
1202
|
Defaults: {};
|
|
589
1203
|
}, Readonly<{
|
|
590
|
-
|
|
591
|
-
}
|
|
592
|
-
|
|
1204
|
+
modelValue?: UserItem[];
|
|
1205
|
+
}> & Readonly<{
|
|
1206
|
+
onSubmit?: (() => any) | undefined;
|
|
1207
|
+
"onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
|
|
1208
|
+
}>, {
|
|
1209
|
+
clearHistory: () => void;
|
|
1210
|
+
activateFirstField: () => void;
|
|
1211
|
+
}, {}, {}, {}, {}> | null;
|
|
1212
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
1213
|
+
_constants: {
|
|
1214
|
+
type: ObjectConstructor;
|
|
1215
|
+
default: () => {
|
|
1216
|
+
INPUT_PC: string;
|
|
1217
|
+
INPUTGROUP_PC: string;
|
|
1218
|
+
INPUT_MOBILE: string;
|
|
1219
|
+
INPUTGROUP_MOBILE: string;
|
|
1220
|
+
Mode: string;
|
|
1221
|
+
inputMode(mode: any): string;
|
|
1222
|
+
inputGroupMode(mode: any): string;
|
|
1223
|
+
VALIDATE_ICON: {
|
|
1224
|
+
Validating: string;
|
|
1225
|
+
Success: string;
|
|
1226
|
+
Error: string;
|
|
1227
|
+
};
|
|
1228
|
+
COMPONENT_NAME: {
|
|
1229
|
+
FormItem: string;
|
|
1230
|
+
};
|
|
1231
|
+
MASKSYMBOL: string;
|
|
1232
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
name: StringConstructor;
|
|
1236
|
+
size: StringConstructor;
|
|
1237
|
+
form: StringConstructor;
|
|
1238
|
+
label: StringConstructor;
|
|
1239
|
+
height: NumberConstructor;
|
|
1240
|
+
resize: StringConstructor;
|
|
1241
|
+
tabindex: {
|
|
1242
|
+
type: StringConstructor;
|
|
1243
|
+
default: string;
|
|
1244
|
+
};
|
|
1245
|
+
disabled: BooleanConstructor;
|
|
1246
|
+
readonly: BooleanConstructor;
|
|
1247
|
+
hoverExpand: BooleanConstructor;
|
|
1248
|
+
mask: BooleanConstructor;
|
|
1249
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1250
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1251
|
+
modelValue: PropType<string | number | null>;
|
|
1252
|
+
type: {
|
|
1253
|
+
type: StringConstructor;
|
|
1254
|
+
default: string;
|
|
1255
|
+
};
|
|
1256
|
+
memorySpace: {
|
|
1257
|
+
type: NumberConstructor;
|
|
1258
|
+
default: number;
|
|
1259
|
+
};
|
|
1260
|
+
vertical: {
|
|
1261
|
+
type: BooleanConstructor;
|
|
1262
|
+
default: boolean;
|
|
1263
|
+
};
|
|
1264
|
+
selectMenu: {
|
|
1265
|
+
type: {
|
|
1266
|
+
(arrayLength: number): {
|
|
1267
|
+
id: string;
|
|
1268
|
+
label: string;
|
|
1269
|
+
}[];
|
|
1270
|
+
(...items: {
|
|
1271
|
+
id: string;
|
|
1272
|
+
label: string;
|
|
1273
|
+
}[]): {
|
|
1274
|
+
id: string;
|
|
1275
|
+
label: string;
|
|
1276
|
+
}[];
|
|
1277
|
+
new (arrayLength: number): {
|
|
1278
|
+
id: string;
|
|
1279
|
+
label: string;
|
|
1280
|
+
}[];
|
|
1281
|
+
new (...items: {
|
|
1282
|
+
id: string;
|
|
1283
|
+
label: string;
|
|
1284
|
+
}[]): {
|
|
1285
|
+
id: string;
|
|
1286
|
+
label: string;
|
|
1287
|
+
}[];
|
|
1288
|
+
isArray(arg: any): arg is any[];
|
|
1289
|
+
readonly prototype: any[];
|
|
1290
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1291
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
1292
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
1293
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
1294
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
1295
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
1296
|
+
};
|
|
1297
|
+
default: () => never[];
|
|
1298
|
+
};
|
|
1299
|
+
ellipsis: {
|
|
1300
|
+
type: BooleanConstructor;
|
|
1301
|
+
default: boolean;
|
|
1302
|
+
};
|
|
1303
|
+
contentStyle: {
|
|
1304
|
+
type: ObjectConstructor;
|
|
1305
|
+
default: () => {};
|
|
1306
|
+
};
|
|
1307
|
+
isSelect: {
|
|
1308
|
+
type: BooleanConstructor;
|
|
1309
|
+
default: boolean;
|
|
1310
|
+
};
|
|
1311
|
+
tips: StringConstructor;
|
|
1312
|
+
counter: {
|
|
1313
|
+
type: BooleanConstructor;
|
|
1314
|
+
default: boolean;
|
|
1315
|
+
};
|
|
1316
|
+
autosize: {
|
|
1317
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
1318
|
+
default: boolean;
|
|
1319
|
+
};
|
|
1320
|
+
clearable: {
|
|
1321
|
+
type: BooleanConstructor;
|
|
1322
|
+
default: boolean;
|
|
1323
|
+
};
|
|
1324
|
+
autocomplete: {
|
|
1325
|
+
type: StringConstructor;
|
|
1326
|
+
default: string;
|
|
1327
|
+
};
|
|
1328
|
+
showPassword: {
|
|
1329
|
+
type: BooleanConstructor;
|
|
1330
|
+
default: boolean;
|
|
1331
|
+
};
|
|
1332
|
+
showWordLimit: {
|
|
1333
|
+
type: BooleanConstructor;
|
|
1334
|
+
default: boolean;
|
|
1335
|
+
};
|
|
1336
|
+
showTitle: {
|
|
1337
|
+
type: BooleanConstructor;
|
|
1338
|
+
default: boolean;
|
|
1339
|
+
};
|
|
1340
|
+
validateEvent: {
|
|
1341
|
+
type: BooleanConstructor;
|
|
1342
|
+
default: boolean;
|
|
1343
|
+
};
|
|
1344
|
+
popupMore: {
|
|
1345
|
+
type: BooleanConstructor;
|
|
1346
|
+
default: boolean;
|
|
1347
|
+
};
|
|
1348
|
+
textareaTitle: {
|
|
1349
|
+
type: StringConstructor;
|
|
1350
|
+
default: string;
|
|
1351
|
+
};
|
|
1352
|
+
displayOnly: {
|
|
1353
|
+
type: BooleanConstructor;
|
|
1354
|
+
default: boolean;
|
|
1355
|
+
};
|
|
1356
|
+
displayOnlyContent: {
|
|
1357
|
+
type: StringConstructor;
|
|
1358
|
+
default: string;
|
|
1359
|
+
};
|
|
1360
|
+
customClass: {
|
|
1361
|
+
type: StringConstructor;
|
|
1362
|
+
default: string;
|
|
1363
|
+
};
|
|
1364
|
+
frontClearIcon: {
|
|
1365
|
+
type: BooleanConstructor;
|
|
1366
|
+
default: boolean;
|
|
1367
|
+
};
|
|
1368
|
+
showEmptyValue: {
|
|
1369
|
+
type: BooleanConstructor;
|
|
1370
|
+
default: undefined;
|
|
1371
|
+
};
|
|
1372
|
+
textAlign: {
|
|
1373
|
+
type: StringConstructor;
|
|
1374
|
+
default: string;
|
|
1375
|
+
};
|
|
1376
|
+
width: {
|
|
1377
|
+
type: PropType<string | number | null>;
|
|
1378
|
+
};
|
|
1379
|
+
showTooltip: {
|
|
1380
|
+
type: BooleanConstructor;
|
|
1381
|
+
default: boolean;
|
|
1382
|
+
};
|
|
1383
|
+
inputBoxType: {
|
|
1384
|
+
type: StringConstructor;
|
|
1385
|
+
default: string;
|
|
1386
|
+
validator: (value: string) => boolean;
|
|
1387
|
+
};
|
|
1388
|
+
tiny_mode: StringConstructor;
|
|
1389
|
+
tiny_mode_root: BooleanConstructor;
|
|
1390
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
1391
|
+
tiny_renderless: FunctionConstructor;
|
|
1392
|
+
tiny_theme: StringConstructor;
|
|
1393
|
+
tiny_mcp_config: ObjectConstructor;
|
|
1394
|
+
tiny_chart_theme: ObjectConstructor;
|
|
1395
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
1396
|
+
[key: string]: any;
|
|
1397
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1398
|
+
disabled: boolean;
|
|
1399
|
+
type: string;
|
|
1400
|
+
ellipsis: boolean;
|
|
1401
|
+
mask: boolean;
|
|
1402
|
+
vertical: boolean;
|
|
1403
|
+
customClass: string;
|
|
1404
|
+
tiny_mode_root: boolean;
|
|
1405
|
+
_constants: Record<string, any>;
|
|
1406
|
+
tabindex: string;
|
|
1407
|
+
showTitle: boolean;
|
|
1408
|
+
readonly: boolean;
|
|
1409
|
+
hoverExpand: boolean;
|
|
1410
|
+
memorySpace: number;
|
|
1411
|
+
selectMenu: {
|
|
1412
|
+
id: string;
|
|
1413
|
+
label: string;
|
|
1414
|
+
}[];
|
|
1415
|
+
contentStyle: Record<string, any>;
|
|
1416
|
+
isSelect: boolean;
|
|
1417
|
+
counter: boolean;
|
|
1418
|
+
autosize: boolean | Record<string, any>;
|
|
1419
|
+
clearable: boolean;
|
|
1420
|
+
autocomplete: string;
|
|
1421
|
+
showPassword: boolean;
|
|
1422
|
+
showWordLimit: boolean;
|
|
1423
|
+
validateEvent: boolean;
|
|
1424
|
+
popupMore: boolean;
|
|
1425
|
+
textareaTitle: string;
|
|
1426
|
+
displayOnly: boolean;
|
|
1427
|
+
displayOnlyContent: string;
|
|
1428
|
+
frontClearIcon: boolean;
|
|
1429
|
+
showEmptyValue: boolean;
|
|
1430
|
+
textAlign: string;
|
|
1431
|
+
showTooltip: boolean;
|
|
1432
|
+
inputBoxType: string;
|
|
1433
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1434
|
+
P: {};
|
|
1435
|
+
B: {};
|
|
1436
|
+
D: {};
|
|
1437
|
+
C: {};
|
|
1438
|
+
M: {};
|
|
1439
|
+
Defaults: {};
|
|
1440
|
+
}, Readonly<ExtractPropTypes< {
|
|
1441
|
+
_constants: {
|
|
1442
|
+
type: ObjectConstructor;
|
|
1443
|
+
default: () => {
|
|
1444
|
+
INPUT_PC: string;
|
|
1445
|
+
INPUTGROUP_PC: string;
|
|
1446
|
+
INPUT_MOBILE: string;
|
|
1447
|
+
INPUTGROUP_MOBILE: string;
|
|
1448
|
+
Mode: string;
|
|
1449
|
+
inputMode(mode: any): string;
|
|
1450
|
+
inputGroupMode(mode: any): string;
|
|
1451
|
+
VALIDATE_ICON: {
|
|
1452
|
+
Validating: string;
|
|
1453
|
+
Success: string;
|
|
1454
|
+
Error: string;
|
|
1455
|
+
};
|
|
1456
|
+
COMPONENT_NAME: {
|
|
1457
|
+
FormItem: string;
|
|
1458
|
+
};
|
|
1459
|
+
MASKSYMBOL: string;
|
|
1460
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
name: StringConstructor;
|
|
1464
|
+
size: StringConstructor;
|
|
1465
|
+
form: StringConstructor;
|
|
1466
|
+
label: StringConstructor;
|
|
1467
|
+
height: NumberConstructor;
|
|
1468
|
+
resize: StringConstructor;
|
|
1469
|
+
tabindex: {
|
|
1470
|
+
type: StringConstructor;
|
|
1471
|
+
default: string;
|
|
1472
|
+
};
|
|
1473
|
+
disabled: BooleanConstructor;
|
|
1474
|
+
readonly: BooleanConstructor;
|
|
1475
|
+
hoverExpand: BooleanConstructor;
|
|
1476
|
+
mask: BooleanConstructor;
|
|
1477
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1478
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1479
|
+
modelValue: PropType<string | number | null>;
|
|
1480
|
+
type: {
|
|
1481
|
+
type: StringConstructor;
|
|
1482
|
+
default: string;
|
|
1483
|
+
};
|
|
1484
|
+
memorySpace: {
|
|
1485
|
+
type: NumberConstructor;
|
|
1486
|
+
default: number;
|
|
1487
|
+
};
|
|
1488
|
+
vertical: {
|
|
1489
|
+
type: BooleanConstructor;
|
|
1490
|
+
default: boolean;
|
|
1491
|
+
};
|
|
1492
|
+
selectMenu: {
|
|
1493
|
+
type: {
|
|
1494
|
+
(arrayLength: number): {
|
|
1495
|
+
id: string;
|
|
1496
|
+
label: string;
|
|
1497
|
+
}[];
|
|
1498
|
+
(...items: {
|
|
1499
|
+
id: string;
|
|
1500
|
+
label: string;
|
|
1501
|
+
}[]): {
|
|
1502
|
+
id: string;
|
|
1503
|
+
label: string;
|
|
1504
|
+
}[];
|
|
1505
|
+
new (arrayLength: number): {
|
|
1506
|
+
id: string;
|
|
1507
|
+
label: string;
|
|
1508
|
+
}[];
|
|
1509
|
+
new (...items: {
|
|
1510
|
+
id: string;
|
|
1511
|
+
label: string;
|
|
1512
|
+
}[]): {
|
|
1513
|
+
id: string;
|
|
1514
|
+
label: string;
|
|
1515
|
+
}[];
|
|
1516
|
+
isArray(arg: any): arg is any[];
|
|
1517
|
+
readonly prototype: any[];
|
|
1518
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1519
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
1520
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
1521
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
1522
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
1523
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
1524
|
+
};
|
|
1525
|
+
default: () => never[];
|
|
1526
|
+
};
|
|
1527
|
+
ellipsis: {
|
|
1528
|
+
type: BooleanConstructor;
|
|
1529
|
+
default: boolean;
|
|
1530
|
+
};
|
|
1531
|
+
contentStyle: {
|
|
1532
|
+
type: ObjectConstructor;
|
|
1533
|
+
default: () => {};
|
|
1534
|
+
};
|
|
1535
|
+
isSelect: {
|
|
1536
|
+
type: BooleanConstructor;
|
|
1537
|
+
default: boolean;
|
|
1538
|
+
};
|
|
1539
|
+
tips: StringConstructor;
|
|
1540
|
+
counter: {
|
|
1541
|
+
type: BooleanConstructor;
|
|
1542
|
+
default: boolean;
|
|
1543
|
+
};
|
|
1544
|
+
autosize: {
|
|
1545
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
1546
|
+
default: boolean;
|
|
1547
|
+
};
|
|
1548
|
+
clearable: {
|
|
1549
|
+
type: BooleanConstructor;
|
|
1550
|
+
default: boolean;
|
|
1551
|
+
};
|
|
1552
|
+
autocomplete: {
|
|
1553
|
+
type: StringConstructor;
|
|
1554
|
+
default: string;
|
|
1555
|
+
};
|
|
1556
|
+
showPassword: {
|
|
1557
|
+
type: BooleanConstructor;
|
|
1558
|
+
default: boolean;
|
|
1559
|
+
};
|
|
1560
|
+
showWordLimit: {
|
|
1561
|
+
type: BooleanConstructor;
|
|
1562
|
+
default: boolean;
|
|
1563
|
+
};
|
|
1564
|
+
showTitle: {
|
|
1565
|
+
type: BooleanConstructor;
|
|
1566
|
+
default: boolean;
|
|
1567
|
+
};
|
|
1568
|
+
validateEvent: {
|
|
1569
|
+
type: BooleanConstructor;
|
|
1570
|
+
default: boolean;
|
|
1571
|
+
};
|
|
1572
|
+
popupMore: {
|
|
1573
|
+
type: BooleanConstructor;
|
|
1574
|
+
default: boolean;
|
|
1575
|
+
};
|
|
1576
|
+
textareaTitle: {
|
|
1577
|
+
type: StringConstructor;
|
|
1578
|
+
default: string;
|
|
1579
|
+
};
|
|
1580
|
+
displayOnly: {
|
|
1581
|
+
type: BooleanConstructor;
|
|
1582
|
+
default: boolean;
|
|
1583
|
+
};
|
|
1584
|
+
displayOnlyContent: {
|
|
1585
|
+
type: StringConstructor;
|
|
1586
|
+
default: string;
|
|
1587
|
+
};
|
|
1588
|
+
customClass: {
|
|
1589
|
+
type: StringConstructor;
|
|
1590
|
+
default: string;
|
|
1591
|
+
};
|
|
1592
|
+
frontClearIcon: {
|
|
1593
|
+
type: BooleanConstructor;
|
|
1594
|
+
default: boolean;
|
|
1595
|
+
};
|
|
1596
|
+
showEmptyValue: {
|
|
1597
|
+
type: BooleanConstructor;
|
|
1598
|
+
default: undefined;
|
|
1599
|
+
};
|
|
1600
|
+
textAlign: {
|
|
1601
|
+
type: StringConstructor;
|
|
1602
|
+
default: string;
|
|
1603
|
+
};
|
|
1604
|
+
width: {
|
|
1605
|
+
type: PropType<string | number | null>;
|
|
1606
|
+
};
|
|
1607
|
+
showTooltip: {
|
|
1608
|
+
type: BooleanConstructor;
|
|
1609
|
+
default: boolean;
|
|
1610
|
+
};
|
|
1611
|
+
inputBoxType: {
|
|
1612
|
+
type: StringConstructor;
|
|
1613
|
+
default: string;
|
|
1614
|
+
validator: (value: string) => boolean;
|
|
1615
|
+
};
|
|
1616
|
+
tiny_mode: StringConstructor;
|
|
1617
|
+
tiny_mode_root: BooleanConstructor;
|
|
1618
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
1619
|
+
tiny_renderless: FunctionConstructor;
|
|
1620
|
+
tiny_theme: StringConstructor;
|
|
1621
|
+
tiny_mcp_config: ObjectConstructor;
|
|
1622
|
+
tiny_chart_theme: ObjectConstructor;
|
|
1623
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
1624
|
+
[key: string]: any;
|
|
1625
|
+
}>, {}, {}, {}, {
|
|
1626
|
+
disabled: boolean;
|
|
1627
|
+
type: string;
|
|
1628
|
+
ellipsis: boolean;
|
|
1629
|
+
mask: boolean;
|
|
1630
|
+
vertical: boolean;
|
|
1631
|
+
customClass: string;
|
|
1632
|
+
tiny_mode_root: boolean;
|
|
1633
|
+
_constants: Record<string, any>;
|
|
1634
|
+
tabindex: string;
|
|
1635
|
+
showTitle: boolean;
|
|
1636
|
+
readonly: boolean;
|
|
1637
|
+
hoverExpand: boolean;
|
|
1638
|
+
memorySpace: number;
|
|
1639
|
+
selectMenu: {
|
|
1640
|
+
id: string;
|
|
1641
|
+
label: string;
|
|
1642
|
+
}[];
|
|
1643
|
+
contentStyle: Record<string, any>;
|
|
1644
|
+
isSelect: boolean;
|
|
1645
|
+
counter: boolean;
|
|
1646
|
+
autosize: boolean | Record<string, any>;
|
|
1647
|
+
clearable: boolean;
|
|
1648
|
+
autocomplete: string;
|
|
1649
|
+
showPassword: boolean;
|
|
1650
|
+
showWordLimit: boolean;
|
|
1651
|
+
validateEvent: boolean;
|
|
1652
|
+
popupMore: boolean;
|
|
1653
|
+
textareaTitle: string;
|
|
1654
|
+
displayOnly: boolean;
|
|
1655
|
+
displayOnlyContent: string;
|
|
1656
|
+
frontClearIcon: boolean;
|
|
1657
|
+
showEmptyValue: boolean;
|
|
1658
|
+
textAlign: string;
|
|
1659
|
+
showTooltip: boolean;
|
|
1660
|
+
inputBoxType: string;
|
|
1661
|
+
}> | null;
|
|
1662
|
+
buttonsContainerRef: HTMLDivElement;
|
|
1663
|
+
suggestionsListRef: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{
|
|
1664
|
+
onSelect?: ((item: string) => any) | undefined;
|
|
1665
|
+
"onItem-hover"?: ((index: number) => any) | undefined;
|
|
1666
|
+
"onItem-leave"?: (() => any) | undefined;
|
|
1667
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1668
|
+
select: (item: string) => any;
|
|
1669
|
+
"item-hover": (index: number) => any;
|
|
1670
|
+
"item-leave": () => any;
|
|
1671
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1672
|
+
suggestionsListRef: HTMLDivElement;
|
|
1673
|
+
}, any, ComponentProvideOptions, {
|
|
1674
|
+
P: {};
|
|
1675
|
+
B: {};
|
|
1676
|
+
D: {};
|
|
1677
|
+
C: {};
|
|
1678
|
+
M: {};
|
|
1679
|
+
Defaults: {};
|
|
1680
|
+
}, Readonly<Props> & Readonly<{
|
|
1681
|
+
onSelect?: ((item: string) => any) | undefined;
|
|
1682
|
+
"onItem-hover"?: ((index: number) => any) | undefined;
|
|
1683
|
+
"onItem-leave"?: (() => any) | undefined;
|
|
593
1684
|
}>, {}, {}, {}, {}, {}> | null;
|
|
594
1685
|
};
|
|
595
|
-
rootEl:
|
|
1686
|
+
rootEl: HTMLDivElement;
|
|
596
1687
|
};
|
|
597
1688
|
|
|
598
1689
|
declare function __VLS_template_8(): {
|
|
599
1690
|
attrs: Partial<{}>;
|
|
600
|
-
slots: Readonly<
|
|
1691
|
+
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
601
1692
|
refs: {};
|
|
1693
|
+
rootEl: HTMLButtonElement;
|
|
1694
|
+
};
|
|
1695
|
+
|
|
1696
|
+
declare function __VLS_template_9(): {
|
|
1697
|
+
attrs: Partial<{}>;
|
|
1698
|
+
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
1699
|
+
refs: {
|
|
1700
|
+
containerWrapperRef: HTMLDivElement;
|
|
1701
|
+
containerRef: HTMLDivElement;
|
|
1702
|
+
staticMaybeItemRefs: unknown[];
|
|
1703
|
+
floatingItemsRef: HTMLDivElement;
|
|
1704
|
+
floatingMaybeItemRefs: unknown[];
|
|
1705
|
+
};
|
|
602
1706
|
rootEl: HTMLDivElement;
|
|
603
1707
|
};
|
|
604
1708
|
|
|
605
1709
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
606
1710
|
|
|
1711
|
+
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
1712
|
+
|
|
1713
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1714
|
+
|
|
607
1715
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
608
1716
|
|
|
609
1717
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -618,12 +1726,26 @@ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
|
618
1726
|
|
|
619
1727
|
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
620
1728
|
|
|
1729
|
+
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
1730
|
+
|
|
621
1731
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
622
1732
|
new (): {
|
|
623
1733
|
$slots: S;
|
|
624
1734
|
};
|
|
625
1735
|
};
|
|
626
1736
|
|
|
1737
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
1738
|
+
new (): {
|
|
1739
|
+
$slots: S;
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
|
|
1743
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1744
|
+
new (): {
|
|
1745
|
+
$slots: S;
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
|
|
627
1749
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
628
1750
|
new (): {
|
|
629
1751
|
$slots: S;
|
|
@@ -666,11 +1788,24 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
|
666
1788
|
};
|
|
667
1789
|
};
|
|
668
1790
|
|
|
1791
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
1792
|
+
new (): {
|
|
1793
|
+
$slots: S;
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1796
|
+
|
|
1797
|
+
export declare interface ActionButton {
|
|
1798
|
+
type: string;
|
|
1799
|
+
label: string;
|
|
1800
|
+
handler?: (file: Attachment) => void;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
669
1803
|
export declare interface ActionButtonsProps {
|
|
670
1804
|
loading?: boolean;
|
|
671
1805
|
disabled?: boolean;
|
|
672
1806
|
showClear?: boolean;
|
|
673
1807
|
hasContent?: boolean;
|
|
1808
|
+
buttonGroup?: ButtonGroupConfig;
|
|
674
1809
|
allowSpeech?: boolean;
|
|
675
1810
|
speechStatus?: {
|
|
676
1811
|
isRecording: boolean;
|
|
@@ -683,11 +1818,86 @@ export declare interface ActionButtonsProps {
|
|
|
683
1818
|
stopText?: string;
|
|
684
1819
|
}
|
|
685
1820
|
|
|
1821
|
+
export declare interface AddPluginCodeData {
|
|
1822
|
+
aiPlugin: string;
|
|
1823
|
+
openapi: string;
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
export declare interface AddPluginDialogEmits {
|
|
1827
|
+
(e: 'update:visible', value: boolean): void;
|
|
1828
|
+
(e: 'confirm', data: AddPluginFormData): void;
|
|
1829
|
+
(e: 'cancel'): void;
|
|
1830
|
+
(e: 'open-code-editor'): void;
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
export declare interface AddPluginDialogProps {
|
|
1834
|
+
visible: boolean;
|
|
1835
|
+
title?: string;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
export declare interface AddPluginFormData {
|
|
1839
|
+
name: string;
|
|
1840
|
+
description: string;
|
|
1841
|
+
type: string;
|
|
1842
|
+
url: string;
|
|
1843
|
+
headers: string;
|
|
1844
|
+
thumbnail?: File | null;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
export declare type Attachment = {
|
|
1848
|
+
id?: string;
|
|
1849
|
+
name?: string;
|
|
1850
|
+
status?: FileStatus;
|
|
1851
|
+
url: string;
|
|
1852
|
+
fileType?: FileType;
|
|
1853
|
+
size: number;
|
|
1854
|
+
message?: string;
|
|
1855
|
+
rawFile?: File;
|
|
1856
|
+
} | {
|
|
1857
|
+
id?: string;
|
|
1858
|
+
name?: string;
|
|
1859
|
+
status?: FileStatus;
|
|
1860
|
+
url?: string;
|
|
1861
|
+
fileType?: FileType;
|
|
1862
|
+
size?: number;
|
|
1863
|
+
message?: string;
|
|
1864
|
+
rawFile: File;
|
|
1865
|
+
};
|
|
1866
|
+
|
|
1867
|
+
export declare interface AttachmentListEmits {
|
|
1868
|
+
(e: 'update:items', items: Attachment[]): void;
|
|
1869
|
+
(e: 'remove', file: Attachment): void;
|
|
1870
|
+
(e: 'download', payload: {
|
|
1871
|
+
event: MouseEvent;
|
|
1872
|
+
file: Attachment;
|
|
1873
|
+
}): void;
|
|
1874
|
+
(e: 'retry', file: Attachment): void;
|
|
1875
|
+
(e: 'preview', file: Attachment): void;
|
|
1876
|
+
(e: 'action', payload: {
|
|
1877
|
+
action: ActionButton;
|
|
1878
|
+
file: Attachment;
|
|
1879
|
+
}): void;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
export declare interface AttachmentListProps {
|
|
1883
|
+
items?: Attachment[];
|
|
1884
|
+
disabled?: boolean;
|
|
1885
|
+
wrap?: boolean;
|
|
1886
|
+
fileIcons?: Record<string, Component>;
|
|
1887
|
+
actions?: ActionButton[];
|
|
1888
|
+
variant?: DisplayVariant;
|
|
1889
|
+
fileMatchers?: FileTypeMatcher[];
|
|
1890
|
+
}
|
|
1891
|
+
|
|
686
1892
|
export declare type AutoSize = boolean | {
|
|
687
1893
|
minRows: number;
|
|
688
1894
|
maxRows: number;
|
|
689
1895
|
};
|
|
690
1896
|
|
|
1897
|
+
declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled' | 'actions' | 'fileMatchers'>;
|
|
1898
|
+
|
|
1899
|
+
export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
|
|
1900
|
+
|
|
691
1901
|
declare interface BaseHistoryProps {
|
|
692
1902
|
activeTab?: string;
|
|
693
1903
|
searchBar?: boolean;
|
|
@@ -703,15 +1913,32 @@ declare interface BaseTextItem {
|
|
|
703
1913
|
content: string;
|
|
704
1914
|
}
|
|
705
1915
|
|
|
706
|
-
declare const Bubble: typeof
|
|
1916
|
+
declare const Bubble: typeof _default_16 & {
|
|
707
1917
|
install: typeof bubbleInstall;
|
|
708
1918
|
};
|
|
709
1919
|
export { Bubble }
|
|
710
1920
|
export { Bubble as TrBubble }
|
|
711
1921
|
|
|
1922
|
+
export declare interface BubbleCommonProps {
|
|
1923
|
+
/**
|
|
1924
|
+
* 气泡对齐位置
|
|
1925
|
+
*/
|
|
1926
|
+
placement?: 'start' | 'end';
|
|
1927
|
+
/**
|
|
1928
|
+
* 气泡头像
|
|
1929
|
+
*/
|
|
1930
|
+
avatar?: VNode;
|
|
1931
|
+
/**
|
|
1932
|
+
* 气泡形状,默认 'corner'
|
|
1933
|
+
*/
|
|
1934
|
+
shape?: 'rounded' | 'corner';
|
|
1935
|
+
hidden?: boolean;
|
|
1936
|
+
maxWidth?: string | number;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
712
1939
|
declare const bubbleInstall: (app: App) => void;
|
|
713
1940
|
|
|
714
|
-
declare const BubbleList: typeof
|
|
1941
|
+
declare const BubbleList: typeof _default_17 & {
|
|
715
1942
|
install: typeof bubbleListInstall;
|
|
716
1943
|
};
|
|
717
1944
|
export { BubbleList }
|
|
@@ -727,37 +1954,71 @@ export declare interface BubbleListProps {
|
|
|
727
1954
|
* 每个角色的默认配置项
|
|
728
1955
|
*/
|
|
729
1956
|
roles?: Record<string, BubbleRoleConfig>;
|
|
1957
|
+
/**
|
|
1958
|
+
* 列表是否加载中
|
|
1959
|
+
*/
|
|
1960
|
+
loading?: boolean;
|
|
1961
|
+
/**
|
|
1962
|
+
* 指定哪个角色可以有加载中状态
|
|
1963
|
+
*/
|
|
1964
|
+
loadingRole?: string;
|
|
730
1965
|
autoScroll?: boolean;
|
|
731
1966
|
}
|
|
732
1967
|
|
|
733
|
-
export declare
|
|
1968
|
+
export declare class BubbleMarkdownMessageRenderer extends BubbleMessageClassRenderer {
|
|
1969
|
+
readonly mdConfig: Options;
|
|
1970
|
+
readonly dompurifyConfig: Config & {
|
|
1971
|
+
disable?: boolean;
|
|
1972
|
+
};
|
|
1973
|
+
private md;
|
|
1974
|
+
constructor(mdConfig?: Options, dompurifyConfig?: Config & {
|
|
1975
|
+
disable?: boolean;
|
|
1976
|
+
});
|
|
1977
|
+
render(options: {
|
|
1978
|
+
content?: string;
|
|
1979
|
+
}): VNode<RendererNode, RendererElement, {
|
|
1980
|
+
[key: string]: any;
|
|
1981
|
+
}>;
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
export declare abstract class BubbleMessageClassRenderer {
|
|
1985
|
+
abstract render(options: {
|
|
1986
|
+
[key: string]: any;
|
|
1987
|
+
}): VNode;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
export declare type BubbleMessageFunctionRenderer = (options: {
|
|
1991
|
+
[key: string]: any;
|
|
1992
|
+
}) => VNode;
|
|
1993
|
+
|
|
1994
|
+
export declare interface BubbleMessageProps {
|
|
1995
|
+
type: string;
|
|
1996
|
+
[key: string]: any;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
export declare type BubbleMessageRenderer = BubbleMessageFunctionRenderer | BubbleMessageClassRenderer | Component;
|
|
734
2000
|
|
|
735
|
-
export declare interface BubbleProps {
|
|
2001
|
+
export declare interface BubbleProps extends BubbleCommonProps {
|
|
736
2002
|
/**
|
|
737
2003
|
* 气泡内容
|
|
738
2004
|
*/
|
|
739
2005
|
content?: string;
|
|
2006
|
+
messages?: BubbleMessageProps[];
|
|
740
2007
|
id?: string | number | symbol;
|
|
741
|
-
/**
|
|
742
|
-
* 气泡位置
|
|
743
|
-
*/
|
|
744
|
-
placement?: BubblePalcement;
|
|
745
|
-
avatar?: VNode;
|
|
746
2008
|
role?: string;
|
|
747
|
-
/**
|
|
748
|
-
* 内容类型
|
|
749
|
-
*/
|
|
750
|
-
type?: 'text' | 'markdown';
|
|
751
2009
|
loading?: boolean;
|
|
752
2010
|
aborted?: boolean;
|
|
753
|
-
/**
|
|
754
|
-
* type 为 'markdown' 时,markdown 的配置项
|
|
755
|
-
*/
|
|
756
|
-
mdConfig?: Options;
|
|
757
|
-
maxWidth?: string | number;
|
|
758
2011
|
}
|
|
759
2012
|
|
|
760
|
-
|
|
2013
|
+
declare const BubbleProvider: typeof _default_18 & {
|
|
2014
|
+
install: typeof bubbleProviderInstall;
|
|
2015
|
+
};
|
|
2016
|
+
export { BubbleProvider }
|
|
2017
|
+
export { BubbleProvider as TrBubbleProvider }
|
|
2018
|
+
|
|
2019
|
+
declare const bubbleProviderInstall: (app: App) => void;
|
|
2020
|
+
|
|
2021
|
+
export declare type BubbleRoleConfig = BubbleCommonProps & {
|
|
761
2022
|
slots?: BubbleSlots;
|
|
762
2023
|
};
|
|
763
2024
|
|
|
@@ -773,6 +2034,11 @@ export declare interface BubbleSlots {
|
|
|
773
2034
|
}) => unknown;
|
|
774
2035
|
}
|
|
775
2036
|
|
|
2037
|
+
export declare interface ButtonGroupConfig {
|
|
2038
|
+
file?: ControlState & fileUploadConfig;
|
|
2039
|
+
submit?: ControlState;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
776
2042
|
export declare interface ContainerProps {
|
|
777
2043
|
/**
|
|
778
2044
|
* model:show
|
|
@@ -791,112 +2057,284 @@ export declare interface ContainerSlots {
|
|
|
791
2057
|
footer: () => unknown;
|
|
792
2058
|
}
|
|
793
2059
|
|
|
2060
|
+
export declare interface ControlState {
|
|
2061
|
+
tooltips?: string | TooltipRender;
|
|
2062
|
+
disabled?: boolean;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
export declare interface CreatePluginDialogEmits {
|
|
2066
|
+
(e: 'update:visible', value: boolean): void;
|
|
2067
|
+
(e: 'confirm', data: AddPluginCodeData): void;
|
|
2068
|
+
(e: 'cancel'): void;
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
export declare interface CreatePluginDialogProps {
|
|
2072
|
+
visible: boolean;
|
|
2073
|
+
title?: string;
|
|
2074
|
+
}
|
|
2075
|
+
|
|
794
2076
|
declare const _default: {
|
|
795
2077
|
install<T>(app: App<T>): void;
|
|
796
2078
|
};
|
|
797
2079
|
export default _default;
|
|
798
2080
|
|
|
799
|
-
declare const _default_10: typeof
|
|
2081
|
+
declare const _default_10: typeof _default_27 & {
|
|
800
2082
|
install: typeof install_8;
|
|
801
2083
|
};
|
|
802
|
-
export { _default_10 as
|
|
803
|
-
export { _default_10 as
|
|
2084
|
+
export { _default_10 as Sender }
|
|
2085
|
+
export { _default_10 as TrSender }
|
|
804
2086
|
|
|
805
|
-
declare const _default_11: typeof
|
|
2087
|
+
declare const _default_11: typeof _default_29 & {
|
|
806
2088
|
install: typeof install_9;
|
|
807
2089
|
};
|
|
808
|
-
export { _default_11 as
|
|
809
|
-
export { _default_11 as
|
|
2090
|
+
export { _default_11 as SuggestionPills }
|
|
2091
|
+
export { _default_11 as TrSuggestionPills }
|
|
2092
|
+
|
|
2093
|
+
declare const _default_12: typeof _default_30 & {
|
|
2094
|
+
install: typeof install_10;
|
|
2095
|
+
};
|
|
2096
|
+
export { _default_12 as SuggestionPopover }
|
|
2097
|
+
export { _default_12 as TrSuggestionPopover }
|
|
810
2098
|
|
|
811
|
-
declare const
|
|
2099
|
+
declare const _default_13: typeof _default_31 & {
|
|
2100
|
+
install: typeof install_11;
|
|
2101
|
+
};
|
|
2102
|
+
export { _default_13 as TrWelcome }
|
|
2103
|
+
export { _default_13 as Welcome }
|
|
2104
|
+
|
|
2105
|
+
declare const _default_14: typeof _default_32 & {
|
|
2106
|
+
install: typeof install_12;
|
|
2107
|
+
};
|
|
2108
|
+
export { _default_14 as McpServerPicker }
|
|
2109
|
+
export { _default_14 as TrMcpServerPicker }
|
|
2110
|
+
|
|
2111
|
+
declare const _default_15: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2112
|
+
"update:items": (items: Attachment[]) => any;
|
|
2113
|
+
remove: (file: Attachment) => any;
|
|
2114
|
+
download: (payload: {
|
|
2115
|
+
event: MouseEvent;
|
|
2116
|
+
file: Attachment;
|
|
2117
|
+
}) => any;
|
|
2118
|
+
retry: (file: Attachment) => any;
|
|
2119
|
+
preview: (file: Attachment) => any;
|
|
2120
|
+
action: (payload: {
|
|
2121
|
+
action: ActionButton;
|
|
2122
|
+
file: Attachment;
|
|
2123
|
+
}) => any;
|
|
2124
|
+
}, string, PublicProps, Readonly<AttachmentListProps> & Readonly<{
|
|
2125
|
+
"onUpdate:items"?: ((items: Attachment[]) => any) | undefined;
|
|
2126
|
+
onRemove?: ((file: Attachment) => any) | undefined;
|
|
2127
|
+
onDownload?: ((payload: {
|
|
2128
|
+
event: MouseEvent;
|
|
2129
|
+
file: Attachment;
|
|
2130
|
+
}) => any) | undefined;
|
|
2131
|
+
onRetry?: ((file: Attachment) => any) | undefined;
|
|
2132
|
+
onPreview?: ((file: Attachment) => any) | undefined;
|
|
2133
|
+
onAction?: ((payload: {
|
|
2134
|
+
action: ActionButton;
|
|
2135
|
+
file: Attachment;
|
|
2136
|
+
}) => any) | undefined;
|
|
2137
|
+
}>, {
|
|
2138
|
+
actions: ActionButton[];
|
|
2139
|
+
fileMatchers: FileTypeMatcher_2[];
|
|
2140
|
+
variant: DisplayVariant_2;
|
|
2141
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2142
|
+
|
|
2143
|
+
declare const _default_16: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
812
2144
|
|
|
813
|
-
declare const
|
|
2145
|
+
declare const _default_17: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
814
2146
|
scrollContainerRef: HTMLDivElement;
|
|
815
2147
|
}, HTMLDivElement>;
|
|
816
2148
|
|
|
817
|
-
declare const
|
|
2149
|
+
declare const _default_18: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2150
|
+
|
|
2151
|
+
declare const _default_19: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2152
|
+
|
|
2153
|
+
declare const _default_2: typeof _default_15 & {
|
|
2154
|
+
install: typeof install;
|
|
2155
|
+
};
|
|
2156
|
+
export { _default_2 as Attachments }
|
|
2157
|
+
export { _default_2 as TrAttachments }
|
|
818
2158
|
|
|
819
|
-
declare const
|
|
2159
|
+
declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
820
2160
|
|
|
821
|
-
declare const
|
|
2161
|
+
declare const _default_21: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
822
2162
|
|
|
823
|
-
declare const
|
|
824
|
-
|
|
2163
|
+
declare const _default_22: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2164
|
+
|
|
2165
|
+
declare const _default_23: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
825
2166
|
action: (name: string) => any;
|
|
2167
|
+
operation: (name: string) => any;
|
|
826
2168
|
}, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
|
|
827
|
-
onOperation?: ((name: string) => any) | undefined;
|
|
828
2169
|
onAction?: ((name: string) => any) | undefined;
|
|
2170
|
+
onOperation?: ((name: string) => any) | undefined;
|
|
829
2171
|
}>, {
|
|
830
2172
|
operationsLimit: number;
|
|
831
2173
|
actionsLimit: number;
|
|
832
2174
|
sourcesLinesLimit: number;
|
|
833
2175
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
834
2176
|
|
|
835
|
-
declare const
|
|
2177
|
+
declare const _default_24: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
836
2178
|
size: string | number;
|
|
837
2179
|
svgSize: string | number;
|
|
838
2180
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
839
2181
|
|
|
840
|
-
declare const
|
|
841
|
-
|
|
842
|
-
declare const _default_2: typeof _default_14 & {
|
|
843
|
-
install: typeof install;
|
|
844
|
-
};
|
|
845
|
-
export { _default_2 as Container }
|
|
846
|
-
export { _default_2 as TrContainer }
|
|
2182
|
+
declare const _default_25: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
847
2183
|
|
|
848
|
-
declare const
|
|
2184
|
+
declare const _default_26: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
849
2185
|
|
|
850
|
-
declare const
|
|
2186
|
+
declare const _default_27: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
851
2187
|
|
|
852
|
-
declare const
|
|
2188
|
+
declare const _default_28: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
853
2189
|
|
|
854
|
-
declare const
|
|
2190
|
+
declare const _default_29: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
855
2191
|
|
|
856
|
-
declare const
|
|
857
|
-
|
|
858
|
-
declare const _default_3: typeof _default_15 & {
|
|
2192
|
+
declare const _default_3: typeof _default_19 & {
|
|
859
2193
|
install: typeof install_2;
|
|
860
2194
|
};
|
|
861
|
-
export { _default_3 as
|
|
862
|
-
export { _default_3 as
|
|
2195
|
+
export { _default_3 as Container }
|
|
2196
|
+
export { _default_3 as TrContainer }
|
|
2197
|
+
|
|
2198
|
+
declare const _default_30: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
863
2199
|
|
|
864
|
-
declare const
|
|
2200
|
+
declare const _default_31: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2201
|
+
|
|
2202
|
+
declare const _default_32: DefineComponent<McpServerPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2203
|
+
[x: string]: any;
|
|
2204
|
+
} & {
|
|
2205
|
+
[x: string]: any;
|
|
2206
|
+
}, string, PublicProps, Readonly<McpServerPickerProps> & Readonly<{
|
|
2207
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
2208
|
+
}>, {
|
|
2209
|
+
title: string;
|
|
2210
|
+
loading: boolean;
|
|
2211
|
+
visible: boolean;
|
|
2212
|
+
searchPlaceholder: string;
|
|
2213
|
+
enableParentChildSync: boolean;
|
|
2214
|
+
installedPlugins: PluginInfo[];
|
|
2215
|
+
marketPlugins: PluginInfo[];
|
|
2216
|
+
enableSearch: boolean;
|
|
2217
|
+
marketCategoryOptions: MarketCategoryOption_2[];
|
|
2218
|
+
marketCategoryPlaceholder: string;
|
|
2219
|
+
enableMarketCategoryFilter: boolean;
|
|
2220
|
+
defaultActiveTab: "installed" | "market";
|
|
2221
|
+
showInstalledTab: boolean;
|
|
2222
|
+
showMarketTab: boolean;
|
|
2223
|
+
popupConfig: PopupConfig;
|
|
2224
|
+
installedTabTitle: string;
|
|
2225
|
+
marketTabTitle: string;
|
|
2226
|
+
showCustomAddButton: boolean;
|
|
2227
|
+
customAddButtonText: string;
|
|
2228
|
+
allowPluginToggle: boolean;
|
|
2229
|
+
allowToolToggle: boolean;
|
|
2230
|
+
allowPluginDelete: boolean;
|
|
2231
|
+
allowPluginAdd: boolean;
|
|
2232
|
+
marketLoading: boolean;
|
|
2233
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2234
|
+
|
|
2235
|
+
declare const _default_4: typeof _default_20 & {
|
|
865
2236
|
install: typeof install_3;
|
|
866
2237
|
};
|
|
867
|
-
export { _default_4 as
|
|
868
|
-
export { _default_4 as
|
|
2238
|
+
export { _default_4 as Conversations }
|
|
2239
|
+
export { _default_4 as TrConversations }
|
|
869
2240
|
|
|
870
|
-
declare const _default_5: typeof
|
|
2241
|
+
declare const _default_5: typeof _default_21 & {
|
|
871
2242
|
install: typeof install_4;
|
|
872
2243
|
};
|
|
873
|
-
export { _default_5 as
|
|
874
|
-
export { _default_5 as
|
|
2244
|
+
export { _default_5 as DragOverlay }
|
|
2245
|
+
export { _default_5 as TrDragOverlay }
|
|
875
2246
|
|
|
876
|
-
declare const _default_6: {
|
|
877
|
-
install: <T>(app: App<T>) => void;
|
|
878
|
-
name: string;
|
|
879
|
-
};
|
|
880
|
-
export { _default_6 as History }
|
|
881
|
-
export { _default_6 as TrHistory }
|
|
882
|
-
|
|
883
|
-
declare const _default_7: typeof _default_18 & {
|
|
2247
|
+
declare const _default_6: typeof _default_22 & {
|
|
884
2248
|
install: typeof install_5;
|
|
885
2249
|
};
|
|
886
|
-
export {
|
|
887
|
-
export {
|
|
2250
|
+
export { _default_6 as DropdownMenu }
|
|
2251
|
+
export { _default_6 as TrDropdownMenu }
|
|
888
2252
|
|
|
889
|
-
declare const
|
|
2253
|
+
declare const _default_7: typeof _default_23 & {
|
|
890
2254
|
install: typeof install_6;
|
|
891
2255
|
};
|
|
892
|
-
export {
|
|
893
|
-
export {
|
|
2256
|
+
export { _default_7 as Feedback }
|
|
2257
|
+
export { _default_7 as TrFeedback }
|
|
2258
|
+
|
|
2259
|
+
declare const _default_8: {
|
|
2260
|
+
install: <T>(app: App<T>) => void;
|
|
2261
|
+
name: string;
|
|
2262
|
+
};
|
|
2263
|
+
export { _default_8 as History }
|
|
2264
|
+
export { _default_8 as TrHistory }
|
|
894
2265
|
|
|
895
|
-
declare const _default_9: typeof
|
|
2266
|
+
declare const _default_9: typeof _default_24 & {
|
|
896
2267
|
install: typeof install_7;
|
|
897
2268
|
};
|
|
898
|
-
export { _default_9 as
|
|
899
|
-
export { _default_9 as
|
|
2269
|
+
export { _default_9 as IconButton }
|
|
2270
|
+
export { _default_9 as TrIconButton }
|
|
2271
|
+
|
|
2272
|
+
export declare type DisplayVariant = 'picture' | 'card' | 'auto';
|
|
2273
|
+
|
|
2274
|
+
declare interface DragAwareElement extends HTMLElement {
|
|
2275
|
+
__vDropzoneHandlers__?: Handlers;
|
|
2276
|
+
__vDropzoneOptions__?: DragAwareOptions;
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
declare type DragAwareOptions = Omit<DropzoneBinding, 'onDraggingChange'>;
|
|
2280
|
+
|
|
2281
|
+
/**
|
|
2282
|
+
* 拖拽上传组件的属性
|
|
2283
|
+
*/
|
|
2284
|
+
export declare interface DragOverlayProps {
|
|
2285
|
+
/**
|
|
2286
|
+
* 覆盖层标题
|
|
2287
|
+
* @default ''
|
|
2288
|
+
*/
|
|
2289
|
+
overlayTitle?: string;
|
|
2290
|
+
/**
|
|
2291
|
+
* 覆盖层描述文本数组
|
|
2292
|
+
* @default []
|
|
2293
|
+
*/
|
|
2294
|
+
overlayDescription?: string[];
|
|
2295
|
+
/**
|
|
2296
|
+
* 控制拖拽覆盖层是否可见。这旨在与 v-dropzone 指令结合使用,由父组件控制。
|
|
2297
|
+
* @default false
|
|
2298
|
+
*/
|
|
2299
|
+
isDragging?: boolean;
|
|
2300
|
+
/**
|
|
2301
|
+
* @description 拖拽目标元素,用于定位覆盖层
|
|
2302
|
+
* @default null
|
|
2303
|
+
*/
|
|
2304
|
+
dragTarget?: HTMLElement | null;
|
|
2305
|
+
/**
|
|
2306
|
+
* @description 是否全屏模式,控制覆盖层的边框显示
|
|
2307
|
+
* @default false
|
|
2308
|
+
*/
|
|
2309
|
+
fullscreen?: boolean;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
export declare interface DragOverlaySlots {
|
|
2313
|
+
/**
|
|
2314
|
+
* 覆盖层插槽,用于自定义拖拽时的覆盖层内容
|
|
2315
|
+
*/
|
|
2316
|
+
overlay?: (props: {
|
|
2317
|
+
isDragging: boolean;
|
|
2318
|
+
}) => unknown;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* 拖拽区域错误码
|
|
2323
|
+
*/
|
|
2324
|
+
declare enum DragZoneErrorCode {
|
|
2325
|
+
/**
|
|
2326
|
+
* 文件类型不允许
|
|
2327
|
+
*/
|
|
2328
|
+
FileTypeNotAllowed = "file-type-not-allowed",
|
|
2329
|
+
/**
|
|
2330
|
+
* 文件大小超出限制
|
|
2331
|
+
*/
|
|
2332
|
+
FileSizeExceeded = "file-size-exceeded",
|
|
2333
|
+
/**
|
|
2334
|
+
* 文件数量超出限制
|
|
2335
|
+
*/
|
|
2336
|
+
FileCountExceeded = "file-count-exceeded"
|
|
2337
|
+
}
|
|
900
2338
|
|
|
901
2339
|
export declare interface DropdownMenuEmits {
|
|
902
2340
|
(e: 'item-click', item: DropdownMenuItem): void;
|
|
@@ -945,6 +2383,54 @@ export declare interface DropdownMenuSlots {
|
|
|
945
2383
|
trigger?: () => VNode | VNode[];
|
|
946
2384
|
}
|
|
947
2385
|
|
|
2386
|
+
/**
|
|
2387
|
+
* 拖拽上传组件的属性
|
|
2388
|
+
*/
|
|
2389
|
+
export declare interface DropzoneBinding {
|
|
2390
|
+
/**
|
|
2391
|
+
* 允许上传的文件类型, 与原生 input 的 accept 属性一致
|
|
2392
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept
|
|
2393
|
+
* @example '.jpg,.png,image/*'
|
|
2394
|
+
*/
|
|
2395
|
+
accept?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* 是否允许多选
|
|
2398
|
+
* @default true
|
|
2399
|
+
*/
|
|
2400
|
+
multiple?: boolean;
|
|
2401
|
+
/**
|
|
2402
|
+
* 是否禁用拖拽
|
|
2403
|
+
* @default false
|
|
2404
|
+
*/
|
|
2405
|
+
disabled?: boolean;
|
|
2406
|
+
/**
|
|
2407
|
+
* 单个文件的最大大小(单位:字节)
|
|
2408
|
+
* @default 10 * 1024 * 1024 (10MB)
|
|
2409
|
+
*/
|
|
2410
|
+
maxSize?: number;
|
|
2411
|
+
/**
|
|
2412
|
+
* 允许上传的最大文件数量
|
|
2413
|
+
* @default 3
|
|
2414
|
+
*/
|
|
2415
|
+
maxFiles?: number;
|
|
2416
|
+
/**
|
|
2417
|
+
* 拖拽完成后的回调
|
|
2418
|
+
* @param files 上传的文件
|
|
2419
|
+
*/
|
|
2420
|
+
onDrop: (files: File[]) => void;
|
|
2421
|
+
/**
|
|
2422
|
+
* 拖拽失败后的回调
|
|
2423
|
+
* @param rejection 拒绝信息
|
|
2424
|
+
*/
|
|
2425
|
+
onError: (rejection: FileRejection) => void;
|
|
2426
|
+
/**
|
|
2427
|
+
* 拖拽开始时的回调
|
|
2428
|
+
* @param dragging 是否正在拖拽
|
|
2429
|
+
* @param element 拖拽目标元素
|
|
2430
|
+
*/
|
|
2431
|
+
onDraggingChange: (dragging: boolean, element: HTMLElement | null) => void;
|
|
2432
|
+
}
|
|
2433
|
+
|
|
948
2434
|
export declare interface FeedbackEvents {
|
|
949
2435
|
(e: 'operation', name: string): void;
|
|
950
2436
|
(e: 'action', name: string): void;
|
|
@@ -971,6 +2457,57 @@ export declare interface FeedbackProps {
|
|
|
971
2457
|
sourcesLinesLimit?: number;
|
|
972
2458
|
}
|
|
973
2459
|
|
|
2460
|
+
export declare interface FileCardEmits {
|
|
2461
|
+
(e: 'remove', file: Attachment): void;
|
|
2462
|
+
(e: 'preview', file: Attachment): void;
|
|
2463
|
+
(e: 'download', payload: {
|
|
2464
|
+
event: MouseEvent;
|
|
2465
|
+
file: Attachment;
|
|
2466
|
+
}): void;
|
|
2467
|
+
(e: 'retry', file: Attachment): void;
|
|
2468
|
+
(e: 'action', payload: {
|
|
2469
|
+
action: ActionButton;
|
|
2470
|
+
file: Attachment;
|
|
2471
|
+
}): void;
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
export declare interface FileCardProps extends BaseCardProps {
|
|
2475
|
+
file: Attachment;
|
|
2476
|
+
variant: 'picture' | 'card';
|
|
2477
|
+
showStatus?: boolean;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* 文件拒绝信息
|
|
2482
|
+
*/
|
|
2483
|
+
export declare interface FileRejection {
|
|
2484
|
+
files: File[];
|
|
2485
|
+
code: DragZoneErrorCode;
|
|
2486
|
+
message: string;
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
export declare type FileStatus = 'uploading' | 'success' | 'error';
|
|
2490
|
+
|
|
2491
|
+
export declare type FileType = BaseFileType | string;
|
|
2492
|
+
|
|
2493
|
+
export declare interface FileTypeMatcher {
|
|
2494
|
+
type: string;
|
|
2495
|
+
matcher: (file: File | string) => boolean;
|
|
2496
|
+
icon?: Component;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
declare interface fileUploadConfig {
|
|
2500
|
+
accept?: string;
|
|
2501
|
+
multiple?: boolean;
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
export declare interface Handlers {
|
|
2505
|
+
handleDragEnter: (e: DragEvent) => void;
|
|
2506
|
+
handleDragOver: (e: DragEvent) => void;
|
|
2507
|
+
handleDragLeave: (e: DragEvent) => void;
|
|
2508
|
+
handleDrop: (e: DragEvent) => void;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
974
2511
|
export declare type HistoryData = HistoryItem[] | HistoryGroup[];
|
|
975
2512
|
|
|
976
2513
|
export declare interface HistoryEvents {
|
|
@@ -1017,6 +2554,12 @@ export declare type InputMode = 'single' | 'multiple';
|
|
|
1017
2554
|
|
|
1018
2555
|
declare const install: <T>(app: App<T>) => void;
|
|
1019
2556
|
|
|
2557
|
+
declare const install_10: <T>(app: App<T>) => void;
|
|
2558
|
+
|
|
2559
|
+
declare const install_11: <T>(app: App<T>) => void;
|
|
2560
|
+
|
|
2561
|
+
declare const install_12: <T>(app: App<T>) => void;
|
|
2562
|
+
|
|
1020
2563
|
declare const install_2: <T>(app: App<T>) => void;
|
|
1021
2564
|
|
|
1022
2565
|
declare const install_3: <T>(app: App<T>) => void;
|
|
@@ -1044,6 +2587,56 @@ export declare interface KeyboardHandler {
|
|
|
1044
2587
|
triggerSubmit: () => void;
|
|
1045
2588
|
}
|
|
1046
2589
|
|
|
2590
|
+
export declare interface MarketCategoryOption {
|
|
2591
|
+
value: string;
|
|
2592
|
+
label: string;
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
export declare interface McpServerPickerEmits {
|
|
2596
|
+
(e: 'search', query: string, tab: 'installed' | 'market'): void;
|
|
2597
|
+
(e: 'market-category-change', category: string): void;
|
|
2598
|
+
(e: 'tab-change', activeTab: 'installed' | 'market'): void;
|
|
2599
|
+
(e: 'plugin-toggle', plugin: PluginInfo, enabled: boolean): void;
|
|
2600
|
+
(e: 'plugin-delete', plugin: PluginInfo): void;
|
|
2601
|
+
(e: 'plugin-add', plugin: PluginInfo, added: boolean): void;
|
|
2602
|
+
(e: 'plugin-expand', plugin: PluginInfo, expanded: boolean): void;
|
|
2603
|
+
(e: 'tool-toggle', plugin: PluginInfo, toolId: string, enabled: boolean): void;
|
|
2604
|
+
(e: 'custom-add'): void;
|
|
2605
|
+
(e: 'plugin-form-add', data: AddPluginFormData): void;
|
|
2606
|
+
(e: 'plugin-code-add', data: AddPluginCodeData): void;
|
|
2607
|
+
(e: 'refresh', tab: 'installed' | 'market'): void;
|
|
2608
|
+
(e: 'update:activeCount', count: number): void;
|
|
2609
|
+
(e: 'update:visible', visible: boolean): void;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
export declare interface McpServerPickerProps {
|
|
2613
|
+
installedPlugins?: PluginInfo[];
|
|
2614
|
+
marketPlugins?: PluginInfo[];
|
|
2615
|
+
searchPlaceholder?: string;
|
|
2616
|
+
enableSearch?: boolean;
|
|
2617
|
+
marketCategoryOptions?: MarketCategoryOption[];
|
|
2618
|
+
marketCategoryPlaceholder?: string;
|
|
2619
|
+
enableMarketCategoryFilter?: boolean;
|
|
2620
|
+
defaultActiveTab?: 'installed' | 'market';
|
|
2621
|
+
showInstalledTab?: boolean;
|
|
2622
|
+
showMarketTab?: boolean;
|
|
2623
|
+
visible?: boolean;
|
|
2624
|
+
popupConfig?: PopupConfig;
|
|
2625
|
+
activeCount?: number;
|
|
2626
|
+
installedTabTitle?: string;
|
|
2627
|
+
marketTabTitle?: string;
|
|
2628
|
+
title?: string;
|
|
2629
|
+
showCustomAddButton?: boolean;
|
|
2630
|
+
customAddButtonText?: string;
|
|
2631
|
+
allowPluginToggle?: boolean;
|
|
2632
|
+
allowToolToggle?: boolean;
|
|
2633
|
+
allowPluginDelete?: boolean;
|
|
2634
|
+
allowPluginAdd?: boolean;
|
|
2635
|
+
enableParentChildSync?: boolean;
|
|
2636
|
+
loading?: boolean;
|
|
2637
|
+
marketLoading?: boolean;
|
|
2638
|
+
}
|
|
2639
|
+
|
|
1047
2640
|
export declare type MultiTabHistoryProps = {
|
|
1048
2641
|
tabs: {
|
|
1049
2642
|
title: string;
|
|
@@ -1052,7 +2645,65 @@ export declare type MultiTabHistoryProps = {
|
|
|
1052
2645
|
data: Record<string, HistoryData>;
|
|
1053
2646
|
} & BaseHistoryProps;
|
|
1054
2647
|
|
|
1055
|
-
declare
|
|
2648
|
+
export declare interface PluginCardEmits {
|
|
2649
|
+
(e: 'update:expanded', value: boolean): void;
|
|
2650
|
+
(e: 'toggle-expand'): void;
|
|
2651
|
+
(e: 'toggle-plugin', enabled: boolean): void;
|
|
2652
|
+
(e: 'toggle-tool', toolId: string, enabled: boolean): void;
|
|
2653
|
+
(e: 'add-plugin', added: boolean): void;
|
|
2654
|
+
(e: 'delete-plugin'): void;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
export declare type PluginCardMode = 'installed' | 'market';
|
|
2658
|
+
|
|
2659
|
+
export declare interface PluginCardProps {
|
|
2660
|
+
plugin: PluginInfo;
|
|
2661
|
+
mode?: PluginCardMode;
|
|
2662
|
+
expandable?: boolean;
|
|
2663
|
+
expanded?: boolean;
|
|
2664
|
+
showToolCount?: boolean;
|
|
2665
|
+
enableParentChildSync?: boolean;
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
export declare interface PluginDialogState {
|
|
2669
|
+
codeEditor: boolean;
|
|
2670
|
+
formEditor: boolean;
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
export declare interface PluginInfo {
|
|
2674
|
+
id: string;
|
|
2675
|
+
name: string;
|
|
2676
|
+
icon: string;
|
|
2677
|
+
description: string;
|
|
2678
|
+
toolCount?: number;
|
|
2679
|
+
enabled?: boolean;
|
|
2680
|
+
expanded?: boolean;
|
|
2681
|
+
tools?: PluginTool[];
|
|
2682
|
+
added?: boolean;
|
|
2683
|
+
category?: string;
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
export declare interface PluginTool {
|
|
2687
|
+
id: string;
|
|
2688
|
+
name: string;
|
|
2689
|
+
description: string;
|
|
2690
|
+
enabled: boolean;
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
export declare interface PopupConfig {
|
|
2694
|
+
type: 'fixed' | 'drawer';
|
|
2695
|
+
position?: {
|
|
2696
|
+
top?: string | number;
|
|
2697
|
+
left?: string | number;
|
|
2698
|
+
right?: string | number;
|
|
2699
|
+
bottom?: string | number;
|
|
2700
|
+
};
|
|
2701
|
+
drawer?: {
|
|
2702
|
+
direction: 'left' | 'right';
|
|
2703
|
+
};
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
declare const Prompt: typeof _default_25 & {
|
|
1056
2707
|
install: typeof installPrompt;
|
|
1057
2708
|
};
|
|
1058
2709
|
export { Prompt }
|
|
@@ -1085,7 +2736,7 @@ export declare interface PromptProps {
|
|
|
1085
2736
|
badge?: string | VNode;
|
|
1086
2737
|
}
|
|
1087
2738
|
|
|
1088
|
-
declare const Prompts: typeof
|
|
2739
|
+
declare const Prompts: typeof _default_26 & {
|
|
1089
2740
|
install: typeof installPrompts;
|
|
1090
2741
|
};
|
|
1091
2742
|
export { Prompts }
|
|
@@ -1137,6 +2788,7 @@ export declare type SenderEmits = {
|
|
|
1137
2788
|
(e: 'escape-press'): void;
|
|
1138
2789
|
(e: 'cancel'): void;
|
|
1139
2790
|
(e: 'reset-template'): void;
|
|
2791
|
+
(e: 'files-selected', files: File[]): void;
|
|
1140
2792
|
};
|
|
1141
2793
|
|
|
1142
2794
|
export declare interface SenderProps {
|
|
@@ -1151,6 +2803,7 @@ export declare interface SenderProps {
|
|
|
1151
2803
|
modelValue?: string;
|
|
1152
2804
|
mode?: InputMode;
|
|
1153
2805
|
maxLength?: number;
|
|
2806
|
+
buttonGroup?: ButtonGroupConfig;
|
|
1154
2807
|
submitType?: SubmitTrigger;
|
|
1155
2808
|
speech?: boolean | SpeechConfig;
|
|
1156
2809
|
placeholder?: string;
|
|
@@ -1212,7 +2865,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
|
|
|
1212
2865
|
|
|
1213
2866
|
export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
|
|
1214
2867
|
|
|
1215
|
-
declare const SuggestionPillButton: typeof
|
|
2868
|
+
declare const SuggestionPillButton: typeof _default_28 & {
|
|
1216
2869
|
install: typeof installPillButton;
|
|
1217
2870
|
};
|
|
1218
2871
|
export { SuggestionPillButton }
|
|
@@ -1330,9 +2983,14 @@ export declare interface SuggestionPopoverProps<T = Record<string, unknown>> {
|
|
|
1330
2983
|
}
|
|
1331
2984
|
|
|
1332
2985
|
export declare interface SuggestionPopoverSlots {
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
2986
|
+
trigger?: () => VNode | VNode[];
|
|
2987
|
+
item?: ({ item }: {
|
|
2988
|
+
item: SuggestionItem;
|
|
2989
|
+
}) => VNode | VNode[];
|
|
2990
|
+
loading?: () => VNode | VNode[];
|
|
2991
|
+
empty?: () => VNode | VNode[];
|
|
2992
|
+
header?: () => VNode | VNode[];
|
|
2993
|
+
body?: () => VNode | VNode[];
|
|
1336
2994
|
}
|
|
1337
2995
|
|
|
1338
2996
|
export declare interface SuggestionTextPart {
|
|
@@ -1355,12 +3013,21 @@ declare interface TextItem extends BaseTextItem {
|
|
|
1355
3013
|
*/
|
|
1356
3014
|
export declare type ThemeType = 'light' | 'dark';
|
|
1357
3015
|
|
|
3016
|
+
export declare type TooltipRender = () => VNode | string;
|
|
3017
|
+
|
|
1358
3018
|
export declare type UserItem = UserTextItem | UserTemplateItem;
|
|
1359
3019
|
|
|
1360
3020
|
export declare type UserTemplateItem = Pick<TemplateItem, 'type' | 'content'>;
|
|
1361
3021
|
|
|
1362
3022
|
export declare type UserTextItem = Omit<TextItem, 'id'>;
|
|
1363
3023
|
|
|
3024
|
+
/**
|
|
3025
|
+
* 拖拽区域指令
|
|
3026
|
+
* @param el 元素
|
|
3027
|
+
* @param binding 绑定
|
|
3028
|
+
*/
|
|
3029
|
+
export declare const vDropzone: Directive<DragAwareElement, DropzoneBinding>;
|
|
3030
|
+
|
|
1364
3031
|
export declare interface WelcomeProps {
|
|
1365
3032
|
title: string;
|
|
1366
3033
|
description: string;
|