@inkeep/cxkit-primitives 0.5.18 → 0.5.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/avatars/ai.cjs +1 -1
- package/dist/atoms/avatars/ai.js +95 -84
- package/dist/components/embedded-chat/use-chat-action.cjs +1 -1
- package/dist/components/embedded-chat/use-chat-action.js +5 -5
- package/dist/components/embedded-chat.cjs +1 -1
- package/dist/components/embedded-chat.js +298 -298
- package/dist/components/tagline-logo-icon.cjs +1 -1
- package/dist/components/tagline-logo-icon.js +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/providers/base-events-provider.cjs +1 -1
- package/dist/providers/base-events-provider.js +1 -1
- package/package.json +4 -4
|
@@ -9,7 +9,7 @@ import * as E from "@radix-ui/react-tooltip";
|
|
|
9
9
|
import * as K from "@radix-ui/react-hover-card";
|
|
10
10
|
import * as D from "@radix-ui/react-scroll-area";
|
|
11
11
|
import * as f from "@radix-ui/react-select";
|
|
12
|
-
import { Overlay as ne, Content as se, Close as
|
|
12
|
+
import { Overlay as ne, Content as se, Close as oe, Title as re, Root as ce } from "../atoms/dialog.js";
|
|
13
13
|
import { HiMiniBolt as ke } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.js";
|
|
14
14
|
import { IoAdd as Ee } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js";
|
|
15
15
|
import Be from "../atoms/avatars/ai.js";
|
|
@@ -34,7 +34,7 @@ import { stringifyAttachments as We } from "../utils/get-message-metadata.js";
|
|
|
34
34
|
import { dataAttr as v, maybeRender as I, getInitials as Qe, getMessageContent as le } from "../utils/misc.js";
|
|
35
35
|
import { ikp as i } from "./factory.js";
|
|
36
36
|
import { useChat as g } from "./embedded-chat/chat-provider.js";
|
|
37
|
-
import { ChatProvider as
|
|
37
|
+
import { ChatProvider as Xo } from "./embedded-chat/chat-provider.js";
|
|
38
38
|
import Ne from "./tagline-logo-icon.js";
|
|
39
39
|
import { useSettleAction as Re } from "../hooks/use-settle-action.js";
|
|
40
40
|
import { useContainerSize as $e } from "../hooks/use-container-size.js";
|
|
@@ -54,7 +54,7 @@ import { transformInkeepSource as Xe } from "../utils/transform-source/index.js"
|
|
|
54
54
|
const Ze = "__intro__", et = i("div", {
|
|
55
55
|
_id: "aiChatWrapper"
|
|
56
56
|
}), Ka = $((t, e) => {
|
|
57
|
-
const { ...a } = t, { isHidden: s, isMobile:
|
|
57
|
+
const { ...a } = t, { isHidden: s, isMobile: o } = g(), [r, c] = $e(), d = ue(e, r), m = c?.width ? c.width > 580 : !0, l = Fe();
|
|
58
58
|
return /* @__PURE__ */ n(
|
|
59
59
|
et,
|
|
60
60
|
{
|
|
@@ -62,7 +62,7 @@ const Ze = "__intro__", et = i("div", {
|
|
|
62
62
|
"data-widget-md": v(m),
|
|
63
63
|
"data-hidden": v(s),
|
|
64
64
|
"data-in-modal": v(!!l),
|
|
65
|
-
"data-mobile": v(
|
|
65
|
+
"data-mobile": v(o),
|
|
66
66
|
...a
|
|
67
67
|
}
|
|
68
68
|
);
|
|
@@ -96,11 +96,11 @@ const Ze = "__intro__", et = i("div", {
|
|
|
96
96
|
}), nt = i(D.Viewport, {
|
|
97
97
|
_id: "aiChatContentScrollArea__Viewport"
|
|
98
98
|
}), en = $(({ children: t, ...e }, a) => {
|
|
99
|
-
const { containerRef: s } = Ye(),
|
|
99
|
+
const { containerRef: s } = Ye(), o = ue(a, s);
|
|
100
100
|
return /* @__PURE__ */ n(
|
|
101
101
|
nt,
|
|
102
102
|
{
|
|
103
|
-
ref:
|
|
103
|
+
ref: o,
|
|
104
104
|
children: (
|
|
105
105
|
/* added this to fix an overflow issue see https://github.com/radix-ui/primitives/issues/926 */
|
|
106
106
|
/* @__PURE__ */ n("div", { "data-part": "grid", style: { display: "grid" }, children: t })
|
|
@@ -125,19 +125,19 @@ const Ze = "__intro__", et = i("div", {
|
|
|
125
125
|
}), sn = (t) => {
|
|
126
126
|
const e = g(), { children: a, ...s } = t;
|
|
127
127
|
return /* @__PURE__ */ n(st, { children: I(a, e), ...s });
|
|
128
|
-
},
|
|
128
|
+
}, ot = i("div", {
|
|
129
129
|
_id: "aiChatDisclaimer"
|
|
130
|
-
}),
|
|
130
|
+
}), on = F(
|
|
131
131
|
(t) => {
|
|
132
132
|
const { aiChatSettings: e } = u();
|
|
133
|
-
return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(K.Root, { openDelay: 100, children: /* @__PURE__ */ n(
|
|
133
|
+
return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(K.Root, { openDelay: 100, children: /* @__PURE__ */ n(ot, { ...t }) }) : null;
|
|
134
134
|
}
|
|
135
|
-
),
|
|
135
|
+
), rt = i("span", {
|
|
136
136
|
_id: "aiChatDisclaimerLabel"
|
|
137
|
-
}),
|
|
137
|
+
}), rn = F(
|
|
138
138
|
(t) => {
|
|
139
139
|
const { aiChatSettings: e } = u(), a = e.disclaimerSettings;
|
|
140
|
-
return /* @__PURE__ */ n(
|
|
140
|
+
return /* @__PURE__ */ n(rt, { children: a?.label, ...t });
|
|
141
141
|
}
|
|
142
142
|
), cn = i(K.Trigger, {
|
|
143
143
|
_id: "aiChatDisclaimerTrigger",
|
|
@@ -159,8 +159,8 @@ i(q, {
|
|
|
159
159
|
});
|
|
160
160
|
const mn = F(
|
|
161
161
|
(t) => {
|
|
162
|
-
const { aiChatSettings: e } = u(), a = e.aiAssistantName,
|
|
163
|
-
return /* @__PURE__ */ n(q, { shouldOpenLinksInNewTab: !0, children:
|
|
162
|
+
const { aiChatSettings: e } = u(), a = e.aiAssistantName, o = e.disclaimerSettings?.tooltip || `Information provided by ${a || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
|
|
163
|
+
return /* @__PURE__ */ n(q, { shouldOpenLinksInNewTab: !0, children: o, ...t });
|
|
164
164
|
}
|
|
165
165
|
), ln = i(K.Arrow, {
|
|
166
166
|
_id: "aiChatDisclaimerArrow"
|
|
@@ -180,8 +180,8 @@ const mn = F(
|
|
|
180
180
|
_id: "aiChatQuickQuestionsList"
|
|
181
181
|
}), Cn = F(
|
|
182
182
|
(t) => {
|
|
183
|
-
const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...
|
|
184
|
-
return /* @__PURE__ */ n(lt, { children: I(s, a), ...
|
|
183
|
+
const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...o } = t;
|
|
184
|
+
return /* @__PURE__ */ n(lt, { children: I(s, a), ...o });
|
|
185
185
|
}
|
|
186
186
|
), ht = i("div", {
|
|
187
187
|
_id: "aiChatQuickQuestion"
|
|
@@ -191,11 +191,11 @@ const mn = F(
|
|
|
191
191
|
}), ut = i("button", {
|
|
192
192
|
_id: "aiChatQuickQuestionButton"
|
|
193
193
|
}), vn = (t) => {
|
|
194
|
-
const { question: e, onClick: a, ...s } = t, { handleSubmit:
|
|
194
|
+
const { question: e, onClick: a, ...s } = t, { handleSubmit: o } = g();
|
|
195
195
|
return /* @__PURE__ */ n(
|
|
196
196
|
ut,
|
|
197
197
|
{
|
|
198
|
-
onClick: h(a, () =>
|
|
198
|
+
onClick: h(a, () => o(e)),
|
|
199
199
|
children: e,
|
|
200
200
|
...s
|
|
201
201
|
}
|
|
@@ -214,17 +214,17 @@ const mn = F(
|
|
|
214
214
|
_id: "aiChatWorkflowsList"
|
|
215
215
|
}), bn = F(
|
|
216
216
|
(t) => {
|
|
217
|
-
const { aiChatSettings: e } = u(), a = e.workflows, { children: s, ...
|
|
218
|
-
return /* @__PURE__ */ n(vt, { children: I(s, a), ...
|
|
217
|
+
const { aiChatSettings: e } = u(), a = e.workflows, { children: s, ...o } = t;
|
|
218
|
+
return /* @__PURE__ */ n(vt, { children: I(s, a), ...o });
|
|
219
219
|
}
|
|
220
220
|
), gt = i("button", {
|
|
221
221
|
_id: "aiChatWorkflow"
|
|
222
222
|
}), An = (t) => {
|
|
223
|
-
const { workflow: e, onClick: a, ...s } = t, { handleWorkflow:
|
|
223
|
+
const { workflow: e, onClick: a, ...s } = t, { handleWorkflow: o } = g();
|
|
224
224
|
return /* @__PURE__ */ n(
|
|
225
225
|
gt,
|
|
226
226
|
{
|
|
227
|
-
onClick: h(a, () =>
|
|
227
|
+
onClick: h(a, () => o(e)),
|
|
228
228
|
children: e.displayName,
|
|
229
229
|
...s
|
|
230
230
|
}
|
|
@@ -238,7 +238,7 @@ const mn = F(
|
|
|
238
238
|
return e.role === "system" ? null : /* @__PURE__ */ n(xe, { message: e, children: /* @__PURE__ */ n(bt, { "data-role": e.role, ...a }) });
|
|
239
239
|
}, Fn = F(
|
|
240
240
|
(t) => {
|
|
241
|
-
const { message: e, ...a } = t, { aiChatSettings: s, baseSettings:
|
|
241
|
+
const { message: e, ...a } = t, { aiChatSettings: s, baseSettings: o } = u(), r = s.aiAssistantName, c = r ? `Hi, I'm ${r}!` : "Hi!", d = s.chatSubjectName ?? o.organizationDisplayName, m = `${c}
|
|
242
242
|
|
|
243
243
|
I'm an AI assistant trained on documentation, help articles, and other content.`, l = d ? `
|
|
244
244
|
|
|
@@ -261,8 +261,8 @@ const mn = F(
|
|
|
261
261
|
}, Ft = i("div", {
|
|
262
262
|
_id: "aiChatMessageLoading"
|
|
263
263
|
}), In = (t) => {
|
|
264
|
-
const { isLoading: e, isStreaming: a, messages: s } = g(), { message:
|
|
265
|
-
return !(s.at(-1)?.id ===
|
|
264
|
+
const { isLoading: e, isStreaming: a, messages: s } = g(), { message: o } = _();
|
|
265
|
+
return !(s.at(-1)?.id === o?.id) || o.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(Ft, { children: "Thinking...", ...t });
|
|
266
266
|
}, Mt = i("div", {
|
|
267
267
|
_id: "aiChatMessageAvatar"
|
|
268
268
|
}), fn = (t) => {
|
|
@@ -300,19 +300,19 @@ const mn = F(
|
|
|
300
300
|
(t) => {
|
|
301
301
|
const { onLoadingStatusChange: e, ...a } = t, {
|
|
302
302
|
aiChatSettings: s,
|
|
303
|
-
baseSettings: { userProperties:
|
|
304
|
-
} = u(), { message:
|
|
303
|
+
baseSettings: { userProperties: o }
|
|
304
|
+
} = u(), { message: r } = _(), { aiAssistantAvatar: c } = s ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = ze(d, m), [C, p] = fe(l);
|
|
305
305
|
be(() => {
|
|
306
306
|
p(l);
|
|
307
307
|
}, [l]);
|
|
308
308
|
const P = (T) => {
|
|
309
309
|
T === "error" && p(null);
|
|
310
310
|
};
|
|
311
|
-
return
|
|
311
|
+
return r.role === "user" ? o.name ? null : s.userAvatar ? /* @__PURE__ */ n(
|
|
312
312
|
ge,
|
|
313
313
|
{
|
|
314
314
|
"data-type": "image",
|
|
315
|
-
"data-role":
|
|
315
|
+
"data-role": r.role,
|
|
316
316
|
src: s.userAvatar,
|
|
317
317
|
...t
|
|
318
318
|
}
|
|
@@ -320,7 +320,7 @@ const mn = F(
|
|
|
320
320
|
Te,
|
|
321
321
|
{
|
|
322
322
|
"data-type": "icon",
|
|
323
|
-
"data-role":
|
|
323
|
+
"data-role": r.role,
|
|
324
324
|
...t
|
|
325
325
|
}
|
|
326
326
|
) : C ? /* @__PURE__ */ n(
|
|
@@ -328,7 +328,7 @@ const mn = F(
|
|
|
328
328
|
{
|
|
329
329
|
src: C,
|
|
330
330
|
"data-type": "image",
|
|
331
|
-
"data-role":
|
|
331
|
+
"data-role": r.role,
|
|
332
332
|
onLoadingStatusChange: h(
|
|
333
333
|
e,
|
|
334
334
|
P
|
|
@@ -339,7 +339,7 @@ const mn = F(
|
|
|
339
339
|
Be,
|
|
340
340
|
{
|
|
341
341
|
"data-type": "icon",
|
|
342
|
-
"data-role":
|
|
342
|
+
"data-role": r.role,
|
|
343
343
|
...t
|
|
344
344
|
}
|
|
345
345
|
);
|
|
@@ -374,17 +374,17 @@ const mn = F(
|
|
|
374
374
|
}, Tt = i("div", {
|
|
375
375
|
_id: "aiChatMessageAttachments__List"
|
|
376
376
|
}), Hn = (t) => {
|
|
377
|
-
const { children: e, ...a } = t, { message: s } = _(),
|
|
378
|
-
return
|
|
377
|
+
const { children: e, ...a } = t, { message: s } = _(), o = s.metadata?.attributes?.attachments;
|
|
378
|
+
return o ? /* @__PURE__ */ n(Tt, { children: I(e, o), ...a }) : null;
|
|
379
379
|
}, yt = i("div", {
|
|
380
380
|
_id: "aiChatMessageAttachments__Item"
|
|
381
381
|
}), Ln = (t) => {
|
|
382
|
-
const { attachment: e, onClick: a, ...s } = t, { selectItem:
|
|
382
|
+
const { attachment: e, onClick: a, ...s } = t, { selectItem: o, onOpen: r } = z();
|
|
383
383
|
return /* @__PURE__ */ n(Ae, { attachment: e, children: /* @__PURE__ */ n(
|
|
384
384
|
yt,
|
|
385
385
|
{
|
|
386
386
|
onClick: h(a, () => {
|
|
387
|
-
|
|
387
|
+
o(e), r();
|
|
388
388
|
}),
|
|
389
389
|
...s
|
|
390
390
|
}
|
|
@@ -402,13 +402,13 @@ const mn = F(
|
|
|
402
402
|
}, Lt = i(ce, {
|
|
403
403
|
_id: "aiChatMessageAttachmentsPreview"
|
|
404
404
|
}), On = (t) => {
|
|
405
|
-
const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen:
|
|
405
|
+
const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: o, onClose: r, selectedItem: c } = z();
|
|
406
406
|
return /* @__PURE__ */ n(
|
|
407
407
|
Lt,
|
|
408
408
|
{
|
|
409
|
-
open:
|
|
409
|
+
open: o && c !== null,
|
|
410
410
|
onOpenChange: h(e, (m) => {
|
|
411
|
-
m || (
|
|
411
|
+
m || (r(), s(null));
|
|
412
412
|
}),
|
|
413
413
|
...a
|
|
414
414
|
}
|
|
@@ -418,7 +418,7 @@ const mn = F(
|
|
|
418
418
|
}), Qn = i(se, {
|
|
419
419
|
_id: "aiChatMessageAttachmentsPreview__Content",
|
|
420
420
|
"aria-describedby": void 0
|
|
421
|
-
}), Dt = i(
|
|
421
|
+
}), Dt = i(re, {
|
|
422
422
|
_id: "aiChatMessageAttachmentsPreview__Header"
|
|
423
423
|
}), Nn = (t) => {
|
|
424
424
|
const { selectedItem: e } = z();
|
|
@@ -429,7 +429,7 @@ const mn = F(
|
|
|
429
429
|
...t
|
|
430
430
|
}
|
|
431
431
|
);
|
|
432
|
-
}, Rn = i(
|
|
432
|
+
}, Rn = i(oe, {
|
|
433
433
|
_id: "aiChatMessageAttachmentsPreview__Close",
|
|
434
434
|
children: /* @__PURE__ */ n(A, { iconKey: "close" })
|
|
435
435
|
}), xt = i("p", {
|
|
@@ -440,15 +440,15 @@ const mn = F(
|
|
|
440
440
|
}, _e = i("div", {
|
|
441
441
|
_id: "aiChatMessage"
|
|
442
442
|
}), Vn = (t) => {
|
|
443
|
-
const { aiChatSettings: e } = u(), { componentStyles: a, ...s } = t, { message:
|
|
444
|
-
return
|
|
443
|
+
const { aiChatSettings: e } = u(), { componentStyles: a, ...s } = t, { message: o } = _(), { logEvent: r } = G(), c = le(o), { conversation: d } = j();
|
|
444
|
+
return o.role === "user" ? /* @__PURE__ */ n(_e, { "data-role": o.role, children: c, ...s }) : /* @__PURE__ */ n(_e, { "data-role": o.role, ...s, children: /* @__PURE__ */ n(
|
|
445
445
|
q,
|
|
446
446
|
{
|
|
447
447
|
children: c,
|
|
448
448
|
componentStyles: a,
|
|
449
449
|
shouldOpenLinksInNewTab: e.shouldOpenLinksInNewTab,
|
|
450
450
|
onLinkClick: (m, l) => {
|
|
451
|
-
|
|
451
|
+
r({
|
|
452
452
|
eventName: "assistant_message_inline_link_opened",
|
|
453
453
|
properties: {
|
|
454
454
|
title: l?.toString(),
|
|
@@ -457,7 +457,7 @@ const mn = F(
|
|
|
457
457
|
});
|
|
458
458
|
},
|
|
459
459
|
onCodeCopy: (m, l) => {
|
|
460
|
-
|
|
460
|
+
r({
|
|
461
461
|
eventName: "assistant_code_block_copied",
|
|
462
462
|
properties: {
|
|
463
463
|
conversation: d,
|
|
@@ -476,11 +476,11 @@ const mn = F(
|
|
|
476
476
|
}, Wt = i("div", {
|
|
477
477
|
_id: "aiChatMessageToolActions"
|
|
478
478
|
}), Kn = (t) => {
|
|
479
|
-
const { children: e, ...a } = t, { message: s } = _(), { messageToolCalls:
|
|
480
|
-
return /* @__PURE__ */ n(Wt, { children: I(e,
|
|
479
|
+
const { children: e, ...a } = t, { message: s } = _(), { messageToolCalls: o } = g(), r = o[s.id] || [];
|
|
480
|
+
return /* @__PURE__ */ n(Wt, { children: I(e, r), ...a });
|
|
481
481
|
}, qn = (t) => {
|
|
482
|
-
const { onClick: e, action: a, ...s } = t, { handleAction:
|
|
483
|
-
|
|
482
|
+
const { onClick: e, action: a, ...s } = t, { handleAction: o } = he(a), r = () => {
|
|
483
|
+
o();
|
|
484
484
|
}, c = a.label || "Contact Support", d = /* @__PURE__ */ R(te, { children: [
|
|
485
485
|
a.icon && /* @__PURE__ */ n(B, { iconSettings: a.icon }),
|
|
486
486
|
c
|
|
@@ -493,13 +493,13 @@ const mn = F(
|
|
|
493
493
|
target: "_blank",
|
|
494
494
|
rel: "noopener"
|
|
495
495
|
},
|
|
496
|
-
onClick: h(e,
|
|
496
|
+
onClick: h(e, r)
|
|
497
497
|
});
|
|
498
498
|
return /* @__PURE__ */ n(l, { ...s });
|
|
499
499
|
}, Qt = i("button", {
|
|
500
500
|
_id: "aiChatMessageAction"
|
|
501
501
|
}), jn = (t) => {
|
|
502
|
-
const { action: e, onClick: a, className: s, ...
|
|
502
|
+
const { action: e, onClick: a, className: s, ...o } = t, { conversation: r } = j(), { message: c } = _(), { isStreaming: d, messages: m } = g(), [l, C] = ee(), { feedback: p, submitPositiveFeedback: P, setCurrentFeedback: T, currentFeedback: O } = de(), { logEvent: Y } = G(), [W, J] = Re(), {
|
|
503
503
|
baseSettings: { privacyPreferences: Ce }
|
|
504
504
|
} = u(), { optOutAllAnalytics: X } = Ce, pe = m.at(-1)?.id === c?.id, Z = c.role === "assistant";
|
|
505
505
|
if (pe && d || !Z || {
|
|
@@ -512,7 +512,7 @@ const mn = F(
|
|
|
512
512
|
C(le(c)), Y({
|
|
513
513
|
eventName: "assistant_message_copied",
|
|
514
514
|
properties: {
|
|
515
|
-
conversation:
|
|
515
|
+
conversation: r
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
518
|
},
|
|
@@ -551,7 +551,7 @@ const mn = F(
|
|
|
551
551
|
"aria-label": L[e],
|
|
552
552
|
className: `${s} ${e}`,
|
|
553
553
|
onClick: h(a, y[e]),
|
|
554
|
-
...
|
|
554
|
+
...o
|
|
555
555
|
}
|
|
556
556
|
);
|
|
557
557
|
}, Nt = i("div", {
|
|
@@ -565,16 +565,16 @@ const mn = F(
|
|
|
565
565
|
_id: "aiChatMessageSources__List"
|
|
566
566
|
}), Yn = (t) => {
|
|
567
567
|
const { message: e } = _(), { children: a, ...s } = t, {
|
|
568
|
-
baseSettings: { transformSource:
|
|
568
|
+
baseSettings: { transformSource: o, organizationDisplayName: r },
|
|
569
569
|
aiChatSettings: { shouldOpenLinksInNewTab: c },
|
|
570
570
|
searchSettings: { tabs: d }
|
|
571
571
|
} = u();
|
|
572
572
|
if (e.role !== "assistant") return null;
|
|
573
573
|
const m = e.links.map((l) => {
|
|
574
574
|
const C = Xe(l, "chatSourceItem", {
|
|
575
|
-
organizationDisplayName:
|
|
575
|
+
organizationDisplayName: r,
|
|
576
576
|
tabs: d,
|
|
577
|
-
transformSource:
|
|
577
|
+
transformSource: o
|
|
578
578
|
}), p = c || C.shouldOpenInNewTab;
|
|
579
579
|
return { ...C, isExternal: p };
|
|
580
580
|
});
|
|
@@ -582,11 +582,11 @@ const mn = F(
|
|
|
582
582
|
}, Vt = i(ye, {
|
|
583
583
|
_id: "aiChatMessageSourceItem"
|
|
584
584
|
}), Jn = (t) => {
|
|
585
|
-
const { source: e, onClick: a, ...s } = t, { logEvent:
|
|
586
|
-
|
|
585
|
+
const { source: e, onClick: a, ...s } = t, { logEvent: o } = G(), { conversation: r } = j(), c = () => {
|
|
586
|
+
o({
|
|
587
587
|
eventName: "assistant_source_item_clicked",
|
|
588
588
|
properties: {
|
|
589
|
-
conversation:
|
|
589
|
+
conversation: r,
|
|
590
590
|
link: e
|
|
591
591
|
}
|
|
592
592
|
});
|
|
@@ -628,12 +628,12 @@ const mn = F(
|
|
|
628
628
|
}, Gt = i("span", {
|
|
629
629
|
_id: "aiChatMessageSourceItem__Description"
|
|
630
630
|
}), as = (t) => {
|
|
631
|
-
const { source: e } = w(), { children: a, ...s } = t,
|
|
632
|
-
return
|
|
631
|
+
const { source: e } = w(), { children: a, ...s } = t, o = Se(() => e.description ? Ge(e.description) : [], [e.description]);
|
|
632
|
+
return o.length ? /* @__PURE__ */ n(
|
|
633
633
|
Gt,
|
|
634
634
|
{
|
|
635
635
|
"data-type": e.type,
|
|
636
|
-
children: I(a,
|
|
636
|
+
children: I(a, o),
|
|
637
637
|
...s
|
|
638
638
|
}
|
|
639
639
|
) : null;
|
|
@@ -661,16 +661,16 @@ const mn = F(
|
|
|
661
661
|
...t
|
|
662
662
|
}
|
|
663
663
|
);
|
|
664
|
-
},
|
|
664
|
+
}, os = i("div", {
|
|
665
665
|
_id: "aiChatFooter"
|
|
666
|
-
}),
|
|
666
|
+
}), rs = i("div", {
|
|
667
667
|
_id: "aiChatInput__Fieldset"
|
|
668
668
|
}), cs = i("div", {
|
|
669
669
|
_id: "aiChatInput__Group"
|
|
670
670
|
}), Jt = i("textarea", {
|
|
671
671
|
_id: "aiChatInput"
|
|
672
672
|
}), ds = $(({ onChange: t, onKeyDown: e, ...a }, s) => {
|
|
673
|
-
const { handleInputChange:
|
|
673
|
+
const { handleInputChange: o, handleInputKeyDown: r, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: C } = u(), p = ue(
|
|
674
674
|
s,
|
|
675
675
|
l
|
|
676
676
|
), P = Fe();
|
|
@@ -686,8 +686,8 @@ const mn = F(
|
|
|
686
686
|
maxLength: 99999,
|
|
687
687
|
placeholder: C.placeholder,
|
|
688
688
|
value: c,
|
|
689
|
-
onChange: h(t,
|
|
690
|
-
onKeyDown: h(e,
|
|
689
|
+
onChange: h(t, o),
|
|
690
|
+
onKeyDown: h(e, r),
|
|
691
691
|
disabled: !!d || C.isViewOnly,
|
|
692
692
|
...a,
|
|
693
693
|
children: /* @__PURE__ */ n(ie, {})
|
|
@@ -696,13 +696,13 @@ const mn = F(
|
|
|
696
696
|
}), Xt = i("button", {
|
|
697
697
|
_id: "aiChatInput__SendButton"
|
|
698
698
|
}), ms = (t) => {
|
|
699
|
-
const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings:
|
|
699
|
+
const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: o } = u(), { onClick: r, ...c } = t;
|
|
700
700
|
return /* @__PURE__ */ n(
|
|
701
701
|
Xt,
|
|
702
702
|
{
|
|
703
|
-
onClick: h(
|
|
703
|
+
onClick: h(r, () => e()),
|
|
704
704
|
"aria-label": "Send message",
|
|
705
|
-
disabled: a || !!s ||
|
|
705
|
+
disabled: a || !!s || o.isViewOnly,
|
|
706
706
|
...c
|
|
707
707
|
}
|
|
708
708
|
);
|
|
@@ -737,14 +737,14 @@ const mn = F(
|
|
|
737
737
|
}, ni = i("button", {
|
|
738
738
|
_id: "aiChatAttachmentsBar__AttachmentDelete"
|
|
739
739
|
}), gs = (t) => {
|
|
740
|
-
const { onClick: e, ...a } = t, { attachment: s } = x(), { setMessageAttachments:
|
|
740
|
+
const { onClick: e, ...a } = t, { attachment: s } = x(), { setMessageAttachments: o } = g();
|
|
741
741
|
return /* @__PURE__ */ n(
|
|
742
742
|
ni,
|
|
743
743
|
{
|
|
744
744
|
"aria-label": "Remove attachment",
|
|
745
745
|
children: /* @__PURE__ */ n(A, { iconKey: "close" }),
|
|
746
746
|
onClick: h(e, () => {
|
|
747
|
-
|
|
747
|
+
o((c) => c.filter((d) => d.id !== s.id));
|
|
748
748
|
}),
|
|
749
749
|
...a
|
|
750
750
|
}
|
|
@@ -768,27 +768,27 @@ const mn = F(
|
|
|
768
768
|
/* @__PURE__ */ n(si, {}),
|
|
769
769
|
"Attachments will be kept in context for the entire conversation."
|
|
770
770
|
] })
|
|
771
|
-
}),
|
|
771
|
+
}), oi = i("div", {
|
|
772
772
|
_id: "aiChatAttachmentsBar__Inputs"
|
|
773
773
|
}), Fs = (t) => {
|
|
774
774
|
const { children: e, ...a } = t, { selectedWorkflow: s } = g();
|
|
775
775
|
return s?.supportedInputs ? /* @__PURE__ */ n(
|
|
776
|
-
|
|
776
|
+
oi,
|
|
777
777
|
{
|
|
778
778
|
children: I(e, s.supportedInputs),
|
|
779
779
|
...a
|
|
780
780
|
}
|
|
781
781
|
) : null;
|
|
782
|
-
},
|
|
782
|
+
}, ri = i("button", {
|
|
783
783
|
_id: "aiChatAttachmentsBar__Input"
|
|
784
784
|
}), Ms = (t) => {
|
|
785
|
-
const { input: e, onClick: a, ...s } = t, { selectedWorkflow:
|
|
785
|
+
const { input: e, onClick: a, ...s } = t, { selectedWorkflow: o, messageAttachments: r, setMessageAttachments: c } = g(), { selectInput: d, onOpen: m } = M(), l = () => {
|
|
786
786
|
if (e.type === "FUNCTIONAL_MULTI_ATTACHMENT")
|
|
787
|
-
return
|
|
787
|
+
return o ? e.onInvoke(o, e, c, [...r]) : void 0;
|
|
788
788
|
d(e), m();
|
|
789
789
|
};
|
|
790
790
|
return /* @__PURE__ */ n(
|
|
791
|
-
|
|
791
|
+
ri,
|
|
792
792
|
{
|
|
793
793
|
children: e.displayName,
|
|
794
794
|
onClick: h(a, l),
|
|
@@ -800,13 +800,13 @@ const mn = F(
|
|
|
800
800
|
}), ci = i(ce, {
|
|
801
801
|
_id: "aiChatAttachmentsBar__Modal"
|
|
802
802
|
}), fs = (t) => {
|
|
803
|
-
const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen:
|
|
803
|
+
const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: o, onClose: r, selectedInput: c } = M();
|
|
804
804
|
return /* @__PURE__ */ n(
|
|
805
805
|
ci,
|
|
806
806
|
{
|
|
807
|
-
open:
|
|
807
|
+
open: o && c !== null,
|
|
808
808
|
onOpenChange: h(e, (m) => {
|
|
809
|
-
m || (
|
|
809
|
+
m || (r(), s(null));
|
|
810
810
|
}),
|
|
811
811
|
...a
|
|
812
812
|
}
|
|
@@ -818,7 +818,7 @@ const mn = F(
|
|
|
818
818
|
"aria-describedby": void 0
|
|
819
819
|
}), Es = i("div", {
|
|
820
820
|
_id: "aiChatAttachmentsBar__ModalHeader"
|
|
821
|
-
}), di = i(
|
|
821
|
+
}), di = i(re, {
|
|
822
822
|
_id: "aiChatAttachmentsBar__ModalHeading"
|
|
823
823
|
}), Bs = (t) => {
|
|
824
824
|
const { selectedInput: e } = M(), a = `Add ${e?.displayName}`;
|
|
@@ -831,9 +831,9 @@ const mn = F(
|
|
|
831
831
|
}, li = i("div", {
|
|
832
832
|
_id: "aiChatAttachmentsBar__ModalHelp"
|
|
833
833
|
}), ys = (t) => {
|
|
834
|
-
const { children: e, ...a } = t, { selectedInput: s } = M(),
|
|
835
|
-
return
|
|
836
|
-
}, ws = i(
|
|
834
|
+
const { children: e, ...a } = t, { selectedInput: s } = M(), o = s?.workflowModalProps?.modalHelpElement;
|
|
835
|
+
return o ? /* @__PURE__ */ n(li, { asChild: !e, children: e || o, ...a }) : null;
|
|
836
|
+
}, ws = i(oe, {
|
|
837
837
|
_id: "aiChatAttachmentsBar__ModalClose",
|
|
838
838
|
children: /* @__PURE__ */ n(A, { iconKey: "close" })
|
|
839
839
|
}), Hs = i("div", {
|
|
@@ -867,13 +867,13 @@ const mn = F(
|
|
|
867
867
|
}, Ci = i("input", {
|
|
868
868
|
_id: "aiChatAttachmentsBar__FormTitleInput"
|
|
869
869
|
}), Os = (t) => {
|
|
870
|
-
const { onChange: e, ...a } = t, { form: s, selectedInput:
|
|
870
|
+
const { onChange: e, ...a } = t, { form: s, selectedInput: o } = M();
|
|
871
871
|
return /* @__PURE__ */ n(
|
|
872
872
|
Ci,
|
|
873
873
|
{
|
|
874
874
|
name: "title",
|
|
875
875
|
value: s.data.title,
|
|
876
|
-
id: `${
|
|
876
|
+
id: `${o?.id}-title`,
|
|
877
877
|
"data-invalid": v(!!s.errors.title),
|
|
878
878
|
"aria-invalid": !!s.errors.title,
|
|
879
879
|
onChange: h(e, s.onChange),
|
|
@@ -910,7 +910,7 @@ const mn = F(
|
|
|
910
910
|
}, gi = i("textarea", {
|
|
911
911
|
_id: "aiChatAttachmentsBar__FormTitleInput"
|
|
912
912
|
}), Rs = (t) => {
|
|
913
|
-
const { onChange: e, ...a } = t, { form: s, selectedInput:
|
|
913
|
+
const { onChange: e, ...a } = t, { form: s, selectedInput: o } = M();
|
|
914
914
|
return /* @__PURE__ */ n(
|
|
915
915
|
gi,
|
|
916
916
|
{
|
|
@@ -918,7 +918,7 @@ const mn = F(
|
|
|
918
918
|
rows: 4,
|
|
919
919
|
name: "content",
|
|
920
920
|
value: s.data.content,
|
|
921
|
-
id: `${
|
|
921
|
+
id: `${o?.id}-content`,
|
|
922
922
|
"data-invalid": v(!!s.errors.content),
|
|
923
923
|
"aria-invalid": !!s.errors.content,
|
|
924
924
|
onChange: h(e, s.onChange),
|
|
@@ -962,7 +962,7 @@ const mn = F(
|
|
|
962
962
|
}), bi = i("div", {
|
|
963
963
|
_id: "aiChat__ChatAction"
|
|
964
964
|
}), Me = (t) => {
|
|
965
|
-
const { action: e, onClick: a, className: s, ...
|
|
965
|
+
const { action: e, onClick: a, className: s, ...o } = t, { clear: r, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: C } = j(), { aiChatSettings: p, baseSettings: P } = u(), { logEvent: T } = G(), [O, Y] = ee(), [W, J] = ee();
|
|
966
966
|
if ({
|
|
967
967
|
help: !1,
|
|
968
968
|
copy: m.length === 0 || !p.isCopyChatButtonVisible || d,
|
|
@@ -1020,7 +1020,7 @@ ${S}${N}`;
|
|
|
1020
1020
|
});
|
|
1021
1021
|
}
|
|
1022
1022
|
},
|
|
1023
|
-
clear:
|
|
1023
|
+
clear: r,
|
|
1024
1024
|
stop: c
|
|
1025
1025
|
}, ve = {
|
|
1026
1026
|
copy: O,
|
|
@@ -1034,44 +1034,44 @@ ${S}${N}`;
|
|
|
1034
1034
|
className: `${s} ${e}`,
|
|
1035
1035
|
children: /* @__PURE__ */ n(Pi, { action: e }),
|
|
1036
1036
|
onClick: h(a, Z[e]),
|
|
1037
|
-
...
|
|
1037
|
+
...o
|
|
1038
1038
|
}
|
|
1039
1039
|
) });
|
|
1040
1040
|
}, Ai = i(E.Trigger, {
|
|
1041
1041
|
_id: "aiChat__ChatActionLabel"
|
|
1042
1042
|
}), Pi = (t) => {
|
|
1043
|
-
const { action: e, ...a } = t, { aiChatSettings: s } = u(),
|
|
1044
|
-
help:
|
|
1045
|
-
copy:
|
|
1046
|
-
share:
|
|
1047
|
-
clear:
|
|
1048
|
-
stop:
|
|
1043
|
+
const { action: e, ...a } = t, { aiChatSettings: s } = u(), o = s.toolbarButtonLabels ?? {}, r = {
|
|
1044
|
+
help: o.getHelp ?? "Get Help",
|
|
1045
|
+
copy: o.copyChat ?? "Copy",
|
|
1046
|
+
share: o.share ?? "Share",
|
|
1047
|
+
clear: o.clear ?? "Clear",
|
|
1048
|
+
stop: o.stop ?? "Stop"
|
|
1049
1049
|
};
|
|
1050
|
-
return /* @__PURE__ */ n(Ai, { children:
|
|
1050
|
+
return /* @__PURE__ */ n(Ai, { children: r[e], ...a });
|
|
1051
1051
|
}, Fi = i(E.TooltipContent, {
|
|
1052
1052
|
_id: "aiChat__ChatActionFeeback"
|
|
1053
1053
|
}), Ys = (t) => {
|
|
1054
|
-
const { action: e, children: a, ...s } = t,
|
|
1054
|
+
const { action: e, children: a, ...s } = t, o = {
|
|
1055
1055
|
copy: "Copied!",
|
|
1056
1056
|
share: "Link copied!"
|
|
1057
1057
|
};
|
|
1058
1058
|
return /* @__PURE__ */ R(Fi, { sideOffset: 5, ...s, children: [
|
|
1059
1059
|
/* @__PURE__ */ n(E.Arrow, {}),
|
|
1060
|
-
a ||
|
|
1060
|
+
a || o[e]
|
|
1061
1061
|
] });
|
|
1062
1062
|
}, Mi = i(U.Root, {
|
|
1063
1063
|
_id: "aiChatHelpActions"
|
|
1064
1064
|
}), Js = (t) => {
|
|
1065
|
-
const { children: e, ...a } = t, { aiChatSettings: s } = u(), { getHelpOptions:
|
|
1066
|
-
if (!
|
|
1065
|
+
const { children: e, ...a } = t, { aiChatSettings: s } = u(), { getHelpOptions: o } = s;
|
|
1066
|
+
if (!o || (o ?? []).length === 0)
|
|
1067
1067
|
return null;
|
|
1068
|
-
const { _pinned:
|
|
1068
|
+
const { _pinned: r, _unpinned: c } = o.reduce(
|
|
1069
1069
|
(C, p) => {
|
|
1070
1070
|
const P = p.isPinnedToToolbar ? "_pinned" : "_unpinned";
|
|
1071
1071
|
return { ...C, [P]: [...C[P], p] };
|
|
1072
1072
|
},
|
|
1073
1073
|
{ _pinned: [], _unpinned: [] }
|
|
1074
|
-
), d = c.length === 1 ? [...
|
|
1074
|
+
), d = c.length === 1 ? [...r, c[0]] : r, m = c.length === 1 ? [] : c, l = Ve();
|
|
1075
1075
|
return /* @__PURE__ */ n(Ue, { value: l, children: /* @__PURE__ */ n(
|
|
1076
1076
|
Mi,
|
|
1077
1077
|
{
|
|
@@ -1082,19 +1082,19 @@ ${S}${N}`;
|
|
|
1082
1082
|
}
|
|
1083
1083
|
) });
|
|
1084
1084
|
}, Ii = i(Me, {
|
|
1085
|
-
_id: "aiChatHelpAction"
|
|
1085
|
+
_id: "aiChatHelpAction",
|
|
1086
|
+
action: "help"
|
|
1086
1087
|
}), Xs = (t) => {
|
|
1087
|
-
const { action: e, onClick: a, ...s } = t, { handleAction:
|
|
1088
|
+
const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = he(e), c = e.action.type, d = c === "open_link", m = c === "open_link" ? /* @__PURE__ */ n("a", { href: e.action.url, target: "_blank", rel: "noreferrer", children: e.name }) : e.name;
|
|
1088
1089
|
return /* @__PURE__ */ n(
|
|
1089
1090
|
Ii,
|
|
1090
1091
|
{
|
|
1091
|
-
action: "help",
|
|
1092
1092
|
"aria-label": e.name,
|
|
1093
1093
|
"data-name": e.name,
|
|
1094
|
-
children:
|
|
1095
|
-
asChild:
|
|
1094
|
+
children: m,
|
|
1095
|
+
asChild: d,
|
|
1096
1096
|
onClick: h(a, () => {
|
|
1097
|
-
|
|
1097
|
+
o(), r();
|
|
1098
1098
|
}),
|
|
1099
1099
|
...s
|
|
1100
1100
|
}
|
|
@@ -1108,7 +1108,7 @@ ${S}${N}`;
|
|
|
1108
1108
|
}
|
|
1109
1109
|
), Si = i(U.Content, {
|
|
1110
1110
|
_id: "aiChatHelpActions__Menu"
|
|
1111
|
-
}),
|
|
1111
|
+
}), eo = (t) => /* @__PURE__ */ n(
|
|
1112
1112
|
Si,
|
|
1113
1113
|
{
|
|
1114
1114
|
side: "top",
|
|
@@ -1117,13 +1117,13 @@ ${S}${N}`;
|
|
|
1117
1117
|
alignOffset: -10,
|
|
1118
1118
|
...t
|
|
1119
1119
|
}
|
|
1120
|
-
),
|
|
1120
|
+
), to = i(U.Arrow, {
|
|
1121
1121
|
_id: "aiChatHelpActions__MenuArrow"
|
|
1122
|
-
}),
|
|
1123
|
-
const { action: e, onClick: a, ...s } = t, { handleAction:
|
|
1124
|
-
|
|
1122
|
+
}), io = (t) => {
|
|
1123
|
+
const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = he(e), { setOpen: c } = Ke(), d = () => {
|
|
1124
|
+
o({
|
|
1125
1125
|
onOpenForm: () => c(!1)
|
|
1126
|
-
}),
|
|
1126
|
+
}), r();
|
|
1127
1127
|
}, m = e.action.type, l = i(m === "open_link" ? "a" : "button", {
|
|
1128
1128
|
_id: "aiChatHelpActions__MenuItem",
|
|
1129
1129
|
children: e.name,
|
|
@@ -1140,52 +1140,52 @@ ${S}${N}`;
|
|
|
1140
1140
|
return /* @__PURE__ */ n(l, { ...s });
|
|
1141
1141
|
}, ki = i(B, {
|
|
1142
1142
|
_id: "aiChatHelpActions_MenuItemIcon"
|
|
1143
|
-
}),
|
|
1143
|
+
}), ao = (t) => {
|
|
1144
1144
|
const { action: e, ...a } = t;
|
|
1145
1145
|
return e.icon ? /* @__PURE__ */ n(ki, { iconSettings: e.icon, ...a }) : null;
|
|
1146
1146
|
}, Ei = i(ce, {
|
|
1147
1147
|
_id: "aiChatFeedbackModal"
|
|
1148
|
-
}),
|
|
1149
|
-
const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback:
|
|
1148
|
+
}), no = (t) => {
|
|
1149
|
+
const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: o } = de();
|
|
1150
1150
|
return /* @__PURE__ */ n(
|
|
1151
1151
|
Ei,
|
|
1152
1152
|
{
|
|
1153
1153
|
open: s !== null,
|
|
1154
|
-
onOpenChange: h(e, () =>
|
|
1154
|
+
onOpenChange: h(e, () => o(null)),
|
|
1155
1155
|
...a
|
|
1156
1156
|
}
|
|
1157
1157
|
);
|
|
1158
|
-
},
|
|
1158
|
+
}, so = i(ne, {
|
|
1159
1159
|
_id: "aiChatFeedbackModal__Overlay"
|
|
1160
|
-
}),
|
|
1160
|
+
}), oo = i(se, {
|
|
1161
1161
|
_id: "aiChatFeedbackModal__Content",
|
|
1162
1162
|
"aria-describedby": void 0
|
|
1163
|
-
}),
|
|
1163
|
+
}), ro = i(re, {
|
|
1164
1164
|
_id: "aiChatFeedbackModal__Header",
|
|
1165
1165
|
children: "Help improve my answers!"
|
|
1166
|
-
}),
|
|
1166
|
+
}), co = i(oe, {
|
|
1167
1167
|
_id: "aiChatFeedbackModal__Close",
|
|
1168
1168
|
children: /* @__PURE__ */ n(A, { iconKey: "close" })
|
|
1169
|
-
}),
|
|
1169
|
+
}), mo = i("div", {
|
|
1170
1170
|
_id: "aiChatFeedbackModal__Body"
|
|
1171
1171
|
}), Bi = i("form", {
|
|
1172
1172
|
_id: "aiChatFeedbackForm"
|
|
1173
|
-
}),
|
|
1174
|
-
const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback:
|
|
1173
|
+
}), lo = (t) => {
|
|
1174
|
+
const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: o, setCurrentFeedback: r } = de();
|
|
1175
1175
|
return /* @__PURE__ */ n(Bi, { onSubmit: h(e, (d) => {
|
|
1176
1176
|
d.preventDefault();
|
|
1177
1177
|
const m = d.target, l = new FormData(m), C = Object.fromEntries(l.entries());
|
|
1178
|
-
|
|
1178
|
+
o && (s(o, C), r(null));
|
|
1179
1179
|
}), ...a });
|
|
1180
1180
|
}, Ti = i("div", {
|
|
1181
1181
|
_id: "aiChatFeedbackItem"
|
|
1182
|
-
}),
|
|
1182
|
+
}), ho = (t) => {
|
|
1183
1183
|
const { name: e, ...a } = t;
|
|
1184
1184
|
return /* @__PURE__ */ n(Oe, { name: e, children: /* @__PURE__ */ n(Ti, { ...a }) });
|
|
1185
1185
|
}, yi = i(V.Root, {
|
|
1186
1186
|
_id: "aiChatFeedbackItem__Checkbox"
|
|
1187
|
-
}),
|
|
1188
|
-
const { name: e, focusItem: a } = me(), { onCheckedChange: s, ...
|
|
1187
|
+
}), uo = (t) => {
|
|
1188
|
+
const { name: e, focusItem: a } = me(), { onCheckedChange: s, ...o } = t, r = (c) => {
|
|
1189
1189
|
c && a?.current?.focus();
|
|
1190
1190
|
};
|
|
1191
1191
|
return /* @__PURE__ */ n(
|
|
@@ -1193,16 +1193,16 @@ ${S}${N}`;
|
|
|
1193
1193
|
{
|
|
1194
1194
|
id: `feedback-${e}`,
|
|
1195
1195
|
name: e,
|
|
1196
|
-
onCheckedChange: h(s,
|
|
1197
|
-
...
|
|
1196
|
+
onCheckedChange: h(s, r),
|
|
1197
|
+
...o
|
|
1198
1198
|
}
|
|
1199
1199
|
);
|
|
1200
|
-
},
|
|
1200
|
+
}, Co = i(V.Indicator, {
|
|
1201
1201
|
_id: "aiChatFeedbackItem__CheckboxIndicator",
|
|
1202
1202
|
children: /* @__PURE__ */ n(Pe, {})
|
|
1203
1203
|
}), wi = i("label", {
|
|
1204
1204
|
_id: "aiChatFeedbackItem__Label"
|
|
1205
|
-
}),
|
|
1205
|
+
}), po = (t) => {
|
|
1206
1206
|
const { name: e } = me(), a = {
|
|
1207
1207
|
unrelated_response: "Didn't answer my question",
|
|
1208
1208
|
inaccurate_statement: "Inaccurate statement",
|
|
@@ -1213,7 +1213,7 @@ ${S}${N}`;
|
|
|
1213
1213
|
}, Hi = i("textarea", {
|
|
1214
1214
|
_id: "aiChatFeedbackItem__Description",
|
|
1215
1215
|
placeholder: "Please describe"
|
|
1216
|
-
}),
|
|
1216
|
+
}), vo = (t) => {
|
|
1217
1217
|
const { name: e, focusItem: a } = me();
|
|
1218
1218
|
return /* @__PURE__ */ n(
|
|
1219
1219
|
Hi,
|
|
@@ -1223,59 +1223,59 @@ ${S}${N}`;
|
|
|
1223
1223
|
...t
|
|
1224
1224
|
}
|
|
1225
1225
|
);
|
|
1226
|
-
},
|
|
1226
|
+
}, go = i("button", {
|
|
1227
1227
|
_id: "aiChatFeedbackForm__SubmitButton",
|
|
1228
1228
|
children: "Submit",
|
|
1229
1229
|
type: "submit"
|
|
1230
1230
|
}), Li = i("div", {
|
|
1231
1231
|
_id: "aiChatForm__Wrapper"
|
|
1232
|
-
}),
|
|
1232
|
+
}), _o = (t) => {
|
|
1233
1233
|
const { form: e } = b();
|
|
1234
1234
|
return e ? /* @__PURE__ */ n(Li, { ...t }) : null;
|
|
1235
1235
|
}, Di = i("form", {
|
|
1236
1236
|
_id: "aiChatForm"
|
|
1237
|
-
}),
|
|
1238
|
-
const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess:
|
|
1239
|
-
return
|
|
1237
|
+
}), bo = (t) => {
|
|
1238
|
+
const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: o } = b();
|
|
1239
|
+
return o ? null : /* @__PURE__ */ n(Di, { onSubmit: h(e, s), ...a });
|
|
1240
1240
|
}, xi = i("button", {
|
|
1241
1241
|
_id: "aiChatForm__Close",
|
|
1242
1242
|
children: /* @__PURE__ */ n(A, { iconKey: "close" })
|
|
1243
|
-
}),
|
|
1243
|
+
}), Ao = (t) => {
|
|
1244
1244
|
const { onClick: e, ...a } = t, { closeForm: s } = b();
|
|
1245
1245
|
return /* @__PURE__ */ n(xi, { onClick: h(e, s), ...a });
|
|
1246
|
-
},
|
|
1246
|
+
}, Po = i("div", {
|
|
1247
1247
|
_id: "aiChatForm__Header"
|
|
1248
1248
|
}), Oi = i("h2", {
|
|
1249
1249
|
_id: "aiChatForm__Heading"
|
|
1250
|
-
}),
|
|
1250
|
+
}), Fo = (t) => {
|
|
1251
1251
|
const { form: e } = b();
|
|
1252
1252
|
return e?.heading ? /* @__PURE__ */ n(Oi, { children: e.heading, ...t }) : null;
|
|
1253
1253
|
}, Wi = i("span", {
|
|
1254
1254
|
_id: "aiChatForm__Description"
|
|
1255
|
-
}),
|
|
1255
|
+
}), Mo = (t) => {
|
|
1256
1256
|
const { form: e } = b();
|
|
1257
1257
|
return e?.description ? /* @__PURE__ */ n(Wi, { children: e.description, ...t }) : null;
|
|
1258
1258
|
}, Qi = i("div", {
|
|
1259
1259
|
_id: "aiChatForm__Content"
|
|
1260
|
-
}),
|
|
1260
|
+
}), Io = (t) => {
|
|
1261
1261
|
const { children: e, ...a } = t, { fields: s = [] } = b();
|
|
1262
1262
|
return /* @__PURE__ */ n(Qi, { children: I(e, s), ...a });
|
|
1263
1263
|
}, Ni = i("div", {
|
|
1264
1264
|
_id: "aiChatForm__Field"
|
|
1265
|
-
}),
|
|
1266
|
-
const { field: e, autoFocus: a, ...s } = t, { control:
|
|
1265
|
+
}), fo = (t) => {
|
|
1266
|
+
const { field: e, autoFocus: a, ...s } = t, { control: o, errors: r } = b();
|
|
1267
1267
|
return /* @__PURE__ */ n(
|
|
1268
1268
|
je,
|
|
1269
1269
|
{
|
|
1270
1270
|
name: e.name,
|
|
1271
|
-
control:
|
|
1271
|
+
control: o,
|
|
1272
1272
|
rules: { required: e.isRequired ? `${e.label} is required.` : void 0 },
|
|
1273
1273
|
render: ({ field: c }) => {
|
|
1274
1274
|
const d = c.value !== void 0 || e.inputType === "file";
|
|
1275
1275
|
return /* @__PURE__ */ n(
|
|
1276
1276
|
qe,
|
|
1277
1277
|
{
|
|
1278
|
-
"data-invalid": v(!!
|
|
1278
|
+
"data-invalid": v(!!r[e.name]),
|
|
1279
1279
|
field: e,
|
|
1280
1280
|
fieldProps: c,
|
|
1281
1281
|
autoFocus: a,
|
|
@@ -1294,7 +1294,7 @@ ${S}${N}`;
|
|
|
1294
1294
|
);
|
|
1295
1295
|
}, Ri = i("label", {
|
|
1296
1296
|
_id: "aiChatForm__FieldLabel"
|
|
1297
|
-
}),
|
|
1297
|
+
}), So = (t) => {
|
|
1298
1298
|
const { field: e } = H();
|
|
1299
1299
|
return /* @__PURE__ */ n(
|
|
1300
1300
|
Ri,
|
|
@@ -1312,7 +1312,7 @@ ${S}${N}`;
|
|
|
1312
1312
|
const {
|
|
1313
1313
|
field: e,
|
|
1314
1314
|
error: a,
|
|
1315
|
-
fieldProps: { onChange: s, onBlur:
|
|
1315
|
+
fieldProps: { onChange: s, onBlur: o, ...r },
|
|
1316
1316
|
autoFocus: c
|
|
1317
1317
|
} = H(), { onChange: d, onBlur: m, ...l } = t;
|
|
1318
1318
|
return /* @__PURE__ */ n(
|
|
@@ -1323,27 +1323,27 @@ ${S}${N}`;
|
|
|
1323
1323
|
placeholder: "placeholder" in e ? e.placeholder : void 0,
|
|
1324
1324
|
"data-invalid": v(!!a),
|
|
1325
1325
|
onChange: h(d, s),
|
|
1326
|
-
onBlur: h(m,
|
|
1327
|
-
...
|
|
1326
|
+
onBlur: h(m, o),
|
|
1327
|
+
...r,
|
|
1328
1328
|
...l
|
|
1329
1329
|
}
|
|
1330
1330
|
);
|
|
1331
|
-
},
|
|
1331
|
+
}, ko = i(Ie, {
|
|
1332
1332
|
_id: "aiChatForm__FieldEmail",
|
|
1333
1333
|
type: "email"
|
|
1334
1334
|
}), Vi = i("input", {
|
|
1335
1335
|
_id: "aiChatForm__FieldFile",
|
|
1336
1336
|
type: "file",
|
|
1337
1337
|
multiple: !0
|
|
1338
|
-
}),
|
|
1338
|
+
}), Eo = (t) => {
|
|
1339
1339
|
const {
|
|
1340
1340
|
field: e,
|
|
1341
1341
|
error: a,
|
|
1342
|
-
fieldProps: { value: s, onChange:
|
|
1342
|
+
fieldProps: { value: s, onChange: o, onBlur: r, ...c },
|
|
1343
1343
|
autoFocus: d
|
|
1344
1344
|
} = H(), { onChange: m, onBlur: l, ...C } = t, p = (P) => {
|
|
1345
1345
|
const T = P.target.files;
|
|
1346
|
-
|
|
1346
|
+
o(T);
|
|
1347
1347
|
};
|
|
1348
1348
|
return /* @__PURE__ */ n(
|
|
1349
1349
|
Vi,
|
|
@@ -1355,52 +1355,52 @@ ${S}${N}`;
|
|
|
1355
1355
|
...C,
|
|
1356
1356
|
...c,
|
|
1357
1357
|
onChange: h(m, p),
|
|
1358
|
-
onBlur: h(l,
|
|
1358
|
+
onBlur: h(l, r)
|
|
1359
1359
|
}
|
|
1360
1360
|
);
|
|
1361
|
-
},
|
|
1361
|
+
}, Bo = i(Ie, {
|
|
1362
1362
|
_id: "aiChatForm__FieldTextArea",
|
|
1363
1363
|
type: "textarea",
|
|
1364
1364
|
asChild: !0,
|
|
1365
1365
|
children: /* @__PURE__ */ n(ie, { maxRows: 8 })
|
|
1366
1366
|
}), Ui = i(V.Root, {
|
|
1367
1367
|
_id: "aiChatForm__FieldCheckbox"
|
|
1368
|
-
}),
|
|
1369
|
-
const { field: e, error: a, fieldProps: s, autoFocus:
|
|
1368
|
+
}), To = (t) => {
|
|
1369
|
+
const { field: e, error: a, fieldProps: s, autoFocus: o } = H(), { onCheckedChange: r, ...c } = t;
|
|
1370
1370
|
return /* @__PURE__ */ n(
|
|
1371
1371
|
Ui,
|
|
1372
1372
|
{
|
|
1373
1373
|
id: e.name,
|
|
1374
1374
|
name: e.name,
|
|
1375
|
-
autoFocus:
|
|
1375
|
+
autoFocus: o,
|
|
1376
1376
|
"data-invalid": v(!!a),
|
|
1377
1377
|
checked: s.value,
|
|
1378
|
-
onCheckedChange: h(
|
|
1378
|
+
onCheckedChange: h(r, s.onChange),
|
|
1379
1379
|
...c
|
|
1380
1380
|
}
|
|
1381
1381
|
);
|
|
1382
|
-
},
|
|
1382
|
+
}, yo = i(V.Indicator, {
|
|
1383
1383
|
_id: "aiChatForm__FieldCheckboxIndicator",
|
|
1384
1384
|
children: /* @__PURE__ */ n(Pe, {})
|
|
1385
1385
|
}), Ki = i(f.Root, {
|
|
1386
1386
|
_id: "aiChatForm__FieldSelect"
|
|
1387
|
-
}),
|
|
1388
|
-
const { field: e, error: a, fieldProps: s } = H(), { onValueChange:
|
|
1387
|
+
}), wo = (t) => {
|
|
1388
|
+
const { field: e, error: a, fieldProps: s } = H(), { onValueChange: o, ...r } = t;
|
|
1389
1389
|
return /* @__PURE__ */ n(
|
|
1390
1390
|
Ki,
|
|
1391
1391
|
{
|
|
1392
1392
|
name: e.name,
|
|
1393
1393
|
"data-invalid": v(!!a),
|
|
1394
1394
|
value: s.value,
|
|
1395
|
-
onValueChange: h(
|
|
1396
|
-
...
|
|
1395
|
+
onValueChange: h(o, s.onChange),
|
|
1396
|
+
...r
|
|
1397
1397
|
}
|
|
1398
1398
|
);
|
|
1399
|
-
},
|
|
1399
|
+
}, Ho = i(f.Trigger, {
|
|
1400
1400
|
_id: "aiChatForm__FieldSelect__Trigger"
|
|
1401
1401
|
}), qi = i(f.Value, {
|
|
1402
1402
|
_id: "aiChatForm__FieldSelect__Value"
|
|
1403
|
-
}),
|
|
1403
|
+
}), Lo = (t) => {
|
|
1404
1404
|
const { field: e } = H();
|
|
1405
1405
|
return /* @__PURE__ */ n(
|
|
1406
1406
|
qi,
|
|
@@ -1409,20 +1409,20 @@ ${S}${N}`;
|
|
|
1409
1409
|
...t
|
|
1410
1410
|
}
|
|
1411
1411
|
);
|
|
1412
|
-
},
|
|
1412
|
+
}, Do = i(f.Icon, {
|
|
1413
1413
|
_id: "aiChatForm__FieldSelect__Icon",
|
|
1414
1414
|
asChild: !0,
|
|
1415
1415
|
children: /* @__PURE__ */ n(B, { iconSettings: { builtIn: "LuChevronDown" } })
|
|
1416
|
-
}),
|
|
1416
|
+
}), xo = i(f.Content, {
|
|
1417
1417
|
_id: "aiChatForm__FieldSelect__Content",
|
|
1418
1418
|
position: "popper"
|
|
1419
|
-
}),
|
|
1419
|
+
}), Oo = i(f.Viewport, {
|
|
1420
1420
|
_id: "aiChatForm__FieldSelect__Viewport"
|
|
1421
|
-
}),
|
|
1421
|
+
}), Wo = i(f.Item, {
|
|
1422
1422
|
_id: "aiChatForm__FieldSelect__Item"
|
|
1423
|
-
}),
|
|
1423
|
+
}), Qo = i(f.ItemText, {
|
|
1424
1424
|
_id: "aiChatForm__FieldSelect__ItemText"
|
|
1425
|
-
}),
|
|
1425
|
+
}), No = i(
|
|
1426
1426
|
f.ItemIndicator,
|
|
1427
1427
|
{
|
|
1428
1428
|
_id: "aiChatForm__FieldSelect__ItemIndicator",
|
|
@@ -1431,54 +1431,54 @@ ${S}${N}`;
|
|
|
1431
1431
|
}
|
|
1432
1432
|
), ji = i("span", {
|
|
1433
1433
|
_id: "aiChatForm__FieldError"
|
|
1434
|
-
}),
|
|
1434
|
+
}), Ro = (t) => {
|
|
1435
1435
|
const { error: e } = H();
|
|
1436
1436
|
return e ? /* @__PURE__ */ n(ji, { children: e.message?.toString(), ...t }) : null;
|
|
1437
1437
|
}, Gi = i("span", {
|
|
1438
1438
|
_id: "aiChatForm__Error"
|
|
1439
|
-
}),
|
|
1439
|
+
}), $o = (t) => {
|
|
1440
1440
|
const { formError: e } = b();
|
|
1441
1441
|
return e ? /* @__PURE__ */ n(Gi, { children: e.message, ...t }) : null;
|
|
1442
|
-
},
|
|
1442
|
+
}, Vo = i("div", {
|
|
1443
1443
|
_id: "aiChatForm__Footer"
|
|
1444
1444
|
}), zi = i("button", {
|
|
1445
1445
|
_id: "aiChatForm__Cancel",
|
|
1446
1446
|
children: "Cancel"
|
|
1447
|
-
}),
|
|
1447
|
+
}), Uo = (t) => {
|
|
1448
1448
|
const { onClick: e, ...a } = t, { closeForm: s } = b();
|
|
1449
1449
|
return /* @__PURE__ */ n(zi, { onClick: h(e, s), ...a });
|
|
1450
1450
|
}, Yi = i("button", {
|
|
1451
1451
|
_id: "aiChatForm__Submit",
|
|
1452
1452
|
children: "Submit",
|
|
1453
1453
|
type: "submit"
|
|
1454
|
-
}),
|
|
1454
|
+
}), Ko = (t) => {
|
|
1455
1455
|
const { onClick: e, ...a } = t, { isSubmitting: s } = b();
|
|
1456
1456
|
return /* @__PURE__ */ n(Yi, { disabled: s, ...a });
|
|
1457
1457
|
}, Ji = i("div", {
|
|
1458
1458
|
_id: "aiChatForm__Success"
|
|
1459
|
-
}),
|
|
1459
|
+
}), qo = (t) => {
|
|
1460
1460
|
const { isSuccess: e } = b();
|
|
1461
1461
|
return e ? /* @__PURE__ */ n(Ji, { ...t }) : null;
|
|
1462
1462
|
}, Xi = i("h2", {
|
|
1463
1463
|
_id: "aiChatForm__SuccessHeading"
|
|
1464
|
-
}),
|
|
1464
|
+
}), jo = (t) => {
|
|
1465
1465
|
const { form: e } = b();
|
|
1466
1466
|
return /* @__PURE__ */ n(Xi, { children: e?.successView.heading, ...t });
|
|
1467
1467
|
}, Zi = i(q, {
|
|
1468
1468
|
_id: "aiChatForm__SuccessMessage"
|
|
1469
|
-
}),
|
|
1469
|
+
}), Go = (t) => {
|
|
1470
1470
|
const { form: e } = b();
|
|
1471
1471
|
return /* @__PURE__ */ n(Zi, { children: e?.successView.message, ...t });
|
|
1472
1472
|
}, ea = i("button", {
|
|
1473
1473
|
_id: "aiChatForm__SuccessButton"
|
|
1474
|
-
}),
|
|
1475
|
-
const { onClick: e, ...a } = t, { form: s, closeForm:
|
|
1476
|
-
if (!
|
|
1477
|
-
const c =
|
|
1474
|
+
}), zo = (t) => {
|
|
1475
|
+
const { onClick: e, ...a } = t, { form: s, closeForm: o } = b(), r = s?.successView?.doneButton;
|
|
1476
|
+
if (!r) return null;
|
|
1477
|
+
const c = r.icon && /* @__PURE__ */ n(B, { iconSettings: r.icon }), d = r.label;
|
|
1478
1478
|
return /* @__PURE__ */ n(
|
|
1479
1479
|
ea,
|
|
1480
1480
|
{
|
|
1481
|
-
onClick: h(e,
|
|
1481
|
+
onClick: h(e, o),
|
|
1482
1482
|
children: /* @__PURE__ */ R(te, { children: [
|
|
1483
1483
|
c,
|
|
1484
1484
|
d
|
|
@@ -1534,10 +1534,10 @@ export {
|
|
|
1534
1534
|
an as ContentScrollAreaThumb,
|
|
1535
1535
|
en as ContentScrollAreaViewport,
|
|
1536
1536
|
qa as ConversationLoading,
|
|
1537
|
-
|
|
1537
|
+
on as Disclaimer,
|
|
1538
1538
|
ln as DisclaimerArrow,
|
|
1539
1539
|
dn as DisclaimerContent,
|
|
1540
|
-
|
|
1540
|
+
rn as DisclaimerLabel,
|
|
1541
1541
|
mn as DisclaimerText,
|
|
1542
1542
|
cn as DisclaimerTrigger,
|
|
1543
1543
|
Us as EmbeddedChatPrimitiveActionBar,
|
|
@@ -1586,68 +1586,68 @@ export {
|
|
|
1586
1586
|
an as EmbeddedChatPrimitiveContentScrollAreaThumb,
|
|
1587
1587
|
en as EmbeddedChatPrimitiveContentScrollAreaViewport,
|
|
1588
1588
|
qa as EmbeddedChatPrimitiveConversationLoading,
|
|
1589
|
-
|
|
1589
|
+
on as EmbeddedChatPrimitiveDisclaimer,
|
|
1590
1590
|
ln as EmbeddedChatPrimitiveDisclaimerArrow,
|
|
1591
1591
|
dn as EmbeddedChatPrimitiveDisclaimerContent,
|
|
1592
|
-
|
|
1592
|
+
rn as EmbeddedChatPrimitiveDisclaimerLabel,
|
|
1593
1593
|
mn as EmbeddedChatPrimitiveDisclaimerText,
|
|
1594
1594
|
cn as EmbeddedChatPrimitiveDisclaimerTrigger,
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1595
|
+
lo as EmbeddedChatPrimitiveFeedbackForm,
|
|
1596
|
+
ho as EmbeddedChatPrimitiveFeedbackItem,
|
|
1597
|
+
uo as EmbeddedChatPrimitiveFeedbackItemCheckbox,
|
|
1598
|
+
Co as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
|
|
1599
|
+
vo as EmbeddedChatPrimitiveFeedbackItemDescription,
|
|
1600
|
+
po as EmbeddedChatPrimitiveFeedbackItemLabel,
|
|
1601
|
+
no as EmbeddedChatPrimitiveFeedbackModal,
|
|
1602
|
+
mo as EmbeddedChatPrimitiveFeedbackModalBody,
|
|
1603
|
+
co as EmbeddedChatPrimitiveFeedbackModalClose,
|
|
1604
|
+
oo as EmbeddedChatPrimitiveFeedbackModalContent,
|
|
1605
|
+
ro as EmbeddedChatPrimitiveFeedbackModalHeader,
|
|
1606
|
+
so as EmbeddedChatPrimitiveFeedbackModalOverlay,
|
|
1607
|
+
go as EmbeddedChatPrimitiveFeedbackSubmitButton,
|
|
1608
|
+
os as EmbeddedChatPrimitiveFooter,
|
|
1609
|
+
bo as EmbeddedChatPrimitiveForm,
|
|
1610
|
+
Uo as EmbeddedChatPrimitiveFormCancel,
|
|
1611
|
+
Ao as EmbeddedChatPrimitiveFormClose,
|
|
1612
|
+
Io as EmbeddedChatPrimitiveFormContent,
|
|
1613
|
+
Mo as EmbeddedChatPrimitiveFormDescription,
|
|
1614
|
+
$o as EmbeddedChatPrimitiveFormError,
|
|
1615
|
+
fo as EmbeddedChatPrimitiveFormField,
|
|
1616
|
+
To as EmbeddedChatPrimitiveFormFieldCheckbox,
|
|
1617
|
+
yo as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
|
|
1618
|
+
ko as EmbeddedChatPrimitiveFormFieldEmail,
|
|
1619
|
+
Ro as EmbeddedChatPrimitiveFormFieldError,
|
|
1620
|
+
Eo as EmbeddedChatPrimitiveFormFieldFile,
|
|
1621
|
+
So as EmbeddedChatPrimitiveFormFieldLabel,
|
|
1622
|
+
wo as EmbeddedChatPrimitiveFormFieldSelect,
|
|
1623
|
+
xo as EmbeddedChatPrimitiveFormFieldSelectContent,
|
|
1624
|
+
Do as EmbeddedChatPrimitiveFormFieldSelectIcon,
|
|
1625
|
+
Wo as EmbeddedChatPrimitiveFormFieldSelectItem,
|
|
1626
|
+
No as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
|
|
1627
|
+
Qo as EmbeddedChatPrimitiveFormFieldSelectItemText,
|
|
1628
|
+
Ho as EmbeddedChatPrimitiveFormFieldSelectTrigger,
|
|
1629
|
+
Lo as EmbeddedChatPrimitiveFormFieldSelectValue,
|
|
1630
|
+
Oo as EmbeddedChatPrimitiveFormFieldSelectViewport,
|
|
1631
1631
|
Ie as EmbeddedChatPrimitiveFormFieldText,
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1632
|
+
Bo as EmbeddedChatPrimitiveFormFieldTextArea,
|
|
1633
|
+
Vo as EmbeddedChatPrimitiveFormFooter,
|
|
1634
|
+
Po as EmbeddedChatPrimitiveFormHeader,
|
|
1635
|
+
Fo as EmbeddedChatPrimitiveFormHeading,
|
|
1636
|
+
Ko as EmbeddedChatPrimitiveFormSubmit,
|
|
1637
|
+
qo as EmbeddedChatPrimitiveFormSuccess,
|
|
1638
|
+
zo as EmbeddedChatPrimitiveFormSuccessButton,
|
|
1639
|
+
jo as EmbeddedChatPrimitiveFormSuccessHeading,
|
|
1640
|
+
Go as EmbeddedChatPrimitiveFormSuccessMessage,
|
|
1641
|
+
_o as EmbeddedChatPrimitiveFormWrapper,
|
|
1642
1642
|
za as EmbeddedChatPrimitiveHeaderToolbar,
|
|
1643
1643
|
Js as EmbeddedChatPrimitiveHelpActions,
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1644
|
+
eo as EmbeddedChatPrimitiveHelpActionsMenu,
|
|
1645
|
+
to as EmbeddedChatPrimitiveHelpActionsMenuArrow,
|
|
1646
|
+
io as EmbeddedChatPrimitiveHelpActionsMenuItem,
|
|
1647
|
+
ao as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
|
|
1648
1648
|
Zs as EmbeddedChatPrimitiveHelpActionsTrigger,
|
|
1649
1649
|
ds as EmbeddedChatPrimitiveInput,
|
|
1650
|
-
|
|
1650
|
+
rs as EmbeddedChatPrimitiveInputFieldset,
|
|
1651
1651
|
cs as EmbeddedChatPrimitiveInputGroup,
|
|
1652
1652
|
Fn as EmbeddedChatPrimitiveIntroMessageWrapper,
|
|
1653
1653
|
Vn as EmbeddedChatPrimitiveMessage,
|
|
@@ -1708,64 +1708,64 @@ export {
|
|
|
1708
1708
|
_n as EmbeddedChatPrimitiveWorkflowsLabel,
|
|
1709
1709
|
bn as EmbeddedChatPrimitiveWorkflowsList,
|
|
1710
1710
|
Ka as EmbeddedChatPrimitiveWrapper,
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1711
|
+
lo as FeedbackForm,
|
|
1712
|
+
ho as FeedbackItem,
|
|
1713
|
+
uo as FeedbackItemCheckbox,
|
|
1714
|
+
Co as FeedbackItemCheckboxIndicator,
|
|
1715
|
+
vo as FeedbackItemDescription,
|
|
1716
|
+
po as FeedbackItemLabel,
|
|
1717
|
+
no as FeedbackModal,
|
|
1718
|
+
mo as FeedbackModalBody,
|
|
1719
|
+
co as FeedbackModalClose,
|
|
1720
|
+
oo as FeedbackModalContent,
|
|
1721
|
+
ro as FeedbackModalHeader,
|
|
1722
|
+
so as FeedbackModalOverlay,
|
|
1723
|
+
go as FeedbackSubmitButton,
|
|
1724
|
+
os as Footer,
|
|
1725
|
+
bo as Form,
|
|
1726
|
+
Uo as FormCancel,
|
|
1727
|
+
Ao as FormClose,
|
|
1728
|
+
Io as FormContent,
|
|
1729
|
+
Mo as FormDescription,
|
|
1730
|
+
$o as FormError,
|
|
1731
|
+
fo as FormField,
|
|
1732
|
+
To as FormFieldCheckbox,
|
|
1733
|
+
yo as FormFieldCheckboxIndicator,
|
|
1734
|
+
ko as FormFieldEmail,
|
|
1735
|
+
Ro as FormFieldError,
|
|
1736
|
+
Eo as FormFieldFile,
|
|
1737
|
+
So as FormFieldLabel,
|
|
1738
|
+
wo as FormFieldSelect,
|
|
1739
|
+
xo as FormFieldSelectContent,
|
|
1740
|
+
Do as FormFieldSelectIcon,
|
|
1741
|
+
Wo as FormFieldSelectItem,
|
|
1742
|
+
No as FormFieldSelectItemIndicator,
|
|
1743
|
+
Qo as FormFieldSelectItemText,
|
|
1744
|
+
Ho as FormFieldSelectTrigger,
|
|
1745
|
+
Lo as FormFieldSelectValue,
|
|
1746
|
+
Oo as FormFieldSelectViewport,
|
|
1747
1747
|
Ie as FormFieldText,
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1748
|
+
Bo as FormFieldTextArea,
|
|
1749
|
+
Vo as FormFooter,
|
|
1750
|
+
Po as FormHeader,
|
|
1751
|
+
Fo as FormHeading,
|
|
1752
|
+
Ko as FormSubmit,
|
|
1753
|
+
qo as FormSuccess,
|
|
1754
|
+
zo as FormSuccessButton,
|
|
1755
|
+
jo as FormSuccessHeading,
|
|
1756
|
+
Go as FormSuccessMessage,
|
|
1757
|
+
_o as FormWrapper,
|
|
1758
1758
|
Ga as Header,
|
|
1759
1759
|
za as HeaderToolbar,
|
|
1760
1760
|
Ya as HeaderToolbarWrapper,
|
|
1761
1761
|
Js as HelpActions,
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1762
|
+
eo as HelpActionsMenu,
|
|
1763
|
+
to as HelpActionsMenuArrow,
|
|
1764
|
+
io as HelpActionsMenuItem,
|
|
1765
|
+
ao as HelpActionsMenuItemIcon,
|
|
1766
1766
|
Zs as HelpActionsTrigger,
|
|
1767
1767
|
ds as Input,
|
|
1768
|
-
|
|
1768
|
+
rs as InputFieldset,
|
|
1769
1769
|
cs as InputGroup,
|
|
1770
1770
|
Fn as IntroMessageWrapper,
|
|
1771
1771
|
Vn as Message,
|
|
@@ -1807,7 +1807,7 @@ export {
|
|
|
1807
1807
|
Kn as MessageToolActions,
|
|
1808
1808
|
At as MessageWrapper,
|
|
1809
1809
|
sn as Messages,
|
|
1810
|
-
|
|
1810
|
+
Xo as Provider,
|
|
1811
1811
|
pn as QuickQuestion,
|
|
1812
1812
|
vn as QuickQuestionButton,
|
|
1813
1813
|
hn as QuickQuestions,
|