st-comp 0.0.207 → 0.0.208
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.cjs +1 -1
- package/es/ChartLayout.js +1 -74
- package/es/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +53 -56
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +45 -48
- package/es/HeatMap.cjs +1 -1
- package/es/HeatMap.js +1 -118
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +16 -19
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +81 -84
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +161 -164
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +15 -18
- package/es/KlinePlus.cjs +1 -1
- package/es/KlinePlus.js +18 -21
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +140 -143
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +2 -3
- package/es/Table.cjs +1 -1
- package/es/Table.js +55 -58
- package/es/User.cjs +1 -1
- package/es/User.js +85 -88
- package/es/VarSelectDialog.cjs +2 -2
- package/es/VarSelectDialog.js +53 -56
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +15 -17
- package/es/VarietySearch.cjs +10 -10
- package/es/VarietySearch.js +53 -56
- package/es/VarietyTextCopy.cjs +3 -3
- package/es/VarietyTextCopy.js +33 -36
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +103 -106
- package/es/{_initCloneObject-eaef9418.js → _initCloneObject-c477c74d.js} +25 -26
- package/es/_initCloneObject-e660897e.cjs +1 -0
- package/es/base-7ba08794.cjs +5 -0
- package/es/{index-a871c3eb.js → base-aa512893.js} +454 -171
- package/es/{castArray-7741a212.js → castArray-1eb17278.js} +1 -1
- package/es/castArray-efa457a5.cjs +1 -0
- package/es/{config-provider-a584d81e.cjs → config-provider-18c0a68a.cjs} +1 -1
- package/es/{config-provider-b16efd62.js → config-provider-49c17381.js} +6 -6
- package/es/{debounce-8d53f4dd.js → debounce-33406a0d.js} +9 -9
- package/es/debounce-4aa22feb.cjs +1 -0
- package/es/{dropdown-071c5d7e.cjs → dropdown-3f1fe325.cjs} +1 -1
- package/es/{dropdown-a59bba73.js → dropdown-6e7b1df0.js} +15 -15
- package/es/el-autocomplete-609ac86d.cjs +1 -0
- package/es/{el-autocomplete-ba808eb6.js → el-autocomplete-87b7f461.js} +51 -53
- package/es/el-button-08310c06.cjs +1 -0
- package/es/{el-button-c95adb85.js → el-button-56624e61.js} +45 -46
- package/es/{el-checkbox-c25236a6.cjs → el-checkbox-09f3b57f.cjs} +1 -1
- package/es/{el-checkbox-7421ccd3.js → el-checkbox-f13560e9.js} +40 -40
- package/es/{el-dialog-41ab8417.js → el-dialog-1d5f5877.js} +9 -10
- package/es/el-dialog-ea480083.cjs +1 -0
- package/es/{el-divider-4e059794.js → el-divider-1cda1783.js} +1 -1
- package/es/{el-divider-4713d74c.cjs → el-divider-8a4c87e3.cjs} +1 -1
- package/es/{el-empty-33cb66f1.js → el-empty-04682b5d.js} +3 -3
- package/es/el-empty-b40fa7ea.cjs +1 -0
- package/es/el-form-item-338ea2f7.cjs +12 -0
- package/es/{el-form-item-c53c374d.js → el-form-item-505c0b70.js} +75 -76
- package/es/{el-input-2f75c4ba.js → el-input-262851e8.js} +84 -85
- package/es/el-input-b04b5bfc.cjs +1 -0
- package/es/el-input-number-7242c8b5.cjs +1 -0
- package/es/{el-input-number-5193fe6d.js → el-input-number-fdac2b86.js} +82 -83
- package/es/{el-loading-cfd86c15.cjs → el-loading-3cf7b796.cjs} +1 -1
- package/es/{el-loading-f6022062.js → el-loading-7440dc64.js} +2 -2
- package/es/{el-menu-item-7e881203.js → el-menu-item-36c3004c.js} +53 -54
- package/es/el-menu-item-7aca344e.cjs +1 -0
- package/es/el-message-05cd85bf.cjs +1 -0
- package/es/{el-message-e544a8f5.js → el-message-416bd265.js} +28 -29
- package/es/{el-message-box-a93d2f6a.js → el-message-box-8f5e34ca.js} +20 -22
- package/es/el-message-box-b7e9917e.cjs +1 -0
- package/es/{el-overlay-09ad71cd.js → el-overlay-04426e36.js} +52 -53
- package/es/el-overlay-60bc5a02.cjs +1 -0
- package/es/el-popconfirm-24b622c5.cjs +1 -0
- package/es/{el-popconfirm-81dcd202.js → el-popconfirm-3790cda2.js} +38 -39
- package/es/el-popper-1dd8f5b4.cjs +1 -0
- package/es/{el-popper-b4f97157.js → el-popper-49152708.js} +191 -192
- package/es/{el-segmented-b868d074.js → el-segmented-05509f9d.js} +12 -13
- package/es/el-segmented-a928d89b.cjs +1 -0
- package/es/el-select-5fd77a96.cjs +1 -0
- package/es/{el-select-95627997.js → el-select-700f3686.js} +292 -295
- package/es/{el-table-column-376cd907.js → el-table-column-44360700.js} +54 -57
- package/es/el-table-column-bf3ab2a6.cjs +14 -0
- package/es/{el-tag-66cab138.js → el-tag-55a172c9.js} +30 -31
- package/es/el-tag-d59f3463.cjs +1 -0
- package/es/{el-text-c20a9f48.cjs → el-text-5bcaffb6.cjs} +1 -1
- package/es/{el-text-ac60d0f2.js → el-text-ab6bfc40.js} +4 -4
- package/es/{index-1f7d4f70.js → index-0afedcbd.js} +11 -12
- package/es/{index-88546436.js → index-29418a8d.js} +18 -18
- package/es/index-3d0bc5da.js +566 -0
- package/es/{index-57672682.js → index-4e46f96c.js} +12 -13
- package/es/{index-844bdd85.js → index-66ad0d6a.js} +34 -34
- package/es/{index-f967d6c1.cjs → index-882d77d3.cjs} +1 -1
- package/es/index-a206f6eb.cjs +1 -0
- package/es/{index-298075cf.cjs → index-ae6c9d97.cjs} +1 -1
- package/es/index-b4700d83.cjs +1 -0
- package/es/index-c30cf7f9.cjs +1 -0
- package/es/{index-d91dc23f.js → index-cbbd78b4.js} +12 -12
- package/es/{index-11547a0c.cjs → index-d8294b1a.cjs} +1 -1
- package/es/{raf-8249652f.cjs → raf-336ef01e.cjs} +1 -1
- package/es/raf-d8c44079.js +6 -0
- package/es/{scroll-679bd6bf.js → scroll-0a48995c.js} +5 -5
- package/es/{scroll-b108dabd.cjs → scroll-19533c53.cjs} +1 -1
- package/es/style.css +1 -1
- package/es/use-form-common-props-41182853.cjs +1 -0
- package/es/use-form-common-props-4cdda474.js +671 -0
- package/es/use-global-config-7bfbe48c.js +71 -0
- package/es/use-global-config-dc5527e8.cjs +1 -0
- package/es/{validator-1b8a6128.cjs → validator-28b22907.cjs} +1 -1
- package/es/{validator-764a9db0.js → validator-e35f7978.js} +1 -1
- package/es/{vnode-b906ae6d.cjs → vnode-8cb31692.cjs} +1 -1
- package/es/{vnode-5ddb7ed1.js → vnode-b62d0045.js} +1 -1
- package/es/{zh-cn-e963c628.js → zh-cn-346f3a73.js} +2 -2
- package/es/{zh-cn-90317f62.cjs → zh-cn-7c8640bb.cjs} +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +1 -1
- package/lib/{index-f27d8c7a.js → index-da0f2951.js} +3 -3
- package/lib/{python-c345f0e2.js → python-c0a1e4ef.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineBasic/components/KlineTips/index.vue +1 -1
- package/es/_initCloneObject-52b6a510.cjs +0 -1
- package/es/base-a5af3db3.js +0 -288
- package/es/base-ef747d02.cjs +0 -5
- package/es/castArray-35947698.cjs +0 -1
- package/es/debounce-62f5b6e8.cjs +0 -1
- package/es/el-autocomplete-a07e9439.cjs +0 -1
- package/es/el-button-eec58cff.cjs +0 -1
- package/es/el-dialog-ae86edb8.cjs +0 -1
- package/es/el-empty-1697ded8.cjs +0 -1
- package/es/el-form-item-c3fe189b.cjs +0 -12
- package/es/el-input-7fd293af.cjs +0 -1
- package/es/el-input-number-22e21d16.cjs +0 -1
- package/es/el-menu-item-17dc717e.cjs +0 -1
- package/es/el-message-5e6a6be9.cjs +0 -1
- package/es/el-message-box-c10adb52.cjs +0 -1
- package/es/el-overlay-9e34965f.cjs +0 -1
- package/es/el-popconfirm-70a976bf.cjs +0 -1
- package/es/el-popper-b6c99b28.cjs +0 -1
- package/es/el-segmented-f8fce9ac.cjs +0 -1
- package/es/el-select-d8d91db1.cjs +0 -1
- package/es/el-table-column-c974cb96.cjs +0 -14
- package/es/el-tag-a33c4b22.cjs +0 -1
- package/es/index-098c2447.cjs +0 -1
- package/es/index-960806da.js +0 -314
- package/es/index-9780a537.cjs +0 -1
- package/es/index-9b9ef5dd.cjs +0 -1
- package/es/index-bb833443.cjs +0 -1
- package/es/index-c108567d.cjs +0 -1
- package/es/index-d77a7336.js +0 -204
- package/es/index-e5566b94.js +0 -368
- package/es/index-f3562b52.cjs +0 -1
- package/es/raf-80ef0c0a.js +0 -6
- package/es/use-form-common-props-815d48a6.js +0 -364
- package/es/use-form-common-props-fd9b61a0.cjs +0 -1
- package/es/use-global-config-30d7d8ce.cjs +0 -1
- package/es/use-global-config-b5e9d3d5.js +0 -72
package/es/VarietySearch.js
CHANGED
|
@@ -1,48 +1,45 @@
|
|
|
1
|
-
import { b as Nu,
|
|
2
|
-
import "./el-tag-
|
|
3
|
-
import { E as pe, a as be } from "./el-select-
|
|
1
|
+
import { b as Nu, m as Ve, n as $e, o as Re, X as Me, u as de, _ as fe, d as qe, w as X0, T as a0, L as Xu, e as ut, f as et, al as tt, E as nt } from "./base-aa512893.js";
|
|
2
|
+
import "./el-tag-55a172c9.js";
|
|
3
|
+
import { E as pe, a as be } from "./el-select-700f3686.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
|
-
import { U as he, C as me, u as
|
|
6
|
-
import { E as
|
|
5
|
+
import { U as he, C as me, u as rt, d as at, E as ot } from "./el-popper-49152708.js";
|
|
6
|
+
import { E as lt, a as it } from "./el-checkbox-f13560e9.js";
|
|
7
7
|
import "./el-checkbox-group-4ed993c7.js";
|
|
8
|
-
import { ref as eu, inject as o0, computed as Q, defineComponent as Du, openBlock as C, createElementBlock as I, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as ju, isRef as l0, withModifiers as Bu, vModelRadio as i0, renderSlot as xe, createTextVNode as z, toDisplayString as uu, nextTick as zu, normalizeStyle as c0, onMounted as s0, provide as
|
|
9
|
-
import { E as ke } from "./el-dialog-
|
|
10
|
-
import "./el-overlay-
|
|
11
|
-
import { a as
|
|
12
|
-
import { E as f0 } from "./el-input-
|
|
13
|
-
import { E as p0 } from "./el-input-number-
|
|
8
|
+
import { ref as eu, inject as o0, computed as Q, defineComponent as Du, openBlock as C, createElementBlock as I, normalizeClass as lu, unref as O, createElementVNode as V, withDirectives as ju, isRef as l0, withModifiers as Bu, vModelRadio as i0, renderSlot as xe, createTextVNode as z, toDisplayString as uu, nextTick as zu, normalizeStyle as c0, onMounted as s0, provide as ct, reactive as st, toRefs as dt, watch as vu, Fragment as B, renderList as j, createBlock as P, mergeProps as ft, mergeModels as Zu, useModel as Hu, withCtx as D, createVNode as v, createCommentVNode as L, resolveComponent as Be, vShow as d0, pushScopeId as _e, popScopeId as ge, createSlots as ue } from "vue";
|
|
9
|
+
import { E as ke } from "./el-dialog-1d5f5877.js";
|
|
10
|
+
import "./el-overlay-04426e36.js";
|
|
11
|
+
import { a as pt, E as bt } from "./el-form-item-505c0b70.js";
|
|
12
|
+
import { E as f0 } from "./el-input-262851e8.js";
|
|
13
|
+
import { E as p0 } from "./el-input-number-fdac2b86.js";
|
|
14
14
|
import "./el-tooltip-4ed993c7.js";
|
|
15
|
-
import { E as b0 } from "./el-button-
|
|
15
|
+
import { E as b0 } from "./el-button-56624e61.js";
|
|
16
16
|
import "./el-popover-4ed993c7.js";
|
|
17
|
-
import { E as
|
|
18
|
-
import {
|
|
19
|
-
import { E as
|
|
20
|
-
import { E as h0 } from "./index-844bdd85.js";
|
|
17
|
+
import { E as ht } from "./el-text-ab6bfc40.js";
|
|
18
|
+
import { E as mt, a as xt } from "./el-table-column-44360700.js";
|
|
19
|
+
import { E as h0 } from "./index-66ad0d6a.js";
|
|
21
20
|
import { M as _t } from "./index-bc8e277e.js";
|
|
22
|
-
import { E as J } from "./el-message-
|
|
23
|
-
import { E as gt } from "./el-message-box-
|
|
21
|
+
import { E as J } from "./el-message-416bd265.js";
|
|
22
|
+
import { E as gt } from "./el-message-box-8f5e34ca.js";
|
|
24
23
|
import { _ as ye } from "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
-
import { E as m0 } from "./index-
|
|
26
|
-
import { E as kt } from "./index-
|
|
27
|
-
import {
|
|
28
|
-
import { u as
|
|
29
|
-
import {
|
|
30
|
-
import
|
|
31
|
-
import "./index-
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import "./
|
|
37
|
-
import "./use-global-config-b5e9d3d5.js";
|
|
38
|
-
import "./_initCloneObject-eaef9418.js";
|
|
24
|
+
import { E as m0 } from "./index-4e46f96c.js";
|
|
25
|
+
import { E as kt } from "./index-29418a8d.js";
|
|
26
|
+
import { u as x0, a as yt, e as vt, d as Ct, f as Et, g as Dt } from "./use-form-common-props-4cdda474.js";
|
|
27
|
+
import { u as Ft } from "./index-2e331d74.js";
|
|
28
|
+
import { f as At } from "./index-3d0bc5da.js";
|
|
29
|
+
import "./castArray-1eb17278.js";
|
|
30
|
+
import "./index-cbbd78b4.js";
|
|
31
|
+
import "./scroll-0a48995c.js";
|
|
32
|
+
import "./debounce-33406a0d.js";
|
|
33
|
+
import "./vnode-b62d0045.js";
|
|
34
|
+
import "./use-global-config-7bfbe48c.js";
|
|
35
|
+
import "./_initCloneObject-c477c74d.js";
|
|
39
36
|
import "./typescript-7ae59c4c.js";
|
|
40
37
|
import "./index-657047bb.js";
|
|
41
|
-
import "./raf-
|
|
38
|
+
import "./raf-d8c44079.js";
|
|
42
39
|
import "./index-7ed0999e.js";
|
|
43
|
-
import "./config-provider-
|
|
44
|
-
import "./validator-
|
|
45
|
-
import "./dropdown-
|
|
40
|
+
import "./config-provider-49c17381.js";
|
|
41
|
+
import "./validator-e35f7978.js";
|
|
42
|
+
import "./dropdown-6e7b1df0.js";
|
|
46
43
|
const _0 = Nu({
|
|
47
44
|
modelValue: {
|
|
48
45
|
type: [String, Number, Boolean],
|
|
@@ -77,7 +74,7 @@ const _0 = Nu({
|
|
|
77
74
|
r.value ? n.changeEvent(s) : e && e(he, s), t.value.checked = u.modelValue === a.value;
|
|
78
75
|
}
|
|
79
76
|
}), o = yt(Q(() => n == null ? void 0 : n.size)), c = vt(Q(() => n == null ? void 0 : n.disabled)), i = eu(!1), f = Q(() => c.value || r.value && l.value !== a.value ? -1 : 0);
|
|
80
|
-
return
|
|
77
|
+
return Ft({
|
|
81
78
|
from: "label act as value",
|
|
82
79
|
replacement: "value",
|
|
83
80
|
version: "3.0.0",
|
|
@@ -250,7 +247,7 @@ const $t = Nu({
|
|
|
250
247
|
type: qe(Object),
|
|
251
248
|
default: () => E0
|
|
252
249
|
},
|
|
253
|
-
...
|
|
250
|
+
...rt(["ariaLabel"])
|
|
254
251
|
}), Rt = g0, E0 = {
|
|
255
252
|
label: "label",
|
|
256
253
|
value: "value",
|
|
@@ -262,7 +259,7 @@ const $t = Nu({
|
|
|
262
259
|
props: $t,
|
|
263
260
|
emits: Rt,
|
|
264
261
|
setup(u, { emit: e }) {
|
|
265
|
-
const t = u, n = de("radio"), r =
|
|
262
|
+
const t = u, n = de("radio"), r = Ct(), a = eu(), { formItem: l } = Et(), { inputId: o, isLabeledByFormItem: c } = Dt(t, {
|
|
266
263
|
formItemContext: l
|
|
267
264
|
}), i = (m) => {
|
|
268
265
|
e(he, m), zu(() => e(me, m));
|
|
@@ -282,12 +279,12 @@ const $t = Nu({
|
|
|
282
279
|
};
|
|
283
280
|
return { ...m, ...d };
|
|
284
281
|
};
|
|
285
|
-
return
|
|
286
|
-
...
|
|
282
|
+
return ct(k0, st({
|
|
283
|
+
...dt(t),
|
|
287
284
|
changeEvent: i,
|
|
288
285
|
name: f
|
|
289
286
|
})), vu(() => t.modelValue, (m, d) => {
|
|
290
|
-
t.validateEvent && !At(m, d) && (l == null || l.validate("change").catch((T) =>
|
|
287
|
+
t.validateEvent && !At(m, d) && (l == null || l.validate("change").catch((T) => at()));
|
|
291
288
|
}), (m, d) => (C(), I("div", {
|
|
292
289
|
id: O(o),
|
|
293
290
|
ref_key: "radioGroupRef",
|
|
@@ -298,7 +295,7 @@ const $t = Nu({
|
|
|
298
295
|
"aria-labelledby": O(c) ? O(l).labelId : void 0
|
|
299
296
|
}, [
|
|
300
297
|
xe(m.$slots, "default", {}, () => [
|
|
301
|
-
(C(!0), I(B, null, j(t.options, (T, $) => (C(), P(v0,
|
|
298
|
+
(C(!0), I(B, null, j(t.options, (T, $) => (C(), P(v0, ft({ key: $ }, p(T)), null, 16))), 128))
|
|
302
299
|
])
|
|
303
300
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
304
301
|
}
|
|
@@ -4329,7 +4326,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
|
|
|
4329
4326
|
{ deep: !0 }
|
|
4330
4327
|
), (y, b) => {
|
|
4331
4328
|
var Oe;
|
|
4332
|
-
const x =
|
|
4329
|
+
const x = ht, g = m0, _ = kt, S = b0, F = nt, A = ot, U = F0, E = Ce, M = Be("st-customFunction"), k = pe, N = be, H = pt, xu = p0, _u = ve, gu = f0, wu = bt, K = h0, X = ke, Ku = Be("st-varSelectDialog");
|
|
4333
4330
|
return C(), I(B, null, [
|
|
4334
4331
|
V("div", wa, [
|
|
4335
4332
|
V("div", null, [
|
|
@@ -4391,7 +4388,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
|
|
|
4391
4388
|
type: "primary",
|
|
4392
4389
|
plain: "",
|
|
4393
4390
|
size: "small",
|
|
4394
|
-
icon: O(
|
|
4391
|
+
icon: O(Xu),
|
|
4395
4392
|
onClick: f
|
|
4396
4393
|
}, {
|
|
4397
4394
|
default: D(() => [
|
|
@@ -4430,7 +4427,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
|
|
|
4430
4427
|
onClick: b[2] || (b[2] = (R) => l.value = !0)
|
|
4431
4428
|
}, {
|
|
4432
4429
|
default: D(() => [
|
|
4433
|
-
v(O(
|
|
4430
|
+
v(O(ut))
|
|
4434
4431
|
]),
|
|
4435
4432
|
_: 1
|
|
4436
4433
|
})
|
|
@@ -4477,7 +4474,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
|
|
|
4477
4474
|
onClick: b[4] || (b[4] = (R) => a.value = !1)
|
|
4478
4475
|
}, {
|
|
4479
4476
|
default: D(() => [
|
|
4480
|
-
v(O(
|
|
4477
|
+
v(O(et))
|
|
4481
4478
|
]),
|
|
4482
4479
|
_: 1
|
|
4483
4480
|
})
|
|
@@ -4723,7 +4720,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
|
|
|
4723
4720
|
onClick: (R) => p(nu)
|
|
4724
4721
|
}, {
|
|
4725
4722
|
default: D(() => [
|
|
4726
|
-
v(O(
|
|
4723
|
+
v(O(tt))
|
|
4727
4724
|
]),
|
|
4728
4725
|
_: 2
|
|
4729
4726
|
}, 1032, ["onClick"])
|
|
@@ -4732,7 +4729,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
|
|
|
4732
4729
|
type: "primary",
|
|
4733
4730
|
plain: "",
|
|
4734
4731
|
size: "small",
|
|
4735
|
-
icon: O(
|
|
4732
|
+
icon: O(Xu),
|
|
4736
4733
|
onClick: m,
|
|
4737
4734
|
style: { "margin-bottom": "10px" }
|
|
4738
4735
|
}, {
|
|
@@ -4745,7 +4742,7 @@ const K0 = (u) => (_e("data-v-deab9c48"), u = u(), ge(), u), wa = { class: "fact
|
|
|
4745
4742
|
type: "primary",
|
|
4746
4743
|
plain: "",
|
|
4747
4744
|
size: "small",
|
|
4748
|
-
icon: O(
|
|
4745
|
+
icon: O(Xu),
|
|
4749
4746
|
onClick: b[5] || (b[5] = (q) => m("compare")),
|
|
4750
4747
|
style: { "margin-bottom": "10px" }
|
|
4751
4748
|
}, {
|
|
@@ -5144,7 +5141,7 @@ const Yu = (u) => (_e("data-v-e34c6235"), u = u(), ge(), u), Ua = {
|
|
|
5144
5141
|
width: "600",
|
|
5145
5142
|
"align-center": "",
|
|
5146
5143
|
"destroy-on-close": ""
|
|
5147
|
-
},
|
|
5144
|
+
}, ue({
|
|
5148
5145
|
footer: D(() => [
|
|
5149
5146
|
V("div", xo, [
|
|
5150
5147
|
v(_, {
|
|
@@ -5192,7 +5189,7 @@ const Yu = (u) => (_e("data-v-e34c6235"), u = u(), ge(), u), Ua = {
|
|
|
5192
5189
|
modelValue: i.value.range[0],
|
|
5193
5190
|
"onUpdate:modelValue": h[5] || (h[5] = (k) => i.value.range[0] = k),
|
|
5194
5191
|
style: { flex: "1" }
|
|
5195
|
-
},
|
|
5192
|
+
}, ue({ _: 2 }, [
|
|
5196
5193
|
c.value.unitOptions.length ? {
|
|
5197
5194
|
name: "append",
|
|
5198
5195
|
fn: D(() => [
|
|
@@ -5219,7 +5216,7 @@ const Yu = (u) => (_e("data-v-e34c6235"), u = u(), ge(), u), Ua = {
|
|
|
5219
5216
|
modelValue: i.value.range[1],
|
|
5220
5217
|
"onUpdate:modelValue": h[7] || (h[7] = (k) => i.value.range[1] = k),
|
|
5221
5218
|
style: { flex: "1" }
|
|
5222
|
-
},
|
|
5219
|
+
}, ue({ _: 2 }, [
|
|
5223
5220
|
c.value.unitOptions.length ? {
|
|
5224
5221
|
name: "append",
|
|
5225
5222
|
fn: D(() => [
|
|
@@ -5886,7 +5883,7 @@ const Au = (u) => (_e("data-v-a525206e"), u = u(), ge(), u), ko = { class: "vari
|
|
|
5886
5883
|
}
|
|
5887
5884
|
}), (s, p) => {
|
|
5888
5885
|
var y, b, x, g, _, S;
|
|
5889
|
-
const m = ve, d = Ce, T =
|
|
5886
|
+
const m = ve, d = Ce, T = lt, $ = it, w = pe, h = be;
|
|
5890
5887
|
return C(), I("div", ko, [
|
|
5891
5888
|
(y = r.value.varietyMarket) != null && y.show ? (C(), I("div", yo, [
|
|
5892
5889
|
V("div", vo, [
|
|
@@ -6049,11 +6046,11 @@ const Au = (u) => (_e("data-v-a525206e"), u = u(), ge(), u), ko = { class: "vari
|
|
|
6049
6046
|
]);
|
|
6050
6047
|
};
|
|
6051
6048
|
}
|
|
6052
|
-
}, Lo = /* @__PURE__ */ ye(zo, [["__scopeId", "data-v-a525206e"]]),
|
|
6049
|
+
}, Lo = /* @__PURE__ */ ye(zo, [["__scopeId", "data-v-a525206e"]]), Tl = {
|
|
6053
6050
|
install(u) {
|
|
6054
6051
|
u.component("st-varietySearch", Lo);
|
|
6055
6052
|
}
|
|
6056
6053
|
};
|
|
6057
6054
|
export {
|
|
6058
|
-
|
|
6055
|
+
Tl as default
|
|
6059
6056
|
};
|
package/es/VarietyTextCopy.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";require("./base-
|
|
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&&(!
|
|
1
|
+
"use strict";const i=require("./base-7ba08794.cjs"),v=require("./el-input-b04b5bfc.cjs");require("./el-tooltip-0ea8fbf8.cjs");const V=require("./el-popper-1dd8f5b4.cjs"),e=require("vue"),f=require("./el-message-05cd85bf.cjs"),h=require("./_plugin-vue_export-helper-f246444f.cjs");require("./use-form-common-props-41182853.cjs");require("./typescript-b63f8e83.cjs");require("./index-d8294b1a.cjs");require("./use-global-config-dc5527e8.cjs");require("./index-c30cf7f9.cjs");require("./config-provider-18c0a68a.cjs");const c=o=>(e.pushScopeId("data-v-445e2903"),o=o(),e.popScopeId(),o),y={class:"variety-text-copy"},q={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)),b={__name:"index",props:{required:{type:Boolean,default:!0}},setup(o,{expose:u}){const d=e.inject("stConfig"),p=o,r=e.ref(""),_=e.computed(()=>l(r.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&&(!r.value||r.value.trim()===""))return f.ElMessage.error("品种内容不可为空"),n(!1);const{body:t}=await d.request.post("/invest/analysis/strategy/verifyCodes",{codes:l(r.value)});return n(!0,t)}catch(t){return a(t)}})}),(n,s)=>{const a=i.ElIcon,t=V.ElTooltip,x=v.ElInput;return e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",q,[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:r.value,"onUpdate:modelValue":s[0]||(s[0]=m=>r.value=m),resize:"none",type:"textarea",placeholder:`文本格式要求示例:
|
|
3
3
|
hc8888 热轧卷板期货指数
|
|
4
4
|
sp8888 纸浆期货指数
|
|
5
|
-
bu8888 石油沥青期货指数`},null,8,["modelValue"])])}}},
|
|
5
|
+
bu8888 石油沥青期货指数`},null,8,["modelValue"])])}}},w=h._export_sfc(b,[["__scopeId","data-v-445e2903"]]),S={install(o){o.component("st-varietyTextCopy",w)}};module.exports=S;
|
package/es/VarietyTextCopy.js
CHANGED
|
@@ -1,62 +1,59 @@
|
|
|
1
|
-
import "./base-
|
|
2
|
-
import { E as
|
|
1
|
+
import { e as y, E as h } from "./base-aa512893.js";
|
|
2
|
+
import { E as g } from "./el-input-262851e8.js";
|
|
3
3
|
import "./el-tooltip-4ed993c7.js";
|
|
4
|
-
import { E
|
|
5
|
-
import { inject as
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import
|
|
9
|
-
import "./use-form-common-props-815d48a6.js";
|
|
10
|
-
import "./index-960806da.js";
|
|
4
|
+
import { E } from "./el-popper-49152708.js";
|
|
5
|
+
import { inject as C, ref as V, computed as I, openBlock as S, createElementBlock as b, createElementVNode as r, toDisplayString as w, createVNode as l, withCtx as i, createTextVNode as c, unref as T, pushScopeId as q, popScopeId as B } from "vue";
|
|
6
|
+
import { E as N } from "./el-message-416bd265.js";
|
|
7
|
+
import { _ as k } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
|
+
import "./use-form-common-props-4cdda474.js";
|
|
11
9
|
import "./typescript-7ae59c4c.js";
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./use-global-config-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./
|
|
16
|
-
|
|
17
|
-
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 = {
|
|
10
|
+
import "./index-cbbd78b4.js";
|
|
11
|
+
import "./use-global-config-7bfbe48c.js";
|
|
12
|
+
import "./index-3d0bc5da.js";
|
|
13
|
+
import "./config-provider-49c17381.js";
|
|
14
|
+
const p = (t) => (q("data-v-445e2903"), t = t(), B(), t), j = { class: "variety-text-copy" }, z = { class: "stats-container" }, D = { class: "stat-item" }, F = /* @__PURE__ */ p(() => /* @__PURE__ */ r("span", { class: "label" }, "品种数量统计:", -1)), M = { class: "value" }, P = /* @__PURE__ */ p(() => /* @__PURE__ */ r("br", null, null, -1)), U = /* @__PURE__ */ p(() => /* @__PURE__ */ r("br", null, null, -1)), A = {
|
|
18
15
|
__name: "index",
|
|
19
16
|
props: {
|
|
20
17
|
required: { type: Boolean, default: !0 }
|
|
21
18
|
},
|
|
22
19
|
setup(t, { expose: d }) {
|
|
23
|
-
const _ =
|
|
24
|
-
`).reduce((
|
|
20
|
+
const _ = C("stConfig"), m = t, o = V(""), f = I(() => u(o.value).length), u = (s) => s ? s.split(`
|
|
21
|
+
`).reduce((n, a) => {
|
|
25
22
|
const e = a.trim().replace(/\s+/gi, " ").split(" ")[0];
|
|
26
|
-
return e &&
|
|
23
|
+
return e && n.push(e), n;
|
|
27
24
|
}, []) : [];
|
|
28
|
-
return d({ validate: (s) => new Promise(async (
|
|
25
|
+
return d({ validate: (s) => new Promise(async (n, a) => {
|
|
29
26
|
try {
|
|
30
27
|
if (m.required && (!o.value || o.value.trim() === ""))
|
|
31
|
-
return
|
|
28
|
+
return N.error("品种内容不可为空"), s(!1);
|
|
32
29
|
const { body: e } = await _.request.post("/invest/analysis/strategy/verifyCodes", { codes: u(o.value) });
|
|
33
30
|
return s(!0, e);
|
|
34
31
|
} catch (e) {
|
|
35
32
|
return a(e);
|
|
36
33
|
}
|
|
37
|
-
}) }), (s,
|
|
38
|
-
const a =
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
34
|
+
}) }), (s, n) => {
|
|
35
|
+
const a = h, e = E, x = g;
|
|
36
|
+
return S(), b("div", j, [
|
|
37
|
+
r("div", z, [
|
|
38
|
+
r("div", D, [
|
|
42
39
|
F,
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
r("span", M, w(f.value), 1),
|
|
41
|
+
l(e, {
|
|
45
42
|
class: "box-item",
|
|
46
43
|
effect: "dark",
|
|
47
44
|
placement: "right"
|
|
48
45
|
}, {
|
|
49
|
-
content:
|
|
46
|
+
content: i(() => [
|
|
50
47
|
c(" 仅统计符合输入格式的数量, 输入格式示例(代码和名称需空格隔开, 名称可不写):"),
|
|
51
48
|
P,
|
|
52
49
|
c("hc8888 热轧卷板期货指数 "),
|
|
53
50
|
U,
|
|
54
51
|
c("sp8888 纸浆期货指数")
|
|
55
52
|
]),
|
|
56
|
-
default:
|
|
57
|
-
|
|
58
|
-
default:
|
|
59
|
-
|
|
53
|
+
default: i(() => [
|
|
54
|
+
l(a, null, {
|
|
55
|
+
default: i(() => [
|
|
56
|
+
l(T(y))
|
|
60
57
|
]),
|
|
61
58
|
_: 1
|
|
62
59
|
})
|
|
@@ -65,10 +62,10 @@ const p = (t) => (w("data-v-445e2903"), t = t(), T(), t), j = { class: "variety-
|
|
|
65
62
|
})
|
|
66
63
|
])
|
|
67
64
|
]),
|
|
68
|
-
|
|
65
|
+
l(x, {
|
|
69
66
|
class: "textarea",
|
|
70
67
|
modelValue: o.value,
|
|
71
|
-
"onUpdate:modelValue":
|
|
68
|
+
"onUpdate:modelValue": n[0] || (n[0] = (v) => o.value = v),
|
|
72
69
|
resize: "none",
|
|
73
70
|
type: "textarea",
|
|
74
71
|
placeholder: `文本格式要求示例:
|
|
@@ -79,11 +76,11 @@ bu8888 石油沥青期货指数`
|
|
|
79
76
|
]);
|
|
80
77
|
};
|
|
81
78
|
}
|
|
82
|
-
}, G = /* @__PURE__ */
|
|
79
|
+
}, G = /* @__PURE__ */ k(A, [["__scopeId", "data-v-445e2903"]]), oe = {
|
|
83
80
|
install(t) {
|
|
84
81
|
t.component("st-varietyTextCopy", G);
|
|
85
82
|
}
|
|
86
83
|
};
|
|
87
84
|
export {
|
|
88
|
-
|
|
85
|
+
oe as default
|
|
89
86
|
};
|