@ecan-bi/pivot-table 1.0.6 → 1.0.8
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 +21414 -16737
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +92 -28
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/types/pivotTable/ChartModal.vue.d.ts +81 -0
- package/types/pivotTable/PivotAggregate.vue.d.ts +10 -0
- package/types/pivotTable/PivotFilter.vue.d.ts +29 -0
- package/types/pivotTable/PivotProperty.vue.d.ts +473 -0
- package/types/pivotTable/PivotTable.vue.d.ts +7874 -7
- package/types/pivotTable/PivotTop.vue.d.ts +6 -0
- package/types/pivotTable/conditional-property/ConditionalProperty.vue.d.ts +7246 -0
- package/types/pivotTable/conditional-property/components/ConditionalConfig.vue.d.ts +55 -0
- package/types/pivotTable/conditional-property/components/ConditionalItemConfig.vue.d.ts +27 -0
- package/types/pivotTable/conditional-property/components/PropertyConfig.vue.d.ts +7156 -0
- package/types/pivotTable/conditional-property/components/prop-to-form/ColorPick.vue.d.ts +7091 -0
- package/types/pivotTable/conditional-property/components/prop-to-form/Radio.vue.d.ts +25 -0
- package/types/pivotTable/conditional-property/index.d.ts +2 -0
- package/types/pivotTable/index.d.ts +1 -169
- package/types/pivotTable/pivot-chart/PivotChart.vue.d.ts +75 -0
- package/types/pivotTable/pivot-chart/index.d.ts +2 -0
- package/types/utils/util.d.ts +1 -0
- package/types/utils/withInstall.d.ts +1 -5
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
value: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default(): any[];
|
|
10
|
+
};
|
|
11
|
+
}>, {
|
|
12
|
+
onChange: (event: any) => void;
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
value: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
options: {
|
|
19
|
+
type: ArrayConstructor;
|
|
20
|
+
default(): any[];
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
value: string;
|
|
24
|
+
options: unknown[];
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,170 +1,2 @@
|
|
|
1
|
-
export declare const EcanPivotTable:
|
|
2
|
-
id: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
name: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
keyName: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
type: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
width: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
height: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
position: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
top: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
left: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
zIndex: {
|
|
39
|
-
type: NumberConstructor;
|
|
40
|
-
default: number;
|
|
41
|
-
};
|
|
42
|
-
events: {
|
|
43
|
-
type: ArrayConstructor;
|
|
44
|
-
default: () => any[];
|
|
45
|
-
};
|
|
46
|
-
dataType: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
graphicConfig: {
|
|
51
|
-
type: ObjectConstructor;
|
|
52
|
-
default: () => {};
|
|
53
|
-
};
|
|
54
|
-
data: {
|
|
55
|
-
type: ArrayConstructor;
|
|
56
|
-
default: () => any[];
|
|
57
|
-
};
|
|
58
|
-
scale: {
|
|
59
|
-
type: NumberConstructor;
|
|
60
|
-
default: number;
|
|
61
|
-
};
|
|
62
|
-
dimensionList: {
|
|
63
|
-
type: import("vue").PropType<any[]>;
|
|
64
|
-
default: () => any[];
|
|
65
|
-
};
|
|
66
|
-
indicatorList: {
|
|
67
|
-
type: import("vue").PropType<any[]>;
|
|
68
|
-
default: () => any[];
|
|
69
|
-
};
|
|
70
|
-
pageMode: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
}>, {
|
|
75
|
-
pivotTableRef: import("vue").Ref<any, any>;
|
|
76
|
-
click: () => void;
|
|
77
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
-
id: {
|
|
79
|
-
type: StringConstructor;
|
|
80
|
-
default: string;
|
|
81
|
-
};
|
|
82
|
-
name: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
keyName: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
type: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
width: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
height: {
|
|
99
|
-
type: StringConstructor;
|
|
100
|
-
default: string;
|
|
101
|
-
};
|
|
102
|
-
position: {
|
|
103
|
-
type: StringConstructor;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
|
-
top: {
|
|
107
|
-
type: StringConstructor;
|
|
108
|
-
default: string;
|
|
109
|
-
};
|
|
110
|
-
left: {
|
|
111
|
-
type: StringConstructor;
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
|
-
zIndex: {
|
|
115
|
-
type: NumberConstructor;
|
|
116
|
-
default: number;
|
|
117
|
-
};
|
|
118
|
-
events: {
|
|
119
|
-
type: ArrayConstructor;
|
|
120
|
-
default: () => any[];
|
|
121
|
-
};
|
|
122
|
-
dataType: {
|
|
123
|
-
type: StringConstructor;
|
|
124
|
-
default: string;
|
|
125
|
-
};
|
|
126
|
-
graphicConfig: {
|
|
127
|
-
type: ObjectConstructor;
|
|
128
|
-
default: () => {};
|
|
129
|
-
};
|
|
130
|
-
data: {
|
|
131
|
-
type: ArrayConstructor;
|
|
132
|
-
default: () => any[];
|
|
133
|
-
};
|
|
134
|
-
scale: {
|
|
135
|
-
type: NumberConstructor;
|
|
136
|
-
default: number;
|
|
137
|
-
};
|
|
138
|
-
dimensionList: {
|
|
139
|
-
type: import("vue").PropType<any[]>;
|
|
140
|
-
default: () => any[];
|
|
141
|
-
};
|
|
142
|
-
indicatorList: {
|
|
143
|
-
type: import("vue").PropType<any[]>;
|
|
144
|
-
default: () => any[];
|
|
145
|
-
};
|
|
146
|
-
pageMode: {
|
|
147
|
-
type: StringConstructor;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
|
-
}>> & Readonly<{}>, {
|
|
151
|
-
id: string;
|
|
152
|
-
type: string;
|
|
153
|
-
name: string;
|
|
154
|
-
keyName: string;
|
|
155
|
-
width: string;
|
|
156
|
-
height: string;
|
|
157
|
-
position: string;
|
|
158
|
-
top: string;
|
|
159
|
-
left: string;
|
|
160
|
-
zIndex: number;
|
|
161
|
-
events: unknown[];
|
|
162
|
-
dataType: string;
|
|
163
|
-
graphicConfig: Record<string, any>;
|
|
164
|
-
data: unknown[];
|
|
165
|
-
scale: number;
|
|
166
|
-
dimensionList: any[];
|
|
167
|
-
indicatorList: any[];
|
|
168
|
-
pageMode: string;
|
|
169
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
1
|
+
export declare const EcanPivotTable: any;
|
|
170
2
|
export default EcanPivotTable;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export default _sfc_main;
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
data: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
default(): {
|
|
6
|
+
dimensionData: {};
|
|
7
|
+
xLabel: string;
|
|
8
|
+
yLabel: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}>, {
|
|
12
|
+
echartRef: import("vue").Ref<any, any>;
|
|
13
|
+
dropdownList: import("vue").Ref<any[], any[]>;
|
|
14
|
+
isShowMenu: import("vue").Ref<boolean, boolean>;
|
|
15
|
+
curXLabel: import("vue").ComputedRef<any>;
|
|
16
|
+
menuStyle: {
|
|
17
|
+
position: string;
|
|
18
|
+
top: string;
|
|
19
|
+
left: string;
|
|
20
|
+
};
|
|
21
|
+
drillDimension: (xLabel: any) => void;
|
|
22
|
+
dimensionMap: import("vue").Ref<any[], any[]>;
|
|
23
|
+
deleteDimension: (index: any, xLabel: any) => void;
|
|
24
|
+
handleSort: (key: any, type: any) => void;
|
|
25
|
+
handleClear: (type: any) => void;
|
|
26
|
+
handleFilter: (type: any) => void;
|
|
27
|
+
pivotFilterRef: import("vue").Ref<any, any>;
|
|
28
|
+
filterData: import("vue").Ref<{}, {}>;
|
|
29
|
+
onFilterChange: ({ checkKeys, type }: {
|
|
30
|
+
checkKeys: any;
|
|
31
|
+
type: any;
|
|
32
|
+
}) => void;
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
data: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
default(): {
|
|
37
|
+
dimensionData: {};
|
|
38
|
+
xLabel: string;
|
|
39
|
+
yLabel: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}>> & Readonly<{}>, {
|
|
43
|
+
data: Record<string, any>;
|
|
44
|
+
}, {}, {
|
|
45
|
+
FilterOutlined: import("@ant-design/icons-vue/lib/icons/FilterOutlined").FilterOutlinedIconType;
|
|
46
|
+
MinusSquareOutlined: import("@ant-design/icons-vue/lib/icons/MinusSquareOutlined").MinusSquareOutlinedIconType;
|
|
47
|
+
PivotFilter: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
48
|
+
data: {
|
|
49
|
+
type: ObjectConstructor;
|
|
50
|
+
default: () => void;
|
|
51
|
+
};
|
|
52
|
+
}>, {
|
|
53
|
+
visible: import("vue").Ref<boolean, boolean>;
|
|
54
|
+
checkAllDimensions: import("vue").Ref<boolean, boolean>;
|
|
55
|
+
dimIndeterminate: import("vue").Ref<boolean, boolean>;
|
|
56
|
+
dimensionCheckKeys: import("vue").Ref<any[], any[]>;
|
|
57
|
+
ruleValue: import("vue").Ref<string, string>;
|
|
58
|
+
ruleOptions: {
|
|
59
|
+
label: string;
|
|
60
|
+
value: string;
|
|
61
|
+
}[];
|
|
62
|
+
filterValue: import("vue").Ref<string, string>;
|
|
63
|
+
searchDimName: import("vue").Ref<string, string>;
|
|
64
|
+
handleOk: () => void;
|
|
65
|
+
onCheckAllDimChange: (e: any) => void;
|
|
66
|
+
handleClear: () => void;
|
|
67
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
data: {
|
|
69
|
+
type: ObjectConstructor;
|
|
70
|
+
default: () => void;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{}>, {
|
|
73
|
+
data: Record<string, any>;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/types/utils/util.d.ts
CHANGED
|
@@ -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;
|