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.
Files changed (72) hide show
  1. package/components.d.ts +1 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +2 -2
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +10 -10
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +89 -89
  8. package/es/KlineNew.cjs +1 -1
  9. package/es/KlineNew.js +7 -7
  10. package/es/Pagination.cjs +1 -1
  11. package/es/Pagination.js +138 -138
  12. package/es/Table.cjs +1 -20
  13. package/es/Table.js +390 -3589
  14. package/es/TreeMap.cjs +1 -2
  15. package/es/TreeMap.js +1 -163
  16. package/es/VarietySearch.cjs +2 -2
  17. package/es/VarietySearch.js +1551 -1391
  18. package/es/VirtualTable.cjs +4 -4
  19. package/es/VirtualTable.js +100 -100
  20. package/es/{base-4865d432.cjs → base-2b869b95.cjs} +1 -1
  21. package/es/{base-6faccb01.js → base-5e2578a9.js} +65 -65
  22. package/es/{castArray-bdee0d50.js → castArray-9b96e1ad.js} +1 -1
  23. package/es/castArray-adec592d.cjs +1 -0
  24. package/es/{config-provider-465c8253.cjs → config-provider-25d2db4b.cjs} +1 -1
  25. package/es/{config-provider-be0e9c36.js → config-provider-ddbd0b1c.js} +11 -11
  26. package/es/{el-button-aad5268b.cjs → el-button-8fca9a5d.cjs} +1 -1
  27. package/es/{el-button-1b9c4fd6.js → el-button-daeb181f.js} +56 -56
  28. package/es/{el-empty-348c46f7.js → el-empty-b1d5d1e4.js} +4 -4
  29. package/es/{el-empty-608948d9.cjs → el-empty-d83469ab.cjs} +1 -1
  30. package/es/el-icon-0bfbe0c8.js +3795 -0
  31. package/es/el-icon-19bc1691.cjs +20 -0
  32. package/es/{el-overlay-4713107e.cjs → el-overlay-88994e77.cjs} +2 -2
  33. package/es/{el-overlay-400ac6ce.js → el-overlay-fcd84f34.js} +46 -46
  34. package/es/{el-scrollbar-83abe3de.js → el-scrollbar-0f49204a.js} +46 -46
  35. package/es/{el-scrollbar-bc381e35.cjs → el-scrollbar-43353984.cjs} +1 -1
  36. package/es/{el-select-895360ba.js → el-select-1a2f2c95.js} +285 -285
  37. package/es/el-select-c3d21536.cjs +9 -0
  38. package/es/{el-tag-30cecca3.js → el-tag-1e32cb79.js} +122 -122
  39. package/es/el-tag-7737bede.cjs +1 -0
  40. package/es/{focus-trap-a169f160.cjs → focus-trap-19c04a47.cjs} +1 -1
  41. package/es/{focus-trap-5ac78614.js → focus-trap-82e6ab3c.js} +18 -18
  42. package/es/{raf-92c5ed6d.js → raf-7414f3eb.js} +1 -1
  43. package/es/{raf-5e5c53db.cjs → raf-a8539dc6.cjs} +1 -1
  44. package/es/{scroll-bb8039ba.cjs → scroll-5ec08336.cjs} +1 -1
  45. package/es/{scroll-264c50f3.js → scroll-8d15ce5a.js} +1 -1
  46. package/es/style.css +1 -1
  47. package/es/{use-form-item-6cef6b15.cjs → use-form-item-3d2a7ac7.cjs} +2 -2
  48. package/es/{use-form-item-0e9cae13.js → use-form-item-ea29755c.js} +138 -137
  49. package/es/use-global-config-3496cd4f.cjs +1 -0
  50. package/es/use-global-config-9eba4e5e.js +110 -0
  51. package/es/{vnode-b78096e3.js → vnode-2ad5aae4.js} +4 -4
  52. package/es/{vnode-abafec9e.cjs → vnode-b447c505.cjs} +1 -1
  53. package/es/{zh-cn-e4d38144.cjs → zh-cn-35bd18a8.cjs} +1 -1
  54. package/es/{zh-cn-8aaa7dd2.js → zh-cn-6a7c1846.js} +2 -2
  55. package/lib/bundle.js +1 -1
  56. package/lib/bundle.umd.cjs +153 -153
  57. package/lib/{index-137cb843.js → index-cf938a55.js} +18765 -18608
  58. package/lib/{python-02b0f7eb.js → python-40015c17.js} +1 -1
  59. package/lib/style.css +1 -1
  60. package/package.json +1 -1
  61. package/packages/VarietySearch/components/CommonIndicator/index.vue +190 -59
  62. package/packages/VarietySearch/components/FactorScreen/index.vue +84 -27
  63. package/packages/VarietySearch/config.js +41 -12
  64. package/packages/VarietySearch/index.vue +67 -12
  65. package/src/pages/VarietySearch/index.vue +70 -11
  66. package/es/castArray-3341cbb4.cjs +0 -1
  67. package/es/el-icon-158ddc19.cjs +0 -1
  68. package/es/el-icon-d385d377.js +0 -593
  69. package/es/el-select-7116533b.cjs +0 -9
  70. package/es/el-tag-2c7e5d4a.cjs +0 -1
  71. package/es/use-global-config-17f3d7c7.cjs +0 -1
  72. package/es/use-global-config-8c9c775f.js +0 -110
package/es/TreeMap.cjs CHANGED
@@ -1,2 +1 @@
1
- "use strict";const r=require("vue"),f=require("echarts"),p=require("./_plugin-vue_export-helper-f246444f.cjs");function b(t){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(l,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return l.default=t,Object.freeze(l)}const h=b(f),_=r.defineComponent({__name:"index",props:{data:{type:Array,default:()=>[]},config:{type:Object,default:()=>({})}},setup(t,{expose:l}){const n={tooltipFormatter:null,visibleMin:300};let o,a;const i=t,c=r.ref(),s=r.computed(()=>({...n,...i.config}));r.watch(()=>[i.data],()=>{d()},{deep:!0}),r.onMounted(()=>{o=h.init(c.value),d();let e=!0;a=new ResizeObserver(()=>{if(e){e=null;return}o.resize()}),a.observe(c.value)}),r.onUnmounted(()=>{o.dispose(),a.disconnect(),a=null});const d=()=>{o.setOption({tooltip:{confine:!0,formatter:s.value.tooltipFormatter},series:[{type:"treemap",width:"100%",height:"100%",visibleMin:s.value.visibleMin,breadcrumb:{show:!1},label:{show:!0,formatter:"{b}"},upperLabel:{show:!0,height:30},itemStyle:{borderColor:"#fff"},levels:[{itemStyle:{borderColor:"#777",borderWidth:0,gapWidth:0},upperLabel:{show:!1}},{itemStyle:{borderColor:"#000",borderWidth:2,gapWidth:1},upperLabel:{padding:[8,0,0,0],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}%}`}`,rich:{title:{color:"#fff",fontSize:14},defaultPercent:{color:"#fff",fontSize:14},redPercent:{color:"red",fontSize:14},greenPercent:{color:"green",fontSize:14}}}},{colorSaturation:[.35,.5],itemStyle:{borderWidth:0,gapWidth:1,borderColorSaturation:.6},label:{align:"center",verticalAlign:"middle",fontSize:20,formatter:e=>`${e.data.name}
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
- import { defineComponent as f, ref as u, computed as p, watch as m, onMounted as b, onUnmounted as h, openBlock as _, createElementBlock as g } from "vue";
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
+