@inkeep/agents-ui 0.14.10 → 0.14.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +2 -2
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +71 -68
- package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -1
- package/dist/primitives/components/embedded-chat/use-stream-processor.js +110 -57
- package/dist/primitives/components/embedded-search/use-search-filter.cjs +1 -1
- package/dist/primitives/components/embedded-search/use-search-filter.js +1 -1
- package/dist/primitives/hooks/use-streaming-events.cjs +1 -0
- package/dist/primitives/hooks/use-streaming-events.js +140 -0
- package/dist/primitives/providers/base-events-provider.cjs +1 -1
- package/dist/primitives/providers/base-events-provider.js +1 -1
- package/dist/react/embedded-chat.cjs +1 -1
- package/dist/react/embedded-chat.js +123 -120
- package/dist/styled/components/data-summary-group.cjs +1 -1
- package/dist/styled/components/data-summary-group.js +44 -34
- package/dist/styled/components/embedded-search.cjs +1 -1
- package/dist/styled/components/embedded-search.js +1 -1
- package/dist/styled/components/message.cjs +1 -1
- package/dist/styled/components/message.js +39 -39
- package/dist/styled/inkeep.css.cjs +2 -9
- package/dist/styled/inkeep.css.js +2 -9
- package/dist/types/types.d.cts +5 -3
- package/dist/types/types.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e, jsxs as t, Fragment as E } from "react/jsx-runtime";
|
|
3
3
|
import M, { Fragment as T } from "react";
|
|
4
|
-
import { Provider as N, Wrapper as $, Root as R, Header as j, HeaderToolbar as G, HeaderToolbarWrapper as z, ToolbarHeader as J, Disclaimer as k, DisclaimerTrigger as H, DisclaimerContent as f, DisclaimerText as v, DisclaimerArrow as w, Content as K, ContentScrollArea as U, ContentScrollAreaViewport as X, ContentScrollAreaScrollbar as Y, ContentScrollAreaThumb as Z, ContentScrollAreaCorner as q, Footer as ee, FeedbackModal as te, FeedbackModalOverlay as ae, FeedbackModalContent as de, FeedbackModalHeader as re, FeedbackModalClose as ne, FeedbackModalBody as se, FeedbackForm as oe, FeedbackItem as h, FeedbackItemCheckbox as l, FeedbackItemCheckboxIndicator as b, FeedbackItemLabel as C, FeedbackItemDescription as F, FeedbackSubmitButton as me, FormWrapper as ce, FormClose as ie, Form as he, FormHeader as le, FormHeading as be, FormDescription as Ce, FormContent as Ee, FormField as Fe, FormFieldLabel as pe, FormFieldText as ue, FormFieldEmail as Ae, FormFieldFile as ge, FormFieldTextArea as Me, FormFieldCheckbox as Ie, FormFieldCheckboxIndicator as Be, FormFieldSelect as Se, FormFieldSelectTrigger as Te, FormFieldSelectValue as ke, FormFieldSelectIcon as He, FormFieldSelectContent as fe, FormFieldSelectViewport as ve, FormFieldSelectItem as we, FormFieldSelectItemText as xe, FormFieldSelectItemIndicator as ye, FormFieldError as
|
|
4
|
+
import { Provider as N, Wrapper as $, Root as R, Header as j, HeaderToolbar as G, HeaderToolbarWrapper as z, ToolbarHeader as J, Disclaimer as k, DisclaimerTrigger as H, DisclaimerContent as f, DisclaimerText as v, DisclaimerArrow as w, Content as K, ContentScrollArea as U, ContentScrollAreaViewport as X, ContentScrollAreaScrollbar as Y, ContentScrollAreaThumb as Z, ContentScrollAreaCorner as q, Footer as ee, FeedbackModal as te, FeedbackModalOverlay as ae, FeedbackModalContent as de, FeedbackModalHeader as re, FeedbackModalClose as ne, FeedbackModalBody as se, FeedbackForm as oe, FeedbackItem as h, FeedbackItemCheckbox as l, FeedbackItemCheckboxIndicator as b, FeedbackItemLabel as C, FeedbackItemDescription as F, FeedbackSubmitButton as me, FormWrapper as ce, FormClose as ie, Form as he, FormHeader as le, FormHeading as be, FormDescription as Ce, FormContent as Ee, FormField as Fe, FormFieldLabel as pe, FormFieldText as ue, FormFieldEmail as Ae, FormFieldFile as ge, FormFieldTextArea as Me, FormFieldCheckbox as Ie, FormFieldCheckboxIndicator as Be, FormFieldSelect as Se, FormFieldSelectTrigger as Te, FormFieldSelectValue as ke, FormFieldSelectIcon as He, FormFieldSelectContent as fe, FormFieldSelectViewport as ve, FormFieldSelectItem as we, FormFieldSelectItemText as xe, FormFieldSelectItemIndicator as ye, FormFieldError as Le, FormError as De, FormFooter as Pe, FormCancel as We, FormSubmit as _e, FormSuccess as Ve, FormSuccessHeading as Qe, FormSuccessMessage as Oe, FormSuccessButton as Ne, Messages as $e, MessageWrapper as I, MessageContentWrapper as x, MessageContent as y, DynamicComponent as Re, MessageLoading as je, InputFieldset as Ge, InputGroup as ze, Input as Je, SendButton as Ke, SendButtonIcon as Ue, AttachmentsBar as Xe, AttachmentsBarList as Ye, AttachmentsBarAttachment as Ze, AttachmentsBarAttachmentIcon as qe, AttachmentsBarAttachmentTitle as et, AttachmentsBarAttachmentDelete as tt, AttachmentsBarActions as at, AttachmentsBarInfoTip as dt, AttachmentsBarInfoTipIcon as rt, AttachmentsBarInfoTipText as nt, AttachmentsBarInputs as st, AttachmentsBarInput as ot, AttachmentsBarModal as mt, AttachmentsBarModalOverlay as ct, AttachmentsBarModalContent as it, AttachmentsBarModalHeader as ht, AttachmentsBarModalHeading as lt, AttachmentsBarModalDescription as bt, AttachmentsBarModalHelp as Ct, AttachmentsBarModalClose as Et, AttachmentsBarModalBody as Ft, AttachmentsBarForm as pt, AttachmentsBarFormTitle as ut, AttachmentsBarFormTitleLabel as At, AttachmentsBarFormTitleInput as gt, AttachmentsBarFormTitleError as Mt, AttachmentsBarFormContent as It, AttachmentsBarFormContentLabel as Bt, AttachmentsBarFormContentInput as St, AttachmentsBarFormContentError as Tt, AttachmentsBarFormSubmitButton as kt, ActionBar as Ht, TaglineContainer as ft, TaglineText as vt, TaglineLogo as wt, TaglineBrandName as xt, Actions as yt, HelpActions as Lt, HelpAction as Dt, HelpActionsTrigger as Pt, HelpActionsMenu as Wt, HelpActionsMenuArrow as _t, HelpActionsMenuItem as Vt, HelpActionsMenuItemIcon as Qt, ChatAction as p, ChatActionLabel as Ot, ChatActionFeedback as Nt, IntroMessageWrapper as $t, MessageHeader as L, MessageAvatar as D, MessageAvatarContent as P, MessageAvatarFallback as W, MessageAvatarImage as _, MessageName as V, DisclaimerLabel as Rt, ExampleQuestions as jt, ExampleQuestionsLabel as Gt, ExampleQuestionsList as zt, ExampleQuestion as Jt, ExampleQuestionButton as Kt, Markdown as Ut, MessageSources as Xt, MessageSourcesHeader as Yt, MessageSourcesList as Zt, MessageSourceItem as qt, MessageSourceItemBreadcrumbs as ea, MessageSourceItemBreadcrumbIcon as ta, MessageSourceItemIcon as aa, MessageSourceItemTitle as da, MessageSourceItemTag as ra, MessageSourceItemDescription as na, MessageSourceItemDescriptionPart as sa, MessageSourceItemIndicator as oa, MessageAttachments as ma, MessageAttachmentsList as ca, MessageAttachmentsItem as ia, MessageAttachmentsItemIcon as ha, MessageAttachmentsItemTitle as la, MessageAttachmentsPreview as ba, MessageAttachmentsPreviewOverlay as Ca, MessageAttachmentsPreviewContent as Ea, MessageAttachmentsPreviewHeader as Fa, MessageAttachmentsPreviewClose as pa, MessageAttachmentsPreviewBody as ua, MessageToolbar as Aa, MessageAnnotationActions as ga, MessageAnnotationAction as Ma, MessageAction as u } from "../styled/components/embedded-chat.js";
|
|
5
5
|
import { Close as B } from "../styled/components/modal.js";
|
|
6
|
-
import { Shadow as
|
|
6
|
+
import { Shadow as Ia } from "../styled/components/shadow.js";
|
|
7
7
|
import { EmbeddedChatMessagePart as Q } from "../styled/components/message.js";
|
|
8
|
-
import { WebWidgetInteractionType as
|
|
9
|
-
import { RootProvider as
|
|
10
|
-
import { useWidget as
|
|
11
|
-
import { useModal as
|
|
8
|
+
import { WebWidgetInteractionType as Ba, useInkeepConfig as Sa } from "../primitives/providers/config-provider.js";
|
|
9
|
+
import { RootProvider as Ta } from "../primitives/providers/root-provider.js";
|
|
10
|
+
import { useWidget as ka } from "../primitives/providers/widget-provider.js";
|
|
11
|
+
import { useModal as Ha } from "../primitives/components/modal/modal-provider.js";
|
|
12
12
|
import { dataAttr as O } from "../primitives/utils/misc.js";
|
|
13
13
|
import { PortalWithTheme as A } from "../primitives/atoms/portal-with-theme.js";
|
|
14
|
-
import { ErrorBoundary as
|
|
15
|
-
import { ModalContent as
|
|
16
|
-
import { WidgetToggle as
|
|
17
|
-
function
|
|
14
|
+
import { ErrorBoundary as fa } from "../primitives/atoms/error-boundary.js";
|
|
15
|
+
import { ModalContent as va } from "./modal.js";
|
|
16
|
+
import { WidgetToggle as wa } from "./widget-toggle.js";
|
|
17
|
+
function od(d) {
|
|
18
18
|
const { baseSettings: a, aiChatSettings: r } = d;
|
|
19
|
-
return /* @__PURE__ */ e(
|
|
20
|
-
|
|
19
|
+
return /* @__PURE__ */ e(fa, { children: /* @__PURE__ */ e(
|
|
20
|
+
Ia,
|
|
21
21
|
{
|
|
22
22
|
wrapperStyles: {
|
|
23
23
|
height: "inherit",
|
|
24
24
|
width: "inherit"
|
|
25
25
|
},
|
|
26
26
|
children: /* @__PURE__ */ e(
|
|
27
|
-
|
|
27
|
+
Ta,
|
|
28
28
|
{
|
|
29
29
|
config: {
|
|
30
30
|
baseSettings: a,
|
|
31
31
|
aiChatSettings: r
|
|
32
32
|
},
|
|
33
|
-
componentType:
|
|
34
|
-
children: /* @__PURE__ */ e(
|
|
33
|
+
componentType: Ba.EmbeddedChat,
|
|
34
|
+
children: /* @__PURE__ */ e(ya, { ...d })
|
|
35
35
|
}
|
|
36
36
|
)
|
|
37
37
|
}
|
|
38
38
|
) });
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function xa(d) {
|
|
41
41
|
const { children: a, onToggleView: r, isHidden: n, shouldAutoFocusInput: s = !r } = d;
|
|
42
42
|
return /* @__PURE__ */ e(N, { isHidden: n, shouldAutoFocusInput: s, children: a });
|
|
43
43
|
}
|
|
44
|
-
function xa(d) {
|
|
45
|
-
return /* @__PURE__ */ e(wa, { ...d, children: /* @__PURE__ */ e(ya, { ...d }) });
|
|
46
|
-
}
|
|
47
44
|
function ya(d) {
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
return /* @__PURE__ */ e(xa, { ...d, children: /* @__PURE__ */ e(La, { ...d }) });
|
|
46
|
+
}
|
|
47
|
+
function La(d) {
|
|
48
|
+
const { onToggleView: a, variant: r, header: n = Da } = d, s = Ha(), m = ka();
|
|
49
|
+
return /* @__PURE__ */ e(s && !m ? va : T, { children: /* @__PURE__ */ t(
|
|
50
50
|
$,
|
|
51
51
|
{
|
|
52
52
|
variant: r ?? (a ? "no-shadow" : "container-with-shadow"),
|
|
@@ -54,11 +54,11 @@ function ya(d) {
|
|
|
54
54
|
children: [
|
|
55
55
|
/* @__PURE__ */ t(R, { children: [
|
|
56
56
|
n && /* @__PURE__ */ e(n, { ...d }),
|
|
57
|
-
/* @__PURE__ */ e(
|
|
58
|
-
/* @__PURE__ */ e(
|
|
57
|
+
/* @__PURE__ */ e(Pa, {}),
|
|
58
|
+
/* @__PURE__ */ e(Na, {})
|
|
59
59
|
] }),
|
|
60
|
-
/* @__PURE__ */ e(
|
|
61
|
-
/* @__PURE__ */ e(
|
|
60
|
+
/* @__PURE__ */ e(ja, {}),
|
|
61
|
+
/* @__PURE__ */ e(Ga, {})
|
|
62
62
|
]
|
|
63
63
|
}
|
|
64
64
|
) });
|
|
@@ -77,7 +77,7 @@ const Da = (d) => {
|
|
|
77
77
|
] })
|
|
78
78
|
] }),
|
|
79
79
|
/* @__PURE__ */ e(
|
|
80
|
-
|
|
80
|
+
wa,
|
|
81
81
|
{
|
|
82
82
|
onToggleView: a,
|
|
83
83
|
askAILabel: r,
|
|
@@ -88,17 +88,17 @@ const Da = (d) => {
|
|
|
88
88
|
/* @__PURE__ */ e(B, {})
|
|
89
89
|
] }) : /* @__PURE__ */ e(B, {}) });
|
|
90
90
|
};
|
|
91
|
-
function
|
|
91
|
+
function Pa() {
|
|
92
92
|
return /* @__PURE__ */ e(K, { children: /* @__PURE__ */ t(U, { children: [
|
|
93
|
-
/* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(
|
|
93
|
+
/* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(Wa, {}) }),
|
|
94
94
|
/* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(Z, {}) }),
|
|
95
95
|
/* @__PURE__ */ e(q, {})
|
|
96
96
|
] }) });
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Wa() {
|
|
99
99
|
const {
|
|
100
100
|
aiChatSettings: { components: d }
|
|
101
|
-
} =
|
|
101
|
+
} = Sa();
|
|
102
102
|
return /* @__PURE__ */ e($e, { children: ({ messages: a, isLoading: r }) => {
|
|
103
103
|
const n = a.at(-1), s = (o, g) => {
|
|
104
104
|
const c = d?.[o];
|
|
@@ -112,9 +112,9 @@ function Pa() {
|
|
|
112
112
|
} catch (i) {
|
|
113
113
|
return console.error(`🔍 [renderComponent] Error rendering component "${o}":`, i), null;
|
|
114
114
|
}
|
|
115
|
-
}, m = (o) => /* @__PURE__ */ e(
|
|
115
|
+
}, m = (o) => /* @__PURE__ */ e(Ut, { text: o });
|
|
116
116
|
return /* @__PURE__ */ t(E, { children: [
|
|
117
|
-
/* @__PURE__ */ e(
|
|
117
|
+
/* @__PURE__ */ e(_a, {}),
|
|
118
118
|
a.map((o) => /* @__PURE__ */ t(I, { message: o, children: [
|
|
119
119
|
/* @__PURE__ */ e(S, {}),
|
|
120
120
|
/* @__PURE__ */ t(x, { children: [
|
|
@@ -127,13 +127,13 @@ function Pa() {
|
|
|
127
127
|
}
|
|
128
128
|
) : /* @__PURE__ */ t(E, { children: [
|
|
129
129
|
/* @__PURE__ */ e(Q, { isLast: n?.id === o.id }),
|
|
130
|
-
/* @__PURE__ */ e(
|
|
130
|
+
/* @__PURE__ */ e(Oa, {})
|
|
131
131
|
] }) }),
|
|
132
|
-
/* @__PURE__ */ e(
|
|
133
|
-
/* @__PURE__ */ e(
|
|
132
|
+
/* @__PURE__ */ e(Va, {}),
|
|
133
|
+
/* @__PURE__ */ e(Qa, {})
|
|
134
134
|
] })
|
|
135
135
|
] }, o.id)),
|
|
136
|
-
r && n?.parts.length && /* @__PURE__ */
|
|
136
|
+
r && n?.parts.length && /* @__PURE__ */ t(
|
|
137
137
|
I,
|
|
138
138
|
{
|
|
139
139
|
message: {
|
|
@@ -141,16 +141,19 @@ function Pa() {
|
|
|
141
141
|
role: "assistant",
|
|
142
142
|
parts: [{ type: "text", text: "Thinking..." }]
|
|
143
143
|
},
|
|
144
|
-
children:
|
|
144
|
+
children: [
|
|
145
|
+
/* @__PURE__ */ e(S, {}),
|
|
146
|
+
/* @__PURE__ */ e(je, {})
|
|
147
|
+
]
|
|
145
148
|
}
|
|
146
149
|
)
|
|
147
150
|
] });
|
|
148
151
|
} });
|
|
149
152
|
}
|
|
150
|
-
function
|
|
151
|
-
return /* @__PURE__ */ t(
|
|
152
|
-
/* @__PURE__ */ t(
|
|
153
|
-
/* @__PURE__ */ e(
|
|
153
|
+
function _a() {
|
|
154
|
+
return /* @__PURE__ */ t($t, { children: [
|
|
155
|
+
/* @__PURE__ */ t(L, { children: [
|
|
156
|
+
/* @__PURE__ */ e(D, { children: /* @__PURE__ */ t(P, { children: [
|
|
154
157
|
/* @__PURE__ */ e(W, {}),
|
|
155
158
|
/* @__PURE__ */ e(_, {})
|
|
156
159
|
] }) }),
|
|
@@ -159,150 +162,150 @@ function Wa() {
|
|
|
159
162
|
/* @__PURE__ */ t(x, { children: [
|
|
160
163
|
/* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(Q, { isLast: !1 }) }),
|
|
161
164
|
/* @__PURE__ */ t(k, { children: [
|
|
162
|
-
/* @__PURE__ */ e(
|
|
165
|
+
/* @__PURE__ */ e(Rt, {}),
|
|
163
166
|
/* @__PURE__ */ e(H, {}),
|
|
164
167
|
/* @__PURE__ */ t(f, { children: [
|
|
165
168
|
/* @__PURE__ */ e(v, {}),
|
|
166
169
|
/* @__PURE__ */ e(w, {})
|
|
167
170
|
] })
|
|
168
171
|
] }),
|
|
169
|
-
/* @__PURE__ */ t(
|
|
170
|
-
/* @__PURE__ */ e(
|
|
171
|
-
/* @__PURE__ */ e(
|
|
172
|
+
/* @__PURE__ */ t(jt, { children: [
|
|
173
|
+
/* @__PURE__ */ e(Gt, {}),
|
|
174
|
+
/* @__PURE__ */ e(zt, { children: (d) => d.map((a) => /* @__PURE__ */ e(Jt, { children: /* @__PURE__ */ e(Kt, { question: a }) }, a)) })
|
|
172
175
|
] })
|
|
173
176
|
] })
|
|
174
177
|
] });
|
|
175
178
|
}
|
|
176
179
|
function S() {
|
|
177
|
-
return /* @__PURE__ */ t(
|
|
178
|
-
/* @__PURE__ */ e(
|
|
180
|
+
return /* @__PURE__ */ t(L, { children: [
|
|
181
|
+
/* @__PURE__ */ e(D, { children: /* @__PURE__ */ t(P, { children: [
|
|
179
182
|
/* @__PURE__ */ e(W, {}),
|
|
180
183
|
/* @__PURE__ */ e(_, {})
|
|
181
184
|
] }) }),
|
|
182
185
|
/* @__PURE__ */ e(V, {})
|
|
183
186
|
] });
|
|
184
187
|
}
|
|
185
|
-
function
|
|
186
|
-
return /* @__PURE__ */ t(
|
|
187
|
-
/* @__PURE__ */ e(
|
|
188
|
-
/* @__PURE__ */ e(
|
|
189
|
-
/* @__PURE__ */ e(
|
|
188
|
+
function Va() {
|
|
189
|
+
return /* @__PURE__ */ t(ma, { children: [
|
|
190
|
+
/* @__PURE__ */ e(ca, { children: (d) => d.map((a) => /* @__PURE__ */ t(ia, { attachment: a, children: [
|
|
191
|
+
/* @__PURE__ */ e(ha, {}),
|
|
192
|
+
/* @__PURE__ */ e(la, {})
|
|
190
193
|
] }, a.id)) }),
|
|
191
|
-
/* @__PURE__ */ e(
|
|
192
|
-
/* @__PURE__ */ e(Ea, {}),
|
|
194
|
+
/* @__PURE__ */ e(ba, { children: /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(Ca, { children: /* @__PURE__ */ t(Ea, { children: [
|
|
193
195
|
/* @__PURE__ */ e(Fa, {}),
|
|
194
|
-
/* @__PURE__ */ e(pa, {})
|
|
196
|
+
/* @__PURE__ */ e(pa, {}),
|
|
197
|
+
/* @__PURE__ */ e(ua, {})
|
|
195
198
|
] }) }) }) })
|
|
196
199
|
] });
|
|
197
200
|
}
|
|
198
|
-
function
|
|
199
|
-
return /* @__PURE__ */ t(
|
|
200
|
-
/* @__PURE__ */ e(
|
|
201
|
+
function Qa() {
|
|
202
|
+
return /* @__PURE__ */ t(Aa, { children: [
|
|
203
|
+
/* @__PURE__ */ e(ga, { children: (d) => d.map((a, r) => /* @__PURE__ */ e(Ma, { action: a }, `action-${r}`)) }),
|
|
201
204
|
/* @__PURE__ */ e(u, { action: "copy" }),
|
|
202
205
|
/* @__PURE__ */ e(u, { action: "upvote" }),
|
|
203
206
|
/* @__PURE__ */ e(u, { action: "downvote" })
|
|
204
207
|
] });
|
|
205
208
|
}
|
|
206
|
-
function
|
|
207
|
-
return /* @__PURE__ */ t(
|
|
208
|
-
/* @__PURE__ */ e(
|
|
209
|
-
/* @__PURE__ */ e(
|
|
210
|
-
/* @__PURE__ */ e(
|
|
209
|
+
function Oa() {
|
|
210
|
+
return /* @__PURE__ */ t(Xt, { children: [
|
|
211
|
+
/* @__PURE__ */ e(Yt, {}),
|
|
212
|
+
/* @__PURE__ */ e(Zt, { children: (d) => d.map((a, r) => /* @__PURE__ */ t(qt, { href: a.url, source: a, children: [
|
|
213
|
+
/* @__PURE__ */ e(ea, { children: a.breadcrumbs?.map((n) => /* @__PURE__ */ t(T, { children: [
|
|
211
214
|
n,
|
|
212
|
-
/* @__PURE__ */ e(
|
|
215
|
+
/* @__PURE__ */ e(ta, {})
|
|
213
216
|
] }, n)) }),
|
|
214
|
-
/* @__PURE__ */ e(ta, {}),
|
|
215
217
|
/* @__PURE__ */ e(aa, {}),
|
|
216
218
|
/* @__PURE__ */ e(da, {}),
|
|
217
|
-
/* @__PURE__ */ e(ra, {
|
|
218
|
-
|
|
219
|
+
/* @__PURE__ */ e(ra, {}),
|
|
220
|
+
/* @__PURE__ */ e(na, { children: (n) => n.map((s, m) => /* @__PURE__ */ e(
|
|
221
|
+
sa,
|
|
219
222
|
{
|
|
220
223
|
part: s
|
|
221
224
|
},
|
|
222
225
|
`part-${m}`
|
|
223
226
|
)) }),
|
|
224
|
-
/* @__PURE__ */ e(
|
|
227
|
+
/* @__PURE__ */ e(oa, {})
|
|
225
228
|
] }, r)) })
|
|
226
229
|
] });
|
|
227
230
|
}
|
|
228
|
-
function
|
|
231
|
+
function Na() {
|
|
229
232
|
return /* @__PURE__ */ t(ee, { children: [
|
|
230
|
-
/* @__PURE__ */ e(
|
|
231
|
-
/* @__PURE__ */ e(
|
|
233
|
+
/* @__PURE__ */ e($a, {}),
|
|
234
|
+
/* @__PURE__ */ e(Ra, {})
|
|
232
235
|
] });
|
|
233
236
|
}
|
|
234
|
-
function
|
|
235
|
-
return /* @__PURE__ */ t(
|
|
236
|
-
/* @__PURE__ */ t(
|
|
237
|
-
/* @__PURE__ */ e(
|
|
238
|
-
/* @__PURE__ */ e(
|
|
237
|
+
function $a() {
|
|
238
|
+
return /* @__PURE__ */ t(Ge, { children: [
|
|
239
|
+
/* @__PURE__ */ t(ze, { children: [
|
|
240
|
+
/* @__PURE__ */ e(Je, {}),
|
|
241
|
+
/* @__PURE__ */ e(Ke, { children: /* @__PURE__ */ e(Ue, {}) })
|
|
239
242
|
] }),
|
|
240
|
-
/* @__PURE__ */ t(
|
|
241
|
-
/* @__PURE__ */ e(
|
|
242
|
-
/* @__PURE__ */ e(Ze, {}),
|
|
243
|
+
/* @__PURE__ */ t(Xe, { children: [
|
|
244
|
+
/* @__PURE__ */ e(Ye, { children: (d) => d.map((a) => /* @__PURE__ */ t(Ze, { attachment: a, children: [
|
|
243
245
|
/* @__PURE__ */ e(qe, {}),
|
|
244
|
-
/* @__PURE__ */ e(et, {})
|
|
246
|
+
/* @__PURE__ */ e(et, {}),
|
|
247
|
+
/* @__PURE__ */ e(tt, {})
|
|
245
248
|
] }, a.id)) }),
|
|
246
|
-
/* @__PURE__ */ t(
|
|
247
|
-
/* @__PURE__ */ t(
|
|
248
|
-
/* @__PURE__ */ e(
|
|
249
|
-
/* @__PURE__ */ e(
|
|
249
|
+
/* @__PURE__ */ t(at, { children: [
|
|
250
|
+
/* @__PURE__ */ t(dt, { children: [
|
|
251
|
+
/* @__PURE__ */ e(rt, {}),
|
|
252
|
+
/* @__PURE__ */ e(nt, {})
|
|
250
253
|
] }),
|
|
251
|
-
/* @__PURE__ */ e(
|
|
254
|
+
/* @__PURE__ */ e(st, { children: (d) => d.map((a) => /* @__PURE__ */ e(ot, { input: a, children: a.displayName }, a.id)) })
|
|
252
255
|
] }),
|
|
253
|
-
/* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(
|
|
254
|
-
/* @__PURE__ */ t(
|
|
255
|
-
/* @__PURE__ */ e(ht, {}),
|
|
256
|
+
/* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(mt, { children: /* @__PURE__ */ e(ct, { children: /* @__PURE__ */ t(it, { children: [
|
|
257
|
+
/* @__PURE__ */ t(ht, { children: [
|
|
256
258
|
/* @__PURE__ */ e(lt, {}),
|
|
257
|
-
/* @__PURE__ */ e(bt, {})
|
|
259
|
+
/* @__PURE__ */ e(bt, {}),
|
|
260
|
+
/* @__PURE__ */ e(Ct, {})
|
|
258
261
|
] }),
|
|
259
|
-
/* @__PURE__ */ e(
|
|
260
|
-
/* @__PURE__ */ e(
|
|
261
|
-
/* @__PURE__ */ t(
|
|
262
|
-
/* @__PURE__ */ e(ut, {}),
|
|
262
|
+
/* @__PURE__ */ e(Et, {}),
|
|
263
|
+
/* @__PURE__ */ e(Ft, { children: /* @__PURE__ */ t(pt, { children: [
|
|
264
|
+
/* @__PURE__ */ t(ut, { children: [
|
|
263
265
|
/* @__PURE__ */ e(At, {}),
|
|
264
|
-
/* @__PURE__ */ e(gt, {})
|
|
266
|
+
/* @__PURE__ */ e(gt, {}),
|
|
267
|
+
/* @__PURE__ */ e(Mt, {})
|
|
265
268
|
] }),
|
|
266
|
-
/* @__PURE__ */ t(
|
|
267
|
-
/* @__PURE__ */ e(It, {}),
|
|
269
|
+
/* @__PURE__ */ t(It, { children: [
|
|
268
270
|
/* @__PURE__ */ e(Bt, {}),
|
|
269
|
-
/* @__PURE__ */ e(St, {})
|
|
271
|
+
/* @__PURE__ */ e(St, {}),
|
|
272
|
+
/* @__PURE__ */ e(Tt, {})
|
|
270
273
|
] }),
|
|
271
|
-
/* @__PURE__ */ e(
|
|
274
|
+
/* @__PURE__ */ e(kt, {})
|
|
272
275
|
] }) })
|
|
273
276
|
] }) }) }) })
|
|
274
277
|
] })
|
|
275
278
|
] });
|
|
276
279
|
}
|
|
277
|
-
function
|
|
278
|
-
return /* @__PURE__ */ t(
|
|
279
|
-
/* @__PURE__ */ t(
|
|
280
|
-
/* @__PURE__ */ e(ft, {}),
|
|
280
|
+
function Ra() {
|
|
281
|
+
return /* @__PURE__ */ t(Ht, { children: [
|
|
282
|
+
/* @__PURE__ */ t(ft, { children: [
|
|
281
283
|
/* @__PURE__ */ e(vt, {}),
|
|
282
|
-
/* @__PURE__ */ e(wt, {})
|
|
284
|
+
/* @__PURE__ */ e(wt, {}),
|
|
285
|
+
/* @__PURE__ */ e(xt, {})
|
|
283
286
|
] }),
|
|
284
|
-
/* @__PURE__ */ t(
|
|
285
|
-
/* @__PURE__ */ e(
|
|
287
|
+
/* @__PURE__ */ t(yt, { children: [
|
|
288
|
+
/* @__PURE__ */ e(Lt, { children: ({ pinned: d, unpinned: a }) => /* @__PURE__ */ t(E, { children: [
|
|
286
289
|
d.map((r) => /* @__PURE__ */ e(Dt, { action: r }, r.name)),
|
|
287
|
-
a.length > 0 && /* @__PURE__ */ e(
|
|
288
|
-
/* @__PURE__ */ t(
|
|
289
|
-
/* @__PURE__ */ e(
|
|
290
|
-
a.map((r) => /* @__PURE__ */ t(
|
|
291
|
-
/* @__PURE__ */ e(
|
|
290
|
+
a.length > 0 && /* @__PURE__ */ e(Pt, {}),
|
|
291
|
+
/* @__PURE__ */ t(Wt, { children: [
|
|
292
|
+
/* @__PURE__ */ e(_t, {}),
|
|
293
|
+
a.map((r) => /* @__PURE__ */ t(Vt, { action: r, children: [
|
|
294
|
+
/* @__PURE__ */ e(Qt, { action: r }),
|
|
292
295
|
r.name
|
|
293
296
|
] }, r.name))
|
|
294
297
|
] })
|
|
295
298
|
] }) }),
|
|
296
299
|
/* @__PURE__ */ t(p, { action: "copy", children: [
|
|
297
|
-
/* @__PURE__ */ e(
|
|
298
|
-
/* @__PURE__ */ e(
|
|
300
|
+
/* @__PURE__ */ e(Ot, { action: "copy" }),
|
|
301
|
+
/* @__PURE__ */ e(Nt, { action: "copy" })
|
|
299
302
|
] }),
|
|
300
303
|
/* @__PURE__ */ e(p, { action: "clear" }),
|
|
301
304
|
/* @__PURE__ */ e(p, { action: "stop" })
|
|
302
305
|
] })
|
|
303
306
|
] });
|
|
304
307
|
}
|
|
305
|
-
function
|
|
308
|
+
function ja() {
|
|
306
309
|
return /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(te, { children: /* @__PURE__ */ e(ae, { children: /* @__PURE__ */ t(de, { children: [
|
|
307
310
|
/* @__PURE__ */ e(re, {}),
|
|
308
311
|
/* @__PURE__ */ e(ne, {}),
|
|
@@ -330,7 +333,7 @@ function Ra() {
|
|
|
330
333
|
] }) })
|
|
331
334
|
] }) }) }) });
|
|
332
335
|
}
|
|
333
|
-
function
|
|
336
|
+
function Ga() {
|
|
334
337
|
return /* @__PURE__ */ t(ce, { children: [
|
|
335
338
|
/* @__PURE__ */ e(ie, {}),
|
|
336
339
|
/* @__PURE__ */ t(he, { children: [
|
|
@@ -356,9 +359,9 @@ function ja() {
|
|
|
356
359
|
/* @__PURE__ */ e(ye, {})
|
|
357
360
|
] }, n.value)) }) })
|
|
358
361
|
] }),
|
|
359
|
-
/* @__PURE__ */ e(
|
|
362
|
+
/* @__PURE__ */ e(Le, {})
|
|
360
363
|
] }, a.name)),
|
|
361
|
-
/* @__PURE__ */ e(
|
|
364
|
+
/* @__PURE__ */ e(De, {})
|
|
362
365
|
] }) }),
|
|
363
366
|
/* @__PURE__ */ t(Pe, { children: [
|
|
364
367
|
/* @__PURE__ */ e(We, {}),
|
|
@@ -373,8 +376,8 @@ function ja() {
|
|
|
373
376
|
] });
|
|
374
377
|
}
|
|
375
378
|
export {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
379
|
+
od as InkeepEmbeddedChat,
|
|
380
|
+
ya as InkeepEmbeddedChatImpl,
|
|
381
|
+
La as InkeepEmbeddedChatImplContent,
|
|
382
|
+
xa as InkeepEmbeddedChatProvider
|
|
380
383
|
};
|
|
@@ -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"),x=t=>{const{type:s,label:r}=t;return r||s.replace(/_/g," ").replace(/\b\w/g,l=>l.toUpperCase())},h={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_execution: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"}),default:e.jsx(a.Dot,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"})},d={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"}),default:e.jsx(a.Dot,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),...h},p=n.memo(({summary:t,index:s,showConnector:r})=>{const l=n.useMemo(()=>t.details?JSON.stringify(t.details,null,2):null,[t.details]),o=n.useMemo(()=>x(t),[t]),i=n.useMemo(()=>d[t.type]||d.default,[t.type]);return e.jsxs("div",{className:"flex items-start gap-2 text-xs relative",children:[r&&e.jsx("div",{className:"absolute left-1.5 top-4 bottom-0 w-px bg-gray-200 dark:bg-white-alpha-200 -mb-3"}),e.jsx("div",{className:"flex items-center justify-center w-3 h-3 relative z-10 mt-0.5",children:i}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:" text-gray-700 dark:text-white-alpha-600",children:o}),l&&e.jsx("pre",{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:l})]})]},`op-${t.type}-${s}`)}),m=n.memo(({summaries:t,isCompleted:s})=>{const[r,l]=n.useState(!s);n.useEffect(()=>{let i;return s?i=setTimeout(()=>{l(!1)},1e3):l(!0),()=>{i&&clearTimeout(i)}},[s]);const o=n.useCallback(()=>{l(!r)},[r]);return e.jsxs("div",{className:"flex flex-col items-start mb-2.5 mt-2.5 first:mt-1 relative",children:[e.jsx("button",{type:"button",onClick:o,"data-expanded":r,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:s?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("span",{className:"font-medium",children:"Completed"})]}):e.jsxs(e.Fragment,{children:[e.jsx(a.LoaderCircle,{className:"w-3 h-3 animate-spin"}),e.jsx("span",{className:"font-medium",children:"Thinking..."})]})}),e.jsx("div",{"data-expanded":r,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("div",{className:"pb-2 mt-1.5 space-y-3 relative",children:t.map((i,c)=>e.jsx(p,{summary:i,index:c,showConnector:t.length>1&&c<t.length-1},`op-${i.type}-${c}`))})})]})});exports.DataSummaryGroup=m;
|
|
@@ -1,30 +1,40 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { memo as
|
|
4
|
-
import { Check as
|
|
5
|
-
const
|
|
2
|
+
import { jsxs as s, jsx as e, Fragment as c } from "react/jsx-runtime";
|
|
3
|
+
import { memo as p, useState as g, useEffect as w, useCallback as u, useMemo as d } from "react";
|
|
4
|
+
import { Check as f, ChevronRight as y, LoaderCircle as N, Dot as x, CheckCheck as m, Search as k, Download as v, Forward as b, ArrowRight as _, Hammer as C, Brain as S, RefreshCw as A } from "lucide-react";
|
|
5
|
+
const E = (t) => {
|
|
6
6
|
const { type: r, label: a } = t;
|
|
7
7
|
return a || r.replace(/_/g, " ").replace(/\b\w/g, (l) => l.toUpperCase());
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
}, I = {
|
|
9
|
+
agent_generate: /* @__PURE__ */ e(A, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
10
|
+
agent_reasoning: /* @__PURE__ */ e(S, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
11
|
+
tool_execution: /* @__PURE__ */ e(C, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
12
|
+
transfer: /* @__PURE__ */ e(_, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
13
|
+
delegation_sent: /* @__PURE__ */ e(b, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
14
|
+
delegation_returned: /* @__PURE__ */ e(m, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
15
|
+
artifact_saved: /* @__PURE__ */ e(v, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
16
|
+
default: /* @__PURE__ */ e(x, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" })
|
|
17
|
+
}, h = {
|
|
18
|
+
retrieve: /* @__PURE__ */ e(k, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
19
|
+
action: /* @__PURE__ */ e(m, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
20
|
+
default: /* @__PURE__ */ e(x, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
21
|
+
...I
|
|
22
|
+
}, M = p(({ summary: t, index: r, showConnector: a }) => {
|
|
23
|
+
const l = d(() => t.details ? JSON.stringify(t.details, null, 2) : null, [t.details]), n = d(() => E(t), [t]), i = d(
|
|
24
|
+
() => h[t.type] || h.default,
|
|
15
25
|
[t.type]
|
|
16
26
|
);
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
a && /* @__PURE__ */ e("div", { className: "absolute left-1.5 top-
|
|
27
|
+
return /* @__PURE__ */ s("div", { className: "flex items-start gap-2 text-xs relative", children: [
|
|
28
|
+
a && /* @__PURE__ */ e("div", { className: "absolute left-1.5 top-4 bottom-0 w-px bg-gray-200 dark:bg-white-alpha-200 -mb-3" }),
|
|
19
29
|
/* @__PURE__ */ e("div", { className: "flex items-center justify-center w-3 h-3 relative z-10 mt-0.5", children: i }),
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */ e("div", { className: " text-gray-700 dark:text-white-alpha-600
|
|
22
|
-
l && /* @__PURE__ */ e("pre", { className: "mt-
|
|
30
|
+
/* @__PURE__ */ s("div", { className: "flex-1", children: [
|
|
31
|
+
/* @__PURE__ */ e("div", { className: " text-gray-700 dark:text-white-alpha-600", children: n }),
|
|
32
|
+
l && /* @__PURE__ */ e("pre", { 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: l })
|
|
23
33
|
] })
|
|
24
34
|
] }, `op-${t.type}-${r}`);
|
|
25
|
-
}),
|
|
26
|
-
const [a, l] =
|
|
27
|
-
|
|
35
|
+
}), T = p(({ summaries: t, isCompleted: r }) => {
|
|
36
|
+
const [a, l] = g(!r);
|
|
37
|
+
w(() => {
|
|
28
38
|
let i;
|
|
29
39
|
return r ? i = setTimeout(() => {
|
|
30
40
|
l(!1);
|
|
@@ -32,23 +42,23 @@ const b = (t) => {
|
|
|
32
42
|
i && clearTimeout(i);
|
|
33
43
|
};
|
|
34
44
|
}, [r]);
|
|
35
|
-
const
|
|
45
|
+
const n = u(() => {
|
|
36
46
|
l(!a);
|
|
37
47
|
}, [a]);
|
|
38
|
-
return /* @__PURE__ */
|
|
48
|
+
return /* @__PURE__ */ s("div", { className: "flex flex-col items-start mb-2.5 mt-2.5 first:mt-1 relative", children: [
|
|
39
49
|
/* @__PURE__ */ e(
|
|
40
50
|
"button",
|
|
41
51
|
{
|
|
42
52
|
type: "button",
|
|
43
|
-
onClick:
|
|
53
|
+
onClick: n,
|
|
44
54
|
"data-expanded": a,
|
|
45
55
|
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",
|
|
46
|
-
children: r ? /* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */ e(
|
|
48
|
-
/* @__PURE__ */ e(
|
|
56
|
+
children: r ? /* @__PURE__ */ s(c, { children: [
|
|
57
|
+
/* @__PURE__ */ e(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" }),
|
|
58
|
+
/* @__PURE__ */ e(y, { 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" }),
|
|
49
59
|
/* @__PURE__ */ e("span", { className: "font-medium", children: "Completed" })
|
|
50
|
-
] }) : /* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */ e(
|
|
60
|
+
] }) : /* @__PURE__ */ s(c, { children: [
|
|
61
|
+
/* @__PURE__ */ e(N, { className: "w-3 h-3 animate-spin" }),
|
|
52
62
|
/* @__PURE__ */ e("span", { className: "font-medium", children: "Thinking..." })
|
|
53
63
|
] })
|
|
54
64
|
}
|
|
@@ -57,20 +67,20 @@ const b = (t) => {
|
|
|
57
67
|
"div",
|
|
58
68
|
{
|
|
59
69
|
"data-expanded": a,
|
|
60
|
-
className: "overflow-hidden transition-all duration-300 ease-in-out data-[expanded=true]:
|
|
61
|
-
children: /* @__PURE__ */ e("div", { className: "pb-2 mt-1.5 space-y-3 relative", children: t.map((i,
|
|
62
|
-
|
|
70
|
+
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",
|
|
71
|
+
children: /* @__PURE__ */ e("div", { className: "pb-2 mt-1.5 space-y-3 relative", children: t.map((i, o) => /* @__PURE__ */ e(
|
|
72
|
+
M,
|
|
63
73
|
{
|
|
64
74
|
summary: i,
|
|
65
|
-
index:
|
|
66
|
-
showConnector: t.length > 1 &&
|
|
75
|
+
index: o,
|
|
76
|
+
showConnector: t.length > 1 && o < t.length - 1
|
|
67
77
|
},
|
|
68
|
-
`op-${i.type}-${
|
|
78
|
+
`op-${i.type}-${o}`
|
|
69
79
|
)) })
|
|
70
80
|
}
|
|
71
81
|
)
|
|
72
82
|
] });
|
|
73
83
|
});
|
|
74
84
|
export {
|
|
75
|
-
|
|
85
|
+
T as DataSummaryGroup
|
|
76
86
|
};
|