@nocobase/plugin-data-visualization-echarts 2.0.3

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.
Files changed (61) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +99 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/echarts/ReactEChart.d.ts +11 -0
  6. package/dist/client/echarts/bar.d.ts +14 -0
  7. package/dist/client/echarts/column.d.ts +22 -0
  8. package/dist/client/echarts/configs.d.ts +314 -0
  9. package/dist/client/echarts/diverging-bar.d.ts +7 -0
  10. package/dist/client/echarts/echart.d.ts +56 -0
  11. package/dist/client/echarts/funnel.d.ts +42 -0
  12. package/dist/client/echarts/index.d.ts +13 -0
  13. package/dist/client/echarts/line.d.ts +14 -0
  14. package/dist/client/echarts/pie.d.ts +15 -0
  15. package/dist/client/echarts/radar.d.ts +29 -0
  16. package/dist/client/echarts/themes/dark/chalk.d.ts +355 -0
  17. package/dist/client/echarts/themes/dark/dark.d.ts +355 -0
  18. package/dist/client/echarts/themes/dark/halloween.d.ts +362 -0
  19. package/dist/client/echarts/themes/dark/purple-passion.d.ts +355 -0
  20. package/dist/client/echarts/themes/light/essos.d.ts +355 -0
  21. package/dist/client/echarts/themes/light/infographic.d.ts +355 -0
  22. package/dist/client/echarts/themes/light/macarons.d.ts +355 -0
  23. package/dist/client/echarts/themes/light/roma.d.ts +355 -0
  24. package/dist/client/echarts/themes/light/shine.d.ts +355 -0
  25. package/dist/client/echarts/themes/light/vintage.d.ts +355 -0
  26. package/dist/client/echarts/themes/light/walden.d.ts +363 -0
  27. package/dist/client/echarts/themes/light/westeros.d.ts +355 -0
  28. package/dist/client/echarts/themes/light/wonderland.d.ts +355 -0
  29. package/dist/client/echarts/transform.d.ts +9 -0
  30. package/dist/client/echarts/treemap.d.ts +26 -0
  31. package/dist/client/echarts/wordcloud.d.ts +16 -0
  32. package/dist/client/index.d.ts +7 -0
  33. package/dist/client/index.js +10 -0
  34. package/dist/client/locale.d.ts +3 -0
  35. package/dist/externalVersion.js +16 -0
  36. package/dist/index.d.ts +2 -0
  37. package/dist/index.js +48 -0
  38. package/dist/locale/de-DE.json +78 -0
  39. package/dist/locale/en-US.json +78 -0
  40. package/dist/locale/es-ES.json +78 -0
  41. package/dist/locale/fr-FR.json +78 -0
  42. package/dist/locale/hu-HU.json +78 -0
  43. package/dist/locale/id-ID.json +78 -0
  44. package/dist/locale/it-IT.json +78 -0
  45. package/dist/locale/ja-JP.json +78 -0
  46. package/dist/locale/ko-KR.json +78 -0
  47. package/dist/locale/nl-NL.json +78 -0
  48. package/dist/locale/pt-BR.json +78 -0
  49. package/dist/locale/ru-RU.json +78 -0
  50. package/dist/locale/tr-TR.json +78 -0
  51. package/dist/locale/uk-UA.json +78 -0
  52. package/dist/locale/vi-VN.json +78 -0
  53. package/dist/locale/zh-CN.json +78 -0
  54. package/dist/locale/zh-TW.json +78 -0
  55. package/dist/server/index.d.ts +1 -0
  56. package/dist/server/index.js +42 -0
  57. package/dist/server/plugin.d.ts +11 -0
  58. package/dist/server/plugin.js +54 -0
  59. package/package.json +34 -0
  60. package/server.d.ts +2 -0
  61. package/server.js +1 -0
@@ -0,0 +1,355 @@
1
+ declare const _default: {
2
+ color: string[];
3
+ backgroundColor: string;
4
+ textStyle: {};
5
+ title: {
6
+ textStyle: {
7
+ color: string;
8
+ };
9
+ subtextStyle: {
10
+ color: string;
11
+ };
12
+ };
13
+ line: {
14
+ itemStyle: {
15
+ borderWidth: string;
16
+ };
17
+ lineStyle: {
18
+ width: string;
19
+ };
20
+ symbolSize: string;
21
+ symbol: string;
22
+ smooth: boolean;
23
+ };
24
+ radar: {
25
+ itemStyle: {
26
+ borderWidth: string;
27
+ };
28
+ lineStyle: {
29
+ width: string;
30
+ };
31
+ symbolSize: string;
32
+ symbol: string;
33
+ smooth: boolean;
34
+ };
35
+ bar: {
36
+ itemStyle: {
37
+ barBorderWidth: number;
38
+ barBorderColor: string;
39
+ };
40
+ };
41
+ pie: {
42
+ itemStyle: {
43
+ borderWidth: number;
44
+ borderColor: string;
45
+ };
46
+ };
47
+ scatter: {
48
+ itemStyle: {
49
+ borderWidth: number;
50
+ borderColor: string;
51
+ };
52
+ };
53
+ boxplot: {
54
+ itemStyle: {
55
+ borderWidth: number;
56
+ borderColor: string;
57
+ };
58
+ };
59
+ parallel: {
60
+ itemStyle: {
61
+ borderWidth: number;
62
+ borderColor: string;
63
+ };
64
+ };
65
+ sankey: {
66
+ itemStyle: {
67
+ borderWidth: number;
68
+ borderColor: string;
69
+ };
70
+ };
71
+ funnel: {
72
+ itemStyle: {
73
+ borderWidth: number;
74
+ borderColor: string;
75
+ };
76
+ };
77
+ gauge: {
78
+ itemStyle: {
79
+ borderWidth: number;
80
+ borderColor: string;
81
+ };
82
+ };
83
+ candlestick: {
84
+ itemStyle: {
85
+ color: string;
86
+ color0: string;
87
+ borderColor: string;
88
+ borderColor0: string;
89
+ borderWidth: string;
90
+ };
91
+ };
92
+ graph: {
93
+ itemStyle: {
94
+ borderWidth: number;
95
+ borderColor: string;
96
+ };
97
+ lineStyle: {
98
+ width: number;
99
+ color: string;
100
+ };
101
+ symbolSize: string;
102
+ symbol: string;
103
+ smooth: boolean;
104
+ color: string[];
105
+ label: {
106
+ color: string;
107
+ };
108
+ };
109
+ map: {
110
+ itemStyle: {
111
+ areaColor: string;
112
+ borderColor: string;
113
+ borderWidth: number;
114
+ };
115
+ label: {
116
+ color: string;
117
+ };
118
+ emphasis: {
119
+ itemStyle: {
120
+ areaColor: string;
121
+ borderColor: string;
122
+ borderWidth: number;
123
+ };
124
+ label: {
125
+ color: string;
126
+ };
127
+ };
128
+ };
129
+ geo: {
130
+ itemStyle: {
131
+ areaColor: string;
132
+ borderColor: string;
133
+ borderWidth: number;
134
+ };
135
+ label: {
136
+ color: string;
137
+ };
138
+ emphasis: {
139
+ itemStyle: {
140
+ areaColor: string;
141
+ borderColor: string;
142
+ borderWidth: number;
143
+ };
144
+ label: {
145
+ color: string;
146
+ };
147
+ };
148
+ };
149
+ categoryAxis: {
150
+ axisLine: {
151
+ show: boolean;
152
+ lineStyle: {
153
+ color: string;
154
+ };
155
+ };
156
+ axisTick: {
157
+ show: boolean;
158
+ lineStyle: {
159
+ color: string;
160
+ };
161
+ };
162
+ axisLabel: {
163
+ show: boolean;
164
+ color: string;
165
+ };
166
+ splitLine: {
167
+ show: boolean;
168
+ lineStyle: {
169
+ color: string[];
170
+ };
171
+ };
172
+ splitArea: {
173
+ show: boolean;
174
+ areaStyle: {
175
+ color: string[];
176
+ };
177
+ };
178
+ };
179
+ valueAxis: {
180
+ axisLine: {
181
+ show: boolean;
182
+ lineStyle: {
183
+ color: string;
184
+ };
185
+ };
186
+ axisTick: {
187
+ show: boolean;
188
+ lineStyle: {
189
+ color: string;
190
+ };
191
+ };
192
+ axisLabel: {
193
+ show: boolean;
194
+ color: string;
195
+ };
196
+ splitLine: {
197
+ show: boolean;
198
+ lineStyle: {
199
+ color: string[];
200
+ };
201
+ };
202
+ splitArea: {
203
+ show: boolean;
204
+ areaStyle: {
205
+ color: string[];
206
+ };
207
+ };
208
+ };
209
+ logAxis: {
210
+ axisLine: {
211
+ show: boolean;
212
+ lineStyle: {
213
+ color: string;
214
+ };
215
+ };
216
+ axisTick: {
217
+ show: boolean;
218
+ lineStyle: {
219
+ color: string;
220
+ };
221
+ };
222
+ axisLabel: {
223
+ show: boolean;
224
+ color: string;
225
+ };
226
+ splitLine: {
227
+ show: boolean;
228
+ lineStyle: {
229
+ color: string[];
230
+ };
231
+ };
232
+ splitArea: {
233
+ show: boolean;
234
+ areaStyle: {
235
+ color: string[];
236
+ };
237
+ };
238
+ };
239
+ timeAxis: {
240
+ axisLine: {
241
+ show: boolean;
242
+ lineStyle: {
243
+ color: string;
244
+ };
245
+ };
246
+ axisTick: {
247
+ show: boolean;
248
+ lineStyle: {
249
+ color: string;
250
+ };
251
+ };
252
+ axisLabel: {
253
+ show: boolean;
254
+ color: string;
255
+ };
256
+ splitLine: {
257
+ show: boolean;
258
+ lineStyle: {
259
+ color: string[];
260
+ };
261
+ };
262
+ splitArea: {
263
+ show: boolean;
264
+ areaStyle: {
265
+ color: string[];
266
+ };
267
+ };
268
+ };
269
+ toolbox: {
270
+ iconStyle: {
271
+ borderColor: string;
272
+ };
273
+ emphasis: {
274
+ iconStyle: {
275
+ borderColor: string;
276
+ };
277
+ };
278
+ };
279
+ legend: {
280
+ textStyle: {
281
+ color: string;
282
+ };
283
+ };
284
+ tooltip: {
285
+ axisPointer: {
286
+ lineStyle: {
287
+ color: string;
288
+ width: number;
289
+ };
290
+ crossStyle: {
291
+ color: string;
292
+ width: number;
293
+ };
294
+ };
295
+ };
296
+ timeline: {
297
+ lineStyle: {
298
+ color: string;
299
+ width: number;
300
+ };
301
+ itemStyle: {
302
+ color: string;
303
+ borderWidth: number;
304
+ };
305
+ controlStyle: {
306
+ color: string;
307
+ borderColor: string;
308
+ borderWidth: number;
309
+ };
310
+ checkpointStyle: {
311
+ color: string;
312
+ borderColor: string;
313
+ };
314
+ label: {
315
+ color: string;
316
+ };
317
+ emphasis: {
318
+ itemStyle: {
319
+ color: string;
320
+ };
321
+ controlStyle: {
322
+ color: string;
323
+ borderColor: string;
324
+ borderWidth: number;
325
+ };
326
+ label: {
327
+ color: string;
328
+ };
329
+ };
330
+ };
331
+ visualMap: {
332
+ color: string[];
333
+ };
334
+ dataZoom: {
335
+ backgroundColor: string;
336
+ dataBackgroundColor: string;
337
+ fillerColor: string;
338
+ handleColor: string;
339
+ handleSize: string;
340
+ textStyle: {
341
+ color: string;
342
+ };
343
+ };
344
+ markPoint: {
345
+ label: {
346
+ color: string;
347
+ };
348
+ emphasis: {
349
+ label: {
350
+ color: string;
351
+ };
352
+ };
353
+ };
354
+ };
355
+ export default _default;
@@ -0,0 +1,355 @@
1
+ declare const _default: {
2
+ color: string[];
3
+ backgroundColor: string;
4
+ textStyle: {};
5
+ title: {
6
+ textStyle: {
7
+ color: string;
8
+ };
9
+ subtextStyle: {
10
+ color: string;
11
+ };
12
+ };
13
+ line: {
14
+ itemStyle: {
15
+ borderWidth: string;
16
+ };
17
+ lineStyle: {
18
+ width: string;
19
+ };
20
+ symbolSize: string;
21
+ symbol: string;
22
+ smooth: boolean;
23
+ };
24
+ radar: {
25
+ itemStyle: {
26
+ borderWidth: string;
27
+ };
28
+ lineStyle: {
29
+ width: string;
30
+ };
31
+ symbolSize: string;
32
+ symbol: string;
33
+ smooth: boolean;
34
+ };
35
+ bar: {
36
+ itemStyle: {
37
+ barBorderWidth: number;
38
+ barBorderColor: string;
39
+ };
40
+ };
41
+ pie: {
42
+ itemStyle: {
43
+ borderWidth: number;
44
+ borderColor: string;
45
+ };
46
+ };
47
+ scatter: {
48
+ itemStyle: {
49
+ borderWidth: number;
50
+ borderColor: string;
51
+ };
52
+ };
53
+ boxplot: {
54
+ itemStyle: {
55
+ borderWidth: number;
56
+ borderColor: string;
57
+ };
58
+ };
59
+ parallel: {
60
+ itemStyle: {
61
+ borderWidth: number;
62
+ borderColor: string;
63
+ };
64
+ };
65
+ sankey: {
66
+ itemStyle: {
67
+ borderWidth: number;
68
+ borderColor: string;
69
+ };
70
+ };
71
+ funnel: {
72
+ itemStyle: {
73
+ borderWidth: number;
74
+ borderColor: string;
75
+ };
76
+ };
77
+ gauge: {
78
+ itemStyle: {
79
+ borderWidth: number;
80
+ borderColor: string;
81
+ };
82
+ };
83
+ candlestick: {
84
+ itemStyle: {
85
+ color: string;
86
+ color0: string;
87
+ borderColor: string;
88
+ borderColor0: string;
89
+ borderWidth: string;
90
+ };
91
+ };
92
+ graph: {
93
+ itemStyle: {
94
+ borderWidth: number;
95
+ borderColor: string;
96
+ };
97
+ lineStyle: {
98
+ width: string;
99
+ color: string;
100
+ };
101
+ symbolSize: string;
102
+ symbol: string;
103
+ smooth: boolean;
104
+ color: string[];
105
+ label: {
106
+ color: string;
107
+ };
108
+ };
109
+ map: {
110
+ itemStyle: {
111
+ areaColor: string;
112
+ borderColor: string;
113
+ borderWidth: number;
114
+ };
115
+ label: {
116
+ color: string;
117
+ };
118
+ emphasis: {
119
+ itemStyle: {
120
+ areaColor: string;
121
+ borderColor: string;
122
+ borderWidth: number;
123
+ };
124
+ label: {
125
+ color: string;
126
+ };
127
+ };
128
+ };
129
+ geo: {
130
+ itemStyle: {
131
+ areaColor: string;
132
+ borderColor: string;
133
+ borderWidth: number;
134
+ };
135
+ label: {
136
+ color: string;
137
+ };
138
+ emphasis: {
139
+ itemStyle: {
140
+ areaColor: string;
141
+ borderColor: string;
142
+ borderWidth: number;
143
+ };
144
+ label: {
145
+ color: string;
146
+ };
147
+ };
148
+ };
149
+ categoryAxis: {
150
+ axisLine: {
151
+ show: boolean;
152
+ lineStyle: {
153
+ color: string;
154
+ };
155
+ };
156
+ axisTick: {
157
+ show: boolean;
158
+ lineStyle: {
159
+ color: string;
160
+ };
161
+ };
162
+ axisLabel: {
163
+ show: boolean;
164
+ color: string;
165
+ };
166
+ splitLine: {
167
+ show: boolean;
168
+ lineStyle: {
169
+ color: string[];
170
+ };
171
+ };
172
+ splitArea: {
173
+ show: boolean;
174
+ areaStyle: {
175
+ color: string[];
176
+ };
177
+ };
178
+ };
179
+ valueAxis: {
180
+ axisLine: {
181
+ show: boolean;
182
+ lineStyle: {
183
+ color: string;
184
+ };
185
+ };
186
+ axisTick: {
187
+ show: boolean;
188
+ lineStyle: {
189
+ color: string;
190
+ };
191
+ };
192
+ axisLabel: {
193
+ show: boolean;
194
+ color: string;
195
+ };
196
+ splitLine: {
197
+ show: boolean;
198
+ lineStyle: {
199
+ color: string[];
200
+ };
201
+ };
202
+ splitArea: {
203
+ show: boolean;
204
+ areaStyle: {
205
+ color: string[];
206
+ };
207
+ };
208
+ };
209
+ logAxis: {
210
+ axisLine: {
211
+ show: boolean;
212
+ lineStyle: {
213
+ color: string;
214
+ };
215
+ };
216
+ axisTick: {
217
+ show: boolean;
218
+ lineStyle: {
219
+ color: string;
220
+ };
221
+ };
222
+ axisLabel: {
223
+ show: boolean;
224
+ color: string;
225
+ };
226
+ splitLine: {
227
+ show: boolean;
228
+ lineStyle: {
229
+ color: string[];
230
+ };
231
+ };
232
+ splitArea: {
233
+ show: boolean;
234
+ areaStyle: {
235
+ color: string[];
236
+ };
237
+ };
238
+ };
239
+ timeAxis: {
240
+ axisLine: {
241
+ show: boolean;
242
+ lineStyle: {
243
+ color: string;
244
+ };
245
+ };
246
+ axisTick: {
247
+ show: boolean;
248
+ lineStyle: {
249
+ color: string;
250
+ };
251
+ };
252
+ axisLabel: {
253
+ show: boolean;
254
+ color: string;
255
+ };
256
+ splitLine: {
257
+ show: boolean;
258
+ lineStyle: {
259
+ color: string[];
260
+ };
261
+ };
262
+ splitArea: {
263
+ show: boolean;
264
+ areaStyle: {
265
+ color: string[];
266
+ };
267
+ };
268
+ };
269
+ toolbox: {
270
+ iconStyle: {
271
+ borderColor: string;
272
+ };
273
+ emphasis: {
274
+ iconStyle: {
275
+ borderColor: string;
276
+ };
277
+ };
278
+ };
279
+ legend: {
280
+ textStyle: {
281
+ color: string;
282
+ };
283
+ };
284
+ tooltip: {
285
+ axisPointer: {
286
+ lineStyle: {
287
+ color: string;
288
+ width: number;
289
+ };
290
+ crossStyle: {
291
+ color: string;
292
+ width: number;
293
+ };
294
+ };
295
+ };
296
+ timeline: {
297
+ lineStyle: {
298
+ color: string;
299
+ width: number;
300
+ };
301
+ itemStyle: {
302
+ color: string;
303
+ borderWidth: number;
304
+ };
305
+ controlStyle: {
306
+ color: string;
307
+ borderColor: string;
308
+ borderWidth: number;
309
+ };
310
+ checkpointStyle: {
311
+ color: string;
312
+ borderColor: string;
313
+ };
314
+ label: {
315
+ color: string;
316
+ };
317
+ emphasis: {
318
+ itemStyle: {
319
+ color: string;
320
+ };
321
+ controlStyle: {
322
+ color: string;
323
+ borderColor: string;
324
+ borderWidth: number;
325
+ };
326
+ label: {
327
+ color: string;
328
+ };
329
+ };
330
+ };
331
+ visualMap: {
332
+ color: string[];
333
+ };
334
+ dataZoom: {
335
+ backgroundColor: string;
336
+ dataBackgroundColor: string;
337
+ fillerColor: string;
338
+ handleColor: string;
339
+ handleSize: string;
340
+ textStyle: {
341
+ color: string;
342
+ };
343
+ };
344
+ markPoint: {
345
+ label: {
346
+ color: string;
347
+ };
348
+ emphasis: {
349
+ label: {
350
+ color: string;
351
+ };
352
+ };
353
+ };
354
+ };
355
+ export default _default;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ export {};