st-comp 0.0.263 → 0.0.267
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/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +22 -22
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +26 -26
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +11 -11
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +19 -19
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +16 -16
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +10 -10
- package/es/KlinePlus.cjs +1 -1
- package/es/KlinePlus.js +12 -12
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +18 -18
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +14 -14
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +2 -2
- package/es/Table.cjs +1 -1
- package/es/Table.js +18 -18
- package/es/User.cjs +1 -1
- package/es/User.js +19 -19
- package/es/VarSelectDialog.cjs +1 -1
- package/es/VarSelectDialog.js +19 -19
- package/es/VarietyAiHelper.cjs +3 -3
- package/es/VarietyAiHelper.js +301 -280
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +8 -8
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +31 -31
- package/es/{VarietySelect-9f267958.js → VarietySelect-1ac10ec2.js} +3 -3
- package/es/{VarietySelect-5c845562.cjs → VarietySelect-639a8d9a.cjs} +1 -1
- package/es/VarietyTextCopy.cjs +1 -1
- package/es/VarietyTextCopy.js +10 -10
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +66 -66
- package/es/{_initCloneObject-69c8ae23.js → _initCloneObject-6b8c230e.js} +2 -2
- package/es/{_initCloneObject-2b82e9f7.cjs → _initCloneObject-9eddcb0c.cjs} +1 -1
- package/es/aiTools-822859d6.cjs +4 -0
- package/es/aiTools-9a9c997f.js +149 -0
- package/es/aiTools.js +92 -1
- package/es/{config-provider-7860903c.js → config-provider-56193d47.js} +3 -3
- package/es/{config-provider-2ae47cc8.cjs → config-provider-ea286661.cjs} +1 -1
- package/es/{dropdown-497442b7.js → dropdown-4e541d60.js} +3 -3
- package/es/{dropdown-eba9eaf5.cjs → dropdown-f30148cc.cjs} +1 -1
- package/es/{el-autocomplete-b59eb529.cjs → el-autocomplete-3949e68c.cjs} +1 -1
- package/es/{el-autocomplete-27c60cc8.js → el-autocomplete-4b521c83.js} +6 -6
- package/es/{el-button-e2c63c08.js → el-button-4f201000.js} +3 -3
- package/es/{el-button-974ff9e9.cjs → el-button-dd065de0.cjs} +1 -1
- package/es/{el-checkbox-08185353.cjs → el-checkbox-02ce40f0.cjs} +1 -1
- package/es/{el-checkbox-71ebd862.js → el-checkbox-33cb73db.js} +3 -3
- package/es/{el-dialog-eedcfd3e.js → el-dialog-1939f7c5.js} +4 -4
- package/es/{el-dialog-1b185570.cjs → el-dialog-6501a151.cjs} +1 -1
- package/es/{el-form-item-c997b4fa.cjs → el-form-item-316b35d8.cjs} +1 -1
- package/es/{el-form-item-bdcfd297.js → el-form-item-ea11211d.js} +5 -5
- package/es/{el-input-fa18ef84.cjs → el-input-094afbe2.cjs} +1 -1
- package/es/{el-input-d47281da.js → el-input-58786d42.js} +32 -32
- package/es/{el-input-number-3d94fa58.cjs → el-input-number-a609a5e3.cjs} +1 -1
- package/es/{el-input-number-c8018cb1.js → el-input-number-a7971697.js} +14 -14
- package/es/{el-loading-969a79ca.cjs → el-loading-d171ce64.cjs} +1 -1
- package/es/{el-loading-0cd81d05.js → el-loading-f3815921.js} +1 -1
- package/es/{el-menu-item-26071fd6.cjs → el-menu-item-3d1e0aff.cjs} +1 -1
- package/es/{el-menu-item-dac65bb3.js → el-menu-item-a166b997.js} +5 -5
- package/es/{el-message-box-31e0aa98.cjs → el-message-box-b8ffcf34.cjs} +1 -1
- package/es/{el-message-box-fea4fca8.js → el-message-box-f2b667e9.js} +9 -9
- package/es/{el-overlay-1ee0338d.js → el-overlay-1dfe3675.js} +3 -3
- package/es/{el-overlay-ea65cb05.cjs → el-overlay-a94f8a98.cjs} +1 -1
- package/es/{el-popconfirm-9e232436.cjs → el-popconfirm-70e2849c.cjs} +1 -1
- package/es/{el-popconfirm-089b8bec.js → el-popconfirm-ca31ceea.js} +5 -5
- package/es/{el-popper-2d3914e4.cjs → el-popper-ce575c12.cjs} +1 -1
- package/es/{el-popper-c9b3d3cf.js → el-popper-db6c599f.js} +2 -2
- package/es/{el-segmented-140ac042.cjs → el-segmented-4d50b63f.cjs} +1 -1
- package/es/{el-segmented-9d3a9e11.js → el-segmented-741f2252.js} +2 -2
- package/es/{el-select-e51e11c1.js → el-select-086bcb6c.js} +9 -9
- package/es/{el-select-a11f33e8.cjs → el-select-2ebc8380.cjs} +1 -1
- package/es/{el-table-column-98570a4d.cjs → el-table-column-2f07fbdb.cjs} +1 -1
- package/es/{el-table-column-05d292a8.js → el-table-column-8a15378a.js} +10 -10
- package/es/{el-tag-17cd04a1.js → el-tag-65a99986.js} +2 -2
- package/es/{el-tag-6d8e653e.cjs → el-tag-f48b1190.cjs} +1 -1
- package/es/{el-text-a18106cb.cjs → el-text-33359f44.cjs} +1 -1
- package/es/{el-text-2710fff3.js → el-text-cbb693f2.js} +1 -1
- package/es/{index-f30561d3.js → index-072c4a65.js} +5 -5
- package/es/{index-299ee017.cjs → index-0f767104.cjs} +1 -1
- package/es/{index-eb99b188.cjs → index-18565979.cjs} +1 -1
- package/es/{index-0f79095c.js → index-1955f23d.js} +1 -1
- package/es/{index-0ee486ad.js → index-1e91e986.js} +1 -1
- package/es/{index-6ca95c8a.cjs → index-21e8d2bc.cjs} +1 -1
- package/es/{index-33f80550.cjs → index-3792552a.cjs} +1 -1
- package/es/{index-7dce9f59.cjs → index-4f900527.cjs} +1 -1
- package/es/{index-1d9b50de.js → index-57d82da0.js} +2 -2
- package/es/{index-e8eeea22.cjs → index-5b546f7d.cjs} +1 -1
- package/es/{index-c71e37dc.js → index-7db02db7.js} +2 -2
- package/es/{index-37b8d3c6.cjs → index-7eb88616.cjs} +1 -1
- package/es/{index-6b99def3.cjs → index-8439d2f9.cjs} +1 -1
- package/es/{index-40f05e2c.cjs → index-8b055879.cjs} +2 -2
- package/es/{index-b0117ba2.js → index-a4e252a0.js} +1 -1
- package/es/{index-95e5d454.js → index-b51915a2.js} +2 -2
- package/es/{index-28e03bad.cjs → index-bf98dd03.cjs} +1 -1
- package/es/{index-c2b9bbfd.js → index-ca91ac68.js} +82 -67
- package/es/{index-8a54ceeb.js → index-d857270a.js} +9 -9
- package/es/{index-bcd895a0.js → index-ff26b1a6.js} +2 -2
- package/es/{python-02c3937a.cjs → python-5b5c9c58.cjs} +1 -1
- package/es/{python-99011a53.js → python-ad9239f9.js} +18 -18
- package/es/style.css +1 -1
- package/es/{use-form-common-props-d3ed62c6.cjs → use-form-common-props-00ec25ac.cjs} +1 -1
- package/es/{use-form-common-props-cb0ca65c.js → use-form-common-props-c14990b9.js} +29 -29
- package/es/{use-global-config-c80f33a4.cjs → use-global-config-28efb416.cjs} +1 -1
- package/es/{use-global-config-cdaeca54.js → use-global-config-a01b5ce1.js} +2 -2
- package/es/{validator-07160325.cjs → validator-119fdaf4.cjs} +1 -1
- package/es/{validator-4ab9774f.js → validator-65de1caf.js} +1 -1
- package/es/{zh-cn-6a0f844c.cjs → zh-cn-9fb29a39.cjs} +1 -1
- package/es/{zh-cn-8a6390a4.js → zh-cn-c1c28e70.js} +1 -1
- package/lib/aiTools.js +92 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +202 -201
- package/lib/{index-0969ca9d.js → index-7279dacd.js} +16066 -15973
- package/lib/{python-506107bf.js → python-60bc2922.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietyAiHelper/index.vue +252 -135
- package/public/aiTools.js +92 -1
- package/es/aiTools-2e1f92d2.cjs +0 -3
- package/es/aiTools-faa0a14d.js +0 -90
package/es/VarietyAiHelper.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { E as ve } from "./el-dialog-
|
|
3
|
-
import "./el-overlay-
|
|
4
|
-
import { E as
|
|
5
|
-
import { E as
|
|
6
|
-
import { defineComponent as
|
|
7
|
-
import { d as
|
|
8
|
-
import { V as
|
|
9
|
-
import { s as
|
|
10
|
-
import { E as
|
|
1
|
+
import { b as re, p as te, e as ce, u as ue, c as de, n as me, _ as pe, w as fe } from "./base-29f73b05.js";
|
|
2
|
+
import { E as ve } from "./el-dialog-1939f7c5.js";
|
|
3
|
+
import "./el-overlay-1dfe3675.js";
|
|
4
|
+
import { E as _e } from "./el-button-4f201000.js";
|
|
5
|
+
import { E as ge } from "./el-input-58786d42.js";
|
|
6
|
+
import { defineComponent as se, ref as v, computed as x, watch as U, openBlock as l, createElementBlock as u, normalizeClass as ae, unref as _, normalizeStyle as Q, createBlock as $, withCtx as g, resolveDynamicComponent as he, renderSlot as ke, inject as be, reactive as ye, nextTick as R, Fragment as H, createVNode as m, createElementVNode as s, renderList as X, toDisplayString as J, createCommentVNode as w, createTextVNode as K, pushScopeId as Te, popScopeId as we } from "vue";
|
|
7
|
+
import { d as L } from "./dayjs.min-8313b006.js";
|
|
8
|
+
import { V as Ce, U as Se } from "./index-7ed0999e.js";
|
|
9
|
+
import { s as Ee } from "./aiTools-9a9c997f.js";
|
|
10
|
+
import { E as ne, u as Ve, s as Z, p as De, t as ee, v as Me } from "./index-ca91ac68.js";
|
|
11
11
|
import { _ as Ye } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
|
-
import { E as
|
|
13
|
-
import { k as Fe, i as He } from "./use-form-common-props-
|
|
14
|
-
import "./index-
|
|
12
|
+
import { E as I } from "./index-072c4a65.js";
|
|
13
|
+
import { k as Fe, i as He } from "./use-form-common-props-c14990b9.js";
|
|
14
|
+
import "./index-1955f23d.js";
|
|
15
15
|
import "./index-8391a3df.js";
|
|
16
16
|
import "./index-de24705f.js";
|
|
17
17
|
import "./index-2e331d74.js";
|
|
18
18
|
import "./vnode-a83e6de8.js";
|
|
19
19
|
import "./scroll-6799bafc.js";
|
|
20
|
-
import "./use-global-config-
|
|
21
|
-
import "./index-
|
|
20
|
+
import "./use-global-config-a01b5ce1.js";
|
|
21
|
+
import "./index-1e91e986.js";
|
|
22
22
|
import "./index-657047bb.js";
|
|
23
23
|
import "./typescript-7ae59c4c.js";
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./config-provider-
|
|
26
|
-
const Pe =
|
|
24
|
+
import "./index-7db02db7.js";
|
|
25
|
+
import "./config-provider-56193d47.js";
|
|
26
|
+
const Pe = re({
|
|
27
27
|
size: {
|
|
28
28
|
type: [Number, String],
|
|
29
29
|
values: Fe,
|
|
30
30
|
default: "",
|
|
31
|
-
validator: (
|
|
31
|
+
validator: (d) => te(d)
|
|
32
32
|
},
|
|
33
33
|
shape: {
|
|
34
34
|
type: String,
|
|
@@ -48,76 +48,82 @@ const Pe = le({
|
|
|
48
48
|
type: ce(String),
|
|
49
49
|
default: "cover"
|
|
50
50
|
}
|
|
51
|
-
}),
|
|
52
|
-
error: (
|
|
53
|
-
},
|
|
51
|
+
}), Ne = {
|
|
52
|
+
error: (d) => d instanceof Event
|
|
53
|
+
}, Ae = se({
|
|
54
54
|
name: "ElAvatar"
|
|
55
|
-
}),
|
|
56
|
-
...
|
|
55
|
+
}), Le = /* @__PURE__ */ se({
|
|
56
|
+
...Ae,
|
|
57
57
|
props: Pe,
|
|
58
|
-
emits:
|
|
59
|
-
setup(
|
|
60
|
-
const
|
|
61
|
-
const { size:
|
|
62
|
-
return de(
|
|
63
|
-
}),
|
|
64
|
-
const { size:
|
|
65
|
-
return
|
|
66
|
-
size: me(
|
|
58
|
+
emits: Ne,
|
|
59
|
+
setup(d, { emit: O }) {
|
|
60
|
+
const M = d, k = ue("avatar"), C = v(!1), P = x(() => {
|
|
61
|
+
const { size: i, icon: p, shape: S } = M, b = [k.b()];
|
|
62
|
+
return de(i) && b.push(k.m(i)), p && b.push(k.m("icon")), S && b.push(k.m(S)), b;
|
|
63
|
+
}), z = x(() => {
|
|
64
|
+
const { size: i } = M;
|
|
65
|
+
return te(i) ? k.cssVarBlock({
|
|
66
|
+
size: me(i) || ""
|
|
67
67
|
}) : void 0;
|
|
68
|
-
}),
|
|
69
|
-
objectFit:
|
|
68
|
+
}), j = x(() => ({
|
|
69
|
+
objectFit: M.fit
|
|
70
70
|
}));
|
|
71
|
-
|
|
72
|
-
function
|
|
73
|
-
|
|
71
|
+
U(() => M.src, () => C.value = !1);
|
|
72
|
+
function y(i) {
|
|
73
|
+
C.value = !0, O("error", i);
|
|
74
74
|
}
|
|
75
|
-
return (
|
|
76
|
-
class:
|
|
77
|
-
style:
|
|
75
|
+
return (i, p) => (l(), u("span", {
|
|
76
|
+
class: ae(_(P)),
|
|
77
|
+
style: Q(_(z))
|
|
78
78
|
}, [
|
|
79
|
-
(
|
|
79
|
+
(i.src || i.srcSet) && !C.value ? (l(), u("img", {
|
|
80
80
|
key: 0,
|
|
81
|
-
src:
|
|
82
|
-
alt:
|
|
83
|
-
srcset:
|
|
84
|
-
style:
|
|
85
|
-
onError:
|
|
86
|
-
}, null, 44, ["src", "alt", "srcset"])) :
|
|
87
|
-
default:
|
|
88
|
-
(
|
|
81
|
+
src: i.src,
|
|
82
|
+
alt: i.alt,
|
|
83
|
+
srcset: i.srcSet,
|
|
84
|
+
style: Q(_(j)),
|
|
85
|
+
onError: y
|
|
86
|
+
}, null, 44, ["src", "alt", "srcset"])) : i.icon ? (l(), $(_(ne), { key: 1 }, {
|
|
87
|
+
default: g(() => [
|
|
88
|
+
(l(), $(he(i.icon)))
|
|
89
89
|
]),
|
|
90
90
|
_: 1
|
|
91
|
-
})) : ke(
|
|
91
|
+
})) : ke(i.$slots, "default", { key: 2 })
|
|
92
92
|
], 6));
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
|
-
var
|
|
96
|
-
const
|
|
97
|
-
const h = (
|
|
98
|
-
key:
|
|
95
|
+
var ze = /* @__PURE__ */ pe(Le, [["__file", "avatar.vue"]]);
|
|
96
|
+
const Be = fe(ze);
|
|
97
|
+
const h = (d) => (Te("data-v-c6a98338"), d = d(), we(), d), Ie = { class: "ai-dialog-body" }, $e = { class: "avatar" }, Oe = { class: "message-content" }, je = {
|
|
98
|
+
key: 0,
|
|
99
|
+
class: "node-progress"
|
|
100
|
+
}, xe = { class: "node-status-icon" }, Re = { class: "node-name" }, Je = {
|
|
101
|
+
key: 0,
|
|
102
|
+
class: "node-progress-item next-step"
|
|
103
|
+
}, Ke = { class: "node-status-icon" }, Ue = /* @__PURE__ */ h(() => /* @__PURE__ */ s("span", { class: "node-name" }, "正在执行下一步...", -1)), qe = ["innerHTML"], We = {
|
|
104
|
+
key: 2,
|
|
99
105
|
class: "message-text"
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
],
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
],
|
|
106
|
+
}, Ge = { class: "message-createTime" }, Qe = /* @__PURE__ */ h(() => /* @__PURE__ */ s("div", { class: "message-createTime" }, "请问对本轮查询结果是否满意?", -1)), Xe = { class: "feedback-buttons" }, Ze = ["onClick"], et = /* @__PURE__ */ h(() => /* @__PURE__ */ s("span", { class: "btn-emoji" }, "👍", -1)), tt = /* @__PURE__ */ h(() => /* @__PURE__ */ s("span", { class: "btn-text" }, "满意", -1)), st = [
|
|
107
|
+
et,
|
|
108
|
+
tt
|
|
109
|
+
], at = ["onClick"], nt = /* @__PURE__ */ h(() => /* @__PURE__ */ s("span", { class: "btn-emoji" }, "👎", -1)), ot = /* @__PURE__ */ h(() => /* @__PURE__ */ s("span", { class: "btn-text" }, "不满意", -1)), it = [
|
|
110
|
+
nt,
|
|
111
|
+
ot
|
|
112
|
+
], lt = {
|
|
107
113
|
key: 1,
|
|
108
114
|
class: "message-createTime"
|
|
109
|
-
},
|
|
115
|
+
}, rt = {
|
|
110
116
|
key: 0,
|
|
111
117
|
class: "message-item assistant"
|
|
112
|
-
},
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
118
|
+
}, ct = { class: "avatar" }, ut = /* @__PURE__ */ h(() => /* @__PURE__ */ s("div", { class: "message-content" }, [
|
|
119
|
+
/* @__PURE__ */ s("div", { class: "typing-indicator" }, [
|
|
120
|
+
/* @__PURE__ */ s("span"),
|
|
121
|
+
/* @__PURE__ */ s("span"),
|
|
122
|
+
/* @__PURE__ */ s("span")
|
|
117
123
|
])
|
|
118
|
-
], -1)),
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
], -1)),
|
|
124
|
+
], -1)), dt = { class: "input-area" }, mt = { class: "input-actions" }, pt = /* @__PURE__ */ h(() => /* @__PURE__ */ s("div", { class: "input-hint" }, [
|
|
125
|
+
/* @__PURE__ */ s("span", null, "Enter 发送 | Ctrl + Enter 换行")
|
|
126
|
+
], -1)), ft = { class: "feedback-dialog-content" }, vt = /* @__PURE__ */ h(() => /* @__PURE__ */ s("div", { class: "feedback-emoji" }, "😟", -1)), _t = /* @__PURE__ */ h(() => /* @__PURE__ */ s("p", { class: "feedback-tip" }, "很抱歉没能帮到您,请告诉我们哪里需要改进:", -1)), gt = { class: "dialog-footer" }, ht = {
|
|
121
127
|
__name: "index",
|
|
122
128
|
props: {
|
|
123
129
|
defaultMessage: {
|
|
@@ -129,58 +135,50 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
129
135
|
}
|
|
130
136
|
},
|
|
131
137
|
emits: ["callBack"],
|
|
132
|
-
setup(
|
|
133
|
-
const
|
|
138
|
+
setup(d, { expose: O, emit: M }) {
|
|
139
|
+
const k = be("stConfig"), C = ye(Ce()), P = v(!1), z = M, j = d, y = v(!1), i = v(!1), p = v([]), S = v(!1), b = v(null), o = v([
|
|
134
140
|
{
|
|
135
141
|
role: "assistant",
|
|
136
|
-
|
|
137
|
-
content: I.defaultMessage,
|
|
142
|
+
content: j.defaultMessage,
|
|
138
143
|
userContent: null,
|
|
139
144
|
showFeedback: !1,
|
|
140
|
-
// 是否展示反馈按钮(默认信息不用展示)
|
|
141
145
|
hasFeedback: !1,
|
|
142
|
-
|
|
143
|
-
createTime: P().format("YYYY-MM-DD HH:mm:ss"),
|
|
144
|
-
// 消息发起时间
|
|
146
|
+
createTime: L().format("YYYY-MM-DD HH:mm:ss"),
|
|
145
147
|
resTime: 0,
|
|
146
|
-
// 响应总耗时
|
|
147
148
|
firstPackageTime: 0
|
|
148
|
-
// 首包响应耗时
|
|
149
149
|
}
|
|
150
|
-
]),
|
|
151
|
-
if (typeof
|
|
150
|
+
]), E = v(""), Y = v(!1), N = v(""), q = v({}), W = (n) => {
|
|
151
|
+
if (typeof n != "string")
|
|
152
152
|
return !1;
|
|
153
153
|
try {
|
|
154
|
-
const e = JSON.parse(
|
|
154
|
+
const e = JSON.parse(n);
|
|
155
155
|
return e !== null && typeof e == "object";
|
|
156
156
|
} catch {
|
|
157
157
|
return !1;
|
|
158
158
|
}
|
|
159
|
-
},
|
|
160
|
-
if (!
|
|
159
|
+
}, oe = (n) => {
|
|
160
|
+
if (!W(n))
|
|
161
161
|
return null;
|
|
162
162
|
try {
|
|
163
|
-
const e = JSON.parse(
|
|
164
|
-
return {
|
|
165
|
-
parsedConditions: t,
|
|
166
|
-
webParams: i
|
|
167
|
-
};
|
|
163
|
+
const e = JSON.parse(n), { parsedConditions: t, ...f } = e;
|
|
164
|
+
return { parsedConditions: t, webParams: f };
|
|
168
165
|
} catch {
|
|
169
166
|
return null;
|
|
170
167
|
}
|
|
171
|
-
},
|
|
168
|
+
}, ie = (n) => {
|
|
172
169
|
var t;
|
|
173
|
-
if (!
|
|
170
|
+
if (!n)
|
|
174
171
|
return "";
|
|
175
172
|
let e = "";
|
|
176
|
-
return (t =
|
|
177
|
-
e += `<div class="parsed-conditions-item">${
|
|
173
|
+
return (t = n.parsedConditions) != null && t.length && (e += '<div class="parsed-conditions">', n.parsedConditions.forEach((f) => {
|
|
174
|
+
e += `<div class="parsed-conditions-item">${f}</div>`;
|
|
178
175
|
}), e += "</div>"), e;
|
|
179
|
-
},
|
|
180
|
-
switch (
|
|
176
|
+
}, F = async (n, e) => {
|
|
177
|
+
switch (n) {
|
|
181
178
|
case "satisfied": {
|
|
182
|
-
const t =
|
|
183
|
-
|
|
179
|
+
const t = o.value[e];
|
|
180
|
+
await k.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
|
|
181
|
+
userName: C.username,
|
|
184
182
|
userContent: t.userContent,
|
|
185
183
|
aiContent: t.content,
|
|
186
184
|
type: 1,
|
|
@@ -188,181 +186,166 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
188
186
|
resTime: t.resTime,
|
|
189
187
|
firstPackageTime: t.firstPackageTime,
|
|
190
188
|
isSolved: 1,
|
|
191
|
-
// 是否解决
|
|
192
189
|
logOrigin: 1
|
|
193
|
-
|
|
194
|
-
};
|
|
195
|
-
await p.request.post("/alarm/deliversign/addVarietyAiHelperLog", i), B.success("感谢您的评价!"), a.value[e].hasFeedback = !0;
|
|
190
|
+
}), I.success("感谢您的评价!"), o.value[e].hasFeedback = !0;
|
|
196
191
|
break;
|
|
197
192
|
}
|
|
198
193
|
case "open": {
|
|
199
|
-
q.value = e,
|
|
194
|
+
q.value = e, Y.value = !0;
|
|
200
195
|
break;
|
|
201
196
|
}
|
|
202
197
|
case "unsatisfied": {
|
|
203
|
-
const t =
|
|
204
|
-
|
|
198
|
+
const t = o.value[e];
|
|
199
|
+
await k.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
|
|
200
|
+
userName: C.username,
|
|
205
201
|
userContent: t.userContent,
|
|
206
|
-
userSuggestion:
|
|
202
|
+
userSuggestion: N.value,
|
|
207
203
|
aiContent: t.content,
|
|
208
204
|
type: 2,
|
|
209
205
|
resTime: t.resTime,
|
|
210
206
|
createTime: t.createTime,
|
|
211
207
|
firstPackageTime: t.firstPackageTime,
|
|
212
208
|
isSolved: 0,
|
|
213
|
-
// 是否解决
|
|
214
209
|
logOrigin: 1
|
|
215
|
-
|
|
216
|
-
};
|
|
217
|
-
await p.request.post("/alarm/deliversign/addVarietyAiHelperLog", i), B.success("感谢您的反馈!我们将持续跟踪并进行优化"), V.value = !1, a.value[e].hasFeedback = !0;
|
|
210
|
+
}), I.success("感谢您的反馈!我们将持续跟踪并进行优化"), Y.value = !1, o.value[e].hasFeedback = !0;
|
|
218
211
|
break;
|
|
219
212
|
}
|
|
220
213
|
case "default": {
|
|
221
|
-
const t =
|
|
222
|
-
|
|
214
|
+
const t = o.value[e];
|
|
215
|
+
await k.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
|
|
216
|
+
userName: C.username,
|
|
223
217
|
userContent: t.userContent,
|
|
224
|
-
userSuggestion:
|
|
218
|
+
userSuggestion: N.value,
|
|
225
219
|
aiContent: t.content,
|
|
226
220
|
type: null,
|
|
227
221
|
resTime: t.resTime,
|
|
228
222
|
createTime: t.createTime,
|
|
229
223
|
firstPackageTime: t.firstPackageTime,
|
|
230
224
|
isSolved: 1,
|
|
231
|
-
// 是否解决
|
|
232
225
|
logOrigin: 1
|
|
233
|
-
|
|
234
|
-
};
|
|
235
|
-
await p.request.post("/alarm/deliversign/addVarietyAiHelperLog", i);
|
|
226
|
+
});
|
|
236
227
|
}
|
|
237
228
|
}
|
|
238
|
-
},
|
|
239
|
-
const
|
|
240
|
-
if (!
|
|
241
|
-
return
|
|
242
|
-
if (
|
|
229
|
+
}, G = async () => {
|
|
230
|
+
const n = E.value.trim();
|
|
231
|
+
if (!n)
|
|
232
|
+
return I.warning("请输入消息内容");
|
|
233
|
+
if (y.value)
|
|
243
234
|
return;
|
|
244
|
-
|
|
235
|
+
p.value = [], S.value = !1, o.value.push({
|
|
245
236
|
role: "user",
|
|
246
|
-
content:
|
|
247
|
-
createTime:
|
|
248
|
-
}),
|
|
237
|
+
content: n,
|
|
238
|
+
createTime: L().format("YYYY-MM-DD HH:mm:ss")
|
|
239
|
+
}), E.value = "", await T(), o.value.push({
|
|
249
240
|
role: "assistant",
|
|
250
241
|
content: "",
|
|
251
|
-
userContent:
|
|
242
|
+
userContent: n,
|
|
252
243
|
showFeedback: !1,
|
|
253
244
|
hasFeedback: !1,
|
|
254
|
-
createTime:
|
|
245
|
+
createTime: L().format("YYYY-MM-DD HH:mm:ss"),
|
|
255
246
|
resTime: 0,
|
|
256
247
|
firstPackageTime: 0
|
|
257
|
-
}), await
|
|
258
|
-
let e = "", t = (/* @__PURE__ */ new Date()).getTime();
|
|
248
|
+
}), await T(), y.value = !0, i.value = !0;
|
|
249
|
+
let e = "", t = (/* @__PURE__ */ new Date()).getTime(), f = !1;
|
|
259
250
|
try {
|
|
260
|
-
await
|
|
261
|
-
|
|
251
|
+
await Ee({
|
|
252
|
+
mode: "build:split",
|
|
253
|
+
appId: "1977602b357e4dab9d0b74899d5323b3",
|
|
262
254
|
apiKey: "sk-d995eb26a4334bdeb2ccb4cbfaf51de8",
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
if (
|
|
267
|
-
|
|
255
|
+
token: Se(),
|
|
256
|
+
value: n,
|
|
257
|
+
callback: (V, r) => {
|
|
258
|
+
if (V === "error") {
|
|
259
|
+
i.value = !1, y.value = !1, o.value.pop(), o.value.push({
|
|
268
260
|
role: "assistant",
|
|
269
|
-
userContent:
|
|
270
|
-
content: `❌ ${
|
|
261
|
+
userContent: n,
|
|
262
|
+
content: `❌ ${r}`,
|
|
271
263
|
showFeedback: !1,
|
|
272
264
|
hasFeedback: !1,
|
|
273
|
-
createTime:
|
|
265
|
+
createTime: L().format("YYYY-MM-DD HH:mm:ss"),
|
|
274
266
|
resTime: (/* @__PURE__ */ new Date()).getTime() - t,
|
|
275
267
|
firstPackageTime: 0
|
|
276
|
-
}),
|
|
268
|
+
}), F("default", o.value.length - 1), T();
|
|
277
269
|
return;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
270
|
+
}
|
|
271
|
+
if (V === "node") {
|
|
272
|
+
if (!f) {
|
|
273
|
+
f = !0;
|
|
274
|
+
const c = o.value[o.value.length - 1];
|
|
275
|
+
c && c.role === "assistant" && c.firstPackageTime === 0 && (c.firstPackageTime = (/* @__PURE__ */ new Date()).getTime() - t);
|
|
276
|
+
}
|
|
277
|
+
const a = p.value.find((c) => c.name === r.name);
|
|
278
|
+
a ? a.status = r.status : p.value.push({ name: r.name, status: r.status }), T();
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
if (V === "message") {
|
|
282
|
+
e = r;
|
|
283
|
+
const a = o.value[o.value.length - 1];
|
|
284
|
+
a && a.role === "assistant" && (a.content = e, T());
|
|
285
|
+
}
|
|
286
|
+
if (V === "finish") {
|
|
287
|
+
i.value = !1, y.value = !1, S.value = !0;
|
|
288
|
+
const a = o.value[o.value.length - 1];
|
|
289
|
+
a && a.role === "assistant" && (a.showFeedback = !0, a.resTime = (/* @__PURE__ */ new Date()).getTime() - t, F("default", o.value.length - 1));
|
|
286
290
|
try {
|
|
287
|
-
const
|
|
288
|
-
|
|
289
|
-
const ie = v.customTagNames.reduce((R, re) => {
|
|
290
|
-
const U = z.value[re];
|
|
291
|
-
return U && R.push(U), R;
|
|
292
|
-
}, []);
|
|
293
|
-
delete v.customTagNames, v.customTag = ie;
|
|
294
|
-
}
|
|
295
|
-
A("callBack", v);
|
|
291
|
+
const c = JSON.parse(e);
|
|
292
|
+
c.parsedConditions && delete c.parsedConditions, z("callBack", c);
|
|
296
293
|
} catch {
|
|
297
|
-
|
|
294
|
+
z("callBack", e);
|
|
298
295
|
}
|
|
299
296
|
}
|
|
300
297
|
}
|
|
301
298
|
});
|
|
302
|
-
} catch (
|
|
303
|
-
|
|
299
|
+
} catch (A) {
|
|
300
|
+
I.error(`AI响应异常: ${A}`), o.value.pop(), o.value.push({
|
|
304
301
|
role: "assistant",
|
|
305
|
-
userContent:
|
|
302
|
+
userContent: n,
|
|
306
303
|
content: "❌ 抱歉,AI服务响应异常,请稍后重试。",
|
|
307
304
|
showFeedback: !0,
|
|
308
305
|
hasFeedback: !1,
|
|
309
|
-
createTime:
|
|
306
|
+
createTime: L().format("YYYY-MM-DD HH:mm:ss"),
|
|
310
307
|
resTime: (/* @__PURE__ */ new Date()).getTime() - t,
|
|
311
308
|
firstPackageTime: 0
|
|
312
|
-
}),
|
|
309
|
+
}), F("default", o.value.length - 1), await T(), y.value = !1, i.value = !1;
|
|
313
310
|
}
|
|
314
|
-
},
|
|
315
|
-
if (
|
|
316
|
-
if (
|
|
317
|
-
|
|
318
|
-
const e =
|
|
319
|
-
|
|
320
|
-
` +
|
|
311
|
+
}, le = (n) => {
|
|
312
|
+
if (n.key === "Enter")
|
|
313
|
+
if (n.ctrlKey) {
|
|
314
|
+
n.preventDefault();
|
|
315
|
+
const e = n.target, t = e.selectionStart, f = e.selectionEnd;
|
|
316
|
+
E.value = E.value.substring(0, t) + `
|
|
317
|
+
` + E.value.substring(f), R(() => {
|
|
321
318
|
e.selectionStart = e.selectionEnd = t + 1;
|
|
322
319
|
});
|
|
323
320
|
} else
|
|
324
|
-
|
|
325
|
-
},
|
|
326
|
-
await
|
|
327
|
-
}, ne = async () => {
|
|
328
|
-
const s = await Promise.all([p.request.post("/alarm/deliversign/findTagsByUserId"), p.request.post("/alarm/deliversign/findSystemTagsByTagName")]);
|
|
329
|
-
z.value = s.reduce((e, t) => {
|
|
330
|
-
var i;
|
|
331
|
-
return {
|
|
332
|
-
...e,
|
|
333
|
-
...(i = t.body) == null ? void 0 : i.reduce((D, g) => ({
|
|
334
|
-
...D,
|
|
335
|
-
[g.tagName]: g.id
|
|
336
|
-
}), {})
|
|
337
|
-
};
|
|
338
|
-
}, {});
|
|
321
|
+
n.preventDefault(), G();
|
|
322
|
+
}, T = async () => {
|
|
323
|
+
await R(), b.value && (b.value.scrollTop = b.value.scrollHeight);
|
|
339
324
|
};
|
|
340
|
-
return
|
|
341
|
-
|
|
342
|
-
}), x(
|
|
343
|
-
() => a.value,
|
|
325
|
+
return U(
|
|
326
|
+
() => o.value,
|
|
344
327
|
() => {
|
|
345
|
-
|
|
328
|
+
T();
|
|
346
329
|
},
|
|
347
330
|
{ deep: !0 }
|
|
348
|
-
),
|
|
349
|
-
() =>
|
|
350
|
-
(
|
|
351
|
-
|
|
331
|
+
), U(
|
|
332
|
+
() => Y.value,
|
|
333
|
+
(n) => {
|
|
334
|
+
n || (N.value = "");
|
|
352
335
|
}
|
|
353
|
-
),
|
|
336
|
+
), O({
|
|
354
337
|
open: () => {
|
|
355
|
-
|
|
356
|
-
|
|
338
|
+
P.value = !0, R(() => {
|
|
339
|
+
T();
|
|
357
340
|
});
|
|
358
341
|
}
|
|
359
|
-
}), (
|
|
360
|
-
const t =
|
|
361
|
-
return
|
|
362
|
-
|
|
342
|
+
}), (n, e) => {
|
|
343
|
+
const t = Be, f = ne, A = ge, B = _e, V = ve;
|
|
344
|
+
return l(), u(H, null, [
|
|
345
|
+
m(V, {
|
|
363
346
|
class: "ai-dialog",
|
|
364
|
-
modelValue:
|
|
365
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
347
|
+
modelValue: P.value,
|
|
348
|
+
"onUpdate:modelValue": e[1] || (e[1] = (r) => P.value = r),
|
|
366
349
|
title: "✨ 品种池参数解析AI助手",
|
|
367
350
|
width: "500px",
|
|
368
351
|
center: "",
|
|
@@ -371,85 +354,123 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
371
354
|
modal: !1,
|
|
372
355
|
"modal-penetrable": !0
|
|
373
356
|
}, {
|
|
374
|
-
default:
|
|
375
|
-
var
|
|
357
|
+
default: g(() => {
|
|
358
|
+
var r;
|
|
376
359
|
return [
|
|
377
|
-
|
|
378
|
-
|
|
360
|
+
s("div", Ie, [
|
|
361
|
+
s("div", {
|
|
379
362
|
ref_key: "messageListRef",
|
|
380
|
-
ref:
|
|
363
|
+
ref: b,
|
|
381
364
|
class: "message-list"
|
|
382
365
|
}, [
|
|
383
|
-
(
|
|
384
|
-
key:
|
|
385
|
-
class:
|
|
366
|
+
(l(!0), u(H, null, X(o.value, (a, c) => (l(), u("div", {
|
|
367
|
+
key: c,
|
|
368
|
+
class: ae([a.role, "message-item"])
|
|
386
369
|
}, [
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
370
|
+
a.content || c === o.value.length - 1 && a.role === "assistant" && p.value.length > 0 ? (l(), u(H, { key: 0 }, [
|
|
371
|
+
s("div", $e, [
|
|
372
|
+
m(t, {
|
|
390
373
|
size: 32,
|
|
391
|
-
icon:
|
|
374
|
+
icon: a.role === "user" ? _(Ve) : _(Z)
|
|
392
375
|
}, null, 8, ["icon"])
|
|
393
376
|
]),
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
377
|
+
s("div", Oe, [
|
|
378
|
+
c === o.value.length - 1 && a.role === "assistant" && p.value.length > 0 && !S.value ? (l(), u("div", je, [
|
|
379
|
+
(l(!0), u(H, null, X(p.value, (D) => (l(), u("div", {
|
|
380
|
+
key: D.name,
|
|
381
|
+
class: "node-progress-item"
|
|
382
|
+
}, [
|
|
383
|
+
s("span", xe, [
|
|
384
|
+
D.status === "success" ? (l(), $(f, {
|
|
385
|
+
key: 0,
|
|
386
|
+
class: "node-icon done"
|
|
387
|
+
}, {
|
|
388
|
+
default: g(() => [
|
|
389
|
+
m(_(De))
|
|
390
|
+
]),
|
|
391
|
+
_: 1
|
|
392
|
+
})) : (l(), $(f, {
|
|
393
|
+
key: 1,
|
|
394
|
+
class: "node-icon running"
|
|
395
|
+
}, {
|
|
396
|
+
default: g(() => [
|
|
397
|
+
m(_(ee))
|
|
398
|
+
]),
|
|
399
|
+
_: 1
|
|
400
|
+
}))
|
|
401
|
+
]),
|
|
402
|
+
s("span", Re, J(D.name), 1)
|
|
403
|
+
]))), 128)),
|
|
404
|
+
p.value.length > 0 && p.value.every((D) => D.status === "success") && !S.value ? (l(), u("div", Je, [
|
|
405
|
+
s("span", Ke, [
|
|
406
|
+
m(f, { class: "node-icon waiting" }, {
|
|
407
|
+
default: g(() => [
|
|
408
|
+
m(_(ee))
|
|
409
|
+
]),
|
|
410
|
+
_: 1
|
|
411
|
+
})
|
|
412
|
+
]),
|
|
413
|
+
Ue
|
|
414
|
+
])) : w("", !0)
|
|
415
|
+
])) : w("", !0),
|
|
416
|
+
W(a.content) ? (l(), u("div", {
|
|
417
|
+
key: 1,
|
|
397
418
|
class: "message-json",
|
|
398
|
-
innerHTML:
|
|
399
|
-
}, null, 8,
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
419
|
+
innerHTML: ie(oe(a.content))
|
|
420
|
+
}, null, 8, qe)) : a.content ? (l(), u("div", We, J(a.content), 1)) : w("", !0),
|
|
421
|
+
s("div", Ge, J(a.createTime), 1),
|
|
422
|
+
a.role === "assistant" ? (l(), u(H, { key: 3 }, [
|
|
423
|
+
a.showFeedback && !a.hasFeedback ? (l(), u(H, { key: 0 }, [
|
|
424
|
+
Qe,
|
|
425
|
+
s("div", Xe, [
|
|
426
|
+
s("button", {
|
|
406
427
|
class: "feedback-btn satisfied-btn",
|
|
407
|
-
onClick: (
|
|
408
|
-
},
|
|
409
|
-
|
|
428
|
+
onClick: (D) => F("satisfied", c)
|
|
429
|
+
}, st, 8, Ze),
|
|
430
|
+
s("button", {
|
|
410
431
|
class: "feedback-btn unsatisfied-btn",
|
|
411
|
-
onClick: (
|
|
412
|
-
},
|
|
432
|
+
onClick: (D) => F("open", c)
|
|
433
|
+
}, it, 8, at)
|
|
413
434
|
])
|
|
414
|
-
], 64)) :
|
|
415
|
-
|
|
416
|
-
], 64)) :
|
|
435
|
+
], 64)) : w("", !0),
|
|
436
|
+
a.showFeedback && a.hasFeedback ? (l(), u("div", lt, "感谢您进行的评价反馈")) : w("", !0)
|
|
437
|
+
], 64)) : w("", !0)
|
|
417
438
|
])
|
|
418
|
-
], 64)) :
|
|
439
|
+
], 64)) : w("", !0)
|
|
419
440
|
], 2))), 128)),
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
441
|
+
i.value && p.value.length === 0 && !((r = o.value[o.value.length - 1]) != null && r.content) ? (l(), u("div", rt, [
|
|
442
|
+
s("div", ct, [
|
|
443
|
+
m(t, {
|
|
423
444
|
size: 32,
|
|
424
|
-
icon:
|
|
445
|
+
icon: _(Z)
|
|
425
446
|
}, null, 8, ["icon"])
|
|
426
447
|
]),
|
|
427
|
-
|
|
428
|
-
])) :
|
|
448
|
+
ut
|
|
449
|
+
])) : w("", !0)
|
|
429
450
|
], 512),
|
|
430
|
-
|
|
431
|
-
|
|
451
|
+
s("div", dt, [
|
|
452
|
+
m(A, {
|
|
432
453
|
class: "message-input",
|
|
433
|
-
modelValue:
|
|
434
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
454
|
+
modelValue: E.value,
|
|
455
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => E.value = a),
|
|
435
456
|
type: "textarea",
|
|
436
457
|
rows: 4,
|
|
437
458
|
autosize: { minRows: 2, maxRows: 4 },
|
|
438
459
|
placeholder: "输入您想查询的品种条件...",
|
|
439
|
-
onKeydown:
|
|
460
|
+
onKeydown: le
|
|
440
461
|
}, null, 8, ["modelValue"]),
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
462
|
+
s("div", mt, [
|
|
463
|
+
pt,
|
|
464
|
+
m(B, {
|
|
444
465
|
class: "send-btn",
|
|
445
466
|
type: "primary",
|
|
446
|
-
icon:
|
|
447
|
-
loading:
|
|
448
|
-
onClick:
|
|
467
|
+
icon: _(Me),
|
|
468
|
+
loading: y.value,
|
|
469
|
+
onClick: G,
|
|
449
470
|
round: ""
|
|
450
471
|
}, {
|
|
451
|
-
default:
|
|
452
|
-
|
|
472
|
+
default: g(() => [
|
|
473
|
+
K(" 发送 ")
|
|
453
474
|
]),
|
|
454
475
|
_: 1
|
|
455
476
|
}, 8, ["icon", "loading"])
|
|
@@ -460,40 +481,40 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
460
481
|
}),
|
|
461
482
|
_: 1
|
|
462
483
|
}, 8, ["modelValue"]),
|
|
463
|
-
|
|
464
|
-
modelValue:
|
|
465
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
484
|
+
m(V, {
|
|
485
|
+
modelValue: Y.value,
|
|
486
|
+
"onUpdate:modelValue": e[5] || (e[5] = (r) => Y.value = r),
|
|
466
487
|
title: "📝 反馈意见",
|
|
467
488
|
width: "400px"
|
|
468
489
|
}, {
|
|
469
|
-
footer:
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
onClick: e[3] || (e[3] = (
|
|
490
|
+
footer: g(() => [
|
|
491
|
+
s("span", gt, [
|
|
492
|
+
m(B, {
|
|
493
|
+
onClick: e[3] || (e[3] = (r) => Y.value = !1)
|
|
473
494
|
}, {
|
|
474
|
-
default:
|
|
475
|
-
|
|
495
|
+
default: g(() => [
|
|
496
|
+
K("取消")
|
|
476
497
|
]),
|
|
477
498
|
_: 1
|
|
478
499
|
}),
|
|
479
|
-
|
|
500
|
+
m(B, {
|
|
480
501
|
type: "primary",
|
|
481
|
-
onClick: e[4] || (e[4] = (
|
|
502
|
+
onClick: e[4] || (e[4] = (r) => F("unsatisfied", q.value))
|
|
482
503
|
}, {
|
|
483
|
-
default:
|
|
484
|
-
|
|
504
|
+
default: g(() => [
|
|
505
|
+
K("提交反馈")
|
|
485
506
|
]),
|
|
486
507
|
_: 1
|
|
487
508
|
})
|
|
488
509
|
])
|
|
489
510
|
]),
|
|
490
|
-
default:
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
modelValue:
|
|
496
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
511
|
+
default: g(() => [
|
|
512
|
+
s("div", ft, [
|
|
513
|
+
vt,
|
|
514
|
+
_t,
|
|
515
|
+
m(A, {
|
|
516
|
+
modelValue: N.value,
|
|
517
|
+
"onUpdate:modelValue": e[2] || (e[2] = (r) => N.value = r),
|
|
497
518
|
type: "textarea",
|
|
498
519
|
rows: 4,
|
|
499
520
|
placeholder: "[非必填]例如:回答不够准确、查询结果有误、界面体验不佳..."
|
|
@@ -505,11 +526,11 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
505
526
|
], 64);
|
|
506
527
|
};
|
|
507
528
|
}
|
|
508
|
-
},
|
|
509
|
-
install(
|
|
510
|
-
|
|
529
|
+
}, kt = /* @__PURE__ */ Ye(ht, [["__scopeId", "data-v-c6a98338"]]), Jt = {
|
|
530
|
+
install(d) {
|
|
531
|
+
d.component("st-varietyAiHelper", kt);
|
|
511
532
|
}
|
|
512
533
|
};
|
|
513
534
|
export {
|
|
514
|
-
|
|
535
|
+
Jt as default
|
|
515
536
|
};
|