st-comp 0.0.199 → 0.0.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auto-imports.d.ts +3 -0
- package/es/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +267 -199
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +27 -25
- package/es/KlinePlus.cjs +3 -3
- package/es/KlinePlus.js +252 -249
- package/es/User.cjs +1 -1
- package/es/User.js +714 -624
- package/es/VarietySearch.cjs +6 -6
- package/es/VarietySearch.js +19 -17
- package/es/VarietyTextCopy.cjs +3 -3
- package/es/VarietyTextCopy.js +4 -4
- package/es/el-checkbox-group-0ea8fbf8.cjs +1 -0
- package/es/el-checkbox-group-4ed993c7.js +1 -0
- package/es/{el-form-item-eeb64520.js → el-form-item-c53c374d.js} +2 -2
- package/es/el-message-box-a93d2f6a.js +489 -0
- package/es/el-message-box-c10adb52.cjs +1 -0
- package/es/el-text-ac60d0f2.js +67 -0
- package/es/el-text-c20a9f48.cjs +1 -0
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +206 -206
- package/lib/{index-c9dddb13.js → index-c0ce50bc.js} +20375 -20219
- package/lib/{python-8de8f552.js → python-9dae326e.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/CustomFunction/index.vue +141 -30
- package/packages/KlinePlus/index.vue +17 -7
- package/packages/User/components/EditInfoDialog/Mobile.vue +110 -0
- package/packages/User/components/EditInfoDialog/index.vue +136 -0
- package/packages/User/components/SetPasswordDialog.vue +6 -3
- package/packages/User/index.vue +7 -22
- package/src/pages/KlinePlus/index.vue +6 -5
- package/es/el-message-box-48d71ee5.cjs +0 -1
- package/es/el-message-box-81ffd21e.js +0 -550
- package/packages/User/components/EditInfoDialog.vue +0 -144
package/es/VarietySearch.js
CHANGED
|
@@ -4,20 +4,22 @@ import { E as fe, a as pe } from "./el-select-95627997.js";
|
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
5
|
import { U as be, C as he, u as ut, d as et, E as tt } from "./el-popper-b4f97157.js";
|
|
6
6
|
import { b as nt, c as rt, E as ot, a as at } from "./el-table-column-72c50d58.js";
|
|
7
|
-
import
|
|
8
|
-
import { ref as eu, inject as o0, computed as Q, defineComponent as Du, openBlock as E, createElementBlock as S, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as Nu, isRef as a0, withModifiers as qu, vModelRadio as l0, renderSlot as me, createTextVNode as L, toDisplayString as uu, nextTick as Bu, normalizeStyle as i0, onMounted as c0, provide as
|
|
7
|
+
import "./el-checkbox-group-4ed993c7.js";
|
|
8
|
+
import { ref as eu, inject as o0, computed as Q, defineComponent as Du, openBlock as E, createElementBlock as S, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as Nu, isRef as a0, withModifiers as qu, vModelRadio as l0, renderSlot as me, createTextVNode as L, toDisplayString as uu, nextTick as Bu, normalizeStyle as i0, onMounted as c0, provide as lt, reactive as it, toRefs as ct, watch as vu, Fragment as z, renderList as Z, createBlock as P, mergeProps as st, mergeModels as ju, useModel as Zu, withCtx as D, createVNode as y, createCommentVNode as U, resolveComponent as qe, vShow as s0, pushScopeId as xe, popScopeId as _e, createSlots as Ku } from "vue";
|
|
9
9
|
import { E as ge } from "./el-dialog-41ab8417.js";
|
|
10
10
|
import "./el-overlay-09ad71cd.js";
|
|
11
|
-
import {
|
|
11
|
+
import { a as dt, E as ft } from "./el-form-item-c53c374d.js";
|
|
12
12
|
import { E as d0 } from "./el-input-2f75c4ba.js";
|
|
13
13
|
import { E as f0 } from "./el-input-number-5193fe6d.js";
|
|
14
14
|
import "./el-tooltip-4ed993c7.js";
|
|
15
15
|
import { E as p0 } from "./el-button-c95adb85.js";
|
|
16
16
|
import "./el-popover-4ed993c7.js";
|
|
17
|
-
import {
|
|
17
|
+
import { E as pt } from "./el-text-ac60d0f2.js";
|
|
18
|
+
import { p as Xu, i as bt, c as ht, s as mt, E as xt } from "./index-a871c3eb.js";
|
|
18
19
|
import { E as b0 } from "./index-844bdd85.js";
|
|
19
|
-
import { M as
|
|
20
|
+
import { M as _t } from "./index-bc8e277e.js";
|
|
20
21
|
import { E as W } from "./el-message-e544a8f5.js";
|
|
22
|
+
import { E as gt } from "./el-message-box-a93d2f6a.js";
|
|
21
23
|
import { _ as ke } from "./_plugin-vue_export-helper-dad06003.js";
|
|
22
24
|
import { E as h0 } from "./index-57672682.js";
|
|
23
25
|
import { E as kt } from "./index-88546436.js";
|
|
@@ -34,11 +36,11 @@ import "./vnode-5ddb7ed1.js";
|
|
|
34
36
|
import "./use-global-config-b5e9d3d5.js";
|
|
35
37
|
import "./_initCloneObject-eaef9418.js";
|
|
36
38
|
import "./raf-80ef0c0a.js";
|
|
37
|
-
import "./validator-764a9db0.js";
|
|
38
39
|
import "./typescript-7ae59c4c.js";
|
|
39
40
|
import "./index-657047bb.js";
|
|
40
41
|
import "./index-7ed0999e.js";
|
|
41
42
|
import "./config-provider-b16efd62.js";
|
|
43
|
+
import "./validator-764a9db0.js";
|
|
42
44
|
import "./dropdown-a59bba73.js";
|
|
43
45
|
const x0 = Uu({
|
|
44
46
|
modelValue: {
|
|
@@ -279,8 +281,8 @@ const $t = Uu({
|
|
|
279
281
|
};
|
|
280
282
|
return { ...m, ...d };
|
|
281
283
|
};
|
|
282
|
-
return
|
|
283
|
-
...
|
|
284
|
+
return lt(g0, it({
|
|
285
|
+
...ct(t),
|
|
284
286
|
changeEvent: i,
|
|
285
287
|
name: f
|
|
286
288
|
})), vu(() => t.modelValue, (m, d) => {
|
|
@@ -295,7 +297,7 @@ const $t = Uu({
|
|
|
295
297
|
"aria-labelledby": O(c) ? O(l).labelId : void 0
|
|
296
298
|
}, [
|
|
297
299
|
me(m.$slots, "default", {}, () => [
|
|
298
|
-
(E(!0), S(z, null, Z(t.options, (w, $) => (E(), P(y0,
|
|
300
|
+
(E(!0), S(z, null, Z(t.options, (w, $) => (E(), P(y0, st({ key: $ }, p(w)), null, 16))), 128))
|
|
299
301
|
])
|
|
300
302
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
301
303
|
}
|
|
@@ -4246,7 +4248,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), To = { class: "fact
|
|
|
4246
4248
|
break;
|
|
4247
4249
|
}
|
|
4248
4250
|
case "scriptTag": {
|
|
4249
|
-
|
|
4251
|
+
gt.confirm("是否确认删除因子筛选: 脚本模式", "删除操作", {
|
|
4250
4252
|
confirmButtonText: "确认",
|
|
4251
4253
|
cancelButtonText: "取消",
|
|
4252
4254
|
type: "warning"
|
|
@@ -4316,7 +4318,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), To = { class: "fact
|
|
|
4316
4318
|
{ deep: !0 }
|
|
4317
4319
|
), (k, b) => {
|
|
4318
4320
|
var Ie;
|
|
4319
|
-
const x =
|
|
4321
|
+
const x = pt, g = h0, _ = kt, I = p0, v = xt, T = tt, F = D0, q = ve, B = qe("st-customFunction"), C = fe, N = pe, H = dt, xu = f0, _u = ye, gu = d0, K = ft, X = b0, Yu = ge, K0 = qe("st-varSelectDialog");
|
|
4320
4322
|
return E(), S(z, null, [
|
|
4321
4323
|
V("div", To, [
|
|
4322
4324
|
V("div", null, [
|
|
@@ -4417,7 +4419,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), To = { class: "fact
|
|
|
4417
4419
|
onClick: b[2] || (b[2] = (R) => l.value = !0)
|
|
4418
4420
|
}, {
|
|
4419
4421
|
default: D(() => [
|
|
4420
|
-
y(O(
|
|
4422
|
+
y(O(bt))
|
|
4421
4423
|
]),
|
|
4422
4424
|
_: 1
|
|
4423
4425
|
})
|
|
@@ -4464,7 +4466,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), To = { class: "fact
|
|
|
4464
4466
|
onClick: b[4] || (b[4] = (R) => o.value = !1)
|
|
4465
4467
|
}, {
|
|
4466
4468
|
default: D(() => [
|
|
4467
|
-
y(O(
|
|
4469
|
+
y(O(ht))
|
|
4468
4470
|
]),
|
|
4469
4471
|
_: 1
|
|
4470
4472
|
})
|
|
@@ -4710,7 +4712,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), To = { class: "fact
|
|
|
4710
4712
|
onClick: (R) => p(nu)
|
|
4711
4713
|
}, {
|
|
4712
4714
|
default: D(() => [
|
|
4713
|
-
y(O(
|
|
4715
|
+
y(O(mt))
|
|
4714
4716
|
]),
|
|
4715
4717
|
_: 2
|
|
4716
4718
|
}, 1032, ["onClick"])
|
|
@@ -4795,7 +4797,7 @@ const Y0 = (u) => (xe("data-v-deab9c48"), u = u(), _e(), u), To = { class: "fact
|
|
|
4795
4797
|
V("div", {
|
|
4796
4798
|
style: i0([{ width: "968px", height: "400px" }, a.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1, visibility: "hidden", pointerEvents: "none" }])
|
|
4797
4799
|
}, [
|
|
4798
|
-
y(
|
|
4800
|
+
y(_t, {
|
|
4799
4801
|
ref_key: "monacoEditorRef",
|
|
4800
4802
|
ref: n,
|
|
4801
4803
|
language: "lua",
|
|
@@ -6004,11 +6006,11 @@ const Au = (u) => (xe("data-v-efd872de"), u = u(), _e(), u), ga = { class: "vari
|
|
|
6004
6006
|
]);
|
|
6005
6007
|
};
|
|
6006
6008
|
}
|
|
6007
|
-
}, za = /* @__PURE__ */ ke(Ba, [["__scopeId", "data-v-efd872de"]]),
|
|
6009
|
+
}, za = /* @__PURE__ */ ke(Ba, [["__scopeId", "data-v-efd872de"]]), Sl = {
|
|
6008
6010
|
install(u) {
|
|
6009
6011
|
u.component("st-varietySearch", za);
|
|
6010
6012
|
}
|
|
6011
6013
|
};
|
|
6012
6014
|
export {
|
|
6013
|
-
|
|
6015
|
+
Sl as default
|
|
6014
6016
|
};
|
package/es/VarietyTextCopy.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";require("./base-ef747d02.cjs");const v=require("./el-input-7fd293af.cjs");require("./el-tooltip-0ea8fbf8.cjs");const q=require("./el-popper-b6c99b28.cjs"),e=require("vue"),i=require("./index-098c2447.cjs"),V=require("./
|
|
2
|
-
`).reduce((s,a)=>{const t=a.trim().replace(/\s+/gi," ").split(" ")[0];return t&&s.push(t),s},[]):[];return u({validate:n=>new Promise(async(s,a)=>{try{if(p.required&&(!o.value||o.value.trim()===""))return
|
|
1
|
+
"use strict";require("./base-ef747d02.cjs");const v=require("./el-input-7fd293af.cjs");require("./el-tooltip-0ea8fbf8.cjs");const q=require("./el-popper-b6c99b28.cjs"),e=require("vue"),i=require("./index-098c2447.cjs"),V=require("./el-message-5e6a6be9.cjs"),f=require("./_plugin-vue_export-helper-f246444f.cjs");require("./use-form-common-props-fd9b61a0.cjs");require("./index-9780a537.cjs");require("./typescript-b63f8e83.cjs");require("./index-11547a0c.cjs");require("./use-global-config-30d7d8ce.cjs");require("./index-bb833443.cjs");require("./index-c108567d.cjs");require("./config-provider-a584d81e.cjs");const c=r=>(e.pushScopeId("data-v-445e2903"),r=r(),e.popScopeId(),r),h={class:"variety-text-copy"},y={class:"stats-container"},N={class:"stat-item"},g=c(()=>e.createElementVNode("span",{class:"label"},"品种数量统计:",-1)),E={class:"value"},C=c(()=>e.createElementVNode("br",null,null,-1)),I=c(()=>e.createElementVNode("br",null,null,-1)),w={__name:"index",props:{required:{type:Boolean,default:!0}},setup(r,{expose:u}){const d=e.inject("stConfig"),p=r,o=e.ref(""),_=e.computed(()=>l(o.value).length),l=n=>n?n.split(`
|
|
2
|
+
`).reduce((s,a)=>{const t=a.trim().replace(/\s+/gi," ").split(" ")[0];return t&&s.push(t),s},[]):[];return u({validate:n=>new Promise(async(s,a)=>{try{if(p.required&&(!o.value||o.value.trim()===""))return V.ElMessage.error("品种内容不可为空"),n(!1);const{body:t}=await d.request.post("/invest/analysis/strategy/verifyCodes",{codes:l(o.value)});return n(!0,t)}catch(t){return a(t)}})}),(n,s)=>{const a=i.ElIcon,t=q.ElTooltip,x=v.ElInput;return e.openBlock(),e.createElementBlock("div",h,[e.createElementVNode("div",y,[e.createElementVNode("div",N,[g,e.createElementVNode("span",E,e.toDisplayString(_.value),1),e.createVNode(t,{class:"box-item",effect:"dark",placement:"right"},{content:e.withCtx(()=>[e.createTextVNode(" 仅统计符合输入格式的数量, 输入格式示例(代码和名称需空格隔开, 名称可不写):"),C,e.createTextVNode("hc8888 热轧卷板期货指数 "),I,e.createTextVNode("sp8888 纸浆期货指数")]),default:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(i.info_filled_default))]),_:1})]),_:1})])]),e.createVNode(x,{class:"textarea",modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=m=>o.value=m),resize:"none",type:"textarea",placeholder:`文本格式要求示例:
|
|
3
3
|
hc8888 热轧卷板期货指数
|
|
4
4
|
sp8888 纸浆期货指数
|
|
5
|
-
bu8888 石油沥青期货指数`},null,8,["modelValue"])])}}},S=
|
|
5
|
+
bu8888 石油沥青期货指数`},null,8,["modelValue"])])}}},S=f._export_sfc(w,[["__scopeId","data-v-445e2903"]]),T={install(r){r.component("st-varietyTextCopy",S)}};module.exports=T;
|
package/es/VarietyTextCopy.js
CHANGED
|
@@ -4,8 +4,8 @@ import "./el-tooltip-4ed993c7.js";
|
|
|
4
4
|
import { E as h } from "./el-popper-b4f97157.js";
|
|
5
5
|
import { inject as g, ref as E, computed as C, openBlock as V, createElementBlock as I, createElementVNode as n, toDisplayString as S, createVNode as i, withCtx as l, createTextVNode as c, unref as b, pushScopeId as w, popScopeId as T } from "vue";
|
|
6
6
|
import { i as q, E as B } from "./index-a871c3eb.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { E as N } from "./el-message-e544a8f5.js";
|
|
8
|
+
import { _ as k } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
import "./use-form-common-props-815d48a6.js";
|
|
10
10
|
import "./index-960806da.js";
|
|
11
11
|
import "./typescript-7ae59c4c.js";
|
|
@@ -28,7 +28,7 @@ const p = (t) => (w("data-v-445e2903"), t = t(), T(), t), j = { class: "variety-
|
|
|
28
28
|
return d({ validate: (s) => new Promise(async (r, a) => {
|
|
29
29
|
try {
|
|
30
30
|
if (m.required && (!o.value || o.value.trim() === ""))
|
|
31
|
-
return
|
|
31
|
+
return N.error("品种内容不可为空"), s(!1);
|
|
32
32
|
const { body: e } = await _.request.post("/invest/analysis/strategy/verifyCodes", { codes: u(o.value) });
|
|
33
33
|
return s(!0, e);
|
|
34
34
|
} catch (e) {
|
|
@@ -79,7 +79,7 @@ bu8888 石油沥青期货指数`
|
|
|
79
79
|
]);
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
}, G = /* @__PURE__ */
|
|
82
|
+
}, G = /* @__PURE__ */ k(A, [["__scopeId", "data-v-445e2903"]]), ne = {
|
|
83
83
|
install(t) {
|
|
84
84
|
t.component("st-varietyTextCopy", G);
|
|
85
85
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|