@touchvue/plugin 1.0.0-beta.3 → 1.0.0-beta.4
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/components/echarts-bar/src/echarts-bar.d.ts +11 -0
- package/components/echarts-bar/src/echarts-bar.vue.d.ts +18 -0
- package/components/echarts-map/src/echarts-map.d.ts +12 -0
- package/components/echarts-map/src/echarts-map.vue.d.ts +27 -0
- package/index.cjs +4 -2
- package/index.mjs +159 -152
- package/package.json +6 -2
- package/style/style.css +1 -1
|
@@ -7,6 +7,7 @@ export interface BarDatum {
|
|
|
7
7
|
name: string;
|
|
8
8
|
value: number | number[];
|
|
9
9
|
seriesNames?: string[];
|
|
10
|
+
type?: string;
|
|
10
11
|
[key: string]: any;
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
@@ -36,6 +37,7 @@ export interface AxisStyleConfig {
|
|
|
36
37
|
}
|
|
37
38
|
export interface EchartsBarProps {
|
|
38
39
|
data?: BarDatum[];
|
|
40
|
+
chartsType?: string;
|
|
39
41
|
color?: string | ColorGradient | ColorGradient[];
|
|
40
42
|
barSize?: string | number;
|
|
41
43
|
borderColor?: string;
|
|
@@ -50,6 +52,7 @@ export interface EchartsBarProps {
|
|
|
50
52
|
split?: SplitConfig;
|
|
51
53
|
xAxisStyle?: AxisStyleConfig;
|
|
52
54
|
yAxisStyle?: AxisStyleConfig;
|
|
55
|
+
xAxisData?: string[];
|
|
53
56
|
isUnit?: string;
|
|
54
57
|
showValue?: boolean;
|
|
55
58
|
showShadow?: boolean;
|
|
@@ -61,6 +64,14 @@ export declare const echartsBarProps: {
|
|
|
61
64
|
type: PropType<BarDatum[]>;
|
|
62
65
|
default: () => any[];
|
|
63
66
|
};
|
|
67
|
+
chartsType: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
xAxisData: {
|
|
72
|
+
type: PropType<string[]>;
|
|
73
|
+
default: () => any[];
|
|
74
|
+
};
|
|
64
75
|
color: {
|
|
65
76
|
type: PropType<string | ColorGradient | ColorGradient[]>;
|
|
66
77
|
default: string;
|
|
@@ -6,6 +6,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
type: PropType<BarDatum[]>;
|
|
7
7
|
default: () => any[];
|
|
8
8
|
};
|
|
9
|
+
chartsType: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
xAxisData: {
|
|
14
|
+
type: PropType<string[]>;
|
|
15
|
+
default: () => any[];
|
|
16
|
+
};
|
|
9
17
|
color: {
|
|
10
18
|
type: PropType<string | ColorGradient | ColorGradient[]>;
|
|
11
19
|
default: string;
|
|
@@ -106,6 +114,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
106
114
|
type: PropType<BarDatum[]>;
|
|
107
115
|
default: () => any[];
|
|
108
116
|
};
|
|
117
|
+
chartsType: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
xAxisData: {
|
|
122
|
+
type: PropType<string[]>;
|
|
123
|
+
default: () => any[];
|
|
124
|
+
};
|
|
109
125
|
color: {
|
|
110
126
|
type: PropType<string | ColorGradient | ColorGradient[]>;
|
|
111
127
|
default: string;
|
|
@@ -210,6 +226,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
210
226
|
height: string | number;
|
|
211
227
|
barSize: string | number;
|
|
212
228
|
showValue: boolean;
|
|
229
|
+
chartsType: string;
|
|
230
|
+
xAxisData: string[];
|
|
213
231
|
borderColor: string;
|
|
214
232
|
borderRadius: string | number;
|
|
215
233
|
is3d: boolean;
|
|
@@ -148,6 +148,18 @@ export declare const echartsMapProps: {
|
|
|
148
148
|
type: (NumberConstructor | StringConstructor)[];
|
|
149
149
|
default: number;
|
|
150
150
|
};
|
|
151
|
+
showOutline: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
outlineColor: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
outlineWidth: {
|
|
160
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
161
|
+
default: number;
|
|
162
|
+
};
|
|
151
163
|
};
|
|
152
164
|
export declare const echartsMapEmits: {
|
|
153
165
|
'update:modelValue': (_val: string) => boolean;
|
|
@@ -134,6 +134,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
134
134
|
type: (NumberConstructor | StringConstructor)[];
|
|
135
135
|
default: number;
|
|
136
136
|
};
|
|
137
|
+
showOutline: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
outlineColor: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
outlineWidth: {
|
|
146
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
147
|
+
default: number;
|
|
148
|
+
};
|
|
137
149
|
}>, {
|
|
138
150
|
back: () => void;
|
|
139
151
|
forward: (name: string, leaf: any) => void;
|
|
@@ -281,6 +293,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
281
293
|
type: (NumberConstructor | StringConstructor)[];
|
|
282
294
|
default: number;
|
|
283
295
|
};
|
|
296
|
+
showOutline: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
outlineColor: {
|
|
301
|
+
type: StringConstructor;
|
|
302
|
+
default: string;
|
|
303
|
+
};
|
|
304
|
+
outlineWidth: {
|
|
305
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
306
|
+
default: number;
|
|
307
|
+
};
|
|
284
308
|
}>> & Readonly<{
|
|
285
309
|
onChange?: (_code: string, _area: {
|
|
286
310
|
name: string;
|
|
@@ -323,5 +347,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
323
347
|
viewControl: ViewControlConfig;
|
|
324
348
|
forwardEvent: string;
|
|
325
349
|
selectedMode: string | boolean;
|
|
350
|
+
showOutline: boolean;
|
|
351
|
+
outlineColor: string;
|
|
352
|
+
outlineWidth: string | number;
|
|
326
353
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
327
354
|
export default _default;
|