@opentiny/tiny-robot 0.3.0-alpha.13 → 0.3.0-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/action-group/index.js +7 -7
- package/dist/attachments/index.js +71 -71
- package/dist/bubble/index.js +1905 -1171
- package/dist/container/index.js +29 -29
- package/dist/feedback/index.js +52 -52
- package/dist/flow-layout-buttons/index.js +1 -1
- package/dist/history/index.js +30 -30
- package/dist/index.d.ts +438 -388
- package/dist/index.js +74 -68
- package/dist/index3.js +283 -269
- package/dist/loading.js +4 -0
- package/dist/mcp-server-picker/index.js +632 -632
- package/dist/question/index.js +54 -54
- package/dist/sender/index.js +835 -812
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +62 -62
- package/dist/suggestion-pills/index.js +1 -1
- package/dist/suggestion-popover/index.js +185 -184
- package/dist/tiny-robot-svgs.js +377 -257
- package/package.json +4 -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,11 +23,11 @@ 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 { ISuggestionItem as ISuggestionItem_2 } from './index.type';
|
|
25
27
|
import { MarketCategoryOption as MarketCategoryOption_2 } from './index.type';
|
|
26
28
|
import { nextTick } from 'vue';
|
|
27
29
|
import { OnCleanup } from '@vue/reactivity';
|
|
28
30
|
import { Options } from 'markdown-it';
|
|
29
|
-
import { Props } from './components/SuggestionList.vue';
|
|
30
31
|
import { PropType } from 'vue';
|
|
31
32
|
import { PublicProps } from 'vue';
|
|
32
33
|
import { Ref } from 'vue';
|
|
@@ -44,17 +45,157 @@ import { WatchOptions } from 'vue';
|
|
|
44
45
|
import { WatchStopHandle } from 'vue';
|
|
45
46
|
|
|
46
47
|
declare const __VLS_component: DefineComponent<BubbleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProps> & Readonly<{}>, {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
content: string | BubbleContentItem_2[];
|
|
49
|
+
placement: "start" | "end";
|
|
50
|
+
shape: "rounded" | "corner";
|
|
50
51
|
maxWidth: string | number;
|
|
51
52
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
53
|
|
|
53
|
-
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<{}>, {
|
|
54
191
|
align: "left" | "center" | "right" | string;
|
|
55
192
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
56
193
|
|
|
57
|
-
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, {
|
|
58
199
|
"update:show": (value: boolean) => any;
|
|
59
200
|
"update:fullscreen": (value: boolean | undefined) => any;
|
|
60
201
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -62,9 +203,9 @@ declare const __VLS_component_2: DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
62
203
|
"onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
|
|
63
204
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
64
205
|
|
|
65
|
-
declare const
|
|
206
|
+
declare const __VLS_component_4: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
66
207
|
|
|
67
|
-
declare const
|
|
208
|
+
declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_2, {
|
|
68
209
|
update: () => void;
|
|
69
210
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
70
211
|
"update:show": (value: boolean) => any;
|
|
@@ -172,13 +313,13 @@ content?: () => VNode[];
|
|
|
172
313
|
}) | null;
|
|
173
314
|
}, any>;
|
|
174
315
|
|
|
175
|
-
declare const
|
|
316
|
+
declare const __VLS_component_6: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
176
317
|
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
177
318
|
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
178
319
|
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
179
320
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
180
321
|
|
|
181
|
-
declare const
|
|
322
|
+
declare const __VLS_component_7: DefineComponent<SenderProps, {
|
|
182
323
|
focus: () => void;
|
|
183
324
|
blur: () => void;
|
|
184
325
|
clear: () => void;
|
|
@@ -196,8 +337,8 @@ activateTemplateFirstField: () => void;
|
|
|
196
337
|
disabled: boolean;
|
|
197
338
|
modelValue: string;
|
|
198
339
|
placeholder: string;
|
|
199
|
-
loading: boolean;
|
|
200
340
|
mode: InputMode_2;
|
|
341
|
+
loading: boolean;
|
|
201
342
|
autofocus: boolean;
|
|
202
343
|
clearable: boolean;
|
|
203
344
|
showWordLimit: boolean;
|
|
@@ -205,7 +346,7 @@ allowSpeech: boolean;
|
|
|
205
346
|
allowFiles: boolean;
|
|
206
347
|
submitType: SubmitTrigger_2;
|
|
207
348
|
stopText: string;
|
|
208
|
-
suggestions:
|
|
349
|
+
suggestions: ISuggestionItem_2[];
|
|
209
350
|
autoSize: AutoSize_2;
|
|
210
351
|
maxLength: number;
|
|
211
352
|
suggestionPopupWidth: string | number;
|
|
@@ -695,33 +836,11 @@ showTooltip: boolean;
|
|
|
695
836
|
inputBoxType: string;
|
|
696
837
|
}> | null;
|
|
697
838
|
buttonsContainerRef: HTMLDivElement;
|
|
698
|
-
suggestionsListRef: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{
|
|
699
|
-
onSelect?: ((item: string) => any) | undefined;
|
|
700
|
-
"onItem-hover"?: ((index: number) => any) | undefined;
|
|
701
|
-
"onItem-leave"?: (() => any) | undefined;
|
|
702
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
703
|
-
select: (item: string) => any;
|
|
704
|
-
"item-hover": (index: number) => any;
|
|
705
|
-
"item-leave": () => any;
|
|
706
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
707
|
-
suggestionsListRef: HTMLDivElement;
|
|
708
|
-
}, any, ComponentProvideOptions, {
|
|
709
|
-
P: {};
|
|
710
|
-
B: {};
|
|
711
|
-
D: {};
|
|
712
|
-
C: {};
|
|
713
|
-
M: {};
|
|
714
|
-
Defaults: {};
|
|
715
|
-
}, Readonly<Props> & Readonly<{
|
|
716
|
-
onSelect?: ((item: string) => any) | undefined;
|
|
717
|
-
"onItem-hover"?: ((index: number) => any) | undefined;
|
|
718
|
-
"onItem-leave"?: (() => any) | undefined;
|
|
719
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
720
839
|
}, HTMLDivElement>;
|
|
721
840
|
|
|
722
|
-
declare const
|
|
841
|
+
declare const __VLS_component_8: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
723
842
|
|
|
724
|
-
declare const
|
|
843
|
+
declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_3, {
|
|
725
844
|
children: ComputedRef<(HTMLElement | SVGElement)[]>;
|
|
726
845
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
727
846
|
"update:showAll": (value: boolean | undefined) => any;
|
|
@@ -741,193 +860,189 @@ floatingItemsRef: HTMLDivElement;
|
|
|
741
860
|
floatingMaybeItemRefs: unknown[];
|
|
742
861
|
}, HTMLDivElement>;
|
|
743
862
|
|
|
744
|
-
declare
|
|
745
|
-
|
|
746
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
747
|
-
"update:selectedGroup": (value: string) => any;
|
|
748
|
-
} & {
|
|
749
|
-
close: () => any;
|
|
750
|
-
open: () => any;
|
|
751
|
-
"item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
|
|
752
|
-
"click-outside": (event: MouseEvent) => any;
|
|
753
|
-
"group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
|
|
754
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
755
|
-
onClose?: (() => any) | undefined;
|
|
756
|
-
onOpen?: (() => any) | undefined;
|
|
757
|
-
"onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
|
|
758
|
-
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
759
|
-
"onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
|
|
760
|
-
"onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
|
|
761
|
-
}>, {
|
|
762
|
-
title: string;
|
|
763
|
-
trigger: "click" | "manual";
|
|
764
|
-
groupShowMoreTrigger: "click" | "hover";
|
|
765
|
-
topOffset: number;
|
|
766
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
767
|
-
basePopperRef: ({
|
|
768
|
-
$: ComponentInternalInstance;
|
|
769
|
-
$data: {};
|
|
770
|
-
$props: {
|
|
771
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
772
|
-
readonly offset?: number | {
|
|
773
|
-
mainAxis?: number;
|
|
774
|
-
crossAxis?: number;
|
|
775
|
-
} | undefined;
|
|
776
|
-
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
777
|
-
readonly preventOverflow?: boolean | undefined;
|
|
778
|
-
readonly show?: boolean | undefined;
|
|
779
|
-
readonly transitionProps?: TransitionProps | undefined;
|
|
780
|
-
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
781
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
782
|
-
$attrs: {
|
|
783
|
-
[x: string]: unknown;
|
|
784
|
-
};
|
|
785
|
-
$refs: {
|
|
786
|
-
[x: string]: unknown;
|
|
787
|
-
};
|
|
788
|
-
$slots: Readonly<{
|
|
789
|
-
[name: string]: Slot<any> | undefined;
|
|
790
|
-
}>;
|
|
791
|
-
$root: ComponentPublicInstance | null;
|
|
792
|
-
$parent: ComponentPublicInstance | null;
|
|
793
|
-
$host: Element | null;
|
|
794
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
795
|
-
$el: any;
|
|
796
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
797
|
-
appendTo?: string | HTMLElement;
|
|
798
|
-
offset?: number | {
|
|
799
|
-
mainAxis?: number;
|
|
800
|
-
crossAxis?: number;
|
|
801
|
-
};
|
|
802
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
803
|
-
preventOverflow?: boolean;
|
|
804
|
-
show?: boolean;
|
|
805
|
-
transitionProps?: TransitionProps;
|
|
806
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
807
|
-
}> & Readonly<{}>, {
|
|
808
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
809
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
810
|
-
update: () => void;
|
|
811
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
812
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
813
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
814
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
815
|
-
created?: (() => void) | (() => void)[];
|
|
816
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
817
|
-
mounted?: (() => void) | (() => void)[];
|
|
818
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
819
|
-
updated?: (() => void) | (() => void)[];
|
|
820
|
-
activated?: (() => void) | (() => void)[];
|
|
821
|
-
deactivated?: (() => void) | (() => void)[];
|
|
822
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
823
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
824
|
-
destroyed?: (() => void) | (() => void)[];
|
|
825
|
-
unmounted?: (() => void) | (() => void)[];
|
|
826
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
827
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
828
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
829
|
-
};
|
|
830
|
-
$forceUpdate: () => void;
|
|
831
|
-
$nextTick: nextTick;
|
|
832
|
-
$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;
|
|
833
|
-
} & Readonly<{
|
|
834
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
835
|
-
}> & Omit<Readonly<{
|
|
836
|
-
appendTo?: string | HTMLElement;
|
|
837
|
-
offset?: number | {
|
|
838
|
-
mainAxis?: number;
|
|
839
|
-
crossAxis?: number;
|
|
840
|
-
};
|
|
841
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
842
|
-
preventOverflow?: boolean;
|
|
843
|
-
show?: boolean;
|
|
844
|
-
transitionProps?: TransitionProps;
|
|
845
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
846
|
-
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
|
|
847
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
848
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
849
|
-
update: () => void;
|
|
850
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
851
|
-
$slots: Readonly<{
|
|
852
|
-
trigger?: () => VNode[];
|
|
853
|
-
content?: () => VNode[];
|
|
854
|
-
}> & {
|
|
855
|
-
trigger?: () => VNode[];
|
|
856
|
-
content?: () => VNode[];
|
|
863
|
+
declare type __VLS_Props = {
|
|
864
|
+
contentRenderers?: Record<string, BubbleContentRenderer>;
|
|
857
865
|
};
|
|
858
|
-
}) | null;
|
|
859
|
-
listRef: HTMLUListElement;
|
|
860
|
-
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
861
|
-
show?: TooltipContentProps["show"];
|
|
862
|
-
} & TooltipContentProps> & Readonly<{
|
|
863
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
864
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
865
|
-
"update:show": (value: boolean | undefined) => any;
|
|
866
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
867
|
-
P: {};
|
|
868
|
-
B: {};
|
|
869
|
-
D: {};
|
|
870
|
-
C: {};
|
|
871
|
-
M: {};
|
|
872
|
-
Defaults: {};
|
|
873
|
-
}, Readonly<{
|
|
874
|
-
show?: TooltipContentProps["show"];
|
|
875
|
-
} & TooltipContentProps> & Readonly<{
|
|
876
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
877
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
878
|
-
}, any>;
|
|
879
866
|
|
|
880
|
-
declare type
|
|
867
|
+
declare type __VLS_Props_2 = DropdownMenuProps;
|
|
881
868
|
|
|
882
|
-
declare type
|
|
869
|
+
declare type __VLS_Props_3 = SuggestionPillsProps;
|
|
883
870
|
|
|
884
|
-
declare type
|
|
871
|
+
declare type __VLS_Props_4 = SuggestionPopoverProps;
|
|
885
872
|
|
|
886
|
-
declare type
|
|
873
|
+
declare type __VLS_Props_5 = McpServerPickerProps;
|
|
887
874
|
|
|
888
875
|
declare type __VLS_PublicProps = {
|
|
889
876
|
'show': ContainerProps['show'];
|
|
890
877
|
'fullscreen'?: ContainerProps['fullscreen'];
|
|
891
878
|
};
|
|
892
879
|
|
|
893
|
-
declare type __VLS_PublicProps_2 = {
|
|
894
|
-
'show'?: boolean;
|
|
895
|
-
} &
|
|
896
|
-
|
|
897
|
-
declare type __VLS_PublicProps_3 = {
|
|
898
|
-
'showAll'?: SuggestionPillsProps['showAll'];
|
|
899
|
-
} &
|
|
900
|
-
|
|
901
|
-
declare type __VLS_PublicProps_4 = {
|
|
902
|
-
'selectedGroup'?: string;
|
|
903
|
-
} &
|
|
904
|
-
|
|
905
|
-
declare type __VLS_PublicProps_5 = {
|
|
906
|
-
'visible': boolean;
|
|
907
|
-
} &
|
|
908
|
-
|
|
909
|
-
declare function __VLS_template(): {
|
|
880
|
+
declare type __VLS_PublicProps_2 = {
|
|
881
|
+
'show'?: boolean;
|
|
882
|
+
} & __VLS_Props_2;
|
|
883
|
+
|
|
884
|
+
declare type __VLS_PublicProps_3 = {
|
|
885
|
+
'showAll'?: SuggestionPillsProps['showAll'];
|
|
886
|
+
} & __VLS_Props_3;
|
|
887
|
+
|
|
888
|
+
declare type __VLS_PublicProps_4 = {
|
|
889
|
+
'selectedGroup'?: string;
|
|
890
|
+
} & __VLS_Props_4;
|
|
891
|
+
|
|
892
|
+
declare type __VLS_PublicProps_5 = {
|
|
893
|
+
'visible': boolean;
|
|
894
|
+
} & __VLS_Props_5;
|
|
895
|
+
|
|
896
|
+
declare function __VLS_template(): {
|
|
897
|
+
attrs: Partial<{}>;
|
|
898
|
+
slots: Readonly<BubbleSlots> & BubbleSlots;
|
|
899
|
+
refs: {};
|
|
900
|
+
rootEl: HTMLDivElement;
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
declare function __VLS_template_10(): {
|
|
904
|
+
attrs: Partial<{}>;
|
|
905
|
+
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
906
|
+
refs: {
|
|
907
|
+
basePopperRef: ({
|
|
908
|
+
$: ComponentInternalInstance;
|
|
909
|
+
$data: {};
|
|
910
|
+
$props: {
|
|
911
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
912
|
+
readonly offset?: number | {
|
|
913
|
+
mainAxis?: number;
|
|
914
|
+
crossAxis?: number;
|
|
915
|
+
} | undefined;
|
|
916
|
+
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
917
|
+
readonly preventOverflow?: boolean | undefined;
|
|
918
|
+
readonly show?: boolean | undefined;
|
|
919
|
+
readonly transitionProps?: TransitionProps | undefined;
|
|
920
|
+
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
921
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
922
|
+
$attrs: {
|
|
923
|
+
[x: string]: unknown;
|
|
924
|
+
};
|
|
925
|
+
$refs: {
|
|
926
|
+
[x: string]: unknown;
|
|
927
|
+
};
|
|
928
|
+
$slots: Readonly<{
|
|
929
|
+
[name: string]: Slot<any> | undefined;
|
|
930
|
+
}>;
|
|
931
|
+
$root: ComponentPublicInstance | null;
|
|
932
|
+
$parent: ComponentPublicInstance | null;
|
|
933
|
+
$host: Element | null;
|
|
934
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
935
|
+
$el: any;
|
|
936
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
937
|
+
appendTo?: string | HTMLElement;
|
|
938
|
+
offset?: number | {
|
|
939
|
+
mainAxis?: number;
|
|
940
|
+
crossAxis?: number;
|
|
941
|
+
};
|
|
942
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
943
|
+
preventOverflow?: boolean;
|
|
944
|
+
show?: boolean;
|
|
945
|
+
transitionProps?: TransitionProps;
|
|
946
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
947
|
+
}> & Readonly<{}>, {
|
|
948
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
949
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
950
|
+
update: () => void;
|
|
951
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
952
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
953
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
954
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
955
|
+
created?: (() => void) | (() => void)[];
|
|
956
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
957
|
+
mounted?: (() => void) | (() => void)[];
|
|
958
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
959
|
+
updated?: (() => void) | (() => void)[];
|
|
960
|
+
activated?: (() => void) | (() => void)[];
|
|
961
|
+
deactivated?: (() => void) | (() => void)[];
|
|
962
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
963
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
964
|
+
destroyed?: (() => void) | (() => void)[];
|
|
965
|
+
unmounted?: (() => void) | (() => void)[];
|
|
966
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
967
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
968
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
969
|
+
};
|
|
970
|
+
$forceUpdate: () => void;
|
|
971
|
+
$nextTick: nextTick;
|
|
972
|
+
$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;
|
|
973
|
+
} & Readonly<{
|
|
974
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
975
|
+
}> & Omit<Readonly<{
|
|
976
|
+
appendTo?: string | HTMLElement;
|
|
977
|
+
offset?: number | {
|
|
978
|
+
mainAxis?: number;
|
|
979
|
+
crossAxis?: number;
|
|
980
|
+
};
|
|
981
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
982
|
+
preventOverflow?: boolean;
|
|
983
|
+
show?: boolean;
|
|
984
|
+
transitionProps?: TransitionProps;
|
|
985
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
986
|
+
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
|
|
987
|
+
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
988
|
+
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
989
|
+
update: () => void;
|
|
990
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
991
|
+
$slots: Readonly<{
|
|
992
|
+
trigger?: () => VNode[];
|
|
993
|
+
content?: () => VNode[];
|
|
994
|
+
}> & {
|
|
995
|
+
trigger?: () => VNode[];
|
|
996
|
+
content?: () => VNode[];
|
|
997
|
+
};
|
|
998
|
+
}) | null;
|
|
999
|
+
listRef: HTMLUListElement;
|
|
1000
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1001
|
+
show?: TooltipContentProps["show"];
|
|
1002
|
+
} & TooltipContentProps> & Readonly<{
|
|
1003
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1004
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1005
|
+
"update:show": (value: boolean | undefined) => any;
|
|
1006
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1007
|
+
P: {};
|
|
1008
|
+
B: {};
|
|
1009
|
+
D: {};
|
|
1010
|
+
C: {};
|
|
1011
|
+
M: {};
|
|
1012
|
+
Defaults: {};
|
|
1013
|
+
}, Readonly<{
|
|
1014
|
+
show?: TooltipContentProps["show"];
|
|
1015
|
+
} & TooltipContentProps> & Readonly<{
|
|
1016
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1017
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
1018
|
+
};
|
|
1019
|
+
rootEl: any;
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
declare function __VLS_template_11(): {
|
|
910
1023
|
attrs: Partial<{}>;
|
|
911
|
-
slots: Readonly<
|
|
1024
|
+
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
912
1025
|
refs: {};
|
|
913
1026
|
rootEl: HTMLDivElement;
|
|
914
1027
|
};
|
|
915
1028
|
|
|
916
|
-
declare function
|
|
1029
|
+
declare function __VLS_template_2(): {
|
|
917
1030
|
attrs: Partial<{}>;
|
|
918
|
-
slots:
|
|
1031
|
+
slots: {
|
|
1032
|
+
default?(_: {}): any;
|
|
1033
|
+
};
|
|
919
1034
|
refs: {};
|
|
920
|
-
rootEl:
|
|
1035
|
+
rootEl: any;
|
|
921
1036
|
};
|
|
922
1037
|
|
|
923
|
-
declare function
|
|
1038
|
+
declare function __VLS_template_3(): {
|
|
924
1039
|
attrs: Partial<{}>;
|
|
925
1040
|
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
926
1041
|
refs: {};
|
|
927
1042
|
rootEl: HTMLDivElement;
|
|
928
1043
|
};
|
|
929
1044
|
|
|
930
|
-
declare function
|
|
1045
|
+
declare function __VLS_template_4(): {
|
|
931
1046
|
attrs: Partial<{}>;
|
|
932
1047
|
slots: {
|
|
933
1048
|
overlay?(_: {
|
|
@@ -938,7 +1053,7 @@ declare function __VLS_template_3(): {
|
|
|
938
1053
|
rootEl: any;
|
|
939
1054
|
};
|
|
940
1055
|
|
|
941
|
-
declare function
|
|
1056
|
+
declare function __VLS_template_5(): {
|
|
942
1057
|
attrs: Partial<{}>;
|
|
943
1058
|
slots: {
|
|
944
1059
|
trigger?(_: {}): any;
|
|
@@ -1040,14 +1155,14 @@ declare function __VLS_template_4(): {
|
|
|
1040
1155
|
rootEl: any;
|
|
1041
1156
|
};
|
|
1042
1157
|
|
|
1043
|
-
declare function
|
|
1158
|
+
declare function __VLS_template_6(): {
|
|
1044
1159
|
attrs: Partial<{}>;
|
|
1045
1160
|
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
1046
1161
|
refs: {};
|
|
1047
1162
|
rootEl: HTMLDivElement;
|
|
1048
1163
|
};
|
|
1049
1164
|
|
|
1050
|
-
declare function
|
|
1165
|
+
declare function __VLS_template_7(): {
|
|
1051
1166
|
attrs: Partial<{}>;
|
|
1052
1167
|
slots: {
|
|
1053
1168
|
header?(_: {}): any;
|
|
@@ -1542,40 +1657,18 @@ declare function __VLS_template_6(): {
|
|
|
1542
1657
|
inputBoxType: string;
|
|
1543
1658
|
}> | null;
|
|
1544
1659
|
buttonsContainerRef: HTMLDivElement;
|
|
1545
|
-
suggestionsListRef: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{
|
|
1546
|
-
onSelect?: ((item: string) => any) | undefined;
|
|
1547
|
-
"onItem-hover"?: ((index: number) => any) | undefined;
|
|
1548
|
-
"onItem-leave"?: (() => any) | undefined;
|
|
1549
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1550
|
-
select: (item: string) => any;
|
|
1551
|
-
"item-hover": (index: number) => any;
|
|
1552
|
-
"item-leave": () => any;
|
|
1553
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1554
|
-
suggestionsListRef: HTMLDivElement;
|
|
1555
|
-
}, any, ComponentProvideOptions, {
|
|
1556
|
-
P: {};
|
|
1557
|
-
B: {};
|
|
1558
|
-
D: {};
|
|
1559
|
-
C: {};
|
|
1560
|
-
M: {};
|
|
1561
|
-
Defaults: {};
|
|
1562
|
-
}, Readonly<Props> & Readonly<{
|
|
1563
|
-
onSelect?: ((item: string) => any) | undefined;
|
|
1564
|
-
"onItem-hover"?: ((index: number) => any) | undefined;
|
|
1565
|
-
"onItem-leave"?: (() => any) | undefined;
|
|
1566
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
1567
1660
|
};
|
|
1568
1661
|
rootEl: HTMLDivElement;
|
|
1569
1662
|
};
|
|
1570
1663
|
|
|
1571
|
-
declare function
|
|
1664
|
+
declare function __VLS_template_8(): {
|
|
1572
1665
|
attrs: Partial<{}>;
|
|
1573
1666
|
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
1574
1667
|
refs: {};
|
|
1575
1668
|
rootEl: HTMLButtonElement;
|
|
1576
1669
|
};
|
|
1577
1670
|
|
|
1578
|
-
declare function
|
|
1671
|
+
declare function __VLS_template_9(): {
|
|
1579
1672
|
attrs: Partial<{}>;
|
|
1580
1673
|
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
1581
1674
|
refs: {
|
|
@@ -1588,129 +1681,12 @@ declare function __VLS_template_8(): {
|
|
|
1588
1681
|
rootEl: HTMLDivElement;
|
|
1589
1682
|
};
|
|
1590
1683
|
|
|
1591
|
-
declare function __VLS_template_9(): {
|
|
1592
|
-
attrs: Partial<{}>;
|
|
1593
|
-
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
1594
|
-
refs: {
|
|
1595
|
-
basePopperRef: ({
|
|
1596
|
-
$: ComponentInternalInstance;
|
|
1597
|
-
$data: {};
|
|
1598
|
-
$props: {
|
|
1599
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1600
|
-
readonly offset?: number | {
|
|
1601
|
-
mainAxis?: number;
|
|
1602
|
-
crossAxis?: number;
|
|
1603
|
-
} | undefined;
|
|
1604
|
-
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
1605
|
-
readonly preventOverflow?: boolean | undefined;
|
|
1606
|
-
readonly show?: boolean | undefined;
|
|
1607
|
-
readonly transitionProps?: TransitionProps | undefined;
|
|
1608
|
-
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
1609
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1610
|
-
$attrs: {
|
|
1611
|
-
[x: string]: unknown;
|
|
1612
|
-
};
|
|
1613
|
-
$refs: {
|
|
1614
|
-
[x: string]: unknown;
|
|
1615
|
-
};
|
|
1616
|
-
$slots: Readonly<{
|
|
1617
|
-
[name: string]: Slot<any> | undefined;
|
|
1618
|
-
}>;
|
|
1619
|
-
$root: ComponentPublicInstance | null;
|
|
1620
|
-
$parent: ComponentPublicInstance | null;
|
|
1621
|
-
$host: Element | null;
|
|
1622
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
1623
|
-
$el: any;
|
|
1624
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
1625
|
-
appendTo?: string | HTMLElement;
|
|
1626
|
-
offset?: number | {
|
|
1627
|
-
mainAxis?: number;
|
|
1628
|
-
crossAxis?: number;
|
|
1629
|
-
};
|
|
1630
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1631
|
-
preventOverflow?: boolean;
|
|
1632
|
-
show?: boolean;
|
|
1633
|
-
transitionProps?: TransitionProps;
|
|
1634
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1635
|
-
}> & Readonly<{}>, {
|
|
1636
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
1637
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
1638
|
-
update: () => void;
|
|
1639
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1640
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1641
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1642
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1643
|
-
created?: (() => void) | (() => void)[];
|
|
1644
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1645
|
-
mounted?: (() => void) | (() => void)[];
|
|
1646
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1647
|
-
updated?: (() => void) | (() => void)[];
|
|
1648
|
-
activated?: (() => void) | (() => void)[];
|
|
1649
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1650
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1651
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1652
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1653
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1654
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1655
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1656
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1657
|
-
};
|
|
1658
|
-
$forceUpdate: () => void;
|
|
1659
|
-
$nextTick: nextTick;
|
|
1660
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1661
|
-
} & Readonly<{
|
|
1662
|
-
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1663
|
-
}> & Omit<Readonly<{
|
|
1664
|
-
appendTo?: string | HTMLElement;
|
|
1665
|
-
offset?: number | {
|
|
1666
|
-
mainAxis?: number;
|
|
1667
|
-
crossAxis?: number;
|
|
1668
|
-
};
|
|
1669
|
-
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1670
|
-
preventOverflow?: boolean;
|
|
1671
|
-
show?: boolean;
|
|
1672
|
-
transitionProps?: TransitionProps;
|
|
1673
|
-
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
1674
|
-
}> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
|
|
1675
|
-
triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
|
|
1676
|
-
popperRef: ComputedRef<HTMLDivElement | null>;
|
|
1677
|
-
update: () => void;
|
|
1678
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
1679
|
-
$slots: Readonly<{
|
|
1680
|
-
trigger?: () => VNode[];
|
|
1681
|
-
content?: () => VNode[];
|
|
1682
|
-
}> & {
|
|
1683
|
-
trigger?: () => VNode[];
|
|
1684
|
-
content?: () => VNode[];
|
|
1685
|
-
};
|
|
1686
|
-
}) | null;
|
|
1687
|
-
listRef: HTMLUListElement;
|
|
1688
|
-
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1689
|
-
show?: TooltipContentProps["show"];
|
|
1690
|
-
} & TooltipContentProps> & Readonly<{
|
|
1691
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1692
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1693
|
-
"update:show": (value: boolean | undefined) => any;
|
|
1694
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1695
|
-
P: {};
|
|
1696
|
-
B: {};
|
|
1697
|
-
D: {};
|
|
1698
|
-
C: {};
|
|
1699
|
-
M: {};
|
|
1700
|
-
Defaults: {};
|
|
1701
|
-
}, Readonly<{
|
|
1702
|
-
show?: TooltipContentProps["show"];
|
|
1703
|
-
} & TooltipContentProps> & Readonly<{
|
|
1704
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1705
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
1706
|
-
};
|
|
1707
|
-
rootEl: any;
|
|
1708
|
-
};
|
|
1709
|
-
|
|
1710
1684
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1711
1685
|
|
|
1712
1686
|
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
1713
1687
|
|
|
1688
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1689
|
+
|
|
1714
1690
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1715
1691
|
|
|
1716
1692
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1739,6 +1715,12 @@ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
|
1739
1715
|
};
|
|
1740
1716
|
};
|
|
1741
1717
|
|
|
1718
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1719
|
+
new (): {
|
|
1720
|
+
$slots: S;
|
|
1721
|
+
};
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1742
1724
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1743
1725
|
new (): {
|
|
1744
1726
|
$slots: S;
|
|
@@ -1873,6 +1855,45 @@ declare const Bubble: typeof _default_16 & {
|
|
|
1873
1855
|
export { Bubble }
|
|
1874
1856
|
export { Bubble as TrBubble }
|
|
1875
1857
|
|
|
1858
|
+
export declare interface BubbleCommonProps {
|
|
1859
|
+
/**
|
|
1860
|
+
* 气泡对齐位置
|
|
1861
|
+
*/
|
|
1862
|
+
placement?: 'start' | 'end';
|
|
1863
|
+
/**
|
|
1864
|
+
* 气泡头像
|
|
1865
|
+
*/
|
|
1866
|
+
avatar?: VNode;
|
|
1867
|
+
/**
|
|
1868
|
+
* 气泡形状,默认 'corner'
|
|
1869
|
+
*/
|
|
1870
|
+
shape?: 'rounded' | 'corner';
|
|
1871
|
+
/**
|
|
1872
|
+
* 气泡内容渲染器。
|
|
1873
|
+
* 如果 Bubble 中的 content 是长度大于 0 的数组,则 contentRenderer 无效。将会使用 BubbleProvider 中注册的渲染器
|
|
1874
|
+
*/
|
|
1875
|
+
contentRenderer?: BubbleContentRenderer;
|
|
1876
|
+
hidden?: boolean;
|
|
1877
|
+
maxWidth?: string | number;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
export declare abstract class BubbleContentClassRenderer {
|
|
1881
|
+
abstract render(options: {
|
|
1882
|
+
[key: string]: any;
|
|
1883
|
+
}): VNode;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
export declare type BubbleContentFunctionRenderer = (options: {
|
|
1887
|
+
[key: string]: any;
|
|
1888
|
+
}) => VNode;
|
|
1889
|
+
|
|
1890
|
+
export declare interface BubbleContentItem {
|
|
1891
|
+
type: string;
|
|
1892
|
+
[key: string]: any;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
export declare type BubbleContentRenderer = BubbleContentFunctionRenderer | BubbleContentClassRenderer | Component;
|
|
1896
|
+
|
|
1876
1897
|
declare const bubbleInstall: (app: App) => void;
|
|
1877
1898
|
|
|
1878
1899
|
declare const BubbleList: typeof _default_17 & {
|
|
@@ -1891,37 +1912,53 @@ export declare interface BubbleListProps {
|
|
|
1891
1912
|
* 每个角色的默认配置项
|
|
1892
1913
|
*/
|
|
1893
1914
|
roles?: Record<string, BubbleRoleConfig>;
|
|
1915
|
+
/**
|
|
1916
|
+
* 列表是否加载中
|
|
1917
|
+
*/
|
|
1918
|
+
loading?: boolean;
|
|
1919
|
+
/**
|
|
1920
|
+
* 指定哪个角色可以有加载中状态
|
|
1921
|
+
*/
|
|
1922
|
+
loadingRole?: string;
|
|
1894
1923
|
autoScroll?: boolean;
|
|
1895
1924
|
}
|
|
1896
1925
|
|
|
1897
|
-
export declare
|
|
1898
|
-
|
|
1899
|
-
|
|
1926
|
+
export declare class BubbleMarkdownContentRenderer extends BubbleContentClassRenderer {
|
|
1927
|
+
readonly mdConfig: Options;
|
|
1928
|
+
readonly dompurifyConfig: Config & {
|
|
1929
|
+
disable?: boolean;
|
|
1930
|
+
};
|
|
1931
|
+
private md;
|
|
1932
|
+
constructor(mdConfig?: Options, dompurifyConfig?: Config & {
|
|
1933
|
+
disable?: boolean;
|
|
1934
|
+
});
|
|
1935
|
+
render(options: {
|
|
1936
|
+
content?: string;
|
|
1937
|
+
}): VNode<RendererNode, RendererElement, {
|
|
1938
|
+
[key: string]: any;
|
|
1939
|
+
}>;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
export declare interface BubbleProps extends BubbleCommonProps {
|
|
1900
1943
|
/**
|
|
1901
1944
|
* 气泡内容
|
|
1902
1945
|
*/
|
|
1903
|
-
content?: string;
|
|
1946
|
+
content?: string | BubbleContentItem[];
|
|
1904
1947
|
id?: string | number | symbol;
|
|
1905
|
-
/**
|
|
1906
|
-
* 气泡位置
|
|
1907
|
-
*/
|
|
1908
|
-
placement?: BubblePalcement;
|
|
1909
|
-
avatar?: VNode;
|
|
1910
1948
|
role?: string;
|
|
1911
|
-
/**
|
|
1912
|
-
* 内容类型
|
|
1913
|
-
*/
|
|
1914
|
-
type?: 'text' | 'markdown';
|
|
1915
1949
|
loading?: boolean;
|
|
1916
1950
|
aborted?: boolean;
|
|
1917
|
-
/**
|
|
1918
|
-
* type 为 'markdown' 时,markdown 的配置项
|
|
1919
|
-
*/
|
|
1920
|
-
mdConfig?: Options;
|
|
1921
|
-
maxWidth?: string | number;
|
|
1922
1951
|
}
|
|
1923
1952
|
|
|
1924
|
-
|
|
1953
|
+
declare const BubbleProvider: typeof _default_18 & {
|
|
1954
|
+
install: typeof bubbleProviderInstall;
|
|
1955
|
+
};
|
|
1956
|
+
export { BubbleProvider }
|
|
1957
|
+
export { BubbleProvider as TrBubbleProvider }
|
|
1958
|
+
|
|
1959
|
+
declare const bubbleProviderInstall: (app: App) => void;
|
|
1960
|
+
|
|
1961
|
+
export declare type BubbleRoleConfig = BubbleCommonProps & {
|
|
1925
1962
|
slots?: BubbleSlots;
|
|
1926
1963
|
};
|
|
1927
1964
|
|
|
@@ -1970,31 +2007,31 @@ declare const _default: {
|
|
|
1970
2007
|
};
|
|
1971
2008
|
export default _default;
|
|
1972
2009
|
|
|
1973
|
-
declare const _default_10: typeof
|
|
2010
|
+
declare const _default_10: typeof _default_27 & {
|
|
1974
2011
|
install: typeof install_8;
|
|
1975
2012
|
};
|
|
1976
2013
|
export { _default_10 as Sender }
|
|
1977
2014
|
export { _default_10 as TrSender }
|
|
1978
2015
|
|
|
1979
|
-
declare const _default_11: typeof
|
|
2016
|
+
declare const _default_11: typeof _default_29 & {
|
|
1980
2017
|
install: typeof install_9;
|
|
1981
2018
|
};
|
|
1982
2019
|
export { _default_11 as SuggestionPills }
|
|
1983
2020
|
export { _default_11 as TrSuggestionPills }
|
|
1984
2021
|
|
|
1985
|
-
declare const _default_12: typeof
|
|
2022
|
+
declare const _default_12: typeof _default_30 & {
|
|
1986
2023
|
install: typeof install_10;
|
|
1987
2024
|
};
|
|
1988
2025
|
export { _default_12 as SuggestionPopover }
|
|
1989
2026
|
export { _default_12 as TrSuggestionPopover }
|
|
1990
2027
|
|
|
1991
|
-
declare const _default_13: typeof
|
|
2028
|
+
declare const _default_13: typeof _default_31 & {
|
|
1992
2029
|
install: typeof install_11;
|
|
1993
2030
|
};
|
|
1994
2031
|
export { _default_13 as TrWelcome }
|
|
1995
2032
|
export { _default_13 as Welcome }
|
|
1996
2033
|
|
|
1997
|
-
declare const _default_14: typeof
|
|
2034
|
+
declare const _default_14: typeof _default_32 & {
|
|
1998
2035
|
install: typeof install_12;
|
|
1999
2036
|
};
|
|
2000
2037
|
export { _default_14 as McpServerPicker }
|
|
@@ -2034,7 +2071,7 @@ scrollContainerRef: HTMLDivElement;
|
|
|
2034
2071
|
|
|
2035
2072
|
declare const _default_18: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2036
2073
|
|
|
2037
|
-
declare const _default_19:
|
|
2074
|
+
declare const _default_19: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2038
2075
|
|
|
2039
2076
|
declare const _default_2: typeof _default_15 & {
|
|
2040
2077
|
install: typeof install;
|
|
@@ -2042,11 +2079,13 @@ declare const _default_2: typeof _default_15 & {
|
|
|
2042
2079
|
export { _default_2 as Attachments }
|
|
2043
2080
|
export { _default_2 as TrAttachments }
|
|
2044
2081
|
|
|
2045
|
-
declare const _default_20:
|
|
2082
|
+
declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2046
2083
|
|
|
2047
2084
|
declare const _default_21: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2048
2085
|
|
|
2049
|
-
declare const _default_22:
|
|
2086
|
+
declare const _default_22: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2087
|
+
|
|
2088
|
+
declare const _default_23: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2050
2089
|
action: (name: string) => any;
|
|
2051
2090
|
operation: (name: string) => any;
|
|
2052
2091
|
}, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
|
|
@@ -2058,14 +2097,12 @@ actionsLimit: number;
|
|
|
2058
2097
|
sourcesLinesLimit: number;
|
|
2059
2098
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2060
2099
|
|
|
2061
|
-
declare const
|
|
2100
|
+
declare const _default_24: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
2062
2101
|
size: string | number;
|
|
2063
2102
|
svgSize: string | number;
|
|
2064
2103
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2065
2104
|
|
|
2066
|
-
declare const
|
|
2067
|
-
|
|
2068
|
-
declare const _default_25: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2105
|
+
declare const _default_25: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2069
2106
|
|
|
2070
2107
|
declare const _default_26: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2071
2108
|
|
|
@@ -2075,7 +2112,7 @@ declare const _default_28: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, _
|
|
|
2075
2112
|
|
|
2076
2113
|
declare const _default_29: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2077
2114
|
|
|
2078
|
-
declare const _default_3: typeof
|
|
2115
|
+
declare const _default_3: typeof _default_19 & {
|
|
2079
2116
|
install: typeof install_2;
|
|
2080
2117
|
};
|
|
2081
2118
|
export { _default_3 as Container }
|
|
@@ -2083,7 +2120,9 @@ export { _default_3 as TrContainer }
|
|
|
2083
2120
|
|
|
2084
2121
|
declare const _default_30: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2085
2122
|
|
|
2086
|
-
declare const _default_31:
|
|
2123
|
+
declare const _default_31: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2124
|
+
|
|
2125
|
+
declare const _default_32: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2087
2126
|
[x: string]: any;
|
|
2088
2127
|
} & {
|
|
2089
2128
|
[x: string]: any;
|
|
@@ -2114,25 +2153,25 @@ allowPluginAdd: boolean;
|
|
|
2114
2153
|
marketLoading: boolean;
|
|
2115
2154
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2116
2155
|
|
|
2117
|
-
declare const _default_4: typeof
|
|
2156
|
+
declare const _default_4: typeof _default_20 & {
|
|
2118
2157
|
install: typeof install_3;
|
|
2119
2158
|
};
|
|
2120
2159
|
export { _default_4 as Conversations }
|
|
2121
2160
|
export { _default_4 as TrConversations }
|
|
2122
2161
|
|
|
2123
|
-
declare const _default_5: typeof
|
|
2162
|
+
declare const _default_5: typeof _default_21 & {
|
|
2124
2163
|
install: typeof install_4;
|
|
2125
2164
|
};
|
|
2126
2165
|
export { _default_5 as DragOverlay }
|
|
2127
2166
|
export { _default_5 as TrDragOverlay }
|
|
2128
2167
|
|
|
2129
|
-
declare const _default_6: typeof
|
|
2168
|
+
declare const _default_6: typeof _default_22 & {
|
|
2130
2169
|
install: typeof install_5;
|
|
2131
2170
|
};
|
|
2132
2171
|
export { _default_6 as DropdownMenu }
|
|
2133
2172
|
export { _default_6 as TrDropdownMenu }
|
|
2134
2173
|
|
|
2135
|
-
declare const _default_7: typeof
|
|
2174
|
+
declare const _default_7: typeof _default_23 & {
|
|
2136
2175
|
install: typeof install_6;
|
|
2137
2176
|
};
|
|
2138
2177
|
export { _default_7 as Feedback }
|
|
@@ -2145,7 +2184,7 @@ declare const _default_8: {
|
|
|
2145
2184
|
export { _default_8 as History }
|
|
2146
2185
|
export { _default_8 as TrHistory }
|
|
2147
2186
|
|
|
2148
|
-
declare const _default_9: typeof
|
|
2187
|
+
declare const _default_9: typeof _default_24 & {
|
|
2149
2188
|
install: typeof install_7;
|
|
2150
2189
|
};
|
|
2151
2190
|
export { _default_9 as IconButton }
|
|
@@ -2385,6 +2424,8 @@ export declare interface Handlers {
|
|
|
2385
2424
|
handleDrop: (e: DragEvent) => void;
|
|
2386
2425
|
}
|
|
2387
2426
|
|
|
2427
|
+
declare type HighlightFunction = (suggestionText: string, inputText: string) => SuggestionTextPart[];
|
|
2428
|
+
|
|
2388
2429
|
export declare type HistoryData = HistoryItem[] | HistoryGroup[];
|
|
2389
2430
|
|
|
2390
2431
|
export declare interface HistoryEvents {
|
|
@@ -2459,6 +2500,11 @@ declare const installPrompt: <T>(app: App<T>) => void;
|
|
|
2459
2500
|
|
|
2460
2501
|
declare const installPrompts: <T>(app: App<T>) => void;
|
|
2461
2502
|
|
|
2503
|
+
export declare interface ISuggestionItem {
|
|
2504
|
+
content: string;
|
|
2505
|
+
highlights?: string[] | HighlightFunction;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2462
2508
|
export declare interface KeyboardHandler {
|
|
2463
2509
|
handleKeyPress: (e: KeyboardEvent) => void;
|
|
2464
2510
|
triggerSubmit: () => void;
|
|
@@ -2580,7 +2626,7 @@ export declare interface PopupConfig {
|
|
|
2580
2626
|
};
|
|
2581
2627
|
}
|
|
2582
2628
|
|
|
2583
|
-
declare const Prompt: typeof
|
|
2629
|
+
declare const Prompt: typeof _default_25 & {
|
|
2584
2630
|
install: typeof installPrompt;
|
|
2585
2631
|
};
|
|
2586
2632
|
export { Prompt }
|
|
@@ -2613,7 +2659,7 @@ export declare interface PromptProps {
|
|
|
2613
2659
|
badge?: string | VNode;
|
|
2614
2660
|
}
|
|
2615
2661
|
|
|
2616
|
-
declare const Prompts: typeof
|
|
2662
|
+
declare const Prompts: typeof _default_26 & {
|
|
2617
2663
|
install: typeof installPrompts;
|
|
2618
2664
|
};
|
|
2619
2665
|
export { Prompts }
|
|
@@ -2699,7 +2745,7 @@ export declare interface SenderProps {
|
|
|
2699
2745
|
speech?: boolean | SpeechConfig;
|
|
2700
2746
|
placeholder?: string;
|
|
2701
2747
|
showWordLimit?: boolean;
|
|
2702
|
-
suggestions?:
|
|
2748
|
+
suggestions?: ISuggestionItem[];
|
|
2703
2749
|
suggestionPopupWidth?: string | number;
|
|
2704
2750
|
theme?: ThemeType;
|
|
2705
2751
|
templateData?: UserItem[];
|
|
@@ -2756,7 +2802,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
|
|
|
2756
2802
|
|
|
2757
2803
|
export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
|
|
2758
2804
|
|
|
2759
|
-
declare const SuggestionPillButton: typeof
|
|
2805
|
+
declare const SuggestionPillButton: typeof _default_28 & {
|
|
2760
2806
|
install: typeof installPillButton;
|
|
2761
2807
|
};
|
|
2762
2808
|
export { SuggestionPillButton }
|
|
@@ -2914,9 +2960,13 @@ export declare interface UrlAttachment extends BaseAttachment {
|
|
|
2914
2960
|
|
|
2915
2961
|
export declare type UserItem = UserTextItem | UserTemplateItem;
|
|
2916
2962
|
|
|
2917
|
-
export declare type UserTemplateItem = Pick<TemplateItem, 'type' | 'content'
|
|
2963
|
+
export declare type UserTemplateItem = Omit<Pick<TemplateItem, 'type' | 'content'>, 'id'> & {
|
|
2964
|
+
id?: TemplateItem['id'];
|
|
2965
|
+
};
|
|
2918
2966
|
|
|
2919
|
-
export declare type UserTextItem = Omit<TextItem, 'id'
|
|
2967
|
+
export declare type UserTextItem = Omit<TextItem, 'id'> & {
|
|
2968
|
+
id?: TextItem['id'];
|
|
2969
|
+
};
|
|
2920
2970
|
|
|
2921
2971
|
/**
|
|
2922
2972
|
* 拖拽区域指令
|