@yaoshu-ai/ai-chat 1.5.63 → 1.5.64

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 { isVNode as Tc, Comment as _c, Fragment as De, createVNode as pe, render as Ds, getCurrentInstance as st, ref as P, unref as $, computed as L, watch as re, toRefs as Dd, nextTick as ze, isRef as Fd, inject as We, defineComponent as ae, resolveComponent as Gt, openBlock as O, createBlock as Re, withCtx as Oe, createElementVNode as W, normalizeClass as le, renderSlot as kt, createElementBlock as q, renderList as Ve, createTextVNode as xl, toDisplayString as xe, onBeforeMount as Rc, onMounted as pt, onUpdated as Ld, onUnmounted as Nn, h as me, reactive as Mr, onBeforeUnmount as tn, watchEffect as Ci, provide as Si, resolveDirective as Nd, normalizeStyle as it, withDirectives as Qt, createCommentVNode as Ee, vShow as hn, Teleport as Cl, Transition as Ln, getCurrentScope as Od, onScopeDispose as Bd, toValue as Jn, shallowRef as Pr, createStaticVNode as Mc, withModifiers as Pd, defineAsyncComponent as Zt, useAttrs as Ic, markRaw as Fs, resolveDynamicComponent as tt, mergeProps as er, withMemo as Hr, isMemoSame as es, readonly as Hd, createApp as zd } from "vue";
2
- import { h as mr, i as Xt, a as Dr, b as $t, c as Yt, d as jt, E as ts, t as Wd, e as fr, g as Dc, f as il, u as gn, j as Sl, k as po, l as jd, m as qd, n as Ud, o as kr, p as Fc, q as Kd, r as mo, s as to, v as Vd, w as sr, _ as Lc, x as qo, y as go, z as Gd, A as sl, B as jl, C as Yd, D as Ls, F as Ns, G as Zd, H as Qd, I as ns, J as Nc, K as Xd, L as Jd, M as $d, N as ef, O as tf, P as Er, Q as Oc, R as Bc, S as Tt, T as En, U as El, V as Al, W as ko, X as Pc, Y as Hc, Z as zc, $ as Tl, a0 as Os } from "./index-BGWjPIlM.js";
2
+ import { h as mr, i as Xt, a as Dr, b as $t, c as Yt, d as jt, E as ts, t as Wd, e as fr, g as Dc, f as il, u as gn, j as Sl, k as po, l as jd, m as qd, n as Ud, o as kr, p as Fc, q as Kd, r as mo, s as to, v as Vd, w as sr, _ as Lc, x as qo, y as go, z as Gd, A as sl, B as jl, C as Yd, D as Ls, F as Ns, G as Zd, H as Qd, I as ns, J as Nc, K as Xd, L as Jd, M as $d, N as ef, O as tf, P as Er, Q as Oc, R as Bc, S as Tt, T as En, U as El, V as Al, W as ko, X as Pc, Y as Hc, Z as zc, $ as Tl, a0 as Os } from "./index-1g4KKnrB.js";
3
3
  import { isNull as _l, merge as Wc, flatMap as jc, castArray as qc, get as Bs, debounce as al } from "lodash-es";
4
4
  var Ps = !1, hr, Ei, Ai, Uo, Ko, Uc, Vo, Ti, _i, Ri, Kc, Mi, Ii, Vc, Gc;
5
5
  function bt() {
@@ -15687,7 +15687,7 @@ const yn = Zt(() => Ie(null, null, function* () {
15687
15687
  return me(et, Sn(_e({}, n), { node: Sn(_e({}, n.node), { content: (o = n.node.raw) != null ? o : `$${(r = n.node.content) != null ? r : ""}$` }) }));
15688
15688
  };
15689
15689
  try {
15690
- if (yield Ts()) return (yield import("./index2-DQQ5AuUB.js")).default;
15690
+ if (yield Ts()) return (yield import("./index2-Bd5qFJ88.js")).default;
15691
15691
  } catch (n) {
15692
15692
  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);
15693
15693
  }
@@ -15697,7 +15697,7 @@ const yn = Zt(() => Ie(null, null, function* () {
15697
15697
  };
15698
15698
  })), xd = Zt(() => Ie(null, null, function* () {
15699
15699
  try {
15700
- if (yield Ts()) return (yield import("./index3-VBG5pGq5.js")).default;
15700
+ if (yield Ts()) return (yield import("./index3-BDBh8LUA.js")).default;
15701
15701
  } catch (e) {
15702
15702
  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);
15703
15703
  }
@@ -16450,25 +16450,25 @@ const hk = ["data-custom-id"], pk = ["data-node-index", "data-node-type"], Lt =
16450
16450
  });
16451
16451
  const Vr = Zt(() => Ie(null, null, function* () {
16452
16452
  try {
16453
- return (yield import("./index4-D_oDKX7v.js")).default;
16453
+ return (yield import("./index4-CyaudZet.js")).default;
16454
16454
  } catch (R) {
16455
16455
  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), Zn;
16456
16456
  }
16457
16457
  })), So = Zt(() => Ie(null, null, function* () {
16458
16458
  try {
16459
- return (yield import("./index5-hPmuLNca.js")).default;
16459
+ return (yield import("./index5-fq2ccGMz.js")).default;
16460
16460
  } catch (R) {
16461
16461
  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), Zn;
16462
16462
  }
16463
16463
  })), Gr = Zt(() => Ie(null, null, function* () {
16464
16464
  try {
16465
- return (yield import("./index6-BXai7u63.js")).default;
16465
+ return (yield import("./index6-CclrKFP7.js")).default;
16466
16466
  } catch (R) {
16467
16467
  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), Zn;
16468
16468
  }
16469
16469
  })), Eo = Zt(() => Ie(null, null, function* () {
16470
16470
  try {
16471
- return (yield import("./index7-D0rqFnDX.js")).default;
16471
+ return (yield import("./index7-ySbPFCm0.js")).default;
16472
16472
  } catch (R) {
16473
16473
  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), Zn;
16474
16474
  }
@@ -17126,12 +17126,12 @@ function px(e, t, n = 1400) {
17126
17126
  }
17127
17127
  });
17128
17128
  }
17129
- Zt(() => import("./index4-D_oDKX7v.js"));
17130
- Zt(() => import("./index3-VBG5pGq5.js"));
17131
- Zt(() => import("./index2-DQQ5AuUB.js"));
17132
- Zt(() => import("./index5-hPmuLNca.js"));
17133
- Zt(() => import("./index6-BXai7u63.js"));
17134
- Zt(() => import("./index7-D0rqFnDX.js"));
17129
+ Zt(() => import("./index4-CyaudZet.js"));
17130
+ Zt(() => import("./index3-BDBh8LUA.js"));
17131
+ Zt(() => import("./index2-Bd5qFJ88.js"));
17132
+ Zt(() => import("./index5-fq2ccGMz.js"));
17133
+ Zt(() => import("./index6-CclrKFP7.js"));
17134
+ Zt(() => import("./index7-ySbPFCm0.js"));
17135
17135
  const ex = { key: 0 }, tx = ["innerHTML"], Ac = "chat-markdown-renderer", nx = /* @__PURE__ */ ae({
17136
17136
  __name: "RenderContent",
17137
17137
  props: {
@@ -26914,8 +26914,8 @@ const uB = /* @__PURE__ */ Sy(SH), CH = () => {
26914
26914
  let { token: e, tenantCo: t, language: n } = sA();
26915
26915
  return e = localStorage.getItem("accessToken") || e, t = localStorage.getItem("currentProjectCode") || t, {
26916
26916
  "Accept-Language": n,
26917
- Authorization: `Bd ${e}`,
26918
- token: `Bd ${e}`,
26917
+ Authorization: `yaoshu ${e}`,
26918
+ token: `yaoshu ${e}`,
26919
26919
  tenantCo: t
26920
26920
  };
26921
26921
  }, { baseURL: EH } = sA();
@@ -61927,7 +61927,7 @@ ${k.error?.message || "请求失败"}
61927
61927
  Ib((Te) => ({
61928
61928
  v05cdcad3: F(K)
61929
61929
  }));
61930
- const o = J8(() => import("./RenderContent-CosAYPNy.js").then((Te) => Te.f)), r = e, {
61930
+ const o = J8(() => import("./RenderContent-ChLNUcOj.js").then((Te) => Te.f)), r = e, {
61931
61931
  $chat: i
61932
61932
  } = ws();
61933
61933
  function a(Te) {
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a1 as i, a2 as t, a3 as e, a4 as A, a5 as n, a6 as o, a7 as l, a8 as r, a9 as h, aa as p } from "./index-BGWjPIlM.js";
1
+ import { a1 as i, a2 as t, a3 as e, a4 as A, a5 as n, a6 as o, a7 as l, a8 as r, a9 as h, aa as p } from "./index-1g4KKnrB.js";
2
2
  export {
3
3
  i as AIBigScreenList,
4
4
  t as AiAnalysisReport,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, ref as _, watch as b, onMounted as L, onBeforeUnmount as I, openBlock as T, createElementBlock as M, withDirectives as O, createElementVNode as p, vShow as $, createBlock as B, Transition as N, withCtx as S, renderSlot as A, createCommentVNode as D } from "vue";
2
- import { l as K, m as V, C as H, w as P, L as U, v as W } from "./RenderContent-CosAYPNy.js";
2
+ import { l as K, m as V, C as H, w as P, L as U, v as W } from "./RenderContent-ChLNUcOj.js";
3
3
  var k = (c, n, o) => new Promise((t, r) => {
4
4
  var v = (e) => {
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as R, ref as p, watch as g, onMounted as b, onBeforeUnmount as M, openBlock as _, createElementBlock as x, createVNode as B, Transition as I, withCtx as O, createElementVNode as C, createCommentVNode as L, normalizeClass as N } from "vue";
2
- import { l as V, m as A, C as K, w as D, L as H, v as P } from "./RenderContent-CosAYPNy.js";
2
+ import { l as V, m as A, C as K, w as D, L as H, v as P } from "./RenderContent-ChLNUcOj.js";
3
3
  var T = (s, e, r) => new Promise((l, u) => {
4
4
  var v = (o) => {
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as so, getCurrentInstance as zo, computed as C, ref as M, watch as V, onBeforeUnmount as To, onUnmounted as co, openBlock as _, createBlock as be, unref as g, createElementBlock as H, normalizeClass as ne, normalizeStyle as $e, renderSlot as Ne, createElementVNode as u, toDisplayString as Ye, Fragment as Ho, createCommentVNode as J, withDirectives as Ze, vShow as eo, onMounted as Do, Teleport as Lo, withModifiers as jo, nextTick as ke } from "vue";
2
- import { l as vo, u as mo, g as ze, y as Vo, m as Yo, x as oo, a as Wo, k as Io, b as to, c as no, r as lo, d as qo } from "./RenderContent-CosAYPNy.js";
2
+ import { l as vo, u as mo, g as ze, y as Vo, m as Yo, x as oo, a as Wo, k as Io, b as to, c as no, r as lo, d as qo } from "./RenderContent-ChLNUcOj.js";
3
3
  import { e as ae } from "./safeRaf-I3a3-dyJ.js";
4
4
  var Ro = Object.defineProperty, Ao = Object.defineProperties, Uo = Object.getOwnPropertyDescriptors, io = Object.getOwnPropertySymbols, Xo = Object.prototype.hasOwnProperty, Go = Object.prototype.propertyIsEnumerable, ao = (p, m, k) => m in p ? Ro(p, m, { enumerable: !0, configurable: !0, writable: !0, value: k }) : p[m] = k, Te = (p, m) => {
5
5
  for (var k in m || (m = {})) Xo.call(m, k) && ao(p, k, m[k]);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Lt, ref as d, computed as Q, watch as V, onBeforeUnmount as At, onMounted as Ft, onUnmounted as Rt, openBlock as g, createElementBlock as w, normalizeClass as y, renderSlot as Je, createElementVNode as n, unref as h, toDisplayString as xe, createCommentVNode as ee, normalizeStyle as xt, withDirectives as Ht, mergeProps as kt, toHandlers as bt, createBlock as Nt, Teleport as _t, createVNode as Xt, Transition as Yt, withCtx as Vt, withModifiers as Zt, vShow as qt, nextTick as A } from "vue";
2
- import { l as It, u as Ut, m as Wt, r as Mt, b as Gt, W as Kt, R as Jt, Y as Qt } from "./RenderContent-CosAYPNy.js";
2
+ import { l as It, u as Ut, m as Wt, r as Mt, b as Gt, W as Kt, R as Jt, Y as Qt } from "./RenderContent-ChLNUcOj.js";
3
3
  import { e as el } from "./safeRaf-I3a3-dyJ.js";
4
4
  var tl = Object.defineProperty, ll = Object.defineProperties, rl = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, nl = Object.prototype.hasOwnProperty, ol = Object.prototype.propertyIsEnumerable, Ct = (L, j, M) => j in L ? tl(L, j, { enumerable: !0, configurable: !0, writable: !0, value: M }) : L[j] = M, Qe = (L, j) => {
5
5
  for (var M in j || (j = {})) nl.call(j, M) && Ct(L, M, j[M]);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c2, ref as m, computed as O, watch as Y, nextTick as j, onMounted as d2, onBeforeUnmount as h2, openBlock as s, createElementBlock as c, normalizeClass as a, renderSlot as q, createElementVNode as o, unref as i, toDisplayString as z, createCommentVNode as k, normalizeStyle as A, withDirectives as v2, vShow as g2, createBlock as w2, Teleport as m2, createVNode as p2, Transition as x2, withCtx as y2, withModifiers as C2 } from "vue";
2
- import { l as f2, u as k2, r as l2, b as b2 } from "./RenderContent-CosAYPNy.js";
2
+ import { l as f2, u as k2, r as l2, b as b2 } from "./RenderContent-ChLNUcOj.js";
3
3
  var R = ($, J, r) => new Promise((l, b) => {
4
4
  var v = (y) => {
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Le, ref as h, computed as _, watch as K, nextTick as me, onMounted as Pe, onBeforeUnmount as Re, openBlock as i, createElementBlock as u, normalizeClass as X, createElementVNode as a, unref as c, toDisplayString as M, createCommentVNode as D, normalizeStyle as Q, withDirectives as _e, vShow as Ue } from "vue";
2
- import { l as ze, u as Ve, r as fe, b as Xe, e as Ye } from "./RenderContent-CosAYPNy.js";
2
+ import { l as ze, u as Ve, r as fe, b as Xe, e as Ye } from "./RenderContent-ChLNUcOj.js";
3
3
  var $e = Object.defineProperty, ge = Object.getOwnPropertySymbols, qe = Object.prototype.hasOwnProperty, Ge = Object.prototype.propertyIsEnumerable, ye = (v, t, r) => t in v ? $e(v, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : v[t] = r, W = (v, t) => {
4
4
  for (var r in t || (t = {})) qe.call(t, r) && ye(v, r, t[r]);
5
5
  if (ge) for (var r of ge(t)) Ge.call(t, r) && ye(v, r, t[r]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaoshu-ai/ai-chat",
3
- "version": "1.5.63",
3
+ "version": "1.5.64",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.18.2",