@eloquentai/chat-sdk 0.30.22-dev → 0.30.24-dev
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/chat/index.d.ts +16 -1
- package/dist/components/chat-interface/index.d.ts +2 -0
- package/dist/components/chat-interface/shared.d.ts +2 -1
- package/dist/{index-DrPEaCwO.js → index-BidHGERO.js} +2 -2
- package/dist/{index-DrPEaCwO.js.map → index-BidHGERO.js.map} +1 -1
- package/dist/{index-CWXyZG_Y.js → index-Cg5qlBnX.js} +1897 -1880
- package/dist/index-Cg5qlBnX.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/index-CWXyZG_Y.js.map +0 -1
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
import { Message } from '../../type';
|
|
1
2
|
import { UseChatProps } from './chat.hook';
|
|
2
|
-
|
|
3
|
+
/** @internal */
|
|
4
|
+
type InternalChatProps = {
|
|
5
|
+
INTERNAL_ONLY_CHAT_INTERFACE_ONLY?: boolean;
|
|
6
|
+
INTERNAL_ONLY_BLOCK_STYLE?: boolean;
|
|
7
|
+
INTERNAL_ONLY_FEATURE_HIDE_PROACTIVE_MESSAGE?: boolean;
|
|
8
|
+
INTERNAL_ONLY_SHOW_CLEAR_CHAT_BUTTON?: boolean;
|
|
9
|
+
INTERNAL_ONLY_ENVIRONMENT?: "test" | "live";
|
|
10
|
+
INTERNAL_ONLY_API_URL?: string;
|
|
11
|
+
INTERNAL_ONLY_FEATURE_MESSAGE_CLICK?: (message: Message) => void;
|
|
12
|
+
INTERNAL_ONLY_FEATURE_CLEAR_CHAT_CLICK?: () => void;
|
|
13
|
+
INTERNAL_ONLY_FEATURE_HIDE_COPY_BUTTON?: boolean;
|
|
14
|
+
INTERNAL_ONLY_DISABLE_INITIAL_OPEN_ANIMATION?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export type ChatProps = UseChatProps & InternalChatProps;
|
|
3
17
|
export declare function Chat(props: Readonly<ChatProps>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -25,5 +25,7 @@ export interface ChatInterfaceProps {
|
|
|
25
25
|
isChatClosed?: boolean;
|
|
26
26
|
onStartNewChat?: () => void;
|
|
27
27
|
onRateChat?: (rating: number) => void;
|
|
28
|
+
/** @internal Skips the open/close animation for the initial render when the chat starts open. */
|
|
29
|
+
disableInitialOpenAnimation?: boolean;
|
|
28
30
|
}
|
|
29
31
|
export declare function ChatInterface(props: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Oe from "react";
|
|
2
2
|
import { version as Zu } from "react";
|
|
3
|
-
import { g as Rp } from "./index-
|
|
3
|
+
import { g as Rp } from "./index-Cg5qlBnX.js";
|
|
4
4
|
try {
|
|
5
5
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e912b1ab-8839-4e6c-90b8-c20d1854ba0f", e._sentryDebugIdIdentifier = "sentry-dbid-e912b1ab-8839-4e6c-90b8-c20d1854ba0f");
|
|
@@ -18790,4 +18790,4 @@ export {
|
|
|
18790
18790
|
iR as wrapUseRoutesV7,
|
|
18791
18791
|
ik as zodErrorsIntegration
|
|
18792
18792
|
};
|
|
18793
|
-
//# sourceMappingURL=index-
|
|
18793
|
+
//# sourceMappingURL=index-BidHGERO.js.map
|