@inkeep/agents-ui 0.14.28 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +220 -205
- package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -1
- package/dist/primitives/atoms/icons/built-in-icons.d.ts +1 -0
- package/dist/primitives/atoms/icons/built-in-icons.js +44 -43
- package/dist/primitives/atoms/icons/checkbox-icon.cjs +1 -1
- package/dist/primitives/atoms/icons/checkbox-icon.js +1 -1
- package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -1
- package/dist/primitives/atoms/icons/inkeep-default-icons.js +3 -2
- package/dist/primitives/components/chat-bubble/index.cjs +1 -0
- package/dist/primitives/components/chat-bubble/index.d.ts +10 -0
- package/dist/primitives/components/chat-bubble/index.js +38 -0
- package/dist/primitives/components/chat-button.cjs +1 -1
- package/dist/primitives/components/chat-button.d.ts +3 -1
- package/dist/primitives/components/chat-button.js +31 -26
- package/dist/primitives/components/data-summaries.cjs +1 -0
- package/dist/primitives/components/data-summaries.d.ts +14 -0
- package/dist/primitives/components/data-summaries.js +38 -0
- package/dist/primitives/components/index.cjs +1 -1
- package/dist/primitives/components/index.d.ts +2 -0
- package/dist/primitives/components/index.js +21 -17
- package/dist/primitives/components/modal/use-inkeep-modal.cjs +1 -1
- package/dist/primitives/components/modal/use-inkeep-modal.d.ts +2 -2
- package/dist/primitives/components/modal/use-inkeep-modal.js +6 -42
- package/dist/primitives/components/modal/widget-auto-focus.cjs +1 -1
- package/dist/primitives/components/modal/widget-auto-focus.js +21 -12
- package/dist/primitives/components/modal.d.ts +2 -2
- package/dist/primitives/components/searchbar.d.ts +3 -3
- package/dist/primitives/components/sidebar-chat/index.cjs +1 -1
- package/dist/primitives/components/sidebar-chat/index.js +48 -67
- package/dist/primitives/components/use-component-trigger.cjs +1 -1
- package/dist/primitives/components/use-component-trigger.d.ts +1 -1
- package/dist/primitives/components/use-component-trigger.js +4 -3
- package/dist/primitives/hooks/index.cjs +1 -1
- package/dist/primitives/hooks/index.d.ts +1 -0
- package/dist/primitives/hooks/index.js +18 -16
- package/dist/primitives/hooks/use-inkeep-open-state.cjs +1 -0
- package/dist/primitives/hooks/use-inkeep-open-state.d.ts +18 -0
- package/dist/primitives/hooks/use-inkeep-open-state.js +47 -0
- package/dist/primitives/index.cjs +1 -1
- package/dist/primitives/index.js +155 -142
- package/dist/primitives/providers/base-events-provider.cjs +1 -1
- package/dist/primitives/providers/base-events-provider.js +1 -1
- package/dist/primitives/providers/chat-bubble-provider.cjs +1 -0
- package/dist/primitives/providers/chat-bubble-provider.d.ts +22 -0
- package/dist/primitives/providers/chat-bubble-provider.js +19 -0
- package/dist/primitives/providers/index.cjs +1 -1
- package/dist/primitives/providers/index.d.ts +1 -0
- package/dist/primitives/providers/index.js +27 -22
- package/dist/primitives/providers/sidebar-chat-provider.cjs +1 -1
- package/dist/primitives/providers/sidebar-chat-provider.d.ts +3 -25
- package/dist/primitives/providers/sidebar-chat-provider.js +23 -27
- package/dist/primitives/utils/component-ids.cjs +1 -1
- package/dist/primitives/utils/component-ids.d.ts +34 -0
- package/dist/primitives/utils/component-ids.js +29 -8
- package/dist/react/chat-button.cjs +1 -1
- package/dist/react/chat-button.d.ts +7 -13
- package/dist/react/chat-button.js +55 -46
- package/dist/react/embedded-chat.cjs +1 -1
- package/dist/react/embedded-chat.d.ts +4 -3
- package/dist/react/embedded-chat.js +171 -177
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +220 -205
- package/dist/react/modal.chat.cjs +1 -1
- package/dist/react/modal.chat.d.ts +3 -3
- package/dist/react/modal.chat.js +10 -10
- package/dist/react/modal.cjs +1 -1
- package/dist/react/modal.d.ts +2 -2
- package/dist/react/modal.js +5 -5
- package/dist/react/modal.search-and-chat.cjs +1 -1
- package/dist/react/modal.search-and-chat.d.ts +2 -2
- package/dist/react/modal.search-and-chat.js +15 -15
- package/dist/react/modal.search.cjs +1 -1
- package/dist/react/modal.search.d.ts +2 -2
- package/dist/react/modal.search.js +8 -8
- package/dist/react/searchbar.cjs +1 -1
- package/dist/react/searchbar.d.ts +4 -4
- package/dist/react/searchbar.js +12 -12
- package/dist/react/sidebar-chat.d.ts +1 -3
- package/dist/styled/components/chat-bubble.cjs +1 -0
- package/dist/styled/components/chat-bubble.d.ts +5 -0
- package/dist/styled/components/chat-bubble.js +70 -0
- package/dist/styled/components/chat-button.cjs +1 -1
- package/dist/styled/components/chat-button.d.ts +2 -1
- package/dist/styled/components/chat-button.js +10 -6
- package/dist/styled/components/data-summary-group.cjs +1 -1
- package/dist/styled/components/data-summary-group.js +62 -62
- package/dist/styled/components/embedded-chat.cjs +1 -1
- package/dist/styled/components/embedded-chat.js +331 -320
- package/dist/styled/components/embedded-search.cjs +1 -1
- package/dist/styled/components/embedded-search.js +3 -3
- package/dist/styled/components/index.cjs +1 -1
- package/dist/styled/components/index.d.ts +1 -0
- package/dist/styled/components/index.js +14 -12
- package/dist/styled/components/message.cjs +1 -1
- package/dist/styled/components/message.js +28 -25
- package/dist/styled/components/ui/recipes/button.cjs +1 -1
- package/dist/styled/components/ui/recipes/button.js +1 -1
- package/dist/styled/components/ui/recipes/checkbox.cjs +1 -1
- package/dist/styled/components/ui/recipes/checkbox.js +1 -1
- package/dist/styled/components/ui/recipes/input.cjs +1 -1
- package/dist/styled/components/ui/recipes/input.js +2 -2
- package/dist/styled/components/ui/recipes/markdown.cjs +1 -1
- package/dist/styled/components/ui/recipes/markdown.js +3 -3
- package/dist/styled/components/ui/recipes/select.cjs +1 -1
- package/dist/styled/components/ui/recipes/select.js +2 -2
- package/dist/styled/index.cjs +1 -1
- package/dist/styled/index.js +182 -167
- package/dist/styled/inkeep.css.cjs +218 -99
- package/dist/styled/inkeep.css.js +218 -99
- package/dist/types/config/open-settings.d.ts +70 -0
- package/dist/types/events.d.ts +9 -1
- package/dist/types/icons/built-in.d.ts +1 -1
- package/dist/types/icons/custom.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/js/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/types/config/modal.d.ts +0 -33
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OpenSettingsModal } from '../types/index.ts';
|
|
2
2
|
import { InkeepEmbeddedSearchProps } from './embedded-search';
|
|
3
3
|
export interface InkeepModalSearchProps extends Omit<InkeepEmbeddedSearchProps, 'onToggleView'> {
|
|
4
|
-
|
|
4
|
+
openSettings?: OpenSettingsModal;
|
|
5
5
|
}
|
|
6
6
|
export declare function InkeepModalSearch(props: InkeepModalSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import { InkeepEmbeddedSearchImpl as
|
|
4
|
-
import { InkeepModal as
|
|
3
|
+
import { InkeepEmbeddedSearchImpl as i } from "./embedded-search.js";
|
|
4
|
+
import { InkeepModal as m } from "./modal.js";
|
|
5
5
|
import { WebWidgetInteractionType as s } from "../primitives/providers/config-provider.js";
|
|
6
|
-
function
|
|
7
|
-
const {
|
|
6
|
+
function g(t) {
|
|
7
|
+
const { openSettings: o, baseSettings: r, searchSettings: n, ...p } = t;
|
|
8
8
|
return /* @__PURE__ */ e(
|
|
9
|
-
|
|
9
|
+
m,
|
|
10
10
|
{
|
|
11
11
|
componentType: s.CustomTrigger,
|
|
12
|
-
|
|
12
|
+
openSettings: o,
|
|
13
13
|
baseSettings: r,
|
|
14
14
|
searchSettings: n,
|
|
15
|
-
children: /* @__PURE__ */ e(
|
|
15
|
+
children: /* @__PURE__ */ e(i, { shouldAutoFocusInput: !0, ...p })
|
|
16
16
|
}
|
|
17
17
|
);
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
g as InkeepModalSearch
|
|
21
21
|
};
|
package/dist/react/searchbar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),x=require("./embedded-search-and-chat.cjs"),B=require("./embedded-search-and-chat.impl.cjs"),b=require("./embedded-search.cjs"),n=require("../styled/components/searchbar.cjs"),g=require("../styled/components/shadow.cjs"),p=require("../primitives/providers/config-provider.cjs"),y=require("../primitives/providers/root-provider.cjs"),C=require("../primitives/atoms/error-boundary.cjs"),I=require("./modal.cjs"),q=require("./utils.cjs"),k=require("@radix-ui/react-use-controllable-state");function w(t){const{openSettings:r,defaultView:o="search",canToggleView:a=!0,...c}=t,i={...c,shouldShowAskAICard:a?t.shouldShowAskAICard:!1},{config:d,...h}=B.useWidgetImpl({...i,defaultView:o}),m=u=>{r?.isOpen===void 0&&(t.forceDefaultView&&!u&&h.setView(o),s(!!u))},[f=!1,s]=k.useControllableState({prop:r?.isOpen,defaultProp:r?.defaultOpen??!1,onChange:q.composeEventHandlers(r?.onOpenChange,m)}),l={shortcutKey:"k",...r,isOpen:f,onOpenChange:s},j=()=>a?e.jsx(x.InkeepEmbeddedSearchAndChatImpl,{...h}):e.jsx(b.InkeepEmbeddedSearchImpl,{...i});return e.jsxs(e.Fragment,{children:[e.jsx(C.ErrorBoundary,{children:e.jsx(g.Shadow,{wrapperStyles:{display:"contents"},children:e.jsx(y.RootProvider,{config:d,componentType:p.WebWidgetInteractionType.SearchBar,children:e.jsx(S,{onOpenChange:s,openSettings:l})})})}),e.jsx(I.InkeepModal,{...d,openSettings:l,componentType:p.WebWidgetInteractionType.SearchBar,children:j()})]})}function S({onOpenChange:t,openSettings:r}){const o=a=>{a.button!==2&&t?.(c=>!c)};return e.jsx(n.SearchBarContainer,{children:e.jsxs(n.SearchBarButton,{onClick:o,children:[e.jsxs(n.SearchBarContentWrapper,{children:[e.jsx(n.SearchBarIcon,{}),e.jsx(n.SearchBarText,{})]}),e.jsxs(n.SearchBarKbdWrapper,{children:[e.jsx(n.SearchBarKbdModifier,{shortcutKey:r?.shortcutKey}),e.jsx(n.SearchBarKbdShortcutKey,{shortcutKey:r?.shortcutKey})]})]})})}exports.InkeepSearchBar=w;exports.SearchBarImpl=S;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OpenSettingsSearchBar } from '../types/index.ts';
|
|
2
2
|
import { InkeepEmbeddedSearchAndChatProps } from './embedded-search-and-chat';
|
|
3
3
|
export interface InkeepSearchBarProps extends Omit<InkeepEmbeddedSearchAndChatProps, 'onToggleView'> {
|
|
4
|
-
|
|
4
|
+
openSettings?: OpenSettingsSearchBar;
|
|
5
5
|
canToggleView?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare function InkeepSearchBar(props: InkeepSearchBarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
interface SearchBarImplProps {
|
|
9
9
|
onOpenChange?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
10
|
-
|
|
10
|
+
openSettings: InkeepSearchBarProps['openSettings'];
|
|
11
11
|
}
|
|
12
|
-
export declare function SearchBarImpl({ onOpenChange,
|
|
12
|
+
export declare function SearchBarImpl({ onOpenChange, openSettings }: SearchBarImplProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
package/dist/react/searchbar.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs as n, Fragment as B, jsx as e } from "react/jsx-runtime";
|
|
|
3
3
|
import { InkeepEmbeddedSearchAndChatImpl as C } from "./embedded-search-and-chat.js";
|
|
4
4
|
import { useWidgetImpl as g } from "./embedded-search-and-chat.impl.js";
|
|
5
5
|
import { InkeepEmbeddedSearchImpl as y } from "./embedded-search.js";
|
|
6
|
-
import { SearchBarContainer as I, SearchBarButton as k, SearchBarContentWrapper as K, SearchBarIcon as b, SearchBarText as w, SearchBarKbdWrapper as
|
|
6
|
+
import { SearchBarContainer as I, SearchBarButton as k, SearchBarContentWrapper as K, SearchBarIcon as b, SearchBarText as w, SearchBarKbdWrapper as O, SearchBarKbdModifier as A, SearchBarKbdShortcutKey as T } from "../styled/components/searchbar.js";
|
|
7
7
|
import { Shadow as W } from "../styled/components/shadow.js";
|
|
8
8
|
import { WebWidgetInteractionType as m } from "../primitives/providers/config-provider.js";
|
|
9
9
|
import { RootProvider as x } from "../primitives/providers/root-provider.js";
|
|
@@ -13,42 +13,42 @@ import { composeEventHandlers as v } from "./utils.js";
|
|
|
13
13
|
import { useControllableState as P } from "@radix-ui/react-use-controllable-state";
|
|
14
14
|
function Q(o) {
|
|
15
15
|
const {
|
|
16
|
-
|
|
16
|
+
openSettings: r,
|
|
17
17
|
defaultView: a = "search",
|
|
18
18
|
canToggleView: t = !0,
|
|
19
19
|
...c
|
|
20
20
|
} = o, h = {
|
|
21
21
|
...c,
|
|
22
22
|
shouldShowAskAICard: t ? o.shouldShowAskAICard : !1
|
|
23
|
-
}, { config:
|
|
23
|
+
}, { config: p, ...d } = g({
|
|
24
24
|
...h,
|
|
25
25
|
defaultView: a
|
|
26
26
|
}), f = (l) => {
|
|
27
|
-
r?.isOpen === void 0 && (o.forceDefaultView && !l &&
|
|
27
|
+
r?.isOpen === void 0 && (o.forceDefaultView && !l && d.setView(a), i(!!l));
|
|
28
28
|
}, [u = !1, i] = P({
|
|
29
29
|
prop: r?.isOpen,
|
|
30
|
-
defaultProp: !1,
|
|
30
|
+
defaultProp: r?.defaultOpen ?? !1,
|
|
31
31
|
onChange: v(r?.onOpenChange, f)
|
|
32
32
|
}), s = {
|
|
33
33
|
shortcutKey: "k",
|
|
34
34
|
...r,
|
|
35
35
|
isOpen: u,
|
|
36
36
|
onOpenChange: i
|
|
37
|
-
}, S = () => t ? /* @__PURE__ */ e(C, { ...
|
|
37
|
+
}, S = () => t ? /* @__PURE__ */ e(C, { ...d }) : /* @__PURE__ */ e(y, { ...h });
|
|
38
38
|
return /* @__PURE__ */ n(B, { children: [
|
|
39
|
-
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(W, { wrapperStyles: { display: "contents" }, children: /* @__PURE__ */ e(x, { config:
|
|
39
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(W, { wrapperStyles: { display: "contents" }, children: /* @__PURE__ */ e(x, { config: p, componentType: m.SearchBar, children: /* @__PURE__ */ e(j, { onOpenChange: i, openSettings: s }) }) }) }),
|
|
40
40
|
/* @__PURE__ */ e(
|
|
41
41
|
V,
|
|
42
42
|
{
|
|
43
|
-
...
|
|
44
|
-
|
|
43
|
+
...p,
|
|
44
|
+
openSettings: s,
|
|
45
45
|
componentType: m.SearchBar,
|
|
46
46
|
children: S()
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
49
|
] });
|
|
50
50
|
}
|
|
51
|
-
function j({ onOpenChange: o,
|
|
51
|
+
function j({ onOpenChange: o, openSettings: r }) {
|
|
52
52
|
return /* @__PURE__ */ e(I, { children: /* @__PURE__ */ n(k, { onClick: (t) => {
|
|
53
53
|
t.button !== 2 && o?.((c) => !c);
|
|
54
54
|
}, children: [
|
|
@@ -56,8 +56,8 @@ function j({ onOpenChange: o, modalSettings: r }) {
|
|
|
56
56
|
/* @__PURE__ */ e(b, {}),
|
|
57
57
|
/* @__PURE__ */ e(w, {})
|
|
58
58
|
] }),
|
|
59
|
-
/* @__PURE__ */ n(
|
|
60
|
-
/* @__PURE__ */ e(
|
|
59
|
+
/* @__PURE__ */ n(O, { children: [
|
|
60
|
+
/* @__PURE__ */ e(A, { shortcutKey: r?.shortcutKey }),
|
|
61
61
|
/* @__PURE__ */ e(T, { shortcutKey: r?.shortcutKey })
|
|
62
62
|
] })
|
|
63
63
|
] }) });
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { InkeepConfig } from '../types/index.ts';
|
|
2
1
|
import { EmbeddedChatProviderProps, SidebarChatProps } from '../styled';
|
|
3
|
-
|
|
2
|
+
import { ChatConfig } from './embedded-chat';
|
|
4
3
|
export type InkeepSidebarChatProps = Omit<EmbeddedChatProviderProps, 'isHidden'> & Partial<ChatConfig> & SidebarChatProps;
|
|
5
4
|
export declare function InkeepSidebarChat(props: InkeepSidebarChatProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("../../primitives/components/chat-bubble/index.cjs"),o=require("../utils.cjs"),l=require("./ui/recipes/button.cjs"),s=require("./ui/recipes/scrollable.cjs"),n=({className:t,...e})=>a.jsx(r.ChatBubblePrimitiveRoot,{...e,className:o.cn("[--chat-bubble-bottom:84px] [--chat-bubble-margin:theme(spacing.5)]","bg-white dark:bg-gray-dark-950 fixed height-full z-50","w-screen h-full bottom-0 right-0 rounded-none shadow-none","xs:w-[440px] xs:h-full xs:bottom-[var(--chat-bubble-bottom)] xs:right-5 xs:rounded-xl xs:shadow-2xl xs:max-h-[min(650px,calc(100%-var(--chat-bubble-bottom)-var(--chat-bubble-margin)))]","xs:origin-bottom-right","data-[state=open]:animate-chat-bubble-in xs:data-[state=open]:animate-chat-bubble-in-desktop",t)}),b=({className:t,...e})=>a.jsx(r.Header,{className:o.cn(s.scrollable({section:"header"}),"w-full flex flex-row items-center px-3 py-1.5","bg-white dark:bg-gray-dark-950","after:absolute","after:left-0","after:top-full","after:h-3","after:w-full","after:text-white","after:dark:text-gray-dark-950","after:bg-[linear-gradient(currentColor,_transparent)]","after:z-start",t),...e}),i=({className:t,...e})=>a.jsx(r.CloseButton,{className:o.cn(l.button({variant:"ghost",size:"xs"}),"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",t),...e});exports.CloseButton=i;exports.Header=b;exports.Root=n;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ChatBubblePrimitive } from '../../primitives';
|
|
2
|
+
declare const ChatBubbleRoot: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatBubblePrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const ChatBubbleHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatBubblePrimitive.Header>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const ChatBubbleCloseButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatBubblePrimitive.CloseButton>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export { ChatBubbleRoot as Root, ChatBubbleCloseButton as CloseButton, ChatBubbleHeader as Header };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { ChatBubblePrimitiveRoot as o, CloseButton as l, Header as b } from "../../primitives/components/chat-bubble/index.js";
|
|
4
|
+
import { cn as r } from "../utils.js";
|
|
5
|
+
import { button as s } from "./ui/recipes/button.js";
|
|
6
|
+
import { scrollable as i } from "./ui/recipes/scrollable.js";
|
|
7
|
+
const f = ({
|
|
8
|
+
className: t,
|
|
9
|
+
...e
|
|
10
|
+
}) => /* @__PURE__ */ a(
|
|
11
|
+
o,
|
|
12
|
+
{
|
|
13
|
+
...e,
|
|
14
|
+
className: r(
|
|
15
|
+
// CSS Variables
|
|
16
|
+
"[--chat-bubble-bottom:84px] [--chat-bubble-margin:theme(spacing.5)]",
|
|
17
|
+
// Base layout
|
|
18
|
+
"bg-white dark:bg-gray-dark-950 fixed height-full z-50",
|
|
19
|
+
// Mobile styles
|
|
20
|
+
"w-screen h-full bottom-0 right-0 rounded-none shadow-none",
|
|
21
|
+
// Desktop styles (xs:)
|
|
22
|
+
"xs:w-[440px] xs:h-full xs:bottom-[var(--chat-bubble-bottom)] xs:right-5 xs:rounded-xl xs:shadow-2xl xs:max-h-[min(650px,calc(100%-var(--chat-bubble-bottom)-var(--chat-bubble-margin)))]",
|
|
23
|
+
"xs:origin-bottom-right",
|
|
24
|
+
// Animations
|
|
25
|
+
"data-[state=open]:animate-chat-bubble-in xs:data-[state=open]:animate-chat-bubble-in-desktop",
|
|
26
|
+
t
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
), c = ({
|
|
30
|
+
className: t,
|
|
31
|
+
...e
|
|
32
|
+
}) => /* @__PURE__ */ a(
|
|
33
|
+
b,
|
|
34
|
+
{
|
|
35
|
+
className: r(
|
|
36
|
+
i({ section: "header" }),
|
|
37
|
+
"w-full flex flex-row items-center px-3 py-1.5",
|
|
38
|
+
"bg-white dark:bg-gray-dark-950",
|
|
39
|
+
"after:absolute",
|
|
40
|
+
"after:left-0",
|
|
41
|
+
"after:top-full",
|
|
42
|
+
"after:h-3",
|
|
43
|
+
"after:w-full",
|
|
44
|
+
"after:text-white",
|
|
45
|
+
"after:dark:text-gray-dark-950",
|
|
46
|
+
"after:bg-[linear-gradient(currentColor,_transparent)]",
|
|
47
|
+
"after:z-start",
|
|
48
|
+
t
|
|
49
|
+
),
|
|
50
|
+
...e
|
|
51
|
+
}
|
|
52
|
+
), d = ({
|
|
53
|
+
className: t,
|
|
54
|
+
...e
|
|
55
|
+
}) => /* @__PURE__ */ a(
|
|
56
|
+
l,
|
|
57
|
+
{
|
|
58
|
+
className: r(
|
|
59
|
+
s({ variant: "ghost", size: "xs" }),
|
|
60
|
+
"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",
|
|
61
|
+
t
|
|
62
|
+
),
|
|
63
|
+
...e
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
export {
|
|
67
|
+
d as CloseButton,
|
|
68
|
+
c as Header,
|
|
69
|
+
f as Root
|
|
70
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),n=require("../../primitives/components/chat-button.cjs"),o=require("../utils.cjs"),r=({className:t,...e})=>a.jsx(n.ChatButtonContainer,{className:o.cn("fixed right-6 bottom-6 z-50 mr-[var(--removed-body-scroll-bar-size)]",t),...e}),s=({className:t,...e})=>a.jsx(n.ChatButton,{className:o.cn("bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl dark:shadow-none transition-transform ease-in-out
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),n=require("../../primitives/components/chat-button.cjs"),o=require("../utils.cjs"),r=({className:t,...e})=>a.jsx(n.ChatButtonContainer,{className:o.cn("fixed right-6 bottom-6 z-50 mr-[var(--removed-body-scroll-bar-size)]",t),...e}),s=({className:t,...e})=>a.jsx(n.ChatButton,{className:o.cn("bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl hover:[&:not(:active)]:scale-110 dark:shadow-none transition-transform ease-in-out data-[open]:px-3 active:scale-90 active:transition-transform active:duration-100",t),...e}),c=({className:t,...e})=>a.jsx(n.ChatButtonText,{className:o.cn("flex items-center",t),...e}),i=({className:t,...e})=>a.jsx(n.ChatButtonCloseIcon,{className:o.cn("w-6 h-6",t),...e}),u=({className:t,...e})=>a.jsx(n.ChatButtonPrimitiveAvatarImage,{className:o.cn("data-[type=icon]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","data-[type=icon]:[--end-color:theme(colors.inkeep-expanded-primary.300)]","h-6 w-6",t),...e}),l=({className:t,...e})=>a.jsx(n.ChatButtonAvatarContent,{className:o.cn("",t),...e});exports.ChatButton=s;exports.ChatButtonAvatarContent=l;exports.ChatButtonAvatarImage=u;exports.ChatButtonCloseIcon=i;exports.ChatButtonText=c;exports.Container=r;
|
|
@@ -3,6 +3,7 @@ import { ComponentPropsWithRef } from 'react';
|
|
|
3
3
|
declare const ChatButtonContainer: ({ className, ...props }: ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonContainer>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const ChatButton: ({ className, ...props }: ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButton>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare const ChatButtonText: ({ className, ...props }: ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonText>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const ChatButtonCloseIcon: ({ className, ...props }: ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonCloseIcon>) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
declare const ChatButtonAvatarImage: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonAvatarImage>) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
declare const ChatButtonAvatarContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonAvatarContent>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export { ChatButtonContainer as Container, ChatButton, ChatButtonText, ChatButtonAvatarImage, ChatButtonAvatarContent, };
|
|
9
|
+
export { ChatButtonContainer as Container, ChatButton, ChatButtonText, ChatButtonAvatarImage, ChatButtonAvatarContent, ChatButtonCloseIcon, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import { ChatButtonContainer as n, ChatButton as r, ChatButtonText as i, ChatButtonPrimitiveAvatarImage as s, ChatButtonAvatarContent as m } from "../../primitives/components/chat-button.js";
|
|
3
|
+
import { ChatButtonContainer as n, ChatButton as r, ChatButtonText as i, ChatButtonPrimitiveAvatarImage as s, ChatButtonAvatarContent as m, ChatButtonCloseIcon as c } from "../../primitives/components/chat-button.js";
|
|
4
4
|
import { cn as o } from "../utils.js";
|
|
5
5
|
const u = ({
|
|
6
6
|
className: t,
|
|
@@ -21,15 +21,18 @@ const u = ({
|
|
|
21
21
|
r,
|
|
22
22
|
{
|
|
23
23
|
className: o(
|
|
24
|
-
"bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl dark:shadow-none transition-transform ease-in-out
|
|
24
|
+
"bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl hover:[&:not(:active)]:scale-110 dark:shadow-none transition-transform ease-in-out data-[open]:px-3 active:scale-90 active:transition-transform active:duration-100",
|
|
25
25
|
t
|
|
26
26
|
),
|
|
27
27
|
...a
|
|
28
28
|
}
|
|
29
|
-
),
|
|
29
|
+
), p = ({
|
|
30
30
|
className: t,
|
|
31
31
|
...a
|
|
32
|
-
}) => /* @__PURE__ */ e(i, { className: o("flex items-center", t), ...a }),
|
|
32
|
+
}) => /* @__PURE__ */ e(i, { className: o("flex items-center", t), ...a }), v = ({
|
|
33
|
+
className: t,
|
|
34
|
+
...a
|
|
35
|
+
}) => /* @__PURE__ */ e(c, { className: o("w-6 h-6", t), ...a }), B = ({
|
|
33
36
|
className: t,
|
|
34
37
|
...a
|
|
35
38
|
}) => /* @__PURE__ */ e(
|
|
@@ -50,7 +53,8 @@ const u = ({
|
|
|
50
53
|
export {
|
|
51
54
|
d as ChatButton,
|
|
52
55
|
x as ChatButtonAvatarContent,
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
B as ChatButtonAvatarImage,
|
|
57
|
+
v as ChatButtonCloseIcon,
|
|
58
|
+
p as ChatButtonText,
|
|
55
59
|
u as Container
|
|
56
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),a=require("lucide-react"),r=require("../../primitives/components/data-summaries.cjs"),m=t=>{const{type:l,label:s}=t;return s||l.replace(/_/g," ").replace(/\b\w/g,i=>i.toUpperCase())},d={agent_generate:e.jsx(a.RefreshCw,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),agent_reasoning:e.jsx(a.Brain,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),tool_call:e.jsx(a.Hammer,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),tool_result:e.jsx(a.Hammer,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),transfer:e.jsx(a.ArrowRight,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),delegation_sent:e.jsx(a.Forward,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),delegation_returned:e.jsx(a.CheckCheck,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),artifact_saved:e.jsx(a.Download,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),error:e.jsx(a.TriangleAlert,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),agent_initializing:e.jsx(a.CircleDot,{className:"w-3 h-3 animate-spin"}),completion:e.jsx(a.CheckCheck,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),default:e.jsx(a.Dot,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"})},h={retrieve:e.jsx(a.Search,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),action:e.jsx(a.CheckCheck,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),...d},p=n.memo(({summary:t,showConnector:l})=>{const s=n.useMemo(()=>t.details?JSON.stringify(t.details,null,2):null,[t.details]),i=n.useMemo(()=>m(t),[t]),c=n.useMemo(()=>h[t.type]||h.default,[t.type]);return e.jsxs(r.DataSummaryItem,{className:"flex items-start gap-2 text-xs relative",children:[l&&e.jsx(r.DataSummaryConnector,{className:"absolute left-1.5 top-4 bottom-0 w-px bg-gray-200 dark:bg-white-alpha-200 -mb-3"}),e.jsx(r.DataSummaryIconContainer,{className:"flex items-center justify-center w-3 h-3 relative z-10 mt-0.5",children:c}),e.jsxs(r.DataSummaryContent,{className:"flex-1",children:[e.jsx(r.DataSummaryLabel,{className:"text-gray-700 dark:text-white-alpha-600",children:i}),s&&e.jsx(r.DataSummaryDetails,{className:"mt-2 text-xs whitespace-pre-wrap font-mono bg-gray-50 dark:bg-gray-dark-900 p-2 rounded-md px-3 py-2",children:s})]})]})}),u=n.memo(({summaries:t,isCompleted:l})=>{const[s,i]=n.useState(!l);n.useEffect(()=>{let o;return l?o=setTimeout(()=>{i(!1)},1e3):i(!0),()=>{o&&clearTimeout(o)}},[l]);const c=n.useCallback(()=>{i(!s)},[s]);return e.jsxs(r.DataSummaryGroup,{className:"flex flex-col items-start mb-2.5 mt-2.5 first:mt-1 relative",children:[e.jsx(r.DataSummaryToggle,{type:"button",onClick:c,"data-expanded":s,className:"inline-flex items-center group gap-2 text-xs text-gray-500 dark:text-white-alpha-600 hover:text-gray-700 dark:hover:text-white-alpha-700 transition-colors cursor-pointer",children:l?e.jsxs(e.Fragment,{children:[e.jsx(a.Check,{className:"check-icon w-3 h-3 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 absolute opacity-100 group-hover:opacity-0 group-data-[expanded=true]:opacity-0"}),e.jsx(a.ChevronRight,{className:"chevron-icon w-3 h-3 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 transform opacity-0 rotate-0 group-hover:opacity-100 group-data-[expanded=true]:opacity-100 group-data-[expanded=true]:rotate-90"}),e.jsx(r.DataSummaryToggleText,{className:"font-medium",children:"Completed"})]}):e.jsxs(e.Fragment,{children:[e.jsx(a.LoaderCircle,{className:"w-3 h-3 animate-spin"}),e.jsx(r.DataSummaryToggleText,{className:"font-medium",children:"Thinking..."})]})}),e.jsx(r.DataSummaryCollapsible,{"data-expanded":s,className:"overflow-hidden transition-all duration-300 ease-in-out data-[expanded=true]:opacity-100 data-[expanded=false]:max-h-0 data-[expanded=false]:opacity-0 max-w-full",children:e.jsx(r.DataSummaryList,{className:"pb-2 mt-1.5 space-y-3 relative",children:t.map((o,x)=>e.jsx(p,{summary:o,showConnector:t.length>1&&x<t.length-1},`op-${o.type}-${x}`))})})]})});exports.DataSummaryGroup=u;
|
|
@@ -1,89 +1,89 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as s, jsx as
|
|
3
|
-
import { memo as
|
|
4
|
-
import { Check as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
import { jsxs as s, jsx as a, Fragment as h } from "react/jsx-runtime";
|
|
3
|
+
import { memo as g, useState as u, useEffect as y, useCallback as w, useMemo as n } from "react";
|
|
4
|
+
import { Check as f, ChevronRight as N, LoaderCircle as D, CheckCheck as m, Search as S, Dot as k, CircleDot as v, TriangleAlert as b, Download as C, Forward as P, ArrowRight as _, Hammer as d, Brain as T, RefreshCw as I } from "lucide-react";
|
|
5
|
+
import { DataSummaryGroup as A, DataSummaryToggle as L, DataSummaryToggleText as p, DataSummaryCollapsible as E, DataSummaryList as M, DataSummaryItem as O, DataSummaryConnector as R, DataSummaryIconContainer as j, DataSummaryContent as G, DataSummaryLabel as z, DataSummaryDetails as F } from "../../primitives/components/data-summaries.js";
|
|
6
|
+
const U = (t) => {
|
|
7
|
+
const { type: r, label: e } = t;
|
|
8
|
+
return e || r.replace(/_/g, " ").replace(/\b\w/g, (i) => i.toUpperCase());
|
|
9
|
+
}, $ = {
|
|
10
|
+
agent_generate: /* @__PURE__ */ a(I, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
11
|
+
agent_reasoning: /* @__PURE__ */ a(T, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
12
|
+
tool_call: /* @__PURE__ */ a(d, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
13
|
+
tool_result: /* @__PURE__ */ a(d, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
14
|
+
transfer: /* @__PURE__ */ a(_, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
15
|
+
delegation_sent: /* @__PURE__ */ a(P, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
16
|
+
delegation_returned: /* @__PURE__ */ a(m, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
17
|
+
artifact_saved: /* @__PURE__ */ a(C, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
18
|
+
error: /* @__PURE__ */ a(b, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
19
|
+
agent_initializing: /* @__PURE__ */ a(v, { className: "w-3 h-3 animate-spin" }),
|
|
20
|
+
completion: /* @__PURE__ */ a(m, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
21
|
+
default: /* @__PURE__ */ a(k, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" })
|
|
21
22
|
}, x = {
|
|
22
|
-
retrieve: /* @__PURE__ */
|
|
23
|
-
action: /* @__PURE__ */
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
const
|
|
23
|
+
retrieve: /* @__PURE__ */ a(S, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
24
|
+
action: /* @__PURE__ */ a(m, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
25
|
+
...$
|
|
26
|
+
}, B = g(({ summary: t, showConnector: r }) => {
|
|
27
|
+
const e = n(() => t.details ? JSON.stringify(t.details, null, 2) : null, [t.details]), i = n(() => U(t), [t]), o = n(
|
|
27
28
|
() => x[t.type] || x.default,
|
|
28
29
|
[t.type]
|
|
29
30
|
);
|
|
30
|
-
return /* @__PURE__ */ s(
|
|
31
|
-
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */ s(
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
|
|
31
|
+
return /* @__PURE__ */ s(O, { className: "flex items-start gap-2 text-xs relative", children: [
|
|
32
|
+
r && /* @__PURE__ */ a(R, { className: "absolute left-1.5 top-4 bottom-0 w-px bg-gray-200 dark:bg-white-alpha-200 -mb-3" }),
|
|
33
|
+
/* @__PURE__ */ a(j, { className: "flex items-center justify-center w-3 h-3 relative z-10 mt-0.5", children: o }),
|
|
34
|
+
/* @__PURE__ */ s(G, { className: "flex-1", children: [
|
|
35
|
+
/* @__PURE__ */ a(z, { className: "text-gray-700 dark:text-white-alpha-600", children: i }),
|
|
36
|
+
e && /* @__PURE__ */ a(F, { className: "mt-2 text-xs whitespace-pre-wrap font-mono bg-gray-50 dark:bg-gray-dark-900 p-2 rounded-md px-3 py-2", children: e })
|
|
36
37
|
] })
|
|
37
|
-
] }
|
|
38
|
-
}),
|
|
39
|
-
const [
|
|
40
|
-
|
|
41
|
-
let
|
|
42
|
-
return r ?
|
|
43
|
-
|
|
44
|
-
}, 1e3) :
|
|
45
|
-
|
|
38
|
+
] });
|
|
39
|
+
}), K = g(({ summaries: t, isCompleted: r }) => {
|
|
40
|
+
const [e, i] = u(!r);
|
|
41
|
+
y(() => {
|
|
42
|
+
let l;
|
|
43
|
+
return r ? l = setTimeout(() => {
|
|
44
|
+
i(!1);
|
|
45
|
+
}, 1e3) : i(!0), () => {
|
|
46
|
+
l && clearTimeout(l);
|
|
46
47
|
};
|
|
47
48
|
}, [r]);
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
}, [
|
|
51
|
-
return /* @__PURE__ */ s(
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
|
|
49
|
+
const o = w(() => {
|
|
50
|
+
i(!e);
|
|
51
|
+
}, [e]);
|
|
52
|
+
return /* @__PURE__ */ s(A, { className: "flex flex-col items-start mb-2.5 mt-2.5 first:mt-1 relative", children: [
|
|
53
|
+
/* @__PURE__ */ a(
|
|
54
|
+
L,
|
|
54
55
|
{
|
|
55
56
|
type: "button",
|
|
56
|
-
onClick:
|
|
57
|
-
"data-expanded":
|
|
57
|
+
onClick: o,
|
|
58
|
+
"data-expanded": e,
|
|
58
59
|
className: "inline-flex items-center group gap-2 text-xs text-gray-500 dark:text-white-alpha-600 hover:text-gray-700 dark:hover:text-white-alpha-700 transition-colors cursor-pointer",
|
|
59
60
|
children: r ? /* @__PURE__ */ s(h, { children: [
|
|
60
|
-
/* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ a(f, { className: "check-icon w-3 h-3 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 absolute opacity-100 group-hover:opacity-0 group-data-[expanded=true]:opacity-0" }),
|
|
62
|
+
/* @__PURE__ */ a(N, { className: "chevron-icon w-3 h-3 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 transform opacity-0 rotate-0 group-hover:opacity-100 group-data-[expanded=true]:opacity-100 group-data-[expanded=true]:rotate-90" }),
|
|
63
|
+
/* @__PURE__ */ a(p, { className: "font-medium", children: "Completed" })
|
|
63
64
|
] }) : /* @__PURE__ */ s(h, { children: [
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ a(D, { className: "w-3 h-3 animate-spin" }),
|
|
66
|
+
/* @__PURE__ */ a(p, { className: "font-medium", children: "Thinking..." })
|
|
66
67
|
] })
|
|
67
68
|
}
|
|
68
69
|
),
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
|
|
70
|
+
/* @__PURE__ */ a(
|
|
71
|
+
E,
|
|
71
72
|
{
|
|
72
|
-
"data-expanded":
|
|
73
|
+
"data-expanded": e,
|
|
73
74
|
className: "overflow-hidden transition-all duration-300 ease-in-out data-[expanded=true]:opacity-100 data-[expanded=false]:max-h-0 data-[expanded=false]:opacity-0 max-w-full",
|
|
74
|
-
children: /* @__PURE__ */
|
|
75
|
-
|
|
75
|
+
children: /* @__PURE__ */ a(M, { className: "pb-2 mt-1.5 space-y-3 relative", children: t.map((l, c) => /* @__PURE__ */ a(
|
|
76
|
+
B,
|
|
76
77
|
{
|
|
77
|
-
summary:
|
|
78
|
-
|
|
79
|
-
showConnector: t.length > 1 && o < t.length - 1
|
|
78
|
+
summary: l,
|
|
79
|
+
showConnector: t.length > 1 && c < t.length - 1
|
|
80
80
|
},
|
|
81
|
-
`op-${
|
|
81
|
+
`op-${l.type}-${c}`
|
|
82
82
|
)) })
|
|
83
83
|
}
|
|
84
84
|
)
|
|
85
85
|
] });
|
|
86
86
|
});
|
|
87
87
|
export {
|
|
88
|
-
|
|
88
|
+
K as DataSummaryGroup
|
|
89
89
|
};
|