st-comp 0.0.207 → 0.0.208

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