@opentiny/tiny-robot 0.3.0-alpha.8 → 0.3.0-alpha.9

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,6 +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
5
  import { Component } from 'vue';
5
6
  import { ComponentCustomProperties } from 'vue';
6
7
  import { ComponentCustomProps } from 'vue';
@@ -10,19 +11,14 @@ import { ComponentOptionsMixin } from 'vue';
10
11
  import { ComponentProvideOptions } from 'vue';
11
12
  import { ComponentPublicInstance } from 'vue';
12
13
  import { ComputedRef } from 'vue';
13
- import { Config } from 'dompurify';
14
14
  import { CreateComponentPublicInstanceWithMixins } from 'vue';
15
15
  import { CSSProperties } from 'vue';
16
16
  import { DebuggerEvent } from 'vue';
17
17
  import { DefineComponent } from 'vue';
18
- import { Directive } from 'vue';
19
- import { DisplayVariant as DisplayVariant_2 } from './index.type';
20
18
  import { ExtractPropTypes } from 'vue';
21
- import { FileTypeMatcher as FileTypeMatcher_2 } from './index.type';
22
19
  import { GlobalComponents } from 'vue';
23
20
  import { GlobalDirectives } from 'vue';
24
21
  import { InputMode as InputMode_2 } from './index.type';
25
- import { MarketCategoryOption as MarketCategoryOption_2 } from './index.type';
26
22
  import { nextTick } from 'vue';
27
23
  import { OnCleanup } from '@vue/reactivity';
28
24
  import { Options } from 'markdown-it';
@@ -44,153 +40,13 @@ import { WatchOptions } from 'vue';
44
40
  import { WatchStopHandle } from 'vue';
45
41
 
46
42
  declare const __VLS_component: DefineComponent<BubbleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProps> & Readonly<{}>, {
47
- content: string;
48
- placement: "start" | "end";
49
- shape: "rounded" | "corner";
43
+ placement: BubblePalcement_2;
44
+ type: "text" | "markdown";
50
45
  maxWidth: string | number;
46
+ content: string;
51
47
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
52
48
 
53
- declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
54
- "update:selectedGroup": (value: string) => any;
55
- } & {
56
- close: () => any;
57
- open: () => any;
58
- "item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
59
- "click-outside": (event: MouseEvent) => any;
60
- "group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
61
- }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
62
- onClose?: (() => any) | undefined;
63
- onOpen?: (() => any) | undefined;
64
- "onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
65
- "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
66
- "onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
67
- "onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
68
- }>, {
69
- title: string;
70
- trigger: "click" | "manual";
71
- groupShowMoreTrigger: "click" | "hover";
72
- topOffset: number;
73
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
74
- basePopperRef: ({
75
- $: ComponentInternalInstance;
76
- $data: {};
77
- $props: {
78
- readonly appendTo?: (string | HTMLElement) | undefined;
79
- readonly offset?: number | {
80
- mainAxis?: number;
81
- crossAxis?: number;
82
- } | undefined;
83
- readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
84
- readonly preventOverflow?: boolean | undefined;
85
- readonly show?: boolean | undefined;
86
- readonly transitionProps?: TransitionProps | undefined;
87
- readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
88
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
89
- $attrs: {
90
- [x: string]: unknown;
91
- };
92
- $refs: {
93
- [x: string]: unknown;
94
- };
95
- $slots: Readonly<{
96
- [name: string]: Slot<any> | undefined;
97
- }>;
98
- $root: ComponentPublicInstance | null;
99
- $parent: ComponentPublicInstance | null;
100
- $host: Element | null;
101
- $emit: (event: string, ...args: any[]) => void;
102
- $el: any;
103
- $options: ComponentOptionsBase<Readonly<{
104
- appendTo?: string | HTMLElement;
105
- offset?: number | {
106
- mainAxis?: number;
107
- crossAxis?: number;
108
- };
109
- placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
110
- preventOverflow?: boolean;
111
- show?: boolean;
112
- transitionProps?: TransitionProps;
113
- triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
114
- }> & Readonly<{}>, {
115
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
116
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
117
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
118
- placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
119
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
120
- beforeCreate?: (() => void) | (() => void)[];
121
- created?: (() => void) | (() => void)[];
122
- beforeMount?: (() => void) | (() => void)[];
123
- mounted?: (() => void) | (() => void)[];
124
- beforeUpdate?: (() => void) | (() => void)[];
125
- updated?: (() => void) | (() => void)[];
126
- activated?: (() => void) | (() => void)[];
127
- deactivated?: (() => void) | (() => void)[];
128
- beforeDestroy?: (() => void) | (() => void)[];
129
- beforeUnmount?: (() => void) | (() => void)[];
130
- destroyed?: (() => void) | (() => void)[];
131
- unmounted?: (() => void) | (() => void)[];
132
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
133
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
134
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
135
- };
136
- $forceUpdate: () => void;
137
- $nextTick: nextTick;
138
- $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;
139
- } & Readonly<{
140
- placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
141
- }> & Omit<Readonly<{
142
- appendTo?: string | HTMLElement;
143
- offset?: number | {
144
- mainAxis?: number;
145
- crossAxis?: number;
146
- };
147
- placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
148
- preventOverflow?: boolean;
149
- show?: boolean;
150
- transitionProps?: TransitionProps;
151
- triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
152
- }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
153
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
154
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
155
- }> & {} & ComponentCustomProperties & {} & {
156
- $slots: Readonly<{
157
- trigger?: () => VNode[];
158
- content?: () => VNode[];
159
- }> & {
160
- trigger?: () => VNode[];
161
- content?: () => VNode[];
162
- };
163
- }) | null;
164
- listRef: HTMLUListElement;
165
- tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
166
- show?: TooltipContentProps["show"];
167
- } & TooltipContentProps> & Readonly<{
168
- "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
169
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
170
- "update:show": (value: boolean | undefined) => any;
171
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
172
- P: {};
173
- B: {};
174
- D: {};
175
- C: {};
176
- M: {};
177
- Defaults: {};
178
- }, Readonly<{
179
- show?: TooltipContentProps["show"];
180
- } & TooltipContentProps> & Readonly<{
181
- "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
182
- }>, {}, {}, {}, {}, {}> | null;
183
- }, any>;
184
-
185
- declare const __VLS_component_11: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
186
- align: "left" | "center" | "right" | string;
187
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
188
-
189
- declare const __VLS_component_2: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
190
- messageRenderers: Record<string, BubbleMessageRenderer>;
191
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
192
-
193
- declare const __VLS_component_3: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
49
+ declare const __VLS_component_2: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
194
50
  "update:show": (value: boolean) => any;
195
51
  "update:fullscreen": (value: boolean | undefined) => any;
196
52
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -198,9 +54,9 @@ declare const __VLS_component_3: DefineComponent<__VLS_PublicProps, {}, {}, {},
198
54
  "onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
199
55
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
200
56
 
201
- declare const __VLS_component_4: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
202
-
203
- declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
57
+ declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_2, {
58
+ update: () => void | undefined;
59
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
204
60
  "update:show": (value: boolean) => any;
205
61
  } & {
206
62
  "item-click": (item: DropdownMenuItem) => any;
@@ -254,7 +110,8 @@ transitionProps?: TransitionProps;
254
110
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
255
111
  }> & Readonly<{}>, {
256
112
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
257
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
113
+ popperRef: ComputedRef<HTMLDivElement | null>;
114
+ update: () => void;
258
115
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
259
116
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
260
117
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -290,9 +147,10 @@ preventOverflow?: boolean;
290
147
  show?: boolean;
291
148
  transitionProps?: TransitionProps;
292
149
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
293
- }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
150
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
294
151
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
295
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
152
+ popperRef: ComputedRef<HTMLDivElement | null>;
153
+ update: () => void;
296
154
  }> & {} & ComponentCustomProperties & {} & {
297
155
  $slots: Readonly<{
298
156
  trigger?: () => VNode[];
@@ -304,13 +162,13 @@ content?: () => VNode[];
304
162
  }) | null;
305
163
  }, any>;
306
164
 
307
- declare const __VLS_component_6: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
165
+ declare const __VLS_component_4: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
308
166
  "item-click": (ev: MouseEvent, item: PromptProps) => any;
309
167
  }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
310
168
  "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
311
169
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
312
170
 
313
- declare const __VLS_component_7: DefineComponent<SenderProps, {
171
+ declare const __VLS_component_5: DefineComponent<SenderProps, {
314
172
  focus: () => void;
315
173
  blur: () => void;
316
174
  clear: () => void;
@@ -325,8 +183,8 @@ activateTemplateFirstField: () => void;
325
183
  }, string, PublicProps, Readonly<SenderProps> & Readonly<{
326
184
  [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
327
185
  }>, {
328
- mode: InputMode_2;
329
186
  loading: boolean;
187
+ mode: InputMode_2;
330
188
  disabled: boolean;
331
189
  modelValue: string;
332
190
  autofocus: boolean;
@@ -851,9 +709,9 @@ onSelect?: ((item: string) => any) | undefined;
851
709
  }>, {}, {}, {}, {}, {}> | null;
852
710
  }, HTMLDivElement>;
853
711
 
854
- declare const __VLS_component_8: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
712
+ declare const __VLS_component_6: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
855
713
 
856
- declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_3, {
714
+ declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_3, {
857
715
  children: ComputedRef<(HTMLElement | SVGElement)[]>;
858
716
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
859
717
  "update:showAll": (value: boolean | undefined) => any;
@@ -873,192 +731,184 @@ floatingItemsRef: HTMLDivElement;
873
731
  floatingMaybeItemRefs: unknown[];
874
732
  }, HTMLDivElement>;
875
733
 
876
- declare type __VLS_Props = {
877
- messageRenderers?: Record<string, BubbleMessageRenderer>;
734
+ declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_4, {
735
+ update: () => void | undefined;
736
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
737
+ "update:selectedGroup": (value: string) => any;
738
+ } & {
739
+ close: () => any;
740
+ open: () => any;
741
+ "item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
742
+ "click-outside": (event: MouseEvent) => any;
743
+ "group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
744
+ }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
745
+ onClose?: (() => any) | undefined;
746
+ onOpen?: (() => any) | undefined;
747
+ "onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
748
+ "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
749
+ "onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
750
+ "onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
751
+ }>, {
752
+ title: string;
753
+ trigger: "click" | "manual";
754
+ groupShowMoreTrigger: "click" | "hover";
755
+ topOffset: number;
756
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
757
+ basePopperRef: ({
758
+ $: ComponentInternalInstance;
759
+ $data: {};
760
+ $props: {
761
+ readonly appendTo?: (string | HTMLElement) | undefined;
762
+ readonly offset?: number | {
763
+ mainAxis?: number;
764
+ crossAxis?: number;
765
+ } | undefined;
766
+ readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
767
+ readonly preventOverflow?: boolean | undefined;
768
+ readonly show?: boolean | undefined;
769
+ readonly transitionProps?: TransitionProps | undefined;
770
+ readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
771
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
772
+ $attrs: {
773
+ [x: string]: unknown;
878
774
  };
879
-
880
- declare type __VLS_Props_2 = DropdownMenuProps;
881
-
882
- declare type __VLS_Props_3 = SuggestionPillsProps;
883
-
884
- declare type __VLS_Props_4 = SuggestionPopoverProps;
885
-
886
- declare type __VLS_PublicProps = {
887
- 'show': ContainerProps['show'];
888
- 'fullscreen'?: ContainerProps['fullscreen'];
775
+ $refs: {
776
+ [x: string]: unknown;
889
777
  };
890
-
891
- declare type __VLS_PublicProps_2 = {
892
- 'show'?: boolean;
893
- } & __VLS_Props_2;
894
-
895
- declare type __VLS_PublicProps_3 = {
896
- 'showAll'?: SuggestionPillsProps['showAll'];
897
- } & __VLS_Props_3;
898
-
899
- declare type __VLS_PublicProps_4 = {
900
- 'selectedGroup'?: string;
901
- } & __VLS_Props_4;
902
-
903
- declare function __VLS_template(): {
904
- attrs: Partial<{}>;
905
- slots: Readonly<BubbleSlots> & BubbleSlots;
906
- refs: {};
907
- rootEl: HTMLDivElement;
778
+ $slots: Readonly<{
779
+ [name: string]: Slot<any> | undefined;
780
+ }>;
781
+ $root: ComponentPublicInstance | null;
782
+ $parent: ComponentPublicInstance | null;
783
+ $host: Element | null;
784
+ $emit: (event: string, ...args: any[]) => void;
785
+ $el: any;
786
+ $options: ComponentOptionsBase<Readonly<{
787
+ appendTo?: string | HTMLElement;
788
+ offset?: number | {
789
+ mainAxis?: number;
790
+ crossAxis?: number;
908
791
  };
909
-
910
- declare function __VLS_template_10(): {
911
- attrs: Partial<{}>;
912
- slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
913
- refs: {
914
- basePopperRef: ({
915
- $: ComponentInternalInstance;
916
- $data: {};
917
- $props: {
918
- readonly appendTo?: (string | HTMLElement) | undefined;
919
- readonly offset?: number | {
920
- mainAxis?: number;
921
- crossAxis?: number;
922
- } | undefined;
923
- readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
924
- readonly preventOverflow?: boolean | undefined;
925
- readonly show?: boolean | undefined;
926
- readonly transitionProps?: TransitionProps | undefined;
927
- readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
928
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
929
- $attrs: {
930
- [x: string]: unknown;
931
- };
932
- $refs: {
933
- [x: string]: unknown;
934
- };
935
- $slots: Readonly<{
936
- [name: string]: Slot<any> | undefined;
937
- }>;
938
- $root: ComponentPublicInstance | null;
939
- $parent: ComponentPublicInstance | null;
940
- $host: Element | null;
941
- $emit: (event: string, ...args: any[]) => void;
942
- $el: any;
943
- $options: ComponentOptionsBase<Readonly<{
944
- appendTo?: string | HTMLElement;
945
- offset?: number | {
946
- mainAxis?: number;
947
- crossAxis?: number;
948
- };
949
- placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
950
- preventOverflow?: boolean;
951
- show?: boolean;
952
- transitionProps?: TransitionProps;
953
- triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
954
- }> & Readonly<{}>, {
955
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
956
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
957
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
958
- placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
959
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
960
- beforeCreate?: (() => void) | (() => void)[];
961
- created?: (() => void) | (() => void)[];
962
- beforeMount?: (() => void) | (() => void)[];
963
- mounted?: (() => void) | (() => void)[];
964
- beforeUpdate?: (() => void) | (() => void)[];
965
- updated?: (() => void) | (() => void)[];
966
- activated?: (() => void) | (() => void)[];
967
- deactivated?: (() => void) | (() => void)[];
968
- beforeDestroy?: (() => void) | (() => void)[];
969
- beforeUnmount?: (() => void) | (() => void)[];
970
- destroyed?: (() => void) | (() => void)[];
971
- unmounted?: (() => void) | (() => void)[];
972
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
973
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
974
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
975
- };
976
- $forceUpdate: () => void;
977
- $nextTick: nextTick;
978
- $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;
979
- } & Readonly<{
980
- placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
981
- }> & Omit<Readonly<{
982
- appendTo?: string | HTMLElement;
983
- offset?: number | {
984
- mainAxis?: number;
985
- crossAxis?: number;
986
- };
987
- placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
988
- preventOverflow?: boolean;
989
- show?: boolean;
990
- transitionProps?: TransitionProps;
991
- triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
992
- }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
993
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
994
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
995
- }> & {} & ComponentCustomProperties & {} & {
996
- $slots: Readonly<{
997
- trigger?: () => VNode[];
998
- content?: () => VNode[];
999
- }> & {
1000
- trigger?: () => VNode[];
1001
- content?: () => VNode[];
1002
- };
1003
- }) | null;
1004
- listRef: HTMLUListElement;
1005
- tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
1006
- show?: TooltipContentProps["show"];
1007
- } & TooltipContentProps> & Readonly<{
1008
- "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
1009
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1010
- "update:show": (value: boolean | undefined) => any;
1011
- }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1012
- P: {};
1013
- B: {};
1014
- D: {};
1015
- C: {};
1016
- M: {};
1017
- Defaults: {};
1018
- }, Readonly<{
1019
- show?: TooltipContentProps["show"];
1020
- } & TooltipContentProps> & Readonly<{
1021
- "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
1022
- }>, {}, {}, {}, {}, {}> | null;
1023
- };
1024
- rootEl: any;
792
+ placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
793
+ preventOverflow?: boolean;
794
+ show?: boolean;
795
+ transitionProps?: TransitionProps;
796
+ triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
797
+ }> & Readonly<{}>, {
798
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
799
+ popperRef: ComputedRef<HTMLDivElement | null>;
800
+ update: () => void;
801
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
802
+ placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
803
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
804
+ beforeCreate?: (() => void) | (() => void)[];
805
+ created?: (() => void) | (() => void)[];
806
+ beforeMount?: (() => void) | (() => void)[];
807
+ mounted?: (() => void) | (() => void)[];
808
+ beforeUpdate?: (() => void) | (() => void)[];
809
+ updated?: (() => void) | (() => void)[];
810
+ activated?: (() => void) | (() => void)[];
811
+ deactivated?: (() => void) | (() => void)[];
812
+ beforeDestroy?: (() => void) | (() => void)[];
813
+ beforeUnmount?: (() => void) | (() => void)[];
814
+ destroyed?: (() => void) | (() => void)[];
815
+ unmounted?: (() => void) | (() => void)[];
816
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
817
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
818
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1025
819
  };
1026
-
1027
- declare function __VLS_template_11(): {
1028
- attrs: Partial<{}>;
1029
- slots: Readonly<WelcomeSlots> & WelcomeSlots;
1030
- refs: {};
1031
- rootEl: HTMLDivElement;
820
+ $forceUpdate: () => void;
821
+ $nextTick: nextTick;
822
+ $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;
823
+ } & Readonly<{
824
+ placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
825
+ }> & Omit<Readonly<{
826
+ appendTo?: string | HTMLElement;
827
+ offset?: number | {
828
+ mainAxis?: number;
829
+ crossAxis?: number;
1032
830
  };
831
+ placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
832
+ preventOverflow?: boolean;
833
+ show?: boolean;
834
+ transitionProps?: TransitionProps;
835
+ triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
836
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
837
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
838
+ popperRef: ComputedRef<HTMLDivElement | null>;
839
+ update: () => void;
840
+ }> & {} & ComponentCustomProperties & {} & {
841
+ $slots: Readonly<{
842
+ trigger?: () => VNode[];
843
+ content?: () => VNode[];
844
+ }> & {
845
+ trigger?: () => VNode[];
846
+ content?: () => VNode[];
847
+ };
848
+ }) | null;
849
+ listRef: HTMLUListElement;
850
+ tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
851
+ show?: TooltipContentProps["show"];
852
+ } & TooltipContentProps> & Readonly<{
853
+ "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
854
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
855
+ "update:show": (value: boolean | undefined) => any;
856
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
857
+ P: {};
858
+ B: {};
859
+ D: {};
860
+ C: {};
861
+ M: {};
862
+ Defaults: {};
863
+ }, Readonly<{
864
+ show?: TooltipContentProps["show"];
865
+ } & TooltipContentProps> & Readonly<{
866
+ "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
867
+ }>, {}, {}, {}, {}, {}> | null;
868
+ }, any>;
1033
869
 
1034
- declare function __VLS_template_2(): {
1035
- attrs: Partial<{}>;
1036
- slots: {
1037
- default?(_: {}): any;
1038
- };
1039
- refs: {};
1040
- rootEl: any;
870
+ declare const __VLS_component_9: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
871
+ align: "left" | "center" | "right" | string;
872
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
873
+
874
+ declare type __VLS_Props = DropdownMenuProps;
875
+
876
+ declare type __VLS_Props_2 = SuggestionPillsProps;
877
+
878
+ declare type __VLS_Props_3 = SuggestionPopoverProps;
879
+
880
+ declare type __VLS_PublicProps = {
881
+ 'show': ContainerProps['show'];
882
+ 'fullscreen'?: ContainerProps['fullscreen'];
1041
883
  };
1042
884
 
1043
- declare function __VLS_template_3(): {
885
+ declare type __VLS_PublicProps_2 = {
886
+ 'show'?: boolean;
887
+ } & __VLS_Props;
888
+
889
+ declare type __VLS_PublicProps_3 = {
890
+ 'showAll'?: SuggestionPillsProps['showAll'];
891
+ } & __VLS_Props_2;
892
+
893
+ declare type __VLS_PublicProps_4 = {
894
+ 'selectedGroup'?: string;
895
+ } & __VLS_Props_3;
896
+
897
+ declare function __VLS_template(): {
1044
898
  attrs: Partial<{}>;
1045
- slots: Readonly<ContainerSlots> & ContainerSlots;
899
+ slots: Readonly<BubbleSlots> & BubbleSlots;
1046
900
  refs: {};
1047
901
  rootEl: HTMLDivElement;
1048
902
  };
1049
903
 
1050
- declare function __VLS_template_4(): {
904
+ declare function __VLS_template_2(): {
1051
905
  attrs: Partial<{}>;
1052
- slots: {
1053
- overlay?(_: {
1054
- isDragging: true;
1055
- }): any;
1056
- };
906
+ slots: Readonly<ContainerSlots> & ContainerSlots;
1057
907
  refs: {};
1058
- rootEl: any;
908
+ rootEl: HTMLDivElement;
1059
909
  };
1060
910
 
1061
- declare function __VLS_template_5(): {
911
+ declare function __VLS_template_3(): {
1062
912
  attrs: Partial<{}>;
1063
913
  slots: {
1064
914
  trigger?(_: {}): any;
@@ -1106,7 +956,8 @@ declare function __VLS_template_5(): {
1106
956
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1107
957
  }> & Readonly<{}>, {
1108
958
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1109
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
959
+ popperRef: ComputedRef<HTMLDivElement | null>;
960
+ update: () => void;
1110
961
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1111
962
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1112
963
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -1142,9 +993,10 @@ declare function __VLS_template_5(): {
1142
993
  show?: boolean;
1143
994
  transitionProps?: TransitionProps;
1144
995
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1145
- }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
996
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
1146
997
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1147
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
998
+ popperRef: ComputedRef<HTMLDivElement | null>;
999
+ update: () => void;
1148
1000
  }> & {} & ComponentCustomProperties & {} & {
1149
1001
  $slots: Readonly<{
1150
1002
  trigger?: () => VNode[];
@@ -1158,14 +1010,14 @@ declare function __VLS_template_5(): {
1158
1010
  rootEl: any;
1159
1011
  };
1160
1012
 
1161
- declare function __VLS_template_6(): {
1013
+ declare function __VLS_template_4(): {
1162
1014
  attrs: Partial<{}>;
1163
1015
  slots: Readonly<PromptsSlots> & PromptsSlots;
1164
1016
  refs: {};
1165
1017
  rootEl: HTMLDivElement;
1166
1018
  };
1167
1019
 
1168
- declare function __VLS_template_7(): {
1020
+ declare function __VLS_template_5(): {
1169
1021
  attrs: Partial<{}>;
1170
1022
  slots: {
1171
1023
  header?(_: {}): any;
@@ -1683,35 +1535,157 @@ declare function __VLS_template_7(): {
1683
1535
  "onItem-leave"?: (() => any) | undefined;
1684
1536
  }>, {}, {}, {}, {}, {}> | null;
1685
1537
  };
1686
- rootEl: HTMLDivElement;
1687
- };
1688
-
1689
- declare function __VLS_template_8(): {
1690
- attrs: Partial<{}>;
1691
- slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1692
- refs: {};
1693
- rootEl: HTMLButtonElement;
1538
+ rootEl: HTMLDivElement;
1539
+ };
1540
+
1541
+ declare function __VLS_template_6(): {
1542
+ attrs: Partial<{}>;
1543
+ slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1544
+ refs: {};
1545
+ rootEl: HTMLButtonElement;
1546
+ };
1547
+
1548
+ declare function __VLS_template_7(): {
1549
+ attrs: Partial<{}>;
1550
+ slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
1551
+ refs: {
1552
+ containerWrapperRef: HTMLDivElement;
1553
+ containerRef: HTMLDivElement;
1554
+ staticMaybeItemRefs: unknown[];
1555
+ floatingItemsRef: HTMLDivElement;
1556
+ floatingMaybeItemRefs: unknown[];
1557
+ };
1558
+ rootEl: HTMLDivElement;
1559
+ };
1560
+
1561
+ declare function __VLS_template_8(): {
1562
+ attrs: Partial<{}>;
1563
+ slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
1564
+ refs: {
1565
+ basePopperRef: ({
1566
+ $: ComponentInternalInstance;
1567
+ $data: {};
1568
+ $props: {
1569
+ readonly appendTo?: (string | HTMLElement) | undefined;
1570
+ readonly offset?: number | {
1571
+ mainAxis?: number;
1572
+ crossAxis?: number;
1573
+ } | undefined;
1574
+ readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
1575
+ readonly preventOverflow?: boolean | undefined;
1576
+ readonly show?: boolean | undefined;
1577
+ readonly transitionProps?: TransitionProps | undefined;
1578
+ readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
1579
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1580
+ $attrs: {
1581
+ [x: string]: unknown;
1582
+ };
1583
+ $refs: {
1584
+ [x: string]: unknown;
1585
+ };
1586
+ $slots: Readonly<{
1587
+ [name: string]: Slot<any> | undefined;
1588
+ }>;
1589
+ $root: ComponentPublicInstance | null;
1590
+ $parent: ComponentPublicInstance | null;
1591
+ $host: Element | null;
1592
+ $emit: (event: string, ...args: any[]) => void;
1593
+ $el: any;
1594
+ $options: ComponentOptionsBase<Readonly<{
1595
+ appendTo?: string | HTMLElement;
1596
+ offset?: number | {
1597
+ mainAxis?: number;
1598
+ crossAxis?: number;
1599
+ };
1600
+ placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1601
+ preventOverflow?: boolean;
1602
+ show?: boolean;
1603
+ transitionProps?: TransitionProps;
1604
+ triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1605
+ }> & Readonly<{}>, {
1606
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1607
+ popperRef: ComputedRef<HTMLDivElement | null>;
1608
+ update: () => void;
1609
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1610
+ placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1611
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1612
+ beforeCreate?: (() => void) | (() => void)[];
1613
+ created?: (() => void) | (() => void)[];
1614
+ beforeMount?: (() => void) | (() => void)[];
1615
+ mounted?: (() => void) | (() => void)[];
1616
+ beforeUpdate?: (() => void) | (() => void)[];
1617
+ updated?: (() => void) | (() => void)[];
1618
+ activated?: (() => void) | (() => void)[];
1619
+ deactivated?: (() => void) | (() => void)[];
1620
+ beforeDestroy?: (() => void) | (() => void)[];
1621
+ beforeUnmount?: (() => void) | (() => void)[];
1622
+ destroyed?: (() => void) | (() => void)[];
1623
+ unmounted?: (() => void) | (() => void)[];
1624
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1625
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1626
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1627
+ };
1628
+ $forceUpdate: () => void;
1629
+ $nextTick: nextTick;
1630
+ $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;
1631
+ } & Readonly<{
1632
+ placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1633
+ }> & Omit<Readonly<{
1634
+ appendTo?: string | HTMLElement;
1635
+ offset?: number | {
1636
+ mainAxis?: number;
1637
+ crossAxis?: number;
1638
+ };
1639
+ placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1640
+ preventOverflow?: boolean;
1641
+ show?: boolean;
1642
+ transitionProps?: TransitionProps;
1643
+ triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1644
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
1645
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1646
+ popperRef: ComputedRef<HTMLDivElement | null>;
1647
+ update: () => void;
1648
+ }> & {} & ComponentCustomProperties & {} & {
1649
+ $slots: Readonly<{
1650
+ trigger?: () => VNode[];
1651
+ content?: () => VNode[];
1652
+ }> & {
1653
+ trigger?: () => VNode[];
1654
+ content?: () => VNode[];
1655
+ };
1656
+ }) | null;
1657
+ listRef: HTMLUListElement;
1658
+ tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
1659
+ show?: TooltipContentProps["show"];
1660
+ } & TooltipContentProps> & Readonly<{
1661
+ "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
1662
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1663
+ "update:show": (value: boolean | undefined) => any;
1664
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1665
+ P: {};
1666
+ B: {};
1667
+ D: {};
1668
+ C: {};
1669
+ M: {};
1670
+ Defaults: {};
1671
+ }, Readonly<{
1672
+ show?: TooltipContentProps["show"];
1673
+ } & TooltipContentProps> & Readonly<{
1674
+ "onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
1675
+ }>, {}, {}, {}, {}, {}> | null;
1676
+ };
1677
+ rootEl: any;
1694
1678
  };
1695
1679
 
1696
1680
  declare function __VLS_template_9(): {
1697
1681
  attrs: Partial<{}>;
1698
- slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
1699
- refs: {
1700
- containerWrapperRef: HTMLDivElement;
1701
- containerRef: HTMLDivElement;
1702
- staticMaybeItemRefs: unknown[];
1703
- floatingItemsRef: HTMLDivElement;
1704
- floatingMaybeItemRefs: unknown[];
1705
- };
1682
+ slots: Readonly<WelcomeSlots> & WelcomeSlots;
1683
+ refs: {};
1706
1684
  rootEl: HTMLDivElement;
1707
1685
  };
1708
1686
 
1709
1687
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1710
1688
 
1711
- declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
1712
-
1713
- declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
1714
-
1715
1689
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1716
1690
 
1717
1691
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -1734,18 +1708,6 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
1734
1708
  };
1735
1709
  };
1736
1710
 
1737
- declare type __VLS_WithTemplateSlots_10<T, S> = T & {
1738
- new (): {
1739
- $slots: S;
1740
- };
1741
- };
1742
-
1743
- declare type __VLS_WithTemplateSlots_11<T, S> = T & {
1744
- new (): {
1745
- $slots: S;
1746
- };
1747
- };
1748
-
1749
1711
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1750
1712
  new (): {
1751
1713
  $slots: S;
@@ -1794,18 +1756,11 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
1794
1756
  };
1795
1757
  };
1796
1758
 
1797
- export declare interface ActionButton {
1798
- type: string;
1799
- label: string;
1800
- handler?: (file: Attachment) => void;
1801
- }
1802
-
1803
1759
  export declare interface ActionButtonsProps {
1804
1760
  loading?: boolean;
1805
1761
  disabled?: boolean;
1806
1762
  showClear?: boolean;
1807
1763
  hasContent?: boolean;
1808
- buttonGroup?: ButtonGroupConfig;
1809
1764
  allowSpeech?: boolean;
1810
1765
  speechStatus?: {
1811
1766
  isRecording: boolean;
@@ -1818,86 +1773,11 @@ export declare interface ActionButtonsProps {
1818
1773
  stopText?: string;
1819
1774
  }
1820
1775
 
1821
- export declare interface AddPluginCodeData {
1822
- aiPlugin: string;
1823
- openapi: string;
1824
- }
1825
-
1826
- export declare interface AddPluginDialogEmits {
1827
- (e: 'update:visible', value: boolean): void;
1828
- (e: 'confirm', data: AddPluginFormData): void;
1829
- (e: 'cancel'): void;
1830
- (e: 'open-code-editor'): void;
1831
- }
1832
-
1833
- export declare interface AddPluginDialogProps {
1834
- visible: boolean;
1835
- title?: string;
1836
- }
1837
-
1838
- export declare interface AddPluginFormData {
1839
- name: string;
1840
- description: string;
1841
- type: string;
1842
- url: string;
1843
- headers: string;
1844
- thumbnail?: File | null;
1845
- }
1846
-
1847
- export declare type Attachment = {
1848
- id?: string;
1849
- name?: string;
1850
- status?: FileStatus;
1851
- url: string;
1852
- fileType?: FileType;
1853
- size: number;
1854
- message?: string;
1855
- rawFile?: File;
1856
- } | {
1857
- id?: string;
1858
- name?: string;
1859
- status?: FileStatus;
1860
- url?: string;
1861
- fileType?: FileType;
1862
- size?: number;
1863
- message?: string;
1864
- rawFile: File;
1865
- };
1866
-
1867
- export declare interface AttachmentListEmits {
1868
- (e: 'update:items', items: Attachment[]): void;
1869
- (e: 'remove', file: Attachment): void;
1870
- (e: 'download', payload: {
1871
- event: MouseEvent;
1872
- file: Attachment;
1873
- }): void;
1874
- (e: 'retry', file: Attachment): void;
1875
- (e: 'preview', file: Attachment): void;
1876
- (e: 'action', payload: {
1877
- action: ActionButton;
1878
- file: Attachment;
1879
- }): void;
1880
- }
1881
-
1882
- export declare interface AttachmentListProps {
1883
- items?: Attachment[];
1884
- disabled?: boolean;
1885
- wrap?: boolean;
1886
- fileIcons?: Record<string, Component>;
1887
- actions?: ActionButton[];
1888
- variant?: DisplayVariant;
1889
- fileMatchers?: FileTypeMatcher[];
1890
- }
1891
-
1892
1776
  export declare type AutoSize = boolean | {
1893
1777
  minRows: number;
1894
1778
  maxRows: number;
1895
1779
  };
1896
1780
 
1897
- declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled' | 'actions' | 'fileMatchers'>;
1898
-
1899
- export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
1900
-
1901
1781
  declare interface BaseHistoryProps {
1902
1782
  activeTab?: string;
1903
1783
  searchBar?: boolean;
@@ -1913,32 +1793,15 @@ declare interface BaseTextItem {
1913
1793
  content: string;
1914
1794
  }
1915
1795
 
1916
- declare const Bubble: typeof _default_16 & {
1796
+ declare const Bubble: typeof _default_12 & {
1917
1797
  install: typeof bubbleInstall;
1918
1798
  };
1919
1799
  export { Bubble }
1920
1800
  export { Bubble as TrBubble }
1921
1801
 
1922
- export declare interface BubbleCommonProps {
1923
- /**
1924
- * 气泡对齐位置
1925
- */
1926
- placement?: 'start' | 'end';
1927
- /**
1928
- * 气泡头像
1929
- */
1930
- avatar?: VNode;
1931
- /**
1932
- * 气泡形状,默认 'corner'
1933
- */
1934
- shape?: 'rounded' | 'corner';
1935
- hidden?: boolean;
1936
- maxWidth?: string | number;
1937
- }
1938
-
1939
1802
  declare const bubbleInstall: (app: App) => void;
1940
1803
 
1941
- declare const BubbleList: typeof _default_17 & {
1804
+ declare const BubbleList: typeof _default_13 & {
1942
1805
  install: typeof bubbleListInstall;
1943
1806
  };
1944
1807
  export { BubbleList }
@@ -1954,71 +1817,37 @@ export declare interface BubbleListProps {
1954
1817
  * 每个角色的默认配置项
1955
1818
  */
1956
1819
  roles?: Record<string, BubbleRoleConfig>;
1957
- /**
1958
- * 列表是否加载中
1959
- */
1960
- loading?: boolean;
1961
- /**
1962
- * 指定哪个角色可以有加载中状态
1963
- */
1964
- loadingRole?: string;
1965
1820
  autoScroll?: boolean;
1966
1821
  }
1967
1822
 
1968
- export declare class BubbleMarkdownMessageRenderer extends BubbleMessageClassRenderer {
1969
- readonly mdConfig: Options;
1970
- readonly dompurifyConfig: Config & {
1971
- disable?: boolean;
1972
- };
1973
- private md;
1974
- constructor(mdConfig?: Options, dompurifyConfig?: Config & {
1975
- disable?: boolean;
1976
- });
1977
- render(options: {
1978
- content?: string;
1979
- }): VNode<RendererNode, RendererElement, {
1980
- [key: string]: any;
1981
- }>;
1982
- }
1983
-
1984
- export declare abstract class BubbleMessageClassRenderer {
1985
- abstract render(options: {
1986
- [key: string]: any;
1987
- }): VNode;
1988
- }
1989
-
1990
- export declare type BubbleMessageFunctionRenderer = (options: {
1991
- [key: string]: any;
1992
- }) => VNode;
1993
-
1994
- export declare interface BubbleMessageProps {
1995
- type: string;
1996
- [key: string]: any;
1997
- }
1998
-
1999
- export declare type BubbleMessageRenderer = BubbleMessageFunctionRenderer | BubbleMessageClassRenderer | Component;
1823
+ export declare type BubblePalcement = 'start' | 'end';
2000
1824
 
2001
- export declare interface BubbleProps extends BubbleCommonProps {
1825
+ export declare interface BubbleProps {
2002
1826
  /**
2003
1827
  * 气泡内容
2004
1828
  */
2005
1829
  content?: string;
2006
- messages?: BubbleMessageProps[];
2007
1830
  id?: string | number | symbol;
1831
+ /**
1832
+ * 气泡位置
1833
+ */
1834
+ placement?: BubblePalcement;
1835
+ avatar?: VNode;
2008
1836
  role?: string;
1837
+ /**
1838
+ * 内容类型
1839
+ */
1840
+ type?: 'text' | 'markdown';
2009
1841
  loading?: boolean;
2010
1842
  aborted?: boolean;
1843
+ /**
1844
+ * type 为 'markdown' 时,markdown 的配置项
1845
+ */
1846
+ mdConfig?: Options;
1847
+ maxWidth?: string | number;
2011
1848
  }
2012
1849
 
2013
- declare const BubbleProvider: typeof _default_18 & {
2014
- install: typeof bubbleProviderInstall;
2015
- };
2016
- export { BubbleProvider }
2017
- export { BubbleProvider as TrBubbleProvider }
2018
-
2019
- declare const bubbleProviderInstall: (app: App) => void;
2020
-
2021
- export declare type BubbleRoleConfig = BubbleCommonProps & {
1850
+ export declare type BubbleRoleConfig = Pick<BubbleProps, 'placement' | 'avatar' | 'type' | 'mdConfig' | 'maxWidth'> & {
2022
1851
  slots?: BubbleSlots;
2023
1852
  };
2024
1853
 
@@ -2034,11 +1863,6 @@ export declare interface BubbleSlots {
2034
1863
  }) => unknown;
2035
1864
  }
2036
1865
 
2037
- export declare interface ButtonGroupConfig {
2038
- file?: ControlState & fileUploadConfig;
2039
- submit?: ControlState;
2040
- }
2041
-
2042
1866
  export declare interface ContainerProps {
2043
1867
  /**
2044
1868
  * model:show
@@ -2057,284 +1881,114 @@ export declare interface ContainerSlots {
2057
1881
  footer: () => unknown;
2058
1882
  }
2059
1883
 
2060
- export declare interface ControlState {
2061
- tooltips?: string | TooltipRender;
2062
- disabled?: boolean;
2063
- }
2064
-
2065
- export declare interface CreatePluginDialogEmits {
2066
- (e: 'update:visible', value: boolean): void;
2067
- (e: 'confirm', data: AddPluginCodeData): void;
2068
- (e: 'cancel'): void;
2069
- }
2070
-
2071
- export declare interface CreatePluginDialogProps {
2072
- visible: boolean;
2073
- title?: string;
2074
- }
2075
-
2076
1884
  declare const _default: {
2077
1885
  install<T>(app: App<T>): void;
2078
1886
  };
2079
1887
  export default _default;
2080
1888
 
2081
- declare const _default_10: typeof _default_27 & {
1889
+ declare const _default_10: typeof _default_24 & {
2082
1890
  install: typeof install_8;
2083
1891
  };
2084
- export { _default_10 as Sender }
2085
- export { _default_10 as TrSender }
1892
+ export { _default_10 as SuggestionPopover }
1893
+ export { _default_10 as TrSuggestionPopover }
2086
1894
 
2087
- declare const _default_11: typeof _default_29 & {
1895
+ declare const _default_11: typeof _default_25 & {
2088
1896
  install: typeof install_9;
2089
1897
  };
2090
- export { _default_11 as SuggestionPills }
2091
- export { _default_11 as TrSuggestionPills }
2092
-
2093
- declare const _default_12: typeof _default_30 & {
2094
- install: typeof install_10;
2095
- };
2096
- export { _default_12 as SuggestionPopover }
2097
- export { _default_12 as TrSuggestionPopover }
2098
-
2099
- declare const _default_13: typeof _default_31 & {
2100
- install: typeof install_11;
2101
- };
2102
- export { _default_13 as TrWelcome }
2103
- export { _default_13 as Welcome }
2104
-
2105
- declare const _default_14: typeof _default_32 & {
2106
- install: typeof install_12;
2107
- };
2108
- export { _default_14 as McpServerPicker }
2109
- export { _default_14 as TrMcpServerPicker }
2110
-
2111
- declare const _default_15: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2112
- "update:items": (items: Attachment[]) => any;
2113
- remove: (file: Attachment) => any;
2114
- download: (payload: {
2115
- event: MouseEvent;
2116
- file: Attachment;
2117
- }) => any;
2118
- retry: (file: Attachment) => any;
2119
- preview: (file: Attachment) => any;
2120
- action: (payload: {
2121
- action: ActionButton;
2122
- file: Attachment;
2123
- }) => any;
2124
- }, string, PublicProps, Readonly<AttachmentListProps> & Readonly<{
2125
- "onUpdate:items"?: ((items: Attachment[]) => any) | undefined;
2126
- onRemove?: ((file: Attachment) => any) | undefined;
2127
- onDownload?: ((payload: {
2128
- event: MouseEvent;
2129
- file: Attachment;
2130
- }) => any) | undefined;
2131
- onRetry?: ((file: Attachment) => any) | undefined;
2132
- onPreview?: ((file: Attachment) => any) | undefined;
2133
- onAction?: ((payload: {
2134
- action: ActionButton;
2135
- file: Attachment;
2136
- }) => any) | undefined;
2137
- }>, {
2138
- actions: ActionButton[];
2139
- fileMatchers: FileTypeMatcher_2[];
2140
- variant: DisplayVariant_2;
2141
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1898
+ export { _default_11 as TrWelcome }
1899
+ export { _default_11 as Welcome }
2142
1900
 
2143
- declare const _default_16: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1901
+ declare const _default_12: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2144
1902
 
2145
- declare const _default_17: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1903
+ declare const _default_13: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2146
1904
  scrollContainerRef: HTMLDivElement;
2147
1905
  }, HTMLDivElement>;
2148
1906
 
2149
- declare const _default_18: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2150
-
2151
- declare const _default_19: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2152
-
2153
- declare const _default_2: typeof _default_15 & {
2154
- install: typeof install;
2155
- };
2156
- export { _default_2 as Attachments }
2157
- export { _default_2 as TrAttachments }
2158
-
2159
- declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1907
+ declare const _default_14: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2160
1908
 
2161
- declare const _default_21: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
1909
+ declare const _default_15: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2162
1910
 
2163
- declare const _default_22: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
1911
+ declare const _default_16: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2164
1912
 
2165
- declare const _default_23: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2166
- action: (name: string) => any;
1913
+ declare const _default_17: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2167
1914
  operation: (name: string) => any;
1915
+ action: (name: string) => any;
2168
1916
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
2169
- onAction?: ((name: string) => any) | undefined;
2170
1917
  onOperation?: ((name: string) => any) | undefined;
1918
+ onAction?: ((name: string) => any) | undefined;
2171
1919
  }>, {
2172
1920
  operationsLimit: number;
2173
1921
  actionsLimit: number;
2174
1922
  sourcesLinesLimit: number;
2175
1923
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2176
1924
 
2177
- declare const _default_24: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
1925
+ declare const _default_18: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2178
1926
  size: string | number;
2179
1927
  svgSize: string | number;
2180
1928
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2181
1929
 
2182
- declare const _default_25: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1930
+ declare const _default_19: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2183
1931
 
2184
- declare const _default_26: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1932
+ declare const _default_2: typeof _default_14 & {
1933
+ install: typeof install;
1934
+ };
1935
+ export { _default_2 as Container }
1936
+ export { _default_2 as TrContainer }
2185
1937
 
2186
- declare const _default_27: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1938
+ declare const _default_20: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2187
1939
 
2188
- declare const _default_28: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1940
+ declare const _default_21: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2189
1941
 
2190
- declare const _default_29: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1942
+ declare const _default_22: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2191
1943
 
2192
- declare const _default_3: typeof _default_19 & {
2193
- install: typeof install_2;
2194
- };
2195
- export { _default_3 as Container }
2196
- export { _default_3 as TrContainer }
1944
+ declare const _default_23: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2197
1945
 
2198
- declare const _default_30: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1946
+ declare const _default_24: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2199
1947
 
2200
- declare const _default_31: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1948
+ declare const _default_25: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2201
1949
 
2202
- declare const _default_32: DefineComponent<McpServerPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2203
- [x: string]: any;
2204
- } & {
2205
- [x: string]: any;
2206
- }, string, PublicProps, Readonly<McpServerPickerProps> & Readonly<{
2207
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
2208
- }>, {
2209
- title: string;
2210
- loading: boolean;
2211
- visible: boolean;
2212
- searchPlaceholder: string;
2213
- enableParentChildSync: boolean;
2214
- installedPlugins: PluginInfo[];
2215
- marketPlugins: PluginInfo[];
2216
- enableSearch: boolean;
2217
- marketCategoryOptions: MarketCategoryOption_2[];
2218
- marketCategoryPlaceholder: string;
2219
- enableMarketCategoryFilter: boolean;
2220
- defaultActiveTab: "installed" | "market";
2221
- showInstalledTab: boolean;
2222
- showMarketTab: boolean;
2223
- popupConfig: PopupConfig;
2224
- installedTabTitle: string;
2225
- marketTabTitle: string;
2226
- showCustomAddButton: boolean;
2227
- customAddButtonText: string;
2228
- allowPluginToggle: boolean;
2229
- allowToolToggle: boolean;
2230
- allowPluginDelete: boolean;
2231
- allowPluginAdd: boolean;
2232
- marketLoading: boolean;
2233
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2234
-
2235
- declare const _default_4: typeof _default_20 & {
1950
+ declare const _default_3: typeof _default_15 & {
1951
+ install: typeof install_2;
1952
+ };
1953
+ export { _default_3 as Conversations }
1954
+ export { _default_3 as TrConversations }
1955
+
1956
+ declare const _default_4: typeof _default_16 & {
2236
1957
  install: typeof install_3;
2237
1958
  };
2238
- export { _default_4 as Conversations }
2239
- export { _default_4 as TrConversations }
1959
+ export { _default_4 as DropdownMenu }
1960
+ export { _default_4 as TrDropdownMenu }
2240
1961
 
2241
- declare const _default_5: typeof _default_21 & {
1962
+ declare const _default_5: typeof _default_17 & {
2242
1963
  install: typeof install_4;
2243
1964
  };
2244
- export { _default_5 as DragOverlay }
2245
- export { _default_5 as TrDragOverlay }
1965
+ export { _default_5 as Feedback }
1966
+ export { _default_5 as TrFeedback }
2246
1967
 
2247
- declare const _default_6: typeof _default_22 & {
2248
- install: typeof install_5;
1968
+ declare const _default_6: {
1969
+ install: <T>(app: App<T>) => void;
1970
+ name: string;
2249
1971
  };
2250
- export { _default_6 as DropdownMenu }
2251
- export { _default_6 as TrDropdownMenu }
1972
+ export { _default_6 as History }
1973
+ export { _default_6 as TrHistory }
2252
1974
 
2253
- declare const _default_7: typeof _default_23 & {
2254
- install: typeof install_6;
1975
+ declare const _default_7: typeof _default_18 & {
1976
+ install: typeof install_5;
2255
1977
  };
2256
- export { _default_7 as Feedback }
2257
- export { _default_7 as TrFeedback }
1978
+ export { _default_7 as IconButton }
1979
+ export { _default_7 as TrIconButton }
2258
1980
 
2259
- declare const _default_8: {
2260
- install: <T>(app: App<T>) => void;
2261
- name: string;
1981
+ declare const _default_8: typeof _default_21 & {
1982
+ install: typeof install_6;
2262
1983
  };
2263
- export { _default_8 as History }
2264
- export { _default_8 as TrHistory }
1984
+ export { _default_8 as Sender }
1985
+ export { _default_8 as TrSender }
2265
1986
 
2266
- declare const _default_9: typeof _default_24 & {
1987
+ declare const _default_9: typeof _default_23 & {
2267
1988
  install: typeof install_7;
2268
1989
  };
2269
- export { _default_9 as IconButton }
2270
- export { _default_9 as TrIconButton }
2271
-
2272
- export declare type DisplayVariant = 'picture' | 'card' | 'auto';
2273
-
2274
- declare interface DragAwareElement extends HTMLElement {
2275
- __vDropzoneHandlers__?: Handlers;
2276
- __vDropzoneOptions__?: DragAwareOptions;
2277
- }
2278
-
2279
- declare type DragAwareOptions = Omit<DropzoneBinding, 'onDraggingChange'>;
2280
-
2281
- /**
2282
- * 拖拽上传组件的属性
2283
- */
2284
- export declare interface DragOverlayProps {
2285
- /**
2286
- * 覆盖层标题
2287
- * @default ''
2288
- */
2289
- overlayTitle?: string;
2290
- /**
2291
- * 覆盖层描述文本数组
2292
- * @default []
2293
- */
2294
- overlayDescription?: string[];
2295
- /**
2296
- * 控制拖拽覆盖层是否可见。这旨在与 v-dropzone 指令结合使用,由父组件控制。
2297
- * @default false
2298
- */
2299
- isDragging?: boolean;
2300
- /**
2301
- * @description 拖拽目标元素,用于定位覆盖层
2302
- * @default null
2303
- */
2304
- dragTarget?: HTMLElement | null;
2305
- /**
2306
- * @description 是否全屏模式,控制覆盖层的边框显示
2307
- * @default false
2308
- */
2309
- fullscreen?: boolean;
2310
- }
2311
-
2312
- export declare interface DragOverlaySlots {
2313
- /**
2314
- * 覆盖层插槽,用于自定义拖拽时的覆盖层内容
2315
- */
2316
- overlay?: (props: {
2317
- isDragging: boolean;
2318
- }) => unknown;
2319
- }
2320
-
2321
- /**
2322
- * 拖拽区域错误码
2323
- */
2324
- declare enum DragZoneErrorCode {
2325
- /**
2326
- * 文件类型不允许
2327
- */
2328
- FileTypeNotAllowed = "file-type-not-allowed",
2329
- /**
2330
- * 文件大小超出限制
2331
- */
2332
- FileSizeExceeded = "file-size-exceeded",
2333
- /**
2334
- * 文件数量超出限制
2335
- */
2336
- FileCountExceeded = "file-count-exceeded"
2337
- }
1990
+ export { _default_9 as SuggestionPills }
1991
+ export { _default_9 as TrSuggestionPills }
2338
1992
 
2339
1993
  export declare interface DropdownMenuEmits {
2340
1994
  (e: 'item-click', item: DropdownMenuItem): void;
@@ -2383,54 +2037,6 @@ export declare interface DropdownMenuSlots {
2383
2037
  trigger?: () => VNode | VNode[];
2384
2038
  }
2385
2039
 
2386
- /**
2387
- * 拖拽上传组件的属性
2388
- */
2389
- export declare interface DropzoneBinding {
2390
- /**
2391
- * 允许上传的文件类型, 与原生 input 的 accept 属性一致
2392
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept
2393
- * @example '.jpg,.png,image/*'
2394
- */
2395
- accept?: string;
2396
- /**
2397
- * 是否允许多选
2398
- * @default true
2399
- */
2400
- multiple?: boolean;
2401
- /**
2402
- * 是否禁用拖拽
2403
- * @default false
2404
- */
2405
- disabled?: boolean;
2406
- /**
2407
- * 单个文件的最大大小(单位:字节)
2408
- * @default 10 * 1024 * 1024 (10MB)
2409
- */
2410
- maxSize?: number;
2411
- /**
2412
- * 允许上传的最大文件数量
2413
- * @default 3
2414
- */
2415
- maxFiles?: number;
2416
- /**
2417
- * 拖拽完成后的回调
2418
- * @param files 上传的文件
2419
- */
2420
- onDrop: (files: File[]) => void;
2421
- /**
2422
- * 拖拽失败后的回调
2423
- * @param rejection 拒绝信息
2424
- */
2425
- onError: (rejection: FileRejection) => void;
2426
- /**
2427
- * 拖拽开始时的回调
2428
- * @param dragging 是否正在拖拽
2429
- * @param element 拖拽目标元素
2430
- */
2431
- onDraggingChange: (dragging: boolean, element: HTMLElement | null) => void;
2432
- }
2433
-
2434
2040
  export declare interface FeedbackEvents {
2435
2041
  (e: 'operation', name: string): void;
2436
2042
  (e: 'action', name: string): void;
@@ -2457,57 +2063,6 @@ export declare interface FeedbackProps {
2457
2063
  sourcesLinesLimit?: number;
2458
2064
  }
2459
2065
 
2460
- export declare interface FileCardEmits {
2461
- (e: 'remove', file: Attachment): void;
2462
- (e: 'preview', file: Attachment): void;
2463
- (e: 'download', payload: {
2464
- event: MouseEvent;
2465
- file: Attachment;
2466
- }): void;
2467
- (e: 'retry', file: Attachment): void;
2468
- (e: 'action', payload: {
2469
- action: ActionButton;
2470
- file: Attachment;
2471
- }): void;
2472
- }
2473
-
2474
- export declare interface FileCardProps extends BaseCardProps {
2475
- file: Attachment;
2476
- variant: 'picture' | 'card';
2477
- showStatus?: boolean;
2478
- }
2479
-
2480
- /**
2481
- * 文件拒绝信息
2482
- */
2483
- export declare interface FileRejection {
2484
- files: File[];
2485
- code: DragZoneErrorCode;
2486
- message: string;
2487
- }
2488
-
2489
- export declare type FileStatus = 'uploading' | 'success' | 'error';
2490
-
2491
- export declare type FileType = BaseFileType | string;
2492
-
2493
- export declare interface FileTypeMatcher {
2494
- type: string;
2495
- matcher: (file: File | string) => boolean;
2496
- icon?: Component;
2497
- }
2498
-
2499
- declare interface fileUploadConfig {
2500
- accept?: string;
2501
- multiple?: boolean;
2502
- }
2503
-
2504
- export declare interface Handlers {
2505
- handleDragEnter: (e: DragEvent) => void;
2506
- handleDragOver: (e: DragEvent) => void;
2507
- handleDragLeave: (e: DragEvent) => void;
2508
- handleDrop: (e: DragEvent) => void;
2509
- }
2510
-
2511
2066
  export declare type HistoryData = HistoryItem[] | HistoryGroup[];
2512
2067
 
2513
2068
  export declare interface HistoryEvents {
@@ -2554,12 +2109,6 @@ export declare type InputMode = 'single' | 'multiple';
2554
2109
 
2555
2110
  declare const install: <T>(app: App<T>) => void;
2556
2111
 
2557
- declare const install_10: <T>(app: App<T>) => void;
2558
-
2559
- declare const install_11: <T>(app: App<T>) => void;
2560
-
2561
- declare const install_12: <T>(app: App<T>) => void;
2562
-
2563
2112
  declare const install_2: <T>(app: App<T>) => void;
2564
2113
 
2565
2114
  declare const install_3: <T>(app: App<T>) => void;
@@ -2587,56 +2136,6 @@ export declare interface KeyboardHandler {
2587
2136
  triggerSubmit: () => void;
2588
2137
  }
2589
2138
 
2590
- export declare interface MarketCategoryOption {
2591
- value: string;
2592
- label: string;
2593
- }
2594
-
2595
- export declare interface McpServerPickerEmits {
2596
- (e: 'search', query: string, tab: 'installed' | 'market'): void;
2597
- (e: 'market-category-change', category: string): void;
2598
- (e: 'tab-change', activeTab: 'installed' | 'market'): void;
2599
- (e: 'plugin-toggle', plugin: PluginInfo, enabled: boolean): void;
2600
- (e: 'plugin-delete', plugin: PluginInfo): void;
2601
- (e: 'plugin-add', plugin: PluginInfo, added: boolean): void;
2602
- (e: 'plugin-expand', plugin: PluginInfo, expanded: boolean): void;
2603
- (e: 'tool-toggle', plugin: PluginInfo, toolId: string, enabled: boolean): void;
2604
- (e: 'custom-add'): void;
2605
- (e: 'plugin-form-add', data: AddPluginFormData): void;
2606
- (e: 'plugin-code-add', data: AddPluginCodeData): void;
2607
- (e: 'refresh', tab: 'installed' | 'market'): void;
2608
- (e: 'update:activeCount', count: number): void;
2609
- (e: 'update:visible', visible: boolean): void;
2610
- }
2611
-
2612
- export declare interface McpServerPickerProps {
2613
- installedPlugins?: PluginInfo[];
2614
- marketPlugins?: PluginInfo[];
2615
- searchPlaceholder?: string;
2616
- enableSearch?: boolean;
2617
- marketCategoryOptions?: MarketCategoryOption[];
2618
- marketCategoryPlaceholder?: string;
2619
- enableMarketCategoryFilter?: boolean;
2620
- defaultActiveTab?: 'installed' | 'market';
2621
- showInstalledTab?: boolean;
2622
- showMarketTab?: boolean;
2623
- visible?: boolean;
2624
- popupConfig?: PopupConfig;
2625
- activeCount?: number;
2626
- installedTabTitle?: string;
2627
- marketTabTitle?: string;
2628
- title?: string;
2629
- showCustomAddButton?: boolean;
2630
- customAddButtonText?: string;
2631
- allowPluginToggle?: boolean;
2632
- allowToolToggle?: boolean;
2633
- allowPluginDelete?: boolean;
2634
- allowPluginAdd?: boolean;
2635
- enableParentChildSync?: boolean;
2636
- loading?: boolean;
2637
- marketLoading?: boolean;
2638
- }
2639
-
2640
2139
  export declare type MultiTabHistoryProps = {
2641
2140
  tabs: {
2642
2141
  title: string;
@@ -2645,65 +2144,7 @@ export declare type MultiTabHistoryProps = {
2645
2144
  data: Record<string, HistoryData>;
2646
2145
  } & BaseHistoryProps;
2647
2146
 
2648
- export declare interface PluginCardEmits {
2649
- (e: 'update:expanded', value: boolean): void;
2650
- (e: 'toggle-expand'): void;
2651
- (e: 'toggle-plugin', enabled: boolean): void;
2652
- (e: 'toggle-tool', toolId: string, enabled: boolean): void;
2653
- (e: 'add-plugin', added: boolean): void;
2654
- (e: 'delete-plugin'): void;
2655
- }
2656
-
2657
- export declare type PluginCardMode = 'installed' | 'market';
2658
-
2659
- export declare interface PluginCardProps {
2660
- plugin: PluginInfo;
2661
- mode?: PluginCardMode;
2662
- expandable?: boolean;
2663
- expanded?: boolean;
2664
- showToolCount?: boolean;
2665
- enableParentChildSync?: boolean;
2666
- }
2667
-
2668
- export declare interface PluginDialogState {
2669
- codeEditor: boolean;
2670
- formEditor: boolean;
2671
- }
2672
-
2673
- export declare interface PluginInfo {
2674
- id: string;
2675
- name: string;
2676
- icon: string;
2677
- description: string;
2678
- toolCount?: number;
2679
- enabled?: boolean;
2680
- expanded?: boolean;
2681
- tools?: PluginTool[];
2682
- added?: boolean;
2683
- category?: string;
2684
- }
2685
-
2686
- export declare interface PluginTool {
2687
- id: string;
2688
- name: string;
2689
- description: string;
2690
- enabled: boolean;
2691
- }
2692
-
2693
- export declare interface PopupConfig {
2694
- type: 'fixed' | 'drawer';
2695
- position?: {
2696
- top?: string | number;
2697
- left?: string | number;
2698
- right?: string | number;
2699
- bottom?: string | number;
2700
- };
2701
- drawer?: {
2702
- direction: 'left' | 'right';
2703
- };
2704
- }
2705
-
2706
- declare const Prompt: typeof _default_25 & {
2147
+ declare const Prompt: typeof _default_19 & {
2707
2148
  install: typeof installPrompt;
2708
2149
  };
2709
2150
  export { Prompt }
@@ -2736,7 +2177,7 @@ export declare interface PromptProps {
2736
2177
  badge?: string | VNode;
2737
2178
  }
2738
2179
 
2739
- declare const Prompts: typeof _default_26 & {
2180
+ declare const Prompts: typeof _default_20 & {
2740
2181
  install: typeof installPrompts;
2741
2182
  };
2742
2183
  export { Prompts }
@@ -2788,7 +2229,6 @@ export declare type SenderEmits = {
2788
2229
  (e: 'escape-press'): void;
2789
2230
  (e: 'cancel'): void;
2790
2231
  (e: 'reset-template'): void;
2791
- (e: 'files-selected', files: File[]): void;
2792
2232
  };
2793
2233
 
2794
2234
  export declare interface SenderProps {
@@ -2803,7 +2243,6 @@ export declare interface SenderProps {
2803
2243
  modelValue?: string;
2804
2244
  mode?: InputMode;
2805
2245
  maxLength?: number;
2806
- buttonGroup?: ButtonGroupConfig;
2807
2246
  submitType?: SubmitTrigger;
2808
2247
  speech?: boolean | SpeechConfig;
2809
2248
  placeholder?: string;
@@ -2865,7 +2304,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
2865
2304
 
2866
2305
  export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
2867
2306
 
2868
- declare const SuggestionPillButton: typeof _default_28 & {
2307
+ declare const SuggestionPillButton: typeof _default_22 & {
2869
2308
  install: typeof installPillButton;
2870
2309
  };
2871
2310
  export { SuggestionPillButton }
@@ -3013,21 +2452,12 @@ declare interface TextItem extends BaseTextItem {
3013
2452
  */
3014
2453
  export declare type ThemeType = 'light' | 'dark';
3015
2454
 
3016
- export declare type TooltipRender = () => VNode | string;
3017
-
3018
2455
  export declare type UserItem = UserTextItem | UserTemplateItem;
3019
2456
 
3020
2457
  export declare type UserTemplateItem = Pick<TemplateItem, 'type' | 'content'>;
3021
2458
 
3022
2459
  export declare type UserTextItem = Omit<TextItem, 'id'>;
3023
2460
 
3024
- /**
3025
- * 拖拽区域指令
3026
- * @param el 元素
3027
- * @param binding 绑定
3028
- */
3029
- export declare const vDropzone: Directive<DragAwareElement, DropzoneBinding>;
3030
-
3031
2461
  export declare interface WelcomeProps {
3032
2462
  title: string;
3033
2463
  description: string;