@elia-assistant/chatui 1.0.4 → 1.0.6
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/chat-store.js +4 -2
- package/dist/chatui.iife.js +26 -26
- package/dist/chunks/i18n-BOl-CfVk.js +2 -0
- package/dist/chunks/{i18n-oL80Kbbg.js → i18n-Bk--20yp.js} +3 -3
- package/dist/chunks/{settingsStore-BqlYxczg.js → settingsStore-uYZsUiVr.js} +2 -2
- package/dist/chunks/{translation-DYf8xjwU.js → translation-Bsz_89rP.js} +6 -2
- package/dist/chunks/{translation-B1sKHGC8.js → translation-CBfL69md.js} +6 -2
- package/dist/components/ChatView.d.ts +3 -1
- package/dist/hooks/useAgentStream.d.ts +14 -0
- package/dist/hooks/useCta.d.ts +1 -1
- package/dist/index.js +1436 -1325
- package/dist/store.js +1 -1
- package/dist/types/index.d.ts +9 -0
- package/package.json +1 -1
- package/dist/chunks/i18n-BySVyBiz.js +0 -2
package/dist/store.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./chunks/settingsStore-
|
|
1
|
+
import { t as e } from "./chunks/settingsStore-uYZsUiVr.js";
|
|
2
2
|
export { e as useSettingsStore };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -88,6 +88,15 @@ export interface ChatConfig {
|
|
|
88
88
|
fullscreenSheet?: boolean;
|
|
89
89
|
/** Sheet height as a CSS length (vh, %, px). Default: '75vh'. */
|
|
90
90
|
fullscreenSheetHeight?: string;
|
|
91
|
+
/** Live-agent SSE stream. When set, the widget opens an EventSource against the ELIA backend
|
|
92
|
+
* and receives agent replies pushed in real time. The bot turn (synchronous response from the
|
|
93
|
+
* n8n webhook) keeps working exactly as before. */
|
|
94
|
+
agentStream?: {
|
|
95
|
+
/** Base URL of the ELIA backend, e.g. 'https://api.elia-asistent.com'. */
|
|
96
|
+
apiBaseUrl: string;
|
|
97
|
+
/** Tenant identifier — same UUID embedded in the n8n webhook URL. */
|
|
98
|
+
tenantId: string;
|
|
99
|
+
};
|
|
91
100
|
/** Optional tabs above the chat panel. Tab is active iff its block has feedUrl OR items. */
|
|
92
101
|
tabs?: {
|
|
93
102
|
notifications?: {
|
package/package.json
CHANGED