hfn-components 0.1.6 → 0.1.7

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.
@@ -86,6 +86,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
86
86
  $setup.noData ? (openBlock(), createElementBlock("div", _hoisted_5, "\u6682\u65E0\u6570\u636E")) : createCommentVNode("v-if", true)
87
87
  ]);
88
88
  }
89
- var chart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/chart/src/HtChart.vue"]]);
89
+ var chart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/chart/src/HtChart.vue"]]);
90
90
 
91
91
  export { chart as default };
@@ -604,6 +604,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
604
604
  readonly TABLE_KEY: {
605
605
  readonly index: "序号";
606
606
  readonly year: "年份";
607
+ readonly fundName: "基金名称";
607
608
  readonly cucmulativeReturn: "区间收益";
608
609
  readonly excessReturn: "超额区间收益";
609
610
  readonly vol: "年化波动率";
@@ -616,12 +617,15 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
616
617
  readonly excessSortinoRatio: "超额索提诺比率";
617
618
  readonly downsideDev: "下行风险";
618
619
  readonly excessDownsideDev: "超额下行风险";
620
+ readonly interval: "最大回撤起止区间";
619
621
  readonly maxDrawdown: "最大回撤";
620
622
  readonly excessMaxDrawdown: "超额最大回撤";
621
623
  readonly maxDrawdownDays: "最大回撤回补期(天)";
622
624
  readonly excessMaxDrawdownDays: "超额最大回撤回补期(天)";
623
625
  readonly maxNormalDays: "最长连续不创新高天数(天)";
624
626
  readonly excessMaxNormalDays: "超额最长连续不创新高天数(天)";
627
+ readonly annualReturn: "年化收益";
628
+ readonly excessAnnualReturn: "超额年化收益";
625
629
  readonly corr: "相关系数";
626
630
  readonly informationRatio: "信息比率";
627
631
  readonly trackingError: "跟踪误差";
@@ -630,6 +634,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
630
634
  readonly skew: "偏度";
631
635
  readonly kurt: "峰度";
632
636
  readonly cVaR: "VaR(95%置信)";
637
+ readonly indexReturns: "同期指数收益";
633
638
  readonly '01': "1月";
634
639
  readonly '02': "2月";
635
640
  readonly '03': "3月";
@@ -30,6 +30,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
30
30
  /* TEXT */
31
31
  ));
32
32
  }
33
- var ColumnDeal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/elTable/src/columnDeal.vue"]]);
33
+ var ColumnDeal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/elTable/src/columnDeal.vue"]]);
34
34
 
35
35
  export { ColumnDeal as default };
@@ -4,6 +4,7 @@ export interface ElTableColumns {
4
4
  key: clounmKyeType;
5
5
  dealType: dealKeyType;
6
6
  width: string | number;
7
+ customizeLabel?: string;
7
8
  }
8
9
  export declare const elTableProps: {
9
10
  readonly dataSource: {
@@ -604,6 +604,7 @@ declare const _default: import("vue").DefineComponent<{
604
604
  readonly TABLE_KEY: {
605
605
  readonly index: "序号";
606
606
  readonly year: "年份";
607
+ readonly fundName: "基金名称";
607
608
  readonly cucmulativeReturn: "区间收益";
608
609
  readonly excessReturn: "超额区间收益";
609
610
  readonly vol: "年化波动率";
@@ -616,12 +617,15 @@ declare const _default: import("vue").DefineComponent<{
616
617
  readonly excessSortinoRatio: "超额索提诺比率";
617
618
  readonly downsideDev: "下行风险";
618
619
  readonly excessDownsideDev: "超额下行风险";
620
+ readonly interval: "最大回撤起止区间";
619
621
  readonly maxDrawdown: "最大回撤";
620
622
  readonly excessMaxDrawdown: "超额最大回撤";
621
623
  readonly maxDrawdownDays: "最大回撤回补期(天)";
622
624
  readonly excessMaxDrawdownDays: "超额最大回撤回补期(天)";
623
625
  readonly maxNormalDays: "最长连续不创新高天数(天)";
624
626
  readonly excessMaxNormalDays: "超额最长连续不创新高天数(天)";
627
+ readonly annualReturn: "年化收益";
628
+ readonly excessAnnualReturn: "超额年化收益";
625
629
  readonly corr: "相关系数";
626
630
  readonly informationRatio: "信息比率";
627
631
  readonly trackingError: "跟踪误差";
@@ -630,6 +634,7 @@ declare const _default: import("vue").DefineComponent<{
630
634
  readonly skew: "偏度";
631
635
  readonly kurt: "峰度";
632
636
  readonly cVaR: "VaR(95%置信)";
637
+ readonly indexReturns: "同期指数收益";
633
638
  readonly '01': "1月";
634
639
  readonly '02': "2月";
635
640
  readonly '03': "3月";
@@ -23,7 +23,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
23
23
  resizable: "",
24
24
  key: item.key,
25
25
  prop: item.key,
26
- label: $setup.TABLE_KEY[item.key],
26
+ label: item.customizeLabel ? item.customizeLabel : $setup.TABLE_KEY[item.key],
27
27
  width: item.width
28
28
  }, {
29
29
  default: withCtx((scope) => [
@@ -46,6 +46,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46
46
  [$setup["vLoading"], $setup.props.loading]
47
47
  ]);
48
48
  }
49
- var elTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/elTable/src/elTable.vue"]]);
49
+ var elTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/elTable/src/elTable.vue"]]);
50
50
 
51
51
  export { elTable 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/libiluo/Desktop/company/component-library/packages/components/table/HtTable.vue"]]);
447
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/table/HtTable.vue"]]);
448
448
 
449
449
  export { Table as default };
@@ -1,6 +1,7 @@
1
1
  export declare const TABLE_KEY: {
2
2
  readonly index: "序号";
3
3
  readonly year: "年份";
4
+ readonly fundName: "基金名称";
4
5
  readonly cucmulativeReturn: "区间收益";
5
6
  readonly excessReturn: "超额区间收益";
6
7
  readonly vol: "年化波动率";
@@ -13,12 +14,15 @@ export declare const TABLE_KEY: {
13
14
  readonly excessSortinoRatio: "超额索提诺比率";
14
15
  readonly downsideDev: "下行风险";
15
16
  readonly excessDownsideDev: "超额下行风险";
17
+ readonly interval: "最大回撤起止区间";
16
18
  readonly maxDrawdown: "最大回撤";
17
19
  readonly excessMaxDrawdown: "超额最大回撤";
18
20
  readonly maxDrawdownDays: "最大回撤回补期(天)";
19
21
  readonly excessMaxDrawdownDays: "超额最大回撤回补期(天)";
20
22
  readonly maxNormalDays: "最长连续不创新高天数(天)";
21
23
  readonly excessMaxNormalDays: "超额最长连续不创新高天数(天)";
24
+ readonly annualReturn: "年化收益";
25
+ readonly excessAnnualReturn: "超额年化收益";
22
26
  readonly corr: "相关系数";
23
27
  readonly informationRatio: "信息比率";
24
28
  readonly trackingError: "跟踪误差";
@@ -27,6 +31,7 @@ export declare const TABLE_KEY: {
27
31
  readonly skew: "偏度";
28
32
  readonly kurt: "峰度";
29
33
  readonly cVaR: "VaR(95%置信)";
34
+ readonly indexReturns: "同期指数收益";
30
35
  readonly '01': "1月";
31
36
  readonly '02': "2月";
32
37
  readonly '03': "3月";
@@ -1,6 +1,7 @@
1
1
  const TABLE_KEY = {
2
2
  index: "\u5E8F\u53F7",
3
3
  year: "\u5E74\u4EFD",
4
+ fundName: "\u57FA\u91D1\u540D\u79F0",
4
5
  cucmulativeReturn: "\u533A\u95F4\u6536\u76CA",
5
6
  excessReturn: "\u8D85\u989D\u533A\u95F4\u6536\u76CA",
6
7
  vol: "\u5E74\u5316\u6CE2\u52A8\u7387",
@@ -13,12 +14,15 @@ const TABLE_KEY = {
13
14
  excessSortinoRatio: "\u8D85\u989D\u7D22\u63D0\u8BFA\u6BD4\u7387",
14
15
  downsideDev: "\u4E0B\u884C\u98CE\u9669",
15
16
  excessDownsideDev: "\u8D85\u989D\u4E0B\u884C\u98CE\u9669",
17
+ interval: "\u6700\u5927\u56DE\u64A4\u8D77\u6B62\u533A\u95F4",
16
18
  maxDrawdown: "\u6700\u5927\u56DE\u64A4",
17
19
  excessMaxDrawdown: "\u8D85\u989D\u6700\u5927\u56DE\u64A4",
18
20
  maxDrawdownDays: "\u6700\u5927\u56DE\u64A4\u56DE\u8865\u671F\uFF08\u5929\uFF09",
19
21
  excessMaxDrawdownDays: "\u8D85\u989D\u6700\u5927\u56DE\u64A4\u56DE\u8865\u671F\uFF08\u5929\uFF09",
20
22
  maxNormalDays: "\u6700\u957F\u8FDE\u7EED\u4E0D\u521B\u65B0\u9AD8\u5929\u6570\uFF08\u5929\uFF09",
21
23
  excessMaxNormalDays: "\u8D85\u989D\u6700\u957F\u8FDE\u7EED\u4E0D\u521B\u65B0\u9AD8\u5929\u6570\uFF08\u5929\uFF09",
24
+ annualReturn: "\u5E74\u5316\u6536\u76CA",
25
+ excessAnnualReturn: "\u8D85\u989D\u5E74\u5316\u6536\u76CA",
22
26
  corr: "\u76F8\u5173\u7CFB\u6570",
23
27
  informationRatio: "\u4FE1\u606F\u6BD4\u7387",
24
28
  trackingError: "\u8DDF\u8E2A\u8BEF\u5DEE",
@@ -27,6 +31,7 @@ const TABLE_KEY = {
27
31
  skew: "\u504F\u5EA6",
28
32
  kurt: "\u5CF0\u5EA6",
29
33
  cVaR: "VaR\uFF0895%\u7F6E\u4FE1\uFF09",
34
+ indexReturns: "\u540C\u671F\u6307\u6570\u6536\u76CA",
30
35
  "01": "1\u6708",
31
36
  "02": "2\u6708",
32
37
  "03": "3\u6708",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hfn-components",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "module": "es/index.mjs",