@yaoshu-ai/ai-chat 1.5.14 → 1.5.17

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-BTZaEheS.js → RenderContent-DAlPSYer.js} +40 -18
  2. package/dist/{_arrayEach-X2gkyiLq.js → _arrayEach-0bn15mKC.js} +1 -1
  3. package/dist/ai-chat.css +1 -1
  4. package/dist/{arc-hXQ1gYEG.js → arc-ChVDXEty.js} +1 -1
  5. package/dist/{architecture-U656AL7Q-cL2lxKYo.js → architecture-U656AL7Q-zRH6HEfG.js} +1 -1
  6. package/dist/{architectureDiagram-VXUJARFQ-Cwt8FoTs.js → architectureDiagram-VXUJARFQ-D6oksJzl.js} +4 -4
  7. package/dist/{blockDiagram-VD42YOAC-mH22xm1V.js → blockDiagram-VD42YOAC-DaE_vk2d.js} +4 -4
  8. package/dist/{c4Diagram-YG6GDRKO-DCTODcC9.js → c4Diagram-YG6GDRKO-DXSdCR4G.js} +2 -2
  9. package/dist/{channel-BHxARqE7.js → channel-CLbQdCpY.js} +1 -1
  10. package/dist/{chunk-4BX2VUAB-BaFz4YX5.js → chunk-4BX2VUAB-DhnGuTNx.js} +1 -1
  11. package/dist/{chunk-55IACEB6-8VY-FZiW.js → chunk-55IACEB6-v_Xg_GRA.js} +1 -1
  12. package/dist/{chunk-B4BG7PRW-C5TQTXzn.js → chunk-B4BG7PRW-B4CmvDHb.js} +4 -4
  13. package/dist/{chunk-DI55MBZ5-BAvWqK1w.js → chunk-DI55MBZ5-VXvOrOSF.js} +3 -3
  14. package/dist/{chunk-FMBD7UC4-C_zzJ-wq.js → chunk-FMBD7UC4-BaPOqRZC.js} +1 -1
  15. package/dist/{chunk-QN33PNHL-CujrXK0Q.js → chunk-QN33PNHL-XmWrqBTE.js} +1 -1
  16. package/dist/{chunk-QZHKN3VN-B1ClMsfJ.js → chunk-QZHKN3VN-BhBOVj1U.js} +1 -1
  17. package/dist/{chunk-TZMSLE5B-q-i8z5X_.js → chunk-TZMSLE5B-CD3kEOZ9.js} +1 -1
  18. package/dist/{classDiagram-v2-WZHVMYZB-D2wtQ3Mk.js → classDiagram-2ON5EDUG-Dkdzxliu.js} +2 -2
  19. package/dist/{classDiagram-2ON5EDUG-D2wtQ3Mk.js → classDiagram-v2-WZHVMYZB-Dkdzxliu.js} +2 -2
  20. package/dist/{cose-bilkent-S5V4N54A-D-4zfa5V.js → cose-bilkent-S5V4N54A-CSvglnLq.js} +2 -2
  21. package/dist/{dagre-6UL2VRFP-Cx8dsVtD.js → dagre-6UL2VRFP-CjuJkujQ.js} +1 -1
  22. package/dist/{diagram-PSM6KHXK-DQ4Fhnsm.js → diagram-PSM6KHXK-Ua-F2Vt_.js} +4 -4
  23. package/dist/{diagram-QEK2KX5R-CDAgUuou.js → diagram-QEK2KX5R-B8jnHiLO.js} +3 -3
  24. package/dist/{diagram-S2PKOQOG-CUGmRuLT.js → diagram-S2PKOQOG-QqFQ26sO.js} +3 -3
  25. package/dist/{erDiagram-Q2GNP2WA-tO1xqHnF.js → erDiagram-Q2GNP2WA-QLLxQrfL.js} +4 -4
  26. package/dist/{flowDiagram-NV44I4VS-nN9lR9jh.js → flowDiagram-NV44I4VS-BZtVlDCl.js} +5 -5
  27. package/dist/{ganttDiagram-LVOFAZNH-bSMFYzJ2.js → ganttDiagram-LVOFAZNH-CVMJb7wo.js} +3 -3
  28. package/dist/{gitGraph-F6HP7TQM-SeqP6rCA.js → gitGraph-F6HP7TQM-D5tlcSPI.js} +1 -1
  29. package/dist/{gitGraphDiagram-NY62KEGX-CEZGKvQu.js → gitGraphDiagram-NY62KEGX-C7IzITqh.js} +4 -4
  30. package/dist/{index-B2QoNv4Z.js → index-Bn1u0CuU.js} +16810 -16239
  31. package/dist/index.es.js +1 -1
  32. package/dist/{index2-D9H-5jW7.js → index2-CmypfPpJ.js} +1 -1
  33. package/dist/{index3-B66ST81L.js → index3-CjX_SrQc.js} +1 -1
  34. package/dist/{index4-azsE39FQ.js → index4-B4sGYvNI.js} +1 -1
  35. package/dist/{index5-iqHiWKOJ.js → index5-xAjdj7gz.js} +1 -1
  36. package/dist/{index6-BqtPRFjF.js → index6-DjB9BzCt.js} +1 -1
  37. package/dist/{index7-DqG6DREr.js → index7-BmPkI3IG.js} +1 -1
  38. package/dist/info-NVLQJR56-C2yVNbKP.js +5 -0
  39. package/dist/{infoDiagram-ER5ION4S-Br2xKVz4.js → infoDiagram-ER5ION4S-DV-e--eS.js} +2 -2
  40. package/dist/{journeyDiagram-XKPGCS4Q-DxLZPb8o.js → journeyDiagram-XKPGCS4Q-Dd2PWiba.js} +4 -4
  41. package/dist/{kanban-definition-3W4ZIXB7-D93n2b5i.js → kanban-definition-3W4ZIXB7-Bz8usbvc.js} +2 -2
  42. package/dist/{linear-0bLZWHo4.js → linear-JT8JpYye.js} +1 -1
  43. package/dist/{mermaid-parser.core-Bo5WP9k3.js → mermaid-parser.core-Dl80bh2d.js} +9 -9
  44. package/dist/{mermaid.core-t0YKJ3R7.js → mermaid.core-DSRRVmiI.js} +31 -31
  45. package/dist/{mindmap-definition-VGOIOE7T-D4XiF0XZ.js → mindmap-definition-VGOIOE7T-CHQwJM8X.js} +3 -3
  46. package/dist/{packet-BFZMPI3H-BF0SN8O3.js → packet-BFZMPI3H-mdv6_9t8.js} +1 -1
  47. package/dist/pie-7BOR55EZ-V8VubQcl.js +5 -0
  48. package/dist/{pieDiagram-ADFJNKIX-CfOT-Y_F.js → pieDiagram-ADFJNKIX-CQtm91T6.js} +4 -4
  49. package/dist/{quadrantDiagram-AYHSOK5B-hL6gHzdH.js → quadrantDiagram-AYHSOK5B-ClQ6Bgmy.js} +2 -2
  50. package/dist/radar-NHE76QYJ-DlUKiCj1.js +5 -0
  51. package/dist/{requirementDiagram-UZGBJVZJ-B-wD7ndL.js → requirementDiagram-UZGBJVZJ-C2ZjXJvP.js} +3 -3
  52. package/dist/{sankeyDiagram-TZEHDZUN-Wq60v3nx.js → sankeyDiagram-TZEHDZUN-BGpgiGzP.js} +1 -1
  53. package/dist/{sequenceDiagram-WL72ISMW-SCJReob1.js → sequenceDiagram-WL72ISMW-CCHwTPvf.js} +3 -3
  54. package/dist/{stateDiagram-FKZM4ZOC-BjzcoBoS.js → stateDiagram-FKZM4ZOC-CP5v9w9U.js} +2 -2
  55. package/dist/{stateDiagram-v2-4FDKWEC3-Bk0DjeLK.js → stateDiagram-v2-4FDKWEC3-ClIFEAPs.js} +2 -2
  56. package/dist/{timeline-definition-IT6M3QCI-DMAE0L1b.js → timeline-definition-IT6M3QCI-D1l0Xqcs.js} +2 -2
  57. package/dist/{treemap-KMMF4GRG-B7a7Shog.js → treemap-KMMF4GRG-DDBRj3_D.js} +1 -1
  58. package/dist/{xychartDiagram-PRI3JC2R-swzik0H2.js → xychartDiagram-PRI3JC2R-Dqcylyt_.js} +2 -2
  59. package/package.json +1 -6
  60. package/dist/info-NVLQJR56-B8W8lxsY.js +0 -5
  61. package/dist/pie-7BOR55EZ-FligzW0E.js +0 -5
  62. package/dist/radar-NHE76QYJ-Cf3x4GJq.js +0 -5
@@ -1,5 +1,5 @@
1
1
  import { createVNode as vt, render as Ca, isVNode as mh, getCurrentInstance as Ee, ref as W, unref as nt, computed as j, watch as at, toRefs as yh, nextTick as Ht, isRef as bh, defineComponent as lt, resolveComponent as Ye, resolveDirective as vc, createBlock as Dt, openBlock as I, withCtx as Wt, withDirectives as Ie, createElementBlock as $, normalizeClass as ct, renderSlot as he, createElementVNode as q, Fragment as It, renderList as Vt, createTextVNode as $s, toDisplayString as Et, onBeforeMount as kc, onMounted as en, onUpdated as xh, onUnmounted as ir, inject as Gt, h as gt, reactive as Er, onBeforeUnmount as An, watchEffect as ni, normalizeStyle as se, createCommentVNode as Rt, vShow as mn, provide as gs, Comment as vh, Teleport as Vs, Transition as er, shallowRef as ko, defineAsyncComponent as Xe, useAttrs as _c, markRaw as Sa, resolveDynamicComponent as ee, mergeProps as nr, withMemo as Nr, isMemoSame as Gs, readonly as kh, createApp as _h, withModifiers as wh } from "vue";
2
- import { i as Dr, h as Mr, a as Pn, b as Br, c as Je, d as Ze, e as qe, E as Ks, t as Ch, f as pr, j as wc, k as io, u as xn, _ as Ys, l as Sh, C as Th, m as Eh, n as Ah, o as bi, p as Cc, q as Ir, r as Sc, s as Ui, v as Jr, w as fi, x as Mh, y as oo, z as Ta, A as Ea, B as Bh, D as Lh, F as Tc, G as Rh, H as Fh, I as Dh, J as Ih, K as Oh, M as Bi, L as Ec, N as Ph, O as nn, P as Nh, Q as zh, T as _o, R as wo, S as Zs, U as Ac, V as Wh, W as Xs } from "./index-B2QoNv4Z.js";
2
+ import { i as Dr, h as Mr, a as Pn, b as Br, c as Je, d as Ze, e as qe, E as Ks, t as Ch, f as pr, j as wc, k as io, u as xn, _ as Ys, l as Sh, C as Th, m as Eh, n as Ah, o as bi, p as Cc, q as Ir, r as Sc, s as Ui, v as Jr, w as fi, x as Mh, y as oo, z as Ta, A as Ea, B as Bh, D as Lh, F as Tc, G as Rh, H as Fh, I as Dh, J as Ih, K as Oh, M as Bi, L as Ec, N as Ph, O as nn, P as Nh, Q as zh, T as _o, R as wo, S as Zs, U as Ac, V as Wh, W as Xs } from "./index-Bn1u0CuU.js";
3
3
  import { isNull as xi, merge as Mc, flatMap as Bc, castArray as Lc, get as Aa, debounce as so } from "lodash-es";
4
4
  const jh = (t) => Dr ? window.requestAnimationFrame(t) : setTimeout(t, 16), Po = function(t) {
5
5
  var e;
@@ -15037,7 +15037,7 @@ const kn = Xe(() => Bt(null, null, function* () {
15037
15037
  return gt(te, Tn(Mt({}, n), { node: Tn(Mt({}, n.node), { content: (i = n.node.raw) != null ? i : `$${(r = n.node.content) != null ? r : ""}$` }) }));
15038
15038
  };
15039
15039
  try {
15040
- if (yield xa()) return (yield import("./index2-D9H-5jW7.js")).default;
15040
+ if (yield xa()) return (yield import("./index2-CmypfPpJ.js")).default;
15041
15041
  } catch (n) {
15042
15042
  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);
15043
15043
  }
@@ -15047,7 +15047,7 @@ const kn = Xe(() => Bt(null, null, function* () {
15047
15047
  };
15048
15048
  })), oh = Xe(() => Bt(null, null, function* () {
15049
15049
  try {
15050
- if (yield xa()) return (yield import("./index3-B66ST81L.js")).default;
15050
+ if (yield xa()) return (yield import("./index3-CjX_SrQc.js")).default;
15051
15051
  } catch (t) {
15052
15052
  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".', t);
15053
15053
  }
@@ -15800,25 +15800,25 @@ const Nx = ["data-custom-id"], zx = ["data-node-index", "data-node-type"], De =
15800
15800
  });
15801
15801
  const Hr = Xe(() => Bt(null, null, function* () {
15802
15802
  try {
15803
- return (yield import("./index4-azsE39FQ.js")).default;
15803
+ return (yield import("./index4-B4sGYvNI.js")).default;
15804
15804
  } catch (A) {
15805
15805
  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".', A), Xn;
15806
15806
  }
15807
15807
  })), _i = Xe(() => Bt(null, null, function* () {
15808
15808
  try {
15809
- return (yield import("./index5-iqHiWKOJ.js")).default;
15809
+ return (yield import("./index5-xAjdj7gz.js")).default;
15810
15810
  } catch (A) {
15811
15811
  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".', A), Xn;
15812
15812
  }
15813
15813
  })), $r = Xe(() => Bt(null, null, function* () {
15814
15814
  try {
15815
- return (yield import("./index6-BqtPRFjF.js")).default;
15815
+ return (yield import("./index6-DjB9BzCt.js")).default;
15816
15816
  } catch (A) {
15817
15817
  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".', A), Xn;
15818
15818
  }
15819
15819
  })), wi = Xe(() => Bt(null, null, function* () {
15820
15820
  try {
15821
- return (yield import("./index7-DqG6DREr.js")).default;
15821
+ return (yield import("./index7-BmPkI3IG.js")).default;
15822
15822
  } catch (A) {
15823
15823
  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".', A), Xn;
15824
15824
  }
@@ -16275,7 +16275,7 @@ const Xx = { js: "JavaScript", javascript: "JavaScript", ts: "TypeScript", jsx:
16275
16275
  di.install = (t) => {
16276
16276
  t.component(di.__name, di);
16277
16277
  };
16278
- const ch = () => import("./mermaid.core-t0YKJ3R7.js").then((t) => t.bp);
16278
+ const ch = () => import("./mermaid.core-DSRRVmiI.js").then((t) => t.bp);
16279
16279
  let Yn = null, uh = ch;
16280
16280
  function mv() {
16281
16281
  return typeof uh == "function";
@@ -16544,12 +16544,12 @@ function Ak() {
16544
16544
  pn = null;
16545
16545
  }
16546
16546
  }
16547
- Xe(() => import("./index4-azsE39FQ.js"));
16548
- Xe(() => import("./index3-B66ST81L.js"));
16549
- Xe(() => import("./index2-D9H-5jW7.js"));
16550
- Xe(() => import("./index5-iqHiWKOJ.js"));
16551
- Xe(() => import("./index6-BqtPRFjF.js"));
16552
- Xe(() => import("./index7-DqG6DREr.js"));
16547
+ Xe(() => import("./index4-B4sGYvNI.js"));
16548
+ Xe(() => import("./index3-CjX_SrQc.js"));
16549
+ Xe(() => import("./index2-CmypfPpJ.js"));
16550
+ Xe(() => import("./index5-xAjdj7gz.js"));
16551
+ Xe(() => import("./index6-DjB9BzCt.js"));
16552
+ Xe(() => import("./index7-BmPkI3IG.js"));
16553
16553
  const Ev = { class: "prompt-container" }, Av = { class: "prompt-code-block" }, Mv = {
16554
16554
  key: 0,
16555
16555
  class: "prompt-item"
@@ -16629,8 +16629,30 @@ const Ev = { class: "prompt-container" }, Av = { class: "prompt-code-block" }, M
16629
16629
  ]));
16630
16630
  }
16631
16631
  }), Iv = /* @__PURE__ */ nn(Dv, [["__scopeId", "data-v-c719cb66"]]), Qr = `
16632
- .card { margin: 0 !important; }
16633
- :host { border-radius:16px; overflow: hidden; }
16632
+ .card {
16633
+ margin: 0 !important;
16634
+ padding: 20px !important;
16635
+ min-width: auto !important;
16636
+ width: 100% !important;
16637
+ height: auto !important;
16638
+ min-height: auto !important;
16639
+ max-height: auto !important;
16640
+ border-radius:16px !important;
16641
+ box-sizing: border-box !important;
16642
+ }
16643
+ :host {
16644
+ border-radius:16px !important;
16645
+ height: auto !important;
16646
+ min-height: auto !important;
16647
+ max-height: auto !important;
16648
+ width: 100% !important;
16649
+ min-width: auto !important;
16650
+ max-width: auto !important;
16651
+ padding: 0px !important;
16652
+ margin: 0 !important;
16653
+ position: relative !important;
16654
+ overflow: hidden !important;
16655
+ }
16634
16656
  `, Ov = /* @__PURE__ */ lt({
16635
16657
  __name: "RichTextRender",
16636
16658
  props: {
@@ -16676,7 +16698,7 @@ const Ev = { class: "prompt-container" }, Av = { class: "prompt-code-block" }, M
16676
16698
  class: "rich-text-shadow-host mt20px mb20px"
16677
16699
  }, null, 512));
16678
16700
  }
16679
- }), Pv = /* @__PURE__ */ nn(Ov, [["__scopeId", "data-v-0e0668ac"]]), Nv = { class: "preview-container" }, zv = { class: "preview-body" }, Wv = {
16701
+ }), Pv = /* @__PURE__ */ nn(Ov, [["__scopeId", "data-v-457c01fd"]]), Nv = { class: "preview-container" }, zv = { class: "preview-body" }, Wv = {
16680
16702
  key: 0,
16681
16703
  class: "preview-stage"
16682
16704
  }, jv = {
@@ -32478,7 +32500,7 @@ const fk = { key: 0 }, pk = ["innerHTML"], xc = "chat-markdown-renderer", gk = /
32478
32500
  }, null, 8, pk))
32479
32501
  ], 512));
32480
32502
  }
32481
- }), mk = /* @__PURE__ */ nn(gk, [["__scopeId", "data-v-bd549df5"]]), Mk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32503
+ }), mk = /* @__PURE__ */ nn(gk, [["__scopeId", "data-v-2766309b"]]), Mk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32482
32504
  __proto__: null,
32483
32505
  default: mk
32484
32506
  }, Symbol.toStringTag, { value: "Module" }));
@@ -1,4 +1,4 @@
1
- import { ax as a, ay as f, az as o, aA as h } from "./mermaid.core-t0YKJ3R7.js";
1
+ import { ax as a, ay as f, az as o, aA as h } from "./mermaid.core-DSRRVmiI.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];