@yaoshu-ai/ai-chat 1.5.28 → 1.5.30

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 (62) hide show
  1. package/dist/{RenderContent-rRWnBUph.js → RenderContent-B06XUfL8.js} +25 -17
  2. package/dist/{_arrayEach-D0fmDIxg.js → _arrayEach-CIJcQGLN.js} +1 -1
  3. package/dist/ai-chat.css +1 -1
  4. package/dist/{arc-BqfeWPUB.js → arc-DjQgz0ft.js} +1 -1
  5. package/dist/{architecture-U656AL7Q-DwBx_rrF.js → architecture-U656AL7Q-DyFOPmrJ.js} +1 -1
  6. package/dist/{architectureDiagram-VXUJARFQ-6na3k5ZY.js → architectureDiagram-VXUJARFQ-CR5xCpQU.js} +4 -4
  7. package/dist/{blockDiagram-VD42YOAC-Bw4iZVL_.js → blockDiagram-VD42YOAC-C0Qo5BxI.js} +4 -4
  8. package/dist/{c4Diagram-YG6GDRKO-DQcpqobW.js → c4Diagram-YG6GDRKO-hSH31flk.js} +2 -2
  9. package/dist/{channel-DnJu2QA5.js → channel-Da473abP.js} +1 -1
  10. package/dist/{chunk-4BX2VUAB-CCfndsnz.js → chunk-4BX2VUAB-aeW1Cwop.js} +1 -1
  11. package/dist/{chunk-55IACEB6-DGCjMZ7_.js → chunk-55IACEB6-DyVAHm-_.js} +1 -1
  12. package/dist/{chunk-B4BG7PRW-Bg5-x-yp.js → chunk-B4BG7PRW-6wdz9WYR.js} +4 -4
  13. package/dist/{chunk-DI55MBZ5-bKTbMlsH.js → chunk-DI55MBZ5-Bsiq1ZFW.js} +3 -3
  14. package/dist/{chunk-FMBD7UC4-Co-ufOLN.js → chunk-FMBD7UC4-g4uJgxXE.js} +1 -1
  15. package/dist/{chunk-QN33PNHL-DtbxWPRA.js → chunk-QN33PNHL-1pdrOJWl.js} +1 -1
  16. package/dist/{chunk-QZHKN3VN-D3vhSjG7.js → chunk-QZHKN3VN-DJmGNRmm.js} +1 -1
  17. package/dist/{chunk-TZMSLE5B-CQMYTw4m.js → chunk-TZMSLE5B-DN0OtiWs.js} +1 -1
  18. package/dist/{classDiagram-v2-WZHVMYZB-D65Q9v0c.js → classDiagram-2ON5EDUG-a1pF2TDD.js} +2 -2
  19. package/dist/{classDiagram-2ON5EDUG-D65Q9v0c.js → classDiagram-v2-WZHVMYZB-a1pF2TDD.js} +2 -2
  20. package/dist/{cose-bilkent-S5V4N54A-Dflq66rp.js → cose-bilkent-S5V4N54A-Do6qr7AK.js} +2 -2
  21. package/dist/{dagre-6UL2VRFP-B1qhvPDD.js → dagre-6UL2VRFP-DVgPLJ4o.js} +1 -1
  22. package/dist/{diagram-PSM6KHXK-B6HyMRum.js → diagram-PSM6KHXK-CCRC9_At.js} +4 -4
  23. package/dist/{diagram-QEK2KX5R-CVeLZzUm.js → diagram-QEK2KX5R-BTASp9lS.js} +3 -3
  24. package/dist/{diagram-S2PKOQOG-eqIYjbRP.js → diagram-S2PKOQOG---ZmaCQe.js} +3 -3
  25. package/dist/{erDiagram-Q2GNP2WA-CgyFonTy.js → erDiagram-Q2GNP2WA-DyaQdF_M.js} +4 -4
  26. package/dist/{flowDiagram-NV44I4VS-BlzJWpoH.js → flowDiagram-NV44I4VS-nY9YAO4v.js} +5 -5
  27. package/dist/{ganttDiagram-LVOFAZNH-BVVYrqyJ.js → ganttDiagram-LVOFAZNH-twagGrcR.js} +3 -3
  28. package/dist/{gitGraph-F6HP7TQM-COHIkmRA.js → gitGraph-F6HP7TQM-BZvAQT-D.js} +1 -1
  29. package/dist/{gitGraphDiagram-NY62KEGX-CCMPiJfp.js → gitGraphDiagram-NY62KEGX-Bh4Azyiw.js} +4 -4
  30. package/dist/{index-C8r0c1Wt.js → index-DBvjRi6y.js} +6326 -6326
  31. package/dist/index.es.js +1 -1
  32. package/dist/{index2-BXrM7brh.js → index2-CWNP_9In.js} +1 -1
  33. package/dist/{index3-CZB_pkb1.js → index3-NpVBRJvw.js} +1 -1
  34. package/dist/{index4-CqjB3kKw.js → index4-C2qn1W0t.js} +1 -1
  35. package/dist/{index5-DHEhrMjY.js → index5-BC38SBIj.js} +1 -1
  36. package/dist/{index6-DgGqnFkO.js → index6-CtXcQpug.js} +1 -1
  37. package/dist/{index7-CSkM5GZt.js → index7-lGXsNcSO.js} +1 -1
  38. package/dist/info-NVLQJR56-wTm1BXJz.js +5 -0
  39. package/dist/{infoDiagram-ER5ION4S-Dcv_vlS4.js → infoDiagram-ER5ION4S-ZkXVbTw3.js} +2 -2
  40. package/dist/{journeyDiagram-XKPGCS4Q-D9u28kXC.js → journeyDiagram-XKPGCS4Q-D10uPsoV.js} +4 -4
  41. package/dist/{kanban-definition-3W4ZIXB7-DPxz9T1Q.js → kanban-definition-3W4ZIXB7-yTN9tahB.js} +2 -2
  42. package/dist/{linear-Ri9QQGRw.js → linear-XICAfCH5.js} +1 -1
  43. package/dist/{mermaid-parser.core-D5FRLhyb.js → mermaid-parser.core-erFKhDZX.js} +9 -9
  44. package/dist/{mermaid.core-BFKaOuEa.js → mermaid.core-DXdg84uh.js} +31 -31
  45. package/dist/{mindmap-definition-VGOIOE7T-pMZR2SXz.js → mindmap-definition-VGOIOE7T-CnFF94Kb.js} +3 -3
  46. package/dist/{packet-BFZMPI3H-Clq9WP8N.js → packet-BFZMPI3H-bXoKrNpy.js} +1 -1
  47. package/dist/pie-7BOR55EZ-qopsxoDm.js +5 -0
  48. package/dist/{pieDiagram-ADFJNKIX-zhPm1q0T.js → pieDiagram-ADFJNKIX-cdYECyt9.js} +4 -4
  49. package/dist/{quadrantDiagram-AYHSOK5B-BluyOfdp.js → quadrantDiagram-AYHSOK5B-Di0ZgYPW.js} +2 -2
  50. package/dist/radar-NHE76QYJ-DFZqrLp4.js +5 -0
  51. package/dist/{requirementDiagram-UZGBJVZJ-CxCTsu7h.js → requirementDiagram-UZGBJVZJ-CBhjStBM.js} +3 -3
  52. package/dist/{sankeyDiagram-TZEHDZUN-CbwB4HRm.js → sankeyDiagram-TZEHDZUN-6ziHG__Q.js} +1 -1
  53. package/dist/{sequenceDiagram-WL72ISMW-hJku6Hc9.js → sequenceDiagram-WL72ISMW-CoqtXmSQ.js} +3 -3
  54. package/dist/{stateDiagram-FKZM4ZOC-C7K3SqHm.js → stateDiagram-FKZM4ZOC-BoQKZSuL.js} +2 -2
  55. package/dist/{stateDiagram-v2-4FDKWEC3-DOzcnrwF.js → stateDiagram-v2-4FDKWEC3-CvZJiIUp.js} +2 -2
  56. package/dist/{timeline-definition-IT6M3QCI-ChrNplRa.js → timeline-definition-IT6M3QCI-DKAwttJV.js} +2 -2
  57. package/dist/{treemap-KMMF4GRG-CT_tvwJc.js → treemap-KMMF4GRG-CmGb6RGn.js} +1 -1
  58. package/dist/{xychartDiagram-PRI3JC2R-DcNs7O5D.js → xychartDiagram-PRI3JC2R-Cxvf_8Xt.js} +2 -2
  59. package/package.json +1 -1
  60. package/dist/info-NVLQJR56-CjlHcLa7.js +0 -5
  61. package/dist/pie-7BOR55EZ-BLpsH6wJ.js +0 -5
  62. package/dist/radar-NHE76QYJ-DUhVdi33.js +0 -5
@@ -1,5 +1,5 @@
1
1
  import { createVNode as xe, render as Ss, isVNode as pd, getCurrentInstance as At, ref as z, unref as ne, computed as P, watch as se, toRefs as md, nextTick as Ue, isRef as gd, defineComponent as ce, resolveComponent as Yt, resolveDirective as yc, createBlock as Le, openBlock as L, withCtx as ze, withDirectives as Lt, createElementBlock as U, normalizeClass as ie, renderSlot as ut, createElementVNode as q, Fragment as Ne, renderList as Ve, createTextVNode as Vi, toDisplayString as Ae, onBeforeMount as bc, onMounted as en, onUpdated as vd, onUnmounted as rr, inject as Ge, h as ge, reactive as _r, onBeforeUnmount as vn, watchEffect as no, normalizeStyle as it, createCommentVNode as Re, vShow as pn, provide as gi, Comment as yd, Teleport as Gi, Transition as er, withModifiers as bd, shallowRef as kl, defineAsyncComponent as Qt, useAttrs as kc, markRaw as Es, resolveDynamicComponent as tt, mergeProps as tr, withMemo as Pr, isMemoSame as Yi, readonly as kd, createApp as wd } from "vue";
2
- import { i as Lr, h as Rr, a as On, b as Mr, c as Jt, d as Zt, e as jt, E as Zi, t as xd, f as fr, j as wc, k as ol, u as yn, _ as Qi, l as Cd, C as Sd, m as Ed, n as Ad, o as yo, p as xc, q as Nr, r as Cc, s as jo, v as $r, w as ho, x as _d, y as ll, z as As, A as _s, B as Td, D as Rd, F as Sc, G as Md, H as Id, I as Fd, J as Dd, K as Ld, M as xr, L as Ec, N as Nd, O as tn, P as Od, Q as Bd, R as An, S as wl, T as xl, U as bo, V as Ac, W as _c, X as Pd, Y as Cl, Z as Ts } from "./index-C8r0c1Wt.js";
2
+ import { i as Lr, h as Rr, a as On, b as Mr, c as Jt, d as Zt, e as jt, E as Zi, t as xd, f as fr, j as wc, k as ol, u as yn, _ as Qi, l as Cd, C as Sd, m as Ed, n as Ad, o as yo, p as xc, q as Nr, r as Cc, s as jo, v as $r, w as ho, x as _d, y as ll, z as As, A as _s, B as Td, D as Rd, F as Sc, G as Md, H as Id, I as Fd, J as Dd, K as Ld, M as xr, L as Ec, N as Nd, O as tn, P as Od, Q as Bd, R as An, S as wl, T as xl, U as bo, V as Ac, W as _c, X as Pd, Y as Cl, Z as Ts } from "./index-DBvjRi6y.js";
3
3
  import { isNull as ko, merge as Tc, flatMap as Rc, castArray as Mc, get as Rs, debounce as il } from "lodash-es";
4
4
  const Hd = (e) => Lr ? window.requestAnimationFrame(e) : setTimeout(e, 16), Bl = function(e) {
5
5
  var t;
@@ -4516,7 +4516,9 @@ const Rh = {
4516
4516
  }
4517
4517
  }), ep = /* @__PURE__ */ tn($h, [["__scopeId", "data-v-c719cb66"]]), Xr = `
4518
4518
  .card {
4519
- margin: 0 !important;
4519
+ margin-top: 0 !important;
4520
+ margin-left: 0 !important;
4521
+ margin-right: 0 !important;
4520
4522
  padding: 20px !important;
4521
4523
  min-width: auto !important;
4522
4524
  width: 100% !important;
@@ -4526,6 +4528,12 @@ const Rh = {
4526
4528
  border-radius:16px !important;
4527
4529
  box-sizing: border-box !important;
4528
4530
  }
4531
+ .card ~ .card {
4532
+ margin-top: 16px !important;
4533
+ }
4534
+ .card:last-of-type {
4535
+ margin-bottom: 0 !important;
4536
+ }
4529
4537
  :host {
4530
4538
  border-radius:16px !important;
4531
4539
  height: auto !important;
@@ -4590,7 +4598,7 @@ const Rh = {
4590
4598
  class: "rich-text-shadow-host mt20px mb20px"
4591
4599
  }, null, 512));
4592
4600
  }
4593
- }), np = /* @__PURE__ */ tn(tp, [["__scopeId", "data-v-37577fd5"]]), rp = { class: "preview-container" }, op = { class: "preview-body" }, lp = {
4601
+ }), np = /* @__PURE__ */ tn(tp, [["__scopeId", "data-v-2bcbcf67"]]), rp = { class: "preview-container" }, op = { class: "preview-body" }, lp = {
4594
4602
  key: 0,
4595
4603
  class: "preview-stage"
4596
4604
  }, ip = {
@@ -4978,7 +4986,7 @@ const xp = { class: "execution-step-header" }, Cp = {
4978
4986
  }, Ae(a.value), 3)
4979
4987
  ], 2)) : Re("", !0);
4980
4988
  }
4981
- }), Dp = /* @__PURE__ */ tn(Fp, [["__scopeId", "data-v-1cfdd5bc"]]);
4989
+ }), Dp = /* @__PURE__ */ tn(Fp, [["__scopeId", "data-v-95e72c83"]]);
4982
4990
  var Lp = Object.create, rs = Object.defineProperty, Np = Object.getOwnPropertyDescriptor, $c = Object.getOwnPropertyNames, Op = Object.getPrototypeOf, Bp = Object.prototype.hasOwnProperty, eu = (e, t) => function() {
4983
4991
  return t || (0, e[$c(e)[0]])((t = { exports: {} }).exports, t), t.exports;
4984
4992
  }, tu = (e) => {
@@ -15589,7 +15597,7 @@ const kn = Qt(() => Ie(null, null, function* () {
15589
15597
  return ge(et, En(Me({}, n), { node: En(Me({}, n.node), { content: (o = n.node.raw) != null ? o : `$${(r = n.node.content) != null ? r : ""}$` }) }));
15590
15598
  };
15591
15599
  try {
15592
- if (yield bs()) return (yield import("./index2-BXrM7brh.js")).default;
15600
+ if (yield bs()) return (yield import("./index2-CWNP_9In.js")).default;
15593
15601
  } catch (n) {
15594
15602
  console.warn('[markstream-vue] Optional peer dependencies for MathInlineNode are missing. Falling back to text rendering. To enable full math rendering features, please install "katex".', n);
15595
15603
  }
@@ -15599,7 +15607,7 @@ const kn = Qt(() => Ie(null, null, function* () {
15599
15607
  };
15600
15608
  })), od = Qt(() => Ie(null, null, function* () {
15601
15609
  try {
15602
- if (yield bs()) return (yield import("./index3-CZB_pkb1.js")).default;
15610
+ if (yield bs()) return (yield import("./index3-NpVBRJvw.js")).default;
15603
15611
  } catch (e) {
15604
15612
  console.warn('[markstream-vue] Optional peer dependencies for MathBlockNode are missing. Falling back to text rendering. To enable full math rendering features, please install "katex".', e);
15605
15613
  }
@@ -16352,25 +16360,25 @@ const wk = ["data-custom-id"], xk = ["data-node-index", "data-node-type"], Dt =
16352
16360
  });
16353
16361
  const Ur = Qt(() => Ie(null, null, function* () {
16354
16362
  try {
16355
- return (yield import("./index4-CqjB3kKw.js")).default;
16363
+ return (yield import("./index4-C2qn1W0t.js")).default;
16356
16364
  } catch (R) {
16357
16365
  return console.warn('[markstream-vue] Optional peer dependencies for CodeBlockNode are missing. Falling back to inline-code rendering (no Monaco). To enable full code block features, please install "stream-monaco".', R), Qn;
16358
16366
  }
16359
16367
  })), Co = Qt(() => Ie(null, null, function* () {
16360
16368
  try {
16361
- return (yield import("./index5-DHEhrMjY.js")).default;
16369
+ return (yield import("./index5-BC38SBIj.js")).default;
16362
16370
  } catch (R) {
16363
16371
  return console.warn('[markstream-vue] Optional peer dependencies for MermaidBlockNode are missing. Falling back to preformatted code rendering. To enable Mermaid rendering, please install "mermaid".', R), Qn;
16364
16372
  }
16365
16373
  })), Kr = Qt(() => Ie(null, null, function* () {
16366
16374
  try {
16367
- return (yield import("./index6-DgGqnFkO.js")).default;
16375
+ return (yield import("./index6-CtXcQpug.js")).default;
16368
16376
  } catch (R) {
16369
16377
  return console.warn('[markstream-vue] Optional peer dependencies for InfographicBlockNode are missing. Falling back to preformatted code rendering. To enable Infographic rendering, please install "@antv/infographic".', R), Qn;
16370
16378
  }
16371
16379
  })), So = Qt(() => Ie(null, null, function* () {
16372
16380
  try {
16373
- return (yield import("./index7-CSkM5GZt.js")).default;
16381
+ return (yield import("./index7-lGXsNcSO.js")).default;
16374
16382
  } catch (R) {
16375
16383
  return console.warn('[markstream-vue] Optional peer dependencies for D2BlockNode are missing. Falling back to preformatted code rendering. To enable D2 rendering, please install "@terrastruct/d2".', R), Qn;
16376
16384
  }
@@ -16827,7 +16835,7 @@ const Lk = { js: "JavaScript", javascript: "JavaScript", ts: "TypeScript", jsx:
16827
16835
  mi.install = (e) => {
16828
16836
  e.component(mi.__name, mi);
16829
16837
  };
16830
- const ad = () => import("./mermaid.core-BFKaOuEa.js").then((e) => e.bp);
16838
+ const ad = () => import("./mermaid.core-DXdg84uh.js").then((e) => e.bp);
16831
16839
  let Yn = null, cd = ad;
16832
16840
  function $k() {
16833
16841
  return typeof cd == "function";
@@ -17028,12 +17036,12 @@ function xw(e, t, n = 1400) {
17028
17036
  }
17029
17037
  });
17030
17038
  }
17031
- Qt(() => import("./index4-CqjB3kKw.js"));
17032
- Qt(() => import("./index3-CZB_pkb1.js"));
17033
- Qt(() => import("./index2-BXrM7brh.js"));
17034
- Qt(() => import("./index5-DHEhrMjY.js"));
17035
- Qt(() => import("./index6-DgGqnFkO.js"));
17036
- Qt(() => import("./index7-CSkM5GZt.js"));
17039
+ Qt(() => import("./index4-C2qn1W0t.js"));
17040
+ Qt(() => import("./index3-NpVBRJvw.js"));
17041
+ Qt(() => import("./index2-CWNP_9In.js"));
17042
+ Qt(() => import("./index5-BC38SBIj.js"));
17043
+ Qt(() => import("./index6-CtXcQpug.js"));
17044
+ Qt(() => import("./index7-lGXsNcSO.js"));
17037
17045
  const aw = { key: 0 }, cw = ["innerHTML"], vc = "chat-markdown-renderer", uw = /* @__PURE__ */ ce({
17038
17046
  __name: "RenderContent",
17039
17047
  props: {
@@ -1,4 +1,4 @@
1
- import { ax as a, ay as f, az as o, aA as h } from "./mermaid.core-BFKaOuEa.js";
1
+ import { ax as a, ay as f, az as o, aA as h } from "./mermaid.core-DXdg84uh.js";
2
2
  function g(e, r) {
3
3
  for (var n = -1, t = r.length, s = e.length; ++n < t; )
4
4
  e[s + n] = r[n];