@opentiny/tiny-robot 0.3.0-alpha.12 → 0.3.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-group/index.js +17 -17
- package/dist/attachments/index.js +83 -83
- package/dist/bubble/index.js +1905 -1171
- package/dist/container/index.js +26 -26
- package/dist/dropdown-menu/index.js +116 -49
- package/dist/feedback/index.js +41 -41
- package/dist/flow-layout-buttons/index.js +10 -10
- package/dist/history/index.js +45 -45
- package/dist/index.d.ts +583 -346
- package/dist/index.js +65 -55
- package/dist/index2.js +7 -6
- package/dist/index3.js +426 -418
- package/dist/index4.js +67 -67
- package/dist/index5.js +22 -21
- package/dist/index6.js +795 -599
- package/dist/index7.js +3622 -1717
- package/dist/loading.js +4 -0
- package/dist/mcp-server-picker/index.js +29972 -0
- package/dist/question/index.js +61 -61
- package/dist/sender/index.js +127 -127
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +54 -54
- package/dist/suggestion-pills/index.js +11 -11
- package/dist/suggestion-popover/index.js +185 -184
- package/dist/tiny-robot-svgs.js +421 -247
- package/dist/useSlotRefs.js +13 -13
- package/dist/utils.js +8 -2
- package/package.json +11 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
2
|
import { App } from 'vue';
|
|
3
3
|
import { AutoSize as AutoSize_2 } from './index.type';
|
|
4
|
-
import {
|
|
4
|
+
import { BubbleContentItem as BubbleContentItem_2 } from './renderers';
|
|
5
5
|
import { Component } from 'vue';
|
|
6
6
|
import { ComponentCustomProperties } from 'vue';
|
|
7
7
|
import { ComponentCustomProps } from 'vue';
|
|
@@ -11,6 +11,7 @@ import { ComponentOptionsMixin } from 'vue';
|
|
|
11
11
|
import { ComponentProvideOptions } from 'vue';
|
|
12
12
|
import { ComponentPublicInstance } from 'vue';
|
|
13
13
|
import { ComputedRef } from 'vue';
|
|
14
|
+
import { Config } from 'dompurify';
|
|
14
15
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
15
16
|
import { CSSProperties } from 'vue';
|
|
16
17
|
import { DebuggerEvent } from 'vue';
|
|
@@ -22,6 +23,7 @@ import { FileTypeMatcher as FileTypeMatcher_2 } from './index.type';
|
|
|
22
23
|
import { GlobalComponents } from 'vue';
|
|
23
24
|
import { GlobalDirectives } from 'vue';
|
|
24
25
|
import { InputMode as InputMode_2 } from './index.type';
|
|
26
|
+
import { MarketCategoryOption as MarketCategoryOption_2 } from './index.type';
|
|
25
27
|
import { nextTick } from 'vue';
|
|
26
28
|
import { OnCleanup } from '@vue/reactivity';
|
|
27
29
|
import { Options } from 'markdown-it';
|
|
@@ -43,17 +45,157 @@ import { WatchOptions } from 'vue';
|
|
|
43
45
|
import { WatchStopHandle } from 'vue';
|
|
44
46
|
|
|
45
47
|
declare const __VLS_component: DefineComponent<BubbleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProps> & Readonly<{}>, {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
content: string | BubbleContentItem_2[];
|
|
49
|
+
placement: "start" | "end";
|
|
50
|
+
shape: "rounded" | "corner";
|
|
49
51
|
maxWidth: string | number;
|
|
50
52
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
51
53
|
|
|
52
|
-
declare const __VLS_component_10: DefineComponent<
|
|
54
|
+
declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_4, {
|
|
55
|
+
update: () => void;
|
|
56
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
57
|
+
"update:selectedGroup": (value: string) => any;
|
|
58
|
+
} & {
|
|
59
|
+
close: () => any;
|
|
60
|
+
open: () => any;
|
|
61
|
+
"item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
|
|
62
|
+
"click-outside": (event: MouseEvent) => any;
|
|
63
|
+
"group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
|
|
64
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
65
|
+
onClose?: (() => any) | undefined;
|
|
66
|
+
onOpen?: (() => any) | undefined;
|
|
67
|
+
"onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
|
|
68
|
+
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
69
|
+
"onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
|
|
70
|
+
"onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
title: string;
|
|
73
|
+
trigger: "click" | "manual";
|
|
74
|
+
groupShowMoreTrigger: "click" | "hover";
|
|
75
|
+
topOffset: number;
|
|
76
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
77
|
+
basePopperRef: ({
|
|
78
|
+
$: ComponentInternalInstance;
|
|
79
|
+
$data: {};
|
|
80
|
+
$props: {
|
|
81
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
82
|
+
readonly offset?: number | {
|
|
83
|
+
mainAxis?: number;
|
|
84
|
+
crossAxis?: number;
|
|
85
|
+
} | undefined;
|
|
86
|
+
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
87
|
+
readonly preventOverflow?: boolean | undefined;
|
|
88
|
+
readonly show?: boolean | undefined;
|
|
89
|
+
readonly transitionProps?: TransitionProps | undefined;
|
|
90
|
+
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
91
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
92
|
+
$attrs: {
|
|
93
|
+
[x: string]: unknown;
|
|
94
|
+
};
|
|
95
|
+
$refs: {
|
|
96
|
+
[x: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
$slots: Readonly<{
|
|
99
|
+
[name: string]: Slot<any> | undefined;
|
|
100
|
+
}>;
|
|
101
|
+
$root: ComponentPublicInstance | null;
|
|
102
|
+
$parent: ComponentPublicInstance | null;
|
|
103
|
+
$host: Element | null;
|
|
104
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
105
|
+
$el: any;
|
|
106
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
107
|
+
appendTo?: string | HTMLElement;
|
|
108
|
+
offset?: number | {
|
|
109
|
+
mainAxis?: number;
|
|
110
|
+
crossAxis?: number;
|
|
111
|
+
};
|
|
112
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
113
|
+
preventOverflow?: boolean;
|
|
114
|
+
show?: boolean;
|
|
115
|
+
transitionProps?: TransitionProps;
|
|
116
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
117
|
+
}> & Readonly<{}>, {
|
|
118
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
119
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
120
|
+
update: () => void;
|
|
121
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
122
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
123
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
124
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
125
|
+
created?: (() => void) | (() => void)[];
|
|
126
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
127
|
+
mounted?: (() => void) | (() => void)[];
|
|
128
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
129
|
+
updated?: (() => void) | (() => void)[];
|
|
130
|
+
activated?: (() => void) | (() => void)[];
|
|
131
|
+
deactivated?: (() => void) | (() => void)[];
|
|
132
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
133
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
134
|
+
destroyed?: (() => void) | (() => void)[];
|
|
135
|
+
unmounted?: (() => void) | (() => void)[];
|
|
136
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
137
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
138
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
139
|
+
};
|
|
140
|
+
$forceUpdate: () => void;
|
|
141
|
+
$nextTick: nextTick;
|
|
142
|
+
$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;
|
|
143
|
+
} & Readonly<{
|
|
144
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
145
|
+
}> & Omit<Readonly<{
|
|
146
|
+
appendTo?: string | HTMLElement;
|
|
147
|
+
offset?: number | {
|
|
148
|
+
mainAxis?: number;
|
|
149
|
+
crossAxis?: number;
|
|
150
|
+
};
|
|
151
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
152
|
+
preventOverflow?: boolean;
|
|
153
|
+
show?: boolean;
|
|
154
|
+
transitionProps?: TransitionProps;
|
|
155
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
156
|
+
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
|
|
157
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
158
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
159
|
+
update: () => void;
|
|
160
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
161
|
+
$slots: Readonly<{
|
|
162
|
+
trigger?: () => VNode[];
|
|
163
|
+
content?: () => VNode[];
|
|
164
|
+
}> & {
|
|
165
|
+
trigger?: () => VNode[];
|
|
166
|
+
content?: () => VNode[];
|
|
167
|
+
};
|
|
168
|
+
}) | null;
|
|
169
|
+
listRef: HTMLUListElement;
|
|
170
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
171
|
+
show?: TooltipContentProps["show"];
|
|
172
|
+
} & TooltipContentProps> & Readonly<{
|
|
173
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
174
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
175
|
+
"update:show": (value: boolean | undefined) => any;
|
|
176
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
177
|
+
P: {};
|
|
178
|
+
B: {};
|
|
179
|
+
D: {};
|
|
180
|
+
C: {};
|
|
181
|
+
M: {};
|
|
182
|
+
Defaults: {};
|
|
183
|
+
}, Readonly<{
|
|
184
|
+
show?: TooltipContentProps["show"];
|
|
185
|
+
} & TooltipContentProps> & Readonly<{
|
|
186
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
187
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
188
|
+
}, any>;
|
|
189
|
+
|
|
190
|
+
declare const __VLS_component_11: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
|
|
53
191
|
align: "left" | "center" | "right" | string;
|
|
54
192
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
55
193
|
|
|
56
|
-
declare const __VLS_component_2: DefineComponent<
|
|
194
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
195
|
+
contentRenderers: Record<string, BubbleContentRenderer>;
|
|
196
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
197
|
+
|
|
198
|
+
declare const __VLS_component_3: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
57
199
|
"update:show": (value: boolean) => any;
|
|
58
200
|
"update:fullscreen": (value: boolean | undefined) => any;
|
|
59
201
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -61,9 +203,9 @@ declare const __VLS_component_2: DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
61
203
|
"onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
|
|
62
204
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
63
205
|
|
|
64
|
-
declare const
|
|
206
|
+
declare const __VLS_component_4: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
65
207
|
|
|
66
|
-
declare const
|
|
208
|
+
declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_2, {
|
|
67
209
|
update: () => void;
|
|
68
210
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
69
211
|
"update:show": (value: boolean) => any;
|
|
@@ -171,13 +313,13 @@ content?: () => VNode[];
|
|
|
171
313
|
}) | null;
|
|
172
314
|
}, any>;
|
|
173
315
|
|
|
174
|
-
declare const
|
|
316
|
+
declare const __VLS_component_6: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
175
317
|
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
176
318
|
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
177
319
|
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
178
320
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
179
321
|
|
|
180
|
-
declare const
|
|
322
|
+
declare const __VLS_component_7: DefineComponent<SenderProps, {
|
|
181
323
|
focus: () => void;
|
|
182
324
|
blur: () => void;
|
|
183
325
|
clear: () => void;
|
|
@@ -195,8 +337,8 @@ activateTemplateFirstField: () => void;
|
|
|
195
337
|
disabled: boolean;
|
|
196
338
|
modelValue: string;
|
|
197
339
|
placeholder: string;
|
|
198
|
-
loading: boolean;
|
|
199
340
|
mode: InputMode_2;
|
|
341
|
+
loading: boolean;
|
|
200
342
|
autofocus: boolean;
|
|
201
343
|
clearable: boolean;
|
|
202
344
|
showWordLimit: boolean;
|
|
@@ -718,9 +860,9 @@ onSelect?: ((item: string) => any) | undefined;
|
|
|
718
860
|
}>, {}, {}, {}, {}, {}> | null;
|
|
719
861
|
}, HTMLDivElement>;
|
|
720
862
|
|
|
721
|
-
declare const
|
|
863
|
+
declare const __VLS_component_8: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
722
864
|
|
|
723
|
-
declare const
|
|
865
|
+
declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_3, {
|
|
724
866
|
children: ComputedRef<(HTMLElement | SVGElement)[]>;
|
|
725
867
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
726
868
|
"update:showAll": (value: boolean | undefined) => any;
|
|
@@ -740,187 +882,189 @@ floatingItemsRef: HTMLDivElement;
|
|
|
740
882
|
floatingMaybeItemRefs: unknown[];
|
|
741
883
|
}, HTMLDivElement>;
|
|
742
884
|
|
|
743
|
-
declare
|
|
744
|
-
|
|
745
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
746
|
-
"update:selectedGroup": (value: string) => any;
|
|
747
|
-
} & {
|
|
748
|
-
close: () => any;
|
|
749
|
-
open: () => any;
|
|
750
|
-
"item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
|
|
751
|
-
"click-outside": (event: MouseEvent) => any;
|
|
752
|
-
"group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
|
|
753
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
754
|
-
onClose?: (() => any) | undefined;
|
|
755
|
-
onOpen?: (() => any) | undefined;
|
|
756
|
-
"onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
|
|
757
|
-
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
758
|
-
"onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
|
|
759
|
-
"onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
|
|
760
|
-
}>, {
|
|
761
|
-
title: string;
|
|
762
|
-
trigger: "click" | "manual";
|
|
763
|
-
groupShowMoreTrigger: "click" | "hover";
|
|
764
|
-
topOffset: number;
|
|
765
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
766
|
-
basePopperRef: ({
|
|
767
|
-
$: ComponentInternalInstance;
|
|
768
|
-
$data: {};
|
|
769
|
-
$props: {
|
|
770
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
771
|
-
readonly offset?: number | {
|
|
772
|
-
mainAxis?: number;
|
|
773
|
-
crossAxis?: number;
|
|
774
|
-
} | undefined;
|
|
775
|
-
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
776
|
-
readonly preventOverflow?: boolean | undefined;
|
|
777
|
-
readonly show?: boolean | undefined;
|
|
778
|
-
readonly transitionProps?: TransitionProps | undefined;
|
|
779
|
-
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
780
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
781
|
-
$attrs: {
|
|
782
|
-
[x: string]: unknown;
|
|
783
|
-
};
|
|
784
|
-
$refs: {
|
|
785
|
-
[x: string]: unknown;
|
|
786
|
-
};
|
|
787
|
-
$slots: Readonly<{
|
|
788
|
-
[name: string]: Slot<any> | undefined;
|
|
789
|
-
}>;
|
|
790
|
-
$root: ComponentPublicInstance | null;
|
|
791
|
-
$parent: ComponentPublicInstance | null;
|
|
792
|
-
$host: Element | null;
|
|
793
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
794
|
-
$el: any;
|
|
795
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
796
|
-
appendTo?: string | HTMLElement;
|
|
797
|
-
offset?: number | {
|
|
798
|
-
mainAxis?: number;
|
|
799
|
-
crossAxis?: number;
|
|
800
|
-
};
|
|
801
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
802
|
-
preventOverflow?: boolean;
|
|
803
|
-
show?: boolean;
|
|
804
|
-
transitionProps?: TransitionProps;
|
|
805
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
806
|
-
}> & Readonly<{}>, {
|
|
807
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
808
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
809
|
-
update: () => void;
|
|
810
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
811
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
812
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
813
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
814
|
-
created?: (() => void) | (() => void)[];
|
|
815
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
816
|
-
mounted?: (() => void) | (() => void)[];
|
|
817
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
818
|
-
updated?: (() => void) | (() => void)[];
|
|
819
|
-
activated?: (() => void) | (() => void)[];
|
|
820
|
-
deactivated?: (() => void) | (() => void)[];
|
|
821
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
822
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
823
|
-
destroyed?: (() => void) | (() => void)[];
|
|
824
|
-
unmounted?: (() => void) | (() => void)[];
|
|
825
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
826
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
827
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
885
|
+
declare type __VLS_Props = {
|
|
886
|
+
contentRenderers?: Record<string, BubbleContentRenderer>;
|
|
828
887
|
};
|
|
829
|
-
$forceUpdate: () => void;
|
|
830
|
-
$nextTick: nextTick;
|
|
831
|
-
$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;
|
|
832
|
-
} & Readonly<{
|
|
833
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
834
|
-
}> & Omit<Readonly<{
|
|
835
|
-
appendTo?: string | HTMLElement;
|
|
836
|
-
offset?: number | {
|
|
837
|
-
mainAxis?: number;
|
|
838
|
-
crossAxis?: number;
|
|
839
|
-
};
|
|
840
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
841
|
-
preventOverflow?: boolean;
|
|
842
|
-
show?: boolean;
|
|
843
|
-
transitionProps?: TransitionProps;
|
|
844
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
845
|
-
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
|
|
846
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
847
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
848
|
-
update: () => void;
|
|
849
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
850
|
-
$slots: Readonly<{
|
|
851
|
-
trigger?: () => VNode[];
|
|
852
|
-
content?: () => VNode[];
|
|
853
|
-
}> & {
|
|
854
|
-
trigger?: () => VNode[];
|
|
855
|
-
content?: () => VNode[];
|
|
856
|
-
};
|
|
857
|
-
}) | null;
|
|
858
|
-
listRef: HTMLUListElement;
|
|
859
|
-
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
860
|
-
show?: TooltipContentProps["show"];
|
|
861
|
-
} & TooltipContentProps> & Readonly<{
|
|
862
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
863
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
864
|
-
"update:show": (value: boolean | undefined) => any;
|
|
865
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
866
|
-
P: {};
|
|
867
|
-
B: {};
|
|
868
|
-
D: {};
|
|
869
|
-
C: {};
|
|
870
|
-
M: {};
|
|
871
|
-
Defaults: {};
|
|
872
|
-
}, Readonly<{
|
|
873
|
-
show?: TooltipContentProps["show"];
|
|
874
|
-
} & TooltipContentProps> & Readonly<{
|
|
875
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
876
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
877
|
-
}, any>;
|
|
878
888
|
|
|
879
|
-
declare type
|
|
889
|
+
declare type __VLS_Props_2 = DropdownMenuProps;
|
|
880
890
|
|
|
881
|
-
declare type
|
|
891
|
+
declare type __VLS_Props_3 = SuggestionPillsProps;
|
|
882
892
|
|
|
883
|
-
declare type
|
|
893
|
+
declare type __VLS_Props_4 = SuggestionPopoverProps;
|
|
894
|
+
|
|
895
|
+
declare type __VLS_Props_5 = McpServerPickerProps;
|
|
884
896
|
|
|
885
897
|
declare type __VLS_PublicProps = {
|
|
886
898
|
'show': ContainerProps['show'];
|
|
887
899
|
'fullscreen'?: ContainerProps['fullscreen'];
|
|
888
900
|
};
|
|
889
901
|
|
|
890
|
-
declare type __VLS_PublicProps_2 = {
|
|
891
|
-
'show'?: boolean;
|
|
892
|
-
} &
|
|
893
|
-
|
|
894
|
-
declare type __VLS_PublicProps_3 = {
|
|
895
|
-
'showAll'?: SuggestionPillsProps['showAll'];
|
|
896
|
-
} &
|
|
897
|
-
|
|
898
|
-
declare type __VLS_PublicProps_4 = {
|
|
899
|
-
'selectedGroup'?: string;
|
|
900
|
-
} &
|
|
901
|
-
|
|
902
|
-
declare
|
|
902
|
+
declare type __VLS_PublicProps_2 = {
|
|
903
|
+
'show'?: boolean;
|
|
904
|
+
} & __VLS_Props_2;
|
|
905
|
+
|
|
906
|
+
declare type __VLS_PublicProps_3 = {
|
|
907
|
+
'showAll'?: SuggestionPillsProps['showAll'];
|
|
908
|
+
} & __VLS_Props_3;
|
|
909
|
+
|
|
910
|
+
declare type __VLS_PublicProps_4 = {
|
|
911
|
+
'selectedGroup'?: string;
|
|
912
|
+
} & __VLS_Props_4;
|
|
913
|
+
|
|
914
|
+
declare type __VLS_PublicProps_5 = {
|
|
915
|
+
'visible': boolean;
|
|
916
|
+
} & __VLS_Props_5;
|
|
917
|
+
|
|
918
|
+
declare function __VLS_template(): {
|
|
919
|
+
attrs: Partial<{}>;
|
|
920
|
+
slots: Readonly<BubbleSlots> & BubbleSlots;
|
|
921
|
+
refs: {};
|
|
922
|
+
rootEl: HTMLDivElement;
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
declare function __VLS_template_10(): {
|
|
926
|
+
attrs: Partial<{}>;
|
|
927
|
+
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
928
|
+
refs: {
|
|
929
|
+
basePopperRef: ({
|
|
930
|
+
$: ComponentInternalInstance;
|
|
931
|
+
$data: {};
|
|
932
|
+
$props: {
|
|
933
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
934
|
+
readonly offset?: number | {
|
|
935
|
+
mainAxis?: number;
|
|
936
|
+
crossAxis?: number;
|
|
937
|
+
} | undefined;
|
|
938
|
+
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
939
|
+
readonly preventOverflow?: boolean | undefined;
|
|
940
|
+
readonly show?: boolean | undefined;
|
|
941
|
+
readonly transitionProps?: TransitionProps | undefined;
|
|
942
|
+
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
943
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
944
|
+
$attrs: {
|
|
945
|
+
[x: string]: unknown;
|
|
946
|
+
};
|
|
947
|
+
$refs: {
|
|
948
|
+
[x: string]: unknown;
|
|
949
|
+
};
|
|
950
|
+
$slots: Readonly<{
|
|
951
|
+
[name: string]: Slot<any> | undefined;
|
|
952
|
+
}>;
|
|
953
|
+
$root: ComponentPublicInstance | null;
|
|
954
|
+
$parent: ComponentPublicInstance | null;
|
|
955
|
+
$host: Element | null;
|
|
956
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
957
|
+
$el: any;
|
|
958
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
959
|
+
appendTo?: string | HTMLElement;
|
|
960
|
+
offset?: number | {
|
|
961
|
+
mainAxis?: number;
|
|
962
|
+
crossAxis?: number;
|
|
963
|
+
};
|
|
964
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
965
|
+
preventOverflow?: boolean;
|
|
966
|
+
show?: boolean;
|
|
967
|
+
transitionProps?: TransitionProps;
|
|
968
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
969
|
+
}> & Readonly<{}>, {
|
|
970
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
971
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
972
|
+
update: () => void;
|
|
973
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
974
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
975
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
976
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
977
|
+
created?: (() => void) | (() => void)[];
|
|
978
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
979
|
+
mounted?: (() => void) | (() => void)[];
|
|
980
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
981
|
+
updated?: (() => void) | (() => void)[];
|
|
982
|
+
activated?: (() => void) | (() => void)[];
|
|
983
|
+
deactivated?: (() => void) | (() => void)[];
|
|
984
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
985
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
986
|
+
destroyed?: (() => void) | (() => void)[];
|
|
987
|
+
unmounted?: (() => void) | (() => void)[];
|
|
988
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
989
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
990
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
991
|
+
};
|
|
992
|
+
$forceUpdate: () => void;
|
|
993
|
+
$nextTick: nextTick;
|
|
994
|
+
$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;
|
|
995
|
+
} & Readonly<{
|
|
996
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
997
|
+
}> & Omit<Readonly<{
|
|
998
|
+
appendTo?: string | HTMLElement;
|
|
999
|
+
offset?: number | {
|
|
1000
|
+
mainAxis?: number;
|
|
1001
|
+
crossAxis?: number;
|
|
1002
|
+
};
|
|
1003
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1004
|
+
preventOverflow?: boolean;
|
|
1005
|
+
show?: boolean;
|
|
1006
|
+
transitionProps?: TransitionProps;
|
|
1007
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1008
|
+
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
|
|
1009
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
1010
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
1011
|
+
update: () => void;
|
|
1012
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1013
|
+
$slots: Readonly<{
|
|
1014
|
+
trigger?: () => VNode[];
|
|
1015
|
+
content?: () => VNode[];
|
|
1016
|
+
}> & {
|
|
1017
|
+
trigger?: () => VNode[];
|
|
1018
|
+
content?: () => VNode[];
|
|
1019
|
+
};
|
|
1020
|
+
}) | null;
|
|
1021
|
+
listRef: HTMLUListElement;
|
|
1022
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1023
|
+
show?: TooltipContentProps["show"];
|
|
1024
|
+
} & TooltipContentProps> & Readonly<{
|
|
1025
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1026
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1027
|
+
"update:show": (value: boolean | undefined) => any;
|
|
1028
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1029
|
+
P: {};
|
|
1030
|
+
B: {};
|
|
1031
|
+
D: {};
|
|
1032
|
+
C: {};
|
|
1033
|
+
M: {};
|
|
1034
|
+
Defaults: {};
|
|
1035
|
+
}, Readonly<{
|
|
1036
|
+
show?: TooltipContentProps["show"];
|
|
1037
|
+
} & TooltipContentProps> & Readonly<{
|
|
1038
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1039
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
1040
|
+
};
|
|
1041
|
+
rootEl: any;
|
|
1042
|
+
};
|
|
1043
|
+
|
|
1044
|
+
declare function __VLS_template_11(): {
|
|
903
1045
|
attrs: Partial<{}>;
|
|
904
|
-
slots: Readonly<
|
|
1046
|
+
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
905
1047
|
refs: {};
|
|
906
1048
|
rootEl: HTMLDivElement;
|
|
907
1049
|
};
|
|
908
1050
|
|
|
909
|
-
declare function
|
|
1051
|
+
declare function __VLS_template_2(): {
|
|
910
1052
|
attrs: Partial<{}>;
|
|
911
|
-
slots:
|
|
1053
|
+
slots: {
|
|
1054
|
+
default?(_: {}): any;
|
|
1055
|
+
};
|
|
912
1056
|
refs: {};
|
|
913
|
-
rootEl:
|
|
1057
|
+
rootEl: any;
|
|
914
1058
|
};
|
|
915
1059
|
|
|
916
|
-
declare function
|
|
1060
|
+
declare function __VLS_template_3(): {
|
|
917
1061
|
attrs: Partial<{}>;
|
|
918
1062
|
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
919
1063
|
refs: {};
|
|
920
1064
|
rootEl: HTMLDivElement;
|
|
921
1065
|
};
|
|
922
1066
|
|
|
923
|
-
declare function
|
|
1067
|
+
declare function __VLS_template_4(): {
|
|
924
1068
|
attrs: Partial<{}>;
|
|
925
1069
|
slots: {
|
|
926
1070
|
overlay?(_: {
|
|
@@ -931,7 +1075,7 @@ declare function __VLS_template_3(): {
|
|
|
931
1075
|
rootEl: any;
|
|
932
1076
|
};
|
|
933
1077
|
|
|
934
|
-
declare function
|
|
1078
|
+
declare function __VLS_template_5(): {
|
|
935
1079
|
attrs: Partial<{}>;
|
|
936
1080
|
slots: {
|
|
937
1081
|
trigger?(_: {}): any;
|
|
@@ -1033,14 +1177,14 @@ declare function __VLS_template_4(): {
|
|
|
1033
1177
|
rootEl: any;
|
|
1034
1178
|
};
|
|
1035
1179
|
|
|
1036
|
-
declare function
|
|
1180
|
+
declare function __VLS_template_6(): {
|
|
1037
1181
|
attrs: Partial<{}>;
|
|
1038
1182
|
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
1039
1183
|
refs: {};
|
|
1040
1184
|
rootEl: HTMLDivElement;
|
|
1041
1185
|
};
|
|
1042
1186
|
|
|
1043
|
-
declare function
|
|
1187
|
+
declare function __VLS_template_7(): {
|
|
1044
1188
|
attrs: Partial<{}>;
|
|
1045
1189
|
slots: {
|
|
1046
1190
|
header?(_: {}): any;
|
|
@@ -1561,14 +1705,14 @@ declare function __VLS_template_6(): {
|
|
|
1561
1705
|
rootEl: HTMLDivElement;
|
|
1562
1706
|
};
|
|
1563
1707
|
|
|
1564
|
-
declare function
|
|
1708
|
+
declare function __VLS_template_8(): {
|
|
1565
1709
|
attrs: Partial<{}>;
|
|
1566
1710
|
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
1567
1711
|
refs: {};
|
|
1568
1712
|
rootEl: HTMLButtonElement;
|
|
1569
1713
|
};
|
|
1570
1714
|
|
|
1571
|
-
declare function
|
|
1715
|
+
declare function __VLS_template_9(): {
|
|
1572
1716
|
attrs: Partial<{}>;
|
|
1573
1717
|
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
1574
1718
|
refs: {
|
|
@@ -1581,129 +1725,12 @@ declare function __VLS_template_8(): {
|
|
|
1581
1725
|
rootEl: HTMLDivElement;
|
|
1582
1726
|
};
|
|
1583
1727
|
|
|
1584
|
-
declare function __VLS_template_9(): {
|
|
1585
|
-
attrs: Partial<{}>;
|
|
1586
|
-
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
1587
|
-
refs: {
|
|
1588
|
-
basePopperRef: ({
|
|
1589
|
-
$: ComponentInternalInstance;
|
|
1590
|
-
$data: {};
|
|
1591
|
-
$props: {
|
|
1592
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1593
|
-
readonly offset?: number | {
|
|
1594
|
-
mainAxis?: number;
|
|
1595
|
-
crossAxis?: number;
|
|
1596
|
-
} | undefined;
|
|
1597
|
-
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
1598
|
-
readonly preventOverflow?: boolean | undefined;
|
|
1599
|
-
readonly show?: boolean | undefined;
|
|
1600
|
-
readonly transitionProps?: TransitionProps | undefined;
|
|
1601
|
-
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
1602
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1603
|
-
$attrs: {
|
|
1604
|
-
[x: string]: unknown;
|
|
1605
|
-
};
|
|
1606
|
-
$refs: {
|
|
1607
|
-
[x: string]: unknown;
|
|
1608
|
-
};
|
|
1609
|
-
$slots: Readonly<{
|
|
1610
|
-
[name: string]: Slot<any> | undefined;
|
|
1611
|
-
}>;
|
|
1612
|
-
$root: ComponentPublicInstance | null;
|
|
1613
|
-
$parent: ComponentPublicInstance | null;
|
|
1614
|
-
$host: Element | null;
|
|
1615
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
1616
|
-
$el: any;
|
|
1617
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
1618
|
-
appendTo?: string | HTMLElement;
|
|
1619
|
-
offset?: number | {
|
|
1620
|
-
mainAxis?: number;
|
|
1621
|
-
crossAxis?: number;
|
|
1622
|
-
};
|
|
1623
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1624
|
-
preventOverflow?: boolean;
|
|
1625
|
-
show?: boolean;
|
|
1626
|
-
transitionProps?: TransitionProps;
|
|
1627
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1628
|
-
}> & Readonly<{}>, {
|
|
1629
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
1630
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
1631
|
-
update: () => void;
|
|
1632
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1633
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1634
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1635
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1636
|
-
created?: (() => void) | (() => void)[];
|
|
1637
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1638
|
-
mounted?: (() => void) | (() => void)[];
|
|
1639
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1640
|
-
updated?: (() => void) | (() => void)[];
|
|
1641
|
-
activated?: (() => void) | (() => void)[];
|
|
1642
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1643
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1644
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1645
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1646
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1647
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1648
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1649
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1650
|
-
};
|
|
1651
|
-
$forceUpdate: () => void;
|
|
1652
|
-
$nextTick: nextTick;
|
|
1653
|
-
$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;
|
|
1654
|
-
} & Readonly<{
|
|
1655
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1656
|
-
}> & Omit<Readonly<{
|
|
1657
|
-
appendTo?: string | HTMLElement;
|
|
1658
|
-
offset?: number | {
|
|
1659
|
-
mainAxis?: number;
|
|
1660
|
-
crossAxis?: number;
|
|
1661
|
-
};
|
|
1662
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1663
|
-
preventOverflow?: boolean;
|
|
1664
|
-
show?: boolean;
|
|
1665
|
-
transitionProps?: TransitionProps;
|
|
1666
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1667
|
-
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
|
|
1668
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
1669
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
1670
|
-
update: () => void;
|
|
1671
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
1672
|
-
$slots: Readonly<{
|
|
1673
|
-
trigger?: () => VNode[];
|
|
1674
|
-
content?: () => VNode[];
|
|
1675
|
-
}> & {
|
|
1676
|
-
trigger?: () => VNode[];
|
|
1677
|
-
content?: () => VNode[];
|
|
1678
|
-
};
|
|
1679
|
-
}) | null;
|
|
1680
|
-
listRef: HTMLUListElement;
|
|
1681
|
-
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1682
|
-
show?: TooltipContentProps["show"];
|
|
1683
|
-
} & TooltipContentProps> & Readonly<{
|
|
1684
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1685
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1686
|
-
"update:show": (value: boolean | undefined) => any;
|
|
1687
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1688
|
-
P: {};
|
|
1689
|
-
B: {};
|
|
1690
|
-
D: {};
|
|
1691
|
-
C: {};
|
|
1692
|
-
M: {};
|
|
1693
|
-
Defaults: {};
|
|
1694
|
-
}, Readonly<{
|
|
1695
|
-
show?: TooltipContentProps["show"];
|
|
1696
|
-
} & TooltipContentProps> & Readonly<{
|
|
1697
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1698
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
1699
|
-
};
|
|
1700
|
-
rootEl: any;
|
|
1701
|
-
};
|
|
1702
|
-
|
|
1703
1728
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1704
1729
|
|
|
1705
1730
|
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
1706
1731
|
|
|
1732
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1733
|
+
|
|
1707
1734
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1708
1735
|
|
|
1709
1736
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1732,6 +1759,12 @@ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
|
1732
1759
|
};
|
|
1733
1760
|
};
|
|
1734
1761
|
|
|
1762
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1763
|
+
new (): {
|
|
1764
|
+
$slots: S;
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
|
|
1735
1768
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1736
1769
|
new (): {
|
|
1737
1770
|
$slots: S;
|
|
@@ -1860,15 +1893,54 @@ declare interface BaseTextItem {
|
|
|
1860
1893
|
content: string;
|
|
1861
1894
|
}
|
|
1862
1895
|
|
|
1863
|
-
declare const Bubble: typeof
|
|
1896
|
+
declare const Bubble: typeof _default_16 & {
|
|
1864
1897
|
install: typeof bubbleInstall;
|
|
1865
1898
|
};
|
|
1866
1899
|
export { Bubble }
|
|
1867
1900
|
export { Bubble as TrBubble }
|
|
1868
1901
|
|
|
1902
|
+
export declare interface BubbleCommonProps {
|
|
1903
|
+
/**
|
|
1904
|
+
* 气泡对齐位置
|
|
1905
|
+
*/
|
|
1906
|
+
placement?: 'start' | 'end';
|
|
1907
|
+
/**
|
|
1908
|
+
* 气泡头像
|
|
1909
|
+
*/
|
|
1910
|
+
avatar?: VNode;
|
|
1911
|
+
/**
|
|
1912
|
+
* 气泡形状,默认 'corner'
|
|
1913
|
+
*/
|
|
1914
|
+
shape?: 'rounded' | 'corner';
|
|
1915
|
+
/**
|
|
1916
|
+
* 气泡内容渲染器。
|
|
1917
|
+
* 如果 Bubble 中的 content 是长度大于 0 的数组,则 contentRenderer 无效。将会使用 BubbleProvider 中注册的渲染器
|
|
1918
|
+
*/
|
|
1919
|
+
contentRenderer?: BubbleContentRenderer;
|
|
1920
|
+
hidden?: boolean;
|
|
1921
|
+
maxWidth?: string | number;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
export declare abstract class BubbleContentClassRenderer {
|
|
1925
|
+
abstract render(options: {
|
|
1926
|
+
[key: string]: any;
|
|
1927
|
+
}): VNode;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
export declare type BubbleContentFunctionRenderer = (options: {
|
|
1931
|
+
[key: string]: any;
|
|
1932
|
+
}) => VNode;
|
|
1933
|
+
|
|
1934
|
+
export declare interface BubbleContentItem {
|
|
1935
|
+
type: string;
|
|
1936
|
+
[key: string]: any;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
export declare type BubbleContentRenderer = BubbleContentFunctionRenderer | BubbleContentClassRenderer | Component;
|
|
1940
|
+
|
|
1869
1941
|
declare const bubbleInstall: (app: App) => void;
|
|
1870
1942
|
|
|
1871
|
-
declare const BubbleList: typeof
|
|
1943
|
+
declare const BubbleList: typeof _default_17 & {
|
|
1872
1944
|
install: typeof bubbleListInstall;
|
|
1873
1945
|
};
|
|
1874
1946
|
export { BubbleList }
|
|
@@ -1884,37 +1956,53 @@ export declare interface BubbleListProps {
|
|
|
1884
1956
|
* 每个角色的默认配置项
|
|
1885
1957
|
*/
|
|
1886
1958
|
roles?: Record<string, BubbleRoleConfig>;
|
|
1959
|
+
/**
|
|
1960
|
+
* 列表是否加载中
|
|
1961
|
+
*/
|
|
1962
|
+
loading?: boolean;
|
|
1963
|
+
/**
|
|
1964
|
+
* 指定哪个角色可以有加载中状态
|
|
1965
|
+
*/
|
|
1966
|
+
loadingRole?: string;
|
|
1887
1967
|
autoScroll?: boolean;
|
|
1888
1968
|
}
|
|
1889
1969
|
|
|
1890
|
-
export declare
|
|
1891
|
-
|
|
1892
|
-
|
|
1970
|
+
export declare class BubbleMarkdownContentRenderer extends BubbleContentClassRenderer {
|
|
1971
|
+
readonly mdConfig: Options;
|
|
1972
|
+
readonly dompurifyConfig: Config & {
|
|
1973
|
+
disable?: boolean;
|
|
1974
|
+
};
|
|
1975
|
+
private md;
|
|
1976
|
+
constructor(mdConfig?: Options, dompurifyConfig?: Config & {
|
|
1977
|
+
disable?: boolean;
|
|
1978
|
+
});
|
|
1979
|
+
render(options: {
|
|
1980
|
+
content?: string;
|
|
1981
|
+
}): VNode<RendererNode, RendererElement, {
|
|
1982
|
+
[key: string]: any;
|
|
1983
|
+
}>;
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
export declare interface BubbleProps extends BubbleCommonProps {
|
|
1893
1987
|
/**
|
|
1894
1988
|
* 气泡内容
|
|
1895
1989
|
*/
|
|
1896
|
-
content?: string;
|
|
1990
|
+
content?: string | BubbleContentItem[];
|
|
1897
1991
|
id?: string | number | symbol;
|
|
1898
|
-
/**
|
|
1899
|
-
* 气泡位置
|
|
1900
|
-
*/
|
|
1901
|
-
placement?: BubblePalcement;
|
|
1902
|
-
avatar?: VNode;
|
|
1903
1992
|
role?: string;
|
|
1904
|
-
/**
|
|
1905
|
-
* 内容类型
|
|
1906
|
-
*/
|
|
1907
|
-
type?: 'text' | 'markdown';
|
|
1908
1993
|
loading?: boolean;
|
|
1909
1994
|
aborted?: boolean;
|
|
1910
|
-
/**
|
|
1911
|
-
* type 为 'markdown' 时,markdown 的配置项
|
|
1912
|
-
*/
|
|
1913
|
-
mdConfig?: Options;
|
|
1914
|
-
maxWidth?: string | number;
|
|
1915
1995
|
}
|
|
1916
1996
|
|
|
1917
|
-
|
|
1997
|
+
declare const BubbleProvider: typeof _default_18 & {
|
|
1998
|
+
install: typeof bubbleProviderInstall;
|
|
1999
|
+
};
|
|
2000
|
+
export { BubbleProvider }
|
|
2001
|
+
export { BubbleProvider as TrBubbleProvider }
|
|
2002
|
+
|
|
2003
|
+
declare const bubbleProviderInstall: (app: App) => void;
|
|
2004
|
+
|
|
2005
|
+
export declare type BubbleRoleConfig = BubbleCommonProps & {
|
|
1918
2006
|
slots?: BubbleSlots;
|
|
1919
2007
|
};
|
|
1920
2008
|
|
|
@@ -1963,31 +2051,37 @@ declare const _default: {
|
|
|
1963
2051
|
};
|
|
1964
2052
|
export default _default;
|
|
1965
2053
|
|
|
1966
|
-
declare const _default_10: typeof
|
|
2054
|
+
declare const _default_10: typeof _default_27 & {
|
|
1967
2055
|
install: typeof install_8;
|
|
1968
2056
|
};
|
|
1969
2057
|
export { _default_10 as Sender }
|
|
1970
2058
|
export { _default_10 as TrSender }
|
|
1971
2059
|
|
|
1972
|
-
declare const _default_11: typeof
|
|
2060
|
+
declare const _default_11: typeof _default_29 & {
|
|
1973
2061
|
install: typeof install_9;
|
|
1974
2062
|
};
|
|
1975
2063
|
export { _default_11 as SuggestionPills }
|
|
1976
2064
|
export { _default_11 as TrSuggestionPills }
|
|
1977
2065
|
|
|
1978
|
-
declare const _default_12: typeof
|
|
2066
|
+
declare const _default_12: typeof _default_30 & {
|
|
1979
2067
|
install: typeof install_10;
|
|
1980
2068
|
};
|
|
1981
2069
|
export { _default_12 as SuggestionPopover }
|
|
1982
2070
|
export { _default_12 as TrSuggestionPopover }
|
|
1983
2071
|
|
|
1984
|
-
declare const _default_13: typeof
|
|
2072
|
+
declare const _default_13: typeof _default_31 & {
|
|
1985
2073
|
install: typeof install_11;
|
|
1986
2074
|
};
|
|
1987
2075
|
export { _default_13 as TrWelcome }
|
|
1988
2076
|
export { _default_13 as Welcome }
|
|
1989
2077
|
|
|
1990
|
-
declare const _default_14:
|
|
2078
|
+
declare const _default_14: typeof _default_32 & {
|
|
2079
|
+
install: typeof install_12;
|
|
2080
|
+
};
|
|
2081
|
+
export { _default_14 as McpServerPicker }
|
|
2082
|
+
export { _default_14 as TrMcpServerPicker }
|
|
2083
|
+
|
|
2084
|
+
declare const _default_15: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1991
2085
|
"update:items": (items: Attachment[]) => any;
|
|
1992
2086
|
remove: (file: Attachment) => any;
|
|
1993
2087
|
download: (event: MouseEvent, file: Attachment) => any;
|
|
@@ -2013,27 +2107,29 @@ fileMatchers: FileTypeMatcher_2[];
|
|
|
2013
2107
|
variant: DisplayVariant_2;
|
|
2014
2108
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2015
2109
|
|
|
2016
|
-
declare const
|
|
2110
|
+
declare const _default_16: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2017
2111
|
|
|
2018
|
-
declare const
|
|
2112
|
+
declare const _default_17: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2019
2113
|
scrollContainerRef: HTMLDivElement;
|
|
2020
2114
|
}, HTMLDivElement>;
|
|
2021
2115
|
|
|
2022
|
-
declare const
|
|
2023
|
-
|
|
2024
|
-
declare const _default_18: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2116
|
+
declare const _default_18: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2025
2117
|
|
|
2026
2118
|
declare const _default_19: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2027
2119
|
|
|
2028
|
-
declare const _default_2: typeof
|
|
2120
|
+
declare const _default_2: typeof _default_15 & {
|
|
2029
2121
|
install: typeof install;
|
|
2030
2122
|
};
|
|
2031
2123
|
export { _default_2 as Attachments }
|
|
2032
2124
|
export { _default_2 as TrAttachments }
|
|
2033
2125
|
|
|
2034
|
-
declare const _default_20:
|
|
2126
|
+
declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2127
|
+
|
|
2128
|
+
declare const _default_21: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2035
2129
|
|
|
2036
|
-
declare const
|
|
2130
|
+
declare const _default_22: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2131
|
+
|
|
2132
|
+
declare const _default_23: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2037
2133
|
action: (name: string) => any;
|
|
2038
2134
|
operation: (name: string) => any;
|
|
2039
2135
|
}, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
|
|
@@ -2045,50 +2141,81 @@ actionsLimit: number;
|
|
|
2045
2141
|
sourcesLinesLimit: number;
|
|
2046
2142
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2047
2143
|
|
|
2048
|
-
declare const
|
|
2144
|
+
declare const _default_24: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
2049
2145
|
size: string | number;
|
|
2050
2146
|
svgSize: string | number;
|
|
2051
2147
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2052
2148
|
|
|
2053
|
-
declare const
|
|
2054
|
-
|
|
2055
|
-
declare const _default_24: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2149
|
+
declare const _default_25: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2056
2150
|
|
|
2057
|
-
declare const
|
|
2151
|
+
declare const _default_26: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2058
2152
|
|
|
2059
|
-
declare const
|
|
2153
|
+
declare const _default_27: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2060
2154
|
|
|
2061
|
-
declare const
|
|
2155
|
+
declare const _default_28: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2062
2156
|
|
|
2063
|
-
declare const
|
|
2157
|
+
declare const _default_29: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2064
2158
|
|
|
2065
|
-
declare const
|
|
2066
|
-
|
|
2067
|
-
declare const _default_3: typeof _default_17 & {
|
|
2159
|
+
declare const _default_3: typeof _default_19 & {
|
|
2068
2160
|
install: typeof install_2;
|
|
2069
2161
|
};
|
|
2070
2162
|
export { _default_3 as Container }
|
|
2071
2163
|
export { _default_3 as TrContainer }
|
|
2072
2164
|
|
|
2073
|
-
declare const
|
|
2165
|
+
declare const _default_30: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2166
|
+
|
|
2167
|
+
declare const _default_31: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2168
|
+
|
|
2169
|
+
declare const _default_32: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2170
|
+
[x: string]: any;
|
|
2171
|
+
} & {
|
|
2172
|
+
[x: string]: any;
|
|
2173
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
2174
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
2175
|
+
}>, {
|
|
2176
|
+
title: string;
|
|
2177
|
+
loading: boolean;
|
|
2178
|
+
searchPlaceholder: string;
|
|
2179
|
+
installedPlugins: PluginInfo[];
|
|
2180
|
+
marketPlugins: PluginInfo[];
|
|
2181
|
+
enableSearch: boolean;
|
|
2182
|
+
marketCategoryOptions: MarketCategoryOption_2[];
|
|
2183
|
+
marketCategoryPlaceholder: string;
|
|
2184
|
+
enableMarketCategoryFilter: boolean;
|
|
2185
|
+
defaultActiveTab: "installed" | "market";
|
|
2186
|
+
showInstalledTab: boolean;
|
|
2187
|
+
showMarketTab: boolean;
|
|
2188
|
+
popupConfig: PopupConfig;
|
|
2189
|
+
installedTabTitle: string;
|
|
2190
|
+
marketTabTitle: string;
|
|
2191
|
+
showCustomAddButton: boolean;
|
|
2192
|
+
customAddButtonText: string;
|
|
2193
|
+
allowPluginToggle: boolean;
|
|
2194
|
+
allowToolToggle: boolean;
|
|
2195
|
+
allowPluginDelete: boolean;
|
|
2196
|
+
allowPluginAdd: boolean;
|
|
2197
|
+
marketLoading: boolean;
|
|
2198
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2199
|
+
|
|
2200
|
+
declare const _default_4: typeof _default_20 & {
|
|
2074
2201
|
install: typeof install_3;
|
|
2075
2202
|
};
|
|
2076
2203
|
export { _default_4 as Conversations }
|
|
2077
2204
|
export { _default_4 as TrConversations }
|
|
2078
2205
|
|
|
2079
|
-
declare const _default_5: typeof
|
|
2206
|
+
declare const _default_5: typeof _default_21 & {
|
|
2080
2207
|
install: typeof install_4;
|
|
2081
2208
|
};
|
|
2082
2209
|
export { _default_5 as DragOverlay }
|
|
2083
2210
|
export { _default_5 as TrDragOverlay }
|
|
2084
2211
|
|
|
2085
|
-
declare const _default_6: typeof
|
|
2212
|
+
declare const _default_6: typeof _default_22 & {
|
|
2086
2213
|
install: typeof install_5;
|
|
2087
2214
|
};
|
|
2088
2215
|
export { _default_6 as DropdownMenu }
|
|
2089
2216
|
export { _default_6 as TrDropdownMenu }
|
|
2090
2217
|
|
|
2091
|
-
declare const _default_7: typeof
|
|
2218
|
+
declare const _default_7: typeof _default_23 & {
|
|
2092
2219
|
install: typeof install_6;
|
|
2093
2220
|
};
|
|
2094
2221
|
export { _default_7 as Feedback }
|
|
@@ -2101,7 +2228,7 @@ declare const _default_8: {
|
|
|
2101
2228
|
export { _default_8 as History }
|
|
2102
2229
|
export { _default_8 as TrHistory }
|
|
2103
2230
|
|
|
2104
|
-
declare const _default_9: typeof
|
|
2231
|
+
declare const _default_9: typeof _default_24 & {
|
|
2105
2232
|
install: typeof install_7;
|
|
2106
2233
|
};
|
|
2107
2234
|
export { _default_9 as IconButton }
|
|
@@ -2391,6 +2518,8 @@ declare const install_10: <T>(app: App<T>) => void;
|
|
|
2391
2518
|
|
|
2392
2519
|
declare const install_11: <T>(app: App<T>) => void;
|
|
2393
2520
|
|
|
2521
|
+
declare const install_12: <T>(app: App<T>) => void;
|
|
2522
|
+
|
|
2394
2523
|
declare const install_2: <T>(app: App<T>) => void;
|
|
2395
2524
|
|
|
2396
2525
|
declare const install_3: <T>(app: App<T>) => void;
|
|
@@ -2418,6 +2547,52 @@ export declare interface KeyboardHandler {
|
|
|
2418
2547
|
triggerSubmit: () => void;
|
|
2419
2548
|
}
|
|
2420
2549
|
|
|
2550
|
+
export declare interface MarketCategoryOption {
|
|
2551
|
+
value: string;
|
|
2552
|
+
label: string;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
export declare interface McpServerPickerEmits {
|
|
2556
|
+
(e: 'search', query: string, tab: 'installed' | 'market'): void;
|
|
2557
|
+
(e: 'market-category-change', category: string): void;
|
|
2558
|
+
(e: 'tab-change', activeTab: 'installed' | 'market'): void;
|
|
2559
|
+
(e: 'plugin-toggle', plugin: PluginInfo, enabled: boolean): void;
|
|
2560
|
+
(e: 'plugin-delete', plugin: PluginInfo): void;
|
|
2561
|
+
(e: 'plugin-add', plugin: PluginInfo, added: boolean): void;
|
|
2562
|
+
(e: 'plugin-create', type: 'form' | 'code', data: PluginCreationData): void;
|
|
2563
|
+
(e: 'tool-toggle', plugin: PluginInfo, toolId: string, enabled: boolean): void;
|
|
2564
|
+
(e: 'refresh', tab: 'installed' | 'market'): void;
|
|
2565
|
+
(e: 'update:activeCount', count: number): void;
|
|
2566
|
+
(e: 'update:visible', visible: boolean): void;
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
export declare interface McpServerPickerProps {
|
|
2570
|
+
installedPlugins?: PluginInfo[];
|
|
2571
|
+
marketPlugins?: PluginInfo[];
|
|
2572
|
+
searchPlaceholder?: string;
|
|
2573
|
+
enableSearch?: boolean;
|
|
2574
|
+
marketCategoryOptions?: MarketCategoryOption[];
|
|
2575
|
+
marketCategoryPlaceholder?: string;
|
|
2576
|
+
enableMarketCategoryFilter?: boolean;
|
|
2577
|
+
defaultActiveTab?: 'installed' | 'market';
|
|
2578
|
+
showInstalledTab?: boolean;
|
|
2579
|
+
showMarketTab?: boolean;
|
|
2580
|
+
visible?: boolean;
|
|
2581
|
+
popupConfig?: PopupConfig;
|
|
2582
|
+
activeCount?: number;
|
|
2583
|
+
installedTabTitle?: string;
|
|
2584
|
+
marketTabTitle?: string;
|
|
2585
|
+
title?: string;
|
|
2586
|
+
showCustomAddButton?: boolean;
|
|
2587
|
+
customAddButtonText?: string;
|
|
2588
|
+
allowPluginToggle?: boolean;
|
|
2589
|
+
allowToolToggle?: boolean;
|
|
2590
|
+
allowPluginDelete?: boolean;
|
|
2591
|
+
allowPluginAdd?: boolean;
|
|
2592
|
+
loading?: boolean;
|
|
2593
|
+
marketLoading?: boolean;
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2421
2596
|
export declare type MultiTabHistoryProps = {
|
|
2422
2597
|
tabs: {
|
|
2423
2598
|
title: string;
|
|
@@ -2426,7 +2601,69 @@ export declare type MultiTabHistoryProps = {
|
|
|
2426
2601
|
data: Record<string, HistoryData>;
|
|
2427
2602
|
} & BaseHistoryProps;
|
|
2428
2603
|
|
|
2429
|
-
declare
|
|
2604
|
+
export declare interface PluginCardEmits {
|
|
2605
|
+
(e: 'toggle-plugin', enabled: boolean): void;
|
|
2606
|
+
(e: 'toggle-tool', toolId: string, enabled: boolean): void;
|
|
2607
|
+
(e: 'add-plugin', added: boolean): void;
|
|
2608
|
+
(e: 'delete-plugin'): void;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
export declare type PluginCardMode = 'installed' | 'market';
|
|
2612
|
+
|
|
2613
|
+
export declare interface PluginCardProps {
|
|
2614
|
+
plugin: PluginInfo;
|
|
2615
|
+
mode?: PluginCardMode;
|
|
2616
|
+
showToolCount?: boolean;
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2619
|
+
export declare type PluginCreationData = PluginFormData | string;
|
|
2620
|
+
|
|
2621
|
+
export declare interface PluginFormData {
|
|
2622
|
+
name: string;
|
|
2623
|
+
description: string;
|
|
2624
|
+
type: 'sse' | 'streamableHttp';
|
|
2625
|
+
url: string;
|
|
2626
|
+
headers: string;
|
|
2627
|
+
thumbnail?: File | null;
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
export declare interface PluginInfo {
|
|
2631
|
+
id: string;
|
|
2632
|
+
name: string;
|
|
2633
|
+
icon: string;
|
|
2634
|
+
description: string;
|
|
2635
|
+
enabled: boolean;
|
|
2636
|
+
tools: PluginTool[];
|
|
2637
|
+
added?: boolean;
|
|
2638
|
+
category?: string;
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
export declare interface PluginModalEmits {
|
|
2642
|
+
(e: 'update:visible', value: boolean): void;
|
|
2643
|
+
(e: 'confirm', type: 'form' | 'code', data: PluginCreationData): void;
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
export declare interface PluginTool {
|
|
2647
|
+
id: string;
|
|
2648
|
+
name: string;
|
|
2649
|
+
description: string;
|
|
2650
|
+
enabled: boolean;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
export declare interface PopupConfig {
|
|
2654
|
+
type: 'fixed' | 'drawer';
|
|
2655
|
+
position?: {
|
|
2656
|
+
top?: string | number;
|
|
2657
|
+
left?: string | number;
|
|
2658
|
+
right?: string | number;
|
|
2659
|
+
bottom?: string | number;
|
|
2660
|
+
};
|
|
2661
|
+
drawer?: {
|
|
2662
|
+
direction: 'left' | 'right';
|
|
2663
|
+
};
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
declare const Prompt: typeof _default_25 & {
|
|
2430
2667
|
install: typeof installPrompt;
|
|
2431
2668
|
};
|
|
2432
2669
|
export { Prompt }
|
|
@@ -2459,7 +2696,7 @@ export declare interface PromptProps {
|
|
|
2459
2696
|
badge?: string | VNode;
|
|
2460
2697
|
}
|
|
2461
2698
|
|
|
2462
|
-
declare const Prompts: typeof
|
|
2699
|
+
declare const Prompts: typeof _default_26 & {
|
|
2463
2700
|
install: typeof installPrompts;
|
|
2464
2701
|
};
|
|
2465
2702
|
export { Prompts }
|
|
@@ -2602,7 +2839,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
|
|
|
2602
2839
|
|
|
2603
2840
|
export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
|
|
2604
2841
|
|
|
2605
|
-
declare const SuggestionPillButton: typeof
|
|
2842
|
+
declare const SuggestionPillButton: typeof _default_28 & {
|
|
2606
2843
|
install: typeof installPillButton;
|
|
2607
2844
|
};
|
|
2608
2845
|
export { SuggestionPillButton }
|