st-comp 0.0.248 → 0.0.249
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/components.d.ts +1 -0
- package/es/ChartLayout.js +4 -4
- package/es/CustomFunction.cjs +2 -2
- package/es/CustomFunction.js +82 -80
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +36 -35
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +20 -19
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +30 -28
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +83 -82
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +19 -18
- package/es/KlinePlus.cjs +1 -1
- package/es/KlinePlus.js +22 -21
- package/es/LinearLegend.cjs +1 -1
- package/es/LinearLegend.js +63 -1
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +28 -26
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +121 -120
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.cjs +1 -1
- package/es/Table.js +31 -30
- package/es/User.cjs +1 -1
- package/es/User.js +157 -155
- package/es/VarSelectDialog.cjs +2 -2
- package/es/VarSelectDialog.js +29 -27
- package/es/VarietyAiHelper.cjs +4 -0
- package/es/VarietyAiHelper.js +270 -0
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +13 -12
- package/es/VarietySearch.cjs +10 -10
- package/es/VarietySearch.js +70 -68
- package/es/{VarietySelect-2fd501da.cjs → VarietySelect-5c845562.cjs} +1 -1
- package/es/{VarietySelect-b9fe3000.js → VarietySelect-9f267958.js} +4 -4
- package/es/VarietyTextCopy.cjs +1 -1
- package/es/VarietyTextCopy.js +24 -22
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +70 -70
- package/es/{_initCloneObject-3823a101.cjs → _initCloneObject-2b82e9f7.cjs} +1 -1
- package/es/{_initCloneObject-382335b2.js → _initCloneObject-69c8ae23.js} +7 -7
- package/es/aiTools.js +36 -0
- package/es/{base-ff0e366f.js → base-29f73b05.js} +40 -40
- package/es/{castArray-15070be9.js → castArray-609a313e.js} +1 -1
- package/es/{config-provider-2182708a.cjs → config-provider-2ae47cc8.cjs} +1 -1
- package/es/{config-provider-2e85eee8.js → config-provider-7860903c.js} +6 -6
- package/es/{debounce-e9e47f9a.js → debounce-a09ce9a3.js} +1 -1
- package/es/{dropdown-2b35a683.js → dropdown-497442b7.js} +30 -29
- package/es/dropdown-eba9eaf5.cjs +1 -0
- package/es/{el-autocomplete-18be2c5a.js → el-autocomplete-27c60cc8.js} +24 -23
- package/es/el-autocomplete-b59eb529.cjs +1 -0
- package/es/{el-button-68baab7b.cjs → el-button-974ff9e9.cjs} +1 -1
- package/es/{el-button-f08c0639.js → el-button-e2c63c08.js} +39 -39
- package/es/el-checkbox-08185353.cjs +1 -0
- package/es/{el-checkbox-058dba2d.js → el-checkbox-71ebd862.js} +31 -31
- package/es/el-dialog-1b185570.cjs +1 -0
- package/es/{el-dialog-d328e0d8.js → el-dialog-eedcfd3e.js} +15 -15
- package/es/{el-divider-4fe55ebe.js → el-divider-523e5874.js} +1 -1
- package/es/{el-empty-ceecb81c.js → el-empty-f5a1607a.js} +5 -5
- package/es/{el-form-item-cb328886.js → el-form-item-bdcfd297.js} +36 -36
- package/es/{el-form-item-4076e55f.cjs → el-form-item-c997b4fa.cjs} +1 -1
- package/es/{el-input-0f6ead19.js → el-input-d47281da.js} +91 -91
- package/es/el-input-fa18ef84.cjs +1 -0
- package/es/el-input-number-3d94fa58.cjs +1 -0
- package/es/{el-input-number-66e68609.js → el-input-number-c8018cb1.js} +28 -28
- package/es/{el-loading-412370c7.js → el-loading-0cd81d05.js} +5 -5
- package/es/{el-loading-05826e64.cjs → el-loading-969a79ca.cjs} +1 -1
- package/es/el-menu-item-26071fd6.cjs +1 -0
- package/es/{el-menu-item-0ee8ad18.js → el-menu-item-dac65bb3.js} +31 -30
- package/es/el-message-0ea8fbf8.cjs +1 -0
- package/es/el-message-4ed993c7.js +1 -0
- package/es/el-message-box-31e0aa98.cjs +1 -0
- package/es/{el-message-box-6db52b29.js → el-message-box-fea4fca8.js} +11 -11
- package/es/{el-overlay-981f8d49.js → el-overlay-1ee0338d.js} +63 -63
- package/es/el-overlay-ea65cb05.cjs +1 -0
- package/es/{el-popconfirm-005013fa.js → el-popconfirm-089b8bec.js} +17 -16
- package/es/el-popconfirm-9e232436.cjs +1 -0
- package/es/el-popper-2d3914e4.cjs +1 -0
- package/es/el-popper-c9b3d3cf.js +1662 -0
- package/es/el-segmented-140ac042.cjs +1 -0
- package/es/{el-segmented-050d0090.js → el-segmented-9d3a9e11.js} +8 -8
- package/es/el-select-a11f33e8.cjs +1 -0
- package/es/{el-select-23a1f302.js → el-select-e51e11c1.js} +92 -91
- package/es/{el-table-column-d0c374cf.js → el-table-column-05d292a8.js} +25 -24
- package/es/el-table-column-98570a4d.cjs +14 -0
- package/es/{el-tag-f13f463b.js → el-tag-17cd04a1.js} +14 -14
- package/es/el-tag-6d8e653e.cjs +1 -0
- package/es/{el-text-27cef2be.js → el-text-2710fff3.js} +2 -2
- package/es/{el-text-1470de46.cjs → el-text-a18106cb.cjs} +1 -1
- package/es/{index-09bd2621.js → index-0ee486ad.js} +43 -43
- package/es/index-0f79095c.js +440 -0
- package/es/{index-e0901394.js → index-1d9b50de.js} +34 -34
- package/es/index-28e03bad.cjs +1 -0
- package/es/{index-269b22da.cjs → index-299ee017.cjs} +1 -1
- package/es/{index-cebc7160.cjs → index-33f80550.cjs} +1 -1
- package/es/{index-4f48940d.cjs → index-37b8d3c6.cjs} +1 -1
- package/es/{index-2375023e.cjs → index-5befc414.cjs} +4 -4
- package/es/{index-696b6a94.cjs → index-6b99def3.cjs} +1 -1
- package/es/index-6ca95c8a.cjs +1 -0
- package/es/index-7dce9f59.cjs +1 -0
- package/es/{index-269b8a8c.js → index-8391a3df.js} +37 -37
- package/es/{index-c266c23a.js → index-8f9d0d17.js} +16 -15
- package/es/{index-15b9603e.js → index-95e5d454.js} +3 -3
- package/es/{index-b937ea22.js → index-b0117ba2.js} +2 -2
- package/es/{index-80a7ad32.js → index-bcd895a0.js} +17 -17
- package/es/{index-ec7ad93f.js → index-c2b9bbfd.js} +95 -65
- package/es/{index-4a3f30c5.js → index-c71e37dc.js} +11 -11
- package/es/{index-93a8960e.js → index-de24705f.js} +1 -1
- package/es/index-e8eeea22.cjs +1 -0
- package/es/{index-ee977f79.cjs → index-eb99b188.cjs} +1 -1
- package/es/{el-message-e6c755df.js → index-f30561d3.js} +33 -33
- package/es/{python-c67c8901.cjs → python-27ece6fa.cjs} +2 -2
- package/es/{python-823b276b.js → python-656db04f.js} +30 -28
- package/es/raf-744cf95a.js +6 -0
- package/es/{scroll-41b4f625.js → scroll-6799bafc.js} +5 -5
- package/es/style.css +1 -1
- package/es/{use-form-common-props-631cacae.js → use-form-common-props-cb0ca65c.js} +72 -72
- package/es/{use-form-common-props-344056f9.cjs → use-form-common-props-d3ed62c6.cjs} +1 -1
- package/es/{use-global-config-cf78ebac.cjs → use-global-config-c80f33a4.cjs} +1 -1
- package/es/{use-global-config-5d001623.js → use-global-config-cdaeca54.js} +14 -14
- package/es/{validator-3cad04b2.cjs → validator-07160325.cjs} +1 -1
- package/es/{validator-4160d9e7.js → validator-4ab9774f.js} +1 -1
- package/es/{vnode-06571d5b.js → vnode-a83e6de8.js} +1 -1
- package/es/{zh-cn-aabfaa94.cjs → zh-cn-6a0f844c.cjs} +1 -1
- package/es/{zh-cn-5df98ac2.js → zh-cn-8a6390a4.js} +2 -2
- package/lib/aiTools.js +36 -0
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +157 -154
- package/lib/{index-f00d1e1f.js → index-6ac0579e.js} +16077 -15806
- package/lib/{python-0f34e2e6.js → python-0432340a.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietyAiHelper/index.ts +8 -0
- package/packages/VarietyAiHelper/index.vue +430 -0
- package/packages/index.ts +2 -0
- package/public/aiTools.js +36 -0
- package/src/App.vue +24 -14
- package/src/pages/VarietyAiHelper/index.vue +20 -0
- package/src/pages/VarietySearch/index.vue +75 -51
- package/src/router/routes.ts +5 -0
- package/es/dropdown-89b74bc9.cjs +0 -1
- package/es/el-autocomplete-b9a3054a.cjs +0 -1
- package/es/el-checkbox-b982e2ef.cjs +0 -1
- package/es/el-dialog-ad7309e9.cjs +0 -1
- package/es/el-input-172c49f8.cjs +0 -1
- package/es/el-input-number-c2e71528.cjs +0 -1
- package/es/el-menu-item-7f986598.cjs +0 -1
- package/es/el-message-a86c0efa.cjs +0 -1
- package/es/el-message-box-40ff2af5.cjs +0 -1
- package/es/el-overlay-d7a6e4a9.cjs +0 -1
- package/es/el-popconfirm-737a015b.cjs +0 -1
- package/es/el-popper-7ba87e05.cjs +0 -1
- package/es/el-popper-fdc7c793.js +0 -2094
- package/es/el-segmented-3fd66a0e.cjs +0 -1
- package/es/el-select-12f6deb7.cjs +0 -1
- package/es/el-table-column-516a0ed9.cjs +0 -14
- package/es/el-tag-789f05d3.cjs +0 -1
- package/es/index-8de94a49.cjs +0 -1
- package/es/index-c04f444f.cjs +0 -1
- package/es/raf-8e05a7f4.js +0 -6
package/es/VarietySearch.js
CHANGED
|
@@ -1,51 +1,53 @@
|
|
|
1
|
-
import { b as qu,
|
|
2
|
-
import "./el-tag-
|
|
3
|
-
import { E as _e, a as xe } from "./el-select-
|
|
1
|
+
import { b as qu, c as lt, p as Be, o as ot, k as it, u as Wu, _ as Qu, e as ze, w as It, l as Ze, f as ct, i as I0 } from "./base-29f73b05.js";
|
|
2
|
+
import "./el-tag-17cd04a1.js";
|
|
3
|
+
import { E as _e, a as xe } from "./el-select-e51e11c1.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
|
-
import {
|
|
6
|
-
import { E as Ot, a as
|
|
5
|
+
import { E as O0 } from "./el-popper-c9b3d3cf.js";
|
|
6
|
+
import { E as Ot, a as $0 } from "./el-checkbox-71ebd862.js";
|
|
7
7
|
import "./el-checkbox-group-4ed993c7.js";
|
|
8
|
-
import { ref as W, inject as Bu, computed as au, defineComponent as yu, openBlock as k, createElementBlock as $, normalizeClass as iu, unref as A, createElementVNode as D, withDirectives as Nu, isRef as $t, withModifiers as fe, vModelRadio as Vt, renderSlot as ju, createTextVNode as B, toDisplayString as tu, nextTick as Vu, normalizeStyle as Mt, onMounted as
|
|
9
|
-
import { E as
|
|
10
|
-
import { E as Yu } from "./el-dialog-
|
|
11
|
-
import "./el-overlay-
|
|
12
|
-
import {
|
|
13
|
-
import { E as
|
|
14
|
-
import { E as Lt } from "./el-input-number-
|
|
8
|
+
import { ref as W, inject as Bu, computed as au, defineComponent as yu, openBlock as k, createElementBlock as $, normalizeClass as iu, unref as A, createElementVNode as D, withDirectives as Nu, isRef as $t, withModifiers as fe, vModelRadio as Vt, renderSlot as ju, createTextVNode as B, toDisplayString as tu, nextTick as Vu, normalizeStyle as Mt, onMounted as He, provide as Rt, reactive as qt, toRefs as V0, watch as ku, Fragment as U, renderList as Y, createBlock as j, mergeProps as Le, createCommentVNode as H, toRef as M0, createVNode as _, normalizeProps as R0, mergeModels as Su, useModel as zu, withCtx as x, resolveComponent as ie, vShow as Pe, pushScopeId as ge, popScopeId as ve, createSlots as Se } from "vue";
|
|
9
|
+
import { E as q0 } from "./el-empty-f5a1607a.js";
|
|
10
|
+
import { E as Yu } from "./el-dialog-eedcfd3e.js";
|
|
11
|
+
import "./el-overlay-1ee0338d.js";
|
|
12
|
+
import { a as Bt, E as zt } from "./el-form-item-bdcfd297.js";
|
|
13
|
+
import { E as Ge } from "./el-input-d47281da.js";
|
|
14
|
+
import { E as Lt } from "./el-input-number-c8018cb1.js";
|
|
15
15
|
import "./el-tooltip-4ed993c7.js";
|
|
16
|
-
import { E as ke } from "./el-button-
|
|
16
|
+
import { E as ke } from "./el-button-e2c63c08.js";
|
|
17
17
|
import "./el-popover-4ed993c7.js";
|
|
18
|
-
import { E as
|
|
19
|
-
import {
|
|
20
|
-
import { E as
|
|
21
|
-
import { E as Ut } from "./index-
|
|
22
|
-
import { M as
|
|
23
|
-
import
|
|
24
|
-
import { E as Nt } from "./el-message-box-
|
|
18
|
+
import { E as B0 } from "./el-text-2710fff3.js";
|
|
19
|
+
import { t as z0, v as Uu, i as L0, b as P0, c as de, w as U0, E as Pt, e as N0, a as j0 } from "./index-c2b9bbfd.js";
|
|
20
|
+
import { E as Z0, a as H0 } from "./el-table-column-05d292a8.js";
|
|
21
|
+
import { E as Ut } from "./index-1d9b50de.js";
|
|
22
|
+
import { M as G0 } from "./index-8f9d0d17.js";
|
|
23
|
+
import "./el-message-4ed993c7.js";
|
|
24
|
+
import { E as Nt } from "./el-message-box-fea4fca8.js";
|
|
25
25
|
import { _ as Ku } from "./_plugin-vue_export-helper-dad06003.js";
|
|
26
|
-
import { E as
|
|
27
|
-
import { E as
|
|
28
|
-
import {
|
|
26
|
+
import { E as Q } from "./index-f30561d3.js";
|
|
27
|
+
import { E as ye } from "./index-95e5d454.js";
|
|
28
|
+
import { E as J0 } from "./index-bcd895a0.js";
|
|
29
|
+
import { h as jt, e as W0, g as Q0, d as Y0, f as K0 } from "./use-form-common-props-cb0ca65c.js";
|
|
30
|
+
import { U as Je, C as We, u as X0, d as un } from "./index-0f79095c.js";
|
|
29
31
|
import { u as en } from "./index-2e331d74.js";
|
|
30
|
-
import { u as tn } from "./index-
|
|
31
|
-
import {
|
|
32
|
-
import "./index-
|
|
33
|
-
import "./castArray-
|
|
34
|
-
import "./index-
|
|
35
|
-
import "./scroll-
|
|
36
|
-
import "./debounce-
|
|
37
|
-
import "./vnode-
|
|
38
|
-
import "./use-global-config-
|
|
39
|
-
import "./_initCloneObject-
|
|
32
|
+
import { u as tn } from "./index-8391a3df.js";
|
|
33
|
+
import { i as nn } from "./index-0ee486ad.js";
|
|
34
|
+
import "./index-de24705f.js";
|
|
35
|
+
import "./castArray-609a313e.js";
|
|
36
|
+
import "./index-c71e37dc.js";
|
|
37
|
+
import "./scroll-6799bafc.js";
|
|
38
|
+
import "./debounce-a09ce9a3.js";
|
|
39
|
+
import "./vnode-a83e6de8.js";
|
|
40
|
+
import "./use-global-config-cdaeca54.js";
|
|
41
|
+
import "./_initCloneObject-69c8ae23.js";
|
|
40
42
|
import "./typescript-7ae59c4c.js";
|
|
41
43
|
import "./index-657047bb.js";
|
|
42
|
-
import "./raf-
|
|
44
|
+
import "./raf-744cf95a.js";
|
|
43
45
|
import "./index-7ed0999e.js";
|
|
44
|
-
import "./VarietySelect-
|
|
45
|
-
import "./el-autocomplete-
|
|
46
|
-
import "./
|
|
47
|
-
import "./
|
|
48
|
-
import "./dropdown-
|
|
46
|
+
import "./VarietySelect-9f267958.js";
|
|
47
|
+
import "./el-autocomplete-27c60cc8.js";
|
|
48
|
+
import "./validator-4ab9774f.js";
|
|
49
|
+
import "./config-provider-7860903c.js";
|
|
50
|
+
import "./dropdown-497442b7.js";
|
|
49
51
|
const Zt = qu({
|
|
50
52
|
modelValue: {
|
|
51
53
|
type: [String, Number, Boolean],
|
|
@@ -69,17 +71,17 @@ const Zt = qu({
|
|
|
69
71
|
...Zt,
|
|
70
72
|
border: Boolean
|
|
71
73
|
}), Ht = {
|
|
72
|
-
[
|
|
73
|
-
[
|
|
74
|
+
[Je]: (u) => lt(u) || Be(u) || ot(u),
|
|
75
|
+
[We]: (u) => lt(u) || Be(u) || ot(u)
|
|
74
76
|
}, Gt = Symbol("radioGroupKey"), Jt = (u, e) => {
|
|
75
77
|
const t = W(), a = Bu(Gt, void 0), r = au(() => !!a), n = au(() => it(u.value) ? u.label : u.value), l = au({
|
|
76
78
|
get() {
|
|
77
79
|
return r.value ? a.modelValue : u.modelValue;
|
|
78
80
|
},
|
|
79
81
|
set(f) {
|
|
80
|
-
r.value ? a.changeEvent(f) : e && e(
|
|
82
|
+
r.value ? a.changeEvent(f) : e && e(Je, f), t.value.checked = u.modelValue === n.value;
|
|
81
83
|
}
|
|
82
|
-
}), o =
|
|
84
|
+
}), o = W0(au(() => a == null ? void 0 : a.size)), i = Q0(au(() => a == null ? void 0 : a.disabled)), s = W(!1), c = au(() => i.value || r.value && l.value !== n.value ? -1 : 0);
|
|
83
85
|
return en({
|
|
84
86
|
from: "label act as value",
|
|
85
87
|
replacement: "value",
|
|
@@ -106,7 +108,7 @@ const Zt = qu({
|
|
|
106
108
|
setup(u, { emit: e }) {
|
|
107
109
|
const t = u, a = Wu("radio"), { radioRef: r, radioGroup: n, focus: l, size: o, disabled: i, modelValue: s, actualValue: c } = Jt(t, e);
|
|
108
110
|
function f() {
|
|
109
|
-
Vu(() => e(
|
|
111
|
+
Vu(() => e(We, s.value));
|
|
110
112
|
}
|
|
111
113
|
return (m, d) => {
|
|
112
114
|
var p;
|
|
@@ -253,7 +255,7 @@ const dn = qu({
|
|
|
253
255
|
type: ze(Object),
|
|
254
256
|
default: () => Yt
|
|
255
257
|
},
|
|
256
|
-
...
|
|
258
|
+
...X0(["ariaLabel"])
|
|
257
259
|
}), fn = Ht, Yt = {
|
|
258
260
|
label: "label",
|
|
259
261
|
value: "value",
|
|
@@ -265,12 +267,12 @@ const dn = qu({
|
|
|
265
267
|
props: dn,
|
|
266
268
|
emits: fn,
|
|
267
269
|
setup(u, { emit: e }) {
|
|
268
|
-
const t = u, a = Wu("radio"), r = tn(), n = W(), { formItem: l } =
|
|
270
|
+
const t = u, a = Wu("radio"), r = tn(), n = W(), { formItem: l } = Y0(), { inputId: o, isLabeledByFormItem: i } = K0(t, {
|
|
269
271
|
formItemContext: l
|
|
270
272
|
}), s = (d) => {
|
|
271
|
-
e(
|
|
273
|
+
e(Je, d), Vu(() => e(We, d));
|
|
272
274
|
};
|
|
273
|
-
|
|
275
|
+
He(() => {
|
|
274
276
|
const d = n.value.querySelectorAll("[type=radio]"), p = d[0];
|
|
275
277
|
!Array.from(d).some((T) => T.checked) && p && (p.tabIndex = 0);
|
|
276
278
|
});
|
|
@@ -286,11 +288,11 @@ const dn = qu({
|
|
|
286
288
|
return { ...d, ...p };
|
|
287
289
|
};
|
|
288
290
|
return Rt(Gt, qt({
|
|
289
|
-
...
|
|
291
|
+
...V0(t),
|
|
290
292
|
changeEvent: s,
|
|
291
293
|
name: c
|
|
292
294
|
})), ku(() => t.modelValue, (d, p) => {
|
|
293
|
-
t.validateEvent && !nn(d, p) && (l == null || l.validate("change").catch((T) =>
|
|
295
|
+
t.validateEvent && !nn(d, p) && (l == null || l.validate("change").catch((T) => un()));
|
|
294
296
|
}), (d, p) => (k(), $("div", {
|
|
295
297
|
id: A(o),
|
|
296
298
|
ref_key: "radioGroupRef",
|
|
@@ -353,7 +355,7 @@ const Ce = It(Wt, {
|
|
|
353
355
|
return (t, a) => (k(), $("div", {
|
|
354
356
|
class: iu([A(e).e("item"), A(e).e(t.variant)])
|
|
355
357
|
}, [
|
|
356
|
-
t.variant === "image" ? (k(), j(A(
|
|
358
|
+
t.variant === "image" ? (k(), j(A(z0), { key: 0 })) : H("v-if", !0)
|
|
357
359
|
], 2));
|
|
358
360
|
}
|
|
359
361
|
});
|
|
@@ -374,7 +376,7 @@ const gn = (u, e = 0) => {
|
|
|
374
376
|
}, l = (o) => {
|
|
375
377
|
o === "leading" ? Be(e) ? n(e) : n(e.leading) : ct(e) ? n(e.trailing) : a.value = !1;
|
|
376
378
|
};
|
|
377
|
-
return
|
|
379
|
+
return He(() => l("leading")), ku(() => u.value, (o) => {
|
|
378
380
|
l(o ? "leading" : "trailing");
|
|
379
381
|
}), a;
|
|
380
382
|
}, vn = yu({
|
|
@@ -383,7 +385,7 @@ const gn = (u, e = 0) => {
|
|
|
383
385
|
...vn,
|
|
384
386
|
props: hn,
|
|
385
387
|
setup(u, { expose: e }) {
|
|
386
|
-
const t = u, a = Wu("skeleton"), r = gn(
|
|
388
|
+
const t = u, a = Wu("skeleton"), r = gn(M0(t, "loading"), t.throttle);
|
|
387
389
|
return e({
|
|
388
390
|
uiLoading: r
|
|
389
391
|
}), (n, l) => A(r) ? (k(), $("div", Le({
|
|
@@ -406,7 +408,7 @@ const gn = (u, e = 0) => {
|
|
|
406
408
|
}, null, 8, ["class"]))), 128))
|
|
407
409
|
]) : H("v-if", !0)
|
|
408
410
|
], 64))), 128))
|
|
409
|
-
], 16)) : ju(n.$slots, "default",
|
|
411
|
+
], 16)) : ju(n.$slots, "default", R0(Le({ key: 1 }, n.$attrs)));
|
|
410
412
|
}
|
|
411
413
|
});
|
|
412
414
|
var yn = /* @__PURE__ */ Qu(kn, [["__file", "skeleton.vue"]]);
|
|
@@ -4202,11 +4204,11 @@ const fl = ["innerHTML"], pl = {
|
|
|
4202
4204
|
emits: ["update:visible"],
|
|
4203
4205
|
setup(u) {
|
|
4204
4206
|
const { request: e } = Bu("stConfig"), t = new mu(), a = W(""), r = zu(u, "visible");
|
|
4205
|
-
return
|
|
4207
|
+
return He(async () => {
|
|
4206
4208
|
const { data: n } = await e.post("/middleLayer/special/getOss", { url: "resource/factor_select.md" }), l = new Uint8Array(n.data), i = new TextDecoder("utf-8").decode(l);
|
|
4207
4209
|
a.value = t.render(i);
|
|
4208
4210
|
}), (n, l) => {
|
|
4209
|
-
const o =
|
|
4211
|
+
const o = Z0, i = H0, s = Ut, c = Yu;
|
|
4210
4212
|
return k(), j(c, {
|
|
4211
4213
|
modelValue: r.value,
|
|
4212
4214
|
"onUpdate:modelValue": l[0] || (l[0] = (f) => r.value = f),
|
|
@@ -4553,7 +4555,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
|
|
|
4553
4555
|
{ deep: !0 }
|
|
4554
4556
|
), (L, w) => {
|
|
4555
4557
|
var rt;
|
|
4556
|
-
const G =
|
|
4558
|
+
const G = B0, Z = ye, K = J0, z = ke, J = Pt, nu = O0, Du = Qe, hu = Xu, xu = ie("st-customFunction"), fu = _e, pu = xe, cu = Bt, ae = Lt, re = Ce, le = Ge, D0 = zt, oe = Ut, Te = Yu, F0 = ie("st-varietyAutoComplete"), A0 = ie("v-md-editor"), w0 = Cn, T0 = q0, S0 = ie("st-varSelectDialog");
|
|
4557
4559
|
return k(), $(U, null, [
|
|
4558
4560
|
D("div", bl, [
|
|
4559
4561
|
D("div", null, [
|
|
@@ -4654,7 +4656,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
|
|
|
4654
4656
|
onClick: w[2] || (w[2] = (R) => s.value = !0)
|
|
4655
4657
|
}, {
|
|
4656
4658
|
default: x(() => [
|
|
4657
|
-
_(A(
|
|
4659
|
+
_(A(L0))
|
|
4658
4660
|
]),
|
|
4659
4661
|
_: 1
|
|
4660
4662
|
})
|
|
@@ -4710,7 +4712,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
|
|
|
4710
4712
|
}, 8, ["loading"]),
|
|
4711
4713
|
_(z, {
|
|
4712
4714
|
size: "small",
|
|
4713
|
-
icon: A(
|
|
4715
|
+
icon: A(P0),
|
|
4714
4716
|
onClick: w[6] || (w[6] = (R) => uu("log"))
|
|
4715
4717
|
}, {
|
|
4716
4718
|
default: x(() => [
|
|
@@ -4984,7 +4986,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
|
|
|
4984
4986
|
onClick: (R) => h(ou)
|
|
4985
4987
|
}, {
|
|
4986
4988
|
default: x(() => [
|
|
4987
|
-
_(A(
|
|
4989
|
+
_(A(U0))
|
|
4988
4990
|
]),
|
|
4989
4991
|
_: 2
|
|
4990
4992
|
}, 1032, ["onClick"])
|
|
@@ -5069,7 +5071,7 @@ const E0 = (u) => (ge("data-v-b6323311"), u = u(), ve(), u), bl = { class: "fact
|
|
|
5069
5071
|
D("div", {
|
|
5070
5072
|
style: Mt([{ width: "968px", height: "400px" }, c.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1, visibility: "hidden", pointerEvents: "none" }])
|
|
5071
5073
|
}, [
|
|
5072
|
-
_(
|
|
5074
|
+
_(G0, {
|
|
5073
5075
|
ref_key: "monacoEditorRef",
|
|
5074
5076
|
ref: l,
|
|
5075
5077
|
language: "lua",
|
|
@@ -5546,7 +5548,7 @@ const we = (u) => (ge("data-v-6a791396"), u = u(), ve(), u), Ll = {
|
|
|
5546
5548
|
c.value.radio = null, c.value.rankRange = [null, null];
|
|
5547
5549
|
};
|
|
5548
5550
|
return (y, b) => {
|
|
5549
|
-
const O = ye, C = Qe, h = Xu, v =
|
|
5551
|
+
const O = ye, C = Qe, h = Xu, v = Ge, F = ke, V = _e, S = xe, P = Ce, N = Lt, su = Yu;
|
|
5550
5552
|
return u.config.show && i.value.length ? (k(), $("div", Ll, [
|
|
5551
5553
|
D("div", Pl, [
|
|
5552
5554
|
D("div", Ul, [
|
|
@@ -6320,7 +6322,7 @@ const Oo = { class: "tag-list" }, $o = { class: "tab-list-item" }, Vo = { style:
|
|
|
6320
6322
|
};
|
|
6321
6323
|
}, {});
|
|
6322
6324
|
})(), (h, v) => {
|
|
6323
|
-
const F = ye, V = ke, S = Qe, P = Xu, N =
|
|
6325
|
+
const F = ye, V = ke, S = Qe, P = Xu, N = Ge, su = Ot, E = Yu;
|
|
6324
6326
|
return k(), $(U, null, [
|
|
6325
6327
|
D("div", null, [
|
|
6326
6328
|
(k(!0), $(U, null, Y(d.value, (g, uu) => (k(), j(F, {
|
|
@@ -6417,13 +6419,13 @@ const Oo = { class: "tag-list" }, $o = { class: "tab-list-item" }, Vo = { style:
|
|
|
6417
6419
|
n.value === "person" ? (k(), j(V, {
|
|
6418
6420
|
key: 0,
|
|
6419
6421
|
size: "small",
|
|
6420
|
-
icon: A(
|
|
6422
|
+
icon: A(N0),
|
|
6421
6423
|
onClick: (uu) => y(g)
|
|
6422
6424
|
}, null, 8, ["icon", "onClick"])) : H("", !0),
|
|
6423
6425
|
n.value === "person" ? (k(), j(V, {
|
|
6424
6426
|
key: 1,
|
|
6425
6427
|
size: "small",
|
|
6426
|
-
icon: A(
|
|
6428
|
+
icon: A(j0),
|
|
6427
6429
|
onClick: (uu) => M(g)
|
|
6428
6430
|
}, null, 8, ["icon", "onClick"])) : H("", !0)
|
|
6429
6431
|
])
|
|
@@ -6811,7 +6813,7 @@ const Pu = (u) => (ge("data-v-22fde7d8"), u = u(), ve(), u), Po = { class: "vari
|
|
|
6811
6813
|
}
|
|
6812
6814
|
}), (m, d) => {
|
|
6813
6815
|
var O, C, h, v, F, V;
|
|
6814
|
-
const p = Ce, T = Xu, I = Ot, M =
|
|
6816
|
+
const p = Ce, T = Xu, I = Ot, M = $0, y = _e, b = xe;
|
|
6815
6817
|
return k(), $("div", Po, [
|
|
6816
6818
|
(O = l.value.varietyMarket) != null && O.show ? (k(), $("div", Uo, [
|
|
6817
6819
|
D("div", No, [
|
|
@@ -6973,11 +6975,11 @@ const Pu = (u) => (ge("data-v-22fde7d8"), u = u(), ve(), u), Po = { class: "vari
|
|
|
6973
6975
|
]);
|
|
6974
6976
|
};
|
|
6975
6977
|
}
|
|
6976
|
-
}, oi = /* @__PURE__ */ Ku(li, [["__scopeId", "data-v-22fde7d8"]]),
|
|
6978
|
+
}, oi = /* @__PURE__ */ Ku(li, [["__scopeId", "data-v-22fde7d8"]]), ac = {
|
|
6977
6979
|
install(u) {
|
|
6978
6980
|
u.component("st-varietySearch", oi);
|
|
6979
6981
|
}
|
|
6980
6982
|
};
|
|
6981
6983
|
export {
|
|
6982
|
-
|
|
6984
|
+
ac as default
|
|
6983
6985
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("./base-ef747d02.cjs");const y=require("./el-autocomplete-
|
|
1
|
+
"use strict";require("./base-ef747d02.cjs");const y=require("./el-autocomplete-b59eb529.cjs");require("./el-input-fa18ef84.cjs");require("./el-scrollbar-bc3f790d.cjs");require("./el-popper-2d3914e4.cjs");const e=require("vue"),f=require("./index-8901a38c.cjs"),S=require("./_plugin-vue_export-helper-f246444f.cjs");const V={class:"variety-auto-complete"},b={key:0},q={class:"label"},x={__name:"VarietySelect",props:{size:{type:String,default:"default"},placeholder:{type:String,default:"请输入品种名称或代码"},labelShowEnable:{type:Boolean,default:!0},selectClearEnable:{type:Boolean,default:!0}},emits:["select","change"],setup(s,{emit:u}){const d=e.inject("stConfig"),r=u,n=s,c=e.ref(""),p=async(t,l)=>{if(t===""||t==="null")l([]);else{const a={keyWord:t,pageNum:1,pageSize:999,userId:f.V("id"),hotSearchFlag:1},{body:o}=await d.request.post("/common/qt/getFeatureInfosByPage",a),g=o.list.map(({code:i,featureName:h})=>({label:`${i} ${h}`,value:i}));l(g)}},_=({label:t,value:l})=>{const a=t.split(" ").at(-1);r("select",{name:a,code:l}),n.selectClearEnable&&(c.value="")},m=t=>{r("change",t)};return(t,l)=>{const a=y.ElAutocomplete;return e.openBlock(),e.createElementBlock("div",V,[s.labelShowEnable?(e.openBlock(),e.createElementBlock("span",b,"品种搜索:")):e.createCommentVNode("",!0),e.createVNode(a,{modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=o=>c.value=o),clearable:"",size:n.size,placeholder:n.placeholder,"fetch-suggestions":p,onSelect:_,onChange:m},{default:e.withCtx(({item:o})=>[e.createElementVNode("div",q,e.toDisplayString(o.label),1)]),_:1},8,["modelValue","size","placeholder"])])}}},v=S._export_sfc(x,[["__scopeId","data-v-d433c4b8"]]);exports.VarietySelect=v;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./base-
|
|
2
|
-
import { E as y } from "./el-autocomplete-
|
|
3
|
-
import "./el-input-
|
|
1
|
+
import "./base-29f73b05.js";
|
|
2
|
+
import { E as y } from "./el-autocomplete-27c60cc8.js";
|
|
3
|
+
import "./el-input-d47281da.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
|
-
import "./el-popper-
|
|
5
|
+
import "./el-popper-c9b3d3cf.js";
|
|
6
6
|
import { inject as S, ref as b, openBlock as i, createElementBlock as p, createCommentVNode as V, createVNode as x, withCtx as v, createElementVNode as C, toDisplayString as E } from "vue";
|
|
7
7
|
import { V as z } from "./index-7ed0999e.js";
|
|
8
8
|
import { _ as B } from "./_plugin-vue_export-helper-dad06003.js";
|
package/es/VarietyTextCopy.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";require("./base-ef747d02.cjs");const v=require("./el-input-
|
|
1
|
+
"use strict";require("./base-ef747d02.cjs");const v=require("./el-input-fa18ef84.cjs");require("./el-tooltip-0ea8fbf8.cjs");const q=require("./el-popper-2d3914e4.cjs"),e=require("vue"),i=require("./index-33f80550.cjs");require("./el-message-0ea8fbf8.cjs");const V=require("./_plugin-vue_export-helper-f246444f.cjs"),f=require("./index-6ca95c8a.cjs");require("./use-form-common-props-d3ed62c6.cjs");require("./index-9780a537.cjs");require("./typescript-b63f8e83.cjs");require("./index-28e03bad.cjs");require("./index-7dce9f59.cjs");require("./use-global-config-c80f33a4.cjs");require("./index-bb833443.cjs");require("./index-37b8d3c6.cjs");require("./config-provider-2ae47cc8.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
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 f.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 纸浆期货指数
|
package/es/VarietyTextCopy.js
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
import "./base-
|
|
2
|
-
import { E as y } from "./el-input-
|
|
1
|
+
import "./base-29f73b05.js";
|
|
2
|
+
import { E as y } from "./el-input-d47281da.js";
|
|
3
3
|
import "./el-tooltip-4ed993c7.js";
|
|
4
|
-
import { E as h } from "./el-popper-
|
|
4
|
+
import { E as h } from "./el-popper-c9b3d3cf.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
|
-
import { i as q, E as B } from "./index-
|
|
6
|
+
import { i as q, E as B } from "./index-c2b9bbfd.js";
|
|
7
|
+
import "./el-message-4ed993c7.js";
|
|
7
8
|
import { _ as N } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
|
-
import { E as k } from "./
|
|
9
|
-
import "./use-form-common-props-
|
|
10
|
-
import "./index-
|
|
9
|
+
import { E as k } from "./index-f30561d3.js";
|
|
10
|
+
import "./use-form-common-props-cb0ca65c.js";
|
|
11
|
+
import "./index-8391a3df.js";
|
|
11
12
|
import "./typescript-7ae59c4c.js";
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./
|
|
13
|
+
import "./index-0f79095c.js";
|
|
14
|
+
import "./index-c71e37dc.js";
|
|
15
|
+
import "./use-global-config-cdaeca54.js";
|
|
16
|
+
import "./index-de24705f.js";
|
|
17
|
+
import "./index-0ee486ad.js";
|
|
18
|
+
import "./config-provider-7860903c.js";
|
|
17
19
|
const p = (t) => (w("data-v-445e2903"), t = t(), T(), t), j = { class: "variety-text-copy" }, z = { class: "stats-container" }, D = { class: "stat-item" }, F = /* @__PURE__ */ p(() => /* @__PURE__ */ n("span", { class: "label" }, "品种数量统计:", -1)), M = { class: "value" }, P = /* @__PURE__ */ p(() => /* @__PURE__ */ n("br", null, null, -1)), U = /* @__PURE__ */ p(() => /* @__PURE__ */ n("br", null, null, -1)), A = {
|
|
18
20
|
__name: "index",
|
|
19
21
|
props: {
|
|
20
22
|
required: { type: Boolean, default: !0 }
|
|
21
23
|
},
|
|
22
24
|
setup(t, { expose: d }) {
|
|
23
|
-
const _ = g("stConfig"), m = t, o = E(""), f = C(() => u(o.value).length), u = (
|
|
24
|
-
`).reduce((
|
|
25
|
+
const _ = g("stConfig"), m = t, o = E(""), f = C(() => u(o.value).length), u = (r) => r ? r.split(`
|
|
26
|
+
`).reduce((s, a) => {
|
|
25
27
|
const e = a.trim().replace(/\s+/gi, " ").split(" ")[0];
|
|
26
|
-
return e &&
|
|
28
|
+
return e && s.push(e), s;
|
|
27
29
|
}, []) : [];
|
|
28
|
-
return d({ validate: (
|
|
30
|
+
return d({ validate: (r) => new Promise(async (s, a) => {
|
|
29
31
|
try {
|
|
30
32
|
if (m.required && (!o.value || o.value.trim() === ""))
|
|
31
|
-
return k.error("品种内容不可为空"),
|
|
33
|
+
return k.error("品种内容不可为空"), r(!1);
|
|
32
34
|
const { body: e } = await _.request.post("/invest/analysis/strategy/verifyCodes", { codes: u(o.value) });
|
|
33
|
-
return
|
|
35
|
+
return r(!0, e);
|
|
34
36
|
} catch (e) {
|
|
35
37
|
return a(e);
|
|
36
38
|
}
|
|
37
|
-
}) }), (
|
|
39
|
+
}) }), (r, s) => {
|
|
38
40
|
const a = B, e = h, x = y;
|
|
39
41
|
return V(), I("div", j, [
|
|
40
42
|
n("div", z, [
|
|
@@ -68,7 +70,7 @@ const p = (t) => (w("data-v-445e2903"), t = t(), T(), t), j = { class: "variety-
|
|
|
68
70
|
i(x, {
|
|
69
71
|
class: "textarea",
|
|
70
72
|
modelValue: o.value,
|
|
71
|
-
"onUpdate:modelValue":
|
|
73
|
+
"onUpdate:modelValue": s[0] || (s[0] = (v) => o.value = v),
|
|
72
74
|
resize: "none",
|
|
73
75
|
type: "textarea",
|
|
74
76
|
placeholder: `文本格式要求示例:
|
|
@@ -79,11 +81,11 @@ bu8888 石油沥青期货指数`
|
|
|
79
81
|
]);
|
|
80
82
|
};
|
|
81
83
|
}
|
|
82
|
-
}, G = /* @__PURE__ */ N(A, [["__scopeId", "data-v-445e2903"]]),
|
|
84
|
+
}, G = /* @__PURE__ */ N(A, [["__scopeId", "data-v-445e2903"]]), ie = {
|
|
83
85
|
install(t) {
|
|
84
86
|
t.component("st-varietyTextCopy", G);
|
|
85
87
|
}
|
|
86
88
|
};
|
|
87
89
|
export {
|
|
88
|
-
|
|
90
|
+
ie as default
|
|
89
91
|
};
|