@yaoshu-ai/ai-chat 1.5.78 → 1.5.79

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as le, inject as dt, computed as F, ref as Y, watch as oe, onMounted as bn, onUnmounted as Qr, openBlock as M, createElementBlock as H, Fragment as _e, normalizeStyle as jt, createCommentVNode as we, createBlock as Ee, Teleport as Uo, createElementVNode as P, normalizeClass as pe, unref as ee, createVNode as me, Transition as vn, withCtx as Fe, withDirectives as yn, vShow as kn, toDisplayString as be, nextTick as Ie, h as gn, getCurrentScope as Vc, onScopeDispose as Gc, getCurrentInstance as ma, shallowRef as er, toValue as bt, reactive as Fr, renderList as Be, createTextVNode as Yc, createStaticVNode as ga, onBeforeUnmount as rn, withModifiers as Zc, defineAsyncComponent as Lt, useAttrs as va, provide as Ml, markRaw as Fl, resolveDynamicComponent as Ue, mergeProps as On, withMemo as gr, renderSlot as Zn, isMemoSame as ll, readonly as Qc, createApp as Jc } from "vue";
2
- import { u as Xc, M as sr, E as $c, a as Ko, r as ya, c as ka, _ as $e, b as eu, d as tu, s as tn, f as Vo, T as Go, n as Jr, g as ba, e as wa, h as xa, i as nu, z as ru, A as ou, t as Yo, j as Ll } from "./index-DBPD4v4M.js";
2
+ import { u as Xc, M as sr, E as $c, a as Ko, r as ya, c as ka, _ as $e, b as eu, d as tu, s as tn, f as Vo, T as Go, n as Jr, g as ba, e as wa, h as xa, i as nu, z as ru, A as ou, t as Yo, j as Ll } from "./index-DLDydejv.js";
3
3
  const Mo = Math.min, Qn = Math.max, Fo = Math.round, ao = Math.floor, nn = (e) => ({
4
4
  x: e,
5
5
  y: e
@@ -13011,7 +13011,7 @@ const Kt = Lt(() => ke(null, null, function* () {
13011
13011
  return gn(qe, en(ye({}, n), { node: en(ye({}, n.node), { content: (o = n.node.raw) != null ? o : `$${(r = n.node.content) != null ? r : ""}$` }) }));
13012
13012
  };
13013
13013
  try {
13014
- if (yield Al()) return (yield import("./index2-DGsr9jhF.js")).default;
13014
+ if (yield Al()) return (yield import("./index2-BIuBOFN2.js")).default;
13015
13015
  } catch (n) {
13016
13016
  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);
13017
13017
  }
@@ -13021,7 +13021,7 @@ const Kt = Lt(() => ke(null, null, function* () {
13021
13021
  };
13022
13022
  })), Oc = Lt(() => ke(null, null, function* () {
13023
13023
  try {
13024
- if (yield Al()) return (yield import("./index3-DQC_dPhb.js")).default;
13024
+ if (yield Al()) return (yield import("./index3-zK-favkw.js")).default;
13025
13025
  } catch (e) {
13026
13026
  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);
13027
13027
  }
@@ -13774,25 +13774,25 @@ const iy = ["data-custom-id"], ly = ["data-node-index", "data-node-type"], wt =
13774
13774
  });
13775
13775
  const Er = Lt(() => ke(null, null, function* () {
13776
13776
  try {
13777
- return (yield import("./index4-BTDgzW3I.js")).default;
13777
+ return (yield import("./index4-WSRuc6wJ.js")).default;
13778
13778
  } catch (A) {
13779
13779
  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), Mn;
13780
13780
  }
13781
13781
  })), eo = Lt(() => ke(null, null, function* () {
13782
13782
  try {
13783
- return (yield import("./index5-C6RyLzt1.js")).default;
13783
+ return (yield import("./index5-D-GgDcGC.js")).default;
13784
13784
  } catch (A) {
13785
13785
  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), Mn;
13786
13786
  }
13787
13787
  })), _r = Lt(() => ke(null, null, function* () {
13788
13788
  try {
13789
- return (yield import("./index6-3UW9kl31.js")).default;
13789
+ return (yield import("./index6-BEiPLyRK.js")).default;
13790
13790
  } catch (A) {
13791
13791
  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), Mn;
13792
13792
  }
13793
13793
  })), to = Lt(() => ke(null, null, function* () {
13794
13794
  try {
13795
- return (yield import("./index7-CaSYdivW.js")).default;
13795
+ return (yield import("./index7-CoPWQO6d.js")).default;
13796
13796
  } catch (A) {
13797
13797
  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), Mn;
13798
13798
  }
@@ -14450,12 +14450,12 @@ function ik(e, t, n = 1400) {
14450
14450
  }
14451
14451
  });
14452
14452
  }
14453
- Lt(() => import("./index4-BTDgzW3I.js"));
14454
- Lt(() => import("./index3-DQC_dPhb.js"));
14455
- Lt(() => import("./index2-DGsr9jhF.js"));
14456
- Lt(() => import("./index5-C6RyLzt1.js"));
14457
- Lt(() => import("./index6-3UW9kl31.js"));
14458
- Lt(() => import("./index7-CaSYdivW.js"));
14453
+ Lt(() => import("./index4-WSRuc6wJ.js"));
14454
+ Lt(() => import("./index3-zK-favkw.js"));
14455
+ Lt(() => import("./index2-BIuBOFN2.js"));
14456
+ Lt(() => import("./index5-D-GgDcGC.js"));
14457
+ Lt(() => import("./index6-BEiPLyRK.js"));
14458
+ Lt(() => import("./index7-CoPWQO6d.js"));
14459
14459
  const Vy = { key: 0 }, Gy = ["innerHTML"], pa = "chat-markdown-renderer", Yy = /* @__PURE__ */ le({
14460
14460
  __name: "RenderContent",
14461
14461
  props: {