st-comp 0.0.192 → 0.0.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ChartLayout.js +4 -4
- package/es/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +32 -32
- package/es/FactorWarning.js +29 -29
- package/es/Kline.js +15 -15
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +110 -104
- package/es/KlineConfig.js +20 -20
- package/es/KlineNew.js +14 -14
- package/es/KlinePlus.js +17 -17
- package/es/Map.cjs +1 -1
- package/es/Map.js +1 -102944
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +1 -1
- package/es/Pagination.js +69 -69
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.js +29 -29
- package/es/User.js +21 -21
- package/es/VarSelectDialog.js +22 -22
- package/es/VarietyAutoComplete.js +9 -9
- package/es/VarietySearch.cjs +6 -6
- package/es/VarietySearch.js +523 -507
- package/es/VirtualTable.js +13 -13
- package/es/{_initCloneObject-d37d0044.js → _initCloneObject-25087817.js} +9 -9
- package/es/{base-62a70f61.js → base-f5b11441.js} +40 -40
- package/es/{config-provider-eb54307e.js → config-provider-95d27ce2.js} +6 -6
- package/es/{debounce-ccdceb02.js → debounce-06f59c68.js} +9 -9
- package/es/{dropdown-e0119d36.js → dropdown-7a853d45.js} +9 -9
- package/es/{el-autocomplete-fdd72342.js → el-autocomplete-e74d589c.js} +15 -15
- package/es/{el-button-17a2e708.js → el-button-5a260464.js} +33 -33
- package/es/{el-dialog-2fbffe7d.js → el-dialog-8d8f6443.js} +15 -15
- package/es/{el-divider-2f300113.js → el-divider-4e1c0fb8.js} +1 -1
- package/es/{el-empty-34086220.js → el-empty-deee6b39.js} +5 -5
- package/es/{el-form-item-5f9d8170.js → el-form-item-3167d76a.js} +33 -33
- package/es/{el-input-c2f1f98c.js → el-input-03aad76d.js} +33 -33
- package/es/{el-input-number-429626d1.js → el-input-number-12c09ac3.js} +35 -35
- package/es/{el-loading-a45d849f.js → el-loading-86fdef94.js} +5 -5
- package/es/{el-menu-item-1bbf217d.js → el-menu-item-1172154b.js} +22 -22
- package/es/{el-message-179d8e61.js → el-message-35d4e3ac.js} +23 -23
- package/es/{el-message-box-869d122c.js → el-message-box-f43b6e7a.js} +20 -20
- package/es/{el-overlay-56098a38.js → el-overlay-04659660.js} +47 -47
- package/es/{el-popconfirm-6f9a189f.js → el-popconfirm-29d538b6.js} +20 -20
- package/es/{el-popper-d236d5d3.js → el-popper-ee1f8186.js} +125 -125
- package/es/{el-scrollbar-191aee47.js → el-scrollbar-09769d9e.js} +48 -48
- package/es/{el-segmented-d74e1fd8.js → el-segmented-916b982a.js} +8 -8
- package/es/{el-select-b26edf16.js → el-select-8cb88e3c.js} +307 -307
- package/es/{el-table-column-cc880936.js → el-table-column-0c899664.js} +12 -12
- package/es/{el-tag-b79bf878.js → el-tag-554c333b.js} +21 -21
- package/es/{index-89502796.js → index-34048a1d.js} +36 -36
- package/es/{index-7926ee44.js → index-384ed4b0.js} +3 -3
- package/es/{index-5beb56b8.js → index-5b62ea0e.js} +52 -52
- package/es/{index-63a17b07.js → index-69a9bd75.js} +2 -2
- package/es/{index-a137018b.js → index-a8ee0e8c.js} +15 -3
- package/es/{index-524e4e84.js → index-b07f58c9.js} +31 -31
- package/es/{index-97658183.js → index-b7fd560c.js} +12 -12
- package/es/{index-482f09b5.js → index-cfeda35a.js} +1 -1
- package/es/{index-08cdcff5.js → index-df06f32a.js} +15 -15
- package/es/{index-b2b45b6e.cjs → index-fdb71325.cjs} +2 -2
- package/es/{python-2b765700.cjs → python-0405c62e.cjs} +1 -1
- package/es/{python-2cff7134.js → python-791e6a42.js} +1 -1
- package/es/raf-fa761d02.js +6 -0
- package/es/{scroll-7d352c1f.js → scroll-9e2dd92b.js} +5 -5
- package/es/style.css +1 -1
- package/es/{use-global-config-88d2fb63.js → use-global-config-1923bb6f.js} +16 -16
- package/es/{validator-6d37dbfa.js → validator-fd32f925.js} +1 -1
- package/es/{vnode-c51c8aa3.js → vnode-f9752526.js} +1 -1
- package/es/{zh-cn-47b11646.js → zh-cn-d667062d.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +33 -33
- package/lib/{index-e33e2a73.js → index-db060de6.js} +603 -569
- package/lib/{python-bfee2b7e.js → python-077c8efa.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineBasic/index.vue +2 -2
- package/packages/MonacoEditor/index.vue +22 -0
- package/packages/VarietySearch/components/FactorScreen/index.vue +33 -12
- package/packages/VarietySearch/config.js +2 -2
- package/es/raf-41aed4d4.js +0 -6
package/es/VarietySearch.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import "./el-tag-
|
|
3
|
-
import { E as
|
|
4
|
-
import {
|
|
5
|
-
import { U as
|
|
6
|
-
import { b as lt, c as it, E as ct, a as st } from "./el-table-column-
|
|
7
|
-
import { E as dt, a as ft } from "./el-message-box-
|
|
8
|
-
import { ref as eu, inject as l0, computed as W, defineComponent as
|
|
9
|
-
import { E as ge } from "./el-dialog-
|
|
10
|
-
import "./el-overlay-
|
|
11
|
-
import { E as xt, a as _t } from "./el-form-item-
|
|
12
|
-
import { E as p0 } from "./el-input-
|
|
13
|
-
import { E as b0 } from "./el-input-number-
|
|
1
|
+
import { b as Uu, e as Oe, f as Ve, g as $e, E as Re, u as se, _ as de, d as Me, w as X0, y as r0 } from "./base-f5b11441.js";
|
|
2
|
+
import "./el-tag-554c333b.js";
|
|
3
|
+
import { E as fe, a as pe } from "./el-select-8cb88e3c.js";
|
|
4
|
+
import { u as o0, a as ut, d as et, e as tt, f as nt } from "./el-scrollbar-09769d9e.js";
|
|
5
|
+
import { U as be, C as he, u as rt, d as ot, f as a0, E as at } from "./el-popper-ee1f8186.js";
|
|
6
|
+
import { b as lt, c as it, E as ct, a as st } from "./el-table-column-0c899664.js";
|
|
7
|
+
import { E as dt, a as ft } from "./el-message-box-f43b6e7a.js";
|
|
8
|
+
import { ref as eu, inject as l0, computed as W, defineComponent as Cu, openBlock as E, createElementBlock as S, normalizeClass as lu, unref as I, createElementVNode as O, withDirectives as Nu, isRef as i0, withModifiers as qu, vModelRadio as c0, renderSlot as me, createTextVNode as B, toDisplayString as uu, nextTick as Bu, normalizeStyle as s0, onMounted as d0, provide as pt, reactive as bt, toRefs as ht, watch as ku, Fragment as q, renderList as j, createBlock as L, mergeProps as mt, mergeModels as ju, useModel as Zu, withCtx as F, createVNode as y, createCommentVNode as P, resolveComponent as qe, vShow as f0, pushScopeId as xe, popScopeId as _e, createSlots as Ku } from "vue";
|
|
9
|
+
import { E as ge } from "./el-dialog-8d8f6443.js";
|
|
10
|
+
import "./el-overlay-04659660.js";
|
|
11
|
+
import { E as xt, a as _t } from "./el-form-item-3167d76a.js";
|
|
12
|
+
import { E as p0 } from "./el-input-03aad76d.js";
|
|
13
|
+
import { E as b0 } from "./el-input-number-12c09ac3.js";
|
|
14
14
|
import "./el-tooltip-4ed993c7.js";
|
|
15
|
-
import { E as h0 } from "./el-button-
|
|
15
|
+
import { E as h0 } from "./el-button-5a260464.js";
|
|
16
16
|
import "./el-popover-4ed993c7.js";
|
|
17
|
-
import { p as
|
|
18
|
-
import { M as Ct } from "./index-
|
|
19
|
-
import { E as J } from "./el-message-
|
|
17
|
+
import { p as Xu, i as gt, a as kt, r as yt, E as vt } from "./index-b07f58c9.js";
|
|
18
|
+
import { M as Ct } from "./index-a8ee0e8c.js";
|
|
19
|
+
import { E as J } from "./el-message-35d4e3ac.js";
|
|
20
20
|
import { _ as ke } from "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import { E as m0 } from "./index-
|
|
22
|
-
import { E as
|
|
23
|
-
import { u as
|
|
24
|
-
import { u as Ft } from "./index-
|
|
25
|
-
import {
|
|
26
|
-
import "./index-
|
|
27
|
-
import "./index-
|
|
28
|
-
import "./scroll-
|
|
29
|
-
import "./debounce-
|
|
30
|
-
import "./vnode-
|
|
31
|
-
import "./use-global-config-
|
|
32
|
-
import "./_initCloneObject-
|
|
33
|
-
import "./raf-
|
|
34
|
-
import "./validator-
|
|
21
|
+
import { E as m0 } from "./index-384ed4b0.js";
|
|
22
|
+
import { E as Et } from "./index-df06f32a.js";
|
|
23
|
+
import { u as Dt } from "./index-2e331d74.js";
|
|
24
|
+
import { u as Ft } from "./index-34048a1d.js";
|
|
25
|
+
import { d as At } from "./index-5b62ea0e.js";
|
|
26
|
+
import "./index-cfeda35a.js";
|
|
27
|
+
import "./index-b7fd560c.js";
|
|
28
|
+
import "./scroll-9e2dd92b.js";
|
|
29
|
+
import "./debounce-06f59c68.js";
|
|
30
|
+
import "./vnode-f9752526.js";
|
|
31
|
+
import "./use-global-config-1923bb6f.js";
|
|
32
|
+
import "./_initCloneObject-25087817.js";
|
|
33
|
+
import "./raf-fa761d02.js";
|
|
34
|
+
import "./validator-fd32f925.js";
|
|
35
35
|
import "./typescript-7ae59c4c.js";
|
|
36
36
|
import "./index-657047bb.js";
|
|
37
37
|
import "./index-7ed0999e.js";
|
|
38
|
-
import "./config-provider-
|
|
39
|
-
import "./dropdown-
|
|
40
|
-
const x0 =
|
|
38
|
+
import "./config-provider-95d27ce2.js";
|
|
39
|
+
import "./dropdown-7a853d45.js";
|
|
40
|
+
const x0 = Uu({
|
|
41
41
|
modelValue: {
|
|
42
42
|
type: [String, Number, Boolean],
|
|
43
43
|
default: void 0
|
|
@@ -56,22 +56,22 @@ const x0 = Pu({
|
|
|
56
56
|
type: String,
|
|
57
57
|
default: void 0
|
|
58
58
|
}
|
|
59
|
-
}), wt =
|
|
59
|
+
}), wt = Uu({
|
|
60
60
|
...x0,
|
|
61
61
|
border: Boolean
|
|
62
62
|
}), _0 = {
|
|
63
|
-
[
|
|
64
|
-
[
|
|
63
|
+
[be]: (u) => Oe(u) || Ve(u) || $e(u),
|
|
64
|
+
[he]: (u) => Oe(u) || Ve(u) || $e(u)
|
|
65
65
|
}, g0 = Symbol("radioGroupKey"), k0 = (u, e) => {
|
|
66
66
|
const t = eu(), n = l0(g0, void 0), r = W(() => !!n), o = W(() => Re(u.value) ? u.label : u.value), l = W({
|
|
67
67
|
get() {
|
|
68
68
|
return r.value ? n.modelValue : u.modelValue;
|
|
69
69
|
},
|
|
70
70
|
set(s) {
|
|
71
|
-
r.value ? n.changeEvent(s) : e && e(
|
|
71
|
+
r.value ? n.changeEvent(s) : e && e(be, s), t.value.checked = u.modelValue === o.value;
|
|
72
72
|
}
|
|
73
73
|
}), a = ut(W(() => n == null ? void 0 : n.size)), c = et(W(() => n == null ? void 0 : n.disabled)), i = eu(!1), f = W(() => c.value || r.value && l.value !== o.value ? -1 : 0);
|
|
74
|
-
return
|
|
74
|
+
return Dt({
|
|
75
75
|
from: "label act as value",
|
|
76
76
|
replacement: "value",
|
|
77
77
|
version: "3.0.0",
|
|
@@ -88,20 +88,20 @@ const x0 = Pu({
|
|
|
88
88
|
modelValue: l,
|
|
89
89
|
actualValue: o
|
|
90
90
|
};
|
|
91
|
-
}, Tt =
|
|
91
|
+
}, Tt = Cu({
|
|
92
92
|
name: "ElRadio"
|
|
93
|
-
}), St = /* @__PURE__ */
|
|
93
|
+
}), St = /* @__PURE__ */ Cu({
|
|
94
94
|
...Tt,
|
|
95
95
|
props: wt,
|
|
96
96
|
emits: _0,
|
|
97
97
|
setup(u, { emit: e }) {
|
|
98
|
-
const t = u, n =
|
|
98
|
+
const t = u, n = se("radio"), { radioRef: r, radioGroup: o, focus: l, size: a, disabled: c, modelValue: i, actualValue: f } = k0(t, e);
|
|
99
99
|
function s() {
|
|
100
|
-
|
|
100
|
+
Bu(() => e(he, i.value));
|
|
101
101
|
}
|
|
102
102
|
return (p, m) => {
|
|
103
103
|
var d;
|
|
104
|
-
return
|
|
104
|
+
return E(), S("label", {
|
|
105
105
|
class: lu([
|
|
106
106
|
I(n).b(),
|
|
107
107
|
I(n).is("disabled", I(c)),
|
|
@@ -118,7 +118,7 @@ const x0 = Pu({
|
|
|
118
118
|
I(n).is("checked", I(i) === I(f))
|
|
119
119
|
])
|
|
120
120
|
}, [
|
|
121
|
-
|
|
121
|
+
Nu(O("input", {
|
|
122
122
|
ref_key: "radioRef",
|
|
123
123
|
ref: r,
|
|
124
124
|
"onUpdate:modelValue": (w) => i0(i) ? i.value = w : null,
|
|
@@ -145,7 +145,7 @@ const x0 = Pu({
|
|
|
145
145
|
onKeydown: qu(() => {
|
|
146
146
|
}, ["stop"])
|
|
147
147
|
}, [
|
|
148
|
-
|
|
148
|
+
me(p.$slots, "default", {}, () => [
|
|
149
149
|
B(uu(p.label), 1)
|
|
150
150
|
])
|
|
151
151
|
], 42, ["onKeydown"])
|
|
@@ -153,16 +153,16 @@ const x0 = Pu({
|
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
|
-
var y0 = /* @__PURE__ */
|
|
157
|
-
const It =
|
|
156
|
+
var y0 = /* @__PURE__ */ de(St, [["__file", "radio.vue"]]);
|
|
157
|
+
const It = Uu({
|
|
158
158
|
...x0
|
|
159
|
-
}), Ot =
|
|
159
|
+
}), Ot = Cu({
|
|
160
160
|
name: "ElRadioButton"
|
|
161
|
-
}), Vt = /* @__PURE__ */
|
|
161
|
+
}), Vt = /* @__PURE__ */ Cu({
|
|
162
162
|
...Ot,
|
|
163
163
|
props: It,
|
|
164
164
|
setup(u) {
|
|
165
|
-
const e = u, t =
|
|
165
|
+
const e = u, t = se("radio"), { radioRef: n, focus: r, size: o, disabled: l, modelValue: a, radioGroup: c, actualValue: i } = k0(e), f = W(() => ({
|
|
166
166
|
backgroundColor: (c == null ? void 0 : c.fill) || "",
|
|
167
167
|
borderColor: (c == null ? void 0 : c.fill) || "",
|
|
168
168
|
boxShadow: c != null && c.fill ? `-1px 0 0 0 ${c.fill}` : "",
|
|
@@ -170,7 +170,7 @@ const It = Pu({
|
|
|
170
170
|
}));
|
|
171
171
|
return (s, p) => {
|
|
172
172
|
var m;
|
|
173
|
-
return
|
|
173
|
+
return E(), S("label", {
|
|
174
174
|
class: lu([
|
|
175
175
|
I(t).b("button"),
|
|
176
176
|
I(t).is("active", I(a) === I(i)),
|
|
@@ -179,7 +179,7 @@ const It = Pu({
|
|
|
179
179
|
I(t).bm("button", I(o))
|
|
180
180
|
])
|
|
181
181
|
}, [
|
|
182
|
-
|
|
182
|
+
Nu(O("input", {
|
|
183
183
|
ref_key: "radioRef",
|
|
184
184
|
ref: n,
|
|
185
185
|
"onUpdate:modelValue": (d) => i0(a) ? a.value = d : null,
|
|
@@ -201,7 +201,7 @@ const It = Pu({
|
|
|
201
201
|
onKeydown: qu(() => {
|
|
202
202
|
}, ["stop"])
|
|
203
203
|
}, [
|
|
204
|
-
|
|
204
|
+
me(s.$slots, "default", {}, () => [
|
|
205
205
|
B(uu(s.label), 1)
|
|
206
206
|
])
|
|
207
207
|
], 46, ["onKeydown"])
|
|
@@ -209,8 +209,8 @@ const It = Pu({
|
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
});
|
|
212
|
-
var v0 = /* @__PURE__ */
|
|
213
|
-
const $t =
|
|
212
|
+
var v0 = /* @__PURE__ */ de(Vt, [["__file", "radio-button.vue"]]);
|
|
213
|
+
const $t = Uu({
|
|
214
214
|
id: {
|
|
215
215
|
type: String,
|
|
216
216
|
default: void 0
|
|
@@ -249,17 +249,17 @@ const $t = Pu({
|
|
|
249
249
|
label: "label",
|
|
250
250
|
value: "value",
|
|
251
251
|
disabled: "disabled"
|
|
252
|
-
}, Mt =
|
|
252
|
+
}, Mt = Cu({
|
|
253
253
|
name: "ElRadioGroup"
|
|
254
|
-
}), qt = /* @__PURE__ */
|
|
254
|
+
}), qt = /* @__PURE__ */ Cu({
|
|
255
255
|
...Mt,
|
|
256
256
|
props: $t,
|
|
257
257
|
emits: Rt,
|
|
258
258
|
setup(u, { emit: e }) {
|
|
259
|
-
const t = u, n =
|
|
259
|
+
const t = u, n = se("radio"), r = Ft(), o = eu(), { formItem: l } = tt(), { inputId: a, isLabeledByFormItem: c } = nt(t, {
|
|
260
260
|
formItemContext: l
|
|
261
261
|
}), i = (m) => {
|
|
262
|
-
e(
|
|
262
|
+
e(be, m), Bu(() => e(he, m));
|
|
263
263
|
};
|
|
264
264
|
d0(() => {
|
|
265
265
|
const m = o.value.querySelectorAll("[type=radio]"), d = m[0];
|
|
@@ -280,9 +280,9 @@ const $t = Pu({
|
|
|
280
280
|
...ht(t),
|
|
281
281
|
changeEvent: i,
|
|
282
282
|
name: f
|
|
283
|
-
})),
|
|
283
|
+
})), ku(() => t.modelValue, (m, d) => {
|
|
284
284
|
t.validateEvent && !At(m, d) && (l == null || l.validate("change").catch((w) => ot()));
|
|
285
|
-
}), (m, d) => (
|
|
285
|
+
}), (m, d) => (E(), S("div", {
|
|
286
286
|
id: I(a),
|
|
287
287
|
ref_key: "radioGroupRef",
|
|
288
288
|
ref: o,
|
|
@@ -291,17 +291,17 @@ const $t = Pu({
|
|
|
291
291
|
"aria-label": I(c) ? void 0 : m.ariaLabel || "radio-group",
|
|
292
292
|
"aria-labelledby": I(c) ? I(l).labelId : void 0
|
|
293
293
|
}, [
|
|
294
|
-
|
|
295
|
-
(
|
|
294
|
+
me(m.$slots, "default", {}, () => [
|
|
295
|
+
(E(!0), S(q, null, j(t.options, (w, $) => (E(), L(y0, mt({ key: $ }, p(w)), null, 16))), 128))
|
|
296
296
|
])
|
|
297
297
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
|
-
var
|
|
300
|
+
var E0 = /* @__PURE__ */ de(qt, [["__file", "radio-group.vue"]]);
|
|
301
301
|
const ye = X0(y0, {
|
|
302
302
|
RadioButton: v0,
|
|
303
|
-
RadioGroup:
|
|
304
|
-
}), ve = r0(
|
|
303
|
+
RadioGroup: E0
|
|
304
|
+
}), ve = r0(E0), D0 = r0(v0);
|
|
305
305
|
const Be = {
|
|
306
306
|
// 品种市场 [选项: 预警字典1000]
|
|
307
307
|
varietyMarket: {
|
|
@@ -360,11 +360,11 @@ const Be = {
|
|
|
360
360
|
show: !0,
|
|
361
361
|
jcOptions: [
|
|
362
362
|
{ label: "恒指", value: "HZCFJC" },
|
|
363
|
-
{ label: "恒生科技", value: "
|
|
363
|
+
{ label: "恒生科技", value: "HSKJCFJC" },
|
|
364
364
|
{ label: "上证50", value: "SZ50CFJC" },
|
|
365
365
|
{ label: "沪深300", value: "HS300CFJC" },
|
|
366
366
|
{ label: "中证500", value: "ZZ500CFJC" },
|
|
367
|
-
{ label: "中证1000", value: "
|
|
367
|
+
{ label: "中证1000", value: "ZZ1000CFJC" }
|
|
368
368
|
]
|
|
369
369
|
},
|
|
370
370
|
// 因子筛选 [选项: 接口获取]
|
|
@@ -930,8 +930,8 @@ function zt(u) {
|
|
|
930
930
|
}
|
|
931
931
|
return e;
|
|
932
932
|
}
|
|
933
|
-
function
|
|
934
|
-
typeof e != "string" && (e =
|
|
933
|
+
function yu(u, e) {
|
|
934
|
+
typeof e != "string" && (e = yu.defaultChars);
|
|
935
935
|
const t = zt(e);
|
|
936
936
|
return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
937
937
|
let r = "";
|
|
@@ -970,8 +970,8 @@ function ku(u, e) {
|
|
|
970
970
|
return r;
|
|
971
971
|
});
|
|
972
972
|
}
|
|
973
|
-
|
|
974
|
-
|
|
973
|
+
yu.defaultChars = ";/?:@&=+$,#";
|
|
974
|
+
yu.componentChars = "";
|
|
975
975
|
const Pe = {};
|
|
976
976
|
function Lt(u) {
|
|
977
977
|
let e = Pe[u];
|
|
@@ -1021,7 +1021,7 @@ function Ce(u) {
|
|
|
1021
1021
|
let e = "";
|
|
1022
1022
|
return e += u.protocol || "", e += u.slashes ? "//" : "", e += u.auth ? u.auth + "@" : "", u.hostname && u.hostname.indexOf(":") !== -1 ? e += "[" + u.hostname + "]" : e += u.hostname || "", e += u.port ? ":" + u.port : "", e += u.pathname || "", e += u.search || "", e += u.hash || "", e;
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function zu() {
|
|
1025
1025
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
1026
1026
|
}
|
|
1027
1027
|
const Pt = /^([a-z0-9.+-]+:)/i, Ut = /:[0-9]*$/, Nt = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, jt = ["<", ">", '"', "`", " ", "\r", `
|
|
@@ -1040,13 +1040,13 @@ const Pt = /^([a-z0-9.+-]+:)/i, Ut = /:[0-9]*$/, Nt = /^(\/\/?(?!\/)[^\?\s]*)(\?
|
|
|
1040
1040
|
"gopher:": !0,
|
|
1041
1041
|
"file:": !0
|
|
1042
1042
|
};
|
|
1043
|
-
function
|
|
1044
|
-
if (u && u instanceof
|
|
1043
|
+
function Ee(u, e) {
|
|
1044
|
+
if (u && u instanceof zu)
|
|
1045
1045
|
return u;
|
|
1046
|
-
const t = new
|
|
1046
|
+
const t = new zu();
|
|
1047
1047
|
return t.parse(u, e), t;
|
|
1048
1048
|
}
|
|
1049
|
-
|
|
1049
|
+
zu.prototype.parse = function(u, e) {
|
|
1050
1050
|
let t, n, r, o = u;
|
|
1051
1051
|
if (o = o.trim(), !e && u.split("#").length === 1) {
|
|
1052
1052
|
const i = Nt.exec(o);
|
|
@@ -1072,11 +1072,11 @@ Bu.prototype.parse = function(u, e) {
|
|
|
1072
1072
|
const A = d[w];
|
|
1073
1073
|
if (A && !A.match(je)) {
|
|
1074
1074
|
let h = "";
|
|
1075
|
-
for (let
|
|
1076
|
-
A.charCodeAt(
|
|
1075
|
+
for (let k = 0, b = A.length; k < b; k++)
|
|
1076
|
+
A.charCodeAt(k) > 127 ? h += "x" : h += A[k];
|
|
1077
1077
|
if (!h.match(je)) {
|
|
1078
|
-
const
|
|
1079
|
-
x && (
|
|
1078
|
+
const k = d.slice(0, w), b = d.slice(w + 1), x = A.match(Jt);
|
|
1079
|
+
x && (k.push(x[1]), b.unshift(x[2])), b.length && (o = b.join(".") + o), this.hostname = k.join(".");
|
|
1080
1080
|
break;
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
@@ -1089,22 +1089,22 @@ Bu.prototype.parse = function(u, e) {
|
|
|
1089
1089
|
const c = o.indexOf("?");
|
|
1090
1090
|
return c !== -1 && (this.search = o.substr(c), o = o.slice(0, c)), o && (this.pathname = o), He[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
1091
1091
|
};
|
|
1092
|
-
|
|
1092
|
+
zu.prototype.parseHost = function(u) {
|
|
1093
1093
|
let e = Ut.exec(u);
|
|
1094
1094
|
e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
|
|
1095
1095
|
};
|
|
1096
1096
|
const Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1097
1097
|
__proto__: null,
|
|
1098
|
-
decode:
|
|
1098
|
+
decode: yu,
|
|
1099
1099
|
encode: Ou,
|
|
1100
1100
|
format: Ce,
|
|
1101
|
-
parse:
|
|
1102
|
-
}, Symbol.toStringTag, { value: "Module" })), F0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, A0 = /[\0-\x1F\x7F-\x9F]/, Qt = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,
|
|
1101
|
+
parse: Ee
|
|
1102
|
+
}, Symbol.toStringTag, { value: "Module" })), F0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, A0 = /[\0-\x1F\x7F-\x9F]/, Qt = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, De = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, w0 = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, T0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1103
1103
|
__proto__: null,
|
|
1104
1104
|
Any: F0,
|
|
1105
1105
|
Cc: A0,
|
|
1106
1106
|
Cf: Qt,
|
|
1107
|
-
P:
|
|
1107
|
+
P: De,
|
|
1108
1108
|
S: w0,
|
|
1109
1109
|
Z: T0
|
|
1110
1110
|
}, Symbol.toStringTag, { value: "Module" })), Kt = new Uint16Array(
|
|
@@ -1114,7 +1114,7 @@ const Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1114
1114
|
// prettier-ignore
|
|
1115
1115
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
|
|
1116
1116
|
);
|
|
1117
|
-
var
|
|
1117
|
+
var ue;
|
|
1118
1118
|
const un = /* @__PURE__ */ new Map([
|
|
1119
1119
|
[0, 65533],
|
|
1120
1120
|
// C1 Unicode control character reference replacements
|
|
@@ -1147,7 +1147,7 @@ const un = /* @__PURE__ */ new Map([
|
|
|
1147
1147
|
[159, 376]
|
|
1148
1148
|
]), en = (
|
|
1149
1149
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
1150
|
-
(
|
|
1150
|
+
(ue = String.fromCodePoint) !== null && ue !== void 0 ? ue : function(u) {
|
|
1151
1151
|
let e = "";
|
|
1152
1152
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
1153
1153
|
}
|
|
@@ -1165,14 +1165,14 @@ var hu;
|
|
|
1165
1165
|
(function(u) {
|
|
1166
1166
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
1167
1167
|
})(hu || (hu = {}));
|
|
1168
|
-
function
|
|
1168
|
+
function le(u) {
|
|
1169
1169
|
return u >= Q.ZERO && u <= Q.NINE;
|
|
1170
1170
|
}
|
|
1171
1171
|
function rn(u) {
|
|
1172
1172
|
return u >= Q.UPPER_A && u <= Q.UPPER_F || u >= Q.LOWER_A && u <= Q.LOWER_F;
|
|
1173
1173
|
}
|
|
1174
1174
|
function on(u) {
|
|
1175
|
-
return u >= Q.UPPER_A && u <= Q.UPPER_Z || u >= Q.LOWER_A && u <= Q.LOWER_Z ||
|
|
1175
|
+
return u >= Q.UPPER_A && u <= Q.UPPER_Z || u >= Q.LOWER_A && u <= Q.LOWER_Z || le(u);
|
|
1176
1176
|
}
|
|
1177
1177
|
function an(u) {
|
|
1178
1178
|
return u === Q.EQUALS || on(u);
|
|
@@ -1249,7 +1249,7 @@ class ln {
|
|
|
1249
1249
|
const n = t;
|
|
1250
1250
|
for (; t < e.length; ) {
|
|
1251
1251
|
const r = e.charCodeAt(t);
|
|
1252
|
-
if (
|
|
1252
|
+
if (le(r) || rn(r))
|
|
1253
1253
|
t += 1;
|
|
1254
1254
|
else
|
|
1255
1255
|
return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -1269,7 +1269,7 @@ class ln {
|
|
|
1269
1269
|
const n = t;
|
|
1270
1270
|
for (; t < e.length; ) {
|
|
1271
1271
|
const r = e.charCodeAt(t);
|
|
1272
|
-
if (
|
|
1272
|
+
if (le(r))
|
|
1273
1273
|
t += 1;
|
|
1274
1274
|
else
|
|
1275
1275
|
return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
|
|
@@ -1429,7 +1429,7 @@ const fn = Object.prototype.hasOwnProperty;
|
|
|
1429
1429
|
function pn(u, e) {
|
|
1430
1430
|
return fn.call(u, e);
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function Hu(u) {
|
|
1433
1433
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
1434
1434
|
if (t) {
|
|
1435
1435
|
if (typeof t != "object")
|
|
@@ -1446,7 +1446,7 @@ function O0(u, e, t) {
|
|
|
1446
1446
|
function Ae(u) {
|
|
1447
1447
|
return !(u >= 55296 && u <= 57343 || u >= 64976 && u <= 65007 || (u & 65535) === 65535 || (u & 65535) === 65534 || u >= 0 && u <= 8 || u === 11 || u >= 14 && u <= 31 || u >= 127 && u <= 159 || u > 1114111);
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1449
|
+
function Lu(u) {
|
|
1450
1450
|
if (u > 65535) {
|
|
1451
1451
|
u -= 65536;
|
|
1452
1452
|
const e = 55296 + (u >> 10), t = 56320 + (u & 1023);
|
|
@@ -1458,7 +1458,7 @@ const V0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, bn = /&([a-z#][a-z0-9]{
|
|
|
1458
1458
|
function xn(u, e) {
|
|
1459
1459
|
if (e.charCodeAt(0) === 35 && mn.test(e)) {
|
|
1460
1460
|
const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
|
|
1461
|
-
return Ae(n) ?
|
|
1461
|
+
return Ae(n) ? Lu(n) : u;
|
|
1462
1462
|
}
|
|
1463
1463
|
const t = I0(u);
|
|
1464
1464
|
return t !== u ? t : u;
|
|
@@ -1466,7 +1466,7 @@ function xn(u, e) {
|
|
|
1466
1466
|
function _n(u) {
|
|
1467
1467
|
return u.indexOf("\\") < 0 ? u : u.replace(V0, "$1");
|
|
1468
1468
|
}
|
|
1469
|
-
function
|
|
1469
|
+
function vu(u) {
|
|
1470
1470
|
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(hn, function(e, t, n) {
|
|
1471
1471
|
return t || xn(e, n);
|
|
1472
1472
|
});
|
|
@@ -1484,7 +1484,7 @@ function mu(u) {
|
|
|
1484
1484
|
return gn.test(u) ? u.replace(kn, vn) : u;
|
|
1485
1485
|
}
|
|
1486
1486
|
const Cn = /[.?*+^$[\]\\(){}|-]/g;
|
|
1487
|
-
function
|
|
1487
|
+
function En(u) {
|
|
1488
1488
|
return u.replace(Cn, "\\$&");
|
|
1489
1489
|
}
|
|
1490
1490
|
function N(u) {
|
|
@@ -1515,7 +1515,7 @@ function wu(u) {
|
|
|
1515
1515
|
return !1;
|
|
1516
1516
|
}
|
|
1517
1517
|
function Tu(u) {
|
|
1518
|
-
return
|
|
1518
|
+
return De.test(u) || w0.test(u);
|
|
1519
1519
|
}
|
|
1520
1520
|
function Su(u) {
|
|
1521
1521
|
switch (u) {
|
|
@@ -1556,16 +1556,16 @@ function Su(u) {
|
|
|
1556
1556
|
return !1;
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1559
|
+
function Gu(u) {
|
|
1560
1560
|
return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
|
|
1561
1561
|
}
|
|
1562
|
-
const
|
|
1562
|
+
const Dn = { mdurl: Wt, ucmicro: Yt }, Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1563
1563
|
__proto__: null,
|
|
1564
1564
|
arrayReplaceAt: O0,
|
|
1565
|
-
assign:
|
|
1565
|
+
assign: Hu,
|
|
1566
1566
|
escapeHtml: mu,
|
|
1567
|
-
escapeRE:
|
|
1568
|
-
fromCodePoint:
|
|
1567
|
+
escapeRE: En,
|
|
1568
|
+
fromCodePoint: Lu,
|
|
1569
1569
|
has: pn,
|
|
1570
1570
|
isMdAsciiPunct: Su,
|
|
1571
1571
|
isPunctChar: Tu,
|
|
@@ -1573,9 +1573,9 @@ const En = { mdurl: Wt, ucmicro: Yt }, Fn = /* @__PURE__ */ Object.freeze(/* @__
|
|
|
1573
1573
|
isString: Fe,
|
|
1574
1574
|
isValidEntityCode: Ae,
|
|
1575
1575
|
isWhiteSpace: wu,
|
|
1576
|
-
lib:
|
|
1577
|
-
normalizeReference:
|
|
1578
|
-
unescapeAll:
|
|
1576
|
+
lib: Dn,
|
|
1577
|
+
normalizeReference: Gu,
|
|
1578
|
+
unescapeAll: vu,
|
|
1579
1579
|
unescapeMd: _n
|
|
1580
1580
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1581
1581
|
function An(u, e, t) {
|
|
@@ -1608,7 +1608,7 @@ function wn(u, e, t) {
|
|
|
1608
1608
|
if (n = u.charCodeAt(r), n === 10 || n === 60)
|
|
1609
1609
|
return o;
|
|
1610
1610
|
if (n === 62)
|
|
1611
|
-
return o.pos = r + 1, o.str =
|
|
1611
|
+
return o.pos = r + 1, o.str = vu(u.slice(e + 1, r)), o.ok = !0, o;
|
|
1612
1612
|
if (n === 92 && r + 1 < t) {
|
|
1613
1613
|
r += 2;
|
|
1614
1614
|
continue;
|
|
@@ -1634,7 +1634,7 @@ function wn(u, e, t) {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
r++;
|
|
1636
1636
|
}
|
|
1637
|
-
return e === r || l !== 0 || (o.str =
|
|
1637
|
+
return e === r || l !== 0 || (o.str = vu(u.slice(e, r)), o.pos = r, o.ok = !0), o;
|
|
1638
1638
|
}
|
|
1639
1639
|
function Tn(u, e, t, n) {
|
|
1640
1640
|
let r, o = e;
|
|
@@ -1662,12 +1662,12 @@ function Tn(u, e, t, n) {
|
|
|
1662
1662
|
}
|
|
1663
1663
|
for (; o < t; ) {
|
|
1664
1664
|
if (r = u.charCodeAt(o), r === l.marker)
|
|
1665
|
-
return l.pos = o + 1, l.str +=
|
|
1665
|
+
return l.pos = o + 1, l.str += vu(u.slice(e, o)), l.ok = !0, l;
|
|
1666
1666
|
if (r === 40 && l.marker === 41)
|
|
1667
1667
|
return l;
|
|
1668
1668
|
r === 92 && o + 1 < t && o++, o++;
|
|
1669
1669
|
}
|
|
1670
|
-
return l.can_continue = !0, l.str +=
|
|
1670
|
+
return l.can_continue = !0, l.str += vu(u.slice(e, o)), l;
|
|
1671
1671
|
}
|
|
1672
1672
|
const Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1673
1673
|
__proto__: null,
|
|
@@ -1685,7 +1685,7 @@ su.code_block = function(u, e, t, n, r) {
|
|
|
1685
1685
|
`;
|
|
1686
1686
|
};
|
|
1687
1687
|
su.fence = function(u, e, t, n, r) {
|
|
1688
|
-
const o = u[e], l = o.info ?
|
|
1688
|
+
const o = u[e], l = o.info ? vu(o.info).trim() : "";
|
|
1689
1689
|
let a = "", c = "";
|
|
1690
1690
|
if (l) {
|
|
1691
1691
|
const f = l.split(/(\s+)/g);
|
|
@@ -1731,10 +1731,10 @@ su.html_block = function(u, e) {
|
|
|
1731
1731
|
su.html_inline = function(u, e) {
|
|
1732
1732
|
return u[e].content;
|
|
1733
1733
|
};
|
|
1734
|
-
function
|
|
1735
|
-
this.rules =
|
|
1734
|
+
function Eu() {
|
|
1735
|
+
this.rules = Hu({}, su);
|
|
1736
1736
|
}
|
|
1737
|
-
|
|
1737
|
+
Eu.prototype.renderAttrs = function(e) {
|
|
1738
1738
|
let t, n, r;
|
|
1739
1739
|
if (!e.attrs)
|
|
1740
1740
|
return "";
|
|
@@ -1742,7 +1742,7 @@ Cu.prototype.renderAttrs = function(e) {
|
|
|
1742
1742
|
r += " " + mu(e.attrs[t][0]) + '="' + mu(e.attrs[t][1]) + '"';
|
|
1743
1743
|
return r;
|
|
1744
1744
|
};
|
|
1745
|
-
|
|
1745
|
+
Eu.prototype.renderToken = function(e, t, n) {
|
|
1746
1746
|
const r = e[t];
|
|
1747
1747
|
let o = "";
|
|
1748
1748
|
if (r.hidden)
|
|
@@ -1757,7 +1757,7 @@ Cu.prototype.renderToken = function(e, t, n) {
|
|
|
1757
1757
|
return o += l ? `>
|
|
1758
1758
|
` : ">", o;
|
|
1759
1759
|
};
|
|
1760
|
-
|
|
1760
|
+
Eu.prototype.renderInline = function(u, e, t) {
|
|
1761
1761
|
let n = "";
|
|
1762
1762
|
const r = this.rules;
|
|
1763
1763
|
for (let o = 0, l = u.length; o < l; o++) {
|
|
@@ -1766,7 +1766,7 @@ Cu.prototype.renderInline = function(u, e, t) {
|
|
|
1766
1766
|
}
|
|
1767
1767
|
return n;
|
|
1768
1768
|
};
|
|
1769
|
-
|
|
1769
|
+
Eu.prototype.renderInlineAsText = function(u, e, t) {
|
|
1770
1770
|
let n = "";
|
|
1771
1771
|
for (let r = 0, o = u.length; r < o; r++)
|
|
1772
1772
|
switch (u[r].type) {
|
|
@@ -1788,7 +1788,7 @@ Cu.prototype.renderInlineAsText = function(u, e, t) {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
return n;
|
|
1790
1790
|
};
|
|
1791
|
-
|
|
1791
|
+
Eu.prototype.render = function(u, e, t) {
|
|
1792
1792
|
let n = "";
|
|
1793
1793
|
const r = this.rules;
|
|
1794
1794
|
for (let o = 0, l = u.length; o < l; o++) {
|
|
@@ -1977,8 +1977,8 @@ function Bn(u) {
|
|
|
1977
1977
|
}
|
|
1978
1978
|
const h = new u.Token("link_open", "a", 1);
|
|
1979
1979
|
h.attrs = [["href", w]], h.level = s++, h.markup = "linkify", h.info = "auto", f.push(h);
|
|
1980
|
-
const
|
|
1981
|
-
|
|
1980
|
+
const k = new u.Token("text", "", 0);
|
|
1981
|
+
k.content = $, k.level = s, f.push(k);
|
|
1982
1982
|
const b = new u.Token("link_close", "a", -1);
|
|
1983
1983
|
b.level = --s, b.markup = "linkify", b.info = "auto", f.push(b), p = i[m].lastIndex;
|
|
1984
1984
|
}
|
|
@@ -2060,8 +2060,8 @@ function Gn(u, e) {
|
|
|
2060
2060
|
w = u[t].content.charCodeAt(0);
|
|
2061
2061
|
break;
|
|
2062
2062
|
}
|
|
2063
|
-
const $ = Su(d) || Tu(String.fromCharCode(d)), A = Su(w) || Tu(String.fromCharCode(w)), h = wu(d),
|
|
2064
|
-
if (
|
|
2063
|
+
const $ = Su(d) || Tu(String.fromCharCode(d)), A = Su(w) || Tu(String.fromCharCode(w)), h = wu(d), k = wu(w);
|
|
2064
|
+
if (k ? s = !1 : A && (h || $ || (s = !1)), h ? p = !1 : $ && (k || A || (p = !1)), w === 34 && f[0] === '"' && d >= 48 && d <= 57 && (p = s = !1), s && p && (s = $, p = A), !s && !p) {
|
|
2065
2065
|
m && (o.content = Ru(o.content, f.index, Je));
|
|
2066
2066
|
continue;
|
|
2067
2067
|
}
|
|
@@ -2109,7 +2109,7 @@ function Wn(u) {
|
|
|
2109
2109
|
e !== t && (l.length = t);
|
|
2110
2110
|
}
|
|
2111
2111
|
}
|
|
2112
|
-
const
|
|
2112
|
+
const ee = [
|
|
2113
2113
|
["normalize", Vn],
|
|
2114
2114
|
["block", $n],
|
|
2115
2115
|
["inline", Rn],
|
|
@@ -2122,8 +2122,8 @@ const ue = [
|
|
|
2122
2122
|
];
|
|
2123
2123
|
function we() {
|
|
2124
2124
|
this.ruler = new tu();
|
|
2125
|
-
for (let u = 0; u <
|
|
2126
|
-
this.ruler.push(
|
|
2125
|
+
for (let u = 0; u < ee.length; u++)
|
|
2126
|
+
this.ruler.push(ee[u][0], ee[u][1]);
|
|
2127
2127
|
}
|
|
2128
2128
|
we.prototype.process = function(u) {
|
|
2129
2129
|
const e = this.ruler.getRules("");
|
|
@@ -2211,7 +2211,7 @@ du.prototype.getLines = function(e, t, n, r) {
|
|
|
2211
2211
|
};
|
|
2212
2212
|
du.prototype.Token = au;
|
|
2213
2213
|
const Qn = 65536;
|
|
2214
|
-
function
|
|
2214
|
+
function te(u, e) {
|
|
2215
2215
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
2216
2216
|
return u.src.slice(t, n);
|
|
2217
2217
|
}
|
|
@@ -2243,7 +2243,7 @@ function Yn(u, e, t, n) {
|
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
o++;
|
|
2245
2245
|
}
|
|
2246
|
-
let c =
|
|
2246
|
+
let c = te(u, e + 1), i = c.split("|");
|
|
2247
2247
|
const f = [];
|
|
2248
2248
|
for (let b = 0; b < i.length; b++) {
|
|
2249
2249
|
const x = i[b].trim();
|
|
@@ -2256,7 +2256,7 @@ function Yn(u, e, t, n) {
|
|
|
2256
2256
|
return !1;
|
|
2257
2257
|
x.charCodeAt(x.length - 1) === 58 ? f.push(x.charCodeAt(0) === 58 ? "center" : "right") : x.charCodeAt(0) === 58 ? f.push("left") : f.push("");
|
|
2258
2258
|
}
|
|
2259
|
-
if (c =
|
|
2259
|
+
if (c = te(u, e).trim(), c.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
2260
2260
|
return !1;
|
|
2261
2261
|
i = We(c), i.length && i[0] === "" && i.shift(), i.length && i[i.length - 1] === "" && i.pop();
|
|
2262
2262
|
const s = i.length;
|
|
@@ -2279,7 +2279,7 @@ function Yn(u, e, t, n) {
|
|
|
2279
2279
|
_.content = i[b].trim(), _.children = [], u.push("th_close", "th", -1);
|
|
2280
2280
|
}
|
|
2281
2281
|
u.push("tr_close", "tr", -1), u.push("thead_close", "thead", -1);
|
|
2282
|
-
let h,
|
|
2282
|
+
let h, k = 0;
|
|
2283
2283
|
for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
|
|
2284
2284
|
let b = !1;
|
|
2285
2285
|
for (let _ = 0, g = m.length; _ < g; _++)
|
|
@@ -2287,7 +2287,7 @@ function Yn(u, e, t, n) {
|
|
|
2287
2287
|
b = !0;
|
|
2288
2288
|
break;
|
|
2289
2289
|
}
|
|
2290
|
-
if (b || (c =
|
|
2290
|
+
if (b || (c = te(u, r).trim(), !c) || u.sCount[r] - u.blkIndent >= 4 || (i = We(c), i.length && i[0] === "" && i.shift(), i.length && i[i.length - 1] === "" && i.pop(), k += s - i.length, k > Qn))
|
|
2291
2291
|
break;
|
|
2292
2292
|
if (r === e + 2) {
|
|
2293
2293
|
const _ = u.push("tbody_open", "tbody", 1);
|
|
@@ -2363,17 +2363,17 @@ function ur(u, e, t, n) {
|
|
|
2363
2363
|
u.parentType = "blockquote";
|
|
2364
2364
|
let m = !1, d;
|
|
2365
2365
|
for (d = e; d < t; d++) {
|
|
2366
|
-
const
|
|
2366
|
+
const k = u.sCount[d] < u.blkIndent;
|
|
2367
2367
|
if (r = u.bMarks[d] + u.tShift[d], o = u.eMarks[d], r >= o)
|
|
2368
2368
|
break;
|
|
2369
|
-
if (u.src.charCodeAt(r++) === 62 && !
|
|
2369
|
+
if (u.src.charCodeAt(r++) === 62 && !k) {
|
|
2370
2370
|
let x = u.sCount[d] + 1, _, g;
|
|
2371
2371
|
u.src.charCodeAt(r) === 32 ? (r++, x++, g = !1, _ = !0) : u.src.charCodeAt(r) === 9 ? (_ = !0, (u.bsCount[d] + x) % 4 === 3 ? (r++, x++, g = !1) : g = !0) : _ = !1;
|
|
2372
2372
|
let V = x;
|
|
2373
2373
|
for (a.push(u.bMarks[d]), u.bMarks[d] = r; r < o; ) {
|
|
2374
|
-
const
|
|
2375
|
-
if (N(
|
|
2376
|
-
|
|
2374
|
+
const v = u.src.charCodeAt(r);
|
|
2375
|
+
if (N(v))
|
|
2376
|
+
v === 9 ? V += 4 - (V + u.bsCount[d] + (g ? 1 : 0)) % 4 : V++;
|
|
2377
2377
|
else
|
|
2378
2378
|
break;
|
|
2379
2379
|
r++;
|
|
@@ -2403,8 +2403,8 @@ function ur(u, e, t, n) {
|
|
|
2403
2403
|
$.map = A, u.md.block.tokenize(u, e, d);
|
|
2404
2404
|
const h = u.push("blockquote_close", "blockquote", -1);
|
|
2405
2405
|
h.markup = ">", u.lineMax = l, u.parentType = p, A[1] = u.line;
|
|
2406
|
-
for (let
|
|
2407
|
-
u.bMarks[
|
|
2406
|
+
for (let k = 0; k < f.length; k++)
|
|
2407
|
+
u.bMarks[k + e] = a[k], u.tShift[k + e] = f[k], u.sCount[k + e] = i[k], u.bsCount[k + e] = c[k];
|
|
2408
2408
|
return u.blkIndent = w, !0;
|
|
2409
2409
|
}
|
|
2410
2410
|
function er(u, e, t, n) {
|
|
@@ -2493,7 +2493,7 @@ function nr(u, e, t, n) {
|
|
|
2493
2493
|
const $ = [c, 0];
|
|
2494
2494
|
a.map = $, a.markup = String.fromCharCode(d);
|
|
2495
2495
|
let A = !1;
|
|
2496
|
-
const h = u.md.block.ruler.getRules("list"),
|
|
2496
|
+
const h = u.md.block.ruler.getRules("list"), k = u.parentType;
|
|
2497
2497
|
for (u.parentType = "list"; c < t; ) {
|
|
2498
2498
|
o = m, r = u.eMarks[c];
|
|
2499
2499
|
const b = u.sCount[c] + m - (u.bMarks[c] + u.tShift[c]);
|
|
@@ -2513,10 +2513,10 @@ function nr(u, e, t, n) {
|
|
|
2513
2513
|
_ >= r ? g = 1 : g = x - b, g > 4 && (g = 1);
|
|
2514
2514
|
const V = b + g;
|
|
2515
2515
|
a = u.push("list_item_open", "li", 1), a.markup = String.fromCharCode(d);
|
|
2516
|
-
const
|
|
2517
|
-
a.map =
|
|
2518
|
-
const T = u.tight,
|
|
2519
|
-
if (u.listIndent = u.blkIndent, u.blkIndent = V, u.tight = !0, u.tShift[c] = _ - u.bMarks[c], u.sCount[c] = x, _ >= r && u.isEmpty(c + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, c, t, !0), (!u.tight || A) && (i = !1), A = u.line - c > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = U, u.tShift[c] =
|
|
2516
|
+
const v = [c, 0];
|
|
2517
|
+
a.map = v, s && (a.info = u.src.slice(l, m - 1));
|
|
2518
|
+
const T = u.tight, D = u.tShift[c], z = u.sCount[c], U = u.listIndent;
|
|
2519
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = V, u.tight = !0, u.tShift[c] = _ - u.bMarks[c], u.sCount[c] = x, _ >= r && u.isEmpty(c + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, c, t, !0), (!u.tight || A) && (i = !1), A = u.line - c > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = U, u.tShift[c] = D, u.sCount[c] = z, u.tight = T, a = u.push("list_item_close", "li", -1), a.markup = String.fromCharCode(d), c = u.line, v[1] = c, c >= t || u.sCount[c] < u.blkIndent || u.sCount[c] - u.blkIndent >= 4)
|
|
2520
2520
|
break;
|
|
2521
2521
|
let C = !1;
|
|
2522
2522
|
for (let Z = 0, X = h.length; Z < X; Z++)
|
|
@@ -2535,27 +2535,27 @@ function nr(u, e, t, n) {
|
|
|
2535
2535
|
if (d !== u.src.charCodeAt(m - 1))
|
|
2536
2536
|
break;
|
|
2537
2537
|
}
|
|
2538
|
-
return s ? a = u.push("ordered_list_close", "ol", -1) : a = u.push("bullet_list_close", "ul", -1), a.markup = String.fromCharCode(d), $[1] = c, u.line = c, u.parentType =
|
|
2538
|
+
return s ? a = u.push("ordered_list_close", "ol", -1) : a = u.push("bullet_list_close", "ul", -1), a.markup = String.fromCharCode(d), $[1] = c, u.line = c, u.parentType = k, i && tr(u, w), !0;
|
|
2539
2539
|
}
|
|
2540
2540
|
function rr(u, e, t, n) {
|
|
2541
2541
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e], l = e + 1;
|
|
2542
2542
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
|
|
2543
2543
|
return !1;
|
|
2544
2544
|
function a(h) {
|
|
2545
|
-
const
|
|
2546
|
-
if (h >=
|
|
2545
|
+
const k = u.lineMax;
|
|
2546
|
+
if (h >= k || u.isEmpty(h))
|
|
2547
2547
|
return null;
|
|
2548
2548
|
let b = !1;
|
|
2549
2549
|
if (u.sCount[h] - u.blkIndent > 3 && (b = !0), u.sCount[h] < 0 && (b = !0), !b) {
|
|
2550
2550
|
const g = u.md.block.ruler.getRules("reference"), V = u.parentType;
|
|
2551
2551
|
u.parentType = "reference";
|
|
2552
|
-
let
|
|
2553
|
-
for (let T = 0,
|
|
2554
|
-
if (g[T](u, h,
|
|
2555
|
-
|
|
2552
|
+
let v = !1;
|
|
2553
|
+
for (let T = 0, D = g.length; T < D; T++)
|
|
2554
|
+
if (g[T](u, h, k, !0)) {
|
|
2555
|
+
v = !0;
|
|
2556
2556
|
break;
|
|
2557
2557
|
}
|
|
2558
|
-
if (u.parentType = V,
|
|
2558
|
+
if (u.parentType = V, v)
|
|
2559
2559
|
return null;
|
|
2560
2560
|
}
|
|
2561
2561
|
const x = u.bMarks[h] + u.tShift[h], _ = u.eMarks[h];
|
|
@@ -2572,11 +2572,11 @@ function rr(u, e, t, n) {
|
|
|
2572
2572
|
i = r;
|
|
2573
2573
|
break;
|
|
2574
2574
|
} else if (h === 10) {
|
|
2575
|
-
const
|
|
2576
|
-
|
|
2575
|
+
const k = a(l);
|
|
2576
|
+
k !== null && (c += k, o = c.length, l++);
|
|
2577
2577
|
} else if (h === 92 && (r++, r < o && c.charCodeAt(r) === 10)) {
|
|
2578
|
-
const
|
|
2579
|
-
|
|
2578
|
+
const k = a(l);
|
|
2579
|
+
k !== null && (c += k, o = c.length, l++);
|
|
2580
2580
|
}
|
|
2581
2581
|
}
|
|
2582
2582
|
if (i < 0 || c.charCodeAt(i + 1) !== 58)
|
|
@@ -2584,8 +2584,8 @@ function rr(u, e, t, n) {
|
|
|
2584
2584
|
for (r = i + 2; r < o; r++) {
|
|
2585
2585
|
const h = c.charCodeAt(r);
|
|
2586
2586
|
if (h === 10) {
|
|
2587
|
-
const
|
|
2588
|
-
|
|
2587
|
+
const k = a(l);
|
|
2588
|
+
k !== null && (c += k, o = c.length, l++);
|
|
2589
2589
|
} else if (!N(h))
|
|
2590
2590
|
break;
|
|
2591
2591
|
}
|
|
@@ -2600,8 +2600,8 @@ function rr(u, e, t, n) {
|
|
|
2600
2600
|
for (; r < o; r++) {
|
|
2601
2601
|
const h = c.charCodeAt(r);
|
|
2602
2602
|
if (h === 10) {
|
|
2603
|
-
const
|
|
2604
|
-
|
|
2603
|
+
const k = a(l);
|
|
2604
|
+
k !== null && (c += k, o = c.length, l++);
|
|
2605
2605
|
} else if (!N(h))
|
|
2606
2606
|
break;
|
|
2607
2607
|
}
|
|
@@ -2628,7 +2628,7 @@ function rr(u, e, t, n) {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
if (r < o && c.charCodeAt(r) !== 10)
|
|
2630
2630
|
return !1;
|
|
2631
|
-
const A =
|
|
2631
|
+
const A = Gu(c.slice(1, i));
|
|
2632
2632
|
return A ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[A] > "u" && (u.env.references[A] = { title: $, href: s }), u.line = l), !0) : !1;
|
|
2633
2633
|
}
|
|
2634
2634
|
const or = [
|
|
@@ -2827,12 +2827,12 @@ const Mu = [
|
|
|
2827
2827
|
["lheading", kr],
|
|
2828
2828
|
["paragraph", yr]
|
|
2829
2829
|
];
|
|
2830
|
-
function
|
|
2830
|
+
function Ju() {
|
|
2831
2831
|
this.ruler = new tu();
|
|
2832
2832
|
for (let u = 0; u < Mu.length; u++)
|
|
2833
2833
|
this.ruler.push(Mu[u][0], Mu[u][1], { alt: (Mu[u][2] || []).slice() });
|
|
2834
2834
|
}
|
|
2835
|
-
|
|
2835
|
+
Ju.prototype.tokenize = function(u, e, t) {
|
|
2836
2836
|
const n = this.ruler.getRules(""), r = n.length, o = u.md.options.maxNesting;
|
|
2837
2837
|
let l = e, a = !1;
|
|
2838
2838
|
for (; l < t && (u.line = l = u.skipEmptyLines(l), !(l >= t || u.sCount[l] < u.blkIndent)); ) {
|
|
@@ -2853,13 +2853,13 @@ Gu.prototype.tokenize = function(u, e, t) {
|
|
|
2853
2853
|
u.tight = !a, u.isEmpty(u.line - 1) && (a = !0), l = u.line, l < t && u.isEmpty(l) && (a = !0, l++, u.line = l);
|
|
2854
2854
|
}
|
|
2855
2855
|
};
|
|
2856
|
-
|
|
2856
|
+
Ju.prototype.parse = function(u, e, t, n) {
|
|
2857
2857
|
if (!u)
|
|
2858
2858
|
return;
|
|
2859
2859
|
const r = new this.State(u, e, t, n);
|
|
2860
2860
|
this.tokenize(r, r.line, r.lineMax);
|
|
2861
2861
|
};
|
|
2862
|
-
|
|
2862
|
+
Ju.prototype.State = du;
|
|
2863
2863
|
function Vu(u, e, t, n) {
|
|
2864
2864
|
this.src = u, this.env = t, this.md = e, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
|
|
2865
2865
|
}
|
|
@@ -2918,14 +2918,14 @@ function Cr(u, e) {
|
|
|
2918
2918
|
t++;
|
|
2919
2919
|
return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
|
|
2920
2920
|
}
|
|
2921
|
-
const
|
|
2922
|
-
function
|
|
2921
|
+
const Er = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
2922
|
+
function Dr(u, e) {
|
|
2923
2923
|
if (!u.md.options.linkify || u.linkLevel > 0)
|
|
2924
2924
|
return !1;
|
|
2925
2925
|
const t = u.pos, n = u.posMax;
|
|
2926
2926
|
if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47)
|
|
2927
2927
|
return !1;
|
|
2928
|
-
const r = u.pending.match(
|
|
2928
|
+
const r = u.pending.match(Er);
|
|
2929
2929
|
if (!r)
|
|
2930
2930
|
return !1;
|
|
2931
2931
|
const o = r[1], l = u.md.linkify.matchAtStart(u.src.slice(t - o.length));
|
|
@@ -3156,7 +3156,7 @@ function Vr(u, e) {
|
|
|
3156
3156
|
if (i) {
|
|
3157
3157
|
if (typeof u.env.references > "u")
|
|
3158
3158
|
return !1;
|
|
3159
|
-
if (d < s && u.src.charCodeAt(d) === 91 ? (c = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(c, d++) : d = m + 1) : d = m + 1, n || (n = u.src.slice(p, m)), o = u.env.references[
|
|
3159
|
+
if (d < s && u.src.charCodeAt(d) === 91 ? (c = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(c, d++) : d = m + 1) : d = m + 1, n || (n = u.src.slice(p, m)), o = u.env.references[Gu(n)], !o)
|
|
3160
3160
|
return u.pos = f, !1;
|
|
3161
3161
|
l = o.href, a = o.title;
|
|
3162
3162
|
}
|
|
@@ -3193,7 +3193,7 @@ function $r(u, e) {
|
|
|
3193
3193
|
} else {
|
|
3194
3194
|
if (typeof u.env.references > "u")
|
|
3195
3195
|
return !1;
|
|
3196
|
-
if (o < p && u.src.charCodeAt(o) === 91 ? (i = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(i, o++) : o = d + 1) : o = d + 1, r || (r = u.src.slice(m, d)), l = u.env.references[
|
|
3196
|
+
if (o < p && u.src.charCodeAt(o) === 91 ? (i = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(i, o++) : o = d + 1) : o = d + 1, r || (r = u.src.slice(m, d)), l = u.env.references[Gu(r)], !l)
|
|
3197
3197
|
return u.pos = s, !1;
|
|
3198
3198
|
f = l.href, c = l.title;
|
|
3199
3199
|
}
|
|
@@ -3295,7 +3295,7 @@ function jr(u, e) {
|
|
|
3295
3295
|
if (o) {
|
|
3296
3296
|
if (!e) {
|
|
3297
3297
|
const l = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), a = u.push("text_special", "", 0);
|
|
3298
|
-
a.content = Ae(l) ?
|
|
3298
|
+
a.content = Ae(l) ? Lu(l) : Lu(65533), a.markup = o[0], a.info = "entity";
|
|
3299
3299
|
}
|
|
3300
3300
|
return u.pos += o[0].length, !0;
|
|
3301
3301
|
}
|
|
@@ -3354,9 +3354,9 @@ function Hr(u) {
|
|
|
3354
3354
|
r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < o && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
|
|
3355
3355
|
e !== t && (r.length = t);
|
|
3356
3356
|
}
|
|
3357
|
-
const
|
|
3357
|
+
const ne = [
|
|
3358
3358
|
["text", Cr],
|
|
3359
|
-
["linkify",
|
|
3359
|
+
["linkify", Dr],
|
|
3360
3360
|
["newline", Fr],
|
|
3361
3361
|
["escape", Ar],
|
|
3362
3362
|
["backticks", wr],
|
|
@@ -3367,7 +3367,7 @@ const te = [
|
|
|
3367
3367
|
["autolink", qr],
|
|
3368
3368
|
["html_inline", Pr],
|
|
3369
3369
|
["entity", jr]
|
|
3370
|
-
],
|
|
3370
|
+
], re = [
|
|
3371
3371
|
["balance_pairs", Zr],
|
|
3372
3372
|
["strikethrough", B0.postProcess],
|
|
3373
3373
|
["emphasis", z0.postProcess],
|
|
@@ -3377,11 +3377,11 @@ const te = [
|
|
|
3377
3377
|
];
|
|
3378
3378
|
function $u() {
|
|
3379
3379
|
this.ruler = new tu();
|
|
3380
|
-
for (let u = 0; u < te.length; u++)
|
|
3381
|
-
this.ruler.push(te[u][0], te[u][1]);
|
|
3382
|
-
this.ruler2 = new tu();
|
|
3383
3380
|
for (let u = 0; u < ne.length; u++)
|
|
3384
|
-
this.
|
|
3381
|
+
this.ruler.push(ne[u][0], ne[u][1]);
|
|
3382
|
+
this.ruler2 = new tu();
|
|
3383
|
+
for (let u = 0; u < re.length; u++)
|
|
3384
|
+
this.ruler2.push(re[u][0], re[u][1]);
|
|
3385
3385
|
}
|
|
3386
3386
|
$u.prototype.skipToken = function(u) {
|
|
3387
3387
|
const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, o = u.cache;
|
|
@@ -3433,7 +3433,7 @@ $u.prototype.parse = function(u, e, t, n) {
|
|
|
3433
3433
|
$u.prototype.State = Vu;
|
|
3434
3434
|
function Gr(u) {
|
|
3435
3435
|
const e = {};
|
|
3436
|
-
u = u || {}, e.src_Any = F0.source, e.src_Cc = A0.source, e.src_Z = T0.source, e.src_P =
|
|
3436
|
+
u = u || {}, e.src_Any = F0.source, e.src_Cc = A0.source, e.src_Z = T0.source, e.src_P = De.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
3437
3437
|
const t = "[><|]";
|
|
3438
3438
|
return e.src_pseudo_letter = "(?:(?!" + t + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + t + "|" + e.src_ZPCc + ")(?!" + (u["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]|$)|" + (u["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
|
|
3439
3439
|
",(?!" + e.src_ZCc + "|$)|;(?!" + e.src_ZCc + "|$)|\\!+(?!" + e.src_ZCc + "|[!]|$)|\\?(?!" + e.src_ZCc + "|[?]|$))+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
|
|
@@ -3443,27 +3443,27 @@ function Gr(u) {
|
|
|
3443
3443
|
// but can start with > (markdown blockquote)
|
|
3444
3444
|
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
|
|
3445
3445
|
}
|
|
3446
|
-
function
|
|
3446
|
+
function ie(u) {
|
|
3447
3447
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
3448
3448
|
t && Object.keys(t).forEach(function(n) {
|
|
3449
3449
|
u[n] = t[n];
|
|
3450
3450
|
});
|
|
3451
3451
|
}), u;
|
|
3452
3452
|
}
|
|
3453
|
-
function
|
|
3453
|
+
function Wu(u) {
|
|
3454
3454
|
return Object.prototype.toString.call(u);
|
|
3455
3455
|
}
|
|
3456
3456
|
function Jr(u) {
|
|
3457
|
-
return
|
|
3457
|
+
return Wu(u) === "[object String]";
|
|
3458
3458
|
}
|
|
3459
3459
|
function Wr(u) {
|
|
3460
|
-
return
|
|
3460
|
+
return Wu(u) === "[object Object]";
|
|
3461
3461
|
}
|
|
3462
3462
|
function Qr(u) {
|
|
3463
|
-
return
|
|
3463
|
+
return Wu(u) === "[object RegExp]";
|
|
3464
3464
|
}
|
|
3465
3465
|
function e0(u) {
|
|
3466
|
-
return
|
|
3466
|
+
return Wu(u) === "[object Function]";
|
|
3467
3467
|
}
|
|
3468
3468
|
function Yr(u) {
|
|
3469
3469
|
return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
@@ -3525,7 +3525,7 @@ function t0() {
|
|
|
3525
3525
|
e.normalize(u);
|
|
3526
3526
|
};
|
|
3527
3527
|
}
|
|
3528
|
-
function
|
|
3528
|
+
function Pu(u) {
|
|
3529
3529
|
const e = u.re = Gr(u.__opts__), t = u.__tlds__.slice();
|
|
3530
3530
|
u.onCompile(), u.__tlds_replaced__ || t.push(uo), t.push(e.src_xn), e.src_tlds = t.join("|");
|
|
3531
3531
|
function n(a) {
|
|
@@ -3566,20 +3566,20 @@ function ro(u, e) {
|
|
|
3566
3566
|
const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
|
|
3567
3567
|
this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
|
|
3568
3568
|
}
|
|
3569
|
-
function
|
|
3569
|
+
function ce(u, e) {
|
|
3570
3570
|
const t = new ro(u, e);
|
|
3571
3571
|
return u.__compiled__[t.schema].normalize(t, u), t;
|
|
3572
3572
|
}
|
|
3573
3573
|
function ru(u, e) {
|
|
3574
3574
|
if (!(this instanceof ru))
|
|
3575
3575
|
return new ru(u, e);
|
|
3576
|
-
e || Kr(u) && (e = u, u = {}), this.__opts__ =
|
|
3576
|
+
e || Kr(u) && (e = u, u = {}), this.__opts__ = ie({}, L0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = ie({}, Xr, u), this.__compiled__ = {}, this.__tlds__ = eo, this.__tlds_replaced__ = !1, this.re = {}, Pu(this);
|
|
3577
3577
|
}
|
|
3578
3578
|
ru.prototype.add = function(e, t) {
|
|
3579
|
-
return this.__schemas__[e] = t,
|
|
3579
|
+
return this.__schemas__[e] = t, Pu(this), this;
|
|
3580
3580
|
};
|
|
3581
3581
|
ru.prototype.set = function(e) {
|
|
3582
|
-
return this.__opts__ =
|
|
3582
|
+
return this.__opts__ = ie(this.__opts__, e), this;
|
|
3583
3583
|
};
|
|
3584
3584
|
ru.prototype.test = function(e) {
|
|
3585
3585
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
@@ -3603,10 +3603,10 @@ ru.prototype.testSchemaAt = function(e, t, n) {
|
|
|
3603
3603
|
ru.prototype.match = function(e) {
|
|
3604
3604
|
const t = [];
|
|
3605
3605
|
let n = 0;
|
|
3606
|
-
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(
|
|
3606
|
+
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(ce(this, n)), n = this.__last_index__);
|
|
3607
3607
|
let r = n ? e.slice(n) : e;
|
|
3608
3608
|
for (; this.test(r); )
|
|
3609
|
-
t.push(
|
|
3609
|
+
t.push(ce(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
|
|
3610
3610
|
return t.length ? t : null;
|
|
3611
3611
|
};
|
|
3612
3612
|
ru.prototype.matchAtStart = function(e) {
|
|
@@ -3616,12 +3616,12 @@ ru.prototype.matchAtStart = function(e) {
|
|
|
3616
3616
|
if (!t)
|
|
3617
3617
|
return null;
|
|
3618
3618
|
const n = this.testSchemaAt(e, t[2], t[0].length);
|
|
3619
|
-
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n,
|
|
3619
|
+
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, ce(this, 0)) : null;
|
|
3620
3620
|
};
|
|
3621
3621
|
ru.prototype.tlds = function(e, t) {
|
|
3622
3622
|
return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, o) {
|
|
3623
3623
|
return n !== o[r - 1];
|
|
3624
|
-
}).reverse(),
|
|
3624
|
+
}).reverse(), Pu(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Pu(this), this);
|
|
3625
3625
|
};
|
|
3626
3626
|
ru.prototype.normalize = function(e) {
|
|
3627
3627
|
e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
|
|
@@ -3632,7 +3632,7 @@ const gu = 2147483647, iu = 36, Se = 1, Iu = 26, oo = 38, ao = 700, P0 = 72, U0
|
|
|
3632
3632
|
overflow: "Overflow: input needs wider integers to process",
|
|
3633
3633
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3634
3634
|
"invalid-input": "Invalid input"
|
|
3635
|
-
},
|
|
3635
|
+
}, oe = iu - Se, cu = Math.floor, ae = String.fromCharCode;
|
|
3636
3636
|
function pu(u) {
|
|
3637
3637
|
throw new RangeError(so[u]);
|
|
3638
3638
|
}
|
|
@@ -3670,9 +3670,9 @@ const po = (u) => String.fromCodePoint(...u), bo = function(u) {
|
|
|
3670
3670
|
return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
|
|
3671
3671
|
}, H0 = function(u, e, t) {
|
|
3672
3672
|
let n = 0;
|
|
3673
|
-
for (u = t ? cu(u / ao) : u >> 1, u += cu(u / e); u >
|
|
3674
|
-
u = cu(u /
|
|
3675
|
-
return cu(n + (
|
|
3673
|
+
for (u = t ? cu(u / ao) : u >> 1, u += cu(u / e); u > oe * Iu >> 1; n += iu)
|
|
3674
|
+
u = cu(u / oe);
|
|
3675
|
+
return cu(n + (oe + 1) * u / (u + oo));
|
|
3676
3676
|
}, G0 = function(u) {
|
|
3677
3677
|
const e = [], t = u.length;
|
|
3678
3678
|
let n = 0, r = U0, o = P0, l = u.lastIndexOf(N0);
|
|
@@ -3701,7 +3701,7 @@ const po = (u) => String.fromCodePoint(...u), bo = function(u) {
|
|
|
3701
3701
|
const t = u.length;
|
|
3702
3702
|
let n = U0, r = 0, o = P0;
|
|
3703
3703
|
for (const c of u)
|
|
3704
|
-
c < 128 && e.push(
|
|
3704
|
+
c < 128 && e.push(ae(c));
|
|
3705
3705
|
const l = e.length;
|
|
3706
3706
|
let a = l;
|
|
3707
3707
|
for (l && e.push(N0); a < t; ) {
|
|
@@ -3719,10 +3719,10 @@ const po = (u) => String.fromCodePoint(...u), bo = function(u) {
|
|
|
3719
3719
|
break;
|
|
3720
3720
|
const d = s - m, w = iu - m;
|
|
3721
3721
|
e.push(
|
|
3722
|
-
|
|
3722
|
+
ae(n0(m + d % w, 0))
|
|
3723
3723
|
), s = cu(d / w);
|
|
3724
3724
|
}
|
|
3725
|
-
e.push(
|
|
3725
|
+
e.push(ae(n0(s, 0))), o = H0(r, i, a === l), r = 0, ++a;
|
|
3726
3726
|
}
|
|
3727
3727
|
++r, ++n;
|
|
3728
3728
|
}
|
|
@@ -3932,8 +3932,8 @@ function Co(u) {
|
|
|
3932
3932
|
return yo.test(e) ? vo.test(e) : !0;
|
|
3933
3933
|
}
|
|
3934
3934
|
const Q0 = ["http:", "https:", "mailto:"];
|
|
3935
|
-
function
|
|
3936
|
-
const e =
|
|
3935
|
+
function Eo(u) {
|
|
3936
|
+
const e = Ee(u, !0);
|
|
3937
3937
|
if (e.hostname && (!e.protocol || Q0.indexOf(e.protocol) >= 0))
|
|
3938
3938
|
try {
|
|
3939
3939
|
e.hostname = W0.toASCII(e.hostname);
|
|
@@ -3941,22 +3941,22 @@ function Do(u) {
|
|
|
3941
3941
|
}
|
|
3942
3942
|
return Ou(Ce(e));
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3945
|
-
const e =
|
|
3944
|
+
function Do(u) {
|
|
3945
|
+
const e = Ee(u, !0);
|
|
3946
3946
|
if (e.hostname && (!e.protocol || Q0.indexOf(e.protocol) >= 0))
|
|
3947
3947
|
try {
|
|
3948
3948
|
e.hostname = W0.toUnicode(e.hostname);
|
|
3949
3949
|
} catch {
|
|
3950
3950
|
}
|
|
3951
|
-
return
|
|
3951
|
+
return yu(Ce(e), yu.defaultChars + "%");
|
|
3952
3952
|
}
|
|
3953
3953
|
function ou(u, e) {
|
|
3954
3954
|
if (!(this instanceof ou))
|
|
3955
3955
|
return new ou(u, e);
|
|
3956
|
-
e || Fe(u) || (e = u || {}, u = "default"), this.inline = new $u(), this.block = new
|
|
3956
|
+
e || Fe(u) || (e = u || {}, u = "default"), this.inline = new $u(), this.block = new Ju(), this.core = new we(), this.renderer = new Eu(), this.linkify = new ru(), this.validateLink = Co, this.normalizeLink = Eo, this.normalizeLinkText = Do, this.utils = Fn, this.helpers = Hu({}, Sn), this.options = {}, this.configure(u), e && this.set(e);
|
|
3957
3957
|
}
|
|
3958
3958
|
ou.prototype.set = function(u) {
|
|
3959
|
-
return
|
|
3959
|
+
return Hu(this.options, u), this;
|
|
3960
3960
|
};
|
|
3961
3961
|
ou.prototype.configure = function(u) {
|
|
3962
3962
|
const e = this;
|
|
@@ -4017,7 +4017,7 @@ ou.prototype.renderInline = function(u, e) {
|
|
|
4017
4017
|
};
|
|
4018
4018
|
const Fo = ["innerHTML"], Ao = {
|
|
4019
4019
|
__name: "FactorDescription",
|
|
4020
|
-
props: /* @__PURE__ */
|
|
4020
|
+
props: /* @__PURE__ */ ju({
|
|
4021
4021
|
factorType: { type: String, default: "模版" },
|
|
4022
4022
|
data: { type: Array, default: [] }
|
|
4023
4023
|
}, {
|
|
@@ -4026,13 +4026,13 @@ const Fo = ["innerHTML"], Ao = {
|
|
|
4026
4026
|
}),
|
|
4027
4027
|
emits: ["update:visible"],
|
|
4028
4028
|
setup(u) {
|
|
4029
|
-
const { request: e } = l0("stConfig"), t = new ou(), n = eu(""), r =
|
|
4029
|
+
const { request: e } = l0("stConfig"), t = new ou(), n = eu(""), r = Zu(u, "visible");
|
|
4030
4030
|
return d0(async () => {
|
|
4031
4031
|
const { data: o } = await e.post("/middleLayer/special/getOss", { url: "resource/factor_select.md" }), l = new Uint8Array(o.data), c = new TextDecoder("utf-8").decode(l);
|
|
4032
4032
|
n.value = t.render(c);
|
|
4033
4033
|
}), (o, l) => {
|
|
4034
4034
|
const a = lt, c = it, i = a0, f = ge;
|
|
4035
|
-
return
|
|
4035
|
+
return E(), L(f, {
|
|
4036
4036
|
modelValue: r.value,
|
|
4037
4037
|
"onUpdate:modelValue": l[0] || (l[0] = (s) => r.value = s),
|
|
4038
4038
|
title: u.factorType === "模版" ? "因子说明" : "脚本编写说明",
|
|
@@ -4046,32 +4046,32 @@ const Fo = ["innerHTML"], Ao = {
|
|
|
4046
4046
|
"modal-penetrable": !0
|
|
4047
4047
|
}, {
|
|
4048
4048
|
default: F(() => [
|
|
4049
|
-
|
|
4049
|
+
y(i, { height: "500px" }, {
|
|
4050
4050
|
default: F(() => [
|
|
4051
|
-
u.factorType === "模版" ? (
|
|
4051
|
+
u.factorType === "模版" ? (E(), L(c, {
|
|
4052
4052
|
key: 0,
|
|
4053
4053
|
data: u.data,
|
|
4054
4054
|
border: "",
|
|
4055
4055
|
height: "500"
|
|
4056
4056
|
}, {
|
|
4057
4057
|
default: F(() => [
|
|
4058
|
-
|
|
4058
|
+
y(a, {
|
|
4059
4059
|
prop: "factorName",
|
|
4060
4060
|
label: "因子名称",
|
|
4061
4061
|
width: "200"
|
|
4062
4062
|
}),
|
|
4063
|
-
|
|
4063
|
+
y(a, {
|
|
4064
4064
|
prop: "factorDesc",
|
|
4065
4065
|
label: "因子说明"
|
|
4066
4066
|
}),
|
|
4067
|
-
|
|
4067
|
+
y(a, {
|
|
4068
4068
|
prop: "factorScoreDefine",
|
|
4069
4069
|
label: "分值定义"
|
|
4070
4070
|
})
|
|
4071
4071
|
]),
|
|
4072
4072
|
_: 1
|
|
4073
4073
|
}, 8, ["data"])) : P("", !0),
|
|
4074
|
-
u.factorType === "脚本" ? (
|
|
4074
|
+
u.factorType === "脚本" ? (E(), S("div", {
|
|
4075
4075
|
key: 1,
|
|
4076
4076
|
class: "markdown-body",
|
|
4077
4077
|
innerHTML: n.value
|
|
@@ -4085,9 +4085,9 @@ const Fo = ["innerHTML"], Ao = {
|
|
|
4085
4085
|
};
|
|
4086
4086
|
}
|
|
4087
4087
|
};
|
|
4088
|
-
const Y0 = (u) => (xe("data-v-
|
|
4088
|
+
const Y0 = (u) => (xe("data-v-474efe55"), u = u(), _e(), u), wo = { class: "factor-screen" }, To = { style: { "white-space": "pre-line" } }, So = { class: "custom-header" }, Io = { class: "left" }, Oo = ["id"], Vo = { class: "right" }, $o = { class: "form-row" }, Ro = { class: "index" }, Mo = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, qo = /* @__PURE__ */ Y0(() => /* @__PURE__ */ O("span", null, "~", -1)), Bo = /* @__PURE__ */ Y0(() => /* @__PURE__ */ O("span", null, "&&代表and,||代表or", -1)), zo = { class: "dialog-footer" }, Lo = {
|
|
4089
4089
|
__name: "index",
|
|
4090
|
-
props: /* @__PURE__ */
|
|
4090
|
+
props: /* @__PURE__ */ ju({
|
|
4091
4091
|
config: {
|
|
4092
4092
|
type: Object,
|
|
4093
4093
|
default: {
|
|
@@ -4117,7 +4117,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4117
4117
|
}),
|
|
4118
4118
|
emits: ["update:data"],
|
|
4119
4119
|
setup(u) {
|
|
4120
|
-
const e = u, t =
|
|
4120
|
+
const e = u, t = Zu(u, "data"), n = eu(), r = eu(), o = eu(!1), l = eu(!1), a = eu("脚本"), c = eu(null), i = eu({
|
|
4121
4121
|
// 筛选因子列表
|
|
4122
4122
|
list: [
|
|
4123
4123
|
{
|
|
@@ -4136,26 +4136,24 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4136
4136
|
// 脚本语句
|
|
4137
4137
|
factorSelectExpr: ""
|
|
4138
4138
|
}), f = () => {
|
|
4139
|
-
const { list:
|
|
4139
|
+
const { list: k, sqlEnable: b, sqlValue: x, factorSelectExpr: _ } = t.value;
|
|
4140
4140
|
i.value = {
|
|
4141
|
-
list: JSON.parse(JSON.stringify(
|
|
4141
|
+
list: JSON.parse(JSON.stringify(k)),
|
|
4142
4142
|
sqlEnable: b,
|
|
4143
4143
|
sqlValue: x,
|
|
4144
4144
|
factorSelectExpr: _
|
|
4145
|
-
}, i.value.list.length || m(), o.value = !0
|
|
4146
|
-
_ && (a.value = "脚本", n.value.setValue(_)), n.value.resize();
|
|
4147
|
-
});
|
|
4145
|
+
}, i.value.list.length || m(), o.value = !0;
|
|
4148
4146
|
}, s = () => {
|
|
4149
4147
|
if (a.value === "模版")
|
|
4150
|
-
c.value.validate((
|
|
4148
|
+
c.value.validate((k) => {
|
|
4151
4149
|
const { list: b, sqlEnable: x, sqlValue: _ } = i.value;
|
|
4152
|
-
if (
|
|
4150
|
+
if (k) {
|
|
4153
4151
|
if (x) {
|
|
4154
4152
|
if (!_)
|
|
4155
4153
|
return J.error("SQL语句不能为空");
|
|
4156
|
-
const g = ze(_), V = b.map((T,
|
|
4157
|
-
if (
|
|
4158
|
-
return J.error(`请检查SQL语句, 不存在[${
|
|
4154
|
+
const g = ze(_), V = b.map((T, D) => `条件${D + 1}`), v = g.filter((T) => !V.includes(T));
|
|
4155
|
+
if (v.length)
|
|
4156
|
+
return J.error(`请检查SQL语句, 不存在[${v}]`);
|
|
4159
4157
|
}
|
|
4160
4158
|
t.value = {
|
|
4161
4159
|
list: JSON.parse(JSON.stringify(b)),
|
|
@@ -4166,20 +4164,20 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4166
4164
|
}
|
|
4167
4165
|
});
|
|
4168
4166
|
else {
|
|
4169
|
-
const
|
|
4170
|
-
if (!
|
|
4167
|
+
const k = n.value.getValue();
|
|
4168
|
+
if (!k)
|
|
4171
4169
|
return J.error("请输入脚本语句");
|
|
4172
4170
|
t.value = {
|
|
4173
4171
|
list: [],
|
|
4174
4172
|
sqlEnable: 0,
|
|
4175
4173
|
sqlValue: null,
|
|
4176
|
-
factorSelectExpr:
|
|
4174
|
+
factorSelectExpr: k
|
|
4177
4175
|
}, o.value = !1;
|
|
4178
4176
|
}
|
|
4179
|
-
}, p = (
|
|
4180
|
-
i.value.list.splice(
|
|
4181
|
-
}, m = (
|
|
4182
|
-
switch (
|
|
4177
|
+
}, p = (k) => {
|
|
4178
|
+
i.value.list.splice(k, 1);
|
|
4179
|
+
}, m = (k) => {
|
|
4180
|
+
switch (k) {
|
|
4183
4181
|
case "compare": {
|
|
4184
4182
|
i.value.list.push({
|
|
4185
4183
|
key: "compare",
|
|
@@ -4201,29 +4199,29 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4201
4199
|
}
|
|
4202
4200
|
}
|
|
4203
4201
|
}, d = () => {
|
|
4204
|
-
c.value.validate((
|
|
4205
|
-
if (
|
|
4202
|
+
c.value.validate((k) => {
|
|
4203
|
+
if (k)
|
|
4206
4204
|
if (i.value.sqlValue) {
|
|
4207
4205
|
const b = ze(i.value.sqlValue);
|
|
4208
4206
|
i.value.sqlValue = i.value.list.reduce((x, _, g) => (b.includes(`条件${g + 1}`) || (x += `&& 条件${g + 1} `), x), i.value.sqlValue);
|
|
4209
4207
|
} else
|
|
4210
4208
|
i.value.sqlValue = i.value.list.reduce((b, x, _) => (_ === 0 ? b += `条件${_ + 1} ` : b += `&& 条件${_ + 1} `, b), "");
|
|
4211
4209
|
});
|
|
4212
|
-
}, w = (
|
|
4213
|
-
switch (
|
|
4210
|
+
}, w = (k) => {
|
|
4211
|
+
switch (k.key) {
|
|
4214
4212
|
case "compare": {
|
|
4215
|
-
const { cycle: b, factor: x, compareType: _, cycle2: g, factor2: V } =
|
|
4216
|
-
let
|
|
4217
|
-
return
|
|
4213
|
+
const { cycle: b, factor: x, compareType: _, cycle2: g, factor2: V } = k;
|
|
4214
|
+
let v = "";
|
|
4215
|
+
return v += ` ${e.config.cycleOptions.find(({ value: T }) => T === b).label}`, v += ` ${e.config.factorOptions.find(({ value: T }) => T === x).label}`, v += ` ${_}`, v += ` ${e.config.cycleOptions.find(({ value: T }) => T === g).label}`, v += ` ${e.config.factorOptions.find(({ value: T }) => T === V).label}`, v;
|
|
4218
4216
|
}
|
|
4219
4217
|
default: {
|
|
4220
|
-
const { cycle: b, factor: x, score: _ } =
|
|
4218
|
+
const { cycle: b, factor: x, score: _ } = k;
|
|
4221
4219
|
let g = "";
|
|
4222
4220
|
return g += ` ${e.config.cycleOptions.find(({ value: V }) => V === b).label}`, g += ` ${e.config.factorOptions.find(({ value: V }) => V === x).label}`, g += ` ${_[0] || _[0] === 0 ? `${_[0]}分` : "∞"}`, g += " ~", g += ` ${_[1] || _[1] === 0 ? `${_[1]}分` : "∞"}`, g;
|
|
4223
4221
|
}
|
|
4224
4222
|
}
|
|
4225
|
-
}, $ = (
|
|
4226
|
-
switch (
|
|
4223
|
+
}, $ = (k, b) => {
|
|
4224
|
+
switch (k) {
|
|
4227
4225
|
case "sqlTag": {
|
|
4228
4226
|
t.value = {
|
|
4229
4227
|
list: [],
|
|
@@ -4254,17 +4252,17 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4254
4252
|
}
|
|
4255
4253
|
}, A = () => {
|
|
4256
4254
|
r.value.open(n.value);
|
|
4257
|
-
}, h = (
|
|
4255
|
+
}, h = (k) => {
|
|
4258
4256
|
if (!n.value)
|
|
4259
4257
|
return J.error("未检测到编辑器实例");
|
|
4260
|
-
const b =
|
|
4258
|
+
const b = k, x = n.value.getInstance(), _ = x.getPosition(), V = n.value.getValue().split(`
|
|
4261
4259
|
`);
|
|
4262
4260
|
if (_.lineNumber <= V.length) {
|
|
4263
|
-
const
|
|
4261
|
+
const v = _.lineNumber - 1, T = V[v], D = _.column - 1, z = D > 0 ? T[D - 1] : "", U = D < T.length ? T[D] : "";
|
|
4264
4262
|
let C = b;
|
|
4265
4263
|
z && z !== " " && !/[\s({[ ]/.test(z) && (C = " " + C), U && U !== " " && !/[\s)}\]]/.test(U) && (C = C + " ");
|
|
4266
|
-
const Z = T.substring(0,
|
|
4267
|
-
V[
|
|
4264
|
+
const Z = T.substring(0, D) + C + T.substring(D);
|
|
4265
|
+
V[v] = Z;
|
|
4268
4266
|
const X = V.join(`
|
|
4269
4267
|
`);
|
|
4270
4268
|
n.value.setValue(X);
|
|
@@ -4275,19 +4273,37 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4275
4273
|
}), x.focus();
|
|
4276
4274
|
}
|
|
4277
4275
|
};
|
|
4278
|
-
return
|
|
4279
|
-
() =>
|
|
4280
|
-
() => {
|
|
4281
|
-
(
|
|
4276
|
+
return ku(
|
|
4277
|
+
() => o.value,
|
|
4278
|
+
(k) => {
|
|
4279
|
+
switch (k) {
|
|
4280
|
+
case !0: {
|
|
4281
|
+
Bu(() => {
|
|
4282
|
+
n.value.resize(), t.value.factorSelectExpr && (a.value = "脚本", n.value.setValue(t.value.factorSelectExpr), n.value.focusToEnd());
|
|
4283
|
+
});
|
|
4284
|
+
break;
|
|
4285
|
+
}
|
|
4286
|
+
case !1: {
|
|
4287
|
+
r.value.close();
|
|
4288
|
+
break;
|
|
4289
|
+
}
|
|
4290
|
+
}
|
|
4291
|
+
}
|
|
4292
|
+
), ku(
|
|
4293
|
+
() => a.value,
|
|
4294
|
+
(k) => {
|
|
4295
|
+
k === "模版" && r.value.close(), k === "脚本" && Bu(() => {
|
|
4296
|
+
n.value.focusToEnd();
|
|
4297
|
+
});
|
|
4282
4298
|
},
|
|
4283
4299
|
{ deep: !0 }
|
|
4284
|
-
), (
|
|
4300
|
+
), (k, b) => {
|
|
4285
4301
|
var Ie;
|
|
4286
|
-
const x = ft, _ = m0, g =
|
|
4287
|
-
return
|
|
4302
|
+
const x = ft, _ = m0, g = Et, V = h0, v = vt, T = at, D = D0, z = ve, U = qe("st-customFunction"), C = fe, Z = pe, X = xt, xu = b0, Fu = ye, Au = p0, Y = _t, K = a0, Yu = ge, K0 = qe("st-varSelectDialog");
|
|
4303
|
+
return E(), S(q, null, [
|
|
4288
4304
|
O("div", wo, [
|
|
4289
4305
|
O("div", null, [
|
|
4290
|
-
t.value.sqlEnable && t.value.sqlValue ? (
|
|
4306
|
+
t.value.sqlEnable && t.value.sqlValue ? (E(), L(_, {
|
|
4291
4307
|
key: 0,
|
|
4292
4308
|
closable: "",
|
|
4293
4309
|
type: "info",
|
|
@@ -4295,7 +4311,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4295
4311
|
onClose: b[0] || (b[0] = (M) => $("sqlTag"))
|
|
4296
4312
|
}, {
|
|
4297
4313
|
default: F(() => [
|
|
4298
|
-
|
|
4314
|
+
y(x, {
|
|
4299
4315
|
type: "info",
|
|
4300
4316
|
truncated: "",
|
|
4301
4317
|
style: { "max-width": "500px" }
|
|
@@ -4308,7 +4324,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4308
4324
|
]),
|
|
4309
4325
|
_: 1
|
|
4310
4326
|
}, 8, ["title"])) : P("", !0),
|
|
4311
|
-
!t.value.sqlEnable && t.value.list.length ? (
|
|
4327
|
+
!t.value.sqlEnable && t.value.list.length ? (E(!0), S(q, { key: 1 }, j(t.value.list, (M, nu) => (E(), L(_, {
|
|
4312
4328
|
closable: "",
|
|
4313
4329
|
type: "info",
|
|
4314
4330
|
onClose: (R) => $("factorTag", nu)
|
|
@@ -4318,13 +4334,13 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4318
4334
|
]),
|
|
4319
4335
|
_: 2
|
|
4320
4336
|
}, 1032, ["onClose"]))), 256)) : P("", !0),
|
|
4321
|
-
t.value.factorSelectExpr ? (
|
|
4337
|
+
t.value.factorSelectExpr ? (E(), L(g, {
|
|
4322
4338
|
key: 2,
|
|
4323
4339
|
width: "500",
|
|
4324
4340
|
placement: "bottom-start"
|
|
4325
4341
|
}, {
|
|
4326
4342
|
reference: F(() => [
|
|
4327
|
-
|
|
4343
|
+
y(_, {
|
|
4328
4344
|
closable: "",
|
|
4329
4345
|
type: "info",
|
|
4330
4346
|
onClose: b[1] || (b[1] = (M) => $("scriptTag"))
|
|
@@ -4340,12 +4356,12 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4340
4356
|
]),
|
|
4341
4357
|
_: 1
|
|
4342
4358
|
})) : P("", !0),
|
|
4343
|
-
|
|
4359
|
+
y(V, {
|
|
4344
4360
|
class: "screen-btn",
|
|
4345
4361
|
type: "primary",
|
|
4346
4362
|
plain: "",
|
|
4347
4363
|
size: "small",
|
|
4348
|
-
icon: I(
|
|
4364
|
+
icon: I(Xu),
|
|
4349
4365
|
onClick: f
|
|
4350
4366
|
}, {
|
|
4351
4367
|
default: F(() => [
|
|
@@ -4354,7 +4370,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4354
4370
|
_: 1
|
|
4355
4371
|
}, 8, ["icon"])
|
|
4356
4372
|
]),
|
|
4357
|
-
|
|
4373
|
+
y(Yu, {
|
|
4358
4374
|
"modal-class": "factor-dialog",
|
|
4359
4375
|
modelValue: o.value,
|
|
4360
4376
|
"onUpdate:modelValue": b[8] || (b[8] = (M) => o.value = M),
|
|
@@ -4374,41 +4390,41 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4374
4390
|
id: M,
|
|
4375
4391
|
class: lu(nu)
|
|
4376
4392
|
}, " 因子筛选 ", 10, Oo),
|
|
4377
|
-
|
|
4393
|
+
y(T, {
|
|
4378
4394
|
effect: "dark",
|
|
4379
4395
|
content: "点击查看: 因子使用说明",
|
|
4380
4396
|
placement: "right"
|
|
4381
4397
|
}, {
|
|
4382
4398
|
default: F(() => [
|
|
4383
|
-
|
|
4399
|
+
y(v, {
|
|
4384
4400
|
onClick: b[2] || (b[2] = (R) => l.value = !0)
|
|
4385
4401
|
}, {
|
|
4386
4402
|
default: F(() => [
|
|
4387
|
-
|
|
4403
|
+
y(I(gt))
|
|
4388
4404
|
]),
|
|
4389
4405
|
_: 1
|
|
4390
4406
|
})
|
|
4391
4407
|
]),
|
|
4392
4408
|
_: 1
|
|
4393
4409
|
}),
|
|
4394
|
-
|
|
4410
|
+
y(z, {
|
|
4395
4411
|
modelValue: a.value,
|
|
4396
4412
|
"onUpdate:modelValue": b[3] || (b[3] = (R) => a.value = R),
|
|
4397
4413
|
size: "small"
|
|
4398
4414
|
}, {
|
|
4399
4415
|
default: F(() => [
|
|
4400
|
-
|
|
4416
|
+
y(D, {
|
|
4401
4417
|
label: "模版",
|
|
4402
4418
|
value: "模版"
|
|
4403
4419
|
}),
|
|
4404
|
-
|
|
4420
|
+
y(D, {
|
|
4405
4421
|
label: "脚本",
|
|
4406
4422
|
value: "脚本"
|
|
4407
4423
|
})
|
|
4408
4424
|
]),
|
|
4409
4425
|
_: 1
|
|
4410
4426
|
}, 8, ["modelValue"]),
|
|
4411
|
-
|
|
4427
|
+
Nu(y(U, {
|
|
4412
4428
|
size: "small",
|
|
4413
4429
|
onInsert: h
|
|
4414
4430
|
}, null, 512), [
|
|
@@ -4416,7 +4432,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4416
4432
|
])
|
|
4417
4433
|
]),
|
|
4418
4434
|
O("div", Vo, [
|
|
4419
|
-
a.value === "脚本" ? (
|
|
4435
|
+
a.value === "脚本" ? (E(), L(V, {
|
|
4420
4436
|
key: 0,
|
|
4421
4437
|
size: "small",
|
|
4422
4438
|
type: "primary",
|
|
@@ -4427,11 +4443,11 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4427
4443
|
]),
|
|
4428
4444
|
_: 1
|
|
4429
4445
|
})) : P("", !0),
|
|
4430
|
-
|
|
4446
|
+
y(v, {
|
|
4431
4447
|
onClick: b[4] || (b[4] = (R) => o.value = !1)
|
|
4432
4448
|
}, {
|
|
4433
4449
|
default: F(() => [
|
|
4434
|
-
|
|
4450
|
+
y(I(kt))
|
|
4435
4451
|
]),
|
|
4436
4452
|
_: 1
|
|
4437
4453
|
})
|
|
@@ -4440,7 +4456,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4440
4456
|
]),
|
|
4441
4457
|
footer: F(() => [
|
|
4442
4458
|
O("div", zo, [
|
|
4443
|
-
|
|
4459
|
+
y(V, {
|
|
4444
4460
|
type: "primary",
|
|
4445
4461
|
onClick: s
|
|
4446
4462
|
}, {
|
|
@@ -4452,35 +4468,35 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4452
4468
|
])
|
|
4453
4469
|
]),
|
|
4454
4470
|
default: F(() => [
|
|
4455
|
-
a.value === "模版" ? (
|
|
4471
|
+
a.value === "模版" ? (E(), L(K, {
|
|
4456
4472
|
key: 0,
|
|
4457
4473
|
height: "400px"
|
|
4458
4474
|
}, {
|
|
4459
4475
|
default: F(() => [
|
|
4460
|
-
|
|
4476
|
+
y(Y, {
|
|
4461
4477
|
ref_key: "dialogFormRef",
|
|
4462
4478
|
ref: c,
|
|
4463
4479
|
model: i.value
|
|
4464
4480
|
}, {
|
|
4465
4481
|
default: F(() => [
|
|
4466
|
-
(
|
|
4482
|
+
(E(!0), S(q, null, j(i.value.list, (M, nu) => (E(), S("div", $o, [
|
|
4467
4483
|
O("span", Ro, uu(`条件${nu + 1}`), 1),
|
|
4468
|
-
M.key === "compare" ? (
|
|
4469
|
-
u.config.cycleShow ? (
|
|
4484
|
+
M.key === "compare" ? (E(), S(q, { key: 0 }, [
|
|
4485
|
+
u.config.cycleShow ? (E(), L(X, {
|
|
4470
4486
|
key: 0,
|
|
4471
4487
|
prop: "list." + nu + ".cycle",
|
|
4472
4488
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
4473
4489
|
style: { width: "100px", "margin-right": "10px" }
|
|
4474
4490
|
}, {
|
|
4475
4491
|
default: F(() => [
|
|
4476
|
-
|
|
4492
|
+
y(Z, {
|
|
4477
4493
|
modelValue: M.cycle,
|
|
4478
4494
|
"onUpdate:modelValue": (R) => M.cycle = R,
|
|
4479
4495
|
placeholder: "选择周期",
|
|
4480
4496
|
size: "small"
|
|
4481
4497
|
}, {
|
|
4482
4498
|
default: F(() => [
|
|
4483
|
-
(
|
|
4499
|
+
(E(!0), S(q, null, j(u.config.cycleOptions, ({ label: R, value: H }) => (E(), L(C, {
|
|
4484
4500
|
label: R,
|
|
4485
4501
|
value: H,
|
|
4486
4502
|
key: H
|
|
@@ -4491,13 +4507,13 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4491
4507
|
]),
|
|
4492
4508
|
_: 2
|
|
4493
4509
|
}, 1032, ["prop"])) : P("", !0),
|
|
4494
|
-
|
|
4510
|
+
y(X, {
|
|
4495
4511
|
prop: "list." + nu + ".factor",
|
|
4496
4512
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
4497
4513
|
style: { width: "132px", "margin-right": "10px" }
|
|
4498
4514
|
}, {
|
|
4499
4515
|
default: F(() => [
|
|
4500
|
-
|
|
4516
|
+
y(Z, {
|
|
4501
4517
|
modelValue: M.factor,
|
|
4502
4518
|
"onUpdate:modelValue": (R) => M.factor = R,
|
|
4503
4519
|
placeholder: "选择因子",
|
|
@@ -4508,7 +4524,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4508
4524
|
default: F(() => {
|
|
4509
4525
|
var R;
|
|
4510
4526
|
return [
|
|
4511
|
-
(
|
|
4527
|
+
(E(!0), S(q, null, j((R = u.config.factorOptions) == null ? void 0 : R.filter((H) => [4].includes(H.type)), ({ label: H, value: fu }) => (E(), L(C, {
|
|
4512
4528
|
label: H,
|
|
4513
4529
|
value: fu,
|
|
4514
4530
|
key: fu
|
|
@@ -4520,15 +4536,15 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4520
4536
|
]),
|
|
4521
4537
|
_: 2
|
|
4522
4538
|
}, 1032, ["prop"]),
|
|
4523
|
-
|
|
4539
|
+
y(X, { style: { width: "52px", "margin-right": "10px" } }, {
|
|
4524
4540
|
default: F(() => [
|
|
4525
|
-
|
|
4541
|
+
y(Z, {
|
|
4526
4542
|
modelValue: M.compareType,
|
|
4527
4543
|
"onUpdate:modelValue": (R) => M.compareType = R,
|
|
4528
4544
|
size: "small"
|
|
4529
4545
|
}, {
|
|
4530
4546
|
default: F(() => [
|
|
4531
|
-
(
|
|
4547
|
+
(E(), S(q, null, j([">", ">=", "<", "<="], (R) => y(C, {
|
|
4532
4548
|
label: R,
|
|
4533
4549
|
value: R,
|
|
4534
4550
|
key: R
|
|
@@ -4539,21 +4555,21 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4539
4555
|
]),
|
|
4540
4556
|
_: 2
|
|
4541
4557
|
}, 1024),
|
|
4542
|
-
u.config.cycleShow ? (
|
|
4558
|
+
u.config.cycleShow ? (E(), L(X, {
|
|
4543
4559
|
key: 1,
|
|
4544
4560
|
prop: "list." + nu + ".cycle2",
|
|
4545
4561
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
4546
4562
|
style: { width: "100px", "margin-right": "10px" }
|
|
4547
4563
|
}, {
|
|
4548
4564
|
default: F(() => [
|
|
4549
|
-
|
|
4565
|
+
y(Z, {
|
|
4550
4566
|
modelValue: M.cycle2,
|
|
4551
4567
|
"onUpdate:modelValue": (R) => M.cycle2 = R,
|
|
4552
4568
|
placeholder: "选择周期",
|
|
4553
4569
|
size: "small"
|
|
4554
4570
|
}, {
|
|
4555
4571
|
default: F(() => [
|
|
4556
|
-
(
|
|
4572
|
+
(E(!0), S(q, null, j(u.config.cycleOptions, ({ label: R, value: H }) => (E(), L(C, {
|
|
4557
4573
|
label: R,
|
|
4558
4574
|
value: H,
|
|
4559
4575
|
key: H
|
|
@@ -4564,13 +4580,13 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4564
4580
|
]),
|
|
4565
4581
|
_: 2
|
|
4566
4582
|
}, 1032, ["prop"])) : P("", !0),
|
|
4567
|
-
|
|
4583
|
+
y(X, {
|
|
4568
4584
|
prop: "list." + nu + ".factor2",
|
|
4569
4585
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
4570
4586
|
style: { width: "132px", "margin-right": "10px" }
|
|
4571
4587
|
}, {
|
|
4572
4588
|
default: F(() => [
|
|
4573
|
-
|
|
4589
|
+
y(Z, {
|
|
4574
4590
|
modelValue: M.factor2,
|
|
4575
4591
|
"onUpdate:modelValue": (R) => M.factor2 = R,
|
|
4576
4592
|
placeholder: "选择因子",
|
|
@@ -4581,7 +4597,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4581
4597
|
default: F(() => {
|
|
4582
4598
|
var R;
|
|
4583
4599
|
return [
|
|
4584
|
-
(
|
|
4600
|
+
(E(!0), S(q, null, j((R = u.config.factorOptions) == null ? void 0 : R.filter((H) => [4].includes(H.type)), ({ label: H, value: fu }) => (E(), L(C, {
|
|
4585
4601
|
label: H,
|
|
4586
4602
|
value: fu,
|
|
4587
4603
|
key: fu
|
|
@@ -4593,22 +4609,22 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4593
4609
|
]),
|
|
4594
4610
|
_: 2
|
|
4595
4611
|
}, 1032, ["prop"])
|
|
4596
|
-
], 64)) : (
|
|
4597
|
-
u.config.cycleShow ? (
|
|
4612
|
+
], 64)) : (E(), S(q, { key: 1 }, [
|
|
4613
|
+
u.config.cycleShow ? (E(), L(X, {
|
|
4598
4614
|
key: 0,
|
|
4599
4615
|
prop: "list." + nu + ".cycle",
|
|
4600
4616
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
4601
4617
|
style: { width: "100px", "margin-right": "10px" }
|
|
4602
4618
|
}, {
|
|
4603
4619
|
default: F(() => [
|
|
4604
|
-
|
|
4620
|
+
y(Z, {
|
|
4605
4621
|
modelValue: M.cycle,
|
|
4606
4622
|
"onUpdate:modelValue": (R) => M.cycle = R,
|
|
4607
4623
|
placeholder: "选择周期",
|
|
4608
4624
|
size: "small"
|
|
4609
4625
|
}, {
|
|
4610
4626
|
default: F(() => [
|
|
4611
|
-
(
|
|
4627
|
+
(E(!0), S(q, null, j(u.config.cycleOptions, ({ label: R, value: H }) => (E(), L(C, {
|
|
4612
4628
|
label: R,
|
|
4613
4629
|
value: H,
|
|
4614
4630
|
key: H
|
|
@@ -4619,13 +4635,13 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4619
4635
|
]),
|
|
4620
4636
|
_: 2
|
|
4621
4637
|
}, 1032, ["prop"])) : P("", !0),
|
|
4622
|
-
|
|
4638
|
+
y(X, {
|
|
4623
4639
|
prop: "list." + nu + ".factor",
|
|
4624
4640
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
4625
4641
|
style: { width: "194px", "margin-right": "10px" }
|
|
4626
4642
|
}, {
|
|
4627
4643
|
default: F(() => [
|
|
4628
|
-
|
|
4644
|
+
y(Z, {
|
|
4629
4645
|
modelValue: M.factor,
|
|
4630
4646
|
"onUpdate:modelValue": (R) => M.factor = R,
|
|
4631
4647
|
placeholder: "选择因子",
|
|
@@ -4636,7 +4652,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4636
4652
|
default: F(() => {
|
|
4637
4653
|
var R;
|
|
4638
4654
|
return [
|
|
4639
|
-
(
|
|
4655
|
+
(E(!0), S(q, null, j((R = u.config.factorOptions) == null ? void 0 : R.filter((H) => [1, 3].includes(H.type)), ({ label: H, value: fu }) => (E(), L(C, {
|
|
4640
4656
|
label: H,
|
|
4641
4657
|
value: fu,
|
|
4642
4658
|
key: fu
|
|
@@ -4648,21 +4664,21 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4648
4664
|
]),
|
|
4649
4665
|
_: 2
|
|
4650
4666
|
}, 1032, ["prop"]),
|
|
4651
|
-
|
|
4667
|
+
y(X, {
|
|
4652
4668
|
prop: "list." + nu + ".score",
|
|
4653
4669
|
rules: { validator: I(Bt), trigger: "blur" },
|
|
4654
4670
|
style: { width: "200px", "margin-right": "10px" }
|
|
4655
4671
|
}, {
|
|
4656
4672
|
default: F(() => [
|
|
4657
4673
|
O("div", Mo, [
|
|
4658
|
-
|
|
4674
|
+
y(xu, {
|
|
4659
4675
|
modelValue: M.score[0],
|
|
4660
4676
|
"onUpdate:modelValue": (R) => M.score[0] = R,
|
|
4661
4677
|
size: "small",
|
|
4662
4678
|
"controls-position": "right"
|
|
4663
4679
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
4664
4680
|
qo,
|
|
4665
|
-
|
|
4681
|
+
y(xu, {
|
|
4666
4682
|
modelValue: M.score[1],
|
|
4667
4683
|
"onUpdate:modelValue": (R) => M.score[1] = R,
|
|
4668
4684
|
size: "small",
|
|
@@ -4673,20 +4689,20 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4673
4689
|
_: 2
|
|
4674
4690
|
}, 1032, ["prop", "rules"])
|
|
4675
4691
|
], 64)),
|
|
4676
|
-
|
|
4692
|
+
y(v, {
|
|
4677
4693
|
onClick: (R) => p(nu)
|
|
4678
4694
|
}, {
|
|
4679
4695
|
default: F(() => [
|
|
4680
|
-
|
|
4696
|
+
y(I(yt))
|
|
4681
4697
|
]),
|
|
4682
4698
|
_: 2
|
|
4683
4699
|
}, 1032, ["onClick"])
|
|
4684
4700
|
]))), 256)),
|
|
4685
|
-
|
|
4701
|
+
y(V, {
|
|
4686
4702
|
type: "primary",
|
|
4687
4703
|
plain: "",
|
|
4688
4704
|
size: "small",
|
|
4689
|
-
icon: I(
|
|
4705
|
+
icon: I(Xu),
|
|
4690
4706
|
onClick: m,
|
|
4691
4707
|
style: { "margin-bottom": "10px" }
|
|
4692
4708
|
}, {
|
|
@@ -4695,11 +4711,11 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4695
4711
|
]),
|
|
4696
4712
|
_: 1
|
|
4697
4713
|
}, 8, ["icon"]),
|
|
4698
|
-
|
|
4714
|
+
y(V, {
|
|
4699
4715
|
type: "primary",
|
|
4700
4716
|
plain: "",
|
|
4701
4717
|
size: "small",
|
|
4702
|
-
icon: I(
|
|
4718
|
+
icon: I(Xu),
|
|
4703
4719
|
onClick: b[5] || (b[5] = (M) => m("compare")),
|
|
4704
4720
|
style: { "margin-bottom": "10px" }
|
|
4705
4721
|
}, {
|
|
@@ -4708,26 +4724,26 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4708
4724
|
]),
|
|
4709
4725
|
_: 1
|
|
4710
4726
|
}, 8, ["icon"]),
|
|
4711
|
-
u.config.sqlShow ? (
|
|
4712
|
-
|
|
4727
|
+
u.config.sqlShow ? (E(), S(q, { key: 0 }, [
|
|
4728
|
+
y(X, { label: "SQL功能: " }, {
|
|
4713
4729
|
default: F(() => [
|
|
4714
|
-
|
|
4730
|
+
y(z, {
|
|
4715
4731
|
modelValue: i.value.sqlEnable,
|
|
4716
4732
|
"onUpdate:modelValue": b[6] || (b[6] = (M) => i.value.sqlEnable = M)
|
|
4717
4733
|
}, {
|
|
4718
4734
|
default: F(() => [
|
|
4719
|
-
|
|
4735
|
+
y(Fu, {
|
|
4720
4736
|
label: "关闭",
|
|
4721
4737
|
value: 0
|
|
4722
4738
|
}),
|
|
4723
|
-
|
|
4739
|
+
y(Fu, {
|
|
4724
4740
|
label: "启用",
|
|
4725
4741
|
value: 1
|
|
4726
4742
|
})
|
|
4727
4743
|
]),
|
|
4728
4744
|
_: 1
|
|
4729
4745
|
}, 8, ["modelValue"]),
|
|
4730
|
-
i.value.sqlEnable ? (
|
|
4746
|
+
i.value.sqlEnable ? (E(), L(V, {
|
|
4731
4747
|
key: 0,
|
|
4732
4748
|
type: "primary",
|
|
4733
4749
|
size: "small",
|
|
@@ -4742,8 +4758,8 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4742
4758
|
]),
|
|
4743
4759
|
_: 1
|
|
4744
4760
|
}),
|
|
4745
|
-
i.value.sqlEnable ? (
|
|
4746
|
-
|
|
4761
|
+
i.value.sqlEnable ? (E(), S(q, { key: 0 }, [
|
|
4762
|
+
y(Au, {
|
|
4747
4763
|
modelValue: i.value.sqlValue,
|
|
4748
4764
|
"onUpdate:modelValue": b[7] || (b[7] = (M) => i.value.sqlValue = M),
|
|
4749
4765
|
autosize: { minRows: 4 },
|
|
@@ -4762,7 +4778,7 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4762
4778
|
O("div", {
|
|
4763
4779
|
style: s0([{ width: "968px", height: "400px" }, a.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1, visibility: "hidden", pointerEvents: "none" }])
|
|
4764
4780
|
}, [
|
|
4765
|
-
|
|
4781
|
+
y(Ct, {
|
|
4766
4782
|
ref_key: "monacoEditorRef",
|
|
4767
4783
|
ref: n,
|
|
4768
4784
|
language: "lua",
|
|
@@ -4773,35 +4789,35 @@ const Y0 = (u) => (xe("data-v-47499850"), u = u(), _e(), u), wo = { class: "fact
|
|
|
4773
4789
|
_: 1
|
|
4774
4790
|
}, 8, ["modelValue"])
|
|
4775
4791
|
]),
|
|
4776
|
-
|
|
4792
|
+
y(Ao, {
|
|
4777
4793
|
visible: l.value,
|
|
4778
4794
|
"onUpdate:visible": b[9] || (b[9] = (M) => l.value = M),
|
|
4779
4795
|
factorType: a.value,
|
|
4780
4796
|
data: (Ie = u.config.factorDescriptions) == null ? void 0 : Ie.filter((M) => [1, 3].includes(M.type))
|
|
4781
4797
|
}, null, 8, ["visible", "factorType", "data"]),
|
|
4782
|
-
|
|
4798
|
+
y(K0, {
|
|
4783
4799
|
ref_key: "stVarSelectDialogRef",
|
|
4784
4800
|
ref: r
|
|
4785
4801
|
}, null, 512)
|
|
4786
4802
|
], 64);
|
|
4787
4803
|
};
|
|
4788
4804
|
}
|
|
4789
|
-
}, Po = /* @__PURE__ */ ke(Lo, [["__scopeId", "data-v-
|
|
4790
|
-
const
|
|
4805
|
+
}, Po = /* @__PURE__ */ ke(Lo, [["__scopeId", "data-v-474efe55"]]);
|
|
4806
|
+
const Qu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
4791
4807
|
key: 0,
|
|
4792
4808
|
class: "common-indicator"
|
|
4793
|
-
}, No = { class: "indicator" }, jo = /* @__PURE__ */
|
|
4809
|
+
}, No = { class: "indicator" }, jo = /* @__PURE__ */ Qu(() => /* @__PURE__ */ O("div", { class: "title" }, [
|
|
4794
4810
|
/* @__PURE__ */ O("span", null, "常用指标: "),
|
|
4795
4811
|
/* @__PURE__ */ O("span", null, "不限")
|
|
4796
4812
|
], -1)), Zo = { class: "options" }, Ho = ["onClick"], Go = { class: "tags" }, Jo = ["onClick"], Wo = { style: { "font-size": "18px" } }, Qo = {
|
|
4797
4813
|
key: 0,
|
|
4798
4814
|
class: "out-box"
|
|
4799
|
-
}, Yo = /* @__PURE__ */
|
|
4815
|
+
}, Yo = /* @__PURE__ */ Qu(() => /* @__PURE__ */ O("span", null, "自定义: ", -1)), Ko = {
|
|
4800
4816
|
key: 0,
|
|
4801
4817
|
class: "convenient-option-box"
|
|
4802
|
-
}, Xo = { class: "out-box" }, ua = /* @__PURE__ */
|
|
4818
|
+
}, Xo = { class: "out-box" }, ua = /* @__PURE__ */ Qu(() => /* @__PURE__ */ O("span", null, "自定义: ", -1)), ea = { key: 0 }, ta = { key: 0 }, na = { key: 0 }, ra = { key: 1 }, oa = { class: "tFeaturelncomes-option-box" }, aa = { class: "tFeaturelncomes-out-box" }, la = /* @__PURE__ */ Qu(() => /* @__PURE__ */ O("span", null, "自定义: ", -1)), ia = { key: 2 }, ca = { key: 3 }, sa = { key: 4 }, da = { key: 5 }, fa = { key: 6 }, pa = { style: { display: "flex", "align-items": "center" } }, ba = { key: 7 }, ha = { class: "dialog-footer" }, ma = {
|
|
4803
4819
|
__name: "index",
|
|
4804
|
-
props: /* @__PURE__ */
|
|
4820
|
+
props: /* @__PURE__ */ ju({
|
|
4805
4821
|
config: { type: Object, default: () => {
|
|
4806
4822
|
} },
|
|
4807
4823
|
varietyMarket: { type: Number, default: () => null },
|
|
@@ -4825,14 +4841,14 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
4825
4841
|
{ label: "保留意见", value: 2 },
|
|
4826
4842
|
{ label: "否定意见", value: 3 },
|
|
4827
4843
|
{ label: "无法表示意见", value: 4 }
|
|
4828
|
-
], n =
|
|
4844
|
+
], n = Zu(u, "data"), r = u, o = eu(!1), l = W(() => {
|
|
4829
4845
|
var A;
|
|
4830
4846
|
return (A = r.data.find((h) => h.radioType === "1")) == null ? void 0 : A.key;
|
|
4831
4847
|
}), a = W(() => {
|
|
4832
4848
|
let A = [];
|
|
4833
4849
|
return r.varietyMarket === null && !r.commonOption.length ? A = r.config.options : (A = r.config.options, r.varietyMarket && (A = A.filter(({ parent: h }) => h.varietyMarketIds.includes(r.varietyMarket))), r.commonOption.length && (A = A.filter(({ parent: h }) => {
|
|
4834
|
-
const { commonOptionIds:
|
|
4835
|
-
return [.../* @__PURE__ */ new Set([...
|
|
4850
|
+
const { commonOptionIds: k } = h;
|
|
4851
|
+
return [.../* @__PURE__ */ new Set([...k, ...r.commonOption])].length !== [...k, ...r.commonOption].length;
|
|
4836
4852
|
}))), A;
|
|
4837
4853
|
}), c = eu({}), i = eu({}), f = (A) => {
|
|
4838
4854
|
c.value = A;
|
|
@@ -4906,7 +4922,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
4906
4922
|
}
|
|
4907
4923
|
o.value = !0;
|
|
4908
4924
|
}, s = () => {
|
|
4909
|
-
var h,
|
|
4925
|
+
var h, k;
|
|
4910
4926
|
switch (i.value.key) {
|
|
4911
4927
|
case "st": {
|
|
4912
4928
|
const { label: b, st: x } = i.value;
|
|
@@ -4953,10 +4969,10 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
4953
4969
|
break;
|
|
4954
4970
|
}
|
|
4955
4971
|
case "mainFlow": {
|
|
4956
|
-
const { label: b, radioType: x, radio: _, rankRange: g } = i.value, V = (
|
|
4957
|
-
if (
|
|
4972
|
+
const { label: b, radioType: x, radio: _, rankRange: g } = i.value, V = (v) => {
|
|
4973
|
+
if (v === "" || v === null || v === void 0)
|
|
4958
4974
|
return !1;
|
|
4959
|
-
const T = Number(
|
|
4975
|
+
const T = Number(v);
|
|
4960
4976
|
return !isNaN(T);
|
|
4961
4977
|
};
|
|
4962
4978
|
if (!_)
|
|
@@ -4970,7 +4986,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
4970
4986
|
const { label: b, enumType: x } = i.value;
|
|
4971
4987
|
if (x === null)
|
|
4972
4988
|
return J.warning("格式错误: 请至少选择一个值");
|
|
4973
|
-
i.value.tagText = `${b}: ${(
|
|
4989
|
+
i.value.tagText = `${b}: ${(k = t.find((_) => _.value === x)) == null ? void 0 : k.label}`;
|
|
4974
4990
|
break;
|
|
4975
4991
|
}
|
|
4976
4992
|
default: {
|
|
@@ -4978,16 +4994,16 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
4978
4994
|
if (["", null].includes(g[0]) && ["", null].includes(g[1]))
|
|
4979
4995
|
return J.warning("格式错误: 请至少填写一个值");
|
|
4980
4996
|
if (_ === "1") {
|
|
4981
|
-
const T = Number(g[0]),
|
|
4982
|
-
if (isNaN(T) || isNaN(
|
|
4997
|
+
const T = Number(g[0]), D = Number(g[1]);
|
|
4998
|
+
if (isNaN(T) || isNaN(D))
|
|
4983
4999
|
return J.warning("格式错误: 请填写数字");
|
|
4984
|
-
if (T < 0 ||
|
|
5000
|
+
if (T < 0 || D < 0)
|
|
4985
5001
|
return J.warning("格式错误: 请填写大于0的数字");
|
|
4986
|
-
if (T >
|
|
5002
|
+
if (T > D)
|
|
4987
5003
|
return J.warning("格式错误: 请填写正确的排名范围");
|
|
4988
5004
|
}
|
|
4989
|
-
const V = _ === "1" ? "" : x[0] ?? "",
|
|
4990
|
-
!["", null].includes(g[0]) && !["", null].includes(g[1]) ? i.value.tagText = `${b}${_ === "1" ? "排名" : ""}: ${g[0]}${V} ~ ${g[1]}${
|
|
5005
|
+
const V = _ === "1" ? "" : x[0] ?? "", v = _ === "1" ? "" : x[1] ?? "";
|
|
5006
|
+
!["", null].includes(g[0]) && !["", null].includes(g[1]) ? i.value.tagText = `${b}${_ === "1" ? "排名" : ""}: ${g[0]}${V} ~ ${g[1]}${v}` : ["", null].includes(g[0]) ? i.value.tagText = `${b}${_ === "1" ? "排名" : ""}: ≤${g[1]}${v}` : i.value.tagText = `${b}${_ === "1" ? "排名" : ""}: ≥${g[0]}${V}`;
|
|
4991
5007
|
}
|
|
4992
5008
|
}
|
|
4993
5009
|
const A = n.value.findIndex(({ key: b }) => b === i.value.key);
|
|
@@ -5043,7 +5059,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5043
5059
|
break;
|
|
5044
5060
|
}
|
|
5045
5061
|
};
|
|
5046
|
-
|
|
5062
|
+
ku(
|
|
5047
5063
|
() => a.value,
|
|
5048
5064
|
() => {
|
|
5049
5065
|
n.value.length && (n.value = n.value.filter(({ key: A }) => a.value.find((h) => h.key === A)));
|
|
@@ -5053,19 +5069,19 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5053
5069
|
i.value.radio = null, i.value.rankRange = [null, null];
|
|
5054
5070
|
};
|
|
5055
5071
|
return (A, h) => {
|
|
5056
|
-
const
|
|
5057
|
-
return u.config.show && a.value.length ? (
|
|
5072
|
+
const k = m0, b = D0, x = ve, _ = p0, g = h0, V = fe, v = pe, T = ye, D = b0, z = ge;
|
|
5073
|
+
return u.config.show && a.value.length ? (E(), S("div", Uo, [
|
|
5058
5074
|
O("div", No, [
|
|
5059
5075
|
jo,
|
|
5060
5076
|
O("div", Zo, [
|
|
5061
|
-
(
|
|
5077
|
+
(E(!0), S(q, null, j(a.value, (U) => (E(), S("span", {
|
|
5062
5078
|
key: U.key,
|
|
5063
5079
|
onClick: (C) => f(U)
|
|
5064
5080
|
}, uu(U.label), 9, Ho))), 128))
|
|
5065
5081
|
])
|
|
5066
5082
|
]),
|
|
5067
5083
|
O("div", Go, [
|
|
5068
|
-
(
|
|
5084
|
+
(E(!0), S(q, null, j(n.value, (U, C) => (E(), L(k, {
|
|
5069
5085
|
closable: "",
|
|
5070
5086
|
type: "info",
|
|
5071
5087
|
onClose: (Z) => m(C)
|
|
@@ -5080,17 +5096,17 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5080
5096
|
_: 2
|
|
5081
5097
|
}, 1032, ["onClose"]))), 256))
|
|
5082
5098
|
]),
|
|
5083
|
-
|
|
5099
|
+
y(z, {
|
|
5084
5100
|
modelValue: o.value,
|
|
5085
5101
|
"onUpdate:modelValue": h[26] || (h[26] = (U) => o.value = U),
|
|
5086
5102
|
title: c.value.label,
|
|
5087
5103
|
width: "600",
|
|
5088
5104
|
"align-center": "",
|
|
5089
5105
|
"destroy-on-close": ""
|
|
5090
|
-
},
|
|
5106
|
+
}, Ku({
|
|
5091
5107
|
footer: F(() => [
|
|
5092
5108
|
O("div", ha, [
|
|
5093
|
-
|
|
5109
|
+
y(g, {
|
|
5094
5110
|
type: "primary",
|
|
5095
5111
|
onClick: s
|
|
5096
5112
|
}, {
|
|
@@ -5104,22 +5120,22 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5104
5120
|
default: F(() => {
|
|
5105
5121
|
var U;
|
|
5106
5122
|
return [
|
|
5107
|
-
c.value.type === void 0 && i.value.radioType === "1" ? (
|
|
5123
|
+
c.value.type === void 0 && i.value.radioType === "1" ? (E(), S("div", Qo, [
|
|
5108
5124
|
Yo,
|
|
5109
|
-
|
|
5125
|
+
y(_, {
|
|
5110
5126
|
modelValue: i.value.rankRange[0],
|
|
5111
5127
|
"onUpdate:modelValue": h[2] || (h[2] = (C) => i.value.rankRange[0] = C),
|
|
5112
5128
|
style: { flex: "1" }
|
|
5113
5129
|
}, null, 8, ["modelValue"]),
|
|
5114
5130
|
B(" ~ "),
|
|
5115
|
-
|
|
5131
|
+
y(_, {
|
|
5116
5132
|
modelValue: i.value.rankRange[1],
|
|
5117
5133
|
"onUpdate:modelValue": h[3] || (h[3] = (C) => i.value.rankRange[1] = C),
|
|
5118
5134
|
style: { flex: "1" }
|
|
5119
5135
|
}, null, 8, ["modelValue"])
|
|
5120
|
-
])) : c.value.type === void 0 ? (
|
|
5121
|
-
(U = c.value.convenientOptions) != null && U.length ? (
|
|
5122
|
-
(
|
|
5136
|
+
])) : c.value.type === void 0 ? (E(), S(q, { key: 1 }, [
|
|
5137
|
+
(U = c.value.convenientOptions) != null && U.length ? (E(), S("div", Ko, [
|
|
5138
|
+
(E(!0), S(q, null, j(c.value.convenientOptions, (C) => (E(), L(g, {
|
|
5123
5139
|
key: C.text,
|
|
5124
5140
|
onClick: (Z) => d(C)
|
|
5125
5141
|
}, {
|
|
@@ -5131,22 +5147,22 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5131
5147
|
])) : P("", !0),
|
|
5132
5148
|
O("div", Xo, [
|
|
5133
5149
|
ua,
|
|
5134
|
-
|
|
5150
|
+
y(_, {
|
|
5135
5151
|
modelValue: i.value.range[0],
|
|
5136
5152
|
"onUpdate:modelValue": h[5] || (h[5] = (C) => i.value.range[0] = C),
|
|
5137
5153
|
style: { flex: "1" }
|
|
5138
|
-
},
|
|
5154
|
+
}, Ku({ _: 2 }, [
|
|
5139
5155
|
c.value.unitOptions.length ? {
|
|
5140
5156
|
name: "append",
|
|
5141
5157
|
fn: F(() => [
|
|
5142
|
-
c.value.unitOptions.length === 1 ? (
|
|
5158
|
+
c.value.unitOptions.length === 1 ? (E(), S("span", ea, uu(i.value.unit[0]), 1)) : (E(), L(v, {
|
|
5143
5159
|
key: 1,
|
|
5144
5160
|
modelValue: i.value.unit[0],
|
|
5145
5161
|
"onUpdate:modelValue": h[4] || (h[4] = (C) => i.value.unit[0] = C),
|
|
5146
5162
|
style: { width: "72px" }
|
|
5147
5163
|
}, {
|
|
5148
5164
|
default: F(() => [
|
|
5149
|
-
(
|
|
5165
|
+
(E(!0), S(q, null, j(c.value.unitOptions, (C) => (E(), L(V, {
|
|
5150
5166
|
label: C,
|
|
5151
5167
|
value: C
|
|
5152
5168
|
}, null, 8, ["label", "value"]))), 256))
|
|
@@ -5158,22 +5174,22 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5158
5174
|
} : void 0
|
|
5159
5175
|
]), 1032, ["modelValue"]),
|
|
5160
5176
|
B(" ~ "),
|
|
5161
|
-
|
|
5177
|
+
y(_, {
|
|
5162
5178
|
modelValue: i.value.range[1],
|
|
5163
5179
|
"onUpdate:modelValue": h[7] || (h[7] = (C) => i.value.range[1] = C),
|
|
5164
5180
|
style: { flex: "1" }
|
|
5165
|
-
},
|
|
5181
|
+
}, Ku({ _: 2 }, [
|
|
5166
5182
|
c.value.unitOptions.length ? {
|
|
5167
5183
|
name: "append",
|
|
5168
5184
|
fn: F(() => [
|
|
5169
|
-
c.value.unitOptions.length === 1 ? (
|
|
5185
|
+
c.value.unitOptions.length === 1 ? (E(), S("span", ta, uu(i.value.unit[1]), 1)) : (E(), L(v, {
|
|
5170
5186
|
key: 1,
|
|
5171
5187
|
modelValue: i.value.unit[1],
|
|
5172
5188
|
"onUpdate:modelValue": h[6] || (h[6] = (C) => i.value.unit[1] = C),
|
|
5173
5189
|
style: { width: "72px" }
|
|
5174
5190
|
}, {
|
|
5175
5191
|
default: F(() => [
|
|
5176
|
-
(
|
|
5192
|
+
(E(!0), S(q, null, j(c.value.unitOptions, (C) => (E(), L(V, {
|
|
5177
5193
|
label: C,
|
|
5178
5194
|
value: C
|
|
5179
5195
|
}, null, 8, ["label", "value"]))), 256))
|
|
@@ -5185,18 +5201,18 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5185
5201
|
} : void 0
|
|
5186
5202
|
]), 1032, ["modelValue"])
|
|
5187
5203
|
])
|
|
5188
|
-
], 64)) : (
|
|
5189
|
-
c.value.key === "st" ? (
|
|
5190
|
-
|
|
5204
|
+
], 64)) : (E(), S(q, { key: 2 }, [
|
|
5205
|
+
c.value.key === "st" ? (E(), S("div", na, [
|
|
5206
|
+
y(x, {
|
|
5191
5207
|
modelValue: i.value.st,
|
|
5192
5208
|
"onUpdate:modelValue": h[8] || (h[8] = (C) => i.value.st = C)
|
|
5193
5209
|
}, {
|
|
5194
5210
|
default: F(() => [
|
|
5195
|
-
|
|
5211
|
+
y(T, {
|
|
5196
5212
|
label: "是",
|
|
5197
5213
|
value: 1
|
|
5198
5214
|
}),
|
|
5199
|
-
|
|
5215
|
+
y(T, {
|
|
5200
5216
|
label: "否",
|
|
5201
5217
|
value: 0
|
|
5202
5218
|
})
|
|
@@ -5204,9 +5220,9 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5204
5220
|
_: 1
|
|
5205
5221
|
}, 8, ["modelValue"])
|
|
5206
5222
|
])) : P("", !0),
|
|
5207
|
-
c.value.key === "tFeaturelncomes" ? (
|
|
5223
|
+
c.value.key === "tFeaturelncomes" ? (E(), S("div", ra, [
|
|
5208
5224
|
O("div", oa, [
|
|
5209
|
-
|
|
5225
|
+
y(g, {
|
|
5210
5226
|
onClick: h[9] || (h[9] = (C) => w("≤0"))
|
|
5211
5227
|
}, {
|
|
5212
5228
|
default: F(() => [
|
|
@@ -5214,7 +5230,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5214
5230
|
]),
|
|
5215
5231
|
_: 1
|
|
5216
5232
|
}),
|
|
5217
|
-
|
|
5233
|
+
y(g, {
|
|
5218
5234
|
onClick: h[10] || (h[10] = (C) => w("≥0"))
|
|
5219
5235
|
}, {
|
|
5220
5236
|
default: F(() => [
|
|
@@ -5222,7 +5238,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5222
5238
|
]),
|
|
5223
5239
|
_: 1
|
|
5224
5240
|
}),
|
|
5225
|
-
|
|
5241
|
+
y(g, {
|
|
5226
5242
|
onClick: h[11] || (h[11] = (C) => w("五年内有四年以上盈利超过5千万"))
|
|
5227
5243
|
}, {
|
|
5228
5244
|
default: F(() => [
|
|
@@ -5230,7 +5246,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5230
5246
|
]),
|
|
5231
5247
|
_: 1
|
|
5232
5248
|
}),
|
|
5233
|
-
|
|
5249
|
+
y(g, {
|
|
5234
5250
|
onClick: h[12] || (h[12] = (C) => w("≥10亿"))
|
|
5235
5251
|
}, {
|
|
5236
5252
|
default: F(() => [
|
|
@@ -5238,7 +5254,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5238
5254
|
]),
|
|
5239
5255
|
_: 1
|
|
5240
5256
|
}),
|
|
5241
|
-
|
|
5257
|
+
y(g, {
|
|
5242
5258
|
onClick: h[13] || (h[13] = (C) => w("≥20亿"))
|
|
5243
5259
|
}, {
|
|
5244
5260
|
default: F(() => [
|
|
@@ -5250,19 +5266,19 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5250
5266
|
O("div", aa, [
|
|
5251
5267
|
la,
|
|
5252
5268
|
O("div", null, [
|
|
5253
|
-
|
|
5269
|
+
y(D, {
|
|
5254
5270
|
modelValue: i.value.withFewYears,
|
|
5255
5271
|
"onUpdate:modelValue": h[14] || (h[14] = (C) => i.value.withFewYears = C),
|
|
5256
5272
|
"controls-position": "right"
|
|
5257
5273
|
}, null, 8, ["modelValue"]),
|
|
5258
5274
|
B(" 年内 "),
|
|
5259
|
-
|
|
5275
|
+
y(D, {
|
|
5260
5276
|
modelValue: i.value.yearsCount,
|
|
5261
5277
|
"onUpdate:modelValue": h[15] || (h[15] = (C) => i.value.yearsCount = C),
|
|
5262
5278
|
"controls-position": "right"
|
|
5263
5279
|
}, null, 8, ["modelValue"]),
|
|
5264
5280
|
B(" 年以上盈利" + uu(i.value.rule === 1 ? "超" : "跌") + "过 ", 1),
|
|
5265
|
-
|
|
5281
|
+
y(D, {
|
|
5266
5282
|
modelValue: i.value.netProfit,
|
|
5267
5283
|
"onUpdate:modelValue": h[16] || (h[16] = (C) => i.value.netProfit = C),
|
|
5268
5284
|
"controls-position": "right"
|
|
@@ -5271,8 +5287,8 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5271
5287
|
])
|
|
5272
5288
|
])
|
|
5273
5289
|
])) : P("", !0),
|
|
5274
|
-
c.value.key === "priceLevels" ? (
|
|
5275
|
-
|
|
5290
|
+
c.value.key === "priceLevels" ? (E(), S("div", ia, [
|
|
5291
|
+
y(v, {
|
|
5276
5292
|
modelValue: i.value.priceLevels,
|
|
5277
5293
|
"onUpdate:modelValue": h[17] || (h[17] = (C) => i.value.priceLevels = C),
|
|
5278
5294
|
multiple: "",
|
|
@@ -5281,7 +5297,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5281
5297
|
style: { width: "420px" }
|
|
5282
5298
|
}, {
|
|
5283
5299
|
default: F(() => [
|
|
5284
|
-
(
|
|
5300
|
+
(E(), S(q, null, j([1, 2, 3, 4, 5], (C) => y(V, {
|
|
5285
5301
|
key: C,
|
|
5286
5302
|
label: `${C}分位`,
|
|
5287
5303
|
value: C
|
|
@@ -5290,8 +5306,8 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5290
5306
|
_: 1
|
|
5291
5307
|
}, 8, ["modelValue"])
|
|
5292
5308
|
])) : P("", !0),
|
|
5293
|
-
c.value.key === "peTtmLevels" ? (
|
|
5294
|
-
|
|
5309
|
+
c.value.key === "peTtmLevels" ? (E(), S("div", ca, [
|
|
5310
|
+
y(v, {
|
|
5295
5311
|
modelValue: i.value.peTtmLevels,
|
|
5296
5312
|
"onUpdate:modelValue": h[18] || (h[18] = (C) => i.value.peTtmLevels = C),
|
|
5297
5313
|
multiple: "",
|
|
@@ -5300,7 +5316,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5300
5316
|
style: { width: "420px" }
|
|
5301
5317
|
}, {
|
|
5302
5318
|
default: F(() => [
|
|
5303
|
-
(
|
|
5319
|
+
(E(), S(q, null, j([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (C) => y(V, {
|
|
5304
5320
|
key: C,
|
|
5305
5321
|
label: `${C}分位`,
|
|
5306
5322
|
value: C
|
|
@@ -5309,17 +5325,17 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5309
5325
|
_: 1
|
|
5310
5326
|
}, 8, ["modelValue"])
|
|
5311
5327
|
])) : P("", !0),
|
|
5312
|
-
c.value.key === "optionsCpType" ? (
|
|
5313
|
-
|
|
5328
|
+
c.value.key === "optionsCpType" ? (E(), S("div", sa, [
|
|
5329
|
+
y(x, {
|
|
5314
5330
|
modelValue: i.value.optionsCpType,
|
|
5315
5331
|
"onUpdate:modelValue": h[19] || (h[19] = (C) => i.value.optionsCpType = C)
|
|
5316
5332
|
}, {
|
|
5317
5333
|
default: F(() => [
|
|
5318
|
-
|
|
5334
|
+
y(T, {
|
|
5319
5335
|
label: "看涨",
|
|
5320
5336
|
value: 1
|
|
5321
5337
|
}),
|
|
5322
|
-
|
|
5338
|
+
y(T, {
|
|
5323
5339
|
label: "看跌",
|
|
5324
5340
|
value: 2
|
|
5325
5341
|
})
|
|
@@ -5327,13 +5343,13 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5327
5343
|
_: 1
|
|
5328
5344
|
}, 8, ["modelValue"])
|
|
5329
5345
|
])) : P("", !0),
|
|
5330
|
-
c.value.key === "perVolumn" ? (
|
|
5331
|
-
|
|
5346
|
+
c.value.key === "perVolumn" ? (E(), S("div", da, [
|
|
5347
|
+
y(x, {
|
|
5332
5348
|
modelValue: i.value.radio,
|
|
5333
5349
|
"onUpdate:modelValue": h[20] || (h[20] = (C) => i.value.radio = C)
|
|
5334
5350
|
}, {
|
|
5335
5351
|
default: F(() => [
|
|
5336
|
-
(
|
|
5352
|
+
(E(), S(q, null, j(e, (C) => y(T, {
|
|
5337
5353
|
key: C.value,
|
|
5338
5354
|
value: C.value
|
|
5339
5355
|
}, {
|
|
@@ -5345,7 +5361,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5345
5361
|
]),
|
|
5346
5362
|
_: 1
|
|
5347
5363
|
}, 8, ["modelValue"]),
|
|
5348
|
-
|
|
5364
|
+
y(v, {
|
|
5349
5365
|
modelValue: i.value.levels,
|
|
5350
5366
|
"onUpdate:modelValue": h[21] || (h[21] = (C) => i.value.levels = C),
|
|
5351
5367
|
multiple: "",
|
|
@@ -5354,7 +5370,7 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5354
5370
|
style: { width: "420px" }
|
|
5355
5371
|
}, {
|
|
5356
5372
|
default: F(() => [
|
|
5357
|
-
(
|
|
5373
|
+
(E(), S(q, null, j([1, 2, 3, 4, 5], (C) => y(V, {
|
|
5358
5374
|
key: C,
|
|
5359
5375
|
label: `${C}分位`,
|
|
5360
5376
|
value: C
|
|
@@ -5363,31 +5379,31 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5363
5379
|
_: 1
|
|
5364
5380
|
}, 8, ["modelValue"])
|
|
5365
5381
|
])) : P("", !0),
|
|
5366
|
-
c.value.key === "mainFlow" ? (
|
|
5367
|
-
|
|
5382
|
+
c.value.key === "mainFlow" ? (E(), S("div", fa, [
|
|
5383
|
+
y(x, {
|
|
5368
5384
|
modelValue: i.value.radio,
|
|
5369
5385
|
"onUpdate:modelValue": h[22] || (h[22] = (C) => i.value.radio = C)
|
|
5370
5386
|
}, {
|
|
5371
5387
|
default: F(() => [
|
|
5372
|
-
|
|
5388
|
+
y(T, { value: "3" }, {
|
|
5373
5389
|
default: F(() => [
|
|
5374
5390
|
B("3日")
|
|
5375
5391
|
]),
|
|
5376
5392
|
_: 1
|
|
5377
5393
|
}),
|
|
5378
|
-
|
|
5394
|
+
y(T, { value: "5" }, {
|
|
5379
5395
|
default: F(() => [
|
|
5380
5396
|
B("5日")
|
|
5381
5397
|
]),
|
|
5382
5398
|
_: 1
|
|
5383
5399
|
}),
|
|
5384
|
-
|
|
5400
|
+
y(T, { value: "10" }, {
|
|
5385
5401
|
default: F(() => [
|
|
5386
5402
|
B("10日")
|
|
5387
5403
|
]),
|
|
5388
5404
|
_: 1
|
|
5389
5405
|
}),
|
|
5390
|
-
|
|
5406
|
+
y(T, { value: "20" }, {
|
|
5391
5407
|
default: F(() => [
|
|
5392
5408
|
B("20日")
|
|
5393
5409
|
]),
|
|
@@ -5398,26 +5414,26 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5398
5414
|
}, 8, ["modelValue"]),
|
|
5399
5415
|
O("div", pa, [
|
|
5400
5416
|
O("span", null, uu(i.value.radioType === "0" ? "涨幅范围" : "排名范围") + ": ", 1),
|
|
5401
|
-
|
|
5417
|
+
y(_, {
|
|
5402
5418
|
modelValue: i.value.rankRange[0],
|
|
5403
5419
|
"onUpdate:modelValue": h[23] || (h[23] = (C) => i.value.rankRange[0] = C),
|
|
5404
5420
|
style: { flex: "1" }
|
|
5405
5421
|
}, null, 8, ["modelValue"]),
|
|
5406
5422
|
B(" ~ "),
|
|
5407
|
-
|
|
5423
|
+
y(_, {
|
|
5408
5424
|
modelValue: i.value.rankRange[1],
|
|
5409
5425
|
"onUpdate:modelValue": h[24] || (h[24] = (C) => i.value.rankRange[1] = C),
|
|
5410
5426
|
style: { flex: "1" }
|
|
5411
5427
|
}, null, 8, ["modelValue"])
|
|
5412
5428
|
])
|
|
5413
5429
|
])) : P("", !0),
|
|
5414
|
-
c.value.key === "auditOpinionType" ? (
|
|
5415
|
-
|
|
5430
|
+
c.value.key === "auditOpinionType" ? (E(), S("div", ba, [
|
|
5431
|
+
y(x, {
|
|
5416
5432
|
modelValue: i.value.enumType,
|
|
5417
5433
|
"onUpdate:modelValue": h[25] || (h[25] = (C) => i.value.enumType = C)
|
|
5418
5434
|
}, {
|
|
5419
5435
|
default: F(() => [
|
|
5420
|
-
(
|
|
5436
|
+
(E(), S(q, null, j(t, (C, Z) => y(T, {
|
|
5421
5437
|
key: Z,
|
|
5422
5438
|
label: C.label,
|
|
5423
5439
|
value: C.value
|
|
@@ -5435,17 +5451,17 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5435
5451
|
name: "header",
|
|
5436
5452
|
fn: F(() => [
|
|
5437
5453
|
O("span", Wo, uu(c.value.label), 1),
|
|
5438
|
-
|
|
5454
|
+
y(x, {
|
|
5439
5455
|
modelValue: i.value.radioType,
|
|
5440
5456
|
"onUpdate:modelValue": h[0] || (h[0] = (U) => i.value.radioType = U),
|
|
5441
5457
|
style: { "vertical-align": "4px", "margin-left": "12px" }
|
|
5442
5458
|
}, {
|
|
5443
5459
|
default: F(() => [
|
|
5444
|
-
|
|
5460
|
+
y(b, {
|
|
5445
5461
|
label: "数值",
|
|
5446
5462
|
value: "0"
|
|
5447
5463
|
}),
|
|
5448
|
-
|
|
5464
|
+
y(b, {
|
|
5449
5465
|
disabled: l.value && l.value !== c.value.key,
|
|
5450
5466
|
label: "排名",
|
|
5451
5467
|
value: "1"
|
|
@@ -5459,18 +5475,18 @@ const Wu = (u) => (xe("data-v-3e69da40"), u = u(), _e(), u), Uo = {
|
|
|
5459
5475
|
name: "header",
|
|
5460
5476
|
fn: F(() => [
|
|
5461
5477
|
O("span", { style: { "font-size": "18px" } }, uu(c.value.label), 1),
|
|
5462
|
-
|
|
5478
|
+
y(x, {
|
|
5463
5479
|
modelValue: i.value.radioType,
|
|
5464
5480
|
"onUpdate:modelValue": h[1] || (h[1] = (U) => i.value.radioType = U),
|
|
5465
5481
|
style: { "vertical-align": "4px", "margin-left": "12px" },
|
|
5466
5482
|
onChange: $
|
|
5467
5483
|
}, {
|
|
5468
5484
|
default: F(() => [
|
|
5469
|
-
|
|
5485
|
+
y(b, {
|
|
5470
5486
|
label: "涨幅范围",
|
|
5471
5487
|
value: "0"
|
|
5472
5488
|
}),
|
|
5473
|
-
|
|
5489
|
+
y(b, {
|
|
5474
5490
|
disabled: l.value && l.value !== c.value.key,
|
|
5475
5491
|
label: "排名范围",
|
|
5476
5492
|
value: "1"
|
|
@@ -5492,7 +5508,7 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5492
5508
|
}, ka = { class: "title" }, ya = /* @__PURE__ */ Du(() => /* @__PURE__ */ O("span", null, "品种市场: ", -1)), va = {
|
|
5493
5509
|
key: 1,
|
|
5494
5510
|
class: "variety-search-row"
|
|
5495
|
-
}, Ca = { class: "title" },
|
|
5511
|
+
}, Ca = { class: "title" }, Ea = /* @__PURE__ */ Du(() => /* @__PURE__ */ O("span", null, "常用选项: ", -1)), Da = {
|
|
5496
5512
|
key: 2,
|
|
5497
5513
|
class: "variety-search-row"
|
|
5498
5514
|
}, Fa = { class: "title" }, Aa = /* @__PURE__ */ Du(() => /* @__PURE__ */ O("span", null, "上市板块: ", -1)), wa = {
|
|
@@ -5506,13 +5522,13 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5506
5522
|
class: "variety-search-row"
|
|
5507
5523
|
}, Ra = { class: "title" }, Ma = /* @__PURE__ */ Du(() => /* @__PURE__ */ O("span", null, "因子筛选: ", -1)), qa = {
|
|
5508
5524
|
__name: "index",
|
|
5509
|
-
props: /* @__PURE__ */
|
|
5525
|
+
props: /* @__PURE__ */ ju({ config: { type: Object, default: {} } }, {
|
|
5510
5526
|
searchData: {},
|
|
5511
5527
|
searchDataModifiers: {}
|
|
5512
5528
|
}),
|
|
5513
5529
|
emits: ["update:searchData"],
|
|
5514
5530
|
setup(u, { expose: e }) {
|
|
5515
|
-
const t = u, n =
|
|
5531
|
+
const t = u, n = Zu(u, "searchData");
|
|
5516
5532
|
n.value = Object.assign(n.value, {
|
|
5517
5533
|
// 品种市场
|
|
5518
5534
|
varietyMarket: null,
|
|
@@ -5592,13 +5608,13 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5592
5608
|
}
|
|
5593
5609
|
}
|
|
5594
5610
|
};
|
|
5595
|
-
return
|
|
5611
|
+
return ku(
|
|
5596
5612
|
() => l.value,
|
|
5597
5613
|
(s) => {
|
|
5598
5614
|
var p;
|
|
5599
5615
|
(p = n.value.commonOption) != null && p.length && (n.value.commonOption = n.value.commonOption.filter((m) => s.find(({ value: d }) => d === m)));
|
|
5600
5616
|
}
|
|
5601
|
-
),
|
|
5617
|
+
), ku(
|
|
5602
5618
|
() => a.value,
|
|
5603
5619
|
(s) => {
|
|
5604
5620
|
var p;
|
|
@@ -5611,7 +5627,7 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5611
5627
|
console.log("%c[st-varietySearch]: 正在生成接口传参...", "color: tomato");
|
|
5612
5628
|
const p = {};
|
|
5613
5629
|
if (s.varietyMarket && (p.exchangeId = String(s.varietyMarket)), (m = s.commonOption) != null && m.length && (p.optionId = s.commonOption.join(",")), (d = s.marketIds) != null && d.length && (p.marketIds = s.marketIds), (w = s.customTag) != null && w.length && (p.tagIds = s.customTag), ($ = r.value.jcTranslate) != null && $.show) {
|
|
5614
|
-
const { jcTranslate:
|
|
5630
|
+
const { jcTranslate: k } = s, { type: b, jcList: x } = k;
|
|
5615
5631
|
switch (b) {
|
|
5616
5632
|
case 1: {
|
|
5617
5633
|
p.translateType = 1, p.jcType = x.join(",");
|
|
@@ -5622,8 +5638,8 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5622
5638
|
}
|
|
5623
5639
|
}
|
|
5624
5640
|
if ((A = r.value.factorScreen) != null && A.show) {
|
|
5625
|
-
const { factorScreen:
|
|
5626
|
-
if ((h =
|
|
5641
|
+
const { factorScreen: k } = s;
|
|
5642
|
+
if ((h = k == null ? void 0 : k.list) != null && h.length && (p.tbFeatureFactorScores = k.list.map((b) => {
|
|
5627
5643
|
switch (b.key) {
|
|
5628
5644
|
case "compare":
|
|
5629
5645
|
return {
|
|
@@ -5641,55 +5657,55 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5641
5657
|
endScore: b.score[1]
|
|
5642
5658
|
};
|
|
5643
5659
|
}
|
|
5644
|
-
})),
|
|
5645
|
-
const b =
|
|
5646
|
-
var T,
|
|
5647
|
-
const
|
|
5660
|
+
})), k.sqlEnable) {
|
|
5661
|
+
const b = k.list.reduce((_, g, V) => {
|
|
5662
|
+
var T, D;
|
|
5663
|
+
const v = `条件${V + 1}`;
|
|
5648
5664
|
switch (g.key) {
|
|
5649
5665
|
case "compare": {
|
|
5650
5666
|
let z = "";
|
|
5651
|
-
(T = r.value.factorScreen) != null && T.cycleShow ? z = `freq_id = ${g.cycle} and factor_id = ${g.factor} ${g.compareType} freq_id = ${g.cycle2} and factor_id = ${g.factor2}` : z = `factor_id = ${g.factor} ${g.compareType} factor_id = ${g.factor2}`, _.set(
|
|
5667
|
+
(T = r.value.factorScreen) != null && T.cycleShow ? z = `freq_id = ${g.cycle} and factor_id = ${g.factor} ${g.compareType} freq_id = ${g.cycle2} and factor_id = ${g.factor2}` : z = `factor_id = ${g.factor} ${g.compareType} factor_id = ${g.factor2}`, _.set(v, `(${z})`);
|
|
5652
5668
|
break;
|
|
5653
5669
|
}
|
|
5654
5670
|
default: {
|
|
5655
5671
|
let z = `factor_id = ${g.factor} and `;
|
|
5656
|
-
(
|
|
5672
|
+
(D = r.value.factorScreen) != null && D.cycleShow && (z = `freq_id = ${g.cycle} and factor_id = ${g.factor} and `), (g.score[0] || g.score[0] === 0) && (g.score[1] || g.score[1] === 0) ? z += `score >= ${g.score[0]} and score <= ${g.score[1]}` : g.score[0] || g.score[0] === 0 ? z += `score >= ${g.score[0]}` : (g.score[1] || g.score[1] === 0) && (z += `score <= ${g.score[1]}`), _.set(v, `(${z})`);
|
|
5657
5673
|
}
|
|
5658
5674
|
}
|
|
5659
5675
|
return _;
|
|
5660
5676
|
}, /* @__PURE__ */ new Map([]));
|
|
5661
|
-
let x =
|
|
5677
|
+
let x = k.sqlValue;
|
|
5662
5678
|
for (const [_, g] of b) {
|
|
5663
5679
|
const V = new RegExp(_, "g");
|
|
5664
5680
|
x = x.replace(V, g);
|
|
5665
5681
|
}
|
|
5666
|
-
p.sql = x, p.sqlExpression =
|
|
5682
|
+
p.sql = x, p.sqlExpression = k.sqlValue;
|
|
5667
5683
|
}
|
|
5668
|
-
p.enableSql =
|
|
5684
|
+
p.enableSql = k.sqlEnable === 1 ? 2 : 1, k.factorSelectExpr && (p.factorSelectExpr = k.factorSelectExpr);
|
|
5669
5685
|
}
|
|
5670
5686
|
{
|
|
5671
|
-
const
|
|
5672
|
-
const { key: U, type: C, range: Z, unit: X, radioType: xu, radio:
|
|
5687
|
+
const k = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], b = s.commonIndicator.reduce((D, z) => {
|
|
5688
|
+
const { key: U, type: C, range: Z, unit: X, radioType: xu, radio: Fu, rankRange: Au } = z;
|
|
5673
5689
|
if (U === "mainFlow") {
|
|
5674
|
-
let [Y, K] =
|
|
5675
|
-
|
|
5690
|
+
let [Y, K] = Au, Yu = xu === "0" ? `netInfow${Fu}d` : `last${Fu}DayMainFlowRank`;
|
|
5691
|
+
D.push({ column: Yu, start: Y, end: K });
|
|
5676
5692
|
}
|
|
5677
5693
|
if (U === "auditOpinionType")
|
|
5678
|
-
|
|
5694
|
+
D.push({ column: z.key, enumType: z.enumType });
|
|
5679
5695
|
else if (xu === "1")
|
|
5680
5696
|
p.sortBy = {
|
|
5681
5697
|
column: z.key,
|
|
5682
|
-
start:
|
|
5683
|
-
end:
|
|
5698
|
+
start: Au[0] || null,
|
|
5699
|
+
end: Au[1] || null
|
|
5684
5700
|
};
|
|
5685
5701
|
else if (["dividendYield", "incrementRevenueLyr", "netProfitGrowthRatioLyr", "fiveYearRoe"].includes(U)) {
|
|
5686
5702
|
let [Y, K] = Z;
|
|
5687
|
-
["", null].includes(Y) || (Y = Y / 100), ["", null].includes(K) || (K = K / 100),
|
|
5703
|
+
["", null].includes(Y) || (Y = Y / 100), ["", null].includes(K) || (K = K / 100), D.push({
|
|
5688
5704
|
column: z.key,
|
|
5689
5705
|
start: Y,
|
|
5690
5706
|
end: K
|
|
5691
5707
|
});
|
|
5692
|
-
} else if (C === void 0 && !
|
|
5708
|
+
} else if (C === void 0 && !k.includes(U)) {
|
|
5693
5709
|
let [Y, K] = Z;
|
|
5694
5710
|
if (!["", null].includes(Y))
|
|
5695
5711
|
switch (X[0]) {
|
|
@@ -5715,66 +5731,66 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5715
5731
|
K = K;
|
|
5716
5732
|
break;
|
|
5717
5733
|
}
|
|
5718
|
-
|
|
5734
|
+
D.push({
|
|
5719
5735
|
column: z.key,
|
|
5720
5736
|
start: Y,
|
|
5721
5737
|
end: K
|
|
5722
5738
|
});
|
|
5723
5739
|
}
|
|
5724
|
-
return
|
|
5740
|
+
return D;
|
|
5725
5741
|
}, []);
|
|
5726
5742
|
b.length && (p.query = b);
|
|
5727
|
-
const x = s.commonIndicator.find(({ key:
|
|
5743
|
+
const x = s.commonIndicator.find(({ key: D }) => D === "st");
|
|
5728
5744
|
x && (p.st = x.st);
|
|
5729
|
-
const _ = s.commonIndicator.find(({ key:
|
|
5745
|
+
const _ = s.commonIndicator.find(({ key: D }) => D === "tFeaturelncomes");
|
|
5730
5746
|
_ && (p.netProfitQueryDto = { ..._, netProfit: _.netProfit * 1e8 });
|
|
5731
|
-
const g = s.commonIndicator.find(({ key:
|
|
5747
|
+
const g = s.commonIndicator.find(({ key: D }) => D === "priceLevels");
|
|
5732
5748
|
g && (p.priceLevels = g.priceLevels);
|
|
5733
|
-
const V = s.commonIndicator.find(({ key:
|
|
5749
|
+
const V = s.commonIndicator.find(({ key: D }) => D === "peTtmLevels");
|
|
5734
5750
|
V && (p.peTtmLevels = V.peTtmLevels);
|
|
5735
|
-
const
|
|
5736
|
-
s.commonIndicator.forEach((
|
|
5737
|
-
const { key: z } =
|
|
5751
|
+
const v = {};
|
|
5752
|
+
s.commonIndicator.forEach((D) => {
|
|
5753
|
+
const { key: z } = D;
|
|
5738
5754
|
switch (z) {
|
|
5739
5755
|
case "expireDays":
|
|
5740
|
-
["", null].includes(
|
|
5756
|
+
["", null].includes(D.range[0]) || (v.minExpireDays = D.range[0]), ["", null].includes(D.range[1]) || (v.maxExpireDays = D.range[1]);
|
|
5741
5757
|
break;
|
|
5742
5758
|
case "virtualRealDegree":
|
|
5743
|
-
["", null].includes(
|
|
5759
|
+
["", null].includes(D.range[0]) || (v.minVirtualRealDegree = D.range[0] / 100), ["", null].includes(D.range[1]) || (v.maxVirtualRealDegree = D.range[1] / 100);
|
|
5744
5760
|
break;
|
|
5745
5761
|
case "yearProfitRate":
|
|
5746
|
-
["", null].includes(
|
|
5762
|
+
["", null].includes(D.range[0]) || (v.minYearProfitRate = D.range[0] / 100), ["", null].includes(D.range[1]) || (v.maxYearProfitRate = D.range[1] / 100);
|
|
5747
5763
|
break;
|
|
5748
5764
|
case "impliedVolatility":
|
|
5749
|
-
["", null].includes(
|
|
5765
|
+
["", null].includes(D.range[0]) || (v.minImpliedVolatility = D.range[0] / 100), ["", null].includes(D.range[1]) || (v.maxImpliedVolatility = D.range[1] / 100);
|
|
5750
5766
|
break;
|
|
5751
5767
|
case "levelMultiplier":
|
|
5752
|
-
["", null].includes(
|
|
5768
|
+
["", null].includes(D.range[0]) || (v.minLevelMultiplier = D.range[0]), ["", null].includes(D.range[1]) || (v.maxLevelMultiplier = D.range[1]);
|
|
5753
5769
|
break;
|
|
5754
5770
|
case "turnover":
|
|
5755
|
-
["", null].includes(
|
|
5771
|
+
["", null].includes(D.range[0]) || (v.minTurnover = D.range[0] * 1e4), ["", null].includes(D.range[1]) || (v.maxTurnover = D.range[1] * 1e4);
|
|
5756
5772
|
break;
|
|
5757
5773
|
case "volume":
|
|
5758
|
-
["", null].includes(
|
|
5774
|
+
["", null].includes(D.range[0]) || (v.minVolume = D.range[0]), ["", null].includes(D.range[1]) || (v.maxVolume = D.range[1]);
|
|
5759
5775
|
break;
|
|
5760
5776
|
case "openInterest":
|
|
5761
|
-
["", null].includes(
|
|
5777
|
+
["", null].includes(D.range[0]) || (v.minOpenInterest = D.range[0]), ["", null].includes(D.range[1]) || (v.maxOpenInterest = D.range[1]);
|
|
5762
5778
|
break;
|
|
5763
5779
|
case "optionsCpType":
|
|
5764
|
-
|
|
5780
|
+
v.optionsCpType = D.optionsCpType;
|
|
5765
5781
|
break;
|
|
5766
5782
|
case "optionGear":
|
|
5767
|
-
["", null].includes(
|
|
5783
|
+
["", null].includes(D.range[0]) || (v.minOptionGear = D.range[0]), ["", null].includes(D.range[1]) || (v.maxOptionGear = D.range[1]);
|
|
5768
5784
|
break;
|
|
5769
5785
|
}
|
|
5770
5786
|
});
|
|
5771
|
-
const T = s.commonIndicator.find(({ key:
|
|
5787
|
+
const T = s.commonIndicator.find(({ key: D }) => D === "perVolumn");
|
|
5772
5788
|
T && (p.perVolumn = {
|
|
5773
5789
|
type: T.radio,
|
|
5774
5790
|
value: T.levels
|
|
5775
|
-
}), Object.keys(
|
|
5791
|
+
}), Object.keys(v).length && (p.searchOptionDto = {
|
|
5776
5792
|
...p.searchOptionDto,
|
|
5777
|
-
...
|
|
5793
|
+
...v
|
|
5778
5794
|
});
|
|
5779
5795
|
}
|
|
5780
5796
|
return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", p), p;
|
|
@@ -5807,24 +5823,24 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5807
5823
|
};
|
|
5808
5824
|
}
|
|
5809
5825
|
}), (s, p) => {
|
|
5810
|
-
var
|
|
5811
|
-
const m = ye, d = ve, w = ct, $ = st, A =
|
|
5812
|
-
return
|
|
5813
|
-
(
|
|
5826
|
+
var k, b, x, _, g, V;
|
|
5827
|
+
const m = ye, d = ve, w = ct, $ = st, A = fe, h = pe;
|
|
5828
|
+
return E(), S("div", _a, [
|
|
5829
|
+
(k = r.value.varietyMarket) != null && k.show ? (E(), S("div", ga, [
|
|
5814
5830
|
O("div", ka, [
|
|
5815
5831
|
ya,
|
|
5816
5832
|
O("span", {
|
|
5817
|
-
onClick: p[0] || (p[0] = (
|
|
5833
|
+
onClick: p[0] || (p[0] = (v) => f("varietyMarket"))
|
|
5818
5834
|
}, "不限")
|
|
5819
5835
|
]),
|
|
5820
|
-
|
|
5836
|
+
y(d, {
|
|
5821
5837
|
modelValue: n.value.varietyMarket,
|
|
5822
|
-
"onUpdate:modelValue": p[1] || (p[1] = (
|
|
5838
|
+
"onUpdate:modelValue": p[1] || (p[1] = (v) => n.value.varietyMarket = v),
|
|
5823
5839
|
size: "small"
|
|
5824
5840
|
}, {
|
|
5825
5841
|
default: F(() => [
|
|
5826
|
-
(
|
|
5827
|
-
label:
|
|
5842
|
+
(E(!0), S(q, null, j(o.value, ({ label: v, value: T }) => (E(), L(m, {
|
|
5843
|
+
label: v,
|
|
5828
5844
|
value: T,
|
|
5829
5845
|
key: T
|
|
5830
5846
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -5832,21 +5848,21 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5832
5848
|
_: 1
|
|
5833
5849
|
}, 8, ["modelValue"])
|
|
5834
5850
|
])) : P("", !0),
|
|
5835
|
-
(b = r.value.commonOption) != null && b.show && l.value.length ? (
|
|
5851
|
+
(b = r.value.commonOption) != null && b.show && l.value.length ? (E(), S("div", va, [
|
|
5836
5852
|
O("div", Ca, [
|
|
5837
|
-
|
|
5853
|
+
Ea,
|
|
5838
5854
|
O("span", {
|
|
5839
|
-
onClick: p[2] || (p[2] = (
|
|
5855
|
+
onClick: p[2] || (p[2] = (v) => f("commonOption"))
|
|
5840
5856
|
}, "不限")
|
|
5841
5857
|
]),
|
|
5842
|
-
|
|
5858
|
+
y($, {
|
|
5843
5859
|
modelValue: n.value.commonOption,
|
|
5844
|
-
"onUpdate:modelValue": p[3] || (p[3] = (
|
|
5860
|
+
"onUpdate:modelValue": p[3] || (p[3] = (v) => n.value.commonOption = v),
|
|
5845
5861
|
size: "small"
|
|
5846
5862
|
}, {
|
|
5847
5863
|
default: F(() => [
|
|
5848
|
-
(
|
|
5849
|
-
label:
|
|
5864
|
+
(E(!0), S(q, null, j(l.value, ({ label: v, value: T }) => (E(), L(w, {
|
|
5865
|
+
label: v,
|
|
5850
5866
|
value: T,
|
|
5851
5867
|
key: T
|
|
5852
5868
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -5854,21 +5870,21 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5854
5870
|
_: 1
|
|
5855
5871
|
}, 8, ["modelValue"])
|
|
5856
5872
|
])) : P("", !0),
|
|
5857
|
-
(x = r.value.marketIds) != null && x.show && a.value.length ? (
|
|
5873
|
+
(x = r.value.marketIds) != null && x.show && a.value.length ? (E(), S("div", Da, [
|
|
5858
5874
|
O("div", Fa, [
|
|
5859
5875
|
Aa,
|
|
5860
5876
|
O("span", {
|
|
5861
|
-
onClick: p[4] || (p[4] = (
|
|
5877
|
+
onClick: p[4] || (p[4] = (v) => f("marketIds"))
|
|
5862
5878
|
}, "不限")
|
|
5863
5879
|
]),
|
|
5864
|
-
|
|
5880
|
+
y($, {
|
|
5865
5881
|
modelValue: n.value.marketIds,
|
|
5866
|
-
"onUpdate:modelValue": p[5] || (p[5] = (
|
|
5882
|
+
"onUpdate:modelValue": p[5] || (p[5] = (v) => n.value.marketIds = v),
|
|
5867
5883
|
size: "small"
|
|
5868
5884
|
}, {
|
|
5869
5885
|
default: F(() => [
|
|
5870
|
-
(
|
|
5871
|
-
label:
|
|
5886
|
+
(E(!0), S(q, null, j(a.value, ({ label: v, value: T }) => (E(), L(w, {
|
|
5887
|
+
label: v,
|
|
5872
5888
|
value: T,
|
|
5873
5889
|
key: T
|
|
5874
5890
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -5876,21 +5892,21 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5876
5892
|
_: 1
|
|
5877
5893
|
}, 8, ["modelValue"])
|
|
5878
5894
|
])) : P("", !0),
|
|
5879
|
-
(_ = r.value.customTag) != null && _.show && c.value.length ? (
|
|
5895
|
+
(_ = r.value.customTag) != null && _.show && c.value.length ? (E(), S("div", wa, [
|
|
5880
5896
|
O("div", Ta, [
|
|
5881
5897
|
Sa,
|
|
5882
5898
|
O("span", {
|
|
5883
|
-
onClick: p[6] || (p[6] = (
|
|
5899
|
+
onClick: p[6] || (p[6] = (v) => f("customTag"))
|
|
5884
5900
|
}, "不限")
|
|
5885
5901
|
]),
|
|
5886
|
-
|
|
5902
|
+
y($, {
|
|
5887
5903
|
modelValue: n.value.customTag,
|
|
5888
|
-
"onUpdate:modelValue": p[7] || (p[7] = (
|
|
5904
|
+
"onUpdate:modelValue": p[7] || (p[7] = (v) => n.value.customTag = v),
|
|
5889
5905
|
size: "small"
|
|
5890
5906
|
}, {
|
|
5891
5907
|
default: F(() => [
|
|
5892
|
-
(
|
|
5893
|
-
label:
|
|
5908
|
+
(E(!0), S(q, null, j(c.value, ({ label: v, value: T }) => (E(), L(w, {
|
|
5909
|
+
label: v,
|
|
5894
5910
|
value: T,
|
|
5895
5911
|
key: T
|
|
5896
5912
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -5898,26 +5914,26 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5898
5914
|
_: 1
|
|
5899
5915
|
}, 8, ["modelValue"])
|
|
5900
5916
|
])) : P("", !0),
|
|
5901
|
-
(g = r.value.jcTranslate) != null && g.show ? (
|
|
5917
|
+
(g = r.value.jcTranslate) != null && g.show ? (E(), S("div", Ia, [
|
|
5902
5918
|
O("div", Oa, [
|
|
5903
5919
|
Va,
|
|
5904
5920
|
O("span", {
|
|
5905
|
-
onClick: p[8] || (p[8] = (
|
|
5921
|
+
onClick: p[8] || (p[8] = (v) => f("jcTranslate"))
|
|
5906
5922
|
}, "不限")
|
|
5907
5923
|
]),
|
|
5908
|
-
|
|
5924
|
+
y(d, {
|
|
5909
5925
|
modelValue: n.value.jcTranslate.type,
|
|
5910
|
-
"onUpdate:modelValue": p[9] || (p[9] = (
|
|
5926
|
+
"onUpdate:modelValue": p[9] || (p[9] = (v) => n.value.jcTranslate.type = v),
|
|
5911
5927
|
size: "small"
|
|
5912
5928
|
}, {
|
|
5913
5929
|
default: F(() => [
|
|
5914
|
-
|
|
5930
|
+
y(m, { value: 2 }, {
|
|
5915
5931
|
default: F(() => [
|
|
5916
5932
|
B("价差转品种")
|
|
5917
5933
|
]),
|
|
5918
5934
|
_: 1
|
|
5919
5935
|
}),
|
|
5920
|
-
|
|
5936
|
+
y(m, { value: 1 }, {
|
|
5921
5937
|
default: F(() => [
|
|
5922
5938
|
B("品种转价差")
|
|
5923
5939
|
]),
|
|
@@ -5926,9 +5942,9 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5926
5942
|
]),
|
|
5927
5943
|
_: 1
|
|
5928
5944
|
}, 8, ["modelValue"]),
|
|
5929
|
-
|
|
5945
|
+
Nu(y(h, {
|
|
5930
5946
|
modelValue: n.value.jcTranslate.jcList,
|
|
5931
|
-
"onUpdate:modelValue": p[10] || (p[10] = (
|
|
5947
|
+
"onUpdate:modelValue": p[10] || (p[10] = (v) => n.value.jcTranslate.jcList = v),
|
|
5932
5948
|
size: "small",
|
|
5933
5949
|
multiple: "",
|
|
5934
5950
|
"collapse-tags": "",
|
|
@@ -5937,10 +5953,10 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5937
5953
|
style: { width: "140px" }
|
|
5938
5954
|
}, {
|
|
5939
5955
|
default: F(() => [
|
|
5940
|
-
(
|
|
5941
|
-
key:
|
|
5942
|
-
label:
|
|
5943
|
-
value:
|
|
5956
|
+
(E(!0), S(q, null, j(i.value, (v) => (E(), L(A, {
|
|
5957
|
+
key: v.value,
|
|
5958
|
+
label: v.label,
|
|
5959
|
+
value: v.value
|
|
5944
5960
|
}, null, 8, ["label", "value"]))), 128))
|
|
5945
5961
|
]),
|
|
5946
5962
|
_: 1
|
|
@@ -5948,22 +5964,22 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5948
5964
|
[f0, n.value.jcTranslate.type === 1]
|
|
5949
5965
|
])
|
|
5950
5966
|
])) : P("", !0),
|
|
5951
|
-
(V = r.value.factorScreen) != null && V.show ? (
|
|
5967
|
+
(V = r.value.factorScreen) != null && V.show ? (E(), S("div", $a, [
|
|
5952
5968
|
O("div", Ra, [
|
|
5953
5969
|
Ma,
|
|
5954
5970
|
O("span", {
|
|
5955
|
-
onClick: p[11] || (p[11] = (
|
|
5971
|
+
onClick: p[11] || (p[11] = (v) => f("factorScreen"))
|
|
5956
5972
|
}, "不限")
|
|
5957
5973
|
]),
|
|
5958
|
-
|
|
5974
|
+
y(Po, {
|
|
5959
5975
|
data: n.value.factorScreen,
|
|
5960
|
-
"onUpdate:data": p[12] || (p[12] = (
|
|
5976
|
+
"onUpdate:data": p[12] || (p[12] = (v) => n.value.factorScreen = v),
|
|
5961
5977
|
config: r.value.factorScreen
|
|
5962
5978
|
}, null, 8, ["data", "config"])
|
|
5963
5979
|
])) : P("", !0),
|
|
5964
|
-
|
|
5980
|
+
y(xa, {
|
|
5965
5981
|
data: n.value.commonIndicator,
|
|
5966
|
-
"onUpdate:data": p[13] || (p[13] = (
|
|
5982
|
+
"onUpdate:data": p[13] || (p[13] = (v) => n.value.commonIndicator = v),
|
|
5967
5983
|
varietyMarket: n.value.varietyMarket,
|
|
5968
5984
|
commonOption: n.value.commonOption,
|
|
5969
5985
|
config: r.value.commonIndicator
|
|
@@ -5971,11 +5987,11 @@ const Du = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), _a = { class: "vari
|
|
|
5971
5987
|
]);
|
|
5972
5988
|
};
|
|
5973
5989
|
}
|
|
5974
|
-
}, Ba = /* @__PURE__ */ ke(qa, [["__scopeId", "data-v-efd872de"]]),
|
|
5990
|
+
}, Ba = /* @__PURE__ */ ke(qa, [["__scopeId", "data-v-efd872de"]]), El = {
|
|
5975
5991
|
install(u) {
|
|
5976
5992
|
u.component("st-varietySearch", Ba);
|
|
5977
5993
|
}
|
|
5978
5994
|
};
|
|
5979
5995
|
export {
|
|
5980
|
-
|
|
5996
|
+
El as default
|
|
5981
5997
|
};
|