st-comp 0.0.103 → 0.0.105

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,21 +1,21 @@
1
- import { b as ce, d as ne, u as Se, m as K, o as ke, _ as de, w as Me, y as he, q as Ee, c as Qe, i as xe, z as re, A as Je, l as We, n as Oe, B as Ze } from "./base-a3fcf99a.js";
2
- import { b as Ke, c as Ue, e as pe, a as me, d as Xe } from "./el-radio-group-12b07ac2.js";
3
- import { b as et, c as tt, E as nt, a as lt } from "./el-table-column-661deade.js";
4
- import { defineComponent as W, computed as z, openBlock as u, createElementBlock as k, normalizeClass as H, unref as O, renderSlot as le, createVNode as p, Transition as qe, withCtx as g, withDirectives as De, createElementVNode as _, normalizeStyle as ve, createTextVNode as L, toDisplayString as B, vShow as Le, ref as j, useAttrs as ot, onMounted as Fe, onUpdated as at, createBlock as E, resolveDynamicComponent as Ne, shallowReactive as st, watch as oe, createCommentVNode as q, Fragment as D, withModifiers as it, isVNode as ze, render as Ie, mergeModels as ae, useModel as se, renderList as R, pushScopeId as fe, popScopeId as ge, createSlots as $e } from "vue";
5
- import { E as ye } from "./el-overlay-851ea246.js";
1
+ import { b as de, d as le, u as Se, m as K, o as he, _ as pe, w as Me, y as xe, q as Ue, c as Qe, i as Oe, z as ue, A as Je, l as We, n as Ie, B as Ze } from "./base-a3fcf99a.js";
2
+ import { b as Ke, c as Ee, e as fe, a as me, d as Xe } from "./el-radio-group-12b07ac2.js";
3
+ import { b as et, c as tt, E as lt, a as nt } from "./el-table-column-661deade.js";
4
+ import { defineComponent as Z, computed as j, openBlock as s, createElementBlock as k, normalizeClass as Q, unref as I, renderSlot as ne, createVNode as u, Transition as qe, withCtx as f, withDirectives as De, createElementVNode as x, normalizeStyle as ve, createTextVNode as z, toDisplayString as A, vShow as Le, ref as Y, useAttrs as at, onMounted as Fe, onUpdated as ot, createBlock as C, resolveDynamicComponent as ze, shallowReactive as st, watch as ae, createCommentVNode as q, Fragment as T, withModifiers as rt, isVNode as Ne, render as Ve, mergeModels as oe, useModel as se, renderList as F, pushScopeId as ge, popScopeId as ye, createSlots as $e } from "vue";
5
+ import { E as be } from "./el-overlay-851ea246.js";
6
6
  import { E as Re } from "./el-input-35c8ebc3.js";
7
7
  import "./el-tag-7601f7e6.js";
8
8
  import { b as Pe, E as Be, a as je } from "./el-select-d1a33fbe.js";
9
- import { a as rt, u as ut } from "./el-scrollbar-c23060d5.js";
9
+ import { a as it, u as ut } from "./el-scrollbar-c23060d5.js";
10
10
  import { E as ct } from "./el-popper-e052fb84.js";
11
11
  import "./el-tooltip-4ed993c7.js";
12
12
  import { E as Ae } from "./el-button-fe99fee6.js";
13
- import { c as dt, j as pt, i as mt, T as Ce, E as ue, l as vt, p as Ve, n as ft, o as gt } from "./use-form-common-props-d0739feb.js";
14
- import { _ as be } from "./_plugin-vue_export-helper-dad06003.js";
13
+ import { c as dt, j as pt, i as ft, T as we, E as ce, l as mt, p as ie, n as vt, o as gt } from "./use-form-common-props-d0739feb.js";
14
+ import { _ as ke } from "./_plugin-vue_export-helper-dad06003.js";
15
15
  import { m as yt } from "./typescript-7ae59c4c.js";
16
16
  import { a as bt } from "./index-28cd5fde.js";
17
- import { E as _t } from "./index-af687c16.js";
18
- import { m as Y } from "./config-provider-e4ebacca.js";
17
+ import { E as kt } from "./index-af687c16.js";
18
+ import { m as G } from "./config-provider-e4ebacca.js";
19
19
  import "./event-09e37cc8.js";
20
20
  import "./castArray-0e8e51f9.js";
21
21
  import "./debounce-7f3a3471.js";
@@ -25,7 +25,7 @@ import "./refs-f0ee592c.js";
25
25
  import "./scroll-1e0c8fab.js";
26
26
  import "./index-b4bbc58d.js";
27
27
  import "./index-657047bb.js";
28
- const kt = ce({
28
+ const _t = de({
29
29
  value: {
30
30
  type: [String, Number],
31
31
  default: ""
@@ -47,59 +47,59 @@ const kt = ce({
47
47
  },
48
48
  color: String,
49
49
  badgeStyle: {
50
- type: ne([String, Object, Array])
50
+ type: le([String, Object, Array])
51
51
  },
52
52
  offset: {
53
- type: ne(Array),
53
+ type: le(Array),
54
54
  default: [0, 0]
55
55
  },
56
56
  badgeClass: {
57
57
  type: String
58
58
  }
59
- }), ht = W({
59
+ }), ht = Z({
60
60
  name: "ElBadge"
61
- }), xt = /* @__PURE__ */ W({
61
+ }), xt = /* @__PURE__ */ Z({
62
62
  ...ht,
63
- props: kt,
64
- setup(s, { expose: c }) {
65
- const n = s, a = Se("badge"), i = z(() => n.isDot ? "" : K(n.value) && K(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`), x = z(() => {
66
- var t, w, S, U, f;
63
+ props: _t,
64
+ setup(r, { expose: c }) {
65
+ const n = r, i = Se("badge"), d = j(() => n.isDot ? "" : K(n.value) && K(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`), O = j(() => {
66
+ var e, E, D, L, v;
67
67
  return [
68
68
  {
69
69
  backgroundColor: n.color,
70
- marginRight: ke(-((w = (t = n.offset) == null ? void 0 : t[0]) != null ? w : 0)),
71
- marginTop: ke((U = (S = n.offset) == null ? void 0 : S[1]) != null ? U : 0)
70
+ marginRight: he(-((E = (e = n.offset) == null ? void 0 : e[0]) != null ? E : 0)),
71
+ marginTop: he((L = (D = n.offset) == null ? void 0 : D[1]) != null ? L : 0)
72
72
  },
73
- (f = n.badgeStyle) != null ? f : {}
73
+ (v = n.badgeStyle) != null ? v : {}
74
74
  ];
75
75
  });
76
76
  return c({
77
- content: i
78
- }), (t, w) => (u(), k("div", {
79
- class: H(O(a).b())
77
+ content: d
78
+ }), (e, E) => (s(), k("div", {
79
+ class: Q(I(i).b())
80
80
  }, [
81
- le(t.$slots, "default"),
82
- p(qe, {
83
- name: `${O(a).namespace.value}-zoom-in-center`,
81
+ ne(e.$slots, "default"),
82
+ u(qe, {
83
+ name: `${I(i).namespace.value}-zoom-in-center`,
84
84
  persisted: ""
85
85
  }, {
86
- default: g(() => [
87
- De(_("sup", {
88
- class: H([
89
- O(a).e("content"),
90
- O(a).em("content", t.type),
91
- O(a).is("fixed", !!t.$slots.default),
92
- O(a).is("dot", t.isDot),
93
- O(a).is("hide-zero", !t.showZero && n.value === 0),
94
- t.badgeClass
86
+ default: f(() => [
87
+ De(x("sup", {
88
+ class: Q([
89
+ I(i).e("content"),
90
+ I(i).em("content", e.type),
91
+ I(i).is("fixed", !!e.$slots.default),
92
+ I(i).is("dot", e.isDot),
93
+ I(i).is("hide-zero", !e.showZero && n.value === 0),
94
+ e.badgeClass
95
95
  ]),
96
- style: ve(O(x))
96
+ style: ve(I(O))
97
97
  }, [
98
- le(t.$slots, "content", { value: O(i) }, () => [
99
- L(B(O(i)), 1)
98
+ ne(e.$slots, "content", { value: I(d) }, () => [
99
+ z(A(I(d)), 1)
100
100
  ])
101
101
  ], 6), [
102
- [Le, !t.hidden && (O(i) || t.isDot || t.$slots.content)]
102
+ [Le, !e.hidden && (I(d) || e.isDot || e.$slots.content)]
103
103
  ])
104
104
  ]),
105
105
  _: 3
@@ -107,8 +107,8 @@ const kt = ce({
107
107
  ], 2));
108
108
  }
109
109
  });
110
- var Ot = /* @__PURE__ */ de(xt, [["__file", "badge.vue"]]);
111
- const It = Me(Ot), $t = ce({
110
+ var Ot = /* @__PURE__ */ pe(xt, [["__file", "badge.vue"]]);
111
+ const It = Me(Ot), Vt = de({
112
112
  type: {
113
113
  type: String,
114
114
  values: ["primary", "success", "info", "warning", "danger", ""],
@@ -127,48 +127,48 @@ const It = Me(Ot), $t = ce({
127
127
  type: String,
128
128
  default: "span"
129
129
  }
130
- }), Ct = W({
130
+ }), $t = Z({
131
131
  name: "ElText"
132
- }), Vt = /* @__PURE__ */ W({
133
- ...Ct,
134
- props: $t,
135
- setup(s) {
136
- const c = s, n = j(), a = pt(), i = Se("text"), x = z(() => [
137
- i.b(),
138
- i.m(c.type),
139
- i.m(a.value),
140
- i.is("truncated", c.truncated),
141
- i.is("line-clamp", !he(c.lineClamp))
142
- ]), t = ot().title, w = () => {
143
- var S, U, f, r, C;
144
- if (t)
132
+ }), wt = /* @__PURE__ */ Z({
133
+ ...$t,
134
+ props: Vt,
135
+ setup(r) {
136
+ const c = r, n = Y(), i = pt(), d = Se("text"), O = j(() => [
137
+ d.b(),
138
+ d.m(c.type),
139
+ d.m(i.value),
140
+ d.is("truncated", c.truncated),
141
+ d.is("line-clamp", !xe(c.lineClamp))
142
+ ]), e = at().title, E = () => {
143
+ var D, L, v, p, S;
144
+ if (e)
145
145
  return;
146
- let v = !1;
147
- const l = ((S = n.value) == null ? void 0 : S.textContent) || "";
146
+ let g = !1;
147
+ const l = ((D = n.value) == null ? void 0 : D.textContent) || "";
148
148
  if (c.truncated) {
149
- const o = (U = n.value) == null ? void 0 : U.offsetWidth, y = (f = n.value) == null ? void 0 : f.scrollWidth;
150
- o && y && y > o && (v = !0);
151
- } else if (!he(c.lineClamp)) {
152
- const o = (r = n.value) == null ? void 0 : r.offsetHeight, y = (C = n.value) == null ? void 0 : C.scrollHeight;
153
- o && y && y > o && (v = !0);
149
+ const o = (L = n.value) == null ? void 0 : L.offsetWidth, _ = (v = n.value) == null ? void 0 : v.scrollWidth;
150
+ o && _ && _ > o && (g = !0);
151
+ } else if (!xe(c.lineClamp)) {
152
+ const o = (p = n.value) == null ? void 0 : p.offsetHeight, _ = (S = n.value) == null ? void 0 : S.scrollHeight;
153
+ o && _ && _ > o && (g = !0);
154
154
  }
155
- v ? n.value.setAttribute("title", l) : n.value.removeAttribute("title");
155
+ g ? n.value.setAttribute("title", l) : n.value.removeAttribute("title");
156
156
  };
157
- return Fe(w), at(w), (S, U) => (u(), E(Ne(S.tag), {
157
+ return Fe(E), ot(E), (D, L) => (s(), C(ze(D.tag), {
158
158
  ref_key: "textRef",
159
159
  ref: n,
160
- class: H(O(x)),
161
- style: ve({ "-webkit-line-clamp": S.lineClamp })
160
+ class: Q(I(O)),
161
+ style: ve({ "-webkit-line-clamp": D.lineClamp })
162
162
  }, {
163
- default: g(() => [
164
- le(S.$slots, "default")
163
+ default: f(() => [
164
+ ne(D.$slots, "default")
165
165
  ]),
166
166
  _: 3
167
167
  }, 8, ["class", "style"]));
168
168
  }
169
169
  });
170
- var wt = /* @__PURE__ */ de(Vt, [["__file", "text.vue"]]);
171
- const Tt = Me(wt), Ye = ["success", "info", "warning", "error"], N = yt({
170
+ var Ct = /* @__PURE__ */ pe(wt, [["__file", "text.vue"]]);
171
+ const Tt = Me(Ct), Ye = ["success", "info", "warning", "error"], B = yt({
172
172
  customClass: "",
173
173
  center: !1,
174
174
  dangerouslyUseHTMLString: !1,
@@ -184,271 +184,271 @@ const Tt = Me(wt), Ye = ["success", "info", "warning", "error"], N = yt({
184
184
  zIndex: 0,
185
185
  grouping: !1,
186
186
  repeatNum: 1,
187
- appendTo: Ee ? document.body : void 0
188
- }), St = ce({
187
+ appendTo: Ue ? document.body : void 0
188
+ }), St = de({
189
189
  customClass: {
190
190
  type: String,
191
- default: N.customClass
191
+ default: B.customClass
192
192
  },
193
193
  center: {
194
194
  type: Boolean,
195
- default: N.center
195
+ default: B.center
196
196
  },
197
197
  dangerouslyUseHTMLString: {
198
198
  type: Boolean,
199
- default: N.dangerouslyUseHTMLString
199
+ default: B.dangerouslyUseHTMLString
200
200
  },
201
201
  duration: {
202
202
  type: Number,
203
- default: N.duration
203
+ default: B.duration
204
204
  },
205
205
  icon: {
206
- type: mt,
207
- default: N.icon
206
+ type: ft,
207
+ default: B.icon
208
208
  },
209
209
  id: {
210
210
  type: String,
211
- default: N.id
211
+ default: B.id
212
212
  },
213
213
  message: {
214
- type: ne([
214
+ type: le([
215
215
  String,
216
216
  Object,
217
217
  Function
218
218
  ]),
219
- default: N.message
219
+ default: B.message
220
220
  },
221
221
  onClose: {
222
- type: ne(Function),
223
- default: N.onClose
222
+ type: le(Function),
223
+ default: B.onClose
224
224
  },
225
225
  showClose: {
226
226
  type: Boolean,
227
- default: N.showClose
227
+ default: B.showClose
228
228
  },
229
229
  type: {
230
230
  type: String,
231
231
  values: Ye,
232
- default: N.type
232
+ default: B.type
233
233
  },
234
234
  plain: {
235
235
  type: Boolean,
236
- default: N.plain
236
+ default: B.plain
237
237
  },
238
238
  offset: {
239
239
  type: Number,
240
- default: N.offset
240
+ default: B.offset
241
241
  },
242
242
  zIndex: {
243
243
  type: Number,
244
- default: N.zIndex
244
+ default: B.zIndex
245
245
  },
246
246
  grouping: {
247
247
  type: Boolean,
248
- default: N.grouping
248
+ default: B.grouping
249
249
  },
250
250
  repeatNum: {
251
251
  type: Number,
252
- default: N.repeatNum
252
+ default: B.repeatNum
253
253
  }
254
254
  }), Mt = {
255
255
  destroy: () => !0
256
- }, A = st([]), Et = (s) => {
257
- const c = A.findIndex((i) => i.id === s), n = A[c];
258
- let a;
259
- return c > 0 && (a = A[c - 1]), { current: n, prev: a };
260
- }, Ut = (s) => {
261
- const { prev: c } = Et(s);
256
+ }, H = st([]), Ut = (r) => {
257
+ const c = H.findIndex((d) => d.id === r), n = H[c];
258
+ let i;
259
+ return c > 0 && (i = H[c - 1]), { current: n, prev: i };
260
+ }, Et = (r) => {
261
+ const { prev: c } = Ut(r);
262
262
  return c ? c.vm.exposed.bottom.value : 0;
263
- }, qt = (s, c) => A.findIndex((a) => a.id === s) > 0 ? 16 : c, Dt = W({
263
+ }, qt = (r, c) => H.findIndex((i) => i.id === r) > 0 ? 16 : c, Dt = Z({
264
264
  name: "ElMessage"
265
- }), Lt = /* @__PURE__ */ W({
265
+ }), Lt = /* @__PURE__ */ Z({
266
266
  ...Dt,
267
267
  props: St,
268
268
  emits: Mt,
269
- setup(s, { expose: c }) {
270
- const n = s, { Close: a } = vt, { ns: i, zIndex: x } = bt("message"), { currentZIndex: t, nextZIndex: w } = x, S = j(), U = j(!1), f = j(0);
271
- let r;
272
- const C = z(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), v = z(() => {
269
+ setup(r, { expose: c }) {
270
+ const n = r, { Close: i } = mt, { ns: d, zIndex: O } = bt("message"), { currentZIndex: e, nextZIndex: E } = O, D = Y(), L = Y(!1), v = Y(0);
271
+ let p;
272
+ const S = j(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), g = j(() => {
273
273
  const m = n.type;
274
- return { [i.bm("icon", m)]: m && Ce[m] };
275
- }), l = z(() => n.icon || Ce[n.type] || ""), o = z(() => Ut(n.id)), y = z(() => qt(n.id, n.offset) + o.value), b = z(() => f.value + y.value), h = z(() => ({
276
- top: `${y.value}px`,
277
- zIndex: t.value
274
+ return { [d.bm("icon", m)]: m && we[m] };
275
+ }), l = j(() => n.icon || we[n.type] || ""), o = j(() => Et(n.id)), _ = j(() => qt(n.id, n.offset) + o.value), h = j(() => v.value + _.value), y = j(() => ({
276
+ top: `${_.value}px`,
277
+ zIndex: e.value
278
278
  }));
279
- function V() {
280
- n.duration !== 0 && ({ stop: r } = Qe(() => {
281
- d();
279
+ function M() {
280
+ n.duration !== 0 && ({ stop: p } = Qe(() => {
281
+ a();
282
282
  }, n.duration));
283
283
  }
284
- function T() {
285
- r == null || r();
284
+ function w() {
285
+ p == null || p();
286
286
  }
287
- function d() {
288
- U.value = !1;
287
+ function a() {
288
+ L.value = !1;
289
289
  }
290
290
  function $({ code: m }) {
291
- m === _t.esc && d();
291
+ m === kt.esc && a();
292
292
  }
293
293
  return Fe(() => {
294
- V(), w(), U.value = !0;
295
- }), oe(() => n.repeatNum, () => {
296
- T(), V();
297
- }), rt(document, "keydown", $), ut(S, () => {
298
- f.value = S.value.getBoundingClientRect().height;
294
+ M(), E(), L.value = !0;
295
+ }), ae(() => n.repeatNum, () => {
296
+ w(), M();
297
+ }), it(document, "keydown", $), ut(D, () => {
298
+ v.value = D.value.getBoundingClientRect().height;
299
299
  }), c({
300
- visible: U,
301
- bottom: b,
302
- close: d
303
- }), (m, e) => (u(), E(qe, {
304
- name: O(i).b("fade"),
300
+ visible: L,
301
+ bottom: h,
302
+ close: a
303
+ }), (m, t) => (s(), C(qe, {
304
+ name: I(d).b("fade"),
305
305
  onBeforeLeave: m.onClose,
306
- onAfterLeave: (F) => m.$emit("destroy"),
306
+ onAfterLeave: (R) => m.$emit("destroy"),
307
307
  persisted: ""
308
308
  }, {
309
- default: g(() => [
310
- De(_("div", {
309
+ default: f(() => [
310
+ De(x("div", {
311
311
  id: m.id,
312
312
  ref_key: "messageRef",
313
- ref: S,
314
- class: H([
315
- O(i).b(),
316
- { [O(i).m(m.type)]: m.type },
317
- O(i).is("center", m.center),
318
- O(i).is("closable", m.showClose),
319
- O(i).is("plain", m.plain),
313
+ ref: D,
314
+ class: Q([
315
+ I(d).b(),
316
+ { [I(d).m(m.type)]: m.type },
317
+ I(d).is("center", m.center),
318
+ I(d).is("closable", m.showClose),
319
+ I(d).is("plain", m.plain),
320
320
  m.customClass
321
321
  ]),
322
- style: ve(O(h)),
322
+ style: ve(I(y)),
323
323
  role: "alert",
324
- onMouseenter: T,
325
- onMouseleave: V
324
+ onMouseenter: w,
325
+ onMouseleave: M
326
326
  }, [
327
- m.repeatNum > 1 ? (u(), E(O(It), {
327
+ m.repeatNum > 1 ? (s(), C(I(It), {
328
328
  key: 0,
329
329
  value: m.repeatNum,
330
- type: O(C),
331
- class: H(O(i).e("badge"))
330
+ type: I(S),
331
+ class: Q(I(d).e("badge"))
332
332
  }, null, 8, ["value", "type", "class"])) : q("v-if", !0),
333
- O(l) ? (u(), E(O(ue), {
333
+ I(l) ? (s(), C(I(ce), {
334
334
  key: 1,
335
- class: H([O(i).e("icon"), O(v)])
335
+ class: Q([I(d).e("icon"), I(g)])
336
336
  }, {
337
- default: g(() => [
338
- (u(), E(Ne(O(l))))
337
+ default: f(() => [
338
+ (s(), C(ze(I(l))))
339
339
  ]),
340
340
  _: 1
341
341
  }, 8, ["class"])) : q("v-if", !0),
342
- le(m.$slots, "default", {}, () => [
343
- m.dangerouslyUseHTMLString ? (u(), k(D, { key: 1 }, [
342
+ ne(m.$slots, "default", {}, () => [
343
+ m.dangerouslyUseHTMLString ? (s(), k(T, { key: 1 }, [
344
344
  q(" Caution here, message could've been compromised, never use user's input as message "),
345
- _("p", {
346
- class: H(O(i).e("content")),
345
+ x("p", {
346
+ class: Q(I(d).e("content")),
347
347
  innerHTML: m.message
348
348
  }, null, 10, ["innerHTML"])
349
- ], 2112)) : (u(), k("p", {
349
+ ], 2112)) : (s(), k("p", {
350
350
  key: 0,
351
- class: H(O(i).e("content"))
352
- }, B(m.message), 3))
351
+ class: Q(I(d).e("content"))
352
+ }, A(m.message), 3))
353
353
  ]),
354
- m.showClose ? (u(), E(O(ue), {
354
+ m.showClose ? (s(), C(I(ce), {
355
355
  key: 2,
356
- class: H(O(i).e("closeBtn")),
357
- onClick: it(d, ["stop"])
356
+ class: Q(I(d).e("closeBtn")),
357
+ onClick: rt(a, ["stop"])
358
358
  }, {
359
- default: g(() => [
360
- p(O(a))
359
+ default: f(() => [
360
+ u(I(i))
361
361
  ]),
362
362
  _: 1
363
363
  }, 8, ["class", "onClick"])) : q("v-if", !0)
364
364
  ], 46, ["id"]), [
365
- [Le, U.value]
365
+ [Le, L.value]
366
366
  ])
367
367
  ]),
368
368
  _: 3
369
369
  }, 8, ["name", "onBeforeLeave", "onAfterLeave"]));
370
370
  }
371
371
  });
372
- var Ft = /* @__PURE__ */ de(Lt, [["__file", "message.vue"]]);
373
- let Nt = 1;
374
- const He = (s) => {
375
- const c = !s || xe(s) || ze(s) || re(s) ? { message: s } : s, n = {
376
- ...N,
372
+ var Ft = /* @__PURE__ */ pe(Lt, [["__file", "message.vue"]]);
373
+ let zt = 1;
374
+ const He = (r) => {
375
+ const c = !r || Oe(r) || Ne(r) || ue(r) ? { message: r } : r, n = {
376
+ ...B,
377
377
  ...c
378
378
  };
379
379
  if (!n.appendTo)
380
380
  n.appendTo = document.body;
381
- else if (xe(n.appendTo)) {
382
- let a = document.querySelector(n.appendTo);
383
- Je(a) || (We("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), a = document.body), n.appendTo = a;
381
+ else if (Oe(n.appendTo)) {
382
+ let i = document.querySelector(n.appendTo);
383
+ Je(i) || (We("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), i = document.body), n.appendTo = i;
384
384
  }
385
- return Oe(Y.grouping) && !n.grouping && (n.grouping = Y.grouping), K(Y.duration) && n.duration === 3e3 && (n.duration = Y.duration), K(Y.offset) && n.offset === 16 && (n.offset = Y.offset), Oe(Y.showClose) && !n.showClose && (n.showClose = Y.showClose), n;
386
- }, zt = (s) => {
387
- const c = A.indexOf(s);
385
+ return Ie(G.grouping) && !n.grouping && (n.grouping = G.grouping), K(G.duration) && n.duration === 3e3 && (n.duration = G.duration), K(G.offset) && n.offset === 16 && (n.offset = G.offset), Ie(G.showClose) && !n.showClose && (n.showClose = G.showClose), n;
386
+ }, Nt = (r) => {
387
+ const c = H.indexOf(r);
388
388
  if (c === -1)
389
389
  return;
390
- A.splice(c, 1);
391
- const { handler: n } = s;
390
+ H.splice(c, 1);
391
+ const { handler: n } = r;
392
392
  n.close();
393
- }, Rt = ({ appendTo: s, ...c }, n) => {
394
- const a = `message_${Nt++}`, i = c.onClose, x = document.createElement("div"), t = {
393
+ }, Rt = ({ appendTo: r, ...c }, n) => {
394
+ const i = `message_${zt++}`, d = c.onClose, O = document.createElement("div"), e = {
395
395
  ...c,
396
- id: a,
396
+ id: i,
397
397
  onClose: () => {
398
- i == null || i(), zt(f);
398
+ d == null || d(), Nt(v);
399
399
  },
400
400
  onDestroy: () => {
401
- Ie(null, x);
401
+ Ve(null, O);
402
402
  }
403
- }, w = p(Ft, t, re(t.message) || ze(t.message) ? {
404
- default: re(t.message) ? t.message : () => t.message
403
+ }, E = u(Ft, e, ue(e.message) || Ne(e.message) ? {
404
+ default: ue(e.message) ? e.message : () => e.message
405
405
  } : null);
406
- w.appContext = n || J._context, Ie(w, x), s.appendChild(x.firstElementChild);
407
- const S = w.component, f = {
408
- id: a,
409
- vnode: w,
410
- vm: S,
406
+ E.appContext = n || W._context, Ve(E, O), r.appendChild(O.firstElementChild);
407
+ const D = E.component, v = {
408
+ id: i,
409
+ vnode: E,
410
+ vm: D,
411
411
  handler: {
412
412
  close: () => {
413
- S.exposed.visible.value = !1;
413
+ D.exposed.visible.value = !1;
414
414
  }
415
415
  },
416
- props: w.component.props
416
+ props: E.component.props
417
417
  };
418
- return f;
419
- }, J = (s = {}, c) => {
420
- if (!Ee)
418
+ return v;
419
+ }, W = (r = {}, c) => {
420
+ if (!Ue)
421
421
  return { close: () => {
422
422
  } };
423
- const n = He(s);
424
- if (n.grouping && A.length) {
425
- const i = A.find(({ vnode: x }) => {
426
- var t;
427
- return ((t = x.props) == null ? void 0 : t.message) === n.message;
423
+ const n = He(r);
424
+ if (n.grouping && H.length) {
425
+ const d = H.find(({ vnode: O }) => {
426
+ var e;
427
+ return ((e = O.props) == null ? void 0 : e.message) === n.message;
428
428
  });
429
- if (i)
430
- return i.props.repeatNum += 1, i.props.type = n.type, i.handler;
429
+ if (d)
430
+ return d.props.repeatNum += 1, d.props.type = n.type, d.handler;
431
431
  }
432
- if (K(Y.max) && A.length >= Y.max)
432
+ if (K(G.max) && H.length >= G.max)
433
433
  return { close: () => {
434
434
  } };
435
- const a = Rt(n, c);
436
- return A.push(a), a.handler;
435
+ const i = Rt(n, c);
436
+ return H.push(i), i.handler;
437
437
  };
438
- Ye.forEach((s) => {
439
- J[s] = (c = {}, n) => {
440
- const a = He(c);
441
- return J({ ...a, type: s }, n);
438
+ Ye.forEach((r) => {
439
+ W[r] = (c = {}, n) => {
440
+ const i = He(c);
441
+ return W({ ...i, type: r }, n);
442
442
  };
443
443
  });
444
- function Pt(s) {
445
- for (const c of A)
446
- (!s || s === c.props.type) && c.handler.close();
444
+ function Pt(r) {
445
+ for (const c of H)
446
+ (!r || r === c.props.type) && c.handler.close();
447
447
  }
448
- J.closeAll = Pt;
449
- J._context = null;
450
- const G = Ze(J, "$message");
451
- const we = {
448
+ W.closeAll = Pt;
449
+ W._context = null;
450
+ const J = Ze(W, "$message");
451
+ const Ce = {
452
452
  // 品种市场 [选项: 前端默认]
453
453
  varietyMarket: {
454
454
  show: !0,
@@ -950,49 +950,49 @@ const we = {
950
950
  ]
951
951
  }
952
952
  };
953
- const Bt = (s, c, n) => {
953
+ const Bt = (r, c, n) => {
954
954
  !c[0] && c[0] !== 0 && !c[1] && c[1] !== 0 ? n(new Error("至少填写一个分数")) : n();
955
- }, Te = (s) => {
955
+ }, Te = (r) => {
956
956
  const c = /(条件(\d+))/g;
957
- return s.match(c) || [];
957
+ return r.match(c) || [];
958
958
  }, jt = {
959
959
  __name: "FactorDescription",
960
- props: /* @__PURE__ */ ae({
960
+ props: /* @__PURE__ */ oe({
961
961
  data: { type: Array, default: [] }
962
962
  }, {
963
963
  visible: { default: !1 },
964
964
  visibleModifiers: {}
965
965
  }),
966
966
  emits: ["update:visible"],
967
- setup(s) {
968
- const c = se(s, "visible");
969
- return (n, a) => {
970
- const i = et, x = tt, t = ye;
971
- return u(), E(t, {
967
+ setup(r) {
968
+ const c = se(r, "visible");
969
+ return (n, i) => {
970
+ const d = et, O = tt, e = be;
971
+ return s(), C(e, {
972
972
  modelValue: c.value,
973
- "onUpdate:modelValue": a[0] || (a[0] = (w) => c.value = w),
973
+ "onUpdate:modelValue": i[0] || (i[0] = (E) => c.value = E),
974
974
  title: "因子使用说明",
975
975
  width: "1000",
976
976
  "align-center": "",
977
977
  "destroy-on-close": ""
978
978
  }, {
979
- default: g(() => [
980
- p(x, {
981
- data: s.data,
979
+ default: f(() => [
980
+ u(O, {
981
+ data: r.data,
982
982
  border: "",
983
983
  height: "500"
984
984
  }, {
985
- default: g(() => [
986
- p(i, {
985
+ default: f(() => [
986
+ u(d, {
987
987
  prop: "factorName",
988
988
  label: "因子名称",
989
989
  width: "200"
990
990
  }),
991
- p(i, {
991
+ u(d, {
992
992
  prop: "factorDesc",
993
993
  label: "因子说明"
994
994
  }),
995
- p(i, {
995
+ u(d, {
996
996
  prop: "factorScoreDefine",
997
997
  label: "分值定义"
998
998
  })
@@ -1005,9 +1005,9 @@ const Bt = (s, c, n) => {
1005
1005
  };
1006
1006
  }
1007
1007
  };
1008
- const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "factor-screen" }, Yt = { class: "custom-header" }, Ht = ["id"], Gt = { class: "form-row" }, Qt = { class: "index" }, Jt = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Wt = /* @__PURE__ */ Ge(() => /* @__PURE__ */ _("span", null, "~", -1)), Zt = /* @__PURE__ */ Ge(() => /* @__PURE__ */ _("span", null, "&&代表and,||代表or", -1)), Kt = { class: "dialog-footer" }, Xt = {
1008
+ const Ge = (r) => (ge("data-v-3cac46e2"), r = r(), ye(), r), At = { class: "factor-screen" }, Yt = { class: "custom-header" }, Ht = ["id"], Gt = { class: "form-row" }, Qt = { class: "index" }, Jt = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Wt = /* @__PURE__ */ Ge(() => /* @__PURE__ */ x("span", null, "~", -1)), Zt = /* @__PURE__ */ Ge(() => /* @__PURE__ */ x("span", null, "&&代表and,||代表or", -1)), Kt = { class: "dialog-footer" }, Xt = {
1009
1009
  __name: "index",
1010
- props: /* @__PURE__ */ ae({
1010
+ props: /* @__PURE__ */ oe({
1011
1011
  config: {
1012
1012
  type: Object,
1013
1013
  default: {
@@ -1036,8 +1036,8 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
1036
1036
  dataModifiers: {}
1037
1037
  }),
1038
1038
  emits: ["update:data"],
1039
- setup(s) {
1040
- const c = s, n = se(s, "data"), a = j(!1), i = j(!1), x = j(null), t = j({
1039
+ setup(r) {
1040
+ const c = r, n = se(r, "data"), i = Y(!1), d = Y(!1), O = Y(null), e = Y({
1041
1041
  // 筛选因子列表
1042
1042
  list: [
1043
1043
  {
@@ -1053,53 +1053,78 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
1053
1053
  sqlEnable: 0,
1054
1054
  // SQL语句
1055
1055
  sqlValue: null
1056
- }), w = () => {
1057
- const { list: l, sqlEnable: o, sqlValue: y } = n.value;
1058
- t.value = {
1056
+ }), E = () => {
1057
+ const { list: l, sqlEnable: o, sqlValue: _ } = n.value;
1058
+ e.value = {
1059
1059
  list: JSON.parse(JSON.stringify(l)),
1060
1060
  sqlEnable: o,
1061
- sqlValue: y
1062
- }, t.value.list.length || f(), a.value = !0;
1063
- }, S = () => {
1064
- x.value.validate((l) => {
1065
- const { list: o, sqlEnable: y, sqlValue: b } = t.value;
1061
+ sqlValue: _
1062
+ }, e.value.list.length || v(), i.value = !0;
1063
+ }, D = () => {
1064
+ O.value.validate((l) => {
1065
+ const { list: o, sqlEnable: _, sqlValue: h } = e.value;
1066
1066
  if (l) {
1067
- if (y) {
1068
- if (!b)
1069
- return G.error("SQL语句不能为空");
1070
- const h = Te(b), V = o.map((d, $) => `条件${$ + 1}`), T = h.filter((d) => !V.includes(d));
1071
- if (T.length)
1072
- return G.error(`请检查SQL语句, 不存在[${T}]`);
1067
+ if (_) {
1068
+ if (!h)
1069
+ return J.error("SQL语句不能为空");
1070
+ const y = Te(h), M = o.map((a, $) => `条件${$ + 1}`), w = y.filter((a) => !M.includes(a));
1071
+ if (w.length)
1072
+ return J.error(`请检查SQL语句, 不存在[${w}]`);
1073
1073
  }
1074
1074
  n.value = {
1075
1075
  list: JSON.parse(JSON.stringify(o)),
1076
- sqlEnable: y,
1077
- sqlValue: b
1078
- }, a.value = !1;
1076
+ sqlEnable: _,
1077
+ sqlValue: h
1078
+ }, i.value = !1;
1079
1079
  }
1080
1080
  });
1081
- }, U = (l) => {
1082
- t.value.list.splice(l, 1);
1083
- }, f = () => {
1084
- t.value.list.push({
1085
- cycle: c.config.cycleDefault ?? null,
1086
- factor: null,
1087
- score: [null, null]
1088
- });
1089
- }, r = () => {
1090
- x.value.validate((l) => {
1081
+ }, L = (l) => {
1082
+ e.value.list.splice(l, 1);
1083
+ }, v = (l) => {
1084
+ switch (l) {
1085
+ case "compare": {
1086
+ e.value.list.push({
1087
+ key: "compare",
1088
+ cycle: c.config.cycleDefault ?? null,
1089
+ factor: null,
1090
+ compareType: ">",
1091
+ cycle2: c.config.cycleDefault ?? null,
1092
+ factor2: null
1093
+ });
1094
+ break;
1095
+ }
1096
+ default: {
1097
+ e.value.list.push({
1098
+ cycle: c.config.cycleDefault ?? null,
1099
+ factor: null,
1100
+ score: [null, null]
1101
+ });
1102
+ break;
1103
+ }
1104
+ }
1105
+ }, p = () => {
1106
+ O.value.validate((l) => {
1091
1107
  if (l)
1092
- if (t.value.sqlValue) {
1093
- const o = Te(t.value.sqlValue);
1094
- t.value.sqlValue = t.value.list.reduce((y, b, h) => (o.includes(`条件${h + 1}`) || (y += `&& 条件${h + 1} `), y), t.value.sqlValue);
1108
+ if (e.value.sqlValue) {
1109
+ const o = Te(e.value.sqlValue);
1110
+ e.value.sqlValue = e.value.list.reduce((_, h, y) => (o.includes(`条件${y + 1}`) || (_ += `&& 条件${y + 1} `), _), e.value.sqlValue);
1095
1111
  } else
1096
- t.value.sqlValue = t.value.list.reduce((o, y, b) => (b === 0 ? o += `条件${b + 1} ` : o += `&& 条件${b + 1} `, o), "");
1112
+ e.value.sqlValue = e.value.list.reduce((o, _, h) => (h === 0 ? o += `条件${h + 1} ` : o += `&& 条件${h + 1} `, o), "");
1097
1113
  });
1098
- }, C = (l) => {
1099
- const { cycle: o, factor: y, score: b } = l;
1100
- let h = "";
1101
- return h += ` ${c.config.cycleOptions.find(({ value: V }) => V === o).label}`, h += ` ${c.config.factorOptions.find(({ value: V }) => V === y).label}`, h += ` ${b[0] || b[0] === 0 ? `${b[0]}分` : "∞"}`, h += " ~", h += ` ${b[1] || b[1] === 0 ? `${b[1]}分` : "∞"}`, h;
1102
- }, v = (l, o) => {
1114
+ }, S = (l) => {
1115
+ switch (l.key) {
1116
+ case "compare": {
1117
+ const { cycle: o, factor: _, compareType: h, cycle2: y, factor2: M } = l;
1118
+ let w = "";
1119
+ return w += ` ${c.config.cycleOptions.find(({ value: a }) => a === o).label}`, w += ` ${c.config.factorOptions.find(({ value: a }) => a === _).label}`, w += ` ${h}`, w += ` ${c.config.cycleOptions.find(({ value: a }) => a === y).label}`, w += ` ${c.config.factorOptions.find(({ value: a }) => a === M).label}`, w;
1120
+ }
1121
+ default: {
1122
+ const { cycle: o, factor: _, score: h } = l;
1123
+ let y = "";
1124
+ return y += ` ${c.config.cycleOptions.find(({ value: M }) => M === o).label}`, y += ` ${c.config.factorOptions.find(({ value: M }) => M === _).label}`, y += ` ${h[0] || h[0] === 0 ? `${h[0]}分` : "∞"}`, y += " ~", y += ` ${h[1] || h[1] === 0 ? `${h[1]}分` : "∞"}`, y;
1125
+ }
1126
+ }
1127
+ }, g = (l, o) => {
1103
1128
  switch (l) {
1104
1129
  case "sqlTag": {
1105
1130
  n.value = {
@@ -1116,79 +1141,79 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
1116
1141
  }
1117
1142
  };
1118
1143
  return (l, o) => {
1119
- const y = Tt, b = Pe, h = Ae, V = ue, T = ct, d = Be, $ = je, m = Ke, e = Ue, F = pe, Q = me, ie = Re, ee = Xe, te = ye;
1120
- return u(), k(D, null, [
1121
- _("div", At, [
1122
- _("div", null, [
1123
- n.value.sqlEnable && n.value.sqlValue ? (u(), E(b, {
1144
+ const _ = Tt, h = Pe, y = Ae, M = ce, w = ct, a = Be, $ = je, m = Ke, t = Ee, R = fe, P = me, re = Re, ee = Xe, te = be;
1145
+ return s(), k(T, null, [
1146
+ x("div", At, [
1147
+ x("div", null, [
1148
+ n.value.sqlEnable && n.value.sqlValue ? (s(), C(h, {
1124
1149
  key: 0,
1125
1150
  closable: "",
1126
1151
  type: "info",
1127
1152
  title: n.value.sqlValue,
1128
- onClose: o[0] || (o[0] = (I) => v("sqlTag"))
1153
+ onClose: o[0] || (o[0] = (b) => g("sqlTag"))
1129
1154
  }, {
1130
- default: g(() => [
1131
- p(y, {
1155
+ default: f(() => [
1156
+ u(_, {
1132
1157
  type: "info",
1133
1158
  truncated: "",
1134
1159
  style: { "max-width": "500px" }
1135
1160
  }, {
1136
- default: g(() => [
1137
- L(B(n.value.sqlValue), 1)
1161
+ default: f(() => [
1162
+ z(A(n.value.sqlValue), 1)
1138
1163
  ]),
1139
1164
  _: 1
1140
1165
  })
1141
1166
  ]),
1142
1167
  _: 1
1143
1168
  }, 8, ["title"])) : q("", !0),
1144
- !n.value.sqlEnable && n.value.list.length ? (u(!0), k(D, { key: 1 }, R(n.value.list, (I, M) => (u(), E(b, {
1169
+ !n.value.sqlEnable && n.value.list.length ? (s(!0), k(T, { key: 1 }, F(n.value.list, (b, U) => (s(), C(h, {
1145
1170
  closable: "",
1146
1171
  type: "info",
1147
- onClose: (P) => v("factorTag", M)
1172
+ onClose: (V) => g("factorTag", U)
1148
1173
  }, {
1149
- default: g(() => [
1150
- L(B(C(I)), 1)
1174
+ default: f(() => [
1175
+ z(A(S(b)), 1)
1151
1176
  ]),
1152
1177
  _: 2
1153
1178
  }, 1032, ["onClose"]))), 256)) : q("", !0),
1154
- p(h, {
1179
+ u(y, {
1155
1180
  class: "screen-btn",
1156
1181
  type: "primary",
1157
1182
  plain: "",
1158
1183
  size: "small",
1159
- icon: O(Ve),
1160
- onClick: w
1184
+ icon: I(ie),
1185
+ onClick: E
1161
1186
  }, {
1162
- default: g(() => [
1163
- L(" 添加因子 ")
1187
+ default: f(() => [
1188
+ z(" 添加因子 ")
1164
1189
  ]),
1165
1190
  _: 1
1166
1191
  }, 8, ["icon"])
1167
1192
  ]),
1168
- p(te, {
1169
- modelValue: a.value,
1170
- "onUpdate:modelValue": o[4] || (o[4] = (I) => a.value = I),
1171
- width: "530",
1193
+ u(te, {
1194
+ modelValue: i.value,
1195
+ "onUpdate:modelValue": o[5] || (o[5] = (b) => i.value = b),
1196
+ width: "602",
1172
1197
  "align-center": "",
1173
1198
  "destroy-on-close": ""
1174
1199
  }, {
1175
- header: g(({ titleId: I, titleClass: M }) => [
1176
- _("div", Yt, [
1177
- _("span", {
1178
- id: I,
1179
- class: H(M)
1200
+ header: f(({ titleId: b, titleClass: U }) => [
1201
+ x("div", Yt, [
1202
+ x("span", {
1203
+ id: b,
1204
+ class: Q(U)
1180
1205
  }, " 因子筛选 ", 10, Ht),
1181
- p(T, {
1206
+ u(w, {
1182
1207
  effect: "dark",
1183
1208
  content: "点击查看: 因子使用说明",
1184
1209
  placement: "right"
1185
1210
  }, {
1186
- default: g(() => [
1187
- p(V, {
1188
- onClick: o[1] || (o[1] = (P) => i.value = !0)
1211
+ default: f(() => [
1212
+ u(M, {
1213
+ onClick: o[1] || (o[1] = (V) => d.value = !0)
1189
1214
  }, {
1190
- default: g(() => [
1191
- p(O(ft))
1215
+ default: f(() => [
1216
+ u(I(vt))
1192
1217
  ]),
1193
1218
  _: 1
1194
1219
  })
@@ -1197,163 +1222,300 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
1197
1222
  })
1198
1223
  ])
1199
1224
  ]),
1200
- footer: g(() => [
1201
- _("div", Kt, [
1202
- p(h, {
1225
+ footer: f(() => [
1226
+ x("div", Kt, [
1227
+ u(y, {
1203
1228
  type: "primary",
1204
- onClick: S
1229
+ onClick: D
1205
1230
  }, {
1206
- default: g(() => [
1207
- L("确定")
1231
+ default: f(() => [
1232
+ z("确定")
1208
1233
  ]),
1209
1234
  _: 1
1210
1235
  })
1211
1236
  ])
1212
1237
  ]),
1213
- default: g(() => [
1214
- p(ee, {
1238
+ default: f(() => [
1239
+ u(ee, {
1215
1240
  ref_key: "dialogFormRef",
1216
- ref: x,
1217
- model: t.value
1241
+ ref: O,
1242
+ model: e.value
1218
1243
  }, {
1219
- default: g(() => [
1220
- (u(!0), k(D, null, R(t.value.list, (I, M) => (u(), k("div", Gt, [
1221
- _("span", Qt, B(`条件${M + 1}`), 1),
1222
- s.config.cycleShow ? (u(), E(m, {
1223
- key: 0,
1224
- prop: "list." + M + ".cycle",
1225
- rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1226
- style: { width: "100px", "margin-right": "10px" }
1227
- }, {
1228
- default: g(() => [
1229
- p($, {
1230
- modelValue: I.cycle,
1231
- "onUpdate:modelValue": (P) => I.cycle = P,
1232
- placeholder: "选择周期",
1233
- size: "small"
1234
- }, {
1235
- default: g(() => [
1236
- (u(!0), k(D, null, R(s.config.cycleOptions, ({ label: P, value: Z }) => (u(), E(d, {
1237
- label: P,
1238
- value: Z,
1239
- key: Z
1240
- }, null, 8, ["label", "value"]))), 128))
1241
- ]),
1242
- _: 2
1243
- }, 1032, ["modelValue", "onUpdate:modelValue"])
1244
- ]),
1245
- _: 2
1246
- }, 1032, ["prop"])) : q("", !0),
1247
- p(m, {
1248
- prop: "list." + M + ".factor",
1249
- rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1250
- style: { width: "100px", "margin-right": "10px" }
1251
- }, {
1252
- default: g(() => [
1253
- p($, {
1254
- modelValue: I.factor,
1255
- "onUpdate:modelValue": (P) => I.factor = P,
1256
- placeholder: "选择因子",
1257
- filterable: "",
1258
- size: "small",
1259
- "no-match-text": "无匹配数据"
1260
- }, {
1261
- default: g(() => [
1262
- (u(!0), k(D, null, R(s.config.factorOptions, ({ label: P, value: Z }) => (u(), E(d, {
1263
- label: P,
1264
- value: Z,
1265
- key: Z
1266
- }, null, 8, ["label", "value"]))), 128))
1267
- ]),
1268
- _: 2
1269
- }, 1032, ["modelValue", "onUpdate:modelValue"])
1270
- ]),
1271
- _: 2
1272
- }, 1032, ["prop"]),
1273
- p(m, {
1274
- prop: "list." + M + ".score",
1275
- rules: { validator: O(Bt), trigger: "blur" },
1276
- style: { width: "200px", "margin-right": "10px" }
1277
- }, {
1278
- default: g(() => [
1279
- _("div", Jt, [
1280
- p(e, {
1281
- modelValue: I.score[0],
1282
- "onUpdate:modelValue": (P) => I.score[0] = P,
1244
+ default: f(() => [
1245
+ (s(!0), k(T, null, F(e.value.list, (b, U) => (s(), k("div", Gt, [
1246
+ x("span", Qt, A(`条件${U + 1}`), 1),
1247
+ b.key === "compare" ? (s(), k(T, { key: 0 }, [
1248
+ r.config.cycleShow ? (s(), C(m, {
1249
+ key: 0,
1250
+ prop: "list." + U + ".cycle",
1251
+ rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1252
+ style: { width: "100px", "margin-right": "10px" }
1253
+ }, {
1254
+ default: f(() => [
1255
+ u($, {
1256
+ modelValue: b.cycle,
1257
+ "onUpdate:modelValue": (V) => b.cycle = V,
1258
+ placeholder: "选择周期",
1259
+ size: "small"
1260
+ }, {
1261
+ default: f(() => [
1262
+ (s(!0), k(T, null, F(r.config.cycleOptions, ({ label: V, value: N }) => (s(), C(a, {
1263
+ label: V,
1264
+ value: N,
1265
+ key: N
1266
+ }, null, 8, ["label", "value"]))), 128))
1267
+ ]),
1268
+ _: 2
1269
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
1270
+ ]),
1271
+ _: 2
1272
+ }, 1032, ["prop"])) : q("", !0),
1273
+ u(m, {
1274
+ prop: "list." + U + ".factor",
1275
+ rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1276
+ style: { width: "100px", "margin-right": "10px" }
1277
+ }, {
1278
+ default: f(() => [
1279
+ u($, {
1280
+ modelValue: b.factor,
1281
+ "onUpdate:modelValue": (V) => b.factor = V,
1282
+ placeholder: "选择因子",
1283
+ filterable: "",
1284
+ size: "small",
1285
+ "no-match-text": "无匹配数据"
1286
+ }, {
1287
+ default: f(() => [
1288
+ (s(!0), k(T, null, F(r.config.factorOptions, ({ label: V, value: N }) => (s(), C(a, {
1289
+ label: V,
1290
+ value: N,
1291
+ key: N
1292
+ }, null, 8, ["label", "value"]))), 128))
1293
+ ]),
1294
+ _: 2
1295
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
1296
+ ]),
1297
+ _: 2
1298
+ }, 1032, ["prop"]),
1299
+ u(m, { style: { width: "52px", "margin-right": "10px" } }, {
1300
+ default: f(() => [
1301
+ u($, {
1302
+ modelValue: b.compareType,
1303
+ "onUpdate:modelValue": (V) => b.compareType = V,
1304
+ size: "small"
1305
+ }, {
1306
+ default: f(() => [
1307
+ (s(), k(T, null, F([">", ">=", "<", "<="], (V) => u(a, {
1308
+ label: V,
1309
+ value: V,
1310
+ key: V
1311
+ }, null, 8, ["label", "value"])), 64))
1312
+ ]),
1313
+ _: 2
1314
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
1315
+ ]),
1316
+ _: 2
1317
+ }, 1024),
1318
+ r.config.cycleShow ? (s(), C(m, {
1319
+ key: 1,
1320
+ prop: "list." + U + ".cycle2",
1321
+ rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1322
+ style: { width: "100px", "margin-right": "10px" }
1323
+ }, {
1324
+ default: f(() => [
1325
+ u($, {
1326
+ modelValue: b.cycle2,
1327
+ "onUpdate:modelValue": (V) => b.cycle2 = V,
1328
+ placeholder: "选择周期",
1329
+ size: "small"
1330
+ }, {
1331
+ default: f(() => [
1332
+ (s(!0), k(T, null, F(r.config.cycleOptions, ({ label: V, value: N }) => (s(), C(a, {
1333
+ label: V,
1334
+ value: N,
1335
+ key: N
1336
+ }, null, 8, ["label", "value"]))), 128))
1337
+ ]),
1338
+ _: 2
1339
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
1340
+ ]),
1341
+ _: 2
1342
+ }, 1032, ["prop"])) : q("", !0),
1343
+ u(m, {
1344
+ prop: "list." + U + ".factor2",
1345
+ rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1346
+ style: { width: "100px", "margin-right": "10px" }
1347
+ }, {
1348
+ default: f(() => [
1349
+ u($, {
1350
+ modelValue: b.factor2,
1351
+ "onUpdate:modelValue": (V) => b.factor2 = V,
1352
+ placeholder: "选择因子",
1353
+ filterable: "",
1283
1354
  size: "small",
1284
- "controls-position": "right"
1285
- }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1286
- Wt,
1287
- p(e, {
1288
- modelValue: I.score[1],
1289
- "onUpdate:modelValue": (P) => I.score[1] = P,
1355
+ "no-match-text": "无匹配数据"
1356
+ }, {
1357
+ default: f(() => [
1358
+ (s(!0), k(T, null, F(r.config.factorOptions, ({ label: V, value: N }) => (s(), C(a, {
1359
+ label: V,
1360
+ value: N,
1361
+ key: N
1362
+ }, null, 8, ["label", "value"]))), 128))
1363
+ ]),
1364
+ _: 2
1365
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
1366
+ ]),
1367
+ _: 2
1368
+ }, 1032, ["prop"])
1369
+ ], 64)) : (s(), k(T, { key: 1 }, [
1370
+ r.config.cycleShow ? (s(), C(m, {
1371
+ key: 0,
1372
+ prop: "list." + U + ".cycle",
1373
+ rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1374
+ style: { width: "100px", "margin-right": "10px" }
1375
+ }, {
1376
+ default: f(() => [
1377
+ u($, {
1378
+ modelValue: b.cycle,
1379
+ "onUpdate:modelValue": (V) => b.cycle = V,
1380
+ placeholder: "选择周期",
1381
+ size: "small"
1382
+ }, {
1383
+ default: f(() => [
1384
+ (s(!0), k(T, null, F(r.config.cycleOptions, ({ label: V, value: N }) => (s(), C(a, {
1385
+ label: V,
1386
+ value: N,
1387
+ key: N
1388
+ }, null, 8, ["label", "value"]))), 128))
1389
+ ]),
1390
+ _: 2
1391
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
1392
+ ]),
1393
+ _: 2
1394
+ }, 1032, ["prop"])) : q("", !0),
1395
+ u(m, {
1396
+ prop: "list." + U + ".factor",
1397
+ rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1398
+ style: { width: "100px", "margin-right": "10px" }
1399
+ }, {
1400
+ default: f(() => [
1401
+ u($, {
1402
+ modelValue: b.factor,
1403
+ "onUpdate:modelValue": (V) => b.factor = V,
1404
+ placeholder: "选择因子",
1405
+ filterable: "",
1290
1406
  size: "small",
1291
- "controls-position": "right"
1292
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
1293
- ])
1294
- ]),
1295
- _: 2
1296
- }, 1032, ["prop", "rules"]),
1297
- p(V, {
1298
- onClick: (P) => U(M)
1407
+ "no-match-text": "无匹配数据"
1408
+ }, {
1409
+ default: f(() => [
1410
+ (s(!0), k(T, null, F(r.config.factorOptions, ({ label: V, value: N }) => (s(), C(a, {
1411
+ label: V,
1412
+ value: N,
1413
+ key: N
1414
+ }, null, 8, ["label", "value"]))), 128))
1415
+ ]),
1416
+ _: 2
1417
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
1418
+ ]),
1419
+ _: 2
1420
+ }, 1032, ["prop"]),
1421
+ u(m, {
1422
+ prop: "list." + U + ".score",
1423
+ rules: { validator: I(Bt), trigger: "blur" },
1424
+ style: { width: "200px", "margin-right": "10px" }
1425
+ }, {
1426
+ default: f(() => [
1427
+ x("div", Jt, [
1428
+ u(t, {
1429
+ modelValue: b.score[0],
1430
+ "onUpdate:modelValue": (V) => b.score[0] = V,
1431
+ size: "small",
1432
+ "controls-position": "right"
1433
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1434
+ Wt,
1435
+ u(t, {
1436
+ modelValue: b.score[1],
1437
+ "onUpdate:modelValue": (V) => b.score[1] = V,
1438
+ size: "small",
1439
+ "controls-position": "right"
1440
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
1441
+ ])
1442
+ ]),
1443
+ _: 2
1444
+ }, 1032, ["prop", "rules"])
1445
+ ], 64)),
1446
+ u(M, {
1447
+ onClick: (V) => L(U)
1299
1448
  }, {
1300
- default: g(() => [
1301
- p(O(gt))
1449
+ default: f(() => [
1450
+ u(I(gt))
1302
1451
  ]),
1303
1452
  _: 2
1304
1453
  }, 1032, ["onClick"])
1305
1454
  ]))), 256)),
1306
- p(h, {
1455
+ u(y, {
1456
+ type: "primary",
1457
+ plain: "",
1458
+ size: "small",
1459
+ icon: I(ie),
1460
+ onClick: v,
1461
+ style: { "margin-bottom": "10px" }
1462
+ }, {
1463
+ default: f(() => [
1464
+ z("添加因子")
1465
+ ]),
1466
+ _: 1
1467
+ }, 8, ["icon"]),
1468
+ u(y, {
1307
1469
  type: "primary",
1308
1470
  plain: "",
1309
1471
  size: "small",
1310
- icon: O(Ve),
1311
- onClick: f,
1472
+ icon: I(ie),
1473
+ onClick: o[2] || (o[2] = (b) => v("compare")),
1312
1474
  style: { "margin-bottom": "10px" }
1313
1475
  }, {
1314
- default: g(() => [
1315
- L("添加因子")
1476
+ default: f(() => [
1477
+ z("添加因子对比")
1316
1478
  ]),
1317
1479
  _: 1
1318
1480
  }, 8, ["icon"]),
1319
- s.config.sqlShow ? (u(), k(D, { key: 0 }, [
1320
- p(m, { label: "SQL功能: " }, {
1321
- default: g(() => [
1322
- p(Q, {
1323
- modelValue: t.value.sqlEnable,
1324
- "onUpdate:modelValue": o[2] || (o[2] = (I) => t.value.sqlEnable = I)
1481
+ r.config.sqlShow ? (s(), k(T, { key: 0 }, [
1482
+ u(m, { label: "SQL功能: " }, {
1483
+ default: f(() => [
1484
+ u(P, {
1485
+ modelValue: e.value.sqlEnable,
1486
+ "onUpdate:modelValue": o[3] || (o[3] = (b) => e.value.sqlEnable = b)
1325
1487
  }, {
1326
- default: g(() => [
1327
- p(F, {
1488
+ default: f(() => [
1489
+ u(R, {
1328
1490
  label: "关闭",
1329
1491
  value: 0
1330
1492
  }),
1331
- p(F, {
1493
+ u(R, {
1332
1494
  label: "启用",
1333
1495
  value: 1
1334
1496
  })
1335
1497
  ]),
1336
1498
  _: 1
1337
1499
  }, 8, ["modelValue"]),
1338
- t.value.sqlEnable ? (u(), E(h, {
1500
+ e.value.sqlEnable ? (s(), C(y, {
1339
1501
  key: 0,
1340
1502
  type: "primary",
1341
1503
  size: "small",
1342
- onClick: r,
1504
+ onClick: p,
1343
1505
  style: { "margin-left": "auto" }
1344
1506
  }, {
1345
- default: g(() => [
1346
- L("生成SQL")
1507
+ default: f(() => [
1508
+ z("生成SQL")
1347
1509
  ]),
1348
1510
  _: 1
1349
1511
  })) : q("", !0)
1350
1512
  ]),
1351
1513
  _: 1
1352
1514
  }),
1353
- t.value.sqlEnable ? (u(), k(D, { key: 0 }, [
1354
- p(ie, {
1355
- modelValue: t.value.sqlValue,
1356
- "onUpdate:modelValue": o[3] || (o[3] = (I) => t.value.sqlValue = I),
1515
+ e.value.sqlEnable ? (s(), k(T, { key: 0 }, [
1516
+ u(re, {
1517
+ modelValue: e.value.sqlValue,
1518
+ "onUpdate:modelValue": o[4] || (o[4] = (b) => e.value.sqlValue = b),
1357
1519
  autosize: { minRows: 4 },
1358
1520
  type: "textarea",
1359
1521
  style: { "margin-bottom": "10px" }
@@ -1368,27 +1530,27 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
1368
1530
  _: 1
1369
1531
  }, 8, ["modelValue"])
1370
1532
  ]),
1371
- p(jt, {
1372
- visible: i.value,
1373
- "onUpdate:visible": o[5] || (o[5] = (I) => i.value = I),
1374
- data: s.config.factorDescriptions
1533
+ u(jt, {
1534
+ visible: d.value,
1535
+ "onUpdate:visible": o[6] || (o[6] = (b) => d.value = b),
1536
+ data: r.config.factorDescriptions
1375
1537
  }, null, 8, ["visible", "data"])
1376
1538
  ], 64);
1377
1539
  };
1378
1540
  }
1379
- }, en = /* @__PURE__ */ be(Xt, [["__scopeId", "data-v-adfec7fb"]]);
1380
- const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1541
+ }, el = /* @__PURE__ */ ke(Xt, [["__scopeId", "data-v-3cac46e2"]]);
1542
+ const _e = (r) => (ge("data-v-c3a0c0f0"), r = r(), ye(), r), tl = {
1381
1543
  key: 0,
1382
1544
  class: "common-indicator"
1383
- }, nn = { class: "indicator" }, ln = /* @__PURE__ */ _e(() => /* @__PURE__ */ _("div", { class: "title" }, [
1384
- /* @__PURE__ */ _("span", null, "常用指标: "),
1385
- /* @__PURE__ */ _("span", null, "不限")
1386
- ], -1)), on = { class: "options" }, an = ["onClick"], sn = { class: "tags" }, rn = ["onClick"], un = {
1545
+ }, ll = { class: "indicator" }, nl = /* @__PURE__ */ _e(() => /* @__PURE__ */ x("div", { class: "title" }, [
1546
+ /* @__PURE__ */ x("span", null, "常用指标: "),
1547
+ /* @__PURE__ */ x("span", null, "不限")
1548
+ ], -1)), al = { class: "options" }, ol = ["onClick"], sl = { class: "tags" }, rl = ["onClick"], il = {
1387
1549
  key: 0,
1388
1550
  class: "convenient-option-box"
1389
- }, cn = { class: "out-box" }, dn = /* @__PURE__ */ _e(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), pn = { key: 0 }, mn = { key: 0 }, vn = { key: 0 }, fn = { key: 1 }, gn = { class: "tFeaturelncomes-option-box" }, yn = { class: "tFeaturelncomes-out-box" }, bn = /* @__PURE__ */ _e(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), _n = { key: 2 }, kn = { key: 3 }, hn = { key: 4 }, xn = { class: "dialog-footer" }, On = {
1551
+ }, ul = { class: "out-box" }, cl = /* @__PURE__ */ _e(() => /* @__PURE__ */ x("span", null, "自定义: ", -1)), dl = { key: 0 }, pl = { key: 0 }, fl = { key: 0 }, ml = { key: 1 }, vl = { class: "tFeaturelncomes-option-box" }, gl = { class: "tFeaturelncomes-out-box" }, yl = /* @__PURE__ */ _e(() => /* @__PURE__ */ x("span", null, "自定义: ", -1)), bl = { key: 2 }, kl = { key: 3 }, _l = { key: 4 }, hl = { class: "dialog-footer" }, xl = {
1390
1552
  __name: "index",
1391
- props: /* @__PURE__ */ ae({
1553
+ props: /* @__PURE__ */ oe({
1392
1554
  config: { type: Object, default: () => {
1393
1555
  } },
1394
1556
  varietyMarket: { type: Number, default: () => null },
@@ -1400,27 +1562,27 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1400
1562
  dataModifiers: {}
1401
1563
  }),
1402
1564
  emits: ["update:data"],
1403
- setup(s) {
1404
- const c = se(s, "data"), n = s, a = j(!1), i = z(() => {
1405
- let v = [];
1406
- return n.varietyMarket === null && !n.commonOption.length ? v = n.config.options : (v = n.config.options, n.varietyMarket && (v = v.filter(({ parent: l }) => l.varietyMarketIds.includes(n.varietyMarket))), n.commonOption.length && (v = v.filter(({ parent: l }) => {
1565
+ setup(r) {
1566
+ const c = se(r, "data"), n = r, i = Y(!1), d = j(() => {
1567
+ let g = [];
1568
+ return n.varietyMarket === null && !n.commonOption.length ? g = n.config.options : (g = n.config.options, n.varietyMarket && (g = g.filter(({ parent: l }) => l.varietyMarketIds.includes(n.varietyMarket))), n.commonOption.length && (g = g.filter(({ parent: l }) => {
1407
1569
  const { commonOptionIds: o } = l;
1408
1570
  return [.../* @__PURE__ */ new Set([...o, ...n.commonOption])].length !== [...o, ...n.commonOption].length;
1409
- }))), v;
1410
- }), x = j({}), t = j({}), w = (v) => {
1411
- x.value = v;
1571
+ }))), g;
1572
+ }), O = Y({}), e = Y({}), E = (g) => {
1573
+ O.value = g;
1412
1574
  const l = {
1413
- key: v.key,
1414
- type: v.type,
1415
- label: v.label
1575
+ key: g.key,
1576
+ type: g.type,
1577
+ label: g.label
1416
1578
  };
1417
- switch (v.key) {
1579
+ switch (g.key) {
1418
1580
  case "st": {
1419
- t.value = { ...l, st: null };
1581
+ e.value = { ...l, st: null };
1420
1582
  break;
1421
1583
  }
1422
1584
  case "tFeaturelncomes": {
1423
- t.value = {
1585
+ e.value = {
1424
1586
  ...l,
1425
1587
  rule: 1,
1426
1588
  // 1超 2跌
@@ -1431,15 +1593,15 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1431
1593
  break;
1432
1594
  }
1433
1595
  case "priceLevels": {
1434
- t.value = { ...l, priceLevels: null };
1596
+ e.value = { ...l, priceLevels: null };
1435
1597
  break;
1436
1598
  }
1437
1599
  case "peTtmLevels": {
1438
- t.value = { ...l, peTtmLevels: null };
1600
+ e.value = { ...l, peTtmLevels: null };
1439
1601
  break;
1440
1602
  }
1441
1603
  case "optionsCpType": {
1442
- t.value = {
1604
+ e.value = {
1443
1605
  ...l,
1444
1606
  optionsCpType: null
1445
1607
  // 1看涨 2看跌
@@ -1447,69 +1609,69 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1447
1609
  break;
1448
1610
  }
1449
1611
  default:
1450
- t.value = {
1612
+ e.value = {
1451
1613
  ...l,
1452
1614
  range: [null, null],
1453
- unit: v.defaultUnit.length ? [...v.defaultUnit] : [null, null]
1615
+ unit: g.defaultUnit.length ? [...g.defaultUnit] : [null, null]
1454
1616
  };
1455
1617
  }
1456
- a.value = !0;
1457
- }, S = () => {
1458
- switch (t.value.key) {
1618
+ i.value = !0;
1619
+ }, D = () => {
1620
+ switch (e.value.key) {
1459
1621
  case "st": {
1460
- const { label: l, st: o } = t.value;
1622
+ const { label: l, st: o } = e.value;
1461
1623
  if (o === null)
1462
- return G.warning("格式错误: 请至少选择一个值");
1463
- t.value.tagText = `${l}: ${o ? "是" : "否"}`;
1624
+ return J.warning("格式错误: 请至少选择一个值");
1625
+ e.value.tagText = `${l}: ${o ? "是" : "否"}`;
1464
1626
  break;
1465
1627
  }
1466
1628
  case "tFeaturelncomes": {
1467
- const { label: l, rule: o, withFewYears: y, yearsCount: b, netProfit: h } = t.value;
1468
- if (["", null].includes(y) || ["", null].includes(b) || ["", null].includes(h))
1469
- return G.warning("格式错误: 请填写完整");
1470
- t.value.tagText = `${l}: ${y}年内${b}年以上盈利${o === 1 ? "超" : "跌"}过${h}亿`;
1629
+ const { label: l, rule: o, withFewYears: _, yearsCount: h, netProfit: y } = e.value;
1630
+ if (["", null].includes(_) || ["", null].includes(h) || ["", null].includes(y))
1631
+ return J.warning("格式错误: 请填写完整");
1632
+ e.value.tagText = `${l}: ${_}年内${h}年以上盈利${o === 1 ? "超" : "跌"}过${y}亿`;
1471
1633
  break;
1472
1634
  }
1473
1635
  case "priceLevels": {
1474
- const { label: l, priceLevels: o } = t.value;
1636
+ const { label: l, priceLevels: o } = e.value;
1475
1637
  if (!o || o.length === 0)
1476
- return G.warning("格式错误: 请至少选择一个值");
1477
- t.value.tagText = `${l}: 已选${o}分位`;
1638
+ return J.warning("格式错误: 请至少选择一个值");
1639
+ e.value.tagText = `${l}: 已选${o}分位`;
1478
1640
  break;
1479
1641
  }
1480
1642
  case "peTtmLevels": {
1481
- const { label: l, peTtmLevels: o } = t.value;
1643
+ const { label: l, peTtmLevels: o } = e.value;
1482
1644
  if (!o || o.length === 0)
1483
- return G.warning("格式错误: 请至少选择一个值");
1484
- t.value.tagText = `${l}: 已选${o}分位`;
1645
+ return J.warning("格式错误: 请至少选择一个值");
1646
+ e.value.tagText = `${l}: 已选${o}分位`;
1485
1647
  break;
1486
1648
  }
1487
1649
  case "optionsCpType": {
1488
- const { label: l, optionsCpType: o } = t.value;
1650
+ const { label: l, optionsCpType: o } = e.value;
1489
1651
  if (o === null)
1490
- return G.warning("格式错误: 请至少选择一个值");
1491
- t.value.tagText = `${l}: ${o === 1 ? "看涨" : "看跌"}`;
1652
+ return J.warning("格式错误: 请至少选择一个值");
1653
+ e.value.tagText = `${l}: ${o === 1 ? "看涨" : "看跌"}`;
1492
1654
  break;
1493
1655
  }
1494
1656
  default: {
1495
- const { label: l, range: o, unit: y } = t.value;
1657
+ const { label: l, range: o, unit: _ } = e.value;
1496
1658
  if (["", null].includes(o[0]) && ["", null].includes(o[1]))
1497
- return G.warning("格式错误: 请至少填写一个值");
1498
- !["", null].includes(o[0]) && !["", null].includes(o[1]) ? t.value.tagText = `${l}: ${o[0]}${y[0] ?? ""} ~ ${o[1]}${y[1] ?? ""}` : ["", null].includes(o[0]) ? t.value.tagText = `${l}: ≤${o[1]}${y[1] ?? ""}` : t.value.tagText = `${l}: ≥${o[0]}${y[0] ?? ""}`;
1659
+ return J.warning("格式错误: 请至少填写一个值");
1660
+ !["", null].includes(o[0]) && !["", null].includes(o[1]) ? e.value.tagText = `${l}: ${o[0]}${_[0] ?? ""} ~ ${o[1]}${_[1] ?? ""}` : ["", null].includes(o[0]) ? e.value.tagText = `${l}: ≤${o[1]}${_[1] ?? ""}` : e.value.tagText = `${l}: ≥${o[0]}${_[0] ?? ""}`;
1499
1661
  }
1500
1662
  }
1501
- const v = c.value.findIndex(({ key: l }) => l === t.value.key);
1502
- v === -1 ? c.value.push(t.value) : c.value.splice(v, 1, t.value), a.value = !1;
1503
- }, U = (v) => {
1504
- x.value = i.value.find(({ key: l }) => l === v.key), t.value = JSON.parse(JSON.stringify(v)), a.value = !0;
1505
- }, f = (v) => {
1506
- c.value.splice(v, 1);
1507
- }, r = (v) => {
1508
- t.value.range = [...v.range], t.value.unit = [...v.unit];
1509
- }, C = (v) => {
1510
- switch (v) {
1663
+ const g = c.value.findIndex(({ key: l }) => l === e.value.key);
1664
+ g === -1 ? c.value.push(e.value) : c.value.splice(g, 1, e.value), i.value = !1;
1665
+ }, L = (g) => {
1666
+ O.value = d.value.find(({ key: l }) => l === g.key), e.value = JSON.parse(JSON.stringify(g)), i.value = !0;
1667
+ }, v = (g) => {
1668
+ c.value.splice(g, 1);
1669
+ }, p = (g) => {
1670
+ e.value.range = [...g.range], e.value.unit = [...g.unit];
1671
+ }, S = (g) => {
1672
+ switch (g) {
1511
1673
  case "≤0":
1512
- Object.assign(t.value, {
1674
+ Object.assign(e.value, {
1513
1675
  rule: 2,
1514
1676
  // 1超 2跌
1515
1677
  withFewYears: 1,
@@ -1518,7 +1680,7 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1518
1680
  });
1519
1681
  break;
1520
1682
  case "≥0":
1521
- Object.assign(t.value, {
1683
+ Object.assign(e.value, {
1522
1684
  rule: 1,
1523
1685
  withFewYears: 1,
1524
1686
  yearsCount: 1,
@@ -1526,7 +1688,7 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1526
1688
  });
1527
1689
  break;
1528
1690
  case "五年内有四年以上盈利超过5千万":
1529
- Object.assign(t.value, {
1691
+ Object.assign(e.value, {
1530
1692
  rule: 1,
1531
1693
  withFewYears: 5,
1532
1694
  yearsCount: 4,
@@ -1534,7 +1696,7 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1534
1696
  });
1535
1697
  break;
1536
1698
  case "≥10亿":
1537
- Object.assign(t.value, {
1699
+ Object.assign(e.value, {
1538
1700
  rule: 1,
1539
1701
  withFewYears: 1,
1540
1702
  yearsCount: 1,
@@ -1542,7 +1704,7 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1542
1704
  });
1543
1705
  break;
1544
1706
  case "≥20亿":
1545
- Object.assign(t.value, {
1707
+ Object.assign(e.value, {
1546
1708
  rule: 1,
1547
1709
  withFewYears: 1,
1548
1710
  yearsCount: 1,
@@ -1551,93 +1713,93 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1551
1713
  break;
1552
1714
  }
1553
1715
  };
1554
- return oe(
1555
- () => i.value,
1716
+ return ae(
1717
+ () => d.value,
1556
1718
  () => {
1557
- c.value.length && (c.value = c.value.filter(({ key: v }) => i.value.find((l) => l.key === v)));
1719
+ c.value.length && (c.value = c.value.filter(({ key: g }) => d.value.find((l) => l.key === g)));
1558
1720
  }
1559
- ), (v, l) => {
1560
- const o = Pe, y = Ae, b = Be, h = je, V = Re, T = pe, d = me, $ = Ue, m = ye;
1561
- return s.config.show && i.value.length ? (u(), k("div", tn, [
1562
- _("div", nn, [
1563
- ln,
1564
- _("div", on, [
1565
- (u(!0), k(D, null, R(i.value, (e) => (u(), k("span", {
1566
- key: e.key,
1567
- onClick: (F) => w(e)
1568
- }, B(e.label), 9, an))), 128))
1721
+ ), (g, l) => {
1722
+ const o = Pe, _ = Ae, h = Be, y = je, M = Re, w = fe, a = me, $ = Ee, m = be;
1723
+ return r.config.show && d.value.length ? (s(), k("div", tl, [
1724
+ x("div", ll, [
1725
+ nl,
1726
+ x("div", al, [
1727
+ (s(!0), k(T, null, F(d.value, (t) => (s(), k("span", {
1728
+ key: t.key,
1729
+ onClick: (R) => E(t)
1730
+ }, A(t.label), 9, ol))), 128))
1569
1731
  ])
1570
1732
  ]),
1571
- _("div", sn, [
1572
- (u(!0), k(D, null, R(c.value, (e, F) => (u(), E(o, {
1733
+ x("div", sl, [
1734
+ (s(!0), k(T, null, F(c.value, (t, R) => (s(), C(o, {
1573
1735
  closable: "",
1574
1736
  type: "info",
1575
- onClose: (Q) => f(F)
1737
+ onClose: (P) => v(R)
1576
1738
  }, {
1577
- default: g(() => [
1578
- _("span", null, B(e.tagText), 1),
1579
- _("span", {
1739
+ default: f(() => [
1740
+ x("span", null, A(t.tagText), 1),
1741
+ x("span", {
1580
1742
  class: "edit",
1581
- onClick: (Q) => U(e)
1582
- }, "编辑", 8, rn)
1743
+ onClick: (P) => L(t)
1744
+ }, "编辑", 8, rl)
1583
1745
  ]),
1584
1746
  _: 2
1585
1747
  }, 1032, ["onClose"]))), 256))
1586
1748
  ]),
1587
- p(m, {
1588
- modelValue: a.value,
1589
- "onUpdate:modelValue": l[16] || (l[16] = (e) => a.value = e),
1590
- title: x.value.label,
1749
+ u(m, {
1750
+ modelValue: i.value,
1751
+ "onUpdate:modelValue": l[16] || (l[16] = (t) => i.value = t),
1752
+ title: O.value.label,
1591
1753
  width: "600",
1592
1754
  "align-center": "",
1593
1755
  "destroy-on-close": ""
1594
1756
  }, {
1595
- footer: g(() => [
1596
- _("div", xn, [
1597
- p(y, {
1757
+ footer: f(() => [
1758
+ x("div", hl, [
1759
+ u(_, {
1598
1760
  type: "primary",
1599
- onClick: S
1761
+ onClick: D
1600
1762
  }, {
1601
- default: g(() => [
1602
- L("确定")
1763
+ default: f(() => [
1764
+ z("确定")
1603
1765
  ]),
1604
1766
  _: 1
1605
1767
  })
1606
1768
  ])
1607
1769
  ]),
1608
- default: g(() => [
1609
- x.value.type === void 0 ? (u(), k(D, { key: 0 }, [
1610
- x.value.convenientOptions.length ? (u(), k("div", un, [
1611
- (u(!0), k(D, null, R(x.value.convenientOptions, (e) => (u(), E(y, {
1612
- key: e.text,
1613
- onClick: (F) => r(e)
1770
+ default: f(() => [
1771
+ O.value.type === void 0 ? (s(), k(T, { key: 0 }, [
1772
+ O.value.convenientOptions.length ? (s(), k("div", il, [
1773
+ (s(!0), k(T, null, F(O.value.convenientOptions, (t) => (s(), C(_, {
1774
+ key: t.text,
1775
+ onClick: (R) => p(t)
1614
1776
  }, {
1615
- default: g(() => [
1616
- L(B(e.text), 1)
1777
+ default: f(() => [
1778
+ z(A(t.text), 1)
1617
1779
  ]),
1618
1780
  _: 2
1619
1781
  }, 1032, ["onClick"]))), 128))
1620
1782
  ])) : q("", !0),
1621
- _("div", cn, [
1622
- dn,
1623
- p(V, {
1624
- modelValue: t.value.range[0],
1625
- "onUpdate:modelValue": l[1] || (l[1] = (e) => t.value.range[0] = e),
1783
+ x("div", ul, [
1784
+ cl,
1785
+ u(M, {
1786
+ modelValue: e.value.range[0],
1787
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => e.value.range[0] = t),
1626
1788
  style: { flex: "1" }
1627
1789
  }, $e({ _: 2 }, [
1628
- x.value.unitOptions.length ? {
1790
+ O.value.unitOptions.length ? {
1629
1791
  name: "append",
1630
- fn: g(() => [
1631
- x.value.unitOptions.length === 1 ? (u(), k("span", pn, B(t.value.unit[0]), 1)) : (u(), E(h, {
1792
+ fn: f(() => [
1793
+ O.value.unitOptions.length === 1 ? (s(), k("span", dl, A(e.value.unit[0]), 1)) : (s(), C(y, {
1632
1794
  key: 1,
1633
- modelValue: t.value.unit[0],
1634
- "onUpdate:modelValue": l[0] || (l[0] = (e) => t.value.unit[0] = e),
1795
+ modelValue: e.value.unit[0],
1796
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => e.value.unit[0] = t),
1635
1797
  style: { width: "72px" }
1636
1798
  }, {
1637
- default: g(() => [
1638
- (u(!0), k(D, null, R(x.value.unitOptions, (e) => (u(), E(b, {
1639
- label: e,
1640
- value: e
1799
+ default: f(() => [
1800
+ (s(!0), k(T, null, F(O.value.unitOptions, (t) => (s(), C(h, {
1801
+ label: t,
1802
+ value: t
1641
1803
  }, null, 8, ["label", "value"]))), 256))
1642
1804
  ]),
1643
1805
  _: 1
@@ -1646,25 +1808,25 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1646
1808
  key: "0"
1647
1809
  } : void 0
1648
1810
  ]), 1032, ["modelValue"]),
1649
- L(" ~ "),
1650
- p(V, {
1651
- modelValue: t.value.range[1],
1652
- "onUpdate:modelValue": l[3] || (l[3] = (e) => t.value.range[1] = e),
1811
+ z(" ~ "),
1812
+ u(M, {
1813
+ modelValue: e.value.range[1],
1814
+ "onUpdate:modelValue": l[3] || (l[3] = (t) => e.value.range[1] = t),
1653
1815
  style: { flex: "1" }
1654
1816
  }, $e({ _: 2 }, [
1655
- x.value.unitOptions.length ? {
1817
+ O.value.unitOptions.length ? {
1656
1818
  name: "append",
1657
- fn: g(() => [
1658
- x.value.unitOptions.length === 1 ? (u(), k("span", mn, B(t.value.unit[1]), 1)) : (u(), E(h, {
1819
+ fn: f(() => [
1820
+ O.value.unitOptions.length === 1 ? (s(), k("span", pl, A(e.value.unit[1]), 1)) : (s(), C(y, {
1659
1821
  key: 1,
1660
- modelValue: t.value.unit[1],
1661
- "onUpdate:modelValue": l[2] || (l[2] = (e) => t.value.unit[1] = e),
1822
+ modelValue: e.value.unit[1],
1823
+ "onUpdate:modelValue": l[2] || (l[2] = (t) => e.value.unit[1] = t),
1662
1824
  style: { width: "72px" }
1663
1825
  }, {
1664
- default: g(() => [
1665
- (u(!0), k(D, null, R(x.value.unitOptions, (e) => (u(), E(b, {
1666
- label: e,
1667
- value: e
1826
+ default: f(() => [
1827
+ (s(!0), k(T, null, F(O.value.unitOptions, (t) => (s(), C(h, {
1828
+ label: t,
1829
+ value: t
1668
1830
  }, null, 8, ["label", "value"]))), 256))
1669
1831
  ]),
1670
1832
  _: 1
@@ -1674,18 +1836,18 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1674
1836
  } : void 0
1675
1837
  ]), 1032, ["modelValue"])
1676
1838
  ])
1677
- ], 64)) : (u(), k(D, { key: 1 }, [
1678
- x.value.key === "st" ? (u(), k("div", vn, [
1679
- p(d, {
1680
- modelValue: t.value.st,
1681
- "onUpdate:modelValue": l[4] || (l[4] = (e) => t.value.st = e)
1839
+ ], 64)) : (s(), k(T, { key: 1 }, [
1840
+ O.value.key === "st" ? (s(), k("div", fl, [
1841
+ u(a, {
1842
+ modelValue: e.value.st,
1843
+ "onUpdate:modelValue": l[4] || (l[4] = (t) => e.value.st = t)
1682
1844
  }, {
1683
- default: g(() => [
1684
- p(T, {
1845
+ default: f(() => [
1846
+ u(w, {
1685
1847
  label: "是",
1686
1848
  value: 1
1687
1849
  }),
1688
- p(T, {
1850
+ u(w, {
1689
1851
  label: "否",
1690
1852
  value: 0
1691
1853
  })
@@ -1693,122 +1855,122 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1693
1855
  _: 1
1694
1856
  }, 8, ["modelValue"])
1695
1857
  ])) : q("", !0),
1696
- x.value.key === "tFeaturelncomes" ? (u(), k("div", fn, [
1697
- _("div", gn, [
1698
- p(y, {
1699
- onClick: l[5] || (l[5] = (e) => C("≤0"))
1858
+ O.value.key === "tFeaturelncomes" ? (s(), k("div", ml, [
1859
+ x("div", vl, [
1860
+ u(_, {
1861
+ onClick: l[5] || (l[5] = (t) => S("≤0"))
1700
1862
  }, {
1701
- default: g(() => [
1702
- L("≤0")
1863
+ default: f(() => [
1864
+ z("≤0")
1703
1865
  ]),
1704
1866
  _: 1
1705
1867
  }),
1706
- p(y, {
1707
- onClick: l[6] || (l[6] = (e) => C("≥0"))
1868
+ u(_, {
1869
+ onClick: l[6] || (l[6] = (t) => S("≥0"))
1708
1870
  }, {
1709
- default: g(() => [
1710
- L("≥0")
1871
+ default: f(() => [
1872
+ z("≥0")
1711
1873
  ]),
1712
1874
  _: 1
1713
1875
  }),
1714
- p(y, {
1715
- onClick: l[7] || (l[7] = (e) => C("五年内有四年以上盈利超过5千万"))
1876
+ u(_, {
1877
+ onClick: l[7] || (l[7] = (t) => S("五年内有四年以上盈利超过5千万"))
1716
1878
  }, {
1717
- default: g(() => [
1718
- L("五年内有四年以上盈利超过5千万")
1879
+ default: f(() => [
1880
+ z("五年内有四年以上盈利超过5千万")
1719
1881
  ]),
1720
1882
  _: 1
1721
1883
  }),
1722
- p(y, {
1723
- onClick: l[8] || (l[8] = (e) => C("≥10亿"))
1884
+ u(_, {
1885
+ onClick: l[8] || (l[8] = (t) => S("≥10亿"))
1724
1886
  }, {
1725
- default: g(() => [
1726
- L("≥10亿")
1887
+ default: f(() => [
1888
+ z("≥10亿")
1727
1889
  ]),
1728
1890
  _: 1
1729
1891
  }),
1730
- p(y, {
1731
- onClick: l[9] || (l[9] = (e) => C("≥20亿"))
1892
+ u(_, {
1893
+ onClick: l[9] || (l[9] = (t) => S("≥20亿"))
1732
1894
  }, {
1733
- default: g(() => [
1734
- L("≥20亿")
1895
+ default: f(() => [
1896
+ z("≥20亿")
1735
1897
  ]),
1736
1898
  _: 1
1737
1899
  })
1738
1900
  ]),
1739
- _("div", yn, [
1740
- bn,
1741
- _("div", null, [
1742
- p($, {
1743
- modelValue: t.value.withFewYears,
1744
- "onUpdate:modelValue": l[10] || (l[10] = (e) => t.value.withFewYears = e),
1901
+ x("div", gl, [
1902
+ yl,
1903
+ x("div", null, [
1904
+ u($, {
1905
+ modelValue: e.value.withFewYears,
1906
+ "onUpdate:modelValue": l[10] || (l[10] = (t) => e.value.withFewYears = t),
1745
1907
  "controls-position": "right"
1746
1908
  }, null, 8, ["modelValue"]),
1747
- L(" 年内 "),
1748
- p($, {
1749
- modelValue: t.value.yearsCount,
1750
- "onUpdate:modelValue": l[11] || (l[11] = (e) => t.value.yearsCount = e),
1909
+ z(" 年内 "),
1910
+ u($, {
1911
+ modelValue: e.value.yearsCount,
1912
+ "onUpdate:modelValue": l[11] || (l[11] = (t) => e.value.yearsCount = t),
1751
1913
  "controls-position": "right"
1752
1914
  }, null, 8, ["modelValue"]),
1753
- L(" 年以上盈利" + B(t.value.rule === 1 ? "超" : "跌") + "过 ", 1),
1754
- p($, {
1755
- modelValue: t.value.netProfit,
1756
- "onUpdate:modelValue": l[12] || (l[12] = (e) => t.value.netProfit = e),
1915
+ z(" 年以上盈利" + A(e.value.rule === 1 ? "超" : "跌") + "过 ", 1),
1916
+ u($, {
1917
+ modelValue: e.value.netProfit,
1918
+ "onUpdate:modelValue": l[12] || (l[12] = (t) => e.value.netProfit = t),
1757
1919
  "controls-position": "right"
1758
1920
  }, null, 8, ["modelValue"]),
1759
- L(" 亿 ")
1921
+ z(" 亿 ")
1760
1922
  ])
1761
1923
  ])
1762
1924
  ])) : q("", !0),
1763
- x.value.key === "priceLevels" ? (u(), k("div", _n, [
1764
- p(h, {
1765
- modelValue: t.value.priceLevels,
1766
- "onUpdate:modelValue": l[13] || (l[13] = (e) => t.value.priceLevels = e),
1925
+ O.value.key === "priceLevels" ? (s(), k("div", bl, [
1926
+ u(y, {
1927
+ modelValue: e.value.priceLevels,
1928
+ "onUpdate:modelValue": l[13] || (l[13] = (t) => e.value.priceLevels = t),
1767
1929
  multiple: "",
1768
1930
  clearable: "",
1769
1931
  placeholder: "请选择",
1770
1932
  style: { width: "420px" }
1771
1933
  }, {
1772
- default: g(() => [
1773
- (u(), k(D, null, R([1, 2, 3, 4, 5], (e) => p(b, {
1774
- key: e,
1775
- label: `${e}分位`,
1776
- value: e
1934
+ default: f(() => [
1935
+ (s(), k(T, null, F([1, 2, 3, 4, 5], (t) => u(h, {
1936
+ key: t,
1937
+ label: `${t}分位`,
1938
+ value: t
1777
1939
  }, null, 8, ["label", "value"])), 64))
1778
1940
  ]),
1779
1941
  _: 1
1780
1942
  }, 8, ["modelValue"])
1781
1943
  ])) : q("", !0),
1782
- x.value.key === "peTtmLevels" ? (u(), k("div", kn, [
1783
- p(h, {
1784
- modelValue: t.value.peTtmLevels,
1785
- "onUpdate:modelValue": l[14] || (l[14] = (e) => t.value.peTtmLevels = e),
1944
+ O.value.key === "peTtmLevels" ? (s(), k("div", kl, [
1945
+ u(y, {
1946
+ modelValue: e.value.peTtmLevels,
1947
+ "onUpdate:modelValue": l[14] || (l[14] = (t) => e.value.peTtmLevels = t),
1786
1948
  multiple: "",
1787
1949
  clearable: "",
1788
1950
  placeholder: "请选择",
1789
1951
  style: { width: "420px" }
1790
1952
  }, {
1791
- default: g(() => [
1792
- (u(), k(D, null, R([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (e) => p(b, {
1793
- key: e,
1794
- label: `${e}分位`,
1795
- value: e
1953
+ default: f(() => [
1954
+ (s(), k(T, null, F([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (t) => u(h, {
1955
+ key: t,
1956
+ label: `${t}分位`,
1957
+ value: t
1796
1958
  }, null, 8, ["label", "value"])), 64))
1797
1959
  ]),
1798
1960
  _: 1
1799
1961
  }, 8, ["modelValue"])
1800
1962
  ])) : q("", !0),
1801
- x.value.key === "optionsCpType" ? (u(), k("div", hn, [
1802
- p(d, {
1803
- modelValue: t.value.optionsCpType,
1804
- "onUpdate:modelValue": l[15] || (l[15] = (e) => t.value.optionsCpType = e)
1963
+ O.value.key === "optionsCpType" ? (s(), k("div", _l, [
1964
+ u(a, {
1965
+ modelValue: e.value.optionsCpType,
1966
+ "onUpdate:modelValue": l[15] || (l[15] = (t) => e.value.optionsCpType = t)
1805
1967
  }, {
1806
- default: g(() => [
1807
- p(T, {
1968
+ default: f(() => [
1969
+ u(w, {
1808
1970
  label: "看涨",
1809
1971
  value: 1
1810
1972
  }),
1811
- p(T, {
1973
+ u(w, {
1812
1974
  label: "看跌",
1813
1975
  value: 2
1814
1976
  })
@@ -1823,32 +1985,32 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
1823
1985
  ])) : q("", !0);
1824
1986
  };
1825
1987
  }
1826
- }, In = /* @__PURE__ */ be(On, [["__scopeId", "data-v-c3a0c0f0"]]);
1827
- const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "variety-search" }, Cn = {
1988
+ }, Ol = /* @__PURE__ */ ke(xl, [["__scopeId", "data-v-c3a0c0f0"]]);
1989
+ const X = (r) => (ge("data-v-3d6e5358"), r = r(), ye(), r), Il = { class: "variety-search" }, Vl = {
1828
1990
  key: 0,
1829
1991
  class: "variety-search-row"
1830
- }, Vn = { class: "title" }, wn = /* @__PURE__ */ X(() => /* @__PURE__ */ _("span", null, "品种市场: ", -1)), Tn = {
1992
+ }, $l = { class: "title" }, wl = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "品种市场: ", -1)), Cl = {
1831
1993
  key: 1,
1832
1994
  class: "variety-search-row"
1833
- }, Sn = { class: "title" }, Mn = /* @__PURE__ */ X(() => /* @__PURE__ */ _("span", null, "常用选项: ", -1)), En = {
1995
+ }, Tl = { class: "title" }, Sl = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "常用选项: ", -1)), Ml = {
1834
1996
  key: 2,
1835
1997
  class: "variety-search-row"
1836
- }, Un = { class: "title" }, qn = /* @__PURE__ */ X(() => /* @__PURE__ */ _("span", null, "上市板块: ", -1)), Dn = {
1998
+ }, Ul = { class: "title" }, El = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "上市板块: ", -1)), ql = {
1837
1999
  key: 3,
1838
2000
  class: "variety-search-row"
1839
- }, Ln = { class: "title" }, Fn = /* @__PURE__ */ X(() => /* @__PURE__ */ _("span", null, "自定标签: ", -1)), Nn = {
2001
+ }, Dl = { class: "title" }, Ll = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "自定标签: ", -1)), Fl = {
1840
2002
  key: 4,
1841
2003
  class: "variety-search-row"
1842
- }, zn = { class: "title" }, Rn = /* @__PURE__ */ X(() => /* @__PURE__ */ _("span", null, "因子筛选: ", -1)), Pn = {
2004
+ }, zl = { class: "title" }, Nl = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "因子筛选: ", -1)), Rl = {
1843
2005
  __name: "index",
1844
- props: /* @__PURE__ */ ae({ config: { type: Object, default: {} } }, {
2006
+ props: /* @__PURE__ */ oe({ config: { type: Object, default: {} } }, {
1845
2007
  searchData: {},
1846
2008
  searchDataModifiers: {}
1847
2009
  }),
1848
2010
  emits: ["update:searchData"],
1849
- setup(s, { expose: c }) {
1850
- const n = s, a = se(s, "searchData");
1851
- a.value = Object.assign(a.value, {
2011
+ setup(r, { expose: c }) {
2012
+ const n = r, i = se(r, "searchData");
2013
+ i.value = Object.assign(i.value, {
1852
2014
  // 品种市场
1853
2015
  varietyMarket: null,
1854
2016
  // 常用选项
@@ -1866,160 +2028,184 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
1866
2028
  // 常用指标
1867
2029
  commonIndicator: []
1868
2030
  });
1869
- const i = z(() => {
1870
- const f = {};
1871
- return Object.keys(we).forEach((r) => {
1872
- const C = we[r], v = n.config[r] ?? {}, l = { ...C, ...v };
1873
- f[r] = l;
1874
- }), f;
1875
- }), x = z(() => i.value.varietyMarket.options), t = z(() => {
1876
- const { varietyMarket: f } = a.value;
1877
- if (f) {
1878
- const r = x.value.find(({ value: C }) => C === f).memo;
1879
- return i.value.commonOption.options.filter(({ value: C }) => r.includes(C));
2031
+ const d = j(() => {
2032
+ const v = {};
2033
+ return Object.keys(Ce).forEach((p) => {
2034
+ const S = Ce[p], g = n.config[p] ?? {}, l = { ...S, ...g };
2035
+ v[p] = l;
2036
+ }), v;
2037
+ }), O = j(() => d.value.varietyMarket.options), e = j(() => {
2038
+ const { varietyMarket: v } = i.value;
2039
+ if (v) {
2040
+ const p = O.value.find(({ value: S }) => S === v).memo;
2041
+ return d.value.commonOption.options.filter(({ value: S }) => p.includes(S));
1880
2042
  } else
1881
- return i.value.commonOption.options;
1882
- }), w = z(() => {
1883
- const { varietyMarket: f } = a.value;
1884
- return f ? i.value.marketIds.options.filter((r) => r.varietyMarketIds.includes(f)) : i.value.marketIds.options;
1885
- }), S = z(() => i.value.customTag.options), U = (f) => {
1886
- ["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(f) ? a.value[f] = [] : a.value[f] = null;
2043
+ return d.value.commonOption.options;
2044
+ }), E = j(() => {
2045
+ const { varietyMarket: v } = i.value;
2046
+ return v ? d.value.marketIds.options.filter((p) => p.varietyMarketIds.includes(v)) : d.value.marketIds.options;
2047
+ }), D = j(() => d.value.customTag.options), L = (v) => {
2048
+ ["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(v) ? i.value[v] = [] : i.value[v] = null;
1887
2049
  };
1888
- return oe(
1889
- () => t.value,
1890
- (f) => {
1891
- var r;
1892
- (r = a.value.commonOption) != null && r.length && (a.value.commonOption = a.value.commonOption.filter((C) => f.find(({ value: v }) => v === C)));
2050
+ return ae(
2051
+ () => e.value,
2052
+ (v) => {
2053
+ var p;
2054
+ (p = i.value.commonOption) != null && p.length && (i.value.commonOption = i.value.commonOption.filter((S) => v.find(({ value: g }) => g === S)));
1893
2055
  }
1894
- ), oe(
1895
- () => w.value,
1896
- (f) => {
1897
- var r;
1898
- (r = a.value.marketIds) != null && r.length && (a.value.marketIds = a.value.marketIds.filter((C) => f.find(({ value: v }) => v === C)));
2056
+ ), ae(
2057
+ () => E.value,
2058
+ (v) => {
2059
+ var p;
2060
+ (p = i.value.marketIds) != null && p.length && (i.value.marketIds = i.value.marketIds.filter((S) => v.find(({ value: g }) => g === S)));
1899
2061
  }
1900
2062
  ), c({
1901
2063
  // 生成接口传参结构的数据
1902
- formatData: (f) => {
1903
- var C, v, l, o, y;
2064
+ formatData: (v) => {
2065
+ var S, g, l, o, _;
1904
2066
  console.log("%c[st-varietySearch]: 正在生成接口传参结构的数据...", "color: tomato");
1905
- const r = {};
1906
- if (f.varietyMarket && (r.exchangeId = String(f.varietyMarket)), (C = f.commonOption) != null && C.length && (r.optionId = f.commonOption.join(",")), (v = f.marketIds) != null && v.length && (r.marketIds = f.marketIds), (l = f.customTag) != null && l.length && (r.tagIds = f.customTag), (o = i.value.factorScreen) != null && o.show) {
1907
- const { factorScreen: b } = f;
1908
- if ((y = b == null ? void 0 : b.list) != null && y.length && (r.tbFeatureFactorScores = b.list.map((h) => ({
1909
- freqId: h.cycle,
1910
- factorId: h.factor,
1911
- startScore: h.score[0],
1912
- endScore: h.score[1]
1913
- }))), r.enableSql = b.sqlEnable === 1 ? 2 : 1, b.sqlEnable) {
1914
- const h = b.list.reduce((T, d, $) => {
1915
- var F;
2067
+ const p = {};
2068
+ if (v.varietyMarket && (p.exchangeId = String(v.varietyMarket)), (S = v.commonOption) != null && S.length && (p.optionId = v.commonOption.join(",")), (g = v.marketIds) != null && g.length && (p.marketIds = v.marketIds), (l = v.customTag) != null && l.length && (p.tagIds = v.customTag), (o = d.value.factorScreen) != null && o.show) {
2069
+ const { factorScreen: h } = v;
2070
+ if ((_ = h == null ? void 0 : h.list) != null && _.length && (p.tbFeatureFactorScores = h.list.map((y) => {
2071
+ switch (y.key) {
2072
+ case "compare":
2073
+ return {
2074
+ freqId: y.cycle,
2075
+ factorId: y.factor,
2076
+ compareType: y.compareType,
2077
+ freqId2: y.cycle2,
2078
+ factorId2: y.factor2
2079
+ };
2080
+ default:
2081
+ return {
2082
+ freqId: y.cycle,
2083
+ factorId: y.factor,
2084
+ startScore: y.score[0],
2085
+ endScore: y.score[1]
2086
+ };
2087
+ }
2088
+ })), h.sqlEnable) {
2089
+ const y = h.list.reduce((w, a, $) => {
2090
+ var t, R;
1916
2091
  const m = `条件${$ + 1}`;
1917
- let e = `factor_id = ${d.factor} and `;
1918
- return (F = i.value.factorScreen) != null && F.cycleShow && (e = `freq_id = ${d.cycle} and factor_id = ${d.factor} and `), (d.score[0] || d.score[0] === 0) && (d.score[1] || d.score[1] === 0) ? e += `score >= ${d.score[0]} and score <= ${d.score[1]}` : d.score[0] || d.score[0] === 0 ? e += `score >= ${d.score[0]}` : (d.score[1] || d.score[1] === 0) && (e += `score <= ${d.score[1]}`), e = `(${e})`, T.set(m, e), T;
2092
+ switch (a.key) {
2093
+ case "compare": {
2094
+ let P = "";
2095
+ (t = d.value.factorScreen) != null && t.cycleShow ? P = `freq_id = ${a.cycle} and factor_id = ${a.factor} ${a.compareType} freq_id = ${a.cycle2} and factor_id = ${a.factor2}` : P = `factor_id = ${a.factor} ${a.compareType} factor_id = ${a.factor2}`, w.set(m, `(${P})`);
2096
+ break;
2097
+ }
2098
+ default: {
2099
+ let P = `factor_id = ${a.factor} and `;
2100
+ (R = d.value.factorScreen) != null && R.cycleShow && (P = `freq_id = ${a.cycle} and factor_id = ${a.factor} and `), (a.score[0] || a.score[0] === 0) && (a.score[1] || a.score[1] === 0) ? P += `score >= ${a.score[0]} and score <= ${a.score[1]}` : a.score[0] || a.score[0] === 0 ? P += `score >= ${a.score[0]}` : (a.score[1] || a.score[1] === 0) && (P += `score <= ${a.score[1]}`), w.set(m, `(${P})`);
2101
+ }
2102
+ }
2103
+ return w;
1919
2104
  }, /* @__PURE__ */ new Map([]));
1920
- let V = b.sqlValue;
1921
- for (const [T, d] of h) {
1922
- const $ = new RegExp(T, "g");
1923
- V = V.replace($, d);
2105
+ let M = h.sqlValue;
2106
+ for (const [w, a] of y) {
2107
+ const $ = new RegExp(w, "g");
2108
+ M = M.replace($, a);
1924
2109
  }
1925
- r.sql = V;
2110
+ p.sql = M;
1926
2111
  }
2112
+ p.enableSql = h.sqlEnable === 1 ? 2 : 1;
1927
2113
  }
1928
2114
  {
1929
- const b = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], h = f.commonIndicator.reduce((e, F) => {
1930
- const { key: Q, type: ie, range: ee, unit: te } = F;
1931
- if (Q === "dividendYield") {
1932
- let [I, M] = ee;
1933
- ["", null].includes(I) || (I = I / 100), ["", null].includes(M) || (M = M / 100), e.push({
1934
- column: F.key,
1935
- start: I,
1936
- end: M
2115
+ const h = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], y = v.commonIndicator.reduce((t, R) => {
2116
+ const { key: P, type: re, range: ee, unit: te } = R;
2117
+ if (P === "dividendYield") {
2118
+ let [b, U] = ee;
2119
+ ["", null].includes(b) || (b = b / 100), ["", null].includes(U) || (U = U / 100), t.push({
2120
+ column: R.key,
2121
+ start: b,
2122
+ end: U
1937
2123
  });
1938
- } else if (ie === void 0 && !b.includes(Q)) {
1939
- let [I, M] = ee;
1940
- if (!["", null].includes(I))
2124
+ } else if (re === void 0 && !h.includes(P)) {
2125
+ let [b, U] = ee;
2126
+ if (!["", null].includes(b))
1941
2127
  switch (te[0]) {
1942
2128
  case "亿":
1943
- I = I * 1e8;
2129
+ b = b * 1e8;
1944
2130
  break;
1945
2131
  case "千万":
1946
- I = I * 1e7;
2132
+ b = b * 1e7;
1947
2133
  break;
1948
2134
  default:
1949
- I = I;
2135
+ b = b;
1950
2136
  break;
1951
2137
  }
1952
- if (!["", null].includes(M))
2138
+ if (!["", null].includes(U))
1953
2139
  switch (te[1]) {
1954
2140
  case "亿":
1955
- M = M * 1e8;
2141
+ U = U * 1e8;
1956
2142
  break;
1957
2143
  case "千万":
1958
- M = M * 1e7;
2144
+ U = U * 1e7;
1959
2145
  break;
1960
2146
  default:
1961
- M = M;
2147
+ U = U;
1962
2148
  break;
1963
2149
  }
1964
- e.push({
1965
- column: F.key,
1966
- start: I,
1967
- end: M
2150
+ t.push({
2151
+ column: R.key,
2152
+ start: b,
2153
+ end: U
1968
2154
  });
1969
2155
  }
1970
- return e;
2156
+ return t;
1971
2157
  }, []);
1972
- h.length && (r.query = h);
1973
- const V = f.commonIndicator.find(({ key: e }) => e === "st");
1974
- V && (r.st = V.st);
1975
- const T = f.commonIndicator.find(({ key: e }) => e === "tFeaturelncomes");
1976
- T && (r.netProfitQueryDto = { ...T, netProfit: T.netProfit * 1e8 });
1977
- const d = f.commonIndicator.find(({ key: e }) => e === "priceLevels");
1978
- d && (r.priceLevels = d.priceLevels);
1979
- const $ = f.commonIndicator.find(({ key: e }) => e === "peTtmLevels");
1980
- $ && (r.peTtmLevels = $.peTtmLevels);
2158
+ y.length && (p.query = y);
2159
+ const M = v.commonIndicator.find(({ key: t }) => t === "st");
2160
+ M && (p.st = M.st);
2161
+ const w = v.commonIndicator.find(({ key: t }) => t === "tFeaturelncomes");
2162
+ w && (p.netProfitQueryDto = { ...w, netProfit: w.netProfit * 1e8 });
2163
+ const a = v.commonIndicator.find(({ key: t }) => t === "priceLevels");
2164
+ a && (p.priceLevels = a.priceLevels);
2165
+ const $ = v.commonIndicator.find(({ key: t }) => t === "peTtmLevels");
2166
+ $ && (p.peTtmLevels = $.peTtmLevels);
1981
2167
  const m = {};
1982
- f.commonIndicator.forEach((e) => {
1983
- const { key: F } = e;
1984
- switch (F) {
2168
+ v.commonIndicator.forEach((t) => {
2169
+ const { key: R } = t;
2170
+ switch (R) {
1985
2171
  case "expireDays":
1986
- ["", null].includes(e.range[0]) || (m.minExpireDays = e.range[0]), ["", null].includes(e.range[1]) || (m.maxExpireDays = e.range[1]);
2172
+ ["", null].includes(t.range[0]) || (m.minExpireDays = t.range[0]), ["", null].includes(t.range[1]) || (m.maxExpireDays = t.range[1]);
1987
2173
  break;
1988
2174
  case "virtualRealDegree":
1989
- ["", null].includes(e.range[0]) || (m.minVirtualRealDegree = e.range[0] / 100), ["", null].includes(e.range[1]) || (m.maxVirtualRealDegree = e.range[1] / 100);
2175
+ ["", null].includes(t.range[0]) || (m.minVirtualRealDegree = t.range[0] / 100), ["", null].includes(t.range[1]) || (m.maxVirtualRealDegree = t.range[1] / 100);
1990
2176
  break;
1991
2177
  case "yearProfitRate":
1992
- ["", null].includes(e.range[0]) || (m.minYearProfitRate = e.range[0] / 100), ["", null].includes(e.range[1]) || (m.maxYearProfitRate = e.range[1] / 100);
2178
+ ["", null].includes(t.range[0]) || (m.minYearProfitRate = t.range[0] / 100), ["", null].includes(t.range[1]) || (m.maxYearProfitRate = t.range[1] / 100);
1993
2179
  break;
1994
2180
  case "impliedVolatility":
1995
- ["", null].includes(e.range[0]) || (m.minImpliedVolatility = e.range[0] / 100), ["", null].includes(e.range[1]) || (m.maxImpliedVolatility = e.range[1] / 100);
2181
+ ["", null].includes(t.range[0]) || (m.minImpliedVolatility = t.range[0] / 100), ["", null].includes(t.range[1]) || (m.maxImpliedVolatility = t.range[1] / 100);
1996
2182
  break;
1997
2183
  case "levelMultiplier":
1998
- ["", null].includes(e.range[0]) || (m.minLevelMultiplier = e.range[0]), ["", null].includes(e.range[1]) || (m.maxLevelMultiplier = e.range[1]);
2184
+ ["", null].includes(t.range[0]) || (m.minLevelMultiplier = t.range[0]), ["", null].includes(t.range[1]) || (m.maxLevelMultiplier = t.range[1]);
1999
2185
  break;
2000
2186
  case "turnover":
2001
- ["", null].includes(e.range[0]) || (m.minTurnover = e.range[0] * 1e4), ["", null].includes(e.range[1]) || (m.maxTurnover = e.range[1] * 1e4);
2187
+ ["", null].includes(t.range[0]) || (m.minTurnover = t.range[0] * 1e4), ["", null].includes(t.range[1]) || (m.maxTurnover = t.range[1] * 1e4);
2002
2188
  break;
2003
2189
  case "volume":
2004
- ["", null].includes(e.range[0]) || (m.minVolume = e.range[0]), ["", null].includes(e.range[1]) || (m.maxVolume = e.range[1]);
2190
+ ["", null].includes(t.range[0]) || (m.minVolume = t.range[0]), ["", null].includes(t.range[1]) || (m.maxVolume = t.range[1]);
2005
2191
  break;
2006
2192
  case "openInterest":
2007
- ["", null].includes(e.range[0]) || (m.minOpenInterest = e.range[0]), ["", null].includes(e.range[1]) || (m.maxOpenInterest = e.range[1]);
2193
+ ["", null].includes(t.range[0]) || (m.minOpenInterest = t.range[0]), ["", null].includes(t.range[1]) || (m.maxOpenInterest = t.range[1]);
2008
2194
  break;
2009
2195
  case "optionsCpType":
2010
- m.optionsCpType = e.optionsCpType;
2196
+ m.optionsCpType = t.optionsCpType;
2011
2197
  break;
2012
2198
  case "optionGear":
2013
- ["", null].includes(e.range[0]) || (m.minOptionGear = e.range[0]), ["", null].includes(e.range[1]) || (m.maxOptionGear = e.range[1]);
2199
+ ["", null].includes(t.range[0]) || (m.minOptionGear = t.range[0]), ["", null].includes(t.range[1]) || (m.maxOptionGear = t.range[1]);
2014
2200
  break;
2015
2201
  }
2016
- }), Object.keys(m).length && (r.searchOptionDto = m);
2202
+ }), Object.keys(m).length && (p.searchOptionDto = m);
2017
2203
  }
2018
- return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", r), r;
2204
+ return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", p), p;
2019
2205
  },
2020
2206
  // 重置函数
2021
2207
  reset: () => {
2022
- a.value = {
2208
+ i.value = {
2023
2209
  // 品种市场
2024
2210
  varietyMarket: null,
2025
2211
  // 常用选项
@@ -2038,25 +2224,25 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
2038
2224
  commonIndicator: []
2039
2225
  };
2040
2226
  }
2041
- }), (f, r) => {
2042
- var y, b, h, V, T;
2043
- const C = pe, v = me, l = nt, o = lt;
2044
- return u(), k("div", $n, [
2045
- (y = i.value.varietyMarket) != null && y.show ? (u(), k("div", Cn, [
2046
- _("div", Vn, [
2047
- wn,
2048
- _("span", {
2049
- onClick: r[0] || (r[0] = (d) => U("varietyMarket"))
2227
+ }), (v, p) => {
2228
+ var _, h, y, M, w;
2229
+ const S = fe, g = me, l = lt, o = nt;
2230
+ return s(), k("div", Il, [
2231
+ (_ = d.value.varietyMarket) != null && _.show ? (s(), k("div", Vl, [
2232
+ x("div", $l, [
2233
+ wl,
2234
+ x("span", {
2235
+ onClick: p[0] || (p[0] = (a) => L("varietyMarket"))
2050
2236
  }, "不限")
2051
2237
  ]),
2052
- p(v, {
2053
- modelValue: a.value.varietyMarket,
2054
- "onUpdate:modelValue": r[1] || (r[1] = (d) => a.value.varietyMarket = d),
2238
+ u(g, {
2239
+ modelValue: i.value.varietyMarket,
2240
+ "onUpdate:modelValue": p[1] || (p[1] = (a) => i.value.varietyMarket = a),
2055
2241
  size: "small"
2056
2242
  }, {
2057
- default: g(() => [
2058
- (u(!0), k(D, null, R(x.value, ({ label: d, value: $ }) => (u(), E(C, {
2059
- label: d,
2243
+ default: f(() => [
2244
+ (s(!0), k(T, null, F(O.value, ({ label: a, value: $ }) => (s(), C(S, {
2245
+ label: a,
2060
2246
  value: $,
2061
2247
  key: $
2062
2248
  }, null, 8, ["label", "value"]))), 128))
@@ -2064,21 +2250,21 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
2064
2250
  _: 1
2065
2251
  }, 8, ["modelValue"])
2066
2252
  ])) : q("", !0),
2067
- (b = i.value.commonOption) != null && b.show && t.value.length ? (u(), k("div", Tn, [
2068
- _("div", Sn, [
2069
- Mn,
2070
- _("span", {
2071
- onClick: r[2] || (r[2] = (d) => U("commonOption"))
2253
+ (h = d.value.commonOption) != null && h.show && e.value.length ? (s(), k("div", Cl, [
2254
+ x("div", Tl, [
2255
+ Sl,
2256
+ x("span", {
2257
+ onClick: p[2] || (p[2] = (a) => L("commonOption"))
2072
2258
  }, "不限")
2073
2259
  ]),
2074
- p(o, {
2075
- modelValue: a.value.commonOption,
2076
- "onUpdate:modelValue": r[3] || (r[3] = (d) => a.value.commonOption = d),
2260
+ u(o, {
2261
+ modelValue: i.value.commonOption,
2262
+ "onUpdate:modelValue": p[3] || (p[3] = (a) => i.value.commonOption = a),
2077
2263
  size: "small"
2078
2264
  }, {
2079
- default: g(() => [
2080
- (u(!0), k(D, null, R(t.value, ({ label: d, value: $ }) => (u(), E(l, {
2081
- label: d,
2265
+ default: f(() => [
2266
+ (s(!0), k(T, null, F(e.value, ({ label: a, value: $ }) => (s(), C(l, {
2267
+ label: a,
2082
2268
  value: $,
2083
2269
  key: $
2084
2270
  }, null, 8, ["label", "value"]))), 128))
@@ -2086,21 +2272,21 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
2086
2272
  _: 1
2087
2273
  }, 8, ["modelValue"])
2088
2274
  ])) : q("", !0),
2089
- (h = i.value.marketIds) != null && h.show && w.value.length ? (u(), k("div", En, [
2090
- _("div", Un, [
2091
- qn,
2092
- _("span", {
2093
- onClick: r[4] || (r[4] = (d) => U("marketIds"))
2275
+ (y = d.value.marketIds) != null && y.show && E.value.length ? (s(), k("div", Ml, [
2276
+ x("div", Ul, [
2277
+ El,
2278
+ x("span", {
2279
+ onClick: p[4] || (p[4] = (a) => L("marketIds"))
2094
2280
  }, "不限")
2095
2281
  ]),
2096
- p(o, {
2097
- modelValue: a.value.marketIds,
2098
- "onUpdate:modelValue": r[5] || (r[5] = (d) => a.value.marketIds = d),
2282
+ u(o, {
2283
+ modelValue: i.value.marketIds,
2284
+ "onUpdate:modelValue": p[5] || (p[5] = (a) => i.value.marketIds = a),
2099
2285
  size: "small"
2100
2286
  }, {
2101
- default: g(() => [
2102
- (u(!0), k(D, null, R(w.value, ({ label: d, value: $ }) => (u(), E(l, {
2103
- label: d,
2287
+ default: f(() => [
2288
+ (s(!0), k(T, null, F(E.value, ({ label: a, value: $ }) => (s(), C(l, {
2289
+ label: a,
2104
2290
  value: $,
2105
2291
  key: $
2106
2292
  }, null, 8, ["label", "value"]))), 128))
@@ -2108,21 +2294,21 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
2108
2294
  _: 1
2109
2295
  }, 8, ["modelValue"])
2110
2296
  ])) : q("", !0),
2111
- (V = i.value.customTag) != null && V.show && S.value.length ? (u(), k("div", Dn, [
2112
- _("div", Ln, [
2113
- Fn,
2114
- _("span", {
2115
- onClick: r[6] || (r[6] = (d) => U("customTag"))
2297
+ (M = d.value.customTag) != null && M.show && D.value.length ? (s(), k("div", ql, [
2298
+ x("div", Dl, [
2299
+ Ll,
2300
+ x("span", {
2301
+ onClick: p[6] || (p[6] = (a) => L("customTag"))
2116
2302
  }, "不限")
2117
2303
  ]),
2118
- p(o, {
2119
- modelValue: a.value.customTag,
2120
- "onUpdate:modelValue": r[7] || (r[7] = (d) => a.value.customTag = d),
2304
+ u(o, {
2305
+ modelValue: i.value.customTag,
2306
+ "onUpdate:modelValue": p[7] || (p[7] = (a) => i.value.customTag = a),
2121
2307
  size: "small"
2122
2308
  }, {
2123
- default: g(() => [
2124
- (u(!0), k(D, null, R(S.value, ({ label: d, value: $ }) => (u(), E(l, {
2125
- label: d,
2309
+ default: f(() => [
2310
+ (s(!0), k(T, null, F(D.value, ({ label: a, value: $ }) => (s(), C(l, {
2311
+ label: a,
2126
2312
  value: $,
2127
2313
  key: $
2128
2314
  }, null, 8, ["label", "value"]))), 128))
@@ -2130,34 +2316,34 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
2130
2316
  _: 1
2131
2317
  }, 8, ["modelValue"])
2132
2318
  ])) : q("", !0),
2133
- (T = i.value.factorScreen) != null && T.show ? (u(), k("div", Nn, [
2134
- _("div", zn, [
2135
- Rn,
2136
- _("span", {
2137
- onClick: r[8] || (r[8] = (d) => U("factorScreen"))
2319
+ (w = d.value.factorScreen) != null && w.show ? (s(), k("div", Fl, [
2320
+ x("div", zl, [
2321
+ Nl,
2322
+ x("span", {
2323
+ onClick: p[8] || (p[8] = (a) => L("factorScreen"))
2138
2324
  }, "不限")
2139
2325
  ]),
2140
- p(en, {
2141
- data: a.value.factorScreen,
2142
- "onUpdate:data": r[9] || (r[9] = (d) => a.value.factorScreen = d),
2143
- config: i.value.factorScreen
2326
+ u(el, {
2327
+ data: i.value.factorScreen,
2328
+ "onUpdate:data": p[9] || (p[9] = (a) => i.value.factorScreen = a),
2329
+ config: d.value.factorScreen
2144
2330
  }, null, 8, ["data", "config"])
2145
2331
  ])) : q("", !0),
2146
- p(In, {
2147
- data: a.value.commonIndicator,
2148
- "onUpdate:data": r[10] || (r[10] = (d) => a.value.commonIndicator = d),
2149
- varietyMarket: a.value.varietyMarket,
2150
- commonOption: a.value.commonOption,
2151
- config: i.value.commonIndicator
2332
+ u(Ol, {
2333
+ data: i.value.commonIndicator,
2334
+ "onUpdate:data": p[10] || (p[10] = (a) => i.value.commonIndicator = a),
2335
+ varietyMarket: i.value.varietyMarket,
2336
+ commonOption: i.value.commonOption,
2337
+ config: d.value.commonIndicator
2152
2338
  }, null, 8, ["data", "varietyMarket", "commonOption", "config"])
2153
2339
  ]);
2154
2340
  };
2155
2341
  }
2156
- }, Bn = /* @__PURE__ */ be(Pn, [["__scopeId", "data-v-afc8efda"]]), gl = {
2157
- install(s) {
2158
- s.component("st-varietySearch", Bn);
2342
+ }, Pl = /* @__PURE__ */ ke(Rl, [["__scopeId", "data-v-3d6e5358"]]), gn = {
2343
+ install(r) {
2344
+ r.component("st-varietySearch", Pl);
2159
2345
  }
2160
2346
  };
2161
2347
  export {
2162
- gl as default
2348
+ gn as default
2163
2349
  };