st-comp 0.0.262 → 0.0.266
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 +31 -31
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +37 -36
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +839 -1593
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +1198 -1
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +89 -89
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +17 -17
- package/es/KlinePlus.cjs +1 -1
- package/es/KlinePlus.js +20 -20
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +25 -25
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +113 -113
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.cjs +1 -1
- package/es/Table.js +29 -29
- package/es/User.cjs +1 -1
- package/es/User.js +25 -25
- package/es/VarSelectDialog.cjs +1 -1
- package/es/VarSelectDialog.js +27 -27
- package/es/VarietyAiHelper.cjs +3 -3
- package/es/VarietyAiHelper.js +324 -283
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +11 -11
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +56 -55
- package/es/{VarietySelect-faef4799.js → VarietySelect-1ac10ec2.js} +4 -4
- package/es/{VarietySelect-5c845562.cjs → VarietySelect-639a8d9a.cjs} +1 -1
- package/es/VarietyTextCopy.cjs +1 -1
- package/es/VarietyTextCopy.js +13 -13
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +14 -14
- package/es/{_initCloneObject-009eedf8.js → _initCloneObject-6b8c230e.js} +7 -7
- package/es/{_initCloneObject-2b82e9f7.cjs → _initCloneObject-9eddcb0c.cjs} +1 -1
- package/es/aiTools-6c9c58bd.cjs +4 -0
- package/es/aiTools-ab67ffa0.js +149 -0
- package/es/aiTools.js +92 -1
- package/es/{base-7ff209fc.js → base-29f73b05.js} +40 -40
- package/es/{castArray-b9f1609f.js → castArray-609a313e.js} +1 -1
- package/es/{config-provider-071b8bec.js → config-provider-56193d47.js} +6 -6
- package/es/{config-provider-2ae47cc8.cjs → config-provider-ea286661.cjs} +1 -1
- package/es/{debounce-23c2f7e1.js → debounce-a09ce9a3.js} +1 -1
- package/es/{dropdown-9941f401.js → dropdown-4e541d60.js} +4 -4
- 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-43f205b0.js → el-autocomplete-4b521c83.js} +17 -17
- package/es/{el-button-7f58608d.js → el-button-4f201000.js} +33 -33
- 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-40664b27.js → el-checkbox-33cb73db.js} +17 -17
- package/es/el-checkbox-group-0ea8fbf8.cjs +1 -0
- package/es/el-checkbox-group-4ed993c7.js +1 -0
- package/es/{el-dialog-2f10a2f4.js → el-dialog-1939f7c5.js} +15 -15
- package/es/{el-dialog-1b185570.cjs → el-dialog-6501a151.cjs} +1 -1
- package/es/{el-divider-4e66c835.js → el-divider-523e5874.js} +1 -1
- package/es/{el-empty-e0d826de.js → el-empty-f5a1607a.js} +5 -5
- package/es/{el-form-item-c997b4fa.cjs → el-form-item-316b35d8.cjs} +1 -1
- package/es/{el-form-item-2b68cdf5.js → el-form-item-ea11211d.js} +36 -36
- package/es/{el-input-fa18ef84.cjs → el-input-094afbe2.cjs} +1 -1
- package/es/{el-input-31a818d4.js → el-input-58786d42.js} +43 -43
- package/es/{el-checkbox-group-f775e73f.cjs → el-input-number-a609a5e3.cjs} +1 -1
- package/es/{el-checkbox-group-3ddad0d7.js → el-input-number-a7971697.js} +30 -30
- package/es/{el-loading-969a79ca.cjs → el-loading-d171ce64.cjs} +1 -1
- package/es/{el-loading-3e350f5e.js → el-loading-f3815921.js} +5 -5
- package/es/el-menu-item-3d1e0aff.cjs +1 -0
- package/es/el-menu-item-a166b997.js +769 -0
- package/es/{el-message-box-31e0aa98.cjs → el-message-box-b8ffcf34.cjs} +1 -1
- package/es/{el-message-box-a3aa9b89.js → el-message-box-f2b667e9.js} +11 -11
- package/es/{el-overlay-4e9a99e0.js → el-overlay-1dfe3675.js} +59 -59
- 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-c2896741.js → el-popconfirm-ca31ceea.js} +12 -12
- package/es/{el-popper-2d3914e4.cjs → el-popper-ce575c12.cjs} +1 -1
- package/es/{el-popper-003b3af7.js → el-popper-db6c599f.js} +177 -177
- package/es/{el-segmented-140ac042.cjs → el-segmented-4d50b63f.cjs} +1 -1
- package/es/{el-segmented-4ae54e6a.js → el-segmented-741f2252.js} +8 -8
- package/es/{el-select-19ee0e79.js → el-select-086bcb6c.js} +65 -65
- 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-3be856d7.js → el-table-column-8a15378a.js} +16 -16
- package/es/{el-tag-19cc5b59.js → el-tag-65a99986.js} +14 -14
- 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-9a7a4f0f.js → el-text-cbb693f2.js} +2 -2
- package/es/{index-99abf4ff.js → index-072c4a65.js} +17 -17
- package/es/{index-299ee017.cjs → index-0f767104.cjs} +1 -1
- package/es/{index-eb99b188.cjs → index-18565979.cjs} +1 -1
- package/es/{index-19ac550e.js → index-1955f23d.js} +49 -49
- package/es/{index-6917da9d.js → index-1e91e986.js} +43 -43
- 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-308aab33.js → index-57d82da0.js} +34 -34
- package/es/{index-e8eeea22.cjs → index-5b546f7d.cjs} +1 -1
- package/es/{index-808db9b4.js → index-7db02db7.js} +11 -11
- package/es/{index-37b8d3c6.cjs → index-7eb88616.cjs} +1 -1
- package/es/{index-d898531c.js → index-8391a3df.js} +37 -37
- package/es/{index-6b99def3.cjs → index-8439d2f9.cjs} +1 -1
- package/es/{index-40f05e2c.cjs → index-8b055879.cjs} +2 -2
- package/es/{index-f3799536.js → index-a4e252a0.js} +2 -2
- package/es/{index-b56d81e8.js → index-b51915a2.js} +3 -3
- package/es/{index-28e03bad.cjs → index-bf98dd03.cjs} +1 -1
- package/es/{index-e17987ac.js → index-ca91ac68.js} +83 -68
- package/es/{index-41dd5a1c.js → index-d857270a.js} +10 -10
- package/es/{index-f402d1da.js → index-de24705f.js} +1 -1
- package/es/{index-6d530e54.js → index-ff26b1a6.js} +13 -13
- package/es/{python-02c3937a.cjs → python-5b5c9c58.cjs} +1 -1
- package/es/{python-be79c7c1.js → python-ad9239f9.js} +25 -25
- package/es/raf-744cf95a.js +6 -0
- package/es/{scroll-8642151c.js → scroll-6799bafc.js} +5 -5
- 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-d170ccfd.js → use-form-common-props-c14990b9.js} +65 -65
- package/es/{use-global-config-c80f33a4.cjs → use-global-config-28efb416.cjs} +1 -1
- package/es/{use-global-config-74436b92.js → use-global-config-a01b5ce1.js} +14 -14
- package/es/{validator-07160325.cjs → validator-119fdaf4.cjs} +1 -1
- package/es/{validator-672bad4a.js → validator-65de1caf.js} +1 -1
- package/es/{vnode-6d2615f0.js → vnode-a83e6de8.js} +1 -1
- package/es/{zh-cn-6a0f844c.cjs → zh-cn-9fb29a39.cjs} +1 -1
- package/es/{zh-cn-ed10eeb1.js → zh-cn-c1c28e70.js} +2 -2
- package/lib/aiTools.js +92 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +182 -181
- package/lib/{index-c3ddbee7.js → index-53b3465c.js} +18966 -18852
- package/lib/{python-da8fd227.js → python-4a270481.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineBasic/index.vue +1 -1
- package/packages/VarietyAiHelper/index.vue +271 -290
- package/public/aiTools.js +92 -1
- package/es/aiTools-2e1f92d2.cjs +0 -3
- package/es/aiTools-faa0a14d.js +0 -90
- package/es/raf-ba3dfafe.js +0 -6
package/es/VarietyAiHelper.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { E as
|
|
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
|
|
11
|
-
import { _ as
|
|
12
|
-
import { E as
|
|
13
|
-
import {
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
1
|
+
import { b as fe, p as ne, e as ve, u as _e, c as ge, n as he, _ as ke, w as ye } from "./base-29f73b05.js";
|
|
2
|
+
import { E as be } from "./el-dialog-1939f7c5.js";
|
|
3
|
+
import "./el-overlay-1dfe3675.js";
|
|
4
|
+
import { E as Te } from "./el-button-4f201000.js";
|
|
5
|
+
import { E as we } from "./el-input-58786d42.js";
|
|
6
|
+
import { defineComponent as oe, ref as v, computed as R, watch as U, openBlock as r, createElementBlock as d, normalizeClass as ie, unref as h, normalizeStyle as ee, createBlock as O, withCtx as k, resolveDynamicComponent as Se, renderSlot as Ce, inject as Ee, reactive as Me, onMounted as Ve, nextTick as q, Fragment as P, createVNode as f, createElementVNode as s, renderList as te, toDisplayString as J, createCommentVNode as S, createTextVNode as K, pushScopeId as Ne, popScopeId as De } from "vue";
|
|
7
|
+
import { d as L } from "./dayjs.min-8313b006.js";
|
|
8
|
+
import { V as Ye } from "./index-7ed0999e.js";
|
|
9
|
+
import { s as Fe } from "./aiTools-ab67ffa0.js";
|
|
10
|
+
import { E as le, u as Pe, s as se, p as He, t as ae, v as Ae } from "./index-ca91ac68.js";
|
|
11
|
+
import { _ as Le } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
|
+
import { E as $ } from "./index-072c4a65.js";
|
|
13
|
+
import { k as ze, i as Be } from "./use-form-common-props-c14990b9.js";
|
|
14
|
+
import "./index-1955f23d.js";
|
|
15
|
+
import "./index-8391a3df.js";
|
|
16
|
+
import "./index-de24705f.js";
|
|
17
17
|
import "./index-2e331d74.js";
|
|
18
|
-
import "./vnode-
|
|
19
|
-
import "./scroll-
|
|
20
|
-
import "./use-global-config-
|
|
21
|
-
import "./index-
|
|
18
|
+
import "./vnode-a83e6de8.js";
|
|
19
|
+
import "./scroll-6799bafc.js";
|
|
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
|
|
24
|
+
import "./index-7db02db7.js";
|
|
25
|
+
import "./config-provider-56193d47.js";
|
|
26
|
+
const Ie = fe({
|
|
27
27
|
size: {
|
|
28
28
|
type: [Number, String],
|
|
29
|
-
values:
|
|
29
|
+
values: ze,
|
|
30
30
|
default: "",
|
|
31
|
-
validator: (
|
|
31
|
+
validator: (p) => ne(p)
|
|
32
32
|
},
|
|
33
33
|
shape: {
|
|
34
34
|
type: String,
|
|
@@ -36,7 +36,7 @@ const Pe = le({
|
|
|
36
36
|
default: "circle"
|
|
37
37
|
},
|
|
38
38
|
icon: {
|
|
39
|
-
type:
|
|
39
|
+
type: Be
|
|
40
40
|
},
|
|
41
41
|
src: {
|
|
42
42
|
type: String,
|
|
@@ -45,79 +45,85 @@ const Pe = le({
|
|
|
45
45
|
alt: String,
|
|
46
46
|
srcSet: String,
|
|
47
47
|
fit: {
|
|
48
|
-
type:
|
|
48
|
+
type: ve(String),
|
|
49
49
|
default: "cover"
|
|
50
50
|
}
|
|
51
|
-
}),
|
|
52
|
-
error: (
|
|
53
|
-
},
|
|
51
|
+
}), $e = {
|
|
52
|
+
error: (p) => p instanceof Event
|
|
53
|
+
}, Oe = oe({
|
|
54
54
|
name: "ElAvatar"
|
|
55
|
-
}),
|
|
56
|
-
...
|
|
57
|
-
props:
|
|
58
|
-
emits:
|
|
59
|
-
setup(
|
|
60
|
-
const
|
|
61
|
-
const { size:
|
|
62
|
-
return
|
|
63
|
-
}),
|
|
64
|
-
const { size:
|
|
65
|
-
return
|
|
66
|
-
size:
|
|
55
|
+
}), je = /* @__PURE__ */ oe({
|
|
56
|
+
...Oe,
|
|
57
|
+
props: Ie,
|
|
58
|
+
emits: $e,
|
|
59
|
+
setup(p, { emit: j }) {
|
|
60
|
+
const D = p, g = _e("avatar"), C = v(!1), H = R(() => {
|
|
61
|
+
const { size: o, icon: T, shape: _ } = D, b = [g.b()];
|
|
62
|
+
return ge(o) && b.push(g.m(o)), T && b.push(g.m("icon")), _ && b.push(g.m(_)), b;
|
|
63
|
+
}), z = R(() => {
|
|
64
|
+
const { size: o } = D;
|
|
65
|
+
return ne(o) ? g.cssVarBlock({
|
|
66
|
+
size: he(o) || ""
|
|
67
67
|
}) : void 0;
|
|
68
|
-
}),
|
|
69
|
-
objectFit:
|
|
68
|
+
}), x = R(() => ({
|
|
69
|
+
objectFit: D.fit
|
|
70
70
|
}));
|
|
71
|
-
|
|
72
|
-
function
|
|
73
|
-
|
|
71
|
+
U(() => D.src, () => C.value = !1);
|
|
72
|
+
function B(o) {
|
|
73
|
+
C.value = !0, j("error", o);
|
|
74
74
|
}
|
|
75
|
-
return (
|
|
76
|
-
class:
|
|
77
|
-
style:
|
|
75
|
+
return (o, T) => (r(), d("span", {
|
|
76
|
+
class: ie(h(H)),
|
|
77
|
+
style: ee(h(z))
|
|
78
78
|
}, [
|
|
79
|
-
(
|
|
79
|
+
(o.src || o.srcSet) && !C.value ? (r(), d("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: o.src,
|
|
82
|
+
alt: o.alt,
|
|
83
|
+
srcset: o.srcSet,
|
|
84
|
+
style: ee(h(x)),
|
|
85
|
+
onError: B
|
|
86
|
+
}, null, 44, ["src", "alt", "srcset"])) : o.icon ? (r(), O(h(le), { key: 1 }, {
|
|
87
|
+
default: k(() => [
|
|
88
|
+
(r(), O(Se(o.icon)))
|
|
89
89
|
]),
|
|
90
90
|
_: 1
|
|
91
|
-
})) :
|
|
91
|
+
})) : Ce(o.$slots, "default", { key: 2 })
|
|
92
92
|
], 6));
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
|
-
var
|
|
96
|
-
const
|
|
97
|
-
const
|
|
98
|
-
key:
|
|
95
|
+
var xe = /* @__PURE__ */ ke(je, [["__file", "avatar.vue"]]);
|
|
96
|
+
const Re = ye(xe);
|
|
97
|
+
const y = (p) => (Ne("data-v-3015ca89"), p = p(), De(), p), qe = { class: "ai-dialog-body" }, Je = { class: "avatar" }, Ke = { class: "message-content" }, Ue = {
|
|
98
|
+
key: 0,
|
|
99
|
+
class: "node-progress"
|
|
100
|
+
}, We = { class: "node-status-icon" }, Ge = { class: "node-name" }, Qe = {
|
|
101
|
+
key: 0,
|
|
102
|
+
class: "node-progress-item next-step"
|
|
103
|
+
}, Xe = { class: "node-status-icon" }, Ze = /* @__PURE__ */ y(() => /* @__PURE__ */ s("span", { class: "node-name" }, "正在执行下一步...", -1)), et = ["innerHTML"], tt = {
|
|
104
|
+
key: 2,
|
|
99
105
|
class: "message-text"
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
],
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
],
|
|
106
|
+
}, st = { class: "message-createTime" }, at = /* @__PURE__ */ y(() => /* @__PURE__ */ s("div", { class: "message-createTime" }, "请问对本轮查询结果是否满意?", -1)), nt = { class: "feedback-buttons" }, ot = ["onClick"], it = /* @__PURE__ */ y(() => /* @__PURE__ */ s("span", { class: "btn-emoji" }, "👍", -1)), lt = /* @__PURE__ */ y(() => /* @__PURE__ */ s("span", { class: "btn-text" }, "满意", -1)), rt = [
|
|
107
|
+
it,
|
|
108
|
+
lt
|
|
109
|
+
], ct = ["onClick"], ut = /* @__PURE__ */ y(() => /* @__PURE__ */ s("span", { class: "btn-emoji" }, "👎", -1)), dt = /* @__PURE__ */ y(() => /* @__PURE__ */ s("span", { class: "btn-text" }, "不满意", -1)), mt = [
|
|
110
|
+
ut,
|
|
111
|
+
dt
|
|
112
|
+
], pt = {
|
|
107
113
|
key: 1,
|
|
108
114
|
class: "message-createTime"
|
|
109
|
-
},
|
|
115
|
+
}, ft = {
|
|
110
116
|
key: 0,
|
|
111
117
|
class: "message-item assistant"
|
|
112
|
-
},
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
118
|
+
}, vt = { class: "avatar" }, _t = /* @__PURE__ */ y(() => /* @__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)), gt = { class: "input-area" }, ht = { class: "input-actions" }, kt = /* @__PURE__ */ y(() => /* @__PURE__ */ s("div", { class: "input-hint" }, [
|
|
125
|
+
/* @__PURE__ */ s("span", null, "Enter 发送 | Ctrl + Enter 换行")
|
|
126
|
+
], -1)), yt = { class: "feedback-dialog-content" }, bt = /* @__PURE__ */ y(() => /* @__PURE__ */ s("div", { class: "feedback-emoji" }, "😟", -1)), Tt = /* @__PURE__ */ y(() => /* @__PURE__ */ s("p", { class: "feedback-tip" }, "很抱歉没能帮到您,请告诉我们哪里需要改进:", -1)), wt = { class: "dialog-footer" }, St = {
|
|
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(p, { expose: j, emit: D }) {
|
|
139
|
+
const g = Ee("stConfig"), C = Me(Ye()), H = v(!1), z = D, x = p, B = v(), o = v(!1), T = v(!1), _ = v([]), b = v(!1), I = v(null), n = v([
|
|
134
140
|
{
|
|
135
141
|
role: "assistant",
|
|
136
|
-
|
|
137
|
-
content: I.defaultMessage,
|
|
142
|
+
content: x.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), A = v(""), W = v({}), G = (a) => {
|
|
151
|
+
if (typeof a != "string")
|
|
152
152
|
return !1;
|
|
153
153
|
try {
|
|
154
|
-
const e = JSON.parse(
|
|
154
|
+
const e = JSON.parse(a);
|
|
155
155
|
return e !== null && typeof e == "object";
|
|
156
156
|
} catch {
|
|
157
157
|
return !1;
|
|
158
158
|
}
|
|
159
|
-
},
|
|
160
|
-
if (!
|
|
159
|
+
}, re = (a) => {
|
|
160
|
+
if (!G(a))
|
|
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(a), { parsedConditions: t, ...m } = e;
|
|
164
|
+
return { parsedConditions: t, webParams: m };
|
|
168
165
|
} catch {
|
|
169
166
|
return null;
|
|
170
167
|
}
|
|
171
|
-
},
|
|
168
|
+
}, ce = (a) => {
|
|
172
169
|
var t;
|
|
173
|
-
if (!
|
|
170
|
+
if (!a)
|
|
174
171
|
return "";
|
|
175
172
|
let e = "";
|
|
176
|
-
return (t =
|
|
177
|
-
e += `<div class="parsed-conditions-item">${
|
|
173
|
+
return (t = a.parsedConditions) != null && t.length && (e += '<div class="parsed-conditions">', a.parsedConditions.forEach((m) => {
|
|
174
|
+
e += `<div class="parsed-conditions-item">${m}</div>`;
|
|
178
175
|
}), e += "</div>"), e;
|
|
179
|
-
},
|
|
180
|
-
switch (
|
|
176
|
+
}, F = async (a, e) => {
|
|
177
|
+
switch (a) {
|
|
181
178
|
case "satisfied": {
|
|
182
|
-
const t =
|
|
183
|
-
|
|
179
|
+
const t = n.value[e];
|
|
180
|
+
await g.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,186 @@ 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
|
+
}), $.success("感谢您的评价!"), n.value[e].hasFeedback = !0;
|
|
196
191
|
break;
|
|
197
192
|
}
|
|
198
193
|
case "open": {
|
|
199
|
-
|
|
194
|
+
W.value = e, Y.value = !0;
|
|
200
195
|
break;
|
|
201
196
|
}
|
|
202
197
|
case "unsatisfied": {
|
|
203
|
-
const t =
|
|
204
|
-
|
|
198
|
+
const t = n.value[e];
|
|
199
|
+
await g.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
|
|
200
|
+
userName: C.username,
|
|
205
201
|
userContent: t.userContent,
|
|
206
|
-
userSuggestion:
|
|
202
|
+
userSuggestion: A.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
|
+
}), $.success("感谢您的反馈!我们将持续跟踪并进行优化"), Y.value = !1, n.value[e].hasFeedback = !0;
|
|
218
211
|
break;
|
|
219
212
|
}
|
|
220
213
|
case "default": {
|
|
221
|
-
const t =
|
|
222
|
-
|
|
214
|
+
const t = n.value[e];
|
|
215
|
+
await g.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
|
|
216
|
+
userName: C.username,
|
|
223
217
|
userContent: t.userContent,
|
|
224
|
-
userSuggestion:
|
|
218
|
+
userSuggestion: A.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
|
+
}, Q = async () => {
|
|
230
|
+
const a = E.value.trim();
|
|
231
|
+
if (!a)
|
|
232
|
+
return $.warning("请输入消息内容");
|
|
233
|
+
if (o.value)
|
|
243
234
|
return;
|
|
244
|
-
|
|
235
|
+
_.value = [], b.value = !1, n.value.push({
|
|
245
236
|
role: "user",
|
|
246
|
-
content:
|
|
247
|
-
createTime:
|
|
248
|
-
}),
|
|
237
|
+
content: a,
|
|
238
|
+
createTime: L().format("YYYY-MM-DD HH:mm:ss")
|
|
239
|
+
}), E.value = "", await w(), n.value.push({
|
|
249
240
|
role: "assistant",
|
|
250
241
|
content: "",
|
|
251
|
-
userContent:
|
|
242
|
+
userContent: a,
|
|
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 w(), o.value = !0, T.value = !0;
|
|
249
|
+
let e = "", t = (/* @__PURE__ */ new Date()).getTime(), m = !1;
|
|
259
250
|
try {
|
|
260
|
-
await
|
|
261
|
-
appId: "
|
|
251
|
+
await Fe({
|
|
252
|
+
appId: "1977602b357e4dab9d0b74899d5323b3",
|
|
262
253
|
apiKey: "sk-d995eb26a4334bdeb2ccb4cbfaf51de8",
|
|
263
|
-
value:
|
|
264
|
-
callback: (
|
|
265
|
-
var
|
|
266
|
-
if (
|
|
267
|
-
|
|
254
|
+
value: a,
|
|
255
|
+
callback: (N, c) => {
|
|
256
|
+
var l;
|
|
257
|
+
if (N === "error") {
|
|
258
|
+
T.value = !1, o.value = !1, n.value.pop(), n.value.push({
|
|
268
259
|
role: "assistant",
|
|
269
|
-
userContent:
|
|
270
|
-
content: `❌ ${
|
|
260
|
+
userContent: a,
|
|
261
|
+
content: `❌ ${c}`,
|
|
271
262
|
showFeedback: !1,
|
|
272
263
|
hasFeedback: !1,
|
|
273
|
-
createTime:
|
|
264
|
+
createTime: L().format("YYYY-MM-DD HH:mm:ss"),
|
|
274
265
|
resTime: (/* @__PURE__ */ new Date()).getTime() - t,
|
|
275
266
|
firstPackageTime: 0
|
|
276
|
-
}),
|
|
267
|
+
}), F("default", n.value.length - 1), w();
|
|
277
268
|
return;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
269
|
+
}
|
|
270
|
+
if (N === "node") {
|
|
271
|
+
if (!m) {
|
|
272
|
+
m = !0;
|
|
273
|
+
const i = n.value[n.value.length - 1];
|
|
274
|
+
i && i.role === "assistant" && i.firstPackageTime === 0 && (i.firstPackageTime = (/* @__PURE__ */ new Date()).getTime() - t);
|
|
275
|
+
}
|
|
276
|
+
const u = _.value.find((i) => i.name === c.name);
|
|
277
|
+
u ? u.status = c.status : _.value.push({ name: c.name, status: c.status }), w();
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
if (N === "message") {
|
|
281
|
+
e = c;
|
|
282
|
+
const u = n.value[n.value.length - 1];
|
|
283
|
+
u && u.role === "assistant" && (u.content = e, w());
|
|
284
|
+
}
|
|
285
|
+
if (N === "finish") {
|
|
286
|
+
T.value = !1, o.value = !1, b.value = !0;
|
|
287
|
+
const u = n.value[n.value.length - 1];
|
|
288
|
+
u && u.role === "assistant" && (u.showFeedback = !0, u.resTime = (/* @__PURE__ */ new Date()).getTime() - t, F("default", n.value.length - 1));
|
|
286
289
|
try {
|
|
287
|
-
const
|
|
288
|
-
if (
|
|
289
|
-
const
|
|
290
|
-
const
|
|
291
|
-
return
|
|
290
|
+
const i = JSON.parse(e);
|
|
291
|
+
if (i.parsedConditions && delete i.parsedConditions, (l = i.customTagNames) != null && l.length) {
|
|
292
|
+
const me = i.customTagNames.reduce((X, pe) => {
|
|
293
|
+
const Z = B.value[pe];
|
|
294
|
+
return Z && X.push(Z), X;
|
|
292
295
|
}, []);
|
|
293
|
-
delete
|
|
296
|
+
delete i.customTagNames, i.customTag = me;
|
|
294
297
|
}
|
|
295
|
-
|
|
298
|
+
z("callBack", i);
|
|
296
299
|
} catch {
|
|
297
|
-
|
|
300
|
+
z("callBack", e);
|
|
298
301
|
}
|
|
299
302
|
}
|
|
300
303
|
}
|
|
301
304
|
});
|
|
302
|
-
} catch (
|
|
303
|
-
|
|
305
|
+
} catch (M) {
|
|
306
|
+
$.error(`AI响应异常: ${M}`), n.value.pop(), n.value.push({
|
|
304
307
|
role: "assistant",
|
|
305
|
-
userContent:
|
|
308
|
+
userContent: a,
|
|
306
309
|
content: "❌ 抱歉,AI服务响应异常,请稍后重试。",
|
|
307
310
|
showFeedback: !0,
|
|
308
311
|
hasFeedback: !1,
|
|
309
|
-
createTime:
|
|
312
|
+
createTime: L().format("YYYY-MM-DD HH:mm:ss"),
|
|
310
313
|
resTime: (/* @__PURE__ */ new Date()).getTime() - t,
|
|
311
314
|
firstPackageTime: 0
|
|
312
|
-
}),
|
|
315
|
+
}), F("default", n.value.length - 1), await w(), o.value = !1, T.value = !1;
|
|
313
316
|
}
|
|
314
|
-
},
|
|
315
|
-
if (
|
|
316
|
-
if (
|
|
317
|
-
|
|
318
|
-
const e =
|
|
319
|
-
|
|
320
|
-
` +
|
|
317
|
+
}, ue = (a) => {
|
|
318
|
+
if (a.key === "Enter")
|
|
319
|
+
if (a.ctrlKey) {
|
|
320
|
+
a.preventDefault();
|
|
321
|
+
const e = a.target, t = e.selectionStart, m = e.selectionEnd;
|
|
322
|
+
E.value = E.value.substring(0, t) + `
|
|
323
|
+
` + E.value.substring(m), q(() => {
|
|
321
324
|
e.selectionStart = e.selectionEnd = t + 1;
|
|
322
325
|
});
|
|
323
326
|
} else
|
|
324
|
-
|
|
325
|
-
},
|
|
326
|
-
await
|
|
327
|
-
},
|
|
328
|
-
const
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
a.preventDefault(), Q();
|
|
328
|
+
}, w = async () => {
|
|
329
|
+
await q(), I.value && (I.value.scrollTop = I.value.scrollHeight);
|
|
330
|
+
}, de = async () => {
|
|
331
|
+
const a = await Promise.all([
|
|
332
|
+
g.request.post("/alarm/deliversign/findTagsByUserId"),
|
|
333
|
+
g.request.post("/alarm/deliversign/findSystemTagsByTagName")
|
|
334
|
+
]);
|
|
335
|
+
B.value = a.reduce((e, t) => {
|
|
336
|
+
var m;
|
|
331
337
|
return {
|
|
332
338
|
...e,
|
|
333
|
-
...(
|
|
334
|
-
...D,
|
|
335
|
-
[g.tagName]: g.id
|
|
336
|
-
}), {})
|
|
339
|
+
...(m = t.body) == null ? void 0 : m.reduce((M, V) => ({ ...M, [V.tagName]: V.id }), {})
|
|
337
340
|
};
|
|
338
341
|
}, {});
|
|
339
342
|
};
|
|
340
|
-
return
|
|
341
|
-
|
|
342
|
-
}),
|
|
343
|
-
() =>
|
|
343
|
+
return Ve(() => {
|
|
344
|
+
de();
|
|
345
|
+
}), U(
|
|
346
|
+
() => n.value,
|
|
344
347
|
() => {
|
|
345
|
-
|
|
348
|
+
w();
|
|
346
349
|
},
|
|
347
350
|
{ deep: !0 }
|
|
348
|
-
),
|
|
349
|
-
() =>
|
|
350
|
-
(
|
|
351
|
-
|
|
351
|
+
), U(
|
|
352
|
+
() => Y.value,
|
|
353
|
+
(a) => {
|
|
354
|
+
a || (A.value = "");
|
|
352
355
|
}
|
|
353
|
-
),
|
|
356
|
+
), j({
|
|
354
357
|
open: () => {
|
|
355
|
-
|
|
356
|
-
|
|
358
|
+
H.value = !0, q(() => {
|
|
359
|
+
w();
|
|
357
360
|
});
|
|
358
361
|
}
|
|
359
|
-
}), (
|
|
360
|
-
const t =
|
|
361
|
-
return
|
|
362
|
-
|
|
362
|
+
}), (a, e) => {
|
|
363
|
+
const t = Re, m = le, M = we, V = Te, N = be;
|
|
364
|
+
return r(), d(P, null, [
|
|
365
|
+
f(N, {
|
|
363
366
|
class: "ai-dialog",
|
|
364
|
-
modelValue:
|
|
365
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
367
|
+
modelValue: H.value,
|
|
368
|
+
"onUpdate:modelValue": e[1] || (e[1] = (c) => H.value = c),
|
|
366
369
|
title: "✨ 品种池参数解析AI助手",
|
|
367
370
|
width: "500px",
|
|
368
371
|
center: "",
|
|
@@ -371,85 +374,123 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
371
374
|
modal: !1,
|
|
372
375
|
"modal-penetrable": !0
|
|
373
376
|
}, {
|
|
374
|
-
default:
|
|
375
|
-
var
|
|
377
|
+
default: k(() => {
|
|
378
|
+
var c;
|
|
376
379
|
return [
|
|
377
|
-
|
|
378
|
-
|
|
380
|
+
s("div", qe, [
|
|
381
|
+
s("div", {
|
|
379
382
|
ref_key: "messageListRef",
|
|
380
|
-
ref:
|
|
383
|
+
ref: I,
|
|
381
384
|
class: "message-list"
|
|
382
385
|
}, [
|
|
383
|
-
(
|
|
384
|
-
key:
|
|
385
|
-
class:
|
|
386
|
+
(r(!0), d(P, null, te(n.value, (l, u) => (r(), d("div", {
|
|
387
|
+
key: u,
|
|
388
|
+
class: ie([l.role, "message-item"])
|
|
386
389
|
}, [
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
+
l.content || u === n.value.length - 1 && l.role === "assistant" && _.value.length > 0 ? (r(), d(P, { key: 0 }, [
|
|
391
|
+
s("div", Je, [
|
|
392
|
+
f(t, {
|
|
390
393
|
size: 32,
|
|
391
|
-
icon:
|
|
394
|
+
icon: l.role === "user" ? h(Pe) : h(se)
|
|
392
395
|
}, null, 8, ["icon"])
|
|
393
396
|
]),
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
+
s("div", Ke, [
|
|
398
|
+
u === n.value.length - 1 && l.role === "assistant" && _.value.length > 0 && !b.value ? (r(), d("div", Ue, [
|
|
399
|
+
(r(!0), d(P, null, te(_.value, (i) => (r(), d("div", {
|
|
400
|
+
key: i.name,
|
|
401
|
+
class: "node-progress-item"
|
|
402
|
+
}, [
|
|
403
|
+
s("span", We, [
|
|
404
|
+
i.status === "success" ? (r(), O(m, {
|
|
405
|
+
key: 0,
|
|
406
|
+
class: "node-icon done"
|
|
407
|
+
}, {
|
|
408
|
+
default: k(() => [
|
|
409
|
+
f(h(He))
|
|
410
|
+
]),
|
|
411
|
+
_: 1
|
|
412
|
+
})) : (r(), O(m, {
|
|
413
|
+
key: 1,
|
|
414
|
+
class: "node-icon running"
|
|
415
|
+
}, {
|
|
416
|
+
default: k(() => [
|
|
417
|
+
f(h(ae))
|
|
418
|
+
]),
|
|
419
|
+
_: 1
|
|
420
|
+
}))
|
|
421
|
+
]),
|
|
422
|
+
s("span", Ge, J(i.name), 1)
|
|
423
|
+
]))), 128)),
|
|
424
|
+
_.value.length > 0 && _.value.every((i) => i.status === "success") && !b.value ? (r(), d("div", Qe, [
|
|
425
|
+
s("span", Xe, [
|
|
426
|
+
f(m, { class: "node-icon waiting" }, {
|
|
427
|
+
default: k(() => [
|
|
428
|
+
f(h(ae))
|
|
429
|
+
]),
|
|
430
|
+
_: 1
|
|
431
|
+
})
|
|
432
|
+
]),
|
|
433
|
+
Ze
|
|
434
|
+
])) : S("", !0)
|
|
435
|
+
])) : S("", !0),
|
|
436
|
+
G(l.content) ? (r(), d("div", {
|
|
437
|
+
key: 1,
|
|
397
438
|
class: "message-json",
|
|
398
|
-
innerHTML:
|
|
399
|
-
}, null, 8,
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
439
|
+
innerHTML: ce(re(l.content))
|
|
440
|
+
}, null, 8, et)) : l.content ? (r(), d("div", tt, J(l.content), 1)) : S("", !0),
|
|
441
|
+
s("div", st, J(l.createTime), 1),
|
|
442
|
+
l.role === "assistant" ? (r(), d(P, { key: 3 }, [
|
|
443
|
+
l.showFeedback && !l.hasFeedback ? (r(), d(P, { key: 0 }, [
|
|
444
|
+
at,
|
|
445
|
+
s("div", nt, [
|
|
446
|
+
s("button", {
|
|
406
447
|
class: "feedback-btn satisfied-btn",
|
|
407
|
-
onClick: (
|
|
408
|
-
},
|
|
409
|
-
|
|
448
|
+
onClick: (i) => F("satisfied", u)
|
|
449
|
+
}, rt, 8, ot),
|
|
450
|
+
s("button", {
|
|
410
451
|
class: "feedback-btn unsatisfied-btn",
|
|
411
|
-
onClick: (
|
|
412
|
-
},
|
|
452
|
+
onClick: (i) => F("open", u)
|
|
453
|
+
}, mt, 8, ct)
|
|
413
454
|
])
|
|
414
|
-
], 64)) :
|
|
415
|
-
|
|
416
|
-
], 64)) :
|
|
455
|
+
], 64)) : S("", !0),
|
|
456
|
+
l.showFeedback && l.hasFeedback ? (r(), d("div", pt, "感谢您进行的评价反馈")) : S("", !0)
|
|
457
|
+
], 64)) : S("", !0)
|
|
417
458
|
])
|
|
418
|
-
], 64)) :
|
|
459
|
+
], 64)) : S("", !0)
|
|
419
460
|
], 2))), 128)),
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
461
|
+
T.value && _.value.length === 0 && !((c = n.value[n.value.length - 1]) != null && c.content) ? (r(), d("div", ft, [
|
|
462
|
+
s("div", vt, [
|
|
463
|
+
f(t, {
|
|
423
464
|
size: 32,
|
|
424
|
-
icon:
|
|
465
|
+
icon: h(se)
|
|
425
466
|
}, null, 8, ["icon"])
|
|
426
467
|
]),
|
|
427
|
-
|
|
428
|
-
])) :
|
|
468
|
+
_t
|
|
469
|
+
])) : S("", !0)
|
|
429
470
|
], 512),
|
|
430
|
-
|
|
431
|
-
|
|
471
|
+
s("div", gt, [
|
|
472
|
+
f(M, {
|
|
432
473
|
class: "message-input",
|
|
433
|
-
modelValue:
|
|
434
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
474
|
+
modelValue: E.value,
|
|
475
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => E.value = l),
|
|
435
476
|
type: "textarea",
|
|
436
477
|
rows: 4,
|
|
437
478
|
autosize: { minRows: 2, maxRows: 4 },
|
|
438
479
|
placeholder: "输入您想查询的品种条件...",
|
|
439
|
-
onKeydown:
|
|
480
|
+
onKeydown: ue
|
|
440
481
|
}, null, 8, ["modelValue"]),
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
482
|
+
s("div", ht, [
|
|
483
|
+
kt,
|
|
484
|
+
f(V, {
|
|
444
485
|
class: "send-btn",
|
|
445
486
|
type: "primary",
|
|
446
|
-
icon:
|
|
447
|
-
loading:
|
|
448
|
-
onClick:
|
|
487
|
+
icon: h(Ae),
|
|
488
|
+
loading: o.value,
|
|
489
|
+
onClick: Q,
|
|
449
490
|
round: ""
|
|
450
491
|
}, {
|
|
451
|
-
default:
|
|
452
|
-
|
|
492
|
+
default: k(() => [
|
|
493
|
+
K(" 发送 ")
|
|
453
494
|
]),
|
|
454
495
|
_: 1
|
|
455
496
|
}, 8, ["icon", "loading"])
|
|
@@ -460,40 +501,40 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
460
501
|
}),
|
|
461
502
|
_: 1
|
|
462
503
|
}, 8, ["modelValue"]),
|
|
463
|
-
|
|
464
|
-
modelValue:
|
|
465
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
504
|
+
f(N, {
|
|
505
|
+
modelValue: Y.value,
|
|
506
|
+
"onUpdate:modelValue": e[5] || (e[5] = (c) => Y.value = c),
|
|
466
507
|
title: "📝 反馈意见",
|
|
467
508
|
width: "400px"
|
|
468
509
|
}, {
|
|
469
|
-
footer:
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
onClick: e[3] || (e[3] = (
|
|
510
|
+
footer: k(() => [
|
|
511
|
+
s("span", wt, [
|
|
512
|
+
f(V, {
|
|
513
|
+
onClick: e[3] || (e[3] = (c) => Y.value = !1)
|
|
473
514
|
}, {
|
|
474
|
-
default:
|
|
475
|
-
|
|
515
|
+
default: k(() => [
|
|
516
|
+
K("取消")
|
|
476
517
|
]),
|
|
477
518
|
_: 1
|
|
478
519
|
}),
|
|
479
|
-
|
|
520
|
+
f(V, {
|
|
480
521
|
type: "primary",
|
|
481
|
-
onClick: e[4] || (e[4] = (
|
|
522
|
+
onClick: e[4] || (e[4] = (c) => F("unsatisfied", W.value))
|
|
482
523
|
}, {
|
|
483
|
-
default:
|
|
484
|
-
|
|
524
|
+
default: k(() => [
|
|
525
|
+
K("提交反馈")
|
|
485
526
|
]),
|
|
486
527
|
_: 1
|
|
487
528
|
})
|
|
488
529
|
])
|
|
489
530
|
]),
|
|
490
|
-
default:
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
modelValue:
|
|
496
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
531
|
+
default: k(() => [
|
|
532
|
+
s("div", yt, [
|
|
533
|
+
bt,
|
|
534
|
+
Tt,
|
|
535
|
+
f(M, {
|
|
536
|
+
modelValue: A.value,
|
|
537
|
+
"onUpdate:modelValue": e[2] || (e[2] = (c) => A.value = c),
|
|
497
538
|
type: "textarea",
|
|
498
539
|
rows: 4,
|
|
499
540
|
placeholder: "[非必填]例如:回答不够准确、查询结果有误、界面体验不佳..."
|
|
@@ -505,11 +546,11 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
505
546
|
], 64);
|
|
506
547
|
};
|
|
507
548
|
}
|
|
508
|
-
},
|
|
509
|
-
install(
|
|
510
|
-
|
|
549
|
+
}, Ct = /* @__PURE__ */ Le(St, [["__scopeId", "data-v-3015ca89"]]), Qt = {
|
|
550
|
+
install(p) {
|
|
551
|
+
p.component("st-varietyAiHelper", Ct);
|
|
511
552
|
}
|
|
512
553
|
};
|
|
513
554
|
export {
|
|
514
|
-
|
|
555
|
+
Qt as default
|
|
515
556
|
};
|