st-comp 0.0.122 → 0.0.124

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 (92) hide show
  1. package/es/ChartLayout.js +2 -2
  2. package/es/Dialog.cjs +1 -1
  3. package/es/Dialog.js +14 -13
  4. package/es/FactorWarning.cjs +1 -1
  5. package/es/FactorWarning.js +26 -25
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +849 -1605
  8. package/es/KlineBasic.cjs +6 -0
  9. package/es/KlineBasic.js +2888 -0
  10. package/es/KlineNew.cjs +1 -1
  11. package/es/KlineNew.js +12 -12
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +18 -17
  14. package/es/Pie.cjs +1 -1
  15. package/es/Pie.js +1 -1
  16. package/es/Table.cjs +1 -1
  17. package/es/Table.js +18 -17
  18. package/es/User.cjs +1 -1
  19. package/es/User.js +75 -74
  20. package/es/VarietySearch.cjs +1 -1
  21. package/es/VarietySearch.js +903 -1253
  22. package/es/VirtualTable.cjs +1 -1
  23. package/es/VirtualTable.js +13 -12
  24. package/es/{base-f7877059.js → base-a8f938bd.js} +6 -6
  25. package/es/{castArray-18f43497.js → castArray-5c01dae1.js} +1 -1
  26. package/es/config-provider-4954003d.cjs +1 -0
  27. package/es/{config-provider-6479d795.js → config-provider-d3edea8a.js} +3 -3
  28. package/es/{debounce-2336e546.js → debounce-edbff018.js} +10 -10
  29. package/es/{dropdown-46daf582.js → dropdown-7e381525.js} +4 -4
  30. package/es/el-button-c7b375c4.cjs +1 -0
  31. package/es/{el-button-802f579a.js → el-button-ce99c64e.js} +6 -5
  32. package/es/{el-empty-3c5ec277.js → el-empty-ed6c115b.js} +1 -1
  33. package/es/{el-form-item-84099d46.js → el-form-item-b686a8bb.js} +9 -9
  34. package/es/{el-form-item-c39f717e.cjs → el-form-item-ff0d8d07.cjs} +1 -1
  35. package/es/{el-input-fac5b401.js → el-input-21e079e4.js} +5 -5
  36. package/es/el-menu-item-9369a2ad.js +771 -0
  37. package/es/el-menu-item-dc904a35.cjs +1 -0
  38. package/es/el-message-e97bdea1.cjs +1 -0
  39. package/es/el-message-fd827012.js +374 -0
  40. package/es/el-overlay-7b90d61c.cjs +1 -0
  41. package/es/{el-overlay-69e9ae49.js → el-overlay-9245ec1e.js} +77 -76
  42. package/es/{el-popover-694ded47.js → el-popover-6f075cee.js} +4 -4
  43. package/es/{el-popover-8735b1fa.cjs → el-popover-6f48d00b.cjs} +1 -1
  44. package/es/{el-popper-6126b1f6.js → el-popper-8dca8dd4.js} +4 -4
  45. package/es/{el-scrollbar-e0493906.js → el-scrollbar-906103f8.js} +1 -1
  46. package/es/{el-select-513126a5.js → el-select-6d6093eb.js} +10 -10
  47. package/es/el-table-column-26e7f13f.cjs +14 -0
  48. package/es/{el-table-column-3c920bdd.js → el-table-column-3f388c44.js} +15 -14
  49. package/es/{el-tag-5becabc9.js → el-tag-cdf0019e.js} +19 -19
  50. package/es/{index-7e40be25.js → index-53bce290.js} +3 -3
  51. package/es/index-669a0983.js +14 -0
  52. package/es/{index-048dca7e.js → index-6ced00c4.js} +1 -1
  53. package/es/index-c4649a37.cjs +3 -0
  54. package/es/{index-dc273ea2.cjs → index-d1b7c61e.cjs} +39 -39
  55. package/es/{index-57f8f7b9.js → index-f8e448bc.js} +5893 -5856
  56. package/es/{raf-07da7cdf.js → raf-b584bce8.js} +1 -1
  57. package/es/{refs-1b1fe6ca.js → refs-e1675167.js} +1 -1
  58. package/es/{scroll-3b521d81.js → scroll-25ec9230.js} +1 -1
  59. package/es/style.css +1 -1
  60. package/es/{use-form-common-props-f3a520d0.js → use-form-common-props-f7d2e83c.js} +18 -18
  61. package/es/use-global-config-8429db7d.js +72 -0
  62. package/es/{index-8a0b1c53.cjs → use-global-config-ac2dad80.cjs} +1 -3
  63. package/es/{vnode-25d7c2f5.js → vnode-699e61cb.js} +1 -1
  64. package/es/{zh-cn-74781bbd.js → zh-cn-61ca7f91.js} +2 -2
  65. package/es/{zh-cn-ab9a583d.cjs → zh-cn-a20960b5.cjs} +1 -1
  66. package/lib/bundle.js +1 -1
  67. package/lib/bundle.umd.cjs +213 -208
  68. package/lib/{index-62c62885.js → index-741ecbcc.js} +38391 -35484
  69. package/lib/{python-6cdad7a6.js → python-5a672b35.js} +1 -1
  70. package/lib/style.css +1 -1
  71. package/package.json +2 -2
  72. package/packages/KlineBasic/api.js +60 -0
  73. package/packages/KlineBasic/components/Contextmenu/index.vue +105 -0
  74. package/packages/KlineBasic/components/KlineSub/index.vue +297 -0
  75. package/packages/KlineBasic/components/KlineTips/index.vue +66 -0
  76. package/packages/KlineBasic/components/Tips/index.vue +33 -0
  77. package/packages/KlineBasic/index.ts +8 -0
  78. package/packages/KlineBasic/index.vue +565 -0
  79. package/packages/KlineBasic/utils.js +86 -0
  80. package/packages/VarietySearch/components/FactorScreen/index.vue +7 -7
  81. package/packages/index.ts +2 -0
  82. package/src/main.ts +2 -0
  83. package/src/pages/KlineBasic/api.js +45 -0
  84. package/src/pages/KlineBasic/index.vue +74 -0
  85. package/src/pages/KlineBasic/indicator.js +114 -0
  86. package/src/pages/VarietySearch/index.vue +3 -2
  87. package/src/router/routes.ts +5 -0
  88. package/es/config-provider-7cdfca4d.cjs +0 -1
  89. package/es/el-button-196807af.cjs +0 -1
  90. package/es/el-overlay-891dcc40.cjs +0 -1
  91. package/es/el-table-column-dd8b62aa.cjs +0 -14
  92. package/es/index-35117549.js +0 -81
@@ -1,119 +1,38 @@
1
- import { b as te, d as ue, u as ce, a as W, y as Ce, _ as oe, w as Re, i as ie, c as de, C as Te, e as rl, f as qe, v as De, j as Le, p as ul, h as be, m as il, D as dl } from "./base-f7877059.js";
2
- import { b as cl, E as pl, a as Fe, c as fl } from "./el-form-item-84099d46.js";
3
- import { b as ml, c as vl, E as gl, a as yl } from "./el-table-column-3c920bdd.js";
4
- import { defineComponent as J, computed as L, openBlock as i, createElementBlock as h, normalizeClass as B, unref as r, renderSlot as ee, createVNode as p, Transition as Ne, withCtx as g, withDirectives as pe, createElementVNode as V, normalizeStyle as _e, createTextVNode as N, toDisplayString as A, vShow as ze, ref as Y, inject as bl, isRef as Be, withModifiers as ne, vModelRadio as Pe, nextTick as Ge, onMounted as je, provide as kl, reactive as _l, toRefs as hl, watch as ae, shallowReactive as xl, createBlock as q, createCommentVNode as F, resolveDynamicComponent as Vl, Fragment as R, isVNode as Ae, render as Se, mergeModels as fe, useModel as me, renderList as z, pushScopeId as he, popScopeId as xe, createSlots as ge } from "vue";
5
- import { E as Ve } from "./el-overlay-69e9ae49.js";
6
- import { E as Ye } from "./el-input-fac5b401.js";
7
- import "./el-tag-5becabc9.js";
8
- import { E as He, a as Ke } from "./el-select-513126a5.js";
9
- import { b as Ol, a as Il } from "./el-scrollbar-e0493906.js";
10
- import { u as $l, E as wl } from "./el-popper-6126b1f6.js";
1
+ import { b as te, i as be, a as ke, c as _e, C as he, u as se, _ as ie, e as Ge, f as je, w as Ye, v as Oe } from "./base-a8f938bd.js";
2
+ import { b as Ae, E as Ke, a as Ie, c as Qe } from "./el-form-item-b686a8bb.js";
3
+ import { b as Je, c as He, E as We, a as Xe } from "./el-table-column-3f388c44.js";
4
+ import { ref as A, inject as Ze, computed as P, defineComponent as H, openBlock as o, createElementBlock as b, normalizeClass as Y, unref as m, createElementVNode as _, withDirectives as $e, isRef as we, withModifiers as ee, vModelRadio as Te, renderSlot as de, createTextVNode as F, toDisplayString as G, nextTick as Ce, normalizeStyle as el, onMounted as ll, provide as tl, reactive as nl, toRefs as al, watch as le, mergeModels as ne, useModel as ae, createBlock as D, withCtx as p, createVNode as u, Fragment as E, createCommentVNode as z, renderList as N, pushScopeId as ce, popScopeId as pe, createSlots as re } from "vue";
5
+ import { E as ve } from "./el-overlay-9245ec1e.js";
6
+ import { E as Se } from "./el-input-21e079e4.js";
7
+ import "./el-tag-cdf0019e.js";
8
+ import { E as Ue, a as Ee } from "./el-select-6d6093eb.js";
9
+ import "./el-scrollbar-906103f8.js";
10
+ import { u as ol, E as rl } from "./el-popper-8dca8dd4.js";
11
11
  import "./el-tooltip-4ed993c7.js";
12
- import { E as Qe } from "./el-button-802f579a.js";
13
- import { u as Je, a as Cl, b as Tl, d as Sl, e as El, j as Ml, f as Ee, E as ke, T as Ul, v as ye, i as Rl, w as ql } from "./use-form-common-props-f3a520d0.js";
14
- import { _ as Oe } from "./_plugin-vue_export-helper-dad06003.js";
15
- import { m as Dl } from "./typescript-7ae59c4c.js";
16
- import { a as Ll, u as Fl } from "./index-35117549.js";
17
- import { E as Nl } from "./index-048dca7e.js";
18
- import { m as Q } from "./config-provider-6479d795.js";
19
- import { E as Ze } from "./index-7e40be25.js";
20
- import { U as Ie, C as zl } from "./event-09e37cc8.js";
21
- import "./castArray-18f43497.js";
22
- import "./debounce-2336e546.js";
23
- import "./raf-07da7cdf.js";
24
- import "./vnode-25d7c2f5.js";
25
- import "./refs-1b1fe6ca.js";
26
- import "./scroll-3b521d81.js";
12
+ import { E as Re } from "./el-button-ce99c64e.js";
13
+ import { u as Me, a as ul, b as sl, d as il, e as dl, v as ue, i as cl, w as pl, E as vl } from "./use-form-common-props-f7d2e83c.js";
14
+ import { E as j } from "./el-message-fd827012.js";
15
+ import { _ as me } from "./_plugin-vue_export-helper-dad06003.js";
16
+ import { E as qe } from "./index-53bce290.js";
17
+ import { U as fe, C as ml } from "./event-09e37cc8.js";
18
+ import { u as fl } from "./index-669a0983.js";
19
+ import "./castArray-5c01dae1.js";
20
+ import "./use-global-config-8429db7d.js";
21
+ import "./debounce-edbff018.js";
22
+ import "./raf-b584bce8.js";
23
+ import "./vnode-699e61cb.js";
24
+ import "./index-6ced00c4.js";
25
+ import "./refs-e1675167.js";
26
+ import "./scroll-25ec9230.js";
27
+ import "./typescript-7ae59c4c.js";
27
28
  import "./index-657047bb.js";
28
- const Bl = te({
29
- value: {
30
- type: [String, Number],
31
- default: ""
32
- },
33
- max: {
34
- type: Number,
35
- default: 99
36
- },
37
- isDot: Boolean,
38
- hidden: Boolean,
39
- type: {
40
- type: String,
41
- values: ["primary", "success", "warning", "info", "danger"],
42
- default: "danger"
43
- },
44
- showZero: {
45
- type: Boolean,
46
- default: !0
47
- },
48
- color: String,
49
- badgeStyle: {
50
- type: ue([String, Object, Array])
51
- },
52
- offset: {
53
- type: ue(Array),
54
- default: [0, 0]
55
- },
56
- badgeClass: {
57
- type: String
58
- }
59
- }), Pl = J({
60
- name: "ElBadge"
61
- }), Gl = /* @__PURE__ */ J({
62
- ...Pl,
63
- props: Bl,
64
- setup(a, { expose: m }) {
65
- const l = a, n = ce("badge"), f = L(() => l.isDot ? "" : W(l.value) && W(l.max) ? l.max < l.value ? `${l.max}+` : `${l.value}` : `${l.value}`), C = L(() => {
66
- var o, t, w, E, b;
67
- return [
68
- {
69
- backgroundColor: l.color,
70
- marginRight: Ce(-((t = (o = l.offset) == null ? void 0 : o[0]) != null ? t : 0)),
71
- marginTop: Ce((E = (w = l.offset) == null ? void 0 : w[1]) != null ? E : 0)
72
- },
73
- (b = l.badgeStyle) != null ? b : {}
74
- ];
75
- });
76
- return m({
77
- content: f
78
- }), (o, t) => (i(), h("div", {
79
- class: B(r(n).b())
80
- }, [
81
- ee(o.$slots, "default"),
82
- p(Ne, {
83
- name: `${r(n).namespace.value}-zoom-in-center`,
84
- persisted: ""
85
- }, {
86
- default: g(() => [
87
- pe(V("sup", {
88
- class: B([
89
- r(n).e("content"),
90
- r(n).em("content", o.type),
91
- r(n).is("fixed", !!o.$slots.default),
92
- r(n).is("dot", o.isDot),
93
- r(n).is("hide-zero", !o.showZero && l.value === 0),
94
- o.badgeClass
95
- ]),
96
- style: _e(r(C))
97
- }, [
98
- ee(o.$slots, "content", { value: r(f) }, () => [
99
- N(A(r(f)), 1)
100
- ])
101
- ], 6), [
102
- [ze, !o.hidden && (r(f) || o.isDot || o.$slots.content)]
103
- ])
104
- ]),
105
- _: 3
106
- }, 8, ["name"])
107
- ], 2));
108
- }
109
- });
110
- var jl = /* @__PURE__ */ oe(Gl, [["__file", "badge.vue"]]);
111
- const Al = Re(jl), We = te({
29
+ import "./config-provider-d3edea8a.js";
30
+ const De = te({
112
31
  modelValue: {
113
32
  type: [String, Number, Boolean],
114
33
  default: void 0
115
34
  },
116
- size: Je,
35
+ size: Me,
117
36
  disabled: Boolean,
118
37
  label: {
119
38
  type: [String, Number, Boolean],
@@ -127,166 +46,166 @@ const Al = Re(jl), We = te({
127
46
  type: String,
128
47
  default: void 0
129
48
  }
130
- }), Yl = te({
131
- ...We,
49
+ }), yl = te({
50
+ ...De,
132
51
  border: Boolean
133
- }), Xe = {
134
- [Ie]: (a) => ie(a) || W(a) || de(a),
135
- [zl]: (a) => ie(a) || W(a) || de(a)
136
- }, el = Symbol("radioGroupKey"), ll = (a, m) => {
137
- const l = Y(), n = bl(el, void 0), f = L(() => !!n), C = L(() => Te(a.value) ? a.label : a.value), o = L({
52
+ }), Fe = {
53
+ [fe]: (d) => be(d) || ke(d) || _e(d),
54
+ [ml]: (d) => be(d) || ke(d) || _e(d)
55
+ }, Le = Symbol("radioGroupKey"), Ne = (d, V) => {
56
+ const k = A(), s = Ze(Le, void 0), x = P(() => !!s), R = P(() => he(d.value) ? d.label : d.value), i = P({
138
57
  get() {
139
- return f.value ? n.modelValue : a.modelValue;
58
+ return x.value ? s.modelValue : d.modelValue;
140
59
  },
141
- set(u) {
142
- f.value ? n.changeEvent(u) : m && m(Ie, u), l.value.checked = a.modelValue === C.value;
60
+ set(n) {
61
+ x.value ? s.changeEvent(n) : V && V(fe, n), k.value.checked = d.modelValue === R.value;
143
62
  }
144
- }), t = Cl(L(() => n == null ? void 0 : n.size)), w = Tl(L(() => n == null ? void 0 : n.disabled)), E = Y(!1), b = L(() => w.value || f.value && o.value !== C.value ? -1 : 0);
145
- return Ll({
63
+ }), l = ul(P(() => s == null ? void 0 : s.size)), S = sl(P(() => s == null ? void 0 : s.disabled)), M = A(!1), y = P(() => S.value || x.value && i.value !== R.value ? -1 : 0);
64
+ return fl({
146
65
  from: "label act as value",
147
66
  replacement: "value",
148
67
  version: "3.0.0",
149
68
  scope: "el-radio",
150
69
  ref: "https://element-plus.org/en-US/component/radio.html"
151
- }, L(() => f.value && Te(a.value))), {
152
- radioRef: l,
153
- isGroup: f,
154
- radioGroup: n,
155
- focus: E,
156
- size: t,
157
- disabled: w,
158
- tabIndex: b,
159
- modelValue: o,
160
- actualValue: C
70
+ }, P(() => x.value && he(d.value))), {
71
+ radioRef: k,
72
+ isGroup: x,
73
+ radioGroup: s,
74
+ focus: M,
75
+ size: l,
76
+ disabled: S,
77
+ tabIndex: y,
78
+ modelValue: i,
79
+ actualValue: R
161
80
  };
162
- }, Hl = J({
81
+ }, gl = H({
163
82
  name: "ElRadio"
164
- }), Kl = /* @__PURE__ */ J({
165
- ...Hl,
166
- props: Yl,
167
- emits: Xe,
168
- setup(a, { emit: m }) {
169
- const l = a, n = ce("radio"), { radioRef: f, radioGroup: C, focus: o, size: t, disabled: w, modelValue: E, actualValue: b } = ll(l, m);
170
- function u() {
171
- Ge(() => m("change", E.value));
83
+ }), bl = /* @__PURE__ */ H({
84
+ ...gl,
85
+ props: yl,
86
+ emits: Fe,
87
+ setup(d, { emit: V }) {
88
+ const k = d, s = se("radio"), { radioRef: x, radioGroup: R, focus: i, size: l, disabled: S, modelValue: M, actualValue: y } = Ne(k, V);
89
+ function n() {
90
+ Ce(() => V("change", M.value));
172
91
  }
173
- return (U, D) => {
174
- var c;
175
- return i(), h("label", {
176
- class: B([
177
- r(n).b(),
178
- r(n).is("disabled", r(w)),
179
- r(n).is("focus", r(o)),
180
- r(n).is("bordered", U.border),
181
- r(n).is("checked", r(E) === r(b)),
182
- r(n).m(r(t))
92
+ return (C, q) => {
93
+ var r;
94
+ return o(), b("label", {
95
+ class: Y([
96
+ m(s).b(),
97
+ m(s).is("disabled", m(S)),
98
+ m(s).is("focus", m(i)),
99
+ m(s).is("bordered", C.border),
100
+ m(s).is("checked", m(M) === m(y)),
101
+ m(s).m(m(l))
183
102
  ])
184
103
  }, [
185
- V("span", {
186
- class: B([
187
- r(n).e("input"),
188
- r(n).is("disabled", r(w)),
189
- r(n).is("checked", r(E) === r(b))
104
+ _("span", {
105
+ class: Y([
106
+ m(s).e("input"),
107
+ m(s).is("disabled", m(S)),
108
+ m(s).is("checked", m(M) === m(y))
190
109
  ])
191
110
  }, [
192
- pe(V("input", {
111
+ $e(_("input", {
193
112
  ref_key: "radioRef",
194
- ref: f,
195
- "onUpdate:modelValue": (e) => Be(E) ? E.value = e : null,
196
- class: B(r(n).e("original")),
197
- value: r(b),
198
- name: U.name || ((c = r(C)) == null ? void 0 : c.name),
199
- disabled: r(w),
200
- checked: r(E) === r(b),
113
+ ref: x,
114
+ "onUpdate:modelValue": (e) => we(M) ? M.value = e : null,
115
+ class: Y(m(s).e("original")),
116
+ value: m(y),
117
+ name: C.name || ((r = m(R)) == null ? void 0 : r.name),
118
+ disabled: m(S),
119
+ checked: m(M) === m(y),
201
120
  type: "radio",
202
- onFocus: (e) => o.value = !0,
203
- onBlur: (e) => o.value = !1,
204
- onChange: u,
205
- onClick: ne(() => {
121
+ onFocus: (e) => i.value = !0,
122
+ onBlur: (e) => i.value = !1,
123
+ onChange: n,
124
+ onClick: ee(() => {
206
125
  }, ["stop"])
207
126
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
208
- [Pe, r(E)]
127
+ [Te, m(M)]
209
128
  ]),
210
- V("span", {
211
- class: B(r(n).e("inner"))
129
+ _("span", {
130
+ class: Y(m(s).e("inner"))
212
131
  }, null, 2)
213
132
  ], 2),
214
- V("span", {
215
- class: B(r(n).e("label")),
216
- onKeydown: ne(() => {
133
+ _("span", {
134
+ class: Y(m(s).e("label")),
135
+ onKeydown: ee(() => {
217
136
  }, ["stop"])
218
137
  }, [
219
- ee(U.$slots, "default", {}, () => [
220
- N(A(U.label), 1)
138
+ de(C.$slots, "default", {}, () => [
139
+ F(G(C.label), 1)
221
140
  ])
222
141
  ], 42, ["onKeydown"])
223
142
  ], 2);
224
143
  };
225
144
  }
226
145
  });
227
- var Ql = /* @__PURE__ */ oe(Kl, [["__file", "radio.vue"]]);
228
- const Jl = te({
229
- ...We
230
- }), Zl = J({
146
+ var kl = /* @__PURE__ */ ie(bl, [["__file", "radio.vue"]]);
147
+ const _l = te({
148
+ ...De
149
+ }), hl = H({
231
150
  name: "ElRadioButton"
232
- }), Wl = /* @__PURE__ */ J({
233
- ...Zl,
234
- props: Jl,
235
- setup(a) {
236
- const m = a, l = ce("radio"), { radioRef: n, focus: f, size: C, disabled: o, modelValue: t, radioGroup: w, actualValue: E } = ll(m), b = L(() => ({
237
- backgroundColor: (w == null ? void 0 : w.fill) || "",
238
- borderColor: (w == null ? void 0 : w.fill) || "",
239
- boxShadow: w != null && w.fill ? `-1px 0 0 0 ${w.fill}` : "",
240
- color: (w == null ? void 0 : w.textColor) || ""
151
+ }), xl = /* @__PURE__ */ H({
152
+ ...hl,
153
+ props: _l,
154
+ setup(d) {
155
+ const V = d, k = se("radio"), { radioRef: s, focus: x, size: R, disabled: i, modelValue: l, radioGroup: S, actualValue: M } = Ne(V), y = P(() => ({
156
+ backgroundColor: (S == null ? void 0 : S.fill) || "",
157
+ borderColor: (S == null ? void 0 : S.fill) || "",
158
+ boxShadow: S != null && S.fill ? `-1px 0 0 0 ${S.fill}` : "",
159
+ color: (S == null ? void 0 : S.textColor) || ""
241
160
  }));
242
- return (u, U) => {
243
- var D;
244
- return i(), h("label", {
245
- class: B([
246
- r(l).b("button"),
247
- r(l).is("active", r(t) === r(E)),
248
- r(l).is("disabled", r(o)),
249
- r(l).is("focus", r(f)),
250
- r(l).bm("button", r(C))
161
+ return (n, C) => {
162
+ var q;
163
+ return o(), b("label", {
164
+ class: Y([
165
+ m(k).b("button"),
166
+ m(k).is("active", m(l) === m(M)),
167
+ m(k).is("disabled", m(i)),
168
+ m(k).is("focus", m(x)),
169
+ m(k).bm("button", m(R))
251
170
  ])
252
171
  }, [
253
- pe(V("input", {
172
+ $e(_("input", {
254
173
  ref_key: "radioRef",
255
- ref: n,
256
- "onUpdate:modelValue": (c) => Be(t) ? t.value = c : null,
257
- class: B(r(l).be("button", "original-radio")),
258
- value: r(E),
174
+ ref: s,
175
+ "onUpdate:modelValue": (r) => we(l) ? l.value = r : null,
176
+ class: Y(m(k).be("button", "original-radio")),
177
+ value: m(M),
259
178
  type: "radio",
260
- name: u.name || ((D = r(w)) == null ? void 0 : D.name),
261
- disabled: r(o),
262
- onFocus: (c) => f.value = !0,
263
- onBlur: (c) => f.value = !1,
264
- onClick: ne(() => {
179
+ name: n.name || ((q = m(S)) == null ? void 0 : q.name),
180
+ disabled: m(i),
181
+ onFocus: (r) => x.value = !0,
182
+ onBlur: (r) => x.value = !1,
183
+ onClick: ee(() => {
265
184
  }, ["stop"])
266
185
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
267
- [Pe, r(t)]
186
+ [Te, m(l)]
268
187
  ]),
269
- V("span", {
270
- class: B(r(l).be("button", "inner")),
271
- style: _e(r(t) === r(E) ? r(b) : {}),
272
- onKeydown: ne(() => {
188
+ _("span", {
189
+ class: Y(m(k).be("button", "inner")),
190
+ style: el(m(l) === m(M) ? m(y) : {}),
191
+ onKeydown: ee(() => {
273
192
  }, ["stop"])
274
193
  }, [
275
- ee(u.$slots, "default", {}, () => [
276
- N(A(u.label), 1)
194
+ de(n.$slots, "default", {}, () => [
195
+ F(G(n.label), 1)
277
196
  ])
278
197
  ], 46, ["onKeydown"])
279
198
  ], 2);
280
199
  };
281
200
  }
282
201
  });
283
- var tl = /* @__PURE__ */ oe(Wl, [["__file", "radio-button.vue"]]);
284
- const Xl = te({
202
+ var ze = /* @__PURE__ */ ie(xl, [["__file", "radio-button.vue"]]);
203
+ const Vl = te({
285
204
  id: {
286
205
  type: String,
287
206
  default: void 0
288
207
  },
289
- size: Je,
208
+ size: Me,
290
209
  disabled: Boolean,
291
210
  modelValue: {
292
211
  type: [String, Number, Boolean],
@@ -308,328 +227,49 @@ const Xl = te({
308
227
  type: Boolean,
309
228
  default: !0
310
229
  },
311
- ...$l(["ariaLabel"])
312
- }), et = Xe, lt = J({
230
+ ...ol(["ariaLabel"])
231
+ }), Ol = Fe, Il = H({
313
232
  name: "ElRadioGroup"
314
- }), tt = /* @__PURE__ */ J({
315
- ...lt,
316
- props: Xl,
317
- emits: et,
318
- setup(a, { emit: m }) {
319
- const l = a, n = ce("radio"), f = rl(), C = Y(), { formItem: o } = Sl(), { inputId: t, isLabeledByFormItem: w } = El(l, {
320
- formItemContext: o
321
- }), E = (u) => {
322
- m(Ie, u), Ge(() => m("change", u));
233
+ }), $l = /* @__PURE__ */ H({
234
+ ...Il,
235
+ props: Vl,
236
+ emits: Ol,
237
+ setup(d, { emit: V }) {
238
+ const k = d, s = se("radio"), x = Ge(), R = A(), { formItem: i } = il(), { inputId: l, isLabeledByFormItem: S } = dl(k, {
239
+ formItemContext: i
240
+ }), M = (n) => {
241
+ V(fe, n), Ce(() => V("change", n));
323
242
  };
324
- je(() => {
325
- const u = C.value.querySelectorAll("[type=radio]"), U = u[0];
326
- !Array.from(u).some((D) => D.checked) && U && (U.tabIndex = 0);
243
+ ll(() => {
244
+ const n = R.value.querySelectorAll("[type=radio]"), C = n[0];
245
+ !Array.from(n).some((q) => q.checked) && C && (C.tabIndex = 0);
327
246
  });
328
- const b = L(() => l.name || f.value);
329
- return kl(el, _l({
330
- ...hl(l),
331
- changeEvent: E,
332
- name: b
333
- })), ae(() => l.modelValue, () => {
334
- l.validateEvent && (o == null || o.validate("change").catch((u) => qe(u)));
335
- }), (u, U) => (i(), h("div", {
336
- id: r(t),
247
+ const y = P(() => k.name || x.value);
248
+ return tl(Le, nl({
249
+ ...al(k),
250
+ changeEvent: M,
251
+ name: y
252
+ })), le(() => k.modelValue, () => {
253
+ k.validateEvent && (i == null || i.validate("change").catch((n) => je(n)));
254
+ }), (n, C) => (o(), b("div", {
255
+ id: m(l),
337
256
  ref_key: "radioGroupRef",
338
- ref: C,
339
- class: B(r(n).b("group")),
257
+ ref: R,
258
+ class: Y(m(s).b("group")),
340
259
  role: "radiogroup",
341
- "aria-label": r(w) ? void 0 : u.ariaLabel || "radio-group",
342
- "aria-labelledby": r(w) ? r(o).labelId : void 0
260
+ "aria-label": m(S) ? void 0 : n.ariaLabel || "radio-group",
261
+ "aria-labelledby": m(S) ? m(i).labelId : void 0
343
262
  }, [
344
- ee(u.$slots, "default")
263
+ de(n.$slots, "default")
345
264
  ], 10, ["id", "aria-label", "aria-labelledby"]));
346
265
  }
347
266
  });
348
- var nl = /* @__PURE__ */ oe(tt, [["__file", "radio-group.vue"]]);
349
- const $e = Re(Ql, {
350
- RadioButton: tl,
351
- RadioGroup: nl
352
- }), we = De(nl), nt = De(tl), al = ["success", "info", "warning", "error"], G = Dl({
353
- customClass: "",
354
- center: !1,
355
- dangerouslyUseHTMLString: !1,
356
- duration: 3e3,
357
- icon: void 0,
358
- id: "",
359
- message: "",
360
- onClose: void 0,
361
- showClose: !1,
362
- type: "info",
363
- plain: !1,
364
- offset: 16,
365
- zIndex: 0,
366
- grouping: !1,
367
- repeatNum: 1,
368
- appendTo: Le ? document.body : void 0
369
- }), at = te({
370
- customClass: {
371
- type: String,
372
- default: G.customClass
373
- },
374
- center: {
375
- type: Boolean,
376
- default: G.center
377
- },
378
- dangerouslyUseHTMLString: {
379
- type: Boolean,
380
- default: G.dangerouslyUseHTMLString
381
- },
382
- duration: {
383
- type: Number,
384
- default: G.duration
385
- },
386
- icon: {
387
- type: Ml,
388
- default: G.icon
389
- },
390
- id: {
391
- type: String,
392
- default: G.id
393
- },
394
- message: {
395
- type: ue([
396
- String,
397
- Object,
398
- Function
399
- ]),
400
- default: G.message
401
- },
402
- onClose: {
403
- type: ue(Function),
404
- default: G.onClose
405
- },
406
- showClose: {
407
- type: Boolean,
408
- default: G.showClose
409
- },
410
- type: {
411
- type: String,
412
- values: al,
413
- default: G.type
414
- },
415
- plain: {
416
- type: Boolean,
417
- default: G.plain
418
- },
419
- offset: {
420
- type: Number,
421
- default: G.offset
422
- },
423
- zIndex: {
424
- type: Number,
425
- default: G.zIndex
426
- },
427
- grouping: {
428
- type: Boolean,
429
- default: G.grouping
430
- },
431
- repeatNum: {
432
- type: Number,
433
- default: G.repeatNum
434
- }
435
- }), ot = {
436
- destroy: () => !0
437
- }, K = xl([]), st = (a) => {
438
- const m = K.findIndex((f) => f.id === a), l = K[m];
439
- let n;
440
- return m > 0 && (n = K[m - 1]), { current: l, prev: n };
441
- }, rt = (a) => {
442
- const { prev: m } = st(a);
443
- return m ? m.vm.exposed.bottom.value : 0;
444
- }, ut = (a, m) => K.findIndex((n) => n.id === a) > 0 ? 16 : m, it = J({
445
- name: "ElMessage"
446
- }), dt = /* @__PURE__ */ J({
447
- ...it,
448
- props: at,
449
- emits: ot,
450
- setup(a, { expose: m }) {
451
- const l = a, { Close: n } = Ul, { ns: f, zIndex: C } = Fl("message"), { currentZIndex: o, nextZIndex: t } = C, w = Y(), E = Y(!1), b = Y(0);
452
- let u;
453
- const U = L(() => l.type ? l.type === "error" ? "danger" : l.type : "info"), D = L(() => {
454
- const v = l.type;
455
- return { [f.bm("icon", v)]: v && Ee[v] };
456
- }), c = L(() => l.icon || Ee[l.type] || ""), e = L(() => rt(l.id)), O = L(() => ut(l.id, l.offset) + e.value), _ = L(() => b.value + O.value), k = L(() => ({
457
- top: `${O.value}px`,
458
- zIndex: o.value
459
- }));
460
- function T() {
461
- l.duration !== 0 && ({ stop: u } = ul(() => {
462
- s();
463
- }, l.duration));
464
- }
465
- function $() {
466
- u == null || u();
467
- }
468
- function s() {
469
- E.value = !1;
470
- }
471
- function I({ code: v }) {
472
- v === Nl.esc && s();
473
- }
474
- return je(() => {
475
- T(), t(), E.value = !0;
476
- }), ae(() => l.repeatNum, () => {
477
- $(), T();
478
- }), Ol(document, "keydown", I), Il(w, () => {
479
- b.value = w.value.getBoundingClientRect().height;
480
- }), m({
481
- visible: E,
482
- bottom: _,
483
- close: s
484
- }), (v, y) => (i(), q(Ne, {
485
- name: r(f).b("fade"),
486
- onBeforeLeave: v.onClose,
487
- onAfterLeave: (j) => v.$emit("destroy"),
488
- persisted: ""
489
- }, {
490
- default: g(() => [
491
- pe(V("div", {
492
- id: v.id,
493
- ref_key: "messageRef",
494
- ref: w,
495
- class: B([
496
- r(f).b(),
497
- { [r(f).m(v.type)]: v.type },
498
- r(f).is("center", v.center),
499
- r(f).is("closable", v.showClose),
500
- r(f).is("plain", v.plain),
501
- v.customClass
502
- ]),
503
- style: _e(r(k)),
504
- role: "alert",
505
- onMouseenter: $,
506
- onMouseleave: T
507
- }, [
508
- v.repeatNum > 1 ? (i(), q(r(Al), {
509
- key: 0,
510
- value: v.repeatNum,
511
- type: r(U),
512
- class: B(r(f).e("badge"))
513
- }, null, 8, ["value", "type", "class"])) : F("v-if", !0),
514
- r(c) ? (i(), q(r(ke), {
515
- key: 1,
516
- class: B([r(f).e("icon"), r(D)])
517
- }, {
518
- default: g(() => [
519
- (i(), q(Vl(r(c))))
520
- ]),
521
- _: 1
522
- }, 8, ["class"])) : F("v-if", !0),
523
- ee(v.$slots, "default", {}, () => [
524
- v.dangerouslyUseHTMLString ? (i(), h(R, { key: 1 }, [
525
- F(" Caution here, message could've been compromised, never use user's input as message "),
526
- V("p", {
527
- class: B(r(f).e("content")),
528
- innerHTML: v.message
529
- }, null, 10, ["innerHTML"])
530
- ], 2112)) : (i(), h("p", {
531
- key: 0,
532
- class: B(r(f).e("content"))
533
- }, A(v.message), 3))
534
- ]),
535
- v.showClose ? (i(), q(r(ke), {
536
- key: 2,
537
- class: B(r(f).e("closeBtn")),
538
- onClick: ne(s, ["stop"])
539
- }, {
540
- default: g(() => [
541
- p(r(n))
542
- ]),
543
- _: 1
544
- }, 8, ["class", "onClick"])) : F("v-if", !0)
545
- ], 46, ["id"]), [
546
- [ze, E.value]
547
- ])
548
- ]),
549
- _: 3
550
- }, 8, ["name", "onBeforeLeave", "onAfterLeave"]));
551
- }
552
- });
553
- var ct = /* @__PURE__ */ oe(dt, [["__file", "message.vue"]]);
554
- let pt = 1;
555
- const ol = (a) => {
556
- const m = !a || ie(a) || Ae(a) || be(a) ? { message: a } : a, l = {
557
- ...G,
558
- ...m
559
- };
560
- if (!l.appendTo)
561
- l.appendTo = document.body;
562
- else if (ie(l.appendTo)) {
563
- let n = document.querySelector(l.appendTo);
564
- il(n) || (qe("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), n = document.body), l.appendTo = n;
565
- }
566
- return de(Q.grouping) && !l.grouping && (l.grouping = Q.grouping), W(Q.duration) && l.duration === 3e3 && (l.duration = Q.duration), W(Q.offset) && l.offset === 16 && (l.offset = Q.offset), de(Q.showClose) && !l.showClose && (l.showClose = Q.showClose), l;
567
- }, ft = (a) => {
568
- const m = K.indexOf(a);
569
- if (m === -1)
570
- return;
571
- K.splice(m, 1);
572
- const { handler: l } = a;
573
- l.close();
574
- }, mt = ({ appendTo: a, ...m }, l) => {
575
- const n = `message_${pt++}`, f = m.onClose, C = document.createElement("div"), o = {
576
- ...m,
577
- id: n,
578
- onClose: () => {
579
- f == null || f(), ft(b);
580
- },
581
- onDestroy: () => {
582
- Se(null, C);
583
- }
584
- }, t = p(ct, o, be(o.message) || Ae(o.message) ? {
585
- default: be(o.message) ? o.message : () => o.message
586
- } : null);
587
- t.appContext = l || le._context, Se(t, C), a.appendChild(C.firstElementChild);
588
- const w = t.component, b = {
589
- id: n,
590
- vnode: t,
591
- vm: w,
592
- handler: {
593
- close: () => {
594
- w.exposed.visible.value = !1;
595
- }
596
- },
597
- props: t.component.props
598
- };
599
- return b;
600
- }, le = (a = {}, m) => {
601
- if (!Le)
602
- return { close: () => {
603
- } };
604
- const l = ol(a);
605
- if (l.grouping && K.length) {
606
- const f = K.find(({ vnode: C }) => {
607
- var o;
608
- return ((o = C.props) == null ? void 0 : o.message) === l.message;
609
- });
610
- if (f)
611
- return f.props.repeatNum += 1, f.props.type = l.type, f.handler;
612
- }
613
- if (W(Q.max) && K.length >= Q.max)
614
- return { close: () => {
615
- } };
616
- const n = mt(l, m);
617
- return K.push(n), n.handler;
618
- };
619
- al.forEach((a) => {
620
- le[a] = (m = {}, l) => {
621
- const n = ol(m);
622
- return le({ ...n, type: a }, l);
623
- };
624
- });
625
- function vt(a) {
626
- for (const m of K)
627
- (!a || a === m.props.type) && m.handler.close();
628
- }
629
- le.closeAll = vt;
630
- le._context = null;
631
- const H = dl(le, "$message");
632
- const Me = {
267
+ var Pe = /* @__PURE__ */ ie($l, [["__file", "radio-group.vue"]]);
268
+ const ye = Ye(kl, {
269
+ RadioButton: ze,
270
+ RadioGroup: Pe
271
+ }), ge = Oe(Pe), wl = Oe(ze);
272
+ const xe = {
633
273
  // 品种市场 [选项: 前端默认]
634
274
  varietyMarket: {
635
275
  show: !0,
@@ -1154,49 +794,49 @@ const Me = {
1154
794
  }
1155
795
  ]
1156
796
  }
1157
- }, gt = (a, m, l) => {
1158
- !m[0] && m[0] !== 0 && !m[1] && m[1] !== 0 ? l(new Error("至少填写一个分数")) : l();
1159
- }, Ue = (a) => {
1160
- const m = /(条件(\d+))/g;
1161
- return a.match(m) || [];
1162
- }, yt = {
797
+ }, Tl = (d, V, k) => {
798
+ !V[0] && V[0] !== 0 && !V[1] && V[1] !== 0 ? k(new Error("至少填写一个分数")) : k();
799
+ }, Ve = (d) => {
800
+ const V = /(条件(\d+))/g;
801
+ return d.match(V) || [];
802
+ }, Cl = {
1163
803
  __name: "FactorDescription",
1164
- props: /* @__PURE__ */ fe({
804
+ props: /* @__PURE__ */ ne({
1165
805
  data: { type: Array, default: [] }
1166
806
  }, {
1167
807
  visible: { default: !1 },
1168
808
  visibleModifiers: {}
1169
809
  }),
1170
810
  emits: ["update:visible"],
1171
- setup(a) {
1172
- const m = me(a, "visible");
1173
- return (l, n) => {
1174
- const f = ml, C = vl, o = Ve;
1175
- return i(), q(o, {
1176
- modelValue: m.value,
1177
- "onUpdate:modelValue": n[0] || (n[0] = (t) => m.value = t),
811
+ setup(d) {
812
+ const V = ae(d, "visible");
813
+ return (k, s) => {
814
+ const x = Je, R = He, i = ve;
815
+ return o(), D(i, {
816
+ modelValue: V.value,
817
+ "onUpdate:modelValue": s[0] || (s[0] = (l) => V.value = l),
1178
818
  title: "因子使用说明",
1179
819
  width: "1000",
1180
820
  "align-center": "",
1181
821
  "destroy-on-close": ""
1182
822
  }, {
1183
- default: g(() => [
1184
- p(C, {
1185
- data: a.data,
823
+ default: p(() => [
824
+ u(R, {
825
+ data: d.data,
1186
826
  border: "",
1187
827
  height: "500"
1188
828
  }, {
1189
- default: g(() => [
1190
- p(f, {
829
+ default: p(() => [
830
+ u(x, {
1191
831
  prop: "factorName",
1192
832
  label: "因子名称",
1193
833
  width: "200"
1194
834
  }),
1195
- p(f, {
835
+ u(x, {
1196
836
  prop: "factorDesc",
1197
837
  label: "因子说明"
1198
838
  }),
1199
- p(f, {
839
+ u(x, {
1200
840
  prop: "factorScoreDefine",
1201
841
  label: "分值定义"
1202
842
  })
@@ -1209,9 +849,9 @@ const Me = {
1209
849
  };
1210
850
  }
1211
851
  };
1212
- const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "factor-screen" }, kt = { class: "custom-header" }, _t = ["id"], ht = { class: "form-row" }, xt = { class: "index" }, Vt = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Ot = /* @__PURE__ */ sl(() => /* @__PURE__ */ V("span", null, "~", -1)), It = /* @__PURE__ */ sl(() => /* @__PURE__ */ V("span", null, "&&代表and,||代表or", -1)), $t = { class: "dialog-footer" }, wt = {
852
+ const Be = (d) => (ce("data-v-ef576faa"), d = d(), pe(), d), Sl = { class: "factor-screen" }, Ul = { class: "custom-header" }, El = ["id"], Rl = { class: "form-row" }, Ml = { class: "index" }, ql = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Dl = /* @__PURE__ */ Be(() => /* @__PURE__ */ _("span", null, "~", -1)), Fl = /* @__PURE__ */ Be(() => /* @__PURE__ */ _("span", null, "&&代表and,||代表or", -1)), Ll = { class: "dialog-footer" }, Nl = {
1213
853
  __name: "index",
1214
- props: /* @__PURE__ */ fe({
854
+ props: /* @__PURE__ */ ne({
1215
855
  config: {
1216
856
  type: Object,
1217
857
  default: {
@@ -1240,12 +880,12 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
1240
880
  dataModifiers: {}
1241
881
  }),
1242
882
  emits: ["update:data"],
1243
- setup(a) {
1244
- const m = a, l = me(a, "data"), n = Y(!1), f = Y(!1), C = Y(null), o = Y({
883
+ setup(d) {
884
+ const V = d, k = ae(d, "data"), s = A(!1), x = A(!1), R = A(null), i = A({
1245
885
  // 筛选因子列表
1246
886
  list: [
1247
887
  {
1248
- cycle: m.config.cycleDefault ?? null,
888
+ cycle: V.config.cycleDefault ?? null,
1249
889
  // 周期
1250
890
  factor: null,
1251
891
  // 因子
@@ -1257,81 +897,81 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
1257
897
  sqlEnable: 0,
1258
898
  // SQL语句
1259
899
  sqlValue: null
1260
- }), t = () => {
1261
- const { list: c, sqlEnable: e, sqlValue: O } = l.value;
1262
- o.value = {
1263
- list: JSON.parse(JSON.stringify(c)),
900
+ }), l = () => {
901
+ const { list: r, sqlEnable: e, sqlValue: h } = k.value;
902
+ i.value = {
903
+ list: JSON.parse(JSON.stringify(r)),
1264
904
  sqlEnable: e,
1265
- sqlValue: O
1266
- }, o.value.list.length || b(), n.value = !0;
1267
- }, w = () => {
1268
- C.value.validate((c) => {
1269
- const { list: e, sqlEnable: O, sqlValue: _ } = o.value;
1270
- if (c) {
1271
- if (O) {
1272
- if (!_)
1273
- return H.error("SQL语句不能为空");
1274
- const k = Ue(_), T = e.map((s, I) => `条件${I + 1}`), $ = k.filter((s) => !T.includes(s));
1275
- if ($.length)
1276
- return H.error(`请检查SQL语句, 不存在[${$}]`);
905
+ sqlValue: h
906
+ }, i.value.list.length || y(), s.value = !0;
907
+ }, S = () => {
908
+ R.value.validate((r) => {
909
+ const { list: e, sqlEnable: h, sqlValue: g } = i.value;
910
+ if (r) {
911
+ if (h) {
912
+ if (!g)
913
+ return j.error("SQL语句不能为空");
914
+ const v = Ve(g), T = e.map((t, $) => `条件${$ + 1}`), w = v.filter((t) => !T.includes(t));
915
+ if (w.length)
916
+ return j.error(`请检查SQL语句, 不存在[${w}]`);
1277
917
  }
1278
- l.value = {
918
+ k.value = {
1279
919
  list: JSON.parse(JSON.stringify(e)),
1280
- sqlEnable: O,
1281
- sqlValue: _
1282
- }, n.value = !1;
920
+ sqlEnable: h,
921
+ sqlValue: g
922
+ }, s.value = !1;
1283
923
  }
1284
924
  });
1285
- }, E = (c) => {
1286
- o.value.list.splice(c, 1);
1287
- }, b = (c) => {
1288
- switch (c) {
925
+ }, M = (r) => {
926
+ i.value.list.splice(r, 1);
927
+ }, y = (r) => {
928
+ switch (r) {
1289
929
  case "compare": {
1290
- o.value.list.push({
930
+ i.value.list.push({
1291
931
  key: "compare",
1292
- cycle: m.config.cycleDefault ?? null,
932
+ cycle: V.config.cycleDefault ?? null,
1293
933
  factor: null,
1294
934
  compareType: ">",
1295
- cycle2: m.config.cycleDefault ?? null,
935
+ cycle2: V.config.cycleDefault ?? null,
1296
936
  factor2: null
1297
937
  });
1298
938
  break;
1299
939
  }
1300
940
  default: {
1301
- o.value.list.push({
1302
- cycle: m.config.cycleDefault ?? null,
941
+ i.value.list.push({
942
+ cycle: V.config.cycleDefault ?? null,
1303
943
  factor: null,
1304
944
  score: [null, null]
1305
945
  });
1306
946
  break;
1307
947
  }
1308
948
  }
1309
- }, u = () => {
1310
- C.value.validate((c) => {
1311
- if (c)
1312
- if (o.value.sqlValue) {
1313
- const e = Ue(o.value.sqlValue);
1314
- o.value.sqlValue = o.value.list.reduce((O, _, k) => (e.includes(`条件${k + 1}`) || (O += `&& 条件${k + 1} `), O), o.value.sqlValue);
949
+ }, n = () => {
950
+ R.value.validate((r) => {
951
+ if (r)
952
+ if (i.value.sqlValue) {
953
+ const e = Ve(i.value.sqlValue);
954
+ i.value.sqlValue = i.value.list.reduce((h, g, v) => (e.includes(`条件${v + 1}`) || (h += `&& 条件${v + 1} `), h), i.value.sqlValue);
1315
955
  } else
1316
- o.value.sqlValue = o.value.list.reduce((e, O, _) => (_ === 0 ? e += `条件${_ + 1} ` : e += `&& 条件${_ + 1} `, e), "");
956
+ i.value.sqlValue = i.value.list.reduce((e, h, g) => (g === 0 ? e += `条件${g + 1} ` : e += `&& 条件${g + 1} `, e), "");
1317
957
  });
1318
- }, U = (c) => {
1319
- switch (c.key) {
958
+ }, C = (r) => {
959
+ switch (r.key) {
1320
960
  case "compare": {
1321
- const { cycle: e, factor: O, compareType: _, cycle2: k, factor2: T } = c;
1322
- let $ = "";
1323
- return $ += ` ${m.config.cycleOptions.find(({ value: s }) => s === e).label}`, $ += ` ${m.config.factorOptions.find(({ value: s }) => s === O).label}`, $ += ` ${_}`, $ += ` ${m.config.cycleOptions.find(({ value: s }) => s === k).label}`, $ += ` ${m.config.factorOptions.find(({ value: s }) => s === T).label}`, $;
961
+ const { cycle: e, factor: h, compareType: g, cycle2: v, factor2: T } = r;
962
+ let w = "";
963
+ return w += ` ${V.config.cycleOptions.find(({ value: t }) => t === e).label}`, w += ` ${V.config.factorOptions.find(({ value: t }) => t === h).label}`, w += ` ${g}`, w += ` ${V.config.cycleOptions.find(({ value: t }) => t === v).label}`, w += ` ${V.config.factorOptions.find(({ value: t }) => t === T).label}`, w;
1324
964
  }
1325
965
  default: {
1326
- const { cycle: e, factor: O, score: _ } = c;
1327
- let k = "";
1328
- return k += ` ${m.config.cycleOptions.find(({ value: T }) => T === e).label}`, k += ` ${m.config.factorOptions.find(({ value: T }) => T === O).label}`, k += ` ${_[0] || _[0] === 0 ? `${_[0]}分` : "∞"}`, k += " ~", k += ` ${_[1] || _[1] === 0 ? `${_[1]}分` : "∞"}`, k;
966
+ const { cycle: e, factor: h, score: g } = r;
967
+ let v = "";
968
+ return v += ` ${V.config.cycleOptions.find(({ value: T }) => T === e).label}`, v += ` ${V.config.factorOptions.find(({ value: T }) => T === h).label}`, v += ` ${g[0] || g[0] === 0 ? `${g[0]}分` : "∞"}`, v += " ~", v += ` ${g[1] || g[1] === 0 ? `${g[1]}分` : "∞"}`, v;
1329
969
  }
1330
970
  }
1331
- }, D = (c, e) => {
1332
- switch (c) {
971
+ }, q = (r, e) => {
972
+ switch (r) {
1333
973
  case "sqlTag": {
1334
- l.value = {
974
+ k.value = {
1335
975
  list: [],
1336
976
  sqlEnable: 0,
1337
977
  sqlValue: null
@@ -1339,85 +979,86 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
1339
979
  break;
1340
980
  }
1341
981
  case "factorTag": {
1342
- l.value.list.splice(e, 1);
982
+ k.value.list.splice(e, 1);
1343
983
  break;
1344
984
  }
1345
985
  }
1346
986
  };
1347
- return (c, e) => {
1348
- const O = cl, _ = Ze, k = Qe, T = ke, $ = wl, s = He, I = Ke, v = pl, y = Fe, j = $e, d = we, Z = Ye, X = fl, re = Ve;
1349
- return i(), h(R, null, [
1350
- V("div", bt, [
1351
- V("div", null, [
1352
- l.value.sqlEnable && l.value.sqlValue ? (i(), q(_, {
987
+ return (r, e) => {
988
+ var Z;
989
+ const h = Ae, g = qe, v = Re, T = vl, w = rl, t = Ue, $ = Ee, O = Ke, c = Ie, B = ye, a = ge, Q = Se, J = Qe, X = ve;
990
+ return o(), b(E, null, [
991
+ _("div", Sl, [
992
+ _("div", null, [
993
+ k.value.sqlEnable && k.value.sqlValue ? (o(), D(g, {
1353
994
  key: 0,
1354
995
  closable: "",
1355
996
  type: "info",
1356
- title: l.value.sqlValue,
1357
- onClose: e[0] || (e[0] = (S) => D("sqlTag"))
997
+ title: k.value.sqlValue,
998
+ onClose: e[0] || (e[0] = (I) => q("sqlTag"))
1358
999
  }, {
1359
- default: g(() => [
1360
- p(O, {
1000
+ default: p(() => [
1001
+ u(h, {
1361
1002
  type: "info",
1362
1003
  truncated: "",
1363
1004
  style: { "max-width": "500px" }
1364
1005
  }, {
1365
- default: g(() => [
1366
- N(A(l.value.sqlValue), 1)
1006
+ default: p(() => [
1007
+ F(G(k.value.sqlValue), 1)
1367
1008
  ]),
1368
1009
  _: 1
1369
1010
  })
1370
1011
  ]),
1371
1012
  _: 1
1372
- }, 8, ["title"])) : F("", !0),
1373
- !l.value.sqlEnable && l.value.list.length ? (i(!0), h(R, { key: 1 }, z(l.value.list, (S, P) => (i(), q(_, {
1013
+ }, 8, ["title"])) : z("", !0),
1014
+ !k.value.sqlEnable && k.value.list.length ? (o(!0), b(E, { key: 1 }, N(k.value.list, (I, U) => (o(), D(g, {
1374
1015
  closable: "",
1375
1016
  type: "info",
1376
- onClose: (x) => D("factorTag", P)
1017
+ onClose: (f) => q("factorTag", U)
1377
1018
  }, {
1378
- default: g(() => [
1379
- N(A(U(S)), 1)
1019
+ default: p(() => [
1020
+ F(G(C(I)), 1)
1380
1021
  ]),
1381
1022
  _: 2
1382
- }, 1032, ["onClose"]))), 256)) : F("", !0),
1383
- p(k, {
1023
+ }, 1032, ["onClose"]))), 256)) : z("", !0),
1024
+ u(v, {
1384
1025
  class: "screen-btn",
1385
1026
  type: "primary",
1386
1027
  plain: "",
1387
1028
  size: "small",
1388
- icon: r(ye),
1389
- onClick: t
1029
+ icon: m(ue),
1030
+ onClick: l
1390
1031
  }, {
1391
- default: g(() => [
1392
- N(" 添加因子 ")
1032
+ default: p(() => [
1033
+ F(" 添加因子 ")
1393
1034
  ]),
1394
1035
  _: 1
1395
1036
  }, 8, ["icon"])
1396
1037
  ]),
1397
- p(re, {
1398
- modelValue: n.value,
1399
- "onUpdate:modelValue": e[5] || (e[5] = (S) => n.value = S),
1038
+ u(X, {
1039
+ modelValue: s.value,
1040
+ "onUpdate:modelValue": e[5] || (e[5] = (I) => s.value = I),
1400
1041
  width: "602",
1401
1042
  "align-center": "",
1402
1043
  "destroy-on-close": ""
1403
1044
  }, {
1404
- header: g(({ titleId: S, titleClass: P }) => [
1405
- V("div", kt, [
1406
- V("span", {
1407
- id: S,
1408
- class: B(P)
1409
- }, " 因子筛选 ", 10, _t),
1410
- p($, {
1045
+ header: p(({ titleId: I, titleClass: U }) => [
1046
+ _("div", Ul, [
1047
+ _("span", {
1048
+ id: I,
1049
+ class: Y(U)
1050
+ }, " 因子筛选 ", 10, El),
1051
+ u(w, {
1411
1052
  effect: "dark",
1412
1053
  content: "点击查看: 因子使用说明",
1413
1054
  placement: "right"
1414
1055
  }, {
1415
- default: g(() => [
1416
- p(T, {
1417
- onClick: e[1] || (e[1] = (x) => f.value = !0)
1056
+ default: p(() => [
1057
+ u(T, {
1058
+ onClick: e[1] || (e[1] = (f) => x.value = !0)
1418
1059
  }, {
1419
- default: g(() => [
1420
- p(r(Rl))
1060
+ default: p(() => [
1061
+ u(m(cl))
1421
1062
  ]),
1422
1063
  _: 1
1423
1064
  })
@@ -1426,92 +1067,95 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
1426
1067
  })
1427
1068
  ])
1428
1069
  ]),
1429
- footer: g(() => [
1430
- V("div", $t, [
1431
- p(k, {
1070
+ footer: p(() => [
1071
+ _("div", Ll, [
1072
+ u(v, {
1432
1073
  type: "primary",
1433
- onClick: w
1074
+ onClick: S
1434
1075
  }, {
1435
- default: g(() => [
1436
- N("确定")
1076
+ default: p(() => [
1077
+ F("确定")
1437
1078
  ]),
1438
1079
  _: 1
1439
1080
  })
1440
1081
  ])
1441
1082
  ]),
1442
- default: g(() => [
1443
- p(X, {
1083
+ default: p(() => [
1084
+ u(J, {
1444
1085
  ref_key: "dialogFormRef",
1445
- ref: C,
1446
- model: o.value
1086
+ ref: R,
1087
+ model: i.value
1447
1088
  }, {
1448
- default: g(() => [
1449
- (i(!0), h(R, null, z(o.value.list, (S, P) => (i(), h("div", ht, [
1450
- V("span", xt, A(`条件${P + 1}`), 1),
1451
- S.key === "compare" ? (i(), h(R, { key: 0 }, [
1452
- a.config.cycleShow ? (i(), q(v, {
1089
+ default: p(() => [
1090
+ (o(!0), b(E, null, N(i.value.list, (I, U) => (o(), b("div", Rl, [
1091
+ _("span", Ml, G(`条件${U + 1}`), 1),
1092
+ I.key === "compare" ? (o(), b(E, { key: 0 }, [
1093
+ d.config.cycleShow ? (o(), D(O, {
1453
1094
  key: 0,
1454
- prop: "list." + P + ".cycle",
1095
+ prop: "list." + U + ".cycle",
1455
1096
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1456
1097
  style: { width: "100px", "margin-right": "10px" }
1457
1098
  }, {
1458
- default: g(() => [
1459
- p(I, {
1460
- modelValue: S.cycle,
1461
- "onUpdate:modelValue": (x) => S.cycle = x,
1099
+ default: p(() => [
1100
+ u($, {
1101
+ modelValue: I.cycle,
1102
+ "onUpdate:modelValue": (f) => I.cycle = f,
1462
1103
  placeholder: "选择周期",
1463
1104
  size: "small"
1464
1105
  }, {
1465
- default: g(() => [
1466
- (i(!0), h(R, null, z(a.config.cycleOptions, ({ label: x, value: M }) => (i(), q(s, {
1467
- label: x,
1468
- value: M,
1469
- key: M
1106
+ default: p(() => [
1107
+ (o(!0), b(E, null, N(d.config.cycleOptions, ({ label: f, value: L }) => (o(), D(t, {
1108
+ label: f,
1109
+ value: L,
1110
+ key: L
1470
1111
  }, null, 8, ["label", "value"]))), 128))
1471
1112
  ]),
1472
1113
  _: 2
1473
1114
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1474
1115
  ]),
1475
1116
  _: 2
1476
- }, 1032, ["prop"])) : F("", !0),
1477
- p(v, {
1478
- prop: "list." + P + ".factor",
1117
+ }, 1032, ["prop"])) : z("", !0),
1118
+ u(O, {
1119
+ prop: "list." + U + ".factor",
1479
1120
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1480
1121
  style: { width: "100px", "margin-right": "10px" }
1481
1122
  }, {
1482
- default: g(() => [
1483
- p(I, {
1484
- modelValue: S.factor,
1485
- "onUpdate:modelValue": (x) => S.factor = x,
1123
+ default: p(() => [
1124
+ u($, {
1125
+ modelValue: I.factor,
1126
+ "onUpdate:modelValue": (f) => I.factor = f,
1486
1127
  placeholder: "选择因子",
1487
1128
  filterable: "",
1488
1129
  size: "small",
1489
1130
  "no-match-text": "无匹配数据"
1490
1131
  }, {
1491
- default: g(() => [
1492
- (i(!0), h(R, null, z(a.config.factorOptions, ({ label: x, value: M }) => (i(), q(s, {
1493
- label: x,
1494
- value: M,
1495
- key: M
1496
- }, null, 8, ["label", "value"]))), 128))
1497
- ]),
1132
+ default: p(() => {
1133
+ var f;
1134
+ return [
1135
+ (o(!0), b(E, null, N((f = d.config.factorOptions) == null ? void 0 : f.filter((L) => [4].includes(L.type)), ({ label: L, value: K }) => (o(), D(t, {
1136
+ label: L,
1137
+ value: K,
1138
+ key: K
1139
+ }, null, 8, ["label", "value"]))), 128))
1140
+ ];
1141
+ }),
1498
1142
  _: 2
1499
1143
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1500
1144
  ]),
1501
1145
  _: 2
1502
1146
  }, 1032, ["prop"]),
1503
- p(v, { style: { width: "52px", "margin-right": "10px" } }, {
1504
- default: g(() => [
1505
- p(I, {
1506
- modelValue: S.compareType,
1507
- "onUpdate:modelValue": (x) => S.compareType = x,
1147
+ u(O, { style: { width: "52px", "margin-right": "10px" } }, {
1148
+ default: p(() => [
1149
+ u($, {
1150
+ modelValue: I.compareType,
1151
+ "onUpdate:modelValue": (f) => I.compareType = f,
1508
1152
  size: "small"
1509
1153
  }, {
1510
- default: g(() => [
1511
- (i(), h(R, null, z([">", ">=", "<", "<="], (x) => p(s, {
1512
- label: x,
1513
- value: x,
1514
- key: x
1154
+ default: p(() => [
1155
+ (o(), b(E, null, N([">", ">=", "<", "<="], (f) => u(t, {
1156
+ label: f,
1157
+ value: f,
1158
+ key: f
1515
1159
  }, null, 8, ["label", "value"])), 64))
1516
1160
  ]),
1517
1161
  _: 2
@@ -1519,126 +1163,132 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
1519
1163
  ]),
1520
1164
  _: 2
1521
1165
  }, 1024),
1522
- a.config.cycleShow ? (i(), q(v, {
1166
+ d.config.cycleShow ? (o(), D(O, {
1523
1167
  key: 1,
1524
- prop: "list." + P + ".cycle2",
1168
+ prop: "list." + U + ".cycle2",
1525
1169
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1526
1170
  style: { width: "100px", "margin-right": "10px" }
1527
1171
  }, {
1528
- default: g(() => [
1529
- p(I, {
1530
- modelValue: S.cycle2,
1531
- "onUpdate:modelValue": (x) => S.cycle2 = x,
1172
+ default: p(() => [
1173
+ u($, {
1174
+ modelValue: I.cycle2,
1175
+ "onUpdate:modelValue": (f) => I.cycle2 = f,
1532
1176
  placeholder: "选择周期",
1533
1177
  size: "small"
1534
1178
  }, {
1535
- default: g(() => [
1536
- (i(!0), h(R, null, z(a.config.cycleOptions, ({ label: x, value: M }) => (i(), q(s, {
1537
- label: x,
1538
- value: M,
1539
- key: M
1179
+ default: p(() => [
1180
+ (o(!0), b(E, null, N(d.config.cycleOptions, ({ label: f, value: L }) => (o(), D(t, {
1181
+ label: f,
1182
+ value: L,
1183
+ key: L
1540
1184
  }, null, 8, ["label", "value"]))), 128))
1541
1185
  ]),
1542
1186
  _: 2
1543
1187
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1544
1188
  ]),
1545
1189
  _: 2
1546
- }, 1032, ["prop"])) : F("", !0),
1547
- p(v, {
1548
- prop: "list." + P + ".factor2",
1190
+ }, 1032, ["prop"])) : z("", !0),
1191
+ u(O, {
1192
+ prop: "list." + U + ".factor2",
1549
1193
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1550
1194
  style: { width: "100px", "margin-right": "10px" }
1551
1195
  }, {
1552
- default: g(() => [
1553
- p(I, {
1554
- modelValue: S.factor2,
1555
- "onUpdate:modelValue": (x) => S.factor2 = x,
1196
+ default: p(() => [
1197
+ u($, {
1198
+ modelValue: I.factor2,
1199
+ "onUpdate:modelValue": (f) => I.factor2 = f,
1556
1200
  placeholder: "选择因子",
1557
1201
  filterable: "",
1558
1202
  size: "small",
1559
1203
  "no-match-text": "无匹配数据"
1560
1204
  }, {
1561
- default: g(() => [
1562
- (i(!0), h(R, null, z(a.config.factorOptions, ({ label: x, value: M }) => (i(), q(s, {
1563
- label: x,
1564
- value: M,
1565
- key: M
1566
- }, null, 8, ["label", "value"]))), 128))
1567
- ]),
1205
+ default: p(() => {
1206
+ var f;
1207
+ return [
1208
+ (o(!0), b(E, null, N((f = d.config.factorOptions) == null ? void 0 : f.filter((L) => [4].includes(L.type)), ({ label: L, value: K }) => (o(), D(t, {
1209
+ label: L,
1210
+ value: K,
1211
+ key: K
1212
+ }, null, 8, ["label", "value"]))), 128))
1213
+ ];
1214
+ }),
1568
1215
  _: 2
1569
1216
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1570
1217
  ]),
1571
1218
  _: 2
1572
1219
  }, 1032, ["prop"])
1573
- ], 64)) : (i(), h(R, { key: 1 }, [
1574
- a.config.cycleShow ? (i(), q(v, {
1220
+ ], 64)) : (o(), b(E, { key: 1 }, [
1221
+ d.config.cycleShow ? (o(), D(O, {
1575
1222
  key: 0,
1576
- prop: "list." + P + ".cycle",
1223
+ prop: "list." + U + ".cycle",
1577
1224
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1578
1225
  style: { width: "100px", "margin-right": "10px" }
1579
1226
  }, {
1580
- default: g(() => [
1581
- p(I, {
1582
- modelValue: S.cycle,
1583
- "onUpdate:modelValue": (x) => S.cycle = x,
1227
+ default: p(() => [
1228
+ u($, {
1229
+ modelValue: I.cycle,
1230
+ "onUpdate:modelValue": (f) => I.cycle = f,
1584
1231
  placeholder: "选择周期",
1585
1232
  size: "small"
1586
1233
  }, {
1587
- default: g(() => [
1588
- (i(!0), h(R, null, z(a.config.cycleOptions, ({ label: x, value: M }) => (i(), q(s, {
1589
- label: x,
1590
- value: M,
1591
- key: M
1234
+ default: p(() => [
1235
+ (o(!0), b(E, null, N(d.config.cycleOptions, ({ label: f, value: L }) => (o(), D(t, {
1236
+ label: f,
1237
+ value: L,
1238
+ key: L
1592
1239
  }, null, 8, ["label", "value"]))), 128))
1593
1240
  ]),
1594
1241
  _: 2
1595
1242
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1596
1243
  ]),
1597
1244
  _: 2
1598
- }, 1032, ["prop"])) : F("", !0),
1599
- p(v, {
1600
- prop: "list." + P + ".factor",
1245
+ }, 1032, ["prop"])) : z("", !0),
1246
+ u(O, {
1247
+ prop: "list." + U + ".factor",
1601
1248
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1602
1249
  style: { width: "100px", "margin-right": "10px" }
1603
1250
  }, {
1604
- default: g(() => [
1605
- p(I, {
1606
- modelValue: S.factor,
1607
- "onUpdate:modelValue": (x) => S.factor = x,
1251
+ default: p(() => [
1252
+ u($, {
1253
+ modelValue: I.factor,
1254
+ "onUpdate:modelValue": (f) => I.factor = f,
1608
1255
  placeholder: "选择因子",
1609
1256
  filterable: "",
1610
1257
  size: "small",
1611
1258
  "no-match-text": "无匹配数据"
1612
1259
  }, {
1613
- default: g(() => [
1614
- (i(!0), h(R, null, z(a.config.factorOptions, ({ label: x, value: M }) => (i(), q(s, {
1615
- label: x,
1616
- value: M,
1617
- key: M
1618
- }, null, 8, ["label", "value"]))), 128))
1619
- ]),
1260
+ default: p(() => {
1261
+ var f;
1262
+ return [
1263
+ (o(!0), b(E, null, N((f = d.config.factorOptions) == null ? void 0 : f.filter((L) => [1, 3].includes(L.type)), ({ label: L, value: K }) => (o(), D(t, {
1264
+ label: L,
1265
+ value: K,
1266
+ key: K
1267
+ }, null, 8, ["label", "value"]))), 128))
1268
+ ];
1269
+ }),
1620
1270
  _: 2
1621
1271
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1622
1272
  ]),
1623
1273
  _: 2
1624
1274
  }, 1032, ["prop"]),
1625
- p(v, {
1626
- prop: "list." + P + ".score",
1627
- rules: { validator: r(gt), trigger: "blur" },
1275
+ u(O, {
1276
+ prop: "list." + U + ".score",
1277
+ rules: { validator: m(Tl), trigger: "blur" },
1628
1278
  style: { width: "200px", "margin-right": "10px" }
1629
1279
  }, {
1630
- default: g(() => [
1631
- V("div", Vt, [
1632
- p(y, {
1633
- modelValue: S.score[0],
1634
- "onUpdate:modelValue": (x) => S.score[0] = x,
1280
+ default: p(() => [
1281
+ _("div", ql, [
1282
+ u(c, {
1283
+ modelValue: I.score[0],
1284
+ "onUpdate:modelValue": (f) => I.score[0] = f,
1635
1285
  size: "small",
1636
1286
  "controls-position": "right"
1637
1287
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1638
- Ot,
1639
- p(y, {
1640
- modelValue: S.score[1],
1641
- "onUpdate:modelValue": (x) => S.score[1] = x,
1288
+ Dl,
1289
+ u(c, {
1290
+ modelValue: I.score[1],
1291
+ "onUpdate:modelValue": (f) => I.score[1] = f,
1642
1292
  size: "small",
1643
1293
  "controls-position": "right"
1644
1294
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -1647,86 +1297,86 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
1647
1297
  _: 2
1648
1298
  }, 1032, ["prop", "rules"])
1649
1299
  ], 64)),
1650
- p(T, {
1651
- onClick: (x) => E(P)
1300
+ u(T, {
1301
+ onClick: (f) => M(U)
1652
1302
  }, {
1653
- default: g(() => [
1654
- p(r(ql))
1303
+ default: p(() => [
1304
+ u(m(pl))
1655
1305
  ]),
1656
1306
  _: 2
1657
1307
  }, 1032, ["onClick"])
1658
1308
  ]))), 256)),
1659
- p(k, {
1309
+ u(v, {
1660
1310
  type: "primary",
1661
1311
  plain: "",
1662
1312
  size: "small",
1663
- icon: r(ye),
1664
- onClick: b,
1313
+ icon: m(ue),
1314
+ onClick: y,
1665
1315
  style: { "margin-bottom": "10px" }
1666
1316
  }, {
1667
- default: g(() => [
1668
- N("添加因子")
1317
+ default: p(() => [
1318
+ F("添加因子")
1669
1319
  ]),
1670
1320
  _: 1
1671
1321
  }, 8, ["icon"]),
1672
- p(k, {
1322
+ u(v, {
1673
1323
  type: "primary",
1674
1324
  plain: "",
1675
1325
  size: "small",
1676
- icon: r(ye),
1677
- onClick: e[2] || (e[2] = (S) => b("compare")),
1326
+ icon: m(ue),
1327
+ onClick: e[2] || (e[2] = (I) => y("compare")),
1678
1328
  style: { "margin-bottom": "10px" }
1679
1329
  }, {
1680
- default: g(() => [
1681
- N("添加因子对比")
1330
+ default: p(() => [
1331
+ F("添加因子对比")
1682
1332
  ]),
1683
1333
  _: 1
1684
1334
  }, 8, ["icon"]),
1685
- a.config.sqlShow ? (i(), h(R, { key: 0 }, [
1686
- p(v, { label: "SQL功能: " }, {
1687
- default: g(() => [
1688
- p(d, {
1689
- modelValue: o.value.sqlEnable,
1690
- "onUpdate:modelValue": e[3] || (e[3] = (S) => o.value.sqlEnable = S)
1335
+ d.config.sqlShow ? (o(), b(E, { key: 0 }, [
1336
+ u(O, { label: "SQL功能: " }, {
1337
+ default: p(() => [
1338
+ u(a, {
1339
+ modelValue: i.value.sqlEnable,
1340
+ "onUpdate:modelValue": e[3] || (e[3] = (I) => i.value.sqlEnable = I)
1691
1341
  }, {
1692
- default: g(() => [
1693
- p(j, {
1342
+ default: p(() => [
1343
+ u(B, {
1694
1344
  label: "关闭",
1695
1345
  value: 0
1696
1346
  }),
1697
- p(j, {
1347
+ u(B, {
1698
1348
  label: "启用",
1699
1349
  value: 1
1700
1350
  })
1701
1351
  ]),
1702
1352
  _: 1
1703
1353
  }, 8, ["modelValue"]),
1704
- o.value.sqlEnable ? (i(), q(k, {
1354
+ i.value.sqlEnable ? (o(), D(v, {
1705
1355
  key: 0,
1706
1356
  type: "primary",
1707
1357
  size: "small",
1708
- onClick: u,
1358
+ onClick: n,
1709
1359
  style: { "margin-left": "auto" }
1710
1360
  }, {
1711
- default: g(() => [
1712
- N("生成SQL")
1361
+ default: p(() => [
1362
+ F("生成SQL")
1713
1363
  ]),
1714
1364
  _: 1
1715
- })) : F("", !0)
1365
+ })) : z("", !0)
1716
1366
  ]),
1717
1367
  _: 1
1718
1368
  }),
1719
- o.value.sqlEnable ? (i(), h(R, { key: 0 }, [
1720
- p(Z, {
1721
- modelValue: o.value.sqlValue,
1722
- "onUpdate:modelValue": e[4] || (e[4] = (S) => o.value.sqlValue = S),
1369
+ i.value.sqlEnable ? (o(), b(E, { key: 0 }, [
1370
+ u(Q, {
1371
+ modelValue: i.value.sqlValue,
1372
+ "onUpdate:modelValue": e[4] || (e[4] = (I) => i.value.sqlValue = I),
1723
1373
  autosize: { minRows: 4 },
1724
1374
  type: "textarea",
1725
1375
  style: { "margin-bottom": "10px" }
1726
1376
  }, null, 8, ["modelValue"]),
1727
- It
1728
- ], 64)) : F("", !0)
1729
- ], 64)) : F("", !0)
1377
+ Fl
1378
+ ], 64)) : z("", !0)
1379
+ ], 64)) : z("", !0)
1730
1380
  ]),
1731
1381
  _: 1
1732
1382
  }, 8, ["model"])
@@ -1734,30 +1384,30 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
1734
1384
  _: 1
1735
1385
  }, 8, ["modelValue"])
1736
1386
  ]),
1737
- p(yt, {
1738
- visible: f.value,
1739
- "onUpdate:visible": e[6] || (e[6] = (S) => f.value = S),
1740
- data: a.config.factorDescriptions
1387
+ u(Cl, {
1388
+ visible: x.value,
1389
+ "onUpdate:visible": e[6] || (e[6] = (I) => x.value = I),
1390
+ data: (Z = d.config.factorDescriptions) == null ? void 0 : Z.filter((I) => [1, 3].includes(I.type))
1741
1391
  }, null, 8, ["visible", "data"])
1742
1392
  ], 64);
1743
1393
  };
1744
1394
  }
1745
- }, Ct = /* @__PURE__ */ Oe(wt, [["__scopeId", "data-v-3cac46e2"]]);
1746
- const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1395
+ }, zl = /* @__PURE__ */ me(Nl, [["__scopeId", "data-v-ef576faa"]]);
1396
+ const oe = (d) => (ce("data-v-bdb03941"), d = d(), pe(), d), Pl = {
1747
1397
  key: 0,
1748
1398
  class: "common-indicator"
1749
- }, St = { class: "indicator" }, Et = /* @__PURE__ */ ve(() => /* @__PURE__ */ V("div", { class: "title" }, [
1750
- /* @__PURE__ */ V("span", null, "常用指标: "),
1751
- /* @__PURE__ */ V("span", null, "不限")
1752
- ], -1)), Mt = { class: "options" }, Ut = ["onClick"], Rt = { class: "tags" }, qt = ["onClick"], Dt = { style: { "font-size": "18px" } }, Lt = {
1399
+ }, Bl = { class: "indicator" }, Gl = /* @__PURE__ */ oe(() => /* @__PURE__ */ _("div", { class: "title" }, [
1400
+ /* @__PURE__ */ _("span", null, "常用指标: "),
1401
+ /* @__PURE__ */ _("span", null, "不限")
1402
+ ], -1)), jl = { class: "options" }, Yl = ["onClick"], Al = { class: "tags" }, Kl = ["onClick"], Ql = { style: { "font-size": "18px" } }, Jl = {
1753
1403
  key: 0,
1754
1404
  class: "out-box"
1755
- }, Ft = /* @__PURE__ */ ve(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), Nt = {
1405
+ }, Hl = /* @__PURE__ */ oe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), Wl = {
1756
1406
  key: 0,
1757
1407
  class: "convenient-option-box"
1758
- }, zt = { class: "out-box" }, Bt = /* @__PURE__ */ ve(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), Pt = { key: 0 }, Gt = { key: 0 }, jt = { key: 0 }, At = { key: 1 }, Yt = { class: "tFeaturelncomes-option-box" }, Ht = { class: "tFeaturelncomes-out-box" }, Kt = /* @__PURE__ */ ve(() => /* @__PURE__ */ V("span", null, "自定义: ", -1)), Qt = { key: 2 }, Jt = { key: 3 }, Zt = { key: 4 }, Wt = { class: "dialog-footer" }, Xt = {
1408
+ }, Xl = { class: "out-box" }, Zl = /* @__PURE__ */ oe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), et = { key: 0 }, lt = { key: 0 }, tt = { key: 0 }, nt = { key: 1 }, at = { class: "tFeaturelncomes-option-box" }, ot = { class: "tFeaturelncomes-out-box" }, rt = /* @__PURE__ */ oe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), ut = { key: 2 }, st = { key: 3 }, it = { key: 4 }, dt = { class: "dialog-footer" }, ct = {
1759
1409
  __name: "index",
1760
- props: /* @__PURE__ */ fe({
1410
+ props: /* @__PURE__ */ ne({
1761
1411
  config: { type: Object, default: () => {
1762
1412
  } },
1763
1413
  varietyMarket: { type: Number, default: () => null },
@@ -1769,30 +1419,30 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1769
1419
  dataModifiers: {}
1770
1420
  }),
1771
1421
  emits: ["update:data"],
1772
- setup(a) {
1773
- const m = me(a, "data"), l = a, n = Y(!1), f = L(() => {
1774
- var c;
1775
- return (c = l.data.find((e) => e.radioType === "1")) == null ? void 0 : c.key;
1776
- }), C = L(() => {
1777
- let c = [];
1778
- return l.varietyMarket === null && !l.commonOption.length ? c = l.config.options : (c = l.config.options, l.varietyMarket && (c = c.filter(({ parent: e }) => e.varietyMarketIds.includes(l.varietyMarket))), l.commonOption.length && (c = c.filter(({ parent: e }) => {
1779
- const { commonOptionIds: O } = e;
1780
- return [.../* @__PURE__ */ new Set([...O, ...l.commonOption])].length !== [...O, ...l.commonOption].length;
1781
- }))), c;
1782
- }), o = Y({}), t = Y({}), w = (c) => {
1783
- o.value = c;
1422
+ setup(d) {
1423
+ const V = ae(d, "data"), k = d, s = A(!1), x = P(() => {
1424
+ var r;
1425
+ return (r = k.data.find((e) => e.radioType === "1")) == null ? void 0 : r.key;
1426
+ }), R = P(() => {
1427
+ let r = [];
1428
+ return k.varietyMarket === null && !k.commonOption.length ? r = k.config.options : (r = k.config.options, k.varietyMarket && (r = r.filter(({ parent: e }) => e.varietyMarketIds.includes(k.varietyMarket))), k.commonOption.length && (r = r.filter(({ parent: e }) => {
1429
+ const { commonOptionIds: h } = e;
1430
+ return [.../* @__PURE__ */ new Set([...h, ...k.commonOption])].length !== [...h, ...k.commonOption].length;
1431
+ }))), r;
1432
+ }), i = A({}), l = A({}), S = (r) => {
1433
+ i.value = r;
1784
1434
  const e = {
1785
- key: c.key,
1786
- type: c.type,
1787
- label: c.label
1435
+ key: r.key,
1436
+ type: r.type,
1437
+ label: r.label
1788
1438
  };
1789
- switch (c.key) {
1439
+ switch (r.key) {
1790
1440
  case "st": {
1791
- t.value = { ...e, st: null };
1441
+ l.value = { ...e, st: null };
1792
1442
  break;
1793
1443
  }
1794
1444
  case "tFeaturelncomes": {
1795
- t.value = {
1445
+ l.value = {
1796
1446
  ...e,
1797
1447
  rule: 1,
1798
1448
  // 1超 2跌
@@ -1803,15 +1453,15 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1803
1453
  break;
1804
1454
  }
1805
1455
  case "priceLevels": {
1806
- t.value = { ...e, priceLevels: null };
1456
+ l.value = { ...e, priceLevels: null };
1807
1457
  break;
1808
1458
  }
1809
1459
  case "peTtmLevels": {
1810
- t.value = { ...e, peTtmLevels: null };
1460
+ l.value = { ...e, peTtmLevels: null };
1811
1461
  break;
1812
1462
  }
1813
1463
  case "optionsCpType": {
1814
- t.value = {
1464
+ l.value = {
1815
1465
  ...e,
1816
1466
  optionsCpType: null
1817
1467
  // 1看涨 2看跌
@@ -1819,83 +1469,83 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1819
1469
  break;
1820
1470
  }
1821
1471
  default:
1822
- t.value = {
1472
+ l.value = {
1823
1473
  ...e,
1824
1474
  range: [null, null],
1825
- unit: c.defaultUnit.length ? [...c.defaultUnit] : [null, null],
1826
- radioType: f.value && f.value !== c.key ? "0" : c.defaultRadioType,
1475
+ unit: r.defaultUnit.length ? [...r.defaultUnit] : [null, null],
1476
+ radioType: x.value && x.value !== r.key ? "0" : r.defaultRadioType,
1827
1477
  // 0数值 1排名
1828
- rankRange: c.defaultRankRange || [null, null]
1478
+ rankRange: r.defaultRankRange || [null, null]
1829
1479
  // 默认排名
1830
1480
  };
1831
1481
  }
1832
- n.value = !0;
1833
- }, E = () => {
1834
- switch (t.value.key) {
1482
+ s.value = !0;
1483
+ }, M = () => {
1484
+ switch (l.value.key) {
1835
1485
  case "st": {
1836
- const { label: e, st: O } = t.value;
1837
- if (O === null)
1838
- return H.warning("格式错误: 请至少选择一个值");
1839
- t.value.tagText = `${e}: ${O ? "是" : "否"}`;
1486
+ const { label: e, st: h } = l.value;
1487
+ if (h === null)
1488
+ return j.warning("格式错误: 请至少选择一个值");
1489
+ l.value.tagText = `${e}: ${h ? "是" : "否"}`;
1840
1490
  break;
1841
1491
  }
1842
1492
  case "tFeaturelncomes": {
1843
- const { label: e, rule: O, withFewYears: _, yearsCount: k, netProfit: T } = t.value;
1844
- if (["", null].includes(_) || ["", null].includes(k) || ["", null].includes(T))
1845
- return H.warning("格式错误: 请填写完整");
1846
- t.value.tagText = `${e}: ${_}年内${k}年以上盈利${O === 1 ? "超" : "跌"}过${T}亿`;
1493
+ const { label: e, rule: h, withFewYears: g, yearsCount: v, netProfit: T } = l.value;
1494
+ if (["", null].includes(g) || ["", null].includes(v) || ["", null].includes(T))
1495
+ return j.warning("格式错误: 请填写完整");
1496
+ l.value.tagText = `${e}: ${g}年内${v}年以上盈利${h === 1 ? "超" : "跌"}过${T}亿`;
1847
1497
  break;
1848
1498
  }
1849
1499
  case "priceLevels": {
1850
- const { label: e, priceLevels: O } = t.value;
1851
- if (!O || O.length === 0)
1852
- return H.warning("格式错误: 请至少选择一个值");
1853
- t.value.tagText = `${e}: 已选${O}分位`;
1500
+ const { label: e, priceLevels: h } = l.value;
1501
+ if (!h || h.length === 0)
1502
+ return j.warning("格式错误: 请至少选择一个值");
1503
+ l.value.tagText = `${e}: 已选${h}分位`;
1854
1504
  break;
1855
1505
  }
1856
1506
  case "peTtmLevels": {
1857
- const { label: e, peTtmLevels: O } = t.value;
1858
- if (!O || O.length === 0)
1859
- return H.warning("格式错误: 请至少选择一个值");
1860
- t.value.tagText = `${e}: 已选${O}分位`;
1507
+ const { label: e, peTtmLevels: h } = l.value;
1508
+ if (!h || h.length === 0)
1509
+ return j.warning("格式错误: 请至少选择一个值");
1510
+ l.value.tagText = `${e}: 已选${h}分位`;
1861
1511
  break;
1862
1512
  }
1863
1513
  case "optionsCpType": {
1864
- const { label: e, optionsCpType: O } = t.value;
1865
- if (O === null)
1866
- return H.warning("格式错误: 请至少选择一个值");
1867
- t.value.tagText = `${e}: ${O === 1 ? "看涨" : "看跌"}`;
1514
+ const { label: e, optionsCpType: h } = l.value;
1515
+ if (h === null)
1516
+ return j.warning("格式错误: 请至少选择一个值");
1517
+ l.value.tagText = `${e}: ${h === 1 ? "看涨" : "看跌"}`;
1868
1518
  break;
1869
1519
  }
1870
1520
  default: {
1871
- const { label: e, unit: O, radioType: _ } = t.value, k = _ === "1" ? t.value.rankRange : t.value.range;
1872
- if (["", null].includes(k[0]) && ["", null].includes(k[1]))
1873
- return H.warning("格式错误: 请至少填写一个值");
1874
- if (_ === "1") {
1875
- const s = Number(k[0]), I = Number(k[1]);
1876
- if (isNaN(s) || isNaN(I))
1877
- return H.warning("格式错误: 请填写数字");
1878
- if (s < 0 || I < 0)
1879
- return H.warning("格式错误: 请填写大于0的数字");
1880
- if (s > I)
1881
- return H.warning("格式错误: 请填写正确的排名范围");
1521
+ const { label: e, unit: h, radioType: g } = l.value, v = g === "1" ? l.value.rankRange : l.value.range;
1522
+ if (["", null].includes(v[0]) && ["", null].includes(v[1]))
1523
+ return j.warning("格式错误: 请至少填写一个值");
1524
+ if (g === "1") {
1525
+ const t = Number(v[0]), $ = Number(v[1]);
1526
+ if (isNaN(t) || isNaN($))
1527
+ return j.warning("格式错误: 请填写数字");
1528
+ if (t < 0 || $ < 0)
1529
+ return j.warning("格式错误: 请填写大于0的数字");
1530
+ if (t > $)
1531
+ return j.warning("格式错误: 请填写正确的排名范围");
1882
1532
  }
1883
- const T = _ === "1" ? "" : O[0] ?? "", $ = _ === "1" ? "" : O[1] ?? "";
1884
- !["", null].includes(k[0]) && !["", null].includes(k[1]) ? t.value.tagText = `${e}${_ === "1" ? "排名" : ""}: ${k[0]}${T} ~ ${k[1]}${$}` : ["", null].includes(k[0]) ? t.value.tagText = `${e}${_ === "1" ? "排名" : ""}: ≤${k[1]}${$}` : t.value.tagText = `${e}${_ === "1" ? "排名" : ""}: ≥${k[0]}${T}`;
1533
+ const T = g === "1" ? "" : h[0] ?? "", w = g === "1" ? "" : h[1] ?? "";
1534
+ !["", null].includes(v[0]) && !["", null].includes(v[1]) ? l.value.tagText = `${e}${g === "1" ? "排名" : ""}: ${v[0]}${T} ~ ${v[1]}${w}` : ["", null].includes(v[0]) ? l.value.tagText = `${e}${g === "1" ? "排名" : ""}: ≤${v[1]}${w}` : l.value.tagText = `${e}${g === "1" ? "排名" : ""}: ≥${v[0]}${T}`;
1885
1535
  }
1886
1536
  }
1887
- const c = m.value.findIndex(({ key: e }) => e === t.value.key);
1888
- c === -1 ? m.value.push(t.value) : m.value.splice(c, 1, t.value), n.value = !1;
1889
- }, b = (c) => {
1890
- o.value = C.value.find(({ key: e }) => e === c.key), t.value = JSON.parse(JSON.stringify(c)), n.value = !0;
1891
- }, u = (c) => {
1892
- m.value.splice(c, 1);
1893
- }, U = (c) => {
1894
- t.value.range = [...c.range], t.value.unit = [...c.unit];
1895
- }, D = (c) => {
1896
- switch (c) {
1537
+ const r = V.value.findIndex(({ key: e }) => e === l.value.key);
1538
+ r === -1 ? V.value.push(l.value) : V.value.splice(r, 1, l.value), s.value = !1;
1539
+ }, y = (r) => {
1540
+ i.value = R.value.find(({ key: e }) => e === r.key), l.value = JSON.parse(JSON.stringify(r)), s.value = !0;
1541
+ }, n = (r) => {
1542
+ V.value.splice(r, 1);
1543
+ }, C = (r) => {
1544
+ l.value.range = [...r.range], l.value.unit = [...r.unit];
1545
+ }, q = (r) => {
1546
+ switch (r) {
1897
1547
  case "≤0":
1898
- Object.assign(t.value, {
1548
+ Object.assign(l.value, {
1899
1549
  rule: 2,
1900
1550
  // 1超 2跌
1901
1551
  withFewYears: 1,
@@ -1904,7 +1554,7 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1904
1554
  });
1905
1555
  break;
1906
1556
  case "≥0":
1907
- Object.assign(t.value, {
1557
+ Object.assign(l.value, {
1908
1558
  rule: 1,
1909
1559
  withFewYears: 1,
1910
1560
  yearsCount: 1,
@@ -1912,7 +1562,7 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1912
1562
  });
1913
1563
  break;
1914
1564
  case "五年内有四年以上盈利超过5千万":
1915
- Object.assign(t.value, {
1565
+ Object.assign(l.value, {
1916
1566
  rule: 1,
1917
1567
  withFewYears: 5,
1918
1568
  yearsCount: 4,
@@ -1920,7 +1570,7 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1920
1570
  });
1921
1571
  break;
1922
1572
  case "≥10亿":
1923
- Object.assign(t.value, {
1573
+ Object.assign(l.value, {
1924
1574
  rule: 1,
1925
1575
  withFewYears: 1,
1926
1576
  yearsCount: 1,
@@ -1928,7 +1578,7 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1928
1578
  });
1929
1579
  break;
1930
1580
  case "≥20亿":
1931
- Object.assign(t.value, {
1581
+ Object.assign(l.value, {
1932
1582
  rule: 1,
1933
1583
  withFewYears: 1,
1934
1584
  yearsCount: 1,
@@ -1937,106 +1587,106 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
1937
1587
  break;
1938
1588
  }
1939
1589
  };
1940
- return ae(
1941
- () => C.value,
1590
+ return le(
1591
+ () => R.value,
1942
1592
  () => {
1943
- m.value.length && (m.value = m.value.filter(({ key: c }) => C.value.find((e) => e.key === c)));
1593
+ V.value.length && (V.value = V.value.filter(({ key: r }) => R.value.find((e) => e.key === r)));
1944
1594
  }
1945
- ), (c, e) => {
1946
- const O = Ze, _ = nt, k = we, T = Ye, $ = Qe, s = He, I = Ke, v = $e, y = Fe, j = Ve;
1947
- return a.config.show && C.value.length ? (i(), h("div", Tt, [
1948
- V("div", St, [
1949
- Et,
1950
- V("div", Mt, [
1951
- (i(!0), h(R, null, z(C.value, (d) => (i(), h("span", {
1952
- key: d.key,
1953
- onClick: (Z) => w(d)
1954
- }, A(d.label), 9, Ut))), 128))
1595
+ ), (r, e) => {
1596
+ const h = qe, g = wl, v = ge, T = Se, w = Re, t = Ue, $ = Ee, O = ye, c = Ie, B = ve;
1597
+ return d.config.show && R.value.length ? (o(), b("div", Pl, [
1598
+ _("div", Bl, [
1599
+ Gl,
1600
+ _("div", jl, [
1601
+ (o(!0), b(E, null, N(R.value, (a) => (o(), b("span", {
1602
+ key: a.key,
1603
+ onClick: (Q) => S(a)
1604
+ }, G(a.label), 9, Yl))), 128))
1955
1605
  ])
1956
1606
  ]),
1957
- V("div", Rt, [
1958
- (i(!0), h(R, null, z(m.value, (d, Z) => (i(), q(O, {
1607
+ _("div", Al, [
1608
+ (o(!0), b(E, null, N(V.value, (a, Q) => (o(), D(h, {
1959
1609
  closable: "",
1960
1610
  type: "info",
1961
- onClose: (X) => u(Z)
1611
+ onClose: (J) => n(Q)
1962
1612
  }, {
1963
- default: g(() => [
1964
- V("span", null, A(d.tagText), 1),
1965
- V("span", {
1613
+ default: p(() => [
1614
+ _("span", null, G(a.tagText), 1),
1615
+ _("span", {
1966
1616
  class: "edit",
1967
- onClick: (X) => b(d)
1968
- }, "编辑", 8, qt)
1617
+ onClick: (J) => y(a)
1618
+ }, "编辑", 8, Kl)
1969
1619
  ]),
1970
1620
  _: 2
1971
1621
  }, 1032, ["onClose"]))), 256))
1972
1622
  ]),
1973
- p(j, {
1974
- modelValue: n.value,
1975
- "onUpdate:modelValue": e[19] || (e[19] = (d) => n.value = d),
1976
- title: o.value.label,
1623
+ u(B, {
1624
+ modelValue: s.value,
1625
+ "onUpdate:modelValue": e[19] || (e[19] = (a) => s.value = a),
1626
+ title: i.value.label,
1977
1627
  width: "600",
1978
1628
  "align-center": "",
1979
1629
  "destroy-on-close": ""
1980
- }, ge({
1981
- footer: g(() => [
1982
- V("div", Wt, [
1983
- p($, {
1630
+ }, re({
1631
+ footer: p(() => [
1632
+ _("div", dt, [
1633
+ u(w, {
1984
1634
  type: "primary",
1985
- onClick: E
1635
+ onClick: M
1986
1636
  }, {
1987
- default: g(() => [
1988
- N("确定")
1637
+ default: p(() => [
1638
+ F("确定")
1989
1639
  ]),
1990
1640
  _: 1
1991
1641
  })
1992
1642
  ])
1993
1643
  ]),
1994
- default: g(() => [
1995
- o.value.type === void 0 && t.value.radioType === "1" ? (i(), h("div", Lt, [
1996
- Ft,
1997
- p(T, {
1998
- modelValue: t.value.rankRange[0],
1999
- "onUpdate:modelValue": e[1] || (e[1] = (d) => t.value.rankRange[0] = d),
1644
+ default: p(() => [
1645
+ i.value.type === void 0 && l.value.radioType === "1" ? (o(), b("div", Jl, [
1646
+ Hl,
1647
+ u(T, {
1648
+ modelValue: l.value.rankRange[0],
1649
+ "onUpdate:modelValue": e[1] || (e[1] = (a) => l.value.rankRange[0] = a),
2000
1650
  style: { flex: "1" }
2001
1651
  }, null, 8, ["modelValue"]),
2002
- N(" ~ "),
2003
- p(T, {
2004
- modelValue: t.value.rankRange[1],
2005
- "onUpdate:modelValue": e[2] || (e[2] = (d) => t.value.rankRange[1] = d),
1652
+ F(" ~ "),
1653
+ u(T, {
1654
+ modelValue: l.value.rankRange[1],
1655
+ "onUpdate:modelValue": e[2] || (e[2] = (a) => l.value.rankRange[1] = a),
2006
1656
  style: { flex: "1" }
2007
1657
  }, null, 8, ["modelValue"])
2008
- ])) : o.value.type === void 0 ? (i(), h(R, { key: 1 }, [
2009
- o.value.convenientOptions.length ? (i(), h("div", Nt, [
2010
- (i(!0), h(R, null, z(o.value.convenientOptions, (d) => (i(), q($, {
2011
- key: d.text,
2012
- onClick: (Z) => U(d)
1658
+ ])) : i.value.type === void 0 ? (o(), b(E, { key: 1 }, [
1659
+ i.value.convenientOptions.length ? (o(), b("div", Wl, [
1660
+ (o(!0), b(E, null, N(i.value.convenientOptions, (a) => (o(), D(w, {
1661
+ key: a.text,
1662
+ onClick: (Q) => C(a)
2013
1663
  }, {
2014
- default: g(() => [
2015
- N(A(d.text), 1)
1664
+ default: p(() => [
1665
+ F(G(a.text), 1)
2016
1666
  ]),
2017
1667
  _: 2
2018
1668
  }, 1032, ["onClick"]))), 128))
2019
- ])) : F("", !0),
2020
- V("div", zt, [
2021
- Bt,
2022
- p(T, {
2023
- modelValue: t.value.range[0],
2024
- "onUpdate:modelValue": e[4] || (e[4] = (d) => t.value.range[0] = d),
1669
+ ])) : z("", !0),
1670
+ _("div", Xl, [
1671
+ Zl,
1672
+ u(T, {
1673
+ modelValue: l.value.range[0],
1674
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => l.value.range[0] = a),
2025
1675
  style: { flex: "1" }
2026
- }, ge({ _: 2 }, [
2027
- o.value.unitOptions.length ? {
1676
+ }, re({ _: 2 }, [
1677
+ i.value.unitOptions.length ? {
2028
1678
  name: "append",
2029
- fn: g(() => [
2030
- o.value.unitOptions.length === 1 ? (i(), h("span", Pt, A(t.value.unit[0]), 1)) : (i(), q(I, {
1679
+ fn: p(() => [
1680
+ i.value.unitOptions.length === 1 ? (o(), b("span", et, G(l.value.unit[0]), 1)) : (o(), D($, {
2031
1681
  key: 1,
2032
- modelValue: t.value.unit[0],
2033
- "onUpdate:modelValue": e[3] || (e[3] = (d) => t.value.unit[0] = d),
1682
+ modelValue: l.value.unit[0],
1683
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => l.value.unit[0] = a),
2034
1684
  style: { width: "72px" }
2035
1685
  }, {
2036
- default: g(() => [
2037
- (i(!0), h(R, null, z(o.value.unitOptions, (d) => (i(), q(s, {
2038
- label: d,
2039
- value: d
1686
+ default: p(() => [
1687
+ (o(!0), b(E, null, N(i.value.unitOptions, (a) => (o(), D(t, {
1688
+ label: a,
1689
+ value: a
2040
1690
  }, null, 8, ["label", "value"]))), 256))
2041
1691
  ]),
2042
1692
  _: 1
@@ -2045,25 +1695,25 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
2045
1695
  key: "0"
2046
1696
  } : void 0
2047
1697
  ]), 1032, ["modelValue"]),
2048
- N(" ~ "),
2049
- p(T, {
2050
- modelValue: t.value.range[1],
2051
- "onUpdate:modelValue": e[6] || (e[6] = (d) => t.value.range[1] = d),
1698
+ F(" ~ "),
1699
+ u(T, {
1700
+ modelValue: l.value.range[1],
1701
+ "onUpdate:modelValue": e[6] || (e[6] = (a) => l.value.range[1] = a),
2052
1702
  style: { flex: "1" }
2053
- }, ge({ _: 2 }, [
2054
- o.value.unitOptions.length ? {
1703
+ }, re({ _: 2 }, [
1704
+ i.value.unitOptions.length ? {
2055
1705
  name: "append",
2056
- fn: g(() => [
2057
- o.value.unitOptions.length === 1 ? (i(), h("span", Gt, A(t.value.unit[1]), 1)) : (i(), q(I, {
1706
+ fn: p(() => [
1707
+ i.value.unitOptions.length === 1 ? (o(), b("span", lt, G(l.value.unit[1]), 1)) : (o(), D($, {
2058
1708
  key: 1,
2059
- modelValue: t.value.unit[1],
2060
- "onUpdate:modelValue": e[5] || (e[5] = (d) => t.value.unit[1] = d),
1709
+ modelValue: l.value.unit[1],
1710
+ "onUpdate:modelValue": e[5] || (e[5] = (a) => l.value.unit[1] = a),
2061
1711
  style: { width: "72px" }
2062
1712
  }, {
2063
- default: g(() => [
2064
- (i(!0), h(R, null, z(o.value.unitOptions, (d) => (i(), q(s, {
2065
- label: d,
2066
- value: d
1713
+ default: p(() => [
1714
+ (o(!0), b(E, null, N(i.value.unitOptions, (a) => (o(), D(t, {
1715
+ label: a,
1716
+ value: a
2067
1717
  }, null, 8, ["label", "value"]))), 256))
2068
1718
  ]),
2069
1719
  _: 1
@@ -2073,168 +1723,168 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
2073
1723
  } : void 0
2074
1724
  ]), 1032, ["modelValue"])
2075
1725
  ])
2076
- ], 64)) : (i(), h(R, { key: 2 }, [
2077
- o.value.key === "st" ? (i(), h("div", jt, [
2078
- p(k, {
2079
- modelValue: t.value.st,
2080
- "onUpdate:modelValue": e[7] || (e[7] = (d) => t.value.st = d)
1726
+ ], 64)) : (o(), b(E, { key: 2 }, [
1727
+ i.value.key === "st" ? (o(), b("div", tt, [
1728
+ u(v, {
1729
+ modelValue: l.value.st,
1730
+ "onUpdate:modelValue": e[7] || (e[7] = (a) => l.value.st = a)
2081
1731
  }, {
2082
- default: g(() => [
2083
- p(v, {
1732
+ default: p(() => [
1733
+ u(O, {
2084
1734
  label: "是",
2085
1735
  value: 1
2086
1736
  }),
2087
- p(v, {
1737
+ u(O, {
2088
1738
  label: "否",
2089
1739
  value: 0
2090
1740
  })
2091
1741
  ]),
2092
1742
  _: 1
2093
1743
  }, 8, ["modelValue"])
2094
- ])) : F("", !0),
2095
- o.value.key === "tFeaturelncomes" ? (i(), h("div", At, [
2096
- V("div", Yt, [
2097
- p($, {
2098
- onClick: e[8] || (e[8] = (d) => D("≤0"))
1744
+ ])) : z("", !0),
1745
+ i.value.key === "tFeaturelncomes" ? (o(), b("div", nt, [
1746
+ _("div", at, [
1747
+ u(w, {
1748
+ onClick: e[8] || (e[8] = (a) => q("≤0"))
2099
1749
  }, {
2100
- default: g(() => [
2101
- N("≤0")
1750
+ default: p(() => [
1751
+ F("≤0")
2102
1752
  ]),
2103
1753
  _: 1
2104
1754
  }),
2105
- p($, {
2106
- onClick: e[9] || (e[9] = (d) => D("≥0"))
1755
+ u(w, {
1756
+ onClick: e[9] || (e[9] = (a) => q("≥0"))
2107
1757
  }, {
2108
- default: g(() => [
2109
- N("≥0")
1758
+ default: p(() => [
1759
+ F("≥0")
2110
1760
  ]),
2111
1761
  _: 1
2112
1762
  }),
2113
- p($, {
2114
- onClick: e[10] || (e[10] = (d) => D("五年内有四年以上盈利超过5千万"))
1763
+ u(w, {
1764
+ onClick: e[10] || (e[10] = (a) => q("五年内有四年以上盈利超过5千万"))
2115
1765
  }, {
2116
- default: g(() => [
2117
- N("五年内有四年以上盈利超过5千万")
1766
+ default: p(() => [
1767
+ F("五年内有四年以上盈利超过5千万")
2118
1768
  ]),
2119
1769
  _: 1
2120
1770
  }),
2121
- p($, {
2122
- onClick: e[11] || (e[11] = (d) => D("≥10亿"))
1771
+ u(w, {
1772
+ onClick: e[11] || (e[11] = (a) => q("≥10亿"))
2123
1773
  }, {
2124
- default: g(() => [
2125
- N("≥10亿")
1774
+ default: p(() => [
1775
+ F("≥10亿")
2126
1776
  ]),
2127
1777
  _: 1
2128
1778
  }),
2129
- p($, {
2130
- onClick: e[12] || (e[12] = (d) => D("≥20亿"))
1779
+ u(w, {
1780
+ onClick: e[12] || (e[12] = (a) => q("≥20亿"))
2131
1781
  }, {
2132
- default: g(() => [
2133
- N("≥20亿")
1782
+ default: p(() => [
1783
+ F("≥20亿")
2134
1784
  ]),
2135
1785
  _: 1
2136
1786
  })
2137
1787
  ]),
2138
- V("div", Ht, [
2139
- Kt,
2140
- V("div", null, [
2141
- p(y, {
2142
- modelValue: t.value.withFewYears,
2143
- "onUpdate:modelValue": e[13] || (e[13] = (d) => t.value.withFewYears = d),
1788
+ _("div", ot, [
1789
+ rt,
1790
+ _("div", null, [
1791
+ u(c, {
1792
+ modelValue: l.value.withFewYears,
1793
+ "onUpdate:modelValue": e[13] || (e[13] = (a) => l.value.withFewYears = a),
2144
1794
  "controls-position": "right"
2145
1795
  }, null, 8, ["modelValue"]),
2146
- N(" 年内 "),
2147
- p(y, {
2148
- modelValue: t.value.yearsCount,
2149
- "onUpdate:modelValue": e[14] || (e[14] = (d) => t.value.yearsCount = d),
1796
+ F(" 年内 "),
1797
+ u(c, {
1798
+ modelValue: l.value.yearsCount,
1799
+ "onUpdate:modelValue": e[14] || (e[14] = (a) => l.value.yearsCount = a),
2150
1800
  "controls-position": "right"
2151
1801
  }, null, 8, ["modelValue"]),
2152
- N(" 年以上盈利" + A(t.value.rule === 1 ? "超" : "跌") + "过 ", 1),
2153
- p(y, {
2154
- modelValue: t.value.netProfit,
2155
- "onUpdate:modelValue": e[15] || (e[15] = (d) => t.value.netProfit = d),
1802
+ F(" 年以上盈利" + G(l.value.rule === 1 ? "超" : "跌") + "过 ", 1),
1803
+ u(c, {
1804
+ modelValue: l.value.netProfit,
1805
+ "onUpdate:modelValue": e[15] || (e[15] = (a) => l.value.netProfit = a),
2156
1806
  "controls-position": "right"
2157
1807
  }, null, 8, ["modelValue"]),
2158
- N(" 亿 ")
1808
+ F(" 亿 ")
2159
1809
  ])
2160
1810
  ])
2161
- ])) : F("", !0),
2162
- o.value.key === "priceLevels" ? (i(), h("div", Qt, [
2163
- p(I, {
2164
- modelValue: t.value.priceLevels,
2165
- "onUpdate:modelValue": e[16] || (e[16] = (d) => t.value.priceLevels = d),
1811
+ ])) : z("", !0),
1812
+ i.value.key === "priceLevels" ? (o(), b("div", ut, [
1813
+ u($, {
1814
+ modelValue: l.value.priceLevels,
1815
+ "onUpdate:modelValue": e[16] || (e[16] = (a) => l.value.priceLevels = a),
2166
1816
  multiple: "",
2167
1817
  clearable: "",
2168
1818
  placeholder: "请选择",
2169
1819
  style: { width: "420px" }
2170
1820
  }, {
2171
- default: g(() => [
2172
- (i(), h(R, null, z([1, 2, 3, 4, 5], (d) => p(s, {
2173
- key: d,
2174
- label: `${d}分位`,
2175
- value: d
1821
+ default: p(() => [
1822
+ (o(), b(E, null, N([1, 2, 3, 4, 5], (a) => u(t, {
1823
+ key: a,
1824
+ label: `${a}分位`,
1825
+ value: a
2176
1826
  }, null, 8, ["label", "value"])), 64))
2177
1827
  ]),
2178
1828
  _: 1
2179
1829
  }, 8, ["modelValue"])
2180
- ])) : F("", !0),
2181
- o.value.key === "peTtmLevels" ? (i(), h("div", Jt, [
2182
- p(I, {
2183
- modelValue: t.value.peTtmLevels,
2184
- "onUpdate:modelValue": e[17] || (e[17] = (d) => t.value.peTtmLevels = d),
1830
+ ])) : z("", !0),
1831
+ i.value.key === "peTtmLevels" ? (o(), b("div", st, [
1832
+ u($, {
1833
+ modelValue: l.value.peTtmLevels,
1834
+ "onUpdate:modelValue": e[17] || (e[17] = (a) => l.value.peTtmLevels = a),
2185
1835
  multiple: "",
2186
1836
  clearable: "",
2187
1837
  placeholder: "请选择",
2188
1838
  style: { width: "420px" }
2189
1839
  }, {
2190
- default: g(() => [
2191
- (i(), h(R, null, z([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (d) => p(s, {
2192
- key: d,
2193
- label: `${d}分位`,
2194
- value: d
1840
+ default: p(() => [
1841
+ (o(), b(E, null, N([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (a) => u(t, {
1842
+ key: a,
1843
+ label: `${a}分位`,
1844
+ value: a
2195
1845
  }, null, 8, ["label", "value"])), 64))
2196
1846
  ]),
2197
1847
  _: 1
2198
1848
  }, 8, ["modelValue"])
2199
- ])) : F("", !0),
2200
- o.value.key === "optionsCpType" ? (i(), h("div", Zt, [
2201
- p(k, {
2202
- modelValue: t.value.optionsCpType,
2203
- "onUpdate:modelValue": e[18] || (e[18] = (d) => t.value.optionsCpType = d)
1849
+ ])) : z("", !0),
1850
+ i.value.key === "optionsCpType" ? (o(), b("div", it, [
1851
+ u(v, {
1852
+ modelValue: l.value.optionsCpType,
1853
+ "onUpdate:modelValue": e[18] || (e[18] = (a) => l.value.optionsCpType = a)
2204
1854
  }, {
2205
- default: g(() => [
2206
- p(v, {
1855
+ default: p(() => [
1856
+ u(O, {
2207
1857
  label: "看涨",
2208
1858
  value: 1
2209
1859
  }),
2210
- p(v, {
1860
+ u(O, {
2211
1861
  label: "看跌",
2212
1862
  value: 2
2213
1863
  })
2214
1864
  ]),
2215
1865
  _: 1
2216
1866
  }, 8, ["modelValue"])
2217
- ])) : F("", !0)
1867
+ ])) : z("", !0)
2218
1868
  ], 64))
2219
1869
  ]),
2220
1870
  _: 2
2221
1871
  }, [
2222
- o.value.showRankType ? {
1872
+ i.value.showRankType ? {
2223
1873
  name: "header",
2224
- fn: g(() => [
2225
- V("span", Dt, A(o.value.label), 1),
2226
- p(k, {
2227
- modelValue: t.value.radioType,
2228
- "onUpdate:modelValue": e[0] || (e[0] = (d) => t.value.radioType = d),
1874
+ fn: p(() => [
1875
+ _("span", Ql, G(i.value.label), 1),
1876
+ u(v, {
1877
+ modelValue: l.value.radioType,
1878
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => l.value.radioType = a),
2229
1879
  style: { "vertical-align": "4px", "margin-left": "12px" }
2230
1880
  }, {
2231
- default: g(() => [
2232
- p(_, {
1881
+ default: p(() => [
1882
+ u(g, {
2233
1883
  label: "数值",
2234
1884
  value: "0"
2235
1885
  }),
2236
- p(_, {
2237
- disabled: f.value && f.value !== o.value.key,
1886
+ u(g, {
1887
+ disabled: x.value && x.value !== i.value.key,
2238
1888
  label: "排名",
2239
1889
  value: "1"
2240
1890
  }, null, 8, ["disabled"])
@@ -2245,35 +1895,35 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
2245
1895
  key: "0"
2246
1896
  } : void 0
2247
1897
  ]), 1032, ["modelValue", "title"])
2248
- ])) : F("", !0);
1898
+ ])) : z("", !0);
2249
1899
  };
2250
1900
  }
2251
- }, en = /* @__PURE__ */ Oe(Xt, [["__scopeId", "data-v-bdb03941"]]);
2252
- const se = (a) => (he("data-v-5d0d1a7a"), a = a(), xe(), a), ln = { class: "variety-search" }, tn = {
1901
+ }, pt = /* @__PURE__ */ me(ct, [["__scopeId", "data-v-bdb03941"]]);
1902
+ const W = (d) => (ce("data-v-5d0d1a7a"), d = d(), pe(), d), vt = { class: "variety-search" }, mt = {
2253
1903
  key: 0,
2254
1904
  class: "variety-search-row"
2255
- }, nn = { class: "title" }, an = /* @__PURE__ */ se(() => /* @__PURE__ */ V("span", null, "品种市场: ", -1)), on = {
1905
+ }, ft = { class: "title" }, yt = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "品种市场: ", -1)), gt = {
2256
1906
  key: 1,
2257
1907
  class: "variety-search-row"
2258
- }, sn = { class: "title" }, rn = /* @__PURE__ */ se(() => /* @__PURE__ */ V("span", null, "常用选项: ", -1)), un = {
1908
+ }, bt = { class: "title" }, kt = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "常用选项: ", -1)), _t = {
2259
1909
  key: 2,
2260
1910
  class: "variety-search-row"
2261
- }, dn = { class: "title" }, cn = /* @__PURE__ */ se(() => /* @__PURE__ */ V("span", null, "上市板块: ", -1)), pn = {
1911
+ }, ht = { class: "title" }, xt = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "上市板块: ", -1)), Vt = {
2262
1912
  key: 3,
2263
1913
  class: "variety-search-row"
2264
- }, fn = { class: "title" }, mn = /* @__PURE__ */ se(() => /* @__PURE__ */ V("span", null, "自定标签: ", -1)), vn = {
1914
+ }, Ot = { class: "title" }, It = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "自定标签: ", -1)), $t = {
2265
1915
  key: 4,
2266
1916
  class: "variety-search-row"
2267
- }, gn = { class: "title" }, yn = /* @__PURE__ */ se(() => /* @__PURE__ */ V("span", null, "因子筛选: ", -1)), bn = {
1917
+ }, wt = { class: "title" }, Tt = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "因子筛选: ", -1)), Ct = {
2268
1918
  __name: "index",
2269
- props: /* @__PURE__ */ fe({ config: { type: Object, default: {} } }, {
1919
+ props: /* @__PURE__ */ ne({ config: { type: Object, default: {} } }, {
2270
1920
  searchData: {},
2271
1921
  searchDataModifiers: {}
2272
1922
  }),
2273
1923
  emits: ["update:searchData"],
2274
- setup(a, { expose: m }) {
2275
- const l = a, n = me(a, "searchData");
2276
- n.value = Object.assign(n.value, {
1924
+ setup(d, { expose: V }) {
1925
+ const k = d, s = ae(d, "searchData");
1926
+ s.value = Object.assign(s.value, {
2277
1927
  // 品种市场
2278
1928
  varietyMarket: null,
2279
1929
  // 常用选项
@@ -2291,193 +1941,193 @@ const se = (a) => (he("data-v-5d0d1a7a"), a = a(), xe(), a), ln = { class: "vari
2291
1941
  // 常用指标
2292
1942
  commonIndicator: []
2293
1943
  });
2294
- const f = L(() => {
2295
- const b = {};
2296
- return Object.keys(Me).forEach((u) => {
2297
- const U = Me[u], D = l.config[u] ?? {}, c = { ...U, ...D };
2298
- b[u] = c;
2299
- }), b;
2300
- }), C = L(() => f.value.varietyMarket.options), o = L(() => {
2301
- const { varietyMarket: b } = n.value;
2302
- if (b) {
2303
- const u = C.value.find(({ value: U }) => U === b).memo;
2304
- return f.value.commonOption.options.filter(({ value: U }) => u.includes(U));
1944
+ const x = P(() => {
1945
+ const y = {};
1946
+ return Object.keys(xe).forEach((n) => {
1947
+ const C = xe[n], q = k.config[n] ?? {}, r = { ...C, ...q };
1948
+ y[n] = r;
1949
+ }), y;
1950
+ }), R = P(() => x.value.varietyMarket.options), i = P(() => {
1951
+ const { varietyMarket: y } = s.value;
1952
+ if (y) {
1953
+ const n = R.value.find(({ value: C }) => C === y).memo;
1954
+ return x.value.commonOption.options.filter(({ value: C }) => n.includes(C));
2305
1955
  } else
2306
- return f.value.commonOption.options;
2307
- }), t = L(() => {
2308
- const { varietyMarket: b } = n.value;
2309
- return b ? f.value.marketIds.options.filter((u) => u.varietyMarketIds.includes(b)) : f.value.marketIds.options;
2310
- }), w = L(() => f.value.customTag.options), E = (b) => {
2311
- ["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(b) ? n.value[b] = [] : n.value[b] = null;
1956
+ return x.value.commonOption.options;
1957
+ }), l = P(() => {
1958
+ const { varietyMarket: y } = s.value;
1959
+ return y ? x.value.marketIds.options.filter((n) => n.varietyMarketIds.includes(y)) : x.value.marketIds.options;
1960
+ }), S = P(() => x.value.customTag.options), M = (y) => {
1961
+ ["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(y) ? s.value[y] = [] : s.value[y] = null;
2312
1962
  };
2313
- return ae(
2314
- () => o.value,
2315
- (b) => {
2316
- var u;
2317
- (u = n.value.commonOption) != null && u.length && (n.value.commonOption = n.value.commonOption.filter((U) => b.find(({ value: D }) => D === U)));
1963
+ return le(
1964
+ () => i.value,
1965
+ (y) => {
1966
+ var n;
1967
+ (n = s.value.commonOption) != null && n.length && (s.value.commonOption = s.value.commonOption.filter((C) => y.find(({ value: q }) => q === C)));
2318
1968
  }
2319
- ), ae(
2320
- () => t.value,
2321
- (b) => {
2322
- var u;
2323
- (u = n.value.marketIds) != null && u.length && (n.value.marketIds = n.value.marketIds.filter((U) => b.find(({ value: D }) => D === U)));
1969
+ ), le(
1970
+ () => l.value,
1971
+ (y) => {
1972
+ var n;
1973
+ (n = s.value.marketIds) != null && n.length && (s.value.marketIds = s.value.marketIds.filter((C) => y.find(({ value: q }) => q === C)));
2324
1974
  }
2325
- ), m({
1975
+ ), V({
2326
1976
  // 生成接口传参结构的数据
2327
- formatData: (b) => {
2328
- var U, D, c, e, O;
1977
+ formatData: (y) => {
1978
+ var C, q, r, e, h;
2329
1979
  console.log("%c[st-varietySearch]: 正在生成接口传参结构的数据...", "color: tomato");
2330
- const u = {};
2331
- if (b.varietyMarket && (u.exchangeId = String(b.varietyMarket)), (U = b.commonOption) != null && U.length && (u.optionId = b.commonOption.join(",")), (D = b.marketIds) != null && D.length && (u.marketIds = b.marketIds), (c = b.customTag) != null && c.length && (u.tagIds = b.customTag), (e = f.value.factorScreen) != null && e.show) {
2332
- const { factorScreen: _ } = b;
2333
- if ((O = _ == null ? void 0 : _.list) != null && O.length && (u.tbFeatureFactorScores = _.list.map((k) => {
2334
- switch (k.key) {
1980
+ const n = {};
1981
+ if (y.varietyMarket && (n.exchangeId = String(y.varietyMarket)), (C = y.commonOption) != null && C.length && (n.optionId = y.commonOption.join(",")), (q = y.marketIds) != null && q.length && (n.marketIds = y.marketIds), (r = y.customTag) != null && r.length && (n.tagIds = y.customTag), (e = x.value.factorScreen) != null && e.show) {
1982
+ const { factorScreen: g } = y;
1983
+ if ((h = g == null ? void 0 : g.list) != null && h.length && (n.tbFeatureFactorScores = g.list.map((v) => {
1984
+ switch (v.key) {
2335
1985
  case "compare":
2336
1986
  return {
2337
- freqId: k.cycle,
2338
- factorId: k.factor,
2339
- compareType: k.compareType,
2340
- freqId2: k.cycle2,
2341
- factorId2: k.factor2
1987
+ freqId: v.cycle,
1988
+ factorId: v.factor,
1989
+ compareType: v.compareType,
1990
+ freqId2: v.cycle2,
1991
+ factorId2: v.factor2
2342
1992
  };
2343
1993
  default:
2344
1994
  return {
2345
- freqId: k.cycle,
2346
- factorId: k.factor,
2347
- startScore: k.score[0],
2348
- endScore: k.score[1]
1995
+ freqId: v.cycle,
1996
+ factorId: v.factor,
1997
+ startScore: v.score[0],
1998
+ endScore: v.score[1]
2349
1999
  };
2350
2000
  }
2351
- })), _.sqlEnable) {
2352
- const k = _.list.reduce(($, s, I) => {
2353
- var y, j;
2354
- const v = `条件${I + 1}`;
2355
- switch (s.key) {
2001
+ })), g.sqlEnable) {
2002
+ const v = g.list.reduce((w, t, $) => {
2003
+ var c, B;
2004
+ const O = `条件${$ + 1}`;
2005
+ switch (t.key) {
2356
2006
  case "compare": {
2357
- let d = "";
2358
- (y = f.value.factorScreen) != null && y.cycleShow ? d = `freq_id = ${s.cycle} and factor_id = ${s.factor} ${s.compareType} freq_id = ${s.cycle2} and factor_id = ${s.factor2}` : d = `factor_id = ${s.factor} ${s.compareType} factor_id = ${s.factor2}`, $.set(v, `(${d})`);
2007
+ let a = "";
2008
+ (c = x.value.factorScreen) != null && c.cycleShow ? a = `freq_id = ${t.cycle} and factor_id = ${t.factor} ${t.compareType} freq_id = ${t.cycle2} and factor_id = ${t.factor2}` : a = `factor_id = ${t.factor} ${t.compareType} factor_id = ${t.factor2}`, w.set(O, `(${a})`);
2359
2009
  break;
2360
2010
  }
2361
2011
  default: {
2362
- let d = `factor_id = ${s.factor} and `;
2363
- (j = f.value.factorScreen) != null && j.cycleShow && (d = `freq_id = ${s.cycle} and factor_id = ${s.factor} and `), (s.score[0] || s.score[0] === 0) && (s.score[1] || s.score[1] === 0) ? d += `score >= ${s.score[0]} and score <= ${s.score[1]}` : s.score[0] || s.score[0] === 0 ? d += `score >= ${s.score[0]}` : (s.score[1] || s.score[1] === 0) && (d += `score <= ${s.score[1]}`), $.set(v, `(${d})`);
2012
+ let a = `factor_id = ${t.factor} and `;
2013
+ (B = x.value.factorScreen) != null && B.cycleShow && (a = `freq_id = ${t.cycle} and factor_id = ${t.factor} and `), (t.score[0] || t.score[0] === 0) && (t.score[1] || t.score[1] === 0) ? a += `score >= ${t.score[0]} and score <= ${t.score[1]}` : t.score[0] || t.score[0] === 0 ? a += `score >= ${t.score[0]}` : (t.score[1] || t.score[1] === 0) && (a += `score <= ${t.score[1]}`), w.set(O, `(${a})`);
2364
2014
  }
2365
2015
  }
2366
- return $;
2016
+ return w;
2367
2017
  }, /* @__PURE__ */ new Map([]));
2368
- let T = _.sqlValue;
2369
- for (const [$, s] of k) {
2370
- const I = new RegExp($, "g");
2371
- T = T.replace(I, s);
2018
+ let T = g.sqlValue;
2019
+ for (const [w, t] of v) {
2020
+ const $ = new RegExp(w, "g");
2021
+ T = T.replace($, t);
2372
2022
  }
2373
- u.sql = T, u.sqlExpression = _.sqlValue;
2023
+ n.sql = T, n.sqlExpression = g.sqlValue;
2374
2024
  }
2375
- u.enableSql = _.sqlEnable === 1 ? 2 : 1;
2025
+ n.enableSql = g.sqlEnable === 1 ? 2 : 1;
2376
2026
  }
2377
2027
  {
2378
- const _ = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], k = b.commonIndicator.reduce((y, j) => {
2379
- const { key: d, type: Z, range: X, unit: re, radioType: S, rankRange: P } = j;
2380
- if (S === "1")
2381
- u.sortBy = {
2382
- column: j.key,
2383
- start: P[0] || null,
2384
- end: P[1] || null
2028
+ const g = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], v = y.commonIndicator.reduce((c, B) => {
2029
+ const { key: a, type: Q, range: J, unit: X, radioType: Z, rankRange: I } = B;
2030
+ if (Z === "1")
2031
+ n.sortBy = {
2032
+ column: B.key,
2033
+ start: I[0] || null,
2034
+ end: I[1] || null
2385
2035
  };
2386
- else if (d === "dividendYield") {
2387
- let [x, M] = X;
2388
- ["", null].includes(x) || (x = x / 100), ["", null].includes(M) || (M = M / 100), y.push({
2389
- column: j.key,
2390
- start: x,
2391
- end: M
2036
+ else if (a === "dividendYield") {
2037
+ let [U, f] = J;
2038
+ ["", null].includes(U) || (U = U / 100), ["", null].includes(f) || (f = f / 100), c.push({
2039
+ column: B.key,
2040
+ start: U,
2041
+ end: f
2392
2042
  });
2393
- } else if (Z === void 0 && !_.includes(d)) {
2394
- let [x, M] = X;
2395
- if (!["", null].includes(x))
2396
- switch (re[0]) {
2043
+ } else if (Q === void 0 && !g.includes(a)) {
2044
+ let [U, f] = J;
2045
+ if (!["", null].includes(U))
2046
+ switch (X[0]) {
2397
2047
  case "亿":
2398
- x = x * 1e8;
2048
+ U = U * 1e8;
2399
2049
  break;
2400
2050
  case "千万":
2401
- x = x * 1e7;
2051
+ U = U * 1e7;
2402
2052
  break;
2403
2053
  default:
2404
- x = x;
2054
+ U = U;
2405
2055
  break;
2406
2056
  }
2407
- if (!["", null].includes(M))
2408
- switch (re[1]) {
2057
+ if (!["", null].includes(f))
2058
+ switch (X[1]) {
2409
2059
  case "亿":
2410
- M = M * 1e8;
2060
+ f = f * 1e8;
2411
2061
  break;
2412
2062
  case "千万":
2413
- M = M * 1e7;
2063
+ f = f * 1e7;
2414
2064
  break;
2415
2065
  default:
2416
- M = M;
2066
+ f = f;
2417
2067
  break;
2418
2068
  }
2419
- y.push({
2420
- column: j.key,
2421
- start: x,
2422
- end: M
2069
+ c.push({
2070
+ column: B.key,
2071
+ start: U,
2072
+ end: f
2423
2073
  });
2424
2074
  }
2425
- return y;
2075
+ return c;
2426
2076
  }, []);
2427
- k.length && (u.query = k);
2428
- const T = b.commonIndicator.find(({ key: y }) => y === "st");
2429
- T && (u.st = T.st);
2430
- const $ = b.commonIndicator.find(({ key: y }) => y === "tFeaturelncomes");
2431
- $ && (u.netProfitQueryDto = { ...$, netProfit: $.netProfit * 1e8 });
2432
- const s = b.commonIndicator.find(({ key: y }) => y === "priceLevels");
2433
- s && (u.priceLevels = s.priceLevels);
2434
- const I = b.commonIndicator.find(({ key: y }) => y === "peTtmLevels");
2435
- I && (u.peTtmLevels = I.peTtmLevels);
2436
- const v = {};
2437
- b.commonIndicator.forEach((y) => {
2438
- const { key: j } = y;
2439
- switch (j) {
2077
+ v.length && (n.query = v);
2078
+ const T = y.commonIndicator.find(({ key: c }) => c === "st");
2079
+ T && (n.st = T.st);
2080
+ const w = y.commonIndicator.find(({ key: c }) => c === "tFeaturelncomes");
2081
+ w && (n.netProfitQueryDto = { ...w, netProfit: w.netProfit * 1e8 });
2082
+ const t = y.commonIndicator.find(({ key: c }) => c === "priceLevels");
2083
+ t && (n.priceLevels = t.priceLevels);
2084
+ const $ = y.commonIndicator.find(({ key: c }) => c === "peTtmLevels");
2085
+ $ && (n.peTtmLevels = $.peTtmLevels);
2086
+ const O = {};
2087
+ y.commonIndicator.forEach((c) => {
2088
+ const { key: B } = c;
2089
+ switch (B) {
2440
2090
  case "expireDays":
2441
- ["", null].includes(y.range[0]) || (v.minExpireDays = y.range[0]), ["", null].includes(y.range[1]) || (v.maxExpireDays = y.range[1]);
2091
+ ["", null].includes(c.range[0]) || (O.minExpireDays = c.range[0]), ["", null].includes(c.range[1]) || (O.maxExpireDays = c.range[1]);
2442
2092
  break;
2443
2093
  case "virtualRealDegree":
2444
- ["", null].includes(y.range[0]) || (v.minVirtualRealDegree = y.range[0] / 100), ["", null].includes(y.range[1]) || (v.maxVirtualRealDegree = y.range[1] / 100);
2094
+ ["", null].includes(c.range[0]) || (O.minVirtualRealDegree = c.range[0] / 100), ["", null].includes(c.range[1]) || (O.maxVirtualRealDegree = c.range[1] / 100);
2445
2095
  break;
2446
2096
  case "yearProfitRate":
2447
- ["", null].includes(y.range[0]) || (v.minYearProfitRate = y.range[0] / 100), ["", null].includes(y.range[1]) || (v.maxYearProfitRate = y.range[1] / 100);
2097
+ ["", null].includes(c.range[0]) || (O.minYearProfitRate = c.range[0] / 100), ["", null].includes(c.range[1]) || (O.maxYearProfitRate = c.range[1] / 100);
2448
2098
  break;
2449
2099
  case "impliedVolatility":
2450
- ["", null].includes(y.range[0]) || (v.minImpliedVolatility = y.range[0] / 100), ["", null].includes(y.range[1]) || (v.maxImpliedVolatility = y.range[1] / 100);
2100
+ ["", null].includes(c.range[0]) || (O.minImpliedVolatility = c.range[0] / 100), ["", null].includes(c.range[1]) || (O.maxImpliedVolatility = c.range[1] / 100);
2451
2101
  break;
2452
2102
  case "levelMultiplier":
2453
- ["", null].includes(y.range[0]) || (v.minLevelMultiplier = y.range[0]), ["", null].includes(y.range[1]) || (v.maxLevelMultiplier = y.range[1]);
2103
+ ["", null].includes(c.range[0]) || (O.minLevelMultiplier = c.range[0]), ["", null].includes(c.range[1]) || (O.maxLevelMultiplier = c.range[1]);
2454
2104
  break;
2455
2105
  case "turnover":
2456
- ["", null].includes(y.range[0]) || (v.minTurnover = y.range[0] * 1e4), ["", null].includes(y.range[1]) || (v.maxTurnover = y.range[1] * 1e4);
2106
+ ["", null].includes(c.range[0]) || (O.minTurnover = c.range[0] * 1e4), ["", null].includes(c.range[1]) || (O.maxTurnover = c.range[1] * 1e4);
2457
2107
  break;
2458
2108
  case "volume":
2459
- ["", null].includes(y.range[0]) || (v.minVolume = y.range[0]), ["", null].includes(y.range[1]) || (v.maxVolume = y.range[1]);
2109
+ ["", null].includes(c.range[0]) || (O.minVolume = c.range[0]), ["", null].includes(c.range[1]) || (O.maxVolume = c.range[1]);
2460
2110
  break;
2461
2111
  case "openInterest":
2462
- ["", null].includes(y.range[0]) || (v.minOpenInterest = y.range[0]), ["", null].includes(y.range[1]) || (v.maxOpenInterest = y.range[1]);
2112
+ ["", null].includes(c.range[0]) || (O.minOpenInterest = c.range[0]), ["", null].includes(c.range[1]) || (O.maxOpenInterest = c.range[1]);
2463
2113
  break;
2464
2114
  case "optionsCpType":
2465
- v.optionsCpType = y.optionsCpType;
2115
+ O.optionsCpType = c.optionsCpType;
2466
2116
  break;
2467
2117
  case "optionGear":
2468
- ["", null].includes(y.range[0]) || (v.minOptionGear = y.range[0]), ["", null].includes(y.range[1]) || (v.maxOptionGear = y.range[1]);
2118
+ ["", null].includes(c.range[0]) || (O.minOptionGear = c.range[0]), ["", null].includes(c.range[1]) || (O.maxOptionGear = c.range[1]);
2469
2119
  break;
2470
2120
  }
2471
- }), Object.keys(v).length && (u.searchOptionDto = {
2472
- ...u.searchOptionDto,
2473
- ...v
2121
+ }), Object.keys(O).length && (n.searchOptionDto = {
2122
+ ...n.searchOptionDto,
2123
+ ...O
2474
2124
  });
2475
2125
  }
2476
- return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", u), u;
2126
+ return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", n), n;
2477
2127
  },
2478
2128
  // 重置函数
2479
2129
  reset: () => {
2480
- n.value = {
2130
+ s.value = {
2481
2131
  // 品种市场
2482
2132
  varietyMarket: null,
2483
2133
  // 常用选项
@@ -2496,126 +2146,126 @@ const se = (a) => (he("data-v-5d0d1a7a"), a = a(), xe(), a), ln = { class: "vari
2496
2146
  commonIndicator: []
2497
2147
  };
2498
2148
  }
2499
- }), (b, u) => {
2500
- var O, _, k, T, $;
2501
- const U = $e, D = we, c = gl, e = yl;
2502
- return i(), h("div", ln, [
2503
- (O = f.value.varietyMarket) != null && O.show ? (i(), h("div", tn, [
2504
- V("div", nn, [
2505
- an,
2506
- V("span", {
2507
- onClick: u[0] || (u[0] = (s) => E("varietyMarket"))
2149
+ }), (y, n) => {
2150
+ var h, g, v, T, w;
2151
+ const C = ye, q = ge, r = We, e = Xe;
2152
+ return o(), b("div", vt, [
2153
+ (h = x.value.varietyMarket) != null && h.show ? (o(), b("div", mt, [
2154
+ _("div", ft, [
2155
+ yt,
2156
+ _("span", {
2157
+ onClick: n[0] || (n[0] = (t) => M("varietyMarket"))
2508
2158
  }, "不限")
2509
2159
  ]),
2510
- p(D, {
2511
- modelValue: n.value.varietyMarket,
2512
- "onUpdate:modelValue": u[1] || (u[1] = (s) => n.value.varietyMarket = s),
2160
+ u(q, {
2161
+ modelValue: s.value.varietyMarket,
2162
+ "onUpdate:modelValue": n[1] || (n[1] = (t) => s.value.varietyMarket = t),
2513
2163
  size: "small"
2514
2164
  }, {
2515
- default: g(() => [
2516
- (i(!0), h(R, null, z(C.value, ({ label: s, value: I }) => (i(), q(U, {
2517
- label: s,
2518
- value: I,
2519
- key: I
2165
+ default: p(() => [
2166
+ (o(!0), b(E, null, N(R.value, ({ label: t, value: $ }) => (o(), D(C, {
2167
+ label: t,
2168
+ value: $,
2169
+ key: $
2520
2170
  }, null, 8, ["label", "value"]))), 128))
2521
2171
  ]),
2522
2172
  _: 1
2523
2173
  }, 8, ["modelValue"])
2524
- ])) : F("", !0),
2525
- (_ = f.value.commonOption) != null && _.show && o.value.length ? (i(), h("div", on, [
2526
- V("div", sn, [
2527
- rn,
2528
- V("span", {
2529
- onClick: u[2] || (u[2] = (s) => E("commonOption"))
2174
+ ])) : z("", !0),
2175
+ (g = x.value.commonOption) != null && g.show && i.value.length ? (o(), b("div", gt, [
2176
+ _("div", bt, [
2177
+ kt,
2178
+ _("span", {
2179
+ onClick: n[2] || (n[2] = (t) => M("commonOption"))
2530
2180
  }, "不限")
2531
2181
  ]),
2532
- p(e, {
2533
- modelValue: n.value.commonOption,
2534
- "onUpdate:modelValue": u[3] || (u[3] = (s) => n.value.commonOption = s),
2182
+ u(e, {
2183
+ modelValue: s.value.commonOption,
2184
+ "onUpdate:modelValue": n[3] || (n[3] = (t) => s.value.commonOption = t),
2535
2185
  size: "small"
2536
2186
  }, {
2537
- default: g(() => [
2538
- (i(!0), h(R, null, z(o.value, ({ label: s, value: I }) => (i(), q(c, {
2539
- label: s,
2540
- value: I,
2541
- key: I
2187
+ default: p(() => [
2188
+ (o(!0), b(E, null, N(i.value, ({ label: t, value: $ }) => (o(), D(r, {
2189
+ label: t,
2190
+ value: $,
2191
+ key: $
2542
2192
  }, null, 8, ["label", "value"]))), 128))
2543
2193
  ]),
2544
2194
  _: 1
2545
2195
  }, 8, ["modelValue"])
2546
- ])) : F("", !0),
2547
- (k = f.value.marketIds) != null && k.show && t.value.length ? (i(), h("div", un, [
2548
- V("div", dn, [
2549
- cn,
2550
- V("span", {
2551
- onClick: u[4] || (u[4] = (s) => E("marketIds"))
2196
+ ])) : z("", !0),
2197
+ (v = x.value.marketIds) != null && v.show && l.value.length ? (o(), b("div", _t, [
2198
+ _("div", ht, [
2199
+ xt,
2200
+ _("span", {
2201
+ onClick: n[4] || (n[4] = (t) => M("marketIds"))
2552
2202
  }, "不限")
2553
2203
  ]),
2554
- p(e, {
2555
- modelValue: n.value.marketIds,
2556
- "onUpdate:modelValue": u[5] || (u[5] = (s) => n.value.marketIds = s),
2204
+ u(e, {
2205
+ modelValue: s.value.marketIds,
2206
+ "onUpdate:modelValue": n[5] || (n[5] = (t) => s.value.marketIds = t),
2557
2207
  size: "small"
2558
2208
  }, {
2559
- default: g(() => [
2560
- (i(!0), h(R, null, z(t.value, ({ label: s, value: I }) => (i(), q(c, {
2561
- label: s,
2562
- value: I,
2563
- key: I
2209
+ default: p(() => [
2210
+ (o(!0), b(E, null, N(l.value, ({ label: t, value: $ }) => (o(), D(r, {
2211
+ label: t,
2212
+ value: $,
2213
+ key: $
2564
2214
  }, null, 8, ["label", "value"]))), 128))
2565
2215
  ]),
2566
2216
  _: 1
2567
2217
  }, 8, ["modelValue"])
2568
- ])) : F("", !0),
2569
- (T = f.value.customTag) != null && T.show && w.value.length ? (i(), h("div", pn, [
2570
- V("div", fn, [
2571
- mn,
2572
- V("span", {
2573
- onClick: u[6] || (u[6] = (s) => E("customTag"))
2218
+ ])) : z("", !0),
2219
+ (T = x.value.customTag) != null && T.show && S.value.length ? (o(), b("div", Vt, [
2220
+ _("div", Ot, [
2221
+ It,
2222
+ _("span", {
2223
+ onClick: n[6] || (n[6] = (t) => M("customTag"))
2574
2224
  }, "不限")
2575
2225
  ]),
2576
- p(e, {
2577
- modelValue: n.value.customTag,
2578
- "onUpdate:modelValue": u[7] || (u[7] = (s) => n.value.customTag = s),
2226
+ u(e, {
2227
+ modelValue: s.value.customTag,
2228
+ "onUpdate:modelValue": n[7] || (n[7] = (t) => s.value.customTag = t),
2579
2229
  size: "small"
2580
2230
  }, {
2581
- default: g(() => [
2582
- (i(!0), h(R, null, z(w.value, ({ label: s, value: I }) => (i(), q(c, {
2583
- label: s,
2584
- value: I,
2585
- key: I
2231
+ default: p(() => [
2232
+ (o(!0), b(E, null, N(S.value, ({ label: t, value: $ }) => (o(), D(r, {
2233
+ label: t,
2234
+ value: $,
2235
+ key: $
2586
2236
  }, null, 8, ["label", "value"]))), 128))
2587
2237
  ]),
2588
2238
  _: 1
2589
2239
  }, 8, ["modelValue"])
2590
- ])) : F("", !0),
2591
- ($ = f.value.factorScreen) != null && $.show ? (i(), h("div", vn, [
2592
- V("div", gn, [
2593
- yn,
2594
- V("span", {
2595
- onClick: u[8] || (u[8] = (s) => E("factorScreen"))
2240
+ ])) : z("", !0),
2241
+ (w = x.value.factorScreen) != null && w.show ? (o(), b("div", $t, [
2242
+ _("div", wt, [
2243
+ Tt,
2244
+ _("span", {
2245
+ onClick: n[8] || (n[8] = (t) => M("factorScreen"))
2596
2246
  }, "不限")
2597
2247
  ]),
2598
- p(Ct, {
2599
- data: n.value.factorScreen,
2600
- "onUpdate:data": u[9] || (u[9] = (s) => n.value.factorScreen = s),
2601
- config: f.value.factorScreen
2248
+ u(zl, {
2249
+ data: s.value.factorScreen,
2250
+ "onUpdate:data": n[9] || (n[9] = (t) => s.value.factorScreen = t),
2251
+ config: x.value.factorScreen
2602
2252
  }, null, 8, ["data", "config"])
2603
- ])) : F("", !0),
2604
- p(en, {
2605
- data: n.value.commonIndicator,
2606
- "onUpdate:data": u[10] || (u[10] = (s) => n.value.commonIndicator = s),
2607
- varietyMarket: n.value.varietyMarket,
2608
- commonOption: n.value.commonOption,
2609
- config: f.value.commonIndicator
2253
+ ])) : z("", !0),
2254
+ u(pt, {
2255
+ data: s.value.commonIndicator,
2256
+ "onUpdate:data": n[10] || (n[10] = (t) => s.value.commonIndicator = t),
2257
+ varietyMarket: s.value.varietyMarket,
2258
+ commonOption: s.value.commonOption,
2259
+ config: x.value.commonIndicator
2610
2260
  }, null, 8, ["data", "varietyMarket", "commonOption", "config"])
2611
2261
  ]);
2612
2262
  };
2613
2263
  }
2614
- }, kn = /* @__PURE__ */ Oe(bn, [["__scopeId", "data-v-5d0d1a7a"]]), Hn = {
2615
- install(a) {
2616
- a.component("st-varietySearch", kn);
2264
+ }, St = /* @__PURE__ */ me(Ct, [["__scopeId", "data-v-5d0d1a7a"]]), rn = {
2265
+ install(d) {
2266
+ d.component("st-varietySearch", St);
2617
2267
  }
2618
2268
  };
2619
2269
  export {
2620
- Hn as default
2270
+ rn as default
2621
2271
  };