@blueking/chat-x 0.0.1-beta.10 → 0.0.1-beta.11
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/components/ai-buttons/file-upload-btn/file-upload-btn.vue.d.ts +1 -0
- package/dist/components/ai-buttons/tool-btn/tool-btn.vue.d.ts +1 -0
- package/dist/components/chat-content/reference-content/reference-content.vue.d.ts +1 -0
- package/dist/components/chat-input/input-attachment/input-attachment.vue.d.ts +1 -0
- package/dist/components/markdown-token/code-content/code-content.vue.d.ts +1 -0
- package/dist/components/message-tools/message-tools.vue.d.ts +1 -0
- package/dist/composables/use-container-scroll.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.js +53 -44
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import { type TippyOptions } from 'vue-tippy';
|
|
|
2
2
|
import { MessageToolsStatus } from '../../types/tool';
|
|
3
3
|
import type { UserMessage } from '../../ag-ui/types/messages';
|
|
4
4
|
import type { IToolBtn, TagSchema } from '../../types';
|
|
5
|
+
import 'tippy.js/dist/tippy.css';
|
|
5
6
|
export type MessageToolsProps = {
|
|
6
7
|
messageTools?: IToolBtn[];
|
|
7
8
|
messageToolsStatus?: MessageToolsStatus;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { type ComputedRef, type MaybeRef } from 'vue';
|
|
2
2
|
export declare const CONTAINER_SCROLL_TOKEN: unique symbol;
|
|
3
3
|
export type ContainerScrollData = {
|
|
4
|
+
autoScrollEnabled: boolean;
|
|
4
5
|
isScrollBottom: boolean;
|
|
5
6
|
scrollBottomHeight: number;
|
|
6
7
|
toScrollBottom: () => void;
|
|
7
8
|
toScrollTop: () => void;
|
|
8
9
|
};
|
|
9
10
|
export declare const useContainerScrollProvider: (containerRef: MaybeRef<HTMLElement | null>, bottomRef: MaybeRef<HTMLElement | null>) => {
|
|
11
|
+
autoScrollEnabled: import("vue").ShallowRef<boolean, boolean>;
|
|
10
12
|
isScrollBottom: import("vue").ShallowRef<boolean, boolean>;
|
|
11
13
|
scrollBottomHeight: import("vue").ShallowRef<number, number>;
|
|
12
14
|
toScrollBottom: () => void;
|