@opentiny/tiny-robot 0.3.0-alpha.13 → 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/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 { BubblePalcement as BubblePalcement_2 } from './index.type';
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';
@@ -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
- type: "text" | "markdown";
48
- content: string;
49
- placement: BubblePalcement_2;
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<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
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<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
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 __VLS_component_3: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
206
+ declare const __VLS_component_4: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
66
207
 
67
- declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_2, {
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 __VLS_component_5: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
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 __VLS_component_6: DefineComponent<SenderProps, {
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;
@@ -719,9 +860,9 @@ onSelect?: ((item: string) => any) | undefined;
719
860
  }>, {}, {}, {}, {}, {}> | null;
720
861
  }, HTMLDivElement>;
721
862
 
722
- declare const __VLS_component_7: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
863
+ declare const __VLS_component_8: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
723
864
 
724
- declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_3, {
865
+ declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_3, {
725
866
  children: ComputedRef<(HTMLElement | SVGElement)[]>;
726
867
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
727
868
  "update:showAll": (value: boolean | undefined) => any;
@@ -741,193 +882,189 @@ floatingItemsRef: HTMLDivElement;
741
882
  floatingMaybeItemRefs: unknown[];
742
883
  }, HTMLDivElement>;
743
884
 
744
- declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_4, {
745
- update: () => void;
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;
885
+ declare type __VLS_Props = {
886
+ contentRenderers?: Record<string, BubbleContentRenderer>;
787
887
  };
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[];
857
- };
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
888
 
880
- declare type __VLS_Props = DropdownMenuProps;
889
+ declare type __VLS_Props_2 = DropdownMenuProps;
881
890
 
882
- declare type __VLS_Props_2 = SuggestionPillsProps;
891
+ declare type __VLS_Props_3 = SuggestionPillsProps;
883
892
 
884
- declare type __VLS_Props_3 = SuggestionPopoverProps;
893
+ declare type __VLS_Props_4 = SuggestionPopoverProps;
885
894
 
886
- declare type __VLS_Props_4 = McpServerPickerProps;
895
+ declare type __VLS_Props_5 = McpServerPickerProps;
887
896
 
888
897
  declare type __VLS_PublicProps = {
889
898
  'show': ContainerProps['show'];
890
899
  'fullscreen'?: ContainerProps['fullscreen'];
891
900
  };
892
901
 
893
- declare type __VLS_PublicProps_2 = {
894
- 'show'?: boolean;
895
- } & __VLS_Props;
896
-
897
- declare type __VLS_PublicProps_3 = {
898
- 'showAll'?: SuggestionPillsProps['showAll'];
899
- } & __VLS_Props_2;
900
-
901
- declare type __VLS_PublicProps_4 = {
902
- 'selectedGroup'?: string;
903
- } & __VLS_Props_3;
904
-
905
- declare type __VLS_PublicProps_5 = {
906
- 'visible': boolean;
907
- } & __VLS_Props_4;
908
-
909
- declare function __VLS_template(): {
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(): {
910
1045
  attrs: Partial<{}>;
911
- slots: Readonly<BubbleSlots> & BubbleSlots;
1046
+ slots: Readonly<WelcomeSlots> & WelcomeSlots;
912
1047
  refs: {};
913
1048
  rootEl: HTMLDivElement;
914
1049
  };
915
1050
 
916
- declare function __VLS_template_10(): {
1051
+ declare function __VLS_template_2(): {
917
1052
  attrs: Partial<{}>;
918
- slots: Readonly<WelcomeSlots> & WelcomeSlots;
1053
+ slots: {
1054
+ default?(_: {}): any;
1055
+ };
919
1056
  refs: {};
920
- rootEl: HTMLDivElement;
1057
+ rootEl: any;
921
1058
  };
922
1059
 
923
- declare function __VLS_template_2(): {
1060
+ declare function __VLS_template_3(): {
924
1061
  attrs: Partial<{}>;
925
1062
  slots: Readonly<ContainerSlots> & ContainerSlots;
926
1063
  refs: {};
927
1064
  rootEl: HTMLDivElement;
928
1065
  };
929
1066
 
930
- declare function __VLS_template_3(): {
1067
+ declare function __VLS_template_4(): {
931
1068
  attrs: Partial<{}>;
932
1069
  slots: {
933
1070
  overlay?(_: {
@@ -938,7 +1075,7 @@ declare function __VLS_template_3(): {
938
1075
  rootEl: any;
939
1076
  };
940
1077
 
941
- declare function __VLS_template_4(): {
1078
+ declare function __VLS_template_5(): {
942
1079
  attrs: Partial<{}>;
943
1080
  slots: {
944
1081
  trigger?(_: {}): any;
@@ -1040,14 +1177,14 @@ declare function __VLS_template_4(): {
1040
1177
  rootEl: any;
1041
1178
  };
1042
1179
 
1043
- declare function __VLS_template_5(): {
1180
+ declare function __VLS_template_6(): {
1044
1181
  attrs: Partial<{}>;
1045
1182
  slots: Readonly<PromptsSlots> & PromptsSlots;
1046
1183
  refs: {};
1047
1184
  rootEl: HTMLDivElement;
1048
1185
  };
1049
1186
 
1050
- declare function __VLS_template_6(): {
1187
+ declare function __VLS_template_7(): {
1051
1188
  attrs: Partial<{}>;
1052
1189
  slots: {
1053
1190
  header?(_: {}): any;
@@ -1568,14 +1705,14 @@ declare function __VLS_template_6(): {
1568
1705
  rootEl: HTMLDivElement;
1569
1706
  };
1570
1707
 
1571
- declare function __VLS_template_7(): {
1708
+ declare function __VLS_template_8(): {
1572
1709
  attrs: Partial<{}>;
1573
1710
  slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1574
1711
  refs: {};
1575
1712
  rootEl: HTMLButtonElement;
1576
1713
  };
1577
1714
 
1578
- declare function __VLS_template_8(): {
1715
+ declare function __VLS_template_9(): {
1579
1716
  attrs: Partial<{}>;
1580
1717
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
1581
1718
  refs: {
@@ -1588,129 +1725,12 @@ declare function __VLS_template_8(): {
1588
1725
  rootEl: HTMLDivElement;
1589
1726
  };
1590
1727
 
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
1728
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1711
1729
 
1712
1730
  declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
1713
1731
 
1732
+ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
1733
+
1714
1734
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1715
1735
 
1716
1736
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -1739,6 +1759,12 @@ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
1739
1759
  };
1740
1760
  };
1741
1761
 
1762
+ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
1763
+ new (): {
1764
+ $slots: S;
1765
+ };
1766
+ };
1767
+
1742
1768
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1743
1769
  new (): {
1744
1770
  $slots: S;
@@ -1873,6 +1899,45 @@ declare const Bubble: typeof _default_16 & {
1873
1899
  export { Bubble }
1874
1900
  export { Bubble as TrBubble }
1875
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
+
1876
1941
  declare const bubbleInstall: (app: App) => void;
1877
1942
 
1878
1943
  declare const BubbleList: typeof _default_17 & {
@@ -1891,37 +1956,53 @@ export declare interface BubbleListProps {
1891
1956
  * 每个角色的默认配置项
1892
1957
  */
1893
1958
  roles?: Record<string, BubbleRoleConfig>;
1959
+ /**
1960
+ * 列表是否加载中
1961
+ */
1962
+ loading?: boolean;
1963
+ /**
1964
+ * 指定哪个角色可以有加载中状态
1965
+ */
1966
+ loadingRole?: string;
1894
1967
  autoScroll?: boolean;
1895
1968
  }
1896
1969
 
1897
- export declare type BubblePalcement = 'start' | 'end';
1898
-
1899
- export declare interface BubbleProps {
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 {
1900
1987
  /**
1901
1988
  * 气泡内容
1902
1989
  */
1903
- content?: string;
1990
+ content?: string | BubbleContentItem[];
1904
1991
  id?: string | number | symbol;
1905
- /**
1906
- * 气泡位置
1907
- */
1908
- placement?: BubblePalcement;
1909
- avatar?: VNode;
1910
1992
  role?: string;
1911
- /**
1912
- * 内容类型
1913
- */
1914
- type?: 'text' | 'markdown';
1915
1993
  loading?: boolean;
1916
1994
  aborted?: boolean;
1917
- /**
1918
- * type 为 'markdown' 时,markdown 的配置项
1919
- */
1920
- mdConfig?: Options;
1921
- maxWidth?: string | number;
1922
1995
  }
1923
1996
 
1924
- export declare type BubbleRoleConfig = Pick<BubbleProps, 'placement' | 'avatar' | 'type' | 'mdConfig' | 'maxWidth'> & {
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 & {
1925
2006
  slots?: BubbleSlots;
1926
2007
  };
1927
2008
 
@@ -1970,31 +2051,31 @@ declare const _default: {
1970
2051
  };
1971
2052
  export default _default;
1972
2053
 
1973
- declare const _default_10: typeof _default_26 & {
2054
+ declare const _default_10: typeof _default_27 & {
1974
2055
  install: typeof install_8;
1975
2056
  };
1976
2057
  export { _default_10 as Sender }
1977
2058
  export { _default_10 as TrSender }
1978
2059
 
1979
- declare const _default_11: typeof _default_28 & {
2060
+ declare const _default_11: typeof _default_29 & {
1980
2061
  install: typeof install_9;
1981
2062
  };
1982
2063
  export { _default_11 as SuggestionPills }
1983
2064
  export { _default_11 as TrSuggestionPills }
1984
2065
 
1985
- declare const _default_12: typeof _default_29 & {
2066
+ declare const _default_12: typeof _default_30 & {
1986
2067
  install: typeof install_10;
1987
2068
  };
1988
2069
  export { _default_12 as SuggestionPopover }
1989
2070
  export { _default_12 as TrSuggestionPopover }
1990
2071
 
1991
- declare const _default_13: typeof _default_30 & {
2072
+ declare const _default_13: typeof _default_31 & {
1992
2073
  install: typeof install_11;
1993
2074
  };
1994
2075
  export { _default_13 as TrWelcome }
1995
2076
  export { _default_13 as Welcome }
1996
2077
 
1997
- declare const _default_14: typeof _default_31 & {
2078
+ declare const _default_14: typeof _default_32 & {
1998
2079
  install: typeof install_12;
1999
2080
  };
2000
2081
  export { _default_14 as McpServerPicker }
@@ -2034,7 +2115,7 @@ scrollContainerRef: HTMLDivElement;
2034
2115
 
2035
2116
  declare const _default_18: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2036
2117
 
2037
- declare const _default_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2118
+ declare const _default_19: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2038
2119
 
2039
2120
  declare const _default_2: typeof _default_15 & {
2040
2121
  install: typeof install;
@@ -2042,11 +2123,13 @@ declare const _default_2: typeof _default_15 & {
2042
2123
  export { _default_2 as Attachments }
2043
2124
  export { _default_2 as TrAttachments }
2044
2125
 
2045
- declare const _default_20: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2126
+ declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2046
2127
 
2047
2128
  declare const _default_21: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2048
2129
 
2049
- declare const _default_22: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
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, {} & {
2050
2133
  action: (name: string) => any;
2051
2134
  operation: (name: string) => any;
2052
2135
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
@@ -2058,14 +2141,12 @@ actionsLimit: number;
2058
2141
  sourcesLinesLimit: number;
2059
2142
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2060
2143
 
2061
- declare const _default_23: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2144
+ declare const _default_24: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2062
2145
  size: string | number;
2063
2146
  svgSize: string | number;
2064
2147
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2065
2148
 
2066
- declare const _default_24: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2067
-
2068
- declare const _default_25: __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>;
2069
2150
 
2070
2151
  declare const _default_26: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2071
2152
 
@@ -2075,7 +2156,7 @@ declare const _default_28: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, _
2075
2156
 
2076
2157
  declare const _default_29: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2077
2158
 
2078
- declare const _default_3: typeof _default_18 & {
2159
+ declare const _default_3: typeof _default_19 & {
2079
2160
  install: typeof install_2;
2080
2161
  };
2081
2162
  export { _default_3 as Container }
@@ -2083,7 +2164,9 @@ export { _default_3 as TrContainer }
2083
2164
 
2084
2165
  declare const _default_30: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2085
2166
 
2086
- declare const _default_31: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
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, {
2087
2170
  [x: string]: any;
2088
2171
  } & {
2089
2172
  [x: string]: any;
@@ -2114,25 +2197,25 @@ allowPluginAdd: boolean;
2114
2197
  marketLoading: boolean;
2115
2198
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2116
2199
 
2117
- declare const _default_4: typeof _default_19 & {
2200
+ declare const _default_4: typeof _default_20 & {
2118
2201
  install: typeof install_3;
2119
2202
  };
2120
2203
  export { _default_4 as Conversations }
2121
2204
  export { _default_4 as TrConversations }
2122
2205
 
2123
- declare const _default_5: typeof _default_20 & {
2206
+ declare const _default_5: typeof _default_21 & {
2124
2207
  install: typeof install_4;
2125
2208
  };
2126
2209
  export { _default_5 as DragOverlay }
2127
2210
  export { _default_5 as TrDragOverlay }
2128
2211
 
2129
- declare const _default_6: typeof _default_21 & {
2212
+ declare const _default_6: typeof _default_22 & {
2130
2213
  install: typeof install_5;
2131
2214
  };
2132
2215
  export { _default_6 as DropdownMenu }
2133
2216
  export { _default_6 as TrDropdownMenu }
2134
2217
 
2135
- declare const _default_7: typeof _default_22 & {
2218
+ declare const _default_7: typeof _default_23 & {
2136
2219
  install: typeof install_6;
2137
2220
  };
2138
2221
  export { _default_7 as Feedback }
@@ -2145,7 +2228,7 @@ declare const _default_8: {
2145
2228
  export { _default_8 as History }
2146
2229
  export { _default_8 as TrHistory }
2147
2230
 
2148
- declare const _default_9: typeof _default_23 & {
2231
+ declare const _default_9: typeof _default_24 & {
2149
2232
  install: typeof install_7;
2150
2233
  };
2151
2234
  export { _default_9 as IconButton }
@@ -2580,7 +2663,7 @@ export declare interface PopupConfig {
2580
2663
  };
2581
2664
  }
2582
2665
 
2583
- declare const Prompt: typeof _default_24 & {
2666
+ declare const Prompt: typeof _default_25 & {
2584
2667
  install: typeof installPrompt;
2585
2668
  };
2586
2669
  export { Prompt }
@@ -2613,7 +2696,7 @@ export declare interface PromptProps {
2613
2696
  badge?: string | VNode;
2614
2697
  }
2615
2698
 
2616
- declare const Prompts: typeof _default_25 & {
2699
+ declare const Prompts: typeof _default_26 & {
2617
2700
  install: typeof installPrompts;
2618
2701
  };
2619
2702
  export { Prompts }
@@ -2756,7 +2839,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
2756
2839
 
2757
2840
  export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
2758
2841
 
2759
- declare const SuggestionPillButton: typeof _default_27 & {
2842
+ declare const SuggestionPillButton: typeof _default_28 & {
2760
2843
  install: typeof installPillButton;
2761
2844
  };
2762
2845
  export { SuggestionPillButton }