@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.
@@ -1,3 +1,4 @@
1
+ import 'tippy.js/dist/tippy.css';
1
2
  export type FileUploadBtnProps = {
2
3
  accept?: string;
3
4
  maxFiles?: number;
@@ -1,4 +1,5 @@
1
1
  import type { IToolBtn } from '../../../types';
2
+ import 'tippy.js/dist/tippy.css';
2
3
  type __VLS_Props = IToolBtn & {
3
4
  active?: boolean;
4
5
  disabled?: boolean;
@@ -1,4 +1,5 @@
1
1
  import type { ReferenceDocumentContent } from '../../../ag-ui/types/contents';
2
+ import 'tippy.js/dist/tippy.css';
2
3
  type __VLS_Props = {
3
4
  content: ReferenceDocumentContent[];
4
5
  };
@@ -1,4 +1,5 @@
1
1
  import { MessageStatus } from '../../../ag-ui/types';
2
+ import 'tippy.js/dist/tippy.css';
2
3
  type __VLS_Props = {
3
4
  messageState?: MessageStatus;
4
5
  };
@@ -1,4 +1,5 @@
1
1
  import type { Token } from '../../../markdown-it';
2
+ import 'highlight.js/styles/github-dark.css';
2
3
  type __VLS_Props = {
3
4
  token: Token[];
4
5
  };
@@ -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;