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

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 (396) hide show
  1. package/dist/CoachForm.css +1 -1
  2. package/dist/CoachForm.js +60290 -20147
  3. package/dist/DbtDocsRenderer.js +1 -1
  4. package/dist/Stack.js +42 -41
  5. package/dist/Switch.js +1 -1
  6. package/dist/ToggleGroup.js +19 -19
  7. package/dist/_basePickBy.js +61 -61
  8. package/dist/_baseUniq.js +104 -104
  9. package/dist/abap.js +6 -0
  10. package/dist/actionscript-3.js +6 -0
  11. package/dist/ada.js +6 -0
  12. package/dist/andromeeda.js +4 -0
  13. package/dist/angular-html.js +32 -0
  14. package/dist/angular-ts.js +21 -0
  15. package/dist/apache.js +6 -0
  16. package/dist/apex.js +6 -0
  17. package/dist/apl.js +16 -0
  18. package/dist/applescript.js +6 -0
  19. package/dist/ara.js +6 -0
  20. package/dist/arc.js +49 -49
  21. package/dist/architectureDiagram-VXUJARFQ.js +480 -4315
  22. package/dist/architectureDiagram-VXUJARFQ2.js +831 -0
  23. package/dist/asciidoc.js +6 -0
  24. package/dist/asm.js +6 -0
  25. package/dist/assets/icons/index.js +1 -1
  26. package/dist/astro.js +18 -0
  27. package/dist/aurora-x.js +4 -0
  28. package/dist/awk.js +6 -0
  29. package/dist/ayu-dark.js +4 -0
  30. package/dist/ballerina.js +6 -0
  31. package/dist/band.js +46 -0
  32. package/dist/bat.js +6 -0
  33. package/dist/beancount.js +6 -0
  34. package/dist/berry.js +6 -0
  35. package/dist/bibtex.js +6 -0
  36. package/dist/bicep.js +6 -0
  37. package/dist/blade.js +20 -0
  38. package/dist/blockDiagram-VD42YOAC.js +1 -1
  39. package/dist/blockDiagram-VD42YOAC2.js +2266 -0
  40. package/dist/bsl.js +8 -0
  41. package/dist/c.js +6 -0
  42. package/dist/c3.js +6 -0
  43. package/dist/c4Diagram-YG6GDRKO2.js +1582 -0
  44. package/dist/cadence.js +6 -0
  45. package/dist/cairo.js +8 -0
  46. package/dist/catppuccin-frappe.js +4 -0
  47. package/dist/catppuccin-latte.js +4 -0
  48. package/dist/catppuccin-macchiato.js +4 -0
  49. package/dist/catppuccin-mocha.js +4 -0
  50. package/dist/channel.js +2 -2
  51. package/dist/chatbotV2/index.d.ts +31 -44
  52. package/dist/chatbotV2/index.js +76 -427
  53. package/dist/chunk-4BX2VUAB2.js +9 -0
  54. package/dist/chunk-55IACEB62.js +9 -0
  55. package/dist/chunk-B4BG7PRW.js +1 -1
  56. package/dist/chunk-B4BG7PRW2.js +1377 -0
  57. package/dist/chunk-DI55MBZ5.js +14 -14
  58. package/dist/chunk-DI55MBZ52.js +1382 -0
  59. package/dist/chunk-FMBD7UC42.js +19 -0
  60. package/dist/chunk-QN33PNHL2.js +20 -0
  61. package/dist/chunk-QZHKN3VN2.js +15 -0
  62. package/dist/chunk-TZMSLE5B.js +1 -1
  63. package/dist/chunk-TZMSLE5B2.js +64 -0
  64. package/dist/clarity.js +6 -0
  65. package/dist/classDiagram-2ON5EDUG2.js +17 -0
  66. package/dist/classDiagram-v2-WZHVMYZB2.js +17 -0
  67. package/dist/clojure.js +6 -0
  68. package/dist/cmake.js +6 -0
  69. package/dist/cobol.js +10 -0
  70. package/dist/code-block-37QAKDTI.js +27 -0
  71. package/dist/codeowners.js +6 -0
  72. package/dist/codeql.js +6 -0
  73. package/dist/coffee.js +8 -0
  74. package/dist/common-lisp.js +6 -0
  75. package/dist/coq.js +6 -0
  76. package/dist/cose-bilkent-S5V4N54A.js +160 -2535
  77. package/dist/cose-bilkent-S5V4N54A2.js +231 -0
  78. package/dist/cpp.js +18 -0
  79. package/dist/crystal.js +18 -0
  80. package/dist/csharp.js +6 -0
  81. package/dist/css.js +6 -0
  82. package/dist/csv.js +6 -0
  83. package/dist/cue.js +6 -0
  84. package/dist/cypher.js +6 -0
  85. package/dist/cytoscape-cose-bilkent.js +2380 -0
  86. package/dist/cytoscape-fcose.js +3840 -0
  87. package/dist/d.js +6 -0
  88. package/dist/dagre-6UL2VRFP.js +52 -52
  89. package/dist/dagre-6UL2VRFP2.js +447 -0
  90. package/dist/dark-plus.js +4 -0
  91. package/dist/dart.js +6 -0
  92. package/dist/dax.js +6 -0
  93. package/dist/dayjs.min.js +1 -1
  94. package/dist/defaultLocale.js +3 -3
  95. package/dist/desktop.js +6 -0
  96. package/dist/diagram-PSM6KHXK.js +198 -414
  97. package/dist/diagram-PSM6KHXK2.js +319 -0
  98. package/dist/diagram-QEK2KX5R.js +9 -9
  99. package/dist/diagram-QEK2KX5R2.js +221 -0
  100. package/dist/diagram-S2PKOQOG.js +7 -7
  101. package/dist/diagram-S2PKOQOG2.js +143 -0
  102. package/dist/diff.js +6 -0
  103. package/dist/docker.js +6 -0
  104. package/dist/dotenv.js +6 -0
  105. package/dist/dracula-soft.js +4 -0
  106. package/dist/dracula.js +4 -0
  107. package/dist/dream-maker.js +6 -0
  108. package/dist/edge.js +12 -0
  109. package/dist/elixir.js +8 -0
  110. package/dist/elm.js +8 -0
  111. package/dist/emacs-lisp.js +6 -0
  112. package/dist/erDiagram-Q2GNP2WA.js +12 -12
  113. package/dist/erDiagram-Q2GNP2WA2.js +843 -0
  114. package/dist/erb.js +10 -0
  115. package/dist/erlang.js +8 -0
  116. package/dist/everforest-dark.js +4 -0
  117. package/dist/everforest-light.js +4 -0
  118. package/dist/fennel.js +6 -0
  119. package/dist/fish.js +6 -0
  120. package/dist/flowDiagram-NV44I4VS.js +1 -1
  121. package/dist/flowDiagram-NV44I4VS2.js +1628 -0
  122. package/dist/fluent.js +6 -0
  123. package/dist/fortran-fixed-form.js +8 -0
  124. package/dist/fortran-free-form.js +6 -0
  125. package/dist/fsharp.js +8 -0
  126. package/dist/ganttDiagram-JELNMOA3.js +1788 -0
  127. package/dist/ganttDiagram-LVOFAZNH.js +851 -1726
  128. package/dist/gdresource.js +10 -0
  129. package/dist/gdscript.js +6 -0
  130. package/dist/gdshader.js +6 -0
  131. package/dist/genie.js +6 -0
  132. package/dist/gherkin.js +6 -0
  133. package/dist/git-commit.js +8 -0
  134. package/dist/git-rebase.js +8 -0
  135. package/dist/gitGraphDiagram-NY62KEGX.js +1 -1
  136. package/dist/gitGraphDiagram-NY62KEGX2.js +713 -0
  137. package/dist/github-dark-default.js +4 -0
  138. package/dist/github-dark-dimmed.js +4 -0
  139. package/dist/github-dark-high-contrast.js +4 -0
  140. package/dist/github-dark.js +4 -0
  141. package/dist/github-light-default.js +4 -0
  142. package/dist/github-light-high-contrast.js +4 -0
  143. package/dist/github-light.js +4 -0
  144. package/dist/gleam.js +6 -0
  145. package/dist/glimmer-js.js +14 -0
  146. package/dist/glimmer-ts.js +14 -0
  147. package/dist/glsl.js +8 -0
  148. package/dist/gn.js +6 -0
  149. package/dist/gnuplot.js +6 -0
  150. package/dist/go.js +6 -0
  151. package/dist/graph.js +13 -14
  152. package/dist/graph2.js +246 -0
  153. package/dist/graphql.js +14 -0
  154. package/dist/groovy.js +6 -0
  155. package/dist/gruvbox-dark-hard.js +4 -0
  156. package/dist/gruvbox-dark-medium.js +4 -0
  157. package/dist/gruvbox-dark-soft.js +4 -0
  158. package/dist/gruvbox-light-hard.js +4 -0
  159. package/dist/gruvbox-light-medium.js +4 -0
  160. package/dist/gruvbox-light-soft.js +4 -0
  161. package/dist/hack.js +10 -0
  162. package/dist/haml.js +10 -0
  163. package/dist/handlebars.js +14 -0
  164. package/dist/haskell.js +6 -0
  165. package/dist/haxe.js +6 -0
  166. package/dist/hcl.js +6 -0
  167. package/dist/hjson.js +6 -0
  168. package/dist/hlsl.js +6 -0
  169. package/dist/houston.js +4 -0
  170. package/dist/html-derivative.js +8 -0
  171. package/dist/html.js +10 -0
  172. package/dist/http.js +14 -0
  173. package/dist/hurl.js +12 -0
  174. package/dist/hxml.js +8 -0
  175. package/dist/hy.js +6 -0
  176. package/dist/imba.js +6 -0
  177. package/dist/index.css +1 -1
  178. package/dist/index.d.ts +101 -14
  179. package/dist/index.js +38 -39
  180. package/dist/index2.js +216 -684
  181. package/dist/index3.js +689 -0
  182. package/dist/infoDiagram-F6ZHWCRC.js +1 -1
  183. package/dist/infoDiagram-WHAUD3N6.js +24 -0
  184. package/dist/ini.js +6 -0
  185. package/dist/java.js +6 -0
  186. package/dist/javascript.js +6 -0
  187. package/dist/jinja.js +11 -0
  188. package/dist/jison.js +8 -0
  189. package/dist/journeyDiagram-XKPGCS4Q2.js +837 -0
  190. package/dist/json.js +6 -0
  191. package/dist/json5.js +6 -0
  192. package/dist/jsonc.js +6 -0
  193. package/dist/jsonl.js +6 -0
  194. package/dist/jsonnet.js +6 -0
  195. package/dist/jssm.js +6 -0
  196. package/dist/jsx.js +6 -0
  197. package/dist/julia.js +16 -0
  198. package/dist/kanagawa-dragon.js +4 -0
  199. package/dist/kanagawa-lotus.js +4 -0
  200. package/dist/kanagawa-wave.js +4 -0
  201. package/dist/kanban-definition-3W4ZIXB7.js +26 -26
  202. package/dist/kanban-definition-3W4ZIXB72.js +720 -0
  203. package/dist/katex2.js +11691 -0
  204. package/dist/kdl.js +6 -0
  205. package/dist/kotlin.js +6 -0
  206. package/dist/kusto.js +6 -0
  207. package/dist/laserwave.js +4 -0
  208. package/dist/latex.js +8 -0
  209. package/dist/layout.js +567 -678
  210. package/dist/layout2.js +1224 -0
  211. package/dist/lean.js +6 -0
  212. package/dist/less.js +6 -0
  213. package/dist/light-plus.js +4 -0
  214. package/dist/lineage/index.js +1066 -1073
  215. package/dist/linear.js +1 -1
  216. package/dist/liquid.js +14 -0
  217. package/dist/llvm.js +6 -0
  218. package/dist/log.js +6 -0
  219. package/dist/logo.js +6 -0
  220. package/dist/lua.js +8 -0
  221. package/dist/luau.js +6 -0
  222. package/dist/main.css +1 -1
  223. package/dist/main.js +152 -152
  224. package/dist/make.js +6 -0
  225. package/dist/markdown.js +6 -0
  226. package/dist/marko.js +14 -0
  227. package/dist/material-theme-darker.js +4 -0
  228. package/dist/material-theme-lighter.js +4 -0
  229. package/dist/material-theme-ocean.js +4 -0
  230. package/dist/material-theme-palenight.js +4 -0
  231. package/dist/material-theme.js +4 -0
  232. package/dist/matlab.js +6 -0
  233. package/dist/mdc.js +12 -0
  234. package/dist/mdx.js +6 -0
  235. package/dist/mermaid-4DMBBIKO.js +4 -0
  236. package/dist/mermaid-parser.core.js +155 -155
  237. package/dist/mermaid.js +6 -0
  238. package/dist/min-dark.js +4 -0
  239. package/dist/min-light.js +4 -0
  240. package/dist/mindmap-definition-VGOIOE7T.js +39 -39
  241. package/dist/mindmap-definition-VGOIOE7T2.js +786 -0
  242. package/dist/mipsasm.js +6 -0
  243. package/dist/mojo.js +6 -0
  244. package/dist/monokai.js +4 -0
  245. package/dist/moonbit.js +6 -0
  246. package/dist/move.js +6 -0
  247. package/dist/narrat.js +6 -0
  248. package/dist/nextflow.js +6 -0
  249. package/dist/nginx.js +8 -0
  250. package/dist/night-owl.js +4 -0
  251. package/dist/nim.js +20 -0
  252. package/dist/nix.js +9 -0
  253. package/dist/nord.js +4 -0
  254. package/dist/nushell.js +6 -0
  255. package/dist/objective-c.js +6 -0
  256. package/dist/objective-cpp.js +6 -0
  257. package/dist/ocaml.js +6 -0
  258. package/dist/one-dark-pro.js +4 -0
  259. package/dist/one-light.js +4 -0
  260. package/dist/openscad.js +6 -0
  261. package/dist/pascal.js +6 -0
  262. package/dist/perl.js +16 -0
  263. package/dist/php.js +18 -0
  264. package/dist/pie.js +45 -0
  265. package/dist/pieDiagram-ADFJNKIX.js +68 -108
  266. package/dist/pieDiagram-ADFJNKIX2.js +123 -0
  267. package/dist/pkl.js +6 -0
  268. package/dist/plastic.js +4 -0
  269. package/dist/plsql.js +6 -0
  270. package/dist/po.js +6 -0
  271. package/dist/poimandres.js +4 -0
  272. package/dist/polar.js +6 -0
  273. package/dist/postcss.js +6 -0
  274. package/dist/powerquery.js +6 -0
  275. package/dist/powershell.js +6 -0
  276. package/dist/prisma.js +6 -0
  277. package/dist/prolog.js +6 -0
  278. package/dist/proto.js +6 -0
  279. package/dist/pug.js +12 -0
  280. package/dist/puppet.js +6 -0
  281. package/dist/purescript.js +6 -0
  282. package/dist/python.js +6 -0
  283. package/dist/qml.js +8 -0
  284. package/dist/qmldir.js +6 -0
  285. package/dist/qss.js +6 -0
  286. package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
  287. package/dist/quadrantDiagram-AYHSOK5B2.js +1025 -0
  288. package/dist/r.js +6 -0
  289. package/dist/racket.js +6 -0
  290. package/dist/raku.js +6 -0
  291. package/dist/razor.js +10 -0
  292. package/dist/red.js +4 -0
  293. package/dist/redux-toolkit.modern.js +563 -555
  294. package/dist/reg.js +6 -0
  295. package/dist/regexp.js +6 -0
  296. package/dist/rel.js +6 -0
  297. package/dist/requirementDiagram-UZGBJVZJ.js +14 -14
  298. package/dist/requirementDiagram-UZGBJVZJ2.js +852 -0
  299. package/dist/riscv.js +6 -0
  300. package/dist/rose-pine-dawn.js +4 -0
  301. package/dist/rose-pine-moon.js +4 -0
  302. package/dist/rose-pine.js +4 -0
  303. package/dist/rosmsg.js +6 -0
  304. package/dist/rst.js +22 -0
  305. package/dist/ruby.js +30 -0
  306. package/dist/rust.js +6 -0
  307. package/dist/sankeyDiagram-TZEHDZUN.js +229 -622
  308. package/dist/sankeyDiagram-TZEHDZUN2.js +418 -0
  309. package/dist/sankeyLinkHorizontal.js +403 -0
  310. package/dist/sas.js +8 -0
  311. package/dist/sass.js +6 -0
  312. package/dist/scala.js +6 -0
  313. package/dist/scheme.js +6 -0
  314. package/dist/scss.js +8 -0
  315. package/dist/sdbl.js +6 -0
  316. package/dist/sequenceDiagram-WL72ISMW.js +28 -28
  317. package/dist/sequenceDiagram-WL72ISMW2.js +2523 -0
  318. package/dist/shadcn/index.js +3508 -3121
  319. package/dist/shaderlab.js +8 -0
  320. package/dist/shellscript.js +6 -0
  321. package/dist/shellsession.js +8 -0
  322. package/dist/slack-dark.js +4 -0
  323. package/dist/slack-ochin.js +4 -0
  324. package/dist/smalltalk.js +6 -0
  325. package/dist/snazzy-light.js +4 -0
  326. package/dist/solarized-dark.js +4 -0
  327. package/dist/solarized-light.js +4 -0
  328. package/dist/solidity.js +6 -0
  329. package/dist/soy.js +8 -0
  330. package/dist/sparql.js +8 -0
  331. package/dist/splunk.js +6 -0
  332. package/dist/sql.js +6 -0
  333. package/dist/ssh-config.js +6 -0
  334. package/dist/stata.js +8 -0
  335. package/dist/stateDiagram-FKZM4ZOC.js +15 -15
  336. package/dist/stateDiagram-FKZM4ZOC2.js +264 -0
  337. package/dist/stateDiagram-v2-4FDKWEC32.js +17 -0
  338. package/dist/stylus.js +6 -0
  339. package/dist/svelte.js +14 -0
  340. package/dist/swift.js +6 -0
  341. package/dist/synthwave-84.js +4 -0
  342. package/dist/system-verilog.js +6 -0
  343. package/dist/systemd.js +6 -0
  344. package/dist/talonscript.js +6 -0
  345. package/dist/tasl.js +6 -0
  346. package/dist/tcl.js +6 -0
  347. package/dist/templ.js +12 -0
  348. package/dist/terraform.js +6 -0
  349. package/dist/tex.js +8 -0
  350. package/dist/time.js +900 -0
  351. package/dist/timeline-definition-IT6M3QCI.js +71 -71
  352. package/dist/timeline-definition-IT6M3QCI2.js +802 -0
  353. package/dist/tokyo-night.js +4 -0
  354. package/dist/toml.js +6 -0
  355. package/dist/ts-tags.js +41 -0
  356. package/dist/tsv.js +6 -0
  357. package/dist/tsx.js +6 -0
  358. package/dist/turtle.js +6 -0
  359. package/dist/twig.js +18 -0
  360. package/dist/{types-ByRPUpXR.d.ts → types-UHJCpYj0.d.ts} +25 -116
  361. package/dist/typescript.js +6 -0
  362. package/dist/typespec.js +6 -0
  363. package/dist/typst.js +6 -0
  364. package/dist/union.js +8 -0
  365. package/dist/v.js +6 -0
  366. package/dist/vala.js +6 -0
  367. package/dist/vb.js +6 -0
  368. package/dist/verilog.js +6 -0
  369. package/dist/vesper.js +4 -0
  370. package/dist/vhdl.js +6 -0
  371. package/dist/viml.js +6 -0
  372. package/dist/vitesse-black.js +4 -0
  373. package/dist/vitesse-dark.js +4 -0
  374. package/dist/vitesse-light.js +4 -0
  375. package/dist/vue-html.js +8 -0
  376. package/dist/vue-vine.js +18 -0
  377. package/dist/vue.js +31 -0
  378. package/dist/vyper.js +6 -0
  379. package/dist/wasm.js +7 -0
  380. package/dist/wasm2.js +6 -0
  381. package/dist/wenyan.js +6 -0
  382. package/dist/wgsl.js +6 -0
  383. package/dist/wikitext.js +6 -0
  384. package/dist/wit.js +6 -0
  385. package/dist/wolfram.js +6 -0
  386. package/dist/xml.js +8 -0
  387. package/dist/xsl.js +8 -0
  388. package/dist/xychartDiagram-PRI3JC2R.js +447 -489
  389. package/dist/xychartDiagram-PRI3JC2R2.js +1299 -0
  390. package/dist/yaml.js +6 -0
  391. package/dist/zenscript.js +6 -0
  392. package/dist/zig.js +6 -0
  393. package/dist/zipObject.js +128 -0
  394. package/package.json +1 -1
  395. package/dist/Accordion.js +0 -402
  396. package/dist/index2.css +0 -1
@@ -1,444 +1,93 @@
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,
1
+ import { bE as c, bF as n, bG as o } from "../CoachForm.js";
2
+ import { bK as p, bL as M, bP as u, bO as x, bI as A, bH as y, c1 as f, bM as j, bN as E, c3 as T, bQ as k, bR as L, c2 as I, bS as R, bT as v, bU as w, bV as B, bW as F, ci as N, cb as D, c6 as G, cj as H, cn as Q, cd as U, cl as V, c8 as q, ce as J, c7 as K, b$ as O, bX as W, b_ as X, c0 as Y, ct as Z, bY as _, c4 as $, ch as z, ca as P, cg as aa, cf as sa, c9 as ea, cs as ta, ck as ca, bZ as na, c5 as oa, cm as ra, cp as ia, cq as da, cr as la, cc as ga, co as ma, bJ as Sa } from "../CoachForm.js";
3
+ import { j as e } from "../index3.js";
4
+ import { S as r, B as i, a as d } from "../Stack.js";
5
+ const S = ({
6
+ messageId: s,
7
+ messageContent: a,
18
8
  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 }),
9
+ }) => /* @__PURE__ */ e.jsx("div", { role: "group", "aria-label": "Message share and download", children: /* @__PURE__ */ e.jsxs(r, { direction: "row", children: [
10
+ /* @__PURE__ */ e.jsx(c, { messageId: s, messageContent: a, sessionId: t }),
21
11
  /* @__PURE__ */ e.jsx(
22
- $,
12
+ n,
23
13
  {
24
- messageId: a,
25
- messageContent: s,
14
+ messageId: s,
15
+ messageContent: a,
26
16
  sessionId: t
27
17
  }
28
18
  )
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();
19
+ ] }) }), b = ({ text: s, buttonProps: a }) => {
20
+ const { sendMessage: t } = o();
273
21
  return /* @__PURE__ */ e.jsx(
274
- x,
22
+ i,
275
23
  {
276
24
  variant: "secondary",
277
- onClick: () => t({ message: a }),
25
+ onClick: () => t({ message: s }),
278
26
  color: "link",
279
- ...s,
280
- className: ne(
27
+ ...a,
28
+ className: d(
281
29
  "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
30
+ a == null ? void 0 : a.className
283
31
  ),
284
- style: { whiteSpace: "normal", ...s == null ? void 0 : s.style },
285
- children: a
32
+ style: { whiteSpace: "normal", ...a == null ? void 0 : a.style },
33
+ children: s
286
34
  },
287
- a
35
+ s
288
36
  );
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
37
  };
385
38
  export {
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
39
+ p as Artifacts,
40
+ M as CancelGenerationButton,
41
+ u as ChatFeedbackActions,
42
+ x as ChatLastMessageActions,
43
+ S as ChatMessageEndActions,
44
+ A as ChatProvider,
45
+ b as ChatTriggerLink,
46
+ y as ChatbotV2,
47
+ f as Citations,
48
+ j as CoachAI,
49
+ E as ContextPanel,
50
+ T as EntityType,
51
+ k as InteractionPrompt,
52
+ L as LoadingIndicator,
53
+ I as LoadingState,
54
+ R as MessageItem,
55
+ v as MessageList,
56
+ w as QuestionForm,
57
+ B as RegenerateButton,
58
+ F as StatusUpdates,
59
+ N as addAction,
60
+ D as addMessage,
61
+ G as agentStreamResponseSchema,
62
+ H as clearActions,
63
+ Q as clearContext,
64
+ U as clearHistory,
65
+ V as clearTodos,
66
+ q as createSession,
67
+ J as deleteMessage,
68
+ K as initialState,
69
+ O as processAgentMessageContent,
70
+ W as processAgentStream,
71
+ X as processExistingConversation,
72
+ Y as processPlaygroundSessionTurns,
73
+ Z as resetSession,
74
+ _ as sendMessageAndProcessStream,
75
+ $ as sessionStatusSchema,
76
+ z as setAbortController,
77
+ P as setCurrentSession,
78
+ aa as setError,
79
+ sa as setLoadingState,
80
+ ea as setSelectedModel,
81
+ ta as setSessions,
82
+ ca as setTodos,
83
+ na as streamResponseToAgentMessages,
84
+ oa as todoItemSchema,
85
+ ra as updateContext,
86
+ ia as updateDatamateInSession,
87
+ da as updateEntities,
88
+ la as updateEntityType,
89
+ ga as updateMessageFeedback,
90
+ ma as updateMode,
91
+ o as useAgentChat,
92
+ Sa as useChatContext
444
93
  };
@@ -0,0 +1,9 @@
1
+ import { aG as l } from "./CoachForm.js";
2
+ function m(e, c) {
3
+ var i, t, o;
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));
5
+ }
6
+ l(m, "populateCommonDb");
7
+ export {
8
+ m as p
9
+ };
@@ -0,0 +1,9 @@
1
+ import { aG as a } from "./CoachForm.js";
2
+ import { s as o } from "./redux-toolkit.modern.js";
3
+ var d = /* @__PURE__ */ a((t, e) => {
4
+ let n;
5
+ return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
6
+ }, "getDiagramElement");
7
+ export {
8
+ d as g
9
+ };
@@ -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 { _ 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";
4
+ import { _ as f, i as it, d as F, S 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, y as dt, z 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) {