@opentiny/tiny-robot 0.5.2-alpha.10 → 0.5.2-alpha.15
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/dropdown-menu/index.js +1 -1
- package/dist/extension-manager/index.js +473 -0
- package/dist/floating-ui.dom.js +970 -0
- package/dist/index.d.ts +556 -141
- package/dist/index.js +104 -93
- package/dist/index4.js +2 -2
- package/dist/index6.js +1 -1
- package/dist/index8.js +87 -102
- package/dist/layout/index.js +1 -1
- package/dist/model-selector/index.js +1009 -0
- package/dist/sender/index.js +1127 -2060
- package/dist/style.css +1 -1
- package/dist/suggestion-pills/index.js +1 -1
- package/dist/suggestion-popover/index.js +37 -36
- package/dist/useSlotRefs.js +1 -1
- package/dist/useTeleportTarget.js +25 -0
- package/dist/utils.js +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ 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';
|
|
28
29
|
import { PublicProps } from 'vue';
|
|
29
30
|
import { Ref } from 'vue';
|
|
30
31
|
import { ShallowUnwrapRef } from 'vue';
|
|
@@ -67,13 +68,49 @@ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
|
67
68
|
bubbleRef: HTMLDivElement;
|
|
68
69
|
}, HTMLDivElement>;
|
|
69
70
|
|
|
70
|
-
declare const __VLS_component_10: DefineComponent<
|
|
71
|
+
declare const __VLS_component_10: DefineComponent<ModelSelectorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
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
|
+
appendTo: string | HTMLElement;
|
|
92
|
+
offset: number;
|
|
93
|
+
searchable: boolean;
|
|
94
|
+
searchPlaceholder: string;
|
|
95
|
+
models: readonly ModelSelectorOption[];
|
|
96
|
+
defaultValue: string | null;
|
|
97
|
+
reasoningEffort: string | null;
|
|
98
|
+
defaultReasoningEffort: string | null;
|
|
99
|
+
defaultOpen: boolean;
|
|
100
|
+
closeOnSelect: boolean;
|
|
101
|
+
reasoningEffortLabel: string;
|
|
102
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
103
|
+
referenceEl: HTMLSpanElement;
|
|
104
|
+
floatingEl: HTMLDivElement;
|
|
105
|
+
}, HTMLDivElement>;
|
|
106
|
+
|
|
107
|
+
declare const __VLS_component_11: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
71
108
|
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
72
109
|
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
73
110
|
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
74
111
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
75
112
|
|
|
76
|
-
declare const
|
|
113
|
+
declare const __VLS_component_12: DefineComponent<SenderProps_2, {
|
|
77
114
|
focus: () => void;
|
|
78
115
|
blur: () => void;
|
|
79
116
|
clear: () => void;
|
|
@@ -339,9 +376,9 @@ stop: () => void;
|
|
|
339
376
|
}) | null;
|
|
340
377
|
}, HTMLDivElement>;
|
|
341
378
|
|
|
342
|
-
declare const
|
|
379
|
+
declare const __VLS_component_13: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
343
380
|
|
|
344
|
-
declare const
|
|
381
|
+
declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_3, {
|
|
345
382
|
children: ComputedRef<(HTMLElement | SVGElement)[]>;
|
|
346
383
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
347
384
|
"update:showAll": (value: boolean | undefined) => any;
|
|
@@ -361,7 +398,7 @@ floatingItemsRef: HTMLDivElement;
|
|
|
361
398
|
floatingMaybeItemRefs: unknown[];
|
|
362
399
|
}, HTMLDivElement>;
|
|
363
400
|
|
|
364
|
-
declare const
|
|
401
|
+
declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_4, {
|
|
365
402
|
update: () => void;
|
|
366
403
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
367
404
|
"update:selectedGroup": (value: string) => any;
|
|
@@ -495,7 +532,7 @@ show?: TooltipContentProps["show"];
|
|
|
495
532
|
}>, {}, {}, {}, {}, {}> | null;
|
|
496
533
|
}, any>;
|
|
497
534
|
|
|
498
|
-
declare const
|
|
535
|
+
declare const __VLS_component_16: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
499
536
|
"update:theme": (value: string) => any;
|
|
500
537
|
"update:colorMode": (value: ColorMode) => any;
|
|
501
538
|
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
@@ -506,11 +543,11 @@ targetElement: string;
|
|
|
506
543
|
storageKey: string;
|
|
507
544
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
508
545
|
|
|
509
|
-
declare const
|
|
546
|
+
declare const __VLS_component_17: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
|
|
510
547
|
align: "left" | "center" | "right" | string;
|
|
511
548
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
512
549
|
|
|
513
|
-
declare const
|
|
550
|
+
declare const __VLS_component_18: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
514
551
|
"update:visible": (value: boolean) => any;
|
|
515
552
|
} & {
|
|
516
553
|
refresh: (tab: "installed" | "market") => any;
|
|
@@ -537,9 +574,9 @@ onRefresh?: ((tab: "installed" | "market") => any) | undefined;
|
|
|
537
574
|
}>, {
|
|
538
575
|
title: string;
|
|
539
576
|
loading: boolean;
|
|
577
|
+
searchPlaceholder: string;
|
|
540
578
|
installedPlugins: PluginInfo[];
|
|
541
579
|
marketPlugins: PluginInfo[];
|
|
542
|
-
searchPlaceholder: string;
|
|
543
580
|
enableSearch: boolean;
|
|
544
581
|
installedSearchFn: (query: string, item: PluginInfo) => boolean;
|
|
545
582
|
marketSearchFn: (query: string, item: PluginInfo) => boolean;
|
|
@@ -561,13 +598,57 @@ allowPluginAdd: boolean;
|
|
|
561
598
|
marketLoading: boolean;
|
|
562
599
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
563
600
|
|
|
564
|
-
declare const
|
|
601
|
+
declare const __VLS_component_19: DefineComponent<ExtensionCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
602
|
+
action: (payload: ExtensionCardActionEvent) => any;
|
|
603
|
+
"name-click": (event: MouseEvent | KeyboardEvent) => any;
|
|
604
|
+
}, string, PublicProps, Readonly<ExtensionCardProps> & Readonly<{
|
|
605
|
+
onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
|
|
606
|
+
"onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
607
|
+
}>, {
|
|
608
|
+
actions: ExtensionCardAction[];
|
|
609
|
+
primaryActionsLimit: number;
|
|
610
|
+
nameClickable: boolean;
|
|
611
|
+
overflowMenuLabel: string;
|
|
612
|
+
overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
|
|
613
|
+
overflowMenuShowIcons: boolean;
|
|
614
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
615
|
+
|
|
616
|
+
declare const __VLS_component_2: DefineComponent<BubbleListProps, {
|
|
617
|
+
scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
|
|
618
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
619
|
+
"state-change": (payload: BubbleStateChangePayload) => any;
|
|
620
|
+
"bubble-event": (payload: BubbleEventPayload) => any;
|
|
621
|
+
}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
|
|
622
|
+
"onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
|
|
623
|
+
"onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
|
|
624
|
+
}>, {
|
|
625
|
+
contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
626
|
+
groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
|
|
627
|
+
dividerRole: string;
|
|
628
|
+
fallbackRole: string;
|
|
629
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
630
|
+
listRef: HTMLDivElement;
|
|
631
|
+
}, HTMLDivElement>;
|
|
632
|
+
|
|
633
|
+
declare const __VLS_component_20: DefineComponent<ExtensionCardGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
634
|
+
action: (payload: ExtensionCardGridActionEvent) => any;
|
|
635
|
+
"name-click": (payload: ExtensionCardGridNameClickEvent) => any;
|
|
636
|
+
}, string, PublicProps, Readonly<ExtensionCardGridProps> & Readonly<{
|
|
637
|
+
onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
|
|
638
|
+
"onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
|
|
639
|
+
}>, {
|
|
640
|
+
emptyText: string;
|
|
641
|
+
nameClickable: boolean;
|
|
642
|
+
overflowMenuShowIcons: boolean;
|
|
643
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
644
|
+
|
|
645
|
+
declare const __VLS_component_21: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
|
|
565
646
|
disabled: boolean;
|
|
566
647
|
active: boolean;
|
|
567
648
|
tooltipPlacement: TooltipPlacement;
|
|
568
649
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
569
650
|
|
|
570
|
-
declare const
|
|
651
|
+
declare const __VLS_component_22: DefineComponent<VoiceButtonProps, {
|
|
571
652
|
start: () => void;
|
|
572
653
|
stop: () => void;
|
|
573
654
|
speechState: SpeechState;
|
|
@@ -588,24 +669,7 @@ tooltipPlacement: TooltipPlacement;
|
|
|
588
669
|
autoInsert: boolean;
|
|
589
670
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
590
671
|
|
|
591
|
-
declare const
|
|
592
|
-
scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
|
|
593
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
594
|
-
"state-change": (payload: BubbleStateChangePayload) => any;
|
|
595
|
-
"bubble-event": (payload: BubbleEventPayload) => any;
|
|
596
|
-
}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
|
|
597
|
-
"onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
|
|
598
|
-
"onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
|
|
599
|
-
}>, {
|
|
600
|
-
contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
|
|
601
|
-
groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
|
|
602
|
-
dividerRole: string;
|
|
603
|
-
fallbackRole: string;
|
|
604
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
605
|
-
listRef: HTMLDivElement;
|
|
606
|
-
}, HTMLDivElement>;
|
|
607
|
-
|
|
608
|
-
declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
672
|
+
declare const __VLS_component_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
609
673
|
|
|
610
674
|
declare const __VLS_component_3: DefineComponent<BubbleProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
611
675
|
|
|
@@ -1015,13 +1079,23 @@ declare function __VLS_template(): {
|
|
|
1015
1079
|
};
|
|
1016
1080
|
|
|
1017
1081
|
declare function __VLS_template_10(): {
|
|
1082
|
+
attrs: Partial<{}>;
|
|
1083
|
+
slots: Readonly<ModelSelectorSlots> & ModelSelectorSlots;
|
|
1084
|
+
refs: {
|
|
1085
|
+
referenceEl: HTMLSpanElement;
|
|
1086
|
+
floatingEl: HTMLDivElement;
|
|
1087
|
+
};
|
|
1088
|
+
rootEl: HTMLDivElement;
|
|
1089
|
+
};
|
|
1090
|
+
|
|
1091
|
+
declare function __VLS_template_11(): {
|
|
1018
1092
|
attrs: Partial<{}>;
|
|
1019
1093
|
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
1020
1094
|
refs: {};
|
|
1021
1095
|
rootEl: HTMLDivElement;
|
|
1022
1096
|
};
|
|
1023
1097
|
|
|
1024
|
-
declare function
|
|
1098
|
+
declare function __VLS_template_12(): {
|
|
1025
1099
|
attrs: Partial<{}>;
|
|
1026
1100
|
slots: {
|
|
1027
1101
|
header?(_: {}): any;
|
|
@@ -1298,14 +1372,14 @@ declare function __VLS_template_11(): {
|
|
|
1298
1372
|
rootEl: HTMLDivElement;
|
|
1299
1373
|
};
|
|
1300
1374
|
|
|
1301
|
-
declare function
|
|
1375
|
+
declare function __VLS_template_13(): {
|
|
1302
1376
|
attrs: Partial<{}>;
|
|
1303
1377
|
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
1304
1378
|
refs: {};
|
|
1305
1379
|
rootEl: HTMLButtonElement;
|
|
1306
1380
|
};
|
|
1307
1381
|
|
|
1308
|
-
declare function
|
|
1382
|
+
declare function __VLS_template_14(): {
|
|
1309
1383
|
attrs: Partial<{}>;
|
|
1310
1384
|
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
1311
1385
|
refs: {
|
|
@@ -1318,7 +1392,7 @@ declare function __VLS_template_13(): {
|
|
|
1318
1392
|
rootEl: HTMLDivElement;
|
|
1319
1393
|
};
|
|
1320
1394
|
|
|
1321
|
-
declare function
|
|
1395
|
+
declare function __VLS_template_15(): {
|
|
1322
1396
|
attrs: Partial<{}>;
|
|
1323
1397
|
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
1324
1398
|
refs: {
|
|
@@ -1435,7 +1509,7 @@ declare function __VLS_template_14(): {
|
|
|
1435
1509
|
rootEl: any;
|
|
1436
1510
|
};
|
|
1437
1511
|
|
|
1438
|
-
declare function
|
|
1512
|
+
declare function __VLS_template_16(): {
|
|
1439
1513
|
attrs: Partial<{}>;
|
|
1440
1514
|
slots: {
|
|
1441
1515
|
default?(_: {}): any;
|
|
@@ -1444,14 +1518,14 @@ declare function __VLS_template_15(): {
|
|
|
1444
1518
|
rootEl: any;
|
|
1445
1519
|
};
|
|
1446
1520
|
|
|
1447
|
-
declare function
|
|
1521
|
+
declare function __VLS_template_17(): {
|
|
1448
1522
|
attrs: Partial<{}>;
|
|
1449
1523
|
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
1450
1524
|
refs: {};
|
|
1451
1525
|
rootEl: HTMLDivElement;
|
|
1452
1526
|
};
|
|
1453
1527
|
|
|
1454
|
-
declare function
|
|
1528
|
+
declare function __VLS_template_18(): {
|
|
1455
1529
|
attrs: Partial<{}>;
|
|
1456
1530
|
slots: {
|
|
1457
1531
|
'header-actions'?(_: {}): any;
|
|
@@ -1460,7 +1534,30 @@ declare function __VLS_template_17(): {
|
|
|
1460
1534
|
rootEl: any;
|
|
1461
1535
|
};
|
|
1462
1536
|
|
|
1463
|
-
declare function
|
|
1537
|
+
declare function __VLS_template_19(): {
|
|
1538
|
+
attrs: Partial<{}>;
|
|
1539
|
+
slots: Readonly<ExtensionCardSlots> & ExtensionCardSlots;
|
|
1540
|
+
refs: {};
|
|
1541
|
+
rootEl: HTMLDivElement;
|
|
1542
|
+
};
|
|
1543
|
+
|
|
1544
|
+
declare function __VLS_template_2(): {
|
|
1545
|
+
attrs: Partial<{}>;
|
|
1546
|
+
slots: Readonly<BubbleListSlots> & BubbleListSlots;
|
|
1547
|
+
refs: {
|
|
1548
|
+
listRef: HTMLDivElement;
|
|
1549
|
+
};
|
|
1550
|
+
rootEl: HTMLDivElement;
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
declare function __VLS_template_20(): {
|
|
1554
|
+
attrs: Partial<{}>;
|
|
1555
|
+
slots: Readonly<ExtensionCardGridSlots> & ExtensionCardGridSlots;
|
|
1556
|
+
refs: {};
|
|
1557
|
+
rootEl: HTMLUListElement;
|
|
1558
|
+
};
|
|
1559
|
+
|
|
1560
|
+
declare function __VLS_template_21(): {
|
|
1464
1561
|
attrs: Partial<{}>;
|
|
1465
1562
|
slots: {
|
|
1466
1563
|
icon?(_: {}): any;
|
|
@@ -1470,7 +1567,7 @@ declare function __VLS_template_18(): {
|
|
|
1470
1567
|
rootEl: any;
|
|
1471
1568
|
};
|
|
1472
1569
|
|
|
1473
|
-
declare function
|
|
1570
|
+
declare function __VLS_template_22(): {
|
|
1474
1571
|
attrs: Partial<{}>;
|
|
1475
1572
|
slots: {
|
|
1476
1573
|
icon?(_: {
|
|
@@ -1485,16 +1582,7 @@ declare function __VLS_template_19(): {
|
|
|
1485
1582
|
rootEl: any;
|
|
1486
1583
|
};
|
|
1487
1584
|
|
|
1488
|
-
declare function
|
|
1489
|
-
attrs: Partial<{}>;
|
|
1490
|
-
slots: Readonly<BubbleListSlots> & BubbleListSlots;
|
|
1491
|
-
refs: {
|
|
1492
|
-
listRef: HTMLDivElement;
|
|
1493
|
-
};
|
|
1494
|
-
rootEl: HTMLDivElement;
|
|
1495
|
-
};
|
|
1496
|
-
|
|
1497
|
-
declare function __VLS_template_20(): {
|
|
1585
|
+
declare function __VLS_template_23(): {
|
|
1498
1586
|
attrs: Partial<{}>;
|
|
1499
1587
|
slots: {
|
|
1500
1588
|
prepend?(_: {}): any;
|
|
@@ -1827,6 +1915,12 @@ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
|
1827
1915
|
|
|
1828
1916
|
declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
|
|
1829
1917
|
|
|
1918
|
+
declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
|
|
1919
|
+
|
|
1920
|
+
declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
|
|
1921
|
+
|
|
1922
|
+
declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
|
|
1923
|
+
|
|
1830
1924
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1831
1925
|
|
|
1832
1926
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -1919,6 +2013,24 @@ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
|
|
|
1919
2013
|
};
|
|
1920
2014
|
};
|
|
1921
2015
|
|
|
2016
|
+
declare type __VLS_WithTemplateSlots_21<T, S> = T & {
|
|
2017
|
+
new (): {
|
|
2018
|
+
$slots: S;
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
|
|
2022
|
+
declare type __VLS_WithTemplateSlots_22<T, S> = T & {
|
|
2023
|
+
new (): {
|
|
2024
|
+
$slots: S;
|
|
2025
|
+
};
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
declare type __VLS_WithTemplateSlots_23<T, S> = T & {
|
|
2029
|
+
new (): {
|
|
2030
|
+
$slots: S;
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
|
|
1922
2034
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
1923
2035
|
new (): {
|
|
1924
2036
|
$slots: S;
|
|
@@ -2119,7 +2231,7 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
|
|
|
2119
2231
|
|
|
2120
2232
|
export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
|
|
2121
2233
|
|
|
2122
|
-
declare const Bubble: typeof
|
|
2234
|
+
declare const Bubble: typeof _default_27 & {
|
|
2123
2235
|
install: typeof bubbleInstall;
|
|
2124
2236
|
};
|
|
2125
2237
|
export { Bubble }
|
|
@@ -2197,7 +2309,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
|
|
|
2197
2309
|
|
|
2198
2310
|
declare const bubbleInstall: (app: App) => void;
|
|
2199
2311
|
|
|
2200
|
-
declare const BubbleList: typeof
|
|
2312
|
+
declare const BubbleList: typeof _default_28 & {
|
|
2201
2313
|
install: typeof bubbleListInstall;
|
|
2202
2314
|
};
|
|
2203
2315
|
export { BubbleList }
|
|
@@ -2285,7 +2397,7 @@ export declare type BubbleProps = BubbleMessage & {
|
|
|
2285
2397
|
fallbackContentRenderer?: Component<BubbleContentRendererProps>;
|
|
2286
2398
|
};
|
|
2287
2399
|
|
|
2288
|
-
declare const BubbleProvider: typeof
|
|
2400
|
+
declare const BubbleProvider: typeof _default_29 & {
|
|
2289
2401
|
install: typeof bubbleProviderInstall;
|
|
2290
2402
|
};
|
|
2291
2403
|
export { BubbleProvider }
|
|
@@ -2518,73 +2630,79 @@ declare const _default: {
|
|
|
2518
2630
|
};
|
|
2519
2631
|
export default _default;
|
|
2520
2632
|
|
|
2521
|
-
declare const _default_10: typeof
|
|
2633
|
+
declare const _default_10: typeof _default_37 & {
|
|
2522
2634
|
install: typeof install_9;
|
|
2523
2635
|
};
|
|
2524
2636
|
export { _default_10 as IconButton }
|
|
2525
2637
|
export { _default_10 as TrIconButton }
|
|
2526
2638
|
|
|
2527
|
-
declare const _default_11: typeof
|
|
2639
|
+
declare const _default_11: typeof _default_41 & {
|
|
2528
2640
|
install: typeof install_10;
|
|
2529
2641
|
};
|
|
2530
|
-
export { _default_11 as
|
|
2531
|
-
export { _default_11 as
|
|
2642
|
+
export { _default_11 as ModelSelector }
|
|
2643
|
+
export { _default_11 as TrModelSelector }
|
|
2532
2644
|
|
|
2533
2645
|
declare const _default_12: typeof _default_44 & {
|
|
2534
2646
|
install: typeof install_11;
|
|
2535
2647
|
};
|
|
2536
|
-
export { _default_12 as
|
|
2537
|
-
export { _default_12 as
|
|
2648
|
+
export { _default_12 as SenderCompat }
|
|
2649
|
+
export { _default_12 as TrSenderCompat }
|
|
2538
2650
|
|
|
2539
|
-
declare const _default_13: typeof
|
|
2651
|
+
declare const _default_13: typeof _default_46 & {
|
|
2540
2652
|
install: typeof install_12;
|
|
2541
2653
|
};
|
|
2542
|
-
export { _default_13 as
|
|
2543
|
-
export { _default_13 as
|
|
2654
|
+
export { _default_13 as SuggestionPills }
|
|
2655
|
+
export { _default_13 as TrSuggestionPills }
|
|
2544
2656
|
|
|
2545
|
-
declare const _default_14: typeof
|
|
2657
|
+
declare const _default_14: typeof _default_47 & {
|
|
2546
2658
|
install: typeof install_13;
|
|
2547
2659
|
};
|
|
2548
|
-
export { _default_14 as
|
|
2549
|
-
export { _default_14 as
|
|
2660
|
+
export { _default_14 as SuggestionPopover }
|
|
2661
|
+
export { _default_14 as TrSuggestionPopover }
|
|
2550
2662
|
|
|
2551
|
-
declare const _default_15: typeof
|
|
2663
|
+
declare const _default_15: typeof _default_48 & {
|
|
2552
2664
|
install: typeof install_14;
|
|
2553
2665
|
};
|
|
2554
|
-
export { _default_15 as
|
|
2555
|
-
export { _default_15 as
|
|
2666
|
+
export { _default_15 as ThemeProvider }
|
|
2667
|
+
export { _default_15 as TrThemeProvider }
|
|
2556
2668
|
|
|
2557
|
-
declare const _default_16: typeof
|
|
2669
|
+
declare const _default_16: typeof _default_49 & {
|
|
2558
2670
|
install: typeof install_15;
|
|
2559
2671
|
};
|
|
2560
|
-
export { _default_16 as
|
|
2561
|
-
export { _default_16 as
|
|
2672
|
+
export { _default_16 as TrWelcome }
|
|
2673
|
+
export { _default_16 as Welcome }
|
|
2562
2674
|
|
|
2563
|
-
declare const _default_17: typeof
|
|
2675
|
+
declare const _default_17: typeof _default_50 & {
|
|
2564
2676
|
install: typeof install_16;
|
|
2565
2677
|
};
|
|
2566
|
-
export { _default_17 as
|
|
2567
|
-
export { _default_17 as
|
|
2678
|
+
export { _default_17 as McpServerPicker }
|
|
2679
|
+
export { _default_17 as TrMcpServerPicker }
|
|
2568
2680
|
|
|
2569
|
-
declare const _default_18:
|
|
2570
|
-
|
|
2571
|
-
|
|
2681
|
+
declare const _default_18: typeof _default_51 & {
|
|
2682
|
+
install: typeof install_17;
|
|
2683
|
+
};
|
|
2684
|
+
export { _default_18 as McpAddForm }
|
|
2685
|
+
export { _default_18 as TrMcpAddForm }
|
|
2572
2686
|
|
|
2573
|
-
declare const _default_19:
|
|
2574
|
-
export { _default_19 as
|
|
2575
|
-
export { _default_19 as
|
|
2687
|
+
declare const _default_19: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
2688
|
+
export { _default_19 as ActionButton }
|
|
2689
|
+
export { _default_19 as TrActionButton }
|
|
2576
2690
|
|
|
2577
|
-
declare const _default_2: typeof
|
|
2691
|
+
declare const _default_2: typeof _default_26 & {
|
|
2578
2692
|
install: typeof install;
|
|
2579
2693
|
};
|
|
2580
2694
|
export { _default_2 as Attachments }
|
|
2581
2695
|
export { _default_2 as TrAttachments }
|
|
2582
2696
|
|
|
2583
2697
|
declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2584
|
-
export { _default_20 as
|
|
2585
|
-
export { _default_20 as
|
|
2698
|
+
export { _default_20 as SubmitButton }
|
|
2699
|
+
export { _default_20 as TrSubmitButton }
|
|
2700
|
+
|
|
2701
|
+
declare const _default_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2702
|
+
export { _default_21 as ClearButton }
|
|
2703
|
+
export { _default_21 as TrClearButton }
|
|
2586
2704
|
|
|
2587
|
-
declare const
|
|
2705
|
+
declare const _default_22: DefineComponent<UploadButtonProps, {
|
|
2588
2706
|
open: (options?: Parameters<typeof openFileDialog>[0]) => void;
|
|
2589
2707
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2590
2708
|
error: (error: Error, files?: File[] | undefined) => any;
|
|
@@ -2598,22 +2716,22 @@ multiple: boolean;
|
|
|
2598
2716
|
tooltipPlacement: TooltipPlacement;
|
|
2599
2717
|
accept: string;
|
|
2600
2718
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2601
|
-
export {
|
|
2602
|
-
export {
|
|
2719
|
+
export { _default_22 as TrUploadButton }
|
|
2720
|
+
export { _default_22 as UploadButton }
|
|
2603
2721
|
|
|
2604
|
-
declare const
|
|
2605
|
-
export {
|
|
2606
|
-
export {
|
|
2722
|
+
declare const _default_23: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
2723
|
+
export { _default_23 as TrVoiceButton }
|
|
2724
|
+
export { _default_23 as VoiceButton }
|
|
2607
2725
|
|
|
2608
|
-
declare const
|
|
2609
|
-
export {
|
|
2610
|
-
export {
|
|
2726
|
+
declare const _default_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2727
|
+
export { _default_24 as TrWordCounter }
|
|
2728
|
+
export { _default_24 as WordCounter }
|
|
2611
2729
|
|
|
2612
|
-
declare const
|
|
2613
|
-
export {
|
|
2614
|
-
export {
|
|
2730
|
+
declare const _default_25: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
2731
|
+
export { _default_25 as DefaultActionButtons }
|
|
2732
|
+
export { _default_25 as TrDefaultActionButtons }
|
|
2615
2733
|
|
|
2616
|
-
declare const
|
|
2734
|
+
declare const _default_26: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2617
2735
|
"update:items": (items: Attachment[]) => any;
|
|
2618
2736
|
remove: (file: Attachment) => any;
|
|
2619
2737
|
download: (event: MouseEvent, file: Attachment) => any;
|
|
@@ -2639,29 +2757,29 @@ fileMatchers: FileTypeMatcher[];
|
|
|
2639
2757
|
variant: DisplayVariant;
|
|
2640
2758
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2641
2759
|
|
|
2642
|
-
declare const
|
|
2760
|
+
declare const _default_27: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2643
2761
|
|
|
2644
|
-
declare const
|
|
2762
|
+
declare const _default_28: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2645
2763
|
|
|
2646
|
-
declare const
|
|
2764
|
+
declare const _default_29: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2647
2765
|
|
|
2648
|
-
declare const
|
|
2649
|
-
|
|
2650
|
-
declare const _default_3: typeof _default_29 & {
|
|
2766
|
+
declare const _default_3: typeof _default_30 & {
|
|
2651
2767
|
install: typeof install_2;
|
|
2652
2768
|
};
|
|
2653
2769
|
export { _default_3 as Container }
|
|
2654
2770
|
export { _default_3 as TrContainer }
|
|
2655
2771
|
|
|
2656
|
-
declare const _default_30:
|
|
2772
|
+
declare const _default_30: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2773
|
+
|
|
2774
|
+
declare const _default_31: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2657
2775
|
|
|
2658
|
-
declare const
|
|
2776
|
+
declare const _default_32: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2659
2777
|
|
|
2660
|
-
declare const
|
|
2778
|
+
declare const _default_33: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2661
2779
|
|
|
2662
|
-
declare const
|
|
2780
|
+
declare const _default_34: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2663
2781
|
|
|
2664
|
-
declare const
|
|
2782
|
+
declare const _default_35: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2665
2783
|
action: (name: string) => any;
|
|
2666
2784
|
operation: (name: string) => any;
|
|
2667
2785
|
}, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
|
|
@@ -2673,7 +2791,7 @@ actionsLimit: number;
|
|
|
2673
2791
|
sourcesLinesLimit: number;
|
|
2674
2792
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2675
2793
|
|
|
2676
|
-
declare const
|
|
2794
|
+
declare const _default_36: <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<{
|
|
2677
2795
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
2678
2796
|
readonly "onItem-click"?: ((item: T) => any) | undefined;
|
|
2679
2797
|
readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
|
|
@@ -2687,47 +2805,55 @@ declare const _default_35: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
|
|
|
2687
2805
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2688
2806
|
};
|
|
2689
2807
|
|
|
2690
|
-
declare const
|
|
2808
|
+
declare const _default_37: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
2691
2809
|
size: string | number;
|
|
2692
2810
|
svgSize: string | number;
|
|
2693
2811
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2694
2812
|
|
|
2695
|
-
declare const
|
|
2813
|
+
declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2696
2814
|
|
|
2697
|
-
declare const
|
|
2815
|
+
declare const _default_39: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2698
2816
|
scrollbarRef: HTMLDivElement;
|
|
2699
2817
|
thumbRef: HTMLDivElement;
|
|
2700
2818
|
}, any>;
|
|
2701
2819
|
|
|
2702
|
-
declare const
|
|
2703
|
-
|
|
2704
|
-
declare const _default_4: typeof _default_30 & {
|
|
2820
|
+
declare const _default_4: typeof _default_31 & {
|
|
2705
2821
|
install: typeof install_3;
|
|
2706
2822
|
};
|
|
2707
2823
|
export { _default_4 as Anchor }
|
|
2708
2824
|
export { _default_4 as TrAnchor }
|
|
2709
2825
|
|
|
2710
|
-
declare const _default_40:
|
|
2826
|
+
declare const _default_40: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2827
|
+
|
|
2828
|
+
declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2829
|
+
|
|
2830
|
+
declare const _default_42: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
|
|
2711
2831
|
size: "small" | "medium" | "large";
|
|
2712
2832
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2713
2833
|
|
|
2714
|
-
declare const
|
|
2834
|
+
declare const _default_43: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2715
2835
|
|
|
2716
|
-
declare const
|
|
2836
|
+
declare const _default_44: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
2717
2837
|
|
|
2718
|
-
declare const
|
|
2838
|
+
declare const _default_45: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
2719
2839
|
|
|
2720
|
-
declare const
|
|
2840
|
+
declare const _default_46: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2721
2841
|
|
|
2722
|
-
declare const
|
|
2842
|
+
declare const _default_47: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
2723
2843
|
|
|
2724
|
-
declare const
|
|
2844
|
+
declare const _default_48: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
2725
2845
|
|
|
2726
|
-
declare const
|
|
2846
|
+
declare const _default_49: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
2727
2847
|
|
|
2728
|
-
declare const
|
|
2848
|
+
declare const _default_5: typeof _default_32 & {
|
|
2849
|
+
install: typeof install_4;
|
|
2850
|
+
};
|
|
2851
|
+
export { _default_5 as Conversations }
|
|
2852
|
+
export { _default_5 as TrConversations }
|
|
2853
|
+
|
|
2854
|
+
declare const _default_50: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
2729
2855
|
|
|
2730
|
-
declare const
|
|
2856
|
+
declare const _default_51: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2731
2857
|
cancel: () => any;
|
|
2732
2858
|
confirm: (type: AddType, data: string | McpAddFormData) => any;
|
|
2733
2859
|
"update:addType": (value: AddType) => any;
|
|
@@ -2739,31 +2865,29 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
|
|
|
2739
2865
|
addType: AddType;
|
|
2740
2866
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2741
2867
|
|
|
2742
|
-
declare const
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
export { _default_5 as Conversations }
|
|
2746
|
-
export { _default_5 as TrConversations }
|
|
2868
|
+
declare const _default_52: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
2869
|
+
|
|
2870
|
+
declare const _default_53: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
2747
2871
|
|
|
2748
|
-
declare const _default_6: typeof
|
|
2872
|
+
declare const _default_6: typeof _default_33 & {
|
|
2749
2873
|
install: typeof install_5;
|
|
2750
2874
|
};
|
|
2751
2875
|
export { _default_6 as DragOverlay }
|
|
2752
2876
|
export { _default_6 as TrDragOverlay }
|
|
2753
2877
|
|
|
2754
|
-
declare const _default_7: typeof
|
|
2878
|
+
declare const _default_7: typeof _default_34 & {
|
|
2755
2879
|
install: typeof install_6;
|
|
2756
2880
|
};
|
|
2757
2881
|
export { _default_7 as DropdownMenu }
|
|
2758
2882
|
export { _default_7 as TrDropdownMenu }
|
|
2759
2883
|
|
|
2760
|
-
declare const _default_8: typeof
|
|
2884
|
+
declare const _default_8: typeof _default_35 & {
|
|
2761
2885
|
install: typeof install_7;
|
|
2762
2886
|
};
|
|
2763
2887
|
export { _default_8 as Feedback }
|
|
2764
2888
|
export { _default_8 as TrFeedback }
|
|
2765
2889
|
|
|
2766
|
-
declare const _default_9: typeof
|
|
2890
|
+
declare const _default_9: typeof _default_36 & {
|
|
2767
2891
|
install: typeof install_8;
|
|
2768
2892
|
};
|
|
2769
2893
|
export { _default_9 as History }
|
|
@@ -2825,6 +2949,9 @@ export declare interface DefaultActions {
|
|
|
2825
2949
|
|
|
2826
2950
|
export declare type DisplayVariant = 'picture' | 'card' | 'auto';
|
|
2827
2951
|
|
|
2952
|
+
/** Actions passed from Card to its internal renderers after visibility is resolved. */
|
|
2953
|
+
declare type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
2954
|
+
|
|
2828
2955
|
declare interface DragAwareElement extends HTMLElement {
|
|
2829
2956
|
__vDropzoneHandlers__?: Handlers;
|
|
2830
2957
|
__vDropzoneOptions__?: DragAwareOptions;
|
|
@@ -3002,6 +3129,195 @@ export declare interface DropzoneBinding {
|
|
|
3002
3129
|
*/
|
|
3003
3130
|
export declare type EnterKeyHint = 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
3004
3131
|
|
|
3132
|
+
declare const ExtensionCard: typeof _default_52 & {
|
|
3133
|
+
install: typeof extensionCardInstall;
|
|
3134
|
+
};
|
|
3135
|
+
export { ExtensionCard }
|
|
3136
|
+
export { ExtensionCard as TrExtensionCard }
|
|
3137
|
+
|
|
3138
|
+
export declare type ExtensionCardAction = ExtensionCardSwitchAction | ExtensionCardButtonAction | ExtensionCardCustomAction;
|
|
3139
|
+
|
|
3140
|
+
export declare interface ExtensionCardActionBase {
|
|
3141
|
+
id: string;
|
|
3142
|
+
label: string;
|
|
3143
|
+
icon?: Component;
|
|
3144
|
+
hidden?: boolean;
|
|
3145
|
+
disabled?: boolean;
|
|
3146
|
+
danger?: boolean;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
export declare interface ExtensionCardActionEvent {
|
|
3150
|
+
id: string;
|
|
3151
|
+
type: ExtensionCardAction['type'];
|
|
3152
|
+
checked?: boolean;
|
|
3153
|
+
payload?: unknown;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
export declare interface ExtensionCardButtonAction extends ExtensionCardActionBase {
|
|
3157
|
+
type: 'button';
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
export declare interface ExtensionCardCustomAction extends ExtensionCardActionBase {
|
|
3161
|
+
type: 'custom';
|
|
3162
|
+
data?: unknown;
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
export declare interface ExtensionCardEmits {
|
|
3166
|
+
(e: 'name-click', event: MouseEvent | KeyboardEvent): void;
|
|
3167
|
+
(e: 'action', payload: ExtensionCardActionEvent): void;
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
declare const ExtensionCardGrid: typeof _default_53 & {
|
|
3171
|
+
install: typeof extensionCardGridInstall;
|
|
3172
|
+
};
|
|
3173
|
+
export { ExtensionCardGrid }
|
|
3174
|
+
export { ExtensionCardGrid as TrExtensionCardGrid }
|
|
3175
|
+
|
|
3176
|
+
export declare interface ExtensionCardGridActionEvent {
|
|
3177
|
+
itemId: string;
|
|
3178
|
+
action: ExtensionCardActionEvent;
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3181
|
+
export declare interface ExtensionCardGridEmits {
|
|
3182
|
+
(e: 'action', payload: ExtensionCardGridActionEvent): void;
|
|
3183
|
+
(e: 'name-click', payload: ExtensionCardGridNameClickEvent): void;
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
declare const extensionCardGridInstall: <T>(app: App<T>) => void;
|
|
3187
|
+
|
|
3188
|
+
export declare type ExtensionCardGridItem = ExtensionCardProps & {
|
|
3189
|
+
id: string;
|
|
3190
|
+
};
|
|
3191
|
+
|
|
3192
|
+
export declare interface ExtensionCardGridNameClickEvent {
|
|
3193
|
+
itemId: string;
|
|
3194
|
+
event: MouseEvent | KeyboardEvent;
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
export declare interface ExtensionCardGridProps extends Pick<ExtensionCardProps, 'primaryActionsLimit' | 'nameClickable' | 'overflowMenuLabel' | 'overflowMenuPlacement' | 'overflowMenuShowIcons'> {
|
|
3198
|
+
items: ExtensionCardGridItem[];
|
|
3199
|
+
emptyText?: string;
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
export declare interface ExtensionCardGridSlots {
|
|
3203
|
+
item?: (props: {
|
|
3204
|
+
item: ExtensionCardGridItem;
|
|
3205
|
+
index: number;
|
|
3206
|
+
}) => VNode[];
|
|
3207
|
+
empty?: () => VNode[];
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
declare const extensionCardInstall: <T>(app: App<T>) => void;
|
|
3211
|
+
|
|
3212
|
+
export declare type ExtensionCardOverflowMenuPlacement = 'bottom-end' | 'top-end';
|
|
3213
|
+
|
|
3214
|
+
export declare interface ExtensionCardProps {
|
|
3215
|
+
name: string;
|
|
3216
|
+
description?: string;
|
|
3217
|
+
icon?: string | Component;
|
|
3218
|
+
actions?: ExtensionCardAction[];
|
|
3219
|
+
primaryActionsLimit?: number;
|
|
3220
|
+
progress?: number | 'indeterminate';
|
|
3221
|
+
nameClickable?: boolean;
|
|
3222
|
+
overflowMenuLabel?: string;
|
|
3223
|
+
overflowMenuPlacement?: ExtensionCardOverflowMenuPlacement;
|
|
3224
|
+
overflowMenuShowIcons?: boolean;
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
export declare type ExtensionCardRenderableAction = DistributiveOmit<ExtensionCardAction, 'hidden'>;
|
|
3228
|
+
|
|
3229
|
+
export declare interface ExtensionCardSlots {
|
|
3230
|
+
'primary-action'?: (props: {
|
|
3231
|
+
action: Extract<ExtensionCardRenderableAction, {
|
|
3232
|
+
type: 'custom';
|
|
3233
|
+
}>;
|
|
3234
|
+
trigger: (payload?: unknown) => void;
|
|
3235
|
+
}) => VNode[];
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
export declare interface ExtensionCardSwitchAction extends ExtensionCardActionBase {
|
|
3239
|
+
type: 'switch';
|
|
3240
|
+
checked: boolean;
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
export declare interface ExtensionManagerActionEvent {
|
|
3244
|
+
tabId: string;
|
|
3245
|
+
sectionKey: ExtensionManagerSectionKey;
|
|
3246
|
+
itemId: string;
|
|
3247
|
+
action: ExtensionCardActionEvent;
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3250
|
+
export declare interface ExtensionManagerEmits {
|
|
3251
|
+
(e: 'update:active-tab', tabId: string | undefined): void;
|
|
3252
|
+
(e: 'tab-change', event: ExtensionManagerTabChangeEvent): void;
|
|
3253
|
+
(e: 'section-toggle', event: ExtensionManagerSectionToggleEvent): void;
|
|
3254
|
+
(e: 'action', event: ExtensionManagerActionEvent): void;
|
|
3255
|
+
(e: 'name-click', event: ExtensionManagerNameClickEvent): void;
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
export declare type ExtensionManagerItem = ExtensionCardGridItem & {
|
|
3259
|
+
installed?: boolean;
|
|
3260
|
+
tags?: string[];
|
|
3261
|
+
};
|
|
3262
|
+
|
|
3263
|
+
export declare interface ExtensionManagerNameClickEvent {
|
|
3264
|
+
tabId: string;
|
|
3265
|
+
sectionKey: ExtensionManagerSectionKey;
|
|
3266
|
+
itemId: string;
|
|
3267
|
+
event: MouseEvent | KeyboardEvent;
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
export declare interface ExtensionManagerProps {
|
|
3271
|
+
tabs: ExtensionManagerTab[];
|
|
3272
|
+
activeTab?: string;
|
|
3273
|
+
defaultActiveTab?: string;
|
|
3274
|
+
title?: string;
|
|
3275
|
+
emptyText?: string;
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
export declare type ExtensionManagerSectionKey = 'installed' | 'available';
|
|
3279
|
+
|
|
3280
|
+
export declare interface ExtensionManagerSectionToggleEvent {
|
|
3281
|
+
tabId: string;
|
|
3282
|
+
sectionKey: ExtensionManagerSectionKey;
|
|
3283
|
+
expanded: boolean;
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
export declare interface ExtensionManagerSlots {
|
|
3287
|
+
'header-actions'?: () => VNode[];
|
|
3288
|
+
tab?: (props: {
|
|
3289
|
+
tab: ExtensionManagerTab;
|
|
3290
|
+
active: boolean;
|
|
3291
|
+
select: () => void;
|
|
3292
|
+
}) => VNode[];
|
|
3293
|
+
item?: (props: {
|
|
3294
|
+
tab: ExtensionManagerTab;
|
|
3295
|
+
sectionKey: ExtensionManagerSectionKey;
|
|
3296
|
+
item: ExtensionCardGridItem;
|
|
3297
|
+
index: number;
|
|
3298
|
+
}) => VNode[];
|
|
3299
|
+
empty?: (props: {
|
|
3300
|
+
tab: ExtensionManagerTab;
|
|
3301
|
+
sectionKey: ExtensionManagerSectionKey;
|
|
3302
|
+
title: string;
|
|
3303
|
+
}) => VNode[];
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
export declare interface ExtensionManagerTab {
|
|
3307
|
+
id: string;
|
|
3308
|
+
label: string;
|
|
3309
|
+
items: ExtensionManagerItem[];
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
export declare interface ExtensionManagerTabChangeEvent {
|
|
3313
|
+
tabId: string;
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
export declare interface ExtensionManagerTagOption {
|
|
3317
|
+
value: string;
|
|
3318
|
+
label: string;
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3005
3321
|
export declare interface FeedbackEvents {
|
|
3006
3322
|
(e: 'operation', name: string): void;
|
|
3007
3323
|
(e: 'action', name: string): void;
|
|
@@ -3154,6 +3470,8 @@ declare const install_15: <T>(app: App<T>) => void;
|
|
|
3154
3470
|
|
|
3155
3471
|
declare const install_16: <T>(app: App<T>) => void;
|
|
3156
3472
|
|
|
3473
|
+
declare const install_17: <T>(app: App<T>) => void;
|
|
3474
|
+
|
|
3157
3475
|
declare const install_2: <T>(app: App<T>) => void;
|
|
3158
3476
|
|
|
3159
3477
|
declare const install_3: <T>(app: App<T>) => void;
|
|
@@ -3234,7 +3552,7 @@ export declare interface LayoutAsideResizeValue {
|
|
|
3234
3552
|
expandedWidth: number;
|
|
3235
3553
|
}
|
|
3236
3554
|
|
|
3237
|
-
declare const LayoutAsideToggle: typeof
|
|
3555
|
+
declare const LayoutAsideToggle: typeof _default_40 & {
|
|
3238
3556
|
install: typeof layoutAsideToggleInstall;
|
|
3239
3557
|
};
|
|
3240
3558
|
export { LayoutAsideToggle }
|
|
@@ -3246,7 +3564,7 @@ export declare interface LayoutAsideToggleProps {
|
|
|
3246
3564
|
side: LayoutSide;
|
|
3247
3565
|
}
|
|
3248
3566
|
|
|
3249
|
-
declare type LayoutCompound = typeof
|
|
3567
|
+
declare type LayoutCompound = typeof _default_38 & {
|
|
3250
3568
|
install: typeof layoutInstall;
|
|
3251
3569
|
ProxyScrollbar: typeof LayoutProxyScrollbar;
|
|
3252
3570
|
AsideToggle: typeof LayoutAsideToggle;
|
|
@@ -3327,7 +3645,7 @@ export declare interface LayoutNormalProps extends LayoutAsidePanelsProps {
|
|
|
3327
3645
|
|
|
3328
3646
|
export declare type LayoutProps = LayoutNormalProps | LayoutFloatingProps;
|
|
3329
3647
|
|
|
3330
|
-
declare const LayoutProxyScrollbar: typeof
|
|
3648
|
+
declare const LayoutProxyScrollbar: typeof _default_39 & {
|
|
3331
3649
|
install: typeof layoutProxyScrollbarInstall;
|
|
3332
3650
|
};
|
|
3333
3651
|
export { LayoutProxyScrollbar }
|
|
@@ -3507,6 +3825,103 @@ declare type MentionStructuredItem = {
|
|
|
3507
3825
|
value: string;
|
|
3508
3826
|
};
|
|
3509
3827
|
|
|
3828
|
+
export declare interface ModelSelectorEmits {
|
|
3829
|
+
(event: 'update:modelValue', value: string | null): void;
|
|
3830
|
+
(event: 'change', option: ModelSelectorOption): void;
|
|
3831
|
+
(event: 'update:reasoningEffort', value: string | null): void;
|
|
3832
|
+
(event: 'reasoning-effort-change', option: ModelSelectorReasoningEffortOption | null): void;
|
|
3833
|
+
(event: 'update:open', open: boolean): void;
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
export declare interface ModelSelectorEmptySlotProps {
|
|
3837
|
+
query: string;
|
|
3838
|
+
}
|
|
3839
|
+
|
|
3840
|
+
export declare type ModelSelectorFilterMethod = (query: string, option: ModelSelectorOption) => boolean;
|
|
3841
|
+
|
|
3842
|
+
export declare interface ModelSelectorFooterSlotProps extends ModelSelectorSlotProps {
|
|
3843
|
+
reasoningEfforts: readonly ModelSelectorReasoningEffortOption[];
|
|
3844
|
+
/** The effort currently supported by the selected model. Sticky unsupported values resolve to null. */
|
|
3845
|
+
reasoningEffortOption: ModelSelectorReasoningEffortOption | null;
|
|
3846
|
+
setReasoningEffort: (value: string | null) => void;
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
export declare interface ModelSelectorItemSlotProps {
|
|
3850
|
+
option: ModelSelectorOption;
|
|
3851
|
+
selected: boolean;
|
|
3852
|
+
highlighted: boolean;
|
|
3853
|
+
}
|
|
3854
|
+
|
|
3855
|
+
export declare interface ModelSelectorOption {
|
|
3856
|
+
value: string;
|
|
3857
|
+
label: string;
|
|
3858
|
+
description?: string;
|
|
3859
|
+
icon?: Component | string;
|
|
3860
|
+
disabled?: boolean;
|
|
3861
|
+
group?: string;
|
|
3862
|
+
reasoningEfforts?: ModelSelectorReasoningEfforts;
|
|
3863
|
+
}
|
|
3864
|
+
|
|
3865
|
+
export declare type ModelSelectorPanelClass = string | readonly string[] | Record<string, boolean>;
|
|
3866
|
+
|
|
3867
|
+
export declare interface ModelSelectorProps {
|
|
3868
|
+
models?: readonly ModelSelectorOption[];
|
|
3869
|
+
modelValue?: string | null;
|
|
3870
|
+
defaultValue?: string | null;
|
|
3871
|
+
reasoningEffort?: string | null;
|
|
3872
|
+
defaultReasoningEffort?: string | null;
|
|
3873
|
+
open?: boolean;
|
|
3874
|
+
defaultOpen?: boolean;
|
|
3875
|
+
closeOnSelect?: boolean;
|
|
3876
|
+
disabled?: boolean;
|
|
3877
|
+
searchable?: boolean;
|
|
3878
|
+
placeholder?: string;
|
|
3879
|
+
searchPlaceholder?: string;
|
|
3880
|
+
emptyText?: string;
|
|
3881
|
+
filterMethod?: ModelSelectorFilterMethod;
|
|
3882
|
+
variant?: ModelSelectorVariant;
|
|
3883
|
+
size?: ModelSelectorSize;
|
|
3884
|
+
placement?: Placement;
|
|
3885
|
+
offset?: number;
|
|
3886
|
+
appendTo?: string | HTMLElement;
|
|
3887
|
+
panelClass?: ModelSelectorPanelClass;
|
|
3888
|
+
reasoningEffortLabel?: string;
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3891
|
+
export declare interface ModelSelectorReasoningEffortOption {
|
|
3892
|
+
readonly value: string;
|
|
3893
|
+
readonly label: string;
|
|
3894
|
+
readonly disabled?: boolean;
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
export declare type ModelSelectorReasoningEfforts = boolean | readonly ModelSelectorReasoningEffortOption[];
|
|
3898
|
+
|
|
3899
|
+
export declare type ModelSelectorSize = 'small' | 'normal' | 'large';
|
|
3900
|
+
|
|
3901
|
+
export declare interface ModelSelectorSlotProps {
|
|
3902
|
+
option: ModelSelectorOption | null;
|
|
3903
|
+
query: string;
|
|
3904
|
+
close: () => void;
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
export declare interface ModelSelectorSlots {
|
|
3908
|
+
trigger?: (props: ModelSelectorTriggerSlotProps) => VNode | VNode[];
|
|
3909
|
+
item?: (props: ModelSelectorItemSlotProps) => VNode | VNode[];
|
|
3910
|
+
empty?: (props: ModelSelectorEmptySlotProps) => VNode | VNode[];
|
|
3911
|
+
header?: (props: ModelSelectorSlotProps) => VNode | VNode[];
|
|
3912
|
+
footer?: (props: ModelSelectorFooterSlotProps) => VNode | VNode[];
|
|
3913
|
+
}
|
|
3914
|
+
|
|
3915
|
+
export declare interface ModelSelectorTriggerSlotProps {
|
|
3916
|
+
option: ModelSelectorOption | null;
|
|
3917
|
+
label: string;
|
|
3918
|
+
open: boolean;
|
|
3919
|
+
/** The effort currently supported by the selected model. Sticky unsupported values resolve to null. */
|
|
3920
|
+
reasoningEffortOption: ModelSelectorReasoningEffortOption | null;
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
export declare type ModelSelectorVariant = 'outline' | 'ghost' | 'muted';
|
|
3924
|
+
|
|
3510
3925
|
declare const openFileDialog: (localOptions?: Partial<UseFileDialogOptions>) => void;
|
|
3511
3926
|
|
|
3512
3927
|
export declare type PluginAddState = 'idle' | 'loading' | 'added';
|
|
@@ -3574,7 +3989,7 @@ export declare interface PopupConfig {
|
|
|
3574
3989
|
};
|
|
3575
3990
|
}
|
|
3576
3991
|
|
|
3577
|
-
declare const Prompt: typeof
|
|
3992
|
+
declare const Prompt: typeof _default_42 & {
|
|
3578
3993
|
install: typeof installPrompt;
|
|
3579
3994
|
};
|
|
3580
3995
|
export { Prompt }
|
|
@@ -3611,7 +4026,7 @@ export declare interface PromptProps {
|
|
|
3611
4026
|
size?: 'small' | 'medium' | 'large';
|
|
3612
4027
|
}
|
|
3613
4028
|
|
|
3614
|
-
declare const Prompts: typeof
|
|
4029
|
+
declare const Prompts: typeof _default_43 & {
|
|
3615
4030
|
install: typeof installPrompts;
|
|
3616
4031
|
};
|
|
3617
4032
|
export { Prompts }
|
|
@@ -4710,7 +5125,7 @@ export declare interface SuggestionOptions {
|
|
|
4710
5125
|
onSelect?: (item: SenderSuggestionItem) => void | false;
|
|
4711
5126
|
}
|
|
4712
5127
|
|
|
4713
|
-
declare const SuggestionPillButton: typeof
|
|
5128
|
+
declare const SuggestionPillButton: typeof _default_45 & {
|
|
4714
5129
|
install: typeof installPillButton;
|
|
4715
5130
|
};
|
|
4716
5131
|
export { SuggestionPillButton }
|
|
@@ -5012,14 +5427,14 @@ declare interface TemplateOptions {
|
|
|
5012
5427
|
* ```
|
|
5013
5428
|
*/
|
|
5014
5429
|
items?: TemplateItem[] | Ref<TemplateItem[]>;
|
|
5015
|
-
/**
|
|
5016
|
-
* Template Select 下拉菜单的 Teleport 目标
|
|
5017
|
-
*/
|
|
5018
|
-
appendTo?: string | HTMLElement;
|
|
5019
5430
|
/**
|
|
5020
5431
|
* HTML 属性
|
|
5021
5432
|
*/
|
|
5022
5433
|
HTMLAttributes?: Record<string, unknown>;
|
|
5434
|
+
/**
|
|
5435
|
+
* 下拉菜单挂载目标
|
|
5436
|
+
*/
|
|
5437
|
+
appendTo?: string | HTMLElement;
|
|
5023
5438
|
}
|
|
5024
5439
|
|
|
5025
5440
|
export declare interface ThemeProviderProps {
|