@hef2024/llmasaservice-ui 0.19.1 → 0.20.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.ts CHANGED
@@ -232,6 +232,24 @@ interface AIAgentPanelProps {
232
232
  followOnPrompt?: string;
233
233
  historyListLimit?: number;
234
234
  showConversationHistory?: boolean;
235
+ cssUrl?: string;
236
+ markdownClass?: string;
237
+ width?: string;
238
+ height?: string;
239
+ scrollToEnd?: boolean;
240
+ prismStyle?: any;
241
+ showSaveButton?: boolean;
242
+ showEmailButton?: boolean;
243
+ messages?: {
244
+ role: "user" | "assistant";
245
+ content: string;
246
+ }[];
247
+ showCallToAction?: boolean;
248
+ callToActionButtonText?: string;
249
+ callToActionEmailAddress?: string;
250
+ callToActionEmailSubject?: string;
251
+ customerEmailCaptureMode?: "HIDE" | "OPTIONAL" | "REQUIRED";
252
+ customerEmailCapturePlaceholder?: string;
235
253
  }
236
254
  declare const AIAgentPanel: React__default.ForwardRefExoticComponent<AIAgentPanelProps & React__default.RefAttributes<AIAgentPanelHandle>>;
237
255
 
@@ -308,6 +326,24 @@ interface AIChatPanelProps {
308
326
  maxContextTokens?: number;
309
327
  enableContextDetailView?: boolean;
310
328
  onConversationCreated?: (conversationId: string) => void;
329
+ cssUrl?: string;
330
+ markdownClass?: string;
331
+ width?: string;
332
+ height?: string;
333
+ scrollToEnd?: boolean;
334
+ prismStyle?: any;
335
+ showSaveButton?: boolean;
336
+ showEmailButton?: boolean;
337
+ messages?: {
338
+ role: "user" | "assistant";
339
+ content: string;
340
+ }[];
341
+ showCallToAction?: boolean;
342
+ callToActionButtonText?: string;
343
+ callToActionEmailAddress?: string;
344
+ callToActionEmailSubject?: string;
345
+ customerEmailCaptureMode?: "HIDE" | "OPTIONAL" | "REQUIRED";
346
+ customerEmailCapturePlaceholder?: string;
311
347
  }
312
348
  /**
313
349
  * Context section for the context viewer
@@ -390,7 +426,7 @@ declare function useAgentRegistry(agentIds: string[], options?: UseAgentRegistry
390
426
  id: string;
391
427
  name: string;
392
428
  description: string;
393
- status: "idle" | "error" | "loading" | "ready";
429
+ status: "error" | "idle" | "loading" | "ready";
394
430
  isReady: boolean;
395
431
  avatarUrl: string | undefined;
396
432
  localName: string | undefined;