st-comp 0.0.279 → 0.0.281

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 (229) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +13 -14
  3. package/es/CustomFunction.cjs +2 -2
  4. package/es/CustomFunction.js +377 -376
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +294 -294
  7. package/es/Kline.cjs +1 -1
  8. package/es/Kline.js +19 -19
  9. package/es/KlineBasic.cjs +1 -1
  10. package/es/KlineBasic.js +260 -260
  11. package/es/KlineConfig.cjs +1 -1
  12. package/es/KlineConfig.js +579 -553
  13. package/es/KlineNew.cjs +1 -1
  14. package/es/KlineNew.js +17 -17
  15. package/es/KlinePlus.cjs +2 -2
  16. package/es/KlinePlus.js +23 -24
  17. package/es/MonacoEditor.cjs +1 -1
  18. package/es/MonacoEditor.js +30 -29
  19. package/es/Pagination.cjs +1 -1
  20. package/es/Pagination.js +517 -425
  21. package/es/PasswordPrompt.cjs +1 -1
  22. package/es/PasswordPrompt.js +3 -3
  23. package/es/Table.cjs +1 -1
  24. package/es/Table.js +43 -43
  25. package/es/User.cjs +1 -1
  26. package/es/User.js +898 -866
  27. package/es/VarSelectDialog.cjs +3 -3
  28. package/es/VarSelectDialog.js +110 -109
  29. package/es/VarietyAiHelper.cjs +7 -7
  30. package/es/VarietyAiHelper.js +615 -464
  31. package/es/VarietyAutoComplete.cjs +1 -1
  32. package/es/VarietyAutoComplete.js +11 -11
  33. package/es/VarietySearch.cjs +18 -18
  34. package/es/VarietySearch.js +3079 -2913
  35. package/es/{VarietySelect-41daac7b.js → VarietySelect-3fc0f0ce.js} +5 -5
  36. package/es/{VarietySelect-d58eee29.cjs → VarietySelect-d2d25a3d.cjs} +1 -1
  37. package/es/VarietyTextCopy.cjs +3 -3
  38. package/es/VarietyTextCopy.js +51 -51
  39. package/es/VirtualTable.cjs +13 -1
  40. package/es/VirtualTable.js +1927 -2259
  41. package/es/_baseClone-f8e5d3ba.cjs +1 -0
  42. package/es/_baseClone-fb6a3947.js +210 -0
  43. package/es/base-d987e5c9.cjs +5 -0
  44. package/es/base-dd156b8e.js +790 -0
  45. package/es/{castArray-7741a212.js → castArray-18eb6a41.js} +1 -1
  46. package/es/{castArray-35947698.cjs → castArray-d9ffe84a.cjs} +1 -1
  47. package/es/clamp-17c4d8aa.cjs +1 -0
  48. package/es/clamp-c7512966.js +10 -0
  49. package/es/config-provider-06d8207f.js +86 -0
  50. package/es/config-provider-bb61bd3e.cjs +1 -0
  51. package/es/debounce-0a98a9c6.js +57 -0
  52. package/es/debounce-37b17615.cjs +1 -0
  53. package/es/dropdown-8fa21bfd.cjs +1 -0
  54. package/es/dropdown-bcf8d198.js +178 -0
  55. package/es/el-autocomplete-13b9e372.cjs +1 -0
  56. package/es/el-autocomplete-419bfbcf.js +434 -0
  57. package/es/el-button-ee9fe159.js +343 -0
  58. package/es/el-button-fac5e058.cjs +1 -0
  59. package/es/el-checkbox-6cf1a71c.cjs +1 -0
  60. package/es/el-checkbox-b5ac7f04.js +566 -0
  61. package/es/el-dialog-060b3735.js +252 -0
  62. package/es/el-dialog-54aebacd.cjs +1 -0
  63. package/es/el-divider-3f0320be.cjs +1 -0
  64. package/es/el-divider-c5d72961.js +51 -0
  65. package/es/el-empty-552baf04.js +159 -0
  66. package/es/el-empty-58bc2a10.cjs +1 -0
  67. package/es/el-form-item-2be6b683.js +1265 -0
  68. package/es/el-form-item-758dfefa.cjs +12 -0
  69. package/es/el-input-7fe53030.cjs +1 -0
  70. package/es/el-input-d23f5442.js +761 -0
  71. package/es/el-input-number-484fb184.js +390 -0
  72. package/es/el-input-number-f0f4eedb.cjs +1 -0
  73. package/es/el-loading-9d3e405c.js +190 -0
  74. package/es/el-loading-fafaaa7b.cjs +1 -0
  75. package/es/el-menu-item-0ac22681.js +824 -0
  76. package/es/el-menu-item-c91ae430.cjs +1 -0
  77. package/es/el-message-box-568a0aa6.js +481 -0
  78. package/es/el-message-box-ceacb54e.cjs +1 -0
  79. package/es/el-overlay-9f36e73c.cjs +1 -0
  80. package/es/el-overlay-cb5c85aa.js +444 -0
  81. package/es/el-popconfirm-4a8cd35c.cjs +1 -0
  82. package/es/el-popconfirm-6f8e65c8.js +190 -0
  83. package/es/el-popper-0454c8e8.js +2235 -0
  84. package/es/el-popper-acd0ff35.cjs +1 -0
  85. package/es/{el-scrollbar-323542e7.js → el-scrollbar-0a42c1d0.js} +4 -9
  86. package/es/{el-scrollbar-bc3f790d.cjs → el-scrollbar-225c6c9e.cjs} +1 -1
  87. package/es/el-segmented-64dc7258.js +168 -0
  88. package/es/el-segmented-eb3c8e65.cjs +1 -0
  89. package/es/el-select-a573c78b.js +1535 -0
  90. package/es/el-select-c317294a.cjs +1 -0
  91. package/es/el-table-column-1c443963.js +3651 -0
  92. package/es/el-table-column-f555115d.cjs +14 -0
  93. package/es/el-tag-2d8a3fe7.js +77 -0
  94. package/es/el-tag-dca1292c.cjs +1 -0
  95. package/es/el-text-649c986a.cjs +1 -0
  96. package/es/el-text-761e6717.js +84 -0
  97. package/es/index-11181b5f.cjs +1 -0
  98. package/es/index-21a3dc89.cjs +1 -0
  99. package/es/index-33e039e3.cjs +1 -0
  100. package/es/index-3806160e.js +710 -0
  101. package/es/{index-a9246d17.cjs → index-4614e8e9.cjs} +109 -109
  102. package/es/{index-44a382a5.js → index-53beef02.js} +12 -12
  103. package/es/index-5cada1ed.cjs +1 -0
  104. package/es/index-6a36e1fc.cjs +1 -0
  105. package/es/{index-eb96e074.js → index-6a52dc7c.js} +235 -236
  106. package/es/index-71ba4c28.cjs +1 -0
  107. package/es/index-78dab605.js +141 -0
  108. package/es/index-798fec2d.cjs +1 -0
  109. package/es/index-9573f74b.js +372 -0
  110. package/es/index-a181f161.js +429 -0
  111. package/es/{index-a33b2fb8.js → index-ab0ad219.js} +5090 -5090
  112. package/es/index-beb5cb7d.cjs +1 -0
  113. package/es/index-c09fc6f5.js +131 -0
  114. package/es/index-ceae4c47.cjs +1 -0
  115. package/es/index-d372e68f.cjs +5 -0
  116. package/es/index-d9379af4.js +413 -0
  117. package/es/index-dddacf80.js +47 -0
  118. package/es/index-de9ad85c.js +12 -0
  119. package/es/index-e2e58ea9.js +468 -0
  120. package/es/index-f5474dcc.cjs +3 -0
  121. package/es/{python-a3db9620.cjs → python-60e79979.cjs} +1 -1
  122. package/es/{python-8a1664e6.js → python-673bf8b8.js} +32 -31
  123. package/es/{raf-8249652f.cjs → raf-735cc598.cjs} +1 -1
  124. package/es/{raf-80ef0c0a.js → raf-b4fd1e12.js} +1 -1
  125. package/es/scroll-07bade1e.cjs +1 -0
  126. package/es/scroll-70271cb1.js +35 -0
  127. package/es/style.css +1 -1
  128. package/es/toNumber-b47ceb68.cjs +1 -0
  129. package/es/toNumber-f077c66a.js +31 -0
  130. package/es/use-form-item-76516e50.cjs +2 -0
  131. package/es/use-form-item-784142b4.js +422 -0
  132. package/es/use-global-config-7ff9a1c2.cjs +1 -0
  133. package/es/use-global-config-9a4ccf33.js +71 -0
  134. package/es/validator-1926345b.cjs +1 -0
  135. package/es/{validator-c60a8956.js → validator-a66ec4f8.js} +1 -1
  136. package/es/vnode-6f7b84f0.cjs +1 -0
  137. package/es/vnode-8ee9bf4e.js +12 -0
  138. package/es/{zh-cn-b59a0910.js → zh-cn-51c2e528.js} +36 -33
  139. package/es/zh-cn-ad12d9f5.cjs +1 -0
  140. package/lib/bundle.js +1 -1
  141. package/lib/bundle.umd.cjs +265 -246
  142. package/lib/{index-62fa175a.js → index-7282d3be.js} +52335 -50156
  143. package/lib/{python-4a48fa39.js → python-418be57d.js} +1 -1
  144. package/lib/style.css +1 -1
  145. package/package.json +1 -1
  146. package/es/_initCloneObject-5e73c9c8.js +0 -81
  147. package/es/_initCloneObject-a5832933.cjs +0 -1
  148. package/es/base-a5af3db3.js +0 -288
  149. package/es/base-ef747d02.cjs +0 -5
  150. package/es/config-provider-06ea6b42.cjs +0 -1
  151. package/es/config-provider-88b637a8.js +0 -59
  152. package/es/dayjs.min-2c20abe6.cjs +0 -1
  153. package/es/dayjs.min-8313b006.js +0 -299
  154. package/es/debounce-62f5b6e8.cjs +0 -1
  155. package/es/debounce-8d53f4dd.js +0 -83
  156. package/es/dropdown-4ce4c3e2.cjs +0 -1
  157. package/es/dropdown-72fbc15d.js +0 -178
  158. package/es/el-autocomplete-6cafcdf1.js +0 -329
  159. package/es/el-autocomplete-e0857c5b.cjs +0 -1
  160. package/es/el-button-613e0bb2.cjs +0 -1
  161. package/es/el-button-94d3de38.js +0 -272
  162. package/es/el-checkbox-6d4cb393.js +0 -459
  163. package/es/el-checkbox-e90762df.cjs +0 -1
  164. package/es/el-dialog-02942e22.cjs +0 -1
  165. package/es/el-dialog-5e30161f.js +0 -276
  166. package/es/el-divider-4713d74c.cjs +0 -1
  167. package/es/el-divider-4e059794.js +0 -45
  168. package/es/el-empty-1697ded8.cjs +0 -1
  169. package/es/el-empty-33cb66f1.js +0 -183
  170. package/es/el-form-item-44f060d8.cjs +0 -12
  171. package/es/el-form-item-9e8969ea.js +0 -1269
  172. package/es/el-input-342b2def.js +0 -531
  173. package/es/el-input-9a9a7f7f.cjs +0 -1
  174. package/es/el-input-number-65c847d6.cjs +0 -1
  175. package/es/el-input-number-c22b803a.js +0 -311
  176. package/es/el-loading-8179b497.cjs +0 -1
  177. package/es/el-loading-bcc51e3d.js +0 -203
  178. package/es/el-menu-item-339baf6d.js +0 -768
  179. package/es/el-menu-item-83186444.cjs +0 -1
  180. package/es/el-message-box-035b699c.js +0 -489
  181. package/es/el-message-box-c62d3217.cjs +0 -1
  182. package/es/el-overlay-3e17604b.js +0 -324
  183. package/es/el-overlay-8f1da9e8.cjs +0 -1
  184. package/es/el-popconfirm-4e32ec1b.cjs +0 -1
  185. package/es/el-popconfirm-f8a86e2c.js +0 -162
  186. package/es/el-popper-a4f3ae4d.cjs +0 -1
  187. package/es/el-popper-fbd0dcea.js +0 -2094
  188. package/es/el-segmented-56bd58a8.js +0 -142
  189. package/es/el-segmented-833ac177.cjs +0 -1
  190. package/es/el-select-44fa547d.js +0 -1256
  191. package/es/el-select-70806166.cjs +0 -1
  192. package/es/el-table-column-3e2cdfca.cjs +0 -14
  193. package/es/el-table-column-b74a857d.js +0 -3432
  194. package/es/el-tag-66c83156.js +0 -117
  195. package/es/el-tag-9c2f329f.cjs +0 -1
  196. package/es/el-text-034bd3f4.js +0 -67
  197. package/es/el-text-6b2374bb.cjs +0 -1
  198. package/es/index-00f6ca75.cjs +0 -1
  199. package/es/index-185792a7.cjs +0 -1
  200. package/es/index-1e2a38ab.js +0 -113
  201. package/es/index-2e331d74.js +0 -10
  202. package/es/index-3153c1db.cjs +0 -1
  203. package/es/index-5216d5f5.js +0 -406
  204. package/es/index-5c0dd943.cjs +0 -1
  205. package/es/index-657047bb.js +0 -513
  206. package/es/index-870b6c9d.cjs +0 -1
  207. package/es/index-8c2d7e05.js +0 -368
  208. package/es/index-960806da.js +0 -314
  209. package/es/index-9780a537.cjs +0 -1
  210. package/es/index-9d16cea8.cjs +0 -1
  211. package/es/index-ac8dc53d.cjs +0 -1
  212. package/es/index-bb833443.cjs +0 -1
  213. package/es/index-c5f2d372.js +0 -326
  214. package/es/index-c6584658.js +0 -163
  215. package/es/index-d77a7336.js +0 -204
  216. package/es/index-eea0bcb3.cjs +0 -1
  217. package/es/index-f034b910.js +0 -60
  218. package/es/index-f1c702f6.cjs +0 -1
  219. package/es/index-f58b2920.cjs +0 -1
  220. package/es/scroll-679bd6bf.js +0 -35
  221. package/es/scroll-b108dabd.cjs +0 -1
  222. package/es/use-form-common-props-ac666630.cjs +0 -1
  223. package/es/use-form-common-props-ed72e914.js +0 -364
  224. package/es/use-global-config-23472471.cjs +0 -1
  225. package/es/use-global-config-ee406d58.js +0 -72
  226. package/es/validator-366dbf39.cjs +0 -1
  227. package/es/vnode-5ddb7ed1.js +0 -14
  228. package/es/vnode-b906ae6d.cjs +0 -1
  229. package/es/zh-cn-c21d12d8.cjs +0 -1
@@ -1,47 +1,47 @@
1
- import "./base-a5af3db3.js";
2
- import { z as re, E as ne } from "./zh-cn-b59a0910.js";
3
- import { E as ue } from "./el-dialog-5e30161f.js";
4
- import "./el-overlay-3e17604b.js";
5
- import "./el-tag-66c83156.js";
1
+ import { i as I, E as ae } from "./index-6a52dc7c.js";
2
+ import { a as re, E as ne } from "./el-form-item-2be6b683.js";
3
+ import { E as ue } from "./el-popper-0454c8e8.js";
4
+ import { E as se } from "./el-input-d23f5442.js";
5
+ import { z as ie, E as de } from "./zh-cn-51c2e528.js";
6
+ import { E as me } from "./el-button-ee9fe159.js";
7
+ import { E as ce } from "./index-c09fc6f5.js";
8
+ import { E as fe, a as pe } from "./el-checkbox-b5ac7f04.js";
9
+ import { E as ye } from "./el-dialog-060b3735.js";
10
+ import { E as ve } from "./el-input-number-484fb184.js";
11
+ import { E as be } from "./el-popconfirm-6f8e65c8.js";
12
+ import { E as ge, a as ke } from "./el-table-column-1c443963.js";
13
+ import { E as _e } from "./el-text-761e6717.js";
14
+ import { E as Ce } from "./el-segmented-64dc7258.js";
15
+ import { E as Te } from "./el-message-box-568a0aa6.js";
16
+ import "./base-dd156b8e.js";
17
+ import "./el-overlay-cb5c85aa.js";
18
+ import "./el-tag-2d8a3fe7.js";
6
19
  import "./el-tooltip-4ed993c7.js";
7
- import { E as se } from "./el-popper-fbd0dcea.js";
8
- import { E as ie, a as ce } from "./el-table-column-b74a857d.js";
9
- import { E as de, a as me } from "./el-checkbox-6d4cb393.js";
10
- import "./el-scrollbar-323542e7.js";
11
- import { E as fe } from "./el-popconfirm-f8a86e2c.js";
20
+ import "./el-scrollbar-0a42c1d0.js";
12
21
  import "./el-popover-4ed993c7.js";
13
- import { E as pe } from "./el-button-94d3de38.js";
14
- import { a as ye, E as ve } from "./el-form-item-9e8969ea.js";
15
- import { E as _e } from "./el-input-342b2def.js";
16
- import { E as be } from "./el-text-034bd3f4.js";
17
- import { E as he } from "./el-input-number-c22b803a.js";
18
22
  import "./el-checkbox-group-4ed993c7.js";
19
- import { E as ge } from "./el-segmented-56bd58a8.js";
20
- import { mergeModels as j, 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 R, E as Se } from "./index-eb96e074.js";
22
- import { j as Ee } from "./index-53cc4e43.js";
23
- import { _ as Ve } from "./_plugin-vue_export-helper-dad06003.js";
24
- import { E as Ne } from "./el-message-box-035b699c.js";
25
- import { E as Fe } from "./index-1e2a38ab.js";
26
- import "./config-provider-88b637a8.js";
27
- import "./use-global-config-ee406d58.js";
28
- import "./use-form-common-props-ed72e914.js";
29
- import "./index-960806da.js";
30
- import "./index-d77a7336.js";
31
- import "./index-8c2d7e05.js";
32
- import "./index-2e331d74.js";
33
- import "./vnode-5ddb7ed1.js";
34
- import "./scroll-679bd6bf.js";
35
- import "./index-c5f2d372.js";
36
- import "./_initCloneObject-5e73c9c8.js";
37
- import "./castArray-7741a212.js";
38
- import "./debounce-8d53f4dd.js";
39
- import "./raf-80ef0c0a.js";
40
- import "./index-657047bb.js";
23
+ import { mergeModels as j, ref as w, useModel as xe, watch as he, openBlock as a, createElementBlock as m, createVNode as o, unref as C, withCtx as l, createElementVNode as c, normalizeClass as we, toDisplayString as T, createTextVNode as f, createBlock as p, createCommentVNode as y, Fragment as S, renderList as N } from "vue";
24
+ import { j as Se } from "./index-53cc4e43.js";
25
+ import { _ as Ee } from "./_plugin-vue_export-helper-dad06003.js";
26
+ import "./use-global-config-9a4ccf33.js";
27
+ import "./index-a181f161.js";
28
+ import "./use-form-item-784142b4.js";
29
+ import "./index-9573f74b.js";
30
+ import "./castArray-18eb6a41.js";
31
+ import "./_baseClone-fb6a3947.js";
32
+ import "./raf-b4fd1e12.js";
33
+ import "./index-dddacf80.js";
41
34
  import "./typescript-7ae59c4c.js";
42
- import "./index-f034b910.js";
43
- import "./validator-c60a8956.js";
44
- const Le = {
35
+ import "./config-provider-06d8207f.js";
36
+ import "./index-de9ad85c.js";
37
+ import "./index-3806160e.js";
38
+ import "./clamp-c7512966.js";
39
+ import "./toNumber-f077c66a.js";
40
+ import "./index-d9379af4.js";
41
+ import "./debounce-0a98a9c6.js";
42
+ import "./validator-a66ec4f8.js";
43
+ import "./scroll-70271cb1.js";
44
+ const Ve = {
45
45
  // 表单字段
46
46
  ruleFormPrice: !0,
47
47
  // 价格范围
@@ -57,19 +57,19 @@ const Le = {
57
57
  tableEnable: !0
58
58
  // 启用按钮
59
59
  };
60
- const P = (n) => (we("data-v-347c378d"), 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 = {
60
+ const Ne = { class: "st-factorWarning" }, Fe = { class: "custom-header" }, Le = { class: "factor-name" }, Oe = ["onClick"], De = { class: "factor-name" }, Pe = ["onClick"], $e = { style: { display: "flex", "align-items": "start" } }, ze = {
61
61
  key: 0,
62
62
  style: { flex: "1" }
63
- }, qe = /* @__PURE__ */ P(() => /* @__PURE__ */ f("span", { style: { margin: "0 5px" } }, "~", -1)), Ae = {
63
+ }, Me = {
64
64
  key: 0,
65
65
  style: { color: "#f56c6c" }
66
- }, je = {
66
+ }, Ue = {
67
67
  key: 1,
68
68
  style: { color: "#67c23a" }
69
- }, Re = { 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 = {
69
+ }, Be = { key: 0 }, qe = { key: 1 }, Ae = { key: 2 }, Ie = { class: "shortcut-title" }, je = { class: "shortcut-config" }, Re = {
70
70
  key: 1,
71
71
  class: "empty"
72
- }, Xe = { class: "shortcut-title" }, Ye = /* @__PURE__ */ P(() => /* @__PURE__ */ f("span", null, "新增配置", -1)), Ze = { class: "custom-footer" }, et = {
72
+ }, Je = { class: "shortcut-title" }, We = { class: "custom-footer" }, Ge = {
73
73
  __name: "index",
74
74
  props: /* @__PURE__ */ j({
75
75
  // 弹窗名称
@@ -90,24 +90,24 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
90
90
  visibleModifiers: {}
91
91
  }),
92
92
  emits: /* @__PURE__ */ j(["add", "delete", "enabled", "closed", "shortcutAdd", "shortcutDelete"], ["update:visible"]),
93
- setup(n, { emit: J }) {
94
- const T = x("ruleForm"), F = ke(n, "visible"), E = J, L = n, V = Object.assign(Le, L.showConfig), O = x(null), r = x({
93
+ setup(i, { emit: R }) {
94
+ const x = w("ruleForm"), F = xe(i, "visible"), E = R, L = i, V = Object.assign(Ve, L.showConfig), O = w(null), r = w({
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 = x({
101
+ }), J = w({
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
- }), M = x(null), u = x({
105
+ }), z = w(null), n = w({
106
106
  shortcutName: null,
107
107
  factorType: 1,
108
108
  factorSelectedList: [],
109
109
  totalCount: 1
110
- }), G = x({
110
+ }), W = w({
111
111
  factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
112
112
  factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
113
113
  totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }],
@@ -120,255 +120,255 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
120
120
  minPrice: null,
121
121
  maxPrice: null,
122
122
  mark: null
123
- }, u.value = {
123
+ }, n.value = {
124
124
  shortcutName: null,
125
125
  factorType: 1,
126
126
  factorSelectedList: [],
127
127
  totalCount: 1
128
128
  };
129
- }, U = async (c) => {
129
+ }, M = async (d) => {
130
130
  Object.assign(r.value, {
131
- factorSelectedList: [c],
131
+ factorSelectedList: [d],
132
132
  totalCount: 3
133
133
  });
134
- const t = {
135
- factorSelectedList: r.value.factorSelectedList.map((s) => {
136
- let i = 3;
137
- const v = L.tableData.find(({ factorExtendName: b }) => b === s);
134
+ const e = {
135
+ factorSelectedList: r.value.factorSelectedList.map((u) => {
136
+ let s = 3;
137
+ const v = L.tableData.find(({ factorExtendName: g }) => g === u);
138
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);
139
+ const g = v.totalCount - v.currentCount;
140
+ g === 0 ? s = 3 : s = Math.min(3, 12 - g >= 0 ? 12 - g : 0);
141
141
  }
142
142
  return {
143
- factorName: s,
143
+ factorName: u,
144
144
  ...r.value,
145
- totalCount: i
145
+ totalCount: s
146
146
  };
147
147
  })
148
- }, h = () => {
149
- const s = r.value.factorType;
150
- D(), r.value.factorType = s;
148
+ }, k = () => {
149
+ const u = r.value.factorType;
150
+ D(), r.value.factorType = u;
151
151
  };
152
- $(O.value, t, h);
153
- }, H = async (c) => {
154
- const t = JSON.parse(c.data);
152
+ P(O.value, e, k);
153
+ }, G = async (d) => {
154
+ const e = JSON.parse(d.data);
155
155
  Object.assign(r.value, {
156
- factorType: t.factorType,
157
- factorSelectedList: t.factorSelectedList,
158
- totalCount: t.totalCount
156
+ factorType: e.factorType,
157
+ factorSelectedList: e.factorSelectedList,
158
+ totalCount: e.totalCount
159
159
  });
160
- const h = {
160
+ const k = {
161
161
  // 通过快捷进行添加的因子, 具备有效次数上限10的校验
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);
162
+ factorSelectedList: r.value.factorSelectedList.map((s) => {
163
+ let v = e.totalCount;
164
+ const g = L.tableData.find(({ factorExtendName: _ }) => _ === s);
165
+ if (g) {
166
+ const _ = g.totalCount - g.currentCount;
167
+ _ === 0 ? v = e.totalCount : v = Math.min(e.totalCount, 10 - _ >= 0 ? 10 - _ : 0);
168
168
  }
169
169
  return {
170
- factorName: i,
170
+ factorName: s,
171
171
  ...r.value,
172
172
  totalCount: v
173
173
  };
174
174
  })
175
- }, s = () => D();
176
- $(O.value, h, s);
177
- }, $ = Ee(async (c, t, h) => {
178
- c && await c.validate((s) => {
179
- if (!s)
175
+ }, u = () => D();
176
+ P(O.value, k, u);
177
+ }, P = Se(async (d, e, k) => {
178
+ d && await d.validate((u) => {
179
+ if (!u)
180
180
  return !1;
181
- const i = t ?? {
181
+ const s = e ?? {
182
182
  factorSelectedList: r.value.factorSelectedList.map((v) => ({
183
183
  factorName: v,
184
184
  ...r.value
185
185
  }))
186
186
  };
187
- E("add", i), h ? h() : F.value = !1;
187
+ E("add", s), k ? k() : F.value = !1;
188
188
  });
189
- }, 200), K = async (c) => {
190
- c && await c.validate((t) => {
191
- if (!t)
189
+ }, 200), H = async (d) => {
190
+ d && await d.validate((e) => {
191
+ if (!e)
192
192
  return !1;
193
- const h = {
194
- shortcutName: u.value.shortcutName,
195
- data: JSON.stringify(u.value)
193
+ const k = {
194
+ shortcutName: n.value.shortcutName,
195
+ data: JSON.stringify(n.value)
196
196
  };
197
- E("shortcutAdd", h), D();
197
+ E("shortcutAdd", k), D();
198
198
  });
199
- }, Q = (c) => {
200
- u.value = JSON.parse(c.data);
201
- }, X = (c) => {
202
- Ne.confirm(`是否确认删除配置: ${c.shortcutName} ?`, "删除提示", {
199
+ }, K = (d) => {
200
+ n.value = JSON.parse(d.data);
201
+ }, Q = (d) => {
202
+ Te.confirm(`是否确认删除配置: ${d.shortcutName} ?`, "删除提示", {
203
203
  confirmButtonText: "确认",
204
204
  cancelButtonText: "取消",
205
205
  type: "warning"
206
- }).then(() => E("shortcutDelete", c));
206
+ }).then(() => E("shortcutDelete", d));
207
207
  };
208
- return Ce(
208
+ return he(
209
209
  () => F.value,
210
- (c) => {
211
- c && (T.value = L.allowOperation ? "ruleForm" : "table", D());
210
+ (d) => {
211
+ d && (x.value = L.allowOperation ? "ruleForm" : "table", D());
212
212
  },
213
213
  {
214
214
  immediate: !0
215
215
  }
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) }, {
216
+ ), (d, e) => {
217
+ const k = Ce, u = me, s = re, v = fe, g = pe, _ = ve, X = _e, U = se, B = ne, h = ge, Y = be, Z = ke, q = ae, A = ue, ee = ce, te = ye, le = de;
218
+ return a(), m("div", Ne, [
219
+ o(le, { locale: C(ie) }, {
220
220
  default: l(() => [
221
- a(le, {
221
+ o(te, {
222
222
  modelValue: F.value,
223
- "onUpdate:modelValue": t[17] || (t[17] = (e) => F.value = e),
223
+ "onUpdate:modelValue": e[17] || (e[17] = (t) => F.value = t),
224
224
  width: "1020",
225
225
  "align-center": "",
226
226
  "destroy-on-close": "",
227
- onClosed: t[18] || (t[18] = (e) => E("closed"))
227
+ onClosed: e[18] || (e[18] = (t) => E("closed"))
228
228
  }, {
229
- header: l(({ close: e, titleId: _, titleClass: z }) => [
230
- f("div", De, [
231
- f("div", {
232
- class: Te(z)
229
+ header: l(({ close: t, titleId: b, titleClass: $ }) => [
230
+ c("div", Fe, [
231
+ c("div", {
232
+ class: we($)
233
233
  }, [
234
- Pe,
235
- f("span", null, C(n.title), 1)
234
+ e[19] || (e[19] = c("span", { style: { "margin-right": "4px" } }, "因子预警", -1)),
235
+ c("span", null, T(i.title), 1)
236
236
  ], 2),
237
- a(h, {
238
- modelValue: T.value,
239
- "onUpdate:modelValue": t[0] || (t[0] = (oe) => T.value = oe),
237
+ o(k, {
238
+ modelValue: x.value,
239
+ "onUpdate:modelValue": e[0] || (e[0] = (oe) => x.value = oe),
240
240
  size: "default",
241
241
  options: [
242
- { label: "添加", value: "ruleForm", disabled: !n.allowOperation },
242
+ { label: "添加", value: "ruleForm", disabled: !i.allowOperation },
243
243
  { label: "管理", value: "table", disabled: !1 },
244
- { label: "快捷配置", value: "shortcut", disabled: !n.allowOperation }
244
+ { label: "快捷配置", value: "shortcut", disabled: !i.allowOperation }
245
245
  ]
246
246
  }, null, 8, ["modelValue", "options"])
247
247
  ])
248
248
  ]),
249
249
  footer: l(() => [
250
- f("div", Ze, [
251
- a(s, {
250
+ c("div", We, [
251
+ o(u, {
252
252
  size: "default",
253
- onClick: t[14] || (t[14] = (e) => F.value = !1)
253
+ onClick: e[14] || (e[14] = (t) => F.value = !1)
254
254
  }, {
255
- default: l(() => [
256
- m("关闭")
257
- ]),
255
+ default: l(() => [...e[30] || (e[30] = [
256
+ f("关闭", -1)
257
+ ])]),
258
258
  _: 1
259
259
  }),
260
- T.value === "ruleForm" ? (o(), p(s, {
260
+ x.value === "ruleForm" ? (a(), p(u, {
261
261
  key: 0,
262
262
  size: "default",
263
263
  type: "primary",
264
- onClick: t[15] || (t[15] = (e) => k($)(O.value))
264
+ onClick: e[15] || (e[15] = (t) => C(P)(O.value))
265
265
  }, {
266
- default: l(() => [
267
- m(" 确认 ")
268
- ]),
266
+ default: l(() => [...e[31] || (e[31] = [
267
+ f(" 确认 ", -1)
268
+ ])]),
269
269
  _: 1
270
270
  })) : y("", !0),
271
- T.value === "shortcut" ? (o(), p(s, {
271
+ x.value === "shortcut" ? (a(), p(u, {
272
272
  key: 1,
273
273
  size: "default",
274
274
  type: "primary",
275
- onClick: t[16] || (t[16] = (e) => K(M.value))
275
+ onClick: e[16] || (e[16] = (t) => H(z.value))
276
276
  }, {
277
- default: l(() => [
278
- m(" 保存配置 ")
279
- ]),
277
+ default: l(() => [...e[32] || (e[32] = [
278
+ f(" 保存配置 ", -1)
279
+ ])]),
280
280
  _: 1
281
281
  })) : y("", !0)
282
282
  ])
283
283
  ]),
284
284
  default: l(() => [
285
- T.value === "ruleForm" ? (o(), p(I, {
285
+ x.value === "ruleForm" ? (a(), p(B, {
286
286
  key: 0,
287
287
  ref_key: "ruleFormRef",
288
288
  ref: O,
289
289
  model: r.value,
290
- rules: W.value,
290
+ rules: J.value,
291
291
  size: "default",
292
292
  "label-width": "90px"
293
293
  }, {
294
294
  default: l(() => [
295
- a(i, {
295
+ o(s, {
296
296
  label: "交易类型:",
297
297
  prop: "factorType"
298
298
  }, {
299
299
  default: l(() => [
300
- a(s, {
300
+ o(u, {
301
301
  type: "danger",
302
302
  plain: r.value.factorType !== 1,
303
- onClick: t[1] || (t[1] = () => {
303
+ onClick: e[1] || (e[1] = () => {
304
304
  r.value.factorType === -1 && (r.value.factorSelectedList = []), r.value.factorType = 1;
305
305
  })
306
306
  }, {
307
- default: l(() => [
308
- m(" 多 ")
309
- ]),
307
+ default: l(() => [...e[20] || (e[20] = [
308
+ f(" 多 ", -1)
309
+ ])]),
310
310
  _: 1
311
311
  }, 8, ["plain"]),
312
- a(s, {
312
+ o(u, {
313
313
  type: "success",
314
314
  plain: r.value.factorType !== -1,
315
- onClick: t[2] || (t[2] = () => {
315
+ onClick: e[2] || (e[2] = () => {
316
316
  r.value.factorType === 1 && (r.value.factorSelectedList = []), r.value.factorType = -1;
317
317
  })
318
318
  }, {
319
- default: l(() => [
320
- m(" 空 ")
321
- ]),
319
+ default: l(() => [...e[21] || (e[21] = [
320
+ f(" 空 ", -1)
321
+ ])]),
322
322
  _: 1
323
323
  }, 8, ["plain"])
324
324
  ]),
325
325
  _: 1
326
326
  }),
327
- a(i, {
327
+ o(s, {
328
328
  label: "预警因子:",
329
329
  prop: "factorSelectedList"
330
330
  }, {
331
331
  default: l(() => [
332
- a(b, {
332
+ o(g, {
333
333
  modelValue: r.value.factorSelectedList,
334
- "onUpdate:modelValue": t[3] || (t[3] = (e) => r.value.factorSelectedList = e)
334
+ "onUpdate:modelValue": e[3] || (e[3] = (t) => r.value.factorSelectedList = t)
335
335
  }, {
336
336
  default: l(() => [
337
- r.value.factorType === 1 ? (o(!0), d(S, { key: 0 }, N(n.moreFactorOptions, (e, _) => (o(), d("div", {
337
+ r.value.factorType === 1 ? (a(!0), m(S, { key: 0 }, N(i.moreFactorOptions, (t, b) => (a(), m("div", {
338
338
  class: "factor-checkbox",
339
- key: _
339
+ key: b
340
340
  }, [
341
- a(v, {
342
- label: e.factorTypeName,
343
- value: e.factorTypeName
341
+ o(v, {
342
+ label: t.factorTypeName,
343
+ value: t.factorTypeName
344
344
  }, {
345
345
  default: l(() => [
346
- f("span", $e, C(e.factorTypeName), 1)
346
+ c("span", Le, T(t.factorTypeName), 1)
347
347
  ]),
348
348
  _: 2
349
349
  }, 1032, ["label", "value"]),
350
- f("span", {
350
+ c("span", {
351
351
  class: "tag-button",
352
- onClick: (z) => U(e.factorTypeName)
353
- }, "+3", 8, ze)
352
+ onClick: ($) => M(t.factorTypeName)
353
+ }, "+3", 8, Oe)
354
354
  ]))), 128)) : y("", !0),
355
- r.value.factorType === -1 ? (o(!0), d(S, { key: 1 }, N(n.emptyFactorOptions, (e, _) => (o(), d("div", {
355
+ r.value.factorType === -1 ? (a(!0), m(S, { key: 1 }, N(i.emptyFactorOptions, (t, b) => (a(), m("div", {
356
356
  class: "factor-checkbox",
357
- key: _
357
+ key: b
358
358
  }, [
359
- a(v, {
360
- label: e.factorTypeName,
361
- value: e.factorTypeName
359
+ o(v, {
360
+ label: t.factorTypeName,
361
+ value: t.factorTypeName
362
362
  }, {
363
363
  default: l(() => [
364
- f("span", Me, C(e.factorTypeName), 1)
364
+ c("span", De, T(t.factorTypeName), 1)
365
365
  ]),
366
366
  _: 2
367
367
  }, 1032, ["label", "value"]),
368
- f("span", {
368
+ c("span", {
369
369
  class: "tag-button",
370
- onClick: (z) => U(e.factorTypeName)
371
- }, "+3", 8, Ue)
370
+ onClick: ($) => M(t.factorTypeName)
371
+ }, "+3", 8, Pe)
372
372
  ]))), 128)) : y("", !0)
373
373
  ]),
374
374
  _: 1
@@ -376,62 +376,62 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
376
376
  ]),
377
377
  _: 1
378
378
  }),
379
- a(i, {
379
+ o(s, {
380
380
  label: "预警次数:",
381
381
  prop: "totalCount"
382
382
  }, {
383
383
  default: l(() => [
384
- f("div", Be, [
385
- a(g, {
384
+ c("div", $e, [
385
+ o(_, {
386
386
  modelValue: r.value.totalCount,
387
- "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.totalCount = e),
387
+ "onUpdate:modelValue": e[4] || (e[4] = (t) => r.value.totalCount = t),
388
388
  min: 1,
389
389
  "controls-position": "right",
390
390
  style: { "margin-right": "20px" }
391
391
  }, null, 8, ["modelValue"]),
392
- n.shortcutData.length ? (o(), d("div", Ie, [
393
- (o(!0), d(S, null, N(n.shortcutData, (e) => (o(), p(s, {
394
- key: e.id,
395
- onClick: (_) => H(e),
392
+ i.shortcutData.length ? (a(), m("div", ze, [
393
+ (a(!0), m(S, null, N(i.shortcutData, (t) => (a(), p(u, {
394
+ key: t.id,
395
+ onClick: (b) => G(t),
396
396
  style: { margin: "0 12px 4px 0" }
397
397
  }, {
398
398
  default: l(() => [
399
- m(C(e.shortcutName), 1)
399
+ f(T(t.shortcutName), 1)
400
400
  ]),
401
401
  _: 2
402
402
  }, 1032, ["onClick"]))), 128))
403
- ])) : (o(), p(Y, {
403
+ ])) : (a(), p(X, {
404
404
  key: 1,
405
405
  type: "primary",
406
406
  style: { cursor: "pointer" },
407
- onClick: t[5] || (t[5] = () => T.value = "shortcut")
407
+ onClick: e[5] || (e[5] = () => x.value = "shortcut")
408
408
  }, {
409
- default: l(() => [
410
- m(" 暂无快捷配置, 是否点击前往自定义配置? ")
411
- ]),
409
+ default: l(() => [...e[22] || (e[22] = [
410
+ f(" 暂无快捷配置, 是否点击前往自定义配置? ", -1)
411
+ ])]),
412
412
  _: 1
413
413
  }))
414
414
  ])
415
415
  ]),
416
416
  _: 1
417
417
  }),
418
- k(V).ruleFormPrice ? (o(), p(i, {
418
+ C(V).ruleFormPrice ? (a(), p(s, {
419
419
  key: 0,
420
420
  label: "价格范围:"
421
421
  }, {
422
422
  default: l(() => [
423
- a(g, {
423
+ o(_, {
424
424
  modelValue: r.value.minPrice,
425
- "onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.minPrice = e),
425
+ "onUpdate:modelValue": e[6] || (e[6] = (t) => r.value.minPrice = t),
426
426
  min: -999,
427
427
  placeholder: "请输入",
428
428
  max: 999,
429
429
  "controls-position": "right"
430
430
  }, null, 8, ["modelValue"]),
431
- qe,
432
- a(g, {
431
+ e[23] || (e[23] = c("span", { style: { margin: "0 5px" } }, "~", -1)),
432
+ o(_, {
433
433
  modelValue: r.value.maxPrice,
434
- "onUpdate:modelValue": t[7] || (t[7] = (e) => r.value.maxPrice = e),
434
+ "onUpdate:modelValue": e[7] || (e[7] = (t) => r.value.maxPrice = t),
435
435
  placeholder: "请输入",
436
436
  min: -999,
437
437
  max: 999,
@@ -440,14 +440,14 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
440
440
  ]),
441
441
  _: 1
442
442
  })) : y("", !0),
443
- k(V).ruleFormMark ? (o(), p(i, {
443
+ C(V).ruleFormMark ? (a(), p(s, {
444
444
  key: 1,
445
445
  label: "备注:"
446
446
  }, {
447
447
  default: l(() => [
448
- a(B, {
448
+ o(U, {
449
449
  modelValue: r.value.mark,
450
- "onUpdate:modelValue": t[8] || (t[8] = (e) => r.value.mark = e),
450
+ "onUpdate:modelValue": e[8] || (e[8] = (t) => r.value.mark = t),
451
451
  type: "textarea",
452
452
  placeholder: "请输入关键字",
453
453
  rows: 2,
@@ -459,126 +459,126 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
459
459
  ]),
460
460
  _: 1
461
461
  }, 8, ["model", "rules"])) : y("", !0),
462
- T.value === "table" ? (o(), p(ee, {
462
+ x.value === "table" ? (a(), p(Z, {
463
463
  key: 1,
464
- data: n.tableData,
464
+ data: i.tableData,
465
465
  size: "small"
466
466
  }, {
467
467
  default: l(() => [
468
- a(w, {
468
+ o(h, {
469
469
  label: "预警周期",
470
470
  width: "70"
471
471
  }, {
472
- default: l((e) => [
473
- m(C(e.row.freqName || "-"), 1)
472
+ default: l((t) => [
473
+ f(T(t.row.freqName || "-"), 1)
474
474
  ]),
475
475
  _: 1
476
476
  }),
477
- a(w, {
477
+ o(h, {
478
478
  label: "交易类型",
479
479
  width: "70"
480
480
  }, {
481
- default: l((e) => [
482
- e.row.factorExtendValue == 1 ? (o(), d("span", Ae, "多")) : (o(), d("span", je, "空"))
481
+ default: l((t) => [
482
+ t.row.factorExtendValue == 1 ? (a(), m("span", Me, "多")) : (a(), m("span", Ue, "空"))
483
483
  ]),
484
484
  _: 1
485
485
  }),
486
- a(w, { label: "预警因子" }, {
487
- default: l((e) => [
488
- m(C(e.row.factorExtendName || "-"), 1)
486
+ o(h, { label: "预警因子" }, {
487
+ default: l((t) => [
488
+ f(T(t.row.factorExtendName || "-"), 1)
489
489
  ]),
490
490
  _: 1
491
491
  }),
492
- a(w, {
492
+ o(h, {
493
493
  label: "预警次数",
494
494
  width: "70"
495
495
  }, {
496
- default: l((e) => [
497
- m(C(`${e.row.currentCount} / ${e.row.totalCount}`), 1)
496
+ default: l((t) => [
497
+ f(T(`${t.row.currentCount} / ${t.row.totalCount}`), 1)
498
498
  ]),
499
499
  _: 1
500
500
  }),
501
- k(V).tableStatus ? (o(), p(w, {
501
+ C(V).tableStatus ? (a(), p(h, {
502
502
  key: 0,
503
503
  label: "状态",
504
504
  width: "70"
505
505
  }, {
506
- default: l((e) => [
507
- f("div", null, [
508
- e.row.enable === 1 ? (o(), d("span", Re, "未触发")) : e.row.enable === 2 ? (o(), d("span", Je, "已触发")) : (o(), d("span", We, "-"))
506
+ default: l((t) => [
507
+ c("div", null, [
508
+ t.row.enable === 1 ? (a(), m("span", Be, "未触发")) : t.row.enable === 2 ? (a(), m("span", qe, "已触发")) : (a(), m("span", Ae, "-"))
509
509
  ])
510
510
  ]),
511
511
  _: 1
512
512
  })) : y("", !0),
513
- k(V).tableCreateTime ? (o(), p(w, {
513
+ C(V).tableCreateTime ? (a(), p(h, {
514
514
  key: 1,
515
515
  label: "设置时间",
516
516
  width: "136"
517
517
  }, {
518
- default: l((e) => [
519
- m(C(e.row.createdTime || "-"), 1)
518
+ default: l((t) => [
519
+ f(T(t.row.createdTime || "-"), 1)
520
520
  ]),
521
521
  _: 1
522
522
  })) : y("", !0),
523
- k(V).tableMark ? (o(), p(w, {
523
+ C(V).tableMark ? (a(), p(h, {
524
524
  key: 2,
525
525
  label: "备注",
526
526
  width: "70"
527
527
  }, {
528
- default: l((e) => [
529
- m(C(e.row.mark || "-"), 1)
528
+ default: l((t) => [
529
+ f(T(t.row.mark || "-"), 1)
530
530
  ]),
531
531
  _: 1
532
532
  })) : y("", !0),
533
- n.allowOperation ? (o(), p(w, {
533
+ i.allowOperation ? (a(), p(h, {
534
534
  key: 3,
535
535
  label: "操作",
536
536
  width: "140"
537
537
  }, {
538
- default: l((e) => [
539
- k(V).tableEnable ? (o(), p(s, {
538
+ default: l((t) => [
539
+ C(V).tableEnable ? (a(), p(u, {
540
540
  key: 0,
541
- disabled: e.row.currentCount !== e.row.totalCount,
541
+ disabled: t.row.currentCount !== t.row.totalCount,
542
542
  size: "small",
543
- onClick: (_) => E("enabled", e.row)
543
+ onClick: (b) => E("enabled", t.row)
544
544
  }, {
545
- default: l(() => [
546
- m(" 启用 ")
547
- ]),
548
- _: 2
549
- }, 1032, ["disabled", "onClick"])) : y("", !0),
550
- a(Z, {
545
+ default: l(() => [...e[24] || (e[24] = [
546
+ f(" 启用 ", -1)
547
+ ])]),
548
+ _: 1
549
+ }, 8, ["disabled", "onClick"])) : y("", !0),
550
+ o(Y, {
551
551
  title: "确定删除?",
552
- onConfirm: (_) => E("delete", e.row)
552
+ onConfirm: (b) => E("delete", t.row)
553
553
  }, {
554
554
  reference: l(() => [
555
- a(s, { size: "small" }, {
556
- default: l(() => [
557
- m("删除")
558
- ]),
555
+ o(u, { size: "small" }, {
556
+ default: l(() => [...e[25] || (e[25] = [
557
+ f("删除", -1)
558
+ ])]),
559
559
  _: 1
560
560
  })
561
561
  ]),
562
- _: 2
563
- }, 1032, ["onConfirm"])
562
+ _: 1
563
+ }, 8, ["onConfirm"])
564
564
  ]),
565
565
  _: 1
566
566
  })) : y("", !0)
567
567
  ]),
568
568
  _: 1
569
569
  }, 8, ["data"])) : y("", !0),
570
- T.value === "shortcut" ? (o(), d(S, { key: 2 }, [
571
- f("div", Ge, [
572
- He,
573
- a(A, {
570
+ x.value === "shortcut" ? (a(), m(S, { key: 2 }, [
571
+ c("div", Ie, [
572
+ e[26] || (e[26] = c("span", null, "我的配置", -1)),
573
+ o(A, {
574
574
  effect: "dark",
575
575
  content: "如有配置数据, 可点击查看该配置的具体信息",
576
576
  placement: "right-start"
577
577
  }, {
578
578
  default: l(() => [
579
- a(q, null, {
579
+ o(q, null, {
580
580
  default: l(() => [
581
- a(k(R))
581
+ o(C(I))
582
582
  ]),
583
583
  _: 1
584
584
  })
@@ -586,32 +586,32 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
586
586
  _: 1
587
587
  })
588
588
  ]),
589
- f("div", Ke, [
590
- n.shortcutData.length ? (o(!0), d(S, { key: 0 }, N(n.shortcutData, (e) => (o(), p(te, {
591
- key: e.id,
589
+ c("div", je, [
590
+ i.shortcutData.length ? (a(!0), m(S, { key: 0 }, N(i.shortcutData, (t) => (a(), p(ee, {
591
+ key: t.id,
592
592
  type: "primary",
593
593
  size: "default",
594
594
  closable: "",
595
- onClick: (_) => Q(e),
596
- onClose: (_) => X(e)
595
+ onClick: (b) => K(t),
596
+ onClose: (b) => Q(t)
597
597
  }, {
598
598
  default: l(() => [
599
- m(C(e.shortcutName), 1)
599
+ f(T(t.shortcutName), 1)
600
600
  ]),
601
601
  _: 2
602
- }, 1032, ["onClick", "onClose"]))), 128)) : (o(), d("span", Qe, "暂无数据"))
602
+ }, 1032, ["onClick", "onClose"]))), 128)) : (a(), m("span", Re, "暂无数据"))
603
603
  ]),
604
- f("div", Xe, [
605
- Ye,
606
- a(A, {
604
+ c("div", Je, [
605
+ e[27] || (e[27] = c("span", null, "新增配置", -1)),
606
+ o(A, {
607
607
  effect: "dark",
608
608
  content: "同名配置将会进行覆盖",
609
609
  placement: "right-start"
610
610
  }, {
611
611
  default: l(() => [
612
- a(q, null, {
612
+ o(q, null, {
613
613
  default: l(() => [
614
- a(k(R))
614
+ o(C(I))
615
615
  ]),
616
616
  _: 1
617
617
  })
@@ -619,23 +619,23 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
619
619
  _: 1
620
620
  })
621
621
  ]),
622
- a(I, {
622
+ o(B, {
623
623
  ref_key: "shortcut_ruleFormRef",
624
- ref: M,
625
- model: u.value,
626
- rules: G.value,
624
+ ref: z,
625
+ model: n.value,
626
+ rules: W.value,
627
627
  "label-width": "90px",
628
628
  size: "default"
629
629
  }, {
630
630
  default: l(() => [
631
- a(i, {
631
+ o(s, {
632
632
  label: "配置名称:",
633
633
  prop: "shortcutName"
634
634
  }, {
635
635
  default: l(() => [
636
- a(B, {
637
- modelValue: u.value.shortcutName,
638
- "onUpdate:modelValue": t[9] || (t[9] = (e) => u.value.shortcutName = e),
636
+ o(U, {
637
+ modelValue: n.value.shortcutName,
638
+ "onUpdate:modelValue": e[9] || (e[9] = (t) => n.value.shortcutName = t),
639
639
  maxlength: "6",
640
640
  "show-word-limit": "",
641
641
  style: { width: "160px" }
@@ -643,58 +643,58 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
643
643
  ]),
644
644
  _: 1
645
645
  }),
646
- a(i, {
646
+ o(s, {
647
647
  label: "交易类型:",
648
648
  prop: "factorType"
649
649
  }, {
650
650
  default: l(() => [
651
- a(s, {
651
+ o(u, {
652
652
  type: "danger",
653
- plain: u.value.factorType !== 1,
654
- onClick: t[10] || (t[10] = () => {
655
- u.value.factorType === -1 && (u.value.factorSelectedList = []), u.value.factorType = 1;
653
+ plain: n.value.factorType !== 1,
654
+ onClick: e[10] || (e[10] = () => {
655
+ n.value.factorType === -1 && (n.value.factorSelectedList = []), n.value.factorType = 1;
656
656
  })
657
657
  }, {
658
- default: l(() => [
659
- m(" 多 ")
660
- ]),
658
+ default: l(() => [...e[28] || (e[28] = [
659
+ f(" 多 ", -1)
660
+ ])]),
661
661
  _: 1
662
662
  }, 8, ["plain"]),
663
- a(s, {
663
+ o(u, {
664
664
  type: "success",
665
- plain: u.value.factorType !== -1,
666
- onClick: t[11] || (t[11] = () => {
667
- u.value.factorType === 1 && (u.value.factorSelectedList = []), u.value.factorType = -1;
665
+ plain: n.value.factorType !== -1,
666
+ onClick: e[11] || (e[11] = () => {
667
+ n.value.factorType === 1 && (n.value.factorSelectedList = []), n.value.factorType = -1;
668
668
  })
669
669
  }, {
670
- default: l(() => [
671
- m(" 空 ")
672
- ]),
670
+ default: l(() => [...e[29] || (e[29] = [
671
+ f(" 空 ", -1)
672
+ ])]),
673
673
  _: 1
674
674
  }, 8, ["plain"])
675
675
  ]),
676
676
  _: 1
677
677
  }),
678
- a(i, {
678
+ o(s, {
679
679
  label: "预警因子:",
680
680
  prop: "factorSelectedList"
681
681
  }, {
682
682
  default: l(() => [
683
- a(b, {
684
- modelValue: u.value.factorSelectedList,
685
- "onUpdate:modelValue": t[12] || (t[12] = (e) => u.value.factorSelectedList = e)
683
+ o(g, {
684
+ modelValue: n.value.factorSelectedList,
685
+ "onUpdate:modelValue": e[12] || (e[12] = (t) => n.value.factorSelectedList = t)
686
686
  }, {
687
687
  default: l(() => [
688
- u.value.factorType === 1 ? (o(!0), d(S, { key: 0 }, N(n.moreFactorOptions, (e, _) => (o(), p(v, {
689
- key: _,
690
- label: e.factorTypeName,
691
- value: e.factorTypeName,
688
+ n.value.factorType === 1 ? (a(!0), m(S, { key: 0 }, N(i.moreFactorOptions, (t, b) => (a(), p(v, {
689
+ key: b,
690
+ label: t.factorTypeName,
691
+ value: t.factorTypeName,
692
692
  style: { width: "200px" }
693
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: _,
696
- label: e.factorTypeName,
697
- value: e.factorTypeName,
694
+ n.value.factorType === -1 ? (a(!0), m(S, { key: 1 }, N(i.emptyFactorOptions, (t, b) => (a(), p(v, {
695
+ key: b,
696
+ label: t.factorTypeName,
697
+ value: t.factorTypeName,
698
698
  style: { width: "200px" }
699
699
  }, null, 8, ["label", "value"]))), 128)) : y("", !0)
700
700
  ]),
@@ -703,14 +703,14 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
703
703
  ]),
704
704
  _: 1
705
705
  }),
706
- a(i, {
706
+ o(s, {
707
707
  label: "预警次数:",
708
708
  prop: "totalCount"
709
709
  }, {
710
710
  default: l(() => [
711
- a(g, {
712
- modelValue: u.value.totalCount,
713
- "onUpdate:modelValue": t[13] || (t[13] = (e) => u.value.totalCount = e),
711
+ o(_, {
712
+ modelValue: n.value.totalCount,
713
+ "onUpdate:modelValue": e[13] || (e[13] = (t) => n.value.totalCount = t),
714
714
  min: 1,
715
715
  max: 10,
716
716
  "controls-position": "right",
@@ -732,11 +732,11 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
732
732
  ]);
733
733
  };
734
734
  }
735
- }, tt = /* @__PURE__ */ Ve(et, [["__scopeId", "data-v-347c378d"]]), Jt = {
736
- install(n) {
737
- n.component("st-factorWarning", tt);
735
+ }, He = /* @__PURE__ */ Ee(Ge, [["__scopeId", "data-v-347c378d"]]), Ut = {
736
+ install(i) {
737
+ i.component("st-factorWarning", He);
738
738
  }
739
739
  };
740
740
  export {
741
- Jt as default
741
+ Ut as default
742
742
  };