@opentiny/tiny-robot 0.4.2-alpha.0 → 0.4.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-group/index.js +1 -1
- package/dist/anchor/index.js +856 -0
- package/dist/feedback/index.js +2 -2
- package/dist/index.d.ts +385 -122
- package/dist/index.js +121 -117
- package/dist/index4.js +85 -79
- package/dist/index5.js +26 -26
- package/dist/index6.js +458 -419
- package/dist/sender/index.js +1446 -1328
- package/dist/style.css +1 -1
- package/dist/suggestion-popover/index.js +1 -1
- package/dist/welcome/index.js +9 -9
- package/package.json +19 -13
package/dist/index.d.ts
CHANGED
|
@@ -59,7 +59,9 @@ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
|
59
59
|
bubbleRef: HTMLDivElement;
|
|
60
60
|
}, HTMLDivElement>;
|
|
61
61
|
|
|
62
|
-
declare const __VLS_component_10: DefineComponent<
|
|
62
|
+
declare const __VLS_component_10: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
63
|
+
|
|
64
|
+
declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_3, {
|
|
63
65
|
children: ComputedRef<(HTMLElement | SVGElement)[]>;
|
|
64
66
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
65
67
|
"update:showAll": (value: boolean | undefined) => any;
|
|
@@ -79,7 +81,7 @@ floatingItemsRef: HTMLDivElement;
|
|
|
79
81
|
floatingMaybeItemRefs: unknown[];
|
|
80
82
|
}, HTMLDivElement>;
|
|
81
83
|
|
|
82
|
-
declare const
|
|
84
|
+
declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_4, {
|
|
83
85
|
update: () => void;
|
|
84
86
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
85
87
|
"update:selectedGroup": (value: string) => any;
|
|
@@ -213,7 +215,7 @@ show?: TooltipContentProps["show"];
|
|
|
213
215
|
}>, {}, {}, {}, {}, {}> | null;
|
|
214
216
|
}, any>;
|
|
215
217
|
|
|
216
|
-
declare const
|
|
218
|
+
declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
217
219
|
"update:theme": (value: string) => any;
|
|
218
220
|
"update:colorMode": (value: ColorMode) => any;
|
|
219
221
|
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
@@ -224,11 +226,11 @@ targetElement: string;
|
|
|
224
226
|
storageKey: string;
|
|
225
227
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
226
228
|
|
|
227
|
-
declare const
|
|
229
|
+
declare const __VLS_component_14: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
|
|
228
230
|
align: "left" | "center" | "right" | string;
|
|
229
231
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
230
232
|
|
|
231
|
-
declare const
|
|
233
|
+
declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
232
234
|
"update:visible": (value: boolean) => any;
|
|
233
235
|
} & {
|
|
234
236
|
refresh: (tab: "installed" | "market") => any;
|
|
@@ -279,13 +281,13 @@ allowPluginAdd: boolean;
|
|
|
279
281
|
marketLoading: boolean;
|
|
280
282
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
281
283
|
|
|
282
|
-
declare const
|
|
284
|
+
declare const __VLS_component_16: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
|
|
283
285
|
disabled: boolean;
|
|
284
286
|
active: boolean;
|
|
285
287
|
tooltipPlacement: TooltipPlacement;
|
|
286
288
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
287
289
|
|
|
288
|
-
declare const
|
|
290
|
+
declare const __VLS_component_17: DefineComponent<VoiceButtonProps, {
|
|
289
291
|
start: () => void;
|
|
290
292
|
stop: () => void;
|
|
291
293
|
speechState: SpeechState;
|
|
@@ -346,9 +348,91 @@ onClose?: (() => any) | undefined;
|
|
|
346
348
|
title: string;
|
|
347
349
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
348
350
|
|
|
349
|
-
declare const __VLS_component_5: DefineComponent<
|
|
351
|
+
declare const __VLS_component_5: DefineComponent<AnchorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
352
|
+
select: (item: AnchorItem) => any;
|
|
353
|
+
"update:searchQuery": (value: string) => any;
|
|
354
|
+
"update:activeId": (value: string | undefined) => any;
|
|
355
|
+
"update:expanded": (value: boolean) => any;
|
|
356
|
+
}, string, PublicProps, Readonly<AnchorProps> & Readonly<{
|
|
357
|
+
onSelect?: ((item: AnchorItem) => any) | undefined;
|
|
358
|
+
"onUpdate:searchQuery"?: ((value: string) => any) | undefined;
|
|
359
|
+
"onUpdate:activeId"?: ((value: string | undefined) => any) | undefined;
|
|
360
|
+
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
361
|
+
}>, {
|
|
362
|
+
placement: AnchorPlacement;
|
|
363
|
+
tooltipDelay: number;
|
|
364
|
+
emptyText: string;
|
|
365
|
+
activeOffset: number;
|
|
366
|
+
expandTrigger: AnchorExpandTrigger;
|
|
367
|
+
targetFeedbackDuration: number;
|
|
368
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
369
|
+
overlayShellRef: ({
|
|
370
|
+
$: ComponentInternalInstance;
|
|
371
|
+
$data: {};
|
|
372
|
+
$props: {
|
|
373
|
+
readonly expanded: boolean;
|
|
374
|
+
readonly placement: AnchorPlacement;
|
|
375
|
+
readonly floatingOffset?: number | undefined;
|
|
376
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
377
|
+
$attrs: Attrs;
|
|
378
|
+
$refs: {
|
|
379
|
+
[x: string]: unknown;
|
|
380
|
+
} & {
|
|
381
|
+
hostEl: HTMLDivElement;
|
|
382
|
+
overlayEl: HTMLDivElement;
|
|
383
|
+
navEl: HTMLElement;
|
|
384
|
+
};
|
|
385
|
+
$slots: Readonly<{
|
|
386
|
+
[name: string]: Slot<any> | undefined;
|
|
387
|
+
}>;
|
|
388
|
+
$root: ComponentPublicInstance | null;
|
|
389
|
+
$parent: ComponentPublicInstance | null;
|
|
390
|
+
$host: Element | null;
|
|
391
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
392
|
+
$el: HTMLDivElement;
|
|
393
|
+
$options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
|
|
394
|
+
hostEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
395
|
+
overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
396
|
+
navEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
397
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
398
|
+
floatingOffset: number;
|
|
399
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
400
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
401
|
+
created?: (() => void) | (() => void)[];
|
|
402
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
403
|
+
mounted?: (() => void) | (() => void)[];
|
|
404
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
405
|
+
updated?: (() => void) | (() => void)[];
|
|
406
|
+
activated?: (() => void) | (() => void)[];
|
|
407
|
+
deactivated?: (() => void) | (() => void)[];
|
|
408
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
409
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
410
|
+
destroyed?: (() => void) | (() => void)[];
|
|
411
|
+
unmounted?: (() => void) | (() => void)[];
|
|
412
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
413
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
414
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
415
|
+
};
|
|
416
|
+
$forceUpdate: () => void;
|
|
417
|
+
$nextTick: nextTick;
|
|
418
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
419
|
+
} & Readonly<{
|
|
420
|
+
floatingOffset: number;
|
|
421
|
+
}> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
|
|
422
|
+
hostEl: HTMLElement | null;
|
|
423
|
+
overlayEl: HTMLElement | null;
|
|
424
|
+
navEl: HTMLElement | null;
|
|
425
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
426
|
+
$slots: {
|
|
427
|
+
search?(_: {}): any;
|
|
428
|
+
default?(_: {}): any;
|
|
429
|
+
};
|
|
430
|
+
}) | null;
|
|
431
|
+
}, any>;
|
|
432
|
+
|
|
433
|
+
declare const __VLS_component_6: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
350
434
|
|
|
351
|
-
declare const
|
|
435
|
+
declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_2, {
|
|
352
436
|
update: () => void;
|
|
353
437
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
354
438
|
"update:show": (value: boolean) => any;
|
|
@@ -454,13 +538,13 @@ content?: () => VNode[];
|
|
|
454
538
|
}) | null;
|
|
455
539
|
}, any>;
|
|
456
540
|
|
|
457
|
-
declare const
|
|
541
|
+
declare const __VLS_component_8: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
458
542
|
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
459
543
|
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
460
544
|
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
461
545
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
462
546
|
|
|
463
|
-
declare const
|
|
547
|
+
declare const __VLS_component_9: DefineComponent<SenderProps_2, {
|
|
464
548
|
focus: () => void;
|
|
465
549
|
blur: () => void;
|
|
466
550
|
clear: () => void;
|
|
@@ -737,8 +821,6 @@ stop: () => void;
|
|
|
737
821
|
}) | null;
|
|
738
822
|
}, HTMLDivElement>;
|
|
739
823
|
|
|
740
|
-
declare const __VLS_component_9: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
741
|
-
|
|
742
824
|
declare type __VLS_PrettifyLocal<T> = {
|
|
743
825
|
[K in keyof T]: T[K];
|
|
744
826
|
} & {};
|
|
@@ -791,6 +873,13 @@ declare function __VLS_template(): {
|
|
|
791
873
|
};
|
|
792
874
|
|
|
793
875
|
declare function __VLS_template_10(): {
|
|
876
|
+
attrs: Partial<{}>;
|
|
877
|
+
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
878
|
+
refs: {};
|
|
879
|
+
rootEl: HTMLButtonElement;
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
declare function __VLS_template_11(): {
|
|
794
883
|
attrs: Partial<{}>;
|
|
795
884
|
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
796
885
|
refs: {
|
|
@@ -803,7 +892,7 @@ declare function __VLS_template_10(): {
|
|
|
803
892
|
rootEl: HTMLDivElement;
|
|
804
893
|
};
|
|
805
894
|
|
|
806
|
-
declare function
|
|
895
|
+
declare function __VLS_template_12(): {
|
|
807
896
|
attrs: Partial<{}>;
|
|
808
897
|
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
809
898
|
refs: {
|
|
@@ -920,7 +1009,7 @@ declare function __VLS_template_11(): {
|
|
|
920
1009
|
rootEl: any;
|
|
921
1010
|
};
|
|
922
1011
|
|
|
923
|
-
declare function
|
|
1012
|
+
declare function __VLS_template_13(): {
|
|
924
1013
|
attrs: Partial<{}>;
|
|
925
1014
|
slots: {
|
|
926
1015
|
default?(_: {}): any;
|
|
@@ -929,14 +1018,14 @@ declare function __VLS_template_12(): {
|
|
|
929
1018
|
rootEl: any;
|
|
930
1019
|
};
|
|
931
1020
|
|
|
932
|
-
declare function
|
|
1021
|
+
declare function __VLS_template_14(): {
|
|
933
1022
|
attrs: Partial<{}>;
|
|
934
1023
|
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
935
1024
|
refs: {};
|
|
936
1025
|
rootEl: HTMLDivElement;
|
|
937
1026
|
};
|
|
938
1027
|
|
|
939
|
-
declare function
|
|
1028
|
+
declare function __VLS_template_15(): {
|
|
940
1029
|
attrs: Partial<{}>;
|
|
941
1030
|
slots: {
|
|
942
1031
|
'header-actions'?(_: {}): any;
|
|
@@ -945,7 +1034,7 @@ declare function __VLS_template_14(): {
|
|
|
945
1034
|
rootEl: any;
|
|
946
1035
|
};
|
|
947
1036
|
|
|
948
|
-
declare function
|
|
1037
|
+
declare function __VLS_template_16(): {
|
|
949
1038
|
attrs: Partial<{}>;
|
|
950
1039
|
slots: {
|
|
951
1040
|
icon?(_: {}): any;
|
|
@@ -955,7 +1044,7 @@ declare function __VLS_template_15(): {
|
|
|
955
1044
|
rootEl: any;
|
|
956
1045
|
};
|
|
957
1046
|
|
|
958
|
-
declare function
|
|
1047
|
+
declare function __VLS_template_17(): {
|
|
959
1048
|
attrs: Partial<{}>;
|
|
960
1049
|
slots: {
|
|
961
1050
|
icon?(_: {
|
|
@@ -996,6 +1085,76 @@ declare function __VLS_template_4(): {
|
|
|
996
1085
|
};
|
|
997
1086
|
|
|
998
1087
|
declare function __VLS_template_5(): {
|
|
1088
|
+
attrs: Partial<{}>;
|
|
1089
|
+
slots: Readonly<AnchorSlots> & AnchorSlots;
|
|
1090
|
+
refs: {
|
|
1091
|
+
overlayShellRef: ({
|
|
1092
|
+
$: ComponentInternalInstance;
|
|
1093
|
+
$data: {};
|
|
1094
|
+
$props: {
|
|
1095
|
+
readonly expanded: boolean;
|
|
1096
|
+
readonly placement: AnchorPlacement;
|
|
1097
|
+
readonly floatingOffset?: number | undefined;
|
|
1098
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1099
|
+
$attrs: Attrs;
|
|
1100
|
+
$refs: {
|
|
1101
|
+
[x: string]: unknown;
|
|
1102
|
+
} & {
|
|
1103
|
+
hostEl: HTMLDivElement;
|
|
1104
|
+
overlayEl: HTMLDivElement;
|
|
1105
|
+
navEl: HTMLElement;
|
|
1106
|
+
};
|
|
1107
|
+
$slots: Readonly<{
|
|
1108
|
+
[name: string]: Slot<any> | undefined;
|
|
1109
|
+
}>;
|
|
1110
|
+
$root: ComponentPublicInstance | null;
|
|
1111
|
+
$parent: ComponentPublicInstance | null;
|
|
1112
|
+
$host: Element | null;
|
|
1113
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1114
|
+
$el: HTMLDivElement;
|
|
1115
|
+
$options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
|
|
1116
|
+
hostEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1117
|
+
overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1118
|
+
navEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1119
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1120
|
+
floatingOffset: number;
|
|
1121
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1122
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1123
|
+
created?: (() => void) | (() => void)[];
|
|
1124
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1125
|
+
mounted?: (() => void) | (() => void)[];
|
|
1126
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1127
|
+
updated?: (() => void) | (() => void)[];
|
|
1128
|
+
activated?: (() => void) | (() => void)[];
|
|
1129
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1130
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1131
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1132
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1133
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1134
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1135
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1136
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1137
|
+
};
|
|
1138
|
+
$forceUpdate: () => void;
|
|
1139
|
+
$nextTick: nextTick;
|
|
1140
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1141
|
+
} & Readonly<{
|
|
1142
|
+
floatingOffset: number;
|
|
1143
|
+
}> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
|
|
1144
|
+
hostEl: HTMLElement | null;
|
|
1145
|
+
overlayEl: HTMLElement | null;
|
|
1146
|
+
navEl: HTMLElement | null;
|
|
1147
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1148
|
+
$slots: {
|
|
1149
|
+
search?(_: {}): any;
|
|
1150
|
+
default?(_: {}): any;
|
|
1151
|
+
};
|
|
1152
|
+
}) | null;
|
|
1153
|
+
};
|
|
1154
|
+
rootEl: any;
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
declare function __VLS_template_6(): {
|
|
999
1158
|
attrs: Partial<{}>;
|
|
1000
1159
|
slots: {
|
|
1001
1160
|
overlay?(_: {
|
|
@@ -1006,7 +1165,7 @@ declare function __VLS_template_5(): {
|
|
|
1006
1165
|
rootEl: any;
|
|
1007
1166
|
};
|
|
1008
1167
|
|
|
1009
|
-
declare function
|
|
1168
|
+
declare function __VLS_template_7(): {
|
|
1010
1169
|
attrs: Partial<{}>;
|
|
1011
1170
|
slots: {
|
|
1012
1171
|
trigger?(_: {}): any;
|
|
@@ -1106,14 +1265,14 @@ declare function __VLS_template_6(): {
|
|
|
1106
1265
|
rootEl: any;
|
|
1107
1266
|
};
|
|
1108
1267
|
|
|
1109
|
-
declare function
|
|
1268
|
+
declare function __VLS_template_8(): {
|
|
1110
1269
|
attrs: Partial<{}>;
|
|
1111
1270
|
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
1112
1271
|
refs: {};
|
|
1113
1272
|
rootEl: HTMLDivElement;
|
|
1114
1273
|
};
|
|
1115
1274
|
|
|
1116
|
-
declare function
|
|
1275
|
+
declare function __VLS_template_9(): {
|
|
1117
1276
|
attrs: Partial<{}>;
|
|
1118
1277
|
slots: {
|
|
1119
1278
|
header?(_: {}): any;
|
|
@@ -1361,13 +1520,6 @@ declare function __VLS_template_8(): {
|
|
|
1361
1520
|
rootEl: HTMLDivElement;
|
|
1362
1521
|
};
|
|
1363
1522
|
|
|
1364
|
-
declare function __VLS_template_9(): {
|
|
1365
|
-
attrs: Partial<{}>;
|
|
1366
|
-
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
1367
|
-
refs: {};
|
|
1368
|
-
rootEl: HTMLButtonElement;
|
|
1369
|
-
};
|
|
1370
|
-
|
|
1371
1523
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1372
1524
|
|
|
1373
1525
|
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
@@ -1384,6 +1536,8 @@ declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
|
|
|
1384
1536
|
|
|
1385
1537
|
declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
|
|
1386
1538
|
|
|
1539
|
+
declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
|
|
1540
|
+
|
|
1387
1541
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1388
1542
|
|
|
1389
1543
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1448,6 +1602,12 @@ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
|
|
|
1448
1602
|
};
|
|
1449
1603
|
};
|
|
1450
1604
|
|
|
1605
|
+
declare type __VLS_WithTemplateSlots_17<T, S> = T & {
|
|
1606
|
+
new (): {
|
|
1607
|
+
$slots: S;
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1451
1611
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1452
1612
|
new (): {
|
|
1453
1613
|
$slots: S;
|
|
@@ -1536,6 +1696,80 @@ export declare interface ActionButtonProps {
|
|
|
1536
1696
|
|
|
1537
1697
|
export declare type AddType = 'form' | 'code';
|
|
1538
1698
|
|
|
1699
|
+
export declare interface AnchorEmits {
|
|
1700
|
+
'update:activeId': [value: string | undefined];
|
|
1701
|
+
'update:expanded': [value: boolean];
|
|
1702
|
+
'update:searchQuery': [value: string];
|
|
1703
|
+
select: [item: AnchorItem];
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
export declare type AnchorExpandTrigger = 'hover' | 'manual';
|
|
1707
|
+
|
|
1708
|
+
export declare interface AnchorHighlightSegment {
|
|
1709
|
+
text: string;
|
|
1710
|
+
highlighted: boolean;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
export declare interface AnchorItem {
|
|
1714
|
+
id: string;
|
|
1715
|
+
label: string;
|
|
1716
|
+
searchText?: string;
|
|
1717
|
+
tooltipText?: string;
|
|
1718
|
+
meta?: Record<string, unknown>;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
declare interface AnchorOverlayProps {
|
|
1722
|
+
expanded: boolean;
|
|
1723
|
+
placement: AnchorPlacement;
|
|
1724
|
+
floatingOffset?: number;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
export declare type AnchorPlacement = 'left' | 'right';
|
|
1728
|
+
|
|
1729
|
+
export declare interface AnchorProps {
|
|
1730
|
+
items: AnchorItem[];
|
|
1731
|
+
scrollContainer?: HTMLElement | null;
|
|
1732
|
+
activeId?: string;
|
|
1733
|
+
activeOffset?: number;
|
|
1734
|
+
expanded?: boolean;
|
|
1735
|
+
searchQuery?: string;
|
|
1736
|
+
placement?: AnchorPlacement;
|
|
1737
|
+
expandTrigger?: AnchorExpandTrigger;
|
|
1738
|
+
searchOptions?: AnchorSearchOptions;
|
|
1739
|
+
tooltipDelay?: number;
|
|
1740
|
+
targetFeedbackClass?: string;
|
|
1741
|
+
targetFeedbackDuration?: number;
|
|
1742
|
+
emptyText?: string;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
export declare type AnchorSearchMatcher = (item: AnchorItem, searchQuery: string) => false | AnchorHighlightSegment[];
|
|
1746
|
+
|
|
1747
|
+
export declare interface AnchorSearchOptions {
|
|
1748
|
+
placeholder?: string;
|
|
1749
|
+
matcher?: AnchorSearchMatcher;
|
|
1750
|
+
clearOnCollapse?: boolean;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
export declare interface AnchorSlots {
|
|
1754
|
+
item?: (slotProps: {
|
|
1755
|
+
item: AnchorItem;
|
|
1756
|
+
segments: AnchorHighlightSegment[];
|
|
1757
|
+
active: boolean;
|
|
1758
|
+
expanded: boolean;
|
|
1759
|
+
highlighted: boolean;
|
|
1760
|
+
}) => VNode | VNode[];
|
|
1761
|
+
marker?: (slotProps: {
|
|
1762
|
+
item: AnchorItem;
|
|
1763
|
+
active: boolean;
|
|
1764
|
+
}) => VNode | VNode[];
|
|
1765
|
+
search?: (slotProps: {
|
|
1766
|
+
searchQuery: string;
|
|
1767
|
+
setSearchQuery: (value: string) => void;
|
|
1768
|
+
searchOptions: AnchorSearchOptions;
|
|
1769
|
+
}) => VNode | VNode[];
|
|
1770
|
+
empty?: () => VNode | VNode[];
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1539
1773
|
export declare type Attachment = UrlAttachment | RawFileAttachment;
|
|
1540
1774
|
|
|
1541
1775
|
export declare interface AttachmentListEmits {
|
|
@@ -1580,12 +1814,22 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
|
|
|
1580
1814
|
|
|
1581
1815
|
export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
|
|
1582
1816
|
|
|
1583
|
-
declare const Bubble: typeof
|
|
1817
|
+
declare const Bubble: typeof _default_26 & {
|
|
1584
1818
|
install: typeof bubbleInstall;
|
|
1585
1819
|
};
|
|
1586
1820
|
export { Bubble }
|
|
1587
1821
|
export { Bubble as TrBubble }
|
|
1588
1822
|
|
|
1823
|
+
export declare type BubbleAttributes = Record<string, unknown>;
|
|
1824
|
+
|
|
1825
|
+
export declare type BubbleBoxAttributesConfig = BubbleAttributes | BubbleBoxAttributesResolver;
|
|
1826
|
+
|
|
1827
|
+
export declare type BubbleBoxAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleAttributes | undefined;
|
|
1828
|
+
|
|
1829
|
+
export declare type BubbleBoxRendererAttributeMap = BubbleAttributes;
|
|
1830
|
+
|
|
1831
|
+
export declare type BubbleBoxRendererAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleBoxRendererAttributeMap | undefined;
|
|
1832
|
+
|
|
1589
1833
|
export declare type BubbleBoxRendererMatch = {
|
|
1590
1834
|
/**
|
|
1591
1835
|
* 匹配函数,用于判断是否应该使用此渲染器
|
|
@@ -1597,11 +1841,15 @@ export declare type BubbleBoxRendererMatch = {
|
|
|
1597
1841
|
find: (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => boolean;
|
|
1598
1842
|
renderer: Component<BubbleBoxRendererProps>;
|
|
1599
1843
|
priority?: number;
|
|
1600
|
-
attributes?:
|
|
1844
|
+
attributes?: BubbleBoxRendererAttributeMap | BubbleBoxRendererAttributesResolver;
|
|
1601
1845
|
};
|
|
1602
1846
|
|
|
1603
1847
|
export declare type BubbleBoxRendererProps = Pick<BubbleProps, 'placement' | 'shape'>;
|
|
1604
1848
|
|
|
1849
|
+
export declare type BubbleContentAttributesConfig = BubbleAttributes | BubbleContentAttributesResolver;
|
|
1850
|
+
|
|
1851
|
+
export declare type BubbleContentAttributesResolver = (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => BubbleAttributes | undefined;
|
|
1852
|
+
|
|
1605
1853
|
export declare type BubbleContentRendererMatch = {
|
|
1606
1854
|
/**
|
|
1607
1855
|
* 匹配函数,用于判断是否应该使用此渲染器
|
|
@@ -1613,7 +1861,7 @@ export declare type BubbleContentRendererMatch = {
|
|
|
1613
1861
|
find: (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => boolean;
|
|
1614
1862
|
renderer: Component<BubbleContentRendererProps>;
|
|
1615
1863
|
priority?: number;
|
|
1616
|
-
attributes?:
|
|
1864
|
+
attributes?: BubbleAttributes;
|
|
1617
1865
|
};
|
|
1618
1866
|
|
|
1619
1867
|
export declare type BubbleContentRendererProps<T extends ChatMessageContent = ChatMessageContent, S extends Record<string, unknown> = Record<string, unknown>> = {
|
|
@@ -1628,7 +1876,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
|
|
|
1628
1876
|
|
|
1629
1877
|
declare const bubbleInstall: (app: App) => void;
|
|
1630
1878
|
|
|
1631
|
-
declare const BubbleList: typeof
|
|
1879
|
+
declare const BubbleList: typeof _default_27 & {
|
|
1632
1880
|
install: typeof bubbleListInstall;
|
|
1633
1881
|
};
|
|
1634
1882
|
export { BubbleList }
|
|
@@ -1712,7 +1960,7 @@ export declare type BubbleProps = BubbleMessage & {
|
|
|
1712
1960
|
fallbackContentRenderer?: Component<BubbleContentRendererProps>;
|
|
1713
1961
|
};
|
|
1714
1962
|
|
|
1715
|
-
declare const BubbleProvider: typeof
|
|
1963
|
+
declare const BubbleProvider: typeof _default_28 & {
|
|
1716
1964
|
install: typeof bubbleProviderInstall;
|
|
1717
1965
|
};
|
|
1718
1966
|
export { BubbleProvider }
|
|
@@ -1723,6 +1971,8 @@ declare const bubbleProviderInstall: (app: App) => void;
|
|
|
1723
1971
|
export declare interface BubbleProviderProps {
|
|
1724
1972
|
boxRendererMatches?: BubbleBoxRendererMatch[];
|
|
1725
1973
|
contentRendererMatches?: BubbleContentRendererMatch[];
|
|
1974
|
+
boxAttributes?: BubbleBoxAttributesConfig;
|
|
1975
|
+
contentAttributes?: BubbleContentAttributesConfig;
|
|
1726
1976
|
fallbackBoxRenderer?: Component<BubbleBoxRendererProps>;
|
|
1727
1977
|
fallbackContentRenderer?: Component<BubbleContentRendererProps>;
|
|
1728
1978
|
store?: Record<string, unknown>;
|
|
@@ -1936,67 +2186,73 @@ declare const _default: {
|
|
|
1936
2186
|
};
|
|
1937
2187
|
export default _default;
|
|
1938
2188
|
|
|
1939
|
-
declare const _default_10: typeof
|
|
2189
|
+
declare const _default_10: typeof _default_36 & {
|
|
1940
2190
|
install: typeof install_9;
|
|
1941
2191
|
};
|
|
1942
|
-
export { _default_10 as
|
|
1943
|
-
export { _default_10 as
|
|
2192
|
+
export { _default_10 as IconButton }
|
|
2193
|
+
export { _default_10 as TrIconButton }
|
|
1944
2194
|
|
|
1945
2195
|
declare const _default_11: typeof _default_39 & {
|
|
1946
2196
|
install: typeof install_10;
|
|
1947
2197
|
};
|
|
1948
|
-
export { _default_11 as
|
|
1949
|
-
export { _default_11 as
|
|
2198
|
+
export { _default_11 as SenderCompat }
|
|
2199
|
+
export { _default_11 as TrSenderCompat }
|
|
1950
2200
|
|
|
1951
|
-
declare const _default_12: typeof
|
|
2201
|
+
declare const _default_12: typeof _default_41 & {
|
|
1952
2202
|
install: typeof install_11;
|
|
1953
2203
|
};
|
|
1954
|
-
export { _default_12 as
|
|
1955
|
-
export { _default_12 as
|
|
2204
|
+
export { _default_12 as SuggestionPills }
|
|
2205
|
+
export { _default_12 as TrSuggestionPills }
|
|
1956
2206
|
|
|
1957
|
-
declare const _default_13: typeof
|
|
2207
|
+
declare const _default_13: typeof _default_42 & {
|
|
1958
2208
|
install: typeof install_12;
|
|
1959
2209
|
};
|
|
1960
|
-
export { _default_13 as
|
|
1961
|
-
export { _default_13 as
|
|
2210
|
+
export { _default_13 as SuggestionPopover }
|
|
2211
|
+
export { _default_13 as TrSuggestionPopover }
|
|
1962
2212
|
|
|
1963
|
-
declare const _default_14: typeof
|
|
2213
|
+
declare const _default_14: typeof _default_43 & {
|
|
1964
2214
|
install: typeof install_13;
|
|
1965
2215
|
};
|
|
1966
|
-
export { _default_14 as
|
|
1967
|
-
export { _default_14 as
|
|
2216
|
+
export { _default_14 as ThemeProvider }
|
|
2217
|
+
export { _default_14 as TrThemeProvider }
|
|
1968
2218
|
|
|
1969
|
-
declare const _default_15: typeof
|
|
2219
|
+
declare const _default_15: typeof _default_44 & {
|
|
1970
2220
|
install: typeof install_14;
|
|
1971
2221
|
};
|
|
1972
|
-
export { _default_15 as
|
|
1973
|
-
export { _default_15 as
|
|
2222
|
+
export { _default_15 as TrWelcome }
|
|
2223
|
+
export { _default_15 as Welcome }
|
|
1974
2224
|
|
|
1975
|
-
declare const _default_16: typeof
|
|
2225
|
+
declare const _default_16: typeof _default_45 & {
|
|
1976
2226
|
install: typeof install_15;
|
|
1977
2227
|
};
|
|
1978
|
-
export { _default_16 as
|
|
1979
|
-
export { _default_16 as
|
|
2228
|
+
export { _default_16 as McpServerPicker }
|
|
2229
|
+
export { _default_16 as TrMcpServerPicker }
|
|
1980
2230
|
|
|
1981
|
-
declare const _default_17:
|
|
1982
|
-
|
|
1983
|
-
|
|
2231
|
+
declare const _default_17: typeof _default_46 & {
|
|
2232
|
+
install: typeof install_16;
|
|
2233
|
+
};
|
|
2234
|
+
export { _default_17 as McpAddForm }
|
|
2235
|
+
export { _default_17 as TrMcpAddForm }
|
|
1984
2236
|
|
|
1985
|
-
declare const _default_18:
|
|
1986
|
-
export { _default_18 as
|
|
1987
|
-
export { _default_18 as
|
|
2237
|
+
declare const _default_18: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
2238
|
+
export { _default_18 as ActionButton }
|
|
2239
|
+
export { _default_18 as TrActionButton }
|
|
1988
2240
|
|
|
1989
2241
|
declare const _default_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1990
|
-
export { _default_19 as
|
|
1991
|
-
export { _default_19 as
|
|
2242
|
+
export { _default_19 as SubmitButton }
|
|
2243
|
+
export { _default_19 as TrSubmitButton }
|
|
1992
2244
|
|
|
1993
|
-
declare const _default_2: typeof
|
|
2245
|
+
declare const _default_2: typeof _default_25 & {
|
|
1994
2246
|
install: typeof install;
|
|
1995
2247
|
};
|
|
1996
2248
|
export { _default_2 as Attachments }
|
|
1997
2249
|
export { _default_2 as TrAttachments }
|
|
1998
2250
|
|
|
1999
|
-
declare const _default_20: DefineComponent<
|
|
2251
|
+
declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2252
|
+
export { _default_20 as ClearButton }
|
|
2253
|
+
export { _default_20 as TrClearButton }
|
|
2254
|
+
|
|
2255
|
+
declare const _default_21: DefineComponent<UploadButtonProps, {
|
|
2000
2256
|
open: (localOptions?: Partial<UseFileDialogOptions>) => void;
|
|
2001
2257
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2002
2258
|
error: (error: Error, files?: File[] | undefined) => any;
|
|
@@ -2010,22 +2266,22 @@ multiple: boolean;
|
|
|
2010
2266
|
tooltipPlacement: TooltipPlacement;
|
|
2011
2267
|
accept: string;
|
|
2012
2268
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2013
|
-
export {
|
|
2014
|
-
export {
|
|
2269
|
+
export { _default_21 as TrUploadButton }
|
|
2270
|
+
export { _default_21 as UploadButton }
|
|
2015
2271
|
|
|
2016
|
-
declare const
|
|
2017
|
-
export {
|
|
2018
|
-
export {
|
|
2272
|
+
declare const _default_22: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
2273
|
+
export { _default_22 as TrVoiceButton }
|
|
2274
|
+
export { _default_22 as VoiceButton }
|
|
2019
2275
|
|
|
2020
|
-
declare const
|
|
2021
|
-
export {
|
|
2022
|
-
export {
|
|
2276
|
+
declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2277
|
+
export { _default_23 as TrWordCounter }
|
|
2278
|
+
export { _default_23 as WordCounter }
|
|
2023
2279
|
|
|
2024
|
-
declare const
|
|
2025
|
-
export {
|
|
2026
|
-
export {
|
|
2280
|
+
declare const _default_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2281
|
+
export { _default_24 as DefaultActionButtons }
|
|
2282
|
+
export { _default_24 as TrDefaultActionButtons }
|
|
2027
2283
|
|
|
2028
|
-
declare const
|
|
2284
|
+
declare const _default_25: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2029
2285
|
"update:items": (items: Attachment[]) => any;
|
|
2030
2286
|
remove: (file: Attachment) => any;
|
|
2031
2287
|
download: (event: MouseEvent, file: Attachment) => any;
|
|
@@ -2051,17 +2307,15 @@ fileMatchers: FileTypeMatcher[];
|
|
|
2051
2307
|
variant: DisplayVariant;
|
|
2052
2308
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2053
2309
|
|
|
2054
|
-
declare const
|
|
2055
|
-
|
|
2056
|
-
declare const _default_26: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2310
|
+
declare const _default_26: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2057
2311
|
|
|
2058
|
-
declare const _default_27:
|
|
2312
|
+
declare const _default_27: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2059
2313
|
|
|
2060
|
-
declare const _default_28:
|
|
2314
|
+
declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2061
2315
|
|
|
2062
|
-
declare const _default_29:
|
|
2316
|
+
declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2063
2317
|
|
|
2064
|
-
declare const _default_3: typeof
|
|
2318
|
+
declare const _default_3: typeof _default_29 & {
|
|
2065
2319
|
install: typeof install_2;
|
|
2066
2320
|
};
|
|
2067
2321
|
export { _default_3 as Container }
|
|
@@ -2069,9 +2323,13 @@ export { _default_3 as TrContainer }
|
|
|
2069
2323
|
|
|
2070
2324
|
declare const _default_30: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2071
2325
|
|
|
2072
|
-
declare const _default_31:
|
|
2326
|
+
declare const _default_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2327
|
+
|
|
2328
|
+
declare const _default_32: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2073
2329
|
|
|
2074
|
-
declare const
|
|
2330
|
+
declare const _default_33: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2331
|
+
|
|
2332
|
+
declare const _default_34: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2075
2333
|
action: (name: string) => any;
|
|
2076
2334
|
operation: (name: string) => any;
|
|
2077
2335
|
}, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
|
|
@@ -2083,7 +2341,7 @@ actionsLimit: number;
|
|
|
2083
2341
|
sourcesLinesLimit: number;
|
|
2084
2342
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2085
2343
|
|
|
2086
|
-
declare const
|
|
2344
|
+
declare const _default_35: <T extends HistoryItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2087
2345
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
2088
2346
|
readonly "onItem-click"?: ((item: T) => any) | undefined;
|
|
2089
2347
|
readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
|
|
@@ -2097,38 +2355,38 @@ declare const _default_33: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
|
|
|
2097
2355
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2098
2356
|
};
|
|
2099
2357
|
|
|
2100
|
-
declare const
|
|
2358
|
+
declare const _default_36: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
2101
2359
|
size: string | number;
|
|
2102
2360
|
svgSize: string | number;
|
|
2103
2361
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2104
2362
|
|
|
2105
|
-
declare const
|
|
2363
|
+
declare const _default_37: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
|
|
2106
2364
|
size: "small" | "medium" | "large";
|
|
2107
2365
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2108
2366
|
|
|
2109
|
-
declare const
|
|
2110
|
-
|
|
2111
|
-
declare const _default_37: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2112
|
-
|
|
2113
|
-
declare const _default_38: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2367
|
+
declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2114
2368
|
|
|
2115
|
-
declare const _default_39:
|
|
2369
|
+
declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2116
2370
|
|
|
2117
|
-
declare const _default_4: typeof
|
|
2371
|
+
declare const _default_4: typeof _default_30 & {
|
|
2118
2372
|
install: typeof install_3;
|
|
2119
2373
|
};
|
|
2120
|
-
export { _default_4 as
|
|
2121
|
-
export { _default_4 as
|
|
2374
|
+
export { _default_4 as Anchor }
|
|
2375
|
+
export { _default_4 as TrAnchor }
|
|
2122
2376
|
|
|
2123
|
-
declare const _default_40:
|
|
2377
|
+
declare const _default_40: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2124
2378
|
|
|
2125
|
-
declare const _default_41:
|
|
2379
|
+
declare const _default_41: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2126
2380
|
|
|
2127
|
-
declare const _default_42:
|
|
2381
|
+
declare const _default_42: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
2128
2382
|
|
|
2129
|
-
declare const _default_43:
|
|
2383
|
+
declare const _default_43: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
2130
2384
|
|
|
2131
|
-
declare const _default_44:
|
|
2385
|
+
declare const _default_44: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2386
|
+
|
|
2387
|
+
declare const _default_45: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
2388
|
+
|
|
2389
|
+
declare const _default_46: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2132
2390
|
cancel: () => any;
|
|
2133
2391
|
confirm: (type: AddType, data: string | McpAddFormData) => any;
|
|
2134
2392
|
"update:addType": (value: AddType) => any;
|
|
@@ -2140,35 +2398,35 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
|
|
|
2140
2398
|
addType: AddType;
|
|
2141
2399
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2142
2400
|
|
|
2143
|
-
declare const _default_5: typeof
|
|
2401
|
+
declare const _default_5: typeof _default_31 & {
|
|
2144
2402
|
install: typeof install_4;
|
|
2145
2403
|
};
|
|
2146
|
-
export { _default_5 as
|
|
2147
|
-
export { _default_5 as
|
|
2404
|
+
export { _default_5 as Conversations }
|
|
2405
|
+
export { _default_5 as TrConversations }
|
|
2148
2406
|
|
|
2149
|
-
declare const _default_6: typeof
|
|
2407
|
+
declare const _default_6: typeof _default_32 & {
|
|
2150
2408
|
install: typeof install_5;
|
|
2151
2409
|
};
|
|
2152
|
-
export { _default_6 as
|
|
2153
|
-
export { _default_6 as
|
|
2410
|
+
export { _default_6 as DragOverlay }
|
|
2411
|
+
export { _default_6 as TrDragOverlay }
|
|
2154
2412
|
|
|
2155
|
-
declare const _default_7: typeof
|
|
2413
|
+
declare const _default_7: typeof _default_33 & {
|
|
2156
2414
|
install: typeof install_6;
|
|
2157
2415
|
};
|
|
2158
|
-
export { _default_7 as
|
|
2159
|
-
export { _default_7 as
|
|
2416
|
+
export { _default_7 as DropdownMenu }
|
|
2417
|
+
export { _default_7 as TrDropdownMenu }
|
|
2160
2418
|
|
|
2161
|
-
declare const _default_8: typeof
|
|
2419
|
+
declare const _default_8: typeof _default_34 & {
|
|
2162
2420
|
install: typeof install_7;
|
|
2163
2421
|
};
|
|
2164
|
-
export { _default_8 as
|
|
2165
|
-
export { _default_8 as
|
|
2422
|
+
export { _default_8 as Feedback }
|
|
2423
|
+
export { _default_8 as TrFeedback }
|
|
2166
2424
|
|
|
2167
|
-
declare const _default_9: typeof
|
|
2425
|
+
declare const _default_9: typeof _default_35 & {
|
|
2168
2426
|
install: typeof install_8;
|
|
2169
2427
|
};
|
|
2170
|
-
export { _default_9 as
|
|
2171
|
-
export { _default_9 as
|
|
2428
|
+
export { _default_9 as History }
|
|
2429
|
+
export { _default_9 as TrHistory }
|
|
2172
2430
|
|
|
2173
2431
|
/**
|
|
2174
2432
|
* 默认操作按钮配置
|
|
@@ -2553,6 +2811,8 @@ declare const install_14: <T>(app: App<T>) => void;
|
|
|
2553
2811
|
|
|
2554
2812
|
declare const install_15: <T>(app: App<T>) => void;
|
|
2555
2813
|
|
|
2814
|
+
declare const install_16: <T>(app: App<T>) => void;
|
|
2815
|
+
|
|
2556
2816
|
declare const install_2: <T>(app: App<T>) => void;
|
|
2557
2817
|
|
|
2558
2818
|
declare const install_3: <T>(app: App<T>) => void;
|
|
@@ -2802,7 +3062,7 @@ export declare interface PopupConfig {
|
|
|
2802
3062
|
};
|
|
2803
3063
|
}
|
|
2804
3064
|
|
|
2805
|
-
declare const Prompt: typeof
|
|
3065
|
+
declare const Prompt: typeof _default_37 & {
|
|
2806
3066
|
install: typeof installPrompt;
|
|
2807
3067
|
};
|
|
2808
3068
|
export { Prompt }
|
|
@@ -2839,7 +3099,7 @@ export declare interface PromptProps {
|
|
|
2839
3099
|
size?: 'small' | 'medium' | 'large';
|
|
2840
3100
|
}
|
|
2841
3101
|
|
|
2842
|
-
declare const Prompts: typeof
|
|
3102
|
+
declare const Prompts: typeof _default_38 & {
|
|
2843
3103
|
install: typeof installPrompts;
|
|
2844
3104
|
};
|
|
2845
3105
|
export { Prompts }
|
|
@@ -3920,7 +4180,7 @@ export declare interface SuggestionOptions {
|
|
|
3920
4180
|
onSelect?: (item: SenderSuggestionItem) => void | false;
|
|
3921
4181
|
}
|
|
3922
4182
|
|
|
3923
|
-
declare const SuggestionPillButton: typeof
|
|
4183
|
+
declare const SuggestionPillButton: typeof _default_40 & {
|
|
3924
4184
|
install: typeof installPillButton;
|
|
3925
4185
|
};
|
|
3926
4186
|
export { SuggestionPillButton }
|
|
@@ -4380,10 +4640,13 @@ export declare function useAutoScroll(target: MaybeComputedElementRef, source: M
|
|
|
4380
4640
|
|
|
4381
4641
|
export declare function useBubbleBoxRenderer(messages: MaybeRefOrGetter<BubbleMessage[]>, contentIndex?: number): ComputedRef<{
|
|
4382
4642
|
renderer: Component;
|
|
4383
|
-
attributes?:
|
|
4643
|
+
attributes?: BubbleAttributes;
|
|
4384
4644
|
}>;
|
|
4385
4645
|
|
|
4386
|
-
export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<
|
|
4646
|
+
export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<{
|
|
4647
|
+
renderer: Component;
|
|
4648
|
+
attributes?: BubbleAttributes;
|
|
4649
|
+
}>;
|
|
4387
4650
|
|
|
4388
4651
|
export declare function useBubbleStateChangeFn(): (key: string, _value: unknown) => void;
|
|
4389
4652
|
|