hfn-components 0.5.0 → 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.
@@ -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 {
@@ -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.0",
3
+ "version": "0.5.2",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "module": "es/index.mjs",
@@ -20,10 +20,5 @@
20
20
  "vue": "^3.2.0",
21
21
  "echarts": "^5.5.1",
22
22
  "lodash.clonedeep": "^4.5.0"
23
- },
24
- "exports": {
25
- "./constants": {
26
- "import": "./es/constants/index.mjs"
27
- }
28
23
  }
29
24
  }