@elia-assistant/chatui 2.0.3 → 2.0.5
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/README.md +1 -0
- package/dist/chatui.iife.js +8 -8
- package/dist/chunks/{settingsStore-ClKc5xeV.js → settingsStore-DvRsr-5I.js} +2 -1
- package/dist/chunks/{translation-BYSHywcB.js → translation-D4orT_2p.js} +2 -1
- package/dist/chunks/{translation-B0QPZgVW.js → translation-DOt84G52.js} +2 -1
- package/dist/chunks/{translation-BL8dP5qm.js → translation-JVK7ONqI.js} +2 -1
- package/dist/components/MessageBubble.d.ts +8 -0
- package/dist/index.js +272 -231
- package/dist/store.js +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -113,6 +113,7 @@ var s = {
|
|
|
113
113
|
chatSessionKey: "sessionId",
|
|
114
114
|
mode: "window",
|
|
115
115
|
showWelcomeScreen: !0,
|
|
116
|
+
initialMessagesClickable: !1,
|
|
116
117
|
streaming: !1,
|
|
117
118
|
allowFileUploads: !1,
|
|
118
119
|
botName: "Bot",
|
|
@@ -175,4 +176,4 @@ function c(r, a) {
|
|
|
175
176
|
//#endregion
|
|
176
177
|
export { r as i, a as n, o as r, c as t };
|
|
177
178
|
|
|
178
|
-
//# sourceMappingURL=settingsStore-
|
|
179
|
+
//# sourceMappingURL=settingsStore-DvRsr-5I.js.map
|
|
@@ -39,6 +39,7 @@ var e = {
|
|
|
39
39
|
agentStreamApiBaseUrl: "Backend URL",
|
|
40
40
|
agentStreamTenantId: "Tenant ID",
|
|
41
41
|
welcomeScreen: "Show welcome screen",
|
|
42
|
+
initialMessagesClickable: "Clickable initial messages",
|
|
42
43
|
sidebar: "Show conversation sidebar",
|
|
43
44
|
fileUploads: "Allow file uploads",
|
|
44
45
|
allowedFileExtensions: "Allowed file extensions",
|
|
@@ -91,4 +92,4 @@ var e = {
|
|
|
91
92
|
//#endregion
|
|
92
93
|
export { c as default, e as errors, a as footer, r as header, n as input, s as settings, i as sidebar, o as tabs, t as welcome };
|
|
93
94
|
|
|
94
|
-
//# sourceMappingURL=translation-
|
|
95
|
+
//# sourceMappingURL=translation-D4orT_2p.js.map
|
|
@@ -39,6 +39,7 @@ var e = {
|
|
|
39
39
|
agentStreamApiBaseUrl: "URL backendu",
|
|
40
40
|
agentStreamTenantId: "ID tenanta",
|
|
41
41
|
welcomeScreen: "Zobraziť uvítaciu obrazovku",
|
|
42
|
+
initialMessagesClickable: "Klikateľné úvodné správy",
|
|
42
43
|
sidebar: "Zobraziť históriu konverzácií",
|
|
43
44
|
fileUploads: "Povoliť nahrávanie súborov",
|
|
44
45
|
allowedFileExtensions: "Povolené prípony súborov",
|
|
@@ -91,4 +92,4 @@ var e = {
|
|
|
91
92
|
//#endregion
|
|
92
93
|
export { c as default, e as errors, a as footer, r as header, n as input, s as settings, i as sidebar, o as tabs, t as welcome };
|
|
93
94
|
|
|
94
|
-
//# sourceMappingURL=translation-
|
|
95
|
+
//# sourceMappingURL=translation-DOt84G52.js.map
|
|
@@ -39,6 +39,7 @@ var e = {
|
|
|
39
39
|
agentStreamApiBaseUrl: "URL backendu",
|
|
40
40
|
agentStreamTenantId: "ID tenanta",
|
|
41
41
|
welcomeScreen: "Zobrazit uvítací obrazovku",
|
|
42
|
+
initialMessagesClickable: "Klikatelné úvodní zprávy",
|
|
42
43
|
sidebar: "Zobrazit historii konverzací",
|
|
43
44
|
fileUploads: "Povolit nahrávání souborů",
|
|
44
45
|
allowedFileExtensions: "Povolené přípony souborů",
|
|
@@ -91,4 +92,4 @@ var e = {
|
|
|
91
92
|
//#endregion
|
|
92
93
|
export { c as default, e as errors, a as footer, r as header, n as input, s as settings, i as sidebar, o as tabs, t as welcome };
|
|
93
94
|
|
|
94
|
-
//# sourceMappingURL=translation-
|
|
95
|
+
//# sourceMappingURL=translation-JVK7ONqI.js.map
|
|
@@ -5,5 +5,13 @@ interface Props {
|
|
|
5
5
|
onRetry?: (messageId: string) => void;
|
|
6
6
|
}
|
|
7
7
|
export declare function MessageBubble({ message, onRetry }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* Several bot messages stacked under one avatar with a single timestamp. Used for the initial
|
|
10
|
+
* messages; when <c>onClick</c> is set each bubble is a clickable suggestion.
|
|
11
|
+
*/
|
|
12
|
+
export declare function BotMessageGroup({ messages, onClick, }: {
|
|
13
|
+
messages: string[];
|
|
14
|
+
onClick?: (text: string) => void;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
16
|
export declare function TypingIndicator(): import("react/jsx-runtime").JSX.Element;
|
|
9
17
|
export {};
|