st-comp 0.0.248 → 0.0.249

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 (163) hide show
  1. package/components.d.ts +1 -0
  2. package/es/ChartLayout.js +4 -4
  3. package/es/CustomFunction.cjs +2 -2
  4. package/es/CustomFunction.js +82 -80
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +36 -35
  7. package/es/Kline.cjs +1 -1
  8. package/es/Kline.js +20 -19
  9. package/es/KlineBasic.cjs +1 -1
  10. package/es/KlineBasic.js +30 -28
  11. package/es/KlineConfig.cjs +1 -1
  12. package/es/KlineConfig.js +83 -82
  13. package/es/KlineNew.cjs +1 -1
  14. package/es/KlineNew.js +19 -18
  15. package/es/KlinePlus.cjs +1 -1
  16. package/es/KlinePlus.js +22 -21
  17. package/es/LinearLegend.cjs +1 -1
  18. package/es/LinearLegend.js +63 -1
  19. package/es/MonacoEditor.cjs +1 -1
  20. package/es/MonacoEditor.js +28 -26
  21. package/es/Pagination.cjs +1 -1
  22. package/es/Pagination.js +121 -120
  23. package/es/PasswordPrompt.cjs +1 -1
  24. package/es/PasswordPrompt.js +3 -3
  25. package/es/Table.cjs +1 -1
  26. package/es/Table.js +31 -30
  27. package/es/User.cjs +1 -1
  28. package/es/User.js +157 -155
  29. package/es/VarSelectDialog.cjs +2 -2
  30. package/es/VarSelectDialog.js +29 -27
  31. package/es/VarietyAiHelper.cjs +4 -0
  32. package/es/VarietyAiHelper.js +270 -0
  33. package/es/VarietyAutoComplete.cjs +1 -1
  34. package/es/VarietyAutoComplete.js +13 -12
  35. package/es/VarietySearch.cjs +10 -10
  36. package/es/VarietySearch.js +70 -68
  37. package/es/{VarietySelect-2fd501da.cjs → VarietySelect-5c845562.cjs} +1 -1
  38. package/es/{VarietySelect-b9fe3000.js → VarietySelect-9f267958.js} +4 -4
  39. package/es/VarietyTextCopy.cjs +1 -1
  40. package/es/VarietyTextCopy.js +24 -22
  41. package/es/VirtualTable.cjs +1 -1
  42. package/es/VirtualTable.js +70 -70
  43. package/es/{_initCloneObject-3823a101.cjs → _initCloneObject-2b82e9f7.cjs} +1 -1
  44. package/es/{_initCloneObject-382335b2.js → _initCloneObject-69c8ae23.js} +7 -7
  45. package/es/aiTools.js +36 -0
  46. package/es/{base-ff0e366f.js → base-29f73b05.js} +40 -40
  47. package/es/{castArray-15070be9.js → castArray-609a313e.js} +1 -1
  48. package/es/{config-provider-2182708a.cjs → config-provider-2ae47cc8.cjs} +1 -1
  49. package/es/{config-provider-2e85eee8.js → config-provider-7860903c.js} +6 -6
  50. package/es/{debounce-e9e47f9a.js → debounce-a09ce9a3.js} +1 -1
  51. package/es/{dropdown-2b35a683.js → dropdown-497442b7.js} +30 -29
  52. package/es/dropdown-eba9eaf5.cjs +1 -0
  53. package/es/{el-autocomplete-18be2c5a.js → el-autocomplete-27c60cc8.js} +24 -23
  54. package/es/el-autocomplete-b59eb529.cjs +1 -0
  55. package/es/{el-button-68baab7b.cjs → el-button-974ff9e9.cjs} +1 -1
  56. package/es/{el-button-f08c0639.js → el-button-e2c63c08.js} +39 -39
  57. package/es/el-checkbox-08185353.cjs +1 -0
  58. package/es/{el-checkbox-058dba2d.js → el-checkbox-71ebd862.js} +31 -31
  59. package/es/el-dialog-1b185570.cjs +1 -0
  60. package/es/{el-dialog-d328e0d8.js → el-dialog-eedcfd3e.js} +15 -15
  61. package/es/{el-divider-4fe55ebe.js → el-divider-523e5874.js} +1 -1
  62. package/es/{el-empty-ceecb81c.js → el-empty-f5a1607a.js} +5 -5
  63. package/es/{el-form-item-cb328886.js → el-form-item-bdcfd297.js} +36 -36
  64. package/es/{el-form-item-4076e55f.cjs → el-form-item-c997b4fa.cjs} +1 -1
  65. package/es/{el-input-0f6ead19.js → el-input-d47281da.js} +91 -91
  66. package/es/el-input-fa18ef84.cjs +1 -0
  67. package/es/el-input-number-3d94fa58.cjs +1 -0
  68. package/es/{el-input-number-66e68609.js → el-input-number-c8018cb1.js} +28 -28
  69. package/es/{el-loading-412370c7.js → el-loading-0cd81d05.js} +5 -5
  70. package/es/{el-loading-05826e64.cjs → el-loading-969a79ca.cjs} +1 -1
  71. package/es/el-menu-item-26071fd6.cjs +1 -0
  72. package/es/{el-menu-item-0ee8ad18.js → el-menu-item-dac65bb3.js} +31 -30
  73. package/es/el-message-0ea8fbf8.cjs +1 -0
  74. package/es/el-message-4ed993c7.js +1 -0
  75. package/es/el-message-box-31e0aa98.cjs +1 -0
  76. package/es/{el-message-box-6db52b29.js → el-message-box-fea4fca8.js} +11 -11
  77. package/es/{el-overlay-981f8d49.js → el-overlay-1ee0338d.js} +63 -63
  78. package/es/el-overlay-ea65cb05.cjs +1 -0
  79. package/es/{el-popconfirm-005013fa.js → el-popconfirm-089b8bec.js} +17 -16
  80. package/es/el-popconfirm-9e232436.cjs +1 -0
  81. package/es/el-popper-2d3914e4.cjs +1 -0
  82. package/es/el-popper-c9b3d3cf.js +1662 -0
  83. package/es/el-segmented-140ac042.cjs +1 -0
  84. package/es/{el-segmented-050d0090.js → el-segmented-9d3a9e11.js} +8 -8
  85. package/es/el-select-a11f33e8.cjs +1 -0
  86. package/es/{el-select-23a1f302.js → el-select-e51e11c1.js} +92 -91
  87. package/es/{el-table-column-d0c374cf.js → el-table-column-05d292a8.js} +25 -24
  88. package/es/el-table-column-98570a4d.cjs +14 -0
  89. package/es/{el-tag-f13f463b.js → el-tag-17cd04a1.js} +14 -14
  90. package/es/el-tag-6d8e653e.cjs +1 -0
  91. package/es/{el-text-27cef2be.js → el-text-2710fff3.js} +2 -2
  92. package/es/{el-text-1470de46.cjs → el-text-a18106cb.cjs} +1 -1
  93. package/es/{index-09bd2621.js → index-0ee486ad.js} +43 -43
  94. package/es/index-0f79095c.js +440 -0
  95. package/es/{index-e0901394.js → index-1d9b50de.js} +34 -34
  96. package/es/index-28e03bad.cjs +1 -0
  97. package/es/{index-269b22da.cjs → index-299ee017.cjs} +1 -1
  98. package/es/{index-cebc7160.cjs → index-33f80550.cjs} +1 -1
  99. package/es/{index-4f48940d.cjs → index-37b8d3c6.cjs} +1 -1
  100. package/es/{index-2375023e.cjs → index-5befc414.cjs} +4 -4
  101. package/es/{index-696b6a94.cjs → index-6b99def3.cjs} +1 -1
  102. package/es/index-6ca95c8a.cjs +1 -0
  103. package/es/index-7dce9f59.cjs +1 -0
  104. package/es/{index-269b8a8c.js → index-8391a3df.js} +37 -37
  105. package/es/{index-c266c23a.js → index-8f9d0d17.js} +16 -15
  106. package/es/{index-15b9603e.js → index-95e5d454.js} +3 -3
  107. package/es/{index-b937ea22.js → index-b0117ba2.js} +2 -2
  108. package/es/{index-80a7ad32.js → index-bcd895a0.js} +17 -17
  109. package/es/{index-ec7ad93f.js → index-c2b9bbfd.js} +95 -65
  110. package/es/{index-4a3f30c5.js → index-c71e37dc.js} +11 -11
  111. package/es/{index-93a8960e.js → index-de24705f.js} +1 -1
  112. package/es/index-e8eeea22.cjs +1 -0
  113. package/es/{index-ee977f79.cjs → index-eb99b188.cjs} +1 -1
  114. package/es/{el-message-e6c755df.js → index-f30561d3.js} +33 -33
  115. package/es/{python-c67c8901.cjs → python-27ece6fa.cjs} +2 -2
  116. package/es/{python-823b276b.js → python-656db04f.js} +30 -28
  117. package/es/raf-744cf95a.js +6 -0
  118. package/es/{scroll-41b4f625.js → scroll-6799bafc.js} +5 -5
  119. package/es/style.css +1 -1
  120. package/es/{use-form-common-props-631cacae.js → use-form-common-props-cb0ca65c.js} +72 -72
  121. package/es/{use-form-common-props-344056f9.cjs → use-form-common-props-d3ed62c6.cjs} +1 -1
  122. package/es/{use-global-config-cf78ebac.cjs → use-global-config-c80f33a4.cjs} +1 -1
  123. package/es/{use-global-config-5d001623.js → use-global-config-cdaeca54.js} +14 -14
  124. package/es/{validator-3cad04b2.cjs → validator-07160325.cjs} +1 -1
  125. package/es/{validator-4160d9e7.js → validator-4ab9774f.js} +1 -1
  126. package/es/{vnode-06571d5b.js → vnode-a83e6de8.js} +1 -1
  127. package/es/{zh-cn-aabfaa94.cjs → zh-cn-6a0f844c.cjs} +1 -1
  128. package/es/{zh-cn-5df98ac2.js → zh-cn-8a6390a4.js} +2 -2
  129. package/lib/aiTools.js +36 -0
  130. package/lib/bundle.js +1 -1
  131. package/lib/bundle.umd.cjs +157 -154
  132. package/lib/{index-f00d1e1f.js → index-6ac0579e.js} +16077 -15806
  133. package/lib/{python-0f34e2e6.js → python-0432340a.js} +1 -1
  134. package/lib/style.css +1 -1
  135. package/package.json +1 -1
  136. package/packages/VarietyAiHelper/index.ts +8 -0
  137. package/packages/VarietyAiHelper/index.vue +430 -0
  138. package/packages/index.ts +2 -0
  139. package/public/aiTools.js +36 -0
  140. package/src/App.vue +24 -14
  141. package/src/pages/VarietyAiHelper/index.vue +20 -0
  142. package/src/pages/VarietySearch/index.vue +75 -51
  143. package/src/router/routes.ts +5 -0
  144. package/es/dropdown-89b74bc9.cjs +0 -1
  145. package/es/el-autocomplete-b9a3054a.cjs +0 -1
  146. package/es/el-checkbox-b982e2ef.cjs +0 -1
  147. package/es/el-dialog-ad7309e9.cjs +0 -1
  148. package/es/el-input-172c49f8.cjs +0 -1
  149. package/es/el-input-number-c2e71528.cjs +0 -1
  150. package/es/el-menu-item-7f986598.cjs +0 -1
  151. package/es/el-message-a86c0efa.cjs +0 -1
  152. package/es/el-message-box-40ff2af5.cjs +0 -1
  153. package/es/el-overlay-d7a6e4a9.cjs +0 -1
  154. package/es/el-popconfirm-737a015b.cjs +0 -1
  155. package/es/el-popper-7ba87e05.cjs +0 -1
  156. package/es/el-popper-fdc7c793.js +0 -2094
  157. package/es/el-segmented-3fd66a0e.cjs +0 -1
  158. package/es/el-select-12f6deb7.cjs +0 -1
  159. package/es/el-table-column-516a0ed9.cjs +0 -14
  160. package/es/el-tag-789f05d3.cjs +0 -1
  161. package/es/index-8de94a49.cjs +0 -1
  162. package/es/index-c04f444f.cjs +0 -1
  163. package/es/raf-8e05a7f4.js +0 -6
@@ -1,51 +1,53 @@
1
- import { b as qu, e as lt, f as Be, g as ot, E as it, u as Wu, _ as Qu, d as ze, w as It, A as Ze, h as ct, o as I0 } from "./base-ff0e366f.js";
2
- import "./el-tag-f13f463b.js";
3
- import { E as _e, a as xe } from "./el-select-23a1f302.js";
1
+ import { b as qu, c as lt, p as Be, o as ot, k as it, u as Wu, _ as Qu, e as ze, w as It, l as Ze, f as ct, i as I0 } from "./base-29f73b05.js";
2
+ import "./el-tag-17cd04a1.js";
3
+ import { E as _e, a as xe } from "./el-select-e51e11c1.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
- import { U as He, C as Ge, u as O0, d as $0, E as V0 } from "./el-popper-fdc7c793.js";
6
- import { E as Ot, a as M0 } from "./el-checkbox-058dba2d.js";
5
+ import { E as O0 } from "./el-popper-c9b3d3cf.js";
6
+ import { E as Ot, a as $0 } from "./el-checkbox-71ebd862.js";
7
7
  import "./el-checkbox-group-4ed993c7.js";
8
- import { ref as W, inject as Bu, computed as au, defineComponent as yu, openBlock as k, createElementBlock as $, normalizeClass as iu, unref as A, createElementVNode as D, withDirectives as Nu, isRef as $t, withModifiers as fe, vModelRadio as Vt, renderSlot as ju, createTextVNode as B, toDisplayString as tu, nextTick as Vu, normalizeStyle as Mt, onMounted as Je, provide as Rt, reactive as qt, toRefs as R0, watch as ku, Fragment as U, renderList as Y, createBlock as j, mergeProps as Le, createCommentVNode as H, toRef as q0, createVNode as _, normalizeProps as B0, mergeModels as Su, useModel as zu, withCtx as x, resolveComponent as ie, vShow as Pe, pushScopeId as ge, popScopeId as ve, createSlots as Se } from "vue";
9
- import { E as z0 } from "./el-empty-ceecb81c.js";
10
- import { E as Yu } from "./el-dialog-d328e0d8.js";
11
- import "./el-overlay-981f8d49.js";
12
- import { E as Bt, a as zt } from "./el-form-item-cb328886.js";
13
- import { E as We } from "./el-input-0f6ead19.js";
14
- import { E as Lt } from "./el-input-number-66e68609.js";
8
+ import { ref as W, inject as Bu, computed as au, defineComponent as yu, openBlock as k, createElementBlock as $, normalizeClass as iu, unref as A, createElementVNode as D, withDirectives as Nu, isRef as $t, withModifiers as fe, vModelRadio as Vt, renderSlot as ju, createTextVNode as B, toDisplayString as tu, nextTick as Vu, normalizeStyle as Mt, onMounted as He, provide as Rt, reactive as qt, toRefs as V0, watch as ku, Fragment as U, renderList as Y, createBlock as j, mergeProps as Le, createCommentVNode as H, toRef as M0, createVNode as _, normalizeProps as R0, mergeModels as Su, useModel as zu, withCtx as x, resolveComponent as ie, vShow as Pe, pushScopeId as ge, popScopeId as ve, createSlots as Se } from "vue";
9
+ import { E as q0 } from "./el-empty-f5a1607a.js";
10
+ import { E as Yu } from "./el-dialog-eedcfd3e.js";
11
+ import "./el-overlay-1ee0338d.js";
12
+ import { a as Bt, E as zt } from "./el-form-item-bdcfd297.js";
13
+ import { E as Ge } from "./el-input-d47281da.js";
14
+ import { E as Lt } from "./el-input-number-c8018cb1.js";
15
15
  import "./el-tooltip-4ed993c7.js";
16
- import { E as ke } from "./el-button-f08c0639.js";
16
+ import { E as ke } from "./el-button-e2c63c08.js";
17
17
  import "./el-popover-4ed993c7.js";
18
- import { E as L0 } from "./el-text-27cef2be.js";
19
- import { D as P0, p as Uu, i as U0, h as N0, a as de, o as j0, E as Pt, j as Z0, g as H0 } from "./index-ec7ad93f.js";
20
- import { E as G0, a as J0 } from "./el-table-column-d0c374cf.js";
21
- import { E as Ut } from "./index-e0901394.js";
22
- import { M as W0 } from "./index-c266c23a.js";
23
- import { E as Q } from "./el-message-e6c755df.js";
24
- import { E as Nt } from "./el-message-box-6db52b29.js";
18
+ import { E as B0 } from "./el-text-2710fff3.js";
19
+ import { t as z0, v as Uu, i as L0, b as P0, c as de, w as U0, E as Pt, e as N0, a as j0 } from "./index-c2b9bbfd.js";
20
+ import { E as Z0, a as H0 } from "./el-table-column-05d292a8.js";
21
+ import { E as Ut } from "./index-1d9b50de.js";
22
+ import { M as G0 } from "./index-8f9d0d17.js";
23
+ import "./el-message-4ed993c7.js";
24
+ import { E as Nt } from "./el-message-box-fea4fca8.js";
25
25
  import { _ as Ku } from "./_plugin-vue_export-helper-dad06003.js";
26
- import { E as ye } from "./index-15b9603e.js";
27
- import { E as Q0 } from "./index-80a7ad32.js";
28
- import { u as jt, a as Y0, d as K0, e as X0, f as un } from "./use-form-common-props-631cacae.js";
26
+ import { E as Q } from "./index-f30561d3.js";
27
+ import { E as ye } from "./index-95e5d454.js";
28
+ import { E as J0 } from "./index-bcd895a0.js";
29
+ import { h as jt, e as W0, g as Q0, d as Y0, f as K0 } from "./use-form-common-props-cb0ca65c.js";
30
+ import { U as Je, C as We, u as X0, d as un } from "./index-0f79095c.js";
29
31
  import { u as en } from "./index-2e331d74.js";
30
- import { u as tn } from "./index-269b8a8c.js";
31
- import { d as nn } from "./index-09bd2621.js";
32
- import "./index-93a8960e.js";
33
- import "./castArray-15070be9.js";
34
- import "./index-4a3f30c5.js";
35
- import "./scroll-41b4f625.js";
36
- import "./debounce-e9e47f9a.js";
37
- import "./vnode-06571d5b.js";
38
- import "./use-global-config-5d001623.js";
39
- import "./_initCloneObject-382335b2.js";
32
+ import { u as tn } from "./index-8391a3df.js";
33
+ import { i as nn } from "./index-0ee486ad.js";
34
+ import "./index-de24705f.js";
35
+ import "./castArray-609a313e.js";
36
+ import "./index-c71e37dc.js";
37
+ import "./scroll-6799bafc.js";
38
+ import "./debounce-a09ce9a3.js";
39
+ import "./vnode-a83e6de8.js";
40
+ import "./use-global-config-cdaeca54.js";
41
+ import "./_initCloneObject-69c8ae23.js";
40
42
  import "./typescript-7ae59c4c.js";
41
43
  import "./index-657047bb.js";
42
- import "./raf-8e05a7f4.js";
44
+ import "./raf-744cf95a.js";
43
45
  import "./index-7ed0999e.js";
44
- import "./VarietySelect-b9fe3000.js";
45
- import "./el-autocomplete-18be2c5a.js";
46
- import "./config-provider-2e85eee8.js";
47
- import "./validator-4160d9e7.js";
48
- import "./dropdown-2b35a683.js";
46
+ import "./VarietySelect-9f267958.js";
47
+ import "./el-autocomplete-27c60cc8.js";
48
+ import "./validator-4ab9774f.js";
49
+ import "./config-provider-7860903c.js";
50
+ import "./dropdown-497442b7.js";
49
51
  const Zt = qu({
50
52
  modelValue: {
51
53
  type: [String, Number, Boolean],
@@ -69,17 +71,17 @@ const Zt = qu({
69
71
  ...Zt,
70
72
  border: Boolean
71
73
  }), Ht = {
72
- [He]: (u) => lt(u) || Be(u) || ot(u),
73
- [Ge]: (u) => lt(u) || Be(u) || ot(u)
74
+ [Je]: (u) => lt(u) || Be(u) || ot(u),
75
+ [We]: (u) => lt(u) || Be(u) || ot(u)
74
76
  }, Gt = Symbol("radioGroupKey"), Jt = (u, e) => {
75
77
  const t = W(), a = Bu(Gt, void 0), r = au(() => !!a), n = au(() => it(u.value) ? u.label : u.value), l = au({
76
78
  get() {
77
79
  return r.value ? a.modelValue : u.modelValue;
78
80
  },
79
81
  set(f) {
80
- r.value ? a.changeEvent(f) : e && e(He, f), t.value.checked = u.modelValue === n.value;
82
+ r.value ? a.changeEvent(f) : e && e(Je, f), t.value.checked = u.modelValue === n.value;
81
83
  }
82
- }), o = Y0(au(() => a == null ? void 0 : a.size)), i = K0(au(() => a == null ? void 0 : a.disabled)), s = W(!1), c = au(() => i.value || r.value && l.value !== n.value ? -1 : 0);
84
+ }), o = W0(au(() => a == null ? void 0 : a.size)), i = Q0(au(() => a == null ? void 0 : a.disabled)), s = W(!1), c = au(() => i.value || r.value && l.value !== n.value ? -1 : 0);
83
85
  return en({
84
86
  from: "label act as value",
85
87
  replacement: "value",
@@ -106,7 +108,7 @@ const Zt = qu({
106
108
  setup(u, { emit: e }) {
107
109
  const t = u, a = Wu("radio"), { radioRef: r, radioGroup: n, focus: l, size: o, disabled: i, modelValue: s, actualValue: c } = Jt(t, e);
108
110
  function f() {
109
- Vu(() => e(Ge, s.value));
111
+ Vu(() => e(We, s.value));
110
112
  }
111
113
  return (m, d) => {
112
114
  var p;
@@ -253,7 +255,7 @@ const dn = qu({
253
255
  type: ze(Object),
254
256
  default: () => Yt
255
257
  },
256
- ...O0(["ariaLabel"])
258
+ ...X0(["ariaLabel"])
257
259
  }), fn = Ht, Yt = {
258
260
  label: "label",
259
261
  value: "value",
@@ -265,12 +267,12 @@ const dn = qu({
265
267
  props: dn,
266
268
  emits: fn,
267
269
  setup(u, { emit: e }) {
268
- const t = u, a = Wu("radio"), r = tn(), n = W(), { formItem: l } = X0(), { inputId: o, isLabeledByFormItem: i } = un(t, {
270
+ const t = u, a = Wu("radio"), r = tn(), n = W(), { formItem: l } = Y0(), { inputId: o, isLabeledByFormItem: i } = K0(t, {
269
271
  formItemContext: l
270
272
  }), s = (d) => {
271
- e(He, d), Vu(() => e(Ge, d));
273
+ e(Je, d), Vu(() => e(We, d));
272
274
  };
273
- Je(() => {
275
+ He(() => {
274
276
  const d = n.value.querySelectorAll("[type=radio]"), p = d[0];
275
277
  !Array.from(d).some((T) => T.checked) && p && (p.tabIndex = 0);
276
278
  });
@@ -286,11 +288,11 @@ const dn = qu({
286
288
  return { ...d, ...p };
287
289
  };
288
290
  return Rt(Gt, qt({
289
- ...R0(t),
291
+ ...V0(t),
290
292
  changeEvent: s,
291
293
  name: c
292
294
  })), ku(() => t.modelValue, (d, p) => {
293
- t.validateEvent && !nn(d, p) && (l == null || l.validate("change").catch((T) => $0()));
295
+ t.validateEvent && !nn(d, p) && (l == null || l.validate("change").catch((T) => un()));
294
296
  }), (d, p) => (k(), $("div", {
295
297
  id: A(o),
296
298
  ref_key: "radioGroupRef",
@@ -353,7 +355,7 @@ const Ce = It(Wt, {
353
355
  return (t, a) => (k(), $("div", {
354
356
  class: iu([A(e).e("item"), A(e).e(t.variant)])
355
357
  }, [
356
- t.variant === "image" ? (k(), j(A(P0), { key: 0 })) : H("v-if", !0)
358
+ t.variant === "image" ? (k(), j(A(z0), { key: 0 })) : H("v-if", !0)
357
359
  ], 2));
358
360
  }
359
361
  });
@@ -374,7 +376,7 @@ const gn = (u, e = 0) => {
374
376
  }, l = (o) => {
375
377
  o === "leading" ? Be(e) ? n(e) : n(e.leading) : ct(e) ? n(e.trailing) : a.value = !1;
376
378
  };
377
- return Je(() => l("leading")), ku(() => u.value, (o) => {
379
+ return He(() => l("leading")), ku(() => u.value, (o) => {
378
380
  l(o ? "leading" : "trailing");
379
381
  }), a;
380
382
  }, vn = yu({
@@ -383,7 +385,7 @@ const gn = (u, e = 0) => {
383
385
  ...vn,
384
386
  props: hn,
385
387
  setup(u, { expose: e }) {
386
- const t = u, a = Wu("skeleton"), r = gn(q0(t, "loading"), t.throttle);
388
+ const t = u, a = Wu("skeleton"), r = gn(M0(t, "loading"), t.throttle);
387
389
  return e({
388
390
  uiLoading: r
389
391
  }), (n, l) => A(r) ? (k(), $("div", Le({
@@ -406,7 +408,7 @@ const gn = (u, e = 0) => {
406
408
  }, null, 8, ["class"]))), 128))
407
409
  ]) : H("v-if", !0)
408
410
  ], 64))), 128))
409
- ], 16)) : ju(n.$slots, "default", B0(Le({ key: 1 }, n.$attrs)));
411
+ ], 16)) : ju(n.$slots, "default", R0(Le({ key: 1 }, n.$attrs)));
410
412
  }
411
413
  });
412
414
  var yn = /* @__PURE__ */ Qu(kn, [["__file", "skeleton.vue"]]);
@@ -4202,11 +4204,11 @@ const fl = ["innerHTML"], pl = {
4202
4204
  emits: ["update:visible"],
4203
4205
  setup(u) {
4204
4206
  const { request: e } = Bu("stConfig"), t = new mu(), a = W(""), r = zu(u, "visible");
4205
- return Je(async () => {
4207
+ return He(async () => {
4206
4208
  const { data: n } = await e.post("/middleLayer/special/getOss", { url: "resource/factor_select.md" }), l = new Uint8Array(n.data), i = new TextDecoder("utf-8").decode(l);
4207
4209
  a.value = t.render(i);
4208
4210
  }), (n, l) => {
4209
- const o = G0, i = J0, s = Ut, c = Yu;
4211
+ const o = Z0, i = H0, s = Ut, c = Yu;
4210
4212
  return k(), j(c, {
4211
4213
  modelValue: r.value,
4212
4214
  "onUpdate:modelValue": l[0] || (l[0] = (f) => r.value = f),
@@ -4553,7 +4555,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
4553
4555
  { deep: !0 }
4554
4556
  ), (L, w) => {
4555
4557
  var rt;
4556
- const G = L0, Z = ye, K = Q0, z = ke, J = Pt, nu = V0, Du = Qe, hu = Xu, xu = ie("st-customFunction"), fu = _e, pu = xe, cu = Bt, ae = Lt, re = Ce, le = We, D0 = zt, oe = Ut, Te = Yu, F0 = ie("st-varietyAutoComplete"), A0 = ie("v-md-editor"), w0 = Cn, T0 = z0, S0 = ie("st-varSelectDialog");
4558
+ const G = B0, Z = ye, K = J0, z = ke, J = Pt, nu = O0, Du = Qe, hu = Xu, xu = ie("st-customFunction"), fu = _e, pu = xe, cu = Bt, ae = Lt, re = Ce, le = Ge, D0 = zt, oe = Ut, Te = Yu, F0 = ie("st-varietyAutoComplete"), A0 = ie("v-md-editor"), w0 = Cn, T0 = q0, S0 = ie("st-varSelectDialog");
4557
4559
  return k(), $(U, null, [
4558
4560
  D("div", bl, [
4559
4561
  D("div", null, [
@@ -4654,7 +4656,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
4654
4656
  onClick: w[2] || (w[2] = (R) => s.value = !0)
4655
4657
  }, {
4656
4658
  default: x(() => [
4657
- _(A(U0))
4659
+ _(A(L0))
4658
4660
  ]),
4659
4661
  _: 1
4660
4662
  })
@@ -4710,7 +4712,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
4710
4712
  }, 8, ["loading"]),
4711
4713
  _(z, {
4712
4714
  size: "small",
4713
- icon: A(N0),
4715
+ icon: A(P0),
4714
4716
  onClick: w[6] || (w[6] = (R) => uu("log"))
4715
4717
  }, {
4716
4718
  default: x(() => [
@@ -4984,7 +4986,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
4984
4986
  onClick: (R) => h(ou)
4985
4987
  }, {
4986
4988
  default: x(() => [
4987
- _(A(j0))
4989
+ _(A(U0))
4988
4990
  ]),
4989
4991
  _: 2
4990
4992
  }, 1032, ["onClick"])
@@ -5069,7 +5071,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
5069
5071
  D("div", {
5070
5072
  style: Mt([{ width: "968px", height: "400px" }, c.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1, visibility: "hidden", pointerEvents: "none" }])
5071
5073
  }, [
5072
- _(W0, {
5074
+ _(G0, {
5073
5075
  ref_key: "monacoEditorRef",
5074
5076
  ref: l,
5075
5077
  language: "lua",
@@ -5546,7 +5548,7 @@ const we = (u) => (ge("data-v-6a791396"), u = u(), ve(), u), Ll = {
5546
5548
  c.value.radio = null, c.value.rankRange = [null, null];
5547
5549
  };
5548
5550
  return (y, b) => {
5549
- const O = ye, C = Qe, h = Xu, v = We, F = ke, V = _e, S = xe, P = Ce, N = Lt, su = Yu;
5551
+ const O = ye, C = Qe, h = Xu, v = Ge, F = ke, V = _e, S = xe, P = Ce, N = Lt, su = Yu;
5550
5552
  return u.config.show && i.value.length ? (k(), $("div", Ll, [
5551
5553
  D("div", Pl, [
5552
5554
  D("div", Ul, [
@@ -6320,7 +6322,7 @@ const Oo = { class: "tag-list" }, $o = { class: "tab-list-item" }, Vo = { style:
6320
6322
  };
6321
6323
  }, {});
6322
6324
  })(), (h, v) => {
6323
- const F = ye, V = ke, S = Qe, P = Xu, N = We, su = Ot, E = Yu;
6325
+ const F = ye, V = ke, S = Qe, P = Xu, N = Ge, su = Ot, E = Yu;
6324
6326
  return k(), $(U, null, [
6325
6327
  D("div", null, [
6326
6328
  (k(!0), $(U, null, Y(d.value, (g, uu) => (k(), j(F, {
@@ -6417,13 +6419,13 @@ const Oo = { class: "tag-list" }, $o = { class: "tab-list-item" }, Vo = { style:
6417
6419
  n.value === "person" ? (k(), j(V, {
6418
6420
  key: 0,
6419
6421
  size: "small",
6420
- icon: A(Z0),
6422
+ icon: A(N0),
6421
6423
  onClick: (uu) => y(g)
6422
6424
  }, null, 8, ["icon", "onClick"])) : H("", !0),
6423
6425
  n.value === "person" ? (k(), j(V, {
6424
6426
  key: 1,
6425
6427
  size: "small",
6426
- icon: A(H0),
6428
+ icon: A(j0),
6427
6429
  onClick: (uu) => M(g)
6428
6430
  }, null, 8, ["icon", "onClick"])) : H("", !0)
6429
6431
  ])
@@ -6811,7 +6813,7 @@ const Pu = (u) => (ge("data-v-22fde7d8"), u = u(), ve(), u), Po = { class: "vari
6811
6813
  }
6812
6814
  }), (m, d) => {
6813
6815
  var O, C, h, v, F, V;
6814
- const p = Ce, T = Xu, I = Ot, M = M0, y = _e, b = xe;
6816
+ const p = Ce, T = Xu, I = Ot, M = $0, y = _e, b = xe;
6815
6817
  return k(), $("div", Po, [
6816
6818
  (O = l.value.varietyMarket) != null && O.show ? (k(), $("div", Uo, [
6817
6819
  D("div", No, [
@@ -6973,11 +6975,11 @@ const Pu = (u) => (ge("data-v-22fde7d8"), u = u(), ve(), u), Po = { class: "vari
6973
6975
  ]);
6974
6976
  };
6975
6977
  }
6976
- }, oi = /* @__PURE__ */ Ku(li, [["__scopeId", "data-v-22fde7d8"]]), tc = {
6978
+ }, oi = /* @__PURE__ */ Ku(li, [["__scopeId", "data-v-22fde7d8"]]), ac = {
6977
6979
  install(u) {
6978
6980
  u.component("st-varietySearch", oi);
6979
6981
  }
6980
6982
  };
6981
6983
  export {
6982
- tc as default
6984
+ ac as default
6983
6985
  };
@@ -1 +1 @@
1
- "use strict";require("./base-ef747d02.cjs");const y=require("./el-autocomplete-b9a3054a.cjs");require("./el-input-172c49f8.cjs");require("./el-scrollbar-bc3f790d.cjs");require("./el-popper-7ba87e05.cjs");const e=require("vue"),f=require("./index-8901a38c.cjs"),S=require("./_plugin-vue_export-helper-f246444f.cjs");const V={class:"variety-auto-complete"},b={key:0},q={class:"label"},x={__name:"VarietySelect",props:{size:{type:String,default:"default"},placeholder:{type:String,default:"请输入品种名称或代码"},labelShowEnable:{type:Boolean,default:!0},selectClearEnable:{type:Boolean,default:!0}},emits:["select","change"],setup(s,{emit:u}){const d=e.inject("stConfig"),r=u,n=s,c=e.ref(""),p=async(t,l)=>{if(t===""||t==="null")l([]);else{const a={keyWord:t,pageNum:1,pageSize:999,userId:f.V("id"),hotSearchFlag:1},{body:o}=await d.request.post("/common/qt/getFeatureInfosByPage",a),g=o.list.map(({code:i,featureName:h})=>({label:`${i}   ${h}`,value:i}));l(g)}},_=({label:t,value:l})=>{const a=t.split(" ").at(-1);r("select",{name:a,code:l}),n.selectClearEnable&&(c.value="")},m=t=>{r("change",t)};return(t,l)=>{const a=y.ElAutocomplete;return e.openBlock(),e.createElementBlock("div",V,[s.labelShowEnable?(e.openBlock(),e.createElementBlock("span",b,"品种搜索:")):e.createCommentVNode("",!0),e.createVNode(a,{modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=o=>c.value=o),clearable:"",size:n.size,placeholder:n.placeholder,"fetch-suggestions":p,onSelect:_,onChange:m},{default:e.withCtx(({item:o})=>[e.createElementVNode("div",q,e.toDisplayString(o.label),1)]),_:1},8,["modelValue","size","placeholder"])])}}},v=S._export_sfc(x,[["__scopeId","data-v-d433c4b8"]]);exports.VarietySelect=v;
1
+ "use strict";require("./base-ef747d02.cjs");const y=require("./el-autocomplete-b59eb529.cjs");require("./el-input-fa18ef84.cjs");require("./el-scrollbar-bc3f790d.cjs");require("./el-popper-2d3914e4.cjs");const e=require("vue"),f=require("./index-8901a38c.cjs"),S=require("./_plugin-vue_export-helper-f246444f.cjs");const V={class:"variety-auto-complete"},b={key:0},q={class:"label"},x={__name:"VarietySelect",props:{size:{type:String,default:"default"},placeholder:{type:String,default:"请输入品种名称或代码"},labelShowEnable:{type:Boolean,default:!0},selectClearEnable:{type:Boolean,default:!0}},emits:["select","change"],setup(s,{emit:u}){const d=e.inject("stConfig"),r=u,n=s,c=e.ref(""),p=async(t,l)=>{if(t===""||t==="null")l([]);else{const a={keyWord:t,pageNum:1,pageSize:999,userId:f.V("id"),hotSearchFlag:1},{body:o}=await d.request.post("/common/qt/getFeatureInfosByPage",a),g=o.list.map(({code:i,featureName:h})=>({label:`${i}   ${h}`,value:i}));l(g)}},_=({label:t,value:l})=>{const a=t.split(" ").at(-1);r("select",{name:a,code:l}),n.selectClearEnable&&(c.value="")},m=t=>{r("change",t)};return(t,l)=>{const a=y.ElAutocomplete;return e.openBlock(),e.createElementBlock("div",V,[s.labelShowEnable?(e.openBlock(),e.createElementBlock("span",b,"品种搜索:")):e.createCommentVNode("",!0),e.createVNode(a,{modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=o=>c.value=o),clearable:"",size:n.size,placeholder:n.placeholder,"fetch-suggestions":p,onSelect:_,onChange:m},{default:e.withCtx(({item:o})=>[e.createElementVNode("div",q,e.toDisplayString(o.label),1)]),_:1},8,["modelValue","size","placeholder"])])}}},v=S._export_sfc(x,[["__scopeId","data-v-d433c4b8"]]);exports.VarietySelect=v;
@@ -1,8 +1,8 @@
1
- import "./base-ff0e366f.js";
2
- import { E as y } from "./el-autocomplete-18be2c5a.js";
3
- import "./el-input-0f6ead19.js";
1
+ import "./base-29f73b05.js";
2
+ import { E as y } from "./el-autocomplete-27c60cc8.js";
3
+ import "./el-input-d47281da.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
- import "./el-popper-fdc7c793.js";
5
+ import "./el-popper-c9b3d3cf.js";
6
6
  import { inject as S, ref as b, openBlock as i, createElementBlock as p, createCommentVNode as V, createVNode as x, withCtx as v, createElementVNode as C, toDisplayString as E } from "vue";
7
7
  import { V as z } from "./index-7ed0999e.js";
8
8
  import { _ as B } from "./_plugin-vue_export-helper-dad06003.js";
@@ -1,4 +1,4 @@
1
- "use strict";require("./base-ef747d02.cjs");const v=require("./el-input-172c49f8.cjs");require("./el-tooltip-0ea8fbf8.cjs");const q=require("./el-popper-7ba87e05.cjs"),e=require("vue"),i=require("./index-cebc7160.cjs"),V=require("./_plugin-vue_export-helper-f246444f.cjs"),f=require("./el-message-a86c0efa.cjs");require("./use-form-common-props-344056f9.cjs");require("./index-9780a537.cjs");require("./typescript-b63f8e83.cjs");require("./index-c04f444f.cjs");require("./use-global-config-cf78ebac.cjs");require("./index-bb833443.cjs");require("./index-4f48940d.cjs");require("./config-provider-2182708a.cjs");const c=r=>(e.pushScopeId("data-v-445e2903"),r=r(),e.popScopeId(),r),h={class:"variety-text-copy"},y={class:"stats-container"},N={class:"stat-item"},g=c(()=>e.createElementVNode("span",{class:"label"},"品种数量统计:",-1)),E={class:"value"},C=c(()=>e.createElementVNode("br",null,null,-1)),I=c(()=>e.createElementVNode("br",null,null,-1)),w={__name:"index",props:{required:{type:Boolean,default:!0}},setup(r,{expose:u}){const d=e.inject("stConfig"),p=r,o=e.ref(""),_=e.computed(()=>l(o.value).length),l=n=>n?n.split(`
1
+ "use strict";require("./base-ef747d02.cjs");const v=require("./el-input-fa18ef84.cjs");require("./el-tooltip-0ea8fbf8.cjs");const q=require("./el-popper-2d3914e4.cjs"),e=require("vue"),i=require("./index-33f80550.cjs");require("./el-message-0ea8fbf8.cjs");const V=require("./_plugin-vue_export-helper-f246444f.cjs"),f=require("./index-6ca95c8a.cjs");require("./use-form-common-props-d3ed62c6.cjs");require("./index-9780a537.cjs");require("./typescript-b63f8e83.cjs");require("./index-28e03bad.cjs");require("./index-7dce9f59.cjs");require("./use-global-config-c80f33a4.cjs");require("./index-bb833443.cjs");require("./index-37b8d3c6.cjs");require("./config-provider-2ae47cc8.cjs");const c=r=>(e.pushScopeId("data-v-445e2903"),r=r(),e.popScopeId(),r),h={class:"variety-text-copy"},y={class:"stats-container"},N={class:"stat-item"},g=c(()=>e.createElementVNode("span",{class:"label"},"品种数量统计:",-1)),E={class:"value"},C=c(()=>e.createElementVNode("br",null,null,-1)),I=c(()=>e.createElementVNode("br",null,null,-1)),w={__name:"index",props:{required:{type:Boolean,default:!0}},setup(r,{expose:u}){const d=e.inject("stConfig"),p=r,o=e.ref(""),_=e.computed(()=>l(o.value).length),l=n=>n?n.split(`
2
2
  `).reduce((s,a)=>{const t=a.trim().replace(/\s+/gi," ").split(" ")[0];return t&&s.push(t),s},[]):[];return u({validate:n=>new Promise(async(s,a)=>{try{if(p.required&&(!o.value||o.value.trim()===""))return f.ElMessage.error("品种内容不可为空"),n(!1);const{body:t}=await d.request.post("/invest/analysis/strategy/verifyCodes",{codes:l(o.value)});return n(!0,t)}catch(t){return a(t)}})}),(n,s)=>{const a=i.ElIcon,t=q.ElTooltip,x=v.ElInput;return e.openBlock(),e.createElementBlock("div",h,[e.createElementVNode("div",y,[e.createElementVNode("div",N,[g,e.createElementVNode("span",E,e.toDisplayString(_.value),1),e.createVNode(t,{class:"box-item",effect:"dark",placement:"right"},{content:e.withCtx(()=>[e.createTextVNode(" 仅统计符合输入格式的数量, 输入格式示例(代码和名称需空格隔开, 名称可不写):"),C,e.createTextVNode("hc8888 热轧卷板期货指数 "),I,e.createTextVNode("sp8888 纸浆期货指数")]),default:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(i.info_filled_default))]),_:1})]),_:1})])]),e.createVNode(x,{class:"textarea",modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=m=>o.value=m),resize:"none",type:"textarea",placeholder:`文本格式要求示例:
3
3
  hc8888  热轧卷板期货指数
4
4
  sp8888  纸浆期货指数
@@ -1,40 +1,42 @@
1
- import "./base-ff0e366f.js";
2
- import { E as y } from "./el-input-0f6ead19.js";
1
+ import "./base-29f73b05.js";
2
+ import { E as y } from "./el-input-d47281da.js";
3
3
  import "./el-tooltip-4ed993c7.js";
4
- import { E as h } from "./el-popper-fdc7c793.js";
4
+ import { E as h } from "./el-popper-c9b3d3cf.js";
5
5
  import { inject as g, ref as E, computed as C, openBlock as V, createElementBlock as I, createElementVNode as n, toDisplayString as S, createVNode as i, withCtx as l, createTextVNode as c, unref as b, pushScopeId as w, popScopeId as T } from "vue";
6
- import { i as q, E as B } from "./index-ec7ad93f.js";
6
+ import { i as q, E as B } from "./index-c2b9bbfd.js";
7
+ import "./el-message-4ed993c7.js";
7
8
  import { _ as N } from "./_plugin-vue_export-helper-dad06003.js";
8
- import { E as k } from "./el-message-e6c755df.js";
9
- import "./use-form-common-props-631cacae.js";
10
- import "./index-269b8a8c.js";
9
+ import { E as k } from "./index-f30561d3.js";
10
+ import "./use-form-common-props-cb0ca65c.js";
11
+ import "./index-8391a3df.js";
11
12
  import "./typescript-7ae59c4c.js";
12
- import "./index-4a3f30c5.js";
13
- import "./use-global-config-5d001623.js";
14
- import "./index-93a8960e.js";
15
- import "./index-09bd2621.js";
16
- import "./config-provider-2e85eee8.js";
13
+ import "./index-0f79095c.js";
14
+ import "./index-c71e37dc.js";
15
+ import "./use-global-config-cdaeca54.js";
16
+ import "./index-de24705f.js";
17
+ import "./index-0ee486ad.js";
18
+ import "./config-provider-7860903c.js";
17
19
  const p = (t) => (w("data-v-445e2903"), t = t(), T(), t), j = { class: "variety-text-copy" }, z = { class: "stats-container" }, D = { class: "stat-item" }, F = /* @__PURE__ */ p(() => /* @__PURE__ */ n("span", { class: "label" }, "品种数量统计:", -1)), M = { class: "value" }, P = /* @__PURE__ */ p(() => /* @__PURE__ */ n("br", null, null, -1)), U = /* @__PURE__ */ p(() => /* @__PURE__ */ n("br", null, null, -1)), A = {
18
20
  __name: "index",
19
21
  props: {
20
22
  required: { type: Boolean, default: !0 }
21
23
  },
22
24
  setup(t, { expose: d }) {
23
- const _ = g("stConfig"), m = t, o = E(""), f = C(() => u(o.value).length), u = (s) => s ? s.split(`
24
- `).reduce((r, a) => {
25
+ const _ = g("stConfig"), m = t, o = E(""), f = C(() => u(o.value).length), u = (r) => r ? r.split(`
26
+ `).reduce((s, a) => {
25
27
  const e = a.trim().replace(/\s+/gi, " ").split(" ")[0];
26
- return e && r.push(e), r;
28
+ return e && s.push(e), s;
27
29
  }, []) : [];
28
- return d({ validate: (s) => new Promise(async (r, a) => {
30
+ return d({ validate: (r) => new Promise(async (s, a) => {
29
31
  try {
30
32
  if (m.required && (!o.value || o.value.trim() === ""))
31
- return k.error("品种内容不可为空"), s(!1);
33
+ return k.error("品种内容不可为空"), r(!1);
32
34
  const { body: e } = await _.request.post("/invest/analysis/strategy/verifyCodes", { codes: u(o.value) });
33
- return s(!0, e);
35
+ return r(!0, e);
34
36
  } catch (e) {
35
37
  return a(e);
36
38
  }
37
- }) }), (s, r) => {
39
+ }) }), (r, s) => {
38
40
  const a = B, e = h, x = y;
39
41
  return V(), I("div", j, [
40
42
  n("div", z, [
@@ -68,7 +70,7 @@ const p = (t) => (w("data-v-445e2903"), t = t(), T(), t), j = { class: "variety-
68
70
  i(x, {
69
71
  class: "textarea",
70
72
  modelValue: o.value,
71
- "onUpdate:modelValue": r[0] || (r[0] = (v) => o.value = v),
73
+ "onUpdate:modelValue": s[0] || (s[0] = (v) => o.value = v),
72
74
  resize: "none",
73
75
  type: "textarea",
74
76
  placeholder: `文本格式要求示例:
@@ -79,11 +81,11 @@ bu8888  石油沥青期货指数`
79
81
  ]);
80
82
  };
81
83
  }
82
- }, G = /* @__PURE__ */ N(A, [["__scopeId", "data-v-445e2903"]]), ne = {
84
+ }, G = /* @__PURE__ */ N(A, [["__scopeId", "data-v-445e2903"]]), ie = {
83
85
  install(t) {
84
86
  t.component("st-varietyTextCopy", G);
85
87
  }
86
88
  };
87
89
  export {
88
- ne as default
90
+ ie as default
89
91
  };