st-comp 0.0.92 → 0.0.94
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.
- package/components.d.ts +1 -0
- package/es/ChartLayout.cjs +1 -1
- package/es/ChartLayout.js +2 -2
- package/es/Dialog.cjs +1 -1
- package/es/Dialog.js +10 -10
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +131 -129
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +9 -9
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +8 -8
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +11 -11
- package/es/Table.cjs +1 -1
- package/es/Table.js +12 -12
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +1300 -793
- package/es/VirtualTable.cjs +3 -3
- package/es/VirtualTable.js +9 -9
- package/es/{base-1bc9f12c.js → base-6e64c2e6.js} +7 -7
- package/es/{base-315cbfab.cjs → base-8776b83e.cjs} +1 -1
- package/es/castArray-59d5ae43.cjs +1 -0
- package/es/{castArray-f42865a2.js → castArray-8ec29ca6.js} +1 -1
- package/es/{config-provider-17c85684.cjs → config-provider-76ef1b35.cjs} +1 -1
- package/es/{config-provider-c8d3957d.js → config-provider-f4278c8e.js} +7 -7
- package/es/{el-button-93e0ac7c.js → el-button-4c7ae9df.js} +36 -36
- package/es/{el-button-ec16f484.cjs → el-button-65e4598f.cjs} +1 -1
- package/es/{el-empty-0c85d9b7.js → el-empty-05e13b3c.js} +1 -1
- package/es/{el-empty-16ceef82.cjs → el-empty-dfe11c21.cjs} +1 -1
- package/es/{el-input-a8791103.cjs → el-input-11327619.cjs} +3 -3
- package/es/{el-input-29806e42.js → el-input-f4898cfa.js} +38 -37
- package/es/{el-overlay-6d0c5cc3.cjs → el-overlay-9d9c6ba9.cjs} +1 -1
- package/es/{el-overlay-53eb27a5.js → el-overlay-d7af7dda.js} +6 -6
- package/es/{el-popover-1d087574.cjs → el-popover-4a4a4b02.cjs} +1 -1
- package/es/{el-popover-dd66e2c8.js → el-popover-dc9c7ff7.js} +4 -4
- package/es/{el-radio-group-caebab9d.js → el-radio-group-a31fb7c0.js} +13 -13
- package/es/{el-radio-group-46e8f574.cjs → el-radio-group-cc2d6c87.cjs} +1 -1
- package/es/{el-scrollbar-e17fad47.js → el-scrollbar-a00aca2f.js} +12 -12
- package/es/{el-scrollbar-9473fd47.cjs → el-scrollbar-f197b544.cjs} +1 -1
- package/es/{el-select-64511731.cjs → el-select-5dbb0da3.cjs} +1 -1
- package/es/{el-select-ac302f3c.js → el-select-b9cf452e.js} +51 -51
- package/es/el-table-column-1e15361e.cjs +20 -0
- package/es/{el-table-column-b8e2141b.js → el-table-column-675f51e6.js} +69 -69
- package/es/el-tag-c9d5baa7.cjs +1 -0
- package/es/{el-tag-9493bdff.js → el-tag-f878b1f1.js} +12 -12
- package/es/{focus-trap-1b2aef75.js → focus-trap-2677bd39.js} +1 -1
- package/es/{focus-trap-ea177336.cjs → focus-trap-5f42842b.cjs} +1 -1
- package/es/{raf-6d7e80f4.js → raf-32ed81f4.js} +1 -1
- package/es/{raf-c437ab23.cjs → raf-7c366b55.cjs} +1 -1
- package/es/{scroll-a80e1458.cjs → scroll-22a00b05.cjs} +1 -1
- package/es/{scroll-a928a93e.js → scroll-9b9249e9.js} +1 -1
- package/es/style.css +1 -1
- package/es/{use-form-item-7924b6c1.cjs → use-form-item-67e7ef93.cjs} +1 -1
- package/es/{use-form-item-aeec8499.js → use-form-item-bfc7dddf.js} +21 -21
- package/es/{use-global-config-b07c467a.js → use-global-config-89daeba3.js} +23 -23
- package/es/{use-global-config-d02be80b.cjs → use-global-config-f9103903.cjs} +1 -1
- package/es/{vnode-85a610a2.cjs → vnode-69f3ca85.cjs} +1 -1
- package/es/{vnode-aa872900.js → vnode-aa3448ec.js} +1 -1
- package/es/{zh-cn-0024c96d.cjs → zh-cn-720e514b.cjs} +1 -1
- package/es/{zh-cn-d29347f8.js → zh-cn-e662dc89.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +193 -193
- package/lib/{index-74cdff5f.js → index-5d6aca6c.js} +28012 -27503
- package/lib/{python-ed84da20.js → python-dae8be67.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/FactorWarning/index.vue +28 -13
- package/packages/VarietySearch/components/CommonIndicator/index.vue +270 -112
- package/packages/VarietySearch/config.js +12 -1
- package/packages/VarietySearch/index.vue +8 -0
- package/src/pages/FactorWarning/index.vue +850 -8
- package/es/castArray-f54f6f75.cjs +0 -1
- package/es/el-table-column-773986c7.cjs +0 -20
- package/es/el-tag-a6a4d4ef.cjs +0 -1
package/es/VarietySearch.js
CHANGED
|
@@ -1,28 +1,324 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import {
|
|
3
|
-
import { b as
|
|
4
|
-
import { defineComponent as
|
|
1
|
+
import { b as ge, d as me, N as mt, i as ce, e as vt, u as Se, _ as ye, s as Oe, t as ft, w as Ee, k as xe, o as He, c as gt, v as Ie, x as yt, j as bt, y as _t } from "./base-6e64c2e6.js";
|
|
2
|
+
import { b as kt, c as Ke, e as Me, a as Ue, d as ht } from "./el-radio-group-a31fb7c0.js";
|
|
3
|
+
import { b as Vt, c as Ot, E as xt, a as It } from "./el-table-column-675f51e6.js";
|
|
4
|
+
import { defineComponent as oe, useAttrs as $t, ref as N, computed as P, onMounted as Ge, openBlock as i, createBlock as U, unref as y, withCtx as r, createElementVNode as v, normalizeClass as W, normalizeStyle as $e, createVNode as a, createElementBlock as O, Fragment as L, renderList as K, renderSlot as ne, createTextVNode as C, toDisplayString as G, mergeProps as wt, withKeys as ie, withModifiers as we, createSlots as Ce, Transition as Qe, withDirectives as We, vShow as Je, resolveDynamicComponent as Ze, shallowReactive as Ct, watch as ve, createCommentVNode as M, isVNode as Xe, render as ze, mergeModels as De, useModel as Fe, pushScopeId as qe, popScopeId as Ne } from "vue";
|
|
5
5
|
import "./el-tooltip-4ed993c7.js";
|
|
6
|
-
import { E as
|
|
7
|
-
import { a as
|
|
8
|
-
import { E as
|
|
9
|
-
import { E as Le } from "./el-input-
|
|
10
|
-
import { b as
|
|
6
|
+
import { a as Tt, E as et, b as St } from "./el-tag-f878b1f1.js";
|
|
7
|
+
import { d as Et, o as Mt, a as Ut, u as Dt } from "./el-scrollbar-a00aca2f.js";
|
|
8
|
+
import { E as tt } from "./el-overlay-d7af7dda.js";
|
|
9
|
+
import { u as Ft, E as Le } from "./el-input-f4898cfa.js";
|
|
10
|
+
import { b as lt, E as nt, a as ot } from "./el-select-b9cf452e.js";
|
|
11
11
|
import "./el-icon-4ed993c7.js";
|
|
12
|
-
import { E as
|
|
13
|
-
import {
|
|
14
|
-
import { _ as
|
|
15
|
-
import { m as
|
|
16
|
-
import { u as
|
|
17
|
-
import { E as
|
|
18
|
-
import { m as
|
|
19
|
-
import "./castArray-
|
|
12
|
+
import { E as at } from "./el-button-4c7ae9df.js";
|
|
13
|
+
import { h as qt, E as fe, l as Nt, c as Lt, j as Pt, i as Rt, T as Ae, k as zt, p as Be, n as At, o as Bt } from "./use-form-item-bfc7dddf.js";
|
|
14
|
+
import { _ as Pe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
import { m as jt } from "./typescript-7ae59c4c.js";
|
|
16
|
+
import { u as Yt } from "./use-global-config-89daeba3.js";
|
|
17
|
+
import { U as pe, I as Te, C as st, E as Ht } from "./focus-trap-2677bd39.js";
|
|
18
|
+
import { m as je } from "./config-provider-f4278c8e.js";
|
|
19
|
+
import "./castArray-8ec29ca6.js";
|
|
20
20
|
import "./_commonjsHelpers-10dfc225.js";
|
|
21
|
-
import "./raf-
|
|
22
|
-
import "./vnode-
|
|
23
|
-
import "./scroll-
|
|
21
|
+
import "./raf-32ed81f4.js";
|
|
22
|
+
import "./vnode-aa3448ec.js";
|
|
23
|
+
import "./scroll-9b9249e9.js";
|
|
24
24
|
import "./index-657047bb.js";
|
|
25
|
-
const
|
|
25
|
+
const Kt = () => Math.floor(Math.random() * 1e4), Gt = ge({
|
|
26
|
+
valueKey: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: "value"
|
|
29
|
+
},
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: [String, Number],
|
|
32
|
+
default: ""
|
|
33
|
+
},
|
|
34
|
+
debounce: {
|
|
35
|
+
type: Number,
|
|
36
|
+
default: 300
|
|
37
|
+
},
|
|
38
|
+
placement: {
|
|
39
|
+
type: me(String),
|
|
40
|
+
values: [
|
|
41
|
+
"top",
|
|
42
|
+
"top-start",
|
|
43
|
+
"top-end",
|
|
44
|
+
"bottom",
|
|
45
|
+
"bottom-start",
|
|
46
|
+
"bottom-end"
|
|
47
|
+
],
|
|
48
|
+
default: "bottom-start"
|
|
49
|
+
},
|
|
50
|
+
fetchSuggestions: {
|
|
51
|
+
type: me([Function, Array]),
|
|
52
|
+
default: mt
|
|
53
|
+
},
|
|
54
|
+
popperClass: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: ""
|
|
57
|
+
},
|
|
58
|
+
triggerOnFocus: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !0
|
|
61
|
+
},
|
|
62
|
+
selectWhenUnmatched: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
default: !1
|
|
65
|
+
},
|
|
66
|
+
hideLoading: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: !1
|
|
69
|
+
},
|
|
70
|
+
label: {
|
|
71
|
+
type: String
|
|
72
|
+
},
|
|
73
|
+
teleported: Tt.teleported,
|
|
74
|
+
highlightFirstItem: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
default: !1
|
|
77
|
+
},
|
|
78
|
+
fitInputWidth: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
default: !1
|
|
81
|
+
},
|
|
82
|
+
clearable: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: !1
|
|
85
|
+
},
|
|
86
|
+
disabled: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: !1
|
|
89
|
+
},
|
|
90
|
+
name: String
|
|
91
|
+
}), Qt = {
|
|
92
|
+
[pe]: (s) => ce(s),
|
|
93
|
+
[Te]: (s) => ce(s),
|
|
94
|
+
[st]: (s) => ce(s),
|
|
95
|
+
focus: (s) => s instanceof FocusEvent,
|
|
96
|
+
blur: (s) => s instanceof FocusEvent,
|
|
97
|
+
clear: () => !0,
|
|
98
|
+
select: (s) => vt(s)
|
|
99
|
+
}, Wt = ["aria-expanded", "aria-owns"], Jt = { key: 0 }, Zt = ["id", "aria-selected", "onClick"], ut = "ElAutocomplete", Xt = oe({
|
|
100
|
+
name: ut,
|
|
101
|
+
inheritAttrs: !1
|
|
102
|
+
}), el = /* @__PURE__ */ oe({
|
|
103
|
+
...Xt,
|
|
104
|
+
props: Gt,
|
|
105
|
+
emits: Qt,
|
|
106
|
+
setup(s, { expose: f, emit: u }) {
|
|
107
|
+
const l = s, b = Ft(), x = $t(), t = qt(), S = Se("autocomplete"), T = N(), z = N(), V = N(), d = N();
|
|
108
|
+
let E = !1, q = !1;
|
|
109
|
+
const w = N([]), $ = N(-1), p = N(""), e = N(!1), n = N(!1), c = N(!1), k = P(() => S.b(String(Kt()))), g = P(() => x.style), h = P(() => (w.value.length > 0 || c.value) && e.value), I = P(() => !l.hideLoading && c.value), m = P(() => T.value ? Array.from(T.value.$el.querySelectorAll("input")) : []), B = () => {
|
|
110
|
+
h.value && (p.value = `${T.value.$el.offsetWidth}px`);
|
|
111
|
+
}, j = () => {
|
|
112
|
+
$.value = -1;
|
|
113
|
+
}, o = Et(async (_) => {
|
|
114
|
+
if (n.value)
|
|
115
|
+
return;
|
|
116
|
+
const F = (J) => {
|
|
117
|
+
c.value = !1, !n.value && (Oe(J) ? (w.value = J, $.value = l.highlightFirstItem ? 0 : -1) : ft(ut, "autocomplete suggestions must be an array"));
|
|
118
|
+
};
|
|
119
|
+
if (c.value = !0, Oe(l.fetchSuggestions))
|
|
120
|
+
F(l.fetchSuggestions);
|
|
121
|
+
else {
|
|
122
|
+
const J = await l.fetchSuggestions(_, F);
|
|
123
|
+
Oe(J) && F(J);
|
|
124
|
+
}
|
|
125
|
+
}, l.debounce), le = (_) => {
|
|
126
|
+
const F = !!_;
|
|
127
|
+
if (u(Te, _), u(pe, _), n.value = !1, e.value || (e.value = F), !l.triggerOnFocus && !_) {
|
|
128
|
+
n.value = !0, w.value = [];
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
o(_);
|
|
132
|
+
}, R = (_) => {
|
|
133
|
+
var F;
|
|
134
|
+
t.value || (((F = _.target) == null ? void 0 : F.tagName) !== "INPUT" || m.value.includes(document.activeElement)) && (e.value = !0);
|
|
135
|
+
}, A = (_) => {
|
|
136
|
+
u(st, _);
|
|
137
|
+
}, re = (_) => {
|
|
138
|
+
q ? q = !1 : (e.value = !0, u("focus", _), l.triggerOnFocus && !E && o(String(l.modelValue)));
|
|
139
|
+
}, be = (_) => {
|
|
140
|
+
setTimeout(() => {
|
|
141
|
+
var F;
|
|
142
|
+
if ((F = V.value) != null && F.isFocusInsideContent()) {
|
|
143
|
+
q = !0;
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
e.value && X(), u("blur", _);
|
|
147
|
+
});
|
|
148
|
+
}, D = () => {
|
|
149
|
+
e.value = !1, u(pe, ""), u("clear");
|
|
150
|
+
}, Z = async () => {
|
|
151
|
+
h.value && $.value >= 0 && $.value < w.value.length ? _e(w.value[$.value]) : l.selectWhenUnmatched && (u("select", { value: l.modelValue }), w.value = [], $.value = -1);
|
|
152
|
+
}, H = (_) => {
|
|
153
|
+
h.value && (_.preventDefault(), _.stopPropagation(), X());
|
|
154
|
+
}, X = () => {
|
|
155
|
+
e.value = !1;
|
|
156
|
+
}, dt = () => {
|
|
157
|
+
var _;
|
|
158
|
+
(_ = T.value) == null || _.focus();
|
|
159
|
+
}, pt = () => {
|
|
160
|
+
var _;
|
|
161
|
+
(_ = T.value) == null || _.blur();
|
|
162
|
+
}, _e = async (_) => {
|
|
163
|
+
u(Te, _[l.valueKey]), u(pe, _[l.valueKey]), u("select", _), w.value = [], $.value = -1;
|
|
164
|
+
}, ke = (_) => {
|
|
165
|
+
if (!h.value || c.value)
|
|
166
|
+
return;
|
|
167
|
+
if (_ < 0) {
|
|
168
|
+
$.value = -1;
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
_ >= w.value.length && (_ = w.value.length - 1);
|
|
172
|
+
const F = z.value.querySelector(`.${S.be("suggestion", "wrap")}`), se = F.querySelectorAll(`.${S.be("suggestion", "list")} li`)[_], he = F.scrollTop, { offsetTop: Re, scrollHeight: Ve } = se;
|
|
173
|
+
Re + Ve > he + F.clientHeight && (F.scrollTop += Ve), Re < he && (F.scrollTop -= Ve), $.value = _, T.value.ref.setAttribute("aria-activedescendant", `${k.value}-item-${$.value}`);
|
|
174
|
+
};
|
|
175
|
+
return Mt(d, () => {
|
|
176
|
+
h.value && X();
|
|
177
|
+
}), Ge(() => {
|
|
178
|
+
T.value.ref.setAttribute("role", "textbox"), T.value.ref.setAttribute("aria-autocomplete", "list"), T.value.ref.setAttribute("aria-controls", "id"), T.value.ref.setAttribute("aria-activedescendant", `${k.value}-item-${$.value}`), E = T.value.ref.hasAttribute("readonly");
|
|
179
|
+
}), f({
|
|
180
|
+
highlightedIndex: $,
|
|
181
|
+
activated: e,
|
|
182
|
+
loading: c,
|
|
183
|
+
inputRef: T,
|
|
184
|
+
popperRef: V,
|
|
185
|
+
suggestions: w,
|
|
186
|
+
handleSelect: _e,
|
|
187
|
+
handleKeyEnter: Z,
|
|
188
|
+
focus: dt,
|
|
189
|
+
blur: pt,
|
|
190
|
+
close: X,
|
|
191
|
+
highlight: ke
|
|
192
|
+
}), (_, F) => (i(), U(y(et), {
|
|
193
|
+
ref_key: "popperRef",
|
|
194
|
+
ref: V,
|
|
195
|
+
visible: y(h),
|
|
196
|
+
placement: _.placement,
|
|
197
|
+
"fallback-placements": ["bottom-start", "top-start"],
|
|
198
|
+
"popper-class": [y(S).e("popper"), _.popperClass],
|
|
199
|
+
teleported: _.teleported,
|
|
200
|
+
"gpu-acceleration": !1,
|
|
201
|
+
pure: "",
|
|
202
|
+
"manual-mode": "",
|
|
203
|
+
effect: "light",
|
|
204
|
+
trigger: "click",
|
|
205
|
+
transition: `${y(S).namespace.value}-zoom-in-top`,
|
|
206
|
+
persistent: "",
|
|
207
|
+
role: "listbox",
|
|
208
|
+
onBeforeShow: B,
|
|
209
|
+
onHide: j
|
|
210
|
+
}, {
|
|
211
|
+
content: r(() => [
|
|
212
|
+
v("div", {
|
|
213
|
+
ref_key: "regionRef",
|
|
214
|
+
ref: z,
|
|
215
|
+
class: W([y(S).b("suggestion"), y(S).is("loading", y(I))]),
|
|
216
|
+
style: $e({
|
|
217
|
+
[_.fitInputWidth ? "width" : "minWidth"]: p.value,
|
|
218
|
+
outline: "none"
|
|
219
|
+
}),
|
|
220
|
+
role: "region"
|
|
221
|
+
}, [
|
|
222
|
+
a(y(St), {
|
|
223
|
+
id: y(k),
|
|
224
|
+
tag: "ul",
|
|
225
|
+
"wrap-class": y(S).be("suggestion", "wrap"),
|
|
226
|
+
"view-class": y(S).be("suggestion", "list"),
|
|
227
|
+
role: "listbox"
|
|
228
|
+
}, {
|
|
229
|
+
default: r(() => [
|
|
230
|
+
y(I) ? (i(), O("li", Jt, [
|
|
231
|
+
a(y(fe), {
|
|
232
|
+
class: W(y(S).is("loading"))
|
|
233
|
+
}, {
|
|
234
|
+
default: r(() => [
|
|
235
|
+
a(y(Nt))
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
}, 8, ["class"])
|
|
239
|
+
])) : (i(!0), O(L, { key: 1 }, K(w.value, (J, se) => (i(), O("li", {
|
|
240
|
+
id: `${y(k)}-item-${se}`,
|
|
241
|
+
key: se,
|
|
242
|
+
class: W({ highlighted: $.value === se }),
|
|
243
|
+
role: "option",
|
|
244
|
+
"aria-selected": $.value === se,
|
|
245
|
+
onClick: (he) => _e(J)
|
|
246
|
+
}, [
|
|
247
|
+
ne(_.$slots, "default", { item: J }, () => [
|
|
248
|
+
C(G(J[_.valueKey]), 1)
|
|
249
|
+
])
|
|
250
|
+
], 10, Zt))), 128))
|
|
251
|
+
]),
|
|
252
|
+
_: 3
|
|
253
|
+
}, 8, ["id", "wrap-class", "view-class"])
|
|
254
|
+
], 6)
|
|
255
|
+
]),
|
|
256
|
+
default: r(() => [
|
|
257
|
+
v("div", {
|
|
258
|
+
ref_key: "listboxRef",
|
|
259
|
+
ref: d,
|
|
260
|
+
class: W([y(S).b(), _.$attrs.class]),
|
|
261
|
+
style: $e(y(g)),
|
|
262
|
+
role: "combobox",
|
|
263
|
+
"aria-haspopup": "listbox",
|
|
264
|
+
"aria-expanded": y(h),
|
|
265
|
+
"aria-owns": y(k)
|
|
266
|
+
}, [
|
|
267
|
+
a(y(Le), wt({
|
|
268
|
+
ref_key: "inputRef",
|
|
269
|
+
ref: T
|
|
270
|
+
}, y(b), {
|
|
271
|
+
clearable: _.clearable,
|
|
272
|
+
disabled: y(t),
|
|
273
|
+
name: _.name,
|
|
274
|
+
"model-value": _.modelValue,
|
|
275
|
+
onInput: le,
|
|
276
|
+
onChange: A,
|
|
277
|
+
onFocus: re,
|
|
278
|
+
onBlur: be,
|
|
279
|
+
onClear: D,
|
|
280
|
+
onKeydown: [
|
|
281
|
+
F[0] || (F[0] = ie(we((J) => ke($.value - 1), ["prevent"]), ["up"])),
|
|
282
|
+
F[1] || (F[1] = ie(we((J) => ke($.value + 1), ["prevent"]), ["down"])),
|
|
283
|
+
ie(Z, ["enter"]),
|
|
284
|
+
ie(X, ["tab"]),
|
|
285
|
+
ie(H, ["esc"])
|
|
286
|
+
],
|
|
287
|
+
onMousedown: R
|
|
288
|
+
}), Ce({ _: 2 }, [
|
|
289
|
+
_.$slots.prepend ? {
|
|
290
|
+
name: "prepend",
|
|
291
|
+
fn: r(() => [
|
|
292
|
+
ne(_.$slots, "prepend")
|
|
293
|
+
])
|
|
294
|
+
} : void 0,
|
|
295
|
+
_.$slots.append ? {
|
|
296
|
+
name: "append",
|
|
297
|
+
fn: r(() => [
|
|
298
|
+
ne(_.$slots, "append")
|
|
299
|
+
])
|
|
300
|
+
} : void 0,
|
|
301
|
+
_.$slots.prefix ? {
|
|
302
|
+
name: "prefix",
|
|
303
|
+
fn: r(() => [
|
|
304
|
+
ne(_.$slots, "prefix")
|
|
305
|
+
])
|
|
306
|
+
} : void 0,
|
|
307
|
+
_.$slots.suffix ? {
|
|
308
|
+
name: "suffix",
|
|
309
|
+
fn: r(() => [
|
|
310
|
+
ne(_.$slots, "suffix")
|
|
311
|
+
])
|
|
312
|
+
} : void 0
|
|
313
|
+
]), 1040, ["clearable", "disabled", "name", "model-value", "onKeydown"])
|
|
314
|
+
], 14, Wt)
|
|
315
|
+
]),
|
|
316
|
+
_: 3
|
|
317
|
+
}, 8, ["visible", "placement", "popper-class", "teleported", "transition"]));
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
var tl = /* @__PURE__ */ ye(el, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);
|
|
321
|
+
const ll = Ee(tl), nl = ge({
|
|
26
322
|
value: {
|
|
27
323
|
type: [String, Number],
|
|
28
324
|
default: ""
|
|
@@ -38,34 +334,34 @@ const _t = re({
|
|
|
38
334
|
values: ["primary", "success", "warning", "info", "danger"],
|
|
39
335
|
default: "danger"
|
|
40
336
|
}
|
|
41
|
-
}),
|
|
337
|
+
}), ol = ["textContent"], al = oe({
|
|
42
338
|
name: "ElBadge"
|
|
43
|
-
}),
|
|
44
|
-
...
|
|
45
|
-
props:
|
|
46
|
-
setup(
|
|
47
|
-
const
|
|
48
|
-
return
|
|
49
|
-
content:
|
|
50
|
-
}), (
|
|
51
|
-
class:
|
|
339
|
+
}), sl = /* @__PURE__ */ oe({
|
|
340
|
+
...al,
|
|
341
|
+
props: nl,
|
|
342
|
+
setup(s, { expose: f }) {
|
|
343
|
+
const u = s, l = Se("badge"), b = P(() => u.isDot ? "" : xe(u.value) && xe(u.max) ? u.max < u.value ? `${u.max}+` : `${u.value}` : `${u.value}`);
|
|
344
|
+
return f({
|
|
345
|
+
content: b
|
|
346
|
+
}), (x, t) => (i(), O("div", {
|
|
347
|
+
class: W(y(l).b())
|
|
52
348
|
}, [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
name: `${
|
|
349
|
+
ne(x.$slots, "default"),
|
|
350
|
+
a(Qe, {
|
|
351
|
+
name: `${y(l).namespace.value}-zoom-in-center`,
|
|
56
352
|
persisted: ""
|
|
57
353
|
}, {
|
|
58
|
-
default:
|
|
59
|
-
|
|
60
|
-
class:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
354
|
+
default: r(() => [
|
|
355
|
+
We(v("sup", {
|
|
356
|
+
class: W([
|
|
357
|
+
y(l).e("content"),
|
|
358
|
+
y(l).em("content", x.type),
|
|
359
|
+
y(l).is("fixed", !!x.$slots.default),
|
|
360
|
+
y(l).is("dot", x.isDot)
|
|
65
361
|
]),
|
|
66
|
-
textContent:
|
|
67
|
-
}, null, 10,
|
|
68
|
-
[
|
|
362
|
+
textContent: G(y(b))
|
|
363
|
+
}, null, 10, ol), [
|
|
364
|
+
[Je, !x.hidden && (y(b) || x.isDot)]
|
|
69
365
|
])
|
|
70
366
|
]),
|
|
71
367
|
_: 1
|
|
@@ -73,8 +369,8 @@ const _t = re({
|
|
|
73
369
|
], 2));
|
|
74
370
|
}
|
|
75
371
|
});
|
|
76
|
-
var
|
|
77
|
-
const
|
|
372
|
+
var ul = /* @__PURE__ */ ye(sl, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);
|
|
373
|
+
const rl = Ee(ul), il = ge({
|
|
78
374
|
type: {
|
|
79
375
|
type: String,
|
|
80
376
|
values: ["primary", "success", "info", "warning", "danger", ""],
|
|
@@ -82,7 +378,7 @@ const Ot = Ce(ht), It = re({
|
|
|
82
378
|
},
|
|
83
379
|
size: {
|
|
84
380
|
type: String,
|
|
85
|
-
values:
|
|
381
|
+
values: Lt,
|
|
86
382
|
default: ""
|
|
87
383
|
},
|
|
88
384
|
truncated: {
|
|
@@ -92,30 +388,30 @@ const Ot = Ce(ht), It = re({
|
|
|
92
388
|
type: String,
|
|
93
389
|
default: "span"
|
|
94
390
|
}
|
|
95
|
-
}),
|
|
391
|
+
}), cl = oe({
|
|
96
392
|
name: "ElText"
|
|
97
|
-
}),
|
|
98
|
-
...
|
|
99
|
-
props:
|
|
100
|
-
setup(
|
|
101
|
-
const
|
|
393
|
+
}), dl = /* @__PURE__ */ oe({
|
|
394
|
+
...cl,
|
|
395
|
+
props: il,
|
|
396
|
+
setup(s) {
|
|
397
|
+
const f = s, u = Pt(), l = Se("text"), b = P(() => [
|
|
102
398
|
l.b(),
|
|
103
|
-
l.m(
|
|
104
|
-
l.m(
|
|
105
|
-
l.is("truncated",
|
|
399
|
+
l.m(f.type),
|
|
400
|
+
l.m(u.value),
|
|
401
|
+
l.is("truncated", f.truncated)
|
|
106
402
|
]);
|
|
107
|
-
return (
|
|
108
|
-
class:
|
|
403
|
+
return (x, t) => (i(), U(Ze(x.tag), {
|
|
404
|
+
class: W(y(b))
|
|
109
405
|
}, {
|
|
110
|
-
default:
|
|
111
|
-
|
|
406
|
+
default: r(() => [
|
|
407
|
+
ne(x.$slots, "default")
|
|
112
408
|
]),
|
|
113
409
|
_: 3
|
|
114
410
|
}, 8, ["class"]));
|
|
115
411
|
}
|
|
116
412
|
});
|
|
117
|
-
var
|
|
118
|
-
const
|
|
413
|
+
var pl = /* @__PURE__ */ ye(dl, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);
|
|
414
|
+
const ml = Ee(pl), rt = ["success", "info", "warning", "error"], Q = jt({
|
|
119
415
|
customClass: "",
|
|
120
416
|
center: !1,
|
|
121
417
|
dangerouslyUseHTMLString: !1,
|
|
@@ -130,265 +426,266 @@ const Ct = Ce(wt), Be = ["success", "info", "warning", "error"], P = ft({
|
|
|
130
426
|
zIndex: 0,
|
|
131
427
|
grouping: !1,
|
|
132
428
|
repeatNum: 1,
|
|
133
|
-
appendTo:
|
|
134
|
-
}),
|
|
429
|
+
appendTo: He ? document.body : void 0
|
|
430
|
+
}), vl = ge({
|
|
135
431
|
customClass: {
|
|
136
432
|
type: String,
|
|
137
|
-
default:
|
|
433
|
+
default: Q.customClass
|
|
138
434
|
},
|
|
139
435
|
center: {
|
|
140
436
|
type: Boolean,
|
|
141
|
-
default:
|
|
437
|
+
default: Q.center
|
|
142
438
|
},
|
|
143
439
|
dangerouslyUseHTMLString: {
|
|
144
440
|
type: Boolean,
|
|
145
|
-
default:
|
|
441
|
+
default: Q.dangerouslyUseHTMLString
|
|
146
442
|
},
|
|
147
443
|
duration: {
|
|
148
444
|
type: Number,
|
|
149
|
-
default:
|
|
445
|
+
default: Q.duration
|
|
150
446
|
},
|
|
151
447
|
icon: {
|
|
152
|
-
type:
|
|
153
|
-
default:
|
|
448
|
+
type: Rt,
|
|
449
|
+
default: Q.icon
|
|
154
450
|
},
|
|
155
451
|
id: {
|
|
156
452
|
type: String,
|
|
157
|
-
default:
|
|
453
|
+
default: Q.id
|
|
158
454
|
},
|
|
159
455
|
message: {
|
|
160
|
-
type:
|
|
456
|
+
type: me([
|
|
161
457
|
String,
|
|
162
458
|
Object,
|
|
163
459
|
Function
|
|
164
460
|
]),
|
|
165
|
-
default:
|
|
461
|
+
default: Q.message
|
|
166
462
|
},
|
|
167
463
|
onClose: {
|
|
168
|
-
type:
|
|
464
|
+
type: me(Function),
|
|
169
465
|
required: !1
|
|
170
466
|
},
|
|
171
467
|
showClose: {
|
|
172
468
|
type: Boolean,
|
|
173
|
-
default:
|
|
469
|
+
default: Q.showClose
|
|
174
470
|
},
|
|
175
471
|
type: {
|
|
176
472
|
type: String,
|
|
177
|
-
values:
|
|
178
|
-
default:
|
|
473
|
+
values: rt,
|
|
474
|
+
default: Q.type
|
|
179
475
|
},
|
|
180
476
|
offset: {
|
|
181
477
|
type: Number,
|
|
182
|
-
default:
|
|
478
|
+
default: Q.offset
|
|
183
479
|
},
|
|
184
480
|
zIndex: {
|
|
185
481
|
type: Number,
|
|
186
|
-
default:
|
|
482
|
+
default: Q.zIndex
|
|
187
483
|
},
|
|
188
484
|
grouping: {
|
|
189
485
|
type: Boolean,
|
|
190
|
-
default:
|
|
486
|
+
default: Q.grouping
|
|
191
487
|
},
|
|
192
488
|
repeatNum: {
|
|
193
489
|
type: Number,
|
|
194
|
-
default:
|
|
490
|
+
default: Q.repeatNum
|
|
195
491
|
}
|
|
196
|
-
}),
|
|
492
|
+
}), fl = {
|
|
197
493
|
destroy: () => !0
|
|
198
|
-
},
|
|
199
|
-
const
|
|
494
|
+
}, te = Ct([]), gl = (s) => {
|
|
495
|
+
const f = te.findIndex((b) => b.id === s), u = te[f];
|
|
200
496
|
let l;
|
|
201
|
-
return
|
|
202
|
-
},
|
|
203
|
-
const { prev:
|
|
204
|
-
return
|
|
205
|
-
},
|
|
497
|
+
return f > 0 && (l = te[f - 1]), { current: u, prev: l };
|
|
498
|
+
}, yl = (s) => {
|
|
499
|
+
const { prev: f } = gl(s);
|
|
500
|
+
return f ? f.vm.exposed.bottom.value : 0;
|
|
501
|
+
}, bl = (s, f) => te.findIndex((l) => l.id === s) > 0 ? 20 : f, _l = ["id"], kl = ["innerHTML"], hl = oe({
|
|
206
502
|
name: "ElMessage"
|
|
207
|
-
}),
|
|
208
|
-
...
|
|
209
|
-
props:
|
|
210
|
-
emits:
|
|
211
|
-
setup(
|
|
212
|
-
const
|
|
213
|
-
let
|
|
214
|
-
const
|
|
215
|
-
const
|
|
216
|
-
return { [
|
|
217
|
-
}),
|
|
218
|
-
top: `${
|
|
219
|
-
zIndex:
|
|
503
|
+
}), Vl = /* @__PURE__ */ oe({
|
|
504
|
+
...hl,
|
|
505
|
+
props: vl,
|
|
506
|
+
emits: fl,
|
|
507
|
+
setup(s, { expose: f }) {
|
|
508
|
+
const u = s, { Close: l } = zt, { ns: b, zIndex: x } = Yt("message"), { currentZIndex: t, nextZIndex: S } = x, T = N(), z = N(!1), V = N(0);
|
|
509
|
+
let d;
|
|
510
|
+
const E = P(() => u.type ? u.type === "error" ? "danger" : u.type : "info"), q = P(() => {
|
|
511
|
+
const I = u.type;
|
|
512
|
+
return { [b.bm("icon", I)]: I && Ae[I] };
|
|
513
|
+
}), w = P(() => u.icon || Ae[u.type] || ""), $ = P(() => yl(u.id)), p = P(() => bl(u.id, u.offset) + $.value), e = P(() => V.value + p.value), n = P(() => ({
|
|
514
|
+
top: `${p.value}px`,
|
|
515
|
+
zIndex: t.value
|
|
220
516
|
}));
|
|
221
|
-
function
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
},
|
|
517
|
+
function c() {
|
|
518
|
+
u.duration !== 0 && ({ stop: d } = gt(() => {
|
|
519
|
+
g();
|
|
520
|
+
}, u.duration));
|
|
225
521
|
}
|
|
226
|
-
function
|
|
227
|
-
|
|
522
|
+
function k() {
|
|
523
|
+
d == null || d();
|
|
228
524
|
}
|
|
229
|
-
function
|
|
230
|
-
|
|
525
|
+
function g() {
|
|
526
|
+
z.value = !1;
|
|
231
527
|
}
|
|
232
|
-
function
|
|
233
|
-
|
|
528
|
+
function h({ code: I }) {
|
|
529
|
+
I === Ht.esc && g();
|
|
234
530
|
}
|
|
235
|
-
return
|
|
236
|
-
|
|
237
|
-
}),
|
|
238
|
-
|
|
239
|
-
}),
|
|
240
|
-
|
|
241
|
-
}),
|
|
242
|
-
visible:
|
|
243
|
-
bottom:
|
|
244
|
-
close:
|
|
245
|
-
}), (
|
|
246
|
-
name:
|
|
247
|
-
onBeforeLeave:
|
|
248
|
-
onAfterLeave:
|
|
531
|
+
return Ge(() => {
|
|
532
|
+
c(), S(), z.value = !0;
|
|
533
|
+
}), ve(() => u.repeatNum, () => {
|
|
534
|
+
k(), c();
|
|
535
|
+
}), Ut(document, "keydown", h), Dt(T, () => {
|
|
536
|
+
V.value = T.value.getBoundingClientRect().height;
|
|
537
|
+
}), f({
|
|
538
|
+
visible: z,
|
|
539
|
+
bottom: e,
|
|
540
|
+
close: g
|
|
541
|
+
}), (I, m) => (i(), U(Qe, {
|
|
542
|
+
name: y(b).b("fade"),
|
|
543
|
+
onBeforeLeave: I.onClose,
|
|
544
|
+
onAfterLeave: m[0] || (m[0] = (B) => I.$emit("destroy")),
|
|
249
545
|
persisted: ""
|
|
250
546
|
}, {
|
|
251
|
-
default:
|
|
252
|
-
|
|
253
|
-
id:
|
|
547
|
+
default: r(() => [
|
|
548
|
+
We(v("div", {
|
|
549
|
+
id: I.id,
|
|
254
550
|
ref_key: "messageRef",
|
|
255
|
-
ref:
|
|
256
|
-
class:
|
|
257
|
-
|
|
258
|
-
{ [
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
551
|
+
ref: T,
|
|
552
|
+
class: W([
|
|
553
|
+
y(b).b(),
|
|
554
|
+
{ [y(b).m(I.type)]: I.type && !I.icon },
|
|
555
|
+
y(b).is("center", I.center),
|
|
556
|
+
y(b).is("closable", I.showClose),
|
|
557
|
+
I.customClass
|
|
262
558
|
]),
|
|
263
|
-
style:
|
|
559
|
+
style: $e(y(n)),
|
|
264
560
|
role: "alert",
|
|
265
|
-
onMouseenter:
|
|
266
|
-
onMouseleave:
|
|
561
|
+
onMouseenter: k,
|
|
562
|
+
onMouseleave: c
|
|
267
563
|
}, [
|
|
268
|
-
|
|
564
|
+
I.repeatNum > 1 ? (i(), U(y(rl), {
|
|
269
565
|
key: 0,
|
|
270
|
-
value:
|
|
271
|
-
type:
|
|
272
|
-
class:
|
|
273
|
-
}, null, 8, ["value", "type", "class"])) :
|
|
274
|
-
|
|
566
|
+
value: I.repeatNum,
|
|
567
|
+
type: y(E),
|
|
568
|
+
class: W(y(b).e("badge"))
|
|
569
|
+
}, null, 8, ["value", "type", "class"])) : M("v-if", !0),
|
|
570
|
+
y(w) ? (i(), U(y(fe), {
|
|
275
571
|
key: 1,
|
|
276
|
-
class:
|
|
572
|
+
class: W([y(b).e("icon"), y(q)])
|
|
277
573
|
}, {
|
|
278
|
-
default:
|
|
279
|
-
(
|
|
574
|
+
default: r(() => [
|
|
575
|
+
(i(), U(Ze(y(w))))
|
|
280
576
|
]),
|
|
281
577
|
_: 1
|
|
282
|
-
}, 8, ["class"])) :
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
class:
|
|
288
|
-
innerHTML:
|
|
289
|
-
}, null, 10,
|
|
290
|
-
], 2112)) : (
|
|
578
|
+
}, 8, ["class"])) : M("v-if", !0),
|
|
579
|
+
ne(I.$slots, "default", {}, () => [
|
|
580
|
+
I.dangerouslyUseHTMLString ? (i(), O(L, { key: 1 }, [
|
|
581
|
+
M(" Caution here, message could've been compromised, never use user's input as message "),
|
|
582
|
+
v("p", {
|
|
583
|
+
class: W(y(b).e("content")),
|
|
584
|
+
innerHTML: I.message
|
|
585
|
+
}, null, 10, kl)
|
|
586
|
+
], 2112)) : (i(), O("p", {
|
|
291
587
|
key: 0,
|
|
292
|
-
class:
|
|
293
|
-
},
|
|
588
|
+
class: W(y(b).e("content"))
|
|
589
|
+
}, G(I.message), 3))
|
|
294
590
|
]),
|
|
295
|
-
|
|
591
|
+
I.showClose ? (i(), U(y(fe), {
|
|
296
592
|
key: 2,
|
|
297
|
-
class:
|
|
298
|
-
onClick:
|
|
593
|
+
class: W(y(b).e("closeBtn")),
|
|
594
|
+
onClick: we(g, ["stop"])
|
|
299
595
|
}, {
|
|
300
|
-
default:
|
|
301
|
-
|
|
596
|
+
default: r(() => [
|
|
597
|
+
a(y(l))
|
|
302
598
|
]),
|
|
303
599
|
_: 1
|
|
304
|
-
}, 8, ["class", "onClick"])) :
|
|
305
|
-
], 46,
|
|
306
|
-
[
|
|
600
|
+
}, 8, ["class", "onClick"])) : M("v-if", !0)
|
|
601
|
+
], 46, _l), [
|
|
602
|
+
[Je, z.value]
|
|
307
603
|
])
|
|
308
604
|
]),
|
|
309
605
|
_: 3
|
|
310
606
|
}, 8, ["name", "onBeforeLeave"]));
|
|
311
607
|
}
|
|
312
608
|
});
|
|
313
|
-
var
|
|
314
|
-
let
|
|
315
|
-
const
|
|
316
|
-
const
|
|
317
|
-
...
|
|
318
|
-
...
|
|
609
|
+
var Ol = /* @__PURE__ */ ye(Vl, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);
|
|
610
|
+
let xl = 1;
|
|
611
|
+
const it = (s) => {
|
|
612
|
+
const f = !s || ce(s) || Xe(s) || Ie(s) ? { message: s } : s, u = {
|
|
613
|
+
...Q,
|
|
614
|
+
...f
|
|
319
615
|
};
|
|
320
|
-
if (!
|
|
321
|
-
|
|
322
|
-
else if (
|
|
323
|
-
let l = document.querySelector(
|
|
324
|
-
|
|
616
|
+
if (!u.appendTo)
|
|
617
|
+
u.appendTo = document.body;
|
|
618
|
+
else if (ce(u.appendTo)) {
|
|
619
|
+
let l = document.querySelector(u.appendTo);
|
|
620
|
+
yt(l) || (bt("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), l = document.body), u.appendTo = l;
|
|
325
621
|
}
|
|
326
|
-
return
|
|
327
|
-
},
|
|
328
|
-
const
|
|
329
|
-
if (
|
|
622
|
+
return u;
|
|
623
|
+
}, Il = (s) => {
|
|
624
|
+
const f = te.indexOf(s);
|
|
625
|
+
if (f === -1)
|
|
330
626
|
return;
|
|
331
|
-
|
|
332
|
-
const { handler:
|
|
333
|
-
|
|
334
|
-
},
|
|
335
|
-
const l = `message_${
|
|
336
|
-
...
|
|
627
|
+
te.splice(f, 1);
|
|
628
|
+
const { handler: u } = s;
|
|
629
|
+
u.close();
|
|
630
|
+
}, $l = ({ appendTo: s, ...f }, u) => {
|
|
631
|
+
const l = `message_${xl++}`, b = f.onClose, x = document.createElement("div"), t = {
|
|
632
|
+
...f,
|
|
337
633
|
id: l,
|
|
338
634
|
onClose: () => {
|
|
339
|
-
|
|
635
|
+
b == null || b(), Il(V);
|
|
340
636
|
},
|
|
341
637
|
onDestroy: () => {
|
|
342
|
-
|
|
638
|
+
ze(null, x);
|
|
343
639
|
}
|
|
344
|
-
},
|
|
345
|
-
default:
|
|
640
|
+
}, S = a(Ol, t, Ie(t.message) || Xe(t.message) ? {
|
|
641
|
+
default: Ie(t.message) ? t.message : () => t.message
|
|
346
642
|
} : null);
|
|
347
|
-
|
|
348
|
-
const
|
|
643
|
+
S.appContext = u || ue._context, ze(S, x), s.appendChild(x.firstElementChild);
|
|
644
|
+
const T = S.component, V = {
|
|
349
645
|
id: l,
|
|
350
|
-
vnode:
|
|
351
|
-
vm:
|
|
646
|
+
vnode: S,
|
|
647
|
+
vm: T,
|
|
352
648
|
handler: {
|
|
353
649
|
close: () => {
|
|
354
|
-
|
|
650
|
+
T.exposed.visible.value = !1;
|
|
355
651
|
}
|
|
356
652
|
},
|
|
357
|
-
props:
|
|
653
|
+
props: S.component.props
|
|
358
654
|
};
|
|
359
|
-
return
|
|
360
|
-
},
|
|
361
|
-
if (!
|
|
655
|
+
return V;
|
|
656
|
+
}, ue = (s = {}, f) => {
|
|
657
|
+
if (!He)
|
|
362
658
|
return { close: () => {
|
|
363
659
|
} };
|
|
364
|
-
if (
|
|
660
|
+
if (xe(je.max) && te.length >= je.max)
|
|
365
661
|
return { close: () => {
|
|
366
662
|
} };
|
|
367
|
-
const
|
|
368
|
-
if (
|
|
369
|
-
const
|
|
370
|
-
var
|
|
371
|
-
return ((
|
|
663
|
+
const u = it(s);
|
|
664
|
+
if (u.grouping && te.length) {
|
|
665
|
+
const b = te.find(({ vnode: x }) => {
|
|
666
|
+
var t;
|
|
667
|
+
return ((t = x.props) == null ? void 0 : t.message) === u.message;
|
|
372
668
|
});
|
|
373
|
-
if (
|
|
374
|
-
return
|
|
669
|
+
if (b)
|
|
670
|
+
return b.props.repeatNum += 1, b.props.type = u.type, b.handler;
|
|
375
671
|
}
|
|
376
|
-
const l =
|
|
377
|
-
return
|
|
672
|
+
const l = $l(u, f);
|
|
673
|
+
return te.push(l), l.handler;
|
|
378
674
|
};
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
const l =
|
|
382
|
-
return
|
|
675
|
+
rt.forEach((s) => {
|
|
676
|
+
ue[s] = (f = {}, u) => {
|
|
677
|
+
const l = it(f);
|
|
678
|
+
return ue({ ...l, type: s }, u);
|
|
383
679
|
};
|
|
384
680
|
});
|
|
385
|
-
function
|
|
386
|
-
for (const
|
|
387
|
-
(!
|
|
681
|
+
function wl(s) {
|
|
682
|
+
for (const f of te)
|
|
683
|
+
(!s || s === f.props.type) && f.handler.close();
|
|
388
684
|
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
const
|
|
685
|
+
ue.closeAll = wl;
|
|
686
|
+
ue._context = null;
|
|
687
|
+
const ee = _t(ue, "$message");
|
|
688
|
+
const Ye = {
|
|
392
689
|
// 品种市场 [选项: 前端默认]
|
|
393
690
|
varietyMarket: {
|
|
394
691
|
show: !0,
|
|
@@ -731,6 +1028,16 @@ const J = Je(K, "$message"), $e = {
|
|
|
731
1028
|
},
|
|
732
1029
|
type: "custom"
|
|
733
1030
|
},
|
|
1031
|
+
// 动量
|
|
1032
|
+
{
|
|
1033
|
+
key: "momentum",
|
|
1034
|
+
label: "动量",
|
|
1035
|
+
parent: {
|
|
1036
|
+
varietyMarketIds: [2, 3, 5, 7],
|
|
1037
|
+
commonOptionIds: [4, 6, 12, 14, 15]
|
|
1038
|
+
},
|
|
1039
|
+
type: "custom"
|
|
1040
|
+
},
|
|
734
1041
|
// ----------期权-----------
|
|
735
1042
|
// 过期天数
|
|
736
1043
|
{
|
|
@@ -880,9 +1187,9 @@ const J = Je(K, "$message"), $e = {
|
|
|
880
1187
|
]
|
|
881
1188
|
}
|
|
882
1189
|
};
|
|
883
|
-
const
|
|
1190
|
+
const ct = (s) => (qe("data-v-d76a610e"), s = s(), Ne(), s), Cl = { class: "factor-screen" }, Tl = { class: "custom-header" }, Sl = ["id"], El = { class: "form-row" }, Ml = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Ul = /* @__PURE__ */ ct(() => /* @__PURE__ */ v("span", null, "~", -1)), Dl = /* @__PURE__ */ ct(() => /* @__PURE__ */ v("span", null, "&&代表and,||代表or", -1)), Fl = { class: "dialog-footer" }, ql = {
|
|
884
1191
|
__name: "index",
|
|
885
|
-
props: /* @__PURE__ */
|
|
1192
|
+
props: /* @__PURE__ */ De({
|
|
886
1193
|
config: {
|
|
887
1194
|
type: Object,
|
|
888
1195
|
default: {
|
|
@@ -911,12 +1218,12 @@ const Ye = (a) => (ve("data-v-d76a610e"), a = a(), fe(), a), jt = { class: "fact
|
|
|
911
1218
|
dataModifiers: {}
|
|
912
1219
|
}),
|
|
913
1220
|
emits: ["update:data"],
|
|
914
|
-
setup(
|
|
915
|
-
const
|
|
1221
|
+
setup(s) {
|
|
1222
|
+
const f = Fe(s, "data"), u = s, l = N(!1), b = N(!1), x = N(null), t = N({
|
|
916
1223
|
// 筛选因子列表
|
|
917
1224
|
list: [
|
|
918
1225
|
{
|
|
919
|
-
cycle:
|
|
1226
|
+
cycle: u.config.cycleDefault ?? null,
|
|
920
1227
|
// 周期
|
|
921
1228
|
factor: null,
|
|
922
1229
|
// 因子
|
|
@@ -928,127 +1235,127 @@ const Ye = (a) => (ve("data-v-d76a610e"), a = a(), fe(), a), jt = { class: "fact
|
|
|
928
1235
|
sqlEnable: 0,
|
|
929
1236
|
// SQL语句
|
|
930
1237
|
sqlValue: null
|
|
931
|
-
}),
|
|
932
|
-
const { list:
|
|
933
|
-
|
|
934
|
-
list: JSON.parse(JSON.stringify(
|
|
935
|
-
sqlEnable:
|
|
936
|
-
sqlValue:
|
|
937
|
-
},
|
|
938
|
-
},
|
|
939
|
-
|
|
940
|
-
cycle:
|
|
1238
|
+
}), S = () => {
|
|
1239
|
+
const { list: p, sqlEnable: e, sqlValue: n } = f.value;
|
|
1240
|
+
t.value = {
|
|
1241
|
+
list: JSON.parse(JSON.stringify(p)),
|
|
1242
|
+
sqlEnable: e,
|
|
1243
|
+
sqlValue: n
|
|
1244
|
+
}, t.value.list.length || T(), l.value = !0;
|
|
1245
|
+
}, T = () => {
|
|
1246
|
+
t.value.list.push({
|
|
1247
|
+
cycle: u.config.cycleDefault ?? null,
|
|
941
1248
|
factor: null,
|
|
942
1249
|
score: [null, null]
|
|
943
1250
|
});
|
|
944
|
-
},
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
let
|
|
948
|
-
return
|
|
1251
|
+
}, z = () => {
|
|
1252
|
+
x.value.validate((p) => {
|
|
1253
|
+
p && (t.value.sqlValue = t.value.list.reduce((e, n, c) => {
|
|
1254
|
+
let k = `factor_id = ${n.factor} and `;
|
|
1255
|
+
return u.config.cycleShow && (k += `freq_id = ${n.cycle} and `), (n.score[0] || n.score[0] === 0) && (n.score[1] || n.score[1] === 0) ? k += `score >= ${n.score[0]} and score <= ${n.score[1]}` : n.score[0] || n.score[0] === 0 ? k += `score >= ${n.score[0]}` : (n.score[1] || n.score[1] === 0) && (k += `score <= ${n.score[1]}`), k = `(${k})`, c !== 0 && (k = ` && ${k}`), e += k, e;
|
|
949
1256
|
}, ""));
|
|
950
1257
|
});
|
|
951
|
-
},
|
|
952
|
-
|
|
1258
|
+
}, V = () => {
|
|
1259
|
+
f.value = {
|
|
953
1260
|
list: [],
|
|
954
1261
|
sqlEnable: 0,
|
|
955
1262
|
sqlValue: null
|
|
956
1263
|
};
|
|
957
|
-
},
|
|
958
|
-
|
|
959
|
-
},
|
|
960
|
-
|
|
961
|
-
},
|
|
962
|
-
|
|
963
|
-
const { list:
|
|
964
|
-
if (
|
|
965
|
-
if (
|
|
966
|
-
return
|
|
967
|
-
|
|
968
|
-
list: JSON.parse(JSON.stringify(
|
|
969
|
-
sqlEnable:
|
|
970
|
-
sqlValue:
|
|
1264
|
+
}, d = (p) => {
|
|
1265
|
+
f.value.list.splice(p, 1);
|
|
1266
|
+
}, E = (p) => {
|
|
1267
|
+
t.value.list.splice(p, 1);
|
|
1268
|
+
}, q = () => {
|
|
1269
|
+
x.value.validate((p) => {
|
|
1270
|
+
const { list: e, sqlEnable: n, sqlValue: c } = t.value;
|
|
1271
|
+
if (p) {
|
|
1272
|
+
if (n && !c)
|
|
1273
|
+
return ee.error("SQL语句不能为空");
|
|
1274
|
+
f.value = {
|
|
1275
|
+
list: JSON.parse(JSON.stringify(e)),
|
|
1276
|
+
sqlEnable: n,
|
|
1277
|
+
sqlValue: c
|
|
971
1278
|
}, l.value = !1;
|
|
972
1279
|
}
|
|
973
1280
|
});
|
|
974
|
-
},
|
|
975
|
-
const { cycle:
|
|
976
|
-
let
|
|
977
|
-
return
|
|
978
|
-
},
|
|
979
|
-
!
|
|
1281
|
+
}, w = (p) => {
|
|
1282
|
+
const { cycle: e, factor: n, score: c } = p;
|
|
1283
|
+
let k = "";
|
|
1284
|
+
return k += ` ${u.config.cycleOptions.find(({ value: g }) => g === e).label}`, k += ` ${u.config.factorOptions.find(({ value: g }) => g === n).label}`, k += ` ${c[0] || c[0] === 0 ? `${c[0]}分` : "∞"}`, k += " ~", k += ` ${c[1] || c[1] === 0 ? `${c[1]}分` : "∞"}`, k;
|
|
1285
|
+
}, $ = (p, e, n) => {
|
|
1286
|
+
!e[0] && e[0] !== 0 && !e[1] && e[1] !== 0 ? n(new Error("至少填写一个分数")) : n();
|
|
980
1287
|
};
|
|
981
|
-
return (
|
|
982
|
-
const
|
|
983
|
-
return
|
|
984
|
-
|
|
1288
|
+
return (p, e) => {
|
|
1289
|
+
const n = ml, c = lt, k = at, g = fe, h = et, I = nt, m = ot, B = kt, j = Ke, ae = Me, o = Ue, le = Le, R = ht, A = tt, re = Vt, be = Ot;
|
|
1290
|
+
return i(), O("div", Cl, [
|
|
1291
|
+
f.value.sqlEnable && f.value.sqlValue ? (i(), U(c, {
|
|
985
1292
|
key: 0,
|
|
986
1293
|
closable: "",
|
|
987
1294
|
type: "info",
|
|
988
|
-
title:
|
|
989
|
-
onClose:
|
|
1295
|
+
title: f.value.sqlValue,
|
|
1296
|
+
onClose: V
|
|
990
1297
|
}, {
|
|
991
|
-
default:
|
|
992
|
-
|
|
1298
|
+
default: r(() => [
|
|
1299
|
+
a(n, {
|
|
993
1300
|
type: "info",
|
|
994
1301
|
truncated: "",
|
|
995
1302
|
style: { "max-width": "500px" }
|
|
996
1303
|
}, {
|
|
997
|
-
default:
|
|
998
|
-
|
|
1304
|
+
default: r(() => [
|
|
1305
|
+
C(G(f.value.sqlValue), 1)
|
|
999
1306
|
]),
|
|
1000
1307
|
_: 1
|
|
1001
1308
|
})
|
|
1002
1309
|
]),
|
|
1003
1310
|
_: 1
|
|
1004
|
-
}, 8, ["title"])) :
|
|
1005
|
-
!
|
|
1311
|
+
}, 8, ["title"])) : M("", !0),
|
|
1312
|
+
!f.value.sqlEnable && f.value.list.length ? (i(!0), O(L, { key: 1 }, K(f.value.list, (D, Z) => (i(), U(c, {
|
|
1006
1313
|
closable: "",
|
|
1007
1314
|
type: "info",
|
|
1008
|
-
onClose: (
|
|
1315
|
+
onClose: (H) => d(Z)
|
|
1009
1316
|
}, {
|
|
1010
|
-
default:
|
|
1011
|
-
|
|
1317
|
+
default: r(() => [
|
|
1318
|
+
C(G(w(D)), 1)
|
|
1012
1319
|
]),
|
|
1013
1320
|
_: 2
|
|
1014
|
-
}, 1032, ["onClose"]))), 256)) :
|
|
1015
|
-
|
|
1321
|
+
}, 1032, ["onClose"]))), 256)) : M("", !0),
|
|
1322
|
+
a(k, {
|
|
1016
1323
|
class: "screen-btn",
|
|
1017
1324
|
type: "primary",
|
|
1018
1325
|
plain: "",
|
|
1019
1326
|
size: "small",
|
|
1020
|
-
icon:
|
|
1021
|
-
onClick:
|
|
1327
|
+
icon: y(Be),
|
|
1328
|
+
onClick: S
|
|
1022
1329
|
}, {
|
|
1023
|
-
default:
|
|
1024
|
-
|
|
1330
|
+
default: r(() => [
|
|
1331
|
+
C("添加因子")
|
|
1025
1332
|
]),
|
|
1026
1333
|
_: 1
|
|
1027
1334
|
}, 8, ["icon"]),
|
|
1028
|
-
|
|
1335
|
+
a(A, {
|
|
1029
1336
|
modelValue: l.value,
|
|
1030
|
-
"onUpdate:modelValue":
|
|
1337
|
+
"onUpdate:modelValue": e[3] || (e[3] = (D) => l.value = D),
|
|
1031
1338
|
width: "500",
|
|
1032
1339
|
"align-center": "",
|
|
1033
1340
|
"destroy-on-close": ""
|
|
1034
1341
|
}, {
|
|
1035
|
-
header:
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
id:
|
|
1039
|
-
class:
|
|
1040
|
-
}, " 因子筛选 ", 10,
|
|
1041
|
-
|
|
1342
|
+
header: r(({ titleId: D, titleClass: Z }) => [
|
|
1343
|
+
v("div", Tl, [
|
|
1344
|
+
v("span", {
|
|
1345
|
+
id: D,
|
|
1346
|
+
class: W(Z)
|
|
1347
|
+
}, " 因子筛选 ", 10, Sl),
|
|
1348
|
+
a(h, {
|
|
1042
1349
|
effect: "dark",
|
|
1043
1350
|
content: "点击查看: 因子使用说明",
|
|
1044
1351
|
placement: "right"
|
|
1045
1352
|
}, {
|
|
1046
|
-
default:
|
|
1047
|
-
|
|
1048
|
-
onClick:
|
|
1353
|
+
default: r(() => [
|
|
1354
|
+
a(g, {
|
|
1355
|
+
onClick: e[0] || (e[0] = (H) => b.value = !0)
|
|
1049
1356
|
}, {
|
|
1050
|
-
default:
|
|
1051
|
-
|
|
1357
|
+
default: r(() => [
|
|
1358
|
+
a(y(At))
|
|
1052
1359
|
]),
|
|
1053
1360
|
_: 1
|
|
1054
1361
|
})
|
|
@@ -1057,43 +1364,43 @@ const Ye = (a) => (ve("data-v-d76a610e"), a = a(), fe(), a), jt = { class: "fact
|
|
|
1057
1364
|
})
|
|
1058
1365
|
])
|
|
1059
1366
|
]),
|
|
1060
|
-
footer:
|
|
1061
|
-
|
|
1062
|
-
|
|
1367
|
+
footer: r(() => [
|
|
1368
|
+
v("div", Fl, [
|
|
1369
|
+
a(k, {
|
|
1063
1370
|
type: "primary",
|
|
1064
|
-
onClick:
|
|
1371
|
+
onClick: q
|
|
1065
1372
|
}, {
|
|
1066
|
-
default:
|
|
1067
|
-
|
|
1373
|
+
default: r(() => [
|
|
1374
|
+
C("确定")
|
|
1068
1375
|
]),
|
|
1069
1376
|
_: 1
|
|
1070
1377
|
})
|
|
1071
1378
|
])
|
|
1072
1379
|
]),
|
|
1073
|
-
default:
|
|
1074
|
-
|
|
1380
|
+
default: r(() => [
|
|
1381
|
+
a(R, {
|
|
1075
1382
|
ref_key: "dialogFormRef",
|
|
1076
|
-
ref:
|
|
1077
|
-
model:
|
|
1383
|
+
ref: x,
|
|
1384
|
+
model: t.value
|
|
1078
1385
|
}, {
|
|
1079
|
-
default:
|
|
1080
|
-
(
|
|
1081
|
-
|
|
1386
|
+
default: r(() => [
|
|
1387
|
+
(i(!0), O(L, null, K(t.value.list, (D, Z) => (i(), O("div", El, [
|
|
1388
|
+
s.config.cycleShow ? (i(), U(B, {
|
|
1082
1389
|
key: 0,
|
|
1083
|
-
prop: "list." +
|
|
1390
|
+
prop: "list." + Z + ".cycle",
|
|
1084
1391
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1085
1392
|
style: { width: "100px", "margin-right": "10px" }
|
|
1086
1393
|
}, {
|
|
1087
|
-
default:
|
|
1088
|
-
|
|
1089
|
-
modelValue:
|
|
1090
|
-
"onUpdate:modelValue": (
|
|
1394
|
+
default: r(() => [
|
|
1395
|
+
a(m, {
|
|
1396
|
+
modelValue: D.cycle,
|
|
1397
|
+
"onUpdate:modelValue": (H) => D.cycle = H,
|
|
1091
1398
|
placeholder: "选择周期",
|
|
1092
1399
|
size: "small"
|
|
1093
1400
|
}, {
|
|
1094
|
-
default:
|
|
1095
|
-
(
|
|
1096
|
-
label:
|
|
1401
|
+
default: r(() => [
|
|
1402
|
+
(i(!0), O(L, null, K(s.config.cycleOptions, ({ label: H, value: X }) => (i(), U(I, {
|
|
1403
|
+
label: H,
|
|
1097
1404
|
value: X,
|
|
1098
1405
|
key: X
|
|
1099
1406
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -1102,24 +1409,24 @@ const Ye = (a) => (ve("data-v-d76a610e"), a = a(), fe(), a), jt = { class: "fact
|
|
|
1102
1409
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1103
1410
|
]),
|
|
1104
1411
|
_: 2
|
|
1105
|
-
}, 1032, ["prop"])) :
|
|
1106
|
-
|
|
1107
|
-
prop: "list." +
|
|
1412
|
+
}, 1032, ["prop"])) : M("", !0),
|
|
1413
|
+
a(B, {
|
|
1414
|
+
prop: "list." + Z + ".factor",
|
|
1108
1415
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1109
1416
|
style: { width: "100px", "margin-right": "10px" }
|
|
1110
1417
|
}, {
|
|
1111
|
-
default:
|
|
1112
|
-
|
|
1113
|
-
modelValue:
|
|
1114
|
-
"onUpdate:modelValue": (
|
|
1418
|
+
default: r(() => [
|
|
1419
|
+
a(m, {
|
|
1420
|
+
modelValue: D.factor,
|
|
1421
|
+
"onUpdate:modelValue": (H) => D.factor = H,
|
|
1115
1422
|
placeholder: "选择因子",
|
|
1116
1423
|
filterable: "",
|
|
1117
1424
|
size: "small",
|
|
1118
1425
|
"no-match-text": "无匹配数据"
|
|
1119
1426
|
}, {
|
|
1120
|
-
default:
|
|
1121
|
-
(
|
|
1122
|
-
label:
|
|
1427
|
+
default: r(() => [
|
|
1428
|
+
(i(!0), O(L, null, K(s.config.factorOptions, ({ label: H, value: X }) => (i(), U(I, {
|
|
1429
|
+
label: H,
|
|
1123
1430
|
value: X,
|
|
1124
1431
|
key: X
|
|
1125
1432
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -1129,23 +1436,23 @@ const Ye = (a) => (ve("data-v-d76a610e"), a = a(), fe(), a), jt = { class: "fact
|
|
|
1129
1436
|
]),
|
|
1130
1437
|
_: 2
|
|
1131
1438
|
}, 1032, ["prop"]),
|
|
1132
|
-
|
|
1133
|
-
prop: "list." +
|
|
1134
|
-
rules: { validator:
|
|
1439
|
+
a(B, {
|
|
1440
|
+
prop: "list." + Z + ".score",
|
|
1441
|
+
rules: { validator: $, trigger: "blur" },
|
|
1135
1442
|
style: { width: "200px", "margin-right": "10px" }
|
|
1136
1443
|
}, {
|
|
1137
|
-
default:
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
modelValue:
|
|
1141
|
-
"onUpdate:modelValue": (
|
|
1444
|
+
default: r(() => [
|
|
1445
|
+
v("div", Ml, [
|
|
1446
|
+
a(j, {
|
|
1447
|
+
modelValue: D.score[0],
|
|
1448
|
+
"onUpdate:modelValue": (H) => D.score[0] = H,
|
|
1142
1449
|
size: "small",
|
|
1143
1450
|
"controls-position": "right"
|
|
1144
1451
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
modelValue:
|
|
1148
|
-
"onUpdate:modelValue": (
|
|
1452
|
+
Ul,
|
|
1453
|
+
a(j, {
|
|
1454
|
+
modelValue: D.score[1],
|
|
1455
|
+
"onUpdate:modelValue": (H) => D.score[1] = H,
|
|
1149
1456
|
size: "small",
|
|
1150
1457
|
"controls-position": "right"
|
|
1151
1458
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1153,108 +1460,108 @@ const Ye = (a) => (ve("data-v-d76a610e"), a = a(), fe(), a), jt = { class: "fact
|
|
|
1153
1460
|
]),
|
|
1154
1461
|
_: 2
|
|
1155
1462
|
}, 1032, ["prop", "rules"]),
|
|
1156
|
-
|
|
1157
|
-
onClick: (
|
|
1463
|
+
a(g, {
|
|
1464
|
+
onClick: (H) => E(Z)
|
|
1158
1465
|
}, {
|
|
1159
|
-
default:
|
|
1160
|
-
|
|
1466
|
+
default: r(() => [
|
|
1467
|
+
a(y(Bt))
|
|
1161
1468
|
]),
|
|
1162
1469
|
_: 2
|
|
1163
1470
|
}, 1032, ["onClick"])
|
|
1164
1471
|
]))), 256)),
|
|
1165
|
-
|
|
1472
|
+
a(k, {
|
|
1166
1473
|
type: "primary",
|
|
1167
1474
|
plain: "",
|
|
1168
1475
|
size: "small",
|
|
1169
|
-
icon:
|
|
1170
|
-
onClick:
|
|
1476
|
+
icon: y(Be),
|
|
1477
|
+
onClick: T,
|
|
1171
1478
|
style: { "margin-bottom": "10px" }
|
|
1172
1479
|
}, {
|
|
1173
|
-
default:
|
|
1174
|
-
|
|
1480
|
+
default: r(() => [
|
|
1481
|
+
C("添加因子")
|
|
1175
1482
|
]),
|
|
1176
1483
|
_: 1
|
|
1177
1484
|
}, 8, ["icon"]),
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
default:
|
|
1181
|
-
|
|
1182
|
-
modelValue:
|
|
1183
|
-
"onUpdate:modelValue":
|
|
1485
|
+
s.config.sqlShow ? (i(), O(L, { key: 0 }, [
|
|
1486
|
+
a(B, { label: "SQL功能: " }, {
|
|
1487
|
+
default: r(() => [
|
|
1488
|
+
a(o, {
|
|
1489
|
+
modelValue: t.value.sqlEnable,
|
|
1490
|
+
"onUpdate:modelValue": e[1] || (e[1] = (D) => t.value.sqlEnable = D)
|
|
1184
1491
|
}, {
|
|
1185
|
-
default:
|
|
1186
|
-
|
|
1187
|
-
default:
|
|
1188
|
-
|
|
1492
|
+
default: r(() => [
|
|
1493
|
+
a(ae, { label: 0 }, {
|
|
1494
|
+
default: r(() => [
|
|
1495
|
+
C("关闭")
|
|
1189
1496
|
]),
|
|
1190
1497
|
_: 1
|
|
1191
1498
|
}),
|
|
1192
|
-
|
|
1193
|
-
default:
|
|
1194
|
-
|
|
1499
|
+
a(ae, { label: 1 }, {
|
|
1500
|
+
default: r(() => [
|
|
1501
|
+
C("启用")
|
|
1195
1502
|
]),
|
|
1196
1503
|
_: 1
|
|
1197
1504
|
})
|
|
1198
1505
|
]),
|
|
1199
1506
|
_: 1
|
|
1200
1507
|
}, 8, ["modelValue"]),
|
|
1201
|
-
|
|
1508
|
+
t.value.sqlEnable ? (i(), U(k, {
|
|
1202
1509
|
key: 0,
|
|
1203
1510
|
type: "primary",
|
|
1204
1511
|
size: "small",
|
|
1205
|
-
onClick:
|
|
1512
|
+
onClick: z,
|
|
1206
1513
|
style: { "margin-left": "auto" }
|
|
1207
1514
|
}, {
|
|
1208
|
-
default:
|
|
1209
|
-
|
|
1515
|
+
default: r(() => [
|
|
1516
|
+
C("生成SQL")
|
|
1210
1517
|
]),
|
|
1211
1518
|
_: 1
|
|
1212
|
-
})) :
|
|
1519
|
+
})) : M("", !0)
|
|
1213
1520
|
]),
|
|
1214
1521
|
_: 1
|
|
1215
1522
|
}),
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
modelValue:
|
|
1219
|
-
"onUpdate:modelValue":
|
|
1523
|
+
t.value.sqlEnable ? (i(), O(L, { key: 0 }, [
|
|
1524
|
+
a(le, {
|
|
1525
|
+
modelValue: t.value.sqlValue,
|
|
1526
|
+
"onUpdate:modelValue": e[2] || (e[2] = (D) => t.value.sqlValue = D),
|
|
1220
1527
|
autosize: { minRows: 4 },
|
|
1221
1528
|
type: "textarea",
|
|
1222
1529
|
style: { "margin-bottom": "10px" }
|
|
1223
1530
|
}, null, 8, ["modelValue"]),
|
|
1224
|
-
|
|
1225
|
-
], 64)) :
|
|
1226
|
-
], 64)) :
|
|
1531
|
+
Dl
|
|
1532
|
+
], 64)) : M("", !0)
|
|
1533
|
+
], 64)) : M("", !0)
|
|
1227
1534
|
]),
|
|
1228
1535
|
_: 1
|
|
1229
1536
|
}, 8, ["model"])
|
|
1230
1537
|
]),
|
|
1231
1538
|
_: 1
|
|
1232
1539
|
}, 8, ["modelValue"]),
|
|
1233
|
-
|
|
1234
|
-
modelValue:
|
|
1235
|
-
"onUpdate:modelValue":
|
|
1540
|
+
a(A, {
|
|
1541
|
+
modelValue: b.value,
|
|
1542
|
+
"onUpdate:modelValue": e[4] || (e[4] = (D) => b.value = D),
|
|
1236
1543
|
title: "因子使用说明",
|
|
1237
1544
|
width: "1000",
|
|
1238
1545
|
"align-center": "",
|
|
1239
1546
|
"destroy-on-close": ""
|
|
1240
1547
|
}, {
|
|
1241
|
-
default:
|
|
1242
|
-
|
|
1243
|
-
data:
|
|
1548
|
+
default: r(() => [
|
|
1549
|
+
a(be, {
|
|
1550
|
+
data: s.config.factorDescriptions,
|
|
1244
1551
|
border: "",
|
|
1245
1552
|
height: "500"
|
|
1246
1553
|
}, {
|
|
1247
|
-
default:
|
|
1248
|
-
|
|
1554
|
+
default: r(() => [
|
|
1555
|
+
a(re, {
|
|
1249
1556
|
prop: "factorName",
|
|
1250
1557
|
label: "因子名称",
|
|
1251
1558
|
width: "200"
|
|
1252
1559
|
}),
|
|
1253
|
-
|
|
1560
|
+
a(re, {
|
|
1254
1561
|
prop: "factorDesc",
|
|
1255
1562
|
label: "因子说明"
|
|
1256
1563
|
}),
|
|
1257
|
-
|
|
1564
|
+
a(re, {
|
|
1258
1565
|
prop: "factorScoreDefine",
|
|
1259
1566
|
label: "分值定义"
|
|
1260
1567
|
})
|
|
@@ -1267,19 +1574,19 @@ const Ye = (a) => (ve("data-v-d76a610e"), a = a(), fe(), a), jt = { class: "fact
|
|
|
1267
1574
|
]);
|
|
1268
1575
|
};
|
|
1269
1576
|
}
|
|
1270
|
-
},
|
|
1271
|
-
const
|
|
1577
|
+
}, Nl = /* @__PURE__ */ Pe(ql, [["__scopeId", "data-v-d76a610e"]]);
|
|
1578
|
+
const Y = (s) => (qe("data-v-42f871ec"), s = s(), Ne(), s), Ll = {
|
|
1272
1579
|
key: 0,
|
|
1273
1580
|
class: "common-indicator"
|
|
1274
|
-
},
|
|
1275
|
-
/* @__PURE__ */
|
|
1276
|
-
/* @__PURE__ */
|
|
1277
|
-
], -1)),
|
|
1581
|
+
}, Pl = { class: "indicator" }, Rl = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("div", { class: "title" }, [
|
|
1582
|
+
/* @__PURE__ */ v("span", null, "常用指标: "),
|
|
1583
|
+
/* @__PURE__ */ v("span", null, "不限")
|
|
1584
|
+
], -1)), zl = { class: "options" }, Al = ["onClick"], Bl = { class: "tags" }, jl = ["onClick"], Yl = {
|
|
1278
1585
|
key: 0,
|
|
1279
1586
|
class: "convenient-option-box"
|
|
1280
|
-
},
|
|
1587
|
+
}, Hl = { class: "out-box" }, Kl = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "自定义: ", -1)), Gl = { key: 0 }, Ql = { key: 0 }, Wl = { key: 0 }, Jl = { key: 1 }, Zl = { class: "tFeaturelncomes-option-box" }, Xl = { class: "tFeaturelncomes-out-box" }, en = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "自定义: ", -1)), tn = { key: 2 }, ln = { key: 3 }, nn = { key: 4 }, on = { class: "momentum-out-box" }, an = { key: 0 }, sn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "现价相对于", -1)), un = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日前收盘价的涨幅", -1)), rn = { key: 1 }, cn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "现价相对于", -1)), dn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日均线的涨幅", -1)), pn = { key: 2 }, mn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "现价相对于", -1)), vn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日前", -1)), fn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日均线的涨幅", -1)), gn = { key: 3 }, yn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "近", -1)), bn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日均线相对于近", -1)), _n = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日均线的涨幅", -1)), kn = { key: 4 }, hn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "近", -1)), Vn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日均线相对于", -1)), On = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日前", -1)), xn = /* @__PURE__ */ Y(() => /* @__PURE__ */ v("span", null, "日均线的涨幅", -1)), In = { class: "dialog-footer" }, $n = {
|
|
1281
1588
|
__name: "index",
|
|
1282
|
-
props: /* @__PURE__ */
|
|
1589
|
+
props: /* @__PURE__ */ De({
|
|
1283
1590
|
config: { type: Object, default: () => {
|
|
1284
1591
|
} },
|
|
1285
1592
|
varietyMarket: { type: Number, default: () => null },
|
|
@@ -1291,49 +1598,151 @@ const ye = (a) => (ve("data-v-5e6e795d"), a = a(), fe(), a), Xt = {
|
|
|
1291
1598
|
dataModifiers: {}
|
|
1292
1599
|
}),
|
|
1293
1600
|
emits: ["update:data"],
|
|
1294
|
-
setup(
|
|
1295
|
-
const
|
|
1296
|
-
let
|
|
1297
|
-
return
|
|
1298
|
-
const { commonOptionIds:
|
|
1299
|
-
return [.../* @__PURE__ */ new Set([...
|
|
1300
|
-
}))),
|
|
1301
|
-
})
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
);
|
|
1308
|
-
const p = G(!1), _ = G({}), e = G({}), D = (m) => {
|
|
1309
|
-
_.value = m;
|
|
1310
|
-
const n = {
|
|
1311
|
-
label: m.label,
|
|
1312
|
-
key: m.key,
|
|
1313
|
-
type: m.type
|
|
1601
|
+
setup(s) {
|
|
1602
|
+
const f = Fe(s, "data"), u = s, l = N(!1), b = P(() => {
|
|
1603
|
+
let p = [];
|
|
1604
|
+
return u.varietyMarket === null && !u.commonOption.length ? p = u.config.options : (p = u.config.options, u.varietyMarket && (p = p.filter(({ parent: e }) => e.varietyMarketIds.includes(u.varietyMarket))), u.commonOption.length && (p = p.filter(({ parent: e }) => {
|
|
1605
|
+
const { commonOptionIds: n } = e;
|
|
1606
|
+
return [.../* @__PURE__ */ new Set([...n, ...u.commonOption])].length !== [...n, ...u.commonOption].length;
|
|
1607
|
+
}))), p;
|
|
1608
|
+
}), x = N({}), t = N({}), S = (p) => {
|
|
1609
|
+
x.value = p;
|
|
1610
|
+
const e = {
|
|
1611
|
+
key: p.key,
|
|
1612
|
+
type: p.type,
|
|
1613
|
+
label: p.label
|
|
1314
1614
|
};
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1615
|
+
switch (p.key) {
|
|
1616
|
+
case "st": {
|
|
1617
|
+
t.value = { ...e, st: null };
|
|
1618
|
+
break;
|
|
1619
|
+
}
|
|
1620
|
+
case "tFeaturelncomes": {
|
|
1621
|
+
t.value = {
|
|
1622
|
+
...e,
|
|
1623
|
+
rule: 1,
|
|
1624
|
+
// 1超 2跌
|
|
1625
|
+
withFewYears: null,
|
|
1626
|
+
yearsCount: null,
|
|
1627
|
+
netProfit: null
|
|
1628
|
+
};
|
|
1629
|
+
break;
|
|
1630
|
+
}
|
|
1631
|
+
case "priceLevels": {
|
|
1632
|
+
t.value = { ...e, priceLevels: null };
|
|
1633
|
+
break;
|
|
1634
|
+
}
|
|
1635
|
+
case "optionsCpType": {
|
|
1636
|
+
t.value = {
|
|
1637
|
+
...e,
|
|
1638
|
+
optionsCpType: null
|
|
1639
|
+
// 1看涨 2看跌
|
|
1640
|
+
};
|
|
1641
|
+
break;
|
|
1642
|
+
}
|
|
1643
|
+
case "momentum": {
|
|
1644
|
+
t.value = {
|
|
1645
|
+
...e,
|
|
1646
|
+
momentumType: 1,
|
|
1647
|
+
momentumValue: [20]
|
|
1648
|
+
};
|
|
1649
|
+
break;
|
|
1650
|
+
}
|
|
1651
|
+
default:
|
|
1652
|
+
t.value = {
|
|
1653
|
+
...e,
|
|
1654
|
+
range: [null, null],
|
|
1655
|
+
unit: p.defaultUnit.length ? [...p.defaultUnit] : [null, null]
|
|
1656
|
+
};
|
|
1657
|
+
}
|
|
1658
|
+
l.value = !0;
|
|
1659
|
+
}, T = () => {
|
|
1660
|
+
switch (t.value.key) {
|
|
1661
|
+
case "st": {
|
|
1662
|
+
const { label: e, st: n } = t.value;
|
|
1663
|
+
if (n === null)
|
|
1664
|
+
return ee.warning("格式错误: 请至少选择一个值");
|
|
1665
|
+
t.value.tagText = `${e}: ${n ? "是" : "否"}`;
|
|
1666
|
+
break;
|
|
1667
|
+
}
|
|
1668
|
+
case "tFeaturelncomes": {
|
|
1669
|
+
const { label: e, rule: n, withFewYears: c, yearsCount: k, netProfit: g } = t.value;
|
|
1670
|
+
if (["", null].includes(c) || ["", null].includes(k) || ["", null].includes(g))
|
|
1671
|
+
return ee.warning("格式错误: 请填写完整");
|
|
1672
|
+
t.value.tagText = `${e}: ${c}年内${k}年以上盈利${n === 1 ? "超" : "跌"}过${g}亿`;
|
|
1673
|
+
break;
|
|
1674
|
+
}
|
|
1675
|
+
case "priceLevels": {
|
|
1676
|
+
const { label: e, priceLevels: n } = t.value;
|
|
1677
|
+
if (!n || n.length === 0)
|
|
1678
|
+
return ee.warning("格式错误: 请至少选择一个值");
|
|
1679
|
+
t.value.tagText = `${e}: 已选${n}分位`;
|
|
1680
|
+
break;
|
|
1681
|
+
}
|
|
1682
|
+
case "optionsCpType": {
|
|
1683
|
+
const { label: e, optionsCpType: n } = t.value;
|
|
1684
|
+
if (n === null)
|
|
1685
|
+
return ee.warning("格式错误: 请至少选择一个值");
|
|
1686
|
+
t.value.tagText = `${e}: ${n === 1 ? "看涨" : "看跌"}`;
|
|
1687
|
+
break;
|
|
1688
|
+
}
|
|
1689
|
+
case "momentum": {
|
|
1690
|
+
const { label: e, momentumType: n, momentumValue: c } = t.value, k = "格式错误, 请输入正整数或选择正确的时间项";
|
|
1691
|
+
let g = null;
|
|
1692
|
+
switch (n) {
|
|
1693
|
+
case 1: {
|
|
1694
|
+
if (!$(c[0]))
|
|
1695
|
+
return ee.warning(k);
|
|
1696
|
+
g = `现价相对于${c[0]}日前收盘价的涨幅`;
|
|
1697
|
+
break;
|
|
1698
|
+
}
|
|
1699
|
+
case 2: {
|
|
1700
|
+
if (!$(c[0]))
|
|
1701
|
+
return ee.warning(k);
|
|
1702
|
+
g = `现价相对于${c[0]}日均线的涨幅`;
|
|
1703
|
+
break;
|
|
1704
|
+
}
|
|
1705
|
+
case 3: {
|
|
1706
|
+
if (!$(c[0]) || !$(c[1]))
|
|
1707
|
+
return ee.warning(k);
|
|
1708
|
+
g = `现价相对于${c[0]}日前${c[1]}日均线的涨幅`;
|
|
1709
|
+
break;
|
|
1710
|
+
}
|
|
1711
|
+
case 4: {
|
|
1712
|
+
if (!$(c[0]) || !$(c[1]))
|
|
1713
|
+
return ee.warning(k);
|
|
1714
|
+
g = `近${c[0]}日均线相对于近${c[1]}日均线的涨幅`;
|
|
1715
|
+
break;
|
|
1716
|
+
}
|
|
1717
|
+
case 5: {
|
|
1718
|
+
if (!$(c[0]) || !$(c[1]) || !$(c[2]))
|
|
1719
|
+
return ee.warning(k);
|
|
1720
|
+
g = `近${c[0]}日均线相对于${c[1]}日前${c[2]}日均线的涨幅`;
|
|
1721
|
+
break;
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
t.value.tagText = `${e}: ${g}`;
|
|
1725
|
+
break;
|
|
1726
|
+
}
|
|
1727
|
+
default: {
|
|
1728
|
+
const { label: e, range: n, unit: c } = t.value;
|
|
1729
|
+
if (["", null].includes(n[0]) && ["", null].includes(n[1]))
|
|
1730
|
+
return ee.warning("格式错误: 请至少填写一个值");
|
|
1731
|
+
!["", null].includes(n[0]) && !["", null].includes(n[1]) ? t.value.tagText = `${e}: ${n[0]}${c[0] ?? ""} ~ ${n[1]}${c[1] ?? ""}` : ["", null].includes(n[0]) ? t.value.tagText = `${e}: ≤${n[1]}${c[1] ?? ""}` : t.value.tagText = `${e}: ≥${n[0]}${c[0] ?? ""}`;
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
const p = f.value.findIndex(({ key: e }) => e === t.value.key);
|
|
1735
|
+
p === -1 ? f.value.push(t.value) : f.value.splice(p, 1, t.value), l.value = !1;
|
|
1736
|
+
}, z = (p) => {
|
|
1737
|
+
x.value = b.value.find(({ key: e }) => e === p.key), t.value = JSON.parse(JSON.stringify(p)), l.value = !0;
|
|
1738
|
+
}, V = (p) => {
|
|
1739
|
+
f.value.splice(p, 1);
|
|
1740
|
+
}, d = (p) => {
|
|
1741
|
+
t.value.range = [...p.range], t.value.unit = [...p.unit];
|
|
1742
|
+
}, E = (p) => {
|
|
1743
|
+
switch (p) {
|
|
1335
1744
|
case "≤0":
|
|
1336
|
-
Object.assign(
|
|
1745
|
+
Object.assign(t.value, {
|
|
1337
1746
|
rule: 2,
|
|
1338
1747
|
// 1超 2跌
|
|
1339
1748
|
withFewYears: 1,
|
|
@@ -1342,7 +1751,7 @@ const ye = (a) => (ve("data-v-5e6e795d"), a = a(), fe(), a), Xt = {
|
|
|
1342
1751
|
});
|
|
1343
1752
|
break;
|
|
1344
1753
|
case "≥0":
|
|
1345
|
-
Object.assign(
|
|
1754
|
+
Object.assign(t.value, {
|
|
1346
1755
|
rule: 1,
|
|
1347
1756
|
withFewYears: 1,
|
|
1348
1757
|
yearsCount: 1,
|
|
@@ -1350,7 +1759,7 @@ const ye = (a) => (ve("data-v-5e6e795d"), a = a(), fe(), a), Xt = {
|
|
|
1350
1759
|
});
|
|
1351
1760
|
break;
|
|
1352
1761
|
case "五年内有四年以上盈利超过5千万":
|
|
1353
|
-
Object.assign(
|
|
1762
|
+
Object.assign(t.value, {
|
|
1354
1763
|
rule: 1,
|
|
1355
1764
|
withFewYears: 5,
|
|
1356
1765
|
yearsCount: 4,
|
|
@@ -1358,7 +1767,7 @@ const ye = (a) => (ve("data-v-5e6e795d"), a = a(), fe(), a), Xt = {
|
|
|
1358
1767
|
});
|
|
1359
1768
|
break;
|
|
1360
1769
|
case "≥10亿":
|
|
1361
|
-
Object.assign(
|
|
1770
|
+
Object.assign(t.value, {
|
|
1362
1771
|
rule: 1,
|
|
1363
1772
|
withFewYears: 1,
|
|
1364
1773
|
yearsCount: 1,
|
|
@@ -1366,7 +1775,7 @@ const ye = (a) => (ve("data-v-5e6e795d"), a = a(), fe(), a), Xt = {
|
|
|
1366
1775
|
});
|
|
1367
1776
|
break;
|
|
1368
1777
|
case "≥20亿":
|
|
1369
|
-
Object.assign(
|
|
1778
|
+
Object.assign(t.value, {
|
|
1370
1779
|
rule: 1,
|
|
1371
1780
|
withFewYears: 1,
|
|
1372
1781
|
yearsCount: 1,
|
|
@@ -1374,132 +1783,113 @@ const ye = (a) => (ve("data-v-5e6e795d"), a = a(), fe(), a), Xt = {
|
|
|
1374
1783
|
});
|
|
1375
1784
|
break;
|
|
1376
1785
|
}
|
|
1377
|
-
},
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
return J.warning("格式错误: 请至少选择一个值");
|
|
1397
|
-
e.value.tagText = `${n}: 已选${O}分位`;
|
|
1398
|
-
break;
|
|
1399
|
-
}
|
|
1400
|
-
case "optionsCpType": {
|
|
1401
|
-
const { label: n, optionsCpType: O } = e.value;
|
|
1402
|
-
if (O === null)
|
|
1403
|
-
return J.warning("格式错误: 请至少选择一个值");
|
|
1404
|
-
e.value.tagText = `${n}: ${O === 1 ? "看涨" : "看跌"}`;
|
|
1405
|
-
break;
|
|
1406
|
-
}
|
|
1407
|
-
default: {
|
|
1408
|
-
const { label: n, range: O, unit: x } = e.value;
|
|
1409
|
-
if (["", null].includes(O[0]) && ["", null].includes(O[1]))
|
|
1410
|
-
return J.warning("格式错误: 请至少填写一个值");
|
|
1411
|
-
!["", null].includes(O[0]) && !["", null].includes(O[1]) ? e.value.tagText = `${n}: ${O[0]}${x[0] ?? ""} ~ ${O[1]}${x[1] ?? ""}` : ["", null].includes(O[0]) ? e.value.tagText = `${n}: ≤${O[1]}${x[1] ?? ""}` : e.value.tagText = `${n}: ≥${O[0]}${x[0] ?? ""}`;
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
const m = o.value.findIndex(({ key: n }) => n === e.value.key);
|
|
1415
|
-
m === -1 ? o.value.push(e.value) : o.value.splice(m, 1, e.value), p.value = !1;
|
|
1416
|
-
}, r = (m) => {
|
|
1417
|
-
o.value.splice(m, 1);
|
|
1418
|
-
}, S = (m) => {
|
|
1419
|
-
_.value = l.value.find(({ key: n }) => n === m.key), e.value = JSON.parse(JSON.stringify(m)), p.value = !0;
|
|
1786
|
+
}, q = (p) => {
|
|
1787
|
+
const e = /* @__PURE__ */ new Map([
|
|
1788
|
+
[1, [20]],
|
|
1789
|
+
[2, [20]],
|
|
1790
|
+
[3, [20, 3]],
|
|
1791
|
+
[4, [3, 20]],
|
|
1792
|
+
[5, [3, 20, 3]]
|
|
1793
|
+
]);
|
|
1794
|
+
t.value.momentumValue = e.get(p);
|
|
1795
|
+
}, w = (p, e) => {
|
|
1796
|
+
e([
|
|
1797
|
+
{ label: "本周", value: "本周" },
|
|
1798
|
+
{ label: "本月", value: "本月" },
|
|
1799
|
+
{ label: "近一月", value: "近一月" },
|
|
1800
|
+
{ label: "本年", value: "本年" }
|
|
1801
|
+
]);
|
|
1802
|
+
}, $ = (p) => {
|
|
1803
|
+
const e = /^[1-9]\d*$/.test(p), n = /^(本周|本月|近一月|本年)$/i.test(p);
|
|
1804
|
+
return e || n;
|
|
1420
1805
|
};
|
|
1421
|
-
return (
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
b(
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1806
|
+
return ve(
|
|
1807
|
+
() => b.value,
|
|
1808
|
+
() => {
|
|
1809
|
+
f.value.length && (f.value = f.value.filter(({ key: p }) => b.value.find((e) => e.key === p)));
|
|
1810
|
+
}
|
|
1811
|
+
), (p, e) => {
|
|
1812
|
+
const n = lt, c = at, k = nt, g = ot, h = Le, I = Me, m = Ue, B = Ke, j = ll, ae = tt;
|
|
1813
|
+
return s.config.show && b.value.length ? (i(), O("div", Ll, [
|
|
1814
|
+
v("div", Pl, [
|
|
1815
|
+
Rl,
|
|
1816
|
+
v("div", zl, [
|
|
1817
|
+
(i(!0), O(L, null, K(b.value, (o) => (i(), O("span", {
|
|
1818
|
+
key: o.key,
|
|
1819
|
+
onClick: (le) => S(o)
|
|
1820
|
+
}, G(o.label), 9, Al))), 128))
|
|
1431
1821
|
])
|
|
1432
1822
|
]),
|
|
1433
|
-
|
|
1434
|
-
(
|
|
1823
|
+
v("div", Bl, [
|
|
1824
|
+
(i(!0), O(L, null, K(f.value, (o, le) => (i(), U(n, {
|
|
1435
1825
|
closable: "",
|
|
1436
1826
|
type: "info",
|
|
1437
|
-
onClose: (
|
|
1827
|
+
onClose: (R) => V(le)
|
|
1438
1828
|
}, {
|
|
1439
|
-
default:
|
|
1440
|
-
|
|
1441
|
-
|
|
1829
|
+
default: r(() => [
|
|
1830
|
+
v("span", null, G(o.tagText), 1),
|
|
1831
|
+
v("span", {
|
|
1442
1832
|
class: "edit",
|
|
1443
|
-
onClick: (
|
|
1444
|
-
}, "编辑", 8,
|
|
1833
|
+
onClick: (R) => z(o)
|
|
1834
|
+
}, "编辑", 8, jl)
|
|
1445
1835
|
]),
|
|
1446
1836
|
_: 2
|
|
1447
1837
|
}, 1032, ["onClose"]))), 256))
|
|
1448
1838
|
]),
|
|
1449
|
-
|
|
1450
|
-
modelValue:
|
|
1451
|
-
"onUpdate:modelValue":
|
|
1452
|
-
title:
|
|
1839
|
+
a(ae, {
|
|
1840
|
+
modelValue: l.value,
|
|
1841
|
+
"onUpdate:modelValue": e[25] || (e[25] = (o) => l.value = o),
|
|
1842
|
+
title: x.value.label,
|
|
1453
1843
|
width: "600",
|
|
1454
1844
|
"align-center": "",
|
|
1455
1845
|
"destroy-on-close": ""
|
|
1456
1846
|
}, {
|
|
1457
|
-
footer:
|
|
1458
|
-
|
|
1459
|
-
c
|
|
1847
|
+
footer: r(() => [
|
|
1848
|
+
v("div", In, [
|
|
1849
|
+
a(c, {
|
|
1460
1850
|
type: "primary",
|
|
1461
|
-
onClick:
|
|
1851
|
+
onClick: T
|
|
1462
1852
|
}, {
|
|
1463
|
-
default:
|
|
1464
|
-
|
|
1853
|
+
default: r(() => [
|
|
1854
|
+
C("确定")
|
|
1465
1855
|
]),
|
|
1466
1856
|
_: 1
|
|
1467
1857
|
})
|
|
1468
1858
|
])
|
|
1469
1859
|
]),
|
|
1470
|
-
default:
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
(
|
|
1474
|
-
key:
|
|
1475
|
-
onClick: (
|
|
1860
|
+
default: r(() => [
|
|
1861
|
+
x.value.type === void 0 ? (i(), O(L, { key: 0 }, [
|
|
1862
|
+
x.value.convenientOptions.length ? (i(), O("div", Yl, [
|
|
1863
|
+
(i(!0), O(L, null, K(x.value.convenientOptions, (o) => (i(), U(c, {
|
|
1864
|
+
key: o.text,
|
|
1865
|
+
onClick: (le) => d(o)
|
|
1476
1866
|
}, {
|
|
1477
|
-
default:
|
|
1478
|
-
|
|
1867
|
+
default: r(() => [
|
|
1868
|
+
C(G(o.text), 1)
|
|
1479
1869
|
]),
|
|
1480
1870
|
_: 2
|
|
1481
1871
|
}, 1032, ["onClick"]))), 128))
|
|
1482
|
-
])) :
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
modelValue:
|
|
1487
|
-
"onUpdate:modelValue":
|
|
1872
|
+
])) : M("", !0),
|
|
1873
|
+
v("div", Hl, [
|
|
1874
|
+
Kl,
|
|
1875
|
+
a(h, {
|
|
1876
|
+
modelValue: t.value.range[0],
|
|
1877
|
+
"onUpdate:modelValue": e[1] || (e[1] = (o) => t.value.range[0] = o),
|
|
1488
1878
|
style: { flex: "1" }
|
|
1489
|
-
},
|
|
1490
|
-
|
|
1879
|
+
}, Ce({ _: 2 }, [
|
|
1880
|
+
x.value.unitOptions.length ? {
|
|
1491
1881
|
name: "append",
|
|
1492
|
-
fn:
|
|
1493
|
-
|
|
1882
|
+
fn: r(() => [
|
|
1883
|
+
x.value.unitOptions.length === 1 ? (i(), O("span", Gl, G(t.value.unit[0]), 1)) : (i(), U(g, {
|
|
1494
1884
|
key: 1,
|
|
1495
|
-
modelValue:
|
|
1496
|
-
"onUpdate:modelValue":
|
|
1885
|
+
modelValue: t.value.unit[0],
|
|
1886
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => t.value.unit[0] = o),
|
|
1497
1887
|
style: { width: "72px" }
|
|
1498
1888
|
}, {
|
|
1499
|
-
default:
|
|
1500
|
-
(
|
|
1501
|
-
label:
|
|
1502
|
-
value:
|
|
1889
|
+
default: r(() => [
|
|
1890
|
+
(i(!0), O(L, null, K(x.value.unitOptions, (o) => (i(), U(k, {
|
|
1891
|
+
label: o,
|
|
1892
|
+
value: o
|
|
1503
1893
|
}, null, 8, ["label", "value"]))), 256))
|
|
1504
1894
|
]),
|
|
1505
1895
|
_: 1
|
|
@@ -1508,25 +1898,25 @@ const ye = (a) => (ve("data-v-5e6e795d"), a = a(), fe(), a), Xt = {
|
|
|
1508
1898
|
key: "0"
|
|
1509
1899
|
} : void 0
|
|
1510
1900
|
]), 1032, ["modelValue"]),
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
modelValue:
|
|
1514
|
-
"onUpdate:modelValue":
|
|
1901
|
+
C(" ~ "),
|
|
1902
|
+
a(h, {
|
|
1903
|
+
modelValue: t.value.range[1],
|
|
1904
|
+
"onUpdate:modelValue": e[3] || (e[3] = (o) => t.value.range[1] = o),
|
|
1515
1905
|
style: { flex: "1" }
|
|
1516
|
-
},
|
|
1517
|
-
|
|
1906
|
+
}, Ce({ _: 2 }, [
|
|
1907
|
+
x.value.unitOptions.length ? {
|
|
1518
1908
|
name: "append",
|
|
1519
|
-
fn:
|
|
1520
|
-
|
|
1909
|
+
fn: r(() => [
|
|
1910
|
+
x.value.unitOptions.length === 1 ? (i(), O("span", Ql, G(t.value.unit[1]), 1)) : (i(), U(g, {
|
|
1521
1911
|
key: 1,
|
|
1522
|
-
modelValue:
|
|
1523
|
-
"onUpdate:modelValue":
|
|
1912
|
+
modelValue: t.value.unit[1],
|
|
1913
|
+
"onUpdate:modelValue": e[2] || (e[2] = (o) => t.value.unit[1] = o),
|
|
1524
1914
|
style: { width: "72px" }
|
|
1525
1915
|
}, {
|
|
1526
|
-
default:
|
|
1527
|
-
(
|
|
1528
|
-
label:
|
|
1529
|
-
value:
|
|
1916
|
+
default: r(() => [
|
|
1917
|
+
(i(!0), O(L, null, K(x.value.unitOptions, (o) => (i(), U(k, {
|
|
1918
|
+
label: o,
|
|
1919
|
+
value: o
|
|
1530
1920
|
}, null, 8, ["label", "value"]))), 256))
|
|
1531
1921
|
]),
|
|
1532
1922
|
_: 1
|
|
@@ -1536,169 +1926,281 @@ const ye = (a) => (ve("data-v-5e6e795d"), a = a(), fe(), a), Xt = {
|
|
|
1536
1926
|
} : void 0
|
|
1537
1927
|
]), 1032, ["modelValue"])
|
|
1538
1928
|
])
|
|
1539
|
-
], 64)) : (
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
modelValue:
|
|
1543
|
-
"onUpdate:modelValue":
|
|
1929
|
+
], 64)) : (i(), O(L, { key: 1 }, [
|
|
1930
|
+
x.value.key === "st" ? (i(), O("div", Wl, [
|
|
1931
|
+
a(m, {
|
|
1932
|
+
modelValue: t.value.st,
|
|
1933
|
+
"onUpdate:modelValue": e[4] || (e[4] = (o) => t.value.st = o)
|
|
1544
1934
|
}, {
|
|
1545
|
-
default:
|
|
1546
|
-
|
|
1547
|
-
default:
|
|
1548
|
-
|
|
1935
|
+
default: r(() => [
|
|
1936
|
+
a(I, { label: 1 }, {
|
|
1937
|
+
default: r(() => [
|
|
1938
|
+
C("是")
|
|
1549
1939
|
]),
|
|
1550
1940
|
_: 1
|
|
1551
1941
|
}),
|
|
1552
|
-
|
|
1553
|
-
default:
|
|
1554
|
-
|
|
1942
|
+
a(I, { label: 0 }, {
|
|
1943
|
+
default: r(() => [
|
|
1944
|
+
C("否")
|
|
1555
1945
|
]),
|
|
1556
1946
|
_: 1
|
|
1557
1947
|
})
|
|
1558
1948
|
]),
|
|
1559
1949
|
_: 1
|
|
1560
1950
|
}, 8, ["modelValue"])
|
|
1561
|
-
])) :
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
c
|
|
1565
|
-
onClick:
|
|
1951
|
+
])) : M("", !0),
|
|
1952
|
+
x.value.key === "tFeaturelncomes" ? (i(), O("div", Jl, [
|
|
1953
|
+
v("div", Zl, [
|
|
1954
|
+
a(c, {
|
|
1955
|
+
onClick: e[5] || (e[5] = (o) => E("≤0"))
|
|
1566
1956
|
}, {
|
|
1567
|
-
default:
|
|
1568
|
-
|
|
1957
|
+
default: r(() => [
|
|
1958
|
+
C("≤0")
|
|
1569
1959
|
]),
|
|
1570
1960
|
_: 1
|
|
1571
1961
|
}),
|
|
1572
|
-
c
|
|
1573
|
-
onClick:
|
|
1962
|
+
a(c, {
|
|
1963
|
+
onClick: e[6] || (e[6] = (o) => E("≥0"))
|
|
1574
1964
|
}, {
|
|
1575
|
-
default:
|
|
1576
|
-
|
|
1965
|
+
default: r(() => [
|
|
1966
|
+
C("≥0")
|
|
1577
1967
|
]),
|
|
1578
1968
|
_: 1
|
|
1579
1969
|
}),
|
|
1580
|
-
c
|
|
1581
|
-
onClick:
|
|
1970
|
+
a(c, {
|
|
1971
|
+
onClick: e[7] || (e[7] = (o) => E("五年内有四年以上盈利超过5千万"))
|
|
1582
1972
|
}, {
|
|
1583
|
-
default:
|
|
1584
|
-
|
|
1973
|
+
default: r(() => [
|
|
1974
|
+
C("五年内有四年以上盈利超过5千万")
|
|
1585
1975
|
]),
|
|
1586
1976
|
_: 1
|
|
1587
1977
|
}),
|
|
1588
|
-
c
|
|
1589
|
-
onClick:
|
|
1978
|
+
a(c, {
|
|
1979
|
+
onClick: e[8] || (e[8] = (o) => E("≥10亿"))
|
|
1590
1980
|
}, {
|
|
1591
|
-
default:
|
|
1592
|
-
|
|
1981
|
+
default: r(() => [
|
|
1982
|
+
C("≥10亿")
|
|
1593
1983
|
]),
|
|
1594
1984
|
_: 1
|
|
1595
1985
|
}),
|
|
1596
|
-
c
|
|
1597
|
-
onClick:
|
|
1986
|
+
a(c, {
|
|
1987
|
+
onClick: e[9] || (e[9] = (o) => E("≥20亿"))
|
|
1598
1988
|
}, {
|
|
1599
|
-
default:
|
|
1600
|
-
|
|
1989
|
+
default: r(() => [
|
|
1990
|
+
C("≥20亿")
|
|
1601
1991
|
]),
|
|
1602
1992
|
_: 1
|
|
1603
1993
|
})
|
|
1604
1994
|
]),
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
modelValue:
|
|
1610
|
-
"onUpdate:modelValue":
|
|
1995
|
+
v("div", Xl, [
|
|
1996
|
+
en,
|
|
1997
|
+
v("div", null, [
|
|
1998
|
+
a(B, {
|
|
1999
|
+
modelValue: t.value.withFewYears,
|
|
2000
|
+
"onUpdate:modelValue": e[10] || (e[10] = (o) => t.value.withFewYears = o),
|
|
1611
2001
|
"controls-position": "right"
|
|
1612
2002
|
}, null, 8, ["modelValue"]),
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
modelValue:
|
|
1616
|
-
"onUpdate:modelValue":
|
|
2003
|
+
C(" 年内 "),
|
|
2004
|
+
a(B, {
|
|
2005
|
+
modelValue: t.value.yearsCount,
|
|
2006
|
+
"onUpdate:modelValue": e[11] || (e[11] = (o) => t.value.yearsCount = o),
|
|
1617
2007
|
"controls-position": "right"
|
|
1618
2008
|
}, null, 8, ["modelValue"]),
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
modelValue:
|
|
1622
|
-
"onUpdate:modelValue":
|
|
2009
|
+
C(" 年以上盈利" + G(t.value.rule === 1 ? "超" : "跌") + "过 ", 1),
|
|
2010
|
+
a(B, {
|
|
2011
|
+
modelValue: t.value.netProfit,
|
|
2012
|
+
"onUpdate:modelValue": e[12] || (e[12] = (o) => t.value.netProfit = o),
|
|
1623
2013
|
"controls-position": "right"
|
|
1624
2014
|
}, null, 8, ["modelValue"]),
|
|
1625
|
-
|
|
2015
|
+
C(" 亿 ")
|
|
1626
2016
|
])
|
|
1627
2017
|
])
|
|
1628
|
-
])) :
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
modelValue:
|
|
1632
|
-
"onUpdate:modelValue":
|
|
2018
|
+
])) : M("", !0),
|
|
2019
|
+
x.value.key === "priceLevels" ? (i(), O("div", tn, [
|
|
2020
|
+
a(g, {
|
|
2021
|
+
modelValue: t.value.priceLevels,
|
|
2022
|
+
"onUpdate:modelValue": e[13] || (e[13] = (o) => t.value.priceLevels = o),
|
|
1633
2023
|
multiple: "",
|
|
1634
2024
|
clearable: "",
|
|
1635
2025
|
placeholder: "请选择",
|
|
1636
2026
|
style: { width: "420px" }
|
|
1637
2027
|
}, {
|
|
1638
|
-
default:
|
|
1639
|
-
(
|
|
1640
|
-
key:
|
|
1641
|
-
label: `${
|
|
1642
|
-
value:
|
|
2028
|
+
default: r(() => [
|
|
2029
|
+
(i(), O(L, null, K([1, 2, 3, 4, 5], (o) => a(k, {
|
|
2030
|
+
key: o,
|
|
2031
|
+
label: `${o}分位`,
|
|
2032
|
+
value: o
|
|
1643
2033
|
}, null, 8, ["label", "value"])), 64))
|
|
1644
2034
|
]),
|
|
1645
2035
|
_: 1
|
|
1646
2036
|
}, 8, ["modelValue"])
|
|
1647
|
-
])) :
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
modelValue:
|
|
1651
|
-
"onUpdate:modelValue":
|
|
2037
|
+
])) : M("", !0),
|
|
2038
|
+
x.value.key === "optionsCpType" ? (i(), O("div", ln, [
|
|
2039
|
+
a(m, {
|
|
2040
|
+
modelValue: t.value.optionsCpType,
|
|
2041
|
+
"onUpdate:modelValue": e[14] || (e[14] = (o) => t.value.optionsCpType = o)
|
|
1652
2042
|
}, {
|
|
1653
|
-
default:
|
|
1654
|
-
|
|
1655
|
-
default:
|
|
1656
|
-
|
|
2043
|
+
default: r(() => [
|
|
2044
|
+
a(I, { label: 1 }, {
|
|
2045
|
+
default: r(() => [
|
|
2046
|
+
C("看涨")
|
|
1657
2047
|
]),
|
|
1658
2048
|
_: 1
|
|
1659
2049
|
}),
|
|
1660
|
-
|
|
1661
|
-
default:
|
|
1662
|
-
|
|
2050
|
+
a(I, { label: 2 }, {
|
|
2051
|
+
default: r(() => [
|
|
2052
|
+
C("看跌")
|
|
1663
2053
|
]),
|
|
1664
2054
|
_: 1
|
|
1665
2055
|
})
|
|
1666
2056
|
]),
|
|
1667
2057
|
_: 1
|
|
1668
2058
|
}, 8, ["modelValue"])
|
|
1669
|
-
])) :
|
|
2059
|
+
])) : M("", !0),
|
|
2060
|
+
x.value.key === "momentum" ? (i(), O("div", nn, [
|
|
2061
|
+
a(m, {
|
|
2062
|
+
modelValue: t.value.momentumType,
|
|
2063
|
+
"onUpdate:modelValue": e[15] || (e[15] = (o) => t.value.momentumType = o),
|
|
2064
|
+
onChange: q
|
|
2065
|
+
}, {
|
|
2066
|
+
default: r(() => [
|
|
2067
|
+
a(I, { label: 1 }, {
|
|
2068
|
+
default: r(() => [
|
|
2069
|
+
C("动量1")
|
|
2070
|
+
]),
|
|
2071
|
+
_: 1
|
|
2072
|
+
}),
|
|
2073
|
+
a(I, { label: 2 }, {
|
|
2074
|
+
default: r(() => [
|
|
2075
|
+
C("动量2")
|
|
2076
|
+
]),
|
|
2077
|
+
_: 1
|
|
2078
|
+
}),
|
|
2079
|
+
a(I, { label: 3 }, {
|
|
2080
|
+
default: r(() => [
|
|
2081
|
+
C("动量3")
|
|
2082
|
+
]),
|
|
2083
|
+
_: 1
|
|
2084
|
+
}),
|
|
2085
|
+
a(I, { label: 4 }, {
|
|
2086
|
+
default: r(() => [
|
|
2087
|
+
C("动量4")
|
|
2088
|
+
]),
|
|
2089
|
+
_: 1
|
|
2090
|
+
}),
|
|
2091
|
+
a(I, { label: 5 }, {
|
|
2092
|
+
default: r(() => [
|
|
2093
|
+
C("动量5")
|
|
2094
|
+
]),
|
|
2095
|
+
_: 1
|
|
2096
|
+
})
|
|
2097
|
+
]),
|
|
2098
|
+
_: 1
|
|
2099
|
+
}, 8, ["modelValue"]),
|
|
2100
|
+
v("div", on, [
|
|
2101
|
+
t.value.momentumType === 1 ? (i(), O("div", an, [
|
|
2102
|
+
sn,
|
|
2103
|
+
a(j, {
|
|
2104
|
+
modelValue: t.value.momentumValue[0],
|
|
2105
|
+
"onUpdate:modelValue": e[16] || (e[16] = (o) => t.value.momentumValue[0] = o),
|
|
2106
|
+
"fetch-suggestions": w
|
|
2107
|
+
}, null, 8, ["modelValue"]),
|
|
2108
|
+
un
|
|
2109
|
+
])) : M("", !0),
|
|
2110
|
+
t.value.momentumType === 2 ? (i(), O("div", rn, [
|
|
2111
|
+
cn,
|
|
2112
|
+
a(j, {
|
|
2113
|
+
modelValue: t.value.momentumValue[0],
|
|
2114
|
+
"onUpdate:modelValue": e[17] || (e[17] = (o) => t.value.momentumValue[0] = o),
|
|
2115
|
+
"fetch-suggestions": w
|
|
2116
|
+
}, null, 8, ["modelValue"]),
|
|
2117
|
+
dn
|
|
2118
|
+
])) : M("", !0),
|
|
2119
|
+
t.value.momentumType === 3 ? (i(), O("div", pn, [
|
|
2120
|
+
mn,
|
|
2121
|
+
a(j, {
|
|
2122
|
+
modelValue: t.value.momentumValue[0],
|
|
2123
|
+
"onUpdate:modelValue": e[18] || (e[18] = (o) => t.value.momentumValue[0] = o),
|
|
2124
|
+
"fetch-suggestions": w
|
|
2125
|
+
}, null, 8, ["modelValue"]),
|
|
2126
|
+
vn,
|
|
2127
|
+
a(j, {
|
|
2128
|
+
modelValue: t.value.momentumValue[1],
|
|
2129
|
+
"onUpdate:modelValue": e[19] || (e[19] = (o) => t.value.momentumValue[1] = o),
|
|
2130
|
+
"fetch-suggestions": w
|
|
2131
|
+
}, null, 8, ["modelValue"]),
|
|
2132
|
+
fn
|
|
2133
|
+
])) : M("", !0),
|
|
2134
|
+
t.value.momentumType === 4 ? (i(), O("div", gn, [
|
|
2135
|
+
yn,
|
|
2136
|
+
a(j, {
|
|
2137
|
+
modelValue: t.value.momentumValue[0],
|
|
2138
|
+
"onUpdate:modelValue": e[20] || (e[20] = (o) => t.value.momentumValue[0] = o),
|
|
2139
|
+
"fetch-suggestions": w
|
|
2140
|
+
}, null, 8, ["modelValue"]),
|
|
2141
|
+
bn,
|
|
2142
|
+
a(j, {
|
|
2143
|
+
modelValue: t.value.momentumValue[1],
|
|
2144
|
+
"onUpdate:modelValue": e[21] || (e[21] = (o) => t.value.momentumValue[1] = o),
|
|
2145
|
+
"fetch-suggestions": w
|
|
2146
|
+
}, null, 8, ["modelValue"]),
|
|
2147
|
+
_n
|
|
2148
|
+
])) : M("", !0),
|
|
2149
|
+
t.value.momentumType === 5 ? (i(), O("div", kn, [
|
|
2150
|
+
hn,
|
|
2151
|
+
a(j, {
|
|
2152
|
+
modelValue: t.value.momentumValue[0],
|
|
2153
|
+
"onUpdate:modelValue": e[22] || (e[22] = (o) => t.value.momentumValue[0] = o),
|
|
2154
|
+
"fetch-suggestions": w
|
|
2155
|
+
}, null, 8, ["modelValue"]),
|
|
2156
|
+
Vn,
|
|
2157
|
+
a(j, {
|
|
2158
|
+
modelValue: t.value.momentumValue[1],
|
|
2159
|
+
"onUpdate:modelValue": e[23] || (e[23] = (o) => t.value.momentumValue[1] = o),
|
|
2160
|
+
"fetch-suggestions": w
|
|
2161
|
+
}, null, 8, ["modelValue"]),
|
|
2162
|
+
On,
|
|
2163
|
+
a(j, {
|
|
2164
|
+
modelValue: t.value.momentumValue[2],
|
|
2165
|
+
"onUpdate:modelValue": e[24] || (e[24] = (o) => t.value.momentumValue[2] = o),
|
|
2166
|
+
"fetch-suggestions": w
|
|
2167
|
+
}, null, 8, ["modelValue"]),
|
|
2168
|
+
xn
|
|
2169
|
+
])) : M("", !0)
|
|
2170
|
+
])
|
|
2171
|
+
])) : M("", !0)
|
|
1670
2172
|
], 64))
|
|
1671
2173
|
]),
|
|
1672
2174
|
_: 1
|
|
1673
2175
|
}, 8, ["modelValue", "title"])
|
|
1674
|
-
])) :
|
|
2176
|
+
])) : M("", !0);
|
|
1675
2177
|
};
|
|
1676
2178
|
}
|
|
1677
|
-
},
|
|
1678
|
-
const
|
|
2179
|
+
}, wn = /* @__PURE__ */ Pe($n, [["__scopeId", "data-v-42f871ec"]]);
|
|
2180
|
+
const de = (s) => (qe("data-v-eb00276a"), s = s(), Ne(), s), Cn = { class: "variety-search" }, Tn = {
|
|
1679
2181
|
key: 0,
|
|
1680
2182
|
class: "variety-search-row"
|
|
1681
|
-
},
|
|
2183
|
+
}, Sn = { class: "title" }, En = /* @__PURE__ */ de(() => /* @__PURE__ */ v("span", null, "品种市场: ", -1)), Mn = {
|
|
1682
2184
|
key: 1,
|
|
1683
2185
|
class: "variety-search-row"
|
|
1684
|
-
},
|
|
2186
|
+
}, Un = { class: "title" }, Dn = /* @__PURE__ */ de(() => /* @__PURE__ */ v("span", null, "常用选项: ", -1)), Fn = {
|
|
1685
2187
|
key: 2,
|
|
1686
2188
|
class: "variety-search-row"
|
|
1687
|
-
},
|
|
2189
|
+
}, qn = { class: "title" }, Nn = /* @__PURE__ */ de(() => /* @__PURE__ */ v("span", null, "上市板块: ", -1)), Ln = {
|
|
1688
2190
|
key: 3,
|
|
1689
2191
|
class: "variety-search-row"
|
|
1690
|
-
},
|
|
2192
|
+
}, Pn = { class: "title" }, Rn = /* @__PURE__ */ de(() => /* @__PURE__ */ v("span", null, "自定标签: ", -1)), zn = {
|
|
1691
2193
|
key: 4,
|
|
1692
2194
|
class: "variety-search-row"
|
|
1693
|
-
},
|
|
2195
|
+
}, An = { class: "title" }, Bn = /* @__PURE__ */ de(() => /* @__PURE__ */ v("span", null, "因子筛选: ", -1)), jn = {
|
|
1694
2196
|
__name: "index",
|
|
1695
|
-
props: /* @__PURE__ */
|
|
2197
|
+
props: /* @__PURE__ */ De({ config: { type: Object, default: {} } }, {
|
|
1696
2198
|
searchData: {},
|
|
1697
2199
|
searchDataModifiers: {}
|
|
1698
2200
|
}),
|
|
1699
2201
|
emits: ["update:searchData"],
|
|
1700
|
-
setup(
|
|
1701
|
-
const
|
|
2202
|
+
setup(s, { expose: f }) {
|
|
2203
|
+
const u = s, l = Fe(s, "searchData");
|
|
1702
2204
|
l.value = Object.assign(l.value, {
|
|
1703
2205
|
// 品种市场
|
|
1704
2206
|
varietyMarket: null,
|
|
@@ -1717,141 +2219,146 @@ const ee = (a) => (ve("data-v-e077f597"), a = a(), fe(), a), hn = { class: "vari
|
|
|
1717
2219
|
// 常用指标
|
|
1718
2220
|
commonIndicator: []
|
|
1719
2221
|
});
|
|
1720
|
-
const
|
|
1721
|
-
const
|
|
1722
|
-
return Object.keys(
|
|
1723
|
-
const
|
|
1724
|
-
|
|
1725
|
-
}),
|
|
1726
|
-
}),
|
|
1727
|
-
const { varietyMarket:
|
|
1728
|
-
if (
|
|
1729
|
-
const
|
|
1730
|
-
return
|
|
2222
|
+
const b = P(() => {
|
|
2223
|
+
const V = {};
|
|
2224
|
+
return Object.keys(Ye).forEach((d) => {
|
|
2225
|
+
const E = Ye[d], q = u.config[d] ?? {}, w = { ...E, ...q };
|
|
2226
|
+
V[d] = w;
|
|
2227
|
+
}), V;
|
|
2228
|
+
}), x = P(() => b.value.varietyMarket.options), t = P(() => {
|
|
2229
|
+
const { varietyMarket: V } = l.value;
|
|
2230
|
+
if (V) {
|
|
2231
|
+
const d = x.value.find(({ value: E }) => E === V).memo;
|
|
2232
|
+
return b.value.commonOption.options.filter(({ value: E }) => d.includes(E));
|
|
1731
2233
|
} else
|
|
1732
|
-
return
|
|
1733
|
-
}),
|
|
1734
|
-
const { varietyMarket:
|
|
1735
|
-
return
|
|
1736
|
-
}),
|
|
1737
|
-
["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(
|
|
2234
|
+
return b.value.commonOption.options;
|
|
2235
|
+
}), S = P(() => {
|
|
2236
|
+
const { varietyMarket: V } = l.value;
|
|
2237
|
+
return V ? b.value.marketIds.options.filter((d) => d.varietyMarketIds.includes(V)) : b.value.marketIds.options;
|
|
2238
|
+
}), T = P(() => b.value.customTag.options), z = (V) => {
|
|
2239
|
+
["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(V) ? l.value[V] = [] : l.value[V] = null;
|
|
1738
2240
|
};
|
|
1739
|
-
return
|
|
1740
|
-
() =>
|
|
1741
|
-
(
|
|
1742
|
-
var
|
|
1743
|
-
(
|
|
2241
|
+
return ve(
|
|
2242
|
+
() => t.value,
|
|
2243
|
+
(V) => {
|
|
2244
|
+
var d;
|
|
2245
|
+
(d = l.value.commonOption) != null && d.length && (l.value.commonOption = l.value.commonOption.filter((E) => V.find(({ value: q }) => q === E)));
|
|
1744
2246
|
}
|
|
1745
|
-
),
|
|
1746
|
-
() =>
|
|
1747
|
-
(
|
|
1748
|
-
var
|
|
1749
|
-
(
|
|
2247
|
+
), ve(
|
|
2248
|
+
() => S.value,
|
|
2249
|
+
(V) => {
|
|
2250
|
+
var d;
|
|
2251
|
+
(d = l.value.marketIds) != null && d.length && (l.value.marketIds = l.value.marketIds.filter((E) => V.find(({ value: q }) => q === E)));
|
|
1750
2252
|
}
|
|
1751
|
-
),
|
|
2253
|
+
), f({
|
|
1752
2254
|
// 生成接口传参结构的数据
|
|
1753
|
-
formatData: (
|
|
1754
|
-
var
|
|
2255
|
+
formatData: (V) => {
|
|
2256
|
+
var E, q, w, $, p;
|
|
1755
2257
|
console.log("%c[st-varietySearch]: 正在生成接口传参结构的数据...", "color: tomato");
|
|
1756
|
-
const
|
|
1757
|
-
if (
|
|
1758
|
-
const { factorScreen:
|
|
1759
|
-
(
|
|
1760
|
-
freqId:
|
|
1761
|
-
factorId:
|
|
1762
|
-
startScore:
|
|
1763
|
-
endScore:
|
|
1764
|
-
}))),
|
|
2258
|
+
const d = {};
|
|
2259
|
+
if (V.varietyMarket && (d.exchangeId = String(V.varietyMarket)), (E = V.commonOption) != null && E.length && (d.optionId = V.commonOption.join(",")), (q = V.marketIds) != null && q.length && (d.marketIds = V.marketIds), (w = V.customTag) != null && w.length && (d.tagIds = V.customTag), ($ = b.value.factorScreen) != null && $.show) {
|
|
2260
|
+
const { factorScreen: e } = V;
|
|
2261
|
+
(p = e == null ? void 0 : e.list) != null && p.length && (d.tbFeatureFactorScores = e.list.map((n) => ({
|
|
2262
|
+
freqId: n.cycle,
|
|
2263
|
+
factorId: n.factor,
|
|
2264
|
+
startScore: n.score[0],
|
|
2265
|
+
endScore: n.score[1]
|
|
2266
|
+
}))), d.enableSql = e.sqlEnable === 1 ? 2 : 1, e.sqlEnable && (d.sql = e.sqlValue);
|
|
1765
2267
|
}
|
|
1766
2268
|
{
|
|
1767
|
-
const
|
|
1768
|
-
const { key: j, type:
|
|
2269
|
+
const e = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], n = V.commonIndicator.reduce((m, B) => {
|
|
2270
|
+
const { key: j, type: ae, range: o, unit: le } = B;
|
|
1769
2271
|
if (j === "dividendYield") {
|
|
1770
|
-
let [
|
|
1771
|
-
["", null].includes(
|
|
1772
|
-
column:
|
|
1773
|
-
start:
|
|
1774
|
-
end:
|
|
2272
|
+
let [R, A] = o;
|
|
2273
|
+
["", null].includes(R) || (R = R / 100), ["", null].includes(A) || (A = A / 100), m.push({
|
|
2274
|
+
column: B.key,
|
|
2275
|
+
start: R,
|
|
2276
|
+
end: A
|
|
1775
2277
|
});
|
|
1776
|
-
} else if (
|
|
1777
|
-
let [
|
|
1778
|
-
if (!["", null].includes(
|
|
1779
|
-
switch (
|
|
2278
|
+
} else if (ae === void 0 && !e.includes(j)) {
|
|
2279
|
+
let [R, A] = o;
|
|
2280
|
+
if (!["", null].includes(R))
|
|
2281
|
+
switch (le[0]) {
|
|
1780
2282
|
case "亿":
|
|
1781
|
-
|
|
2283
|
+
R = R * 1e8;
|
|
1782
2284
|
break;
|
|
1783
2285
|
case "千万":
|
|
1784
|
-
|
|
2286
|
+
R = R * 1e7;
|
|
1785
2287
|
break;
|
|
1786
2288
|
default:
|
|
1787
|
-
|
|
2289
|
+
R = R;
|
|
1788
2290
|
break;
|
|
1789
2291
|
}
|
|
1790
|
-
if (!["", null].includes(
|
|
1791
|
-
switch (
|
|
2292
|
+
if (!["", null].includes(A))
|
|
2293
|
+
switch (le[1]) {
|
|
1792
2294
|
case "亿":
|
|
1793
|
-
|
|
2295
|
+
A = A * 1e8;
|
|
1794
2296
|
break;
|
|
1795
2297
|
case "千万":
|
|
1796
|
-
|
|
2298
|
+
A = A * 1e7;
|
|
1797
2299
|
break;
|
|
1798
2300
|
default:
|
|
1799
|
-
|
|
2301
|
+
A = A;
|
|
1800
2302
|
break;
|
|
1801
2303
|
}
|
|
1802
|
-
|
|
1803
|
-
column:
|
|
1804
|
-
start:
|
|
1805
|
-
end:
|
|
2304
|
+
m.push({
|
|
2305
|
+
column: B.key,
|
|
2306
|
+
start: R,
|
|
2307
|
+
end: A
|
|
1806
2308
|
});
|
|
1807
2309
|
}
|
|
1808
|
-
return
|
|
2310
|
+
return m;
|
|
1809
2311
|
}, []);
|
|
1810
|
-
|
|
1811
|
-
const
|
|
1812
|
-
|
|
1813
|
-
const
|
|
1814
|
-
|
|
1815
|
-
const
|
|
1816
|
-
|
|
1817
|
-
const
|
|
1818
|
-
|
|
1819
|
-
const { key:
|
|
1820
|
-
switch (
|
|
2312
|
+
n.length && (d.query = n);
|
|
2313
|
+
const c = V.commonIndicator.find(({ key: m }) => m === "st");
|
|
2314
|
+
c && (d.st = c.st);
|
|
2315
|
+
const k = V.commonIndicator.find(({ key: m }) => m === "tFeaturelncomes");
|
|
2316
|
+
k && (d.netProfitQueryDto = { ...k, netProfit: k.netProfit * 1e8 });
|
|
2317
|
+
const g = V.commonIndicator.find(({ key: m }) => m === "priceLevels");
|
|
2318
|
+
g && (d.priceLevels = g.priceLevels);
|
|
2319
|
+
const h = {};
|
|
2320
|
+
V.commonIndicator.forEach((m) => {
|
|
2321
|
+
const { key: B } = m;
|
|
2322
|
+
switch (B) {
|
|
1821
2323
|
case "expireDays":
|
|
1822
|
-
["", null].includes(
|
|
2324
|
+
["", null].includes(m.range[0]) || (h.minExpireDays = m.range[0]), ["", null].includes(m.range[1]) || (h.maxExpireDays = m.range[1]);
|
|
1823
2325
|
break;
|
|
1824
2326
|
case "virtualRealDegree":
|
|
1825
|
-
["", null].includes(
|
|
2327
|
+
["", null].includes(m.range[0]) || (h.minVirtualRealDegree = m.range[0] / 100), ["", null].includes(m.range[1]) || (h.maxVirtualRealDegree = m.range[1] / 100);
|
|
1826
2328
|
break;
|
|
1827
2329
|
case "yearProfitRate":
|
|
1828
|
-
["", null].includes(
|
|
2330
|
+
["", null].includes(m.range[0]) || (h.minYearProfitRate = m.range[0] / 100), ["", null].includes(m.range[1]) || (h.maxYearProfitRate = m.range[1] / 100);
|
|
1829
2331
|
break;
|
|
1830
2332
|
case "impliedVolatility":
|
|
1831
|
-
["", null].includes(
|
|
2333
|
+
["", null].includes(m.range[0]) || (h.minImpliedVolatility = m.range[0] / 100), ["", null].includes(m.range[1]) || (h.maxImpliedVolatility = m.range[1] / 100);
|
|
1832
2334
|
break;
|
|
1833
2335
|
case "levelMultiplier":
|
|
1834
|
-
["", null].includes(
|
|
2336
|
+
["", null].includes(m.range[0]) || (h.minLevelMultiplier = m.range[0]), ["", null].includes(m.range[1]) || (h.maxLevelMultiplier = m.range[1]);
|
|
1835
2337
|
break;
|
|
1836
2338
|
case "turnover":
|
|
1837
|
-
["", null].includes(
|
|
2339
|
+
["", null].includes(m.range[0]) || (h.minTurnover = m.range[0] * 1e4), ["", null].includes(m.range[1]) || (h.maxTurnover = m.range[1] * 1e4);
|
|
1838
2340
|
break;
|
|
1839
2341
|
case "volume":
|
|
1840
|
-
["", null].includes(
|
|
2342
|
+
["", null].includes(m.range[0]) || (h.minVolume = m.range[0]), ["", null].includes(m.range[1]) || (h.maxVolume = m.range[1]);
|
|
1841
2343
|
break;
|
|
1842
2344
|
case "openInterest":
|
|
1843
|
-
["", null].includes(
|
|
2345
|
+
["", null].includes(m.range[0]) || (h.minOpenInterest = m.range[0]), ["", null].includes(m.range[1]) || (h.maxOpenInterest = m.range[1]);
|
|
1844
2346
|
break;
|
|
1845
2347
|
case "optionsCpType":
|
|
1846
|
-
|
|
2348
|
+
h.optionsCpType = m.optionsCpType;
|
|
1847
2349
|
break;
|
|
1848
2350
|
case "optionGear":
|
|
1849
|
-
["", null].includes(
|
|
2351
|
+
["", null].includes(m.range[0]) || (h.minOptionGear = m.range[0]), ["", null].includes(m.range[1]) || (h.maxOptionGear = m.range[1]);
|
|
1850
2352
|
break;
|
|
1851
2353
|
}
|
|
1852
|
-
}), Object.keys(
|
|
2354
|
+
}), Object.keys(h).length && (d.searchOptionDto = h);
|
|
2355
|
+
const I = V.commonIndicator.find(({ key: m }) => m === "momentum");
|
|
2356
|
+
I && (d.momentumIndicator = {
|
|
2357
|
+
momentumType: I.momentumType,
|
|
2358
|
+
momentumValue: I.momentumValue.join(",")
|
|
2359
|
+
});
|
|
1853
2360
|
}
|
|
1854
|
-
return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green",
|
|
2361
|
+
return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", d), d;
|
|
1855
2362
|
},
|
|
1856
2363
|
// 重置函数
|
|
1857
2364
|
reset: () => {
|
|
@@ -1874,142 +2381,142 @@ const ee = (a) => (ve("data-v-e077f597"), a = a(), fe(), a), hn = { class: "vari
|
|
|
1874
2381
|
commonIndicator: []
|
|
1875
2382
|
};
|
|
1876
2383
|
}
|
|
1877
|
-
}), (
|
|
1878
|
-
var
|
|
1879
|
-
const
|
|
1880
|
-
return
|
|
1881
|
-
(
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
onClick:
|
|
2384
|
+
}), (V, d) => {
|
|
2385
|
+
var p, e, n, c, k;
|
|
2386
|
+
const E = Me, q = Ue, w = xt, $ = It;
|
|
2387
|
+
return i(), O("div", Cn, [
|
|
2388
|
+
(p = b.value.varietyMarket) != null && p.show ? (i(), O("div", Tn, [
|
|
2389
|
+
v("div", Sn, [
|
|
2390
|
+
En,
|
|
2391
|
+
v("span", {
|
|
2392
|
+
onClick: d[0] || (d[0] = (g) => z("varietyMarket"))
|
|
1886
2393
|
}, "不限")
|
|
1887
2394
|
]),
|
|
1888
|
-
|
|
2395
|
+
a(q, {
|
|
1889
2396
|
modelValue: l.value.varietyMarket,
|
|
1890
|
-
"onUpdate:modelValue":
|
|
2397
|
+
"onUpdate:modelValue": d[1] || (d[1] = (g) => l.value.varietyMarket = g),
|
|
1891
2398
|
size: "small"
|
|
1892
2399
|
}, {
|
|
1893
|
-
default:
|
|
1894
|
-
(
|
|
1895
|
-
label:
|
|
1896
|
-
key:
|
|
2400
|
+
default: r(() => [
|
|
2401
|
+
(i(!0), O(L, null, K(x.value, ({ label: g, value: h }) => (i(), U(E, {
|
|
2402
|
+
label: h,
|
|
2403
|
+
key: h
|
|
1897
2404
|
}, {
|
|
1898
|
-
default:
|
|
1899
|
-
|
|
2405
|
+
default: r(() => [
|
|
2406
|
+
C(G(g), 1)
|
|
1900
2407
|
]),
|
|
1901
2408
|
_: 2
|
|
1902
2409
|
}, 1032, ["label"]))), 128))
|
|
1903
2410
|
]),
|
|
1904
2411
|
_: 1
|
|
1905
2412
|
}, 8, ["modelValue"])
|
|
1906
|
-
])) :
|
|
1907
|
-
(
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
onClick:
|
|
2413
|
+
])) : M("", !0),
|
|
2414
|
+
(e = b.value.commonOption) != null && e.show && t.value.length ? (i(), O("div", Mn, [
|
|
2415
|
+
v("div", Un, [
|
|
2416
|
+
Dn,
|
|
2417
|
+
v("span", {
|
|
2418
|
+
onClick: d[2] || (d[2] = (g) => z("commonOption"))
|
|
1912
2419
|
}, "不限")
|
|
1913
2420
|
]),
|
|
1914
|
-
|
|
2421
|
+
a($, {
|
|
1915
2422
|
modelValue: l.value.commonOption,
|
|
1916
|
-
"onUpdate:modelValue":
|
|
2423
|
+
"onUpdate:modelValue": d[3] || (d[3] = (g) => l.value.commonOption = g),
|
|
1917
2424
|
size: "small"
|
|
1918
2425
|
}, {
|
|
1919
|
-
default:
|
|
1920
|
-
(
|
|
1921
|
-
label:
|
|
1922
|
-
key:
|
|
2426
|
+
default: r(() => [
|
|
2427
|
+
(i(!0), O(L, null, K(t.value, ({ label: g, value: h }) => (i(), U(w, {
|
|
2428
|
+
label: h,
|
|
2429
|
+
key: h
|
|
1923
2430
|
}, {
|
|
1924
|
-
default:
|
|
1925
|
-
|
|
2431
|
+
default: r(() => [
|
|
2432
|
+
C(G(g), 1)
|
|
1926
2433
|
]),
|
|
1927
2434
|
_: 2
|
|
1928
2435
|
}, 1032, ["label"]))), 128))
|
|
1929
2436
|
]),
|
|
1930
2437
|
_: 1
|
|
1931
2438
|
}, 8, ["modelValue"])
|
|
1932
|
-
])) :
|
|
1933
|
-
(
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
onClick:
|
|
2439
|
+
])) : M("", !0),
|
|
2440
|
+
(n = b.value.marketIds) != null && n.show && S.value.length ? (i(), O("div", Fn, [
|
|
2441
|
+
v("div", qn, [
|
|
2442
|
+
Nn,
|
|
2443
|
+
v("span", {
|
|
2444
|
+
onClick: d[4] || (d[4] = (g) => z("marketIds"))
|
|
1938
2445
|
}, "不限")
|
|
1939
2446
|
]),
|
|
1940
|
-
|
|
2447
|
+
a($, {
|
|
1941
2448
|
modelValue: l.value.marketIds,
|
|
1942
|
-
"onUpdate:modelValue":
|
|
2449
|
+
"onUpdate:modelValue": d[5] || (d[5] = (g) => l.value.marketIds = g),
|
|
1943
2450
|
size: "small"
|
|
1944
2451
|
}, {
|
|
1945
|
-
default:
|
|
1946
|
-
(
|
|
1947
|
-
label:
|
|
1948
|
-
key:
|
|
2452
|
+
default: r(() => [
|
|
2453
|
+
(i(!0), O(L, null, K(S.value, ({ label: g, value: h }) => (i(), U(w, {
|
|
2454
|
+
label: h,
|
|
2455
|
+
key: h
|
|
1949
2456
|
}, {
|
|
1950
|
-
default:
|
|
1951
|
-
|
|
2457
|
+
default: r(() => [
|
|
2458
|
+
C(G(g), 1)
|
|
1952
2459
|
]),
|
|
1953
2460
|
_: 2
|
|
1954
2461
|
}, 1032, ["label"]))), 128))
|
|
1955
2462
|
]),
|
|
1956
2463
|
_: 1
|
|
1957
2464
|
}, 8, ["modelValue"])
|
|
1958
|
-
])) :
|
|
1959
|
-
(
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
onClick:
|
|
2465
|
+
])) : M("", !0),
|
|
2466
|
+
(c = b.value.customTag) != null && c.show && T.value.length ? (i(), O("div", Ln, [
|
|
2467
|
+
v("div", Pn, [
|
|
2468
|
+
Rn,
|
|
2469
|
+
v("span", {
|
|
2470
|
+
onClick: d[6] || (d[6] = (g) => z("customTag"))
|
|
1964
2471
|
}, "不限")
|
|
1965
2472
|
]),
|
|
1966
|
-
|
|
2473
|
+
a($, {
|
|
1967
2474
|
modelValue: l.value.customTag,
|
|
1968
|
-
"onUpdate:modelValue":
|
|
2475
|
+
"onUpdate:modelValue": d[7] || (d[7] = (g) => l.value.customTag = g),
|
|
1969
2476
|
size: "small"
|
|
1970
2477
|
}, {
|
|
1971
|
-
default:
|
|
1972
|
-
(
|
|
1973
|
-
label:
|
|
1974
|
-
key:
|
|
2478
|
+
default: r(() => [
|
|
2479
|
+
(i(!0), O(L, null, K(T.value, ({ label: g, value: h }) => (i(), U(w, {
|
|
2480
|
+
label: h,
|
|
2481
|
+
key: h
|
|
1975
2482
|
}, {
|
|
1976
|
-
default:
|
|
1977
|
-
|
|
2483
|
+
default: r(() => [
|
|
2484
|
+
C(G(g), 1)
|
|
1978
2485
|
]),
|
|
1979
2486
|
_: 2
|
|
1980
2487
|
}, 1032, ["label"]))), 128))
|
|
1981
2488
|
]),
|
|
1982
2489
|
_: 1
|
|
1983
2490
|
}, 8, ["modelValue"])
|
|
1984
|
-
])) :
|
|
1985
|
-
(
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
onClick:
|
|
2491
|
+
])) : M("", !0),
|
|
2492
|
+
(k = b.value.factorScreen) != null && k.show ? (i(), O("div", zn, [
|
|
2493
|
+
v("div", An, [
|
|
2494
|
+
Bn,
|
|
2495
|
+
v("span", {
|
|
2496
|
+
onClick: d[8] || (d[8] = (g) => z("factorScreen"))
|
|
1990
2497
|
}, "不限")
|
|
1991
2498
|
]),
|
|
1992
|
-
|
|
2499
|
+
a(Nl, {
|
|
1993
2500
|
data: l.value.factorScreen,
|
|
1994
|
-
"onUpdate:data":
|
|
1995
|
-
config:
|
|
2501
|
+
"onUpdate:data": d[9] || (d[9] = (g) => l.value.factorScreen = g),
|
|
2502
|
+
config: b.value.factorScreen
|
|
1996
2503
|
}, null, 8, ["data", "config"])
|
|
1997
|
-
])) :
|
|
1998
|
-
|
|
2504
|
+
])) : M("", !0),
|
|
2505
|
+
a(wn, {
|
|
1999
2506
|
data: l.value.commonIndicator,
|
|
2000
|
-
"onUpdate:data":
|
|
2507
|
+
"onUpdate:data": d[10] || (d[10] = (g) => l.value.commonIndicator = g),
|
|
2001
2508
|
varietyMarket: l.value.varietyMarket,
|
|
2002
2509
|
commonOption: l.value.commonOption,
|
|
2003
|
-
config:
|
|
2510
|
+
config: b.value.commonIndicator
|
|
2004
2511
|
}, null, 8, ["data", "varietyMarket", "commonOption", "config"])
|
|
2005
2512
|
]);
|
|
2006
2513
|
};
|
|
2007
2514
|
}
|
|
2008
|
-
},
|
|
2009
|
-
install(
|
|
2010
|
-
|
|
2515
|
+
}, Yn = /* @__PURE__ */ Pe(jn, [["__scopeId", "data-v-eb00276a"]]), yo = {
|
|
2516
|
+
install(s) {
|
|
2517
|
+
s.component("st-varietySearch", Yn);
|
|
2011
2518
|
}
|
|
2012
2519
|
};
|
|
2013
2520
|
export {
|
|
2014
|
-
|
|
2521
|
+
yo as default
|
|
2015
2522
|
};
|