@inkeep/agents-ui 0.14.19 → 0.14.21

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 (197) hide show
  1. package/dist/color-mode/index.d.ts +21 -0
  2. package/dist/index.d.ts +1 -5103
  3. package/dist/primitives/atoms/avatars/ai.d.ts +3 -0
  4. package/dist/primitives/atoms/avatars/user.d.ts +3 -0
  5. package/dist/primitives/atoms/cmdk/command-score.d.ts +1 -0
  6. package/dist/primitives/atoms/cmdk/index.d.ts +460 -0
  7. package/dist/primitives/atoms/codeblock/index.d.ts +10 -0
  8. package/dist/primitives/atoms/custom-styles.d.ts +5 -0
  9. package/dist/primitives/atoms/dialog.d.ts +94 -0
  10. package/dist/primitives/atoms/error-boundary.d.ts +6 -0
  11. package/dist/primitives/atoms/icons/built-in-icon-renderer.d.ts +6 -0
  12. package/dist/primitives/atoms/icons/built-in-icons.d.ts +83 -0
  13. package/dist/primitives/atoms/icons/checkbox-icon.d.ts +1 -0
  14. package/dist/primitives/atoms/icons/collections/bi.d.ts +4 -0
  15. package/dist/primitives/atoms/icons/collections/fi.d.ts +2 -0
  16. package/dist/primitives/atoms/icons/collections/gr.d.ts +2 -0
  17. package/dist/primitives/atoms/icons/collections/io5.d.ts +34 -0
  18. package/dist/primitives/atoms/icons/collections/pi.d.ts +4 -0
  19. package/dist/primitives/atoms/icons/custom-icon.d.ts +6 -0
  20. package/dist/primitives/atoms/icons/generate-icon.d.ts +28 -0
  21. package/dist/primitives/atoms/icons/index.d.ts +2 -0
  22. package/dist/primitives/atoms/icons/inkeep-default-icons.d.ts +2 -0
  23. package/dist/primitives/atoms/link.d.ts +14 -0
  24. package/dist/primitives/atoms/markdown/components.d.ts +31 -0
  25. package/dist/primitives/atoms/markdown/index.d.ts +17 -0
  26. package/dist/primitives/atoms/markdown/rehype-inline-code-property.d.ts +1 -0
  27. package/dist/primitives/atoms/portal-with-theme.d.ts +2 -0
  28. package/dist/primitives/atoms/portal.d.ts +8 -0
  29. package/dist/primitives/atoms/select.d.ts +136 -0
  30. package/dist/primitives/atoms/shadow/context.d.ts +14 -0
  31. package/dist/primitives/atoms/shadow/create.d.ts +8 -0
  32. package/dist/primitives/atoms/shadow/index.d.ts +1 -0
  33. package/dist/primitives/atoms/shadow/root.d.ts +5 -0
  34. package/dist/primitives/atoms/shadow/use-ensured-forwarded-ref.d.ts +2 -0
  35. package/dist/primitives/atoms/shadow/utils.d.ts +9 -0
  36. package/dist/primitives/components/chat-button.d.ts +18 -0
  37. package/dist/primitives/components/embedded-chat/chat-provider.d.ts +19 -0
  38. package/dist/primitives/components/embedded-chat/use-captcha.d.ts +13 -0
  39. package/dist/primitives/components/embedded-chat/use-chat-action.d.ts +9 -0
  40. package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +27 -0
  41. package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -1
  42. package/dist/primitives/components/embedded-chat/use-stream-processor.d.ts +28 -0
  43. package/dist/primitives/components/embedded-chat/use-stream-processor.js +27 -28
  44. package/dist/primitives/components/embedded-chat.cjs +3 -3
  45. package/dist/primitives/components/embedded-chat.d.ts +431 -0
  46. package/dist/primitives/components/embedded-chat.js +791 -795
  47. package/dist/primitives/components/embedded-search/search-provider.d.ts +21 -0
  48. package/dist/primitives/components/embedded-search/transform-results.d.ts +3 -0
  49. package/dist/primitives/components/embedded-search/url-query.d.ts +4 -0
  50. package/dist/primitives/components/embedded-search/use-inkeep-search.d.ts +19 -0
  51. package/dist/primitives/components/embedded-search/use-search-filter.d.ts +1 -0
  52. package/dist/primitives/components/embedded-search.d.ts +249 -0
  53. package/dist/primitives/components/factory.d.ts +19 -0
  54. package/dist/primitives/components/index.d.ts +10 -0
  55. package/dist/primitives/components/modal/modal-provider.d.ts +12 -0
  56. package/dist/primitives/components/modal/use-inkeep-modal.d.ts +7 -0
  57. package/dist/primitives/components/modal/widget-auto-focus.d.ts +2 -0
  58. package/dist/primitives/components/modal.d.ts +18 -0
  59. package/dist/primitives/components/presence.d.ts +8 -0
  60. package/dist/primitives/components/searchbar.d.ts +23 -0
  61. package/dist/primitives/components/sidebar-chat/index.d.ts +9 -0
  62. package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.d.ts +5 -0
  63. package/dist/primitives/components/tagline-logo-icon.d.ts +1 -0
  64. package/dist/primitives/components/use-component-trigger.d.ts +5 -0
  65. package/dist/primitives/constants/search.d.ts +1 -0
  66. package/dist/primitives/hooks/index.d.ts +11 -0
  67. package/dist/primitives/hooks/use-boolean.d.ts +10 -0
  68. package/dist/primitives/hooks/use-component-classnames.d.ts +6 -0
  69. package/dist/primitives/hooks/use-container-size.d.ts +5 -0
  70. package/dist/primitives/hooks/use-copy-to-clipboard.d.ts +3 -0
  71. package/dist/primitives/hooks/use-debounce.d.ts +1 -0
  72. package/dist/primitives/hooks/use-instant-update.d.ts +17 -0
  73. package/dist/primitives/hooks/use-is-mounted.d.ts +1 -0
  74. package/dist/primitives/hooks/use-media-query.d.ts +1 -0
  75. package/dist/primitives/hooks/use-resize-observer.d.ts +12 -0
  76. package/dist/primitives/hooks/use-scrolling-fades.d.ts +2 -0
  77. package/dist/primitives/hooks/use-settle-action.d.ts +3 -0
  78. package/dist/primitives/hooks/use-simple-scroll.d.ts +5 -0
  79. package/dist/primitives/hooks/use-streaming-events.d.ts +8 -0
  80. package/dist/primitives/index.d.ts +13 -0
  81. package/dist/primitives/providers/attachment-item-provider.d.ts +9 -0
  82. package/dist/primitives/providers/attachments-bar-provider.d.ts +30 -0
  83. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  84. package/dist/primitives/providers/base-events-provider.d.ts +8 -0
  85. package/dist/primitives/providers/base-events-provider.js +1 -1
  86. package/dist/primitives/providers/chat-form-provider.d.ts +26 -0
  87. package/dist/primitives/providers/config-provider.d.ts +25 -0
  88. package/dist/primitives/providers/feedback-item-provider.d.ts +10 -0
  89. package/dist/primitives/providers/feedback-provider.d.ts +16 -0
  90. package/dist/primitives/providers/form-field-provider.d.ts +15 -0
  91. package/dist/primitives/providers/help-menu-provider.d.ts +11 -0
  92. package/dist/primitives/providers/hover-popover-provider.d.ts +10 -0
  93. package/dist/primitives/providers/index.d.ts +17 -0
  94. package/dist/primitives/providers/markdown-provider.d.ts +9 -0
  95. package/dist/primitives/providers/message-attachments-provider.d.ts +13 -0
  96. package/dist/primitives/providers/message-provider.d.ts +10 -0
  97. package/dist/primitives/providers/root-provider.d.ts +8 -0
  98. package/dist/primitives/providers/search-events-provider.d.ts +8 -0
  99. package/dist/primitives/providers/sidebar-chat-provider.d.ts +83 -0
  100. package/dist/primitives/providers/source-item-provider.d.ts +12 -0
  101. package/dist/primitives/providers/theme-provider.d.ts +3 -0
  102. package/dist/primitives/providers/widget-provider.d.ts +10 -0
  103. package/dist/primitives/utils/component-ids.d.ts +572 -0
  104. package/dist/primitives/utils/compose-event-handlers.d.ts +3 -0
  105. package/dist/primitives/utils/compose-refs.d.ts +5 -0
  106. package/dist/primitives/utils/default-settings.d.ts +167 -0
  107. package/dist/primitives/utils/form.d.ts +3 -0
  108. package/dist/primitives/utils/generate-uid.d.ts +2 -0
  109. package/dist/primitives/utils/get-message-metadata.d.ts +8 -0
  110. package/dist/primitives/utils/get-source-icon.d.ts +2 -0
  111. package/dist/primitives/utils/highlight-emphasis.d.ts +4 -0
  112. package/dist/primitives/utils/merge-props.d.ts +7 -0
  113. package/dist/primitives/utils/misc.d.ts +12 -0
  114. package/dist/primitives/utils/split-props.d.ts +15 -0
  115. package/dist/react/chat-button.d.ts +14 -0
  116. package/dist/react/embedded-chat.d.ts +14 -0
  117. package/dist/react/embedded-search-and-chat.d.ts +40 -0
  118. package/dist/react/embedded-search-and-chat.impl.d.ts +9 -0
  119. package/dist/react/embedded-search.d.ts +17 -0
  120. package/dist/react/index.d.ts +12 -0
  121. package/dist/react/modal.chat.d.ts +6 -0
  122. package/dist/react/modal.d.ts +23 -0
  123. package/dist/react/modal.search-and-chat.d.ts +6 -0
  124. package/dist/react/modal.search.d.ts +6 -0
  125. package/dist/react/searchbar.d.ts +13 -0
  126. package/dist/react/sidebar-chat.d.ts +6 -0
  127. package/dist/react/utils.d.ts +6 -0
  128. package/dist/react/widget-toggle.d.ts +14 -0
  129. package/dist/styled/components/chat-button.d.ts +8 -0
  130. package/dist/styled/components/data-summary-group.d.ts +11 -0
  131. package/dist/styled/components/embedded-chat.d.ts +190 -0
  132. package/dist/styled/components/embedded-search/results-loading.d.ts +1 -0
  133. package/dist/styled/components/embedded-search.d.ts +73 -0
  134. package/dist/styled/components/index.d.ts +11 -0
  135. package/dist/styled/components/loading-indicator.d.ts +1 -0
  136. package/dist/styled/components/message.cjs +1 -1
  137. package/dist/styled/components/message.d.ts +4 -0
  138. package/dist/styled/components/message.js +46 -47
  139. package/dist/styled/components/modal.d.ts +6 -0
  140. package/dist/styled/components/searchbar.d.ts +11 -0
  141. package/dist/styled/components/shadow.d.ts +3 -0
  142. package/dist/styled/components/sidebar-chat.d.ts +6 -0
  143. package/dist/styled/components/ui/markdown-styles.d.ts +23 -0
  144. package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.d.ts +7 -0
  145. package/dist/styled/components/ui/recipes/attachment.d.ts +4 -0
  146. package/dist/styled/components/ui/recipes/button.d.ts +6 -0
  147. package/dist/styled/components/ui/recipes/checkbox.d.ts +4 -0
  148. package/dist/styled/components/ui/recipes/citation.d.ts +4 -0
  149. package/dist/styled/components/ui/recipes/icon.d.ts +2 -0
  150. package/dist/styled/components/ui/recipes/index.d.ts +15 -0
  151. package/dist/styled/components/ui/recipes/input.d.ts +5 -0
  152. package/dist/styled/components/ui/recipes/link.d.ts +2 -0
  153. package/dist/styled/components/ui/recipes/markdown.cjs +1 -1
  154. package/dist/styled/components/ui/recipes/markdown.d.ts +16 -0
  155. package/dist/styled/components/ui/recipes/markdown.js +1 -1
  156. package/dist/styled/components/ui/recipes/modal.d.ts +4 -0
  157. package/dist/styled/components/ui/recipes/popover.d.ts +4 -0
  158. package/dist/styled/components/ui/recipes/scrollable.d.ts +4 -0
  159. package/dist/styled/components/ui/recipes/select.d.ts +4 -0
  160. package/dist/styled/components/ui/recipes/skeleton.d.ts +2 -0
  161. package/dist/styled/components/ui/recipes/widget-toggle.d.ts +4 -0
  162. package/dist/styled/index.d.ts +2 -0
  163. package/dist/styled/utils.d.ts +4 -0
  164. package/dist/theme/color-utils.d.ts +1 -0
  165. package/dist/theme/colors.d.ts +104 -0
  166. package/dist/theme/index.d.ts +125 -0
  167. package/dist/theme/utils/create-css-variables.d.ts +2 -0
  168. package/dist/theme/utils/generate-theme-variables.d.ts +3 -0
  169. package/dist/types/color-mode.d.ts +44 -0
  170. package/dist/types/config/ai.d.ts +243 -0
  171. package/dist/types/config/base.d.ts +344 -0
  172. package/dist/types/config/components.d.ts +10 -0
  173. package/dist/types/config/filters.d.ts +17 -0
  174. package/dist/types/config/index.d.ts +36 -0
  175. package/dist/types/config/modal.d.ts +33 -0
  176. package/dist/types/config/search.d.ts +95 -0
  177. package/dist/types/config/settings/actions.d.ts +37 -0
  178. package/dist/types/config/settings/form.d.ts +128 -0
  179. package/dist/types/config/settings/jsonschema.d.ts +105 -0
  180. package/dist/types/config/settings/workflow.d.ts +86 -0
  181. package/dist/types/events.d.ts +173 -0
  182. package/dist/types/icons/built-in.d.ts +1 -0
  183. package/dist/types/icons/custom.d.ts +29 -0
  184. package/dist/types/icons/index.d.ts +2 -0
  185. package/dist/types/index.d.ts +20 -0
  186. package/dist/types/js/index.d.ts +54 -0
  187. package/dist/types/message.d.ts +43 -0
  188. package/dist/types/shadow.d.ts +15 -0
  189. package/dist/types/sources.d.ts +108 -0
  190. package/dist/types/theme.d.ts +25 -0
  191. package/dist/types/widget.d.ts +28 -0
  192. package/package.json +2 -4
  193. package/dist/index.d.cts +0 -5103
  194. package/dist/types/message.cjs +0 -1
  195. package/dist/types/message.js +0 -5
  196. package/dist/types/types.d.cts +0 -1758
  197. package/dist/types/types.d.ts +0 -1758
@@ -0,0 +1,190 @@
1
+ import { EmbeddedChatPrimitive } from '../../primitives';
2
+ import { AiChatPageWrapperVariants } from './ui/recipes';
3
+ import { EmbeddedChatMessagePart } from './message';
4
+ import { FC, ForwardRefExoticComponent, RefAttributes, MemoExoticComponent, ComponentPropsWithRef, ClassAttributes, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes } from 'react';
5
+ import { ChatProviderProps, PolymorphicProps } from '..';
6
+ import { ScrollAreaViewportProps, ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
7
+ import { MarkdownProps } from '../../primitives/atoms/markdown';
8
+ import { DialogProps } from '../../primitives/atoms/dialog';
9
+ import { TextareaAutosizeProps } from 'react-textarea-autosize';
10
+ import { TooltipProps, TooltipArrowProps } from '@radix-ui/react-tooltip';
11
+ import { SelectSharedProps, SelectValueProps, SelectItemTextProps } from '../../primitives/atoms/select';
12
+ declare const EmbeddedChatProvider: FC<ChatProviderProps>;
13
+ type EmbeddedChatWrapperProps = React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Wrapper> & AiChatPageWrapperVariants;
14
+ declare const EmbeddedChatWrapper: ForwardRefExoticComponent<Omit<EmbeddedChatWrapperProps, "ref"> & RefAttributes<HTMLDivElement>>;
15
+ declare const EmbeddedChatRoot: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
16
+ declare const EmbeddedChatHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Header>) => import("react/jsx-runtime").JSX.Element;
17
+ declare const EmbeddedChatHeaderToolbar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.HeaderToolbar>) => import("react/jsx-runtime").JSX.Element;
18
+ declare const EmbeddedChatHeaderToolbarWrapper: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.HeaderToolbarWrapper>) => import("react/jsx-runtime").JSX.Element;
19
+ declare const EmbeddedChatToolbarHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ToolbarHeader>) => import("react/jsx-runtime").JSX.Element;
20
+ declare const EmbeddedChatContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Content>) => import("react/jsx-runtime").JSX.Element;
21
+ declare const EmbeddedChatContentScrollArea: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ContentScrollArea>) => import("react/jsx-runtime").JSX.Element;
22
+ declare const EmbeddedChatContentScrollAreaViewport: ForwardRefExoticComponent<Omit<Omit< PolymorphicProps & Omit< ScrollAreaViewportProps & RefAttributes<HTMLDivElement>, "_id"> & Partial<Pick< ScrollAreaViewportProps & RefAttributes<HTMLDivElement>, "_id">>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
23
+ declare const EmbeddedChatContentScrollAreaScrollbar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ContentScrollAreaScrollbar>) => import("react/jsx-runtime").JSX.Element;
24
+ declare const EmbeddedChatContentScrollAreaThumb: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ContentScrollAreaThumb>) => import("react/jsx-runtime").JSX.Element;
25
+ declare const EmbeddedChatContentScrollAreaCorner: ForwardRefExoticComponent< PolymorphicProps & Omit< ScrollAreaCornerProps & RefAttributes<HTMLDivElement>, "_id"> & Partial<Pick< ScrollAreaCornerProps & RefAttributes<HTMLDivElement>, "_id">>>;
26
+ declare const EmbeddedChatDisclaimer: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Disclaimer>) => import("react/jsx-runtime").JSX.Element;
27
+ declare const EmbeddedChatDisclaimerLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.DisclaimerLabel>) => import("react/jsx-runtime").JSX.Element;
28
+ declare const EmbeddedChatDisclaimerTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.DisclaimerTrigger>) => import("react/jsx-runtime").JSX.Element;
29
+ declare const EmbeddedChatDisclaimerContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.DisclaimerContent>) => import("react/jsx-runtime").JSX.Element;
30
+ declare const EmbeddedChatDisclaimerText: MemoExoticComponent<(props: Omit< ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & MarkdownProps, "_id"> & Partial<Pick< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & MarkdownProps, "_id">>>>, "componentStyles">) => import("react/jsx-runtime").JSX.Element>;
31
+ declare const EmbeddedChatDisclaimerArrow: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.DisclaimerArrow>) => import("react/jsx-runtime").JSX.Element;
32
+ declare const EmbeddedChatExampleQuestions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestions>) => import("react/jsx-runtime").JSX.Element;
33
+ declare const EmbeddedChatExampleQuestionsLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionsLabel>) => import("react/jsx-runtime").JSX.Element;
34
+ declare const EmbeddedChatExampleQuestionsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionsList>) => import("react/jsx-runtime").JSX.Element;
35
+ declare const EmbeddedChatExampleQuestion: ForwardRefExoticComponent<Omit<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
36
+ declare const EmbeddedChatExampleQuestionButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionButton>) => import("react/jsx-runtime").JSX.Element;
37
+ declare const EmbeddedChatWorkflows: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Workflows>) => import("react/jsx-runtime").JSX.Element;
38
+ declare const EmbeddedChatWorkflowsLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.WorkflowsLabel>) => import("react/jsx-runtime").JSX.Element;
39
+ declare const EmbeddedChatWorkflowsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.WorkflowsList>) => import("react/jsx-runtime").JSX.Element;
40
+ declare const EmbeddedChatWorkflow: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Workflow>) => import("react/jsx-runtime").JSX.Element;
41
+ declare const EmbeddedChatMessages: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Messages>) => import("react/jsx-runtime").JSX.Element;
42
+ declare const EmbeddedChatMessageWrapper: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageWrapper>) => import("react/jsx-runtime").JSX.Element;
43
+ declare const EmbeddedChatIntroMessageWrapper: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.IntroMessageWrapper>) => import("react/jsx-runtime").JSX.Element;
44
+ declare const EmbeddedChatMessageHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageHeader>) => import("react/jsx-runtime").JSX.Element;
45
+ declare const EmbeddedChatMessageLoading: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageLoading>) => import("react/jsx-runtime").JSX.Element;
46
+ declare const EmbeddedChatMessageAvatar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAvatar>) => import("react/jsx-runtime").JSX.Element;
47
+ declare const EmbeddedChatMessageAvatarContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAvatarContent>) => import("react/jsx-runtime").JSX.Element;
48
+ declare const EmbeddedChatMessageAvatarFallback: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAvatarFallback>) => import("react/jsx-runtime").JSX.Element;
49
+ declare const EmbeddedChatMessageAvatarImage: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAvatarImage>) => import("react/jsx-runtime").JSX.Element;
50
+ declare const EmbeddedChatMessageName: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageName>) => import("react/jsx-runtime").JSX.Element;
51
+ declare const EmbeddedChatMessageContentWrapper: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageContentWrapper>) => import("react/jsx-runtime").JSX.Element;
52
+ declare const EmbeddedChatMessageContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageContent>) => import("react/jsx-runtime").JSX.Element;
53
+ declare const EmbeddedChatMessageAttachments: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>>) => import("react/jsx-runtime").JSX.Element | null;
54
+ declare const EmbeddedChatMessageAttachmentsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsList>) => import("react/jsx-runtime").JSX.Element;
55
+ declare const EmbeddedChatMessageAttachmentsItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsItem>) => import("react/jsx-runtime").JSX.Element;
56
+ declare const EmbeddedChatMessageAttachmentsItemIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsItemIcon>) => import("react/jsx-runtime").JSX.Element;
57
+ declare const EmbeddedChatMessageAttachmentsItemTitle: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsItemTitle>) => import("react/jsx-runtime").JSX.Element;
58
+ declare const EmbeddedChatMessageAttachmentsPreview: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DialogProps, "_id"> & Partial<Pick< DialogProps, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
59
+ declare const EmbeddedChatMessageAttachmentsPreviewOverlay: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewOverlay>) => import("react/jsx-runtime").JSX.Element;
60
+ declare const EmbeddedChatMessageAttachmentsPreviewContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewContent>) => import("react/jsx-runtime").JSX.Element;
61
+ declare const EmbeddedChatMessageAttachmentsPreviewHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewHeader>) => import("react/jsx-runtime").JSX.Element;
62
+ declare const EmbeddedChatMessageAttachmentsPreviewClose: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewClose>) => import("react/jsx-runtime").JSX.Element;
63
+ declare const EmbeddedChatMessageAttachmentsPreviewBody: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewBody>) => import("react/jsx-runtime").JSX.Element;
64
+ declare const EmbeddedChatDynamicComponent: ({ name, props, componentDef, }: EmbeddedChatPrimitive.EmbeddedChatPrimitiveDynamicComponentProps) => import("react/jsx-runtime").JSX.Element;
65
+ declare const EmbeddedChatMarkdown: ({ componentStyles, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Markdown>) => import("react/jsx-runtime").JSX.Element;
66
+ declare const EmbeddedChatMessageToolbar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageToolbar>) => import("react/jsx-runtime").JSX.Element;
67
+ declare const EmbeddedChatMessageAnnotationActions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAnnotationActions>) => import("react/jsx-runtime").JSX.Element;
68
+ declare const EmbeddedChatMessageAnnotationAction: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAnnotationAction>) => import("react/jsx-runtime").JSX.Element;
69
+ declare const EmbeddedChatMessageAction: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAction>) => import("react/jsx-runtime").JSX.Element;
70
+ declare const EmbeddedChatMessageSources: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>>) => import("react/jsx-runtime").JSX.Element | null;
71
+ declare const EmbeddedChatMessageSourcesHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourcesHeader>) => import("react/jsx-runtime").JSX.Element;
72
+ declare const EmbeddedChatMessageSourcesList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourcesList>) => import("react/jsx-runtime").JSX.Element;
73
+ declare const EmbeddedChatMessageSourceItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItem>) => import("react/jsx-runtime").JSX.Element;
74
+ declare const EmbeddedChatMessageSourceItemBreadcrumbs: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItemBreadcrumbs>) => import("react/jsx-runtime").JSX.Element;
75
+ declare const EmbeddedChatMessageSourceItemBreadcrumbIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItemBreadcrumbIcon>) => import("react/jsx-runtime").JSX.Element;
76
+ declare const EmbeddedChatMessageSourceItemIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItemIcon>) => import("react/jsx-runtime").JSX.Element;
77
+ declare const EmbeddedChatMessageSourceItemTitle: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItemTitle>) => import("react/jsx-runtime").JSX.Element;
78
+ declare const EmbeddedChatMessageSourceItemTag: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItemTag>) => import("react/jsx-runtime").JSX.Element;
79
+ declare const EmbeddedChatMessageSourceItemDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItemDescription>) => import("react/jsx-runtime").JSX.Element;
80
+ declare const EmbeddedChatMessageSourceItemDescriptionPart: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItemDescriptionPart>) => import("react/jsx-runtime").JSX.Element;
81
+ declare const EmbeddedChatMessageSourceItemIndicator: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageSourceItemIndicator>) => import("react/jsx-runtime").JSX.Element;
82
+ declare const EmbeddedChatFooter: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Footer>) => import("react/jsx-runtime").JSX.Element;
83
+ declare const EmbeddedChatInputFieldset: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.InputFieldset>) => import("react/jsx-runtime").JSX.Element;
84
+ declare const EmbeddedChatInputGroup: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.InputGroup>) => import("react/jsx-runtime").JSX.Element;
85
+ declare const EmbeddedChatInput: ForwardRefExoticComponent<Omit<Omit< TextareaAutosizeProps & ClassAttributes<HTMLTextAreaElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, "ref"> & RefAttributes<HTMLTextAreaElement>, "ref"> & RefAttributes<HTMLTextAreaElement>>;
86
+ declare const EmbeddedChatSendButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.SendButton>) => import("react/jsx-runtime").JSX.Element;
87
+ declare const EmbeddedChatSendButtonIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.SendButtonIcon>) => import("react/jsx-runtime").JSX.Element;
88
+ declare const EmbeddedChatAttachmentsBar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBar>) => import("react/jsx-runtime").JSX.Element;
89
+ declare const EmbeddedChatAttachmentsBarList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarList>) => import("react/jsx-runtime").JSX.Element;
90
+ declare const EmbeddedChatAttachmentsBarAttachment: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarAttachment>) => import("react/jsx-runtime").JSX.Element;
91
+ declare const EmbeddedChatAttachmentsBarAttachmentIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarAttachmentIcon>) => import("react/jsx-runtime").JSX.Element;
92
+ declare const EmbeddedChatAttachmentsBarAttachmentTitle: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarAttachmentTitle>) => import("react/jsx-runtime").JSX.Element;
93
+ declare const EmbeddedChatAttachmentsBarAttachmentDelete: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarAttachmentDelete>) => import("react/jsx-runtime").JSX.Element;
94
+ declare const EmbeddedChatAttachmentsBarActions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarActions>) => import("react/jsx-runtime").JSX.Element;
95
+ declare const EmbeddedChatAttachmentsBarInfoTip: ForwardRefExoticComponent< PolymorphicProps & Omit< TooltipProps, "_id" | "delayDuration"> & Partial<Pick< TooltipProps, "_id" | "delayDuration">>>;
96
+ declare const EmbeddedChatAttachmentsBarInfoTipIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarInfoTipIcon>) => import("react/jsx-runtime").JSX.Element;
97
+ declare const EmbeddedChatAttachmentsBarInfoTipText: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarInfoTipText>) => import("react/jsx-runtime").JSX.Element;
98
+ declare const EmbeddedChatAttachmentsBarInfoTipArrow: ForwardRefExoticComponent< PolymorphicProps & Omit< TooltipArrowProps & RefAttributes<SVGSVGElement>, "_id"> & Partial<Pick< TooltipArrowProps & RefAttributes<SVGSVGElement>, "_id">>>;
99
+ declare const EmbeddedChatAttachmentsBarInputs: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarInputs>) => import("react/jsx-runtime").JSX.Element;
100
+ declare const EmbeddedChatAttachmentsBarInput: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarInput>) => import("react/jsx-runtime").JSX.Element;
101
+ declare const EmbeddedChatAttachmentsBarModal: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DialogProps, "_id"> & Partial<Pick< DialogProps, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
102
+ declare const EmbeddedChatAttachmentsBarModalOverlay: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalOverlay>) => import("react/jsx-runtime").JSX.Element;
103
+ declare const EmbeddedChatAttachmentsBarModalContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalContent>) => import("react/jsx-runtime").JSX.Element;
104
+ declare const EmbeddedChatAttachmentsBarModalHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalHeader>) => import("react/jsx-runtime").JSX.Element;
105
+ declare const EmbeddedChatAttachmentsBarModalHeading: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalHeading>) => import("react/jsx-runtime").JSX.Element;
106
+ declare const EmbeddedChatAttachmentsBarModalDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalDescription>) => import("react/jsx-runtime").JSX.Element;
107
+ declare const EmbeddedChatAttachmentsBarModalHelp: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>>) => import("react/jsx-runtime").JSX.Element | null;
108
+ declare const EmbeddedChatAttachmentsBarModalClose: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalClose>) => import("react/jsx-runtime").JSX.Element;
109
+ declare const EmbeddedChatAttachmentsBarModalBody: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalBody>) => import("react/jsx-runtime").JSX.Element;
110
+ declare const EmbeddedChatAttachmentsBarForm: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarForm>) => import("react/jsx-runtime").JSX.Element;
111
+ declare const EmbeddedChatAttachmentsBarFormTitle: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormTitle>) => import("react/jsx-runtime").JSX.Element;
112
+ declare const EmbeddedChatAttachmentsBarFormTitleLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormTitleLabel>) => import("react/jsx-runtime").JSX.Element;
113
+ declare const EmbeddedChatAttachmentsBarFormTitleInput: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormTitleInput>) => import("react/jsx-runtime").JSX.Element;
114
+ declare const EmbeddedChatAttachmentsBarFormTitleError: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormTitleError>) => import("react/jsx-runtime").JSX.Element;
115
+ declare const EmbeddedChatAttachmentsBarFormContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormContent>) => import("react/jsx-runtime").JSX.Element;
116
+ declare const EmbeddedChatAttachmentsBarFormContentLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormContentLabel>) => import("react/jsx-runtime").JSX.Element;
117
+ declare const EmbeddedChatAttachmentsBarFormContentInput: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormContentInput>) => import("react/jsx-runtime").JSX.Element;
118
+ declare const EmbeddedChatAttachmentsBarFormContentError: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormContentError>) => import("react/jsx-runtime").JSX.Element;
119
+ declare const EmbeddedChatAttachmentsBarFormSubmitButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormSubmitButton>) => import("react/jsx-runtime").JSX.Element;
120
+ declare const EmbeddedChatActionBar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ActionBar>) => import("react/jsx-runtime").JSX.Element;
121
+ declare const EmbeddedChatActions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Actions>) => import("react/jsx-runtime").JSX.Element;
122
+ declare const EmbeddedChatTaglineContainer: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineContainer>) => import("react/jsx-runtime").JSX.Element;
123
+ declare const EmbeddedChatTaglineText: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineText>) => import("react/jsx-runtime").JSX.Element;
124
+ declare const EmbeddedChatTaglineLogo: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineLogo>) => import("react/jsx-runtime").JSX.Element;
125
+ declare const EmbeddedChatTaglineBrandName: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineBrandName>) => import("react/jsx-runtime").JSX.Element;
126
+ declare const EmbeddedChatAction: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ChatAction>) => import("react/jsx-runtime").JSX.Element;
127
+ declare const EmbeddedChatActionLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ChatActionLabel>) => import("react/jsx-runtime").JSX.Element;
128
+ declare const EmbeddedChatActionFeedback: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ChatActionFeedback>) => import("react/jsx-runtime").JSX.Element;
129
+ declare const EmbeddedChatHelpActions: (props: EmbeddedChatPrimitive.EmbeddedChatPrimitiveHelpActionsProps) => import("react/jsx-runtime").JSX.Element | null;
130
+ declare const EmbeddedChatHelpAction: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ChatHelpAction>) => import("react/jsx-runtime").JSX.Element;
131
+ declare const EmbeddedChatHelpActionsTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.HelpActionsTrigger>) => import("react/jsx-runtime").JSX.Element;
132
+ declare const EmbeddedChatHelpActionsMenu: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.HelpActionsMenu>) => import("react/jsx-runtime").JSX.Element;
133
+ declare const EmbeddedChatHelpActionsMenuArrow: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.HelpActionsMenuArrow>) => import("react/jsx-runtime").JSX.Element;
134
+ declare const EmbeddedChatHelpActionsMenuItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.HelpActionsMenuItem>) => import("react/jsx-runtime").JSX.Element;
135
+ declare const EmbeddedChatHelpActionsMenuItemIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.HelpActionsMenuItemIcon>) => import("react/jsx-runtime").JSX.Element;
136
+ declare const EmbeddedChatFeedbackModal: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DialogProps, "_id"> & Partial<Pick< DialogProps, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
137
+ declare const EmbeddedChatFeedbackModalOverlay: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackModalOverlay>) => import("react/jsx-runtime").JSX.Element;
138
+ declare const EmbeddedChatFeedbackModalContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackModalContent>) => import("react/jsx-runtime").JSX.Element;
139
+ declare const EmbeddedChatFeedbackModalHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackModalHeader>) => import("react/jsx-runtime").JSX.Element;
140
+ declare const EmbeddedChatFeedbackModalClose: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackModalClose>) => import("react/jsx-runtime").JSX.Element;
141
+ declare const EmbeddedChatFeedbackModalBody: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackModalBody>) => import("react/jsx-runtime").JSX.Element;
142
+ declare const EmbeddedChatFeedbackForm: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackForm>) => import("react/jsx-runtime").JSX.Element;
143
+ declare const EmbeddedChatFeedbackItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItem>) => import("react/jsx-runtime").JSX.Element;
144
+ declare const EmbeddedChatFeedbackItemCheckbox: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItemCheckbox>) => import("react/jsx-runtime").JSX.Element;
145
+ declare const EmbeddedChatFeedbackItemCheckboxIndicator: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItemCheckboxIndicator>) => import("react/jsx-runtime").JSX.Element;
146
+ declare const EmbeddedChatFeedbackItemLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItemLabel>) => import("react/jsx-runtime").JSX.Element;
147
+ declare const EmbeddedChatFeedbackItemDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItemDescription>) => import("react/jsx-runtime").JSX.Element;
148
+ declare const EmbeddedChatFeedbackSubmitButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackSubmitButton>) => import("react/jsx-runtime").JSX.Element;
149
+ declare const EmbeddedChatFormWrapper: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormWrapper>) => import("react/jsx-runtime").JSX.Element;
150
+ declare const EmbeddedChatForm: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Form>) => import("react/jsx-runtime").JSX.Element;
151
+ declare const EmbeddedChatFormClose: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormClose>) => import("react/jsx-runtime").JSX.Element;
152
+ declare const EmbeddedChatFormHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormHeader>) => import("react/jsx-runtime").JSX.Element;
153
+ declare const EmbeddedChatFormHeading: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormHeading>) => import("react/jsx-runtime").JSX.Element;
154
+ declare const EmbeddedChatFormDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormDescription>) => import("react/jsx-runtime").JSX.Element;
155
+ declare const EmbeddedChatFormContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormContent>) => import("react/jsx-runtime").JSX.Element;
156
+ declare const EmbeddedChatFormField: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormField>) => import("react/jsx-runtime").JSX.Element;
157
+ declare const EmbeddedChatFormFieldLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldLabel>) => import("react/jsx-runtime").JSX.Element;
158
+ declare const EmbeddedChatFormFieldText: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldText>) => import("react/jsx-runtime").JSX.Element;
159
+ declare const EmbeddedChatFormFieldEmail: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldEmail>) => import("react/jsx-runtime").JSX.Element;
160
+ declare const EmbeddedChatFormFieldFile: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldFile>) => import("react/jsx-runtime").JSX.Element;
161
+ declare const EmbeddedChatFormFieldTextArea: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldTextArea>) => import("react/jsx-runtime").JSX.Element;
162
+ declare const EmbeddedChatFormFieldCheckbox: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldCheckbox>) => import("react/jsx-runtime").JSX.Element;
163
+ declare const EmbeddedChatFormFieldCheckboxIndicator: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldCheckboxIndicator>) => import("react/jsx-runtime").JSX.Element;
164
+ declare const EmbeddedChatFormFieldSelect: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< SelectSharedProps & {
165
+ value?: string;
166
+ defaultValue?: string;
167
+ onValueChange?(value: string): void;
168
+ }, "_id"> & Partial<Pick< SelectSharedProps & {
169
+ value?: string;
170
+ defaultValue?: string;
171
+ onValueChange?(value: string): void;
172
+ }, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
173
+ declare const EmbeddedChatFormFieldSelectTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldSelectTrigger>) => import("react/jsx-runtime").JSX.Element;
174
+ declare const EmbeddedChatFormFieldSelectValue: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< SelectValueProps & RefAttributes<HTMLSpanElement>, "_id"> & Partial<Pick< SelectValueProps & RefAttributes<HTMLSpanElement>, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
175
+ declare const EmbeddedChatFormFieldSelectIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldSelectIcon>) => import("react/jsx-runtime").JSX.Element;
176
+ declare const EmbeddedChatFormFieldSelectContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldSelectContent>) => import("react/jsx-runtime").JSX.Element;
177
+ declare const EmbeddedChatFormFieldSelectViewport: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldSelectViewport>) => import("react/jsx-runtime").JSX.Element;
178
+ declare const EmbeddedChatFormFieldSelectItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldSelectItem>) => import("react/jsx-runtime").JSX.Element;
179
+ declare const EmbeddedChatFormFieldSelectItemText: ForwardRefExoticComponent< PolymorphicProps & Omit< SelectItemTextProps & RefAttributes<HTMLSpanElement>, "_id"> & Partial<Pick< SelectItemTextProps & RefAttributes<HTMLSpanElement>, "_id">>>;
180
+ declare const EmbeddedChatFormFieldSelectItemIndicator: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldSelectItemIndicator>) => import("react/jsx-runtime").JSX.Element;
181
+ declare const EmbeddedChatFormFieldError: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldError>) => import("react/jsx-runtime").JSX.Element;
182
+ declare const EmbeddedChatFormError: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormError>) => import("react/jsx-runtime").JSX.Element;
183
+ declare const EmbeddedChatFormFooter: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFooter>) => import("react/jsx-runtime").JSX.Element;
184
+ declare const EmbeddedChatFormCancel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormCancel>) => import("react/jsx-runtime").JSX.Element;
185
+ declare const EmbeddedChatFormSubmit: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSubmit>) => import("react/jsx-runtime").JSX.Element;
186
+ declare const EmbeddedChatFormSuccess: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSuccess>) => import("react/jsx-runtime").JSX.Element;
187
+ declare const EmbeddedChatFormSuccessHeading: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSuccessHeading>) => import("react/jsx-runtime").JSX.Element;
188
+ declare const EmbeddedChatFormSuccessMessage: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & MarkdownProps, "_id"> & Partial<Pick< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & MarkdownProps, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
189
+ declare const EmbeddedChatFormSuccessButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSuccessButton>) => import("react/jsx-runtime").JSX.Element;
190
+ export { EmbeddedChatProvider as Provider, EmbeddedChatWrapper as Wrapper, EmbeddedChatRoot as Root, EmbeddedChatHeader as Header, EmbeddedChatHeaderToolbar as HeaderToolbar, EmbeddedChatHeaderToolbarWrapper as HeaderToolbarWrapper, EmbeddedChatToolbarHeader as ToolbarHeader, EmbeddedChatContent as Content, EmbeddedChatContentScrollArea as ContentScrollArea, EmbeddedChatContentScrollAreaViewport as ContentScrollAreaViewport, EmbeddedChatContentScrollAreaScrollbar as ContentScrollAreaScrollbar, EmbeddedChatContentScrollAreaThumb as ContentScrollAreaThumb, EmbeddedChatContentScrollAreaCorner as ContentScrollAreaCorner, EmbeddedChatMessages as Messages, EmbeddedChatMessageWrapper as MessageWrapper, EmbeddedChatIntroMessageWrapper as IntroMessageWrapper, EmbeddedChatDisclaimer as Disclaimer, EmbeddedChatDisclaimerLabel as DisclaimerLabel, EmbeddedChatDisclaimerTrigger as DisclaimerTrigger, EmbeddedChatDisclaimerContent as DisclaimerContent, EmbeddedChatDisclaimerText as DisclaimerText, EmbeddedChatDisclaimerArrow as DisclaimerArrow, EmbeddedChatExampleQuestions as ExampleQuestions, EmbeddedChatExampleQuestionsLabel as ExampleQuestionsLabel, EmbeddedChatExampleQuestionsList as ExampleQuestionsList, EmbeddedChatExampleQuestion as ExampleQuestion, EmbeddedChatExampleQuestionButton as ExampleQuestionButton, EmbeddedChatWorkflows as Workflows, EmbeddedChatWorkflowsLabel as WorkflowsLabel, EmbeddedChatWorkflowsList as WorkflowsList, EmbeddedChatWorkflow as Workflow, EmbeddedChatMessageHeader as MessageHeader, EmbeddedChatMessageLoading as MessageLoading, EmbeddedChatMessageAvatar as MessageAvatar, EmbeddedChatMessageAvatarContent as MessageAvatarContent, EmbeddedChatMessageAvatarFallback as MessageAvatarFallback, EmbeddedChatMessageAvatarImage as MessageAvatarImage, EmbeddedChatMessageName as MessageName, EmbeddedChatMessageContentWrapper as MessageContentWrapper, EmbeddedChatMessageContent as MessageContent, EmbeddedChatMessageAttachments as MessageAttachments, EmbeddedChatMessageAttachmentsList as MessageAttachmentsList, EmbeddedChatMessageAttachmentsItem as MessageAttachmentsItem, EmbeddedChatMessageAttachmentsItemIcon as MessageAttachmentsItemIcon, EmbeddedChatMessageAttachmentsItemTitle as MessageAttachmentsItemTitle, EmbeddedChatMessageAttachmentsPreview as MessageAttachmentsPreview, EmbeddedChatMessageAttachmentsPreviewOverlay as MessageAttachmentsPreviewOverlay, EmbeddedChatMessageAttachmentsPreviewContent as MessageAttachmentsPreviewContent, EmbeddedChatMessageAttachmentsPreviewHeader as MessageAttachmentsPreviewHeader, EmbeddedChatMessageAttachmentsPreviewClose as MessageAttachmentsPreviewClose, EmbeddedChatMessageAttachmentsPreviewBody as MessageAttachmentsPreviewBody, EmbeddedChatMarkdown as Markdown, EmbeddedChatDynamicComponent as DynamicComponent, EmbeddedChatMessagePart as MessagePart, EmbeddedChatMessageToolbar as MessageToolbar, EmbeddedChatMessageAnnotationActions as MessageAnnotationActions, EmbeddedChatMessageAnnotationAction as MessageAnnotationAction, EmbeddedChatMessageAction as MessageAction, EmbeddedChatMessageSources as MessageSources, EmbeddedChatMessageSourcesHeader as MessageSourcesHeader, EmbeddedChatMessageSourcesList as MessageSourcesList, EmbeddedChatMessageSourceItem as MessageSourceItem, EmbeddedChatMessageSourceItemBreadcrumbs as MessageSourceItemBreadcrumbs, EmbeddedChatMessageSourceItemBreadcrumbIcon as MessageSourceItemBreadcrumbIcon, EmbeddedChatMessageSourceItemIcon as MessageSourceItemIcon, EmbeddedChatMessageSourceItemTitle as MessageSourceItemTitle, EmbeddedChatMessageSourceItemTag as MessageSourceItemTag, EmbeddedChatMessageSourceItemDescription as MessageSourceItemDescription, EmbeddedChatMessageSourceItemDescriptionPart as MessageSourceItemDescriptionPart, EmbeddedChatMessageSourceItemIndicator as MessageSourceItemIndicator, EmbeddedChatFooter as Footer, EmbeddedChatInputFieldset as InputFieldset, EmbeddedChatInputGroup as InputGroup, EmbeddedChatInput as Input, EmbeddedChatSendButton as SendButton, EmbeddedChatSendButtonIcon as SendButtonIcon, EmbeddedChatAttachmentsBar as AttachmentsBar, EmbeddedChatAttachmentsBarList as AttachmentsBarList, EmbeddedChatAttachmentsBarAttachment as AttachmentsBarAttachment, EmbeddedChatAttachmentsBarAttachmentIcon as AttachmentsBarAttachmentIcon, EmbeddedChatAttachmentsBarAttachmentTitle as AttachmentsBarAttachmentTitle, EmbeddedChatAttachmentsBarAttachmentDelete as AttachmentsBarAttachmentDelete, EmbeddedChatAttachmentsBarActions as AttachmentsBarActions, EmbeddedChatAttachmentsBarInfoTip as AttachmentsBarInfoTip, EmbeddedChatAttachmentsBarInfoTipIcon as AttachmentsBarInfoTipIcon, EmbeddedChatAttachmentsBarInfoTipText as AttachmentsBarInfoTipText, EmbeddedChatAttachmentsBarInfoTipArrow as AttachmentsBarInfoTipArrow, EmbeddedChatAttachmentsBarInputs as AttachmentsBarInputs, EmbeddedChatAttachmentsBarInput as AttachmentsBarInput, EmbeddedChatAttachmentsBarModal as AttachmentsBarModal, EmbeddedChatAttachmentsBarModalOverlay as AttachmentsBarModalOverlay, EmbeddedChatAttachmentsBarModalContent as AttachmentsBarModalContent, EmbeddedChatAttachmentsBarModalHeader as AttachmentsBarModalHeader, EmbeddedChatAttachmentsBarModalHeading as AttachmentsBarModalHeading, EmbeddedChatAttachmentsBarModalDescription as AttachmentsBarModalDescription, EmbeddedChatAttachmentsBarModalHelp as AttachmentsBarModalHelp, EmbeddedChatAttachmentsBarModalClose as AttachmentsBarModalClose, EmbeddedChatAttachmentsBarModalBody as AttachmentsBarModalBody, EmbeddedChatAttachmentsBarForm as AttachmentsBarForm, EmbeddedChatAttachmentsBarFormTitle as AttachmentsBarFormTitle, EmbeddedChatAttachmentsBarFormTitleLabel as AttachmentsBarFormTitleLabel, EmbeddedChatAttachmentsBarFormTitleInput as AttachmentsBarFormTitleInput, EmbeddedChatAttachmentsBarFormTitleError as AttachmentsBarFormTitleError, EmbeddedChatAttachmentsBarFormContent as AttachmentsBarFormContent, EmbeddedChatAttachmentsBarFormContentLabel as AttachmentsBarFormContentLabel, EmbeddedChatAttachmentsBarFormContentInput as AttachmentsBarFormContentInput, EmbeddedChatAttachmentsBarFormContentError as AttachmentsBarFormContentError, EmbeddedChatAttachmentsBarFormSubmitButton as AttachmentsBarFormSubmitButton, EmbeddedChatActionBar as ActionBar, EmbeddedChatActions as Actions, EmbeddedChatTaglineContainer as TaglineContainer, EmbeddedChatTaglineText as TaglineText, EmbeddedChatTaglineLogo as TaglineLogo, EmbeddedChatTaglineBrandName as TaglineBrandName, EmbeddedChatAction as ChatAction, EmbeddedChatActionLabel as ChatActionLabel, EmbeddedChatActionFeedback as ChatActionFeedback, EmbeddedChatHelpActions as HelpActions, EmbeddedChatHelpAction as HelpAction, EmbeddedChatHelpActionsTrigger as HelpActionsTrigger, EmbeddedChatHelpActionsMenu as HelpActionsMenu, EmbeddedChatHelpActionsMenuArrow as HelpActionsMenuArrow, EmbeddedChatHelpActionsMenuItem as HelpActionsMenuItem, EmbeddedChatHelpActionsMenuItemIcon as HelpActionsMenuItemIcon, EmbeddedChatFeedbackModal as FeedbackModal, EmbeddedChatFeedbackModalOverlay as FeedbackModalOverlay, EmbeddedChatFeedbackModalContent as FeedbackModalContent, EmbeddedChatFeedbackModalHeader as FeedbackModalHeader, EmbeddedChatFeedbackModalClose as FeedbackModalClose, EmbeddedChatFeedbackModalBody as FeedbackModalBody, EmbeddedChatFeedbackForm as FeedbackForm, EmbeddedChatFeedbackItem as FeedbackItem, EmbeddedChatFeedbackItemCheckbox as FeedbackItemCheckbox, EmbeddedChatFeedbackItemCheckboxIndicator as FeedbackItemCheckboxIndicator, EmbeddedChatFeedbackItemLabel as FeedbackItemLabel, EmbeddedChatFeedbackItemDescription as FeedbackItemDescription, EmbeddedChatFeedbackSubmitButton as FeedbackSubmitButton, EmbeddedChatFormWrapper as FormWrapper, EmbeddedChatForm as Form, EmbeddedChatFormClose as FormClose, EmbeddedChatFormHeader as FormHeader, EmbeddedChatFormHeading as FormHeading, EmbeddedChatFormDescription as FormDescription, EmbeddedChatFormContent as FormContent, EmbeddedChatFormField as FormField, EmbeddedChatFormFieldLabel as FormFieldLabel, EmbeddedChatFormFieldText as FormFieldText, EmbeddedChatFormFieldEmail as FormFieldEmail, EmbeddedChatFormFieldFile as FormFieldFile, EmbeddedChatFormFieldTextArea as FormFieldTextArea, EmbeddedChatFormFieldCheckbox as FormFieldCheckbox, EmbeddedChatFormFieldCheckboxIndicator as FormFieldCheckboxIndicator, EmbeddedChatFormFieldSelect as FormFieldSelect, EmbeddedChatFormFieldSelectTrigger as FormFieldSelectTrigger, EmbeddedChatFormFieldSelectValue as FormFieldSelectValue, EmbeddedChatFormFieldSelectIcon as FormFieldSelectIcon, EmbeddedChatFormFieldSelectContent as FormFieldSelectContent, EmbeddedChatFormFieldSelectViewport as FormFieldSelectViewport, EmbeddedChatFormFieldSelectItem as FormFieldSelectItem, EmbeddedChatFormFieldSelectItemText as FormFieldSelectItemText, EmbeddedChatFormFieldSelectItemIndicator as FormFieldSelectItemIndicator, EmbeddedChatFormFieldError as FormFieldError, EmbeddedChatFormError as FormError, EmbeddedChatFormFooter as FormFooter, EmbeddedChatFormCancel as FormCancel, EmbeddedChatFormSubmit as FormSubmit, EmbeddedChatFormSuccess as FormSuccess, EmbeddedChatFormSuccessHeading as FormSuccessHeading, EmbeddedChatFormSuccessMessage as FormSuccessMessage, EmbeddedChatFormSuccessButton as FormSuccessButton, };
@@ -0,0 +1 @@
1
+ export declare function ResultsLoading(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,73 @@
1
+ import { EmbeddedSearchPrimitive } from '../../primitives';
2
+ import { ComponentPropsWithRef, ForwardRefExoticComponent, ClassAttributes, HTMLAttributes, RefAttributes } from 'react';
3
+ import { PolymorphicProps } from '..';
4
+ import { ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
5
+ declare const EmbeddedSearchProvider: (props: React.ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
6
+ type EmbeddedSearchWrapperProps = ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Wrapper>;
7
+ declare const EmbeddedSearchWrapper: ({ className, ...props }: EmbeddedSearchWrapperProps) => import("react/jsx-runtime").JSX.Element;
8
+ declare const EmbeddedSearchRoot: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
9
+ declare const EmbeddedSearchContent: ForwardRefExoticComponent<Omit< PolymorphicProps & Omit<{
10
+ children?: React.ReactNode;
11
+ } & Omit< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & {
12
+ asChild?: boolean;
13
+ }, "ref"> & {
14
+ label?: string;
15
+ } & RefAttributes<HTMLDivElement>, "_id"> & Partial<Pick<{
16
+ children?: React.ReactNode;
17
+ } & Omit< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & {
18
+ asChild?: boolean;
19
+ }, "ref"> & {
20
+ label?: string;
21
+ } & RefAttributes<HTMLDivElement>, "_id">>, "ref"> & RefAttributes<HTMLDivElement>>;
22
+ declare const EmbeddedSearchInputGroup: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.InputGroup>) => import("react/jsx-runtime").JSX.Element;
23
+ declare const EmbeddedSearchInputIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.InputIcon>) => import("react/jsx-runtime").JSX.Element;
24
+ declare const EmbeddedSearchInput: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Input>) => import("react/jsx-runtime").JSX.Element;
25
+ declare const EmbeddedSearchLoading: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Loading>) => import("react/jsx-runtime").JSX.Element;
26
+ declare const EmbeddedSearchAskAITrigger: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITrigger>) => import("react/jsx-runtime").JSX.Element;
27
+ declare const EmbeddedSearchAskAITriggerIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIcon>) => import("react/jsx-runtime").JSX.Element;
28
+ declare const EmbeddedSearchAskAITriggerLabel: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerLabel>) => import("react/jsx-runtime").JSX.Element;
29
+ declare const EmbeddedSearchAskAITriggerQuery: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerQuery>) => import("react/jsx-runtime").JSX.Element;
30
+ declare const EmbeddedSearchAskAITriggerIndicator: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIndicator>) => import("react/jsx-runtime").JSX.Element;
31
+ declare const EmbeddedSearchAskAITriggerIndicatorText: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIndicatorText>) => import("react/jsx-runtime").JSX.Element;
32
+ declare const EmbeddedSearchResults: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Results>) => import("react/jsx-runtime").JSX.Element;
33
+ declare const EmbeddedSearchResultsLoading: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsLoading>) => import("react/jsx-runtime").JSX.Element;
34
+ declare const EmbeddedSearchResultsEmpty: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsEmpty>) => import("react/jsx-runtime").JSX.Element;
35
+ declare const EmbeddedSearchResultsTabList: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsTabList>) => import("react/jsx-runtime").JSX.Element;
36
+ declare const EmbeddedSearchResultsTab: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsTab>) => import("react/jsx-runtime").JSX.Element;
37
+ declare const EmbeddedSearchResultsContent: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsContent>) => import("react/jsx-runtime").JSX.Element;
38
+ declare const EmbeddedSearchResultsScrollArea: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollArea>) => import("react/jsx-runtime").JSX.Element;
39
+ declare const EmbeddedSearchResultsScrollAreaViewport: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaViewport>) => import("react/jsx-runtime").JSX.Element;
40
+ declare const EmbeddedSearchResultsScrollAreaScrollbar: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar>) => import("react/jsx-runtime").JSX.Element;
41
+ declare const EmbeddedSearchResultsScrollAreaThumb: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaThumb>) => import("react/jsx-runtime").JSX.Element;
42
+ declare const EmbeddedSearchResultsScrollAreaCorner: ForwardRefExoticComponent< PolymorphicProps & Omit< ScrollAreaCornerProps & RefAttributes<HTMLDivElement>, "_id"> & Partial<Pick< ScrollAreaCornerProps & RefAttributes<HTMLDivElement>, "_id">>>;
43
+ declare const EmbeddedSearchResultsList: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsList>) => import("react/jsx-runtime").JSX.Element;
44
+ declare const EmbeddedSearchResultsItem: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItem>) => import("react/jsx-runtime").JSX.Element;
45
+ declare const EmbeddedSearchResultsItemBreadcrumbs: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemBreadcrumbs>) => import("react/jsx-runtime").JSX.Element;
46
+ declare const EmbeddedSearchResultsItemBreadcrumbIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon>) => import("react/jsx-runtime").JSX.Element;
47
+ declare const EmbeddedSearchResultsItemIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemIcon>) => import("react/jsx-runtime").JSX.Element;
48
+ declare const EmbeddedSearchResultsItemTitle: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemTitle>) => import("react/jsx-runtime").JSX.Element;
49
+ declare const EmbeddedSearchResultsItemTag: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemTag>) => import("react/jsx-runtime").JSX.Element;
50
+ declare const EmbeddedSearchResultsItemDescription: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemDescription>) => import("react/jsx-runtime").JSX.Element;
51
+ declare const EmbeddedSearchResultsItemDescriptionPart: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemDescriptionPart>) => import("react/jsx-runtime").JSX.Element;
52
+ declare const EmbeddedSearchResultsItemIndicator: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemIndicator>) => import("react/jsx-runtime").JSX.Element;
53
+ declare const EmbeddedSearchResultsItemPreview: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreview>) => import("react/jsx-runtime").JSX.Element;
54
+ declare const EmbeddedSearchResultsItemPreviewHeader: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewHeader>) => import("react/jsx-runtime").JSX.Element;
55
+ declare const EmbeddedSearchResultsItemPreviewHeading: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewHeading>) => import("react/jsx-runtime").JSX.Element;
56
+ declare const EmbeddedSearchResultsItemPreviewTitle: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewTitle>) => import("react/jsx-runtime").JSX.Element;
57
+ declare const EmbeddedSearchResultsItemPreviewTitleLinkIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewTitleLinkIcon>) => import("react/jsx-runtime").JSX.Element;
58
+ declare const EmbeddedSearchResultsItemPreviewBreadcrumbs: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewBreadcrumbs>) => import("react/jsx-runtime").JSX.Element;
59
+ declare const EmbeddedSearchResultsItemPreviewBreadcrumbIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewBreadcrumbIcon>) => import("react/jsx-runtime").JSX.Element;
60
+ declare const EmbeddedSearchResultsItemPreviewBody: ({ className, componentStyles, ...props }: React.ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewBody>) => import("react/jsx-runtime").JSX.Element;
61
+ declare const EmbeddedSearchResultsItemPreviewOutline: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewOutline>) => import("react/jsx-runtime").JSX.Element;
62
+ declare const EmbeddedSearchResultsItemPreviewOutlineTitle: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewOutlineTitle>) => import("react/jsx-runtime").JSX.Element;
63
+ declare const EmbeddedSearchResultsItemPreviewOutlineList: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewOutlineList>) => import("react/jsx-runtime").JSX.Element;
64
+ declare const EmbeddedSearchResultsItemPreviewOutlineItem: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItem>) => import("react/jsx-runtime").JSX.Element;
65
+ declare const EmbeddedSearchResultsItemPreviewOutlineItemIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemIcon>) => import("react/jsx-runtime").JSX.Element;
66
+ declare const EmbeddedSearchResultsItemPreviewOutlineItemText: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemText>) => import("react/jsx-runtime").JSX.Element;
67
+ declare const EmbeddedSearchResultsItemPreviewOutlineItemLinkIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemLinkIcon>) => import("react/jsx-runtime").JSX.Element;
68
+ declare const EmbeddedSearchFooter: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Footer>) => import("react/jsx-runtime").JSX.Element;
69
+ declare const EmbeddedSearchTaglineContainer: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineContainer>) => import("react/jsx-runtime").JSX.Element;
70
+ declare const EmbeddedSearchTaglineText: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineText>) => import("react/jsx-runtime").JSX.Element;
71
+ declare const EmbeddedSearchTaglineLogo: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineLogo>) => import("react/jsx-runtime").JSX.Element;
72
+ declare const EmbeddedSearchTaglineBrandName: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineBrandName>) => import("react/jsx-runtime").JSX.Element;
73
+ export { EmbeddedSearchProvider as Provider, EmbeddedSearchWrapper as Wrapper, EmbeddedSearchRoot as Root, EmbeddedSearchContent as Content, EmbeddedSearchInputGroup as InputGroup, EmbeddedSearchInputIcon as InputIcon, EmbeddedSearchInput as Input, EmbeddedSearchLoading as Loading, EmbeddedSearchResults as Results, EmbeddedSearchResultsLoading as ResultsLoading, EmbeddedSearchAskAITrigger as AskAITrigger, EmbeddedSearchAskAITriggerIcon as AskAITriggerIcon, EmbeddedSearchAskAITriggerLabel as AskAITriggerLabel, EmbeddedSearchAskAITriggerQuery as AskAITriggerQuery, EmbeddedSearchAskAITriggerIndicator as AskAITriggerIndicator, EmbeddedSearchAskAITriggerIndicatorText as AskAITriggerIndicatorText, EmbeddedSearchResultsEmpty as ResultsEmpty, EmbeddedSearchResultsTabList as ResultsTabList, EmbeddedSearchResultsTab as ResultsTab, EmbeddedSearchResultsContent as ResultsContent, EmbeddedSearchResultsScrollArea as ResultsScrollArea, EmbeddedSearchResultsScrollAreaViewport as ResultsScrollAreaViewport, EmbeddedSearchResultsScrollAreaScrollbar as ResultsScrollAreaScrollbar, EmbeddedSearchResultsScrollAreaThumb as ResultsScrollAreaThumb, EmbeddedSearchResultsScrollAreaCorner as ResultsScrollAreaCorner, EmbeddedSearchResultsList as ResultsList, EmbeddedSearchResultsItem as ResultsItem, EmbeddedSearchResultsItemBreadcrumbs as ResultsItemBreadcrumbs, EmbeddedSearchResultsItemBreadcrumbIcon as ResultsItemBreadcrumbIcon, EmbeddedSearchResultsItemIcon as ResultsItemIcon, EmbeddedSearchResultsItemTitle as ResultsItemTitle, EmbeddedSearchResultsItemTag as ResultsItemTag, EmbeddedSearchResultsItemDescription as ResultsItemDescription, EmbeddedSearchResultsItemDescriptionPart as ResultsItemDescriptionPart, EmbeddedSearchResultsItemIndicator as ResultsItemIndicator, EmbeddedSearchResultsItemPreview as ResultsItemPreview, EmbeddedSearchResultsItemPreviewHeader as ResultsItemPreviewHeader, EmbeddedSearchResultsItemPreviewHeading as ResultsItemPreviewHeading, EmbeddedSearchResultsItemPreviewTitle as ResultsItemPreviewTitle, EmbeddedSearchResultsItemPreviewTitleLinkIcon as ResultsItemPreviewTitleLinkIcon, EmbeddedSearchResultsItemPreviewBreadcrumbs as ResultsItemPreviewBreadcrumbs, EmbeddedSearchResultsItemPreviewBreadcrumbIcon as ResultsItemPreviewBreadcrumbIcon, EmbeddedSearchResultsItemPreviewBody as ResultsItemPreviewBody, EmbeddedSearchResultsItemPreviewOutline as ResultsItemPreviewOutline, EmbeddedSearchResultsItemPreviewOutlineTitle as ResultsItemPreviewOutlineTitle, EmbeddedSearchResultsItemPreviewOutlineList as ResultsItemPreviewOutlineList, EmbeddedSearchResultsItemPreviewOutlineItem as ResultsItemPreviewOutlineItem, EmbeddedSearchResultsItemPreviewOutlineItemIcon as ResultsItemPreviewOutlineItemIcon, EmbeddedSearchResultsItemPreviewOutlineItemText as ResultsItemPreviewOutlineItemText, EmbeddedSearchResultsItemPreviewOutlineItemLinkIcon as ResultsItemPreviewOutlineItemLinkIcon, EmbeddedSearchFooter as Footer, EmbeddedSearchTaglineContainer as TaglineContainer, EmbeddedSearchTaglineText as TaglineText, EmbeddedSearchTaglineLogo as TaglineLogo, EmbeddedSearchTaglineBrandName as TaglineBrandName, };
@@ -0,0 +1,11 @@
1
+ export * as EmbeddedChat from './embedded-chat';
2
+ export * as SidebarChat from './sidebar-chat';
3
+ export * as EmbeddedSearch from './embedded-search';
4
+ export * as Modal from './modal';
5
+ export * as ChatButton from './chat-button';
6
+ export * as SearchBar from './searchbar';
7
+ export * from './shadow';
8
+ export * from './loading-indicator';
9
+ export * from './ui/recipes/widget-toggle';
10
+ export * from './message';
11
+ export * from './data-summary-group';
@@ -0,0 +1 @@
1
+ export declare function LoadingIndicator(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),R=require("../../primitives/providers/base-events-provider.cjs"),O=require("../../primitives/providers/config-provider.cjs"),F=require("../../primitives/providers/message-provider.cjs"),r=require("../../primitives/components/embedded-chat.cjs"),G=require("../../primitives/components/embedded-chat/chat-provider.cjs"),K=require("merge-anything"),B=require("../utils.cjs"),J=require("./ui/markdown-styles.cjs"),Y=require("../../primitives/components/embedded-chat/use-stream-processor.cjs"),z=require("./data-summary-group.cjs"),i=require("react"),H=require("./embedded-chat.cjs"),Q=require("../../types/message.cjs"),k=require("lucide-react"),U=()=>e.jsx("div",{className:"flex space-x-1",children:[0,1,2].map(s=>e.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:`${s*.2}s`},children:"."},s))}),w=({name:s,Icon:n,props:y,componentType:p})=>e.jsxs("div",{className:"border rounded-lg bg-gray-50 dark:bg-gray-dark-800 mb-3",children:[e.jsxs("div",{className:"flex justify-between px-4 py-2 text-xs",children:[e.jsxs("div",{className:"font-medium flex items-center gap-2",children:[e.jsx(n,{className:"w-3 h-3 text-gray-600 dark:text-white-alpha-600"}),e.jsx("span",{children:s})]}),e.jsx("div",{className:"flex items-center px-1.5 py-0.5 rounded-md text-2xs uppercase tracking-wider bg-gray-200 dark:bg-white-alpha-200 font-medium text-gray-700 dark:text-white-alpha-700 font-mono",children:p})]}),e.jsx("pre",{className:"whitespace-pre-wrap text-xs text-gray-700 dark:text-white-alpha-700 font-mono px-4 py-2",children:JSON.stringify(y,null,2)})]}),V=({name:s,props:n})=>e.jsx(w,{name:s,Icon:k.ComponentIcon,props:n,componentType:"component"}),W=({name:s,props:n})=>e.jsx(w,{name:s,Icon:k.Library,props:n,componentType:"artifact"}),X=({className:s,componentStyles:n,children:y,isLast:p,...S})=>{const{message:c}=F.useMessage(),{logEvent:u}=R.useBaseEvents(),{conversationId:C,isStreaming:D,isLoading:q,setError:M}=G.useChat(),{aiChatSettings:{components:N,artifacts:E}}=O.useInkeepConfig(),T=(D||q)&&p&&c.role==="assistant",{processedParts:I,summaryTimings:L,shouldShowInitialLoading:_,shouldShowStreamDelayLoading:$}=Y.useStreamProcessor(c.parts,T,M),f=i.useMemo(()=>c.parts.filter(t=>t.type==="data-artifact"&&t.data?.type?.toLowerCase()===Q.CITATION_ARTIFACT_TYPE),[c.parts]),j=i.useMemo(()=>K.merge(J.markdownStyles,n??{}),[n]),b=i.useCallback((t,a)=>{u({eventName:"assistant_message_inline_link_opened",properties:{title:a?.toString(),url:t}})},[u]),v=i.useCallback((t,a)=>{u({eventName:"assistant_code_block_copied",properties:{conversationId:C,language:t,code:a}})},[u,C]),P=i.useCallback(t=>e.jsx(r.EmbeddedChatPrimitiveMarkdown,{text:t,componentStyles:j,onLinkClick:b,onCodeCopy:v,artifacts:f}),[j,b,v,f]),A=i.useMemo(()=>B.cn("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",s),[s]);return e.jsxs(e.Fragment,{children:[I.map((t,a)=>{const m={"data-role":c.role,"data-type":t?.type==="data-component"?t.data.type:t?.type,...S,className:A};switch(t?.type){case"text":return e.jsx(r.PrimitiveMessagePart,{...m,children:P(t.text||"")},a);case"data-component":{const{type:d}=t.data;switch(d){case"text":return e.jsx("div",{...m,children:P(t.data.text||"")},a);default:{const g=t.data,{name:o,props:x}=g,l=N?.[o],h=l?r.EmbeddedChatPrimitiveDynamicComponent:V;return e.jsx(r.PrimitiveMessagePart,{...m,children:e.jsx(h,{name:o,props:x,componentDef:l})},`${o}-${a}`)}}}case"data-artifact":{const d=t.data,{name:g,type:o,artifactSummary:x}=d,l=E?.[o],h=l?r.EmbeddedChatPrimitiveDynamicComponent:W;return e.jsx(r.PrimitiveMessagePart,{...m,children:e.jsx(h,{name:o,props:x,componentDef:l})},`${g}-${a}`)}case"summary-group":{const d=L.get(t.groupKey)||{isCompleted:!1};return e.jsx(r.PrimitiveMessagePart,{...m,children:e.jsx(z.DataSummaryGroup,{summaries:t.summaries||[],isCompleted:d.isCompleted})},`${t.groupKey}-${a}`)}default:return null}}),_&&e.jsx(H.MessageLoading,{}),$&&e.jsx(U,{})]})};exports.EmbeddedChatMessagePart=X;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),A=require("../../primitives/providers/base-events-provider.cjs"),G=require("../../primitives/providers/config-provider.cjs"),K=require("../../primitives/providers/message-provider.cjs"),r=require("../../primitives/components/embedded-chat.cjs"),O=require("../../primitives/components/embedded-chat/chat-provider.cjs"),B=require("merge-anything"),F=require("../utils.cjs"),J=require("./ui/markdown-styles.cjs"),z=require("../../primitives/components/embedded-chat/use-stream-processor.cjs"),H=require("./data-summary-group.cjs"),i=require("react"),Q=require("./embedded-chat.cjs"),k=require("lucide-react"),U=()=>e.jsx("div",{className:"flex space-x-1",children:[0,1,2].map(s=>e.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:`${s*.2}s`},children:"."},s))}),w=({name:s,Icon:n,props:y,componentType:p})=>e.jsxs("div",{className:"border rounded-lg bg-gray-50 dark:bg-gray-dark-800 mb-3",children:[e.jsxs("div",{className:"flex justify-between px-4 py-2 text-xs",children:[e.jsxs("div",{className:"font-medium flex items-center gap-2",children:[e.jsx(n,{className:"w-3 h-3 text-gray-600 dark:text-white-alpha-600"}),e.jsx("span",{children:s})]}),e.jsx("div",{className:"flex items-center px-1.5 py-0.5 rounded-md text-2xs uppercase tracking-wider bg-gray-200 dark:bg-white-alpha-200 font-medium text-gray-700 dark:text-white-alpha-700 font-mono",children:p})]}),e.jsx("pre",{className:"whitespace-pre-wrap text-xs text-gray-700 dark:text-white-alpha-700 font-mono px-4 py-2",children:JSON.stringify(y,null,2)})]}),V=({name:s,props:n})=>e.jsx(w,{name:s,Icon:k.ComponentIcon,props:n,componentType:"component"}),W=({name:s,props:n})=>e.jsx(w,{name:s,Icon:k.Library,props:n,componentType:"artifact"}),X=({className:s,componentStyles:n,children:y,isLast:p,...S})=>{const{message:c}=K.useMessage(),{logEvent:u}=A.useBaseEvents(),{conversationId:C,isStreaming:D,isLoading:q,setError:M}=O.useChat(),{aiChatSettings:{components:N,artifacts:E}}=G.useInkeepConfig(),L=(D||q)&&p&&c.role==="assistant",{processedParts:$,summaryTimings:_,shouldShowInitialLoading:I,shouldShowStreamDelayLoading:T}=z.useStreamProcessor(c.parts,L,M),f=i.useMemo(()=>c.parts.filter(t=>t.type==="data-artifact"&&t.data?.type?.toLowerCase()==="citation"),[c.parts]),j=i.useMemo(()=>B.merge(J.markdownStyles,n??{}),[n]),b=i.useCallback((t,a)=>{u({eventName:"assistant_message_inline_link_opened",properties:{title:a?.toString(),url:t}})},[u]),v=i.useCallback((t,a)=>{u({eventName:"assistant_code_block_copied",properties:{conversationId:C,language:t,code:a}})},[u,C]),P=i.useCallback(t=>e.jsx(r.EmbeddedChatPrimitiveMarkdown,{text:t,componentStyles:j,onLinkClick:b,onCodeCopy:v,artifacts:f}),[j,b,v,f]),R=i.useMemo(()=>F.cn("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",s),[s]);return e.jsxs(e.Fragment,{children:[$.map((t,a)=>{const m={"data-role":c.role,"data-type":t?.type==="data-component"?t.data.type:t?.type,...S,className:R};switch(t?.type){case"text":return e.jsx(r.PrimitiveMessagePart,{...m,children:P(t.text||"")},a);case"data-component":{const{type:d}=t.data;switch(d){case"text":return e.jsx("div",{...m,children:P(t.data.text||"")},a);default:{const g=t.data,{name:o,props:x}=g,l=N?.[o],h=l?r.EmbeddedChatPrimitiveDynamicComponent:V;return e.jsx(r.PrimitiveMessagePart,{...m,children:e.jsx(h,{name:o,props:x,componentDef:l})},`${o}-${a}`)}}}case"data-artifact":{const d=t.data,{name:g,type:o,artifactSummary:x}=d,l=E?.[o],h=l?r.EmbeddedChatPrimitiveDynamicComponent:W;return e.jsx(r.PrimitiveMessagePart,{...m,children:e.jsx(h,{name:o,props:x,componentDef:l})},`${g}-${a}`)}case"summary-group":{const d=_.get(t.groupKey)||{isCompleted:!1};return e.jsx(r.PrimitiveMessagePart,{...m,children:e.jsx(H.DataSummaryGroup,{summaries:t.summaries||[],isCompleted:d.isCompleted})},`${t.groupKey}-${a}`)}default:return null}}),I&&e.jsx(Q.MessageLoading,{}),T&&e.jsx(U,{})]})};exports.EmbeddedChatMessagePart=X;
@@ -0,0 +1,4 @@
1
+ import { EmbeddedChatPrimitiveMessagePartProps } from '../../primitives/components/embedded-chat';
2
+ export declare const EmbeddedChatMessagePart: ({ className, componentStyles, children, isLast, ...rest }: EmbeddedChatPrimitiveMessagePartProps & {
3
+ isLast: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,20 +1,19 @@
1
1
  "use client";
2
- import { jsx as t, jsxs as l, Fragment as B } from "react/jsx-runtime";
3
- import { useBaseEvents as G } from "../../primitives/providers/base-events-provider.js";
4
- import { useInkeepConfig as J } from "../../primitives/providers/config-provider.js";
5
- import { useMessage as R } from "../../primitives/providers/message-provider.js";
6
- import { EmbeddedChatPrimitiveMarkdown as Y, PrimitiveMessagePart as d, EmbeddedChatPrimitiveDynamicComponent as N } from "../../primitives/components/embedded-chat.js";
7
- import { useChat as q } from "../../primitives/components/embedded-chat/chat-provider.js";
8
- import { merge as z } from "merge-anything";
9
- import { cn as H } from "../utils.js";
10
- import { markdownStyles as Q } from "./ui/markdown-styles.js";
11
- import { useStreamProcessor as U } from "../../primitives/components/embedded-chat/use-stream-processor.js";
12
- import { DataSummaryGroup as V } from "./data-summary-group.js";
2
+ import { jsx as t, jsxs as l, Fragment as G } from "react/jsx-runtime";
3
+ import { useBaseEvents as J } from "../../primitives/providers/base-events-provider.js";
4
+ import { useInkeepConfig as O } from "../../primitives/providers/config-provider.js";
5
+ import { useMessage as q } from "../../primitives/providers/message-provider.js";
6
+ import { EmbeddedChatPrimitiveMarkdown as z, PrimitiveMessagePart as d, EmbeddedChatPrimitiveDynamicComponent as S } from "../../primitives/components/embedded-chat.js";
7
+ import { useChat as H } from "../../primitives/components/embedded-chat/chat-provider.js";
8
+ import { merge as Q } from "merge-anything";
9
+ import { cn as R } from "../utils.js";
10
+ import { markdownStyles as U } from "./ui/markdown-styles.js";
11
+ import { useStreamProcessor as V } from "../../primitives/components/embedded-chat/use-stream-processor.js";
12
+ import { DataSummaryGroup as W } from "./data-summary-group.js";
13
13
  import { useMemo as h, useCallback as y } from "react";
14
- import { MessageLoading as W } from "./embedded-chat.js";
15
- import { CITATION_ARTIFACT_TYPE as X } from "../../types/message.js";
16
- import { Library as Z, ComponentIcon as ee } from "lucide-react";
17
- const te = () => /* @__PURE__ */ t("div", { className: "flex space-x-1", children: [0, 1, 2].map((a) => /* @__PURE__ */ t(
14
+ import { MessageLoading as X } from "./embedded-chat.js";
15
+ import { Library as Y, ComponentIcon as Z } from "lucide-react";
16
+ const ee = () => /* @__PURE__ */ t("div", { className: "flex space-x-1", children: [0, 1, 2].map((a) => /* @__PURE__ */ t(
18
17
  "span",
19
18
  {
20
19
  className: "animate-bounce-dot opacity-30",
@@ -24,7 +23,7 @@ const te = () => /* @__PURE__ */ t("div", { className: "flex space-x-1", childre
24
23
  children: "."
25
24
  },
26
25
  a
27
- )) }), S = ({ name: a, Icon: n, props: C, componentType: u }) => /* @__PURE__ */ l("div", { className: "border rounded-lg bg-gray-50 dark:bg-gray-dark-800 mb-3", children: [
26
+ )) }), N = ({ name: a, Icon: n, props: C, componentType: u }) => /* @__PURE__ */ l("div", { className: "border rounded-lg bg-gray-50 dark:bg-gray-dark-800 mb-3", children: [
28
27
  /* @__PURE__ */ l("div", { className: "flex justify-between px-4 py-2 text-xs", children: [
29
28
  /* @__PURE__ */ l("div", { className: "font-medium flex items-center gap-2", children: [
30
29
  /* @__PURE__ */ t(n, { className: "w-3 h-3 text-gray-600 dark:text-white-alpha-600" }),
@@ -33,22 +32,22 @@ const te = () => /* @__PURE__ */ t("div", { className: "flex space-x-1", childre
33
32
  /* @__PURE__ */ t("div", { className: "flex items-center px-1.5 py-0.5 rounded-md text-2xs uppercase tracking-wider bg-gray-200 dark:bg-white-alpha-200 font-medium text-gray-700 dark:text-white-alpha-700 font-mono", children: u })
34
33
  ] }),
35
34
  /* @__PURE__ */ t("pre", { className: "whitespace-pre-wrap text-xs text-gray-700 dark:text-white-alpha-700 font-mono px-4 py-2", children: JSON.stringify(C, null, 2) })
36
- ] }), ae = ({ name: a, props: n }) => /* @__PURE__ */ t(S, { name: a, Icon: ee, props: n, componentType: "component" }), oe = ({ name: a, props: n }) => /* @__PURE__ */ t(S, { name: a, Icon: Z, props: n, componentType: "artifact" }), xe = ({
35
+ ] }), te = ({ name: a, props: n }) => /* @__PURE__ */ t(N, { name: a, Icon: Z, props: n, componentType: "component" }), ae = ({ name: a, props: n }) => /* @__PURE__ */ t(N, { name: a, Icon: Y, props: n, componentType: "artifact" }), ye = ({
37
36
  className: a,
38
37
  componentStyles: n,
39
38
  children: C,
40
39
  isLast: u,
41
40
  ...L
42
41
  }) => {
43
- const { message: s } = R(), { logEvent: p } = G(), { conversationId: x, isStreaming: I, isLoading: P, setError: T } = q(), {
44
- aiChatSettings: { components: _, artifacts: E }
45
- } = J(), M = (I || P) && u && s.role === "assistant", { processedParts: $, summaryTimings: A, shouldShowInitialLoading: j, shouldShowStreamDelayLoading: F } = U(s.parts, M, T), w = h(
46
- () => s.parts.filter(
47
- (e) => e.type === "data-artifact" && e.data?.type?.toLowerCase() === X
42
+ const { message: r } = q(), { logEvent: p } = J(), { conversationId: x, isStreaming: M, isLoading: P, setError: E } = H(), {
43
+ aiChatSettings: { components: _, artifacts: $ }
44
+ } = O(), I = (M || P) && u && r.role === "assistant", { processedParts: T, summaryTimings: j, shouldShowInitialLoading: K, shouldShowStreamDelayLoading: A } = V(r.parts, I, E), w = h(
45
+ () => r.parts.filter(
46
+ (e) => e.type === "data-artifact" && e.data?.type?.toLowerCase() === "citation"
48
47
  ),
49
- [s.parts]
48
+ [r.parts]
50
49
  ), k = h(
51
- () => z(Q, n ?? {}),
50
+ () => Q(U, n ?? {}),
52
51
  [n]
53
52
  ), D = y(
54
53
  (e, o) => {
@@ -75,7 +74,7 @@ const te = () => /* @__PURE__ */ t("div", { className: "flex space-x-1", childre
75
74
  [p, x]
76
75
  ), v = y(
77
76
  (e) => /* @__PURE__ */ t(
78
- Y,
77
+ z,
79
78
  {
80
79
  text: e,
81
80
  componentStyles: k,
@@ -85,45 +84,45 @@ const te = () => /* @__PURE__ */ t("div", { className: "flex space-x-1", childre
85
84
  }
86
85
  ),
87
86
  [k, D, b, w]
88
- ), K = h(
89
- () => H("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full", a),
87
+ ), B = h(
88
+ () => R("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full", a),
90
89
  [a]
91
90
  );
92
- return /* @__PURE__ */ l(B, { children: [
93
- $.map((e, o) => {
94
- const m = {
95
- "data-role": s.role,
91
+ return /* @__PURE__ */ l(G, { children: [
92
+ T.map((e, o) => {
93
+ const i = {
94
+ "data-role": r.role,
96
95
  "data-type": e?.type === "data-component" ? e.data.type : e?.type,
97
96
  ...L,
98
- className: K
97
+ className: B
99
98
  };
100
99
  switch (e?.type) {
101
100
  case "text":
102
- return /* @__PURE__ */ t(d, { ...m, children: v(e.text || "") }, o);
101
+ return /* @__PURE__ */ t(d, { ...i, children: v(e.text || "") }, o);
103
102
  case "data-component": {
104
- const { type: i } = e.data;
105
- switch (i) {
103
+ const { type: m } = e.data;
104
+ switch (m) {
106
105
  case "text":
107
- return /* @__PURE__ */ t("div", { ...m, children: v(e.data.text || "") }, o);
106
+ return /* @__PURE__ */ t("div", { ...i, children: v(e.data.text || "") }, o);
108
107
  default: {
109
- const f = e.data, { name: r, props: g } = f, c = _?.[r];
110
- return /* @__PURE__ */ t(d, { ...m, children: /* @__PURE__ */ t(c ? N : ae, { name: r, props: g, componentDef: c }) }, `${r}-${o}`);
108
+ const f = e.data, { name: s, props: g } = f, c = _?.[s];
109
+ return /* @__PURE__ */ t(d, { ...i, children: /* @__PURE__ */ t(c ? S : te, { name: s, props: g, componentDef: c }) }, `${s}-${o}`);
111
110
  }
112
111
  }
113
112
  }
114
113
  case "data-artifact": {
115
- const i = e.data, { name: f, type: r, artifactSummary: g } = i, c = E?.[r];
116
- return /* @__PURE__ */ t(d, { ...m, children: /* @__PURE__ */ t(c ? N : oe, { name: r, props: g, componentDef: c }) }, `${f}-${o}`);
114
+ const m = e.data, { name: f, type: s, artifactSummary: g } = m, c = $?.[s];
115
+ return /* @__PURE__ */ t(d, { ...i, children: /* @__PURE__ */ t(c ? S : ae, { name: s, props: g, componentDef: c }) }, `${f}-${o}`);
117
116
  }
118
117
  case "summary-group": {
119
- const i = A.get(e.groupKey) || {
118
+ const m = j.get(e.groupKey) || {
120
119
  isCompleted: !1
121
120
  };
122
- return /* @__PURE__ */ t(d, { ...m, children: /* @__PURE__ */ t(
123
- V,
121
+ return /* @__PURE__ */ t(d, { ...i, children: /* @__PURE__ */ t(
122
+ W,
124
123
  {
125
124
  summaries: e.summaries || [],
126
- isCompleted: i.isCompleted
125
+ isCompleted: m.isCompleted
127
126
  }
128
127
  ) }, `${e.groupKey}-${o}`);
129
128
  }
@@ -131,10 +130,10 @@ const te = () => /* @__PURE__ */ t("div", { className: "flex space-x-1", childre
131
130
  return null;
132
131
  }
133
132
  }),
134
- j && /* @__PURE__ */ t(W, {}),
135
- F && /* @__PURE__ */ t(te, {})
133
+ K && /* @__PURE__ */ t(X, {}),
134
+ A && /* @__PURE__ */ t(ee, {})
136
135
  ] });
137
136
  };
138
137
  export {
139
- xe as EmbeddedChatMessagePart
138
+ ye as EmbeddedChatMessagePart
140
139
  };
@@ -0,0 +1,6 @@
1
+ import { ModalPrimitive } from '../../primitives';
2
+ declare const Modal: (props: ModalPrimitive.PrimitiveModalProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const ModalOverlay: ({ className, ...props }: React.ComponentPropsWithRef<typeof ModalPrimitive.Overlay>) => import("react/jsx-runtime").JSX.Element;
4
+ declare const ModalContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof ModalPrimitive.Content>) => import("react/jsx-runtime").JSX.Element;
5
+ declare const ModalClose: ({ className, ...props }: React.ComponentPropsWithRef<typeof ModalPrimitive.Close>) => import("react/jsx-runtime").JSX.Element;
6
+ export { Modal as Root, ModalOverlay as Overlay, ModalContent as Content, ModalClose as Close };
@@ -0,0 +1,11 @@
1
+ import { ComponentPropsWithRef } from 'react';
2
+ import { SearchBarPrimitive } from '../../primitives';
3
+ declare const SearchBarContainer: ({ className, ...props }: ComponentPropsWithRef<typeof SearchBarPrimitive.SearchBarContainer>) => import("react/jsx-runtime").JSX.Element;
4
+ declare const SearchBarButton: ({ className, ...props }: ComponentPropsWithRef<typeof SearchBarPrimitive.SearchBarButton>) => import("react/jsx-runtime").JSX.Element;
5
+ declare const SearchBarContentWrapper: ({ className, ...props }: ComponentPropsWithRef<typeof SearchBarPrimitive.SearchBarContentWrapper>) => import("react/jsx-runtime").JSX.Element;
6
+ declare const SearchBarText: ({ className, ...props }: ComponentPropsWithRef<typeof SearchBarPrimitive.SearchBarText>) => import("react/jsx-runtime").JSX.Element;
7
+ declare const SearchBarIcon: ({ className, ...props }: ComponentPropsWithRef<typeof SearchBarPrimitive.SearchBarIcon>) => import("react/jsx-runtime").JSX.Element;
8
+ declare const SearchBarKbdWrapper: ({ className, ...props }: ComponentPropsWithRef<typeof SearchBarPrimitive.SearchBarKbdWrapper>) => import("react/jsx-runtime").JSX.Element;
9
+ declare const SearchBarKbdModifier: ({ className, ...props }: ComponentPropsWithRef<typeof SearchBarPrimitive.SearchBarKbdModifier>) => import("react/jsx-runtime").JSX.Element;
10
+ declare const SearchBarKbdShortcutKey: ({ className, ...props }: ComponentPropsWithRef<typeof SearchBarPrimitive.SearchBarKbdShortcutKey>) => import("react/jsx-runtime").JSX.Element;
11
+ export { SearchBarContainer, SearchBarButton, SearchBarContentWrapper, SearchBarText, SearchBarIcon, SearchBarKbdWrapper, SearchBarKbdModifier, SearchBarKbdShortcutKey, };
@@ -0,0 +1,3 @@
1
+ import { InkeepShadow } from '../../primitives';
2
+ export type ShadowProps = React.ComponentPropsWithRef<typeof InkeepShadow>;
3
+ export declare const Shadow: (props: ShadowProps) => import("react/jsx-runtime").JSX.Element;