@opentiny/tiny-robot 0.4.2-alpha.0 → 0.4.2-alpha.1
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/content-nav/index.js +856 -0
- package/dist/index.d.ts +386 -122
- package/dist/index.js +103 -99
- package/dist/index4.js +85 -79
- package/dist/index5.js +26 -26
- package/dist/index6.js +459 -419
- package/dist/sender/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/suggestion-popover/index.js +1 -1
- package/package.json +3 -3
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;
|
|
@@ -307,6 +309,7 @@ autoInsert: boolean;
|
|
|
307
309
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
308
310
|
|
|
309
311
|
declare const __VLS_component_2: DefineComponent<BubbleListProps, {
|
|
312
|
+
rootEl: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
310
313
|
scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
|
|
311
314
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
312
315
|
"state-change": (payload: {
|
|
@@ -346,9 +349,91 @@ onClose?: (() => any) | undefined;
|
|
|
346
349
|
title: string;
|
|
347
350
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
348
351
|
|
|
349
|
-
declare const __VLS_component_5: DefineComponent<
|
|
352
|
+
declare const __VLS_component_5: DefineComponent<ContentNavProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
353
|
+
select: (item: ContentNavItem) => any;
|
|
354
|
+
"update:searchQuery": (value: string) => any;
|
|
355
|
+
"update:activeId": (value: string | undefined) => any;
|
|
356
|
+
"update:expanded": (value: boolean) => any;
|
|
357
|
+
}, string, PublicProps, Readonly<ContentNavProps> & Readonly<{
|
|
358
|
+
onSelect?: ((item: ContentNavItem) => any) | undefined;
|
|
359
|
+
"onUpdate:searchQuery"?: ((value: string) => any) | undefined;
|
|
360
|
+
"onUpdate:activeId"?: ((value: string | undefined) => any) | undefined;
|
|
361
|
+
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
362
|
+
}>, {
|
|
363
|
+
placement: ContentNavPlacement;
|
|
364
|
+
tooltipDelay: number;
|
|
365
|
+
emptyText: string;
|
|
366
|
+
activeOffset: number;
|
|
367
|
+
expandTrigger: ContentNavExpandTrigger;
|
|
368
|
+
targetFeedbackDuration: number;
|
|
369
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
370
|
+
overlayShellRef: ({
|
|
371
|
+
$: ComponentInternalInstance;
|
|
372
|
+
$data: {};
|
|
373
|
+
$props: {
|
|
374
|
+
readonly expanded: boolean;
|
|
375
|
+
readonly placement: ContentNavPlacement;
|
|
376
|
+
readonly floatingOffset?: number | undefined;
|
|
377
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
378
|
+
$attrs: Attrs;
|
|
379
|
+
$refs: {
|
|
380
|
+
[x: string]: unknown;
|
|
381
|
+
} & {
|
|
382
|
+
hostEl: HTMLDivElement;
|
|
383
|
+
overlayEl: HTMLDivElement;
|
|
384
|
+
navEl: HTMLElement;
|
|
385
|
+
};
|
|
386
|
+
$slots: Readonly<{
|
|
387
|
+
[name: string]: Slot<any> | undefined;
|
|
388
|
+
}>;
|
|
389
|
+
$root: ComponentPublicInstance | null;
|
|
390
|
+
$parent: ComponentPublicInstance | null;
|
|
391
|
+
$host: Element | null;
|
|
392
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
393
|
+
$el: HTMLDivElement;
|
|
394
|
+
$options: ComponentOptionsBase<Readonly<ContentNavOverlayProps> & Readonly<{}>, {
|
|
395
|
+
hostEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
396
|
+
overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
397
|
+
navEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
398
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
399
|
+
floatingOffset: number;
|
|
400
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
401
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
402
|
+
created?: (() => void) | (() => void)[];
|
|
403
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
404
|
+
mounted?: (() => void) | (() => void)[];
|
|
405
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
406
|
+
updated?: (() => void) | (() => void)[];
|
|
407
|
+
activated?: (() => void) | (() => void)[];
|
|
408
|
+
deactivated?: (() => void) | (() => void)[];
|
|
409
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
410
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
411
|
+
destroyed?: (() => void) | (() => void)[];
|
|
412
|
+
unmounted?: (() => void) | (() => void)[];
|
|
413
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
414
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
415
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
416
|
+
};
|
|
417
|
+
$forceUpdate: () => void;
|
|
418
|
+
$nextTick: nextTick;
|
|
419
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
420
|
+
} & Readonly<{
|
|
421
|
+
floatingOffset: number;
|
|
422
|
+
}> & Omit<Readonly<ContentNavOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
|
|
423
|
+
hostEl: HTMLElement | null;
|
|
424
|
+
overlayEl: HTMLElement | null;
|
|
425
|
+
navEl: HTMLElement | null;
|
|
426
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
427
|
+
$slots: {
|
|
428
|
+
search?(_: {}): any;
|
|
429
|
+
default?(_: {}): any;
|
|
430
|
+
};
|
|
431
|
+
}) | null;
|
|
432
|
+
}, any>;
|
|
433
|
+
|
|
434
|
+
declare const __VLS_component_6: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
350
435
|
|
|
351
|
-
declare const
|
|
436
|
+
declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_2, {
|
|
352
437
|
update: () => void;
|
|
353
438
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
354
439
|
"update:show": (value: boolean) => any;
|
|
@@ -454,13 +539,13 @@ content?: () => VNode[];
|
|
|
454
539
|
}) | null;
|
|
455
540
|
}, any>;
|
|
456
541
|
|
|
457
|
-
declare const
|
|
542
|
+
declare const __VLS_component_8: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
458
543
|
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
459
544
|
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
460
545
|
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
461
546
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
462
547
|
|
|
463
|
-
declare const
|
|
548
|
+
declare const __VLS_component_9: DefineComponent<SenderProps_2, {
|
|
464
549
|
focus: () => void;
|
|
465
550
|
blur: () => void;
|
|
466
551
|
clear: () => void;
|
|
@@ -737,8 +822,6 @@ stop: () => void;
|
|
|
737
822
|
}) | null;
|
|
738
823
|
}, HTMLDivElement>;
|
|
739
824
|
|
|
740
|
-
declare const __VLS_component_9: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
741
|
-
|
|
742
825
|
declare type __VLS_PrettifyLocal<T> = {
|
|
743
826
|
[K in keyof T]: T[K];
|
|
744
827
|
} & {};
|
|
@@ -791,6 +874,13 @@ declare function __VLS_template(): {
|
|
|
791
874
|
};
|
|
792
875
|
|
|
793
876
|
declare function __VLS_template_10(): {
|
|
877
|
+
attrs: Partial<{}>;
|
|
878
|
+
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
879
|
+
refs: {};
|
|
880
|
+
rootEl: HTMLButtonElement;
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
declare function __VLS_template_11(): {
|
|
794
884
|
attrs: Partial<{}>;
|
|
795
885
|
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
796
886
|
refs: {
|
|
@@ -803,7 +893,7 @@ declare function __VLS_template_10(): {
|
|
|
803
893
|
rootEl: HTMLDivElement;
|
|
804
894
|
};
|
|
805
895
|
|
|
806
|
-
declare function
|
|
896
|
+
declare function __VLS_template_12(): {
|
|
807
897
|
attrs: Partial<{}>;
|
|
808
898
|
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
809
899
|
refs: {
|
|
@@ -920,7 +1010,7 @@ declare function __VLS_template_11(): {
|
|
|
920
1010
|
rootEl: any;
|
|
921
1011
|
};
|
|
922
1012
|
|
|
923
|
-
declare function
|
|
1013
|
+
declare function __VLS_template_13(): {
|
|
924
1014
|
attrs: Partial<{}>;
|
|
925
1015
|
slots: {
|
|
926
1016
|
default?(_: {}): any;
|
|
@@ -929,14 +1019,14 @@ declare function __VLS_template_12(): {
|
|
|
929
1019
|
rootEl: any;
|
|
930
1020
|
};
|
|
931
1021
|
|
|
932
|
-
declare function
|
|
1022
|
+
declare function __VLS_template_14(): {
|
|
933
1023
|
attrs: Partial<{}>;
|
|
934
1024
|
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
935
1025
|
refs: {};
|
|
936
1026
|
rootEl: HTMLDivElement;
|
|
937
1027
|
};
|
|
938
1028
|
|
|
939
|
-
declare function
|
|
1029
|
+
declare function __VLS_template_15(): {
|
|
940
1030
|
attrs: Partial<{}>;
|
|
941
1031
|
slots: {
|
|
942
1032
|
'header-actions'?(_: {}): any;
|
|
@@ -945,7 +1035,7 @@ declare function __VLS_template_14(): {
|
|
|
945
1035
|
rootEl: any;
|
|
946
1036
|
};
|
|
947
1037
|
|
|
948
|
-
declare function
|
|
1038
|
+
declare function __VLS_template_16(): {
|
|
949
1039
|
attrs: Partial<{}>;
|
|
950
1040
|
slots: {
|
|
951
1041
|
icon?(_: {}): any;
|
|
@@ -955,7 +1045,7 @@ declare function __VLS_template_15(): {
|
|
|
955
1045
|
rootEl: any;
|
|
956
1046
|
};
|
|
957
1047
|
|
|
958
|
-
declare function
|
|
1048
|
+
declare function __VLS_template_17(): {
|
|
959
1049
|
attrs: Partial<{}>;
|
|
960
1050
|
slots: {
|
|
961
1051
|
icon?(_: {
|
|
@@ -996,6 +1086,76 @@ declare function __VLS_template_4(): {
|
|
|
996
1086
|
};
|
|
997
1087
|
|
|
998
1088
|
declare function __VLS_template_5(): {
|
|
1089
|
+
attrs: Partial<{}>;
|
|
1090
|
+
slots: Readonly<ContentNavSlots> & ContentNavSlots;
|
|
1091
|
+
refs: {
|
|
1092
|
+
overlayShellRef: ({
|
|
1093
|
+
$: ComponentInternalInstance;
|
|
1094
|
+
$data: {};
|
|
1095
|
+
$props: {
|
|
1096
|
+
readonly expanded: boolean;
|
|
1097
|
+
readonly placement: ContentNavPlacement;
|
|
1098
|
+
readonly floatingOffset?: number | undefined;
|
|
1099
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1100
|
+
$attrs: Attrs;
|
|
1101
|
+
$refs: {
|
|
1102
|
+
[x: string]: unknown;
|
|
1103
|
+
} & {
|
|
1104
|
+
hostEl: HTMLDivElement;
|
|
1105
|
+
overlayEl: HTMLDivElement;
|
|
1106
|
+
navEl: HTMLElement;
|
|
1107
|
+
};
|
|
1108
|
+
$slots: Readonly<{
|
|
1109
|
+
[name: string]: Slot<any> | undefined;
|
|
1110
|
+
}>;
|
|
1111
|
+
$root: ComponentPublicInstance | null;
|
|
1112
|
+
$parent: ComponentPublicInstance | null;
|
|
1113
|
+
$host: Element | null;
|
|
1114
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1115
|
+
$el: HTMLDivElement;
|
|
1116
|
+
$options: ComponentOptionsBase<Readonly<ContentNavOverlayProps> & Readonly<{}>, {
|
|
1117
|
+
hostEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1118
|
+
overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1119
|
+
navEl: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1120
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1121
|
+
floatingOffset: number;
|
|
1122
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1123
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1124
|
+
created?: (() => void) | (() => void)[];
|
|
1125
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1126
|
+
mounted?: (() => void) | (() => void)[];
|
|
1127
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1128
|
+
updated?: (() => void) | (() => void)[];
|
|
1129
|
+
activated?: (() => void) | (() => void)[];
|
|
1130
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1131
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1132
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1133
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1134
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1135
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1136
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1137
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1138
|
+
};
|
|
1139
|
+
$forceUpdate: () => void;
|
|
1140
|
+
$nextTick: nextTick;
|
|
1141
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1142
|
+
} & Readonly<{
|
|
1143
|
+
floatingOffset: number;
|
|
1144
|
+
}> & Omit<Readonly<ContentNavOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
|
|
1145
|
+
hostEl: HTMLElement | null;
|
|
1146
|
+
overlayEl: HTMLElement | null;
|
|
1147
|
+
navEl: HTMLElement | null;
|
|
1148
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1149
|
+
$slots: {
|
|
1150
|
+
search?(_: {}): any;
|
|
1151
|
+
default?(_: {}): any;
|
|
1152
|
+
};
|
|
1153
|
+
}) | null;
|
|
1154
|
+
};
|
|
1155
|
+
rootEl: any;
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
declare function __VLS_template_6(): {
|
|
999
1159
|
attrs: Partial<{}>;
|
|
1000
1160
|
slots: {
|
|
1001
1161
|
overlay?(_: {
|
|
@@ -1006,7 +1166,7 @@ declare function __VLS_template_5(): {
|
|
|
1006
1166
|
rootEl: any;
|
|
1007
1167
|
};
|
|
1008
1168
|
|
|
1009
|
-
declare function
|
|
1169
|
+
declare function __VLS_template_7(): {
|
|
1010
1170
|
attrs: Partial<{}>;
|
|
1011
1171
|
slots: {
|
|
1012
1172
|
trigger?(_: {}): any;
|
|
@@ -1106,14 +1266,14 @@ declare function __VLS_template_6(): {
|
|
|
1106
1266
|
rootEl: any;
|
|
1107
1267
|
};
|
|
1108
1268
|
|
|
1109
|
-
declare function
|
|
1269
|
+
declare function __VLS_template_8(): {
|
|
1110
1270
|
attrs: Partial<{}>;
|
|
1111
1271
|
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
1112
1272
|
refs: {};
|
|
1113
1273
|
rootEl: HTMLDivElement;
|
|
1114
1274
|
};
|
|
1115
1275
|
|
|
1116
|
-
declare function
|
|
1276
|
+
declare function __VLS_template_9(): {
|
|
1117
1277
|
attrs: Partial<{}>;
|
|
1118
1278
|
slots: {
|
|
1119
1279
|
header?(_: {}): any;
|
|
@@ -1361,13 +1521,6 @@ declare function __VLS_template_8(): {
|
|
|
1361
1521
|
rootEl: HTMLDivElement;
|
|
1362
1522
|
};
|
|
1363
1523
|
|
|
1364
|
-
declare function __VLS_template_9(): {
|
|
1365
|
-
attrs: Partial<{}>;
|
|
1366
|
-
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
1367
|
-
refs: {};
|
|
1368
|
-
rootEl: HTMLButtonElement;
|
|
1369
|
-
};
|
|
1370
|
-
|
|
1371
1524
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1372
1525
|
|
|
1373
1526
|
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
@@ -1384,6 +1537,8 @@ declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
|
|
|
1384
1537
|
|
|
1385
1538
|
declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
|
|
1386
1539
|
|
|
1540
|
+
declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
|
|
1541
|
+
|
|
1387
1542
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1388
1543
|
|
|
1389
1544
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1448,6 +1603,12 @@ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
|
|
|
1448
1603
|
};
|
|
1449
1604
|
};
|
|
1450
1605
|
|
|
1606
|
+
declare type __VLS_WithTemplateSlots_17<T, S> = T & {
|
|
1607
|
+
new (): {
|
|
1608
|
+
$slots: S;
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
|
|
1451
1612
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1452
1613
|
new (): {
|
|
1453
1614
|
$slots: S;
|
|
@@ -1580,12 +1741,22 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
|
|
|
1580
1741
|
|
|
1581
1742
|
export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
|
|
1582
1743
|
|
|
1583
|
-
declare const Bubble: typeof
|
|
1744
|
+
declare const Bubble: typeof _default_26 & {
|
|
1584
1745
|
install: typeof bubbleInstall;
|
|
1585
1746
|
};
|
|
1586
1747
|
export { Bubble }
|
|
1587
1748
|
export { Bubble as TrBubble }
|
|
1588
1749
|
|
|
1750
|
+
export declare type BubbleAttributes = Record<string, unknown>;
|
|
1751
|
+
|
|
1752
|
+
export declare type BubbleBoxAttributesConfig = BubbleAttributes | BubbleBoxAttributesResolver;
|
|
1753
|
+
|
|
1754
|
+
export declare type BubbleBoxAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleAttributes | undefined;
|
|
1755
|
+
|
|
1756
|
+
export declare type BubbleBoxRendererAttributeMap = BubbleAttributes;
|
|
1757
|
+
|
|
1758
|
+
export declare type BubbleBoxRendererAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleBoxRendererAttributeMap | undefined;
|
|
1759
|
+
|
|
1589
1760
|
export declare type BubbleBoxRendererMatch = {
|
|
1590
1761
|
/**
|
|
1591
1762
|
* 匹配函数,用于判断是否应该使用此渲染器
|
|
@@ -1597,11 +1768,15 @@ export declare type BubbleBoxRendererMatch = {
|
|
|
1597
1768
|
find: (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => boolean;
|
|
1598
1769
|
renderer: Component<BubbleBoxRendererProps>;
|
|
1599
1770
|
priority?: number;
|
|
1600
|
-
attributes?:
|
|
1771
|
+
attributes?: BubbleBoxRendererAttributeMap | BubbleBoxRendererAttributesResolver;
|
|
1601
1772
|
};
|
|
1602
1773
|
|
|
1603
1774
|
export declare type BubbleBoxRendererProps = Pick<BubbleProps, 'placement' | 'shape'>;
|
|
1604
1775
|
|
|
1776
|
+
export declare type BubbleContentAttributesConfig = BubbleAttributes | BubbleContentAttributesResolver;
|
|
1777
|
+
|
|
1778
|
+
export declare type BubbleContentAttributesResolver = (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => BubbleAttributes | undefined;
|
|
1779
|
+
|
|
1605
1780
|
export declare type BubbleContentRendererMatch = {
|
|
1606
1781
|
/**
|
|
1607
1782
|
* 匹配函数,用于判断是否应该使用此渲染器
|
|
@@ -1613,7 +1788,7 @@ export declare type BubbleContentRendererMatch = {
|
|
|
1613
1788
|
find: (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => boolean;
|
|
1614
1789
|
renderer: Component<BubbleContentRendererProps>;
|
|
1615
1790
|
priority?: number;
|
|
1616
|
-
attributes?:
|
|
1791
|
+
attributes?: BubbleAttributes;
|
|
1617
1792
|
};
|
|
1618
1793
|
|
|
1619
1794
|
export declare type BubbleContentRendererProps<T extends ChatMessageContent = ChatMessageContent, S extends Record<string, unknown> = Record<string, unknown>> = {
|
|
@@ -1628,7 +1803,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
|
|
|
1628
1803
|
|
|
1629
1804
|
declare const bubbleInstall: (app: App) => void;
|
|
1630
1805
|
|
|
1631
|
-
declare const BubbleList: typeof
|
|
1806
|
+
declare const BubbleList: typeof _default_27 & {
|
|
1632
1807
|
install: typeof bubbleListInstall;
|
|
1633
1808
|
};
|
|
1634
1809
|
export { BubbleList }
|
|
@@ -1712,7 +1887,7 @@ export declare type BubbleProps = BubbleMessage & {
|
|
|
1712
1887
|
fallbackContentRenderer?: Component<BubbleContentRendererProps>;
|
|
1713
1888
|
};
|
|
1714
1889
|
|
|
1715
|
-
declare const BubbleProvider: typeof
|
|
1890
|
+
declare const BubbleProvider: typeof _default_28 & {
|
|
1716
1891
|
install: typeof bubbleProviderInstall;
|
|
1717
1892
|
};
|
|
1718
1893
|
export { BubbleProvider }
|
|
@@ -1723,6 +1898,8 @@ declare const bubbleProviderInstall: (app: App) => void;
|
|
|
1723
1898
|
export declare interface BubbleProviderProps {
|
|
1724
1899
|
boxRendererMatches?: BubbleBoxRendererMatch[];
|
|
1725
1900
|
contentRendererMatches?: BubbleContentRendererMatch[];
|
|
1901
|
+
boxAttributes?: BubbleBoxAttributesConfig;
|
|
1902
|
+
contentAttributes?: BubbleContentAttributesConfig;
|
|
1726
1903
|
fallbackBoxRenderer?: Component<BubbleBoxRendererProps>;
|
|
1727
1904
|
fallbackContentRenderer?: Component<BubbleContentRendererProps>;
|
|
1728
1905
|
store?: Record<string, unknown>;
|
|
@@ -1925,6 +2102,80 @@ export declare interface ContainerSlots {
|
|
|
1925
2102
|
footer: () => unknown;
|
|
1926
2103
|
}
|
|
1927
2104
|
|
|
2105
|
+
export declare interface ContentNavEmits {
|
|
2106
|
+
'update:activeId': [value: string | undefined];
|
|
2107
|
+
'update:expanded': [value: boolean];
|
|
2108
|
+
'update:searchQuery': [value: string];
|
|
2109
|
+
select: [item: ContentNavItem];
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
export declare type ContentNavExpandTrigger = 'hover' | 'manual';
|
|
2113
|
+
|
|
2114
|
+
export declare interface ContentNavHighlightSegment {
|
|
2115
|
+
text: string;
|
|
2116
|
+
highlighted: boolean;
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
export declare interface ContentNavItem {
|
|
2120
|
+
id: string;
|
|
2121
|
+
label: string;
|
|
2122
|
+
searchText?: string;
|
|
2123
|
+
tooltipText?: string;
|
|
2124
|
+
meta?: Record<string, unknown>;
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
declare interface ContentNavOverlayProps {
|
|
2128
|
+
expanded: boolean;
|
|
2129
|
+
placement: ContentNavPlacement;
|
|
2130
|
+
floatingOffset?: number;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
export declare type ContentNavPlacement = 'left' | 'right';
|
|
2134
|
+
|
|
2135
|
+
export declare interface ContentNavProps {
|
|
2136
|
+
items: ContentNavItem[];
|
|
2137
|
+
scrollContainer?: HTMLElement | null;
|
|
2138
|
+
activeId?: string;
|
|
2139
|
+
activeOffset?: number;
|
|
2140
|
+
expanded?: boolean;
|
|
2141
|
+
searchQuery?: string;
|
|
2142
|
+
placement?: ContentNavPlacement;
|
|
2143
|
+
expandTrigger?: ContentNavExpandTrigger;
|
|
2144
|
+
searchOptions?: ContentNavSearchOptions;
|
|
2145
|
+
tooltipDelay?: number;
|
|
2146
|
+
targetFeedbackClass?: string;
|
|
2147
|
+
targetFeedbackDuration?: number;
|
|
2148
|
+
emptyText?: string;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
export declare type ContentNavSearchMatcher = (item: ContentNavItem, searchQuery: string) => false | ContentNavHighlightSegment[];
|
|
2152
|
+
|
|
2153
|
+
export declare interface ContentNavSearchOptions {
|
|
2154
|
+
placeholder?: string;
|
|
2155
|
+
matcher?: ContentNavSearchMatcher;
|
|
2156
|
+
clearOnCollapse?: boolean;
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
export declare interface ContentNavSlots {
|
|
2160
|
+
item?: (slotProps: {
|
|
2161
|
+
item: ContentNavItem;
|
|
2162
|
+
segments: ContentNavHighlightSegment[];
|
|
2163
|
+
active: boolean;
|
|
2164
|
+
expanded: boolean;
|
|
2165
|
+
highlighted: boolean;
|
|
2166
|
+
}) => VNode | VNode[];
|
|
2167
|
+
marker?: (slotProps: {
|
|
2168
|
+
item: ContentNavItem;
|
|
2169
|
+
active: boolean;
|
|
2170
|
+
}) => VNode | VNode[];
|
|
2171
|
+
search?: (slotProps: {
|
|
2172
|
+
searchQuery: string;
|
|
2173
|
+
setSearchQuery: (value: string) => void;
|
|
2174
|
+
searchOptions: ContentNavSearchOptions;
|
|
2175
|
+
}) => VNode | VNode[];
|
|
2176
|
+
empty?: () => VNode | VNode[];
|
|
2177
|
+
}
|
|
2178
|
+
|
|
1928
2179
|
declare interface ControlState {
|
|
1929
2180
|
tooltips?: string | TooltipRender;
|
|
1930
2181
|
disabled?: boolean;
|
|
@@ -1936,67 +2187,73 @@ declare const _default: {
|
|
|
1936
2187
|
};
|
|
1937
2188
|
export default _default;
|
|
1938
2189
|
|
|
1939
|
-
declare const _default_10: typeof
|
|
2190
|
+
declare const _default_10: typeof _default_36 & {
|
|
1940
2191
|
install: typeof install_9;
|
|
1941
2192
|
};
|
|
1942
|
-
export { _default_10 as
|
|
1943
|
-
export { _default_10 as
|
|
2193
|
+
export { _default_10 as IconButton }
|
|
2194
|
+
export { _default_10 as TrIconButton }
|
|
1944
2195
|
|
|
1945
2196
|
declare const _default_11: typeof _default_39 & {
|
|
1946
2197
|
install: typeof install_10;
|
|
1947
2198
|
};
|
|
1948
|
-
export { _default_11 as
|
|
1949
|
-
export { _default_11 as
|
|
2199
|
+
export { _default_11 as SenderCompat }
|
|
2200
|
+
export { _default_11 as TrSenderCompat }
|
|
1950
2201
|
|
|
1951
|
-
declare const _default_12: typeof
|
|
2202
|
+
declare const _default_12: typeof _default_41 & {
|
|
1952
2203
|
install: typeof install_11;
|
|
1953
2204
|
};
|
|
1954
|
-
export { _default_12 as
|
|
1955
|
-
export { _default_12 as
|
|
2205
|
+
export { _default_12 as SuggestionPills }
|
|
2206
|
+
export { _default_12 as TrSuggestionPills }
|
|
1956
2207
|
|
|
1957
|
-
declare const _default_13: typeof
|
|
2208
|
+
declare const _default_13: typeof _default_42 & {
|
|
1958
2209
|
install: typeof install_12;
|
|
1959
2210
|
};
|
|
1960
|
-
export { _default_13 as
|
|
1961
|
-
export { _default_13 as
|
|
2211
|
+
export { _default_13 as SuggestionPopover }
|
|
2212
|
+
export { _default_13 as TrSuggestionPopover }
|
|
1962
2213
|
|
|
1963
|
-
declare const _default_14: typeof
|
|
2214
|
+
declare const _default_14: typeof _default_43 & {
|
|
1964
2215
|
install: typeof install_13;
|
|
1965
2216
|
};
|
|
1966
|
-
export { _default_14 as
|
|
1967
|
-
export { _default_14 as
|
|
2217
|
+
export { _default_14 as ThemeProvider }
|
|
2218
|
+
export { _default_14 as TrThemeProvider }
|
|
1968
2219
|
|
|
1969
|
-
declare const _default_15: typeof
|
|
2220
|
+
declare const _default_15: typeof _default_44 & {
|
|
1970
2221
|
install: typeof install_14;
|
|
1971
2222
|
};
|
|
1972
|
-
export { _default_15 as
|
|
1973
|
-
export { _default_15 as
|
|
2223
|
+
export { _default_15 as TrWelcome }
|
|
2224
|
+
export { _default_15 as Welcome }
|
|
1974
2225
|
|
|
1975
|
-
declare const _default_16: typeof
|
|
2226
|
+
declare const _default_16: typeof _default_45 & {
|
|
1976
2227
|
install: typeof install_15;
|
|
1977
2228
|
};
|
|
1978
|
-
export { _default_16 as
|
|
1979
|
-
export { _default_16 as
|
|
2229
|
+
export { _default_16 as McpServerPicker }
|
|
2230
|
+
export { _default_16 as TrMcpServerPicker }
|
|
1980
2231
|
|
|
1981
|
-
declare const _default_17:
|
|
1982
|
-
|
|
1983
|
-
|
|
2232
|
+
declare const _default_17: typeof _default_46 & {
|
|
2233
|
+
install: typeof install_16;
|
|
2234
|
+
};
|
|
2235
|
+
export { _default_17 as McpAddForm }
|
|
2236
|
+
export { _default_17 as TrMcpAddForm }
|
|
1984
2237
|
|
|
1985
|
-
declare const _default_18:
|
|
1986
|
-
export { _default_18 as
|
|
1987
|
-
export { _default_18 as
|
|
2238
|
+
declare const _default_18: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
2239
|
+
export { _default_18 as ActionButton }
|
|
2240
|
+
export { _default_18 as TrActionButton }
|
|
1988
2241
|
|
|
1989
2242
|
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
|
|
2243
|
+
export { _default_19 as SubmitButton }
|
|
2244
|
+
export { _default_19 as TrSubmitButton }
|
|
1992
2245
|
|
|
1993
|
-
declare const _default_2: typeof
|
|
2246
|
+
declare const _default_2: typeof _default_25 & {
|
|
1994
2247
|
install: typeof install;
|
|
1995
2248
|
};
|
|
1996
2249
|
export { _default_2 as Attachments }
|
|
1997
2250
|
export { _default_2 as TrAttachments }
|
|
1998
2251
|
|
|
1999
|
-
declare const _default_20: DefineComponent<
|
|
2252
|
+
declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2253
|
+
export { _default_20 as ClearButton }
|
|
2254
|
+
export { _default_20 as TrClearButton }
|
|
2255
|
+
|
|
2256
|
+
declare const _default_21: DefineComponent<UploadButtonProps, {
|
|
2000
2257
|
open: (localOptions?: Partial<UseFileDialogOptions>) => void;
|
|
2001
2258
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2002
2259
|
error: (error: Error, files?: File[] | undefined) => any;
|
|
@@ -2010,22 +2267,22 @@ multiple: boolean;
|
|
|
2010
2267
|
tooltipPlacement: TooltipPlacement;
|
|
2011
2268
|
accept: string;
|
|
2012
2269
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2013
|
-
export {
|
|
2014
|
-
export {
|
|
2270
|
+
export { _default_21 as TrUploadButton }
|
|
2271
|
+
export { _default_21 as UploadButton }
|
|
2015
2272
|
|
|
2016
|
-
declare const
|
|
2017
|
-
export {
|
|
2018
|
-
export {
|
|
2273
|
+
declare const _default_22: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
2274
|
+
export { _default_22 as TrVoiceButton }
|
|
2275
|
+
export { _default_22 as VoiceButton }
|
|
2019
2276
|
|
|
2020
|
-
declare const
|
|
2021
|
-
export {
|
|
2022
|
-
export {
|
|
2277
|
+
declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2278
|
+
export { _default_23 as TrWordCounter }
|
|
2279
|
+
export { _default_23 as WordCounter }
|
|
2023
2280
|
|
|
2024
|
-
declare const
|
|
2025
|
-
export {
|
|
2026
|
-
export {
|
|
2281
|
+
declare const _default_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2282
|
+
export { _default_24 as DefaultActionButtons }
|
|
2283
|
+
export { _default_24 as TrDefaultActionButtons }
|
|
2027
2284
|
|
|
2028
|
-
declare const
|
|
2285
|
+
declare const _default_25: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2029
2286
|
"update:items": (items: Attachment[]) => any;
|
|
2030
2287
|
remove: (file: Attachment) => any;
|
|
2031
2288
|
download: (event: MouseEvent, file: Attachment) => any;
|
|
@@ -2051,17 +2308,15 @@ fileMatchers: FileTypeMatcher[];
|
|
|
2051
2308
|
variant: DisplayVariant;
|
|
2052
2309
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2053
2310
|
|
|
2054
|
-
declare const
|
|
2055
|
-
|
|
2056
|
-
declare const _default_26: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2311
|
+
declare const _default_26: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2057
2312
|
|
|
2058
|
-
declare const _default_27:
|
|
2313
|
+
declare const _default_27: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2059
2314
|
|
|
2060
|
-
declare const _default_28:
|
|
2315
|
+
declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2061
2316
|
|
|
2062
|
-
declare const _default_29:
|
|
2317
|
+
declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2063
2318
|
|
|
2064
|
-
declare const _default_3: typeof
|
|
2319
|
+
declare const _default_3: typeof _default_29 & {
|
|
2065
2320
|
install: typeof install_2;
|
|
2066
2321
|
};
|
|
2067
2322
|
export { _default_3 as Container }
|
|
@@ -2069,9 +2324,13 @@ export { _default_3 as TrContainer }
|
|
|
2069
2324
|
|
|
2070
2325
|
declare const _default_30: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2071
2326
|
|
|
2072
|
-
declare const _default_31:
|
|
2327
|
+
declare const _default_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2328
|
+
|
|
2329
|
+
declare const _default_32: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2073
2330
|
|
|
2074
|
-
declare const
|
|
2331
|
+
declare const _default_33: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2332
|
+
|
|
2333
|
+
declare const _default_34: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2075
2334
|
action: (name: string) => any;
|
|
2076
2335
|
operation: (name: string) => any;
|
|
2077
2336
|
}, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
|
|
@@ -2083,7 +2342,7 @@ actionsLimit: number;
|
|
|
2083
2342
|
sourcesLinesLimit: number;
|
|
2084
2343
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2085
2344
|
|
|
2086
|
-
declare const
|
|
2345
|
+
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
2346
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
2088
2347
|
readonly "onItem-click"?: ((item: T) => any) | undefined;
|
|
2089
2348
|
readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
|
|
@@ -2097,38 +2356,38 @@ declare const _default_33: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
|
|
|
2097
2356
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2098
2357
|
};
|
|
2099
2358
|
|
|
2100
|
-
declare const
|
|
2359
|
+
declare const _default_36: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
2101
2360
|
size: string | number;
|
|
2102
2361
|
svgSize: string | number;
|
|
2103
2362
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2104
2363
|
|
|
2105
|
-
declare const
|
|
2364
|
+
declare const _default_37: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
|
|
2106
2365
|
size: "small" | "medium" | "large";
|
|
2107
2366
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2108
2367
|
|
|
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"]>;
|
|
2368
|
+
declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2114
2369
|
|
|
2115
|
-
declare const _default_39:
|
|
2370
|
+
declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2116
2371
|
|
|
2117
|
-
declare const _default_4: typeof
|
|
2372
|
+
declare const _default_4: typeof _default_30 & {
|
|
2118
2373
|
install: typeof install_3;
|
|
2119
2374
|
};
|
|
2120
|
-
export { _default_4 as
|
|
2121
|
-
export { _default_4 as
|
|
2375
|
+
export { _default_4 as ContentNav }
|
|
2376
|
+
export { _default_4 as TrContentNav }
|
|
2122
2377
|
|
|
2123
|
-
declare const _default_40:
|
|
2378
|
+
declare const _default_40: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2124
2379
|
|
|
2125
|
-
declare const _default_41:
|
|
2380
|
+
declare const _default_41: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2126
2381
|
|
|
2127
|
-
declare const _default_42:
|
|
2382
|
+
declare const _default_42: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
2128
2383
|
|
|
2129
|
-
declare const _default_43:
|
|
2384
|
+
declare const _default_43: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
2130
2385
|
|
|
2131
|
-
declare const _default_44:
|
|
2386
|
+
declare const _default_44: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2387
|
+
|
|
2388
|
+
declare const _default_45: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
2389
|
+
|
|
2390
|
+
declare const _default_46: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2132
2391
|
cancel: () => any;
|
|
2133
2392
|
confirm: (type: AddType, data: string | McpAddFormData) => any;
|
|
2134
2393
|
"update:addType": (value: AddType) => any;
|
|
@@ -2140,35 +2399,35 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
|
|
|
2140
2399
|
addType: AddType;
|
|
2141
2400
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2142
2401
|
|
|
2143
|
-
declare const _default_5: typeof
|
|
2402
|
+
declare const _default_5: typeof _default_31 & {
|
|
2144
2403
|
install: typeof install_4;
|
|
2145
2404
|
};
|
|
2146
|
-
export { _default_5 as
|
|
2147
|
-
export { _default_5 as
|
|
2405
|
+
export { _default_5 as Conversations }
|
|
2406
|
+
export { _default_5 as TrConversations }
|
|
2148
2407
|
|
|
2149
|
-
declare const _default_6: typeof
|
|
2408
|
+
declare const _default_6: typeof _default_32 & {
|
|
2150
2409
|
install: typeof install_5;
|
|
2151
2410
|
};
|
|
2152
|
-
export { _default_6 as
|
|
2153
|
-
export { _default_6 as
|
|
2411
|
+
export { _default_6 as DragOverlay }
|
|
2412
|
+
export { _default_6 as TrDragOverlay }
|
|
2154
2413
|
|
|
2155
|
-
declare const _default_7: typeof
|
|
2414
|
+
declare const _default_7: typeof _default_33 & {
|
|
2156
2415
|
install: typeof install_6;
|
|
2157
2416
|
};
|
|
2158
|
-
export { _default_7 as
|
|
2159
|
-
export { _default_7 as
|
|
2417
|
+
export { _default_7 as DropdownMenu }
|
|
2418
|
+
export { _default_7 as TrDropdownMenu }
|
|
2160
2419
|
|
|
2161
|
-
declare const _default_8: typeof
|
|
2420
|
+
declare const _default_8: typeof _default_34 & {
|
|
2162
2421
|
install: typeof install_7;
|
|
2163
2422
|
};
|
|
2164
|
-
export { _default_8 as
|
|
2165
|
-
export { _default_8 as
|
|
2423
|
+
export { _default_8 as Feedback }
|
|
2424
|
+
export { _default_8 as TrFeedback }
|
|
2166
2425
|
|
|
2167
|
-
declare const _default_9: typeof
|
|
2426
|
+
declare const _default_9: typeof _default_35 & {
|
|
2168
2427
|
install: typeof install_8;
|
|
2169
2428
|
};
|
|
2170
|
-
export { _default_9 as
|
|
2171
|
-
export { _default_9 as
|
|
2429
|
+
export { _default_9 as History }
|
|
2430
|
+
export { _default_9 as TrHistory }
|
|
2172
2431
|
|
|
2173
2432
|
/**
|
|
2174
2433
|
* 默认操作按钮配置
|
|
@@ -2553,6 +2812,8 @@ declare const install_14: <T>(app: App<T>) => void;
|
|
|
2553
2812
|
|
|
2554
2813
|
declare const install_15: <T>(app: App<T>) => void;
|
|
2555
2814
|
|
|
2815
|
+
declare const install_16: <T>(app: App<T>) => void;
|
|
2816
|
+
|
|
2556
2817
|
declare const install_2: <T>(app: App<T>) => void;
|
|
2557
2818
|
|
|
2558
2819
|
declare const install_3: <T>(app: App<T>) => void;
|
|
@@ -2802,7 +3063,7 @@ export declare interface PopupConfig {
|
|
|
2802
3063
|
};
|
|
2803
3064
|
}
|
|
2804
3065
|
|
|
2805
|
-
declare const Prompt: typeof
|
|
3066
|
+
declare const Prompt: typeof _default_37 & {
|
|
2806
3067
|
install: typeof installPrompt;
|
|
2807
3068
|
};
|
|
2808
3069
|
export { Prompt }
|
|
@@ -2839,7 +3100,7 @@ export declare interface PromptProps {
|
|
|
2839
3100
|
size?: 'small' | 'medium' | 'large';
|
|
2840
3101
|
}
|
|
2841
3102
|
|
|
2842
|
-
declare const Prompts: typeof
|
|
3103
|
+
declare const Prompts: typeof _default_38 & {
|
|
2843
3104
|
install: typeof installPrompts;
|
|
2844
3105
|
};
|
|
2845
3106
|
export { Prompts }
|
|
@@ -3920,7 +4181,7 @@ export declare interface SuggestionOptions {
|
|
|
3920
4181
|
onSelect?: (item: SenderSuggestionItem) => void | false;
|
|
3921
4182
|
}
|
|
3922
4183
|
|
|
3923
|
-
declare const SuggestionPillButton: typeof
|
|
4184
|
+
declare const SuggestionPillButton: typeof _default_40 & {
|
|
3924
4185
|
install: typeof installPillButton;
|
|
3925
4186
|
};
|
|
3926
4187
|
export { SuggestionPillButton }
|
|
@@ -4380,10 +4641,13 @@ export declare function useAutoScroll(target: MaybeComputedElementRef, source: M
|
|
|
4380
4641
|
|
|
4381
4642
|
export declare function useBubbleBoxRenderer(messages: MaybeRefOrGetter<BubbleMessage[]>, contentIndex?: number): ComputedRef<{
|
|
4382
4643
|
renderer: Component;
|
|
4383
|
-
attributes?:
|
|
4644
|
+
attributes?: BubbleAttributes;
|
|
4384
4645
|
}>;
|
|
4385
4646
|
|
|
4386
|
-
export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<
|
|
4647
|
+
export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<{
|
|
4648
|
+
renderer: Component;
|
|
4649
|
+
attributes?: BubbleAttributes;
|
|
4650
|
+
}>;
|
|
4387
4651
|
|
|
4388
4652
|
export declare function useBubbleStateChangeFn(): (key: string, _value: unknown) => void;
|
|
4389
4653
|
|