st-comp 0.0.86 → 0.0.88
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.cjs +1 -1
- package/es/ChartLayout.js +2 -2
- package/es/Dialog.cjs +1 -1
- package/es/Dialog.js +10 -10
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +89 -89
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +7 -7
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +138 -138
- package/es/Table.cjs +1 -20
- package/es/Table.js +390 -3589
- package/es/TreeMap.cjs +1 -2
- package/es/TreeMap.js +1 -163
- package/es/VarietySearch.cjs +2 -2
- package/es/VarietySearch.js +1551 -1391
- package/es/VirtualTable.cjs +4 -4
- package/es/VirtualTable.js +100 -100
- package/es/{base-4865d432.cjs → base-2b869b95.cjs} +1 -1
- package/es/{base-6faccb01.js → base-5e2578a9.js} +65 -65
- package/es/{castArray-bdee0d50.js → castArray-9b96e1ad.js} +1 -1
- package/es/castArray-adec592d.cjs +1 -0
- package/es/{config-provider-465c8253.cjs → config-provider-25d2db4b.cjs} +1 -1
- package/es/{config-provider-be0e9c36.js → config-provider-ddbd0b1c.js} +11 -11
- package/es/{el-button-aad5268b.cjs → el-button-8fca9a5d.cjs} +1 -1
- package/es/{el-button-1b9c4fd6.js → el-button-daeb181f.js} +56 -56
- package/es/{el-empty-348c46f7.js → el-empty-b1d5d1e4.js} +4 -4
- package/es/{el-empty-608948d9.cjs → el-empty-d83469ab.cjs} +1 -1
- package/es/el-icon-0bfbe0c8.js +3795 -0
- package/es/el-icon-19bc1691.cjs +20 -0
- package/es/{el-overlay-4713107e.cjs → el-overlay-88994e77.cjs} +2 -2
- package/es/{el-overlay-400ac6ce.js → el-overlay-fcd84f34.js} +46 -46
- package/es/{el-scrollbar-83abe3de.js → el-scrollbar-0f49204a.js} +46 -46
- package/es/{el-scrollbar-bc381e35.cjs → el-scrollbar-43353984.cjs} +1 -1
- package/es/{el-select-895360ba.js → el-select-1a2f2c95.js} +285 -285
- package/es/el-select-c3d21536.cjs +9 -0
- package/es/{el-tag-30cecca3.js → el-tag-1e32cb79.js} +122 -122
- package/es/el-tag-7737bede.cjs +1 -0
- package/es/{focus-trap-a169f160.cjs → focus-trap-19c04a47.cjs} +1 -1
- package/es/{focus-trap-5ac78614.js → focus-trap-82e6ab3c.js} +18 -18
- package/es/{raf-92c5ed6d.js → raf-7414f3eb.js} +1 -1
- package/es/{raf-5e5c53db.cjs → raf-a8539dc6.cjs} +1 -1
- package/es/{scroll-bb8039ba.cjs → scroll-5ec08336.cjs} +1 -1
- package/es/{scroll-264c50f3.js → scroll-8d15ce5a.js} +1 -1
- package/es/style.css +1 -1
- package/es/{use-form-item-6cef6b15.cjs → use-form-item-3d2a7ac7.cjs} +2 -2
- package/es/{use-form-item-0e9cae13.js → use-form-item-ea29755c.js} +138 -137
- package/es/use-global-config-3496cd4f.cjs +1 -0
- package/es/use-global-config-9eba4e5e.js +110 -0
- package/es/{vnode-b78096e3.js → vnode-2ad5aae4.js} +4 -4
- package/es/{vnode-abafec9e.cjs → vnode-b447c505.cjs} +1 -1
- package/es/{zh-cn-e4d38144.cjs → zh-cn-35bd18a8.cjs} +1 -1
- package/es/{zh-cn-8aaa7dd2.js → zh-cn-6a7c1846.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +153 -153
- package/lib/{index-137cb843.js → index-cf938a55.js} +18765 -18608
- package/lib/{python-02b0f7eb.js → python-40015c17.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietySearch/components/CommonIndicator/index.vue +190 -59
- package/packages/VarietySearch/components/FactorScreen/index.vue +84 -27
- package/packages/VarietySearch/config.js +41 -12
- package/packages/VarietySearch/index.vue +67 -12
- package/src/pages/VarietySearch/index.vue +70 -11
- package/es/castArray-3341cbb4.cjs +0 -1
- package/es/el-icon-158ddc19.cjs +0 -1
- package/es/el-icon-d385d377.js +0 -593
- package/es/el-select-7116533b.cjs +0 -9
- package/es/el-tag-2c7e5d4a.cjs +0 -1
- package/es/use-global-config-17f3d7c7.cjs +0 -1
- package/es/use-global-config-8c9c775f.js +0 -110
package/es/TreeMap.cjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
${e.data.colorValue}`}}],data:i.data.map(e=>({...e,itemStyle:{color:e.color},children:e.children.map(u=>({...u,itemStyle:{color:u.color}}))}))}]},!0)};return l({reset:()=>{d()}}),(e,u)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"chartRef",ref:c,class:"chart"},null,512))}});const g=p._export_sfc(_,[["__scopeId","data-v-ab677899"]]),m={install(t){t.component("st-treeMap",g)}};module.exports=m;
|
|
1
|
+
"use strict";
|
package/es/TreeMap.js
CHANGED
|
@@ -1,163 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as v from "echarts";
|
|
3
|
-
import { _ as S } from "./_plugin-vue_export-helper-dad06003.js";
|
|
4
|
-
const y = /* @__PURE__ */ f({
|
|
5
|
-
__name: "index",
|
|
6
|
-
props: {
|
|
7
|
-
data: {
|
|
8
|
-
type: Array,
|
|
9
|
-
default: () => []
|
|
10
|
-
},
|
|
11
|
-
// 数据
|
|
12
|
-
config: {
|
|
13
|
-
type: Object,
|
|
14
|
-
default: () => ({})
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(o, { expose: d }) {
|
|
18
|
-
const s = {
|
|
19
|
-
tooltipFormatter: null,
|
|
20
|
-
visibleMin: 300
|
|
21
|
-
};
|
|
22
|
-
let t, r;
|
|
23
|
-
const n = o, l = u(), c = p(() => ({ ...s, ...n.config }));
|
|
24
|
-
m(
|
|
25
|
-
() => [n.data],
|
|
26
|
-
() => {
|
|
27
|
-
a();
|
|
28
|
-
},
|
|
29
|
-
{ deep: !0 }
|
|
30
|
-
), b(() => {
|
|
31
|
-
t = v.init(l.value), a();
|
|
32
|
-
let e = !0;
|
|
33
|
-
r = new ResizeObserver(() => {
|
|
34
|
-
if (e) {
|
|
35
|
-
e = null;
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
t.resize();
|
|
39
|
-
}), r.observe(l.value);
|
|
40
|
-
}), h(() => {
|
|
41
|
-
t.dispose(), r.disconnect(), r = null;
|
|
42
|
-
});
|
|
43
|
-
const a = () => {
|
|
44
|
-
t.setOption(
|
|
45
|
-
{
|
|
46
|
-
tooltip: {
|
|
47
|
-
confine: !0,
|
|
48
|
-
formatter: c.value.tooltipFormatter
|
|
49
|
-
},
|
|
50
|
-
series: [
|
|
51
|
-
{
|
|
52
|
-
type: "treemap",
|
|
53
|
-
width: "100%",
|
|
54
|
-
height: "100%",
|
|
55
|
-
visibleMin: c.value.visibleMin,
|
|
56
|
-
breadcrumb: {
|
|
57
|
-
show: !1
|
|
58
|
-
},
|
|
59
|
-
label: {
|
|
60
|
-
show: !0,
|
|
61
|
-
formatter: "{b}"
|
|
62
|
-
},
|
|
63
|
-
upperLabel: {
|
|
64
|
-
show: !0,
|
|
65
|
-
height: 30
|
|
66
|
-
},
|
|
67
|
-
itemStyle: {
|
|
68
|
-
borderColor: "#fff"
|
|
69
|
-
},
|
|
70
|
-
levels: [
|
|
71
|
-
{
|
|
72
|
-
itemStyle: {
|
|
73
|
-
borderColor: "#777",
|
|
74
|
-
borderWidth: 0,
|
|
75
|
-
gapWidth: 0
|
|
76
|
-
},
|
|
77
|
-
upperLabel: {
|
|
78
|
-
show: !1
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
itemStyle: {
|
|
83
|
-
borderColor: "#000",
|
|
84
|
-
borderWidth: 2,
|
|
85
|
-
gapWidth: 1
|
|
86
|
-
},
|
|
87
|
-
upperLabel: {
|
|
88
|
-
padding: [8, 0, 0, 0],
|
|
89
|
-
formatter: (e) => `{title|${e.data.name} ${e.data.labelValue}} ${e.data.percent === null ? "" : `{${e.data.percent >= 0 ? e.data.percent === 0 ? "defaultPercent" : "redPercent" : "greenPercent"}|${e.data.percent}%}`}`,
|
|
90
|
-
rich: {
|
|
91
|
-
title: {
|
|
92
|
-
color: "#fff",
|
|
93
|
-
fontSize: 14
|
|
94
|
-
},
|
|
95
|
-
defaultPercent: {
|
|
96
|
-
color: "#fff",
|
|
97
|
-
fontSize: 14
|
|
98
|
-
},
|
|
99
|
-
redPercent: {
|
|
100
|
-
color: "red",
|
|
101
|
-
fontSize: 14
|
|
102
|
-
},
|
|
103
|
-
greenPercent: {
|
|
104
|
-
color: "green",
|
|
105
|
-
fontSize: 14
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
colorSaturation: [0.35, 0.5],
|
|
112
|
-
itemStyle: {
|
|
113
|
-
borderWidth: 0,
|
|
114
|
-
gapWidth: 1,
|
|
115
|
-
borderColorSaturation: 0.6
|
|
116
|
-
},
|
|
117
|
-
label: {
|
|
118
|
-
align: "center",
|
|
119
|
-
verticalAlign: "middle",
|
|
120
|
-
fontSize: 20,
|
|
121
|
-
formatter: (e) => `${e.data.name}
|
|
122
|
-
${e.data.colorValue}`
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
data: n.data.map((e) => ({
|
|
127
|
-
...e,
|
|
128
|
-
itemStyle: {
|
|
129
|
-
color: e.color
|
|
130
|
-
},
|
|
131
|
-
children: e.children.map((i) => ({
|
|
132
|
-
...i,
|
|
133
|
-
itemStyle: {
|
|
134
|
-
color: i.color
|
|
135
|
-
}
|
|
136
|
-
}))
|
|
137
|
-
}))
|
|
138
|
-
}
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
!0
|
|
142
|
-
);
|
|
143
|
-
};
|
|
144
|
-
return d({
|
|
145
|
-
reset: () => {
|
|
146
|
-
a();
|
|
147
|
-
}
|
|
148
|
-
// 重置
|
|
149
|
-
}), (e, i) => (_(), g("div", {
|
|
150
|
-
ref_key: "chartRef",
|
|
151
|
-
ref: l,
|
|
152
|
-
class: "chart"
|
|
153
|
-
}, null, 512));
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
const w = /* @__PURE__ */ S(y, [["__scopeId", "data-v-ab677899"]]), C = {
|
|
157
|
-
install(o) {
|
|
158
|
-
o.component("st-treeMap", w);
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
export {
|
|
162
|
-
C as default
|
|
163
|
-
};
|
|
1
|
+
|