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