st-comp 0.0.221 → 0.0.222

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 (73) hide show
  1. package/es/ChartLayout.js +4 -4
  2. package/es/CustomFunction.js +30 -30
  3. package/es/FactorWarning.js +33 -33
  4. package/es/Kline.js +17 -17
  5. package/es/KlineBasic.cjs +1 -1
  6. package/es/KlineBasic.js +28 -28
  7. package/es/KlineConfig.js +61 -61
  8. package/es/KlineNew.js +16 -16
  9. package/es/KlinePlus.js +19 -19
  10. package/es/Pagination.js +73 -73
  11. package/es/PasswordPrompt.js +3 -3
  12. package/es/Table.js +38 -38
  13. package/es/TreeMap.cjs +1 -2
  14. package/es/TreeMap.js +1 -163
  15. package/es/User.js +44 -44
  16. package/es/VarSelectDialog.js +24 -24
  17. package/es/VarietyAutoComplete.js +10 -10
  18. package/es/VarietySearch.js +35 -35
  19. package/es/VarietyTextCopy.cjs +3 -3
  20. package/es/VarietyTextCopy.js +15 -15
  21. package/es/VirtualTable.js +70 -70
  22. package/es/{_initCloneObject-eaef9418.js → _initCloneObject-71a2d663.js} +7 -7
  23. package/es/{base-a5af3db3.js → base-ff0e366f.js} +40 -40
  24. package/es/{castArray-7741a212.js → castArray-15070be9.js} +1 -1
  25. package/es/{config-provider-b16efd62.js → config-provider-ef3c8ca2.js} +6 -6
  26. package/es/{debounce-8d53f4dd.js → debounce-e9e47f9a.js} +1 -1
  27. package/es/{dropdown-a59bba73.js → dropdown-41512a70.js} +13 -13
  28. package/es/{el-autocomplete-ba808eb6.js → el-autocomplete-6b56f161.js} +16 -16
  29. package/es/{el-button-c95adb85.js → el-button-72e66b1c.js} +39 -39
  30. package/es/{el-checkbox-7421ccd3.js → el-checkbox-7df65088.js} +31 -31
  31. package/es/{el-dialog-41ab8417.js → el-dialog-7d6e8f91.js} +15 -15
  32. package/es/{el-divider-4e059794.js → el-divider-4fe55ebe.js} +1 -1
  33. package/es/{el-empty-33cb66f1.js → el-empty-ceecb81c.js} +5 -5
  34. package/es/{el-form-item-c53c374d.js → el-form-item-706eb72e.js} +36 -36
  35. package/es/{el-input-2f75c4ba.js → el-input-8cafa639.js} +55 -55
  36. package/es/{el-input-number-5193fe6d.js → el-input-number-7907c63c.js} +36 -36
  37. package/es/{el-loading-f6022062.js → el-loading-3cfc4e19.js} +5 -5
  38. package/es/{el-menu-item-7e881203.js → el-menu-item-f7436984.js} +22 -22
  39. package/es/{el-message-box-a93d2f6a.js → el-message-box-8e4d6990.js} +11 -11
  40. package/es/{el-message-e544a8f5.js → el-message-f3d56a3e.js} +23 -23
  41. package/es/{el-overlay-09ad71cd.js → el-overlay-31707230.js} +56 -56
  42. package/es/{el-popconfirm-81dcd202.js → el-popconfirm-b113716a.js} +20 -20
  43. package/es/{el-popper-b4f97157.js → el-popper-f28554e1.js} +109 -109
  44. package/es/{el-segmented-b868d074.js → el-segmented-5f4d8e64.js} +8 -8
  45. package/es/{el-select-95627997.js → el-select-90ba1ff9.js} +64 -64
  46. package/es/{el-table-column-376cd907.js → el-table-column-bccab55d.js} +15 -15
  47. package/es/{el-tag-66cab138.js → el-tag-f03f602d.js} +15 -15
  48. package/es/{el-text-ac60d0f2.js → el-text-f106c80e.js} +2 -2
  49. package/es/{index-57672682.js → index-00e91ed2.js} +3 -3
  50. package/es/{index-a871c3eb.js → index-065f4c40.js} +29 -29
  51. package/es/{index-844bdd85.js → index-158df623.js} +34 -34
  52. package/es/{index-960806da.js → index-269b8a8c.js} +36 -36
  53. package/es/{index-d91dc23f.js → index-49767c81.js} +12 -12
  54. package/es/{index-e5566b94.js → index-60dd8509.js} +43 -43
  55. package/es/{index-88546436.js → index-89707217.js} +17 -17
  56. package/es/{index-d77a7336.js → index-93a8960e.js} +1 -1
  57. package/es/{index-1f7d4f70.js → index-b792012c.js} +2 -2
  58. package/es/raf-8e05a7f4.js +6 -0
  59. package/es/{scroll-679bd6bf.js → scroll-41b4f625.js} +5 -5
  60. package/es/style.css +1 -1
  61. package/es/{use-form-common-props-815d48a6.js → use-form-common-props-1f967d2e.js} +67 -67
  62. package/es/{use-global-config-b5e9d3d5.js → use-global-config-ded5e07b.js} +14 -14
  63. package/es/{validator-764a9db0.js → validator-5c8b5cdc.js} +1 -1
  64. package/es/{vnode-5ddb7ed1.js → vnode-06571d5b.js} +1 -1
  65. package/es/{zh-cn-e963c628.js → zh-cn-cae8ba43.js} +2 -2
  66. package/lib/bundle.js +1 -1
  67. package/lib/bundle.umd.cjs +1 -1
  68. package/lib/{index-d3e408b3.js → index-b2c7b8c5.js} +3 -3
  69. package/lib/{python-34cb78d0.js → python-430bbf9c.js} +1 -1
  70. package/lib/style.css +1 -1
  71. package/package.json +1 -1
  72. package/packages/KlineBasic/components/Tips/index.vue +2 -2
  73. package/es/raf-80ef0c0a.js +0 -6
package/es/TreeMap.js CHANGED
@@ -1,163 +1 @@
1
- import { defineComponent as f, ref as u, computed as p, watch as m, onMounted as b, onUnmounted as h, openBlock as _, createElementBlock as g } from "vue";
2
- import * as v from "echarts";
3
- import { _ as S } from "./_plugin-vue_export-helper-dad06003.js";
4
- const y = /* @__PURE__ */ f({
5
- __name: "index",
6
- props: {
7
- data: {
8
- type: Array,
9
- default: () => []
10
- },
11
- // 数据
12
- config: {
13
- type: Object,
14
- default: () => ({})
15
- }
16
- },
17
- setup(o, { expose: d }) {
18
- const s = {
19
- tooltipFormatter: null,
20
- visibleMin: 300
21
- };
22
- let t, r;
23
- const n = o, l = u(), c = p(() => ({ ...s, ...n.config }));
24
- m(
25
- () => [n.data],
26
- () => {
27
- a();
28
- },
29
- { deep: !0 }
30
- ), b(() => {
31
- t = v.init(l.value), a();
32
- let e = !0;
33
- r = new ResizeObserver(() => {
34
- if (e) {
35
- e = null;
36
- return;
37
- }
38
- t.resize();
39
- }), r.observe(l.value);
40
- }), h(() => {
41
- t.dispose(), r.disconnect(), r = null;
42
- });
43
- const a = () => {
44
- t.setOption(
45
- {
46
- tooltip: {
47
- confine: !0,
48
- formatter: c.value.tooltipFormatter
49
- },
50
- series: [
51
- {
52
- type: "treemap",
53
- width: "100%",
54
- height: "100%",
55
- visibleMin: c.value.visibleMin,
56
- breadcrumb: {
57
- show: !1
58
- },
59
- label: {
60
- show: !0,
61
- formatter: "{b}"
62
- },
63
- upperLabel: {
64
- show: !0,
65
- height: 30
66
- },
67
- itemStyle: {
68
- borderColor: "#fff"
69
- },
70
- levels: [
71
- {
72
- itemStyle: {
73
- borderColor: "#777",
74
- borderWidth: 0,
75
- gapWidth: 0
76
- },
77
- upperLabel: {
78
- show: !1
79
- }
80
- },
81
- {
82
- itemStyle: {
83
- borderColor: "#000",
84
- borderWidth: 2,
85
- gapWidth: 1
86
- },
87
- upperLabel: {
88
- padding: [8, 0, 0, 0],
89
- formatter: (e) => `{title|${e.data.name} ${e.data.labelValue}} ${e.data.percent === null ? "" : `{${e.data.percent >= 0 ? e.data.percent === 0 ? "defaultPercent" : "redPercent" : "greenPercent"}|${e.data.percent}%}`}`,
90
- rich: {
91
- title: {
92
- color: "#fff",
93
- fontSize: 14
94
- },
95
- defaultPercent: {
96
- color: "#fff",
97
- fontSize: 14
98
- },
99
- redPercent: {
100
- color: "red",
101
- fontSize: 14
102
- },
103
- greenPercent: {
104
- color: "green",
105
- fontSize: 14
106
- }
107
- }
108
- }
109
- },
110
- {
111
- colorSaturation: [0.35, 0.5],
112
- itemStyle: {
113
- borderWidth: 0,
114
- gapWidth: 1,
115
- borderColorSaturation: 0.6
116
- },
117
- label: {
118
- align: "center",
119
- verticalAlign: "middle",
120
- fontSize: 20,
121
- formatter: (e) => `${e.data.name}
122
- ${e.data.colorValue}`
123
- }
124
- }
125
- ],
126
- data: n.data.map((e) => ({
127
- ...e,
128
- itemStyle: {
129
- color: e.color
130
- },
131
- children: e.children.map((i) => ({
132
- ...i,
133
- itemStyle: {
134
- color: i.color
135
- }
136
- }))
137
- }))
138
- }
139
- ]
140
- },
141
- !0
142
- );
143
- };
144
- return d({
145
- reset: () => {
146
- a();
147
- }
148
- // 重置
149
- }), (e, i) => (_(), g("div", {
150
- ref_key: "chartRef",
151
- ref: l,
152
- class: "chart"
153
- }, null, 512));
154
- }
155
- });
156
- const w = /* @__PURE__ */ S(y, [["__scopeId", "data-v-ab677899"]]), C = {
157
- install(o) {
158
- o.component("st-treeMap", w);
159
- }
160
- };
161
- export {
162
- C as default
163
- };
1
+
package/es/User.js CHANGED
@@ -1,34 +1,34 @@
1
- import { b as Be, e as ie, _ as L, u as ue, n as Me, w as Ae, l as Ee } from "./base-a5af3db3.js";
2
- import { E as J } from "./el-button-c95adb85.js";
3
- import { a as S, h as V, E as Ue, O as Ge, w as be, F as Le } from "./el-popper-b4f97157.js";
1
+ import { b as Be, d as ie, _ as z, u as ue, j as Me, w as Ae, A as Ee } from "./base-ff0e366f.js";
2
+ import { E as J } from "./el-button-72e66b1c.js";
3
+ import { e as S, n as V, E as Ue, O as Ge, w as be, F as ze } from "./el-popper-f28554e1.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
- import { defineComponent as z, ref as y, inject as P, computed as T, provide as Q, readonly as ze, toRef as W, unref as h, watch as qe, renderSlot as K, resolveComponent as R, openBlock as C, createBlock as D, withCtx as l, createVNode as t, normalizeProps as Ye, guardReactiveProps as He, getCurrentInstance as Ce, createElementBlock as M, normalizeClass as X, createSlots as Je, mergeProps as ee, createCommentVNode as oe, nextTick as de, Fragment as Pe, createElementVNode as ne, withModifiers as H, resolveDynamicComponent as je, normalizeStyle as We, reactive as A, createTextVNode as k, toDisplayString as Z, withKeys as Fe } from "vue";
6
- import { E as ce, f as $e, u as Ze, r as Qe } from "./index-a871c3eb.js";
5
+ import { defineComponent as L, ref as y, inject as P, computed as T, provide as Q, readonly as Le, toRef as W, unref as h, watch as qe, renderSlot as K, resolveComponent as R, openBlock as C, createBlock as D, withCtx as l, createVNode as t, normalizeProps as Ye, guardReactiveProps as He, getCurrentInstance as Ce, createElementBlock as M, normalizeClass as X, createSlots as Je, mergeProps as ee, createCommentVNode as oe, nextTick as de, Fragment as Pe, createElementVNode as ne, withModifiers as H, resolveDynamicComponent as je, normalizeStyle as We, reactive as A, createTextVNode as k, toDisplayString as Z, withKeys as Fe } from "vue";
6
+ import { E as ce, b as $e, z as Ze, A as Qe } from "./index-065f4c40.js";
7
7
  import { R as pe, V as Xe, A as xe, K as eo } from "./index-7ed0999e.js";
8
- import { c as he, E as te } from "./el-dialog-41ab8417.js";
9
- import "./el-overlay-09ad71cd.js";
10
- import { a as le, E as se } from "./el-form-item-c53c374d.js";
11
- import { E as re } from "./el-input-2f75c4ba.js";
12
- import { E as Re } from "./el-text-ac60d0f2.js";
13
- import { E as Y } from "./el-message-e544a8f5.js";
8
+ import { c as he, E as te } from "./el-dialog-7d6e8f91.js";
9
+ import "./el-overlay-31707230.js";
10
+ import { E as le, a as se } from "./el-form-item-706eb72e.js";
11
+ import { E as re } from "./el-input-8cafa639.js";
12
+ import { E as Re } from "./el-text-f106c80e.js";
13
+ import { E as Y } from "./el-message-f3d56a3e.js";
14
14
  import { _ as me } from "./_plugin-vue_export-helper-dad06003.js";
15
- import { P as ke } from "./index-1f7d4f70.js";
16
- import { E as oo } from "./index-844bdd85.js";
17
- import { c as no, e as to } from "./use-form-common-props-815d48a6.js";
18
- import { c as lo, E as so, d as ro, a as Te, C as ao, b as io, e as uo, f as co, g as po, F as mo, L as fo } from "./dropdown-a59bba73.js";
19
- import { u as vo } from "./index-d77a7336.js";
20
- import { u as Se } from "./index-960806da.js";
21
- import { c as _o } from "./castArray-7741a212.js";
15
+ import { P as ke } from "./index-b792012c.js";
16
+ import { E as oo } from "./index-158df623.js";
17
+ import { b as no, a as to } from "./use-form-common-props-1f967d2e.js";
18
+ import { c as lo, E as so, d as ro, a as Te, C as ao, b as io, e as uo, f as co, g as po, F as mo, L as fo } from "./dropdown-41512a70.js";
19
+ import { u as vo } from "./index-93a8960e.js";
20
+ import { u as Se } from "./index-269b8a8c.js";
21
+ import { c as _o } from "./castArray-15070be9.js";
22
22
  import "./index-2e331d74.js";
23
- import "./use-global-config-b5e9d3d5.js";
24
- import "./index-e5566b94.js";
23
+ import "./use-global-config-ded5e07b.js";
24
+ import "./index-60dd8509.js";
25
25
  import "./index-657047bb.js";
26
- import "./vnode-5ddb7ed1.js";
27
- import "./scroll-679bd6bf.js";
28
- import "./_initCloneObject-eaef9418.js";
26
+ import "./vnode-06571d5b.js";
27
+ import "./scroll-41b4f625.js";
28
+ import "./_initCloneObject-71a2d663.js";
29
29
  import "./typescript-7ae59c4c.js";
30
- import "./index-d91dc23f.js";
31
- import "./config-provider-b16efd62.js";
30
+ import "./index-49767c81.js";
31
+ import "./config-provider-ef3c8ca2.js";
32
32
  const wo = Be({
33
33
  style: { type: ie([String, Array, Object]) },
34
34
  currentTabId: {
@@ -81,7 +81,7 @@ const wo = Be({
81
81
  for (const m of e)
82
82
  if (m === c || (m.focus(), c !== document.activeElement))
83
83
  return;
84
- }, ye = "currentTabIdChange", Ie = "rovingFocusGroup.entryFocus", Fo = { bubbles: !1, cancelable: !0 }, $o = z({
84
+ }, ye = "currentTabIdChange", Ie = "rovingFocusGroup.entryFocus", Fo = { bubbles: !1, cancelable: !0 }, $o = L({
85
85
  name: "ElRovingFocusGroupImpl",
86
86
  inheritAttrs: !1,
87
87
  props: wo,
@@ -124,7 +124,7 @@ const wo = Be({
124
124
  c("entryFocus", ..._);
125
125
  };
126
126
  Q(ve, {
127
- currentTabbedId: ze(s),
127
+ currentTabbedId: Le(s),
128
128
  loop: W(e, "loop"),
129
129
  tabIndex: T(() => h(f) ? -1 : 0),
130
130
  rovingFocusGroupRef: i,
@@ -144,8 +144,8 @@ const wo = Be({
144
144
  function ho(e, c, m, s, f, u) {
145
145
  return K(e.$slots, "default");
146
146
  }
147
- var Ro = /* @__PURE__ */ L($o, [["render", ho], ["__file", "roving-focus-group-impl.vue"]]);
148
- const ko = z({
147
+ var Ro = /* @__PURE__ */ z($o, [["render", ho], ["__file", "roving-focus-group-impl.vue"]]);
148
+ const ko = L({
149
149
  name: "ElRovingFocusGroup",
150
150
  components: {
151
151
  ElFocusGroupCollection: go,
@@ -166,8 +166,8 @@ function To(e, c, m, s, f, u) {
166
166
  _: 3
167
167
  });
168
168
  }
169
- var So = /* @__PURE__ */ L(ko, [["render", To], ["__file", "roving-focus-group.vue"]]);
170
- const ae = Symbol("elDropdown"), Ne = "elDropdown", { ButtonGroup: Do } = J, No = z({
169
+ var So = /* @__PURE__ */ z(ko, [["render", To], ["__file", "roving-focus-group.vue"]]);
170
+ const ae = Symbol("elDropdown"), Ne = "elDropdown", { ButtonGroup: Do } = J, No = L({
171
171
  name: "ElDropdown",
172
172
  components: {
173
173
  ElButton: J,
@@ -399,8 +399,8 @@ function Oo(e, c, m, s, f, u) {
399
399
  })) : oe("v-if", !0)
400
400
  ], 2);
401
401
  }
402
- var Vo = /* @__PURE__ */ L(No, [["render", Oo], ["__file", "dropdown.vue"]]);
403
- const Ko = z({
402
+ var Vo = /* @__PURE__ */ z(No, [["render", Oo], ["__file", "dropdown.vue"]]);
403
+ const Ko = L({
404
404
  components: {
405
405
  ElRovingFocusCollectionItem: bo
406
406
  },
@@ -480,8 +480,8 @@ function Bo(e, c, m, s, f, u) {
480
480
  _: 3
481
481
  }, 8, ["id", "focusable", "active"]);
482
482
  }
483
- var Mo = /* @__PURE__ */ L(Ko, [["render", Bo], ["__file", "roving-focus-item.vue"]]);
484
- const Ao = z({
483
+ var Mo = /* @__PURE__ */ z(Ko, [["render", Bo], ["__file", "roving-focus-item.vue"]]);
484
+ const Ao = L({
485
485
  name: "DropdownItemImpl",
486
486
  components: {
487
487
  ElIcon: ce
@@ -543,14 +543,14 @@ function Uo(e, c, m, s, f, u) {
543
543
  ], 16, ["aria-disabled", "tabindex", "role", "onClick", "onFocus", "onKeydown", "onMousedown", "onPointermove", "onPointerleave"])
544
544
  ], 64);
545
545
  }
546
- var Go = /* @__PURE__ */ L(Ao, [["render", Uo], ["__file", "dropdown-item-impl.vue"]]);
546
+ var Go = /* @__PURE__ */ z(Ao, [["render", Uo], ["__file", "dropdown-item-impl.vue"]]);
547
547
  const Oe = () => {
548
548
  const e = P(Ne, {}), c = T(() => e == null ? void 0 : e.dropdownSize);
549
549
  return {
550
550
  elDropdown: e,
551
551
  _elDropdownSize: c
552
552
  };
553
- }, Lo = z({
553
+ }, zo = L({
554
554
  name: "ElDropdownItem",
555
555
  components: {
556
556
  ElDropdownCollectionItem: uo,
@@ -593,7 +593,7 @@ const Oe = () => {
593
593
  };
594
594
  }
595
595
  });
596
- function zo(e, c, m, s, f, u) {
596
+ function Lo(e, c, m, s, f, u) {
597
597
  var i;
598
598
  const d = R("el-dropdown-item-impl"), w = R("el-roving-focus-item"), b = R("el-dropdown-collection-item");
599
599
  return C(), D(b, {
@@ -622,12 +622,12 @@ function zo(e, c, m, s, f, u) {
622
622
  _: 3
623
623
  }, 8, ["disabled", "text-value"]);
624
624
  }
625
- var Ve = /* @__PURE__ */ L(Lo, [["render", zo], ["__file", "dropdown-item.vue"]]);
626
- const qo = z({
625
+ var Ve = /* @__PURE__ */ z(zo, [["render", Lo], ["__file", "dropdown-item.vue"]]);
626
+ const qo = L({
627
627
  name: "ElDropdownMenu",
628
628
  props: co,
629
629
  setup(e) {
630
- const c = ue("dropdown"), { _elDropdownSize: m } = Oe(), s = m.value, { focusTrapRef: f, onKeydown: u } = P(Le, void 0), { contentRef: i, role: d, triggerId: w } = P(ae, void 0), { collectionRef: b, getItems: r } = P(po, void 0), {
630
+ const c = ue("dropdown"), { _elDropdownSize: m } = Oe(), s = m.value, { focusTrapRef: f, onKeydown: u } = P(ze, void 0), { contentRef: i, role: d, triggerId: w } = P(ae, void 0), { collectionRef: b, getItems: r } = P(po, void 0), {
631
631
  rovingFocusGroupRef: o,
632
632
  rovingFocusGroupRootStyle: a,
633
633
  tabIndex: n,
@@ -677,7 +677,7 @@ function Yo(e, c, m, s, f, u) {
677
677
  K(e.$slots, "default")
678
678
  ], 46, ["role", "aria-labelledby", "onBlur", "onFocus", "onKeydown", "onMousedown"]);
679
679
  }
680
- var Ke = /* @__PURE__ */ L(qo, [["render", Yo], ["__file", "dropdown-menu.vue"]]);
680
+ var Ke = /* @__PURE__ */ z(qo, [["render", Yo], ["__file", "dropdown-menu.vue"]]);
681
681
  const Ho = Ae(Vo, {
682
682
  DropdownItem: Ve,
683
683
  DropdownMenu: Ke
@@ -1350,11 +1350,11 @@ const ln = { class: "user" }, sn = { class: "user-msg" }, rn = {
1350
1350
  ]);
1351
1351
  };
1352
1352
  }
1353
- }, an = /* @__PURE__ */ me(rn, [["__scopeId", "data-v-f2b88262"]]), Ln = {
1353
+ }, an = /* @__PURE__ */ me(rn, [["__scopeId", "data-v-f2b88262"]]), zn = {
1354
1354
  install(e) {
1355
1355
  e.component("st-user", an);
1356
1356
  }
1357
1357
  };
1358
1358
  export {
1359
- Ln as default
1359
+ zn as default
1360
1360
  };
@@ -1,35 +1,35 @@
1
- import "./base-a5af3db3.js";
2
- import { E as M } from "./el-dialog-41ab8417.js";
3
- import "./el-overlay-09ad71cd.js";
1
+ import "./base-ff0e366f.js";
2
+ import { E as M } from "./el-dialog-7d6e8f91.js";
3
+ import "./el-overlay-31707230.js";
4
4
  import "./el-tooltip-4ed993c7.js";
5
- import { E as O } from "./el-popper-b4f97157.js";
6
- import { E as R } from "./el-button-c95adb85.js";
7
- import { E as W } from "./el-input-2f75c4ba.js";
8
- import "./el-tag-66cab138.js";
9
- import { E as G, a as H } from "./el-select-95627997.js";
5
+ import { E as O } from "./el-popper-f28554e1.js";
6
+ import { E as R } from "./el-button-72e66b1c.js";
7
+ import { E as W } from "./el-input-8cafa639.js";
8
+ import "./el-tag-f03f602d.js";
9
+ import { E as G, a as H } from "./el-select-90ba1ff9.js";
10
10
  import "./el-scrollbar-323542e7.js";
11
11
  import { inject as A, ref as $, openBlock as a, createElementBlock as n, createCommentVNode as h, createVNode as y, withCtx as m, createElementVNode as c, toDisplayString as C, computed as J, onMounted as K, createBlock as N, Fragment as E, renderList as L, unref as T, createTextVNode as Q, pushScopeId as X, popScopeId as Y } from "vue";
12
- import { c as Z, i as ee, E as te } from "./index-a871c3eb.js";
13
- import { E as le } from "./el-autocomplete-ba808eb6.js";
12
+ import { a as Z, i as ee, E as te } from "./index-065f4c40.js";
13
+ import { E as le } from "./el-autocomplete-6b56f161.js";
14
14
  import { V as oe } from "./index-7ed0999e.js";
15
15
  import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
16
- import { E as j } from "./el-message-e544a8f5.js";
17
- import "./use-form-common-props-815d48a6.js";
18
- import "./index-960806da.js";
19
- import "./index-d77a7336.js";
16
+ import { E as j } from "./el-message-f3d56a3e.js";
17
+ import "./use-form-common-props-1f967d2e.js";
18
+ import "./index-269b8a8c.js";
19
+ import "./index-93a8960e.js";
20
20
  import "./index-2e331d74.js";
21
- import "./vnode-5ddb7ed1.js";
22
- import "./scroll-679bd6bf.js";
23
- import "./use-global-config-b5e9d3d5.js";
24
- import "./index-e5566b94.js";
21
+ import "./vnode-06571d5b.js";
22
+ import "./scroll-41b4f625.js";
23
+ import "./use-global-config-ded5e07b.js";
24
+ import "./index-60dd8509.js";
25
25
  import "./index-657047bb.js";
26
26
  import "./typescript-7ae59c4c.js";
27
- import "./index-d91dc23f.js";
28
- import "./index-844bdd85.js";
29
- import "./index-57672682.js";
30
- import "./castArray-7741a212.js";
31
- import "./debounce-8d53f4dd.js";
32
- import "./config-provider-b16efd62.js";
27
+ import "./index-49767c81.js";
28
+ import "./index-158df623.js";
29
+ import "./index-00e91ed2.js";
30
+ import "./castArray-15070be9.js";
31
+ import "./debounce-e9e47f9a.js";
32
+ import "./config-provider-ef3c8ca2.js";
33
33
  const ae = { class: "variety-auto-complete" }, se = { key: 0 }, ne = { class: "label" }, re = {
34
34
  __name: "VarietySelect",
35
35
  props: {
@@ -1,18 +1,18 @@
1
- import "./base-a5af3db3.js";
2
- import { E as S } from "./el-autocomplete-ba808eb6.js";
3
- import "./el-input-2f75c4ba.js";
1
+ import "./base-ff0e366f.js";
2
+ import { E as S } from "./el-autocomplete-6b56f161.js";
3
+ import "./el-input-8cafa639.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
- import "./el-popper-b4f97157.js";
5
+ import "./el-popper-f28554e1.js";
6
6
  import { inject as b, ref as C, openBlock as r, createElementBlock as p, toDisplayString as m, createCommentVNode as v, createVNode as V, normalizeStyle as z, withCtx as E, createElementVNode as w } from "vue";
7
7
  import { V as k } from "./index-7ed0999e.js";
8
8
  import { _ as I } from "./_plugin-vue_export-helper-dad06003.js";
9
- import "./use-form-common-props-815d48a6.js";
10
- import "./index-960806da.js";
11
- import "./index-a871c3eb.js";
12
- import "./index-844bdd85.js";
13
- import "./debounce-8d53f4dd.js";
9
+ import "./use-form-common-props-1f967d2e.js";
10
+ import "./index-269b8a8c.js";
11
+ import "./index-065f4c40.js";
12
+ import "./index-158df623.js";
13
+ import "./debounce-e9e47f9a.js";
14
14
  import "./typescript-7ae59c4c.js";
15
- import "./index-d91dc23f.js";
15
+ import "./index-49767c81.js";
16
16
  const N = { class: "variety-auto-complete" }, q = {
17
17
  key: 0,
18
18
  class: "label"
@@ -1,49 +1,49 @@
1
- import { b as re, c as Je, p as We, o as Qe, k as Ye, u as $e, _ as Ve, e as Ke, w as kt, l as k0 } from "./base-a5af3db3.js";
2
- import "./el-tag-66cab138.js";
3
- import { E as le, a as oe } from "./el-select-95627997.js";
1
+ import { b as re, e as Je, f as We, g as Qe, E as Ye, u as $e, _ as Ve, d as Ke, w as kt, A as k0 } from "./base-ff0e366f.js";
2
+ import "./el-tag-f03f602d.js";
3
+ import { E as le, a as oe } from "./el-select-90ba1ff9.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
- import { U as Re, C as Me, u as vt, d as yt, E as Ct } from "./el-popper-b4f97157.js";
6
- import { E as v0, a as Et } from "./el-checkbox-7421ccd3.js";
5
+ import { U as Re, C as Me, u as vt, d as yt, E as Ct } from "./el-popper-f28554e1.js";
6
+ import { E as v0, a as Et } from "./el-checkbox-7df65088.js";
7
7
  import "./el-checkbox-group-4ed993c7.js";
8
8
  import { ref as J, inject as Iu, computed as tu, defineComponent as Su, openBlock as F, createElementBlock as O, normalizeClass as cu, unref as $, createElementVNode as A, withDirectives as Mu, isRef as y0, withModifiers as ue, vModelRadio as C0, renderSlot as qe, createTextVNode as B, toDisplayString as X, nextTick as qu, normalizeStyle as E0, onMounted as D0, provide as F0, reactive as A0, toRefs as Dt, watch as ku, Fragment as P, renderList as Z, createBlock as N, mergeProps as Ft, mergeModels as Uu, useModel as Ou, withCtx as g, createVNode as m, createCommentVNode as U, resolveComponent as ke, vShow as Te, pushScopeId as ae, popScopeId as ie, createSlots as ve } from "vue";
9
- import { E as At } from "./el-divider-4e059794.js";
10
- import { E as Nu } from "./el-dialog-41ab8417.js";
11
- import "./el-overlay-09ad71cd.js";
12
- import { a as w0, E as T0 } from "./el-form-item-c53c374d.js";
13
- import { E as Be } from "./el-input-2f75c4ba.js";
14
- import { E as I0 } from "./el-input-number-5193fe6d.js";
9
+ import { E as At } from "./el-divider-4fe55ebe.js";
10
+ import { E as Nu } from "./el-dialog-7d6e8f91.js";
11
+ import "./el-overlay-31707230.js";
12
+ import { E as w0, a as T0 } from "./el-form-item-706eb72e.js";
13
+ import { E as Be } from "./el-input-8cafa639.js";
14
+ import { E as I0 } from "./el-input-number-7907c63c.js";
15
15
  import "./el-tooltip-4ed993c7.js";
16
- import { E as ce } from "./el-button-c95adb85.js";
16
+ import { E as ce } from "./el-button-72e66b1c.js";
17
17
  import "./el-popover-4ed993c7.js";
18
- import { E as wt } from "./el-text-ac60d0f2.js";
19
- import { p as Ru, i as Tt, b as It, c as Xu, s as St, E as S0, a as Ot } from "./index-a871c3eb.js";
20
- import { E as $t, a as Vt } from "./el-table-column-376cd907.js";
21
- import { E as O0 } from "./index-844bdd85.js";
18
+ import { E as wt } from "./el-text-f106c80e.js";
19
+ import { p as Ru, i as Tt, h as It, a as Xu, o as St, E as S0, g as Ot } from "./index-065f4c40.js";
20
+ import { E as $t, a as Vt } from "./el-table-column-bccab55d.js";
21
+ import { E as O0 } from "./index-158df623.js";
22
22
  import { M as Rt } from "./index-bc8e277e.js";
23
- import { E as G } from "./el-message-e544a8f5.js";
24
- import { E as $0 } from "./el-message-box-a93d2f6a.js";
23
+ import { E as G } from "./el-message-f3d56a3e.js";
24
+ import { E as $0 } from "./el-message-box-8e4d6990.js";
25
25
  import { _ as ju } from "./_plugin-vue_export-helper-dad06003.js";
26
- import { E as se } from "./index-57672682.js";
27
- import { E as Mt } from "./index-88546436.js";
28
- import { h as V0, e as qt, g as Bt, d as zt, f as Lt } from "./use-form-common-props-815d48a6.js";
26
+ import { E as se } from "./index-00e91ed2.js";
27
+ import { E as Mt } from "./index-89707217.js";
28
+ import { u as V0, a as qt, d as Bt, e as zt, f as Lt } from "./use-form-common-props-1f967d2e.js";
29
29
  import { u as Pt } from "./index-2e331d74.js";
30
- import { u as Ut } from "./index-960806da.js";
31
- import { i as Nt } from "./index-e5566b94.js";
32
- import "./index-d77a7336.js";
33
- import "./castArray-7741a212.js";
34
- import "./index-d91dc23f.js";
35
- import "./scroll-679bd6bf.js";
36
- import "./debounce-8d53f4dd.js";
37
- import "./vnode-5ddb7ed1.js";
38
- import "./use-global-config-b5e9d3d5.js";
39
- import "./_initCloneObject-eaef9418.js";
30
+ import { u as Ut } from "./index-269b8a8c.js";
31
+ import { d as Nt } from "./index-60dd8509.js";
32
+ import "./index-93a8960e.js";
33
+ import "./castArray-15070be9.js";
34
+ import "./index-49767c81.js";
35
+ import "./scroll-41b4f625.js";
36
+ import "./debounce-e9e47f9a.js";
37
+ import "./vnode-06571d5b.js";
38
+ import "./use-global-config-ded5e07b.js";
39
+ import "./_initCloneObject-71a2d663.js";
40
40
  import "./typescript-7ae59c4c.js";
41
41
  import "./index-657047bb.js";
42
- import "./raf-80ef0c0a.js";
42
+ import "./raf-8e05a7f4.js";
43
43
  import "./index-7ed0999e.js";
44
- import "./config-provider-b16efd62.js";
45
- import "./validator-764a9db0.js";
46
- import "./dropdown-a59bba73.js";
44
+ import "./config-provider-ef3c8ca2.js";
45
+ import "./validator-5c8b5cdc.js";
46
+ import "./dropdown-41512a70.js";
47
47
  const R0 = re({
48
48
  modelValue: {
49
49
  type: [String, Number, Boolean],
@@ -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("./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:`文本格式要求示例:
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:`文本格式要求示例:
3
3
  hc8888  热轧卷板期货指数
4
4
  sp8888  纸浆期货指数
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;
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;
@@ -1,19 +1,19 @@
1
- import "./base-a5af3db3.js";
2
- import { E as y } from "./el-input-2f75c4ba.js";
1
+ import "./base-ff0e366f.js";
2
+ import { E as y } from "./el-input-8cafa639.js";
3
3
  import "./el-tooltip-4ed993c7.js";
4
- import { E as h } from "./el-popper-b4f97157.js";
4
+ import { E as h } from "./el-popper-f28554e1.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-a871c3eb.js";
7
- import { E as N } from "./el-message-e544a8f5.js";
8
- import { _ as k } from "./_plugin-vue_export-helper-dad06003.js";
9
- import "./use-form-common-props-815d48a6.js";
10
- import "./index-960806da.js";
6
+ import { i as q, E as B } from "./index-065f4c40.js";
7
+ import { _ as N } from "./_plugin-vue_export-helper-dad06003.js";
8
+ import { E as k } from "./el-message-f3d56a3e.js";
9
+ import "./use-form-common-props-1f967d2e.js";
10
+ import "./index-269b8a8c.js";
11
11
  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";
12
+ import "./index-49767c81.js";
13
+ import "./use-global-config-ded5e07b.js";
14
+ import "./index-93a8960e.js";
15
+ import "./index-60dd8509.js";
16
+ import "./config-provider-ef3c8ca2.js";
17
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 = {
18
18
  __name: "index",
19
19
  props: {
@@ -28,7 +28,7 @@ const p = (t) => (w("data-v-445e2903"), t = t(), T(), t), j = { class: "variety-
28
28
  return d({ validate: (s) => new Promise(async (r, a) => {
29
29
  try {
30
30
  if (m.required && (!o.value || o.value.trim() === ""))
31
- return N.error("品种内容不可为空"), s(!1);
31
+ return k.error("品种内容不可为空"), s(!1);
32
32
  const { body: e } = await _.request.post("/invest/analysis/strategy/verifyCodes", { codes: u(o.value) });
33
33
  return s(!0, e);
34
34
  } catch (e) {
@@ -79,7 +79,7 @@ bu8888  石油沥青期货指数`
79
79
  ]);
80
80
  };
81
81
  }
82
- }, G = /* @__PURE__ */ k(A, [["__scopeId", "data-v-445e2903"]]), ne = {
82
+ }, G = /* @__PURE__ */ N(A, [["__scopeId", "data-v-445e2903"]]), ne = {
83
83
  install(t) {
84
84
  t.component("st-varietyTextCopy", G);
85
85
  }