@inkeep/agents-ui 0.0.0-dev-20260402200940 → 0.0.0-dev-20260403205747

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.
Files changed (58) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +165 -174
  3. package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +3 -3
  4. package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +2 -6
  5. package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +232 -227
  6. package/dist/primitives/components/embedded-chat.cjs +5 -5
  7. package/dist/primitives/components/embedded-chat.d.ts +2 -112
  8. package/dist/primitives/components/embedded-chat.js +1082 -1511
  9. package/dist/primitives/hooks/use-initial-conversation.cjs +1 -0
  10. package/dist/primitives/hooks/use-initial-conversation.d.ts +16 -0
  11. package/dist/primitives/hooks/use-initial-conversation.js +31 -0
  12. package/dist/primitives/index.cjs +1 -1
  13. package/dist/primitives/index.js +146 -155
  14. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  15. package/dist/primitives/providers/base-events-provider.js +1 -1
  16. package/dist/primitives/providers/feedback-provider.cjs +1 -1
  17. package/dist/primitives/providers/feedback-provider.js +37 -38
  18. package/dist/primitives/providers/index.cjs +1 -1
  19. package/dist/primitives/providers/index.d.ts +0 -3
  20. package/dist/primitives/providers/index.js +54 -63
  21. package/dist/primitives/utils/component-ids.cjs +1 -1
  22. package/dist/primitives/utils/component-ids.d.ts +0 -98
  23. package/dist/primitives/utils/component-ids.js +7 -56
  24. package/dist/primitives/utils/default-settings.cjs +1 -1
  25. package/dist/primitives/utils/default-settings.d.ts +0 -2
  26. package/dist/primitives/utils/default-settings.js +6 -8
  27. package/dist/react/embedded-chat.cjs +1 -1
  28. package/dist/react/embedded-chat.js +261 -310
  29. package/dist/react/index.cjs +1 -1
  30. package/dist/react/index.js +165 -174
  31. package/dist/styled/components/embedded-chat.cjs +1 -1
  32. package/dist/styled/components/embedded-chat.d.ts +2 -50
  33. package/dist/styled/components/embedded-chat.js +568 -1041
  34. package/dist/styled/components/ui/recipes/citation.d.ts +1 -1
  35. package/dist/styled/components/ui/recipes/index.cjs +1 -1
  36. package/dist/styled/components/ui/recipes/index.d.ts +0 -1
  37. package/dist/styled/components/ui/recipes/index.js +31 -33
  38. package/dist/styled/index.cjs +1 -1
  39. package/dist/styled/index.js +150 -159
  40. package/dist/styled/inkeep.css.cjs +0 -66
  41. package/dist/styled/inkeep.css.js +0 -66
  42. package/dist/types/config/ai.d.ts +8 -10
  43. package/dist/types/index.d.ts +0 -1
  44. package/package.json +1 -1
  45. package/dist/primitives/providers/attachment-item-provider.cjs +0 -1
  46. package/dist/primitives/providers/attachment-item-provider.d.ts +0 -9
  47. package/dist/primitives/providers/attachment-item-provider.js +0 -13
  48. package/dist/primitives/providers/attachments-bar-provider.cjs +0 -1
  49. package/dist/primitives/providers/attachments-bar-provider.d.ts +0 -30
  50. package/dist/primitives/providers/attachments-bar-provider.js +0 -57
  51. package/dist/primitives/providers/message-attachments-provider.cjs +0 -1
  52. package/dist/primitives/providers/message-attachments-provider.d.ts +0 -13
  53. package/dist/primitives/providers/message-attachments-provider.js +0 -27
  54. package/dist/primitives/utils/get-message-metadata.d.ts +0 -8
  55. package/dist/styled/components/ui/recipes/attachment.cjs +0 -1
  56. package/dist/styled/components/ui/recipes/attachment.d.ts +0 -4
  57. package/dist/styled/components/ui/recipes/attachment.js +0 -28
  58. package/dist/types/config/settings/workflow.d.ts +0 -86
@@ -1,65 +1,56 @@
1
- import { AttachmentItemProvider as o, useAttachmentItem as t } from "./attachment-item-provider.js";
2
- import { AttachmentsBarProvider as s, useAttachmentsBar as m } from "./attachments-bar-provider.js";
3
- import { BaseEventsProvider as d, useBaseEvents as u } from "./base-events-provider.js";
4
- import { ChatFormProvider as n, useChatForm as h, useChatFormState as f } from "./chat-form-provider.js";
5
- import { ChatHistoryProvider as x, useChatHistory as P } from "./chat-history-provider.js";
6
- import { InkeepConfigProvider as C, WebWidgetInteractionType as c, useInkeepConfig as l } from "./config-provider.js";
7
- import { FeedbackItemProvider as F, useFeedbackItem as I } from "./feedback-item-provider.js";
8
- import { FeedbackProvider as k, useMessageFeedback as B } from "./feedback-provider.js";
9
- import { FormFieldProvider as A, useFormField as H } from "./form-field-provider.js";
10
- import { HelpMenuProvider as y, useHelpMenu as O, useHelpMenuState as w } from "./help-menu-provider.js";
11
- import { ChatMarkdownProvider as T, useChatMarkdown as R } from "./markdown-provider.js";
12
- import { MessageAttachmentsProvider as q, useMessageAttachments as z } from "./message-attachments-provider.js";
13
- import { MessageProvider as G, useMessage as J, useOptionalMessage as K } from "./message-provider.js";
14
- import { RootProvider as N } from "./root-provider.js";
15
- import { SourceItemProvider as U, useSourceItem as V } from "./source-item-provider.js";
16
- import { ThemeProvider as Y } from "./theme-provider.js";
17
- import { WidgetProvider as _, useWidget as $ } from "./widget-provider.js";
18
- import { SidebarChatProvider as re, useInkeepSidebarChat as oe, useOptionalSidebarChat as te, useSidebarChat as ae } from "./sidebar-chat-provider.js";
19
- import { ChatBubbleProvider as me, useChatBubble as ie, useInkeepChatBubble as de, useOptionalChatBubble as ue } from "./chat-bubble-provider.js";
1
+ import { BaseEventsProvider as o, useBaseEvents as t } from "./base-events-provider.js";
2
+ import { ChatFormProvider as s, useChatForm as i, useChatFormState as d } from "./chat-form-provider.js";
3
+ import { ChatHistoryProvider as p, useChatHistory as m } from "./chat-history-provider.js";
4
+ import { InkeepConfigProvider as n, WebWidgetInteractionType as v, useInkeepConfig as b } from "./config-provider.js";
5
+ import { FeedbackItemProvider as h, useFeedbackItem as x } from "./feedback-item-provider.js";
6
+ import { FeedbackProvider as l, useMessageFeedback as F } from "./feedback-provider.js";
7
+ import { FormFieldProvider as g, useFormField as I } from "./form-field-provider.js";
8
+ import { HelpMenuProvider as S, useHelpMenu as c, useHelpMenuState as B } from "./help-menu-provider.js";
9
+ import { ChatMarkdownProvider as W, useChatMarkdown as y } from "./markdown-provider.js";
10
+ import { MessageProvider as w, useMessage as E, useOptionalMessage as T } from "./message-provider.js";
11
+ import { RootProvider as j } from "./root-provider.js";
12
+ import { SourceItemProvider as z, useSourceItem as A } from "./source-item-provider.js";
13
+ import { ThemeProvider as G } from "./theme-provider.js";
14
+ import { WidgetProvider as K, useWidget as L } from "./widget-provider.js";
15
+ import { SidebarChatProvider as Q, useInkeepSidebarChat as U, useOptionalSidebarChat as V, useSidebarChat as X } from "./sidebar-chat-provider.js";
16
+ import { ChatBubbleProvider as Z, useChatBubble as _, useInkeepChatBubble as $, useOptionalChatBubble as ee } from "./chat-bubble-provider.js";
20
17
  export {
21
- o as AttachmentItemProvider,
22
- s as AttachmentsBarProvider,
23
- d as BaseEventsProvider,
24
- me as ChatBubbleProvider,
25
- n as ChatFormProvider,
26
- x as ChatHistoryProvider,
27
- T as ChatMarkdownProvider,
28
- F as FeedbackItemProvider,
29
- k as FeedbackProvider,
30
- A as FormFieldProvider,
31
- y as HelpMenuProvider,
32
- C as InkeepConfigProvider,
33
- q as MessageAttachmentsProvider,
34
- G as MessageProvider,
35
- N as RootProvider,
36
- re as SidebarChatProvider,
37
- U as SourceItemProvider,
38
- Y as ThemeProvider,
39
- c as WebWidgetInteractionType,
40
- _ as WidgetProvider,
41
- t as useAttachmentItem,
42
- m as useAttachmentsBar,
43
- u as useBaseEvents,
44
- ie as useChatBubble,
45
- h as useChatForm,
46
- f as useChatFormState,
47
- P as useChatHistory,
48
- R as useChatMarkdown,
49
- I as useFeedbackItem,
50
- H as useFormField,
51
- O as useHelpMenu,
52
- w as useHelpMenuState,
53
- de as useInkeepChatBubble,
54
- l as useInkeepConfig,
55
- oe as useInkeepSidebarChat,
56
- J as useMessage,
57
- z as useMessageAttachments,
58
- B as useMessageFeedback,
59
- ue as useOptionalChatBubble,
60
- K as useOptionalMessage,
61
- te as useOptionalSidebarChat,
62
- ae as useSidebarChat,
63
- V as useSourceItem,
64
- $ as useWidget
18
+ o as BaseEventsProvider,
19
+ Z as ChatBubbleProvider,
20
+ s as ChatFormProvider,
21
+ p as ChatHistoryProvider,
22
+ W as ChatMarkdownProvider,
23
+ h as FeedbackItemProvider,
24
+ l as FeedbackProvider,
25
+ g as FormFieldProvider,
26
+ S as HelpMenuProvider,
27
+ n as InkeepConfigProvider,
28
+ w as MessageProvider,
29
+ j as RootProvider,
30
+ Q as SidebarChatProvider,
31
+ z as SourceItemProvider,
32
+ G as ThemeProvider,
33
+ v as WebWidgetInteractionType,
34
+ K as WidgetProvider,
35
+ t as useBaseEvents,
36
+ _ as useChatBubble,
37
+ i as useChatForm,
38
+ d as useChatFormState,
39
+ m as useChatHistory,
40
+ y as useChatMarkdown,
41
+ x as useFeedbackItem,
42
+ I as useFormField,
43
+ c as useHelpMenu,
44
+ B as useHelpMenuState,
45
+ $ as useInkeepChatBubble,
46
+ b as useInkeepConfig,
47
+ U as useInkeepSidebarChat,
48
+ E as useMessage,
49
+ F as useMessageFeedback,
50
+ ee as useOptionalChatBubble,
51
+ T as useOptionalMessage,
52
+ V as useOptionalSidebarChat,
53
+ X as useSidebarChat,
54
+ A as useSourceItem,
55
+ L as useWidget
65
56
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={icon:"icon",loadingIndicator__Text:"loadingIndicator__Text",loadingIndicator__Dots:"loadingIndicator__Dots",loadingIndicator__Dot:"loadingIndicator__Dot",view_toggle:"view_toggle",view_toggle_button:"view_toggle_button",view_toggle_icon:"view_toggle_icon"},t={codeblockContainer:"codeblockContainer",codeblockHeader:"codeblockHeader",codeblockHeaderLanguage:"codeblockHeaderLanguage",codeblockCopyButton:"codeblockCopyButton",codeblockHighlighterWrapper:"codeblockHighlighterWrapper",codeblockHighlighter:"codeblockHighlighter",codeblockCode:"codeblockCode",markdownH1:"markdownH1",markdownH2:"markdownH2",markdownP:"markdownP",markdownLi:"markdownLi",markdownUl:"markdownUl",markdownOl:"markdownOl",markdownLink:"markdownLink",markdownSourceLink:"markdownSourceLink",markdownTable:"markdownTable",markdownTh:"markdownTh",markdownTd:"markdownTd",markdownCode:"markdownCode",markdownInput:"markdownInput",markdownSup:"markdownSup",markdownImg:"markdownImg",markdownHr:"markdownHr"},e={aiChatWrapper:"aiChatWrapper",aiChatRoot:"aiChatRoot",aiChatHeader:"aiChatHeader",aiChatHeader__Toolbar:"aiChatHeader__Toolbar",aiChatHeader__ToolbarHeader:"aiChatHeader__ToolbarHeader",aiChatHeader__ToolbarHeaderWrapper:"aiChatHeader__ToolbarHeaderWrapper",aiChatHeader__ChatHistoryButtonIcon:"aiChatHeader__ChatHistoryButtonIcon",aiChatHeader__ChatHistoryButton:"aiChatHeader__ChatHistoryButton",aiChatContent:"aiChatContent",aiChatContentScrollArea:"aiChatContentScrollArea",aiChatContentScrollArea__Viewport:"aiChatContentScrollArea__Viewport",aiChatContentScrollArea__Scrollbar:"aiChatContentScrollArea__Scrollbar",aiChatContentScrollArea__Thumb:"aiChatContentScrollArea__Thumb",aiChatContentScrollArea__Corner:"aiChatContentScrollArea__Corner",aiChatDisclaimer:"aiChatDisclaimer",aiChatDisclaimerLabel:"aiChatDisclaimerLabel",aiChatDisclaimerTrigger:"aiChatDisclaimerTrigger",aiChatDisclaimerContent:"aiChatDisclaimerContent",aiChatDisclaimerText:"aiChatDisclaimerText",aiChatDisclaimerArrow:"aiChatDisclaimerArrow",aiChatExampleQuestions:"aiChatExampleQuestions",aiChatExampleQuestionsLabel:"aiChatExampleQuestionsLabel",aiChatExampleQuestionsList:"aiChatExampleQuestionsList",aiChatExampleQuestion:"aiChatExampleQuestion",aiChatExampleQuestionButton:"aiChatExampleQuestionButton",aiChatWorkflows:"aiChatWorkflows",aiChatWorkflowsLabel:"aiChatWorkflowsLabel",aiChatWorkflowsList:"aiChatWorkflowsList",aiChatWorkflow:"aiChatWorkflow",aiChatWorkflow__Icon:"aiChatWorkflow__Icon",aiChatMessages:"aiChatMessages",aiChatMessageWrapper:"aiChatMessageWrapper",aiChatMessageHeader:"aiChatMessageHeader",aiChatMessageLoading:"aiChatMessageLoading",aiChatMessageAvatar:"aiChatMessageAvatar",aiChatMessageAvatarFallback:"aiChatMessageAvatarFallback",aiChatMessageAvatarImage:"aiChatMessageAvatarImage",aiChatMessageAvatarContent:"aiChatMessageAvatarContent",aiChatMessageName:"aiChatMessageName",aiChatMessageContentWrapper:"aiChatMessageContentWrapper",aiChatMessageContent:"aiChatMessageContent",aiChatMessage__Files:"aiChatMessage__Files",aiChatMessage__File:"aiChatMessage__File",aiChatMessageAttachments:"aiChatMessageAttachments",aiChatMessageAttachments__List:"aiChatMessageAttachments__List",aiChatMessageAttachments__Item:"aiChatMessageAttachments__Item",aiChatMessageAttachments__ItemIcon:"aiChatMessageAttachments__ItemIcon",aiChatMessageAttachments__ItemTitle:"aiChatMessageAttachments__ItemTitle",aiChatMessageAttachmentsPreview:"aiChatMessageAttachmentsPreview",aiChatMessageAttachmentsPreview__Overlay:"aiChatMessageAttachmentsPreview__Overlay",aiChatMessageAttachmentsPreview__Content:"aiChatMessageAttachmentsPreview__Content",aiChatMessageAttachmentsPreview__Header:"aiChatMessageAttachmentsPreview__Header",aiChatMessageAttachmentsPreview__Close:"aiChatMessageAttachmentsPreview__Close",aiChatMessageAttachmentsPreview__Body:"aiChatMessageAttachmentsPreview__Body",aiChatMessagePart:"aiChatMessagePart",aiChatMessageToolbar:"aiChatMessageToolbar",aiChatMessageCustomActions:"aiChatMessageCustomActions",aiChatMessageCustomAction:"aiChatMessageCustomAction",aiChatMessageAction:"aiChatMessageAction",aiChatMessageSources:"aiChatMessageSources",aiChatMessageSources__Header:"aiChatMessageSources__Header",aiChatMessageSources__List:"aiChatMessageSources__List",aiChatMessageSourceItem:"aiChatMessageSourceItem",aiChatMessageSourceItem__Icon:"aiChatMessageSourceItem__Icon",aiChatMessageSourceItem__Breadcrumbs:"aiChatMessageSourceItem__Breadcrumbs",aiChatMessageSourceItem__Breadcrumb:"aiChatMessageSourceItem__Breadcrumb",aiChatMessageSourceItem__BreadcrumbIcon:"aiChatMessageSourceItem__BreadcrumbIcon",aiChatMessageSourceItem__Title:"aiChatMessageSourceItem__Title",aiChatMessageSourceItem__Tag:"aiChatMessageSourceItem__Tag",aiChatMessageSourceItem__Description:"aiChatMessageSourceItem__Description",aiChatMessageSourceItem__DescriptionPart:"aiChatMessageSourceItem__DescriptionPart",aiChatMessageSourceItem__Indicator:"aiChatMessageSourceItem__Indicator",aiChatFooter:"aiChatFooter",aiChatInput__Fieldset:"aiChatInput__Fieldset",aiChatInput__Group:"aiChatInput__Group",aiChatInput:"aiChatInput",aiChatInput__SendButton:"aiChatInput__SendButton",aiChatInput__SendButtonIcon:"aiChatInput__SendButtonIcon",aiChatInput__FileUploadButton:"aiChatInput__FileUploadButton",aiChatInput__FileUploadButtonIcon:"aiChatInput__FileUploadButtonIcon",aiChatInput__FileInput:"aiChatInput__FileInput",aiChatInput__FileList:"aiChatInput__FileList",aiChatInput__FileItem:"aiChatInput__FileItem",aiChatInput__FilePreviewTrigger:"aiChatInput__FilePreviewTrigger",aiChatInput__FileContent:"aiChatInput__FileContent",aiChatInput__FileThumbnail:"aiChatInput__FileThumbnail",aiChatInput__FileName:"aiChatInput__FileName",aiChatInput__FileRemove:"aiChatInput__FileRemove",aiChatInput__FileRemoveIcon:"aiChatInput__FileRemoveIcon",aiChatInput__DropZone:"aiChatInput__DropZone",aiChatInput__Notification:"aiChatInput__Notification",aiChatInput__NotificationContent:"aiChatInput__NotificationContent",aiChatInput__NotificationHeader:"aiChatInput__NotificationHeader",aiChatInput__NotificationTitle:"aiChatInput__NotificationTitle",aiChatInput__NotificationMessage:"aiChatInput__NotificationMessage",aiChatInput__NotificationClose:"aiChatInput__NotificationClose",aiChatAttachmentsBar:"aiChatAttachmentsBar",aiChatAttachmentsBar__List:"aiChatAttachmentsBar__List",aiChatAttachmentsBar__Attachment:"aiChatAttachmentsBar__Attachment",aiChatAttachmentsBar__AttachmentIcon:"aiChatAttachmentsBar__AttachmentIcon",aiChatAttachmentsBar__AttachmentTitle:"aiChatAttachmentsBar__AttachmentTitle",aiChatAttachmentsBar__AttachmentDelete:"aiChatAttachmentsBar__AttachmentDelete",aiChatAttachmentsBar__Actions:"aiChatAttachmentsBar__Actions",aiChatAttachmentsBar__InfoTip:"aiChatAttachmentsBar__InfoTip",aiChatAttachmentsBar__InfoTipIcon:"aiChatAttachmentsBar__InfoTipIcon",aiChatAttachmentsBar__InfoTipArrow:"aiChatAttachmentsBar__InfoTipArrow",aiChatAttachmentsBar__InfoTipText:"aiChatAttachmentsBar__InfoTipText",aiChatAttachmentsBar__Inputs:"aiChatAttachmentsBar__Inputs",aiChatAttachmentsBar__Input:"aiChatAttachmentsBar__Input",aiChatAttachmentsBar__InputIcon:"aiChatAttachmentsBar__InputIcon",aiChatAttachmentsBar__Modal:"aiChatAttachmentsBar__Modal",aiChatAttachmentsBar__ModalOverlay:"aiChatAttachmentsBar__ModalOverlay",aiChatAttachmentsBar__ModalContent:"aiChatAttachmentsBar__ModalContent",aiChatAttachmentsBar__ModalHeader:"aiChatAttachmentsBar__ModalHeader",aiChatAttachmentsBar__ModalClose:"aiChatAttachmentsBar__ModalClose",aiChatAttachmentsBar__ModalBody:"aiChatAttachmentsBar__ModalBody",aiChatAttachmentsBar__ModalHeading:"aiChatAttachmentsBar__ModalHeading",aiChatAttachmentsBar__ModalDescription:"aiChatAttachmentsBar__ModalDescription",aiChatAttachmentsBar__ModalHelp:"aiChatAttachmentsBar__ModalHelp",aiChatAttachmentsBar__Form:"aiChatAttachmentsBar__Form",aiChatAttachmentsBar__FormTitle:"aiChatAttachmentsBar__FormTitle",aiChatAttachmentsBar__FormTitleLabel:"aiChatAttachmentsBar__FormTitleLabel",aiChatAttachmentsBar__FormTitleInput:"aiChatAttachmentsBar__FormTitleInput",aiChatAttachmentsBar__FormTitleError:"aiChatAttachmentsBar__FormTitleError",aiChatAttachmentsBar__FormContent:"aiChatAttachmentsBar__FormContent",aiChatAttachmentsBar__FormContentLabel:"aiChatAttachmentsBar__FormContentLabel",aiChatAttachmentsBar__FormContentInput:"aiChatAttachmentsBar__FormContentInput",aiChatAttachmentsBar__FormContentError:"aiChatAttachmentsBar__FormContentError",aiChatAttachmentsBar__FormSubmitButton:"aiChatAttachmentsBar__FormSubmitButton",aiChatActionBar:"aiChatActionBar",aiChat__ChatActions:"aiChat__ChatActions",aiChat__ChatAction:"aiChat__ChatAction",aiChat__ChatActionLabel:"aiChat__ChatActionLabel",aiChat__ChatActionFeeback:"aiChat__ChatActionFeeback",aiChatHelpActions:"aiChatHelpActions",aiChatHelpAction:"aiChatHelpAction",aiChatHelpActions__Trigger:"aiChatHelpActions__Trigger",aiChatHelpActions__Menu:"aiChatHelpActions__Menu",aiChatHelpActions__MenuArrow:"aiChatHelpActions__MenuArrow",aiChatHelpActions__MenuItem:"aiChatHelpActions__MenuItem",aiChatHelpActions_MenuItemIcon:"aiChatHelpActions_MenuItemIcon",aiChatTagline__Container:"aiChatTagline__Container",aiChatTagline__Text:"aiChatTagline__Text",aiChatTagline__Logo:"aiChatTagline__Logo",aiChatTagline__BrandName:"aiChatTagline__BrandName",aiChatFeedbackModal:"aiChatFeedbackModal",aiChatFeedbackModal__Overlay:"aiChatFeedbackModal__Overlay",aiChatFeedbackModal__Content:"aiChatFeedbackModal__Content",aiChatFeedbackModal__Header:"aiChatFeedbackModal__Header",aiChatFeedbackModal__Close:"aiChatFeedbackModal__Close",aiChatFeedbackModal__Body:"aiChatFeedbackModal__Body",aiChatImagePreviewModal:"aiChatImagePreviewModal",aiChatImagePreviewModal__Overlay:"aiChatImagePreviewModal__Overlay",aiChatImagePreviewModal__Content:"aiChatImagePreviewModal__Content",aiChatImagePreviewModal__Image:"aiChatImagePreviewModal__Image",aiChatImagePreviewModal__Footer:"aiChatImagePreviewModal__Footer",aiChatImagePreviewModal__FileName:"aiChatImagePreviewModal__FileName",aiChatImagePreviewModal__Close:"aiChatImagePreviewModal__Close",aiChatFeedbackForm:"aiChatFeedbackForm",aiChatFeedbackItem:"aiChatFeedbackItem",aiChatFeedbackItem__Checkbox:"aiChatFeedbackItem__Checkbox",aiChatFeedbackItem__CheckboxIndicator:"aiChatFeedbackItem__CheckboxIndicator",aiChatFeedbackItem__Label:"aiChatFeedbackItem__Label",aiChatFeedbackItem__Description:"aiChatFeedbackItem__Description",aiChatFeedbackForm__SubmitButton:"aiChatFeedbackForm__SubmitButton",aiChatForm__Wrapper:"aiChatForm__Wrapper",aiChatForm:"aiChatForm",aiChatForm__Close:"aiChatForm__Close",aiChatForm__Header:"aiChatForm__Header",aiChatForm__Heading:"aiChatForm__Heading",aiChatForm__Description:"aiChatForm__Description",aiChatForm__Content:"aiChatForm__Content",aiChatForm__Field:"aiChatForm__Field",aiChatForm__FieldLabel:"aiChatForm__FieldLabel",aiChatForm__FieldText:"aiChatForm__FieldText",aiChatForm__FieldEmail:"aiChatForm__FieldEmail",aiChatForm__FieldFile:"aiChatForm__FieldFile",aiChatForm__FieldTextArea:"aiChatForm__FieldTextArea",aiChatForm__FieldCheckbox:"aiChatForm__FieldCheckbox",aiChatForm__FieldCheckboxIndicator:"aiChatForm__FieldCheckboxIndicator",aiChatForm__FieldSelect:"aiChatForm__FieldSelect",aiChatForm__FieldSelect__Trigger:"aiChatForm__FieldSelect__Trigger",aiChatForm__FieldSelect__Value:"aiChatForm__FieldSelect__Value",aiChatForm__FieldSelect__Icon:"aiChatForm__FieldSelect__Icon",aiChatForm__FieldSelect__Content:"aiChatForm__FieldSelect__Content",aiChatForm__FieldSelect__Viewport:"aiChatForm__FieldSelect__Viewport",aiChatForm__FieldSelect__Item:"aiChatForm__FieldSelect__Item",aiChatForm__FieldSelect__ItemIndicator:"aiChatForm__FieldSelect__ItemIndicator",aiChatForm__FieldSelect__ItemText:"aiChatForm__FieldSelect__ItemText",aiChatForm__FieldCombobox__Control:"aiChatForm__FieldCombobox__Control",aiChatForm__FieldCombobox__Positioner:"aiChatForm__FieldCombobox__Positioner",aiChatForm__FieldCombobox__Input:"aiChatForm__FieldCombobox__Input",aiChatForm__FieldCombobox__Trigger:"aiChatForm__FieldCombobox__Trigger",aiChatForm__FieldCombobox__SelectedTags:"aiChatForm__FieldCombobox__SelectedTags",aiChatForm__FieldCombobox__Content:"aiChatForm__FieldCombobox__Content",aiChatForm__FieldCombobox__List:"aiChatForm__FieldCombobox__List",aiChatForm__FieldCombobox__ListEmpty:"aiChatForm__FieldCombobox__ListEmpty",aiChatForm__FieldCombobox__Item:"aiChatForm__FieldCombobox__Item",aiChatForm__FieldCombobox__ItemText:"aiChatForm__FieldCombobox__ItemText",aiChatForm__FieldCombobox__ItemIndicator:"aiChatForm__FieldCombobox__ItemIndicator",aiChatForm__FieldDescription:"aiChatForm__FieldDescription",aiChatForm__FieldError:"aiChatForm__FieldError",aiChatForm__Error:"aiChatForm__Error",aiChatForm__Footer:"aiChatForm__Footer",aiChatForm__Cancel:"aiChatForm__Cancel",aiChatForm__Submit:"aiChatForm__Submit",aiChatForm__Success:"aiChatForm__Success",aiChatForm__SuccessHeading:"aiChatForm__SuccessHeading",aiChatForm__SuccessMessage:"aiChatForm__SuccessMessage",aiChatForm__SuccessButton:"aiChatForm__SuccessButton",aiChatLink:"aiChatLink"},_={aiSearchWrapper:"aiSearchWrapper",aiSearchRoot:"aiSearchRoot",aiSearchContent:"aiSearchContent",aiSearchInputGroup:"aiSearchInputGroup",aiSearchInputIcon:"aiSearchInputIcon",aiSearchInput:"aiSearchInput",aiSearchLoading:"aiSearchLoading",aiAskAITrigger:"aiAskAITrigger",aiAskAITrigger__Icon:"aiAskAITrigger__Icon",aiAskAITrigger__Label:"aiAskAITrigger__Label",aiAskAITrigger__Query:"aiAskAITrigger__Query",aiAskAITrigger__Indicator:"aiAskAITrigger__Indicator",aiAskAITrigger__IndicatorText:"aiAskAITrigger__IndicatorText",aiSearchResults:"aiSearchResults",aiSearchResults__Loading:"aiSearchResults__Loading",aiSearchResults__Empty:"aiSearchResults__Empty",aiSearchResults__TabList:"aiSearchResults__TabList",aiSearchResults__Tab:"aiSearchResults__Tab",aiSearchResults__Content:"aiSearchResults__Content",aiSearchResults__ScrollArea:"aiSearchResults__ScrollArea",aiSearchResults__ScrollAreaViewport:"aiSearchResults__ScrollAreaViewport",aiSearchResults__List:"aiSearchResults__List",aiSearchResults__Item:"aiSearchResults__Item",aiSearchResults__ItemIcon:"aiSearchResults__ItemIcon",aiSearchResults__ItemBreadcrumbs:"aiSearchResults__ItemBreadcrumbs",aiSearchResults__ItemBreadcrumbIcon:"aiSearchResults__ItemBreadcrumbIcon",aiSearchResults__ItemTitle:"aiSearchResults__ItemTitle",aiSearchResults__ItemTag:"aiSearchResults__ItemTag",aiSearchResults__ItemDescription:"aiSearchResults__ItemDescription",aiSearchResults__ItemDescriptionPart:"aiSearchResults__ItemDescriptionPart",aiSearchResults__ItemIndicator:"aiSearchResults__ItemIndicator",aiSearchResults__ItemPreview:"aiSearchResults__ItemPreview",aiSearchResults__ItemPreview__Header:"aiSearchResults__ItemPreview__Header",aiSearchResults__ItemPreview__Heading:"aiSearchResults__ItemPreview__Heading",aiSearchResults__ItemPreview__Title:"aiSearchResults__ItemPreview__Title",aiSearchResults__ItemPreview__Title__LinkIcon:"aiSearchResults__ItemPreview__Title__LinkIcon",aiSearchResults__ItemPreview__Breadcrumbs:"aiSearchResults__ItemPreview__Breadcrumbs",aiSearchResults__ItemPreview__BreadcrumbIcon:"aiSearchResults__ItemPreview__BreadcrumbIcon",aiSearchResults__ItemPreview__Body:"aiSearchResults__ItemPreview__Body",aiSearchResults__ItemPreview__Outline:"aiSearchResults__ItemPreview__Outline",aiSearchResults__ItemPreview__Outline__Title:"aiSearchResults__ItemPreview__Outline__Title",aiSearchResults__ItemPreview__Outline__List:"aiSearchResults__ItemPreview__Outline__List",aiSearchResults__ItemPreview__Outline__Item:"aiSearchResults__ItemPreview__Outline__Item",aiSearchResults__ItemPreview__Outline__ItemIcon:"aiSearchResults__ItemPreview__Outline__ItemIcon",aiSearchResults__ItemPreview__Outline__ItemText:"aiSearchResults__ItemPreview__Outline__ItemText",aiSearchResults__ItemPreview__Outline__ItemLinkIcon:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",aiSearchResults__ScrollAreaScrollbar:"aiSearchResults__ScrollAreaScrollbar",aiSearchResults__ScrollAreaThumb:"aiSearchResults__ScrollAreaThumb",aiSearchResults__ScrollAreaCorner:"aiSearchResults__ScrollAreaCorner",aiSearchFooter:"aiSearchFooter",aiSearchTagline__Container:"aiSearchTagline__Container",aiSearchTagline__Text:"aiSearchTagline__Text",aiSearchTagline__Logo:"aiSearchTagline__Logo",aiSearchTagline__BrandName:"aiSearchTagline__BrandName"},i={modal:"modal",modal__Overlay:"modal__Overlay",modal__Content:"modal__Content",modal__Close:"modal__Close"},o={chatButton__Text:"chatButton__Text",chatButton__Button:"chatButton__Button",chatButton__Container:"chatButton__Container",chatButton__AvatarImage:"chatButton__AvatarImage",chatButton__AvatarContent:"chatButton__AvatarContent",chatButton__CloseIcon:"chatButton__CloseIcon"},r={searchBar__Container:"searchBar__Container",searchBar__Button:"searchBar__Button",searchBar__ContentWrapper:"searchBar__ContentWrapper",searchBar__Text:"searchBar__Text",searchBar__Icon:"searchBar__Icon",searchBar__KbdWrapper:"searchBar__KbdWrapper",searchBar__CmdIcon:"searchBar__CmdIcon",searchBar__Ctrl:"searchBar__Ctrl",searchBar__KbdShortcutKey:"searchBar__KbdShortcutKey"},h={sidebarChat__Root:"sidebarChat__Root",sidebarChat__Resizer:"sidebarChat__Resizer",sidebarChat__CloseButton:"sidebarChat__CloseButton",sidebarChat__Header:"sidebarChat__Header"},n={chatBubble__Root:"chatBubble__Root",chatBubble__CloseButton:"chatBubble__CloseButton",chatBubble__Header:"chatBubble__Header"},s={dataSummary__Group:"dataSummary__Group",dataSummary__Toggle:"dataSummary__Toggle",dataSummary__ToggleText:"dataSummary__ToggleText",dataSummary__Collapsible:"dataSummary__Collapsible",dataSummary__List:"dataSummary__List",dataSummary__Item:"dataSummary__Item",dataSummary__Connector:"dataSummary__Connector",dataSummary__IconContainer:"dataSummary__IconContainer",dataSummary__Content:"dataSummary__Content",dataSummary__Details:"dataSummary__Details",dataSummary__Label:"dataSummary__Label"},C={aiChatHistory:"aiChatHistory",aiChatHistory__Header:"aiChatHistory__Header",aiChatHistory__BackButton:"aiChatHistory__BackButton",aiChatHistory__BackButtonIcon:"aiChatHistory__BackButtonIcon",aiChatHistory__Title:"aiChatHistory__Title",aiChatHistory__List:"aiChatHistory__List",aiChatHistory__Item:"aiChatHistory__Item",aiChatHistory__ItemTitle:"aiChatHistory__ItemTitle",aiChatHistory__ItemDate:"aiChatHistory__ItemDate",aiChatHistory__EmptyState:"aiChatHistory__EmptyState",aiChatHistory__LoadingState:"aiChatHistory__LoadingState",aiChatHistory__Footer:"aiChatHistory__Footer",aiChatHistory__NewConversationButton:"aiChatHistory__NewConversationButton"},c={...t,...e,..._,...i,...o,...r,...a,...h,...n,...s,...C};exports.ChatBubbleComponentIds=n;exports.DataSummaryComponentIds=s;exports.SearchBarComponentIds=r;exports.SidebarChatComponentIds=h;exports.aiChatComponentIds=e;exports.aiChatHistoryComponentIds=C;exports.aiSearchComponentIds=_;exports.chatButtonComponentIds=o;exports.componentIDs=c;exports.markDownComponentIds=t;exports.miscellanousComponentIds=a;exports.modalComponentIds=i;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={icon:"icon",loadingIndicator__Text:"loadingIndicator__Text",loadingIndicator__Dots:"loadingIndicator__Dots",loadingIndicator__Dot:"loadingIndicator__Dot",view_toggle:"view_toggle",view_toggle_button:"view_toggle_button",view_toggle_icon:"view_toggle_icon"},e={codeblockContainer:"codeblockContainer",codeblockHeader:"codeblockHeader",codeblockHeaderLanguage:"codeblockHeaderLanguage",codeblockCopyButton:"codeblockCopyButton",codeblockHighlighterWrapper:"codeblockHighlighterWrapper",codeblockHighlighter:"codeblockHighlighter",codeblockCode:"codeblockCode",markdownH1:"markdownH1",markdownH2:"markdownH2",markdownP:"markdownP",markdownLi:"markdownLi",markdownUl:"markdownUl",markdownOl:"markdownOl",markdownLink:"markdownLink",markdownSourceLink:"markdownSourceLink",markdownTable:"markdownTable",markdownTh:"markdownTh",markdownTd:"markdownTd",markdownCode:"markdownCode",markdownInput:"markdownInput",markdownSup:"markdownSup",markdownImg:"markdownImg",markdownHr:"markdownHr"},t={aiChatWrapper:"aiChatWrapper",aiChatRoot:"aiChatRoot",aiChatHeader:"aiChatHeader",aiChatHeader__Toolbar:"aiChatHeader__Toolbar",aiChatHeader__ToolbarHeader:"aiChatHeader__ToolbarHeader",aiChatHeader__ToolbarHeaderWrapper:"aiChatHeader__ToolbarHeaderWrapper",aiChatHeader__ChatHistoryButtonIcon:"aiChatHeader__ChatHistoryButtonIcon",aiChatHeader__ChatHistoryButton:"aiChatHeader__ChatHistoryButton",aiChatContent:"aiChatContent",aiChatContentScrollArea:"aiChatContentScrollArea",aiChatContentScrollArea__Viewport:"aiChatContentScrollArea__Viewport",aiChatContentScrollArea__Scrollbar:"aiChatContentScrollArea__Scrollbar",aiChatContentScrollArea__Thumb:"aiChatContentScrollArea__Thumb",aiChatContentScrollArea__Corner:"aiChatContentScrollArea__Corner",aiChatDisclaimer:"aiChatDisclaimer",aiChatDisclaimerLabel:"aiChatDisclaimerLabel",aiChatDisclaimerTrigger:"aiChatDisclaimerTrigger",aiChatDisclaimerContent:"aiChatDisclaimerContent",aiChatDisclaimerText:"aiChatDisclaimerText",aiChatDisclaimerArrow:"aiChatDisclaimerArrow",aiChatExampleQuestions:"aiChatExampleQuestions",aiChatExampleQuestionsLabel:"aiChatExampleQuestionsLabel",aiChatExampleQuestionsList:"aiChatExampleQuestionsList",aiChatExampleQuestion:"aiChatExampleQuestion",aiChatExampleQuestionButton:"aiChatExampleQuestionButton",aiChatMessages:"aiChatMessages",aiChatMessageWrapper:"aiChatMessageWrapper",aiChatMessageHeader:"aiChatMessageHeader",aiChatMessageLoading:"aiChatMessageLoading",aiChatMessageAvatar:"aiChatMessageAvatar",aiChatMessageAvatarFallback:"aiChatMessageAvatarFallback",aiChatMessageAvatarImage:"aiChatMessageAvatarImage",aiChatMessageAvatarContent:"aiChatMessageAvatarContent",aiChatMessageName:"aiChatMessageName",aiChatMessageContentWrapper:"aiChatMessageContentWrapper",aiChatMessageContent:"aiChatMessageContent",aiChatMessage__Files:"aiChatMessage__Files",aiChatMessage__File:"aiChatMessage__File",aiChatMessagePart:"aiChatMessagePart",aiChatMessageToolbar:"aiChatMessageToolbar",aiChatMessageCustomActions:"aiChatMessageCustomActions",aiChatMessageCustomAction:"aiChatMessageCustomAction",aiChatMessageAction:"aiChatMessageAction",aiChatMessageSources:"aiChatMessageSources",aiChatMessageSources__Header:"aiChatMessageSources__Header",aiChatMessageSources__List:"aiChatMessageSources__List",aiChatMessageSourceItem:"aiChatMessageSourceItem",aiChatMessageSourceItem__Icon:"aiChatMessageSourceItem__Icon",aiChatMessageSourceItem__Breadcrumbs:"aiChatMessageSourceItem__Breadcrumbs",aiChatMessageSourceItem__Breadcrumb:"aiChatMessageSourceItem__Breadcrumb",aiChatMessageSourceItem__BreadcrumbIcon:"aiChatMessageSourceItem__BreadcrumbIcon",aiChatMessageSourceItem__Title:"aiChatMessageSourceItem__Title",aiChatMessageSourceItem__Tag:"aiChatMessageSourceItem__Tag",aiChatMessageSourceItem__Description:"aiChatMessageSourceItem__Description",aiChatMessageSourceItem__DescriptionPart:"aiChatMessageSourceItem__DescriptionPart",aiChatMessageSourceItem__Indicator:"aiChatMessageSourceItem__Indicator",aiChatFooter:"aiChatFooter",aiChatInput__Fieldset:"aiChatInput__Fieldset",aiChatInput__Group:"aiChatInput__Group",aiChatInput:"aiChatInput",aiChatInput__SendButton:"aiChatInput__SendButton",aiChatInput__SendButtonIcon:"aiChatInput__SendButtonIcon",aiChatInput__FileUploadButton:"aiChatInput__FileUploadButton",aiChatInput__FileUploadButtonIcon:"aiChatInput__FileUploadButtonIcon",aiChatInput__FileInput:"aiChatInput__FileInput",aiChatInput__FileList:"aiChatInput__FileList",aiChatInput__FileItem:"aiChatInput__FileItem",aiChatInput__FilePreviewTrigger:"aiChatInput__FilePreviewTrigger",aiChatInput__FileContent:"aiChatInput__FileContent",aiChatInput__FileThumbnail:"aiChatInput__FileThumbnail",aiChatInput__FileName:"aiChatInput__FileName",aiChatInput__FileRemove:"aiChatInput__FileRemove",aiChatInput__FileRemoveIcon:"aiChatInput__FileRemoveIcon",aiChatInput__DropZone:"aiChatInput__DropZone",aiChatInput__Notification:"aiChatInput__Notification",aiChatInput__NotificationContent:"aiChatInput__NotificationContent",aiChatInput__NotificationHeader:"aiChatInput__NotificationHeader",aiChatInput__NotificationTitle:"aiChatInput__NotificationTitle",aiChatInput__NotificationMessage:"aiChatInput__NotificationMessage",aiChatInput__NotificationClose:"aiChatInput__NotificationClose",aiChatActionBar:"aiChatActionBar",aiChat__ChatActions:"aiChat__ChatActions",aiChat__ChatAction:"aiChat__ChatAction",aiChat__ChatActionLabel:"aiChat__ChatActionLabel",aiChat__ChatActionFeeback:"aiChat__ChatActionFeeback",aiChatHelpActions:"aiChatHelpActions",aiChatHelpAction:"aiChatHelpAction",aiChatHelpActions__Trigger:"aiChatHelpActions__Trigger",aiChatHelpActions__Menu:"aiChatHelpActions__Menu",aiChatHelpActions__MenuArrow:"aiChatHelpActions__MenuArrow",aiChatHelpActions__MenuItem:"aiChatHelpActions__MenuItem",aiChatHelpActions_MenuItemIcon:"aiChatHelpActions_MenuItemIcon",aiChatTagline__Container:"aiChatTagline__Container",aiChatTagline__Text:"aiChatTagline__Text",aiChatTagline__Logo:"aiChatTagline__Logo",aiChatTagline__BrandName:"aiChatTagline__BrandName",aiChatFeedbackModal:"aiChatFeedbackModal",aiChatFeedbackModal__Overlay:"aiChatFeedbackModal__Overlay",aiChatFeedbackModal__Content:"aiChatFeedbackModal__Content",aiChatFeedbackModal__Header:"aiChatFeedbackModal__Header",aiChatFeedbackModal__Close:"aiChatFeedbackModal__Close",aiChatFeedbackModal__Body:"aiChatFeedbackModal__Body",aiChatImagePreviewModal:"aiChatImagePreviewModal",aiChatImagePreviewModal__Overlay:"aiChatImagePreviewModal__Overlay",aiChatImagePreviewModal__Content:"aiChatImagePreviewModal__Content",aiChatImagePreviewModal__Image:"aiChatImagePreviewModal__Image",aiChatImagePreviewModal__Footer:"aiChatImagePreviewModal__Footer",aiChatImagePreviewModal__FileName:"aiChatImagePreviewModal__FileName",aiChatImagePreviewModal__Close:"aiChatImagePreviewModal__Close",aiChatFeedbackForm:"aiChatFeedbackForm",aiChatFeedbackItem:"aiChatFeedbackItem",aiChatFeedbackItem__Checkbox:"aiChatFeedbackItem__Checkbox",aiChatFeedbackItem__CheckboxIndicator:"aiChatFeedbackItem__CheckboxIndicator",aiChatFeedbackItem__Label:"aiChatFeedbackItem__Label",aiChatFeedbackItem__Description:"aiChatFeedbackItem__Description",aiChatFeedbackForm__SubmitButton:"aiChatFeedbackForm__SubmitButton",aiChatForm__Wrapper:"aiChatForm__Wrapper",aiChatForm:"aiChatForm",aiChatForm__Close:"aiChatForm__Close",aiChatForm__Header:"aiChatForm__Header",aiChatForm__Heading:"aiChatForm__Heading",aiChatForm__Description:"aiChatForm__Description",aiChatForm__Content:"aiChatForm__Content",aiChatForm__Field:"aiChatForm__Field",aiChatForm__FieldLabel:"aiChatForm__FieldLabel",aiChatForm__FieldText:"aiChatForm__FieldText",aiChatForm__FieldEmail:"aiChatForm__FieldEmail",aiChatForm__FieldFile:"aiChatForm__FieldFile",aiChatForm__FieldTextArea:"aiChatForm__FieldTextArea",aiChatForm__FieldCheckbox:"aiChatForm__FieldCheckbox",aiChatForm__FieldCheckboxIndicator:"aiChatForm__FieldCheckboxIndicator",aiChatForm__FieldSelect:"aiChatForm__FieldSelect",aiChatForm__FieldSelect__Trigger:"aiChatForm__FieldSelect__Trigger",aiChatForm__FieldSelect__Value:"aiChatForm__FieldSelect__Value",aiChatForm__FieldSelect__Icon:"aiChatForm__FieldSelect__Icon",aiChatForm__FieldSelect__Content:"aiChatForm__FieldSelect__Content",aiChatForm__FieldSelect__Viewport:"aiChatForm__FieldSelect__Viewport",aiChatForm__FieldSelect__Item:"aiChatForm__FieldSelect__Item",aiChatForm__FieldSelect__ItemIndicator:"aiChatForm__FieldSelect__ItemIndicator",aiChatForm__FieldSelect__ItemText:"aiChatForm__FieldSelect__ItemText",aiChatForm__FieldCombobox__Control:"aiChatForm__FieldCombobox__Control",aiChatForm__FieldCombobox__Positioner:"aiChatForm__FieldCombobox__Positioner",aiChatForm__FieldCombobox__Input:"aiChatForm__FieldCombobox__Input",aiChatForm__FieldCombobox__Trigger:"aiChatForm__FieldCombobox__Trigger",aiChatForm__FieldCombobox__SelectedTags:"aiChatForm__FieldCombobox__SelectedTags",aiChatForm__FieldCombobox__Content:"aiChatForm__FieldCombobox__Content",aiChatForm__FieldCombobox__List:"aiChatForm__FieldCombobox__List",aiChatForm__FieldCombobox__ListEmpty:"aiChatForm__FieldCombobox__ListEmpty",aiChatForm__FieldCombobox__Item:"aiChatForm__FieldCombobox__Item",aiChatForm__FieldCombobox__ItemText:"aiChatForm__FieldCombobox__ItemText",aiChatForm__FieldCombobox__ItemIndicator:"aiChatForm__FieldCombobox__ItemIndicator",aiChatForm__FieldDescription:"aiChatForm__FieldDescription",aiChatForm__FieldError:"aiChatForm__FieldError",aiChatForm__Error:"aiChatForm__Error",aiChatForm__Footer:"aiChatForm__Footer",aiChatForm__Cancel:"aiChatForm__Cancel",aiChatForm__Submit:"aiChatForm__Submit",aiChatForm__Success:"aiChatForm__Success",aiChatForm__SuccessHeading:"aiChatForm__SuccessHeading",aiChatForm__SuccessMessage:"aiChatForm__SuccessMessage",aiChatForm__SuccessButton:"aiChatForm__SuccessButton",aiChatLink:"aiChatLink"},_={aiSearchWrapper:"aiSearchWrapper",aiSearchRoot:"aiSearchRoot",aiSearchContent:"aiSearchContent",aiSearchInputGroup:"aiSearchInputGroup",aiSearchInputIcon:"aiSearchInputIcon",aiSearchInput:"aiSearchInput",aiSearchLoading:"aiSearchLoading",aiAskAITrigger:"aiAskAITrigger",aiAskAITrigger__Icon:"aiAskAITrigger__Icon",aiAskAITrigger__Label:"aiAskAITrigger__Label",aiAskAITrigger__Query:"aiAskAITrigger__Query",aiAskAITrigger__Indicator:"aiAskAITrigger__Indicator",aiAskAITrigger__IndicatorText:"aiAskAITrigger__IndicatorText",aiSearchResults:"aiSearchResults",aiSearchResults__Loading:"aiSearchResults__Loading",aiSearchResults__Empty:"aiSearchResults__Empty",aiSearchResults__TabList:"aiSearchResults__TabList",aiSearchResults__Tab:"aiSearchResults__Tab",aiSearchResults__Content:"aiSearchResults__Content",aiSearchResults__ScrollArea:"aiSearchResults__ScrollArea",aiSearchResults__ScrollAreaViewport:"aiSearchResults__ScrollAreaViewport",aiSearchResults__List:"aiSearchResults__List",aiSearchResults__Item:"aiSearchResults__Item",aiSearchResults__ItemIcon:"aiSearchResults__ItemIcon",aiSearchResults__ItemBreadcrumbs:"aiSearchResults__ItemBreadcrumbs",aiSearchResults__ItemBreadcrumbIcon:"aiSearchResults__ItemBreadcrumbIcon",aiSearchResults__ItemTitle:"aiSearchResults__ItemTitle",aiSearchResults__ItemTag:"aiSearchResults__ItemTag",aiSearchResults__ItemDescription:"aiSearchResults__ItemDescription",aiSearchResults__ItemDescriptionPart:"aiSearchResults__ItemDescriptionPart",aiSearchResults__ItemIndicator:"aiSearchResults__ItemIndicator",aiSearchResults__ItemPreview:"aiSearchResults__ItemPreview",aiSearchResults__ItemPreview__Header:"aiSearchResults__ItemPreview__Header",aiSearchResults__ItemPreview__Heading:"aiSearchResults__ItemPreview__Heading",aiSearchResults__ItemPreview__Title:"aiSearchResults__ItemPreview__Title",aiSearchResults__ItemPreview__Title__LinkIcon:"aiSearchResults__ItemPreview__Title__LinkIcon",aiSearchResults__ItemPreview__Breadcrumbs:"aiSearchResults__ItemPreview__Breadcrumbs",aiSearchResults__ItemPreview__BreadcrumbIcon:"aiSearchResults__ItemPreview__BreadcrumbIcon",aiSearchResults__ItemPreview__Body:"aiSearchResults__ItemPreview__Body",aiSearchResults__ItemPreview__Outline:"aiSearchResults__ItemPreview__Outline",aiSearchResults__ItemPreview__Outline__Title:"aiSearchResults__ItemPreview__Outline__Title",aiSearchResults__ItemPreview__Outline__List:"aiSearchResults__ItemPreview__Outline__List",aiSearchResults__ItemPreview__Outline__Item:"aiSearchResults__ItemPreview__Outline__Item",aiSearchResults__ItemPreview__Outline__ItemIcon:"aiSearchResults__ItemPreview__Outline__ItemIcon",aiSearchResults__ItemPreview__Outline__ItemText:"aiSearchResults__ItemPreview__Outline__ItemText",aiSearchResults__ItemPreview__Outline__ItemLinkIcon:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",aiSearchResults__ScrollAreaScrollbar:"aiSearchResults__ScrollAreaScrollbar",aiSearchResults__ScrollAreaThumb:"aiSearchResults__ScrollAreaThumb",aiSearchResults__ScrollAreaCorner:"aiSearchResults__ScrollAreaCorner",aiSearchFooter:"aiSearchFooter",aiSearchTagline__Container:"aiSearchTagline__Container",aiSearchTagline__Text:"aiSearchTagline__Text",aiSearchTagline__Logo:"aiSearchTagline__Logo",aiSearchTagline__BrandName:"aiSearchTagline__BrandName"},i={modal:"modal",modal__Overlay:"modal__Overlay",modal__Content:"modal__Content",modal__Close:"modal__Close"},o={chatButton__Text:"chatButton__Text",chatButton__Button:"chatButton__Button",chatButton__Container:"chatButton__Container",chatButton__AvatarImage:"chatButton__AvatarImage",chatButton__AvatarContent:"chatButton__AvatarContent",chatButton__CloseIcon:"chatButton__CloseIcon"},r={searchBar__Container:"searchBar__Container",searchBar__Button:"searchBar__Button",searchBar__ContentWrapper:"searchBar__ContentWrapper",searchBar__Text:"searchBar__Text",searchBar__Icon:"searchBar__Icon",searchBar__KbdWrapper:"searchBar__KbdWrapper",searchBar__CmdIcon:"searchBar__CmdIcon",searchBar__Ctrl:"searchBar__Ctrl",searchBar__KbdShortcutKey:"searchBar__KbdShortcutKey"},n={sidebarChat__Root:"sidebarChat__Root",sidebarChat__Resizer:"sidebarChat__Resizer",sidebarChat__CloseButton:"sidebarChat__CloseButton",sidebarChat__Header:"sidebarChat__Header"},h={chatBubble__Root:"chatBubble__Root",chatBubble__CloseButton:"chatBubble__CloseButton",chatBubble__Header:"chatBubble__Header"},s={dataSummary__Group:"dataSummary__Group",dataSummary__Toggle:"dataSummary__Toggle",dataSummary__ToggleText:"dataSummary__ToggleText",dataSummary__Collapsible:"dataSummary__Collapsible",dataSummary__List:"dataSummary__List",dataSummary__Item:"dataSummary__Item",dataSummary__Connector:"dataSummary__Connector",dataSummary__IconContainer:"dataSummary__IconContainer",dataSummary__Content:"dataSummary__Content",dataSummary__Details:"dataSummary__Details",dataSummary__Label:"dataSummary__Label"},C={aiChatHistory:"aiChatHistory",aiChatHistory__Header:"aiChatHistory__Header",aiChatHistory__BackButton:"aiChatHistory__BackButton",aiChatHistory__BackButtonIcon:"aiChatHistory__BackButtonIcon",aiChatHistory__Title:"aiChatHistory__Title",aiChatHistory__List:"aiChatHistory__List",aiChatHistory__Item:"aiChatHistory__Item",aiChatHistory__ItemTitle:"aiChatHistory__ItemTitle",aiChatHistory__ItemDate:"aiChatHistory__ItemDate",aiChatHistory__EmptyState:"aiChatHistory__EmptyState",aiChatHistory__LoadingState:"aiChatHistory__LoadingState",aiChatHistory__Footer:"aiChatHistory__Footer",aiChatHistory__NewConversationButton:"aiChatHistory__NewConversationButton"},l={...e,...t,..._,...i,...o,...r,...a,...n,...h,...s,...C};exports.ChatBubbleComponentIds=h;exports.DataSummaryComponentIds=s;exports.SearchBarComponentIds=r;exports.SidebarChatComponentIds=n;exports.aiChatComponentIds=t;exports.aiChatHistoryComponentIds=C;exports.aiSearchComponentIds=_;exports.chatButtonComponentIds=o;exports.componentIDs=l;exports.markDownComponentIds=e;exports.miscellanousComponentIds=a;exports.modalComponentIds=i;
@@ -58,11 +58,6 @@ export declare const aiChatComponentIds: {
58
58
  aiChatExampleQuestionsList: "aiChatExampleQuestionsList";
59
59
  aiChatExampleQuestion: "aiChatExampleQuestion";
60
60
  aiChatExampleQuestionButton: "aiChatExampleQuestionButton";
61
- aiChatWorkflows: "aiChatWorkflows";
62
- aiChatWorkflowsLabel: "aiChatWorkflowsLabel";
63
- aiChatWorkflowsList: "aiChatWorkflowsList";
64
- aiChatWorkflow: "aiChatWorkflow";
65
- aiChatWorkflow__Icon: "aiChatWorkflow__Icon";
66
61
  aiChatMessages: "aiChatMessages";
67
62
  aiChatMessageWrapper: "aiChatMessageWrapper";
68
63
  aiChatMessageHeader: "aiChatMessageHeader";
@@ -76,17 +71,6 @@ export declare const aiChatComponentIds: {
76
71
  aiChatMessageContent: "aiChatMessageContent";
77
72
  aiChatMessage__Files: "aiChatMessage__Files";
78
73
  aiChatMessage__File: "aiChatMessage__File";
79
- aiChatMessageAttachments: "aiChatMessageAttachments";
80
- aiChatMessageAttachments__List: "aiChatMessageAttachments__List";
81
- aiChatMessageAttachments__Item: "aiChatMessageAttachments__Item";
82
- aiChatMessageAttachments__ItemIcon: "aiChatMessageAttachments__ItemIcon";
83
- aiChatMessageAttachments__ItemTitle: "aiChatMessageAttachments__ItemTitle";
84
- aiChatMessageAttachmentsPreview: "aiChatMessageAttachmentsPreview";
85
- aiChatMessageAttachmentsPreview__Overlay: "aiChatMessageAttachmentsPreview__Overlay";
86
- aiChatMessageAttachmentsPreview__Content: "aiChatMessageAttachmentsPreview__Content";
87
- aiChatMessageAttachmentsPreview__Header: "aiChatMessageAttachmentsPreview__Header";
88
- aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close";
89
- aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body";
90
74
  aiChatMessagePart: "aiChatMessagePart";
91
75
  aiChatMessageToolbar: "aiChatMessageToolbar";
92
76
  aiChatMessageCustomActions: "aiChatMessageCustomActions";
@@ -129,39 +113,6 @@ export declare const aiChatComponentIds: {
129
113
  aiChatInput__NotificationTitle: "aiChatInput__NotificationTitle";
130
114
  aiChatInput__NotificationMessage: "aiChatInput__NotificationMessage";
131
115
  aiChatInput__NotificationClose: "aiChatInput__NotificationClose";
132
- aiChatAttachmentsBar: "aiChatAttachmentsBar";
133
- aiChatAttachmentsBar__List: "aiChatAttachmentsBar__List";
134
- aiChatAttachmentsBar__Attachment: "aiChatAttachmentsBar__Attachment";
135
- aiChatAttachmentsBar__AttachmentIcon: "aiChatAttachmentsBar__AttachmentIcon";
136
- aiChatAttachmentsBar__AttachmentTitle: "aiChatAttachmentsBar__AttachmentTitle";
137
- aiChatAttachmentsBar__AttachmentDelete: "aiChatAttachmentsBar__AttachmentDelete";
138
- aiChatAttachmentsBar__Actions: "aiChatAttachmentsBar__Actions";
139
- aiChatAttachmentsBar__InfoTip: "aiChatAttachmentsBar__InfoTip";
140
- aiChatAttachmentsBar__InfoTipIcon: "aiChatAttachmentsBar__InfoTipIcon";
141
- aiChatAttachmentsBar__InfoTipArrow: "aiChatAttachmentsBar__InfoTipArrow";
142
- aiChatAttachmentsBar__InfoTipText: "aiChatAttachmentsBar__InfoTipText";
143
- aiChatAttachmentsBar__Inputs: "aiChatAttachmentsBar__Inputs";
144
- aiChatAttachmentsBar__Input: "aiChatAttachmentsBar__Input";
145
- aiChatAttachmentsBar__InputIcon: "aiChatAttachmentsBar__InputIcon";
146
- aiChatAttachmentsBar__Modal: "aiChatAttachmentsBar__Modal";
147
- aiChatAttachmentsBar__ModalOverlay: "aiChatAttachmentsBar__ModalOverlay";
148
- aiChatAttachmentsBar__ModalContent: "aiChatAttachmentsBar__ModalContent";
149
- aiChatAttachmentsBar__ModalHeader: "aiChatAttachmentsBar__ModalHeader";
150
- aiChatAttachmentsBar__ModalClose: "aiChatAttachmentsBar__ModalClose";
151
- aiChatAttachmentsBar__ModalBody: "aiChatAttachmentsBar__ModalBody";
152
- aiChatAttachmentsBar__ModalHeading: "aiChatAttachmentsBar__ModalHeading";
153
- aiChatAttachmentsBar__ModalDescription: "aiChatAttachmentsBar__ModalDescription";
154
- aiChatAttachmentsBar__ModalHelp: "aiChatAttachmentsBar__ModalHelp";
155
- aiChatAttachmentsBar__Form: "aiChatAttachmentsBar__Form";
156
- aiChatAttachmentsBar__FormTitle: "aiChatAttachmentsBar__FormTitle";
157
- aiChatAttachmentsBar__FormTitleLabel: "aiChatAttachmentsBar__FormTitleLabel";
158
- aiChatAttachmentsBar__FormTitleInput: "aiChatAttachmentsBar__FormTitleInput";
159
- aiChatAttachmentsBar__FormTitleError: "aiChatAttachmentsBar__FormTitleError";
160
- aiChatAttachmentsBar__FormContent: "aiChatAttachmentsBar__FormContent";
161
- aiChatAttachmentsBar__FormContentLabel: "aiChatAttachmentsBar__FormContentLabel";
162
- aiChatAttachmentsBar__FormContentInput: "aiChatAttachmentsBar__FormContentInput";
163
- aiChatAttachmentsBar__FormContentError: "aiChatAttachmentsBar__FormContentError";
164
- aiChatAttachmentsBar__FormSubmitButton: "aiChatAttachmentsBar__FormSubmitButton";
165
116
  aiChatActionBar: "aiChatActionBar";
166
117
  aiChat__ChatActions: "aiChat__ChatActions";
167
118
  aiChat__ChatAction: "aiChat__ChatAction";
@@ -502,11 +453,6 @@ export declare const componentIDs: {
502
453
  aiChatExampleQuestionsList: "aiChatExampleQuestionsList";
503
454
  aiChatExampleQuestion: "aiChatExampleQuestion";
504
455
  aiChatExampleQuestionButton: "aiChatExampleQuestionButton";
505
- aiChatWorkflows: "aiChatWorkflows";
506
- aiChatWorkflowsLabel: "aiChatWorkflowsLabel";
507
- aiChatWorkflowsList: "aiChatWorkflowsList";
508
- aiChatWorkflow: "aiChatWorkflow";
509
- aiChatWorkflow__Icon: "aiChatWorkflow__Icon";
510
456
  aiChatMessages: "aiChatMessages";
511
457
  aiChatMessageWrapper: "aiChatMessageWrapper";
512
458
  aiChatMessageHeader: "aiChatMessageHeader";
@@ -520,17 +466,6 @@ export declare const componentIDs: {
520
466
  aiChatMessageContent: "aiChatMessageContent";
521
467
  aiChatMessage__Files: "aiChatMessage__Files";
522
468
  aiChatMessage__File: "aiChatMessage__File";
523
- aiChatMessageAttachments: "aiChatMessageAttachments";
524
- aiChatMessageAttachments__List: "aiChatMessageAttachments__List";
525
- aiChatMessageAttachments__Item: "aiChatMessageAttachments__Item";
526
- aiChatMessageAttachments__ItemIcon: "aiChatMessageAttachments__ItemIcon";
527
- aiChatMessageAttachments__ItemTitle: "aiChatMessageAttachments__ItemTitle";
528
- aiChatMessageAttachmentsPreview: "aiChatMessageAttachmentsPreview";
529
- aiChatMessageAttachmentsPreview__Overlay: "aiChatMessageAttachmentsPreview__Overlay";
530
- aiChatMessageAttachmentsPreview__Content: "aiChatMessageAttachmentsPreview__Content";
531
- aiChatMessageAttachmentsPreview__Header: "aiChatMessageAttachmentsPreview__Header";
532
- aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close";
533
- aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body";
534
469
  aiChatMessagePart: "aiChatMessagePart";
535
470
  aiChatMessageToolbar: "aiChatMessageToolbar";
536
471
  aiChatMessageCustomActions: "aiChatMessageCustomActions";
@@ -573,39 +508,6 @@ export declare const componentIDs: {
573
508
  aiChatInput__NotificationTitle: "aiChatInput__NotificationTitle";
574
509
  aiChatInput__NotificationMessage: "aiChatInput__NotificationMessage";
575
510
  aiChatInput__NotificationClose: "aiChatInput__NotificationClose";
576
- aiChatAttachmentsBar: "aiChatAttachmentsBar";
577
- aiChatAttachmentsBar__List: "aiChatAttachmentsBar__List";
578
- aiChatAttachmentsBar__Attachment: "aiChatAttachmentsBar__Attachment";
579
- aiChatAttachmentsBar__AttachmentIcon: "aiChatAttachmentsBar__AttachmentIcon";
580
- aiChatAttachmentsBar__AttachmentTitle: "aiChatAttachmentsBar__AttachmentTitle";
581
- aiChatAttachmentsBar__AttachmentDelete: "aiChatAttachmentsBar__AttachmentDelete";
582
- aiChatAttachmentsBar__Actions: "aiChatAttachmentsBar__Actions";
583
- aiChatAttachmentsBar__InfoTip: "aiChatAttachmentsBar__InfoTip";
584
- aiChatAttachmentsBar__InfoTipIcon: "aiChatAttachmentsBar__InfoTipIcon";
585
- aiChatAttachmentsBar__InfoTipArrow: "aiChatAttachmentsBar__InfoTipArrow";
586
- aiChatAttachmentsBar__InfoTipText: "aiChatAttachmentsBar__InfoTipText";
587
- aiChatAttachmentsBar__Inputs: "aiChatAttachmentsBar__Inputs";
588
- aiChatAttachmentsBar__Input: "aiChatAttachmentsBar__Input";
589
- aiChatAttachmentsBar__InputIcon: "aiChatAttachmentsBar__InputIcon";
590
- aiChatAttachmentsBar__Modal: "aiChatAttachmentsBar__Modal";
591
- aiChatAttachmentsBar__ModalOverlay: "aiChatAttachmentsBar__ModalOverlay";
592
- aiChatAttachmentsBar__ModalContent: "aiChatAttachmentsBar__ModalContent";
593
- aiChatAttachmentsBar__ModalHeader: "aiChatAttachmentsBar__ModalHeader";
594
- aiChatAttachmentsBar__ModalClose: "aiChatAttachmentsBar__ModalClose";
595
- aiChatAttachmentsBar__ModalBody: "aiChatAttachmentsBar__ModalBody";
596
- aiChatAttachmentsBar__ModalHeading: "aiChatAttachmentsBar__ModalHeading";
597
- aiChatAttachmentsBar__ModalDescription: "aiChatAttachmentsBar__ModalDescription";
598
- aiChatAttachmentsBar__ModalHelp: "aiChatAttachmentsBar__ModalHelp";
599
- aiChatAttachmentsBar__Form: "aiChatAttachmentsBar__Form";
600
- aiChatAttachmentsBar__FormTitle: "aiChatAttachmentsBar__FormTitle";
601
- aiChatAttachmentsBar__FormTitleLabel: "aiChatAttachmentsBar__FormTitleLabel";
602
- aiChatAttachmentsBar__FormTitleInput: "aiChatAttachmentsBar__FormTitleInput";
603
- aiChatAttachmentsBar__FormTitleError: "aiChatAttachmentsBar__FormTitleError";
604
- aiChatAttachmentsBar__FormContent: "aiChatAttachmentsBar__FormContent";
605
- aiChatAttachmentsBar__FormContentLabel: "aiChatAttachmentsBar__FormContentLabel";
606
- aiChatAttachmentsBar__FormContentInput: "aiChatAttachmentsBar__FormContentInput";
607
- aiChatAttachmentsBar__FormContentError: "aiChatAttachmentsBar__FormContentError";
608
- aiChatAttachmentsBar__FormSubmitButton: "aiChatAttachmentsBar__FormSubmitButton";
609
511
  aiChatActionBar: "aiChatActionBar";
610
512
  aiChat__ChatActions: "aiChat__ChatActions";
611
513
  aiChat__ChatAction: "aiChat__ChatAction";
@@ -8,7 +8,7 @@ const a = {
8
8
  view_toggle: "view_toggle",
9
9
  view_toggle_button: "view_toggle_button",
10
10
  view_toggle_icon: "view_toggle_icon"
11
- }, t = {
11
+ }, e = {
12
12
  codeblockContainer: "codeblockContainer",
13
13
  codeblockHeader: "codeblockHeader",
14
14
  codeblockHeaderLanguage: "codeblockHeaderLanguage",
@@ -32,7 +32,7 @@ const a = {
32
32
  markdownSup: "markdownSup",
33
33
  markdownImg: "markdownImg",
34
34
  markdownHr: "markdownHr"
35
- }, e = {
35
+ }, t = {
36
36
  aiChatWrapper: "aiChatWrapper",
37
37
  aiChatRoot: "aiChatRoot",
38
38
  aiChatHeader: "aiChatHeader",
@@ -58,11 +58,6 @@ const a = {
58
58
  aiChatExampleQuestionsList: "aiChatExampleQuestionsList",
59
59
  aiChatExampleQuestion: "aiChatExampleQuestion",
60
60
  aiChatExampleQuestionButton: "aiChatExampleQuestionButton",
61
- aiChatWorkflows: "aiChatWorkflows",
62
- aiChatWorkflowsLabel: "aiChatWorkflowsLabel",
63
- aiChatWorkflowsList: "aiChatWorkflowsList",
64
- aiChatWorkflow: "aiChatWorkflow",
65
- aiChatWorkflow__Icon: "aiChatWorkflow__Icon",
66
61
  aiChatMessages: "aiChatMessages",
67
62
  aiChatMessageWrapper: "aiChatMessageWrapper",
68
63
  aiChatMessageHeader: "aiChatMessageHeader",
@@ -76,17 +71,6 @@ const a = {
76
71
  aiChatMessageContent: "aiChatMessageContent",
77
72
  aiChatMessage__Files: "aiChatMessage__Files",
78
73
  aiChatMessage__File: "aiChatMessage__File",
79
- aiChatMessageAttachments: "aiChatMessageAttachments",
80
- aiChatMessageAttachments__List: "aiChatMessageAttachments__List",
81
- aiChatMessageAttachments__Item: "aiChatMessageAttachments__Item",
82
- aiChatMessageAttachments__ItemIcon: "aiChatMessageAttachments__ItemIcon",
83
- aiChatMessageAttachments__ItemTitle: "aiChatMessageAttachments__ItemTitle",
84
- aiChatMessageAttachmentsPreview: "aiChatMessageAttachmentsPreview",
85
- aiChatMessageAttachmentsPreview__Overlay: "aiChatMessageAttachmentsPreview__Overlay",
86
- aiChatMessageAttachmentsPreview__Content: "aiChatMessageAttachmentsPreview__Content",
87
- aiChatMessageAttachmentsPreview__Header: "aiChatMessageAttachmentsPreview__Header",
88
- aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close",
89
- aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body",
90
74
  aiChatMessagePart: "aiChatMessagePart",
91
75
  aiChatMessageToolbar: "aiChatMessageToolbar",
92
76
  aiChatMessageCustomActions: "aiChatMessageCustomActions",
@@ -129,39 +113,6 @@ const a = {
129
113
  aiChatInput__NotificationTitle: "aiChatInput__NotificationTitle",
130
114
  aiChatInput__NotificationMessage: "aiChatInput__NotificationMessage",
131
115
  aiChatInput__NotificationClose: "aiChatInput__NotificationClose",
132
- aiChatAttachmentsBar: "aiChatAttachmentsBar",
133
- aiChatAttachmentsBar__List: "aiChatAttachmentsBar__List",
134
- aiChatAttachmentsBar__Attachment: "aiChatAttachmentsBar__Attachment",
135
- aiChatAttachmentsBar__AttachmentIcon: "aiChatAttachmentsBar__AttachmentIcon",
136
- aiChatAttachmentsBar__AttachmentTitle: "aiChatAttachmentsBar__AttachmentTitle",
137
- aiChatAttachmentsBar__AttachmentDelete: "aiChatAttachmentsBar__AttachmentDelete",
138
- aiChatAttachmentsBar__Actions: "aiChatAttachmentsBar__Actions",
139
- aiChatAttachmentsBar__InfoTip: "aiChatAttachmentsBar__InfoTip",
140
- aiChatAttachmentsBar__InfoTipIcon: "aiChatAttachmentsBar__InfoTipIcon",
141
- aiChatAttachmentsBar__InfoTipArrow: "aiChatAttachmentsBar__InfoTipArrow",
142
- aiChatAttachmentsBar__InfoTipText: "aiChatAttachmentsBar__InfoTipText",
143
- aiChatAttachmentsBar__Inputs: "aiChatAttachmentsBar__Inputs",
144
- aiChatAttachmentsBar__Input: "aiChatAttachmentsBar__Input",
145
- aiChatAttachmentsBar__InputIcon: "aiChatAttachmentsBar__InputIcon",
146
- aiChatAttachmentsBar__Modal: "aiChatAttachmentsBar__Modal",
147
- aiChatAttachmentsBar__ModalOverlay: "aiChatAttachmentsBar__ModalOverlay",
148
- aiChatAttachmentsBar__ModalContent: "aiChatAttachmentsBar__ModalContent",
149
- aiChatAttachmentsBar__ModalHeader: "aiChatAttachmentsBar__ModalHeader",
150
- aiChatAttachmentsBar__ModalClose: "aiChatAttachmentsBar__ModalClose",
151
- aiChatAttachmentsBar__ModalBody: "aiChatAttachmentsBar__ModalBody",
152
- aiChatAttachmentsBar__ModalHeading: "aiChatAttachmentsBar__ModalHeading",
153
- aiChatAttachmentsBar__ModalDescription: "aiChatAttachmentsBar__ModalDescription",
154
- aiChatAttachmentsBar__ModalHelp: "aiChatAttachmentsBar__ModalHelp",
155
- aiChatAttachmentsBar__Form: "aiChatAttachmentsBar__Form",
156
- aiChatAttachmentsBar__FormTitle: "aiChatAttachmentsBar__FormTitle",
157
- aiChatAttachmentsBar__FormTitleLabel: "aiChatAttachmentsBar__FormTitleLabel",
158
- aiChatAttachmentsBar__FormTitleInput: "aiChatAttachmentsBar__FormTitleInput",
159
- aiChatAttachmentsBar__FormTitleError: "aiChatAttachmentsBar__FormTitleError",
160
- aiChatAttachmentsBar__FormContent: "aiChatAttachmentsBar__FormContent",
161
- aiChatAttachmentsBar__FormContentLabel: "aiChatAttachmentsBar__FormContentLabel",
162
- aiChatAttachmentsBar__FormContentInput: "aiChatAttachmentsBar__FormContentInput",
163
- aiChatAttachmentsBar__FormContentError: "aiChatAttachmentsBar__FormContentError",
164
- aiChatAttachmentsBar__FormSubmitButton: "aiChatAttachmentsBar__FormSubmitButton",
165
116
  aiChatActionBar: "aiChatActionBar",
166
117
  aiChat__ChatActions: "aiChat__ChatActions",
167
118
  aiChat__ChatAction: "aiChat__ChatAction",
@@ -357,11 +308,11 @@ const a = {
357
308
  aiChatHistory__LoadingState: "aiChatHistory__LoadingState",
358
309
  aiChatHistory__Footer: "aiChatHistory__Footer",
359
310
  aiChatHistory__NewConversationButton: "aiChatHistory__NewConversationButton"
360
- }, c = {
311
+ }, l = {
361
312
  //
362
313
  //
363
- ...t,
364
314
  ...e,
315
+ ...t,
365
316
  ..._,
366
317
  ...i,
367
318
  ...o,
@@ -377,12 +328,12 @@ export {
377
328
  s as DataSummaryComponentIds,
378
329
  r as SearchBarComponentIds,
379
330
  h as SidebarChatComponentIds,
380
- e as aiChatComponentIds,
331
+ t as aiChatComponentIds,
381
332
  C as aiChatHistoryComponentIds,
382
333
  _ as aiSearchComponentIds,
383
334
  o as chatButtonComponentIds,
384
- c as componentIDs,
385
- t as markDownComponentIds,
335
+ l as componentIDs,
336
+ e as markDownComponentIds,
386
337
  a as miscellanousComponentIds,
387
338
  i as modalComponentIds
388
339
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../theme/index.cjs"),t=require("../../theme/colors.cjs"),s={baseUrl:"https://api.agents.inkeep.com",placeholder:"How do I get started?",aiAssistantName:void 0,shouldOpenLinksInNewTab:!0,disclaimerSettings:{isEnabled:!1,label:"Usage policy"},isShareButtonVisible:!1,isViewOnly:!1,isChatHistoryButtonVisible:!0,exampleQuestionsLabel:"Example questions",exampleQuestions:[],isFirstExampleQuestionHighlighted:!0,isCopyChatButtonVisible:!1,getHelpOptions:[],workflowsHeader:"Workflows",workflows:[],toolbarButtonLabels:{clear:"Clear",share:"Share",getHelp:"Get help",stop:"Stop",copyChat:"Copy"},context:{}},a={shouldBypassCaptcha:!1,tags:[],userProperties:{},primaryBrandColor:t.DEFAULT_PRIMARY_BRAND_COLOR,theme:{varsClassName:"inkeep-widget-vars",...e.theme}},l={shouldOpenLinksInNewTab:!1,defaultQuery:"",debounceTimeMs:0,tabs:["All","Publications","PDFs","GitHub","Forums","Discord","Slack","StackOverflow"],placeholder:"Search for anything...",view:"single-pane"};exports.defaultInkeepAIChatSettings=s;exports.defaultInkeepBaseSettings=a;exports.defaultInkeepSearchSettings=l;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../theme/index.cjs"),t=require("../../theme/colors.cjs"),s={baseUrl:"https://api.agents.inkeep.com",placeholder:"How do I get started?",aiAssistantName:void 0,shouldOpenLinksInNewTab:!0,disclaimerSettings:{isEnabled:!1,label:"Usage policy"},isShareButtonVisible:!1,isViewOnly:!1,isChatHistoryButtonVisible:!0,exampleQuestionsLabel:"Example questions",exampleQuestions:[],isFirstExampleQuestionHighlighted:!0,isCopyChatButtonVisible:!1,getHelpOptions:[],toolbarButtonLabels:{clear:"Clear",share:"Share",getHelp:"Get help",stop:"Stop",copyChat:"Copy"},context:{}},a={shouldBypassCaptcha:!1,tags:[],userProperties:{},primaryBrandColor:t.DEFAULT_PRIMARY_BRAND_COLOR,theme:{varsClassName:"inkeep-widget-vars",...e.theme}},i={shouldOpenLinksInNewTab:!1,defaultQuery:"",debounceTimeMs:0,tabs:["All","Publications","PDFs","GitHub","Forums","Discord","Slack","StackOverflow"],placeholder:"Search for anything...",view:"single-pane"};exports.defaultInkeepAIChatSettings=s;exports.defaultInkeepBaseSettings=a;exports.defaultInkeepSearchSettings=i;
@@ -16,8 +16,6 @@ export declare const defaultInkeepAIChatSettings: {
16
16
  isFirstExampleQuestionHighlighted: true;
17
17
  isCopyChatButtonVisible: false;
18
18
  getHelpOptions: never[];
19
- workflowsHeader: string;
20
- workflows: never[];
21
19
  toolbarButtonLabels: {
22
20
  clear: string;
23
21
  share: string;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { theme as e } from "../../theme/index.js";
3
- import { DEFAULT_PRIMARY_BRAND_COLOR as s } from "../../theme/colors.js";
4
- const l = {
3
+ import { DEFAULT_PRIMARY_BRAND_COLOR as t } from "../../theme/colors.js";
4
+ const i = {
5
5
  baseUrl: "https://api.agents.inkeep.com",
6
6
  placeholder: "How do I get started?",
7
7
  aiAssistantName: void 0,
@@ -18,8 +18,6 @@ const l = {
18
18
  isFirstExampleQuestionHighlighted: !0,
19
19
  isCopyChatButtonVisible: !1,
20
20
  getHelpOptions: [],
21
- workflowsHeader: "Workflows",
22
- workflows: [],
23
21
  toolbarButtonLabels: {
24
22
  clear: "Clear",
25
23
  share: "Share",
@@ -28,11 +26,11 @@ const l = {
28
26
  copyChat: "Copy"
29
27
  },
30
28
  context: {}
31
- }, i = {
29
+ }, l = {
32
30
  shouldBypassCaptcha: !1,
33
31
  tags: [],
34
32
  userProperties: {},
35
- primaryBrandColor: s,
33
+ primaryBrandColor: t,
36
34
  theme: {
37
35
  varsClassName: "inkeep-widget-vars",
38
36
  ...e
@@ -46,7 +44,7 @@ const l = {
46
44
  view: "single-pane"
47
45
  };
48
46
  export {
49
- l as defaultInkeepAIChatSettings,
50
- i as defaultInkeepBaseSettings,
47
+ i as defaultInkeepAIChatSettings,
48
+ l as defaultInkeepBaseSettings,
51
49
  o as defaultInkeepSearchSettings
52
50
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("react"),t=require("../styled/components/embedded-chat.cjs"),d=require("../styled/components/chat-history.cjs"),g=require("../styled/components/modal.cjs"),v=require("../styled/components/shadow.cjs"),M=require("../styled/components/message.cjs"),B=require("../primitives/providers/chat-history-provider.cjs"),C=require("../primitives/providers/config-provider.cjs"),S=require("../primitives/providers/root-provider.cjs"),w=require("../primitives/providers/widget-provider.cjs"),A=require("../primitives/components/embedded-chat/chat-provider.cjs"),H=require("../primitives/components/modal/modal-provider.cjs"),p=require("../primitives/utils/misc.cjs"),F=require("../primitives/atoms/portal-with-theme.cjs"),P=require("../primitives/atoms/error-boundary.cjs"),f=require("./modal.cjs"),L=require("../primitives/providers/image-preview-provider.cjs"),D=require("./widget-toggle.cjs"),E=require("../primitives/components/embedded-chat/file-upload-input.cjs"),o=require("../styled/components/embedded-chat/file-upload-input.cjs"),x=require("../styled/components/embedded-chat/image-preview-modal.cjs");function q(r){const{baseSettings:s,aiChatSettings:n}=r;return e.jsx(P.ErrorBoundary,{children:e.jsx(v.Shadow,{wrapperStyles:{height:"inherit",width:"inherit"},children:e.jsx(S.RootProvider,{config:{baseSettings:s,aiChatSettings:n},componentType:C.WebWidgetInteractionType.EmbeddedChat,children:e.jsx(y,{...r})})})})}function T(r){const{children:s,onToggleView:n,isHidden:a,shouldAutoFocusInput:i=!n}=r;return e.jsx(t.Provider,{isHidden:a,shouldAutoFocusInput:i,children:s})}function y(r){return e.jsx(T,{...r,children:e.jsx(k,{...r})})}function k(r){const{onToggleView:s,variant:n,header:a=W}=r,i=H.useModal(),l=w.useWidget(),m=i&&!l?f.ModalContent:b.Fragment;return e.jsx(L.ImagePreviewProvider,{children:e.jsx(m,{children:e.jsxs(t.Wrapper,{variant:n??(s?"no-shadow":"container-with-shadow"),"data-composite":p.dataAttr(!!r.onToggleView||i?.isOpen),children:[e.jsx(z,{}),e.jsxs(t.Root,{children:[a&&e.jsx(a,{...r}),e.jsx(N,{}),e.jsx(G,{})]}),e.jsx(J,{}),e.jsx($,{}),e.jsx(X,{})]})})})}const W=r=>{const{onToggleView:s,askAILabel:n,searchLabel:a}=r,{aiChatSettings:i}=C.useInkeepConfig(),l=i.isChatHistoryButtonVisible,m=!!s||l;return e.jsx(t.Header,{"data-show-toolbar":p.dataAttr(m),children:m?e.jsxs(t.HeaderToolbar,{"data-show-widget-toggle":p.dataAttr(!!s),children:[e.jsx(t.HeaderToolbarWrapper,{children:l&&e.jsx(t.ChatHistoryTrigger,{})}),s&&e.jsx(D.WidgetToggle,{onToggleView:s,askAILabel:n,searchLabel:a,view:"chat"}),e.jsx(g.Close,{})]}):e.jsx(g.Close,{})})};function N(){const{isSessionLoading:r}=A.useChat();return e.jsx(t.Content,{children:e.jsxs(t.ContentScrollArea,{children:[e.jsx(t.ContentScrollAreaViewport,{children:r?e.jsx(t.MessagesSessionLoading,{}):e.jsx(_,{})}),e.jsx(t.ContentScrollAreaScrollbar,{children:e.jsx(t.ContentScrollAreaThumb,{})}),e.jsx(t.ContentScrollAreaCorner,{})]})})}function _(){const{aiChatSettings:{components:r}}=C.useInkeepConfig();return e.jsx(t.Messages,{children:({messages:s,isLoading:n,isStreaming:a})=>{const i=s.at(-1),l=(c,h)=>{const j=r?.[c];if(!j)return console.warn(`Component "${c}" not found in components config`),null;try{if(typeof j=="function"&&j.length<=1)return b.createElement(j,h);const u=j(h,document.createElement("div"),null);return b.isValidElement(u)||typeof u=="string"?u:null}catch(u){return console.error(`🔍 [renderComponent] Error rendering component "${c}":`,u),null}},m=c=>e.jsx(t.Markdown,{text:c});return e.jsxs(e.Fragment,{children:[e.jsx(V,{}),s.map(c=>{const h=i?.id===c.id;return e.jsxs(t.MessageWrapper,{message:c,children:[e.jsx(I,{}),e.jsxs(t.MessageContentWrapper,{children:[e.jsx(t.MessageContent,{children:r?.IkpMessage?e.jsx(t.DynamicComponent,{name:"IkpMessage",props:{message:c,renderComponent:l,renderMarkdown:m},componentDef:r.IkpMessage}):e.jsxs(e.Fragment,{children:[e.jsx(M.EmbeddedChatMessagePart,{isLast:h}),(!a||!h)&&e.jsx(U,{})]})}),e.jsx(O,{}),e.jsx(R,{}),e.jsx(Q,{})]})]},c.id)}),n&&i?.parts.length&&e.jsxs(t.MessageWrapper,{message:{id:"___loader___",role:"assistant",parts:[{type:"text",text:"Thinking..."}]},children:[e.jsx(I,{}),e.jsx(t.MessageLoading,{})]})]})}})}function V(){return e.jsxs(t.IntroMessageWrapper,{children:[e.jsxs(t.MessageHeader,{children:[e.jsx(t.MessageAvatar,{children:e.jsx(t.MessageAvatarContent,{children:e.jsx(t.MessageAvatarImage,{})})}),e.jsx(t.MessageName,{})]}),e.jsxs(t.MessageContentWrapper,{children:[e.jsx(t.MessageContent,{children:e.jsx(M.EmbeddedChatMessagePart,{isLast:!1})}),e.jsxs(t.Disclaimer,{children:[e.jsx(t.DisclaimerLabel,{}),e.jsx(t.DisclaimerTrigger,{}),e.jsxs(t.DisclaimerContent,{children:[e.jsx(t.DisclaimerText,{}),e.jsx(t.DisclaimerArrow,{})]})]}),e.jsxs(t.ExampleQuestions,{children:[e.jsx(t.ExampleQuestionsLabel,{}),e.jsx(t.ExampleQuestionsList,{children:r=>r.map(s=>e.jsx(t.ExampleQuestion,{children:e.jsx(t.ExampleQuestionButton,{question:s})},typeof s=="object"?s.label:s))})]})]})]})}function I(){return e.jsxs(t.MessageHeader,{children:[e.jsx(t.MessageAvatar,{children:e.jsx(t.MessageAvatarContent,{children:e.jsx(t.MessageAvatarImage,{})})}),e.jsx(t.MessageName,{})]})}function $(){return e.jsx(F.PortalWithTheme,{children:e.jsx(x.EmbeddedChatImagePreviewModal,{children:e.jsx(x.EmbeddedChatImagePreviewModalOverlay,{children:e.jsxs(x.EmbeddedChatImagePreviewModalContent,{children:[e.jsx(x.EmbeddedChatImagePreviewModalClose,{}),e.jsx(x.EmbeddedChatImagePreviewModalImage,{}),e.jsx(x.EmbeddedChatImagePreviewModalFooter,{children:e.jsx(x.EmbeddedChatImagePreviewModalFileName,{})})]})})})})}function O(){return e.jsx(o.EmbeddedChatMessageFiles,{children:r=>r.map((s,n)=>{const a=s.url,i=s.mediaType??"",l=i.split("/").pop(),m=s.filename??(l?`untitled.${l}`:"untitled"),c=E.isImageMimeType(i);return e.jsxs(o.EmbeddedChatMessageFile,{url:a,name:m,mediaType:i,children:[c?e.jsx(o.EmbeddedChatFileThumbnail,{}):e.jsx(o.EmbeddedChatFileTypeIcon,{}),e.jsx(o.EmbeddedChatFileName,{})]},a||n)})})}function R(){return e.jsxs(t.MessageAttachments,{children:[e.jsx(t.MessageAttachmentsList,{children:r=>r.map(s=>e.jsxs(t.MessageAttachmentsItem,{attachment:s,children:[e.jsx(t.MessageAttachmentsItemIcon,{}),e.jsx(t.MessageAttachmentsItemTitle,{})]},s.id))}),e.jsx(t.MessageAttachmentsPreview,{children:e.jsx(F.PortalWithTheme,{children:e.jsx(t.MessageAttachmentsPreviewOverlay,{children:e.jsxs(t.MessageAttachmentsPreviewContent,{children:[e.jsx(t.MessageAttachmentsPreviewHeader,{}),e.jsx(t.MessageAttachmentsPreviewClose,{}),e.jsx(t.MessageAttachmentsPreviewBody,{})]})})})})]})}function Q(){return e.jsxs(t.MessageToolbar,{children:[e.jsx(t.MessageCustomActions,{children:r=>r.map((s,n)=>e.jsx(t.MessageCustomAction,{action:s},`action-${n}`))}),e.jsx(t.MessageAction,{action:"copy"}),e.jsx(t.MessageAction,{action:"upvote"}),e.jsx(t.MessageAction,{action:"downvote"})]})}function U(){return e.jsxs(t.MessageSources,{children:[e.jsx(t.MessageSourcesHeader,{}),e.jsx(t.MessageSourcesList,{children:r=>r.map((s,n)=>e.jsxs(t.MessageSourceItem,{href:s.url,source:s,children:[e.jsx(t.MessageSourceItemBreadcrumbs,{children:s.breadcrumbs?.map(a=>e.jsxs(b.Fragment,{children:[a,e.jsx(t.MessageSourceItemBreadcrumbIcon,{})]},a))}),e.jsx(t.MessageSourceItemIcon,{}),e.jsx(t.MessageSourceItemTitle,{}),e.jsx(t.MessageSourceItemTag,{}),e.jsx(t.MessageSourceItemDescription,{children:a=>a.map((i,l)=>e.jsx(t.MessageSourceItemDescriptionPart,{part:i},`part-${l}`))}),e.jsx(t.MessageSourceItemIndicator,{})]},n))})]})}function G(){return e.jsxs(t.Footer,{children:[e.jsx(o.EmbeddedChatInputNotification,{children:e.jsxs(o.EmbeddedChatInputNotificationContent,{children:[e.jsxs(o.EmbeddedChatInputNotificationHeader,{children:[e.jsx(o.EmbeddedChatInputNotificationTitle,{}),e.jsx(o.EmbeddedChatInputNotificationClose,{})]}),e.jsx(o.EmbeddedChatInputNotificationMessage,{})]})}),e.jsx(K,{}),e.jsx(Z,{})]})}function K(){return e.jsxs(t.InputFieldset,{children:[e.jsx(o.EmbeddedChatFileInput,{}),e.jsx(o.EmbeddedChatDropZone,{children:"Drop files here to add to chat"}),e.jsx(o.EmbeddedChatFileList,{children:r=>r.map((s,n)=>{const a=E.isImageMimeType(s.type);return e.jsxs(o.EmbeddedChatFileItem,{file:s,children:[a?e.jsxs(o.EmbeddedChatFilePreviewTrigger,{children:[e.jsx(o.EmbeddedChatFileThumbnail,{}),e.jsx(o.EmbeddedChatFileName,{})]}):e.jsxs(o.EmbeddedChatFileContent,{children:[e.jsx(o.EmbeddedChatFileTypeIcon,{}),e.jsx(o.EmbeddedChatFileName,{})]}),e.jsx(o.EmbeddedChatFileRemove,{})]},`${s.name}-${s.lastModified}-${n}`)})}),e.jsxs(t.InputGroup,{children:[e.jsx(o.EmbeddedChatFileUploadButton,{}),e.jsx(t.Input,{}),e.jsx(t.SendButton,{children:e.jsx(t.SendButtonIcon,{})})]}),e.jsxs(t.AttachmentsBar,{children:[e.jsx(t.AttachmentsBarList,{children:r=>r.map(s=>e.jsxs(t.AttachmentsBarAttachment,{attachment:s,children:[e.jsx(t.AttachmentsBarAttachmentIcon,{}),e.jsx(t.AttachmentsBarAttachmentTitle,{}),e.jsx(t.AttachmentsBarAttachmentDelete,{})]},s.id))}),e.jsxs(t.AttachmentsBarActions,{children:[e.jsxs(t.AttachmentsBarInfoTip,{children:[e.jsx(t.AttachmentsBarInfoTipIcon,{}),e.jsx(t.AttachmentsBarInfoTipText,{})]}),e.jsx(t.AttachmentsBarInputs,{children:r=>r.map(s=>e.jsx(t.AttachmentsBarInput,{input:s,children:s.displayName},s.id))})]}),e.jsx(F.PortalWithTheme,{children:e.jsx(t.AttachmentsBarModal,{children:e.jsx(t.AttachmentsBarModalOverlay,{children:e.jsxs(t.AttachmentsBarModalContent,{children:[e.jsxs(t.AttachmentsBarModalHeader,{children:[e.jsx(t.AttachmentsBarModalHeading,{}),e.jsx(t.AttachmentsBarModalDescription,{}),e.jsx(t.AttachmentsBarModalHelp,{})]}),e.jsx(t.AttachmentsBarModalClose,{}),e.jsx(t.AttachmentsBarModalBody,{children:e.jsxs(t.AttachmentsBarForm,{children:[e.jsxs(t.AttachmentsBarFormTitle,{children:[e.jsx(t.AttachmentsBarFormTitleLabel,{}),e.jsx(t.AttachmentsBarFormTitleInput,{}),e.jsx(t.AttachmentsBarFormTitleError,{})]}),e.jsxs(t.AttachmentsBarFormContent,{children:[e.jsx(t.AttachmentsBarFormContentLabel,{}),e.jsx(t.AttachmentsBarFormContentInput,{}),e.jsx(t.AttachmentsBarFormContentError,{})]}),e.jsx(t.AttachmentsBarFormSubmitButton,{})]})})]})})})})]})]})}function Z(){return e.jsxs(t.ActionBar,{children:[e.jsxs(t.TaglineContainer,{children:[e.jsx(t.TaglineText,{}),e.jsx(t.TaglineLogo,{}),e.jsx(t.TaglineBrandName,{})]}),e.jsxs(t.Actions,{children:[e.jsx(t.HelpActions,{children:({pinned:r,unpinned:s})=>e.jsxs(e.Fragment,{children:[r.map(n=>e.jsx(t.HelpAction,{action:n},n.name)),s.length>0&&e.jsx(t.HelpActionsTrigger,{}),e.jsxs(t.HelpActionsMenu,{children:[e.jsx(t.HelpActionsMenuArrow,{}),s.map(n=>e.jsxs(t.HelpActionsMenuItem,{action:n,children:[e.jsx(t.HelpActionsMenuItemIcon,{action:n}),n.name]},n.name))]})]})}),e.jsxs(t.ChatAction,{action:"copy",children:[e.jsx(t.ChatActionLabel,{action:"copy"}),e.jsx(t.ChatActionFeedback,{action:"copy"})]}),e.jsx(t.ChatAction,{action:"clear"}),e.jsx(t.ChatAction,{action:"stop"})]})]})}function z(){const{sessions:r}=B.useChatHistory(),{conversationId:s}=A.useChat();return e.jsxs(d.EmbeddedChatHistoryRoot,{children:[e.jsxs(d.EmbeddedChatHistoryHeader,{children:[e.jsxs(d.EmbeddedChatHistoryBackButton,{children:[e.jsx(d.EmbeddedChatHistoryBackButtonIcon,{iconKey:"backToChat"}),"Back to chat"]}),e.jsx(d.EmbeddedChatHistoryTitle,{}),e.jsx(g.Close,{})]}),e.jsxs(d.EmbeddedChatHistoryList,{children:[r.map(n=>e.jsxs(d.EmbeddedChatHistoryItem,{sessionId:n.id,"data-active":p.dataAttr(n.id===s),children:[e.jsx(d.EmbeddedChatHistoryItemTitle,{children:n.title}),e.jsx(d.EmbeddedChatHistoryItemDate,{children:d.formatSessionDate(n.updatedAt)})]},n.id)),e.jsx(d.EmbeddedChatHistoryEmptyState,{}),e.jsx(d.EmbeddedChatHistoryLoadingState,{})]}),e.jsx(d.EmbeddedChatHistoryFooter,{children:e.jsx(d.EmbeddedChatHistoryNewConversationButton,{})})]})}function J(){return e.jsx(F.PortalWithTheme,{children:e.jsx(t.FeedbackModal,{children:e.jsx(t.FeedbackModalOverlay,{children:e.jsxs(t.FeedbackModalContent,{children:[e.jsx(t.FeedbackModalHeader,{}),e.jsx(t.FeedbackModalClose,{}),e.jsx(t.FeedbackModalBody,{children:e.jsxs(t.FeedbackForm,{children:[e.jsxs(t.FeedbackItem,{name:"unrelated_response",children:[e.jsx(t.FeedbackItemCheckbox,{children:e.jsx(t.FeedbackItemCheckboxIndicator,{})}),e.jsx(t.FeedbackItemLabel,{}),e.jsx(t.FeedbackItemDescription,{})]}),e.jsxs(t.FeedbackItem,{name:"inaccurate_statement",children:[e.jsx(t.FeedbackItemCheckbox,{children:e.jsx(t.FeedbackItemCheckboxIndicator,{})}),e.jsx(t.FeedbackItemLabel,{}),e.jsx(t.FeedbackItemDescription,{})]}),e.jsxs(t.FeedbackItem,{name:"inaccurate_code_snippet",children:[e.jsx(t.FeedbackItemCheckbox,{children:e.jsx(t.FeedbackItemCheckboxIndicator,{})}),e.jsx(t.FeedbackItemLabel,{}),e.jsx(t.FeedbackItemDescription,{})]}),e.jsxs(t.FeedbackItem,{name:"irrelevant_citations",children:[e.jsx(t.FeedbackItemCheckbox,{children:e.jsx(t.FeedbackItemCheckboxIndicator,{})}),e.jsx(t.FeedbackItemLabel,{})]}),e.jsx(t.FeedbackSubmitButton,{})]})})]})})})})}function X(){return e.jsxs(t.FormWrapper,{children:[e.jsx(t.FormClose,{}),e.jsxs(t.Form,{children:[e.jsxs(t.FormHeader,{children:[e.jsx(t.FormHeading,{}),e.jsx(t.FormDescription,{})]}),e.jsx(t.FormContent,{children:r=>e.jsxs(e.Fragment,{children:[r.map((s,n)=>e.jsxs(t.FormField,{field:s,autoFocus:n===0,children:[e.jsx(t.FormFieldLabel,{}),s.inputType==="text"&&e.jsx(t.FormFieldText,{}),s.inputType==="email"&&e.jsx(t.FormFieldEmail,{}),s.inputType==="file"&&e.jsx(t.FormFieldFile,{}),s.inputType==="textarea"&&e.jsx(t.FormFieldTextArea,{}),s.inputType==="checkbox"&&e.jsx(t.FormFieldCheckbox,{children:e.jsx(t.FormFieldCheckboxIndicator,{})}),s.inputType==="select"&&e.jsxs(t.FormFieldSelect,{children:[e.jsxs(t.FormFieldSelectTrigger,{children:[e.jsx(t.FormFieldSelectValue,{}),e.jsx(t.FormFieldSelectIcon,{})]}),e.jsx(t.FormFieldSelectContent,{children:e.jsx(t.FormFieldSelectViewport,{children:s.items.map(a=>e.jsxs(t.FormFieldSelectItem,{value:a.value,children:[e.jsx(t.FormFieldSelectItemText,{children:a.label}),e.jsx(t.FormFieldSelectItemIndicator,{})]},a.value))})})]}),s.inputType==="combobox"&&e.jsxs(t.FormFieldCombobox,{children:[e.jsxs(t.FormFieldComboboxControl,{children:["multiple"in s&&s.multiple&&e.jsx(t.FormFieldComboboxSelectedTags,{}),e.jsx(t.FormFieldComboboxInput,{}),e.jsx(t.FormFieldComboboxTrigger,{})]}),e.jsx(t.FormFieldComboboxPositioner,{children:e.jsx(t.FormFieldComboboxContent,{children:e.jsx(t.FormFieldComboboxList,{children:e.jsx(t.FormFieldComboboxListItems,{children:a=>a.length===0?e.jsx(t.FormFieldComboboxListEmpty,{}):a.map(i=>e.jsxs(t.FormFieldComboboxItem,{item:i,children:[e.jsx(t.FormFieldComboboxItemText,{children:i.label}),e.jsx(t.FormFieldComboboxItemIndicator,{})]},i.value))})})})})]}),e.jsx(t.FormFieldDescription,{}),e.jsx(t.FormFieldError,{})]},s.name)),e.jsx(t.FormError,{})]})}),e.jsxs(t.FormFooter,{children:[e.jsx(t.FormCancel,{}),e.jsx(t.FormSubmit,{})]})]}),e.jsxs(t.FormSuccess,{children:[e.jsx(t.FormSuccessHeading,{}),e.jsx(t.FormSuccessMessage,{}),e.jsx(t.FormSuccessButton,{})]})]})}exports.InkeepEmbeddedChat=q;exports.InkeepEmbeddedChatImpl=y;exports.InkeepEmbeddedChatImplContent=k;exports.InkeepEmbeddedChatProvider=T;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("react"),s=require("../styled/components/embedded-chat.cjs"),a=require("../styled/components/chat-history.cjs"),p=require("../styled/components/modal.cjs"),v=require("../styled/components/shadow.cjs"),I=require("../styled/components/message.cjs"),H=require("../primitives/providers/chat-history-provider.cjs"),g=require("../primitives/providers/config-provider.cjs"),A=require("../primitives/providers/root-provider.cjs"),w=require("../primitives/providers/widget-provider.cjs"),M=require("../primitives/components/embedded-chat/chat-provider.cjs"),f=require("../primitives/components/modal/modal-provider.cjs"),F=require("../primitives/utils/misc.cjs"),E=require("../primitives/atoms/portal-with-theme.cjs"),P=require("../primitives/atoms/error-boundary.cjs"),L=require("./modal.cjs"),B=require("../primitives/providers/image-preview-provider.cjs"),D=require("./widget-toggle.cjs"),k=require("../primitives/components/embedded-chat/file-upload-input.cjs"),i=require("../styled/components/embedded-chat/file-upload-input.cjs"),m=require("../styled/components/embedded-chat/image-preview-modal.cjs");function q(r){const{baseSettings:t,aiChatSettings:n}=r;return e.jsx(P.ErrorBoundary,{children:e.jsx(v.Shadow,{wrapperStyles:{height:"inherit",width:"inherit"},children:e.jsx(A.RootProvider,{config:{baseSettings:t,aiChatSettings:n},componentType:g.WebWidgetInteractionType.EmbeddedChat,children:e.jsx(T,{...r})})})})}function y(r){const{children:t,onToggleView:n,isHidden:o,shouldAutoFocusInput:d=!n}=r;return e.jsx(s.Provider,{isHidden:o,shouldAutoFocusInput:d,children:t})}function T(r){return e.jsx(y,{...r,children:e.jsx(S,{...r})})}function S(r){const{onToggleView:t,variant:n,header:o=W}=r,d=f.useModal(),l=w.useWidget(),x=d&&!l?L.ModalContent:b.Fragment;return e.jsx(B.ImagePreviewProvider,{children:e.jsx(x,{children:e.jsxs(s.Wrapper,{variant:n??(t?"no-shadow":"container-with-shadow"),"data-composite":F.dataAttr(!!r.onToggleView||d?.isOpen),children:[e.jsx(Z,{}),e.jsxs(s.Root,{children:[o&&e.jsx(o,{...r}),e.jsx(N,{}),e.jsx(U,{})]}),e.jsx(z,{}),e.jsx($,{}),e.jsx(J,{})]})})})}const W=r=>{const{onToggleView:t,askAILabel:n,searchLabel:o}=r,{aiChatSettings:d}=g.useInkeepConfig(),l=d.isChatHistoryButtonVisible,x=!!t||l;return e.jsx(s.Header,{"data-show-toolbar":F.dataAttr(x),children:x?e.jsxs(s.HeaderToolbar,{"data-show-widget-toggle":F.dataAttr(!!t),children:[e.jsx(s.HeaderToolbarWrapper,{children:l&&e.jsx(s.ChatHistoryTrigger,{})}),t&&e.jsx(D.WidgetToggle,{onToggleView:t,askAILabel:n,searchLabel:o,view:"chat"}),e.jsx(p.Close,{})]}):e.jsx(p.Close,{})})};function N(){const{isSessionLoading:r}=M.useChat();return e.jsx(s.Content,{children:e.jsxs(s.ContentScrollArea,{children:[e.jsx(s.ContentScrollAreaViewport,{children:r?e.jsx(s.MessagesSessionLoading,{}):e.jsx(_,{})}),e.jsx(s.ContentScrollAreaScrollbar,{children:e.jsx(s.ContentScrollAreaThumb,{})}),e.jsx(s.ContentScrollAreaCorner,{})]})})}function _(){const{aiChatSettings:{components:r}}=g.useInkeepConfig();return e.jsx(s.Messages,{children:({messages:t,isLoading:n,isStreaming:o})=>{const d=t.at(-1),l=(c,j)=>{const h=r?.[c];if(!h)return console.warn(`Component "${c}" not found in components config`),null;try{if(typeof h=="function"&&h.length<=1)return b.createElement(h,j);const u=h(j,document.createElement("div"),null);return b.isValidElement(u)||typeof u=="string"?u:null}catch(u){return console.error(`🔍 [renderComponent] Error rendering component "${c}":`,u),null}},x=c=>e.jsx(s.Markdown,{text:c});return e.jsxs(e.Fragment,{children:[e.jsx(V,{}),t.map(c=>{const j=d?.id===c.id;return e.jsxs(s.MessageWrapper,{message:c,children:[e.jsx(C,{}),e.jsxs(s.MessageContentWrapper,{children:[e.jsx(s.MessageContent,{children:r?.IkpMessage?e.jsx(s.DynamicComponent,{name:"IkpMessage",props:{message:c,renderComponent:l,renderMarkdown:x},componentDef:r.IkpMessage}):e.jsxs(e.Fragment,{children:[e.jsx(I.EmbeddedChatMessagePart,{isLast:j}),(!o||!j)&&e.jsx(O,{})]})}),e.jsx(R,{}),e.jsx(Q,{})]})]},c.id)}),n&&d?.parts.length&&e.jsxs(s.MessageWrapper,{message:{id:"___loader___",role:"assistant",parts:[{type:"text",text:"Thinking..."}]},children:[e.jsx(C,{}),e.jsx(s.MessageLoading,{})]})]})}})}function V(){return e.jsxs(s.IntroMessageWrapper,{children:[e.jsxs(s.MessageHeader,{children:[e.jsx(s.MessageAvatar,{children:e.jsx(s.MessageAvatarContent,{children:e.jsx(s.MessageAvatarImage,{})})}),e.jsx(s.MessageName,{})]}),e.jsxs(s.MessageContentWrapper,{children:[e.jsx(s.MessageContent,{children:e.jsx(I.EmbeddedChatMessagePart,{isLast:!1})}),e.jsxs(s.Disclaimer,{children:[e.jsx(s.DisclaimerLabel,{}),e.jsx(s.DisclaimerTrigger,{}),e.jsxs(s.DisclaimerContent,{children:[e.jsx(s.DisclaimerText,{}),e.jsx(s.DisclaimerArrow,{})]})]}),e.jsxs(s.ExampleQuestions,{children:[e.jsx(s.ExampleQuestionsLabel,{}),e.jsx(s.ExampleQuestionsList,{children:r=>r.map(t=>e.jsx(s.ExampleQuestion,{children:e.jsx(s.ExampleQuestionButton,{question:t})},typeof t=="object"?t.label:t))})]})]})]})}function C(){return e.jsxs(s.MessageHeader,{children:[e.jsx(s.MessageAvatar,{children:e.jsx(s.MessageAvatarContent,{children:e.jsx(s.MessageAvatarImage,{})})}),e.jsx(s.MessageName,{})]})}function $(){return e.jsx(E.PortalWithTheme,{children:e.jsx(m.EmbeddedChatImagePreviewModal,{children:e.jsx(m.EmbeddedChatImagePreviewModalOverlay,{children:e.jsxs(m.EmbeddedChatImagePreviewModalContent,{children:[e.jsx(m.EmbeddedChatImagePreviewModalClose,{}),e.jsx(m.EmbeddedChatImagePreviewModalImage,{}),e.jsx(m.EmbeddedChatImagePreviewModalFooter,{children:e.jsx(m.EmbeddedChatImagePreviewModalFileName,{})})]})})})})}function R(){return e.jsx(i.EmbeddedChatMessageFiles,{children:r=>r.map((t,n)=>{const o=t.url,d=t.mediaType??"",l=d.split("/").pop(),x=t.filename??(l?`untitled.${l}`:"untitled"),c=k.isImageMimeType(d);return e.jsxs(i.EmbeddedChatMessageFile,{url:o,name:x,mediaType:d,children:[c?e.jsx(i.EmbeddedChatFileThumbnail,{}):e.jsx(i.EmbeddedChatFileTypeIcon,{}),e.jsx(i.EmbeddedChatFileName,{})]},o||n)})})}function Q(){return e.jsxs(s.MessageToolbar,{children:[e.jsx(s.MessageCustomActions,{children:r=>r.map((t,n)=>e.jsx(s.MessageCustomAction,{action:t},`action-${n}`))}),e.jsx(s.MessageAction,{action:"copy"}),e.jsx(s.MessageAction,{action:"upvote"}),e.jsx(s.MessageAction,{action:"downvote"})]})}function O(){return e.jsxs(s.MessageSources,{children:[e.jsx(s.MessageSourcesHeader,{}),e.jsx(s.MessageSourcesList,{children:r=>r.map((t,n)=>e.jsxs(s.MessageSourceItem,{href:t.url,source:t,children:[e.jsx(s.MessageSourceItemBreadcrumbs,{children:t.breadcrumbs?.map(o=>e.jsxs(b.Fragment,{children:[o,e.jsx(s.MessageSourceItemBreadcrumbIcon,{})]},o))}),e.jsx(s.MessageSourceItemIcon,{}),e.jsx(s.MessageSourceItemTitle,{}),e.jsx(s.MessageSourceItemTag,{}),e.jsx(s.MessageSourceItemDescription,{children:o=>o.map((d,l)=>e.jsx(s.MessageSourceItemDescriptionPart,{part:d},`part-${l}`))}),e.jsx(s.MessageSourceItemIndicator,{})]},n))})]})}function U(){return e.jsxs(s.Footer,{children:[e.jsx(i.EmbeddedChatInputNotification,{children:e.jsxs(i.EmbeddedChatInputNotificationContent,{children:[e.jsxs(i.EmbeddedChatInputNotificationHeader,{children:[e.jsx(i.EmbeddedChatInputNotificationTitle,{}),e.jsx(i.EmbeddedChatInputNotificationClose,{})]}),e.jsx(i.EmbeddedChatInputNotificationMessage,{})]})}),e.jsx(G,{}),e.jsx(K,{})]})}function G(){return e.jsxs(s.InputFieldset,{children:[e.jsx(i.EmbeddedChatFileInput,{}),e.jsx(i.EmbeddedChatDropZone,{children:"Drop files here to add to chat"}),e.jsx(i.EmbeddedChatFileList,{children:r=>r.map((t,n)=>{const o=k.isImageMimeType(t.type);return e.jsxs(i.EmbeddedChatFileItem,{file:t,children:[o?e.jsxs(i.EmbeddedChatFilePreviewTrigger,{children:[e.jsx(i.EmbeddedChatFileThumbnail,{}),e.jsx(i.EmbeddedChatFileName,{})]}):e.jsxs(i.EmbeddedChatFileContent,{children:[e.jsx(i.EmbeddedChatFileTypeIcon,{}),e.jsx(i.EmbeddedChatFileName,{})]}),e.jsx(i.EmbeddedChatFileRemove,{})]},`${t.name}-${t.lastModified}-${n}`)})}),e.jsxs(s.InputGroup,{children:[e.jsx(i.EmbeddedChatFileUploadButton,{}),e.jsx(s.Input,{}),e.jsx(s.SendButton,{children:e.jsx(s.SendButtonIcon,{})})]})]})}function K(){return e.jsxs(s.ActionBar,{children:[e.jsxs(s.TaglineContainer,{children:[e.jsx(s.TaglineText,{}),e.jsx(s.TaglineLogo,{}),e.jsx(s.TaglineBrandName,{})]}),e.jsxs(s.Actions,{children:[e.jsx(s.HelpActions,{children:({pinned:r,unpinned:t})=>e.jsxs(e.Fragment,{children:[r.map(n=>e.jsx(s.HelpAction,{action:n},n.name)),t.length>0&&e.jsx(s.HelpActionsTrigger,{}),e.jsxs(s.HelpActionsMenu,{children:[e.jsx(s.HelpActionsMenuArrow,{}),t.map(n=>e.jsxs(s.HelpActionsMenuItem,{action:n,children:[e.jsx(s.HelpActionsMenuItemIcon,{action:n}),n.name]},n.name))]})]})}),e.jsxs(s.ChatAction,{action:"copy",children:[e.jsx(s.ChatActionLabel,{action:"copy"}),e.jsx(s.ChatActionFeedback,{action:"copy"})]}),e.jsx(s.ChatAction,{action:"clear"}),e.jsx(s.ChatAction,{action:"stop"})]})]})}function Z(){const{sessions:r}=H.useChatHistory(),{conversationId:t}=M.useChat();return e.jsxs(a.EmbeddedChatHistoryRoot,{children:[e.jsxs(a.EmbeddedChatHistoryHeader,{children:[e.jsxs(a.EmbeddedChatHistoryBackButton,{children:[e.jsx(a.EmbeddedChatHistoryBackButtonIcon,{iconKey:"backToChat"}),"Back to chat"]}),e.jsx(a.EmbeddedChatHistoryTitle,{}),e.jsx(p.Close,{})]}),e.jsxs(a.EmbeddedChatHistoryList,{children:[r.map(n=>e.jsxs(a.EmbeddedChatHistoryItem,{sessionId:n.id,"data-active":F.dataAttr(n.id===t),children:[e.jsx(a.EmbeddedChatHistoryItemTitle,{children:n.title}),e.jsx(a.EmbeddedChatHistoryItemDate,{children:a.formatSessionDate(n.updatedAt)})]},n.id)),e.jsx(a.EmbeddedChatHistoryEmptyState,{}),e.jsx(a.EmbeddedChatHistoryLoadingState,{})]}),e.jsx(a.EmbeddedChatHistoryFooter,{children:e.jsx(a.EmbeddedChatHistoryNewConversationButton,{})})]})}function z(){return e.jsx(E.PortalWithTheme,{children:e.jsx(s.FeedbackModal,{children:e.jsx(s.FeedbackModalOverlay,{children:e.jsxs(s.FeedbackModalContent,{children:[e.jsx(s.FeedbackModalHeader,{}),e.jsx(s.FeedbackModalClose,{}),e.jsx(s.FeedbackModalBody,{children:e.jsxs(s.FeedbackForm,{children:[e.jsxs(s.FeedbackItem,{name:"unrelated_response",children:[e.jsx(s.FeedbackItemCheckbox,{children:e.jsx(s.FeedbackItemCheckboxIndicator,{})}),e.jsx(s.FeedbackItemLabel,{}),e.jsx(s.FeedbackItemDescription,{})]}),e.jsxs(s.FeedbackItem,{name:"inaccurate_statement",children:[e.jsx(s.FeedbackItemCheckbox,{children:e.jsx(s.FeedbackItemCheckboxIndicator,{})}),e.jsx(s.FeedbackItemLabel,{}),e.jsx(s.FeedbackItemDescription,{})]}),e.jsxs(s.FeedbackItem,{name:"inaccurate_code_snippet",children:[e.jsx(s.FeedbackItemCheckbox,{children:e.jsx(s.FeedbackItemCheckboxIndicator,{})}),e.jsx(s.FeedbackItemLabel,{}),e.jsx(s.FeedbackItemDescription,{})]}),e.jsxs(s.FeedbackItem,{name:"irrelevant_citations",children:[e.jsx(s.FeedbackItemCheckbox,{children:e.jsx(s.FeedbackItemCheckboxIndicator,{})}),e.jsx(s.FeedbackItemLabel,{})]}),e.jsx(s.FeedbackSubmitButton,{})]})})]})})})})}function J(){return e.jsxs(s.FormWrapper,{children:[e.jsx(s.FormClose,{}),e.jsxs(s.Form,{children:[e.jsxs(s.FormHeader,{children:[e.jsx(s.FormHeading,{}),e.jsx(s.FormDescription,{})]}),e.jsx(s.FormContent,{children:r=>e.jsxs(e.Fragment,{children:[r.map((t,n)=>e.jsxs(s.FormField,{field:t,autoFocus:n===0,children:[e.jsx(s.FormFieldLabel,{}),t.inputType==="text"&&e.jsx(s.FormFieldText,{}),t.inputType==="email"&&e.jsx(s.FormFieldEmail,{}),t.inputType==="file"&&e.jsx(s.FormFieldFile,{}),t.inputType==="textarea"&&e.jsx(s.FormFieldTextArea,{}),t.inputType==="checkbox"&&e.jsx(s.FormFieldCheckbox,{children:e.jsx(s.FormFieldCheckboxIndicator,{})}),t.inputType==="select"&&e.jsxs(s.FormFieldSelect,{children:[e.jsxs(s.FormFieldSelectTrigger,{children:[e.jsx(s.FormFieldSelectValue,{}),e.jsx(s.FormFieldSelectIcon,{})]}),e.jsx(s.FormFieldSelectContent,{children:e.jsx(s.FormFieldSelectViewport,{children:t.items.map(o=>e.jsxs(s.FormFieldSelectItem,{value:o.value,children:[e.jsx(s.FormFieldSelectItemText,{children:o.label}),e.jsx(s.FormFieldSelectItemIndicator,{})]},o.value))})})]}),t.inputType==="combobox"&&e.jsxs(s.FormFieldCombobox,{children:[e.jsxs(s.FormFieldComboboxControl,{children:["multiple"in t&&t.multiple&&e.jsx(s.FormFieldComboboxSelectedTags,{}),e.jsx(s.FormFieldComboboxInput,{}),e.jsx(s.FormFieldComboboxTrigger,{})]}),e.jsx(s.FormFieldComboboxPositioner,{children:e.jsx(s.FormFieldComboboxContent,{children:e.jsx(s.FormFieldComboboxList,{children:e.jsx(s.FormFieldComboboxListItems,{children:o=>o.length===0?e.jsx(s.FormFieldComboboxListEmpty,{}):o.map(d=>e.jsxs(s.FormFieldComboboxItem,{item:d,children:[e.jsx(s.FormFieldComboboxItemText,{children:d.label}),e.jsx(s.FormFieldComboboxItemIndicator,{})]},d.value))})})})})]}),e.jsx(s.FormFieldDescription,{}),e.jsx(s.FormFieldError,{})]},t.name)),e.jsx(s.FormError,{})]})}),e.jsxs(s.FormFooter,{children:[e.jsx(s.FormCancel,{}),e.jsx(s.FormSubmit,{})]})]}),e.jsxs(s.FormSuccess,{children:[e.jsx(s.FormSuccessHeading,{}),e.jsx(s.FormSuccessMessage,{}),e.jsx(s.FormSuccessButton,{})]})]})}exports.InkeepEmbeddedChat=q;exports.InkeepEmbeddedChatImpl=T;exports.InkeepEmbeddedChatImplContent=S;exports.InkeepEmbeddedChatProvider=y;