st-comp 0.0.208 → 0.0.209

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 (164) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +74 -1
  3. package/es/CustomFunction.cjs +1 -1
  4. package/es/CustomFunction.js +56 -53
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +48 -45
  7. package/es/HeatMap.cjs +1 -1
  8. package/es/HeatMap.js +118 -1
  9. package/es/Kline.cjs +1 -1
  10. package/es/Kline.js +90 -87
  11. package/es/KlineBasic.cjs +1 -1
  12. package/es/KlineBasic.js +28 -25
  13. package/es/KlineConfig.cjs +1 -1
  14. package/es/KlineConfig.js +164 -161
  15. package/es/KlineNew.cjs +1 -1
  16. package/es/KlineNew.js +114 -111
  17. package/es/KlinePlus.cjs +2 -2
  18. package/es/KlinePlus.js +183 -180
  19. package/es/Pagination.cjs +1 -1
  20. package/es/Pagination.js +143 -140
  21. package/es/PasswordPrompt.cjs +1 -1
  22. package/es/PasswordPrompt.js +3 -2
  23. package/es/Table.cjs +1 -1
  24. package/es/Table.js +58 -55
  25. package/es/User.cjs +1 -1
  26. package/es/User.js +88 -85
  27. package/es/VarSelectDialog.cjs +2 -2
  28. package/es/VarSelectDialog.js +56 -53
  29. package/es/VarietyAutoComplete.cjs +1 -1
  30. package/es/VarietyAutoComplete.js +17 -15
  31. package/es/VarietySearch.cjs +10 -10
  32. package/es/VarietySearch.js +56 -53
  33. package/es/VarietyTextCopy.cjs +3 -3
  34. package/es/VarietyTextCopy.js +34 -31
  35. package/es/VirtualTable.cjs +1 -1
  36. package/es/VirtualTable.js +106 -103
  37. package/es/_initCloneObject-52b6a510.cjs +1 -0
  38. package/es/{_initCloneObject-c477c74d.js → _initCloneObject-eaef9418.js} +26 -25
  39. package/es/base-a5af3db3.js +288 -0
  40. package/es/base-ef747d02.cjs +5 -0
  41. package/es/castArray-35947698.cjs +1 -0
  42. package/es/{castArray-1eb17278.js → castArray-7741a212.js} +1 -1
  43. package/es/{config-provider-18c0a68a.cjs → config-provider-a584d81e.cjs} +1 -1
  44. package/es/{config-provider-49c17381.js → config-provider-b16efd62.js} +6 -6
  45. package/es/debounce-62f5b6e8.cjs +1 -0
  46. package/es/{debounce-33406a0d.js → debounce-8d53f4dd.js} +9 -9
  47. package/es/{dropdown-3f1fe325.cjs → dropdown-071c5d7e.cjs} +1 -1
  48. package/es/{dropdown-6e7b1df0.js → dropdown-a59bba73.js} +15 -15
  49. package/es/el-autocomplete-a07e9439.cjs +1 -0
  50. package/es/{el-autocomplete-87b7f461.js → el-autocomplete-ba808eb6.js} +53 -51
  51. package/es/{el-button-56624e61.js → el-button-c95adb85.js} +46 -45
  52. package/es/el-button-eec58cff.cjs +1 -0
  53. package/es/{el-checkbox-f13560e9.js → el-checkbox-7421ccd3.js} +40 -40
  54. package/es/{el-checkbox-09f3b57f.cjs → el-checkbox-c25236a6.cjs} +1 -1
  55. package/es/{el-dialog-1d5f5877.js → el-dialog-41ab8417.js} +10 -9
  56. package/es/el-dialog-ae86edb8.cjs +1 -0
  57. package/es/{el-divider-8a4c87e3.cjs → el-divider-4713d74c.cjs} +1 -1
  58. package/es/{el-divider-1cda1783.js → el-divider-4e059794.js} +1 -1
  59. package/es/el-empty-1697ded8.cjs +1 -0
  60. package/es/{el-empty-04682b5d.js → el-empty-33cb66f1.js} +3 -3
  61. package/es/el-form-item-c3fe189b.cjs +12 -0
  62. package/es/{el-form-item-505c0b70.js → el-form-item-c53c374d.js} +76 -75
  63. package/es/{el-input-262851e8.js → el-input-2f75c4ba.js} +85 -84
  64. package/es/el-input-7fd293af.cjs +1 -0
  65. package/es/el-input-number-22e21d16.cjs +1 -0
  66. package/es/{el-input-number-fdac2b86.js → el-input-number-5193fe6d.js} +83 -82
  67. package/es/{el-loading-3cf7b796.cjs → el-loading-cfd86c15.cjs} +1 -1
  68. package/es/{el-loading-7440dc64.js → el-loading-f6022062.js} +2 -2
  69. package/es/el-menu-item-17dc717e.cjs +1 -0
  70. package/es/{el-menu-item-36c3004c.js → el-menu-item-7e881203.js} +54 -53
  71. package/es/el-message-5e6a6be9.cjs +1 -0
  72. package/es/{el-message-box-8f5e34ca.js → el-message-box-a93d2f6a.js} +22 -20
  73. package/es/el-message-box-c10adb52.cjs +1 -0
  74. package/es/{el-message-416bd265.js → el-message-e544a8f5.js} +29 -28
  75. package/es/{el-overlay-04426e36.js → el-overlay-09ad71cd.js} +53 -52
  76. package/es/el-overlay-9e34965f.cjs +1 -0
  77. package/es/el-popconfirm-70a976bf.cjs +1 -0
  78. package/es/{el-popconfirm-3790cda2.js → el-popconfirm-81dcd202.js} +39 -38
  79. package/es/{el-popper-49152708.js → el-popper-b4f97157.js} +192 -191
  80. package/es/el-popper-b6c99b28.cjs +1 -0
  81. package/es/{el-segmented-05509f9d.js → el-segmented-b868d074.js} +13 -12
  82. package/es/el-segmented-f8fce9ac.cjs +1 -0
  83. package/es/{el-select-700f3686.js → el-select-95627997.js} +295 -292
  84. package/es/el-select-d8d91db1.cjs +1 -0
  85. package/es/{el-table-column-44360700.js → el-table-column-376cd907.js} +57 -54
  86. package/es/el-table-column-c974cb96.cjs +14 -0
  87. package/es/{el-tag-55a172c9.js → el-tag-66cab138.js} +31 -30
  88. package/es/el-tag-a33c4b22.cjs +1 -0
  89. package/es/{el-text-ab6bfc40.js → el-text-ac60d0f2.js} +4 -4
  90. package/es/{el-text-5bcaffb6.cjs → el-text-c20a9f48.cjs} +1 -1
  91. package/es/index-098c2447.cjs +1 -0
  92. package/es/{index-d8294b1a.cjs → index-11547a0c.cjs} +1 -1
  93. package/es/{index-0afedcbd.js → index-1f7d4f70.js} +12 -11
  94. package/es/{index-ae6c9d97.cjs → index-298075cf.cjs} +1 -1
  95. package/es/{index-4e46f96c.js → index-57672682.js} +13 -12
  96. package/es/{index-66ad0d6a.js → index-844bdd85.js} +34 -34
  97. package/es/{index-29418a8d.js → index-88546436.js} +18 -18
  98. package/es/index-960806da.js +314 -0
  99. package/es/index-9780a537.cjs +1 -0
  100. package/es/index-9b9ef5dd.cjs +1 -0
  101. package/es/{base-aa512893.js → index-a871c3eb.js} +171 -454
  102. package/es/index-bb833443.cjs +1 -0
  103. package/es/index-c108567d.cjs +1 -0
  104. package/es/index-d77a7336.js +204 -0
  105. package/es/{index-cbbd78b4.js → index-d91dc23f.js} +12 -12
  106. package/es/index-e5566b94.js +368 -0
  107. package/es/index-f3562b52.cjs +1 -0
  108. package/es/{index-882d77d3.cjs → index-f967d6c1.cjs} +1 -1
  109. package/es/raf-80ef0c0a.js +6 -0
  110. package/es/{raf-336ef01e.cjs → raf-8249652f.cjs} +1 -1
  111. package/es/{scroll-0a48995c.js → scroll-679bd6bf.js} +5 -5
  112. package/es/{scroll-19533c53.cjs → scroll-b108dabd.cjs} +1 -1
  113. package/es/style.css +1 -1
  114. package/es/use-form-common-props-815d48a6.js +364 -0
  115. package/es/use-form-common-props-fd9b61a0.cjs +1 -0
  116. package/es/use-global-config-30d7d8ce.cjs +1 -0
  117. package/es/use-global-config-b5e9d3d5.js +72 -0
  118. package/es/{validator-28b22907.cjs → validator-1b8a6128.cjs} +1 -1
  119. package/es/{validator-e35f7978.js → validator-764a9db0.js} +1 -1
  120. package/es/{vnode-b62d0045.js → vnode-5ddb7ed1.js} +1 -1
  121. package/es/{vnode-8cb31692.cjs → vnode-b906ae6d.cjs} +1 -1
  122. package/es/{zh-cn-7c8640bb.cjs → zh-cn-90317f62.cjs} +1 -1
  123. package/es/{zh-cn-346f3a73.js → zh-cn-e963c628.js} +2 -2
  124. package/lib/bundle.js +1 -1
  125. package/lib/bundle.umd.cjs +105 -105
  126. package/lib/{index-da0f2951.js → index-e158c3d6.js} +1529 -1529
  127. package/lib/{python-c0a1e4ef.js → python-57033756.js} +1 -1
  128. package/lib/style.css +1 -1
  129. package/package.json +1 -1
  130. package/packages/Kline/componentsNew/KlineTips/index.vue +4 -4
  131. package/packages/Kline/index.vue +4 -4
  132. package/packages/KlineNew/components/KlineTips/index.vue +8 -8
  133. package/packages/KlinePlus/index.vue +4 -4
  134. package/src/pages/KlineBasic/api.js +1 -1
  135. package/es/_initCloneObject-e660897e.cjs +0 -1
  136. package/es/base-7ba08794.cjs +0 -5
  137. package/es/castArray-efa457a5.cjs +0 -1
  138. package/es/debounce-4aa22feb.cjs +0 -1
  139. package/es/el-autocomplete-609ac86d.cjs +0 -1
  140. package/es/el-button-08310c06.cjs +0 -1
  141. package/es/el-dialog-ea480083.cjs +0 -1
  142. package/es/el-empty-b40fa7ea.cjs +0 -1
  143. package/es/el-form-item-338ea2f7.cjs +0 -12
  144. package/es/el-input-b04b5bfc.cjs +0 -1
  145. package/es/el-input-number-7242c8b5.cjs +0 -1
  146. package/es/el-menu-item-7aca344e.cjs +0 -1
  147. package/es/el-message-05cd85bf.cjs +0 -1
  148. package/es/el-message-box-b7e9917e.cjs +0 -1
  149. package/es/el-overlay-60bc5a02.cjs +0 -1
  150. package/es/el-popconfirm-24b622c5.cjs +0 -1
  151. package/es/el-popper-1dd8f5b4.cjs +0 -1
  152. package/es/el-segmented-a928d89b.cjs +0 -1
  153. package/es/el-select-5fd77a96.cjs +0 -1
  154. package/es/el-table-column-bf3ab2a6.cjs +0 -14
  155. package/es/el-tag-d59f3463.cjs +0 -1
  156. package/es/index-3d0bc5da.js +0 -566
  157. package/es/index-a206f6eb.cjs +0 -1
  158. package/es/index-b4700d83.cjs +0 -1
  159. package/es/index-c30cf7f9.cjs +0 -1
  160. package/es/raf-d8c44079.js +0 -6
  161. package/es/use-form-common-props-41182853.cjs +0 -1
  162. package/es/use-form-common-props-4cdda474.js +0 -671
  163. package/es/use-global-config-7bfbe48c.js +0 -71
  164. package/es/use-global-config-dc5527e8.cjs +0 -1
@@ -1,45 +1,48 @@
1
- import { b as Nu, m as Ve, n as $e, o as Re, X as Me, u as de, _ as fe, d as qe, w as X0, T as a0, L as Xu, e as ut, f as et, al as tt, E as nt } from "./base-aa512893.js";
2
- import "./el-tag-55a172c9.js";
3
- import { E as pe, a as be } from "./el-select-700f3686.js";
1
+ import { b as Nu, c as Ve, p as $e, o as Re, k as Me, u as de, _ as fe, e as qe, w as X0, l as a0 } from "./base-a5af3db3.js";
2
+ import "./el-tag-66cab138.js";
3
+ import { E as pe, a as be } from "./el-select-95627997.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
- import { U as he, C as me, u as rt, d as at, E as ot } from "./el-popper-49152708.js";
6
- import { E as lt, a as it } from "./el-checkbox-f13560e9.js";
5
+ import { U as he, C as me, u as ut, d as et, E as tt } from "./el-popper-b4f97157.js";
6
+ import { E as nt, a as rt } from "./el-checkbox-7421ccd3.js";
7
7
  import "./el-checkbox-group-4ed993c7.js";
8
- import { ref as eu, inject as o0, computed as Q, defineComponent as Du, openBlock as C, createElementBlock as I, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as ju, isRef as l0, withModifiers as Bu, vModelRadio as i0, renderSlot as xe, createTextVNode as z, toDisplayString as uu, nextTick as zu, normalizeStyle as c0, onMounted as s0, provide as ct, reactive as st, toRefs as dt, watch as vu, Fragment as B, renderList as j, createBlock as P, mergeProps as ft, mergeModels as Zu, useModel as Hu, withCtx as D, createVNode as v, createCommentVNode as L, resolveComponent as Be, vShow as d0, pushScopeId as _e, popScopeId as ge, createSlots as ue } from "vue";
9
- import { E as ke } from "./el-dialog-1d5f5877.js";
10
- import "./el-overlay-04426e36.js";
11
- import { a as pt, E as bt } from "./el-form-item-505c0b70.js";
12
- import { E as f0 } from "./el-input-262851e8.js";
13
- import { E as p0 } from "./el-input-number-fdac2b86.js";
8
+ import { ref as eu, inject as o0, computed as Q, defineComponent as Du, openBlock as C, createElementBlock as I, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as ju, isRef as l0, withModifiers as Bu, vModelRadio as i0, renderSlot as xe, createTextVNode as z, toDisplayString as uu, nextTick as zu, normalizeStyle as c0, onMounted as s0, provide as at, reactive as ot, toRefs as lt, watch as vu, Fragment as B, renderList as j, createBlock as P, mergeProps as it, mergeModels as Zu, useModel as Hu, withCtx as D, createVNode as v, createCommentVNode as L, resolveComponent as Be, vShow as d0, pushScopeId as _e, popScopeId as ge, createSlots as Xu } from "vue";
9
+ import { E as ke } from "./el-dialog-41ab8417.js";
10
+ import "./el-overlay-09ad71cd.js";
11
+ import { a as ct, E as st } from "./el-form-item-c53c374d.js";
12
+ import { E as f0 } from "./el-input-2f75c4ba.js";
13
+ import { E as p0 } from "./el-input-number-5193fe6d.js";
14
14
  import "./el-tooltip-4ed993c7.js";
15
- import { E as b0 } from "./el-button-56624e61.js";
15
+ import { E as b0 } from "./el-button-c95adb85.js";
16
16
  import "./el-popover-4ed993c7.js";
17
- import { E as ht } from "./el-text-ab6bfc40.js";
18
- import { E as mt, a as xt } from "./el-table-column-44360700.js";
19
- import { E as h0 } from "./index-66ad0d6a.js";
17
+ import { E as dt } from "./el-text-ac60d0f2.js";
18
+ import { p as ue, i as ft, c as pt, s as bt, E as ht } from "./index-a871c3eb.js";
19
+ import { E as mt, a as xt } from "./el-table-column-376cd907.js";
20
+ import { E as h0 } from "./index-844bdd85.js";
20
21
  import { M as _t } from "./index-bc8e277e.js";
21
- import { E as J } from "./el-message-416bd265.js";
22
- import { E as gt } from "./el-message-box-8f5e34ca.js";
22
+ import { E as J } from "./el-message-e544a8f5.js";
23
+ import { E as gt } from "./el-message-box-a93d2f6a.js";
23
24
  import { _ as ye } from "./_plugin-vue_export-helper-dad06003.js";
24
- import { E as m0 } from "./index-4e46f96c.js";
25
- import { E as kt } from "./index-29418a8d.js";
26
- import { u as x0, a as yt, e as vt, d as Ct, f as Et, g as Dt } from "./use-form-common-props-4cdda474.js";
27
- import { u as Ft } from "./index-2e331d74.js";
28
- import { f as At } from "./index-3d0bc5da.js";
29
- import "./castArray-1eb17278.js";
30
- import "./index-cbbd78b4.js";
31
- import "./scroll-0a48995c.js";
32
- import "./debounce-33406a0d.js";
33
- import "./vnode-b62d0045.js";
34
- import "./use-global-config-7bfbe48c.js";
35
- import "./_initCloneObject-c477c74d.js";
25
+ import { E as m0 } from "./index-57672682.js";
26
+ import { E as kt } from "./index-88546436.js";
27
+ import { h as x0, e as yt, g as vt, d as Ct, f as Et } from "./use-form-common-props-815d48a6.js";
28
+ import { u as Dt } from "./index-2e331d74.js";
29
+ import { u as Ft } from "./index-960806da.js";
30
+ import { i as At } from "./index-e5566b94.js";
31
+ import "./index-d77a7336.js";
32
+ import "./castArray-7741a212.js";
33
+ import "./index-d91dc23f.js";
34
+ import "./scroll-679bd6bf.js";
35
+ import "./debounce-8d53f4dd.js";
36
+ import "./vnode-5ddb7ed1.js";
37
+ import "./use-global-config-b5e9d3d5.js";
38
+ import "./_initCloneObject-eaef9418.js";
36
39
  import "./typescript-7ae59c4c.js";
37
40
  import "./index-657047bb.js";
38
- import "./raf-d8c44079.js";
41
+ import "./raf-80ef0c0a.js";
39
42
  import "./index-7ed0999e.js";
40
- import "./config-provider-49c17381.js";
41
- import "./validator-e35f7978.js";
42
- import "./dropdown-6e7b1df0.js";
43
+ import "./config-provider-b16efd62.js";
44
+ import "./validator-764a9db0.js";
45
+ import "./dropdown-a59bba73.js";
43
46
  const _0 = Nu({
44
47
  modelValue: {
45
48
  type: [String, Number, Boolean],
@@ -74,7 +77,7 @@ const _0 = Nu({
74
77
  r.value ? n.changeEvent(s) : e && e(he, s), t.value.checked = u.modelValue === a.value;
75
78
  }
76
79
  }), o = yt(Q(() => n == null ? void 0 : n.size)), c = vt(Q(() => n == null ? void 0 : n.disabled)), i = eu(!1), f = Q(() => c.value || r.value && l.value !== a.value ? -1 : 0);
77
- return Ft({
80
+ return Dt({
78
81
  from: "label act as value",
79
82
  replacement: "value",
80
83
  version: "3.0.0",
@@ -247,7 +250,7 @@ const $t = Nu({
247
250
  type: qe(Object),
248
251
  default: () => E0
249
252
  },
250
- ...rt(["ariaLabel"])
253
+ ...ut(["ariaLabel"])
251
254
  }), Rt = g0, E0 = {
252
255
  label: "label",
253
256
  value: "value",
@@ -259,7 +262,7 @@ const $t = Nu({
259
262
  props: $t,
260
263
  emits: Rt,
261
264
  setup(u, { emit: e }) {
262
- const t = u, n = de("radio"), r = Ct(), a = eu(), { formItem: l } = Et(), { inputId: o, isLabeledByFormItem: c } = Dt(t, {
265
+ const t = u, n = de("radio"), r = Ft(), a = eu(), { formItem: l } = Ct(), { inputId: o, isLabeledByFormItem: c } = Et(t, {
263
266
  formItemContext: l
264
267
  }), i = (m) => {
265
268
  e(he, m), zu(() => e(me, m));
@@ -279,12 +282,12 @@ const $t = Nu({
279
282
  };
280
283
  return { ...m, ...d };
281
284
  };
282
- return ct(k0, st({
283
- ...dt(t),
285
+ return at(k0, ot({
286
+ ...lt(t),
284
287
  changeEvent: i,
285
288
  name: f
286
289
  })), vu(() => t.modelValue, (m, d) => {
287
- t.validateEvent && !At(m, d) && (l == null || l.validate("change").catch((T) => at()));
290
+ t.validateEvent && !At(m, d) && (l == null || l.validate("change").catch((T) => et()));
288
291
  }), (m, d) => (C(), I("div", {
289
292
  id: O(o),
290
293
  ref_key: "radioGroupRef",
@@ -295,7 +298,7 @@ const $t = Nu({
295
298
  "aria-labelledby": O(c) ? O(l).labelId : void 0
296
299
  }, [
297
300
  xe(m.$slots, "default", {}, () => [
298
- (C(!0), I(B, null, j(t.options, (T, $) => (C(), P(v0, ft({ key: $ }, p(T)), null, 16))), 128))
301
+ (C(!0), I(B, null, j(t.options, (T, $) => (C(), P(v0, it({ key: $ }, p(T)), null, 16))), 128))
299
302
  ])
300
303
  ], 10, ["id", "aria-label", "aria-labelledby"]));
301
304
  }
@@ -4326,7 +4329,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
4326
4329
  { deep: !0 }
4327
4330
  ), (y, b) => {
4328
4331
  var Oe;
4329
- const x = ht, g = m0, _ = kt, S = b0, F = nt, A = ot, U = F0, E = Ce, M = Be("st-customFunction"), k = pe, N = be, H = pt, xu = p0, _u = ve, gu = f0, wu = bt, K = h0, X = ke, Ku = Be("st-varSelectDialog");
4332
+ const x = dt, g = m0, _ = kt, S = b0, F = ht, A = tt, U = F0, E = Ce, M = Be("st-customFunction"), k = pe, N = be, H = ct, xu = p0, _u = ve, gu = f0, wu = st, K = h0, X = ke, Ku = Be("st-varSelectDialog");
4330
4333
  return C(), I(B, null, [
4331
4334
  V("div", wa, [
4332
4335
  V("div", null, [
@@ -4388,7 +4391,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
4388
4391
  type: "primary",
4389
4392
  plain: "",
4390
4393
  size: "small",
4391
- icon: O(Xu),
4394
+ icon: O(ue),
4392
4395
  onClick: f
4393
4396
  }, {
4394
4397
  default: D(() => [
@@ -4427,7 +4430,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
4427
4430
  onClick: b[2] || (b[2] = (R) => l.value = !0)
4428
4431
  }, {
4429
4432
  default: D(() => [
4430
- v(O(ut))
4433
+ v(O(ft))
4431
4434
  ]),
4432
4435
  _: 1
4433
4436
  })
@@ -4474,7 +4477,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
4474
4477
  onClick: b[4] || (b[4] = (R) => a.value = !1)
4475
4478
  }, {
4476
4479
  default: D(() => [
4477
- v(O(et))
4480
+ v(O(pt))
4478
4481
  ]),
4479
4482
  _: 1
4480
4483
  })
@@ -4720,7 +4723,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
4720
4723
  onClick: (R) => p(nu)
4721
4724
  }, {
4722
4725
  default: D(() => [
4723
- v(O(tt))
4726
+ v(O(bt))
4724
4727
  ]),
4725
4728
  _: 2
4726
4729
  }, 1032, ["onClick"])
@@ -4729,7 +4732,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
4729
4732
  type: "primary",
4730
4733
  plain: "",
4731
4734
  size: "small",
4732
- icon: O(Xu),
4735
+ icon: O(ue),
4733
4736
  onClick: m,
4734
4737
  style: { "margin-bottom": "10px" }
4735
4738
  }, {
@@ -4742,7 +4745,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
4742
4745
  type: "primary",
4743
4746
  plain: "",
4744
4747
  size: "small",
4745
- icon: O(Xu),
4748
+ icon: O(ue),
4746
4749
  onClick: b[5] || (b[5] = (q) => m("compare")),
4747
4750
  style: { "margin-bottom": "10px" }
4748
4751
  }, {
@@ -5141,7 +5144,7 @@ const Yu = (u) => (_e("data-v-e34c6235"), u = u(), ge(), u), Ua = {
5141
5144
  width: "600",
5142
5145
  "align-center": "",
5143
5146
  "destroy-on-close": ""
5144
- }, ue({
5147
+ }, Xu({
5145
5148
  footer: D(() => [
5146
5149
  V("div", xo, [
5147
5150
  v(_, {
@@ -5189,7 +5192,7 @@ const Yu = (u) => (_e("data-v-e34c6235"), u = u(), ge(), u), Ua = {
5189
5192
  modelValue: i.value.range[0],
5190
5193
  "onUpdate:modelValue": h[5] || (h[5] = (k) => i.value.range[0] = k),
5191
5194
  style: { flex: "1" }
5192
- }, ue({ _: 2 }, [
5195
+ }, Xu({ _: 2 }, [
5193
5196
  c.value.unitOptions.length ? {
5194
5197
  name: "append",
5195
5198
  fn: D(() => [
@@ -5216,7 +5219,7 @@ const Yu = (u) => (_e("data-v-e34c6235"), u = u(), ge(), u), Ua = {
5216
5219
  modelValue: i.value.range[1],
5217
5220
  "onUpdate:modelValue": h[7] || (h[7] = (k) => i.value.range[1] = k),
5218
5221
  style: { flex: "1" }
5219
- }, ue({ _: 2 }, [
5222
+ }, Xu({ _: 2 }, [
5220
5223
  c.value.unitOptions.length ? {
5221
5224
  name: "append",
5222
5225
  fn: D(() => [
@@ -5883,7 +5886,7 @@ const Au = (u) => (_e("data-v-a525206e"), u = u(), ge(), u), ko = { class: "vari
5883
5886
  }
5884
5887
  }), (s, p) => {
5885
5888
  var y, b, x, g, _, S;
5886
- const m = ve, d = Ce, T = lt, $ = it, w = pe, h = be;
5889
+ const m = ve, d = Ce, T = nt, $ = rt, w = pe, h = be;
5887
5890
  return C(), I("div", ko, [
5888
5891
  (y = r.value.varietyMarket) != null && y.show ? (C(), I("div", yo, [
5889
5892
  V("div", vo, [
@@ -6046,11 +6049,11 @@ const Au = (u) => (_e("data-v-a525206e"), u = u(), ge(), u), ko = { class: "vari
6046
6049
  ]);
6047
6050
  };
6048
6051
  }
6049
- }, Lo = /* @__PURE__ */ ye(zo, [["__scopeId", "data-v-a525206e"]]), Tl = {
6052
+ }, Lo = /* @__PURE__ */ ye(zo, [["__scopeId", "data-v-a525206e"]]), Ol = {
6050
6053
  install(u) {
6051
6054
  u.component("st-varietySearch", Lo);
6052
6055
  }
6053
6056
  };
6054
6057
  export {
6055
- Tl as default
6058
+ Ol as default
6056
6059
  };
@@ -1,5 +1,5 @@
1
- "use strict";const i=require("./base-7ba08794.cjs"),v=require("./el-input-b04b5bfc.cjs");require("./el-tooltip-0ea8fbf8.cjs");const V=require("./el-popper-1dd8f5b4.cjs"),e=require("vue"),f=require("./el-message-05cd85bf.cjs"),h=require("./_plugin-vue_export-helper-f246444f.cjs");require("./use-form-common-props-41182853.cjs");require("./typescript-b63f8e83.cjs");require("./index-d8294b1a.cjs");require("./use-global-config-dc5527e8.cjs");require("./index-c30cf7f9.cjs");require("./config-provider-18c0a68a.cjs");const c=o=>(e.pushScopeId("data-v-445e2903"),o=o(),e.popScopeId(),o),y={class:"variety-text-copy"},q={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)),b={__name:"index",props:{required:{type:Boolean,default:!0}},setup(o,{expose:u}){const d=e.inject("stConfig"),p=o,r=e.ref(""),_=e.computed(()=>l(r.value).length),l=n=>n?n.split(`
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&&(!r.value||r.value.trim()===""))return f.ElMessage.error("品种内容不可为空"),n(!1);const{body:t}=await d.request.post("/invest/analysis/strategy/verifyCodes",{codes:l(r.value)});return n(!0,t)}catch(t){return a(t)}})}),(n,s)=>{const a=i.ElIcon,t=V.ElTooltip,x=v.ElInput;return e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",q,[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:r.value,"onUpdate:modelValue":s[0]||(s[0]=m=>r.value=m),resize:"none",type:"textarea",placeholder:`文本格式要求示例:
1
+ "use strict";require("./base-ef747d02.cjs");const v=require("./el-input-7fd293af.cjs");require("./el-tooltip-0ea8fbf8.cjs");const q=require("./el-popper-b6c99b28.cjs"),e=require("vue"),i=require("./index-098c2447.cjs"),V=require("./el-message-5e6a6be9.cjs"),f=require("./_plugin-vue_export-helper-f246444f.cjs");require("./use-form-common-props-fd9b61a0.cjs");require("./index-9780a537.cjs");require("./typescript-b63f8e83.cjs");require("./index-11547a0c.cjs");require("./use-global-config-30d7d8ce.cjs");require("./index-bb833443.cjs");require("./index-c108567d.cjs");require("./config-provider-a584d81e.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
+ `).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 V.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  纸浆期货指数
5
- bu8888  石油沥青期货指数`},null,8,["modelValue"])])}}},w=h._export_sfc(b,[["__scopeId","data-v-445e2903"]]),S={install(o){o.component("st-varietyTextCopy",w)}};module.exports=S;
5
+ bu8888  石油沥青期货指数`},null,8,["modelValue"])])}}},S=f._export_sfc(w,[["__scopeId","data-v-445e2903"]]),T={install(r){r.component("st-varietyTextCopy",S)}};module.exports=T;
@@ -1,28 +1,31 @@
1
- import { e as y, E as h } from "./base-aa512893.js";
2
- import { E as g } from "./el-input-262851e8.js";
1
+ import "./base-a5af3db3.js";
2
+ import { E as y } from "./el-input-2f75c4ba.js";
3
3
  import "./el-tooltip-4ed993c7.js";
4
- import { E } from "./el-popper-49152708.js";
5
- import { inject as C, ref as V, computed as I, openBlock as S, createElementBlock as b, createElementVNode as r, toDisplayString as w, createVNode as l, withCtx as i, createTextVNode as c, unref as T, pushScopeId as q, popScopeId as B } from "vue";
6
- import { E as N } from "./el-message-416bd265.js";
4
+ import { E as h } from "./el-popper-b4f97157.js";
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-a871c3eb.js";
7
+ import { E as N } from "./el-message-e544a8f5.js";
7
8
  import { _ as k } from "./_plugin-vue_export-helper-dad06003.js";
8
- import "./use-form-common-props-4cdda474.js";
9
+ import "./use-form-common-props-815d48a6.js";
10
+ import "./index-960806da.js";
9
11
  import "./typescript-7ae59c4c.js";
10
- import "./index-cbbd78b4.js";
11
- import "./use-global-config-7bfbe48c.js";
12
- import "./index-3d0bc5da.js";
13
- import "./config-provider-49c17381.js";
14
- const p = (t) => (q("data-v-445e2903"), t = t(), B(), t), j = { class: "variety-text-copy" }, z = { class: "stats-container" }, D = { class: "stat-item" }, F = /* @__PURE__ */ p(() => /* @__PURE__ */ r("span", { class: "label" }, "品种数量统计:", -1)), M = { class: "value" }, P = /* @__PURE__ */ p(() => /* @__PURE__ */ r("br", null, null, -1)), U = /* @__PURE__ */ p(() => /* @__PURE__ */ r("br", null, null, -1)), A = {
12
+ import "./index-d91dc23f.js";
13
+ import "./use-global-config-b5e9d3d5.js";
14
+ import "./index-d77a7336.js";
15
+ import "./index-e5566b94.js";
16
+ import "./config-provider-b16efd62.js";
17
+ 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 = {
15
18
  __name: "index",
16
19
  props: {
17
20
  required: { type: Boolean, default: !0 }
18
21
  },
19
22
  setup(t, { expose: d }) {
20
- const _ = C("stConfig"), m = t, o = V(""), f = I(() => u(o.value).length), u = (s) => s ? s.split(`
21
- `).reduce((n, a) => {
23
+ const _ = g("stConfig"), m = t, o = E(""), f = C(() => u(o.value).length), u = (s) => s ? s.split(`
24
+ `).reduce((r, a) => {
22
25
  const e = a.trim().replace(/\s+/gi, " ").split(" ")[0];
23
- return e && n.push(e), n;
26
+ return e && r.push(e), r;
24
27
  }, []) : [];
25
- return d({ validate: (s) => new Promise(async (n, a) => {
28
+ return d({ validate: (s) => new Promise(async (r, a) => {
26
29
  try {
27
30
  if (m.required && (!o.value || o.value.trim() === ""))
28
31
  return N.error("品种内容不可为空"), s(!1);
@@ -31,29 +34,29 @@ const p = (t) => (q("data-v-445e2903"), t = t(), B(), t), j = { class: "variety-
31
34
  } catch (e) {
32
35
  return a(e);
33
36
  }
34
- }) }), (s, n) => {
35
- const a = h, e = E, x = g;
36
- return S(), b("div", j, [
37
- r("div", z, [
38
- r("div", D, [
37
+ }) }), (s, r) => {
38
+ const a = B, e = h, x = y;
39
+ return V(), I("div", j, [
40
+ n("div", z, [
41
+ n("div", D, [
39
42
  F,
40
- r("span", M, w(f.value), 1),
41
- l(e, {
43
+ n("span", M, S(f.value), 1),
44
+ i(e, {
42
45
  class: "box-item",
43
46
  effect: "dark",
44
47
  placement: "right"
45
48
  }, {
46
- content: i(() => [
49
+ content: l(() => [
47
50
  c(" 仅统计符合输入格式的数量, 输入格式示例(代码和名称需空格隔开, 名称可不写):"),
48
51
  P,
49
52
  c("hc8888 热轧卷板期货指数 "),
50
53
  U,
51
54
  c("sp8888 纸浆期货指数")
52
55
  ]),
53
- default: i(() => [
54
- l(a, null, {
55
- default: i(() => [
56
- l(T(y))
56
+ default: l(() => [
57
+ i(a, null, {
58
+ default: l(() => [
59
+ i(b(q))
57
60
  ]),
58
61
  _: 1
59
62
  })
@@ -62,10 +65,10 @@ const p = (t) => (q("data-v-445e2903"), t = t(), B(), t), j = { class: "variety-
62
65
  })
63
66
  ])
64
67
  ]),
65
- l(x, {
68
+ i(x, {
66
69
  class: "textarea",
67
70
  modelValue: o.value,
68
- "onUpdate:modelValue": n[0] || (n[0] = (v) => o.value = v),
71
+ "onUpdate:modelValue": r[0] || (r[0] = (v) => o.value = v),
69
72
  resize: "none",
70
73
  type: "textarea",
71
74
  placeholder: `文本格式要求示例:
@@ -76,11 +79,11 @@ bu8888  石油沥青期货指数`
76
79
  ]);
77
80
  };
78
81
  }
79
- }, G = /* @__PURE__ */ k(A, [["__scopeId", "data-v-445e2903"]]), oe = {
82
+ }, G = /* @__PURE__ */ k(A, [["__scopeId", "data-v-445e2903"]]), ne = {
80
83
  install(t) {
81
84
  t.component("st-varietyTextCopy", G);
82
85
  }
83
86
  };
84
87
  export {
85
- oe as default
88
+ ne as default
86
89
  };