st-comp 0.0.199 → 0.0.201

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 (37) hide show
  1. package/auto-imports.d.ts +3 -0
  2. package/es/CustomFunction.cjs +1 -1
  3. package/es/CustomFunction.js +267 -199
  4. package/es/FactorWarning.cjs +1 -1
  5. package/es/FactorWarning.js +27 -25
  6. package/es/KlinePlus.cjs +3 -3
  7. package/es/KlinePlus.js +252 -249
  8. package/es/User.cjs +1 -1
  9. package/es/User.js +714 -624
  10. package/es/VarietySearch.cjs +6 -6
  11. package/es/VarietySearch.js +19 -17
  12. package/es/VarietyTextCopy.cjs +3 -3
  13. package/es/VarietyTextCopy.js +4 -4
  14. package/es/el-checkbox-group-0ea8fbf8.cjs +1 -0
  15. package/es/el-checkbox-group-4ed993c7.js +1 -0
  16. package/es/{el-form-item-eeb64520.js → el-form-item-c53c374d.js} +2 -2
  17. package/es/el-message-box-a93d2f6a.js +489 -0
  18. package/es/el-message-box-c10adb52.cjs +1 -0
  19. package/es/el-text-ac60d0f2.js +67 -0
  20. package/es/el-text-c20a9f48.cjs +1 -0
  21. package/es/style.css +1 -1
  22. package/lib/bundle.js +1 -1
  23. package/lib/bundle.umd.cjs +206 -206
  24. package/lib/{index-c9dddb13.js → index-c0ce50bc.js} +20375 -20219
  25. package/lib/{python-8de8f552.js → python-9dae326e.js} +1 -1
  26. package/lib/style.css +1 -1
  27. package/package.json +1 -1
  28. package/packages/CustomFunction/index.vue +141 -30
  29. package/packages/KlinePlus/index.vue +17 -7
  30. package/packages/User/components/EditInfoDialog/Mobile.vue +110 -0
  31. package/packages/User/components/EditInfoDialog/index.vue +136 -0
  32. package/packages/User/components/SetPasswordDialog.vue +6 -3
  33. package/packages/User/index.vue +7 -22
  34. package/src/pages/KlinePlus/index.vue +6 -5
  35. package/es/el-message-box-48d71ee5.cjs +0 -1
  36. package/es/el-message-box-81ffd21e.js +0 -550
  37. package/packages/User/components/EditInfoDialog.vue +0 -144
@@ -1,20 +1,22 @@
1
1
  import "./base-a5af3db3.js";
2
- import { E as oe } from "./el-divider-4e059794.js";
2
+ import { E as ce } from "./el-divider-4e059794.js";
3
3
  import "./el-scrollbar-323542e7.js";
4
- import { E as le } from "./el-dialog-41ab8417.js";
4
+ import { E as re } from "./el-dialog-41ab8417.js";
5
5
  import "./el-overlay-09ad71cd.js";
6
- import { E as ne } from "./el-input-2f75c4ba.js";
7
- import { E as se } from "./el-button-c95adb85.js";
6
+ import { E as j } from "./el-input-2f75c4ba.js";
7
+ import { E as ue } from "./el-button-c95adb85.js";
8
8
  import "./el-tag-66cab138.js";
9
- import { E as ae, a as ie } from "./el-select-95627997.js";
9
+ import { E as de, a as me } from "./el-select-95627997.js";
10
10
  import "./el-popper-b4f97157.js";
11
- import { E as ce } from "./el-popconfirm-81dcd202.js";
11
+ import { E as fe } from "./el-popconfirm-81dcd202.js";
12
12
  import "./el-popover-4ed993c7.js";
13
- import { inject as re, ref as r, reactive as q, onMounted as ue, watch as de, nextTick as fe, resolveComponent as B, openBlock as z, createElementBlock as j, createVNode as t, normalizeStyle as me, withCtx as o, Fragment as pe, renderList as _e, createBlock as ve, createElementVNode as n, toDisplayString as k, withModifiers as F, unref as E, createTextVNode as m, normalizeClass as O, pushScopeId as ge, popScopeId as he } from "vue";
14
- import { d as Ee, e as ye, a as xe, c as M, b as be, E as ke } from "./index-a871c3eb.js";
15
- import { E as u } from "./el-message-e544a8f5.js";
16
- import { _ as Ce } from "./_plugin-vue_export-helper-dad06003.js";
17
- import { E as Ve } from "./index-844bdd85.js";
13
+ import { inject as pe, ref as u, reactive as L, onMounted as _e, watch as ve, nextTick as P, resolveComponent as W, openBlock as T, createElementBlock as A, createVNode as l, normalizeStyle as ge, withCtx as s, Fragment as he, renderList as Ee, createBlock as ye, createElementVNode as i, toDisplayString as $, withModifiers as q, unref as C, createTextVNode as v, normalizeClass as M, pushScopeId as xe, popScopeId as Ce, h as S } from "vue";
14
+ import { d as we, e as Ve, a as ke, c as G, b as be, E as Se } from "./index-a871c3eb.js";
15
+ import { _ as Ne } from "./_plugin-vue_export-helper-dad06003.js";
16
+ import { E as p } from "./el-message-e544a8f5.js";
17
+ import { E as Fe, a as $e } from "./el-form-item-c53c374d.js";
18
+ import { E as ze } from "./el-message-box-a93d2f6a.js";
19
+ import { E as De } from "./index-844bdd85.js";
18
20
  import "./use-form-common-props-815d48a6.js";
19
21
  import "./index-960806da.js";
20
22
  import "./index-d77a7336.js";
@@ -30,39 +32,41 @@ import "./index-57672682.js";
30
32
  import "./castArray-7741a212.js";
31
33
  import "./debounce-8d53f4dd.js";
32
34
  import "./config-provider-b16efd62.js";
33
- const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custom-function" }, we = { class: "func-option" }, Ne = { class: "icons" }, ze = { class: "custom-header" }, Fe = { class: "left" }, Oe = ["id"], $e = { class: "right" }, De = { class: "func-name" }, Ie = { class: "left" }, qe = /* @__PURE__ */ R(() => /* @__PURE__ */ n("span", null, "函数名称:", -1)), Be = { class: "right" }, je = /* @__PURE__ */ R(() => /* @__PURE__ */ n("div", { class: "tip-box" }, "Tip: 公式里可以使用变量, 变量名命名格式: ${变量名}, 后续可在应用函数时填写具体值, 系统会自动换算", -1)), Me = { class: "dialog-footer" }, Re = { class: "custom-header" }, Te = { class: "left" }, Ue = ["id"], Le = { class: "right" }, We = { class: "content" }, Ae = { class: "dialog-footer" }, Pe = {
35
+ import "./_initCloneObject-eaef9418.js";
36
+ import "./validator-764a9db0.js";
37
+ const H = (d) => (xe("data-v-ff7c4544"), d = d(), Ce(), d), Ie = { class: "custom-function" }, Be = { class: "func-option" }, Oe = { class: "icons" }, Te = { class: "custom-header" }, qe = { class: "left" }, Me = ["id"], Ue = { class: "right" }, Re = { class: "func-name" }, je = { class: "left" }, Le = /* @__PURE__ */ H(() => /* @__PURE__ */ i("span", null, "函数名称:", -1)), Pe = { class: "right" }, We = /* @__PURE__ */ H(() => /* @__PURE__ */ i("div", { class: "tip-box" }, "Tip: 公式里可以使用变量, 变量名命名格式: ${变量名}, 后续可在应用函数时填写具体值, 系统会自动换算", -1)), Ae = { class: "dialog-footer" }, Ge = { class: "custom-header" }, He = { class: "left" }, Je = ["id"], Ke = { class: "right" }, Qe = { class: "content" }, Xe = { class: "dialog-footer" }, Ye = {
34
38
  __name: "index",
35
39
  props: {
36
40
  size: { type: String, default: "small" },
37
41
  selectWidth: { type: String, default: "200px" }
38
42
  },
39
43
  emits: ["insert"],
40
- setup(c, { emit: T }) {
41
- const { request: x } = re("stConfig"), p = r(null), C = r(null), U = T, b = r(null), _ = r(""), y = r([]), v = r(!1), s = q({
44
+ setup(d, { emit: J }) {
45
+ const { request: N } = pe("stConfig"), g = u(null), z = u(null), K = J, F = u(null), h = u(""), w = u([]), E = u(!1), r = L({
42
46
  id: null,
43
47
  funcName: "",
44
48
  funcExpression: ""
45
- }), V = r(!1), g = r(!1), S = r(!1), d = q({
49
+ }), D = u(!1), y = u(!1), I = u(!1), _ = L({
46
50
  result: null,
47
51
  detail: "",
48
52
  code: ""
49
- }), w = async () => {
50
- const { body: a } = await x.post("/common/qt/querySearchFunctions");
51
- if (y.value = a ?? [], b.value === null)
52
- _.value = "";
53
+ }), B = async () => {
54
+ const { body: t } = await N.post("/common/qt/querySearchFunctions");
55
+ if (w.value = t ?? [], F.value === null)
56
+ h.value = "";
53
57
  else {
54
- const e = y.value.find(({ id: i }) => i === b.value);
55
- _.value = e ? e.funcName : "";
58
+ const e = w.value.find(({ id: o }) => o === F.value);
59
+ h.value = e ? e.funcName : "";
56
60
  }
57
- }, L = (a) => {
61
+ }, Q = (t) => {
58
62
  var e;
59
- a ? b.value = (e = y.value.find((i) => i.funcName === a)) == null ? void 0 : e.id : b.value = null;
60
- }, W = async (a) => {
61
- await x.post("/common/qt/deleteSearchFunctionById", { id: a.id }), w();
62
- }, N = (a, e) => {
63
- switch (!!a) {
63
+ t ? F.value = (e = w.value.find((o) => o.funcName === t)) == null ? void 0 : e.id : F.value = null;
64
+ }, X = async (t) => {
65
+ await N.post("/common/qt/deleteSearchFunctionById", { id: t.id }), B();
66
+ }, O = (t, e) => {
67
+ switch (!!t) {
64
68
  case !1: {
65
- Object.assign(s, {
69
+ Object.assign(r, {
66
70
  id: null,
67
71
  funcName: "",
68
72
  funcExpression: ""
@@ -70,125 +74,189 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
70
74
  break;
71
75
  }
72
76
  case !0: {
73
- Object.assign(s, {
74
- id: a.id,
75
- funcName: a.funcName,
76
- funcExpression: a.funcExpression
77
+ Object.assign(r, {
78
+ id: t.id,
79
+ funcName: t.funcName,
80
+ funcExpression: t.funcExpression
77
81
  });
78
82
  break;
79
83
  }
80
84
  }
81
- e && (s.id = null, s.funcName = `${s.funcName}-复制`), v.value = !0;
82
- }, A = async () => {
85
+ e && (r.id = null, r.funcName = `${r.funcName}-复制`), E.value = !0;
86
+ }, Y = async () => {
83
87
  try {
84
- if (S.value = !0, s.funcExpression = p.value.getValue(), !s.funcExpression)
85
- return u.error("函数内容不可为空");
86
- if (/\$\{[^}]*\}/.test(s.funcExpression))
87
- return u.error("不支持包含变量用法的函数进行测试");
88
- const { body: a } = await x.post("/common/qt/testFactorSelect", { factorSelectExpr: s.funcExpression }), { result: e, detail: i } = a;
89
- Object.assign(d, { result: e, detail: i, code: s.funcExpression }), e === 1 ? u.success("测试通过") : (u.error("测试未能通过"), g.value = !0);
88
+ if (D.value = !0, r.funcExpression = g.value.getValue(), !r.funcName)
89
+ return p.error("函数名称不可为空");
90
+ if (!r.funcExpression)
91
+ return p.error("函数内容不可为空");
92
+ await N.post("/common/qt/saveOrUpdateSearchFunction", r), p.success("操作成功"), E.value = !1, await B();
90
93
  } finally {
91
- S.value = !1;
94
+ D.value = !1;
92
95
  }
93
- }, P = () => {
94
- if (d.result === null)
95
- return u.warning("请先进行测试, 等待测试完成后可查看日志");
96
- g.value = !0;
97
- }, G = async () => {
96
+ }, U = () => {
97
+ if (!h.value)
98
+ return p.error("请先选择自定义函数后, 再执行插入");
99
+ const { funcName: t, funcExpression: e } = w.value.find((o) => o.funcName === h.value);
100
+ K("insert", t, e);
101
+ }, Z = (t) => {
102
+ const e = /\$\{([^}]*)\}/g, o = [];
103
+ let c;
104
+ for (; (c = e.exec(t)) !== null; )
105
+ o.push(c[1]);
106
+ return [...new Set(o)];
107
+ }, ee = (t, e) => t.replace(/\$\{([^}]*)\}/g, (o, c) => e[c] !== void 0 ? e[c] : o), te = (t) => new Promise((e) => {
108
+ const o = u(
109
+ t.reduce((n, m) => (n[m] = "", n), {})
110
+ ), c = u({}), V = () => {
111
+ let n = !0;
112
+ const m = {};
113
+ return t.forEach((f) => {
114
+ var b;
115
+ (b = o.value[f]) != null && b.trim() || (m[f] = `请输入${f}的值`, n = !1);
116
+ }), c.value = m, n;
117
+ };
118
+ ze({
119
+ title: "填写变量值用于接口测试",
120
+ message: S({
121
+ setup() {
122
+ return () => S("div", [
123
+ S(
124
+ Fe,
125
+ {
126
+ model: o.value
127
+ },
128
+ () => t.map(
129
+ (n) => S(
130
+ $e,
131
+ {
132
+ label: `${n}: `,
133
+ prop: n,
134
+ error: c.value[n],
135
+ "label-width": "90px"
136
+ },
137
+ () => S(j, {
138
+ modelValue: o.value[n],
139
+ "onUpdate:modelValue": (m) => {
140
+ o.value[n] = m, c.value[n] && delete c.value[n];
141
+ },
142
+ placeholder: `请输入 ${n} 的值`,
143
+ status: c.value[n] ? "error" : ""
144
+ })
145
+ )
146
+ )
147
+ )
148
+ ]);
149
+ }
150
+ }),
151
+ showCancelButton: !0,
152
+ confirmButtonText: "确定",
153
+ cancelButtonText: "取消",
154
+ customClass: "variable-input-dialog",
155
+ beforeClose: async (n, m, f) => {
156
+ n !== "confirm" && (e(!1), f()), await P(), V() && (e({ ...o.value }), f());
157
+ }
158
+ }).catch(() => e(!1));
159
+ }), oe = async () => {
98
160
  try {
99
- if (V.value = !0, s.funcExpression = p.value.getValue(), !s.funcName)
100
- return u.error("函数名称不可为空");
101
- if (!s.funcExpression)
102
- return u.error("函数内容不可为空");
103
- await x.post("/common/qt/saveOrUpdateSearchFunction", s), u.success("操作成功"), v.value = !1, await w();
161
+ I.value = !0;
162
+ let t = g.value.getValue();
163
+ if (!t)
164
+ return p.error("函数内容不可为空");
165
+ if (/\$\{[^}]*\}/.test(t)) {
166
+ const V = Z(t), k = await te(V);
167
+ if (!k)
168
+ return;
169
+ t = ee(t, k);
170
+ }
171
+ const { body: e } = await N.post("/common/qt/testFactorSelect", { factorSelectExpr: t }), { result: o, detail: c } = e;
172
+ Object.assign(_, { result: o, detail: c, code: t }), o === 1 ? p.success("测试通过") : (p.error("测试未能通过"), y.value = !0);
104
173
  } finally {
105
- V.value = !1;
174
+ I.value = !1;
106
175
  }
107
- }, $ = () => {
108
- if (!_.value)
109
- return u.error("请先选择自定义函数后, 再执行插入");
110
- const { funcName: a, funcExpression: e } = y.value.find((i) => i.funcName === _.value);
111
- U("insert", a, e);
112
- }, H = () => {
113
- C.value.open(p.value);
176
+ }, le = () => {
177
+ if (_.result === null)
178
+ return p.warning("请先进行测试, 等待测试完成后可查看日志");
179
+ y.value = !0;
180
+ }, ne = () => {
181
+ z.value.open(g.value);
114
182
  };
115
- return ue(() => {
116
- w();
117
- }), de(
118
- () => v.value,
119
- (a) => {
120
- switch (a) {
183
+ return _e(() => {
184
+ B();
185
+ }), ve(
186
+ () => E.value,
187
+ (t) => {
188
+ switch (t) {
121
189
  case !0: {
122
- fe(() => {
123
- var e, i;
124
- (e = p.value) == null || e.setValue(s.funcExpression), (i = p.value) == null || i.resize();
125
- }), Object.assign(d, {
190
+ P(() => {
191
+ var e, o;
192
+ (e = g.value) == null || e.setValue(r.funcExpression), (o = g.value) == null || o.resize();
193
+ }), Object.assign(_, {
126
194
  result: null,
127
195
  detail: ""
128
196
  });
129
197
  break;
130
198
  }
131
199
  case !1: {
132
- C.value.close();
200
+ z.value.close();
133
201
  break;
134
202
  }
135
203
  }
136
204
  }
137
- ), (a, e) => {
138
- const i = ke, J = ce, K = ae, Q = ie, f = se, X = ne, Y = B("st-monacoEditor"), D = le, I = Ve, Z = oe, ee = B("st-varSelectDialog");
139
- return z(), j("div", Se, [
140
- t(Q, {
141
- modelValue: _.value,
142
- "onUpdate:modelValue": e[0] || (e[0] = (l) => _.value = l),
143
- size: c.size,
205
+ ), (t, e) => {
206
+ const o = Se, c = fe, V = de, k = me, n = ue, m = j, f = W("st-monacoEditor"), b = re, R = De, se = ce, ae = W("st-varSelectDialog");
207
+ return T(), A("div", Ie, [
208
+ l(k, {
209
+ modelValue: h.value,
210
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => h.value = a),
211
+ size: d.size,
144
212
  placeholder: "自定义函数",
145
213
  "no-match-text": "无匹配选项",
146
214
  "no-data-text": "无选项数据",
147
215
  clearable: "",
148
216
  filterable: "",
149
- onChange: L,
150
- style: me({ width: c.selectWidth })
217
+ onChange: Q,
218
+ style: ge({ width: d.selectWidth })
151
219
  }, {
152
- default: o(() => [
153
- (z(!0), j(pe, null, _e(y.value, (l) => (z(), ve(K, {
154
- key: l.id,
155
- label: l.funcName,
156
- value: l.funcName,
157
- onClick: $
220
+ default: s(() => [
221
+ (T(!0), A(he, null, Ee(w.value, (a) => (T(), ye(V, {
222
+ key: a.id,
223
+ label: a.funcName,
224
+ value: a.funcName,
225
+ onClick: U
158
226
  }, {
159
- default: o(() => [
160
- n("div", we, [
161
- n("span", null, k(l.funcName), 1),
162
- n("div", Ne, [
163
- t(i, {
164
- onClick: F((h) => N(l, !0), ["stop"])
227
+ default: s(() => [
228
+ i("div", Be, [
229
+ i("span", null, $(a.funcName), 1),
230
+ i("div", Oe, [
231
+ l(o, {
232
+ onClick: q((x) => O(a, !0), ["stop"])
165
233
  }, {
166
- default: o(() => [
167
- t(E(Ee))
234
+ default: s(() => [
235
+ l(C(we))
168
236
  ]),
169
237
  _: 2
170
238
  }, 1032, ["onClick"]),
171
- t(i, {
172
- onClick: F((h) => N(l), ["stop"])
239
+ l(o, {
240
+ onClick: q((x) => O(a), ["stop"])
173
241
  }, {
174
- default: o(() => [
175
- t(E(ye))
242
+ default: s(() => [
243
+ l(C(Ve))
176
244
  ]),
177
245
  _: 2
178
246
  }, 1032, ["onClick"]),
179
- t(J, {
247
+ l(c, {
180
248
  title: "确认是否删除?",
181
249
  "confirm-button-text": "确认",
182
250
  "cancel-button-text": "取消",
183
- onConfirm: (h) => W(l)
251
+ onConfirm: (x) => X(a)
184
252
  }, {
185
- reference: o(() => [
186
- t(i, {
187
- onClick: F(() => {
253
+ reference: s(() => [
254
+ l(o, {
255
+ onClick: q(() => {
188
256
  }, ["stop"])
189
257
  }, {
190
- default: o(() => [
191
- t(E(xe))
258
+ default: s(() => [
259
+ l(C(ke))
192
260
  ]),
193
261
  _: 1
194
262
  })
@@ -203,30 +271,30 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
203
271
  ]),
204
272
  _: 1
205
273
  }, 8, ["modelValue", "size", "style"]),
206
- t(f, {
274
+ l(n, {
207
275
  type: "primary",
208
- size: c.size,
209
- onClick: $
276
+ size: d.size,
277
+ onClick: U
210
278
  }, {
211
- default: o(() => [
212
- m(" 插入 ")
279
+ default: s(() => [
280
+ v(" 插入 ")
213
281
  ]),
214
282
  _: 1
215
283
  }, 8, ["size"]),
216
- t(f, {
284
+ l(n, {
217
285
  type: "primary",
218
- size: c.size,
219
- onClick: e[1] || (e[1] = (l) => N())
286
+ size: d.size,
287
+ onClick: e[1] || (e[1] = (a) => O())
220
288
  }, {
221
- default: o(() => [
222
- m(" 新建 ")
289
+ default: s(() => [
290
+ v(" 新建 ")
223
291
  ]),
224
292
  _: 1
225
293
  }, 8, ["size"]),
226
- t(D, {
294
+ l(b, {
227
295
  "modal-class": "add-or-edit-dialog",
228
- modelValue: v.value,
229
- "onUpdate:modelValue": e[4] || (e[4] = (l) => v.value = l),
296
+ modelValue: E.value,
297
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => E.value = a),
230
298
  width: "1000",
231
299
  "align-center": "",
232
300
  "append-to-body": "",
@@ -236,95 +304,95 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
236
304
  "modal-penetrable": !0,
237
305
  "show-close": !1
238
306
  }, {
239
- header: o(({ titleId: l, titleClass: h }) => [
240
- n("div", ze, [
241
- n("div", Fe, [
242
- n("span", {
243
- id: l,
244
- class: O(h)
245
- }, k(s.id ? "编辑自定义函数" : "新建自定义函数"), 11, Oe)
307
+ header: s(({ titleId: a, titleClass: x }) => [
308
+ i("div", Te, [
309
+ i("div", qe, [
310
+ i("span", {
311
+ id: a,
312
+ class: M(x)
313
+ }, $(r.id ? "编辑自定义函数" : "新建自定义函数"), 11, Me)
246
314
  ]),
247
- n("div", $e, [
248
- t(f, {
315
+ i("div", Ue, [
316
+ l(n, {
249
317
  size: "small",
250
318
  type: "primary",
251
- onClick: H
319
+ onClick: ne
252
320
  }, {
253
- default: o(() => [
254
- m(" 变量选择器 ")
321
+ default: s(() => [
322
+ v(" 变量选择器 ")
255
323
  ]),
256
324
  _: 1
257
325
  }),
258
- t(i, {
259
- onClick: e[2] || (e[2] = (te) => v.value = !1)
326
+ l(o, {
327
+ onClick: e[2] || (e[2] = (ie) => E.value = !1)
260
328
  }, {
261
- default: o(() => [
262
- t(E(M))
329
+ default: s(() => [
330
+ l(C(G))
263
331
  ]),
264
332
  _: 1
265
333
  })
266
334
  ])
267
335
  ])
268
336
  ]),
269
- footer: o(() => [
270
- n("div", Me, [
271
- t(f, {
337
+ footer: s(() => [
338
+ i("div", Ae, [
339
+ l(n, {
272
340
  type: "primary",
273
- loading: V.value,
274
- onClick: G
341
+ loading: D.value,
342
+ onClick: Y
275
343
  }, {
276
- default: o(() => [
277
- m(" 确定 ")
344
+ default: s(() => [
345
+ v(" 确定 ")
278
346
  ]),
279
347
  _: 1
280
348
  }, 8, ["loading"])
281
349
  ])
282
350
  ]),
283
- default: o(() => [
284
- n("div", De, [
285
- n("div", Ie, [
286
- qe,
287
- t(X, {
288
- modelValue: s.funcName,
289
- "onUpdate:modelValue": e[3] || (e[3] = (l) => s.funcName = l)
351
+ default: s(() => [
352
+ i("div", Re, [
353
+ i("div", je, [
354
+ Le,
355
+ l(m, {
356
+ modelValue: r.funcName,
357
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => r.funcName = a)
290
358
  }, null, 8, ["modelValue"])
291
359
  ]),
292
- n("div", Be, [
293
- t(f, {
360
+ i("div", Pe, [
361
+ l(n, {
294
362
  type: "primary",
295
- loading: S.value,
296
- onClick: A
363
+ loading: I.value,
364
+ onClick: oe
297
365
  }, {
298
- default: o(() => [
299
- m(" 测试 ")
366
+ default: s(() => [
367
+ v(" 测试 ")
300
368
  ]),
301
369
  _: 1
302
370
  }, 8, ["loading"]),
303
- t(f, {
304
- icon: E(be),
305
- onClick: P
371
+ l(n, {
372
+ icon: C(be),
373
+ onClick: le
306
374
  }, {
307
- default: o(() => [
308
- m(" 日志明细 ")
375
+ default: s(() => [
376
+ v(" 日志明细 ")
309
377
  ]),
310
378
  _: 1
311
379
  }, 8, ["icon"])
312
380
  ])
313
381
  ]),
314
- je,
315
- t(Y, {
382
+ We,
383
+ l(f, {
316
384
  ref_key: "stMonacoEditorRef",
317
- ref: p,
385
+ ref: g,
318
386
  language: "lua",
319
387
  style: { width: "968px", height: "400px" }
320
388
  }, null, 512)
321
389
  ]),
322
390
  _: 1
323
391
  }, 8, ["modelValue"]),
324
- t(D, {
392
+ l(b, {
325
393
  "modal-class": "log-dialog",
326
- modelValue: g.value,
327
- "onUpdate:modelValue": e[7] || (e[7] = (l) => g.value = l),
394
+ modelValue: y.value,
395
+ "onUpdate:modelValue": e[7] || (e[7] = (a) => y.value = a),
328
396
  width: "830",
329
397
  "align-center": "",
330
398
  "append-to-body": "",
@@ -334,55 +402,55 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
334
402
  "modal-penetrable": !0,
335
403
  "show-close": !1
336
404
  }, {
337
- header: o(({ titleId: l, titleClass: h }) => [
338
- n("div", Re, [
339
- n("div", Te, [
340
- n("span", {
341
- id: l,
342
- class: O(h)
343
- }, " 日志明细 ", 10, Ue)
405
+ header: s(({ titleId: a, titleClass: x }) => [
406
+ i("div", Ge, [
407
+ i("div", He, [
408
+ i("span", {
409
+ id: a,
410
+ class: M(x)
411
+ }, " 日志明细 ", 10, Je)
344
412
  ]),
345
- n("div", Le, [
346
- t(i, {
347
- onClick: e[5] || (e[5] = (te) => g.value = !1)
413
+ i("div", Ke, [
414
+ l(o, {
415
+ onClick: e[5] || (e[5] = (ie) => y.value = !1)
348
416
  }, {
349
- default: o(() => [
350
- t(E(M))
417
+ default: s(() => [
418
+ l(C(G))
351
419
  ]),
352
420
  _: 1
353
421
  })
354
422
  ])
355
423
  ])
356
424
  ]),
357
- footer: o(() => [
358
- n("div", Ae, [
359
- t(f, {
360
- onClick: e[6] || (e[6] = (l) => g.value = !1)
425
+ footer: s(() => [
426
+ i("div", Xe, [
427
+ l(n, {
428
+ onClick: e[6] || (e[6] = (a) => y.value = !1)
361
429
  }, {
362
- default: o(() => [
363
- m(" 关闭 ")
430
+ default: s(() => [
431
+ v(" 关闭 ")
364
432
  ]),
365
433
  _: 1
366
434
  })
367
435
  ])
368
436
  ]),
369
- default: o(() => [
370
- n("div", We, [
371
- t(I, {
437
+ default: s(() => [
438
+ i("div", Qe, [
439
+ l(R, {
372
440
  class: "code",
373
441
  height: "600px"
374
442
  }, {
375
- default: o(() => [
376
- n("pre", null, k(d.code), 1)
443
+ default: s(() => [
444
+ i("pre", null, $(_.code), 1)
377
445
  ]),
378
446
  _: 1
379
447
  }),
380
- t(Z, { direction: "vertical" }),
381
- t(I, { height: "600px" }, {
382
- default: o(() => [
383
- n("pre", {
384
- class: O(d.result === 1 ? "success-log" : "error-log")
385
- }, k(d.result === 1 ? "测试通过 √" : d.detail), 3)
448
+ l(se, { direction: "vertical" }),
449
+ l(R, { height: "600px" }, {
450
+ default: s(() => [
451
+ i("pre", {
452
+ class: M(_.result === 1 ? "success-log" : "error-log")
453
+ }, $(_.result === 1 ? "测试通过 √" : _.detail), 3)
386
454
  ]),
387
455
  _: 1
388
456
  })
@@ -390,18 +458,18 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
390
458
  ]),
391
459
  _: 1
392
460
  }, 8, ["modelValue"]),
393
- t(ee, {
461
+ l(ae, {
394
462
  ref_key: "stVarSelectDialogRef",
395
- ref: C
463
+ ref: z
396
464
  }, null, 512)
397
465
  ]);
398
466
  };
399
467
  }
400
- }, Ge = /* @__PURE__ */ Ce(Pe, [["__scopeId", "data-v-0a65deeb"]]), Vt = {
401
- install(c) {
402
- c.component("st-customFunction", Ge);
468
+ }, Ze = /* @__PURE__ */ Ne(Ye, [["__scopeId", "data-v-ff7c4544"]]), Tt = {
469
+ install(d) {
470
+ d.component("st-customFunction", Ze);
403
471
  }
404
472
  };
405
473
  export {
406
- Vt as default
474
+ Tt as default
407
475
  };