@yaoshu-ai/ai-chat 1.5.56 → 1.5.58
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.
- package/dist/{RenderContent-4jE7NHAV.js → RenderContent-W85DWSZh.js} +13 -13
- package/dist/ai-chat.css +1 -1
- package/dist/{index-BpE-Yf1e.js → index-argET_QG.js} +22247 -22137
- package/dist/index.es.js +1 -1
- package/dist/{index2-C5hGUN3a.js → index2-BQzuS6bq.js} +1 -1
- package/dist/{index3-Qb9mlklY.js → index3-BzKTScEH.js} +1 -1
- package/dist/{index4-C6wZJuY7.js → index4-DWTJ2UXU.js} +1 -1
- package/dist/{index5-CX4sniVj.js → index5-fGpl0u73.js} +1 -1
- package/dist/{index6-CLK6aGgg.js → index6-CoKBZbJs.js} +1 -1
- package/dist/{index7-BkfZ5p5n.js → index7-DG0jFFS4.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isVNode as kc, Comment as xc, Fragment as Ie, createVNode as me, render as As, getCurrentInstance as Et, ref as P, unref as ee, computed as O, watch as oe, toRefs as kd, nextTick as ze, isRef as xd, inject as Ve, defineComponent as ae, resolveComponent as Gt, openBlock as N, createBlock as Fe, withCtx as Oe, createElementVNode as W, normalizeClass as le, renderSlot as bt, createElementBlock as q, renderList as Ke, createTextVNode as wl, toDisplayString as Ce, onBeforeMount as Cc, onMounted as jt, onUpdated as Cd, onUnmounted as er, h as pe, reactive as Rr, onBeforeUnmount as tn, watchEffect as wi, provide as ki, resolveDirective as Sd, normalizeStyle as it, withDirectives as Qt, createCommentVNode as xe, vShow as hn, Teleport as kl, Transition as Ln, withModifiers as Ed, createStaticVNode as Ad, shallowRef as xl, defineAsyncComponent as Zt, useAttrs as Sc, markRaw as Ts, resolveDynamicComponent as tt, mergeProps as Jn, withMemo as Br, isMemoSame as Qi, readonly as Td, createApp as _d } from "vue";
|
|
2
|
-
import { h as pr, i as Xt, a as Ir, b as $t, c as Yt, d as zt, E as Xi, t as Rd, e as dr, g as Ec, f as ol, u as gn, j as Cl, k as fo, l as Md, m as Id, n as Dd, o as wr, p as Ac, q as Fd, r as ho, s as $r, v as Ld, w as ir, _ as Tc, x as Wo, y as po, z as Nd, A as ll, B as Wl, C as Od, D as _s, F as Rs, G as Bd, H as Pd, I as Ji, J as _c, K as Hd, L as zd, M as Wd, N as jd, O as qd, P as Sr, Q as Rc, R as Mc, S as qt, T as Ud, U as Kd, V as En, W as Sl, X as El, Y as bo, Z as Ic, $ as Dc, a0 as Fc, a1 as Al, a2 as Ms } from "./index-
|
|
2
|
+
import { h as pr, i as Xt, a as Ir, b as $t, c as Yt, d as zt, E as Xi, t as Rd, e as dr, g as Ec, f as ol, u as gn, j as Cl, k as fo, l as Md, m as Id, n as Dd, o as wr, p as Ac, q as Fd, r as ho, s as $r, v as Ld, w as ir, _ as Tc, x as Wo, y as po, z as Nd, A as ll, B as Wl, C as Od, D as _s, F as Rs, G as Bd, H as Pd, I as Ji, J as _c, K as Hd, L as zd, M as Wd, N as jd, O as qd, P as Sr, Q as Rc, R as Mc, S as qt, T as Ud, U as Kd, V as En, W as Sl, X as El, Y as bo, Z as Ic, $ as Dc, a0 as Fc, a1 as Al, a2 as Ms } from "./index-argET_QG.js";
|
|
3
3
|
import { isNull as Tl, merge as Lc, flatMap as Nc, castArray as Oc, get as Is, debounce as il } from "lodash-es";
|
|
4
4
|
var Ds = !1, fr, xi, Ci, jo, qo, Bc, Uo, Si, Ei, Ai, Pc, Ti, _i, Hc, zc;
|
|
5
5
|
function vt() {
|
|
@@ -15498,7 +15498,7 @@ const yn = Zt(() => Me(null, null, function* () {
|
|
|
15498
15498
|
return pe(et, Sn(_e({}, n), { node: Sn(_e({}, n.node), { content: (o = n.node.raw) != null ? o : `$${(r = n.node.content) != null ? r : ""}$` }) }));
|
|
15499
15499
|
};
|
|
15500
15500
|
try {
|
|
15501
|
-
if (yield ks()) return (yield import("./index2-
|
|
15501
|
+
if (yield ks()) return (yield import("./index2-BQzuS6bq.js")).default;
|
|
15502
15502
|
} catch (n) {
|
|
15503
15503
|
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);
|
|
15504
15504
|
}
|
|
@@ -15508,7 +15508,7 @@ const yn = Zt(() => Me(null, null, function* () {
|
|
|
15508
15508
|
};
|
|
15509
15509
|
})), dd = Zt(() => Me(null, null, function* () {
|
|
15510
15510
|
try {
|
|
15511
|
-
if (yield ks()) return (yield import("./index3-
|
|
15511
|
+
if (yield ks()) return (yield import("./index3-BzKTScEH.js")).default;
|
|
15512
15512
|
} catch (e) {
|
|
15513
15513
|
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);
|
|
15514
15514
|
}
|
|
@@ -16261,25 +16261,25 @@ const zw = ["data-custom-id"], Ww = ["data-node-index", "data-node-type"], Dt =
|
|
|
16261
16261
|
});
|
|
16262
16262
|
const Ur = Zt(() => Me(null, null, function* () {
|
|
16263
16263
|
try {
|
|
16264
|
-
return (yield import("./index4-
|
|
16264
|
+
return (yield import("./index4-DWTJ2UXU.js")).default;
|
|
16265
16265
|
} catch (R) {
|
|
16266
16266
|
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), Yn;
|
|
16267
16267
|
}
|
|
16268
16268
|
})), xo = Zt(() => Me(null, null, function* () {
|
|
16269
16269
|
try {
|
|
16270
|
-
return (yield import("./index5-
|
|
16270
|
+
return (yield import("./index5-fGpl0u73.js")).default;
|
|
16271
16271
|
} catch (R) {
|
|
16272
16272
|
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), Yn;
|
|
16273
16273
|
}
|
|
16274
16274
|
})), Kr = Zt(() => Me(null, null, function* () {
|
|
16275
16275
|
try {
|
|
16276
|
-
return (yield import("./index6-
|
|
16276
|
+
return (yield import("./index6-CoKBZbJs.js")).default;
|
|
16277
16277
|
} catch (R) {
|
|
16278
16278
|
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), Yn;
|
|
16279
16279
|
}
|
|
16280
16280
|
})), Co = Zt(() => Me(null, null, function* () {
|
|
16281
16281
|
try {
|
|
16282
|
-
return (yield import("./index7-
|
|
16282
|
+
return (yield import("./index7-DG0jFFS4.js")).default;
|
|
16283
16283
|
} catch (R) {
|
|
16284
16284
|
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), Yn;
|
|
16285
16285
|
}
|
|
@@ -16937,12 +16937,12 @@ function Wk(e, t, n = 1400) {
|
|
|
16937
16937
|
}
|
|
16938
16938
|
});
|
|
16939
16939
|
}
|
|
16940
|
-
Zt(() => import("./index4-
|
|
16941
|
-
Zt(() => import("./index3-
|
|
16942
|
-
Zt(() => import("./index2-
|
|
16943
|
-
Zt(() => import("./index5-
|
|
16944
|
-
Zt(() => import("./index6-
|
|
16945
|
-
Zt(() => import("./index7-
|
|
16940
|
+
Zt(() => import("./index4-DWTJ2UXU.js"));
|
|
16941
|
+
Zt(() => import("./index3-BzKTScEH.js"));
|
|
16942
|
+
Zt(() => import("./index2-BQzuS6bq.js"));
|
|
16943
|
+
Zt(() => import("./index5-fGpl0u73.js"));
|
|
16944
|
+
Zt(() => import("./index6-CoKBZbJs.js"));
|
|
16945
|
+
Zt(() => import("./index7-DG0jFFS4.js"));
|
|
16946
16946
|
const Tk = { key: 0 }, _k = ["innerHTML"], wc = "chat-markdown-renderer", Rk = /* @__PURE__ */ ae({
|
|
16947
16947
|
__name: "RenderContent",
|
|
16948
16948
|
props: {
|