@yaoshu-ai/ai-chat 1.5.87 → 1.5.88

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 se, inject as Xe, computed as L, ref as G, watch as oe, onMounted as ln, onUnmounted as Jr, openBlock as M, createElementBlock as j, Fragment as _e, normalizeStyle as Nt, createCommentVNode as ve, createBlock as xe, Teleport as Xr, createElementVNode as H, normalizeClass as he, unref as $, createVNode as ue, Transition as on, withCtx as Se, withDirectives as kn, vShow as bn, toDisplayString as be, nextTick as Te, h as yn, getCurrentScope as Jc, onScopeDispose as Xc, getCurrentInstance as wa, shallowRef as er, toValue as bt, reactive as Lr, renderList as Be, createTextVNode as $c, createStaticVNode as xa, onBeforeUnmount as Pt, withModifiers as eu, renderSlot as Nn, defineAsyncComponent as Lt, useAttrs as Ca, provide as qi, markRaw as Nl, resolveDynamicComponent as Ue, mergeProps as Bn, withMemo as gr, isMemoSame as sl, readonly as tu, createApp as nu } from "vue";
2
- import { u as ru, M as sr, E as ou, a as vr, r as Ea, c as al, _ as Ge, b as iu, d as lu, s as nn, f as Vo, T as Go, n as $r, g as _a, e as cl, h as Sa, i as su, j as Ol, z as Bl, A as Pl, t as Yo, k as zl } from "./index-BeStrXDe.js";
2
+ import { u as ru, M as sr, E as ou, a as vr, r as Ea, c as al, _ as Ge, b as iu, d as lu, s as nn, f as Vo, T as Go, n as $r, g as _a, e as cl, h as Sa, i as su, j as Ol, z as Bl, A as Pl, t as Yo, k as zl } from "./index-D1d5t3z_.js";
3
3
  const Lo = Math.min, Qn = Math.max, No = Math.round, uo = Math.floor, rn = (e) => ({
4
4
  x: e,
5
5
  y: e
@@ -13283,7 +13283,7 @@ const Vt = Lt(() => we(null, null, function* () {
13283
13283
  return yn(We, tn(ke({}, n), { node: tn(ke({}, n.node), { content: (o = n.node.raw) != null ? o : `$${(r = n.node.content) != null ? r : ""}$` }) }));
13284
13284
  };
13285
13285
  try {
13286
- if (yield Rl()) return (yield import("./index2-Bbvc7X2f.js")).default;
13286
+ if (yield Rl()) return (yield import("./index2-tjUGCfad.js")).default;
13287
13287
  } catch (n) {
13288
13288
  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);
13289
13289
  }
@@ -13293,7 +13293,7 @@ const Vt = Lt(() => we(null, null, function* () {
13293
13293
  };
13294
13294
  })), jc = Lt(() => we(null, null, function* () {
13295
13295
  try {
13296
- if (yield Rl()) return (yield import("./index3-DjMUWdRD.js")).default;
13296
+ if (yield Rl()) return (yield import("./index3-BmcQMF-O.js")).default;
13297
13297
  } catch (e) {
13298
13298
  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);
13299
13299
  }
@@ -14046,25 +14046,25 @@ const gy = ["data-custom-id"], vy = ["data-node-index", "data-node-type"], wt =
14046
14046
  });
14047
14047
  const _r = Lt(() => we(null, null, function* () {
14048
14048
  try {
14049
- return (yield import("./index4-BIhlYSfW.js")).default;
14049
+ return (yield import("./index4-DGJ2chwS.js")).default;
14050
14050
  } catch (T) {
14051
14051
  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".', T), Dn;
14052
14052
  }
14053
14053
  })), no = Lt(() => we(null, null, function* () {
14054
14054
  try {
14055
- return (yield import("./index5-BnHLwLDj.js")).default;
14055
+ return (yield import("./index5-D01Fh6fV.js")).default;
14056
14056
  } catch (T) {
14057
14057
  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".', T), Dn;
14058
14058
  }
14059
14059
  })), Sr = Lt(() => we(null, null, function* () {
14060
14060
  try {
14061
- return (yield import("./index6-CG0KZuAP.js")).default;
14061
+ return (yield import("./index6-DhYwyisa.js")).default;
14062
14062
  } catch (T) {
14063
14063
  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".', T), Dn;
14064
14064
  }
14065
14065
  })), ro = Lt(() => we(null, null, function* () {
14066
14066
  try {
14067
- return (yield import("./index7-CDLnuwK8.js")).default;
14067
+ return (yield import("./index7-BpbT3NPt.js")).default;
14068
14068
  } catch (T) {
14069
14069
  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".', T), Dn;
14070
14070
  }
@@ -14722,12 +14722,12 @@ function gk(e, t, n = 1400) {
14722
14722
  }
14723
14723
  });
14724
14724
  }
14725
- Lt(() => import("./index4-BIhlYSfW.js"));
14726
- Lt(() => import("./index3-DjMUWdRD.js"));
14727
- Lt(() => import("./index2-Bbvc7X2f.js"));
14728
- Lt(() => import("./index5-BnHLwLDj.js"));
14729
- Lt(() => import("./index6-CG0KZuAP.js"));
14730
- Lt(() => import("./index7-CDLnuwK8.js"));
14725
+ Lt(() => import("./index4-DGJ2chwS.js"));
14726
+ Lt(() => import("./index3-BmcQMF-O.js"));
14727
+ Lt(() => import("./index2-tjUGCfad.js"));
14728
+ Lt(() => import("./index5-D01Fh6fV.js"));
14729
+ Lt(() => import("./index6-DhYwyisa.js"));
14730
+ Lt(() => import("./index7-BpbT3NPt.js"));
14731
14731
  const rk = { key: 0 }, ok = ["innerHTML"], ba = "chat-markdown-renderer", ik = /* @__PURE__ */ se({
14732
14732
  __name: "RenderContent",
14733
14733
  props: {