st-comp 0.0.155 → 0.0.157

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,25 +1,25 @@
1
- import { b as ne, i as $e, a as Oe, c as Ie, A as we, u as ce, _ as pe, e as Ae, w as Ke, s as Re } from "./base-19787dfb.js";
1
+ import { b as ne, i as xe, a as $e, c as Oe, A as Ie, u as de, _ as ce, e as Je, w as Ae, s as Ce } from "./base-19787dfb.js";
2
2
  import "./el-tag-7414e0c7.js";
3
- import { E as ve, a as me } from "./el-select-7395562b.js";
3
+ import { E as pe, a as ve } from "./el-select-7395562b.js";
4
4
  import "./el-scrollbar-29bcab5f.js";
5
- import { u as Qe, E as Ze } from "./el-popper-b6527ae2.js";
6
- import { E as He } from "./el-checkbox-group-d53bc316.js";
7
- import { b as We, c as Xe, E as el, a as ll } from "./el-table-column-47d80736.js";
8
- import { ref as W, inject as tl, computed as G, defineComponent as ee, openBlock as o, createElementBlock as b, normalizeClass as H, unref as g, createElementVNode as k, withDirectives as fe, isRef as Se, withModifiers as te, vModelRadio as Ue, renderSlot as ye, createTextVNode as E, toDisplayString as Q, nextTick as Ee, normalizeStyle as al, onMounted as nl, provide as ol, reactive as ul, toRefs as rl, watch as ae, mergeModels as oe, useModel as ue, createBlock as L, withCtx as s, createVNode as t, Fragment as U, createCommentVNode as N, renderList as z, pushScopeId as ge, popScopeId as be, createSlots as ie, vShow as sl } from "vue";
9
- import { E as ke } from "./el-overlay-26bf0945.js";
10
- import { E as il, a as dl } from "./el-form-item-05c0e335.js";
11
- import { E as Me } from "./el-input-1e309239.js";
12
- import { E as qe } from "./el-input-number-60ebc58f.js";
5
+ import { u as Ke, E as Qe } from "./el-popper-b6527ae2.js";
6
+ import { E as Ze } from "./el-checkbox-group-d53bc316.js";
7
+ import { b as He, c as We, E as Xe, a as el } from "./el-table-column-47d80736.js";
8
+ import { ref as W, inject as ll, computed as G, defineComponent as ee, openBlock as o, createElementBlock as b, normalizeClass as H, unref as g, createElementVNode as k, withDirectives as me, isRef as Se, withModifiers as te, vModelRadio as Ue, renderSlot as fe, createTextVNode as E, toDisplayString as Q, nextTick as Re, normalizeStyle as tl, onMounted as al, provide as nl, reactive as ol, toRefs as ul, watch as ae, mergeModels as oe, useModel as ue, createBlock as L, withCtx as s, createVNode as t, Fragment as R, createCommentVNode as z, renderList as P, pushScopeId as ye, popScopeId as ge, createSlots as se, vShow as rl } from "vue";
9
+ import { E as be } from "./el-overlay-26bf0945.js";
10
+ import { E as sl, a as il } from "./el-form-item-05c0e335.js";
11
+ import { E as Ee } from "./el-input-1e309239.js";
12
+ import { E as Me } from "./el-input-number-60ebc58f.js";
13
13
  import "./el-tooltip-4ed993c7.js";
14
- import { E as Fe } from "./el-button-0bf1d532.js";
15
- import { p as de, i as cl, h as pl, E as vl } from "./index-72151b24.js";
14
+ import { E as qe } from "./el-button-0bf1d532.js";
15
+ import { p as ie, i as dl, h as cl, E as pl } from "./index-72151b24.js";
16
16
  import { E as K } from "./el-message-7d927756.js";
17
- import { _ as _e } from "./_plugin-vue_export-helper-dad06003.js";
18
- import { E as De } from "./index-273822d1.js";
19
- import { u as Le, a as ml, b as fl, d as yl, e as gl } from "./use-form-common-props-5ff2f51b.js";
20
- import { U as Ve, C as bl } from "./index-621b092b.js";
21
- import { a as kl } from "./index-c066fe0d.js";
22
- import { u as _l } from "./index-70372cdb.js";
17
+ import { _ as ke } from "./_plugin-vue_export-helper-dad06003.js";
18
+ import { E as Fe } from "./index-273822d1.js";
19
+ import { u as De, a as vl, b as ml, d as fl, e as yl } from "./use-form-common-props-5ff2f51b.js";
20
+ import { U as _e, C as gl } from "./index-621b092b.js";
21
+ import { a as bl } from "./index-c066fe0d.js";
22
+ import { u as kl } from "./index-70372cdb.js";
23
23
  import "./castArray-8405000b.js";
24
24
  import "./index-dc22ffe4.js";
25
25
  import "./scroll-d787d648.js";
@@ -30,12 +30,12 @@ import "./vnode-6a0c7411.js";
30
30
  import "./typescript-7ae59c4c.js";
31
31
  import "./index-657047bb.js";
32
32
  import "./config-provider-0f6672af.js";
33
- const je = ne({
33
+ const Le = ne({
34
34
  modelValue: {
35
35
  type: [String, Number, Boolean],
36
36
  default: void 0
37
37
  },
38
- size: Le,
38
+ size: De,
39
39
  disabled: Boolean,
40
40
  label: {
41
41
  type: [String, Number, Boolean],
@@ -49,48 +49,48 @@ const je = ne({
49
49
  type: String,
50
50
  default: void 0
51
51
  }
52
- }), Vl = ne({
53
- ...je,
52
+ }), _l = ne({
53
+ ...Le,
54
54
  border: Boolean
55
- }), Ne = {
56
- [Ve]: (p) => $e(p) || Oe(p) || Ie(p),
57
- [bl]: (p) => $e(p) || Oe(p) || Ie(p)
58
- }, ze = Symbol("radioGroupKey"), Pe = (p, R) => {
59
- const $ = W(), a = tl(ze, void 0), x = G(() => !!a), q = G(() => we(p.value) ? p.label : p.value), h = G({
55
+ }), je = {
56
+ [_e]: (p) => xe(p) || $e(p) || Oe(p),
57
+ [gl]: (p) => xe(p) || $e(p) || Oe(p)
58
+ }, Ne = Symbol("radioGroupKey"), ze = (p, S) => {
59
+ const O = W(), a = ll(Ne, void 0), x = G(() => !!a), q = G(() => Ie(p.value) ? p.label : p.value), h = G({
60
60
  get() {
61
61
  return x.value ? a.modelValue : p.modelValue;
62
62
  },
63
63
  set(d) {
64
- x.value ? a.changeEvent(d) : R && R(Ve, d), $.value.checked = p.modelValue === q.value;
64
+ x.value ? a.changeEvent(d) : S && S(_e, d), O.value.checked = p.modelValue === q.value;
65
65
  }
66
- }), O = ml(G(() => a == null ? void 0 : a.size)), e = fl(G(() => a == null ? void 0 : a.disabled)), B = W(!1), j = G(() => e.value || x.value && h.value !== q.value ? -1 : 0);
67
- return kl({
66
+ }), $ = vl(G(() => a == null ? void 0 : a.size)), e = ml(G(() => a == null ? void 0 : a.disabled)), B = W(!1), j = G(() => e.value || x.value && h.value !== q.value ? -1 : 0);
67
+ return bl({
68
68
  from: "label act as value",
69
69
  replacement: "value",
70
70
  version: "3.0.0",
71
71
  scope: "el-radio",
72
72
  ref: "https://element-plus.org/en-US/component/radio.html"
73
- }, G(() => x.value && we(p.value))), {
74
- radioRef: $,
73
+ }, G(() => x.value && Ie(p.value))), {
74
+ radioRef: O,
75
75
  isGroup: x,
76
76
  radioGroup: a,
77
77
  focus: B,
78
- size: O,
78
+ size: $,
79
79
  disabled: e,
80
80
  tabIndex: j,
81
81
  modelValue: h,
82
82
  actualValue: q
83
83
  };
84
- }, hl = ee({
84
+ }, Vl = ee({
85
85
  name: "ElRadio"
86
- }), xl = /* @__PURE__ */ ee({
87
- ...hl,
88
- props: Vl,
89
- emits: Ne,
90
- setup(p, { emit: R }) {
91
- const $ = p, a = ce("radio"), { radioRef: x, radioGroup: q, focus: h, size: O, disabled: e, modelValue: B, actualValue: j } = Pe($, R);
86
+ }), hl = /* @__PURE__ */ ee({
87
+ ...Vl,
88
+ props: _l,
89
+ emits: je,
90
+ setup(p, { emit: S }) {
91
+ const O = p, a = de("radio"), { radioRef: x, radioGroup: q, focus: h, size: $, disabled: e, modelValue: B, actualValue: j } = ze(O, S);
92
92
  function d() {
93
- Ee(() => R("change", B.value));
93
+ Re(() => S("change", B.value));
94
94
  }
95
95
  return (n, M) => {
96
96
  var I;
@@ -101,7 +101,7 @@ const je = ne({
101
101
  g(a).is("focus", g(h)),
102
102
  g(a).is("bordered", n.border),
103
103
  g(a).is("checked", g(B) === g(j)),
104
- g(a).m(g(O))
104
+ g(a).m(g($))
105
105
  ])
106
106
  }, [
107
107
  k("span", {
@@ -111,7 +111,7 @@ const je = ne({
111
111
  g(a).is("checked", g(B) === g(j))
112
112
  ])
113
113
  }, [
114
- fe(k("input", {
114
+ me(k("input", {
115
115
  ref_key: "radioRef",
116
116
  ref: x,
117
117
  "onUpdate:modelValue": (V) => Se(B) ? B.value = V : null,
@@ -138,7 +138,7 @@ const je = ne({
138
138
  onKeydown: te(() => {
139
139
  }, ["stop"])
140
140
  }, [
141
- ye(n.$slots, "default", {}, () => [
141
+ fe(n.$slots, "default", {}, () => [
142
142
  E(Q(n.label), 1)
143
143
  ])
144
144
  ], 42, ["onKeydown"])
@@ -146,16 +146,16 @@ const je = ne({
146
146
  };
147
147
  }
148
148
  });
149
- var $l = /* @__PURE__ */ pe(xl, [["__file", "radio.vue"]]);
150
- const Ol = ne({
151
- ...je
152
- }), Il = ee({
149
+ var xl = /* @__PURE__ */ ce(hl, [["__file", "radio.vue"]]);
150
+ const $l = ne({
151
+ ...Le
152
+ }), Ol = ee({
153
153
  name: "ElRadioButton"
154
- }), wl = /* @__PURE__ */ ee({
155
- ...Il,
156
- props: Ol,
154
+ }), Il = /* @__PURE__ */ ee({
155
+ ...Ol,
156
+ props: $l,
157
157
  setup(p) {
158
- const R = p, $ = ce("radio"), { radioRef: a, focus: x, size: q, disabled: h, modelValue: O, radioGroup: e, actualValue: B } = Pe(R), j = G(() => ({
158
+ const S = p, O = de("radio"), { radioRef: a, focus: x, size: q, disabled: h, modelValue: $, radioGroup: e, actualValue: B } = ze(S), j = G(() => ({
159
159
  backgroundColor: (e == null ? void 0 : e.fill) || "",
160
160
  borderColor: (e == null ? void 0 : e.fill) || "",
161
161
  boxShadow: e != null && e.fill ? `-1px 0 0 0 ${e.fill}` : "",
@@ -165,18 +165,18 @@ const Ol = ne({
165
165
  var M;
166
166
  return o(), b("label", {
167
167
  class: H([
168
- g($).b("button"),
169
- g($).is("active", g(O) === g(B)),
170
- g($).is("disabled", g(h)),
171
- g($).is("focus", g(x)),
172
- g($).bm("button", g(q))
168
+ g(O).b("button"),
169
+ g(O).is("active", g($) === g(B)),
170
+ g(O).is("disabled", g(h)),
171
+ g(O).is("focus", g(x)),
172
+ g(O).bm("button", g(q))
173
173
  ])
174
174
  }, [
175
- fe(k("input", {
175
+ me(k("input", {
176
176
  ref_key: "radioRef",
177
177
  ref: a,
178
- "onUpdate:modelValue": (I) => Se(O) ? O.value = I : null,
179
- class: H(g($).be("button", "original-radio")),
178
+ "onUpdate:modelValue": (I) => Se($) ? $.value = I : null,
179
+ class: H(g(O).be("button", "original-radio")),
180
180
  value: g(B),
181
181
  type: "radio",
182
182
  name: d.name || ((M = g(e)) == null ? void 0 : M.name),
@@ -186,15 +186,15 @@ const Ol = ne({
186
186
  onClick: te(() => {
187
187
  }, ["stop"])
188
188
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
189
- [Ue, g(O)]
189
+ [Ue, g($)]
190
190
  ]),
191
191
  k("span", {
192
- class: H(g($).be("button", "inner")),
193
- style: al(g(O) === g(B) ? g(j) : {}),
192
+ class: H(g(O).be("button", "inner")),
193
+ style: tl(g($) === g(B) ? g(j) : {}),
194
194
  onKeydown: te(() => {
195
195
  }, ["stop"])
196
196
  }, [
197
- ye(d.$slots, "default", {}, () => [
197
+ fe(d.$slots, "default", {}, () => [
198
198
  E(Q(d.label), 1)
199
199
  ])
200
200
  ], 46, ["onKeydown"])
@@ -202,13 +202,13 @@ const Ol = ne({
202
202
  };
203
203
  }
204
204
  });
205
- var Be = /* @__PURE__ */ pe(wl, [["__file", "radio-button.vue"]]);
206
- const Tl = ne({
205
+ var Pe = /* @__PURE__ */ ce(Il, [["__file", "radio-button.vue"]]);
206
+ const wl = ne({
207
207
  id: {
208
208
  type: String,
209
209
  default: void 0
210
210
  },
211
- size: Le,
211
+ size: De,
212
212
  disabled: Boolean,
213
213
  modelValue: {
214
214
  type: [String, Number, Boolean],
@@ -230,32 +230,32 @@ const Tl = ne({
230
230
  type: Boolean,
231
231
  default: !0
232
232
  },
233
- ...Qe(["ariaLabel"])
234
- }), Cl = Ne, Rl = ee({
233
+ ...Ke(["ariaLabel"])
234
+ }), Tl = je, Cl = ee({
235
235
  name: "ElRadioGroup"
236
236
  }), Sl = /* @__PURE__ */ ee({
237
- ...Rl,
238
- props: Tl,
239
- emits: Cl,
240
- setup(p, { emit: R }) {
241
- const $ = p, a = ce("radio"), x = _l(), q = W(), { formItem: h } = yl(), { inputId: O, isLabeledByFormItem: e } = gl($, {
237
+ ...Cl,
238
+ props: wl,
239
+ emits: Tl,
240
+ setup(p, { emit: S }) {
241
+ const O = p, a = de("radio"), x = kl(), q = W(), { formItem: h } = fl(), { inputId: $, isLabeledByFormItem: e } = yl(O, {
242
242
  formItemContext: h
243
243
  }), B = (d) => {
244
- R(Ve, d), Ee(() => R("change", d));
244
+ S(_e, d), Re(() => S("change", d));
245
245
  };
246
- nl(() => {
246
+ al(() => {
247
247
  const d = q.value.querySelectorAll("[type=radio]"), n = d[0];
248
248
  !Array.from(d).some((M) => M.checked) && n && (n.tabIndex = 0);
249
249
  });
250
- const j = G(() => $.name || x.value);
251
- return ol(ze, ul({
252
- ...rl($),
250
+ const j = G(() => O.name || x.value);
251
+ return nl(Ne, ol({
252
+ ...ul(O),
253
253
  changeEvent: B,
254
254
  name: j
255
- })), ae(() => $.modelValue, () => {
256
- $.validateEvent && (h == null || h.validate("change").catch((d) => Ae(d)));
255
+ })), ae(() => O.modelValue, () => {
256
+ O.validateEvent && (h == null || h.validate("change").catch((d) => Je(d)));
257
257
  }), (d, n) => (o(), b("div", {
258
- id: g(O),
258
+ id: g($),
259
259
  ref_key: "radioGroupRef",
260
260
  ref: q,
261
261
  class: H(g(a).b("group")),
@@ -263,16 +263,16 @@ const Tl = ne({
263
263
  "aria-label": g(e) ? void 0 : d.ariaLabel || "radio-group",
264
264
  "aria-labelledby": g(e) ? g(h).labelId : void 0
265
265
  }, [
266
- ye(d.$slots, "default")
266
+ fe(d.$slots, "default")
267
267
  ], 10, ["id", "aria-label", "aria-labelledby"]));
268
268
  }
269
269
  });
270
- var Ge = /* @__PURE__ */ pe(Sl, [["__file", "radio-group.vue"]]);
271
- const he = Ke($l, {
272
- RadioButton: Be,
273
- RadioGroup: Ge
274
- }), xe = Re(Ge), Ul = Re(Be);
275
- const Te = {
270
+ var Be = /* @__PURE__ */ ce(Sl, [["__file", "radio-group.vue"]]);
271
+ const Ve = Ae(xl, {
272
+ RadioButton: Pe,
273
+ RadioGroup: Be
274
+ }), he = Ce(Be), Ul = Ce(Pe);
275
+ const we = {
276
276
  // 品种市场 [选项: 预警字典1000]
277
277
  varietyMarket: {
278
278
  show: !0,
@@ -829,12 +829,12 @@ const Te = {
829
829
  }
830
830
  ]
831
831
  }
832
- }, El = (p, R, $) => {
833
- !R[0] && R[0] !== 0 && !R[1] && R[1] !== 0 ? $(new Error("至少填写一个分数")) : $();
834
- }, Ce = (p) => {
835
- const R = /(条件(\d+))/g;
836
- return p.match(R) || [];
837
- }, Ml = {
832
+ }, Rl = (p, S, O) => {
833
+ !S[0] && S[0] !== 0 && !S[1] && S[1] !== 0 ? O(new Error("至少填写一个分数")) : O();
834
+ }, Te = (p) => {
835
+ const S = /(条件(\d+))/g;
836
+ return p.match(S) || [];
837
+ }, El = {
838
838
  __name: "FactorDescription",
839
839
  props: /* @__PURE__ */ oe({
840
840
  data: { type: Array, default: [] }
@@ -844,12 +844,12 @@ const Te = {
844
844
  }),
845
845
  emits: ["update:visible"],
846
846
  setup(p) {
847
- const R = ue(p, "visible");
848
- return ($, a) => {
849
- const x = We, q = Xe, h = ke;
847
+ const S = ue(p, "visible");
848
+ return (O, a) => {
849
+ const x = He, q = We, h = be;
850
850
  return o(), L(h, {
851
- modelValue: R.value,
852
- "onUpdate:modelValue": a[0] || (a[0] = (O) => R.value = O),
851
+ modelValue: S.value,
852
+ "onUpdate:modelValue": a[0] || (a[0] = ($) => S.value = $),
853
853
  title: "因子使用说明",
854
854
  width: "1000",
855
855
  "align-center": "",
@@ -884,7 +884,7 @@ const Te = {
884
884
  };
885
885
  }
886
886
  };
887
- const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "factor-screen" }, Fl = { class: "custom-header" }, Dl = ["id"], Ll = { class: "form-row" }, jl = { class: "index" }, Nl = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, zl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ k("span", null, "~", -1)), Pl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ k("span", null, "&&代表and,||代表or", -1)), Bl = { class: "dialog-footer" }, Gl = {
887
+ const Ge = (p) => (ye("data-v-3592dee9"), p = p(), ge(), p), Ml = { class: "factor-screen" }, ql = { class: "custom-header" }, Fl = ["id"], Dl = { class: "form-row" }, Ll = { class: "index" }, jl = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Nl = /* @__PURE__ */ Ge(() => /* @__PURE__ */ k("span", null, "~", -1)), zl = /* @__PURE__ */ Ge(() => /* @__PURE__ */ k("span", null, "&&代表and,||代表or", -1)), Pl = { class: "dialog-footer" }, Bl = {
888
888
  __name: "index",
889
889
  props: /* @__PURE__ */ oe({
890
890
  config: {
@@ -916,11 +916,11 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
916
916
  }),
917
917
  emits: ["update:data"],
918
918
  setup(p) {
919
- const R = p, $ = ue(p, "data"), a = W(!1), x = W(!1), q = W(null), h = W({
919
+ const S = p, O = ue(p, "data"), a = W(!1), x = W(!1), q = W(null), h = W({
920
920
  // 筛选因子列表
921
921
  list: [
922
922
  {
923
- cycle: R.config.cycleDefault ?? null,
923
+ cycle: S.config.cycleDefault ?? null,
924
924
  // 周期
925
925
  factor: null,
926
926
  // 因子
@@ -932,8 +932,8 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
932
932
  sqlEnable: 0,
933
933
  // SQL语句
934
934
  sqlValue: null
935
- }), O = () => {
936
- const { list: I, sqlEnable: V, sqlValue: v } = $.value;
935
+ }), $ = () => {
936
+ const { list: I, sqlEnable: V, sqlValue: v } = O.value;
937
937
  h.value = {
938
938
  list: JSON.parse(JSON.stringify(I)),
939
939
  sqlEnable: V,
@@ -946,11 +946,11 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
946
946
  if (v) {
947
947
  if (!l)
948
948
  return K.error("SQL语句不能为空");
949
- const _ = Ce(l), c = V.map((i, T) => `条件${T + 1}`), m = _.filter((i) => !c.includes(i));
949
+ const _ = Te(l), c = V.map((i, T) => `条件${T + 1}`), m = _.filter((i) => !c.includes(i));
950
950
  if (m.length)
951
951
  return K.error(`请检查SQL语句, 不存在[${m}]`);
952
952
  }
953
- $.value = {
953
+ O.value = {
954
954
  list: JSON.parse(JSON.stringify(V)),
955
955
  sqlEnable: v,
956
956
  sqlValue: l
@@ -964,17 +964,17 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
964
964
  case "compare": {
965
965
  h.value.list.push({
966
966
  key: "compare",
967
- cycle: R.config.cycleDefault ?? null,
967
+ cycle: S.config.cycleDefault ?? null,
968
968
  factor: null,
969
969
  compareType: ">",
970
- cycle2: R.config.cycleDefault ?? null,
970
+ cycle2: S.config.cycleDefault ?? null,
971
971
  factor2: null
972
972
  });
973
973
  break;
974
974
  }
975
975
  default: {
976
976
  h.value.list.push({
977
- cycle: R.config.cycleDefault ?? null,
977
+ cycle: S.config.cycleDefault ?? null,
978
978
  factor: null,
979
979
  score: [null, null]
980
980
  });
@@ -985,7 +985,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
985
985
  q.value.validate((I) => {
986
986
  if (I)
987
987
  if (h.value.sqlValue) {
988
- const V = Ce(h.value.sqlValue);
988
+ const V = Te(h.value.sqlValue);
989
989
  h.value.sqlValue = h.value.list.reduce((v, l, _) => (V.includes(`条件${_ + 1}`) || (v += `&& 条件${_ + 1} `), v), h.value.sqlValue);
990
990
  } else
991
991
  h.value.sqlValue = h.value.list.reduce((V, v, l) => (l === 0 ? V += `条件${l + 1} ` : V += `&& 条件${l + 1} `, V), "");
@@ -995,18 +995,18 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
995
995
  case "compare": {
996
996
  const { cycle: V, factor: v, compareType: l, cycle2: _, factor2: c } = I;
997
997
  let m = "";
998
- return m += ` ${R.config.cycleOptions.find(({ value: i }) => i === V).label}`, m += ` ${R.config.factorOptions.find(({ value: i }) => i === v).label}`, m += ` ${l}`, m += ` ${R.config.cycleOptions.find(({ value: i }) => i === _).label}`, m += ` ${R.config.factorOptions.find(({ value: i }) => i === c).label}`, m;
998
+ return m += ` ${S.config.cycleOptions.find(({ value: i }) => i === V).label}`, m += ` ${S.config.factorOptions.find(({ value: i }) => i === v).label}`, m += ` ${l}`, m += ` ${S.config.cycleOptions.find(({ value: i }) => i === _).label}`, m += ` ${S.config.factorOptions.find(({ value: i }) => i === c).label}`, m;
999
999
  }
1000
1000
  default: {
1001
1001
  const { cycle: V, factor: v, score: l } = I;
1002
1002
  let _ = "";
1003
- return _ += ` ${R.config.cycleOptions.find(({ value: c }) => c === V).label}`, _ += ` ${R.config.factorOptions.find(({ value: c }) => c === v).label}`, _ += ` ${l[0] || l[0] === 0 ? `${l[0]}分` : "∞"}`, _ += " ~", _ += ` ${l[1] || l[1] === 0 ? `${l[1]}分` : "∞"}`, _;
1003
+ return _ += ` ${S.config.cycleOptions.find(({ value: c }) => c === V).label}`, _ += ` ${S.config.factorOptions.find(({ value: c }) => c === v).label}`, _ += ` ${l[0] || l[0] === 0 ? `${l[0]}分` : "∞"}`, _ += " ~", _ += ` ${l[1] || l[1] === 0 ? `${l[1]}分` : "∞"}`, _;
1004
1004
  }
1005
1005
  }
1006
1006
  }, M = (I, V) => {
1007
1007
  switch (I) {
1008
1008
  case "sqlTag": {
1009
- $.value = {
1009
+ O.value = {
1010
1010
  list: [],
1011
1011
  sqlEnable: 0,
1012
1012
  sqlValue: null
@@ -1014,22 +1014,22 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1014
1014
  break;
1015
1015
  }
1016
1016
  case "factorTag": {
1017
- $.value.list.splice(V, 1);
1017
+ O.value.list.splice(V, 1);
1018
1018
  break;
1019
1019
  }
1020
1020
  }
1021
1021
  };
1022
1022
  return (I, V) => {
1023
1023
  var X;
1024
- const v = He, l = De, _ = Fe, c = vl, m = Ze, i = ve, T = me, y = il, F = qe, u = he, D = xe, f = Me, S = dl, r = ke;
1025
- return o(), b(U, null, [
1026
- k("div", ql, [
1024
+ const v = Ze, l = Fe, _ = qe, c = pl, m = Qe, i = pe, T = ve, y = sl, F = Me, u = Ve, D = he, f = Ee, U = il, r = be;
1025
+ return o(), b(R, null, [
1026
+ k("div", Ml, [
1027
1027
  k("div", null, [
1028
- $.value.sqlEnable && $.value.sqlValue ? (o(), L(l, {
1028
+ O.value.sqlEnable && O.value.sqlValue ? (o(), L(l, {
1029
1029
  key: 0,
1030
1030
  closable: "",
1031
1031
  type: "info",
1032
- title: $.value.sqlValue,
1032
+ title: O.value.sqlValue,
1033
1033
  onClose: V[0] || (V[0] = (C) => M("sqlTag"))
1034
1034
  }, {
1035
1035
  default: s(() => [
@@ -1039,14 +1039,14 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1039
1039
  style: { "max-width": "500px" }
1040
1040
  }, {
1041
1041
  default: s(() => [
1042
- E(Q($.value.sqlValue), 1)
1042
+ E(Q(O.value.sqlValue), 1)
1043
1043
  ]),
1044
1044
  _: 1
1045
1045
  })
1046
1046
  ]),
1047
1047
  _: 1
1048
- }, 8, ["title"])) : N("", !0),
1049
- !$.value.sqlEnable && $.value.list.length ? (o(!0), b(U, { key: 1 }, z($.value.list, (C, Y) => (o(), L(l, {
1048
+ }, 8, ["title"])) : z("", !0),
1049
+ !O.value.sqlEnable && O.value.list.length ? (o(!0), b(R, { key: 1 }, P(O.value.list, (C, Y) => (o(), L(l, {
1050
1050
  closable: "",
1051
1051
  type: "info",
1052
1052
  onClose: (w) => M("factorTag", Y)
@@ -1055,14 +1055,14 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1055
1055
  E(Q(n(C)), 1)
1056
1056
  ]),
1057
1057
  _: 2
1058
- }, 1032, ["onClose"]))), 256)) : N("", !0),
1058
+ }, 1032, ["onClose"]))), 256)) : z("", !0),
1059
1059
  t(_, {
1060
1060
  class: "screen-btn",
1061
1061
  type: "primary",
1062
1062
  plain: "",
1063
1063
  size: "small",
1064
- icon: g(de),
1065
- onClick: O
1064
+ icon: g(ie),
1065
+ onClick: $
1066
1066
  }, {
1067
1067
  default: s(() => [
1068
1068
  E(" 添加因子 ")
@@ -1078,11 +1078,11 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1078
1078
  "destroy-on-close": ""
1079
1079
  }, {
1080
1080
  header: s(({ titleId: C, titleClass: Y }) => [
1081
- k("div", Fl, [
1081
+ k("div", ql, [
1082
1082
  k("span", {
1083
1083
  id: C,
1084
1084
  class: H(Y)
1085
- }, " 因子筛选 ", 10, Dl),
1085
+ }, " 因子筛选 ", 10, Fl),
1086
1086
  t(m, {
1087
1087
  effect: "dark",
1088
1088
  content: "点击查看: 因子使用说明",
@@ -1093,7 +1093,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1093
1093
  onClick: V[1] || (V[1] = (w) => x.value = !0)
1094
1094
  }, {
1095
1095
  default: s(() => [
1096
- t(g(cl))
1096
+ t(g(dl))
1097
1097
  ]),
1098
1098
  _: 1
1099
1099
  })
@@ -1103,7 +1103,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1103
1103
  ])
1104
1104
  ]),
1105
1105
  footer: s(() => [
1106
- k("div", Bl, [
1106
+ k("div", Pl, [
1107
1107
  t(_, {
1108
1108
  type: "primary",
1109
1109
  onClick: e
@@ -1116,15 +1116,15 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1116
1116
  ])
1117
1117
  ]),
1118
1118
  default: s(() => [
1119
- t(S, {
1119
+ t(U, {
1120
1120
  ref_key: "dialogFormRef",
1121
1121
  ref: q,
1122
1122
  model: h.value
1123
1123
  }, {
1124
1124
  default: s(() => [
1125
- (o(!0), b(U, null, z(h.value.list, (C, Y) => (o(), b("div", Ll, [
1126
- k("span", jl, Q(`条件${Y + 1}`), 1),
1127
- C.key === "compare" ? (o(), b(U, { key: 0 }, [
1125
+ (o(!0), b(R, null, P(h.value.list, (C, Y) => (o(), b("div", Dl, [
1126
+ k("span", Ll, Q(`条件${Y + 1}`), 1),
1127
+ C.key === "compare" ? (o(), b(R, { key: 0 }, [
1128
1128
  p.config.cycleShow ? (o(), L(y, {
1129
1129
  key: 0,
1130
1130
  prop: "list." + Y + ".cycle",
@@ -1139,17 +1139,17 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1139
1139
  size: "small"
1140
1140
  }, {
1141
1141
  default: s(() => [
1142
- (o(!0), b(U, null, z(p.config.cycleOptions, ({ label: w, value: P }) => (o(), L(i, {
1142
+ (o(!0), b(R, null, P(p.config.cycleOptions, ({ label: w, value: N }) => (o(), L(i, {
1143
1143
  label: w,
1144
- value: P,
1145
- key: P
1144
+ value: N,
1145
+ key: N
1146
1146
  }, null, 8, ["label", "value"]))), 128))
1147
1147
  ]),
1148
1148
  _: 2
1149
1149
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1150
1150
  ]),
1151
1151
  _: 2
1152
- }, 1032, ["prop"])) : N("", !0),
1152
+ }, 1032, ["prop"])) : z("", !0),
1153
1153
  t(y, {
1154
1154
  prop: "list." + Y + ".factor",
1155
1155
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
@@ -1167,8 +1167,8 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1167
1167
  default: s(() => {
1168
1168
  var w;
1169
1169
  return [
1170
- (o(!0), b(U, null, z((w = p.config.factorOptions) == null ? void 0 : w.filter((P) => [4].includes(P.type)), ({ label: P, value: Z }) => (o(), L(i, {
1171
- label: P,
1170
+ (o(!0), b(R, null, P((w = p.config.factorOptions) == null ? void 0 : w.filter((N) => [4].includes(N.type)), ({ label: N, value: Z }) => (o(), L(i, {
1171
+ label: N,
1172
1172
  value: Z,
1173
1173
  key: Z
1174
1174
  }, null, 8, ["label", "value"]))), 128))
@@ -1187,7 +1187,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1187
1187
  size: "small"
1188
1188
  }, {
1189
1189
  default: s(() => [
1190
- (o(), b(U, null, z([">", ">=", "<", "<="], (w) => t(i, {
1190
+ (o(), b(R, null, P([">", ">=", "<", "<="], (w) => t(i, {
1191
1191
  label: w,
1192
1192
  value: w,
1193
1193
  key: w
@@ -1212,17 +1212,17 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1212
1212
  size: "small"
1213
1213
  }, {
1214
1214
  default: s(() => [
1215
- (o(!0), b(U, null, z(p.config.cycleOptions, ({ label: w, value: P }) => (o(), L(i, {
1215
+ (o(!0), b(R, null, P(p.config.cycleOptions, ({ label: w, value: N }) => (o(), L(i, {
1216
1216
  label: w,
1217
- value: P,
1218
- key: P
1217
+ value: N,
1218
+ key: N
1219
1219
  }, null, 8, ["label", "value"]))), 128))
1220
1220
  ]),
1221
1221
  _: 2
1222
1222
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1223
1223
  ]),
1224
1224
  _: 2
1225
- }, 1032, ["prop"])) : N("", !0),
1225
+ }, 1032, ["prop"])) : z("", !0),
1226
1226
  t(y, {
1227
1227
  prop: "list." + Y + ".factor2",
1228
1228
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
@@ -1240,8 +1240,8 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1240
1240
  default: s(() => {
1241
1241
  var w;
1242
1242
  return [
1243
- (o(!0), b(U, null, z((w = p.config.factorOptions) == null ? void 0 : w.filter((P) => [4].includes(P.type)), ({ label: P, value: Z }) => (o(), L(i, {
1244
- label: P,
1243
+ (o(!0), b(R, null, P((w = p.config.factorOptions) == null ? void 0 : w.filter((N) => [4].includes(N.type)), ({ label: N, value: Z }) => (o(), L(i, {
1244
+ label: N,
1245
1245
  value: Z,
1246
1246
  key: Z
1247
1247
  }, null, 8, ["label", "value"]))), 128))
@@ -1252,7 +1252,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1252
1252
  ]),
1253
1253
  _: 2
1254
1254
  }, 1032, ["prop"])
1255
- ], 64)) : (o(), b(U, { key: 1 }, [
1255
+ ], 64)) : (o(), b(R, { key: 1 }, [
1256
1256
  p.config.cycleShow ? (o(), L(y, {
1257
1257
  key: 0,
1258
1258
  prop: "list." + Y + ".cycle",
@@ -1267,17 +1267,17 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1267
1267
  size: "small"
1268
1268
  }, {
1269
1269
  default: s(() => [
1270
- (o(!0), b(U, null, z(p.config.cycleOptions, ({ label: w, value: P }) => (o(), L(i, {
1270
+ (o(!0), b(R, null, P(p.config.cycleOptions, ({ label: w, value: N }) => (o(), L(i, {
1271
1271
  label: w,
1272
- value: P,
1273
- key: P
1272
+ value: N,
1273
+ key: N
1274
1274
  }, null, 8, ["label", "value"]))), 128))
1275
1275
  ]),
1276
1276
  _: 2
1277
1277
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1278
1278
  ]),
1279
1279
  _: 2
1280
- }, 1032, ["prop"])) : N("", !0),
1280
+ }, 1032, ["prop"])) : z("", !0),
1281
1281
  t(y, {
1282
1282
  prop: "list." + Y + ".factor",
1283
1283
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
@@ -1295,8 +1295,8 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1295
1295
  default: s(() => {
1296
1296
  var w;
1297
1297
  return [
1298
- (o(!0), b(U, null, z((w = p.config.factorOptions) == null ? void 0 : w.filter((P) => [1, 3].includes(P.type)), ({ label: P, value: Z }) => (o(), L(i, {
1299
- label: P,
1298
+ (o(!0), b(R, null, P((w = p.config.factorOptions) == null ? void 0 : w.filter((N) => [1, 3].includes(N.type)), ({ label: N, value: Z }) => (o(), L(i, {
1299
+ label: N,
1300
1300
  value: Z,
1301
1301
  key: Z
1302
1302
  }, null, 8, ["label", "value"]))), 128))
@@ -1309,18 +1309,18 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1309
1309
  }, 1032, ["prop"]),
1310
1310
  t(y, {
1311
1311
  prop: "list." + Y + ".score",
1312
- rules: { validator: g(El), trigger: "blur" },
1312
+ rules: { validator: g(Rl), trigger: "blur" },
1313
1313
  style: { width: "200px", "margin-right": "10px" }
1314
1314
  }, {
1315
1315
  default: s(() => [
1316
- k("div", Nl, [
1316
+ k("div", jl, [
1317
1317
  t(F, {
1318
1318
  modelValue: C.score[0],
1319
1319
  "onUpdate:modelValue": (w) => C.score[0] = w,
1320
1320
  size: "small",
1321
1321
  "controls-position": "right"
1322
1322
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1323
- zl,
1323
+ Nl,
1324
1324
  t(F, {
1325
1325
  modelValue: C.score[1],
1326
1326
  "onUpdate:modelValue": (w) => C.score[1] = w,
@@ -1336,7 +1336,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1336
1336
  onClick: (w) => B(Y)
1337
1337
  }, {
1338
1338
  default: s(() => [
1339
- t(g(pl))
1339
+ t(g(cl))
1340
1340
  ]),
1341
1341
  _: 2
1342
1342
  }, 1032, ["onClick"])
@@ -1345,7 +1345,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1345
1345
  type: "primary",
1346
1346
  plain: "",
1347
1347
  size: "small",
1348
- icon: g(de),
1348
+ icon: g(ie),
1349
1349
  onClick: j,
1350
1350
  style: { "margin-bottom": "10px" }
1351
1351
  }, {
@@ -1358,7 +1358,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1358
1358
  type: "primary",
1359
1359
  plain: "",
1360
1360
  size: "small",
1361
- icon: g(de),
1361
+ icon: g(ie),
1362
1362
  onClick: V[2] || (V[2] = (C) => j("compare")),
1363
1363
  style: { "margin-bottom": "10px" }
1364
1364
  }, {
@@ -1367,7 +1367,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1367
1367
  ]),
1368
1368
  _: 1
1369
1369
  }, 8, ["icon"]),
1370
- p.config.sqlShow ? (o(), b(U, { key: 0 }, [
1370
+ p.config.sqlShow ? (o(), b(R, { key: 0 }, [
1371
1371
  t(y, { label: "SQL功能: " }, {
1372
1372
  default: s(() => [
1373
1373
  t(D, {
@@ -1397,11 +1397,11 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1397
1397
  E("生成SQL")
1398
1398
  ]),
1399
1399
  _: 1
1400
- })) : N("", !0)
1400
+ })) : z("", !0)
1401
1401
  ]),
1402
1402
  _: 1
1403
1403
  }),
1404
- h.value.sqlEnable ? (o(), b(U, { key: 0 }, [
1404
+ h.value.sqlEnable ? (o(), b(R, { key: 0 }, [
1405
1405
  t(f, {
1406
1406
  modelValue: h.value.sqlValue,
1407
1407
  "onUpdate:modelValue": V[4] || (V[4] = (C) => h.value.sqlValue = C),
@@ -1409,9 +1409,9 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1409
1409
  type: "textarea",
1410
1410
  style: { "margin-bottom": "10px" }
1411
1411
  }, null, 8, ["modelValue"]),
1412
- Pl
1413
- ], 64)) : N("", !0)
1414
- ], 64)) : N("", !0)
1412
+ zl
1413
+ ], 64)) : z("", !0)
1414
+ ], 64)) : z("", !0)
1415
1415
  ]),
1416
1416
  _: 1
1417
1417
  }, 8, ["model"])
@@ -1419,7 +1419,7 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1419
1419
  _: 1
1420
1420
  }, 8, ["modelValue"])
1421
1421
  ]),
1422
- t(Ml, {
1422
+ t(El, {
1423
1423
  visible: x.value,
1424
1424
  "onUpdate:visible": V[6] || (V[6] = (C) => x.value = C),
1425
1425
  data: (X = p.config.factorDescriptions) == null ? void 0 : X.filter((C) => [1, 3].includes(C.type))
@@ -1427,20 +1427,20 @@ const Ye = (p) => (ge("data-v-3592dee9"), p = p(), be(), p), ql = { class: "fact
1427
1427
  ], 64);
1428
1428
  };
1429
1429
  }
1430
- }, Yl = /* @__PURE__ */ _e(Gl, [["__scopeId", "data-v-3592dee9"]]);
1431
- const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1430
+ }, Gl = /* @__PURE__ */ ke(Bl, [["__scopeId", "data-v-3592dee9"]]);
1431
+ const re = (p) => (ye("data-v-89a5a02f"), p = p(), ge(), p), Yl = {
1432
1432
  key: 0,
1433
1433
  class: "common-indicator"
1434
- }, Al = { class: "indicator" }, Kl = /* @__PURE__ */ re(() => /* @__PURE__ */ k("div", { class: "title" }, [
1434
+ }, Jl = { class: "indicator" }, Al = /* @__PURE__ */ re(() => /* @__PURE__ */ k("div", { class: "title" }, [
1435
1435
  /* @__PURE__ */ k("span", null, "常用指标: "),
1436
1436
  /* @__PURE__ */ k("span", null, "不限")
1437
- ], -1)), Ql = { class: "options" }, Zl = ["onClick"], Hl = { class: "tags" }, Wl = ["onClick"], Xl = { style: { "font-size": "18px" } }, et = {
1437
+ ], -1)), Kl = { class: "options" }, Ql = ["onClick"], Zl = { class: "tags" }, Hl = ["onClick"], Wl = { style: { "font-size": "18px" } }, Xl = {
1438
1438
  key: 0,
1439
1439
  class: "out-box"
1440
- }, lt = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), tt = {
1440
+ }, et = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), lt = {
1441
1441
  key: 0,
1442
1442
  class: "convenient-option-box"
1443
- }, at = { class: "out-box" }, nt = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), ot = { key: 0 }, ut = { key: 0 }, rt = { key: 0 }, st = { key: 1 }, it = { class: "tFeaturelncomes-option-box" }, dt = { class: "tFeaturelncomes-out-box" }, ct = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), pt = { key: 2 }, vt = { key: 3 }, mt = { key: 4 }, ft = { key: 5 }, yt = { key: 6 }, gt = { style: { display: "flex", "align-items": "center" } }, bt = { class: "dialog-footer" }, kt = {
1443
+ }, tt = { class: "out-box" }, at = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), nt = { key: 0 }, ot = { key: 0 }, ut = { key: 0 }, rt = { key: 1 }, st = { class: "tFeaturelncomes-option-box" }, it = { class: "tFeaturelncomes-out-box" }, dt = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), ct = { key: 2 }, pt = { key: 3 }, vt = { key: 4 }, mt = { key: 5 }, ft = { key: 6 }, yt = { style: { display: "flex", "align-items": "center" } }, gt = { class: "dialog-footer" }, bt = {
1444
1444
  __name: "index",
1445
1445
  props: /* @__PURE__ */ oe({
1446
1446
  config: { type: Object, default: () => {
@@ -1455,13 +1455,13 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1455
1455
  }),
1456
1456
  emits: ["update:data"],
1457
1457
  setup(p) {
1458
- const R = [
1458
+ const S = [
1459
1459
  { label: "近2周", value: "1" },
1460
1460
  { label: "近1个月", value: "2" },
1461
1461
  { label: "近3个月", value: "3" },
1462
1462
  { label: "近6个月", value: "4" },
1463
1463
  { label: "近1年", value: "5" }
1464
- ], $ = ue(p, "data"), a = p, x = W(!1), q = G(() => {
1464
+ ], O = ue(p, "data"), a = p, x = W(!1), q = G(() => {
1465
1465
  var v;
1466
1466
  return (v = a.data.find((l) => l.radioType === "1")) == null ? void 0 : v.key;
1467
1467
  }), h = G(() => {
@@ -1470,8 +1470,8 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1470
1470
  const { commonOptionIds: _ } = l;
1471
1471
  return [.../* @__PURE__ */ new Set([..._, ...a.commonOption])].length !== [..._, ...a.commonOption].length;
1472
1472
  }))), v;
1473
- }), O = W({}), e = W({}), B = (v) => {
1474
- O.value = v;
1473
+ }), $ = W({}), e = W({}), B = (v) => {
1474
+ $.value = v;
1475
1475
  const l = {
1476
1476
  key: v.key,
1477
1477
  type: v.type,
@@ -1520,7 +1520,7 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1520
1520
  case "mainFlow": {
1521
1521
  e.value = {
1522
1522
  ...l,
1523
- mainFlowRadioType: "0",
1523
+ radioType: "0",
1524
1524
  rankRange: [null, null]
1525
1525
  };
1526
1526
  break;
@@ -1581,11 +1581,11 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1581
1581
  return K.warning("格式错误: 请选择时间");
1582
1582
  if (!(m != null && m.length))
1583
1583
  return K.warning("格式错误: 请选择分位");
1584
- e.value.tagText = `${_}: ${(l = R.find((i) => i.value === c)) == null ? void 0 : l.label}${m.map((i) => `${i}分位`).join("、")}`;
1584
+ e.value.tagText = `${_}: ${(l = S.find((i) => i.value === c)) == null ? void 0 : l.label}${m.map((i) => `${i}分位`).join("、")}`;
1585
1585
  break;
1586
1586
  }
1587
1587
  case "mainFlow": {
1588
- const { label: _, mainFlowRadioType: c, radio: m, rankRange: i } = e.value, T = (y) => {
1588
+ const { label: _, radioType: c, radio: m, rankRange: i } = e.value, T = (y) => {
1589
1589
  if (y === "" || y === null || y === void 0)
1590
1590
  return !1;
1591
1591
  const F = Number(y);
@@ -1615,12 +1615,12 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1615
1615
  !["", null].includes(i[0]) && !["", null].includes(i[1]) ? e.value.tagText = `${_}${m === "1" ? "排名" : ""}: ${i[0]}${T} ~ ${i[1]}${y}` : ["", null].includes(i[0]) ? e.value.tagText = `${_}${m === "1" ? "排名" : ""}: ≤${i[1]}${y}` : e.value.tagText = `${_}${m === "1" ? "排名" : ""}: ≥${i[0]}${T}`;
1616
1616
  }
1617
1617
  }
1618
- const v = $.value.findIndex(({ key: _ }) => _ === e.value.key);
1619
- v === -1 ? $.value.push(e.value) : $.value.splice(v, 1, e.value), x.value = !1;
1618
+ const v = O.value.findIndex(({ key: _ }) => _ === e.value.key);
1619
+ v === -1 ? O.value.push(e.value) : O.value.splice(v, 1, e.value), x.value = !1;
1620
1620
  }, d = (v) => {
1621
- O.value = h.value.find(({ key: l }) => l === v.key), e.value = JSON.parse(JSON.stringify(v)), x.value = !0;
1621
+ $.value = h.value.find(({ key: l }) => l === v.key), e.value = JSON.parse(JSON.stringify(v)), x.value = !0;
1622
1622
  }, n = (v) => {
1623
- $.value.splice(v, 1);
1623
+ O.value.splice(v, 1);
1624
1624
  }, M = (v) => {
1625
1625
  e.value.range = [...v.range], e.value.unit = [...v.unit];
1626
1626
  }, I = (v) => {
@@ -1671,50 +1671,50 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1671
1671
  ae(
1672
1672
  () => h.value,
1673
1673
  () => {
1674
- $.value.length && ($.value = $.value.filter(({ key: v }) => h.value.find((l) => l.key === v)));
1674
+ O.value.length && (O.value = O.value.filter(({ key: v }) => h.value.find((l) => l.key === v)));
1675
1675
  }
1676
1676
  );
1677
1677
  const V = () => {
1678
1678
  e.value.radio = null, e.value.rankRange = [null, null];
1679
1679
  };
1680
1680
  return (v, l) => {
1681
- const _ = De, c = Ul, m = xe, i = Me, T = Fe, y = ve, F = me, u = he, D = qe, f = ke;
1682
- return p.config.show && h.value.length ? (o(), b("div", Jl, [
1683
- k("div", Al, [
1684
- Kl,
1685
- k("div", Ql, [
1686
- (o(!0), b(U, null, z(h.value, (S) => (o(), b("span", {
1687
- key: S.key,
1688
- onClick: (r) => B(S)
1689
- }, Q(S.label), 9, Zl))), 128))
1681
+ const _ = Fe, c = Ul, m = he, i = Ee, T = qe, y = pe, F = ve, u = Ve, D = Me, f = be;
1682
+ return p.config.show && h.value.length ? (o(), b("div", Yl, [
1683
+ k("div", Jl, [
1684
+ Al,
1685
+ k("div", Kl, [
1686
+ (o(!0), b(R, null, P(h.value, (U) => (o(), b("span", {
1687
+ key: U.key,
1688
+ onClick: (r) => B(U)
1689
+ }, Q(U.label), 9, Ql))), 128))
1690
1690
  ])
1691
1691
  ]),
1692
- k("div", Hl, [
1693
- (o(!0), b(U, null, z($.value, (S, r) => (o(), L(_, {
1692
+ k("div", Zl, [
1693
+ (o(!0), b(R, null, P(O.value, (U, r) => (o(), L(_, {
1694
1694
  closable: "",
1695
1695
  type: "info",
1696
1696
  onClose: (X) => n(r)
1697
1697
  }, {
1698
1698
  default: s(() => [
1699
- k("span", null, Q(S.tagText), 1),
1699
+ k("span", null, Q(U.tagText), 1),
1700
1700
  k("span", {
1701
1701
  class: "edit",
1702
- onClick: (X) => d(S)
1703
- }, "编辑", 8, Wl)
1702
+ onClick: (X) => d(U)
1703
+ }, "编辑", 8, Hl)
1704
1704
  ]),
1705
1705
  _: 2
1706
1706
  }, 1032, ["onClose"]))), 256))
1707
1707
  ]),
1708
1708
  t(f, {
1709
1709
  modelValue: x.value,
1710
- "onUpdate:modelValue": l[25] || (l[25] = (S) => x.value = S),
1711
- title: O.value.label,
1710
+ "onUpdate:modelValue": l[25] || (l[25] = (U) => x.value = U),
1711
+ title: $.value.label,
1712
1712
  width: "600",
1713
1713
  "align-center": "",
1714
1714
  "destroy-on-close": ""
1715
- }, ie({
1715
+ }, se({
1716
1716
  footer: s(() => [
1717
- k("div", bt, [
1717
+ k("div", gt, [
1718
1718
  t(T, {
1719
1719
  type: "primary",
1720
1720
  onClick: j
@@ -1727,10 +1727,10 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1727
1727
  ])
1728
1728
  ]),
1729
1729
  default: s(() => {
1730
- var S;
1730
+ var U;
1731
1731
  return [
1732
- O.value.type === void 0 && e.value.radioType === "1" ? (o(), b("div", et, [
1733
- lt,
1732
+ $.value.type === void 0 && e.value.radioType === "1" ? (o(), b("div", Xl, [
1733
+ et,
1734
1734
  t(i, {
1735
1735
  modelValue: e.value.rankRange[0],
1736
1736
  "onUpdate:modelValue": l[2] || (l[2] = (r) => e.value.rankRange[0] = r),
@@ -1742,9 +1742,9 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1742
1742
  "onUpdate:modelValue": l[3] || (l[3] = (r) => e.value.rankRange[1] = r),
1743
1743
  style: { flex: "1" }
1744
1744
  }, null, 8, ["modelValue"])
1745
- ])) : O.value.type === void 0 ? (o(), b(U, { key: 1 }, [
1746
- (S = O.value.convenientOptions) != null && S.length ? (o(), b("div", tt, [
1747
- (o(!0), b(U, null, z(O.value.convenientOptions, (r) => (o(), L(T, {
1745
+ ])) : $.value.type === void 0 ? (o(), b(R, { key: 1 }, [
1746
+ (U = $.value.convenientOptions) != null && U.length ? (o(), b("div", lt, [
1747
+ (o(!0), b(R, null, P($.value.convenientOptions, (r) => (o(), L(T, {
1748
1748
  key: r.text,
1749
1749
  onClick: (X) => M(r)
1750
1750
  }, {
@@ -1753,25 +1753,25 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1753
1753
  ]),
1754
1754
  _: 2
1755
1755
  }, 1032, ["onClick"]))), 128))
1756
- ])) : N("", !0),
1757
- k("div", at, [
1758
- nt,
1756
+ ])) : z("", !0),
1757
+ k("div", tt, [
1758
+ at,
1759
1759
  t(i, {
1760
1760
  modelValue: e.value.range[0],
1761
1761
  "onUpdate:modelValue": l[5] || (l[5] = (r) => e.value.range[0] = r),
1762
1762
  style: { flex: "1" }
1763
- }, ie({ _: 2 }, [
1764
- O.value.unitOptions.length ? {
1763
+ }, se({ _: 2 }, [
1764
+ $.value.unitOptions.length ? {
1765
1765
  name: "append",
1766
1766
  fn: s(() => [
1767
- O.value.unitOptions.length === 1 ? (o(), b("span", ot, Q(e.value.unit[0]), 1)) : (o(), L(F, {
1767
+ $.value.unitOptions.length === 1 ? (o(), b("span", nt, Q(e.value.unit[0]), 1)) : (o(), L(F, {
1768
1768
  key: 1,
1769
1769
  modelValue: e.value.unit[0],
1770
1770
  "onUpdate:modelValue": l[4] || (l[4] = (r) => e.value.unit[0] = r),
1771
1771
  style: { width: "72px" }
1772
1772
  }, {
1773
1773
  default: s(() => [
1774
- (o(!0), b(U, null, z(O.value.unitOptions, (r) => (o(), L(y, {
1774
+ (o(!0), b(R, null, P($.value.unitOptions, (r) => (o(), L(y, {
1775
1775
  label: r,
1776
1776
  value: r
1777
1777
  }, null, 8, ["label", "value"]))), 256))
@@ -1787,18 +1787,18 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1787
1787
  modelValue: e.value.range[1],
1788
1788
  "onUpdate:modelValue": l[7] || (l[7] = (r) => e.value.range[1] = r),
1789
1789
  style: { flex: "1" }
1790
- }, ie({ _: 2 }, [
1791
- O.value.unitOptions.length ? {
1790
+ }, se({ _: 2 }, [
1791
+ $.value.unitOptions.length ? {
1792
1792
  name: "append",
1793
1793
  fn: s(() => [
1794
- O.value.unitOptions.length === 1 ? (o(), b("span", ut, Q(e.value.unit[1]), 1)) : (o(), L(F, {
1794
+ $.value.unitOptions.length === 1 ? (o(), b("span", ot, Q(e.value.unit[1]), 1)) : (o(), L(F, {
1795
1795
  key: 1,
1796
1796
  modelValue: e.value.unit[1],
1797
1797
  "onUpdate:modelValue": l[6] || (l[6] = (r) => e.value.unit[1] = r),
1798
1798
  style: { width: "72px" }
1799
1799
  }, {
1800
1800
  default: s(() => [
1801
- (o(!0), b(U, null, z(O.value.unitOptions, (r) => (o(), L(y, {
1801
+ (o(!0), b(R, null, P($.value.unitOptions, (r) => (o(), L(y, {
1802
1802
  label: r,
1803
1803
  value: r
1804
1804
  }, null, 8, ["label", "value"]))), 256))
@@ -1810,8 +1810,8 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1810
1810
  } : void 0
1811
1811
  ]), 1032, ["modelValue"])
1812
1812
  ])
1813
- ], 64)) : (o(), b(U, { key: 2 }, [
1814
- O.value.key === "st" ? (o(), b("div", rt, [
1813
+ ], 64)) : (o(), b(R, { key: 2 }, [
1814
+ $.value.key === "st" ? (o(), b("div", ut, [
1815
1815
  t(m, {
1816
1816
  modelValue: e.value.st,
1817
1817
  "onUpdate:modelValue": l[8] || (l[8] = (r) => e.value.st = r)
@@ -1828,9 +1828,9 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1828
1828
  ]),
1829
1829
  _: 1
1830
1830
  }, 8, ["modelValue"])
1831
- ])) : N("", !0),
1832
- O.value.key === "tFeaturelncomes" ? (o(), b("div", st, [
1833
- k("div", it, [
1831
+ ])) : z("", !0),
1832
+ $.value.key === "tFeaturelncomes" ? (o(), b("div", rt, [
1833
+ k("div", st, [
1834
1834
  t(T, {
1835
1835
  onClick: l[9] || (l[9] = (r) => I("≤0"))
1836
1836
  }, {
@@ -1872,8 +1872,8 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1872
1872
  _: 1
1873
1873
  })
1874
1874
  ]),
1875
- k("div", dt, [
1876
- ct,
1875
+ k("div", it, [
1876
+ dt,
1877
1877
  k("div", null, [
1878
1878
  t(D, {
1879
1879
  modelValue: e.value.withFewYears,
@@ -1895,8 +1895,8 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1895
1895
  E(" 亿 ")
1896
1896
  ])
1897
1897
  ])
1898
- ])) : N("", !0),
1899
- O.value.key === "priceLevels" ? (o(), b("div", pt, [
1898
+ ])) : z("", !0),
1899
+ $.value.key === "priceLevels" ? (o(), b("div", ct, [
1900
1900
  t(F, {
1901
1901
  modelValue: e.value.priceLevels,
1902
1902
  "onUpdate:modelValue": l[17] || (l[17] = (r) => e.value.priceLevels = r),
@@ -1906,7 +1906,7 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1906
1906
  style: { width: "420px" }
1907
1907
  }, {
1908
1908
  default: s(() => [
1909
- (o(), b(U, null, z([1, 2, 3, 4, 5], (r) => t(y, {
1909
+ (o(), b(R, null, P([1, 2, 3, 4, 5], (r) => t(y, {
1910
1910
  key: r,
1911
1911
  label: `${r}分位`,
1912
1912
  value: r
@@ -1914,8 +1914,8 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1914
1914
  ]),
1915
1915
  _: 1
1916
1916
  }, 8, ["modelValue"])
1917
- ])) : N("", !0),
1918
- O.value.key === "peTtmLevels" ? (o(), b("div", vt, [
1917
+ ])) : z("", !0),
1918
+ $.value.key === "peTtmLevels" ? (o(), b("div", pt, [
1919
1919
  t(F, {
1920
1920
  modelValue: e.value.peTtmLevels,
1921
1921
  "onUpdate:modelValue": l[18] || (l[18] = (r) => e.value.peTtmLevels = r),
@@ -1925,7 +1925,7 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1925
1925
  style: { width: "420px" }
1926
1926
  }, {
1927
1927
  default: s(() => [
1928
- (o(), b(U, null, z([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (r) => t(y, {
1928
+ (o(), b(R, null, P([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (r) => t(y, {
1929
1929
  key: r,
1930
1930
  label: `${r}分位`,
1931
1931
  value: r
@@ -1933,8 +1933,8 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1933
1933
  ]),
1934
1934
  _: 1
1935
1935
  }, 8, ["modelValue"])
1936
- ])) : N("", !0),
1937
- O.value.key === "optionsCpType" ? (o(), b("div", mt, [
1936
+ ])) : z("", !0),
1937
+ $.value.key === "optionsCpType" ? (o(), b("div", vt, [
1938
1938
  t(m, {
1939
1939
  modelValue: e.value.optionsCpType,
1940
1940
  "onUpdate:modelValue": l[19] || (l[19] = (r) => e.value.optionsCpType = r)
@@ -1951,14 +1951,14 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1951
1951
  ]),
1952
1952
  _: 1
1953
1953
  }, 8, ["modelValue"])
1954
- ])) : N("", !0),
1955
- O.value.key === "perVolumn" ? (o(), b("div", ft, [
1954
+ ])) : z("", !0),
1955
+ $.value.key === "perVolumn" ? (o(), b("div", mt, [
1956
1956
  t(m, {
1957
1957
  modelValue: e.value.radio,
1958
1958
  "onUpdate:modelValue": l[20] || (l[20] = (r) => e.value.radio = r)
1959
1959
  }, {
1960
1960
  default: s(() => [
1961
- (o(), b(U, null, z(R, (r) => t(u, {
1961
+ (o(), b(R, null, P(S, (r) => t(u, {
1962
1962
  key: r.value,
1963
1963
  value: r.value
1964
1964
  }, {
@@ -1979,7 +1979,7 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1979
1979
  style: { width: "420px" }
1980
1980
  }, {
1981
1981
  default: s(() => [
1982
- (o(), b(U, null, z([1, 2, 3, 4, 5], (r) => t(y, {
1982
+ (o(), b(R, null, P([1, 2, 3, 4, 5], (r) => t(y, {
1983
1983
  key: r,
1984
1984
  label: `${r}分位`,
1985
1985
  value: r
@@ -1987,8 +1987,8 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
1987
1987
  ]),
1988
1988
  _: 1
1989
1989
  }, 8, ["modelValue"])
1990
- ])) : N("", !0),
1991
- O.value.key === "mainFlow" ? (o(), b("div", yt, [
1990
+ ])) : z("", !0),
1991
+ $.value.key === "mainFlow" ? (o(), b("div", ft, [
1992
1992
  t(m, {
1993
1993
  modelValue: e.value.radio,
1994
1994
  "onUpdate:modelValue": l[22] || (l[22] = (r) => e.value.radio = r)
@@ -2021,8 +2021,8 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
2021
2021
  ]),
2022
2022
  _: 1
2023
2023
  }, 8, ["modelValue"]),
2024
- k("div", gt, [
2025
- k("span", null, Q(e.value.mainFlowRadioType === "0" ? "涨幅范围" : "排名范围") + ": ", 1),
2024
+ k("div", yt, [
2025
+ k("span", null, Q(e.value.radioType === "0" ? "涨幅范围" : "排名范围") + ": ", 1),
2026
2026
  t(i, {
2027
2027
  modelValue: e.value.rankRange[0],
2028
2028
  "onUpdate:modelValue": l[23] || (l[23] = (r) => e.value.rankRange[0] = r),
@@ -2035,19 +2035,19 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
2035
2035
  style: { flex: "1" }
2036
2036
  }, null, 8, ["modelValue"])
2037
2037
  ])
2038
- ])) : N("", !0)
2038
+ ])) : z("", !0)
2039
2039
  ], 64))
2040
2040
  ];
2041
2041
  }),
2042
2042
  _: 2
2043
2043
  }, [
2044
- O.value.showRankType ? {
2044
+ $.value.showRankType ? {
2045
2045
  name: "header",
2046
2046
  fn: s(() => [
2047
- k("span", Xl, Q(O.value.label), 1),
2047
+ k("span", Wl, Q($.value.label), 1),
2048
2048
  t(m, {
2049
2049
  modelValue: e.value.radioType,
2050
- "onUpdate:modelValue": l[0] || (l[0] = (S) => e.value.radioType = S),
2050
+ "onUpdate:modelValue": l[0] || (l[0] = (U) => e.value.radioType = U),
2051
2051
  style: { "vertical-align": "4px", "margin-left": "12px" }
2052
2052
  }, {
2053
2053
  default: s(() => [
@@ -2056,7 +2056,7 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
2056
2056
  value: "0"
2057
2057
  }),
2058
2058
  t(c, {
2059
- disabled: q.value && q.value !== O.value.key,
2059
+ disabled: q.value && q.value !== $.value.key,
2060
2060
  label: "排名",
2061
2061
  value: "1"
2062
2062
  }, null, 8, ["disabled"])
@@ -2065,13 +2065,13 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
2065
2065
  }, 8, ["modelValue"])
2066
2066
  ]),
2067
2067
  key: "0"
2068
- } : O.value.key === "mainFlow" ? {
2068
+ } : $.value.key === "mainFlow" ? {
2069
2069
  name: "header",
2070
2070
  fn: s(() => [
2071
- k("span", { style: { "font-size": "18px" } }, Q(O.value.label), 1),
2071
+ k("span", { style: { "font-size": "18px" } }, Q($.value.label), 1),
2072
2072
  t(m, {
2073
- modelValue: e.value.mainFlowRadioType,
2074
- "onUpdate:modelValue": l[1] || (l[1] = (S) => e.value.mainFlowRadioType = S),
2073
+ modelValue: e.value.radioType,
2074
+ "onUpdate:modelValue": l[1] || (l[1] = (U) => e.value.radioType = U),
2075
2075
  style: { "vertical-align": "4px", "margin-left": "12px" },
2076
2076
  onChange: V
2077
2077
  }, {
@@ -2081,9 +2081,10 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
2081
2081
  value: "0"
2082
2082
  }),
2083
2083
  t(c, {
2084
+ disabled: q.value && q.value !== $.value.key,
2084
2085
  label: "排名范围",
2085
2086
  value: "1"
2086
- })
2087
+ }, null, 8, ["disabled"])
2087
2088
  ]),
2088
2089
  _: 1
2089
2090
  }, 8, ["modelValue"])
@@ -2091,37 +2092,37 @@ const re = (p) => (ge("data-v-781330f8"), p = p(), be(), p), Jl = {
2091
2092
  key: "1"
2092
2093
  } : void 0
2093
2094
  ]), 1032, ["modelValue", "title"])
2094
- ])) : N("", !0);
2095
+ ])) : z("", !0);
2095
2096
  };
2096
2097
  }
2097
- }, _t = /* @__PURE__ */ _e(kt, [["__scopeId", "data-v-781330f8"]]);
2098
- const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "variety-search" }, ht = {
2098
+ }, kt = /* @__PURE__ */ ke(bt, [["__scopeId", "data-v-89a5a02f"]]);
2099
+ const le = (p) => (ye("data-v-34554f59"), p = p(), ge(), p), _t = { class: "variety-search" }, Vt = {
2099
2100
  key: 0,
2100
2101
  class: "variety-search-row"
2101
- }, xt = { class: "title" }, $t = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "品种市场: ", -1)), Ot = {
2102
+ }, ht = { class: "title" }, xt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "品种市场: ", -1)), $t = {
2102
2103
  key: 1,
2103
2104
  class: "variety-search-row"
2104
- }, It = { class: "title" }, wt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "常用选项: ", -1)), Tt = {
2105
+ }, Ot = { class: "title" }, It = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "常用选项: ", -1)), wt = {
2105
2106
  key: 2,
2106
2107
  class: "variety-search-row"
2107
- }, Ct = { class: "title" }, Rt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "上市板块: ", -1)), St = {
2108
+ }, Tt = { class: "title" }, Ct = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "上市板块: ", -1)), St = {
2108
2109
  key: 3,
2109
2110
  class: "variety-search-row"
2110
- }, Ut = { class: "title" }, Et = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "自定标签: ", -1)), Mt = {
2111
+ }, Ut = { class: "title" }, Rt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "自定标签: ", -1)), Et = {
2111
2112
  key: 4,
2112
2113
  class: "variety-search-row"
2113
- }, qt = { class: "title" }, Ft = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "价差转换: ", -1)), Dt = {
2114
+ }, Mt = { class: "title" }, qt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "价差转换: ", -1)), Ft = {
2114
2115
  key: 5,
2115
2116
  class: "variety-search-row"
2116
- }, Lt = { class: "title" }, jt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "因子筛选: ", -1)), Nt = {
2117
+ }, Dt = { class: "title" }, Lt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "因子筛选: ", -1)), jt = {
2117
2118
  __name: "index",
2118
2119
  props: /* @__PURE__ */ oe({ config: { type: Object, default: {} } }, {
2119
2120
  searchData: {},
2120
2121
  searchDataModifiers: {}
2121
2122
  }),
2122
2123
  emits: ["update:searchData"],
2123
- setup(p, { expose: R }) {
2124
- const $ = p, a = ue(p, "searchData");
2124
+ setup(p, { expose: S }) {
2125
+ const O = p, a = ue(p, "searchData");
2125
2126
  a.value = Object.assign(a.value, {
2126
2127
  // 品种市场
2127
2128
  varietyMarket: null,
@@ -2147,8 +2148,8 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2147
2148
  });
2148
2149
  const x = G(() => {
2149
2150
  const d = {};
2150
- return Object.keys(Te).forEach((n) => {
2151
- const M = Te[n], I = $.config[n] ?? {}, V = { ...M, ...I };
2151
+ return Object.keys(we).forEach((n) => {
2152
+ const M = we[n], I = O.config[n] ?? {}, V = { ...M, ...I };
2152
2153
  d[n] = V;
2153
2154
  }), d;
2154
2155
  }), q = G(() => x.value.varietyMarket.options), h = G(() => {
@@ -2157,7 +2158,7 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2157
2158
  const V = x.value.commonOption.options.find((v) => v.value === I);
2158
2159
  return V && M.push(V), M;
2159
2160
  }, []) : x.value.commonOption.options;
2160
- }), O = G(() => {
2161
+ }), $ = G(() => {
2161
2162
  const { varietyMarket: d } = a.value;
2162
2163
  return d ? x.value.marketIds.options.filter((n) => n.varietyMarketIds.includes(d)) : x.value.marketIds.options;
2163
2164
  }), e = G(() => x.value.customTag.options), B = G(() => x.value.jcTranslate.jcOptions), j = (d) => {
@@ -2206,12 +2207,12 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2206
2207
  (n = a.value.commonOption) != null && n.length && (a.value.commonOption = a.value.commonOption.filter((M) => d.find(({ value: I }) => I === M)));
2207
2208
  }
2208
2209
  ), ae(
2209
- () => O.value,
2210
+ () => $.value,
2210
2211
  (d) => {
2211
2212
  var n;
2212
2213
  (n = a.value.marketIds) != null && n.length && (a.value.marketIds = a.value.marketIds.filter((M) => d.find(({ value: I }) => I === M)));
2213
2214
  }
2214
- ), R({
2215
+ ), S({
2215
2216
  // 生成接口传参结构的数据
2216
2217
  formatData: (d) => {
2217
2218
  var M, I, V, v, l, _;
@@ -2254,13 +2255,13 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2254
2255
  const u = `条件${F + 1}`;
2255
2256
  switch (y.key) {
2256
2257
  case "compare": {
2257
- let S = "";
2258
- (D = x.value.factorScreen) != null && D.cycleShow ? S = `freq_id = ${y.cycle} and factor_id = ${y.factor} ${y.compareType} freq_id = ${y.cycle2} and factor_id = ${y.factor2}` : S = `factor_id = ${y.factor} ${y.compareType} factor_id = ${y.factor2}`, T.set(u, `(${S})`);
2258
+ let U = "";
2259
+ (D = x.value.factorScreen) != null && D.cycleShow ? U = `freq_id = ${y.cycle} and factor_id = ${y.factor} ${y.compareType} freq_id = ${y.cycle2} and factor_id = ${y.factor2}` : U = `factor_id = ${y.factor} ${y.compareType} factor_id = ${y.factor2}`, T.set(u, `(${U})`);
2259
2260
  break;
2260
2261
  }
2261
2262
  default: {
2262
- let S = `factor_id = ${y.factor} and `;
2263
- (f = x.value.factorScreen) != null && f.cycleShow && (S = `freq_id = ${y.cycle} and factor_id = ${y.factor} and `), (y.score[0] || y.score[0] === 0) && (y.score[1] || y.score[1] === 0) ? S += `score >= ${y.score[0]} and score <= ${y.score[1]}` : y.score[0] || y.score[0] === 0 ? S += `score >= ${y.score[0]}` : (y.score[1] || y.score[1] === 0) && (S += `score <= ${y.score[1]}`), T.set(u, `(${S})`);
2263
+ let U = `factor_id = ${y.factor} and `;
2264
+ (f = x.value.factorScreen) != null && f.cycleShow && (U = `freq_id = ${y.cycle} and factor_id = ${y.factor} and `), (y.score[0] || y.score[0] === 0) && (y.score[1] || y.score[1] === 0) ? U += `score >= ${y.score[0]} and score <= ${y.score[1]}` : y.score[0] || y.score[0] === 0 ? U += `score >= ${y.score[0]}` : (y.score[1] || y.score[1] === 0) && (U += `score <= ${y.score[1]}`), T.set(u, `(${U})`);
2264
2265
  }
2265
2266
  }
2266
2267
  return T;
@@ -2275,24 +2276,24 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2275
2276
  n.enableSql = c.sqlEnable === 1 ? 2 : 1;
2276
2277
  }
2277
2278
  {
2278
- const c = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], m = d.commonIndicator.reduce((f, S) => {
2279
- const { key: r, type: X, range: C, unit: Y, radioType: w, mainFlowRadioType: P, radio: Z, rankRange: se } = S;
2280
- if (w === "1")
2279
+ const c = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], m = d.commonIndicator.reduce((f, U) => {
2280
+ const { key: r, type: X, range: C, unit: Y, radioType: w, radio: N, rankRange: Z } = U;
2281
+ if (r === "mainFlow") {
2282
+ let [J, A] = Z, Ye = w === "0" ? `netInfow${N}d` : `last${N}DayMainFlowRank`;
2283
+ f.push({ column: Ye, start: J, end: A });
2284
+ } else if (w === "1")
2281
2285
  n.sortBy = {
2282
- column: S.key,
2283
- start: se[0] || null,
2284
- end: se[1] || null
2286
+ column: U.key,
2287
+ start: Z[0] || null,
2288
+ end: Z[1] || null
2285
2289
  };
2286
2290
  else if (r === "dividendYield") {
2287
2291
  let [J, A] = C;
2288
2292
  ["", null].includes(J) || (J = J / 100), ["", null].includes(A) || (A = A / 100), f.push({
2289
- column: S.key,
2293
+ column: U.key,
2290
2294
  start: J,
2291
2295
  end: A
2292
2296
  });
2293
- } else if (r === "mainFlow") {
2294
- let [J, A] = se, Je = P === "0" ? `netInfow${Z}d` : `last${Z}DayMianFlowRank`;
2295
- f.push({ column: Je, start: J, end: A });
2296
2297
  } else if (X === void 0 && !c.includes(r)) {
2297
2298
  let [J, A] = C;
2298
2299
  if (!["", null].includes(J))
@@ -2320,7 +2321,7 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2320
2321
  break;
2321
2322
  }
2322
2323
  f.push({
2323
- column: S.key,
2324
+ column: U.key,
2324
2325
  start: J,
2325
2326
  end: A
2326
2327
  });
@@ -2338,8 +2339,8 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2338
2339
  F && (n.peTtmLevels = F.peTtmLevels);
2339
2340
  const u = {};
2340
2341
  d.commonIndicator.forEach((f) => {
2341
- const { key: S } = f;
2342
- switch (S) {
2342
+ const { key: U } = f;
2343
+ switch (U) {
2343
2344
  case "expireDays":
2344
2345
  ["", null].includes(f.range[0]) || (u.minExpireDays = f.range[0]), ["", null].includes(f.range[1]) || (u.maxExpireDays = f.range[1]);
2345
2346
  break;
@@ -2411,11 +2412,11 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2411
2412
  }
2412
2413
  }), (d, n) => {
2413
2414
  var c, m, i, T, y, F;
2414
- const M = he, I = xe, V = el, v = ll, l = ve, _ = me;
2415
- return o(), b("div", Vt, [
2416
- (c = x.value.varietyMarket) != null && c.show ? (o(), b("div", ht, [
2417
- k("div", xt, [
2418
- $t,
2415
+ const M = Ve, I = he, V = Xe, v = el, l = pe, _ = ve;
2416
+ return o(), b("div", _t, [
2417
+ (c = x.value.varietyMarket) != null && c.show ? (o(), b("div", Vt, [
2418
+ k("div", ht, [
2419
+ xt,
2419
2420
  k("span", {
2420
2421
  onClick: n[0] || (n[0] = (u) => j("varietyMarket"))
2421
2422
  }, "不限")
@@ -2426,7 +2427,7 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2426
2427
  size: "small"
2427
2428
  }, {
2428
2429
  default: s(() => [
2429
- (o(!0), b(U, null, z(q.value, ({ label: u, value: D }) => (o(), L(M, {
2430
+ (o(!0), b(R, null, P(q.value, ({ label: u, value: D }) => (o(), L(M, {
2430
2431
  label: u,
2431
2432
  value: D,
2432
2433
  key: D
@@ -2434,10 +2435,10 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2434
2435
  ]),
2435
2436
  _: 1
2436
2437
  }, 8, ["modelValue"])
2437
- ])) : N("", !0),
2438
- (m = x.value.commonOption) != null && m.show && h.value.length ? (o(), b("div", Ot, [
2439
- k("div", It, [
2440
- wt,
2438
+ ])) : z("", !0),
2439
+ (m = x.value.commonOption) != null && m.show && h.value.length ? (o(), b("div", $t, [
2440
+ k("div", Ot, [
2441
+ It,
2441
2442
  k("span", {
2442
2443
  onClick: n[2] || (n[2] = (u) => j("commonOption"))
2443
2444
  }, "不限")
@@ -2448,7 +2449,7 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2448
2449
  size: "small"
2449
2450
  }, {
2450
2451
  default: s(() => [
2451
- (o(!0), b(U, null, z(h.value, ({ label: u, value: D }) => (o(), L(V, {
2452
+ (o(!0), b(R, null, P(h.value, ({ label: u, value: D }) => (o(), L(V, {
2452
2453
  label: u,
2453
2454
  value: D,
2454
2455
  key: D
@@ -2456,10 +2457,10 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2456
2457
  ]),
2457
2458
  _: 1
2458
2459
  }, 8, ["modelValue"])
2459
- ])) : N("", !0),
2460
- (i = x.value.marketIds) != null && i.show && O.value.length ? (o(), b("div", Tt, [
2461
- k("div", Ct, [
2462
- Rt,
2460
+ ])) : z("", !0),
2461
+ (i = x.value.marketIds) != null && i.show && $.value.length ? (o(), b("div", wt, [
2462
+ k("div", Tt, [
2463
+ Ct,
2463
2464
  k("span", {
2464
2465
  onClick: n[4] || (n[4] = (u) => j("marketIds"))
2465
2466
  }, "不限")
@@ -2470,7 +2471,7 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2470
2471
  size: "small"
2471
2472
  }, {
2472
2473
  default: s(() => [
2473
- (o(!0), b(U, null, z(O.value, ({ label: u, value: D }) => (o(), L(V, {
2474
+ (o(!0), b(R, null, P($.value, ({ label: u, value: D }) => (o(), L(V, {
2474
2475
  label: u,
2475
2476
  value: D,
2476
2477
  key: D
@@ -2478,10 +2479,10 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2478
2479
  ]),
2479
2480
  _: 1
2480
2481
  }, 8, ["modelValue"])
2481
- ])) : N("", !0),
2482
+ ])) : z("", !0),
2482
2483
  (T = x.value.customTag) != null && T.show && e.value.length ? (o(), b("div", St, [
2483
2484
  k("div", Ut, [
2484
- Et,
2485
+ Rt,
2485
2486
  k("span", {
2486
2487
  onClick: n[6] || (n[6] = (u) => j("customTag"))
2487
2488
  }, "不限")
@@ -2492,7 +2493,7 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2492
2493
  size: "small"
2493
2494
  }, {
2494
2495
  default: s(() => [
2495
- (o(!0), b(U, null, z(e.value, ({ label: u, value: D }) => (o(), L(V, {
2496
+ (o(!0), b(R, null, P(e.value, ({ label: u, value: D }) => (o(), L(V, {
2496
2497
  label: u,
2497
2498
  value: D,
2498
2499
  key: D
@@ -2500,10 +2501,10 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2500
2501
  ]),
2501
2502
  _: 1
2502
2503
  }, 8, ["modelValue"])
2503
- ])) : N("", !0),
2504
- (y = x.value.jcTranslate) != null && y.show ? (o(), b("div", Mt, [
2505
- k("div", qt, [
2506
- Ft,
2504
+ ])) : z("", !0),
2505
+ (y = x.value.jcTranslate) != null && y.show ? (o(), b("div", Et, [
2506
+ k("div", Mt, [
2507
+ qt,
2507
2508
  k("span", {
2508
2509
  onClick: n[8] || (n[8] = (u) => j("jcTranslate"))
2509
2510
  }, "不限")
@@ -2529,7 +2530,7 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2529
2530
  ]),
2530
2531
  _: 1
2531
2532
  }, 8, ["modelValue"]),
2532
- fe(t(_, {
2533
+ me(t(_, {
2533
2534
  modelValue: a.value.jcTranslate.jcList,
2534
2535
  "onUpdate:modelValue": n[10] || (n[10] = (u) => a.value.jcTranslate.jcList = u),
2535
2536
  size: "small",
@@ -2540,7 +2541,7 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2540
2541
  style: { width: "140px" }
2541
2542
  }, {
2542
2543
  default: s(() => [
2543
- (o(!0), b(U, null, z(B.value, (u) => (o(), L(l, {
2544
+ (o(!0), b(R, null, P(B.value, (u) => (o(), L(l, {
2544
2545
  key: u.value,
2545
2546
  label: u.label,
2546
2547
  value: u.value
@@ -2548,23 +2549,23 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2548
2549
  ]),
2549
2550
  _: 1
2550
2551
  }, 8, ["modelValue"]), [
2551
- [sl, a.value.jcTranslate.type === 1]
2552
+ [rl, a.value.jcTranslate.type === 1]
2552
2553
  ])
2553
- ])) : N("", !0),
2554
- (F = x.value.factorScreen) != null && F.show ? (o(), b("div", Dt, [
2555
- k("div", Lt, [
2556
- jt,
2554
+ ])) : z("", !0),
2555
+ (F = x.value.factorScreen) != null && F.show ? (o(), b("div", Ft, [
2556
+ k("div", Dt, [
2557
+ Lt,
2557
2558
  k("span", {
2558
2559
  onClick: n[11] || (n[11] = (u) => j("factorScreen"))
2559
2560
  }, "不限")
2560
2561
  ]),
2561
- t(Yl, {
2562
+ t(Gl, {
2562
2563
  data: a.value.factorScreen,
2563
2564
  "onUpdate:data": n[12] || (n[12] = (u) => a.value.factorScreen = u),
2564
2565
  config: x.value.factorScreen
2565
2566
  }, null, 8, ["data", "config"])
2566
- ])) : N("", !0),
2567
- t(_t, {
2567
+ ])) : z("", !0),
2568
+ t(kt, {
2568
2569
  data: a.value.commonIndicator,
2569
2570
  "onUpdate:data": n[13] || (n[13] = (u) => a.value.commonIndicator = u),
2570
2571
  varietyMarket: a.value.varietyMarket,
@@ -2574,11 +2575,11 @@ const le = (p) => (ge("data-v-bdbe35cf"), p = p(), be(), p), Vt = { class: "vari
2574
2575
  ]);
2575
2576
  };
2576
2577
  }
2577
- }, zt = /* @__PURE__ */ _e(Nt, [["__scopeId", "data-v-bdbe35cf"]]), _a = {
2578
+ }, Nt = /* @__PURE__ */ ke(jt, [["__scopeId", "data-v-34554f59"]]), ka = {
2578
2579
  install(p) {
2579
- p.component("st-varietySearch", zt);
2580
+ p.component("st-varietySearch", Nt);
2580
2581
  }
2581
2582
  };
2582
2583
  export {
2583
- _a as default
2584
+ ka as default
2584
2585
  };