@opentiny/tiny-robot 0.5.2-beta.0 → 0.5.2-rc.0
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/anchor/index.js +32 -32
- package/dist/container/index.js +15 -16
- package/dist/dropdown-menu/index.js +97 -141
- package/dist/index.d.ts +122 -695
- package/dist/index.js +89 -103
- package/dist/index4.js +2 -2
- package/dist/index6.js +399 -408
- package/dist/index7.js +180 -271
- package/dist/index8.js +102 -87
- package/dist/layout/index.js +1 -1
- package/dist/sender/index.js +2138 -1219
- package/dist/style.css +1 -1
- package/dist/suggestion-pills/index.js +1 -1
- package/dist/suggestion-popover/index.js +36 -37
- package/dist/useSlotRefs.js +1 -1
- package/dist/utils.js +1 -1
- package/package.json +4 -4
- package/dist/extension-manager/index.js +0 -1006
- package/dist/floating-ui.dom.js +0 -970
- package/dist/model-selector/index.js +0 -1003
- package/dist/useTeleportTarget.js +0 -25
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ import { MaybeRefOrGetter } from 'vue';
|
|
|
25
25
|
import { nextTick } from 'vue';
|
|
26
26
|
import { Node as Node_2 } from '@tiptap/core';
|
|
27
27
|
import { OnCleanup } from '@vue/reactivity';
|
|
28
|
-
import { Placement } from '@floating-ui/dom';
|
|
29
28
|
import { PublicProps } from 'vue';
|
|
30
29
|
import { Ref } from 'vue';
|
|
31
30
|
import { ShallowUnwrapRef } from 'vue';
|
|
@@ -68,48 +67,13 @@ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
|
68
67
|
bubbleRef: HTMLDivElement;
|
|
69
68
|
}, HTMLDivElement>;
|
|
70
69
|
|
|
71
|
-
declare const __VLS_component_10: DefineComponent<
|
|
72
|
-
change: (option: ModelSelectorOption) => any;
|
|
73
|
-
"update:modelValue": (value: string | null) => any;
|
|
74
|
-
"update:reasoningEffort": (value: string | null) => any;
|
|
75
|
-
"reasoning-effort-change": (option: ModelSelectorReasoningEffortOption | null) => any;
|
|
76
|
-
"update:open": (open: boolean) => any;
|
|
77
|
-
}, string, PublicProps, Readonly<ModelSelectorProps> & Readonly<{
|
|
78
|
-
onChange?: ((option: ModelSelectorOption) => any) | undefined;
|
|
79
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
80
|
-
"onUpdate:reasoningEffort"?: ((value: string | null) => any) | undefined;
|
|
81
|
-
"onReasoning-effort-change"?: ((option: ModelSelectorReasoningEffortOption | null) => any) | undefined;
|
|
82
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
83
|
-
}>, {
|
|
84
|
-
size: ModelSelectorSize;
|
|
85
|
-
disabled: boolean;
|
|
86
|
-
variant: ModelSelectorVariant;
|
|
87
|
-
open: boolean;
|
|
88
|
-
placeholder: string;
|
|
89
|
-
placement: Placement;
|
|
90
|
-
emptyText: string;
|
|
91
|
-
offset: number;
|
|
92
|
-
searchable: boolean;
|
|
93
|
-
searchPlaceholder: string;
|
|
94
|
-
models: readonly ModelSelectorOption[];
|
|
95
|
-
defaultValue: string | null;
|
|
96
|
-
reasoningEffort: string | null;
|
|
97
|
-
defaultReasoningEffort: string | null;
|
|
98
|
-
defaultOpen: boolean;
|
|
99
|
-
closeOnSelect: boolean;
|
|
100
|
-
reasoningEffortLabel: string;
|
|
101
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
102
|
-
referenceEl: HTMLSpanElement;
|
|
103
|
-
floatingEl: HTMLDivElement;
|
|
104
|
-
}, HTMLDivElement>;
|
|
105
|
-
|
|
106
|
-
declare const __VLS_component_11: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
70
|
+
declare const __VLS_component_10: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
107
71
|
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
108
72
|
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
109
73
|
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
110
74
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
111
75
|
|
|
112
|
-
declare const
|
|
76
|
+
declare const __VLS_component_11: DefineComponent<SenderProps_2, {
|
|
113
77
|
focus: () => void;
|
|
114
78
|
blur: () => void;
|
|
115
79
|
clear: () => void;
|
|
@@ -389,9 +353,9 @@ stop: () => void;
|
|
|
389
353
|
}) | null;
|
|
390
354
|
}, HTMLDivElement>;
|
|
391
355
|
|
|
392
|
-
declare const
|
|
356
|
+
declare const __VLS_component_12: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
393
357
|
|
|
394
|
-
declare const
|
|
358
|
+
declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_3, {
|
|
395
359
|
children: ComputedRef<(HTMLElement | SVGElement)[]>;
|
|
396
360
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
397
361
|
"update:showAll": (value: boolean | undefined) => any;
|
|
@@ -411,7 +375,7 @@ floatingItemsRef: HTMLDivElement;
|
|
|
411
375
|
floatingMaybeItemRefs: unknown[];
|
|
412
376
|
}, HTMLDivElement>;
|
|
413
377
|
|
|
414
|
-
declare const
|
|
378
|
+
declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_4, {
|
|
415
379
|
update: () => void;
|
|
416
380
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
417
381
|
"update:selectedGroup": (value: string) => any;
|
|
@@ -545,7 +509,7 @@ show?: TooltipContentProps["show"];
|
|
|
545
509
|
}>, {}, {}, {}, {}, {}> | null;
|
|
546
510
|
}, any>;
|
|
547
511
|
|
|
548
|
-
declare const
|
|
512
|
+
declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
549
513
|
"update:theme": (value: string) => any;
|
|
550
514
|
"update:colorMode": (value: ColorMode) => any;
|
|
551
515
|
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
@@ -556,11 +520,11 @@ targetElement: string;
|
|
|
556
520
|
storageKey: string;
|
|
557
521
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
558
522
|
|
|
559
|
-
declare const
|
|
523
|
+
declare const __VLS_component_16: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
|
|
560
524
|
align: "left" | "center" | "right" | string;
|
|
561
525
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
562
526
|
|
|
563
|
-
declare const
|
|
527
|
+
declare const __VLS_component_17: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
564
528
|
"update:visible": (value: boolean) => any;
|
|
565
529
|
} & {
|
|
566
530
|
refresh: (tab: "installed" | "market") => any;
|
|
@@ -587,9 +551,9 @@ onRefresh?: ((tab: "installed" | "market") => any) | undefined;
|
|
|
587
551
|
}>, {
|
|
588
552
|
title: string;
|
|
589
553
|
loading: boolean;
|
|
590
|
-
searchPlaceholder: string;
|
|
591
554
|
installedPlugins: PluginInfo[];
|
|
592
555
|
marketPlugins: PluginInfo[];
|
|
556
|
+
searchPlaceholder: string;
|
|
593
557
|
enableSearch: boolean;
|
|
594
558
|
installedSearchFn: (query: string, item: PluginInfo) => boolean;
|
|
595
559
|
marketSearchFn: (query: string, item: PluginInfo) => boolean;
|
|
@@ -611,57 +575,13 @@ allowPluginAdd: boolean;
|
|
|
611
575
|
marketLoading: boolean;
|
|
612
576
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
613
577
|
|
|
614
|
-
declare const
|
|
615
|
-
action: (payload: ExtensionCardActionEvent) => any;
|
|
616
|
-
"name-click": (event: MouseEvent | KeyboardEvent) => any;
|
|
617
|
-
}, string, PublicProps, Readonly<ExtensionCardProps> & Readonly<{
|
|
618
|
-
onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
|
|
619
|
-
"onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
620
|
-
}>, {
|
|
621
|
-
actions: ExtensionCardAction[];
|
|
622
|
-
primaryActionsLimit: number;
|
|
623
|
-
nameClickable: boolean;
|
|
624
|
-
overflowMenuLabel: string;
|
|
625
|
-
overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
|
|
626
|
-
overflowMenuShowIcons: boolean;
|
|
627
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
628
|
-
|
|
629
|
-
declare const __VLS_component_2: DefineComponent<BubbleListProps, {
|
|
630
|
-
scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
|
|
631
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
632
|
-
"state-change": (payload: BubbleStateChangePayload) => any;
|
|
633
|
-
"bubble-event": (payload: BubbleEventPayload) => any;
|
|
634
|
-
}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
|
|
635
|
-
"onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
|
|
636
|
-
"onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
|
|
637
|
-
}>, {
|
|
638
|
-
contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
639
|
-
groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
|
|
640
|
-
dividerRole: string;
|
|
641
|
-
fallbackRole: string;
|
|
642
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
643
|
-
listRef: HTMLDivElement;
|
|
644
|
-
}, HTMLDivElement>;
|
|
645
|
-
|
|
646
|
-
declare const __VLS_component_20: DefineComponent<ExtensionCardGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
647
|
-
action: (payload: ExtensionCardGridActionEvent) => any;
|
|
648
|
-
"name-click": (payload: ExtensionCardGridNameClickEvent) => any;
|
|
649
|
-
}, string, PublicProps, Readonly<ExtensionCardGridProps> & Readonly<{
|
|
650
|
-
onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
|
|
651
|
-
"onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
|
|
652
|
-
}>, {
|
|
653
|
-
emptyText: string;
|
|
654
|
-
nameClickable: boolean;
|
|
655
|
-
overflowMenuShowIcons: boolean;
|
|
656
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
657
|
-
|
|
658
|
-
declare const __VLS_component_21: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
|
|
578
|
+
declare const __VLS_component_18: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
|
|
659
579
|
disabled: boolean;
|
|
660
580
|
active: boolean;
|
|
661
581
|
tooltipPlacement: TooltipPlacement;
|
|
662
582
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
663
583
|
|
|
664
|
-
declare const
|
|
584
|
+
declare const __VLS_component_19: DefineComponent<VoiceButtonProps, {
|
|
665
585
|
start: () => void;
|
|
666
586
|
stop: () => void;
|
|
667
587
|
speechState: SpeechState;
|
|
@@ -682,7 +602,24 @@ tooltipPlacement: TooltipPlacement;
|
|
|
682
602
|
autoInsert: boolean;
|
|
683
603
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
684
604
|
|
|
685
|
-
declare const
|
|
605
|
+
declare const __VLS_component_2: DefineComponent<BubbleListProps, {
|
|
606
|
+
scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
|
|
607
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
608
|
+
"state-change": (payload: BubbleStateChangePayload) => any;
|
|
609
|
+
"bubble-event": (payload: BubbleEventPayload) => any;
|
|
610
|
+
}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
|
|
611
|
+
"onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
|
|
612
|
+
"onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
|
|
613
|
+
}>, {
|
|
614
|
+
contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
615
|
+
groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
|
|
616
|
+
dividerRole: string;
|
|
617
|
+
fallbackRole: string;
|
|
618
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
619
|
+
listRef: HTMLDivElement;
|
|
620
|
+
}, HTMLDivElement>;
|
|
621
|
+
|
|
622
|
+
declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
686
623
|
|
|
687
624
|
declare const __VLS_component_3: DefineComponent<BubbleProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
688
625
|
|
|
@@ -859,7 +796,7 @@ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
|
859
796
|
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
860
797
|
};
|
|
861
798
|
$forceUpdate: () => void;
|
|
862
|
-
$nextTick:
|
|
799
|
+
$nextTick: nextTick;
|
|
863
800
|
$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;
|
|
864
801
|
} & Readonly<{
|
|
865
802
|
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
@@ -1092,23 +1029,13 @@ declare function __VLS_template(): {
|
|
|
1092
1029
|
};
|
|
1093
1030
|
|
|
1094
1031
|
declare function __VLS_template_10(): {
|
|
1095
|
-
attrs: Partial<{}>;
|
|
1096
|
-
slots: Readonly<ModelSelectorSlots> & ModelSelectorSlots;
|
|
1097
|
-
refs: {
|
|
1098
|
-
referenceEl: HTMLSpanElement;
|
|
1099
|
-
floatingEl: HTMLDivElement;
|
|
1100
|
-
};
|
|
1101
|
-
rootEl: HTMLDivElement;
|
|
1102
|
-
};
|
|
1103
|
-
|
|
1104
|
-
declare function __VLS_template_11(): {
|
|
1105
1032
|
attrs: Partial<{}>;
|
|
1106
1033
|
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
1107
1034
|
refs: {};
|
|
1108
1035
|
rootEl: HTMLDivElement;
|
|
1109
1036
|
};
|
|
1110
1037
|
|
|
1111
|
-
declare function
|
|
1038
|
+
declare function __VLS_template_11(): {
|
|
1112
1039
|
attrs: Partial<{}>;
|
|
1113
1040
|
slots: {
|
|
1114
1041
|
header?(_: {}): any;
|
|
@@ -1359,14 +1286,14 @@ declare function __VLS_template_12(): {
|
|
|
1359
1286
|
rootEl: HTMLDivElement;
|
|
1360
1287
|
};
|
|
1361
1288
|
|
|
1362
|
-
declare function
|
|
1289
|
+
declare function __VLS_template_12(): {
|
|
1363
1290
|
attrs: Partial<{}>;
|
|
1364
1291
|
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
1365
1292
|
refs: {};
|
|
1366
1293
|
rootEl: HTMLButtonElement;
|
|
1367
1294
|
};
|
|
1368
1295
|
|
|
1369
|
-
declare function
|
|
1296
|
+
declare function __VLS_template_13(): {
|
|
1370
1297
|
attrs: Partial<{}>;
|
|
1371
1298
|
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
1372
1299
|
refs: {
|
|
@@ -1379,7 +1306,7 @@ declare function __VLS_template_14(): {
|
|
|
1379
1306
|
rootEl: HTMLDivElement;
|
|
1380
1307
|
};
|
|
1381
1308
|
|
|
1382
|
-
declare function
|
|
1309
|
+
declare function __VLS_template_14(): {
|
|
1383
1310
|
attrs: Partial<{}>;
|
|
1384
1311
|
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
1385
1312
|
refs: {
|
|
@@ -1496,7 +1423,7 @@ declare function __VLS_template_15(): {
|
|
|
1496
1423
|
rootEl: any;
|
|
1497
1424
|
};
|
|
1498
1425
|
|
|
1499
|
-
declare function
|
|
1426
|
+
declare function __VLS_template_15(): {
|
|
1500
1427
|
attrs: Partial<{}>;
|
|
1501
1428
|
slots: {
|
|
1502
1429
|
default?(_: {}): any;
|
|
@@ -1505,14 +1432,14 @@ declare function __VLS_template_16(): {
|
|
|
1505
1432
|
rootEl: any;
|
|
1506
1433
|
};
|
|
1507
1434
|
|
|
1508
|
-
declare function
|
|
1435
|
+
declare function __VLS_template_16(): {
|
|
1509
1436
|
attrs: Partial<{}>;
|
|
1510
1437
|
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
1511
1438
|
refs: {};
|
|
1512
1439
|
rootEl: HTMLDivElement;
|
|
1513
1440
|
};
|
|
1514
1441
|
|
|
1515
|
-
declare function
|
|
1442
|
+
declare function __VLS_template_17(): {
|
|
1516
1443
|
attrs: Partial<{}>;
|
|
1517
1444
|
slots: {
|
|
1518
1445
|
'header-actions'?(_: {}): any;
|
|
@@ -1521,30 +1448,7 @@ declare function __VLS_template_18(): {
|
|
|
1521
1448
|
rootEl: any;
|
|
1522
1449
|
};
|
|
1523
1450
|
|
|
1524
|
-
declare function
|
|
1525
|
-
attrs: Partial<{}>;
|
|
1526
|
-
slots: Readonly<ExtensionCardSlots> & ExtensionCardSlots;
|
|
1527
|
-
refs: {};
|
|
1528
|
-
rootEl: HTMLDivElement;
|
|
1529
|
-
};
|
|
1530
|
-
|
|
1531
|
-
declare function __VLS_template_2(): {
|
|
1532
|
-
attrs: Partial<{}>;
|
|
1533
|
-
slots: Readonly<BubbleListSlots> & BubbleListSlots;
|
|
1534
|
-
refs: {
|
|
1535
|
-
listRef: HTMLDivElement;
|
|
1536
|
-
};
|
|
1537
|
-
rootEl: HTMLDivElement;
|
|
1538
|
-
};
|
|
1539
|
-
|
|
1540
|
-
declare function __VLS_template_20(): {
|
|
1541
|
-
attrs: Partial<{}>;
|
|
1542
|
-
slots: Readonly<ExtensionCardGridSlots> & ExtensionCardGridSlots;
|
|
1543
|
-
refs: {};
|
|
1544
|
-
rootEl: HTMLUListElement;
|
|
1545
|
-
};
|
|
1546
|
-
|
|
1547
|
-
declare function __VLS_template_21(): {
|
|
1451
|
+
declare function __VLS_template_18(): {
|
|
1548
1452
|
attrs: Partial<{}>;
|
|
1549
1453
|
slots: {
|
|
1550
1454
|
icon?(_: {}): any;
|
|
@@ -1554,7 +1458,7 @@ declare function __VLS_template_21(): {
|
|
|
1554
1458
|
rootEl: any;
|
|
1555
1459
|
};
|
|
1556
1460
|
|
|
1557
|
-
declare function
|
|
1461
|
+
declare function __VLS_template_19(): {
|
|
1558
1462
|
attrs: Partial<{}>;
|
|
1559
1463
|
slots: {
|
|
1560
1464
|
icon?(_: {
|
|
@@ -1569,7 +1473,16 @@ declare function __VLS_template_22(): {
|
|
|
1569
1473
|
rootEl: any;
|
|
1570
1474
|
};
|
|
1571
1475
|
|
|
1572
|
-
declare function
|
|
1476
|
+
declare function __VLS_template_2(): {
|
|
1477
|
+
attrs: Partial<{}>;
|
|
1478
|
+
slots: Readonly<BubbleListSlots> & BubbleListSlots;
|
|
1479
|
+
refs: {
|
|
1480
|
+
listRef: HTMLDivElement;
|
|
1481
|
+
};
|
|
1482
|
+
rootEl: HTMLDivElement;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
declare function __VLS_template_20(): {
|
|
1573
1486
|
attrs: Partial<{}>;
|
|
1574
1487
|
slots: {
|
|
1575
1488
|
prepend?(_: {}): any;
|
|
@@ -1743,7 +1656,7 @@ declare function __VLS_template_7(): {
|
|
|
1743
1656
|
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1744
1657
|
};
|
|
1745
1658
|
$forceUpdate: () => void;
|
|
1746
|
-
$nextTick:
|
|
1659
|
+
$nextTick: nextTick;
|
|
1747
1660
|
$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;
|
|
1748
1661
|
} & Readonly<{
|
|
1749
1662
|
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
@@ -1902,12 +1815,6 @@ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
|
1902
1815
|
|
|
1903
1816
|
declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
|
|
1904
1817
|
|
|
1905
|
-
declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
|
|
1906
|
-
|
|
1907
|
-
declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
|
|
1908
|
-
|
|
1909
|
-
declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
|
|
1910
|
-
|
|
1911
1818
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1912
1819
|
|
|
1913
1820
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -2000,24 +1907,6 @@ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
|
|
|
2000
1907
|
};
|
|
2001
1908
|
};
|
|
2002
1909
|
|
|
2003
|
-
declare type __VLS_WithTemplateSlots_21<T, S> = T & {
|
|
2004
|
-
new (): {
|
|
2005
|
-
$slots: S;
|
|
2006
|
-
};
|
|
2007
|
-
};
|
|
2008
|
-
|
|
2009
|
-
declare type __VLS_WithTemplateSlots_22<T, S> = T & {
|
|
2010
|
-
new (): {
|
|
2011
|
-
$slots: S;
|
|
2012
|
-
};
|
|
2013
|
-
};
|
|
2014
|
-
|
|
2015
|
-
declare type __VLS_WithTemplateSlots_23<T, S> = T & {
|
|
2016
|
-
new (): {
|
|
2017
|
-
$slots: S;
|
|
2018
|
-
};
|
|
2019
|
-
};
|
|
2020
|
-
|
|
2021
1910
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
2022
1911
|
new (): {
|
|
2023
1912
|
$slots: S;
|
|
@@ -2481,11 +2370,17 @@ export declare const BubbleRenderers: {
|
|
|
2481
2370
|
contentIndex: number;
|
|
2482
2371
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2483
2372
|
Tool: DefineComponent<BubbleContentRendererProps<ChatMessageContent, {
|
|
2484
|
-
toolCall?: Record<string,
|
|
2373
|
+
toolCall?: Record<string, {
|
|
2374
|
+
status?: ToolCallStatus;
|
|
2375
|
+
open?: boolean;
|
|
2376
|
+
}>;
|
|
2485
2377
|
}> & {
|
|
2486
2378
|
toolCallIndex: number;
|
|
2487
2379
|
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleContentRendererProps<ChatMessageContent, {
|
|
2488
|
-
toolCall?: Record<string,
|
|
2380
|
+
toolCall?: Record<string, {
|
|
2381
|
+
status?: ToolCallStatus;
|
|
2382
|
+
open?: boolean;
|
|
2383
|
+
}>;
|
|
2489
2384
|
}> & {
|
|
2490
2385
|
toolCallIndex: number;
|
|
2491
2386
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -2577,15 +2472,6 @@ declare interface CompatTextItem {
|
|
|
2577
2472
|
content: string;
|
|
2578
2473
|
}
|
|
2579
2474
|
|
|
2580
|
-
/**
|
|
2581
|
-
* @deprecated Container is kept for compatibility. Use `Layout` (`TrLayout`) for new layouts.
|
|
2582
|
-
*/
|
|
2583
|
-
declare const Container: typeof _default_29 & {
|
|
2584
|
-
install: typeof install_2;
|
|
2585
|
-
};
|
|
2586
|
-
export { Container }
|
|
2587
|
-
export { Container as TrContainer }
|
|
2588
|
-
|
|
2589
2475
|
export declare interface ContainerEmits {
|
|
2590
2476
|
(e: 'close'): void;
|
|
2591
2477
|
}
|
|
@@ -2620,59 +2506,55 @@ declare const _default: {
|
|
|
2620
2506
|
};
|
|
2621
2507
|
export default _default;
|
|
2622
2508
|
|
|
2623
|
-
declare const _default_10: typeof
|
|
2624
|
-
install: typeof
|
|
2509
|
+
declare const _default_10: typeof _default_36 & {
|
|
2510
|
+
install: typeof install_9;
|
|
2625
2511
|
};
|
|
2626
|
-
export { _default_10 as
|
|
2627
|
-
export { _default_10 as
|
|
2512
|
+
export { _default_10 as IconButton }
|
|
2513
|
+
export { _default_10 as TrIconButton }
|
|
2628
2514
|
|
|
2629
|
-
declare const _default_11: typeof
|
|
2630
|
-
install: typeof
|
|
2515
|
+
declare const _default_11: typeof _default_42 & {
|
|
2516
|
+
install: typeof install_10;
|
|
2631
2517
|
};
|
|
2632
2518
|
export { _default_11 as SenderCompat }
|
|
2633
2519
|
export { _default_11 as TrSenderCompat }
|
|
2634
2520
|
|
|
2635
|
-
declare const _default_12: typeof
|
|
2636
|
-
install: typeof
|
|
2521
|
+
declare const _default_12: typeof _default_44 & {
|
|
2522
|
+
install: typeof install_11;
|
|
2637
2523
|
};
|
|
2638
2524
|
export { _default_12 as SuggestionPills }
|
|
2639
2525
|
export { _default_12 as TrSuggestionPills }
|
|
2640
2526
|
|
|
2641
|
-
declare const _default_13: typeof
|
|
2642
|
-
install: typeof
|
|
2527
|
+
declare const _default_13: typeof _default_45 & {
|
|
2528
|
+
install: typeof install_12;
|
|
2643
2529
|
};
|
|
2644
2530
|
export { _default_13 as SuggestionPopover }
|
|
2645
2531
|
export { _default_13 as TrSuggestionPopover }
|
|
2646
2532
|
|
|
2647
|
-
declare const _default_14: typeof
|
|
2648
|
-
install: typeof
|
|
2533
|
+
declare const _default_14: typeof _default_46 & {
|
|
2534
|
+
install: typeof install_13;
|
|
2649
2535
|
};
|
|
2650
2536
|
export { _default_14 as ThemeProvider }
|
|
2651
2537
|
export { _default_14 as TrThemeProvider }
|
|
2652
2538
|
|
|
2653
|
-
declare const _default_15: typeof
|
|
2654
|
-
install: typeof
|
|
2539
|
+
declare const _default_15: typeof _default_47 & {
|
|
2540
|
+
install: typeof install_14;
|
|
2655
2541
|
};
|
|
2656
2542
|
export { _default_15 as TrWelcome }
|
|
2657
2543
|
export { _default_15 as Welcome }
|
|
2658
2544
|
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
* This entry point remains available for compatibility and will be removed in a future major release.
|
|
2662
|
-
*/
|
|
2663
|
-
declare const _default_16: typeof _default_49 & {
|
|
2664
|
-
install: typeof install_16;
|
|
2545
|
+
declare const _default_16: typeof _default_48 & {
|
|
2546
|
+
install: typeof install_15;
|
|
2665
2547
|
};
|
|
2666
2548
|
export { _default_16 as McpServerPicker }
|
|
2667
2549
|
export { _default_16 as TrMcpServerPicker }
|
|
2668
2550
|
|
|
2669
|
-
declare const _default_17: typeof
|
|
2670
|
-
install: typeof
|
|
2551
|
+
declare const _default_17: typeof _default_49 & {
|
|
2552
|
+
install: typeof install_16;
|
|
2671
2553
|
};
|
|
2672
2554
|
export { _default_17 as McpAddForm }
|
|
2673
2555
|
export { _default_17 as TrMcpAddForm }
|
|
2674
2556
|
|
|
2675
|
-
declare const _default_18:
|
|
2557
|
+
declare const _default_18: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
2676
2558
|
export { _default_18 as ActionButton }
|
|
2677
2559
|
export { _default_18 as TrActionButton }
|
|
2678
2560
|
|
|
@@ -2707,7 +2589,7 @@ accept: string;
|
|
|
2707
2589
|
export { _default_21 as TrUploadButton }
|
|
2708
2590
|
export { _default_21 as UploadButton }
|
|
2709
2591
|
|
|
2710
|
-
declare const _default_22:
|
|
2592
|
+
declare const _default_22: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
2711
2593
|
export { _default_22 as TrVoiceButton }
|
|
2712
2594
|
export { _default_22 as VoiceButton }
|
|
2713
2595
|
|
|
@@ -2715,7 +2597,7 @@ declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOpti
|
|
|
2715
2597
|
export { _default_23 as TrWordCounter }
|
|
2716
2598
|
export { _default_23 as WordCounter }
|
|
2717
2599
|
|
|
2718
|
-
declare const _default_24:
|
|
2600
|
+
declare const _default_24: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
2719
2601
|
export { _default_24 as DefaultActionButtons }
|
|
2720
2602
|
export { _default_24 as TrDefaultActionButtons }
|
|
2721
2603
|
|
|
@@ -2753,11 +2635,11 @@ declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, _
|
|
|
2753
2635
|
|
|
2754
2636
|
declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2755
2637
|
|
|
2756
|
-
declare const _default_3: typeof
|
|
2757
|
-
install: typeof
|
|
2638
|
+
declare const _default_3: typeof _default_29 & {
|
|
2639
|
+
install: typeof install_2;
|
|
2758
2640
|
};
|
|
2759
|
-
export { _default_3 as
|
|
2760
|
-
export { _default_3 as
|
|
2641
|
+
export { _default_3 as Container }
|
|
2642
|
+
export { _default_3 as TrContainer }
|
|
2761
2643
|
|
|
2762
2644
|
declare const _default_30: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2763
2645
|
|
|
@@ -2807,18 +2689,18 @@ thumbRef: HTMLDivElement;
|
|
|
2807
2689
|
|
|
2808
2690
|
declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2809
2691
|
|
|
2810
|
-
declare const _default_4: typeof
|
|
2811
|
-
install: typeof
|
|
2692
|
+
declare const _default_4: typeof _default_30 & {
|
|
2693
|
+
install: typeof install_3;
|
|
2812
2694
|
};
|
|
2813
|
-
export { _default_4 as
|
|
2814
|
-
export { _default_4 as
|
|
2695
|
+
export { _default_4 as Anchor }
|
|
2696
|
+
export { _default_4 as TrAnchor }
|
|
2815
2697
|
|
|
2816
|
-
declare const _default_40:
|
|
2817
|
-
|
|
2818
|
-
declare const _default_41: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
|
|
2698
|
+
declare const _default_40: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
|
|
2819
2699
|
size: "small" | "medium" | "large";
|
|
2820
2700
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2821
2701
|
|
|
2702
|
+
declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2703
|
+
|
|
2822
2704
|
declare const _default_42: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2823
2705
|
|
|
2824
2706
|
declare const _default_43: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
@@ -2833,15 +2715,7 @@ declare const _default_47: __VLS_WithTemplateSlots_16<typeof __VLS_component_16,
|
|
|
2833
2715
|
|
|
2834
2716
|
declare const _default_48: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
2835
2717
|
|
|
2836
|
-
declare const _default_49:
|
|
2837
|
-
|
|
2838
|
-
declare const _default_5: typeof _default_32 & {
|
|
2839
|
-
install: typeof install_5;
|
|
2840
|
-
};
|
|
2841
|
-
export { _default_5 as DragOverlay }
|
|
2842
|
-
export { _default_5 as TrDragOverlay }
|
|
2843
|
-
|
|
2844
|
-
declare const _default_50: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2718
|
+
declare const _default_49: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2845
2719
|
cancel: () => any;
|
|
2846
2720
|
confirm: (type: AddType, data: string | McpAddFormData) => any;
|
|
2847
2721
|
"update:addType": (value: AddType) => any;
|
|
@@ -2853,33 +2727,35 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
|
|
|
2853
2727
|
addType: AddType;
|
|
2854
2728
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2855
2729
|
|
|
2856
|
-
declare const
|
|
2730
|
+
declare const _default_5: typeof _default_31 & {
|
|
2731
|
+
install: typeof install_4;
|
|
2732
|
+
};
|
|
2733
|
+
export { _default_5 as Conversations }
|
|
2734
|
+
export { _default_5 as TrConversations }
|
|
2857
2735
|
|
|
2858
|
-
declare const
|
|
2736
|
+
declare const _default_6: typeof _default_32 & {
|
|
2737
|
+
install: typeof install_5;
|
|
2738
|
+
};
|
|
2739
|
+
export { _default_6 as DragOverlay }
|
|
2740
|
+
export { _default_6 as TrDragOverlay }
|
|
2859
2741
|
|
|
2860
|
-
declare const
|
|
2742
|
+
declare const _default_7: typeof _default_33 & {
|
|
2861
2743
|
install: typeof install_6;
|
|
2862
2744
|
};
|
|
2863
|
-
export {
|
|
2864
|
-
export {
|
|
2745
|
+
export { _default_7 as DropdownMenu }
|
|
2746
|
+
export { _default_7 as TrDropdownMenu }
|
|
2865
2747
|
|
|
2866
|
-
declare const
|
|
2748
|
+
declare const _default_8: typeof _default_34 & {
|
|
2867
2749
|
install: typeof install_7;
|
|
2868
2750
|
};
|
|
2869
|
-
export {
|
|
2870
|
-
export {
|
|
2751
|
+
export { _default_8 as Feedback }
|
|
2752
|
+
export { _default_8 as TrFeedback }
|
|
2871
2753
|
|
|
2872
|
-
declare const
|
|
2754
|
+
declare const _default_9: typeof _default_35 & {
|
|
2873
2755
|
install: typeof install_8;
|
|
2874
2756
|
};
|
|
2875
|
-
export {
|
|
2876
|
-
export {
|
|
2877
|
-
|
|
2878
|
-
declare const _default_9: typeof _default_36 & {
|
|
2879
|
-
install: typeof install_9;
|
|
2880
|
-
};
|
|
2881
|
-
export { _default_9 as IconButton }
|
|
2882
|
-
export { _default_9 as TrIconButton }
|
|
2757
|
+
export { _default_9 as History }
|
|
2758
|
+
export { _default_9 as TrHistory }
|
|
2883
2759
|
|
|
2884
2760
|
/**
|
|
2885
2761
|
* 默认操作按钮配置
|
|
@@ -2937,9 +2813,6 @@ export declare interface DefaultActions {
|
|
|
2937
2813
|
|
|
2938
2814
|
export declare type DisplayVariant = 'picture' | 'card' | 'auto';
|
|
2939
2815
|
|
|
2940
|
-
/** Actions passed from Card to its internal renderers after visibility is resolved. */
|
|
2941
|
-
declare type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
2942
|
-
|
|
2943
2816
|
declare interface DragAwareElement extends HTMLElement {
|
|
2944
2817
|
__vDropzoneHandlers__?: Handlers;
|
|
2945
2818
|
__vDropzoneOptions__?: DragAwareOptions;
|
|
@@ -3117,348 +2990,6 @@ export declare interface DropzoneBinding {
|
|
|
3117
2990
|
*/
|
|
3118
2991
|
export declare type EnterKeyHint = 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
3119
2992
|
|
|
3120
|
-
declare const ExtensionCard: typeof _default_51 & {
|
|
3121
|
-
install: typeof extensionCardInstall;
|
|
3122
|
-
};
|
|
3123
|
-
export { ExtensionCard }
|
|
3124
|
-
export { ExtensionCard as TrExtensionCard }
|
|
3125
|
-
|
|
3126
|
-
export declare type ExtensionCardAction = ExtensionCardSwitchAction | ExtensionCardButtonAction | ExtensionCardCustomAction;
|
|
3127
|
-
|
|
3128
|
-
export declare interface ExtensionCardActionBase {
|
|
3129
|
-
id: string;
|
|
3130
|
-
label: string;
|
|
3131
|
-
icon?: Component;
|
|
3132
|
-
hidden?: boolean;
|
|
3133
|
-
disabled?: boolean;
|
|
3134
|
-
danger?: boolean;
|
|
3135
|
-
}
|
|
3136
|
-
|
|
3137
|
-
export declare interface ExtensionCardActionEvent {
|
|
3138
|
-
id: string;
|
|
3139
|
-
type: ExtensionCardAction['type'];
|
|
3140
|
-
checked?: boolean;
|
|
3141
|
-
payload?: unknown;
|
|
3142
|
-
}
|
|
3143
|
-
|
|
3144
|
-
export declare interface ExtensionCardButtonAction extends ExtensionCardActionBase {
|
|
3145
|
-
type: 'button';
|
|
3146
|
-
}
|
|
3147
|
-
|
|
3148
|
-
export declare interface ExtensionCardCustomAction extends ExtensionCardActionBase {
|
|
3149
|
-
type: 'custom';
|
|
3150
|
-
data?: unknown;
|
|
3151
|
-
}
|
|
3152
|
-
|
|
3153
|
-
export declare interface ExtensionCardEmits {
|
|
3154
|
-
(e: 'name-click', event: MouseEvent | KeyboardEvent): void;
|
|
3155
|
-
(e: 'action', payload: ExtensionCardActionEvent): void;
|
|
3156
|
-
}
|
|
3157
|
-
|
|
3158
|
-
declare const ExtensionCardGrid: typeof _default_52 & {
|
|
3159
|
-
install: typeof extensionCardGridInstall;
|
|
3160
|
-
};
|
|
3161
|
-
export { ExtensionCardGrid }
|
|
3162
|
-
export { ExtensionCardGrid as TrExtensionCardGrid }
|
|
3163
|
-
|
|
3164
|
-
export declare interface ExtensionCardGridActionEvent {
|
|
3165
|
-
itemId: string;
|
|
3166
|
-
action: ExtensionCardActionEvent;
|
|
3167
|
-
}
|
|
3168
|
-
|
|
3169
|
-
export declare interface ExtensionCardGridEmits {
|
|
3170
|
-
(e: 'action', payload: ExtensionCardGridActionEvent): void;
|
|
3171
|
-
(e: 'name-click', payload: ExtensionCardGridNameClickEvent): void;
|
|
3172
|
-
}
|
|
3173
|
-
|
|
3174
|
-
declare const extensionCardGridInstall: <T>(app: App<T>) => void;
|
|
3175
|
-
|
|
3176
|
-
export declare type ExtensionCardGridItem = ExtensionCardProps & {
|
|
3177
|
-
id: string;
|
|
3178
|
-
};
|
|
3179
|
-
|
|
3180
|
-
export declare interface ExtensionCardGridNameClickEvent {
|
|
3181
|
-
itemId: string;
|
|
3182
|
-
event: MouseEvent | KeyboardEvent;
|
|
3183
|
-
}
|
|
3184
|
-
|
|
3185
|
-
export declare interface ExtensionCardGridProps extends Pick<ExtensionCardProps, 'primaryActionsLimit' | 'nameClickable' | 'overflowMenuLabel' | 'overflowMenuPlacement' | 'overflowMenuShowIcons'> {
|
|
3186
|
-
items: ExtensionCardGridItem[];
|
|
3187
|
-
emptyText?: string;
|
|
3188
|
-
}
|
|
3189
|
-
|
|
3190
|
-
export declare interface ExtensionCardGridSlots {
|
|
3191
|
-
item?: (props: {
|
|
3192
|
-
item: ExtensionCardGridItem;
|
|
3193
|
-
index: number;
|
|
3194
|
-
}) => VNode[];
|
|
3195
|
-
empty?: () => VNode[];
|
|
3196
|
-
}
|
|
3197
|
-
|
|
3198
|
-
declare const extensionCardInstall: <T>(app: App<T>) => void;
|
|
3199
|
-
|
|
3200
|
-
export declare type ExtensionCardOverflowMenuPlacement = 'bottom-end' | 'top-end';
|
|
3201
|
-
|
|
3202
|
-
export declare interface ExtensionCardProps {
|
|
3203
|
-
name: string;
|
|
3204
|
-
description?: string;
|
|
3205
|
-
icon?: string | Component;
|
|
3206
|
-
actions?: ExtensionCardAction[];
|
|
3207
|
-
primaryActionsLimit?: number;
|
|
3208
|
-
progress?: number | 'indeterminate';
|
|
3209
|
-
nameClickable?: boolean;
|
|
3210
|
-
overflowMenuLabel?: string;
|
|
3211
|
-
overflowMenuPlacement?: ExtensionCardOverflowMenuPlacement;
|
|
3212
|
-
overflowMenuShowIcons?: boolean;
|
|
3213
|
-
}
|
|
3214
|
-
|
|
3215
|
-
export declare type ExtensionCardRenderableAction = DistributiveOmit<ExtensionCardAction, 'hidden'>;
|
|
3216
|
-
|
|
3217
|
-
export declare interface ExtensionCardSlots {
|
|
3218
|
-
'primary-action'?: (props: {
|
|
3219
|
-
action: Extract<ExtensionCardRenderableAction, {
|
|
3220
|
-
type: 'custom';
|
|
3221
|
-
}>;
|
|
3222
|
-
trigger: (payload?: unknown) => void;
|
|
3223
|
-
}) => VNode[];
|
|
3224
|
-
}
|
|
3225
|
-
|
|
3226
|
-
export declare interface ExtensionCardSwitchAction extends ExtensionCardActionBase {
|
|
3227
|
-
type: 'switch';
|
|
3228
|
-
checked: boolean;
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
declare const ExtensionManager: {
|
|
3232
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtensionManagerProps> & Readonly<{
|
|
3233
|
-
onAction?: ((event: ExtensionManagerActionEvent) => any) | undefined;
|
|
3234
|
-
"onTab-change"?: ((event: ExtensionManagerTabChangeEvent) => any) | undefined;
|
|
3235
|
-
"onName-click"?: ((event: ExtensionManagerNameClickEvent) => any) | undefined;
|
|
3236
|
-
"onUpdate:active-tab"?: ((tabId: string | undefined) => any) | undefined;
|
|
3237
|
-
"onSection-toggle"?: ((event: ExtensionManagerSectionToggleEvent) => any) | undefined;
|
|
3238
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3239
|
-
action: (event: ExtensionManagerActionEvent) => any;
|
|
3240
|
-
"tab-change": (event: ExtensionManagerTabChangeEvent) => any;
|
|
3241
|
-
"name-click": (event: ExtensionManagerNameClickEvent) => any;
|
|
3242
|
-
"update:active-tab": (tabId: string | undefined) => any;
|
|
3243
|
-
"section-toggle": (event: ExtensionManagerSectionToggleEvent) => any;
|
|
3244
|
-
}, PublicProps, {
|
|
3245
|
-
emptyText: string;
|
|
3246
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
3247
|
-
P: {};
|
|
3248
|
-
B: {};
|
|
3249
|
-
D: {};
|
|
3250
|
-
C: {};
|
|
3251
|
-
M: {};
|
|
3252
|
-
Defaults: {};
|
|
3253
|
-
}, Readonly<ExtensionManagerProps> & Readonly<{
|
|
3254
|
-
onAction?: ((event: ExtensionManagerActionEvent) => any) | undefined;
|
|
3255
|
-
"onTab-change"?: ((event: ExtensionManagerTabChangeEvent) => any) | undefined;
|
|
3256
|
-
"onName-click"?: ((event: ExtensionManagerNameClickEvent) => any) | undefined;
|
|
3257
|
-
"onUpdate:active-tab"?: ((tabId: string | undefined) => any) | undefined;
|
|
3258
|
-
"onSection-toggle"?: ((event: ExtensionManagerSectionToggleEvent) => any) | undefined;
|
|
3259
|
-
}>, {}, {}, {}, {}, {
|
|
3260
|
-
emptyText: string;
|
|
3261
|
-
}>;
|
|
3262
|
-
__isFragment?: never;
|
|
3263
|
-
__isTeleport?: never;
|
|
3264
|
-
__isSuspense?: never;
|
|
3265
|
-
} & ComponentOptionsBase<Readonly<ExtensionManagerProps> & Readonly<{
|
|
3266
|
-
onAction?: ((event: ExtensionManagerActionEvent) => any) | undefined;
|
|
3267
|
-
"onTab-change"?: ((event: ExtensionManagerTabChangeEvent) => any) | undefined;
|
|
3268
|
-
"onName-click"?: ((event: ExtensionManagerNameClickEvent) => any) | undefined;
|
|
3269
|
-
"onUpdate:active-tab"?: ((tabId: string | undefined) => any) | undefined;
|
|
3270
|
-
"onSection-toggle"?: ((event: ExtensionManagerSectionToggleEvent) => any) | undefined;
|
|
3271
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3272
|
-
action: (event: ExtensionManagerActionEvent) => any;
|
|
3273
|
-
"tab-change": (event: ExtensionManagerTabChangeEvent) => any;
|
|
3274
|
-
"name-click": (event: ExtensionManagerNameClickEvent) => any;
|
|
3275
|
-
"update:active-tab": (tabId: string | undefined) => any;
|
|
3276
|
-
"section-toggle": (event: ExtensionManagerSectionToggleEvent) => any;
|
|
3277
|
-
}, string, {
|
|
3278
|
-
emptyText: string;
|
|
3279
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3280
|
-
$slots: Readonly<ExtensionManagerSlots> & ExtensionManagerSlots;
|
|
3281
|
-
}) & {
|
|
3282
|
-
install: <T>(app: App<T>) => void;
|
|
3283
|
-
Card: {
|
|
3284
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtensionCardProps> & Readonly<{
|
|
3285
|
-
onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
|
|
3286
|
-
"onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
3287
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3288
|
-
action: (payload: ExtensionCardActionEvent) => any;
|
|
3289
|
-
"name-click": (event: MouseEvent | KeyboardEvent) => any;
|
|
3290
|
-
}, PublicProps, {
|
|
3291
|
-
actions: ExtensionCardAction[];
|
|
3292
|
-
primaryActionsLimit: number;
|
|
3293
|
-
nameClickable: boolean;
|
|
3294
|
-
overflowMenuLabel: string;
|
|
3295
|
-
overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
|
|
3296
|
-
overflowMenuShowIcons: boolean;
|
|
3297
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
3298
|
-
P: {};
|
|
3299
|
-
B: {};
|
|
3300
|
-
D: {};
|
|
3301
|
-
C: {};
|
|
3302
|
-
M: {};
|
|
3303
|
-
Defaults: {};
|
|
3304
|
-
}, Readonly<ExtensionCardProps> & Readonly<{
|
|
3305
|
-
onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
|
|
3306
|
-
"onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
3307
|
-
}>, {}, {}, {}, {}, {
|
|
3308
|
-
actions: ExtensionCardAction[];
|
|
3309
|
-
primaryActionsLimit: number;
|
|
3310
|
-
nameClickable: boolean;
|
|
3311
|
-
overflowMenuLabel: string;
|
|
3312
|
-
overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
|
|
3313
|
-
overflowMenuShowIcons: boolean;
|
|
3314
|
-
}>;
|
|
3315
|
-
__isFragment?: never;
|
|
3316
|
-
__isTeleport?: never;
|
|
3317
|
-
__isSuspense?: never;
|
|
3318
|
-
} & ComponentOptionsBase<Readonly<ExtensionCardProps> & Readonly<{
|
|
3319
|
-
onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
|
|
3320
|
-
"onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
3321
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3322
|
-
action: (payload: ExtensionCardActionEvent) => any;
|
|
3323
|
-
"name-click": (event: MouseEvent | KeyboardEvent) => any;
|
|
3324
|
-
}, string, {
|
|
3325
|
-
actions: ExtensionCardAction[];
|
|
3326
|
-
primaryActionsLimit: number;
|
|
3327
|
-
nameClickable: boolean;
|
|
3328
|
-
overflowMenuLabel: string;
|
|
3329
|
-
overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
|
|
3330
|
-
overflowMenuShowIcons: boolean;
|
|
3331
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3332
|
-
$slots: Readonly<ExtensionCardSlots> & ExtensionCardSlots;
|
|
3333
|
-
}) & {
|
|
3334
|
-
install: typeof extensionCardInstall;
|
|
3335
|
-
};
|
|
3336
|
-
CardGrid: {
|
|
3337
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtensionCardGridProps> & Readonly<{
|
|
3338
|
-
onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
|
|
3339
|
-
"onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
|
|
3340
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3341
|
-
action: (payload: ExtensionCardGridActionEvent) => any;
|
|
3342
|
-
"name-click": (payload: ExtensionCardGridNameClickEvent) => any;
|
|
3343
|
-
}, PublicProps, {
|
|
3344
|
-
emptyText: string;
|
|
3345
|
-
nameClickable: boolean;
|
|
3346
|
-
overflowMenuShowIcons: boolean;
|
|
3347
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLUListElement, ComponentProvideOptions, {
|
|
3348
|
-
P: {};
|
|
3349
|
-
B: {};
|
|
3350
|
-
D: {};
|
|
3351
|
-
C: {};
|
|
3352
|
-
M: {};
|
|
3353
|
-
Defaults: {};
|
|
3354
|
-
}, Readonly<ExtensionCardGridProps> & Readonly<{
|
|
3355
|
-
onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
|
|
3356
|
-
"onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
|
|
3357
|
-
}>, {}, {}, {}, {}, {
|
|
3358
|
-
emptyText: string;
|
|
3359
|
-
nameClickable: boolean;
|
|
3360
|
-
overflowMenuShowIcons: boolean;
|
|
3361
|
-
}>;
|
|
3362
|
-
__isFragment?: never;
|
|
3363
|
-
__isTeleport?: never;
|
|
3364
|
-
__isSuspense?: never;
|
|
3365
|
-
} & ComponentOptionsBase<Readonly<ExtensionCardGridProps> & Readonly<{
|
|
3366
|
-
onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
|
|
3367
|
-
"onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
|
|
3368
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3369
|
-
action: (payload: ExtensionCardGridActionEvent) => any;
|
|
3370
|
-
"name-click": (payload: ExtensionCardGridNameClickEvent) => any;
|
|
3371
|
-
}, string, {
|
|
3372
|
-
emptyText: string;
|
|
3373
|
-
nameClickable: boolean;
|
|
3374
|
-
overflowMenuShowIcons: boolean;
|
|
3375
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3376
|
-
$slots: Readonly<ExtensionCardGridSlots> & ExtensionCardGridSlots;
|
|
3377
|
-
}) & {
|
|
3378
|
-
install: typeof extensionCardGridInstall;
|
|
3379
|
-
};
|
|
3380
|
-
};
|
|
3381
|
-
export { ExtensionManager }
|
|
3382
|
-
export { ExtensionManager as TrExtensionManager }
|
|
3383
|
-
|
|
3384
|
-
export declare interface ExtensionManagerActionEvent {
|
|
3385
|
-
tabId: string;
|
|
3386
|
-
sectionKey: ExtensionManagerSectionKey;
|
|
3387
|
-
itemId: string;
|
|
3388
|
-
action: ExtensionCardActionEvent;
|
|
3389
|
-
}
|
|
3390
|
-
|
|
3391
|
-
export declare interface ExtensionManagerEmits {
|
|
3392
|
-
(e: 'update:active-tab', tabId: string | undefined): void;
|
|
3393
|
-
(e: 'tab-change', event: ExtensionManagerTabChangeEvent): void;
|
|
3394
|
-
(e: 'section-toggle', event: ExtensionManagerSectionToggleEvent): void;
|
|
3395
|
-
(e: 'action', event: ExtensionManagerActionEvent): void;
|
|
3396
|
-
(e: 'name-click', event: ExtensionManagerNameClickEvent): void;
|
|
3397
|
-
}
|
|
3398
|
-
|
|
3399
|
-
export declare type ExtensionManagerItem = ExtensionCardGridItem & {
|
|
3400
|
-
installed?: boolean;
|
|
3401
|
-
tags?: string[];
|
|
3402
|
-
};
|
|
3403
|
-
|
|
3404
|
-
export declare interface ExtensionManagerNameClickEvent {
|
|
3405
|
-
tabId: string;
|
|
3406
|
-
sectionKey: ExtensionManagerSectionKey;
|
|
3407
|
-
itemId: string;
|
|
3408
|
-
event: MouseEvent | KeyboardEvent;
|
|
3409
|
-
}
|
|
3410
|
-
|
|
3411
|
-
export declare interface ExtensionManagerProps {
|
|
3412
|
-
tabs: ExtensionManagerTab[];
|
|
3413
|
-
activeTab?: string;
|
|
3414
|
-
defaultActiveTab?: string;
|
|
3415
|
-
title?: string;
|
|
3416
|
-
emptyText?: string;
|
|
3417
|
-
}
|
|
3418
|
-
|
|
3419
|
-
export declare type ExtensionManagerSectionKey = 'installed' | 'available';
|
|
3420
|
-
|
|
3421
|
-
export declare interface ExtensionManagerSectionToggleEvent {
|
|
3422
|
-
tabId: string;
|
|
3423
|
-
sectionKey: ExtensionManagerSectionKey;
|
|
3424
|
-
expanded: boolean;
|
|
3425
|
-
}
|
|
3426
|
-
|
|
3427
|
-
export declare interface ExtensionManagerSlots {
|
|
3428
|
-
'header-actions'?: () => VNode[];
|
|
3429
|
-
tab?: (props: {
|
|
3430
|
-
tab: ExtensionManagerTab;
|
|
3431
|
-
active: boolean;
|
|
3432
|
-
select: () => void;
|
|
3433
|
-
}) => VNode[];
|
|
3434
|
-
item?: (props: {
|
|
3435
|
-
tab: ExtensionManagerTab;
|
|
3436
|
-
sectionKey: ExtensionManagerSectionKey;
|
|
3437
|
-
item: ExtensionCardGridItem;
|
|
3438
|
-
index: number;
|
|
3439
|
-
}) => VNode[];
|
|
3440
|
-
empty?: (props: {
|
|
3441
|
-
tab: ExtensionManagerTab;
|
|
3442
|
-
sectionKey: ExtensionManagerSectionKey;
|
|
3443
|
-
title: string;
|
|
3444
|
-
}) => VNode[];
|
|
3445
|
-
}
|
|
3446
|
-
|
|
3447
|
-
export declare interface ExtensionManagerTab {
|
|
3448
|
-
id: string;
|
|
3449
|
-
label: string;
|
|
3450
|
-
items: ExtensionManagerItem[];
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
|
-
export declare interface ExtensionManagerTabChangeEvent {
|
|
3454
|
-
tabId: string;
|
|
3455
|
-
}
|
|
3456
|
-
|
|
3457
|
-
export declare interface ExtensionManagerTagOption {
|
|
3458
|
-
value: string;
|
|
3459
|
-
label: string;
|
|
3460
|
-
}
|
|
3461
|
-
|
|
3462
2993
|
export declare interface FeedbackEvents {
|
|
3463
2994
|
(e: 'operation', name: string): void;
|
|
3464
2995
|
(e: 'action', name: string): void;
|
|
@@ -3611,8 +3142,6 @@ declare const install_15: <T>(app: App<T>) => void;
|
|
|
3611
3142
|
|
|
3612
3143
|
declare const install_16: <T>(app: App<T>) => void;
|
|
3613
3144
|
|
|
3614
|
-
declare const install_17: <T>(app: App<T>) => void;
|
|
3615
|
-
|
|
3616
3145
|
declare const install_2: <T>(app: App<T>) => void;
|
|
3617
3146
|
|
|
3618
3147
|
declare const install_3: <T>(app: App<T>) => void;
|
|
@@ -3966,103 +3495,6 @@ declare type MentionStructuredItem = {
|
|
|
3966
3495
|
value: string;
|
|
3967
3496
|
};
|
|
3968
3497
|
|
|
3969
|
-
export declare interface ModelSelectorEmits {
|
|
3970
|
-
(event: 'update:modelValue', value: string | null): void;
|
|
3971
|
-
(event: 'change', option: ModelSelectorOption): void;
|
|
3972
|
-
(event: 'update:reasoningEffort', value: string | null): void;
|
|
3973
|
-
(event: 'reasoning-effort-change', option: ModelSelectorReasoningEffortOption | null): void;
|
|
3974
|
-
(event: 'update:open', open: boolean): void;
|
|
3975
|
-
}
|
|
3976
|
-
|
|
3977
|
-
export declare interface ModelSelectorEmptySlotProps {
|
|
3978
|
-
query: string;
|
|
3979
|
-
}
|
|
3980
|
-
|
|
3981
|
-
export declare type ModelSelectorFilterMethod = (query: string, option: ModelSelectorOption) => boolean;
|
|
3982
|
-
|
|
3983
|
-
export declare interface ModelSelectorFooterSlotProps extends ModelSelectorSlotProps {
|
|
3984
|
-
reasoningEfforts: readonly ModelSelectorReasoningEffortOption[];
|
|
3985
|
-
/** The effort currently supported by the selected model. Sticky unsupported values resolve to null. */
|
|
3986
|
-
reasoningEffortOption: ModelSelectorReasoningEffortOption | null;
|
|
3987
|
-
setReasoningEffort: (value: string | null) => void;
|
|
3988
|
-
}
|
|
3989
|
-
|
|
3990
|
-
export declare interface ModelSelectorItemSlotProps {
|
|
3991
|
-
option: ModelSelectorOption;
|
|
3992
|
-
selected: boolean;
|
|
3993
|
-
highlighted: boolean;
|
|
3994
|
-
}
|
|
3995
|
-
|
|
3996
|
-
export declare interface ModelSelectorOption {
|
|
3997
|
-
value: string;
|
|
3998
|
-
label: string;
|
|
3999
|
-
description?: string;
|
|
4000
|
-
icon?: Component | string;
|
|
4001
|
-
disabled?: boolean;
|
|
4002
|
-
group?: string;
|
|
4003
|
-
reasoningEfforts?: ModelSelectorReasoningEfforts;
|
|
4004
|
-
}
|
|
4005
|
-
|
|
4006
|
-
export declare type ModelSelectorPanelClass = string | readonly string[] | Record<string, boolean>;
|
|
4007
|
-
|
|
4008
|
-
export declare interface ModelSelectorProps {
|
|
4009
|
-
models?: readonly ModelSelectorOption[];
|
|
4010
|
-
modelValue?: string | null;
|
|
4011
|
-
defaultValue?: string | null;
|
|
4012
|
-
reasoningEffort?: string | null;
|
|
4013
|
-
defaultReasoningEffort?: string | null;
|
|
4014
|
-
open?: boolean;
|
|
4015
|
-
defaultOpen?: boolean;
|
|
4016
|
-
closeOnSelect?: boolean;
|
|
4017
|
-
disabled?: boolean;
|
|
4018
|
-
searchable?: boolean;
|
|
4019
|
-
placeholder?: string;
|
|
4020
|
-
searchPlaceholder?: string;
|
|
4021
|
-
emptyText?: string;
|
|
4022
|
-
filterMethod?: ModelSelectorFilterMethod;
|
|
4023
|
-
variant?: ModelSelectorVariant;
|
|
4024
|
-
size?: ModelSelectorSize;
|
|
4025
|
-
placement?: Placement;
|
|
4026
|
-
offset?: number;
|
|
4027
|
-
appendTo?: string | HTMLElement;
|
|
4028
|
-
panelClass?: ModelSelectorPanelClass;
|
|
4029
|
-
reasoningEffortLabel?: string;
|
|
4030
|
-
}
|
|
4031
|
-
|
|
4032
|
-
export declare interface ModelSelectorReasoningEffortOption {
|
|
4033
|
-
readonly value: string;
|
|
4034
|
-
readonly label: string;
|
|
4035
|
-
readonly disabled?: boolean;
|
|
4036
|
-
}
|
|
4037
|
-
|
|
4038
|
-
export declare type ModelSelectorReasoningEfforts = boolean | readonly ModelSelectorReasoningEffortOption[];
|
|
4039
|
-
|
|
4040
|
-
export declare type ModelSelectorSize = 'small' | 'normal' | 'large';
|
|
4041
|
-
|
|
4042
|
-
export declare interface ModelSelectorSlotProps {
|
|
4043
|
-
option: ModelSelectorOption | null;
|
|
4044
|
-
query: string;
|
|
4045
|
-
close: () => void;
|
|
4046
|
-
}
|
|
4047
|
-
|
|
4048
|
-
export declare interface ModelSelectorSlots {
|
|
4049
|
-
trigger?: (props: ModelSelectorTriggerSlotProps) => VNode | VNode[];
|
|
4050
|
-
item?: (props: ModelSelectorItemSlotProps) => VNode | VNode[];
|
|
4051
|
-
empty?: (props: ModelSelectorEmptySlotProps) => VNode | VNode[];
|
|
4052
|
-
header?: (props: ModelSelectorSlotProps) => VNode | VNode[];
|
|
4053
|
-
footer?: (props: ModelSelectorFooterSlotProps) => VNode | VNode[];
|
|
4054
|
-
}
|
|
4055
|
-
|
|
4056
|
-
export declare interface ModelSelectorTriggerSlotProps {
|
|
4057
|
-
option: ModelSelectorOption | null;
|
|
4058
|
-
label: string;
|
|
4059
|
-
open: boolean;
|
|
4060
|
-
/** The effort currently supported by the selected model. Sticky unsupported values resolve to null. */
|
|
4061
|
-
reasoningEffortOption: ModelSelectorReasoningEffortOption | null;
|
|
4062
|
-
}
|
|
4063
|
-
|
|
4064
|
-
export declare type ModelSelectorVariant = 'outline' | 'ghost' | 'muted';
|
|
4065
|
-
|
|
4066
3498
|
export declare type PluginAddState = 'idle' | 'loading' | 'added';
|
|
4067
3499
|
|
|
4068
3500
|
export declare interface PluginCardEmits {
|
|
@@ -4128,7 +3560,7 @@ export declare interface PopupConfig {
|
|
|
4128
3560
|
};
|
|
4129
3561
|
}
|
|
4130
3562
|
|
|
4131
|
-
declare const Prompt: typeof
|
|
3563
|
+
declare const Prompt: typeof _default_40 & {
|
|
4132
3564
|
install: typeof installPrompt;
|
|
4133
3565
|
};
|
|
4134
3566
|
export { Prompt }
|
|
@@ -4165,7 +3597,7 @@ export declare interface PromptProps {
|
|
|
4165
3597
|
size?: 'small' | 'medium' | 'large';
|
|
4166
3598
|
}
|
|
4167
3599
|
|
|
4168
|
-
declare const Prompts: typeof
|
|
3600
|
+
declare const Prompts: typeof _default_41 & {
|
|
4169
3601
|
install: typeof installPrompts;
|
|
4170
3602
|
};
|
|
4171
3603
|
export { Prompts }
|
|
@@ -5278,7 +4710,7 @@ export declare interface SuggestionOptions {
|
|
|
5278
4710
|
onSelect?: (item: SenderSuggestionItem) => void | false;
|
|
5279
4711
|
}
|
|
5280
4712
|
|
|
5281
|
-
declare const SuggestionPillButton: typeof
|
|
4713
|
+
declare const SuggestionPillButton: typeof _default_43 & {
|
|
5282
4714
|
install: typeof installPillButton;
|
|
5283
4715
|
};
|
|
5284
4716
|
export { SuggestionPillButton }
|
|
@@ -5584,10 +5016,6 @@ declare interface TemplateOptions {
|
|
|
5584
5016
|
* HTML 属性
|
|
5585
5017
|
*/
|
|
5586
5018
|
HTMLAttributes?: Record<string, unknown>;
|
|
5587
|
-
/**
|
|
5588
|
-
* 下拉菜单挂载目标
|
|
5589
|
-
*/
|
|
5590
|
-
appendTo?: string | HTMLElement;
|
|
5591
5019
|
}
|
|
5592
5020
|
|
|
5593
5021
|
export declare interface ThemeProviderProps {
|
|
@@ -5624,16 +5052,9 @@ export declare interface ToolCall {
|
|
|
5624
5052
|
[x: string]: any;
|
|
5625
5053
|
}
|
|
5626
5054
|
|
|
5627
|
-
declare interface ToolCallState {
|
|
5628
|
-
status?: ToolCallStatus;
|
|
5629
|
-
open?: boolean;
|
|
5630
|
-
description?: string;
|
|
5631
|
-
[key: string]: unknown;
|
|
5632
|
-
}
|
|
5633
|
-
|
|
5634
5055
|
declare type ToolCallStatus = (typeof toolCallStatus)[number];
|
|
5635
5056
|
|
|
5636
|
-
declare const toolCallStatus: readonly ["running", "success", "failed", "cancelled"
|
|
5057
|
+
declare const toolCallStatus: readonly ["running", "success", "failed", "cancelled"];
|
|
5637
5058
|
|
|
5638
5059
|
/**
|
|
5639
5060
|
* Tooltip 内容类型
|
|
@@ -5926,7 +5347,10 @@ export declare const useTheme: () => {
|
|
|
5926
5347
|
};
|
|
5927
5348
|
|
|
5928
5349
|
export declare const useToolCall: (props: BubbleContentRendererProps<ChatMessageContent, {
|
|
5929
|
-
toolCall?: Record<string,
|
|
5350
|
+
toolCall?: Record<string, {
|
|
5351
|
+
status?: ToolCallStatus;
|
|
5352
|
+
open?: boolean;
|
|
5353
|
+
}>;
|
|
5930
5354
|
}> & {
|
|
5931
5355
|
toolCallIndex: number;
|
|
5932
5356
|
}) => {
|
|
@@ -5938,7 +5362,10 @@ export declare const useToolCall: (props: BubbleContentRendererProps<ChatMessage
|
|
|
5938
5362
|
readonly arguments?: any;
|
|
5939
5363
|
readonly result?: any;
|
|
5940
5364
|
}>>;
|
|
5941
|
-
state: ComputedRef<
|
|
5365
|
+
state: ComputedRef< {
|
|
5366
|
+
status: "success" | "running" | "failed" | "cancelled" | undefined;
|
|
5367
|
+
open: boolean | undefined;
|
|
5368
|
+
}>;
|
|
5942
5369
|
};
|
|
5943
5370
|
|
|
5944
5371
|
export declare function useTouchDevice(): {
|