hfn-components 0.6.9 → 0.7.1
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/htTarget/index.d.ts +1 -1
- package/es/components/pieChart/index.d.ts +1 -1
- package/es/defaults.d.ts +1 -1
- package/es/index.d.ts +2 -2
- package/es/utils/chart.d.ts +1 -1
- package/package.json +1 -9
- package/es/constants/icons.d.ts +0 -1
- package/es/constants/icons.mjs +0 -3
- package/es/hfn-components/component.d.ts +0 -3
- package/es/hfn-components/defaults.d.ts +0 -4
- package/es/hfn-components/index.d.ts +0 -5
- package/es/hfn-components/make-installer.d.ts +0 -4
- package/es/hfn-components/plugin.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HtChart: import("
|
|
1
|
+
export declare const HtChart: import("./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("hfn-components/es/utils").SFCWithInstall<i
|
|
|
8
8
|
readonly default: "";
|
|
9
9
|
};
|
|
10
10
|
readonly chartType: {
|
|
11
|
-
readonly type: import("vue").PropType<import("
|
|
11
|
+
readonly type: import("vue").PropType<import("./utils").chartType>;
|
|
12
12
|
readonly default: "";
|
|
13
13
|
};
|
|
14
14
|
readonly titleText: {
|
|
@@ -85,7 +85,7 @@ export declare const HtChart: import("hfn-components/es/utils").SFCWithInstall<i
|
|
|
85
85
|
readonly default: "";
|
|
86
86
|
};
|
|
87
87
|
readonly chartType: {
|
|
88
|
-
readonly type: import("vue").PropType<import("
|
|
88
|
+
readonly type: import("vue").PropType<import("./utils").chartType>;
|
|
89
89
|
readonly default: "";
|
|
90
90
|
};
|
|
91
91
|
readonly titleText: {
|
|
@@ -155,7 +155,7 @@ export declare const HtChart: import("hfn-components/es/utils").SFCWithInstall<i
|
|
|
155
155
|
}>>, {
|
|
156
156
|
readonly chartData: any[];
|
|
157
157
|
readonly chartId: string;
|
|
158
|
-
readonly chartType: import("
|
|
158
|
+
readonly chartType: import("./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("./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("./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("./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("./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("hfn-components/es/utils").SFCWithInstall<{
|
|
|
37
37
|
readonly default: undefined;
|
|
38
38
|
};
|
|
39
39
|
}>> & {
|
|
40
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
40
41
|
"onSort-change"?: ((args_0: {
|
|
41
42
|
field: string;
|
|
42
43
|
order: "ascending" | "descending" | null;
|
|
43
44
|
}) => any) | undefined;
|
|
44
45
|
"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;
|
|
49
50
|
"sort-change": (args_0: {
|
|
50
51
|
field: string;
|
|
51
52
|
order: "ascending" | "descending" | null;
|
|
52
53
|
}) => void;
|
|
53
54
|
"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("hfn-components/es/utils").SFCWithInstall<{
|
|
|
92
92
|
readonly default: undefined;
|
|
93
93
|
};
|
|
94
94
|
}>> & {
|
|
95
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
95
96
|
"onSort-change"?: ((args_0: {
|
|
96
97
|
field: string;
|
|
97
98
|
order: "ascending" | "descending" | null;
|
|
98
99
|
}) => any) | undefined;
|
|
99
100
|
"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("hfn-components/es/utils").SFCWithInstall<{
|
|
|
155
155
|
readonly default: undefined;
|
|
156
156
|
};
|
|
157
157
|
}>> & {
|
|
158
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
158
159
|
"onSort-change"?: ((args_0: {
|
|
159
160
|
field: string;
|
|
160
161
|
order: "ascending" | "descending" | null;
|
|
161
162
|
}) => any) | undefined;
|
|
162
163
|
"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("hfn-components/es/utils").SFCWithInstall<{
|
|
|
215
215
|
readonly default: undefined;
|
|
216
216
|
};
|
|
217
217
|
}>> & {
|
|
218
|
+
"onSelection-change"?: ((rows: any[]) => any) | undefined;
|
|
218
219
|
"onSort-change"?: ((args_0: {
|
|
219
220
|
field: string;
|
|
220
221
|
order: "ascending" | "descending" | null;
|
|
221
222
|
}) => any) | undefined;
|
|
222
223
|
"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;
|
|
227
228
|
"sort-change": (args_0: {
|
|
228
229
|
field: string;
|
|
229
230
|
order: "ascending" | "descending" | null;
|
|
230
231
|
}) => void;
|
|
231
232
|
"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("./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("./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;
|
|
43
44
|
"sort-change": (args_0: {
|
|
44
45
|
field: string;
|
|
45
46
|
order: "ascending" | "descending" | null;
|
|
46
47
|
}) => void;
|
|
47
48
|
"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;
|
|
89
90
|
"onSort-change"?: ((args_0: {
|
|
90
91
|
field: string;
|
|
91
92
|
order: "ascending" | "descending" | null;
|
|
92
93
|
}) => any) | undefined;
|
|
93
94
|
"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
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HtTarget: import("
|
|
1
|
+
export declare const HtTarget: import("./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("./utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
readonly chartData: {
|
|
3
3
|
readonly type: import("vue").PropType<any[]>;
|
|
4
4
|
readonly default: () => never[];
|
package/es/defaults.d.ts
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import installer from './defaults';
|
|
2
2
|
export * from './make-installer';
|
|
3
|
-
export * from '
|
|
4
|
-
export declare const install: (app: import("vue").App
|
|
3
|
+
export * from './components';
|
|
4
|
+
export declare const install: (app: import("vue").App) => void;
|
|
5
5
|
export default installer;
|
package/es/utils/chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { chartProp } from '
|
|
1
|
+
import type { chartProp } from './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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hfn-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "es/index.mjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -10,14 +10,6 @@
|
|
|
10
10
|
"types": "./es/index.d.ts",
|
|
11
11
|
"import": "./es/index.mjs"
|
|
12
12
|
},
|
|
13
|
-
"./es": {
|
|
14
|
-
"types": "./es/index.d.ts",
|
|
15
|
-
"import": "./es/index.mjs"
|
|
16
|
-
},
|
|
17
|
-
"./es/*": {
|
|
18
|
-
"types": "./es/*.d.ts",
|
|
19
|
-
"import": "./es/*.mjs"
|
|
20
|
-
},
|
|
21
13
|
"./constants": {
|
|
22
14
|
"types": "./es/constants/index.d.ts",
|
|
23
15
|
"import": "./es/constants/index.mjs"
|
package/es/constants/icons.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const EmptySimple: string;
|
package/es/constants/icons.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const EmptySimple = `data:image/svg+xml,${encodeURIComponent('<svg width="64" height="41" viewBox="0 0 64 41" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0 1)" fill="none" fill-rule="evenodd"><ellipse fill="#f5f5f5" cx="32" cy="33" rx="32" ry="7"/><g fill-rule="nonzero" stroke="#d9d9d9"><path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"/><path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa"/></g></g></svg>')}`;
|
|
2
|
-
|
|
3
|
-
export { EmptySimple };
|