@yaoshu-ai/ai-chat 1.5.83 → 1.5.85

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 M, ref as G, watch as oe, onMounted as bn, onUnmounted as Jr, openBlock as R, createElementBlock as z, Fragment as Se, normalizeStyle as Nt, createCommentVNode as ve, createBlock as xe, Teleport as Xr, createElementVNode as P, normalizeClass as he, unref as $, createVNode as ue, Transition as on, withCtx as _e, withDirectives as yn, vShow as kn, toDisplayString as be, nextTick as Te, h as vn, getCurrentScope as Zc, onScopeDispose as Qc, getCurrentInstance as ba, shallowRef as er, toValue as bt, reactive as Lr, renderList as Be, createTextVNode as Jc, createStaticVNode as wa, onBeforeUnmount as Kt, withModifiers as Xc, renderSlot as Nn, defineAsyncComponent as Lt, useAttrs as xa, provide as Ll, markRaw as Nl, resolveDynamicComponent as Ue, mergeProps as Bn, withMemo as gr, isMemoSame as ll, readonly as $c, createApp as eu } from "vue";
2
- import { u as tu, M as sr, E as nu, a as vr, r as Ca, c as sl, _ as Ge, b as ru, d as ou, s as nn, f as Vo, T as Go, n as $r, g as Ea, e as al, h as _a, i as Ol, z as Bl, A as Pl, t as Yo, j as zl } from "./index-BwbIbzMa.js";
2
+ import { u as tu, M as sr, E as nu, a as vr, r as Ca, c as sl, _ as Ge, b as ru, d as ou, s as nn, f as Vo, T as Go, n as $r, g as Ea, e as al, h as _a, i as Ol, z as Bl, A as Pl, t as Yo, j as zl } from "./index--jXwb-yB.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
@@ -13206,7 +13206,7 @@ const Vt = Lt(() => we(null, null, function* () {
13206
13206
  return vn(We, tn(ke({}, n), { node: tn(ke({}, n.node), { content: (o = n.node.raw) != null ? o : `$${(r = n.node.content) != null ? r : ""}$` }) }));
13207
13207
  };
13208
13208
  try {
13209
- if (yield Il()) return (yield import("./index2-DsPmpruL.js")).default;
13209
+ if (yield Il()) return (yield import("./index2-Da0EBLLE.js")).default;
13210
13210
  } catch (n) {
13211
13211
  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);
13212
13212
  }
@@ -13216,7 +13216,7 @@ const Vt = Lt(() => we(null, null, function* () {
13216
13216
  };
13217
13217
  })), zc = Lt(() => we(null, null, function* () {
13218
13218
  try {
13219
- if (yield Il()) return (yield import("./index3-OQtPvruS.js")).default;
13219
+ if (yield Il()) return (yield import("./index3-CPGhYOFE.js")).default;
13220
13220
  } catch (e) {
13221
13221
  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);
13222
13222
  }
@@ -13969,25 +13969,25 @@ const uy = ["data-custom-id"], fy = ["data-node-index", "data-node-type"], wt =
13969
13969
  });
13970
13970
  const _r = Lt(() => we(null, null, function* () {
13971
13971
  try {
13972
- return (yield import("./index4-IUE0cgAv.js")).default;
13972
+ return (yield import("./index4-B_yu-F73.js")).default;
13973
13973
  } catch (A) {
13974
13974
  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), Rn;
13975
13975
  }
13976
13976
  })), no = Lt(() => we(null, null, function* () {
13977
13977
  try {
13978
- return (yield import("./index5-Cx-iUZ3r.js")).default;
13978
+ return (yield import("./index5-BkXfw3Sf.js")).default;
13979
13979
  } catch (A) {
13980
13980
  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), Rn;
13981
13981
  }
13982
13982
  })), Sr = Lt(() => we(null, null, function* () {
13983
13983
  try {
13984
- return (yield import("./index6-Y3CfBql_.js")).default;
13984
+ return (yield import("./index6-BxQ9kxAb.js")).default;
13985
13985
  } catch (A) {
13986
13986
  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), Rn;
13987
13987
  }
13988
13988
  })), ro = Lt(() => we(null, null, function* () {
13989
13989
  try {
13990
- return (yield import("./index7-Dgo6DOdU.js")).default;
13990
+ return (yield import("./index7-Q9Njpea4.js")).default;
13991
13991
  } catch (A) {
13992
13992
  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), Rn;
13993
13993
  }
@@ -14645,12 +14645,12 @@ function uk(e, t, n = 1400) {
14645
14645
  }
14646
14646
  });
14647
14647
  }
14648
- Lt(() => import("./index4-IUE0cgAv.js"));
14649
- Lt(() => import("./index3-OQtPvruS.js"));
14650
- Lt(() => import("./index2-DsPmpruL.js"));
14651
- Lt(() => import("./index5-Cx-iUZ3r.js"));
14652
- Lt(() => import("./index6-Y3CfBql_.js"));
14653
- Lt(() => import("./index7-Dgo6DOdU.js"));
14648
+ Lt(() => import("./index4-B_yu-F73.js"));
14649
+ Lt(() => import("./index3-CPGhYOFE.js"));
14650
+ Lt(() => import("./index2-Da0EBLLE.js"));
14651
+ Lt(() => import("./index5-BkXfw3Sf.js"));
14652
+ Lt(() => import("./index6-BxQ9kxAb.js"));
14653
+ Lt(() => import("./index7-Q9Njpea4.js"));
14654
14654
  const Jy = { key: 0 }, Xy = ["innerHTML"], ka = "chat-markdown-renderer", $y = /* @__PURE__ */ le({
14655
14655
  __name: "RenderContent",
14656
14656
  props: {