@altimateai/ui-components 0.0.77-beta.4 → 0.0.77-beta.5

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.
Files changed (64) hide show
  1. package/dist/Accordion.js +402 -0
  2. package/dist/CoachForm.css +1 -1
  3. package/dist/CoachForm.js +21630 -18090
  4. package/dist/Stack.js +2825 -2276
  5. package/dist/Switch.js +128 -87
  6. package/dist/ToggleGroup.js +5956 -4781
  7. package/dist/_basePickBy.js +25 -25
  8. package/dist/_baseUniq.js +122 -122
  9. package/dist/arc.js +36 -36
  10. package/dist/architectureDiagram-VXUJARFQ.js +1 -1
  11. package/dist/assets/icons/index.js +1 -1
  12. package/dist/blockDiagram-VD42YOAC.js +1 -1
  13. package/dist/c4Diagram-YG6GDRKO.js +22 -22
  14. package/dist/channel.js +2 -2
  15. package/dist/chatbotV2/index.d.ts +61 -10
  16. package/dist/chatbotV2/index.js +442 -56
  17. package/dist/chunk-4BX2VUAB.js +1 -1
  18. package/dist/chunk-55IACEB6.js +2 -2
  19. package/dist/chunk-B4BG7PRW.js +1 -1
  20. package/dist/chunk-DI55MBZ5.js +1 -1
  21. package/dist/chunk-FMBD7UC4.js +1 -1
  22. package/dist/chunk-QN33PNHL.js +5 -5
  23. package/dist/chunk-QZHKN3VN.js +1 -1
  24. package/dist/chunk-TZMSLE5B.js +1 -1
  25. package/dist/classDiagram-2ON5EDUG.js +1 -1
  26. package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
  27. package/dist/cose-bilkent-S5V4N54A.js +1 -1
  28. package/dist/dagre-6UL2VRFP.js +58 -58
  29. package/dist/dayjs.min.js +1 -1
  30. package/dist/diagram-PSM6KHXK.js +48 -48
  31. package/dist/diagram-QEK2KX5R.js +26 -26
  32. package/dist/diagram-S2PKOQOG.js +9 -9
  33. package/dist/erDiagram-Q2GNP2WA.js +12 -12
  34. package/dist/flowDiagram-NV44I4VS.js +6 -6
  35. package/dist/ganttDiagram-LVOFAZNH.js +322 -322
  36. package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
  37. package/dist/graph.js +5 -5
  38. package/dist/index.css +1 -1
  39. package/dist/index.d.ts +9 -1
  40. package/dist/index.js +24 -23
  41. package/dist/index2.css +1 -0
  42. package/dist/index2.js +22 -22
  43. package/dist/infoDiagram-F6ZHWCRC.js +14 -14
  44. package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
  45. package/dist/kanban-definition-3W4ZIXB7.js +54 -54
  46. package/dist/layout.js +52 -52
  47. package/dist/lineage/index.js +381 -381
  48. package/dist/main.js +6 -6
  49. package/dist/mermaid-parser.core.js +1 -1
  50. package/dist/mindmap-definition-VGOIOE7T.js +16 -16
  51. package/dist/pieDiagram-ADFJNKIX.js +25 -25
  52. package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
  53. package/dist/redux-toolkit.modern.js +7 -7
  54. package/dist/requirementDiagram-UZGBJVZJ.js +1 -1
  55. package/dist/sankeyDiagram-TZEHDZUN.js +16 -16
  56. package/dist/sequenceDiagram-WL72ISMW.js +28 -28
  57. package/dist/shadcn/index.d.ts +24 -40
  58. package/dist/shadcn/index.js +6232 -4805
  59. package/dist/stateDiagram-FKZM4ZOC.js +34 -34
  60. package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
  61. package/dist/storybook/Typography.stories.tsx +93 -120
  62. package/dist/timeline-definition-IT6M3QCI.js +54 -54
  63. package/dist/xychartDiagram-PRI3JC2R.js +32 -32
  64. package/package.json +1 -1
@@ -1,58 +1,444 @@
1
- import { A as e, b as t, g as o, f as n, e as r, a as i, i as d, C as c, o as g, c as C, d as p, E as S, I as u, L as l, q as m, M as A, h, Q as M, R as I, S as T, N as x, B as y, v as E, O as L, V as P, F as b, T as k, x as F, G as R, w as f, m as v, p as B, l as U, n as D, $ as G, s as H, r as Q, K as V, z as j, J as q, H as w, y as z, _ as J, P as K, a0 as N, k as O, t as W, U as X, X as Y, Y as Z, Z as _, D as $, W as ss, j as as, u as es } from "../CoachForm.js";
1
+ import { aK as y, aL as U, aM as B, aN as $, aO as R, aP as T, aQ as M, aR as V, aS as O, aT as q, aU as K, aV as _, aW as G, aX as Q, aY as H, aZ as E, a_ as W, a$ as Y, b0 as Z, b1 as X, b2 as J, b3 as P, b4 as ee } from "../CoachForm.js";
2
+ import { b6 as Re, b5 as ze, b7 as Le, b8 as Ue, b9 as Be, ba as $e, bb as Ve, bc as Oe, bu as qe, bq as Ke, bl as _e, bv as Ge, bz as Qe, bs as He, bx as We, bn as Ye, bm as Ze, bh as Xe, bd as Je, bg as Pe, bi as es, bF as ss, be as as, bj as ts, bt as ns, bp as rs, bo as ls, bE as is, bw as os, bf as cs, bk as ds, by as us, bB as ms, bC as hs, bD as gs, br as bs, bA as xs } from "../CoachForm.js";
3
+ import { j as e, S as se } from "../index2.js";
4
+ import { B as x, S as c, T as z, i as ae, j as te, a as ne } from "../Stack.js";
5
+ import { B as re } from "../ToggleGroup.js";
6
+ import { useState as f, useId as F, useEffect as D } from "react";
7
+ import { I as le } from "../redux-toolkit.modern.js";
8
+ import { A as ie, a as oe, b as ce, c as de, d as ue } from "../Accordion.js";
9
+ import '../index.css';const Ce = () => {
10
+ const { taskLabel: a } = y(), [s, t] = f(!1);
11
+ return a ? /* @__PURE__ */ e.jsx(e.Fragment, { children: s ? /* @__PURE__ */ e.jsx(U, { taskLabel: a, onClose: () => t(!1) }) : /* @__PURE__ */ e.jsxs(x, { size: "sm", onClick: () => t(!0), variant: "outline", children: [
12
+ /* @__PURE__ */ e.jsx(se, {}),
13
+ "Coach Agent"
14
+ ] }) }) : null;
15
+ }, ve = ({
16
+ messageId: a,
17
+ messageContent: s,
18
+ sessionId: t
19
+ }) => /* @__PURE__ */ e.jsx("div", { role: "group", "aria-label": "Message share and download", children: /* @__PURE__ */ e.jsxs(c, { direction: "row", children: [
20
+ /* @__PURE__ */ e.jsx(B, { messageId: a, messageContent: s, sessionId: t }),
21
+ /* @__PURE__ */ e.jsx(
22
+ $,
23
+ {
24
+ messageId: a,
25
+ messageContent: s,
26
+ sessionId: t
27
+ }
28
+ )
29
+ ] }) }), me = ({ messageId: a }) => {
30
+ const { sendMessage: s } = R(), { dispatch: t, currentSessionId: l, sessions: i } = y(), n = async () => {
31
+ if (!l) return;
32
+ const d = i[l];
33
+ if (d)
34
+ try {
35
+ t(T({ state: M.LOADING, sessionId: l }));
36
+ const r = d.messages, b = r.findIndex((g) => g.id === a);
37
+ if (b === -1) return;
38
+ const u = r.slice(0, b).filter((g) => g.role === "user").pop();
39
+ if (!u)
40
+ throw new Error("No user message found to regenerate");
41
+ t(
42
+ V({
43
+ sessionId: l,
44
+ messageId: a
45
+ })
46
+ ), await s({ message: u.content, dontAddUserMessage: !0 });
47
+ } catch (r) {
48
+ t(O(r instanceof Error ? r.message : "Failed to regenerate response"));
49
+ } finally {
50
+ t(T({ state: M.UNINITIALIZED, sessionId: l }));
51
+ }
52
+ };
53
+ return /* @__PURE__ */ e.jsx(z, { title: "Regenerate response", children: /* @__PURE__ */ e.jsx(
54
+ x,
55
+ {
56
+ variant: "ghost",
57
+ size: "sm",
58
+ className: "al-text-gray-500",
59
+ onClick: n,
60
+ "aria-label": "Regenerate response",
61
+ children: /* @__PURE__ */ e.jsx(le, { "aria-hidden": "true" })
62
+ }
63
+ ) });
64
+ }, Ne = ({ messageId: a, content: s }) => {
65
+ const t = async () => {
66
+ try {
67
+ await navigator.clipboard.writeText(s);
68
+ } catch (l) {
69
+ console.error("Failed to copy message:", l);
70
+ }
71
+ };
72
+ return /* @__PURE__ */ e.jsxs(c, { direction: "row", children: [
73
+ /* @__PURE__ */ e.jsx(me, { messageId: a }),
74
+ /* @__PURE__ */ e.jsx(z, { title: "Copy message", children: /* @__PURE__ */ e.jsx(
75
+ x,
76
+ {
77
+ variant: "ghost",
78
+ size: "sm",
79
+ className: "al-text-gray-500",
80
+ onClick: t,
81
+ "aria-label": "Copy response",
82
+ children: /* @__PURE__ */ e.jsx(q, { "aria-hidden": "true" })
83
+ }
84
+ ) })
85
+ ] });
86
+ }, ke = ({ messageId: a, children: s }) => {
87
+ const { components: t } = y(), [l, i] = f(!1), [n, d] = f(""), [r, b] = f(), [u, g] = f(!1), { submitFeedback: j } = K(), p = async (m) => {
88
+ m === r ? (b(void 0), i(!1), await j(a, { rating: void 0 })) : (b(m), i(!0));
89
+ }, h = async () => {
90
+ if (r) {
91
+ g(!0);
92
+ try {
93
+ await j(a, {
94
+ rating: r,
95
+ comment: n.trim() || void 0
96
+ }), i(!1);
97
+ } catch (m) {
98
+ console.error("Failed to submit feedback:", m);
99
+ } finally {
100
+ g(!1);
101
+ }
102
+ }
103
+ };
104
+ return t != null && t.feedback ? t.feedback : /* @__PURE__ */ e.jsxs("div", { role: "group", "aria-label": "Message feedback", children: [
105
+ /* @__PURE__ */ e.jsxs(c, { direction: "row", justify: "end", children: [
106
+ s,
107
+ /* @__PURE__ */ e.jsx(
108
+ x,
109
+ {
110
+ variant: "ghost",
111
+ size: "sm",
112
+ className: r === "up" ? "al-bg-green-100 al-text-green-600" : "al-text-gray-500",
113
+ onClick: () => p("up"),
114
+ disabled: u,
115
+ title: "Like response",
116
+ "aria-pressed": r === "up",
117
+ children: /* @__PURE__ */ e.jsx(_, { "aria-hidden": "true" })
118
+ }
119
+ ),
120
+ /* @__PURE__ */ e.jsx(
121
+ x,
122
+ {
123
+ variant: "ghost",
124
+ size: "sm",
125
+ className: r === "down" ? "al-bg-red-100 al-text-red-600" : "al-text-gray-500",
126
+ onClick: () => p("down"),
127
+ disabled: u,
128
+ title: "Dislike response",
129
+ "aria-pressed": r === "down",
130
+ children: /* @__PURE__ */ e.jsx(G, { "aria-hidden": "true" })
131
+ }
132
+ )
133
+ ] }),
134
+ l && /* @__PURE__ */ e.jsxs("div", { className: "al-mt-2 al-space-y-2", children: [
135
+ /* @__PURE__ */ e.jsx(
136
+ ae,
137
+ {
138
+ placeholder: "Tell us more about your feedback...",
139
+ value: n,
140
+ onChange: (m) => d(m.target.value),
141
+ className: "al-min-h-20",
142
+ disabled: u,
143
+ "aria-label": "Feedback comment"
144
+ }
145
+ ),
146
+ /* @__PURE__ */ e.jsxs(c, { direction: "row", children: [
147
+ /* @__PURE__ */ e.jsx(
148
+ Q,
149
+ {
150
+ size: "sm",
151
+ onClick: h,
152
+ disabled: u,
153
+ "aria-busy": u,
154
+ loading: u,
155
+ loadingText: "Submitting...",
156
+ children: "Submit Feedback"
157
+ }
158
+ ),
159
+ /* @__PURE__ */ e.jsx(
160
+ x,
161
+ {
162
+ variant: "ghost",
163
+ size: "sm",
164
+ onClick: () => i(!1),
165
+ disabled: u,
166
+ children: "Cancel"
167
+ }
168
+ )
169
+ ] })
170
+ ] })
171
+ ] });
172
+ }, Ie = ({ actions: a, isComplete: s = !1, heading: t }) => {
173
+ const l = a.filter((n) => n.type === "info"), i = a.filter((n) => n.type === "analysis");
174
+ return a.length ? /* @__PURE__ */ e.jsxs(
175
+ c,
176
+ {
177
+ direction: "column",
178
+ className: "al-mb-4",
179
+ role: "log",
180
+ "aria-live": "polite",
181
+ "aria-label": "Action status updates",
182
+ "data-component": "StatusUpdatesOLD",
183
+ "data-old-marker": "true",
184
+ children: [
185
+ /* @__PURE__ */ e.jsx(
186
+ "div",
187
+ {
188
+ style: {
189
+ backgroundColor: "#ff0000",
190
+ color: "#fff",
191
+ padding: "8px",
192
+ fontWeight: "bold",
193
+ fontSize: "16px",
194
+ border: "3px solid yellow"
195
+ },
196
+ children: "❌ StatusUpdatesOLD IS RENDERING (LEGACY - should NOT see this!)"
197
+ }
198
+ ),
199
+ /* @__PURE__ */ e.jsx(ie, { type: "single", defaultValue: s ? void 0 : "actions", collapsible: !0, children: /* @__PURE__ */ e.jsxs(oe, { value: "actions", children: [
200
+ /* @__PURE__ */ e.jsx(ce, { className: "al-text-sm al-text-gray-500 al-pt-0 al-no-underline hover:al-no-underline", children: /* @__PURE__ */ e.jsx(c, { direction: "row", align: "center", children: /* @__PURE__ */ e.jsxs(c, { direction: "row", align: "center", justify: "between", className: "al-flex-1", children: [
201
+ /* @__PURE__ */ e.jsx(te, { variant: "h4", children: t }),
202
+ /* @__PURE__ */ e.jsx("span", { className: "al-mt-1 al-text-brand", children: s ? "View detailed steps" : "Thinking" })
203
+ ] }) }) }),
204
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(c, { direction: "column", role: "list", gap: "none", children: l.map((n, d) => /* @__PURE__ */ e.jsxs(
205
+ c,
206
+ {
207
+ direction: "row",
208
+ align: "start",
209
+ className: "al-text-sm al-text-gray-500 al-p-2 al-rounded-md",
210
+ role: "listitem",
211
+ children: [
212
+ !s && d === a.length - 1 ? /* @__PURE__ */ e.jsx(
213
+ H,
214
+ {
215
+ size: "xs",
216
+ className: "al-border-blue-600 al-border-t-blue-300 al-mt-1.5"
217
+ }
218
+ ) : /* @__PURE__ */ e.jsx(
219
+ "div",
220
+ {
221
+ className: "al-h-2 al-w-2 al-rounded-full al-bg-action-green al-mt-1.5",
222
+ "aria-hidden": "true",
223
+ "data-testid": "status-dot"
224
+ }
225
+ ),
226
+ /* @__PURE__ */ e.jsxs("div", { className: "al-w-full", children: [
227
+ /* @__PURE__ */ e.jsx("div", { role: "status", className: "al-italic al-text-dark-gray", children: /* @__PURE__ */ e.jsx(E, { content: n.content || "", id: n.id }) }),
228
+ n.artifacts && /* @__PURE__ */ e.jsx(W, { artifacts: n.artifacts })
229
+ ] })
230
+ ]
231
+ },
232
+ `${n.type}-${d}`
233
+ )) }) })
234
+ ] }) }),
235
+ i.length > 0 && /* @__PURE__ */ e.jsx(c, { direction: "column", className: "al-text-sm al-text-dark", children: i.map((n) => /* @__PURE__ */ e.jsx(E, { content: n.content || "", id: n.id }, n.id)) }),
236
+ s ? null : /* @__PURE__ */ e.jsxs(c, { direction: "row", align: "center", children: [
237
+ /* @__PURE__ */ e.jsx(
238
+ "div",
239
+ {
240
+ className: "al-animate-spin al-h-4 al-w-4 al-border-2 al-border-primary al-border-t-transparent al-rounded-full",
241
+ "aria-hidden": "true"
242
+ }
243
+ ),
244
+ /* @__PURE__ */ e.jsx("span", { children: "Processing" })
245
+ ] })
246
+ ]
247
+ }
248
+ ) : null;
249
+ }, he = "_citations_1olrc_1", ge = {
250
+ citations: he
251
+ }, Ae = ({
252
+ citations: a,
253
+ frontEndUrl: s
254
+ }) => !(a != null && a.length) || !s ? null : /* @__PURE__ */ e.jsxs(c, { className: ge.citations, children: [
255
+ "Learnings applied:",
256
+ /* @__PURE__ */ e.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: a.map((t, l) => /* @__PURE__ */ e.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ e.jsx(
257
+ re,
258
+ {
259
+ title: t.content,
260
+ variant: "success",
261
+ className: "al-bg-green-500 al-text-white",
262
+ children: /* @__PURE__ */ e.jsx(
263
+ "a",
264
+ {
265
+ href: `${s}/teammates/${t.taskLabel}?learning=${t.id}`,
266
+ children: l + 1
267
+ }
268
+ )
269
+ }
270
+ ) }, t.id)) })
271
+ ] }), Te = ({ text: a, buttonProps: s }) => {
272
+ const { sendMessage: t } = R();
273
+ return /* @__PURE__ */ e.jsx(
274
+ x,
275
+ {
276
+ variant: "secondary",
277
+ onClick: () => t({ message: a }),
278
+ color: "link",
279
+ ...s,
280
+ className: ne(
281
+ "al-border al-border-primary-500 al-rounded-full al-p-2 !al-justify-start al-text-left al-h-auto",
282
+ s == null ? void 0 : s.className
283
+ ),
284
+ style: { whiteSpace: "normal", ...s == null ? void 0 : s.style },
285
+ children: a
286
+ },
287
+ a
288
+ );
289
+ }, Me = ({
290
+ messages: a,
291
+ handleSavePrompt: s,
292
+ showSavePromptButton: t = !1
293
+ }) => /* @__PURE__ */ e.jsx("div", { className: "al-space-y-4", children: a.map((l, i) => /* @__PURE__ */ e.jsx(
294
+ Y,
295
+ {
296
+ message: l,
297
+ isLastMessage: i === a.length - 1,
298
+ isFirstMessage: i === 0,
299
+ handleSavePrompt: i === 0 ? s : void 0,
300
+ showSavePromptButton: i === 0 ? t : !1
301
+ },
302
+ l.id
303
+ )) }), Ee = ({
304
+ onSubmit: a,
305
+ isLoading: s,
306
+ placeholder: t = "Ask a question...",
307
+ autoFocus: l = !1,
308
+ initialMessage: i = "",
309
+ components: n
310
+ }) => {
311
+ var N, k, I, A;
312
+ const { components: d, currentSessionId: r, sessions: b, dispatch: u } = y(), { detectEntities: g } = Z(), j = F(), p = F(), h = r && ((N = b[r]) == null ? void 0 : N.userInput) || "", m = (o) => {
313
+ r && u(ee({ sessionId: r, userInput: o }));
314
+ };
315
+ D(() => {
316
+ i && r && m(i);
317
+ }, [i, r]);
318
+ const w = (r && ((I = (k = b[r]) == null ? void 0 : k.context) == null ? void 0 : I.entities) || []).filter((o) => o.selected_type === X.UNKNOWN), S = w.length > 0, C = !S, v = async (o) => {
319
+ o.preventDefault(), !(!h.trim() || s || !C) && (m(""), await a(h));
320
+ }, L = (o) => {
321
+ o.key === "Enter" && !o.shiftKey && (o.preventDefault(), v(o));
322
+ };
323
+ return D(() => {
324
+ h.trim().length > 2 && g(h.trim());
325
+ }, [h, g]), /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(
326
+ "form",
327
+ {
328
+ id: j,
329
+ onSubmit: v,
330
+ "aria-label": "Message input form",
331
+ className: "al-flex al-gap-2 al-w-full al-shadow-lg al-rounded-2xl al-border al-border-gray-300 al-bg-white al-mb-4 al-py-2 al-px-4",
332
+ children: /* @__PURE__ */ e.jsxs(c, { className: "al-flex-1 al-relative al-w-full", direction: "column", children: [
333
+ /* @__PURE__ */ e.jsx("div", { id: "selected-contexts-portal" }),
334
+ /* @__PURE__ */ e.jsx("label", { htmlFor: p, className: "al-sr-only", children: "Type your message" }),
335
+ /* @__PURE__ */ e.jsx(
336
+ ue,
337
+ {
338
+ id: p,
339
+ value: h,
340
+ onChange: (o) => m(o.target.value),
341
+ onKeyDown: L,
342
+ placeholder: t,
343
+ minHeight: 40,
344
+ maxHeight: 400,
345
+ disabled: s,
346
+ autoFocus: l,
347
+ "aria-label": "Question input",
348
+ "aria-required": "true",
349
+ "aria-invalid": !1,
350
+ "aria-describedby": `${p}-hint`,
351
+ className: "al-outline-none al-border-none al-px-0"
352
+ }
353
+ ),
354
+ /* @__PURE__ */ e.jsx("div", { id: `${p}-hint`, className: "al-sr-only", children: "Press Enter to send, Shift + Enter for new line" }),
355
+ /* @__PURE__ */ e.jsxs(c, { className: "al-pb-2", justify: "between", children: [
356
+ n == null ? void 0 : n.questionFormLeftActions,
357
+ /* @__PURE__ */ e.jsxs(c, { children: [
358
+ (A = d == null ? void 0 : d.questionFormButtons) == null ? void 0 : A.call(d, h, (o) => {
359
+ m(o);
360
+ }),
361
+ s && /* @__PURE__ */ e.jsx(J, {}),
362
+ !s && /* @__PURE__ */ e.jsxs(
363
+ x,
364
+ {
365
+ type: "submit",
366
+ disabled: s || !h.trim() || !C,
367
+ "aria-busy": s,
368
+ "aria-label": s ? "Sending message..." : S ? "Cannot send - unknown entities need types selected" : "Send message",
369
+ title: s ? "Cancel generation" : S ? `Please select right type for ${w.map((o) => o.name).join(", ")}` : "Send message",
370
+ variant: "default",
371
+ size: "icon",
372
+ className: "!al-h-9",
373
+ children: [
374
+ /* @__PURE__ */ e.jsx(P, { className: "!al-h-6 !al-w-6" }),
375
+ /* @__PURE__ */ e.jsx("span", { className: "al-sr-only", children: s ? " message in progress" : " message" })
376
+ ]
377
+ }
378
+ )
379
+ ] })
380
+ ] })
381
+ ] })
382
+ }
383
+ ) });
384
+ };
2
385
  export {
3
- e as Artifacts,
4
- t as CancelGenerationButton,
5
- o as ChatFeedbackActions,
6
- n as ChatLastMessageActions,
7
- r as ChatMessageEndActions,
8
- i as ChatProvider,
9
- d as ChatTriggerLink,
10
- c as ChatbotV2,
11
- g as Citations,
12
- C as CoachAI,
13
- p as ContextPanel,
14
- S as EntityType,
15
- u as InteractionPrompt,
16
- l as LoadingIndicator,
17
- m as LoadingState,
18
- A as MessageItem,
19
- h as MessageList,
20
- M as QuestionForm,
21
- I as RegenerateButton,
22
- T as StatusUpdates,
23
- x as addAction,
24
- y as addMessage,
25
- E as agentStreamResponseSchema,
26
- L as clearActions,
27
- P as clearContext,
28
- b as clearHistory,
29
- k as clearTodos,
30
- F as createSession,
31
- R as deleteMessage,
32
- f as initialState,
33
- v as processAgentMessageContent,
34
- B as processAgentStream,
35
- U as processExistingConversation,
36
- D as processPlaygroundSessionTurns,
37
- G as resetSession,
38
- H as sendMessageAndProcessStream,
39
- Q as sessionStatusSchema,
40
- V as setAbortController,
41
- j as setCurrentSession,
42
- q as setError,
43
- w as setLoadingState,
44
- z as setSelectedModel,
45
- J as setSessions,
46
- K as setTodos,
47
- N as setUserInput,
48
- O as streamResponseToAgentMessages,
49
- W as todoItemSchema,
50
- X as updateContext,
51
- Y as updateDatamateInSession,
52
- Z as updateEntities,
53
- _ as updateEntityType,
54
- $ as updateMessageFeedback,
55
- ss as updateMode,
56
- as as useAgentChat,
57
- es as useChatContext
386
+ W as Artifacts,
387
+ J as CancelGenerationButton,
388
+ ke as ChatFeedbackActions,
389
+ Ne as ChatLastMessageActions,
390
+ ve as ChatMessageEndActions,
391
+ Re as ChatProvider,
392
+ Te as ChatTriggerLink,
393
+ ze as ChatbotV2,
394
+ Ae as Citations,
395
+ Ce as CoachAI,
396
+ Le as ContextPanel,
397
+ X as EntityType,
398
+ Ue as InteractionPrompt,
399
+ Be as LoadingIndicator,
400
+ M as LoadingState,
401
+ Y as MessageItem,
402
+ Me as MessageList,
403
+ $e as MessageListV2,
404
+ Ee as QuestionForm,
405
+ Ve as QuestionFormV2,
406
+ me as RegenerateButton,
407
+ Ie as StatusUpdates,
408
+ Oe as StatusUpdatesV2,
409
+ qe as addAction,
410
+ Ke as addMessage,
411
+ _e as agentStreamResponseSchema,
412
+ Ge as clearActions,
413
+ Qe as clearContext,
414
+ He as clearHistory,
415
+ We as clearTodos,
416
+ Ye as createSession,
417
+ V as deleteMessage,
418
+ Ze as initialState,
419
+ Xe as processAgentMessageContent,
420
+ Je as processAgentStream,
421
+ Pe as processExistingConversation,
422
+ es as processPlaygroundSessionTurns,
423
+ ss as resetSession,
424
+ as as sendMessageAndProcessStream,
425
+ ts as sessionStatusSchema,
426
+ ns as setAbortController,
427
+ rs as setCurrentSession,
428
+ O as setError,
429
+ T as setLoadingState,
430
+ ls as setSelectedModel,
431
+ is as setSessions,
432
+ os as setTodos,
433
+ ee as setUserInput,
434
+ cs as streamResponseToAgentMessages,
435
+ ds as todoItemSchema,
436
+ us as updateContext,
437
+ ms as updateDatamateInSession,
438
+ hs as updateEntities,
439
+ gs as updateEntityType,
440
+ bs as updateMessageFeedback,
441
+ xs as updateMode,
442
+ R as useAgentChat,
443
+ y as useChatContext
58
444
  };
@@ -1,4 +1,4 @@
1
- import { a1 as l } from "./CoachForm.js";
1
+ import { _ as l } from "./CoachForm.js";
2
2
  function m(e, c) {
3
3
  var i, t, o;
4
4
  e.accDescr && ((i = c.setAccDescription) == null || i.call(c, e.accDescr)), e.accTitle && ((t = c.setAccTitle) == null || t.call(c, e.accTitle)), e.title && ((o = c.setDiagramTitle) == null || o.call(c, e.title));
@@ -1,6 +1,6 @@
1
- import { a1 as a } from "./CoachForm.js";
1
+ import { _ as s } from "./CoachForm.js";
2
2
  import { s as o } from "./redux-toolkit.modern.js";
3
- var d = /* @__PURE__ */ a((t, e) => {
3
+ var d = /* @__PURE__ */ s((t, e) => {
4
4
  let n;
5
5
  return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
6
6
  }, "getDiagramElement");
@@ -1,7 +1,7 @@
1
1
  import { g as et } from "./chunk-FMBD7UC4.js";
2
2
  import { g as tt } from "./chunk-55IACEB6.js";
3
3
  import { s as st } from "./chunk-QN33PNHL.js";
4
- import { a1 as f, ac as it, a7 as F, aI as R, a3 as at, a4 as nt, a6 as rt, a5 as ut, ag as lt, ah as ot, a9 as v, an as ct, ad as Oe, am as we, al as ht, aq as dt, ar as pt } from "./CoachForm.js";
4
+ import { _ as f, i as it, d as F, P as R, s as at, g as nt, c as rt, b as ut, m as lt, n as ot, e as v, r as ct, l as Oe, u as we, q as ht, x as dt, y as pt } from "./CoachForm.js";
5
5
  import { s as ee } from "./redux-toolkit.modern.js";
6
6
  var Ve = function() {
7
7
  var s = /* @__PURE__ */ f(function(I, o, h, p) {
@@ -1,6 +1,6 @@
1
1
  import { g as te } from "./chunk-55IACEB6.js";
2
2
  import { s as ee } from "./chunk-QN33PNHL.js";
3
- import { a1 as f, a4 as se, a3 as ie, a5 as re, a6 as ae, ag as ne, ah as oe, a7 as F, ad as D, aL as le, a9 as W, an as ce, ar as he, am as ue } from "./CoachForm.js";
3
+ import { _ as f, g as se, s as ie, b as re, c as ae, m as ne, n as oe, d as F, l as D, S as le, e as W, r as ce, y as he, u as ue } from "./CoachForm.js";
4
4
  var vt = function() {
5
5
  var e = /* @__PURE__ */ f(function(V, o, h, n) {
6
6
  for (h = h || {}, n = V.length; n--; h[V[n]] = o) ;
@@ -1,4 +1,4 @@
1
- import { a1 as e } from "./CoachForm.js";
1
+ import { _ as e } from "./CoachForm.js";
2
2
  var l = /* @__PURE__ */ e(() => `
3
3
  /* Font Awesome icon styling - consolidated */
4
4
  .label-icon {
@@ -1,9 +1,9 @@
1
- import { a1 as a, ae as w, ad as x } from "./CoachForm.js";
2
- var g = /* @__PURE__ */ a((e, t, i, o) => {
1
+ import { _ as a, j as w, l as x } from "./CoachForm.js";
2
+ var d = /* @__PURE__ */ a((e, t, i, o) => {
3
3
  e.attr("class", i);
4
4
  const { width: r, height: h, x: n, y: c } = u(e, t);
5
5
  w(e, h, r, o);
6
- const s = d(n, c, r, h, t);
6
+ const s = l(n, c, r, h, t);
7
7
  e.attr("viewBox", s), x.debug(`viewBox configured: ${s} with padding: ${t}`);
8
8
  }, "setupViewPortForSVG"), u = /* @__PURE__ */ a((e, t) => {
9
9
  var o;
@@ -14,7 +14,7 @@ var g = /* @__PURE__ */ a((e, t, i, o) => {
14
14
  x: i.x,
15
15
  y: i.y
16
16
  };
17
- }, "calculateDimensionsWithPadding"), d = /* @__PURE__ */ a((e, t, i, o, r) => `${e - r} ${t - r} ${i} ${o}`, "createViewBox");
17
+ }, "calculateDimensionsWithPadding"), l = /* @__PURE__ */ a((e, t, i, o, r) => `${e - r} ${t - r} ${i} ${o}`, "createViewBox");
18
18
  export {
19
- g as s
19
+ d as s
20
20
  };
@@ -1,4 +1,4 @@
1
- import { a1 as s } from "./CoachForm.js";
1
+ import { _ as s } from "./CoachForm.js";
2
2
  var t, e = (t = class {
3
3
  /**
4
4
  * @param init - Function that creates the default state.
@@ -1,4 +1,4 @@
1
- import { a1 as n, aM as c, af as l } from "./CoachForm.js";
1
+ import { _ as n, T as c, k as l } from "./CoachForm.js";
2
2
  var o = /* @__PURE__ */ n((a, t) => {
3
3
  const e = a.append("rect");
4
4
  if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
@@ -1,5 +1,5 @@
1
1
  import { c as r, C as s, a as e, s as t } from "./chunk-B4BG7PRW.js";
2
- import { a1 as l } from "./CoachForm.js";
2
+ import { _ as l } from "./CoachForm.js";
3
3
  import "./redux-toolkit.modern.js";
4
4
  var m = {
5
5
  parser: r,
@@ -1,5 +1,5 @@
1
1
  import { c as r, C as s, a as e, s as t } from "./chunk-B4BG7PRW.js";
2
- import { a1 as l } from "./CoachForm.js";
2
+ import { _ as l } from "./CoachForm.js";
3
3
  import "./redux-toolkit.modern.js";
4
4
  var m = {
5
5
  parser: r,
@@ -1,4 +1,4 @@
1
- import { a1 as V, ad as k } from "./CoachForm.js";
1
+ import { _ as V, l as k } from "./CoachForm.js";
2
2
  import { c as J } from "./cytoscape.esm.js";
3
3
  import { c as $, g as lt, s as gt } from "./redux-toolkit.modern.js";
4
4
  var tt = { exports: {} }, Z = { exports: {} }, Q = { exports: {} }, q;