@inkeep/cxkit-primitives 0.5.52 → 0.5.55
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/cmdk/index.cjs +1 -1
- package/dist/atoms/cmdk/index.js +56 -55
- package/dist/components/embedded-chat.cjs +2 -2
- package/dist/components/embedded-chat.js +661 -648
- package/dist/components/modal.cjs +1 -1
- package/dist/components/modal.js +12 -12
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/providers/base-events-provider.cjs +1 -1
- package/dist/providers/base-events-provider.js +1 -1
- package/dist/providers/user-provider.cjs +1 -1
- package/dist/providers/user-provider.js +21 -22
- package/package.json +4 -4
|
@@ -33,7 +33,7 @@ import { stringifyAttachments as We } from "../utils/get-message-metadata.js";
|
|
|
33
33
|
import { dataAttr as v, maybeRender as I, getInitials as Ne, getMessageContent as me } from "../utils/misc.js";
|
|
34
34
|
import { ikp as i } from "./factory.js";
|
|
35
35
|
import { useChat as g } from "./embedded-chat/chat-provider.js";
|
|
36
|
-
import { ChatProvider as
|
|
36
|
+
import { ChatProvider as rr } from "./embedded-chat/chat-provider.js";
|
|
37
37
|
import Re from "./tagline-logo-icon.js";
|
|
38
38
|
import { useSettleAction as $e } from "../hooks/use-settle-action.js";
|
|
39
39
|
import { useContainerSize as Qe } from "../hooks/use-container-size.js";
|
|
@@ -54,7 +54,7 @@ import { useDebounce as Ze } from "../hooks/use-debounce.js";
|
|
|
54
54
|
import { HoverPopoverProvider as et, useHoverPopover as Me } from "../providers/hover-popover-provider.js";
|
|
55
55
|
const tt = "__intro__", it = i("div", {
|
|
56
56
|
_id: "aiChatWrapper"
|
|
57
|
-
}),
|
|
57
|
+
}), en = V((t, e) => {
|
|
58
58
|
const { ...a } = t, { isHidden: s, isMobile: o } = g(), [r, c] = Qe(), d = he(e, r), m = c?.width ? c.width > 580 : !0, l = Fe();
|
|
59
59
|
return /* @__PURE__ */ n(
|
|
60
60
|
it,
|
|
@@ -69,34 +69,34 @@ const tt = "__intro__", it = i("div", {
|
|
|
69
69
|
);
|
|
70
70
|
}), at = i("div", {
|
|
71
71
|
_id: "aiChatConversationLoading"
|
|
72
|
-
}),
|
|
72
|
+
}), tn = (t) => {
|
|
73
73
|
const { isLoadingConversation: e } = g();
|
|
74
74
|
return e ? /* @__PURE__ */ n(at, { children: /* @__PURE__ */ n("span", { children: "Loading..." }), ...t }) : null;
|
|
75
75
|
}, nt = i("div", {
|
|
76
76
|
_id: "aiChatRoot"
|
|
77
|
-
}),
|
|
77
|
+
}), an = (t) => {
|
|
78
78
|
const { isLoadingConversation: e, isHidden: a } = g(), { form: s } = _();
|
|
79
79
|
return e || s ? null : /* @__PURE__ */ n(nt, { "data-hidden": v(a), ...t });
|
|
80
|
-
},
|
|
80
|
+
}, nn = i("div", {
|
|
81
81
|
_id: "aiChatHeader"
|
|
82
|
-
}),
|
|
82
|
+
}), sn = i("div", {
|
|
83
83
|
_id: "aiChatHeader__Toolbar"
|
|
84
|
-
}),
|
|
84
|
+
}), on = i("div", {
|
|
85
85
|
_id: "aiChatHeader__ToolbarHeaderWrapper"
|
|
86
86
|
}), st = i("div", {
|
|
87
87
|
_id: "aiChatHeader__ToolbarHeader"
|
|
88
|
-
}),
|
|
88
|
+
}), rn = P(
|
|
89
89
|
(t) => {
|
|
90
90
|
const { aiChatSettings: e } = u(), a = `Ask ${e.aiAssistantName || "AI"}`;
|
|
91
91
|
return /* @__PURE__ */ n(st, { ...t, children: a });
|
|
92
92
|
}
|
|
93
|
-
),
|
|
93
|
+
), cn = i("div", {
|
|
94
94
|
_id: "aiChatContent"
|
|
95
|
-
}),
|
|
95
|
+
}), dn = i(D.Root, {
|
|
96
96
|
_id: "aiChatContentScrollArea"
|
|
97
97
|
}), ot = i(D.Viewport, {
|
|
98
98
|
_id: "aiChatContentScrollArea__Viewport"
|
|
99
|
-
}),
|
|
99
|
+
}), mn = V(({ children: t, ...e }, a) => {
|
|
100
100
|
const { containerRef: s } = Ye(), o = he(a, s);
|
|
101
101
|
return /* @__PURE__ */ n(
|
|
102
102
|
ot,
|
|
@@ -109,33 +109,33 @@ const tt = "__intro__", it = i("div", {
|
|
|
109
109
|
...e
|
|
110
110
|
}
|
|
111
111
|
);
|
|
112
|
-
}),
|
|
112
|
+
}), ln = i(
|
|
113
113
|
D.ScrollAreaScrollbar,
|
|
114
114
|
{
|
|
115
115
|
_id: "aiChatContentScrollArea__Scrollbar"
|
|
116
116
|
}
|
|
117
|
-
),
|
|
117
|
+
), hn = i(
|
|
118
118
|
D.ScrollAreaThumb,
|
|
119
119
|
{
|
|
120
120
|
_id: "aiChatContentScrollArea__Thumb"
|
|
121
121
|
}
|
|
122
|
-
),
|
|
122
|
+
), un = i(D.Corner, {
|
|
123
123
|
_id: "aiChatContentScrollArea__Corner"
|
|
124
124
|
}), rt = i("div", {
|
|
125
125
|
_id: "aiChatMessages"
|
|
126
|
-
}),
|
|
126
|
+
}), Cn = (t) => {
|
|
127
127
|
const e = g(), { children: a, ...s } = t;
|
|
128
128
|
return /* @__PURE__ */ n(rt, { children: I(a, e), ...s });
|
|
129
129
|
}, ct = i("div", {
|
|
130
130
|
_id: "aiChatDisclaimer"
|
|
131
|
-
}),
|
|
131
|
+
}), pn = P(
|
|
132
132
|
(t) => {
|
|
133
133
|
const { aiChatSettings: e } = u(), [a, s] = be(!1), o = Ze(a, 100);
|
|
134
134
|
return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(et, { open: a, setOpen: s, children: /* @__PURE__ */ n(k.Root, { open: o, onOpenChange: s, children: /* @__PURE__ */ n(ct, { ...t }) }) }) : null;
|
|
135
135
|
}
|
|
136
136
|
), dt = i("span", {
|
|
137
137
|
_id: "aiChatDisclaimerLabel"
|
|
138
|
-
}),
|
|
138
|
+
}), vn = P(
|
|
139
139
|
(t) => {
|
|
140
140
|
const { aiChatSettings: e } = u(), a = e.disclaimerSettings;
|
|
141
141
|
return /* @__PURE__ */ n(dt, { children: a?.label, ...t });
|
|
@@ -143,7 +143,7 @@ const tt = "__intro__", it = i("div", {
|
|
|
143
143
|
), mt = i(k.Trigger, {
|
|
144
144
|
_id: "aiChatDisclaimerTrigger",
|
|
145
145
|
children: /* @__PURE__ */ n(A, { iconKey: "info" })
|
|
146
|
-
}),
|
|
146
|
+
}), gn = P(
|
|
147
147
|
(t) => {
|
|
148
148
|
const { setOpen: e } = Me();
|
|
149
149
|
return /* @__PURE__ */ n(
|
|
@@ -157,7 +157,7 @@ const tt = "__intro__", it = i("div", {
|
|
|
157
157
|
}
|
|
158
158
|
), lt = i(k.Content, {
|
|
159
159
|
_id: "aiChatDisclaimerContent"
|
|
160
|
-
}),
|
|
160
|
+
}), bn = (t) => {
|
|
161
161
|
const { setOpen: e } = Me();
|
|
162
162
|
return /* @__PURE__ */ n(
|
|
163
163
|
lt,
|
|
@@ -173,40 +173,40 @@ const tt = "__intro__", it = i("div", {
|
|
|
173
173
|
);
|
|
174
174
|
}, ht = i(re, {
|
|
175
175
|
_id: "aiChatDisclaimerText"
|
|
176
|
-
}),
|
|
176
|
+
}), _n = P(
|
|
177
177
|
(t) => {
|
|
178
178
|
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.`;
|
|
179
179
|
return /* @__PURE__ */ n(ht, { shouldOpenLinksInNewTab: !0, children: o, ...t });
|
|
180
180
|
}
|
|
181
|
-
),
|
|
181
|
+
), An = i(k.Arrow, {
|
|
182
182
|
_id: "aiChatDisclaimerArrow"
|
|
183
183
|
}), ut = i("div", {
|
|
184
184
|
_id: "aiChatExampleQuestions"
|
|
185
|
-
}),
|
|
185
|
+
}), Pn = (t) => {
|
|
186
186
|
const { aiChatSettings: e } = u(), { messages: a } = g();
|
|
187
187
|
return !e.exampleQuestions?.length || a.length ? null : /* @__PURE__ */ n(ut, { ...t });
|
|
188
188
|
}, Ct = i("h3", {
|
|
189
189
|
_id: "aiChatExampleQuestionsLabel"
|
|
190
|
-
}),
|
|
190
|
+
}), Fn = P(
|
|
191
191
|
(t) => {
|
|
192
192
|
const { aiChatSettings: e } = u();
|
|
193
193
|
return /* @__PURE__ */ n(Ct, { children: e.exampleQuestionsLabel, ...t });
|
|
194
194
|
}
|
|
195
195
|
), pt = i("div", {
|
|
196
196
|
_id: "aiChatExampleQuestionsList"
|
|
197
|
-
}),
|
|
197
|
+
}), Mn = P(
|
|
198
198
|
(t) => {
|
|
199
199
|
const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...o } = t;
|
|
200
200
|
return /* @__PURE__ */ n(pt, { children: I(s, a), ...o });
|
|
201
201
|
}
|
|
202
202
|
), vt = i("div", {
|
|
203
203
|
_id: "aiChatExampleQuestion"
|
|
204
|
-
}),
|
|
204
|
+
}), In = V((t, e) => {
|
|
205
205
|
const { aiChatSettings: a } = u(), s = a.isFirstExampleQuestionHighlighted;
|
|
206
206
|
return /* @__PURE__ */ n(vt, { ref: e, "data-highlight": v(s), ...t });
|
|
207
207
|
}), gt = i("button", {
|
|
208
208
|
_id: "aiChatExampleQuestionButton"
|
|
209
|
-
}),
|
|
209
|
+
}), fn = (t) => {
|
|
210
210
|
const { question: e, onClick: a, ...s } = t, { handleSubmit: o } = g();
|
|
211
211
|
return /* @__PURE__ */ n(
|
|
212
212
|
gt,
|
|
@@ -218,24 +218,24 @@ const tt = "__intro__", it = i("div", {
|
|
|
218
218
|
);
|
|
219
219
|
}, bt = i("div", {
|
|
220
220
|
_id: "aiChatWorkflows"
|
|
221
|
-
}),
|
|
221
|
+
}), En = (t) => {
|
|
222
222
|
const { aiChatSettings: e } = u(), { messages: a } = g();
|
|
223
223
|
return !e.workflows?.length || a.length ? null : /* @__PURE__ */ n(bt, { ...t });
|
|
224
224
|
}, _t = i("h3", {
|
|
225
225
|
_id: "aiChatWorkflowsLabel"
|
|
226
|
-
}),
|
|
226
|
+
}), Sn = P((t) => {
|
|
227
227
|
const { aiChatSettings: e } = u();
|
|
228
228
|
return /* @__PURE__ */ n(_t, { children: e.workflowsHeader, ...t });
|
|
229
229
|
}), At = i("div", {
|
|
230
230
|
_id: "aiChatWorkflowsList"
|
|
231
|
-
}),
|
|
231
|
+
}), kn = P(
|
|
232
232
|
(t) => {
|
|
233
233
|
const { aiChatSettings: e } = u(), a = e.workflows, { children: s, ...o } = t;
|
|
234
234
|
return /* @__PURE__ */ n(At, { children: I(s, a), ...o });
|
|
235
235
|
}
|
|
236
236
|
), Pt = i("button", {
|
|
237
237
|
_id: "aiChatWorkflow"
|
|
238
|
-
}),
|
|
238
|
+
}), Bn = (t) => {
|
|
239
239
|
const { workflow: e, onClick: a, ...s } = t, { handleWorkflow: o } = g();
|
|
240
240
|
return /* @__PURE__ */ n(
|
|
241
241
|
Pt,
|
|
@@ -247,12 +247,12 @@ const tt = "__intro__", it = i("div", {
|
|
|
247
247
|
);
|
|
248
248
|
}, Ft = i(Se, {
|
|
249
249
|
_id: "aiChatWorkflow__Icon"
|
|
250
|
-
}),
|
|
250
|
+
}), Tn = (t) => /* @__PURE__ */ n(Ft, { ...t }), Mt = i("div", {
|
|
251
251
|
_id: "aiChatMessageWrapper"
|
|
252
252
|
}), It = (t) => {
|
|
253
253
|
const { message: e, ...a } = t;
|
|
254
254
|
return e.role === "system" ? null : /* @__PURE__ */ n(De, { message: e, children: /* @__PURE__ */ n(Mt, { "data-role": e.role, ...a }) });
|
|
255
|
-
},
|
|
255
|
+
}, yn = P(
|
|
256
256
|
(t) => {
|
|
257
257
|
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}
|
|
258
258
|
|
|
@@ -271,22 +271,22 @@ const tt = "__intro__", it = i("div", {
|
|
|
271
271
|
}
|
|
272
272
|
), ft = i("div", {
|
|
273
273
|
_id: "aiChatMessageHeader"
|
|
274
|
-
}),
|
|
274
|
+
}), wn = (t) => {
|
|
275
275
|
const { message: e } = b();
|
|
276
276
|
return /* @__PURE__ */ n(ft, { "data-role": e.role, ...t });
|
|
277
277
|
}, Et = i("div", {
|
|
278
278
|
_id: "aiChatMessageLoading"
|
|
279
|
-
}),
|
|
279
|
+
}), Hn = (t) => {
|
|
280
280
|
const { isLoading: e, isStreaming: a, messages: s } = g(), { message: o } = b();
|
|
281
281
|
return !(s.at(-1)?.id === o?.id) || o.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(Et, { children: "Thinking...", ...t });
|
|
282
282
|
}, St = i("div", {
|
|
283
283
|
_id: "aiChatMessageAvatar"
|
|
284
|
-
}),
|
|
284
|
+
}), Ln = (t) => {
|
|
285
285
|
const { message: e } = b();
|
|
286
286
|
return /* @__PURE__ */ n(St, { "data-role": e.role, ...t });
|
|
287
287
|
}, kt = i(te.Root, {
|
|
288
288
|
_id: "aiChatMessageAvatarContent"
|
|
289
|
-
}),
|
|
289
|
+
}), xn = (t) => {
|
|
290
290
|
const { message: e } = b(), { baseSettings: a } = u();
|
|
291
291
|
return /* @__PURE__ */ n(
|
|
292
292
|
kt,
|
|
@@ -298,7 +298,7 @@ const tt = "__intro__", it = i("div", {
|
|
|
298
298
|
);
|
|
299
299
|
}, Bt = i(te.Fallback, {
|
|
300
300
|
_id: "aiChatMessageAvatarFallback"
|
|
301
|
-
}),
|
|
301
|
+
}), Dn = P(
|
|
302
302
|
(t) => {
|
|
303
303
|
const { baseSettings: e } = u(), { message: a } = b();
|
|
304
304
|
return e.userProperties.name ? /* @__PURE__ */ n(
|
|
@@ -312,7 +312,7 @@ const tt = "__intro__", it = i("div", {
|
|
|
312
312
|
}
|
|
313
313
|
), ve = i(te.Image, {
|
|
314
314
|
_id: "aiChatMessageAvatarImage"
|
|
315
|
-
}),
|
|
315
|
+
}), On = P(
|
|
316
316
|
(t) => {
|
|
317
317
|
const { onLoadingStatusChange: e, ...a } = t, {
|
|
318
318
|
aiChatSettings: s,
|
|
@@ -362,7 +362,7 @@ const tt = "__intro__", it = i("div", {
|
|
|
362
362
|
}
|
|
363
363
|
), Tt = i("span", {
|
|
364
364
|
_id: "aiChatMessageName"
|
|
365
|
-
}),
|
|
365
|
+
}), Wn = (t) => {
|
|
366
366
|
const { message: e } = b();
|
|
367
367
|
return /* @__PURE__ */ n(
|
|
368
368
|
Tt,
|
|
@@ -374,27 +374,27 @@ const tt = "__intro__", it = i("div", {
|
|
|
374
374
|
);
|
|
375
375
|
}, yt = i("div", {
|
|
376
376
|
_id: "aiChatMessageContentWrapper"
|
|
377
|
-
}),
|
|
377
|
+
}), Nn = (t) => {
|
|
378
378
|
const { message: e } = b();
|
|
379
379
|
return /* @__PURE__ */ n(yt, { "data-role": e.role, ...t });
|
|
380
380
|
}, wt = i("div", {
|
|
381
381
|
_id: "aiChatMessageContent"
|
|
382
|
-
}),
|
|
382
|
+
}), Rn = (t) => {
|
|
383
383
|
const { message: e } = b();
|
|
384
384
|
return /* @__PURE__ */ n(wt, { "data-role": e.role, ...t });
|
|
385
385
|
}, Ht = i("div", {
|
|
386
386
|
_id: "aiChatMessageAttachments"
|
|
387
|
-
}),
|
|
387
|
+
}), $n = (t) => {
|
|
388
388
|
const { message: e } = b(), a = e.metadata?.attributes?.attachments;
|
|
389
389
|
return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ n(xe, { children: /* @__PURE__ */ n(Ht, { ...t }) });
|
|
390
390
|
}, Lt = i("div", {
|
|
391
391
|
_id: "aiChatMessageAttachments__List"
|
|
392
|
-
}),
|
|
392
|
+
}), Qn = (t) => {
|
|
393
393
|
const { children: e, ...a } = t, { message: s } = b(), o = s.metadata?.attributes?.attachments;
|
|
394
394
|
return o ? /* @__PURE__ */ n(Lt, { children: I(e, o), ...a }) : null;
|
|
395
395
|
}, xt = i("div", {
|
|
396
396
|
_id: "aiChatMessageAttachments__Item"
|
|
397
|
-
}),
|
|
397
|
+
}), Vn = (t) => {
|
|
398
398
|
const { attachment: e, onClick: a, ...s } = t, { selectItem: o, onOpen: r } = j();
|
|
399
399
|
return /* @__PURE__ */ n(Ae, { attachment: e, children: /* @__PURE__ */ n(
|
|
400
400
|
xt,
|
|
@@ -407,17 +407,17 @@ const tt = "__intro__", it = i("div", {
|
|
|
407
407
|
) });
|
|
408
408
|
}, Dt = i(T, {
|
|
409
409
|
_id: "aiChatMessageAttachments__ItemIcon"
|
|
410
|
-
}),
|
|
410
|
+
}), Un = (t) => {
|
|
411
411
|
const { attachment: e } = O(), a = e.contentType?.attachmentIcon;
|
|
412
412
|
return a ? /* @__PURE__ */ n(Dt, { iconSettings: a, ...t }) : null;
|
|
413
413
|
}, Ot = i("span", {
|
|
414
414
|
_id: "aiChatMessageAttachments__ItemTitle"
|
|
415
|
-
}),
|
|
415
|
+
}), Kn = (t) => {
|
|
416
416
|
const { attachment: e } = O();
|
|
417
417
|
return /* @__PURE__ */ n(Ot, { children: e.title, ...t });
|
|
418
418
|
}, Wt = i(oe, {
|
|
419
419
|
_id: "aiChatMessageAttachmentsPreview"
|
|
420
|
-
}),
|
|
420
|
+
}), qn = (t) => {
|
|
421
421
|
const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: o, onClose: r, selectedItem: c } = j();
|
|
422
422
|
return /* @__PURE__ */ n(
|
|
423
423
|
Wt,
|
|
@@ -429,14 +429,14 @@ const tt = "__intro__", it = i("div", {
|
|
|
429
429
|
...a
|
|
430
430
|
}
|
|
431
431
|
);
|
|
432
|
-
},
|
|
432
|
+
}, jn = i(ie, {
|
|
433
433
|
_id: "aiChatMessageAttachmentsPreview__Overlay"
|
|
434
|
-
}),
|
|
434
|
+
}), Gn = i(ae, {
|
|
435
435
|
_id: "aiChatMessageAttachmentsPreview__Content",
|
|
436
436
|
"aria-describedby": void 0
|
|
437
437
|
}), Nt = i(se, {
|
|
438
438
|
_id: "aiChatMessageAttachmentsPreview__Header"
|
|
439
|
-
}),
|
|
439
|
+
}), zn = (t) => {
|
|
440
440
|
const { selectedItem: e } = j();
|
|
441
441
|
return /* @__PURE__ */ n(
|
|
442
442
|
Nt,
|
|
@@ -445,17 +445,17 @@ const tt = "__intro__", it = i("div", {
|
|
|
445
445
|
...t
|
|
446
446
|
}
|
|
447
447
|
);
|
|
448
|
-
},
|
|
448
|
+
}, Yn = i(ne, {
|
|
449
449
|
_id: "aiChatMessageAttachmentsPreview__Close",
|
|
450
450
|
children: /* @__PURE__ */ n(A, { iconKey: "close" })
|
|
451
451
|
}), Rt = i("p", {
|
|
452
452
|
_id: "aiChatMessageAttachmentsPreview__Body"
|
|
453
|
-
}),
|
|
453
|
+
}), Jn = (t) => {
|
|
454
454
|
const { selectedItem: e } = j();
|
|
455
455
|
return /* @__PURE__ */ n(Rt, { children: e?.content, ...t });
|
|
456
456
|
}, ge = i("div", {
|
|
457
457
|
_id: "aiChatMessage"
|
|
458
|
-
}),
|
|
458
|
+
}), Xn = (t) => {
|
|
459
459
|
const { aiChatSettings: e } = u(), { componentStyles: a, ...s } = t, { message: o } = b(), { logEvent: r } = q(), c = me(o), { conversation: d } = K();
|
|
460
460
|
return o.role === "user" ? /* @__PURE__ */ n(ge, { "data-role": o.role, children: c, ...s }) : /* @__PURE__ */ n(ge, { "data-role": o.role, ...s, children: /* @__PURE__ */ n(
|
|
461
461
|
re,
|
|
@@ -486,35 +486,48 @@ const tt = "__intro__", it = i("div", {
|
|
|
486
486
|
) });
|
|
487
487
|
}, $t = i("div", {
|
|
488
488
|
_id: "aiChatMessageToolbar"
|
|
489
|
-
}),
|
|
489
|
+
}), Zn = (t) => {
|
|
490
490
|
const { isLoading: e, messages: a } = g(), { message: s } = b();
|
|
491
491
|
return a.at(-1)?.id === s?.id && e || s.role === "user" ? null : /* @__PURE__ */ n($t, { ...t });
|
|
492
492
|
}, Qt = i("div", {
|
|
493
493
|
_id: "aiChatMessageToolActions"
|
|
494
|
-
}),
|
|
494
|
+
}), es = (t) => {
|
|
495
495
|
const { children: e, ...a } = t, { message: s } = b(), { messageButtons: o } = g(), r = o[s.id] || [];
|
|
496
496
|
return /* @__PURE__ */ n(Qt, { children: I(e, r), ...a });
|
|
497
|
-
},
|
|
497
|
+
}, Vt = i("a", {
|
|
498
|
+
_id: "aiChatMessageToolAction"
|
|
499
|
+
}), Ut = i("button", {
|
|
500
|
+
_id: "aiChatMessageToolAction"
|
|
501
|
+
}), ts = (t) => {
|
|
498
502
|
const { onClick: e, action: a, ...s } = t, { handleAction: o } = le(a), r = () => {
|
|
499
503
|
o();
|
|
500
504
|
}, c = a.label || "Contact Support", d = /* @__PURE__ */ Q(Z, { children: [
|
|
501
505
|
a.icon && /* @__PURE__ */ n(T, { iconSettings: a.icon }),
|
|
502
506
|
c
|
|
503
|
-
] })
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
...m === "open_link" && {
|
|
507
|
+
] });
|
|
508
|
+
return a.action.type === "open_link" ? /* @__PURE__ */ n(
|
|
509
|
+
Vt,
|
|
510
|
+
{
|
|
508
511
|
href: a.action.url,
|
|
509
512
|
target: "_blank",
|
|
510
|
-
rel: "noopener"
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
}
|
|
513
|
+
rel: "noopener",
|
|
514
|
+
"data-type": a.action.type,
|
|
515
|
+
onClick: h(e, r),
|
|
516
|
+
children: d,
|
|
517
|
+
...s
|
|
518
|
+
}
|
|
519
|
+
) : /* @__PURE__ */ n(
|
|
520
|
+
Ut,
|
|
521
|
+
{
|
|
522
|
+
"data-type": a.action.type,
|
|
523
|
+
onClick: h(e, r),
|
|
524
|
+
children: d,
|
|
525
|
+
...s
|
|
526
|
+
}
|
|
527
|
+
);
|
|
528
|
+
}, Kt = i("button", {
|
|
516
529
|
_id: "aiChatMessageAction"
|
|
517
|
-
}),
|
|
530
|
+
}), is = (t) => {
|
|
518
531
|
const { action: e, onClick: a, className: s, ...o } = t, { conversation: r } = K(), { message: c } = b(), { isStreaming: d, messages: m } = g(), [l, C] = X(), { feedback: p, submitPositiveFeedback: F, setCurrentFeedback: y, currentFeedback: W } = ce(), { logEvent: G } = q(), [N, z] = $e(), {
|
|
519
532
|
baseSettings: { privacyPreferences: ue }
|
|
520
533
|
} = u(), { optOutAllAnalytics: Y } = ue, Ce = m.at(-1)?.id === c?.id, J = c.role === "assistant";
|
|
@@ -559,7 +572,7 @@ const tt = "__intro__", it = i("div", {
|
|
|
559
572
|
}
|
|
560
573
|
};
|
|
561
574
|
return /* @__PURE__ */ n(
|
|
562
|
-
|
|
575
|
+
Kt,
|
|
563
576
|
{
|
|
564
577
|
"data-action": e,
|
|
565
578
|
...S[e],
|
|
@@ -570,16 +583,16 @@ const tt = "__intro__", it = i("div", {
|
|
|
570
583
|
...o
|
|
571
584
|
}
|
|
572
585
|
);
|
|
573
|
-
},
|
|
586
|
+
}, qt = i("div", {
|
|
574
587
|
_id: "aiChatMessageSources"
|
|
575
|
-
}),
|
|
588
|
+
}), as = (t) => {
|
|
576
589
|
const { message: e } = b();
|
|
577
|
-
return e.role !== "assistant" || !e.links?.length ? null : /* @__PURE__ */ n(
|
|
578
|
-
},
|
|
590
|
+
return e.role !== "assistant" || !e.links?.length ? null : /* @__PURE__ */ n(qt, { ...t });
|
|
591
|
+
}, jt = i("div", {
|
|
579
592
|
_id: "aiChatMessageSources__Header"
|
|
580
|
-
}),
|
|
593
|
+
}), ns = (t) => /* @__PURE__ */ n(jt, { children: "Sources", ...t }), Gt = i("div", {
|
|
581
594
|
_id: "aiChatMessageSources__List"
|
|
582
|
-
}),
|
|
595
|
+
}), ss = (t) => {
|
|
583
596
|
const { message: e } = b(), { children: a, ...s } = t, {
|
|
584
597
|
baseSettings: { transformSource: o, organizationDisplayName: r },
|
|
585
598
|
aiChatSettings: { shouldOpenLinksInNewTab: c },
|
|
@@ -594,10 +607,10 @@ const tt = "__intro__", it = i("div", {
|
|
|
594
607
|
}), p = C.shouldOpenInNewTab !== void 0 ? C.shouldOpenInNewTab : c;
|
|
595
608
|
return { ...C, isExternal: p };
|
|
596
609
|
});
|
|
597
|
-
return /* @__PURE__ */ n(
|
|
598
|
-
},
|
|
610
|
+
return /* @__PURE__ */ n(Gt, { children: I(a, m), ...s });
|
|
611
|
+
}, zt = i(ye, {
|
|
599
612
|
_id: "aiChatMessageSourceItem"
|
|
600
|
-
}),
|
|
613
|
+
}), os = (t) => {
|
|
601
614
|
const { source: e, onClick: a, ...s } = t, { logEvent: o } = q(), { conversation: r } = K(), c = () => {
|
|
602
615
|
o({
|
|
603
616
|
eventName: "assistant_source_item_clicked",
|
|
@@ -608,7 +621,7 @@ const tt = "__intro__", it = i("div", {
|
|
|
608
621
|
});
|
|
609
622
|
};
|
|
610
623
|
return /* @__PURE__ */ n(He, { source: e, children: /* @__PURE__ */ n(
|
|
611
|
-
|
|
624
|
+
zt,
|
|
612
625
|
{
|
|
613
626
|
"data-type": e.type,
|
|
614
627
|
appendToUrl: e.appendToUrl,
|
|
@@ -618,47 +631,47 @@ const tt = "__intro__", it = i("div", {
|
|
|
618
631
|
...s
|
|
619
632
|
}
|
|
620
633
|
) });
|
|
621
|
-
},
|
|
634
|
+
}, Yt = i("div", {
|
|
622
635
|
_id: "aiChatMessageSourceItem__Breadcrumbs"
|
|
623
|
-
}),
|
|
636
|
+
}), rs = (t) => {
|
|
624
637
|
const { source: e } = H();
|
|
625
|
-
return e.breadcrumbs?.length ? /* @__PURE__ */ n(
|
|
626
|
-
},
|
|
638
|
+
return e.breadcrumbs?.length ? /* @__PURE__ */ n(Yt, { "data-type": e.type, ...t }) : null;
|
|
639
|
+
}, cs = i(A, {
|
|
627
640
|
_id: "aiChatMessageSourceItem__BreadcrumbIcon",
|
|
628
641
|
iconKey: "breadcrumbSeparator"
|
|
629
|
-
}),
|
|
642
|
+
}), Jt = i(T, {
|
|
630
643
|
_id: "aiChatMessageSourceItem__Icon"
|
|
631
|
-
}),
|
|
644
|
+
}), ds = (t) => {
|
|
632
645
|
const { source: e } = H();
|
|
633
|
-
return /* @__PURE__ */ n(
|
|
634
|
-
},
|
|
646
|
+
return /* @__PURE__ */ n(Jt, { iconSettings: e.icon, "data-type": e.type, ...t });
|
|
647
|
+
}, Xt = i("span", {
|
|
635
648
|
_id: "aiChatMessageSourceItem__Title"
|
|
636
|
-
}),
|
|
649
|
+
}), ms = (t) => {
|
|
637
650
|
const { source: e } = H();
|
|
638
|
-
return /* @__PURE__ */ n(
|
|
639
|
-
},
|
|
651
|
+
return /* @__PURE__ */ n(Xt, { "data-type": e.type, children: e.title, ...t });
|
|
652
|
+
}, Zt = i("span", {
|
|
640
653
|
_id: "aiChatMessageSourceItem__Tag"
|
|
641
|
-
}),
|
|
654
|
+
}), ls = (t) => {
|
|
642
655
|
const { source: e } = H();
|
|
643
|
-
return /* @__PURE__ */ n(
|
|
644
|
-
},
|
|
656
|
+
return /* @__PURE__ */ n(Zt, { "data-type": e.type, ...t });
|
|
657
|
+
}, ei = i("span", {
|
|
645
658
|
_id: "aiChatMessageSourceItem__Description"
|
|
646
|
-
}),
|
|
659
|
+
}), hs = (t) => {
|
|
647
660
|
const { source: e } = H(), { children: a, ...s } = t, o = Ee(() => e.description ? Ge(e.description) : [], [e.description]);
|
|
648
661
|
return o.length ? /* @__PURE__ */ n(
|
|
649
|
-
|
|
662
|
+
ei,
|
|
650
663
|
{
|
|
651
664
|
"data-type": e.type,
|
|
652
665
|
children: I(a, o),
|
|
653
666
|
...s
|
|
654
667
|
}
|
|
655
668
|
) : null;
|
|
656
|
-
},
|
|
669
|
+
}, ti = i("span", {
|
|
657
670
|
_id: "aiChatMessageSourceItem__DescriptionPart"
|
|
658
|
-
}),
|
|
671
|
+
}), us = (t) => {
|
|
659
672
|
const { part: e, ...a } = t, { source: s } = H();
|
|
660
673
|
return typeof e == "string" ? e : /* @__PURE__ */ n(
|
|
661
|
-
|
|
674
|
+
ti,
|
|
662
675
|
{
|
|
663
676
|
"data-type": s.type,
|
|
664
677
|
children: e.content,
|
|
@@ -666,26 +679,26 @@ const tt = "__intro__", it = i("div", {
|
|
|
666
679
|
...a
|
|
667
680
|
}
|
|
668
681
|
);
|
|
669
|
-
},
|
|
682
|
+
}, ii = i(A, {
|
|
670
683
|
_id: "aiChatMessageSourceItem__Indicator"
|
|
671
|
-
}),
|
|
684
|
+
}), Cs = (t) => {
|
|
672
685
|
const { source: e } = H();
|
|
673
686
|
return /* @__PURE__ */ n(
|
|
674
|
-
|
|
687
|
+
ii,
|
|
675
688
|
{
|
|
676
689
|
iconKey: e.isExternal ? "openLinkInNewTab" : "openLinkInSameTab",
|
|
677
690
|
...t
|
|
678
691
|
}
|
|
679
692
|
);
|
|
680
|
-
},
|
|
693
|
+
}, ps = i("div", {
|
|
681
694
|
_id: "aiChatFooter"
|
|
682
|
-
}),
|
|
695
|
+
}), vs = i("div", {
|
|
683
696
|
_id: "aiChatInput__Fieldset"
|
|
684
|
-
}),
|
|
697
|
+
}), gs = i("div", {
|
|
685
698
|
_id: "aiChatInput__Group"
|
|
686
|
-
}),
|
|
699
|
+
}), ai = i("textarea", {
|
|
687
700
|
_id: "aiChatInput"
|
|
688
|
-
}),
|
|
701
|
+
}), bs = V(({ onChange: t, onKeyDown: e, ...a }, s) => {
|
|
689
702
|
const { handleInputChange: o, handleInputKeyDown: r, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: C } = u(), p = he(
|
|
690
703
|
s,
|
|
691
704
|
l
|
|
@@ -695,7 +708,7 @@ const tt = "__intro__", it = i("div", {
|
|
|
695
708
|
m && l?.current && (l.current.focus(), l.current.selectionStart = l.current.value.length);
|
|
696
709
|
});
|
|
697
710
|
}, [m, l, F?.isOpen]), /* @__PURE__ */ n(
|
|
698
|
-
|
|
711
|
+
ai,
|
|
699
712
|
{
|
|
700
713
|
asChild: !0,
|
|
701
714
|
ref: p,
|
|
@@ -709,12 +722,12 @@ const tt = "__intro__", it = i("div", {
|
|
|
709
722
|
children: /* @__PURE__ */ n(ee, {})
|
|
710
723
|
}
|
|
711
724
|
);
|
|
712
|
-
}),
|
|
725
|
+
}), ni = i("button", {
|
|
713
726
|
_id: "aiChatInput__SendButton"
|
|
714
|
-
}),
|
|
727
|
+
}), _s = (t) => {
|
|
715
728
|
const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: o } = u(), { onClick: r, ...c } = t;
|
|
716
729
|
return /* @__PURE__ */ n(
|
|
717
|
-
|
|
730
|
+
ni,
|
|
718
731
|
{
|
|
719
732
|
onClick: h(r, () => e()),
|
|
720
733
|
"aria-label": "Send message",
|
|
@@ -722,40 +735,40 @@ const tt = "__intro__", it = i("div", {
|
|
|
722
735
|
...c
|
|
723
736
|
}
|
|
724
737
|
);
|
|
725
|
-
},
|
|
738
|
+
}, As = i(A, {
|
|
726
739
|
_id: "aiChatInput__SendButtonIcon",
|
|
727
740
|
iconKey: "chatSubmit"
|
|
728
|
-
}),
|
|
741
|
+
}), si = i("div", {
|
|
729
742
|
_id: "aiChatAttachmentsBar"
|
|
730
|
-
}),
|
|
743
|
+
}), Ps = (t) => {
|
|
731
744
|
const { selectedWorkflow: e } = g();
|
|
732
|
-
return !e || !e.supportedInputs?.length ? null : /* @__PURE__ */ n(we, { children: /* @__PURE__ */ n(
|
|
733
|
-
},
|
|
745
|
+
return !e || !e.supportedInputs?.length ? null : /* @__PURE__ */ n(we, { children: /* @__PURE__ */ n(si, { ...t }) });
|
|
746
|
+
}, oi = i("div", {
|
|
734
747
|
_id: "aiChatAttachmentsBar__List"
|
|
735
|
-
}),
|
|
748
|
+
}), Fs = (t) => {
|
|
736
749
|
const { children: e, ...a } = t, { messageAttachments: s } = g();
|
|
737
|
-
return /* @__PURE__ */ n(
|
|
738
|
-
},
|
|
750
|
+
return /* @__PURE__ */ n(oi, { children: I(e, s), ...a });
|
|
751
|
+
}, ri = i("div", {
|
|
739
752
|
_id: "aiChatAttachmentsBar__Attachment"
|
|
740
|
-
}),
|
|
753
|
+
}), Ms = (t) => {
|
|
741
754
|
const { attachment: e, ...a } = t;
|
|
742
|
-
return /* @__PURE__ */ n(Ae, { attachment: e, children: /* @__PURE__ */ n(
|
|
743
|
-
},
|
|
755
|
+
return /* @__PURE__ */ n(Ae, { attachment: e, children: /* @__PURE__ */ n(ri, { ...a }) });
|
|
756
|
+
}, ci = i(T, {
|
|
744
757
|
_id: "aiChatAttachmentsBar__AttachmentIcon"
|
|
745
|
-
}),
|
|
758
|
+
}), Is = (t) => {
|
|
746
759
|
const { attachment: e } = O(), a = e.contentType?.attachmentIcon;
|
|
747
|
-
return a ? /* @__PURE__ */ n(
|
|
748
|
-
},
|
|
760
|
+
return a ? /* @__PURE__ */ n(ci, { iconSettings: a, ...t }) : null;
|
|
761
|
+
}, di = i("span", {
|
|
749
762
|
_id: "aiChatAttachmentsBar__AttachmentTitle"
|
|
750
|
-
}),
|
|
763
|
+
}), fs = (t) => {
|
|
751
764
|
const { attachment: e } = O();
|
|
752
|
-
return /* @__PURE__ */ n(
|
|
753
|
-
},
|
|
765
|
+
return /* @__PURE__ */ n(di, { children: e.title, ...t });
|
|
766
|
+
}, mi = i("button", {
|
|
754
767
|
_id: "aiChatAttachmentsBar__AttachmentDelete"
|
|
755
|
-
}),
|
|
768
|
+
}), Es = (t) => {
|
|
756
769
|
const { onClick: e, ...a } = t, { attachment: s } = O(), { setMessageAttachments: o } = g();
|
|
757
770
|
return /* @__PURE__ */ n(
|
|
758
|
-
|
|
771
|
+
mi,
|
|
759
772
|
{
|
|
760
773
|
"aria-label": "Remove attachment",
|
|
761
774
|
children: /* @__PURE__ */ n(A, { iconKey: "close" }),
|
|
@@ -765,60 +778,60 @@ const tt = "__intro__", it = i("div", {
|
|
|
765
778
|
...a
|
|
766
779
|
}
|
|
767
780
|
);
|
|
768
|
-
},
|
|
781
|
+
}, Ss = i("div", {
|
|
769
782
|
_id: "aiChatAttachmentsBar__Actions"
|
|
770
|
-
}),
|
|
783
|
+
}), ks = i(B.Tooltip, {
|
|
771
784
|
_id: "aiChatAttachmentsBar__InfoTip",
|
|
772
785
|
delayDuration: 0
|
|
773
|
-
}),
|
|
786
|
+
}), Bs = i(B.Trigger, {
|
|
774
787
|
_id: "aiChatAttachmentsBar__InfoTipIcon",
|
|
775
788
|
children: /* @__PURE__ */ n(A, { iconKey: "info" })
|
|
776
|
-
}),
|
|
789
|
+
}), li = i(B.Arrow, {
|
|
777
790
|
_id: "aiChatAttachmentsBar__InfoTipArrow"
|
|
778
|
-
}),
|
|
791
|
+
}), Ts = i(B.Content, {
|
|
779
792
|
_id: "aiChatAttachmentsBar__InfoTipText",
|
|
780
793
|
side: "bottom",
|
|
781
794
|
sideOffset: 3,
|
|
782
795
|
align: "center",
|
|
783
796
|
children: /* @__PURE__ */ Q(Z, { children: [
|
|
784
|
-
/* @__PURE__ */ n(
|
|
797
|
+
/* @__PURE__ */ n(li, {}),
|
|
785
798
|
"Attachments will be kept in context for the entire conversation."
|
|
786
799
|
] })
|
|
787
|
-
}),
|
|
800
|
+
}), hi = i("div", {
|
|
788
801
|
_id: "aiChatAttachmentsBar__Inputs"
|
|
789
|
-
}),
|
|
802
|
+
}), ys = (t) => {
|
|
790
803
|
const { children: e, ...a } = t, { selectedWorkflow: s } = g();
|
|
791
804
|
return s?.supportedInputs ? /* @__PURE__ */ n(
|
|
792
|
-
|
|
805
|
+
hi,
|
|
793
806
|
{
|
|
794
807
|
children: I(e, s.supportedInputs),
|
|
795
808
|
...a
|
|
796
809
|
}
|
|
797
810
|
) : null;
|
|
798
|
-
},
|
|
811
|
+
}, ui = i("button", {
|
|
799
812
|
_id: "aiChatAttachmentsBar__Input"
|
|
800
|
-
}),
|
|
813
|
+
}), ws = (t) => {
|
|
801
814
|
const { input: e, onClick: a, ...s } = t, { selectedWorkflow: o, messageAttachments: r, setMessageAttachments: c } = g(), { selectInput: d, onOpen: m } = M(), l = () => {
|
|
802
815
|
if (e.type === "FUNCTIONAL_MULTI_ATTACHMENT")
|
|
803
816
|
return o ? e.onInvoke(o, e, c, [...r]) : void 0;
|
|
804
817
|
d(e), m();
|
|
805
818
|
};
|
|
806
819
|
return /* @__PURE__ */ n(
|
|
807
|
-
|
|
820
|
+
ui,
|
|
808
821
|
{
|
|
809
822
|
children: e.displayName,
|
|
810
823
|
onClick: h(a, l),
|
|
811
824
|
...s
|
|
812
825
|
}
|
|
813
826
|
);
|
|
814
|
-
},
|
|
827
|
+
}, Hs = i(ke, {
|
|
815
828
|
_id: "aiChatAttachmentsBar__InputIcon"
|
|
816
|
-
}),
|
|
829
|
+
}), Ci = i(oe, {
|
|
817
830
|
_id: "aiChatAttachmentsBar__Modal"
|
|
818
|
-
}),
|
|
831
|
+
}), Ls = (t) => {
|
|
819
832
|
const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: o, onClose: r, selectedInput: c } = M();
|
|
820
833
|
return /* @__PURE__ */ n(
|
|
821
|
-
|
|
834
|
+
Ci,
|
|
822
835
|
{
|
|
823
836
|
open: o && c !== null,
|
|
824
837
|
onOpenChange: h(e, (m) => {
|
|
@@ -827,65 +840,65 @@ const tt = "__intro__", it = i("div", {
|
|
|
827
840
|
...a
|
|
828
841
|
}
|
|
829
842
|
);
|
|
830
|
-
},
|
|
843
|
+
}, xs = i(ie, {
|
|
831
844
|
_id: "aiChatAttachmentsBar__ModalOverlay"
|
|
832
|
-
}),
|
|
845
|
+
}), Ds = i(ae, {
|
|
833
846
|
_id: "aiChatAttachmentsBar__ModalContent",
|
|
834
847
|
"aria-describedby": void 0
|
|
835
|
-
}),
|
|
848
|
+
}), Os = i("div", {
|
|
836
849
|
_id: "aiChatAttachmentsBar__ModalHeader"
|
|
837
|
-
}),
|
|
850
|
+
}), pi = i(se, {
|
|
838
851
|
_id: "aiChatAttachmentsBar__ModalHeading"
|
|
839
|
-
}),
|
|
852
|
+
}), Ws = (t) => {
|
|
840
853
|
const { selectedInput: e } = M(), a = `Add ${e?.displayName}`;
|
|
841
|
-
return /* @__PURE__ */ n(
|
|
842
|
-
},
|
|
854
|
+
return /* @__PURE__ */ n(pi, { children: a, ...t });
|
|
855
|
+
}, vi = i("span", {
|
|
843
856
|
_id: "aiChatAttachmentsBar__ModalDescription"
|
|
844
|
-
}),
|
|
857
|
+
}), Ns = (t) => {
|
|
845
858
|
const { selectedInput: e } = M(), a = e?.workflowModalProps?.modalHelpText;
|
|
846
|
-
return a ? /* @__PURE__ */ n(
|
|
847
|
-
},
|
|
859
|
+
return a ? /* @__PURE__ */ n(vi, { children: a, ...t }) : null;
|
|
860
|
+
}, gi = i("div", {
|
|
848
861
|
_id: "aiChatAttachmentsBar__ModalHelp"
|
|
849
|
-
}),
|
|
862
|
+
}), Rs = (t) => {
|
|
850
863
|
const { children: e, ...a } = t, { selectedInput: s } = M(), o = s?.workflowModalProps?.modalHelpElement;
|
|
851
|
-
return o ? /* @__PURE__ */ n(
|
|
852
|
-
},
|
|
864
|
+
return o ? /* @__PURE__ */ n(gi, { asChild: !e, children: e || o, ...a }) : null;
|
|
865
|
+
}, $s = i(ne, {
|
|
853
866
|
_id: "aiChatAttachmentsBar__ModalClose",
|
|
854
867
|
children: /* @__PURE__ */ n(A, { iconKey: "close" })
|
|
855
|
-
}),
|
|
868
|
+
}), Qs = i("div", {
|
|
856
869
|
_id: "aiChatAttachmentsBar__ModalBody"
|
|
857
|
-
}),
|
|
870
|
+
}), bi = i("form", {
|
|
858
871
|
_id: "aiChatAttachmentsBar__Form"
|
|
859
|
-
}),
|
|
872
|
+
}), Vs = (t) => {
|
|
860
873
|
const { onSubmit: e, ...a } = t, { form: s } = M();
|
|
861
874
|
return /* @__PURE__ */ n(
|
|
862
|
-
|
|
875
|
+
bi,
|
|
863
876
|
{
|
|
864
877
|
onSubmit: h(e, s.onSubmit),
|
|
865
878
|
...a
|
|
866
879
|
}
|
|
867
880
|
);
|
|
868
|
-
},
|
|
881
|
+
}, Us = i("div", {
|
|
869
882
|
_id: "aiChatAttachmentsBar__FormTitle",
|
|
870
883
|
role: "group"
|
|
871
|
-
}),
|
|
884
|
+
}), _i = i("label", {
|
|
872
885
|
_id: "aiChatAttachmentsBar__FormTitleLabel"
|
|
873
|
-
}),
|
|
886
|
+
}), Ks = (t) => {
|
|
874
887
|
const { form: e, selectedInput: a } = M();
|
|
875
888
|
return /* @__PURE__ */ n(
|
|
876
|
-
|
|
889
|
+
_i,
|
|
877
890
|
{
|
|
878
891
|
htmlFor: `${a?.id}-title`,
|
|
879
892
|
children: e.labels.title,
|
|
880
893
|
...t
|
|
881
894
|
}
|
|
882
895
|
);
|
|
883
|
-
},
|
|
896
|
+
}, Ai = i("input", {
|
|
884
897
|
_id: "aiChatAttachmentsBar__FormTitleInput"
|
|
885
|
-
}),
|
|
898
|
+
}), qs = (t) => {
|
|
886
899
|
const { onChange: e, ...a } = t, { form: s, selectedInput: o } = M();
|
|
887
900
|
return /* @__PURE__ */ n(
|
|
888
|
-
|
|
901
|
+
Ai,
|
|
889
902
|
{
|
|
890
903
|
name: "title",
|
|
891
904
|
value: s.data.title,
|
|
@@ -896,39 +909,39 @@ const tt = "__intro__", it = i("div", {
|
|
|
896
909
|
...a
|
|
897
910
|
}
|
|
898
911
|
);
|
|
899
|
-
},
|
|
912
|
+
}, Pi = i("span", {
|
|
900
913
|
_id: "aiChatAttachmentsBar__FormTitleError"
|
|
901
|
-
}),
|
|
914
|
+
}), js = (t) => {
|
|
902
915
|
const { form: e } = M();
|
|
903
916
|
return e.errors.title ? /* @__PURE__ */ n(
|
|
904
|
-
|
|
917
|
+
Pi,
|
|
905
918
|
{
|
|
906
919
|
"aria-live": "polite",
|
|
907
920
|
children: e.errors.title,
|
|
908
921
|
...t
|
|
909
922
|
}
|
|
910
923
|
) : null;
|
|
911
|
-
},
|
|
924
|
+
}, Gs = i("div", {
|
|
912
925
|
_id: "aiChatAttachmentsBar__FormTitle",
|
|
913
926
|
role: "group"
|
|
914
|
-
}),
|
|
927
|
+
}), Fi = i("label", {
|
|
915
928
|
_id: "aiChatAttachmentsBar__FormContentLabel"
|
|
916
|
-
}),
|
|
929
|
+
}), zs = (t) => {
|
|
917
930
|
const { form: e, selectedInput: a } = M();
|
|
918
931
|
return /* @__PURE__ */ n(
|
|
919
|
-
|
|
932
|
+
Fi,
|
|
920
933
|
{
|
|
921
934
|
htmlFor: `${a?.id}-content`,
|
|
922
935
|
children: e.labels.content,
|
|
923
936
|
...t
|
|
924
937
|
}
|
|
925
938
|
);
|
|
926
|
-
},
|
|
939
|
+
}, Mi = i("textarea", {
|
|
927
940
|
_id: "aiChatAttachmentsBar__FormTitleInput"
|
|
928
|
-
}),
|
|
941
|
+
}), Ys = (t) => {
|
|
929
942
|
const { onChange: e, ...a } = t, { form: s, selectedInput: o } = M();
|
|
930
943
|
return /* @__PURE__ */ n(
|
|
931
|
-
|
|
944
|
+
Mi,
|
|
932
945
|
{
|
|
933
946
|
asChild: !0,
|
|
934
947
|
rows: 4,
|
|
@@ -942,40 +955,40 @@ const tt = "__intro__", it = i("div", {
|
|
|
942
955
|
children: /* @__PURE__ */ n(ee, { maxRows: 10 })
|
|
943
956
|
}
|
|
944
957
|
);
|
|
945
|
-
},
|
|
958
|
+
}, Ii = i("span", {
|
|
946
959
|
_id: "aiChatAttachmentsBar__FormContentError"
|
|
947
|
-
}),
|
|
960
|
+
}), Js = (t) => {
|
|
948
961
|
const { form: e } = M();
|
|
949
962
|
return e.errors.content ? /* @__PURE__ */ n(
|
|
950
|
-
|
|
963
|
+
Ii,
|
|
951
964
|
{
|
|
952
965
|
"aria-live": "polite",
|
|
953
966
|
children: e.errors.content,
|
|
954
967
|
...t
|
|
955
968
|
}
|
|
956
969
|
) : null;
|
|
957
|
-
},
|
|
970
|
+
}, Xs = i("button", {
|
|
958
971
|
_id: "aiChatAttachmentsBar__FormSubmitButton",
|
|
959
972
|
children: "Upload",
|
|
960
973
|
type: "submit"
|
|
961
|
-
}),
|
|
974
|
+
}), Zs = i("div", {
|
|
962
975
|
_id: "aiChatActionBar"
|
|
963
|
-
}),
|
|
976
|
+
}), eo = i("div", {
|
|
964
977
|
_id: "aiChat__ChatActions"
|
|
965
|
-
}),
|
|
978
|
+
}), to = i("div", {
|
|
966
979
|
_id: "aiChatTagline__Container"
|
|
967
|
-
}),
|
|
980
|
+
}), io = i("span", {
|
|
968
981
|
_id: "aiChatTagline__Text",
|
|
969
982
|
children: "Powered by"
|
|
970
|
-
}),
|
|
983
|
+
}), ao = i(Re, {
|
|
971
984
|
_id: "aiChatTagline__Logo"
|
|
972
|
-
}),
|
|
985
|
+
}), no = i("a", {
|
|
973
986
|
_id: "aiChatTagline__BrandName",
|
|
974
987
|
children: "inkeep",
|
|
975
988
|
href: "https://www.inkeep.com/",
|
|
976
989
|
target: "_blank",
|
|
977
990
|
rel: "noopener noreferrer"
|
|
978
|
-
}),
|
|
991
|
+
}), fi = i(B.Trigger, {
|
|
979
992
|
_id: "aiChat__ChatAction"
|
|
980
993
|
}), Ie = (t) => {
|
|
981
994
|
const { action: e, onClick: a, className: s, ...o } = t, { clear: r, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: C } = K(), { aiChatSettings: p, baseSettings: F } = u(), { logEvent: y } = q(), [W, G] = X(), [N, z] = X();
|
|
@@ -1045,19 +1058,19 @@ ${E}${$}`;
|
|
|
1045
1058
|
share: N
|
|
1046
1059
|
};
|
|
1047
1060
|
return /* @__PURE__ */ n(B.Tooltip, { delayDuration: 0, open: pe[e], children: /* @__PURE__ */ n(
|
|
1048
|
-
|
|
1061
|
+
fi,
|
|
1049
1062
|
{
|
|
1050
1063
|
"data-type": e,
|
|
1051
1064
|
"data-copied": v(W || N),
|
|
1052
1065
|
className: `${s} ${e}`,
|
|
1053
|
-
children: /* @__PURE__ */ n(
|
|
1066
|
+
children: /* @__PURE__ */ n(Si, { action: e }),
|
|
1054
1067
|
onClick: h(a, J[e]),
|
|
1055
1068
|
...o
|
|
1056
1069
|
}
|
|
1057
1070
|
) });
|
|
1058
|
-
},
|
|
1071
|
+
}, Ei = i("span", {
|
|
1059
1072
|
_id: "aiChat__ChatActionLabel"
|
|
1060
|
-
}),
|
|
1073
|
+
}), Si = (t) => {
|
|
1061
1074
|
const { action: e, ...a } = t, { aiChatSettings: s } = u(), o = s.toolbarButtonLabels ?? {}, r = {
|
|
1062
1075
|
help: o.getHelp ?? "Get Help",
|
|
1063
1076
|
copy: o.copyChat ?? "Copy",
|
|
@@ -1065,21 +1078,21 @@ ${E}${$}`;
|
|
|
1065
1078
|
clear: o.clear ?? "Clear",
|
|
1066
1079
|
stop: o.stop ?? "Stop"
|
|
1067
1080
|
};
|
|
1068
|
-
return /* @__PURE__ */ n(
|
|
1069
|
-
},
|
|
1081
|
+
return /* @__PURE__ */ n(Ei, { children: r[e], ...a });
|
|
1082
|
+
}, ki = i(B.TooltipContent, {
|
|
1070
1083
|
_id: "aiChat__ChatActionFeeback"
|
|
1071
|
-
}),
|
|
1084
|
+
}), so = (t) => {
|
|
1072
1085
|
const { action: e, children: a, ...s } = t, o = {
|
|
1073
1086
|
copy: "Copied!",
|
|
1074
1087
|
share: "Link copied!"
|
|
1075
1088
|
};
|
|
1076
|
-
return /* @__PURE__ */ Q(
|
|
1089
|
+
return /* @__PURE__ */ Q(ki, { sideOffset: 5, ...s, children: [
|
|
1077
1090
|
/* @__PURE__ */ n(B.Arrow, {}),
|
|
1078
1091
|
a || o[e]
|
|
1079
1092
|
] });
|
|
1080
|
-
},
|
|
1093
|
+
}, Bi = i(k.Root, {
|
|
1081
1094
|
_id: "aiChatHelpActions"
|
|
1082
|
-
}),
|
|
1095
|
+
}), oo = (t) => {
|
|
1083
1096
|
const { children: e, ...a } = t, { aiChatSettings: s } = u(), { getHelpOptions: o } = s;
|
|
1084
1097
|
if (!o || (o ?? []).length === 0)
|
|
1085
1098
|
return null;
|
|
@@ -1091,7 +1104,7 @@ ${E}${$}`;
|
|
|
1091
1104
|
{ _pinned: [], _unpinned: [] }
|
|
1092
1105
|
), d = c.length === 1 ? [...r, c[0]] : r, m = c.length === 1 ? [] : c, l = Ve();
|
|
1093
1106
|
return /* @__PURE__ */ n(Ue, { value: l, children: /* @__PURE__ */ n(
|
|
1094
|
-
|
|
1107
|
+
Bi,
|
|
1095
1108
|
{
|
|
1096
1109
|
open: l.open,
|
|
1097
1110
|
onOpenChange: l.setOpen,
|
|
@@ -1099,14 +1112,14 @@ ${E}${$}`;
|
|
|
1099
1112
|
...a
|
|
1100
1113
|
}
|
|
1101
1114
|
) });
|
|
1102
|
-
},
|
|
1115
|
+
}, Ti = i(Ie, {
|
|
1103
1116
|
_id: "aiChatHelpAction",
|
|
1104
1117
|
action: "help"
|
|
1105
|
-
}),
|
|
1118
|
+
}), yi = i("a", {
|
|
1106
1119
|
_id: "aiChatHelpAction",
|
|
1107
1120
|
target: "_blank",
|
|
1108
1121
|
rel: "noreferrer"
|
|
1109
|
-
}),
|
|
1122
|
+
}), ro = (t) => {
|
|
1110
1123
|
const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = le(e), c = e.action.type, d = {
|
|
1111
1124
|
"aria-label": e.name,
|
|
1112
1125
|
"data-name": e.name,
|
|
@@ -1117,18 +1130,18 @@ ${E}${$}`;
|
|
|
1117
1130
|
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
|
|
1118
1131
|
...s
|
|
1119
1132
|
};
|
|
1120
|
-
return c === "open_link" ? /* @__PURE__ */ n(
|
|
1121
|
-
},
|
|
1133
|
+
return c === "open_link" ? /* @__PURE__ */ n(yi, { href: e.action.url, ...d }) : /* @__PURE__ */ n(Ti, { ...d });
|
|
1134
|
+
}, wi = i(k.Trigger, {
|
|
1122
1135
|
_id: "aiChatHelpActions__Trigger"
|
|
1123
|
-
}),
|
|
1136
|
+
}), co = P(
|
|
1124
1137
|
(t) => {
|
|
1125
1138
|
const { aiChatSettings: e } = u();
|
|
1126
|
-
return /* @__PURE__ */ n(Ie, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(
|
|
1139
|
+
return /* @__PURE__ */ n(Ie, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(wi, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
|
|
1127
1140
|
}
|
|
1128
|
-
),
|
|
1141
|
+
), Hi = i(k.Content, {
|
|
1129
1142
|
_id: "aiChatHelpActions__Menu"
|
|
1130
|
-
}),
|
|
1131
|
-
|
|
1143
|
+
}), mo = (t) => /* @__PURE__ */ n(
|
|
1144
|
+
Hi,
|
|
1132
1145
|
{
|
|
1133
1146
|
side: "top",
|
|
1134
1147
|
sideOffset: 8,
|
|
@@ -1136,9 +1149,9 @@ ${E}${$}`;
|
|
|
1136
1149
|
alignOffset: -10,
|
|
1137
1150
|
...t
|
|
1138
1151
|
}
|
|
1139
|
-
),
|
|
1152
|
+
), lo = i(k.Arrow, {
|
|
1140
1153
|
_id: "aiChatHelpActions__MenuArrow"
|
|
1141
|
-
}),
|
|
1154
|
+
}), ho = (t) => {
|
|
1142
1155
|
const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = le(e), { setOpen: c } = Ke(), d = () => {
|
|
1143
1156
|
o({
|
|
1144
1157
|
onOpenForm: () => c(!1)
|
|
@@ -1157,58 +1170,58 @@ ${E}${$}`;
|
|
|
1157
1170
|
onClick: h(a, d)
|
|
1158
1171
|
});
|
|
1159
1172
|
return /* @__PURE__ */ n(l, { ...s });
|
|
1160
|
-
},
|
|
1173
|
+
}, Li = i(T, {
|
|
1161
1174
|
_id: "aiChatHelpActions_MenuItemIcon"
|
|
1162
|
-
}),
|
|
1175
|
+
}), uo = (t) => {
|
|
1163
1176
|
const { action: e, ...a } = t;
|
|
1164
|
-
return e.icon ? /* @__PURE__ */ n(
|
|
1165
|
-
},
|
|
1177
|
+
return e.icon ? /* @__PURE__ */ n(Li, { iconSettings: e.icon, ...a }) : null;
|
|
1178
|
+
}, xi = i(oe, {
|
|
1166
1179
|
_id: "aiChatFeedbackModal"
|
|
1167
|
-
}),
|
|
1180
|
+
}), Co = (t) => {
|
|
1168
1181
|
const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: o } = ce();
|
|
1169
1182
|
return /* @__PURE__ */ n(
|
|
1170
|
-
|
|
1183
|
+
xi,
|
|
1171
1184
|
{
|
|
1172
1185
|
open: s !== null,
|
|
1173
1186
|
onOpenChange: h(e, () => o(null)),
|
|
1174
1187
|
...a
|
|
1175
1188
|
}
|
|
1176
1189
|
);
|
|
1177
|
-
},
|
|
1190
|
+
}, po = i(ie, {
|
|
1178
1191
|
_id: "aiChatFeedbackModal__Overlay"
|
|
1179
|
-
}),
|
|
1192
|
+
}), vo = i(ae, {
|
|
1180
1193
|
_id: "aiChatFeedbackModal__Content",
|
|
1181
1194
|
"aria-describedby": void 0
|
|
1182
|
-
}),
|
|
1195
|
+
}), go = i(se, {
|
|
1183
1196
|
_id: "aiChatFeedbackModal__Header",
|
|
1184
1197
|
children: "Help improve my answers!"
|
|
1185
|
-
}),
|
|
1198
|
+
}), bo = i(ne, {
|
|
1186
1199
|
_id: "aiChatFeedbackModal__Close",
|
|
1187
1200
|
children: /* @__PURE__ */ n(A, { iconKey: "close" })
|
|
1188
|
-
}),
|
|
1201
|
+
}), _o = i("div", {
|
|
1189
1202
|
_id: "aiChatFeedbackModal__Body"
|
|
1190
|
-
}),
|
|
1203
|
+
}), Di = i("form", {
|
|
1191
1204
|
_id: "aiChatFeedbackForm"
|
|
1192
|
-
}),
|
|
1205
|
+
}), Ao = (t) => {
|
|
1193
1206
|
const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: o, setCurrentFeedback: r } = ce();
|
|
1194
|
-
return /* @__PURE__ */ n(
|
|
1207
|
+
return /* @__PURE__ */ n(Di, { onSubmit: h(e, (d) => {
|
|
1195
1208
|
d.preventDefault();
|
|
1196
1209
|
const m = d.target, l = new FormData(m), C = Object.fromEntries(l.entries());
|
|
1197
1210
|
o && (s(o, C), r(null));
|
|
1198
1211
|
}), ...a });
|
|
1199
|
-
},
|
|
1212
|
+
}, Oi = i("div", {
|
|
1200
1213
|
_id: "aiChatFeedbackItem"
|
|
1201
|
-
}),
|
|
1214
|
+
}), Po = (t) => {
|
|
1202
1215
|
const { name: e, ...a } = t;
|
|
1203
|
-
return /* @__PURE__ */ n(Oe, { name: e, children: /* @__PURE__ */ n(
|
|
1204
|
-
},
|
|
1216
|
+
return /* @__PURE__ */ n(Oe, { name: e, children: /* @__PURE__ */ n(Oi, { ...a }) });
|
|
1217
|
+
}, Wi = i(U.Root, {
|
|
1205
1218
|
_id: "aiChatFeedbackItem__Checkbox"
|
|
1206
|
-
}),
|
|
1219
|
+
}), Fo = (t) => {
|
|
1207
1220
|
const { name: e, focusItem: a } = de(), { onCheckedChange: s, ...o } = t, r = (c) => {
|
|
1208
1221
|
c && a?.current?.focus();
|
|
1209
1222
|
};
|
|
1210
1223
|
return /* @__PURE__ */ n(
|
|
1211
|
-
|
|
1224
|
+
Wi,
|
|
1212
1225
|
{
|
|
1213
1226
|
id: `feedback-${e}`,
|
|
1214
1227
|
name: e,
|
|
@@ -1216,72 +1229,72 @@ ${E}${$}`;
|
|
|
1216
1229
|
...o
|
|
1217
1230
|
}
|
|
1218
1231
|
);
|
|
1219
|
-
},
|
|
1232
|
+
}, Mo = i(U.Indicator, {
|
|
1220
1233
|
_id: "aiChatFeedbackItem__CheckboxIndicator",
|
|
1221
1234
|
children: /* @__PURE__ */ n(Pe, {})
|
|
1222
|
-
}),
|
|
1235
|
+
}), Ni = i("label", {
|
|
1223
1236
|
_id: "aiChatFeedbackItem__Label"
|
|
1224
|
-
}),
|
|
1237
|
+
}), Io = (t) => {
|
|
1225
1238
|
const { name: e } = de(), a = {
|
|
1226
1239
|
unrelated_response: "Didn't answer my question",
|
|
1227
1240
|
inaccurate_statement: "Inaccurate statement",
|
|
1228
1241
|
inaccurate_code_snippet: "Inaccurate code snippet",
|
|
1229
1242
|
irrelevant_citations: "Irrelevant citations"
|
|
1230
1243
|
};
|
|
1231
|
-
return /* @__PURE__ */ n(
|
|
1232
|
-
},
|
|
1244
|
+
return /* @__PURE__ */ n(Ni, { htmlFor: `feedback-${e}`, children: a[e], ...t });
|
|
1245
|
+
}, Ri = i("textarea", {
|
|
1233
1246
|
_id: "aiChatFeedbackItem__Description",
|
|
1234
1247
|
placeholder: "Please describe"
|
|
1235
|
-
}),
|
|
1248
|
+
}), fo = (t) => {
|
|
1236
1249
|
const { name: e, focusItem: a } = de();
|
|
1237
1250
|
return /* @__PURE__ */ n(
|
|
1238
|
-
|
|
1251
|
+
Ri,
|
|
1239
1252
|
{
|
|
1240
1253
|
ref: a,
|
|
1241
1254
|
name: `${e}:description`,
|
|
1242
1255
|
...t
|
|
1243
1256
|
}
|
|
1244
1257
|
);
|
|
1245
|
-
},
|
|
1258
|
+
}, Eo = i("button", {
|
|
1246
1259
|
_id: "aiChatFeedbackForm__SubmitButton",
|
|
1247
1260
|
children: "Submit",
|
|
1248
1261
|
type: "submit"
|
|
1249
|
-
}),
|
|
1262
|
+
}), $i = i("div", {
|
|
1250
1263
|
_id: "aiChatForm__Wrapper"
|
|
1251
|
-
}),
|
|
1264
|
+
}), So = (t) => {
|
|
1252
1265
|
const { form: e } = _();
|
|
1253
|
-
return e ? /* @__PURE__ */ n(
|
|
1254
|
-
},
|
|
1266
|
+
return e ? /* @__PURE__ */ n($i, { ...t }) : null;
|
|
1267
|
+
}, Qi = i("form", {
|
|
1255
1268
|
_id: "aiChatForm"
|
|
1256
|
-
}),
|
|
1269
|
+
}), ko = (t) => {
|
|
1257
1270
|
const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: o } = _();
|
|
1258
|
-
return o ? null : /* @__PURE__ */ n(
|
|
1259
|
-
},
|
|
1271
|
+
return o ? null : /* @__PURE__ */ n(Qi, { onSubmit: h(e, s), ...a });
|
|
1272
|
+
}, Vi = i("button", {
|
|
1260
1273
|
_id: "aiChatForm__Close",
|
|
1261
1274
|
children: /* @__PURE__ */ n(A, { iconKey: "close" })
|
|
1262
|
-
}),
|
|
1275
|
+
}), Bo = (t) => {
|
|
1263
1276
|
const { onClick: e, ...a } = t, { closeForm: s } = _();
|
|
1264
|
-
return /* @__PURE__ */ n(
|
|
1265
|
-
},
|
|
1277
|
+
return /* @__PURE__ */ n(Vi, { onClick: h(e, s), ...a });
|
|
1278
|
+
}, To = i("div", {
|
|
1266
1279
|
_id: "aiChatForm__Header"
|
|
1267
|
-
}),
|
|
1280
|
+
}), Ui = i("h2", {
|
|
1268
1281
|
_id: "aiChatForm__Heading"
|
|
1269
|
-
}),
|
|
1282
|
+
}), yo = (t) => {
|
|
1270
1283
|
const { form: e } = _();
|
|
1271
|
-
return e?.heading ? /* @__PURE__ */ n(
|
|
1272
|
-
},
|
|
1284
|
+
return e?.heading ? /* @__PURE__ */ n(Ui, { children: e.heading, ...t }) : null;
|
|
1285
|
+
}, Ki = i("span", {
|
|
1273
1286
|
_id: "aiChatForm__Description"
|
|
1274
|
-
}),
|
|
1287
|
+
}), wo = (t) => {
|
|
1275
1288
|
const { form: e } = _();
|
|
1276
|
-
return e?.description ? /* @__PURE__ */ n(
|
|
1277
|
-
},
|
|
1289
|
+
return e?.description ? /* @__PURE__ */ n(Ki, { children: e.description, ...t }) : null;
|
|
1290
|
+
}, qi = i("div", {
|
|
1278
1291
|
_id: "aiChatForm__Content"
|
|
1279
|
-
}),
|
|
1292
|
+
}), Ho = (t) => {
|
|
1280
1293
|
const { children: e, ...a } = t, { fields: s = [] } = _();
|
|
1281
|
-
return /* @__PURE__ */ n(
|
|
1282
|
-
},
|
|
1294
|
+
return /* @__PURE__ */ n(qi, { children: I(e, s), ...a });
|
|
1295
|
+
}, ji = i("div", {
|
|
1283
1296
|
_id: "aiChatForm__Field"
|
|
1284
|
-
}),
|
|
1297
|
+
}), Lo = (t) => {
|
|
1285
1298
|
const { field: e, autoFocus: a, ...s } = t, { control: o, errors: r } = _();
|
|
1286
1299
|
return /* @__PURE__ */ n(
|
|
1287
1300
|
je,
|
|
@@ -1299,7 +1312,7 @@ ${E}${$}`;
|
|
|
1299
1312
|
fieldProps: c,
|
|
1300
1313
|
autoFocus: a,
|
|
1301
1314
|
children: d && /* @__PURE__ */ n(
|
|
1302
|
-
|
|
1315
|
+
ji,
|
|
1303
1316
|
{
|
|
1304
1317
|
"data-input-type": e.inputType,
|
|
1305
1318
|
"data-hidden": v(e.isHidden),
|
|
@@ -1311,12 +1324,12 @@ ${E}${$}`;
|
|
|
1311
1324
|
}
|
|
1312
1325
|
}
|
|
1313
1326
|
);
|
|
1314
|
-
},
|
|
1327
|
+
}, Gi = i("label", {
|
|
1315
1328
|
_id: "aiChatForm__FieldLabel"
|
|
1316
|
-
}),
|
|
1329
|
+
}), xo = (t) => {
|
|
1317
1330
|
const { field: e } = L();
|
|
1318
1331
|
return /* @__PURE__ */ n(
|
|
1319
|
-
|
|
1332
|
+
Gi,
|
|
1320
1333
|
{
|
|
1321
1334
|
"data-required": v(e.isRequired),
|
|
1322
1335
|
htmlFor: e.name,
|
|
@@ -1324,7 +1337,7 @@ ${E}${$}`;
|
|
|
1324
1337
|
...t
|
|
1325
1338
|
}
|
|
1326
1339
|
);
|
|
1327
|
-
},
|
|
1340
|
+
}, zi = i("input", {
|
|
1328
1341
|
_id: "aiChatForm__FieldText",
|
|
1329
1342
|
type: "text"
|
|
1330
1343
|
}), fe = (t) => {
|
|
@@ -1335,7 +1348,7 @@ ${E}${$}`;
|
|
|
1335
1348
|
autoFocus: c
|
|
1336
1349
|
} = L(), { onChange: d, onBlur: m, ...l } = t;
|
|
1337
1350
|
return /* @__PURE__ */ n(
|
|
1338
|
-
|
|
1351
|
+
zi,
|
|
1339
1352
|
{
|
|
1340
1353
|
id: e.name,
|
|
1341
1354
|
autoFocus: c,
|
|
@@ -1347,14 +1360,14 @@ ${E}${$}`;
|
|
|
1347
1360
|
...l
|
|
1348
1361
|
}
|
|
1349
1362
|
);
|
|
1350
|
-
},
|
|
1363
|
+
}, Do = i(fe, {
|
|
1351
1364
|
_id: "aiChatForm__FieldEmail",
|
|
1352
1365
|
type: "email"
|
|
1353
|
-
}),
|
|
1366
|
+
}), Yi = i("input", {
|
|
1354
1367
|
_id: "aiChatForm__FieldFile",
|
|
1355
1368
|
type: "file",
|
|
1356
1369
|
multiple: !0
|
|
1357
|
-
}),
|
|
1370
|
+
}), Oo = (t) => {
|
|
1358
1371
|
const {
|
|
1359
1372
|
field: e,
|
|
1360
1373
|
error: a,
|
|
@@ -1365,7 +1378,7 @@ ${E}${$}`;
|
|
|
1365
1378
|
o(y);
|
|
1366
1379
|
};
|
|
1367
1380
|
return /* @__PURE__ */ n(
|
|
1368
|
-
|
|
1381
|
+
Yi,
|
|
1369
1382
|
{
|
|
1370
1383
|
id: e.name,
|
|
1371
1384
|
autoFocus: d,
|
|
@@ -1377,17 +1390,17 @@ ${E}${$}`;
|
|
|
1377
1390
|
onBlur: h(l, r)
|
|
1378
1391
|
}
|
|
1379
1392
|
);
|
|
1380
|
-
},
|
|
1393
|
+
}, Wo = i(fe, {
|
|
1381
1394
|
_id: "aiChatForm__FieldTextArea",
|
|
1382
1395
|
type: "textarea",
|
|
1383
1396
|
asChild: !0,
|
|
1384
1397
|
children: /* @__PURE__ */ n(ee, { maxRows: 8 })
|
|
1385
|
-
}),
|
|
1398
|
+
}), Ji = i(U.Root, {
|
|
1386
1399
|
_id: "aiChatForm__FieldCheckbox"
|
|
1387
|
-
}),
|
|
1400
|
+
}), No = (t) => {
|
|
1388
1401
|
const { field: e, error: a, fieldProps: s, autoFocus: o } = L(), { onCheckedChange: r, ...c } = t;
|
|
1389
1402
|
return /* @__PURE__ */ n(
|
|
1390
|
-
|
|
1403
|
+
Ji,
|
|
1391
1404
|
{
|
|
1392
1405
|
id: e.name,
|
|
1393
1406
|
name: e.name,
|
|
@@ -1398,15 +1411,15 @@ ${E}${$}`;
|
|
|
1398
1411
|
...c
|
|
1399
1412
|
}
|
|
1400
1413
|
);
|
|
1401
|
-
},
|
|
1414
|
+
}, Ro = i(U.Indicator, {
|
|
1402
1415
|
_id: "aiChatForm__FieldCheckboxIndicator",
|
|
1403
1416
|
children: /* @__PURE__ */ n(Pe, {})
|
|
1404
|
-
}),
|
|
1417
|
+
}), Xi = i(f.Root, {
|
|
1405
1418
|
_id: "aiChatForm__FieldSelect"
|
|
1406
|
-
}),
|
|
1419
|
+
}), $o = (t) => {
|
|
1407
1420
|
const { field: e, error: a, fieldProps: s } = L(), { onValueChange: o, ...r } = t;
|
|
1408
1421
|
return /* @__PURE__ */ n(
|
|
1409
|
-
|
|
1422
|
+
Xi,
|
|
1410
1423
|
{
|
|
1411
1424
|
name: e.name,
|
|
1412
1425
|
"data-invalid": v(!!a),
|
|
@@ -1415,87 +1428,87 @@ ${E}${$}`;
|
|
|
1415
1428
|
...r
|
|
1416
1429
|
}
|
|
1417
1430
|
);
|
|
1418
|
-
},
|
|
1431
|
+
}, Qo = i(f.Trigger, {
|
|
1419
1432
|
_id: "aiChatForm__FieldSelect__Trigger"
|
|
1420
|
-
}),
|
|
1433
|
+
}), Zi = i(f.Value, {
|
|
1421
1434
|
_id: "aiChatForm__FieldSelect__Value"
|
|
1422
|
-
}),
|
|
1435
|
+
}), Vo = (t) => {
|
|
1423
1436
|
const { field: e } = L();
|
|
1424
1437
|
return /* @__PURE__ */ n(
|
|
1425
|
-
|
|
1438
|
+
Zi,
|
|
1426
1439
|
{
|
|
1427
1440
|
placeholder: "placeholder" in e ? e.placeholder : void 0,
|
|
1428
1441
|
...t
|
|
1429
1442
|
}
|
|
1430
1443
|
);
|
|
1431
|
-
},
|
|
1444
|
+
}, Uo = i(f.Icon, {
|
|
1432
1445
|
_id: "aiChatForm__FieldSelect__Icon",
|
|
1433
1446
|
asChild: !0,
|
|
1434
1447
|
children: /* @__PURE__ */ n(T, { iconSettings: { builtIn: "LuChevronDown" } })
|
|
1435
|
-
}),
|
|
1448
|
+
}), Ko = i(f.Content, {
|
|
1436
1449
|
_id: "aiChatForm__FieldSelect__Content",
|
|
1437
1450
|
position: "popper"
|
|
1438
|
-
}),
|
|
1451
|
+
}), qo = i(f.Viewport, {
|
|
1439
1452
|
_id: "aiChatForm__FieldSelect__Viewport"
|
|
1440
|
-
}),
|
|
1453
|
+
}), jo = i(f.Item, {
|
|
1441
1454
|
_id: "aiChatForm__FieldSelect__Item"
|
|
1442
|
-
}),
|
|
1455
|
+
}), Go = i(f.ItemText, {
|
|
1443
1456
|
_id: "aiChatForm__FieldSelect__ItemText"
|
|
1444
|
-
}),
|
|
1457
|
+
}), zo = i(
|
|
1445
1458
|
f.ItemIndicator,
|
|
1446
1459
|
{
|
|
1447
1460
|
_id: "aiChatForm__FieldSelect__ItemIndicator",
|
|
1448
1461
|
asChild: !0,
|
|
1449
1462
|
children: /* @__PURE__ */ n(T, { iconSettings: { builtIn: "LuCheck" } })
|
|
1450
1463
|
}
|
|
1451
|
-
),
|
|
1464
|
+
), ea = i("span", {
|
|
1452
1465
|
_id: "aiChatForm__FieldError"
|
|
1453
|
-
}),
|
|
1466
|
+
}), Yo = (t) => {
|
|
1454
1467
|
const { error: e } = L();
|
|
1455
|
-
return e ? /* @__PURE__ */ n(
|
|
1456
|
-
},
|
|
1468
|
+
return e ? /* @__PURE__ */ n(ea, { children: e.message?.toString(), ...t }) : null;
|
|
1469
|
+
}, ta = i("span", {
|
|
1457
1470
|
_id: "aiChatForm__Error"
|
|
1458
|
-
}),
|
|
1471
|
+
}), Jo = (t) => {
|
|
1459
1472
|
const { formError: e } = _();
|
|
1460
|
-
return e ? /* @__PURE__ */ n(
|
|
1461
|
-
},
|
|
1473
|
+
return e ? /* @__PURE__ */ n(ta, { children: e.message, ...t }) : null;
|
|
1474
|
+
}, Xo = i("div", {
|
|
1462
1475
|
_id: "aiChatForm__Footer"
|
|
1463
|
-
}),
|
|
1476
|
+
}), ia = i("button", {
|
|
1464
1477
|
_id: "aiChatForm__Cancel",
|
|
1465
1478
|
children: "Cancel"
|
|
1466
|
-
}),
|
|
1479
|
+
}), Zo = (t) => {
|
|
1467
1480
|
const { onClick: e, ...a } = t, { closeForm: s } = _();
|
|
1468
|
-
return /* @__PURE__ */ n(
|
|
1469
|
-
},
|
|
1481
|
+
return /* @__PURE__ */ n(ia, { onClick: h(e, s), ...a });
|
|
1482
|
+
}, aa = i("button", {
|
|
1470
1483
|
_id: "aiChatForm__Submit",
|
|
1471
1484
|
children: "Submit",
|
|
1472
1485
|
type: "submit"
|
|
1473
|
-
}),
|
|
1486
|
+
}), er = (t) => {
|
|
1474
1487
|
const { onClick: e, ...a } = t, { isSubmitting: s } = _();
|
|
1475
|
-
return /* @__PURE__ */ n(
|
|
1476
|
-
},
|
|
1488
|
+
return /* @__PURE__ */ n(aa, { disabled: s, ...a });
|
|
1489
|
+
}, na = i("div", {
|
|
1477
1490
|
_id: "aiChatForm__Success"
|
|
1478
|
-
}),
|
|
1491
|
+
}), tr = (t) => {
|
|
1479
1492
|
const { isSuccess: e } = _();
|
|
1480
|
-
return e ? /* @__PURE__ */ n(
|
|
1481
|
-
},
|
|
1493
|
+
return e ? /* @__PURE__ */ n(na, { ...t }) : null;
|
|
1494
|
+
}, sa = i("h2", {
|
|
1482
1495
|
_id: "aiChatForm__SuccessHeading"
|
|
1483
|
-
}),
|
|
1496
|
+
}), ir = (t) => {
|
|
1484
1497
|
const { form: e } = _();
|
|
1485
|
-
return /* @__PURE__ */ n(
|
|
1486
|
-
},
|
|
1498
|
+
return /* @__PURE__ */ n(sa, { children: e?.successView.heading, ...t });
|
|
1499
|
+
}, oa = i(re, {
|
|
1487
1500
|
_id: "aiChatForm__SuccessMessage"
|
|
1488
|
-
}),
|
|
1501
|
+
}), ar = (t) => {
|
|
1489
1502
|
const { form: e } = _();
|
|
1490
|
-
return /* @__PURE__ */ n(
|
|
1491
|
-
},
|
|
1503
|
+
return /* @__PURE__ */ n(oa, { children: e?.successView.message, ...t });
|
|
1504
|
+
}, ra = i("button", {
|
|
1492
1505
|
_id: "aiChatForm__SuccessButton"
|
|
1493
|
-
}),
|
|
1506
|
+
}), nr = (t) => {
|
|
1494
1507
|
const { onClick: e, ...a } = t, { form: s, closeForm: o } = _(), r = s?.successView?.doneButton;
|
|
1495
1508
|
if (!r) return null;
|
|
1496
1509
|
const c = r.icon && /* @__PURE__ */ n(T, { iconSettings: r.icon }), d = r.label;
|
|
1497
1510
|
return /* @__PURE__ */ n(
|
|
1498
|
-
|
|
1511
|
+
ra,
|
|
1499
1512
|
{
|
|
1500
1513
|
onClick: h(e, o),
|
|
1501
1514
|
children: /* @__PURE__ */ Q(Z, { children: [
|
|
@@ -1507,343 +1520,343 @@ ${E}${$}`;
|
|
|
1507
1520
|
);
|
|
1508
1521
|
};
|
|
1509
1522
|
export {
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1523
|
+
Zs as ActionBar,
|
|
1524
|
+
eo as Actions,
|
|
1525
|
+
Ps as AttachmentsBar,
|
|
1526
|
+
Ss as AttachmentsBarActions,
|
|
1527
|
+
Ms as AttachmentsBarAttachment,
|
|
1528
|
+
Es as AttachmentsBarAttachmentDelete,
|
|
1529
|
+
Is as AttachmentsBarAttachmentIcon,
|
|
1530
|
+
fs as AttachmentsBarAttachmentTitle,
|
|
1531
|
+
Vs as AttachmentsBarForm,
|
|
1532
|
+
Gs as AttachmentsBarFormContent,
|
|
1533
|
+
Js as AttachmentsBarFormContentError,
|
|
1534
|
+
Ys as AttachmentsBarFormContentInput,
|
|
1535
|
+
zs as AttachmentsBarFormContentLabel,
|
|
1536
|
+
Xs as AttachmentsBarFormSubmitButton,
|
|
1537
|
+
Us as AttachmentsBarFormTitle,
|
|
1538
|
+
js as AttachmentsBarFormTitleError,
|
|
1539
|
+
qs as AttachmentsBarFormTitleInput,
|
|
1540
|
+
Ks as AttachmentsBarFormTitleLabel,
|
|
1541
|
+
ks as AttachmentsBarInfoTip,
|
|
1542
|
+
li as AttachmentsBarInfoTipArrow,
|
|
1543
|
+
Bs as AttachmentsBarInfoTipIcon,
|
|
1544
|
+
Ts as AttachmentsBarInfoTipText,
|
|
1545
|
+
ws as AttachmentsBarInput,
|
|
1546
|
+
Hs as AttachmentsBarInputIcon,
|
|
1547
|
+
ys as AttachmentsBarInputs,
|
|
1548
|
+
Fs as AttachmentsBarList,
|
|
1549
|
+
Ls as AttachmentsBarModal,
|
|
1550
|
+
Qs as AttachmentsBarModalBody,
|
|
1551
|
+
$s as AttachmentsBarModalClose,
|
|
1552
|
+
Ds as AttachmentsBarModalContent,
|
|
1553
|
+
Ns as AttachmentsBarModalDescription,
|
|
1554
|
+
Os as AttachmentsBarModalHeader,
|
|
1555
|
+
Ws as AttachmentsBarModalHeading,
|
|
1556
|
+
Rs as AttachmentsBarModalHelp,
|
|
1557
|
+
xs as AttachmentsBarModalOverlay,
|
|
1545
1558
|
Ie as ChatAction,
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1559
|
+
so as ChatActionFeedback,
|
|
1560
|
+
Si as ChatActionLabel,
|
|
1561
|
+
ro as ChatHelpAction,
|
|
1562
|
+
cn as Content,
|
|
1563
|
+
dn as ContentScrollArea,
|
|
1564
|
+
un as ContentScrollAreaCorner,
|
|
1565
|
+
ln as ContentScrollAreaScrollbar,
|
|
1566
|
+
hn as ContentScrollAreaThumb,
|
|
1567
|
+
mn as ContentScrollAreaViewport,
|
|
1568
|
+
tn as ConversationLoading,
|
|
1569
|
+
pn as Disclaimer,
|
|
1570
|
+
An as DisclaimerArrow,
|
|
1571
|
+
bn as DisclaimerContent,
|
|
1572
|
+
vn as DisclaimerLabel,
|
|
1573
|
+
_n as DisclaimerText,
|
|
1574
|
+
gn as DisclaimerTrigger,
|
|
1575
|
+
Zs as EmbeddedChatPrimitiveActionBar,
|
|
1576
|
+
eo as EmbeddedChatPrimitiveActions,
|
|
1577
|
+
Ps as EmbeddedChatPrimitiveAttachmentsBar,
|
|
1578
|
+
Ss as EmbeddedChatPrimitiveAttachmentsBarActions,
|
|
1579
|
+
Ms as EmbeddedChatPrimitiveAttachmentsBarAttachment,
|
|
1580
|
+
Es as EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,
|
|
1581
|
+
Is as EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,
|
|
1582
|
+
fs as EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,
|
|
1583
|
+
Vs as EmbeddedChatPrimitiveAttachmentsBarForm,
|
|
1584
|
+
Gs as EmbeddedChatPrimitiveAttachmentsBarFormContent,
|
|
1585
|
+
Js as EmbeddedChatPrimitiveAttachmentsBarFormContentError,
|
|
1586
|
+
Ys as EmbeddedChatPrimitiveAttachmentsBarFormContentInput,
|
|
1587
|
+
zs as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
|
|
1588
|
+
Xs as EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,
|
|
1589
|
+
Us as EmbeddedChatPrimitiveAttachmentsBarFormTitle,
|
|
1590
|
+
js as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
|
|
1591
|
+
qs as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
|
|
1592
|
+
Ks as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
|
|
1593
|
+
ks as EmbeddedChatPrimitiveAttachmentsBarInfoTip,
|
|
1594
|
+
li as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
|
|
1595
|
+
Bs as EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,
|
|
1596
|
+
Ts as EmbeddedChatPrimitiveAttachmentsBarInfoTipText,
|
|
1597
|
+
ws as EmbeddedChatPrimitiveAttachmentsBarInput,
|
|
1598
|
+
Hs as EmbeddedChatPrimitiveAttachmentsBarInputIcon,
|
|
1599
|
+
ys as EmbeddedChatPrimitiveAttachmentsBarInputs,
|
|
1600
|
+
Fs as EmbeddedChatPrimitiveAttachmentsBarList,
|
|
1601
|
+
Ls as EmbeddedChatPrimitiveAttachmentsBarModal,
|
|
1602
|
+
Qs as EmbeddedChatPrimitiveAttachmentsBarModalBody,
|
|
1603
|
+
$s as EmbeddedChatPrimitiveAttachmentsBarModalClose,
|
|
1604
|
+
Ds as EmbeddedChatPrimitiveAttachmentsBarModalContent,
|
|
1605
|
+
Ns as EmbeddedChatPrimitiveAttachmentsBarModalDescription,
|
|
1606
|
+
Os as EmbeddedChatPrimitiveAttachmentsBarModalHeader,
|
|
1607
|
+
Ws as EmbeddedChatPrimitiveAttachmentsBarModalHeading,
|
|
1608
|
+
Rs as EmbeddedChatPrimitiveAttachmentsBarModalHelp,
|
|
1609
|
+
xs as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
|
|
1597
1610
|
Ie as EmbeddedChatPrimitiveChatAction,
|
|
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
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1611
|
+
so as EmbeddedChatPrimitiveChatActionFeedback,
|
|
1612
|
+
Si as EmbeddedChatPrimitiveChatActionLabel,
|
|
1613
|
+
ro as EmbeddedChatPrimitiveChatHelpAction,
|
|
1614
|
+
cn as EmbeddedChatPrimitiveContent,
|
|
1615
|
+
dn as EmbeddedChatPrimitiveContentScrollArea,
|
|
1616
|
+
un as EmbeddedChatPrimitiveContentScrollAreaCorner,
|
|
1617
|
+
ln as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
|
|
1618
|
+
hn as EmbeddedChatPrimitiveContentScrollAreaThumb,
|
|
1619
|
+
mn as EmbeddedChatPrimitiveContentScrollAreaViewport,
|
|
1620
|
+
tn as EmbeddedChatPrimitiveConversationLoading,
|
|
1621
|
+
pn as EmbeddedChatPrimitiveDisclaimer,
|
|
1622
|
+
An as EmbeddedChatPrimitiveDisclaimerArrow,
|
|
1623
|
+
bn as EmbeddedChatPrimitiveDisclaimerContent,
|
|
1624
|
+
vn as EmbeddedChatPrimitiveDisclaimerLabel,
|
|
1625
|
+
_n as EmbeddedChatPrimitiveDisclaimerText,
|
|
1626
|
+
gn as EmbeddedChatPrimitiveDisclaimerTrigger,
|
|
1627
|
+
In as EmbeddedChatPrimitiveExampleQuestion,
|
|
1628
|
+
fn as EmbeddedChatPrimitiveExampleQuestionButton,
|
|
1629
|
+
Pn as EmbeddedChatPrimitiveExampleQuestions,
|
|
1630
|
+
Fn as EmbeddedChatPrimitiveExampleQuestionsLabel,
|
|
1631
|
+
Mn as EmbeddedChatPrimitiveExampleQuestionsList,
|
|
1632
|
+
Ao as EmbeddedChatPrimitiveFeedbackForm,
|
|
1633
|
+
Po as EmbeddedChatPrimitiveFeedbackItem,
|
|
1634
|
+
Fo as EmbeddedChatPrimitiveFeedbackItemCheckbox,
|
|
1635
|
+
Mo as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
|
|
1636
|
+
fo as EmbeddedChatPrimitiveFeedbackItemDescription,
|
|
1637
|
+
Io as EmbeddedChatPrimitiveFeedbackItemLabel,
|
|
1638
|
+
Co as EmbeddedChatPrimitiveFeedbackModal,
|
|
1639
|
+
_o as EmbeddedChatPrimitiveFeedbackModalBody,
|
|
1640
|
+
bo as EmbeddedChatPrimitiveFeedbackModalClose,
|
|
1641
|
+
vo as EmbeddedChatPrimitiveFeedbackModalContent,
|
|
1642
|
+
go as EmbeddedChatPrimitiveFeedbackModalHeader,
|
|
1643
|
+
po as EmbeddedChatPrimitiveFeedbackModalOverlay,
|
|
1644
|
+
Eo as EmbeddedChatPrimitiveFeedbackSubmitButton,
|
|
1645
|
+
ps as EmbeddedChatPrimitiveFooter,
|
|
1646
|
+
ko as EmbeddedChatPrimitiveForm,
|
|
1647
|
+
Zo as EmbeddedChatPrimitiveFormCancel,
|
|
1648
|
+
Bo as EmbeddedChatPrimitiveFormClose,
|
|
1649
|
+
Ho as EmbeddedChatPrimitiveFormContent,
|
|
1650
|
+
wo as EmbeddedChatPrimitiveFormDescription,
|
|
1651
|
+
Jo as EmbeddedChatPrimitiveFormError,
|
|
1652
|
+
Lo as EmbeddedChatPrimitiveFormField,
|
|
1653
|
+
No as EmbeddedChatPrimitiveFormFieldCheckbox,
|
|
1654
|
+
Ro as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
|
|
1655
|
+
Do as EmbeddedChatPrimitiveFormFieldEmail,
|
|
1656
|
+
Yo as EmbeddedChatPrimitiveFormFieldError,
|
|
1657
|
+
Oo as EmbeddedChatPrimitiveFormFieldFile,
|
|
1658
|
+
xo as EmbeddedChatPrimitiveFormFieldLabel,
|
|
1659
|
+
$o as EmbeddedChatPrimitiveFormFieldSelect,
|
|
1660
|
+
Ko as EmbeddedChatPrimitiveFormFieldSelectContent,
|
|
1661
|
+
Uo as EmbeddedChatPrimitiveFormFieldSelectIcon,
|
|
1662
|
+
jo as EmbeddedChatPrimitiveFormFieldSelectItem,
|
|
1663
|
+
zo as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
|
|
1664
|
+
Go as EmbeddedChatPrimitiveFormFieldSelectItemText,
|
|
1665
|
+
Qo as EmbeddedChatPrimitiveFormFieldSelectTrigger,
|
|
1666
|
+
Vo as EmbeddedChatPrimitiveFormFieldSelectValue,
|
|
1667
|
+
qo as EmbeddedChatPrimitiveFormFieldSelectViewport,
|
|
1655
1668
|
fe as EmbeddedChatPrimitiveFormFieldText,
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1669
|
+
Wo as EmbeddedChatPrimitiveFormFieldTextArea,
|
|
1670
|
+
Xo as EmbeddedChatPrimitiveFormFooter,
|
|
1671
|
+
To as EmbeddedChatPrimitiveFormHeader,
|
|
1672
|
+
yo as EmbeddedChatPrimitiveFormHeading,
|
|
1673
|
+
er as EmbeddedChatPrimitiveFormSubmit,
|
|
1674
|
+
tr as EmbeddedChatPrimitiveFormSuccess,
|
|
1675
|
+
nr as EmbeddedChatPrimitiveFormSuccessButton,
|
|
1676
|
+
ir as EmbeddedChatPrimitiveFormSuccessHeading,
|
|
1677
|
+
ar as EmbeddedChatPrimitiveFormSuccessMessage,
|
|
1678
|
+
So as EmbeddedChatPrimitiveFormWrapper,
|
|
1679
|
+
sn as EmbeddedChatPrimitiveHeaderToolbar,
|
|
1680
|
+
oo as EmbeddedChatPrimitiveHelpActions,
|
|
1681
|
+
mo as EmbeddedChatPrimitiveHelpActionsMenu,
|
|
1682
|
+
lo as EmbeddedChatPrimitiveHelpActionsMenuArrow,
|
|
1683
|
+
ho as EmbeddedChatPrimitiveHelpActionsMenuItem,
|
|
1684
|
+
uo as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
|
|
1685
|
+
co as EmbeddedChatPrimitiveHelpActionsTrigger,
|
|
1686
|
+
bs as EmbeddedChatPrimitiveInput,
|
|
1687
|
+
vs as EmbeddedChatPrimitiveInputFieldset,
|
|
1688
|
+
gs as EmbeddedChatPrimitiveInputGroup,
|
|
1689
|
+
yn as EmbeddedChatPrimitiveIntroMessageWrapper,
|
|
1690
|
+
Xn as EmbeddedChatPrimitiveMessage,
|
|
1691
|
+
is as EmbeddedChatPrimitiveMessageAction,
|
|
1692
|
+
$n as EmbeddedChatPrimitiveMessageAttachments,
|
|
1693
|
+
Vn as EmbeddedChatPrimitiveMessageAttachmentsItem,
|
|
1694
|
+
Un as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
|
|
1695
|
+
Kn as EmbeddedChatPrimitiveMessageAttachmentsItemTitle,
|
|
1696
|
+
Qn as EmbeddedChatPrimitiveMessageAttachmentsList,
|
|
1697
|
+
qn as EmbeddedChatPrimitiveMessageAttachmentsPreview,
|
|
1698
|
+
Jn as EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
|
|
1699
|
+
Yn as EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,
|
|
1700
|
+
Gn as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
|
|
1701
|
+
zn as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
|
|
1702
|
+
jn as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
|
|
1703
|
+
Ln as EmbeddedChatPrimitiveMessageAvatar,
|
|
1704
|
+
xn as EmbeddedChatPrimitiveMessageAvatarContent,
|
|
1705
|
+
Dn as EmbeddedChatPrimitiveMessageAvatarFallback,
|
|
1706
|
+
On as EmbeddedChatPrimitiveMessageAvatarImage,
|
|
1707
|
+
Rn as EmbeddedChatPrimitiveMessageContent,
|
|
1708
|
+
Nn as EmbeddedChatPrimitiveMessageContentWrapper,
|
|
1709
|
+
wn as EmbeddedChatPrimitiveMessageHeader,
|
|
1710
|
+
Hn as EmbeddedChatPrimitiveMessageLoading,
|
|
1711
|
+
Wn as EmbeddedChatPrimitiveMessageName,
|
|
1712
|
+
os as EmbeddedChatPrimitiveMessageSourceItem,
|
|
1713
|
+
rs as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
|
|
1714
|
+
hs as EmbeddedChatPrimitiveMessageSourceItemDescription,
|
|
1715
|
+
us as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
|
|
1716
|
+
ds as EmbeddedChatPrimitiveMessageSourceItemIcon,
|
|
1717
|
+
Cs as EmbeddedChatPrimitiveMessageSourceItemIndicator,
|
|
1718
|
+
ls as EmbeddedChatPrimitiveMessageSourceItemTag,
|
|
1719
|
+
ms as EmbeddedChatPrimitiveMessageSourceItemTitle,
|
|
1720
|
+
as as EmbeddedChatPrimitiveMessageSources,
|
|
1721
|
+
ns as EmbeddedChatPrimitiveMessageSourcesHeader,
|
|
1722
|
+
ss as EmbeddedChatPrimitiveMessageSourcesList,
|
|
1723
|
+
ts as EmbeddedChatPrimitiveMessageToolAction,
|
|
1724
|
+
es as EmbeddedChatPrimitiveMessageToolActions,
|
|
1725
|
+
Zn as EmbeddedChatPrimitiveMessageToolbar,
|
|
1713
1726
|
It as EmbeddedChatPrimitiveMessageWrapper,
|
|
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
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1727
|
+
Cn as EmbeddedChatPrimitiveMessages,
|
|
1728
|
+
an as EmbeddedChatPrimitiveRoot,
|
|
1729
|
+
_s as EmbeddedChatPrimitiveSendButton,
|
|
1730
|
+
As as EmbeddedChatPrimitiveSendButtonIcon,
|
|
1731
|
+
no as EmbeddedChatPrimitiveTaglineBrandName,
|
|
1732
|
+
to as EmbeddedChatPrimitiveTaglineContainer,
|
|
1733
|
+
ao as EmbeddedChatPrimitiveTaglineLogo,
|
|
1734
|
+
io as EmbeddedChatPrimitiveTaglineText,
|
|
1735
|
+
rn as EmbeddedChatPrimitiveToolbarHeader,
|
|
1736
|
+
on as EmbeddedChatPrimitiveToolbarHeaderWrapper,
|
|
1737
|
+
Bn as EmbeddedChatPrimitiveWorkflow,
|
|
1738
|
+
Tn as EmbeddedChatPrimitiveWorkflowIcon,
|
|
1739
|
+
En as EmbeddedChatPrimitiveWorkflows,
|
|
1740
|
+
Sn as EmbeddedChatPrimitiveWorkflowsLabel,
|
|
1741
|
+
kn as EmbeddedChatPrimitiveWorkflowsList,
|
|
1742
|
+
en as EmbeddedChatPrimitiveWrapper,
|
|
1743
|
+
In as ExampleQuestion,
|
|
1744
|
+
fn as ExampleQuestionButton,
|
|
1745
|
+
Pn as ExampleQuestions,
|
|
1746
|
+
Fn as ExampleQuestionsLabel,
|
|
1747
|
+
Mn as ExampleQuestionsList,
|
|
1748
|
+
Ao as FeedbackForm,
|
|
1749
|
+
Po as FeedbackItem,
|
|
1750
|
+
Fo as FeedbackItemCheckbox,
|
|
1751
|
+
Mo as FeedbackItemCheckboxIndicator,
|
|
1752
|
+
fo as FeedbackItemDescription,
|
|
1753
|
+
Io as FeedbackItemLabel,
|
|
1754
|
+
Co as FeedbackModal,
|
|
1755
|
+
_o as FeedbackModalBody,
|
|
1756
|
+
bo as FeedbackModalClose,
|
|
1757
|
+
vo as FeedbackModalContent,
|
|
1758
|
+
go as FeedbackModalHeader,
|
|
1759
|
+
po as FeedbackModalOverlay,
|
|
1760
|
+
Eo as FeedbackSubmitButton,
|
|
1761
|
+
ps as Footer,
|
|
1762
|
+
ko as Form,
|
|
1763
|
+
Zo as FormCancel,
|
|
1764
|
+
Bo as FormClose,
|
|
1765
|
+
Ho as FormContent,
|
|
1766
|
+
wo as FormDescription,
|
|
1767
|
+
Jo as FormError,
|
|
1768
|
+
Lo as FormField,
|
|
1769
|
+
No as FormFieldCheckbox,
|
|
1770
|
+
Ro as FormFieldCheckboxIndicator,
|
|
1771
|
+
Do as FormFieldEmail,
|
|
1772
|
+
Yo as FormFieldError,
|
|
1773
|
+
Oo as FormFieldFile,
|
|
1774
|
+
xo as FormFieldLabel,
|
|
1775
|
+
$o as FormFieldSelect,
|
|
1776
|
+
Ko as FormFieldSelectContent,
|
|
1777
|
+
Uo as FormFieldSelectIcon,
|
|
1778
|
+
jo as FormFieldSelectItem,
|
|
1779
|
+
zo as FormFieldSelectItemIndicator,
|
|
1780
|
+
Go as FormFieldSelectItemText,
|
|
1781
|
+
Qo as FormFieldSelectTrigger,
|
|
1782
|
+
Vo as FormFieldSelectValue,
|
|
1783
|
+
qo as FormFieldSelectViewport,
|
|
1771
1784
|
fe as FormFieldText,
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1785
|
+
Wo as FormFieldTextArea,
|
|
1786
|
+
Xo as FormFooter,
|
|
1787
|
+
To as FormHeader,
|
|
1788
|
+
yo as FormHeading,
|
|
1789
|
+
er as FormSubmit,
|
|
1790
|
+
tr as FormSuccess,
|
|
1791
|
+
nr as FormSuccessButton,
|
|
1792
|
+
ir as FormSuccessHeading,
|
|
1793
|
+
ar as FormSuccessMessage,
|
|
1794
|
+
So as FormWrapper,
|
|
1795
|
+
nn as Header,
|
|
1796
|
+
sn as HeaderToolbar,
|
|
1797
|
+
on as HeaderToolbarWrapper,
|
|
1798
|
+
oo as HelpActions,
|
|
1799
|
+
mo as HelpActionsMenu,
|
|
1800
|
+
lo as HelpActionsMenuArrow,
|
|
1801
|
+
ho as HelpActionsMenuItem,
|
|
1802
|
+
uo as HelpActionsMenuItemIcon,
|
|
1803
|
+
co as HelpActionsTrigger,
|
|
1804
|
+
bs as Input,
|
|
1805
|
+
vs as InputFieldset,
|
|
1806
|
+
gs as InputGroup,
|
|
1807
|
+
yn as IntroMessageWrapper,
|
|
1808
|
+
Xn as Message,
|
|
1809
|
+
is as MessageAction,
|
|
1810
|
+
$n as MessageAttachments,
|
|
1811
|
+
Vn as MessageAttachmentsItem,
|
|
1812
|
+
Un as MessageAttachmentsItemIcon,
|
|
1813
|
+
Kn as MessageAttachmentsItemTitle,
|
|
1814
|
+
Qn as MessageAttachmentsList,
|
|
1815
|
+
qn as MessageAttachmentsPreview,
|
|
1816
|
+
Jn as MessageAttachmentsPreviewBody,
|
|
1817
|
+
Yn as MessageAttachmentsPreviewClose,
|
|
1818
|
+
Gn as MessageAttachmentsPreviewContent,
|
|
1819
|
+
zn as MessageAttachmentsPreviewHeader,
|
|
1820
|
+
jn as MessageAttachmentsPreviewOverlay,
|
|
1821
|
+
Ln as MessageAvatar,
|
|
1822
|
+
xn as MessageAvatarContent,
|
|
1823
|
+
Dn as MessageAvatarFallback,
|
|
1824
|
+
On as MessageAvatarImage,
|
|
1825
|
+
Rn as MessageContent,
|
|
1826
|
+
Nn as MessageContentWrapper,
|
|
1827
|
+
wn as MessageHeader,
|
|
1828
|
+
Hn as MessageLoading,
|
|
1829
|
+
Wn as MessageName,
|
|
1830
|
+
os as MessageSourceItem,
|
|
1831
|
+
cs as MessageSourceItemBreadcrumbIcon,
|
|
1832
|
+
rs as MessageSourceItemBreadcrumbs,
|
|
1833
|
+
hs as MessageSourceItemDescription,
|
|
1834
|
+
us as MessageSourceItemDescriptionPart,
|
|
1835
|
+
ds as MessageSourceItemIcon,
|
|
1836
|
+
Cs as MessageSourceItemIndicator,
|
|
1837
|
+
ls as MessageSourceItemTag,
|
|
1838
|
+
ms as MessageSourceItemTitle,
|
|
1839
|
+
as as MessageSources,
|
|
1840
|
+
ns as MessageSourcesHeader,
|
|
1841
|
+
ss as MessageSourcesList,
|
|
1842
|
+
ts as MessageToolAction,
|
|
1843
|
+
es as MessageToolActions,
|
|
1844
|
+
Zn as MessageToolbar,
|
|
1832
1845
|
It as MessageWrapper,
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1846
|
+
Cn as Messages,
|
|
1847
|
+
rr as Provider,
|
|
1848
|
+
an as Root,
|
|
1849
|
+
_s as SendButton,
|
|
1850
|
+
As as SendButtonIcon,
|
|
1851
|
+
no as TaglineBrandName,
|
|
1852
|
+
to as TaglineContainer,
|
|
1853
|
+
ao as TaglineLogo,
|
|
1854
|
+
io as TaglineText,
|
|
1855
|
+
rn as ToolbarHeader,
|
|
1856
|
+
Bn as Workflow,
|
|
1857
|
+
Tn as WorkflowIcon,
|
|
1858
|
+
En as Workflows,
|
|
1859
|
+
Sn as WorkflowsLabel,
|
|
1860
|
+
kn as WorkflowsList,
|
|
1861
|
+
en as Wrapper
|
|
1849
1862
|
};
|