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.
Files changed (140) hide show
  1. package/es/ChartLayout.js +4 -4
  2. package/es/CustomFunction.cjs +1 -1
  3. package/es/CustomFunction.js +31 -31
  4. package/es/FactorWarning.cjs +1 -1
  5. package/es/FactorWarning.js +37 -36
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +839 -1593
  8. package/es/KlineBasic.cjs +1 -1
  9. package/es/KlineBasic.js +1198 -1
  10. package/es/KlineConfig.cjs +1 -1
  11. package/es/KlineConfig.js +89 -89
  12. package/es/KlineNew.cjs +1 -1
  13. package/es/KlineNew.js +17 -17
  14. package/es/KlinePlus.cjs +1 -1
  15. package/es/KlinePlus.js +20 -20
  16. package/es/MonacoEditor.cjs +1 -1
  17. package/es/MonacoEditor.js +25 -25
  18. package/es/Pagination.cjs +1 -1
  19. package/es/Pagination.js +113 -113
  20. package/es/PasswordPrompt.cjs +1 -1
  21. package/es/PasswordPrompt.js +3 -3
  22. package/es/Table.cjs +1 -1
  23. package/es/Table.js +29 -29
  24. package/es/User.cjs +1 -1
  25. package/es/User.js +25 -25
  26. package/es/VarSelectDialog.cjs +1 -1
  27. package/es/VarSelectDialog.js +27 -27
  28. package/es/VarietyAiHelper.cjs +3 -3
  29. package/es/VarietyAiHelper.js +324 -283
  30. package/es/VarietyAutoComplete.cjs +1 -1
  31. package/es/VarietyAutoComplete.js +11 -11
  32. package/es/VarietySearch.cjs +1 -1
  33. package/es/VarietySearch.js +56 -55
  34. package/es/{VarietySelect-faef4799.js → VarietySelect-1ac10ec2.js} +4 -4
  35. package/es/{VarietySelect-5c845562.cjs → VarietySelect-639a8d9a.cjs} +1 -1
  36. package/es/VarietyTextCopy.cjs +1 -1
  37. package/es/VarietyTextCopy.js +13 -13
  38. package/es/VirtualTable.cjs +1 -1
  39. package/es/VirtualTable.js +14 -14
  40. package/es/{_initCloneObject-009eedf8.js → _initCloneObject-6b8c230e.js} +7 -7
  41. package/es/{_initCloneObject-2b82e9f7.cjs → _initCloneObject-9eddcb0c.cjs} +1 -1
  42. package/es/aiTools-6c9c58bd.cjs +4 -0
  43. package/es/aiTools-ab67ffa0.js +149 -0
  44. package/es/aiTools.js +92 -1
  45. package/es/{base-7ff209fc.js → base-29f73b05.js} +40 -40
  46. package/es/{castArray-b9f1609f.js → castArray-609a313e.js} +1 -1
  47. package/es/{config-provider-071b8bec.js → config-provider-56193d47.js} +6 -6
  48. package/es/{config-provider-2ae47cc8.cjs → config-provider-ea286661.cjs} +1 -1
  49. package/es/{debounce-23c2f7e1.js → debounce-a09ce9a3.js} +1 -1
  50. package/es/{dropdown-9941f401.js → dropdown-4e541d60.js} +4 -4
  51. package/es/{dropdown-eba9eaf5.cjs → dropdown-f30148cc.cjs} +1 -1
  52. package/es/{el-autocomplete-b59eb529.cjs → el-autocomplete-3949e68c.cjs} +1 -1
  53. package/es/{el-autocomplete-43f205b0.js → el-autocomplete-4b521c83.js} +17 -17
  54. package/es/{el-button-7f58608d.js → el-button-4f201000.js} +33 -33
  55. package/es/{el-button-974ff9e9.cjs → el-button-dd065de0.cjs} +1 -1
  56. package/es/{el-checkbox-08185353.cjs → el-checkbox-02ce40f0.cjs} +1 -1
  57. package/es/{el-checkbox-40664b27.js → el-checkbox-33cb73db.js} +17 -17
  58. package/es/el-checkbox-group-0ea8fbf8.cjs +1 -0
  59. package/es/el-checkbox-group-4ed993c7.js +1 -0
  60. package/es/{el-dialog-2f10a2f4.js → el-dialog-1939f7c5.js} +15 -15
  61. package/es/{el-dialog-1b185570.cjs → el-dialog-6501a151.cjs} +1 -1
  62. package/es/{el-divider-4e66c835.js → el-divider-523e5874.js} +1 -1
  63. package/es/{el-empty-e0d826de.js → el-empty-f5a1607a.js} +5 -5
  64. package/es/{el-form-item-c997b4fa.cjs → el-form-item-316b35d8.cjs} +1 -1
  65. package/es/{el-form-item-2b68cdf5.js → el-form-item-ea11211d.js} +36 -36
  66. package/es/{el-input-fa18ef84.cjs → el-input-094afbe2.cjs} +1 -1
  67. package/es/{el-input-31a818d4.js → el-input-58786d42.js} +43 -43
  68. package/es/{el-checkbox-group-f775e73f.cjs → el-input-number-a609a5e3.cjs} +1 -1
  69. package/es/{el-checkbox-group-3ddad0d7.js → el-input-number-a7971697.js} +30 -30
  70. package/es/{el-loading-969a79ca.cjs → el-loading-d171ce64.cjs} +1 -1
  71. package/es/{el-loading-3e350f5e.js → el-loading-f3815921.js} +5 -5
  72. package/es/el-menu-item-3d1e0aff.cjs +1 -0
  73. package/es/el-menu-item-a166b997.js +769 -0
  74. package/es/{el-message-box-31e0aa98.cjs → el-message-box-b8ffcf34.cjs} +1 -1
  75. package/es/{el-message-box-a3aa9b89.js → el-message-box-f2b667e9.js} +11 -11
  76. package/es/{el-overlay-4e9a99e0.js → el-overlay-1dfe3675.js} +59 -59
  77. package/es/{el-overlay-ea65cb05.cjs → el-overlay-a94f8a98.cjs} +1 -1
  78. package/es/{el-popconfirm-9e232436.cjs → el-popconfirm-70e2849c.cjs} +1 -1
  79. package/es/{el-popconfirm-c2896741.js → el-popconfirm-ca31ceea.js} +12 -12
  80. package/es/{el-popper-2d3914e4.cjs → el-popper-ce575c12.cjs} +1 -1
  81. package/es/{el-popper-003b3af7.js → el-popper-db6c599f.js} +177 -177
  82. package/es/{el-segmented-140ac042.cjs → el-segmented-4d50b63f.cjs} +1 -1
  83. package/es/{el-segmented-4ae54e6a.js → el-segmented-741f2252.js} +8 -8
  84. package/es/{el-select-19ee0e79.js → el-select-086bcb6c.js} +65 -65
  85. package/es/{el-select-a11f33e8.cjs → el-select-2ebc8380.cjs} +1 -1
  86. package/es/{el-table-column-98570a4d.cjs → el-table-column-2f07fbdb.cjs} +1 -1
  87. package/es/{el-table-column-3be856d7.js → el-table-column-8a15378a.js} +16 -16
  88. package/es/{el-tag-19cc5b59.js → el-tag-65a99986.js} +14 -14
  89. package/es/{el-tag-6d8e653e.cjs → el-tag-f48b1190.cjs} +1 -1
  90. package/es/{el-text-a18106cb.cjs → el-text-33359f44.cjs} +1 -1
  91. package/es/{el-text-9a7a4f0f.js → el-text-cbb693f2.js} +2 -2
  92. package/es/{index-99abf4ff.js → index-072c4a65.js} +17 -17
  93. package/es/{index-299ee017.cjs → index-0f767104.cjs} +1 -1
  94. package/es/{index-eb99b188.cjs → index-18565979.cjs} +1 -1
  95. package/es/{index-19ac550e.js → index-1955f23d.js} +49 -49
  96. package/es/{index-6917da9d.js → index-1e91e986.js} +43 -43
  97. package/es/{index-6ca95c8a.cjs → index-21e8d2bc.cjs} +1 -1
  98. package/es/{index-33f80550.cjs → index-3792552a.cjs} +1 -1
  99. package/es/{index-7dce9f59.cjs → index-4f900527.cjs} +1 -1
  100. package/es/{index-308aab33.js → index-57d82da0.js} +34 -34
  101. package/es/{index-e8eeea22.cjs → index-5b546f7d.cjs} +1 -1
  102. package/es/{index-808db9b4.js → index-7db02db7.js} +11 -11
  103. package/es/{index-37b8d3c6.cjs → index-7eb88616.cjs} +1 -1
  104. package/es/{index-d898531c.js → index-8391a3df.js} +37 -37
  105. package/es/{index-6b99def3.cjs → index-8439d2f9.cjs} +1 -1
  106. package/es/{index-40f05e2c.cjs → index-8b055879.cjs} +2 -2
  107. package/es/{index-f3799536.js → index-a4e252a0.js} +2 -2
  108. package/es/{index-b56d81e8.js → index-b51915a2.js} +3 -3
  109. package/es/{index-28e03bad.cjs → index-bf98dd03.cjs} +1 -1
  110. package/es/{index-e17987ac.js → index-ca91ac68.js} +83 -68
  111. package/es/{index-41dd5a1c.js → index-d857270a.js} +10 -10
  112. package/es/{index-f402d1da.js → index-de24705f.js} +1 -1
  113. package/es/{index-6d530e54.js → index-ff26b1a6.js} +13 -13
  114. package/es/{python-02c3937a.cjs → python-5b5c9c58.cjs} +1 -1
  115. package/es/{python-be79c7c1.js → python-ad9239f9.js} +25 -25
  116. package/es/raf-744cf95a.js +6 -0
  117. package/es/{scroll-8642151c.js → scroll-6799bafc.js} +5 -5
  118. package/es/style.css +1 -1
  119. package/es/{use-form-common-props-d3ed62c6.cjs → use-form-common-props-00ec25ac.cjs} +1 -1
  120. package/es/{use-form-common-props-d170ccfd.js → use-form-common-props-c14990b9.js} +65 -65
  121. package/es/{use-global-config-c80f33a4.cjs → use-global-config-28efb416.cjs} +1 -1
  122. package/es/{use-global-config-74436b92.js → use-global-config-a01b5ce1.js} +14 -14
  123. package/es/{validator-07160325.cjs → validator-119fdaf4.cjs} +1 -1
  124. package/es/{validator-672bad4a.js → validator-65de1caf.js} +1 -1
  125. package/es/{vnode-6d2615f0.js → vnode-a83e6de8.js} +1 -1
  126. package/es/{zh-cn-6a0f844c.cjs → zh-cn-9fb29a39.cjs} +1 -1
  127. package/es/{zh-cn-ed10eeb1.js → zh-cn-c1c28e70.js} +2 -2
  128. package/lib/aiTools.js +92 -1
  129. package/lib/bundle.js +1 -1
  130. package/lib/bundle.umd.cjs +182 -181
  131. package/lib/{index-c3ddbee7.js → index-53b3465c.js} +18966 -18852
  132. package/lib/{python-da8fd227.js → python-4a270481.js} +1 -1
  133. package/lib/style.css +1 -1
  134. package/package.json +1 -1
  135. package/packages/KlineBasic/index.vue +1 -1
  136. package/packages/VarietyAiHelper/index.vue +271 -290
  137. package/public/aiTools.js +92 -1
  138. package/es/aiTools-2e1f92d2.cjs +0 -3
  139. package/es/aiTools-faa0a14d.js +0 -90
  140. package/es/raf-ba3dfafe.js +0 -6
@@ -1,34 +1,34 @@
1
- import { b as le, f as Z, d as ce, u as ue, e as de, j as me, _ as pe, w as fe } from "./base-7ff209fc.js";
2
- import { E as ve } from "./el-dialog-2f10a2f4.js";
3
- import "./el-overlay-4e9a99e0.js";
4
- import { E as ge } from "./el-button-7f58608d.js";
5
- import { E as _e } from "./el-input-31a818d4.js";
6
- import { defineComponent as ee, ref as f, computed as $, watch as x, openBlock as c, createElementBlock as m, normalizeClass as te, unref as b, normalizeStyle as G, createBlock as Q, withCtx as S, resolveDynamicComponent as he, renderSlot as ke, inject as be, reactive as ye, onMounted as Te, nextTick as j, Fragment as F, createVNode as _, createElementVNode as o, renderList as we, toDisplayString as W, createCommentVNode as H, createTextVNode as O, pushScopeId as Ce, popScopeId as Se } from "vue";
7
- import { d as P } from "./dayjs.min-8313b006.js";
8
- import { V as Ee } from "./index-7ed0999e.js";
9
- import { s as Ve } from "./aiTools-faa0a14d.js";
10
- import { E as Me, u as De, s as X, k as Ne } from "./index-e17987ac.js";
11
- import { _ as Ye } from "./_plugin-vue_export-helper-dad06003.js";
12
- import { E as B } from "./index-99abf4ff.js";
13
- import { c as Fe, i as He } from "./use-form-common-props-d170ccfd.js";
14
- import "./index-19ac550e.js";
15
- import "./index-d898531c.js";
16
- import "./index-f402d1da.js";
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-6d2615f0.js";
19
- import "./scroll-8642151c.js";
20
- import "./use-global-config-74436b92.js";
21
- import "./index-6917da9d.js";
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-808db9b4.js";
25
- import "./config-provider-071b8bec.js";
26
- const Pe = le({
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: Fe,
29
+ values: ze,
30
30
  default: "",
31
- validator: (u) => Z(u)
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: He
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: ce(String),
48
+ type: ve(String),
49
49
  default: "cover"
50
50
  }
51
- }), Ae = {
52
- error: (u) => u instanceof Event
53
- }, ze = ee({
51
+ }), $e = {
52
+ error: (p) => p instanceof Event
53
+ }, Oe = oe({
54
54
  name: "ElAvatar"
55
- }), Be = /* @__PURE__ */ ee({
56
- ...ze,
57
- props: Pe,
58
- emits: Ae,
59
- setup(u, { emit: L }) {
60
- const E = u, p = ue("avatar"), y = f(!1), N = $(() => {
61
- const { size: n, icon: k, shape: T } = E, a = [p.b()];
62
- return de(n) && a.push(p.m(n)), k && a.push(p.m("icon")), T && a.push(p.m(T)), a;
63
- }), A = $(() => {
64
- const { size: n } = E;
65
- return Z(n) ? p.cssVarBlock({
66
- size: me(n) || ""
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
- }), I = $(() => ({
69
- objectFit: E.fit
68
+ }), x = R(() => ({
69
+ objectFit: D.fit
70
70
  }));
71
- x(() => E.src, () => y.value = !1);
72
- function z(n) {
73
- y.value = !0, L("error", n);
71
+ U(() => D.src, () => C.value = !1);
72
+ function B(o) {
73
+ C.value = !0, j("error", o);
74
74
  }
75
- return (n, k) => (c(), m("span", {
76
- class: te(b(N)),
77
- style: G(b(A))
75
+ return (o, T) => (r(), d("span", {
76
+ class: ie(h(H)),
77
+ style: ee(h(z))
78
78
  }, [
79
- (n.src || n.srcSet) && !y.value ? (c(), m("img", {
79
+ (o.src || o.srcSet) && !C.value ? (r(), d("img", {
80
80
  key: 0,
81
- src: n.src,
82
- alt: n.alt,
83
- srcset: n.srcSet,
84
- style: G(b(I)),
85
- onError: z
86
- }, null, 44, ["src", "alt", "srcset"])) : n.icon ? (c(), Q(b(Me), { key: 1 }, {
87
- default: S(() => [
88
- (c(), Q(he(n.icon)))
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
- })) : ke(n.$slots, "default", { key: 2 })
91
+ })) : Ce(o.$slots, "default", { key: 2 })
92
92
  ], 6));
93
93
  }
94
94
  });
95
- var Le = /* @__PURE__ */ pe(Be, [["__file", "avatar.vue"]]);
96
- const Ie = fe(Le);
97
- const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-dialog-body" }, je = { class: "avatar" }, Oe = { class: "message-content" }, xe = ["innerHTML"], qe = {
98
- key: 1,
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
- }, Je = { class: "message-createTime" }, Ke = /* @__PURE__ */ h(() => /* @__PURE__ */ o("div", { class: "message-createTime" }, "请问对本轮查询结果是否满意?", -1)), Re = { class: "feedback-buttons" }, Ue = ["onClick"], Ge = /* @__PURE__ */ h(() => /* @__PURE__ */ o("span", { class: "btn-emoji" }, "👍", -1)), Qe = /* @__PURE__ */ h(() => /* @__PURE__ */ o("span", { class: "btn-text" }, "满意", -1)), We = [
101
- Ge,
102
- Qe
103
- ], Xe = ["onClick"], Ze = /* @__PURE__ */ h(() => /* @__PURE__ */ o("span", { class: "btn-emoji" }, "👎", -1)), et = /* @__PURE__ */ h(() => /* @__PURE__ */ o("span", { class: "btn-text" }, "不满意", -1)), tt = [
104
- Ze,
105
- et
106
- ], st = {
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
- }, at = {
115
+ }, ft = {
110
116
  key: 0,
111
117
  class: "message-item assistant"
112
- }, ot = { class: "avatar" }, nt = /* @__PURE__ */ h(() => /* @__PURE__ */ o("div", { class: "message-content" }, [
113
- /* @__PURE__ */ o("div", { class: "typing-indicator" }, [
114
- /* @__PURE__ */ o("span"),
115
- /* @__PURE__ */ o("span"),
116
- /* @__PURE__ */ o("span")
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)), it = { class: "input-area" }, rt = { class: "input-actions" }, lt = /* @__PURE__ */ h(() => /* @__PURE__ */ o("div", { class: "input-hint" }, [
119
- /* @__PURE__ */ o("span", null, "Enter 发送 | Ctrl + Enter 换行")
120
- ], -1)), ct = { class: "feedback-dialog-content" }, ut = /* @__PURE__ */ h(() => /* @__PURE__ */ o("div", { class: "feedback-emoji" }, "😟", -1)), dt = /* @__PURE__ */ h(() => /* @__PURE__ */ o("p", { class: "feedback-tip" }, "很抱歉没能帮到您,请告诉我们哪里需要改进:", -1)), mt = { class: "dialog-footer" }, pt = {
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(u, { expose: L, emit: E }) {
133
- const p = be("stConfig"), y = ye(Ee()), N = f(!1), A = E, I = u, z = f(), n = f(!1), k = f(!1), T = f(null), a = f([
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
- // AI-assistant, 用户-user
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
- ]), w = f(""), V = f(!1), Y = f(""), q = f({}), J = (s) => {
151
- if (typeof s != "string")
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(s);
154
+ const e = JSON.parse(a);
155
155
  return e !== null && typeof e == "object";
156
156
  } catch {
157
157
  return !1;
158
158
  }
159
- }, se = (s) => {
160
- if (!J(s))
159
+ }, re = (a) => {
160
+ if (!G(a))
161
161
  return null;
162
162
  try {
163
- const e = JSON.parse(s), { parsedConditions: t, ...i } = e;
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
- }, ae = (s) => {
168
+ }, ce = (a) => {
172
169
  var t;
173
- if (!s)
170
+ if (!a)
174
171
  return "";
175
172
  let e = "";
176
- return (t = s.parsedConditions) != null && t.length && (e += '<div class="parsed-conditions">', s.parsedConditions.forEach((i) => {
177
- e += `<div class="parsed-conditions-item">${i}</div>`;
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
- }, M = async (s, e) => {
180
- switch (s) {
176
+ }, F = async (a, e) => {
177
+ switch (a) {
181
178
  case "satisfied": {
182
- const t = a.value[e], i = {
183
- userName: y.username,
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
- q.value = e, V.value = !0;
194
+ W.value = e, Y.value = !0;
200
195
  break;
201
196
  }
202
197
  case "unsatisfied": {
203
- const t = a.value[e], i = {
204
- userName: y.username,
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: Y.value,
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 = a.value[e], i = {
222
- userName: y.username,
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: Y.value,
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
- }, K = async () => {
239
- const s = w.value.trim();
240
- if (!s)
241
- return B.warning("请输入消息内容");
242
- if (n.value)
229
+ }, Q = async () => {
230
+ const a = E.value.trim();
231
+ if (!a)
232
+ return $.warning("请输入消息内容");
233
+ if (o.value)
243
234
  return;
244
- a.value.push({
235
+ _.value = [], b.value = !1, n.value.push({
245
236
  role: "user",
246
- content: s,
247
- createTime: P().format("YYYY-MM-DD HH:mm:ss")
248
- }), w.value = "", await C(), a.value.push({
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: s,
242
+ userContent: a,
252
243
  showFeedback: !1,
253
244
  hasFeedback: !1,
254
- createTime: P().format("YYYY-MM-DD HH:mm:ss"),
245
+ createTime: L().format("YYYY-MM-DD HH:mm:ss"),
255
246
  resTime: 0,
256
247
  firstPackageTime: 0
257
- }), await C(), n.value = !0, k.value = !0;
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 Ve({
261
- appId: "9e54d112acfe4531bd1fc4fee8827fef",
251
+ await Fe({
252
+ appId: "1977602b357e4dab9d0b74899d5323b3",
262
253
  apiKey: "sk-d995eb26a4334bdeb2ccb4cbfaf51de8",
263
- value: s,
264
- callback: (g, d) => {
265
- var r;
266
- if (g === "error") {
267
- k.value = !1, n.value = !1, a.value.pop(), a.value.push({
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: s,
270
- content: `❌ ${d}`,
260
+ userContent: a,
261
+ content: `❌ ${c}`,
271
262
  showFeedback: !1,
272
263
  hasFeedback: !1,
273
- createTime: P().format("YYYY-MM-DD HH:mm:ss"),
264
+ createTime: L().format("YYYY-MM-DD HH:mm:ss"),
274
265
  resTime: (/* @__PURE__ */ new Date()).getTime() - t,
275
266
  firstPackageTime: 0
276
- }), M("default", a.value.length - 1), C();
267
+ }), F("default", n.value.length - 1), w();
277
268
  return;
278
- } else if (g === "message") {
279
- e += d;
280
- const l = a.value[a.value.length - 1];
281
- l && l.role === "assistant" && (l.content = e, C()), l.firstPackageTime === 0 && (l.firstPackageTime = (/* @__PURE__ */ new Date()).getTime() - t);
282
- } else if (g === "finish") {
283
- k.value = !1, n.value = !1;
284
- const l = a.value[a.value.length - 1];
285
- l && l.role === "assistant" && (l.showFeedback = !0, l.resTime = (/* @__PURE__ */ new Date()).getTime() - t, M("default", a.value.length - 1)), console.log(e);
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 v = JSON.parse(e);
288
- if (v.parsedConditions && delete v.parsedConditions, (r = v.customTagNames) != null && r.length) {
289
- const ie = v.customTagNames.reduce((R, re) => {
290
- const U = z.value[re];
291
- return U && R.push(U), R;
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 v.customTagNames, v.customTag = ie;
296
+ delete i.customTagNames, i.customTag = me;
294
297
  }
295
- A("callBack", v);
298
+ z("callBack", i);
296
299
  } catch {
297
- A("callBack", e);
300
+ z("callBack", e);
298
301
  }
299
302
  }
300
303
  }
301
304
  });
302
- } catch (i) {
303
- B.error(`AI响应异常: ${i}`), a.value.pop(), a.value.push({
305
+ } catch (M) {
306
+ $.error(`AI响应异常: ${M}`), n.value.pop(), n.value.push({
304
307
  role: "assistant",
305
- userContent: s,
308
+ userContent: a,
306
309
  content: "❌ 抱歉,AI服务响应异常,请稍后重试。",
307
310
  showFeedback: !0,
308
311
  hasFeedback: !1,
309
- createTime: P().format("YYYY-MM-DD HH:mm:ss"),
312
+ createTime: L().format("YYYY-MM-DD HH:mm:ss"),
310
313
  resTime: (/* @__PURE__ */ new Date()).getTime() - t,
311
314
  firstPackageTime: 0
312
- }), M("default", a.value.length - 1), await C(), n.value = !1, k.value = !1;
315
+ }), F("default", n.value.length - 1), await w(), o.value = !1, T.value = !1;
313
316
  }
314
- }, oe = (s) => {
315
- if (s.key === "Enter")
316
- if (s.ctrlKey) {
317
- s.preventDefault();
318
- const e = s.target, t = e.selectionStart, i = e.selectionEnd;
319
- w.value = w.value.substring(0, t) + `
320
- ` + w.value.substring(i), j(() => {
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
- s.preventDefault(), K();
325
- }, C = async () => {
326
- await j(), T.value && (T.value.scrollTop = T.value.scrollHeight);
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;
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
- ...(i = t.body) == null ? void 0 : i.reduce((D, g) => ({
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 Te(() => {
341
- ne();
342
- }), x(
343
- () => a.value,
343
+ return Ve(() => {
344
+ de();
345
+ }), U(
346
+ () => n.value,
344
347
  () => {
345
- C();
348
+ w();
346
349
  },
347
350
  { deep: !0 }
348
- ), x(
349
- () => V.value,
350
- (s) => {
351
- s || (Y.value = "");
351
+ ), U(
352
+ () => Y.value,
353
+ (a) => {
354
+ a || (A.value = "");
352
355
  }
353
- ), L({
356
+ ), j({
354
357
  open: () => {
355
- N.value = !0, j(() => {
356
- C();
358
+ H.value = !0, q(() => {
359
+ w();
357
360
  });
358
361
  }
359
- }), (s, e) => {
360
- const t = Ie, i = _e, D = ge, g = ve;
361
- return c(), m(F, null, [
362
- _(g, {
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: N.value,
365
- "onUpdate:modelValue": e[1] || (e[1] = (d) => N.value = d),
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: S(() => {
375
- var d;
377
+ default: k(() => {
378
+ var c;
376
379
  return [
377
- o("div", $e, [
378
- o("div", {
380
+ s("div", qe, [
381
+ s("div", {
379
382
  ref_key: "messageListRef",
380
- ref: T,
383
+ ref: I,
381
384
  class: "message-list"
382
385
  }, [
383
- (c(!0), m(F, null, we(a.value, (r, l) => (c(), m("div", {
384
- key: l,
385
- class: te([r.role, "message-item"])
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
- r.content ? (c(), m(F, { key: 0 }, [
388
- o("div", je, [
389
- _(t, {
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: r.role === "user" ? b(De) : b(X)
394
+ icon: l.role === "user" ? h(Pe) : h(se)
392
395
  }, null, 8, ["icon"])
393
396
  ]),
394
- o("div", Oe, [
395
- J(r.content) ? (c(), m("div", {
396
- key: 0,
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: ae(se(r.content))
399
- }, null, 8, xe)) : (c(), m("div", qe, W(r.content), 1)),
400
- o("div", Je, W(r.createTime), 1),
401
- r.role === "assistant" ? (c(), m(F, { key: 2 }, [
402
- r.showFeedback && !r.hasFeedback ? (c(), m(F, { key: 0 }, [
403
- Ke,
404
- o("div", Re, [
405
- o("button", {
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: (v) => M("satisfied", l)
408
- }, We, 8, Ue),
409
- o("button", {
448
+ onClick: (i) => F("satisfied", u)
449
+ }, rt, 8, ot),
450
+ s("button", {
410
451
  class: "feedback-btn unsatisfied-btn",
411
- onClick: (v) => M("open", l)
412
- }, tt, 8, Xe)
452
+ onClick: (i) => F("open", u)
453
+ }, mt, 8, ct)
413
454
  ])
414
- ], 64)) : H("", !0),
415
- r.showFeedback && r.hasFeedback ? (c(), m("div", st, "感谢您进行的评价反馈")) : H("", !0)
416
- ], 64)) : H("", !0)
455
+ ], 64)) : S("", !0),
456
+ l.showFeedback && l.hasFeedback ? (r(), d("div", pt, "感谢您进行的评价反馈")) : S("", !0)
457
+ ], 64)) : S("", !0)
417
458
  ])
418
- ], 64)) : H("", !0)
459
+ ], 64)) : S("", !0)
419
460
  ], 2))), 128)),
420
- k.value && !((d = a.value[a.value.length - 1]) != null && d.content) ? (c(), m("div", at, [
421
- o("div", ot, [
422
- _(t, {
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: b(X)
465
+ icon: h(se)
425
466
  }, null, 8, ["icon"])
426
467
  ]),
427
- nt
428
- ])) : H("", !0)
468
+ _t
469
+ ])) : S("", !0)
429
470
  ], 512),
430
- o("div", it, [
431
- _(i, {
471
+ s("div", gt, [
472
+ f(M, {
432
473
  class: "message-input",
433
- modelValue: w.value,
434
- "onUpdate:modelValue": e[0] || (e[0] = (r) => w.value = r),
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: oe
480
+ onKeydown: ue
440
481
  }, null, 8, ["modelValue"]),
441
- o("div", rt, [
442
- lt,
443
- _(D, {
482
+ s("div", ht, [
483
+ kt,
484
+ f(V, {
444
485
  class: "send-btn",
445
486
  type: "primary",
446
- icon: b(Ne),
447
- loading: n.value,
448
- onClick: K,
487
+ icon: h(Ae),
488
+ loading: o.value,
489
+ onClick: Q,
449
490
  round: ""
450
491
  }, {
451
- default: S(() => [
452
- O(" 发送 ")
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
- _(g, {
464
- modelValue: V.value,
465
- "onUpdate:modelValue": e[5] || (e[5] = (d) => V.value = d),
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: S(() => [
470
- o("span", mt, [
471
- _(D, {
472
- onClick: e[3] || (e[3] = (d) => V.value = !1)
510
+ footer: k(() => [
511
+ s("span", wt, [
512
+ f(V, {
513
+ onClick: e[3] || (e[3] = (c) => Y.value = !1)
473
514
  }, {
474
- default: S(() => [
475
- O("取消")
515
+ default: k(() => [
516
+ K("取消")
476
517
  ]),
477
518
  _: 1
478
519
  }),
479
- _(D, {
520
+ f(V, {
480
521
  type: "primary",
481
- onClick: e[4] || (e[4] = (d) => M("unsatisfied", q.value))
522
+ onClick: e[4] || (e[4] = (c) => F("unsatisfied", W.value))
482
523
  }, {
483
- default: S(() => [
484
- O("提交反馈")
524
+ default: k(() => [
525
+ K("提交反馈")
485
526
  ]),
486
527
  _: 1
487
528
  })
488
529
  ])
489
530
  ]),
490
- default: S(() => [
491
- o("div", ct, [
492
- ut,
493
- dt,
494
- _(i, {
495
- modelValue: Y.value,
496
- "onUpdate:modelValue": e[2] || (e[2] = (d) => Y.value = d),
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
- }, ft = /* @__PURE__ */ Ye(pt, [["__scopeId", "data-v-536916ba"]]), $t = {
509
- install(u) {
510
- u.component("st-varietyAiHelper", ft);
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
- $t as default
555
+ Qt as default
515
556
  };