hfn-components 0.5.3 → 0.5.5
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.
- package/dist/index.css +1 -1
- package/es/components/elTable/index.d.ts +6 -2
- package/es/components/elTable/src/elTable.vue.d.ts +6 -2
- package/es/components/htTarget/src/htTarget.vue.mjs +2 -2
- package/es/components/table/HtTable.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +2 -2
- package/es/constants/table.d.ts +4 -0
- package/es/constants/table.mjs +7 -1
- package/package.json +1 -1
- package/theme-chalk/ht-target.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/target.scss +13 -0
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{
|
|
1
|
+
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{width:33.33%}.check_item,.factor_item{display:flex;margin-bottom:10px}.check_item{justify-content:space-between}.flex-alignCnter{align-items:center;cursor:pointer;display:flex}.target-head{display:grid;grid:auto/repeat(5,1fr)}.flow-col{border-left:1px solid #e8e8e8;height:520px;overflow-y:auto;padding-left:10px}
|
|
@@ -21,9 +21,9 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
|
|
|
21
21
|
key: string;
|
|
22
22
|
}[]>;
|
|
23
23
|
props: import("@vue/shared").LooseRequired<{
|
|
24
|
-
readonly loading: boolean;
|
|
25
24
|
readonly dataSource: unknown[];
|
|
26
25
|
readonly tableColumn: import("./src/elTable").ElTableColumns[];
|
|
26
|
+
readonly loading: boolean;
|
|
27
27
|
readonly headerColor: string;
|
|
28
28
|
} & {}>;
|
|
29
29
|
readonly ElTable: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -708,6 +708,10 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
|
|
|
708
708
|
readonly range_contribute: "组合净值贡献度";
|
|
709
709
|
readonly return_money_contribute: "组合收益贡献度";
|
|
710
710
|
readonly money_name: "金额(元)";
|
|
711
|
+
readonly range_date: "统计区间";
|
|
712
|
+
readonly price_cnw: "累计净值";
|
|
713
|
+
readonly price_cw_nav: "复权净值";
|
|
714
|
+
readonly suspend_info: "停牌信息";
|
|
711
715
|
};
|
|
712
716
|
readonly convertKey: (data: any, key: string) => any;
|
|
713
717
|
readonly TARGET_END_KEY: {
|
|
@@ -797,9 +801,9 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
|
|
|
797
801
|
readonly default: "#f0f0f0";
|
|
798
802
|
};
|
|
799
803
|
}>>, {
|
|
800
|
-
readonly loading: boolean;
|
|
801
804
|
readonly dataSource: unknown[];
|
|
802
805
|
readonly tableColumn: import("./src/elTable").ElTableColumns[];
|
|
806
|
+
readonly loading: boolean;
|
|
803
807
|
readonly headerColor: string;
|
|
804
808
|
}, {}>> & Record<string, any>;
|
|
805
809
|
export default HtElTable;
|
|
@@ -21,9 +21,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
key: string;
|
|
22
22
|
}[]>;
|
|
23
23
|
props: import("@vue/shared").LooseRequired<{
|
|
24
|
-
readonly loading: boolean;
|
|
25
24
|
readonly dataSource: unknown[];
|
|
26
25
|
readonly tableColumn: import("./elTable").ElTableColumns[];
|
|
26
|
+
readonly loading: boolean;
|
|
27
27
|
readonly headerColor: string;
|
|
28
28
|
} & {}>;
|
|
29
29
|
readonly ElTable: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -708,6 +708,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
708
708
|
readonly range_contribute: "组合净值贡献度";
|
|
709
709
|
readonly return_money_contribute: "组合收益贡献度";
|
|
710
710
|
readonly money_name: "金额(元)";
|
|
711
|
+
readonly range_date: "统计区间";
|
|
712
|
+
readonly price_cnw: "累计净值";
|
|
713
|
+
readonly price_cw_nav: "复权净值";
|
|
714
|
+
readonly suspend_info: "停牌信息";
|
|
711
715
|
};
|
|
712
716
|
readonly convertKey: (data: any, key: string) => any;
|
|
713
717
|
readonly TARGET_END_KEY: {
|
|
@@ -797,9 +801,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
797
801
|
readonly default: "#f0f0f0";
|
|
798
802
|
};
|
|
799
803
|
}>>, {
|
|
800
|
-
readonly loading: boolean;
|
|
801
804
|
readonly dataSource: unknown[];
|
|
802
805
|
readonly tableColumn: import("./elTable").ElTableColumns[];
|
|
806
|
+
readonly loading: boolean;
|
|
803
807
|
readonly headerColor: string;
|
|
804
808
|
}, {}>;
|
|
805
809
|
export default _default;
|
|
@@ -91,7 +91,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
91
91
|
modelValue: $setup.selectedHead,
|
|
92
92
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $setup.selectedHead = $event),
|
|
93
93
|
onChange: $setup.headChange,
|
|
94
|
-
|
|
94
|
+
class: "target-head"
|
|
95
95
|
}, {
|
|
96
96
|
default: withCtx(() => [
|
|
97
97
|
(openBlock(true), createElementBlock(
|
|
@@ -193,7 +193,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
193
193
|
}),
|
|
194
194
|
createVNode($setup["ElCol"], {
|
|
195
195
|
span: 6,
|
|
196
|
-
|
|
196
|
+
class: "flow-col"
|
|
197
197
|
}, {
|
|
198
198
|
default: withCtx(() => [
|
|
199
199
|
(openBlock(true), createElementBlock(
|
|
@@ -108,11 +108,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
108
|
};
|
|
109
109
|
}, {
|
|
110
110
|
props: import("@vue/shared").LooseRequired<{
|
|
111
|
+
readonly dataSource: unknown[];
|
|
111
112
|
readonly loading: boolean;
|
|
112
113
|
readonly pageSize: number;
|
|
113
114
|
readonly total: number;
|
|
114
115
|
readonly columns: TableColumns[];
|
|
115
|
-
readonly dataSource: unknown[];
|
|
116
116
|
readonly selectedKeys: (string | number)[];
|
|
117
117
|
readonly actions: import("./HtTable").ActionItem[];
|
|
118
118
|
readonly nowPage: number;
|
|
@@ -1817,11 +1817,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1817
1817
|
onHandleSelectAll?: ((...args: any[]) => any) | undefined;
|
|
1818
1818
|
onResizeColumn?: ((...args: any[]) => any) | undefined;
|
|
1819
1819
|
}, {
|
|
1820
|
+
readonly dataSource: unknown[];
|
|
1820
1821
|
readonly loading: boolean;
|
|
1821
1822
|
readonly pageSize: number;
|
|
1822
1823
|
readonly total: number;
|
|
1823
1824
|
readonly columns: TableColumns[];
|
|
1824
|
-
readonly dataSource: unknown[];
|
|
1825
1825
|
readonly selectedKeys: (string | number)[];
|
|
1826
1826
|
readonly actions: import("./HtTable").ActionItem[];
|
|
1827
1827
|
readonly nowPage: number;
|
|
@@ -105,11 +105,11 @@ export declare const HtTable: import("hfn-components/es/utils").SFCWithInstall<i
|
|
|
105
105
|
};
|
|
106
106
|
}, {
|
|
107
107
|
props: import("@vue/shared").LooseRequired<{
|
|
108
|
+
readonly dataSource: unknown[];
|
|
108
109
|
readonly loading: boolean;
|
|
109
110
|
readonly pageSize: number;
|
|
110
111
|
readonly total: number;
|
|
111
112
|
readonly columns: import("./HtTable").TableColumns[];
|
|
112
|
-
readonly dataSource: unknown[];
|
|
113
113
|
readonly selectedKeys: (string | number)[];
|
|
114
114
|
readonly actions: import("./HtTable").ActionItem[];
|
|
115
115
|
readonly nowPage: number;
|
|
@@ -1814,11 +1814,11 @@ export declare const HtTable: import("hfn-components/es/utils").SFCWithInstall<i
|
|
|
1814
1814
|
onHandleSelectAll?: ((...args: any[]) => any) | undefined;
|
|
1815
1815
|
onResizeColumn?: ((...args: any[]) => any) | undefined;
|
|
1816
1816
|
}, {
|
|
1817
|
+
readonly dataSource: unknown[];
|
|
1817
1818
|
readonly loading: boolean;
|
|
1818
1819
|
readonly pageSize: number;
|
|
1819
1820
|
readonly total: number;
|
|
1820
1821
|
readonly columns: import("./HtTable").TableColumns[];
|
|
1821
|
-
readonly dataSource: unknown[];
|
|
1822
1822
|
readonly selectedKeys: (string | number)[];
|
|
1823
1823
|
readonly actions: import("./HtTable").ActionItem[];
|
|
1824
1824
|
readonly nowPage: number;
|
package/es/constants/table.d.ts
CHANGED
|
@@ -101,6 +101,10 @@ export declare const TABLE_KEY: {
|
|
|
101
101
|
readonly range_contribute: "组合净值贡献度";
|
|
102
102
|
readonly return_money_contribute: "组合收益贡献度";
|
|
103
103
|
readonly money_name: "金额(元)";
|
|
104
|
+
readonly range_date: "统计区间";
|
|
105
|
+
readonly price_cnw: "累计净值";
|
|
106
|
+
readonly price_cw_nav: "复权净值";
|
|
107
|
+
readonly suspend_info: "停牌信息";
|
|
104
108
|
};
|
|
105
109
|
export declare const CLOUMN_DEAL: {
|
|
106
110
|
basicText4: (val: number | string | undefined) => string;
|
package/es/constants/table.mjs
CHANGED
|
@@ -108,7 +108,13 @@ const TABLE_KEY = {
|
|
|
108
108
|
range_contribute: "\u7EC4\u5408\u51C0\u503C\u8D21\u732E\u5EA6",
|
|
109
109
|
return_money_contribute: "\u7EC4\u5408\u6536\u76CA\u8D21\u732E\u5EA6",
|
|
110
110
|
// 月度收益
|
|
111
|
-
money_name: "\u91D1\u989D\uFF08\u5143\uFF09"
|
|
111
|
+
money_name: "\u91D1\u989D\uFF08\u5143\uFF09",
|
|
112
|
+
// 估值表分析-收益分析-收益明细
|
|
113
|
+
range_date: "\u7EDF\u8BA1\u533A\u95F4",
|
|
114
|
+
// 持仓概览-fof底层
|
|
115
|
+
price_cnw: "\u7D2F\u8BA1\u51C0\u503C",
|
|
116
|
+
price_cw_nav: "\u590D\u6743\u51C0\u503C",
|
|
117
|
+
suspend_info: "\u505C\u724C\u4FE1\u606F"
|
|
112
118
|
};
|
|
113
119
|
const basicText4 = (val) => {
|
|
114
120
|
return typeof val !== "number" ? "-" : val.toFixed(4);
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{
|
|
1
|
+
.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{width:33.33%}.check_item,.factor_item{display:flex;margin-bottom:10px}.check_item{justify-content:space-between}.flex-alignCnter{align-items:center;cursor:pointer;display:flex}.target-head{display:grid;grid:auto/repeat(5,1fr)}.flow-col{border-left:1px solid #e8e8e8;height:520px;overflow-y:auto;padding-left:10px}
|
package/theme-chalk/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{
|
|
1
|
+
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{width:33.33%}.check_item,.factor_item{display:flex;margin-bottom:10px}.check_item{justify-content:space-between}.flex-alignCnter{align-items:center;cursor:pointer;display:flex}.target-head{display:grid;grid:auto/repeat(5,1fr)}.flow-col{border-left:1px solid #e8e8e8;height:520px;overflow-y:auto;padding-left:10px}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
.check_item {
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: space-between;
|
|
20
|
+
margin-bottom: 10px;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.flex-alignCnter {
|
|
@@ -24,3 +25,15 @@
|
|
|
24
25
|
align-items: center;
|
|
25
26
|
cursor: pointer;
|
|
26
27
|
}
|
|
28
|
+
|
|
29
|
+
.target-head {
|
|
30
|
+
display: grid;
|
|
31
|
+
grid: auto / repeat(5, 1fr)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flow-col {
|
|
35
|
+
height: 520px;
|
|
36
|
+
overflow-y: auto;
|
|
37
|
+
border-left: 1px solid #e8e8e8;
|
|
38
|
+
padding-left: 10px;
|
|
39
|
+
}
|