@ecan-bi/datav 1.0.49 → 1.0.50
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 +232 -195
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +231 -194
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +36 -29
- package/package.json +1 -1
- package/types/_utils/constant.d.ts +0 -9
- package/types/_utils/hooks/index.d.ts +0 -15
- package/types/_utils/hooks/useDownloadFile.d.ts +0 -2
- package/types/_utils/hooks/useEmitEvent.d.ts +0 -7
- package/types/_utils/hooks/useHrefParamsToGlobalVariables.d.ts +0 -2
- package/types/_utils/hooks/useImagePath.d.ts +0 -2
- package/types/_utils/hooks/useIndicatorData.d.ts +0 -4
- package/types/_utils/hooks/useOnEvent.d.ts +0 -6
- package/types/_utils/hooks/usePageUrl.d.ts +0 -2
- package/types/_utils/hooks/usePickComponentStyle.d.ts +0 -9
- package/types/_utils/hooks/usePickEchartsData.d.ts +0 -2
- package/types/_utils/hooks/useRequestData.d.ts +0 -6
- package/types/_utils/hooks/useRequestDiagramData.d.ts +0 -6
- package/types/_utils/hooks/useTooltipFormatter.d.ts +0 -4
- package/types/_utils/hooks/useTransformChartDataByAttrKey.d.ts +0 -13
- package/types/_utils/hooks/useTransformChartDataByAttrValue.d.ts +0 -13
- package/types/_utils/hooks/useValueFormatter.d.ts +0 -2
- package/types/_utils/hooks/useVariablesInText.d.ts +0 -4
- package/types/_utils/props.d.ts +0 -71
- package/types/_utils/request.d.ts +0 -2
- package/types/_utils/util.d.ts +0 -20
- package/types/_utils/withInstall.d.ts +0 -5
- package/types/common/echarts/Echarts.d.ts +0 -418
- package/types/common/echarts/composables/api.d.ts +0 -7
- package/types/common/echarts/composables/autoresize.d.ts +0 -6
- package/types/common/echarts/composables/index.d.ts +0 -3
- package/types/common/echarts/composables/loading.d.ts +0 -10
- package/types/common/echarts/index.d.ts +0 -2
- package/types/common/echarts/types.d.ts +0 -20
- package/types/common/echarts/utils.d.ts +0 -6
- package/types/common/index.d.ts +0 -3
- package/types/common/skeleton/Skeleton.vue.d.ts +0 -14
- package/types/common/skeleton/index.d.ts +0 -2
- package/types/common/spin/Spin.vue.d.ts +0 -18
- package/types/common/spin/index.d.ts +0 -2
- package/types/components.d.ts +0 -9
- package/types/container/border/Border.vue.d.ts +0 -623
- package/types/container/border/index.d.ts +0 -623
- package/types/container/border/props.d.ts +0 -315
- package/types/container/index.d.ts +0 -2
- package/types/container/modal/Modal.vue.d.ts +0 -505
- package/types/container/modal/index.d.ts +0 -506
- package/types/container/modal/props.d.ts +0 -179
- package/types/control/button/Button.vue.d.ts +0 -514
- package/types/control/button/index.d.ts +0 -514
- package/types/control/button/props.d.ts +0 -265
- package/types/control/date-picker/DatePicker.vue.d.ts +0 -480
- package/types/control/date-picker/index.d.ts +0 -479
- package/types/control/date-picker/props.d.ts +0 -245
- package/types/control/index.d.ts +0 -6
- package/types/control/input/Input.vue.d.ts +0 -438
- package/types/control/input/index.d.ts +0 -439
- package/types/control/input/props.d.ts +0 -224
- package/types/control/range-picker/RangePicker.vue.d.ts +0 -596
- package/types/control/range-picker/index.d.ts +0 -595
- package/types/control/range-picker/props.d.ts +0 -245
- package/types/control/select/Select.vue.d.ts +0 -613
- package/types/control/select/index.d.ts +0 -613
- package/types/control/select/props.d.ts +0 -321
- package/types/control/tabs/Tabs.vue.d.ts +0 -475
- package/types/control/tabs/index.d.ts +0 -476
- package/types/control/tabs/props.d.ts +0 -251
- package/types/graph/bar/Bar.vue.d.ts +0 -1963
- package/types/graph/bar/index.d.ts +0 -1963
- package/types/graph/bar/props.d.ts +0 -954
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +0 -1008
- package/types/graph/combo-graph/index.d.ts +0 -1009
- package/types/graph/combo-graph/props.d.ts +0 -501
- package/types/graph/custom-graph/CustomGraph.vue.d.ts +0 -537
- package/types/graph/custom-graph/index.d.ts +0 -537
- package/types/graph/custom-graph/props.d.ts +0 -274
- package/types/graph/index.d.ts +0 -6
- package/types/graph/line/Line.vue.d.ts +0 -973
- package/types/graph/line/index.d.ts +0 -974
- package/types/graph/line/props.d.ts +0 -481
- package/types/graph/pie/Pie.vue.d.ts +0 -1049
- package/types/graph/pie/index.d.ts +0 -1050
- package/types/graph/pie/props.d.ts +0 -533
- package/types/graph/scatter/Scatter.vue.d.ts +0 -949
- package/types/graph/scatter/index.d.ts +0 -950
- package/types/graph/scatter/props.d.ts +0 -468
- package/types/index.d.ts +0 -6
- package/types/map/index.d.ts +0 -1
- package/types/map/map/Map.vue.d.ts +0 -1699
- package/types/map/map/index.d.ts +0 -1700
- package/types/map/map/props.d.ts +0 -829
- package/types/media/image/Image.vue.d.ts +0 -476
- package/types/media/image/index.d.ts +0 -477
- package/types/media/image/props.d.ts +0 -244
- package/types/media/index.d.ts +0 -1
- package/types/setting/index.d.ts +0 -3
- package/types/setting/page-config/PageConfig.vue.d.ts +0 -112
- package/types/setting/page-config/index.d.ts +0 -113
- package/types/setting/page-config/props.d.ts +0 -61
- package/types/setting/provider-config/ProviderConfig.vue.d.ts +0 -78
- package/types/setting/provider-config/index.d.ts +0 -79
- package/types/setting/provider-config/props.d.ts +0 -47
- package/types/setting/renderer/Renderer.vue.d.ts +0 -22
- package/types/setting/renderer/index.d.ts +0 -23
- package/types/setting/renderer/props.d.ts +0 -17
- package/types/table/index.d.ts +0 -1
- package/types/table/table/Table.vue.d.ts +0 -1373
- package/types/table/table/index.d.ts +0 -1373
- package/types/table/table/props.d.ts +0 -697
- package/types/text/index.d.ts +0 -5
- package/types/text/list/List.vue.d.ts +0 -849
- package/types/text/list/index.d.ts +0 -849
- package/types/text/list/props.d.ts +0 -441
- package/types/text/proportion/Proportion.vue.d.ts +0 -760
- package/types/text/proportion/index.d.ts +0 -760
- package/types/text/proportion/props.d.ts +0 -395
- package/types/text/scroll-text/ScrollText.vue.d.ts +0 -4
- package/types/text/scroll-text/index.d.ts +0 -4
- package/types/text/text/Text.vue.d.ts +0 -736
- package/types/text/text/index.d.ts +0 -736
- package/types/text/text/props.d.ts +0 -383
- package/types/text/time-display/TimeDisplay.vue.d.ts +0 -547
- package/types/text/time-display/index.d.ts +0 -548
- package/types/text/time-display/props.d.ts +0 -284
|
@@ -1,418 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { Option, Theme, UpdateOptions } from './types';
|
|
3
|
-
export declare const THEME_KEY = "ecTheme";
|
|
4
|
-
export declare const INIT_OPTIONS_KEY = "ecInitOptions";
|
|
5
|
-
export declare const UPDATE_OPTIONS_KEY = "ecUpdateOptions";
|
|
6
|
-
export { LOADING_OPTIONS_KEY } from './composables';
|
|
7
|
-
declare const _default: import("vue").DefineComponent<{
|
|
8
|
-
loading: BooleanConstructor;
|
|
9
|
-
loadingOptions: ObjectConstructor;
|
|
10
|
-
autoresize: BooleanConstructor;
|
|
11
|
-
option: PropType<import("echarts/types/dist/shared").ECBasicOption>;
|
|
12
|
-
theme: {
|
|
13
|
-
type: PropType<Theme>;
|
|
14
|
-
};
|
|
15
|
-
initOptions: PropType<{
|
|
16
|
-
locale?: string | {
|
|
17
|
-
time: {
|
|
18
|
-
month: string[];
|
|
19
|
-
monthAbbr: string[];
|
|
20
|
-
dayOfWeek: string[];
|
|
21
|
-
dayOfWeekAbbr: string[];
|
|
22
|
-
};
|
|
23
|
-
legend: {
|
|
24
|
-
selector: {
|
|
25
|
-
all: string;
|
|
26
|
-
inverse: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
toolbox: {
|
|
30
|
-
brush: {
|
|
31
|
-
title: {
|
|
32
|
-
rect: string;
|
|
33
|
-
polygon: string;
|
|
34
|
-
lineX: string;
|
|
35
|
-
lineY: string;
|
|
36
|
-
keep: string;
|
|
37
|
-
clear: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
dataView: {
|
|
41
|
-
title: string;
|
|
42
|
-
lang: string[];
|
|
43
|
-
};
|
|
44
|
-
dataZoom: {
|
|
45
|
-
title: {
|
|
46
|
-
zoom: string;
|
|
47
|
-
back: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
magicType: {
|
|
51
|
-
title: {
|
|
52
|
-
line: string;
|
|
53
|
-
bar: string;
|
|
54
|
-
stack: string;
|
|
55
|
-
tiled: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
restore: {
|
|
59
|
-
title: string;
|
|
60
|
-
};
|
|
61
|
-
saveAsImage: {
|
|
62
|
-
title: string;
|
|
63
|
-
lang: string[];
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
series: {
|
|
67
|
-
typeNames: {
|
|
68
|
-
pie: string;
|
|
69
|
-
bar: string;
|
|
70
|
-
line: string;
|
|
71
|
-
scatter: string;
|
|
72
|
-
effectScatter: string;
|
|
73
|
-
radar: string;
|
|
74
|
-
tree: string;
|
|
75
|
-
treemap: string;
|
|
76
|
-
boxplot: string;
|
|
77
|
-
candlestick: string;
|
|
78
|
-
k: string;
|
|
79
|
-
heatmap: string;
|
|
80
|
-
map: string;
|
|
81
|
-
parallel: string;
|
|
82
|
-
lines: string;
|
|
83
|
-
graph: string;
|
|
84
|
-
sankey: string;
|
|
85
|
-
funnel: string;
|
|
86
|
-
gauge: string;
|
|
87
|
-
pictorialBar: string;
|
|
88
|
-
themeRiver: string;
|
|
89
|
-
sunburst: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
aria: {
|
|
93
|
-
general: {
|
|
94
|
-
withTitle: string;
|
|
95
|
-
withoutTitle: string;
|
|
96
|
-
};
|
|
97
|
-
series: {
|
|
98
|
-
single: {
|
|
99
|
-
prefix: string;
|
|
100
|
-
withName: string;
|
|
101
|
-
withoutName: string;
|
|
102
|
-
};
|
|
103
|
-
multiple: {
|
|
104
|
-
prefix: string;
|
|
105
|
-
withName: string;
|
|
106
|
-
withoutName: string;
|
|
107
|
-
separator: {
|
|
108
|
-
middle: string;
|
|
109
|
-
end: string;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
data: {
|
|
114
|
-
allData: string;
|
|
115
|
-
partialData: string;
|
|
116
|
-
withName: string;
|
|
117
|
-
withoutName: string;
|
|
118
|
-
separator: {
|
|
119
|
-
middle: string;
|
|
120
|
-
end: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
renderer?: "canvas" | "svg";
|
|
126
|
-
devicePixelRatio?: number;
|
|
127
|
-
useDirtyRect?: boolean;
|
|
128
|
-
ssr?: boolean;
|
|
129
|
-
width?: number;
|
|
130
|
-
height?: number;
|
|
131
|
-
}>;
|
|
132
|
-
updateOptions: PropType<UpdateOptions>;
|
|
133
|
-
group: StringConstructor;
|
|
134
|
-
manualUpdate: BooleanConstructor;
|
|
135
|
-
}, {
|
|
136
|
-
getWidth: () => number;
|
|
137
|
-
getHeight: () => number;
|
|
138
|
-
getDom: () => HTMLElement;
|
|
139
|
-
getOption: () => import("echarts/types/dist/shared").ECBasicOption;
|
|
140
|
-
resize: (opts?: import("echarts/types/dist/shared").ResizeOpts) => void;
|
|
141
|
-
dispatchAction: (payload: import("echarts/types/dist/shared").Payload, opt?: boolean | {
|
|
142
|
-
silent?: boolean;
|
|
143
|
-
flush?: boolean;
|
|
144
|
-
}) => void;
|
|
145
|
-
convertToPixel: {
|
|
146
|
-
(finder: string | {
|
|
147
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
148
|
-
seriesId?: (string | number) | (string | number)[];
|
|
149
|
-
seriesName?: (string | number) | (string | number)[];
|
|
150
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
151
|
-
geoId?: (string | number) | (string | number)[];
|
|
152
|
-
geoName?: (string | number) | (string | number)[];
|
|
153
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
154
|
-
bmapId?: (string | number) | (string | number)[];
|
|
155
|
-
bmapName?: (string | number) | (string | number)[];
|
|
156
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
157
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
158
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
159
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
160
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
161
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
162
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
163
|
-
gridId?: (string | number) | (string | number)[];
|
|
164
|
-
gridName?: (string | number) | (string | number)[];
|
|
165
|
-
dataIndex?: number;
|
|
166
|
-
dataIndexInside?: number;
|
|
167
|
-
}, value: Date | (string | number)): number;
|
|
168
|
-
(finder: string | {
|
|
169
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
170
|
-
seriesId?: (string | number) | (string | number)[];
|
|
171
|
-
seriesName?: (string | number) | (string | number)[];
|
|
172
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
173
|
-
geoId?: (string | number) | (string | number)[];
|
|
174
|
-
geoName?: (string | number) | (string | number)[];
|
|
175
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
176
|
-
bmapId?: (string | number) | (string | number)[];
|
|
177
|
-
bmapName?: (string | number) | (string | number)[];
|
|
178
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
179
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
180
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
181
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
182
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
183
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
184
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
185
|
-
gridId?: (string | number) | (string | number)[];
|
|
186
|
-
gridName?: (string | number) | (string | number)[];
|
|
187
|
-
dataIndex?: number;
|
|
188
|
-
dataIndexInside?: number;
|
|
189
|
-
}, value: (Date | (string | number))[]): number[];
|
|
190
|
-
};
|
|
191
|
-
convertFromPixel: {
|
|
192
|
-
(finder: string | {
|
|
193
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
194
|
-
seriesId?: (string | number) | (string | number)[];
|
|
195
|
-
seriesName?: (string | number) | (string | number)[];
|
|
196
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
197
|
-
geoId?: (string | number) | (string | number)[];
|
|
198
|
-
geoName?: (string | number) | (string | number)[];
|
|
199
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
200
|
-
bmapId?: (string | number) | (string | number)[];
|
|
201
|
-
bmapName?: (string | number) | (string | number)[];
|
|
202
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
203
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
204
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
205
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
206
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
207
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
208
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
209
|
-
gridId?: (string | number) | (string | number)[];
|
|
210
|
-
gridName?: (string | number) | (string | number)[];
|
|
211
|
-
dataIndex?: number;
|
|
212
|
-
dataIndexInside?: number;
|
|
213
|
-
}, value: number): number;
|
|
214
|
-
(finder: string | {
|
|
215
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
216
|
-
seriesId?: (string | number) | (string | number)[];
|
|
217
|
-
seriesName?: (string | number) | (string | number)[];
|
|
218
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
219
|
-
geoId?: (string | number) | (string | number)[];
|
|
220
|
-
geoName?: (string | number) | (string | number)[];
|
|
221
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
222
|
-
bmapId?: (string | number) | (string | number)[];
|
|
223
|
-
bmapName?: (string | number) | (string | number)[];
|
|
224
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
225
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
226
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
227
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
228
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
229
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
230
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
231
|
-
gridId?: (string | number) | (string | number)[];
|
|
232
|
-
gridName?: (string | number) | (string | number)[];
|
|
233
|
-
dataIndex?: number;
|
|
234
|
-
dataIndexInside?: number;
|
|
235
|
-
}, value: number[]): number[];
|
|
236
|
-
};
|
|
237
|
-
containPixel: (finder: string | {
|
|
238
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
239
|
-
seriesId?: (string | number) | (string | number)[];
|
|
240
|
-
seriesName?: (string | number) | (string | number)[];
|
|
241
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
242
|
-
geoId?: (string | number) | (string | number)[];
|
|
243
|
-
geoName?: (string | number) | (string | number)[];
|
|
244
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
245
|
-
bmapId?: (string | number) | (string | number)[];
|
|
246
|
-
bmapName?: (string | number) | (string | number)[];
|
|
247
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
248
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
249
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
250
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
251
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
252
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
253
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
254
|
-
gridId?: (string | number) | (string | number)[];
|
|
255
|
-
gridName?: (string | number) | (string | number)[];
|
|
256
|
-
dataIndex?: number;
|
|
257
|
-
dataIndexInside?: number;
|
|
258
|
-
}, value: number[]) => boolean;
|
|
259
|
-
getDataURL: (opts?: {
|
|
260
|
-
type?: "svg" | "png" | "jpeg";
|
|
261
|
-
pixelRatio?: number;
|
|
262
|
-
backgroundColor?: import("echarts/types/dist/shared").ZRColor;
|
|
263
|
-
excludeComponents?: string[];
|
|
264
|
-
}) => string;
|
|
265
|
-
getConnectedDataURL: (opts?: {
|
|
266
|
-
type?: "svg" | "png" | "jpeg";
|
|
267
|
-
pixelRatio?: number;
|
|
268
|
-
backgroundColor?: import("echarts/types/dist/shared").ZRColor;
|
|
269
|
-
connectedBackgroundColor?: import("echarts/types/dist/shared").ZRColor;
|
|
270
|
-
excludeComponents?: string[];
|
|
271
|
-
}) => string;
|
|
272
|
-
appendData: (params: {
|
|
273
|
-
seriesIndex: number;
|
|
274
|
-
data: any;
|
|
275
|
-
}) => void;
|
|
276
|
-
clear: () => void;
|
|
277
|
-
isDisposed: () => boolean;
|
|
278
|
-
dispose: () => void;
|
|
279
|
-
chart: import("vue").ShallowRef<import("echarts/types/dist/shared").EChartsType>;
|
|
280
|
-
root: import("vue").ShallowRef<HTMLElement>;
|
|
281
|
-
setOption: (option: Option, updateOptions?: UpdateOptions) => void;
|
|
282
|
-
nonEventAttrs: import("vue").ComputedRef<{
|
|
283
|
-
[key: string]: any;
|
|
284
|
-
}>;
|
|
285
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
286
|
-
loading: BooleanConstructor;
|
|
287
|
-
loadingOptions: ObjectConstructor;
|
|
288
|
-
autoresize: BooleanConstructor;
|
|
289
|
-
option: PropType<import("echarts/types/dist/shared").ECBasicOption>;
|
|
290
|
-
theme: {
|
|
291
|
-
type: PropType<Theme>;
|
|
292
|
-
};
|
|
293
|
-
initOptions: PropType<{
|
|
294
|
-
locale?: string | {
|
|
295
|
-
time: {
|
|
296
|
-
month: string[];
|
|
297
|
-
monthAbbr: string[];
|
|
298
|
-
dayOfWeek: string[];
|
|
299
|
-
dayOfWeekAbbr: string[];
|
|
300
|
-
};
|
|
301
|
-
legend: {
|
|
302
|
-
selector: {
|
|
303
|
-
all: string;
|
|
304
|
-
inverse: string;
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
toolbox: {
|
|
308
|
-
brush: {
|
|
309
|
-
title: {
|
|
310
|
-
rect: string;
|
|
311
|
-
polygon: string;
|
|
312
|
-
lineX: string;
|
|
313
|
-
lineY: string;
|
|
314
|
-
keep: string;
|
|
315
|
-
clear: string;
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
dataView: {
|
|
319
|
-
title: string;
|
|
320
|
-
lang: string[];
|
|
321
|
-
};
|
|
322
|
-
dataZoom: {
|
|
323
|
-
title: {
|
|
324
|
-
zoom: string;
|
|
325
|
-
back: string;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
magicType: {
|
|
329
|
-
title: {
|
|
330
|
-
line: string;
|
|
331
|
-
bar: string;
|
|
332
|
-
stack: string;
|
|
333
|
-
tiled: string;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
restore: {
|
|
337
|
-
title: string;
|
|
338
|
-
};
|
|
339
|
-
saveAsImage: {
|
|
340
|
-
title: string;
|
|
341
|
-
lang: string[];
|
|
342
|
-
};
|
|
343
|
-
};
|
|
344
|
-
series: {
|
|
345
|
-
typeNames: {
|
|
346
|
-
pie: string;
|
|
347
|
-
bar: string;
|
|
348
|
-
line: string;
|
|
349
|
-
scatter: string;
|
|
350
|
-
effectScatter: string;
|
|
351
|
-
radar: string;
|
|
352
|
-
tree: string;
|
|
353
|
-
treemap: string;
|
|
354
|
-
boxplot: string;
|
|
355
|
-
candlestick: string;
|
|
356
|
-
k: string;
|
|
357
|
-
heatmap: string;
|
|
358
|
-
map: string;
|
|
359
|
-
parallel: string;
|
|
360
|
-
lines: string;
|
|
361
|
-
graph: string;
|
|
362
|
-
sankey: string;
|
|
363
|
-
funnel: string;
|
|
364
|
-
gauge: string;
|
|
365
|
-
pictorialBar: string;
|
|
366
|
-
themeRiver: string;
|
|
367
|
-
sunburst: string;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
aria: {
|
|
371
|
-
general: {
|
|
372
|
-
withTitle: string;
|
|
373
|
-
withoutTitle: string;
|
|
374
|
-
};
|
|
375
|
-
series: {
|
|
376
|
-
single: {
|
|
377
|
-
prefix: string;
|
|
378
|
-
withName: string;
|
|
379
|
-
withoutName: string;
|
|
380
|
-
};
|
|
381
|
-
multiple: {
|
|
382
|
-
prefix: string;
|
|
383
|
-
withName: string;
|
|
384
|
-
withoutName: string;
|
|
385
|
-
separator: {
|
|
386
|
-
middle: string;
|
|
387
|
-
end: string;
|
|
388
|
-
};
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
|
-
data: {
|
|
392
|
-
allData: string;
|
|
393
|
-
partialData: string;
|
|
394
|
-
withName: string;
|
|
395
|
-
withoutName: string;
|
|
396
|
-
separator: {
|
|
397
|
-
middle: string;
|
|
398
|
-
end: string;
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
renderer?: "canvas" | "svg";
|
|
404
|
-
devicePixelRatio?: number;
|
|
405
|
-
useDirtyRect?: boolean;
|
|
406
|
-
ssr?: boolean;
|
|
407
|
-
width?: number;
|
|
408
|
-
height?: number;
|
|
409
|
-
}>;
|
|
410
|
-
updateOptions: PropType<UpdateOptions>;
|
|
411
|
-
group: StringConstructor;
|
|
412
|
-
manualUpdate: BooleanConstructor;
|
|
413
|
-
}>>, {
|
|
414
|
-
manualUpdate: boolean;
|
|
415
|
-
loading: boolean;
|
|
416
|
-
autoresize: boolean;
|
|
417
|
-
}>;
|
|
418
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { EChartsType, Option } from '../types';
|
|
3
|
-
declare const METHOD_NAMES: readonly ["getWidth", "getHeight", "getDom", "getOption", "resize", "dispatchAction", "convertToPixel", "convertFromPixel", "containPixel", "getDataURL", "getConnectedDataURL", "appendData", "clear", "isDisposed", "dispose"];
|
|
4
|
-
declare type MethodName = typeof METHOD_NAMES[number];
|
|
5
|
-
declare type PublicMethods = Pick<EChartsType, MethodName>;
|
|
6
|
-
export declare function usePublicAPI(chart: Ref<EChartsType | undefined>, init: (option?: Option) => void): PublicMethods;
|
|
7
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { EChartsType } from '../types';
|
|
3
|
-
export declare function useAutoresize(chart: Ref<EChartsType | undefined>, autoresize: Ref<boolean>, root: Ref<HTMLElement | undefined>): void;
|
|
4
|
-
export declare const autoresizeProps: {
|
|
5
|
-
autoresize: BooleanConstructor;
|
|
6
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { EChartsType } from '../types';
|
|
3
|
-
export declare const LOADING_OPTIONS_KEY = "ecLoadingOptions";
|
|
4
|
-
declare type UnknownRecord = Record<string, unknown>;
|
|
5
|
-
export declare function useLoading(chart: Ref<EChartsType | undefined>, loading: Ref<boolean>, loadingOptions: Ref<UnknownRecord | undefined>): void;
|
|
6
|
-
export declare const loadingProps: {
|
|
7
|
-
loading: BooleanConstructor;
|
|
8
|
-
loadingOptions: ObjectConstructor;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { init } from 'echarts/core';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
|
-
declare type InitType = typeof init;
|
|
4
|
-
export declare type InitParameters = Parameters<InitType>;
|
|
5
|
-
export declare type Theme = NonNullable<InitParameters[1]>;
|
|
6
|
-
export declare type ThemeInjection = Theme | null | Ref<Theme | null>;
|
|
7
|
-
export declare type InitOptions = NonNullable<InitParameters[2]>;
|
|
8
|
-
export declare type InitOptionsInjection = InitOptions | null | Ref<InitOptions | null>;
|
|
9
|
-
export declare type EChartsType = ReturnType<InitType>;
|
|
10
|
-
declare type SetOptionType = EChartsType['setOption'];
|
|
11
|
-
export declare type Option = Parameters<SetOptionType>[0];
|
|
12
|
-
export interface UpdateOptions {
|
|
13
|
-
notMerge?: boolean;
|
|
14
|
-
lazyUpdate?: boolean;
|
|
15
|
-
silent?: boolean;
|
|
16
|
-
replaceMerge?: any;
|
|
17
|
-
transition?: any;
|
|
18
|
-
}
|
|
19
|
-
export declare type UpdateOptionsInjection = UpdateOptions | null | Ref<UpdateOptions | null>;
|
|
20
|
-
export {};
|
package/types/common/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
loading: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
loading: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
}>>, {
|
|
12
|
-
loading: boolean;
|
|
13
|
-
}>;
|
|
14
|
-
export default _sfc_main;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
spinning: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
}, {
|
|
7
|
-
indicator: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}>;
|
|
10
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
spinning: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
}>>, {
|
|
16
|
-
spinning: boolean;
|
|
17
|
-
}>;
|
|
18
|
-
export default _sfc_main;
|
package/types/components.d.ts
DELETED