st-comp 0.0.71 → 0.0.73

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 (95) hide show
  1. package/{lib/ChartLayout.cjs.js → es/ChartLayout.cjs} +1 -1
  2. package/{lib/ChartLayout.es.js → es/ChartLayout.js} +13 -10
  3. package/{lib/Dialog.cjs.js → es/Dialog.cjs} +1 -1
  4. package/{lib/Dialog.es.js → es/Dialog.js} +20 -17
  5. package/es/HeatMap.cjs +1 -0
  6. package/{lib/HeatMap.es.js → es/HeatMap.js} +18 -15
  7. package/{lib/Kline.es.js → es/Kline.js} +82 -82
  8. package/{lib/KlineNew.cjs.js → es/KlineNew.cjs} +1 -1
  9. package/{lib/LinearLegend.cjs.js → es/LinearLegend.cjs} +1 -1
  10. package/{lib/LinearLegend.es.js → es/LinearLegend.js} +14 -11
  11. package/{lib/Map.cjs.js → es/Map.cjs} +1 -1
  12. package/{lib/Map.es.js → es/Map.js} +7 -4
  13. package/es/Pagination.cjs +1 -0
  14. package/{lib/Pagination.es.js → es/Pagination.js} +124 -121
  15. package/{lib/Pie.cjs.js → es/Pie.cjs} +2 -2
  16. package/{lib/Pie.es.js → es/Pie.js} +11 -8
  17. package/{lib/Table.cjs.js → es/Table.cjs} +3 -3
  18. package/{lib/Table.es.js → es/Table.js} +7 -4
  19. package/{lib/TreeMap.cjs.js → es/TreeMap.cjs} +2 -2
  20. package/{lib/TreeMap.es.js → es/TreeMap.js} +19 -16
  21. package/{lib/VarietySearch.cjs.js → es/VarietySearch.cjs} +2 -2
  22. package/{lib/VarietySearch.es.js → es/VarietySearch.js} +7 -4
  23. package/{lib/VirtualTable.cjs.js → es/VirtualTable.cjs} +5 -5
  24. package/{lib/VirtualTable.es.js → es/VirtualTable.js} +111 -108
  25. package/es/style.css +1 -0
  26. package/es/talib.wasm +0 -0
  27. package/es/vite.svg +1 -0
  28. package/lib/bundle.js +144426 -0
  29. package/lib/bundle.umd.cjs +139 -0
  30. package/lib/style.css +1 -1
  31. package/package.json +6 -4
  32. package/packages/ChartLayout/index.ts +7 -5
  33. package/packages/Dialog/index.ts +7 -5
  34. package/packages/HeatMap/index.ts +7 -5
  35. package/packages/LinearLegend/index.ts +7 -5
  36. package/packages/Map/index.ts +7 -5
  37. package/packages/Pagination/index.ts +7 -5
  38. package/packages/Pie/index.ts +7 -5
  39. package/packages/Table/index.ts +7 -5
  40. package/packages/TreeMap/index.ts +7 -5
  41. package/packages/VarietySearch/index.ts +7 -5
  42. package/packages/VirtualTable/index.ts +7 -5
  43. package/vitePlugins/createExportFile.ts +7 -5
  44. package/lib/HeatMap.cjs.js +0 -1
  45. package/lib/Pagination.cjs.js +0 -1
  46. package/lib/bundle.cjs.js +0 -1
  47. package/lib/bundle.es.js +0 -46
  48. /package/{lib/Kline.cjs.js → es/Kline.cjs} +0 -0
  49. /package/{lib/KlineNew.es.js → es/KlineNew.js} +0 -0
  50. /package/{lib → es}/_commonjsHelpers-10dfc225.js +0 -0
  51. /package/{lib → es}/_commonjsHelpers-87b0abe8.cjs +0 -0
  52. /package/{lib → es}/_plugin-vue_export-helper-dad06003.js +0 -0
  53. /package/{lib → es}/_plugin-vue_export-helper-f246444f.cjs +0 -0
  54. /package/{lib → es}/base-4865d432.cjs +0 -0
  55. /package/{lib → es}/base-a240bf62.js +0 -0
  56. /package/{lib → es}/bundle.umd-4967d574.js +0 -0
  57. /package/{lib → es}/bundle.umd-c5698c50.cjs +0 -0
  58. /package/{lib → es}/castArray-3341cbb4.cjs +0 -0
  59. /package/{lib → es}/castArray-a723a736.js +0 -0
  60. /package/{lib → es}/config-provider-3db4dac6.js +0 -0
  61. /package/{lib → es}/config-provider-cf4edc1e.cjs +0 -0
  62. /package/{lib → es}/el-button-c24606d0.cjs +0 -0
  63. /package/{lib → es}/el-button-fa6a5742.js +0 -0
  64. /package/{lib → es}/el-empty-282e5e93.js +0 -0
  65. /package/{lib → es}/el-empty-608948d9.cjs +0 -0
  66. /package/{lib → es}/el-icon-7718f55e.cjs +0 -0
  67. /package/{lib → es}/el-icon-d9ef9ccc.js +0 -0
  68. /package/{lib → es}/el-overlay-7fceb816.cjs +0 -0
  69. /package/{lib → es}/el-overlay-9b7bdd18.js +0 -0
  70. /package/{lib → es}/el-scrollbar-7dc53299.js +0 -0
  71. /package/{lib → es}/el-scrollbar-bc381e35.cjs +0 -0
  72. /package/{lib → es}/el-select-85ed2643.js +0 -0
  73. /package/{lib → es}/el-select-a50741c1.cjs +0 -0
  74. /package/{lib → es}/el-tag-308f715a.js +0 -0
  75. /package/{lib → es}/el-tag-87fd3960.cjs +0 -0
  76. /package/{lib → es}/el-tooltip-0ea8fbf8.cjs +0 -0
  77. /package/{lib → es}/el-tooltip-4ed993c7.js +0 -0
  78. /package/{lib → es}/focus-trap-2a734f35.cjs +0 -0
  79. /package/{lib → es}/focus-trap-6922b96b.js +0 -0
  80. /package/{lib → es}/index-1508a06b.js +0 -0
  81. /package/{lib → es}/index-48a9f60d.cjs +0 -0
  82. /package/{lib → es}/index-657047bb.js +0 -0
  83. /package/{lib → es}/index-eea0bcb3.cjs +0 -0
  84. /package/{lib → es}/index.esm-8d9a2abe.js +0 -0
  85. /package/{lib → es}/index.esm-94a95a2a.cjs +0 -0
  86. /package/{lib → es}/raf-5e5c53db.cjs +0 -0
  87. /package/{lib → es}/raf-fc8a56cf.js +0 -0
  88. /package/{lib → es}/scroll-bb8039ba.cjs +0 -0
  89. /package/{lib → es}/scroll-cfdae01b.js +0 -0
  90. /package/{lib → es}/typescript-7ae59c4c.js +0 -0
  91. /package/{lib → es}/typescript-b63f8e83.cjs +0 -0
  92. /package/{lib → es}/vnode-a9714179.js +0 -0
  93. /package/{lib → es}/vnode-abafec9e.cjs +0 -0
  94. /package/{lib → es}/zh-cn-92978806.js +0 -0
  95. /package/{lib → es}/zh-cn-d4df7172.cjs +0 -0
@@ -1 +1 @@
1
- "use strict";require("./base-4865d432.cjs");const r=require("./el-empty-608948d9.cjs"),t=require("vue"),o=require("./_plugin-vue_export-helper-f246444f.cjs");const u={__name:"index",props:{data:{type:Array,default:()=>[]},spacing:{type:Number,default:()=>2},row:{type:Number,default:()=>3},col:{type:Number,default:()=>3},emptyText:{type:String,default:()=>"暂无数据"}},setup(e){return(n,d)=>{const l=r.ElEmpty;return e.data&&e.data.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:"chartLayout",style:t.normalizeStyle({width:`calc(100% + ${e.spacing}px)`,height:`calc(100% + ${e.spacing}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.data.slice(0,e.col*e.row),(a,i)=>(t.openBlock(),t.createElementBlock("div",{key:a.key,class:"chartLayout-item",style:t.normalizeStyle({margin:`0 ${e.spacing}px ${e.spacing}px 0`,width:`calc(100% / ${e.row} - ${e.spacing}px)`,height:`calc(100% / ${e.col} - ${e.spacing}px)`})},[t.renderSlot(n.$slots,"default",{data:a,index:i},void 0,!0)],4))),128))],4)):(t.openBlock(),t.createBlock(l,{key:1,description:e.emptyText,style:{height:"80%"}},null,8,["description"]))}}},c=o._export_sfc(u,[["__scopeId","data-v-578f611c"]]);c.install=e=>{e.component("st-chartLayout",c)};module.exports=c;
1
+ "use strict";require("./base-4865d432.cjs");const o=require("./el-empty-608948d9.cjs"),t=require("vue"),r=require("./_plugin-vue_export-helper-f246444f.cjs");const u={__name:"index",props:{data:{type:Array,default:()=>[]},spacing:{type:Number,default:()=>2},row:{type:Number,default:()=>3},col:{type:Number,default:()=>3},emptyText:{type:String,default:()=>"暂无数据"}},setup(e){return(a,s)=>{const l=o.ElEmpty;return e.data&&e.data.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:"chartLayout",style:t.normalizeStyle({width:`calc(100% + ${e.spacing}px)`,height:`calc(100% + ${e.spacing}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.data.slice(0,e.col*e.row),(c,i)=>(t.openBlock(),t.createElementBlock("div",{key:c.key,class:"chartLayout-item",style:t.normalizeStyle({margin:`0 ${e.spacing}px ${e.spacing}px 0`,width:`calc(100% / ${e.row} - ${e.spacing}px)`,height:`calc(100% / ${e.col} - ${e.spacing}px)`})},[t.renderSlot(a.$slots,"default",{data:c,index:i},void 0,!0)],4))),128))],4)):(t.openBlock(),t.createBlock(l,{key:1,description:e.emptyText,style:{height:"80%"}},null,8,["description"]))}}},n=r._export_sfc(u,[["__scopeId","data-v-578f611c"]]),d={install(e){e.component("st-chartLayout",n)},componentName:"st-chartLayout",component:n};module.exports=d;
@@ -1,6 +1,6 @@
1
1
  import "./base-a240bf62.js";
2
- import { E as o } from "./el-empty-282e5e93.js";
3
- import { openBlock as e, createElementBlock as a, normalizeStyle as n, Fragment as u, renderList as y, renderSlot as s, createBlock as m } from "vue";
2
+ import { E as r } from "./el-empty-282e5e93.js";
3
+ import { openBlock as e, createElementBlock as a, normalizeStyle as n, Fragment as u, renderList as m, renderSlot as s, createBlock as y } from "vue";
4
4
  import { _ as f } from "./_plugin-vue_export-helper-dad06003.js";
5
5
  const g = {
6
6
  __name: "index",
@@ -32,7 +32,7 @@ const g = {
32
32
  },
33
33
  setup(t) {
34
34
  return (i, h) => {
35
- const d = o;
35
+ const o = r;
36
36
  return t.data && t.data.length ? (e(), a("div", {
37
37
  key: 0,
38
38
  class: "chartLayout",
@@ -41,7 +41,7 @@ const g = {
41
41
  height: `calc(100% + ${t.spacing}px)`
42
42
  })
43
43
  }, [
44
- (e(!0), a(u, null, y(t.data.slice(0, t.col * t.row), (c, r) => (e(), a("div", {
44
+ (e(!0), a(u, null, m(t.data.slice(0, t.col * t.row), (c, d) => (e(), a("div", {
45
45
  key: c.key,
46
46
  class: "chartLayout-item",
47
47
  style: n({
@@ -52,20 +52,23 @@ const g = {
52
52
  }, [
53
53
  s(i.$slots, "default", {
54
54
  data: c,
55
- index: r
55
+ index: d
56
56
  }, void 0, !0)
57
57
  ], 4))), 128))
58
- ], 4)) : (e(), m(d, {
58
+ ], 4)) : (e(), y(o, {
59
59
  key: 1,
60
60
  description: t.emptyText,
61
61
  style: { height: "80%" }
62
62
  }, null, 8, ["description"]));
63
63
  };
64
64
  }
65
- }, l = /* @__PURE__ */ f(g, [["__scopeId", "data-v-578f611c"]]);
66
- l.install = (t) => {
67
- t.component("st-chartLayout", l);
65
+ }, l = /* @__PURE__ */ f(g, [["__scopeId", "data-v-578f611c"]]), L = {
66
+ install(t) {
67
+ t.component("st-chartLayout", l);
68
+ },
69
+ componentName: "st-chartLayout",
70
+ component: l
68
71
  };
69
72
  export {
70
- l as default
73
+ L as default
71
74
  };
@@ -1 +1 @@
1
- "use strict";require("./base-4865d432.cjs");const s=require("./zh-cn-d4df7172.cjs"),V=require("./el-overlay-7fceb816.cjs"),C=require("./el-button-c24606d0.cjs"),e=require("vue");require("./config-provider-cf4edc1e.cjs");require("./focus-trap-2a734f35.cjs");require("./index-48a9f60d.cjs");require("./vnode-abafec9e.cjs");require("./scroll-bb8039ba.cjs");require("./index-eea0bcb3.cjs");const _=e.createElementVNode("span",null,"This is a message",-1),q={class:"dialog-footer"},i=e.defineComponent({__name:"index",props:{modelValue:{type:Boolean,required:!0},title:{type:String,default:()=>""},style:{type:String,default:()=>""}},emits:["update:modelValue"],setup(o,{emit:d}){const a=d,c=o,l=e.computed({get(){return c.modelValue},set(n){a("update:modelValue",n)}}),m=n=>{a("update:modelValue",!1)};return(n,t)=>{const u=C.ElButton,p=V.ElDialog,f=s.ElConfigProvider;return e.openBlock(),e.createBlock(f,{locale:e.unref(s.zhCn)},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:l.value,"onUpdate:modelValue":t[2]||(t[2]=r=>l.value=r),title:o.title,width:"30%","before-close":m,style:e.normalizeStyle(o.style)},{footer:e.withCtx(()=>[e.createElementVNode("span",q,[e.createVNode(u,{onClick:t[0]||(t[0]=r=>l.value=!1)},{default:e.withCtx(()=>[e.createTextVNode("Cancel")]),_:1}),e.createVNode(u,{type:"primary",onClick:t[1]||(t[1]=r=>l.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(" Confirm ")]),_:1})])]),default:e.withCtx(()=>[_]),_:1},8,["modelValue","title","style"])]),_:1},8,["locale"])}}});i.install=o=>{o.component("st-dialog",i)};module.exports=i;
1
+ "use strict";require("./base-4865d432.cjs");const u=require("./zh-cn-d4df7172.cjs"),V=require("./el-overlay-7fceb816.cjs"),C=require("./el-button-c24606d0.cjs"),e=require("vue");require("./config-provider-cf4edc1e.cjs");require("./focus-trap-2a734f35.cjs");require("./index-48a9f60d.cjs");require("./vnode-abafec9e.cjs");require("./scroll-bb8039ba.cjs");require("./index-eea0bcb3.cjs");const _=e.createElementVNode("span",null,"This is a message",-1),q={class:"dialog-footer"},s=e.defineComponent({__name:"index",props:{modelValue:{type:Boolean,required:!0},title:{type:String,default:()=>""},style:{type:String,default:()=>""}},emits:["update:modelValue"],setup(o,{emit:d}){const i=d,c=o,l=e.computed({get(){return c.modelValue},set(n){i("update:modelValue",n)}}),m=n=>{i("update:modelValue",!1)};return(n,t)=>{const a=C.ElButton,p=V.ElDialog,f=u.ElConfigProvider;return e.openBlock(),e.createBlock(f,{locale:e.unref(u.zhCn)},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:l.value,"onUpdate:modelValue":t[2]||(t[2]=r=>l.value=r),title:o.title,width:"30%","before-close":m,style:e.normalizeStyle(o.style)},{footer:e.withCtx(()=>[e.createElementVNode("span",q,[e.createVNode(a,{onClick:t[0]||(t[0]=r=>l.value=!1)},{default:e.withCtx(()=>[e.createTextVNode("Cancel")]),_:1}),e.createVNode(a,{type:"primary",onClick:t[1]||(t[1]=r=>l.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(" Confirm ")]),_:1})])]),default:e.withCtx(()=>[_]),_:1},8,["modelValue","title","style"])]),_:1},8,["locale"])}}}),g={install(o){o.component("st-dialog",s)},componentName:"st-dialog",component:s};module.exports=g;
@@ -1,15 +1,15 @@
1
1
  import "./base-a240bf62.js";
2
- import { z as g, E as y } from "./zh-cn-92978806.js";
2
+ import { z as V, E as y } from "./zh-cn-92978806.js";
3
3
  import { E as v } from "./el-overlay-9b7bdd18.js";
4
4
  import { E as C } from "./el-button-fa6a5742.js";
5
- import { defineComponent as E, computed as x, openBlock as k, createBlock as B, unref as b, withCtx as o, createVNode as i, normalizeStyle as z, createElementVNode as u, createTextVNode as m } from "vue";
5
+ import { defineComponent as E, computed as x, openBlock as k, createBlock as B, unref as N, withCtx as o, createVNode as i, normalizeStyle as b, createElementVNode as p, createTextVNode as m } from "vue";
6
6
  import "./config-provider-3db4dac6.js";
7
7
  import "./focus-trap-6922b96b.js";
8
8
  import "./index-1508a06b.js";
9
9
  import "./vnode-a9714179.js";
10
10
  import "./scroll-cfdae01b.js";
11
11
  import "./index-657047bb.js";
12
- const N = /* @__PURE__ */ u("span", null, "This is a message", -1), S = { class: "dialog-footer" }, d = /* @__PURE__ */ E({
12
+ const z = /* @__PURE__ */ p("span", null, "This is a message", -1), S = { class: "dialog-footer" }, d = /* @__PURE__ */ E({
13
13
  __name: "index",
14
14
  props: {
15
15
  modelValue: {
@@ -26,31 +26,31 @@ const N = /* @__PURE__ */ u("span", null, "This is a message", -1), S = { class:
26
26
  }
27
27
  },
28
28
  emits: ["update:modelValue"],
29
- setup(t, { emit: p }) {
30
- const r = p, f = t, l = x({
29
+ setup(t, { emit: u }) {
30
+ const r = u, c = t, l = x({
31
31
  get() {
32
- return f.modelValue;
32
+ return c.modelValue;
33
33
  },
34
34
  set(n) {
35
35
  r("update:modelValue", n);
36
36
  }
37
- }), c = (n) => {
37
+ }), f = (n) => {
38
38
  r("update:modelValue", !1);
39
39
  };
40
40
  return (n, e) => {
41
- const s = C, _ = v, V = y;
42
- return k(), B(V, { locale: b(g) }, {
41
+ const s = C, _ = v, g = y;
42
+ return k(), B(g, { locale: N(V) }, {
43
43
  default: o(() => [
44
44
  i(_, {
45
45
  modelValue: l.value,
46
46
  "onUpdate:modelValue": e[2] || (e[2] = (a) => l.value = a),
47
47
  title: t.title,
48
48
  width: "30%",
49
- "before-close": c,
50
- style: z(t.style)
49
+ "before-close": f,
50
+ style: b(t.style)
51
51
  }, {
52
52
  footer: o(() => [
53
- u("span", S, [
53
+ p("span", S, [
54
54
  i(s, {
55
55
  onClick: e[0] || (e[0] = (a) => l.value = !1)
56
56
  }, {
@@ -71,7 +71,7 @@ const N = /* @__PURE__ */ u("span", null, "This is a message", -1), S = { class:
71
71
  ])
72
72
  ]),
73
73
  default: o(() => [
74
- N
74
+ z
75
75
  ]),
76
76
  _: 1
77
77
  }, 8, ["modelValue", "title", "style"])
@@ -80,10 +80,13 @@ const N = /* @__PURE__ */ u("span", null, "This is a message", -1), S = { class:
80
80
  }, 8, ["locale"]);
81
81
  };
82
82
  }
83
- });
84
- d.install = (t) => {
85
- t.component("st-dialog", d);
83
+ }), G = {
84
+ install(t) {
85
+ t.component("st-dialog", d);
86
+ },
87
+ componentName: "st-dialog",
88
+ component: d
86
89
  };
87
90
  export {
88
- d as default
91
+ G as default
89
92
  };
package/es/HeatMap.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";const a=require("vue"),v=require("echarts"),y=require("./_plugin-vue_export-helper-f246444f.cjs");function h(e){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(c,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return c.default=e,Object.freeze(c)}const x=h(v),b=a.defineComponent({__name:"index",props:{data:{type:Object,default:()=>({})},config:{type:Object,default:()=>({})}},setup(e,{expose:c}){const r={tooltipFormatter:null,dataZoom:null,grid:{left:"60px",bottom:"20px",right:"0",top:0}};let o,l;const n=e,u=a.ref(),s=a.computed(()=>({...r,...n.config}));a.watch(()=>[n.data],()=>{i()},{deep:!0}),a.onMounted(()=>{o=x.init(u.value),i();let t=!0;l=new ResizeObserver(()=>{if(t){t=null;return}o.resize()}),l.observe(u.value)}),a.onUnmounted(()=>{o.dispose(),l.disconnect(),l=null});const i=()=>{o.setOption({tooltip:{confine:!0,formatter:s.value.tooltipFormatter?t=>s.value.tooltipFormatter(t,n.data):null},grid:s.value.grid,xAxis:{type:"category",data:n.data.date},yAxis:{type:"category",inverse:!0,data:n.data.data.map(t=>t.name)},visualMap:{type:"piecewise",show:!1,inRange:[]},dataZoom:s.value.dataZoom,series:[{name:"热力图",type:"heatmap",info:n.data,data:n.data.data.reduce((t,d,_)=>[...t,...d.data.reduce((f,p,g)=>p===null?f:[...f,{value:[g,_,p.value],itemStyle:{color:p.color}}],[])],[]),label:{show:!1}}]})};return c({reset:()=>{i()}}),(t,d)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"chartRef",ref:u,class:"chart"},null,512))}});const m=y._export_sfc(b,[["__scopeId","data-v-4c74604d"]]),O={install(e){e.component("st-heatMap",m)},componentName:"st-heatMap",component:m};module.exports=O;
@@ -1,6 +1,6 @@
1
- import { defineComponent as v, ref as g, computed as y, watch as h, onMounted as x, onUnmounted as b, openBlock as w, createElementBlock as R } from "vue";
2
- import * as F from "echarts";
3
- import { _ as M } from "./_plugin-vue_export-helper-dad06003.js";
1
+ import { defineComponent as v, ref as g, computed as h, watch as x, onMounted as y, onUnmounted as b, openBlock as w, createElementBlock as M } from "vue";
2
+ import * as R from "echarts";
3
+ import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
4
4
  const O = /* @__PURE__ */ v({
5
5
  __name: "index",
6
6
  props: {
@@ -15,7 +15,7 @@ const O = /* @__PURE__ */ v({
15
15
  }
16
16
  },
17
17
  setup(n, { expose: u }) {
18
- const f = {
18
+ const m = {
19
19
  tooltipFormatter: null,
20
20
  dataZoom: null,
21
21
  grid: {
@@ -26,15 +26,15 @@ const O = /* @__PURE__ */ v({
26
26
  }
27
27
  };
28
28
  let a, o;
29
- const t = n, l = g(), r = y(() => ({ ...f, ...t.config }));
30
- h(
29
+ const t = n, l = g(), r = h(() => ({ ...m, ...t.config }));
30
+ x(
31
31
  () => [t.data],
32
32
  () => {
33
33
  s();
34
34
  },
35
35
  { deep: !0 }
36
- ), x(() => {
37
- a = F.init(l.value), s();
36
+ ), y(() => {
37
+ a = R.init(l.value), s();
38
38
  let e = !0;
39
39
  o = new ResizeObserver(() => {
40
40
  if (e) {
@@ -75,12 +75,12 @@ const O = /* @__PURE__ */ v({
75
75
  name: "热力图",
76
76
  type: "heatmap",
77
77
  info: t.data,
78
- data: t.data.data.reduce((e, d, m) => [
78
+ data: t.data.data.reduce((e, d, f) => [
79
79
  ...e,
80
80
  ...d.data.reduce((i, c, _) => c === null ? i : [
81
81
  ...i,
82
82
  {
83
- value: [_, m, c.value],
83
+ value: [_, f, c.value],
84
84
  itemStyle: {
85
85
  color: c.color
86
86
  }
@@ -101,17 +101,20 @@ const O = /* @__PURE__ */ v({
101
101
  s();
102
102
  }
103
103
  // 重置
104
- }), (e, d) => (w(), R("div", {
104
+ }), (e, d) => (w(), M("div", {
105
105
  ref_key: "chartRef",
106
106
  ref: l,
107
107
  class: "chart"
108
108
  }, null, 512));
109
109
  }
110
110
  });
111
- const p = /* @__PURE__ */ M(O, [["__scopeId", "data-v-4c74604d"]]);
112
- p.install = (n) => {
113
- n.component("st-heatMap", p);
111
+ const p = /* @__PURE__ */ F(O, [["__scopeId", "data-v-4c74604d"]]), C = {
112
+ install(n) {
113
+ n.component("st-heatMap", p);
114
+ },
115
+ componentName: "st-heatMap",
116
+ component: p
114
117
  };
115
118
  export {
116
- p as default
119
+ C as default
117
120
  };