hfn-components 0.5.1 → 0.5.2

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.
@@ -85,6 +85,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
85
85
  $setup.noData ? (openBlock(), createElementBlock("div", _hoisted_5, "\u6682\u65E0\u6570\u636E")) : createCommentVNode("v-if", true)
86
86
  ]);
87
87
  }
88
- var chart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/chart/src/HtChart.vue"]]);
88
+ var chart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/chart/src/HtChart.vue"]]);
89
89
 
90
90
  export { chart as default };
@@ -37,6 +37,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
37
37
  /* TEXT */
38
38
  ));
39
39
  }
40
- var ColumnDeal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/elTable/src/columnDeal.vue"]]);
40
+ var ColumnDeal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/elTable/src/columnDeal.vue"]]);
41
41
 
42
42
  export { ColumnDeal as default };
@@ -103,6 +103,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
103
103
  [$setup["vLoading"], $setup.props.loading]
104
104
  ]);
105
105
  }
106
- var elTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/elTable/src/elTable.vue"]]);
106
+ var elTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/elTable/src/elTable.vue"]]);
107
107
 
108
108
  export { elTable as default };
@@ -231,6 +231,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
231
231
  }, 8, ["modelValue"])
232
232
  ]);
233
233
  }
234
- var htTarget = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/htTarget/src/htTarget.vue"]]);
234
+ var htTarget = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/htTarget/src/htTarget.vue"]]);
235
235
 
236
236
  export { htTarget as default };
@@ -49,7 +49,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
49
49
  );
50
50
  const headChange = () => {
51
51
  if (selectedHead.value === "thisWeek" || selectedHead.value === "thisMonth" || selectedHead.value === "pastWeek") {
52
- allfoot.value = cloneDeep(TARGET_END_KEY).splice(0, 2);
52
+ allfoot.value = cloneDeep(TARGET_END_KEY).filter((item) => item.key === "return" || item.key === "excessReturn");
53
53
  } else if (selectedHead.value === "lastOneMonth" || selectedHead.value === "lastThreeMonth" || selectedHead.value === "lastSixMonth") {
54
54
  allfoot.value = cloneDeep(TARGET_END_KEY).filter((item) => item.key !== "monthlyPositiveRatio");
55
55
  } else {
@@ -56,6 +56,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
56
56
  $setup.noData ? (openBlock(), createElementBlock("div", _hoisted_5, "\u6682\u65E0\u6570\u636E")) : createCommentVNode("v-if", true)
57
57
  ]);
58
58
  }
59
- var htPieChart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/pieChart/src/HtPieChart.vue"]]);
59
+ var htPieChart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/pieChart/src/HtPieChart.vue"]]);
60
60
 
61
61
  export { htPieChart as default };
@@ -444,6 +444,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
444
444
  /* STABLE_FRAGMENT */
445
445
  );
446
446
  }
447
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/table/HtTable.vue"]]);
447
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/table/HtTable.vue"]]);
448
448
 
449
449
  export { Table as default };
@@ -131,7 +131,6 @@ const useBasicPieConfig = (floatNumber = 2) => ({
131
131
  name: "",
132
132
  type: "pie",
133
133
  radius: ["40%", "70%"],
134
- avoidLabelOverlap: false,
135
134
  label: {
136
135
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
137
136
  formatter: function(params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hfn-components",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "module": "es/index.mjs",
package/es/css/index.css DELETED
@@ -1,59 +0,0 @@
1
- .echart-box {
2
- width: 100%;
3
- height: 100%;
4
- display: flex;
5
- flex-direction: column;
6
- position: relative;
7
- }
8
-
9
- .echart-content {
10
- flex: auto;
11
- }
12
-
13
- .echart-lenged {
14
- width: 100%;
15
- height: auto;
16
- margin-top: 6px;
17
- padding-right: 22px;
18
- box-sizing: border-box;
19
- display: flex;
20
- flex-wrap: wrap;
21
- font-size: 12px;
22
- position: relative;
23
- z-index: 999;
24
- }
25
-
26
- .bg-span {
27
- display: inline-block;
28
- width: 14px;
29
- height: 2px;
30
- margin-right: 6px;
31
- }
32
-
33
- .bg-span-bar {
34
- display: inline-block;
35
- width: 16px;
36
- height: 10px;
37
- border-radius: 2px;
38
- margin-right: 6px;
39
- }
40
-
41
- .span-box {
42
- margin-left: 5px;
43
- margin-right: 6px;
44
- cursor: pointer;
45
- display: flex;
46
- align-items: center;
47
- }
48
-
49
- .noData {
50
- width: 100%;
51
- height: 100%;
52
- font-size: 16px;
53
- display: flex;
54
- justify-content: center;
55
- align-items: center;
56
- position: absolute;
57
- bottom: 0px;
58
- color: #ccc;
59
- }