@inkeep/agents-ui 0.0.0-dev-20260401193828 → 0.0.0-dev-20260402200940
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +78 -77
- package/dist/primitives/atoms/dialog.cjs +1 -1
- package/dist/primitives/atoms/dialog.js +110 -106
- package/dist/primitives/atoms/file-upload.cjs +1 -0
- package/dist/primitives/atoms/file-upload.d.ts +35 -0
- package/dist/primitives/atoms/file-upload.js +45 -0
- package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -1
- package/dist/primitives/atoms/icons/built-in-icons.d.ts +8 -1
- package/dist/primitives/atoms/icons/built-in-icons.js +86 -79
- package/dist/primitives/atoms/icons/collections/pi.cjs +1 -1
- package/dist/primitives/atoms/icons/collections/pi.d.ts +6 -0
- package/dist/primitives/atoms/icons/collections/pi.js +103 -13
- package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -1
- package/dist/primitives/atoms/icons/inkeep-default-icons.js +9 -1
- package/dist/primitives/components/embedded-chat/file-upload-input.cjs +1 -0
- package/dist/primitives/components/embedded-chat/file-upload-input.d.ts +68 -0
- package/dist/primitives/components/embedded-chat/file-upload-input.js +328 -0
- package/dist/primitives/components/embedded-chat/image-preview-modal.cjs +1 -0
- package/dist/primitives/components/embedded-chat/image-preview-modal.d.ts +15 -0
- package/dist/primitives/components/embedded-chat/image-preview-modal.js +71 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +3 -3
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +6 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +282 -237
- package/dist/primitives/components/embedded-chat.cjs +5 -5
- package/dist/primitives/components/embedded-chat.d.ts +6 -5
- package/dist/primitives/components/embedded-chat.js +934 -907
- package/dist/primitives/components/embedded-search.d.ts +1 -1
- package/dist/primitives/hooks/index.cjs +1 -1
- package/dist/primitives/hooks/index.js +15 -14
- package/dist/primitives/hooks/use-input-notification.cjs +1 -0
- package/dist/primitives/hooks/use-input-notification.d.ts +9 -0
- package/dist/primitives/hooks/use-input-notification.js +18 -0
- package/dist/primitives/hooks/use-scrolling-fades.cjs +1 -1
- package/dist/primitives/hooks/use-scrolling-fades.d.ts +1 -0
- package/dist/primitives/hooks/use-scrolling-fades.js +21 -5
- package/dist/primitives/index.cjs +1 -1
- package/dist/primitives/index.js +69 -68
- package/dist/primitives/providers/base-events-provider.cjs +1 -1
- package/dist/primitives/providers/base-events-provider.js +1 -1
- package/dist/primitives/providers/image-preview-provider.cjs +1 -0
- package/dist/primitives/providers/image-preview-provider.d.ts +15 -0
- package/dist/primitives/providers/image-preview-provider.js +23 -0
- package/dist/primitives/utils/component-ids.cjs +1 -1
- package/dist/primitives/utils/component-ids.d.ts +54 -0
- package/dist/primitives/utils/component-ids.js +37 -10
- package/dist/react/embedded-chat.cjs +1 -1
- package/dist/react/embedded-chat.js +305 -260
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +78 -77
- package/dist/styled/components/chat-history.cjs +1 -1
- package/dist/styled/components/chat-history.d.ts +1 -1
- package/dist/styled/components/chat-history.js +31 -29
- package/dist/styled/components/embedded-chat/file-upload-input.cjs +1 -0
- package/dist/styled/components/embedded-chat/file-upload-input.d.ts +20 -0
- package/dist/styled/components/embedded-chat/file-upload-input.js +300 -0
- package/dist/styled/components/embedded-chat/image-preview-modal.cjs +1 -0
- package/dist/styled/components/embedded-chat/image-preview-modal.d.ts +11 -0
- package/dist/styled/components/embedded-chat/image-preview-modal.js +77 -0
- package/dist/styled/components/embedded-chat.cjs +1 -1
- package/dist/styled/components/embedded-chat.d.ts +2 -0
- package/dist/styled/components/embedded-chat.js +479 -449
- package/dist/styled/components/message.cjs +1 -1
- package/dist/styled/components/message.js +89 -88
- package/dist/styled/index.cjs +1 -1
- package/dist/styled/index.js +77 -76
- package/dist/styled/inkeep.css.cjs +253 -7
- package/dist/styled/inkeep.css.js +253 -7
- package/dist/types/icons/built-in.d.ts +1 -1
- package/dist/types/icons/custom.d.ts +8 -0
- package/package.json +7 -6
|
@@ -245,5 +245,5 @@ export declare const EmbeddedSearchPrimitiveFooter: (props: ComponentPropsWithRe
|
|
|
245
245
|
declare const EmbeddedSearchPrimitiveTaglineContainer: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
246
246
|
declare const EmbeddedSearchPrimitiveTaglineText: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "_id">>>;
|
|
247
247
|
declare const EmbeddedSearchPrimitiveTaglineLogo: ForwardRefExoticComponent< PolymorphicProps & Omit< SVGProps<SVGSVGElement>, "_id"> & Partial<Pick< SVGProps<SVGSVGElement>, "_id">>>;
|
|
248
|
-
declare const EmbeddedSearchPrimitiveTaglineBrandName: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "children" | "rel" | "
|
|
248
|
+
declare const EmbeddedSearchPrimitiveTaglineBrandName: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "children" | "rel" | "_id" | "target" | "href"> & Partial<Pick< DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "children" | "rel" | "_id" | "target" | "href">>>;
|
|
249
249
|
export { SearchProvider as Provider, EmbeddedSearchPrimitiveWrapper as Wrapper, EmbeddedSearchPrimitiveRoot as Root, EmbeddedSearchPrimitiveContent as Content, EmbeddedSearchPrimitiveInputGroup as InputGroup, EmbeddedSearchInputIcon as InputIcon, EmbeddedSearchPrimitiveInput as Input, EmbeddedSearchPrimitiveLoading as Loading, EmbeddedSearchPrimitiveAskAITrigger as AskAITrigger, EmbeddedSearchPrimitiveAskAITriggerIcon as AskAITriggerIcon, EmbeddedSearchPrimitiveAskAITriggerLabel as AskAITriggerLabel, EmbeddedSearchPrimitiveAskAITriggerQuery as AskAITriggerQuery, EmbeddedSearchPrimitiveAskAITriggerIndicator as AskAITriggerIndicator, EmbeddedSearchPrimitiveAskAITriggerIndicatorText as AskAITriggerIndicatorText, EmbeddedSearchPrimitiveResults as Results, EmbeddedSearchPrimitiveResultsLoading as ResultsLoading, EmbeddedSearchPrimitiveResultsEmpty as ResultsEmpty, EmbeddedSearchPrimitiveResultsContent as ResultsContent, EmbeddedSearchPrimitiveResultsScrollArea as ResultsScrollArea, EmbeddedSearchPrimitiveResultsScrollAreaViewport as ResultsScrollAreaViewport, EmbeddedSearchPrimitiveResultsScrollAreaScrollbar as ResultsScrollAreaScrollbar, EmbeddedSearchPrimitiveResultsScrollAreaThumb as ResultsScrollAreaThumb, EmbeddedSearchPrimitiveResultsScrollAreaCorner as ResultsScrollAreaCorner, EmbeddedSearchPrimitiveResultsTabList as ResultsTabList, EmbeddedSearchPrimitiveResultsTab as ResultsTab, EmbeddedSearchPrimitiveResultsList as ResultsList, EmbeddedSearchPrimitiveResultsItem as ResultsItem, EmbeddedSearchPrimitiveResultsItemBreadcrumbs as ResultsItemBreadcrumbs, EmbeddedSearchPrimitiveResultsItemBreadcrumbIcon as ResultsItemBreadcrumbIcon, EmbeddedSearchPrimitiveResultsItemIcon as ResultsItemIcon, EmbeddedSearchPrimitiveResultsItemTitle as ResultsItemTitle, EmbeddedSearchPrimitiveResultsItemTag as ResultsItemTag, EmbeddedSearchPrimitiveResultsItemDescription as ResultsItemDescription, EmbeddedSearchPrimitiveResultsItemDescriptionPart as ResultsItemDescriptionPart, EmbeddedSearchPrimitiveResultsItemIndicator as ResultsItemIndicator, EmbeddedSearchPrimitiveResultsItemPreview as ResultsItemPreview, EmbeddedSearchPrimitiveResultsItemPreviewHeader as ResultsItemPreviewHeader, EmbeddedSearchPrimitiveResultsItemPreviewHeading as ResultsItemPreviewHeading, EmbeddedSearchPrimitiveResultsItemPreviewTitle as ResultsItemPreviewTitle, EmbeddedSearchPrimitiveResultsItemPreviewTitleLinkIcon as ResultsItemPreviewTitleLinkIcon, EmbeddedSearchPrimitiveResultsItemPreviewBreadcrumbs as ResultsItemPreviewBreadcrumbs, EmbeddedSearchPrimitiveResultsItemPreviewBreadcrumbIcon as ResultsItemPreviewBreadcrumbIcon, EmbeddedSearchPrimitiveResultsItemPreviewBody as ResultsItemPreviewBody, EmbeddedSearchPrimitiveResultsItemPreviewOutline as ResultsItemPreviewOutline, EmbeddedSearchPrimitiveResultsItemPreviewOutlineTitle as ResultsItemPreviewOutlineTitle, EmbeddedSearchPrimitiveResultsItemPreviewOutlineList as ResultsItemPreviewOutlineList, EmbeddedSearchPrimitiveResultsItemPreviewOutlineItem as ResultsItemPreviewOutlineItem, EmbeddedSearchPrimitiveResultsItemPreviewOutlineItemIcon as ResultsItemPreviewOutlineItemIcon, EmbeddedSearchPrimitiveResultsItemPreviewOutlineItemText as ResultsItemPreviewOutlineItemText, EmbeddedSearchPrimitiveResultsItemPreviewOutlineItemLinkIcon as ResultsItemPreviewOutlineItemLinkIcon, EmbeddedSearchPrimitiveFooter as Footer, EmbeddedSearchPrimitiveTaglineContainer as TaglineContainer, EmbeddedSearchPrimitiveTaglineText as TaglineText, EmbeddedSearchPrimitiveTaglineLogo as TaglineLogo, EmbeddedSearchPrimitiveTaglineBrandName as TaglineBrandName, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./use-boolean.cjs"),u=require("./use-component-classnames.cjs"),o=require("./use-container-size.cjs"),n=require("./use-inkeep-open-state.cjs"),r=require("./use-copy-to-clipboard.cjs"),t=require("./use-instant-update.cjs"),i=require("./use-is-mounted.cjs"),a=require("./use-media-query.cjs"),l=require("./use-resize-observer.cjs"),e=require("./use-scrolling-fades.cjs"),c=require("./use-settle-action.cjs"),p=require("./use-simple-scroll.cjs");exports.useBoolean=s.useBoolean;exports.useComponentClassNames=u.useComponentClassNames;exports.useContainerSize=o.useContainerSize;exports.useInkeepOpenState=n.useInkeepOpenState;exports.useCopyToClipboard=r.useCopyToClipboard;exports.useInstantUpdate=t.useInstantUpdate;exports.useIsMounted=i.useIsMounted;exports.useMediaQuery=a.useMediaQuery;exports.useResizeObserver=l.useResizeObserver;exports.useScrollingFades=e.useScrollingFades;exports.useScrollingFadesHorizontal=e.useScrollingFadesHorizontal;exports.useSettleAction=c.useSettleAction;exports.useSimpleScroll=p.useSimpleScroll;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { useBoolean as r } from "./use-boolean.js";
|
|
2
2
|
import { useComponentClassNames as s } from "./use-component-classnames.js";
|
|
3
3
|
import { useContainerSize as m } from "./use-container-size.js";
|
|
4
|
-
import { useInkeepOpenState as
|
|
5
|
-
import { useCopyToClipboard as
|
|
6
|
-
import { useInstantUpdate as
|
|
4
|
+
import { useInkeepOpenState as n } from "./use-inkeep-open-state.js";
|
|
5
|
+
import { useCopyToClipboard as f } from "./use-copy-to-clipboard.js";
|
|
6
|
+
import { useInstantUpdate as x } from "./use-instant-update.js";
|
|
7
7
|
import { useIsMounted as S } from "./use-is-mounted.js";
|
|
8
8
|
import { useMediaQuery as C } from "./use-media-query.js";
|
|
9
|
-
import { useResizeObserver as
|
|
10
|
-
import { useScrollingFades as
|
|
11
|
-
import { useSettleAction as
|
|
12
|
-
import { useSimpleScroll as
|
|
9
|
+
import { useResizeObserver as z } from "./use-resize-observer.js";
|
|
10
|
+
import { useScrollingFades as b, useScrollingFadesHorizontal as g } from "./use-scrolling-fades.js";
|
|
11
|
+
import { useSettleAction as F } from "./use-settle-action.js";
|
|
12
|
+
import { useSimpleScroll as O } from "./use-simple-scroll.js";
|
|
13
13
|
export {
|
|
14
14
|
r as useBoolean,
|
|
15
15
|
s as useComponentClassNames,
|
|
16
16
|
m as useContainerSize,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
f as useCopyToClipboard,
|
|
18
|
+
n as useInkeepOpenState,
|
|
19
|
+
x as useInstantUpdate,
|
|
20
20
|
S as useIsMounted,
|
|
21
21
|
C as useMediaQuery,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
z as useResizeObserver,
|
|
23
|
+
b as useScrollingFades,
|
|
24
|
+
g as useScrollingFadesHorizontal,
|
|
25
|
+
F as useSettleAction,
|
|
26
|
+
O as useSimpleScroll
|
|
26
27
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");function l(){const[n,u]=e.useState(null),t=e.useRef(null),i=e.useCallback((o,r=5e3)=>{t.current&&clearTimeout(t.current),u(o),t.current=setTimeout(()=>u(null),r)},[]),c=e.useCallback(()=>{t.current&&clearTimeout(t.current),u(null)},[]);return e.useEffect(()=>()=>{t.current&&clearTimeout(t.current)},[]),{inputNotification:n,showInputNotification:i,clearInputNotification:c}}exports.useInputNotification=l;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface InputNotification {
|
|
2
|
+
title?: string;
|
|
3
|
+
message: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function useInputNotification(): {
|
|
6
|
+
inputNotification: InputNotification | null;
|
|
7
|
+
showInputNotification: (n: InputNotification, durationMs?: number) => void;
|
|
8
|
+
clearInputNotification: () => void;
|
|
9
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useState as l, useRef as f, useCallback as n, useEffect as s } from "react";
|
|
3
|
+
function m() {
|
|
4
|
+
const [u, e] = l(null), t = f(null), i = n(
|
|
5
|
+
(r, o = 5e3) => {
|
|
6
|
+
t.current && clearTimeout(t.current), e(r), t.current = setTimeout(() => e(null), o);
|
|
7
|
+
},
|
|
8
|
+
[]
|
|
9
|
+
), c = n(() => {
|
|
10
|
+
t.current && clearTimeout(t.current), e(null);
|
|
11
|
+
}, []);
|
|
12
|
+
return s(() => () => {
|
|
13
|
+
t.current && clearTimeout(t.current);
|
|
14
|
+
}, []), { inputNotification: u, showInputNotification: i, clearInputNotification: c };
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
m as useInputNotification
|
|
18
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react");function l(){const r=s.useRef(null),t=s.useCallback(()=>{const e=r.current;e&&(e.scrollTop===0?e.setAttribute("data-scroll-top",""):e.removeAttribute("data-scroll-top"),e.scrollTop+e.clientHeight>=e.scrollHeight-1?e.setAttribute("data-scroll-bottom",""):e.removeAttribute("data-scroll-bottom"))},[]);return s.useEffect(()=>{const e=r.current;if(e)return t(),e.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{e.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[t]),r}function o(){const r=s.useRef(null),t=s.useCallback(()=>{const e=r.current?.firstElementChild;e&&(e.scrollLeft<=0?e.setAttribute("data-scroll-left",""):e.removeAttribute("data-scroll-left"),e.scrollLeft>=e.scrollWidth-e.clientWidth-1?e.setAttribute("data-scroll-right",""):e.removeAttribute("data-scroll-right"))},[]);return s.useLayoutEffect(()=>{const e=r.current;if(!e)return;t(),e.addEventListener("scroll",t,{capture:!0}),window.addEventListener("resize",t);const n=new MutationObserver(t);return n.observe(e,{childList:!0,subtree:!0}),()=>{e.removeEventListener("scroll",t,{capture:!0}),window.removeEventListener("resize",t),n.disconnect()}},[t]),r}exports.useScrollingFades=l;exports.useScrollingFadesHorizontal=o;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useRef as
|
|
3
|
-
function
|
|
4
|
-
const r =
|
|
2
|
+
import { useRef as s, useCallback as o, useEffect as l, useLayoutEffect as i } from "react";
|
|
3
|
+
function u() {
|
|
4
|
+
const r = s(null), t = o(() => {
|
|
5
5
|
const e = r.current;
|
|
6
6
|
e && (e.scrollTop === 0 ? e.setAttribute("data-scroll-top", "") : e.removeAttribute("data-scroll-top"), e.scrollTop + e.clientHeight >= e.scrollHeight - 1 ? e.setAttribute("data-scroll-bottom", "") : e.removeAttribute("data-scroll-bottom"));
|
|
7
7
|
}, []);
|
|
8
|
-
return
|
|
8
|
+
return l(() => {
|
|
9
9
|
const e = r.current;
|
|
10
10
|
if (e)
|
|
11
11
|
return t(), e.addEventListener("scroll", t), window.addEventListener("resize", t), () => {
|
|
@@ -13,6 +13,22 @@ function i() {
|
|
|
13
13
|
};
|
|
14
14
|
}, [t]), r;
|
|
15
15
|
}
|
|
16
|
+
function a() {
|
|
17
|
+
const r = s(null), t = o(() => {
|
|
18
|
+
const e = r.current?.firstElementChild;
|
|
19
|
+
e && (e.scrollLeft <= 0 ? e.setAttribute("data-scroll-left", "") : e.removeAttribute("data-scroll-left"), e.scrollLeft >= e.scrollWidth - e.clientWidth - 1 ? e.setAttribute("data-scroll-right", "") : e.removeAttribute("data-scroll-right"));
|
|
20
|
+
}, []);
|
|
21
|
+
return i(() => {
|
|
22
|
+
const e = r.current;
|
|
23
|
+
if (!e) return;
|
|
24
|
+
t(), e.addEventListener("scroll", t, { capture: !0 }), window.addEventListener("resize", t);
|
|
25
|
+
const n = new MutationObserver(t);
|
|
26
|
+
return n.observe(e, { childList: !0, subtree: !0 }), () => {
|
|
27
|
+
e.removeEventListener("scroll", t, { capture: !0 }), window.removeEventListener("resize", t), n.disconnect();
|
|
28
|
+
};
|
|
29
|
+
}, [t]), r;
|
|
30
|
+
}
|
|
16
31
|
export {
|
|
17
|
-
|
|
32
|
+
u as useScrollingFades,
|
|
33
|
+
a as useScrollingFadesHorizontal
|
|
18
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./providers/attachment-item-provider.cjs"),C=require("./providers/attachments-bar-provider.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./providers/attachment-item-provider.cjs"),C=require("./providers/attachments-bar-provider.cjs"),l=require("./providers/base-events-provider.cjs"),n=require("./providers/chat-form-provider.cjs"),h=require("./providers/chat-history-provider.cjs"),i=require("./providers/config-provider.cjs"),p=require("./providers/feedback-item-provider.cjs"),v=require("./providers/feedback-provider.cjs"),P=require("./providers/form-field-provider.cjs"),d=require("./providers/help-menu-provider.cjs"),I=require("./providers/markdown-provider.cjs"),S=require("./providers/message-attachments-provider.cjs"),u=require("./providers/message-provider.cjs"),y=require("./providers/root-provider.cjs"),b=require("./providers/source-item-provider.cjs"),A=require("./providers/theme-provider.cjs"),q=require("./providers/widget-provider.cjs"),t=require("./providers/sidebar-chat-provider.cjs"),s=require("./providers/chat-bubble-provider.cjs"),g=require("./components/factory.cjs"),f=require("./components/embedded-chat.cjs"),R=require("./components/sidebar-chat/index.cjs"),M=require("./components/embedded-chat/chat-provider.cjs"),w=require("./components/embedded-search.cjs"),m=require("./components/embedded-search/search-provider.cjs"),H=require("./components/modal.cjs"),B=require("./components/modal/modal-provider.cjs"),O=require("./components/chat-button.cjs"),E=require("./components/searchbar.cjs"),T=require("./components/chat-bubble/index.cjs"),W=require("./components/data-summaries.cjs"),x=require("./components/chat-history/index.cjs"),D=require("./hooks/use-boolean.cjs"),z=require("./hooks/use-component-classnames.cjs"),L=require("./hooks/use-container-size.cjs"),j=require("./hooks/use-inkeep-open-state.cjs"),Q=require("./hooks/use-copy-to-clipboard.cjs"),U=require("./hooks/use-instant-update.cjs"),$=require("./hooks/use-is-mounted.cjs"),K=require("./hooks/use-media-query.cjs"),N=require("./hooks/use-resize-observer.cjs"),k=require("./hooks/use-scrolling-fades.cjs"),G=require("./hooks/use-settle-action.cjs"),J=require("./hooks/use-simple-scroll.cjs"),o=require("./utils/misc.cjs"),e=require("./utils/component-ids.cjs"),F=require("./utils/compose-refs.cjs"),V=require("./utils/merge-props.cjs"),X=require("./atoms/portal.cjs"),Y=require("./atoms/icons/custom-icon.cjs"),Z=require("./atoms/icons/built-in-icon-renderer.cjs"),_=require("./atoms/portal-with-theme.cjs"),r=require("./atoms/cmdk/index.cjs"),ee=require("./atoms/error-boundary.cjs"),a=require("./atoms/shadow/context.cjs");exports.AttachmentItemProvider=c.AttachmentItemProvider;exports.useAttachmentItem=c.useAttachmentItem;exports.AttachmentsBarProvider=C.AttachmentsBarProvider;exports.useAttachmentsBar=C.useAttachmentsBar;exports.BaseEventsProvider=l.BaseEventsProvider;exports.useBaseEvents=l.useBaseEvents;exports.ChatFormProvider=n.ChatFormProvider;exports.useChatForm=n.useChatForm;exports.useChatFormState=n.useChatFormState;exports.ChatHistoryProvider=h.ChatHistoryProvider;exports.useChatHistory=h.useChatHistory;exports.InkeepConfigProvider=i.InkeepConfigProvider;exports.WebWidgetInteractionType=i.WebWidgetInteractionType;exports.useInkeepConfig=i.useInkeepConfig;exports.FeedbackItemProvider=p.FeedbackItemProvider;exports.useFeedbackItem=p.useFeedbackItem;exports.FeedbackProvider=v.FeedbackProvider;exports.useMessageFeedback=v.useMessageFeedback;exports.FormFieldProvider=P.FormFieldProvider;exports.useFormField=P.useFormField;exports.HelpMenuProvider=d.HelpMenuProvider;exports.useHelpMenu=d.useHelpMenu;exports.useHelpMenuState=d.useHelpMenuState;exports.ChatMarkdownProvider=I.ChatMarkdownProvider;exports.useChatMarkdown=I.useChatMarkdown;exports.MessageAttachmentsProvider=S.MessageAttachmentsProvider;exports.useMessageAttachments=S.useMessageAttachments;exports.MessageProvider=u.MessageProvider;exports.useMessage=u.useMessage;exports.useOptionalMessage=u.useOptionalMessage;exports.RootProvider=y.RootProvider;exports.SourceItemProvider=b.SourceItemProvider;exports.useSourceItem=b.useSourceItem;exports.ThemeProvider=A.ThemeProvider;exports.WidgetProvider=q.WidgetProvider;exports.useWidget=q.useWidget;exports.SidebarChatProvider=t.SidebarChatProvider;exports.useInkeepSidebarChat=t.useInkeepSidebarChat;exports.useOptionalSidebarChat=t.useOptionalSidebarChat;exports.useSidebarChat=t.useSidebarChat;exports.ChatBubbleProvider=s.ChatBubbleProvider;exports.useChatBubble=s.useChatBubble;exports.useInkeepChatBubble=s.useInkeepChatBubble;exports.useOptionalChatBubble=s.useOptionalChatBubble;exports.ikp=g.ikp;exports.jsxFactory=g.jsxFactory;exports.EmbeddedChatPrimitive=f;exports.SidebarChatPrimitive=R;exports.ChatProvider=M.ChatProvider;exports.useChat=M.useChat;exports.EmbeddedSearchPrimitive=w;exports.SearchProvider=m.SearchProvider;exports.SearchProviderImpl=m.SearchProviderImpl;exports.useSearch=m.useSearch;exports.ModalPrimitive=H;exports.ModalProvider=B.ModalProvider;exports.useModal=B.useModal;exports.ChatButtonPrimitive=O;exports.SearchBarPrimitive=E;exports.ChatBubblePrimitive=T;exports.DataSummaryPrimitive=W;exports.ChatHistoryPrimitive=x;exports.useBoolean=D.useBoolean;exports.useComponentClassNames=z.useComponentClassNames;exports.useContainerSize=L.useContainerSize;exports.useInkeepOpenState=j.useInkeepOpenState;exports.useCopyToClipboard=Q.useCopyToClipboard;exports.useInstantUpdate=U.useInstantUpdate;exports.useIsMounted=$.useIsMounted;exports.useMediaQuery=K.useMediaQuery;exports.useResizeObserver=N.useResizeObserver;exports.useScrollingFades=k.useScrollingFades;exports.useScrollingFadesHorizontal=k.useScrollingFadesHorizontal;exports.useSettleAction=G.useSettleAction;exports.useSimpleScroll=J.useSimpleScroll;exports.callAll=o.callAll;exports.dataAttr=o.dataAttr;exports.getInitials=o.getInitials;exports.getMessageContent=o.getMessageContent;exports.isString=o.isString;exports.maybeRender=o.maybeRender;exports.toKebabCase=o.toKebabCase;exports.ChatBubbleComponentIds=e.ChatBubbleComponentIds;exports.DataSummaryComponentIds=e.DataSummaryComponentIds;exports.SearchBarComponentIds=e.SearchBarComponentIds;exports.SidebarChatComponentIds=e.SidebarChatComponentIds;exports.aiChatComponentIds=e.aiChatComponentIds;exports.aiChatHistoryComponentIds=e.aiChatHistoryComponentIds;exports.aiSearchComponentIds=e.aiSearchComponentIds;exports.chatButtonComponentIds=e.chatButtonComponentIds;exports.componentIDs=e.componentIDs;exports.markDownComponentIds=e.markDownComponentIds;exports.miscellanousComponentIds=e.miscellanousComponentIds;exports.modalComponentIds=e.modalComponentIds;exports.composeRefs=F.composeRefs;exports.useComposedRefs=F.useComposedRefs;exports.mergeProps=V.mergeProps;exports.Portal=X.Portal;exports.CustomIcon=Y.CustomIcon;exports.BuiltInIconRenderer=Z.BuiltInIconRenderer;exports.PortalWithTheme=_.PortalWithTheme;exports.Command=r.Command;exports.CommandDialog=r.CommandDialog;exports.CommandEmpty=r.CommandEmpty;exports.CommandInput=r.CommandInput;exports.CommandItem=r.CommandItem;exports.CommandList=r.CommandList;exports.CommandLoading=r.CommandLoading;exports.CommandRoot=r.CommandRoot;exports.CommandSeparator=r.CommandSeparator;exports.defaultFilter=r.defaultFilter;exports.useCommandState=r.useCommandState;exports.useCommandStore=r.useCommandStore;exports.ErrorBoundary=ee.ErrorBoundary;exports.InkeepShadow=a.InkeepShadow;exports.InkeepShadowProvider=a.InkeepShadowProvider;exports.ShadowContext=a.ShadowContext;exports.useShadow=a.useShadow;
|
package/dist/primitives/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AttachmentItemProvider as u, useAttachmentItem as C } from "./providers/attachment-item-provider.js";
|
|
2
2
|
import { AttachmentsBarProvider as x, useAttachmentsBar as h } from "./providers/attachments-bar-provider.js";
|
|
3
3
|
import { BaseEventsProvider as v, useBaseEvents as P } from "./providers/base-events-provider.js";
|
|
4
|
-
import { ChatFormProvider as
|
|
4
|
+
import { ChatFormProvider as c, useChatForm as I, useChatFormState as b } from "./providers/chat-form-provider.js";
|
|
5
5
|
import { ChatHistoryProvider as B, useChatHistory as M } from "./providers/chat-history-provider.js";
|
|
6
6
|
import { InkeepConfigProvider as F, WebWidgetInteractionType as y, useInkeepConfig as A } from "./providers/config-provider.js";
|
|
7
|
-
import { FeedbackItemProvider as
|
|
7
|
+
import { FeedbackItemProvider as w, useFeedbackItem as R } from "./providers/feedback-item-provider.js";
|
|
8
8
|
import { FeedbackProvider as D, useMessageFeedback as O } from "./providers/feedback-provider.js";
|
|
9
9
|
import { FormFieldProvider as T, useFormField as z } from "./providers/form-field-provider.js";
|
|
10
10
|
import { HelpMenuProvider as $, useHelpMenu as j, useHelpMenuState as K } from "./providers/help-menu-provider.js";
|
|
@@ -17,14 +17,14 @@ import { ThemeProvider as me } from "./providers/theme-provider.js";
|
|
|
17
17
|
import { WidgetProvider as ie, useWidget as pe } from "./providers/widget-provider.js";
|
|
18
18
|
import { SidebarChatProvider as ne, useInkeepSidebarChat as ue, useOptionalSidebarChat as Ce, useSidebarChat as fe } from "./providers/sidebar-chat-provider.js";
|
|
19
19
|
import { ChatBubbleProvider as he, useChatBubble as le, useInkeepChatBubble as ve, useOptionalChatBubble as Pe } from "./providers/chat-bubble-provider.js";
|
|
20
|
-
import { ikp as
|
|
20
|
+
import { ikp as ce, jsxFactory as Ie } from "./components/factory.js";
|
|
21
21
|
import * as e from "./components/embedded-chat.js";
|
|
22
22
|
import * as o from "./components/sidebar-chat/index.js";
|
|
23
23
|
import { ChatProvider as ge, useChat as Be } from "./components/embedded-chat/chat-provider.js";
|
|
24
24
|
import * as r from "./components/embedded-search.js";
|
|
25
25
|
import { SearchProvider as ke, SearchProviderImpl as Fe, useSearch as ye } from "./components/embedded-search/search-provider.js";
|
|
26
26
|
import * as t from "./components/modal.js";
|
|
27
|
-
import { ModalProvider as
|
|
27
|
+
import { ModalProvider as He, useModal as we } from "./components/modal/modal-provider.js";
|
|
28
28
|
import * as a from "./components/chat-button.js";
|
|
29
29
|
import * as m from "./components/searchbar.js";
|
|
30
30
|
import * as s from "./components/chat-bubble/index.js";
|
|
@@ -39,109 +39,109 @@ import { useInstantUpdate as Ne } from "./hooks/use-instant-update.js";
|
|
|
39
39
|
import { useIsMounted as Ue } from "./hooks/use-is-mounted.js";
|
|
40
40
|
import { useMediaQuery as Ge } from "./hooks/use-media-query.js";
|
|
41
41
|
import { useResizeObserver as Ve } from "./hooks/use-resize-observer.js";
|
|
42
|
-
import { useScrollingFades as Ye } from "./hooks/use-scrolling-fades.js";
|
|
43
|
-
import { useSettleAction as
|
|
44
|
-
import { useSimpleScroll as
|
|
45
|
-
import { callAll as
|
|
46
|
-
import { ChatBubbleComponentIds as
|
|
47
|
-
import { composeRefs as
|
|
48
|
-
import { mergeProps as
|
|
42
|
+
import { useScrollingFades as Ye, useScrollingFadesHorizontal as Ze } from "./hooks/use-scrolling-fades.js";
|
|
43
|
+
import { useSettleAction as eo } from "./hooks/use-settle-action.js";
|
|
44
|
+
import { useSimpleScroll as ro } from "./hooks/use-simple-scroll.js";
|
|
45
|
+
import { callAll as ao, dataAttr as mo, getInitials as so, getMessageContent as io, isString as po, maybeRender as no, toKebabCase as uo } from "./utils/misc.js";
|
|
46
|
+
import { ChatBubbleComponentIds as fo, DataSummaryComponentIds as xo, SearchBarComponentIds as ho, SidebarChatComponentIds as lo, aiChatComponentIds as vo, aiChatHistoryComponentIds as Po, aiSearchComponentIds as So, chatButtonComponentIds as co, componentIDs as Io, markDownComponentIds as bo, miscellanousComponentIds as go, modalComponentIds as Bo } from "./utils/component-ids.js";
|
|
47
|
+
import { composeRefs as ko, useComposedRefs as Fo } from "./utils/compose-refs.js";
|
|
48
|
+
import { mergeProps as Ao } from "./utils/merge-props.js";
|
|
49
49
|
import { Portal as wo } from "./atoms/portal.js";
|
|
50
|
-
import { CustomIcon as
|
|
51
|
-
import { BuiltInIconRenderer as
|
|
52
|
-
import { PortalWithTheme as
|
|
53
|
-
import { Command as
|
|
54
|
-
import { ErrorBoundary as
|
|
55
|
-
import { InkeepShadow as
|
|
50
|
+
import { CustomIcon as Eo } from "./atoms/icons/custom-icon.js";
|
|
51
|
+
import { BuiltInIconRenderer as Oo } from "./atoms/icons/built-in-icon-renderer.js";
|
|
52
|
+
import { PortalWithTheme as To } from "./atoms/portal-with-theme.js";
|
|
53
|
+
import { Command as Lo, CommandDialog as $o, CommandEmpty as jo, CommandInput as Ko, CommandItem as No, CommandList as Qo, CommandLoading as Uo, CommandRoot as qo, CommandSeparator as Go, defaultFilter as Jo, useCommandState as Vo, useCommandStore as Xo } from "./atoms/cmdk/index.js";
|
|
54
|
+
import { ErrorBoundary as Zo } from "./atoms/error-boundary.js";
|
|
55
|
+
import { InkeepShadow as er, InkeepShadowProvider as or, ShadowContext as rr, useShadow as tr } from "./atoms/shadow/context.js";
|
|
56
56
|
export {
|
|
57
57
|
u as AttachmentItemProvider,
|
|
58
58
|
x as AttachmentsBarProvider,
|
|
59
59
|
v as BaseEventsProvider,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
Oo as BuiltInIconRenderer,
|
|
61
|
+
fo as ChatBubbleComponentIds,
|
|
62
62
|
s as ChatBubblePrimitive,
|
|
63
63
|
he as ChatBubbleProvider,
|
|
64
64
|
a as ChatButtonPrimitive,
|
|
65
|
-
|
|
65
|
+
c as ChatFormProvider,
|
|
66
66
|
p as ChatHistoryPrimitive,
|
|
67
67
|
B as ChatHistoryProvider,
|
|
68
68
|
Q as ChatMarkdownProvider,
|
|
69
69
|
ge as ChatProvider,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
70
|
+
Lo as Command,
|
|
71
|
+
$o as CommandDialog,
|
|
72
|
+
jo as CommandEmpty,
|
|
73
|
+
Ko as CommandInput,
|
|
74
|
+
No as CommandItem,
|
|
75
|
+
Qo as CommandList,
|
|
76
|
+
Uo as CommandLoading,
|
|
77
|
+
qo as CommandRoot,
|
|
78
|
+
Go as CommandSeparator,
|
|
79
|
+
Eo as CustomIcon,
|
|
80
|
+
xo as DataSummaryComponentIds,
|
|
81
81
|
i as DataSummaryPrimitive,
|
|
82
82
|
e as EmbeddedChatPrimitive,
|
|
83
83
|
r as EmbeddedSearchPrimitive,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
Zo as ErrorBoundary,
|
|
85
|
+
w as FeedbackItemProvider,
|
|
86
86
|
D as FeedbackProvider,
|
|
87
87
|
T as FormFieldProvider,
|
|
88
88
|
$ as HelpMenuProvider,
|
|
89
89
|
F as InkeepConfigProvider,
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
er as InkeepShadow,
|
|
91
|
+
or as InkeepShadowProvider,
|
|
92
92
|
G as MessageAttachmentsProvider,
|
|
93
93
|
X as MessageProvider,
|
|
94
94
|
t as ModalPrimitive,
|
|
95
|
-
|
|
95
|
+
He as ModalProvider,
|
|
96
96
|
wo as Portal,
|
|
97
|
-
|
|
97
|
+
To as PortalWithTheme,
|
|
98
98
|
ee as RootProvider,
|
|
99
|
-
|
|
99
|
+
ho as SearchBarComponentIds,
|
|
100
100
|
m as SearchBarPrimitive,
|
|
101
101
|
ke as SearchProvider,
|
|
102
102
|
Fe as SearchProviderImpl,
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
rr as ShadowContext,
|
|
104
|
+
lo as SidebarChatComponentIds,
|
|
105
105
|
o as SidebarChatPrimitive,
|
|
106
106
|
ne as SidebarChatProvider,
|
|
107
107
|
re as SourceItemProvider,
|
|
108
108
|
me as ThemeProvider,
|
|
109
109
|
y as WebWidgetInteractionType,
|
|
110
110
|
ie as WidgetProvider,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
111
|
+
vo as aiChatComponentIds,
|
|
112
|
+
Po as aiChatHistoryComponentIds,
|
|
113
|
+
So as aiSearchComponentIds,
|
|
114
|
+
ao as callAll,
|
|
115
|
+
co as chatButtonComponentIds,
|
|
116
|
+
Io as componentIDs,
|
|
117
|
+
ko as composeRefs,
|
|
118
|
+
mo as dataAttr,
|
|
119
|
+
Jo as defaultFilter,
|
|
120
|
+
so as getInitials,
|
|
121
|
+
io as getMessageContent,
|
|
122
|
+
ce as ikp,
|
|
123
|
+
po as isString,
|
|
124
|
+
Ie as jsxFactory,
|
|
125
|
+
bo as markDownComponentIds,
|
|
126
|
+
no as maybeRender,
|
|
127
|
+
Ao as mergeProps,
|
|
128
|
+
go as miscellanousComponentIds,
|
|
129
|
+
Bo as modalComponentIds,
|
|
130
|
+
uo as toKebabCase,
|
|
131
131
|
C as useAttachmentItem,
|
|
132
132
|
h as useAttachmentsBar,
|
|
133
133
|
P as useBaseEvents,
|
|
134
134
|
Ee as useBoolean,
|
|
135
135
|
Be as useChat,
|
|
136
136
|
le as useChatBubble,
|
|
137
|
-
|
|
137
|
+
I as useChatForm,
|
|
138
138
|
b as useChatFormState,
|
|
139
139
|
M as useChatHistory,
|
|
140
140
|
U as useChatMarkdown,
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
Vo as useCommandState,
|
|
142
|
+
Xo as useCommandStore,
|
|
143
143
|
Oe as useComponentClassNames,
|
|
144
|
-
|
|
144
|
+
Fo as useComposedRefs,
|
|
145
145
|
Te as useContainerSize,
|
|
146
146
|
je as useCopyToClipboard,
|
|
147
147
|
R as useFeedbackItem,
|
|
@@ -158,17 +158,18 @@ export {
|
|
|
158
158
|
Y as useMessage,
|
|
159
159
|
J as useMessageAttachments,
|
|
160
160
|
O as useMessageFeedback,
|
|
161
|
-
|
|
161
|
+
we as useModal,
|
|
162
162
|
Pe as useOptionalChatBubble,
|
|
163
163
|
Z as useOptionalMessage,
|
|
164
164
|
Ce as useOptionalSidebarChat,
|
|
165
165
|
Ve as useResizeObserver,
|
|
166
166
|
Ye as useScrollingFades,
|
|
167
|
+
Ze as useScrollingFadesHorizontal,
|
|
167
168
|
ye as useSearch,
|
|
168
|
-
|
|
169
|
-
|
|
169
|
+
eo as useSettleAction,
|
|
170
|
+
tr as useShadow,
|
|
170
171
|
fe as useSidebarChat,
|
|
171
|
-
|
|
172
|
+
ro as useSimpleScroll,
|
|
172
173
|
te as useSourceItem,
|
|
173
174
|
pe as useWidget
|
|
174
175
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react/jsx-runtime"),t=require("react"),l=require("./config-provider.cjs"),a=t.createContext(void 0),p=({children:e})=>{const{baseSettings:s,componentType:n}=l.useInkeepConfig(),{tags:o,analyticsProperties:r}=s,i=t.useMemo(()=>({widgetLibraryVersion:"0.15.
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react/jsx-runtime"),t=require("react"),l=require("./config-provider.cjs"),a=t.createContext(void 0),p=({children:e})=>{const{baseSettings:s,componentType:n}=l.useInkeepConfig(),{tags:o,analyticsProperties:r}=s,i=t.useMemo(()=>({widgetLibraryVersion:"0.15.26",componentType:n,tags:o}),[n,o]),u={logEvent:t.useCallback(async c=>{const v={...i,...c.properties,...r},d={eventName:c.eventName,properties:v};return s.onEvent?.(d)},[s,i,r])};return E.jsx(a.Provider,{value:u,children:e})},g=()=>{const e=t.useContext(a);if(!e)throw new Error("useBaseEvents must be used within a BaseEventsProvider");return e};exports.BaseEventsProvider=p;exports.useBaseEvents=g;
|
|
@@ -5,7 +5,7 @@ import { useInkeepConfig as g } from "./config-provider.js";
|
|
|
5
5
|
const a = d(void 0), P = ({ children: e }) => {
|
|
6
6
|
const { baseSettings: t, componentType: o } = g(), { tags: s, analyticsProperties: n } = t, r = u(
|
|
7
7
|
() => ({
|
|
8
|
-
widgetLibraryVersion: "0.15.
|
|
8
|
+
widgetLibraryVersion: "0.15.26",
|
|
9
9
|
componentType: o,
|
|
10
10
|
tags: s
|
|
11
11
|
}),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("react"),n=e.createContext(void 0),v=({children:r})=>{const[t,o]=e.useState(null),i=e.useCallback(u=>{o(u)},[]),s=e.useCallback(()=>{o(null)},[]),a=e.useMemo(()=>({imagePreview:t,openImagePreview:i,closeImagePreview:s}),[t,i,s]);return c.jsx(n.Provider,{value:a,children:r})},P=()=>{const r=e.useContext(n);if(!r)throw new Error("useImagePreview must be used within an ImagePreviewProvider");return r};exports.ImagePreviewProvider=v;exports.useImagePreview=P;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface ImagePreview {
|
|
3
|
+
url: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
interface ImagePreviewContextValue {
|
|
7
|
+
imagePreview: ImagePreview | null;
|
|
8
|
+
openImagePreview: (preview: ImagePreview) => void;
|
|
9
|
+
closeImagePreview: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const ImagePreviewProvider: FC<{
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const useImagePreview: () => ImagePreviewContextValue;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
3
|
+
import { useState as v, useCallback as i, useMemo as c, createContext as w, useContext as P } from "react";
|
|
4
|
+
const s = w(void 0), I = ({ children: e }) => {
|
|
5
|
+
const [r, t] = v(null), o = i((m) => {
|
|
6
|
+
t(m);
|
|
7
|
+
}, []), n = i(() => {
|
|
8
|
+
t(null);
|
|
9
|
+
}, []), a = c(
|
|
10
|
+
() => ({ imagePreview: r, openImagePreview: o, closeImagePreview: n }),
|
|
11
|
+
[r, o, n]
|
|
12
|
+
);
|
|
13
|
+
return /* @__PURE__ */ u(s.Provider, { value: a, children: e });
|
|
14
|
+
}, x = () => {
|
|
15
|
+
const e = P(s);
|
|
16
|
+
if (!e)
|
|
17
|
+
throw new Error("useImagePreview must be used within an ImagePreviewProvider");
|
|
18
|
+
return e;
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
I as ImagePreviewProvider,
|
|
22
|
+
x as useImagePreview
|
|
23
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={icon:"icon",loadingIndicator__Text:"loadingIndicator__Text",loadingIndicator__Dots:"loadingIndicator__Dots",loadingIndicator__Dot:"loadingIndicator__Dot",view_toggle:"view_toggle",view_toggle_button:"view_toggle_button",view_toggle_icon:"view_toggle_icon"},t={codeblockContainer:"codeblockContainer",codeblockHeader:"codeblockHeader",codeblockHeaderLanguage:"codeblockHeaderLanguage",codeblockCopyButton:"codeblockCopyButton",codeblockHighlighterWrapper:"codeblockHighlighterWrapper",codeblockHighlighter:"codeblockHighlighter",codeblockCode:"codeblockCode",markdownH1:"markdownH1",markdownH2:"markdownH2",markdownP:"markdownP",markdownLi:"markdownLi",markdownUl:"markdownUl",markdownOl:"markdownOl",markdownLink:"markdownLink",markdownSourceLink:"markdownSourceLink",markdownTable:"markdownTable",markdownTh:"markdownTh",markdownTd:"markdownTd",markdownCode:"markdownCode",markdownInput:"markdownInput",markdownSup:"markdownSup",markdownImg:"markdownImg",markdownHr:"markdownHr"},e={aiChatWrapper:"aiChatWrapper",aiChatRoot:"aiChatRoot",aiChatHeader:"aiChatHeader",aiChatHeader__Toolbar:"aiChatHeader__Toolbar",aiChatHeader__ToolbarHeader:"aiChatHeader__ToolbarHeader",aiChatHeader__ToolbarHeaderWrapper:"aiChatHeader__ToolbarHeaderWrapper",aiChatHeader__ChatHistoryButtonIcon:"aiChatHeader__ChatHistoryButtonIcon",aiChatHeader__ChatHistoryButton:"aiChatHeader__ChatHistoryButton",aiChatContent:"aiChatContent",aiChatContentScrollArea:"aiChatContentScrollArea",aiChatContentScrollArea__Viewport:"aiChatContentScrollArea__Viewport",aiChatContentScrollArea__Scrollbar:"aiChatContentScrollArea__Scrollbar",aiChatContentScrollArea__Thumb:"aiChatContentScrollArea__Thumb",aiChatContentScrollArea__Corner:"aiChatContentScrollArea__Corner",aiChatDisclaimer:"aiChatDisclaimer",aiChatDisclaimerLabel:"aiChatDisclaimerLabel",aiChatDisclaimerTrigger:"aiChatDisclaimerTrigger",aiChatDisclaimerContent:"aiChatDisclaimerContent",aiChatDisclaimerText:"aiChatDisclaimerText",aiChatDisclaimerArrow:"aiChatDisclaimerArrow",aiChatExampleQuestions:"aiChatExampleQuestions",aiChatExampleQuestionsLabel:"aiChatExampleQuestionsLabel",aiChatExampleQuestionsList:"aiChatExampleQuestionsList",aiChatExampleQuestion:"aiChatExampleQuestion",aiChatExampleQuestionButton:"aiChatExampleQuestionButton",aiChatWorkflows:"aiChatWorkflows",aiChatWorkflowsLabel:"aiChatWorkflowsLabel",aiChatWorkflowsList:"aiChatWorkflowsList",aiChatWorkflow:"aiChatWorkflow",aiChatWorkflow__Icon:"aiChatWorkflow__Icon",aiChatMessages:"aiChatMessages",aiChatMessageWrapper:"aiChatMessageWrapper",aiChatMessageHeader:"aiChatMessageHeader",aiChatMessageLoading:"aiChatMessageLoading",aiChatMessageAvatar:"aiChatMessageAvatar",aiChatMessageAvatarFallback:"aiChatMessageAvatarFallback",aiChatMessageAvatarImage:"aiChatMessageAvatarImage",aiChatMessageAvatarContent:"aiChatMessageAvatarContent",aiChatMessageName:"aiChatMessageName",aiChatMessageContentWrapper:"aiChatMessageContentWrapper",aiChatMessageContent:"aiChatMessageContent",aiChatMessageAttachments:"aiChatMessageAttachments",aiChatMessageAttachments__List:"aiChatMessageAttachments__List",aiChatMessageAttachments__Item:"aiChatMessageAttachments__Item",aiChatMessageAttachments__ItemIcon:"aiChatMessageAttachments__ItemIcon",aiChatMessageAttachments__ItemTitle:"aiChatMessageAttachments__ItemTitle",aiChatMessageAttachmentsPreview:"aiChatMessageAttachmentsPreview",aiChatMessageAttachmentsPreview__Overlay:"aiChatMessageAttachmentsPreview__Overlay",aiChatMessageAttachmentsPreview__Content:"aiChatMessageAttachmentsPreview__Content",aiChatMessageAttachmentsPreview__Header:"aiChatMessageAttachmentsPreview__Header",aiChatMessageAttachmentsPreview__Close:"aiChatMessageAttachmentsPreview__Close",aiChatMessageAttachmentsPreview__Body:"aiChatMessageAttachmentsPreview__Body",aiChatMessagePart:"aiChatMessagePart",aiChatMessageToolbar:"aiChatMessageToolbar",aiChatMessageCustomActions:"aiChatMessageCustomActions",aiChatMessageCustomAction:"aiChatMessageCustomAction",aiChatMessageAction:"aiChatMessageAction",aiChatMessageSources:"aiChatMessageSources",aiChatMessageSources__Header:"aiChatMessageSources__Header",aiChatMessageSources__List:"aiChatMessageSources__List",aiChatMessageSourceItem:"aiChatMessageSourceItem",aiChatMessageSourceItem__Icon:"aiChatMessageSourceItem__Icon",aiChatMessageSourceItem__Breadcrumbs:"aiChatMessageSourceItem__Breadcrumbs",aiChatMessageSourceItem__Breadcrumb:"aiChatMessageSourceItem__Breadcrumb",aiChatMessageSourceItem__BreadcrumbIcon:"aiChatMessageSourceItem__BreadcrumbIcon",aiChatMessageSourceItem__Title:"aiChatMessageSourceItem__Title",aiChatMessageSourceItem__Tag:"aiChatMessageSourceItem__Tag",aiChatMessageSourceItem__Description:"aiChatMessageSourceItem__Description",aiChatMessageSourceItem__DescriptionPart:"aiChatMessageSourceItem__DescriptionPart",aiChatMessageSourceItem__Indicator:"aiChatMessageSourceItem__Indicator",aiChatFooter:"aiChatFooter",aiChatInput__Fieldset:"aiChatInput__Fieldset",aiChatInput__Group:"aiChatInput__Group",aiChatInput:"aiChatInput",aiChatInput__SendButton:"aiChatInput__SendButton",aiChatInput__SendButtonIcon:"aiChatInput__SendButtonIcon",aiChatAttachmentsBar:"aiChatAttachmentsBar",aiChatAttachmentsBar__List:"aiChatAttachmentsBar__List",aiChatAttachmentsBar__Attachment:"aiChatAttachmentsBar__Attachment",aiChatAttachmentsBar__AttachmentIcon:"aiChatAttachmentsBar__AttachmentIcon",aiChatAttachmentsBar__AttachmentTitle:"aiChatAttachmentsBar__AttachmentTitle",aiChatAttachmentsBar__AttachmentDelete:"aiChatAttachmentsBar__AttachmentDelete",aiChatAttachmentsBar__Actions:"aiChatAttachmentsBar__Actions",aiChatAttachmentsBar__InfoTip:"aiChatAttachmentsBar__InfoTip",aiChatAttachmentsBar__InfoTipIcon:"aiChatAttachmentsBar__InfoTipIcon",aiChatAttachmentsBar__InfoTipArrow:"aiChatAttachmentsBar__InfoTipArrow",aiChatAttachmentsBar__InfoTipText:"aiChatAttachmentsBar__InfoTipText",aiChatAttachmentsBar__Inputs:"aiChatAttachmentsBar__Inputs",aiChatAttachmentsBar__Input:"aiChatAttachmentsBar__Input",aiChatAttachmentsBar__InputIcon:"aiChatAttachmentsBar__InputIcon",aiChatAttachmentsBar__Modal:"aiChatAttachmentsBar__Modal",aiChatAttachmentsBar__ModalOverlay:"aiChatAttachmentsBar__ModalOverlay",aiChatAttachmentsBar__ModalContent:"aiChatAttachmentsBar__ModalContent",aiChatAttachmentsBar__ModalHeader:"aiChatAttachmentsBar__ModalHeader",aiChatAttachmentsBar__ModalClose:"aiChatAttachmentsBar__ModalClose",aiChatAttachmentsBar__ModalBody:"aiChatAttachmentsBar__ModalBody",aiChatAttachmentsBar__ModalHeading:"aiChatAttachmentsBar__ModalHeading",aiChatAttachmentsBar__ModalDescription:"aiChatAttachmentsBar__ModalDescription",aiChatAttachmentsBar__ModalHelp:"aiChatAttachmentsBar__ModalHelp",aiChatAttachmentsBar__Form:"aiChatAttachmentsBar__Form",aiChatAttachmentsBar__FormTitle:"aiChatAttachmentsBar__FormTitle",aiChatAttachmentsBar__FormTitleLabel:"aiChatAttachmentsBar__FormTitleLabel",aiChatAttachmentsBar__FormTitleInput:"aiChatAttachmentsBar__FormTitleInput",aiChatAttachmentsBar__FormTitleError:"aiChatAttachmentsBar__FormTitleError",aiChatAttachmentsBar__FormContent:"aiChatAttachmentsBar__FormContent",aiChatAttachmentsBar__FormContentLabel:"aiChatAttachmentsBar__FormContentLabel",aiChatAttachmentsBar__FormContentInput:"aiChatAttachmentsBar__FormContentInput",aiChatAttachmentsBar__FormContentError:"aiChatAttachmentsBar__FormContentError",aiChatAttachmentsBar__FormSubmitButton:"aiChatAttachmentsBar__FormSubmitButton",aiChatActionBar:"aiChatActionBar",aiChat__ChatActions:"aiChat__ChatActions",aiChat__ChatAction:"aiChat__ChatAction",aiChat__ChatActionLabel:"aiChat__ChatActionLabel",aiChat__ChatActionFeeback:"aiChat__ChatActionFeeback",aiChatHelpActions:"aiChatHelpActions",aiChatHelpAction:"aiChatHelpAction",aiChatHelpActions__Trigger:"aiChatHelpActions__Trigger",aiChatHelpActions__Menu:"aiChatHelpActions__Menu",aiChatHelpActions__MenuArrow:"aiChatHelpActions__MenuArrow",aiChatHelpActions__MenuItem:"aiChatHelpActions__MenuItem",aiChatHelpActions_MenuItemIcon:"aiChatHelpActions_MenuItemIcon",aiChatTagline__Container:"aiChatTagline__Container",aiChatTagline__Text:"aiChatTagline__Text",aiChatTagline__Logo:"aiChatTagline__Logo",aiChatTagline__BrandName:"aiChatTagline__BrandName",aiChatFeedbackModal:"aiChatFeedbackModal",aiChatFeedbackModal__Overlay:"aiChatFeedbackModal__Overlay",aiChatFeedbackModal__Content:"aiChatFeedbackModal__Content",aiChatFeedbackModal__Header:"aiChatFeedbackModal__Header",aiChatFeedbackModal__Close:"aiChatFeedbackModal__Close",aiChatFeedbackModal__Body:"aiChatFeedbackModal__Body",aiChatFeedbackForm:"aiChatFeedbackForm",aiChatFeedbackItem:"aiChatFeedbackItem",aiChatFeedbackItem__Checkbox:"aiChatFeedbackItem__Checkbox",aiChatFeedbackItem__CheckboxIndicator:"aiChatFeedbackItem__CheckboxIndicator",aiChatFeedbackItem__Label:"aiChatFeedbackItem__Label",aiChatFeedbackItem__Description:"aiChatFeedbackItem__Description",aiChatFeedbackForm__SubmitButton:"aiChatFeedbackForm__SubmitButton",aiChatForm__Wrapper:"aiChatForm__Wrapper",aiChatForm:"aiChatForm",aiChatForm__Close:"aiChatForm__Close",aiChatForm__Header:"aiChatForm__Header",aiChatForm__Heading:"aiChatForm__Heading",aiChatForm__Description:"aiChatForm__Description",aiChatForm__Content:"aiChatForm__Content",aiChatForm__Field:"aiChatForm__Field",aiChatForm__FieldLabel:"aiChatForm__FieldLabel",aiChatForm__FieldText:"aiChatForm__FieldText",aiChatForm__FieldEmail:"aiChatForm__FieldEmail",aiChatForm__FieldFile:"aiChatForm__FieldFile",aiChatForm__FieldTextArea:"aiChatForm__FieldTextArea",aiChatForm__FieldCheckbox:"aiChatForm__FieldCheckbox",aiChatForm__FieldCheckboxIndicator:"aiChatForm__FieldCheckboxIndicator",aiChatForm__FieldSelect:"aiChatForm__FieldSelect",aiChatForm__FieldSelect__Trigger:"aiChatForm__FieldSelect__Trigger",aiChatForm__FieldSelect__Value:"aiChatForm__FieldSelect__Value",aiChatForm__FieldSelect__Icon:"aiChatForm__FieldSelect__Icon",aiChatForm__FieldSelect__Content:"aiChatForm__FieldSelect__Content",aiChatForm__FieldSelect__Viewport:"aiChatForm__FieldSelect__Viewport",aiChatForm__FieldSelect__Item:"aiChatForm__FieldSelect__Item",aiChatForm__FieldSelect__ItemIndicator:"aiChatForm__FieldSelect__ItemIndicator",aiChatForm__FieldSelect__ItemText:"aiChatForm__FieldSelect__ItemText",aiChatForm__FieldCombobox__Control:"aiChatForm__FieldCombobox__Control",aiChatForm__FieldCombobox__Positioner:"aiChatForm__FieldCombobox__Positioner",aiChatForm__FieldCombobox__Input:"aiChatForm__FieldCombobox__Input",aiChatForm__FieldCombobox__Trigger:"aiChatForm__FieldCombobox__Trigger",aiChatForm__FieldCombobox__SelectedTags:"aiChatForm__FieldCombobox__SelectedTags",aiChatForm__FieldCombobox__Content:"aiChatForm__FieldCombobox__Content",aiChatForm__FieldCombobox__List:"aiChatForm__FieldCombobox__List",aiChatForm__FieldCombobox__ListEmpty:"aiChatForm__FieldCombobox__ListEmpty",aiChatForm__FieldCombobox__Item:"aiChatForm__FieldCombobox__Item",aiChatForm__FieldCombobox__ItemText:"aiChatForm__FieldCombobox__ItemText",aiChatForm__FieldCombobox__ItemIndicator:"aiChatForm__FieldCombobox__ItemIndicator",aiChatForm__FieldDescription:"aiChatForm__FieldDescription",aiChatForm__FieldError:"aiChatForm__FieldError",aiChatForm__Error:"aiChatForm__Error",aiChatForm__Footer:"aiChatForm__Footer",aiChatForm__Cancel:"aiChatForm__Cancel",aiChatForm__Submit:"aiChatForm__Submit",aiChatForm__Success:"aiChatForm__Success",aiChatForm__SuccessHeading:"aiChatForm__SuccessHeading",aiChatForm__SuccessMessage:"aiChatForm__SuccessMessage",aiChatForm__SuccessButton:"aiChatForm__SuccessButton",aiChatLink:"aiChatLink"},_={aiSearchWrapper:"aiSearchWrapper",aiSearchRoot:"aiSearchRoot",aiSearchContent:"aiSearchContent",aiSearchInputGroup:"aiSearchInputGroup",aiSearchInputIcon:"aiSearchInputIcon",aiSearchInput:"aiSearchInput",aiSearchLoading:"aiSearchLoading",aiAskAITrigger:"aiAskAITrigger",aiAskAITrigger__Icon:"aiAskAITrigger__Icon",aiAskAITrigger__Label:"aiAskAITrigger__Label",aiAskAITrigger__Query:"aiAskAITrigger__Query",aiAskAITrigger__Indicator:"aiAskAITrigger__Indicator",aiAskAITrigger__IndicatorText:"aiAskAITrigger__IndicatorText",aiSearchResults:"aiSearchResults",aiSearchResults__Loading:"aiSearchResults__Loading",aiSearchResults__Empty:"aiSearchResults__Empty",aiSearchResults__TabList:"aiSearchResults__TabList",aiSearchResults__Tab:"aiSearchResults__Tab",aiSearchResults__Content:"aiSearchResults__Content",aiSearchResults__ScrollArea:"aiSearchResults__ScrollArea",aiSearchResults__ScrollAreaViewport:"aiSearchResults__ScrollAreaViewport",aiSearchResults__List:"aiSearchResults__List",aiSearchResults__Item:"aiSearchResults__Item",aiSearchResults__ItemIcon:"aiSearchResults__ItemIcon",aiSearchResults__ItemBreadcrumbs:"aiSearchResults__ItemBreadcrumbs",aiSearchResults__ItemBreadcrumbIcon:"aiSearchResults__ItemBreadcrumbIcon",aiSearchResults__ItemTitle:"aiSearchResults__ItemTitle",aiSearchResults__ItemTag:"aiSearchResults__ItemTag",aiSearchResults__ItemDescription:"aiSearchResults__ItemDescription",aiSearchResults__ItemDescriptionPart:"aiSearchResults__ItemDescriptionPart",aiSearchResults__ItemIndicator:"aiSearchResults__ItemIndicator",aiSearchResults__ItemPreview:"aiSearchResults__ItemPreview",aiSearchResults__ItemPreview__Header:"aiSearchResults__ItemPreview__Header",aiSearchResults__ItemPreview__Heading:"aiSearchResults__ItemPreview__Heading",aiSearchResults__ItemPreview__Title:"aiSearchResults__ItemPreview__Title",aiSearchResults__ItemPreview__Title__LinkIcon:"aiSearchResults__ItemPreview__Title__LinkIcon",aiSearchResults__ItemPreview__Breadcrumbs:"aiSearchResults__ItemPreview__Breadcrumbs",aiSearchResults__ItemPreview__BreadcrumbIcon:"aiSearchResults__ItemPreview__BreadcrumbIcon",aiSearchResults__ItemPreview__Body:"aiSearchResults__ItemPreview__Body",aiSearchResults__ItemPreview__Outline:"aiSearchResults__ItemPreview__Outline",aiSearchResults__ItemPreview__Outline__Title:"aiSearchResults__ItemPreview__Outline__Title",aiSearchResults__ItemPreview__Outline__List:"aiSearchResults__ItemPreview__Outline__List",aiSearchResults__ItemPreview__Outline__Item:"aiSearchResults__ItemPreview__Outline__Item",aiSearchResults__ItemPreview__Outline__ItemIcon:"aiSearchResults__ItemPreview__Outline__ItemIcon",aiSearchResults__ItemPreview__Outline__ItemText:"aiSearchResults__ItemPreview__Outline__ItemText",aiSearchResults__ItemPreview__Outline__ItemLinkIcon:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",aiSearchResults__ScrollAreaScrollbar:"aiSearchResults__ScrollAreaScrollbar",aiSearchResults__ScrollAreaThumb:"aiSearchResults__ScrollAreaThumb",aiSearchResults__ScrollAreaCorner:"aiSearchResults__ScrollAreaCorner",aiSearchFooter:"aiSearchFooter",aiSearchTagline__Container:"aiSearchTagline__Container",aiSearchTagline__Text:"aiSearchTagline__Text",aiSearchTagline__Logo:"aiSearchTagline__Logo",aiSearchTagline__BrandName:"aiSearchTagline__BrandName"},i={modal:"modal",modal__Overlay:"modal__Overlay",modal__Content:"modal__Content",modal__Close:"modal__Close"},r={chatButton__Text:"chatButton__Text",chatButton__Button:"chatButton__Button",chatButton__Container:"chatButton__Container",chatButton__AvatarImage:"chatButton__AvatarImage",chatButton__AvatarContent:"chatButton__AvatarContent",chatButton__CloseIcon:"chatButton__CloseIcon"},o={searchBar__Container:"searchBar__Container",searchBar__Button:"searchBar__Button",searchBar__ContentWrapper:"searchBar__ContentWrapper",searchBar__Text:"searchBar__Text",searchBar__Icon:"searchBar__Icon",searchBar__KbdWrapper:"searchBar__KbdWrapper",searchBar__CmdIcon:"searchBar__CmdIcon",searchBar__Ctrl:"searchBar__Ctrl",searchBar__KbdShortcutKey:"searchBar__KbdShortcutKey"},h={sidebarChat__Root:"sidebarChat__Root",sidebarChat__Resizer:"sidebarChat__Resizer",sidebarChat__CloseButton:"sidebarChat__CloseButton",sidebarChat__Header:"sidebarChat__Header"},s={chatBubble__Root:"chatBubble__Root",chatBubble__CloseButton:"chatBubble__CloseButton",chatBubble__Header:"chatBubble__Header"},n={dataSummary__Group:"dataSummary__Group",dataSummary__Toggle:"dataSummary__Toggle",dataSummary__ToggleText:"dataSummary__ToggleText",dataSummary__Collapsible:"dataSummary__Collapsible",dataSummary__List:"dataSummary__List",dataSummary__Item:"dataSummary__Item",dataSummary__Connector:"dataSummary__Connector",dataSummary__IconContainer:"dataSummary__IconContainer",dataSummary__Content:"dataSummary__Content",dataSummary__Details:"dataSummary__Details",dataSummary__Label:"dataSummary__Label"},C={aiChatHistory:"aiChatHistory",aiChatHistory__Header:"aiChatHistory__Header",aiChatHistory__BackButton:"aiChatHistory__BackButton",aiChatHistory__BackButtonIcon:"aiChatHistory__BackButtonIcon",aiChatHistory__Title:"aiChatHistory__Title",aiChatHistory__List:"aiChatHistory__List",aiChatHistory__Item:"aiChatHistory__Item",aiChatHistory__ItemTitle:"aiChatHistory__ItemTitle",aiChatHistory__ItemDate:"aiChatHistory__ItemDate",aiChatHistory__EmptyState:"aiChatHistory__EmptyState",aiChatHistory__LoadingState:"aiChatHistory__LoadingState",aiChatHistory__Footer:"aiChatHistory__Footer",aiChatHistory__NewConversationButton:"aiChatHistory__NewConversationButton"},c={...t,...e,..._,...i,...r,...o,...a,...h,...s,...n,...C};exports.ChatBubbleComponentIds=s;exports.DataSummaryComponentIds=n;exports.SearchBarComponentIds=o;exports.SidebarChatComponentIds=h;exports.aiChatComponentIds=e;exports.aiChatHistoryComponentIds=C;exports.aiSearchComponentIds=_;exports.chatButtonComponentIds=r;exports.componentIDs=c;exports.markDownComponentIds=t;exports.miscellanousComponentIds=a;exports.modalComponentIds=i;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={icon:"icon",loadingIndicator__Text:"loadingIndicator__Text",loadingIndicator__Dots:"loadingIndicator__Dots",loadingIndicator__Dot:"loadingIndicator__Dot",view_toggle:"view_toggle",view_toggle_button:"view_toggle_button",view_toggle_icon:"view_toggle_icon"},t={codeblockContainer:"codeblockContainer",codeblockHeader:"codeblockHeader",codeblockHeaderLanguage:"codeblockHeaderLanguage",codeblockCopyButton:"codeblockCopyButton",codeblockHighlighterWrapper:"codeblockHighlighterWrapper",codeblockHighlighter:"codeblockHighlighter",codeblockCode:"codeblockCode",markdownH1:"markdownH1",markdownH2:"markdownH2",markdownP:"markdownP",markdownLi:"markdownLi",markdownUl:"markdownUl",markdownOl:"markdownOl",markdownLink:"markdownLink",markdownSourceLink:"markdownSourceLink",markdownTable:"markdownTable",markdownTh:"markdownTh",markdownTd:"markdownTd",markdownCode:"markdownCode",markdownInput:"markdownInput",markdownSup:"markdownSup",markdownImg:"markdownImg",markdownHr:"markdownHr"},e={aiChatWrapper:"aiChatWrapper",aiChatRoot:"aiChatRoot",aiChatHeader:"aiChatHeader",aiChatHeader__Toolbar:"aiChatHeader__Toolbar",aiChatHeader__ToolbarHeader:"aiChatHeader__ToolbarHeader",aiChatHeader__ToolbarHeaderWrapper:"aiChatHeader__ToolbarHeaderWrapper",aiChatHeader__ChatHistoryButtonIcon:"aiChatHeader__ChatHistoryButtonIcon",aiChatHeader__ChatHistoryButton:"aiChatHeader__ChatHistoryButton",aiChatContent:"aiChatContent",aiChatContentScrollArea:"aiChatContentScrollArea",aiChatContentScrollArea__Viewport:"aiChatContentScrollArea__Viewport",aiChatContentScrollArea__Scrollbar:"aiChatContentScrollArea__Scrollbar",aiChatContentScrollArea__Thumb:"aiChatContentScrollArea__Thumb",aiChatContentScrollArea__Corner:"aiChatContentScrollArea__Corner",aiChatDisclaimer:"aiChatDisclaimer",aiChatDisclaimerLabel:"aiChatDisclaimerLabel",aiChatDisclaimerTrigger:"aiChatDisclaimerTrigger",aiChatDisclaimerContent:"aiChatDisclaimerContent",aiChatDisclaimerText:"aiChatDisclaimerText",aiChatDisclaimerArrow:"aiChatDisclaimerArrow",aiChatExampleQuestions:"aiChatExampleQuestions",aiChatExampleQuestionsLabel:"aiChatExampleQuestionsLabel",aiChatExampleQuestionsList:"aiChatExampleQuestionsList",aiChatExampleQuestion:"aiChatExampleQuestion",aiChatExampleQuestionButton:"aiChatExampleQuestionButton",aiChatWorkflows:"aiChatWorkflows",aiChatWorkflowsLabel:"aiChatWorkflowsLabel",aiChatWorkflowsList:"aiChatWorkflowsList",aiChatWorkflow:"aiChatWorkflow",aiChatWorkflow__Icon:"aiChatWorkflow__Icon",aiChatMessages:"aiChatMessages",aiChatMessageWrapper:"aiChatMessageWrapper",aiChatMessageHeader:"aiChatMessageHeader",aiChatMessageLoading:"aiChatMessageLoading",aiChatMessageAvatar:"aiChatMessageAvatar",aiChatMessageAvatarFallback:"aiChatMessageAvatarFallback",aiChatMessageAvatarImage:"aiChatMessageAvatarImage",aiChatMessageAvatarContent:"aiChatMessageAvatarContent",aiChatMessageName:"aiChatMessageName",aiChatMessageContentWrapper:"aiChatMessageContentWrapper",aiChatMessageContent:"aiChatMessageContent",aiChatMessage__Files:"aiChatMessage__Files",aiChatMessage__File:"aiChatMessage__File",aiChatMessageAttachments:"aiChatMessageAttachments",aiChatMessageAttachments__List:"aiChatMessageAttachments__List",aiChatMessageAttachments__Item:"aiChatMessageAttachments__Item",aiChatMessageAttachments__ItemIcon:"aiChatMessageAttachments__ItemIcon",aiChatMessageAttachments__ItemTitle:"aiChatMessageAttachments__ItemTitle",aiChatMessageAttachmentsPreview:"aiChatMessageAttachmentsPreview",aiChatMessageAttachmentsPreview__Overlay:"aiChatMessageAttachmentsPreview__Overlay",aiChatMessageAttachmentsPreview__Content:"aiChatMessageAttachmentsPreview__Content",aiChatMessageAttachmentsPreview__Header:"aiChatMessageAttachmentsPreview__Header",aiChatMessageAttachmentsPreview__Close:"aiChatMessageAttachmentsPreview__Close",aiChatMessageAttachmentsPreview__Body:"aiChatMessageAttachmentsPreview__Body",aiChatMessagePart:"aiChatMessagePart",aiChatMessageToolbar:"aiChatMessageToolbar",aiChatMessageCustomActions:"aiChatMessageCustomActions",aiChatMessageCustomAction:"aiChatMessageCustomAction",aiChatMessageAction:"aiChatMessageAction",aiChatMessageSources:"aiChatMessageSources",aiChatMessageSources__Header:"aiChatMessageSources__Header",aiChatMessageSources__List:"aiChatMessageSources__List",aiChatMessageSourceItem:"aiChatMessageSourceItem",aiChatMessageSourceItem__Icon:"aiChatMessageSourceItem__Icon",aiChatMessageSourceItem__Breadcrumbs:"aiChatMessageSourceItem__Breadcrumbs",aiChatMessageSourceItem__Breadcrumb:"aiChatMessageSourceItem__Breadcrumb",aiChatMessageSourceItem__BreadcrumbIcon:"aiChatMessageSourceItem__BreadcrumbIcon",aiChatMessageSourceItem__Title:"aiChatMessageSourceItem__Title",aiChatMessageSourceItem__Tag:"aiChatMessageSourceItem__Tag",aiChatMessageSourceItem__Description:"aiChatMessageSourceItem__Description",aiChatMessageSourceItem__DescriptionPart:"aiChatMessageSourceItem__DescriptionPart",aiChatMessageSourceItem__Indicator:"aiChatMessageSourceItem__Indicator",aiChatFooter:"aiChatFooter",aiChatInput__Fieldset:"aiChatInput__Fieldset",aiChatInput__Group:"aiChatInput__Group",aiChatInput:"aiChatInput",aiChatInput__SendButton:"aiChatInput__SendButton",aiChatInput__SendButtonIcon:"aiChatInput__SendButtonIcon",aiChatInput__FileUploadButton:"aiChatInput__FileUploadButton",aiChatInput__FileUploadButtonIcon:"aiChatInput__FileUploadButtonIcon",aiChatInput__FileInput:"aiChatInput__FileInput",aiChatInput__FileList:"aiChatInput__FileList",aiChatInput__FileItem:"aiChatInput__FileItem",aiChatInput__FilePreviewTrigger:"aiChatInput__FilePreviewTrigger",aiChatInput__FileContent:"aiChatInput__FileContent",aiChatInput__FileThumbnail:"aiChatInput__FileThumbnail",aiChatInput__FileName:"aiChatInput__FileName",aiChatInput__FileRemove:"aiChatInput__FileRemove",aiChatInput__FileRemoveIcon:"aiChatInput__FileRemoveIcon",aiChatInput__DropZone:"aiChatInput__DropZone",aiChatInput__Notification:"aiChatInput__Notification",aiChatInput__NotificationContent:"aiChatInput__NotificationContent",aiChatInput__NotificationHeader:"aiChatInput__NotificationHeader",aiChatInput__NotificationTitle:"aiChatInput__NotificationTitle",aiChatInput__NotificationMessage:"aiChatInput__NotificationMessage",aiChatInput__NotificationClose:"aiChatInput__NotificationClose",aiChatAttachmentsBar:"aiChatAttachmentsBar",aiChatAttachmentsBar__List:"aiChatAttachmentsBar__List",aiChatAttachmentsBar__Attachment:"aiChatAttachmentsBar__Attachment",aiChatAttachmentsBar__AttachmentIcon:"aiChatAttachmentsBar__AttachmentIcon",aiChatAttachmentsBar__AttachmentTitle:"aiChatAttachmentsBar__AttachmentTitle",aiChatAttachmentsBar__AttachmentDelete:"aiChatAttachmentsBar__AttachmentDelete",aiChatAttachmentsBar__Actions:"aiChatAttachmentsBar__Actions",aiChatAttachmentsBar__InfoTip:"aiChatAttachmentsBar__InfoTip",aiChatAttachmentsBar__InfoTipIcon:"aiChatAttachmentsBar__InfoTipIcon",aiChatAttachmentsBar__InfoTipArrow:"aiChatAttachmentsBar__InfoTipArrow",aiChatAttachmentsBar__InfoTipText:"aiChatAttachmentsBar__InfoTipText",aiChatAttachmentsBar__Inputs:"aiChatAttachmentsBar__Inputs",aiChatAttachmentsBar__Input:"aiChatAttachmentsBar__Input",aiChatAttachmentsBar__InputIcon:"aiChatAttachmentsBar__InputIcon",aiChatAttachmentsBar__Modal:"aiChatAttachmentsBar__Modal",aiChatAttachmentsBar__ModalOverlay:"aiChatAttachmentsBar__ModalOverlay",aiChatAttachmentsBar__ModalContent:"aiChatAttachmentsBar__ModalContent",aiChatAttachmentsBar__ModalHeader:"aiChatAttachmentsBar__ModalHeader",aiChatAttachmentsBar__ModalClose:"aiChatAttachmentsBar__ModalClose",aiChatAttachmentsBar__ModalBody:"aiChatAttachmentsBar__ModalBody",aiChatAttachmentsBar__ModalHeading:"aiChatAttachmentsBar__ModalHeading",aiChatAttachmentsBar__ModalDescription:"aiChatAttachmentsBar__ModalDescription",aiChatAttachmentsBar__ModalHelp:"aiChatAttachmentsBar__ModalHelp",aiChatAttachmentsBar__Form:"aiChatAttachmentsBar__Form",aiChatAttachmentsBar__FormTitle:"aiChatAttachmentsBar__FormTitle",aiChatAttachmentsBar__FormTitleLabel:"aiChatAttachmentsBar__FormTitleLabel",aiChatAttachmentsBar__FormTitleInput:"aiChatAttachmentsBar__FormTitleInput",aiChatAttachmentsBar__FormTitleError:"aiChatAttachmentsBar__FormTitleError",aiChatAttachmentsBar__FormContent:"aiChatAttachmentsBar__FormContent",aiChatAttachmentsBar__FormContentLabel:"aiChatAttachmentsBar__FormContentLabel",aiChatAttachmentsBar__FormContentInput:"aiChatAttachmentsBar__FormContentInput",aiChatAttachmentsBar__FormContentError:"aiChatAttachmentsBar__FormContentError",aiChatAttachmentsBar__FormSubmitButton:"aiChatAttachmentsBar__FormSubmitButton",aiChatActionBar:"aiChatActionBar",aiChat__ChatActions:"aiChat__ChatActions",aiChat__ChatAction:"aiChat__ChatAction",aiChat__ChatActionLabel:"aiChat__ChatActionLabel",aiChat__ChatActionFeeback:"aiChat__ChatActionFeeback",aiChatHelpActions:"aiChatHelpActions",aiChatHelpAction:"aiChatHelpAction",aiChatHelpActions__Trigger:"aiChatHelpActions__Trigger",aiChatHelpActions__Menu:"aiChatHelpActions__Menu",aiChatHelpActions__MenuArrow:"aiChatHelpActions__MenuArrow",aiChatHelpActions__MenuItem:"aiChatHelpActions__MenuItem",aiChatHelpActions_MenuItemIcon:"aiChatHelpActions_MenuItemIcon",aiChatTagline__Container:"aiChatTagline__Container",aiChatTagline__Text:"aiChatTagline__Text",aiChatTagline__Logo:"aiChatTagline__Logo",aiChatTagline__BrandName:"aiChatTagline__BrandName",aiChatFeedbackModal:"aiChatFeedbackModal",aiChatFeedbackModal__Overlay:"aiChatFeedbackModal__Overlay",aiChatFeedbackModal__Content:"aiChatFeedbackModal__Content",aiChatFeedbackModal__Header:"aiChatFeedbackModal__Header",aiChatFeedbackModal__Close:"aiChatFeedbackModal__Close",aiChatFeedbackModal__Body:"aiChatFeedbackModal__Body",aiChatImagePreviewModal:"aiChatImagePreviewModal",aiChatImagePreviewModal__Overlay:"aiChatImagePreviewModal__Overlay",aiChatImagePreviewModal__Content:"aiChatImagePreviewModal__Content",aiChatImagePreviewModal__Image:"aiChatImagePreviewModal__Image",aiChatImagePreviewModal__Footer:"aiChatImagePreviewModal__Footer",aiChatImagePreviewModal__FileName:"aiChatImagePreviewModal__FileName",aiChatImagePreviewModal__Close:"aiChatImagePreviewModal__Close",aiChatFeedbackForm:"aiChatFeedbackForm",aiChatFeedbackItem:"aiChatFeedbackItem",aiChatFeedbackItem__Checkbox:"aiChatFeedbackItem__Checkbox",aiChatFeedbackItem__CheckboxIndicator:"aiChatFeedbackItem__CheckboxIndicator",aiChatFeedbackItem__Label:"aiChatFeedbackItem__Label",aiChatFeedbackItem__Description:"aiChatFeedbackItem__Description",aiChatFeedbackForm__SubmitButton:"aiChatFeedbackForm__SubmitButton",aiChatForm__Wrapper:"aiChatForm__Wrapper",aiChatForm:"aiChatForm",aiChatForm__Close:"aiChatForm__Close",aiChatForm__Header:"aiChatForm__Header",aiChatForm__Heading:"aiChatForm__Heading",aiChatForm__Description:"aiChatForm__Description",aiChatForm__Content:"aiChatForm__Content",aiChatForm__Field:"aiChatForm__Field",aiChatForm__FieldLabel:"aiChatForm__FieldLabel",aiChatForm__FieldText:"aiChatForm__FieldText",aiChatForm__FieldEmail:"aiChatForm__FieldEmail",aiChatForm__FieldFile:"aiChatForm__FieldFile",aiChatForm__FieldTextArea:"aiChatForm__FieldTextArea",aiChatForm__FieldCheckbox:"aiChatForm__FieldCheckbox",aiChatForm__FieldCheckboxIndicator:"aiChatForm__FieldCheckboxIndicator",aiChatForm__FieldSelect:"aiChatForm__FieldSelect",aiChatForm__FieldSelect__Trigger:"aiChatForm__FieldSelect__Trigger",aiChatForm__FieldSelect__Value:"aiChatForm__FieldSelect__Value",aiChatForm__FieldSelect__Icon:"aiChatForm__FieldSelect__Icon",aiChatForm__FieldSelect__Content:"aiChatForm__FieldSelect__Content",aiChatForm__FieldSelect__Viewport:"aiChatForm__FieldSelect__Viewport",aiChatForm__FieldSelect__Item:"aiChatForm__FieldSelect__Item",aiChatForm__FieldSelect__ItemIndicator:"aiChatForm__FieldSelect__ItemIndicator",aiChatForm__FieldSelect__ItemText:"aiChatForm__FieldSelect__ItemText",aiChatForm__FieldCombobox__Control:"aiChatForm__FieldCombobox__Control",aiChatForm__FieldCombobox__Positioner:"aiChatForm__FieldCombobox__Positioner",aiChatForm__FieldCombobox__Input:"aiChatForm__FieldCombobox__Input",aiChatForm__FieldCombobox__Trigger:"aiChatForm__FieldCombobox__Trigger",aiChatForm__FieldCombobox__SelectedTags:"aiChatForm__FieldCombobox__SelectedTags",aiChatForm__FieldCombobox__Content:"aiChatForm__FieldCombobox__Content",aiChatForm__FieldCombobox__List:"aiChatForm__FieldCombobox__List",aiChatForm__FieldCombobox__ListEmpty:"aiChatForm__FieldCombobox__ListEmpty",aiChatForm__FieldCombobox__Item:"aiChatForm__FieldCombobox__Item",aiChatForm__FieldCombobox__ItemText:"aiChatForm__FieldCombobox__ItemText",aiChatForm__FieldCombobox__ItemIndicator:"aiChatForm__FieldCombobox__ItemIndicator",aiChatForm__FieldDescription:"aiChatForm__FieldDescription",aiChatForm__FieldError:"aiChatForm__FieldError",aiChatForm__Error:"aiChatForm__Error",aiChatForm__Footer:"aiChatForm__Footer",aiChatForm__Cancel:"aiChatForm__Cancel",aiChatForm__Submit:"aiChatForm__Submit",aiChatForm__Success:"aiChatForm__Success",aiChatForm__SuccessHeading:"aiChatForm__SuccessHeading",aiChatForm__SuccessMessage:"aiChatForm__SuccessMessage",aiChatForm__SuccessButton:"aiChatForm__SuccessButton",aiChatLink:"aiChatLink"},_={aiSearchWrapper:"aiSearchWrapper",aiSearchRoot:"aiSearchRoot",aiSearchContent:"aiSearchContent",aiSearchInputGroup:"aiSearchInputGroup",aiSearchInputIcon:"aiSearchInputIcon",aiSearchInput:"aiSearchInput",aiSearchLoading:"aiSearchLoading",aiAskAITrigger:"aiAskAITrigger",aiAskAITrigger__Icon:"aiAskAITrigger__Icon",aiAskAITrigger__Label:"aiAskAITrigger__Label",aiAskAITrigger__Query:"aiAskAITrigger__Query",aiAskAITrigger__Indicator:"aiAskAITrigger__Indicator",aiAskAITrigger__IndicatorText:"aiAskAITrigger__IndicatorText",aiSearchResults:"aiSearchResults",aiSearchResults__Loading:"aiSearchResults__Loading",aiSearchResults__Empty:"aiSearchResults__Empty",aiSearchResults__TabList:"aiSearchResults__TabList",aiSearchResults__Tab:"aiSearchResults__Tab",aiSearchResults__Content:"aiSearchResults__Content",aiSearchResults__ScrollArea:"aiSearchResults__ScrollArea",aiSearchResults__ScrollAreaViewport:"aiSearchResults__ScrollAreaViewport",aiSearchResults__List:"aiSearchResults__List",aiSearchResults__Item:"aiSearchResults__Item",aiSearchResults__ItemIcon:"aiSearchResults__ItemIcon",aiSearchResults__ItemBreadcrumbs:"aiSearchResults__ItemBreadcrumbs",aiSearchResults__ItemBreadcrumbIcon:"aiSearchResults__ItemBreadcrumbIcon",aiSearchResults__ItemTitle:"aiSearchResults__ItemTitle",aiSearchResults__ItemTag:"aiSearchResults__ItemTag",aiSearchResults__ItemDescription:"aiSearchResults__ItemDescription",aiSearchResults__ItemDescriptionPart:"aiSearchResults__ItemDescriptionPart",aiSearchResults__ItemIndicator:"aiSearchResults__ItemIndicator",aiSearchResults__ItemPreview:"aiSearchResults__ItemPreview",aiSearchResults__ItemPreview__Header:"aiSearchResults__ItemPreview__Header",aiSearchResults__ItemPreview__Heading:"aiSearchResults__ItemPreview__Heading",aiSearchResults__ItemPreview__Title:"aiSearchResults__ItemPreview__Title",aiSearchResults__ItemPreview__Title__LinkIcon:"aiSearchResults__ItemPreview__Title__LinkIcon",aiSearchResults__ItemPreview__Breadcrumbs:"aiSearchResults__ItemPreview__Breadcrumbs",aiSearchResults__ItemPreview__BreadcrumbIcon:"aiSearchResults__ItemPreview__BreadcrumbIcon",aiSearchResults__ItemPreview__Body:"aiSearchResults__ItemPreview__Body",aiSearchResults__ItemPreview__Outline:"aiSearchResults__ItemPreview__Outline",aiSearchResults__ItemPreview__Outline__Title:"aiSearchResults__ItemPreview__Outline__Title",aiSearchResults__ItemPreview__Outline__List:"aiSearchResults__ItemPreview__Outline__List",aiSearchResults__ItemPreview__Outline__Item:"aiSearchResults__ItemPreview__Outline__Item",aiSearchResults__ItemPreview__Outline__ItemIcon:"aiSearchResults__ItemPreview__Outline__ItemIcon",aiSearchResults__ItemPreview__Outline__ItemText:"aiSearchResults__ItemPreview__Outline__ItemText",aiSearchResults__ItemPreview__Outline__ItemLinkIcon:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",aiSearchResults__ScrollAreaScrollbar:"aiSearchResults__ScrollAreaScrollbar",aiSearchResults__ScrollAreaThumb:"aiSearchResults__ScrollAreaThumb",aiSearchResults__ScrollAreaCorner:"aiSearchResults__ScrollAreaCorner",aiSearchFooter:"aiSearchFooter",aiSearchTagline__Container:"aiSearchTagline__Container",aiSearchTagline__Text:"aiSearchTagline__Text",aiSearchTagline__Logo:"aiSearchTagline__Logo",aiSearchTagline__BrandName:"aiSearchTagline__BrandName"},i={modal:"modal",modal__Overlay:"modal__Overlay",modal__Content:"modal__Content",modal__Close:"modal__Close"},o={chatButton__Text:"chatButton__Text",chatButton__Button:"chatButton__Button",chatButton__Container:"chatButton__Container",chatButton__AvatarImage:"chatButton__AvatarImage",chatButton__AvatarContent:"chatButton__AvatarContent",chatButton__CloseIcon:"chatButton__CloseIcon"},r={searchBar__Container:"searchBar__Container",searchBar__Button:"searchBar__Button",searchBar__ContentWrapper:"searchBar__ContentWrapper",searchBar__Text:"searchBar__Text",searchBar__Icon:"searchBar__Icon",searchBar__KbdWrapper:"searchBar__KbdWrapper",searchBar__CmdIcon:"searchBar__CmdIcon",searchBar__Ctrl:"searchBar__Ctrl",searchBar__KbdShortcutKey:"searchBar__KbdShortcutKey"},h={sidebarChat__Root:"sidebarChat__Root",sidebarChat__Resizer:"sidebarChat__Resizer",sidebarChat__CloseButton:"sidebarChat__CloseButton",sidebarChat__Header:"sidebarChat__Header"},n={chatBubble__Root:"chatBubble__Root",chatBubble__CloseButton:"chatBubble__CloseButton",chatBubble__Header:"chatBubble__Header"},s={dataSummary__Group:"dataSummary__Group",dataSummary__Toggle:"dataSummary__Toggle",dataSummary__ToggleText:"dataSummary__ToggleText",dataSummary__Collapsible:"dataSummary__Collapsible",dataSummary__List:"dataSummary__List",dataSummary__Item:"dataSummary__Item",dataSummary__Connector:"dataSummary__Connector",dataSummary__IconContainer:"dataSummary__IconContainer",dataSummary__Content:"dataSummary__Content",dataSummary__Details:"dataSummary__Details",dataSummary__Label:"dataSummary__Label"},C={aiChatHistory:"aiChatHistory",aiChatHistory__Header:"aiChatHistory__Header",aiChatHistory__BackButton:"aiChatHistory__BackButton",aiChatHistory__BackButtonIcon:"aiChatHistory__BackButtonIcon",aiChatHistory__Title:"aiChatHistory__Title",aiChatHistory__List:"aiChatHistory__List",aiChatHistory__Item:"aiChatHistory__Item",aiChatHistory__ItemTitle:"aiChatHistory__ItemTitle",aiChatHistory__ItemDate:"aiChatHistory__ItemDate",aiChatHistory__EmptyState:"aiChatHistory__EmptyState",aiChatHistory__LoadingState:"aiChatHistory__LoadingState",aiChatHistory__Footer:"aiChatHistory__Footer",aiChatHistory__NewConversationButton:"aiChatHistory__NewConversationButton"},c={...t,...e,..._,...i,...o,...r,...a,...h,...n,...s,...C};exports.ChatBubbleComponentIds=n;exports.DataSummaryComponentIds=s;exports.SearchBarComponentIds=r;exports.SidebarChatComponentIds=h;exports.aiChatComponentIds=e;exports.aiChatHistoryComponentIds=C;exports.aiSearchComponentIds=_;exports.chatButtonComponentIds=o;exports.componentIDs=c;exports.markDownComponentIds=t;exports.miscellanousComponentIds=a;exports.modalComponentIds=i;
|