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