st-comp 0.0.219 → 0.0.221

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 (111) hide show
  1. package/es/CustomFunction.cjs +5 -5
  2. package/es/CustomFunction.js +362 -299
  3. package/es/FactorWarning.cjs +1 -1
  4. package/es/FactorWarning.js +25 -25
  5. package/es/Kline.cjs +1 -1
  6. package/es/Kline.js +10 -10
  7. package/es/KlineBasic.cjs +1 -1
  8. package/es/KlineBasic.js +425 -394
  9. package/es/KlineConfig.cjs +1 -1
  10. package/es/KlineConfig.js +15 -15
  11. package/es/KlineNew.cjs +1 -1
  12. package/es/KlineNew.js +9 -9
  13. package/es/KlinePlus.cjs +1 -1
  14. package/es/KlinePlus.js +11 -11
  15. package/es/Pagination.cjs +1 -1
  16. package/es/Pagination.js +13 -13
  17. package/es/PasswordPrompt.cjs +1 -1
  18. package/es/PasswordPrompt.js +2 -2
  19. package/es/Table.cjs +1 -1
  20. package/es/Table.js +29 -29
  21. package/es/User.cjs +1 -1
  22. package/es/User.js +18 -18
  23. package/es/VarSelectDialog.cjs +1 -1
  24. package/es/VarSelectDialog.js +17 -17
  25. package/es/VarietyAutoComplete.cjs +1 -1
  26. package/es/VarietyAutoComplete.js +7 -7
  27. package/es/VarietySearch.cjs +1 -1
  28. package/es/VarietySearch.js +26 -26
  29. package/es/VarietyTextCopy.cjs +1 -1
  30. package/es/VarietyTextCopy.js +9 -9
  31. package/es/VirtualTable.cjs +1 -1
  32. package/es/VirtualTable.js +5 -5
  33. package/es/{_initCloneObject-6429d105.cjs → _initCloneObject-52b6a510.cjs} +1 -1
  34. package/es/{_initCloneObject-4f4401b6.js → _initCloneObject-eaef9418.js} +2 -2
  35. package/es/{config-provider-285ead82.cjs → config-provider-a584d81e.cjs} +1 -1
  36. package/es/{config-provider-e1736401.js → config-provider-b16efd62.js} +3 -3
  37. package/es/{dropdown-6ba4a93d.cjs → dropdown-071c5d7e.cjs} +1 -1
  38. package/es/{dropdown-73ca08ef.js → dropdown-a59bba73.js} +2 -2
  39. package/es/{el-autocomplete-aeb7da33.cjs → el-autocomplete-a07e9439.cjs} +1 -1
  40. package/es/{el-autocomplete-2180fc5c.js → el-autocomplete-ba808eb6.js} +5 -5
  41. package/es/{el-button-e8b725f0.js → el-button-c95adb85.js} +3 -3
  42. package/es/{el-button-0dbb2d4a.cjs → el-button-eec58cff.cjs} +1 -1
  43. package/es/{el-checkbox-df0def51.js → el-checkbox-7421ccd3.js} +3 -3
  44. package/es/{el-checkbox-b8c558ca.cjs → el-checkbox-c25236a6.cjs} +1 -1
  45. package/es/{el-dialog-4330c5bd.js → el-dialog-41ab8417.js} +4 -4
  46. package/es/{el-dialog-5028c704.cjs → el-dialog-ae86edb8.cjs} +1 -1
  47. package/es/{el-form-item-f7e8255e.cjs → el-form-item-c3fe189b.cjs} +1 -1
  48. package/es/{el-form-item-b816e9f3.js → el-form-item-c53c374d.js} +5 -5
  49. package/es/{el-input-bd1ce1e9.js → el-input-2f75c4ba.js} +4 -4
  50. package/es/{el-input-2e9268ac.cjs → el-input-7fd293af.cjs} +1 -1
  51. package/es/{el-input-number-153a3742.cjs → el-input-number-22e21d16.cjs} +1 -1
  52. package/es/{el-input-number-088d2c66.js → el-input-number-5193fe6d.js} +4 -4
  53. package/es/{el-loading-03240202.cjs → el-loading-cfd86c15.cjs} +1 -1
  54. package/es/{el-loading-d0dac75f.js → el-loading-f6022062.js} +1 -1
  55. package/es/{el-menu-item-b843f5ee.cjs → el-menu-item-17dc717e.cjs} +1 -1
  56. package/es/{el-menu-item-c7202455.js → el-menu-item-7e881203.js} +4 -4
  57. package/es/{el-message-3d8d9810.cjs → el-message-5e6a6be9.cjs} +1 -1
  58. package/es/{el-message-box-7a952ec7.js → el-message-box-a93d2f6a.js} +9 -9
  59. package/es/{el-message-box-aafae7ee.cjs → el-message-box-c10adb52.cjs} +1 -1
  60. package/es/{el-message-290a93ff.js → el-message-e544a8f5.js} +5 -5
  61. package/es/{el-overlay-f72f3f3d.js → el-overlay-09ad71cd.js} +3 -3
  62. package/es/{el-overlay-ab0b3c66.cjs → el-overlay-9e34965f.cjs} +1 -1
  63. package/es/{el-popconfirm-a4a50f14.cjs → el-popconfirm-70a976bf.cjs} +1 -1
  64. package/es/{el-popconfirm-bdcb65fe.js → el-popconfirm-81dcd202.js} +4 -4
  65. package/es/{el-popper-b0ef8ed3.js → el-popper-b4f97157.js} +1 -1
  66. package/es/{el-popper-b37ec1ef.cjs → el-popper-b6c99b28.cjs} +1 -1
  67. package/es/{el-segmented-d0a61f41.js → el-segmented-b868d074.js} +2 -2
  68. package/es/{el-segmented-f505fd25.cjs → el-segmented-f8fce9ac.cjs} +1 -1
  69. package/es/{el-select-d63dc0f6.js → el-select-95627997.js} +8 -8
  70. package/es/{el-select-91145989.cjs → el-select-d8d91db1.cjs} +1 -1
  71. package/es/{el-table-column-5ad33084.js → el-table-column-376cd907.js} +9 -9
  72. package/es/{el-table-column-4dae58f0.cjs → el-table-column-c974cb96.cjs} +1 -1
  73. package/es/{el-tag-2da70fa3.js → el-tag-66cab138.js} +2 -2
  74. package/es/{el-tag-891b703d.cjs → el-tag-a33c4b22.cjs} +1 -1
  75. package/es/{el-text-d42a3be4.js → el-text-ac60d0f2.js} +1 -1
  76. package/es/{el-text-cfd2f326.cjs → el-text-c20a9f48.cjs} +1 -1
  77. package/es/index-098c2447.cjs +1 -0
  78. package/es/{index-eb3ca89a.cjs → index-11547a0c.cjs} +1 -1
  79. package/es/{index-23d35abc.js → index-1f7d4f70.js} +1 -1
  80. package/es/{index-f50a50b3.cjs → index-298075cf.cjs} +1 -1
  81. package/es/{index-af3c738f.js → index-57672682.js} +2 -2
  82. package/es/{index-5108cae0.js → index-844bdd85.js} +2 -2
  83. package/es/{index-d6a848ac.js → index-88546436.js} +2 -2
  84. package/es/{index-25bc46bb.cjs → index-9b9ef5dd.cjs} +1 -1
  85. package/es/{index-598d418b.js → index-a871c3eb.js} +111 -92
  86. package/es/{index-6c252a43.cjs → index-c108567d.cjs} +1 -1
  87. package/es/{index-0902dd2e.js → index-d91dc23f.js} +2 -2
  88. package/es/{index-b99c0c42.js → index-e5566b94.js} +1 -1
  89. package/es/{index-d7928b14.cjs → index-f3562b52.cjs} +1 -1
  90. package/es/{index-7a26fd8b.cjs → index-f967d6c1.cjs} +1 -1
  91. package/es/style.css +1 -1
  92. package/es/{use-form-common-props-b995a440.js → use-form-common-props-815d48a6.js} +12 -12
  93. package/es/{use-form-common-props-3b387353.cjs → use-form-common-props-fd9b61a0.cjs} +1 -1
  94. package/es/{use-global-config-2a4156cd.cjs → use-global-config-30d7d8ce.cjs} +1 -1
  95. package/es/{use-global-config-e20aee8c.js → use-global-config-b5e9d3d5.js} +2 -2
  96. package/es/{validator-7dacff4f.cjs → validator-1b8a6128.cjs} +1 -1
  97. package/es/{validator-6d23708b.js → validator-764a9db0.js} +1 -1
  98. package/es/{zh-cn-a3c3833a.cjs → zh-cn-90317f62.cjs} +1 -1
  99. package/es/{zh-cn-7530f035.js → zh-cn-e963c628.js} +1 -1
  100. package/lib/bundle.js +1 -1
  101. package/lib/bundle.umd.cjs +164 -164
  102. package/lib/{index-f90c4e75.js → index-d3e408b3.js} +16052 -15940
  103. package/lib/{python-8759beff.js → python-34cb78d0.js} +1 -1
  104. package/lib/style.css +1 -1
  105. package/package.json +1 -1
  106. package/packages/CustomFunction/components/ManageDialog.vue +31 -30
  107. package/packages/CustomFunction/index.vue +59 -4
  108. package/packages/KlineBasic/components/AverageTips/index.vue +33 -0
  109. package/packages/KlineBasic/components/KlineSub/index.vue +2 -2
  110. package/packages/KlineBasic/components/Tips/index.vue +21 -3
  111. package/es/index-7a85500c.cjs +0 -1
@@ -1,42 +1,42 @@
1
1
  import "./base-a5af3db3.js";
2
- import { E as Z } from "./el-button-e8b725f0.js";
3
- import "./el-tag-2da70fa3.js";
4
- import { E as _e, a as ve } from "./el-select-d63dc0f6.js";
2
+ import { E as oe } from "./el-button-c95adb85.js";
3
+ import "./el-tag-66cab138.js";
4
+ import { E as ye, a as Ee } from "./el-select-95627997.js";
5
5
  import "./el-scrollbar-323542e7.js";
6
- import "./el-popper-b0ef8ed3.js";
7
- import { inject as ee, ref as m, reactive as P, computed as ge, watch as he, nextTick as X, resolveComponent as G, openBlock as F, createBlock as H, withCtx as s, createElementVNode as l, normalizeClass as M, createVNode as t, unref as D, createTextVNode as b, createElementBlock as j, Fragment as te, renderList as oe, toDisplayString as q, withModifiers as xe, pushScopeId as ye, popScopeId as Ee, h as O, onMounted as be, normalizeStyle as Ve } from "vue";
8
- import { E as Ce } from "./el-divider-4e059794.js";
9
- import { E as ke } from "./el-dialog-4330c5bd.js";
10
- import "./el-overlay-f72f3f3d.js";
11
- import { E as we } from "./el-empty-33cb66f1.js";
12
- import { E as Se } from "./el-popconfirm-bdcb65fe.js";
6
+ import "./el-popper-b4f97157.js";
7
+ import { E as ne } from "./el-popconfirm-81dcd202.js";
13
8
  import "./el-popover-4ed993c7.js";
14
- import { E as Y } from "./el-input-bd1ce1e9.js";
15
- import { c as K, d as $e, a as Ne, b as De, E as Fe } from "./index-598d418b.js";
16
- import { G as ze } from "./index-7ed0999e.js";
17
- import { E } from "./el-message-290a93ff.js";
18
- import { E as Ie } from "./el-message-box-7a952ec7.js";
19
- import { E as Me, a as Oe } from "./el-form-item-b816e9f3.js";
20
- import { _ as le } from "./_plugin-vue_export-helper-dad06003.js";
21
- import { E as Be } from "./index-5108cae0.js";
9
+ import { inject as le, ref as f, reactive as J, computed as be, watch as Ce, nextTick as ee, resolveComponent as Q, openBlock as I, createBlock as Y, withCtx as n, createElementVNode as l, normalizeClass as B, createVNode as t, unref as h, createTextVNode as k, createElementBlock as P, Fragment as se, renderList as ae, toDisplayString as L, withModifiers as W, pushScopeId as Ve, popScopeId as ke, h as U, onMounted as we, normalizeStyle as $e } from "vue";
10
+ import { c as X, d as ie, a as ce, b as Ne, E as re, e as Se } from "./index-a871c3eb.js";
11
+ import { E as De } from "./el-divider-4e059794.js";
12
+ import { E as Fe } from "./el-dialog-41ab8417.js";
13
+ import "./el-overlay-09ad71cd.js";
14
+ import { E as ze } from "./el-empty-33cb66f1.js";
15
+ import { E as te } from "./el-input-2f75c4ba.js";
16
+ import { G as Ie } from "./index-7ed0999e.js";
17
+ import { E as V } from "./el-message-e544a8f5.js";
18
+ import { E as Me } from "./el-message-box-a93d2f6a.js";
19
+ import { E as Oe, a as Be } from "./el-form-item-c53c374d.js";
20
+ import { _ as ue } from "./_plugin-vue_export-helper-dad06003.js";
21
+ import { E as Ue } from "./index-844bdd85.js";
22
22
  import "./index-2e331d74.js";
23
- import "./use-global-config-e20aee8c.js";
24
- import "./use-form-common-props-b995a440.js";
23
+ import "./use-global-config-b5e9d3d5.js";
24
+ import "./use-form-common-props-815d48a6.js";
25
25
  import "./index-960806da.js";
26
26
  import "./index-d77a7336.js";
27
- import "./index-b99c0c42.js";
27
+ import "./index-e5566b94.js";
28
28
  import "./index-657047bb.js";
29
- import "./index-af3c738f.js";
29
+ import "./index-57672682.js";
30
30
  import "./castArray-7741a212.js";
31
- import "./index-0902dd2e.js";
31
+ import "./index-d91dc23f.js";
32
32
  import "./scroll-679bd6bf.js";
33
33
  import "./debounce-8d53f4dd.js";
34
34
  import "./vnode-5ddb7ed1.js";
35
35
  import "./typescript-7ae59c4c.js";
36
- import "./config-provider-e1736401.js";
37
- import "./validator-6d23708b.js";
38
- import "./_initCloneObject-4f4401b6.js";
39
- const J = (f) => (ye("data-v-8af089bb"), f = f(), Ee(), f), Ue = { class: "custom-header" }, Re = { class: "left" }, qe = ["id"], je = { class: "right" }, Te = { class: "manage-dialog-body" }, Ae = { class: "func-list" }, Le = { class: "search" }, We = /* @__PURE__ */ J(() => /* @__PURE__ */ l("span", null, "输入函数关键字", -1)), Pe = ["onClick"], Ge = { class: "icon-box" }, Ke = { class: "rule-form" }, He = { class: "header" }, Je = /* @__PURE__ */ J(() => /* @__PURE__ */ l("span", null, "函数名称:", -1)), Qe = { class: "right" }, Xe = /* @__PURE__ */ J(() => /* @__PURE__ */ l("div", { class: "tip-box" }, "说明: 公式里可以使用变量, 变量名命名格式: ${变量名}, 后续可在应用函数时填写具体值, 系统会自动换算", -1)), Ye = { class: "custom-header" }, Ze = { class: "left" }, et = ["id"], tt = { class: "right" }, ot = { class: "dialog-footer" }, lt = { class: "custom-header" }, nt = { class: "left" }, st = ["id"], at = { class: "right" }, it = { class: "content" }, rt = { class: "dialog-footer" }, ut = {
36
+ import "./config-provider-b16efd62.js";
37
+ import "./validator-764a9db0.js";
38
+ import "./_initCloneObject-eaef9418.js";
39
+ const Z = (p) => (Ve("data-v-cbbcbba3"), p = p(), ke(), p), qe = { class: "custom-header" }, Re = { class: "left" }, je = ["id"], Te = { class: "right" }, Ae = { class: "manage-dialog-body" }, Le = { class: "func-list" }, We = { class: "search" }, Pe = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", null, "输入函数关键字", -1)), Ge = ["onClick"], Ke = { class: "icon-box" }, He = { class: "rule-form" }, Je = { class: "header" }, Qe = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("span", null, "函数名称:", -1)), Xe = { class: "right" }, Ye = /* @__PURE__ */ Z(() => /* @__PURE__ */ l("div", { class: "tip-box" }, "说明: 公式里可以使用变量, 变量名命名格式: ${变量名}, 后续可在应用函数时填写具体值, 系统会自动换算", -1)), Ze = { class: "custom-header" }, et = { class: "left" }, tt = ["id"], ot = { class: "right" }, nt = { class: "dialog-footer" }, lt = { class: "custom-header" }, st = { class: "left" }, at = ["id"], it = { class: "right" }, ct = { class: "content" }, rt = { class: "dialog-footer" }, ut = {
40
40
  __name: "ManageDialog",
41
41
  props: {
42
42
  data: {
@@ -45,93 +45,93 @@ const J = (f) => (ye("data-v-8af089bb"), f = f(), Ee(), f), Ue = { class: "custo
45
45
  }
46
46
  },
47
47
  emits: ["refreshData"],
48
- setup(f, { expose: T, emit: A }) {
49
- const { request: z } = ee("stConfig"), p = m(null), V = m(null), x = A, y = f, C = m(!1), k = P({
48
+ setup(p, { expose: G, emit: q }) {
49
+ const { request: w } = le("stConfig"), m = f(null), $ = f(null), x = q, y = p, E = f(!1), N = J({
50
50
  save: !1,
51
51
  test: !1
52
- }), w = m(null), I = ge(() => w.value ? y.data.filter((o) => o.funcName.includes(w.value)) : y.data), a = P({
52
+ }), S = f(null), b = be(() => S.value ? y.data.filter((o) => o.funcName.includes(S.value)) : y.data), a = J({
53
53
  id: null,
54
54
  funcName: "",
55
55
  funcExpression: ""
56
- }), u = m(""), d = P({
56
+ }), i = f(""), u = J({
57
57
  result: null,
58
58
  detail: "",
59
59
  code: ""
60
- }), S = m(!1), h = m(!1), v = () => {
60
+ }), D = f(!1), C = f(!1), O = () => {
61
61
  var o;
62
62
  Object.assign(a, {
63
63
  id: null,
64
64
  funcName: "",
65
65
  funcExpression: ""
66
- }), u.value = "", (o = p.value) == null || o.setValue(a.funcExpression);
67
- }, Q = (o) => {
66
+ }), i.value = "", (o = m.value) == null || o.setValue(a.funcExpression);
67
+ }, M = (o) => {
68
68
  var e;
69
69
  Object.assign(a, {
70
70
  id: o.id,
71
71
  funcName: o.funcName,
72
72
  funcExpression: o.funcExpression
73
- }), u.value = "", (e = p.value) == null || e.setValue(a.funcExpression);
74
- }, ne = (o) => {
73
+ }), i.value = "", (e = m.value) == null || e.setValue(a.funcExpression);
74
+ }, _ = (o) => {
75
75
  var e;
76
76
  Object.assign(a, {
77
77
  id: null,
78
78
  funcName: `${o.funcName}-复制`,
79
79
  funcExpression: o.funcExpression
80
- }), u.value = "", (e = p.value) == null || e.setValue(a.funcExpression);
81
- }, se = async (o) => {
80
+ }), i.value = "", (e = m.value) == null || e.setValue(a.funcExpression);
81
+ }, R = async (o) => {
82
82
  var e;
83
83
  o.id === a.id && (Object.assign(a, {
84
84
  id: null,
85
85
  funcName: "",
86
86
  funcExpression: ""
87
- }), (e = p.value) == null || e.setValue(a.funcExpression)), await z.post("/common/qt/deleteSearchFunctionById", { id: o.id }), x("refreshData");
88
- }, ae = ze(async () => {
87
+ }), (e = m.value) == null || e.setValue(a.funcExpression)), await w.post("/common/qt/deleteSearchFunctionById", { id: o.id }), x("refreshData");
88
+ }, de = Ie(async () => {
89
89
  try {
90
- if (k.save = !0, a.funcExpression = p.value.getValue(), !a.funcName)
91
- return E.error("函数名称不可为空");
90
+ if (N.save = !0, a.funcExpression = m.value.getValue(), !a.funcName)
91
+ return V.error("函数名称不可为空");
92
92
  if (!a.funcExpression)
93
- return E.error("函数内容不可为空");
94
- await z.post("/common/qt/saveOrUpdateSearchFunction", a), E.success("操作成功"), x("refreshData"), a.id || v();
93
+ return V.error("函数内容不可为空");
94
+ await w.post("/common/qt/saveOrUpdateSearchFunction", a), V.success("操作成功"), x("refreshData"), a.id || O();
95
95
  } finally {
96
- k.save = !1;
96
+ N.save = !1;
97
97
  }
98
- }), ie = (o) => new Promise((e) => {
99
- const i = m(
100
- o.reduce((c, g) => (c[g] = "", c), {})
101
- ), r = m({}), _ = () => {
102
- let c = !0;
98
+ }), fe = (o) => new Promise((e) => {
99
+ const c = f(
100
+ o.reduce((d, g) => (d[g] = "", d), {})
101
+ ), r = f({}), v = () => {
102
+ let d = !0;
103
103
  const g = {};
104
- return o.forEach(($) => {
105
- var U;
106
- (U = i.value[$]) != null && U.trim() || (g[$] = `请输入${$}的值`, c = !1);
107
- }), r.value = g, c;
104
+ return o.forEach((F) => {
105
+ var T;
106
+ (T = c.value[F]) != null && T.trim() || (g[F] = `请输入${F}的值`, d = !1);
107
+ }), r.value = g, d;
108
108
  };
109
- Ie({
109
+ Me({
110
110
  title: "填写变量值用于接口测试",
111
- message: O({
111
+ message: U({
112
112
  setup() {
113
- return () => O("div", [
114
- O(
115
- Me,
113
+ return () => U("div", [
114
+ U(
115
+ Oe,
116
116
  {
117
- model: i.value
117
+ model: c.value
118
118
  },
119
119
  () => o.map(
120
- (c) => O(
121
- Oe,
120
+ (d) => U(
121
+ Be,
122
122
  {
123
- label: `${c}: `,
124
- prop: c,
125
- error: r.value[c],
123
+ label: `${d}: `,
124
+ prop: d,
125
+ error: r.value[d],
126
126
  "label-width": "90px"
127
127
  },
128
- () => O(Y, {
129
- modelValue: i.value[c],
128
+ () => U(te, {
129
+ modelValue: c.value[d],
130
130
  "onUpdate:modelValue": (g) => {
131
- i.value[c] = g, r.value[c] && delete r.value[c];
131
+ c.value[d] = g, r.value[d] && delete r.value[d];
132
132
  },
133
- placeholder: `请输入 ${c} 的值`,
134
- status: r.value[c] ? "error" : ""
133
+ placeholder: `请输入 ${d} 的值`,
134
+ status: r.value[d] ? "error" : ""
135
135
  })
136
136
  )
137
137
  )
@@ -143,92 +143,91 @@ const J = (f) => (ye("data-v-8af089bb"), f = f(), Ee(), f), Ue = { class: "custo
143
143
  confirmButtonText: "确定",
144
144
  cancelButtonText: "取消",
145
145
  customClass: "variable-input-dialog",
146
- beforeClose: async (c, g, $) => {
147
- c !== "confirm" && (e(!1), $()), await X(), _() && (e({ ...i.value }), $());
146
+ beforeClose: async (d, g, F) => {
147
+ d !== "confirm" && (e(!1), F()), await ee(), v() && (e({ ...c.value }), F());
148
148
  }
149
149
  }).catch(() => e(!1));
150
- }), re = (o) => {
151
- const e = /\$\{([^}]*)\}/g, i = [];
150
+ }), pe = (o) => {
151
+ const e = /\$\{([^}]*)\}/g, c = [];
152
152
  let r;
153
153
  for (; (r = e.exec(o)) !== null; )
154
- i.push(r[1]);
155
- return [...new Set(i)];
156
- }, ue = (o, e) => o.replace(/\$\{([^}]*)\}/g, (i, r) => e[r] !== void 0 ? e[r] : i), ce = (o) => o ? o.split(`
157
- `).reduce((e, i) => {
158
- const r = i.trim().replace(/\s+/gi, " ").split(" ")[0];
154
+ c.push(r[1]);
155
+ return [...new Set(c)];
156
+ }, me = (o, e) => o.replace(/\$\{([^}]*)\}/g, (c, r) => e[r] !== void 0 ? e[r] : c), _e = (o) => o ? o.split(`
157
+ `).reduce((e, c) => {
158
+ const r = c.trim().replace(/\s+/gi, " ").split(" ")[0];
159
159
  return r && e.push(r), e;
160
- }, []) : [], L = async (o) => {
160
+ }, []) : [], K = async (o) => {
161
161
  switch (o) {
162
162
  case "open": {
163
- if (!p.value.getValue())
164
- return E.error("函数内容不可为空");
165
- S.value = !0;
163
+ if (!m.value.getValue())
164
+ return V.error("函数内容不可为空");
165
+ D.value = !0;
166
166
  break;
167
167
  }
168
168
  case "submit": {
169
- let e = p.value.getValue();
169
+ let e = m.value.getValue();
170
170
  if (!e)
171
- return E.error("函数内容不可为空");
171
+ return V.error("函数内容不可为空");
172
172
  if (/\$\{[^}]*\}/.test(e)) {
173
- const i = re(e), r = await ie(i);
173
+ const c = pe(e), r = await fe(c);
174
174
  if (!r)
175
175
  return;
176
- e = ue(e, r);
176
+ e = me(e, r);
177
177
  }
178
- S.value = !1;
178
+ D.value = !1;
179
179
  try {
180
- k.test = !0;
181
- const i = {
182
- codes: ce(u.value),
180
+ N.test = !0;
181
+ const c = {
182
+ codes: _e(i.value),
183
183
  factorSelectExpr: e
184
- }, { body: r } = await z.post("/common/qt/testFactorSelect", i), { result: _, detail: B } = r;
185
- Object.assign(d, { result: _, detail: B, code: i.factorSelectExpr }), _ === 1 ? E.success("测试通过") : (E.error("测试未能通过"), h.value = !0);
184
+ }, { body: r } = await w.post("/common/qt/testFactorSelect", c), { result: v, detail: j } = r;
185
+ Object.assign(u, { result: v, detail: j, code: c.factorSelectExpr }), v === 1 ? V.success("测试通过") : (V.error("测试未能通过"), C.value = !0);
186
186
  } finally {
187
- k.test = !1;
187
+ N.test = !1;
188
188
  }
189
189
  break;
190
190
  }
191
191
  case "log": {
192
- if (d.result === null)
193
- return E.warning("请先进行测试, 等待测试完成后可查看日志");
194
- h.value = !0;
192
+ if (u.result === null)
193
+ return V.warning("请先进行测试, 等待测试完成后可查看日志");
194
+ C.value = !0;
195
195
  break;
196
196
  }
197
197
  }
198
- }, de = () => {
199
- V.value.open(p.value);
198
+ }, ve = () => {
199
+ $.value.open(m.value);
200
200
  };
201
- return he(
202
- () => C.value,
201
+ return Ce(
202
+ () => E.value,
203
203
  (o) => {
204
- switch (o) {
205
- case !0: {
206
- X(() => {
207
- var e;
208
- (e = p.value) == null || e.resize(), w.value = null, I.value.length ? Q(I.value[0]) : v(), Object.assign(d, {
209
- result: null,
210
- detail: "",
211
- code: ""
212
- });
213
- });
214
- break;
215
- }
216
- case !1: {
217
- V.value.close(), S.value = !1, h.value = !1;
218
- break;
219
- }
220
- }
204
+ o || ($.value.close(), D.value = !1, C.value = !1);
221
205
  }
222
- ), T({
223
- open: () => {
224
- C.value = !0;
206
+ ), G({
207
+ open: (o) => {
208
+ E.value = !0, ee(() => {
209
+ var e;
210
+ if ((e = m.value) == null || e.resize(), S.value = null, Object.assign(u, {
211
+ result: null,
212
+ detail: "",
213
+ code: ""
214
+ }), o) {
215
+ const c = {
216
+ id: o.id,
217
+ funcName: o.funcName,
218
+ funcExpression: o.funcExpression
219
+ };
220
+ M(c);
221
+ } else
222
+ b.value.length ? M(b.value[0]) : O();
223
+ });
225
224
  }
226
225
  }), (o, e) => {
227
- const i = Fe, r = Y, _ = Z, B = Se, c = we, g = Be, $ = G("st-monacoEditor"), U = G("st-varSelectDialog"), me = G("st-varietyAutoComplete"), W = ke, fe = Ce;
228
- return F(), H(W, {
226
+ const c = re, r = te, v = oe, j = ne, d = ze, g = Ue, F = Q("st-monacoEditor"), T = Q("st-varSelectDialog"), ge = Q("st-varietyAutoComplete"), H = Fe, he = De;
227
+ return I(), Y(H, {
229
228
  "modal-class": "manage-dialog",
230
- modelValue: C.value,
231
- "onUpdate:modelValue": e[13] || (e[13] = (n) => C.value = n),
229
+ modelValue: E.value,
230
+ "onUpdate:modelValue": e[13] || (e[13] = (s) => E.value = s),
232
231
  width: "1600",
233
232
  "align-center": "",
234
233
  "append-to-body": "",
@@ -237,78 +236,78 @@ const J = (f) => (ye("data-v-8af089bb"), f = f(), Ee(), f), Ue = { class: "custo
237
236
  "modal-penetrable": !0,
238
237
  "show-close": !1
239
238
  }, {
240
- header: s(({ titleId: n, titleClass: N }) => [
241
- l("div", Ue, [
239
+ header: n(({ titleId: s, titleClass: z }) => [
240
+ l("div", qe, [
242
241
  l("div", Re, [
243
242
  l("span", {
244
- id: n,
245
- class: M(N)
246
- }, " 自定义函数管理面板 ", 10, qe)
243
+ id: s,
244
+ class: B(z)
245
+ }, " 自定义函数管理面板 ", 10, je)
247
246
  ]),
248
- l("div", je, [
249
- t(i, {
250
- onClick: e[0] || (e[0] = (R) => C.value = !1)
247
+ l("div", Te, [
248
+ t(c, {
249
+ onClick: e[0] || (e[0] = (A) => E.value = !1)
251
250
  }, {
252
- default: s(() => [
253
- t(D(K))
251
+ default: n(() => [
252
+ t(h(X))
254
253
  ]),
255
254
  _: 1
256
255
  })
257
256
  ])
258
257
  ])
259
258
  ]),
260
- default: s(() => [
261
- l("div", Te, [
262
- l("div", Ae, [
263
- l("div", Le, [
264
- We,
259
+ default: n(() => [
260
+ l("div", Ae, [
261
+ l("div", Le, [
262
+ l("div", We, [
263
+ Pe,
265
264
  t(r, {
266
- modelValue: w.value,
267
- "onUpdate:modelValue": e[1] || (e[1] = (n) => w.value = n),
265
+ modelValue: S.value,
266
+ "onUpdate:modelValue": e[1] || (e[1] = (s) => S.value = s),
268
267
  clearable: ""
269
268
  }, null, 8, ["modelValue"]),
270
- t(_, {
269
+ t(v, {
271
270
  type: "primary",
272
- onClick: v
271
+ onClick: O
273
272
  }, {
274
- default: s(() => [
275
- b("新建")
273
+ default: n(() => [
274
+ k("新建")
276
275
  ]),
277
276
  _: 1
278
277
  })
279
278
  ]),
280
279
  t(g, { class: "list" }, {
281
- default: s(() => [
282
- I.value.length ? (F(!0), j(te, { key: 0 }, oe(I.value, (n) => (F(), j("div", {
283
- key: n.id,
284
- class: M([{ "active-list-item": a.id === n.id }, "list-item"])
280
+ default: n(() => [
281
+ b.value.length ? (I(!0), P(se, { key: 0 }, ae(b.value, (s) => (I(), P("div", {
282
+ key: s.id,
283
+ class: B([{ "active-list-item": a.id === s.id }, "list-item"])
285
284
  }, [
286
285
  l("span", {
287
286
  class: "func-name",
288
- onClick: (N) => Q(n)
289
- }, q(n.funcName), 9, Pe),
290
- l("div", Ge, [
291
- t(i, null, {
292
- default: s(() => [
293
- t(D($e), {
294
- onClick: (N) => ne(n)
287
+ onClick: (z) => M(s)
288
+ }, L(s.funcName), 9, Ge),
289
+ l("div", Ke, [
290
+ t(c, null, {
291
+ default: n(() => [
292
+ t(h(ie), {
293
+ onClick: (z) => _(s)
295
294
  }, null, 8, ["onClick"])
296
295
  ]),
297
296
  _: 2
298
297
  }, 1024),
299
- t(B, {
298
+ t(j, {
300
299
  title: "确认是否删除?",
301
300
  "confirm-button-text": "确认",
302
301
  "cancel-button-text": "取消",
303
- onConfirm: (N) => se(n)
302
+ onConfirm: (z) => R(s)
304
303
  }, {
305
- reference: s(() => [
306
- t(i, {
307
- onClick: xe(() => {
304
+ reference: n(() => [
305
+ t(c, {
306
+ onClick: W(() => {
308
307
  }, ["stop"])
309
308
  }, {
310
- default: s(() => [
311
- t(D(Ne))
309
+ default: n(() => [
310
+ t(h(ce))
312
311
  ]),
313
312
  _: 1
314
313
  })
@@ -316,7 +315,7 @@ const J = (f) => (ye("data-v-8af089bb"), f = f(), Ee(), f), Ue = { class: "custo
316
315
  _: 2
317
316
  }, 1032, ["onConfirm"])
318
317
  ])
319
- ], 2))), 128)) : (F(), H(c, {
318
+ ], 2))), 128)) : (I(), Y(d, {
320
319
  key: 1,
321
320
  description: "暂无数据"
322
321
  }))
@@ -324,70 +323,70 @@ const J = (f) => (ye("data-v-8af089bb"), f = f(), Ee(), f), Ue = { class: "custo
324
323
  _: 1
325
324
  })
326
325
  ]),
327
- l("div", Ke, [
328
- l("div", He, [
329
- Je,
326
+ l("div", He, [
327
+ l("div", Je, [
328
+ Qe,
330
329
  t(r, {
331
330
  modelValue: a.funcName,
332
- "onUpdate:modelValue": e[2] || (e[2] = (n) => a.funcName = n)
331
+ "onUpdate:modelValue": e[2] || (e[2] = (s) => a.funcName = s)
333
332
  }, null, 8, ["modelValue"]),
334
- l("div", Qe, [
335
- t(_, {
333
+ l("div", Xe, [
334
+ t(v, {
336
335
  type: "primary",
337
- onClick: D(ae),
338
- loading: k.save
336
+ onClick: h(de),
337
+ loading: N.save
339
338
  }, {
340
- default: s(() => [
341
- b(" 保存 ")
339
+ default: n(() => [
340
+ k(" 保存 ")
342
341
  ]),
343
342
  _: 1
344
343
  }, 8, ["onClick", "loading"]),
345
- t(_, {
346
- loading: k.test,
347
- onClick: e[3] || (e[3] = (n) => L("open"))
344
+ t(v, {
345
+ loading: N.test,
346
+ onClick: e[3] || (e[3] = (s) => K("open"))
348
347
  }, {
349
- default: s(() => [
350
- b(" 测试 ")
348
+ default: n(() => [
349
+ k(" 测试 ")
351
350
  ]),
352
351
  _: 1
353
352
  }, 8, ["loading"]),
354
- t(_, {
355
- icon: D(De),
356
- onClick: e[4] || (e[4] = (n) => L("log"))
353
+ t(v, {
354
+ icon: h(Ne),
355
+ onClick: e[4] || (e[4] = (s) => K("log"))
357
356
  }, {
358
- default: s(() => [
359
- b(" 日志明细 ")
357
+ default: n(() => [
358
+ k(" 日志明细 ")
360
359
  ]),
361
360
  _: 1
362
361
  }, 8, ["icon"]),
363
- t(_, {
362
+ t(v, {
364
363
  type: "primary",
365
- onClick: de
364
+ onClick: ve
366
365
  }, {
367
- default: s(() => [
368
- b(" 变量选择器 ")
366
+ default: n(() => [
367
+ k(" 变量选择器 ")
369
368
  ]),
370
369
  _: 1
371
370
  })
372
371
  ])
373
372
  ]),
374
- Xe,
375
- t($, {
373
+ Ye,
374
+ t(F, {
376
375
  ref_key: "stMonacoEditorRef",
377
- ref: p,
376
+ ref: m,
378
377
  language: "lua",
379
378
  style: { width: "100%", height: "calc(80vh - 75px)" }
380
379
  }, null, 512)
381
380
  ])
382
381
  ]),
383
- t(U, {
382
+ t(T, {
384
383
  ref_key: "stVarSelectDialogRef",
385
- ref: V
384
+ ref: $
386
385
  }, null, 512),
387
- t(W, {
386
+ t(H, {
388
387
  "modal-class": "test-variety-dialog",
389
- modelValue: S.value,
390
- "onUpdate:modelValue": e[9] || (e[9] = (n) => S.value = n),
388
+ modelValue: D.value,
389
+ "onUpdate:modelValue": e[9] || (e[9] = (s) => D.value = s),
391
390
  width: "500",
392
391
  "align-center": "",
393
392
  "append-to-body": "",
@@ -396,49 +395,49 @@ const J = (f) => (ye("data-v-8af089bb"), f = f(), Ee(), f), Ue = { class: "custo
396
395
  "modal-penetrable": !0,
397
396
  "show-close": !1
398
397
  }, {
399
- header: s(({ titleId: n, titleClass: N }) => [
400
- l("div", Ye, [
401
- l("div", Ze, [
398
+ header: n(({ titleId: s, titleClass: z }) => [
399
+ l("div", Ze, [
400
+ l("div", et, [
402
401
  l("span", {
403
- id: n,
404
- class: M(N)
405
- }, " 测试品种 ", 10, et)
402
+ id: s,
403
+ class: B(z)
404
+ }, " 测试品种 ", 10, tt)
406
405
  ]),
407
- l("div", tt, [
408
- t(me, {
406
+ l("div", ot, [
407
+ t(ge, {
409
408
  label: "",
410
- onSelect: e[5] || (e[5] = ({ name: R, code: pe }) => u.value += `${pe} ${R}
409
+ onSelect: e[5] || (e[5] = ({ name: A, code: xe }) => i.value += `${xe} ${A}
411
410
  `)
412
411
  }),
413
- t(i, {
414
- onClick: e[6] || (e[6] = (R) => S.value = !1)
412
+ t(c, {
413
+ onClick: e[6] || (e[6] = (A) => D.value = !1)
415
414
  }, {
416
- default: s(() => [
417
- t(D(K))
415
+ default: n(() => [
416
+ t(h(X))
418
417
  ]),
419
418
  _: 1
420
419
  })
421
420
  ])
422
421
  ])
423
422
  ]),
424
- footer: s(() => [
425
- l("div", ot, [
426
- t(_, {
423
+ footer: n(() => [
424
+ l("div", nt, [
425
+ t(v, {
427
426
  type: "primary",
428
- onClick: e[8] || (e[8] = (n) => L("submit"))
427
+ onClick: e[8] || (e[8] = (s) => K("submit"))
429
428
  }, {
430
- default: s(() => [
431
- b(" 确认 ")
429
+ default: n(() => [
430
+ k(" 确认 ")
432
431
  ]),
433
432
  _: 1
434
433
  })
435
434
  ])
436
435
  ]),
437
- default: s(() => [
436
+ default: n(() => [
438
437
  t(r, {
439
438
  class: "full-height-textarea",
440
- modelValue: u.value,
441
- "onUpdate:modelValue": e[7] || (e[7] = (n) => u.value = n),
439
+ modelValue: i.value,
440
+ "onUpdate:modelValue": e[7] || (e[7] = (s) => i.value = s),
442
441
  resize: "none",
443
442
  type: "textarea",
444
443
  placeholder: `不填写时, 默认为000001 平安银行
@@ -450,10 +449,10 @@ bu8888    石油沥青期货指数`
450
449
  ]),
451
450
  _: 1
452
451
  }, 8, ["modelValue"]),
453
- t(W, {
452
+ t(H, {
454
453
  "modal-class": "log-dialog",
455
- modelValue: h.value,
456
- "onUpdate:modelValue": e[12] || (e[12] = (n) => h.value = n),
454
+ modelValue: C.value,
455
+ "onUpdate:modelValue": e[12] || (e[12] = (s) => C.value = s),
457
456
  width: "830",
458
457
  "align-center": "",
459
458
  "append-to-body": "",
@@ -463,56 +462,56 @@ bu8888    石油沥青期货指数`
463
462
  "modal-penetrable": !0,
464
463
  "show-close": !1
465
464
  }, {
466
- header: s(({ titleId: n, titleClass: N }) => [
465
+ header: n(({ titleId: s, titleClass: z }) => [
467
466
  l("div", lt, [
468
- l("div", nt, [
467
+ l("div", st, [
469
468
  l("span", {
470
- id: n,
471
- class: M(N)
472
- }, " 日志明细 ", 10, st)
469
+ id: s,
470
+ class: B(z)
471
+ }, " 日志明细 ", 10, at)
473
472
  ]),
474
- l("div", at, [
475
- t(i, {
476
- onClick: e[10] || (e[10] = (R) => h.value = !1)
473
+ l("div", it, [
474
+ t(c, {
475
+ onClick: e[10] || (e[10] = (A) => C.value = !1)
477
476
  }, {
478
- default: s(() => [
479
- t(D(K))
477
+ default: n(() => [
478
+ t(h(X))
480
479
  ]),
481
480
  _: 1
482
481
  })
483
482
  ])
484
483
  ])
485
484
  ]),
486
- footer: s(() => [
485
+ footer: n(() => [
487
486
  l("div", rt, [
488
- t(_, {
489
- onClick: e[11] || (e[11] = (n) => h.value = !1)
487
+ t(v, {
488
+ onClick: e[11] || (e[11] = (s) => C.value = !1)
490
489
  }, {
491
- default: s(() => [
492
- b(" 关闭 ")
490
+ default: n(() => [
491
+ k(" 关闭 ")
493
492
  ]),
494
493
  _: 1
495
494
  })
496
495
  ])
497
496
  ]),
498
- default: s(() => [
499
- l("div", it, [
497
+ default: n(() => [
498
+ l("div", ct, [
500
499
  t(g, {
501
500
  class: "code",
502
501
  height: "600px"
503
502
  }, {
504
- default: s(() => [
505
- l("pre", null, q(d.code), 1)
503
+ default: n(() => [
504
+ l("pre", null, L(u.code), 1)
506
505
  ]),
507
506
  _: 1
508
507
  }),
509
- t(fe, { direction: "vertical" }),
508
+ t(he, { direction: "vertical" }),
510
509
  t(g, { height: "600px" }, {
511
- default: s(() => [
510
+ default: n(() => [
512
511
  l("pre", {
513
- class: M(d.result === 1 ? "success-log" : "error-log")
514
- }, q(d.result === 1 ? `✅️ 测试通过
515
- ${d.detail}` : d.detail), 3)
512
+ class: B(u.result === 1 ? "success-log" : "error-log")
513
+ }, L(u.result === 1 ? `✅️ 测试通过
514
+ ${u.detail}` : u.detail), 3)
516
515
  ]),
517
516
  _: 1
518
517
  })
@@ -525,61 +524,125 @@ ${d.detail}` : d.detail), 3)
525
524
  }, 8, ["modelValue"]);
526
525
  };
527
526
  }
528
- }, ct = /* @__PURE__ */ le(ut, [["__scopeId", "data-v-8af089bb"]]);
529
- const dt = { class: "custom-function" }, mt = { class: "func-option" }, ft = {
527
+ }, dt = /* @__PURE__ */ ue(ut, [["__scopeId", "data-v-cbbcbba3"]]);
528
+ const ft = { class: "custom-function" }, pt = { class: "func-option" }, mt = { class: "icons" }, _t = {
530
529
  __name: "index",
531
530
  props: {
532
531
  size: { type: String, default: "small" },
533
532
  selectWidth: { type: String, default: "200px" }
534
533
  },
535
534
  emits: ["insert"],
536
- setup(f, { emit: T }) {
537
- const { request: A } = ee("stConfig"), z = m(null), p = T, V = m(null), x = m(""), y = m([]), C = async () => {
538
- const { body: a } = await A.post("/common/qt/querySearchFunctions");
539
- if (y.value = a ?? [], V.value === null)
535
+ setup(p, { emit: G }) {
536
+ const { request: q } = le("stConfig"), w = f(null), m = G, $ = f(null), x = f(""), y = f([]), E = async () => {
537
+ const { body: a } = await q.post("/common/qt/querySearchFunctions");
538
+ if (y.value = a ?? [], $.value === null)
540
539
  x.value = "";
541
540
  else {
542
- const u = y.value.find(({ id: d }) => d === V.value);
543
- x.value = u ? u.funcName : "";
541
+ const i = y.value.find(({ id: u }) => u === $.value);
542
+ x.value = i ? i.funcName : "";
544
543
  }
545
- }, k = (a) => {
546
- var u;
547
- a ? V.value = (u = y.value.find((d) => d.funcName === a)) == null ? void 0 : u.id : V.value = null;
548
- }, w = () => {
544
+ }, N = (a) => {
545
+ var i;
546
+ a ? $.value = (i = y.value.find((u) => u.funcName === a)) == null ? void 0 : i.id : $.value = null;
547
+ }, S = () => {
549
548
  if (!x.value)
550
- return E.error("请先选择自定义函数后, 再执行插入");
551
- const { funcName: a, funcExpression: u } = y.value.find((d) => d.funcName === x.value);
552
- p("insert", a, u);
553
- }, I = () => {
554
- z.value.open();
549
+ return V.error("请先选择自定义函数后, 再执行插入");
550
+ const { funcName: a, funcExpression: i } = y.value.find((u) => u.funcName === x.value);
551
+ m("insert", a, i);
552
+ }, b = async (a, i) => {
553
+ switch (a) {
554
+ case "open": {
555
+ w.value.open();
556
+ break;
557
+ }
558
+ case "copy": {
559
+ const u = {
560
+ id: null,
561
+ funcName: `${i.funcName}-复制`,
562
+ funcExpression: i.funcExpression
563
+ };
564
+ w.value.open(u);
565
+ break;
566
+ }
567
+ case "edit": {
568
+ const u = {
569
+ id: i.id,
570
+ funcName: i.funcName,
571
+ funcExpression: i.funcExpression
572
+ };
573
+ w.value.open(u);
574
+ break;
575
+ }
576
+ case "delete": {
577
+ await q.post("/common/qt/deleteSearchFunctionById", { id: i.id }), E();
578
+ break;
579
+ }
580
+ }
555
581
  };
556
- return be(() => {
557
- C();
558
- }), (a, u) => {
559
- const d = _e, S = ve, h = Z;
560
- return F(), j("div", dt, [
561
- t(S, {
582
+ return we(() => {
583
+ E();
584
+ }), (a, i) => {
585
+ const u = re, D = ne, C = ye, O = Ee, M = oe;
586
+ return I(), P("div", ft, [
587
+ t(O, {
562
588
  modelValue: x.value,
563
- "onUpdate:modelValue": u[0] || (u[0] = (v) => x.value = v),
564
- size: f.size,
589
+ "onUpdate:modelValue": i[0] || (i[0] = (_) => x.value = _),
590
+ size: p.size,
565
591
  placeholder: "自定义函数",
566
592
  "no-match-text": "无匹配选项",
567
593
  "no-data-text": "无选项数据",
568
594
  clearable: "",
569
595
  filterable: "",
570
- onChange: k,
571
- style: Ve({ width: f.selectWidth })
596
+ onChange: N,
597
+ style: $e({ width: p.selectWidth })
572
598
  }, {
573
- default: s(() => [
574
- (F(!0), j(te, null, oe(y.value, (v) => (F(), H(d, {
575
- key: v.id,
576
- label: v.funcName,
577
- value: v.funcName,
578
- onClick: w
599
+ default: n(() => [
600
+ (I(!0), P(se, null, ae(y.value, (_) => (I(), Y(C, {
601
+ key: _.id,
602
+ label: _.funcName,
603
+ value: _.funcName,
604
+ onClick: S
579
605
  }, {
580
- default: s(() => [
581
- l("div", mt, [
582
- l("span", null, q(v.funcName), 1)
606
+ default: n(() => [
607
+ l("div", pt, [
608
+ l("span", null, L(_.funcName), 1),
609
+ l("div", mt, [
610
+ t(u, {
611
+ onClick: W((R) => b("copy", _), ["stop"])
612
+ }, {
613
+ default: n(() => [
614
+ t(h(ie))
615
+ ]),
616
+ _: 2
617
+ }, 1032, ["onClick"]),
618
+ t(u, {
619
+ onClick: W((R) => b("edit", _), ["stop"])
620
+ }, {
621
+ default: n(() => [
622
+ t(h(Se))
623
+ ]),
624
+ _: 2
625
+ }, 1032, ["onClick"]),
626
+ t(D, {
627
+ title: "确认是否删除?",
628
+ "confirm-button-text": "确认",
629
+ "cancel-button-text": "取消",
630
+ onConfirm: (R) => b("delete", _)
631
+ }, {
632
+ reference: n(() => [
633
+ t(u, {
634
+ onClick: W(() => {
635
+ }, ["stop"])
636
+ }, {
637
+ default: n(() => [
638
+ t(h(ce))
639
+ ]),
640
+ _: 1
641
+ })
642
+ ]),
643
+ _: 2
644
+ }, 1032, ["onConfirm"])
645
+ ])
583
646
  ])
584
647
  ]),
585
648
  _: 2
@@ -587,40 +650,40 @@ const dt = { class: "custom-function" }, mt = { class: "func-option" }, ft = {
587
650
  ]),
588
651
  _: 1
589
652
  }, 8, ["modelValue", "size", "style"]),
590
- t(h, {
653
+ t(M, {
591
654
  type: "primary",
592
- size: f.size,
593
- onClick: w
655
+ size: p.size,
656
+ onClick: S
594
657
  }, {
595
- default: s(() => [
596
- b(" 插入 ")
658
+ default: n(() => [
659
+ k(" 插入 ")
597
660
  ]),
598
661
  _: 1
599
662
  }, 8, ["size"]),
600
- t(h, {
663
+ t(M, {
601
664
  type: "primary",
602
- size: f.size,
603
- onClick: u[1] || (u[1] = (v) => I())
665
+ size: p.size,
666
+ onClick: i[1] || (i[1] = (_) => b("open"))
604
667
  }, {
605
- default: s(() => [
606
- b(" 函数管理 ")
668
+ default: n(() => [
669
+ k(" 函数管理 ")
607
670
  ]),
608
671
  _: 1
609
672
  }, 8, ["size"]),
610
- t(ct, {
673
+ t(dt, {
611
674
  ref_key: "ManageDialogRef",
612
- ref: z,
675
+ ref: w,
613
676
  data: y.value,
614
- onRefreshData: C
677
+ onRefreshData: E
615
678
  }, null, 8, ["data"])
616
679
  ]);
617
680
  };
618
681
  }
619
- }, pt = /* @__PURE__ */ le(ft, [["__scopeId", "data-v-853b69f4"]]), Zt = {
620
- install(f) {
621
- f.component("st-customFunction", pt);
682
+ }, vt = /* @__PURE__ */ ue(_t, [["__scopeId", "data-v-d2f2ff3e"]]), to = {
683
+ install(p) {
684
+ p.component("st-customFunction", vt);
622
685
  }
623
686
  };
624
687
  export {
625
- Zt as default
688
+ to as default
626
689
  };