st-comp 0.0.204 → 0.0.205

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 (74) hide show
  1. package/es/ChartLayout.js +4 -4
  2. package/es/CustomFunction.cjs +1 -1
  3. package/es/CustomFunction.js +29 -29
  4. package/es/FactorWarning.cjs +1 -1
  5. package/es/FactorWarning.js +210 -201
  6. package/es/Kline.js +17 -17
  7. package/es/KlineBasic.js +26 -26
  8. package/es/KlineConfig.js +61 -61
  9. package/es/KlineNew.js +16 -16
  10. package/es/KlinePlus.js +19 -19
  11. package/es/Map.cjs +1 -1
  12. package/es/Map.js +102944 -1
  13. package/es/Pagination.js +73 -73
  14. package/es/PasswordPrompt.js +3 -3
  15. package/es/Table.js +38 -38
  16. package/es/User.js +44 -44
  17. package/es/VarSelectDialog.js +24 -24
  18. package/es/VarietyAutoComplete.js +10 -10
  19. package/es/VarietySearch.js +34 -34
  20. package/es/VarietyTextCopy.js +12 -12
  21. package/es/VirtualTable.js +70 -70
  22. package/es/{_initCloneObject-4ff4ab39.js → _initCloneObject-eaef9418.js} +7 -7
  23. package/es/{base-ff0e366f.js → base-a5af3db3.js} +40 -40
  24. package/es/{castArray-15070be9.js → castArray-7741a212.js} +1 -1
  25. package/es/{config-provider-1a9362d1.js → config-provider-b16efd62.js} +6 -6
  26. package/es/{debounce-e9e47f9a.js → debounce-8d53f4dd.js} +1 -1
  27. package/es/{dropdown-b3b26078.js → dropdown-a59bba73.js} +13 -13
  28. package/es/{el-autocomplete-a52b6885.js → el-autocomplete-ba808eb6.js} +16 -16
  29. package/es/{el-button-65aa0485.js → el-button-c95adb85.js} +39 -39
  30. package/es/{el-checkbox-feb78213.js → el-checkbox-7421ccd3.js} +31 -31
  31. package/es/{el-dialog-234e3137.js → el-dialog-41ab8417.js} +15 -15
  32. package/es/{el-divider-4fe55ebe.js → el-divider-4e059794.js} +1 -1
  33. package/es/{el-empty-ceecb81c.js → el-empty-33cb66f1.js} +5 -5
  34. package/es/{el-form-item-a68893fa.js → el-form-item-c53c374d.js} +34 -34
  35. package/es/{el-input-77c46a8a.js → el-input-2f75c4ba.js} +55 -55
  36. package/es/{el-input-number-23da18a4.js → el-input-number-5193fe6d.js} +31 -31
  37. package/es/{el-loading-025e8c34.js → el-loading-f6022062.js} +5 -5
  38. package/es/{el-menu-item-b1e678ba.js → el-menu-item-7e881203.js} +22 -22
  39. package/es/{el-message-box-db6c3469.js → el-message-box-a93d2f6a.js} +11 -11
  40. package/es/{el-message-8d817082.js → el-message-e544a8f5.js} +23 -23
  41. package/es/{el-overlay-3ebd4a6a.js → el-overlay-09ad71cd.js} +56 -56
  42. package/es/{el-popconfirm-5d93ad96.js → el-popconfirm-81dcd202.js} +20 -20
  43. package/es/{el-popper-ba55a170.js → el-popper-b4f97157.js} +109 -109
  44. package/es/{el-segmented-2813a6dc.js → el-segmented-b868d074.js} +8 -8
  45. package/es/{el-select-71af6fab.js → el-select-95627997.js} +64 -64
  46. package/es/{el-table-column-5d64176c.js → el-table-column-376cd907.js} +15 -15
  47. package/es/{el-tag-ca50befb.js → el-tag-66cab138.js} +15 -15
  48. package/es/{el-text-697ca5b5.js → el-text-ac60d0f2.js} +2 -2
  49. package/es/{index-923df02f.js → index-1f7d4f70.js} +2 -2
  50. package/es/{index-fca9441b.js → index-57672682.js} +3 -3
  51. package/es/{index-730c5d79.js → index-844bdd85.js} +34 -34
  52. package/es/{index-c30bd093.js → index-88546436.js} +17 -17
  53. package/es/{index-269b8a8c.js → index-960806da.js} +36 -36
  54. package/es/{index-8525fbd3.js → index-a871c3eb.js} +27 -27
  55. package/es/{index-93a8960e.js → index-d77a7336.js} +1 -1
  56. package/es/{index-56abb80d.js → index-d91dc23f.js} +12 -12
  57. package/es/{index-7b6ba27d.js → index-e5566b94.js} +43 -43
  58. package/es/raf-80ef0c0a.js +6 -0
  59. package/es/{scroll-41b4f625.js → scroll-679bd6bf.js} +5 -5
  60. package/es/style.css +1 -1
  61. package/es/{use-form-common-props-b342410c.js → use-form-common-props-815d48a6.js} +67 -67
  62. package/es/{use-global-config-409a5a22.js → use-global-config-b5e9d3d5.js} +14 -14
  63. package/es/{validator-46456823.js → validator-764a9db0.js} +1 -1
  64. package/es/{vnode-06571d5b.js → vnode-5ddb7ed1.js} +1 -1
  65. package/es/{zh-cn-87c8697d.js → zh-cn-e963c628.js} +2 -2
  66. package/lib/bundle.js +1 -1
  67. package/lib/bundle.umd.cjs +1 -1
  68. package/lib/{index-41eb55d2.js → index-ca5075d2.js} +16 -7
  69. package/lib/{python-89c64241.js → python-d88672d8.js} +1 -1
  70. package/lib/style.css +1 -1
  71. package/package.json +1 -1
  72. package/packages/FactorWarning/index.vue +14 -3
  73. package/src/pages/FactorWarning/index.vue +73 -84
  74. package/es/raf-8e05a7f4.js +0 -6
@@ -1,46 +1,46 @@
1
- import "./base-ff0e366f.js";
2
- import { z as re, E as ne } from "./zh-cn-87c8697d.js";
3
- import { E as ue } from "./el-dialog-234e3137.js";
4
- import "./el-overlay-3ebd4a6a.js";
5
- import "./el-tag-ca50befb.js";
1
+ import "./base-a5af3db3.js";
2
+ import { z as re, E as ne } from "./zh-cn-e963c628.js";
3
+ import { E as ue } from "./el-dialog-41ab8417.js";
4
+ import "./el-overlay-09ad71cd.js";
5
+ import "./el-tag-66cab138.js";
6
6
  import "./el-tooltip-4ed993c7.js";
7
- import { E as se } from "./el-popper-ba55a170.js";
8
- import { E as ie, a as ce } from "./el-table-column-5d64176c.js";
9
- import { E as de, a as me } from "./el-checkbox-feb78213.js";
7
+ import { E as se } from "./el-popper-b4f97157.js";
8
+ import { E as ie, a as ce } from "./el-table-column-376cd907.js";
9
+ import { E as de, a as me } from "./el-checkbox-7421ccd3.js";
10
10
  import "./el-scrollbar-323542e7.js";
11
- import { E as pe } from "./el-popconfirm-5d93ad96.js";
11
+ import { E as fe } from "./el-popconfirm-81dcd202.js";
12
12
  import "./el-popover-4ed993c7.js";
13
- import { E as fe } from "./el-button-65aa0485.js";
14
- import { a as ye, E as ve } from "./el-form-item-a68893fa.js";
15
- import { E as _e } from "./el-input-77c46a8a.js";
16
- import { E as be } from "./el-text-697ca5b5.js";
17
- import { E as he } from "./el-input-number-23da18a4.js";
13
+ import { E as pe } from "./el-button-c95adb85.js";
14
+ import { a as ye, E as ve } from "./el-form-item-c53c374d.js";
15
+ import { E as _e } from "./el-input-2f75c4ba.js";
16
+ import { E as be } from "./el-text-ac60d0f2.js";
17
+ import { E as he } from "./el-input-number-5193fe6d.js";
18
18
  import "./el-checkbox-group-4ed993c7.js";
19
- import { E as ge } from "./el-segmented-2813a6dc.js";
20
- import { mergeModels as R, ref as w, useModel as ke, watch as Ce, openBlock as o, createElementBlock as c, createVNode as a, unref as g, withCtx as l, createElementVNode as m, normalizeClass as Te, toDisplayString as k, createTextVNode as d, createBlock as p, createCommentVNode as f, Fragment as x, renderList as N, pushScopeId as we, popScopeId as xe } from "vue";
21
- import { i as j, E as Se } from "./index-8525fbd3.js";
19
+ import { E as ge } from "./el-segmented-b868d074.js";
20
+ import { mergeModels as R, ref as x, useModel as ke, watch as Ce, openBlock as o, createElementBlock as d, createVNode as a, unref as k, withCtx as l, createElementVNode as f, normalizeClass as Te, toDisplayString as C, createTextVNode as m, createBlock as p, createCommentVNode as y, Fragment as S, renderList as N, pushScopeId as we, popScopeId as xe } from "vue";
21
+ import { i as j, E as Se } from "./index-a871c3eb.js";
22
22
  import { G as Ee } from "./index-7ed0999e.js";
23
23
  import { _ as Ve } from "./_plugin-vue_export-helper-dad06003.js";
24
- import { E as Ne } from "./el-message-box-db6c3469.js";
25
- import { E as Fe } from "./index-fca9441b.js";
26
- import "./config-provider-1a9362d1.js";
27
- import "./use-global-config-409a5a22.js";
28
- import "./use-form-common-props-b342410c.js";
29
- import "./index-269b8a8c.js";
30
- import "./index-93a8960e.js";
31
- import "./index-7b6ba27d.js";
24
+ import { E as Ne } from "./el-message-box-a93d2f6a.js";
25
+ import { E as Fe } from "./index-57672682.js";
26
+ import "./config-provider-b16efd62.js";
27
+ import "./use-global-config-b5e9d3d5.js";
28
+ import "./use-form-common-props-815d48a6.js";
29
+ import "./index-960806da.js";
30
+ import "./index-d77a7336.js";
31
+ import "./index-e5566b94.js";
32
32
  import "./index-2e331d74.js";
33
- import "./vnode-06571d5b.js";
34
- import "./scroll-41b4f625.js";
35
- import "./index-730c5d79.js";
36
- import "./_initCloneObject-4ff4ab39.js";
37
- import "./castArray-15070be9.js";
38
- import "./debounce-e9e47f9a.js";
39
- import "./raf-8e05a7f4.js";
33
+ import "./vnode-5ddb7ed1.js";
34
+ import "./scroll-679bd6bf.js";
35
+ import "./index-844bdd85.js";
36
+ import "./_initCloneObject-eaef9418.js";
37
+ import "./castArray-7741a212.js";
38
+ import "./debounce-8d53f4dd.js";
39
+ import "./raf-80ef0c0a.js";
40
40
  import "./index-657047bb.js";
41
41
  import "./typescript-7ae59c4c.js";
42
- import "./index-56abb80d.js";
43
- import "./validator-46456823.js";
42
+ import "./index-d91dc23f.js";
43
+ import "./validator-764a9db0.js";
44
44
  const Le = {
45
45
  // 表单字段
46
46
  ruleFormPrice: !0,
@@ -57,19 +57,19 @@ const Le = {
57
57
  tableEnable: !0
58
58
  // 启用按钮
59
59
  };
60
- const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-factorWarning" }, De = { class: "custom-header" }, Pe = /* @__PURE__ */ D(() => /* @__PURE__ */ m("span", { style: { "margin-right": "4px" } }, "因子预警", -1)), $e = { class: "factor-name" }, ze = ["onClick"], Ue = { class: "factor-name" }, Be = ["onClick"], Ie = { style: { display: "flex", "align-items": "start" } }, Me = {
60
+ const P = (n) => (we("data-v-b2d15520"), n = n(), xe(), n), Oe = { class: "st-factorWarning" }, De = { class: "custom-header" }, Pe = /* @__PURE__ */ P(() => /* @__PURE__ */ f("span", { style: { "margin-right": "4px" } }, "因子预警", -1)), $e = { class: "factor-name" }, ze = ["onClick"], Me = { class: "factor-name" }, Ue = ["onClick"], Be = { style: { display: "flex", "align-items": "start" } }, Ie = {
61
61
  key: 0,
62
62
  style: { flex: "1" }
63
- }, qe = /* @__PURE__ */ D(() => /* @__PURE__ */ m("span", { style: { margin: "0 5px" } }, "~", -1)), Ae = {
63
+ }, qe = /* @__PURE__ */ P(() => /* @__PURE__ */ f("span", { style: { margin: "0 5px" } }, "~", -1)), Ae = {
64
64
  key: 0,
65
65
  style: { color: "#f56c6c" }
66
66
  }, Re = {
67
67
  key: 1,
68
68
  style: { color: "#67c23a" }
69
- }, je = { key: 0 }, Je = { key: 1 }, We = { key: 2 }, Ge = { class: "shortcut-title" }, He = /* @__PURE__ */ D(() => /* @__PURE__ */ m("span", null, "我的配置", -1)), Ke = { class: "shortcut-config" }, Qe = {
69
+ }, je = { key: 0 }, Je = { key: 1 }, We = { key: 2 }, Ge = { class: "shortcut-title" }, He = /* @__PURE__ */ P(() => /* @__PURE__ */ f("span", null, "我的配置", -1)), Ke = { class: "shortcut-config" }, Qe = {
70
70
  key: 1,
71
71
  class: "empty"
72
- }, Xe = { class: "shortcut-title" }, Ye = /* @__PURE__ */ D(() => /* @__PURE__ */ m("span", null, "新增配置", -1)), Ze = { class: "custom-footer" }, et = {
72
+ }, Xe = { class: "shortcut-title" }, Ye = /* @__PURE__ */ P(() => /* @__PURE__ */ f("span", null, "新增配置", -1)), Ze = { class: "custom-footer" }, et = {
73
73
  __name: "index",
74
74
  props: /* @__PURE__ */ R({
75
75
  // 弹窗名称
@@ -91,28 +91,28 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
91
91
  }),
92
92
  emits: /* @__PURE__ */ R(["add", "delete", "enabled", "closed", "shortcutAdd", "shortcutDelete"], ["update:visible"]),
93
93
  setup(n, { emit: J }) {
94
- const C = w("ruleForm"), F = ke(n, "visible"), S = J, P = n, E = Object.assign(Le, P.showConfig), L = w(null), r = w({
94
+ const T = x("ruleForm"), F = ke(n, "visible"), E = J, L = n, V = Object.assign(Le, L.showConfig), O = x(null), r = x({
95
95
  factorType: 1,
96
96
  factorSelectedList: [],
97
97
  totalCount: 1,
98
98
  minPrice: null,
99
99
  maxPrice: null,
100
100
  mark: null
101
- }), W = w({
101
+ }), W = x({
102
102
  factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
103
103
  factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
104
104
  totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }]
105
- }), U = w(null), u = w({
105
+ }), M = x(null), u = x({
106
106
  shortcutName: null,
107
107
  factorType: 1,
108
108
  factorSelectedList: [],
109
109
  totalCount: 1
110
- }), G = w({
110
+ }), G = x({
111
111
  factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
112
112
  factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
113
113
  totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }],
114
114
  shortcutName: [{ required: !0, message: "请填写配置名称", trigger: "blur" }]
115
- }), O = () => {
115
+ }), D = () => {
116
116
  r.value = {
117
117
  factorType: 1,
118
118
  factorSelectedList: [],
@@ -126,88 +126,97 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
126
126
  factorSelectedList: [],
127
127
  totalCount: 1
128
128
  };
129
- }, B = async (i) => {
129
+ }, U = async (c) => {
130
130
  Object.assign(r.value, {
131
- factorSelectedList: [i],
131
+ factorSelectedList: [c],
132
132
  totalCount: 3
133
133
  });
134
134
  const t = {
135
- factorSelectedList: r.value.factorSelectedList.map((s) => ({
136
- factorName: s,
137
- ...r.value
138
- }))
139
- }, _ = () => {
135
+ factorSelectedList: r.value.factorSelectedList.map((s) => {
136
+ let i = 3;
137
+ const v = L.tableData.find(({ factorExtendName: b }) => b === s);
138
+ if (v) {
139
+ const b = v.totalCount - v.currentCount;
140
+ b === 0 ? i = 3 : i = Math.min(3, 12 - b >= 0 ? 12 - b : 0);
141
+ }
142
+ return {
143
+ factorName: s,
144
+ ...r.value,
145
+ totalCount: i
146
+ };
147
+ })
148
+ }, h = () => {
140
149
  const s = r.value.factorType;
141
- O(), r.value.factorType = s;
150
+ D(), r.value.factorType = s;
142
151
  };
143
- $(L.value, t, _);
144
- }, H = async (i) => {
145
- const t = JSON.parse(i.data);
152
+ $(O.value, t, h);
153
+ }, H = async (c) => {
154
+ const t = JSON.parse(c.data);
146
155
  Object.assign(r.value, {
147
156
  factorType: t.factorType,
148
157
  factorSelectedList: t.factorSelectedList,
149
158
  totalCount: t.totalCount
150
159
  });
151
- const _ = {
160
+ const h = {
152
161
  // 通过快捷进行添加的因子, 具备有效次数上限10的校验
153
- factorSelectedList: r.value.factorSelectedList.map((y) => {
154
- let b = t.totalCount;
155
- const V = P.tableData.find(({ factorExtendName: h }) => h === y);
156
- if (V) {
157
- const h = V.totalCount - V.currentCount;
158
- h === 0 ? b = t.totalCount : b = Math.min(t.totalCount, 10 - h >= 0 ? 10 - h : 0);
162
+ factorSelectedList: r.value.factorSelectedList.map((i) => {
163
+ let v = t.totalCount;
164
+ const b = L.tableData.find(({ factorExtendName: g }) => g === i);
165
+ if (b) {
166
+ const g = b.totalCount - b.currentCount;
167
+ g === 0 ? v = t.totalCount : v = Math.min(t.totalCount, 10 - g >= 0 ? 10 - g : 0);
159
168
  }
160
169
  return {
161
- factorName: y,
170
+ factorName: i,
162
171
  ...r.value,
163
- totalCount: b
172
+ totalCount: v
164
173
  };
165
174
  })
166
- }, s = () => O();
167
- $(L.value, _, s);
168
- }, $ = Ee(async (i, t, _) => {
169
- i && await i.validate((s) => {
175
+ }, s = () => D();
176
+ $(O.value, h, s);
177
+ }, $ = Ee(async (c, t, h) => {
178
+ c && await c.validate((s) => {
170
179
  if (!s)
171
180
  return !1;
172
- const y = t ?? {
173
- factorSelectedList: r.value.factorSelectedList.map((b) => ({
174
- factorName: b,
181
+ const i = t ?? {
182
+ factorSelectedList: r.value.factorSelectedList.map((v) => ({
183
+ factorName: v,
175
184
  ...r.value
176
185
  }))
177
186
  };
178
- S("add", y), _ ? _() : F.value = !1;
187
+ E("add", i), h ? h() : F.value = !1;
179
188
  });
180
- }, 200), K = async (i) => {
181
- i && await i.validate((t) => {
189
+ }, 200), K = async (c) => {
190
+ c && await c.validate((t) => {
182
191
  if (!t)
183
192
  return !1;
184
- const _ = {
193
+ const h = {
185
194
  shortcutName: u.value.shortcutName,
186
195
  data: JSON.stringify(u.value)
187
196
  };
188
- S("shortcutAdd", _), O();
197
+ E("shortcutAdd", h), D();
189
198
  });
190
- }, Q = (i) => {
191
- u.value = JSON.parse(i.data);
192
- }, X = (i) => {
193
- Ne.confirm(`是否确认删除配置: ${i.shortcutName} ?`, "删除提示", {
199
+ }, Q = (c) => {
200
+ u.value = JSON.parse(c.data);
201
+ }, X = (c) => {
202
+ Ne.confirm(`是否确认删除配置: ${c.shortcutName} ?`, "删除提示", {
194
203
  confirmButtonText: "确认",
195
204
  cancelButtonText: "取消",
196
205
  type: "warning"
197
- }).then(() => S("shortcutDelete", i));
206
+ }).then(() => E("shortcutDelete", c));
198
207
  };
199
208
  return Ce(
200
209
  () => F.value,
201
- (i) => {
202
- i && (C.value = P.allowOperation ? "ruleForm" : "table", O());
210
+ (c) => {
211
+ c && (T.value = L.allowOperation ? "ruleForm" : "table", D());
203
212
  },
204
213
  {
205
214
  immediate: !0
206
215
  }
207
- ), (i, t) => {
208
- const _ = ge, s = fe, y = ye, b = de, V = me, h = he, Y = be, I = _e, M = ve, T = ie, Z = pe, ee = ce, q = Se, A = se, te = Fe, le = ue, ae = ne;
209
- return o(), c("div", Oe, [
210
- a(ae, { locale: g(re) }, {
216
+ ), (c, t) => {
217
+ const h = ge, s = pe, i = ye, v = de, b = me, g = he, Y = be, B = _e, I = ve, w = ie, Z = fe, ee = ce, q = Se, A = se, te = Fe, le = ue, ae = ne;
218
+ return o(), d("div", Oe, [
219
+ a(ae, { locale: k(re) }, {
211
220
  default: l(() => [
212
221
  a(le, {
213
222
  modelValue: F.value,
@@ -215,19 +224,19 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
215
224
  width: "1020",
216
225
  "align-center": "",
217
226
  "destroy-on-close": "",
218
- onClosed: t[18] || (t[18] = (e) => S("closed"))
227
+ onClosed: t[18] || (t[18] = (e) => E("closed"))
219
228
  }, {
220
- header: l(({ close: e, titleId: v, titleClass: z }) => [
221
- m("div", De, [
222
- m("div", {
229
+ header: l(({ close: e, titleId: _, titleClass: z }) => [
230
+ f("div", De, [
231
+ f("div", {
223
232
  class: Te(z)
224
233
  }, [
225
234
  Pe,
226
- m("span", null, k(n.title), 1)
235
+ f("span", null, C(n.title), 1)
227
236
  ], 2),
228
- a(_, {
229
- modelValue: C.value,
230
- "onUpdate:modelValue": t[0] || (t[0] = (oe) => C.value = oe),
237
+ a(h, {
238
+ modelValue: T.value,
239
+ "onUpdate:modelValue": t[0] || (t[0] = (oe) => T.value = oe),
231
240
  size: "default",
232
241
  options: [
233
242
  { label: "添加", value: "ruleForm", disabled: !n.allowOperation },
@@ -238,52 +247,52 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
238
247
  ])
239
248
  ]),
240
249
  footer: l(() => [
241
- m("div", Ze, [
250
+ f("div", Ze, [
242
251
  a(s, {
243
252
  size: "default",
244
253
  onClick: t[14] || (t[14] = (e) => F.value = !1)
245
254
  }, {
246
255
  default: l(() => [
247
- d("关闭")
256
+ m("关闭")
248
257
  ]),
249
258
  _: 1
250
259
  }),
251
- C.value === "ruleForm" ? (o(), p(s, {
260
+ T.value === "ruleForm" ? (o(), p(s, {
252
261
  key: 0,
253
262
  size: "default",
254
263
  type: "primary",
255
- onClick: t[15] || (t[15] = (e) => g($)(L.value))
264
+ onClick: t[15] || (t[15] = (e) => k($)(O.value))
256
265
  }, {
257
266
  default: l(() => [
258
- d(" 确认 ")
267
+ m(" 确认 ")
259
268
  ]),
260
269
  _: 1
261
- })) : f("", !0),
262
- C.value === "shortcut" ? (o(), p(s, {
270
+ })) : y("", !0),
271
+ T.value === "shortcut" ? (o(), p(s, {
263
272
  key: 1,
264
273
  size: "default",
265
274
  type: "primary",
266
- onClick: t[16] || (t[16] = (e) => K(U.value))
275
+ onClick: t[16] || (t[16] = (e) => K(M.value))
267
276
  }, {
268
277
  default: l(() => [
269
- d(" 保存配置 ")
278
+ m(" 保存配置 ")
270
279
  ]),
271
280
  _: 1
272
- })) : f("", !0)
281
+ })) : y("", !0)
273
282
  ])
274
283
  ]),
275
284
  default: l(() => [
276
- C.value === "ruleForm" ? (o(), p(M, {
285
+ T.value === "ruleForm" ? (o(), p(I, {
277
286
  key: 0,
278
287
  ref_key: "ruleFormRef",
279
- ref: L,
288
+ ref: O,
280
289
  model: r.value,
281
290
  rules: W.value,
282
291
  size: "default",
283
292
  "label-width": "90px"
284
293
  }, {
285
294
  default: l(() => [
286
- a(y, {
295
+ a(i, {
287
296
  label: "交易类型:",
288
297
  prop: "factorType"
289
298
  }, {
@@ -296,7 +305,7 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
296
305
  })
297
306
  }, {
298
307
  default: l(() => [
299
- d(" 多 ")
308
+ m(" 多 ")
300
309
  ]),
301
310
  _: 1
302
311
  }, 8, ["plain"]),
@@ -308,86 +317,86 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
308
317
  })
309
318
  }, {
310
319
  default: l(() => [
311
- d(" 空 ")
320
+ m(" 空 ")
312
321
  ]),
313
322
  _: 1
314
323
  }, 8, ["plain"])
315
324
  ]),
316
325
  _: 1
317
326
  }),
318
- a(y, {
327
+ a(i, {
319
328
  label: "预警因子:",
320
329
  prop: "factorSelectedList"
321
330
  }, {
322
331
  default: l(() => [
323
- a(V, {
332
+ a(b, {
324
333
  modelValue: r.value.factorSelectedList,
325
334
  "onUpdate:modelValue": t[3] || (t[3] = (e) => r.value.factorSelectedList = e)
326
335
  }, {
327
336
  default: l(() => [
328
- r.value.factorType === 1 ? (o(!0), c(x, { key: 0 }, N(n.moreFactorOptions, (e, v) => (o(), c("div", {
337
+ r.value.factorType === 1 ? (o(!0), d(S, { key: 0 }, N(n.moreFactorOptions, (e, _) => (o(), d("div", {
329
338
  class: "factor-checkbox",
330
- key: v
339
+ key: _
331
340
  }, [
332
- a(b, {
341
+ a(v, {
333
342
  label: e.factorTypeName,
334
343
  value: e.factorTypeName
335
344
  }, {
336
345
  default: l(() => [
337
- m("span", $e, k(e.factorTypeName), 1)
346
+ f("span", $e, C(e.factorTypeName), 1)
338
347
  ]),
339
348
  _: 2
340
349
  }, 1032, ["label", "value"]),
341
- m("span", {
350
+ f("span", {
342
351
  class: "tag-button",
343
- onClick: (z) => B(e.factorTypeName)
352
+ onClick: (z) => U(e.factorTypeName)
344
353
  }, "+3", 8, ze)
345
- ]))), 128)) : f("", !0),
346
- r.value.factorType === -1 ? (o(!0), c(x, { key: 1 }, N(n.emptyFactorOptions, (e, v) => (o(), c("div", {
354
+ ]))), 128)) : y("", !0),
355
+ r.value.factorType === -1 ? (o(!0), d(S, { key: 1 }, N(n.emptyFactorOptions, (e, _) => (o(), d("div", {
347
356
  class: "factor-checkbox",
348
- key: v
357
+ key: _
349
358
  }, [
350
- a(b, {
359
+ a(v, {
351
360
  label: e.factorTypeName,
352
361
  value: e.factorTypeName
353
362
  }, {
354
363
  default: l(() => [
355
- m("span", Ue, k(e.factorTypeName), 1)
364
+ f("span", Me, C(e.factorTypeName), 1)
356
365
  ]),
357
366
  _: 2
358
367
  }, 1032, ["label", "value"]),
359
- m("span", {
368
+ f("span", {
360
369
  class: "tag-button",
361
- onClick: (z) => B(e.factorTypeName)
362
- }, "+3", 8, Be)
363
- ]))), 128)) : f("", !0)
370
+ onClick: (z) => U(e.factorTypeName)
371
+ }, "+3", 8, Ue)
372
+ ]))), 128)) : y("", !0)
364
373
  ]),
365
374
  _: 1
366
375
  }, 8, ["modelValue"])
367
376
  ]),
368
377
  _: 1
369
378
  }),
370
- a(y, {
379
+ a(i, {
371
380
  label: "预警次数:",
372
381
  prop: "totalCount"
373
382
  }, {
374
383
  default: l(() => [
375
- m("div", Ie, [
376
- a(h, {
384
+ f("div", Be, [
385
+ a(g, {
377
386
  modelValue: r.value.totalCount,
378
387
  "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.totalCount = e),
379
388
  min: 1,
380
389
  "controls-position": "right",
381
390
  style: { "margin-right": "20px" }
382
391
  }, null, 8, ["modelValue"]),
383
- n.shortcutData.length ? (o(), c("div", Me, [
384
- (o(!0), c(x, null, N(n.shortcutData, (e) => (o(), p(s, {
392
+ n.shortcutData.length ? (o(), d("div", Ie, [
393
+ (o(!0), d(S, null, N(n.shortcutData, (e) => (o(), p(s, {
385
394
  key: e.id,
386
- onClick: (v) => H(e),
395
+ onClick: (_) => H(e),
387
396
  style: { margin: "0 12px 4px 0" }
388
397
  }, {
389
398
  default: l(() => [
390
- d(k(e.shortcutName), 1)
399
+ m(C(e.shortcutName), 1)
391
400
  ]),
392
401
  _: 2
393
402
  }, 1032, ["onClick"]))), 128))
@@ -395,10 +404,10 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
395
404
  key: 1,
396
405
  type: "primary",
397
406
  style: { cursor: "pointer" },
398
- onClick: t[5] || (t[5] = () => C.value = "shortcut")
407
+ onClick: t[5] || (t[5] = () => T.value = "shortcut")
399
408
  }, {
400
409
  default: l(() => [
401
- d(" 暂无快捷配置, 是否点击前往自定义配置? ")
410
+ m(" 暂无快捷配置, 是否点击前往自定义配置? ")
402
411
  ]),
403
412
  _: 1
404
413
  }))
@@ -406,12 +415,12 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
406
415
  ]),
407
416
  _: 1
408
417
  }),
409
- g(E).ruleFormPrice ? (o(), p(y, {
418
+ k(V).ruleFormPrice ? (o(), p(i, {
410
419
  key: 0,
411
420
  label: "价格范围:"
412
421
  }, {
413
422
  default: l(() => [
414
- a(h, {
423
+ a(g, {
415
424
  modelValue: r.value.minPrice,
416
425
  "onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.minPrice = e),
417
426
  min: -999,
@@ -420,7 +429,7 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
420
429
  "controls-position": "right"
421
430
  }, null, 8, ["modelValue"]),
422
431
  qe,
423
- a(h, {
432
+ a(g, {
424
433
  modelValue: r.value.maxPrice,
425
434
  "onUpdate:modelValue": t[7] || (t[7] = (e) => r.value.maxPrice = e),
426
435
  placeholder: "请输入",
@@ -430,13 +439,13 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
430
439
  }, null, 8, ["modelValue"])
431
440
  ]),
432
441
  _: 1
433
- })) : f("", !0),
434
- g(E).ruleFormMark ? (o(), p(y, {
442
+ })) : y("", !0),
443
+ k(V).ruleFormMark ? (o(), p(i, {
435
444
  key: 1,
436
445
  label: "备注:"
437
446
  }, {
438
447
  default: l(() => [
439
- a(I, {
448
+ a(B, {
440
449
  modelValue: r.value.mark,
441
450
  "onUpdate:modelValue": t[8] || (t[8] = (e) => r.value.mark = e),
442
451
  type: "textarea",
@@ -446,106 +455,106 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
446
455
  }, null, 8, ["modelValue"])
447
456
  ]),
448
457
  _: 1
449
- })) : f("", !0)
458
+ })) : y("", !0)
450
459
  ]),
451
460
  _: 1
452
- }, 8, ["model", "rules"])) : f("", !0),
453
- C.value === "table" ? (o(), p(ee, {
461
+ }, 8, ["model", "rules"])) : y("", !0),
462
+ T.value === "table" ? (o(), p(ee, {
454
463
  key: 1,
455
464
  data: n.tableData,
456
465
  size: "small"
457
466
  }, {
458
467
  default: l(() => [
459
- a(T, {
468
+ a(w, {
460
469
  label: "预警周期",
461
470
  width: "70"
462
471
  }, {
463
472
  default: l((e) => [
464
- d(k(e.row.freqName || "-"), 1)
473
+ m(C(e.row.freqName || "-"), 1)
465
474
  ]),
466
475
  _: 1
467
476
  }),
468
- a(T, {
477
+ a(w, {
469
478
  label: "交易类型",
470
479
  width: "70"
471
480
  }, {
472
481
  default: l((e) => [
473
- e.row.factorExtendValue == 1 ? (o(), c("span", Ae, "多")) : (o(), c("span", Re, "空"))
482
+ e.row.factorExtendValue == 1 ? (o(), d("span", Ae, "多")) : (o(), d("span", Re, "空"))
474
483
  ]),
475
484
  _: 1
476
485
  }),
477
- a(T, { label: "预警因子" }, {
486
+ a(w, { label: "预警因子" }, {
478
487
  default: l((e) => [
479
- d(k(e.row.factorExtendName || "-"), 1)
488
+ m(C(e.row.factorExtendName || "-"), 1)
480
489
  ]),
481
490
  _: 1
482
491
  }),
483
- a(T, {
492
+ a(w, {
484
493
  label: "预警次数",
485
494
  width: "70"
486
495
  }, {
487
496
  default: l((e) => [
488
- d(k(`${e.row.currentCount} / ${e.row.totalCount}`), 1)
497
+ m(C(`${e.row.currentCount} / ${e.row.totalCount}`), 1)
489
498
  ]),
490
499
  _: 1
491
500
  }),
492
- g(E).tableStatus ? (o(), p(T, {
501
+ k(V).tableStatus ? (o(), p(w, {
493
502
  key: 0,
494
503
  label: "状态",
495
504
  width: "70"
496
505
  }, {
497
506
  default: l((e) => [
498
- m("div", null, [
499
- e.row.enable === 1 ? (o(), c("span", je, "未触发")) : e.row.enable === 2 ? (o(), c("span", Je, "已触发")) : (o(), c("span", We, "-"))
507
+ f("div", null, [
508
+ e.row.enable === 1 ? (o(), d("span", je, "未触发")) : e.row.enable === 2 ? (o(), d("span", Je, "已触发")) : (o(), d("span", We, "-"))
500
509
  ])
501
510
  ]),
502
511
  _: 1
503
- })) : f("", !0),
504
- g(E).tableCreateTime ? (o(), p(T, {
512
+ })) : y("", !0),
513
+ k(V).tableCreateTime ? (o(), p(w, {
505
514
  key: 1,
506
515
  label: "设置时间",
507
516
  width: "136"
508
517
  }, {
509
518
  default: l((e) => [
510
- d(k(e.row.createdTime || "-"), 1)
519
+ m(C(e.row.createdTime || "-"), 1)
511
520
  ]),
512
521
  _: 1
513
- })) : f("", !0),
514
- g(E).tableMark ? (o(), p(T, {
522
+ })) : y("", !0),
523
+ k(V).tableMark ? (o(), p(w, {
515
524
  key: 2,
516
525
  label: "备注",
517
526
  width: "70"
518
527
  }, {
519
528
  default: l((e) => [
520
- d(k(e.row.mark || "-"), 1)
529
+ m(C(e.row.mark || "-"), 1)
521
530
  ]),
522
531
  _: 1
523
- })) : f("", !0),
524
- n.allowOperation ? (o(), p(T, {
532
+ })) : y("", !0),
533
+ n.allowOperation ? (o(), p(w, {
525
534
  key: 3,
526
535
  label: "操作",
527
536
  width: "140"
528
537
  }, {
529
538
  default: l((e) => [
530
- g(E).tableEnable ? (o(), p(s, {
539
+ k(V).tableEnable ? (o(), p(s, {
531
540
  key: 0,
532
541
  disabled: e.row.currentCount !== e.row.totalCount,
533
542
  size: "small",
534
- onClick: (v) => S("enabled", e.row)
543
+ onClick: (_) => E("enabled", e.row)
535
544
  }, {
536
545
  default: l(() => [
537
- d(" 启用 ")
546
+ m(" 启用 ")
538
547
  ]),
539
548
  _: 2
540
- }, 1032, ["disabled", "onClick"])) : f("", !0),
549
+ }, 1032, ["disabled", "onClick"])) : y("", !0),
541
550
  a(Z, {
542
551
  title: "确定删除?",
543
- onConfirm: (v) => S("delete", e.row)
552
+ onConfirm: (_) => E("delete", e.row)
544
553
  }, {
545
554
  reference: l(() => [
546
555
  a(s, { size: "small" }, {
547
556
  default: l(() => [
548
- d("删除")
557
+ m("删除")
549
558
  ]),
550
559
  _: 1
551
560
  })
@@ -554,12 +563,12 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
554
563
  }, 1032, ["onConfirm"])
555
564
  ]),
556
565
  _: 1
557
- })) : f("", !0)
566
+ })) : y("", !0)
558
567
  ]),
559
568
  _: 1
560
- }, 8, ["data"])) : f("", !0),
561
- C.value === "shortcut" ? (o(), c(x, { key: 2 }, [
562
- m("div", Ge, [
569
+ }, 8, ["data"])) : y("", !0),
570
+ T.value === "shortcut" ? (o(), d(S, { key: 2 }, [
571
+ f("div", Ge, [
563
572
  He,
564
573
  a(A, {
565
574
  effect: "dark",
@@ -569,7 +578,7 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
569
578
  default: l(() => [
570
579
  a(q, null, {
571
580
  default: l(() => [
572
- a(g(j))
581
+ a(k(j))
573
582
  ]),
574
583
  _: 1
575
584
  })
@@ -577,22 +586,22 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
577
586
  _: 1
578
587
  })
579
588
  ]),
580
- m("div", Ke, [
581
- n.shortcutData.length ? (o(!0), c(x, { key: 0 }, N(n.shortcutData, (e) => (o(), p(te, {
589
+ f("div", Ke, [
590
+ n.shortcutData.length ? (o(!0), d(S, { key: 0 }, N(n.shortcutData, (e) => (o(), p(te, {
582
591
  key: e.id,
583
592
  type: "primary",
584
593
  size: "default",
585
594
  closable: "",
586
- onClick: (v) => Q(e),
587
- onClose: (v) => X(e)
595
+ onClick: (_) => Q(e),
596
+ onClose: (_) => X(e)
588
597
  }, {
589
598
  default: l(() => [
590
- d(k(e.shortcutName), 1)
599
+ m(C(e.shortcutName), 1)
591
600
  ]),
592
601
  _: 2
593
- }, 1032, ["onClick", "onClose"]))), 128)) : (o(), c("span", Qe, "暂无数据"))
602
+ }, 1032, ["onClick", "onClose"]))), 128)) : (o(), d("span", Qe, "暂无数据"))
594
603
  ]),
595
- m("div", Xe, [
604
+ f("div", Xe, [
596
605
  Ye,
597
606
  a(A, {
598
607
  effect: "dark",
@@ -602,7 +611,7 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
602
611
  default: l(() => [
603
612
  a(q, null, {
604
613
  default: l(() => [
605
- a(g(j))
614
+ a(k(j))
606
615
  ]),
607
616
  _: 1
608
617
  })
@@ -610,21 +619,21 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
610
619
  _: 1
611
620
  })
612
621
  ]),
613
- a(M, {
622
+ a(I, {
614
623
  ref_key: "shortcut_ruleFormRef",
615
- ref: U,
624
+ ref: M,
616
625
  model: u.value,
617
626
  rules: G.value,
618
627
  "label-width": "90px",
619
628
  size: "default"
620
629
  }, {
621
630
  default: l(() => [
622
- a(y, {
631
+ a(i, {
623
632
  label: "配置名称:",
624
633
  prop: "shortcutName"
625
634
  }, {
626
635
  default: l(() => [
627
- a(I, {
636
+ a(B, {
628
637
  modelValue: u.value.shortcutName,
629
638
  "onUpdate:modelValue": t[9] || (t[9] = (e) => u.value.shortcutName = e),
630
639
  maxlength: "6",
@@ -634,7 +643,7 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
634
643
  ]),
635
644
  _: 1
636
645
  }),
637
- a(y, {
646
+ a(i, {
638
647
  label: "交易类型:",
639
648
  prop: "factorType"
640
649
  }, {
@@ -647,7 +656,7 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
647
656
  })
648
657
  }, {
649
658
  default: l(() => [
650
- d(" 多 ")
659
+ m(" 多 ")
651
660
  ]),
652
661
  _: 1
653
662
  }, 8, ["plain"]),
@@ -659,47 +668,47 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
659
668
  })
660
669
  }, {
661
670
  default: l(() => [
662
- d(" 空 ")
671
+ m(" 空 ")
663
672
  ]),
664
673
  _: 1
665
674
  }, 8, ["plain"])
666
675
  ]),
667
676
  _: 1
668
677
  }),
669
- a(y, {
678
+ a(i, {
670
679
  label: "预警因子:",
671
680
  prop: "factorSelectedList"
672
681
  }, {
673
682
  default: l(() => [
674
- a(V, {
683
+ a(b, {
675
684
  modelValue: u.value.factorSelectedList,
676
685
  "onUpdate:modelValue": t[12] || (t[12] = (e) => u.value.factorSelectedList = e)
677
686
  }, {
678
687
  default: l(() => [
679
- u.value.factorType === 1 ? (o(!0), c(x, { key: 0 }, N(n.moreFactorOptions, (e, v) => (o(), p(b, {
680
- key: v,
688
+ u.value.factorType === 1 ? (o(!0), d(S, { key: 0 }, N(n.moreFactorOptions, (e, _) => (o(), p(v, {
689
+ key: _,
681
690
  label: e.factorTypeName,
682
691
  value: e.factorTypeName,
683
692
  style: { width: "200px" }
684
- }, null, 8, ["label", "value"]))), 128)) : f("", !0),
685
- u.value.factorType === -1 ? (o(!0), c(x, { key: 1 }, N(n.emptyFactorOptions, (e, v) => (o(), p(b, {
686
- key: v,
693
+ }, null, 8, ["label", "value"]))), 128)) : y("", !0),
694
+ u.value.factorType === -1 ? (o(!0), d(S, { key: 1 }, N(n.emptyFactorOptions, (e, _) => (o(), p(v, {
695
+ key: _,
687
696
  label: e.factorTypeName,
688
697
  value: e.factorTypeName,
689
698
  style: { width: "200px" }
690
- }, null, 8, ["label", "value"]))), 128)) : f("", !0)
699
+ }, null, 8, ["label", "value"]))), 128)) : y("", !0)
691
700
  ]),
692
701
  _: 1
693
702
  }, 8, ["modelValue"])
694
703
  ]),
695
704
  _: 1
696
705
  }),
697
- a(y, {
706
+ a(i, {
698
707
  label: "预警次数:",
699
708
  prop: "totalCount"
700
709
  }, {
701
710
  default: l(() => [
702
- a(h, {
711
+ a(g, {
703
712
  modelValue: u.value.totalCount,
704
713
  "onUpdate:modelValue": t[13] || (t[13] = (e) => u.value.totalCount = e),
705
714
  min: 1,
@@ -713,7 +722,7 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
713
722
  ]),
714
723
  _: 1
715
724
  }, 8, ["model", "rules"])
716
- ], 64)) : f("", !0)
725
+ ], 64)) : y("", !0)
717
726
  ]),
718
727
  _: 1
719
728
  }, 8, ["modelValue"])
@@ -723,7 +732,7 @@ const D = (n) => (we("data-v-b57c57a6"), n = n(), xe(), n), Oe = { class: "st-fa
723
732
  ]);
724
733
  };
725
734
  }
726
- }, tt = /* @__PURE__ */ Ve(et, [["__scopeId", "data-v-b57c57a6"]]), Jt = {
735
+ }, tt = /* @__PURE__ */ Ve(et, [["__scopeId", "data-v-b2d15520"]]), Jt = {
727
736
  install(n) {
728
737
  n.component("st-factorWarning", tt);
729
738
  }