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