@wallavi/widget 1.11.0 → 1.11.1
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/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +544 -241
- package/dist/index.mjs +544 -241
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -116,6 +116,7 @@ interface ChatWidgetConfig {
|
|
|
116
116
|
footer?: string | null;
|
|
117
117
|
theme?: "light" | "dark";
|
|
118
118
|
widgetLayout?: "bubble" | "center";
|
|
119
|
+
clientActions?: any[];
|
|
119
120
|
showThinking?: boolean;
|
|
120
121
|
regenerateMessage?: boolean;
|
|
121
122
|
/**
|
|
@@ -281,7 +282,7 @@ interface BubbleWidgetProps extends Partial<ChatWidgetConfig> {
|
|
|
281
282
|
}
|
|
282
283
|
declare function BubbleWidget({ inboxToken, supportApiBase, requestHumanLabel, returnToAiLabel, position: positionProp, width: widthProp, height: heightProp, expandedWidth, expandedHeight, keyboardShortcut: keyboardShortcutProp, shortcutKey, autoOpen: autoOpenProp, bubbleIconUrl: bubbleIconUrlProp, bubbleSize: bubbleSizeProp, panelClassName, autoConfig, hideBubble, isOpen: isOpenProp, onOpenChange, ...chatProps }: BubbleWidgetProps): react_jsx_runtime.JSX.Element;
|
|
283
284
|
|
|
284
|
-
declare function ChatWidget({ agentId, workspaceId, agentName, displayName, profilePicture, userMessageColor, initialMessages, suggestedMessages, messagePlaceholder, watermark, watermarkLogoUrl, footer, theme, showThinking, regenerateMessage, persist, onNavigate, hideCloseButton, source, userContext, playgroundOverrides, enableVoice, voiceAutoSend, enableAttachments, customBackend, className, onClose, onReset, onExpand, expanded, embedded, envId, onDebugTrace, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
285
|
+
declare function ChatWidget({ agentId, workspaceId, agentName, displayName, profilePicture, userMessageColor, initialMessages, suggestedMessages, messagePlaceholder, watermark, watermarkLogoUrl, footer, theme, showThinking, regenerateMessage, persist, onNavigate, hideCloseButton, source, userContext, playgroundOverrides, enableVoice, voiceAutoSend, enableAttachments, customBackend, className, onClose, onReset, onExpand, expanded, embedded, envId, onDebugTrace, widgetLayout, clientActions, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
285
286
|
|
|
286
287
|
interface UseChatOptions {
|
|
287
288
|
agentId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ interface ChatWidgetConfig {
|
|
|
116
116
|
footer?: string | null;
|
|
117
117
|
theme?: "light" | "dark";
|
|
118
118
|
widgetLayout?: "bubble" | "center";
|
|
119
|
+
clientActions?: any[];
|
|
119
120
|
showThinking?: boolean;
|
|
120
121
|
regenerateMessage?: boolean;
|
|
121
122
|
/**
|
|
@@ -281,7 +282,7 @@ interface BubbleWidgetProps extends Partial<ChatWidgetConfig> {
|
|
|
281
282
|
}
|
|
282
283
|
declare function BubbleWidget({ inboxToken, supportApiBase, requestHumanLabel, returnToAiLabel, position: positionProp, width: widthProp, height: heightProp, expandedWidth, expandedHeight, keyboardShortcut: keyboardShortcutProp, shortcutKey, autoOpen: autoOpenProp, bubbleIconUrl: bubbleIconUrlProp, bubbleSize: bubbleSizeProp, panelClassName, autoConfig, hideBubble, isOpen: isOpenProp, onOpenChange, ...chatProps }: BubbleWidgetProps): react_jsx_runtime.JSX.Element;
|
|
283
284
|
|
|
284
|
-
declare function ChatWidget({ agentId, workspaceId, agentName, displayName, profilePicture, userMessageColor, initialMessages, suggestedMessages, messagePlaceholder, watermark, watermarkLogoUrl, footer, theme, showThinking, regenerateMessage, persist, onNavigate, hideCloseButton, source, userContext, playgroundOverrides, enableVoice, voiceAutoSend, enableAttachments, customBackend, className, onClose, onReset, onExpand, expanded, embedded, envId, onDebugTrace, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
285
|
+
declare function ChatWidget({ agentId, workspaceId, agentName, displayName, profilePicture, userMessageColor, initialMessages, suggestedMessages, messagePlaceholder, watermark, watermarkLogoUrl, footer, theme, showThinking, regenerateMessage, persist, onNavigate, hideCloseButton, source, userContext, playgroundOverrides, enableVoice, voiceAutoSend, enableAttachments, customBackend, className, onClose, onReset, onExpand, expanded, embedded, envId, onDebugTrace, widgetLayout, clientActions, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
285
286
|
|
|
286
287
|
interface UseChatOptions {
|
|
287
288
|
agentId: string;
|