@ecan-bi/pivot-table 1.0.5 → 1.0.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.
- package/dist/index.es.js +61 -25
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/types/pivotTable/PivotTable.vue.d.ts +132 -34
- package/types/pivotTable/index.d.ts +1 -71
- package/types/utils/withInstall.d.ts +1 -5
package/dist/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @ecan-bi/pivot-table@1.0.
|
|
2
|
-
.design-template[data-v-
|
|
1
|
+
/*! @ecan-bi/pivot-table@1.0.7 */
|
|
2
|
+
.design-template[data-v-229c4a43]{width:100%;height:100%;position:absolute;top:0;left:0;background-color:#f1f1f1;font-size:30px;display:flex;align-items:center;justify-content:center;letter-spacing:10px;color:#6f6f6f}.table-instance[data-v-229c4a43]{width:100%;height:100%}
|
package/package.json
CHANGED
|
@@ -1,73 +1,171 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
id: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
name: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
keyName: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
type: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
width: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
height: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
position: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
top: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
left: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
zIndex: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
12
43
|
events: {
|
|
13
44
|
type: ArrayConstructor;
|
|
14
45
|
default: () => any[];
|
|
15
46
|
};
|
|
16
|
-
dataType:
|
|
17
|
-
|
|
47
|
+
dataType: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
graphicConfig: {
|
|
52
|
+
type: ObjectConstructor;
|
|
53
|
+
default: () => {};
|
|
54
|
+
};
|
|
18
55
|
data: {
|
|
19
56
|
type: ArrayConstructor;
|
|
20
57
|
default: () => any[];
|
|
21
58
|
};
|
|
22
|
-
scale:
|
|
59
|
+
scale: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
23
63
|
dimensionList: {
|
|
24
|
-
type: PropType<any>;
|
|
64
|
+
type: PropType<any[]>;
|
|
25
65
|
default: () => any[];
|
|
26
66
|
};
|
|
27
67
|
indicatorList: {
|
|
28
|
-
type:
|
|
68
|
+
type: PropType<any[]>;
|
|
29
69
|
default: () => any[];
|
|
30
70
|
};
|
|
31
|
-
pageMode:
|
|
32
|
-
|
|
71
|
+
pageMode: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
33
75
|
}>, {
|
|
34
76
|
pivotTableRef: import("vue").Ref<any, any>;
|
|
35
77
|
click: () => void;
|
|
36
78
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
79
|
+
id: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
name: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
keyName: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
type: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
width: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
height: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
position: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
top: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
left: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
zIndex: {
|
|
116
|
+
type: NumberConstructor;
|
|
117
|
+
default: number;
|
|
118
|
+
};
|
|
46
119
|
events: {
|
|
47
120
|
type: ArrayConstructor;
|
|
48
121
|
default: () => any[];
|
|
49
122
|
};
|
|
50
|
-
dataType:
|
|
51
|
-
|
|
123
|
+
dataType: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
graphicConfig: {
|
|
128
|
+
type: ObjectConstructor;
|
|
129
|
+
default: () => {};
|
|
130
|
+
};
|
|
52
131
|
data: {
|
|
53
132
|
type: ArrayConstructor;
|
|
54
133
|
default: () => any[];
|
|
55
134
|
};
|
|
56
|
-
scale:
|
|
135
|
+
scale: {
|
|
136
|
+
type: NumberConstructor;
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
57
139
|
dimensionList: {
|
|
58
|
-
type: PropType<any>;
|
|
140
|
+
type: PropType<any[]>;
|
|
59
141
|
default: () => any[];
|
|
60
142
|
};
|
|
61
143
|
indicatorList: {
|
|
62
|
-
type:
|
|
144
|
+
type: PropType<any[]>;
|
|
63
145
|
default: () => any[];
|
|
64
146
|
};
|
|
65
|
-
pageMode:
|
|
66
|
-
|
|
147
|
+
pageMode: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
67
151
|
}>> & Readonly<{}>, {
|
|
152
|
+
id: string;
|
|
153
|
+
type: string;
|
|
154
|
+
name: string;
|
|
155
|
+
keyName: string;
|
|
156
|
+
width: string;
|
|
157
|
+
height: string;
|
|
158
|
+
position: string;
|
|
159
|
+
top: string;
|
|
160
|
+
left: string;
|
|
161
|
+
zIndex: number;
|
|
68
162
|
events: unknown[];
|
|
163
|
+
dataType: string;
|
|
164
|
+
graphicConfig: Record<string, any>;
|
|
69
165
|
data: unknown[];
|
|
70
|
-
|
|
71
|
-
|
|
166
|
+
scale: number;
|
|
167
|
+
dimensionList: any[];
|
|
168
|
+
indicatorList: any[];
|
|
169
|
+
pageMode: string;
|
|
72
170
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
171
|
export default _sfc_main;
|
|
@@ -1,72 +1,2 @@
|
|
|
1
|
-
export declare const EcanPivotTable:
|
|
2
|
-
name: StringConstructor;
|
|
3
|
-
keyName: StringConstructor;
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
width: StringConstructor;
|
|
6
|
-
height: StringConstructor;
|
|
7
|
-
position: StringConstructor;
|
|
8
|
-
top: StringConstructor;
|
|
9
|
-
left: StringConstructor;
|
|
10
|
-
zIndex: NumberConstructor;
|
|
11
|
-
events: {
|
|
12
|
-
type: ArrayConstructor;
|
|
13
|
-
default: () => any[];
|
|
14
|
-
};
|
|
15
|
-
dataType: StringConstructor;
|
|
16
|
-
graphicConfig: ObjectConstructor;
|
|
17
|
-
data: {
|
|
18
|
-
type: ArrayConstructor;
|
|
19
|
-
default: () => any[];
|
|
20
|
-
};
|
|
21
|
-
scale: NumberConstructor;
|
|
22
|
-
dimensionList: {
|
|
23
|
-
type: import("vue").PropType<any>;
|
|
24
|
-
default: () => any[];
|
|
25
|
-
};
|
|
26
|
-
indicatorList: {
|
|
27
|
-
type: ArrayConstructor;
|
|
28
|
-
default: () => any[];
|
|
29
|
-
};
|
|
30
|
-
pageMode: StringConstructor;
|
|
31
|
-
id: StringConstructor;
|
|
32
|
-
}>, {
|
|
33
|
-
pivotTableRef: import("vue").Ref<any, any>;
|
|
34
|
-
click: () => void;
|
|
35
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
-
name: StringConstructor;
|
|
37
|
-
keyName: StringConstructor;
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
width: StringConstructor;
|
|
40
|
-
height: StringConstructor;
|
|
41
|
-
position: StringConstructor;
|
|
42
|
-
top: StringConstructor;
|
|
43
|
-
left: StringConstructor;
|
|
44
|
-
zIndex: NumberConstructor;
|
|
45
|
-
events: {
|
|
46
|
-
type: ArrayConstructor;
|
|
47
|
-
default: () => any[];
|
|
48
|
-
};
|
|
49
|
-
dataType: StringConstructor;
|
|
50
|
-
graphicConfig: ObjectConstructor;
|
|
51
|
-
data: {
|
|
52
|
-
type: ArrayConstructor;
|
|
53
|
-
default: () => any[];
|
|
54
|
-
};
|
|
55
|
-
scale: NumberConstructor;
|
|
56
|
-
dimensionList: {
|
|
57
|
-
type: import("vue").PropType<any>;
|
|
58
|
-
default: () => any[];
|
|
59
|
-
};
|
|
60
|
-
indicatorList: {
|
|
61
|
-
type: ArrayConstructor;
|
|
62
|
-
default: () => any[];
|
|
63
|
-
};
|
|
64
|
-
pageMode: StringConstructor;
|
|
65
|
-
id: StringConstructor;
|
|
66
|
-
}>> & Readonly<{}>, {
|
|
67
|
-
events: unknown[];
|
|
68
|
-
data: unknown[];
|
|
69
|
-
dimensionList: any;
|
|
70
|
-
indicatorList: unknown[];
|
|
71
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
1
|
+
export declare const EcanPivotTable: any;
|
|
72
2
|
export default EcanPivotTable;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type SFCWithInstall<T> = T & Plugin;
|
|
3
|
-
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
|
|
4
|
-
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCWithInstall<T>;
|
|
5
|
-
export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
|
|
1
|
+
export declare const withInstall: (comp: any) => any;
|