@hg2/dataview-basic 2.0.0
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/componentEntries.d.ts +2 -0
- package/dist/components/Informations/Inputs/InputsDate/config.d.ts +33 -0
- package/dist/components/Informations/Inputs/InputsDate/index.d.ts +2 -0
- package/dist/components/Informations/Inputs/InputsDate/index.vue.d.ts +14 -0
- package/dist/components/Informations/Inputs/InputsDate/interact.d.ts +47 -0
- package/dist/components/Informations/Inputs/InputsInput/config.d.ts +27 -0
- package/dist/components/Informations/Inputs/InputsInput/index.d.ts +2 -0
- package/dist/components/Informations/Inputs/InputsInput/index.vue.d.ts +14 -0
- package/dist/components/Informations/Inputs/InputsInput/interact.d.ts +8 -0
- package/dist/components/Informations/Inputs/InputsPagination/config.d.ts +31 -0
- package/dist/components/Informations/Inputs/InputsPagination/index.d.ts +2 -0
- package/dist/components/Informations/Inputs/InputsPagination/index.vue.d.ts +14 -0
- package/dist/components/Informations/Inputs/InputsPagination/interact.d.ts +9 -0
- package/dist/components/Informations/Inputs/InputsSelect/config.d.ts +33 -0
- package/dist/components/Informations/Inputs/InputsSelect/index.d.ts +2 -0
- package/dist/components/Informations/Inputs/InputsSelect/index.vue.d.ts +14 -0
- package/dist/components/Informations/Inputs/InputsSelect/interact.d.ts +8 -0
- package/dist/components/Informations/Inputs/InputsTab/config.d.ts +35 -0
- package/dist/components/Informations/Inputs/InputsTab/index.d.ts +2 -0
- package/dist/components/Informations/Inputs/InputsTab/index.vue.d.ts +14 -0
- package/dist/components/Informations/Inputs/InputsTab/interact.d.ts +8 -0
- package/dist/components/Informations/Inputs/index.d.ts +2 -0
- package/dist/components/Informations/Texts/TextBarrage/config.d.ts +56 -0
- package/dist/components/Informations/Texts/TextBarrage/index.d.ts +2 -0
- package/dist/components/Informations/Texts/TextCommon/config.d.ts +56 -0
- package/dist/components/Informations/Texts/TextCommon/index.d.ts +2 -0
- package/dist/components/Informations/Texts/TextGradient/config.d.ts +24 -0
- package/dist/components/Informations/Texts/TextGradient/index.d.ts +2 -0
- package/dist/components/Informations/Texts/TextGradient/index.vue.d.ts +14 -0
- package/dist/components/Informations/Texts/index.d.ts +2 -0
- package/dist/components/Informations/index.d.ts +1 -0
- package/dist/components/Tables/Tables/TableList/config.d.ts +46 -0
- package/dist/components/Tables/Tables/TableList/data.json.d.ts +17 -0
- package/dist/components/Tables/Tables/TableList/index.d.ts +2 -0
- package/dist/components/Tables/Tables/TableList/index.vue.d.ts +14 -0
- package/dist/components/Tables/Tables/TableScrollBoard/config.d.ts +34 -0
- package/dist/components/Tables/Tables/TableScrollBoard/data.json.d.ts +15 -0
- package/dist/components/Tables/Tables/TableScrollBoard/index.d.ts +2 -0
- package/dist/components/Tables/Tables/TableScrollBoard/index.vue.d.ts +14 -0
- package/dist/components/Tables/Tables/TablesBasic/config.d.ts +81 -0
- package/dist/components/Tables/Tables/TablesBasic/data.json.d.ts +63 -0
- package/dist/components/Tables/Tables/TablesBasic/index.d.ts +2 -0
- package/dist/components/Tables/Tables/TablesBasic/index.vue.d.ts +18 -0
- package/dist/components/Tables/Tables/TablesBasic/public.d.ts +2 -0
- package/dist/components/Tables/Tables/index.d.ts +7 -0
- package/dist/components/Tables/index.d.ts +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +9698 -0
- package/dist/index.js.map +1 -0
- package/dist/public/components.d.ts +37 -0
- package/dist/style.css +1 -0
- package/package.json +31 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PublicConfigClass } from '../../../../../../dataview-core/src/packages/public';
|
|
2
|
+
import { CreateComponentType } from '../../../../../../dataview-core/src/packages/index.d';
|
|
3
|
+
export declare const option: {
|
|
4
|
+
header: string[];
|
|
5
|
+
dataset: string[][];
|
|
6
|
+
index: boolean;
|
|
7
|
+
columnWidth: number[];
|
|
8
|
+
align: string[];
|
|
9
|
+
rowNum: number;
|
|
10
|
+
waitTime: number;
|
|
11
|
+
headerHeight: number;
|
|
12
|
+
carousel: string;
|
|
13
|
+
headerBGC: string;
|
|
14
|
+
oddRowBGC: string;
|
|
15
|
+
evenRowBGC: string;
|
|
16
|
+
};
|
|
17
|
+
export default class Config extends PublicConfigClass implements CreateComponentType {
|
|
18
|
+
key: string;
|
|
19
|
+
chartConfig: import('../../../../../../dataview-core/src/packages/index.d').ConfigType;
|
|
20
|
+
option: {
|
|
21
|
+
header: string[];
|
|
22
|
+
dataset: string[][];
|
|
23
|
+
index: boolean;
|
|
24
|
+
columnWidth: number[];
|
|
25
|
+
align: string[];
|
|
26
|
+
rowNum: number;
|
|
27
|
+
waitTime: number;
|
|
28
|
+
headerHeight: number;
|
|
29
|
+
carousel: string;
|
|
30
|
+
headerBGC: string;
|
|
31
|
+
oddRowBGC: string;
|
|
32
|
+
evenRowBGC: string;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: [
|
|
2
|
+
["行1列1", "行1列2", "行1列3"],
|
|
3
|
+
["行2列1", "行2列2", "行2列3"],
|
|
4
|
+
["行3列1", "行3列2", "行3列3"],
|
|
5
|
+
["行4列1", "行4列2", "行4列3"],
|
|
6
|
+
["行5列1", "行5列2", "行5列3"],
|
|
7
|
+
["行6列1", "行6列2", "行6列3"],
|
|
8
|
+
["行7列1", "行7列2", "行7列3"],
|
|
9
|
+
["行8列1", "行8列2", "行8列3"],
|
|
10
|
+
["行9列1", "行9列2", "行9列3"],
|
|
11
|
+
["行10列1", "行10列2", "行10列3"]
|
|
12
|
+
]
|
|
13
|
+
;
|
|
14
|
+
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { CreateComponentType } from '../../../../../../dataview-core/src/packages/index.d';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
chartConfig: {
|
|
5
|
+
type: PropType<CreateComponentType>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
chartConfig: {
|
|
10
|
+
type: PropType<CreateComponentType>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { PublicConfigClass } from '../../../../../../dataview-core/src/packages/public';
|
|
2
|
+
import { CreateComponentType } from '../../../../../../dataview-core/src/packages/index.d';
|
|
3
|
+
export declare const tablesBasicDefaultOption: {
|
|
4
|
+
dataset: {
|
|
5
|
+
dimensions: {
|
|
6
|
+
title: string;
|
|
7
|
+
key: string;
|
|
8
|
+
}[];
|
|
9
|
+
source: {
|
|
10
|
+
key: number;
|
|
11
|
+
productName: string;
|
|
12
|
+
totalSum: number;
|
|
13
|
+
totalAmount: number;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
pagination: {
|
|
17
|
+
page: number;
|
|
18
|
+
pageSize: number;
|
|
19
|
+
total: number;
|
|
20
|
+
remote: boolean;
|
|
21
|
+
};
|
|
22
|
+
align: string;
|
|
23
|
+
style: {
|
|
24
|
+
border: string;
|
|
25
|
+
singleColumn: string;
|
|
26
|
+
singleLine: string;
|
|
27
|
+
bottomBordered: string;
|
|
28
|
+
striped: string;
|
|
29
|
+
fontSize: number;
|
|
30
|
+
borderWidth: number;
|
|
31
|
+
borderColor: string;
|
|
32
|
+
borderStyle: string;
|
|
33
|
+
};
|
|
34
|
+
inputShow: string;
|
|
35
|
+
};
|
|
36
|
+
export default class Config extends PublicConfigClass implements CreateComponentType {
|
|
37
|
+
key: string;
|
|
38
|
+
attr: {
|
|
39
|
+
w: number;
|
|
40
|
+
h: number;
|
|
41
|
+
zIndex: number;
|
|
42
|
+
x: number;
|
|
43
|
+
y: number;
|
|
44
|
+
offsetX: number;
|
|
45
|
+
offsetY: number;
|
|
46
|
+
};
|
|
47
|
+
chartConfig: import('../../../../../../dataview-core/src/packages/index.d').ConfigType;
|
|
48
|
+
option: {
|
|
49
|
+
dataset: {
|
|
50
|
+
dimensions: {
|
|
51
|
+
title: string;
|
|
52
|
+
key: string;
|
|
53
|
+
}[];
|
|
54
|
+
source: {
|
|
55
|
+
key: number;
|
|
56
|
+
productName: string;
|
|
57
|
+
totalSum: number;
|
|
58
|
+
totalAmount: number;
|
|
59
|
+
}[];
|
|
60
|
+
};
|
|
61
|
+
pagination: {
|
|
62
|
+
page: number;
|
|
63
|
+
pageSize: number;
|
|
64
|
+
total: number;
|
|
65
|
+
remote: boolean;
|
|
66
|
+
};
|
|
67
|
+
align: string;
|
|
68
|
+
style: {
|
|
69
|
+
border: string;
|
|
70
|
+
singleColumn: string;
|
|
71
|
+
singleLine: string;
|
|
72
|
+
bottomBordered: string;
|
|
73
|
+
striped: string;
|
|
74
|
+
fontSize: number;
|
|
75
|
+
borderWidth: number;
|
|
76
|
+
borderColor: string;
|
|
77
|
+
borderStyle: string;
|
|
78
|
+
};
|
|
79
|
+
inputShow: string;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"dimensions": [
|
|
3
|
+
{
|
|
4
|
+
"title": "产品名称",
|
|
5
|
+
"key": "productName"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"title": "产品销量(万)",
|
|
9
|
+
"key": "totalSum"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"title": "销售额(万)",
|
|
13
|
+
"key": "totalAmount"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"source": [
|
|
17
|
+
{
|
|
18
|
+
"key": 0,
|
|
19
|
+
"productName": "产品A1",
|
|
20
|
+
"totalSum": 10,
|
|
21
|
+
"totalAmount": 10
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": 1,
|
|
25
|
+
"productName": "产品B1",
|
|
26
|
+
"totalSum": 10,
|
|
27
|
+
"totalAmount": 10
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"key": 2,
|
|
31
|
+
"productName": "产品C1",
|
|
32
|
+
"totalSum": 10,
|
|
33
|
+
"totalAmount": 10
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"key": 3,
|
|
37
|
+
"productName": "产品D1",
|
|
38
|
+
"totalSum": 10,
|
|
39
|
+
"totalAmount": 10
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"key": 4,
|
|
43
|
+
"productName": "产品A2",
|
|
44
|
+
"totalSum": 10,
|
|
45
|
+
"totalAmount": 10
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": 5,
|
|
49
|
+
"productName": "产品D2",
|
|
50
|
+
"totalSum": 10,
|
|
51
|
+
"totalAmount": 10
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"key": 6,
|
|
55
|
+
"productName": "产品A3",
|
|
56
|
+
"totalSum": 10,
|
|
57
|
+
"totalAmount": 10
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
;
|
|
62
|
+
|
|
63
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { CreateComponentType } from '../../../../../../dataview-core/src/packages/index.d';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
chartConfig: {
|
|
5
|
+
type: PropType<CreateComponentType>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
"row-click": (row: any, column: any, event: Event) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
chartConfig: {
|
|
12
|
+
type: PropType<CreateComponentType>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
"onRow-click"?: ((row: any, column: any, event: Event) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tables/index.d'
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const basicExtension: {
|
|
2
|
+
name: string;
|
|
3
|
+
components: import('../../dataview-core/src/index.ts').HgDataViewExtensionComponent[];
|
|
4
|
+
};
|
|
5
|
+
export declare const registerBasicExtension: () => void;
|
|
6
|
+
export * from './public/components';
|
|
7
|
+
export default registerBasicExtension;
|