@opentiny/tiny-robot 0.4.2-alpha.8 → 0.5.0

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
@@ -13,7 +13,6 @@ import { ComputedRef } from 'vue';
13
13
  import { CreateComponentPublicInstanceWithMixins } from 'vue';
14
14
  import { CSSProperties } from 'vue';
15
15
  import { DebuggerEvent } from 'vue';
16
- import { default as default_2 } from './Layout.vue';
17
16
  import { DefineComponent } from 'vue';
18
17
  import { Directive } from 'vue';
19
18
  import { Editor } from '@tiptap/vue-3';
@@ -68,7 +67,13 @@ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
68
67
  bubbleRef: HTMLDivElement;
69
68
  }, HTMLDivElement>;
70
69
 
71
- declare const __VLS_component_10: DefineComponent<SenderProps_2, {
70
+ declare const __VLS_component_10: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
71
+ "item-click": (ev: MouseEvent, item: PromptProps) => any;
72
+ }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
73
+ "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
74
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
75
+
76
+ declare const __VLS_component_11: DefineComponent<SenderProps_2, {
72
77
  focus: () => void;
73
78
  blur: () => void;
74
79
  clear: () => void;
@@ -129,6 +134,7 @@ readonly autoSize?: AutoSize | undefined;
129
134
  readonly maxLength?: number | undefined;
130
135
  readonly showWordLimit?: boolean | undefined;
131
136
  readonly clearable?: boolean | undefined;
137
+ readonly hasExternalContent?: boolean | undefined;
132
138
  readonly extensions?: Extension[] | any[] | undefined;
133
139
  readonly size?: "normal" | "small" | undefined;
134
140
  readonly stopText?: string | undefined;
@@ -185,6 +191,7 @@ placeholder: string;
185
191
  mode: InputMode;
186
192
  enterkeyhint: EnterKeyHint;
187
193
  autoSize: AutoSize;
194
+ hasExternalContent: boolean;
188
195
  extensions: Extension[] | any[];
189
196
  submitType: SubmitTrigger;
190
197
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -213,6 +220,7 @@ placeholder: string;
213
220
  mode: InputMode;
214
221
  enterkeyhint: EnterKeyHint;
215
222
  autoSize: AutoSize;
223
+ hasExternalContent: boolean;
216
224
  extensions: Extension[] | any[];
217
225
  submitType: SubmitTrigger;
218
226
  }> & Omit<Readonly<SenderProps> & Readonly<{
@@ -223,7 +231,7 @@ onCancel?: (() => any) | undefined;
223
231
  onFocus?: ((event: FocusEvent) => any) | undefined;
224
232
  onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
225
233
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
226
- }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
234
+ }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "hasExternalContent" | "extensions" | "submitType") | "getContent"> & {
227
235
  submit: () => void;
228
236
  clear: () => void;
229
237
  cancel: () => void;
@@ -345,9 +353,9 @@ stop: () => void;
345
353
  }) | null;
346
354
  }, HTMLDivElement>;
347
355
 
348
- declare const __VLS_component_11: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
356
+ declare const __VLS_component_12: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
349
357
 
350
- declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_3, {
358
+ declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_3, {
351
359
  children: ComputedRef<(HTMLElement | SVGElement)[]>;
352
360
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
353
361
  "update:showAll": (value: boolean | undefined) => any;
@@ -367,7 +375,7 @@ floatingItemsRef: HTMLDivElement;
367
375
  floatingMaybeItemRefs: unknown[];
368
376
  }, HTMLDivElement>;
369
377
 
370
- declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_4, {
378
+ declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_4, {
371
379
  update: () => void;
372
380
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
373
381
  "update:selectedGroup": (value: string) => any;
@@ -501,7 +509,7 @@ show?: TooltipContentProps["show"];
501
509
  }>, {}, {}, {}, {}, {}> | null;
502
510
  }, any>;
503
511
 
504
- declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
512
+ declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
505
513
  "update:theme": (value: string) => any;
506
514
  "update:colorMode": (value: ColorMode) => any;
507
515
  }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
@@ -512,11 +520,11 @@ targetElement: string;
512
520
  storageKey: string;
513
521
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
514
522
 
515
- declare const __VLS_component_15: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
523
+ declare const __VLS_component_16: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
516
524
  align: "left" | "center" | "right" | string;
517
525
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
518
526
 
519
- declare const __VLS_component_16: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
527
+ declare const __VLS_component_17: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
520
528
  "update:visible": (value: boolean) => any;
521
529
  } & {
522
530
  refresh: (tab: "installed" | "market") => any;
@@ -567,13 +575,13 @@ allowPluginAdd: boolean;
567
575
  marketLoading: boolean;
568
576
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
569
577
 
570
- declare const __VLS_component_17: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
578
+ declare const __VLS_component_18: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
571
579
  disabled: boolean;
572
580
  active: boolean;
573
581
  tooltipPlacement: TooltipPlacement;
574
582
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
575
583
 
576
- declare const __VLS_component_18: DefineComponent<VoiceButtonProps, {
584
+ declare const __VLS_component_19: DefineComponent<VoiceButtonProps, {
577
585
  start: () => void;
578
586
  stop: () => void;
579
587
  speechState: SpeechState;
@@ -594,8 +602,6 @@ tooltipPlacement: TooltipPlacement;
594
602
  autoInsert: boolean;
595
603
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
596
604
 
597
- declare const __VLS_component_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
598
-
599
605
  declare const __VLS_component_2: DefineComponent<BubbleListProps, {
600
606
  scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
601
607
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -613,6 +619,8 @@ fallbackRole: string;
613
619
  listRef: HTMLDivElement;
614
620
  }, HTMLDivElement>;
615
621
 
622
+ declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
623
+
616
624
  declare const __VLS_component_3: DefineComponent<BubbleProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
617
625
 
618
626
  declare const __VLS_component_4: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -818,13 +826,156 @@ content?: () => VNode[];
818
826
  }) | null;
819
827
  }, any>;
820
828
 
821
- declare const __VLS_component_8: DefineComponent<LayoutAsideToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutAsideToggleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
829
+ declare const __VLS_component_8: DefineComponent<LayoutNormalProps | (LayoutAsidePanelsProps & {
830
+ floatingState?: LayoutFloatingState;
831
+ defaultFloatingState?: never;
832
+ } & {
833
+ mode: "floating";
834
+ floatingOptions?: LayoutFloatingOptions;
835
+ }) | (LayoutAsidePanelsProps & {
836
+ floatingState?: never;
837
+ defaultFloatingState?: LayoutFloatingState;
838
+ } & {
839
+ mode: "floating";
840
+ floatingOptions?: LayoutFloatingOptions;
841
+ }), {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
842
+ "aside-resize-start": (detail: LayoutAsideResizeDetail) => any;
843
+ "aside-resize-end": (detail: LayoutAsideResizeDetail) => any;
844
+ "update:floatingState": (value: LayoutFloatingState) => any;
845
+ "floating-drag-start": (detail: LayoutFloatingState) => any;
846
+ "floating-drag": (detail: LayoutFloatingState) => any;
847
+ "floating-drag-end": (detail: LayoutFloatingState) => any;
848
+ "floating-resize-start": (detail: LayoutFloatingResizeDetail) => any;
849
+ "floating-resize": (detail: LayoutFloatingResizeDetail) => any;
850
+ "floating-resize-end": (detail: LayoutFloatingResizeDetail) => any;
851
+ "aside-open-change": (detail: LayoutAsideOpenDetail) => any;
852
+ "aside-resize": (detail: LayoutAsideResizeDetail) => any;
853
+ "left-aside-open-change": (detail: LayoutAsideOpenValue) => any;
854
+ "left-aside-resize-start": (detail: LayoutAsideResizeValue) => any;
855
+ "left-aside-resize": (detail: LayoutAsideResizeValue) => any;
856
+ "left-aside-resize-end": (detail: LayoutAsideResizeValue) => any;
857
+ "right-aside-open-change": (detail: LayoutAsideOpenValue) => any;
858
+ "right-aside-resize-start": (detail: LayoutAsideResizeValue) => any;
859
+ "right-aside-resize": (detail: LayoutAsideResizeValue) => any;
860
+ "right-aside-resize-end": (detail: LayoutAsideResizeValue) => any;
861
+ }, string, PublicProps, Readonly<LayoutNormalProps | (LayoutAsidePanelsProps & {
862
+ floatingState?: LayoutFloatingState;
863
+ defaultFloatingState?: never;
864
+ } & {
865
+ mode: "floating";
866
+ floatingOptions?: LayoutFloatingOptions;
867
+ }) | (LayoutAsidePanelsProps & {
868
+ floatingState?: never;
869
+ defaultFloatingState?: LayoutFloatingState;
870
+ } & {
871
+ mode: "floating";
872
+ floatingOptions?: LayoutFloatingOptions;
873
+ })> & Readonly<{
874
+ "onAside-resize-start"?: ((detail: LayoutAsideResizeDetail) => any) | undefined;
875
+ "onAside-resize-end"?: ((detail: LayoutAsideResizeDetail) => any) | undefined;
876
+ "onUpdate:floatingState"?: ((value: LayoutFloatingState) => any) | undefined;
877
+ "onFloating-drag-start"?: ((detail: LayoutFloatingState) => any) | undefined;
878
+ "onFloating-drag"?: ((detail: LayoutFloatingState) => any) | undefined;
879
+ "onFloating-drag-end"?: ((detail: LayoutFloatingState) => any) | undefined;
880
+ "onFloating-resize-start"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
881
+ "onFloating-resize"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
882
+ "onFloating-resize-end"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
883
+ "onAside-open-change"?: ((detail: LayoutAsideOpenDetail) => any) | undefined;
884
+ "onAside-resize"?: ((detail: LayoutAsideResizeDetail) => any) | undefined;
885
+ "onLeft-aside-open-change"?: ((detail: LayoutAsideOpenValue) => any) | undefined;
886
+ "onLeft-aside-resize-start"?: ((detail: LayoutAsideResizeValue) => any) | undefined;
887
+ "onLeft-aside-resize"?: ((detail: LayoutAsideResizeValue) => any) | undefined;
888
+ "onLeft-aside-resize-end"?: ((detail: LayoutAsideResizeValue) => any) | undefined;
889
+ "onRight-aside-open-change"?: ((detail: LayoutAsideOpenValue) => any) | undefined;
890
+ "onRight-aside-resize-start"?: ((detail: LayoutAsideResizeValue) => any) | undefined;
891
+ "onRight-aside-resize"?: ((detail: LayoutAsideResizeValue) => any) | undefined;
892
+ "onRight-aside-resize-end"?: ((detail: LayoutAsideResizeValue) => any) | undefined;
893
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
894
+ surfaceRef: ({
895
+ $: ComponentInternalInstance;
896
+ $data: {};
897
+ $props: {
898
+ readonly mode: LayoutMode;
899
+ readonly floatingState?: LayoutFloatingState | undefined;
900
+ readonly floatingOptions?: LayoutFloatingOptions | undefined;
901
+ readonly "onUpdate:floatingState"?: ((value: LayoutFloatingState) => any) | undefined;
902
+ readonly "onFloating-drag-start"?: ((detail: LayoutFloatingState) => any) | undefined;
903
+ readonly "onFloating-drag"?: ((detail: LayoutFloatingState) => any) | undefined;
904
+ readonly "onFloating-drag-end"?: ((detail: LayoutFloatingState) => any) | undefined;
905
+ readonly "onFloating-resize-start"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
906
+ readonly "onFloating-resize"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
907
+ readonly "onFloating-resize-end"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
908
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
909
+ $attrs: Attrs;
910
+ $refs: {
911
+ [x: string]: unknown;
912
+ } & {
913
+ rootEl: HTMLDivElement;
914
+ };
915
+ $slots: Readonly<{
916
+ [name: string]: Slot<any> | undefined;
917
+ }>;
918
+ $root: ComponentPublicInstance | null;
919
+ $parent: ComponentPublicInstance | null;
920
+ $host: Element | null;
921
+ $emit: ((event: "update:floatingState", value: LayoutFloatingState) => void) & ((event: "floating-drag-start", detail: LayoutFloatingState) => void) & ((event: "floating-drag", detail: LayoutFloatingState) => void) & ((event: "floating-drag-end", detail: LayoutFloatingState) => void) & ((event: "floating-resize-start", detail: LayoutFloatingResizeDetail) => void) & ((event: "floating-resize", detail: LayoutFloatingResizeDetail) => void) & ((event: "floating-resize-end", detail: LayoutFloatingResizeDetail) => void);
922
+ $el: any;
923
+ $options: ComponentOptionsBase<Readonly<LayoutSurfaceProps> & Readonly<{
924
+ "onUpdate:floatingState"?: ((value: LayoutFloatingState) => any) | undefined;
925
+ "onFloating-drag-start"?: ((detail: LayoutFloatingState) => any) | undefined;
926
+ "onFloating-drag"?: ((detail: LayoutFloatingState) => any) | undefined;
927
+ "onFloating-drag-end"?: ((detail: LayoutFloatingState) => any) | undefined;
928
+ "onFloating-resize-start"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
929
+ "onFloating-resize"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
930
+ "onFloating-resize-end"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
931
+ }>, {
932
+ rootEl: Ref<HTMLElement | null, HTMLElement | null>;
933
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
934
+ "update:floatingState": (value: LayoutFloatingState) => any;
935
+ "floating-drag-start": (detail: LayoutFloatingState) => any;
936
+ "floating-drag": (detail: LayoutFloatingState) => any;
937
+ "floating-drag-end": (detail: LayoutFloatingState) => any;
938
+ "floating-resize-start": (detail: LayoutFloatingResizeDetail) => any;
939
+ "floating-resize": (detail: LayoutFloatingResizeDetail) => any;
940
+ "floating-resize-end": (detail: LayoutFloatingResizeDetail) => any;
941
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
942
+ beforeCreate?: (() => void) | (() => void)[];
943
+ created?: (() => void) | (() => void)[];
944
+ beforeMount?: (() => void) | (() => void)[];
945
+ mounted?: (() => void) | (() => void)[];
946
+ beforeUpdate?: (() => void) | (() => void)[];
947
+ updated?: (() => void) | (() => void)[];
948
+ activated?: (() => void) | (() => void)[];
949
+ deactivated?: (() => void) | (() => void)[];
950
+ beforeDestroy?: (() => void) | (() => void)[];
951
+ beforeUnmount?: (() => void) | (() => void)[];
952
+ destroyed?: (() => void) | (() => void)[];
953
+ unmounted?: (() => void) | (() => void)[];
954
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
955
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
956
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
957
+ };
958
+ $forceUpdate: () => void;
959
+ $nextTick: nextTick;
960
+ $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;
961
+ } & Readonly<{}> & Omit<Readonly<LayoutSurfaceProps> & Readonly<{
962
+ "onUpdate:floatingState"?: ((value: LayoutFloatingState) => any) | undefined;
963
+ "onFloating-drag-start"?: ((detail: LayoutFloatingState) => any) | undefined;
964
+ "onFloating-drag"?: ((detail: LayoutFloatingState) => any) | undefined;
965
+ "onFloating-drag-end"?: ((detail: LayoutFloatingState) => any) | undefined;
966
+ "onFloating-resize-start"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
967
+ "onFloating-resize"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
968
+ "onFloating-resize-end"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
969
+ }>, "rootEl"> & {
970
+ rootEl: HTMLElement | null;
971
+ } & {} & ComponentCustomProperties & {} & {
972
+ $slots: {
973
+ default?(_: {}): any;
974
+ };
975
+ }) | null;
976
+ }, any>;
822
977
 
823
- declare const __VLS_component_9: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
824
- "item-click": (ev: MouseEvent, item: PromptProps) => any;
825
- }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
826
- "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
827
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
978
+ declare const __VLS_component_9: DefineComponent<LayoutAsideToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutAsideToggleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
828
979
 
829
980
  declare type __VLS_PrettifyLocal<T> = {
830
981
  [K in keyof T]: T[K];
@@ -878,6 +1029,13 @@ declare function __VLS_template(): {
878
1029
  };
879
1030
 
880
1031
  declare function __VLS_template_10(): {
1032
+ attrs: Partial<{}>;
1033
+ slots: Readonly<PromptsSlots> & PromptsSlots;
1034
+ refs: {};
1035
+ rootEl: HTMLDivElement;
1036
+ };
1037
+
1038
+ declare function __VLS_template_11(): {
881
1039
  attrs: Partial<{}>;
882
1040
  slots: {
883
1041
  header?(_: {}): any;
@@ -907,6 +1065,7 @@ declare function __VLS_template_10(): {
907
1065
  readonly maxLength?: number | undefined;
908
1066
  readonly showWordLimit?: boolean | undefined;
909
1067
  readonly clearable?: boolean | undefined;
1068
+ readonly hasExternalContent?: boolean | undefined;
910
1069
  readonly extensions?: Extension[] | any[] | undefined;
911
1070
  readonly size?: "normal" | "small" | undefined;
912
1071
  readonly stopText?: string | undefined;
@@ -963,6 +1122,7 @@ declare function __VLS_template_10(): {
963
1122
  mode: InputMode;
964
1123
  enterkeyhint: EnterKeyHint;
965
1124
  autoSize: AutoSize;
1125
+ hasExternalContent: boolean;
966
1126
  extensions: Extension[] | any[];
967
1127
  submitType: SubmitTrigger;
968
1128
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -991,6 +1151,7 @@ declare function __VLS_template_10(): {
991
1151
  mode: InputMode;
992
1152
  enterkeyhint: EnterKeyHint;
993
1153
  autoSize: AutoSize;
1154
+ hasExternalContent: boolean;
994
1155
  extensions: Extension[] | any[];
995
1156
  submitType: SubmitTrigger;
996
1157
  }> & Omit<Readonly<SenderProps> & Readonly<{
@@ -1001,7 +1162,7 @@ declare function __VLS_template_10(): {
1001
1162
  onFocus?: ((event: FocusEvent) => any) | undefined;
1002
1163
  onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1003
1164
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1004
- }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
1165
+ }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "hasExternalContent" | "extensions" | "submitType") | "getContent"> & {
1005
1166
  submit: () => void;
1006
1167
  clear: () => void;
1007
1168
  cancel: () => void;
@@ -1125,14 +1286,14 @@ declare function __VLS_template_10(): {
1125
1286
  rootEl: HTMLDivElement;
1126
1287
  };
1127
1288
 
1128
- declare function __VLS_template_11(): {
1289
+ declare function __VLS_template_12(): {
1129
1290
  attrs: Partial<{}>;
1130
1291
  slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1131
1292
  refs: {};
1132
1293
  rootEl: HTMLButtonElement;
1133
1294
  };
1134
1295
 
1135
- declare function __VLS_template_12(): {
1296
+ declare function __VLS_template_13(): {
1136
1297
  attrs: Partial<{}>;
1137
1298
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
1138
1299
  refs: {
@@ -1145,7 +1306,7 @@ declare function __VLS_template_12(): {
1145
1306
  rootEl: HTMLDivElement;
1146
1307
  };
1147
1308
 
1148
- declare function __VLS_template_13(): {
1309
+ declare function __VLS_template_14(): {
1149
1310
  attrs: Partial<{}>;
1150
1311
  slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
1151
1312
  refs: {
@@ -1262,7 +1423,7 @@ declare function __VLS_template_13(): {
1262
1423
  rootEl: any;
1263
1424
  };
1264
1425
 
1265
- declare function __VLS_template_14(): {
1426
+ declare function __VLS_template_15(): {
1266
1427
  attrs: Partial<{}>;
1267
1428
  slots: {
1268
1429
  default?(_: {}): any;
@@ -1271,14 +1432,14 @@ declare function __VLS_template_14(): {
1271
1432
  rootEl: any;
1272
1433
  };
1273
1434
 
1274
- declare function __VLS_template_15(): {
1435
+ declare function __VLS_template_16(): {
1275
1436
  attrs: Partial<{}>;
1276
1437
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
1277
1438
  refs: {};
1278
1439
  rootEl: HTMLDivElement;
1279
1440
  };
1280
1441
 
1281
- declare function __VLS_template_16(): {
1442
+ declare function __VLS_template_17(): {
1282
1443
  attrs: Partial<{}>;
1283
1444
  slots: {
1284
1445
  'header-actions'?(_: {}): any;
@@ -1287,7 +1448,7 @@ declare function __VLS_template_16(): {
1287
1448
  rootEl: any;
1288
1449
  };
1289
1450
 
1290
- declare function __VLS_template_17(): {
1451
+ declare function __VLS_template_18(): {
1291
1452
  attrs: Partial<{}>;
1292
1453
  slots: {
1293
1454
  icon?(_: {}): any;
@@ -1297,7 +1458,7 @@ declare function __VLS_template_17(): {
1297
1458
  rootEl: any;
1298
1459
  };
1299
1460
 
1300
- declare function __VLS_template_18(): {
1461
+ declare function __VLS_template_19(): {
1301
1462
  attrs: Partial<{}>;
1302
1463
  slots: {
1303
1464
  icon?(_: {
@@ -1312,15 +1473,6 @@ declare function __VLS_template_18(): {
1312
1473
  rootEl: any;
1313
1474
  };
1314
1475
 
1315
- declare function __VLS_template_19(): {
1316
- attrs: Partial<{}>;
1317
- slots: {
1318
- prepend?(_: {}): any;
1319
- };
1320
- refs: {};
1321
- rootEl: any;
1322
- };
1323
-
1324
1476
  declare function __VLS_template_2(): {
1325
1477
  attrs: Partial<{}>;
1326
1478
  slots: Readonly<BubbleListSlots> & BubbleListSlots;
@@ -1330,6 +1482,15 @@ declare function __VLS_template_2(): {
1330
1482
  rootEl: HTMLDivElement;
1331
1483
  };
1332
1484
 
1485
+ declare function __VLS_template_20(): {
1486
+ attrs: Partial<{}>;
1487
+ slots: {
1488
+ prepend?(_: {}): any;
1489
+ };
1490
+ refs: {};
1491
+ rootEl: any;
1492
+ };
1493
+
1333
1494
  declare function __VLS_template_3(): {
1334
1495
  attrs: Partial<{}>;
1335
1496
  slots: {
@@ -1528,6 +1689,96 @@ declare function __VLS_template_7(): {
1528
1689
  };
1529
1690
 
1530
1691
  declare function __VLS_template_8(): {
1692
+ attrs: Partial<{}>;
1693
+ slots: Readonly<LayoutSlots> & LayoutSlots;
1694
+ refs: {
1695
+ surfaceRef: ({
1696
+ $: ComponentInternalInstance;
1697
+ $data: {};
1698
+ $props: {
1699
+ readonly mode: LayoutMode;
1700
+ readonly floatingState?: LayoutFloatingState | undefined;
1701
+ readonly floatingOptions?: LayoutFloatingOptions | undefined;
1702
+ readonly "onUpdate:floatingState"?: ((value: LayoutFloatingState) => any) | undefined;
1703
+ readonly "onFloating-drag-start"?: ((detail: LayoutFloatingState) => any) | undefined;
1704
+ readonly "onFloating-drag"?: ((detail: LayoutFloatingState) => any) | undefined;
1705
+ readonly "onFloating-drag-end"?: ((detail: LayoutFloatingState) => any) | undefined;
1706
+ readonly "onFloating-resize-start"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1707
+ readonly "onFloating-resize"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1708
+ readonly "onFloating-resize-end"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1709
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1710
+ $attrs: Attrs;
1711
+ $refs: {
1712
+ [x: string]: unknown;
1713
+ } & {
1714
+ rootEl: HTMLDivElement;
1715
+ };
1716
+ $slots: Readonly<{
1717
+ [name: string]: Slot<any> | undefined;
1718
+ }>;
1719
+ $root: ComponentPublicInstance | null;
1720
+ $parent: ComponentPublicInstance | null;
1721
+ $host: Element | null;
1722
+ $emit: ((event: "update:floatingState", value: LayoutFloatingState) => void) & ((event: "floating-drag-start", detail: LayoutFloatingState) => void) & ((event: "floating-drag", detail: LayoutFloatingState) => void) & ((event: "floating-drag-end", detail: LayoutFloatingState) => void) & ((event: "floating-resize-start", detail: LayoutFloatingResizeDetail) => void) & ((event: "floating-resize", detail: LayoutFloatingResizeDetail) => void) & ((event: "floating-resize-end", detail: LayoutFloatingResizeDetail) => void);
1723
+ $el: any;
1724
+ $options: ComponentOptionsBase<Readonly<LayoutSurfaceProps> & Readonly<{
1725
+ "onUpdate:floatingState"?: ((value: LayoutFloatingState) => any) | undefined;
1726
+ "onFloating-drag-start"?: ((detail: LayoutFloatingState) => any) | undefined;
1727
+ "onFloating-drag"?: ((detail: LayoutFloatingState) => any) | undefined;
1728
+ "onFloating-drag-end"?: ((detail: LayoutFloatingState) => any) | undefined;
1729
+ "onFloating-resize-start"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1730
+ "onFloating-resize"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1731
+ "onFloating-resize-end"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1732
+ }>, {
1733
+ rootEl: Ref<HTMLElement | null, HTMLElement | null>;
1734
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1735
+ "update:floatingState": (value: LayoutFloatingState) => any;
1736
+ "floating-drag-start": (detail: LayoutFloatingState) => any;
1737
+ "floating-drag": (detail: LayoutFloatingState) => any;
1738
+ "floating-drag-end": (detail: LayoutFloatingState) => any;
1739
+ "floating-resize-start": (detail: LayoutFloatingResizeDetail) => any;
1740
+ "floating-resize": (detail: LayoutFloatingResizeDetail) => any;
1741
+ "floating-resize-end": (detail: LayoutFloatingResizeDetail) => any;
1742
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1743
+ beforeCreate?: (() => void) | (() => void)[];
1744
+ created?: (() => void) | (() => void)[];
1745
+ beforeMount?: (() => void) | (() => void)[];
1746
+ mounted?: (() => void) | (() => void)[];
1747
+ beforeUpdate?: (() => void) | (() => void)[];
1748
+ updated?: (() => void) | (() => void)[];
1749
+ activated?: (() => void) | (() => void)[];
1750
+ deactivated?: (() => void) | (() => void)[];
1751
+ beforeDestroy?: (() => void) | (() => void)[];
1752
+ beforeUnmount?: (() => void) | (() => void)[];
1753
+ destroyed?: (() => void) | (() => void)[];
1754
+ unmounted?: (() => void) | (() => void)[];
1755
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1756
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1757
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1758
+ };
1759
+ $forceUpdate: () => void;
1760
+ $nextTick: nextTick;
1761
+ $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;
1762
+ } & Readonly<{}> & Omit<Readonly<LayoutSurfaceProps> & Readonly<{
1763
+ "onUpdate:floatingState"?: ((value: LayoutFloatingState) => any) | undefined;
1764
+ "onFloating-drag-start"?: ((detail: LayoutFloatingState) => any) | undefined;
1765
+ "onFloating-drag"?: ((detail: LayoutFloatingState) => any) | undefined;
1766
+ "onFloating-drag-end"?: ((detail: LayoutFloatingState) => any) | undefined;
1767
+ "onFloating-resize-start"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1768
+ "onFloating-resize"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1769
+ "onFloating-resize-end"?: ((detail: LayoutFloatingResizeDetail) => any) | undefined;
1770
+ }>, "rootEl"> & {
1771
+ rootEl: HTMLElement | null;
1772
+ } & {} & ComponentCustomProperties & {} & {
1773
+ $slots: {
1774
+ default?(_: {}): any;
1775
+ };
1776
+ }) | null;
1777
+ };
1778
+ rootEl: any;
1779
+ };
1780
+
1781
+ declare function __VLS_template_9(): {
1531
1782
  attrs: Partial<{}>;
1532
1783
  slots: {
1533
1784
  default?(_: {
@@ -1538,13 +1789,6 @@ declare function __VLS_template_8(): {
1538
1789
  rootEl: HTMLButtonElement;
1539
1790
  };
1540
1791
 
1541
- declare function __VLS_template_9(): {
1542
- attrs: Partial<{}>;
1543
- slots: Readonly<PromptsSlots> & PromptsSlots;
1544
- refs: {};
1545
- rootEl: HTMLDivElement;
1546
- };
1547
-
1548
1792
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1549
1793
 
1550
1794
  declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
@@ -1569,6 +1813,8 @@ declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
1569
1813
 
1570
1814
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1571
1815
 
1816
+ declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
1817
+
1572
1818
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
1573
1819
 
1574
1820
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -1655,6 +1901,12 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1655
1901
  };
1656
1902
  };
1657
1903
 
1904
+ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
1905
+ new (): {
1906
+ $slots: S;
1907
+ };
1908
+ };
1909
+
1658
1910
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
1659
1911
  new (): {
1660
1912
  $slots: S;
@@ -2260,49 +2512,49 @@ declare const _default_10: typeof _default_36 & {
2260
2512
  export { _default_10 as IconButton }
2261
2513
  export { _default_10 as TrIconButton }
2262
2514
 
2263
- declare const _default_11: typeof _default_41 & {
2515
+ declare const _default_11: typeof _default_42 & {
2264
2516
  install: typeof install_10;
2265
2517
  };
2266
2518
  export { _default_11 as SenderCompat }
2267
2519
  export { _default_11 as TrSenderCompat }
2268
2520
 
2269
- declare const _default_12: typeof _default_43 & {
2521
+ declare const _default_12: typeof _default_44 & {
2270
2522
  install: typeof install_11;
2271
2523
  };
2272
2524
  export { _default_12 as SuggestionPills }
2273
2525
  export { _default_12 as TrSuggestionPills }
2274
2526
 
2275
- declare const _default_13: typeof _default_44 & {
2527
+ declare const _default_13: typeof _default_45 & {
2276
2528
  install: typeof install_12;
2277
2529
  };
2278
2530
  export { _default_13 as SuggestionPopover }
2279
2531
  export { _default_13 as TrSuggestionPopover }
2280
2532
 
2281
- declare const _default_14: typeof _default_45 & {
2533
+ declare const _default_14: typeof _default_46 & {
2282
2534
  install: typeof install_13;
2283
2535
  };
2284
2536
  export { _default_14 as ThemeProvider }
2285
2537
  export { _default_14 as TrThemeProvider }
2286
2538
 
2287
- declare const _default_15: typeof _default_46 & {
2539
+ declare const _default_15: typeof _default_47 & {
2288
2540
  install: typeof install_14;
2289
2541
  };
2290
2542
  export { _default_15 as TrWelcome }
2291
2543
  export { _default_15 as Welcome }
2292
2544
 
2293
- declare const _default_16: typeof _default_47 & {
2545
+ declare const _default_16: typeof _default_48 & {
2294
2546
  install: typeof install_15;
2295
2547
  };
2296
2548
  export { _default_16 as McpServerPicker }
2297
2549
  export { _default_16 as TrMcpServerPicker }
2298
2550
 
2299
- declare const _default_17: typeof _default_48 & {
2551
+ declare const _default_17: typeof _default_49 & {
2300
2552
  install: typeof install_16;
2301
2553
  };
2302
2554
  export { _default_17 as McpAddForm }
2303
2555
  export { _default_17 as TrMcpAddForm }
2304
2556
 
2305
- declare const _default_18: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2557
+ declare const _default_18: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2306
2558
  export { _default_18 as ActionButton }
2307
2559
  export { _default_18 as TrActionButton }
2308
2560
 
@@ -2337,7 +2589,7 @@ accept: string;
2337
2589
  export { _default_21 as TrUploadButton }
2338
2590
  export { _default_21 as UploadButton }
2339
2591
 
2340
- declare const _default_22: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2592
+ declare const _default_22: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2341
2593
  export { _default_22 as TrVoiceButton }
2342
2594
  export { _default_22 as VoiceButton }
2343
2595
 
@@ -2345,7 +2597,7 @@ declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOpti
2345
2597
  export { _default_23 as TrWordCounter }
2346
2598
  export { _default_23 as WordCounter }
2347
2599
 
2348
- declare const _default_24: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2600
+ declare const _default_24: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2349
2601
  export { _default_24 as DefaultActionButtons }
2350
2602
  export { _default_24 as TrDefaultActionButtons }
2351
2603
 
@@ -2428,16 +2680,14 @@ size: string | number;
2428
2680
  svgSize: string | number;
2429
2681
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2430
2682
 
2431
- declare const _default_37: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2683
+ declare const _default_37: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2684
+
2685
+ declare const _default_38: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2432
2686
  scrollbarRef: HTMLDivElement;
2433
2687
  thumbRef: HTMLDivElement;
2434
2688
  }, any>;
2435
2689
 
2436
- declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2437
-
2438
- declare const _default_39: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2439
- size: "small" | "medium" | "large";
2440
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2690
+ declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2441
2691
 
2442
2692
  declare const _default_4: typeof _default_30 & {
2443
2693
  install: typeof install_3;
@@ -2445,7 +2695,9 @@ declare const _default_4: typeof _default_30 & {
2445
2695
  export { _default_4 as Anchor }
2446
2696
  export { _default_4 as TrAnchor }
2447
2697
 
2448
- declare const _default_40: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2698
+ declare const _default_40: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2699
+ size: "small" | "medium" | "large";
2700
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2449
2701
 
2450
2702
  declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2451
2703
 
@@ -2461,7 +2713,9 @@ declare const _default_46: __VLS_WithTemplateSlots_15<typeof __VLS_component_15,
2461
2713
 
2462
2714
  declare const _default_47: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2463
2715
 
2464
- declare const _default_48: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2716
+ declare const _default_48: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2717
+
2718
+ declare const _default_49: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2465
2719
  cancel: () => any;
2466
2720
  confirm: (type: AddType, data: string | McpAddFormData) => any;
2467
2721
  "update:addType": (value: AddType) => any;
@@ -2941,12 +3195,7 @@ export declare interface LayoutAsideOpenValue {
2941
3195
  open: boolean;
2942
3196
  }
2943
3197
 
2944
- export declare interface LayoutAsidePanelsProps {
2945
- leftAside?: LayoutAsideProps;
2946
- rightAside?: LayoutAsideProps;
2947
- }
2948
-
2949
- export declare interface LayoutAsideProps {
3198
+ export declare interface LayoutAsideOptions {
2950
3199
  mode?: LayoutAsideMode;
2951
3200
  open?: boolean;
2952
3201
  defaultOpen?: boolean;
@@ -2959,6 +3208,11 @@ export declare interface LayoutAsideProps {
2959
3208
  resizable?: boolean;
2960
3209
  }
2961
3210
 
3211
+ export declare interface LayoutAsidePanelsProps {
3212
+ leftAside?: LayoutAsideOptions;
3213
+ rightAside?: LayoutAsideOptions;
3214
+ }
3215
+
2962
3216
  export declare interface LayoutAsideResizeDetail {
2963
3217
  side: LayoutSide;
2964
3218
  expandedWidth: number;
@@ -2968,7 +3222,7 @@ export declare interface LayoutAsideResizeValue {
2968
3222
  expandedWidth: number;
2969
3223
  }
2970
3224
 
2971
- declare const LayoutAsideToggle: typeof _default_38 & {
3225
+ declare const LayoutAsideToggle: typeof _default_39 & {
2972
3226
  install: typeof layoutAsideToggleInstall;
2973
3227
  };
2974
3228
  export { LayoutAsideToggle }
@@ -2980,7 +3234,7 @@ export declare interface LayoutAsideToggleProps {
2980
3234
  side: LayoutSide;
2981
3235
  }
2982
3236
 
2983
- declare type LayoutCompound = typeof default_2 & {
3237
+ declare type LayoutCompound = typeof _default_37 & {
2984
3238
  install: typeof layoutInstall;
2985
3239
  ProxyScrollbar: typeof LayoutProxyScrollbar;
2986
3240
  AsideToggle: typeof LayoutAsideToggle;
@@ -3061,7 +3315,7 @@ export declare interface LayoutNormalProps extends LayoutAsidePanelsProps {
3061
3315
 
3062
3316
  export declare type LayoutProps = LayoutNormalProps | LayoutFloatingProps;
3063
3317
 
3064
- declare const LayoutProxyScrollbar: typeof _default_37 & {
3318
+ declare const LayoutProxyScrollbar: typeof _default_38 & {
3065
3319
  install: typeof layoutProxyScrollbarInstall;
3066
3320
  };
3067
3321
  export { LayoutProxyScrollbar }
@@ -3087,6 +3341,12 @@ export declare interface LayoutSlots {
3087
3341
  'right-aside'?: () => VNode | VNode[];
3088
3342
  }
3089
3343
 
3344
+ declare interface LayoutSurfaceProps {
3345
+ mode: LayoutMode;
3346
+ floatingState?: LayoutFloatingState;
3347
+ floatingOptions?: LayoutFloatingOptions;
3348
+ }
3349
+
3090
3350
  export declare interface MarketCategoryOption {
3091
3351
  value: string;
3092
3352
  label: string;
@@ -3300,7 +3560,7 @@ export declare interface PopupConfig {
3300
3560
  };
3301
3561
  }
3302
3562
 
3303
- declare const Prompt: typeof _default_39 & {
3563
+ declare const Prompt: typeof _default_40 & {
3304
3564
  install: typeof installPrompt;
3305
3565
  };
3306
3566
  export { Prompt }
@@ -3337,7 +3597,7 @@ export declare interface PromptProps {
3337
3597
  size?: 'small' | 'medium' | 'large';
3338
3598
  }
3339
3599
 
3340
- declare const Prompts: typeof _default_40 & {
3600
+ declare const Prompts: typeof _default_41 & {
3341
3601
  install: typeof installPrompts;
3342
3602
  };
3343
3603
  export { Prompts }
@@ -3438,6 +3698,7 @@ declare const Sender: {
3438
3698
  mode: InputMode;
3439
3699
  enterkeyhint: EnterKeyHint;
3440
3700
  autoSize: AutoSize;
3701
+ hasExternalContent: boolean;
3441
3702
  extensions: Extension[] | any[];
3442
3703
  submitType: SubmitTrigger;
3443
3704
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
@@ -3470,6 +3731,7 @@ declare const Sender: {
3470
3731
  mode: InputMode;
3471
3732
  enterkeyhint: EnterKeyHint;
3472
3733
  autoSize: AutoSize;
3734
+ hasExternalContent: boolean;
3473
3735
  extensions: Extension[] | any[];
3474
3736
  submitType: SubmitTrigger;
3475
3737
  }>;
@@ -3507,6 +3769,7 @@ placeholder: string;
3507
3769
  mode: InputMode;
3508
3770
  enterkeyhint: EnterKeyHint;
3509
3771
  autoSize: AutoSize;
3772
+ hasExternalContent: boolean;
3510
3773
  extensions: Extension[] | any[];
3511
3774
  submitType: SubmitTrigger;
3512
3775
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
@@ -3581,6 +3844,12 @@ export declare interface SenderContext {
3581
3844
  * 是否有内容
3582
3845
  */
3583
3846
  hasContent: Ref<boolean>;
3847
+ /**
3848
+ * 编辑器内是否有文本内容
3849
+ *
3850
+ * 不包含附件、图片等外部内容,主要用于清空按钮等只作用于编辑器文本的场景。
3851
+ */
3852
+ hasEditorContent: Ref<boolean>;
3584
3853
  /**
3585
3854
  * 是否可以提交
3586
3855
  *
@@ -3829,6 +4098,15 @@ export declare interface SenderProps {
3829
4098
  * @default false
3830
4099
  */
3831
4100
  clearable?: boolean;
4101
+ /**
4102
+ * 是否存在外部可提交内容
4103
+ *
4104
+ * 用于附件、图片、文件列表等不写入编辑器文本的内容场景。
4105
+ * 当编辑器文本为空但该值为 true 时,Sender 仍会认为存在可提交内容。
4106
+ *
4107
+ * @default false
4108
+ */
4109
+ hasExternalContent?: boolean;
3832
4110
  /**
3833
4111
  * Tiptap 扩展配置
3834
4112
  *
@@ -4418,7 +4696,7 @@ export declare interface SuggestionOptions {
4418
4696
  onSelect?: (item: SenderSuggestionItem) => void | false;
4419
4697
  }
4420
4698
 
4421
- declare const SuggestionPillButton: typeof _default_42 & {
4699
+ declare const SuggestionPillButton: typeof _default_43 & {
4422
4700
  install: typeof installPillButton;
4423
4701
  };
4424
4702
  export { SuggestionPillButton }