hfn-components 0.7.1 → 0.7.3
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/es/components/chart/index.d.ts +4 -4
- package/es/components/chart/src/HtChart.d.ts +1 -1
- package/es/components/chart/src/HtChart.vue.d.ts +3 -3
- package/es/components/htTable/index.d.ts +7 -7
- package/es/components/htTable/src/columnDeal.vue.d.ts +2 -2
- package/es/components/htTable/src/htTable.d.ts +1 -1
- package/es/components/htTable/src/htTable.vue.d.ts +2 -2
- package/es/components/htTable/src/htTable.vue.mjs +1 -1
- package/es/components/htTarget/index.d.ts +1 -1
- package/es/components/pieChart/index.d.ts +1 -1
- package/es/utils/chart.d.ts +1 -1
- package/es/utils/table.mjs +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HtChart: import("
|
|
1
|
+
export declare const HtChart: import("hfn-components/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
readonly chartData: {
|
|
3
3
|
readonly type: import("vue").PropType<any[]>;
|
|
4
4
|
readonly default: () => never[];
|
|
@@ -8,7 +8,7 @@ export declare const HtChart: import("./utils").SFCWithInstall<import("vue").Def
|
|
|
8
8
|
readonly default: "";
|
|
9
9
|
};
|
|
10
10
|
readonly chartType: {
|
|
11
|
-
readonly type: import("vue").PropType<import("
|
|
11
|
+
readonly type: import("vue").PropType<import("hfn-components/es/utils").chartType>;
|
|
12
12
|
readonly default: "";
|
|
13
13
|
};
|
|
14
14
|
readonly titleText: {
|
|
@@ -85,7 +85,7 @@ export declare const HtChart: import("./utils").SFCWithInstall<import("vue").Def
|
|
|
85
85
|
readonly default: "";
|
|
86
86
|
};
|
|
87
87
|
readonly chartType: {
|
|
88
|
-
readonly type: import("vue").PropType<import("
|
|
88
|
+
readonly type: import("vue").PropType<import("hfn-components/es/utils").chartType>;
|
|
89
89
|
readonly default: "";
|
|
90
90
|
};
|
|
91
91
|
readonly titleText: {
|
|
@@ -155,7 +155,7 @@ export declare const HtChart: import("./utils").SFCWithInstall<import("vue").Def
|
|
|
155
155
|
}>>, {
|
|
156
156
|
readonly chartData: any[];
|
|
157
157
|
readonly chartId: string;
|
|
158
|
-
readonly chartType: import("
|
|
158
|
+
readonly chartType: import("hfn-components/es/utils").chartType;
|
|
159
159
|
readonly titleText: string;
|
|
160
160
|
readonly titleText2: string;
|
|
161
161
|
readonly xAxisData: string[];
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
readonly default: "";
|
|
15
15
|
};
|
|
16
16
|
readonly chartType: {
|
|
17
|
-
readonly type: import("vue").PropType<import("
|
|
17
|
+
readonly type: import("vue").PropType<import("hfn-components/es/utils").chartType>;
|
|
18
18
|
readonly default: "";
|
|
19
19
|
};
|
|
20
20
|
readonly titleText: {
|
|
@@ -91,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
readonly default: "";
|
|
92
92
|
};
|
|
93
93
|
readonly chartType: {
|
|
94
|
-
readonly type: import("vue").PropType<import("
|
|
94
|
+
readonly type: import("vue").PropType<import("hfn-components/es/utils").chartType>;
|
|
95
95
|
readonly default: "";
|
|
96
96
|
};
|
|
97
97
|
readonly titleText: {
|
|
@@ -161,7 +161,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
161
161
|
}>>, {
|
|
162
162
|
readonly chartData: any[];
|
|
163
163
|
readonly chartId: string;
|
|
164
|
-
readonly chartType: import("
|
|
164
|
+
readonly chartType: import("hfn-components/es/utils").chartType;
|
|
165
165
|
readonly titleText: string;
|
|
166
166
|
readonly titleText2: string;
|
|
167
167
|
readonly xAxisData: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HtTable: import("
|
|
1
|
+
export declare const HtTable: import("hfn-components/es/utils").SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
3
3
|
readonly dataSource: {
|
|
4
4
|
readonly type: ArrayConstructor;
|
|
@@ -37,21 +37,21 @@ export declare const HtTable: import("./utils").SFCWithInstall<{
|
|
|
37
37
|
readonly default: undefined;
|
|
38
38
|
};
|
|
39
39
|
}>> & {
|
|
40
|
-
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
41
40
|
"onSort-change"?: ((args_0: {
|
|
42
41
|
field: string;
|
|
43
42
|
order: "ascending" | "descending" | null;
|
|
44
43
|
}) => any) | undefined;
|
|
45
44
|
"onFilter-change"?: ((args_0: Record<string, string[]>) => any) | undefined;
|
|
45
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
46
46
|
"onPage-change"?: ((current: number) => any) | undefined;
|
|
47
47
|
"onSize-change"?: ((pageSize: number) => any) | undefined;
|
|
48
48
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
-
"selection-change": (rows: any[]) => void;
|
|
50
49
|
"sort-change": (args_0: {
|
|
51
50
|
field: string;
|
|
52
51
|
order: "ascending" | "descending" | null;
|
|
53
52
|
}) => void;
|
|
54
53
|
"filter-change": (args_0: Record<string, string[]>) => void;
|
|
54
|
+
"selection-change": (rows: any[]) => void;
|
|
55
55
|
"page-change": (current: number) => void;
|
|
56
56
|
"size-change": (pageSize: number) => void;
|
|
57
57
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -92,12 +92,12 @@ export declare const HtTable: import("./utils").SFCWithInstall<{
|
|
|
92
92
|
readonly default: undefined;
|
|
93
93
|
};
|
|
94
94
|
}>> & {
|
|
95
|
-
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
96
95
|
"onSort-change"?: ((args_0: {
|
|
97
96
|
field: string;
|
|
98
97
|
order: "ascending" | "descending" | null;
|
|
99
98
|
}) => any) | undefined;
|
|
100
99
|
"onFilter-change"?: ((args_0: Record<string, string[]>) => any) | undefined;
|
|
100
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
101
101
|
"onPage-change"?: ((current: number) => any) | undefined;
|
|
102
102
|
"onSize-change"?: ((pageSize: number) => any) | undefined;
|
|
103
103
|
}, {
|
|
@@ -155,12 +155,12 @@ export declare const HtTable: import("./utils").SFCWithInstall<{
|
|
|
155
155
|
readonly default: undefined;
|
|
156
156
|
};
|
|
157
157
|
}>> & {
|
|
158
|
-
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
159
158
|
"onSort-change"?: ((args_0: {
|
|
160
159
|
field: string;
|
|
161
160
|
order: "ascending" | "descending" | null;
|
|
162
161
|
}) => any) | undefined;
|
|
163
162
|
"onFilter-change"?: ((args_0: Record<string, string[]>) => any) | undefined;
|
|
163
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
164
164
|
"onPage-change"?: ((current: number) => any) | undefined;
|
|
165
165
|
"onSize-change"?: ((pageSize: number) => any) | undefined;
|
|
166
166
|
}, {}, {}, {}, {}, {
|
|
@@ -215,21 +215,21 @@ export declare const HtTable: import("./utils").SFCWithInstall<{
|
|
|
215
215
|
readonly default: undefined;
|
|
216
216
|
};
|
|
217
217
|
}>> & {
|
|
218
|
-
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
219
218
|
"onSort-change"?: ((args_0: {
|
|
220
219
|
field: string;
|
|
221
220
|
order: "ascending" | "descending" | null;
|
|
222
221
|
}) => any) | undefined;
|
|
223
222
|
"onFilter-change"?: ((args_0: Record<string, string[]>) => any) | undefined;
|
|
223
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
224
224
|
"onPage-change"?: ((current: number) => any) | undefined;
|
|
225
225
|
"onSize-change"?: ((pageSize: number) => any) | undefined;
|
|
226
226
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
227
|
-
"selection-change": (rows: any[]) => void;
|
|
228
227
|
"sort-change": (args_0: {
|
|
229
228
|
field: string;
|
|
230
229
|
order: "ascending" | "descending" | null;
|
|
231
230
|
}) => void;
|
|
232
231
|
"filter-change": (args_0: Record<string, string[]>) => void;
|
|
232
|
+
"selection-change": (rows: any[]) => void;
|
|
233
233
|
"page-change": (current: number) => void;
|
|
234
234
|
"size-change": (pageSize: number) => void;
|
|
235
235
|
}, string, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
readonly dealType: {
|
|
3
|
-
readonly type: import("vue").PropType<import("
|
|
3
|
+
readonly type: import("vue").PropType<import("hfn-components/es/constants").dealKeyType>;
|
|
4
4
|
readonly default: "";
|
|
5
5
|
};
|
|
6
6
|
readonly text: {
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
};
|
|
18
18
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
readonly dealType: {
|
|
20
|
-
readonly type: import("vue").PropType<import("
|
|
20
|
+
readonly type: import("vue").PropType<import("hfn-components/es/constants").dealKeyType>;
|
|
21
21
|
readonly default: "";
|
|
22
22
|
};
|
|
23
23
|
readonly text: {
|
|
@@ -40,12 +40,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
40
40
|
readonly default: undefined;
|
|
41
41
|
};
|
|
42
42
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
-
"selection-change": (rows: any[]) => void;
|
|
44
43
|
"sort-change": (args_0: {
|
|
45
44
|
field: string;
|
|
46
45
|
order: "ascending" | "descending" | null;
|
|
47
46
|
}) => void;
|
|
48
47
|
"filter-change": (args_0: Record<string, string[]>) => void;
|
|
48
|
+
"selection-change": (rows: any[]) => void;
|
|
49
49
|
"page-change": (current: number) => void;
|
|
50
50
|
"size-change": (pageSize: number) => void;
|
|
51
51
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -86,12 +86,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
86
86
|
readonly default: undefined;
|
|
87
87
|
};
|
|
88
88
|
}>> & {
|
|
89
|
-
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
90
89
|
"onSort-change"?: ((args_0: {
|
|
91
90
|
field: string;
|
|
92
91
|
order: "ascending" | "descending" | null;
|
|
93
92
|
}) => any) | undefined;
|
|
94
93
|
"onFilter-change"?: ((args_0: Record<string, string[]>) => any) | undefined;
|
|
94
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
95
95
|
"onPage-change"?: ((current: number) => any) | undefined;
|
|
96
96
|
"onSize-change"?: ((pageSize: number) => any) | undefined;
|
|
97
97
|
}, {
|
|
@@ -132,7 +132,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
132
132
|
/* TEXT */
|
|
133
133
|
)) : item.dealType === "customSlot" ? renderSlot(_ctx.$slots, item.slot, {
|
|
134
134
|
key: 1,
|
|
135
|
-
text: item.dataKey ? scope.row[item.dataKey] : scope.row
|
|
135
|
+
text: item.dataKey ? scope.row[item.dataKey] : $setup.convertKey(scope.row, item.key),
|
|
136
136
|
row: scope.row
|
|
137
137
|
}) : item.dealType === "other" ? (openBlock(), createBlock($setup["ColumnDeal"], {
|
|
138
138
|
key: 2,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HtTarget: import("
|
|
1
|
+
export declare const HtTarget: import("hfn-components/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
readonly fundType: {
|
|
3
3
|
readonly type: StringConstructor;
|
|
4
4
|
readonly default: "fund";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HtPieChart: import("
|
|
1
|
+
export declare const HtPieChart: import("hfn-components/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
readonly chartData: {
|
|
3
3
|
readonly type: import("vue").PropType<any[]>;
|
|
4
4
|
readonly default: () => never[];
|
package/es/utils/chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { chartProp } from '
|
|
1
|
+
import type { chartProp } from 'hfn-components/es/components/chart';
|
|
2
2
|
export type chartType = 'category' | 'time';
|
|
3
3
|
export declare const legendEnterOperate: (options: any, name: string) => void;
|
|
4
4
|
export declare const legendLeaveOperate: (options: any) => void;
|
package/es/utils/table.mjs
CHANGED