st-comp 0.0.130 → 0.0.131

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.
@@ -1,22 +1,22 @@
1
- import { b as ae, i as Ve, a as xe, c as Oe, C as Ie, u as ie, _ as ce, e as Ge, f as Ye, w as Je, v as Te } from "./base-3ecbc734.js";
1
+ import { b as le, i as he, a as Ve, c as xe, C as Oe, u as re, _ as ie, e as Be, f as Ge, w as Ye, v as we } from "./base-3ecbc734.js";
2
2
  import "./el-tag-6a31c968.js";
3
- import { E as de, a as pe } from "./el-select-5fb7d469.js";
3
+ import { E as ce, a as de } from "./el-select-5fb7d469.js";
4
4
  import "./el-scrollbar-66f3bb72.js";
5
- import { u as Ae, E as Ke } from "./el-popper-d3eef7ed.js";
6
- import { a as Qe, E as Ze, b as He } from "./el-form-item-afc3dcf2.js";
7
- import { b as We, c as Xe, E as el, a as ll } from "./el-table-column-560db3aa.js";
8
- import { ref as H, inject as tl, computed as B, defineComponent as W, openBlock as o, createElementBlock as f, normalizeClass as Z, unref as v, createElementVNode as y, withDirectives as ve, isRef as Ce, withModifiers as le, vModelRadio as Se, renderSlot as me, createTextVNode as L, toDisplayString as Q, nextTick as Ue, normalizeStyle as al, onMounted as nl, provide as ol, reactive as ul, toRefs as sl, watch as te, mergeModels as ne, useModel as oe, createBlock as M, withCtx as i, createVNode as n, Fragment as S, createCommentVNode as P, renderList as N, pushScopeId as fe, popScopeId as ye, createSlots as se, vShow as rl } from "vue";
9
- import { E as ge } from "./el-overlay-6056c89a.js";
10
- import { E as Ee } from "./el-input-ee7db655.js";
11
- import { E as Re } from "./el-input-number-63c21037.js";
5
+ import { u as Je, E as Ae } from "./el-popper-d3eef7ed.js";
6
+ import { a as Ke, E as Qe, b as Ze } from "./el-form-item-afc3dcf2.js";
7
+ import { b as He, c as We, E as Xe, a as el } from "./el-table-column-560db3aa.js";
8
+ import { ref as Q, inject as ll, computed as N, defineComponent as Z, openBlock as u, createElementBlock as m, normalizeClass as K, unref as v, createElementVNode as f, withDirectives as pe, isRef as Te, withModifiers as X, vModelRadio as Ce, renderSlot as ve, createTextVNode as D, toDisplayString as J, nextTick as Se, normalizeStyle as tl, onMounted as al, provide as nl, reactive as ol, toRefs as ul, watch as ee, mergeModels as te, useModel as ae, createBlock as q, withCtx as d, createVNode as o, Fragment as U, createCommentVNode as z, renderList as j, pushScopeId as me, popScopeId as fe, createSlots as ue, vShow as sl } from "vue";
9
+ import { E as ye } from "./el-overlay-6056c89a.js";
10
+ import { E as Ue } from "./el-input-ee7db655.js";
11
+ import { E as Ee } from "./el-input-number-63c21037.js";
12
12
  import "./el-tooltip-4ed993c7.js";
13
- import { E as qe } from "./el-button-24f79286.js";
14
- import { u as Me, a as il, b as cl, d as dl, e as pl, v as re, i as vl, w as ml, E as fl } from "./use-form-common-props-9c0363ac.js";
15
- import { E as K } from "./el-message-71aa42ca.js";
16
- import { _ as be } from "./_plugin-vue_export-helper-dad06003.js";
17
- import { E as De } from "./index-a1ecf26c.js";
18
- import { U as ke, C as yl } from "./event-09e37cc8.js";
19
- import { a as gl } from "./index-68ee64fa.js";
13
+ import { E as Re } from "./el-button-24f79286.js";
14
+ import { u as qe, a as rl, b as il, d as cl, e as dl, v as se, i as pl, w as vl, E as ml } from "./use-form-common-props-9c0363ac.js";
15
+ import { E as A } from "./el-message-71aa42ca.js";
16
+ import { _ as ge } from "./_plugin-vue_export-helper-dad06003.js";
17
+ import { E as Me } from "./index-a1ecf26c.js";
18
+ import { U as be, C as fl } from "./event-09e37cc8.js";
19
+ import { a as yl } from "./index-68ee64fa.js";
20
20
  import "./castArray-7d3fc921.js";
21
21
  import "./index-fa07a823.js";
22
22
  import "./scroll-1efa8148.js";
@@ -27,12 +27,12 @@ import "./refs-46cf8186.js";
27
27
  import "./typescript-7ae59c4c.js";
28
28
  import "./index-657047bb.js";
29
29
  import "./config-provider-83904b4d.js";
30
- const Fe = ae({
30
+ const De = le({
31
31
  modelValue: {
32
32
  type: [String, Number, Boolean],
33
33
  default: void 0
34
34
  },
35
- size: Me,
35
+ size: qe,
36
36
  disabled: Boolean,
37
37
  label: {
38
38
  type: [String, Number, Boolean],
@@ -46,166 +46,166 @@ const Fe = ae({
46
46
  type: String,
47
47
  default: void 0
48
48
  }
49
- }), bl = ae({
50
- ...Fe,
49
+ }), gl = le({
50
+ ...De,
51
51
  border: Boolean
52
- }), Le = {
53
- [ke]: (c) => Ve(c) || xe(c) || Oe(c),
54
- [yl]: (c) => Ve(c) || xe(c) || Oe(c)
55
- }, je = Symbol("radioGroupKey"), ze = (c, x) => {
56
- const b = H(), a = tl(je, void 0), k = B(() => !!a), q = B(() => Ie(c.value) ? c.label : c.value), s = B({
52
+ }), Fe = {
53
+ [be]: (p) => he(p) || Ve(p) || xe(p),
54
+ [fl]: (p) => he(p) || Ve(p) || xe(p)
55
+ }, Le = Symbol("radioGroupKey"), je = (p, V) => {
56
+ const y = Q(), n = ll(Le, void 0), b = N(() => !!n), R = N(() => Oe(p.value) ? p.label : p.value), r = N({
57
57
  get() {
58
- return k.value ? a.modelValue : c.modelValue;
58
+ return b.value ? n.modelValue : p.modelValue;
59
59
  },
60
- set(r) {
61
- k.value ? a.changeEvent(r) : x && x(ke, r), b.value.checked = c.modelValue === q.value;
60
+ set(i) {
61
+ b.value ? n.changeEvent(i) : V && V(be, i), y.value.checked = p.modelValue === R.value;
62
62
  }
63
- }), t = il(B(() => a == null ? void 0 : a.size)), U = cl(B(() => a == null ? void 0 : a.disabled)), z = H(!1), D = B(() => U.value || k.value && s.value !== q.value ? -1 : 0);
64
- return gl({
63
+ }), t = rl(N(() => n == null ? void 0 : n.size)), E = il(N(() => n == null ? void 0 : n.disabled)), L = Q(!1), M = N(() => E.value || b.value && r.value !== R.value ? -1 : 0);
64
+ return yl({
65
65
  from: "label act as value",
66
66
  replacement: "value",
67
67
  version: "3.0.0",
68
68
  scope: "el-radio",
69
69
  ref: "https://element-plus.org/en-US/component/radio.html"
70
- }, B(() => k.value && Ie(c.value))), {
71
- radioRef: b,
72
- isGroup: k,
73
- radioGroup: a,
74
- focus: z,
70
+ }, N(() => b.value && Oe(p.value))), {
71
+ radioRef: y,
72
+ isGroup: b,
73
+ radioGroup: n,
74
+ focus: L,
75
75
  size: t,
76
- disabled: U,
77
- tabIndex: D,
78
- modelValue: s,
79
- actualValue: q
76
+ disabled: E,
77
+ tabIndex: M,
78
+ modelValue: r,
79
+ actualValue: R
80
80
  };
81
- }, kl = W({
81
+ }, bl = Z({
82
82
  name: "ElRadio"
83
- }), _l = /* @__PURE__ */ W({
84
- ...kl,
85
- props: bl,
86
- emits: Le,
87
- setup(c, { emit: x }) {
88
- const b = c, a = ie("radio"), { radioRef: k, radioGroup: q, focus: s, size: t, disabled: U, modelValue: z, actualValue: D } = ze(b, x);
89
- function r() {
90
- Ue(() => x("change", z.value));
83
+ }), kl = /* @__PURE__ */ Z({
84
+ ...bl,
85
+ props: gl,
86
+ emits: Fe,
87
+ setup(p, { emit: V }) {
88
+ const y = p, n = re("radio"), { radioRef: b, radioGroup: R, focus: r, size: t, disabled: E, modelValue: L, actualValue: M } = je(y, V);
89
+ function i() {
90
+ Se(() => V("change", L.value));
91
91
  }
92
- return (d, m) => {
93
- var u;
94
- return o(), f("label", {
95
- class: Z([
96
- v(a).b(),
97
- v(a).is("disabled", v(U)),
98
- v(a).is("focus", v(s)),
99
- v(a).is("bordered", d.border),
100
- v(a).is("checked", v(z) === v(D)),
101
- v(a).m(v(t))
92
+ return (a, C) => {
93
+ var s;
94
+ return u(), m("label", {
95
+ class: K([
96
+ v(n).b(),
97
+ v(n).is("disabled", v(E)),
98
+ v(n).is("focus", v(r)),
99
+ v(n).is("bordered", a.border),
100
+ v(n).is("checked", v(L) === v(M)),
101
+ v(n).m(v(t))
102
102
  ])
103
103
  }, [
104
- y("span", {
105
- class: Z([
106
- v(a).e("input"),
107
- v(a).is("disabled", v(U)),
108
- v(a).is("checked", v(z) === v(D))
104
+ f("span", {
105
+ class: K([
106
+ v(n).e("input"),
107
+ v(n).is("disabled", v(E)),
108
+ v(n).is("checked", v(L) === v(M))
109
109
  ])
110
110
  }, [
111
- ve(y("input", {
111
+ pe(f("input", {
112
112
  ref_key: "radioRef",
113
- ref: k,
114
- "onUpdate:modelValue": (e) => Ce(z) ? z.value = e : null,
115
- class: Z(v(a).e("original")),
116
- value: v(D),
117
- name: d.name || ((u = v(q)) == null ? void 0 : u.name),
118
- disabled: v(U),
119
- checked: v(z) === v(D),
113
+ ref: b,
114
+ "onUpdate:modelValue": (l) => Te(L) ? L.value = l : null,
115
+ class: K(v(n).e("original")),
116
+ value: v(M),
117
+ name: a.name || ((s = v(R)) == null ? void 0 : s.name),
118
+ disabled: v(E),
119
+ checked: v(L) === v(M),
120
120
  type: "radio",
121
- onFocus: (e) => s.value = !0,
122
- onBlur: (e) => s.value = !1,
123
- onChange: r,
124
- onClick: le(() => {
121
+ onFocus: (l) => r.value = !0,
122
+ onBlur: (l) => r.value = !1,
123
+ onChange: i,
124
+ onClick: X(() => {
125
125
  }, ["stop"])
126
126
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
127
- [Se, v(z)]
127
+ [Ce, v(L)]
128
128
  ]),
129
- y("span", {
130
- class: Z(v(a).e("inner"))
129
+ f("span", {
130
+ class: K(v(n).e("inner"))
131
131
  }, null, 2)
132
132
  ], 2),
133
- y("span", {
134
- class: Z(v(a).e("label")),
135
- onKeydown: le(() => {
133
+ f("span", {
134
+ class: K(v(n).e("label")),
135
+ onKeydown: X(() => {
136
136
  }, ["stop"])
137
137
  }, [
138
- me(d.$slots, "default", {}, () => [
139
- L(Q(d.label), 1)
138
+ ve(a.$slots, "default", {}, () => [
139
+ D(J(a.label), 1)
140
140
  ])
141
141
  ], 42, ["onKeydown"])
142
142
  ], 2);
143
143
  };
144
144
  }
145
145
  });
146
- var hl = /* @__PURE__ */ ce(_l, [["__file", "radio.vue"]]);
147
- const Vl = ae({
148
- ...Fe
149
- }), xl = W({
146
+ var _l = /* @__PURE__ */ ie(kl, [["__file", "radio.vue"]]);
147
+ const hl = le({
148
+ ...De
149
+ }), Vl = Z({
150
150
  name: "ElRadioButton"
151
- }), Ol = /* @__PURE__ */ W({
152
- ...xl,
153
- props: Vl,
154
- setup(c) {
155
- const x = c, b = ie("radio"), { radioRef: a, focus: k, size: q, disabled: s, modelValue: t, radioGroup: U, actualValue: z } = ze(x), D = B(() => ({
156
- backgroundColor: (U == null ? void 0 : U.fill) || "",
157
- borderColor: (U == null ? void 0 : U.fill) || "",
158
- boxShadow: U != null && U.fill ? `-1px 0 0 0 ${U.fill}` : "",
159
- color: (U == null ? void 0 : U.textColor) || ""
151
+ }), xl = /* @__PURE__ */ Z({
152
+ ...Vl,
153
+ props: hl,
154
+ setup(p) {
155
+ const V = p, y = re("radio"), { radioRef: n, focus: b, size: R, disabled: r, modelValue: t, radioGroup: E, actualValue: L } = je(V), M = N(() => ({
156
+ backgroundColor: (E == null ? void 0 : E.fill) || "",
157
+ borderColor: (E == null ? void 0 : E.fill) || "",
158
+ boxShadow: E != null && E.fill ? `-1px 0 0 0 ${E.fill}` : "",
159
+ color: (E == null ? void 0 : E.textColor) || ""
160
160
  }));
161
- return (r, d) => {
162
- var m;
163
- return o(), f("label", {
164
- class: Z([
165
- v(b).b("button"),
166
- v(b).is("active", v(t) === v(z)),
167
- v(b).is("disabled", v(s)),
168
- v(b).is("focus", v(k)),
169
- v(b).bm("button", v(q))
161
+ return (i, a) => {
162
+ var C;
163
+ return u(), m("label", {
164
+ class: K([
165
+ v(y).b("button"),
166
+ v(y).is("active", v(t) === v(L)),
167
+ v(y).is("disabled", v(r)),
168
+ v(y).is("focus", v(b)),
169
+ v(y).bm("button", v(R))
170
170
  ])
171
171
  }, [
172
- ve(y("input", {
172
+ pe(f("input", {
173
173
  ref_key: "radioRef",
174
- ref: a,
175
- "onUpdate:modelValue": (u) => Ce(t) ? t.value = u : null,
176
- class: Z(v(b).be("button", "original-radio")),
177
- value: v(z),
174
+ ref: n,
175
+ "onUpdate:modelValue": (s) => Te(t) ? t.value = s : null,
176
+ class: K(v(y).be("button", "original-radio")),
177
+ value: v(L),
178
178
  type: "radio",
179
- name: r.name || ((m = v(U)) == null ? void 0 : m.name),
180
- disabled: v(s),
181
- onFocus: (u) => k.value = !0,
182
- onBlur: (u) => k.value = !1,
183
- onClick: le(() => {
179
+ name: i.name || ((C = v(E)) == null ? void 0 : C.name),
180
+ disabled: v(r),
181
+ onFocus: (s) => b.value = !0,
182
+ onBlur: (s) => b.value = !1,
183
+ onClick: X(() => {
184
184
  }, ["stop"])
185
185
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
186
- [Se, v(t)]
186
+ [Ce, v(t)]
187
187
  ]),
188
- y("span", {
189
- class: Z(v(b).be("button", "inner")),
190
- style: al(v(t) === v(z) ? v(D) : {}),
191
- onKeydown: le(() => {
188
+ f("span", {
189
+ class: K(v(y).be("button", "inner")),
190
+ style: tl(v(t) === v(L) ? v(M) : {}),
191
+ onKeydown: X(() => {
192
192
  }, ["stop"])
193
193
  }, [
194
- me(r.$slots, "default", {}, () => [
195
- L(Q(r.label), 1)
194
+ ve(i.$slots, "default", {}, () => [
195
+ D(J(i.label), 1)
196
196
  ])
197
197
  ], 46, ["onKeydown"])
198
198
  ], 2);
199
199
  };
200
200
  }
201
201
  });
202
- var Ne = /* @__PURE__ */ ce(Ol, [["__file", "radio-button.vue"]]);
203
- const Il = ae({
202
+ var ze = /* @__PURE__ */ ie(xl, [["__file", "radio-button.vue"]]);
203
+ const Ol = le({
204
204
  id: {
205
205
  type: String,
206
206
  default: void 0
207
207
  },
208
- size: Me,
208
+ size: qe,
209
209
  disabled: Boolean,
210
210
  modelValue: {
211
211
  type: [String, Number, Boolean],
@@ -227,49 +227,49 @@ const Il = ae({
227
227
  type: Boolean,
228
228
  default: !0
229
229
  },
230
- ...Ae(["ariaLabel"])
231
- }), $l = Le, wl = W({
230
+ ...Je(["ariaLabel"])
231
+ }), Il = Fe, $l = Z({
232
232
  name: "ElRadioGroup"
233
- }), Tl = /* @__PURE__ */ W({
234
- ...wl,
235
- props: Il,
236
- emits: $l,
237
- setup(c, { emit: x }) {
238
- const b = c, a = ie("radio"), k = Ge(), q = H(), { formItem: s } = dl(), { inputId: t, isLabeledByFormItem: U } = pl(b, {
239
- formItemContext: s
240
- }), z = (r) => {
241
- x(ke, r), Ue(() => x("change", r));
233
+ }), wl = /* @__PURE__ */ Z({
234
+ ...$l,
235
+ props: Ol,
236
+ emits: Il,
237
+ setup(p, { emit: V }) {
238
+ const y = p, n = re("radio"), b = Be(), R = Q(), { formItem: r } = cl(), { inputId: t, isLabeledByFormItem: E } = dl(y, {
239
+ formItemContext: r
240
+ }), L = (i) => {
241
+ V(be, i), Se(() => V("change", i));
242
242
  };
243
- nl(() => {
244
- const r = q.value.querySelectorAll("[type=radio]"), d = r[0];
245
- !Array.from(r).some((m) => m.checked) && d && (d.tabIndex = 0);
243
+ al(() => {
244
+ const i = R.value.querySelectorAll("[type=radio]"), a = i[0];
245
+ !Array.from(i).some((C) => C.checked) && a && (a.tabIndex = 0);
246
246
  });
247
- const D = B(() => b.name || k.value);
248
- return ol(je, ul({
249
- ...sl(b),
250
- changeEvent: z,
251
- name: D
252
- })), te(() => b.modelValue, () => {
253
- b.validateEvent && (s == null || s.validate("change").catch((r) => Ye(r)));
254
- }), (r, d) => (o(), f("div", {
247
+ const M = N(() => y.name || b.value);
248
+ return nl(Le, ol({
249
+ ...ul(y),
250
+ changeEvent: L,
251
+ name: M
252
+ })), ee(() => y.modelValue, () => {
253
+ y.validateEvent && (r == null || r.validate("change").catch((i) => Ge(i)));
254
+ }), (i, a) => (u(), m("div", {
255
255
  id: v(t),
256
256
  ref_key: "radioGroupRef",
257
- ref: q,
258
- class: Z(v(a).b("group")),
257
+ ref: R,
258
+ class: K(v(n).b("group")),
259
259
  role: "radiogroup",
260
- "aria-label": v(U) ? void 0 : r.ariaLabel || "radio-group",
261
- "aria-labelledby": v(U) ? v(s).labelId : void 0
260
+ "aria-label": v(E) ? void 0 : i.ariaLabel || "radio-group",
261
+ "aria-labelledby": v(E) ? v(r).labelId : void 0
262
262
  }, [
263
- me(r.$slots, "default")
263
+ ve(i.$slots, "default")
264
264
  ], 10, ["id", "aria-label", "aria-labelledby"]));
265
265
  }
266
266
  });
267
- var Pe = /* @__PURE__ */ ce(Tl, [["__file", "radio-group.vue"]]);
268
- const _e = Je(hl, {
269
- RadioButton: Ne,
270
- RadioGroup: Pe
271
- }), he = Te(Pe), Cl = Te(Ne);
272
- const $e = {
267
+ var Ne = /* @__PURE__ */ ie(wl, [["__file", "radio-group.vue"]]);
268
+ const ke = Ye(_l, {
269
+ RadioButton: ze,
270
+ RadioGroup: Ne
271
+ }), _e = we(Ne), Tl = we(ze);
272
+ const Ie = {
273
273
  // 品种市场 [选项: 前端默认]
274
274
  varietyMarket: {
275
275
  show: !0,
@@ -806,49 +806,49 @@ const $e = {
806
806
  }
807
807
  ]
808
808
  }
809
- }, Sl = (c, x, b) => {
810
- !x[0] && x[0] !== 0 && !x[1] && x[1] !== 0 ? b(new Error("至少填写一个分数")) : b();
811
- }, we = (c) => {
812
- const x = /(条件(\d+))/g;
813
- return c.match(x) || [];
814
- }, Ul = {
809
+ }, Cl = (p, V, y) => {
810
+ !V[0] && V[0] !== 0 && !V[1] && V[1] !== 0 ? y(new Error("至少填写一个分数")) : y();
811
+ }, $e = (p) => {
812
+ const V = /(条件(\d+))/g;
813
+ return p.match(V) || [];
814
+ }, Sl = {
815
815
  __name: "FactorDescription",
816
- props: /* @__PURE__ */ ne({
816
+ props: /* @__PURE__ */ te({
817
817
  data: { type: Array, default: [] }
818
818
  }, {
819
819
  visible: { default: !1 },
820
820
  visibleModifiers: {}
821
821
  }),
822
822
  emits: ["update:visible"],
823
- setup(c) {
824
- const x = oe(c, "visible");
825
- return (b, a) => {
826
- const k = We, q = Xe, s = ge;
827
- return o(), M(s, {
828
- modelValue: x.value,
829
- "onUpdate:modelValue": a[0] || (a[0] = (t) => x.value = t),
823
+ setup(p) {
824
+ const V = ae(p, "visible");
825
+ return (y, n) => {
826
+ const b = He, R = We, r = ye;
827
+ return u(), q(r, {
828
+ modelValue: V.value,
829
+ "onUpdate:modelValue": n[0] || (n[0] = (t) => V.value = t),
830
830
  title: "因子使用说明",
831
831
  width: "1000",
832
832
  "align-center": "",
833
833
  "destroy-on-close": ""
834
834
  }, {
835
- default: i(() => [
836
- n(q, {
837
- data: c.data,
835
+ default: d(() => [
836
+ o(R, {
837
+ data: p.data,
838
838
  border: "",
839
839
  height: "500"
840
840
  }, {
841
- default: i(() => [
842
- n(k, {
841
+ default: d(() => [
842
+ o(b, {
843
843
  prop: "factorName",
844
844
  label: "因子名称",
845
845
  width: "200"
846
846
  }),
847
- n(k, {
847
+ o(b, {
848
848
  prop: "factorDesc",
849
849
  label: "因子说明"
850
850
  }),
851
- n(k, {
851
+ o(b, {
852
852
  prop: "factorScoreDefine",
853
853
  label: "分值定义"
854
854
  })
@@ -861,9 +861,9 @@ const $e = {
861
861
  };
862
862
  }
863
863
  };
864
- const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "factor-screen" }, Rl = { class: "custom-header" }, ql = ["id"], Ml = { class: "form-row" }, Dl = { class: "index" }, Fl = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Ll = /* @__PURE__ */ Be(() => /* @__PURE__ */ y("span", null, "~", -1)), jl = /* @__PURE__ */ Be(() => /* @__PURE__ */ y("span", null, "&&代表and,||代表or", -1)), zl = { class: "dialog-footer" }, Nl = {
864
+ const Pe = (p) => (me("data-v-ef576faa"), p = p(), fe(), p), Ul = { class: "factor-screen" }, El = { class: "custom-header" }, Rl = ["id"], ql = { class: "form-row" }, Ml = { class: "index" }, Dl = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Fl = /* @__PURE__ */ Pe(() => /* @__PURE__ */ f("span", null, "~", -1)), Ll = /* @__PURE__ */ Pe(() => /* @__PURE__ */ f("span", null, "&&代表and,||代表or", -1)), jl = { class: "dialog-footer" }, zl = {
865
865
  __name: "index",
866
- props: /* @__PURE__ */ ne({
866
+ props: /* @__PURE__ */ te({
867
867
  config: {
868
868
  type: Object,
869
869
  default: {
@@ -892,12 +892,12 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
892
892
  dataModifiers: {}
893
893
  }),
894
894
  emits: ["update:data"],
895
- setup(c) {
896
- const x = c, b = oe(c, "data"), a = H(!1), k = H(!1), q = H(null), s = H({
895
+ setup(p) {
896
+ const V = p, y = ae(p, "data"), n = Q(!1), b = Q(!1), R = Q(null), r = Q({
897
897
  // 筛选因子列表
898
898
  list: [
899
899
  {
900
- cycle: x.config.cycleDefault ?? null,
900
+ cycle: V.config.cycleDefault ?? null,
901
901
  // 周期
902
902
  factor: null,
903
903
  // 因子
@@ -910,80 +910,80 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
910
910
  // SQL语句
911
911
  sqlValue: null
912
912
  }), t = () => {
913
- const { list: u, sqlEnable: e, sqlValue: _ } = b.value;
914
- s.value = {
915
- list: JSON.parse(JSON.stringify(u)),
916
- sqlEnable: e,
917
- sqlValue: _
918
- }, s.value.list.length || D(), a.value = !0;
919
- }, U = () => {
920
- q.value.validate((u) => {
921
- const { list: e, sqlEnable: _, sqlValue: I } = s.value;
922
- if (u) {
923
- if (_) {
924
- if (!I)
925
- return K.error("SQL语句不能为空");
926
- const V = we(I), E = e.map((g, C) => `条件${C + 1}`), $ = V.filter((g) => !E.includes(g));
927
- if ($.length)
928
- return K.error(`请检查SQL语句, 不存在[${$}]`);
913
+ const { list: s, sqlEnable: l, sqlValue: k } = y.value;
914
+ r.value = {
915
+ list: JSON.parse(JSON.stringify(s)),
916
+ sqlEnable: l,
917
+ sqlValue: k
918
+ }, r.value.list.length || M(), n.value = !0;
919
+ }, E = () => {
920
+ R.value.validate((s) => {
921
+ const { list: l, sqlEnable: k, sqlValue: O } = r.value;
922
+ if (s) {
923
+ if (k) {
924
+ if (!O)
925
+ return A.error("SQL语句不能为空");
926
+ const _ = $e(O), $ = l.map((I, S) => `条件${S + 1}`), h = _.filter((I) => !$.includes(I));
927
+ if (h.length)
928
+ return A.error(`请检查SQL语句, 不存在[${h}]`);
929
929
  }
930
- b.value = {
931
- list: JSON.parse(JSON.stringify(e)),
932
- sqlEnable: _,
933
- sqlValue: I
934
- }, a.value = !1;
930
+ y.value = {
931
+ list: JSON.parse(JSON.stringify(l)),
932
+ sqlEnable: k,
933
+ sqlValue: O
934
+ }, n.value = !1;
935
935
  }
936
936
  });
937
- }, z = (u) => {
938
- s.value.list.splice(u, 1);
939
- }, D = (u) => {
940
- switch (u) {
937
+ }, L = (s) => {
938
+ r.value.list.splice(s, 1);
939
+ }, M = (s) => {
940
+ switch (s) {
941
941
  case "compare": {
942
- s.value.list.push({
942
+ r.value.list.push({
943
943
  key: "compare",
944
- cycle: x.config.cycleDefault ?? null,
944
+ cycle: V.config.cycleDefault ?? null,
945
945
  factor: null,
946
946
  compareType: ">",
947
- cycle2: x.config.cycleDefault ?? null,
947
+ cycle2: V.config.cycleDefault ?? null,
948
948
  factor2: null
949
949
  });
950
950
  break;
951
951
  }
952
952
  default: {
953
- s.value.list.push({
954
- cycle: x.config.cycleDefault ?? null,
953
+ r.value.list.push({
954
+ cycle: V.config.cycleDefault ?? null,
955
955
  factor: null,
956
956
  score: [null, null]
957
957
  });
958
958
  break;
959
959
  }
960
960
  }
961
- }, r = () => {
962
- q.value.validate((u) => {
963
- if (u)
964
- if (s.value.sqlValue) {
965
- const e = we(s.value.sqlValue);
966
- s.value.sqlValue = s.value.list.reduce((_, I, V) => (e.includes(`条件${V + 1}`) || (_ += `&& 条件${V + 1} `), _), s.value.sqlValue);
961
+ }, i = () => {
962
+ R.value.validate((s) => {
963
+ if (s)
964
+ if (r.value.sqlValue) {
965
+ const l = $e(r.value.sqlValue);
966
+ r.value.sqlValue = r.value.list.reduce((k, O, _) => (l.includes(`条件${_ + 1}`) || (k += `&& 条件${_ + 1} `), k), r.value.sqlValue);
967
967
  } else
968
- s.value.sqlValue = s.value.list.reduce((e, _, I) => (I === 0 ? e += `条件${I + 1} ` : e += `&& 条件${I + 1} `, e), "");
968
+ r.value.sqlValue = r.value.list.reduce((l, k, O) => (O === 0 ? l += `条件${O + 1} ` : l += `&& 条件${O + 1} `, l), "");
969
969
  });
970
- }, d = (u) => {
971
- switch (u.key) {
970
+ }, a = (s) => {
971
+ switch (s.key) {
972
972
  case "compare": {
973
- const { cycle: e, factor: _, compareType: I, cycle2: V, factor2: E } = u;
974
- let $ = "";
975
- return $ += ` ${x.config.cycleOptions.find(({ value: g }) => g === e).label}`, $ += ` ${x.config.factorOptions.find(({ value: g }) => g === _).label}`, $ += ` ${I}`, $ += ` ${x.config.cycleOptions.find(({ value: g }) => g === V).label}`, $ += ` ${x.config.factorOptions.find(({ value: g }) => g === E).label}`, $;
973
+ const { cycle: l, factor: k, compareType: O, cycle2: _, factor2: $ } = s;
974
+ let h = "";
975
+ return h += ` ${V.config.cycleOptions.find(({ value: I }) => I === l).label}`, h += ` ${V.config.factorOptions.find(({ value: I }) => I === k).label}`, h += ` ${O}`, h += ` ${V.config.cycleOptions.find(({ value: I }) => I === _).label}`, h += ` ${V.config.factorOptions.find(({ value: I }) => I === $).label}`, h;
976
976
  }
977
977
  default: {
978
- const { cycle: e, factor: _, score: I } = u;
979
- let V = "";
980
- return V += ` ${x.config.cycleOptions.find(({ value: E }) => E === e).label}`, V += ` ${x.config.factorOptions.find(({ value: E }) => E === _).label}`, V += ` ${I[0] || I[0] === 0 ? `${I[0]}分` : "∞"}`, V += " ~", V += ` ${I[1] || I[1] === 0 ? `${I[1]}分` : "∞"}`, V;
978
+ const { cycle: l, factor: k, score: O } = s;
979
+ let _ = "";
980
+ return _ += ` ${V.config.cycleOptions.find(({ value: $ }) => $ === l).label}`, _ += ` ${V.config.factorOptions.find(({ value: $ }) => $ === k).label}`, _ += ` ${O[0] || O[0] === 0 ? `${O[0]}分` : "∞"}`, _ += " ~", _ += ` ${O[1] || O[1] === 0 ? `${O[1]}分` : "∞"}`, _;
981
981
  }
982
982
  }
983
- }, m = (u, e) => {
984
- switch (u) {
983
+ }, C = (s, l) => {
984
+ switch (s) {
985
985
  case "sqlTag": {
986
- b.value = {
986
+ y.value = {
987
987
  list: [],
988
988
  sqlEnable: 0,
989
989
  sqlValue: null
@@ -991,86 +991,86 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
991
991
  break;
992
992
  }
993
993
  case "factorTag": {
994
- b.value.list.splice(e, 1);
994
+ y.value.list.splice(l, 1);
995
995
  break;
996
996
  }
997
997
  }
998
998
  };
999
- return (u, e) => {
1000
- var ee;
1001
- const _ = Qe, I = De, V = qe, E = fl, $ = Ke, g = de, C = pe, R = Ze, w = Re, h = _e, l = he, p = Ee, J = He, Y = ge;
1002
- return o(), f(S, null, [
1003
- y("div", El, [
1004
- y("div", null, [
1005
- b.value.sqlEnable && b.value.sqlValue ? (o(), M(I, {
999
+ return (s, l) => {
1000
+ var W;
1001
+ const k = Ke, O = Me, _ = Re, $ = ml, h = Ae, I = ce, S = de, g = Qe, P = Ee, c = ke, e = _e, G = Ue, B = Ze, oe = ye;
1002
+ return u(), m(U, null, [
1003
+ f("div", Ul, [
1004
+ f("div", null, [
1005
+ y.value.sqlEnable && y.value.sqlValue ? (u(), q(O, {
1006
1006
  key: 0,
1007
1007
  closable: "",
1008
1008
  type: "info",
1009
- title: b.value.sqlValue,
1010
- onClose: e[0] || (e[0] = (T) => m("sqlTag"))
1009
+ title: y.value.sqlValue,
1010
+ onClose: l[0] || (l[0] = (w) => C("sqlTag"))
1011
1011
  }, {
1012
- default: i(() => [
1013
- n(_, {
1012
+ default: d(() => [
1013
+ o(k, {
1014
1014
  type: "info",
1015
1015
  truncated: "",
1016
1016
  style: { "max-width": "500px" }
1017
1017
  }, {
1018
- default: i(() => [
1019
- L(Q(b.value.sqlValue), 1)
1018
+ default: d(() => [
1019
+ D(J(y.value.sqlValue), 1)
1020
1020
  ]),
1021
1021
  _: 1
1022
1022
  })
1023
1023
  ]),
1024
1024
  _: 1
1025
- }, 8, ["title"])) : P("", !0),
1026
- !b.value.sqlEnable && b.value.list.length ? (o(!0), f(S, { key: 1 }, N(b.value.list, (T, G) => (o(), M(I, {
1025
+ }, 8, ["title"])) : z("", !0),
1026
+ !y.value.sqlEnable && y.value.list.length ? (u(!0), m(U, { key: 1 }, j(y.value.list, (w, Y) => (u(), q(O, {
1027
1027
  closable: "",
1028
1028
  type: "info",
1029
- onClose: (O) => m("factorTag", G)
1029
+ onClose: (x) => C("factorTag", Y)
1030
1030
  }, {
1031
- default: i(() => [
1032
- L(Q(d(T)), 1)
1031
+ default: d(() => [
1032
+ D(J(a(w)), 1)
1033
1033
  ]),
1034
1034
  _: 2
1035
- }, 1032, ["onClose"]))), 256)) : P("", !0),
1036
- n(V, {
1035
+ }, 1032, ["onClose"]))), 256)) : z("", !0),
1036
+ o(_, {
1037
1037
  class: "screen-btn",
1038
1038
  type: "primary",
1039
1039
  plain: "",
1040
1040
  size: "small",
1041
- icon: v(re),
1041
+ icon: v(se),
1042
1042
  onClick: t
1043
1043
  }, {
1044
- default: i(() => [
1045
- L(" 添加因子 ")
1044
+ default: d(() => [
1045
+ D(" 添加因子 ")
1046
1046
  ]),
1047
1047
  _: 1
1048
1048
  }, 8, ["icon"])
1049
1049
  ]),
1050
- n(Y, {
1051
- modelValue: a.value,
1052
- "onUpdate:modelValue": e[5] || (e[5] = (T) => a.value = T),
1050
+ o(oe, {
1051
+ modelValue: n.value,
1052
+ "onUpdate:modelValue": l[5] || (l[5] = (w) => n.value = w),
1053
1053
  width: "602",
1054
1054
  "align-center": "",
1055
1055
  "destroy-on-close": ""
1056
1056
  }, {
1057
- header: i(({ titleId: T, titleClass: G }) => [
1058
- y("div", Rl, [
1059
- y("span", {
1060
- id: T,
1061
- class: Z(G)
1062
- }, " 因子筛选 ", 10, ql),
1063
- n($, {
1057
+ header: d(({ titleId: w, titleClass: Y }) => [
1058
+ f("div", El, [
1059
+ f("span", {
1060
+ id: w,
1061
+ class: K(Y)
1062
+ }, " 因子筛选 ", 10, Rl),
1063
+ o(h, {
1064
1064
  effect: "dark",
1065
1065
  content: "点击查看: 因子使用说明",
1066
1066
  placement: "right"
1067
1067
  }, {
1068
- default: i(() => [
1069
- n(E, {
1070
- onClick: e[1] || (e[1] = (O) => k.value = !0)
1068
+ default: d(() => [
1069
+ o($, {
1070
+ onClick: l[1] || (l[1] = (x) => b.value = !0)
1071
1071
  }, {
1072
- default: i(() => [
1073
- n(v(vl))
1072
+ default: d(() => [
1073
+ o(v(pl))
1074
1074
  ]),
1075
1075
  _: 1
1076
1076
  })
@@ -1079,75 +1079,75 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
1079
1079
  })
1080
1080
  ])
1081
1081
  ]),
1082
- footer: i(() => [
1083
- y("div", zl, [
1084
- n(V, {
1082
+ footer: d(() => [
1083
+ f("div", jl, [
1084
+ o(_, {
1085
1085
  type: "primary",
1086
- onClick: U
1086
+ onClick: E
1087
1087
  }, {
1088
- default: i(() => [
1089
- L("确定")
1088
+ default: d(() => [
1089
+ D("确定")
1090
1090
  ]),
1091
1091
  _: 1
1092
1092
  })
1093
1093
  ])
1094
1094
  ]),
1095
- default: i(() => [
1096
- n(J, {
1095
+ default: d(() => [
1096
+ o(B, {
1097
1097
  ref_key: "dialogFormRef",
1098
- ref: q,
1099
- model: s.value
1098
+ ref: R,
1099
+ model: r.value
1100
1100
  }, {
1101
- default: i(() => [
1102
- (o(!0), f(S, null, N(s.value.list, (T, G) => (o(), f("div", Ml, [
1103
- y("span", Dl, Q(`条件${G + 1}`), 1),
1104
- T.key === "compare" ? (o(), f(S, { key: 0 }, [
1105
- c.config.cycleShow ? (o(), M(R, {
1101
+ default: d(() => [
1102
+ (u(!0), m(U, null, j(r.value.list, (w, Y) => (u(), m("div", ql, [
1103
+ f("span", Ml, J(`条件${Y + 1}`), 1),
1104
+ w.key === "compare" ? (u(), m(U, { key: 0 }, [
1105
+ p.config.cycleShow ? (u(), q(g, {
1106
1106
  key: 0,
1107
- prop: "list." + G + ".cycle",
1107
+ prop: "list." + Y + ".cycle",
1108
1108
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1109
1109
  style: { width: "100px", "margin-right": "10px" }
1110
1110
  }, {
1111
- default: i(() => [
1112
- n(C, {
1113
- modelValue: T.cycle,
1114
- "onUpdate:modelValue": (O) => T.cycle = O,
1111
+ default: d(() => [
1112
+ o(S, {
1113
+ modelValue: w.cycle,
1114
+ "onUpdate:modelValue": (x) => w.cycle = x,
1115
1115
  placeholder: "选择周期",
1116
1116
  size: "small"
1117
1117
  }, {
1118
- default: i(() => [
1119
- (o(!0), f(S, null, N(c.config.cycleOptions, ({ label: O, value: F }) => (o(), M(g, {
1120
- label: O,
1121
- value: F,
1122
- key: F
1118
+ default: d(() => [
1119
+ (u(!0), m(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (u(), q(I, {
1120
+ label: x,
1121
+ value: T,
1122
+ key: T
1123
1123
  }, null, 8, ["label", "value"]))), 128))
1124
1124
  ]),
1125
1125
  _: 2
1126
1126
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1127
1127
  ]),
1128
1128
  _: 2
1129
- }, 1032, ["prop"])) : P("", !0),
1130
- n(R, {
1131
- prop: "list." + G + ".factor",
1129
+ }, 1032, ["prop"])) : z("", !0),
1130
+ o(g, {
1131
+ prop: "list." + Y + ".factor",
1132
1132
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1133
1133
  style: { width: "100px", "margin-right": "10px" }
1134
1134
  }, {
1135
- default: i(() => [
1136
- n(C, {
1137
- modelValue: T.factor,
1138
- "onUpdate:modelValue": (O) => T.factor = O,
1135
+ default: d(() => [
1136
+ o(S, {
1137
+ modelValue: w.factor,
1138
+ "onUpdate:modelValue": (x) => w.factor = x,
1139
1139
  placeholder: "选择因子",
1140
1140
  filterable: "",
1141
1141
  size: "small",
1142
1142
  "no-match-text": "无匹配数据"
1143
1143
  }, {
1144
- default: i(() => {
1145
- var O;
1144
+ default: d(() => {
1145
+ var x;
1146
1146
  return [
1147
- (o(!0), f(S, null, N((O = c.config.factorOptions) == null ? void 0 : O.filter((F) => [4].includes(F.type)), ({ label: F, value: j }) => (o(), M(g, {
1148
- label: F,
1149
- value: j,
1150
- key: j
1147
+ (u(!0), m(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [4].includes(T.type)), ({ label: T, value: F }) => (u(), q(I, {
1148
+ label: T,
1149
+ value: F,
1150
+ key: F
1151
1151
  }, null, 8, ["label", "value"]))), 128))
1152
1152
  ];
1153
1153
  }),
@@ -1156,18 +1156,18 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
1156
1156
  ]),
1157
1157
  _: 2
1158
1158
  }, 1032, ["prop"]),
1159
- n(R, { style: { width: "52px", "margin-right": "10px" } }, {
1160
- default: i(() => [
1161
- n(C, {
1162
- modelValue: T.compareType,
1163
- "onUpdate:modelValue": (O) => T.compareType = O,
1159
+ o(g, { style: { width: "52px", "margin-right": "10px" } }, {
1160
+ default: d(() => [
1161
+ o(S, {
1162
+ modelValue: w.compareType,
1163
+ "onUpdate:modelValue": (x) => w.compareType = x,
1164
1164
  size: "small"
1165
1165
  }, {
1166
- default: i(() => [
1167
- (o(), f(S, null, N([">", ">=", "<", "<="], (O) => n(g, {
1168
- label: O,
1169
- value: O,
1170
- key: O
1166
+ default: d(() => [
1167
+ (u(), m(U, null, j([">", ">=", "<", "<="], (x) => o(I, {
1168
+ label: x,
1169
+ value: x,
1170
+ key: x
1171
1171
  }, null, 8, ["label", "value"])), 64))
1172
1172
  ]),
1173
1173
  _: 2
@@ -1175,52 +1175,52 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
1175
1175
  ]),
1176
1176
  _: 2
1177
1177
  }, 1024),
1178
- c.config.cycleShow ? (o(), M(R, {
1178
+ p.config.cycleShow ? (u(), q(g, {
1179
1179
  key: 1,
1180
- prop: "list." + G + ".cycle2",
1180
+ prop: "list." + Y + ".cycle2",
1181
1181
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1182
1182
  style: { width: "100px", "margin-right": "10px" }
1183
1183
  }, {
1184
- default: i(() => [
1185
- n(C, {
1186
- modelValue: T.cycle2,
1187
- "onUpdate:modelValue": (O) => T.cycle2 = O,
1184
+ default: d(() => [
1185
+ o(S, {
1186
+ modelValue: w.cycle2,
1187
+ "onUpdate:modelValue": (x) => w.cycle2 = x,
1188
1188
  placeholder: "选择周期",
1189
1189
  size: "small"
1190
1190
  }, {
1191
- default: i(() => [
1192
- (o(!0), f(S, null, N(c.config.cycleOptions, ({ label: O, value: F }) => (o(), M(g, {
1193
- label: O,
1194
- value: F,
1195
- key: F
1191
+ default: d(() => [
1192
+ (u(!0), m(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (u(), q(I, {
1193
+ label: x,
1194
+ value: T,
1195
+ key: T
1196
1196
  }, null, 8, ["label", "value"]))), 128))
1197
1197
  ]),
1198
1198
  _: 2
1199
1199
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1200
1200
  ]),
1201
1201
  _: 2
1202
- }, 1032, ["prop"])) : P("", !0),
1203
- n(R, {
1204
- prop: "list." + G + ".factor2",
1202
+ }, 1032, ["prop"])) : z("", !0),
1203
+ o(g, {
1204
+ prop: "list." + Y + ".factor2",
1205
1205
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1206
1206
  style: { width: "100px", "margin-right": "10px" }
1207
1207
  }, {
1208
- default: i(() => [
1209
- n(C, {
1210
- modelValue: T.factor2,
1211
- "onUpdate:modelValue": (O) => T.factor2 = O,
1208
+ default: d(() => [
1209
+ o(S, {
1210
+ modelValue: w.factor2,
1211
+ "onUpdate:modelValue": (x) => w.factor2 = x,
1212
1212
  placeholder: "选择因子",
1213
1213
  filterable: "",
1214
1214
  size: "small",
1215
1215
  "no-match-text": "无匹配数据"
1216
1216
  }, {
1217
- default: i(() => {
1218
- var O;
1217
+ default: d(() => {
1218
+ var x;
1219
1219
  return [
1220
- (o(!0), f(S, null, N((O = c.config.factorOptions) == null ? void 0 : O.filter((F) => [4].includes(F.type)), ({ label: F, value: j }) => (o(), M(g, {
1221
- label: F,
1222
- value: j,
1223
- key: j
1220
+ (u(!0), m(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [4].includes(T.type)), ({ label: T, value: F }) => (u(), q(I, {
1221
+ label: T,
1222
+ value: F,
1223
+ key: F
1224
1224
  }, null, 8, ["label", "value"]))), 128))
1225
1225
  ];
1226
1226
  }),
@@ -1229,53 +1229,53 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
1229
1229
  ]),
1230
1230
  _: 2
1231
1231
  }, 1032, ["prop"])
1232
- ], 64)) : (o(), f(S, { key: 1 }, [
1233
- c.config.cycleShow ? (o(), M(R, {
1232
+ ], 64)) : (u(), m(U, { key: 1 }, [
1233
+ p.config.cycleShow ? (u(), q(g, {
1234
1234
  key: 0,
1235
- prop: "list." + G + ".cycle",
1235
+ prop: "list." + Y + ".cycle",
1236
1236
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1237
1237
  style: { width: "100px", "margin-right": "10px" }
1238
1238
  }, {
1239
- default: i(() => [
1240
- n(C, {
1241
- modelValue: T.cycle,
1242
- "onUpdate:modelValue": (O) => T.cycle = O,
1239
+ default: d(() => [
1240
+ o(S, {
1241
+ modelValue: w.cycle,
1242
+ "onUpdate:modelValue": (x) => w.cycle = x,
1243
1243
  placeholder: "选择周期",
1244
1244
  size: "small"
1245
1245
  }, {
1246
- default: i(() => [
1247
- (o(!0), f(S, null, N(c.config.cycleOptions, ({ label: O, value: F }) => (o(), M(g, {
1248
- label: O,
1249
- value: F,
1250
- key: F
1246
+ default: d(() => [
1247
+ (u(!0), m(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (u(), q(I, {
1248
+ label: x,
1249
+ value: T,
1250
+ key: T
1251
1251
  }, null, 8, ["label", "value"]))), 128))
1252
1252
  ]),
1253
1253
  _: 2
1254
1254
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1255
1255
  ]),
1256
1256
  _: 2
1257
- }, 1032, ["prop"])) : P("", !0),
1258
- n(R, {
1259
- prop: "list." + G + ".factor",
1257
+ }, 1032, ["prop"])) : z("", !0),
1258
+ o(g, {
1259
+ prop: "list." + Y + ".factor",
1260
1260
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1261
1261
  style: { width: "100px", "margin-right": "10px" }
1262
1262
  }, {
1263
- default: i(() => [
1264
- n(C, {
1265
- modelValue: T.factor,
1266
- "onUpdate:modelValue": (O) => T.factor = O,
1263
+ default: d(() => [
1264
+ o(S, {
1265
+ modelValue: w.factor,
1266
+ "onUpdate:modelValue": (x) => w.factor = x,
1267
1267
  placeholder: "选择因子",
1268
1268
  filterable: "",
1269
1269
  size: "small",
1270
1270
  "no-match-text": "无匹配数据"
1271
1271
  }, {
1272
- default: i(() => {
1273
- var O;
1272
+ default: d(() => {
1273
+ var x;
1274
1274
  return [
1275
- (o(!0), f(S, null, N((O = c.config.factorOptions) == null ? void 0 : O.filter((F) => [1, 3].includes(F.type)), ({ label: F, value: j }) => (o(), M(g, {
1276
- label: F,
1277
- value: j,
1278
- key: j
1275
+ (u(!0), m(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [1, 3].includes(T.type)), ({ label: T, value: F }) => (u(), q(I, {
1276
+ label: T,
1277
+ value: F,
1278
+ key: F
1279
1279
  }, null, 8, ["label", "value"]))), 128))
1280
1280
  ];
1281
1281
  }),
@@ -1284,23 +1284,23 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
1284
1284
  ]),
1285
1285
  _: 2
1286
1286
  }, 1032, ["prop"]),
1287
- n(R, {
1288
- prop: "list." + G + ".score",
1289
- rules: { validator: v(Sl), trigger: "blur" },
1287
+ o(g, {
1288
+ prop: "list." + Y + ".score",
1289
+ rules: { validator: v(Cl), trigger: "blur" },
1290
1290
  style: { width: "200px", "margin-right": "10px" }
1291
1291
  }, {
1292
- default: i(() => [
1293
- y("div", Fl, [
1294
- n(w, {
1295
- modelValue: T.score[0],
1296
- "onUpdate:modelValue": (O) => T.score[0] = O,
1292
+ default: d(() => [
1293
+ f("div", Dl, [
1294
+ o(P, {
1295
+ modelValue: w.score[0],
1296
+ "onUpdate:modelValue": (x) => w.score[0] = x,
1297
1297
  size: "small",
1298
1298
  "controls-position": "right"
1299
1299
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1300
- Ll,
1301
- n(w, {
1302
- modelValue: T.score[1],
1303
- "onUpdate:modelValue": (O) => T.score[1] = O,
1300
+ Fl,
1301
+ o(P, {
1302
+ modelValue: w.score[1],
1303
+ "onUpdate:modelValue": (x) => w.score[1] = x,
1304
1304
  size: "small",
1305
1305
  "controls-position": "right"
1306
1306
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -1309,86 +1309,86 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
1309
1309
  _: 2
1310
1310
  }, 1032, ["prop", "rules"])
1311
1311
  ], 64)),
1312
- n(E, {
1313
- onClick: (O) => z(G)
1312
+ o($, {
1313
+ onClick: (x) => L(Y)
1314
1314
  }, {
1315
- default: i(() => [
1316
- n(v(ml))
1315
+ default: d(() => [
1316
+ o(v(vl))
1317
1317
  ]),
1318
1318
  _: 2
1319
1319
  }, 1032, ["onClick"])
1320
1320
  ]))), 256)),
1321
- n(V, {
1321
+ o(_, {
1322
1322
  type: "primary",
1323
1323
  plain: "",
1324
1324
  size: "small",
1325
- icon: v(re),
1326
- onClick: D,
1325
+ icon: v(se),
1326
+ onClick: M,
1327
1327
  style: { "margin-bottom": "10px" }
1328
1328
  }, {
1329
- default: i(() => [
1330
- L("添加因子")
1329
+ default: d(() => [
1330
+ D("添加因子")
1331
1331
  ]),
1332
1332
  _: 1
1333
1333
  }, 8, ["icon"]),
1334
- n(V, {
1334
+ o(_, {
1335
1335
  type: "primary",
1336
1336
  plain: "",
1337
1337
  size: "small",
1338
- icon: v(re),
1339
- onClick: e[2] || (e[2] = (T) => D("compare")),
1338
+ icon: v(se),
1339
+ onClick: l[2] || (l[2] = (w) => M("compare")),
1340
1340
  style: { "margin-bottom": "10px" }
1341
1341
  }, {
1342
- default: i(() => [
1343
- L("添加因子对比")
1342
+ default: d(() => [
1343
+ D("添加因子对比")
1344
1344
  ]),
1345
1345
  _: 1
1346
1346
  }, 8, ["icon"]),
1347
- c.config.sqlShow ? (o(), f(S, { key: 0 }, [
1348
- n(R, { label: "SQL功能: " }, {
1349
- default: i(() => [
1350
- n(l, {
1351
- modelValue: s.value.sqlEnable,
1352
- "onUpdate:modelValue": e[3] || (e[3] = (T) => s.value.sqlEnable = T)
1347
+ p.config.sqlShow ? (u(), m(U, { key: 0 }, [
1348
+ o(g, { label: "SQL功能: " }, {
1349
+ default: d(() => [
1350
+ o(e, {
1351
+ modelValue: r.value.sqlEnable,
1352
+ "onUpdate:modelValue": l[3] || (l[3] = (w) => r.value.sqlEnable = w)
1353
1353
  }, {
1354
- default: i(() => [
1355
- n(h, {
1354
+ default: d(() => [
1355
+ o(c, {
1356
1356
  label: "关闭",
1357
1357
  value: 0
1358
1358
  }),
1359
- n(h, {
1359
+ o(c, {
1360
1360
  label: "启用",
1361
1361
  value: 1
1362
1362
  })
1363
1363
  ]),
1364
1364
  _: 1
1365
1365
  }, 8, ["modelValue"]),
1366
- s.value.sqlEnable ? (o(), M(V, {
1366
+ r.value.sqlEnable ? (u(), q(_, {
1367
1367
  key: 0,
1368
1368
  type: "primary",
1369
1369
  size: "small",
1370
- onClick: r,
1370
+ onClick: i,
1371
1371
  style: { "margin-left": "auto" }
1372
1372
  }, {
1373
- default: i(() => [
1374
- L("生成SQL")
1373
+ default: d(() => [
1374
+ D("生成SQL")
1375
1375
  ]),
1376
1376
  _: 1
1377
- })) : P("", !0)
1377
+ })) : z("", !0)
1378
1378
  ]),
1379
1379
  _: 1
1380
1380
  }),
1381
- s.value.sqlEnable ? (o(), f(S, { key: 0 }, [
1382
- n(p, {
1383
- modelValue: s.value.sqlValue,
1384
- "onUpdate:modelValue": e[4] || (e[4] = (T) => s.value.sqlValue = T),
1381
+ r.value.sqlEnable ? (u(), m(U, { key: 0 }, [
1382
+ o(G, {
1383
+ modelValue: r.value.sqlValue,
1384
+ "onUpdate:modelValue": l[4] || (l[4] = (w) => r.value.sqlValue = w),
1385
1385
  autosize: { minRows: 4 },
1386
1386
  type: "textarea",
1387
1387
  style: { "margin-bottom": "10px" }
1388
1388
  }, null, 8, ["modelValue"]),
1389
- jl
1390
- ], 64)) : P("", !0)
1391
- ], 64)) : P("", !0)
1389
+ Ll
1390
+ ], 64)) : z("", !0)
1391
+ ], 64)) : z("", !0)
1392
1392
  ]),
1393
1393
  _: 1
1394
1394
  }, 8, ["model"])
@@ -1396,30 +1396,30 @@ const Be = (c) => (fe("data-v-ef576faa"), c = c(), ye(), c), El = { class: "fact
1396
1396
  _: 1
1397
1397
  }, 8, ["modelValue"])
1398
1398
  ]),
1399
- n(Ul, {
1400
- visible: k.value,
1401
- "onUpdate:visible": e[6] || (e[6] = (T) => k.value = T),
1402
- data: (ee = c.config.factorDescriptions) == null ? void 0 : ee.filter((T) => [1, 3].includes(T.type))
1399
+ o(Sl, {
1400
+ visible: b.value,
1401
+ "onUpdate:visible": l[6] || (l[6] = (w) => b.value = w),
1402
+ data: (W = p.config.factorDescriptions) == null ? void 0 : W.filter((w) => [1, 3].includes(w.type))
1403
1403
  }, null, 8, ["visible", "data"])
1404
1404
  ], 64);
1405
1405
  };
1406
1406
  }
1407
- }, Pl = /* @__PURE__ */ be(Nl, [["__scopeId", "data-v-ef576faa"]]);
1408
- const ue = (c) => (fe("data-v-bdb03941"), c = c(), ye(), c), Bl = {
1407
+ }, Nl = /* @__PURE__ */ ge(zl, [["__scopeId", "data-v-ef576faa"]]);
1408
+ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
1409
1409
  key: 0,
1410
1410
  class: "common-indicator"
1411
- }, Gl = { class: "indicator" }, Yl = /* @__PURE__ */ ue(() => /* @__PURE__ */ y("div", { class: "title" }, [
1412
- /* @__PURE__ */ y("span", null, "常用指标: "),
1413
- /* @__PURE__ */ y("span", null, "不限")
1414
- ], -1)), Jl = { class: "options" }, Al = ["onClick"], Kl = { class: "tags" }, Ql = ["onClick"], Zl = { style: { "font-size": "18px" } }, Hl = {
1411
+ }, Bl = { class: "indicator" }, Gl = /* @__PURE__ */ ne(() => /* @__PURE__ */ f("div", { class: "title" }, [
1412
+ /* @__PURE__ */ f("span", null, "常用指标: "),
1413
+ /* @__PURE__ */ f("span", null, "不限")
1414
+ ], -1)), Yl = { class: "options" }, Jl = ["onClick"], Al = { class: "tags" }, Kl = ["onClick"], Ql = { style: { "font-size": "18px" } }, Zl = {
1415
1415
  key: 0,
1416
1416
  class: "out-box"
1417
- }, Wl = /* @__PURE__ */ ue(() => /* @__PURE__ */ y("span", null, "自定义: ", -1)), Xl = {
1417
+ }, Hl = /* @__PURE__ */ ne(() => /* @__PURE__ */ f("span", null, "自定义: ", -1)), Wl = {
1418
1418
  key: 0,
1419
1419
  class: "convenient-option-box"
1420
- }, et = { class: "out-box" }, lt = /* @__PURE__ */ ue(() => /* @__PURE__ */ y("span", null, "自定义: ", -1)), tt = { key: 0 }, at = { key: 0 }, nt = { key: 0 }, ot = { key: 1 }, ut = { class: "tFeaturelncomes-option-box" }, st = { class: "tFeaturelncomes-out-box" }, rt = /* @__PURE__ */ ue(() => /* @__PURE__ */ y("span", null, "自定义: ", -1)), it = { key: 2 }, ct = { key: 3 }, dt = { key: 4 }, pt = { class: "dialog-footer" }, vt = {
1420
+ }, Xl = { class: "out-box" }, et = /* @__PURE__ */ ne(() => /* @__PURE__ */ f("span", null, "自定义: ", -1)), lt = { key: 0 }, tt = { key: 0 }, at = { key: 0 }, nt = { key: 1 }, ot = { class: "tFeaturelncomes-option-box" }, ut = { class: "tFeaturelncomes-out-box" }, st = /* @__PURE__ */ ne(() => /* @__PURE__ */ f("span", null, "自定义: ", -1)), rt = { key: 2 }, it = { key: 3 }, ct = { key: 4 }, dt = { class: "dialog-footer" }, pt = {
1421
1421
  __name: "index",
1422
- props: /* @__PURE__ */ ne({
1422
+ props: /* @__PURE__ */ te({
1423
1423
  config: { type: Object, default: () => {
1424
1424
  } },
1425
1425
  varietyMarket: { type: Number, default: () => null },
@@ -1431,31 +1431,31 @@ const ue = (c) => (fe("data-v-bdb03941"), c = c(), ye(), c), Bl = {
1431
1431
  dataModifiers: {}
1432
1432
  }),
1433
1433
  emits: ["update:data"],
1434
- setup(c) {
1435
- const x = oe(c, "data"), b = c, a = H(!1), k = B(() => {
1436
- var u;
1437
- return (u = b.data.find((e) => e.radioType === "1")) == null ? void 0 : u.key;
1438
- }), q = B(() => {
1439
- let u = [];
1440
- return b.varietyMarket === null && !b.commonOption.length ? u = b.config.options : (u = b.config.options, b.varietyMarket && (u = u.filter(({ parent: e }) => e.varietyMarketIds.includes(b.varietyMarket))), b.commonOption.length && (u = u.filter(({ parent: e }) => {
1441
- const { commonOptionIds: _ } = e;
1442
- return [.../* @__PURE__ */ new Set([..._, ...b.commonOption])].length !== [..._, ...b.commonOption].length;
1443
- }))), u;
1444
- }), s = H({}), t = H({}), U = (u) => {
1445
- s.value = u;
1446
- const e = {
1447
- key: u.key,
1448
- type: u.type,
1449
- label: u.label
1434
+ setup(p) {
1435
+ const V = ae(p, "data"), y = p, n = Q(!1), b = N(() => {
1436
+ var s;
1437
+ return (s = y.data.find((l) => l.radioType === "1")) == null ? void 0 : s.key;
1438
+ }), R = N(() => {
1439
+ let s = [];
1440
+ return y.varietyMarket === null && !y.commonOption.length ? s = y.config.options : (s = y.config.options, y.varietyMarket && (s = s.filter(({ parent: l }) => l.varietyMarketIds.includes(y.varietyMarket))), y.commonOption.length && (s = s.filter(({ parent: l }) => {
1441
+ const { commonOptionIds: k } = l;
1442
+ return [.../* @__PURE__ */ new Set([...k, ...y.commonOption])].length !== [...k, ...y.commonOption].length;
1443
+ }))), s;
1444
+ }), r = Q({}), t = Q({}), E = (s) => {
1445
+ r.value = s;
1446
+ const l = {
1447
+ key: s.key,
1448
+ type: s.type,
1449
+ label: s.label
1450
1450
  };
1451
- switch (u.key) {
1451
+ switch (s.key) {
1452
1452
  case "st": {
1453
- t.value = { ...e, st: null };
1453
+ t.value = { ...l, st: null };
1454
1454
  break;
1455
1455
  }
1456
1456
  case "tFeaturelncomes": {
1457
1457
  t.value = {
1458
- ...e,
1458
+ ...l,
1459
1459
  rule: 1,
1460
1460
  // 1超 2跌
1461
1461
  withFewYears: null,
@@ -1465,16 +1465,16 @@ const ue = (c) => (fe("data-v-bdb03941"), c = c(), ye(), c), Bl = {
1465
1465
  break;
1466
1466
  }
1467
1467
  case "priceLevels": {
1468
- t.value = { ...e, priceLevels: null };
1468
+ t.value = { ...l, priceLevels: null };
1469
1469
  break;
1470
1470
  }
1471
1471
  case "peTtmLevels": {
1472
- t.value = { ...e, peTtmLevels: null };
1472
+ t.value = { ...l, peTtmLevels: null };
1473
1473
  break;
1474
1474
  }
1475
1475
  case "optionsCpType": {
1476
1476
  t.value = {
1477
- ...e,
1477
+ ...l,
1478
1478
  optionsCpType: null
1479
1479
  // 1看涨 2看跌
1480
1480
  };
@@ -1482,80 +1482,80 @@ const ue = (c) => (fe("data-v-bdb03941"), c = c(), ye(), c), Bl = {
1482
1482
  }
1483
1483
  default:
1484
1484
  t.value = {
1485
- ...e,
1485
+ ...l,
1486
1486
  range: [null, null],
1487
- unit: u.defaultUnit.length ? [...u.defaultUnit] : [null, null],
1488
- radioType: k.value && k.value !== u.key ? "0" : u.defaultRadioType,
1487
+ unit: s.defaultUnit.length ? [...s.defaultUnit] : [null, null],
1488
+ radioType: b.value && b.value !== s.key ? "0" : s.defaultRadioType,
1489
1489
  // 0数值 1排名
1490
- rankRange: u.defaultRankRange || [null, null]
1490
+ rankRange: s.defaultRankRange || [null, null]
1491
1491
  // 默认排名
1492
1492
  };
1493
1493
  }
1494
- a.value = !0;
1495
- }, z = () => {
1494
+ n.value = !0;
1495
+ }, L = () => {
1496
1496
  switch (t.value.key) {
1497
1497
  case "st": {
1498
- const { label: e, st: _ } = t.value;
1499
- if (_ === null)
1500
- return K.warning("格式错误: 请至少选择一个值");
1501
- t.value.tagText = `${e}: ${_ ? "是" : "否"}`;
1498
+ const { label: l, st: k } = t.value;
1499
+ if (k === null)
1500
+ return A.warning("格式错误: 请至少选择一个值");
1501
+ t.value.tagText = `${l}: ${k ? "是" : "否"}`;
1502
1502
  break;
1503
1503
  }
1504
1504
  case "tFeaturelncomes": {
1505
- const { label: e, rule: _, withFewYears: I, yearsCount: V, netProfit: E } = t.value;
1506
- if (["", null].includes(I) || ["", null].includes(V) || ["", null].includes(E))
1507
- return K.warning("格式错误: 请填写完整");
1508
- t.value.tagText = `${e}: ${I}年内${V}年以上盈利${_ === 1 ? "超" : "跌"}过${E}亿`;
1505
+ const { label: l, rule: k, withFewYears: O, yearsCount: _, netProfit: $ } = t.value;
1506
+ if (["", null].includes(O) || ["", null].includes(_) || ["", null].includes($))
1507
+ return A.warning("格式错误: 请填写完整");
1508
+ t.value.tagText = `${l}: ${O}年内${_}年以上盈利${k === 1 ? "超" : "跌"}过${$}亿`;
1509
1509
  break;
1510
1510
  }
1511
1511
  case "priceLevels": {
1512
- const { label: e, priceLevels: _ } = t.value;
1513
- if (!_ || _.length === 0)
1514
- return K.warning("格式错误: 请至少选择一个值");
1515
- t.value.tagText = `${e}: 已选${_}分位`;
1512
+ const { label: l, priceLevels: k } = t.value;
1513
+ if (!k || k.length === 0)
1514
+ return A.warning("格式错误: 请至少选择一个值");
1515
+ t.value.tagText = `${l}: 已选${k}分位`;
1516
1516
  break;
1517
1517
  }
1518
1518
  case "peTtmLevels": {
1519
- const { label: e, peTtmLevels: _ } = t.value;
1520
- if (!_ || _.length === 0)
1521
- return K.warning("格式错误: 请至少选择一个值");
1522
- t.value.tagText = `${e}: 已选${_}分位`;
1519
+ const { label: l, peTtmLevels: k } = t.value;
1520
+ if (!k || k.length === 0)
1521
+ return A.warning("格式错误: 请至少选择一个值");
1522
+ t.value.tagText = `${l}: 已选${k}分位`;
1523
1523
  break;
1524
1524
  }
1525
1525
  case "optionsCpType": {
1526
- const { label: e, optionsCpType: _ } = t.value;
1527
- if (_ === null)
1528
- return K.warning("格式错误: 请至少选择一个值");
1529
- t.value.tagText = `${e}: ${_ === 1 ? "看涨" : "看跌"}`;
1526
+ const { label: l, optionsCpType: k } = t.value;
1527
+ if (k === null)
1528
+ return A.warning("格式错误: 请至少选择一个值");
1529
+ t.value.tagText = `${l}: ${k === 1 ? "看涨" : "看跌"}`;
1530
1530
  break;
1531
1531
  }
1532
1532
  default: {
1533
- const { label: e, unit: _, radioType: I } = t.value, V = I === "1" ? t.value.rankRange : t.value.range;
1534
- if (["", null].includes(V[0]) && ["", null].includes(V[1]))
1535
- return K.warning("格式错误: 请至少填写一个值");
1536
- if (I === "1") {
1537
- const g = Number(V[0]), C = Number(V[1]);
1538
- if (isNaN(g) || isNaN(C))
1539
- return K.warning("格式错误: 请填写数字");
1540
- if (g < 0 || C < 0)
1541
- return K.warning("格式错误: 请填写大于0的数字");
1542
- if (g > C)
1543
- return K.warning("格式错误: 请填写正确的排名范围");
1533
+ const { label: l, unit: k, radioType: O } = t.value, _ = O === "1" ? t.value.rankRange : t.value.range;
1534
+ if (["", null].includes(_[0]) && ["", null].includes(_[1]))
1535
+ return A.warning("格式错误: 请至少填写一个值");
1536
+ if (O === "1") {
1537
+ const I = Number(_[0]), S = Number(_[1]);
1538
+ if (isNaN(I) || isNaN(S))
1539
+ return A.warning("格式错误: 请填写数字");
1540
+ if (I < 0 || S < 0)
1541
+ return A.warning("格式错误: 请填写大于0的数字");
1542
+ if (I > S)
1543
+ return A.warning("格式错误: 请填写正确的排名范围");
1544
1544
  }
1545
- const E = I === "1" ? "" : _[0] ?? "", $ = I === "1" ? "" : _[1] ?? "";
1546
- !["", null].includes(V[0]) && !["", null].includes(V[1]) ? t.value.tagText = `${e}${I === "1" ? "排名" : ""}: ${V[0]}${E} ~ ${V[1]}${$}` : ["", null].includes(V[0]) ? t.value.tagText = `${e}${I === "1" ? "排名" : ""}: ≤${V[1]}${$}` : t.value.tagText = `${e}${I === "1" ? "排名" : ""}: ≥${V[0]}${E}`;
1545
+ const $ = O === "1" ? "" : k[0] ?? "", h = O === "1" ? "" : k[1] ?? "";
1546
+ !["", null].includes(_[0]) && !["", null].includes(_[1]) ? t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ${_[0]}${$} ~ ${_[1]}${h}` : ["", null].includes(_[0]) ? t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ≤${_[1]}${h}` : t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ≥${_[0]}${$}`;
1547
1547
  }
1548
1548
  }
1549
- const u = x.value.findIndex(({ key: e }) => e === t.value.key);
1550
- u === -1 ? x.value.push(t.value) : x.value.splice(u, 1, t.value), a.value = !1;
1551
- }, D = (u) => {
1552
- s.value = q.value.find(({ key: e }) => e === u.key), t.value = JSON.parse(JSON.stringify(u)), a.value = !0;
1553
- }, r = (u) => {
1554
- x.value.splice(u, 1);
1555
- }, d = (u) => {
1556
- t.value.range = [...u.range], t.value.unit = [...u.unit];
1557
- }, m = (u) => {
1558
- switch (u) {
1549
+ const s = V.value.findIndex(({ key: l }) => l === t.value.key);
1550
+ s === -1 ? V.value.push(t.value) : V.value.splice(s, 1, t.value), n.value = !1;
1551
+ }, M = (s) => {
1552
+ r.value = R.value.find(({ key: l }) => l === s.key), t.value = JSON.parse(JSON.stringify(s)), n.value = !0;
1553
+ }, i = (s) => {
1554
+ V.value.splice(s, 1);
1555
+ }, a = (s) => {
1556
+ t.value.range = [...s.range], t.value.unit = [...s.unit];
1557
+ }, C = (s) => {
1558
+ switch (s) {
1559
1559
  case "≤0":
1560
1560
  Object.assign(t.value, {
1561
1561
  rule: 2,
@@ -1599,106 +1599,106 @@ const ue = (c) => (fe("data-v-bdb03941"), c = c(), ye(), c), Bl = {
1599
1599
  break;
1600
1600
  }
1601
1601
  };
1602
- return te(
1603
- () => q.value,
1602
+ return ee(
1603
+ () => R.value,
1604
1604
  () => {
1605
- x.value.length && (x.value = x.value.filter(({ key: u }) => q.value.find((e) => e.key === u)));
1605
+ V.value.length && (V.value = V.value.filter(({ key: s }) => R.value.find((l) => l.key === s)));
1606
1606
  }
1607
- ), (u, e) => {
1608
- const _ = De, I = Cl, V = he, E = Ee, $ = qe, g = de, C = pe, R = _e, w = Re, h = ge;
1609
- return c.config.show && q.value.length ? (o(), f("div", Bl, [
1610
- y("div", Gl, [
1611
- Yl,
1612
- y("div", Jl, [
1613
- (o(!0), f(S, null, N(q.value, (l) => (o(), f("span", {
1614
- key: l.key,
1615
- onClick: (p) => U(l)
1616
- }, Q(l.label), 9, Al))), 128))
1607
+ ), (s, l) => {
1608
+ const k = Me, O = Tl, _ = _e, $ = Ue, h = Re, I = ce, S = de, g = ke, P = Ee, c = ye;
1609
+ return p.config.show && R.value.length ? (u(), m("div", Pl, [
1610
+ f("div", Bl, [
1611
+ Gl,
1612
+ f("div", Yl, [
1613
+ (u(!0), m(U, null, j(R.value, (e) => (u(), m("span", {
1614
+ key: e.key,
1615
+ onClick: (G) => E(e)
1616
+ }, J(e.label), 9, Jl))), 128))
1617
1617
  ])
1618
1618
  ]),
1619
- y("div", Kl, [
1620
- (o(!0), f(S, null, N(x.value, (l, p) => (o(), M(_, {
1619
+ f("div", Al, [
1620
+ (u(!0), m(U, null, j(V.value, (e, G) => (u(), q(k, {
1621
1621
  closable: "",
1622
1622
  type: "info",
1623
- onClose: (J) => r(p)
1623
+ onClose: (B) => i(G)
1624
1624
  }, {
1625
- default: i(() => [
1626
- y("span", null, Q(l.tagText), 1),
1627
- y("span", {
1625
+ default: d(() => [
1626
+ f("span", null, J(e.tagText), 1),
1627
+ f("span", {
1628
1628
  class: "edit",
1629
- onClick: (J) => D(l)
1630
- }, "编辑", 8, Ql)
1629
+ onClick: (B) => M(e)
1630
+ }, "编辑", 8, Kl)
1631
1631
  ]),
1632
1632
  _: 2
1633
1633
  }, 1032, ["onClose"]))), 256))
1634
1634
  ]),
1635
- n(h, {
1636
- modelValue: a.value,
1637
- "onUpdate:modelValue": e[19] || (e[19] = (l) => a.value = l),
1638
- title: s.value.label,
1635
+ o(c, {
1636
+ modelValue: n.value,
1637
+ "onUpdate:modelValue": l[19] || (l[19] = (e) => n.value = e),
1638
+ title: r.value.label,
1639
1639
  width: "600",
1640
1640
  "align-center": "",
1641
1641
  "destroy-on-close": ""
1642
- }, se({
1643
- footer: i(() => [
1644
- y("div", pt, [
1645
- n($, {
1642
+ }, ue({
1643
+ footer: d(() => [
1644
+ f("div", dt, [
1645
+ o(h, {
1646
1646
  type: "primary",
1647
- onClick: z
1647
+ onClick: L
1648
1648
  }, {
1649
- default: i(() => [
1650
- L("确定")
1649
+ default: d(() => [
1650
+ D("确定")
1651
1651
  ]),
1652
1652
  _: 1
1653
1653
  })
1654
1654
  ])
1655
1655
  ]),
1656
- default: i(() => [
1657
- s.value.type === void 0 && t.value.radioType === "1" ? (o(), f("div", Hl, [
1658
- Wl,
1659
- n(E, {
1656
+ default: d(() => [
1657
+ r.value.type === void 0 && t.value.radioType === "1" ? (u(), m("div", Zl, [
1658
+ Hl,
1659
+ o($, {
1660
1660
  modelValue: t.value.rankRange[0],
1661
- "onUpdate:modelValue": e[1] || (e[1] = (l) => t.value.rankRange[0] = l),
1661
+ "onUpdate:modelValue": l[1] || (l[1] = (e) => t.value.rankRange[0] = e),
1662
1662
  style: { flex: "1" }
1663
1663
  }, null, 8, ["modelValue"]),
1664
- L(" ~ "),
1665
- n(E, {
1664
+ D(" ~ "),
1665
+ o($, {
1666
1666
  modelValue: t.value.rankRange[1],
1667
- "onUpdate:modelValue": e[2] || (e[2] = (l) => t.value.rankRange[1] = l),
1667
+ "onUpdate:modelValue": l[2] || (l[2] = (e) => t.value.rankRange[1] = e),
1668
1668
  style: { flex: "1" }
1669
1669
  }, null, 8, ["modelValue"])
1670
- ])) : s.value.type === void 0 ? (o(), f(S, { key: 1 }, [
1671
- s.value.convenientOptions.length ? (o(), f("div", Xl, [
1672
- (o(!0), f(S, null, N(s.value.convenientOptions, (l) => (o(), M($, {
1673
- key: l.text,
1674
- onClick: (p) => d(l)
1670
+ ])) : r.value.type === void 0 ? (u(), m(U, { key: 1 }, [
1671
+ r.value.convenientOptions.length ? (u(), m("div", Wl, [
1672
+ (u(!0), m(U, null, j(r.value.convenientOptions, (e) => (u(), q(h, {
1673
+ key: e.text,
1674
+ onClick: (G) => a(e)
1675
1675
  }, {
1676
- default: i(() => [
1677
- L(Q(l.text), 1)
1676
+ default: d(() => [
1677
+ D(J(e.text), 1)
1678
1678
  ]),
1679
1679
  _: 2
1680
1680
  }, 1032, ["onClick"]))), 128))
1681
- ])) : P("", !0),
1682
- y("div", et, [
1683
- lt,
1684
- n(E, {
1681
+ ])) : z("", !0),
1682
+ f("div", Xl, [
1683
+ et,
1684
+ o($, {
1685
1685
  modelValue: t.value.range[0],
1686
- "onUpdate:modelValue": e[4] || (e[4] = (l) => t.value.range[0] = l),
1686
+ "onUpdate:modelValue": l[4] || (l[4] = (e) => t.value.range[0] = e),
1687
1687
  style: { flex: "1" }
1688
- }, se({ _: 2 }, [
1689
- s.value.unitOptions.length ? {
1688
+ }, ue({ _: 2 }, [
1689
+ r.value.unitOptions.length ? {
1690
1690
  name: "append",
1691
- fn: i(() => [
1692
- s.value.unitOptions.length === 1 ? (o(), f("span", tt, Q(t.value.unit[0]), 1)) : (o(), M(C, {
1691
+ fn: d(() => [
1692
+ r.value.unitOptions.length === 1 ? (u(), m("span", lt, J(t.value.unit[0]), 1)) : (u(), q(S, {
1693
1693
  key: 1,
1694
1694
  modelValue: t.value.unit[0],
1695
- "onUpdate:modelValue": e[3] || (e[3] = (l) => t.value.unit[0] = l),
1695
+ "onUpdate:modelValue": l[3] || (l[3] = (e) => t.value.unit[0] = e),
1696
1696
  style: { width: "72px" }
1697
1697
  }, {
1698
- default: i(() => [
1699
- (o(!0), f(S, null, N(s.value.unitOptions, (l) => (o(), M(g, {
1700
- label: l,
1701
- value: l
1698
+ default: d(() => [
1699
+ (u(!0), m(U, null, j(r.value.unitOptions, (e) => (u(), q(I, {
1700
+ label: e,
1701
+ value: e
1702
1702
  }, null, 8, ["label", "value"]))), 256))
1703
1703
  ]),
1704
1704
  _: 1
@@ -1707,25 +1707,25 @@ const ue = (c) => (fe("data-v-bdb03941"), c = c(), ye(), c), Bl = {
1707
1707
  key: "0"
1708
1708
  } : void 0
1709
1709
  ]), 1032, ["modelValue"]),
1710
- L(" ~ "),
1711
- n(E, {
1710
+ D(" ~ "),
1711
+ o($, {
1712
1712
  modelValue: t.value.range[1],
1713
- "onUpdate:modelValue": e[6] || (e[6] = (l) => t.value.range[1] = l),
1713
+ "onUpdate:modelValue": l[6] || (l[6] = (e) => t.value.range[1] = e),
1714
1714
  style: { flex: "1" }
1715
- }, se({ _: 2 }, [
1716
- s.value.unitOptions.length ? {
1715
+ }, ue({ _: 2 }, [
1716
+ r.value.unitOptions.length ? {
1717
1717
  name: "append",
1718
- fn: i(() => [
1719
- s.value.unitOptions.length === 1 ? (o(), f("span", at, Q(t.value.unit[1]), 1)) : (o(), M(C, {
1718
+ fn: d(() => [
1719
+ r.value.unitOptions.length === 1 ? (u(), m("span", tt, J(t.value.unit[1]), 1)) : (u(), q(S, {
1720
1720
  key: 1,
1721
1721
  modelValue: t.value.unit[1],
1722
- "onUpdate:modelValue": e[5] || (e[5] = (l) => t.value.unit[1] = l),
1722
+ "onUpdate:modelValue": l[5] || (l[5] = (e) => t.value.unit[1] = e),
1723
1723
  style: { width: "72px" }
1724
1724
  }, {
1725
- default: i(() => [
1726
- (o(!0), f(S, null, N(s.value.unitOptions, (l) => (o(), M(g, {
1727
- label: l,
1728
- value: l
1725
+ default: d(() => [
1726
+ (u(!0), m(U, null, j(r.value.unitOptions, (e) => (u(), q(I, {
1727
+ label: e,
1728
+ value: e
1729
1729
  }, null, 8, ["label", "value"]))), 256))
1730
1730
  ]),
1731
1731
  _: 1
@@ -1735,168 +1735,168 @@ const ue = (c) => (fe("data-v-bdb03941"), c = c(), ye(), c), Bl = {
1735
1735
  } : void 0
1736
1736
  ]), 1032, ["modelValue"])
1737
1737
  ])
1738
- ], 64)) : (o(), f(S, { key: 2 }, [
1739
- s.value.key === "st" ? (o(), f("div", nt, [
1740
- n(V, {
1738
+ ], 64)) : (u(), m(U, { key: 2 }, [
1739
+ r.value.key === "st" ? (u(), m("div", at, [
1740
+ o(_, {
1741
1741
  modelValue: t.value.st,
1742
- "onUpdate:modelValue": e[7] || (e[7] = (l) => t.value.st = l)
1742
+ "onUpdate:modelValue": l[7] || (l[7] = (e) => t.value.st = e)
1743
1743
  }, {
1744
- default: i(() => [
1745
- n(R, {
1744
+ default: d(() => [
1745
+ o(g, {
1746
1746
  label: "是",
1747
1747
  value: 1
1748
1748
  }),
1749
- n(R, {
1749
+ o(g, {
1750
1750
  label: "否",
1751
1751
  value: 0
1752
1752
  })
1753
1753
  ]),
1754
1754
  _: 1
1755
1755
  }, 8, ["modelValue"])
1756
- ])) : P("", !0),
1757
- s.value.key === "tFeaturelncomes" ? (o(), f("div", ot, [
1758
- y("div", ut, [
1759
- n($, {
1760
- onClick: e[8] || (e[8] = (l) => m("≤0"))
1756
+ ])) : z("", !0),
1757
+ r.value.key === "tFeaturelncomes" ? (u(), m("div", nt, [
1758
+ f("div", ot, [
1759
+ o(h, {
1760
+ onClick: l[8] || (l[8] = (e) => C("≤0"))
1761
1761
  }, {
1762
- default: i(() => [
1763
- L("≤0")
1762
+ default: d(() => [
1763
+ D("≤0")
1764
1764
  ]),
1765
1765
  _: 1
1766
1766
  }),
1767
- n($, {
1768
- onClick: e[9] || (e[9] = (l) => m("≥0"))
1767
+ o(h, {
1768
+ onClick: l[9] || (l[9] = (e) => C("≥0"))
1769
1769
  }, {
1770
- default: i(() => [
1771
- L("≥0")
1770
+ default: d(() => [
1771
+ D("≥0")
1772
1772
  ]),
1773
1773
  _: 1
1774
1774
  }),
1775
- n($, {
1776
- onClick: e[10] || (e[10] = (l) => m("五年内有四年以上盈利超过5千万"))
1775
+ o(h, {
1776
+ onClick: l[10] || (l[10] = (e) => C("五年内有四年以上盈利超过5千万"))
1777
1777
  }, {
1778
- default: i(() => [
1779
- L("五年内有四年以上盈利超过5千万")
1778
+ default: d(() => [
1779
+ D("五年内有四年以上盈利超过5千万")
1780
1780
  ]),
1781
1781
  _: 1
1782
1782
  }),
1783
- n($, {
1784
- onClick: e[11] || (e[11] = (l) => m("≥10亿"))
1783
+ o(h, {
1784
+ onClick: l[11] || (l[11] = (e) => C("≥10亿"))
1785
1785
  }, {
1786
- default: i(() => [
1787
- L("≥10亿")
1786
+ default: d(() => [
1787
+ D("≥10亿")
1788
1788
  ]),
1789
1789
  _: 1
1790
1790
  }),
1791
- n($, {
1792
- onClick: e[12] || (e[12] = (l) => m("≥20亿"))
1791
+ o(h, {
1792
+ onClick: l[12] || (l[12] = (e) => C("≥20亿"))
1793
1793
  }, {
1794
- default: i(() => [
1795
- L("≥20亿")
1794
+ default: d(() => [
1795
+ D("≥20亿")
1796
1796
  ]),
1797
1797
  _: 1
1798
1798
  })
1799
1799
  ]),
1800
- y("div", st, [
1801
- rt,
1802
- y("div", null, [
1803
- n(w, {
1800
+ f("div", ut, [
1801
+ st,
1802
+ f("div", null, [
1803
+ o(P, {
1804
1804
  modelValue: t.value.withFewYears,
1805
- "onUpdate:modelValue": e[13] || (e[13] = (l) => t.value.withFewYears = l),
1805
+ "onUpdate:modelValue": l[13] || (l[13] = (e) => t.value.withFewYears = e),
1806
1806
  "controls-position": "right"
1807
1807
  }, null, 8, ["modelValue"]),
1808
- L(" 年内 "),
1809
- n(w, {
1808
+ D(" 年内 "),
1809
+ o(P, {
1810
1810
  modelValue: t.value.yearsCount,
1811
- "onUpdate:modelValue": e[14] || (e[14] = (l) => t.value.yearsCount = l),
1811
+ "onUpdate:modelValue": l[14] || (l[14] = (e) => t.value.yearsCount = e),
1812
1812
  "controls-position": "right"
1813
1813
  }, null, 8, ["modelValue"]),
1814
- L(" 年以上盈利" + Q(t.value.rule === 1 ? "超" : "跌") + "过 ", 1),
1815
- n(w, {
1814
+ D(" 年以上盈利" + J(t.value.rule === 1 ? "超" : "跌") + "过 ", 1),
1815
+ o(P, {
1816
1816
  modelValue: t.value.netProfit,
1817
- "onUpdate:modelValue": e[15] || (e[15] = (l) => t.value.netProfit = l),
1817
+ "onUpdate:modelValue": l[15] || (l[15] = (e) => t.value.netProfit = e),
1818
1818
  "controls-position": "right"
1819
1819
  }, null, 8, ["modelValue"]),
1820
- L(" 亿 ")
1820
+ D(" 亿 ")
1821
1821
  ])
1822
1822
  ])
1823
- ])) : P("", !0),
1824
- s.value.key === "priceLevels" ? (o(), f("div", it, [
1825
- n(C, {
1823
+ ])) : z("", !0),
1824
+ r.value.key === "priceLevels" ? (u(), m("div", rt, [
1825
+ o(S, {
1826
1826
  modelValue: t.value.priceLevels,
1827
- "onUpdate:modelValue": e[16] || (e[16] = (l) => t.value.priceLevels = l),
1827
+ "onUpdate:modelValue": l[16] || (l[16] = (e) => t.value.priceLevels = e),
1828
1828
  multiple: "",
1829
1829
  clearable: "",
1830
1830
  placeholder: "请选择",
1831
1831
  style: { width: "420px" }
1832
1832
  }, {
1833
- default: i(() => [
1834
- (o(), f(S, null, N([1, 2, 3, 4, 5], (l) => n(g, {
1835
- key: l,
1836
- label: `${l}分位`,
1837
- value: l
1833
+ default: d(() => [
1834
+ (u(), m(U, null, j([1, 2, 3, 4, 5], (e) => o(I, {
1835
+ key: e,
1836
+ label: `${e}分位`,
1837
+ value: e
1838
1838
  }, null, 8, ["label", "value"])), 64))
1839
1839
  ]),
1840
1840
  _: 1
1841
1841
  }, 8, ["modelValue"])
1842
- ])) : P("", !0),
1843
- s.value.key === "peTtmLevels" ? (o(), f("div", ct, [
1844
- n(C, {
1842
+ ])) : z("", !0),
1843
+ r.value.key === "peTtmLevels" ? (u(), m("div", it, [
1844
+ o(S, {
1845
1845
  modelValue: t.value.peTtmLevels,
1846
- "onUpdate:modelValue": e[17] || (e[17] = (l) => t.value.peTtmLevels = l),
1846
+ "onUpdate:modelValue": l[17] || (l[17] = (e) => t.value.peTtmLevels = e),
1847
1847
  multiple: "",
1848
1848
  clearable: "",
1849
1849
  placeholder: "请选择",
1850
1850
  style: { width: "420px" }
1851
1851
  }, {
1852
- default: i(() => [
1853
- (o(), f(S, null, N([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (l) => n(g, {
1854
- key: l,
1855
- label: `${l}分位`,
1856
- value: l
1852
+ default: d(() => [
1853
+ (u(), m(U, null, j([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (e) => o(I, {
1854
+ key: e,
1855
+ label: `${e}分位`,
1856
+ value: e
1857
1857
  }, null, 8, ["label", "value"])), 64))
1858
1858
  ]),
1859
1859
  _: 1
1860
1860
  }, 8, ["modelValue"])
1861
- ])) : P("", !0),
1862
- s.value.key === "optionsCpType" ? (o(), f("div", dt, [
1863
- n(V, {
1861
+ ])) : z("", !0),
1862
+ r.value.key === "optionsCpType" ? (u(), m("div", ct, [
1863
+ o(_, {
1864
1864
  modelValue: t.value.optionsCpType,
1865
- "onUpdate:modelValue": e[18] || (e[18] = (l) => t.value.optionsCpType = l)
1865
+ "onUpdate:modelValue": l[18] || (l[18] = (e) => t.value.optionsCpType = e)
1866
1866
  }, {
1867
- default: i(() => [
1868
- n(R, {
1867
+ default: d(() => [
1868
+ o(g, {
1869
1869
  label: "看涨",
1870
1870
  value: 1
1871
1871
  }),
1872
- n(R, {
1872
+ o(g, {
1873
1873
  label: "看跌",
1874
1874
  value: 2
1875
1875
  })
1876
1876
  ]),
1877
1877
  _: 1
1878
1878
  }, 8, ["modelValue"])
1879
- ])) : P("", !0)
1879
+ ])) : z("", !0)
1880
1880
  ], 64))
1881
1881
  ]),
1882
1882
  _: 2
1883
1883
  }, [
1884
- s.value.showRankType ? {
1884
+ r.value.showRankType ? {
1885
1885
  name: "header",
1886
- fn: i(() => [
1887
- y("span", Zl, Q(s.value.label), 1),
1888
- n(V, {
1886
+ fn: d(() => [
1887
+ f("span", Ql, J(r.value.label), 1),
1888
+ o(_, {
1889
1889
  modelValue: t.value.radioType,
1890
- "onUpdate:modelValue": e[0] || (e[0] = (l) => t.value.radioType = l),
1890
+ "onUpdate:modelValue": l[0] || (l[0] = (e) => t.value.radioType = e),
1891
1891
  style: { "vertical-align": "4px", "margin-left": "12px" }
1892
1892
  }, {
1893
- default: i(() => [
1894
- n(I, {
1893
+ default: d(() => [
1894
+ o(O, {
1895
1895
  label: "数值",
1896
1896
  value: "0"
1897
1897
  }),
1898
- n(I, {
1899
- disabled: k.value && k.value !== s.value.key,
1898
+ o(O, {
1899
+ disabled: b.value && b.value !== r.value.key,
1900
1900
  label: "排名",
1901
1901
  value: "1"
1902
1902
  }, null, 8, ["disabled"])
@@ -1907,38 +1907,38 @@ const ue = (c) => (fe("data-v-bdb03941"), c = c(), ye(), c), Bl = {
1907
1907
  key: "0"
1908
1908
  } : void 0
1909
1909
  ]), 1032, ["modelValue", "title"])
1910
- ])) : P("", !0);
1910
+ ])) : z("", !0);
1911
1911
  };
1912
1912
  }
1913
- }, mt = /* @__PURE__ */ be(vt, [["__scopeId", "data-v-bdb03941"]]);
1914
- const X = (c) => (fe("data-v-6a2ba7cb"), c = c(), ye(), c), ft = { class: "variety-search" }, yt = {
1913
+ }, vt = /* @__PURE__ */ ge(pt, [["__scopeId", "data-v-bdb03941"]]);
1914
+ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "variety-search" }, ft = {
1915
1915
  key: 0,
1916
1916
  class: "variety-search-row"
1917
- }, gt = { class: "title" }, bt = /* @__PURE__ */ X(() => /* @__PURE__ */ y("span", null, "品种市场: ", -1)), kt = {
1917
+ }, yt = { class: "title" }, gt = /* @__PURE__ */ H(() => /* @__PURE__ */ f("span", null, "品种市场: ", -1)), bt = {
1918
1918
  key: 1,
1919
1919
  class: "variety-search-row"
1920
- }, _t = { class: "title" }, ht = /* @__PURE__ */ X(() => /* @__PURE__ */ y("span", null, "常用选项: ", -1)), Vt = {
1920
+ }, kt = { class: "title" }, _t = /* @__PURE__ */ H(() => /* @__PURE__ */ f("span", null, "常用选项: ", -1)), ht = {
1921
1921
  key: 2,
1922
1922
  class: "variety-search-row"
1923
- }, xt = { class: "title" }, Ot = /* @__PURE__ */ X(() => /* @__PURE__ */ y("span", null, "上市板块: ", -1)), It = {
1923
+ }, Vt = { class: "title" }, xt = /* @__PURE__ */ H(() => /* @__PURE__ */ f("span", null, "上市板块: ", -1)), Ot = {
1924
1924
  key: 3,
1925
1925
  class: "variety-search-row"
1926
- }, $t = { class: "title" }, wt = /* @__PURE__ */ X(() => /* @__PURE__ */ y("span", null, "自定标签: ", -1)), Tt = {
1926
+ }, It = { class: "title" }, $t = /* @__PURE__ */ H(() => /* @__PURE__ */ f("span", null, "自定标签: ", -1)), wt = {
1927
1927
  key: 4,
1928
1928
  class: "variety-search-row"
1929
- }, Ct = { class: "title" }, St = /* @__PURE__ */ X(() => /* @__PURE__ */ y("span", null, "价差转换: ", -1)), Ut = {
1929
+ }, Tt = { class: "title" }, Ct = /* @__PURE__ */ H(() => /* @__PURE__ */ f("span", null, "价差转换: ", -1)), St = {
1930
1930
  key: 5,
1931
1931
  class: "variety-search-row"
1932
- }, Et = { class: "title" }, Rt = /* @__PURE__ */ X(() => /* @__PURE__ */ y("span", null, "因子筛选: ", -1)), qt = {
1932
+ }, Ut = { class: "title" }, Et = /* @__PURE__ */ H(() => /* @__PURE__ */ f("span", null, "因子筛选: ", -1)), Rt = {
1933
1933
  __name: "index",
1934
- props: /* @__PURE__ */ ne({ config: { type: Object, default: {} } }, {
1934
+ props: /* @__PURE__ */ te({ config: { type: Object, default: {} } }, {
1935
1935
  searchData: {},
1936
1936
  searchDataModifiers: {}
1937
1937
  }),
1938
1938
  emits: ["update:searchData"],
1939
- setup(c, { expose: x }) {
1940
- const b = c, a = oe(c, "searchData");
1941
- a.value = Object.assign(a.value, {
1939
+ setup(p, { expose: V }) {
1940
+ const y = p, n = ae(p, "searchData");
1941
+ n.value = Object.assign(n.value, {
1942
1942
  // 品种市场
1943
1943
  varietyMarket: null,
1944
1944
  // 常用选项
@@ -1961,45 +1961,45 @@ const X = (c) => (fe("data-v-6a2ba7cb"), c = c(), ye(), c), ft = { class: "varie
1961
1961
  // 常用指标
1962
1962
  commonIndicator: []
1963
1963
  });
1964
- const k = B(() => {
1965
- const r = {};
1966
- return Object.keys($e).forEach((d) => {
1967
- const m = $e[d], u = b.config[d] ?? {}, e = { ...m, ...u };
1968
- r[d] = e;
1969
- }), r;
1970
- }), q = B(() => k.value.varietyMarket.options), s = B(() => {
1971
- const { varietyMarket: r } = a.value;
1972
- if (r) {
1973
- const d = q.value.find(({ value: m }) => m === r).memo;
1974
- return k.value.commonOption.options.filter(({ value: m }) => d.includes(m));
1964
+ const b = N(() => {
1965
+ const i = {};
1966
+ return Object.keys(Ie).forEach((a) => {
1967
+ const C = Ie[a], s = y.config[a] ?? {}, l = { ...C, ...s };
1968
+ i[a] = l;
1969
+ }), i;
1970
+ }), R = N(() => b.value.varietyMarket.options), r = N(() => {
1971
+ const { varietyMarket: i } = n.value;
1972
+ if (i) {
1973
+ const a = R.value.find(({ value: C }) => C === i).memo;
1974
+ return b.value.commonOption.options.filter(({ value: C }) => a.includes(C));
1975
1975
  } else
1976
- return k.value.commonOption.options;
1977
- }), t = B(() => {
1978
- const { varietyMarket: r } = a.value;
1979
- return r ? k.value.marketIds.options.filter((d) => d.varietyMarketIds.includes(r)) : k.value.marketIds.options;
1980
- }), U = B(() => k.value.customTag.options), z = B(() => k.value.jcTranslate.jcOptions), D = (r) => {
1981
- switch (r) {
1976
+ return b.value.commonOption.options;
1977
+ }), t = N(() => {
1978
+ const { varietyMarket: i } = n.value;
1979
+ return i ? b.value.marketIds.options.filter((a) => a.varietyMarketIds.includes(i)) : b.value.marketIds.options;
1980
+ }), E = N(() => b.value.customTag.options), L = N(() => b.value.jcTranslate.jcOptions), M = (i) => {
1981
+ switch (i) {
1982
1982
  case "commonOption": {
1983
- a.value[r] = [];
1983
+ n.value[i] = [];
1984
1984
  break;
1985
1985
  }
1986
1986
  case "marketIds": {
1987
- a.value[r] = [];
1987
+ n.value[i] = [];
1988
1988
  break;
1989
1989
  }
1990
1990
  case "customTag": {
1991
- a.value[r] = [];
1991
+ n.value[i] = [];
1992
1992
  break;
1993
1993
  }
1994
1994
  case "jcTranslate": {
1995
- a.value[r] = {
1995
+ n.value[i] = {
1996
1996
  type: null,
1997
1997
  jcList: []
1998
1998
  };
1999
1999
  break;
2000
2000
  }
2001
2001
  case "factorScreen": {
2002
- a.value[r] = {
2002
+ n.value[i] = {
2003
2003
  list: [],
2004
2004
  sqlEnable: 0,
2005
2005
  sqlValue: null
@@ -2007,195 +2007,194 @@ const X = (c) => (fe("data-v-6a2ba7cb"), c = c(), ye(), c), ft = { class: "varie
2007
2007
  break;
2008
2008
  }
2009
2009
  case "commonIndicator": {
2010
- a.value[r] = [];
2010
+ n.value[i] = [];
2011
2011
  break;
2012
2012
  }
2013
2013
  default: {
2014
- a.value[r] = null;
2014
+ n.value[i] = null;
2015
2015
  break;
2016
2016
  }
2017
2017
  }
2018
2018
  };
2019
- return te(
2020
- () => s.value,
2021
- (r) => {
2022
- var d;
2023
- (d = a.value.commonOption) != null && d.length && (a.value.commonOption = a.value.commonOption.filter((m) => r.find(({ value: u }) => u === m)));
2019
+ return ee(
2020
+ () => r.value,
2021
+ (i) => {
2022
+ var a;
2023
+ (a = n.value.commonOption) != null && a.length && (n.value.commonOption = n.value.commonOption.filter((C) => i.find(({ value: s }) => s === C)));
2024
2024
  }
2025
- ), te(
2025
+ ), ee(
2026
2026
  () => t.value,
2027
- (r) => {
2028
- var d;
2029
- (d = a.value.marketIds) != null && d.length && (a.value.marketIds = a.value.marketIds.filter((m) => r.find(({ value: u }) => u === m)));
2027
+ (i) => {
2028
+ var a;
2029
+ (a = n.value.marketIds) != null && a.length && (n.value.marketIds = n.value.marketIds.filter((C) => i.find(({ value: s }) => s === C)));
2030
2030
  }
2031
- ), x({
2031
+ ), V({
2032
2032
  // 生成接口传参结构的数据
2033
- formatData: (r) => {
2034
- var u, e, _, I, V, E;
2035
- console.log("%c[品种池搜索聚合组件]: 正在校验并生成接口传参...", "color: tomato");
2036
- let d = !0;
2037
- const m = {};
2038
- if (r.varietyMarket && (m.exchangeId = String(r.varietyMarket)), (u = r.commonOption) != null && u.length && (m.optionId = r.commonOption.join(",")), (e = r.marketIds) != null && e.length && (m.marketIds = r.marketIds), (_ = r.customTag) != null && _.length && (m.tagIds = r.customTag), (I = k.value.jcTranslate) != null && I.show) {
2039
- const { jcTranslate: $ } = r, { type: g, jcList: C } = $;
2040
- switch (g) {
2033
+ formatData: (i) => {
2034
+ var C, s, l, k, O, _;
2035
+ console.log("%c[品种池搜索聚合组件]: 正在生成接口传参...", "color: tomato");
2036
+ const a = {};
2037
+ if (i.varietyMarket && (a.exchangeId = String(i.varietyMarket)), (C = i.commonOption) != null && C.length && (a.optionId = i.commonOption.join(",")), (s = i.marketIds) != null && s.length && (a.marketIds = i.marketIds), (l = i.customTag) != null && l.length && (a.tagIds = i.customTag), (k = b.value.jcTranslate) != null && k.show) {
2038
+ const { jcTranslate: $ } = i, { type: h, jcList: I } = $;
2039
+ switch (h) {
2041
2040
  case 1: {
2042
- !C || C.length === 0 ? (K.warning("启用品种转价差功能时, 请至少选择一项价差品种"), d = !1) : (m.translateType = 1, m.jcType = C.join(","));
2041
+ a.translateType = 1, a.jcType = I.join(",");
2043
2042
  break;
2044
2043
  }
2045
2044
  case 2:
2046
- m.translateType = 2;
2045
+ a.translateType = 2;
2047
2046
  }
2048
2047
  }
2049
- if ((V = k.value.factorScreen) != null && V.show) {
2050
- const { factorScreen: $ } = r;
2051
- if ((E = $ == null ? void 0 : $.list) != null && E.length && (m.tbFeatureFactorScores = $.list.map((g) => {
2052
- switch (g.key) {
2048
+ if ((O = b.value.factorScreen) != null && O.show) {
2049
+ const { factorScreen: $ } = i;
2050
+ if ((_ = $ == null ? void 0 : $.list) != null && _.length && (a.tbFeatureFactorScores = $.list.map((h) => {
2051
+ switch (h.key) {
2053
2052
  case "compare":
2054
2053
  return {
2055
- freqId: g.cycle,
2056
- factorId: g.factor,
2057
- compareType: g.compareType,
2058
- freqId2: g.cycle2,
2059
- factorId2: g.factor2
2054
+ freqId: h.cycle,
2055
+ factorId: h.factor,
2056
+ compareType: h.compareType,
2057
+ freqId2: h.cycle2,
2058
+ factorId2: h.factor2
2060
2059
  };
2061
2060
  default:
2062
2061
  return {
2063
- freqId: g.cycle,
2064
- factorId: g.factor,
2065
- startScore: g.score[0],
2066
- endScore: g.score[1]
2062
+ freqId: h.cycle,
2063
+ factorId: h.factor,
2064
+ startScore: h.score[0],
2065
+ endScore: h.score[1]
2067
2066
  };
2068
2067
  }
2069
2068
  })), $.sqlEnable) {
2070
- const g = $.list.reduce((R, w, h) => {
2071
- var p, J;
2072
- const l = `条件${h + 1}`;
2073
- switch (w.key) {
2069
+ const h = $.list.reduce((S, g, P) => {
2070
+ var e, G;
2071
+ const c = `条件${P + 1}`;
2072
+ switch (g.key) {
2074
2073
  case "compare": {
2075
- let Y = "";
2076
- (p = k.value.factorScreen) != null && p.cycleShow ? Y = `freq_id = ${w.cycle} and factor_id = ${w.factor} ${w.compareType} freq_id = ${w.cycle2} and factor_id = ${w.factor2}` : Y = `factor_id = ${w.factor} ${w.compareType} factor_id = ${w.factor2}`, R.set(l, `(${Y})`);
2074
+ let B = "";
2075
+ (e = b.value.factorScreen) != null && e.cycleShow ? B = `freq_id = ${g.cycle} and factor_id = ${g.factor} ${g.compareType} freq_id = ${g.cycle2} and factor_id = ${g.factor2}` : B = `factor_id = ${g.factor} ${g.compareType} factor_id = ${g.factor2}`, S.set(c, `(${B})`);
2077
2076
  break;
2078
2077
  }
2079
2078
  default: {
2080
- let Y = `factor_id = ${w.factor} and `;
2081
- (J = k.value.factorScreen) != null && J.cycleShow && (Y = `freq_id = ${w.cycle} and factor_id = ${w.factor} and `), (w.score[0] || w.score[0] === 0) && (w.score[1] || w.score[1] === 0) ? Y += `score >= ${w.score[0]} and score <= ${w.score[1]}` : w.score[0] || w.score[0] === 0 ? Y += `score >= ${w.score[0]}` : (w.score[1] || w.score[1] === 0) && (Y += `score <= ${w.score[1]}`), R.set(l, `(${Y})`);
2079
+ let B = `factor_id = ${g.factor} and `;
2080
+ (G = b.value.factorScreen) != null && G.cycleShow && (B = `freq_id = ${g.cycle} and factor_id = ${g.factor} and `), (g.score[0] || g.score[0] === 0) && (g.score[1] || g.score[1] === 0) ? B += `score >= ${g.score[0]} and score <= ${g.score[1]}` : g.score[0] || g.score[0] === 0 ? B += `score >= ${g.score[0]}` : (g.score[1] || g.score[1] === 0) && (B += `score <= ${g.score[1]}`), S.set(c, `(${B})`);
2082
2081
  }
2083
2082
  }
2084
- return R;
2083
+ return S;
2085
2084
  }, /* @__PURE__ */ new Map([]));
2086
- let C = $.sqlValue;
2087
- for (const [R, w] of g) {
2088
- const h = new RegExp(R, "g");
2089
- C = C.replace(h, w);
2085
+ let I = $.sqlValue;
2086
+ for (const [S, g] of h) {
2087
+ const P = new RegExp(S, "g");
2088
+ I = I.replace(P, g);
2090
2089
  }
2091
- m.sql = C, m.sqlExpression = $.sqlValue;
2090
+ a.sql = I, a.sqlExpression = $.sqlValue;
2092
2091
  }
2093
- m.enableSql = $.sqlEnable === 1 ? 2 : 1;
2092
+ a.enableSql = $.sqlEnable === 1 ? 2 : 1;
2094
2093
  }
2095
2094
  {
2096
- const $ = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], g = r.commonIndicator.reduce((p, J) => {
2097
- const { key: Y, type: ee, range: T, unit: G, radioType: O, rankRange: F } = J;
2098
- if (O === "1")
2099
- m.sortBy = {
2100
- column: J.key,
2101
- start: F[0] || null,
2102
- end: F[1] || null
2095
+ const $ = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], h = i.commonIndicator.reduce((e, G) => {
2096
+ const { key: B, type: oe, range: W, unit: w, radioType: Y, rankRange: x } = G;
2097
+ if (Y === "1")
2098
+ a.sortBy = {
2099
+ column: G.key,
2100
+ start: x[0] || null,
2101
+ end: x[1] || null
2103
2102
  };
2104
- else if (Y === "dividendYield") {
2105
- let [j, A] = T;
2106
- ["", null].includes(j) || (j = j / 100), ["", null].includes(A) || (A = A / 100), p.push({
2107
- column: J.key,
2108
- start: j,
2109
- end: A
2103
+ else if (B === "dividendYield") {
2104
+ let [T, F] = W;
2105
+ ["", null].includes(T) || (T = T / 100), ["", null].includes(F) || (F = F / 100), e.push({
2106
+ column: G.key,
2107
+ start: T,
2108
+ end: F
2110
2109
  });
2111
- } else if (ee === void 0 && !$.includes(Y)) {
2112
- let [j, A] = T;
2113
- if (!["", null].includes(j))
2114
- switch (G[0]) {
2110
+ } else if (oe === void 0 && !$.includes(B)) {
2111
+ let [T, F] = W;
2112
+ if (!["", null].includes(T))
2113
+ switch (w[0]) {
2115
2114
  case "亿":
2116
- j = j * 1e8;
2115
+ T = T * 1e8;
2117
2116
  break;
2118
2117
  case "千万":
2119
- j = j * 1e7;
2118
+ T = T * 1e7;
2120
2119
  break;
2121
2120
  default:
2122
- j = j;
2121
+ T = T;
2123
2122
  break;
2124
2123
  }
2125
- if (!["", null].includes(A))
2126
- switch (G[1]) {
2124
+ if (!["", null].includes(F))
2125
+ switch (w[1]) {
2127
2126
  case "亿":
2128
- A = A * 1e8;
2127
+ F = F * 1e8;
2129
2128
  break;
2130
2129
  case "千万":
2131
- A = A * 1e7;
2130
+ F = F * 1e7;
2132
2131
  break;
2133
2132
  default:
2134
- A = A;
2133
+ F = F;
2135
2134
  break;
2136
2135
  }
2137
- p.push({
2138
- column: J.key,
2139
- start: j,
2140
- end: A
2136
+ e.push({
2137
+ column: G.key,
2138
+ start: T,
2139
+ end: F
2141
2140
  });
2142
2141
  }
2143
- return p;
2142
+ return e;
2144
2143
  }, []);
2145
- g.length && (m.query = g);
2146
- const C = r.commonIndicator.find(({ key: p }) => p === "st");
2147
- C && (m.st = C.st);
2148
- const R = r.commonIndicator.find(({ key: p }) => p === "tFeaturelncomes");
2149
- R && (m.netProfitQueryDto = { ...R, netProfit: R.netProfit * 1e8 });
2150
- const w = r.commonIndicator.find(({ key: p }) => p === "priceLevels");
2151
- w && (m.priceLevels = w.priceLevels);
2152
- const h = r.commonIndicator.find(({ key: p }) => p === "peTtmLevels");
2153
- h && (m.peTtmLevels = h.peTtmLevels);
2154
- const l = {};
2155
- r.commonIndicator.forEach((p) => {
2156
- const { key: J } = p;
2157
- switch (J) {
2144
+ h.length && (a.query = h);
2145
+ const I = i.commonIndicator.find(({ key: e }) => e === "st");
2146
+ I && (a.st = I.st);
2147
+ const S = i.commonIndicator.find(({ key: e }) => e === "tFeaturelncomes");
2148
+ S && (a.netProfitQueryDto = { ...S, netProfit: S.netProfit * 1e8 });
2149
+ const g = i.commonIndicator.find(({ key: e }) => e === "priceLevels");
2150
+ g && (a.priceLevels = g.priceLevels);
2151
+ const P = i.commonIndicator.find(({ key: e }) => e === "peTtmLevels");
2152
+ P && (a.peTtmLevels = P.peTtmLevels);
2153
+ const c = {};
2154
+ i.commonIndicator.forEach((e) => {
2155
+ const { key: G } = e;
2156
+ switch (G) {
2158
2157
  case "expireDays":
2159
- ["", null].includes(p.range[0]) || (l.minExpireDays = p.range[0]), ["", null].includes(p.range[1]) || (l.maxExpireDays = p.range[1]);
2158
+ ["", null].includes(e.range[0]) || (c.minExpireDays = e.range[0]), ["", null].includes(e.range[1]) || (c.maxExpireDays = e.range[1]);
2160
2159
  break;
2161
2160
  case "virtualRealDegree":
2162
- ["", null].includes(p.range[0]) || (l.minVirtualRealDegree = p.range[0] / 100), ["", null].includes(p.range[1]) || (l.maxVirtualRealDegree = p.range[1] / 100);
2161
+ ["", null].includes(e.range[0]) || (c.minVirtualRealDegree = e.range[0] / 100), ["", null].includes(e.range[1]) || (c.maxVirtualRealDegree = e.range[1] / 100);
2163
2162
  break;
2164
2163
  case "yearProfitRate":
2165
- ["", null].includes(p.range[0]) || (l.minYearProfitRate = p.range[0] / 100), ["", null].includes(p.range[1]) || (l.maxYearProfitRate = p.range[1] / 100);
2164
+ ["", null].includes(e.range[0]) || (c.minYearProfitRate = e.range[0] / 100), ["", null].includes(e.range[1]) || (c.maxYearProfitRate = e.range[1] / 100);
2166
2165
  break;
2167
2166
  case "impliedVolatility":
2168
- ["", null].includes(p.range[0]) || (l.minImpliedVolatility = p.range[0] / 100), ["", null].includes(p.range[1]) || (l.maxImpliedVolatility = p.range[1] / 100);
2167
+ ["", null].includes(e.range[0]) || (c.minImpliedVolatility = e.range[0] / 100), ["", null].includes(e.range[1]) || (c.maxImpliedVolatility = e.range[1] / 100);
2169
2168
  break;
2170
2169
  case "levelMultiplier":
2171
- ["", null].includes(p.range[0]) || (l.minLevelMultiplier = p.range[0]), ["", null].includes(p.range[1]) || (l.maxLevelMultiplier = p.range[1]);
2170
+ ["", null].includes(e.range[0]) || (c.minLevelMultiplier = e.range[0]), ["", null].includes(e.range[1]) || (c.maxLevelMultiplier = e.range[1]);
2172
2171
  break;
2173
2172
  case "turnover":
2174
- ["", null].includes(p.range[0]) || (l.minTurnover = p.range[0] * 1e4), ["", null].includes(p.range[1]) || (l.maxTurnover = p.range[1] * 1e4);
2173
+ ["", null].includes(e.range[0]) || (c.minTurnover = e.range[0] * 1e4), ["", null].includes(e.range[1]) || (c.maxTurnover = e.range[1] * 1e4);
2175
2174
  break;
2176
2175
  case "volume":
2177
- ["", null].includes(p.range[0]) || (l.minVolume = p.range[0]), ["", null].includes(p.range[1]) || (l.maxVolume = p.range[1]);
2176
+ ["", null].includes(e.range[0]) || (c.minVolume = e.range[0]), ["", null].includes(e.range[1]) || (c.maxVolume = e.range[1]);
2178
2177
  break;
2179
2178
  case "openInterest":
2180
- ["", null].includes(p.range[0]) || (l.minOpenInterest = p.range[0]), ["", null].includes(p.range[1]) || (l.maxOpenInterest = p.range[1]);
2179
+ ["", null].includes(e.range[0]) || (c.minOpenInterest = e.range[0]), ["", null].includes(e.range[1]) || (c.maxOpenInterest = e.range[1]);
2181
2180
  break;
2182
2181
  case "optionsCpType":
2183
- l.optionsCpType = p.optionsCpType;
2182
+ c.optionsCpType = e.optionsCpType;
2184
2183
  break;
2185
2184
  case "optionGear":
2186
- ["", null].includes(p.range[0]) || (l.minOptionGear = p.range[0]), ["", null].includes(p.range[1]) || (l.maxOptionGear = p.range[1]);
2185
+ ["", null].includes(e.range[0]) || (c.minOptionGear = e.range[0]), ["", null].includes(e.range[1]) || (c.maxOptionGear = e.range[1]);
2187
2186
  break;
2188
2187
  }
2189
- }), Object.keys(l).length && (m.searchOptionDto = {
2190
- ...m.searchOptionDto,
2191
- ...l
2188
+ }), Object.keys(c).length && (a.searchOptionDto = {
2189
+ ...a.searchOptionDto,
2190
+ ...c
2192
2191
  });
2193
2192
  }
2194
- return console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green", m), { validateFlag: d, params: m };
2193
+ return console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green", a), a;
2195
2194
  },
2196
2195
  // 重置函数
2197
2196
  reset: () => {
2198
- a.value = {
2197
+ n.value = {
2199
2198
  // 品种市场
2200
2199
  varietyMarket: null,
2201
2200
  // 常用选项
@@ -2219,129 +2218,129 @@ const X = (c) => (fe("data-v-6a2ba7cb"), c = c(), ye(), c), ft = { class: "varie
2219
2218
  commonIndicator: []
2220
2219
  };
2221
2220
  }
2222
- }), (r, d) => {
2223
- var E, $, g, C, R, w;
2224
- const m = _e, u = he, e = el, _ = ll, I = de, V = pe;
2225
- return o(), f("div", ft, [
2226
- (E = k.value.varietyMarket) != null && E.show ? (o(), f("div", yt, [
2227
- y("div", gt, [
2228
- bt,
2229
- y("span", {
2230
- onClick: d[0] || (d[0] = (h) => D("varietyMarket"))
2221
+ }), (i, a) => {
2222
+ var $, h, I, S, g, P;
2223
+ const C = ke, s = _e, l = Xe, k = el, O = ce, _ = de;
2224
+ return u(), m("div", mt, [
2225
+ ($ = b.value.varietyMarket) != null && $.show ? (u(), m("div", ft, [
2226
+ f("div", yt, [
2227
+ gt,
2228
+ f("span", {
2229
+ onClick: a[0] || (a[0] = (c) => M("varietyMarket"))
2231
2230
  }, "不限")
2232
2231
  ]),
2233
- n(u, {
2234
- modelValue: a.value.varietyMarket,
2235
- "onUpdate:modelValue": d[1] || (d[1] = (h) => a.value.varietyMarket = h),
2232
+ o(s, {
2233
+ modelValue: n.value.varietyMarket,
2234
+ "onUpdate:modelValue": a[1] || (a[1] = (c) => n.value.varietyMarket = c),
2236
2235
  size: "small"
2237
2236
  }, {
2238
- default: i(() => [
2239
- (o(!0), f(S, null, N(q.value, ({ label: h, value: l }) => (o(), M(m, {
2240
- label: h,
2241
- value: l,
2242
- key: l
2237
+ default: d(() => [
2238
+ (u(!0), m(U, null, j(R.value, ({ label: c, value: e }) => (u(), q(C, {
2239
+ label: c,
2240
+ value: e,
2241
+ key: e
2243
2242
  }, null, 8, ["label", "value"]))), 128))
2244
2243
  ]),
2245
2244
  _: 1
2246
2245
  }, 8, ["modelValue"])
2247
- ])) : P("", !0),
2248
- ($ = k.value.commonOption) != null && $.show && s.value.length ? (o(), f("div", kt, [
2249
- y("div", _t, [
2250
- ht,
2251
- y("span", {
2252
- onClick: d[2] || (d[2] = (h) => D("commonOption"))
2246
+ ])) : z("", !0),
2247
+ (h = b.value.commonOption) != null && h.show && r.value.length ? (u(), m("div", bt, [
2248
+ f("div", kt, [
2249
+ _t,
2250
+ f("span", {
2251
+ onClick: a[2] || (a[2] = (c) => M("commonOption"))
2253
2252
  }, "不限")
2254
2253
  ]),
2255
- n(_, {
2256
- modelValue: a.value.commonOption,
2257
- "onUpdate:modelValue": d[3] || (d[3] = (h) => a.value.commonOption = h),
2254
+ o(k, {
2255
+ modelValue: n.value.commonOption,
2256
+ "onUpdate:modelValue": a[3] || (a[3] = (c) => n.value.commonOption = c),
2258
2257
  size: "small"
2259
2258
  }, {
2260
- default: i(() => [
2261
- (o(!0), f(S, null, N(s.value, ({ label: h, value: l }) => (o(), M(e, {
2262
- label: h,
2263
- value: l,
2264
- key: l
2259
+ default: d(() => [
2260
+ (u(!0), m(U, null, j(r.value, ({ label: c, value: e }) => (u(), q(l, {
2261
+ label: c,
2262
+ value: e,
2263
+ key: e
2265
2264
  }, null, 8, ["label", "value"]))), 128))
2266
2265
  ]),
2267
2266
  _: 1
2268
2267
  }, 8, ["modelValue"])
2269
- ])) : P("", !0),
2270
- (g = k.value.marketIds) != null && g.show && t.value.length ? (o(), f("div", Vt, [
2271
- y("div", xt, [
2272
- Ot,
2273
- y("span", {
2274
- onClick: d[4] || (d[4] = (h) => D("marketIds"))
2268
+ ])) : z("", !0),
2269
+ (I = b.value.marketIds) != null && I.show && t.value.length ? (u(), m("div", ht, [
2270
+ f("div", Vt, [
2271
+ xt,
2272
+ f("span", {
2273
+ onClick: a[4] || (a[4] = (c) => M("marketIds"))
2275
2274
  }, "不限")
2276
2275
  ]),
2277
- n(_, {
2278
- modelValue: a.value.marketIds,
2279
- "onUpdate:modelValue": d[5] || (d[5] = (h) => a.value.marketIds = h),
2276
+ o(k, {
2277
+ modelValue: n.value.marketIds,
2278
+ "onUpdate:modelValue": a[5] || (a[5] = (c) => n.value.marketIds = c),
2280
2279
  size: "small"
2281
2280
  }, {
2282
- default: i(() => [
2283
- (o(!0), f(S, null, N(t.value, ({ label: h, value: l }) => (o(), M(e, {
2284
- label: h,
2285
- value: l,
2286
- key: l
2281
+ default: d(() => [
2282
+ (u(!0), m(U, null, j(t.value, ({ label: c, value: e }) => (u(), q(l, {
2283
+ label: c,
2284
+ value: e,
2285
+ key: e
2287
2286
  }, null, 8, ["label", "value"]))), 128))
2288
2287
  ]),
2289
2288
  _: 1
2290
2289
  }, 8, ["modelValue"])
2291
- ])) : P("", !0),
2292
- (C = k.value.customTag) != null && C.show && U.value.length ? (o(), f("div", It, [
2293
- y("div", $t, [
2294
- wt,
2295
- y("span", {
2296
- onClick: d[6] || (d[6] = (h) => D("customTag"))
2290
+ ])) : z("", !0),
2291
+ (S = b.value.customTag) != null && S.show && E.value.length ? (u(), m("div", Ot, [
2292
+ f("div", It, [
2293
+ $t,
2294
+ f("span", {
2295
+ onClick: a[6] || (a[6] = (c) => M("customTag"))
2297
2296
  }, "不限")
2298
2297
  ]),
2299
- n(_, {
2300
- modelValue: a.value.customTag,
2301
- "onUpdate:modelValue": d[7] || (d[7] = (h) => a.value.customTag = h),
2298
+ o(k, {
2299
+ modelValue: n.value.customTag,
2300
+ "onUpdate:modelValue": a[7] || (a[7] = (c) => n.value.customTag = c),
2302
2301
  size: "small"
2303
2302
  }, {
2304
- default: i(() => [
2305
- (o(!0), f(S, null, N(U.value, ({ label: h, value: l }) => (o(), M(e, {
2306
- label: h,
2307
- value: l,
2308
- key: l
2303
+ default: d(() => [
2304
+ (u(!0), m(U, null, j(E.value, ({ label: c, value: e }) => (u(), q(l, {
2305
+ label: c,
2306
+ value: e,
2307
+ key: e
2309
2308
  }, null, 8, ["label", "value"]))), 128))
2310
2309
  ]),
2311
2310
  _: 1
2312
2311
  }, 8, ["modelValue"])
2313
- ])) : P("", !0),
2314
- (R = k.value.jcTranslate) != null && R.show ? (o(), f("div", Tt, [
2315
- y("div", Ct, [
2316
- St,
2317
- y("span", {
2318
- onClick: d[8] || (d[8] = (h) => D("jcTranslate"))
2312
+ ])) : z("", !0),
2313
+ (g = b.value.jcTranslate) != null && g.show ? (u(), m("div", wt, [
2314
+ f("div", Tt, [
2315
+ Ct,
2316
+ f("span", {
2317
+ onClick: a[8] || (a[8] = (c) => M("jcTranslate"))
2319
2318
  }, "不限")
2320
2319
  ]),
2321
- n(u, {
2322
- modelValue: a.value.jcTranslate.type,
2323
- "onUpdate:modelValue": d[9] || (d[9] = (h) => a.value.jcTranslate.type = h),
2320
+ o(s, {
2321
+ modelValue: n.value.jcTranslate.type,
2322
+ "onUpdate:modelValue": a[9] || (a[9] = (c) => n.value.jcTranslate.type = c),
2324
2323
  size: "small"
2325
2324
  }, {
2326
- default: i(() => [
2327
- n(m, { value: 2 }, {
2328
- default: i(() => [
2329
- L("价差转品种")
2325
+ default: d(() => [
2326
+ o(C, { value: 2 }, {
2327
+ default: d(() => [
2328
+ D("价差转品种")
2330
2329
  ]),
2331
2330
  _: 1
2332
2331
  }),
2333
- n(m, { value: 1 }, {
2334
- default: i(() => [
2335
- L("品种转价差")
2332
+ o(C, { value: 1 }, {
2333
+ default: d(() => [
2334
+ D("品种转价差")
2336
2335
  ]),
2337
2336
  _: 1
2338
2337
  })
2339
2338
  ]),
2340
2339
  _: 1
2341
2340
  }, 8, ["modelValue"]),
2342
- ve(n(V, {
2343
- modelValue: a.value.jcTranslate.jcList,
2344
- "onUpdate:modelValue": d[10] || (d[10] = (h) => a.value.jcTranslate.jcList = h),
2341
+ pe(o(_, {
2342
+ modelValue: n.value.jcTranslate.jcList,
2343
+ "onUpdate:modelValue": a[10] || (a[10] = (c) => n.value.jcTranslate.jcList = c),
2345
2344
  size: "small",
2346
2345
  multiple: "",
2347
2346
  "collapse-tags": "",
@@ -2349,46 +2348,46 @@ const X = (c) => (fe("data-v-6a2ba7cb"), c = c(), ye(), c), ft = { class: "varie
2349
2348
  placeholder: "请选择价差品种",
2350
2349
  style: { width: "140px" }
2351
2350
  }, {
2352
- default: i(() => [
2353
- (o(!0), f(S, null, N(z.value, (h) => (o(), M(I, {
2354
- key: h.value,
2355
- label: h.label,
2356
- value: h.value
2351
+ default: d(() => [
2352
+ (u(!0), m(U, null, j(L.value, (c) => (u(), q(O, {
2353
+ key: c.value,
2354
+ label: c.label,
2355
+ value: c.value
2357
2356
  }, null, 8, ["label", "value"]))), 128))
2358
2357
  ]),
2359
2358
  _: 1
2360
2359
  }, 8, ["modelValue"]), [
2361
- [rl, a.value.jcTranslate.type === 1]
2360
+ [sl, n.value.jcTranslate.type === 1]
2362
2361
  ])
2363
- ])) : P("", !0),
2364
- (w = k.value.factorScreen) != null && w.show ? (o(), f("div", Ut, [
2365
- y("div", Et, [
2366
- Rt,
2367
- y("span", {
2368
- onClick: d[11] || (d[11] = (h) => D("factorScreen"))
2362
+ ])) : z("", !0),
2363
+ (P = b.value.factorScreen) != null && P.show ? (u(), m("div", St, [
2364
+ f("div", Ut, [
2365
+ Et,
2366
+ f("span", {
2367
+ onClick: a[11] || (a[11] = (c) => M("factorScreen"))
2369
2368
  }, "不限")
2370
2369
  ]),
2371
- n(Pl, {
2372
- data: a.value.factorScreen,
2373
- "onUpdate:data": d[12] || (d[12] = (h) => a.value.factorScreen = h),
2374
- config: k.value.factorScreen
2370
+ o(Nl, {
2371
+ data: n.value.factorScreen,
2372
+ "onUpdate:data": a[12] || (a[12] = (c) => n.value.factorScreen = c),
2373
+ config: b.value.factorScreen
2375
2374
  }, null, 8, ["data", "config"])
2376
- ])) : P("", !0),
2377
- n(mt, {
2378
- data: a.value.commonIndicator,
2379
- "onUpdate:data": d[13] || (d[13] = (h) => a.value.commonIndicator = h),
2380
- varietyMarket: a.value.varietyMarket,
2381
- commonOption: a.value.commonOption,
2382
- config: k.value.commonIndicator
2375
+ ])) : z("", !0),
2376
+ o(vt, {
2377
+ data: n.value.commonIndicator,
2378
+ "onUpdate:data": a[13] || (a[13] = (c) => n.value.commonIndicator = c),
2379
+ varietyMarket: n.value.varietyMarket,
2380
+ commonOption: n.value.commonOption,
2381
+ config: b.value.commonIndicator
2383
2382
  }, null, 8, ["data", "varietyMarket", "commonOption", "config"])
2384
2383
  ]);
2385
2384
  };
2386
2385
  }
2387
- }, Mt = /* @__PURE__ */ be(qt, [["__scopeId", "data-v-6a2ba7cb"]]), da = {
2388
- install(c) {
2389
- c.component("st-varietySearch", Mt);
2386
+ }, qt = /* @__PURE__ */ ge(Rt, [["__scopeId", "data-v-c41b2140"]]), ca = {
2387
+ install(p) {
2388
+ p.component("st-varietySearch", qt);
2390
2389
  }
2391
2390
  };
2392
2391
  export {
2393
- da as default
2392
+ ca as default
2394
2393
  };