st-comp 0.0.274 → 0.0.276
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/es/ChartLayout.js +4 -4
- package/es/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +70 -71
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +35 -36
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +19 -20
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +28 -29
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +49 -50
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +18 -19
- package/es/KlinePlus.cjs +1 -1
- package/es/KlinePlus.js +21 -22
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +26 -27
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +76 -77
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.cjs +1 -1
- package/es/Table.js +37 -38
- package/es/User.cjs +1 -1
- package/es/User.js +141 -142
- package/es/VarSelectDialog.cjs +1 -1
- package/es/VarSelectDialog.js +27 -28
- package/es/VarietyAiHelper.cjs +7 -7
- package/es/VarietyAiHelper.js +488 -479
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +12 -13
- package/es/VarietySearch.cjs +9 -9
- package/es/VarietySearch.js +298 -298
- package/es/{VarietySelect-7da473c5.cjs → VarietySelect-610903f0.cjs} +1 -1
- package/es/{VarietySelect-b01281d3.js → VarietySelect-6a166293.js} +4 -4
- package/es/VarietyTextCopy.cjs +1 -1
- package/es/VarietyTextCopy.js +22 -23
- package/es/VirtualTable.js +14 -14
- package/es/{_initCloneObject-6243b839.js → _initCloneObject-152b4f4e.js} +3 -3
- package/es/aiTools-9fd42de8.cjs +2 -0
- package/es/aiTools-d7bd47c3.js +113 -0
- package/es/aiTools.js +12 -2
- package/es/{base-29f73b05.js → base-a5af3db3.js} +2 -2
- package/es/{castArray-609a313e.js → castArray-7741a212.js} +1 -1
- package/es/{config-provider-20b05e99.js → config-provider-7a3aca55.js} +4 -4
- package/es/{debounce-a09ce9a3.js → debounce-8d53f4dd.js} +1 -1
- package/es/{dropdown-f8d9fe56.js → dropdown-01e09205.js} +19 -20
- package/es/dropdown-987c47fb.cjs +1 -0
- package/es/el-autocomplete-16f66b34.cjs +1 -0
- package/es/{el-autocomplete-3f34a1c3.js → el-autocomplete-342ae823.js} +17 -18
- package/es/{el-button-cd144ee1.js → el-button-314171a0.js} +4 -4
- package/es/{el-checkbox-d6c883f4.js → el-checkbox-5899681f.js} +4 -4
- package/es/el-checkbox-bdf64663.cjs +1 -0
- package/es/el-dialog-0ef95df6.cjs +1 -0
- package/es/{el-dialog-59a23c2b.js → el-dialog-86a3eec2.js} +6 -6
- package/es/{el-divider-523e5874.js → el-divider-4e059794.js} +1 -1
- package/es/{el-empty-f5a1607a.js → el-empty-33cb66f1.js} +3 -3
- package/es/{el-form-item-3475aaad.cjs → el-form-item-77ef6784.cjs} +1 -1
- package/es/{el-form-item-a9556441.js → el-form-item-cda4d93c.js} +8 -8
- package/es/el-input-89222943.cjs +1 -0
- package/es/{el-input-1f14a6e2.js → el-input-fa1445ad.js} +14 -14
- package/es/{el-input-number-411ac93d.js → el-input-number-8f6dbf74.js} +6 -6
- package/es/el-input-number-d3338e5e.cjs +1 -0
- package/es/{el-loading-cbeb3b86.js → el-loading-9b671203.js} +2 -2
- package/es/el-menu-item-4531fd0e.cjs +1 -0
- package/es/{el-menu-item-77152904.js → el-menu-item-535fef90.js} +17 -18
- package/es/{el-message-box-a26e3ed4.js → el-message-box-621ed2f1.js} +11 -11
- package/es/el-message-box-f5717070.cjs +1 -0
- package/es/el-overlay-151708cb.cjs +1 -0
- package/es/{el-overlay-465cd11e.js → el-overlay-23de4324.js} +19 -19
- package/es/el-popconfirm-b8aa490e.cjs +1 -0
- package/es/{el-popconfirm-289b3e89.js → el-popconfirm-bcff0aa5.js} +20 -21
- package/es/el-popper-03988662.js +2094 -0
- package/es/el-popper-43ec37f4.cjs +1 -0
- package/es/el-segmented-79a1367c.cjs +1 -0
- package/es/{el-segmented-598b92b0.js → el-segmented-db3a86be.js} +4 -4
- package/es/{el-select-d47b5923.js → el-select-4bd0010d.js} +43 -44
- package/es/el-select-ec04e7ce.cjs +1 -0
- package/es/el-table-column-35e47229.cjs +14 -0
- package/es/{el-table-column-f1017e75.js → el-table-column-7af2bec7.js} +24 -25
- package/es/el-tag-5d5608e0.cjs +1 -0
- package/es/{el-tag-0a4197f5.js → el-tag-bef9e83d.js} +13 -13
- package/es/{el-text-c3ee80fe.js → el-text-f998902c.js} +2 -2
- package/es/{index-67180968.js → index-102edf6c.js} +3 -3
- package/es/{index-a76e80d9.cjs → index-2d7ac156.cjs} +2 -2
- package/es/{index-1b97095f.js → index-5c44d71a.js} +1 -1
- package/es/{index-d3e9a6f2.js → index-5ed42e9c.js} +11 -11
- package/es/{index-3301d870.js → index-6290ae0f.js} +3 -3
- package/es/{index-a17c90c5.js → index-936e7dec.js} +2 -2
- package/es/{index-8391a3df.js → index-960806da.js} +3 -3
- package/es/index-a00e0534.cjs +1 -0
- package/es/{index-33430c9f.js → index-a83ec4b7.js} +3 -3
- package/es/index-c58e90e9.cjs +1 -0
- package/es/{index-499cf989.js → index-ce21e2ce.js} +17 -17
- package/es/index-cfd00899.cjs +1 -0
- package/es/{index-afc4a1e5.js → index-d1b554ac.js} +3 -3
- package/es/{index-de24705f.js → index-d77a7336.js} +1 -1
- package/es/{index-3ed7914e.cjs → index-db846633.cjs} +1 -1
- package/es/{index-5b47cf8f.js → index-f3f6ee27.js} +11 -11
- package/es/{python-df3d529e.js → python-6cc6ec1b.js} +28 -29
- package/es/{python-b5d87b74.cjs → python-71f59893.cjs} +1 -1
- package/es/{raf-744cf95a.js → raf-80ef0c0a.js} +1 -1
- package/es/{scroll-6799bafc.js → scroll-679bd6bf.js} +1 -1
- package/es/style.css +1 -1
- package/es/{use-form-common-props-dd9617de.js → use-form-common-props-76a09d89.js} +28 -28
- package/es/{use-global-config-4dfc7236.js → use-global-config-0f43458b.js} +4 -4
- package/es/{validator-029bfc98.js → validator-0e037618.js} +1 -1
- package/es/{vnode-a83e6de8.js → vnode-5ddb7ed1.js} +1 -1
- package/es/{zh-cn-89e434f9.js → zh-cn-1227eb8a.js} +2 -2
- package/lib/aiTools.js +12 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +172 -172
- package/lib/{index-a854f18c.js → index-8b55d8c8.js} +13934 -13924
- package/lib/{python-77c3b638.js → python-f164f783.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietyAiHelper/images/like.png +0 -0
- package/packages/VarietyAiHelper/images/like_no.png +0 -0
- package/packages/VarietyAiHelper/index.vue +351 -410
- package/packages/VarietySearch/index.vue +1 -1
- package/public/aiTools.js +12 -2
- package/es/aiTools-4412c56c.cjs +0 -2
- package/es/aiTools-e6e4e996.js +0 -111
- package/es/dropdown-33c19e56.cjs +0 -1
- package/es/el-autocomplete-525ca867.cjs +0 -1
- package/es/el-checkbox-95325acd.cjs +0 -1
- package/es/el-dialog-4056070b.cjs +0 -1
- package/es/el-input-c7bf8e44.cjs +0 -1
- package/es/el-input-number-9d810842.cjs +0 -1
- package/es/el-menu-item-18d7d869.cjs +0 -1
- package/es/el-message-box-e4b8cc99.cjs +0 -1
- package/es/el-overlay-d26a1b98.cjs +0 -1
- package/es/el-popconfirm-12f6f35c.cjs +0 -1
- package/es/el-popper-c7648df6.cjs +0 -1
- package/es/el-popper-f96fc206.js +0 -1662
- package/es/el-segmented-f0bce6f2.cjs +0 -1
- package/es/el-select-f3cc464f.cjs +0 -1
- package/es/el-table-column-220ae131.cjs +0 -14
- package/es/el-tag-51bd491c.cjs +0 -1
- package/es/index-09ce1753.cjs +0 -1
- package/es/index-4b95bae1.cjs +0 -1
- package/es/index-68798830.cjs +0 -1
- package/es/index-8e88a0bd.js +0 -440
- package/es/index-d2cfd4a3.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as ee, e as te, a as M, b as ne, i as z,
|
|
2
|
-
import { M as ie, O as B, P as Z,
|
|
1
|
+
import { n as ee, e as te, a as M, b as ne, i as z, j as re, t as se, u as oe } from "./index-960806da.js";
|
|
2
|
+
import { M as ie, O as B, P as Z, H as P, C as ae, Q as ue, s as H, R as U, S as le, p as ce, I as de, e as fe } from "./base-a5af3db3.js";
|
|
3
3
|
import { watch as h, ref as _, getCurrentInstance as g, inject as m, computed as y, unref as w, onMounted as pe, toRef as ve, onUnmounted as me } from "vue";
|
|
4
|
-
import { l as _e, o as Ie, p as Oe, c as q, i as E, v as
|
|
4
|
+
import { l as _e, o as Ie, p as Oe, c as q, i as E, v as D, w as G, B as X } from "./index-5c44d71a.js";
|
|
5
5
|
var ye = function() {
|
|
6
6
|
try {
|
|
7
7
|
var e = ee(Object, "defineProperty");
|
|
@@ -68,7 +68,7 @@ function I(e) {
|
|
|
68
68
|
const n = Z(e);
|
|
69
69
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
70
70
|
}
|
|
71
|
-
const b =
|
|
71
|
+
const b = H ? window : void 0;
|
|
72
72
|
function O(...e) {
|
|
73
73
|
let t, n, r, o;
|
|
74
74
|
if (ie(e[0]) || Array.isArray(e[0]) ? ([n, r, o] = e, t = b) : [t, n, r, o] = e, !t)
|
|
@@ -129,11 +129,11 @@ function rt(e = {}) {
|
|
|
129
129
|
}
|
|
130
130
|
function Y(e, t = !1) {
|
|
131
131
|
const n = _(), r = () => n.value = !!e();
|
|
132
|
-
return r(),
|
|
132
|
+
return r(), U(r, t), n;
|
|
133
133
|
}
|
|
134
134
|
const T = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, F = "__vueuse_ssr_handlers__";
|
|
135
135
|
T[F] = T[F] || {};
|
|
136
|
-
var N = Object.getOwnPropertySymbols, Fe = Object.prototype.hasOwnProperty, Ne = Object.prototype.propertyIsEnumerable,
|
|
136
|
+
var N = Object.getOwnPropertySymbols, Fe = Object.prototype.hasOwnProperty, Ne = Object.prototype.propertyIsEnumerable, je = (e, t) => {
|
|
137
137
|
var n = {};
|
|
138
138
|
for (var r in e)
|
|
139
139
|
Fe.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -143,7 +143,7 @@ var N = Object.getOwnPropertySymbols, Fe = Object.prototype.hasOwnProperty, Ne =
|
|
|
143
143
|
return n;
|
|
144
144
|
};
|
|
145
145
|
function st(e, t, n = {}) {
|
|
146
|
-
const r = n, { window: o = b } = r, c =
|
|
146
|
+
const r = n, { window: o = b } = r, c = je(r, ["window"]);
|
|
147
147
|
let s;
|
|
148
148
|
const i = Y(() => o && "ResizeObserver" in o), a = () => {
|
|
149
149
|
s && (s.disconnect(), s = void 0);
|
|
@@ -157,12 +157,12 @@ function st(e, t, n = {}) {
|
|
|
157
157
|
stop: d
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
var
|
|
160
|
+
var j = Object.getOwnPropertySymbols, $e = Object.prototype.hasOwnProperty, We = Object.prototype.propertyIsEnumerable, Le = (e, t) => {
|
|
161
161
|
var n = {};
|
|
162
162
|
for (var r in e)
|
|
163
|
-
|
|
164
|
-
if (e != null &&
|
|
165
|
-
for (var r of
|
|
163
|
+
$e.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
164
|
+
if (e != null && j)
|
|
165
|
+
for (var r of j(e))
|
|
166
166
|
t.indexOf(r) < 0 && We.call(e, r) && (n[r] = e[r]);
|
|
167
167
|
return n;
|
|
168
168
|
};
|
|
@@ -181,10 +181,10 @@ function ot(e, t, n = {}) {
|
|
|
181
181
|
stop: d
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
|
-
var
|
|
184
|
+
var $;
|
|
185
185
|
(function(e) {
|
|
186
186
|
e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
|
|
187
|
-
})(
|
|
187
|
+
})($ || ($ = {}));
|
|
188
188
|
var Re = Object.defineProperty, W = Object.getOwnPropertySymbols, Ke = Object.prototype.hasOwnProperty, Qe = Object.prototype.propertyIsEnumerable, L = (e, t, n) => t in e ? Re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Me = (e, t) => {
|
|
189
189
|
for (var n in t || (t = {}))
|
|
190
190
|
Ke.call(t, n) && L(e, n, t[n]);
|
|
@@ -232,25 +232,25 @@ function it(e = {}) {
|
|
|
232
232
|
} = e, s = _(n), i = _(r), a = () => {
|
|
233
233
|
t && (c ? (s.value = t.innerWidth, i.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, i.value = t.document.documentElement.clientHeight));
|
|
234
234
|
};
|
|
235
|
-
return a(),
|
|
235
|
+
return a(), U(a), O("resize", a, { passive: !0 }), o && O("orientationchange", a, { passive: !0 }), { width: s, height: i };
|
|
236
236
|
}
|
|
237
237
|
const R = {
|
|
238
238
|
current: 0
|
|
239
|
-
}, K = _(0), Ze = 2e3, Q = Symbol("elZIndexContextKey"),
|
|
240
|
-
const t = g() ? m(Q, R) : R, n = e || (g() ? m(
|
|
239
|
+
}, K = _(0), Ze = 2e3, Q = Symbol("elZIndexContextKey"), He = Symbol("zIndexContextKey"), at = (e) => {
|
|
240
|
+
const t = g() ? m(Q, R) : R, n = e || (g() ? m(He, void 0) : void 0), r = y(() => {
|
|
241
241
|
const s = w(n);
|
|
242
242
|
return ce(s) ? s : Ze;
|
|
243
243
|
}), o = y(() => r.value + K.value), c = () => (t.current++, K.value = t.current, o.value);
|
|
244
|
-
return !
|
|
244
|
+
return !H && m(Q), {
|
|
245
245
|
initialZIndex: r,
|
|
246
246
|
currentZIndex: o,
|
|
247
247
|
nextZIndex: c
|
|
248
248
|
};
|
|
249
|
-
},
|
|
249
|
+
}, Ue = ["", "default", "small", "large"], ut = de({
|
|
250
250
|
type: String,
|
|
251
|
-
values:
|
|
251
|
+
values: Ue,
|
|
252
252
|
required: !1
|
|
253
|
-
}), qe = Symbol("size"),
|
|
253
|
+
}), qe = Symbol("size"), De = () => {
|
|
254
254
|
const e = m(qe, {});
|
|
255
255
|
return y(() => w(e.size) || "");
|
|
256
256
|
}, lt = fe([
|
|
@@ -261,14 +261,14 @@ const R = {
|
|
|
261
261
|
Close: q
|
|
262
262
|
}, dt = {
|
|
263
263
|
Close: q,
|
|
264
|
-
SuccessFilled:
|
|
264
|
+
SuccessFilled: D,
|
|
265
265
|
InfoFilled: E,
|
|
266
|
-
WarningFilled:
|
|
266
|
+
WarningFilled: G,
|
|
267
267
|
CircleCloseFilled: X
|
|
268
268
|
}, ft = {
|
|
269
269
|
primary: E,
|
|
270
|
-
success:
|
|
271
|
-
warning:
|
|
270
|
+
success: D,
|
|
271
|
+
warning: G,
|
|
272
272
|
error: X,
|
|
273
273
|
info: E
|
|
274
274
|
}, pt = {
|
|
@@ -321,7 +321,7 @@ const R = {
|
|
|
321
321
|
return (r = (n = t == null ? void 0 : t.proxy) == null ? void 0 : n.$props) == null ? void 0 : r[e];
|
|
322
322
|
});
|
|
323
323
|
}, _t = (e, t = {}) => {
|
|
324
|
-
const n = _(void 0), r = t.prop ? n : k("size"), o = t.global ? n :
|
|
324
|
+
const n = _(void 0), r = t.prop ? n : k("size"), o = t.global ? n : De(), c = t.form ? { size: void 0 } : m(S, void 0), s = t.formItem ? { size: void 0 } : m(V, void 0);
|
|
325
325
|
return y(() => r.value || w(e) || (s == null ? void 0 : s.size) || (c == null ? void 0 : c.size) || o.value || "");
|
|
326
326
|
}, It = (e) => {
|
|
327
327
|
const t = k("disabled"), n = m(S, void 0);
|
|
@@ -329,7 +329,7 @@ const R = {
|
|
|
329
329
|
};
|
|
330
330
|
export {
|
|
331
331
|
tt as A,
|
|
332
|
-
|
|
332
|
+
He as B,
|
|
333
333
|
ct as C,
|
|
334
334
|
Ze as D,
|
|
335
335
|
qe as S,
|
|
@@ -345,8 +345,8 @@ export {
|
|
|
345
345
|
ut as h,
|
|
346
346
|
lt as i,
|
|
347
347
|
rt as j,
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
Ue as k,
|
|
349
|
+
De as l,
|
|
350
350
|
ft as m,
|
|
351
351
|
he as n,
|
|
352
352
|
we as o,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as g, getCurrentInstance as d, provide as C, computed as u, unref as v, inject as x } from "vue";
|
|
2
|
-
import { L as y, u as I, E as _ } from "./base-
|
|
3
|
-
import { A as z, B as S, S as K, w as O, D as b } from "./use-form-common-props-
|
|
4
|
-
import { g as E, l as N, u as k } from "./index-
|
|
5
|
-
import { q as G } from "./index-
|
|
2
|
+
import { L as y, u as I, E as _ } from "./base-a5af3db3.js";
|
|
3
|
+
import { A as z, B as S, S as K, w as O, D as b } from "./use-form-common-props-76a09d89.js";
|
|
4
|
+
import { g as E, l as N, u as k } from "./index-d77a7336.js";
|
|
5
|
+
import { q as G } from "./index-a83ec4b7.js";
|
|
6
6
|
const m = Symbol();
|
|
7
7
|
function V(n, t, o) {
|
|
8
8
|
return n == null ? n : z(n, t, o);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isVNode as A } from "vue";
|
|
2
|
-
import { j as r } from "./base-
|
|
2
|
+
import { j as r } from "./base-a5af3db3.js";
|
|
3
3
|
var _ = /* @__PURE__ */ ((E) => (E[E.TEXT = 1] = "TEXT", E[E.CLASS = 2] = "CLASS", E[E.STYLE = 4] = "STYLE", E[E.PROPS = 8] = "PROPS", E[E.FULL_PROPS = 16] = "FULL_PROPS", E[E.HYDRATE_EVENTS = 32] = "HYDRATE_EVENTS", E[E.STABLE_FRAGMENT = 64] = "STABLE_FRAGMENT", E[E.KEYED_FRAGMENT = 128] = "KEYED_FRAGMENT", E[E.UNKEYED_FRAGMENT = 256] = "UNKEYED_FRAGMENT", E[E.NEED_PATCH = 512] = "NEED_PATCH", E[E.DYNAMIC_SLOTS = 1024] = "DYNAMIC_SLOTS", E[E.HOISTED = -1] = "HOISTED", E[E.BAIL = -2] = "BAIL", E))(_ || {});
|
|
4
4
|
const S = (E) => {
|
|
5
5
|
const N = r(E) ? E : [E], e = [];
|
package/lib/aiTools.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @param {Function} params.getSSE - 回调函数 (type, str) => void
|
|
10
10
|
* type: "finish" || "error" || "message"
|
|
11
11
|
*/
|
|
12
|
-
const sendToNodeSSE = async ({ baseUrl, path, token, value, origin = "web", getSSE }) => {
|
|
12
|
+
const sendToNodeSSE = async ({ baseUrl, path, token, value, sessionId, origin = "web", getSSE }) => {
|
|
13
13
|
try {
|
|
14
14
|
// 创建请求
|
|
15
15
|
const response = await fetch(`${baseUrl}${path}`, {
|
|
@@ -21,6 +21,7 @@ const sendToNodeSSE = async ({ baseUrl, path, token, value, origin = "web", getS
|
|
|
21
21
|
body: JSON.stringify({
|
|
22
22
|
query: value,
|
|
23
23
|
origin,
|
|
24
|
+
sessionId,
|
|
24
25
|
stream: true,
|
|
25
26
|
}),
|
|
26
27
|
});
|
|
@@ -69,7 +70,7 @@ const sendToNodeSSE = async ({ baseUrl, path, token, value, origin = "web", getS
|
|
|
69
70
|
};
|
|
70
71
|
|
|
71
72
|
// 品种池AI查询助手
|
|
72
|
-
export const sendToNodeVarietyAiHelper = async ({ baseUrl, token, value, callback }) => {
|
|
73
|
+
export const sendToNodeVarietyAiHelper = async ({ baseUrl, token, value, sessionId, callback }) => {
|
|
73
74
|
// 工作流节点
|
|
74
75
|
const nodeMap = {};
|
|
75
76
|
const params = {
|
|
@@ -77,12 +78,21 @@ export const sendToNodeVarietyAiHelper = async ({ baseUrl, token, value, callbac
|
|
|
77
78
|
path: "/middleLayer/ai/varietyAiHelper",
|
|
78
79
|
token,
|
|
79
80
|
value,
|
|
81
|
+
sessionId,
|
|
80
82
|
origin: "web",
|
|
81
83
|
getSSE: (type, str) => {
|
|
82
84
|
switch (type) {
|
|
83
85
|
case "message": {
|
|
84
86
|
try {
|
|
85
87
|
const data = JSON.parse(str);
|
|
88
|
+
// 会话Id
|
|
89
|
+
if (data.type === "session") {
|
|
90
|
+
callback("session", data.sessionId);
|
|
91
|
+
}
|
|
92
|
+
// 一句话概括用户查询内容
|
|
93
|
+
if (data.type === "fullQuery") {
|
|
94
|
+
callback("fullQuery", data.fullQuery);
|
|
95
|
+
}
|
|
86
96
|
// 节点状态
|
|
87
97
|
if (data.node_name && data.node_status) {
|
|
88
98
|
const nodeName = data.node_name;
|
package/lib/bundle.js
CHANGED